/* All overrides are scoped to this game's page; arcade-runtime/runtime.css stays untouched. */
:root{--accent:#f1cf9c;--warm:#f1cf9c;--cool:#a7ddf4;--surface:#101926;--line:#cfdef023;--soft:#97a8bd;--bright:#edf3fb;font-family:"Segoe UI","Microsoft YaHei","Noto Sans CJK SC",system-ui,sans-serif}button,input,select{-webkit-tap-highlight-color:transparent}button{transition:background .18s,border-color .18s,box-shadow .18s,transform .18s}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #f4d9b0;outline-offset:3px}button svg,span svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}#boot{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;background:radial-gradient(ellipse at 65% 35%,#523b57,#131b30 60%);color:#f2d2a3;text-align:center;padding:30px}#boot strong{font-size:clamp(32px,6vw,70px);font-weight:300;letter-spacing:.22em}#boot span{font-size:13px;letter-spacing:.15em}#boot small{max-width:560px;color:#afb8c7;font-size:12px;line-height:1.9}#boot span:before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:12px;background:#c4f7d9;box-shadow:0 0 15px #aaf7d9}
.game-top{left:26px;right:26px;top:24px;align-items:center}.game-brand{border-left:0;padding-left:0}.game-brand h1{font-size:22px;letter-spacing:.18em;font-weight:500}.game-brand small{font-size:9px;color:#e5d0b0}.game-tools button{background:#101a2a85;border-color:#e3eafa22;border-radius:5px;padding:9px 13px;font-size:11px}.game-stats{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap}.game-hint{bottom:9px;font-size:10px;letter-spacing:.04em;color:#bfd0dd;border:0;background:transparent;max-width:95%;padding:2px;white-space:nowrap}.game-toast{top:27%;padding:11px 24px;border:1px solid #e3d7bd40;background:#152132ec;backdrop-filter:blur(16px);border-radius:4px;box-shadow:0 6px 32px #0004;font-size:12px;letter-spacing:.03em;max-width:86%}.game-overlay{background:linear-gradient(130deg,#0d1627b0,#1d173a40);backdrop-filter:blur(5px)}.game-panel{max-width:880px;width:min(880px,100%);border-radius:12px;border-top:2px solid #e8cfaa;background:linear-gradient(130deg,#172333f8,#111a2df5);box-shadow:0 35px 120px #0008}.game-panel h2{font-size:32px;font-weight:400}.panel-buttons button{border-radius:5px}.panel-buttons button.primary{background:#ebcfaa;border-color:#ebcfaa;color:#25252f}.panel-text{color:#b5c1d1;font-size:13px}.micro{font-family:"Segoe UI",system-ui,sans-serif;font-size:9px;font-weight:600;letter-spacing:.18em;color:#aab7c9}.micro b{font-weight:500;color:#f3d5a7}.content-note{font-size:10px;color:#9dacbf;line-height:1.85;margin:12px 0 0}.top-note{margin:-4px 0 18px}
/* Flight operations shell */
.game-overlay.hangar{padding:28px;background:linear-gradient(115deg,#0c142275,#211a344d);backdrop-filter:blur(5px)}.hangar .game-panel{padding:0;width:min(1360px,100%);max-width:1360px;max-height:calc(100dvh - 56px);overflow:hidden;border:1px solid #e6eef02c;border-top:1px solid #eace9e88;background:linear-gradient(115deg,#131d2dee,#141d2deb 45%,#16202eee);border-radius:12px;box-shadow:0 40px 140px #0209138c}.hangar .panel-eyebrow,.hangar #overlay-title,.hangar .panel-text,.hangar .panel-buttons{display:none}.hangar-shell{height:min(872px,calc(100dvh - 56px));display:grid;grid-template-rows:76px 49px minmax(0,1fr) 92px}.hangar-masthead{display:flex;justify-content:space-between;align-items:center;padding:0 30px;border-bottom:1px solid var(--line);background:linear-gradient(90deg,#a3c5ec05,transparent)}.mast-logo{display:flex;gap:16px;align-items:center}.mast-logo>svg{height:38px;width:38px;fill:none;stroke:#f1d5a9;stroke-width:1.2}.mast-logo strong{display:block;font-size:25px;letter-spacing:.23em;font-weight:400;line-height:1.1;color:#f1e1c8}.mast-logo span{display:block;font-size:10px;letter-spacing:.35em;color:#cfdbec;margin-top:9px}.mast-logo em{font-style:normal;color:#96a7bd;letter-spacing:.16em}.mast-badges{display:flex;align-items:center;gap:10px;font-size:8px;letter-spacing:.13em;color:#a1b1c6}.mast-badges i{height:12px;border-left:1px solid #8c9bac55;margin:0 5px}.mast-badges b{border:1px solid #cfe4ff3a;border-radius:3px;padding:5px;color:#d2dfed;font-size:8px;font-weight:400}.online-dot,.status-light{display:inline-block;width:5px;height:5px;border-radius:50%;background:#b3ebcf;box-shadow:0 0 10px #b8f8d777}.hangar-tabs{display:flex;align-items:stretch;padding:0 28px;gap:3px;border-bottom:1px solid var(--line);background:#09121d1c}.hangar-tabs button{border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:#8d9fb8;padding:0 18px;font-size:12px;white-space:nowrap}.hangar-tabs button:hover{background:#d3e2ef09;color:#dfebf9}.hangar-tabs button.active{color:#f1d3a6;border-bottom-color:#f1d3a6;background:linear-gradient(0deg,#dfb47512,transparent)}.credit-balance{display:flex;align-items:center;gap:7px;margin-left:auto;color:#f1d2a6;font-size:12px;white-space:nowrap}.credit-balance svg{width:15px;height:15px;stroke-width:1}.credit-balance small{font-size:9px;color:#9cacbf;margin-left:2px}.hangar-layout{min-height:0;display:grid;grid-template-columns:minmax(280px,33%) 1fr}.craft-preview{padding:24px 28px 14px;border-right:1px solid var(--line);background:radial-gradient(ellipse at 50% 40%,color-mix(in srgb,var(--craft) 10%,transparent),transparent 65%);display:flex;flex-direction:column;min-height:0;overflow:hidden}.preview-heading{display:flex;align-items:center;justify-content:space-between}.unit-label{font-size:9px;letter-spacing:.12em;color:#71849d;border:1px solid #a6c7f123;border-radius:3px;padding:5px 7px}.craft-preview h3{font-size:41px;letter-spacing:.13em;font-weight:400;color:#e6efff;margin:19px 0 0;line-height:1.0}.craft-preview h3 span{display:block;font-size:10px;font-weight:400;letter-spacing:.15em;color:#a8b7ca;margin-top:12px}.craft-viewport{position:relative;min-height:145px;flex:1;max-height:335px;margin:4px -20px 0;isolation:isolate}.craft-viewport img{position:absolute;inset:-2% -5%;width:110%;height:106%;object-fit:contain;filter:drop-shadow(0 25px 22px #0008);z-index:2;transform:translateY(-2%)}.orbital-grid{position:absolute;inset:13% 4% 0;background:repeating-radial-gradient(ellipse at center,transparent 0 25px,#a6c2d413 26px,transparent 27px 49px);transform:rotate(-25deg) scaleY(.65);opacity:.7}.preview-axis{position:absolute;border-top:1px solid #b4d3e815;width:90%;top:65%;left:5%;transform:rotate(-26deg)}.axis-b{transform:rotate(60deg);width:45%;left:24%;top:58%}.preview-coordinate{position:absolute;bottom:10%;left:9%;font-family:monospace;color:#788da5;font-size:8px;letter-spacing:.12em;line-height:1.8;z-index:3}.preview-role{position:absolute;right:9%;bottom:11%;color:var(--craft);font-size:10px;letter-spacing:.12em;padding:4px 9px;border:1px solid color-mix(in srgb,var(--craft) 32%,transparent);background:#17233388;border-radius:3px;z-index:3}.craft-perk{display:flex;gap:8px;align-items:center;font-size:10px;color:#c3d3e5;line-height:1.7;padding:9px 0 11px;border-bottom:1px solid var(--line);margin:0}.craft-perk svg{width:14px;height:14px;color:var(--craft);flex-shrink:0}.craft-attributes{display:grid;grid-template-columns:1fr 1fr;gap:10px 18px;margin:15px 0}.craft-attributes>div{display:flex;gap:8px;align-items:center}.craft-attributes span{font-size:10px;color:#8fa2b9;white-space:nowrap}.craft-attributes i{height:3px;background:#b4d3f21a;flex:1;min-width:20px}.craft-attributes i b{display:block;height:100%;background:var(--craft);opacity:.66}.craft-attributes strong{font-size:10px;font-weight:500;font-family:monospace;color:#d0deeb;min-width:25px;text-align:right}.loadout-summary{background:#07122036;border:1px solid #bad6ed16;border-radius:5px;padding:11px 12px;margin-top:1px;line-height:1.8}.loadout-summary>span{display:block;font-size:9px;color:#7f95ae}.loadout-summary>strong{display:block;color:#d5e4f2;font-size:12px;font-weight:400}.loadout-summary>small{display:block;color:#829ab4;font-size:9px}.preview-footer{font-size:9px;color:#91a3b8;display:flex;gap:7px;align-items:center;margin-top:17px;white-space:nowrap}.preview-footer>span:last-child{margin-left:auto;color:#627994;font-size:8px}.hangar-content{padding:24px 27px;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#526075 transparent;touch-action:pan-y}.content-heading{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-bottom:20px}.content-heading h3{margin:8px 0 0;font-size:23px;letter-spacing:.05em;font-weight:400;color:#e4edf9}.content-heading>span{font-size:9px;color:#7f96b1;white-space:nowrap;margin-bottom:3px}.mode-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:18px}.mode-card{position:relative;padding:12px 10px;border:1px solid #d2e2f21a;border-radius:5px;text-align:left;background:#16233588;min-width:0}.mode-card small{display:block;color:#7389a4;font-size:8px;letter-spacing:.10em;font-family:monospace;white-space:nowrap}.mode-card strong{display:block;font-size:12px;font-weight:500;margin:6px 0;color:#b8cadf;white-space:nowrap}.mode-card span{display:block;font-size:8px;color:#7186a0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mode-card.selected{border-color:#edd1a65c;background:linear-gradient(115deg,#eac59216,#172233)}.mode-card.selected strong{color:#f1d3a6}.mode-card.selected:after{content:'';position:absolute;right:9px;top:10px;width:4px;height:4px;border-radius:50%;background:#f1d3a6}.sector-tabs{display:grid;grid-template-columns:repeat(6,1fr);gap:3px;margin:0 0 13px;border-bottom:1px solid #c4d6ea1a;padding-bottom:9px}.sector-tabs button{border:0;padding:7px 3px;border-radius:3px;background:transparent;font-size:9px;color:#8fa2bb;white-space:nowrap}.sector-tabs button span{display:inline-block;font-size:8px;color:#5a728e;margin-right:4px}.sector-tabs button.active{background:#b9d2f514;color:#eee0c8}.sector-tabs button.active span{color:#d9ba8e}.chapter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.chapter-card{position:relative;isolation:isolate;min-width:0;height:122px;border:1px solid #b4d6ed24;border-radius:5px;text-align:left;padding:12px;overflow:hidden;background:radial-gradient(ellipse at 95% -20%,var(--space2),transparent 80%),linear-gradient(140deg,var(--space0),var(--space1))}.chapter-card:after{content:'';position:absolute;z-index:-1;inset:0;background:linear-gradient(0deg,#061222d6,transparent 110%)}.chapter-card:hover{border-color:#cfe4ff82;background:radial-gradient(ellipse at 95% -20%,var(--space2),transparent 80%),linear-gradient(140deg,var(--space0),var(--space1))}.chapter-card.selected{border-color:#f4d6a6;box-shadow:0 0 0 1px #f4d6a633,0 0 23px #e7ce9c0d}.chapter-card.selected .chapter-status{color:#efd5b0}.chapter-planet{position:absolute;right:-16px;top:10px;width:88px;height:88px;border-radius:50%;background:radial-gradient(circle at 20% 22%,var(--space3),var(--space1) 38%,var(--space0) 72%);box-shadow:inset -6px -5px 16px #0b142766,0 0 15px color-mix(in srgb,var(--space2) 30%,transparent);opacity:.78;z-index:-1}.chapter-planet:before{content:'';position:absolute;left:-23px;right:-23px;top:40%;height:18%;border:3px solid color-mix(in srgb,var(--space2) 38%,transparent);border-radius:50%;transform:rotate(-27deg)}.chapter-number{font-family:monospace;font-size:12px;color:#efe3d0;letter-spacing:.02em}.chapter-status{position:absolute;top:13px;right:10px;color:#c4d4e6b8;font-size:7px;letter-spacing:.04em}.chapter-card strong{display:block;font-size:13px;font-weight:500;margin-top:34px;color:#e4edf8;text-shadow:0 1px 8px #000a;white-space:nowrap;letter-spacing:.02em}.chapter-card>small{display:flex;align-items:center;font-size:7px;color:#a6bace;margin-top:8px;white-space:nowrap;gap:5px}.chapter-card small i{height:3px;width:3px;background:#adbdd1;border-radius:50%;display:inline-block}.route-intel{margin-top:16px;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 0 2px;border-top:1px solid var(--line)}.route-intel>div{display:flex;align-items:center;gap:11px;min-width:0}.route-intel>div>svg{color:#e1c7a0;width:23px;height:23px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.1}.route-intel b{display:block;font-size:11px;font-weight:400;color:#cbd9e9}.route-intel small{display:block;font-size:9px;color:#738aa5;margin-top:5px}.route-intel label{display:flex;align-items:center;gap:8px;font-size:9px;color:#91a4bc;flex-shrink:0}.route-intel select{font-size:10px;padding:5px 8px;min-height:30px;border-color:#c6d7e72c;background:#131f31}.launch-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 29px;background:linear-gradient(110deg,#0e1928,#1d2736);border-top:1px solid #ccdfeb2b;box-shadow:0 -10px 35px #030a1315}.launch-route>strong{display:block;font-size:17px;font-weight:400;color:#e0eaf6;margin:6px 0;letter-spacing:.04em}.launch-route em{font-style:normal;color:#556980;margin:0 4px}.launch-route>small{display:block;font-size:9px;color:#91a3b8}.launch-actions{display:flex;gap:12px;align-items:center}.launch-button{min-width:218px;height:53px;display:flex;align-items:center;gap:14px;border-radius:4px;border:1px solid #e9ceaa;color:#202635;background:linear-gradient(110deg,#f0dbb8,#dab888);box-shadow:0 0 25px #e1c69714;padding:12px 19px;font-size:15px;font-weight:600;letter-spacing:.15em}.launch-button:hover{background:linear-gradient(110deg,#fff0d4,#efca94);box-shadow:0 0 32px #ebcc9633}.launch-button svg{width:24px;height:24px;stroke-width:1.4}.launch-button svg:last-child{margin-left:auto;width:17px}.secondary-btn{border:1px solid #adcae533;border-radius:4px;background:#b5d0ef08;font-size:11px;padding:14px 16px;color:#acbfd5}
/* Fleet, weapons, archive, workshop */
.aircraft-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.aircraft-card{position:relative;min-width:0;border:1px solid #b9d5eb1d;border-radius:5px;padding:10px 12px;background:radial-gradient(ellipse at 50% 45%,color-mix(in srgb,var(--unit) 10%,transparent),#0b172638);text-align:left;overflow:hidden}.aircraft-card.selected{border-color:var(--unit);background:radial-gradient(ellipse at 50% 45%,color-mix(in srgb,var(--unit) 18%,transparent),#111e3088);box-shadow:inset 0 0 18px color-mix(in srgb,var(--unit) 5%,transparent)}.aircraft-card>small{color:#7390ae;font-family:monospace;font-size:8px;letter-spacing:.1em}.aircraft-card img{display:block;width:calc(100% + 14px);height:100px;margin:-1px -7px -4px;object-fit:contain;filter:drop-shadow(0 10px 7px #0006)}.aircraft-card>strong{display:flex;justify-content:space-between;align-items:center;font-weight:400;font-size:12px;letter-spacing:.1em;color:#dae7f6}.aircraft-card>strong span{font-size:8px;letter-spacing:0;color:var(--unit);opacity:.75}.aircraft-card>p{font-size:8px;color:#6f87a3;margin:6px 0 2px}.loadout-label{display:flex;align-items:center;gap:9px;margin:23px 0 12px}.loadout-label>span{font-family:monospace;border:1px solid #dfbd822e;border-radius:3px;color:#d9c09d;padding:3px;font-size:9px}.loadout-label>strong{font-weight:400;font-size:12px;color:#cbdbea}.loadout-label>small{margin-left:auto;font-size:8px;color:#8096b0}.weapon-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.equip-card{display:flex;gap:12px;padding:13px 12px;border:1px solid #b6d1e51e;border-radius:5px;text-align:left;background:#09172833}.equip-card.selected,.small-equip.selected{border-color:color-mix(in srgb,var(--equip) 72%,transparent);background:linear-gradient(120deg,color-mix(in srgb,var(--equip) 10%,transparent),#12203088)}.equip-icon{display:grid;place-items:center;background:color-mix(in srgb,var(--equip) 7%,transparent);color:var(--equip);width:33px;height:38px;flex-shrink:0;border:1px solid color-mix(in srgb,var(--equip) 17%,transparent);border-radius:4px}.equip-icon svg{width:20px;height:20px}.equip-card small,.small-equip small{font-size:7px;color:var(--equip);opacity:.7;letter-spacing:.1em;display:block}.equip-card strong{display:block;font-size:12px;font-weight:400;color:#d4e2f0;margin-top:5px}.equip-card p{font-size:9px;line-height:1.7;color:#8198b3;margin:7px 0 0}.missile-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.ultimate-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.small-equip{text-align:left;border-radius:5px;border:1px solid #cce0ef1c;padding:13px;background:#0c172436;min-width:0}.small-equip>svg{display:block;color:var(--equip);margin:1px 0 11px}.small-equip small{font-size:7px;white-space:nowrap}.small-equip strong{display:block;font-size:11px;font-weight:400;color:#d5e3f1;margin-top:7px;white-space:nowrap}.small-equip p{font-size:9px;line-height:1.9;color:#7e95b0;margin:8px 0 0}.archive-tabs{display:flex;gap:6px;margin-bottom:19px;flex-wrap:wrap}.archive-tabs button{font-size:10px;padding:7px 13px;border-radius:4px;border-color:#d3e5f51e;color:#90a6be}.archive-tabs button.selected{border-color:#dcc09866;color:#e8d2ae;background:#d8b77f11}.enemy-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.enemy-card{border:1px solid #c6dcf31b;border-radius:5px;background:radial-gradient(ellipse at top,#87a0bf10,#0a142224);padding:12px;min-width:0}.enemy-card img{width:100%;height:107px;object-fit:contain;margin:-8px 0 0;filter:drop-shadow(0 10px 8px #0006)}.enemy-card span{display:block;font-size:8px;color:#bf977e}.enemy-card strong{display:block;margin-top:7px;font-size:11px;font-weight:400;color:#d0dcec}.enemy-card small{display:block;font-size:8px;color:#768fa9;line-height:1.9;margin-top:5px}.boss-card img{height:120px}.pickup-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.pickup-entry{display:flex;gap:13px;padding:16px 12px;border:1px solid #b4cfe01d;border-radius:5px;background:#0b16242c;align-items:center}.pickup-entry>b{display:grid;place-items:center;width:36px;height:40px;border:1px solid color-mix(in srgb,var(--pickup) 56%,transparent);border-radius:8px;color:var(--pickup);font-family:monospace;font-size:22px;flex-shrink:0;background:color-mix(in srgb,var(--pickup) 7%,transparent)}.pickup-entry strong{display:block;font-size:11px;font-weight:400;color:#cddaea}.pickup-entry p{font-size:9px;line-height:1.6;color:#7e95ae;margin:6px 0 0}.biome-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.biome-grid article{overflow:hidden;position:relative;border:1px solid #c5dcf12d;background:var(--space0);border-radius:6px;padding:14px}.biome-swirl{height:95px;margin:-14px -14px 14px;background:radial-gradient(ellipse at 25% 55%,var(--space3) 0,transparent 13%),radial-gradient(ellipse at 40% 65%,var(--space2),transparent 66%),linear-gradient(135deg,var(--space1),var(--space0))}.biome-grid strong{color:var(--space3);font-size:12px;font-weight:400}.biome-grid p{font-size:9px;line-height:1.9;color:#a5b6ca;margin:8px 0 2px}.workshop-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.workshop-card{padding:17px 14px;border:1px solid #c5ddeb1f;border-radius:5px;background:linear-gradient(130deg,#26334950,#101c2b50);position:relative}.workshop-card>svg{width:27px;height:27px;stroke:#ddc6a5;stroke-width:1;fill:none}.workshop-card>span{font-size:8px;color:#7990ab;position:absolute;right:13px;top:20px}.workshop-card h4{font-weight:400;color:#d6e1ef;font-size:13px;margin:14px 0 8px}.workshop-card p{font-size:9px;color:#8ba0b9;line-height:1.9;margin:0}.level-pips{display:flex;gap:4px;margin:17px 0}.level-pips i{height:4px;flex:1;background:#bdd1e517;border-radius:1px}.level-pips i.filled{background:#d8bf9b}.workshop-card>button{width:100%;font-size:10px;padding:9px 7px;border-color:#ceb48b52;border-radius:3px;color:#dfc8a8;background:#e1c69b0e}.career-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:24px;border-top:1px solid var(--line);padding-top:20px}.career-stats strong{display:block;font-size:17px;font-weight:400;font-family:monospace;color:#dac8a9}.career-stats span{display:block;font-size:9px;color:#7a90a9;margin-top:6px}.setting-block{padding:5px 0 18px}.setting-block h4{font-size:13px;font-weight:400;color:#d5e2f3;margin:3px 0 14px}.quality-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.quality-options button{padding:15px 10px;border:1px solid #c6e0f123;border-radius:5px;background:#0d192b55;color:#a8bdd2}.quality-options button.selected{border-color:#e1c49878;color:#e7cfaa;background:#dfbf9410}.quality-options strong{display:block;font-weight:400;font-size:13px}.quality-options small{display:block;font-size:8px;color:#849bb5;margin-top:8px}.setting-block>p{font-size:10px;color:#7d94af;margin:11px 0 0;line-height:1.8}.setting-row{display:flex;gap:15px;align-items:center;justify-content:space-between;padding:20px 0;border-top:1px solid #c9dcee1b}.setting-row strong{font-size:12px;font-weight:400;color:#d3e0ef}.setting-row p{font-size:10px;color:#8196b0;margin:8px 0 0;max-width:390px;line-height:1.8}.switch{width:38px;height:21px;position:relative;flex-shrink:0}.switch input{opacity:0;width:0;height:0}.switch span{position:absolute;inset:0;border:1px solid #aec8e035;border-radius:12px;background:#213145;cursor:pointer}.switch span:before{content:'';position:absolute;width:13px;height:13px;left:3px;top:3px;border-radius:50%;background:#8296ac;transition:transform .15s}.switch input:checked+span{border-color:#ddc29777;background:#b39a6f26}.switch input:checked+span:before{transform:translateX(17px);background:#ecd4ae}.switch input:focus-visible+span{outline:2px solid #e6c99d;outline-offset:3px}.setting-buttons{display:flex;gap:6px;flex-shrink:0}.setting-buttons button,.import-label{font-size:10px;color:#b2c5da;padding:9px 11px;border:1px solid #b9d1e32c;background:#ccdded06;border-radius:4px;cursor:pointer;white-space:nowrap}.settings-footnote{font-size:9px;color:#5e7592;line-height:2.1;margin:12px 0}.manual h4{font-weight:400;font-size:14px;color:#e1c8a3;margin:23px 0 13px}.manual p{font-size:11px;color:#9badc1;line-height:2.1}.key-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.key-grid>div{display:flex;flex-direction:column;gap:9px;background:#08152344;border:1px solid #c7ddf11a;border-radius:4px;padding:11px}.key-grid kbd{font-family:monospace;font-size:10px;color:#d9c5a7}.key-grid span{font-size:10px;color:#8ca3be}
/* In-flight instrumentation */
.stellar-hud{position:fixed;inset:0;z-index:6;pointer-events:none;text-shadow:0 1px 7px #06101bbb;transition:opacity .15s}.overlay-open .stellar-hud,.in-menu .stellar-hud{opacity:0;pointer-events:none}.overlay-open .stellar-hud button,.in-menu .stellar-hud button{pointer-events:none}.hud-glass{background:linear-gradient(120deg,#101d2ed6,#1123356b);border:1px solid #d3e7f021;backdrop-filter:blur(8px);border-radius:5px}.flight-identity{position:absolute;top:105px;left:28px}.flight-identity h2{font-size:25px;font-weight:400;letter-spacing:.08em;margin:10px 0}.flight-identity>span:last-child{font-size:10px;letter-spacing:.15em;color:#bacddf}.vitals{position:absolute;left:26px;top:218px;width:230px;padding:17px 17px 13px}.vital-head{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#c9d8e4}.vital-head>span{display:flex;align-items:center;gap:5px}.vital-head svg{width:13px;height:13px;color:#e6d0ab}.vital-head b{font-size:11px;font-family:monospace;font-weight:400}.vital-head.secondary{font-size:9px;color:#8aaabd;margin-top:14px}.vital-head.secondary b{font-size:10px}.meter{height:4px;background:#a8c6da23;margin-top:9px;border-radius:1px;overflow:hidden}.meter i{display:block;height:100%;transition:width .12s;box-shadow:0 0 12px currentColor}.meter.armor i{background:#e6d0aa;color:#e6d0aa}.meter.shield{height:3px}.meter.shield i{background:#96d8ed;color:#96d8ed}.ship-state{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:16px;border-top:1px solid #d3e5f01a;padding-top:10px;font-size:9px;color:#7f9ab1}.ship-state span:last-child{color:#bccda7}.score-panel{position:absolute;right:28px;top:106px;width:219px;text-align:right}.score-panel>strong{display:block;font-family:"Segoe UI",monospace;font-variant-numeric:tabular-nums;letter-spacing:.04em;font-size:38px;font-weight:300;color:#eee8d9;line-height:1.4}.score-panel>div{display:flex;justify-content:flex-end;gap:15px;font-size:10px;color:#b4c5d7}.score-panel>div span:first-child{color:#d0e8c9}.score-panel>small{display:block;font-size:9px;color:#87a0b8;margin-top:12px}.route-progress{position:absolute;left:28px;top:390px;width:220px}.route-progress>div:first-child{display:flex;justify-content:space-between;font-size:10px;color:#c1d2df}.route-progress #hud-time{font-family:monospace;font-size:10px;color:#a5bacf}.journey-track{height:3px;position:relative;background:#c6d7e51f;margin-top:13px}.journey-track i{display:block;height:100%;background:#b4dcca;box-shadow:0 0 12px #a5dec788}.journey-track em{position:absolute;top:-3px;width:1px;height:9px;background:#b8cadb44;left:25%}.journey-track em:nth-of-type(2){left:50%}.journey-track em:nth-of-type(3){left:75%}.route-progress>small{display:block;color:#7f98af;font-size:9px;margin-top:12px}.boss-hud{position:absolute;top:96px;left:50%;transform:translateX(-50%);width:min(530px,43vw);padding:12px 16px;background:linear-gradient(110deg,#20182abd,#151d2aab);border:1px solid #eeafc522;border-radius:4px;backdrop-filter:blur(6px)}.boss-hud[hidden]{display:none}.boss-hud>div:first-child{display:flex;align-items:center;gap:10px}.boss-label{color:#edafc3;font-family:monospace;font-size:7px;letter-spacing:.10em}.boss-hud strong{font-size:12px;font-weight:400;color:#efd6e1}.boss-hud b{font-family:monospace;font-size:10px;font-weight:400;margin-left:auto;color:#f7d3dd}.boss-track{height:5px;border-radius:1px;overflow:hidden;background:#d19abb24;margin-top:10px}.boss-track i{height:100%;display:block;background:linear-gradient(90deg,#d181a4,#ffc0cc);box-shadow:0 0 15px #ffcbd766}.boss-hud>small{display:block;color:#b58aab;font-size:8px;margin-top:8px;white-space:nowrap}.weapon-rack{display:flex;gap:8px;position:absolute;bottom:37px;left:50%;transform:translateX(-50%);pointer-events:auto}.weapon-slot{position:relative;min-width:146px;min-height:94px;padding:12px 14px 11px 15px;border:1px solid #cce3f02b;border-radius:5px;background:linear-gradient(115deg,#131f30eb,#101f2ed4);backdrop-filter:blur(10px);text-align:left;box-shadow:0 6px 20px #030c1926;overflow:hidden}.weapon-icon{position:absolute;right:9px;top:11px;color:#7193ac;opacity:.6}.weapon-icon svg{width:16px;height:16px}.weapon-slot>span{display:block;font-size:9px;color:#a5bad0;letter-spacing:.04em;white-space:nowrap}.weapon-slot kbd{display:inline-block;font-size:8px;line-height:1;font-family:monospace;color:#b7c7d3;border:1px solid #c0d3e22a;border-radius:2px;padding:3px;margin-left:3px}.weapon-slot>strong{display:block;color:#e0e9f3;font-size:18px;font-weight:400;margin:9px 0 7px;font-variant-numeric:tabular-nums;white-space:nowrap}.auto-slot>strong{font-size:13px;margin:13px 0 10px}.weapon-slot>small{display:block;font-size:8px;color:#7c96b0;white-space:nowrap}.auto-slot.active>small{color:#b8d6b8}.missile-slot>strong{color:#ebcfa6}.missile-slot.reloading>small{color:#edc688}.bomb-slot>strong{color:#d2b8e7}.ultimate-slot>strong{color:#f1d3a2}.dash-slot>strong{font-size:16px;margin:11px 0 9px;color:#b0dfd2}.slot-meter{position:absolute;bottom:0;left:0;height:2px;width:100%;background:#a5c4d911}.slot-meter>i{display:block;height:100%;background:#d0b692;transition:width .12s}.ultimate-slot .slot-meter>i{background:#e7d2a7}.ultimate-slot.ready{border-color:#f7d2a68f;box-shadow:0 0 22px #f0cc9340;background:linear-gradient(120deg,#67513660,#192330e6)}.ultimate-slot.ready>.weapon-icon{color:#ffe4bc;opacity:.9}.mobile-ammo{display:none}.combat-flash{position:fixed;inset:0;background:#fce7d8;pointer-events:none;opacity:0;z-index:7;mix-blend-mode:screen}.boss-alert{position:absolute;top:31%;left:50%;transform:translateX(-50%);width:min(600px,85%);text-align:center;border-top:1px solid #feb3ca4a;border-bottom:1px solid #feb3ca4a;padding:17px 0 20px;background:linear-gradient(90deg,transparent,#2c142b9c 25%,#2c142b9c 75%,transparent)}.boss-alert[hidden]{display:none}.boss-alert>span{display:block;color:#e89eb7;font-size:9px;letter-spacing:.45em}.boss-alert>strong{display:block;color:#f6d7e3;font-weight:400;font-size:23px;letter-spacing:.25em;margin-top:9px}.game-touch{bottom:max(22px,env(safe-area-inset-bottom));left:17px;right:17px;z-index:8}.game-actions{max-width:53%;gap:7px}.game-actions button{width:54px;height:51px;border-radius:9px;font-size:10px;background:#162338b0;border-color:#d9e3f13d;color:#dbe5f1}.game-actions button[data-code=KeyQ]{border-color:#efd5ae60;color:#f1d2a7}.game-actions button[data-code=KeyE]{border-color:#d1b4eb66;color:#dcc2f4}.game-actions button[data-code=KeyX]{border-color:#edce9c66;color:#f2d6a5}.game-actions button.ready{background:#bca06d6b;box-shadow:0 0 16px #f1d3a956}.game-dpad button{border-radius:8px;color:#b8cddd}.overlay-open .game-touch,.in-menu .game-touch{visibility:hidden}.in-menu .game-chrome{opacity:0}
/* Battle module and result overlays */
.upgrade-modal .game-panel{width:min(900px,100%);max-width:900px;padding:30px}.upgrade-modal .panel-text{margin-bottom:18px}.upgrade-heading{display:flex;justify-content:space-between;color:#7e96b0;font-size:9px;border-top:1px solid #bacddd20;padding-top:15px;letter-spacing:.1em}.upgrade-heading b{font-weight:400;color:#c7b293;letter-spacing:0}.upgrade-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:20px 0 0}.upgrade-card{position:relative;min-height:260px;border:1px solid color-mix(in srgb,var(--module) 32%,transparent);border-radius:7px;background:radial-gradient(ellipse at 50% 15%,color-mix(in srgb,var(--module) 13%,transparent),#0b17274d 85%);padding:29px 22px;text-align:left}.upgrade-card:hover{border-color:var(--module);background:radial-gradient(ellipse at 50% 15%,color-mix(in srgb,var(--module) 19%,transparent),#0b17276b)}.upgrade-number{position:absolute;right:14px;top:14px;color:#73889f;font-family:monospace;font-size:10px}.upgrade-card>svg{height:39px;width:39px;color:var(--module);margin-bottom:23px}.upgrade-card h3{font-size:18px;font-weight:400;color:#d8e5f4;letter-spacing:.05em;margin:0 0 14px}.upgrade-card p{font-size:11px;line-height:1.9;color:#98aec5;min-height:44px;margin:0}.upgrade-card>small{display:flex;align-items:center;justify-content:space-between;color:var(--module);font-size:10px;margin-top:20px;border-top:1px solid #d2e4ef19;padding-top:15px}.upgrade-card>small svg{width:15px;height:15px}.upgrade-modal .panel-buttons{display:none}.result-hero{display:flex;align-items:center;gap:31px;border-top:1px solid var(--line);padding-top:25px;margin-top:9px}.result-rank{width:145px;height:165px;text-align:center;flex-shrink:0;border:1px solid #e8c99552;border-radius:6px;background:radial-gradient(ellipse at 50% 50%,#b6934e2d,#14202f66);padding-top:17px}.result-rank>span{display:block;font-size:8px;color:#bca885;letter-spacing:.17em}.result-rank>strong{font-size:95px;font-weight:200;color:#ebd5ac;line-height:1.25}.result-rank.defeat{border-color:#a5accb33;background:#7d8ea211}.result-hero h3{font-size:26px;font-weight:400;letter-spacing:.07em;margin:14px 0 10px;color:#dbe6f4}.result-hero p{font-size:11px;color:#93a6be}.result-hero>div>b{font-size:12px;color:#d5be95;display:block;margin-top:19px;font-weight:400}.result-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:24px 0 15px}.result-stats>div{padding:12px;border:1px solid #b6d1e51c;border-radius:4px;background:#0a142321}.result-stats strong{display:block;font-size:22px;font-weight:300;font-family:monospace;color:#dbe7f3}.result-stats span{display:block;font-size:10px;color:#7d94ad;margin-top:7px}
@media(min-width:1800px){.hangar .game-panel{width:1510px;max-width:1510px}.hangar-shell{height:min(970px,calc(100dvh - 80px))}.chapter-card{height:142px}.chapter-card strong{margin-top:48px;font-size:15px}.chapter-card>small{font-size:8px}.craft-viewport{max-height:390px}.hangar-content{padding:30px 34px}.mode-card{padding:16px 13px}.mode-card strong{font-size:14px}.aircraft-card img{height:124px}.content-heading h3{font-size:27px}}
@media(max-width:1200px){.hangar-layout{grid-template-columns:30% 1fr}.craft-preview{padding:22px 20px 15px}.hangar-content{padding:22px 22px}.hangar-tabs{padding:0 20px}.hangar-tabs button{padding:0 13px}.sector-tabs button{font-size:8px}.sector-tabs button span{display:none}.chapter-card{padding:10px}.chapter-card>small{font-size:7px;gap:4px}.chapter-card strong{font-size:12px}.preview-footer>span:last-child{display:none}.craft-attributes{grid-template-columns:1fr;gap:7px}.loadout-summary{padding:9px}.craft-viewport{min-height:125px}.craft-perk{font-size:9px}.weapon-slot{min-width:130px;padding:11px}.weapon-icon{display:none}.score-panel{width:185px}.vitals{width:195px}.route-progress{width:190px}.flight-identity h2{font-size:21px}}
@media(max-width:1000px){.hangar-layout{grid-template-columns:28% 1fr}.craft-preview h3{font-size:33px}.preview-heading>.micro{display:none}.craft-viewport{margin:0 -27px}.loadout-summary>small{font-size:8px}.aircraft-grid{grid-template-columns:repeat(3,1fr)}.chapter-grid{gap:7px}.chapter-card{height:116px}.chapter-card strong{font-size:11px;letter-spacing:0}.chapter-card>small{font-size:6px}.chapter-status{font-size:6px;right:8px}.content-heading>span{font-size:8px}.content-heading h3{font-size:21px}.route-intel small{font-size:8px}.route-intel label{font-size:8px}.missile-grid{grid-template-columns:repeat(2,1fr)}.mode-card strong{font-size:11px}.mode-card span{font-size:7px}.weapon-rack{gap:5px}.weapon-slot{min-width:118px;padding:10px}.weapon-slot>small{font-size:7px}.vitals{width:177px;padding:13px}.route-progress{width:170px}.score-panel{width:160px}.score-panel>strong{font-size:31px}.boss-hud{width:43vw}.boss-label{display:none}.flight-identity h2{font-size:20px}}
@media(max-width:760px){.game-overlay.hangar{padding:9px}.hangar .game-panel{max-height:calc(100dvh - 18px);border-radius:8px}.hangar-shell{height:calc(100dvh - 18px);grid-template-rows:63px 43px minmax(0,1fr) 85px}.hangar-masthead{padding:0 17px}.mast-logo{gap:11px}.mast-logo>svg{width:28px;height:28px}.mast-logo strong{font-size:20px;letter-spacing:.2em}.mast-logo span{font-size:8px;margin-top:7px}.mast-badges{font-size:7px;gap:6px}.mast-badges>i,.mast-badges>span:not(.online-dot),.mast-badges>b{display:none}.hangar-tabs{padding:0 6px;gap:0;overflow-x:auto;scrollbar-width:none;touch-action:pan-x}.hangar-tabs button{font-size:10px;padding:0 13px;min-width:72px}.credit-balance{display:none}.hangar-layout{display:block;min-height:0;overflow:hidden}.craft-preview{display:none}.hangar-content{height:100%;padding:18px 17px 24px}.content-heading{margin-bottom:16px;gap:7px}.content-heading .micro{font-size:8px}.content-heading h3{font-size:21px}.content-heading>span{font-size:8px}.mode-grid{gap:7px}.mode-card{padding:12px 9px}.mode-card small{font-size:7px}.mode-card strong{font-size:11px}.mode-card span{font-size:7px}.sector-tabs button{font-size:9px;padding:8px 2px}.chapter-grid{gap:8px}.chapter-card{height:117px}.chapter-card strong{font-size:11px}.chapter-card>small{font-size:7px}.chapter-number{font-size:11px}.chapter-status{font-size:6px}.route-intel label{font-size:8px}.launch-bar{padding:12px 16px;gap:8px}.launch-route .micro{font-size:7px}.launch-route>strong{font-size:13px;margin:6px 0;white-space:nowrap}.launch-route>small{font-size:7px;max-width:210px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.launch-actions{gap:6px}.launch-button{height:46px;min-width:148px;font-size:12px;gap:8px;padding:10px 12px;letter-spacing:.1em}.launch-button svg{width:20px;height:20px}.launch-button svg:last-child{width:14px}.secondary-btn{font-size:8px;padding:12px 8px;max-width:85px}.aircraft-grid{grid-template-columns:repeat(4,1fr)}.aircraft-card{padding:10px}.aircraft-card img{height:94px}.aircraft-card>strong{font-size:11px}.aircraft-card>strong span{font-size:7px}.aircraft-card>p{font-size:8px}.enemy-grid{grid-template-columns:repeat(3,1fr)}.setting-row p{max-width:350px}.game-top{top:13px;left:14px;right:14px;gap:7px}.game-brand h1{font-size:16px;letter-spacing:.10em;margin-bottom:0}.game-brand small{display:none}.game-tools{gap:3px}.game-tools button{font-size:9px;padding:8px 9px;border-radius:4px}.game-hint{display:none}.flight-identity{left:15px;top:66px}.flight-identity>.micro{font-size:7px}.flight-identity h2{font-size:19px;margin:7px 0 4px}.flight-identity>span:last-child{font-size:8px;letter-spacing:.05em}.vitals{top:147px;left:13px;width:162px;padding:12px}.vital-head{font-size:9px}.vital-head b{font-size:10px}.vital-head.secondary{margin-top:10px;font-size:8px}.vital-head.secondary b{font-size:9px}.ship-state{font-size:8px;margin-top:10px;padding-top:9px}.meter{margin-top:7px;height:3px}.score-panel{top:66px;right:15px;width:154px}.score-panel>.micro{font-size:7px}.score-panel>strong{font-size:28px}.score-panel>div{font-size:8px;gap:7px}.score-panel>small{font-size:8px;margin-top:8px}.route-progress{top:147px;right:15px;left:auto;width:150px}.route-progress>div:first-child{font-size:8px}.route-progress #hud-time{font-size:8px}.journey-track{margin-top:10px;height:2px}.route-progress>small{font-size:8px;margin-top:9px}.boss-hud{top:263px;width:min(430px,90vw);padding:10px 12px}.boss-hud strong{font-size:11px}.boss-hud>small{font-size:7px}.boss-hud b{font-size:9px}.boss-track{height:4px}.boss-label{display:none}.weapon-rack{display:none}.mobile-ammo{display:flex;position:absolute;bottom:153px;left:50%;transform:translateX(-50%);gap:12px;white-space:nowrap;padding:7px 12px;background:#102033a3;border:1px solid #cce0ef27;border-radius:4px;backdrop-filter:blur(6px);font-size:9px;color:#c9d9e9}.mobile-ammo>span:first-child{color:#e5cdae}.mobile-ammo>span:last-child{color:#e2c5f1}.game-toast{font-size:10px;top:33%;padding:10px 15px;max-width:85%;width:max-content;white-space:normal;text-align:center}.game-touch{left:13px;right:13px;bottom:max(23px,env(safe-area-inset-bottom));align-items:flex-end}.game-actions{display:grid;grid-template-columns:repeat(4,48px);max-width:none;gap:6px;justify-content:end}.game-actions button{width:48px;height:48px;font-size:9px;line-height:1.5;border-radius:9px;white-space:normal}.game-actions button[data-code=KeyR]{grid-column:4}.game-dpad{grid-template-columns:repeat(3,39px);grid-template-rows:repeat(2,39px);gap:4px}.game-dpad button{font-size:17px}.boss-alert{top:38%;padding:15px 0}.boss-alert>strong{font-size:19px}.game-overlay:not(.hangar){padding:15px}.game-panel{padding:23px 22px;max-height:calc(100dvh - 30px)}.upgrade-modal .game-panel{padding:23px}.upgrade-grid{gap:10px}.upgrade-card{padding:23px 15px;min-height:235px}.upgrade-card h3{font-size:15px}.upgrade-card p{font-size:10px}.result-hero{gap:24px}.result-rank{width:120px;height:145px}.result-rank>strong{font-size:78px}.result-hero h3{font-size:23px}}
@media(max-width:520px){.mast-badges{display:none}.mode-grid{grid-template-columns:1fr 1fr}.mode-card{padding:11px 11px}.mode-card strong{font-size:12px;margin:5px 0}.mode-card span{font-size:8px}.mode-card small{font-size:7px}.sector-tabs{grid-template-columns:repeat(3,1fr);gap:5px;padding-bottom:11px;margin-bottom:11px}.sector-tabs button{font-size:9px}.sector-tabs button span{display:inline;color:#7c8da4;font-size:8px}.chapter-grid{grid-template-columns:1fr 1fr;gap:9px}.chapter-card{height:122px;padding:12px}.chapter-card strong{font-size:13px;margin-top:34px}.chapter-card>small{font-size:8px}.chapter-status{font-size:7px}.chapter-planet{width:93px;height:93px}.route-intel{align-items:flex-start;flex-direction:column;gap:12px}.route-intel label{font-size:9px;justify-content:space-between;width:100%}.route-intel small{font-size:9px}.route-intel select{min-width:118px}.content-note{font-size:9px}.launch-button{min-width:128px;padding:10px 11px;font-size:11px;gap:6px;height:45px}.launch-button>svg:first-child{display:none}.launch-route>strong{font-size:12px}.launch-route>small{font-size:6px;max-width:171px}.launch-actions .secondary-btn{position:absolute;right:19px;bottom:98px;background:#182638eb;box-shadow:0 3px 10px #0008;max-width:none;padding:8px 12px;z-index:4}.aircraft-grid{grid-template-columns:1fr 1fr;gap:10px}.aircraft-card img{height:110px}.aircraft-card>strong{font-size:13px}.aircraft-card>strong span{font-size:9px}.aircraft-card>p{font-size:9px}.weapon-grid{grid-template-columns:1fr}.equip-card{padding:13px}.equip-card strong{font-size:13px}.equip-card p{font-size:10px}.equip-card small{font-size:8px}.loadout-label>small{font-size:7px;max-width:45%;line-height:1.8;text-align:right}.loadout-label>strong{font-size:11px}.missile-grid{grid-template-columns:1fr 1fr}.ultimate-grid{grid-template-columns:1fr}.ultimate-grid .small-equip{position:relative;padding-left:51px}.ultimate-grid .small-equip>svg{position:absolute;top:17px;left:15px}.small-equip>strong{font-size:11px}.small-equip p{font-size:9px}.enemy-grid{grid-template-columns:1fr 1fr;gap:9px}.enemy-card{padding:10px}.enemy-card img{height:98px}.enemy-card strong{font-size:10px}.enemy-card small{font-size:7px}.archive-tabs{gap:5px}.archive-tabs button{font-size:9px;padding:7px 10px}.pickup-grid{grid-template-columns:1fr}.pickup-entry{padding:13px}.pickup-entry strong{font-size:12px}.pickup-entry p{font-size:10px}.biome-grid{grid-template-columns:1fr 1fr}.biome-grid p{font-size:9px}.workshop-grid{grid-template-columns:1fr 1fr;gap:10px}.workshop-card{padding:16px 12px}.workshop-card>span{font-size:7px}.career-stats{grid-template-columns:1fr 1fr;gap:18px}.setting-row{gap:12px;flex-wrap:wrap}.setting-row>div:first-child{flex:1;min-width:200px}.setting-row p{font-size:9px}.setting-buttons{margin-top:1px}.quality-options{gap:6px}.quality-options small{font-size:7px;line-height:1.8}.quality-options strong{font-size:12px}.quality-options button{padding:12px 8px}.game-top{gap:4px;left:11px;right:11px}.game-brand h1{font-size:14px;letter-spacing:.09em}.game-tools button{font-size:9px;padding:7px 6px}.flight-identity{top:58px;left:13px}.flight-identity h2{font-size:18px}.score-panel{top:58px;right:13px;width:140px}.score-panel>strong{font-size:26px}.score-panel>div{font-size:8px;gap:6px}.vitals{top:137px;left:11px;width:151px;padding:11px}.vital-head b{font-size:9px}.vital-head{font-size:8px}.vital-head.secondary{font-size:8px}.route-progress{right:13px;top:143px;width:140px}.route-progress>div:first-child{font-size:7px}.route-progress #hud-time{font-size:8px}.ship-state{font-size:7px}.boss-hud{top:261px}.boss-hud>small{font-size:6px}.game-actions{grid-template-columns:repeat(4,45px);gap:5px}.game-actions button{height:47px;width:45px;font-size:8px}.game-dpad{grid-template-columns:repeat(3,37px);grid-template-rows:repeat(2,37px);gap:3px}.mobile-ammo{font-size:8px;gap:9px;bottom:145px;padding:7px 9px}.game-panel h2{font-size:25px}.upgrade-modal .game-panel{padding:20px 17px}.upgrade-grid{grid-template-columns:1fr;gap:9px;margin-top:17px}.upgrade-card{min-height:125px;padding:16px 17px 13px 68px}.upgrade-card>svg{position:absolute;left:17px;top:19px;width:31px;height:31px;margin:0}.upgrade-card h3{font-size:16px;margin:0 0 7px}.upgrade-card p{font-size:10px;min-height:0}.upgrade-card>small{margin-top:10px;padding-top:9px;font-size:9px}.upgrade-number{font-size:8px;right:10px;top:10px}.upgrade-modal .panel-text{font-size:11px}.result-hero{gap:17px;padding-top:20px}.result-rank{width:91px;height:120px;padding-top:14px}.result-rank>span{font-size:6px;letter-spacing:.1em}.result-rank>strong{font-size:67px}.result-hero h3{font-size:19px;letter-spacing:0;margin:10px 0}.result-hero p{font-size:9px}.result-hero>div>b{font-size:11px}.result-hero .micro{font-size:7px}.result-stats{gap:8px}.result-stats>div{padding:10px}.result-stats strong{font-size:19px}.result-stats span{font-size:9px}.panel-buttons{gap:7px}.panel-buttons button{font-size:11px;padding:11px 12px}.key-grid{gap:8px}.key-grid kbd{font-size:8px}.key-grid span{font-size:9px}.manual p{font-size:10px}}
@media(max-height:560px) and (orientation:landscape){.hangar-shell{height:calc(100dvh - 18px);grid-template-rows:49px 37px minmax(0,1fr) 62px}.game-overlay.hangar{padding:9px}.hangar .game-panel{max-height:calc(100dvh - 18px)}.mast-logo strong{font-size:18px}.mast-logo span{font-size:7px;margin-top:5px}.mast-logo>svg{width:25px;height:25px}.hangar-masthead{padding:0 18px}.craft-preview{display:none}.hangar-layout{display:block}.hangar-content{height:100%;padding:15px 20px}.launch-bar{padding:8px 18px}.launch-route .micro,.launch-route>small{display:none}.launch-route>strong{font-size:14px}.launch-button{height:40px;min-width:156px;font-size:12px}.game-top{top:8px}.flight-identity{top:57px;left:13px}.flight-identity h2{font-size:17px}.flight-identity>.micro{display:none}.vitals{left:11px;top:112px;width:144px;padding:9px}.route-progress{display:none}.score-panel{top:55px;right:12px}.score-panel>strong{font-size:25px}.score-panel>small{display:none}.boss-hud{top:58px;width:42vw}.boss-hud>small{display:none}.game-touch{bottom:14px;left:12px;right:12px}.game-actions{grid-template-columns:repeat(4,42px);gap:4px}.game-actions button{height:39px;width:42px;font-size:8px}.game-dpad{grid-template-columns:repeat(3,35px);grid-template-rows:repeat(2,35px)}.mobile-ammo{bottom:19px;font-size:8px;gap:6px;max-width:40vw}.weapon-rack{display:none}.game-hint{display:none}.boss-alert{top:35%}.game-toast{top:32%;font-size:9px}.upgrade-modal .game-panel{padding:18px 22px}.upgrade-grid{grid-template-columns:repeat(3,1fr)}.upgrade-card{padding:16px;min-height:180px}.upgrade-card>svg{position:static;width:26px;height:26px;margin-bottom:13px}.upgrade-card h3{font-size:14px}.upgrade-card p{font-size:9px}.game-panel h2{font-size:23px}.panel-text{font-size:11px;margin-bottom:12px}.result-rank{height:120px;width:100px}.result-rank>strong{font-size:64px}.result-hero{padding-top:13px;margin-top:0}.result-stats{grid-template-columns:repeat(6,1fr);gap:6px;margin-top:16px}.result-stats strong{font-size:18px}.result-stats span{font-size:8px}.result-stats>div{padding:9px}.panel-buttons{margin-top:12px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}.combat-flash{display:none}}.reduced-motion *{animation:none!important}.reduced-motion .combat-flash{display:none}

/* Stable contrast on bright, colored star fields. */
.vitals.hud-glass{background:linear-gradient(115deg,#0c182ceb,#12273ad9);backdrop-filter:blur(12px)}
.flight-identity,.score-panel,.route-progress{text-shadow:0 2px 9px #020916,0 0 20px #020916cc}
.route-progress{padding:12px 14px;margin-left:-14px;background:linear-gradient(90deg,#09192ac9,#09192a66);border-radius:5px}
.flight-identity:before,.score-panel:before{content:'';position:absolute;inset:-12px -14px;z-index:-1;background:radial-gradient(ellipse,#07162870,transparent 76%);pointer-events:none}
@media(max-width:360px){.game-actions{grid-template-columns:repeat(4,44px);gap:4px}.game-actions button{width:44px}}
