/* Atlas-derived artwork follows the established navy / cyan / warm-gold cockpit. */
.generated-icon{display:block;object-fit:contain;pointer-events:none;user-select:none;-webkit-user-drag:none;width:32px;height:32px;filter:drop-shadow(0 1px 3px #00101c66)}
.settings-trigger{width:44px;height:44px;min-width:44px;padding:5px!important;border-radius:10px!important;display:flex;align-items:center;justify-content:center}.settings-trigger .generated-icon{width:33px;height:33px}#hud .hud-controls{gap:6px}#hud .hud-controls .settings-trigger{background:#09233599;border:1px solid #86bdce66}
/* A single menu owns language, sound, fullscreen and flight preferences. */
#audio-settings.settings-overlay{position:fixed;inset:0;z-index:85;width:auto;max-height:none;padding:22px;display:flex;align-items:center;justify-content:center;background:#020b15c7;border:0;border-radius:0;box-shadow:none;backdrop-filter:blur(12px);color:#d8edf7;overflow:hidden}
.settings-window{width:min(860px,100%);max-height:calc(100dvh - 44px);display:flex;flex-direction:column;overflow:hidden;border:1px solid #6e9cae88;border-radius:18px;background:linear-gradient(135deg,#18384cec,#071725f5);box-shadow:0 25px 90px #0008}.settings-window>header{display:flex;align-items:center;gap:12px;padding:14px 20px;border-bottom:1px solid #7094a54d;flex-shrink:0}.settings-header-art{width:45px;height:45px;object-fit:contain}.settings-window h2{font:600 24px Rajdhani,sans-serif;letter-spacing:2px;margin:0;flex:1}.settings-window #btn-audio-close{width:44px;height:44px;min-height:44px;padding:10px}.settings-body{display:grid;grid-template-columns:1fr 1fr;gap:26px;padding:20px;overflow:auto;overscroll-behavior:contain;touch-action:pan-y}.settings-body p{font:13px Rajdhani,sans-serif;color:#9fbccb;line-height:1.5;margin:12px 0}.settings-audio-column,.settings-flight-column{min-width:0}.settings-body h3{font:600 14px Rajdhani,sans-serif;letter-spacing:1.2px;color:#d1e9f2;margin:3px 0 14px}.settings-language-row{display:flex;padding-bottom:10px;border-bottom:1px solid #6a8c9e44}.settings-language-row .language-label{display:flex!important;align-items:center;justify-content:space-between;width:100%;font:600 12px Rajdhani,sans-serif;letter-spacing:1px}.settings-language-row select{background:#0d293a;border:1px solid #668da1;color:#d3f4fc;border-radius:7px;font:14px Rajdhani,sans-serif;padding:8px;min-height:40px}.settings-body .hud-btn,.settings-body .primary-btn{font-size:11px;min-height:40px;letter-spacing:.8px;border-radius:8px;padding:9px 12px}.settings-body #btn-music-start{margin:6px 0;width:100%;min-width:0}.settings-body #btn-radio-next{width:100%;margin:0 0 12px}.settings-body label[for]{display:flex;justify-content:space-between;font:600 12px Rajdhani,sans-serif;letter-spacing:1px;margin:10px 0 4px}.settings-body input[type=range]{display:block;box-sizing:border-box;min-height:30px;width:100%;accent-color:#6ed7e6}.settings-body #btn-audio-toggle{width:100%;margin-top:10px}.settings-body .music-playback-state{font-size:11px;padding:8px;background:#06162480;border:1px solid #7190a133;border-radius:7px}.settings-body .music-meter{height:2px}.settings-flight-buttons{display:flex;flex-wrap:wrap;gap:7px}.settings-flight-buttons .hud-btn{display:flex!important;width:auto!important;font-size:11px!important;gap:7px!important}.settings-flight-buttons .hud-btn span{display:inline!important}.settings-flight-buttons .icon{width:18px;height:18px;display:block!important}
#audio-settings #btn-mobile-fullscreen{position:static!important;inset:auto!important;width:auto;height:40px;min-height:40px;padding:8px 11px;display:flex;align-items:center;gap:7px;border:1px solid #688f9c;border-radius:8px;background:#15344766;color:#d1eaf4;font:600 11px Rajdhani,sans-serif;box-shadow:none}.settings-flight-buttons #btn-mobile-fullscreen svg{width:18px;height:18px}.settings-control-guide{display:grid;grid-template-columns:repeat(4,1fr);gap:14px 8px;padding:18px 0;margin-top:14px;border-top:1px solid #708fa244;border-bottom:1px solid #708fa244}.settings-control-guide>div{display:flex;align-items:center;flex-direction:column;gap:6px}.settings-control-guide .generated-icon{width:38px;height:38px}.settings-control-guide span{font:600 9px Rajdhani,sans-serif;letter-spacing:.5px;color:#a8c9d7}#settings-hangar-tools{display:flex;flex-wrap:wrap;gap:7px;padding-top:15px}
/* Artwork in the real equipment and supplies rows. */
.equipment-label{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:10px}.equipment-label>.generated-icon{width:48px;height:48px;flex:0 0 48px}.equipment-label>div{display:flex;flex-direction:column;gap:5px}.equipment-label strong{font-size:14px}.supply-row{grid-template-columns:58px 1fr 1fr auto;gap:14px}.supply-row>.generated-icon{width:55px;height:55px}.garage-header:before{content:'';width:38px;height:38px;flex:0 0 38px;background:url('./assets/ui/astraterris-pack-v1/garage.webp') center/contain no-repeat}#btn-garage{display:flex;align-items:center;justify-content:center;gap:7px}#btn-garage:before{content:'';width:22px;height:22px;flex:0 0 22px;background:url('./assets/ui/astraterris-pack-v1/garage.webp') center/contain no-repeat}
/* Compact desktop instrument modules. */
body:not(.touch-controls) .corner-bottom-left{width:184px;padding:9px 10px;border-radius:8px;background:#061724a6;border-color:#75a3b54d;box-shadow:none}body:not(.touch-controls) .micro-bar-row{gap:6px;margin-bottom:6px}body:not(.touch-controls) .micro-bar-label{font-size:0;width:17px;min-width:17px;gap:0}body:not(.touch-controls) .micro-bar-label .icon{width:13px;height:13px}body:not(.touch-controls) .micro-bar-val{font-size:11px;width:31px}body:not(.touch-controls) .micro-track{height:6px}body:not(.touch-controls) .micro-weapon-line{display:none}
body:not(.touch-controls) .corner-bottom-right{position:absolute;right:16px;bottom:14px;width:168px;height:112px;padding:0;border:0;background:none;box-shadow:none}body:not(.touch-controls) .mini-sp-dock{position:absolute;left:14px;top:0;width:140px;height:44px;display:grid;grid-template-columns:repeat(3,1fr);gap:4px}body:not(.touch-controls) .mini-action-btns{position:absolute;inset:0;display:block}#hud .corner-bottom-right .mini-action-btn>span{display:none}#hud .corner-bottom-right .mini-action-btn>svg{display:none}#hud .corner-bottom-right .mini-action-btn .generated-icon{display:block;width:31px;height:31px}#hud .corner-bottom-right .mini-action-btn{border-radius:50%;display:flex;align-items:center;justify-content:center;padding:4px!important}body:not(.touch-controls) .mini-action-btn{position:absolute;width:44px;height:44px;min-height:44px;bottom:0;top:auto;font-size:0}body:not(.touch-controls) #btn-turbo-speed{left:0}body:not(.touch-controls) #btn-fire-laser{left:56px;width:56px;height:56px}body:not(.touch-controls) #btn-fire-laser .generated-icon{width:38px;height:38px}body:not(.touch-controls) #btn-brake{left:124px}body:not(.touch-controls) .roll-control{display:none!important}
/* Mobile controls: central fire at (84,112), four equal controls mirrored about both axes; every target >=44px. */
.touch-controls .corner-bottom-right{right:max(8px,env(safe-area-inset-right));bottom:max(8px,env(safe-area-inset-bottom));width:168px;height:174px;transform:none!important;pointer-events:none}.touch-controls .mini-action-btns{position:absolute;inset:0;display:block;pointer-events:none}.touch-controls .mini-action-btn{pointer-events:auto;position:absolute;width:44px;height:44px;min-height:44px;font-size:0;gap:0}.touch-controls #btn-fire-laser{left:50px;top:78px;right:auto;bottom:auto;width:68px;height:68px}.touch-controls #btn-fire-laser .generated-icon{width:46px;height:46px}.touch-controls #btn-turbo-speed{left:0;top:130px;right:auto;bottom:auto;width:44px;height:44px}.touch-controls #btn-brake{left:124px;top:130px;right:auto;bottom:auto;width:44px;height:44px}.touch-controls #btn-roll-left{left:0;top:50px;right:auto;bottom:auto;width:44px;height:44px}.touch-controls #btn-roll-right{left:124px;top:50px;right:auto;bottom:auto;width:44px;height:44px}.touch-controls .mini-sp-dock{left:14px;top:0;right:auto;bottom:auto;width:140px;height:44px;display:grid;grid-template-columns:repeat(3,44px);gap:4px;padding:0;border:0;background:none;box-shadow:none;backdrop-filter:none;overflow:visible}
#hud .mini-sp-dock .sp-slot{position:relative;display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;padding:4px;border:1px solid #8dc8dc66!important;border-radius:12px;background:linear-gradient(145deg,#c2ebff19,#08273d8c);box-shadow:inset 0 1px 1px #e4faff33}#hud .mini-sp-dock .sp-icon{display:block;line-height:1}#hud .mini-sp-dock .generated-icon{width:31px;height:31px}#hud .sp-slot .sp-name,#hud .sp-slot .sp-key{display:none!important}#hud .sp-slot .sp-charges{position:absolute;right:2px;bottom:1px;top:auto;left:auto;min-width:12px;padding:1px 2px;border-radius:4px;background:#061624d9;font:600 10px Rajdhani,sans-serif;color:#efdaad;line-height:1;text-align:center}#hud .mini-sp-dock .sp-slot.empty{opacity:.48}#hud .mini-sp-dock .sp-slot.ready{background:#183f526b}
/* A small home symbol guides remotely. The insignia itself is a proximity-only world sprite. */
.station-guide.home-guide,.station-guide.home-guide.offscreen{width:22px;height:26px;gap:0;transform:translate(-50%,-50%);pointer-events:none}.home-guide .home-pin,.home-guide.offscreen .home-pin{width:22px;height:26px;background:none;clip-path:none}.home-guide .home-pin:before{display:none}.home-guide .home-pin img,.home-guide.offscreen .home-pin img{inset:0;width:22px;height:26px;object-fit:contain;filter:drop-shadow(0 1px 3px #0009)}.home-guide .home-guide-label{display:none}.home-guide .station-guide-arrow,.home-guide.offscreen .station-guide-arrow{right:-9px;top:8px}.home-guide .station-guide-arrow svg{width:8px;height:8px;color:#8fd9ee}
/* Symmetric fleet choices; on phones the strip is a centred full-width footer. */
.ship-selector-bar{width:min(100%,680px);align-self:center;box-sizing:border-box}.ships-selector-list{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;justify-content:center;align-items:stretch}.ship-card-pill{width:100%;max-width:76px;min-width:0;box-sizing:border-box;justify-self:center;flex:none}.ship-card-thumb{width:100%;object-fit:contain}
.touch-controls .hangar-bottom-Cluster{position:fixed;left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));bottom:max(10px,env(safe-area-inset-bottom));display:flex;align-items:center;gap:6px;z-index:6;pointer-events:none}.touch-controls .hangar-bottom-Cluster>*{pointer-events:auto}.touch-controls .ship-selector-bar{width:min(100%,660px);padding:6px 8px;border-radius:10px;background:#061724d9}.touch-controls .ships-selector-list{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;overflow:visible;justify-items:center}.touch-controls .ship-card-pill{width:100%;max-width:62px;min-width:44px;min-height:48px;padding:4px;gap:1px}.touch-controls .ship-card-thumb{height:18px}.touch-controls .ship-card-title{font-size:8px}.touch-controls .ship-card-lock{font-size:6.5px}.touch-controls #lobby-overlay .hangar-launch-bar{width:min(100%,500px);grid-template-columns:120px minmax(0,1fr);gap:6px}.touch-controls #sortie-reward-preview,.touch-controls #mission-duration{display:none}.touch-controls #btn-garage{grid-row:1;grid-column:1;min-height:44px}.touch-controls #btn-launch-selected,.touch-controls #btn-new-sortie[hidden]+#btn-launch-selected{grid-row:1;grid-column:2;min-height:44px}.touch-controls #btn-new-sortie{grid-row:2;grid-column:1/-1}.touch-controls .missions-panel{padding-bottom:126px}.touch-controls .hero-card-img{max-height:70px}.touch-controls .garage-header:before{width:30px;height:30px;flex-basis:30px}.touch-controls .equipment-label{flex-direction:row;gap:8px}.touch-controls .equipment-label>.generated-icon{width:38px;height:38px;flex-basis:38px}.touch-controls .equipment-label strong{font-size:12px}.touch-controls .supply-row{grid-template-columns:44px 1fr 1fr auto;gap:9px}.touch-controls .supply-row>.generated-icon{width:42px;height:42px}
@media(max-width:600px){.supply-row{grid-template-columns:44px 1fr auto;gap:10px}.supply-row>.generated-icon{width:42px;height:42px}.supply-row .charge-cells{grid-column:2;grid-row:2}.supply-row button{grid-column:3;grid-row:1/3}.touch-controls .supply-row{grid-template-columns:40px 1fr auto}.touch-controls .supply-row .charge-cells{grid-column:2;grid-row:2}.touch-controls .supply-row button{grid-column:3;grid-row:1/3}.touch-controls .ship-card-pill{min-width:44px}.touch-controls .ships-selector-list{gap:4px}.touch-controls .garage-header{gap:8px}.touch-controls .garage-header h2{font-size:14px;letter-spacing:.7px}.touch-controls #lobby-overlay .hangar-launch-bar{grid-template-columns:110px minmax(0,1fr)}}
@media(max-height:440px) and (orientation:landscape){#audio-settings.settings-overlay{padding:8px}.settings-window{max-height:calc(100dvh - 16px);border-radius:12px}.settings-window>header{padding:5px 12px;gap:8px}.settings-header-art{width:34px;height:34px}.settings-window h2{font-size:19px}.settings-body{padding:12px;gap:18px}.settings-body p{font-size:11px}.settings-control-guide{padding:12px 0;gap:9px 6px}.settings-control-guide .generated-icon{width:31px;height:31px}.settings-control-guide span{font-size:8px}.settings-body .hud-btn{min-height:40px}.settings-language-row select{max-width:120px}.touch-controls .garage-header:before{width:26px;height:26px;flex-basis:26px}.touch-controls #boss-hud{width:calc(100% - 365px)}.touch-controls .mission-flight-brief{width:calc(100% - 350px);min-width:0}.touch-controls .mission-flight-brief strong{font-size:15px}}
@media(max-width:440px){.settings-body{grid-template-columns:1fr}.touch-controls .ships-selector-list{gap:3px}.touch-controls .ship-card-pill{min-width:0}.touch-controls .ship-card-lock{display:none}}
@media(prefers-reduced-motion:reduce){.generated-icon{filter:none}}
#hud .mini-action-btns{margin:0!important;padding:0!important;border:0!important;box-sizing:border-box}#hud #btn-fire-laser .generated-icon{width:44px;height:44px}.touch-controls .mini-action-btns{height:174px;width:168px}.touch-controls #hud #btn-fire-laser .generated-icon{width:44px;height:44px}
@media(max-height:440px) and (orientation:landscape){.settings-audio-column{display:grid;grid-template-columns:1fr 1fr;column-gap:7px;row-gap:5px;align-content:start}.settings-audio-column>p{display:none}.settings-language-row{grid-column:1/-1;padding:0;border:0;min-height:38px}.settings-language-row select{min-height:38px;padding:6px}.settings-audio-column .music-playback-state{grid-column:1/-1;height:30px;min-height:0;padding:4px 6px;margin:0;display:grid;grid-template-columns:1fr auto;gap:2px;box-sizing:border-box;font-size:10px}.settings-audio-column .music-meter{grid-column:1/-1}#audio-settings #btn-music-start,#audio-settings #btn-radio-next{width:100%;min-width:0;height:36px;min-height:36px;margin:0;padding:6px;font-size:10px}.settings-audio-column label[for]{grid-column:1/-1;margin:0;min-height:12px;font-size:11px}.settings-audio-column input[type=range]{grid-column:1/-1;margin:0;height:18px;min-height:18px}#audio-settings #btn-audio-toggle{grid-column:1/-1;margin:0;min-height:36px;height:36px;padding:6px}.settings-body{gap:16px}.settings-body .settings-language-row label{margin:0}}
.settings-window>header{margin:0!important}
.touch-controls .missions-panel{max-height:calc(100dvh - 184px);overflow:auto;padding-bottom:8px;box-sizing:border-box;align-self:start}.touch-controls .sortie-modes,.touch-controls .missions-header-row,.touch-controls .chapter-teaser{flex-shrink:0}
@media(max-height:360px) and (orientation:landscape){.touch-controls .sortie-mode small{display:none}.touch-controls .sortie-mode{min-height:40px;padding:6px 8px}.touch-controls #mode-campaign{min-height:32px}.touch-controls .missions-panel{padding-top:6px;padding-bottom:6px}.touch-controls .heroes-panel{padding:8px;gap:8px}.touch-controls .heroes-panel>.panel-title{font-size:10px;padding-bottom:6px;margin:0}.touch-controls .hero-card{min-height:46px;flex-direction:row}.touch-controls .hero-card-img{width:34px;height:44px;min-width:34px;object-fit:cover}.touch-controls .hero-card-info{padding:4px}.touch-controls .hero-card-name{font-size:10px}.touch-controls .hero-ship-pill{font-size:6px}}
@media(max-height:440px) and (orientation:landscape){.settings-window>header{height:54px;min-height:54px;max-height:54px;box-sizing:border-box}.settings-body{padding:8px 12px}.settings-audio-column{row-gap:4px}}
.touch-controls .settings-flight-buttons #btn-control-mode{display:none!important}
#hud .mini-action-btns{pointer-events:none}#hud .mini-action-btns>button{pointer-events:auto}
body:not(.touch-controls) .score-row{flex-wrap:wrap;gap:2px 4px}body:not(.touch-controls) #flight-wallet{flex-basis:100%;white-space:nowrap;font-size:9px;line-height:1.1}

/* Keep earnings inside the pilot card and reserve the centre of the mobile view for flight. */
.touch-controls #hud .mission-flight-brief{display:none}
.touch-controls #hud .corner-top-left{box-sizing:border-box;width:170px;height:90px;min-height:90px;padding:6px 6px 20px;align-items:flex-start}
.touch-controls #hud #flight-wallet{position:absolute;left:6px;right:6px;top:auto;bottom:5px;display:block;max-width:none;width:auto;margin:0;padding:3px 4px 0;border-top:1px solid #76acbc35;border-radius:0;background:none;text-align:center;white-space:nowrap;font:600 9px/1.2 Rajdhani,sans-serif;letter-spacing:.2px;font-variant-numeric:tabular-nums;color:#ecd49c}
.touch-controls #hud .corner-bottom-left{top:calc(max(10px,env(safe-area-inset-top)) + 96px)}
.touch-controls.has-mission-allies #hud .sub-target-info{top:calc(max(10px,env(safe-area-inset-top)) + 162px);max-height:18px;font-size:8px;line-height:1.15}
@media(max-width:740px) and (orientation:landscape){.touch-controls #hud .corner-top-left{width:159px}}

/* Explicit devices and controller-readable focus share the cockpit's visual language. */
#btn-control-mode{display:none!important}.control-device-row{display:flex;flex-direction:column;gap:7px;margin-bottom:8px}.control-device-row label{font:600 11px Rajdhani,sans-serif;letter-spacing:1px;color:#c4e2ef}.control-device-row select{width:100%;min-height:44px;padding:9px;color:#d9f5ff;background:#0a2639;border:1px solid #6a98ad;border-radius:8px;font:600 14px Rajdhani,sans-serif}#controller-guide,#controller-status{font-size:11px;line-height:1.45;margin:8px 0;color:#a9c7d7}#controller-status:empty{display:none}.gamepad-navigation :is(button,a,select,input,[role=button]):focus{outline:3px solid #f1d18b!important;outline-offset:3px;box-shadow:0 0 20px #68ddf04d!important}#graphics-status{position:fixed;top:80px;left:50%;transform:translateX(-50%);z-index:50;background:#071b2deb;color:#e9d4a2;font:14px Rajdhani,sans-serif;padding:12px;border:1px solid #d3b470;border-radius:8px}#graphics-status:empty{display:none}
@media(max-height:440px) and (orientation:landscape){.control-device-row{gap:3px;margin-bottom:4px}.control-device-row select{min-height:36px;padding:5px;font-size:12px}.control-device-row label{font-size:9px}#controller-guide,#controller-status{font-size:9px;line-height:1.25;margin:5px 0}.settings-control-guide{padding:7px 0;gap:5px}.settings-control-guide .generated-icon{width:24px;height:24px}}

.mission-loading{position:fixed;inset:0;z-index:100;background:#030b16;display:grid;place-items:center;overflow:hidden}.mission-loading>img{width:100%;height:100%;object-fit:contain;position:absolute;inset:0;background:#030b16}.mission-loading:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 48%,#020b16ed);pointer-events:none}.mission-loading-panel{position:relative;z-index:1;align-self:end;margin-bottom:max(22px,env(safe-area-inset-bottom));width:min(460px,calc(100% - 40px));padding:15px 20px;border:1px solid #a4d7e455;border-radius:12px;background:#081c2edb;backdrop-filter:blur(12px);text-align:center}.mission-loading-panel>span{font:600 12px Rajdhani,sans-serif;letter-spacing:4px;color:#d9c48c}.mission-loading-panel p{font:14px Rajdhani,sans-serif;color:#d7eff8;margin:8px 0}.mission-loading-panel progress{display:block;appearance:none;width:100%;height:5px;border:0;border-radius:4px;overflow:hidden;background:#35516a;accent-color:#75e3ed}.mission-loading-panel progress::-webkit-progress-bar{background:#35516a}.mission-loading-panel progress::-webkit-progress-value{background:linear-gradient(90deg,#4ba6d2,#a9f8ed)}.mission-loading-panel progress:indeterminate{background:linear-gradient(90deg,#35516a 20%,#78e8ee 50%,#35516a 80%);background-size:220% 100%;animation:flight-load 1.7s linear infinite}.mission-loading-panel>div{display:flex;justify-content:center;gap:10px;margin-top:12px}.mission-loading-panel button{min-height:40px;font-size:10px;padding:8px 16px}@keyframes flight-load{to{background-position:220% 0}}@media(max-height:440px){.mission-loading-panel{margin-bottom:10px;padding:9px 15px;max-width:360px}.mission-loading-panel p{font-size:12px;margin:5px 0}.mission-loading-panel>div{margin-top:7px}.mission-loading-panel button{min-height:34px;padding:5px 12px}}@media(prefers-reduced-motion:reduce){.mission-loading-panel progress:indeterminate{animation:none}}

#btn-exit-game{margin-top:10px;min-height:40px}.mission-loading-panel progress:indeterminate::-webkit-progress-bar{background:linear-gradient(90deg,#35516a 20%,#78e8ee 50%,#35516a 80%);background-size:220% 100%;animation:flight-load 1.7s linear infinite}@media(prefers-reduced-motion:reduce){.mission-loading-panel progress:indeterminate::-webkit-progress-bar{animation:none}}

/* Currency and experience remain distinct, readable and shared by every purchase surface. */
#hud .mission-flight-brief{display:none!important}.reticle-tail-warning{position:absolute;top:calc(100% + 5px);left:50%;transform:translateX(-50%);display:none;width:28px;height:26px;filter:drop-shadow(0 0 5px #f3375559)}.reticle-tail-warning svg{display:block;width:100%;height:100%}.tail-warning .reticle-tail-warning{display:block}.tail-warning .reticle-dist-label{display:none}
.economy-token{display:inline-flex;align-items:center;justify-content:center;gap:4px;white-space:nowrap;vertical-align:middle;font-variant-numeric:tabular-nums;line-height:1.2}.economy-token>img{width:20px;height:20px;object-fit:contain;flex:none;filter:drop-shadow(0 1px 2px #0005)}.economy-token small{font:inherit;letter-spacing:.3px}.kryptos-token{color:#f0d69c}.xp-token{color:#95e9f3}.garage-bridge #garage-account,#garage-option-account,#fleet-account{display:flex;align-items:center;justify-content:center;gap:8px;font-variant-numeric:tabular-nums}.garage-bridge #garage-account .economy-token>img{width:22px;height:22px}.garage-option-wallet{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:12px 20px;border-bottom:1px solid #6eabc13d;background:#071b2b80;position:sticky;top:0;z-index:1;backdrop-filter:blur(12px)}.garage-option-wallet>small{color:#91b9c9;font:600 10px Rajdhani,sans-serif;letter-spacing:1px}.garage-option-wallet strong{font:15px 'Share Tech Mono',monospace}.garage-option .economy-token>img{width:18px;height:18px}.garage-option>small .economy-token{gap:2px}.garage-option>small .economy-token>img{width:14px;height:14px}.garage-option-window #garage-option-confirm{display:flex;align-items:center;justify-content:center;gap:5px;flex-wrap:wrap}.garage-option-window #garage-option-description .economy-token>img{width:17px;height:17px}.reticle-tail-warning:empty{display:none}
#flight-wallet .economy-token{gap:3px}#flight-wallet .economy-token>img{width:14px;height:14px}#flight-wallet .economy-token small{font-size:inherit}#sortie-reward-preview .economy-token>img,#loot-notice .economy-token>img{width:18px;height:18px}
.touch-controls #hud #flight-wallet{display:flex;align-items:center;justify-content:center;gap:4px;padding-top:2px;min-height:15px}.touch-controls #flight-wallet .economy-token{gap:2px}.touch-controls #flight-wallet .economy-token>img{width:13px;height:13px}.touch-controls .garage-bridge #garage-account{gap:5px}.touch-controls .garage-bridge #garage-account .economy-token{gap:2px}.touch-controls .garage-bridge #garage-account .economy-token>img{width:16px;height:16px}.touch-controls .garage-option-wallet{padding:6px 12px;min-height:28px;box-sizing:border-box}.touch-controls .garage-option-wallet strong{font-size:12px}.touch-controls .garage-option-wallet .economy-token>img{width:18px;height:18px}.touch-controls .garage-option-wallet>small{font-size:8px}.touch-controls .garage-option .economy-token>img{width:14px;height:14px}.touch-controls .garage-option>small .economy-token>img{width:12px;height:12px}

.primary-btn .economy-token{color:#072433;font-weight:700}.primary-btn .economy-token small{color:inherit}.primary-btn .economy-token>img{filter:drop-shadow(0 1px 1px #06233380)}

/* Generated tactile thumb over a real translucent liquid-glass flight control. */
.touch-controls #flight-stick{isolation:isolate;width:128px;height:128px;box-sizing:border-box;border:1px solid #b2e1ec85;border-radius:50%;background:radial-gradient(circle at 32% 16%,#d5faff22,transparent 44%),radial-gradient(circle,#0b273426 0 42%,#8bd5e41a 43% 53%,#0616266b 55% 100%);backdrop-filter:blur(7px) saturate(1.35);box-shadow:inset 0 2px 2px #ddf9ff40,inset 0 -3px 10px #03132266,0 4px 16px #020e1d40;transition:border-color .15s,box-shadow .15s}.touch-controls #flight-stick:before{inset:7px;top:7px;left:7px;width:auto;height:auto;border:1px solid #7ac7d447;border-radius:50%;background:none}.touch-controls #flight-stick:after{inset:23px;top:23px;left:23px;width:auto;height:auto;border:1px solid #8cbfcd33;border-radius:50%;background:radial-gradient(circle at 30% 20%,#ccefff14,transparent 60%)}.flight-stick-guides{position:absolute;inset:0;pointer-events:none;opacity:.8}.flight-stick-guides svg{display:block;width:100%;height:100%;fill:none;stroke:#b5e9f2;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.touch-controls #flight-stick-thumb{z-index:1;width:54px;height:54px;border:0;border-radius:50%;background:url('./assets/ui/cockpit-buttons-v1/flight-stick.webp') center/contain no-repeat;box-shadow:0 3px 9px #020e1e70;filter:drop-shadow(0 0 5px #4cb7d533);pointer-events:none}.touch-controls #flight-stick.engaged{border-color:#d0faff;box-shadow:inset 0 2px 2px #e6fcff77,inset 0 -3px 10px #03132266,0 0 18px #41cce52b}.touch-controls #flight-stick.engaged .flight-stick-guides{opacity:1}.touch-controls #flight-stick.engaged #flight-stick-thumb{filter:drop-shadow(0 0 7px #5bdeeb66)}@media(prefers-reduced-motion:reduce){.touch-controls #flight-stick,#lobby-overlay #btn-garage{transition:none}}

/* Keep CSS viewport dimensions independent of the WebGL backing buffer. */
#game-canvas{width:100%!important;height:100%!important}.touch-controls #game-canvas{width:100vw!important;height:100dvh!important}

#resupply-timer{position:absolute;right:18px;top:65px;padding:4px 7px;border:1px solid #73aabb44;border-radius:5px;color:#9fbfca;background:#061724a8;font:10px 'Share Tech Mono',monospace;letter-spacing:.6px;font-variant-numeric:tabular-nums;pointer-events:auto}#resupply-timer.ready{color:#a7ead1;border-color:#80ddad66}.touch-controls #resupply-timer{right:max(12px,env(safe-area-inset-right));top:calc(max(10px,env(safe-area-inset-top)) + 50px);font-size:8px;padding:3px 5px}

#lobby-overlay #fleet-stats .ship-diagnostic:last-child{border-right:1px solid transparent}
#fleet-stats .ship-diagnostic i.diagnostic-bar,.garage-live-stats .ship-diagnostic i.diagnostic-bar{display:block;width:100%;height:5px;background:#53809150;border:0;border-radius:3px;overflow:hidden}#fleet-stats .ship-diagnostic i.diagnostic-bar b,.garage-live-stats .ship-diagnostic i.diagnostic-bar b{display:block;height:100%;background:linear-gradient(90deg,#4bc6c5,#a2f4e7);border:0;border-radius:3px;box-shadow:none}#fleet-stats .ship-diagnostic strong{line-height:1.2;white-space:nowrap}.touch-controls #fleet-stats .ship-diagnostic i.diagnostic-bar{height:4px}
