@font-face{font-family:Bricolage Grotesque Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/bricolage-grotesque-vietnamese-wght-normal-BUzh504Q.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Bricolage Grotesque Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/bricolage-grotesque-latin-ext-wght-normal-CcLUaPy7.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Bricolage Grotesque Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/bricolage-grotesque-latin-wght-normal-DLoelf7F.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Figtree Variable;font-style:normal;font-display:swap;font-weight:300 900;src:url(/assets/figtree-latin-ext-wght-normal-DCwSJGxG.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Figtree Variable;font-style:normal;font-display:swap;font-weight:300 900;src:url(/assets/figtree-latin-wght-normal-D_ZTVpCC.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--ink:#0e1020;--ink-2:#13162b;--surface:#1a1e38;--surface-2:#232846;--line:#2e3456;--text:#f4f5fb;--muted:#a1a7c7;--brand:#d4ff3a;--brand-2:#b8e61e;--c0:#ffb020;--c1:#17c9b4;--c2:#9b6bff;--c3:#ff5c7a;--good:#3ddc84;--bad:#ff5c7a;--half:#ffb020;--radius:20px;--radius-sm:12px;--shadow:0 18px 50px -20px #000000b3;--font-display:"Bricolage Grotesque Variable", "Segoe UI", system-ui, sans-serif;--font-body:"Figtree Variable", "Segoe UI", system-ui, sans-serif;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*,:before,:after{box-sizing:border-box}html,body,#root{min-height:100%}body{background:radial-gradient(1200px 600px at 85% -10%, #9b6bff29, transparent 60%), radial-gradient(900px 500px at -10% 110%, #17c9b41f, transparent 60%), var(--ink);color:var(--text);font-family:var(--font-body);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;background-attachment:fixed;margin:0;font-size:16px;line-height:1.5}h1,h2,h3{font-family:var(--font-display);letter-spacing:-.02em;margin:0;line-height:1.1}h1{font-size:clamp(1.7rem,3vw,2.4rem)}h2{font-size:1.35rem}p{margin:0}a{color:var(--brand)}button{font:inherit;color:inherit}kbd{font-family:var(--font-body);opacity:.55;border:1px solid;border-radius:6px;margin-left:.6em;padding:.1em .45em;font-size:.7em}:focus-visible{outline:3px solid var(--brand);outline-offset:3px}.c0{--c:var(--c0)}.c1{--c:var(--c1)}.c2{--c:var(--c2)}.c3{--c:var(--c3)}.muted{color:var(--muted)}.small{font-size:.85rem}.center{text-align:center}.eyebrow{letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-size:.78rem;font-weight:700}.stack{text-align:center;flex-direction:column;align-items:center;gap:1rem;display:flex}.page-center{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:1rem;min-height:100dvh;padding:2rem 1rem;display:flex}.brand{color:var(--text);align-items:center;gap:.6rem;text-decoration:none;display:inline-flex}.brand__name{font-family:var(--font-display);letter-spacing:-.04em;font-size:2rem;font-weight:800}.brand--small .brand__name{font-size:1.4rem}.logo-mark{filter:drop-shadow(0 6px 18px #d4ff3a40);flex:none}.btn{background:var(--surface-2);color:var(--text);cursor:pointer;white-space:nowrap;border:1px solid #0000;border-radius:999px;justify-content:center;align-items:center;gap:.4rem;padding:.7rem 1.2rem;font-weight:700;text-decoration:none;transition:transform .12s,background .15s,opacity .15s,box-shadow .15s;display:inline-flex}.btn:hover:not(:disabled){transform:translateY(-1px)}.btn:active:not(:disabled){transform:translateY(1px)scale(.98)}.btn:disabled{opacity:.45;cursor:not-allowed}.btn--brand{background:var(--brand);color:var(--ink);box-shadow:0 10px 30px -12px #d4ff3a99}.btn--brand:hover:not(:disabled){background:var(--brand-2)}.btn--primary{background:var(--text);color:var(--ink)}.btn--ghost{border-color:var(--line);background:0 0}.btn--ghost:hover:not(:disabled){background:var(--surface)}.btn--xl{padding:1rem 1.8rem;font-size:1.15rem}.btn--sm{padding:.4rem .8rem;font-size:.85rem}.btn--icon{min-width:2.2rem;padding:.45rem .65rem}.btn--block{width:100%}.danger{color:var(--bad)!important}.link-strong{font-weight:700;text-decoration:none}.back-link{color:var(--muted);margin-bottom:.75rem;font-weight:600;text-decoration:none;display:inline-block}.back-link:hover{color:var(--text)}.text-input{border-radius:var(--radius-sm);border:1px solid var(--line);background:var(--ink-2);width:100%;color:var(--text);font:inherit;padding:.75rem .9rem;transition:border-color .15s,box-shadow .15s}.text-input:focus{border-color:var(--brand);outline:none;box-shadow:0 0 0 3px #d4ff3a2e}textarea.text-input{resize:vertical}select.text-input{appearance:auto}.text-input--big{text-align:center;padding:.9rem;font-size:1.35rem;font-weight:700}.field{flex-direction:column;gap:.4rem;min-width:0;display:flex}.field>span:first-child{font-size:.9rem;font-weight:700}.field__hint{color:var(--muted);font-size:.8rem}.field-row{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:1rem;display:grid}.field-row__wide{grid-column:span 2}.field-row__full{grid-column:1/-1}@media (width<=560px){.field-row__wide{grid-column:auto}}.error-text{color:var(--bad);white-space:pre-line;font-weight:600}.flash{color:var(--good);font-weight:700}.card{background:linear-gradient(180deg, #ffffff08, transparent), var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:1.5rem}.chip{background:var(--surface-2);border:1px solid var(--line);color:var(--muted);border-radius:999px;align-items:center;gap:.3rem;margin-left:.35rem;padding:.2rem .65rem;font-size:.8rem;font-weight:700;display:inline-flex}.chip:first-child{margin-left:0}.chip--brand{color:var(--brand);background:#d4ff3a1f;border-color:#d4ff3a59}.streak-chip{color:var(--c0);vertical-align:middle;background:#ffb02029;border-radius:999px;margin-left:.5rem;padding:.1rem .55rem;font-size:.75em;font-weight:800;display:inline-block}.streak-chip--big{margin:0;padding:.3rem .9rem;font-size:1rem}.spinner{color:var(--muted);align-items:center;gap:.75rem;font-weight:600;display:inline-flex}.spinner__dot{background:var(--brand);border-radius:50%;width:14px;height:14px;animation:1s ease-in-out infinite pulse}.pulse-dot{background:var(--brand);border-radius:50%;width:22px;height:22px;animation:1.6s ease-out infinite ring;box-shadow:0 0 #d4ff3a99}@keyframes pulse{50%{opacity:.5;transform:scale(.6)}}@keyframes ring{0%{box-shadow:0 0 #d4ff3a8c}to{box-shadow:0 0 0 26px #d4ff3a00}}.banner{background:var(--c0);color:var(--ink);text-align:center;padding:.5rem 1rem;font-weight:700}.toast{z-index:50;background:var(--text);color:var(--ink);box-shadow:var(--shadow);text-align:center;border-radius:999px;max-width:calc(100vw - 2rem);padding:.7rem 1.2rem;font-weight:700;position:fixed;top:1rem;left:50%;translate:-50%}.notice-bar{color:var(--brand);text-align:center;background:#d4ff3a1a;border-bottom:1px solid #d4ff3a40;padding:.55rem 1rem;font-size:.9rem;font-weight:600}.home{min-height:100vh;position:relative;overflow-x:hidden}.home main{width:min(1180px,100%);margin:0 auto;padding:0 clamp(1rem,4vw,2.5rem)}.home__deco{pointer-events:none;z-index:-1;height:100vh;position:absolute;inset:0 0 auto}.home-nav{justify-content:space-between;align-items:center;gap:1rem;width:min(1180px,100%);margin:0 auto;padding:1.1rem clamp(1rem,4vw,2.5rem);display:flex}.home-nav nav{gap:.5rem;display:flex}.home-hero{grid-template-columns:1.25fr minmax(300px,420px);align-items:center;gap:clamp(2rem,5vw,4rem);min-height:min(78vh,720px);padding:2rem 0 3rem;display:grid}.home-hero__text{flex-direction:column;gap:1.1rem;display:flex}.home-hero__text h1{letter-spacing:-.035em;font-size:clamp(2.2rem,5vw,3.9rem);line-height:1.02}.home-hero__lead{color:var(--muted);max-width:34rem;font-size:1.15rem}.home-hero__actions{flex-wrap:wrap;justify-content:center;gap:.75rem;display:flex}.home-hero__text .home-hero__actions{justify-content:flex-start;margin-top:.4rem}@media (width<=820px){.home__deco{display:none}.home-hero{grid-template-columns:1fr;min-height:0;padding-top:.5rem}.home-hero .join-card{order:-1;justify-self:center}.home-hero__text{text-align:center;align-items:center}.home-hero__text .home-hero__actions{justify-content:center}}.home-section{border-top:1px solid var(--line);padding:3rem 0}.home-section h2{margin-bottom:1.2rem;font-size:clamp(1.6rem,3vw,2.2rem)}.home-section__lead{max-width:40rem;margin:-.6rem 0 1.4rem}.home-steps{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem;margin:0;padding:0;list-style:none;display:grid}.home-step{border-radius:var(--radius);background:color-mix(in srgb, var(--c) 8%, var(--surface));border:1px solid color-mix(in srgb, var(--c) 35%, var(--line));flex-direction:column;gap:.6rem;padding:1.4rem;display:flex}.home-step__shape{border-radius:var(--radius-sm);background:var(--c);width:2.6rem;height:2.6rem;color:var(--ink);place-items:center;display:grid}.home-step h3{font-size:1.2rem}.home-step p{color:var(--muted)}.home-techs{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem;margin:0;padding:0;list-style:none;display:grid}.home-tech{box-shadow:none;padding:1.2rem 1.3rem}.home-tech h3{color:var(--brand);margin-bottom:.4rem;font-size:1.1rem}.home-tech p{color:var(--muted);font-size:.95rem}.home-foot{text-align:center;color:var(--muted);border-top:1px solid var(--line);margin-top:1rem;padding:2.5rem 1rem 3rem}.deco-shape{color:var(--c);opacity:.16;animation:14s ease-in-out infinite float;position:absolute}.deco-shape--0{top:8%;left:6%}.deco-shape--1{animation-delay:-3s;top:14%;right:8%}.deco-shape--2{animation-delay:-6s;bottom:10%;left:12%}.deco-shape--3{animation-delay:-9s;bottom:16%;right:10%}@keyframes float{50%{transform:translateY(-24px)rotate(18deg)}}.join-card{text-align:center;flex-direction:column;gap:.9rem;width:min(100%,420px);display:flex}.join-card__label{font-weight:800;font-family:var(--font-display);font-size:1.15rem}.join-card__quiz{font-size:1.6rem}.pin-input{border-radius:var(--radius-sm);border:2px solid var(--line);background:var(--ink-2);width:100%;color:var(--text);font-family:var(--font-display);letter-spacing:.12em;text-align:center;padding:.9rem;font-size:clamp(2rem,9vw,2.6rem);font-weight:800}.pin-input::placeholder{color:var(--line)}.pin-input:focus{border-color:var(--brand);outline:none;box-shadow:0 0 0 4px #d4ff3a26}.phone{flex-direction:column;max-width:560px;min-height:100dvh;margin:0 auto;display:flex}.phone--center{text-align:center;justify-content:center;align-items:center;gap:1.5rem;padding:1.5rem 1rem}.phone__bar{border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:5;background:#0e1020cc;justify-content:space-between;align-items:center;padding:.85rem 1rem;display:flex;position:sticky;top:0}.phone__name{font-weight:800}.phone__score{font-family:var(--font-display);color:var(--brand);font-weight:800}.phone__body{padding:1rem;padding-bottom:max(1rem, env(safe-area-inset-bottom));flex-direction:column;flex:1;display:flex}.phone__center{flex:1;justify-content:center}.phone__title{font-size:clamp(1.6rem,7vw,2.1rem)}.phone__prompt{font-family:var(--font-display);font-size:clamp(1.35rem,6vw,1.8rem);font-weight:700;line-height:1.2}.phone__prompt--small{color:var(--muted);text-align:center;font-size:1.05rem}.big-rank{font-family:var(--font-display);color:var(--brand);font-size:clamp(4rem,22vw,6.5rem);font-weight:800;line-height:1}.above{color:var(--muted);font-weight:700}.answer{flex-direction:column;flex:1;gap:1rem;display:flex}.choices{flex:1;grid-template-columns:1fr 1fr;grid-auto-rows:minmax(110px,1fr);gap:.75rem;display:grid}.choices--2{grid-template-columns:1fr}.choices--3>:last-child{grid-column:1/-1}.choice{border-radius:var(--radius);background:var(--c);color:var(--ink);cursor:pointer;border:none;flex-direction:column;justify-content:center;align-items:center;gap:.5rem;padding:.9rem;font-size:1.05rem;font-weight:800;transition:transform 80ms,box-shadow 80ms,opacity .15s,filter .15s;display:flex;position:relative;box-shadow:0 6px #00000059,inset 0 1px #ffffff59}.choice:active{transform:translateY(5px);box-shadow:0 1px #00000059}.choice__label{text-align:center;overflow-wrap:anywhere;line-height:1.2}.choice--off{filter:saturate(.35)brightness(.65)}.choice--on{outline:4px solid var(--text);outline-offset:2px}.choice__tick{font-size:1.3rem;position:absolute;top:.5rem;right:.7rem}.free-answer{text-align:center;flex-direction:column;flex:1;justify-content:center;gap:1rem;display:flex}.number-field{align-items:center;gap:.6rem;display:flex}.number-field__unit{color:var(--muted);font-size:1.2rem;font-weight:800}.timebar{background:var(--surface-2);border-radius:999px;width:100%;height:10px;overflow:hidden}.timebar__fill{background:var(--brand);transform-origin:0;border-radius:inherit;height:100%;transition:transform .1s linear}.timebar__fill--urgent{background:var(--c3)}.sent-badge{background:var(--brand);width:96px;height:96px;color:var(--ink);border-radius:50%;place-items:center;font-size:3rem;font-weight:800;display:grid}.result{text-align:center;border-radius:var(--radius);--tone:var(--surface-2);background:radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--tone) 35%, transparent), transparent 70%);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:.9rem;padding:1.5rem 1rem;display:flex}.result--good{--tone:var(--good)}.result--bad,.result--miss{--tone:var(--bad)}.result--half{--tone:var(--half)}.result--neutral{--tone:var(--c2)}.result__icon{background:var(--tone);width:110px;height:110px;color:var(--ink);box-shadow:0 0 60px -10px var(--tone);border-radius:50%;place-items:center;font-size:3.4rem;font-weight:800;display:grid}.result__title{font-size:clamp(1.9rem,8vw,2.5rem)}.result__points{font-family:var(--font-display);color:var(--brand);flex-direction:column;align-items:center;font-size:2.6rem;font-weight:800;line-height:1;display:flex}.result__bonus{font-family:var(--font-body);color:var(--c0);margin-top:.35rem;font-size:.95rem}.result__correct{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);padding:.5rem .9rem;font-weight:700}.result__rank{font-family:var(--font-display);flex-direction:column;gap:.2rem;margin-top:.5rem;font-size:1.4rem;font-weight:800;display:flex}.result__rank .above{font-family:var(--font-body);font-size:1rem}.mini-podium{flex-direction:column;gap:.4rem;width:100%;max-width:320px;margin:0;padding:0;list-style:none;display:flex}.mini-podium li{border-radius:var(--radius-sm);background:var(--surface);text-align:left;grid-template-columns:3rem 1fr auto;gap:.5rem;padding:.55rem .9rem;display:grid}.mini-podium li.is-me{outline:2px solid var(--brand)}.stage{flex-direction:column;min-height:100dvh;font-size:clamp(16px,1.15vw,26px);display:flex}.stage__bar{border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0e1020b3;flex-wrap:wrap;align-items:center;gap:1rem;padding:.8rem 1.5rem;display:flex}.stage__title{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;max-width:30vw;font-weight:700;overflow:hidden}.stage__join{color:var(--muted);margin-left:auto;font-weight:600}.stage__join strong{color:var(--brand);font-family:var(--font-display);letter-spacing:.06em;font-size:1.3em}.stage__tools{flex-wrap:wrap;gap:.4rem;margin-left:auto;display:flex}.stage__join+.stage__tools{margin-left:0}.stage__main{flex-direction:column;flex:1;min-height:0;padding:1.5rem clamp(1rem,3vw,3rem);display:flex}.stage__foot{justify-content:flex-end;align-items:center;gap:1.5rem;padding:0 clamp(1rem,3vw,3rem) 1.5rem;display:flex}.lobby{flex:1;grid-template-columns:minmax(280px,.9fr) 1.4fr;align-items:stretch;gap:2rem;display:grid}@media (width<=860px){.lobby{grid-template-columns:1fr}}.lobby__join{text-align:center;border-radius:calc(var(--radius) * 1.4);background:var(--text);color:var(--ink);flex-direction:column;justify-content:center;align-items:center;gap:.3rem;padding:2rem;display:flex;box-shadow:0 30px 80px -30px #d4ff3a66}.lobby__label{opacity:.7;font-size:1.1em;font-weight:600}.lobby__url{font-family:var(--font-display);overflow-wrap:anywhere;margin-bottom:.6rem;font-size:1.7em;font-weight:800}.lobby__code{font-family:var(--font-display);letter-spacing:.06em;margin-bottom:1rem;font-size:clamp(3.5rem,7vw,7rem);font-weight:800;line-height:1}.lobby__qr{aspect-ratio:1;border-radius:var(--radius-sm);width:min(16rem,60%)}.lobby__players{flex-direction:column;gap:1rem;min-height:0;display:flex}.lobby__players-head{justify-content:space-between;align-items:center;gap:1rem;display:flex}.lobby__players-head h2{font-size:2em}.lobby__empty{color:var(--muted);border:2px dashed var(--line);border-radius:var(--radius);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:1.2rem;font-size:1.3em;display:flex}.player-cloud{flex-wrap:wrap;align-content:flex-start;gap:.7rem;display:flex;overflow-y:auto}.player-chip{background:color-mix(in srgb, var(--c) 18%, var(--surface));border:none;border:2px solid color-mix(in srgb, var(--c) 60%, transparent);cursor:pointer;border-radius:999px;padding:.6em 1.1em;font-size:1.15em;font-weight:800}.player-chip:hover{text-decoration:line-through}.player-chip.is-offline{opacity:.4}.stage-q{flex-direction:column;flex:1;gap:1.2rem;min-height:0;display:flex}.stage-q--intro{text-align:center;justify-content:center;align-items:center}.stage-q__meta{color:var(--muted);align-items:center;gap:.6rem;font-weight:700;display:flex}.stage-q--intro .stage-q__meta{justify-content:center}.stage-q__prompt{text-align:center;background:var(--text);color:var(--ink);border-radius:var(--radius);box-shadow:var(--shadow);padding:.7em 1em;font-size:clamp(1.8rem,3.2vw,3.4rem)}.stage-q__prompt--huge{color:var(--text);box-shadow:none;background:0 0;max-width:22ch;font-size:clamp(2.2rem,4.5vw,4.6rem)}.stage-q__prompt--small{padding:.5em .9em;font-size:clamp(1.3rem,2.2vw,2.2rem)}.stage-q__intro-bar{width:min(600px,80%)}.stage-q__img{object-fit:contain;border-radius:var(--radius-sm);justify-self:center;max-width:100%;max-height:32vh}.stage-q__mid{flex:1;grid-template-columns:auto 1fr auto;align-items:center;gap:2rem;min-height:0;display:grid}.stage-q__mid .stage-q__img{margin:0 auto}.answered-bubble{background:var(--surface);border:1px solid var(--line);width:7.5em;height:7.5em;color:var(--muted);border-radius:50%;flex-direction:column;justify-content:center;align-items:center;font-weight:700;display:flex}.answered-bubble strong{font-family:var(--font-display);color:var(--text);font-size:2.6em;line-height:1}.ring{width:7.5em;height:7.5em;position:relative}.ring svg{width:100%;height:100%;transform:rotate(-90deg)}.ring__track{fill:var(--surface);stroke:var(--surface-2);stroke-width:8px}.ring__value{fill:none;stroke:var(--brand);stroke-width:8px;stroke-linecap:round;transition:stroke-dashoffset .1s linear}.ring--urgent .ring__value{stroke:var(--c3)}.ring--urgent{animation:1s ease-in-out infinite throb}.ring__label{font-family:var(--font-display);place-items:center;font-size:2.8em;font-weight:800;display:grid;position:absolute;inset:0}@keyframes throb{50%{transform:scale(1.06)}}.stage-choices{grid-template-columns:1fr 1fr;gap:1rem;display:grid}.stage-choice{border-radius:var(--radius);background:var(--c);color:var(--ink);align-items:center;gap:1em;min-height:3.6em;padding:1.1em 1.4em;font-size:1.5em;font-weight:800;display:flex;box-shadow:0 8px #0000004d}.stage-choices--3>:last-child{grid-column:1/-1}.stage-hint{text-align:center;color:var(--muted);padding:1em;font-size:1.8em;font-weight:700}.stage-summary{text-align:center;color:var(--muted);font-size:1.3em;font-weight:700}.bars{flex:1;grid-auto-columns:1fr;grid-auto-flow:column;align-items:end;gap:1.5rem;width:100%;max-width:1100px;min-height:16rem;margin:0 auto;display:grid}.bar{flex-direction:column;gap:.7rem;height:100%;transition:opacity .3s;display:flex}.bar--dim{opacity:.35}.bar__track{flex-direction:column;flex:1;justify-content:flex-end;min-height:8rem;padding-top:2.2em;display:flex}.bar__fill{background:var(--c);border-radius:var(--radius-sm) var(--radius-sm) 4px 4px;flex:none;min-height:6px;position:relative}.bar__count{text-align:center;font-family:var(--font-display);font-size:1.6em;font-weight:800;line-height:1;position:absolute;bottom:calc(100% + .3rem);left:0;right:0}.bar__label{border-radius:var(--radius-sm);background:var(--c);color:var(--ink);align-items:center;gap:.5rem;padding:.6em .8em;font-weight:800;display:flex}.bar__label span:nth-child(2){overflow-wrap:anywhere;flex:1}.bar__check{background:var(--ink);width:1.6em;height:1.6em;color:var(--brand);border-radius:50%;place-items:center;font-size:.9em;display:grid}.numeric-reveal{flex:1;grid-template-columns:1fr 1fr;align-items:center;gap:2rem;display:grid}@media (width<=860px){.numeric-reveal{grid-template-columns:1fr}}.numeric-reveal__answer{text-align:center;flex-direction:column;align-items:center;gap:.5rem;display:flex}.numeric-reveal__answer strong{font-family:var(--font-display);color:var(--brand);font-size:clamp(4rem,9vw,8rem);line-height:1}.numeric-reveal__side{flex-direction:column;gap:1rem;display:flex}.closest{flex-direction:column;gap:.5rem;margin:0;padding:0;list-style:none;display:flex}.closest li{border-radius:var(--radius-sm);background:var(--surface);border:1px solid var(--line);grid-template-columns:1fr auto auto;align-items:center;gap:1rem;padding:.7em 1em;font-size:1.15em;display:grid}.closest li:first-child{border-color:var(--brand)}.closest__name{font-weight:800}.closest__value{font-family:var(--font-display);font-weight:700}.closest__pts{color:var(--brand);text-align:right;min-width:4em;font-weight:800}.cloud{flex-wrap:wrap;flex:1;place-content:center;align-items:center;gap:.3em .9em;max-width:1200px;margin:0 auto;padding:1rem;display:flex}.cloud__word{font-family:var(--font-display);color:var(--c);font-weight:800;line-height:1.05}.stage-board{flex-direction:column;flex:1;align-items:center;gap:1.5rem;display:flex}.stage-board__title{font-size:clamp(2rem,4vw,3.6rem)}.stage-board__actions{flex-wrap:wrap;justify-content:center;gap:.8rem;display:flex}.leaderboard{flex-direction:column;gap:.55rem;width:min(100%,900px);margin:0;padding:0;list-style:none;display:flex}.leaderboard__row{border-radius:var(--radius-sm);background:var(--surface);border:1px solid var(--line);grid-template-columns:3em 1fr auto 5em 6em;align-items:center;gap:1rem;padding:.75em 1.2em;font-size:1.25em;display:grid}.leaderboard__row--first{background:var(--text);color:var(--ink);border-color:var(--text)}.leaderboard__rank{font-family:var(--font-display);font-size:1.3em;font-weight:800}.leaderboard__name{text-overflow:ellipsis;white-space:nowrap;font-weight:800;overflow:hidden}.leaderboard__move{color:var(--good);font-size:.85em;font-weight:800}.leaderboard__gain{color:var(--brand);text-align:right;font-weight:800}.leaderboard__row--first .leaderboard__gain,.leaderboard__row--first .leaderboard__move{color:#2a7a00}.leaderboard__score{font-family:var(--font-display);text-align:right;font-weight:800}.podium-wrap{flex-direction:column;flex:1;align-items:center;gap:1.5rem;width:100%;display:flex}.podium{grid-template-columns:repeat(3,minmax(0,15em));justify-content:center;align-items:end;gap:1.2rem;width:100%;height:min(52vh,30em);display:grid}.podium__col{text-align:center;flex-direction:column;justify-content:flex-end;align-items:stretch;gap:.8rem;height:100%;display:flex}.podium__who{flex-direction:column;gap:.2rem;display:flex}.podium__name{font-family:var(--font-display);overflow-wrap:anywhere;font-size:1.6em;font-weight:800}.podium__score{color:var(--muted);font-weight:700}.podium__step{border-radius:var(--radius) var(--radius) 6px 6px;font-family:var(--font-display);color:var(--ink);justify-content:center;padding-top:.8em;font-size:2em;font-weight:800;display:flex;overflow:hidden}.podium__col--1 .podium__step{background:var(--brand)}.podium__col--2 .podium__step{background:var(--c1)}.podium__col--3 .podium__step{background:var(--c0)}.podium__rest{color:var(--muted);flex-wrap:wrap;justify-content:center;gap:.5rem 1.5rem;margin:0;padding:0;font-weight:600;list-style:none;display:flex}.podium__rest span{color:var(--text);margin-right:.3em;font-weight:800}.confetti{pointer-events:none;z-index:40;position:fixed;inset:0;overflow:hidden}.confetti__piece{border-radius:2px;width:10px;height:16px;animation:linear forwards fall;position:absolute;top:-5vh}.confetti__piece--round{border-radius:50%;width:11px;height:11px}@keyframes fall{to{transform:translate(var(--drift), 110vh) rotate(var(--spin))}}.players-panel{background:var(--ink-2);border-left:1px solid var(--line);z-index:30;flex-direction:column;gap:1rem;width:min(380px,92vw);padding:1.2rem;font-size:16px;display:flex;position:fixed;top:0;bottom:0;right:0;box-shadow:-20px 0 60px #00000080}.players-panel header{justify-content:space-between;align-items:center;display:flex}.players-panel ul{flex-direction:column;gap:.3rem;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.players-panel li{border-radius:var(--radius-sm);background:var(--surface);align-items:center;gap:.6rem;padding:.45rem .6rem;display:flex}.players-panel li.is-offline{opacity:.5}.players-panel__name{text-overflow:ellipsis;flex:1;font-weight:700;overflow:hidden}.players-panel__score{font-family:var(--font-display);font-weight:800}.dot{background:var(--line);border-radius:50%;flex:none;width:9px;height:9px}.dot--on{background:var(--good)}.host-page{flex-direction:column;min-height:100vh;display:flex}.topbar{border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:10;background:#0e1020bf;justify-content:space-between;align-items:center;gap:1rem;padding:.9rem clamp(1rem,3vw,2rem);display:flex;position:sticky;top:0}.topbar__brand{text-decoration:none}.topbar__nav{align-items:center;gap:.6rem;display:flex}.topbar__user{color:var(--muted);font-weight:700}@media (width<=520px){.topbar__user{display:none}}.host-main{flex-direction:column;gap:1.25rem;width:min(1200px,100%);margin:0 auto;padding:1.5rem clamp(1rem,3vw,2rem) 3rem;display:flex}.tabs{background:var(--ink-2);border:1px solid var(--line);border-radius:999px;align-self:flex-start;gap:.3rem;padding:.3rem;display:flex}.tab{color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:999px;padding:.55rem 1.1rem;font-weight:700}.tab[aria-selected=true]{background:var(--surface-2);color:var(--text)}.section-title{margin-top:1rem;font-size:1.2rem}.empty{border:1px dashed var(--line);border-radius:var(--radius);text-align:center;padding:1.5rem}.library{flex-direction:column;gap:1rem;display:flex}.library__actions{flex-wrap:wrap;gap:.6rem;display:flex}.quiz-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem;display:grid}.quiz-card{flex-direction:column;gap:.75rem;padding:1.25rem;display:flex}.quiz-card__head{flex-wrap:wrap;gap:.3rem;display:flex}.quiz-card__title{font-size:1.3rem}.quiz-card__desc{color:var(--muted);-webkit-line-clamp:3;-webkit-box-orient:vertical;flex:1;font-size:.92rem;display:-webkit-box;overflow:hidden}.quiz-card__actions{flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:auto;display:flex}.menu{position:relative}.menu>summary{list-style:none}.menu>summary::-webkit-details-marker{display:none}.menu__list{z-index:20;background:var(--surface-2);border:1px solid var(--line);border-radius:var(--radius-sm);min-width:200px;box-shadow:var(--shadow);flex-direction:column;padding:.4rem;display:flex;position:absolute;top:calc(100% + .4rem);right:0}.menu--up .menu__list{inset:auto 0 calc(100% + .4rem)}.menu__list a,.menu__list button{text-align:left;color:var(--text);cursor:pointer;background:0 0;border:none;border-radius:8px;padding:.6rem .75rem;font-weight:600;text-decoration:none}.menu__list a:hover,.menu__list button:hover{background:var(--surface)}.checklist{flex-direction:column;gap:.55rem;margin:0;padding:0;list-style:none;display:flex}.checklist li{padding-left:1.8rem;position:relative}.checklist li:before{content:"✓";background:var(--brand);width:1.3rem;height:1.3rem;color:var(--ink);border-radius:50%;place-items:center;font-size:.75rem;font-weight:800;display:grid;position:absolute;top:.15rem;left:0}.login{flex-direction:column;justify-content:center;align-items:center;gap:2rem;min-height:100vh;padding:2rem 1rem;display:flex}.login__brand{text-decoration:none}.login__grid{grid-template-columns:1.2fr 1fr;gap:1.25rem;width:min(900px,100%);display:grid}@media (width<=760px){.login__grid{grid-template-columns:1fr}}.login__guest,.login__form,.stack-form{flex-direction:column;gap:1rem;display:flex}.login__guest{background:linear-gradient(160deg, #d4ff3a1a, transparent 60%), var(--surface)}.table-wrap{overflow-x:auto}.table{border-collapse:collapse;width:100%;font-size:.95rem}.table th,.table td{text-align:left;border-bottom:1px solid var(--line);white-space:nowrap;padding:.7rem .6rem}.table th{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-size:.8rem;font-weight:700}.table td:nth-child(2){white-space:normal}.editor{flex-direction:column;gap:1.25rem;width:min(1300px,100%);margin:0 auto;padding:1.25rem clamp(1rem,3vw,2rem) 3rem;display:flex}.editor__head{flex-direction:column;gap:.6rem;display:flex}.editor__title{font-family:var(--font-display);border:none;border-bottom:2px solid var(--line);color:var(--text);background:0 0;padding:.3rem 0;font-size:clamp(1.6rem,3vw,2.2rem);font-weight:800}.editor__title:focus{border-color:var(--brand);outline:none}.editor__desc{color:var(--muted);font:inherit;resize:vertical;background:0 0;border:none;padding:.3rem 0}.editor__desc:focus{color:var(--text);outline:none}.editor__bar{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.75rem;display:flex}.editor__bar .error-text{margin-right:auto}.editor__body{grid-template-columns:300px 1fr;align-items:start;gap:1.25rem;display:grid}@media (width<=860px){.editor__body{grid-template-columns:1fr}}.editor__list{flex-direction:column;gap:.6rem;display:flex;position:sticky;top:5rem}@media (width<=860px){.editor__list{position:static}}.editor__list ol{flex-direction:column;gap:.4rem;max-height:60vh;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.qitem{border-radius:var(--radius-sm);border:1px solid var(--line);background:var(--surface);text-align:left;cursor:pointer;align-items:center;gap:.7rem;width:100%;padding:.6rem .75rem;display:flex}.qitem--on{border-color:var(--brand);background:var(--surface-2)}.qitem__num{background:var(--ink-2);border-radius:8px;flex:none;place-items:center;width:1.9rem;height:1.9rem;font-weight:800;display:grid}.qitem__text{flex-direction:column;flex:1;min-width:0;display:flex}.qitem__type{text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-size:.72rem;font-weight:700}.qitem__prompt{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.qitem__warn{background:var(--c0);border-radius:50%;flex:none;width:9px;height:9px}.editor__detail{flex-direction:column;gap:1.2rem;display:flex}.detail-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;display:flex}.detail-head__tools{flex-wrap:wrap;gap:.4rem;display:flex}.qform{flex-direction:column;gap:1.2rem;display:flex}.qform__preview{object-fit:contain;border-radius:var(--radius-sm);align-self:flex-start;max-width:100%;max-height:200px}.segmented{flex-wrap:wrap;gap:.35rem;display:flex}.segmented__item{border:1px solid var(--line);color:var(--muted);cursor:pointer;background:0 0;border-radius:999px;padding:.45rem .85rem;font-size:.88rem;font-weight:700}.segmented__item.is-on{background:var(--brand);border-color:var(--brand);color:var(--ink)}.choice-edit{flex-direction:column;gap:.5rem;display:flex}.choice-edit__row{grid-template-columns:auto 1fr auto auto;align-items:center;gap:.5rem;display:grid}.choice-edit__shape{border-radius:var(--radius-sm);background:var(--c);width:2.6rem;height:2.6rem;color:var(--ink);place-items:center;display:grid}.correct-toggle{border:2px solid var(--line);width:2.6rem;height:2.6rem;color:var(--line);cursor:pointer;background:0 0;border-radius:50%;font-size:1.1rem;font-weight:800}.correct-toggle.is-on{background:var(--good);border-color:var(--good);color:var(--ink)}.tf-pick{grid-template-columns:1fr 1fr;gap:.75rem;max-width:420px;display:grid}.tf-pick .choice{min-height:90px}.game-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:1rem;display:flex}.game-head__actions{flex-wrap:wrap;gap:.6rem;display:flex}.game-grid{grid-template-columns:1.3fr 1fr;align-items:start;gap:1.25rem;display:grid}@media (width<=960px){.game-grid{grid-template-columns:1fr}}.game-grid .card h2{margin-bottom:1rem}.qstats{flex-direction:column;gap:.9rem;margin:0;padding:0;list-style:none;display:flex}.qstats__row{gap:.8rem;display:flex}.qstats__num{background:var(--ink-2);border-radius:8px;flex:none;place-items:center;width:1.9rem;height:1.9rem;font-weight:800;display:grid}.qstats__body{flex-direction:column;flex:1;gap:.3rem;min-width:0;display:flex}.qstats__prompt{font-weight:600}.meter{background:var(--ink-2);border-radius:999px;height:1.4rem;position:relative;overflow:hidden}.meter__fill{background:var(--good);border-radius:inherit;height:100%}.meter span{place-items:center;font-size:.78rem;font-weight:800;display:grid;position:absolute;inset:0}.stats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem;display:grid}.stat{flex-direction:column;gap:.2rem;padding:1.1rem 1.25rem;display:flex}.stat__value{font-family:var(--font-display);font-size:2.2rem;font-weight:800;line-height:1}.stat__label{color:var(--muted);font-size:.9rem;font-weight:600}.admin-grid{grid-template-columns:1fr;align-items:start;gap:1.25rem;display:grid}.admin-grid>form{max-width:560px}.admin-grid .card h2{margin-bottom:1rem}.solo-page{flex-direction:column;min-height:100vh;display:flex}.solo-bar{border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:5;background:#0e1020cc;align-items:center;gap:1rem;padding:.85rem clamp(1rem,3vw,2rem);display:flex;position:sticky;top:0}.solo-bar a{text-decoration:none}.solo-bar__title{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;flex:1;font-weight:700;overflow:hidden}.solo-bar__score{font-family:var(--font-display);color:var(--brand);margin-left:auto;font-weight:800}.solo-main{flex-direction:column;gap:1rem;width:min(1100px,100%);margin:0 auto;padding:1.5rem clamp(1rem,3vw,2rem) 3rem;display:flex}.solo-intro{max-width:40rem;margin-bottom:.5rem}.solo-play{flex:1;width:min(640px,100%);margin:0 auto;padding:1rem;display:flex}.solo-play__body{padding-bottom:max(1rem, env(safe-area-inset-bottom));flex-direction:column;flex:1;justify-content:center;display:flex}.solo-question{min-height:min(80vh,760px)}.solo-prompt{text-align:center;font-size:clamp(1.4rem,5vw,2rem);line-height:1.2}.solo-img{object-fit:contain;border-radius:var(--radius-sm);align-self:center;max-width:100%;max-height:28vh}.solo-title{font-size:clamp(1.8rem,6vw,2.6rem)}.solo-stats{grid-template-columns:repeat(3,1fr);gap:.6rem;width:100%;margin:.5rem 0 1rem;padding:0;list-style:none;display:grid}.solo-stats li{border-radius:var(--radius-sm);background:var(--surface);border:1px solid var(--line);flex-direction:column;gap:.2rem;padding:.8rem .5rem;display:flex}.solo-stats strong{font-family:var(--font-display);font-size:1.4rem}.solo-stats span{color:var(--muted);font-size:.8rem}.notice{border-radius:var(--radius-sm);color:var(--text);background:#d4ff3a14;border:1px solid #d4ff3a40;padding:.9rem 1.1rem}.notice code,.flash--box code{font-size:.95em}.flash--box{border-radius:var(--radius-sm);overflow-wrap:anywhere;background:#3ddc841a;border:1px solid #3ddc8459;padding:.75rem 1rem;font-weight:600}.share-toggle{cursor:pointer;align-items:flex-start;gap:.75rem;display:flex}.share-toggle input{width:1.2rem;height:1.2rem;accent-color:var(--brand);flex:none;margin-top:.15rem}.share-toggle>span{flex-direction:column;gap:.1rem;display:flex}.switch{cursor:pointer;width:2.6rem;height:1.5rem;display:inline-block;position:relative}.switch input{opacity:0;cursor:pointer;z-index:1;margin:0;position:absolute;inset:0}.switch__track{background:var(--surface-2);border:1px solid var(--line);border-radius:999px;transition:background .15s;position:absolute;inset:0}.switch__track:after{content:"";background:var(--muted);border-radius:50%;width:calc(1.5rem - 6px);height:calc(1.5rem - 6px);transition:transform .15s,background .15s;position:absolute;top:2px;left:2px}.switch input:checked+.switch__track{background:var(--brand);border-color:var(--brand)}.switch input:checked+.switch__track:after{background:var(--ink);transform:translate(1.1rem)}.switch input:focus-visible+.switch__track{outline:3px solid var(--brand);outline-offset:2px}.switch input:disabled+.switch__track{opacity:.5}.field__inline{align-items:center;gap:.5rem;display:flex}.table__actions{justify-content:flex-end;gap:.4rem;display:flex}.host-main--narrow{width:min(640px,100%)}.checklist li.checklist__off{color:var(--muted)}.checklist li.checklist__off:before{background:var(--line);color:var(--muted);content:"–"}.topbar__user{text-decoration:none}.topbar__user:hover{color:var(--text)}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}.confetti{display:none}}.table .chip{margin-left:.4rem}
