:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--primary-purple:#6b46ff;--electric-cyan:#00bfd8;--gift-yellow:#ffb000;--party-pink:#ff4f8b;--deep-ink:#24133a;--night:#120d1f;--panel-dark:#1d1730;--mist:#eef9fb;--surface:#ffffffeb;--surface-solid:#fff;--text:#24133a;--muted:#24133a9e;--line:#24133a17;--shadow:0 18px 42px #24133a17;--radius-card:28px;--radius-button:18px;--page-max:1180px;--safe-bottom:env(safe-area-inset-bottom,0px);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Arial,sans-serif}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--surface:#1d1730e6;--surface-solid:#1d1730;--text:#f8f6ff;--muted:#f8f6ffa8;--line:#ffffff1c;--mist:#120d1f;--shadow:0 18px 42px #00000038}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{background:radial-gradient(circle at 20% 0%, #00bfd838, transparent 34%), radial-gradient(circle at 88% 14%, #6b46ff2e, transparent 32%), linear-gradient(180deg, var(--mist), #fff 46%, #f9f2ff 100%);color:var(--text);overflow-x:hidden}:root[data-theme=dark] body{background:radial-gradient(circle at 20% 0,#00bfd82e,#0000 34%),radial-gradient(circle at 88% 14%,#6b46ff3d,#0000 32%),linear-gradient(#120d1f,#191126 52%,#0e0b18 100%)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled,input:disabled,select:disabled{cursor:not-allowed;opacity:.62}a{color:inherit}:focus-visible{outline-offset:3px;outline:3px solid #00bfd880}.app-shell{min-height:100dvh;display:flex}.app-main-shell{flex-direction:column;width:100%;min-width:0;display:flex}.content{width:min(var(--page-max), calc(100% - 32px));padding:18px 0 calc(100px + var(--safe-bottom));margin:0 auto}.topbar{z-index:20;width:min(var(--page-max), calc(100% - 24px));min-height:calc(68px + env(safe-area-inset-top,0px));padding:calc(10px + env(safe-area-inset-top,0px)) 4px 10px;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);justify-content:space-between;align-items:center;gap:12px;margin:0 auto;display:flex;position:sticky;top:0}.brand-button{min-width:0;color:var(--text);text-align:left;background:0 0;border:0;align-items:center;gap:10px;padding:4px;display:inline-flex}.brand-button img{object-fit:contain;filter:drop-shadow(0 10px 16px #24133a29);width:44px;height:44px}.brand-button span{gap:2px;min-width:0;display:grid}.brand-button strong{text-overflow:ellipsis;white-space:nowrap;max-width:44vw;font-size:17px;line-height:1.05;overflow:hidden}.brand-button small{color:var(--muted);font-size:12px}.topbar-right,.inline-actions,.header-actions,.hero-actions{align-items:center;gap:10px;display:flex}.wrap{flex-wrap:wrap}.icon,.heading-icon{flex:none;width:18px;height:18px}.heading-icon{color:var(--primary-purple)}.mini-icon{width:16px;height:16px}.spin{animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.icon-button{border:1px solid var(--line);background:var(--surface);width:44px;height:44px;color:var(--text);border-radius:999px;place-items:center;display:inline-grid;box-shadow:0 8px 22px #24133a0f}.button{border-radius:var(--radius-button);min-height:44px;color:var(--text);border:0;justify-content:center;align-items:center;gap:8px;padding:0 16px;font-weight:800;transition:transform .16s,box-shadow .16s,border-color .16s;display:inline-flex}.button:hover:not(:disabled){transform:translateY(-1px)}.button-sm{border-radius:14px;min-height:38px;padding:0 12px;font-size:14px}.button-lg{min-height:56px;padding:0 20px;font-size:16px}.button-primary{color:#fff;background:linear-gradient(135deg, var(--primary-purple), var(--electric-cyan));box-shadow:0 16px 34px #6b46ff3d}.button-secondary{color:var(--deep-ink);background:linear-gradient(135deg,#fff,#ebf9ff);border:1px solid #00bfd838;box-shadow:0 12px 26px #00bfd81a}:root[data-theme=dark] .button-secondary{color:#f8f6ff;background:#ffffff14}.button-ghost{border:1px solid var(--line);color:var(--text);background:#ffffff6b}:root[data-theme=dark] .button-ghost{background:#ffffff0f}.button-danger{color:#fff;background:linear-gradient(135deg,#e33c68,#ff4f8b)}.button-success{color:#fff;background:linear-gradient(135deg,#08b585,#00bfd8);box-shadow:0 18px 38px #08b58538}.card{border:1px solid var(--line);border-radius:var(--radius-card);background:var(--surface);box-shadow:var(--shadow);padding:22px;position:relative;overflow:hidden}.card-heading,.section-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;display:flex}.card-heading h2,.card-heading h3,.section-header h1,.section-header p{margin:0}.card-heading h2,.section-header h1{letter-spacing:-.04em}.section-header{align-items:center}.section-header h1{margin-top:10px;font-size:clamp(30px,5vw,54px);line-height:1.02}.section-header p,.muted{color:var(--muted);line-height:1.5}.view-stack{gap:18px;display:grid}.view-stack.narrow{max-width:820px;margin:0 auto}.create-form,.join-sheet-body,.players-grid,.tab-panel,.rooms-list,.summary-card,.history-card{gap:14px;display:grid}.players-grid{grid-template-columns:1fr;align-items:start}.tab-panel{min-width:0}.rooms-list{gap:10px}.dashboard-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;display:grid}.dashboard-grid>.card:last-child{grid-column:1/-1}.gradient-hero,.quick-play-card,.final-card,.splash-screen{background:radial-gradient(circle at 82% 12%,#ffb0003d,#0000 36%),radial-gradient(circle at 18% 18%,#00bfd833,#0000 32%),linear-gradient(135deg,#fffffff5,#f8f4ffe6);grid-template-columns:minmax(0,1.16fr) minmax(240px,.84fr);align-items:center;gap:22px;min-height:360px;display:grid}:root[data-theme=dark] .gradient-hero,:root[data-theme=dark] .quick-play-card,:root[data-theme=dark] .final-card,:root[data-theme=dark] .splash-screen{background:radial-gradient(circle at 82% 12%,#ffb0002e,#0000 36%),radial-gradient(circle at 18% 18%,#00bfd829,#0000 32%),linear-gradient(135deg,#1d1730fa,#130d1feb)}.hero-copy h1,.quick-play-card h1,.final-card h1,.splash-screen h1,.error-card h1{letter-spacing:-.06em;margin:14px 0 12px;font-size:clamp(34px,6.5vw,68px);line-height:.98}.hero-copy p,.quick-play-card p,.final-card p{max-width:580px;color:var(--muted);font-size:17px;line-height:1.48}.hero-logo{filter:drop-shadow(0 22px 36px #24133a2e);justify-self:center;width:min(100%,360px)}.current-room-banner{justify-content:space-between;align-items:center;gap:18px;display:flex}.current-room-banner h2{margin:10px 0 4px}.chip{border:1px solid var(--line);min-height:30px;color:var(--muted);white-space:nowrap;background:#ffffff8f;border-radius:999px;align-items:center;gap:6px;padding:0 10px;font-size:13px;font-weight:800;display:inline-flex}.chip-icon{width:15px;height:15px}.chip-purple{color:var(--primary-purple);background:#6b46ff1f}.chip-cyan,.chip-live{color:#00899a;background:#00bfd81f}.chip-yellow,.chip-warn{color:#a06100;background:#ffb00024}.chip-danger{color:#c3295b;background:#ff4f8b1f}.realtime{border:1px solid var(--line);background:var(--surface);min-height:34px;color:var(--muted);border-radius:999px;align-items:center;gap:8px;padding:0 10px;font-size:12px;font-weight:800;display:inline-flex}.realtime i{background:var(--muted);border-radius:999px;width:8px;height:8px}.realtime-live i{background:var(--electric-cyan);box-shadow:0 0 0 4px #00bfd81f}.realtime-stale i,.realtime-reconnecting i,.realtime-offline i{background:var(--party-pink)}.realtime-syncing i,.realtime-connecting i{background:var(--gift-yellow)}.field{color:var(--text);gap:8px;display:grid}.field>span,.settings-group h3{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-size:13px;font-weight:800}.settings-group{gap:12px;display:grid}.settings-group h3{margin:0}input,select,textarea{border:1px solid var(--line);width:100%;min-height:46px;color:var(--text);background:#ffffffbd;border-radius:16px;padding:0 14px}:root[data-theme=dark] input,:root[data-theme=dark] select,:root[data-theme=dark] textarea{background:#ffffff0f}.field-error{color:#c3295b;font-size:13px;font-weight:700}.join-row{grid-template-columns:1fr auto;gap:10px;display:grid}.step-list,.rules-grid,.settings-grid-form,.teams-grid,.difficulty-grid,.packs-list{gap:12px;display:grid}.step-list{grid-template-columns:repeat(3,minmax(0,1fr))}.step-item,.rule-card,.team-card,.room-list-card,.room-card,.choice-card,.pack-card,.hint-box,.empty-state,.history-row,.summary-word-row,.share-card,.settings-group,.sidebar-hint{border:1px solid var(--line);background:#ffffff80;border-radius:22px;padding:16px}:root[data-theme=dark] .step-item,:root[data-theme=dark] .rule-card,:root[data-theme=dark] .team-card,:root[data-theme=dark] .room-list-card,:root[data-theme=dark] .room-card,:root[data-theme=dark] .choice-card,:root[data-theme=dark] .pack-card,:root[data-theme=dark] .hint-box,:root[data-theme=dark] .empty-state,:root[data-theme=dark] .history-row,:root[data-theme=dark] .summary-word-row,:root[data-theme=dark] .share-card,:root[data-theme=dark] .settings-group,:root[data-theme=dark] .sidebar-hint{background:#ffffff0f}.step-item span{width:44px;height:44px;color:var(--primary-purple);background:linear-gradient(135deg,#6b46ff26,#00bfd81f);border-radius:16px;place-items:center;margin-bottom:12px;display:grid}.step-item p,.rule-card p,.empty-state p{color:var(--muted);line-height:1.45}.rules-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.rules-grid.compact,.rules-grid.compact-rules{grid-template-columns:1fr}.room-layout,.game-layout{grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:18px;display:grid}.room-hero{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.room-hero h1{letter-spacing:-.05em;margin:12px 0 8px;font-size:clamp(28px,5vw,48px);line-height:1.02}.room-code-row{flex-wrap:wrap;gap:10px;margin-top:14px;display:flex}.room-code-row button{border:1px solid var(--line);min-height:40px;color:var(--text);background:#ffffff80;border-radius:14px;align-items:center;gap:8px;padding:0 12px;font-weight:900;display:inline-flex}.room-hero-card{gap:14px;display:grid}.room-hero-card h1{letter-spacing:-.05em;margin:12px 0 8px;font-size:clamp(28px,5vw,48px);line-height:1.02}.room-hero-card p{color:var(--muted);margin:0;line-height:1.45}.room-hero-card .hint-box{margin:0}.compact-actions{flex-wrap:wrap;justify-content:flex-end;display:flex}.room-card{justify-content:space-between;align-items:center;gap:12px;min-height:64px;display:flex}.room-card>div{gap:4px;min-width:0;display:grid}.room-card strong,.room-card span{text-overflow:ellipsis;overflow:hidden}.room-card span{color:var(--muted);font-size:14px;line-height:1.35}.empty-actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.hero-cta-stack{gap:10px;min-width:190px;display:grid}.segmented{background:#24133a0f;border-radius:20px;gap:6px;margin-bottom:16px;padding:6px;display:flex;overflow-x:auto}.segmented button{min-height:42px;color:var(--muted);white-space:nowrap;background:0 0;border:0;border-radius:16px;padding:0 14px;font-weight:800}.segmented button.active{background:var(--surface-solid);color:var(--primary-purple);box-shadow:0 10px 20px #24133a14}.teams-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.team-card.active{border-color:#00bfd873;box-shadow:0 0 0 4px #00bfd814}.team-card{gap:12px;display:grid}.team-card .player-row{margin-top:0}.team-head,.player-row,.room-list-card,.summary-word-row,.profile-head{align-items:center;gap:12px;display:flex}.team-head,.room-list-card,.summary-word-row{justify-content:space-between}.player-row{border-top:1px solid var(--line);min-height:58px;margin-top:12px;padding-top:12px}.player-row>div:nth-child(2){flex:1;gap:2px;min-width:0;display:grid}.player-row span,.room-list-card span,.history-row p,.summary-card p{color:var(--muted);font-size:14px}.avatar{object-fit:cover;background:linear-gradient(135deg, var(--primary-purple), var(--electric-cyan));color:#fff;border-radius:999px;flex:none;place-items:center;font-weight:900;display:inline-grid}.avatar-sm{width:40px;height:40px;font-size:13px}.avatar-md{width:48px;height:48px}.avatar-lg{width:72px;height:72px}.avatar-xl{width:96px;height:96px;font-size:28px}.player-badges{color:var(--primary-purple);gap:4px;display:flex}.ready{color:#08b585}.crown{color:var(--gift-yellow)}.settings-stack,.tab-stack,.sheet-form{gap:14px;display:grid}.settings-grid-form{grid-template-columns:repeat(2,minmax(0,1fr))}.number-field>div{align-items:center;gap:8px;display:flex}.number-field input{min-width:0}.number-field small,.number-field em{color:var(--muted);font-size:13px}.switch-row{min-height:46px;color:var(--text);align-items:center;gap:12px;display:flex}.switch-row input,.choice-card input,.pack-card input,.mini-packs input{width:18px;height:18px;min-height:18px;accent-color:var(--primary-purple)}.choice-card,.pack-card{cursor:pointer;align-items:flex-start;gap:12px;display:flex}.choice-card.selected,.pack-card.selected,.mini-packs label.selected{border-color:#6b46ff6b;box-shadow:0 0 0 4px #6b46ff14}.choice-card span,.pack-card small{color:var(--muted);margin-top:3px;line-height:1.35;display:block}.packs-list{grid-template-columns:repeat(2,minmax(0,1fr))}.mini-packs{flex-wrap:wrap;gap:8px;display:flex}.mini-packs label{border:1px solid var(--line);border-radius:999px;align-items:center;gap:8px;min-height:38px;padding:0 12px;display:inline-flex}.advanced-settings{border:1px solid var(--line);border-radius:20px;padding:14px}.advanced-settings[open]{gap:12px;display:grid}.advanced-settings summary{cursor:pointer;font-weight:900}.sticky-actions{bottom:calc(88px + var(--safe-bottom));z-index:5;border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);border-radius:22px;gap:10px;padding:10px;display:flex;position:sticky}.hint-box.success{color:#087f61;border-color:#08b58547}.hint-box.warn{color:#a06100;border-color:#ffb00047}.hint-box ul{margin:8px 0 0 18px;padding:0}.share-card{gap:12px;display:grid}.invite-code{background:linear-gradient(135deg, var(--primary-purple), var(--party-pink));color:#fff;letter-spacing:.08em;border-radius:24px;width:fit-content;padding:14px 18px;font-size:34px;font-weight:950;line-height:1}.right-panel{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);border-radius:28px;gap:14px;padding:18px;display:grid;position:sticky;top:92px}.side-score{background:linear-gradient(135deg,#6b46ff1f,#00bfd81a);border-radius:22px;padding:18px;font-size:22px;font-weight:950}.side-teams{gap:10px;display:grid}.side-teams div{border-top:1px solid var(--line);gap:3px;padding-top:10px;display:grid}.side-teams span{color:var(--muted);font-size:14px}.game-stage{border:1px solid var(--line);background:radial-gradient(circle at 50% 0%, #ffb0002e, transparent 30%), radial-gradient(circle at 0% 60%, #00bfd82b, transparent 34%), linear-gradient(180deg, var(--night), #211336);color:#fff;text-align:center;border-radius:34px;align-content:center;justify-items:center;gap:18px;min-height:calc(100dvh - 136px);padding:24px;display:grid;position:relative;overflow:hidden;box-shadow:0 24px 54px #120d1f47}.stage-rays{opacity:.7;background:conic-gradient(from 90deg,#0000,#ffffff14,#0000,#00bfd81a,#0000);animation:28s linear infinite slow-spin;position:absolute;inset:-30%}@keyframes slow-spin{to{transform:rotate(1turn)}}.game-stage>:not(.stage-rays){z-index:1;position:relative}.game-topline{color:#ffffffbd;justify-content:space-between;align-items:center;gap:12px;width:min(100%,760px);display:flex}.timer-ring{--progress:1;aspect-ratio:1;background:#ffffff0f;border-radius:999px;place-items:center;width:clamp(128px,28vw,190px);display:grid;box-shadow:inset 0 0 0 12px #ffffff0f,0 20px 46px #00000047}.timer-ring span{font-size:clamp(48px,9vw,82px);font-weight:950;line-height:.9}.timer-ring small{color:#ffffffad;margin-top:62px;position:absolute}.word-card h1,.round-ready h1{letter-spacing:-.07em;text-wrap:balance;margin:0;font-size:clamp(52px,12vw,128px);line-height:.95}.word-card p,.round-ready p,.game-score-line{color:#ffffffb8;font-size:17px;line-height:1.45}.game-actions{grid-template-columns:1fr 1fr;gap:12px;width:min(100%,680px);display:grid}.game-button{min-height:72px;font-size:20px}.game-secondary-actions{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.summary-card h1,.final-card h1{letter-spacing:-.05em;margin:12px 0 8px;font-size:clamp(32px,6vw,62px)}.summary-list,.history-list{gap:10px;margin:16px 0;display:grid}.summary-card .summary-list,.history-card .history-list,.summary-card>h1,.summary-card>p,.history-card>h2{margin:0}.history-list>div{border:1px solid var(--line);background:#ffffff73;border-radius:18px;justify-content:space-between;align-items:center;gap:12px;min-height:52px;padding:12px 14px;display:flex}:root[data-theme=dark] .history-list>div{background:#ffffff0f}.history-list>div span{color:var(--muted);font-size:14px}.summary-word-row select{max-width:180px}.history-row summary{cursor:pointer;justify-content:space-between;align-items:center;gap:10px;font-weight:900;display:flex}.word-log-inline{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.final-card{text-align:center;grid-template-columns:1fr;justify-items:center;overflow:hidden}.final-icon{width:72px;height:72px;color:var(--gift-yellow);filter:drop-shadow(0 16px 24px #ffb00047)}.confetti-layer{opacity:.42;background-image:radial-gradient(circle,#ffb000 0 5px,#0000 6px),radial-gradient(circle,#00bfd8 0 4px,#0000 5px),radial-gradient(circle,#ff4f8b 0 4px,#0000 5px),radial-gradient(circle,#6b46ff 0 5px,#0000 6px);background-position:10% 20%,80% 12%,22% 86%,86% 70%;background-size:120px 120px,140px 140px,160px 160px,180px 180px;animation:6s ease-in-out infinite alternate float-confetti;position:absolute;inset:0}@keyframes float-confetti{to{transform:translateY(10px)}}.profile-card{gap:16px;display:grid}.file-field{color:var(--text);gap:8px;display:grid}.file-field>span{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-size:13px;font-weight:800}.file-field input{min-height:auto;padding:12px 14px}.big-code-field input{letter-spacing:.04em;font-size:18px;font-weight:800}.profile-head{align-items:center}.profile-head h1{letter-spacing:-.05em;margin:8px 0 2px;font-size:clamp(28px,5vw,48px)}.upload-zone{border:1px dashed var(--line);border-radius:22px;flex-wrap:wrap;align-items:center;gap:10px;padding:16px;display:flex}.upload-zone input{opacity:0;pointer-events:none;position:absolute}.upload-zone label{min-height:44px;color:var(--primary-purple);cursor:pointer;background:#6b46ff1f;border-radius:16px;align-items:center;gap:8px;padding:0 14px;font-weight:900;display:inline-flex}.theme-switch{flex-wrap:wrap;gap:8px;display:flex}.theme-switch button{border:1px solid var(--line);min-height:40px;color:var(--text);background:0 0;border-radius:999px;padding:0 14px;font-weight:800}.theme-switch button.active{background:var(--primary-purple);color:#fff;border-color:#0000}.bottom-nav{left:50%;bottom:max(10px, var(--safe-bottom));z-index:30;border:1px solid var(--line);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffffd1;border-radius:24px;grid-template-columns:repeat(4,1fr);gap:4px;width:min(460px,100% - 20px);min-height:66px;padding:7px;transition:transform .18s,opacity .18s;display:grid;position:fixed;transform:translate(-50%);box-shadow:0 20px 46px #24133a29}:root[data-theme=dark] .bottom-nav{background:#1d1730d6}.game-focused .bottom-nav{opacity:0;pointer-events:none;transform:translate(-50%,calc(100% + 24px))}.bottom-nav button,.sidebar-nav button,.active-room-card,.overflow-list button,.overflow-list a{color:var(--muted);background:0 0;border:0;text-decoration:none}.bottom-nav button{border-radius:18px;place-items:center;gap:2px;min-height:50px;font-size:11px;font-weight:800;display:grid}.bottom-nav button.active{color:var(--primary-purple);background:linear-gradient(135deg,#6b46ff24,#00bfd81c)}.sidebar{border-right:1px solid var(--line);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#ffffffa8;flex-direction:column;flex:0 0 292px;gap:18px;width:292px;height:100dvh;padding:22px;display:flex;position:sticky;top:0}:root[data-theme=dark] .sidebar{background:#120d1fb8}.sidebar-brand{align-items:center;gap:12px;display:flex}.sidebar-brand img{object-fit:contain;width:62px;height:62px}.sidebar-brand div{gap:3px;display:grid}.sidebar-brand span,.sidebar-hint,.active-room-card small{color:var(--muted);line-height:1.35}.sidebar-nav{gap:8px;display:grid}.sidebar-nav button,.active-room-card,.overflow-list button,.overflow-list a{text-align:left;border-radius:16px;align-items:center;gap:10px;min-height:46px;padding:0 12px;font-weight:850;display:flex}.sidebar-nav button.active,.active-room-card{color:var(--primary-purple);background:linear-gradient(135deg,#6b46ff21,#00bfd81a)}.active-room-card{border:1px solid var(--line);min-height:auto;color:var(--text);margin-top:auto;padding:16px;display:grid}.sheet-backdrop{z-index:60;background:#120d1f5c;align-items:end;padding:14px;display:grid;position:fixed;inset:0}.sheet-panel{border:1px solid var(--line);background:var(--surface-solid);border-radius:32px 32px 26px 26px;grid-template-rows:auto minmax(0,1fr) auto;width:min(760px,100%);max-height:min(88dvh,820px);margin:0 auto;display:grid;overflow:hidden;box-shadow:0 26px 80px #120d1f52}:root[data-theme=dark] .sheet-panel{background:#1d1730}.sheet-header,.sheet-footer{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:16px;display:flex}.sheet-header h2{letter-spacing:-.04em;margin:0}.sheet-body{padding:16px;overflow:auto}.sheet-footer{border-top:1px solid var(--line);padding-bottom:calc(16px + var(--safe-bottom));border-bottom:0;justify-content:flex-end}.toast{left:50%;bottom:calc(92px + var(--safe-bottom));z-index:80;border:1px solid var(--line);background:var(--surface-solid);width:min(520px,100% - 24px);color:var(--text);border-radius:18px;padding:14px 16px;font-weight:800;position:fixed;transform:translate(-50%);box-shadow:0 20px 46px #24133a33}.toast-error{border-color:#ff4f8b52}.toast-success{border-color:#00bfd852}.splash-screen{text-align:center;border-radius:34px;grid-template-columns:1fr;justify-items:center;min-height:calc(100dvh - 160px);padding:32px}.splash-screen img{filter:drop-shadow(0 24px 38px #24133a2e);width:min(260px,62vw)}.splash-screen h1{margin-bottom:0}.splash-screen p{color:var(--muted)}.error-card{text-align:center;justify-items:center;gap:12px;display:grid}.skeleton-stack{gap:12px;display:grid}.skeleton-line{background:linear-gradient(90deg,#24133a0d,#24133a1c,#24133a0d) 0 0/220% 100%;border-radius:18px;height:54px;animation:1.4s ease-in-out infinite skeleton}@keyframes skeleton{to{background-position:-220% 0}}.overflow-list{gap:8px;display:grid}.danger-text{color:#c3295b!important}@media (width>=721px){.room-hero-card{grid-template-columns:minmax(0,1fr) auto;align-items:start}.room-hero-card .hint-box{grid-column:1/-1}}@media (width>=1024px){.content{padding-bottom:48px}.topbar{width:min(100%,100% - 48px)}.sticky-actions{bottom:24px}.sheet-backdrop{align-items:center}.sheet-panel{border-radius:32px}.toast{bottom:24px}}@media (width<=1023px){.room-layout,.game-layout,.dashboard-grid,.gradient-hero,.quick-play-card{grid-template-columns:1fr}.hero-logo{width:min(260px,70vw)}.section-header,.current-room-banner,.room-hero{flex-direction:column;align-items:stretch}.hero-cta-stack,.header-actions,.header-actions .button,.hero-cta-stack .button{width:100%}.game-stage{border-radius:28px;min-height:calc(100dvh - 112px);padding:18px}}@media (width<=720px){.content{width:min(100% - 20px, var(--page-max))}.topbar{width:min(100% - 12px, var(--page-max))}.card{border-radius:24px;padding:18px}.dashboard-grid,.teams-grid,.settings-grid-form,.difficulty-grid,.packs-list,.rules-grid,.step-list{grid-template-columns:1fr}.hero-actions,.game-actions,.join-row{grid-template-columns:1fr;display:grid}.hero-actions .button,.game-actions .button,.join-row .button{width:100%}.game-topline{flex-direction:column;justify-content:center}.word-card h1,.round-ready h1{font-size:clamp(52px,16vw,78px)}.summary-word-row,.room-list-card,.room-card{flex-direction:column;align-items:stretch}.compact-actions,.room-card .button{width:100%}.summary-word-row select{max-width:none}.sheet-backdrop{padding:0}.sheet-panel{border-radius:32px 32px 0 0;max-height:92dvh}.round-summary-focused .topbar{min-height:calc(54px + env(safe-area-inset-top,0px));padding-top:calc(6px + env(safe-area-inset-top,0px));padding-bottom:6px}.round-summary-focused .brand-button img{width:34px;height:34px}.round-summary-focused .brand-button strong{max-width:50vw;font-size:15px}.round-summary-focused .brand-button small,.round-summary-focused .realtime{display:none}.round-summary-focused .icon-button{width:40px;height:40px}.round-summary-focused .content{padding-top:8px;padding-bottom:calc(24px + var(--safe-bottom))}.round-summary-focused .view-stack{gap:10px}.round-summary-focused .summary-card{border-radius:22px;gap:10px;padding:14px}.round-summary-focused .summary-card h1{margin:0;font-size:clamp(26px,7.4vw,34px);line-height:1.02}.round-summary-focused .summary-card p{font-size:13px;line-height:1.34}.round-summary-focused .summary-card .muted{display:none}.round-summary-focused .summary-list{overscroll-behavior:contain;scrollbar-width:thin;max-height:min(196px,25dvh);padding-right:3px;overflow-y:auto}.round-summary-focused .summary-word-row{border-radius:18px;flex-direction:row;align-items:center;gap:8px;min-height:0;padding:10px 12px}.round-summary-focused .summary-word-row strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.round-summary-focused .summary-word-row select{flex:none;width:142px;max-width:48%;min-height:38px;font-size:14px}.round-summary-focused .hint-box{border-radius:18px;padding:11px 12px;font-size:14px}.round-summary-focused .summary-card .inline-actions{grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);gap:8px;margin-bottom:0;padding-bottom:0;display:grid}.round-summary-focused .summary-card .inline-actions .button{white-space:nowrap;border-radius:16px;width:100%;min-height:44px;padding-inline:10px;font-size:14px;line-height:1.1}.round-summary-focused .summary-card .inline-actions .icon{width:17px;height:17px}}@media (width<=359px){.round-summary-focused .summary-card .inline-actions{grid-template-columns:1fr}.round-summary-focused .summary-card .inline-actions .button{white-space:normal}.brand-button small,.realtime{display:none}.button{padding-inline:12px}.bottom-nav{width:calc(100% - 10px)}.bottom-nav button span{font-size:10px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}}.browser-landing .browser-entry-hero{min-height:min(680px,100dvh - 180px)}.landing-grid .card{align-content:start}.ready-badge-motion{place-items:center;display:inline-grid}.settings-save-status{width:fit-content;min-height:40px;color:var(--muted);background:#00bfd814;border:1px solid #00bfd82e;border-radius:999px;align-items:center;padding:0 14px;font-size:13px;font-weight:800;display:inline-flex}.qr-like-card{aspect-ratio:1;background:linear-gradient(90deg, #24133a14 1px, transparent 1px), linear-gradient(#24133a14 1px, transparent 1px), radial-gradient(circle at 50% 30%, #ffb00029, transparent 36%), var(--surface);background-size:18px 18px,18px 18px,auto,auto;border:1px solid #6b46ff33;border-radius:28px;place-items:center;gap:4px;width:min(280px,100%);margin:0 auto 14px;display:grid;box-shadow:0 18px 42px #24133a17}.qr-like-card img{filter:drop-shadow(0 14px 22px #24133a2e);width:92px}.qr-like-card strong{letter-spacing:.12em;font-size:clamp(34px,8vw,54px)}.qr-like-card span{color:var(--muted);text-transform:uppercase;letter-spacing:.14em;font-size:12px;font-weight:900}.reconnect-overlay{z-index:4;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);color:#fff;background:#120d1fc7;border:1px solid #ffffff2e;border-radius:24px;justify-items:center;gap:8px;padding:14px;display:grid;position:absolute;inset:18px 18px auto;box-shadow:0 18px 42px #00000038}.reconnect-overlay span{color:#ffffffb8;max-width:520px;font-size:13px}.reconnect-overlay .icon{color:var(--gift-yellow)}.timer-final .timer-ring{animation:1s ease-in-out infinite timer-soft-pulse;box-shadow:inset 0 0 0 12px #ffffff17,0 0 #ffb0003d,0 20px 46px #00000047}@keyframes timer-soft-pulse{50%{transform:scale(1.025);box-shadow:inset 0 0 0 12px #ffffff1a,0 0 0 14px #ffb00014,0 20px 46px #00000047}}.global-confetti{z-index:80;pointer-events:none;opacity:.34;position:fixed;inset:0}.confetti-create,.confetti-teams,.confetti-ready,.confetti-score{animation-duration:1.2s}.confetti-score{opacity:.2}:root[data-theme=dark] .qr-like-card{background:linear-gradient(90deg, #ffffff14 1px, transparent 1px), linear-gradient(#ffffff14 1px, transparent 1px), radial-gradient(circle at 50% 30%, #ffb00029, transparent 36%), var(--surface)}@media (prefers-reduced-motion:reduce){.timer-final .timer-ring{animation:none!important}.global-confetti,.confetti-layer{display:none!important}}.desktop-page-title{gap:3px;min-width:0;display:grid}.desktop-page-title strong{text-overflow:ellipsis;white-space:nowrap;max-width:min(42vw,560px);color:var(--text);letter-spacing:-.03em;font-size:18px;line-height:1.1;overflow:hidden}.desktop-page-title small{text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:12px;line-height:1.25;overflow:hidden}.chip-purple,.bottom-nav button.active,.sidebar-nav button.active,.active-room-card,.heading-icon,.player-badges,.upload-zone label{color:#5d38e8}.chip-cyan,.chip-live{color:#006e7d;background:#00bfd824;border-color:#00899a2e}.chip-yellow,.chip-warn{color:#7a4a00;background:#ffb0002e;border-color:#a061002e}.chip-danger{color:#a61d4b;background:#ff4f8b24;border-color:#c3295b2e}.hint-box.success{color:#066b51;background:#08b58514}.hint-box.warn{color:#7a4a00;background:#ffb0001a}:root[data-theme=dark] .chip-purple,:root[data-theme=dark] .bottom-nav button.active,:root[data-theme=dark] .sidebar-nav button.active,:root[data-theme=dark] .active-room-card,:root[data-theme=dark] .heading-icon,:root[data-theme=dark] .player-badges,:root[data-theme=dark] .upload-zone label{color:#d8ceff}:root[data-theme=dark] .chip-cyan,:root[data-theme=dark] .chip-live{color:#b4f5ff;background:#00bfd82e;border-color:#7eedff3d}:root[data-theme=dark] .chip-yellow,:root[data-theme=dark] .chip-warn{color:#ffe3a3;background:#ffb0002e;border-color:#ffda8940}:root[data-theme=dark] .chip-danger{color:#ffc0d4;background:#ff4f8b2e;border-color:#ffa3c240}:root[data-theme=dark] .hint-box.success{color:#a9f4da;background:#08b5851f;border-color:#6ee8be47}:root[data-theme=dark] .hint-box.warn{color:#ffe3a3;background:#ffb0001f;border-color:#ffda8947}:root[data-theme=dark] .skeleton-line{background:linear-gradient(90deg,#ffffff0d,#ffffff21,#ffffff0d) 0 0/220% 100%}:root[data-theme=dark] .realtime{color:#f8f6ffd1;background:#ffffff12}@media (width<=1023px){.content{padding-bottom:calc(136px + var(--safe-bottom))}.summary-card .inline-actions,.final-card .hero-actions,.quick-play-card .hero-actions,.room-hero-card .hero-actions{margin-bottom:4px}}@media (width<=720px){.content{padding-bottom:calc(150px + var(--safe-bottom))}.summary-card{gap:16px}.summary-card .inline-actions{padding-bottom:8px}.sticky-actions{bottom:calc(94px + var(--safe-bottom))}}.quick-play-card{grid-template-columns:1fr;align-content:center;justify-items:start;max-width:920px;min-height:min(420px,100dvh - 180px)}.quick-play-card .chip{justify-self:start;width:auto}.quick-play-card .hero-actions{justify-content:flex-start}.difficulty-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}.choice-card{grid-template-columns:20px minmax(0,1fr);align-items:start;gap:10px 12px;min-width:0;display:grid}.choice-card input{margin-top:2px}.choice-copy{gap:4px;min-width:0;margin:0!important;display:grid!important}.choice-copy strong{line-height:1.2}.choice-copy small{color:var(--muted);overflow-wrap:anywhere;line-height:1.38}.player-row{grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:10px;display:grid}.player-main{gap:4px;min-width:0;display:grid}.player-name-line{align-items:center;gap:8px;min-width:0;display:flex}.player-name-line strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.player-role-badge{color:#7a4a00;background:#ffb0001f;border:1px solid #ffb00047;border-radius:999px;flex:none;align-items:center;gap:4px;min-height:24px;padding:0 8px;font-size:12px;font-weight:900;display:inline-flex}:root[data-theme=dark] .player-role-badge{color:#ffe3a3;background:#ffb00024;border-color:#ffda8940}.player-status{color:var(--muted);font-size:13px}.ready-text{color:#087f61;font-weight:800}:root[data-theme=dark] .ready-text{color:#a9f4da}.ready-badge-motion{background:#08b5851f;border-radius:999px;place-items:center;width:30px;height:30px;display:inline-grid}.player-team-select{width:min(220px,100%);min-height:42px}.upload-zone{min-width:0}.upload-zone small{min-width:180px;color:var(--muted);line-height:1.35}.confirm-backdrop{z-index:90;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#120d1f7a;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.confirm-panel{border:1px solid var(--line);background:var(--surface-solid);border-radius:28px;gap:18px;width:min(440px,100%);padding:20px;display:grid;box-shadow:0 28px 80px #120d1f57}:root[data-theme=dark] .confirm-panel{background:#1d1730}.confirm-panel strong{color:var(--text);letter-spacing:-.03em;font-size:20px;line-height:1.15;display:block}.confirm-panel p{color:var(--muted);margin:8px 0 0;line-height:1.48}.confirm-panel.danger{border-color:#ff4f8b52}.confirm-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}@media (width<=720px){.quick-play-card{min-height:0}.difficulty-grid{grid-template-columns:1fr}.player-row{grid-template-columns:auto minmax(0,1fr) auto}.player-team-select{grid-column:1/-1;width:100%}.confirm-actions{grid-template-columns:1fr}}.toast{pointer-events:none}.upload-zone input[type=file]{opacity:0;clip:rect(0 0 0 0);clip-path:inset(50%);border:0;width:1px;height:1px;min-height:1px;padding:0;position:absolute;overflow:hidden}@media (width>=1024px){.toast{bottom:108px}}@media (width<=1023px){.players-grid .sticky-actions,.settings-stack .sticky-actions{box-shadow:none;background:0 0;border:0;border-radius:0;grid-template-columns:1fr;gap:10px;padding:0;display:grid;position:static}.players-grid .sticky-actions .button,.settings-stack .sticky-actions .button{width:100%}.toast{top:calc(84px + env(safe-area-inset-top,0px));width:auto;bottom:auto;left:12px;right:12px;transform:none}}@media (width<=720px){.segmented{grid-template-columns:repeat(3,minmax(0,1fr));display:grid;overflow:visible}.segmented button{white-space:normal;text-align:center;min-width:0;padding:0 8px;line-height:1.15}}.sidebar-hint{grid-template-columns:22px minmax(0,1fr);align-items:start;gap:10px;line-height:1.38;display:grid}.sidebar-hint .icon{width:18px;height:18px;margin-top:2px}.public-rooms-card{align-content:start;gap:16px;display:grid}.public-rooms-card>.empty-state+.button,.public-rooms-card>.rooms-list+.button{justify-self:start}.settings-group-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.settings-group-head h3,.settings-group-head p{margin:0}.settings-group-head p{color:var(--muted);text-transform:none;letter-spacing:normal;margin-top:4px;font-size:14px;font-weight:600;line-height:1.4}.dictionary-actions{flex:none;justify-content:flex-end}.game-stage{align-content:start;gap:clamp(14px,2.2vh,22px);min-height:min(680px,100dvh - 144px);padding:clamp(24px,4.8vh,52px)}.game-topline{width:100%;max-width:900px}.round-ready,.word-card{justify-items:center;gap:14px;width:min(100%,900px);display:grid}.game-stage.phase-round_ready .round-ready{margin-top:clamp(14px,5vh,44px)}.game-stage.phase-playing .timer-ring{margin-top:clamp(8px,2vh,18px)}.word-card h1,.round-ready h1{overflow-wrap:anywhere;word-break:break-word;-webkit-hyphens:auto;hyphens:auto;max-width:100%;font-size:clamp(42px,8vw,92px)}.word-card p,.round-ready p{max-width:760px;margin:0}@media (width>=1024px){.game-layout{grid-template-columns:minmax(0,1fr) 320px}.game-stage{min-height:min(700px,100dvh - 154px);padding:clamp(34px,5.4vh,58px) clamp(34px,4vw,64px)}.game-stage.phase-playing .word-card h1{font-size:clamp(46px,7vw,88px)}.game-stage.phase-round_ready .round-ready h1{font-size:clamp(48px,7vw,94px)}}@media (width<=720px){.topbar{width:100%;padding:calc(10px + env(safe-area-inset-top,0px)) 16px 10px;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#120d1f38;border-bottom:1px solid #ffffff14;margin:0}:root:not([data-theme=dark]) .topbar{background:#ffffff94;border-bottom-color:#24133a14}.settings-group-head{gap:10px;display:grid}.dictionary-actions{grid-template-columns:1fr;width:100%;display:grid}.game-stage{min-height:calc(100dvh - 96px);padding:22px 16px}.game-topline{justify-items:start;gap:8px;display:grid}.game-topline span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.word-card h1,.round-ready h1{letter-spacing:-.06em;font-size:clamp(40px,15vw,72px)}}.timer-ring{isolation:isolate;position:relative;box-shadow:0 20px 46px #00000047}.timer-ring:before{content:"";border-radius:inherit;z-index:0;background:linear-gradient(#ffffff1f,#ffffff0d);position:absolute;inset:clamp(12px,8%,18px);box-shadow:inset 0 0 0 12px #ffffff14}.timer-value{z-index:1;place-items:center;gap:0;min-width:0;display:grid;position:relative;transform:translateY(2px)}.timer-value span{letter-spacing:-.06em;font-size:clamp(44px,8vw,76px);font-weight:950;line-height:.84}.timer-value small{color:#ffffffb8;letter-spacing:.02em;margin:5px 0 0;font-size:clamp(11px,1.6vw,14px);font-weight:900;line-height:1;position:static}.timer-ring>span,.timer-ring>small{display:none}.summary-view-stack{gap:16px}.summary-redesign{background:radial-gradient(circle at 92% 4%, #ffb0001f, transparent 30%), var(--surface);gap:16px;padding:clamp(18px,3vw,26px)}.summary-hero-line{justify-content:space-between;align-items:center;gap:12px;display:flex}.summary-score-pill{min-width:92px;min-height:56px;color:var(--text);background:linear-gradient(135deg,#ffb00033,#00bfd81f);border:1px solid #ffb00052;border-radius:20px;place-items:center;padding:8px 14px;font-size:26px;font-weight:950;line-height:.92;display:grid;box-shadow:0 14px 34px #ffb0001f}.summary-score-pill small{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;margin-top:3px;font-size:11px;font-weight:900}.summary-title-block{gap:6px;display:grid}.summary-title-block h1{letter-spacing:-.055em;margin:0;font-size:clamp(30px,6vw,58px);line-height:1.02}.summary-title-block p{color:var(--muted);margin:0;line-height:1.42}.summary-edit-hint{color:var(--muted);background:#00bfd814;border:1px solid #00bfd838;border-radius:18px;padding:12px 14px;line-height:1.45}.summary-edit-hint strong{color:var(--text)}.summary-redesign .summary-list{overscroll-behavior:contain;gap:8px;max-height:min(44dvh,370px);padding-right:2px;display:grid;overflow:auto}.summary-redesign .summary-word-row{border-radius:18px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:54px;padding:10px 12px;display:grid}.summary-redesign .summary-word-row strong{overflow-wrap:anywhere;min-width:0;font-size:16px;line-height:1.2}.summary-redesign .summary-word-row.action-guessed{border-color:#08b5853d}.summary-redesign .summary-word-row.action-skipped{border-color:#ffb00047}.summary-action-toggle{border:1px solid var(--line);background:#24133a0f;border-radius:999px;grid-template-columns:repeat(3,minmax(0,auto));gap:5px;padding:4px;display:inline-grid}.summary-action-toggle button{min-height:34px;color:var(--muted);white-space:nowrap;background:0 0;border:0;border-radius:999px;padding:0 10px;font-size:12px;font-weight:900}.summary-action-toggle button.active{color:#fff;box-shadow:0 8px 18px #24133a1f}.summary-action-toggle button.active.action-guessed{background:linear-gradient(135deg, #08b585, var(--electric-cyan))}.summary-action-toggle button.active.action-skipped{background:linear-gradient(135deg, #a06100, var(--gift-yellow))}.summary-action-toggle button.active.action-removed{background:#24133ac7}:root[data-theme=dark] .summary-action-toggle{background:#ffffff0f}:root[data-theme=dark] .summary-action-toggle button.active.action-removed{background:#ffffff2e}.summary-footer-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.summary-footer-actions .button{min-width:168px}.final-view-stack{gap:18px}.final-card.finale-cinematic{background:radial-gradient(circle at 50% 4%, #ffb0003d, transparent 30%), radial-gradient(circle at 10% 30%, #00bfd82e, transparent 28%), radial-gradient(circle at 92% 68%, #ff4f8b2e, transparent 30%), linear-gradient(180deg, var(--night), #211336);color:#fff;align-content:center;justify-items:center;gap:clamp(14px,2.1vh,22px);min-height:min(760px,100dvh - 130px);padding:clamp(24px,4vw,44px);display:grid;overflow:hidden}.final-card.finale-cinematic>:not(.final-radiance):not(.confetti-layer):not(.final-fireworks){z-index:2;position:relative}.final-radiance{opacity:.84;pointer-events:none;background:conic-gradient(from 90deg,#0000,#ffb00029,#0000,#00bfd824,#0000,#ff4f8b1f,#0000);animation:18s linear infinite slow-spin;position:absolute;inset:-35%}.confetti-layer,.final-confetti,.final-fireworks{pointer-events:none}.final-card .final-confetti{opacity:.6;mix-blend-mode:screen;animation:7s ease-in-out infinite alternate finalConfettiFloat}@keyframes finalConfettiFloat{0%{transform:translateY(-8px)scale(1)}to{transform:translateY(18px)scale(1.02)}}.final-fireworks{z-index:1;position:absolute;inset:0;overflow:hidden}.final-fireworks span{opacity:0;filter:drop-shadow(0 0 14px #00bfd857);mix-blend-mode:screen;background:radial-gradient(circle,#ffffffeb 0 3%,#0000 3.4%),radial-gradient(circle,#ffb000eb 0 8%,#0000 8.4%),repeating-conic-gradient(#00bfd800 0deg 12deg,#00bfd8db 12deg 18deg,#ff4f8bc7 18deg 24deg,#6b46ff00 24deg 36deg);border-radius:999px;width:180px;height:180px;animation:3.1s ease-out infinite both finalFirework;position:absolute}.final-fireworks span:first-child{animation-delay:.7s;top:10%;left:8%}.final-fireworks span:nth-child(2){width:220px;height:220px;animation-delay:1.25s;top:18%;right:9%}.final-fireworks span:nth-child(3){width:160px;height:160px;animation-delay:1.8s;bottom:2%;left:42%}@keyframes finalFirework{0%{opacity:0;transform:scale(.16)rotate(0)}16%{opacity:1}54%{opacity:.82}to{opacity:0;transform:scale(1.2)rotate(30deg)}}.winner-trophy-wrap{place-items:center;width:112px;height:112px;display:grid;position:relative}.winner-trophy-wrap .final-icon{z-index:2;width:86px;height:86px}.winner-orbit{border:1px solid #ffb00057;border-radius:999px;animation:1.8s ease-in-out infinite alternate winnerPulse;position:absolute;inset:6px;box-shadow:0 0 0 10px #ffb0000f,inset 0 0 38px #ffb00024}@keyframes winnerPulse{to{opacity:.72;transform:scale(1.08)}}.final-copy{text-align:center;justify-items:center;gap:8px;display:grid}.final-eyebrow{color:#ffe3a3;text-transform:uppercase;letter-spacing:.09em;font-size:13px;font-weight:950}.final-copy h1{letter-spacing:-.06em;text-wrap:balance;max-width:980px;margin:0;font-size:clamp(40px,7vw,76px);line-height:.96}.final-copy p{color:#ffffffc2;margin:0;font-size:17px}.mvp-spotlight-card{text-align:left;background:linear-gradient(135deg,#ffb0002e,#ffffff12);border:1px solid #ffb00057;border-radius:28px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px;width:min(100%,560px);padding:16px;display:grid;box-shadow:0 22px 52px #ffb00024}.mvp-crown-badge{background:var(--gift-yellow);color:#201200;border-radius:999px;place-items:center;width:38px;height:38px;display:grid;position:absolute;top:-16px;right:22px;box-shadow:0 14px 30px #ffb00052}.mvp-spotlight-card>div:last-child{gap:2px;min-width:0;display:grid}.mvp-spotlight-card span,.mvp-spotlight-card small{color:#ffffffb8}.mvp-spotlight-card strong{text-overflow:ellipsis;white-space:nowrap;font-size:clamp(22px,3vw,30px);line-height:1.05;overflow:hidden}.final-teams-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;width:min(100%,980px);display:grid}.final-team-card{text-align:left;background:#ffffff0f;border:1px solid #ffffff1f;border-radius:24px;gap:12px;min-width:0;padding:16px;display:grid}.final-team-card.winner{background:linear-gradient(135deg,#ffb00029,#ffffff0f);border-color:#ffb0005c;box-shadow:inset 0 0 0 1px #ffb00014}.final-team-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.final-team-head div{gap:5px;min-width:0;display:grid}.final-team-head span,.final-team-meta,.final-team-members small{color:#ffffffad}.final-team-head strong{font-size:30px;line-height:1}.placement-badge{border:1px solid #ffffff24;border-radius:999px;flex:none;padding:5px 9px;font-size:13px;font-weight:900}.final-team-meta{flex-wrap:wrap;gap:8px;font-size:13px;font-weight:800;display:flex}.final-team-members{gap:8px;display:grid}.final-team-members div{border-top:1px solid #ffffff1a;gap:2px;min-width:0;padding-top:8px;display:grid}.final-team-members div.mvp span:after{content:" MVP";color:#ffe3a3;font-weight:950}.final-team-members span{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:900;overflow:hidden}.final-actions{flex-wrap:wrap;justify-content:center;margin-top:2px}.final-actions .button{pointer-events:auto}@media (width<=720px){.timer-ring{width:clamp(124px,42vw,164px)}.timer-value span{font-size:clamp(44px,16vw,66px)}.summary-redesign{border-radius:26px;padding:16px}.summary-hero-line{align-items:stretch}.summary-score-pill{border-radius:17px;min-width:76px;min-height:50px;font-size:22px}.summary-title-block h1{font-size:clamp(28px,9vw,36px)}.summary-redesign .summary-list{max-height:45dvh}.summary-redesign .summary-word-row{grid-template-columns:1fr;gap:8px}.summary-action-toggle{grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.summary-action-toggle button{padding:0 6px;font-size:11px}.summary-footer-actions{grid-template-columns:1fr;display:grid}.summary-footer-actions .button{width:100%;min-width:0}.final-card.finale-cinematic{border-radius:30px;min-height:calc(100dvh - 96px);padding:22px 16px}.winner-trophy-wrap{width:88px;height:88px}.winner-trophy-wrap .final-icon{width:68px;height:68px}.final-copy h1{font-size:clamp(36px,13vw,54px)}.mvp-spotlight-card{grid-template-columns:auto minmax(0,1fr);padding:14px}.final-teams-grid{grid-template-columns:1fr}.final-team-members{display:none}.final-actions{grid-template-columns:1fr;width:100%;display:grid}.final-actions .button{width:100%}}@media (prefers-reduced-motion:reduce){.final-radiance,.final-confetti,.final-fireworks span,.winner-orbit{animation:none!important}}.summary-redesign .summary-word-row strong{text-overflow:clip;white-space:normal;overflow:visible}@media (width<=720px){.summary-redesign .summary-word-row{align-items:stretch;min-height:104px}.summary-redesign .summary-list{gap:10px}.final-card.finale-cinematic{align-content:start;gap:12px;min-height:auto;padding:18px 14px 16px}.winner-trophy-wrap{order:1;width:72px;height:72px}.winner-trophy-wrap .final-icon{width:54px;height:54px}.winner-orbit{inset:4px;box-shadow:0 0 0 7px #ffb0000d,inset 0 0 26px #ffb00024}.final-copy{order:2;gap:5px}.final-copy .eyebrow{letter-spacing:.08em;font-size:13px}.final-copy h1{max-width:9em;font-size:clamp(34px,11vw,44px);line-height:.98}.final-copy p{font-size:16px}.mvp-spotlight-card{border-radius:22px;order:3;grid-template-columns:auto minmax(0,1fr);gap:12px;padding:12px}.mvp-spotlight-card .avatar,.mvp-spotlight-card .avatar-fallback{width:56px;height:56px;font-size:20px}.mvp-spotlight-card h2{font-size:24px}.final-actions{order:4;grid-template-columns:1fr;gap:8px;width:100%;margin-top:0;display:grid}.final-actions .button{width:100%;min-height:50px}.final-teams-grid{order:5;grid-template-columns:1fr;gap:8px;width:100%}.final-team-card{border-radius:20px;gap:8px;padding:12px}.final-team-card h3{font-size:16px}.final-team-score strong{font-size:30px}.final-team-members,.final-fireworks{display:none}.final-card .final-confetti{opacity:.42}}.timer-ring{background:radial-gradient(circle at 50% 42%,#ffffff1f,#ffffff0e 48%,#ffffff06 100%);overflow:visible;transform:translateZ(0)}.timer-svg{z-index:1;pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible;transform:translateZ(0)}.timer-track,.timer-progress{fill:none}.timer-track{stroke:#ffffff24;stroke-width:10px}.timer-progress{stroke:var(--gift-yellow);stroke-width:10px;stroke-linecap:round;filter:drop-shadow(0 0 10px #ffb00057);transition:stroke-dasharray .18s linear}.timer-value{z-index:2}@media (width<=640px){.timer-track,.timer-progress{stroke-width:9px}}@media (width>=1024px) and (height<=820px){.final-view-stack{gap:14px}.final-card.finale-cinematic{align-content:start;gap:11px;min-height:auto;padding:24px 36px 26px}.winner-trophy-wrap{width:78px;height:78px}.winner-trophy-wrap .final-icon{width:60px;height:60px}.winner-orbit{inset:5px;box-shadow:0 0 0 7px #ffb0000d,inset 0 0 30px #ffb00024}.final-copy{gap:5px}.final-copy h1{font-size:clamp(42px,5.8vw,64px)}.final-copy p{font-size:15px}.mvp-spotlight-card{border-radius:24px;width:min(100%,520px);padding:12px 14px}.mvp-spotlight-card strong{font-size:clamp(20px,2.4vw,26px)}.final-teams-grid{gap:10px}.final-team-card{gap:8px;padding:12px}.final-team-head strong{font-size:26px}.final-team-members{gap:6px}.final-team-members div{padding-top:6px}.final-actions{margin-top:0}}
