.settings-dialog{border:1px solid #829085;border-radius:18px;background:#e6e6d8;color:#263d39;padding:0;width:min(860px,calc(100vw - 32px));max-height:calc(100dvh - 24px);box-shadow:0 30px 100px #08171688;overflow:auto}.settings-dialog::backdrop{background:#182426bc;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.settings-dialog[open]{animation:settings-in .24s ease-out}.guide-panel{padding:28px}.guide-panel h1{font-size:clamp(24px,3.1vw,36px);line-height:1.15;margin:16px 0}.guide-panel p{line-height:1.75;font-size:15px}.guide-panel header,.guide-panel footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.guide-panel footer{margin-top:24px}.guide-panel button{min-height:44px;cursor:pointer}.guide-panel .quiet{border:0;background:transparent;font-size:12px}.guide-panel aside{border-left:3px solid #bd7049;background:#d5d9cb;padding:13px 15px;font-size:13px;line-height:1.6}.guide-layout{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center}.guide-illustration{background:#263d39;border-radius:12px;padding:16px 4px 20px}.guide-art{width:100%;fill:#b9c3a8;stroke:#a4b49d;stroke-width:3}.guide-art .beam{fill:none;stroke:#809d9c;stroke-width:8}.guide-art .gun{fill:none;stroke:#df9e64;stroke-width:10}.guide-art .core{fill:#dc9561;stroke:#f3d6a0}.guide-art .signal,.guide-art .shot{fill:none;stroke:#f1cc82;stroke-width:4;stroke-dasharray:8 4;animation:guide-flow 1.8s linear infinite}.guide-art .locked{fill:#354743;stroke:#778276;stroke-dasharray:3}.guide-art text{stroke:none;fill:#f0d7a0;font:700 23px monospace;text-anchor:middle}.guide-art .target{fill:#895744;stroke:#dd9467}.guide-art .shop-card{fill:#5b7462}.guide-art .card-1{fill:#4b7481}.guide-art .card-2{fill:#987c40}.guide-dots{display:flex;justify-content:center;gap:8px}.guide-dots i{width:6px;height:6px;border-radius:50%;background:#687c71}.guide-dots .current{background:#edbd78;width:24px;border-radius:4px}.settings-panel{max-width:580px;margin:auto}.settings-label{margin-bottom:8px}.language-options{display:flex;gap:14px;margin:18px 0}.language-options button{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;padding:18px 10px;background:#d7ddcf}.language-options button[aria-pressed=true]{outline:2px solid #b67048;background:#efe1bf}.language-options b{font-size:22px}.language-options small{font-size:11px}.language-panel{text-align:center}.language-panel h1 span{font-size:.65em}.welcome-mark{font-size:58px;color:#bb7047;line-height:1;margin-top:20px}.language-panel>small{font-size:12px}.settings-row{display:flex;width:100%;align-items:center;justify-content:space-between;margin-top:12px;text-align:left;padding:16px;gap:14px}.settings-row small{font-size:11px}.reset-row,.guide-panel .danger{color:#943e2a}.guide-panel .danger{border-color:#b66f51;background:#efccb4}.settings-dialog [role=status]{color:#943e2a;margin-bottom:0;font-size:12px}.settings-dialog [role=status]:empty{display:none}@keyframes guide-flow{to{stroke-dashoffset:-48}}@keyframes settings-in{0%{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}@media(max-height:550px){.guide-panel{padding:15px 22px}.guide-panel h1{font-size:24px;margin:10px 0}.guide-panel p{font-size:13px;line-height:1.5}.guide-panel aside{padding:8px 10px;font-size:12px}.guide-panel footer{margin-top:12px}.guide-illustration{padding:5px 3px 12px}.guide-art{max-height:155px}.language-options{margin:12px 0}.language-options button{padding:10px}.welcome-mark{font-size:35px;margin-top:10px}.settings-row{padding:10px;margin-top:8px}.settings-panel{max-width:none}.settings-panel h1{margin:5px 0}}@media(max-width:550px)and (min-height:551px){.guide-layout{grid-template-columns:1fr;gap:10px}.guide-art{max-height:150px}.guide-panel{padding:20px}.settings-row{align-items:flex-start;flex-direction:column;gap:4px}}@media(prefers-reduced-motion:reduce){.settings-dialog[open],.guide-art .signal,.guide-art .shot{animation:none}}html[lang=en] .part-tool strong{font-size:10px}html[lang=en] .cell small{font-size:8px}html[lang=en] .build-inspector .module-readout strong{font-size:16px}html[lang=en] .garage-bottom .primary{font-size:13px}.guide-panel footer>button{flex:none;white-space:nowrap}.guide-panel footer>.primary{width:auto;min-width:145px}.guide-panel footer>span{white-space:nowrap}.settings-panel footer>small{font-size:11px}.preparation{position:absolute;inset:10% 3.5% 6%;background:#ece7d8f5;padding:18px;display:grid;grid-template-columns:43% 1fr;grid-template-rows:auto auto 1fr auto;gap:12px;pointer-events:auto;border:1px solid #fff8e8;border-radius:4px}.prep-heading{grid-column:1/-1;display:flex;justify-content:space-between;gap:15px}.prep-heading h1{font-size:28px;margin:3px 0}.prep-heading p{font-size:12px;margin:3px 0;max-width:640px}.points-wallet{text-align:right;display:flex;flex-direction:column;gap:3px;min-width:160px}.points-wallet b{font-size:30px;color:#9c4b27}.points-wallet span{font-size:12px}.points-wallet small{font-size:10px;opacity:.75}.component-tabs{grid-column:1/-1;display:flex;gap:6px}.component-tabs button{flex:1;padding:9px 5px;min-height:36px;background:#d9dccd;font-size:12px}.component-tabs button.selected{background:#345344;color:#fff4d4}.component-upgrade,.card-warehouse{min-height:0;overflow:auto}.upgrade-header,.warehouse-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.upgrade-header h2,.warehouse-heading h2{font-size:18px;margin:5px 0}.upgrade-header small,.warehouse-heading small{font-size:11px;font-weight:400}.upgrade-header .eyebrow{font-size:10px}.upgrade-header button{font-size:11px;padding:8px;background:#dbdac7;white-space:nowrap;min-height:36px}.upgrade-slots{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;margin:10px 0}.card-slot{min-height:90px;background:#f7f1df;border:1px solid #a8b09c;text-align:left;padding:10px;display:flex;flex-direction:column;gap:6px}.card-slot.chosen{outline:2px solid #3b624a;outline-offset:-2px}.card-slot small{font-size:10px}.card-slot strong{font-size:14px}.card-slot span{font-size:11px;line-height:1.4}.upgrade-actions{display:flex;gap:6px}.upgrade-actions button{padding:10px 8px;background:#375645;color:#f8efd8;font-size:12px;min-height:38px}.upgrade-actions button+button{background:#d9dccd;color:#334d3f}.upgrade-note{font-size:10px;color:#65715b;line-height:1.6}.card-warehouse{border-left:1px solid #64766140;padding-left:14px;display:flex;flex-direction:column}.warehouse-heading>span{font-size:10px}.warehouse-scroll{overflow:auto;min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-content:start;padding:3px}.upgrade-card{border:1px solid #a8b09c;background:#f7f2e4;padding:10px}.upgrade-card>div{display:flex;justify-content:space-between;font-size:10px;gap:6px}.upgrade-card h3{font-size:14px;margin:9px 0 5px}.upgrade-card p{font-size:11px;line-height:1.5;min-height:33px;margin:4px 0 10px}.upgrade-card footer{display:flex;gap:5px}.upgrade-card button{min-height:34px;padding:5px 8px;background:#dce1ce;font-size:10px}.rare{border-color:#5281ac!important;background:#e5eef2}.legendary{border-color:#bf862e!important;background:#fff0c9}.upgrade-card.new-card{box-shadow:inset 0 3px #bd683c}.warehouse-empty{grid-column:1/-1;padding:35px 10px;font-size:13px;line-height:2;color:#6b755f}.prep-bottom{grid-column:1/-1;display:flex;align-items:center;gap:12px;border-top:1px solid #8f9b8055;padding-top:9px}.prep-bottom p{margin:0;flex:1;font-size:12px;line-height:1.5}.prep-bottom small{font-size:10px;color:#62735b}.prep-bottom .primary{width:180px;min-height:42px}.prep-bottom .secondary{font-size:11px;padding:10px;background:#d9dccd}.station-header{position:absolute;top:11%;left:3.5%;right:3.5%;display:flex;gap:10px;align-items:center;background:#e7e3d2f5;padding:8px 12px;pointer-events:auto}.station-header h2{font-size:19px;margin:0}.station-header p{font-size:10px;margin:4px 0}.station-header .station-info{margin-left:auto;font-size:12px;text-align:right}.station-header button{background:#345542;color:#fff1d2;font-size:11px;padding:10px;min-height:38px}.station-shop{position:absolute;top:22%;left:3.5%;right:3.5%;display:grid;grid-template-columns:repeat(4,1fr);gap:8px;pointer-events:auto}.station-offer{background:#f5ecd9;border:1px solid #a3aa90;padding:8px;display:flex;align-items:center;gap:8px;min-height:56px}.station-offer strong{font-size:13px;display:block}.station-offer small{font-size:10px;display:block;margin-top:3px}.station-offer button{margin-left:auto;min-height:36px;background:#b85b33;color:#fff2d5;padding:7px 12px;font-size:12px}.station-editor{position:absolute;inset:33% 0 3%;pointer-events:none}.station-garage{background:#e6ddc9ed}.station-garage .garage-heading{display:none}.station-garage .parts-panel,.station-garage .build-inspector{top:2%}.station-garage .blueprint{top:0}.station-garage .parts-panel{width:21%}.station-garage .blueprint{left:27%;width:43%}.station-garage .grid-scroll{height:20cqw;max-height:37dvh}.station-garage .part-tool{min-height:40px;height:52px;padding:5px}.station-garage .part-symbol,.station-garage .part-detail,.station-garage .tool-help,.station-garage .model-label,.station-garage .grid-note{display:none}.station-garage .part-tool strong{font-size:11px;margin:3px 0}.station-garage .part-brief{display:block!important;font-size:9px}.station-garage .blueprint-presets{display:none}.station-garage .garage-bottom{bottom:2%;justify-content:flex-end;left:3.5%;right:3.5%;padding-top:5px}.station-garage .garage-launch{width:45%}.station-garage .garage-wallet{bottom:8px;left:0}.station-garage .build-inspector{width:23%}.station-garage .build-inspector>small{display:none}.station-garage .build-inspector label,.station-garage .build-inspector input{display:none}.lab-back{position:absolute;right:4%;top:11%;z-index:3;pointer-events:auto;padding:8px;background:#355341;color:#fff3d5;font-size:12px}@media(max-height:520px){.preparation{inset:11% 3.5% 5%;padding:8px;gap:5px;grid-template-columns:44% 1fr}.prep-heading h1{font-size:19px;margin:0}.prep-heading .eyebrow{display:none}.prep-heading p{font-size:9px;max-width:420px}.points-wallet{gap:0;min-width:120px}.points-wallet b{font-size:19px}.points-wallet span{font-size:9px}.points-wallet small{font-size:8px}.component-tabs{gap:3px}.component-tabs button{min-height:30px;font-size:9px;padding:5px 2px}.upgrade-header h2,.warehouse-heading h2{font-size:13px;margin:2px 0}.upgrade-header .eyebrow{font-size:8px}.upgrade-header button{font-size:9px;min-height:30px;padding:5px}.upgrade-slots{gap:4px;margin:5px 0}.card-slot{min-height:58px;padding:5px;gap:3px}.card-slot small{font-size:8px}.card-slot strong{font-size:11px}.card-slot span{font-size:9px}.upgrade-actions button{font-size:9px;padding:5px;min-height:30px}.upgrade-note{font-size:8px;line-height:1.35;margin:5px 0}.card-warehouse{padding-left:7px}.warehouse-scroll{gap:5px}.upgrade-card{padding:6px}.upgrade-card h3{font-size:11px;margin:5px 0}.upgrade-card p{font-size:9px;min-height:27px;margin:4px 0}.upgrade-card>div{font-size:8px}.upgrade-card button{font-size:8px;padding:4px;min-height:30px}.warehouse-empty{font-size:10px;padding:18px 5px}.prep-bottom{gap:7px;padding-top:5px}.prep-bottom p{font-size:9px}.prep-bottom small{font-size:8px}.prep-bottom .primary{font-size:11px;width:125px;min-height:34px;padding:7px}.prep-bottom .secondary{font-size:9px;padding:7px}.station-header{top:11%;padding:5px 8px;gap:6px}.station-header h2{font-size:13px}.station-header p{font-size:8px;margin:2px 0}.station-header .station-info{font-size:9px}.station-header button{font-size:9px;padding:6px;min-height:30px}.station-shop{top:24%;gap:5px}.station-offer{padding:4px;gap:3px;min-height:40px}.station-offer strong{font-size:10px}.station-offer small{font-size:8px}.station-offer button{min-height:30px;font-size:9px;padding:4px 6px}.station-editor{inset:36% 0 2%}.station-garage .grid-scroll{max-height:29dvh}.station-garage .grid-toolbar{min-height:22px;font-size:8px}.station-garage .grid-toolbar button{min-height:23px;font-size:8px}.station-garage .part-tool,.station-garage .parts-list .part-tool:last-child{min-height:32px;height:32px;padding:3px}.station-garage .part-tool strong{font-size:9px;margin:1px}.station-garage .part-brief{font-size:7px}.station-garage .edit-actions button{min-height:24px;font-size:8px}.station-garage .garage-launch .primary{min-height:31px;font-size:9px}.station-garage .structure-message,.station-garage .garage-wallet{font-size:8px}.station-garage .route-note{display:none}.station-garage .build-stats b{font-size:15px}.station-garage .garage-bottom{border:0}.station-garage .parts-panel>.eyebrow{font-size:7px}.lab-back{top:11%;font-size:9px;padding:6px}}.prep-bottom .secondary{width:auto;flex:0 0 auto;margin:0}.prep-bottom .primary{flex:0 0 180px}.prep-bottom p{min-width:0}.preparation{grid-template-rows:auto auto minmax(0,1fr) auto}@media(max-height:520px){.prep-bottom .primary{flex-basis:125px}}.station-header>div:first-child{flex:1;min-width:0}.station-header .station-info,.station-header button{flex-shrink:0}.station-header button{white-space:nowrap}#station-reroll{background:#a95d30}.prelaunch{position:absolute;inset:0;pointer-events:none}.fleet-header{position:absolute;top:11%;left:3.5%;right:3.5%;display:flex;gap:12px;align-items:center;background:#e9e5d7f5;padding:10px 14px;pointer-events:auto}.fleet-header>div:first-child{flex:1;min-width:0}.fleet-header h2{font-size:20px;margin:0 0 4px}.fleet-header p{font-size:11px;margin:0}.fleet-header small{display:block;font-size:10px}.fleet-header button{background:#355544;color:#fff3d4;padding:10px;min-height:38px;white-space:nowrap}.prelaunch-editor{position:absolute;inset:25% 0 4%;pointer-events:none}.prelaunch .station-garage .grid-scroll{max-height:42dvh}.prelaunch .station-garage .part-tool{height:50px}.prelaunch .station-garage .parts-list{grid-template-columns:repeat(2,minmax(0,1fr))}.fleet-modal{position:absolute;inset:10% 3.5% 5%;z-index:10;background:#eee7d5;padding:20px;pointer-events:auto;overflow:auto;box-shadow:0 12px 80px #10251a88}.fleet-modal header{display:flex;align-items:center;justify-content:space-between;gap:15px}.fleet-modal h2{margin:0}.fleet-modal p{font-size:12px}.fleet-modal button,.budget-upgrade button{background:#375846;color:#fff1d2;padding:10px;min-height:38px}.budget-upgrade{display:flex;align-items:center;justify-content:space-between;background:#d4dbc7;padding:12px;margin:12px 0}.budget-upgrade p{margin:4px 0 0}.fleet-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.fleet-catalog article{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#faf3e4;border:1px solid #b1b9a4;padding:10px}.fleet-catalog small,.fleet-catalog span{display:block;font-size:11px;margin-top:4px}.fleet-note{color:#556951}.checkpoint{position:absolute;inset:11% 4% 6%;display:flex;flex-direction:column;gap:16px;background:#e8e4d3f5;padding:22px;pointer-events:auto}.checkpoint header{display:flex;justify-content:space-between;align-items:center}.checkpoint h1{font-size:28px;margin:6px 0}.checkpoint header p{font-size:12px;margin:0}.checkpoint-wallet{text-align:right;display:flex;flex-direction:column;gap:4px}.checkpoint-wallet b{font-size:30px;color:#aa5b30}.checkpoint-wallet span,.checkpoint-wallet small{font-size:12px}.checkpoint-actions{display:flex;align-items:center;gap:12px}.checkpoint-actions button{background:#345643;color:#fff3d8;padding:12px;min-height:40px}.checkpoint-actions span{font-size:12px;flex:1}.run-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;flex:1;min-height:0}.run-card{display:flex;flex-direction:column;padding:18px;background:#faf1df;border:1px solid #a6b49c}.run-card>div{display:flex;justify-content:space-between;font-size:12px}.run-card h2{font-size:24px;margin:24px 0 8px}.run-card p{font-size:14px;line-height:1.6;flex:1}.run-card button{background:#355543;color:#fff1d5;min-height:42px;padding:10px}.draw-empty{grid-column:1/-1;align-self:center;text-align:center}.draw-empty strong{font-size:24px}.draw-empty p{font-size:14px;line-height:1.8}.run-upgrades{font-size:12px;max-height:85px;overflow:auto}.run-upgrades>div{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}.run-upgrades span{padding:5px;border:1px solid #a4b099;background:#e9e5d3}.checkpoint footer{display:flex;align-items:center;gap:15px}.checkpoint footer p{flex:1;font-size:12px}.checkpoint footer .primary{width:220px;min-height:45px;margin:0}.checkpoint footer>button:first-child{background:#cfd5c2;padding:12px;min-height:40px}@media(max-height:520px){.fleet-header{padding:6px 9px;gap:6px}.fleet-header h2{font-size:13px}.fleet-header p{font-size:8px}.fleet-header b{font-size:12px}.fleet-header small{font-size:8px}.fleet-header button{font-size:9px;padding:7px;min-height:32px}.prelaunch-editor{top:26%}.prelaunch .station-garage .part-tool{height:32px;min-height:32px}.fleet-modal{padding:12px}.fleet-modal h2{font-size:18px}.fleet-modal p{font-size:10px}.fleet-modal button{font-size:10px;padding:7px;min-height:32px}.budget-upgrade{padding:8px;margin:7px 0}.fleet-catalog{gap:5px}.fleet-catalog article{padding:6px}.fleet-catalog strong{font-size:11px}.fleet-catalog small,.fleet-catalog span{font-size:8px}.checkpoint{padding:12px;gap:8px}.checkpoint h1{font-size:18px;margin:3px 0}.checkpoint header p{font-size:9px}.checkpoint-wallet b{font-size:20px}.checkpoint-wallet span,.checkpoint-wallet small{font-size:9px}.checkpoint-actions{gap:8px}.checkpoint-actions button{font-size:10px;padding:7px;min-height:32px}.checkpoint-actions span{font-size:9px}.run-choices{gap:8px}.run-card{padding:10px}.run-card>div{font-size:9px}.run-card h2{font-size:16px;margin:8px 0 4px}.run-card p{font-size:10px;line-height:1.4;margin:4px 0}.run-card button{font-size:10px;min-height:32px;padding:7px}.draw-empty strong{font-size:18px}.draw-empty p{font-size:10px}.run-upgrades{max-height:48px;font-size:9px}.run-upgrades span{padding:3px}.checkpoint footer{gap:10px}.checkpoint footer p{font-size:9px;margin:0}.checkpoint footer .primary{width:160px;min-height:32px;font-size:11px}.checkpoint footer>button:first-child{font-size:10px;padding:7px;min-height:32px}}.run-card{min-height:0}.run-card button{flex-shrink:0}@media(max-height:520px){.checkpoint{inset:9% 4% 4%;padding:10px;gap:6px}.checkpoint h1{font-size:16px}.checkpoint .eyebrow{font-size:8px}.run-upgrades{max-height:34px;flex-shrink:0}.run-card{padding:8px;overflow:auto}.run-card h2{font-size:15px;margin:6px 0 4px}.run-card p{font-size:10px;line-height:1.35;margin:3px 0}.checkpoint footer{flex-shrink:0}.checkpoint-actions{flex-shrink:0}}.checkpoint-body{display:grid;grid-template-columns:36% minmax(0,1fr);gap:20px;flex:1;min-height:0}.checkpoint-blueprint{min-height:0;display:flex;flex-direction:column;gap:10px}.checkpoint-grid-title{display:flex;justify-content:space-between;gap:8px;font-size:12px}.checkpoint-grid-title span{font-size:10px;opacity:.75}.checkpoint-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));grid-template-rows:repeat(6,minmax(0,1fr));aspect-ratio:10/6;gap:3px;padding:4px;background:#a7b19755;flex-shrink:0}.checkpoint-cell{position:relative;min-width:0;padding:2px;background:#d8ddc8;font-size:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #a7b096}.checkpoint-cell.filled{background:var(--part-color);color:#182c25}.checkpoint-cell.core{background:#5d705b;color:#f6efd9}.checkpoint-cell:disabled{opacity:1;cursor:default}.checkpoint-cell span{font-size:17px;line-height:1}.checkpoint-cell small{font-size:9px}.checkpoint-cell i{position:absolute;top:1px;right:1px;font-size:8px;font-style:normal;background:#edf0dba8;padding:0 1px}.checkpoint-cell.chosen{outline:3px solid #ba572c;outline-offset:-2px;z-index:1}.selected-module{display:flex;flex-direction:column;gap:6px;font-size:14px}.selected-module small{font-size:12px}.selected-module button{min-height:42px;padding:10px;background:#b75b32;color:#fff3d6}.checkpoint-upgrade-area{display:flex;flex-direction:column;gap:12px;min-width:0;min-height:0}.targeted-checkpoint .run-card{padding:14px}.targeted-checkpoint .run-card h2{font-size:21px}.targeted-checkpoint .run-card>div{gap:5px;font-size:11px}.targeted-checkpoint .run-card p{font-size:13px}.targeted-checkpoint .draw-empty strong{font-size:20px}.targeted-checkpoint .draw-empty p{font-size:12px}.targeted-checkpoint header{gap:18px}.targeted-checkpoint header>div:first-child{flex:1}.targeted-checkpoint #station-repair{background:#365846;color:#fff1d4;padding:10px;min-height:38px}@media(max-height:520px){.checkpoint-body{grid-template-columns:37% minmax(0,1fr);gap:10px}.checkpoint-blueprint{gap:5px}.checkpoint-grid-title{font-size:9px}.checkpoint-grid-title span{font-size:8px}.checkpoint-grid{gap:2px;padding:2px}.checkpoint-cell{padding:1px;font-size:7px}.checkpoint-cell span{font-size:11px}.checkpoint-cell small{font-size:7px;line-height:1.1}.checkpoint-cell i{font-size:6px;top:0;right:0}.selected-module{gap:3px;font-size:10px}.selected-module small{font-size:9px}.selected-module button{min-height:32px;font-size:10px;padding:7px}.checkpoint-upgrade-area{gap:6px}.targeted-checkpoint .run-card{padding:7px}.targeted-checkpoint .run-card h2{font-size:14px;margin:8px 0}.targeted-checkpoint .run-card>div{font-size:8px}.targeted-checkpoint .run-card p{font-size:10px}.targeted-checkpoint .draw-empty strong{font-size:15px}.targeted-checkpoint .draw-empty p{font-size:10px}.targeted-checkpoint #station-repair{min-height:32px;font-size:9px;padding:6px}.targeted-checkpoint header{gap:10px}.targeted-checkpoint .run-choices{gap:6px}.targeted-checkpoint .run-upgrades{max-height:40px}}.checkpoint-grid-scroll{overflow:auto;min-height:0}.selected-module,.checkpoint-grid-title{flex-shrink:0}@media(max-height:520px){.checkpoint-grid-scroll{flex:1;overscroll-behavior:contain}.checkpoint-grid{min-width:340px;gap:2px}.checkpoint-cell span{font-size:14px}.checkpoint-cell small{font-size:8px}.checkpoint-cell i{font-size:7px}}.level-map{display:flex;flex-direction:column;gap:20px}.level-map header{flex-shrink:0}.map-road{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;overflow:auto;min-height:0;padding:4px;flex:1;align-content:start}.map-node{display:flex;flex-direction:column;text-align:left;gap:8px;min-height:190px;padding:20px;background:#d7ddc9;border:2px solid #bbc3ae;color:#29463c;position:relative}.map-node>b{font-size:36px;line-height:1}.map-node>span{font-size:10px;letter-spacing:1px}.map-node strong{font-size:16px}.map-node small{font-size:11px}.map-node em{font-style:normal;font-weight:700;font-size:12px;margin-top:auto}.map-node.selected{border-color:#be622f;background:#f1e3be;box-shadow:0 0 0 2px #be622f33}.map-node.cleared>b{color:#628263}.map-node:disabled{opacity:.5;cursor:default}.level-map footer{display:flex;align-items:center;gap:15px;justify-content:space-between}.level-map footer p{font-size:12px}.level-map button{min-height:40px}.arrival-banner{position:absolute;left:10%;right:10%;top:16%;text-align:center;background:#233e35e8;color:#fff1d0;border-top:4px solid #e99a53;padding:20px;pointer-events:none}.arrival-banner h1{font-size:27px;margin:10px}.arrival-banner p{margin:7px}.arrival-banner b{color:#ffc575;font-size:25px}.arrival-meter{height:3px;max-width:300px;background:#ffffff28;margin:14px auto}.arrival-meter i{display:block;height:100%;background:#e5c183;animation:arrival-fill 1.8s linear forwards;transform-origin:left}.arrival-banner small{opacity:.75}@keyframes arrival-fill{0%{transform:scaleX(0)}to{transform:scaleX(1)}}.chapter-clear{position:absolute;inset:13% 13% 9%;padding:32px;background:#ede6d5f5;border-top:5px solid #be693b;pointer-events:auto;overflow:auto}.chapter-clear h1{font-size:42px;margin:14px 0}.chapter-clear p{font-size:15px}.clear-reward{display:flex;gap:25px;align-items:center;padding:18px 0;border-block:1px solid #a9b09b}.clear-reward strong{font-size:55px;color:#a9552c}.clear-reward span{line-height:1.8;font-size:13px}.clear-actions{display:flex;gap:14px;margin:20px 0}.clear-actions button{min-height:46px;padding:12px 18px}.clear-actions .primary{width:auto}.chapter-clear>small{font-size:11px;opacity:.8}@media(max-height:520px){.fleet-header{gap:6px}.fleet-header>div:first-child{max-width:42%}.fleet-header h2{font-size:12px}.fleet-header>button{font-size:9px;padding:7px}.level-map{gap:8px}.level-map header h2{font-size:16px}.level-map header p{font-size:9px;margin:4px 0}.level-map .eyebrow{font-size:8px}.map-road{gap:8px}.map-node{padding:10px;gap:5px;min-height:156px}.map-node>b{font-size:24px}.map-node strong{font-size:11px}.map-node small,.map-node em{font-size:9px}.level-map footer{gap:7px}.level-map footer p{font-size:9px;margin:0}.level-map button{min-height:34px}.arrival-banner{top:15%;padding:12px}.arrival-banner h1{font-size:19px;margin:6px}.arrival-banner p{font-size:12px}.arrival-banner small{font-size:10px}.chapter-clear{inset:10% 8% 5%;padding:16px}.chapter-clear h1{font-size:25px;margin:8px 0}.chapter-clear p{font-size:11px;margin:7px 0}.clear-reward{padding:8px 0}.clear-reward strong{font-size:32px}.clear-reward span{font-size:10px}.clear-actions{margin:10px 0}.clear-actions button{min-height:36px;font-size:11px;padding:8px}.chapter-clear>small{font-size:9px}}@media(prefers-reduced-motion:reduce){.arrival-meter i{animation:none}}.level-map button.map-node{color:#29463c;background:#d7ddc9}.level-map button.map-node.selected{background:#f1e3be;border-color:#be622f}.level-map button.map-node:disabled{color:#29463c;background:#cdd3c4;opacity:.7}.main-base .fleet-header{top:10%;padding:12px 18px;gap:24px;background:#eae5d5ed;border-top:3px solid #375647}.main-base .fleet-header>div:first-child{flex:1;max-width:none}.main-base .fleet-header h2{font-size:24px;margin:3px 0}.main-base .fleet-header .eyebrow{font-size:9px}.main-base .base-capacity{min-width:115px;text-align:right}.main-base .base-capacity b{font-size:24px}.main-base .base-points{font-size:22px;white-space:nowrap}.main-base .base-points small{font-size:10px;display:inline}.main-base .return-summary{font-size:11px;max-width:260px}.main-base .prelaunch-editor{inset:24% 0 4%}.main-base .base-garage{background:linear-gradient(90deg,#e6ddc9ef,#e6ddc9d9 75%,#e6ddc950 75%)}.main-base .base-garage .parts-panel{left:3.5%;top:3%;width:18%;height:78%;display:flex;flex-direction:column}.main-base .base-garage .parts-list{overflow:auto;align-content:start;gap:6px;margin:0;min-height:0}.main-base .base-garage .parts-list .part-tool{grid-column:auto;height:76px;min-height:66px;padding:9px;display:grid;grid-template-columns:1fr auto;align-items:center}.main-base .base-garage .part-symbol{font-size:25px;grid-column:1/-1}.main-base .base-garage .part-tool strong{font-size:12px}.main-base .base-garage .part-tool small{font-size:10px}.unlock-note{font-size:10px;margin-top:10px;opacity:.7}.main-base .base-garage .blueprint{top:3%;left:24%;width:45%;height:81%;display:flex;flex-direction:column}.main-base .base-garage .grid-scroll{height:auto;flex:1;min-height:0;max-height:none}.main-base .base-garage .cell{aspect-ratio:auto;position:relative}.main-base .base-garage .grid-toolbar{gap:8px;min-height:32px;font-size:12px}.grid-pan{display:flex;gap:3px;margin-left:auto}.grid-pan button{min-width:28px;padding:4px}.main-base .base-garage .edit-actions{flex-shrink:0}.main-base .base-garage .structure-message{font-size:10px;margin:3px 0;min-height:12px}.main-base .base-garage .build-inspector{top:5%;right:3.5%;width:24%;max-height:75%;overflow:auto}.module-readout{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:6px;background:#ece6d1db;padding:16px}.module-big{font-size:32px;grid-column:1}.module-readout strong{grid-column:2}.module-readout p,.module-readout b{grid-column:1/-1}.module-readout strong{font-size:17px}.module-readout p{font-size:12px;line-height:1.5;margin:0}.module-readout b{font-size:11px;color:#aa552e}.main-base .base-garage .build-stats{grid-template-columns:repeat(4,minmax(0,1fr));margin:14px 0;background:#eae4d6ee;padding:8px}.main-base .base-garage .build-stats b{font-size:23px}.main-base .base-garage .garage-bottom{bottom:0;align-items:center;justify-content:space-between;min-height:48px;padding:7px 0;pointer-events:auto}.main-base .base-garage .garage-wallet{position:static;display:block;font-size:12px;opacity:.75}.main-base .base-garage .primary{width:235px;min-height:45px;margin:0}.main-base .base-garage.zoomed .build-grid{min-width:650px;min-height:380px}.aura-link{box-shadow:inset 0 0 0 3px #fff2a5,0 0 9px #e9c569;animation:aura-pulse 1.2s ease-in-out infinite alternate}.buff-dot{position:absolute;right:2px;top:0;font-style:normal;color:#fff8c5;font-size:12px;text-shadow:0 1px #936b3d}@keyframes aura-pulse{to{filter:brightness(1.18)}}.expedition-map{position:absolute;inset:10% 3.5% 5%;background:#e9e2cd;border:1px solid #f4ebd4;display:flex;flex-direction:column;pointer-events:auto;box-shadow:0 20px 70px #142f2540}.expedition-map header{display:flex;justify-content:space-between;align-items:center;padding:15px 23px}.expedition-map h1{font-size:25px;margin:4px 0 0}.expedition-map .eyebrow{font-size:9px}.expedition-map header button{background:#36584a;color:#f3edd8;padding:10px 16px;min-height:40px}.map-land{position:relative;flex:1;min-height:0;overflow:hidden;background:#d6cfb1;border-block:1px solid #b8b394}.map-land svg{pointer-events:none;position:absolute;inset:0;width:100%;height:100%}.route-node{position:absolute;transform:translate(-50%,-50%);background:none;border:none;display:flex;flex-direction:column;align-items:center;gap:5px;padding:6px;min-width:118px;color:#2b463a;isolation:isolate}.route-node:active{transform:translate(-50%,-50%)}.route-node>span{display:grid;place-items:center;width:46px;height:46px;font-size:28px;border:3px solid #f3e7c8;background:var(--route-color);color:#223f34;box-shadow:0 5px #867e64,0 9px 12px #464f3728;transform:rotate(-8deg);transition:transform .2s}.route-node>b{font-size:12px;background:#eee4cbbd;padding:3px 8px;white-space:nowrap}.route-node.selected>span{outline:3px solid #375744;outline-offset:4px;transform:rotate(0) scale(1.06)}.route-node.selected>b{background:#345543;color:#fff0cc}.route-node.cleared>span{background:#416a54;color:#e6edcf}.route-node:disabled{opacity:.5;cursor:not-allowed;filter:grayscale(.85)}.expedition-map footer{display:flex;align-items:center;gap:22px;padding:13px 20px}.map-paging{display:flex;align-items:center;gap:8px;font-size:11px}.map-paging button{background:#d0d3ba;min-width:34px;min-height:36px}.route-choice{display:flex;flex-direction:column;gap:5px;flex:1}.route-choice strong{font-size:17px}.route-choice small{font-size:11px}.expedition-map .primary{margin:0;width:185px;min-height:44px}#scene-transition{position:absolute;inset:0;background:linear-gradient(125deg,#253e35,#3a5743);color:#f5ebcb;display:flex;align-items:center;justify-content:center;gap:20px;z-index:80;pointer-events:auto;opacity:0}.transition-icon{font-size:50px;transform:skew(-10deg)}#scene-transition b{font-size:22px;letter-spacing:.16em}.drive-label,.impact-hint,.weapon-tip,#shot-feedback{display:none!important}.health-block .eyebrow{display:none}.hp-title strong{font-size:36px}.battle-hud .route{width:40%;left:35%}#air-alert{padding:7px 12px;font-size:11px}.damage-pulse:after{content:"";position:absolute;inset:0;pointer-events:none;z-index:12;box-shadow:inset 0 0 85px #c95138a6;animation:damage-fade .3s both}.wave-pulse .route-line{animation:wave-flash .45s}#combat-fx{position:absolute;inset:0;pointer-events:none}.combat-number{position:absolute;display:block;font-size:20px;font-weight:800;color:#fff0b0;text-shadow:1px 2px 2px #5e5429;animation:damage-number .55s ease-out forwards}.combat-number.hurt{font-size:27px;color:#ff9475;text-shadow:1px 2px #593028}#combo{position:absolute;left:5%;bottom:20%;color:#ffe9a5;background:#304d3aaa;padding:8px 13px;border-left:3px solid #e5b071;font-size:20px;font-weight:700;pointer-events:none}.compact-clear{inset:14% 23% 9%;padding:25px}.compact-clear h1{font-size:37px}.compact-clear .clear-reward{gap:18px;padding:10px 0}.clear-reward small{display:block;font-size:11px;opacity:.65}.unlock-reveal{display:flex;gap:24px;align-items:center;margin:20px 0;padding:16px;background:#d5ddc699;animation:unlock-pop .65s cubic-bezier(.2,.8,.2,1) both}.unlock-reveal>span{font-size:58px;filter:drop-shadow(0 3px #fff0ba)}.unlock-reveal h2{margin:5px 0;font-size:23px}.unlock-reveal p{font-size:13px;margin:0}.unlock-reveal small{font-size:10px;letter-spacing:.15em}.arrival-banner small,.arrival-banner .eyebrow{display:none}.arrival-banner{left:24%;right:24%;padding:15px}.arrival-banner h1{font-size:20px}.targeted-checkpoint header .eyebrow,.targeted-checkpoint header p,.targeted-checkpoint .draw-empty p,.targeted-checkpoint .checkpoint-grid-title>span{display:none}.targeted-checkpoint .draw-empty strong{font-size:18px}.targeted-checkpoint .checkpoint-grid-title{display:flex;align-items:center;gap:5px}.checkpoint-pan{margin-left:auto;display:flex;gap:3px}.checkpoint-pan button{min-width:25px;padding:4px;background:#d3d9c4}.run-card{animation:card-in .25s ease both}.run-card:nth-child(2){animation-delay:.05s}.run-card:nth-child(3){animation-delay:.1s}@keyframes damage-fade{to{opacity:0}}@keyframes wave-flash{50%{filter:brightness(1.9)}}@keyframes damage-number{to{transform:translateY(-38px) scale(.8);opacity:0}}@keyframes unlock-pop{0%{transform:translateY(25px) scale(.85);opacity:0}to{transform:none;opacity:1}}@keyframes card-in{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@media(max-height:520px){.main-base .fleet-header{top:9%;padding:5px 10px;gap:14px;height:50px}.main-base .fleet-header h2{font-size:16px;margin:0}.main-base .fleet-header .eyebrow{font-size:7px}.main-base .base-capacity b{font-size:17px}.main-base .base-capacity{min-width:70px}.main-base .base-points{font-size:16px}.main-base .fleet-header .return-summary{font-size:8px;max-width:170px}.main-base .prelaunch-editor{inset:24% 0 4%}.main-base .base-garage .parts-panel{width:18%;height:80%;top:2%}.main-base .base-garage .parts-list{gap:4px}.main-base .base-garage .parts-list .part-tool{grid-column:auto;height:51px;min-height:51px;padding:5px}.main-base .base-garage .part-symbol{font-size:17px}.main-base .base-garage .part-tool strong{font-size:9px}.main-base .base-garage .part-tool small{font-size:8px}.unlock-note{font-size:8px;margin-top:4px}.main-base .base-garage .blueprint{height:80%;top:2%;left:24%;width:45%}.main-base .base-garage .grid-toolbar{min-height:25px;font-size:9px;gap:4px}.main-base .base-garage .grid-toolbar button{min-height:25px;min-width:21px;padding:3px;font-size:10px}.main-base .base-garage .edit-actions button{min-height:25px;font-size:9px}.main-base .base-garage .cell>span{font-size:13px}.main-base .base-garage .cell small{font-size:6px}.buff-dot{font-size:8px}.main-base .base-garage .structure-message{font-size:8px;min-height:9px}.main-base .base-garage .build-inspector{top:2%;width:24%;max-height:78%}.module-readout{padding:8px;gap:3px}.module-big{font-size:22px}.module-readout strong{font-size:12px}.module-readout p{font-size:9px}.module-readout b{font-size:8px}.main-base .base-garage .build-stats{margin:7px 0;gap:5px}.main-base .base-garage .build-stats b{font-size:16px}.main-base .base-garage .build-stats span{font-size:8px}.main-base .base-garage .build-inspector>small{font-size:7px}.main-base .base-garage .garage-bottom{min-height:34px;padding:4px 0;bottom:0}.main-base .base-garage .garage-wallet{font-size:9px}.main-base .base-garage .primary{min-height:32px;width:165px;font-size:12px}.main-base .base-garage.zoomed .build-grid{min-width:500px;min-height:280px}.expedition-map{inset:9% 3.5% 4%}.expedition-map header{padding:6px 13px}.expedition-map h1{font-size:16px;margin:2px 0}.expedition-map .eyebrow{font-size:7px}.expedition-map header button{min-height:30px;padding:6px 10px;font-size:10px}.route-node{gap:2px;padding:3px;min-width:80px}.route-node>span{width:27px;height:27px;border-width:2px;font-size:17px;box-shadow:0 3px #867e64}.route-node>b{font-size:8px;padding:2px 5px}.route-node.selected>span{outline-width:2px;outline-offset:2px}.expedition-map footer{padding:7px 11px;gap:12px}.route-choice strong{font-size:12px}.route-choice small{font-size:8px}.map-paging{gap:5px;font-size:8px}.map-paging button{min-width:26px;min-height:28px}.expedition-map .primary{width:130px;min-height:32px;font-size:11px}.compact-clear{inset:10% 22% 5%;padding:12px 20px}.compact-clear h1{font-size:23px;margin:7px 0}.compact-clear .clear-reward{padding:6px 0}.unlock-reveal{margin:8px 0;padding:8px;gap:14px}.unlock-reveal>span{font-size:34px}.unlock-reveal h2{font-size:16px;margin:4px 0}.unlock-reveal p{font-size:9px}.unlock-reveal small{font-size:8px}.arrival-banner{left:22%;right:22%;padding:8px}.arrival-banner h1{font-size:14px}.arrival-banner p{font-size:10px;margin:4px}.arrival-banner b{font-size:19px}.arrival-meter{margin:7px auto}.combat-number{font-size:14px}.combat-number.hurt{font-size:18px}#combo{font-size:13px;padding:5px 8px}.hp-title strong{font-size:25px}#air-alert{font-size:8px;padding:5px 8px}.targeted-checkpoint .draw-empty strong{font-size:13px}.checkpoint-pan button{min-width:20px;font-size:9px;padding:3px}}@media(prefers-reduced-motion:reduce){.aura-link,.run-card,.unlock-reveal,.wave-pulse .route-line,.damage-pulse:after{animation:none}.combat-number{animation:damage-fade .55s forwards}.route-node>span{transition:none}}.web-map .map-land{background:#ccd0b8}.map-roads path{fill:none;stroke:#9ca890;stroke-width:5;stroke-dasharray:8 10;opacity:.55}.map-roads path.open-road{stroke:#526f57;stroke-dasharray:none;opacity:1;stroke-width:7}.web-map header{gap:18px}.map-legend{display:flex;gap:16px;font-size:11px;margin-left:auto;color:#5d715b}.web-map .graph-node{min-width:115px;gap:3px}.web-map .graph-node>span{width:42px;height:42px;font-size:23px}.web-map .graph-node>b{font-size:11px;padding:3px 7px}.graph-node>small{font-size:9px;padding:2px 5px;background:#e8e8d8d9;border-radius:3px;color:#576957}.graph-node.selected>small{background:#365444;color:#fff1c8}.web-map .route-choice small{line-height:1.6}.map-blueprints{color:#876d37}.unlock-list{display:flex;gap:10px}.unlock-list .unlock-reveal{flex:1;min-width:0;gap:12px}.unlock-list .unlock-reveal h2{font-size:18px}.unlock-list .unlock-reveal p{font-size:11px}.weapons-controls{max-width:75%;flex-wrap:wrap;justify-content:flex-end}.weapons-controls:has(.weapon-button:nth-child(4)){gap:6px;max-width:85%}.weapons-controls:has(.weapon-button:nth-child(4)) .weapon-button{min-width:90px;padding:6px 9px}.weapons-controls:has(.weapon-button:nth-child(4)) .weapon-button strong{font-size:12px}@media(max-height:520px){.map-legend{gap:9px;font-size:8px}.web-map header{gap:10px}.web-map .graph-node{min-width:72px;gap:1px;padding:2px}.web-map .graph-node>span{width:25px;height:25px;font-size:14px}.web-map .graph-node>b{font-size:8px;padding:1px 3px}.graph-node>small{font-size:7px;padding:1px 3px}.map-blueprints{font-size:7px!important}.web-map footer{gap:8px}.web-map .route-choice strong{font-size:11px}.unlock-list .unlock-reveal h2{font-size:12px}.unlock-list .unlock-reveal p{font-size:8px}.unlock-list .unlock-reveal>span{font-size:25px}.weapons-controls:has(.weapon-button:nth-child(4)) .weapon-button{min-width:76px;min-height:49px}.weapons-controls:has(.weapon-button:nth-child(4)) .weapon-button strong{font-size:10px}}#stage[data-biome=foundry] .mast,#stage[data-biome=marsh] .mast,#stage[data-biome=volcano] .mast{color:#f0e4c9}#stage[data-biome=foundry] .tools button,#stage[data-biome=marsh] .tools button,#stage[data-biome=volcano] .tools button{color:#293b33}#stage[data-biome]:not([data-biome=wastes]) .battle-hud{color:#f5ebd5;text-shadow:0 1px 3px #243333}#stage[data-biome]:not([data-biome=wastes]) .health-block .meter{background:#243b3b99}#stage[data-biome]:not([data-biome=wastes]) .health-block .meter i{background:#b5dba4}.web-map .map-land{background:#263936;box-shadow:inset 0 0 80px #101d24;isolation:isolate}.web-map .map-land:after{content:"";position:absolute;inset:0;pointer-events:none;z-index:-1;background:radial-gradient(ellipse at 15% 20%,#a5d9c91a,transparent 60%);animation:map-mist 14s ease-in-out infinite alternate}.web-map .graph-node{background:#233733ee;color:#dee9d3;border-color:#94b79b66;box-shadow:0 5px 12px #0005;min-width:0;width:clamp(60px,9cqw,125px)}.web-map .graph-node:disabled{opacity:.46;background:#243330}.web-map .graph-node.selected{background:#d4deba;color:#273932;box-shadow:0 0 22px #c5e7ad66}.web-map .map-roads path{stroke:#91a99466;stroke-width:2;stroke-dasharray:5 6}.web-map .map-roads .open-road{stroke:#d4dcaa;stroke-width:3;animation:road-flow 3s linear infinite}@keyframes road-flow{to{stroke-dashoffset:-44}}@keyframes map-mist{to{transform:translate(8%);opacity:.4}}@media(prefers-reduced-motion:reduce){.web-map .map-land:after,.web-map .map-roads .open-road{animation:none}}.web-map .graph-node>b{white-space:normal;background:transparent;color:inherit}.web-map .graph-node>small{background:transparent;color:inherit;opacity:.8}.web-map .map-roads .open-road{stroke-dasharray:5 6}@media(max-height:520px){.web-map .graph-node>small{display:none}.web-map .graph-node>b{white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis;line-height:12px}.web-map .graph-node{min-height:44px}}.web-map .graph-node{padding:4px;gap:2px}.web-map .graph-node>span{width:34px;height:34px;font-size:20px}.web-map .graph-node>b,.web-map .graph-node>small{white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}.web-map .graph-node>b{line-height:14px}@media(max-height:520px){.web-map .graph-node{padding:2px;gap:1px}.web-map .graph-node>span{width:25px;height:25px;font-size:14px}.web-map .graph-node>b{line-height:12px}}.web-map .mission-hint{color:#b85132;font-weight:600}.web-map .route-choice{min-width:0}.web-map .route-choice small{line-height:1.35}@media(max-height:460px){.web-map .map-blueprints{display:none}.web-map .mission-hint{font-size:10px}}#stage .main-base .module-readout{pointer-events:auto;touch-action:pan-y;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}#stage .main-base .module-readout>b{grid-column:1/-1}.assembly-reference{grid-column:1/-1;min-width:0;margin:8px 0 0;padding-top:8px;border-top:1px solid #64766038;color:#365548}.assembly-reference figcaption{display:flex;justify-content:space-between;align-items:center;gap:6px;font-size:11px;font-weight:700}.assembly-reference figcaption small{font-size:8px;font-weight:400;opacity:.65}.assembly-reference svg{display:block;width:100%;height:auto;max-height:180px;margin:6px auto;overflow:visible}.assembly-reference svg rect{stroke:#c5cbbb;fill:#e1e3d2;stroke-width:1}.assembly-reference svg text{font:19px Arial,PingFang SC,sans-serif;text-anchor:middle;dominant-baseline:middle;fill:#2e4f45;pointer-events:none}.assembly-reference .reference-unused rect{fill:#e2e3d233;stroke:#bec7b54d}.assembly-reference .reference-steel rect{fill:#97aaae;stroke:#7f9297}.assembly-reference .reference-gun rect{fill:#87a58c;stroke:#62816d}.assembly-reference .reference-support rect{fill:#c4cead;stroke:#9fac89}.assembly-reference .reference-focus rect{fill:#f2d2ac;stroke:#bd603b;stroke-width:2.5}.assembly-reference .reference-focus text{fill:#9e482a}.assembly-reference .reference-target rect{stroke:#4d815c;stroke-width:2}.assembly-reference .reference-chassis rect{fill:#3c5746;stroke:#2b4738}.assembly-reference .reference-chassis text{fill:#f1e4bb}.assembly-reference .reference-empty rect{fill:#f5efdf;stroke:#bc795b;stroke-dasharray:3 2}.assembly-reference .reference-empty text{fill:#ba7456;font-size:15px}.reference-legend{display:flex;gap:4px 9px;flex-wrap:wrap;font-size:9px;line-height:1.35}.reference-legend span{display:inline-flex;align-items:center;gap:3px}.reference-legend i{display:inline-grid;place-items:center;width:10px;height:10px;border-radius:1px;font-style:normal;flex-shrink:0}.key-focus{background:#f2d2ac;border:1.5px solid #bd603b}.key-gun{background:#87a58c;border:1px solid #4d815c}.key-steel{background:#97aaae;border:1px solid #7f9297}.key-empty{border:1px dashed #bc795b;color:#bc795b}#stage .main-base .module-readout .reference-caption{font-size:10px;line-height:1.4;margin:6px 0 2px}.reference-note{display:block;font-size:8px;line-height:1.4;opacity:.7}@media(max-height:460px){.assembly-reference{margin-top:4px;padding-top:5px}.assembly-reference svg{max-height:128px}.assembly-reference figcaption{font-size:10px}.reference-legend{font-size:8px;gap:3px 6px}#stage .main-base .module-readout .reference-caption{font-size:9px}}.base-garage .part-tool{position:relative;gap:3px}.part-role{display:inline-block;align-self:start;width:max-content;max-width:100%;font-size:9px;line-height:1.35;letter-spacing:.04em;font-weight:650;border:1px solid currentColor;border-radius:3px;padding:1px 4px;opacity:.88;white-space:nowrap}.part-role.role-weapon{color:#9d4e2d;background:#e5b37c25}.part-role.role-support{color:#326b61;background:#83b8a520}.part-role.role-structure{color:#54656d;background:#7f929715}.base-garage .part-tool .part-role{grid-column:2;grid-row:2;font-size:8px;margin-top:-2px}.base-garage .part-tool small{grid-column:3;grid-row:1 / 3;align-self:center}.base-garage .part-tool .part-symbol{grid-row:1 / 3}.module-readout .part-role,.catalog-grid .part-role{margin-top:5px}.base-garage .cell.support-active{background:linear-gradient(145deg,#ddedce,#c2d7b3);border-color:#7f9b63;box-shadow:inset 0 0 12px #b8e19b90,0 0 7px #9cbe7240}.base-garage .cell.support-active>span{color:#375b37;text-shadow:0 0 7px #9dd781}.base-garage .cell.support-idle{background:#d8d9ce;border-style:dashed}.base-garage .cell.selected-cell{outline:2px solid #bd7046;outline-offset:1px;z-index:2}.base-garage .cell.disconnected{box-shadow:none;background:#e5c2b6;border-color:#ab4c38}.support-lamp{position:absolute;top:1px;left:3px;font-style:normal;font-size:9px;line-height:1;color:#667261}.support-active .support-lamp{color:#47732d;text-shadow:0 0 5px #c5f28c}.base-garage .cell.aura-link{animation:none;border-color:#b58b4d}.support-legend{color:#526b48;opacity:.8;font-size:10px}.main-base .base-garage .build-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 9px}.build-stats>div{position:relative;border-bottom:1px solid #52624b22;padding-bottom:5px;min-width:0}.build-stats>div>span{display:block;font-size:11px;white-space:normal;line-height:1.3}.build-stats span small{font-size:9px;opacity:.6;white-space:nowrap}.build-stats b{display:inline-block;transform-origin:left center;font-variant-numeric:tabular-nums}.build-stats .stat-delta{position:absolute;right:0;bottom:9px;font-size:12px;font-weight:800;font-style:normal;pointer-events:none;animation:stat-drift 1.8s ease-out both;border-radius:4px;padding:1px 3px;background:#f4f0ddf0;font-variant-numeric:tabular-nums}.stat-up .stat-delta{color:#397553}.stat-down .stat-delta{color:#ad4b31}.stat-up b{animation:stat-gain 1.8s ease-out}.stat-down b{animation:stat-loss 1.8s ease-out}@keyframes stat-drift{0%{opacity:0;transform:translateY(6px) scale(.8)}12%,62%{opacity:1;transform:translateY(-3px) scale(1)}to{opacity:0;transform:translateY(-15px)}}@keyframes stat-gain{0%,45%{color:#397553}to{color:inherit}}@keyframes stat-loss{0%,45%{color:#ad4b31}to{color:inherit}}.main-base button:not(.cell),.station-shop button{transition:background-color .14s,box-shadow .14s,filter .14s}.main-base button:not(.cell):active:not(:disabled),.station-shop button:active:not(:disabled){filter:brightness(.92);box-shadow:inset 0 2px 4px #21352924}.equipment-catalog[open]{animation:catalog-in .22s ease-out}@keyframes catalog-in{0%{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:none}}@media(max-height:520px){.main-base .base-garage .build-stats{gap:2px 7px}.build-stats>div>span{font-size:9px}.main-base .base-garage .build-stats b{font-size:17px}.build-stats .stat-delta{font-size:10px;bottom:7px}.base-garage .part-tool .part-role{font-size:7px;padding:0 3px}.module-readout .part-role{font-size:8px;margin-top:2px}.support-legend{font-size:8px}}@media(prefers-reduced-motion:reduce){.build-stats .stat-delta{animation:stat-still 1.8s linear both}.stat-up b,.stat-down b,.equipment-catalog[open]{animation:none}.main-base button,.station-shop button{transition:none}}@keyframes stat-still{0%,80%{opacity:1}to{opacity:0}}.main-base .base-garage .parts-list .part-tool{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto;height:84px;min-height:84px;gap:2px}.main-base .base-garage .part-tool .part-symbol{grid-column:1 / -1;grid-row:1}.main-base .base-garage .part-tool strong{grid-column:1 / -1;grid-row:2;margin:0}.main-base .base-garage .part-tool .part-role{position:absolute;grid-area:auto;left:auto;right:5px;top:5px;margin:0;font-size:8px;max-width:none}.main-base .base-garage .part-tool small{grid-column:1 / -1;grid-row:3;font-size:9px}.module-readout>.part-role{grid-column:2}@media(max-height:520px){.main-base .base-garage .parts-list .part-tool{height:62px;min-height:62px;padding:4px}.main-base .base-garage .part-tool small{font-size:7px}.main-base .base-garage .part-tool .part-role{font-size:7px;padding:1px 2px;right:3px;top:5px}}#stage .junction-panel{position:absolute;inset:var(--content-top) var(--frame-pad) var(--content-bottom);display:flex;flex-direction:column;gap:clamp(8px,1.2cqw,18px);padding:var(--panel-pad);background:#e8e3cf;color:#2a4238;pointer-events:auto;min-height:0;border-top:3px solid #385746}.junction-panel header{display:flex;align-items:center;justify-content:space-between;gap:15px}.junction-panel h1{font-size:clamp(18px,2.7cqw,36px);margin:5px 0}.junction-wallet{display:grid;grid-template-columns:auto auto;align-items:baseline;gap:3px 8px;text-align:right}.junction-wallet strong{font-size:clamp(22px,3cqw,40px)}.junction-wallet small{grid-column:1/-1;font-size:12px}.junction-summary{display:flex;justify-content:space-between;gap:12px;font-size:clamp(10px,1.2cqw,15px);border-top:1px solid #8e9b824d;padding-top:9px}.junction-options{flex:1;min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(12px,3cqw,40px);padding:0 clamp(0px,4cqw,70px);overflow:auto;touch-action:pan-y}.road-choice{--route:#477668;display:flex;flex-direction:column;align-items:stretch;text-align:left;gap:8px;min-width:0;min-height:230px;border:1px solid #819579;background:#f1ecd9;color:#2b463c;padding:clamp(10px,1.5cqw,22px);box-shadow:0 5px #a5ae94;transition:transform .16s,background .16s;animation:road-in .3s ease-out backwards}.road-choice.risk{--route:#bd633e;animation-delay:.06s}.road-choice:hover:not(:disabled),.road-choice:focus-visible{transform:translateY(-3px);outline:2px solid var(--route);outline-offset:2px}.road-choice:disabled{opacity:.48;filter:grayscale(.6)}.road-index{font-size:10px;font-weight:700;letter-spacing:.1em;color:var(--route)}.road-scene{position:relative;display:block;min-height:48px;flex:1;max-height:160px;overflow:hidden;background:#cbd2ba}.road-scene svg{width:100%;height:100%;position:absolute}.road-land{fill:#9cae9b}.road-track{fill:none;stroke:#778a76;stroke-width:20}.road-dashes{fill:none;stroke:#e8dcc0;stroke-width:2;stroke-dasharray:7 5}.risk .road-scene{background:#d4c5ad}.risk .road-land{fill:#b2a088}.road-scene i{position:absolute;right:14%;top:12%;font-size:clamp(24px,4cqw,50px);font-style:normal;color:var(--route)}.road-choice>strong{font-size:clamp(16px,2.2cqw,27px)}.road-detail{font-size:clamp(11px,1.25cqw,16px);line-height:1.5;min-height:2.6em}.road-price{display:flex;align-items:center;gap:6px;font-size:clamp(20px,2.6cqw,32px);font-weight:800;color:var(--route);border-top:1px solid #899b7855;padding-top:8px}.road-price small{font-size:11px;font-weight:400}.road-price em{margin-left:auto;font-size:clamp(11px,1.25cqw,16px);font-style:normal}.road-cashout{font-size:10px;opacity:.8}.junction-panel footer{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #8c998349;padding-top:8px}.junction-panel footer small{font-size:clamp(9px,1cqw,12px);text-align:center}.junction-panel footer button{padding:8px 12px;min-height:40px;background:#d2d7bf;flex-shrink:0}#junction-refresh{background:#375a49;color:#fff1ce}.chosen{background:#d4e3c4}@keyframes road-in{0%{opacity:0;transform:translateY(14px)}}@media(max-height:460px){.junction-panel header .eyebrow{display:none}.junction-panel h1{margin:0;font-size:18px}.junction-wallet strong{font-size:21px}.junction-options{padding:0 5px;gap:12px}.road-choice{min-height:150px;gap:4px;padding:9px}.road-scene{min-height:25px;max-height:40px}.road-detail{min-height:2.2em;font-size:11px;line-height:1.2}.road-price{padding-top:4px;font-size:22px}.road-cashout{font-size:9px}.junction-panel footer{padding-top:4px}.junction-panel footer button{min-height:36px}.junction-summary{padding-top:4px}}@media(prefers-reduced-motion:reduce){.road-choice{animation:none;transition:none}}:root{font-family:Arial,PingFang SC,Microsoft YaHei,sans-serif;color:#283b33;background:#222c28;font-synthesis:none;font-weight:400}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;border:0;touch-action:manipulation}button:focus-visible,a:focus-visible{outline:3px solid #cc512d;outline-offset:3px}button:hover{filter:brightness(1.06)}button:active{transform:translateY(1px)}[hidden]{display:none!important}#app{height:100dvh;display:grid;place-items:center}#stage{position:relative;width:min(100vw,177.7778dvh);aspect-ratio:16/9;overflow:hidden;container-type:inline-size;background:#d9c8a5}#world{display:block;width:100%;height:100%}.grain{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#e4d6b611,transparent 55%,#24342b22)}.mast{position:absolute;left:3.5%;right:3.5%;top:4%;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:clamp(10px,.9cqw,13px);letter-spacing:.1em}.wordmark{color:inherit;text-decoration:none;font-weight:800;display:flex;gap:9px;align-items:center}.brand-icon{background:#293d33;color:#f0e7cc;font-size:1.9cqw;line-height:1.1;padding:0 4px}.chapter{font-size:clamp(10px,.85cqw,12px);letter-spacing:.16em}.tools{display:flex;gap:6px}.tools button{background:#efe5cdad;border:1px solid #283b3340;min-height:36px;padding:0 12px;font-size:clamp(10px,.9cqw,13px)}#ui{position:absolute;inset:0;pointer-events:none}#ui button,#ui a,.panel,#ui .pause-cover{pointer-events:auto}.intro{position:absolute;left:5%;top:16%}.eyebrow{font-size:clamp(9px,.82cqw,12px);font-weight:700;letter-spacing:.14em}.intro h1{font-size:7.3cqw;line-height:1.04;letter-spacing:-.065em;margin:1.5cqw 0 1cqw;font-weight:900}.intro h1 em,.outcome-title em{font-style:normal;color:#b84b2c}.title-dot{color:#b84b2c}.intro p{font-size:clamp(11px,1.13cqw,17px);line-height:1.8;margin:0;color:#586151}.panel{background:#f3eddacc;border:1px solid #f7f2e7;border-radius:3px;box-shadow:0 16px 60px #263f2d12;padding:2.1cqw;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px)}.menu-panel{position:absolute;right:4%;top:14%;width:39%;max-height:78%;overflow:auto}.panel-top{display:flex;align-items:center;justify-content:space-between;gap:5px}.tag{font-size:clamp(9px,.8cqw,12px);border:1px solid #ad563b;padding:4px 7px;color:#ad563b;white-space:nowrap}.tag.success{color:#32634c;border-color:#32634c}.panel h2{font-size:2.1cqw;letter-spacing:-.045em;margin:1.2cqw 0}.presets{display:flex;flex-direction:column;gap:.55cqw}.preset{background:#e4dfcc80;border:1px solid #64715a33;display:flex;align-items:center;text-align:left;padding:.85cqw 1cqw;gap:1cqw;min-height:46px}.preset.selected{border-color:#314c3b;background:#314c3b;color:#f3e8cb}.index{font:italic 1.4cqw Georgia,serif;opacity:.5}.preset strong{display:block;font-size:clamp(11px,1.18cqw,17px)}.preset small{display:block;font-size:clamp(9px,.82cqw,12px);margin-top:4px;opacity:.7}.arrow{margin-left:auto;font-size:1.7cqw}.specs{display:grid;grid-template-columns:repeat(3,1fr);margin:1.3cqw 0;gap:8px}.specs>div{border-right:1px solid #283b3326}.specs>div:last-child{border:0}.specs span{font-size:clamp(9px,.82cqw,12px);display:block;color:#66705c}.specs b{display:block;font-size:2cqw;margin-top:4px;font-weight:500}.duration{display:flex;align-items:center;gap:5px;font-size:clamp(10px,.83cqw,12px);margin-bottom:1cqw}.duration>span{margin-right:auto}.duration button{padding:8px;background:transparent;border-bottom:2px solid transparent;min-height:36px}.duration button[aria-pressed=true]{border-color:#b75432;color:#ab4728}.primary{width:100%;display:flex;align-items:center;justify-content:space-between;background:#be512e;color:#fff4dc;padding:1.2cqw;font-weight:700;font-size:clamp(12px,1.15cqw,17px);min-height:44px}.primary span{font-weight:400}.panel-note{text-align:center;font-size:clamp(9px,.8cqw,12px);color:#737663;margin:.8cqw 0}.record{border-top:1px solid #283b3320;padding-top:.8cqw;display:flex;justify-content:space-between;font-size:clamp(9px,.8cqw,12px);color:#747760}.record b{color:#3c5141}.road-rule{position:absolute;left:5%;bottom:11%;display:flex;align-items:center;gap:1cqw;max-width:45%;color:#eee3c4;text-shadow:0 1px 4px #223b36}.rule-number{font:italic 3.2cqw Georgia;border:1px solid #eee3c480;width:4cqw;height:4cqw;display:grid;place-items:center}.road-rule p{font-size:clamp(10px,.94cqw,14px);line-height:1.8;margin:0}.edition{position:absolute;bottom:3%;left:3.5%;right:3.5%;display:flex;justify-content:space-between;font-size:clamp(9px,.8cqw,12px);letter-spacing:.08em;color:#f0e4c5a6;pointer-events:none}.edition i{font-size:6px;color:#c7ad6c;margin:0 8px}.battle-hud{position:absolute;left:4%;right:4%;top:14%;display:flex;align-items:flex-start;gap:5%}.health-block{width:23%}.hp-title{display:flex;align-items:baseline;gap:8px;margin:5px 0}.hp-title strong{font-size:3.4cqw;font-weight:600}.hp-title>span{font-size:clamp(10px,1cqw,15px)}.meter{height:.55cqw;min-height:5px;background:#30413230;overflow:hidden}.meter i{height:100%;display:block;background:#435f48;transition:width .12s}.route{margin-top:.6cqw;width:40%;font-size:clamp(10px,.9cqw,13px)}.route>div:first-child{display:flex;justify-content:space-between}.route-line{position:relative;height:2px;background:#30413230;margin-top:1.1cqw}.route-line i{display:block;background:#b35130;height:3px}.route-line>span{position:absolute;right:-5px;top:-6px;color:#b35130}#boss-hud{position:absolute;right:4%;top:32%;width:42%;padding:1.1cqw 1.3cqw;background:#2c3c32e8;color:#f3e5c7;border-left:3px solid #c15d3b}#boss-hud>div:first-child{display:flex;align-items:center;justify-content:space-between;margin-bottom:.8cqw}#boss-hud strong{font-size:1.6cqw}#boss-hud .meter{background:#ffffff20}#boss-fill{background:#e38a50}#boss-hud p{font-size:clamp(10px,1cqw,14px);margin:.8cqw 0 0}#boss-hud.vulnerable{border-color:#a9be80}#boss-hud.vulnerable #boss-fill{background:#a9be80}.drive-label{position:absolute;bottom:12%;left:5%;color:#eee5ca;font-size:clamp(12px,1.3cqw,18px);background:#2d4035cc;padding:1cqw 1.3cqw}.drive-label small{display:block;font-size:clamp(10px,.9cqw,13px);margin:.4cqw 0 0 16px;opacity:.7}.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#d8c88b;margin-right:8px}.impact-hint{position:absolute;right:5%;bottom:10%;color:#eee5ca;text-align:right;font-size:clamp(11px,1.15cqw,16px)}.impact-hint b{font-size:2cqw}.impact-hint p{font-size:clamp(10px,.95cqw,14px);line-height:1.6;opacity:.7;margin:.4cqw 0}.outcome-title{position:absolute;left:5%;top:20%;width:49%}.outcome-title h1{font-size:4.5cqw;letter-spacing:-.07em;line-height:1.23;margin:1.5cqw 0}.outcome-title p{font-size:clamp(11px,1.15cqw,16px);color:#53634f}.result-panel{position:absolute;right:4%;top:14%;width:39%;max-height:78%;overflow:auto}.equation{margin:1.1cqw 0}.equation>div{display:flex;justify-content:space-between;padding:.5cqw 0;font-size:clamp(11px,1cqw,15px)}.equation b{font-variant-numeric:tabular-nums;font-size:1.4cqw;font-weight:500}.equation .equation-total{border-top:1px solid #324c3d50;margin-top:.5cqw;padding-top:.8cqw;align-items:center}.equation-total b{font-size:2.7cqw;color:#b64c2d}.explanation{font-size:clamp(11px,1.05cqw,15px);line-height:1.7;margin:.8cqw 0}.explanation strong{display:block;color:#b64c2d}.result-stats{display:flex;justify-content:space-between;border-top:1px solid #324c3d30;padding:.8cqw 0;font-size:clamp(9px,.77cqw,12px)}.result-stats b{display:block;margin-top:4px}.salvage{padding:.8cqw 0;margin-bottom:.7cqw;font-size:clamp(11px,1.1cqw,16px)}.salvage b{color:#b64c2d;margin-left:8px}.salvage small{display:block;font-size:clamp(9px,.8cqw,12px);color:#6b755e;margin-top:5px}.secondary{width:100%;min-height:38px;font-size:clamp(11px,1cqw,14px);border:1px solid #31473640;background:transparent;margin-top:.6cqw;padding:8px}.pause-cover{position:absolute;inset:0;background:#20312770;display:grid;place-items:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.pause-cover .panel{width:37%;background:#eee6cf}.pause-cover p{font-size:clamp(11px,1cqw,14px);margin:1.5cqw 0}.pause-cover small{display:block;font-size:10px;color:#737663;text-align:center;margin-top:10px}#toast{position:absolute;bottom:25%;left:50%;transform:translate(-50%,10px);background:#263c32ed;color:#fff0cf;padding:12px 20px;font-size:clamp(11px,1.1cqw,16px);pointer-events:none;opacity:0;transition:.18s;white-space:nowrap;border-left:3px solid #ec9156}#toast.show{opacity:1;transform:translate(-50%)}#save-note{position:absolute;bottom:6%;left:4%;color:#ffdda7;font-size:11px;background:#273b30b0;max-width:90%}#save-note:empty{display:none}#portrait{display:none}.fatal{position:absolute;inset:0;display:grid;place-content:center;text-align:center;background:#e7dbc3;pointer-events:auto}.fatal button{padding:14px;background:#ba5836;color:#fff}@media(max-height:520px)and (orientation:landscape){.mast{top:2%}.tools button{min-height:32px}.menu-panel,.result-panel{top:12%;max-height:82%;padding:1.25cqw}.panel h2{margin:.65cqw 0;font-size:2cqw}.preset{padding:.4cqw .7cqw;min-height:40px}.preset small{margin-top:2px}.specs{margin:.6cqw 0}.specs b{margin-top:2px}.duration{margin-bottom:.5cqw}.duration button{min-height:30px;padding:5px}.panel-note{margin:.5cqw 0}.record{padding-top:.4cqw}.panel-top .eyebrow{letter-spacing:.04em}.tag{padding:2px 4px}.primary{padding:.8cqw}.intro{top:14%}.intro h1{font-size:6.5cqw}.road-rule{bottom:10%;max-width:44%}.equation>div{padding:.3cqw 0}.explanation{margin:.5cqw 0}.salvage{padding:.4cqw 0}.result-stats{padding:.5cqw 0}.secondary{min-height:32px;padding:5px}.edition{bottom:2%}.chapter{display:none}}@media(orientation:portrait){#stage{width:100vw;height:100dvh;aspect-ratio:auto}#portrait{display:flex;position:absolute;inset:0;z-index:10;background:#e6dcc3;flex-direction:column;align-items:center;justify-content:center;text-align:center}#portrait>span{font-size:74px;color:#b45130}#portrait h2{font-size:26px}#portrait p{line-height:1.8;color:#5d6956}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}.build-grid{position:relative}.structure-wires{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:hidden;z-index:3}.structure-wires line{stroke:#cf7139;stroke-width:2;vector-effect:non-scaling-stroke;stroke-dasharray:5 3;animation:wire-flow 1.2s linear infinite}.structure-wires .link-ring{stroke:#d3a126}.structure-wires .link-rail{stroke:#6495d6}.structure-wires .link-bus{stroke:#2b9e9b}.structure-wires .link-split{stroke:#ab60bb}.structure-wires .link-coordinate{stroke:#78b9a9}@keyframes wire-flow{to{stroke-dashoffset:-16}}.new-mark{font-size:9px;line-height:1.4;font-style:normal;font-weight:800;background:#b9512a;color:#fff8dc;padding:2px 4px;border-radius:3px;white-space:nowrap}.equipment-catalog{width:min(1040px,94vw);max-height:88dvh;padding:20px;background:#e9e5d5;color:#293c34;border:2px solid #536351;border-radius:12px;box-shadow:0 20px 80px #0007}.equipment-catalog::backdrop{background:#182620bb;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.equipment-catalog>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.equipment-catalog h2{margin:3px 0}.catalog-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(225px,1fr));gap:10px}.catalog-grid article{background:#f5f0e2;border:1px solid #bbc1af;padding:14px;border-radius:8px}.catalog-grid article.locked{background:#d9ddcf}.catalog-symbol{display:block;font-size:32px;line-height:1.3}.catalog-grid p{font-size:12px;line-height:1.7;min-height:42px}.catalog-grid footer{display:flex;align-items:center;justify-content:space-between;gap:6px}.catalog-grid small{font-size:11px}.catalog-grid button{padding:7px 12px}.module-readout b{display:block;line-height:1.6;font-size:12px}.fleet-header{flex-wrap:wrap}@media(prefers-reduced-motion:reduce){.structure-wires line{animation:none}}@media(min-height:521px){.menu-panel{padding:1.6cqw;max-height:80%}.menu-panel h2{margin:1cqw 0}.preset{padding:.65cqw 1cqw}}.impact-hint{background:#293f33c9;padding:.7cqw 1cqw}.impact-hint p{opacity:.9}@media(max-height:520px)and (orientation:landscape){.menu-panel{top:11%;max-height:83%}.menu-panel .panel-note{display:none}.menu-panel .record{margin-top:6px}.menu-panel .specs{margin:.4cqw 0}}.garage{position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#e6ddc9ee,#e6ddc9d9 71%,#e6ddc940 71%)}.garage button,.garage input,.garage select,.grid-scroll{pointer-events:auto}.garage-heading{position:absolute;top:11%;left:3.5%;right:3.5%;display:flex;align-items:center;gap:2cqw}.garage-heading h1{font-size:2.6cqw;letter-spacing:-.06em;margin:.35cqw 0}.garage-heading h1 span{font-size:1.3cqw;color:#a66642;margin-left:1cqw}.garage-heading p{font-size:clamp(10px,.92cqw,14px);line-height:1.5;opacity:.7;margin:0}.budget{margin-left:auto;display:flex;align-items:center;gap:1cqw}.budget>b{font-size:3cqw}.budget small{font-size:1.4cqw;font-weight:400}.budget>span{font-size:clamp(10px,.9cqw,14px)}.parts-panel{position:absolute;left:3.5%;top:25%;width:19%}.parts-list{display:grid;grid-template-columns:1fr 1fr;gap:.5cqw;margin-top:.6cqw}.part-tool{min-height:76px;height:8.1cqw;background:#f4efde;border:1px solid #67775d40;text-align:left;padding:.7cqw;position:relative;touch-action:none}.part-tool.chosen{outline:2px solid #395a42;outline-offset:-2px;background:#dce3ca}.part-symbol{display:block;color:var(--part-color);font-size:2.5cqw;line-height:1}.part-tool strong{display:block;font-size:clamp(11px,.96cqw,15px);margin:.25cqw 0}.part-tool small{font-size:clamp(9px,.7cqw,11px);display:block;line-height:1.35;color:#67725a}.tool-help{font-size:clamp(10px,.83cqw,13px);line-height:1.6;margin:.8cqw 0}.blueprint{position:absolute;top:24%;left:25%;width:44%}.grid-toolbar{display:flex;align-items:center;justify-content:space-between;font-size:clamp(11px,1cqw,15px);margin-bottom:.45cqw;min-height:30px}.grid-toolbar button{background:#314b3b;color:#f0e7ca;min-height:32px;padding:4px 10px;font-size:clamp(10px,.8cqw,12px)}.grid-scroll{width:100%;height:26.4cqw;overflow:auto;overscroll-behavior:contain;border:1px solid #60725c60;background:#bac7af80}.build-grid{display:grid;grid-template-columns:repeat(10,1fr);grid-template-rows:repeat(6,1fr);width:100%;height:100%;gap:2px;padding:2px}.cell{min-width:0;min-height:0;aspect-ratio:1;background:#eff0dd77;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:0;color:#2f4938;touch-action:none;border:1px solid #73856a30}.cell>span{font-size:1.9cqw;line-height:1}.cell small{font-size:clamp(8px,.68cqw,10px);margin-top:1px}.cell.occupied{background:var(--part-color);color:#142d23;border-color:#ffffff40}.cell.core{background:repeating-linear-gradient(135deg,#3d5241,#3d5241 6px,#4d6049 6px 10px);color:#f3e9c9}.cell.core span{font-size:clamp(9px,.75cqw,12px)}.cell.selected-cell{outline:3px solid #192c23;outline-offset:-3px}.cell.disconnected{outline:3px dashed #ba452d;outline-offset:-3px}.cell.drop-target{outline:3px solid #fcf4cd;outline-offset:-3px;filter:brightness(1.25)}.edit-actions{display:flex;gap:.4cqw;margin-top:.6cqw}.edit-actions button{flex:1;min-height:36px;padding:4px;background:#e9e5d3;border:1px solid #65755b60;font-size:clamp(10px,.85cqw,13px)}button[aria-pressed=true][data-action=move]{background:#b45935;color:#fff1d2}button:disabled{opacity:.35;cursor:not-allowed;filter:none}.structure-message{font-size:clamp(10px,.92cqw,14px);color:#346744;line-height:1.5;margin:.6cqw 0 0;min-height:16px}.invalid{color:#ad4629!important}.grid-note{font-size:clamp(9px,.72cqw,11px);line-height:1.4;color:#6a765e;margin:.4cqw 0}.build-inspector{position:absolute;top:25%;right:3.5%;width:24%}.build-inspector label{display:block;font-size:clamp(10px,.85cqw,13px);margin:.7cqw 0 .3cqw}.build-inspector input{width:100%;height:32px;background:#f0e9d490;border:1px solid #4f695542;padding:5px 8px;color:#2a4938;font:inherit;font-size:clamp(12px,1.1cqw,16px)}.build-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:.7cqw;margin:1cqw 0 .6cqw}.build-stats span{display:block;font-size:clamp(10px,.82cqw,12px);color:#5e7158}.build-stats b{display:block;font-size:2.2cqw;font-weight:500}.build-inspector>small{font-size:clamp(8px,.7cqw,11px);color:#65735d}.model-label{font-size:clamp(10px,.85cqw,13px);margin-top:1cqw}.model-label small{font-size:clamp(9px,.72cqw,11px);line-height:1.6;opacity:.7}.garage-bottom{position:absolute;left:3.5%;right:3.5%;bottom:6.5%;border-top:1px solid #46613c50;padding-top:.8cqw;display:flex;gap:1.3cqw;align-items:end}.blueprint-presets{display:flex;align-items:end;gap:.5cqw;flex:1}.blueprint-presets label{font-size:clamp(9px,.8cqw,12px);display:block;min-width:0;width:35%}.garage select{display:block;width:100%;min-height:38px;margin-top:4px;border:1px solid #4f695560;background:#efe9d7;color:#314f3b;font:inherit;font-size:clamp(10px,.9cqw,13px);padding:3px 6px}.blueprint-presets button{background:#dbddc6;min-height:38px;padding:4px .8cqw;font-size:clamp(10px,.85cqw,13px);white-space:nowrap;border:1px solid #52674860}.garage-launch{display:flex;align-items:center;gap:.6cqw;width:36%}.garage-launch select{width:40%;margin:0}.garage-launch .primary{flex:1;white-space:nowrap}.garage-wallet{position:absolute;bottom:-17px;left:0;font-size:9px;color:#516646}.zoomed .build-grid{width:660px;height:396px}.zoomed .grid-scroll,.zoomed .cell{touch-action:pan-x pan-y}.zoomed .cell>span{font-size:25px}.zoomed .cell small{font-size:11px}.weapons-controls{position:absolute;right:4%;bottom:9%;display:flex;gap:12px;pointer-events:auto}.weapon-button{position:relative;min-width:112px;min-height:72px;padding:9px 15px;background:#30483dec;border:2px solid #e5c391;color:#f9ebcb;text-align:left;touch-action:none;user-select:none;-webkit-user-select:none;overflow:hidden}.weapon-button:after{content:"";position:absolute;left:0;bottom:0;height:4px;width:var(--ready,100%);background:#e49c55;transition:width .1s}.weapon-button.held{background:#ba5731;box-shadow:0 0 0 3px #f1d89460}.weapon-button:disabled{opacity:.6;background:#49594e;border-color:#7c8974}.weapon-button strong{display:block;font-size:clamp(13px,1.2cqw,18px)}.weapon-button small{display:block;font-size:clamp(10px,.82cqw,12px);margin-top:5px}.weapon-tip{position:absolute;right:4%;bottom:6%;font-size:clamp(9px,.75cqw,12px);color:#f1e3c5}.battle-hud~.impact-hint{display:none}.garage #toast{bottom:20%}@media(max-height:520px)and (orientation:landscape){.garage-heading{top:11%;gap:12px}.garage-heading .eyebrow{display:none}.garage-heading h1{font-size:2.4cqw}.garage-heading p{font-size:9px}.garage-heading .budget>b{font-size:2.5cqw}.parts-panel,.build-inspector{top:23%}.blueprint{top:21%;width:44%}.part-tool{min-height:59px;height:8.3cqw;padding:4px}.part-symbol{font-size:17px}.part-tool strong{font-size:10px;margin:2px 0}.part-tool small{font-size:8px}.parts-panel>.eyebrow{font-size:8px;letter-spacing:0}.parts-list{gap:4px}.tool-help{font-size:9px;margin:4px 0}.grid-toolbar{font-size:10px;min-height:26px;margin-bottom:3px}.grid-toolbar button{min-height:28px;font-size:9px;padding:4px}.grid-scroll{height:26.4cqw;max-height:44dvh}.edit-actions{margin-top:3px;gap:3px}.edit-actions button{min-height:30px;font-size:9px}.structure-message{font-size:9px;margin-top:3px}.grid-note{font-size:8px;margin-top:2px}.garage-bottom{bottom:7%;padding-top:5px;gap:8px}.garage select{min-height:32px;font-size:10px}.blueprint-presets button{min-height:32px;padding:4px;font-size:10px}.garage-launch{width:36%}.garage-launch .primary{min-height:40px;padding:6px;font-size:11px}.garage-wallet{bottom:-12px;font-size:8px}.build-inspector input{height:28px;font-size:12px;padding:3px}.build-inspector>.eyebrow{font-size:8px;letter-spacing:0}.build-inspector label{margin:5px 0 3px}.build-stats{margin:5px 0;gap:3px}.build-stats span{font-size:9px}.build-stats b{font-size:17px}.build-inspector>small{font-size:8px}.model-label{font-size:9px;margin-top:4px}.model-label small{font-size:8px}.weapon-button{min-width:106px;min-height:60px;padding:7px 10px}.weapons-controls{gap:12px;bottom:9%}.weapon-button strong{font-size:13px}.weapon-button small{font-size:10px}.weapon-tip{font-size:8px}.drive-label{font-size:11px;max-width:40%}.drive-label small{font-size:9px}.zoomed .build-grid{height:336px;width:560px}.zoomed .grid-scroll{height:26.4cqw}}.mast,.edition{z-index:2}.blueprint{top:22%}.grid-scroll{height:24cqw}.cell{aspect-ratio:auto}@media(max-height:520px)and (orientation:landscape){.blueprint{top:20%}.grid-scroll{height:21cqw}.grid-note{display:none}.garage-bottom{bottom:6%;align-items:center}.blueprint-presets label{font-size:0}.blueprint-presets select{margin:0}.garage-wallet{bottom:-12px}.zoomed .grid-scroll{height:21cqw}}.part-brief{display:none!important}.garage.zoomed:after{content:"";position:absolute;inset:0;background:#223a2c99;z-index:2;pointer-events:auto}.zoomed .blueprint{z-index:3;left:16%;top:12%;width:68%;padding:12px;background:#e8e2cf;box-shadow:0 12px 60px #142a2540}.zoomed .grid-scroll{height:min(48dvh,396px)}.zoomed .build-grid{width:max(100%,660px);height:auto;aspect-ratio:10/6}.zoomed .grid-toolbar button{min-height:40px}.zoomed .grid-note{display:block}@media(max-height:520px)and (orientation:landscape){.part-detail{display:none!important}.part-brief{display:block!important}.part-tool small{white-space:nowrap;font-size:8px}.tool-help{display:none}.zoomed .blueprint{left:6%;width:88%;top:12%;padding:9px}.zoomed .grid-scroll{height:45dvh}.zoomed .build-grid{width:max(100%,560px);height:auto;aspect-ratio:10/6}.zoomed .edit-actions button{min-height:34px}.zoomed .grid-toolbar button{min-height:36px}.zoomed .structure-message{min-height:12px}.zoomed .grid-note{display:none}.zoomed .cell small{font-size:11px}}@media(max-height:520px)and (orientation:landscape){.model-label{display:none}.build-stats span{font-size:10px}.part-tool strong{font-size:11px}}.parts-list .part-tool:last-child{grid-column:1 / -1;height:4.2cqw;min-height:54px}.parts-list .part-tool:last-child .part-symbol{float:left;margin-right:8px}.parts-list .part-tool:last-child strong{margin-top:0}@media(max-height:520px)and (orientation:landscape){.part-tool{height:54px;min-height:54px}.parts-list .part-tool:last-child{height:40px;min-height:40px}.parts-list .part-tool:last-child .part-symbol{margin-top:6px}.weapon-button{min-width:100px;padding:7px 8px}.weapons-controls{gap:8px}}.fire-saturation{display:block;color:#a44828;font-weight:700;margin:6px 0}.build-inspector>small{line-height:1.6}.parts-panel,.parts-list,.build-inspector,.equipment-catalog,.catalog-grid{pointer-events:auto;touch-action:pan-y;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.parts-list .part-tool{touch-action:pan-y}.parts-list .part-tool:last-child{grid-column:auto;height:auto;min-height:58px}.parts-list .part-tool:last-child .part-symbol{float:none;margin:0}.base-garage .grid-scroll{touch-action:none;overflow:auto;overscroll-behavior:contain;cursor:grab;max-height:none}.base-garage .grid-scroll:active{cursor:grabbing}.base-garage .build-grid{aspect-ratio:auto;max-width:none;max-height:none;gap:1px}.base-garage .cell{touch-action:none}.base-garage .cell>span{font-size:clamp(10px,calc(var(--cell-size)*.38),26px)}.base-garage .cell small{font-size:clamp(6px,calc(var(--cell-size)*.19),11px)}.budget-reminder{display:block;color:#8e643e;font-size:11px;margin-top:3px;line-height:1.4}.equipment-catalog{touch-action:pan-y}.equipment-catalog p,.equipment-catalog article{pointer-events:auto}.base-garage .parts-panel{width:17%}.base-garage .blueprint{left:19%;width:57%}.base-garage .build-inspector{width:21%;right:1%}@media(max-height:520px){.budget-reminder{font-size:9px}.base-garage .blueprint{left:18%;width:60%}.base-garage .parts-panel{width:16%}.base-garage .build-inspector{width:20%;right:0}.grid-pan button{min-width:32px}.base-garage .grid-scroll{height:39dvh}}.main-base .base-garage .parts-panel{width:17%;left:1%}.main-base .base-garage .blueprint{left:19%;width:57%}.main-base .base-garage .build-inspector{right:1%;width:21%}.main-base .base-garage .grid-scroll{height:clamp(140px,31cqw,56dvh)}@media(max-height:520px){.main-base .base-garage .grid-scroll{height:39dvh}.main-base .base-garage .parts-panel{width:16%;left:0}.main-base .base-garage .blueprint{left:17%;width:61%}.main-base .base-garage .build-inspector{right:0;width:20%}}.equipment-catalog>header{position:sticky;top:-20px;z-index:2;background:#e9e5d5;padding:10px 0;margin-top:-10px;border-bottom:1px solid #85927b}#speed{font-variant-numeric:tabular-nums;min-width:72px;color:#8b371c;border-color:#b87d53}.route-note{font-size:11px;line-height:1.5;color:#667260;text-align:center;white-space:nowrap}#aim-wheels{position:absolute;inset:0;pointer-events:none;z-index:15}.aim-wheel{position:absolute;width:108px;height:108px;margin:-54px;border:2px solid #b45e32;border-radius:50%;background:radial-gradient(circle,#fff1d433 0 30%,#efce9355 31% 100%);box-shadow:0 0 0 8px #efe3c422}.aim-wheel:after,.aim-wheel:before{content:"";position:absolute;background:#af754466}.aim-wheel:after{left:50%;top:0;width:1px;height:100%}.aim-wheel:before{top:50%;left:0;height:1px;width:100%}.aim-wheel>span{position:absolute;bottom:calc(100% + 10px);left:50%;transform:translate(-50%);white-space:nowrap;background:#f5e6cbed;padding:5px 9px;color:#883b23;font-size:12px;border-radius:4px}.aim-wheel>i{position:absolute;left:50%;top:50%;width:44px;height:2px;transform-origin:left center;background:#b54b24;z-index:1}.aim-wheel b{position:absolute;right:-6px;top:-6px;width:14px;height:14px;background:#e88539;border:2px solid #fff0d2;border-radius:50%}#air-alert{position:absolute;top:36%;left:4%;font-size:14px;font-weight:750;padding:8px 12px;color:#8e291d;background:#fbe2bce8;border-left:3px solid #b74326;pointer-events:none}#air-alert[hidden]{display:none}#shot-feedback{position:absolute;right:5%;bottom:29%;font-size:13px;color:#316e4d;pointer-events:none;font-weight:700;background:#f4e7cdba;padding:2px 7px;border-radius:3px}#shot-feedback:empty{display:none}#shot-feedback.miss{color:#a34329}@media(max-height:520px){.mast .chapter{display:none}.tools{gap:5px}.tools button{padding:7px 9px;min-height:36px}.aim-wheel{width:92px;height:92px;margin:-46px}.aim-wheel>i{width:37px}.weapon-tip,.route-note{font-size:9px}#air-alert{font-size:11px;padding:5px 8px;top:35%}#shot-feedback{font-size:11px;bottom:30%}}#crosshair{position:absolute;z-index:14;pointer-events:none;width:26px;height:26px;margin:-13px;border:1.5px solid #fff2d3;border-radius:50%;box-shadow:0 0 0 1px #8d4129,0 0 10px #282e2540}#crosshair[hidden]{display:none}#crosshair:before,#crosshair:after{content:"";position:absolute;background:#8d4129;border:1px solid #fff2d3}#crosshair:before{left:10px;top:-8px;width:3px;height:38px}#crosshair:after{left:-8px;top:10px;width:38px;height:3px}#crosshair i{position:absolute;z-index:1;left:9px;top:9px;width:5px;height:5px;background:#fff1bd;box-shadow:0 0 0 1px #9d4323;border-radius:50%}#stage.mouse-aiming,#stage.mouse-aiming #world,#stage.mouse-aiming #ui{cursor:none}#stage.mouse-aiming button,#stage.mouse-aiming a,#stage.mouse-aiming input,#stage.mouse-aiming select{cursor:auto}.weapons-controls[hidden],.weapon-tip[hidden]{display:none}.weapon-slots{display:flex;gap:4px;justify-content:center;width:100%;margin-top:5px;pointer-events:none}.weapon-slots i{display:block;flex:1;max-width:18px;height:4px;background:linear-gradient(to right,#e5a268 var(--loaded),#718073 var(--loaded));border-radius:1px}.weapon-slots i.loaded{background:#e2efbc}.weapon-slots i.next{outline:1px solid #fff3cf;outline-offset:1px}#stage{width:100vw;height:100dvh;aspect-ratio:auto}#scrap-counter{color:#ffe5a4;background:#364a3ed9;padding:5px 9px;border-left:2px solid #dfb25d;display:inline-block;font-weight:700;transform-origin:left center}.battle-hud{top:12%;left:3.5%;right:3.5%}.battle-hud .health-block{width:19%}.battle-hud .route{width:44%;margin-left:3%;margin-top:0}.route-line{height:3px}.hp-title{margin:0 0 5px}.hp-title strong{font-size:30px}#boss-hud{top:24%;right:3.5%;width:36%;padding:12px 17px;background:#243b32ed}#boss-hud p{margin:7px 0 0;font-size:12px}#combo{left:3.5%;bottom:20%;font-style:italic;border:0;background:linear-gradient(90deg,#304d3aef,#304d3a00);font-size:26px;padding:10px 22px 10px 0;text-shadow:0 2px #333b34;transition:color .15s}#combo[data-tier="1"]{color:#ffe596}#combo[data-tier="2"]{color:#ffc372}#combo[data-tier="3"]{color:#ff956c}.combat-number{font-size:23px;text-shadow:0 2px 0 #473a22,0 0 10px #ffc94e80;will-change:transform,opacity}.weapon-button{box-shadow:0 5px #4b3a28,0 9px 18px #17272145;transition:filter .12s,box-shadow .12s}.weapon-button.held{box-shadow:0 2px #4b3a28,0 0 20px #edba634d}.weapon-slots i.loaded{box-shadow:0 0 7px #ffe79480}.primary{box-shadow:inset 0 1px #fff5bf40,0 4px #763e2b;transition:filter .12s,box-shadow .12s}.primary:active{box-shadow:inset 0 1px #fff5bf40,0 1px #763e2b}.base-garage .part-tool{transition:filter .12s,box-shadow .12s}.base-garage .part-tool.chosen{box-shadow:inset 0 0 0 2px #b16b3d,0 0 12px #d6af633b}.cell.selected-cell{animation:module-select .22s ease-out}.route-node.selected>span{animation:route-select .28s cubic-bezier(.15,.9,.3,1.3)}.run-card{box-shadow:0 4px #5a68592b;transition:transform .15s,box-shadow .15s}.run-card:hover{box-shadow:0 7px 18px #354d3c28}.run-card.legendary{box-shadow:0 0 24px #edb85855}.unlock-reveal{animation-duration:.7s}.chapter-clear h1{animation:clear-title .55s cubic-bezier(.1,.9,.3,1.2) both}#scene-transition{overflow:hidden;background:linear-gradient(120deg,#223b33,#344c3f)}#scene-transition:before,#scene-transition:after{content:"";position:absolute;left:-30%;width:160%;height:4px;background:linear-gradient(90deg,transparent,#ead0908c,transparent);transform:rotate(-15deg);animation:transit-lines .7s linear infinite;pointer-events:none}#scene-transition:before{top:28%}#scene-transition:after{bottom:25%;animation-delay:-.3s;height:2px}.transition-icon{animation:transit-icon .55s ease-out both}#scene-transition b{position:relative;z-index:1}@keyframes module-select{0%{filter:brightness(1.6)}to{filter:brightness(1)}}@keyframes route-select{0%{transform:rotate(-15deg) scale(.8)}to{transform:rotate(0) scale(1.06)}}@keyframes clear-title{0%{opacity:0;transform:translate(-25px)}to{opacity:1;transform:none}}@keyframes transit-lines{0%{translate:-35% 0}to{translate:35% 0}}@keyframes transit-icon{0%{opacity:0;translate:-45px 0}to{opacity:1;translate:0 0}}@media(max-height:520px){.battle-hud{top:13%}.hp-title strong{font-size:24px}.hp-title>span{font-size:10px}#scrap-counter{padding:3px 6px;font-size:10px}#boss-hud{top:23%;width:36%;padding:8px 10px}#boss-hud p{font-size:9px;margin-top:4px}#combo{font-size:19px;bottom:20%;padding:5px 17px 5px 0}.combat-number{font-size:17px}.weapons-controls{bottom:9%}.edition{bottom:2%}}@media(prefers-reduced-motion:reduce){.cell.selected-cell,.route-node.selected>span,.chapter-clear h1,#scene-transition:before,#scene-transition:after,.transition-icon{animation:none}.weapon-button,.primary,.part-tool,.run-card{transition:none}}#formation-banner{position:absolute;top:20%;right:5%;color:#ffe4aa;background:linear-gradient(90deg,transparent,#304236c9);border-right:3px solid #d59b59;padding:8px 15px;font-size:14px;font-weight:700;letter-spacing:.15em;opacity:0;pointer-events:none}@media(max-height:520px){#formation-banner{font-size:11px;padding:5px 10px}}.failure-caption{position:absolute;left:0;right:0;top:22%;display:flex;flex-direction:column;align-items:center;gap:12px;color:#ffefd0;text-shadow:0 2px 8px #231a18;pointer-events:none;animation:failure-caption-in 1.1s ease-out both}.failure-caption span{font-size:12px;letter-spacing:.3em}.failure-caption strong{font-size:clamp(30px,5vw,64px);letter-spacing:.12em}.failure-caption small{font-size:14px;animation:failure-caption-in 1.8s ease-out both}#boss-hud.enraged{border-color:#ef795c;box-shadow:0 0 20px #d3433238}@keyframes failure-caption-in{0%,35%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.failure-caption,.failure-caption small{animation:none}}.station-shop,.station-refit{position:absolute;inset:10% 3.5% 5%;background:#e9e4d6f5;border-top:3px solid #3b5747;pointer-events:auto;display:flex;flex-direction:column;padding:18px 24px;gap:14px;box-shadow:0 12px 50px #172c2944}.market-header{display:flex;align-items:center;gap:24px;flex-shrink:0}.market-header h1{font-size:28px;letter-spacing:-.04em;margin:3px 0}.market-header .eyebrow{font-size:9px;opacity:.65}.market-header .checkpoint-wallet{margin-left:auto;text-align:right;display:grid;grid-template-columns:auto auto;column-gap:10px;align-items:center}.market-header .checkpoint-wallet>b{font-size:30px;grid-row:1/3}.market-header .checkpoint-wallet span,.market-header .checkpoint-wallet small{font-size:11px}.station-steps{display:flex;gap:12px;align-items:center;font-size:12px;color:#6c766a}.station-steps b{padding:8px 12px;opacity:.55}.station-steps .current{background:#334e40;color:#f5e9ce;opacity:1}.station-steps i{font-style:normal}.shop-heading,.shop-cargo,.station-shop footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;font-size:12px}.shop-heading>span{opacity:.8}.station-shop button,.refit-footer button{min-height:42px;padding:8px 16px;border:1px solid #4c665344;background:#d8ddca;font-size:12px}.shop-heading button{background:#354f40;color:#f4e9cd}.shop-offers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;flex:1;min-height:0;overflow:auto;padding:2px 2px 8px}.shop-offer{--rarity:#829384;background:#f6f0e3;border:1px solid #6b7b6440;border-top:4px solid var(--rarity);padding:14px;display:flex;flex-direction:column;min-width:0;box-shadow:0 5px #6c785825;animation:shop-arrive .3s ease both}.shop-offer.rare{--rarity:#398c93;background:linear-gradient(155deg,#eff8ed,#e0ece0)}.shop-offer.legendary{--rarity:#c5832e;background:linear-gradient(145deg,#fff6d4,#eddec2);box-shadow:0 5px #c48f3533,0 0 16px #e6b04725}.shop-offer:nth-child(2){animation-delay:.04s}.shop-offer:nth-child(3){animation-delay:.08s}.shop-offer:nth-child(4){animation-delay:.12s}.offer-meta{display:flex;align-items:center;justify-content:space-between;gap:4px;font-size:10px}.offer-meta b{color:var(--rarity);font-size:11px}.offer-meta>span{opacity:.65}.offer-art{position:relative;display:grid;place-items:center;min-height:48px;flex:1;background:radial-gradient(ellipse,#fff9 0%,transparent 65%)}.offer-art>span{font-size:clamp(36px,5cqw,80px);color:var(--part-color);filter:drop-shadow(3px 5px 0 #27443733);transform:rotate(-9deg)}.offer-art>i{position:absolute;right:17%;top:18%;font-size:20px;color:var(--rarity);opacity:.55}.shop-offer h2{font-size:clamp(14px,1.5cqw,23px);margin:6px 0}.shop-offer p{font-size:12px;line-height:1.6;min-height:39px;margin:3px 0 12px}.shop-offer>small{font-size:10px;opacity:.65;margin-bottom:8px}.shop-offer button{width:100%;background:#354f40;color:#fff1d1;font-weight:700;white-space:nowrap}.shop-offer.legendary button{background:#966432}.shop-offer button:disabled{opacity:.55}.shop-offer em{font-size:10px;text-align:center;margin-top:6px;font-style:normal;color:#986b48}.shop-offer.sold{opacity:.65}.shop-offer.sold .offer-art{filter:grayscale(.7)}.shop-cargo{min-height:44px}.shop-cargo>div{display:flex;gap:5px;flex:1;flex-wrap:wrap}.cargo-chip{font-size:10px;padding:5px 7px;background:#d7dfce;border:1px solid #64785c40}.cargo-chip.rare{border-color:#448f93}.cargo-chip.legendary{border-color:#b68a37;color:#90662f}.station-shop footer{border-top:1px solid #6e7e6340;padding-top:12px}.station-shop footer>span{font-size:10px;opacity:.65;margin-right:auto}.station-shop footer>button{flex-shrink:0;white-space:nowrap}.station-shop footer .primary{background:#b65a36;color:#fff0d0;min-width:190px;width:auto;flex-shrink:0;margin:0}.station-refit{padding:14px 18px}.refit-editor{position:absolute;inset:82px 0 44px}.refit-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;position:absolute;bottom:5px;left:3.5%;right:3.5%;font-size:10px}.refit-footer button{min-height:30px;padding:4px 12px;font-size:10px}.station-refit .base-garage{background:transparent}.station-refit .parts-panel{pointer-events:auto}.station-refit .parts-list{pointer-events:auto;touch-action:pan-y}.station-refit .parts-list .part-tool.rare{border-color:#398c93}.station-refit .parts-list .part-tool.legendary{border-color:#c5832e;background:#efe2bc}.run-free-mark{position:absolute;bottom:1px;right:2px;font-size:9px;line-height:1;color:#fff2a7;text-shadow:0 1px #67512d;font-style:normal}.station-refit .module-readout{background:#dfe3d1}.station-refit .base-garage .blueprint{height:79%}.station-refit .base-garage .grid-scroll,.station-refit .base-garage .build-inspector{pointer-events:auto}.station-refit .base-garage .part-tool{touch-action:pan-y}@keyframes shop-arrive{0%{opacity:0;transform:translateY(14px) rotate(1deg)}to{opacity:1;transform:none}}@media(max-height:520px){.station-shop,.station-refit{inset:10% 3% 4%;padding:8px 12px;gap:6px}.market-header{gap:12px;min-height:35px}.market-header h1{font-size:18px;margin:0}.market-header .eyebrow{font-size:7px}.market-header .checkpoint-wallet>b{font-size:23px}.market-header .checkpoint-wallet span,.market-header .checkpoint-wallet small{font-size:9px}.station-steps{font-size:9px;gap:5px}.station-steps b{padding:5px 8px}.station-shop button{min-height:34px;font-size:10px;padding:5px 10px}.shop-heading,.shop-cargo{font-size:9px;gap:6px}.shop-heading button{min-height:28px}.shop-offers{gap:8px;padding-bottom:4px}.shop-offer{padding:7px;border-top-width:3px}.offer-meta,.offer-meta b{font-size:8px}.offer-art{min-height:22px}.offer-art>span{font-size:29px}.offer-art>i{font-size:12px}.shop-offer h2{font-size:13px;margin:3px 0}.shop-offer p{font-size:9px;line-height:1.4;min-height:25px;margin:2px 0 5px}.shop-offer>small{font-size:8px;margin-bottom:5px}.shop-offer em{font-size:8px;margin-top:3px}.shop-cargo{min-height:29px}.cargo-chip{font-size:8px;padding:3px 5px}.station-shop footer{padding-top:6px}.station-shop footer>span{font-size:8px}.station-shop footer .primary{min-width:150px}.refit-editor{inset:48px 0 31px}.refit-footer{bottom:3px;font-size:8px}.refit-footer button{min-height:25px;font-size:9px;padding:3px 7px}.station-refit .main-base .base-garage .parts-panel{height:77%}.station-refit .base-garage .garage-bottom{min-height:34px}.station-refit .base-garage .primary{min-height:34px;font-size:10px}.run-free-mark{font-size:7px}}@media(prefers-reduced-motion:reduce){.shop-offer{animation:none}}.shop-offer p{width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere;flex-shrink:0}.shop-offer button{flex-shrink:0}@media(max-height:520px){.shop-offer>small,.shop-offer>em{display:none}.offer-art{flex:0 0 20px;min-height:20px}.offer-art>span{font-size:23px}.shop-offer h2{line-height:16px;margin:3px 0}.shop-offer p{line-height:12px;min-height:24px;margin:2px 0 6px}.shop-offer button{margin-top:auto}.shop-offers{align-items:stretch}.shop-offer{padding:6px}}#stage{--frame-pad:clamp(10px,1.6cqw,24px);--frame-gap:clamp(6px,.9cqw,12px);--chrome-height:clamp(30px,3.5cqw,42px);--footer-height:20px;--content-top:calc(var(--frame-pad) + var(--chrome-height) + var(--frame-gap));--content-bottom:calc(var(--footer-height) + var(--frame-gap));--panel-pad:clamp(8px,1.1cqw,16px)}#stage .mast{inset:var(--frame-pad) var(--frame-pad) auto;height:var(--chrome-height);gap:12px;min-width:0}#stage .mast .wordmark{font-size:clamp(10px,1.1cqw,15px);letter-spacing:.06em;white-space:nowrap}#stage .mast .brand-icon{font-size:clamp(18px,2cqw,28px)}#stage .mast .chapter{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:clamp(9px,.9cqw,12px)}#stage .tools{flex-shrink:0;gap:6px}#stage .tools button{height:var(--chrome-height);min-height:0;padding:0 10px;font-size:clamp(10px,1cqw,13px);white-space:nowrap}#stage .edition{inset:auto var(--frame-pad) 4px;height:16px;align-items:center;font-size:9px;letter-spacing:.04em;padding-right:30px}#stage .prelaunch.main-base{position:absolute;inset:var(--content-top) var(--frame-pad) var(--content-bottom);display:grid;grid-template-rows:auto minmax(0,1fr);gap:var(--frame-gap);min-width:0;min-height:0}#stage .main-base .fleet-header{position:static;inset:auto;width:auto;height:auto;min-height:56px;display:flex;flex-wrap:nowrap;align-items:center;gap:clamp(8px,1.3cqw,20px);padding:8px var(--panel-pad);border-top-width:2px}#stage .main-base .fleet-header>div:first-child{flex:1;min-width:0}#stage .main-base .fleet-header h2{font-size:clamp(16px,1.8cqw,25px);margin:2px 0}#stage .main-base .fleet-header .eyebrow{font-size:8px}#stage .main-base .fleet-header button{flex-shrink:0;min-height:38px;padding:6px 10px;line-height:1.3;font-size:clamp(10px,1.1cqw,14px)}#stage .main-base .base-capacity{min-width:70px;text-align:right;flex-shrink:0}#stage .main-base .base-capacity b,#stage .main-base .base-points{font-size:clamp(17px,2cqw,27px);line-height:1.15}#stage .main-base .base-capacity small,#stage .main-base .base-points small{font-size:9px;line-height:1.2}#stage .main-base .return-summary{max-width:22%;font-size:10px;margin:0;max-height:36px;overflow:auto;pointer-events:auto}#stage .main-base .prelaunch-editor,#stage .main-base .refit-editor{position:relative;inset:auto;min-width:0;min-height:0}#stage .main-base .base-garage{position:absolute;inset:0;display:grid;grid-template-columns:clamp(142px,18cqw,238px) minmax(0,1fr) clamp(182px,23cqw,300px);grid-template-rows:minmax(0,1fr) auto;gap:var(--frame-gap);background:#e6ddc9ed;padding:var(--panel-pad);border:1px solid #68765b38}#stage .main-base .base-garage .parts-panel,#stage .main-base .base-garage .blueprint,#stage .main-base .base-garage .build-inspector{position:relative;inset:auto;width:auto;height:auto;max-height:none;min-width:0;min-height:0;margin:0}#stage .main-base .base-garage .parts-panel{display:flex;flex-direction:column;overflow:hidden;gap:6px}.parts-heading{display:flex;align-items:center;justify-content:space-between;font-size:11px;min-height:28px;padding:0 3px;border-bottom:1px solid #6c7e6533;flex-shrink:0;font-weight:700}.parts-heading small{font-size:9px;font-weight:400;opacity:.65}#stage .main-base .base-garage .parts-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));flex:1;min-height:0;margin:0;gap:6px;overflow:auto;padding:2px;align-content:start;scrollbar-width:thin;scrollbar-gutter:stable}#stage .main-base .base-garage .parts-list .part-tool{grid-column:auto;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:22px minmax(14px,auto) 15px;gap:3px;height:auto;min-height:76px;padding:6px;align-content:start;overflow:hidden}#stage .main-base .base-garage .part-tool .part-symbol{font-size:22px;grid-column:1/-1;grid-row:1;line-height:22px;float:none;margin:0}#stage .main-base .base-garage .part-tool strong{grid-column:1/-1;grid-row:2;font-size:11px;line-height:1.2;margin:0;overflow-wrap:anywhere}#stage .main-base .base-garage .part-tool small{grid-column:1/-1;grid-row:3;font-size:9px;white-space:nowrap}#stage .main-base .base-garage .part-tool .part-role{position:absolute;grid-area:auto;left:auto;top:6px;right:4px;font-size:7px;padding:1px 2px;max-width:none}#stage .main-base .base-garage .part-tool .new-mark{font-size:7px;padding:1px 2px}#stage .main-base .unlock-note{margin:0;font-size:9px;line-height:1.35;min-height:13px;flex-shrink:0}#stage .main-base .base-garage .blueprint{display:flex;flex-direction:column;gap:6px;overflow:hidden}#stage .main-base .base-garage .grid-toolbar{min-height:28px;height:28px;flex-shrink:0;gap:8px;font-size:11px;margin:0}#stage .main-base .base-garage .grid-toolbar>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0}#stage .main-base .grid-pan{gap:4px;flex-shrink:0}#stage .main-base .grid-pan button{min-width:28px;min-height:28px;height:28px;padding:0;font-size:14px}#stage .main-base .base-garage .grid-scroll{width:100%;height:auto;min-height:0;max-height:none;flex:1;overflow:auto;scrollbar-width:thin}#stage .main-base .base-garage .edit-actions{margin:0;gap:4px;flex-shrink:0}#stage .main-base .base-garage .edit-actions button{min-width:0;min-height:30px;height:30px;padding:2px 4px;font-size:10px;white-space:nowrap}#stage .main-base .base-garage .structure-message{margin:0;min-height:14px;font-size:10px;line-height:1.35;flex-shrink:0;max-height:32px;overflow:auto;pointer-events:auto}#stage .main-base .base-garage .budget-reminder{margin:0;font-size:9px;line-height:1.3;flex-shrink:0}#stage .main-base .base-garage .build-inspector{display:flex;flex-direction:column;gap:8px;overflow:hidden}#stage .main-base .module-readout{display:grid;grid-template-columns:30px minmax(0,1fr);gap:5px 8px;padding:10px;min-height:0;overflow:auto;align-content:start;flex:1;scrollbar-width:thin;border:1px solid #72806926;background:#f0eadbe8}#stage .main-base .module-big{font-size:28px;grid-column:1;grid-row:1/3;line-height:1.1}#stage .main-base .module-readout strong{font-size:clamp(12px,1.3cqw,18px);grid-column:2;overflow-wrap:anywhere}#stage .main-base .module-readout>.part-role{grid-column:2;margin:0;font-size:8px}#stage .main-base .module-readout p{grid-column:1/-1;font-size:clamp(10px,1.02cqw,13px);line-height:1.5;margin:3px 0 0}#stage .main-base .module-readout b{font-size:10px;line-height:1.4;overflow-wrap:anywhere}#stage .main-base .base-garage .build-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 8px;margin:0;padding:9px;flex-shrink:0;background:#f0eadbe8;border:1px solid #72806926}#stage .main-base .base-garage .build-stats>div{padding-bottom:3px}#stage .main-base .base-garage .build-stats span{font-size:10px;line-height:1.35;white-space:normal}#stage .main-base .base-garage .build-stats b{font-size:clamp(19px,2.2cqw,29px);line-height:1.2}#stage .main-base .base-garage .build-stats span small{font-size:8px}#stage .main-base .base-garage .fire-saturation{font-size:9px;margin:0;line-height:1.3;flex-shrink:0}#stage .main-base .base-garage .support-legend{font-size:9px;line-height:1.35;flex-shrink:0}#stage .main-base .base-garage .garage-bottom{position:static;inset:auto;grid-column:1/-1;min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0 0;margin:0;border-top:1px solid #63765c40}#stage .main-base .base-garage .garage-wallet{position:static;inset:auto;font-size:11px;line-height:1.3}#stage .main-base .base-garage .primary{width:clamp(170px,23cqw,300px);height:38px;min-height:38px;margin:0;padding:8px 12px;font-size:13px;flex-shrink:0}#stage .station-refit.main-base{inset:var(--content-top) var(--frame-pad) var(--content-bottom);display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:var(--frame-gap);padding:0;border:0;background:transparent;box-shadow:none}#stage .station-refit .market-header{min-height:52px;padding:8px var(--panel-pad);background:#eae5d5f2;border-top:2px solid #375647;gap:12px}#stage .station-refit .refit-footer{position:static;inset:auto;min-height:30px;padding:0;display:flex;justify-content:space-between;align-items:center}#stage .station-refit .refit-footer span:empty{display:none}#stage .station-refit .refit-footer button{min-height:30px;padding:4px 10px;background:#eae5d5ed}#stage .station-shop,#stage .expedition-map{inset:var(--content-top) var(--frame-pad) var(--content-bottom);margin:0}#stage .station-shop{display:flex;padding:var(--panel-pad);gap:var(--frame-gap);min-height:0}#stage .market-header h1{font-size:clamp(16px,2cqw,26px)}#stage .market-header .checkpoint-wallet>b{font-size:clamp(20px,2.5cqw,30px)}#stage .shop-heading>span{min-width:0;line-height:1.35}#stage .shop-heading button{flex-shrink:0}#stage .station-shop footer{gap:8px;flex-wrap:nowrap}#stage .station-shop footer>span:empty{flex:1}#stage .shop-offer{overflow:auto;scrollbar-width:thin}#stage .shop-offer .offer-meta{flex-wrap:wrap}#stage .shop-offer h2{overflow-wrap:anywhere}#stage .expedition-map{display:flex;flex-direction:column;min-height:0}#stage .expedition-map>header,#stage .expedition-map>footer{flex-shrink:0}#stage .expedition-map .map-land{flex:1;min-height:0}#stage .expedition-map>footer{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center}#stage .expedition-map .route-choice{min-width:0}#stage .expedition-map .route-choice strong,#stage .expedition-map .route-choice small{overflow-wrap:anywhere}#stage .expedition-map .primary{width:auto;min-width:130px;margin:0}@container (max-width:1000px){#stage .mast .chapter{display:none}#stage .main-base .fleet-header{min-height:48px;padding:6px 9px;gap:10px}#stage .main-base .fleet-header button{min-height:34px;padding:5px 8px;font-size:11px}#stage .main-base .fleet-header h2{font-size:18px}#stage .main-base .fleet-header .eyebrow{font-size:7px}#stage .main-base .base-garage{grid-template-columns:clamp(126px,17cqw,170px) minmax(0,1fr) clamp(170px,22cqw,220px);padding:8px}#stage .main-base .module-readout{padding:8px;gap:4px 6px}#stage .main-base .module-readout strong{font-size:13px}#stage .main-base .module-readout p,#stage .main-base .module-readout b{font-size:10px}#stage .main-base .base-garage .build-stats{padding:7px;gap:4px 7px}#stage .main-base .base-garage .build-stats b{font-size:21px}#stage .main-base .base-garage .garage-bottom{min-height:38px;padding-top:6px}#stage .main-base .base-garage .primary{height:34px;min-height:34px;font-size:12px}#stage .station-steps{font-size:9px;gap:4px}#stage .station-steps b{padding:5px}#stage .station-shop .shop-offer{padding:8px}#stage .station-shop .shop-offer p{font-size:10px;line-height:1.4}#stage .station-shop .shop-offer h2{font-size:14px}#stage .station-shop .offer-art{min-height:22px;flex:0 0 26px}#stage .station-shop .offer-art>span{font-size:28px}#stage .station-shop .shop-offer>small,#stage .station-shop .shop-offer>em{display:none}#stage .station-shop .shop-offer button{margin-top:auto;min-height:32px;padding:6px;font-size:11px}#stage .station-shop .shop-heading,#stage .station-shop .shop-cargo{font-size:10px}}@container (max-width:760px){#stage .mast .wordmark{font-size:9px;gap:5px}#stage .tools button{font-size:10px;padding:0 6px}#stage .main-base .fleet-header .eyebrow,#stage .main-base .return-summary{display:none}#stage .main-base .fleet-header{min-height:40px;padding:4px 7px;gap:7px}#stage .main-base .fleet-header h2{font-size:15px}#stage .main-base .fleet-header button{min-height:30px;font-size:10px;padding:4px 6px}#stage .main-base .base-capacity{min-width:52px}#stage .main-base .base-capacity b,#stage .main-base .base-points{font-size:16px}#stage .main-base .base-garage{grid-template-columns:112px minmax(0,1fr) 152px;padding:6px;gap:6px}#stage .main-base .base-garage .parts-list{grid-template-columns:1fr;gap:4px}#stage .main-base .base-garage .parts-list .part-tool{grid-template-columns:22px minmax(0,1fr);grid-template-rows:auto auto auto;min-height:62px;padding:5px;gap:3px 5px}#stage .main-base .base-garage .part-tool .part-symbol{grid-column:1;grid-row:1/4;font-size:20px;align-self:center}#stage .main-base .base-garage .part-tool strong{grid-column:2;grid-row:1;font-size:10px;padding-right:0}#stage .main-base .base-garage .part-tool small{grid-column:2;grid-row:3;font-size:8px}#stage .main-base .base-garage .part-tool .part-role{position:static;grid-column:2;grid-row:2;font-size:7px;justify-self:start}#stage .main-base .base-garage .parts-heading{min-height:24px;font-size:10px}#stage .main-base .base-garage .grid-toolbar{min-height:24px;height:24px;font-size:10px}#stage .main-base .grid-pan button{min-width:24px;min-height:24px;height:24px;font-size:12px}#stage .main-base .base-garage .blueprint{gap:4px}#stage .main-base .base-garage .edit-actions button{min-height:26px;height:26px;font-size:9px;padding:2px}#stage .main-base .base-garage .structure-message{font-size:9px;max-height:24px}#stage .main-base .base-garage .build-inspector{gap:5px}#stage .main-base .module-readout{padding:6px;grid-template-columns:22px minmax(0,1fr)}#stage .main-base .module-big{font-size:22px}#stage .main-base .module-readout strong{font-size:11px}#stage .main-base .base-garage .build-stats{padding:5px;gap:3px 6px}#stage .main-base .base-garage .build-stats span{font-size:9px}#stage .main-base .base-garage .build-stats b{font-size:18px}#stage .main-base .base-garage .support-legend{font-size:8px}#stage .main-base .base-garage .garage-wallet{font-size:9px}#stage .main-base .base-garage .garage-bottom{min-height:32px;padding-top:4px}#stage .main-base .base-garage .primary{width:152px;min-height:30px;height:30px;font-size:11px}#stage .station-refit .station-steps{display:none}#stage .station-refit .market-header{min-height:40px;padding:5px 8px}#stage .market-header .checkpoint-wallet span,#stage .market-header .checkpoint-wallet small{font-size:9px}#stage .station-refit .refit-footer,#stage .station-refit .refit-footer button{min-height:26px;font-size:9px}#stage .web-map .map-legend{display:none}#stage .expedition-map>header{padding:6px 10px}#stage .expedition-map h1{font-size:16px}#stage .expedition-map>footer{gap:6px;padding:7px}#stage .expedition-map .primary{min-width:96px;font-size:10px;padding:6px}#stage .expedition-map .route-choice strong{font-size:10px}#stage .expedition-map .route-choice small{font-size:8px}}@media(max-height:460px)and (orientation:landscape){#stage{--frame-pad:8px;--frame-gap:5px;--chrome-height:30px;--footer-height:17px}#stage .main-base .fleet-header{min-height:40px;padding:4px 8px}#stage .main-base .fleet-header .eyebrow{display:none}#stage .main-base .fleet-header button{min-height:30px;font-size:10px;padding:4px 7px}#stage .main-base .base-garage{padding:6px;gap:5px}#stage .main-base .base-garage .garage-bottom{min-height:32px;padding-top:4px}#stage .main-base .base-garage .primary{min-height:30px;height:30px}#stage .main-base .base-garage .blueprint{gap:4px}#stage .main-base .base-garage .grid-toolbar,#stage .main-base .base-garage .parts-heading{min-height:24px;height:24px}#stage .main-base .grid-pan button{min-height:24px;height:24px;min-width:28px}#stage .main-base .base-garage .edit-actions button{min-height:26px;height:26px}#stage .main-base .base-garage .structure-message{min-height:12px;font-size:9px}#stage .main-base .base-garage .build-inspector{gap:5px}#stage .main-base .base-garage .build-stats{padding:5px;gap:2px 6px}#stage .main-base .base-garage .build-stats b{font-size:18px}#stage .main-base .base-garage .build-stats span{font-size:9px}#stage .main-base .module-readout{padding:6px}#stage .main-base .base-garage .support-legend{font-size:8px}}#boss-hud{border-color:var(--boss-color,#ff885d)}#boss-hud[data-phase=aim],#boss-hud[data-phase=windup]{box-shadow:inset 3px 0 #ff8954,0 0 20px #ff895420}#boss-hud[data-phase=exposed]{box-shadow:inset 3px 0 #a7efc0}#boss-hud #boss-rule{white-space:normal;line-height:1.35}#stage .web-map .map-land{container-type:size}#stage .web-map .graph-node{height:20cqh;max-height:86px;min-height:0;padding:3px;gap:1px;justify-content:center}#stage .web-map .graph-node>span{width:clamp(16px,7cqh,32px);height:clamp(16px,7cqh,32px);font-size:clamp(12px,5cqh,20px);flex-shrink:0}#stage .web-map .graph-node>b{font-size:clamp(8px,3.5cqh,11px);line-height:1.2;padding:1px 2px}#stage .web-map .graph-node>small{font-size:8px;line-height:1.1;padding:1px 2px}@container (max-height:310px){#stage .web-map .graph-node>small{display:none}}@media(max-height:460px)and (orientation:landscape){#stage .expedition-map>header{padding:5px 8px;min-height:40px}#stage .expedition-map>header .eyebrow,#stage .expedition-map .map-legend{display:none}#stage .expedition-map h1{margin:0;font-size:17px}#stage .expedition-map>footer{padding:5px 8px;gap:6px}#stage .expedition-map .route-choice small{font-size:8px;line-height:1.25}#stage .expedition-map .route-choice strong{font-size:11px}#stage .expedition-map .map-paging button,#stage #map-base{min-height:28px;padding:4px 7px;font-size:10px}#stage .expedition-map .primary{min-height:32px;font-size:11px}}
