html.static #ws-tabs button[data-ws=physics],html.static #ws-tabs button[data-ws=intersect],html.static #ws-tabs button[data-ws=manim],html.static #ws-tabs button[data-ws=grapher],html.static #ws-tabs button[data-ws=desmos2d],html.static #ws-tabs button[data-ws=desmos3d],html.static #ws-tabs button[data-ws=geogebra],html.static #ws-tabs button[data-ws=lessons],html.static #btn-rec,html.static #btn-help,html.static .cad-export,html.static #ws-solver .seg button[data-v=eq],html.static #ws-solver .seg button[data-v=pde],html.static #ws-solver .seg button[data-v=sr],html:not(.static) #ws-tabs button[data-ws=reels],html:not(.static) #ws-tabs button[data-ws=promos]{display:none!important}html.static #ws-tabs .sep:nth-of-type(n+2){display:none}.ws.reels-ws{display:block;overflow:hidden}.reels{padding:14px clamp(12px,2vw,28px) 40px;overflow:auto;overflow-x:hidden;height:100%;width:100%;max-width:none;box-sizing:border-box}.reels .gal-head{margin-bottom:4px}.reels-player{width:100%;margin:12px 0 20px;background:var(--panel);border:1px solid var(--panel-border);border-radius:11px;overflow:hidden;scroll-margin-top:8px}.reels-player video,.reels-player img{display:block;width:100%;height:auto;max-height:80vh;aspect-ratio:16 / 9;background:#000;object-fit:contain}.reels-bar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:8px 12px;border-bottom:1px solid var(--panel-border)}.reels-bar strong{min-width:0;overflow-wrap:anywhere}.reels-bar .rb-nav{margin-left:auto;display:flex;gap:6px}.reels-bar .btn{min-height:44px;min-width:44px}.reels .gal-grid{grid-template-columns:repeat(auto-fill,minmax(min(320px,100%),1fr));gap:14px}.reels .gal-grid .card{min-height:44px}.reels .gal-grid .card.on{outline:2px solid var(--teal)}@media(max-width:760px){.reels-player video,.reels-player img{max-height:56vh}.reels-bar .rb-nav{margin-left:0;width:100%}.reels-bar .rb-nav .btn{flex:1}}.muted{color:var(--muted)}html.portfolio .card.project-card .thumb{aspect-ratio:16 / 10;background-size:cover;background-position:center}html.portfolio .gal-grid:has(.project-card){grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}.card .chips{display:flex;flex-wrap:wrap;gap:4px;margin-top:7px}#proj-link{color:var(--teal);text-decoration:none;font-weight:600;font-size:13px;padding:4px 10px;border:1px solid var(--panel-border);border-radius:999px;white-space:nowrap;margin-right:6px}#proj-link:hover{border-color:var(--teal)}#project-bar{position:fixed;left:50%;bottom:16px;transform:translate(-50%);z-index:90;display:flex;align-items:center;gap:10px;max-width:calc(100vw - 24px);padding:8px 10px 8px 14px;border-radius:999px;background:var(--panel);border:1px solid var(--panel-border);box-shadow:0 8px 28px #00000059}#project-bar[hidden]{display:none}#project-bar .pb-label{font:600 11px var(--font-mono);text-transform:uppercase;letter-spacing:.08em;color:var(--faint)}#project-bar .pb-title{font-weight:650;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}#project-bar .pb-read{text-decoration:none;white-space:nowrap}#project-bar .pb-close{padding:2px 9px}#gal-back{position:fixed;right:8px;top:5px;opacity:.92;z-index:80;font-size:11.5px;font-weight:600;text-decoration:none;color:var(--text);background:var(--panel);border:1px solid var(--panel-border);border-radius:999px;padding:3px 10px;box-shadow:0 4px 14px #00000040}html:not(.is-embed) #gal-back,html.is-embed.on-gallery #gal-back{display:none}@media(max-width:640px){#project-bar .pb-label{display:none}#project-bar{bottom:10px}}html.portfolio .gal-sec:has(.recent-card) .gal-grid{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:10px;overscroll-behavior-x:contain}html.portfolio .gal-sec:has(.recent-card) .card.recent-card{flex:0 0 min(260px,72vw);scroll-snap-align:start}html.portfolio .card.recent-card .meta .s{font-family:var(--font-mono);font-size:11.5px}.ws.promos-ws{display:block;overflow:hidden}.promos{padding:14px clamp(12px,2vw,28px) 48px;overflow:auto;overflow-x:hidden;height:100%;width:100%;max-width:none;box-sizing:border-box}.promo-head h1{font-size:22px;margin:0 0 6px}.promo-head p{margin:0 0 6px;color:var(--muted);max-width:70ch;font-size:13.5px;line-height:1.5}.promo-head .promo-free-top{color:var(--text);font-weight:600}.promo-head a{color:var(--teal)}.promo-sec{margin-top:24px}.promo-sec h2{font-size:15px;margin:0 0 8px}.promo-sec-p{margin:0 0 10px;color:var(--muted);font-size:12.5px}.promo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));gap:14px}.promo-card{background:var(--panel);border:1px solid var(--panel-border);border-radius:11px;overflow:hidden;display:flex;flex-direction:column;min-width:0;scroll-margin-top:12px}.promo-card.hit{outline:2px solid var(--teal)}.promo-media{position:relative;aspect-ratio:16 / 9;background:#000;cursor:pointer;border-bottom:1px solid var(--panel-border)}.promo-media img,.promo-media video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}.promo-media video{opacity:0;transition:opacity .2s}.promo-media.on video{opacity:1}.promo-none,.promo-still{position:absolute;display:grid;place-items:center;color:var(--faint);font:600 12px var(--font-mono)}.promo-none{inset:0}.promo-still{right:6px;bottom:6px;padding:2px 7px;border-radius:999px;background:#0000008c;color:#fff;font-weight:500}.promo-body{padding:10px 12px 12px;display:flex;flex-direction:column;gap:8px;flex:1;min-width:0}.promo-body h3{margin:0;font-size:14px;font-weight:650;overflow-wrap:anywhere}.promo-what{margin:0;color:var(--muted);font-size:12.5px;line-height:1.45;overflow-wrap:anywhere}.promo-how{font-size:12px;color:var(--muted)}.promo-how summary{cursor:pointer;font-weight:600;color:var(--text);min-height:24px}.promo-how ul{margin:6px 0 0;padding-left:18px;line-height:1.45}.promo-how li{overflow-wrap:anywhere}.promo-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}.promo-actions .btn{min-height:44px;flex:1 1 auto}.promo-free{margin:0;font-size:11.5px;color:var(--faint)}@media(max-width:760px){.promo-grid{grid-template-columns:1fr}}
