@import "https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=Barlow:wght@400;500;600;700&display=swap";.entry-loading,.army-home,.front-shell{--entry-ink:#151c17;--entry-paper:#f2e9d2;--entry-muted:#b6b8a4;--entry-line:#dfd3a82b;--entry-accent:#dfaa62;color:var(--entry-paper);box-sizing:border-box;font-family:Barlow,Arial,sans-serif}.entry-loading{z-index:90;background:#171e19;animation:.55s both entry-reveal;position:fixed;inset:0;overflow:hidden}.army-home{background:var(--entry-art-fade), var(--entry-artwork) center top / var(--entry-art-size) no-repeat, #171d17}.entry-sr-only{clip-path:inset(50%);width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.entry-kicker{letter-spacing:2.4px;color:#c5c3a9;font:600 11px Barlow,Arial,sans-serif}.entry-load-footer{position:absolute;bottom:6%;left:6%;right:6%}.entry-load-label{justify-content:space-between;gap:16px;margin-bottom:20px;font-size:14px;display:flex}.entry-load-label>:last-child{letter-spacing:2px;color:#c8c4aa;font-size:10px}.entry-load-footer progress{appearance:none;background:#fff2;border:0;border-radius:0;width:100%;height:3px;display:block;overflow:hidden}.entry-load-footer progress::-webkit-progress-bar{background:#fff2}.entry-load-footer progress::-webkit-progress-value{background:#e6c482}.entry-load-footer progress::-moz-progress-bar{background:#e6c482}.entry-load-footer progress:indeterminate{background:linear-gradient(90deg,#0000,#e6c482,#0000) 0/35% 100% no-repeat,#fff2;animation:2s ease-in-out infinite entry-progress}.entry-load-footer button{color:#efe7d2;font:inherit;cursor:pointer;background:#141b16cc;border:1px solid #e9d9ad55;padding:12px 20px}.front-shell:before{content:"";pointer-events:none;opacity:.14;background-image:repeating-linear-gradient(0deg,#0000 0 3px,#0004 3px 4px);position:absolute;inset:0}.entry-contours{opacity:.3;background:repeating-radial-gradient(at 20% 70%,#0000 0 34px,#a1ac7430 35px 36px,#0000 37px 43px),repeating-radial-gradient(at 80% 30%,#0000 0 70px,#a1ac7420 71px 72px,#0000 73px 84px);position:absolute;inset:-20%;transform:rotate(-18deg);-webkit-mask-image:linear-gradient(90deg,#000,#0000 85%);mask-image:linear-gradient(90deg,#000,#0000 85%)}.loading-brand{letter-spacing:2px;font:800 20px/.95 Barlow Condensed,Impact,sans-serif;display:grid;position:absolute;top:7%;left:6%}.loading-brand strong{letter-spacing:6px;font-size:40px}.field-tip{max-width:710px;animation:.7s both entry-reveal;position:absolute;top:43%;left:12%;right:12%}.field-tip h1{margin:20px 0;font:600 clamp(32px,4vw,57px)/1.08 Barlow Condensed,Impact,sans-serif}.field-tip p{color:#c3c6b4;max-width:520px;font-size:17px;line-height:1.7}.army-home{flex-direction:column;justify-content:space-between;height:100dvh;min-height:0;display:flex;position:relative;overflow:auto}.home-options{visibility:hidden;opacity:0;flex-direction:column;flex:1;display:flex}.army-home[data-ready=true] .home-options{visibility:visible;opacity:1;transition:opacity .4s .1s}.home-progress{transition:opacity .25s .1s,visibility 0s linear .35s}.army-home[data-ready=true] .home-progress{opacity:0;visibility:hidden;pointer-events:none}.home-top{background:linear-gradient(#111811bb,#0000);justify-content:space-between;gap:18px;padding:28px 4%;display:flex;position:absolute;top:0;left:0;right:0}.home-top .entry-kicker{color:#fff2cf;text-shadow:0 1px 4px #000;animation:.45s .15s both entry-reveal}.home-status{letter-spacing:1.7px;text-shadow:0 1px 4px #000;font-size:10px;animation:.4s both entry-reveal}.home-status i{background:#d7dcad;border-radius:50%;width:5px;height:5px;margin-right:8px;display:inline-block}.home-command{flex-shrink:0;width:min(1040px,92%);margin:auto auto 30px;padding-top:min(55svh,560px)}.home-heading{justify-content:space-between;align-items:baseline;gap:15px;margin-bottom:18px;display:flex}.home-heading h2{margin:0;font:500 23px Barlow Condensed,sans-serif}.home-modes{grid-template-columns:1fr 1fr;gap:14px;display:grid}.home-mode{color:#f4ead0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:linear-gradient(120deg,#34402dec,#1c241fe8);border:1px solid #ddcfa367;align-items:center;gap:22px;padding:24px 28px;text-decoration:none;transition:border-color .2s,background .2s,transform .2s;display:flex;box-shadow:0 12px 30px #0004}.home-mode:hover{background:#3b4935ee;border-color:#e5bd7d;transform:translateY(-3px)}.home-mode>span:nth-child(2){gap:6px;display:grid}.home-mode small{color:#c0c0a5;letter-spacing:1.4px;font-size:9px}.home-mode strong{font:600 34px/1 Barlow Condensed,Impact,sans-serif}.home-mode>span>span{color:#c9cbb9;font-size:13px}.home-mode b{color:#e7bd7c;margin-left:auto;font-size:23px;font-weight:400}.mode-emblem{color:#e1cc93;border:1px solid #cabb8e66;border-radius:50%;flex-shrink:0;place-items:center;width:58px;height:58px;font-size:32px;display:grid;box-shadow:inset 0 0 20px #0006}.home-bottom{color:#b9bfac;justify-content:space-between;gap:16px;padding-top:21px;font-size:12px;display:flex}.home-bottom>:last-child{letter-spacing:2px;font-size:10px}.home-bottom a{color:#efd095;text-underline-offset:5px}.front-shell{background:radial-gradient(at 12% 40%,#35402b66,#0000 60%),#181e19;height:100dvh;position:relative;overflow:auto}.front-header{border-bottom:1px solid var(--entry-line);align-items:center;gap:32px;padding:24px 4%;display:flex;position:relative}.front-wordmark{color:#f2e4bf;letter-spacing:1px;font:700 23px Barlow Condensed,Impact,sans-serif;text-decoration:none}.front-wordmark>span{color:#d1bc87;margin-right:12px;font-size:24px}.front-back{color:#c5c9b6;align-items:center;gap:8px;margin-left:auto;font-size:12px;text-decoration:none;display:inline-flex}.front-back:hover{color:#fff1cc}.front-content{max-width:1140px;margin:auto;padding:44px 32px 32px;position:relative}.front-title{margin-bottom:30px}.front-title h1{margin:12px 0;font:600 clamp(40px,4.8vw,62px)/1.05 Barlow Condensed,Impact,sans-serif}.front-title p{color:#b7beaa;margin:0;font-size:15px;line-height:1.6}.front-footer{border-top:1px solid var(--entry-line);letter-spacing:1.8px;color:#909a85;justify-content:space-between;gap:20px;max-width:1076px;margin:10px auto 0;padding:22px 0;font-size:9px;display:flex}.setup-layout{grid-template-columns:1.05fr 1fr;align-items:start;gap:30px;display:grid}.setup-panel{border:1px solid var(--entry-line);background:#272f25ad;gap:20px;padding:28px;display:grid}.setup-panel label{color:#dddcc7;gap:9px;font-size:13px;display:grid}.setup-panel input:not([type=checkbox]),.setup-panel select,.room-code-input{color:#f0e6cb;background:#161e18;border:1px solid #9aab8055;border-radius:2px;width:100%;min-height:47px;padding:10px 12px;font:15px Barlow,Arial,sans-serif}.setup-panel small{color:#abb69f;font-size:12px;line-height:1.6}.setup-panel input:focus-visible,.setup-panel select:focus-visible,.front-shell a:focus-visible,.army-home a:focus-visible,.setup-panel summary:focus-visible{outline-offset:4px;outline:2px solid #e2b575}.setup-panel .room-checkbox{align-items:center;gap:12px;min-height:30px;display:flex}.setup-panel .room-checkbox input{accent-color:#d6b576;width:19px;height:19px}.front-primary{color:#20291c;background:#dcc18b;border:1px solid #f3d69a;border-radius:2px;justify-content:space-between;align-items:center;gap:22px;width:100%;min-height:52px;padding:14px 20px;font:700 17px Barlow,Arial,sans-serif;display:flex}.front-primary:hover:not(:disabled){background:#eed5a4}.front-primary:disabled{opacity:.45}.setup-advanced{border-top:1px solid var(--entry-line);border-bottom:1px solid var(--entry-line);padding:14px 0;font-size:13px}.setup-advanced summary{cursor:pointer;color:#cdd0b7}.setup-advanced[open] label{margin-top:16px}.setup-footnote{text-align:center}.map-briefing{border:1px solid var(--entry-line);background:#20291f}.map-illustration{aspect-ratio:480/270;background:linear-gradient(135deg,#4c5a39,#293728);position:relative;overflow:hidden}.map-illustration:after{content:"";pointer-events:none;background-image:linear-gradient(#e4dba50b 1px,#0000 1px),linear-gradient(90deg,#e4dba50b 1px,#0000 1px);background-size:30px 30px;position:absolute;inset:0}.map-illustration svg{width:100%;display:block}.map-contour{stroke:#c1c59a;opacity:.2}.map-water{stroke:#607e7b;stroke-width:38px}.map-naval .map-water{stroke-width:165px}.map-bridge{stroke:#a39065;stroke-width:14px}.map-deck{fill:#8c7853;fill-opacity:.35;stroke:#c3ad7a;stroke-width:2px}.map-base{fill:#8d9c6340;stroke:#d0ce99}.map-rival{fill:#aa673a20;stroke:#d49466}.map-index{letter-spacing:2px;color:#d2cfac;font-size:9px;position:absolute;bottom:13px;left:20px}.map-description{padding:26px}.map-description h2{margin:12px 0;font:600 34px Barlow Condensed,sans-serif}.map-description p{color:#b9c0ab;margin-bottom:28px;font-size:14px;line-height:1.7}.map-description small{letter-spacing:1.4px;color:#a7ae93;font-size:9px}.room-tabs{border-bottom:1px solid var(--entry-line);gap:28px;margin:0 0 28px;display:flex}.room-tabs button{color:#adb6a2;background:0 0;border:0;border-bottom:2px solid #0000;padding:0 0 16px;font:600 16px Barlow,sans-serif}.room-tabs button[aria-pressed=true]{color:#f0dfb8;border-bottom-color:#dcb779}.front-shell .room-join{border:1px solid var(--entry-line);max-width:560px;margin:0 auto 32px;padding:32px}.room-join h2{margin:0;font:600 38px Barlow Condensed,sans-serif}.room-join p{color:#b7beaa;margin:0;line-height:1.6}.setup-panel .room-code-input{letter-spacing:9px;padding:15px;font:600 28px Barlow Condensed,monospace}.front-error{color:#fac8ab;background:#663e2929;border-left:2px solid #d38a60;padding:14px 18px;line-height:1.5}.lobby-layout{grid-template-columns:1.2fr 1fr;align-items:start;gap:28px;display:grid}.lobby-code{border-bottom:1px solid var(--entry-line);grid-template-columns:1fr auto;align-items:center;gap:7px;padding-bottom:20px;display:grid}.lobby-code .entry-kicker{grid-column:1/-1}.lobby-code h2{letter-spacing:7px;color:#efdbac;margin:0;font:600 clamp(32px,4vw,48px)/1 Barlow Condensed,monospace}.lobby-connection{color:#c0bda3;font-size:11px}.lobby-connection[data-connected=true]{color:#b1cc88}.lobby-share{align-items:end;gap:8px;display:flex}.lobby-share label{flex:1;min-width:0}.lobby-share input{font-size:12px!important}.room-secondary{color:#e8d6a9;white-space:nowrap;background:#353e2c;border:1px solid #d5c18c55;min-height:47px;padding:12px 14px;font-size:12px}.lobby-panel .room-players{gap:8px;margin:0}.lobby-panel .room-players li{background:#10191277;border:1px solid #e3d6ac16;border-radius:0;grid-template-columns:40px 1fr auto;padding:18px 12px}.lobby-panel .room-players strong{overflow-wrap:anywhere;min-width:0;font-size:14px}.lobby-panel .room-players small{letter-spacing:1px;margin-top:5px;font-size:8px;display:block}.lobby-panel .room-players [data-ready=true]{color:#bdd98c}.lobby-status{color:#b9c0aa;margin:0;font-size:13px;line-height:1.6}.room-another{color:#b9bfaa;text-align:center;text-underline-offset:4px;font-size:12px}.room-name-form{gap:20px;display:grid}.lobby-rules{border:1px solid var(--entry-line);border-top:0;gap:20px;margin:0;padding:24px;display:grid}.lobby-rules div{gap:6px;display:grid}.lobby-rules dt{color:#9da68f;font-size:11px}.lobby-rules dd{color:#e0dcc5;margin:0;font-size:14px}.setup-panel .saved-battle{color:#dedcc1;background:#182319;border-color:#8a97774a;padding:16px}.setup-panel .saved-battle p{color:#b9c4aa}@media (width<=700px){.lobby-layout{grid-template-columns:1fr}.lobby-panel .room-players li{grid-template-columns:35px 1fr}.lobby-panel .room-players li>span:last-child{grid-column:2}.lobby-code h2{letter-spacing:5px;font-size:38px}.lobby-connection{font-size:10px}.front-shell .room-join{padding:22px}}@keyframes entry-reveal{0%{opacity:0}to{opacity:1}}@keyframes entry-progress{0%{background-position:-50% 0}to{background-position:150% 0}}@media (width<=700px){.home-top{padding:20px}.home-top .entry-kicker{letter-spacing:1px;font-size:8px}.home-status{display:none}.home-command{width:calc(100% - 32px);margin-bottom:24px}.home-heading{margin-bottom:15px;display:block}.home-heading h2{margin-top:8px}.home-modes{grid-template-columns:1fr;gap:10px}.home-mode{gap:17px;padding:18px}.home-mode strong{font-size:28px}.home-mode small{font-size:8px}.mode-emblem{width:43px;height:43px;font-size:25px}.home-bottom{font-size:11px;line-height:1.5}.home-bottom>:last-child{display:none}.front-header{flex-wrap:wrap;gap:12px;padding:19px}.front-header>.entry-kicker{order:3;width:100%;font-size:9px}.front-wordmark{font-size:20px}.front-content{padding:28px 18px}.front-title{margin-bottom:24px}.setup-layout{grid-template-columns:1fr;gap:20px}.setup-panel{padding:20px}.map-illustration{aspect-ratio:480/210}.map-description{padding:20px}.map-description p{margin-bottom:18px}.front-footer{margin:0 18px;font-size:8px;line-height:1.7}.front-footer>:last-child{text-align:right}.field-tip{top:35%;left:8%;right:8%}.field-tip p{font-size:15px}}@media (height<=650px) and (width>=701px){.home-command{margin-bottom:20px}.home-mode{padding:16px 22px}.home-heading{margin-bottom:12px}}@media (prefers-reduced-motion:reduce){.entry-loading,.home-top .entry-kicker,.home-status,.field-tip,.home-command,.entry-load-footer progress:indeterminate{animation:none}.home-options,.army-home[data-ready=true] .home-options,.home-progress,.home-mode{transition:none}.home-mode:hover{transform:none}}:root{color:#24382c;font-synthesis:none;--forest:#273d2e;--cream:#f8f3e7;--muted:#818a77;--gold:#d4b867;background:#c7b58d;font-family:Barlow,Arial,sans-serif}*{box-sizing:border-box}body{margin:0;overflow:hidden}button{font:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.4}button:focus-visible{outline-offset:3px;outline:2px solid #c99f44}canvas{touch-action:none;outline:none;width:100vw;height:100vh;display:block}main{isolation:isolate;height:100vh}.top-bar{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#f8f3e7ed;border:1px solid #ffffff6b;border-radius:9px;align-items:center;gap:28px;padding:14px 18px;display:flex;position:fixed;top:20px;left:24px;right:24px;box-shadow:0 5px 26px #28301a1c}.brand{white-space:nowrap;align-items:center;gap:10px;display:flex}.brand-star{color:var(--forest);font-size:31px}.brand b{letter-spacing:1.4px;font-family:Barlow Condensed,Arial,sans-serif;font-size:24px;font-weight:800;line-height:1;display:block}.brand div>span{letter-spacing:1.9px;margin-top:5px;font-size:7px;font-weight:700;display:block}.location{letter-spacing:1px;border-left:1px solid #283f2b24;align-items:center;gap:9px;padding-left:25px;font-size:11px;font-weight:700;display:flex}.location small{letter-spacing:0;color:#77806d;margin-top:4px;font-size:11px;font-weight:400;display:block}.status-light{background:#668c46;border-radius:50%;width:6px;height:6px;box-shadow:0 0 0 3px #6985511a}.telemetry{letter-spacing:1px;color:#84907b;white-space:nowrap;gap:20px;margin-left:auto;font-size:8px;display:flex}.telemetry b{letter-spacing:0;color:#3a4c35;font-variant-numeric:tabular-nums;margin-right:3px;font-size:14px}.help-toggle{color:#40543e;background:0 0;border:1px solid #40543e40;border-radius:50%;width:27px;height:27px;font-weight:700}.chapter-label{pointer-events:none;text-shadow:0 1px 10px #fff8;position:fixed;top:119px;left:43px}.chapter-label>span{letter-spacing:2px;color:#5a654e;font-size:9px;font-weight:700}.chapter-label h1{letter-spacing:.2px;margin:6px 0 5px;font-family:Barlow Condensed,Arial,sans-serif;font-size:31px;font-weight:600}.chapter-label p{color:#5d6753;margin:0;font-size:12px}.scene-hint{letter-spacing:1.6px;pointer-events:none;text-shadow:0 1px 5px #fff8;align-items:center;gap:9px;font-size:9px;font-weight:600;display:flex;position:fixed;bottom:174px;left:36px}.tiny-star{font-size:14px}.scene-hint i,.bottom-hint i{opacity:.5;background:currentColor;border-radius:50%;width:3px;height:3px}.command-panel{background:var(--cream);border:1px solid #ffffff9c;border-radius:10px;align-items:center;gap:22px;min-height:112px;padding:14px 18px;display:flex;position:fixed;bottom:44px;left:24px;right:24px;box-shadow:0 12px 36px #1e2c242c}.squad-portrait{background:linear-gradient(135deg,#d5dfbf,#aebd93);border:1px solid #354d2f42;border-radius:5px;flex-shrink:0;width:78px;height:78px;position:relative;overflow:hidden}.squad-portrait>svg{fill:#345332;width:66px;height:71px;position:absolute;inset:1px 5px 0}.squad-portrait>span{color:#f4f0cf;font-size:10px;position:absolute;top:5px;left:7px}.selection-info{min-width:150px}.eyebrow{letter-spacing:1.6px;color:#849078;font-size:9px;font-weight:700}.selection-info>strong{margin:3px 0 5px;font-family:Barlow Condensed,Arial,sans-serif;font-size:26px;font-weight:600;display:block}.selection-kinds{color:#718167;gap:12px;font-size:10px;display:flex}.selection-kinds>span{align-items:center;gap:3px;display:flex}.selection-kinds svg{fill:#718167;width:17px;height:17px}.icon-cut{fill:var(--cream)}.formation-section{border-left:1px solid #2e4b2425;min-width:208px;padding-left:22px}.formation-section>.eyebrow{justify-content:space-between;align-items:center;margin-bottom:7px;display:flex}kbd{color:#7c8973;background:#344f3010;border:1px solid #344f3023;border-radius:3px;padding:2px 4px;font:600 8px/1 Barlow,Arial,sans-serif}.formation-buttons{gap:5px;display:flex}.formation-buttons button{color:#829076;background:0 0;border:1px solid #40543e25;border-radius:5px;flex-direction:column;align-items:center;gap:5px;width:62px;padding:8px 6px 6px;font-size:10px;display:flex}.formation-buttons button[aria-pressed=true]{background:var(--forest);color:#f6f0dc;border-color:var(--forest)}.formation-glyph{grid-template-rows:repeat(2,3px);grid-template-columns:repeat(3,3px);place-content:center;gap:3px;width:28px;height:13px;display:grid}.formation-glyph i{background:currentColor;border-radius:50%;width:3px;height:3px}.formation-0{grid-template-rows:3px;grid-template-columns:repeat(6,3px);gap:2px}.formation-2{gap:6px}.order-buttons{flex-direction:column;gap:6px;min-width:85px;display:flex}.order-buttons button,.debug-actions button{color:#526549;background:0 0;border:1px solid #40543e25;border-radius:4px;justify-content:space-between;align-items:center;gap:12px;padding:8px 10px;font-size:11px;display:flex}.debug-actions{flex-direction:column;gap:6px;min-width:142px;margin-left:auto;display:flex}.debug-actions>button:first-child{color:#3f5737;background:#e6ead9;border-color:#ced7bc;font-weight:600}.debug-actions .pause-button{color:#87917b;border:0;justify-content:flex-end;padding-bottom:2px;font-size:10px}.bottom-hint{color:#3c4c32;letter-spacing:1.5px;pointer-events:none;justify-content:center;align-items:center;gap:14px;font-size:8px;font-weight:600;display:flex;position:fixed;bottom:17px;left:0;right:0}.selection-box{pointer-events:none;z-index:20;background:#c9dc7e22;border:1px solid #f4edbd;position:fixed;box-shadow:0 0 0 1px #384f2740}.asset-credits summary{cursor:pointer;align-items:center;min-height:44px;display:flex}.asset-credits a{color:inherit;text-decoration:underline}.help-card{overscroll-behavior:contain;background:var(--cream);z-index:30;border-radius:8px;width:350px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 117px);padding:22px;position:fixed;top:101px;right:24px;overflow-y:auto;box-shadow:0 8px 35px #1f322d30}.help-heading{justify-content:space-between;align-items:center;display:flex}.help-heading button{color:#73836a;background:0 0;border:0;min-width:44px;min-height:44px;font-size:23px}.help-card h2{margin:5px 0 18px;font-family:Barlow Condensed,Arial,sans-serif;font-size:29px;font-weight:600}.help-card dl{grid-template-columns:1fr 1.2fr;gap:12px;margin:0;font-size:11px;display:grid}.help-card .team-visibility{margin:0 0 20px}@media (height<=480px){.help-card[role=dialog]{max-height:calc(100dvh - 32px);top:16px}}.help-card dt{font-weight:600}.help-card dd{color:#77826d;margin:0}.help-card p{color:#7b846f;border-top:1px solid #35452d20;margin-bottom:0;padding-top:14px;font-size:11px;line-height:1.6}.pause-overlay{text-align:center;background:#f8f3e7f5;border:1px solid #fff9;border-radius:10px;padding:30px 45px;position:fixed;top:44%;left:50%;transform:translate(-50%,-50%);box-shadow:0 15px 80px #22352040}.pause-overlay h2{margin:8px 0;font-family:Barlow Condensed,Arial,sans-serif;font-size:35px;font-weight:600}.pause-overlay p{color:#7b876f;font-size:12px}.pause-overlay button{background:var(--forest);color:var(--cream);border:0;border-radius:5px;margin-top:12px;padding:12px 18px;font-size:12px}.pause-overlay button span{margin-left:22px}.error-banner{color:#fff5e5;z-index:100;background:#6e342c;border-radius:8px;align-items:center;gap:15px;max-width:90vw;padding:18px 24px;display:flex;position:fixed;top:110px;left:50%;transform:translate(-50%)}.error-banner span{font-size:12px}.error-banner button,.fatal-screen button{color:inherit;background:0 0;border:1px solid;border-radius:4px;padding:8px 12px}.fatal-screen{padding:10vh 10vw}.fatal-screen h1{font-family:Barlow Condensed,Arial,sans-serif}.fatal-screen p{max-width:60ch}@media (width<=1000px){.top-bar{gap:16px}.location{padding-left:16px}.telemetry{gap:10px}.sim-timing{display:none}.command-panel{gap:13px;padding:12px}.selection-info{min-width:120px}.formation-section{min-width:190px;padding-left:13px}.squad-portrait{width:62px;height:72px}.squad-portrait>svg{width:55px}.debug-actions{min-width:120px}.order-buttons{min-width:66px}.brand b{font-size:21px}.brand div>span{font-size:6px}.selection-kinds{flex-direction:column;gap:5px}}@media (width<=760px){.top-bar{gap:12px;padding:13px;top:14px;left:14px;right:14px}.location{display:none}.telemetry{gap:10px}.brand-star{font-size:25px}.brand b{font-size:20px}.brand div>span{font-size:6px}.help-toggle{width:24px;height:24px}.chapter-label{top:105px;left:25px}.chapter-label h1{font-size:28px}.command-panel{flex-wrap:wrap;gap:10px;bottom:33px;left:14px;right:14px}.squad-portrait{width:54px;height:60px}.squad-portrait>svg{width:47px;height:57px;inset:0 2px}.selection-info{min-width:100px}.selection-info>strong{font-size:23px}.selection-kinds{flex-direction:row;font-size:9px}.formation-section{border-left:0;min-width:173px;margin-left:auto;padding-left:0}.formation-buttons button{width:53px;padding:6px 4px;font-size:9px}.order-buttons{flex-direction:row;flex:1;min-width:0}.order-buttons button{flex:1}.debug-actions{flex-direction:row;flex:1;min-width:0}.debug-actions button{white-space:nowrap;flex:1}.debug-actions .pause-button{border:1px solid #40543e25;justify-content:space-between;padding:6px 8px}.bottom-hint{letter-spacing:.8px;gap:8px;font-size:6px;bottom:11px}.scene-hint{font-size:8px;bottom:201px;left:25px}.help-card{width:min(350px,100vw - 28px);max-height:calc(100vh - 130px);top:91px;right:14px;overflow:auto}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto}}.benchmark-panel{z-index:10;background:#f8f3e7f5;border:1px solid #fff9;border-radius:7px;width:340px;font-size:11px;position:fixed;top:101px;right:24px;box-shadow:0 8px 30px #22352025}.benchmark-panel summary{cursor:pointer;padding:13px 15px;font-weight:600}.benchmark-panel summary span{float:right;color:#758368;font-weight:400}.benchmark-panel>div{padding:0 15px 13px}.benchmark-panel p{color:#758368;margin:0 0 12px}.benchmark-panel dl{grid-template-columns:1fr 1fr;gap:9px;margin:0;display:grid}.benchmark-panel dd{text-align:right;font-variant-numeric:tabular-nums;margin:0}.benchmark-panel .benchmark-note{border-top:1px solid #263e2b20;margin:13px 0 0;padding-top:10px;font-size:9px;line-height:1.6}@media (width<=760px){.benchmark-panel{width:min(340px,100vw - 28px);top:90px;right:14px}}.minimap-panel{z-index:12;color:#f1edd8;-webkit-user-select:none;user-select:none;background:#263b30f5;border:1px solid #eee8cd8c;border-radius:8px;width:236px;padding:7px;position:fixed;bottom:24px;right:20px;box-shadow:0 8px 28px #122c2745}.minimap-panel header{letter-spacing:1.1px;justify-content:space-between;align-items:center;padding:3px 2px 7px;font-size:9px;font-weight:700;display:flex}.minimap-panel header span{color:#c5cbb5;letter-spacing:0;font-size:8px;font-weight:500}.minimap-panel canvas{cursor:crosshair;touch-action:none;background:#85955f;border:1px solid #d6ddac40;border-radius:3px;width:100%;height:auto;display:block}.minimap-panel canvas:focus-visible{outline-offset:2px;outline:2px solid #ecd78e}.minimap-panel footer{color:#c6ccb8;letter-spacing:.2px;justify-content:space-between;gap:5px;padding:7px 2px 2px;font-size:8px;display:flex}@media (width<=900px),(height<=650px){.minimap-panel{width:184px;padding:6px;bottom:16px;right:12px}.minimap-panel header{font-size:8px}.minimap-panel footer{font-size:7px}}@media (width<=560px){.minimap-panel{width:156px}.minimap-panel footer>span:last-child{display:none}}.backyard-game .chapter-label,.backyard-game .scene-hint,.backyard-game .brand div>span{display:none}.backyard-game .top-bar{gap:16px;padding:10px 14px;top:16px;left:20px;right:auto}.backyard-game .brand b{font-size:18px}.backyard-game .brand-star{font-size:23px}.backyard-game .location{padding-left:16px;font-size:10px}.backyard-game .location small{font-size:10px}.backyard-game .telemetry{gap:12px}.backyard-game .sim-timing{display:none}.backyard-game .command-panel{gap:14px;min-height:92px;padding:12px;bottom:24px;left:20px;right:264px}.backyard-game .squad-portrait{width:54px;height:62px}.backyard-game .squad-portrait>svg{width:46px;height:57px;inset:2px}.backyard-game .selection-info{min-width:116px}.backyard-game .selection-info>strong{font-size:23px}.backyard-game .selection-kinds{flex-direction:column;gap:2px}.backyard-game .formation-section{min-width:179px;padding-left:14px}.backyard-game .formation-buttons button{width:51px}.backyard-game .order-buttons{min-width:66px}.backyard-game .debug-actions{min-width:115px}.backyard-game .bottom-hint{letter-spacing:.7px;gap:8px;font-size:7px;bottom:7px;right:264px}.camera-tools{gap:6px;display:flex;position:fixed;top:16px;right:20px}.camera-tools button{min-width:44px;height:44px;color:var(--forest);touch-action:manipulation;background:#f8f3e7ed;border:1px solid #fff9;border-radius:6px;padding:0 12px;font-size:20px;box-shadow:0 3px 12px #26352218}.camera-tools button:last-child{font-size:11px;font-weight:600}@media (width<=1100px){.backyard-game .command-panel{gap:9px}.backyard-game .formation-section{min-width:170px;padding-left:9px}.backyard-game .selection-info{min-width:100px}.backyard-game .selection-kinds{font-size:9px}.backyard-game .debug-actions{min-width:98px}.backyard-game .debug-actions button{gap:4px;padding:8px 6px;font-size:10px}}@media (width<=900px){.backyard-game .command-panel{right:20px}.backyard-game .bottom-hint{right:0}.backyard-game .top-bar{gap:10px}.backyard-game .brand{display:none}.backyard-game .location{border:0;padding:0;display:flex}.backyard-game .minimap-panel{width:168px;top:78px;bottom:auto}}@media (width<=560px){.backyard-game .top-bar{left:12px}.backyard-game .telemetry{display:none}.backyard-game .command-panel{left:12px;right:12px}.camera-tools{right:12px}.backyard-game .minimap-panel{width:148px;right:12px}.backyard-game .bottom-hint{display:none}}.mode-link{min-height:44px;color:var(--forest);background:#f8f3e7ed;border:1px solid #fff9;border-radius:6px;align-items:center;padding:0 14px;font-size:13px;font-weight:600;text-decoration:none;display:flex;position:fixed;top:86px;left:20px}.economy-resources{color:#f4ecd7;background:linear-gradient(145deg,#253d3cf5,#192e31f5);border:1px solid #c6ad7066;border-radius:6px;align-items:center;gap:22px;min-height:44px;padding:9px 14px;font-size:12px;display:flex;position:fixed;top:86px;left:170px;box-shadow:0 4px 18px #10232326}.economy-resources>span{white-space:nowrap}.resource-glyph{color:#ddc58a;vertical-align:middle;width:17px;margin-right:5px;font-size:19px;font-style:normal;display:inline-block}.economy-resources b{font-variant-numeric:tabular-nums;margin-right:5px;font-size:18px}.economy-resources small{color:#d4d8bf}.economy-panel{overscroll-behavior:contain;color:#f1ecd9;background:linear-gradient(135deg,#243d3df7,#172b31f7);border:1px solid #c6ad7070;border-top:2px solid #c6ad70;border-radius:8px;width:min(780px,100vw - 296px);max-height:42dvh;padding:12px 14px;position:fixed;bottom:24px;left:20px;overflow-y:auto;box-shadow:0 8px 30px #10232335,inset 0 1px #f5e8c010}.economy-panel header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:9px;display:flex}.economy-panel .eyebrow{color:#c2b27f;font-size:8px}.economy-panel header strong{margin-top:2px;font-family:Barlow Condensed,sans-serif;font-size:23px;line-height:1.1;display:block}.economy-panel button{color:#ecebd9;touch-action:manipulation;background:#49605c52;border:1px solid #a7b39a4d;border-radius:5px;min-width:44px;min-height:44px;padding:8px 11px;font-size:12px;font-weight:600}.economy-panel button:hover:not(:disabled){background:#71827052;border-color:#d0c18b9c}.economy-panel button.primary-order{color:#f8deb0;background:#c1a25c24;border-color:#cfb574ba}.economy-panel button:disabled{opacity:.42;cursor:default}.economy-panel button:focus-visible,.mode-link:focus-visible{outline-offset:2px;outline:2px solid #e7cc8b}.economy-panel kbd{color:#c3c5a5;background:#11272c61;border-color:#d1d1aa30;margin-left:3px}.economy-shortcuts,.economy-orders{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.economy-shortcuts button{background:0 0;padding:6px 9px;font-size:11px}.economy-orders{border-top:1px solid #b3bd9e26;margin-top:10px;padding-top:10px}.economy-orders>strong{margin-right:auto;font-size:14px}.economy-panel progress{accent-color:#c6b471;width:90px;height:8px}.economy-feedback{color:#dadcc4;min-height:16px;margin:9px 0 0;font-size:12px;line-height:1.35}.economy-panel footer{color:#9faa9a;margin-top:5px;font-size:10px}.training-queue{gap:8px;margin:10px 0 0;padding:0;list-style:none;display:flex;overflow-x:auto}.training-queue li{background:#10272b40;border:1px solid #b7c19f38;border-radius:5px;flex-wrap:wrap;align-items:center;gap:5px;min-width:150px;padding:6px;font-size:11px;display:flex}.training-queue li span{width:100%}.training-queue li button{margin-left:auto}.economy-game .bottom-hint{display:none}@media (width<=900px){.economy-panel{width:auto;right:20px}.economy-resources{flex-direction:column;align-items:flex-start;gap:4px;top:138px;left:20px}}@media (width<=560px){.mode-link,.economy-panel,.economy-resources{left:12px}.economy-panel{padding:10px;bottom:12px;right:12px}.economy-panel header strong{font-size:20px}.economy-panel button{padding:6px 8px;font-size:11px}.economy-panel footer{display:none}}.economy-selection{min-width:170px}.economy-selection>small{color:#b5c1aa;margin-top:4px;font-size:10px;display:block}.economy-formations{flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px;display:flex}.economy-formations>span{margin-right:5px}.economy-formations button{min-width:64px;padding-inline:12px}.economy-formations button[aria-pressed=true]{color:#f1dca4;background:#bba86d30;border-color:#d5bd7a}@media (width>=1000px){.military-commands{grid-template-columns:max-content 1fr;column-gap:14px;display:grid}.military-commands>header,.military-commands>.economy-feedback,.military-commands>footer{grid-column:1/-1}.military-commands .economy-formations{border-top:1px solid #b3bd9e26;justify-content:flex-end;margin-top:10px;padding-top:10px}}.world-labels{z-index:2;pointer-events:none;position:fixed;inset:0}.world-label{pointer-events:auto;color:#f4e6b7;white-space:nowrap;min-width:44px;height:44px;box-shadow:none;touch-action:manipulation;cursor:pointer;background:0 0;border:0;padding:0;font-size:11px;font-weight:600;position:absolute}.world-label-badge{background:#172c2aaa;border:1px solid #d5cda430;border-radius:5px;max-width:100%;padding:4px 6px;display:inline-block}.world-label.enemy .world-label-badge{background:#512b27dd;border-color:#f5ad8299}.world-label.remembered .world-label-badge{color:#b8bba5;border-style:dashed}.world-label:is(:hover,:focus-visible,.selected){z-index:3}.world-label:is(:hover,:focus-visible,.selected) .world-label-badge{background:#3c5146f5;border-color:#ffdf8e}.world-label:focus-visible{outline-offset:1px;outline:2px solid #ffdf8e}.world-label-detail{left:calc(50% + var(--detail-shift,0px));white-space:normal;pointer-events:none;background:#142e32f5;border:1px solid #d7ca9073;border-radius:5px;width:max-content;max-width:180px;padding:5px 8px;font-size:11px;line-height:1.3;display:none;position:absolute;bottom:100%;transform:translate(-50%)}.world-label.detail-below .world-label-detail{top:100%;bottom:auto}.world-label:is(:hover,:focus-visible,.selected) .world-label-detail{display:block}.world-label-meter{background:linear-gradient(to right, #e5a078 var(--fill), #172c2add var(--fill));border-radius:2px;width:70%;height:3px;position:absolute;bottom:2px;left:15%}.world-label-meter[data-condition=building]{background:linear-gradient(to right, #e4c77f var(--fill), #172c2add var(--fill))}.world-label-leader{transform-origin:0;pointer-events:none;background:#d5cda45c;height:1px;position:absolute}.battle-game .top-bar,.battle-game .economy-resources,.battle-game .economy-panel,.battle-game .camera-tools,.battle-game .mode-link,.battle-game .battle-objective{z-index:10}@media (pointer:coarse){.world-label{min-height:44px}}.battle-game .top-bar{color:#f1ecd9;background:linear-gradient(145deg,#253d3cf5,#192e31f5);border-color:#c6ad7066}.battle-game .brand-star{color:#ddc58a}.battle-game .location{border-color:#e1d4aa30}.battle-game .location small,.battle-game .telemetry{color:#b3bfa9}.battle-game .telemetry b{color:#e1e4ce}.battle-game .help-toggle{color:#f0deb3;border-color:#d1c18b66;min-width:44px;min-height:44px}.battle-game .mode-link,.battle-game .camera-tools button{color:#e9e6cf;background:#203735f5;border-color:#c6ad7066}.battle-game .minimap-panel{background:#1c3034f5;border-color:#c6ad7080}.battle-objective{color:#eee7cf;pointer-events:none;background:#1d3235ed;border:1px solid #c6ad7066;border-radius:6px;width:236px;padding:10px 12px;position:fixed;top:86px;right:20px;box-shadow:0 3px 18px #10232326}.battle-objective header{color:#caba8f;letter-spacing:1px;justify-content:space-between;align-items:center;gap:10px;font-size:8px;font-weight:700;display:flex}.battle-objective time{font-variant-numeric:tabular-nums;letter-spacing:0;font-size:13px}.battle-objective strong{margin-top:7px;font-family:Barlow Condensed,sans-serif;font-size:20px;font-weight:600;display:block}.battle-objective p{color:#b8c0aa;margin:5px 0 0;font-size:10px;line-height:1.4}.battle-sound{pointer-events:auto;color:#dedfc8;background:#49605c38;border:1px solid #b9b28a52;border-radius:5px;min-width:44px;min-height:44px;margin-top:6px;padding:6px 10px;font-size:11px}.battle-sound[aria-pressed=true]{color:#f6dca5;border-color:#d3bc7b}.battle-result-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:45;background:#0b1f2587;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.battle-result{color:#f5ecd5;text-align:center;background:linear-gradient(155deg,#284142,#172c33);border:1px solid #d3ba7f;border-radius:12px;width:min(460px,100%);max-height:calc(100dvh - 40px);padding:32px;overflow-y:auto;box-shadow:0 18px 80px #0411178c,inset 0 0 0 5px #dfc7930b}.battle-result-mark{color:#dfc383;text-shadow:0 3px #081f2666;margin-bottom:12px;font-size:60px}.battle-result .eyebrow{color:#c7b888}.battle-result h1{margin:10px 0;font-family:Barlow Condensed,sans-serif;font-size:44px;font-weight:600}.battle-result>p{color:#c6cebb;margin:12px 0 20px;font-size:14px;line-height:1.55}.battle-result-score{color:#b9c4b5;border-block:1px solid #d2c39c33;justify-content:center;gap:24px;margin:18px 0;padding:18px 0;font-size:11px;display:flex}.battle-result-score b{color:#efe8ce;margin-bottom:4px;font-size:24px;display:block}.battle-result button{color:#1d3335;background:#c9ad68;border:1px solid #e2ca88;border-radius:5px;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 20px;font-weight:700;display:flex}.battle-result button:hover{background:#dfc387}@media (width<=900px){.battle-game .economy-resources{gap:3px;max-width:calc(100vw - 220px);top:86px}.battle-objective{width:min(236px,100vw - 220px);top:200px;left:20px;right:auto}.battle-objective strong{font-size:17px}}@media (width<=560px){.battle-game .top-bar{padding:5px 8px}.battle-game .location small{display:none}.battle-game .economy-resources{max-width:calc(100vw - 184px);padding:8px 10px;font-size:10px}.battle-game .economy-resources b{font-size:16px}.battle-objective{width:calc(100vw - 184px);padding:9px;left:12px}.battle-objective header{letter-spacing:0;font-size:7px}.battle-result{padding:24px}}@media (height<=650px){.battle-objective p{display:none}.battle-result{padding:20px 24px}.battle-result-mark{margin-bottom:5px;font-size:36px}}.battle-welcome{color:#f1eedb;background:linear-gradient(130deg,#233e39,#152630);border:1px solid #bca66a;border-radius:14px;width:min(660px,100vw - 48px);max-height:calc(100dvh - 48px);padding:clamp(24px,4vw,48px);overflow:auto;box-shadow:0 30px 100px #07181999}.battle-welcome::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0b1b226b}.battle-welcome h1{letter-spacing:-.02em;margin:20px 0;font:600 clamp(36px,6vw,62px)/.98 Barlow Condensed,sans-serif}.battle-welcome p{color:#c3d1c8;font-size:14px;line-height:1.65}.welcome-steps{grid-template-columns:repeat(3,1fr);gap:20px;margin:28px 0;display:grid}.welcome-steps b{color:#e4c987;letter-spacing:.08em;margin-bottom:10px;font-size:11px;display:block}.welcome-steps span{color:#c3d1c8;font-size:12px;line-height:1.6}.battle-welcome button{color:#152b2b;cursor:pointer;background:#d6ba75;border:1px solid #f3d68c;border-radius:5px;min-height:50px;padding:14px 22px;font-weight:700}.battle-welcome a{color:#e4d9b4;min-height:44px;padding:14px;font-size:12px;display:inline-flex}.battle-welcome small{color:#9caea4;margin-top:20px;font-size:11px;line-height:1.6;display:block}.opponent-pacing{margin:18px 0}.opponent-pacing>strong{color:#e4d9b4;margin-bottom:8px;font-size:12px;display:block}.opponent-pacing nav{gap:8px;display:flex}.opponent-pacing nav a{border:1px solid #647b70;border-radius:5px;flex:1;justify-content:center;align-items:center;min-height:44px;padding:10px 14px;font-weight:600;text-decoration:none}.opponent-pacing nav a[aria-current=page]{color:#152b2b;background:#d6ba75;border-color:#f3d68c}.opponent-pacing p{margin:8px 0 0;font-size:12px}@media (width<=600px){.welcome-steps{grid-template-columns:1fr;gap:12px}.welcome-steps b{margin-bottom:4px}}.room-page{color:#f4e9cf;background:radial-gradient(at top,#48513b,#19251f 75%);place-items:center;min-height:100dvh;padding:32px 18px;font-family:Barlow,sans-serif;display:grid;overflow:auto}.room-card{background:#21332aee;border:1px solid #8b8e67;border-radius:16px;gap:16px;width:min(580px,100%);padding:32px;display:grid;box-shadow:0 20px 80px #0005}.room-card h1{margin:0;font-family:Barlow Condensed,sans-serif;font-size:52px;line-height:1}.room-card p{color:#d4dac5;margin:0;line-height:1.5}.room-card a{color:#e2cf8d}.room-home{padding-bottom:12px}.room-card form,.room-card label{gap:10px;display:grid}.room-card form{gap:16px}.room-card input:not([type=checkbox]),.room-card select{box-sizing:border-box;color:#f4e9cf;width:100%;min-height:46px;font:inherit;background:#10221b;border:1px solid #909c7c;border-radius:5px;padding:10px 12px}.room-card button{color:#203127;cursor:pointer;background:#e2cc8e;border:1px solid #e8d395;border-radius:5px;min-height:46px;padding:10px 16px;font:600 17px Barlow,sans-serif}.room-card button:disabled{opacity:.45;cursor:default}.room-card small{color:#bac5ae;line-height:1.5}.room-card .room-checkbox{align-items:center;gap:12px;min-height:44px;display:flex}.room-checkbox input{accent-color:#e2cc8e;width:22px;height:22px}.room-join{border-top:1px solid #697459;padding-top:22px}.room-players{gap:12px;margin:8px 0;padding:0;list-style:none;display:grid}.room-players li{background:#14261c;border-radius:6px;grid-template-columns:44px 1fr auto;align-items:center;gap:10px;padding:14px 8px;display:grid}.room-seat{text-align:center;background:#537a45;border-radius:3px;padding:8px 3px;font-size:12px}.room-seat-1{background:#a8583a}.room-players li>span:last-child{color:#c1caa9;font-size:13px}.room-card [role=alert]{color:#ffb19d}.network-status{z-index:35;color:#f3e6bc;background:#173528ed;border:1px solid #8f9b70;border-radius:6px;max-width:300px;padding:9px 12px;font:14px Barlow,sans-serif;position:absolute;top:138px;left:18px}.network-status a,.network-status button{color:#ead698}.network-status button{background:0 0;border:1px solid #8f9b70;min-height:44px;margin-top:8px;padding:6px}.network-status p{margin:6px 0;line-height:1.4}.network-status[data-status=playing]{opacity:.85}.network-status[data-status=desync],.network-status[data-status=error]{border-color:#f09d72}@media (width<=700px){.room-card{padding:24px 18px}.room-card h1{font-size:42px}.network-status{max-width:220px;font-size:12px;top:135px;left:10px}}.mcp-runtime-message{z-index:100;color:#f0eddc;background:#252a24;border:1px solid #a6ae8a;padding:14px;font:14px system-ui;position:fixed;top:12px;left:12px;right:12px}
