.language-control{display:inline-flex;align-items:center;gap:.4rem;width:max-content;max-width:100%;flex:0 0 auto;position:relative}.language-control select{width:auto;min-width:7rem;padding:.4rem .6rem;color:#f8fafc;background:#102131;border:1px solid #405166;border-radius:.45rem;font:inherit;font-size:.75rem}.language-error{position:absolute;top:100%;right:0;width:15rem;color:#fca5a5;background:#102131;padding:.5rem;z-index:20}.topbar .language-control select{box-sizing:border-box;height:42px;color:#f4ecd8;background:#161d20;border-color:#f4ecd84d}.topbar .language-control select:focus-visible{outline:2px solid #d8b66b;outline-offset:3px}.external-arena>header.language-header,.npc-admin>header.language-header{position:sticky;top:0;z-index:3;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:start;gap:12px}.external-arena>header.language-header{background:#0c1727}.npc-admin>header.language-header{background:#101b2c}.language-header>h2{grid-column:1;grid-row:1;min-width:0;overflow-wrap:anywhere}.language-header>button{grid-column:2;grid-row:1}.language-header>.language-control{grid-column:3;grid-row:1;justify-self:end}.topbar>.language-control{grid-column:3;grid-row:1;justify-self:end}@media(max-width:860px){.topbar>.language-control{grid-column:2;grid-row:1}}@media(max-width:600px){.external-arena>header.language-header,.npc-admin>header.language-header{grid-template-columns:minmax(0,1fr) auto}.language-header>.language-control{grid-column:2;grid-row:1}.language-header>h2{grid-column:1;grid-row:2}.language-header>button{grid-column:2;grid-row:2;justify-self:end;max-width:144px}}.user-menu{position:relative;z-index:8;max-width:calc(100vw - 32px);text-align:start}.user-menu .user-menu-trigger{display:inline-flex;align-items:center;gap:8px;width:auto;max-width:min(320px,calc(100vw - 32px));height:40px;padding:6px 10px;color:#e2e8f0;background:transparent;border:0;border-radius:0;font-size:.8rem;cursor:pointer}.user-menu-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-menu .ui-icon{width:18px;height:18px;flex:0 0 18px}.user-menu-panel{position:absolute;inset-block-start:calc(100% + 6px);inset-inline-end:0;width:272px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 64px);overflow-y:auto;padding:8px;background:#101b2c;border:1px solid #405166;border-radius:10px;box-shadow:0 12px 32px #0006}.user-menu-identity{display:grid;gap:4px;padding:8px 10px 12px;overflow-wrap:anywhere;color:#e2e8f0;font-size:.8rem}.user-menu-identity span{color:#94a3b8}.user-menu-panel>button{display:flex;align-items:center;gap:10px;width:auto;max-width:100%;min-height:40px;margin:0;padding:8px 10px;border:0;border-radius:6px;color:#e2e8f0;background:transparent;text-align:start;cursor:pointer}.user-menu-panel>button:hover{background:#1c3048}.user-menu-trigger:hover,.user-menu-trigger[aria-expanded=true]{color:#f8cb66;background:transparent}.user-menu button:focus-visible{outline:2px solid #d8b66b;outline-offset:-2px}.user-menu-language{padding:8px 10px;margin-block:4px;border-block:1px solid #334155}.user-menu-panel>.user-menu-signout{color:#fca5a5}.npc-admin{width:min(960px,calc(100vw - 32px));max-height:calc(100dvh - 32px);box-sizing:border-box;padding:20px;border:1px solid #53627c;border-radius:16px;background:#101b2c;color:#e7edf7;box-shadow:0 24px 90px #0009}.npc-admin::backdrop{background:#050b15bf}.npc-admin header,.npc-card-heading,.npc-admin footer,.npc-admin nav,.npc-admin footer>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.npc-admin header h2{margin:0;flex:1;font-size:1.2rem}.npc-admin header .language-control select{min-height:36px;height:36px;padding-block:6px}.npc-admin p{color:#b8c6db;line-height:1.55}.npc-admin button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;width:auto;padding:7px 12px;border:1px solid #53627c;border-radius:8px;background:#233653;color:inherit;cursor:pointer}.npc-admin button[aria-pressed=true]{border-color:#deb655;background:#4a3c26}.npc-admin button[aria-label]{min-width:36px;padding:7px;background:transparent;border-color:transparent}.npc-admin button:disabled{opacity:.45;cursor:default}.npc-admin input:not([type=checkbox]),.npc-admin textarea,.npc-admin select{box-sizing:border-box;width:100%;min-width:0;min-height:40px;padding:9px 11px;background:#0c1524;border:1px solid #53627c;border-radius:7px;color:inherit;font:inherit}.npc-admin textarea{min-height:90px;resize:vertical}.npc-admin form,.npc-editors,.npc-card,.npc-skills{display:grid;gap:12px}.npc-editors{min-width:0;padding:0;margin:0;border:0}.npc-card{padding:16px;border:1px solid #344660;border-radius:12px;background:#162439}.npc-card h3{margin:0}.npc-card-heading strong{flex:1;overflow-wrap:anywhere}.npc-model-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.npc-provider-fields,.npc-route-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.npc-route-choices .npc-check{width:auto;min-width:0;align-items:flex-start}.npc-route-choices .npc-check span{min-width:0;overflow-wrap:anywhere}.npc-route-choices input[type=checkbox]{flex:0 0 16px}.npc-admin .npc-check{display:inline-flex;align-items:center;justify-content:flex-start;gap:8px;width:fit-content}.npc-admin input[type=checkbox]{width:16px;height:16px;margin:0}.npc-skill{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px}.npc-skill textarea{grid-column:1 / -1}.npc-skills>button,.npc-editors>button{justify-self:start}.npc-card>button{justify-self:start}.npc-select{position:relative;min-width:0}.npc-admin button.npc-select-trigger{width:100%;min-height:40px;justify-content:space-between;padding:9px 11px;background:#0c1524;border:1px solid #53627c;text-align:left}.npc-select-trigger>span:first-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.npc-select-popup{position:absolute;z-index:3;top:calc(100% + 4px);left:0;right:0;padding:8px;border:1px solid #53627c;border-radius:8px;background:#0c1524;box-shadow:0 8px 24px #0008}.npc-select-popup [role=listbox]{display:grid;max-height:230px;overflow-y:auto;margin-top:6px}.npc-select-popup button[role=option]{width:100%;justify-content:flex-start;text-align:left;overflow-wrap:anywhere;border:0;background:transparent}.npc-select-popup button[aria-selected=true],.npc-select-popup button[role=option]:hover{background:#233653}.npc-health-model{min-width:0;border-top:1px solid #344660}.npc-health-model h4{overflow-wrap:anywhere;margin:12px 0}.npc-health-results{display:grid;gap:7px;padding:0;margin:0;list-style:none}.npc-health-summary,.npc-health-results li{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px;border-radius:6px}.npc-health-history time{font-variant-numeric:tabular-nums}.npc-health-history .npc-health-ok{color:#c4f4cf;background:#23482c}.npc-health-history .npc-health-error{color:#ffc2b8;background:#542521}.npc-health-summary{cursor:pointer;list-style:none}.npc-health-summary::-webkit-details-marker{display:none}.npc-health-toggle,.npc-health-latest{display:inline-flex;flex-wrap:wrap;align-items:center;gap:8px}.npc-health-latest{min-width:0}.npc-health-chevron{display:inline-block}.npc-health-history[open]>summary .npc-health-chevron{transform:rotate(90deg)}.npc-health-history[open]>.npc-health-results{margin-top:7px}.npc-admin header{position:sticky;top:-20px;z-index:4;background:#101b2c;padding-block:8px}.npc-admin footer{position:sticky;bottom:-20px;justify-content:space-between;margin:0 -20px -20px;padding:14px 20px;background:#101b2cf7;border-top:1px solid #344660}.npc-admin .npc-error{color:#ffc2b8;background:#542521;padding:12px;border-radius:8px}.npc-admin .npc-success{color:#c4f4cf;background:#23482c;padding:12px;border-radius:8px}.npc-admin :focus-visible{outline:2px solid #e4c16d;outline-offset:3px}.player-action-card>small{display:block;overflow-wrap:anywhere;color:#b8c6db;line-height:1.4}@media(max-width:600px){.npc-admin{padding:14px}.npc-admin header{top:-14px}.npc-model-fields,.npc-provider-fields,.npc-route-choices{grid-template-columns:minmax(0,1fr)}.npc-admin footer{bottom:-14px;margin:0 -14px -14px;padding:12px 14px}}.external-arena{width:min(1440px,calc(100vw - 32px));max-width:calc(100vw - 16px);max-height:calc(100dvh - 24px);padding:clamp(14px,2vw,28px);color:#e2e8f0;background:#0c1727;border:1px solid #6b6045;border-radius:16px;overflow:auto}.external-arena::backdrop{background:#020617d9}.arena-header,.arena-controls{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.arena-header{justify-content:space-between}.arena-header h2{margin:0;font-size:20px}.external-arena p{line-height:1.6}.external-arena button,.external-arena select{width:auto;min-height:40px;max-width:100%;padding:8px 12px;border:1px solid #52647b;border-radius:8px;background:#13253a;color:#e7c887;font:inherit}.external-arena button{cursor:pointer}.external-arena button:disabled{opacity:.45;cursor:default}.external-arena :focus-visible{outline:2px solid #e7c887;outline-offset:3px}.arena-controls{margin-block:14px}.arena-warning{color:#e7c887}.external-arena [role=alert]{color:#fca5a5}.arena-status{margin-block:14px;color:#93c5fd}.arena-board{height:min(65vh,640px);min-height:320px;position:relative}.arena-board .pixi-board{width:100%;height:100%;min-height:0}.arena-invite{border:1px solid #6b6045;padding:12px;border-radius:10px}.arena-invite textarea{width:100%;min-height:210px;padding:12px;box-sizing:border-box;border:1px solid #52647b;border-radius:8px;background:#08111e;color:#e2e8f0;resize:vertical;font:12px/1.5 monospace}.arena-events{padding-left:24px}.arena-events li{margin-block:12px;overflow-wrap:anywhere}.arena-events p{margin:4px 0;color:#aabbd0}@media(max-width:600px){.external-arena{width:calc(100vw - 16px)}.arena-header h2{font-size:16px}.arena-controls{gap:8px}.external-arena button,.external-arena select{font-size:12px}}.arena-ladder{width:min(1500px,calc(100vw - 32px))}.arena-ladder button,.arena-ladder select,.arena-ladder input{box-sizing:border-box;height:40px}.ladder-filters{position:sticky;top:-1px;z-index:1;background:#0c1727;padding-block:10px}.ladder-filters input{box-sizing:border-box;width:min(240px,100%);min-height:40px;padding:8px 12px;border:1px solid #52647b;border-radius:8px;background:#13253a;color:#e2e8f0;font:inherit}.ladder-table-scroll{max-width:100%;overflow:auto;border:1px solid #33465e;border-radius:10px}.arena-ladder table{width:100%;border-collapse:collapse;font-size:13px}.arena-ladder th,.arena-ladder td{padding:14px 12px;text-align:left;vertical-align:top;border-bottom:1px solid #26374c}.arena-ladder thead{color:#e7c887;background:#13253a}.arena-ladder tbody tr:hover{background:#13253a80}.arena-ladder td>span,.arena-ladder td>small,.ladder-models span{display:block;margin-top:5px}.arena-ladder small,.ladder-models span{color:#aabbd0}.arena-ladder th[scope=row]{white-space:nowrap;color:#93c5fd}.ladder-models{min-width:220px;max-width:360px;margin:0;padding:0;list-style:none;overflow-wrap:anywhere}.ladder-models li+li{margin-top:12px}.arena-ladder summary{margin-top:8px;cursor:pointer;color:#e7c887}.arena-ladder details p{margin-block:6px;overflow-wrap:anywhere}.arena-ladder dl{margin:8px 0}.arena-ladder dl>div{display:grid;grid-template-columns:minmax(110px,auto) 1fr;gap:12px;padding-block:3px}.arena-ladder dd{margin:0;overflow-wrap:anywhere}.ladder-pagination{justify-content:flex-end}.ladder-caption{padding:10px 12px;text-align:left;color:#aabbd0}@media(max-width:600px){.arena-ladder{width:calc(100vw - 16px)}.ladder-filters{position:static}.ladder-filters input{font-size:12px}.ladder-pagination{justify-content:center}}.model-evaluation{width:min(1180px,calc(100vw - 24px))}.model-evaluation .arena-header h2{display:flex;align-items:center;gap:8px}.model-evaluation .evaluation-filters{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.model-evaluation .evaluation-filters :is(select,input,button),.model-evaluation .evaluation-pagination button{box-sizing:border-box;height:40px;min-height:40px;width:auto;min-width:0;max-width:100%}.model-evaluation .evaluation-filters button,.model-evaluation .evaluation-pagination button{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:0 0 auto;padding:6px 12px}.model-evaluation .evaluation-filters input{flex:1 1 150px}.evaluation-profiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:14px;margin-block:16px}.evaluation-card{min-width:0;padding:16px;border:1px solid #334155;border-radius:14px;background:#101c30;color:#e2e8f0;overflow-wrap:anywhere}.evaluation-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.evaluation-card h3{margin:0 0 4px;font-size:17px}.evaluation-card p{font-size:12px;line-height:1.6}.evaluation-score{flex:0 0 92px;text-align:center}.evaluation-score strong{display:block;color:#67e8f9;font-size:32px}.evaluation-score small{display:block;font-size:11px}.evaluation-evidence{color:#93c5fd}.evaluation-evidence.browser-reported,.evaluation-caution{color:#fcd34d}.evaluation-radar{display:block;width:min(100%,320px);margin:0 auto;overflow:visible}.evaluation-radar .radar-grid{stroke:#41536c;fill:none;stroke-width:1}.evaluation-radar text{fill:#cbd5e1;font-size:10px}.evaluation-radar circle{fill:#67e8f9}.evaluation-radar .radar-profile{fill:#22d3ee33;stroke:#22d3ee;stroke-width:2;pointer-events:none}.evaluation-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.evaluation-metrics>div{min-width:0}.evaluation-metrics dt{font-size:12px;color:#cbd5e1}.evaluation-metrics dd{margin:4px 0 0}.evaluation-metrics strong{margin-right:6px}.evaluation-metrics small{display:block;color:#94a3b8;font-size:10px}.evaluation-metrics meter{width:65%;height:8px;accent-color:#22d3ee}.evaluation-activity{border-top:1px solid #334155;padding-top:10px}.evaluation-card details{margin-top:10px;min-width:0}.evaluation-card summary,.evaluation-method summary{cursor:pointer;color:#93c5fd}.evaluation-match{border-top:1px solid #334155;padding-block:8px}.evaluation-match dl>div{display:flex;justify-content:space-between;gap:8px;font-size:12px}.evaluation-trend{display:flex;align-items:stretch;gap:6px;height:88px;padding:8px 0 22px}.evaluation-trend>span{position:relative;flex:1;min-width:0;border-bottom:1px solid #64748b;background:#1e293b}.evaluation-trend i{position:absolute;bottom:0;left:0;width:100%;background:#22d3ee}.evaluation-trend small{position:absolute;bottom:-19px;width:100%;text-align:center;font-size:10px}.evaluation-trend .unmeasured{background:repeating-linear-gradient(45deg,#1e293b,#1e293b 4px,#334155 4px 5px)}.evaluation-method{margin-top:20px;font-size:12px;line-height:1.7}.evaluation-turns>div{display:grid;gap:4px;padding:8px;margin-block:6px;border-left:3px solid #22d3ee;background:#1e293b;font-size:11px}@media(max-width:600px){.model-evaluation{width:calc(100vw - 12px);padding:12px}.model-evaluation .evaluation-filters>:is(select,input){flex:1 1 135px}}.emergency-panel{border:1px solid #b77933;border-left:3px solid #f6b94a;border-radius:8px;background:#241e19;color:#f9e9d1;padding:10px 12px;font-size:12px;min-width:0;overflow-wrap:anywhere}.emergency-panel header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}.emergency-panel p{margin:6px 0;line-height:1.4}.emergency-panel summary{cursor:pointer;padding:5px 0}.emergency-panel ul{list-style:none;padding:0;margin:6px 0;display:grid;gap:4px}.emergency-panel a{color:#a4d5ff}.emergency-panel .is-complete,.emergency-resolved{color:#a7ebc8}.emergency-panel .emergency-progress{font-weight:700}.emergency-failed{border-color:#ef7979}.external-arena>.emergency-panel{margin:10px 0}.congress-seats{min-width:0;padding:12px;border:1px solid #334155;border-radius:12px;background:#0c1525ed}.congress-seats>header{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:12px}.congress-seats>header strong{color:#e2e8f0;font-size:13px}.congress-seats>header>span{flex-shrink:0;color:#facc15;font-size:10px}.congress-chambers{display:grid;gap:18px}.congress-chamber{min-width:0;margin:0}.congress-chamber figcaption{display:flex;align-items:center;gap:6px;color:#e2e8f0;font-size:12px}.congress-chamber figcaption>span:last-child{margin-left:auto;color:#94a3b8;font-size:11px}.congress-chamber svg{display:block;width:100%;height:auto;overflow:visible}.congress-dot.support{fill:#60a5fa}.congress-dot.opposition{fill:#fb7185}.congress-dot.undecided{fill:#facc15}.congress-support-count{fill:#93c5fd;text-anchor:middle;font-size:32px;font-weight:900}.congress-majority-label{fill:#94a3b8;text-anchor:middle;font-size:12px}.congress-values{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px}.congress-values>span{display:inline-flex;align-items:center;gap:4px;color:#cbd5e1;font-size:10px}.congress-values i{width:6px;height:6px;border-radius:50%;background:#60a5fa}.congress-values .opposition i{background:#fb7185}.congress-values .undecided i{background:#facc15}.congress-values b{color:#f8fafc;font-variant-numeric:tabular-nums}.congress-chamber>p{margin:8px 0 0;color:#94a3b8;font-size:11px;text-align:center}.congress-chamber>p.has-majority{color:#6ee7b7}.congress-seats .congress-note{margin:14px 0 0;color:#94a3b8;font-size:10px;line-height:1.5}.game-cockpit .stage-wrap .stage-main.has-congress{display:grid;grid-template-columns:minmax(0,1fr) 244px;grid-template-rows:minmax(0,1fr);gap:10px;overflow:hidden}.game-cockpit .stage-wrap .stage-main.has-congress.has-emergency{grid-template-columns:244px minmax(0,1fr) 244px}.has-congress>.emergency-panel{grid-column:1;grid-row:1;overflow-y:auto}.has-congress>.pixi-board{grid-column:1;grid-row:1}.has-congress>.event-toast{grid-column:1;grid-row:1;max-width:calc(100% - 32px)}.has-congress>.congress-seats{grid-column:2;grid-row:1;overflow-y:auto}.has-congress.has-emergency>.pixi-board,.has-congress.has-emergency>.event-toast{grid-column:2}.has-congress.has-emergency>.congress-seats{grid-column:3}.summary-details .congress-chambers{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:1100px){.game-cockpit .stage-wrap .stage-main.has-congress{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(340px,1fr);overflow-y:auto}.game-cockpit .stage-wrap .stage-main.has-congress.has-emergency{grid-template-columns:repeat(2,minmax(0,1fr))}.has-congress>.emergency-panel{overflow:visible}.has-congress>.congress-seats{grid-column:1;grid-row:1;overflow:visible}.has-congress.has-emergency>.congress-seats{grid-column:2;grid-row:1}.has-congress>.pixi-board,.has-congress.has-emergency>.pixi-board{grid-column:1 / -1;grid-row:2;min-height:340px}.has-congress>.event-toast,.has-congress.has-emergency>.event-toast{grid-column:1 / -1;grid-row:2}.congress-chambers{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.congress-values{justify-content:flex-start}}@media(max-width:600px){.game-cockpit .stage-wrap .stage-main.has-congress.has-emergency{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(340px,1fr)}.has-congress.has-emergency>.congress-seats{grid-column:1;grid-row:2}.has-congress.has-emergency>.pixi-board,.has-congress.has-emergency>.event-toast{grid-row:3}}:root{color-scheme:dark;--scrollbar-track: #0c1524;--scrollbar-thumb: #53627c;--scrollbar-thumb-hover: #8396b3;scrollbar-color:var(--scrollbar-thumb) var(--scrollbar-track);color:#f8fafc;background:#07111f;font-family:Inter,Segoe UI,Arial,sans-serif;font-synthesis:none;text-rendering:geometricPrecision}*{box-sizing:border-box;scrollbar-width:thin}*::-webkit-scrollbar{width:10px;height:10px}*::-webkit-scrollbar-track{background:var(--scrollbar-track)}*::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border:2px solid var(--scrollbar-track);border-radius:8px}*::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover)}*::-webkit-scrollbar-corner{background:var(--scrollbar-track)}html,body,#root{width:100%;min-width:320px;height:100%;margin:0;overflow:hidden}body{height:100vh;background:linear-gradient(rgba(148,163,184,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(148,163,184,.045) 1px,transparent 1px),#07111f;background-size:32px 32px}#root{display:grid;grid-template-rows:minmax(0,1fr) auto}#root>main{height:100%;min-height:0}.app-version{padding:4px 12px;border-top:1px solid rgba(148,163,184,.18);background:#080e1b;color:#cbd5e1;font-size:12px;line-height:16px;font-weight:700;text-align:right;white-space:nowrap}button,input,textarea,select{font:inherit}.pregame-shell{position:relative;isolation:isolate;width:100vw;height:100vh;height:100dvh;min-width:320px;overflow:hidden;--pregame-gutter: clamp(16px, 3vw, 40px);padding:var(--pregame-gutter);background:radial-gradient(ellipse at 15% 30%,rgba(47,87,116,.3),transparent 60%),radial-gradient(ellipse at 85% 95%,rgba(174,131,57,.12),transparent 45%),#080f1c}.civic-backdrop{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none}.civic-backdrop:before,.civic-backdrop:after{content:"";position:absolute;left:-12%;right:-12%;pointer-events:none}.civic-backdrop:before{top:12%;height:44%;background:linear-gradient(90deg,transparent,rgba(248,250,252,.09),transparent);transform:skewY(-10deg) translate(-28%);animation:civic-sweep 12s ease-in-out infinite}.civic-backdrop:after{bottom:5%;height:22%;background:linear-gradient(180deg,transparent,rgba(56,189,248,.1),transparent);opacity:.72}.civic-skyline-silhouette{position:absolute;left:50%;top:6vh;width:clamp(860px,88vw,1680px);color:#94a3b833;opacity:.86;transform:translate(-50%);transform-origin:center bottom;filter:drop-shadow(0 0 24px rgba(56,189,248,.14));animation:civic-skyline-drift 24s ease-in-out infinite alternate}.civic-skyline-silhouette svg{display:block;width:100%;height:auto}.dc-skyline-water{fill:none;stroke:#38bdf847;stroke-linecap:round;stroke-width:18}.dc-skyline-water-soft{stroke:#38bdf81f;stroke-width:10}.dc-skyline-landmark{fill:#f8fafc21;stroke:#f8fafc2e;stroke-linejoin:round;stroke-width:2}.dc-skyline-glow{fill:none;stroke-linecap:round}.landmark-detail{fill:none;stroke:#080f1ca6;stroke-width:2;stroke-linejoin:round}.dc-skyline-glow{stroke:#facc152e;stroke-width:8}.civic-silhouette{position:absolute;bottom:8vh;color:#f8fafc38;filter:drop-shadow(0 0 18px rgba(56,189,248,.16));transform-origin:center bottom;animation:civic-drift 18s ease-in-out infinite alternate}.civic-silhouette svg{display:block;width:100%;height:auto;fill:currentColor;animation:civic-glow 7s ease-in-out infinite}.civic-white-house{left:-2vw;width:clamp(360px,34vw,700px);animation-delay:-2s}.civic-capitol{left:43%;width:clamp(480px,44vw,920px);color:#f8fafc47;transform:translate(-50%);animation-name:civic-drift-center;animation-delay:-6s}.civic-court{right:-1vw;width:clamp(380px,34vw,720px);color:#facc1533;animation-delay:-10s}.signin-shell .civic-skyline-silhouette{left:34%;top:18vh;width:min(clamp(660px,64vw,1040px),90vh)}.signin-shell .civic-silhouette{width:min(18vw,22vh);transform:none;animation:none}.signin-shell .civic-white-house{left:1vw}.signin-shell .civic-capitol{left:22vw}.signin-shell .civic-court{left:43vw;right:auto}.signin-panel,.signin-story,.room-briefing,.pregame-topbar,.room-grid,.room-status-panel,.seat-grid,.pregame-version{position:relative;z-index:1}.signin-shell{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(340px,.75fr);align-items:center;gap:clamp(24px,5vw,88px);padding-inline:max(24px,calc((100vw - 1240px)/2))}.signin-panel{min-width:0;align-self:center;justify-self:center;width:min(440px,100%);display:grid;gap:12px;padding:clamp(22px,3vw,34px);border:1px solid rgba(213,185,124,.26);border-radius:20px;background:linear-gradient(155deg,#192538fa,#0a1322fa);box-shadow:0 28px 80px #00000059,inset 0 1px #ffffff0d}.signin-panel h2,.pregame-topbar h1{margin:0;letter-spacing:0}.auth-tabs{display:flex;flex-wrap:wrap;gap:8px}.auth-tabs button{min-height:34px}.auth-tabs button.is-active{border-color:#facc15b8;background:#ca8a0447}.signin-panel label{display:grid;gap:6px;color:#94a3b8;font-size:12px;font-weight:800}.signin-panel input{min-height:40px;border:1px solid rgba(148,163,184,.28);border-radius:8px;background:#08111fd1;color:#f8fafc;padding:0 12px}.auth-options{display:flex;align-items:center;justify-content:space-between;gap:10px}.auth-options label{display:inline-flex;align-items:center;gap:7px;min-width:0;color:#cbd5e1;font-size:12px}.auth-options input{min-height:0;width:14px;height:14px;padding:0;accent-color:#facc15}.auth-options button{min-height:0;border:0;background:transparent;color:#facc15;padding:0;font-size:12px;font-weight:900}.signin-panel .auth-options button{min-width:0;padding:0;border:0;background:transparent;color:#dbc38e;white-space:nowrap}.auth-notice{margin:0;color:#cbd5e1;font-size:12px;line-height:1.35;text-align:center}.signin-panel button,.room-card button,.room-actions button,.seat-card button{position:relative;z-index:2;min-height:38px;border:1px solid rgba(56,189,248,.36);border-radius:8px;background:#0e749040;color:#f8fafc;font-weight:900;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:8px 16px;width:fit-content;max-width:100%}.signin-panel button:hover,.room-card button:hover,.room-actions button:hover:not(:disabled),.seat-card button:hover:not(:disabled):not([aria-disabled=true]),.signin-panel button:focus-visible,.room-card button:focus-visible,.room-actions button:focus-visible:not(:disabled),.seat-card button:focus-visible{border-color:#facc15b8;background:#ca8a0447;outline:none}.model-strip,.pregame-version{color:#94a3b8;font-size:12px;text-align:center}.model-strip{min-width:0;overflow-wrap:anywhere;display:grid;gap:3px;padding:8px;border:1px solid rgba(167,139,250,.28);border-radius:8px;background:#581c8729}.model-strip strong{color:#a78bfa;display:flex;align-items:center;justify-content:center;gap:6px}.ui-icon{width:18px;height:18px;flex:0 0 auto;vertical-align:middle}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #e7c887;outline-offset:4px}.signin-story{display:grid;gap:clamp(22px,4vh,48px);max-width:680px}.pregame-brand{display:inline-flex;align-items:center;gap:14px;color:#e7c887;text-decoration:none;font-size:13px;letter-spacing:.16em;font-weight:800}.pregame-brand .ui-icon,.signin-emblem .ui-icon{width:32px;height:32px}.pregame-brand small{display:block;color:#93a6bd;margin-top:6px;font-size:11px;font-weight:400;letter-spacing:.06em}.story-heading h1{margin:18px 0;font-family:Georgia,Times New Roman,serif;font-size:clamp(24px,2.3vw,36px);font-weight:400;line-height:1.12;letter-spacing:-.035em}.story-heading h1 em{color:#e7c887;font-style:normal}.story-heading p{max-width:400px;color:#aabbd0;font-size:16px;line-height:1.7}.story-factions{display:flex;flex-wrap:wrap;gap:10px}.story-factions>span{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border:1px solid rgba(158,178,204,.2);border-radius:8px;color:#bfcedf;background:#08111fa6;font-size:12px}.story-factions b{font-size:18px}.story-caption{display:flex;flex-wrap:wrap;gap:24px;color:#7890a9;font-size:10px;letter-spacing:.18em}.signin-emblem{display:grid;place-items:center;width:56px;height:56px;margin-bottom:6px;border:1px solid rgba(231,200,135,.3);border-radius:14px;color:#e7c887;background:#e7c8870f}.signin-panel h2{font-size:28px;font-weight:600;letter-spacing:-.025em}.signin-intro,.playtest-note{margin:0;color:#a2b2c7;font-size:13px;line-height:1.6}.playtest-note{text-align:center;font-size:10px}.signin-form{display:grid;gap:14px}.signin-panel .auth-tabs button.is-active,.room-actions .start-game-button:not(:disabled){border-color:#d2b678;background:linear-gradient(135deg,#e7ce99,#bfa063);color:#111c2c}.topbar-subtitle{margin:6px 0 0;color:#97aac1;font-size:13px;line-height:1.5}.room-briefing{display:flex;align-items:center;justify-content:space-between;gap:16px}.room-briefing p{margin:0;color:#97aac1;font-size:12px}.room-briefing strong{color:#d9e3ef}.room-steps{display:flex;flex-wrap:wrap;gap:18px;padding:0;margin:0;list-style:none;font-size:12px;color:#8095ae}.room-steps li{display:flex;align-items:center;gap:8px}.room-steps .is-current{color:#e7c887}.room-steps .is-complete{color:#77d6aa}@keyframes civic-sweep{0%{opacity:0;transform:skewY(-10deg) translate(-35%)}38%,62%{opacity:1}to{opacity:0;transform:skewY(-10deg) translate(35%)}}@keyframes civic-drift{0%{transform:translate3d(-10px,0,0) scale(1)}to{transform:translate3d(14px,-10px,0) scale(1.035)}}@keyframes civic-drift-center{0%{transform:translate3d(-52%,0,0) scale(1)}to{transform:translate3d(-48%,-12px,0) scale(1.04)}}@keyframes civic-glow{0%,to{opacity:.56}50%{opacity:.95}}@keyframes civic-skyline-drift{0%{opacity:.62;transform:translate3d(-51%,0,0) scale(1)}to{opacity:.92;transform:translate3d(-49%,12px,0) scale(1.025)}}@media(max-height:760px){.civic-skyline-silhouette{top:0;width:clamp(580px,90vw,1080px)}.civic-silhouette{bottom:2vh}.civic-white-house,.civic-court{width:clamp(260px,30vw,520px)}.civic-capitol{width:clamp(340px,38vw,680px)}}.lobby-shell{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px}.room-shell{display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;gap:10px}.pregame-topbar{z-index:8;min-height:96px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:16px;margin-inline:calc(-1 * var(--pregame-gutter));padding:18px var(--pregame-gutter);border:0;border-bottom:1px solid rgba(148,163,184,.15);border-radius:0;background:#080f1ca6}.pregame-header-content{display:flex;align-items:center;gap:32px;min-width:0;overflow-x:auto;scrollbar-width:none}.pregame-header-content::-webkit-scrollbar{display:none}.pregame-header-content:focus-visible{outline:2px solid #f8cb66;outline-offset:-2px}.pregame-heading{flex:1 0 240px;white-space:nowrap}.pregame-topbar h1{font-size:clamp(20px,2.2vw,28px)}.pregame-topbar .model-strip{flex:0 0 280px;padding:0;border:0;border-radius:0;background:none;text-align:start}.pregame-topbar .model-strip strong{justify-content:flex-start}.pregame-topbar>.user-menu{justify-self:end}.pregame-topbar .user-menu-trigger{max-width:240px}.pregame-topbar .room-code-pill{flex:0 0 auto;padding:0;border:0;background:none}.room-shell .pregame-topbar{min-height:80px}.room-code-pill{min-height:34px;display:inline-flex;align-items:center;gap:8px;padding:4px 6px 4px 10px;border:1px solid rgba(250,204,21,.34);border-radius:8px;background:#0f172ab8}.room-code-pill .game-code-value{color:#facc15;font-size:13px;font-weight:900;letter-spacing:.08em}.game-code{position:relative;display:inline-flex;align-items:center;gap:6px;vertical-align:middle;white-space:nowrap}.game-code .game-code-value{font-size:11px;letter-spacing:.08em}.game-code .game-code-copy{display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;min-width:28px;height:28px;min-height:28px;margin:0;padding:5px;border:1px solid rgba(56,189,248,.36);border-radius:6px;background:#0e749040;color:#f8fafc;cursor:pointer}.game-code-copy svg{width:16px;height:16px}.game-code .game-code-copy:focus-visible{outline:2px solid #facc15;outline-offset:2px}.game-code .game-code-status{position:absolute;top:100%;right:0;z-index:2;color:#22c55e;font-size:11px;font-weight:600;letter-spacing:normal;background:#0f172a;border-radius:4px}.game-code-status:not(:empty){padding:3px 6px}.game-code .game-code-status.is-failed{color:#f87171}.role-cooldown-pill{min-height:34px;display:inline-flex;align-items:center;justify-content:center;padding:4px 10px;border:1px solid rgba(248,113,113,.38);border-radius:8px;background:#7f1d1d3d;color:#fecaca;font-size:12px;font-weight:900;white-space:nowrap}.room-grid,.seat-grid{min-height:0;display:grid;gap:12px;overflow:auto;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#52647b transparent}.room-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-content:center}.room-card,.seat-card{min-height:0;padding:12px;border:1px solid rgba(148,163,184,.24);border-radius:16px;background:linear-gradient(150deg,#19283cf5,#0c1829f0)}.room-card{display:grid;align-content:start;gap:18px;padding:clamp(18px,2vw,28px);border-top:2px solid #bfa063}.room-card:nth-child(2){border-top-color:#8bade0}.room-card:nth-child(3){border-top-color:#a992d7}.room-card-heading{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px}.room-card-heading>.game-code{justify-self:center}.room-card-heading>.room-status{justify-self:end;max-width:100%;overflow-wrap:anywhere}.room-card-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px}.room-card .room-number{color:#e7c887;font-family:Georgia,serif;font-size:20px}.room-card .room-status{border:1px solid rgba(231,200,135,.3);border-radius:20px;padding:5px 10px;color:#e7c887;font-size:10px}.room-card .room-status.is-open{color:#77d6aa;border-color:#77d6aa4d}.room-illustration{display:grid;place-items:center;height:clamp(64px,12vh,112px);border-bottom:1px solid rgba(158,178,204,.14);color:#e7c887;background:radial-gradient(ellipse,rgba(231,200,135,.09),transparent 70%)}.room-illustration .ui-icon{width:56px;height:56px}.room-card .room-description{min-height:42px;color:#9db0c8;line-height:1.6}.room-card .game-code-value{font-size:11px;font-weight:500;letter-spacing:.08em;color:#8199b5}.room-card span,.seat-card strong,.room-status-panel span{color:#94a3b8;font-size:12px;font-weight:900}.room-card h2,.seat-card h2{margin:0;font-size:18px}.room-card>strong{color:#facc15}.room-card p,.seat-card p{margin:0;color:#cbd5e1;font-size:13px}.room-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.room-status-panel{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.room-status-panel div{min-height:42px;display:grid;align-content:center;gap:2px;padding:6px 10px;border:1px solid rgba(148,163,184,.22);border-radius:8px;background:#0f172ab8}.room-status-panel strong{font-size:15px}.seat-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));grid-template-rows:repeat(2,minmax(280px,1fr))}.seat-card{display:flex;flex-direction:column;gap:10px;padding:14px;overflow:auto;border-top:2px solid var(--seat-color)}.seat-card.is-selected{border-color:var(--seat-color);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--seat-color) 25%,transparent)}.seat-card.is-selected .seat-card-header>span{color:var(--seat-color);border-color:var(--seat-color)}.seat-card-header{display:flex;align-items:flex-start;gap:10px}.seat-card-header>span{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(148,163,184,.22);border-radius:8px;background:#08111f9e;font-size:24px}.seat-summary{min-height:42px;line-height:1.35}.seat-powers{display:grid;gap:6px}.seat-powers span{min-height:26px;display:flex;align-items:center;padding:5px 8px;border:1px solid rgba(56,189,248,.2);border-radius:8px;background:#0e749024;color:#dbeafe;font-size:12px;font-weight:800}.seat-goal{margin-top:auto;display:grid;gap:3px;line-height:1.35}.seat-goal strong{color:#facc15}.seat-occupant{min-height:20px;font-weight:800}.seat-card button:disabled,.room-actions button:disabled{opacity:.55;cursor:not-allowed}.seat-card button.unlock-role{border-color:#f8717194;background:#7f1d1d5c;color:#fecaca}.seat-card button.unlock-role:hover,.seat-card button.unlock-role:focus-visible{border-color:#f87171db;background:#b91c1c6b}.seat-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}.seat-actions>button{height:40px;min-height:40px;flex:0 0 auto}.seat-actions>button.account-icon-button.is-next-action{color:#f8cb66;outline:2px solid currentColor;outline-offset:-2px;animation:seat-next-action-pulse 1.6s ease-in-out infinite}@keyframes seat-next-action-pulse{0%,to{outline-color:#f8cb6666}50%{outline-color:#fff2b0}}.app-shell{height:100vh;min-height:0;display:grid;grid-template-columns:minmax(250px,320px) minmax(0,1fr);gap:10px;padding:10px;overflow:hidden;transition:grid-template-columns .18s ease}.app-shell.rail-collapsed{grid-template-columns:56px minmax(0,1fr)}.command-rail,.stage-wrap{border:1px solid rgba(148,163,184,.28);border-radius:14px;background:linear-gradient(180deg,#0f172af5,#080d1afa);box-shadow:0 18px 44px #00000047}.command-rail{min-height:0;padding:12px;display:flex;flex-direction:column;gap:8px;overflow:hidden;scrollbar-width:thin}.command-rail>:not(.battle-feed):not(.collapsed-rail-strip){flex-shrink:0}.command-rail.is-collapsed{align-items:center;padding:10px 8px}.rail-header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.rail-toggle{width:32px;min-width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(250,204,21,.46);border-radius:8px;background:#ca8a042e;color:#facc15;font-size:18px;font-weight:900;line-height:1;cursor:pointer}.rail-toggle:hover,.rail-toggle:focus-visible{border-color:#facc15d1;background:#ca8a0452;outline:none}.command-rail.is-collapsed .rail-header{justify-content:center;width:100%}.command-rail.is-collapsed .brand-lockup,.command-rail.is-collapsed>:not(.rail-header):not(.collapsed-rail-strip){display:none}.collapsed-rail-strip{display:none}.command-rail.is-collapsed .collapsed-rail-strip{display:grid;gap:8px;justify-items:center;margin-top:6px}.collapsed-rail-strip span,.collapsed-rail-strip strong{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(148,163,184,.24);border-radius:8px;background:#0f172ab8}.collapsed-rail-strip span{border-color:var(--current-user-color, rgba(148, 163, 184, .24));color:var(--current-user-color, #f8fafc)}.collapsed-rail-strip strong{color:#facc15;font-size:13px}.brand-lockup h1{margin:4px 0 0;letter-spacing:0;line-height:1.05}.brand-lockup h1{font-size:24px}.eyebrow{color:#facc15;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.turn-card{min-height:54px;padding:8px 10px;border-radius:8px;border:1px solid rgba(56,189,248,.28);background:#0f172ac7}.turn-card.accent{pointer-events:none;min-height:66px;display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"label detail" "value detail";align-items:center;column-gap:10px;border-color:#ef44446b}.turn-card.accent>span{grid-area:label;margin:0}.turn-card.accent>strong{grid-area:value;margin:0;line-height:1}.turn-card.accent>em{grid-area:detail;justify-self:end;max-width:100%;margin:0;padding:4px 7px;border:1px solid rgba(239,68,68,.24);border-radius:8px;background:#7f1d1d2e;color:#fecaca;font-size:11px;line-height:1.2;text-align:right;overflow-wrap:anywhere}.current-user-card{min-height:66px;display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;border-color:var(--current-user-color, rgba(56, 189, 248, .28));box-shadow:inset 3px 0 0 var(--current-user-color, #38bdf8)}.current-user-icon{width:32px;height:32px;display:inline-flex!important;align-items:center;justify-content:center;border:1px solid color-mix(in srgb,var(--current-user-color, #38bdf8) 58%,transparent);border-radius:8px;background:#08111fbd;color:#f8fafc!important;font-size:19px!important;line-height:1}.current-user-copy{min-width:0;display:grid;gap:2px}.current-user-label,.current-user-name,.current-user-role{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.current-user-card .current-user-label{margin:0;color:#94a3b8;font-size:11px}.current-user-card .current-user-name{margin:0;color:#f8fafc;font-size:16px;line-height:1.1}.turn-card.accent.action-preview-card{min-height:54px;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"label detail" "value value";row-gap:4px}.turn-card.accent.action-preview-card>strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.current-user-card .current-user-role{margin:0;color:var(--current-user-color, #94a3b8);font-size:11px;line-height:1.1;font-style:normal;font-weight:800}.turn-card span{color:#94a3b8;display:block;font-size:12px}.turn-card strong{display:block;margin-top:5px;font-size:16px}.turn-card em{display:block;margin-top:3px;color:#94a3b8;font-size:12px;font-style:normal;font-weight:700}.turn-card.current-user-card em{color:var(--current-user-color, #94a3b8)}.player-action-card{position:relative;padding:8px 10px;border-radius:8px;border:1px solid rgba(148,163,184,.24);background:#0f172ab8}.player-action-card{z-index:4}.action-card-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.action-card-header span{color:#94a3b8;display:block;font-size:12px}.action-card-header strong{color:#f8fafc;font-size:15px}.player-action-dock{position:relative;z-index:5;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-top:8px}.player-action-dock button{position:relative;z-index:1;min-width:0;min-height:34px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(167,139,250,.34);border-radius:8px;background:#581c8738;color:#f8fafc;cursor:pointer}.player-action-dock button:hover,.player-action-dock button:focus-visible,.player-action-dock button.is-active{border-color:var(--current-user-color, #a78bfa);background:#a78bfa38;outline:none}.player-action-dock button.is-recommended{border-color:#facc15b8;box-shadow:inset 0 0 0 1px #facc156b}.player-action-dock button.is-recommended.is-urgent{border-color:#f87171d1;background:#7f1d1d57;box-shadow:inset 0 0 0 1px #f8717180}.player-action-dock button.hold-action{border-color:#94a3b847;background:#0f172ab8}.player-action-dock button.hold-action.is-warning{border-color:#fb923c85;background:#7c2d1247}.player-action-dock button.hold-action.is-danger{border-color:#ef444494;background:#7f1d1d57}.player-action-dock button.rematch-action{border-color:#22c55e75;background:#14532d57}.player-action-dock button:disabled{opacity:.5;cursor:not-allowed}.player-action-dock button span{font-size:17px;line-height:1}.player-action-card p{margin:7px 0 0;color:var(--current-user-color, #a78bfa);font-size:11px;font-weight:900;text-align:center}.player-action-card.is-your-turn{border-color:#facc15;box-shadow:0 0 0 1px #facc1559}.player-action-card .turn-action-cue{display:flex;align-items:center;justify-content:center;gap:6px;color:#fde047;font-size:12px}.turn-action-cue .ui-icon{flex:0 0 16px}.player-action-card.is-your-turn .player-action-dock button:not(:disabled){position:relative}.player-action-card.is-your-turn .player-action-dock button:not(:disabled):after{content:"";position:absolute;inset:-3px;border:2px solid #fde047;border-radius:inherit;box-shadow:0 0 14px #facc15bf;opacity:1;pointer-events:none;animation:action-ready-pulse 1.2s ease-in-out infinite}@keyframes action-ready-pulse{0%,to{opacity:.15}50%{opacity:1}}.action-recommendation{display:block;margin-top:5px;color:#fde68a;font-size:11px;font-style:normal;font-weight:900;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap}.fallout-strip{min-height:30px;display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"label title" "actor actor";align-items:center;gap:1px 7px;margin-top:6px;padding:4px 7px;border:1px solid rgba(56,189,248,.28);border-radius:8px;background:#08111f9e;overflow:hidden}.fallout-strip.you{border-color:#22c55e57}.fallout-strip.ai{border-color:#facc1561}.fallout-strip.system{border-color:#38bdf857}.intrigue-pressure-strip{min-height:30px;display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"label title" "detail detail";align-items:center;gap:1px 7px;margin-top:6px;padding:4px 7px;border:1px solid rgba(248,113,113,.36);border-radius:8px;background:linear-gradient(135deg,#450a0a9e,#08111fb3);overflow:hidden}.fallout-strip span,.fallout-strip strong,.fallout-strip em,.intrigue-pressure-strip span,.intrigue-pressure-strip strong,.intrigue-pressure-strip em{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fallout-strip span{grid-area:label;color:#94a3b8;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.intrigue-pressure-strip span{grid-area:label;color:#fecaca;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.fallout-strip strong{grid-area:title;color:#f8fafc;font-size:11px;font-weight:900}.intrigue-pressure-strip strong{grid-area:title;color:#fee2e2;font-size:11px;font-weight:900}.fallout-strip em{grid-area:actor;color:#cbd5e1;font-size:10px;font-style:normal;font-weight:800}.intrigue-pressure-strip em{grid-area:detail;color:#fca5a5;font-size:10px;font-style:normal;font-weight:800}.resource-cost{display:flex;align-items:center;justify-content:center;gap:6px}.resource-token{min-width:42px;min-height:22px;display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:2px 7px;border:1px solid rgba(148,163,184,.26);border-radius:8px;background:#08111fa8;color:#f8fafc;cursor:help}.resource-token strong{font-size:11px;line-height:1}.resource-refresh{color:#94a3b8!important}.resource-refresh>span:first-child{margin-right:3px;color:#cbd5e1}.resource-token.is-refresh{min-width:38px;color:#bbf7d0;border-color:#22c55e42;background:#14532d3d}.resource-refresh-empty{color:#64748b}.duel-card,.objective-card{min-height:66px;padding:8px 10px;border-radius:8px;border:1px solid rgba(148,163,184,.24);background:#0f172ab3}.duel-card>span,.objective-card>span{color:#94a3b8;display:block;font-size:12px}.duel-card strong,.objective-card strong{display:block;margin-top:7px;font-size:15px}.duel-card{min-height:66px;display:grid;grid-template-columns:minmax(0,1fr) minmax(142px,.95fr);grid-template-areas:"label score" "round score";align-items:center;column-gap:10px}.duel-card>span{grid-area:label;margin:0}.duel-card>strong{grid-area:round;margin:0;line-height:1.1}.duel-score{grid-area:score;display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:0;align-self:stretch;align-items:center;min-width:0}.duel-score span{min-width:0;min-height:34px;display:flex;align-items:center;justify-content:center;padding:2px 5px;border-radius:8px;background:#08111fb8;color:#f8fafc;font-size:11px;font-weight:800;line-height:1.05;text-align:center}.intent-card{min-height:104px;padding:8px 10px;border-radius:8px;border:1px solid rgba(250,204,21,.32);background:#181f30d1;overflow:visible}.intent-card.is-danger{border-color:#ef44447a;background:#450a0a57}.intent-card.is-warning{border-color:#fb923c80;background:#432a0c5c}.intent-card.is-final{min-height:0;padding-bottom:10px}.intent-card>span{color:#94a3b8;display:block;font-size:12px}.intent-card strong{display:block;margin-top:7px;font-size:15px;line-height:1.22}.intent-card.is-final strong{margin-top:4px;font-size:13px;line-height:1.12}.intent-card p{margin:6px 0 0;color:#cbd5e1;font-size:12px;line-height:1.35}.intent-card .intent-cost{display:flex;justify-content:center;gap:6px}.intent-card .intent-cost.is-blocked .resource-token{border-color:#ef444452;color:#fecaca}.intent-impact{display:grid;grid-template-columns:1fr;gap:4px;margin-top:7px}.intent-card.is-final .intent-impact{gap:3px;margin-top:6px}.intent-impact span{min-height:21px;display:flex;align-items:center;justify-content:center;border-radius:8px;border:1px solid rgba(250,204,21,.22);background:#08111f9e;color:#fde68a;font-size:11px;font-weight:900}.intent-card.is-final .intent-impact span{min-height:18px;font-size:10px;line-height:1.05}.intent-impact span.is-danger{border-color:#ef44446b;background:#7f1d1d70;color:#fecaca}.intent-impact span.is-warning{border-color:#fb923c6b;background:#7c2d125c;color:#fed7aa}.objective-card{min-height:112px;border-color:#22c55e47}.objective-meter{height:7px;margin-top:7px;border-radius:999px;overflow:hidden;background:#08111fc7}.objective-meter b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#38bdf8,#22c55e)}.objective-meter.fracture b{background:linear-gradient(90deg,#facc15,#ef4444)}.dashboard-gauge-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:7px}.dashboard-gauge{min-width:0;min-height:72px;padding:2px 5px 5px;border:1px solid rgba(148,163,184,.2);border-radius:8px;background:radial-gradient(circle at 50% 88%,rgba(248,250,252,.16),transparent 18px),linear-gradient(180deg,#0f172ac7,#080d18db);overflow:hidden}.dashboard-gauge.is-compact{width:86px;min-height:54px;padding:1px 5px 4px;border-color:#facc153d;background:radial-gradient(circle at 50% 88%,rgba(248,250,252,.14),transparent 15px),linear-gradient(180deg,#0f172ad1,#080d18e6)}.dashboard-gauge svg{width:100%;height:46px;display:block;overflow:visible}.dashboard-gauge.is-compact svg{height:34px}.gauge-track,.gauge-fill{fill:none;stroke-linecap:round;stroke-width:9px}.gauge-track{stroke:#94a3b838}.gauge-fill{stroke:#22c55e;filter:drop-shadow(0 0 5px rgba(34,197,94,.34));transition:stroke-dasharray .18s ease,stroke .18s ease}.dashboard-gauge.is-warning .gauge-fill{stroke:#facc15;filter:drop-shadow(0 0 5px rgba(250,204,21,.32))}.dashboard-gauge.is-danger .gauge-fill{stroke:#ef4444;filter:drop-shadow(0 0 5px rgba(239,68,68,.34))}.gauge-needle{stroke:#f8fafc;stroke-linecap:round;stroke-width:2.4px;filter:drop-shadow(0 1px 2px rgba(2,6,23,.82))}.gauge-hub{fill:#f8fafc;stroke:#0f172adb;stroke-width:1.5px}.gauge-tick{fill:#94a3b8;font-size:9px;font-weight:800}.gauge-max{text-anchor:end}.gauge-readout{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1px 5px;align-items:end;margin-top:-1px}.dashboard-gauge.is-compact .gauge-readout{grid-template-columns:auto auto;justify-content:center;gap:0 5px;margin-top:-3px}.gauge-readout span,.gauge-readout strong,.gauge-readout em{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gauge-readout span{color:#94a3b8;font-size:10px;font-weight:900}.dashboard-gauge.is-compact .gauge-readout span{font-size:12px}.gauge-readout strong{color:#f8fafc;font-size:16px;line-height:1}.dashboard-gauge.is-compact .gauge-readout strong{font-size:13px}.gauge-readout em{grid-column:1 / -1;color:#cbd5e1;font-size:10px;font-style:normal;font-weight:800}.dashboard-gauge.is-compact .gauge-readout em{display:none}.dashboard-gauge.is-good .gauge-readout em{color:#bbf7d0}.dashboard-gauge.is-warning .gauge-readout em{color:#fde68a}.dashboard-gauge.is-danger .gauge-readout em{color:#fecaca}.objective-line{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:5px;color:#cbd5e1;font-size:12px;font-weight:800}.objective-line em{color:#94a3b8;font-style:normal}.objective-line.is-warning span,.objective-line.is-warning em{color:#fed7aa}.objective-line.is-danger span,.objective-line.is-danger em{color:#fecaca}.route-line{min-height:28px;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:7px;margin-top:10px;color:#f8fafc;font-size:12px;font-weight:800}.route-line span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.route-line b{color:#facc15}.action-stack{display:grid;gap:8px;margin-top:0;position:relative;z-index:3}.action-stack button{min-height:34px;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid rgba(56,189,248,.36);border-radius:8px;background:#0e749040;color:#f8fafc;font-weight:800;cursor:pointer}.action-stack button:hover,.action-stack button:focus-visible,.action-stack button.is-active{border-color:#facc15b8;background:#ca8a0447;outline:none}.action-stack button span{line-height:1}.duel-actions{display:grid;grid-template-columns:1fr 82px;gap:8px}.duel-actions button{min-height:38px;border-radius:8px;color:#f8fafc;font-weight:900;cursor:pointer}.commit-order{border:1px solid rgba(34,197,94,.58);background:#1665346b}.reset-duel{border:1px solid rgba(148,163,184,.34);background:#1e293bb8}.battle-feed{min-height:0;min-width:0;flex:1 1 140px;display:grid;grid-template-columns:minmax(0,1fr);grid-auto-rows:max-content;align-content:start;gap:7px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding-right:2px;pointer-events:auto;scrollbar-width:thin;scrollbar-color:rgba(56,189,248,.58) rgba(8,13,24,.72)}.battle-feed::-webkit-scrollbar{width:8px}.battle-feed::-webkit-scrollbar-track{border-radius:999px;background:#080d18b8}.battle-feed::-webkit-scrollbar-thumb{border:2px solid rgba(8,13,24,.72);border-radius:999px;background:linear-gradient(180deg,#38bdf8,#facc15);box-shadow:0 0 10px #38bdf838}.battle-feed::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#7dd3fc,#fde047)}.battle-feed-header{min-height:24px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 2px}.battle-feed-header span,.battle-feed-header strong{color:#94a3b8;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.battle-feed-header strong{color:#facc15}.feed-entry{height:auto;min-height:34px;min-width:0;flex:0 0 auto;padding:4px 6px;border-radius:8px;border:1px solid rgba(148,163,184,.18);background:#08111fb8}.feed-meta{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:6px}.feed-meta span,.feed-meta time,.feed-meta em{color:#94a3b8;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.feed-meta time{color:#cbd5e1;letter-spacing:0}.feed-meta em{justify-self:end;font-style:normal}.feed-entry strong{display:block;margin-top:1px;font-size:11px;overflow-wrap:anywhere}.feed-entry p{margin:2px 0 0;color:#cbd5e1;font-size:10px;line-height:1.14;overflow-wrap:anywhere}.feed-entry.you{border-color:#22c55e47}.feed-entry.ai{border-color:#facc1557}.feed-entry.system{border-color:#38bdf847}.stage-wrap{position:relative;height:calc(100vh - 20px);min-height:0;padding:10px;display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:8px;overflow:hidden}.stage-header{z-index:5;min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px;border:1px solid rgba(148,163,184,.18);border-radius:8px;background:linear-gradient(120deg,#18273af5,#08111fe6);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.stage-user-card{min-width:190px;max-width:270px;min-height:44px;display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:9px;padding:5px 9px;border:1px solid color-mix(in srgb,var(--current-user-color, #38bdf8) 70%,transparent);border-radius:8px;background:#0f172ab8;box-shadow:inset 3px 0 0 var(--current-user-color, #38bdf8)}.player-control-row{grid-column:1 / -1;display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:5px}.player-control-row>span{color:#94a3b8;font-size:10px}.ai-takeover-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;width:max-content;max-width:100%;min-height:28px;padding:4px 8px;border:1px solid rgba(56,189,248,.55);border-radius:6px;background:#0e749038;color:#e0f2fe;font-size:11px;font-weight:800;cursor:pointer}.ai-takeover-button.is-active{border-color:#67e8f9;background:#0891b252;color:#cffafe}.ai-takeover-button:focus-visible{outline:2px solid #fde047;outline-offset:3px}.ai-takeover-button:disabled{opacity:.5;cursor:not-allowed}.ai-takeover-button .ui-icon{width:14px;height:14px}.stage-user-card .current-user-label{margin:0;color:#94a3b8;font-size:10px}.stage-user-card .current-user-name{margin:0;color:#f8fafc;font-size:14px;line-height:1.05}.stage-user-card .current-user-role{margin:0;color:var(--current-user-color, #94a3b8);font-size:10px;line-height:1.05;font-style:normal;font-weight:800}.stage-info-tip{z-index:4;min-height:38px;display:grid;grid-template-columns:30px minmax(0,1fr) 30px;align-items:center;gap:8px;padding:6px 8px;border:1px solid rgba(250,204,21,.28);border-radius:8px;background:#08111fad;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.stage-info-content{min-width:0;display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:10px}.info-nav{width:30px;height:28px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(250,204,21,.38);border-radius:8px;background:#ca8a0429;color:#facc15;font-size:15px;font-weight:900;line-height:1;cursor:pointer}.info-nav:hover:not(:disabled),.info-nav:focus-visible:not(:disabled){border-color:#facc15c7;background:#ca8a0447;outline:none}.info-nav:disabled{opacity:.38;cursor:default}.stage-info-content span{color:#facc15;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.stage-info-content strong{color:#f8fafc;font-size:12px;white-space:nowrap}.stage-main{min-height:0;display:grid;grid-template-columns:280px minmax(0,1fr);gap:8px;transition:grid-template-columns .18s ease}.stage-main.is-match-ended{grid-template-columns:minmax(0,1fr);place-items:center;padding:18px;border:1px solid rgba(250,204,21,.22);border-radius:8px;background:linear-gradient(180deg,#08111fe6,#080d1af5),radial-gradient(circle at 50% 20%,rgba(250,204,21,.16),transparent 42%)}.match-summary-dialog{--result-color: #34d399;box-sizing:border-box;width:min(760px,100%);display:grid;gap:20px;padding:24px;border:1px solid #334155;border-radius:16px;background:radial-gradient(ellipse at 50% 0,#1e293b,#0f172a 65%);box-shadow:0 24px 70px #0000006b}.match-summary-dialog[data-result=loss],.match-summary-dialog[data-result=collapse]{--result-color: #fb7185}.match-summary-dialog[data-result=draw]{--result-color: #7dd3fc}.summary-verdict{display:flex;align-items:center;justify-content:center;gap:12px}.summary-result-art{width:150px;height:120px;flex:0 0 auto;color:var(--result-color)}.summary-verdict>div{min-width:0}.summary-verdict>div>span{color:#94a3b8;font-size:11px;text-transform:uppercase;letter-spacing:.14em}.match-summary-dialog h2{margin:4px 0 8px;color:var(--result-color);font-size:clamp(30px,5vw,46px);line-height:1.1;text-wrap:balance}.match-summary-dialog p{margin:0;color:#cbd5e1;font-size:14px;line-height:1.4}.summary-no-winner{display:block;margin-top:6px;color:#fda4af;font-size:12px}.summary-podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:10px;padding:0 28px}.summary-podium-seat{min-width:0;display:grid;justify-items:center;text-align:center;color:#cbd5e1}.summary-podium-seat.place-1{grid-column:2;grid-row:1;color:#fde047}.summary-podium-seat.place-2{grid-column:1;grid-row:1}.summary-podium-seat.place-3{grid-column:3;grid-row:1;color:#fdba74}.summary-podium-avatar{display:grid;place-items:center;width:46px;height:46px;margin-bottom:6px;border:2px solid currentColor;border-radius:50%;background:#0b1425;font-size:25px}.place-1 .summary-podium-avatar{width:60px;height:60px;font-size:32px;box-shadow:0 0 30px #facc1526}.summary-podium-seat>strong{max-width:100%;color:#f8fafc;font-size:13px;overflow-wrap:anywhere}.summary-podium-owner{font-size:11px;margin:3px 0 9px}.summary-podium-step{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;min-height:80px;border:1px solid #64748b66;border-radius:10px 10px 0 0;background:linear-gradient(#64748b33,#64748b09)}.place-1 .summary-podium-step{min-height:110px;border-color:#facc1566;background:linear-gradient(#facc152e,#facc1509)}.place-3 .summary-podium-step{min-height:64px;border-color:#fdba7444;background:linear-gradient(#fdba7422,#fdba7409)}.summary-podium-step>span{font-size:22px;line-height:1}.summary-podium-step b{font-size:25px}.summary-podium-step em{font-size:11px;font-style:normal;font-weight:800}.summary-ranking h3{margin:0 0 10px;color:#94a3b8;font-size:12px;font-weight:600}.summary-standings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.summary-standing{--seat-color: #64748b;min-width:0;display:flex;align-items:center;gap:10px;padding:10px;border:1px solid #33415588;border-radius:10px;background:#08111f88}.summary-standing[data-outcome=winner]{--seat-color: #facc15;border-color:#facc1580}.summary-standing[data-outcome=tied]{--seat-color: #7dd3fc}[data-result=collapse] .summary-standing{--seat-color: #fb7185}.summary-standing.is-you{outline:1px solid #38bdf8;outline-offset:-1px}.summary-standing-avatar{flex:0 0 auto;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#1e293b;font-size:24px}.summary-standing-body{flex:1;min-width:0}.summary-standing-label{display:flex;align-items:center;gap:6px;min-width:0}.summary-standing-label strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#e2e8f0;font-size:12px}.summary-standing-label b{margin-left:auto;color:#f8fafc;font-size:18px}.summary-you{flex:0 0 auto;padding:1px 5px;border-radius:4px;background:#0c4a6e;color:#bae6fd;font-size:10px}.summary-score-track{height:5px;margin:4px 0;overflow:hidden;border-radius:4px;background:#334155}.summary-score-track i{display:block;height:100%;border-radius:inherit;background:var(--seat-color)}.summary-seat-result{display:block;color:var(--seat-color);font-size:11px}.summary-seat-result>span{font-size:14px;font-weight:900}.summary-details{border-top:1px solid #334155;padding-top:12px;min-width:0}.summary-details>summary{display:flex;align-items:center;gap:7px;color:#94a3b8;font-size:12px;cursor:pointer;list-style:none}.summary-details>summary::-webkit-details-marker{display:none}.summary-details>summary .ui-icon:last-child{margin-left:auto}.summary-details[open]>summary .ui-icon:last-child{transform:rotate(180deg)}.summary-details>:not(summary){margin-top:12px}.summary-details:focus-within{border-top-color:#7dd3fc}@media(max-width:560px){.stage-main.is-match-ended{padding:10px}.match-summary-dialog{padding:16px;gap:16px}.summary-verdict{gap:4px}.summary-result-art{width:88px;height:88px}.summary-podium{gap:6px;padding:0}.summary-podium-seat>strong{font-size:11px}.summary-standings{grid-template-columns:minmax(0,1fr)}.match-summary-dialog .summary-score-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.summary-score-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.summary-score-grid div{min-width:0;padding:10px;border:1px solid rgba(148,163,184,.24);border-radius:8px;background:#08111fad}.summary-score-grid span,.summary-score-grid strong{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.summary-score-grid span{color:#94a3b8;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.summary-score-grid strong{margin-top:4px;color:#f8fafc;font-size:20px}.summary-intrigue-memory{display:grid;gap:7px}.summary-intrigue-memory>span{color:#facc15;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.summary-intrigue-memory>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.summary-intrigue-memory article{min-width:0;min-height:36px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"label count" "name count";align-items:center;gap:0 8px;padding:6px 8px;border:1px solid rgba(250,204,21,.28);border-radius:8px;background:#432a0c38}.summary-intrigue-memory strong{grid-area:label;color:#f8fafc;font-size:11px;font-weight:900}.summary-intrigue-memory em{grid-area:name;min-width:0;color:#cbd5e1;font-size:10px;font-style:normal;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.summary-intrigue-memory b{grid-area:count;color:#facc15;font-size:18px}.summary-fallout{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:center;padding:9px 10px;border:1px solid rgba(56,189,248,.28);border-radius:8px;background:#08111f9e}.summary-fallout.you{border-color:#22c55e57}.summary-fallout.ai{border-color:#facc1561}.summary-fallout.system{border-color:#38bdf857}.summary-fallout span,.summary-fallout strong,.summary-fallout em{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.summary-fallout span{color:#94a3b8;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.summary-fallout strong{color:#f8fafc;font-size:13px;font-weight:900}.summary-fallout em{color:#cbd5e1;font-size:12px;font-style:normal;font-weight:800}.summary-actions{display:flex;flex-wrap:wrap;gap:8px}.summary-actions button{display:inline-flex;align-items:center;gap:8px;padding:8px 16px;min-height:38px;border-radius:8px;color:#f8fafc;font-weight:900;cursor:pointer}.summary-actions button:first-child{border:1px solid rgba(34,197,94,.58);background:#16653475}.summary-actions button:last-child{border:1px solid rgba(148,163,184,.34);background:#1e293bb8}.stage-wrap.items-collapsed .stage-main{grid-template-columns:42px minmax(0,1fr)}.stage-info-content p{min-width:0;margin:0;color:#cbd5e1;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stage-items-queue{min-width:0;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:8px;padding:10px;border:1px solid rgba(148,163,184,.22);border-radius:8px;background:#08111f9e;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.stage-items-queue.is-collapsed{padding:8px 4px;justify-items:center}.items-header{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:8px}.stage-items-queue.is-collapsed .items-header{justify-content:center}.items-header span{color:#facc15;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.items-toggle{width:28px;min-width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(250,204,21,.38);border-radius:8px;background:#ca8a0429;color:#facc15;font-size:15px;font-weight:900;cursor:pointer}.items-toggle:hover,.items-toggle:focus-visible{border-color:#facc15c7;background:#ca8a0447;outline:none}.stage-items-queue.is-collapsed .items-header span,.stage-items-queue.is-collapsed .items-list{display:none}.items-list{min-height:0;display:grid;gap:7px;overflow:hidden}.item-queue-card{min-height:54px;display:grid;gap:4px;padding:8px;border:1px solid rgba(148,163,184,.18);border-radius:8px;background:#0f172aad}.item-queue-card.is-active{border-color:#facc1575}.item-queue-card strong{min-width:0;color:#f8fafc;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.item-queue-card p{min-width:0;display:flex;align-items:center;gap:6px;margin:0;color:#cbd5e1;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.item-queue-card b{width:16px;height:16px;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#facc1529;color:#facc15;font-size:10px}.stage-status{display:flex;align-items:center;gap:7px}.status-pill{min-width:124px;text-align:center;border-radius:8px;border:1px solid rgba(148,163,184,.34);color:#e2e8f0;background:#1e293b61;padding:10px 12px;font-weight:800}.status-pill.clock{min-width:82px}.status-pill.records{min-width:138px}.records-led,.model-led{min-width:34px;min-height:48px;display:grid;place-items:center;gap:3px;color:#94a3b8;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.records-led span{width:13px;height:13px;border-radius:999px;border:1px solid rgba(148,163,184,.48);background:#64748b9e;box-shadow:0 0 10px #64748b42}.model-led span{color:#94a3b8;font-size:14px;line-height:1}.records-led strong,.model-led strong{color:inherit;font-size:12px;font-weight:900;line-height:1;white-space:nowrap}.records-led.is-good{color:#bbf7d0}.records-led.is-good span{border-color:#22c55ea3;background:#22c55e;box-shadow:0 0 12px #22c55e80}.model-led.is-good{color:#bbf7d0}.model-led.is-good span{color:#22c55e;text-shadow:0 0 12px rgba(34,197,94,.72)}.records-led.is-warning{color:#fde68a}.records-led.is-warning span{border-color:#facc15a3;background:#facc15;box-shadow:0 0 12px #facc156b}.model-led.is-warning{color:#fde68a}.model-led.is-warning span{color:#facc15;text-shadow:0 0 12px rgba(250,204,21,.58)}.model-led.is-danger{color:#fecaca}.model-led.is-danger span{color:#f87171;text-shadow:0 0 12px rgba(248,113,113,.58)}.status-pill.is-good{border-color:#22c55e75;color:#dcfce7;background:#1665343d}.status-pill.is-warning{border-color:#facc1580;color:#fef3c7;background:#713f1247}.status-pill.is-danger{border-color:#ef44449e;color:#fee2e2;background:#7f1d1d52}.status-pill.is-neutral{border-color:#38bdf86b;color:#e0f2fe;background:#0e749038}.pixi-board{min-height:0;height:100%;border-radius:8px;overflow:hidden;border:1px solid rgba(148,163,184,.2);background:#08111f;touch-action:none}.pixi-board canvas{display:block;width:100%;height:100%}@media(max-width:860px){.signin-shell{grid-template-columns:1fr;overflow-y:auto;align-content:start;gap:24px;padding:24px 18px}.signin-story{justify-self:center;width:min(440px,100%);gap:16px}.story-heading h1{font-size:36px;margin:12px 0}.story-heading p{margin:0;font-size:14px}.story-factions,.story-caption{display:none}.signin-panel{align-self:start}.signin-panel .eyebrow{font-size:10px}.pregame-topbar{gap:6px;padding-block:14px}.pregame-topbar h1{font-size:22px}.pregame-topbar .model-strip{font-size:10px}.pregame-header-content{gap:20px}.pregame-heading{flex-basis:200px}.pregame-topbar .user-menu-name{display:none}.room-actions{justify-content:flex-start}.room-actions button{font-size:11px;min-height:36px;padding:7px 10px}.room-briefing{align-items:flex-start;flex-direction:column;gap:10px}.room-grid{grid-template-columns:1fr;align-content:start}.room-card{gap:12px}.room-illustration{height:64px}.seat-grid{grid-template-rows:none;grid-auto-rows:minmax(300px,auto)}.seat-card{padding:12px}.seat-card-header{align-items:center;flex-wrap:wrap}.seat-card h2{font-size:16px}.room-status-panel{gap:5px}.room-status-panel div{padding:6px}.room-status-panel span{font-size:10px}.app-shell{grid-template-columns:1fr;grid-template-rows:160px minmax(0,1fr)}.command-rail{display:grid;grid-template-columns:minmax(110px,.6fr) minmax(0,1.4fr);align-items:stretch;overflow:auto}.player-action-card{display:block;grid-column:2;grid-row:1 / 3;overflow:auto}.player-action-card .fallout-strip,.player-action-card .intrigue-pressure-strip,.player-action-card .resource-refresh,.action-recommendation{display:none}.player-action-dock{grid-template-columns:repeat(5,minmax(28px,1fr))}.action-card-header{flex-wrap:wrap}.action-card-header strong{font-size:12px}.command-rail .action-preview-card,.command-rail .duel-card{display:none}.app-shell.rail-collapsed{grid-template-columns:1fr;grid-template-rows:48px minmax(0,1fr)}.command-rail.is-collapsed{display:flex;flex-direction:row;justify-content:space-between;padding:6px 10px}.command-rail.is-collapsed .rail-header{width:auto}.command-rail.is-collapsed .collapsed-rail-strip{flex-direction:row}.stage-header{flex-wrap:wrap;gap:6px}.stage-user-card{min-width:140px;flex:1 1 140px}.stage-status{flex:1 1 180px}.brand-lockup h1{font-size:20px}.action-stack{margin-top:0}.intent-card,.objective-card,.battle-feed{display:none}.duel-card{min-height:0}.duel-actions{grid-template-columns:1fr;gap:6px}.duel-actions button{min-height:30px;font-size:12px}.stage-wrap{height:100%;min-height:0}.stage-main,.stage-wrap.items-collapsed .stage-main{grid-template-columns:minmax(0,1fr)}.stage-status{flex-wrap:wrap;justify-content:flex-end;gap:6px}.stage-info-tip{grid-template-columns:28px minmax(0,1fr) 28px}.stage-items-queue{display:none}.stage-info-content{grid-template-columns:auto minmax(0,1fr)}.stage-info-content strong{overflow:hidden;text-overflow:ellipsis}.stage-info-content p{display:none}.status-pill{min-width:108px;padding:8px 10px}.status-pill.records{min-width:126px}.dashboard-gauge.is-compact{width:80px;min-height:54px}.records-led{min-width:34px}}@media(max-width:480px){.signin-shell{gap:18px;padding:18px;scrollbar-width:thin;scrollbar-color:#52647b transparent}.signin-story{gap:12px}.story-heading h1{font-size:30px}.story-heading p{font-size:12px;line-height:1.5}.signin-panel{padding:20px;gap:10px}.signin-emblem{width:44px;height:44px;margin:0}.signin-panel h2{font-size:25px}.pregame-shell:not(.signin-shell){--pregame-gutter: 12px;padding:var(--pregame-gutter);gap:8px}.pregame-brand{font-size:11px}.signin-story .eyebrow{font-size:10px}.seat-grid{grid-template-columns:1fr;grid-auto-rows:minmax(300px,auto)}.room-steps{gap:12px;font-size:10px}.room-code-pill{min-width:0;padding:6px 8px}.room-code-pill .game-code-value{font-size:10px}.auth-options{flex-wrap:wrap}.room-card .room-description{min-height:0}.app-shell{padding:6px;gap:6px}.command-rail{padding:8px;gap:6px}.stage-wrap,.stage-header{padding:6px}.stage-status{justify-content:flex-start}}.game-cockpit{position:relative;height:100dvh;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;grid-template-areas:"stage" "actions";gap:0;padding:12px;background:radial-gradient(ellipse at 50% 30%,#15253a,#080e1b 72%)}.account-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.account-controls>button{min-height:40px;width:auto;flex:0 0 auto;padding:6px 12px;gap:6px}.account-controls>button.account-icon-button,.account-controls>button.account-icon-button:hover,.account-controls>button.account-icon-button:active,.account-controls>button.account-icon-button:focus-visible,.room-actions>button.account-icon-button,.room-actions>button.account-icon-button:hover,.room-actions>button.account-icon-button:active,.room-actions>button.account-icon-button:focus-visible,.arena-header>button.account-icon-button,.arena-header>button.account-icon-button:hover,.arena-header>button.account-icon-button:active,.arena-header>button.account-icon-button:focus-visible{position:relative;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;min-width:40px;padding:8px;border:0;background-color:transparent;background-image:none;box-shadow:none;color:#dbe5f3;cursor:pointer}.account-controls>button.account-icon-button:hover,.account-controls>button.account-icon-button:focus-visible,.room-actions>button.account-icon-button:hover,.room-actions>button.account-icon-button:focus-visible,.arena-header>button.account-icon-button:hover,.arena-header>button.account-icon-button:focus-visible{z-index:5;color:#f8cb66}.account-controls>button.account-icon-button:active,.room-actions>button.account-icon-button:active,.arena-header>button.account-icon-button:active{color:#fff}.account-controls>button.account-icon-button:focus-visible,.room-actions>button.account-icon-button:focus-visible,.arena-header>button.account-icon-button:focus-visible{outline:2px solid #f8cb66;outline-offset:3px}.account-icon-button[aria-disabled=true],.room-actions button.account-icon-button[aria-disabled=true]:hover,.room-actions button.account-icon-button[aria-disabled=true]:active{color:#dbe5f3;opacity:.45;cursor:not-allowed}.room-actions,.room-actions>.account-controls{flex-wrap:nowrap;align-items:center;gap:4px}.room-actions{min-width:0;max-width:100%;justify-content:flex-start;overflow-x:auto;padding:4px}.room-actions>.account-controls,.room-actions button.account-icon-button{flex:0 0 auto}.room-actions>.account-controls>.auth-notice{max-width:200px}.room-shell .pregame-topbar>.auth-notice{grid-column:1 / -1;margin:0}.account-icon-button>.ui-icon{width:20px;height:20px;flex:0 0 auto}.seat-actions>button{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:max-content;min-width:0;padding:6px 10px;font-size:13px;white-space:nowrap}.seat-actions>button .ui-icon{width:16px;height:16px}.account-icon-button>.account-action-tooltip{position:absolute;inset-block-start:100%;inset-inline-end:0;z-index:10;width:max-content;max-width:min(240px,calc(100vw - 32px));padding:8px 10px;border-radius:6px;background:#15253a;color:#f8fafc;font-size:12px;font-weight:400;line-height:1.4;text-align:start;text-transform:none;white-space:normal;overflow-wrap:anywhere}.account-controls>button.account-icon-button:first-of-type>.account-action-tooltip{inset-inline-start:0;inset-inline-end:auto}.game-cockpit .account-icon-button>.account-action-tooltip{inset-block-start:auto;inset-block-end:100%}.stage-header>.account-controls:empty{display:none}.game-cockpit [hidden]{display:none!important}.game-cockpit .stage-wrap{grid-area:stage;height:100%;display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:6px;padding:0;min-width:0;border:0;background:none;box-shadow:none}.game-cockpit .stage-header{position:relative;grid-row:1;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:4px 8px 10px;border:0;border-bottom:1px solid rgba(148,163,184,.15);border-radius:0;background:none}.stage-header-scroll{display:flex;align-items:center;flex-wrap:nowrap;gap:16px;min-width:0;overflow-x:auto;scrollbar-width:none}.stage-header-scroll::-webkit-scrollbar{display:none}.stage-header-scroll:focus-visible{outline:2px solid #fde047;outline-offset:-2px}.stage-header-scroll>*{flex-shrink:0}.game-cockpit .stage-header>.user-menu{position:relative;inset:auto;min-width:0}.game-cockpit .stage-header .user-menu-trigger{max-width:200px}.game-cockpit .stage-user-card{width:max-content;min-width:180px;max-width:360px;border:0;background:none;box-shadow:none;padding:0}.game-cockpit .current-user-copy{min-width:0}.game-cockpit .current-user-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.game-cockpit .player-control-row{margin-top:1px;flex-wrap:nowrap;white-space:nowrap}.player-control-row>.ai-takeover-button{flex-shrink:0}.player-control-row>.player-agent-model{min-width:0;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#b7d8ed}.game-cockpit .stage-status{flex-wrap:nowrap;gap:2px}.game-cockpit .dashboard-gauge.is-compact{width:72px;border:0;background:none}.game-cockpit .records-led,.game-cockpit .model-led{min-width:22px}.game-cockpit .game-race-hud{display:flex;align-items:center;gap:9px;flex:1 0 100px;white-space:nowrap;color:#e2e8f0}.game-race-hud small{color:#94a3b8;font-size:10px}.game-race-hud .rival-race{color:#fca5a5;white-space:nowrap}.game-race-hud .race-track{flex:1;height:5px;min-width:30px;border-radius:5px;background:#94a3b826;overflow:hidden}.game-race-hud .race-track i{display:block;height:100%;background:linear-gradient(90deg,#38bdf8,#facc15)}.turn-order-strip{display:flex;align-items:center;justify-content:center;gap:9px;white-space:nowrap}.turn-order-strip>span{color:#64748b;font-size:18px;opacity:.55}.turn-order-strip>span:first-child{margin-right:8px;color:#94a3b8;font-size:10px;text-transform:uppercase;letter-spacing:.12em;opacity:1}.turn-order-strip>.is-active{opacity:1;filter:drop-shadow(0 0 7px rgba(250,204,21,.5))}.game-cockpit .stage-info-tip{grid-row:2}.game-cockpit .stage-main{grid-row:3;position:relative;display:block;min-width:0;border:0;background:none}.game-cockpit .pixi-board{position:relative;width:100%;height:100%;min-height:0;border:0;background:radial-gradient(ellipse at center,rgba(56,189,248,.035),transparent 65%)}.board-turn-clock{position:absolute;top:0;left:0;z-index:1;width:max-content;height:40px;transform-origin:0 0;pointer-events:none}.player-countdown{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#facc15;color:#172033;font-size:14px;font-weight:800;font-variant-numeric:tabular-nums;line-height:18px;white-space:nowrap}.player-countdown.is-warning{color:#713f12}.player-countdown.is-danger{color:#991b1b}.event-toast{position:absolute;z-index:2;top:12px;left:16px;display:flex;align-items:center;gap:8px;max-width:32%;padding:7px 14px;border-radius:24px;color:#94a3b8;background:#08111fd9;font-size:11px;pointer-events:none}.event-toast strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.event-toast.you{color:#67e8f9}.event-toast.ai{color:#fde68a}.game-cockpit .command-rail{grid-area:actions;position:relative;min-width:0;padding:10px 10px 0;display:block;border:0;border-top:1px solid rgba(148,163,184,.15);border-radius:0;overflow:visible;background:linear-gradient(180deg,#0f172a26,#080d1ae0);box-shadow:none}.game-cockpit .rail-header{align-items:center}.game-cockpit .brand-lockup h1{margin:2px 0 0;font-size:16px;letter-spacing:-.02em}.game-cockpit .brand-lockup .eyebrow{font-size:9px}.game-cockpit .rail-toggle{width:max-content;min-width:0;gap:6px;padding:4px 9px;border:0;background:transparent;color:#94a3b8;font-size:11px}.game-cockpit .player-action-card,.game-cockpit .player-action-card.is-your-turn{padding:0;border:0;background:none;box-shadow:none}.game-cockpit .action-card-header{display:none}.game-cockpit .turn-action-cue{position:absolute;right:88px;top:-31px;margin:0}.game-cockpit .action-recommendation{position:absolute;top:-30px;left:190px;max-width:45%;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.game-cockpit .player-action-dock{display:flex;gap:8px;padding:5px 4px 9px;overflow-x:auto;scrollbar-width:thin}.game-cockpit .player-action-dock button{flex:1 1 116px;width:auto;min-width:88px;min-height:94px;display:grid;grid-template-rows:27px minmax(26px,auto) 16px;align-content:center;gap:5px;padding:9px 7px;border-radius:10px;background:linear-gradient(160deg,#334155a6,#0f172acc)}.game-cockpit .player-action-dock .hold-action,.game-cockpit .player-action-dock .rematch-action{flex:0 0 72px;min-width:72px;width:72px}.game-cockpit .player-action-dock .action-icon{font-size:24px}.game-cockpit .action-name{font-size:11px;line-height:1.2;font-weight:800}.game-cockpit .action-cost{display:flex;align-items:center;justify-content:center;gap:4px;font-size:10px}.game-cockpit .action-cost .resource-token{padding:0;border:0;background:none;gap:2px}.game-cockpit .action-cost .resource-token span{font-size:11px}.game-cockpit .action-cost strong{font-size:10px}.game-cockpit .intel-overlay{position:fixed;z-index:30;top:110px;right:20px;bottom:178px;width:min(390px,calc(100vw - 32px));display:flex;flex-direction:column;gap:12px;padding:14px;border:1px solid rgba(148,163,184,.28);border-radius:14px;background:#0c1525fa;box-shadow:-12px 0 48px #00000073;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.intel-header{position:sticky;top:-14px;z-index:1;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:7px 0;background:#0c1525}.intel-header strong,.intel-header button{display:inline-flex;align-items:center;gap:6px}.intel-header button{width:max-content;padding:6px;border:0;border-radius:6px;color:#cbd5e1;background:transparent;font-size:11px;cursor:pointer}.intel-overlay>*{flex-shrink:0}.intel-overlay summary{padding:8px 0;cursor:pointer;font-size:12px}.intel-overlay p{color:#94a3b8;font-size:12px;line-height:1.5}.intel-overlay article{margin-bottom:12px}.intel-overlay .battle-feed{display:grid;flex:0 0 auto;max-height:none;overflow:visible}.game-cockpit .stage-items-queue{position:absolute;z-index:8;top:12px;left:8px;max-height:calc(100% - 30px)}.game-cockpit .stage-main.is-match-ended{display:grid;grid-template-columns:minmax(0,1fr);place-items:center;overflow-y:auto}.game-cockpit[data-match-ended=true]{grid-template-rows:minmax(0,1fr);grid-template-areas:"stage"}.game-cockpit[data-match-ended=true] .command-rail{display:contents}.game-cockpit[data-match-ended=true] .command-rail>:not(.intel-overlay){display:none}.game-cockpit[data-match-ended=true] .intel-overlay{bottom:20px}.game-cockpit button:focus-visible,.game-cockpit summary:focus-visible{outline:2px solid #fde047;outline-offset:3px}@media(max-width:860px){.game-cockpit{padding:8px}.game-cockpit .stage-header{gap:6px;padding:0 0 6px}.game-cockpit .stage-status{gap:0}.game-cockpit .dashboard-gauge.is-compact{width:51px;padding:0 2px}.game-cockpit .dashboard-gauge.is-compact .gauge-readout{gap:0 2px}.game-cockpit .dashboard-gauge.is-compact .gauge-readout strong{font-size:13px}.game-cockpit .records-led,.game-cockpit .model-led{min-width:16px;font-size:8px}.game-cockpit .game-race-hud{font-size:12px}.game-cockpit .turn-order-strip{gap:9px}.game-cockpit .stage-header .user-menu-name,.game-cockpit .action-recommendation{display:none}.game-cockpit .turn-action-cue{font-size:10px;right:66px;top:-26px}.game-cockpit .brand-lockup h1{font-size:13px}.game-cockpit .command-rail{padding:8px 0 0}.game-cockpit .player-action-dock button{flex-basis:106px;min-height:88px}.game-cockpit .intel-overlay{top:140px;right:8px;bottom:160px;width:calc(100vw - 16px)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.signin-panel-topbar{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-width:0}.signin-panel-topbar .signin-emblem{flex:0 0 auto;margin:0}.signin-shell{padding-block-start:64px}.pregame-shell.lobby-shell,.pregame-shell.room-shell{padding-block-start:0}.pregame-shell>.language-control{position:fixed;inset-block-start:12px;inset-inline-end:16px;z-index:6}html[lang=zh-CN] .game-cockpit .action-name,html[lang=zh-CN] .seat-card h2,html[lang=zh-CN] .intent-card h3{overflow-wrap:anywhere}
