:root{--bg:#0e1020;--panel:#161a33;--border:#262c4d;--text:#f2f3ff;--muted:#8890c8;--muted2:#6b73a6;--code-bg:#2a3160;--code-fg:#cdd4ff;--accent-green:#8ff0c0;--accent-amber:#ffe08a;--o0:#e2453c;--o1:#1479c9;--o2:#e6a417;--o3:#2aa15a;--phase-reveal-bg:#5a4a10;--phase-reveal-fg:#ffe08a;--row-bg:#1d2240;--leader-name:#ffe08a;--row-score:#8ff0c0}*{box-sizing:border-box}html{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}body{background:radial-gradient(circle at 15% 10%, #4c44a02e, transparent 32rem), radial-gradient(circle at 88% 85%, #278b691a, transparent 34rem), var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.host-screen,.phone-client{padding:2.5rem;min-height:100vh;padding:max(1rem,min(3vw,2.5rem))}.error{background:var(--phase-reveal-bg);color:var(--phase-reveal-fg);border-radius:8px;margin-bottom:1rem;padding:.75rem 1rem}.lobby{text-align:center;flex-direction:column;align-items:center;gap:1rem;display:flex}.no-flex-gap .lobby>*+*{margin-top:1rem}.room-code{background:var(--code-bg);color:var(--code-fg);letter-spacing:.15em;border-radius:999px;padding:.35rem 1.25rem;font-weight:700;display:inline-block}.lobby button,.question button,.reveal button{background:var(--panel);color:var(--text);border:1px solid var(--border);cursor:pointer;border-radius:12px;padding:.85rem 1.5rem;font-size:1.1rem}.question button:focus-visible{outline-offset:4px;outline:4px solid #fff}.reveal button:focus-visible{outline-offset:4px;outline:4px solid #fff}.finished a:focus-visible{outline-offset:4px;outline:4px solid #fff}.no-focus-visible .question button:focus,.no-focus-visible .reveal button:focus,.no-focus-visible .finished a:focus{outline-offset:4px;outline:4px solid #fff}.question .options,.reveal .options{grid-template-columns:1fr 1fr;gap:1rem;margin:1.5rem 0;padding:0;list-style:none;display:grid}.question .options li,.reveal .options li{font-size:1.5rem;min-height:96px;color:var(--text);text-align:center;border-radius:16px;justify-content:center;align-items:center;padding:1rem;font-size:max(1.1rem,min(2vw,1.5rem));font-weight:600;display:flex}.tile-0{background:var(--o0)}.tile-1{background:var(--o1)}.tile-2{background:var(--o2)}.tile-3{background:var(--o3)}.question h1{font-size:44px;font-size:max(28px,min(4vw,44px));font-weight:700}.reveal .options li{opacity:.35;transition:opacity .2s}.reveal .options li.correct{opacity:1;box-shadow:0 0 0 4px var(--accent-green)}.timer,.progress,.answered-count{color:var(--muted)}.deltas{padding:0;list-style:none}.deltas li{background:var(--row-bg);border-radius:8px;margin-bottom:.5rem;padding:.5rem 1rem}.scoreboard,.ranking{padding:0;list-style:none}.scoreboard li,.ranking li{background:var(--row-bg);border-radius:8px;justify-content:space-between;margin-bottom:.4rem;padding:.6rem 1rem;display:flex}.scoreboard li:first-child,.ranking li:first-child{color:var(--leader-name);font-weight:700}.finished h1{color:var(--accent-amber)}.entry,.waiting,.phone-question,.phone-result,.phone-finished{flex-direction:column;gap:1rem;max-width:480px;margin:0 auto;display:flex}.no-flex-gap .entry,.no-flex-gap .waiting,.no-flex-gap .phone-question,.no-flex-gap .phone-result,.no-flex-gap .phone-finished>*+*{margin-top:1rem}.entry input{background:var(--panel);border:1px solid var(--border);color:var(--text);border-radius:10px;width:100%;padding:.75rem 1rem;font-size:1rem}.entry button{background:var(--panel);color:var(--text);border:1px solid var(--border);border-radius:12px;padding:.9rem;font-size:1.1rem}.phone-question .options{flex-direction:column;gap:.75rem;padding:0;list-style:none;display:flex}.no-flex-gap .phone-question .options>*+*{margin-top:.75rem}.phone-question .options li{min-height:72px;color:var(--text);text-align:center;cursor:pointer;border-radius:16px;justify-content:center;align-items:center;padding:1rem;font-size:1.2rem;font-weight:600;display:flex}.options li.tile-2{color:#1a1405}.locked{background:var(--panel);color:var(--muted);opacity:.6;text-align:center;border-radius:16px;padding:1.5rem;font-size:1.2rem}.phone-result .correct{color:var(--accent-green);font-weight:700}.phone-result .incorrect{color:var(--o0);font-weight:700}.no-reveal-data{color:var(--muted2)}.host-screen{position:relative;overflow:hidden}.mute-toggle{background:var(--panel);border:1px solid var(--border);cursor:pointer;width:3rem;height:3rem;color:var(--text);border-radius:999px;font-size:1.25rem;transition:border-color .16s,transform .16s;position:absolute;top:1rem;right:1rem}.mute-toggle:hover{border-color:var(--muted);transform:translateY(-1px)}.mute-toggle:focus-visible{outline:3px solid var(--accent-green);outline-offset:3px}.no-focus-visible .mute-toggle:focus{outline:3px solid var(--accent-green);outline-offset:3px}.phase-enter-active,.phase-leave-active{transition:opacity .25s,transform .25s}.phase-enter-from,.phase-leave-to{opacity:0;transform:translateY(12px)}@media (prefers-reduced-motion:reduce){.phase-enter-active,.phase-leave-active{transition:none}.phase-enter-from,.phase-leave-to{opacity:1;transform:none}}.question .options li{animation:.3s both option-cascade-in;animation-delay:calc(var(--i,0) * 60ms)}@keyframes option-cascade-in{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}.timer.urgent{color:var(--o0);animation:1s ease-in-out infinite timer-pulse}@keyframes timer-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.15)}}@media (prefers-reduced-motion:reduce){.question .options li,.timer.urgent{animation:none}}.reveal .options li.correct,.phone-result .correct{animation:.4s correct-pop}.phone-result .incorrect{animation:.4s incorrect-shake}@keyframes correct-pop{0%,to{transform:scale(1)}50%{transform:scale(1.08)}}@keyframes incorrect-shake{0%,to{transform:translate(0)}25%{transform:translate(-6px)}75%{transform:translate(6px)}}@media (prefers-reduced-motion:reduce){.reveal .options li.correct,.phone-result .correct,.phone-result .incorrect{animation:none}}button:disabled{opacity:.6;cursor:not-allowed}.phone-question .options.options-answering{pointer-events:none;opacity:.7}
