@font-face{font-family:"VT323";src:url("assets/vt323.ttf") format("truetype");font-weight:400;font-style:normal;font-display:block}
:root{--ink:#192738;--cream:#fff8df;--yellow:#ffd45c;--cyan:#74d9e9;--red:#eb6570;--font:"VT323",monospace}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#152330;color:var(--ink);font-family:var(--font)}body{display:grid;place-items:center}button,select{font:inherit}button{cursor:pointer;border:0;color:inherit}button:disabled{opacity:.4;cursor:default}button:focus-visible,select:focus-visible{outline:3px solid #43bfd0;outline-offset:3px}.hidden{display:none!important}canvas,img{image-rendering:auto}button,kbd{-webkit-tap-highlight-color:transparent}
.arcade{width:min(100vw,calc(100svh * 16 / 9));aspect-ratio:16/9;margin:0;padding:0}.cabinet{position:relative;width:100%;height:100%;aspect-ratio:16/9;overflow:hidden;container-type:inline-size;background:#b8e1ed;border:0;box-shadow:none}.arena{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:16/9;overflow:hidden}.arena>canvas{display:block;width:100%;height:100%;touch-action:none;cursor:crosshair}
header{position:absolute;z-index:12;left:50%;top:1cqw;transform:translateX(-50%);width:10cqw;text-align:center}h1{margin:0;line-height:0}.brand-logo{width:10cqw;height:3.35cqw;object-fit:contain}.header-buttons{display:flex;justify-content:center;gap:.4cqw;margin-top:.3cqw}.header-buttons button{background:#fff8dfdb;border-radius:2cqw;padding:.35cqw .7cqw;font-weight:900;font-size:.7cqw;box-shadow:0 2px 0 #47616c30;color:#29495d}#help{width:1.8cqw;padding:.3cqw;font-size:.9cqw}
.hud{position:absolute;z-index:4;inset:1.1cqw 1.3cqw auto;display:grid;grid-template-columns:1fr 12cqw 1fr;gap:1.5cqw;pointer-events:none}.player{display:flex;align-items:center;gap:.8cqw;min-width:0;width:26cqw;padding:.5cqw 1.1cqw .4cqw .3cqw;border-radius:1.5cqw;background:linear-gradient(115deg,#fffbeded,#fff8dfb8);box-shadow:0 .25cqw .6cqw #24435425}.player.human{border-left:.35cqw solid #45b6c0}.cpu{justify-self:end;justify-content:flex-end;text-align:right;padding:.5cqw .3cqw .4cqw 1.1cqw;border-right:.35cqw solid #e57a6b}.player canvas{width:7cqw;height:8cqw;align-self:flex-end;flex-shrink:0;pointer-events:auto;cursor:pointer}.cpu canvas{width:6.6cqw;height:7.6cqw}.player-info{min-width:0;flex:1}.identity{display:grid;grid-template-columns:auto auto;justify-content:start;align-items:center;gap:.25cqw .55cqw}.cpu .identity{justify-content:end;justify-items:end}.pilot-tag{font-size:.65cqw;letter-spacing:.08em;color:#337580}.cpu .pilot-tag{color:#b74e4e}.country-flag{width:2.3cqw;height:1.5cqw;object-fit:contain;border-radius:.2cqw}.identity>span{grid-column:1/-1;display:block;font-size:1.45cqw;line-height:1.05;font-weight:1000;letter-spacing:.01em;color:#173e50}.cpu .identity>span{color:#94424b}.combat-role{display:inline-flex;align-items:center;justify-content:center;background:#18758a;color:#fff;border-radius:.45cqw;padding:.42cqw .7cqw;font-size:1.15cqw;font-weight:1000;line-height:1;letter-spacing:.045em;margin:.5cqw 0 .45cqw;box-shadow:0 .18cqw 0 #125265}.player[data-role="attack"] .combat-role{background:#cb3b36;color:#fff;box-shadow:0 .18cqw 0 #8f2929}.player[data-role="attack"]{background:linear-gradient(115deg,#fff7e9f5,#ffe4d7e8)}.player.human[data-role="attack"]{border-left-color:#cf3e37}.player.cpu[data-role="defense"]{border-right-color:#21879a}.player.cpu[data-role="attack"]{border-right-color:#cf3e37}.player strong{display:block;font-size:1.5cqw;font-weight:1000;letter-spacing:.08em;line-height:1.05}.player small{display:block;font-size:.53cqw;line-height:1.4;color:#63727b;margin-top:.25cqw}.player .stock{font-size:.6cqw;font-weight:900;color:#34818c}.cpu .stock{color:#b16559}.player .stock.low-stock{color:#c64050}#playerQuote,#enemyQuote{display:none}.round{display:flex;flex-direction:column;align-items:center;justify-content:start;padding-top:6cqw;gap:.15cqw}.round>span{font-size:.66cqw;font-weight:900;color:#2f6c75;letter-spacing:.04em}.round>strong{font-size:2.8cqw;line-height:1;font-weight:1000;color:#17384c;text-shadow:0 2px #fff8df}.round>small{font-size:.6cqw;font-weight:900;color:#627781}.hud[data-player-role="attack"] .round>span{color:#ad594a}
.controls{position:absolute;z-index:4;bottom:.9cqw;left:18cqw;right:18cqw;display:grid;grid-template-columns:1fr;align-items:center;gap:1.3cqw;background:#fffae8f2;padding:.7cqw .85cqw;border-radius:1.1cqw;box-shadow:0 .2cqw 1cqw #152e3730;min-height:5.3cqw}.energy-meters{position:absolute;z-index:4;top:2.3cqw;left:28.8cqw;right:28.8cqw;display:grid;grid-template-columns:1fr 1fr;gap:13cqw;pointer-events:none}.energy-meters .meter{min-width:0;padding:.7cqw .8cqw .8cqw;border-radius:.85cqw;background:#fffbedf2;box-shadow:0 .2cqw .7cqw #24435425;border-top:.24cqw solid #53a8bf}.energy-meters .city-meter{border-top-color:#77ad58}.meter-label{display:flex;align-items:center;justify-content:space-between;gap:.4cqw;font-size:.76cqw;font-weight:900;letter-spacing:.02em;color:#375a67;margin-bottom:.6cqw}.meter-label strong{font-size:1.35cqw;color:#234b5b;line-height:1}.energy{height:.9cqw;min-height:3px;border-radius:.5cqw;overflow:hidden;background:#d6e2dc}.energy>div{height:100%;background:#64b9cf;transition:width .15s}.city-meter .energy>div{background:#77bd60}.weapons{display:grid;grid-template-columns:1fr 1fr 1fr 1.05fr 2.7cqw;gap:.55cqw}.weapon,#repair,#god,#pause{position:relative;display:flex;align-items:center;justify-content:center;min-height:3.6cqw;border-radius:.6cqw;padding:.4cqw .5cqw;gap:.45cqw;background:#e7eee8;color:#415b64;box-shadow:inset 0 -.2cqw #627b751a;font-size:.75cqw;font-weight:900;line-height:1.2;border:2px solid transparent}.weapon:hover,#repair:hover,#god:hover{background:#fff1bd}.weapon.active{color:#19566a;background:#d9f3f3;border-color:var(--weapon-color,#59becd)}.weapon-icon{width:2.3cqw;height:2.3cqw;object-fit:contain}.weapon>span{white-space:nowrap}.weapon small{display:flex;justify-content:space-between;gap:.6cqw;font-size:.53cqw;margin-top:.25cqw;font-weight:700}.ammo-left{font:inherit;color:#385f68}.energy-cost{font:inherit;color:#7c9094}.weapon.empty{opacity:.38}.weapon.empty .ammo-left{color:#ba5560}.weapon.unaffordable{opacity:.45}kbd{position:absolute;top:.15cqw;left:.25cqw;font:.47cqw var(--font);color:#7a9399}#repair{background:#e3efda;color:#507c43}#repair.active{border-color:#69b35f;background:#d0edc4}#repair small,#god small{display:block;font-size:.5cqw;margin-top:.25cqw}#god{background:#f4ddec;color:#a04b87}#god.active{border-color:#dd9d39;background:#ffe2a6}#godLabel{display:block;font:inherit;font-size:.58cqw;line-height:1.4}#pause{background:#dce9e6;font-size:1.2cqw;padding:0}footer{display:none}
.overlay{position:absolute;z-index:7;inset:0;display:flex;align-items:center;justify-content:center;padding:2cqw;text-align:center;background:#182c40b8;backdrop-filter:blur(5px)}.menu{width:42cqw;max-height:100%;overflow:auto;scrollbar-width:thin;padding:1.3cqw 2cqw 1.5cqw;border-radius:1.8cqw;background:#fff9e9f5;box-shadow:0 .8cqw 3cqw #10283e50}.menu-kicker{font-size:.65cqw;letter-spacing:.2em;font-weight:900;color:#7c8a87}.menu .logo-title{font-size:0;line-height:0;margin:.65cqw 0 .9cqw}.game-logo{display:block;width:27cqw;height:9cqw;object-fit:contain;margin:auto}.menu>p{font-size:.8cqw;font-weight:900;letter-spacing:.08em;color:#5a7b85;margin:.7cqw 0 1cqw}.nation-picker{display:flex;gap:1.2cqw;justify-content:center;margin:.8cqw 0 1.2cqw}.nation-picker .nation{display:block;position:relative;width:16cqw;padding:.7cqw .7cqw .8cqw;border-radius:1cqw;background:#e4efec;border:2px solid #c9dfd9;cursor:default}.nation-picker .nation.selected{border-color:#67b9c4;background:#e0f2f0}.pick-role{display:block;font-size:.65cqw;font-weight:900;letter-spacing:.12em;color:#44848e;margin-bottom:.4cqw}.nation:last-child .pick-role{color:#bb6963}.nation select{display:block;width:100%;min-height:2.5cqw;padding:.4cqw;background:#fffbed;border:1px solid #bdd3cd;border-radius:.4cqw;color:#354e5d;font-size:.68cqw;font-weight:800;text-overflow:ellipsis;cursor:pointer}.nation option{font:14px var(--font);background:#fffbed;color:#354e5d}.nation-picker .nation canvas{display:block;width:11cqw;height:11cqw;margin:.3cqw auto}.nation-picker .nation strong{display:block;font-size:1.1cqw;line-height:1.2;color:#294e60}.nation-picker .nation small{display:block;font-size:.6cqw;font-weight:700;color:#7c939a;margin-top:.4cqw}.primary{padding:.85cqw 2.5cqw;min-width:18cqw;border-radius:.65cqw;background:linear-gradient(#ffe797,#ffd25a);color:#634421;font-weight:1000;font-size:1cqw;letter-spacing:.08em;box-shadow:0 .3cqw 0 #c39a42}.primary:hover{filter:brightness(1.07)}.primary:active{transform:translateY(2px);box-shadow:0 .1cqw 0 #c39a42}.start-note{display:block;font-size:.57cqw;line-height:1.8;color:#8c9a9a;margin:.9cqw 0 0}.dialog-menu h2{font-size:2cqw;line-height:1.2;color:#28495a;margin:.8cqw 0 1.1cqw}.dialog-menu p{font-size:.8cqw;line-height:1.7;color:#6c838b;margin:.7cqw 0 1.2cqw}.dialog-menu .primary{font-size:.9cqw}.score-line{display:flex;justify-content:space-between;font-weight:900;font-size:1.2cqw;padding:.5cqw .8cqw;color:#408c93}.score-line.enemy{color:#bc6967}.text-button{display:block;padding:.5cqw .8cqw;margin:.5cqw auto 0;background:transparent;color:#7c929b;font-size:.65cqw;font-weight:900;letter-spacing:.06em}.text-button:hover{color:#284b60}.dialog-menu a{color:#3c8c9d}#dialogBody{margin-bottom:.8cqw}
.event{position:absolute;z-index:2;left:50%;top:39%;transform:translateX(-50%);pointer-events:none;text-align:center;white-space:nowrap;color:#fff7d3;font-size:1.7cqw;line-height:1.3;font-weight:1000;text-shadow:0 .18cqw .2cqw #244354,0 -.08cqw #244354,1px 0 #244354}.arena.has-banter .event{top:43%}.banter-layer{position:absolute;z-index:3;top:24%;left:2cqw;right:2cqw;display:grid;grid-template-columns:1fr 1fr;gap:4cqw;pointer-events:none}.speech-bubble{position:relative;justify-self:start;width:max-content;max-width:24cqw;padding:.75cqw 1cqw;background:#fffbed;color:#344a5b;border-radius:.8cqw;box-shadow:0 .3cqw .7cqw #24435433;font-size:.85cqw;font-weight:800;line-height:1.4;animation:balloon-pop .16s ease-out}.speech-bubble strong{display:block;font-size:.6cqw;font-weight:900;color:#7c9799;margin-bottom:.3cqw}.speech-bubble:before{content:'';position:absolute;top:-.6cqw;left:1.7cqw;border-left:.65cqw solid transparent;border-right:.65cqw solid transparent;border-bottom:.7cqw solid #fffbed}.enemy-bubble{justify-self:end}.enemy-bubble:before{left:auto;right:1.7cqw}@keyframes balloon-pop{from{opacity:.4;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
.capital-report{background:#e8eee6;border-radius:.6cqw;padding:.55cqw .8cqw;margin:.6cqw 0;color:#7b7647}.capital-report strong{display:block;font-size:.85cqw;line-height:1.5}.capital-report small{display:block;font-size:.6cqw;line-height:1.6;color:#7f8c83;margin-top:.2cqw}.capital-report[data-condition="destroyed"]{background:#f7ded6;color:#b36b5c}.capital-report[data-condition="safe"]{background:#e2efda;color:#648d50}.capital-report[data-condition="critical"]{background:#f8e7cd;color:#ad7a43}
.round-overlay{position:absolute;inset:0;z-index:9;background:#193348ed;backdrop-filter:blur(8px);padding:1.5cqw}.round-show{display:grid;grid-template-rows:auto auto auto auto minmax(0,1fr) auto auto auto;grid-template-columns:minmax(0,1fr);width:60cqw;height:100%;max-height:100%;overflow:hidden;text-align:center}.round-show .menu-kicker{font-size:.8cqw;color:#96e4df}.round-show h2{font-size:2.2cqw;line-height:1.1;margin:.4cqw 0;color:#ffe29b;font-weight:1000}.round-points{font-size:.7cqw;font-weight:700;color:#a6c6cf;margin:.3cqw 0}.round-show .capital-report{background:#f9efda12;padding:.4cqw .6cqw;margin:.3cqw 0}.round-show .capital-report strong{font-size:.8cqw;color:#ffe29b}.round-show .capital-report small{font-size:.55cqw;color:#a6c6cf}.round-show #roundAnimation{width:100%;height:100%;min-height:0;object-fit:contain;aspect-ratio:auto}.round-punchline{font-size:.85cqw;color:#fff3cb;font-weight:900;line-height:1.5;margin:.3cqw 0}.round-show .text-button{color:#b4d1d7;font-size:.65cqw;margin:.2cqw auto 0;padding:.4cqw}.anthem-status{font-size:.6cqw;color:#a6c6cf;margin:.2cqw 0;min-height:.8cqw}
@media(max-width:760px){.hud{gap:1cqw}.player{width:26cqw}.player canvas{width:7.8cqw;height:9cqw}.cpu canvas{width:7.5cqw;height:8.7cqw}.identity>span{font-size:1.6cqw}.player small{font-size:.7cqw}.combat-role{font-size:1.15cqw}.pilot-tag{font-size:.75cqw}.player .stock{font-size:.7cqw}.controls{grid-template-columns:1fr;gap:.7cqw;bottom:.8cqw;padding:.55cqw .65cqw}.weapon,#repair,#god,#pause{min-height:4.2cqw;border-width:1px}.weapon>span{font-size:.8cqw}.weapon-icon{width:2.7cqw;height:2.7cqw}.weapon small{font-size:.6cqw}.meter-label{font-size:.76cqw}.meter-label strong{font-size:1.35cqw}#godLabel{font-size:.65cqw}#repair small,#god small{font-size:.6cqw}.header-buttons button{font-size:.8cqw}.menu{width:47cqw}.nation-picker .nation{width:18cqw}.nation select{font-size:.8cqw}.nation-picker .nation canvas{width:12cqw;height:12cqw}.menu-kicker{font-size:.75cqw}.menu>p{font-size:.9cqw}.primary{font-size:1.1cqw}.start-note{font-size:.7cqw}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

.cabinet:has(.overlay:not(.hidden)) header{left:auto;right:1cqw;transform:none}.cabinet:has(.overlay:not(.hidden)) header h1{display:none}

.player[data-role="attack"]{border:.28cqw solid #cf3e37;box-shadow:0 0 0 .12cqw #fff8df99,0 .25cqw .6cqw #24435425}

#fullscreen{width:2cqw;padding:.25cqw;font-size:1.1cqw;line-height:1}#fullscreen.active{background:#ffe29a;color:#634421}html:fullscreen,html:-webkit-full-screen{background:#152330}

.countdown-overlay{z-index:8;background:#192c40ad;backdrop-filter:blur(3px);color:#fff8df;cursor:default}
.countdown-card{width:90cqw;--role-accent:#92edff;text-shadow:0 .2cqw .5cqw #10263880}
.countdown-card h2{font-size:3.7cqw;font-weight:1000;line-height:1.15;letter-spacing:.025em;margin:0;color:var(--role-accent)}
.countdown-card>strong{display:block;font-size:12cqw;font-weight:1000;line-height:1.1;margin:.7cqw 0;font-variant-numeric:tabular-nums}
.countdown-card p{font-size:1cqw;font-weight:900;letter-spacing:.15em;margin:0;color:#fff8df}
.countdown-overlay[data-role="attack"] .countdown-card{--role-accent:#ff9b8f}

/* Pixel artwork, bright battlefield and midnight arcade menus. */
:root{--font:"VT323",monospace}
canvas{image-rendering:pixelated}
.overlay{backdrop-filter:none;background:#080f20d9}
.menu{background:#101b30f5;border:2px solid #354969;color:#e9f4ff;border-radius:.45cqw;box-shadow:0 .4cqw 0 #050b18,0 1cqw 3cqw #02071380}
.menu-kicker{color:#92a8c5}.menu>p{color:#b8cae3}
.nation-picker .nation{background:#17253c;border-color:#354969;border-radius:.3cqw}
.nation-picker .nation.selected{background:#153343;border-color:#66ddec;box-shadow:inset 0 0 0 2px #10202e}
.pick-role{color:#8ce9ed}.nation:last-child .pick-role{color:#ff9d98}
.nation select{background:#0a1425;border-color:#45617c;color:#e9f4ff;border-radius:.15cqw}
.nation option{background:#0d192b;color:#e9f4ff}
.nation-picker .nation strong{color:#eef8ff}.nation-picker .nation small{color:#9fb6ce}
.menu .primary{background:#ffda65;color:#172033;border-radius:.15cqw;box-shadow:0 .3cqw 0 #9d6d2c;border:2px solid #fff0a5}
.start-note{color:#9eb4cc}.dialog-menu h2{color:#ffe18a}.dialog-menu p{color:#b6cbe1}
.text-button{color:#a1b9d3}.text-button:hover{color:#fff0ae}.dialog-menu a{color:#80e1f1}
.score-line{color:#8ce9ed}.score-line.enemy{color:#ffa19b}
.menu .capital-report{background:#20324a;color:#edcf8d;border:1px solid #3b5271}
.menu .capital-report small{color:#afc4da}
.menu .capital-report[data-condition="destroyed"]{background:#3b2030;color:#ffaaa0}
.menu .capital-report[data-condition="critical"]{background:#392c27;color:#ffd88d}
.menu .capital-report[data-condition="safe"]{background:#1c3532;color:#9ae4b2}
.round-overlay{background:#091426f5;backdrop-filter:none}
.countdown-overlay{background:#14263c9e;backdrop-filter:none}
.speech-bubble{border:2px solid #233a51;border-radius:.15cqw}
.cabinet:has(.overlay:not(.hidden)) .header-buttons button{background:#17263e;color:#d8edff;border:1px solid #496680}
.cabinet:has(.overlay:not(.hidden)) #fullscreen.active{background:#ffda65;color:#172033}

/* One clear choice: the full tournament, or a single quick duel. */
.setup-menu .game-logo{width:23cqw;height:7.65cqw}
.mode-switch{display:flex;gap:.5cqw;margin:.75cqw 0 .6cqw}
.mode-tab{flex:1;background:#1b2c46;color:#a9c3dc;border:1px solid #45617c;padding:.65cqw .4cqw;font-size:.72cqw;font-weight:900;line-height:1.3}
.mode-tab.active{color:#132137;background:#ffdc78;border-color:#fff0b4}
.setup-menu #modeHint{font-size:.65cqw;line-height:1.5;margin:.5cqw 0 .8cqw;letter-spacing:.025em;min-height:1cqw}
.setup-menu #newTournament{font-size:.55cqw;padding:.3cqw;margin:.55cqw auto 0}
.setup-menu .start-note{margin-top:.5cqw;font-size:.53cqw}
.nation select:disabled{opacity:1;color:#d6e5f6;background:#17253a;border-color:#2e465d;cursor:default}
.round>small{font-size:.58cqw;white-space:nowrap}
.tournament-result{font-size:.85cqw!important;color:#ffe18a!important}
.coronation-overlay{z-index:10;background:#081326f5;padding:1cqw}
.coronation-scene{width:70cqw;height:100%;display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto auto auto;align-items:center;justify-items:center}
.coronation-scene .menu-kicker{font-size:.6cqw;color:#adc4dc}
.coronation-scene h2{margin:.4cqw 0 .3cqw;font-size:2.8cqw;line-height:1;color:#ffe184;letter-spacing:.05em;text-shadow:0 .18cqw #895a30}
#coronationChampion{font-size:.9cqw;font-weight:900;color:#8ce9ed;margin:.3cqw 0}
#coronationAnimation{display:block;height:100%;width:100%;min-height:0;object-fit:contain;image-rendering:pixelated}
.coronation-score{font-size:.65cqw;color:#f6dca1;margin:.3cqw 0}
.coronation-joke{font-size:.65cqw;color:#a6bdd4;margin:.2cqw 0 .4cqw}
.coronation-actions{display:flex;align-items:center;gap:1.5cqw}.coronation-actions .primary{font-size:.8cqw;padding:.6cqw 1.4cqw;min-width:15cqw;background:#ffdc78;color:#172033;border-radius:.2cqw}
.coronation-actions .text-button{font-size:.6cqw;margin:0;color:#c1d1e1}

.nation-picker[data-complete="true"] .nation:last-child{display:none}
.coronation-overlay{background:#081326}

/* A compact versus screen before each round, with fixed attack and defense sides. */
.countdown-overlay{padding:3cqw 5cqw;background:#091323;backdrop-filter:none;z-index:9}
.briefing{width:88cqw;color:#d7e6f5;text-align:left;font-family:var(--font);border:1px solid #294259;background:#101e32;box-shadow:0 1cqw 4cqw #0005}
.briefing-top{display:flex;justify-content:space-between;align-items:center;padding:1.2cqw 1.6cqw;border-bottom:1px solid #30445b;color:#829eb8;font-size:.7cqw;font-weight:900;letter-spacing:.12em}
.briefing-top strong{color:#ffe18a;font-size:1cqw;letter-spacing:.14em}
.briefing-matchup{display:grid;grid-template-columns:24cqw minmax(0,1fr) 24cqw;gap:1.8cqw;align-items:center;padding:1.6cqw}
.briefing-fighter{overflow:hidden;border:2px solid var(--side);background:#16263b;--side:#ff817b}
.defense-fighter{--side:#80dff5}
.briefing-role{display:flex;align-items:center;justify-content:space-between;padding:.85cqw 1cqw;font-size:1.35cqw;line-height:1.1;font-weight:1000;color:var(--side);background:#0d192b;letter-spacing:.045em}
.briefing-role>span{font-size:.65cqw;color:#adc0d3;padding:.35cqw .5cqw;border:1px solid #3f5269;letter-spacing:.08em}
.briefing-role>span.is-you{background:#ffdc78;color:#152132;border-color:#ffdc78}
.briefing-fighter>canvas{display:block;width:100%;height:auto;image-rendering:pixelated}
.briefing-identity{display:flex;align-items:center;gap:.8cqw;padding:1cqw;background:#111d30;min-height:5.2cqw}
.briefing-identity img{width:3cqw;height:2cqw;object-fit:contain;image-rendering:pixelated;flex-shrink:0}
.briefing-identity strong{display:block;font-size:1.35cqw;line-height:1.2;color:#f6eddb;letter-spacing:.025em}
.briefing-identity small{display:block;font-size:.65cqw;font-weight:700;color:#a5b7c9;margin-top:.35cqw}
.briefing-map{text-align:center;min-width:0}
.briefing-map-title{font-size:.8cqw;font-weight:900;letter-spacing:.1em;color:#ff9a8b}
.briefing-map canvas{display:block;width:100%;height:auto;image-rendering:pixelated;margin:1.1cqw 0 .8cqw;border:1px solid #233d53}
.briefing-target{display:block;font-size:.6cqw;color:#7898af;letter-spacing:.14em}
.briefing-map>strong{display:block;font-size:1.25cqw;color:#93e5f2;line-height:1.3;margin:.5cqw 0}
.briefing-map>small{display:block;font-size:.6cqw;color:#92a8bd;line-height:1.5}
.briefing-footer{display:flex;align-items:center;justify-content:space-between;padding:1.25cqw 2cqw;border-top:1px solid #294057;background:#0c192b}
.briefing-footer h2{font-size:1.8cqw;line-height:1.2;letter-spacing:.03em;color:#89e3f3;margin:0 0 .55cqw}
.countdown-overlay[data-role="attack"] .briefing-footer h2{color:#ff9289}
.briefing-footer p{font-size:.7cqw;color:#a4bbce;margin:0;letter-spacing:.06em}
.briefing-clock{display:flex;align-items:center;gap:1.2cqw;min-width:13cqw;justify-content:end}
.briefing-clock small{font-size:.65cqw;font-weight:700;letter-spacing:.1em;color:#9db2c9}
.briefing-clock strong{display:block;font-size:4.2cqw;color:#ffe18a;line-height:1;width:5cqw;text-align:center;font-variant-numeric:tabular-nums}
.briefing-progress{height:.25cqw;background:#1e3448;overflow:hidden}.briefing-progress span{display:block;width:0;height:100%;background:#ffdb7b}
.countdown-overlay:not(.hidden) .briefing-fighter{animation:briefing-enter .4s ease-out both}
.countdown-overlay[data-swapped="true"]:not(.hidden) .attack-fighter{animation:briefing-swap-left .5s ease-out both}
.countdown-overlay[data-swapped="true"]:not(.hidden) .defense-fighter{animation:briefing-swap-right .5s ease-out both}
@keyframes briefing-enter{from{opacity:0;transform:translateY(1cqw)}to{opacity:1;transform:none}}
@keyframes briefing-swap-left{from{opacity:0;transform:translateX(6cqw)}to{opacity:1;transform:none}}
@keyframes briefing-swap-right{from{opacity:0;transform:translateX(-6cqw)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.countdown-overlay .briefing-fighter{animation:none!important}}

#roundShow[data-persistent="true"] #roundAnimation{cursor:pointer}

/* Fit the combat cards to their contents, leaving the sky open. */
.hud>.player{width:max-content;max-width:23cqw;min-width:0;align-self:start;gap:.55cqw;padding:.4cqw .65cqw;border-radius:.9cqw}
.hud>.player .player-info{flex:0 1 auto}
.hud>.player canvas{width:6.4cqw;height:7cqw;align-self:center}
.hud>.player .combat-role{margin:.3cqw 0;padding:.35cqw .55cqw}
.hud>.player strong{font-size:1.3cqw;letter-spacing:.06em}
.hud>.player .stock{margin-top:.15cqw;line-height:1.2}
@media(max-width:760px){.hud>.player{max-width:25cqw;padding:.45cqw .65cqw}.hud>.player canvas{width:6.8cqw;height:7.4cqw}}

/* Smooth illustrated scenery stays independent of the pixel sprite layer. */
.arena>#landscape{position:absolute;inset:0;image-rendering:auto;pointer-events:none;cursor:default;background:#91d7ed}
.arena>#game{position:relative}

/* Fine pixel presentation, shared by every menu, card, label and dialogue. */
body,button,select,option,kbd{font-family:var(--font);font-synthesis:none}
.player,.hud>.player,.controls,.energy-meters .meter,.energy,.combat-role,.hud>.player .combat-role,.weapon,#repair,#god,#pause,.header-buttons button,.menu,.nation-picker .nation,.nation select,.primary,.menu .primary,.text-button,.speech-bubble,.capital-report,.country-flag,.coronation-actions .primary{border-radius:0}
.hud>.player{background:#eff3e8f5;border:2px solid #5896a4;box-shadow:3px 3px 0 #24435438}
.hud>.player[data-role="attack"]{background:#fff0e6f5;border:3px solid #cf3e37;box-shadow:3px 3px 0 #8f292944}
.controls{background:#fff8e7f5;border:2px solid #acb8a5;box-shadow:3px 3px 0 #24435438}
.energy-meters .meter{border:2px solid #74a5ad;background:#fffbedf5;box-shadow:2px 2px 0 #24435430}
.energy-meters .city-meter{border-color:#87ad64}
.header-buttons button{box-shadow:2px 2px 0 #24435438;border:1px solid #8ca7ab;background:#f5f2df}
.combat-role,.player[data-role="attack"] .combat-role{box-shadow:2px 2px 0 #18374655}
.weapon,#repair,#god,#pause{box-shadow:inset -2px -2px #29435018}
.menu,.round-overlay,.countdown-overlay{backdrop-filter:none}
.menu{box-shadow:4px 4px 0 #050b18}
.primary,.menu .primary{box-shadow:3px 3px 0 #9d6d2c}
.energy{background:#d2daca}.energy>div{box-shadow:inset 0 2px #ffffff35,inset 0 -2px #24435422}
.pilot-tag,.stock,.round>small,.menu-kicker,.start-note,.weapon small,.meter-label,.pick-role{letter-spacing:.025em}
.menu-kicker{line-height:1.5}.nation select{font-size:.85cqw}.nation-picker .nation strong{font-size:1.3cqw}
.mode-tab{font-size:.85cqw}.setup-menu #modeHint{font-size:.8cqw}.setup-menu .start-note{font-size:.65cqw}
.weapon small{font-size:.62cqw}.weapon>span{font-size:.85cqw}.meter-label{font-size:.8cqw}
.header-buttons button{font-size:.8cqw}.identity>span{font-size:1.6cqw}.hud>.player .stock{font-size:.72cqw}
