@font-face{font-family:Space Grotesk;font-style:normal;font-weight:300 700;font-display:swap;src:url(../media/edb5f85793adc1bb-s.1gepa_7fcx9fm.woff2)format("woff2");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:Space Grotesk;font-style:normal;font-weight:300 700;font-display:swap;src:url(../media/92b6de9cb55945e2-s.2eksvhm1z0jwa.woff2)format("woff2");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-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Space Grotesk;font-style:normal;font-weight:300 700;font-display:swap;src:url(../media/237858b39a32779d-s.p.2cyn07wtgehh0.woff2)format("woff2");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:Space Grotesk Fallback;src:local(Arial);ascent-override:89.71%;descent-override:26.62%;line-gap-override:0.0%;size-adjust:109.69%}.EaCDjW_className{font-family:Space Grotesk,Space Grotesk Fallback;font-style:normal}.EaCDjW_variable{--font-body:"Space Grotesk", "Space Grotesk Fallback"}
:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#0b0e13;--bg-accent:#111827;--app-bg-gradient:linear-gradient(180deg, var(--bg) 0%, #0c111a 60%, #0b0e13 100%);--host-overlay-bg:radial-gradient(130% 120% at 15% -5%, #1f337099, transparent 50%), radial-gradient(100% 90% at 86% 0%, #ff964133, transparent 52%), linear-gradient(160deg, #05081e 0%, #060a23 55%, #05061b 100%);--card:#ffffff14;--border:#ffffff29;--text:#f4f2ed;--muted:#f4f2edb8;--primary:#f5b301;--primary-dark:#c58c00;--danger:#ff5c5c;--success:#3bd08f}*{box-sizing:border-box}html,body{min-height:100%;margin:0;padding:0}html{background:var(--bg)}html.player-game-locked,body.player-game-locked,:is(html:has(main .host-game),body:has(.host-game)){overscroll-behavior:none;height:100%;overflow:hidden}body{font-family:var(--font-body), "Space Grotesk", sans-serif;background:var(--app-bg-gradient);color:var(--text)}a{color:inherit;text-decoration:none}main{justify-content:center;align-items:center;min-height:100vh;padding:48px 20px;display:flex}:is(main:has(.host-stage-shell),main:has(.host-game)){overscroll-behavior:none;height:100dvh;min-height:100dvh;overflow:hidden;align-items:flex-start!important;padding:0!important}main:has(.host-lobby-screen){align-items:flex-start!important;padding:0!important}.container{gap:20px;width:min(760px,100%);display:grid}.card{background:var(--card);border:1px solid var(--border);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-radius:20px;padding:24px}.title{letter-spacing:-.02em;margin:0 0 6px;font-size:clamp(1.6rem,3.2vw,2.4rem)}.subtitle{color:var(--muted);margin:0}.row{flex-wrap:wrap;gap:12px;display:flex}.input{width:100%;color:var(--text);background:#0f172acc;border:1px solid #0000;border-radius:12px;padding:12px 14px;font-size:1rem}.input:focus{border-color:var(--primary);outline:none}.button{background:var(--primary);color:#1a1300;cursor:pointer;border:none;border-radius:999px;justify-content:center;align-items:center;gap:8px;padding:12px 18px;font-weight:600;transition:transform .15s,background .15s;display:inline-flex}.button:hover{background:var(--primary-dark);transform:translateY(-1px)}.button.secondary{border:1px solid var(--border);color:var(--text);background:0 0}.button.danger{background:var(--danger);color:#120808}.button:disabled{cursor:not-allowed;opacity:.6;transform:none}.button.small{padding:8px 14px;font-size:.9rem}.list{gap:12px;display:grid}.list-item{border:1px solid var(--border);background:#0c121ecc;border-radius:14px;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex}.pill{color:var(--muted);background:#ffffff1f;border-radius:999px;padding:4px 8px;font-size:.75rem}.status{border:1px solid var(--border);color:var(--muted);background:#0f172a99;border-radius:12px;padding:10px 14px;font-size:.95rem}.status.good{color:var(--success);border-color:#3bd08f66}.status.bad{color:var(--danger);border-color:#ff5c5c66}.center{text-align:center}.host-layout{gap:18px}.host-header{justify-content:space-between;align-items:center;display:flex}.timer{letter-spacing:.05em;color:var(--primary);font-size:clamp(2rem,4vw,3rem);font-weight:600}.scoreboard-item{transition:border .2s,transform .2s}.scoreboard-item.active{border-color:#f5b301b3;transform:translateY(-2px)}.score-name{font-size:1.05rem;font-weight:600}.score-count{min-width:44px;color:var(--primary);text-align:center;background:#f5b30133;border-radius:12px;padding:8px 12px;font-weight:700}.reveal-banner{border:1px solid var(--border);background:#0c121ee6;border-radius:16px;margin-top:18px;padding:16px}.reveal-banner.good{color:var(--success);border-color:#3bd08f99}.reveal-banner.bad{color:var(--danger);border-color:#ff5c5c99}.reveal-title{font-size:1.1rem;font-weight:700}.reveal-meta{color:var(--text);margin-top:4px}.play-layout{gap:18px}.list-stack{background:#ffffff0f;border:1px solid #ffffff1f;border-radius:18px;gap:0;display:grid;overflow:hidden}.list-row{background:#0c121ea6;border-bottom:1px solid #ffffff14;grid-template-columns:64px 1fr;align-items:center;gap:10px;min-height:44px;padding:8px 12px;display:grid}.list-row:last-of-type{border-bottom:none}.list-row.mystery{color:var(--primary);background:#f5b3012e;border-color:#f5b30166}.list-detail{color:#ffffffb3;font-size:.85rem;font-weight:600}.list-row.mystery .list-detail{color:#f5b301e6}.list-main{gap:2px;display:grid}.list-title{font-size:.95rem;font-weight:600}.list-subtitle{color:var(--muted);font-size:.8rem}.list-tail{color:#fff9;cursor:pointer;background:0 0;border:none;padding:6px;font-size:.75rem}.list-tail:hover{color:var(--text)}.button.lock{color:#06130f;background:#3bd08fe6;width:100%;margin-top:16px}.button.lock.holding{background:#3bd08f99}.host-stage-shell{--host-stage-width:1920px;--host-stage-height:1080px;--host-scale:1;background:var(--app-bg-gradient);place-items:center;width:100%;height:100%;min-height:0;display:grid;position:relative;overflow:hidden}:is(.host-stage-shell:has(.host-overlay-shell),.host-stage-shell:has(.host-preview-gate-overlay),.host-stage-shell:has(.game-pause-overlay)){background:var(--host-overlay-bg);background-size:150% 150%;animation:15s ease-in-out infinite alternate opening-stage-drift}.host-stage-frame{width:var(--host-stage-width);height:var(--host-stage-height);position:relative;overflow:hidden}.host-game{--host-canvas-width:var(--host-stage-width);--host-canvas-height:var(--host-stage-height);--host-header-footprint:calc(96px * var(--host-scale));--timeline-count:10;--timeline-target:calc(1800px * var(--host-scale));--timeline-gap:calc(18px * var(--host-scale));--timeline-pad:calc(28px * var(--host-scale));--host-pad-top:calc(16px * var(--host-scale));--host-pad-x:calc(20px * var(--host-scale));--host-pad-bottom:calc(2px * var(--host-scale));--host-rail-card-size:calc(248px * var(--host-scale));--host-rail-bottom-gap:calc(48px * var(--host-scale));width:var(--host-canvas-width);height:var(--host-canvas-height);justify-content:space-between;gap:calc(16px * var(--host-scale));padding:var(--host-pad-top) var(--host-pad-x) var(--host-pad-bottom);background:var(--app-bg-gradient);flex-direction:column;display:flex;position:relative;overflow:hidden}.host-game.opening-active{gap:0;padding:0;overflow:hidden}.host-game-content{flex:1;grid-template-rows:1fr auto 1fr;width:100%;display:grid}.host-game:not(.opening-active) .host-game-content{display:block}.host-game.host-game-with-active-rail .timeline-stage{margin-top:0}.host-game.opening-active .host-game-content{display:block}.host-game.is-fullscreen,:fullscreen::backdrop{background:var(--app-bg-gradient)}.host-game-header{align-items:start;gap:calc(24px * var(--host-scale));min-height:var(--host-header-footprint);grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);display:grid}.host-header-controls{align-items:center;gap:calc(10px * var(--host-scale));flex:none;place-self:start end;min-width:0;display:flex}.host-header-actions{align-items:center;gap:calc(8px * var(--host-scale));flex-wrap:nowrap;display:flex}.host-fullscreen-toggle{letter-spacing:0}.host-fullscreen-message{font-size:calc(12px * var(--host-scale));color:var(--muted);text-align:right;max-width:calc(200px * var(--host-scale))}.host-brand{gap:calc(6px * var(--host-scale));justify-self:start;min-width:0;display:grid}.host-title{font-size:calc(52px * var(--host-scale));letter-spacing:-.02em;font-weight:700;line-height:1}.host-deck{font-size:calc(24px * var(--host-scale));letter-spacing:.2em;text-transform:uppercase;color:var(--muted);font-weight:600}.host-round-label{padding-inline:calc(8px * var(--host-scale));font-size:calc(15px * var(--host-scale));letter-spacing:.12em;text-transform:uppercase;color:#f4f2edd6;white-space:nowrap;flex:none;align-items:center;font-weight:800;display:inline-flex}.host-score-cluster{align-items:center;gap:calc(10px * var(--host-scale));width:min(100%, calc(1120px * var(--host-scale)));place-self:start center;min-width:0;max-width:100%;display:inline-flex}.host-score-row{gap:calc(14px * var(--host-scale));flex-wrap:nowrap;flex:none;justify-content:center;align-items:center;min-width:0;max-width:100%;display:flex}.host-modal{padding:calc(24px * var(--host-scale));z-index:30;background:#06090eb3;place-items:center;display:grid;position:absolute;inset:0}.host-modal-card{width:calc(360px * var(--host-scale));border-radius:calc(18px * var(--host-scale));border:1px solid var(--border);background:var(--card);padding:calc(18px * var(--host-scale)) calc(20px * var(--host-scale));gap:calc(10px * var(--host-scale));display:grid;box-shadow:0 20px 60px #00000073}.host-modal-title{font-size:calc(17px * var(--host-scale));font-weight:700}.host-modal-body{color:var(--muted);font-size:calc(15px * var(--host-scale))}.host-modal-actions{justify-content:flex-end;gap:calc(10px * var(--host-scale));margin-top:calc(6px * var(--host-scale));display:flex}.host-overlay-shell{z-index:20;background:var(--host-overlay-bg);background-size:150% 150%;width:100%;height:100%;animation:15s ease-in-out infinite alternate opening-stage-drift;position:absolute;inset:0;overflow:hidden}.host-centered-overlay{z-index:1;width:100%;min-height:100%;padding:calc(72px * var(--host-scale)) calc(40px * var(--host-scale)) calc(56px * var(--host-scale));place-items:center;display:grid;position:relative}.host-centered-overlay-content{width:min(calc(1180px * var(--host-scale)), 100%);justify-items:center;gap:calc(24px * var(--host-scale));text-align:center;display:grid}.host-centered-overlay-calm .host-centered-overlay-content{gap:calc(34px * var(--host-scale))}.host-centered-overlay-compact .host-centered-overlay-content{gap:calc(18px * var(--host-scale))}.host-centered-overlay-ceremonial .host-centered-overlay-content{width:min(calc(1320px * var(--host-scale)), 100%);gap:calc(20px * var(--host-scale))}.host-overlay-eyebrow{font-size:calc(32px * var(--host-scale));letter-spacing:.14em;text-transform:uppercase;margin:0;font-weight:800;line-height:1.05}.host-overlay-display-title{max-width:14ch;font-size:calc(90px * var(--host-scale));letter-spacing:-.03em;text-transform:uppercase;margin:0;font-weight:800;line-height:.92}.host-overlay-actions{gap:calc(18px * var(--host-scale));flex-wrap:wrap;justify-content:center;display:flex}.host-action-button{min-width:calc(220px * var(--host-scale));min-height:calc(62px * var(--host-scale));padding:calc(14px * var(--host-scale)) calc(28px * var(--host-scale));font-size:calc(18px * var(--host-scale));letter-spacing:.01em;border-radius:999px;font-weight:700}.host-action-button-primary{background:linear-gradient(160deg, var(--primary) 0%, #e3a300 100%);color:#1a1300;box-shadow:0 calc(10px * var(--host-scale)) calc(26px * var(--host-scale)) #f5b3013d}.host-action-button-primary:hover:not(:disabled){background:linear-gradient(160deg,#ffc51a 0%,#efaf00 100%)}.host-action-button-success{color:#0d1a12;box-shadow:0 calc(10px * var(--host-scale)) calc(26px * var(--host-scale)) #68d88c3d;background:linear-gradient(160deg,#79e59f 0%,#68d88c 100%)}.host-action-button-success:hover:not(:disabled){background:linear-gradient(160deg,#8eebb1 0%,#75dea1 100%)}.host-action-button-secondary{color:#f0f5ffeb;background:#0b111f57;border-color:#bbcdff47;box-shadow:inset 0 0 0 1px #ffffff08}.host-action-button-secondary:hover:not(:disabled){background:#131d3394;border-color:#bbcdff6b}.host-overlay-panel-scene{align-content:center;place-items:center;gap:calc(22px * var(--host-scale));padding:calc(28px * var(--host-scale));display:grid}.host-overlay-panel{width:min(calc(860px * var(--host-scale)), 100%);max-height:calc(900px * var(--host-scale));border-radius:calc(22px * var(--host-scale));box-shadow:0 calc(20px * var(--host-scale)) calc(44px * var(--host-scale)) #00000047, inset 0 1px 0 #ffffff08;padding:calc(38px * var(--host-scale));background:#070c228f;border:1px solid #ffffff1a;overflow:auto}.host-overlay-panel-header{margin-bottom:calc(22px * var(--host-scale));text-align:center;justify-items:center;gap:0;display:grid}.host-overlay-panel-title{font-size:calc(56px * var(--host-scale));letter-spacing:.04em;text-transform:uppercase;margin:0;font-weight:800;line-height:.94}.host-overlay-panel-supporting{color:#f4f2edcc;font-size:calc(14px * var(--host-scale));letter-spacing:.14em;text-transform:uppercase;font-weight:700;line-height:1.2}.game-pause-overlay{justify-content:center;align-items:center;gap:calc(48px * var(--host-scale));background:var(--host-overlay-bg);z-index:20;pointer-events:auto;background-size:150% 150%;flex-direction:column;animation:15s ease-in-out infinite alternate opening-stage-drift;display:flex;position:absolute;inset:0}.game-paused-overlay{pointer-events:auto}.game-paused-overlay-content{width:min(calc(1040px * var(--host-scale)), 100%);gap:calc(42px * var(--host-scale))}.game-paused-title{color:#f8f9ff;text-shadow:0 10px 26px #0000006b}.game-pause-title{font-size:calc(96px * var(--host-scale));text-transform:uppercase;letter-spacing:-.02em;color:var(--primary);text-align:center;margin:0;font-weight:800;line-height:1}.game-pause-actions{gap:calc(20px * var(--host-scale));flex-wrap:wrap;justify-content:center;display:flex}.host-screen-notice-overlay{z-index:9999;background:var(--bg);cursor:default;outline:none;position:fixed;inset:0}.host-screen-notice-shell{min-height:100dvh}.host-screen-notice-content{gap:18px;width:min(600px,100% - 48px)}.host-screen-notice-title{color:#f8f9ff;max-width:none;font-size:clamp(2rem,5vw,4rem)}.host-screen-notice-copy{max-width:600px;color:var(--muted);text-align:center;margin:0;font-size:1.2rem}.host-preview-gate-overlay{z-index:20;background:var(--host-overlay-bg);background-size:150% 150%;animation:15s ease-in-out infinite alternate opening-stage-drift;position:absolute;inset:0}.host-preview-gate-content{width:min(calc(920px * var(--host-scale)), 100%)}.host-preview-gate-title{color:#f8f9ff}.host-score-chip{flex:0 0 calc(152px * var(--host-scale));width:calc(152px * var(--host-scale));min-width:calc(152px * var(--host-scale));max-width:calc(152px * var(--host-scale));padding:calc(10px * var(--host-scale)) calc(18px * var(--host-scale));border:1px solid var(--border);justify-content:center;align-items:center;gap:calc(6px * var(--host-scale));text-align:center;background:#0c121eb3;border-radius:999px;flex-direction:column;display:flex}.host-score-chip.active{background:var(--primary);color:#1a1300;border-color:#f5b301e6}.host-score-chip.disconnected{opacity:.6}.host-score-name{font-size:calc(16px * var(--host-scale));text-overflow:ellipsis;white-space:nowrap;text-align:center;width:100%;font-weight:600;line-height:1.1;display:block;overflow:hidden}.host-score-count{font-size:calc(22px * var(--host-scale));color:var(--primary);font-weight:700;line-height:1}.host-score-chip.active .host-score-name,.host-score-chip.active .host-score-count{color:#1a1300}.host-icon-button{appearance:none;width:calc(48px * var(--host-scale));height:calc(48px * var(--host-scale));color:#fff;cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.host-icon-button:hover{opacity:.82;color:#fff}.host-icon-button:disabled{opacity:.45;cursor:not-allowed}.host-header-stroke-icon{width:calc(20px * var(--host-scale));height:calc(20px * var(--host-scale));fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.host-turn{top:calc(178px * var(--host-scale));text-align:center;gap:calc(8px * var(--host-scale));z-index:3;margin-bottom:0;display:grid;position:absolute;left:0;right:0}.host-round{font-size:calc(19px * var(--host-scale));letter-spacing:.3em;text-transform:uppercase;color:var(--muted)}.host-turn-name{font-size:calc(56px * var(--host-scale));letter-spacing:-.02em;font-weight:700;transition:opacity .26s,transform .26s,filter .26s}.host-turn-countdown{min-width:calc(104px * var(--host-scale));padding:calc(10px * var(--host-scale)) calc(20px * var(--host-scale));font-size:calc(18px * var(--host-scale));justify-self:center;font-weight:800}.host-turn.turn-handoff-exit .host-turn-name{opacity:.36;filter:blur(1.2px);transform:translateY(6px)scale(.98)}.host-turn.turn-handoff-handoff .host-turn-name{opacity:0;filter:blur(2px);transform:translateY(10px)scale(.96)}.host-turn.turn-handoff-settle .host-turn-name{animation:.42s cubic-bezier(.2,.8,.2,1) host-turn-name-settle}.host-game.winning-reveal-active .host-turn-name{animation:.92s cubic-bezier(.16,.84,.24,1) both winning-reveal-turn-name}.player-up-overlay-content{width:min(calc(1120px * var(--host-scale)), 100%)}.player-up-affirmation{color:var(--primary);text-shadow:0 3px 10px #00000057,0 0 12px #f5b30124;margin:0}.player-up-title{color:#f8f9ff;text-shadow:0 10px 26px #0000006b;max-width:13ch}.opening-stage{--banner-space:calc(110px * var(--host-scale));z-index:40}.opening-intro-overlay-content{width:min(calc(1500px * var(--host-scale)), 100%);gap:calc(18px * var(--host-scale))}.opening-intro-title{color:#f8f9ff;max-width:20ch;font-size:calc(72px * var(--host-scale));text-shadow:0 10px 26px #0000006b;line-height:.98;animation:4.5s ease-out forwards opening-intro-drift}.opening-intro-subtitle{max-width:42ch;color:var(--primary);font-size:calc(30px * var(--host-scale));letter-spacing:.03em;text-transform:uppercase;text-shadow:0 8px 22px #00000057,0 0 12px #f5b3011f;margin:0;font-weight:700;line-height:1.12;animation:4.5s ease-out forwards opening-intro-drift}@keyframes opening-intro-drift{0%{opacity:0;transform:scale(.85)}15%{opacity:1}85%{opacity:1}to{opacity:0;transform:scale(1.05)}}.host-turn-handoff-overlay{pointer-events:none;gap:calc(12px * var(--host-scale));padding:calc(28px * var(--host-scale));text-align:center;z-index:18;opacity:0;background:#090f1d;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.host-turn-handoff-affirmation{color:var(--primary);text-shadow:0 0 30px #f5b30166,0 10px 28px #00000070;margin:0}.host-turn-handoff-next{font-size:calc(64px * var(--host-scale));color:#f8f9ff;text-shadow:0 10px 26px #0000006b;margin:0}.host-turn.turn-handoff-exit .host-turn-handoff-overlay,.host-turn.turn-handoff-handoff .host-turn-handoff-overlay{opacity:1}.host-turn.turn-handoff-exit .host-turn-handoff-overlay{animation:.22s cubic-bezier(.2,.8,.2,1) both host-turn-handoff-enter}.host-turn.turn-handoff-settle .host-turn-handoff-overlay{opacity:0;transition:opacity .42s,transform .42s;transform:translateY(-12px)scale(1.03)}.host-game.turn-handoff-active .timeline-stage{transition:opacity .26s,filter .26s,transform .26s}.host-game.turn-handoff-exit .timeline-stage,.host-game.turn-handoff-handoff .timeline-stage{opacity:.58;filter:blur(2px)saturate(.9);--timeline-stage-motion:4px}.host-game.turn-handoff-settle .timeline-stage{opacity:.84;filter:blur(1px)saturate(.95);--timeline-stage-motion:2px}@keyframes host-turn-handoff-enter{0%{opacity:0;transform:translateY(24px)scale(.94)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes host-turn-name-settle{0%{opacity:.65;transform:translateY(8px)scale(.97)}65%{opacity:1;transform:translateY(-2px)scale(1.02)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes opening-stage-drift{0%{background-position:0 0}to{background-position:100% 100%}}.opening-stage-payoff{z-index:3;top:calc(18px * var(--host-scale));width:min(calc(1480px * var(--host-scale)), 100%);min-height:calc(var(--banner-space) - calc(28px * var(--host-scale)));padding:0 calc(24px * var(--host-scale));text-align:center;font-size:calc(56px * var(--host-scale));letter-spacing:-.03em;color:#f8f9ff;text-shadow:0 10px 26px #0000006b;white-space:nowrap;pointer-events:none;opacity:.94;justify-content:center;align-items:center;font-weight:800;line-height:.96;transition:transform .6s cubic-bezier(.2,.8,.2,1),opacity .6s cubic-bezier(.2,.8,.2,1);display:flex;position:absolute;left:50%;transform:translate(-50%)}.opening-stage-payoff-generic{text-transform:uppercase}.opening-stage-payoff.flash{animation:1.4s ease-in-out infinite opening-flash}.opening-stage-payoff.winner-revealed{opacity:1;transform:translate(-50%)scale(1.04)}.opening-grid{top:var(--banner-space);right:0;bottom:var(--banner-space);z-index:1;grid-template-columns:repeat(var(--opening-grid-cols), minmax(0, 1fr));grid-template-rows:repeat(var(--opening-grid-rows), minmax(0, 1fr));background:#dae6ff57;gap:1px;display:grid;position:absolute;left:0}.opening-slot{place-items:center;gap:calc(32px * var(--host-scale));padding:calc(44px * var(--host-scale)) calc(54px * var(--host-scale)) calc(42px * var(--host-scale));background:radial-gradient(80% 80% at 50% 18%,#3862c538,#0000 58%),radial-gradient(70% 70% at 80% 90%,#ffae401f,#0000 64%),linear-gradient(#060c1f 0%,#040812 100%);grid-template-rows:auto 1fr auto;animation:.6s cubic-bezier(.2,.8,.2,1) both opening-slot-enter;display:grid;position:relative;overflow:hidden}.opening-slot.empty{visibility:hidden}.opening-grid.winner-revealed .opening-slot:not(.first){opacity:.4;filter:grayscale(.6);transition:all .8s;transform:scale(.96)}.opening-slot.revealed{animation:.4s cubic-bezier(.34,1.56,.64,1) opening-slot-pop}.opening-slot.revealed .opening-slot-card{animation:.7s cubic-bezier(.34,1.56,.64,1) opening-card-hop}.opening-slot.first{z-index:10;background:radial-gradient(76% 76% at 50% 14%,#ffcc5933,#0000 56%),radial-gradient(70% 70% at 80% 90%,#ffae4026,#0000 64%),linear-gradient(#060d22 0%,#050913 100%);transition:transform .6s cubic-bezier(.2,.8,.2,1);transform:scale(1.05);box-shadow:0 0 60px #f5b30126}.opening-slot.first:after{content:"";box-shadow:inset 0 0 0 calc(3px * var(--host-scale)) #f5b301d9;pointer-events:none;animation:2s ease-in-out infinite alternate opening-winner-glow;position:absolute;inset:0}.opening-slot-name{width:max-content;max-width:100%;font-size:calc(34px * var(--host-scale));text-transform:uppercase;letter-spacing:.1em;color:#f9fbfff2;text-shadow:0 4px 14px #000000bf;white-space:nowrap;text-overflow:ellipsis;text-align:center;font-weight:800;overflow:hidden}.opening-slot-card{--raw-card-size:min(calc((var(--host-canvas-width) - (var(--opening-grid-cols) - 1) * 1px) / var(--opening-grid-cols) * .65), calc((var(--host-canvas-height) - (var(--banner-space) * 2) - (var(--opening-grid-rows) - 1) * 1px) / var(--opening-grid-rows) * .65));--timeline-card-size:max(calc(140px * var(--host-scale)), min(var(--raw-card-size), calc(480px * var(--host-scale))));width:var(--timeline-card-size);aspect-ratio:1;place-items:center;display:grid}.opening-slot-card .timeline-card{width:100%}.opening-slot-rank{right:calc(30px * var(--host-scale));bottom:calc(22px * var(--host-scale));width:calc(128px * var(--host-scale));height:calc(128px * var(--host-scale));color:#241700;font-weight:900;font-size:calc(58px * var(--host-scale));background:radial-gradient(circle at 35% 30%,#ffe39d 0%,#f5b301 50%,#b97c00 100%);border:1px solid #fff1c9d1;border-radius:999px;place-items:center;animation:.36s cubic-bezier(.2,.8,.2,1) .3s both opening-rank-pop;display:grid;position:absolute;box-shadow:0 10px 24px #00000073}.end-game-recap-screen{isolation:isolate;flex-direction:column;display:flex}.end-game-recap-confetti{pointer-events:none;z-index:0;width:100%;height:100%;position:absolute;inset:0}.end-game-recap-shell{z-index:1;grid-template-columns:minmax(calc(560px * var(--host-scale)), 60%) minmax(calc(420px * var(--host-scale)), 40%);flex:1;min-height:0;animation:.48s cubic-bezier(.18,.84,.24,1) both end-game-recap-shell-in;position:relative}.end-game-recap-left{gap:calc(12px * var(--host-scale))}.end-game-recap-panel{margin-top:calc(4px * var(--host-scale));min-height:0;max-width:min(calc(960px * var(--host-scale)), 100%);gap:calc(12px * var(--host-scale));padding:calc(18px * var(--host-scale)) calc(18px * var(--host-scale)) calc(16px * var(--host-scale));flex-direction:column;flex:1;display:flex}.end-game-recap-panel-header{justify-content:space-between;align-items:baseline;gap:calc(12px * var(--host-scale));display:flex}.end-game-recap-panel-label{font-size:calc(16px * var(--host-scale));letter-spacing:.14em;text-transform:uppercase;color:#d1dcffb8;font-weight:700}.end-game-recap-scroll-hint{font-size:calc(14px * var(--host-scale));color:#e4ebffb3;white-space:nowrap;font-weight:600}.end-game-recap-scroll-shell{flex:1;min-height:0;position:relative}.end-game-recap-list{height:100%;padding-right:calc(10px * var(--host-scale));gap:calc(16px * var(--host-scale));scrollbar-width:thin;scrollbar-color:#beccff70 #ffffff0f;display:grid;overflow:auto}.end-game-recap-list::-webkit-scrollbar{width:calc(7px * var(--host-scale))}.end-game-recap-list::-webkit-scrollbar-track{border-radius:calc(999px * var(--host-scale));background:#ffffff0d}.end-game-recap-list::-webkit-scrollbar-thumb{border-radius:calc(999px * var(--host-scale));background:linear-gradient(#cbd7ff94 0%,#99b0ff75 100%);border:1px solid #ffffff14}.end-game-recap-list::-webkit-scrollbar-thumb:hover{background:linear-gradient(#dce4ffbd 0%,#adbfff9e 100%)}.end-game-recap-round-group{gap:calc(8px * var(--host-scale));display:grid}.end-game-recap-round-heading{font-size:calc(15px * var(--host-scale));letter-spacing:.16em;text-transform:uppercase;color:#d1dcffb8;font-weight:800}.end-game-recap-round-list{gap:calc(8px * var(--host-scale));display:grid}.end-game-recap-row{align-items:center;gap:calc(12px * var(--host-scale));min-height:calc(62px * var(--host-scale));padding:calc(11px * var(--host-scale)) calc(14px * var(--host-scale));border-radius:calc(12px * var(--host-scale));box-shadow:0 calc(10px * var(--host-scale)) calc(28px * var(--host-scale)) #04081c33;background:linear-gradient(#121d4fd1 0%,#0c153dc7 100%);border:1px solid #e0eaff2e;grid-template-columns:minmax(0,1fr) auto;display:grid}.end-game-recap-song-line{align-items:baseline;gap:calc(8px * var(--host-scale));min-width:0;display:flex;overflow:hidden}.end-game-recap-song-title,.end-game-recap-song-meta{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.end-game-recap-song-title{font-size:calc(21px * var(--host-scale));color:#f6f9fffa;flex:0 auto;font-weight:700}.end-game-recap-song-separator{color:#e0e8ff85;font-size:calc(16px * var(--host-scale));flex:none}.end-game-recap-song-meta{font-size:calc(16px * var(--host-scale));color:#e0e8ffb8;flex:auto;min-width:0}.end-game-recap-year{padding-left:calc(10px * var(--host-scale));font-size:calc(18px * var(--host-scale));color:#eef2fff0;letter-spacing:.04em;justify-self:end;font-weight:700}.end-game-recap-empty{text-align:center;color:#e9f1ffd1;font-size:calc(20px * var(--host-scale));padding:calc(24px * var(--host-scale));flex:1;place-items:center;line-height:1.4;display:grid}.end-game-recap-right{padding-left:calc(28px * var(--host-scale))}.end-game-recap-right-content{z-index:1;width:min(calc(600px * var(--host-scale)), 100%);height:100%;padding-top:calc(4px * var(--host-scale));padding-bottom:calc(56px * var(--host-scale));flex-direction:column;justify-content:flex-end;align-items:center;display:flex;position:relative}.end-game-recap-winner-heading{margin:calc(154px * var(--host-scale)) 0 0;justify-content:center;align-items:center;gap:calc(18px * var(--host-scale));max-width:100%;font-size:calc(92px * var(--host-scale));letter-spacing:-.02em;text-transform:uppercase;text-align:center;color:#f8fbff;white-space:nowrap;text-shadow:0 0 calc(12px * var(--host-scale)) #d0e4ff2e, 0 0 calc(28px * var(--host-scale)) #a9c5ff1f;font-weight:800;line-height:.94;display:inline-flex;position:static}.end-game-recap-winner-heading-medium{font-size:calc(82px * var(--host-scale))}.end-game-recap-winner-heading-long{font-size:calc(72px * var(--host-scale))}.end-game-recap-winner-emoji{flex:none;font-size:.68em;line-height:1}.end-game-recap-winner-text{min-width:0}.end-game-recap-brand-copy{gap:calc(24px * var(--host-scale));text-align:center;justify-items:center;margin-top:auto;display:grid}.end-game-recap-credit{font-size:calc(26px * var(--host-scale));color:#e9f1ffd6;margin:0;font-weight:600}.end-game-recap-logo-frame{width:min(calc(520px * var(--host-scale)), 100%);border-radius:calc(24px * var(--host-scale));box-shadow:0 calc(20px * var(--host-scale)) calc(42px * var(--host-scale)) #00000047, inset 0 1px 0 #ffffff14;border:1px solid #ffffff29;overflow:hidden}.end-game-recap-logo{width:100%;height:auto;display:block}.end-game-recap-footer{z-index:1;padding:0 calc(64px * var(--host-scale)) calc(34px * var(--host-scale));animation:.56s cubic-bezier(.18,.84,.24,1) 70ms both end-game-recap-footer-in;position:relative}.end-game-recap-footer-actions{flex-wrap:wrap;justify-content:center;margin-top:0;margin-bottom:0}.end-game-transition-preview{align-content:start;gap:calc(24px * var(--host-scale));width:100%;height:100%;padding:calc(68px * var(--host-scale)) calc(64px * var(--host-scale)) calc(56px * var(--host-scale));display:grid}.end-game-sequence-step-shell{width:100%;height:100%;position:relative}.end-game-sequence-transition-overlay{pointer-events:none;background:radial-gradient(circle at 50% 42%,#121b4629 0%,#0a0f26c2 52%,#040816f5 100%);animation:.45s ease-in forwards end-game-sequence-transition-fade;position:absolute;inset:0}@keyframes end-game-sequence-transition-fade{0%{opacity:0}to{opacity:1}}@keyframes end-game-recap-shell-in{0%{opacity:0;transform:translateY(calc(28px * var(--host-scale))) scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes end-game-recap-footer-in{0%{opacity:0;transform:translateY(calc(18px * var(--host-scale)))}to{opacity:1;transform:translateY(0)}}.round-up-card{width:min(calc(900px * var(--host-scale)), 100%)}.round-up-title{color:#f8f9ff;max-width:none;font-size:calc(68px * var(--host-scale));text-shadow:0 10px 26px #0000006b;white-space:nowrap;line-height:.96}.round-up-list{gap:calc(12px * var(--host-scale));margin:0;padding:0;list-style:none;display:grid}.round-up-row{grid-template-columns:calc(96px * var(--host-scale)) 1fr calc(96px * var(--host-scale));align-items:center;gap:calc(16px * var(--host-scale));padding:calc(14px * var(--host-scale)) calc(16px * var(--host-scale));border-radius:calc(12px * var(--host-scale));background:#ffffff0b;border:1px solid #ffffff17;display:grid;box-shadow:inset 0 1px #ffffff06}.round-up-row-leading{box-shadow:inset 0 1px 0 #fff8d61f, 0 calc(8px * var(--host-scale)) calc(18px * var(--host-scale)) #f5b30114;background:linear-gradient(135deg,#f5b30138 0%,#cc8f002e 100%);border-color:#f5b3015c}.round-up-rank{font-size:calc(22px * var(--host-scale));letter-spacing:-.02em;color:var(--primary);font-weight:900}.round-up-name{font-size:calc(21px * var(--host-scale));color:var(--text);font-weight:650}.round-up-score{text-align:right;font-size:calc(20px * var(--host-scale));color:#f9fbff;font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1;font-weight:800}.timeline-stage{--timeline-count:10;--timeline-target:calc(1800px * var(--host-scale));--timeline-gap:calc(18px * var(--host-scale));--timeline-pad:calc(28px * var(--host-scale));--timeline-card-size:max(calc(150px * var(--host-scale)), min(calc((var(--timeline-target) - (var(--timeline-count) - 1) * var(--timeline-gap) - 2 * var(--timeline-pad)) / var(--timeline-count)), calc(280px * var(--host-scale))));--timeline-stage-pad-top:calc(24px * var(--host-scale));--timeline-stage-pad-bottom:calc(40px * var(--host-scale));padding:var(--timeline-stage-pad-top) 0 var(--timeline-stage-pad-bottom);position:relative}.host-game.host-game-with-active-rail .timeline-stage{--timeline-stage-pad-top:calc(24px * var(--host-scale));--timeline-stage-pad-bottom:calc(24px * var(--host-scale))}.host-game:not(.opening-active) .timeline-stage{z-index:2;transform:translateY(calc(-50% + var(--timeline-stage-motion,0px)));position:absolute;top:50%;left:0;right:0}.timeline-track-wrapper{width:100%;position:relative}.timeline-axis{z-index:0;background:#ffffff1f;height:1px;position:absolute;top:50%;left:0;right:0;transform:translateY(-50%)}.timeline-label{margin-top:calc(16px * var(--host-scale));font-size:calc(13px * var(--host-scale));letter-spacing:.3em;text-transform:uppercase;color:#ffffff59;position:absolute;top:50%;transform:none}.timeline-label-host{font-size:calc(17px * var(--host-scale))}.timeline-label.left{left:calc(32px * var(--host-scale))}.timeline-label.right{right:calc(32px * var(--host-scale))}.timeline-strip{z-index:1;gap:var(--timeline-gap);padding:var(--timeline-pad);width:100%;max-width:var(--timeline-target);justify-content:center;align-items:center;margin:0 auto;display:flex;position:relative;overflow-x:auto}.timeline-slot-indicator{flex:0 0 calc(var(--timeline-card-size) * .11);height:calc(var(--timeline-card-size) * .72);background:#f5b301fa;border-radius:999px;animation:1.4s ease-in-out infinite alternate timeline-slot-indicator-pulse;box-shadow:0 0 0 2px #f5b3012e,0 0 14px #f5b3016b}.timeline-card{width:var(--timeline-card-size);aspect-ratio:1;perspective:1000px;--card-font:calc(var(--timeline-card-size) * .09);--card-pad:calc(var(--timeline-card-size) * .08);will-change:transform}.timeline-card-animator{width:100%;height:100%;transform-style:preserve-3d}.timeline-card-inner{width:100%;height:100%;transform-style:preserve-3d;-webkit-transform-style:preserve-3d;transition:transform .7s;position:relative}.timeline-card.face-down .timeline-card-inner{transform:rotateY(180deg)}.timeline-card-face{backface-visibility:hidden;border-radius:calc(var(--timeline-card-size) * .08);text-align:center;padding:calc(var(--card-pad) * 1.1) var(--card-pad);font-size:var(--card-font);flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0;overflow:hidden}.timeline-card-face.front{background:var(--timeline-card-bg,#f9fafb);color:var(--timeline-card-text,#0b0c10);border:calc(var(--timeline-card-size) * .015) solid var(--timeline-card-border,#ffffff2e);transition:box-shadow .25s,border-color .25s;box-shadow:0 10px 30px #00000059}.timeline-card-front-content{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;width:100%;min-width:0;display:flex;position:relative;overflow:hidden}.timeline-card-front-content--details{isolation:isolate;grid-template-rows:minmax(0,1fr) auto minmax(0,1fr);justify-items:center;width:100%;min-width:0;display:grid}.timeline-card-front-content--details>*{z-index:1;min-width:0;max-width:100%;position:relative}.timeline-card-front-content--details:before{content:"";width:76%;height:42%;filter:blur(calc(var(--timeline-card-size) * .045));pointer-events:none;z-index:0;background:radial-gradient(#ffffff2e 0%,#ffffff1a 28%,#ffffff0a 52%,#ffffff04 66%,#fff0 82%);border-radius:50%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.timeline-card-face.back{color:#1a1300;border:calc(var(--timeline-card-size) * .01) solid #fff3;background:linear-gradient(145deg,#f5b301e6,#c58c00e6);transform:rotateY(180deg)}.timeline-card-record{aspect-ratio:1;place-items:center;width:96%;margin-bottom:0;display:grid;position:relative}.timeline-card-record-ring{fill:none;stroke:#fff;stroke-linecap:round;transform-origin:50%}.timeline-card-record-ring-outer{stroke-width:3.5px;stroke-dasharray:28 8 22 12 18 12;stroke-dashoffset:5px;opacity:1}.timeline-card-record-ring-shell{stroke-width:3.5px;stroke-dasharray:none;stroke-dashoffset:0;opacity:1}.timeline-card-record-ring-mid{stroke-width:3.5px;stroke-dasharray:34 10 24 14;stroke-dashoffset:21px;opacity:1}.timeline-card-record-ring-inner{stroke-width:3.5px;stroke-dasharray:46 14 24 16;stroke-dashoffset:14px;opacity:1}.timeline-card-record-spinner{will-change:transform;width:100%;height:100%;position:absolute;inset:0}.timeline-card-year{letter-spacing:.04em;font-variant-numeric:lining-nums tabular-nums;text-shadow:0 1px 0 #ffffff2e, 0 calc(var(--timeline-card-size) * .012) calc(var(--timeline-card-size) * .04) #0000001f;padding:.08em 0;font-size:3em;font-weight:900;line-height:.92;position:relative}.timeline-card-year:before{content:"";filter:blur(calc(var(--timeline-card-size) * .025));opacity:.75;pointer-events:none;z-index:-1;background:radial-gradient(circle,#ffffff42 0%,#ffffff14 42%,#fff0 72%);position:absolute;inset:-.3em -.45em}.timeline-card-title{color:currentColor;opacity:1;letter-spacing:.01em;justify-content:center;align-self:stretch;align-items:flex-end;min-width:0;max-width:100%;font-size:.92em;font-weight:800;line-height:1.08;display:flex;overflow:hidden}.timeline-card-artist{color:currentColor;letter-spacing:.08em;text-transform:uppercase;justify-content:center;align-self:stretch;align-items:flex-start;min-width:0;max-width:100%;font-size:.92em;font-weight:700;line-height:1.1;display:flex;overflow:hidden}.timeline-card-title-text{-webkit-line-clamp:2;text-overflow:ellipsis;overflow-wrap:anywhere;-webkit-box-orient:vertical;width:100%;min-width:0;max-width:100%;font-style:italic;display:-webkit-box;overflow:hidden}.timeline-card-artist-text{text-overflow:ellipsis;white-space:nowrap;width:100%;min-width:0;max-width:100%;display:block;overflow:hidden}.timeline-card-mystery{z-index:1;opacity:1;color:#fffffffa;text-shadow:0 0 10px #00000014;font-size:2.1em;font-weight:800;line-height:1;position:relative}.timeline-card-label{text-transform:uppercase;letter-spacing:.2em;margin-top:.2em;font-size:.7em}.timeline-card.current .timeline-card-animator{animation:.5s card-pulse}.host-game.winning-reveal-active .timeline-stage{animation:1.1s cubic-bezier(.16,.84,.24,1) both winning-reveal-stage-settle}.host-game.winning-reveal-active .timeline-track-wrapper:after{content:"";left:calc(24px * var(--host-scale));right:calc(24px * var(--host-scale));top:calc(50% - (var(--timeline-card-size) * .44));height:calc(var(--timeline-card-size) * .88);border-radius:calc(999px * var(--host-scale));pointer-events:none;opacity:0;z-index:0;background:radial-gradient(circle,#72e3b23d 0%,#89b5ff1f 44%,#0000 74%);animation:1.28s ease-out both winning-reveal-track-glow;position:absolute;transform:scale(.94)}.host-game.winning-reveal-active .timeline-card.current .timeline-card-animator{animation:1.15s cubic-bezier(.16,.84,.24,1) both winning-reveal-card-pop}.timeline-card.reveal-good .timeline-card-face.front{box-shadow:0 0 0 4px #3bd08fb3,0 10px 30px #00000059}.host-game.winning-reveal-active .timeline-card.reveal-good.current .timeline-card-face.front{animation:1.32s ease-out both winning-reveal-card-glow;box-shadow:0 0 0 5px #68e4a5d1,0 0 28px #68e4a561,0 18px 42px #00000057}.timeline-card.reveal-bad{animation:.6s reveal-shake}.timeline-card.reveal-bad .timeline-card-face.front{box-shadow:0 0 0 4px #ff5c5cb3,0 10px 30px #00000059}.timeline-card.exiting{animation:.45s forwards reveal-exit}@keyframes card-pulse{0%{transform:scale(.96)}60%{transform:scale(1.02)}to{transform:scale(1)}}@keyframes winning-reveal-turn-name{0%{opacity:.84;text-shadow:0 0 #c0dfff00;transform:translateY(8px)scale(.97)}45%{opacity:1;text-shadow:0 0 18px #c0dfff38;transform:translateY(-4px)scale(1.03)}to{opacity:1;text-shadow:0 0 10px #c0dfff1a;transform:translateY(0)scale(1)}}@keyframes winning-reveal-stage-settle{0%{filter:saturate(.94);transform:translateY(calc(14px - 50%))scale(.992)}45%{filter:saturate(1.08);transform:translateY(calc(-50% - 6px))scale(1.01)}to{filter:saturate();transform:translateY(-50%)scale(1)}}@keyframes winning-reveal-track-glow{0%{opacity:0;transform:scale(.94)}30%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(1.06)}}@keyframes winning-reveal-card-pop{0%{transform:translateY(0)scale(.96)}28%{transform:translateY(-12px)scale(1.06)}58%{transform:translateY(0)scale(1.015)}to{transform:translateY(0)scale(1)}}@keyframes winning-reveal-card-glow{0%{filter:saturate(.96)brightness(.98)}30%{filter:saturate(1.08)brightness(1.05)}to{filter:saturate()brightness()}}@keyframes reveal-shake{0%,to{transform:translate(0)}20%{transform:translate(-6px)}40%{transform:translate(6px)}60%{transform:translate(-4px)}80%{transform:translate(4px)}}@keyframes reveal-exit{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-24px)}}@keyframes timeline-slot-indicator-pulse{0%{opacity:.5;transform:scaleY(.92)}to{opacity:1;transform:scaleY(1)}}@keyframes opening-drop{0%{opacity:0;transform:translateY(-32px)}to{opacity:1;transform:translateY(0)}}@keyframes opening-flash{0%,to{filter:brightness()}50%{filter:brightness(1.2)}}@keyframes opening-slot-enter{0%{opacity:0;translate:0 -40px}to{opacity:1;translate:0}}@keyframes opening-winner-glow{0%{box-shadow:inset 0 0 0 3px #f5b30199,inset 0 0 20px #f5b30133}to{box-shadow:inset 0 0 0 5px #f5b301,inset 0 0 40px #f5b30199}}@keyframes opening-card-hop{0%{transform:translateY(0)scale(1)}50%{transform:translateY(-24px)scale(1.04)}to{transform:translateY(0)scale(1)}}@keyframes opening-slot-pop{0%{filter:brightness(.85);transform:scale(.95)}50%{filter:brightness(1.1);transform:scale(1.03)}to{filter:brightness();transform:scale(1)}}@keyframes opening-rank-pop{0%{opacity:0;transform:scale(.55)}60%{opacity:1;transform:scale(1.15)}to{opacity:1;transform:scale(1)}}.controller-shell{--controller-gap:clamp(8px, 1.8vh, 14px);--controller-body-gap:clamp(16px, 3.8vh, 32px);--controller-body-pad-top:clamp(8px, 4vh, 28px);--controller-body-pad-bottom:clamp(8px, 2.6vh, 20px);--controller-action-pad:14px;width:100%;height:100dvh;min-height:100svh;padding:calc(16px + env(safe-area-inset-top)) calc(16px + env(safe-area-inset-right)) 0 calc(16px + env(safe-area-inset-left));gap:var(--controller-gap);background:linear-gradient(180deg, var(--bg) 0%, #0c111a 60%, #0b0e13 100%);color:var(--text);box-shadow:none;border:none;border-radius:0;flex-direction:column;margin:0;display:flex;position:fixed;inset:0;overflow:hidden}.controller-header{align-items:center;display:flex}.controller-wordmark{letter-spacing:-.02em;font-size:1.4rem;font-weight:700}.controller-status-row{justify-content:center;align-items:center;min-height:36px;margin-top:6px;display:flex}.countdown-pill{border:1px solid var(--border);text-align:center;min-width:68px;color:var(--text);background:#f4f2ed1f;border-radius:999px;padding:8px 16px;font-weight:600}.countdown-pill--large{letter-spacing:-.03em;background:#f4f2ed24;min-width:clamp(132px,10vw,176px);padding:12px 24px;font-size:clamp(1.4rem,3.2vw,2.1rem);font-weight:800;box-shadow:0 10px 30px #00000038}.countdown-pill--urgent{color:#ffd1d1;background:#ff5c5c33;border-color:#ff5c5c80}.controller-status{background:var(--card);border:1px solid var(--border);color:var(--muted);border-radius:14px;padding:12px 14px;font-size:.95rem}.controller-status.turn{color:#f9ebc3;background:#f5b30124;border-color:#f5b3014d;font-weight:700}.controller-status.passive{color:#f4f2edb8;background:#f4f2ed14;border-color:#f4f2ed1f}.controller-status.entering{animation:.24s cubic-bezier(.18,.89,.32,1.2) both controller-status-enter}.controller-status.bad{color:var(--danger);background:#ff5c5c1f;border-color:#ff5c5c66}.controller-actions-feedback{text-align:center;width:min(320px,92%)}.controller-body{align-items:stretch;gap:var(--controller-body-gap);min-height:0;padding-top:var(--controller-body-pad-top);padding-bottom:var(--controller-body-pad-bottom);flex-direction:column;flex:auto;display:flex}.controller-timeline-area{--controller-card-size:clamp(64px, 18vw, 88px);border:1px solid var(--border);background:#0c121eb3;border-radius:22px;justify-content:center;align-items:center;min-height:clamp(150px,26vh,230px);margin:0;padding:16px 0;display:flex;position:relative}.controller-timeline-axis{z-index:0;pointer-events:none;background:#ffffff1f;height:2px;position:absolute;top:50%;left:16px;right:16px;transform:translateY(-50%)}.controller-timeline-labels{pointer-events:none;justify-content:space-between;display:flex;position:absolute;bottom:10px;left:16px;right:16px}.controller-timeline-labels .timeline-label{letter-spacing:.22em;color:#ffffff47;margin-top:0;font-size:.68rem;position:static;top:auto;left:auto;right:auto}.controller-strip{z-index:1;-webkit-overflow-scrolling:touch;touch-action:pan-x;overscroll-behavior-x:contain;overflow-anchor:none;align-items:center;gap:12px;height:100%;padding:0 16px;display:flex;position:relative;overflow-x:auto}.controller-strip.hide-scroll::-webkit-scrollbar{display:none}.controller-strip.hide-scroll{scrollbar-width:none}.controller-card{width:var(--controller-card-size,clamp(64px, 18vw, 88px));height:var(--controller-card-size,clamp(64px, 18vw, 88px));--controller-card-radius:calc(var(--controller-card-size) * .205);border-radius:var(--controller-card-radius);color:#fff;perspective:1000px;border:none;flex-direction:column;flex:none;justify-content:center;align-items:center;gap:4px;padding:0;font-size:clamp(1rem,4.2vw,1.3rem);font-weight:700;transition:box-shadow .15s,filter .15s;display:flex;position:relative}.controller-card:active{filter:brightness(.97)}.controller-card-animator,.controller-card-inner{border-radius:inherit;width:100%;height:100%;overflow:hidden}.controller-card-animator{transform-style:preserve-3d}.controller-card-inner{transform-style:preserve-3d;-webkit-transform-style:preserve-3d;position:relative}.controller-card-face{border-radius:inherit;backface-visibility:hidden;justify-content:stretch;align-items:stretch;display:flex;position:absolute;inset:0}.controller-card-face-front{background:var(--controller-card-bg);color:var(--controller-card-text);place-items:center;display:grid;box-shadow:0 10px 18px #070a1038}.controller-card-face-back{transform:rotateY(180deg)}.controller-card.revealed{background:0 0;overflow:hidden}.controller-card.revealed.reveal-good .controller-card-face-front{box-shadow:0 0 0 3px #3bd08f85,0 10px 20px #070a1038}.controller-card.revealed.reveal-bad .controller-card-face-front{box-shadow:0 0 0 3px #f43f5e75,0 10px 20px #070a1038}.controller-card.revealed.exiting{pointer-events:none;animation:.45s forwards controller-reveal-exit}.controller-card-reveal-flip{animation:.7s both controller-reveal-flip}.controller-card.placeholder{color:#f4f2ed99;background:0 0;border:2px dashed #f4f2ed59;font-size:.8rem;font-weight:600}.controller-card.mystery{background:0 0;overflow:hidden}.controller-card.pending-confirmation,.controller-hand-card.pending-confirmation{opacity:.88;box-shadow:0 0 0 2px #f4f2ed38,0 10px 20px #070a1038}.controller-card.settling,.controller-hand-card.settling{animation:.12s cubic-bezier(.22,.61,.36,1) controller-placement-settle}.controller-card.visually-hidden-motion-card{opacity:0;visibility:hidden;pointer-events:none}.controller-hand{place-items:center;gap:12px;min-height:clamp(120px,22vh,160px);margin:auto 0 0;display:grid}.controller-hand-card{--controller-card-size:clamp(108px, 38vw, 160px);--controller-card-radius:calc(var(--controller-card-size) * .205);width:var(--controller-card-size);height:var(--controller-card-size);border-radius:var(--controller-card-radius);overflow:hidden}.controller-hand-card.entering{animation:.24s cubic-bezier(.18,.89,.32,1.2) both controller-hand-card-enter}.controller-placement-overlay{z-index:30;pointer-events:none;transform-origin:0 0;will-change:transform;position:fixed}.controller-placement-overlay-card{border-radius:var(--controller-card-radius);width:100%;height:100%;overflow:hidden}.controller-mystery-surface{border-radius:inherit;color:#1c1200;width:100%;height:100%;box-shadow:0 calc(var(--controller-card-size) * .11) calc(var(--controller-card-size) * .2) #f5b3014d;background:linear-gradient(145deg,#f5b301,#e3a100);place-items:center;display:grid}.controller-mystery-symbol{font-size:calc(var(--controller-card-size) * .32);color:#fff;transform:translateY(calc(var(--controller-card-size) * -.01));font-weight:800;line-height:1}.controller-hand-empty{color:var(--muted);background:#0c121e99;border:1px dashed #f4f2ed59;border-radius:18px;padding:18px 20px;font-weight:600}.controller-hand-placeholder{width:clamp(108px,38vw,160px);height:clamp(108px,38vw,160px)}.controller-helper{text-align:center;color:var(--muted);font-size:.9rem}.controller-actions{min-height:84px;padding-bottom:calc(var(--controller-action-pad) + env(safe-area-inset-bottom));flex:none;place-items:center;gap:12px;margin:0;display:grid}.controller-reveal{color:#fff;cursor:pointer;background:#16a34a;border:none;border-radius:999px;width:min(280px,86%);padding:14px 18px;font-size:1.15rem;font-weight:700;transition:transform .15s,box-shadow .15s}.controller-reveal:active{transform:scale(.98)}.controller-reveal:disabled{opacity:.6;cursor:not-allowed}.controller-reveal-result{border:1px solid var(--border);text-align:center;color:var(--text);background:#0c121ebf;border-radius:14px;padding:12px 14px;font-size:.9rem}.controller-reveal-result.good{color:var(--success);background:#16a34a1f;border-color:#16a34a52}.controller-reveal-result.bad{color:var(--danger);background:#f43f5e1f;border-color:#f43f5e52}@keyframes controller-placement-settle{0%{transform:scale(.98);box-shadow:0 6px 12px #070a1024}to{transform:scale(1);box-shadow:0 12px 24px #070a1033}}@keyframes controller-reveal-flip{0%{transform:rotateY(180deg)}to{transform:rotateY(0)}}@keyframes controller-hand-card-enter{0%{opacity:0;transform:translateY(18px)scale(.9);box-shadow:0 8px 16px #070a1024}72%{opacity:1;transform:translateY(-2px)scale(1.02)}to{opacity:1;transform:translateY(0)scale(1);box-shadow:0 12px 24px #070a1033}}@keyframes controller-status-enter{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes controller-reveal-exit{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-24px)}}@keyframes controller-reveal-exit-reduced{0%{opacity:1}to{opacity:0}}@media (min-width:720px){.controller-card{width:clamp(84px,12vw,120px);height:clamp(84px,12vw,120px)}}.host-timer{width:calc(100% + (var(--host-pad-x) * 2));margin-inline:calc(var(--host-pad-x) * -1)}.host-active-turn-rail{--timeline-card-size:var(--host-rail-card-size);left:0;right:0;bottom:calc(var(--host-rail-bottom-gap) + env(safe-area-inset-bottom));min-height:var(--host-rail-card-size);z-index:4;justify-content:center;align-items:center;padding:0;display:flex;position:absolute}.host-active-turn-rail-timer{justify-content:center;align-items:center;width:100%;min-width:0;display:flex}.host-active-turn-rail-timer .host-timer-track{width:100%}.host-active-turn-rail-card{z-index:2;pointer-events:none;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.host-active-turn-rail-card .timeline-card{width:var(--host-rail-card-size)}.host-active-turn-rail-card .timeline-card-face.back{background:linear-gradient(145deg,#f5b301,#c58c00);border-color:#ffffff3d}.host-timer-track{width:100%;height:calc(48px * var(--host-scale));border-radius:calc(12px * var(--host-scale));background:#ffffff14;position:relative;overflow:hidden;box-shadow:inset 0 1px 3px #0000004d}.host-timer-track--critical-pulse:after{content:"";pointer-events:none;background:linear-gradient(90deg,#0000 0%,#f5b30124 18%,#f5b301d1 48%,#ffdd8c70 62%,#0000 100%);width:34%;animation:1.35s linear infinite host-timer-critical-blip;position:absolute;inset:0 auto 0 0;transform:translate(-150%)}.host-timer-track.turn-reset:before{content:"";pointer-events:none;background:linear-gradient(90deg,#0000 0%,#ffffff3d 36%,#ffffff85 50%,#ffffff3d 64%,#0000 100%);animation:.42s cubic-bezier(.22,.61,.36,1) forwards host-turn-reset-sweep;position:absolute;inset:0;transform:translate(-120%)}.host-timer-fill{background:linear-gradient(90deg, var(--primary), var(--primary-dark));border-radius:0;height:100%;transition:width .15s linear;position:relative;overflow:hidden}.host-timer-fill:after{content:"";background:linear-gradient(90deg,#0000,#ffffff38,#0000);width:50%;height:100%;animation:2.2s ease-in-out infinite timer-shimmer;position:absolute;top:0;left:-60%}@keyframes timer-shimmer{0%{left:-60%}to{left:120%}}@keyframes host-turn-reset-sweep{0%{transform:translate(-120%)}to{transform:translate(120%)}}@keyframes host-timer-critical-blip{0%{transform:translate(-150%)}to{transform:translate(440%)}}@media (prefers-reduced-motion:reduce){.controller-card-reveal-flip{animation:.11s cubic-bezier(.22,.61,.36,1) controller-placement-settle}.controller-hand-card.entering,.controller-status.entering{animation-duration:.12s;animation-timing-function:ease}.controller-card.revealed.exiting{animation:.12s forwards controller-reveal-exit-reduced}.controller-card.settling,.controller-hand-card.settling{animation-duration:.1s}.host-turn-name,.host-game.turn-handoff-active .timeline-stage,.host-game.winning-reveal-active .timeline-stage,.host-game.winning-reveal-active .timeline-card.current .timeline-card-animator,.host-game.winning-reveal-active .timeline-card.reveal-good.current .timeline-card-face.front,.host-game.winning-reveal-active .timeline-track-wrapper:after,.end-game-recap-shell,.end-game-recap-footer{transition:none;animation:none}.host-turn-handoff-overlay{display:none}.host-timer-track.turn-reset:before{opacity:0;animation:none}.host-timer-track--critical-pulse:after{opacity:.35;animation:none;transform:translate(96%)}.timeline-card-record-spinner{transform:rotate(0)!important}}.host-audio{flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;display:flex}.hide-scroll::-webkit-scrollbar{display:none}.hide-scroll{-ms-overflow-style:none;scrollbar-width:none}.host-lobby-screen{--host-canvas-width:var(--host-stage-width);--host-canvas-height:var(--host-stage-height);width:var(--host-canvas-width);height:var(--host-canvas-height);color:#f5f6fb;background:radial-gradient(120% 120% at 16% -8%,#1e2a56 0%,#0000 52%),radial-gradient(100% 90% at 86% 0,#ff86402e,#0000 58%),linear-gradient(160deg,#070a2b 0%,#060a2a 52%,#050726 100%);position:relative;overflow:hidden}.host-lobby-fullscreen{top:calc(52px * var(--host-scale));right:calc(64px * var(--host-scale));z-index:4;width:calc(40px * var(--host-scale));height:calc(40px * var(--host-scale));color:#fff;cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;padding:0;transition:transform .14s,opacity .14s;display:inline-flex;position:absolute}.host-lobby-fullscreen:hover:not(:disabled){opacity:.82;transform:translateY(-1px)}.host-lobby-fullscreen:disabled{opacity:.45;cursor:not-allowed}.host-lobby-fullscreen svg{width:calc(30px * var(--host-scale));height:calc(30px * var(--host-scale));fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.host-lobby-toast{top:calc(26px * var(--host-scale));z-index:5;width:min(calc(620px * var(--host-scale)), calc(100% - calc(220px * var(--host-scale))));min-height:calc(68px * var(--host-scale));padding:calc(12px * var(--host-scale)) calc(14px * var(--host-scale));border-radius:calc(18px * var(--host-scale));-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:0 calc(12px * var(--host-scale)) calc(34px * var(--host-scale)) #04071852;justify-content:space-between;align-items:center;gap:calc(18px * var(--host-scale));background:#080e2ed1;border:1px solid #fff3;display:flex;position:absolute;left:50%;transform:translate(-50%)}.host-lobby-toast-copy{gap:calc(3px * var(--host-scale));min-width:0;display:grid}.host-lobby-toast-title{font-size:calc(17px * var(--host-scale));color:#fff;font-weight:700;line-height:1.1}.host-lobby-toast-text{font-size:calc(14px * var(--host-scale));color:#e7edffcc;line-height:1.25}.host-lobby-toast-actions{align-items:center;gap:calc(10px * var(--host-scale));flex-shrink:0;display:inline-flex}.host-lobby-toast-button{appearance:none;border-radius:calc(999px * var(--host-scale));color:#fff;padding:calc(10px * var(--host-scale)) calc(16px * var(--host-scale));font-size:calc(14px * var(--host-scale));cursor:pointer;background:#ffffff1f;border:0;font-weight:700;line-height:1;transition:background .14s,transform .14s}.host-lobby-toast-button:hover{background:#ffffff2e;transform:translateY(-1px)}.host-lobby-toast-dismiss{appearance:none;color:#ebf0ffd1;width:calc(30px * var(--host-scale));height:calc(30px * var(--host-scale));cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;padding:0;transition:color .14s,opacity .14s;display:inline-flex}.host-lobby-toast-dismiss:hover{color:#fff;opacity:1}.host-lobby-toast-dismiss svg{width:calc(18px * var(--host-scale));height:calc(18px * var(--host-scale));stroke:currentColor}.host-lobby-shell{z-index:1;grid-template-columns:minmax(calc(520px * var(--host-scale)), 58%) minmax(calc(420px * var(--host-scale)), 42%);width:100%;height:100%;display:grid;position:relative}.host-lobby-left{padding:calc(52px * var(--host-scale)) calc(64px * var(--host-scale)) calc(52px * var(--host-scale));gap:calc(20px * var(--host-scale));flex-direction:column;min-height:0;display:flex}.host-lobby-heading{margin:calc(44px * var(--host-scale)) 0 0;font-size:calc(64px * var(--host-scale));letter-spacing:-.03em;font-weight:700;line-height:.94}.host-lobby-player-panel{margin-top:calc(16px * var(--host-scale));max-width:calc(920px * var(--host-scale));padding:calc(18px * var(--host-scale)) calc(18px * var(--host-scale)) calc(20px * var(--host-scale));border-radius:calc(12px * var(--host-scale));background:#070d2a94;border:1px solid #e6eeff3d;box-shadow:inset 0 1px #ffffff14,0 10px 28px #06091d3d}.host-lobby-player-panel-header{margin-bottom:calc(12px * var(--host-scale));justify-content:flex-start;align-items:baseline;display:flex}.host-lobby-player-label{font-size:calc(13px * var(--host-scale));letter-spacing:.2em;color:#d1dcffb8;font-weight:700}.host-lobby-player-grid{gap:calc(12px * var(--host-scale));grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:calc(56px * var(--host-scale));min-height:calc(192px * var(--host-scale));display:grid}.host-lobby-player-pill{appearance:none;width:100%;height:calc(56px * var(--host-scale));padding:0 calc(90px * var(--host-scale)) 0 calc(34px * var(--host-scale));border-radius:calc(12px * var(--host-scale));-webkit-backdrop-filter:blur(calc(12px * var(--host-scale)));backdrop-filter:blur(calc(12px * var(--host-scale)));color:#f6fafffa;font-size:calc(16px * var(--host-scale));letter-spacing:.015em;text-align:left;cursor:pointer;white-space:nowrap;text-overflow:ellipsis;background:#121d4fb8;border:1px solid #c9daff57;align-items:center;font-family:inherit;font-weight:650;transition:background .14s,border-color .14s,box-shadow .14s,transform .14s;animation:.4s cubic-bezier(.175,.885,.32,1.275) forwards popIn;display:flex;position:relative;overflow:hidden;box-shadow:0 3px 10px #00000024}.host-lobby-player-pill:before{content:"";left:calc(12px * var(--host-scale));width:calc(10px * var(--host-scale));height:calc(10px * var(--host-scale));background:#79e59f;border-radius:999px;position:absolute;box-shadow:0 0 0 2px #79e59f33}.host-lobby-player-pill:after{content:"Remove";right:calc(12px * var(--host-scale));font-size:calc(12px * var(--host-scale));letter-spacing:.09em;text-transform:uppercase;color:#ffbbbbeb;opacity:0;transform:translateX(calc(6px * var(--host-scale)));font-weight:700;transition:opacity .14s,transform .14s;position:absolute}.host-lobby-player-pill:focus-visible{outline-offset:calc(2px * var(--host-scale));outline:2px solid #faac}@media (hover:hover) and (pointer:fine){.host-lobby-player-pill:hover:not(:disabled){background:#3c121ec7;border-color:#ffa6a69e;box-shadow:0 8px 18px #23000059}.host-lobby-player-pill:hover:not(:disabled):after{opacity:1;transform:translate(0)}}@keyframes popIn{0%{opacity:0;transform:scale(.8)translateY(10px)}to{opacity:1;transform:scale(1)translateY(0)}}.host-lobby-player-pill.disconnected{color:#d6dcf0bd;background:#21243e9e;border-color:#b9c2e238}.host-lobby-player-pill.disconnected:before{box-shadow:none;background:#8d97b8}.host-lobby-player-pill.disconnected:after{color:#e4b8b8b8}.host-lobby-player-pill:disabled{cursor:default}.host-lobby-player-pill.is-kicking{opacity:.72}.host-lobby-action-row{align-items:center;gap:calc(12px * var(--host-scale));margin-top:calc(12px * var(--host-scale));margin-bottom:calc(22px * var(--host-scale));flex-wrap:wrap;display:flex}.host-lobby-divider{border-bottom:2px solid #eff3ff5c;width:100%}.host-lobby-footer{width:min(calc(860px * var(--host-scale)), 100%);gap:calc(16px * var(--host-scale));align-content:end;margin-top:auto;display:grid}.host-lobby-copy{font-size:calc(23px * var(--host-scale));color:#ecf1ffe0;letter-spacing:0;margin:0;line-height:1.3}.host-lobby-copy.strong{font-weight:700}.host-lobby-copy-group{gap:calc(8px * var(--host-scale));display:grid}.host-lobby-copy-lead{white-space:normal}.host-lobby-copy-sub{font-size:calc(18px * var(--host-scale));color:#e0e7ffb8;line-height:1.35}.host-lobby-messages{gap:calc(10px * var(--host-scale));margin-top:calc(6px * var(--host-scale));display:grid}.host-lobby-status{min-height:calc(40px * var(--host-scale));border-radius:calc(10px * var(--host-scale));padding:calc(10px * var(--host-scale)) calc(12px * var(--host-scale));font-size:calc(15px * var(--host-scale));color:#e6ecffe0;background:#050c2c73;border:1px solid #ffffff24;align-items:center;display:flex}.host-lobby-status.error{color:#ffd0d0;border-color:#ff73736b}.host-lobby-right{padding:calc(52px * var(--host-scale)) calc(52px * var(--host-scale)) calc(48px * var(--host-scale)) calc(24px * var(--host-scale));place-items:center;display:grid;position:relative}.host-lobby-gradient{filter:saturate(1.12);background:radial-gradient(58% 62% at 26% 18%,#9b5de5e0 0%,#3c66e0cc 46%,#0000 78%),radial-gradient(72% 76% at 80% 22%,#3c66e0d6 0%,#9b5de5bd 52%,#0000 84%),radial-gradient(78% 90% at 46% 96%,#e55050eb 0%,#d79a1ddb 58%,#0000 92%),linear-gradient(150deg,#3c66e0eb 0%,#9b5de5e6 34%,#e55050d6 66%,#d79a1de6 100%);border-radius:42% 58% 34% 66%/46% 37% 63% 54%;height:92%;animation:15s ease-in-out infinite alternate hostLobbyGradientAnim;position:absolute;inset:auto -12% -28% -8%;box-shadow:inset -28px -28px 56px #15164038}@keyframes hostLobbyGradientAnim{0%{border-radius:42% 58% 34% 66%/46% 37% 63% 54%;transform:rotate(0)scale(1)}33%{border-radius:54% 46% 62% 38%/51% 54% 46% 49%}66%{border-radius:38% 62% 45% 55%/37% 48% 52% 63%}to{border-radius:48% 52% 56% 44%/58% 42%;transform:rotate(8deg)scale(1.05)}}.host-lobby-qr-block{z-index:1;width:min(calc(620px * var(--host-scale)), 100%);justify-items:center;gap:calc(14px * var(--host-scale));text-align:center;display:grid;position:relative}.host-lobby-qr-frame{width:calc(500px * var(--host-scale));aspect-ratio:1;padding:calc(16px * var(--host-scale));border-radius:calc(28px * var(--host-scale));background:#fff;place-items:center;display:grid;overflow:hidden;box-shadow:0 18px 40px #0d0e1e52}.host-lobby-qr-frame img{object-fit:contain;border-radius:calc(18px * var(--host-scale));width:100%;height:100%}.host-lobby-qr-loading{border-radius:calc(18px * var(--host-scale));color:#2b334b;background:linear-gradient(145deg,#f2f6fff2,#e4e9f7f2);place-items:center;width:100%;height:100%;font-weight:600;display:grid}.host-lobby-qr-label{margin-top:calc(4px * var(--host-scale));font-size:calc(32px * var(--host-scale));color:#fff;font-weight:600}.host-lobby-qr-domain{font-size:calc(51px * var(--host-scale));letter-spacing:-.02em;color:#fff;font-weight:800;line-height:.98}.host-lobby-qr-room{font-size:calc(67px * var(--host-scale));letter-spacing:.04em;color:#fff;text-shadow:0 0 16px #fff6;font-weight:800;line-height:1}@media (max-width:640px){main{padding:24px 16px}:is(main:has(.host-stage-shell),main:has(.host-game),main:has(.host-lobby-screen)){align-items:flex-start!important;padding:0!important}.card{padding:18px}:is(.host-stage-shell:has(.host-overlay-shell),.host-stage-shell:has(.host-preview-gate-overlay),.host-stage-shell:has(.game-pause-overlay),.host-overlay-shell,.game-pause-overlay,.host-preview-gate-overlay){background:var(--bg);animation:none}}
