.welcome{width:410px;transform:translateY(-42%)}.welcome h1{font-size:62px}.welcome>p{font-size:15px;margin-bottom:18px}.faction{padding:11px}.difficulty-label{display:block;font-size:11px;letter-spacing:2px;margin:18px 0 7px}#difficulty{width:100%;background:#29473b;color:#fff;border:1px solid #e0e7bb80;padding:12px;border-radius:7px;font:600 15px Barlow,Arial}#difficulty-note{font-size:12px;line-height:1.5;margin:9px 0 15px;color:#e0e7ce}.welcome .fiction{margin-top:17px}.preview-tag{bottom:11%;right:17%;pointer-events:auto;background:#203b34d9;border:1px solid #ffffff33;padding:15px 22px;border-radius:12px;min-width:310px}.preview-tag strong{font-size:34px}.preview-controls{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:9px 0}.preview-controls button,#inspect-tank{background:#ffffff14;color:#f4e2a7;border:1px solid #f8e7b444;border-radius:5px;padding:7px 14px}.preview-controls button{font-size:23px}#tank-preview-spec{font-size:12px;line-height:1.5;max-width:230px}.preview-tag>span:last-child{display:block;font-size:10px;margin-top:9px;letter-spacing:0}.tactical-status{position:absolute;top:74px;left:18px;right:18px;display:flex;align-items:center;gap:22px;background:#203b34e6;padding:10px 15px;border-radius:8px;backdrop-filter:blur(8px);font-size:12px;color:#d0ddbd}.tactical-status b{color:#fff5c4;font-size:16px;margin-left:5px}.tactical-status .wave-inline{margin-left:auto}.tactical-status button{background:none;border:1px solid #c1cfa159;border-radius:4px;color:#e8efda;padding:5px 9px}.topbar{height:70px;padding:0 20px}.operation{font-size:10px}.minimap{top:130px;right:18px;width:145px}.command-bar{position:absolute;bottom:12px;left:18px;right:18px;display:flex;gap:10px;align-items:center;background:#213b34f5;border:1px solid #e0e7bc38;border-radius:9px;padding:10px}.command-bar button,.unit-actions button{background:#405640;color:#e9f0d7;border:1px solid #c5d0a337;border-radius:5px;padding:10px;font:600 12px Barlow,Arial}.command-bar button:hover,.unit-actions button:hover{background:#607449}.command-bar>button:first-child{background:#e3bd62;color:#273d31}.command-bar #hint{font-size:12px;flex:1;color:#d7e1c3;padding:0 7px}#arsenal{position:absolute;bottom:79px;left:18px;right:18px;max-width:1000px;background:#203b34f5;backdrop-filter:blur(12px);border:1px solid #e0e7bc44;border-radius:12px;padding:16px;z-index:7}.arsenal-head{display:flex;justify-content:space-between;font:700 11px Barlow;letter-spacing:2px;align-items:center}.arsenal-head button,.unit-title button{background:transparent;border:0;color:#d7e3bf;font-size:22px}#categories{display:flex;gap:7px;margin:10px 0}#categories button{background:#ffffff0c;color:#cbdaba;border:1px solid #dce7bb22;padding:8px 13px;border-radius:5px;font:600 13px Barlow}#categories button.selected{background:#d5bf78;color:#233e30}#arsenal #build-cards{overflow-x:auto;padding-bottom:4px}.build-card{flex:1;min-width:145px;display:block;padding:11px}.build-card strong{font-size:19px;white-space:normal}.build-card small{font-size:12px;line-height:1.5;min-height:32px}.build-card .cost{font-size:14px}#arsenal>p{font-size:11px;color:#b4c6a5;margin:9px 0 0}.unit-panel{position:absolute;bottom:84px;right:18px;width:325px;background:#213d34ee;padding:14px;border:1px solid #e5e6b34d;border-radius:10px;z-index:6}.unit-title{display:flex;justify-content:space-between;align-items:center}.unit-title strong{font:700 24px 'Barlow Condensed',sans-serif;color:#f1dfaa}#unit-stats{font-size:12px;line-height:1.6;color:#d0ddbd;margin:7px 0}.unit-actions{display:flex;gap:5px;flex-wrap:wrap}.unit-actions button{padding:7px 9px;font-size:11px}.unit-actions button.active{border-color:#efca70;color:#f4d187}.weapon-row{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #ffffff15;padding:5px 0}.unit-health{width:38px;height:4px}.world-label{font-size:10px}.pad-label{font-size:10px;background:#294939d9}.crew-badge{font:700 9px Barlow;background:#253d2fe6;color:#f4d08b;padding:2px 5px;border-radius:3px;margin-bottom:3px}#toast{top:auto;bottom:80px;left:50%;max-width:480px;text-align:center;font-size:12px;padding:9px 15px;z-index:9;background:#203d33ed;pointer-events:none}#joystick{bottom:93px}.modal-card{max-height:85vh;overflow-y:auto}.modal-card li{font-size:13px}.modal h2{font-size:34px}
@media(max-height:850px){.welcome{width:365px;top:51%}.welcome h1{font-size:50px;margin:13px 0}.welcome>p{font-size:13px;line-height:1.5;margin-bottom:12px}.difficulty-label{margin-top:12px}.welcome .primary{padding:13px}.welcome .fiction{font-size:10px;margin-top:10px}.faction small{font-size:11px}.faction b{font-size:17px}.preview-tag{right:16%;bottom:8%}}
@media(max-width:1100px){.unit-panel{width:285px}.command-bar #hint{font-size:10px}.operation{display:none}.tactical-status{gap:12px}.welcome{left:4%;width:330px}.welcome h1{font-size:47px}.preview-tag{right:8%}}
@media(max-width:760px){.welcome{left:18px;right:18px;bottom:24px;top:auto;transform:none;width:auto;max-width:410px}.welcome h1{font-size:40px}.welcome>p{display:none}.welcome .faction-picker{margin-top:12px}.welcome .faction{padding:9px 6px}.welcome .faction b{font-size:14px}.difficulty-label{font-size:9px;margin-top:10px}#difficulty{padding:9px;font-size:13px}#difficulty-note{font-size:11px}.preview-tag{top:82px;bottom:auto;right:15px;padding:9px;min-width:220px}.preview-tag small{font-size:8px}.preview-tag strong{font-size:25px}.preview-tag>span:last-child{display:none}.preview-controls{margin:4px 0}.preview-controls button{font-size:17px;padding:4px 10px}#inspect-tank{font-size:10px;padding:4px 8px}#tank-preview-spec{font-size:10px}.tactical-status{top:65px;left:9px;right:9px;font-size:9px;gap:10px;flex-wrap:wrap;padding:8px}.tactical-status b{font-size:12px}.wave-inline{margin-left:0!important}#difficulty-badge{display:none}.command-bar{left:8px;right:8px;bottom:8px;gap:5px;padding:7px;flex-wrap:wrap}.command-bar button{font-size:9px;padding:8px}.command-bar #hint{flex-basis:100%;order:-1;text-align:center;font-size:10px}.command-bar kbd{display:none}.command-bar #repair{margin-left:auto}#arsenal{bottom:97px;left:8px;right:8px;padding:12px}#categories{gap:4px}#categories button{padding:7px;font-size:11px}.build-card{min-width:155px;flex:0 0 155px}.build-card strong{font-size:17px}#arsenal>p{font-size:10px}.unit-panel{width:244px;right:8px;bottom:99px;padding:10px}.unit-title strong{font-size:21px}.unit-actions button{font-size:10px;padding:6px}#unit-stats{font-size:11px}.minimap{display:block;top:138px}#joystick{bottom:108px;left:13px;width:90px;height:90px}#toast{bottom:100px;max-width:85vw}#stick{left:22px;top:22px}}
.role-tag{display:inline-block;border:1px solid #a9c6ad70;border-radius:4px;padding:4px 6px;color:#e6dfad;background:#243e32;font-size:12px;line-height:1.3;margin-bottom:8px}.build-card{min-width:180px}.build-card strong{font-size:19px}.build-card small{min-height:48px}.pad-label{pointer-events:auto;cursor:pointer;transform:translate(-50%,-50%);max-width:200px;border:1px solid #f3d68b80;border-radius:5px;color:#fff3bd;font:600 12px Barlow,Arial;padding:6px 8px;background:#233e32ed;text-align:center;line-height:1.25}.pad-label.recruit-label{border-color:#8ed4be;color:#d9fff0;max-width:158px}.pad-label:disabled{opacity:.65;cursor:default}.pad-label:hover:not(:disabled){background:#496248}.unit-panel{width:340px}#unit-stats{font-size:13px}#hint{color:#f4df9a!important}.unit-actions button{font-size:12px}.build-card .cost{font-size:15px}.crew-badge{font-size:10px}.modal-card li{line-height:1.6}.world-label:has(.crew-badge:empty) .crew-badge{display:none}@media(max-width:760px){.role-tag{font-size:11px}.build-card{min-width:175px;flex-basis:175px}.pad-label{font-size:10px;max-width:125px;padding:5px}.pad-label.recruit-label{max-width:125px}.unit-panel{width:255px}#unit-stats{font-size:11px}.unit-actions button{font-size:10px}}

.pad-label{white-space:normal;min-width:94px;max-width:140px}.pad-label span,.pad-label b{display:block}.pad-label.recruit-label{max-width:110px;min-width:100px}.pad-label b{font-size:11px;color:#f3d58c;margin-top:2px}@media(max-width:760px){.pad-label.recruit-label{min-width:78px;max-width:90px}.pad-label b{font-size:10px}}

/* Three armies, with all start controls reachable on short screens. */
.welcome{top:50%;transform:translateY(-46%);max-height:calc(100dvh - 100px);overflow:visible;scrollbar-width:thin;padding:4px 7px 12px 0}
.welcome h1{font-size:56px;margin:17px 0}.welcome>p{margin-bottom:14px}.faction-picker{gap:7px}.faction{padding:9px 11px}.faction small{font-size:11px}.british-emblem{color:#c9b177}.faction.selected .british-emblem{color:#8a713c}
@media(max-height:850px) and (min-width:761px){.welcome{top:82px;bottom:15px;transform:none;max-height:none;overflow-x:hidden;overflow-y:auto}.welcome:before{display:none}.welcome{background:linear-gradient(90deg,#203b34bb,transparent)}.welcome h1{font-size:44px;margin:10px 0}.welcome>p{font-size:12px;margin-bottom:10px}.faction{padding:7px 10px}.faction b{font-size:17px}.faction-emblem{font-size:25px}.difficulty-label{margin-top:10px}#difficulty{padding:9px}.welcome .fiction{margin-top:9px}}
@media(max-width:760px){.welcome{top:auto;bottom:18px;transform:none;max-height:calc(100dvh - 230px);overflow-x:hidden;overflow-y:auto;background:linear-gradient(90deg,#203b34e8,#203b34aa);padding:8px 6px 12px 0}.welcome:before{display:none}.welcome h1{font-size:35px;margin:8px 0}.welcome .faction-picker{grid-template-columns:1fr;gap:5px;margin-top:9px}.welcome .faction{padding:6px 9px;gap:10px}.faction-emblem{font-size:23px;width:26px}.welcome .faction small{font-size:10px}.welcome .primary{padding:11px}.welcome .fiction{margin-top:8px;font-size:9px}.welcome #difficulty-note{margin:6px 0 10px}.preview-tag{top:76px;padding:8px;min-width:210px;max-width:calc(100% - 30px)}.preview-tag strong{font-size:23px}}
/* V5: compact camera tools and an optional intelligence panel. */
.camera-controls{position:absolute;top:130px;left:18px;display:flex;gap:4px;z-index:5}.camera-controls button{background:#203b34e8;color:#efe3b8;border:1px solid #e3dab342;border-radius:5px;padding:8px 10px;font:600 11px Arial;min-height:34px}.camera-controls button[aria-pressed=true]{background:#e0bd70;color:#203b34}.camera-controls #zoom-in,.camera-controls #zoom-out{font-size:18px;padding:4px 11px}.minimap{width:150px;padding:8px;cursor:crosshair}.minimap canvas{width:100%;height:auto}.minimap>span{font-size:9px}.intel-panel{position:absolute;top:174px;left:18px;width:320px;max-height:calc(100dvh - 300px);overflow:auto;padding:15px;background:#203b34f5;border:1px solid #e2d7ac55;border-radius:9px;z-index:8}.intel-head{display:flex;gap:10px;justify-content:space-between;align-items:flex-start}.intel-head strong{font-size:12px;line-height:1.5;color:#f2d995}.intel-head button{border:0;background:none;color:#e5e6cc;font-size:24px;line-height:1}.intel-sequence{padding:12px 0;border-bottom:1px solid #ffffff20;display:grid;gap:5px}.intel-sequence b{font-size:12px;color:#e8eddc}.intel-sequence>span{color:#f2d995;font-size:11px}.intel-sequence small{font-size:11px;color:#becfb6;line-height:1.6}.intel-sequence.launched>span{color:#a3d8b6}.intel-panel p{font-size:11px;line-height:1.6;color:#c4d1b6}.air-marker{position:absolute;transform:translate(-50%,-50%);padding:5px 8px;border:1px solid #f6d688;background:#243e34e8;border-radius:5px;color:#ffe4a2;font:700 10px Arial;pointer-events:none;white-space:nowrap}.air-marker.hostile{border-color:#ff8973;color:#ffc9bc;background:#542d2de8}.command-bar button:disabled{opacity:.45;cursor:default}.command-bar #air-support{white-space:nowrap}.command-bar #hint{font-size:11px}.unit-panel{max-height:calc(100dvh - 230px);overflow-y:auto}
@media(max-width:1100px){.command-bar{flex-wrap:wrap}.command-bar #hint{order:2;flex-basis:100%;text-align:center}.unit-panel,#arsenal{bottom:105px}#toast{bottom:105px}}
@media(max-width:760px){.camera-controls{top:143px;left:9px;right:9px;gap:4px}.camera-controls button{padding:7px;font-size:10px;min-height:32px}.minimap{top:184px;right:9px;width:92px;padding:5px}.minimap>span{font-size:7px}.intel-panel{top:183px;left:9px;width:min(310px,calc(100vw - 18px));max-height:calc(100dvh - 305px);padding:12px}.tactical-status{gap:7px}.tactical-status button{padding:5px 7px;font-size:10px}.command-bar #hint{font-size:9px;line-height:1.35}.command-bar #repair{font-size:8px;padding:7px}.command-bar #air-support{font-size:9px}.command-bar{gap:4px}.unit-panel{bottom:108px;max-height:calc(100dvh - 310px)}#arsenal{bottom:108px}#toast{bottom:110px}.operation{display:none}}
/* V6 aircraft management is a dismissible side panel, never a blocking modal. */
#airfield-panel{position:absolute;right:18px;bottom:84px;width:min(600px,calc(100vw - 36px));max-height:calc(100dvh - 225px);overflow:auto;z-index:8;background:#203b34f5;border:1px solid #e6d59b66;border-radius:11px;padding:16px;backdrop-filter:blur(10px)}.airfield-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.airfield-head strong{font-size:14px;letter-spacing:1px;color:#f3d58e}.airfield-head span{display:block;font-size:13px;margin-top:5px;color:#c8d7bb}.airfield-head>button{background:none;border:0;color:#e5e9d2;font-size:26px}.airfield-actions{display:flex;gap:8px;margin-top:10px}#aircraft-shop{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.aircraft-buy{display:flex;flex-direction:column;gap:7px;text-align:left;background:#3b5140;border:1px solid #d2cd9a55;border-radius:7px;padding:11px;color:#e4edce;min-height:180px}.aircraft-buy .role-tag{font-size:12px;margin:0}.aircraft-buy strong{font:700 20px 'Barlow Condensed',Arial}.aircraft-buy small{font-size:12px;line-height:1.4;color:#c9d4b7;flex:1}.aircraft-buy b{color:#f2d084;font-size:14px}.aircraft-buy:disabled{background:#2b4238;border-style:dashed;cursor:default}.aircraft-buy:disabled b{color:#a8b79f}.aircraft-row{display:grid;gap:6px;padding:12px 0;border-bottom:1px solid #ffffff20}.aircraft-row>strong{font-size:14px;color:#eee2b4}.aircraft-row>span{font-size:13px;color:#c6d6bd}.aircraft-row>div{display:flex;gap:7px}.aircraft-row button,.airfield-actions button{background:#536647;color:#f3efd8;border:1px solid #e0d39d55;border-radius:5px;padding:8px 11px;font-size:13px}.aircraft-row button[data-scrap]{background:transparent;color:#bcccb1}.airfield-actions button:disabled{opacity:.5}#airfield-panel>p,.empty-fleet{font-size:12px;color:#c0cfb0;line-height:1.5;margin:12px 0 0}#categories{overflow-x:auto}#categories button{white-space:nowrap}#air-support{white-space:nowrap}
@media(max-width:1100px){#airfield-panel{bottom:105px}}
@media(max-width:760px){#airfield-panel{left:8px;right:8px;bottom:110px;width:auto;padding:12px;max-height:calc(100dvh - 295px)}#aircraft-shop{display:flex;overflow-x:auto;padding-bottom:7px;scroll-snap-type:x mandatory}.aircraft-buy{min-width:166px;flex:0 0 166px;scroll-snap-align:start;min-height:175px}.airfield-head strong{font-size:12px}.aircraft-row>strong{font-size:13px}.aircraft-row>span{font-size:12px}.aircraft-row button,.airfield-actions button{font-size:12px;min-height:36px}.airfield-head span{font-size:12px}}

/* Model inspection: readable controls alongside the model, with a compact mobile tray. */
.preview-tag{width:370px;max-width:calc(100vw - 32px)}
.preview-categories,.inspection-views,.inspection-mechanisms{display:flex;gap:6px;margin:10px 0;justify-content:center}
.preview-categories button,.inspection-views button,.inspection-mechanisms button{background:#304b3d;border:1px solid #b7c29c60;border-radius:5px;color:#e5ebd1;padding:8px 10px;font-size:14px;min-height:36px}
.preview-tag button[aria-pressed=true]{color:#253c31;background:#e0c481;border-color:#f5dda0}
.preview-tag strong{font-size:30px}.preview-controls{gap:8px}#tank-preview-spec{font-size:14px}
.inspecting .preview-tag{top:auto;bottom:28px;right:24px;width:370px;max-height:calc(100dvh - 115px);overflow-y:auto;padding:18px;text-align:left;background:#203b34f2}
.inspecting .preview-tag strong{margin:14px 0 6px;font-size:32px;line-height:1.1}
#inspection-nation-label{display:grid;gap:6px;font-size:14px;color:#cbd7bc;margin-top:14px}
#inspection-nation{width:100%;padding:10px;background:#304b3d;color:#eef1da;border:1px solid #c2c8a766;border-radius:5px;font-size:16px}
#inspection-facts{padding-left:20px;color:#d6e0c6;font-size:14px;line-height:1.55;margin:14px 0}
#inspection-facts li+li{margin-top:7px}#preview-elevation-label{display:grid;gap:6px;font-size:14px;color:#d6e0c6;margin:12px 0}#preview-elevation{width:100%;accent-color:#dfc17b}
#inspect-tank{font-size:14px;min-height:40px}.inspecting #inspect-tank{width:100%;margin-top:7px}
.inspecting .preview-tag>span:last-child{font-size:12px;line-height:1.5;text-align:center}
#inspection-zoom{position:absolute;left:24px;top:95px;display:flex;gap:5px;z-index:4}#inspection-zoom button{min-width:38px;min-height:38px;padding:7px 12px;background:#203b34df;border:1px solid #e4dba65e;color:#f2e5bc;border-radius:5px;font-size:14px}#model-zoom-out,#model-zoom-in{font-size:21px!important}@media(max-width:760px){#inspection-zoom{top:76px;left:12px}#inspection-zoom button{min-height:34px;padding:5px 10px}}
@media(max-width:1100px) and (min-width:761px){.preview-tag{right:24px;width:320px}.inspecting .preview-tag{width:310px}.preview-categories button,.inspection-views button{padding:7px;font-size:13px}}
@media(max-width:760px){.preview-tag{top:76px;right:12px;left:12px;width:auto;max-width:none;padding:10px}.preview-tag>small{font-size:10px;letter-spacing:1.4px}.preview-tag strong{font-size:23px}.preview-categories{margin:5px 0;gap:5px}.preview-categories button{font-size:13px;padding:5px 9px;min-height:32px}.preview-controls{margin:5px 0}#tank-preview-spec{font-size:12px}#inspect-tank{font-size:13px;min-height:33px;padding:6px 12px}.welcome{max-height:calc(100dvh - 310px)}.inspecting .preview-tag{top:auto;bottom:10px;right:10px;left:10px;width:auto;max-height:46dvh;padding:12px}.inspecting .preview-tag>small{display:none}.inspecting .preview-tag strong{font-size:24px;margin:10px 0 6px}.inspecting #inspection-nation-label{display:flex;align-items:center;gap:10px;margin:8px 0}.inspecting #inspection-nation{padding:6px;font-size:14px}.inspecting #inspection-facts{font-size:13px;line-height:1.4;margin:9px 0}.inspecting #inspection-facts li+li{margin-top:4px}.inspection-views button,.inspection-mechanisms button{font-size:12px;padding:7px;min-height:34px}.inspecting .preview-tag>span:last-child{display:none}}
/* Edition 08: guided play is the default; the tactical interface is retained. */
.faction-picker{display:grid;grid-template-columns:1fr;gap:8px}
.welcome .faction{display:flex;align-items:center;gap:13px;width:100%;text-align:left;padding:12px 14px;border:1px solid #d1debc66;border-radius:9px;background:#254639e8;box-shadow:0 3px 9px #132d2824;color:#ecf0d9;transition:background .15s,border-color .15s}
.welcome .faction:hover{background:#3e5a45;border-color:#f1d999}
.welcome .faction.selected{background:linear-gradient(110deg,#e8cf8d,#c7b071);border:2px solid #ffe8af;padding:11px 13px;color:#263d30;box-shadow:0 0 0 3px #edce8020}
.welcome .faction b{font:700 20px 'Barlow Condensed',Arial;letter-spacing:.7px}.welcome .faction small{display:block;font-size:12px;line-height:1.4;color:#c4d2b6;margin-top:3px}.welcome .faction.selected small{color:#43563b}.welcome .faction-emblem{width:36px;flex:0 0 36px;text-align:center;font-size:30px;color:#e8cc89}.welcome .faction.selected .faction-emblem{color:#4d613a}
#advanced-settings{margin-top:15px;padding:12px 14px;background:#203b34e6;border:1px solid #d2dcbd55;border-radius:9px}#advanced-settings .difficulty-label{font-size:13px;margin:0 0 8px;letter-spacing:1.4px}#advanced-settings #difficulty{font-size:15px;padding:12px;background:#35513f;border:1px solid #d3d6a66e}#advanced-settings #difficulty-note{font-size:13px;margin:8px 0 0}
.mode-picker{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:18px;padding:5px;border:1px solid #cfdbb65c;border-radius:10px;background:#1c382ff0}.mode-picker button{display:grid;gap:4px;padding:11px 7px;border:1px solid transparent;border-radius:6px;background:none;color:#e5edd6;text-align:center}.mode-picker b{font-size:16px}.mode-picker small{font-size:12px;line-height:1.3;color:#b9cbb1}.mode-picker button[aria-pressed=true]{background:#e4c77d;border-color:#ffdea0;color:#243b2f;box-shadow:0 2px 5px #10271f33}.mode-picker button[aria-pressed=true] small{color:#405336}#mode-note{font-size:14px;line-height:1.45;color:#e1e9d4;margin:10px 0 16px}.coin-total>small{display:none}#mode-menu{display:none}
.guided-game .tactical-status{background:none;backdrop-filter:none;display:grid;grid-template-columns:180px 1fr;gap:5px;pointer-events:none;align-items:start;padding:0;top:84px}
.guided-game .coin-total{grid-column:1;grid-row:1/4;display:block;background:#263e2ff2;border:2px solid #e8c468;border-radius:12px;padding:11px 16px;color:#f1c356;font-size:27px;box-shadow:0 5px 20px #1d38283b}.guided-game .coin-total small{display:block;font-size:12px;letter-spacing:2px;color:#f4dfa6;margin-bottom:1px}.guided-game .coin-total b{font:700 42px 'Barlow Condensed',Arial;color:#fff1bc;margin-left:8px}
.guided-game .squad-total,.guided-game .base-total,.guided-game .wave-inline{grid-column:2;justify-self:end;background:#233e32e8;border:1px solid #d1dbaf3b;border-radius:5px;padding:5px 10px;font-size:12px}.guided-game .wave-inline{margin:0}.guided-game .tactical-status b{font-size:15px}.guided-game .coin-total b{font-size:42px}.guided-game #difficulty-badge,.guided-game #intel-toggle,.guided-game #map-toggle{display:none}
#guide-supply{position:absolute;top:183px;left:18px;background:#294435e6;padding:6px 10px;border-radius:5px;color:#e5eccc;font-size:13px;pointer-events:none}
#guide-panel{position:absolute;bottom:20px;left:20px;width:390px;padding:16px 18px;background:#213d32f5;border:1px solid #e4cd8b88;border-radius:12px;z-index:6;box-shadow:0 8px 25px #142d282b}.guide-step{display:flex;justify-content:space-between;color:#e9c97e;letter-spacing:1.3px;font-size:12px;margin-bottom:8px}#guide-title{display:block;color:#fff0c2;font:700 25px 'Barlow Condensed',Arial}#guide-text{font-size:15px;line-height:1.5;color:#d6e2c7;margin:7px 0 12px}#guide-go{background:#e8c579;border:1px solid #ffdda0;border-radius:6px;color:#253c2f;min-height:40px;padding:9px 15px;font:700 14px Barlow,Arial}
.guided-game .camera-controls{top:auto;left:auto;bottom:22px;right:20px;gap:7px;align-items:center}.guided-game .camera-controls #zoom-in,.guided-game .camera-controls #zoom-out{min-width:55px;min-height:55px;font-size:31px;background:#e9cc87;color:#273d31;border:2px solid #ffe7ad;border-radius:10px;box-shadow:0 4px 10px #203d3330}.guided-game #zoom-out{order:0}.guided-game #zoom-in{order:1}.guided-game #camera-focus{order:2;min-height:45px;font-size:14px}.guided-game #camera-pan,.guided-game #camera-overview,.guided-game .command-bar{display:none}
.guided-game .pad-label.guided-pad{font-size:13px;min-width:125px;max-width:165px;padding:9px 10px;border:2px solid #d6c88b;color:#f1e8c1;background:#294637f0;border-radius:8px;box-shadow:0 3px 10px #19392c36}.guided-game .guided-pad b{font-size:14px;color:#f5d46e;line-height:1.35;margin-top:5px}.guided-game .guided-pad.current{border-color:#fff0a7;background:#f0cc79;color:#263f30;box-shadow:0 0 0 5px #ffe29d40,0 6px 18px #1b342745}.guided-game .guided-pad.current b{color:#374b2e}.guided-game .guided-pad.paid{border-style:dashed}.deposit-track{display:block;height:5px;margin-top:7px;border-radius:4px;background:#263e3450;overflow:hidden}.deposit-track em{height:100%;display:block;background:#fff3b0}.guided-game #toast{bottom:240px;font-size:13px;max-width:360px}.guided-game #joystick{bottom:240px}
@media(max-height:850px) and (min-width:761px){.welcome .faction{padding:8px 12px}.welcome .faction.selected{padding:7px 11px}.mode-picker{margin-top:12px}.mode-picker button{padding:9px 5px}#mode-note{font-size:13px;margin:8px 0 12px}}
@media(max-width:760px){.welcome .faction{padding:9px 10px}.welcome .faction.selected{padding:8px 9px}.welcome .faction b{font-size:17px}.welcome .faction small{font-size:11px}.welcome .faction-emblem{font-size:25px;width:30px;flex-basis:30px}.mode-picker{margin-top:12px}.mode-picker button{padding:9px 4px}.mode-picker b{font-size:15px}.mode-picker small{font-size:11px}#mode-note{display:block;font-size:13px;margin:8px 0 12px}#advanced-settings{padding:10px;margin-top:12px}.guided-game .tactical-status{top:75px;grid-template-columns:140px 1fr;left:10px;right:10px}.guided-game .coin-total{padding:8px 12px;border-radius:9px}.guided-game .coin-total b{font-size:34px}.guided-game .coin-total small{font-size:11px}.guided-game .squad-total,.guided-game .base-total,.guided-game .wave-inline{font-size:10px;padding:4px 7px}.guided-game .tactical-status b{font-size:12px}.guided-game .coin-total b{font-size:34px}.guided-game .wave-inline{max-width:180px;text-align:right}.guided-game #wave-status{display:block;margin-top:2px}#guide-supply{top:165px;left:10px;font-size:11px;padding:5px 7px}#guide-panel{left:10px;right:10px;bottom:10px;width:auto;padding:11px 13px}.guide-step{font-size:11px;margin-bottom:5px}#guide-title{font-size:22px}#guide-text{font-size:13px;line-height:1.4;margin:5px 0 8px}#guide-go{font-size:13px;min-height:34px;padding:7px 12px}.guided-game .camera-controls{bottom:195px;right:12px;left:auto}.guided-game .camera-controls #zoom-in,.guided-game .camera-controls #zoom-out{min-width:45px;min-height:45px;font-size:26px}.guided-game #camera-focus{display:none}.guided-game #joystick{bottom:195px}.guided-game #toast{bottom:250px;max-width:85vw;font-size:12px}.guided-game .pad-label.guided-pad{min-width:100px;max-width:130px;font-size:11px;padding:7px}.guided-game .guided-pad b{font-size:12px}}

/* Edition 09: selectable battlefields, terrain preview and occupiable buildings. */
.welcome{max-height:calc(100dvh - 128px);overflow-y:auto;padding-right:12px;scrollbar-width:thin;scrollbar-color:#cbb77b #2b463b}.operation strong{font:inherit}.map-picker{margin-top:14px;padding:12px;background:#203b34ed;border:1px solid #d2dcbd55;border-radius:9px}.map-picker>label{display:flex;justify-content:space-between;font-size:13px;letter-spacing:1.3px;color:#e9deb8;margin-bottom:8px}.map-picker label span{color:#a8c3a8;font-size:12px;letter-spacing:0}#battlefield{width:100%;padding:11px 12px;border-radius:6px;border:1px solid #b4c19c88;background:#35513f;color:#f4ecd4;font:600 16px Barlow,Arial}.map-card{display:grid;grid-template-columns:94px 1fr;gap:12px;margin-top:12px;align-items:start}#map-chart{width:94px;height:98px;border:1px solid #e4d1a077;border-radius:5px}.map-card b{font-size:14px;color:#e8ce8a}.welcome .map-card p{display:block;font-size:14px;line-height:1.4;color:#d6e1cc;margin:6px 0}.map-card small{display:block;font-size:12px;color:#aebfa6}#preview-map{padding:7px 10px;margin-top:9px;border:1px solid #dbcb9666;background:#4b6148;color:#ffebbd;border-radius:5px;font-size:13px;min-height:34px}#map-overview{position:absolute;left:24px;bottom:24px;width:360px;padding:18px;background:#203a32f5;border:1px solid #ddc68c88;border-radius:12px;z-index:5}#map-overview h2{font:700 30px 'Barlow Condensed',Arial;color:#f2db9f;margin:8px 0}#map-overview p{font-size:15px;line-height:1.5;color:#dbe5ce}.terrain-legend{display:flex;flex-wrap:wrap;gap:8px 14px;font-size:12px;color:#c6d6b9;margin:14px 0}.shelter-label{background:#263f38f0;color:#e3e8ca;border:1px solid #a5bf99;border-radius:5px;padding:6px 9px;font:600 12px Barlow,Arial;pointer-events:auto;white-space:nowrap}.shelter-label:hover{border-color:#ffe2a1;background:#3e5841}
@media(max-width:760px){.welcome{max-height:calc(100dvh - 310px)}.map-picker{padding:10px}.map-card{grid-template-columns:74px 1fr;gap:9px}#map-chart{width:74px;height:77px}.welcome .map-card p{font-size:13px}.map-card b{font-size:13px}.map-card small{font-size:11px}#map-overview{left:10px;right:10px;bottom:10px;width:auto;padding:14px}#map-overview h2{font-size:25px}#map-overview p{font-size:13px;margin:7px 0}.terrain-legend{margin:10px 0}}

#wave-ready{pointer-events:auto;min-height:36px;padding:7px 12px;border:1px solid #f4dda1;border-radius:6px;background:#e5c77e;color:#263c31;font:700 14px Barlow,Arial;white-space:nowrap}#wave-ready:disabled{background:#354e3e;color:#d2dcbc;border-color:#829479;cursor:default}.guided-game #wave-ready{grid-column:2;justify-self:end;grid-row:4;min-height:34px}.guided-game #wave-ready:disabled{font-size:12px}@media(max-width:760px){#wave-ready{font-size:12px;min-height:32px;padding:6px 9px}.guided-game #wave-ready{min-height:30px;font-size:12px}.guided-game #wave-ready:disabled{font-size:11px}}

.welcome{overflow-x:hidden}.map-card>div{min-width:0}

/* Area patrol controls keep commands with the selected fleet. */
.patrol-radius-label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 10px;font-size:12px;letter-spacing:.05em;color:#dfd4ad}.patrol-radius-label select{min-width:160px;background:#263f36;border:1px solid #819078;border-radius:6px;padding:8px;color:#f0ead3;font:inherit}.aircraft-row small{display:block;color:#b8cab9;font-size:12px;line-height:1.5;margin:5px 0}.aircraft-row>div{flex-wrap:wrap;gap:6px}.aircraft-buy small{line-height:1.55}@media(max-width:760px){.patrol-radius-label{align-items:flex-start;flex-direction:column;gap:6px}.patrol-radius-label select{width:100%}}

.preview-categories{flex-wrap:wrap}.unit-panel{max-height:calc(100dvh - 245px);overflow-y:auto}.unit-actions button:disabled{opacity:.45;cursor:default}#unload-infantry,#load-infantry{border-color:#d5c280;color:#f4df9a}

/* V13: actual model portraits behind readable requisition information. */
.category-icon{width:22px;height:24px;flex:none;display:inline-block;vertical-align:middle}
#categories button,.preview-categories button{display:inline-flex;align-items:center;justify-content:center;gap:8px}
#categories{padding:3px 2px 8px;scrollbar-width:thin;scrollbar-color:#91a184 #203b34}
#categories button{min-height:42px;font-size:14px}
.preview-categories button{gap:5px}.preview-categories .category-icon{width:18px;height:20px}
#arsenal #build-cards{gap:10px;padding:5px 3px 10px;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#d5bf78 #203b34}
.visual-card{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 65% 44%,#637459 0%,#3b5242 48%,#243e33 100%)}
.build-card.visual-card{flex:0 0 226px;min-width:226px;height:286px;padding:13px;scroll-snap-align:start;border-radius:9px}
.visual-card:after{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,#18342be8 0%,#18342bc4 25%,#18342b05 44%,#18342b08 55%,#18342bf2 77%,#18342bff 100%)}
.card-model{position:absolute;z-index:0;left:-7%;top:43px;width:114%;height:195px;object-fit:contain;pointer-events:none;opacity:0;transition:opacity .18s,transform .2s}
.card-model.ready{opacity:1}
.card-copy{position:relative;z-index:2;display:flex;flex-direction:column;height:100%;text-shadow:0 1px 3px #10291e}
.visual-card .role-tag{display:flex;align-items:center;gap:7px;font-size:12px;line-height:1.3;min-height:26px;margin:0 0 5px;color:#e8d699}
.visual-card .role-tag .category-icon{width:20px;height:22px;opacity:.9}
.visual-card strong{font:700 22px/1.08 'Barlow Condensed',Arial,sans-serif;letter-spacing:.2px;color:#fff5d7;white-space:normal}
.card-details{display:block;margin-top:auto;padding-top:88px}
.visual-card .card-details small{font-size:13px;line-height:1.4;color:#e0e9d5;margin:0;min-height:36px}
.visual-card .cost,.visual-card .card-details>b{display:block;margin-top:8px;font:700 16px Barlow,Arial;color:#ffe091}
.visual-card .unlock-cost{font-size:13px;color:#d4ddce}.visual-card .unlock-cost:before{content:'◷';font-size:15px}
.build-card.visual-card.locked{opacity:1;border-style:dashed;border-color:#93a58c66;cursor:not-allowed}
.visual-card:disabled .card-model{filter:saturate(.4);opacity:.65}
.build-card.visual-card:hover:not(:disabled){background-color:#4f684c;border-color:#f3d486;box-shadow:0 5px 15px #102c2b55;transform:translateY(-2px)}
.visual-card:hover:not(:disabled) .card-model{transform:scale(1.04)}
.build-card.visual-card:disabled:hover{transform:none}
.visual-card:focus-visible{outline:3px solid #fff0ac;outline-offset:-3px}
#aircraft-shop{display:flex;overflow-x:auto;gap:10px;padding:4px 3px 10px;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#d5bf78 #203b34}
.aircraft-buy.visual-card{display:block;flex:0 0 216px;min-width:216px;height:304px;min-height:304px;padding:13px;scroll-snap-align:start}
.aircraft-buy.visual-card .card-details{padding-top:90px}.aircraft-buy.visual-card .card-details small{font-size:13px;min-height:55px}
.aircraft-buy.visual-card:disabled{background:radial-gradient(ellipse at 65% 44%,#53644e,#243e33)}
@media(max-width:760px){
 #arsenal{max-height:calc(100dvh - 265px);overflow-y:auto}
 #categories button{padding:8px 10px;font-size:13px;min-height:40px}
 #categories .category-icon{width:20px;height:22px}
 .build-card.visual-card{flex-basis:218px;min-width:218px;height:282px;padding:12px}
 .aircraft-buy.visual-card{flex-basis:218px;min-width:218px;height:300px;min-height:300px}
 .visual-card strong{font-size:22px}.preview-categories button{padding:5px 7px;gap:4px}
 .preview-categories .category-icon{width:16px;height:18px}
}
@media(prefers-reduced-motion:reduce){.card-model,.build-card.visual-card{transition:none}.visual-card:hover:not(:disabled) .card-model{transform:none}}

/* V19: lighting and weather choices stay in preparation, leaving the battlefield clear. */
.environment-picker{border:0;border-top:1px solid #a9bc9360;margin:15px 0 0;padding:12px 0 0;min-width:0}
.environment-picker legend{float:left;width:100%;display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;padding:0;font-size:14px;letter-spacing:.06em;color:#f0dfae}
.environment-picker legend span{font-size:12px;letter-spacing:0;color:#afc4ae}
#environment-options{clear:both;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
#environment-options button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:43px;padding:8px 4px;border:1px solid #a6b89a66;border-radius:6px;background:#29463c;color:#d9e5d7;font:600 14px Barlow,Arial;cursor:pointer}
#environment-options svg,#environment-badge svg{width:21px;height:21px;flex:none}
#environment-options button:hover{background:#415b4a;border-color:#ebcf8e}
#environment-options button[aria-pressed=true]{background:#e5ca88;color:#273c33;border-color:#ffe3a4;box-shadow:inset 0 0 0 1px #ffe3a4}
#environment-options button:focus-visible,.overview-weather select:focus-visible{outline:3px solid #fff0b4;outline-offset:2px}
.welcome #environment-description{display:block;clear:both;min-height:38px;margin:9px 0 0;font-size:14px;line-height:1.4;color:#c7d7c7}
#environment-badge{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;margin-left:8px;border:1px solid #bed0bd55;border-radius:20px;color:#f0dfb4;font-size:12px;letter-spacing:0;text-transform:none;white-space:nowrap}
#environment-badge svg{width:16px;height:16px}
.overview-weather{display:flex;align-items:center;gap:12px;font-size:14px;color:#dfd9bc}
.overview-weather select{flex:1;min-width:0;padding:9px 30px 9px 10px;font:600 14px Barlow,Arial;color:#f5e9cb;background-color:#35513f;border:1px solid #b4c19c88;border-radius:6px}
#map-overview #overview-environment-description{font-size:13px;color:#bdcfc1;margin:9px 0}
@media(min-width:761px){.operation{display:flex;align-items:center;gap:8px;max-width:58%;flex-wrap:wrap;justify-content:center}.operation>span{margin:0}}
@media(max-width:760px){#environment-options button{min-height:44px;font-size:13px;gap:5px}#environment-options svg{width:19px;height:19px}.environment-picker legend{font-size:13px}.environment-picker legend span{font-size:11px}#map-overview{max-height:52dvh;overflow:auto}.overview-weather{gap:8px}}

#environment-options button[data-environment="day"]{grid-column:1/-1;min-height:34px}

#scene-view-controls{display:flex;gap:8px;margin:12px 0}#scene-view-controls[hidden]{display:none}#scene-view-controls button{flex:1;min-height:40px;padding:8px;border:1px solid #c0bc8670;border-radius:6px;background:#415747;color:#f6e9c1;font:600 14px Barlow,Arial}

.air-health-label{pointer-events:none;transform:translate(-50%,-100%)}.air-health-label .unit-health{width:38px;height:5px;background:#182820c9;border:1px solid #d8d6bb66}

.escort-options{margin:12px 0 0;padding:12px;border:1px solid #bea76b88;border-radius:7px;background:#192d25}
.escort-options legend{padding:0 6px;color:#efdaa5;font-size:14px;font-weight:700}
.escort-options label{display:flex;align-items:center;gap:10px;padding:8px 0;cursor:pointer;font-size:14px;color:#f0e9d4}
.escort-options input{width:19px;height:19px;flex:none;accent-color:#e9c67c}
.escort-options small{display:block;color:#bdd0c0;font-size:13px;line-height:1.4}
.escort-options p{margin:8px 0;font-size:13px;color:#c6d4c6;line-height:1.4}
.escort-options button{width:100%;min-height:40px}.escort-options button:disabled{opacity:.45;cursor:not-allowed}
.escort-options input:focus-visible,.escort-options button:focus-visible{outline:3px solid #ffe6a6;outline-offset:3px}
.campaign-brief{margin-top:12px;padding:12px 14px;background:#162d29;border:1px solid #9ba77e66;border-left:3px solid #ddc47b;border-radius:6px}.campaign-brief summary{font-size:14px;font-weight:600;color:#ebd69a;cursor:pointer;line-height:1.5}.welcome .campaign-brief p{font-size:16px;line-height:1.5;margin:12px 0;color:#d7e0cd}.campaign-brief p b{color:#ebd69a}.campaign-brief small{display:block;color:#a9bca7;font-size:13px;line-height:1.5}
#airfield-panel{width:min(370px,calc(100vw - 28px));max-height:calc(100dvh - 145px);padding:14px;right:14px;top:110px;border:1px solid #c6ad6b70;border-radius:12px;background:#172e29f5;box-shadow:0 15px 55px #0007;backdrop-filter:blur(12px)}#airfield-panel .airfield-head{margin-bottom:10px;align-items:center}#airfield-panel .airfield-head strong{font-size:14px;letter-spacing:1.2px}#airfield-status{font-size:12px}#aircraft-fleet{display:grid;gap:8px;margin:0 0 10px}#airfield-panel .compact-plane{padding:10px;border:1px solid #81957c50;border-radius:8px;background:#243c33;gap:5px;margin:0}.compact-plane.chosen-plane{border-color:#edce82!important;background:#344c3b!important}.plane-title{display:flex;align-items:start;justify-content:space-between;gap:9px}.plane-title strong{font-size:13px;line-height:1.35}.plane-base{font-size:10px;white-space:nowrap;color:#e4cb8d;padding:3px 5px;background:#0e211b;border-radius:4px}.plane-summary{display:flex!important;flex-wrap:wrap;gap:3px 7px!important;font-size:11px;color:#c2cebd}.plane-summary span:first-child{color:#ecd59b}.plane-quick-actions{display:flex!important;gap:5px!important;margin:3px 0 0!important}.plane-quick-actions button,.compact-plane details>button{display:inline-flex!important;align-items:center;justify-content:center;gap:5px!important;min-height:34px!important;padding:6px 9px!important;margin:0!important;border:1px solid #94aa7e55!important;border-radius:6px!important;background:#102b22!important;color:#e6e8ce!important;font-size:12px!important;font-weight:650}.plane-quick-actions button:hover{border-color:#efcc7c!important;background:#3e563d!important}.plane-quick-actions button:disabled{opacity:.4;cursor:not-allowed}.plane-quick-actions svg,.compact-plane details>button svg{width:15px;height:15px;flex-shrink:0}.compact-plane details summary{padding:4px 0;cursor:pointer;color:#aebfa8;font-size:11px}.compact-plane details p{font-size:12px!important;line-height:1.5;margin:5px 0!important}.compact-plane .escort-options{margin-top:7px;padding:8px}.compact-plane .escort-options legend{font-size:12px}.compact-plane .escort-options label{font-size:12px}#aircraft-market{border-top:1px solid #abbb9550;padding-top:9px}#aircraft-market>summary{color:#ecd08b;cursor:pointer;padding:4px 0 9px;font-size:13px;font-weight:700}.airfield-picker{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:4px 0 10px;font-size:12px}.airfield-picker select{max-width:220px;font:inherit;padding:7px;color:#efdfb6;background:#263e31;border:1px solid #9bac8055;border-radius:5px}#airfield-panel #aircraft-shop{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}#airfield-panel .aircraft-buy.visual-card{min-height:98px!important;padding:7px!important}#airfield-panel .aircraft-buy .card-model{width:100%;height:90px;object-fit:contain;opacity:.45}#airfield-panel .aircraft-buy strong{font-size:11px}#airfield-panel .aircraft-buy .card-details small{display:none}#airfield-panel .aircraft-buy .role-tag{font-size:10px}#airfield-panel .aircraft-buy .card-details b{font-size:12px}.airfield-tip{font-size:11px!important;line-height:1.45!important;color:#afbea8!important;margin:10px 0 0!important}#airfield-panel .patrol-radius-label{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin:9px 0 0;padding-top:9px;border-top:1px solid #9bb08944}#airfield-panel #patrol-radius{width:120px;padding:6px;font-size:12px}.unknown-contact{pointer-events:auto;border:1px dashed #efd083;background:#243731df;color:#ffe29a;font:bold 15px system-ui;min-width:34px;min-height:30px;padding:4px 6px;border-radius:6px;cursor:crosshair}.unknown-contact:hover{background:#735f31}#airfield-panel button:focus-visible,#airfield-panel summary:focus-visible{outline:2px solid #ffdc8e;outline-offset:2px}
@media(max-width:760px){#airfield-panel{top:116px;right:8px;max-height:calc(100dvh - 190px);width:min(350px,calc(100vw - 16px))}}

#airfield-panel .compact-plane{padding:8px;gap:3px;position:relative}#airfield-panel .plane-title{padding-right:22px}#airfield-panel .plane-summary{font-size:10px}#airfield-panel .plane-quick-actions{margin-top:2px!important}#airfield-panel .plane-quick-actions button{min-height:30px!important;padding:4px 8px!important}#airfield-panel .compact-plane details:not([open]){position:absolute;top:8px;right:8px;width:18px;height:18px}#airfield-panel .compact-plane details:not([open]) summary{font-size:0;padding:0;width:18px;height:18px;text-align:center;border:1px solid #a8bb8255;border-radius:4px}#airfield-panel .compact-plane details:not([open]) summary::after{content:"⋯";font-size:15px;line-height:12px}#airfield-panel .compact-plane details:not([open]) summary::marker{content:""}.recon-contact .crew-badge{max-width:165px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Always-readable vegetation pins, independent of selection or damage. */
.vegetation-pin{display:grid;place-items:center;min-width:23px;width:max-content;height:23px;margin:0 auto 8px;padding:0 4px;position:relative;border:2px solid var(--team-color,#e9d38c);border-radius:7px;background:#11211ff2;color:var(--team-color,#e9d38c);font:900 11px Barlow,Arial;text-shadow:none;box-shadow:0 2px 5px #000c,0 0 0 2px #10231eaa}.vegetation-pin:after{content:'';position:absolute;left:50%;bottom:-7px;transform:translateX(-50%);border:5px solid transparent;border-top-color:var(--team-color,#e9d38c);border-bottom:0}.in-vegetation{z-index:2}.in-vegetation .unit-health{margin:auto;border-color:var(--team-color)}.in-vegetation .unit-health i{background:var(--team-color)}.in-vegetation .crew-badge:empty{display:none}

/* Deposit cards remain stable click targets while their amounts update. */
#world-labels .pad-label{pointer-events:auto;cursor:pointer;touch-action:manipulation;z-index:5}
#world-labels .pad-label>*{pointer-events:none}
#world-labels .pad-label:focus-visible{outline:2px solid #ffe292;outline-offset:3px}
#world-labels .pad-label .deposit-track[hidden]{display:none}

/* Stable aircraft purchasing and fleet management. */
#airfield-panel{width:440px;max-width:calc(100vw - 28px);top:114px;bottom:90px;max-height:none;padding:0;overflow:hidden;display:flex;flex-direction:column;background:#142920f5;border:1px solid #c9b37b66;border-radius:13px}
#airfield-panel .airfield-head{padding:18px 18px 12px;margin:0;flex:none;display:flex;justify-content:space-between;gap:10px}#airfield-panel .airfield-head small{display:block;color:#b8c6a9;font-size:9px;letter-spacing:1.5px;margin-bottom:6px}#airfield-panel .airfield-head strong{font:700 28px 'Barlow Condensed',Arial;display:block;letter-spacing:.2px}#airfield-status{display:block;font-size:12px!important;color:#b9c8af;margin-top:4px}#airfield-panel #close-airfield{flex:none;width:32px;height:32px;border:1px solid #9eb68b55;background:#304936;color:#eddec0;border-radius:7px;font-size:23px}
.airfield-overview{display:flex;align-items:center;gap:12px;padding:0 18px 14px;flex:none}.airfield-overview .airfield-picker{display:block;flex:1;min-width:0;margin:0;font-size:9px;letter-spacing:1px;color:#b9c7ae}.airfield-overview .airfield-picker select{display:block;width:100%;max-width:none;font-size:12px;letter-spacing:0;padding:10px;margin-top:5px;background:#223c2e}.airfield-wallet{display:block;font-size:9px;color:#b9c7ae;letter-spacing:1px;white-space:nowrap}.airfield-wallet b{display:block;margin-top:6px;color:#f3d389;font-size:18px;letter-spacing:0}
.airfield-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:0 18px 12px;padding:4px;background:#0b1e16;border-radius:8px;flex:none}.airfield-tabs button{border:0;border-radius:5px;padding:10px 8px;background:transparent;color:#b4c7ad;font-weight:650;font-size:12px}.airfield-tabs button[aria-pressed=true]{color:#f5e4b3;background:#3d5138;box-shadow:0 1px 4px #0004}.airfield-tabs span{display:inline-block;border-radius:4px;background:#162b1c;padding:1px 5px;margin-left:5px;color:#e9d499}
.airfield-content{overflow-y:auto;overscroll-behavior:contain;flex:1;min-height:0;padding:0 18px 16px;scrollbar-width:thin;scrollbar-color:#8d9a74 transparent}#aircraft-market{border:0;padding:0}#airfield-market-notice{margin:0 0 10px;font-size:12px;line-height:1.4;color:#cecfb3}#airfield-panel #aircraft-shop{display:grid;grid-template-columns:1fr;gap:10px;overflow:visible;padding:0;scroll-snap-type:none}
.aircraft-purchase{display:grid;grid-template-columns:112px minmax(0,1fr);border:1px solid #95ab7855;border-radius:9px;background:linear-gradient(135deg,#354a34,#21382c);overflow:hidden;min-width:0}.aircraft-product-image{display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse,#6b7c4f55,transparent 75%);min-height:105px}#airfield-panel .aircraft-purchase .card-model{position:static!important;inset:auto;transform:none;width:126px!important;height:105px!important;object-fit:contain;opacity:1!important;max-width:none;pointer-events:none}.aircraft-product-copy{padding:12px 12px 8px 0;min-width:0}.aircraft-product-copy>small{color:#e3c87e;display:block;font-size:9px;text-transform:uppercase;letter-spacing:1px}.aircraft-product-copy strong{display:block;font:700 18px/1.1 'Barlow Condensed',Arial;color:#f4eed7;margin-top:4px}.aircraft-product-copy p{font-size:11px;line-height:1.4;color:#c4cfb8;margin:6px 0}.aircraft-product-stats{font-size:10px;color:#aabc9f}.aircraft-product-footer{grid-column:1/-1;border-top:1px solid #9daf8133;display:flex;align-items:center;justify-content:space-between;padding:9px 10px;background:#0c251630;gap:6px}.aircraft-buy-note{font-size:10px;color:#bbc9ae}.aircraft-product-footer button{border:1px solid #e5cc8a;background:#e1c17a;color:#28382a;border-radius:5px;min-height:34px;padding:7px 13px;font-weight:750;font-size:12px;white-space:nowrap}.aircraft-product-footer button:hover{background:#f7d790}.aircraft-product-footer button:disabled{background:#3c4f37;border-color:#84957055;color:#a2b395;cursor:not-allowed}
#airfield-panel .airfield-actions{display:flex;gap:8px;margin-top:14px}.airfield-actions button{flex:1;min-height:36px}#airfield-panel .compact-plane{padding:12px;gap:8px}#airfield-panel .plane-title strong{font:700 18px/1.15 'Barlow Condensed',Arial}#airfield-panel .plane-summary{font-size:11px;gap:5px!important}#airfield-panel .plane-quick-actions{margin-top:6px!important}#airfield-panel .plane-quick-actions button{min-height:36px!important;padding:7px 10px!important}#airfield-panel .compact-plane details:not([open]){top:12px;right:10px}.empty-fleet{padding:20px 12px;border:1px dashed #9eb58a66;border-radius:8px;text-align:center;color:#c5d0b9}
@media(max-width:760px){#airfield-panel{top:112px;bottom:100px;right:8px;max-width:calc(100vw - 16px);width:390px;max-height:none;padding:0}#airfield-panel .airfield-head{padding:12px 12px 8px}#airfield-panel .airfield-head strong{font-size:24px}.airfield-overview{padding:0 12px 10px;gap:8px}.airfield-tabs{margin:0 12px 10px}.airfield-content{padding:0 12px 12px}.aircraft-purchase{grid-template-columns:96px minmax(0,1fr)}#airfield-panel .aircraft-purchase .card-model{width:108px!important;height:95px!important}.aircraft-product-copy strong{font-size:17px}.aircraft-product-footer button{min-height:38px}.airfield-wallet b{font-size:16px}.airfield-head small{font-size:8px!important}}
