:root{color-scheme:dark;--bg:#101410;--panel:#151a16;--edge:#2b322a;--muted:#828d7f;--text:#e4e8da;--acid:#b8ef79;--amber:#dda967;--red:#e77b63;--font:Inter,"Segoe UI",Arial,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);font-size:13px;overflow:hidden}button,input{font:inherit}button{cursor:pointer;color:inherit}button:disabled{opacity:.32;cursor:not-allowed}button:focus-visible,input:focus-visible,canvas:focus-visible{outline:2px solid var(--acid);outline-offset:3px}button{transition:background .15s,border-color .15s,transform .15s}button:active:not(:disabled){transform:translateY(1px)}button[hidden],[hidden]{display:none!important}a{color:inherit;text-decoration:none}b,strong{font-weight:650}.topbar{height:78px;display:flex;align-items:center;justify-content:space-between;padding:0 26px;border-bottom:1px solid var(--edge);background:#111612}.brand{display:flex;align-items:center;gap:12px;font-size:24px;font-weight:800;letter-spacing:1.5px;line-height:1.05}.brand b{color:var(--acid);font-weight:850}.brand small{display:block;font-size:8px;letter-spacing:2.1px;color:#8f9a87;margin-top:6px;font-weight:500}.brand-icon{display:flex;align-items:center;justify-content:center;color:var(--acid);width:41px;height:42px;border:1px solid #465539;font-size:24px;letter-spacing:-8px;padding-right:7px;background:#1b2618}.mission-top{display:flex;align-items:center;gap:10px;font-size:10px;font-weight:650;letter-spacing:1.4px;color:#b1b9a9}.mission-top i{height:12px;width:1px;background:#485140;margin:0 7px}.live-dot{display:inline-block;width:6px;height:6px;background:var(--acid);border-radius:50%;box-shadow:0 0 10px #b8ef7940;flex-shrink:0}.top-actions{display:flex;gap:6px;align-items:center}.connection{font-size:9px;letter-spacing:1px;color:var(--muted);margin-right:13px}.icon-button{width:31px;height:31px;border:1px solid var(--edge);background:transparent;color:#a6afa0;font-size:17px}.icon-button:hover{border-color:var(--acid);color:var(--acid)}.shell{height:calc(100dvh - 176px);display:grid;grid-template-columns:minmax(0,1fr) 292px;min-height:420px}.battlefield{position:relative;overflow:hidden;background:#17201b;isolation:isolate}#game{width:100%;height:100%;display:block;outline:none;cursor:crosshair;touch-action:none}.scene-vignette{position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 90px #0008;z-index:1}.sector-tag{position:absolute;left:24px;top:24px;color:#c7cdbd;font-size:10px;letter-spacing:1.5px;pointer-events:none;text-shadow:0 1px 3px #000}.sector-tag b{color:var(--acid);margin-left:5px}.sector-tag small{display:block;font-size:8px;letter-spacing:1.4px;color:#8f9b8d;margin-top:7px;padding-left:15px}.tiny-square{display:inline-block;width:5px;height:5px;background:var(--acid);margin-right:7px;vertical-align:2px}.defense-panel{position:absolute;right:24px;top:24px;width:210px;pointer-events:none}.defense-panel>div:first-child{display:flex;align-items:center;justify-content:space-between;font-size:9px;letter-spacing:1px;color:#b4bfa9;text-shadow:0 1px 3px #000}.defense-panel strong{font-size:16px;letter-spacing:0;color:var(--acid)}.health-track{height:5px;background:#070e0aa8;margin:7px 0}.health-track i{height:100%;display:block;width:100%;background:var(--acid);box-shadow:0 0 8px #b8ef7930;transition:width .2s,background .2s}.defense-panel small{font-size:8px;color:#9ca58e;letter-spacing:.4px}.field-stats{position:absolute;left:24px;top:86px;display:flex;align-items:center;gap:17px;pointer-events:none}.field-stats span{display:flex;flex-direction:column;gap:3px}.field-stats small{font-size:8px;letter-spacing:1.3px;color:#97a38b}.field-stats b{font-size:23px;font-variant-numeric:tabular-nums;color:#e0e6d4}.field-stats i{width:1px;height:27px;background:#52604a88}.bottom-scene{position:absolute;bottom:18px;left:24px;right:24px;display:flex;align-items:center;gap:8px;font-size:9px;letter-spacing:1.2px;color:#a9b79c;pointer-events:none}.status-dot{height:5px;width:5px;border:1px solid var(--acid);border-radius:50%}#field-status{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#pause{pointer-events:auto;margin-left:auto;flex-shrink:0;min-width:132px;min-height:44px;padding:11px 18px;background:#e7b467;border:2px solid #ffd391;border-radius:4px;color:#181b12;font-size:12px;font-weight:800;letter-spacing:1px;box-shadow:0 3px 14px #0008}#pause:hover{background:#ffd391;border-color:#fff0cf}#pause[aria-pressed="true"]{background:var(--acid);border-color:#dbffad}#pause[aria-pressed="true"]:hover{background:#dbffad}.sidebar{background:var(--panel);border-left:1px solid var(--edge);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#394332 transparent;display:flex;flex-direction:column}.section-label{display:flex;justify-content:space-between;align-items:center;font-size:9px;font-weight:600;letter-spacing:1.15px;color:#a2ac96;margin-bottom:13px}.section-label b{font-size:10px;letter-spacing:0;color:#d2dbc7}.room-card{padding:22px 20px 19px;border-bottom:1px solid var(--edge)}.room-card .section-label{margin-bottom:11px}.pill{border:1px solid #465936;padding:3px 5px;font-size:7px;color:var(--acid)}.room-code{display:flex;align-items:center;justify-content:space-between}.room-code>span{font-family:Consolas,monospace;font-size:25px;letter-spacing:4px;font-weight:600;color:#eceddc}.copy-button{border:0;background:transparent;font-size:24px;color:var(--muted);padding:0 4px}.room-card>small{font-size:10px;color:var(--muted);display:block;margin-top:8px;line-height:1.5}.squad-section{padding:20px 20px 17px;border-bottom:1px solid var(--edge)}.squad{display:flex;flex-direction:column;gap:10px}.empty-squad{font-size:11px;color:#78856f;padding:6px 0}.empty-squad>span{padding-right:8px;font-size:15px}.squad-player{display:flex;align-items:center;gap:9px}.squad-player .mini-avatar{width:27px;height:27px;display:grid;place-items:center;border:1px solid #556148;background:#242d20;color:var(--pcolor);font-size:11px;font-weight:700}.squad-name{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.squad-name b{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.squad-name small{font-size:8px;color:#858f7c}.squad-player em{font-style:normal;font-size:10px;color:#a6b693;font-variant-numeric:tabular-nums}.you-tag{color:var(--acid);font-size:7px;letter-spacing:.6px;margin-left:5px}.armory{padding:19px 15px 17px;border-bottom:1px solid var(--edge)}.armory>.section-label,.team-upgrades>.section-label{margin-left:5px;margin-right:5px}.personal-credit{color:var(--amber);font-size:9px;letter-spacing:.3px}.personal-credit b{color:var(--amber)}.weapon-list{display:flex;flex-direction:column;gap:5px}.weapon{width:100%;display:flex;align-items:center;gap:9px;min-height:51px;padding:8px 9px;background:#111610;border:1px solid #30392b;text-align:left}.weapon:hover{border-color:#647751;background:#1c2618}.weapon.active{border-color:#6c8a4b;background:#28351f}.weapon-glyph{font-size:16px;font-family:Consolas,monospace;color:#b6c3a3;min-width:44px;letter-spacing:-3px}.weapon>span:nth-child(2){flex:1}.weapon b{font-size:11px;display:block;font-weight:550}.weapon small{display:block;font-size:7px;letter-spacing:.7px;color:#87947b;margin-top:4px}.weapon em{font-style:normal;font-size:10px;color:#b1bf9b;white-space:nowrap}.weapon.active em{color:var(--acid);font-size:8px}.upgrade-button{width:100%;display:flex;justify-content:space-between;align-items:center;text-align:left;margin-top:10px;padding:11px 9px;background:transparent;border:1px dashed #48583c;font-size:11px}.upgrade-button>span{color:#c4d5ae}.upgrade-button b{font-size:10px}.upgrade-button small{display:block;color:#7f8f74;font-size:7px;letter-spacing:.6px;margin-top:4px;padding-left:14px}.upgrade-button em{font-style:normal;font-size:9px;color:var(--amber)}.team-upgrades{padding:18px 15px}.scrap-credit{font-size:8px;letter-spacing:.2px;color:#a6b895}.scrap-credit b{color:#c6d9b0}.team-upgrade{display:flex;gap:10px;width:100%;align-items:center;border:0;background:transparent;padding:9px 5px;text-align:left}.team-upgrade:hover{background:#20291c}.team-upgrade>span:first-child{width:24px;height:27px;display:grid;place-items:center;background:#293321;color:#b8cba4;font-size:19px}.team-upgrade>span:nth-child(2){flex:1}.team-upgrade b{font-size:11px;display:block}.team-upgrade small{display:block;font-size:7px;color:#829174;margin-top:4px;letter-spacing:.3px}.team-upgrade em{font-style:normal;color:#a9b895;font-size:10px}.sidebar-foot{padding:16px 20px;margin-top:auto;border-top:1px solid var(--edge);font-size:7px;letter-spacing:1.1px;color:#6d7d61}.sidebar-foot .tiny-square{width:3px;height:3px}.sidebar-foot .text-button{display:block;font-size:10px;margin-top:9px;padding:0;color:#8d9c81;letter-spacing:0}.hud{height:98px;display:flex;align-items:center;padding:0 26px;gap:32px;border-top:1px solid #3b4732;background:#151b15}.identity{display:flex;align-items:center;gap:11px;min-width:185px;max-width:240px}.avatar{width:41px;height:44px;border:1px solid #51613f;background:linear-gradient(150deg,#35422a,#20291b);display:grid;place-items:center;color:var(--acid);font-size:22px;font-weight:700;position:relative}.avatar:after{position:absolute;content:"";bottom:-1px;left:-1px;width:12px;height:3px;background:var(--acid)}.identity>div:last-child{min-width:0}.identity b{font-size:12px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;letter-spacing:.5px}.identity span{display:block;font-size:9px;color:#8d9c7c;margin-top:6px}.ammo-hud{min-width:175px;padding-left:26px;border-left:1px solid #35402d}.hud-caption{font-size:8px;letter-spacing:1.15px;color:#9cae88}.ammo-hud>div:nth-child(2){display:flex;align-items:center;gap:7px;margin-top:1px;height:38px}.ammo-hud strong{font-size:34px;line-height:1;color:#eaf0dd;font-variant-numeric:tabular-nums}.ammo-hud>div>span{font-size:16px;color:#69795a;margin-top:9px}.key-button,kbd{background:#20291c;border:1px solid #48573b;color:#bdcba8;font-size:9px;font-family:var(--font);padding:3px 6px}.key-button{margin-left:12px}.reload-track{height:2px;background:#283121;width:145px;margin-top:3px}.reload-track i{display:block;height:100%;width:100%;background:var(--acid)}.grenade-hud{display:flex;gap:12px;align-items:center;background:transparent;border:0;padding:7px 15px 7px 0}.grenade-icon{font-size:28px;color:#b2bf9e}.grenade-hud b{display:block;font-size:24px;line-height:1}.grenade-hud small{display:block;color:#829474;font-size:7px;letter-spacing:.9px;margin-top:5px}.grenade-hud kbd{font-size:7px;margin-left:7px}.controls-strip{display:flex;gap:18px;margin-left:auto}.controls-strip>span{display:flex;flex-direction:column;gap:7px;color:#829374;font-size:7px;letter-spacing:.9px;text-align:center}.controls-strip kbd{font-size:7px}.roof-note{font-size:8px;line-height:1.8;letter-spacing:1.2px;color:#627355;padding-left:24px;border-left:1px solid #35402d}.roof-note b{font-weight:400;color:#98ab84}.welcome{position:absolute;inset:0;background:linear-gradient(90deg,#0e1510e8 0%,#101912b8 35%,#10191220 70%);z-index:5;display:flex;align-items:center;padding:25px 6%}.welcome-card{width:330px}.eyebrow{font-size:9px;letter-spacing:1.8px;color:#b1bf9d;display:flex;gap:9px;align-items:center;font-weight:600}.welcome h1{font-family:Impact,"Arial Black",sans-serif;font-size:92px;font-weight:900;line-height:.91;letter-spacing:1px;margin:27px 0 18px;text-shadow:3px 3px 0 #0004}.welcome h1 em{font-style:normal;color:var(--acid)}.welcome-card>p{font-size:16px;color:#c2cbb6;line-height:1.55;margin:0;font-weight:300;letter-spacing:.4px}.welcome-rule{width:32px;height:2px;background:#6a8252;margin:22px 0}.welcome label{font-size:8px;letter-spacing:1.1px;color:#a0b18d;display:block;margin-bottom:8px}input{border:1px solid #47543b;background:#10180fe6;color:#ecf2df;padding:12px 13px;border-radius:0;outline:none;min-width:0}input::placeholder{color:#6c7a60}#nickname{width:100%;height:43px;font-size:12px}.primary{display:flex;align-items:center;justify-content:space-between;gap:22px;background:var(--acid);color:#172110;border:1px solid var(--acid);font-size:10px;font-weight:800;letter-spacing:1.1px;padding:14px 18px;min-height:43px}.primary:hover{background:#ccff92;border-color:#ccff92}.primary.large{width:100%;margin-top:9px;height:46px}.primary>span{font-size:18px;font-weight:400}.secondary{border:1px solid #526345;background:#1a2615;color:#b9cba7;font-size:9px;font-weight:650;letter-spacing:1px;padding:12px 15px}.secondary:hover{background:#2a3a21;border-color:#8bab67}.join-row{display:flex;gap:8px;margin-top:9px}.join-row input{flex:1;width:50%;font-size:10px;letter-spacing:2px;text-transform:uppercase;height:40px}.join-row .secondary{width:106px}.text-button{border:0;background:transparent;color:#bacba6;font-size:10px;padding:13px 0}.text-button:hover{color:var(--acid)}.text-button>span{margin-left:13px}.welcome-controls{display:flex;gap:21px;border-top:1px solid #46533a;padding-top:15px;margin-top:3px;font-size:7px;color:#8b9d7b;letter-spacing:.7px}.welcome-controls b{font-size:13px;vertical-align:-1px;color:#c2d5ad;margin-right:4px}.build-note{display:block;margin-top:12px;font-size:8px;color:#63765b}.form-error{color:#ffb499;font-size:11px;line-height:1.4;min-height:0;margin-bottom:7px}.form-error:empty{display:none}.stage-overlay{position:absolute;left:50%;top:46%;transform:translate(-50%,-50%);background:#111b13ed;border:1px solid #536746;box-shadow:0 20px 100px #0008;backdrop-filter:blur(9px);padding:30px 35px;z-index:4;width:min(480px,85%);text-align:center}.stage-overlay>.eyebrow{justify-content:center;font-size:9px}.stage-overlay h2{font-family:Impact,"Arial Black",sans-serif;font-size:48px;line-height:1.1;font-weight:500;margin:15px 0;color:#ddeaCA}.stage-overlay p{font-size:12px;color:#9eaf91;line-height:1.7;margin:12px 0 22px}.stage-overlay .primary,.stage-overlay .secondary{margin:15px auto 0}.check-label{display:flex;gap:8px;align-items:center;justify-content:center;font-size:10px;color:#a8b99a}.check-label input{accent-color:var(--acid)}.stage-results{font-size:11px;color:#bfd5a8;line-height:1.8}.event-banner{position:absolute;left:50%;top:95px;transform:translateX(-50%) translateY(-8px);background:#131f12dd;border:1px solid #5b7548;padding:12px 25px;font-size:11px;letter-spacing:2px;color:var(--acid);z-index:3;pointer-events:none;opacity:0;transition:opacity .25s,transform .25s;white-space:nowrap}.event-banner.visible{opacity:1;transform:translateX(-50%) translateY(0)}.toast{position:fixed;bottom:118px;left:50%;transform:translateX(-50%) translateY(8px);border:1px solid #5f764b;background:#202e19f5;color:#d0e5bc;padding:12px 20px;font-size:12px;opacity:0;pointer-events:none;transition:.2s;z-index:20;max-width:85vw}.toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}.disconnect{position:absolute;inset:0;background:#0c130ceb;z-index:8;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px}.disconnect strong{font-size:21px}.disconnect>span:last-of-type{font-size:12px;color:#9eae90}dialog{border:1px solid #536746;background:#151f16;color:#b9c8aa;max-width:530px;padding:35px;box-shadow:0 20px 100px #0008}dialog::backdrop{background:#000b;backdrop-filter:blur(5px)}.dialog-close{position:absolute;right:14px;top:9px;font-size:25px;border:0;background:transparent;color:#a4b393}dialog h2{font-family:Impact,"Arial Black",sans-serif;font-size:43px;line-height:1.1;margin:20px 0;color:#e6f0d8;font-weight:500}dialog p{font-size:12px;line-height:1.8;color:#a9b99b}dialog dl{display:grid;grid-template-columns:105px 1fr;font-size:11px;gap:12px;border-top:1px solid #3d4b33;border-bottom:1px solid #3d4b33;padding:20px 0}dialog dt{color:var(--acid);font-weight:600}dialog dd{margin:0;color:#c1ceb2}dialog>small{font-size:10px;line-height:1.7;color:#829475;display:block}#game:focus-visible{outline-offset:-3px}body.in-room .sector-tag{opacity:.85}
@media(min-width:1600px){.shell{grid-template-columns:minmax(0,1fr) 320px}.sidebar>section,.room-card{padding-left:24px;padding-right:24px}.welcome{padding-left:9%}.welcome-card{width:360px}.welcome h1{font-size:108px}.welcome-card>p{font-size:18px}}
@media(max-height:850px){.topbar{height:65px}.shell{height:calc(100dvh - 149px);min-height:380px}.hud{height:84px}.room-card{padding-top:16px;padding-bottom:14px}.squad-section,.armory,.team-upgrades{padding-top:14px;padding-bottom:13px}.weapon{min-height:45px}.welcome h1{font-size:74px;margin:18px 0 12px}.welcome-card>p{font-size:14px}.welcome-rule{margin:15px 0}.welcome{padding-top:15px;padding-bottom:15px}.welcome-card{width:300px}.welcome-controls{padding-top:10px}.build-note{margin-top:8px}}
@media(max-width:1100px){.shell{grid-template-columns:minmax(0,1fr) 253px}.topbar,.hud{padding-left:18px;padding-right:18px}.mission-top{font-size:8px;letter-spacing:.7px}.connection{display:none}.hud{gap:20px}.identity{min-width:145px}.ammo-hud{min-width:150px;padding-left:15px}.controls-strip{gap:10px}.roof-note{display:none}.grenade-hud{gap:8px;padding-right:0}.grenade-hud kbd{display:none}.sector-tag{left:18px;top:17px}.defense-panel{right:18px;top:17px;width:160px}.welcome h1{font-size:70px}.weapon-glyph{min-width:35px;font-size:14px}.room-card,.squad-section{padding-left:16px;padding-right:16px}}
@media(max-width:800px){body{overflow:auto}.topbar{height:65px;padding:0 14px}.brand{font-size:20px}.brand small{font-size:6px;letter-spacing:1.7px}.brand-icon{width:31px;height:34px;font-size:20px}.mission-top{display:none}.shell{height:auto;min-height:0;display:flex;flex-direction:column}.battlefield{height:calc(100dvh - 150px);min-height:520px}.sidebar{border-left:0;border-top:1px solid var(--edge);display:grid;grid-template-columns:1fr 1fr;overflow:visible}.room-card,.squad-section{border-bottom:1px solid var(--edge)}.armory{border-bottom:0}.sidebar-foot{grid-column:1/-1}.hud{height:85px;position:sticky;bottom:0;z-index:6;gap:15px;padding:0 14px}.identity{min-width:110px;max-width:140px}.identity b{font-size:10px}.identity span{font-size:8px}.avatar{width:30px;height:36px;font-size:18px}.ammo-hud{min-width:120px;padding-left:13px}.ammo-hud strong{font-size:28px}.ammo-hud>div>span{font-size:13px}.ammo-hud .hud-caption{font-size:6px}.reload-track{width:120px}.controls-strip{display:none}.grenade-hud{margin-left:auto}.grenade-hud b{font-size:21px}.grenade-icon{font-size:23px}.welcome{padding-left:7%;background:linear-gradient(90deg,#0e1510f2,#10191298 65%,#10191230)}.welcome-card{width:min(300px,85%)}.welcome h1{font-size:72px}.field-stats{top:75px}.sector-tag{font-size:8px}.sector-tag small{font-size:6px}.defense-panel{width:140px}.defense-panel>div:first-child{font-size:7px}.defense-panel strong{font-size:13px}.defense-panel small{display:none}.stage-overlay{padding:25px 22px}.stage-overlay h2{font-size:40px}.event-banner{top:145px;font-size:9px;padding:10px 17px}.room-code>span{font-size:21px;letter-spacing:2px}.weapon{gap:6px}.weapon-glyph{display:none}.team-upgrades{padding:19px 12px}.section-label{font-size:8px;letter-spacing:.8px}}

.weapon:disabled{opacity:.72}.armory-open{background:#b8ef79;color:#172115;border-color:#b8ef79;font-weight:800}.armory-open span{font-size:9px;margin-left:5px}@media(max-width:860px){.armory-open{padding:7px}.top-actions .connection{display:none}}

/* Tactical tools stay in the sidebar, leaving the fixed arena unobstructed. */
.tactical-panel,.vote-panel,.career-panel{padding:16px 22px;border-bottom:1px solid #35432c;color:#c4ceb6;font-size:12px;line-height:1.5}
.tactical-panel p,.vote-panel p,.career-panel p{margin:8px 0}.tactical-panel small,.vote-panel small,.career-panel small{display:block;color:#95a18b;font-size:10px;margin-top:8px}
#boss-tactic{color:#ffbd77}#vote-options,#career-badges{display:grid;gap:6px}#vote-options button,#career-badges button{padding:8px;text-align:left;border:1px solid #3b4b32;background:#192219;color:#c4ceb6;cursor:pointer}#vote-options .selected,#career-badges .selected{border-color:#b8ef79;background:#2b3b21}#career-badges button:disabled{opacity:.45;cursor:default}.disconnect{max-width:min(440px,90%)}.disconnect button{margin-top:8px}

.career-panel summary{cursor:pointer;list-style:none}.tactical-panel{padding-top:10px;padding-bottom:10px}

.mode-picker{border:1px solid #3c4d32;padding:10px;margin:12px 0;display:grid;gap:8px;text-align:left}.mode-picker legend{font-size:10px;letter-spacing:1px;color:#a5b88c}.mode-picker label{display:block;margin:0;font-size:12px;color:#d5dfc5;cursor:pointer}.mode-picker input{width:auto;min-height:0;margin:0 8px 0 0;accent-color:#b8ef79}.mode-picker small{display:block;padding-left:24px;color:#91a184;font-size:10px;line-height:1.4}.chat-guide{padding:14px 22px;border-bottom:1px solid #35432c;font-size:12px;color:#c4ceb6;line-height:1.7}.chat-guide p{margin:8px 0}.chat-guide small{display:block;color:#95a18b;font-size:10px}

.room-mode-picker{margin:12px 0;display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.room-mode-picker .section-label{width:100%}.room-mode-picker button[aria-pressed="true"]{border-color:#b8ef79;background:#2b3b21}
.expedition-choice{margin:12px 0;padding:12px;border:1px solid #a3ba6c;background:#20301fe8}.expedition-choice h3{margin:0 0 6px;font-size:12px;color:#d9edaa}.expedition-choice>p{font-size:11px;color:#f1d994}.expedition-choice>small{display:block;margin-top:8px;color:#b5c5a7;font-size:10px}#expedition-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.expedition-option{padding:10px;text-align:left;background:#17271c;border:1px solid #586e48;color:#dce7cc;min-height:110px}.expedition-option[aria-pressed=true]{border-color:#b8ef79;background:#354c26}.expedition-option b,.expedition-option span,.expedition-option small{display:block}.expedition-option b{font-size:12px}.expedition-option span{font-size:11px;line-height:1.45;margin:7px 0}.expedition-option small{font-size:10px;color:#d9c98d}#supply-status{color:#efd69a}#quick-task{color:#b7dded}#quick-task.success{color:#b8ef79}#expedition-active{display:block;font-size:9px;color:#c7b3de}.wide-battle:not(.in-room) #expedition-choice{display:none!important}@media(max-width:650px){#expedition-options{grid-template-columns:1fr}.expedition-option{min-height:0;padding:9px}.expedition-option span{margin:4px 0}.expedition-choice{padding:8px}.preparation{max-height:65vh;overflow:auto}}

/* The armory occupies its own column; gameplay stays fully visible. */
.wide-battle .shell{display:grid;grid-template-columns:minmax(0,1fr);position:relative;overflow:hidden}
.wide-battle.panel-open .shell{grid-template-columns:minmax(0,1fr) clamp(180px,25vw,310px)}
.wide-battle .battlefield{height:100%;width:100%;min-width:0;overflow:hidden}
.wide-battle .sidebar{position:relative;inset:auto;width:auto;max-width:none;min-width:0;display:none;overflow-y:auto;transform:none;visibility:visible}
.wide-battle.panel-open .sidebar{display:flex;flex-direction:column;transform:none;visibility:visible}
.wide-battle.panel-open .defense-panel{right:22px}
.panel-button{display:flex;gap:14px;align-items:center;height:32px;padding:0 12px;border:1px solid #526344;background:#202d19;color:#c6dcb0;font-size:8px;font-weight:650;letter-spacing:1px}
.panel-button span{font-size:15px;font-weight:400;color:var(--acid)}
.panel-button:hover,.panel-button[aria-expanded=true]{border-color:var(--acid);background:#33452a}
.wide-battle .brand-icon{letter-spacing:0;padding:0;font-size:30px}
.wide-battle .welcome{background:linear-gradient(90deg,#0e1510e8 0%,#10191299 25%,#10191200 57%)}
.wide-battle .welcome h1{letter-spacing:2px}
@media(max-width:1050px){.wide-battle .mission-top{display:none}}
@media(max-width:800px){.wide-battle .shell{height:calc(100dvh - 150px);min-height:520px}.wide-battle .battlefield{min-height:0}.wide-battle .sidebar{border-top:0}.wide-battle .sidebar-foot{grid-column:auto}.panel-button{padding:0 9px;font-size:7px;gap:7px}.wide-battle .top-actions{gap:4px}}
@media(max-width:520px){.wide-battle .brand{font-size:17px;gap:7px}.wide-battle .brand small{font-size:5px;letter-spacing:1.1px}.wide-battle .brand-icon{width:28px;height:31px;font-size:25px}.panel-button{max-width:104px;font-size:6px;letter-spacing:.5px;gap:5px}.wide-battle .topbar{padding-left:10px;padding-right:10px}.wide-battle .icon-button{width:26px;height:29px}.wide-battle .top-actions #fullscreen{display:none}}
.kick-connect{display:flex;flex-direction:column;gap:7px;margin:0 0 12px}.kick-connect button.primary{padding:12px;background:#53fc18;color:#10200a;font-weight:800;letter-spacing:1px}.kick-connect #kick-status{font-size:10px;line-height:1.5;color:#b8d69c}.kick-connect a{font-size:10px;color:#b8ef79}.kick-connect [hidden],.broadcast-share[hidden]{display:none!important}.welcome-card .broadcast-status{font-size:11px;line-height:1.5;margin:0 0 10px;color:#d7bd81}.broadcast-share{display:flex;flex-direction:column;gap:9px;padding-top:16px;margin-top:14px;border-top:1px solid #38472e}.broadcast-share label{font-size:9px;letter-spacing:1px;color:#b8ef79}.broadcast-share input{width:100%;padding:8px;border:1px solid #455339;background:#111a13;color:#d5e5c5;font-size:10px}.broadcast-share button{font-size:11px;padding:10px}.wide-battle .welcome-card{max-height:100%;overflow-y:auto;padding-bottom:20px}.wide-battle .welcome h1{font-size:clamp(50px,8vh,95px);line-height:.87;margin:16px 0}.wide-battle .welcome .welcome-rule{margin:16px 0}.wide-battle .welcome-card>p{font-size:16px}.wide-battle .welcome input[readonly]{color:#b8ef79;border-color:#657d46}
.viewport-side{display:none;position:absolute;z-index:3;top:36%;width:calc(var(--scene-side,0px) - 48px);max-width:260px;color:#a6b69b}.in-room .has-side-wings .viewport-side{display:block}.viewport-left{left:24px}.viewport-right{right:24px}.viewport-side .section-label{font-size:9px;line-height:1.5}.viewport-side dl{margin-top:24px}.viewport-side dt{font:700 10px Consolas,monospace;color:#c8dfb2;letter-spacing:1px;margin-top:17px}.viewport-side dd{margin:5px 0 0;font-size:12px;color:#869980}.viewport-side strong{display:block;font:700 30px Consolas,monospace;color:#d8ebc8;margin:22px 0 8px}.viewport-side p,.viewport-side small{font-size:11px;line-height:1.7;display:block;color:#87997e}.viewport-side button{width:100%;font-size:9px;padding:11px 7px;margin:12px 0}.viewport-side small{margin-top:16px}

.volume-control{padding:16px 22px;border-bottom:1px solid #34422e}.volume-control label{display:flex;justify-content:space-between;font-size:10px;letter-spacing:1px}.volume-control input{width:100%;accent-color:#b8ef79;margin-top:12px}.open-rooms{margin:14px 0;padding-top:12px;border-top:1px solid #455339}.open-rooms .section-label{align-items:center}.open-rooms .text-button{margin:0;padding:4px}.open-rooms #room-list{max-height:165px;overflow:auto;font-size:11px;color:#b4c3a8}.open-room{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 0;border-bottom:1px solid #33412c}.open-room b,.open-room small{display:block}.open-room small{margin-top:4px;color:#8e9e82}.open-room button{font-size:9px;padding:9px;flex-shrink:0}.wave-leader{color:#c5f28c;border:1px solid #66834b;background:#14220ee8;padding:14px;margin:12px 0;max-width:520px;font-size:13px;line-height:1.6}

.stage-overlay.has-podium{width:min(620px,94%);top:50%;max-height:calc(100% - 20px);overflow-y:auto;padding:18px 24px}
.stage-overlay.has-podium h2{font-size:28px;margin:8px 0}.stage-overlay.has-podium p{margin:6px 0 10px;font-size:11px}.stage-overlay.has-podium>button{margin-top:10px}
.wave-leader{border:0;background:transparent;padding:0;margin:12px 0 8px;max-width:none;color:#dce7cd}
.podium-heading{font-size:10px;letter-spacing:2px;color:#d9c78d;font-weight:750;margin-bottom:0}
.podium-stage{display:flex;justify-content:center;align-items:flex-end;gap:8px;padding:0 4px}
.podium-place{width:31%;min-width:0;display:flex;flex-direction:column;align-items:center;--medal:#c4ab77}
.podium-place canvas{display:block;width:100%;max-width:160px;aspect-ratio:4/3;height:auto;image-rendering:pixelated;margin-bottom:-3px}
.podium-step{width:100%;height:64px;background:linear-gradient(135deg,#394334,#202c21);border:1px solid var(--medal);box-shadow:inset 0 5px #ffffff0a;display:flex;justify-content:center;align-items:center;color:var(--medal)}
.podium-step strong{font:700 35px Consolas,monospace;text-shadow:0 2px #0008}.podium-place-1{--medal:#edce70}.podium-place-1 .podium-step{height:96px;background:linear-gradient(135deg,#544b27,#302e1c);box-shadow:0 0 28px #e5c46513,inset 0 5px #ffffff0a}.podium-place-2{--medal:#b5c8ce}.podium-place-3{--medal:#c79c76}.podium-place-3 .podium-step{height:44px}
.podium-name{margin-top:9px;font-size:12px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.podium-kills{font-size:10px;color:#c5d3b8;letter-spacing:.5px;margin-top:3px}.podium-note{display:block;color:#8c9b81;font-size:9px;margin-top:10px}.podium-empty{opacity:.3}
@media(max-height:650px){.stage-overlay.has-podium{padding:12px 18px}.podium-place canvas{max-width:120px}.podium-place-1 .podium-step{height:70px}.podium-step{height:48px}.podium-place-3 .podium-step{height:32px}.stage-overlay.has-podium h2{font-size:23px}.stage-overlay.has-podium p{margin-bottom:0}}

.wave-brief{position:absolute;left:24px;top:145px;max-width:230px;pointer-events:none;color:#dfcb8d;text-shadow:0 1px 4px #000;z-index:2}.wave-brief b{display:block;text-transform:uppercase;font-size:10px;letter-spacing:1px}.wave-brief small{display:block;color:#aabb9b;font-size:9px;line-height:1.5;margin-top:5px}

.home-button{height:32px;flex-shrink:0;padding:0 12px;border:1px solid #91aa68;background:#2b3b23;color:#dcf5b9;font-size:10px;font-weight:700;letter-spacing:.7px;white-space:nowrap}.home-button:hover{background:#3e512e;border-color:#c4ed98}.wide-battle .top-actions{min-width:0}.wide-battle .brand{flex-shrink:0}
@media(max-width:650px){.in-room .topbar{height:auto;min-height:65px;flex-wrap:wrap;gap:10px;padding-top:10px;padding-bottom:10px}.in-room .top-actions{margin-left:auto;flex-wrap:wrap;justify-content:flex-end}.home-button{font-size:9px;padding:0 8px}.in-room #armory-open{display:none}}

.continue-card{padding:14px;margin:0 0 14px;border:1px solid #8ba75b;background:#24321fed}.continue-card p{font-size:12px;line-height:1.6;color:#d5e6bd;margin:10px 0}.continue-card small{display:block;font-size:10px;line-height:1.5;color:#a2b592;margin:10px 0}.continue-card .text-button{font-size:10px;margin-bottom:0}.continue-card .large{margin-top:8px}

.account-saves{border:1px solid #697e47;background:#192719ed;padding:13px;margin-bottom:14px}.account-room{padding:8px 0;border-bottom:1px solid #3d4c31}.account-room:last-child{border:0}.account-room p{font-size:11px;line-height:1.5;color:#c6d9b3;margin:6px 0}.account-room button{width:100%;padding:10px;font-size:11px}
/* Home content sits on the right, leaving the roof and defenders visible. */
.wide-battle .welcome{justify-content:flex-end;background:linear-gradient(270deg,#0e1510e8 0%,#10191299 25%,#10191200 57%)}
@media(max-width:800px){.wide-battle .welcome{padding-inline:7%;background:linear-gradient(270deg,#0e1510f2,#10191298 65%,#10191230)}}


/* Armory navigation and purchase guidance */
.shop-header{z-index:4;background:#101a13;padding:15px 16px 0;border-bottom:1px solid #455b36;box-shadow:0 6px 18px #0005}
.shop-header>.section-label{font-size:8px;line-height:1.5;letter-spacing:1px;color:#9eaf8d}.shop-wallet{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0 9px}.shop-wallet>span{font-size:9px;letter-spacing:.8px;color:#9db18b;line-height:1.4}.shop-wallet b{display:block;color:#d4c287;font-size:11px;letter-spacing:0;margin-top:4px}.shop-wallet strong{font-size:25px;color:#f0dda3;font-weight:750;font-variant-numeric:tabular-nums}.shop-wallet>span:last-child strong{color:#c1dba7}
.shop-tabs{display:flex;gap:4px}.shop-tabs button{flex:1;min-width:0;min-height:43px;padding:8px 3px;background:#18251b;border:1px solid #354b2d;border-bottom:3px solid transparent;color:#a8b99b;font-size:10px;font-weight:750;letter-spacing:.2px;position:relative}.shop-tabs button[aria-selected=true]{color:#c9f29e;border-bottom-color:#b8ef79;background:#2b3c23}.shop-tabs button.has-ready:after{content:'';position:absolute;right:5px;top:5px;width:5px;height:5px;background:#dbbd72;border-radius:50%}
.shop-alert{box-shadow:0 0 0 2px #b8ef7940}.armory h3,.personal-upgrades h3{font-size:13px;line-height:1.5;letter-spacing:.5px;color:#d3e2c3;margin:0 0 7px}.shop-explanation{font-size:11px;line-height:1.6;color:#9ba990;margin:0 0 15px}.armory{padding:20px 14px!important}.armory .weapon-list{gap:10px}.armory .weapon{display:grid;grid-template-columns:34px minmax(0,1fr);gap:8px;min-height:0;padding:12px;border:1px solid #394a31;background:#141e16}.armory .weapon-glyph{font-size:18px;min-width:0;align-self:start;margin-top:2px;letter-spacing:-3px}.armory .weapon b{font-size:13px;font-weight:700}.armory .weapon small{font-size:11px;line-height:1.5;letter-spacing:0;margin-top:4px;color:#a6b49b}.armory .weapon em{grid-column:1/-1;display:block;padding:10px 5px;min-height:36px;text-align:center;font-size:11px;line-height:1.4;font-weight:750;background:#24351e;border:1px solid #4d673c;color:#cde5b3;white-space:normal}.armory .weapon.active{border-color:#607c47;background:#1d2b1b}.armory .weapon.active em{font-size:10px;background:transparent;border-color:#3e5632;color:#c4e69f}.armory .weapon.can-buy{border-color:#a9ca78;box-shadow:inset 3px 0 #b8ef79}.armory .weapon.can-buy em{background:#b8ef79;color:#182510;border-color:#b8ef79}.armory .weapon:disabled{opacity:.82}.armory .weapon:disabled em{background:#1a251b;color:#95a88a;border-color:#354730}.armory .weapon.active:disabled em{color:#c4e69f}
.personal-upgrades{padding:20px 16px;border-bottom:1px solid #35432d}.shop-kicker{display:block;font-size:9px;letter-spacing:1px;color:#d0b976;margin-bottom:8px}.personal-upgrades .upgrade-button{display:grid;grid-template-columns:1fr;gap:12px;margin-top:14px;padding:14px;border:1px solid #4e673b}.personal-upgrades .upgrade-button b{font-size:13px}.personal-upgrades .upgrade-button small{padding:0;font-size:11px;letter-spacing:0;line-height:1.5;margin-top:6px}.personal-upgrades .upgrade-button em{padding:11px 5px;background:#2b3d21;font-size:12px;font-weight:750;text-align:center}.personal-upgrades .upgrade-button.can-buy{border-color:#b8ef79;background:#24351d}.personal-upgrades .upgrade-button.can-buy em{background:#b8ef79;color:#172110}.purchase-hint{color:#b3c3a2;font-size:11px;line-height:1.6;margin:10px 0 0}.team-upgrades{padding:20px 16px!important}.team-upgrades .section-label{font-size:9px;letter-spacing:.5px;line-height:1.5}.team-upgrades .team-upgrade{border:1px solid #3d5233;margin-top:12px;padding:12px;display:flex;flex-wrap:wrap;background:#18221a}.team-upgrades .team-upgrade b{font-size:13px}.team-upgrades .team-upgrade small{font-size:10px;line-height:1.5;letter-spacing:0}.team-upgrades .team-upgrade em{width:100%;padding:10px 5px;text-align:center;font-size:11px;background:#25361f;margin-top:4px}.team-upgrades .team-upgrade.can-buy{border-color:#a4c577}.team-upgrades .team-upgrade.can-buy em{background:#b8ef79;color:#172110;font-weight:750}.team-hint,.team-explanation{margin:0 16px 14px}.team-explanation{padding-bottom:14px}
.stage-shop{border-top:1px solid #486139;padding:12px 0 0;margin:12px 0 4px}.stage-shop>b{display:block;font-size:10px;line-height:1.5;color:#e2d19b;letter-spacing:.3px}.stage-shop>div{display:flex;gap:8px;margin-top:9px}.stage-shop .secondary,.stage-shop .primary{flex:1;min-width:0;font-size:10px;letter-spacing:.2px;padding:11px 8px;margin:0;justify-content:center}.stage-shop .text-button{font-size:10px;padding:9px 0 0}.hud{gap:20px}.shop-highlight{outline:2px solid #e9d48d;outline-offset:2px}
#shop-panel-room .room-card{padding-top:20px}#shop-panel-room .vote-panel{background:#1d2c1a}.wide-battle.panel-open .sidebar .shop-header{flex-shrink:0}.sidebar [role=tabpanel]{flex-shrink:0}button:focus-visible{outline:2px solid #e5d59a;outline-offset:2px}
@media(max-width:1050px){.hud{gap:12px}.hud .roof-note{display:none}.hud .identity{min-width:120px;max-width:150px}.hud .controls-strip{display:none}}
@media(max-width:800px){.shop-header{padding:12px 9px 0}.shop-tabs button{font-size:8px;min-height:40px}.shop-wallet{gap:6px}.shop-wallet strong{font-size:20px}.shop-wallet>span{font-size:8px}.armory{padding:15px 8px!important}.armory .weapon{padding:9px;grid-template-columns:1fr}.armory .weapon-glyph{display:none}.armory .weapon b{font-size:12px}.armory .weapon small{font-size:10px}.hud{gap:8px}.hud .identity{min-width:85px;max-width:110px}.hud .ammo-hud{min-width:105px;padding-left:8px}.hud .grenade-hud{gap:6px;padding-right:0}.grenade-hud kbd{display:none}.stage-shop>div{flex-direction:column}}
@media(prefers-reduced-motion:reduce){.shop-highlight{scroll-behavior:auto}}
.shop-header>.section-label{display:none}.shop-header{padding-top:12px}.shop-wallet{margin-top:4px}.armory .weapon.active{padding:10px;gap:5px}.armory .weapon.active small,.armory .weapon.active em{display:none}.armory .weapon.active b{font-size:11px}
/* Broadcast-readable command board occupies the existing sidebar, never the road. */
.chat-board-open .sidebar>.shop-header,.chat-board-open .sidebar>[role=tabpanel]{display:none!important}.wide-battle .sidebar>.chat-board{padding:12px;background:#101a13;color:#dce8d2;flex-shrink:0}.chat-board header{margin-bottom:8px}.chat-board header small{font-size:9px;letter-spacing:1px;color:#a5b991}.chat-board h2{margin:3px 0 0;font-size:16px;letter-spacing:1px;line-height:1.2;color:#e1f3cf}.chat-board code{font-family:Consolas,'Courier New',monospace;color:#c8f697;font-size:13px;font-weight:750;white-space:nowrap}.chat-board-join{display:flex;gap:12px;align-items:center;background:#b8ef79;color:#172110;padding:8px 10px;margin-bottom:10px;border-left:3px solid #e9ffcc}.chat-board-join code{color:#172110;font-size:21px}.chat-board-join span{font-size:10px;line-height:1.4}.chat-board h3{font-size:9px;line-height:1.4;letter-spacing:.8px;color:#d7c58d;margin:0 0 5px}.chat-board-section{padding-bottom:9px;margin-bottom:9px;border-bottom:1px solid #34472d}.chat-board ul{list-style:none;margin:0;padding:0}.chat-board li{display:flex;align-items:center;gap:6px;min-height:22px;line-height:1.3}.chat-board li code{width:75px;flex-shrink:0}.chat-board li span{flex:1;font-size:10px;line-height:1.3}.chat-board li b{font-size:10px;color:#e3cf93;white-space:nowrap}.chat-board small{display:block;font-size:9px;line-height:1.4;color:#a4b497}.chat-board-section>small{margin-top:4px}.chat-board-upgrades p{margin:5px 0;display:flex;align-items:center;gap:7px;min-height:20px}.chat-board-upgrades p code{width:100px;flex-shrink:0}.chat-board-upgrades p span{font-size:10px;line-height:1.3;color:#c7d6b9}.chat-board-controls p,.chat-board-vote p{display:flex;justify-content:space-between;gap:3px;margin:5px 0}.chat-board-controls code,.chat-board-vote code{font-size:11px}.chat-board-vote{padding-top:7px;margin-top:6px;border-top:1px solid #34472d}.chat-board-vote>span{font-size:9px;letter-spacing:.7px;color:#a4b991}.chat-board #chat-board-menu{width:100%;font-size:9px;letter-spacing:.2px;min-height:30px;padding:7px 5px;margin-top:7px}.chat-board-return{position:sticky;top:0;z-index:5;background:#b8ef79;color:#172110;border:0;font-size:11px;font-weight:800;line-height:1.4;padding:11px;flex-shrink:0}
@media(max-width:800px){.wide-battle .sidebar>.chat-board{padding:9px}.chat-board h2{font-size:13px}.chat-board code{font-size:11px}.chat-board li{gap:4px;min-height:23px}.chat-board li code{width:62px}.chat-board li span{font-size:9px}.chat-board li b{font-size:9px}.chat-board-upgrades p{flex-wrap:wrap;gap:2px}.chat-board-upgrades p code{width:auto;margin-right:6px}.chat-board-controls p,.chat-board-vote p{flex-wrap:wrap;justify-content:flex-start;gap:6px}.chat-board-controls code,.chat-board-vote code{font-size:10px}.chat-board-join{gap:7px;padding:7px}.chat-board-join code{font-size:18px}}
.wide-battle .sidebar>.chat-board{padding:10px}.chat-board header{margin-bottom:6px}.chat-board-join{margin-bottom:8px}.chat-board-section{padding-bottom:7px;margin-bottom:7px}.chat-board #chat-board-menu{min-height:28px;padding:6px 5px}

.chat-board-wallet{color:#b8ef79;font:700 12px monospace;margin:0 0 7px;padding:6px;background:#26351d;border:1px solid #465d32}
@media(min-width:801px) and (max-height:800px){.wide-battle .sidebar>.chat-board{padding:8px 10px}.chat-board header{margin-bottom:4px}.chat-board-wallet{padding:4px;margin-bottom:5px}.chat-board-join{padding:6px 8px;margin-bottom:6px}.chat-board-join code{font-size:19px}.chat-board li{min-height:20px}.chat-board-section{padding-bottom:5px;margin-bottom:5px}.chat-board-upgrades p{min-height:18px;margin:3px 0}.chat-board #chat-board-menu{min-height:24px;padding:4px;margin-top:4px}.chat-board-vote{padding-top:4px;margin-top:4px}}

.chat-purchase-vote{color:#e5d091;font-size:10px;line-height:1.35;padding:4px 0;margin-bottom:4px}.chat-board li b{font-size:9px}

.purchase-result{position:absolute;top:100px;left:50%;transform:translateX(-50%);z-index:25;width:min(440px,88%);padding:15px 22px;text-align:center;pointer-events:none;background:#101d12f5;border:2px solid #b8ef79;box-shadow:0 8px 32px #000b,inset 0 0 24px #b8ef7910}.purchase-result>*{display:block}.purchase-result small{font-size:10px;letter-spacing:2px;color:#d8edc4}.purchase-result strong{font-size:27px;line-height:1.2;margin:7px 0;color:#d2ff9c}.purchase-result b{font-size:12px;letter-spacing:.5px;color:#f6d58f}.purchase-result span{font-size:11px;line-height:1.4;margin-top:8px;color:#c3d5b8}.purchase-result.failed{border-color:#dda967}.purchase-result.failed strong{color:#dda967}@media(max-width:800px){.purchase-result{top:105px;padding:12px}.purchase-result strong{font-size:21px}}

.chat-voting .chat-command-options,.chat-voting #chat-purchase-vote,.chat-voting .chat-board-controls{display:none}.live-purchase-vote{margin:8px 0;padding:9px;border:1px solid #8fb764;background:#18251a}.live-purchase-vote header{display:flex;align-items:center;justify-content:space-between;margin:0 0 5px;gap:5px}.live-purchase-vote header b{display:block;font-size:11px;color:#d4edbc;letter-spacing:.3px}.live-purchase-vote header small{margin-top:4px;font-size:9px;color:#b4c3a6}.live-purchase-vote header strong{font-size:30px;line-height:1;color:#c8ff8f;white-space:nowrap;font-variant-numeric:tabular-nums}.live-vote-track{height:4px;background:#34422e;margin:7px 0}.live-vote-track i{display:block;height:100%;background:#b8ef79}.live-purchase-vote ol{margin:0 0 6px;padding:0;list-style:none}.chat-board .live-purchase-vote li{display:grid;grid-template-columns:76px minmax(0,1fr) 39px;gap:4px;min-height:28px;padding:4px 3px;border-bottom:1px solid #33412d;background:linear-gradient(90deg,#b8ef791d var(--vote-share),transparent var(--vote-share));line-height:1.25}.chat-board .live-purchase-vote li code{width:auto;font-size:10px}.chat-board .live-purchase-vote li span{font-size:10px;color:#cfdbc4}.chat-board .live-purchase-vote li b{font-size:14px;font-variant-numeric:tabular-nums;color:#d5dfcb;text-align:right}.chat-board .live-purchase-vote li.leading{border-left:3px solid #b8ef79}.chat-board .live-purchase-vote li.leading b{color:#ceff9e}.live-purchase-vote>small{font-size:9px;line-height:1.4;color:#e1cc96}.live-purchase-vote.closing header strong{color:#ffd287}.live-purchase-vote.closing .live-vote-track i{background:#ffd287}@media(max-width:800px){.live-purchase-vote{padding:6px}.chat-board .live-purchase-vote li{grid-template-columns:65px minmax(0,1fr) 35px}.chat-board .live-purchase-vote li code{font-size:9px}.live-purchase-vote header strong{font-size:25px}}

.chat-voting .chat-board-vote{display:none}.chat-board .live-purchase-vote li{padding:2px 3px;row-gap:0;min-height:32px}.chat-board .live-purchase-vote li .vote-option-price{grid-column:1/-1;display:block;font-size:9px;line-height:1.3;margin:0;color:#b6d49a;letter-spacing:0}.chat-board .live-purchase-vote li.unaffordable{background:linear-gradient(90deg,#bb65472a var(--vote-share),#271d181c var(--vote-share));border-left:2px solid #b8775b}.chat-board .live-purchase-vote li.unaffordable .vote-option-price{color:#ffb8a0}.chat-board .live-purchase-vote li.unavailable:not(.unaffordable) .vote-option-price{color:#d5be8e}.chat-board .live-purchase-vote li.unaffordable span{color:#dcc9bd}.chat-board .live-purchase-vote li.unaffordable.leading b{color:#ffcdab}.live-purchase-vote>small{font-size:8px}.chat-voting .live-purchase-vote{margin:6px 0}.chat-voting .chat-board-join{margin-bottom:5px}

.operations-hud{position:absolute;top:186px;left:20px;z-index:6;max-width:240px;background:#101a13dd;border-left:2px solid #6b8252;padding:8px 10px;pointer-events:none}.operations-hud b,.operations-hud span{display:block;font-size:10px;line-height:1.5}.operations-hud b{color:#d1dfbd;font-size:10px}.operations-hud b.active{color:#ffcd85}.operations-hud span{margin-top:5px;color:#b4c4a5}.operations-hud span.success{color:#c7f294}.defense-tools{padding:16px;border-top:1px solid #3b4e31}.defense-tools h3{font-size:12px;margin:0 0 10px;color:#d7e8c5}.tool-sides{display:flex;gap:6px;margin-bottom:10px}.tool-sides button{flex:1;padding:8px;font-size:10px}.tool-sides button[aria-pressed=true]{border-color:#b8ef79;color:#c8f59f}.tool-button{width:100%;display:flex;justify-content:space-between;gap:6px;text-align:left;padding:11px;margin:6px 0;background:#1d2c1d;border:1px solid #49603a}.tool-button b{font-size:11px}.tool-button small{display:block;font-size:9px;margin-top:4px;line-height:1.4;color:#b7c9a3}.tool-button em{font-style:normal;white-space:nowrap;color:#d9c68c;font-size:11px}.defense-tools p{font-size:10px;line-height:1.5;color:#a0b38e}.quality-control{padding:15px 16px;border-top:1px solid #34442d}.quality-control label,.quality-control small{display:block;font-size:9px;color:#adbf9a}.quality-control select{width:100%;margin:8px 0;padding:8px;background:#1b291c;border:1px solid #485b38;color:#d5e4c9;font:inherit;font-size:11px}.campaign-report{width:100%;text-align:left;margin:10px 0}.campaign-report>b{font-size:12px;color:#d2e9b8}.campaign-report p{font-size:11px!important;margin:8px 0!important}.campaign-report>small{font-size:10px;color:#e1c88c;line-height:1.4}.report-actions{display:flex;gap:7px;margin:12px 0}.report-actions button{font-size:10px;min-height:34px;padding:9px;flex:1}.report-table{max-height:135px;overflow-y:auto;border-top:1px solid #50613d}.report-player{display:grid;grid-template-columns:24px 1fr auto;gap:8px;padding:7px 3px;border-bottom:1px solid #34412d;align-items:center;font-size:11px}.report-player>b{color:#d2bd83}.report-player small{font-size:10px;color:#b3c49f}.report-player.own{background:#b8ef791a}.stage-overlay.has-report{max-height:94%;overflow-y:auto;padding-top:20px;padding-bottom:20px}.stage-overlay.has-report h2{font-size:32px;margin-bottom:7px}.stage-overlay.has-report .wave-leader{transform:scale(.8);transform-origin:top center;margin-bottom:-35px}@media(max-width:800px){.operations-hud{left:10px;top:165px;max-width:190px;padding:6px}.operations-hud b,.operations-hud span{font-size:9px}.report-player{grid-template-columns:18px 1fr}.report-player small{grid-column:2}.report-actions{flex-wrap:wrap}}
.stage-overlay.has-report .wave-leader{transform:none;margin:8px 0}.stage-overlay.has-report .podium-place canvas{max-width:130px}.stage-overlay.has-report .podium-step{height:34px}.stage-overlay.has-report .podium-place-1 .podium-step{height:50px}.stage-overlay.has-report .podium-place-3 .podium-step{height:24px}.stage-overlay.has-report .podium-step strong{font-size:25px}.stage-overlay.has-report .podium-name{font-size:10px;margin-top:5px}.stage-overlay.has-report .podium-kills{font-size:9px}.stage-overlay.has-report .podium-note,.stage-overlay.has-report #stage-results{display:none}.stage-overlay.has-report .campaign-report{margin:8px 0}.stage-overlay.has-report #stage-description{font-size:11px;line-height:1.4;margin:6px 0}.stage-overlay.has-report .report-table{max-height:100px}

.play-style-picker{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0}.play-style-card{padding:13px 10px;text-align:left;border:1px solid #52633e;background:#1b271b;color:#c4d7af;min-height:85px}.play-style-card b{display:block;font-size:12px;line-height:1.35}.play-style-card small{display:block;font-size:10px;line-height:1.5;margin-top:7px;color:#aabd98}.play-style-card[aria-pressed=true]{border-color:#b8ef79;background:#2b3b20;box-shadow:inset 0 3px #b8ef79}.play-style-card[aria-pressed=true] b{color:#d5ffa9}.solo-help{display:block;font-size:10px;line-height:1.5;color:#adbd9c;margin-top:9px}.welcome h1{font-size:clamp(48px,6vw,76px);line-height:.87;margin:10px 0}.welcome .welcome-rule{margin:12px 0}.welcome-card>p{font-size:12px;line-height:1.5}.welcome .play-style-picker+section{margin-top:8px}#solo.primary{margin-top:12px;width:100%}@media(max-width:800px){.play-style-card{padding:10px 7px;min-height:80px}.play-style-card b{font-size:10px}.play-style-card small{font-size:9px}.welcome h1{font-size:52px}}.wide-battle:not(.in-room) .sidebar,.wide-battle:not(.in-room) #toggle-panel{display:none!important}
.wide-battle:not(.in-room){display:flex;flex-direction:column;height:100dvh}.wide-battle:not(.in-room)>.topbar{flex-shrink:0}.wide-battle:not(.in-room)>.shell{flex:1;min-height:0;height:auto}.wide-battle:not(.in-room)>.hud{display:none!important}

.wide-battle:not(.in-room) .defense-panel,.wide-battle:not(.in-room) .field-stats,.wide-battle:not(.in-room) .mission-top,.wide-battle:not(.in-room) .sector-tag,.wide-battle:not(.in-room) .bottom-scene,.wide-battle:not(.in-room) .wave-brief,.wide-battle:not(.in-room) .operations-hud,.wide-battle:not(.in-room) .event-banner,.wide-battle:not(.in-room) .purchase-result,.wide-battle:not(.in-room) .connection{display:none!important}.home-has-session .play-style-picker,.home-has-session [data-solo-only],.home-has-session [data-coop-only],.home-has-session #mode-picker,.home-has-session #nickname,.home-has-session label[for=nickname]{display:none!important}
/* Responsive layout: the drawer changes available space, never sprite geometry. */
.in-room.wide-battle{display:flex;flex-direction:column;height:100dvh}.in-room.wide-battle>.topbar,.in-room.wide-battle>.hud{flex-shrink:0}.in-room.wide-battle>.shell{flex:1;min-height:0;height:auto}.panel-close{display:none;flex-shrink:0;position:sticky;top:0;z-index:8;width:100%;padding:11px;background:#b8ef79;color:#16200f;border:0;font-weight:800;letter-spacing:1px}.management-status{padding:12px;background:#3a321c;color:#f3d992;font-size:11px;line-height:1.5}.field-guide{position:absolute;left:18px;bottom:54px;z-index:6;width:min(300px,calc(100% - 36px));background:#15231bef;border:1px solid #82a75c;padding:12px;box-shadow:0 6px 24px #0006}.field-guide>span{font-size:8px;letter-spacing:1px;color:#c0d89d}.field-guide strong{display:block;font-size:13px;margin-top:6px;color:#e6f3d4}.field-guide p{font-size:11px;line-height:1.5;margin:8px 0;color:#ccdbc1}.field-guide button{min-height:32px;padding:7px 10px}.field-guide .text-button{margin-left:12px}.private-choice,.motion-choice{display:flex!important;align-items:center;gap:8px;font-size:11px!important;line-height:1.5;letter-spacing:0!important;color:#c7dbb5!important}.private-choice input,.motion-choice input{accent-color:#b8ef79;min-width:18px;min-height:18px}.performance-readout{font-size:11px;color:#bed5aa;font-variant-numeric:tabular-nums}.quality-control small{font-size:11px;color:#b5c8a4}.in-room .topbar .connection{max-width:120px}a:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid #c5ff8c;outline-offset:3px}.reduced-motion *{scroll-behavior:auto!important;transition:none!important;animation:none!important}.touch-ping{display:none}.hud #reload{min-width:38px;min-height:38px}.sidebar button:not(.text-button){min-height:36px}.weapon small{font-size:10px!important;line-height:1.4!important}.build-note{color:#a6b89b}.open-room small{color:#b2c5a1}
@media(max-width:900px){
 .wide-battle.panel-open .shell{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) min(37dvh,310px)}
 .wide-battle.panel-open .sidebar{border-left:0;border-top:1px solid #7c9b59;grid-row:2;box-shadow:0 -8px 25px #0006}
 .panel-open .panel-close{display:block}.wide-battle .shell{min-height:0}.in-room.wide-battle>.hud{height:70px;padding:6px 10px;gap:12px}.hud .identity{min-width:0;max-width:100px}.hud .identity .avatar{width:30px;height:35px;font-size:18px}.hud .identity>div:last-child{display:none}.hud .ammo-hud{padding-left:9px;min-width:110px}.hud .ammo-hud strong{font-size:26px}.hud .ammo-hud .reload-track{width:100%}.hud .ammo-hud .key-button{margin-left:1px;font-size:9px}.hud .ammo-hud>div>span{font-size:12px}.hud .grenade-hud{padding:5px;gap:4px}.hud .grenade-hud b{font-size:20px}.hud .controls-strip,.hud .roof-note{display:none}.in-room .sector-tag,.in-room .wave-brief,.in-room .viewport-side,.in-room .defense-panel small{display:none!important}
 .in-room .defense-panel{top:10px;right:10px!important;width:125px}.in-room .defense-panel strong{font-size:17px}.in-room .defense-panel span{font-size:8px;letter-spacing:0}.in-room .field-stats{top:10px;left:10px;gap:9px}.in-room .field-stats b{font-size:18px}.in-room .field-stats small{font-size:8px;letter-spacing:0}.in-room .operations-hud{left:10px;top:62px;max-width:calc(100% - 20px);padding:5px 8px}.in-room .operations-hud span{display:none}.in-room .operations-hud b{font-size:10px}.in-room .event-banner{top:96px;left:10px;right:10px;font-size:10px;max-width:none;transform:none;width:auto;padding:7px}.in-room .bottom-scene{left:10px;right:10px;bottom:8px}.in-room .bottom-scene>span{display:none}.in-room #pause{width:36px;height:36px}.in-room .field-guide{bottom:50px;left:10px;width:270px;padding:8px}.in-room .field-guide p{font-size:10px;margin:5px 0}.in-room .field-guide strong{font-size:11px}.in-room .stage-overlay{max-height:95%;overflow-y:auto;top:50%}.in-room .topbar{min-height:62px;padding-top:7px;padding-bottom:7px}.in-room .topbar .connection{display:none}.in-room .brand small{display:none}.in-room .top-actions{gap:4px}.in-room .home-button{font-size:9px;padding:0 7px}.in-room .brand{font-size:16px}.touch-ping:not([hidden]){display:block;position:absolute;right:10px;bottom:52px;z-index:5;background:#172819e8;border:1px solid #82a75c;color:#d1edb2;padding:10px;font-size:10px}.wide-battle:not(.in-room) .welcome{padding:14px 20px}.wide-battle:not(.in-room) .welcome-card{width:min(350px,100%)}
}
@media(max-width:900px) and (max-height:550px){.wide-battle.panel-open .shell{grid-template-rows:minmax(0,1fr)}.wide-battle.panel-open .sidebar{position:absolute;inset:0;z-index:30;grid-row:auto}.in-room .topbar{min-height:48px;padding:4px 10px}.in-room.wide-battle>.hud{height:58px}.in-room .field-guide{bottom:12px;left:10px;max-width:230px}.in-room .field-guide p{display:none}.in-room .operations-hud{display:none}.in-room .event-banner{top:58px}.in-room .defense-panel{top:6px}.in-room .field-stats{top:6px}}
@media(pointer:coarse){.in-room #touch-ping{display:block!important}.in-room .hud #reload{font-size:0}.in-room .hud #reload:after{content:'ŞARJÖR';font-size:9px}.in-room .hud #grenade{min-height:44px}.in-room .field-guide p{max-height:46px;overflow:auto}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.private-choice[hidden]{display:none!important}.home-has-session .private-choice{display:none!important}
@media(max-width:1450px){.wide-battle .connection{display:none}.wide-battle .mission-top{font-size:9px;letter-spacing:.5px}}@media(pointer:coarse){.in-room .hud #reload{min-width:44px;min-height:44px}}
.lobby-invite{margin:16px 0;padding:14px;border:1px solid #728d50;background:#1b2a1be8;text-align:left}.lobby-code-row{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:12px}.lobby-code-row>span{font-size:9px;letter-spacing:1.3px;color:#bfd6a6}.lobby-code-row strong{display:block;font:700 28px Consolas,monospace;letter-spacing:4px;color:#d6ffab;margin-top:4px}.lobby-code-row button{padding:10px;font-size:9px;min-height:38px}.lobby-invite label{display:block;color:#bfd6a6;font-size:9px;letter-spacing:1px;margin-bottom:7px}.lobby-link-row{display:flex;gap:7px}.lobby-link-row input{width:100%;min-width:0;font-size:11px;padding:10px;color:#d4e8bd}.lobby-link-row button{flex-shrink:0;padding:10px;font-size:9px;letter-spacing:.2px}.lobby-invite>small{display:block;font-size:10px;line-height:1.5;color:#b8cba7;margin-top:9px}.stage-overlay:has(.lobby-invite:not([hidden])){top:50%;max-height:calc(100% - 20px);overflow-y:auto}@media(max-width:900px){.lobby-invite{padding:10px;margin:10px 0}.lobby-link-row{flex-direction:column}.lobby-link-row button{min-height:40px;justify-content:center}.lobby-code-row strong{font-size:25px}.lobby-code-row button{font-size:8px}.lobby-invite>small{font-size:10px}}
.rocket-check-card{position:absolute;z-index:12;left:20px;top:20px;width:min(440px,calc(100% - 40px));max-height:calc(100% - 40px);overflow:auto;background:#122319f5;border:1px solid #a3ce73;padding:18px;color:#dfefcb;box-shadow:0 5px 30px #0007}.rocket-check-card>small{font-size:9px;letter-spacing:1px;color:#b9d19f}.rocket-check-card h3{font-size:18px;margin:12px 0;color:#d3ff9b}.rocket-check-card p{font-size:11px;line-height:1.6;color:#c4d7b2}.rocket-check-card ul{padding:0;list-style:none;font-size:12px;line-height:1.6}.rocket-check-card li{margin:5px 0;padding:4px 0;border-bottom:1px solid #3b5032}.rocket-check-card li.passed{color:#c3f391}.rocket-check-card li.failed{color:#ffa792}.rocket-check-card li.rocket-check-numbers{font-size:11px;color:#e4cc92}.rocket-check-active .stage-overlay,.rocket-check-active .operations-hud,.rocket-check-active .wave-brief,.rocket-check-active .event-banner,.rocket-check-active .field-guide,.rocket-check-active .defense-panel,.rocket-check-active .field-stats,.rocket-check-active .sector-tag,.rocket-check-active .viewport-side,.rocket-check-active .bottom-scene{display:none!important}#rocket-check-entry p{font-size:11px;line-height:1.5;color:#c2d4b0}#rocket-check-entry button{width:100%;margin-top:5px}@media(max-width:900px){.rocket-check-card{top:10px;left:10px;width:calc(100% - 20px);max-height:calc(100% - 20px);padding:12px}.rocket-check-card h3{font-size:15px}}

.sound-settings{position:fixed;z-index:30;right:24px;top:70px;width:min(290px,calc(100vw - 24px));padding:16px;background:#172017;border:1px solid #61794b;box-shadow:0 12px 40px #0009}.sound-settings-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.sound-settings-heading strong{font-size:12px;letter-spacing:1px}.sound-settings label{display:flex;justify-content:space-between;font-size:12px}.sound-settings output{color:var(--acid)}.sound-settings input{display:block;width:100%;min-height:44px;padding:0;accent-color:var(--acid);touch-action:pan-y}.sound-settings .secondary{width:100%;margin:8px 0 12px}.sound-settings small{display:block;color:#a5b49a;font-size:10px}@media(max-width:800px){.sound-settings{right:12px;top:65px}}
.turret-upgrade-card{padding:14px 0;border-top:1px solid #43543a;margin-top:14px}.turret-upgrade-card>strong{font-size:11px;letter-spacing:1px;color:var(--acid)}.turret-current{font-size:12px;color:#d6e4c8;margin:8px 0 12px}.turret-upgrade-card .upgrade-button{margin-bottom:8px}.turret-upgrade-card>small{display:block;font-size:10px;line-height:1.5;color:#9faf92}
.enemy-intro{position:absolute;left:16px;top:115px;width:min(280px,calc(100% - 32px));z-index:5;padding:13px 28px 13px 13px;background:#142017ee;border:1px solid #637c4a;box-shadow:0 6px 20px #0007;pointer-events:none}.enemy-intro>small{font-size:8px;letter-spacing:1px;color:#bdceaa}.enemy-intro>strong{display:block;font-size:16px;margin:7px 0;color:#d4faab}.enemy-intro p,.enemy-intro b{font-size:11px;line-height:1.5;margin:5px 0;display:block}.enemy-intro p{color:#d8c39d}.enemy-intro b{font-weight:500;color:#c0d7ac}.enemy-intro button{position:absolute;right:5px;top:4px;background:transparent;border:0;font-size:20px;color:#b7c8a5;pointer-events:auto}.preparation{text-align:left;padding:12px;margin:12px 0;border:1px solid #536d41;background:#18271b}.preparation>strong{font-size:12px;color:#c5ed99}.preparation>p{font-size:11px!important;margin:7px 0!important}.preparation>small{font-size:10px;line-height:1.5;display:block;color:#d1b689}.preparation ul{font-size:10px;line-height:1.6;padding-left:16px;color:#bac9aa}.preparation>b{font-size:11px;color:#d5edbd}.preparation>div{display:flex;gap:7px;margin-top:8px}.preparation button{padding:9px;font-size:9px}.stage-overlay{max-height:90%;overflow-y:auto;scrollbar-width:thin}@media(max-width:800px){.enemy-intro{top:115px;width:230px;padding:10px 26px 10px 10px}.enemy-intro>strong{font-size:14px}.enemy-intro p,.enemy-intro b{font-size:10px}.preparation{padding:9px}}
#progression-panel select{width:100%;padding:11px;background:#172419;color:#d7e8c9;border:1px solid #526947;margin:7px 0 12px}#progression-panel>h3{margin-top:18px}#progression-panel .upgrade-button{margin:9px 0;min-height:65px}#progression-panel .upgrade-button small{white-space:normal;line-height:1.5}.prep-bonus-options{display:grid!important;grid-template-columns:1fr 1fr;gap:5px!important;margin:8px 0}.prep-bonus-options button{font-size:9px;line-height:1.5;text-align:left}.prep-bonus-options button[aria-pressed=true]{border-color:#b8ef79;color:#d3f5ab;background:#2b3e24}.daily-home{padding:10px 0;border-top:1px solid #3e5035;border-bottom:1px solid #3e5035;margin:12px 0}.daily-home .daily-choice{display:flex;gap:8px;align-items:center;font-size:10px;letter-spacing:0;line-height:1.5}.daily-choice input{min-width:18px;accent-color:#b8ef79}.daily-home>small{font-size:10px;color:#b7c9a5;display:block}.daily-home button{padding-bottom:0}.daily-dialog{width:min(620px,94vw);max-height:90dvh;overflow:auto}.daily-dialog h2{font-size:32px}.daily-row{display:grid;grid-template-columns:22px 1fr;gap:5px 10px;border-bottom:1px solid #3c5133;padding:12px 0}.daily-row>small{grid-column:2;color:#b4c99d}.daily-row>b{color:#c7ef9a}.daily-dialog>small{display:block;margin-top:16px;line-height:1.6}#daily-room>button{width:100%}
.daily-home select{width:100%;padding:10px;margin:6px 0;background:#172419;color:#d7e8c9;border:1px solid #526947}
.in-room #supply-status:not([hidden]),.in-room #quick-task:not([hidden]){display:block;font-size:10px}.stage-overlay:has(#expedition-choice:not([hidden])){width:min(680px,94%);max-height:94%;overflow-y:auto}.stage-overlay:has(#expedition-choice:not([hidden])) h2{font-size:32px;margin:8px 0}.expedition-choice{width:100%;text-align:left}.stage-overlay .expedition-choice p{margin:7px 0;font-size:11px}.stage-overlay .expedition-option{margin:0;letter-spacing:0}
@media(max-width:650px){.in-room #supply-status:not([hidden]),.in-room #quick-task:not([hidden]){font-size:9px;line-height:1.35}.stage-overlay:has(#expedition-choice:not([hidden])){padding:14px 12px}.expedition-choice h3{font-size:11px}}
/* Clear armory and broadcast controls, v0.71 */

/* Compact armory: one action per card; secondary settings live in Help. */
.menu-v71 .sidebar{background:#101b17;color:#e4ece1;border-left:1px solid #34483b}
.menu-v71 .shop-header{padding:16px 14px 12px;background:#111e18;border-bottom:1px solid #34483b;box-shadow:none}
.menu-v71 .shop-header>.section-label{display:none}
.menu-v71 .shop-wallet{gap:10px;margin:0 0 14px}.menu-v71 .shop-wallet>span{padding:0 10px;font-size:9px;letter-spacing:.5px;color:#9cac9f;border:0;border-left:2px solid #7a754a;background:none;border-radius:0}.menu-v71 .shop-wallet>span:last-child{border-left-color:#5d8456}.menu-v71 .shop-wallet b{font-size:10px;margin-top:2px}.menu-v71 .shop-wallet strong{font-size:25px;font-weight:750}
.menu-v71 .shop-tabs{gap:4px;padding:4px;border:1px solid #2d4335;background:#0c1712;border-radius:10px}.menu-v71 .shop-tabs button{border:0;border-radius:7px;min-height:44px;font-size:12px;letter-spacing:0;background:transparent;color:#97ab9b}.menu-v71 .shop-tabs button[aria-selected=true]{background:#bbeb86;color:#1a2a12;box-shadow:0 2px 6px #0004}.menu-v71 .shop-tabs button.has-ready:after{background:#d3ad68;width:4px;height:4px}.menu-v71 .armory{padding:14px 12px!important}.menu-v71 .armory h3{display:none}.menu-v71 .armory>.shop-explanation,.menu-v71 .armory>.text-button{display:none}.menu-v71 .armory .weapon-list{gap:7px}
.menu-v71 .armory .weapon{display:grid;grid-template-columns:44px minmax(0,1fr) 69px;gap:8px;align-items:center;min-height:64px;padding:8px;border:1px solid #304737;border-radius:9px;background:#17271e;box-shadow:none}.menu-v71 .weapon-glyph{display:flex!important;align-items:center;justify-content:center;align-self:center;width:44px;height:42px;border-radius:6px;background:#0d1a13;margin:0}.menu-v71 .weapon-glyph canvas{width:44px;height:24px;image-rendering:pixelated}.menu-v71 .armory .weapon b{font-size:12px;line-height:1.35;font-weight:650}.menu-v71 .armory .weapon small,.menu-v71 .armory .weapon.active small{display:block;font-size:9px;line-height:1.4;color:#9db39f;letter-spacing:0;white-space:normal;margin-top:4px}.menu-v71 .armory .weapon em,.menu-v71 .armory .weapon.active em{display:block;grid-column:auto;margin:0;padding:7px 3px;min-height:30px;border:0;border-radius:5px;font-size:10px;line-height:1.4;text-align:center;white-space:normal;font-weight:700;letter-spacing:0;background:#30462b;color:#d8edc5}.menu-v71 .armory .weapon.can-buy{border-color:#537348;box-shadow:none}.menu-v71 .armory .weapon.can-buy em{background:#bbeb86;color:#1a2a12}.menu-v71 .armory .weapon.active{background:#203420;border-color:#8eae6e}.menu-v71 .armory .weapon.active em{color:#c7ec9f;background:transparent}.menu-v71 .armory .weapon:disabled{opacity:1}.menu-v71 .armory .weapon:disabled:not(.active){background:#142019;border-color:#293b30}.menu-v71 .armory .weapon:disabled:not(.active) em{background:#202d24;color:#8fa194}
.menu-v71 .personal-upgrades,.menu-v71 .team-upgrades{padding:16px 14px!important;border-bottom:1px solid #2c4033}.menu-v71 .personal-upgrades h3,.menu-v71 .team-upgrades h3{font-size:11px;letter-spacing:.7px;margin:0 0 9px;color:#c8d9c1}.menu-v71 .shop-kicker,.menu-v71 .personal-upgrades>.shop-explanation,.menu-v71 #damage-hint,.menu-v71 #team-hint,.menu-v71 .team-explanation{display:none}.menu-v71 #solo-turret-shop>.shop-explanation{font-size:11px;line-height:1.5;color:#9eb19f;margin:0 0 10px}
.menu-v71 .upgrade-button{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;border-radius:8px;padding:12px;margin-top:8px;background:#192b20;border:1px solid #3a5339;text-align:left}.menu-v71 .upgrade-button b{font-size:12px}.menu-v71 .upgrade-button small{display:block;padding:0;font-size:10px;line-height:1.5;letter-spacing:0;margin-top:4px;color:#a7bba3}.menu-v71 .upgrade-button em{border:0;border-radius:5px;background:#30462a;color:#d8ebc6;font-size:11px;line-height:1.5;font-style:normal;font-weight:650;padding:8px;text-align:center;max-width:90px;white-space:normal}.menu-v71 .upgrade-button.can-buy em{background:#bbeb86;color:#1a2a12}.menu-v71 .upgrade-button:disabled,.menu-v71 .team-upgrade:disabled{opacity:.6}
.menu-v71 .team-upgrades .team-upgrade{display:grid;grid-template-columns:20px minmax(0,1fr) 76px;gap:8px;border:1px solid #3a5339;border-radius:8px;background:#192b20;margin-top:8px;padding:12px 9px;align-items:center}.menu-v71 .team-upgrade b{font-size:12px}.menu-v71 .team-upgrade small{font-size:10px;line-height:1.5;letter-spacing:0}.menu-v71 .team-upgrades .team-upgrade em{width:auto;margin:0;border:0;border-radius:5px;font-size:10px;line-height:1.4;padding:8px 4px;background:#30462a}.menu-v71 .team-upgrade.can-buy em{background:#bbeb86;color:#1a2a12}
.menu-v71 .turret-upgrade-card{border-radius:8px;border:1px solid #354c3b;background:#13231a;margin-top:12px;padding:10px}.menu-v71 .turret-upgrade-card>strong{font-size:11px;letter-spacing:.5px}.menu-v71 .turret-current{font-size:10px;color:#b4c9a5}.menu-v71 .turret-upgrade-card>small{display:none}
.menu-v71 .menu-details{margin:10px 14px;border:1px solid #304638;border-radius:8px;background:#14231b}.menu-v71 .menu-details>summary{cursor:pointer;padding:13px 11px;font-size:11px;font-weight:600;color:#b2c5b1;list-style-position:inside}.menu-v71 .menu-details[open]>summary{border-bottom:1px solid #304638}.menu-v71 .menu-details .personal-upgrades,.menu-v71 .menu-details .team-upgrades{border:0}.menu-v71 .menu-details .personal-upgrades h3{margin-top:16px}
.menu-v71 #shop-panel-room>.room-card{padding:16px 14px;border-bottom:1px solid #2c4033}.menu-v71 .room-card .room-code{background:#0c1711;border:1px dashed #486342;border-radius:7px;padding:10px}.menu-v71 .room-code>span{font-size:22px;letter-spacing:3px}.menu-v71 .room-card .copy-button{min-width:40px;min-height:40px;background:#263c26;border:1px solid #4c6943;border-radius:6px;color:#d5efb9}.menu-v71 .sidebar-foot{font-size:0;padding:10px 14px}.menu-v71 .sidebar-foot>.tiny-square{display:none}.menu-v71 .sidebar-foot button{font-size:11px;color:#acb8aa}.menu-v71 .extra-settings{margin:20px 0}.menu-v71 .extra-settings>section{padding:15px}.menu-v71 .extra-settings #daily-board-room{margin:12px}
.simple-chat-mode>header,.simple-chat-mode>div:not(#simple-chat),.simple-chat-mode>#live-purchase-vote{display:none!important}.simple-chat-mode #simple-chat:not([hidden]){display:block!important}.wide-battle .sidebar>.simple-chat-mode{padding:18px 14px;background:#111f17}.simple-chat-intro small{font-size:9px;letter-spacing:1.3px;color:#94b585}.simple-chat-intro h2{font-size:21px;letter-spacing:0;line-height:1.2;margin:7px 0;color:#edfadf}.simple-chat-intro p{font-size:12px;color:#aebfa4;line-height:1.4;margin:9px 0 16px}.simple-chat-join{border:1px solid #749853;border-radius:12px;background:#263e22;padding:14px;margin-bottom:12px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:7px}.simple-chat-join>span{font-size:10px;color:#bed8a8;font-weight:700}.simple-chat-join code{font-size:29px!important;color:#ddf9bc}.simple-chat-join small{grid-column:1/-1;font-size:11px;color:#b3c99f}.simple-chat-wallet{font-size:13px;font-weight:700;padding:12px;background:#1b2d22;border:1px solid #3b5740;border-radius:10px;color:#e6d6a0}.simple-chat-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:20px}.simple-chat-heading h3{font-size:15px!important;line-height:1.3;margin:0;color:#e2edce;letter-spacing:0}.simple-chat-heading>b{background:#2c4329;border-radius:8px;padding:7px;font-size:16px;color:#ceeea0;white-space:nowrap}#simple-chat-note{font-size:11px;line-height:1.5;color:#b9c8ad;margin:9px 0 12px}.simple-chat-option{display:flex;width:100%;gap:10px;align-items:center;background:#1b2d22;border:1px solid #547343;border-radius:11px;padding:12px;margin:9px 0;text-align:left}.simple-chat-option>code{display:grid;place-items:center;background:#bfeb8b;color:#20331b;width:36px;height:43px;border-radius:8px;font-size:26px!important;flex-shrink:0}.simple-chat-option>span{min-width:0;flex:1}.simple-chat-option b{display:block;font-size:13px;color:#e4efd6}.simple-chat-option small{font-size:10px;line-height:1.4;color:#afc1a6;margin-top:4px}.simple-chat-option em{display:block;font-size:11px;color:#ebd899;font-style:normal;font-weight:700;margin-top:5px}.simple-chat-option>strong{font-size:12px;color:#cae9aa;white-space:nowrap}.simple-chat-option:disabled{opacity:.65;border-color:#3c4e3e}.simple-chat-option:disabled>code{background:#364836;color:#b4c0ad}#simple-chat-result{font-size:10px;line-height:1.5;color:#d4c58e;padding-top:10px;border-top:1px solid #354a37}.simple-chat-mode #chat-board-menu{border-radius:8px;font-size:11px;padding:11px;min-height:38px;margin-top:14px;color:#b3c1a9;background:#17271e;border-color:#344c3b}
@media(max-width:650px){.menu-v71 .shop-header{padding:13px 12px 0}.menu-v71 .shop-wallet strong{font-size:24px}.menu-v71 .shop-tabs button{font-size:11px}.wide-battle .sidebar>.simple-chat-mode{padding:15px 12px}.simple-chat-intro h2{font-size:21px}.simple-chat-option{padding:11px}}
.chat-board-open #preparation,.chat-board-open #stage-shop,.chat-board-open #expedition-choice{display:none!important}
@media(max-width:900px){.wide-battle.menu-v71.panel-open .shell{grid-template-rows:min(45dvh,calc(100vw * 9 / 16)) minmax(0,1fr)}.menu-v71 .shop-header{padding:10px 12px 0}.menu-v71 .shop-header>.section-label{font-size:16px;margin-bottom:8px}.menu-v71 .shop-wallet{margin-bottom:7px}.menu-v71 .shop-wallet>span{padding:8px}.menu-v71 .shop-wallet strong{font-size:22px}.menu-v71 .shop-tabs button{min-height:44px}.menu-v71 .armory{padding:12px!important}.menu-v71 .simple-chat-intro h2{font-size:19px}.menu-v71 .simple-chat-intro p{margin:6px 0 11px}.menu-v71 .simple-chat-join{padding:10px;margin-bottom:9px}.menu-v71 .simple-chat-heading{margin-top:13px}}
#simple-chat-result:empty{display:none}
.chat-board-open #panel-close{order:-1}
.preparation .bonus-choice-title{display:block;font-size:11px;margin-top:14px;color:#dcefc7}.preparation #prep-bonus-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:9px 0}.preparation .bonus-option{margin:0!important;min-height:46px;padding:11px;text-align:left;border:1px solid #61764e;border-radius:8px;white-space:normal;line-height:1.45;font-size:11px;letter-spacing:0}.bonus-option[aria-pressed=true]{border:2px solid #c1f18d!important;background:#314b25!important;color:#e3ffba!important;box-shadow:inset 0 0 0 1px #b8ef7940}.preparation .bonus-choice-note{margin:8px 0 12px!important;font-size:12px!important;line-height:1.5;color:#e0edbd}.bonus-option:focus-visible{outline:2px solid #f5d691;outline-offset:2px}@media(max-width:650px){.preparation .bonus-option{padding:9px;font-size:10px;min-height:48px}.preparation .bonus-choice-note{font-size:11px!important}}

/* Purchase action and affordability remain readable without hover. */
.menu-v71 .armory .weapon em{white-space:pre-line}.menu-v71 .armory .weapon.unaffordable:disabled{border-color:#73563e;background:#211e18}.menu-v71 .armory .weapon.unaffordable em{background:#38291e;color:#e5bc8c}.menu-v71 .armory .weapon.unaffordable:disabled em{background:#38291e;color:#e5bc8c}

/* The same action and shortage display for every upgrade currency. */
.menu-v71 .upgrade-button em,.menu-v71 .team-upgrade em{white-space:pre-line}.menu-v71 .upgrade-button.unaffordable,.menu-v71 .team-upgrades .team-upgrade.unaffordable{opacity:1;border-color:#73563e;background:#211e18}.menu-v71 .upgrade-button.unaffordable em,.menu-v71 .team-upgrades .team-upgrade.unaffordable em{background:#38291e;color:#e5bc8c}.menu-v71 .upgrade-shortage{grid-column:1/-1;display:block;font-size:10px;font-weight:650;line-height:1.5;letter-spacing:0;color:#efba83;margin-top:2px}

/* Shared action states across the armory, upgrades and field tools. */
.menu-v71 .tool-button{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;min-height:44px;border-radius:8px;background:#192b20;border:1px solid #3a5339;padding:12px}.menu-v71 .tool-button>span:first-child{min-width:0}.menu-v71 .tool-button em{white-space:pre-line;font-size:11px;font-style:normal;line-height:1.4;padding:8px;max-width:90px;border-radius:5px;background:#30462a}.menu-v71 .tool-button.can-buy em{background:#bbeb86;color:#1a2a12}.menu-v71 .tool-button.unaffordable{opacity:1;border-color:#73563e;background:#211e18}.menu-v71 .tool-button.unaffordable em{background:#38291e;color:#e5bc8c}
.menu-v71 .upgrade-button.complete,.menu-v71 .team-upgrades .team-upgrade.complete,.menu-v71 .tool-button.complete{opacity:1;border-color:#425347;background:#17221b}.menu-v71 .upgrade-button.complete em,.menu-v71 .team-upgrades .team-upgrade.complete em,.menu-v71 .tool-button.complete em{background:#26342a;color:#acbdae}.menu-v71 .armory .weapon.complete em{background:#26342a;color:#bdceba}
.menu-v71 .upgrade-shortage{overflow-wrap:anywhere}.menu-v71 .upgrade-button,.menu-v71 .team-upgrade{min-height:44px}.menu-v71 #repair.complete small{display:none}.menu-v71 .purchase-hint:empty{display:none}
@media(max-width:650px){.menu-v71 .upgrade-button{gap:8px;padding:11px}.menu-v71 .upgrade-button em{min-width:72px;max-width:90px;font-size:10px}.menu-v71 .upgrade-button b{overflow-wrap:anywhere}.menu-v71 .shop-tabs button{min-height:44px}}

.menu-v71 .sidebar button,.menu-v71 .sidebar select,.menu-v71 .menu-details>summary{min-height:44px}.menu-v71 #buy-solo-turret.complete #solo-turret-count{display:none}

.menu-v71 #progression-panel #role-help{display:block;line-height:1.5;color:#b6c8ae;margin:8px 0}.transaction-pending :is([data-weapon],.upgrade-button,.team-upgrade,.tool-button){pointer-events:none;opacity:.55}

.map-picker{margin:14px 0}.map-picker label,.map-controls label{display:block;color:#bbcea8;font-size:10px;letter-spacing:1px;margin-bottom:7px}.map-picker select,.map-controls select{width:100%;min-height:44px;padding:10px;background:#17271e;border:1px solid #4e6644;border-radius:7px;color:#e6efdf;font:inherit}.map-picker small,.map-controls small{display:block;font-size:10px;line-height:1.5;color:#a8b6a0;margin-top:7px}.map-controls{padding:16px 14px;border-bottom:1px solid #304638}.map-controls p{font-size:11px;line-height:1.5;color:#abbba2;margin:9px 0}.map-controls button{width:100%;border-radius:6px;min-height:44px;font-size:11px;margin:4px 0}
.map-guide{margin-top:10px;padding:12px;border:1px solid #3e5338;border-radius:8px;background:#142219;line-height:1.5;text-align:left}.map-guide-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.map-difficulty{font-size:10px;letter-spacing:.6px;border-radius:4px;padding:4px 7px;background:#30432a;color:#c9ee9c}.map-difficulty.hard{background:#4a3524;color:#f3c08e}.map-guide-head>span{font-size:10px;color:#b6c5ac}.map-guide dl{display:grid;grid-template-columns:1fr;margin:9px 0 0;gap:1px}.map-guide dt{font-size:9px;color:#a6b998;margin-top:6px;letter-spacing:.4px}.map-guide dd{margin:0;font-size:11px;color:#ecedda;overflow-wrap:anywhere}.map-guide .map-boss-note{font-size:10px;color:#b4bdad;margin:7px 0}.map-guide .map-tactic{font-size:10px;color:#d2e6b3;border-top:1px solid #34482d;padding-top:8px;margin:8px 0 0}.map-guide small{font-size:9px;margin-top:8px;color:#a5b29c}
.map-picker-title{display:block;font-size:10px;letter-spacing:1px;color:#bbcea8;margin-bottom:9px}.map-cards{display:grid;gap:9px}.map-cards .map-card{position:relative;display:grid;grid-template-columns:92px minmax(0,1fr);padding:0;margin:0;width:100%;min-height:124px;overflow:hidden;border:1px solid #42523c;border-radius:8px;background:#15221a;color:#e5ecdb;text-align:left;cursor:pointer;font:inherit;transition:border-color .15s,background .15s}.map-cards .map-card:hover:not(:disabled){border-color:#93b96a;background:#213020}.map-cards .map-card[aria-pressed=true]{border:2px solid #b8ef79;background:#25371f;box-shadow:0 0 0 1px #b8ef7920}.map-cards .map-card:focus-visible{outline:2px solid #ebf9c7;outline-offset:3px}.map-card-image{width:100%;height:100%;min-height:124px;object-fit:cover;image-rendering:pixelated;border-right:1px solid #3b4b35}.map-card-body{display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:11px 13px 11px 10px;min-width:0}.map-card-body b{font-size:14px;line-height:1.2;padding-right:13px;color:#edf3df}.map-card-difficulty{font-size:9px;line-height:1.4;padding:3px 5px;border-radius:4px;background:#37482b;color:#d0eca6}.map-card-difficulty.hard{background:#483324;color:#efc195}.map-card-boss{font-size:10px;color:#e2cf9a;line-height:1.4}.map-card-body small{font-size:10px;line-height:1.4;color:#b9c5b0;margin:0}.map-card-check{display:none;position:absolute;right:7px;top:6px;color:#c3f187;font-size:14px}.map-card[aria-pressed=true] .map-card-check{display:block}.map-card:disabled{cursor:default;opacity:.85}.map-guide-details{margin-top:10px}.map-guide-details>summary{font-size:10px;color:#baccaa;cursor:pointer;min-height:36px;display:list-item;padding:8px 0;line-height:1.5}.map-controls .map-card{grid-template-columns:76px minmax(0,1fr)}.map-controls .map-card-body b{font-size:12px}.map-controls .map-card-body{padding:10px 12px 10px 8px}

/* Larger landmark previews in both map pickers. */
.map-cards .map-card{grid-template-columns:minmax(120px,42%) minmax(0,1fr);min-height:156px}.map-card-image{min-height:156px;object-position:center}.map-controls .map-card{grid-template-columns:minmax(104px,40%) minmax(0,1fr);min-height:156px}.map-card-body{justify-content:center}.map-card-body small{font-size:11px}.map-card-boss{font-size:11px}

.map-preview{width:min(1120px,94vw);max-width:none;max-height:92dvh;overflow-y:auto;padding:0;border:1px solid #657b4f;border-radius:12px;background:#111e16;color:#e8efdc;box-shadow:0 24px 100px #000b}.map-preview::backdrop{background:#060d09d9;backdrop-filter:blur(4px)}.map-preview header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;border-bottom:1px solid #33492e}.map-preview h2{margin:0;font-size:24px;color:#e3efce}.map-preview button{min-height:44px;padding:10px 16px;border:1px solid #708354;border-radius:6px;cursor:pointer;font:inherit;font-size:12px;background:#20301e;color:#dce9cb}.map-preview button:focus-visible{outline:2px solid #d9f89b;outline-offset:3px}.map-preview-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,1fr);gap:20px;padding:20px 22px}.map-preview-image{display:block;width:100%;height:100%;min-height:360px;max-height:520px;object-fit:cover;image-rendering:pixelated;border-radius:8px;border:1px solid #394b33}.map-preview .map-guide{margin:0;padding:16px}.map-preview .map-guide dd{font-size:13px}.map-preview .map-guide dt{font-size:10px}.map-preview .map-guide p{font-size:12px}.map-preview footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 22px;border-top:1px solid #33492e}.map-preview footer small{font-size:11px;line-height:1.5;color:#b7c8a7;max-width:65%}.map-preview .map-preview-choose{background:#b8ef79;color:#18240f;font-weight:800;white-space:nowrap}.map-preview .map-preview-choose:disabled{opacity:.5;cursor:default}@media(max-width:700px){.map-preview-layout{grid-template-columns:1fr;padding:14px;gap:12px}.map-preview-image{height:auto;min-height:0;max-height:320px;aspect-ratio:3/2}.map-preview header{padding:14px}.map-preview h2{font-size:20px}.map-preview footer{padding:14px;flex-direction:column;align-items:stretch;gap:12px}.map-preview footer small{max-width:none}.map-preview .map-guide dd{font-size:12px}}

.map-preview header{display:grid;grid-template-columns:minmax(0,1fr) auto auto}.map-preview-nav{display:flex;align-items:center;gap:8px}.map-preview-nav button{width:44px;padding:7px;font-size:23px;line-height:1}.map-preview-position{min-width:38px;text-align:center;font-size:12px;color:#c5d5b6;font-variant-numeric:tabular-nums}@media(max-width:700px){.map-preview header{grid-template-columns:minmax(0,1fr) auto;gap:12px}.map-preview header h2{grid-column:1;grid-row:1}.map-preview-close{grid-column:2;grid-row:1}.map-preview-nav{grid-column:1/-1;grid-row:2;justify-content:center}}

.map-preview-image{touch-action:pan-y pinch-zoom;user-select:none;-webkit-user-select:none;-webkit-user-drag:none}.map-preview-swipe-hint{display:none}@media(pointer:coarse),(max-width:700px){.map-preview-swipe-hint{display:block;margin:12px 16px 0;text-align:center;color:#c8d9b4;font-size:11px;line-height:1.5}}

.map-preview-media{display:flex;flex-direction:column;min-width:0}.map-preview-viewport{position:relative;overflow:hidden;flex:1;min-height:360px;max-height:520px;background:#15231b;border:1px solid #394b33;border-radius:8px;isolation:isolate}.map-preview-viewport .map-preview-image{height:100%;width:100%;min-height:360px;max-height:none;border:0;border-radius:0}.map-preview-ghost{position:absolute;inset:0;pointer-events:none;z-index:1}.map-preview-dots{display:flex;align-items:center;justify-content:center;gap:2px;padding-top:3px}.map-preview-dots button{display:grid;place-items:center;width:44px;min-height:44px;padding:0;background:transparent;border:0}.map-preview-dots button span{display:block;width:9px;height:9px;border-radius:50%;background:#68775f;transition:background .2s,transform .2s}.map-preview-dots button[aria-current=true] span{background:#c1f17e;transform:scale(1.35);box-shadow:0 0 9px #b8ef7944}@media(max-width:700px){.map-preview-viewport{flex:none;min-height:0;max-height:320px;aspect-ratio:3/2}.map-preview-viewport .map-preview-image{min-height:0;height:100%;aspect-ratio:auto}}@media(prefers-reduced-motion:reduce){.map-preview-dots button span{transition:none}}.reduced-motion .map-preview-dots button span{transition:none}
/* Compact prices: unaffordable actions stay muted without repeated shortage paragraphs. */
.menu-v71 .upgrade-shortage{display:none!important}.menu-v71 .upgrade-button.unaffordable,.menu-v71 .team-upgrade.unaffordable,.menu-v71 .tool-button.unaffordable,.menu-v71 .armory .weapon.unaffordable:disabled{background:#152019;border-color:#344238}.menu-v71 .upgrade-button.unaffordable em,.menu-v71 .team-upgrade.unaffordable em,.menu-v71 .tool-button.unaffordable em,.menu-v71 .armory .weapon.unaffordable:disabled em{background:#263128;color:#9ba995}

.turret-current:empty,.turret-upgrade-card>small:empty{display:none!important}

/* Weapon rows contain only name, short trait and price. */
.menu-v71 .armory .weapon{grid-template-columns:minmax(0,1fr) 82px;gap:10px;padding:12px 13px;min-height:66px}.menu-v71 .armory .weapon .weapon-glyph{display:none!important}.menu-v71 .armory .weapon b{font-size:13px}.menu-v71 .armory .weapon small{font-size:10px}.menu-v71 .armory .weapon em{white-space:nowrap;font-size:11px;padding:7px 3px}

/* Consistent compact purchase menus. */
.menu-v71 #solo-turret-shop>.shop-explanation,.menu-v71 #solo-turret-hint{display:none}.menu-v71 .turret-upgrade-card{padding:12px;margin-top:10px}.menu-v71 .turret-upgrade-card>strong{display:block;color:#c4d8b7;margin-bottom:7px}.menu-v71 .turret-upgrade-card .upgrade-button{min-height:64px}.menu-v71 .upgrade-button em,.menu-v71 .team-upgrade em,.menu-v71 .tool-button em{white-space:nowrap;max-width:none;font-variant-numeric:tabular-nums}.menu-v71 .team-upgrades .team-upgrade{grid-template-columns:minmax(0,1fr) auto;padding:12px}.menu-v71 .team-upgrade>span:first-child{display:none}.menu-v71 #progression-panel>label{font-size:10px;color:#a7bba3}.menu-v71 #progression-panel h3{letter-spacing:0;font-size:11px}.menu-v71 .tool-button{border-radius:8px}.menu-v71 #tool-help{font-size:10px;line-height:1.4;color:#a7bba3}

/* Team essentials stay visible; secondary controls are disclosures. */
.menu-v71 #shop-panel-room>.room-card{margin:12px;padding:15px;border:1px solid #47613d;border-radius:10px;background:#1b2c20}.menu-v71 .room-card>.section-label{margin-bottom:12px;font-size:10px;letter-spacing:.5px}.menu-v71 .room-card .room-code{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px;background:#0e1c13}.menu-v71 .room-code>span{font-size:27px;letter-spacing:3px;color:#d8f5b1;font-weight:750;font-variant-numeric:tabular-nums}.menu-v71 .room-code .copy-button{font-size:9px;letter-spacing:0;padding:8px;min-height:44px}.menu-v71 .room-card .team-invite-label{display:block;font-size:9px;letter-spacing:.7px;color:#a5bd9e;margin:15px 0 7px}.menu-v71 #team-invite-link{display:block;width:100%;min-width:0;min-height:42px;padding:10px 9px;font-size:11px;border:1px solid #3e5639;border-radius:6px;background:#101e15;color:#dae9ce;text-overflow:ellipsis}.menu-v71 .team-copy-link{display:block;width:100%;min-height:44px;margin:8px 0 0;background:#b8e985;color:#1a2b13;border:0;border-radius:6px;font-size:11px;font-weight:700;letter-spacing:.3px}.menu-v71 #room-help{display:none}.menu-v71 #shop-panel-room>.squad-section{padding:12px 14px 16px;border-bottom:1px solid #304638}.menu-v71 .squad-section>.section-label{font-size:10px;letter-spacing:.5px;display:flex;align-items:center;justify-content:space-between;gap:8px}.menu-v71 #player-count{color:#bfe398;font-size:10px;letter-spacing:0;white-space:nowrap}.menu-v71 .squad{display:grid;gap:7px;margin-top:10px}.menu-v71 .squad-player{display:flex;align-items:center;gap:10px;min-height:60px;padding:10px;border:1px solid #314a37;border-radius:8px;background:#17271d}.menu-v71 .squad-player.own{border-color:#7f9f60}.menu-v71 .squad-player.offline{opacity:.65}.menu-v71 .squad-player .mini-avatar{flex-shrink:0;width:30px;height:34px;display:grid;place-items:center;border-radius:6px}.menu-v71 .squad-name{flex:1;min-width:0}.menu-v71 .squad-name b{display:block;font-size:12px;overflow-wrap:anywhere}.menu-v71 .squad-name small{display:block;font-size:10px;color:#9eb59e;margin-top:5px;letter-spacing:0}.menu-v71 .squad-player.online .squad-name small:before{content:'● ';color:#b8e985}.menu-v71 .squad-player em{font-size:11px;white-space:nowrap;font-style:normal;color:#bdcea9}.menu-v71 .you-tag{font-size:8px;margin-left:6px;color:#c5ed9e}.menu-v71 .menu-details .map-controls{padding:12px}.menu-v71 .menu-details .vote-panel{padding:12px;border:0}.menu-v71 .menu-details .team-upgrades{padding:12px!important}

/* A quiet home screen: resume or choose a play style before optional settings. */
.wide-battle .welcome-card{width:min(420px,100%);max-width:100%;padding:22px;border:1px solid #3d5038;border-radius:14px;background:#101e16f2;box-shadow:0 14px 50px #0005;scrollbar-width:thin}.wide-battle .welcome{padding:24px 4%;align-items:center}.wide-battle .welcome h1{font-size:46px;line-height:1;margin:13px 0 9px;letter-spacing:1px}.wide-battle .welcome-card>p{font-size:14px;line-height:1.5;margin:0 0 14px;color:#bfceb2}.welcome-card>.eyebrow{font-size:9px;letter-spacing:1px}.welcome-card>.welcome-rule,.welcome-card>.welcome-controls,.welcome-card>.build-note{display:none}.welcome .play-style-picker{display:grid;grid-template-columns:1fr;gap:9px;margin:12px 0 15px}.welcome .play-style-card{position:relative;min-height:74px;padding:15px 17px;border:1px solid #4c6444;border-radius:9px;background:#192a1e;box-shadow:none}.welcome .play-style-card b{font-size:17px;line-height:1.3;color:#edf4e2;font-weight:700}.welcome .play-style-card small{font-size:11px;line-height:1.4;margin-top:5px;color:#adbea5}.welcome .play-style-card[aria-pressed=true]{background:#2b4023;border:2px solid #b9e883;padding:14px 16px}.welcome .play-style-card[aria-pressed=true]:after{content:'✓';position:absolute;right:15px;top:15px;color:#c6f298}.welcome .primary.large{width:100%;min-height:48px;border-radius:8px;font-size:13px;letter-spacing:.5px;margin:8px 0}.welcome .continue-card{border:1px solid #9fc776;border-radius:10px;padding:15px;background:#273b20;margin:15px 0}.welcome .continue-card>.section-label{font-size:9px;margin-bottom:6px;letter-spacing:.7px}.welcome .continue-card p{font-size:11px;line-height:1.5;margin:6px 0}.welcome #continue-game{min-height:54px;font-size:19px;letter-spacing:0;font-weight:750}.welcome .continue-card small{font-size:10px;margin:8px 0}.welcome #forget-room{font-size:10px;padding:8px 0;margin:0;color:#adbc9e}.welcome .home-options{margin:8px 0;border:1px solid #304736;border-radius:8px;background:#14241a}.welcome .home-options>summary{cursor:pointer;min-height:44px;padding:13px;font-size:11px;color:#bdd0b0;letter-spacing:0}.welcome .home-options[open]>summary{border-bottom:1px solid #304736}.welcome .home-options>section{padding:12px;margin:0}.welcome .home-options>label,.welcome .home-options>#nickname{margin:10px 12px;width:calc(100% - 24px)}.welcome .home-options>#nickname{min-height:42px}.welcome .kick-connect{margin:10px 0;gap:5px}.welcome .kick-connect button.primary{min-height:42px;font-size:11px;border-radius:7px;letter-spacing:.3px;background:#243a21;color:#c9eeaa;border:1px solid #63874e}.welcome .kick-connect #kick-status{font-size:10px;line-height:1.4;color:#a8ba9a}.welcome .solo-help{display:none}.welcome .join-row{margin:8px 0}.welcome .join-row input{min-height:44px;border-radius:7px}.welcome .join-row button{border-radius:7px;min-height:44px}.welcome .private-choice{font-size:10px;line-height:1.4;margin:10px 0}.home-has-session .welcome .play-style-picker{display:grid!important}.home-has-session .new-game-option{display:none!important}.welcome .account-saves{border:1px solid #5b7646;border-radius:9px;padding:12px;margin:12px 0}.welcome .account-room .primary{min-height:44px;border-radius:6px}.welcome .account-room p{font-size:11px}.welcome .map-picker-title{display:none}@media(max-width:800px){.wide-battle .welcome{padding:16px;align-items:flex-start}.wide-battle .welcome-card{width:min(420px,100%);padding:18px}.wide-battle .welcome h1{font-size:36px}.welcome .play-style-card b{font-size:16px}}

/* Between waves: choose a bonus, then ready up. */
.stage-overlay.compact-preparation{width:min(560px,94%);top:50%;max-height:94%;padding:20px;border-radius:12px;background:#101e16f5;border-color:#526c43;text-align:left}.stage-overlay.compact-preparation>.eyebrow{justify-content:flex-start;font-size:9px;letter-spacing:1px;color:#acc496}.stage-overlay.compact-preparation h2{font-family:var(--font);font-size:23px!important;line-height:1.25;margin:8px 0 14px!important;font-weight:700}.stage-overlay.compact-preparation>#stage-description,.stage-overlay.compact-preparation>#stage-shop,.stage-overlay.compact-preparation>#next{display:none!important}.compact-preparation .preparation{border:0;padding:0;background:transparent;margin:0}.compact-preparation #prep-title{display:block;font-size:12px;line-height:1.5;color:#c8dfad}.compact-preparation .prep-details{border-bottom:1px solid #354a34;margin:3px 0 15px}.compact-preparation .prep-details summary{font-size:10px;color:#9eb792;cursor:pointer;min-height:36px;padding:9px 0}.compact-preparation .prep-details p,.compact-preparation .prep-details small,.compact-preparation .prep-details li{font-size:11px;line-height:1.5;color:#aebfa2}.compact-preparation .prep-details p{margin:6px 0}.compact-preparation .bonus-choice-title{font-size:12px;letter-spacing:.5px;margin:12px 0 10px;color:#e1efd2}.compact-preparation #prep-bonus-options{gap:9px;margin:0}.compact-preparation .bonus-option{min-height:64px!important;border-radius:8px;font-size:12px!important;line-height:1.5;background:#1a2c20;color:#d4e4c5;border:1px solid #4a6542;padding:12px!important;letter-spacing:0;transition:background .15s,border-color .15s}.compact-preparation .bonus-option[aria-pressed=true]{background:#304b24!important;color:#e6ffc7!important;border-color:#c0ef8c!important}.compact-preparation #prep-bonus-note{font-size:10px!important;line-height:1.5;margin:8px 0 12px!important;color:#b5c8a6}.compact-preparation #prep-count{display:block;border-top:1px solid #3d5437;padding-top:12px;font-size:12px;color:#d8e8ca;margin-top:12px}.compact-preparation #prep-ready-hint{font-size:11px!important;line-height:1.5;margin:7px 0 10px!important;color:#d3dfac}.compact-preparation .prep-actions{display:flex;flex-direction:column;gap:8px;margin:0}.compact-preparation #prep-ready{width:100%;min-height:56px;margin:0;border:1px solid #d4ffa2;border-radius:8px;background:#b9ec82;color:#1a2b12;font-size:15px;font-weight:800;letter-spacing:.3px;box-shadow:0 3px 14px #0003}.compact-preparation #prep-ready:disabled{background:#273927;border-color:#4c6443;color:#9daf96;opacity:1}.compact-preparation #prep-ready[aria-pressed=true]{background:#35522a;color:#deffc1;border-color:#97bf71}.compact-preparation #prep-shop{width:100%;min-height:42px;font-size:11px;margin:0;background:transparent;border:1px solid #4a6241;border-radius:7px;color:#b5cba8;letter-spacing:.3px}.compact-preparation .expedition-choice{margin:12px 0;padding:12px;background:#17271c;border:1px solid #405a38;border-radius:8px}.compact-preparation .expedition-choice h3{font-size:11px;letter-spacing:.3px;margin:0 0 7px}.compact-preparation #expedition-countdown{font-size:10px!important;line-height:1.4;margin:5px 0 9px!important}.compact-preparation .expedition-choice>small{display:none}.compact-preparation .expedition-option{padding:10px;min-height:60px;border-radius:7px}.compact-preparation .expedition-option b{font-size:12px}.compact-preparation .expedition-option span{font-size:10px;line-height:1.4}.compact-preparation .expedition-option small:empty{display:none}.compact-preparation .wave-leader{margin-top:18px;border-top:1px solid #354a34;padding-top:12px}@media(max-width:650px){.stage-overlay.compact-preparation{padding:14px;width:94%;max-height:94%}.stage-overlay.compact-preparation h2{font-size:20px!important}.compact-preparation .bonus-option{font-size:11px!important;min-height:60px!important}.compact-preparation #prep-ready{font-size:13px}}
.compact-preparation .expedition-option:disabled[aria-pressed=true]{opacity:1;border-color:#87ac62;background:#2b4023}.compact-preparation .expedition-option:disabled:not([aria-pressed=true]){opacity:.5}

/* End of campaign: clear result, compact totals and two primary destinations. */
.stage-overlay.compact-results{display:flex;flex-direction:column;width:min(560px,94%);max-height:94%;top:50%;padding:22px;border-radius:12px;background:#111f17f5;border:1px solid #80654d;text-align:center;gap:0}.stage-overlay.compact-results.result-won{border-color:#94b76d}.compact-results>#stage-eyebrow{order:1;color:#b7bea9;font-size:9px;letter-spacing:1px}.stage-overlay.compact-results h2{order:2;font-family:var(--font);font-size:30px!important;line-height:1.2;margin:10px 0 7px;font-weight:800;letter-spacing:.3px;color:#edc5a0}.compact-results.result-won h2{color:#d0f49f}.compact-results>#stage-description{order:3;margin:0 0 17px!important;font-size:12px!important;line-height:1.5;color:#b4c2a8}.compact-results>#campaign-report{order:4;width:100%;margin:0}.compact-results>#wave-leader{order:5;margin:16px 0 0;padding:12px 0 0;border-top:1px solid #364d34}.compact-results>#stage-results,.compact-results>#stage-shop,.compact-results>#bots-label,.compact-results>#room-mode-picker{display:none!important}.compact-results>#start{order:6;min-height:52px;border-radius:8px}.compact-results .result-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.compact-results .result-stats>div{padding:15px 7px;border:1px solid #3b5339;border-radius:9px;background:#1b2c20;text-align:center;min-width:0}.compact-results .result-stats small{display:block;font-size:9px;letter-spacing:.8px;color:#a4b59a}.compact-results .result-stats strong{display:block;font-size:25px;line-height:1.2;margin-top:8px;color:#e4eed6;font-variant-numeric:tabular-nums}.compact-results #report-personal{font-size:12px!important;line-height:1.5;margin:12px 0!important;text-align:center;color:#c8d8ba}.compact-results #report-achievements{display:block;font-size:11px;line-height:1.5;color:#d1df9e;margin:8px 0;text-align:center}.compact-results .report-actions{display:grid;grid-template-columns:1fr;gap:9px;margin:15px 0 9px}.compact-results #report-replay{width:100%;min-height:54px;margin:0;border-radius:8px;background:#bbee85;color:#1b2a13;font-size:16px;font-weight:800;letter-spacing:.5px}.compact-results #report-home{width:100%;min-height:46px;margin:0;border:1px solid #6a8557;border-radius:8px;background:#1b2d20;color:#d1e4be;font-size:13px;font-weight:700;letter-spacing:.5px}.compact-results #report-waiting{font-size:11px;color:#c7d6b7;line-height:1.5;display:block;text-align:center;margin:8px 0}.compact-results .result-details{border:1px solid #344b33;border-radius:8px;text-align:left;margin-top:12px}.compact-results .result-details>summary{padding:13px;min-height:44px;font-size:11px;color:#b8caaa;cursor:pointer}.compact-results .result-details .report-table{margin:0 12px 12px;max-height:180px}.compact-results #report-missions{margin:0 12px 10px!important;font-size:10px!important;color:#a9bd9b}.compact-results .podium-heading{font-size:10px}.compact-results .podium-stage{gap:8px}.compact-results .podium-place canvas{max-width:100px}.compact-results .podium-step{height:24px!important}.compact-results .podium-place-1 .podium-step{height:38px!important}.compact-results .podium-name{font-size:10px}.compact-results .podium-kills{font-size:9px}@media(max-width:650px){.stage-overlay.compact-results{padding:16px}.stage-overlay.compact-results h2{font-size:25px!important}.compact-results .result-stats{gap:6px}.compact-results .result-stats>div{padding:12px 4px}.compact-results .result-stats strong{font-size:21px}.compact-results #report-replay{font-size:15px}.compact-results .report-player{grid-template-columns:20px minmax(0,1fr)}.compact-results .report-player small{grid-column:2}}

/* Pause keeps three clear actions and no repeated match information. */
.stage-overlay.compact-pause{width:min(420px,94%);top:50%;max-height:94%;padding:25px;border:1px solid #6f8a55;border-radius:12px;background:#111f17f5;box-shadow:0 16px 60px #0007;text-align:center}.compact-pause>#stage-eyebrow{display:none}.stage-overlay.compact-pause h2{font-family:var(--font);font-size:24px;line-height:1.25;font-weight:800;letter-spacing:.3px;color:#e4f1d4;margin:0 0 10px}.compact-pause>#stage-description{font-size:12px;line-height:1.5;color:#adbea2;margin:0 0 20px}.compact-pause>#resume,.compact-pause>#pause-sound,.compact-pause>#pause-home{display:block;width:100%;min-height:48px;margin:10px 0 0;border-radius:8px;font-size:13px;font-weight:700;letter-spacing:.5px}.compact-pause>#resume{min-height:56px;background:#bdec83;color:#1a2b12;border:1px solid #daffb0;font-size:17px;font-weight:800}.compact-pause>#resume:disabled{background:#293a28;color:#acbea0;border-color:#4f6841;opacity:1}.compact-pause>#pause-sound{background:#243a25;color:#d8edc2;border:1px solid #729757}.compact-pause>#pause-sound[aria-expanded=true]{border-color:#c5ed9c;background:#304a28}.compact-pause>#pause-home{background:#18291e;color:#bfd2b2;border:1px solid #4d6742}.compact-pause>#pause-save-note{display:block;margin:16px 0 0;font-size:10px;color:#99af8e;line-height:1.5}.compact-pause>#stage-shop,.compact-pause>#stage-results{display:none!important}@media(max-width:650px){.stage-overlay.compact-pause{padding:20px}.stage-overlay.compact-pause h2{font-size:21px}}

/* Sound has one level control and one clear on/off action. */
.sound-settings{width:min(340px,calc(100vw - 24px));padding:20px;border:1px solid #6a8a52;border-radius:12px;background:#112017;box-shadow:0 14px 50px #0009}.sound-settings-heading{margin-bottom:22px;gap:12px}.sound-settings-heading strong{display:flex;align-items:center;gap:10px;font-size:14px;letter-spacing:.8px}.sound-settings #sound-state{font-size:9px;letter-spacing:.5px;border:1px solid #547644;border-radius:5px;padding:5px 7px;color:#ceefa9;background:#293f23}.sound-settings[data-muted=true] #sound-state{border-color:#53604b;background:#273026;color:#aab79f}.sound-settings #sound-close{width:44px;height:44px;flex-shrink:0;border:1px solid #3c5435;border-radius:7px;font-size:24px;background:#192b1d;color:#bfd0b3}.sound-settings label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#bbccaf}.sound-settings output{font-size:34px;font-weight:750;line-height:1;color:#d6f3b3;font-variant-numeric:tabular-nums;letter-spacing:-.5px}.sound-settings #quick-volume{appearance:none;-webkit-appearance:none;width:100%;height:44px;min-height:44px;margin:12px 0 16px;padding:0;border:0;background:transparent;cursor:pointer;touch-action:pan-y}.sound-settings #quick-volume::-webkit-slider-runnable-track{height:8px;background:linear-gradient(to right,#b8e985 var(--volume-fill,100%),#344931 var(--volume-fill,100%));border-radius:9px}.sound-settings #quick-volume::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:26px;height:26px;margin-top:-9px;border:3px solid #e5ffc4;border-radius:50%;background:#a9d67d;box-shadow:0 2px 8px #0005}.sound-settings #quick-volume::-moz-range-track{height:8px;border-radius:9px;background:#344931}.sound-settings #quick-volume::-moz-range-progress{height:8px;border-radius:9px;background:#b8e985}.sound-settings #quick-volume::-moz-range-thumb{width:22px;height:22px;border:3px solid #e5ffc4;border-radius:50%;background:#a9d67d}.sound-settings #sound-mute{display:block;width:100%;min-height:52px;margin:0;border:1px solid #98bb73;border-radius:8px;background:#284025;color:#deefcc;font-size:15px;font-weight:800;letter-spacing:.5px}.sound-settings[data-muted=true] #sound-mute{background:#bbed84;color:#1b2b13;border-color:#d8ffac}.sound-settings #quick-volume:focus-visible,.sound-settings #sound-mute:focus-visible{outline:2px solid #edffc9;outline-offset:4px}@media(max-width:650px){.sound-settings{padding:17px;right:12px}.sound-settings output{font-size:31px}}

/* Help starts with the goal and four controls; details stay optional. */
#help-dialog{width:min(540px,94vw);max-width:none;max-height:92dvh;overflow-y:auto;padding:22px;border:1px solid #698850;border-radius:12px;background:#112017;color:#dbe9cf;scrollbar-width:thin}#help-dialog .help-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}#help-dialog h2{font-family:var(--font);font-size:22px;font-weight:800;letter-spacing:.2px;line-height:1.3;margin:0}#help-dialog .dialog-close{position:static;display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border:1px solid #3f5838;border-radius:7px;background:#1b2e20;font-size:25px;color:#bdd0ae}#help-dialog .help-goal{border:1px solid #526f41;border-radius:9px;background:#253a21;padding:14px}#help-dialog .help-goal strong{font-size:12px;line-height:1.5;color:#d6f3af;letter-spacing:.3px}#help-dialog p{font-size:12px;line-height:1.6;color:#b4c6a8;margin:7px 0 0}#help-dialog h3{font-size:11px;letter-spacing:.7px;margin:19px 0 10px;color:#cddfbc}#help-dialog .help-controls{display:grid;grid-template-columns:112px minmax(0,1fr);gap:0;border:1px solid #354f37;border-radius:9px;background:#172a1c;padding:4px 13px;margin:0}#help-dialog .help-controls dt,#help-dialog .help-controls dd{font-size:12px;line-height:1.45;padding:11px 0;border-bottom:1px solid #304632}#help-dialog .help-controls dt{color:#d7efb9;font-weight:700}#help-dialog .help-controls dd{color:#c0d0b5;margin:0}#help-dialog .help-controls dt:last-of-type,#help-dialog .help-controls dd:last-of-type{border-bottom:0}#help-dialog .help-loop{margin:14px 0 16px}#help-dialog .help-loop p{font-size:11px;line-height:1.6;margin:5px 0}#help-dialog .help-loop b{color:#deedce}#help-dialog #help-done{display:block;width:100%;min-height:50px;margin:0 0 14px;border:1px solid #d4ffa0;border-radius:8px;background:#bbed84;color:#1b2b13;font-size:15px;font-weight:800;letter-spacing:.5px}#help-dialog .help-details,#help-dialog .extra-settings{margin:8px 0 0;border:1px solid #344e34;border-radius:8px;background:#14261a}#help-dialog .help-details>summary,#help-dialog .extra-settings>summary{font-size:11px;min-height:44px;padding:13px;color:#b9cfa9;cursor:pointer}#help-dialog .help-details[open]>summary{border-bottom:1px solid #344e34}#help-dialog .help-details>p{padding:0 13px;margin:10px 0;font-size:11px}#help-dialog .help-details>dl{margin:0;padding:13px;border:0;grid-template-columns:75px minmax(0,1fr);font-size:11px;gap:10px}#help-dialog .help-details>.secondary{display:block;width:calc(100% - 26px);min-height:44px;margin:13px;border-radius:7px;font-size:11px}#help-dialog .help-links{display:flex;gap:14px;flex-wrap:wrap}#help-dialog .help-links a{font-size:10px;color:#bedc9e;text-decoration:underline;text-underline-offset:3px}@media(max-width:650px){#help-dialog{padding:16px}#help-dialog h2{font-size:20px}#help-dialog .help-controls{grid-template-columns:99px minmax(0,1fr);padding:4px 10px}#help-dialog .help-controls dt,#help-dialog .help-controls dd{font-size:11px}}

/* Map selection keeps the image, name, difficulty and boss in focus. */
.map-cards .map-card,.map-controls .map-card{grid-template-columns:minmax(106px,40%) minmax(0,1fr);min-height:160px;border-radius:10px;background:#17281d;border-color:#405a3b}.map-cards .map-card-image{min-height:160px}.map-cards .map-card-body{padding:13px 12px;gap:7px;justify-content:center}.map-cards .map-card-body b{font-size:16px;line-height:1.3;font-weight:750;letter-spacing:0;padding-right:8px;color:#edf3e2}.map-cards .map-card-difficulty{font-size:9px;line-height:1.4;font-weight:700;letter-spacing:.3px;padding:4px 6px;border-radius:5px}.map-cards .map-card-boss-label{font-size:8px;letter-spacing:.8px;color:#adbc9d;margin-top:3px}.map-cards .map-card-boss{display:block;font-size:13px;font-weight:700;line-height:1.35;color:#e9ce95}.map-cards .map-card[aria-pressed=true]{background:#2a3f22;border-color:#c1ed8f}.map-controls .map-card-body b{font-size:14px}.map-controls .map-card-boss{font-size:12px}.map-preview{border-radius:12px;border-color:#688451}.map-preview header{padding:16px 20px}.map-preview h2{font-size:26px;font-weight:750;line-height:1.25}.map-preview .map-guide{border:1px solid #435e3b;border-radius:9px;padding:18px;background:#192c1f}.map-guide-head{gap:10px;flex-wrap:wrap}.map-guide-head .map-difficulty{font-size:12px;padding:8px 10px;border-radius:6px;font-weight:750;letter-spacing:.5px}.map-guide-head>span{font-size:10px;color:#a9bc9c}.map-guide .map-guide-boss{display:block;margin:17px 0;padding:0;border:0}.map-guide .map-guide-boss dt{font-size:10px;letter-spacing:.5px;color:#bdcda9;text-transform:uppercase}.map-guide .map-guide-boss dd{font-size:24px;line-height:1.3;color:#edd39c;font-weight:750;margin:8px 0 0}.map-tactics-details{margin-top:17px;border-top:1px solid #405a3a}.map-tactics-details>summary{font-size:11px;line-height:1.4;min-height:44px;padding:14px 0;cursor:pointer;color:#bfcca9}.map-tactics-details dl{margin:0 0 12px;padding:0;border:0}.map-tactics-details dt{font-size:9px!important}.map-tactics-details dd{font-size:12px!important}.map-tactics-details p{font-size:11px!important;line-height:1.5}.map-preview footer{gap:12px;padding:15px 20px}.map-preview footer small{font-size:11px;line-height:1.5;color:#b9c9ab}.map-preview .map-preview-choose{min-height:48px;font-size:13px;border-radius:8px;padding:12px 18px}.map-preview-swipe-hint{font-size:10px}.map-preview-position{color:#c0d4ae}@media(max-width:700px){.map-preview h2{font-size:21px}.map-preview .map-guide{padding:14px}.map-guide .map-guide-boss dd{font-size:22px}.map-preview footer{padding:14px}.map-cards .map-card-body b{font-size:15px}.map-cards .map-card-body{padding:12px 10px}.map-cards .map-card-boss{font-size:12px}}

/* Phone menus: keep modal actions usable, with separate scrolling for the armory. */
@media(max-width:900px){
 .wide-battle .topbar{padding:8px 10px;gap:8px;min-height:62px;height:auto}.wide-battle .top-actions{gap:4px;flex-shrink:0}.wide-battle .topbar .icon-button{width:44px;height:44px;min-width:44px;min-height:44px}.wide-battle .topbar .brand{min-height:44px;min-width:0}.wide-battle .topbar .brand-icon{width:30px;height:32px;font-size:23px}.wide-battle .topbar .brand{font-size:16px;gap:6px}.wide-battle .topbar .brand small{display:none}.wide-battle .topbar .home-button,.wide-battle .topbar .panel-button{min-height:44px;height:auto;padding:8px;font-size:9px;letter-spacing:0}.wide-battle .topbar #home{font-size:0;min-width:44px;width:44px;padding:0}.wide-battle .topbar #home:before{content:'ÇIK';font-size:11px;font-weight:750}.wide-battle .topbar #toggle-panel{font-size:0;width:44px;min-width:44px;justify-content:center;padding:0}.wide-battle .topbar #toggle-panel span{font-size:20px}.wide-battle .topbar .brand>span:last-child{white-space:nowrap}.wide-battle .stage-overlay{z-index:10;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.wide-battle.panel-open .stage-overlay{display:none!important}.wide-battle .sidebar{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y}.wide-battle .sidebar #panel-close{min-height:44px;flex-shrink:0}.menu-v71 .shop-header{z-index:5;background:#111e18}.wide-battle .sidebar .text-button,.wide-battle .sidebar summary,.welcome summary,.welcome .text-button{min-height:44px;padding-top:12px;padding-bottom:12px;line-height:1.5}.wide-battle .sidebar select,.welcome select,.welcome input:not([type=checkbox]){min-height:44px;font-size:16px}.welcome label:has(input[type=checkbox]){display:flex;align-items:center;min-height:44px;gap:8px}.welcome input[type=checkbox]{width:22px;height:22px;flex-shrink:0}.wide-battle .team-upgrades,.wide-battle .personal-upgrades,.wide-battle .room-card,.wide-battle .map-controls{min-width:0}.menu-v71 .upgrade-button,.menu-v71 .team-upgrade,.menu-v71 .tool-button{min-width:0;grid-template-columns:minmax(0,1fr) auto}.menu-v71 .upgrade-button>span,.menu-v71 .team-upgrade>span,.menu-v71 .tool-button>span{min-width:0;overflow-wrap:anywhere}.menu-v71 .upgrade-button em,.menu-v71 .team-upgrade em,.menu-v71 .tool-button em{font-size:11px;flex-shrink:0}.wide-battle .hud .key-button{width:44px;height:44px;min-width:44px;min-height:44px}.wide-battle .hud .grenade-hud{min-width:52px;min-height:44px}.wide-battle .hud{gap:6px!important}.wide-battle .hud .ammo-hud{min-width:100px;flex-shrink:0}.wide-battle .hud .identity{flex-shrink:0}.wide-battle .hud .grenade-hud{flex-shrink:0}.wide-battle .hud .grenade-hud .grenade-icon{display:none}.wide-battle .hud .identity .avatar{width:24px;height:30px}.wide-battle .hud .ammo-hud strong{font-size:24px}.wide-battle .bottom-scene #pause{min-width:120px;min-height:44px;width:auto;height:auto}.sound-settings{max-height:calc(100dvh - 85px);overflow:auto;overscroll-behavior:contain}.sound-settings input[type=range]{touch-action:pan-y}dialog{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}#help-dialog .help-heading,.map-preview>header{position:sticky;top:0;z-index:3;background:#112017}.map-preview>footer{position:sticky;bottom:0;z-index:3;background:#112017}.map-preview h2{font-family:var(--font)}.map-preview header{gap:10px}.map-preview .map-preview-close{min-width:72px}.map-preview .map-tactics-details>summary{min-height:44px}.map-preview .map-preview-viewport{touch-action:pan-y pinch-zoom}.result-details>summary,.prep-details>summary{min-height:44px!important}.compact-preparation .expedition-option{min-width:0;overflow-wrap:anywhere}.sound-settings button{min-height:44px}
}
@media(max-width:359px){.wide-battle .topbar{gap:3px;padding-inline:6px}.wide-battle.in-room .topbar .brand>span:last-child{font-size:13px}.wide-battle.in-room .topbar .brand-icon{display:none}.wide-battle .hud{padding-inline:6px!important}.wide-battle .hud .ammo-hud{min-width:96px;padding-left:5px}.wide-battle .hud .grenade-hud{min-width:40px;padding:3px}.wide-battle .hud .identity{display:none}.map-preview h2{font-size:18px}.map-cards .map-card,.map-controls .map-card{grid-template-columns:minmax(90px,36%) minmax(0,1fr)}.map-cards .map-card-body b{font-size:14px}.menu-v71 .armory .weapon{grid-template-columns:minmax(0,1fr) 76px;gap:6px}.menu-v71 .armory .weapon b{font-size:12px}}

@media(max-width:900px){.compact-preparation #preparation{max-height:none;overflow:visible}.compact-preparation .prep-actions{position:sticky;bottom:-14px;z-index:4;background:#111f17;padding:8px 0 6px;border-top:1px solid #3d5437}.compact-results .report-actions{position:sticky;bottom:-16px;z-index:4;background:#111f17;padding:8px 0}#help-dialog #help-done{position:sticky;bottom:0;z-index:2}#help-dialog .help-links a{display:inline-flex;align-items:center;min-height:44px;padding:5px 0}#help-dialog select,#help-dialog button,#help-dialog summary{min-height:44px}#help-dialog input:not([type=checkbox]){font-size:16px}.welcome .home-options{min-width:0}.map-preview-layout,.map-preview-media,.map-preview .map-guide{min-width:0}}
@media(max-width:900px) and (max-height:550px){.stage-overlay.compact-pause{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:14px}.compact-pause h2,.compact-pause #stage-description,.compact-pause #resume,.compact-pause #pause-save-note{grid-column:1/-1}.stage-overlay.compact-pause h2{margin:0;font-size:20px}.compact-pause #stage-description{margin:0 0 3px}.compact-pause>#resume{min-height:46px;margin:0}.compact-pause>#pause-sound,.compact-pause>#pause-home{min-height:44px;margin:0}.compact-pause>#pause-save-note{margin:0}.compact-preparation #prep-bonus-options{grid-template-columns:repeat(4,minmax(0,1fr))}.compact-preparation .expedition-option{min-height:54px}.compact-preparation #prep-ready{min-height:46px}.compact-preparation .prep-actions{gap:5px}.compact-preparation #prep-shop{min-height:44px}.sound-settings{top:58px;max-height:calc(100dvh - 68px)}#help-dialog,.map-preview{max-height:94dvh}}
@media(max-width:900px){#help-dialog .help-links a{min-width:44px;justify-content:center}#help-dialog .motion-choice{display:flex;align-items:center;gap:8px;min-height:44px}#help-dialog .motion-choice input{width:22px;height:22px;flex-shrink:0}.sound-settings{scroll-padding:12px}.map-preview{scroll-padding-top:110px;scroll-padding-bottom:115px}.welcome-card{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scroll-padding:12px}}

@media(max-width:900px){.wide-battle .sidebar button{min-height:44px}.open-room>span{min-width:0;overflow-wrap:anywhere}.open-room button{min-width:64px;min-height:44px}.account-room p{overflow-wrap:anywhere}.daily-dialog{padding:16px;max-width:94vw;max-height:92dvh;overscroll-behavior:contain}.daily-dialog h2{font-size:23px;line-height:1.2;margin:8px 0 15px}.daily-dialog .dialog-close{position:sticky;top:0;float:right;width:44px;height:44px;border:1px solid #4e6741;border-radius:7px;background:#17291c;z-index:3;margin:0 0 8px 8px}.daily-row{grid-template-columns:22px minmax(0,1fr)}.daily-row>span,.daily-row>small{overflow-wrap:anywhere}.daily-dialog summary{min-height:44px;padding:12px 0}.field-guide button{min-height:44px}.career-panel summary{min-height:44px}}

/* Keep battlefield overlays clear of the shared crowded roof. */
@media(min-width:901px){.in-room.crowded-roof .sector-tag,.in-room.crowded-roof .wave-brief,.in-room.crowded-roof .viewport-side{display:none!important}.in-room.crowded-roof .field-stats{top:10px;left:12px;gap:10px}.in-room.crowded-roof .field-stats b{font-size:18px}.in-room.crowded-roof .field-stats small{font-size:8px}.in-room.crowded-roof .defense-panel{top:10px;right:12px!important;width:155px}.in-room.crowded-roof .defense-panel small{display:none}.in-room.crowded-roof .operations-hud{top:auto;bottom:12px;left:12px;max-width:calc(100% - 180px);max-height:56px;overflow:hidden;padding:6px 9px;z-index:3}.in-room.crowded-roof .operations-hud b,.in-room.crowded-roof .operations-hud span{font-size:10px;line-height:1.35}.in-room.crowded-roof .operations-hud span{margin-top:2px}.in-room.crowded-roof .bottom-scene>span{display:none}}

/* Keep the whole shared roof clear of HUD controls. */
@media(min-width:901px){.in-room.crowded-roof .operations-hud{top:54px;bottom:auto;max-width:245px}.in-room.crowded-roof .bottom-scene{top:52px;bottom:auto;right:12px;left:auto}}
/* Phone battlefield: controls and notices occupy their own space. */
@media(max-width:900px){
 .wide-battle.in-room{overflow-y:auto}
 .wide-battle.in-room .sector-tag,.wide-battle.in-room .wave-brief,.wide-battle.in-room .viewport-side{display:none!important}
 .wide-battle.in-room .field-guide,.wide-battle.in-room .enemy-intro{position:relative;inset:auto;grid-column:1;grid-row:auto;flex:none;width:100%;max-width:none;margin:0;padding:9px 44px 9px 12px;box-shadow:none;max-height:112px;overflow-y:auto}
 .wide-battle.in-room .enemy-intro strong{margin:3px 0;font-size:12px}
 .wide-battle.in-room .enemy-intro p,.wide-battle.in-room .enemy-intro b{margin:3px 0}
 .wide-battle.in-room .field-guide{max-height:148px}
 .wide-battle.in-room .enemy-intro button{width:44px;height:44px;top:0;right:0}
 .wide-battle.in-room .field-stats{top:6px;left:10px;gap:12px}
 .wide-battle.in-room .field-stats b{font-size:17px}
 .wide-battle.in-room .field-stats small{font-size:8px}
 .wide-battle.in-room .defense-panel{top:7px;right:10px!important;width:132px}
 .wide-battle.in-room .defense-panel small{display:none}
}
@media(max-width:900px) and (orientation:portrait){
 .wide-battle.in-room .shell,.wide-battle.in-room.panel-open .shell,.wide-battle.in-room.menu-v71.panel-open .shell{height:auto;min-height:calc(100dvh - 132px);grid-template-columns:minmax(0,1fr);grid-template-rows:max-content minmax(0,1fr);align-content:start}
 .wide-battle.in-room .battlefield{display:flex;flex-direction:column;align-self:start;padding-top:48px;min-width:0;height:auto;overflow:hidden}
 .wide-battle.in-room #game{flex:none;width:100%;height:calc(100vw * 9 / 16);margin-bottom:52px}
 .wide-battle.in-room .bottom-scene{top:calc(48px + 100vw * 9 / 16 + 4px);bottom:auto;height:44px;left:10px;right:10px;z-index:5}
 .wide-battle.in-room .bottom-scene>span{display:none}
 .wide-battle.in-room .bottom-scene #pause{min-width:116px}
 .wide-battle.in-room .operations-hud{top:calc(48px + 100vw * 9 / 16 + 4px);left:10px;max-width:calc(100% - 148px);max-height:44px;overflow:hidden;z-index:4}
 .wide-battle.in-room #touch-ping{top:calc(48px + 100vw * 9 / 16 + 4px);bottom:auto;left:10px;right:auto;height:44px;max-width:calc(100% - 148px)}
 .wide-battle.in-room:has(#touch-ping:not([hidden])) .operations-hud{display:none}
 .wide-battle.in-room .sidebar,.wide-battle.in-room.panel-open .sidebar{position:relative;inset:auto;grid-row:2;grid-column:1;height:clamp(180px,42dvh,420px);max-height:none;overflow-y:auto}
 .wide-battle.in-room .scene-vignette{top:48px;bottom:52px}
}
@media(max-width:900px) and (orientation:landscape){
 .wide-battle.in-room .shell,.wide-battle.in-room.panel-open .shell,.wide-battle.in-room.menu-v71.panel-open .shell{height:auto;min-height:calc(100dvh - 132px);grid-template-rows:auto;align-items:start}
 .wide-battle.in-room.panel-open .shell{grid-template-columns:minmax(0,1fr) min(38vw,300px)}
 .wide-battle.in-room .battlefield{display:flex;flex-direction:column;min-width:0;height:auto;overflow:hidden}
 .wide-battle.in-room #game{flex:none;height:calc(100dvh - 132px);width:100%}
 .wide-battle.in-room.panel-open .sidebar{position:relative;inset:auto;grid-row:1;grid-column:2;height:calc(100dvh - 132px);overflow-y:auto;box-shadow:none;border-left:1px solid #657f4d;border-top:0}
 .wide-battle.in-room .bottom-scene{position:fixed;top:auto;bottom:13px;right:12px;left:auto;z-index:25;height:44px}
 .wide-battle.in-room .bottom-scene>span{display:none}
 .wide-battle.in-room .bottom-scene #pause{min-width:112px}.wide-battle.in-room .operations-hud,.wide-battle.in-room .field-stats{display:none}
 .wide-battle.in-room .hud{padding-right:132px!important}
 .wide-battle.in-room .defense-panel{position:fixed;top:43px;left:50px;right:auto!important;width:116px;z-index:15}
 .wide-battle.in-room .defense-panel>div:first-child{font-size:8px;gap:5px;line-height:11px}
 .wide-battle.in-room .defense-panel strong{font-size:10px}
 .wide-battle.in-room .defense-panel .health-track{display:none}
 .wide-battle.in-room #touch-ping{position:fixed;left:310px;right:auto;bottom:13px;top:auto;height:44px;min-height:44px;z-index:25;font-size:9px;max-width:120px}
}
@media(max-width:900px) and (pointer:coarse) and (orientation:portrait){.wide-battle.in-room .operations-hud{display:none}}
@media(max-width:900px) and (orientation:portrait) and (max-height:650px){.wide-battle.in-room.panel-open .enemy-intro,.wide-battle.in-room.panel-open .field-guide{display:none}}
@media(max-width:900px){.wide-battle.in-room .sidebar>.sound-settings{position:sticky;inset:auto;top:0;right:auto;width:100%;max-width:none;max-height:100%;margin:0;flex-shrink:0;z-index:35;box-shadow:none}}
@media(max-width:900px) and (orientation:portrait){
 .wide-battle.in-room .shell,.wide-battle.in-room.panel-open .shell,.wide-battle.in-room.menu-v71.panel-open .shell{height:calc(100dvh - 132px);grid-template-rows:max-content minmax(156px,1fr)}
 .wide-battle.in-room .sidebar,.wide-battle.in-room.panel-open .sidebar{height:100%;min-height:0}
}
@media(max-width:900px) and (orientation:landscape){.wide-battle.in-room .hud .grenade-hud{flex:0 0 52px;margin:0;max-width:52px}.wide-battle.in-room .hud #touch-ping{left:254px;max-width:80px;min-width:80px;padding:5px;font-size:9px}}
@media(max-width:900px) and (orientation:landscape) and (min-height:551px){.wide-battle.in-room.panel-open .shell{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto}.wide-battle.in-room.panel-open .sidebar{grid-column:1;grid-row:2;height:min(45dvh,310px)}}
/* Paused and between-wave menus dock beside/below the arena as well. */
@media(max-width:900px){.wide-battle.in-room .shell>.stage-overlay{position:relative;inset:auto;transform:none;width:100%;max-width:none;max-height:100%;min-height:0;margin:0;align-self:start;overflow-y:auto;box-shadow:none;z-index:8}}
@media(max-width:900px) and (orientation:portrait){.wide-battle.in-room .shell>.stage-overlay{grid-row:2;grid-column:1}}
@media(max-width:900px) and (orientation:landscape){.wide-battle.in-room .shell:has(>.stage-overlay:not([hidden])){grid-template-columns:minmax(0,1fr) min(38vw,300px)}.wide-battle.in-room .shell>.stage-overlay{grid-column:2;grid-row:1;height:calc(100dvh - 132px);padding:12px;display:block}.wide-battle.in-room .shell>.stage-overlay.compact-pause>button{min-height:44px;width:100%;margin:5px 0}.wide-battle.in-room .shell>.stage-overlay h2{font-size:18px}}
@media(max-width:900px) and (orientation:landscape) and (min-height:551px){.wide-battle.in-room .shell:has(>.stage-overlay:not([hidden])){grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto}.wide-battle.in-room .shell>.stage-overlay{grid-column:1;grid-row:2;height:auto;max-height:400px}}
/* Each finger owns its quick action; these controls never start a page gesture. */
#reload,#grenade,#touch-ping{touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
@media(max-width:900px){.wide-battle.in-room #touch-ping{background:#172819;border:1px solid #82a75c;color:#d1edb2;font-size:10px;border-radius:4px;padding:8px;min-height:44px}}
@media(max-width:900px) and (orientation:portrait){.wide-battle.in-room #touch-ping{position:absolute;z-index:5}}
.risk-choice{border-top:1px solid #40573b;margin:12px 0;padding-top:10px}.risk-choice h3,.team-abilities h3{margin:4px 0 8px;font-size:13px;color:#d7f0b6}.risk-choice p,.risk-choice>small{font-size:10px;line-height:1.4;color:#afc2a5;margin:6px 0}.risk-choice #risk-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.risk-choice .risk-option{display:flex;flex-direction:column;gap:6px;text-align:left;min-width:0;width:100%;min-height:92px;padding:9px;border:1px solid #526343;border-radius:7px;background:#192b20;color:#dfead3}.risk-option b{font-size:12px}.risk-option small{font-size:10px;line-height:1.4}.risk-option span{font-size:10px;color:#b9db93;margin-top:auto}.risk-option[aria-pressed=true]{border:2px solid #c3ed8a;background:#2a3e23}
.team-abilities{padding:14px;border-bottom:1px solid #3c543b;scroll-margin-top:50px}.team-abilities>small,.team-abilities>p{display:block;color:#c2d3b6;font-size:10px;line-height:1.5;margin:7px 0}.team-abilities progress{display:block;width:100%;height:9px;accent-color:#b9ee7f}.team-ability{display:grid;grid-template-columns:minmax(0,1fr) 58px;gap:5px 9px;width:100%;min-height:74px;min-width:0;margin-top:8px;padding:10px;text-align:left;border-radius:7px;background:#192c20;border:1px solid #688348}.team-ability b{font-size:12px}.team-ability small{grid-column:1;font-size:10px;line-height:1.4;color:#c2d1b6}.team-ability em{grid-column:2;grid-row:1/3;align-self:center;text-align:center;padding:8px 4px;border-radius:5px;background:#b9ee7f;color:#15250e;font-style:normal;font-size:10px;font-weight:750}.team-ability:disabled{opacity:.6}.team-ability:disabled em{background:#30452b;color:#cadbb5}.team-abilities #team-evacuation{padding:9px;border:1px solid #dca459;color:#ffd19a;font-size:13px;font-weight:750}.team-abilities #team-active-effects:empty{display:none}
.wide-battle .hud #team-skill{display:flex;flex-direction:column;justify-content:center;gap:3px;flex-shrink:0;min-height:46px;min-width:68px;max-width:88px;padding:6px 8px;border:1px solid #afcb79;border-radius:6px;background:#2c4127;color:#e8f2c9}.hud #team-skill b{font-size:11px}.hud #team-skill small{font-size:10px}.wide-battle .hud #team-skill.evac-active{background:#e8b66c;border:2px solid #ffe3a2;color:#202617}
@media(max-width:900px){.wide-battle .hud #team-skill{min-width:68px;max-width:78px;min-height:44px;padding:5px}.risk-choice .risk-option{padding:7px;min-height:105px}.risk-option b{font-size:11px}.risk-option small{font-size:9px}.team-abilities{padding:10px}.team-ability{min-height:74px}}
@media(max-width:900px) and (orientation:landscape){.wide-battle.in-room .hud #team-skill{position:fixed;right:140px;bottom:13px;z-index:25;min-width:68px;width:68px}}
/* Leave room for support cards even on short phone menus. */

@media(max-width:900px){.compact-preparation .prep-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px}.compact-preparation #prep-ready,.compact-preparation #prep-shop{width:100%;min-width:0;min-height:44px;margin:0;font-size:10px;padding:7px}}
@media(max-width:900px) and (max-height:650px){.compact-preparation .prep-actions{position:static}}

/* Visual pass 79. Geometry, actor sizes and touch regions remain owned by layout CSS. */
:root{--ui-ink:#ecedda;--ui-muted:#a9b6aa;--ui-line:#35463e;--ui-lime:#c4eb85;--ui-amber:#edba74}
.wide-battle .topbar{background:linear-gradient(180deg,#18221f,#101916);border-bottom-color:#445044;box-shadow:0 2px 14px #0004}
.wide-battle .brand{color:var(--ui-ink);letter-spacing:1.5px}.wide-battle .brand b{color:var(--ui-lime)}
.wide-battle .brand-icon{background:linear-gradient(135deg,#30412b,#17241c);border-color:#64764b;box-shadow:inset 0 0 0 3px #142018;color:var(--ui-lime)}
.wide-battle .brand small{color:#b0ba9e;letter-spacing:2px}
.wide-battle .sidebar{background:linear-gradient(160deg,#1c2923,#111c18 60%);border-color:var(--ui-line);scrollbar-color:#53634c #111c18}
.menu-v71 .shop-header{background:linear-gradient(180deg,#24322a,#18251e);border-bottom:1px solid #3e4e40}
.menu-v71 .shop-wallet>span{border-left-color:var(--ui-amber)}.menu-v71 .shop-wallet>span:last-child{border-left-color:var(--ui-lime)}
.menu-v71 .shop-wallet strong{color:#f2d29b;font-variant-numeric:tabular-nums}.menu-v71 .shop-wallet>span:last-child strong{color:#cfdfbc}
.menu-v71 .shop-tabs{gap:4px;padding:4px;background:#0d1914;border:1px solid #344638;border-radius:8px}
.menu-v71 .shop-tabs button{border:0;border-radius:5px;background:transparent;color:#acbdac;transition:background .15s,color .15s}
.menu-v71 .shop-tabs button[aria-selected=true]{background:#c4eb85;color:#192315;box-shadow:0 2px 5px #0003}
.menu-v71 .armory .weapon{background:linear-gradient(110deg,#233129,#19251f);border-color:#3a4b3e;border-radius:8px;transition:border-color .15s,background .15s}
.menu-v71 .weapon-glyph{background:radial-gradient(ellipse,#384735,#14211a);border:1px solid #42503e;box-shadow:inset 0 -2px #0b1514}
.menu-v71 .weapon-glyph canvas{width:100%;height:auto;max-height:38px;filter:drop-shadow(0 2px 1px #0008)}
.menu-v71 .armory .weapon b{color:var(--ui-ink)}.menu-v71 .armory .weapon small{color:#b4c1b3}
.menu-v71 .armory .weapon.active{background:linear-gradient(110deg,#33432a,#22351f);border-color:#a6c878;box-shadow:inset 3px 0 #c4eb85}
.menu-v71 .armory .weapon.can-buy{border-color:#627b4b}.menu-v71 .armory .weapon.can-buy em{background:#c4eb85;color:#1b2716;box-shadow:0 2px 0 #8fa85f}
.menu-v71 .armory .weapon.unaffordable:disabled{background:#1a211d;border-color:#354039}.menu-v71 .armory .weapon.unaffordable:disabled em{background:#302d23;color:#cfb08a}
.menu-v71 :is(.upgrade-button,.team-upgrade,.tool-button,.team-ability){background:linear-gradient(120deg,#24332a,#19261f);border-color:#405342;border-radius:8px}
.menu-v71 :is(.upgrade-button,.team-upgrade,.tool-button).can-buy{border-color:#6c8453}
.menu-v71 :is(.upgrade-button,.team-upgrade,.tool-button) b{color:var(--ui-ink)}
.menu-v71 .menu-details{border-color:#36493b;border-radius:7px;background:#14221b}.menu-v71 .menu-details>summary{color:#ced9bf}
.wide-battle :is(.stage-overlay,.sound-settings,dialog){background:linear-gradient(145deg,#243329,#111e18 75%);border:1px solid #70865b;border-radius:12px;box-shadow:0 20px 65px #0008,inset 0 1px #c6dfa329}
.wide-battle :is(.stage-overlay,dialog) h2{color:#f0eed5;letter-spacing:.5px}
.wide-battle .stage-overlay .prep-actions{border-top-color:#43553d;background:#19281e}
.wide-battle :is(.primary,#prep-ready,#stage-action,#continue-game){background:linear-gradient(#d3ed9a,#b4d879);color:#192316;border-color:#d9f2ac;border-radius:7px;box-shadow:inset 0 1px #efffc2,0 3px 0 #6a8347;font-weight:750}
.wide-battle :is(.secondary,.panel-button,.icon-button){border-color:#536444;background:linear-gradient(#29382a,#1b291f);color:#d7e2c8;border-radius:5px}
.wide-battle button:focus-visible,.wide-battle input:focus-visible,.wide-battle summary:focus-visible{outline:2px solid #f5d291;outline-offset:3px}
.wide-battle .welcome-card{background:linear-gradient(150deg,#26362bea,#101e19fa 70%);border-color:#738158;box-shadow:0 24px 80px #0009,inset 0 1px #e1edb326}
.wide-battle .welcome h1{color:#f0eedb;text-shadow:0 3px #0005}.wide-battle .welcome h1 em{color:#c4eb85}
.wide-battle .welcome-card>p{color:#d0d9c3}.welcome .eyebrow{color:#c6d4ac}
.welcome .play-style-card{background:linear-gradient(120deg,#293b2e,#19281f);border-color:#526448;border-radius:8px}
.welcome .play-style-card[aria-pressed=true]{background:linear-gradient(120deg,#3a4e2b,#263b22);border-color:#c4eb85}
.welcome .continue-card{background:linear-gradient(120deg,#354829,#253820);border-color:#9cb978}
.map-cards .map-card{background:#1a2b21;border-color:#4c5e46}.map-cards .map-card[aria-pressed=true]{border-color:#c4eb85;box-shadow:0 0 0 1px #b9dc6726}
.map-card-difficulty{background:#34462b;color:#e0edbf}.map-card-difficulty.hard{background:#503a29;color:#ffd09c}
.map-card-boss{color:#ebc48e}.map-card-body b{color:#f0efdb}
.risk-choice .risk-option{background:linear-gradient(135deg,#29392b,#192a20);border-color:#566848;box-shadow:inset 0 1px #a3c27916}
.risk-choice .risk-option[aria-pressed=true]{background:linear-gradient(135deg,#3d502e,#283b23);border-color:#c4eb85;box-shadow:inset 0 3px #c4eb85}
.risk-option b{color:#edf0d5}.risk-option small{color:#c7d3b8}.risk-option span{color:#dfc795;font-variant-numeric:tabular-nums}
#prep-bonus-options button{border-radius:7px;border-color:#566b47;background:#203022;color:#dbe5cb}
#prep-bonus-options button[aria-pressed=true]{border-color:#c4eb85;background:#3b502c;color:#eff6d8;box-shadow:inset 3px 0 #c4eb85}
.wide-battle .health-track{height:7px;background:#17231b;border:1px solid #5b6a49;border-radius:2px;overflow:hidden}.wide-battle #health-bar{background:linear-gradient(90deg,#8cbd60,#d5eaa0);box-shadow:none}
.wide-battle .field-stats b{color:#e8edcf;font-variant-numeric:tabular-nums;text-shadow:0 2px 3px #000b}
.wide-battle .hud{background:linear-gradient(180deg,#1d2a20,#111b15);border-top-color:#536345}
.wide-battle .ammo-hud strong{color:#f2e4b6;font-variant-numeric:tabular-nums}
.wide-battle .event-banner{border-radius:6px;background:#17251bef;color:#f0dfae;border-color:#ad905b;box-shadow:0 6px 22px #0005}
.wide-battle .purchase-result{border-radius:8px;background:#17271ff5;border-color:#9abc72;box-shadow:0 8px 25px #0006}
@media(hover:hover){.menu-v71 .armory .weapon:not(:disabled):hover{border-color:#cfdfa4;background:#2b3d2c}.wide-battle .primary:hover{filter:brightness(1.07)}.welcome .play-style-card:hover{border-color:#b2cc85}}
@media(min-width:901px){.menu-v71 .armory .weapon{grid-template-columns:58px minmax(0,1fr) 69px}.menu-v71 .weapon-glyph{width:58px;height:44px}}
@media(prefers-reduced-motion:reduce){.wide-battle *, .wide-battle *:before,.wide-battle *:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Restore useful pixel silhouettes without adding labels or purchase steps. */
.menu-v71 .armory .weapon .weapon-glyph{display:flex!important;width:40px;height:38px;min-width:0}
.menu-v71 .armory .weapon{grid-template-columns:40px minmax(0,1fr) 72px;gap:7px;padding:10px;min-height:72px}
.menu-v71 .armory .weapon em{white-space:normal;font-size:10px}
@media(min-width:901px){.menu-v71 .armory .weapon{grid-template-columns:58px minmax(0,1fr) 69px}.menu-v71 .armory .weapon .weapon-glyph{width:58px;height:44px}}
@media(max-width:900px) and (orientation:landscape){.menu-v71 .armory .weapon{grid-template-columns:32px minmax(0,1fr) 59px;padding:8px;gap:5px}.menu-v71 .armory .weapon .weapon-glyph{width:32px;height:32px}.menu-v71 .armory .weapon b{font-size:11px}.menu-v71 .armory .weapon small{font-size:9px}}
/* Compact decorative icons; existing names, traits and price columns stay in place. */
.wide-battle.menu-v71 .sidebar button.has-pixel-icon{position:relative;padding-left:43px}
.wide-battle .pixel-menu-icon{position:absolute;left:11px;top:50%;transform:translateY(-50%);display:block;width:23px;height:23px;image-rendering:pixelated;pointer-events:none;flex:none}
.wide-battle .sidebar button:disabled .pixel-menu-icon{opacity:.5;filter:saturate(.5)}
@media(max-width:900px) and (orientation:landscape){.wide-battle.menu-v71 .sidebar button.has-pixel-icon{padding-left:32px}.wide-battle .sidebar .pixel-menu-icon{width:18px;height:18px;left:7px}}
.menu-v71 .weapon.unaffordable .weapon-glyph canvas{opacity:.5;filter:saturate(.5)}
/* Design clarity pass 90: one armory entry, compact sections and quiet pause backdrop. */

.wide-battle.in-room #toggle-panel{font-size:0;min-width:100px}
.wide-battle.in-room #toggle-panel:before{content:'CEPHANELİK';font-size:11px;font-weight:800}
.wide-battle.in-room #toggle-panel span{font-size:11px}
.wide-battle .wave-brief small,.wide-battle .operations-hud span{font-size:11px;line-height:1.4;color:#d1d9c2}
.wide-battle .sector-tag small,.wide-battle .defense-panel small{color:#b7c5af}
.wide-battle .shop-explanation,.wide-battle .team-abilities>small{font-size:11px;line-height:1.5;color:#bbc9b2}
.wide-battle.is-paused .sidebar,.wide-battle.is-paused .hud,.wide-battle.is-paused #pause{visibility:hidden;pointer-events:none}
.wide-battle.is-paused #game{filter:brightness(.48) saturate(.65)}
.wide-battle.is-paused .stage-overlay{box-shadow:0 0 0 100vmax #07100940}
.wide-battle .map-preview-layout{align-items:start}
.wide-battle .map-preview .map-guide{min-height:0!important;height:auto;align-self:start}
.wide-battle .map-preview .map-guide dd{color:#e0d8af}
.wide-battle .map-preview .map-guide details{font-size:12px;line-height:1.5}
.wide-battle .map-preview .map-guide details[open]>summary{margin-bottom:12px}
@media(max-width:900px) and (orientation:portrait){
 .wide-battle.in-room #toggle-panel{min-width:44px}
 .wide-battle.in-room #toggle-panel:before{font-size:9px}
 .wide-battle.in-room.panel-open .shell{grid-template-rows:max-content minmax(156px,1fr)}
 .wide-battle.in-room .sidebar .shop-wallet{padding:8px 12px}
 .wide-battle.in-room .sidebar .shop-wallet strong{font-size:21px}
 .wide-battle.in-room .sidebar .shop-tabs{padding:6px;gap:4px}
 .wide-battle.in-room .sidebar .shop-header{padding-bottom:0}
 .wide-battle.in-room .sidebar section{padding-top:12px;padding-bottom:12px}
 .wide-battle.in-room .sidebar .team-abilities h3{margin:0 0 6px}
 .wide-battle.in-room .sidebar .team-abilities>small{display:none}
 .wide-battle.in-room .sidebar .team-ability{min-height:48px;padding-top:8px;padding-bottom:8px}
 .wide-battle.in-room .sidebar .team-ability small{font-size:10px;line-height:1.3}
 .wide-battle.in-room .sidebar .team-ability em{min-width:54px}
 .wide-battle.in-room .sidebar .weapon{min-height:58px;padding-top:7px;padding-bottom:7px}
 .wide-battle.in-room .sidebar .panel-close{min-height:44px}
}

@media(max-width:900px){.wide-battle.in-room #toggle-panel:before{content:'☰';font-size:20px}.wide-battle.in-room #toggle-panel span{display:none}}
@media(max-width:900px) and (orientation:portrait){
 .wide-battle.in-room .sidebar .shop-header{padding:6px 10px 8px}
 .wide-battle.in-room .sidebar .shop-wallet{margin:0 0 6px;padding:0;gap:8px}
 .wide-battle.in-room .sidebar .shop-wallet>span{display:flex;align-items:center;gap:8px;padding:4px 8px;font-size:0;line-height:1.2}
 .wide-battle.in-room .sidebar .shop-wallet>span:before{content:'Kredi';font-size:11px;color:#c6cdb7;letter-spacing:0}
 .wide-battle.in-room .sidebar .shop-wallet>span:last-child:before{content:'Hurda'}
 .wide-battle.in-room .sidebar #credits-label{display:none}
 .wide-battle.in-room .sidebar .shop-wallet b{display:inline;margin:0;font-size:0}
 .wide-battle.in-room .sidebar .shop-wallet strong{font-size:20px}
 .wide-battle.in-room .sidebar .shop-tabs{padding:4px}
}

/* Clarity pass 92: required choices first; secondary information stays folded. */
.wide-battle .enemy-intro{width:220px;padding:9px 34px 9px 10px;box-shadow:0 3px 12px #0004}
.wide-battle .enemy-intro>small{font-size:9px}
.wide-battle .enemy-card>summary{cursor:pointer;list-style:none;min-height:28px;display:flex;align-items:center}
.wide-battle .enemy-card>summary:after{content:'＋';margin-left:auto;color:#bddc93}
.wide-battle .enemy-card[open]>summary:after{content:'−'}
.wide-battle .enemy-card strong{font-size:13px;margin:3px 0}
.wide-battle .enemy-card canvas{float:left;width:56px;height:56px;image-rendering:pixelated;margin:6px 9px 5px 0}
.wide-battle .enemy-card p,.wide-battle .enemy-card b{font-size:11px;line-height:1.4}
.wide-battle .enemy-intro:has(.enemy-card[open]){width:280px}
.wide-battle #risk-details{margin:8px 0;border-top:1px solid #3b503d}
.wide-battle #risk-details>summary{min-height:44px;padding:12px 0;cursor:pointer;font-size:12px;color:#c7d6b9}
.wide-battle #risk-details:not([open])+#preparation{margin:0}
.wide-battle #risk-choice{padding-top:0;margin:0}
.wide-battle #shop-panel-upgrades>details{margin:6px 14px;border:1px solid #3b5140;border-radius:7px;background:#19271f}
.wide-battle #shop-panel-upgrades>details>summary{padding:14px;min-height:48px;font-size:13px;font-weight:700;color:#d9e7c6;cursor:pointer}
.wide-battle #shop-panel-upgrades>details>section{border:0;padding:6px 12px 12px}
.wide-battle .solo-podium .podium-stage{display:flex;justify-content:center}
.wide-battle .solo-podium .podium-place-1{width:min(100%,320px)}
.wide-battle .solo-podium .podium-step{height:34px}
.wide-battle .solo-podium .podium-note{font-size:11px}
.wide-battle #roof-inspector{width:min(340px,calc(100vw - 28px));padding:20px;border:1px solid #7b9d59;border-radius:10px;color:#e3edd6;background:#17271e;box-shadow:0 15px 70px #0008}
.wide-battle #roof-inspector::backdrop{background:#07100b88}
.wide-battle #roof-inspector strong{display:block;font-size:17px;overflow-wrap:anywhere}
.wide-battle #roof-inspector p{font-size:14px;line-height:1.6}
.wide-battle #roof-inspector button{min-height:44px;width:100%}
@media(max-width:900px){
 .wide-battle .enemy-intro{padding:4px 38px 4px 10px!important;min-height:44px;width:100%!important;margin:0!important}
 .wide-battle .enemy-intro>small{display:none}
 .wide-battle .enemy-card>summary{min-height:36px}
 .wide-battle .enemy-card p,.wide-battle .enemy-card b{margin:5px 0}
 .wide-battle .enemy-intro #enemy-intro-close{width:36px;height:36px;min-height:36px;top:4px}
 .wide-battle .compact-preparation{padding:8px!important}
 .wide-battle .compact-preparation #stage-title,.wide-battle .compact-preparation #stage-eyebrow,.wide-battle .compact-preparation #stage-description{display:none}
 .wide-battle .compact-preparation #prep-title{font-size:12px;line-height:1.3;margin:0 0 5px;display:block}
 .wide-battle .compact-preparation .bonus-choice-title{font-size:11px;margin:5px 0}
 .wide-battle .compact-preparation #prep-bonus-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
 .wide-battle .compact-preparation #prep-bonus-options button{min-height:44px;padding:5px;font-size:10px;line-height:1.3}
 .wide-battle .compact-preparation #prep-bonus-note{font-size:10px;line-height:1.3;margin:4px 0}
 .wide-battle .compact-preparation #prep-ready-hint{font-size:11px;margin:4px 0}
 .wide-battle .compact-preparation .prep-actions{position:sticky!important;bottom:-8px;padding:5px 0;background:#14231a}
 .wide-battle .compact-preparation #risk-details>summary{font-size:11px}
 .wide-battle .compact-preparation .prep-details{display:none}
 .wide-battle .map-preview .map-guide{padding:10px}
 .wide-battle .map-preview .map-guide-boss{margin:9px 0}
 .wide-battle #shop-panel-upgrades>details{margin:5px 8px}
 .wide-battle #shop-panel-upgrades>details>summary{padding:12px}
}

.wide-battle .enemy-card{pointer-events:auto}

.wide-battle .solo-podium .podium-place canvas{width:160px;max-width:180px!important;height:120px}

#prep-bonus-select{display:none}
.wide-battle #shop-panel-upgrades>details:has(>section[hidden]){display:none}
@media(max-width:900px) and (max-height:650px){.wide-battle .compact-preparation #prep-bonus-select{display:block;width:100%;min-height:44px;font-size:16px;background:#22382a;color:#e1eccb;border:1px solid #9aba74;border-radius:6px;padding:7px;margin:5px 0}.wide-battle .compact-preparation #prep-bonus-options{display:none!important}.wide-battle .compact-preparation #prep-bonus-note{display:none}.wide-battle .compact-preparation #risk-details{margin:0}.wide-battle .compact-preparation #risk-details>summary{min-height:36px;padding:8px 0}}

.wide-battle .compact-results #campaign-report .solo-podium{display:flex;align-items:center;gap:14px;padding:0;margin:5px 0}.wide-battle .compact-results .solo-podium .podium-stage{order:0;flex:0 0 128px}.wide-battle .compact-results .solo-podium .podium-heading{order:1;font-size:12px;line-height:1.6;text-align:left;flex:1}.wide-battle .compact-results .solo-podium .podium-place canvas{width:128px;height:96px}.wide-battle .compact-results .solo-podium .podium-step,.wide-battle .compact-results .solo-podium .podium-name,.wide-battle .compact-results .solo-podium .podium-kills{display:none}

/* Usability pass 94: concise purchase states and optional turret comparisons. */
#expedition-select{display:none}
.wide-battle .required-choice{border-color:#d0df8d;background:#223724}
.wide-battle #roof-info-select{display:block;width:100%;min-height:44px;font:inherit;font-size:14px;color:#e0ebcc;background:#24382a;border:1px solid #759759;border-radius:5px;padding:6px;margin-bottom:14px}
.wide-battle button[data-purchase-state='funds'] em{color:#d0b48b!important}
.wide-battle button[data-purchase-state='funds'] em:before{content:'';display:inline-block;width:6px;height:5px;margin-right:5px;border:1px solid currentColor;box-shadow:0 -3px 0 -1px currentColor;vertical-align:middle}
.wide-battle button[data-purchase-state='complete'] em:before{content:'✓ ';font-weight:700}
.wide-battle button[data-purchase-state='unavailable'] em:before{content:'Ⅱ ';opacity:.7}
.wide-battle .turret-appearance-preview{margin:8px 0;border:1px solid #354b37;border-radius:6px}
.wide-battle .turret-appearance-preview>summary{min-height:44px;font-size:11px;padding:12px;cursor:pointer;color:#c0d1b0}
.wide-battle .turret-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;padding:0 4px 8px;text-align:center}
.wide-battle .turret-preview-grid canvas{width:100%;height:auto;image-rendering:pixelated}
.wide-battle .turret-preview-grid small{display:block;font-size:10px;color:#cbd7b8}
.wide-battle #turret-specialties:empty{display:none}
@media(max-width:900px){.wide-battle #expedition-select{display:block;width:100%;min-height:44px;font-size:16px;color:#e3edcf;background:#243b2b;border:1px solid #98b670;padding:7px;border-radius:6px}.wide-battle #expedition-options{display:none!important}.wide-battle #expedition-choice{padding:9px;margin:6px 0}.wide-battle #expedition-choice h3{font-size:12px;margin:0 0 6px}.wide-battle #expedition-countdown{font-size:10px;line-height:1.3;margin:4px 0}.wide-battle #expedition-choice>small{display:none}}

.wide-battle .turret-upgrade-card>.turret-specialties-card{border:0;border-top:1px solid #374d3a;border-radius:0;padding:9px 0 0;margin-top:9px;background:none}.wide-battle .turret-specialties-card>strong{font-size:11px;color:#bbcfa9}

.wide-battle #solo-turret-upgrades .turret-specialties-card{padding:9px 0 0!important;margin:9px 0 0}
@media(max-width:650px) and (orientation:landscape){.wide-battle #solo-turret-shop .upgrade-button{grid-template-columns:minmax(0,1fr);gap:4px}.wide-battle #solo-turret-shop .upgrade-button em{grid-column:1;justify-self:end;min-width:0;max-width:100%;font-size:10px;padding:5px 8px}.wide-battle #solo-turret-shop .upgrade-button b{font-size:11px;overflow-wrap:normal}.wide-battle #solo-turret-shop .upgrade-button small{font-size:10px;line-height:1.4}}

/* Lean presentation pass 95. Only primary actions and selected items carry strong emphasis. */
.wide-battle .brand small,.wide-battle .welcome-card>.eyebrow,
.wide-battle .welcome .play-style-card small,.wide-battle .continue-card>.section-label,
.wide-battle .continue-card>small,.wide-battle.in-room .sector-tag,
.wide-battle.in-room .viewport-side,.wide-battle.in-room .controls-strip,
.wide-battle.in-room .roof-note,.wide-battle.in-room .bottom-scene>span,
.wide-battle .defense-panel>small,.wide-battle .wave-brief small{display:none!important}
.wide-battle .welcome-card{box-shadow:0 10px 38px #0004;background:#15231ded;border-color:#3e5141;border-radius:8px}
.wide-battle .welcome h1{letter-spacing:-1px;text-shadow:none}
.wide-battle .welcome-card>p{color:#c6d2c0}
.wide-battle .welcome .play-style-card{min-height:58px;background:#192a20;border-color:#354b3a;border-radius:6px;padding:15px}
.wide-battle .welcome .play-style-card[aria-pressed=true]{background:#283d24;border-color:#a4c575;box-shadow:none}
.wide-battle .welcome .continue-card{background:#20321f;border-color:#627c4f;border-radius:6px;padding:14px}
.wide-battle .welcome .continue-card #continue-info{margin:0 0 10px;line-height:1.5;font-size:11px}
.wide-battle .primary{background:#bfdf8d;box-shadow:none;text-shadow:none;border-radius:5px}
.wide-battle .sidebar{background:#142019}
.wide-battle .sidebar .shop-header{background:#17261c;box-shadow:none}
.wide-battle .sidebar .shop-wallet{margin-bottom:9px}
.wide-battle .sidebar .shop-wallet b{font-size:0}
.wide-battle .sidebar .shop-wallet strong{font-size:24px}
.wide-battle .sidebar .shop-tabs{background:transparent;border:0;border-bottom:1px solid #344638;border-radius:0;padding:0 0 8px;gap:4px}
.wide-battle .sidebar .shop-tabs button{border-radius:4px}
.wide-battle .sidebar .shop-tabs button[aria-selected=true]{background:#b9d98c;box-shadow:none}
.wide-battle .sidebar #panel-close{background:#1a2b20;color:#c9d8bf;border:0;border-bottom:1px solid #3a4f3c;font-size:11px;letter-spacing:0;text-align:right;padding-right:15px;box-shadow:none}
.wide-battle .sidebar :is(.weapon,.upgrade-button,.team-upgrade,.team-ability,.tool-button){background:#1a2b20;box-shadow:none;border-radius:5px}
.wide-battle .sidebar :is(.upgrade-button,.team-upgrade,.team-ability,.tool-button) em{border-radius:4px;background:#2d422a;color:#d8e9bc;box-shadow:none}
.wide-battle .sidebar .can-buy em{background:#30492a;color:#e3f0cf}
.wide-battle .sidebar .armory .weapon{min-height:64px;margin-top:0;border:0;border-bottom:1px solid #344638;border-radius:0;background:transparent}
.wide-battle .sidebar .armory .weapon.active{background:#243720;border-left:3px solid #badb89;border-radius:4px}
.wide-battle .sidebar .armory .weapon.can-buy em{background:#2f4529;color:#deedc6}
.wide-battle .sidebar .weapon b{font-size:13px;font-weight:700}
.wide-battle .sidebar .weapon small{color:#aebfa8}
.wide-battle .sidebar .armory>h3,.wide-battle .sidebar .armory>.shop-explanation,
.wide-battle #solo-turret-shop>h3,.wide-battle #team-abilities>h3,
.wide-battle #team-abilities>small,
.wide-battle section:has(>#damage-upgrade)>h3,
.wide-battle section:has(>#damage-upgrade)>.shop-kicker,
.wide-battle section:has(>#damage-upgrade)>.shop-explanation,
.wide-battle section:has(>#damage-upgrade)>.purchase-hint{display:none!important}
.wide-battle .sidebar .turret-upgrade-card{background:transparent;border-color:#354b3a;border-radius:5px}
.wide-battle .sidebar .turret-upgrade-card .upgrade-button{border:0;border-bottom:1px solid #344638;border-radius:0;background:transparent}
.wide-battle .sidebar #shop-panel-upgrades>details{background:transparent;border:0;border-bottom:1px solid #344638;border-radius:0}
.wide-battle .sidebar #shop-panel-upgrades>details>summary{font-size:12px;padding-left:5px}
.wide-battle #team-active-effects:empty,.wide-battle #team-energy-label:empty{display:none}
.wide-battle .preparation{border:0;background:transparent}
.wide-battle #preparation .bonus-choice-note{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%)}
.wide-battle #preparation:has(#prep-ready:not(:disabled)) #prep-ready-hint{display:none}
.wide-battle .stage-overlay{box-shadow:0 8px 30px #0005;border-radius:8px}
.wide-battle .sidebar button.has-pixel-icon .pixel-menu-icon{opacity:.85}
.wide-battle .sidebar button:disabled .pixel-menu-icon{opacity:.4}
@media(max-width:900px){.wide-battle .sidebar .shop-wallet strong{font-size:20px}.wide-battle .sidebar .shop-tabs button{min-height:44px}.wide-battle .sidebar .team-ability{min-height:48px}.wide-battle .sidebar #panel-close{min-height:44px}.wide-battle .welcome-card{padding:16px}.wide-battle .welcome .play-style-card{min-height:56px;padding:13px}}

/* Stage simplicity pass 96: one surface, essential choices and clear actions. */
.wide-battle .stage-overlay:is(.compact-preparation,.compact-pause,.compact-results){background:#15231df5;border:1px solid #425541;box-shadow:0 8px 25px #0004;border-radius:7px}
.wide-battle .stage-overlay:is(.compact-preparation,.compact-pause,.compact-results)>#stage-eyebrow{display:none!important}
.wide-battle .compact-preparation>#stage-title,.wide-battle .compact-preparation>#stage-description{display:none!important}
.wide-battle .compact-preparation #preparation{padding:0;margin:0;border:0;background:transparent}
.wide-battle .compact-preparation #prep-title{display:block;font-size:17px;line-height:1.4;margin:0 0 14px;color:#e1ebd2}
.wide-battle .compact-preparation .bonus-choice-title{font-size:11px;letter-spacing:.3px;margin:8px 0}
.wide-battle .compact-preparation #prep-bonus-options button,.wide-battle .compact-preparation .risk-option,.wide-battle .compact-preparation .expedition-option{background:transparent;border:0;border-bottom:1px solid #3a503b;border-radius:3px;box-shadow:none}
.wide-battle .compact-preparation #prep-bonus-options button[aria-pressed=true],.wide-battle .compact-preparation .risk-option[aria-pressed=true],.wide-battle .compact-preparation .expedition-option[aria-pressed=true]{background:#263b22;border-left:3px solid #bfdc8d;outline:none}
.wide-battle .compact-preparation #expedition-choice{border:0;border-left:2px solid #536d43;border-radius:0;background:transparent;padding:10px 0 10px 12px}
.wide-battle .compact-preparation #expedition-choice.required-choice{border-left-color:#c8db8b}
.wide-battle .compact-preparation #expedition-choice h3{font-size:11px;margin-top:0}
.wide-battle .compact-preparation #expedition-choice>small,.wide-battle .compact-preparation #risk-choice>h3{display:none}
.wide-battle .compact-preparation #risk-details,.wide-battle .compact-preparation .prep-details{border:0;border-top:1px solid #334735;border-radius:0;background:transparent}
.wide-battle .compact-preparation #risk-choice>p,.wide-battle .compact-preparation #risk-choice>small{font-size:10px;line-height:1.4;color:#aebfa5}
.wide-battle .compact-preparation #prep-count{font-size:11px;color:#c6d5b7}
.wide-battle .compact-preparation .prep-actions{border:0;gap:7px}
.wide-battle .compact-preparation .prep-actions button{border-radius:4px;box-shadow:none}
.wide-battle .compact-pause{max-width:380px;padding:24px}
.wide-battle .compact-pause #stage-title{font-size:25px;margin:0 0 18px;line-height:1.2;letter-spacing:0}
.wide-battle .compact-pause:has(#resume:not(:disabled)) #stage-description{display:none}
.wide-battle .compact-pause #pause-save-note{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:-1px;padding:0}
.wide-battle .compact-pause #resume,.wide-battle .compact-pause #pause-sound,.wide-battle .compact-pause #pause-home{box-shadow:none;border-radius:4px;min-height:46px}
.wide-battle .compact-pause #pause-sound,.wide-battle .compact-pause #pause-home{background:transparent;border:0;border-bottom:1px solid #3b503d;color:#cfddc2}
.wide-battle .compact-results.result-won>#stage-description{display:none!important}
.wide-battle .compact-results #stage-title{font-size:27px;line-height:1.25;margin:0 0 16px;letter-spacing:0}
.wide-battle .compact-results #report-totals{gap:0;padding:10px 0;margin-bottom:9px;border-bottom:1px solid #354a37}
.wide-battle .compact-results #report-totals>div{border:0;border-right:1px solid #354a37;border-radius:0;background:transparent;padding:6px}
.wide-battle .compact-results #report-totals>div:last-child{border-right:0}
.wide-battle .compact-results #report-totals strong{font-size:24px;margin-top:5px}
.wide-battle .compact-results .result-details{border:0;border-top:1px solid #354a37;border-radius:0;background:transparent}
.wide-battle .compact-results .result-details>summary{padding-left:0;font-size:11px}
.wide-battle .compact-results .report-actions button{border-radius:4px;box-shadow:none}
.wide-battle .compact-results #report-home{background:transparent;border:0;border-bottom:1px solid #3b503d}
.wide-battle .compact-results #wave-leader{border-top:0;padding-top:6px}
.wide-battle:has(.stage-overlay.compact-results:not([hidden]))>.hud{visibility:hidden;pointer-events:none}
@media(max-width:900px){.wide-battle .compact-preparation #prep-title{font-size:12px;margin-bottom:6px}.wide-battle .compact-preparation #expedition-choice{padding:7px 0 7px 9px}.wide-battle .compact-pause{max-width:none;padding:14px}.wide-battle .compact-pause #stage-title{font-size:20px;margin-bottom:12px}.wide-battle .compact-results #stage-title{font-size:23px!important}.wide-battle .compact-results #report-totals strong{font-size:21px}}
/* Keep scene notices behind modal sheets and the preparation action always reachable. */
.wide-battle .stage-overlay:is(.compact-preparation,.compact-pause,.compact-results){z-index:12}
.wide-battle:has(.stage-overlay.compact-pause:not([hidden]),.stage-overlay.compact-results:not([hidden])) :is(.field-stats,.operations-hud,.wave-brief,.defense-panel){visibility:hidden;pointer-events:none}
@media(min-width:901px){.wide-battle .compact-preparation .prep-actions{position:sticky;bottom:-18px;z-index:3;background:#15231dfc;padding:10px 0 0}}

.wide-battle:has(.stage-overlay.compact-pause:not([hidden]),.stage-overlay.compact-results:not([hidden])) :is(.bottom-scene,#touch-ping){visibility:hidden;pointer-events:none}

@media(min-width:901px){.wide-battle .compact-preparation .prep-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.75fr);align-items:stretch}.wide-battle .compact-preparation .prep-actions button{width:100%;margin:0}}

/* Sound and help simplicity pass 97: essentials first, one surface, no nested panels. */
.wide-battle .sound-settings{width:min(320px,calc(100vw - 24px));padding:18px;border:1px solid #425541;border-radius:7px;background:#15231dfa;box-shadow:0 8px 25px #0005}
.wide-battle .sound-settings-heading{margin-bottom:14px}
.wide-battle .sound-settings-heading strong{font-size:15px;letter-spacing:0}
.wide-battle .sound-settings #sound-state{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);padding:0;border:0;margin:-1px}
.wide-battle .sound-settings #sound-close{border:0;border-radius:3px;background:transparent;box-shadow:none;width:44px;height:44px}
.wide-battle .sound-settings label{font-size:12px;color:#c0cfb6}
.wide-battle .sound-settings output{font-size:28px;color:#d3e8b4;letter-spacing:0}
.wide-battle .sound-settings #quick-volume{margin:7px 0 12px}
.wide-battle .sound-settings #quick-volume::-webkit-slider-runnable-track{border-radius:3px;height:7px}
.wide-battle .sound-settings #quick-volume::-webkit-slider-thumb{width:26px;height:26px;border:2px solid #d1e6b6;box-shadow:none;margin-top:-10px}
.wide-battle .sound-settings #sound-mute{min-height:46px;border-radius:4px;box-shadow:none;font-size:13px;background:#263e23;border-color:#637e4d;color:#deedc8}
.wide-battle .sound-settings[data-muted=true] #sound-mute{background:#bfdf8d;color:#1c2b17;border-color:#bfdf8d}
@media(max-width:900px){.wide-battle .sidebar:has(>#sound-settings:not([hidden]))>:not(#sound-settings){display:none!important}.wide-battle .sidebar>#sound-settings{border:0;border-radius:0;box-shadow:none;padding:14px}.wide-battle .sound-settings{max-height:calc(100dvh - 78px)}}
.wide-battle #help-dialog{width:min(500px,94vw);padding:20px;border:1px solid #425541;border-radius:7px;background:#15231d;color:#dfebd1;box-shadow:0 10px 35px #0006}
.wide-battle #help-dialog .help-heading{background:#15231d;margin-bottom:12px}
.wide-battle #help-dialog h2{font-size:21px;letter-spacing:0}
.wide-battle #help-dialog #close-help{border:0;background:transparent;border-radius:3px;width:44px;height:44px;box-shadow:none}
.wide-battle #help-dialog .help-goal{border:0;border-radius:0;background:transparent;padding:0 0 14px;border-bottom:1px solid #354a37}
.wide-battle #help-dialog .help-goal strong{font-size:14px;letter-spacing:0;font-weight:650;color:#d9e8c8}
.wide-battle #help-dialog h3{font-size:10px;letter-spacing:.5px;color:#afc1a5;margin:16px 0 7px}
.wide-battle #help-dialog .help-controls,.wide-battle #help-dialog .help-touch-controls{grid-template-columns:112px minmax(0,1fr);border:0;border-radius:0;background:transparent;padding:0;margin:0}
.wide-battle #help-dialog .help-controls dt,.wide-battle #help-dialog .help-controls dd,.wide-battle #help-dialog .help-touch-controls dt,.wide-battle #help-dialog .help-touch-controls dd{font-size:12px;line-height:1.4;padding:9px 0;border:0;margin:0}
.wide-battle #help-dialog .help-touch-controls{display:none}
.wide-battle #help-dialog .help-touch-controls dt{color:#d7efb9;font-weight:700}
.wide-battle #help-dialog .help-touch-controls dd{color:#c0d0b5}
.wide-battle #help-dialog .help-loop{margin:12px 0 15px;padding-top:10px;border-top:1px solid #354a37}
.wide-battle #help-dialog #help-done{display:none}
.wide-battle #help-dialog .help-details,.wide-battle #help-dialog .extra-settings{border:0;border-top:1px solid #354a37;border-radius:0;background:transparent;margin:0}
.wide-battle #help-dialog .help-details>summary,.wide-battle #help-dialog .extra-settings>summary{padding:12px 0;min-height:44px;color:#c5d4b9}
.wide-battle #help-dialog .help-details[open]>summary{border:0}
@media(pointer:coarse){.wide-battle #help-dialog .help-controls{display:none}.wide-battle #help-dialog .help-touch-controls{display:grid}}
@media(max-width:650px){.wide-battle #help-dialog{padding:16px}.wide-battle #help-dialog h2{font-size:20px}.wide-battle #help-dialog .help-goal strong{font-size:13px}}
@media(max-width:900px) and (max-height:650px){.wide-battle .sidebar>#sound-settings{padding:8px}.wide-battle .sidebar>#sound-settings .sound-settings-heading{height:44px;margin:0}.wide-battle .sidebar>#sound-settings label{position:absolute;left:64px;right:60px;top:18px;font-size:0}.wide-battle .sidebar>#sound-settings output{font-size:22px}.wide-battle .sidebar>#sound-settings #quick-volume{margin:0;height:44px}.wide-battle .sidebar>#sound-settings #sound-mute{min-height:44px}}

/* Map and team simplicity pass 98: preview facts, invite and roster without nested panels. */
.wide-battle .map-preview{border:1px solid #425541;border-radius:7px;background:#15231d;box-shadow:0 10px 35px #0006}
.wide-battle .map-preview header,.wide-battle .map-preview footer{background:#15231d;border-color:#354a37}
.wide-battle .map-preview h2{font-size:23px;letter-spacing:0}
.wide-battle .map-preview .map-preview-close{min-width:44px;width:44px;height:44px;padding:0;border:0;background:transparent;box-shadow:none;font-size:25px}
.wide-battle .map-preview .map-preview-nav button{min-width:44px;min-height:44px;border-radius:4px;box-shadow:none;background:transparent;border-color:#455b40}
.wide-battle .map-preview .map-preview-position{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:-1px}
.wide-battle .map-preview .map-preview-swipe-hint{display:none}
.wide-battle .map-preview .map-guide{border:0;border-radius:0;padding:0;background:transparent}
.wide-battle .map-preview .map-guide-head .map-difficulty{padding:0;border:0;border-radius:0;background:none;font-size:12px}
.wide-battle .map-preview .map-guide-boss{margin:18px 0}
.wide-battle .map-preview .map-guide-boss dd{font-size:23px}
.wide-battle .map-preview .map-tactics-details{border:0;border-top:1px solid #354a37;background:none;border-radius:0}
.wide-battle .map-preview .map-preview-choose{min-height:46px;border-radius:4px;box-shadow:none;background:#bfdf8d;color:#1c2b17}
.wide-battle .map-preview footer small:empty{display:none}
.wide-battle .map-cards .map-card{border:0;border-bottom:1px solid #354a37;border-radius:4px;background:transparent;box-shadow:none}
.wide-battle .map-cards .map-card[aria-pressed=true]{border-left:3px solid #bddb8a;background:#243820}
.wide-battle .map-cards .map-card-body{padding:10px;gap:7px}
.wide-battle .map-cards .map-card-difficulty{background:none;border:0;padding:0;border-radius:0;font-size:11px;letter-spacing:0}
.wide-battle .map-cards .map-card-boss{font-size:12px;font-weight:600;color:#d5d9bb}
.wide-battle .map-controls>.map-guide-details,.wide-battle .map-picker>.map-guide-details,.wide-battle #map-controls>.map-picker-title{display:none}
.wide-battle .sidebar #shop-panel-room>.room-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin:0;padding:14px;border:0;border-bottom:1px solid #354a37;border-radius:0;background:transparent;box-shadow:none}
.wide-battle .room-card>.section-label,.wide-battle .room-card>.room-code,.wide-battle .room-card>.team-invite-label,.wide-battle .room-card>#broadcast-share{grid-column:1/-1}
.wide-battle .room-card>.section-label{margin:0;font-size:10px;letter-spacing:.3px}
.wide-battle .room-card .pill:empty{display:none}
.wide-battle .room-card .pill{padding:0;border:0;background:transparent;font-size:9px}
.wide-battle .room-card .room-code{border:0;border-radius:0;background:transparent;padding:0;min-width:0}
.wide-battle .room-card .room-code>span{font-size:30px;letter-spacing:3px;color:#e0edc8}
.wide-battle .room-card .copy-button,.wide-battle .room-card #copy{min-height:44px;min-width:64px;padding:8px;border:1px solid #455c40;border-radius:4px;background:#263d25;color:#d8e9be;box-shadow:none;font-size:10px}
.wide-battle .room-card .team-invite-label{margin:8px 0 0;font-size:10px;letter-spacing:.3px}
.wide-battle .room-card #team-invite-link{width:100%;min-width:0;min-height:44px;font-size:12px;background:#172a1c;border:0;border-bottom:1px solid #516849;border-radius:0;padding:8px}
.wide-battle .room-card #copy{width:auto;margin:0}
.wide-battle .room-card #room-help{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);padding:0;margin:-1px}
.wide-battle .sidebar:has(#shop-tab-room[aria-selected=true]):not(:has(.defense-settings[open])) .shop-wallet{display:none}
.wide-battle .sidebar #shop-panel-room>.squad-section{padding:14px;border:0;border-bottom:1px solid #354a37;background:transparent}
.wide-battle .squad-section>.section-label{font-size:10px;letter-spacing:.3px}
.wide-battle .squad{gap:0;max-height:min(34dvh,260px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-right:4px}
.wide-battle .squad-player{padding:8px 0;border:0;border-bottom:1px solid #2d4131;background:transparent;border-radius:0;gap:9px}
.wide-battle .squad-player:last-child{border-bottom:0}
.wide-battle .squad-player.own{background:#24371e;padding-left:6px}
.wide-battle .squad-player .mini-avatar{width:22px;height:22px;border:0;background:transparent;color:var(--pcolor);flex-shrink:0}
.wide-battle .squad-name b{font-size:12px}
.wide-battle .squad-name small:empty{display:none}
.wide-battle .squad-player>.you-tag,.wide-battle .squad-name .you-tag{border:0;background:none;padding:0 0 0 5px;font-size:9px}
.wide-battle .squad-player>em{display:none}
.wide-battle #shop-panel-room>.menu-details{border:0;border-bottom:1px solid #354a37;border-radius:0;background:transparent;margin:0 14px}
.wide-battle #shop-panel-room>.menu-details>summary{min-height:44px;padding:12px 0;font-size:12px}
.wide-battle #room-map-status:empty{display:none}
.wide-battle #room-map-status{font-size:11px;line-height:1.4}
.wide-battle .sidebar-foot{font-size:0;border:0;background:none}
.wide-battle .sidebar-foot>.tiny-square{display:none}
.wide-battle .sidebar-foot #leave{font-size:10px;min-height:44px}
@media(max-width:700px){.wide-battle .map-preview h2{font-size:20px}.wide-battle .map-preview .map-guide{padding:0}.wide-battle .map-preview .map-guide-boss{margin:12px 0}.wide-battle .map-preview .map-guide-boss dd{font-size:21px}.wide-battle .map-preview footer{padding:12px}.wide-battle .room-card .room-code>span{font-size:27px}.wide-battle .sidebar #shop-panel-room>.room-card,.wide-battle .sidebar #shop-panel-room>.squad-section{padding:12px}}

/* Interface flow pass 99: primary choices first, one scroll surface, quiet secondary controls. */
.wide-battle .welcome #home-setup[hidden],.wide-battle .welcome .play-style-picker[hidden]{display:none!important}
.wide-battle.home-has-session #home-setup{display:none!important}
.wide-battle .welcome #home-setup{display:flex;flex-direction:column;gap:8px}
.wide-battle .welcome .home-setup-heading{display:flex;align-items:center;gap:14px;border-bottom:1px solid #354a37;padding-bottom:6px;margin:4px 0}
.wide-battle .welcome .home-setup-heading strong{font-size:17px;color:#dfe9cd}
.wide-battle .welcome #home-setup-back{min-height:44px;color:#c3d2b7;font-size:12px}
.wide-battle .welcome #home-setup .home-options{border:0;border-bottom:1px solid #354a37;border-radius:0;background:none;margin:0}
.wide-battle .welcome #home-setup .home-options>summary{padding-inline:0}
.wide-battle .welcome .daily-home{border:0;background:none;padding:8px 0}
.wide-battle .welcome .daily-choice{font-size:12px}
.wide-battle .welcome .solo-help,.wide-battle .welcome .welcome-controls,.wide-battle .welcome .build-note{display:none}
.wide-battle .welcome #home-setup .kick-connect{margin:0}
.wide-battle .welcome #home-setup[data-style=solo] #kick-login{background:transparent;color:#c3d2b7;border:1px solid #425741;box-shadow:none}
.wide-battle .welcome:not(:has(#home-setup:not([hidden]))) h1{margin-bottom:12px}
.wide-battle .squad{max-height:none;overflow:visible;padding:0}
.wide-battle .sidebar #panel-close{height:44px;min-height:44px;flex-shrink:0}
.wide-battle .sidebar [role=tabpanel] :is(button,summary,input,select){scroll-margin-top:160px;scroll-margin-bottom:12px}
.wide-battle .sidebar .turret-upgrade-card>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;min-height:52px;padding:10px 0;list-style:revert;color:#d8e6c7}
.wide-battle .sidebar .turret-upgrade-card>summary:after{content:'＋';font-size:17px;color:#aebfa6}
.wide-battle .sidebar .turret-upgrade-card[open]>summary:after{content:'−'}
.wide-battle .sidebar .turret-upgrade-card>summary strong{font-size:12px;flex:1}
.wide-battle .sidebar .turret-levels{font-size:11px;font-weight:400;color:#b0c0a7;white-space:nowrap}
.wide-battle .sidebar details.turret-upgrade-card{padding:0!important;border:0;border-bottom:1px solid #354a37;border-radius:0;background:none;margin:0}
.wide-battle .sidebar .turret-specialties-card{padding:8px 0!important;border:0!important}
.wide-battle .sidebar .turret-specialties-card>strong{font-size:10px;color:#aebfa6}
.wide-battle .compact-preparation .needs-bonus #expedition-choice{display:none!important}
.wide-battle .compact-preparation #risk-summary{font-size:11px;color:#aebfa6}
.wide-battle .compact-preparation #risk-details{margin-top:8px}
.wide-battle .compact-preparation #risk-choice>p,.wide-battle .compact-preparation #risk-choice>small{display:none}
.wide-battle #settings-dialog{width:min(460px,94vw);max-height:90dvh;overflow:auto;overscroll-behavior:contain;background:#15231d;border:1px solid #425541;border-radius:7px;padding:20px;color:#dfe9cd;box-shadow:0 10px 35px #0006}
.wide-battle #settings-dialog .settings-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:-20px;background:#15231d;z-index:2}
.wide-battle #settings-dialog h2{font-family:var(--font);font-size:21px;margin:0;letter-spacing:0}
.wide-battle #settings-close{width:44px;height:44px;border:0;background:none;font-size:25px}
.wide-battle #settings-dialog .display-settings{padding:10px 0 16px}
.wide-battle #settings-dialog .motion-choice{margin:0 0 14px}
.wide-battle #settings-dialog label[for=effect-quality]{display:block;font-size:12px;margin-bottom:8px;color:#b8c9ad}
.wide-battle #settings-dialog select{width:100%;min-height:44px;padding:8px;font-size:16px;background:#1a2b20;color:#d8e5c8;border:1px solid #455b40;border-radius:4px}
.wide-battle #settings-dialog .display-settings>small{display:none}
.wide-battle #settings-dialog #settings-fullscreen{display:none}
.wide-battle #settings-dialog .menu-details{border:0;border-top:1px solid #354a37;background:none;margin:0;padding:0}
.wide-battle #settings-dialog summary{min-height:44px;padding:12px 0;font-size:12px;cursor:pointer}
.wide-battle #settings-dialog .quality-control{border:0;padding:8px 0}
.wide-battle #settings-dialog .performance-readout{font-size:11px}
.wide-battle #settings-dialog button{min-height:44px}
.wide-battle #settings-dialog .shop-explanation{font-size:11px;line-height:1.5}
.wide-battle .objective-details>*{display:block;font-size:11px;line-height:1.5;margin:8px 0;color:#b9c9ae}
.wide-battle .objective-details>[hidden],.wide-battle .objective-details>:empty{display:none}
.wide-battle #operations-hud{background:#15231de8;border:0;border-left:2px solid #607b4e;padding:6px 9px;max-width:min(420px,calc(100% - 180px));max-height:none;pointer-events:none}
.wide-battle #operations-hud.urgent{border-color:#d3a365}
.wide-battle #objective-line{display:block;font-size:11px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wide-battle .sidebar .shop-tabs button:not([aria-selected=true]){background:transparent;box-shadow:none}
.wide-battle .sidebar .can-buy:not(.active){box-shadow:none}
.wide-battle .sidebar .can-buy em{background:transparent!important;color:#cbdabb!important}
.wide-battle .sidebar .upgrade-button em,.wide-battle .sidebar .team-upgrade em,.wide-battle .sidebar .tool-button em{background:transparent;box-shadow:none}
.wide-battle .sidebar #shop-panel-upgrades>.defense-settings{margin:0;border:0;border-bottom:1px solid #354a37;border-radius:0;background:none}
.wide-battle .sidebar #shop-panel-upgrades>.defense-settings>summary{min-height:44px;font-size:12px}
.wide-battle .sidebar:has(#shop-tab-room[aria-selected=true]) .shop-wallet{display:none!important}
@media(max-width:900px){.wide-battle #settings-dialog{padding:16px}.wide-battle #settings-dialog .settings-heading{top:-16px}.wide-battle .topbar #settings{min-width:36px;width:36px}.wide-battle .topbar #fullscreen{display:none}.wide-battle .sidebar .turret-levels{font-size:10px}}
@media(max-width:900px) and (max-height:650px){.wide-battle .sidebar [role=tabpanel] :is(button,summary,input,select){scroll-margin-top:56px}}
@media(max-width:900px){.wide-battle #settings-dialog #settings-fullscreen{display:block;margin-top:14px;background:transparent;border:0;border-bottom:1px solid #354a37;color:#c3d2b7;width:100%;text-align:left;padding:10px 0}}

/* Compact interaction pass 100: fewer layers, selected summaries, one settings entrance. */
.wide-battle .welcome h1{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:-1px!important;padding:0!important}
.wide-battle .welcome-card>p{margin-top:0}
.wide-battle #home-start-summary{font-size:12px;line-height:1.5;color:#c3d2b7;margin:6px 0}
.wide-battle .topbar #sound{display:none!important}
.wide-battle #settings-dialog #sound-settings{position:static;inset:auto;display:block;width:100%;max-width:none;max-height:none;padding:0 0 16px;margin:0 0 16px;border:0;border-bottom:1px solid #354a37;border-radius:0;box-shadow:none;background:none}
.wide-battle #settings-dialog #sound-close{display:none}
.wide-battle #settings-dialog .sound-settings-heading{margin:0 0 12px}
.wide-battle #settings-dialog .sound-settings-heading strong{font-size:12px;color:#b8c9ad}
.wide-battle #settings-dialog #sound-settings label{position:static;font-size:12px}
.wide-battle #settings-dialog #sound-settings output{font-size:24px}
.wide-battle #settings-dialog #sound-settings #quick-volume{height:44px;margin:5px 0 12px}
.wide-battle #settings-dialog #sound-settings #sound-mute{min-height:44px;font-size:12px}
.wide-battle #turret-details{margin:0;padding:12px 14px;border-bottom:1px solid #354a37}
.wide-battle #turret-details:has(#solo-turret-shop[hidden]){display:none}
.wide-battle #turret-list-title{font-size:12px;color:#c3d2b7;margin:0 0 8px;font-weight:600}
.wide-battle #turret-details #solo-turret-shop{padding:0;border:0}
.wide-battle #buy-solo-turret[hidden]{display:none!important}
.wide-battle #solo-turret-hint:empty{display:none}
.wide-battle #weapon-parts-panel{margin:10px 0 0;border:0;border-top:1px solid #354a37;border-radius:0;background:none}
.wide-battle #weapon-parts-panel>summary{font-size:12px;min-height:44px;padding:12px 0;color:#c3d2b7}
.wide-battle #weapon-parts-panel[open]>summary{border:0}
.wide-battle #mod-weapon[hidden]{display:none!important}
.wide-battle .compact-preparation .choice-summary{display:flex;align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid #354a37}
.wide-battle .compact-preparation .choice-summary[hidden]{display:none}
.wide-battle .compact-preparation .choice-summary>span{flex:1;min-width:0;font-size:12px;line-height:1.5;color:#d4e4c2}
.wide-battle .compact-preparation .choice-summary>button{min-height:44px;flex-shrink:0;margin:0;padding:8px 0;border:0;background:none;color:#b8ce9e;font-size:11px}
.wide-battle .compact-preparation .bonus-condensed :is(#prep-bonus-select,#prep-bonus-options){display:none!important}
.wide-battle .compact-preparation #expedition-choice.perk-condensed :is(#expedition-select,#expedition-options,#expedition-countdown){display:none!important}
.wide-battle .compact-preparation #expedition-choice.perk-condensed{padding-left:0;border-left:0}
.wide-battle #offline-squad{margin-top:6px;border:0;border-top:1px solid #354a37}
.wide-battle #offline-squad[hidden]{display:none}
.wide-battle #offline-squad>summary{min-height:44px;font-size:11px;padding:12px 0;color:#aebfa6;cursor:pointer}
.wide-battle #offline-squad-list .squad-player{opacity:.7}
.wide-battle .field-guide{padding:10px 12px;box-shadow:none}
.wide-battle .field-guide>span{display:none}
.wide-battle .field-guide strong{font-size:12px;margin:0}
.wide-battle .field-guide p{font-size:11px;line-height:1.5;margin:7px 0}

.wide-battle #weapon-parts-panel[hidden],.wide-battle #shop-panel-upgrades>details:has(#progression-panel[hidden]){display:none!important}

/* Finish pass 101: contextual solo controls, direct map apply, game choices outside settings. */
.wide-battle #touch-ping[hidden],.wide-battle #ping-target[hidden],.wide-battle #prep-count[hidden],.wide-battle #apply-map[hidden],.wide-battle #result-daily[hidden]{display:none!important}
.wide-battle .compact-results #report-table{max-height:none;overflow:visible}
.wide-battle .compact-results .result-details{overflow:visible;max-height:none}
.wide-battle .result-daily{margin:8px 0;border:0;border-top:1px solid #354a37;border-radius:0;background:none}
.wide-battle .result-daily>summary{min-height:44px;padding:12px 0;font-size:12px;color:#c3d2b7;cursor:pointer}
.wide-battle .result-daily #daily-room{padding:0}
.wide-battle .result-daily button{min-height:44px;font-size:11px}
.wide-battle .result-daily #daily-room-help{font-size:11px;line-height:1.5}
.wide-battle #settings-dialog .technical-galleries{display:flex;flex-wrap:wrap;gap:12px}
.wide-battle #settings-dialog .technical-galleries a{display:inline-flex;align-items:center;min-height:44px;font-size:11px;color:#bdd3a4;text-decoration:underline;text-underline-offset:3px}
.wide-battle .open-room{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;align-items:center}
.wide-battle .open-room>span{min-width:0}
.wide-battle .open-room b{overflow-wrap:anywhere}
.wide-battle .open-room-details{grid-column:1/-1;margin:0;border:0;border-top:1px solid #304333}
.wide-battle .open-room-details>summary{min-height:44px;font-size:11px;color:#aebfa6;padding:10px 0;cursor:pointer}
.wide-battle .open-room-details>small{font-size:11px;line-height:1.5;display:block;padding:0 0 9px;color:#b4c5a9}

/* Steady interface pass 102: solo expedition tab and one preparation destination. */
.wide-battle #shop-panel-room>.squad-section[hidden]{display:none!important}
.wide-battle #vote-panel{padding:8px 14px;border:0;border-bottom:1px solid #354a37;background:transparent}
.wide-battle #vote-panel[hidden]{display:none!important}
.wide-battle #return-preparation{min-height:44px;width:100%;text-align:left;padding:10px 0;font-size:12px;color:#c3d2b7;border:0;background:none}
.wide-battle #room-list-status{display:block;font-size:11px;line-height:1.5;color:#d9bb95;padding:8px 0}
.wide-battle #room-list-status:empty{display:none}






/* Menu consolidation pass 103: one header layout and compact completed upgrades. */
.wide-battle .sidebar .shop-header{position:sticky;top:0}
@media(max-width:900px) and (min-height:651px){.wide-battle .sidebar .shop-header{top:44px}}
@media(max-width:900px) and (max-height:650px){.wide-battle .sidebar .shop-header{position:static;top:auto}}
.wide-battle .sidebar :is(.upgrade-button,.team-upgrade)[data-purchase-state=complete]{min-height:34px!important;padding:7px 0;margin-top:4px;border:0;border-bottom:1px solid #354a37;border-radius:0;background:transparent;box-shadow:none;opacity:1;grid-template-columns:minmax(0,1fr) auto;cursor:default}
.wide-battle .sidebar :is(.upgrade-button,.team-upgrade)[data-purchase-state=complete]>span{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 9px;min-width:0}
.wide-battle .sidebar :is(.upgrade-button,.team-upgrade)[data-purchase-state=complete] b{font-size:11px;font-weight:500}
.wide-battle .sidebar :is(.upgrade-button,.team-upgrade)[data-purchase-state=complete] small{display:inline;font-size:10px;margin:0;padding:0;line-height:1.4}
.wide-battle .sidebar :is(.upgrade-button,.team-upgrade)[data-purchase-state=complete] em{font-size:10px;padding:0;max-width:none;background:transparent;box-shadow:none;color:#b5c6a8}
.wide-battle .sidebar :is(.upgrade-button,.team-upgrade)[data-purchase-state=complete] .pixel-menu-icon,.wide-battle .sidebar .team-upgrade[data-purchase-state=complete]>span:first-child{display:none}

.wide-battle .account-room-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.wide-battle .account-room-actions .account-leave{font-size:11px;color:#c7b1a5;min-height:44px;padding:8px 0}
.wide-battle .account-room-actions .account-leave:disabled{opacity:.5;cursor:default}
.wide-battle #leave-saved-dialog{width:min(420px,94vw);max-height:90dvh;overflow:auto;background:#15231d;border:1px solid #425541;border-radius:7px;padding:20px;box-shadow:0 10px 35px #0006;color:#dfe9cd}
.wide-battle .leave-saved-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.wide-battle #leave-saved-title{font-family:var(--font);font-size:21px;margin:0;letter-spacing:0}
.wide-battle #leave-saved-close{width:44px;height:44px;border:0;background:none;font-size:25px}
.wide-battle #leave-saved-info{font-size:13px;line-height:1.6;color:#c4d2b8;margin:14px 0}
.wide-battle #leave-saved-error{font-size:12px;line-height:1.5;color:#e8b298}
.wide-battle #leave-saved-error:empty{display:none}
.wide-battle .leave-saved-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.wide-battle .leave-saved-actions button{flex:1;min-height:44px;border-radius:4px;padding:10px;font-size:12px}
.wide-battle #leave-saved-confirm{background:#d9a388;border-color:#d9a388;color:#2a1c15}
.wide-battle.menu-v71 .sidebar button:is(.upgrade-button,.team-upgrade)[data-purchase-state=complete]{padding-left:0}

/* Chat continuity pass 104: visible intermission clock and advance action. */
.wide-battle .stage-overlay.chat-wave-record>#next:not([hidden]){display:block!important;width:100%;min-height:48px;margin-top:16px;background:#b8ef79;color:#172514;border-color:#b8ef79;font-weight:750}
.wide-battle .chat-wave-clock{color:#c5e89e;font-size:15px;font-weight:700;font-variant-numeric:tabular-nums;margin:8px 0}

.wide-battle .compact-results>#wave-leader{order:4;width:100%;margin:8px 0}
.wide-battle .compact-results #wave-leader .podium-stage{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.wide-battle .compact-results #wave-leader .podium-place{min-width:0;width:100%}
.wide-battle .compact-results #wave-leader .podium-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.wide-battle .compact-results #wave-leader .podium-name[title]{cursor:help}
