.fleet-showroom{display:grid;grid-template-columns:minmax(280px,1.15fr) minmax(280px,1fr);gap:28px;max-width:1120px;margin:0 auto 28px;color:#cad8e2;text-align:left}
.fleet-gallery{min-width:0;align-self:start}.fleet-stage{position:relative;aspect-ratio:1;background:#101a22;border:1px solid #334550;overflow:hidden;background-image:url('../assets/blender/fleet-expansion/founder-hangar.webp');background-position:center;background-size:cover}
.fleet-hero{position:absolute;left:50%;top:50%;width:100%;height:auto;aspect-ratio:1;transform:translate(-50%,-50%);display:block}.fleet-art-state{position:absolute;inset:45% 10% auto;text-align:center;color:#bdcbd5;font-size:14px}.fleet-art-state:empty{display:none}.fleet-mechanism{position:absolute;bottom:14px;left:16px;right:16px;color:#b7c8d3;font-size:13px;background:#101922d9;padding:7px 10px;border-left:2px solid #b69b70}
.fleet-selection{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:9px}.fleet-selection button{min-height:108px;display:grid;justify-items:center;gap:3px;background:#111d27;border:1px solid #344854;color:#c5d7e3;padding:8px 4px;font:inherit;cursor:pointer}.fleet-selection img{width:60px;height:60px;object-fit:contain}.fleet-selection span{font-weight:700;letter-spacing:.06em}.fleet-selection small{font-size:10px;color:#9eb3c1}.fleet-selection button[aria-pressed=true]{border-color:#8bd6df;background:#1b2d37}.fleet-copy{padding:14px 0 0;min-width:0}.fleet-role{font-size:12px;letter-spacing:.15em;color:#8fafc0;margin:0 0 8px}.fleet-name{font-size:clamp(34px,4vw,58px)!important;line-height:1!important;letter-spacing:.04em;margin:0!important;color:#e7eff2!important}.fleet-tagline{font-size:22px;color:#dec5a0;margin:14px 0 10px;line-height:1.2}.fleet-description{font-size:16px;line-height:1.45;color:#b8c9d5;margin:0 0 18px;max-width:47ch}.fleet-tradeoff{margin:0;border-top:1px solid #344550;border-bottom:1px solid #344550;padding:14px 0;display:grid;gap:12px}.fleet-tradeoff dt{font-size:10px;letter-spacing:.11em;color:#8fadbc;margin-bottom:4px}.fleet-tradeoff dd{font-size:15px;line-height:1.35;margin:0}.fleet-benefit{color:#b6e6df}.fleet-cost{color:#e2caa7}
.fleet-materials{display:flex;flex-wrap:wrap;gap:6px;margin-top:18px}.fleet-materials button{min-height:44px;border:1px solid #3c515d;background:#15232e;color:#c7d5df;padding:8px 11px;font:inherit;font-size:12px;display:flex;align-items:center;gap:7px;cursor:pointer}.fleet-materials button[aria-pressed=true]{border-color:#b6dce2;background:#263946}.fleet-swatch{display:block;width:14px;height:14px;background:#506879;border:1px solid #a2b5c1}.fleet-swatch.ceramic{background:#e0ded2}.fleet-swatch.founder{background:#bd965d}.fleet-material-note{font-size:12px;color:#93aebb;margin:8px 0 16px;min-height:16px}.fleet-access{font-size:14px;color:#bfdadf;min-height:20px;margin:0 0 10px}.fleet-actions{display:flex;gap:8px}.fleet-actions button{flex:1;min-height:46px;padding:10px 8px}.fleet-showroom button:disabled{opacity:.55;cursor:default}.fleet-showroom button:focus-visible{outline:2px solid #d8f6f7;outline-offset:3px}.fleet-mastery{display:grid;gap:6px;margin-top:20px;color:#a7bdca;font-size:12px}.fleet-mastery strong{font-size:10px;letter-spacing:.12em;color:#d7bf94}.fleet-mastery progress{width:100%;height:5px;accent-color:#c4a772;border:0}.fleet-feedback{font-size:13px;line-height:1.35;color:#e4ca9f;min-height:18px;margin:10px 0 0}
.fleet-operation{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #3a4e59;padding:22px 0 0}.fleet-operation p{margin:0 0 7px;font-size:10px;letter-spacing:.14em;color:#c8aa78}.fleet-operation h4{font-size:24px;color:#e1e9ed;margin:0 0 8px;letter-spacing:.05em}.fleet-operation span{display:block;font-size:15px;line-height:1.4;color:#aebfcb}.fleet-operation small{display:block;margin-top:8px;font-size:12px;color:#8da7b8}.fleet-operation button{flex-shrink:0;min-height:46px}.fleet-showroom[data-surface=store]{padding:24px 0;border-bottom:1px solid #344b5b}.fleet-system-control{display:flex;align-items:center;gap:8px;pointer-events:auto;padding:8px 12px;border:1px solid #698a96;background:#11232eed;color:#d3e7eb;min-height:46px;text-align:left;font:inherit;cursor:pointer}.fleet-system-control[hidden]{display:none!important}.fleet-system-control kbd{font:700 13px monospace;border:1px solid #6a8590;min-width:24px;line-height:25px;text-align:center}.fleet-system-control span{display:grid;gap:2px}.fleet-system-control strong{font-size:12px;line-height:1.2}.fleet-system-control small{font-size:10px;line-height:1.2;color:#a6c2ce}#fleet-controls{position:fixed;left:18px;bottom:108px;z-index:25;max-width:235px}.touch #fleet-controls{left:auto;right:18px;bottom:190px;max-width:170px}#fleet-mission{position:fixed;left:18px;top:148px;z-index:24;width:260px;background:#101e29ec;border-left:3px solid #c1a679;padding:12px 14px;color:#e1e8eb;pointer-events:none}#fleet-mission[hidden]{display:none!important}#fleet-mission strong{font-size:14px}#fleet-mission p{font-size:12px;line-height:1.35;margin:6px 0 0;color:#bbd0db}#fleet-mission progress{width:100%;height:4px;accent-color:#b8dece}#fleet-transmission{position:fixed;inset:0;margin:auto;width:min(480px,calc(100% - 32px));box-sizing:border-box;max-height:calc(100dvh - 32px);overflow:auto;padding:24px;border:1px solid #657b88;background:#12202b;color:#d5e4ed}#fleet-transmission::backdrop{background:#060b11b8}#fleet-transmission h2{font-size:24px;margin:0 0 12px}#fleet-transmission p{font-size:15px;line-height:1.5}#fleet-transmission .fleet-transmission-actions{display:flex;gap:10px;margin-top:22px}#fleet-transmission button{min-height:44px;flex:1}
@media(max-width:680px){.fleet-showroom{grid-template-columns:1fr;gap:20px}.fleet-gallery{width:100%}.fleet-stage{aspect-ratio:1.3}.fleet-selection button{min-height:86px}.fleet-selection img{height:46px;width:46px}.fleet-copy{padding:0}.fleet-name{font-size:38px!important}.fleet-tagline{font-size:20px}.fleet-description{font-size:15px}.fleet-operation{display:block}.fleet-operation button{width:100%;margin-top:16px}.fleet-mechanism{font-size:11px;bottom:8px;left:8px;right:8px}.fleet-selection small{font-size:9px}.fleet-materials{gap:5px}.fleet-materials button{flex:1;justify-content:center;font-size:11px;padding:7px 6px}#fleet-mission{top:181px;left:10px;width:215px;padding:9px 11px}#fleet-controls{bottom:122px;left:10px;max-width:195px}.touch #fleet-controls{right:12px;bottom:181px;max-width:152px}.fleet-system-control kbd{display:none}}
@media(max-height:500px) and (orientation:landscape){.fleet-showroom{grid-template-columns:minmax(250px,.9fr) minmax(260px,1fr);gap:20px}.fleet-stage{aspect-ratio:1.25}.fleet-copy{padding:0}.fleet-name{font-size:34px!important}.fleet-description{font-size:14px}.fleet-tagline{margin:9px 0;font-size:18px}.fleet-operation{grid-column:1/-1}#fleet-controls{bottom:83px;left:15px;max-width:165px}.touch #fleet-controls{right:12px;bottom:148px}#fleet-mission{left:12px;top:116px;width:208px;font-size:11px;padding:8px 10px}#fleet-mission p{font-size:11px}}
@media(prefers-reduced-motion:reduce){.fleet-showroom,.fleet-showroom *,#fleet-mission,#fleet-mission *,#fleet-controls,#fleet-controls *{animation:none!important;transition-property:none!important}}

.fleet-showroom:not([data-founder="true"]) .fleet-stage{background-image:none;background-color:#111c25}.fleet-showroom[data-founder="true"] .fleet-stage{background-image:linear-gradient(#08111a60,#08111a88),url(../assets/blender/fleet-expansion/founder-hangar.webp)}
#fleet-transit{position:fixed;inset:0;width:min(520px,calc(100% - 24px));max-height:calc(100dvh - 24px);margin:auto;padding:18px;background:#111e28;border:1px solid #70828b;color:#d9e4eb;box-sizing:border-box;overflow:auto;text-align:center}#fleet-transit::backdrop{background:#050c13c9}#fleet-transit canvas{display:block;width:min(100%,45dvh);margin:0 auto;aspect-ratio:1}#fleet-transit strong{font-size:19px;letter-spacing:.06em}#fleet-transit p{font-size:14px;line-height:1.4;color:#b4c7d4}#fleet-transit button{min-height:44px;min-width:140px}.fleet-system-control[aria-disabled=true]{opacity:.65}.fleet-showroom button:focus-visible,#fleet-controls button:focus-visible{outline:2px solid #ebd1a2;outline-offset:3px}

.fleet-package-link{border:0;border-bottom:1px solid #536875;background:none;color:#bedbe9;font:600 12px inherit;min-height:44px;margin-top:4px;padding:8px 0;text-align:left;cursor:pointer}#fleet-legacy{border-top:1px solid #3a4d59;margin-top:22px;padding:12px 0}#fleet-legacy>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:#b3c6d3;font-size:14px}#fleet-legacy>summary::before{content:'+';margin-right:12px;font-size:20px}#fleet-legacy[open]>summary::before{content:'−'}

/* Five hangar destinations share one row; narrow screens retain native horizontal navigation. */
.hangar-ready .hangar-tabs{grid-template-columns:repeat(5,minmax(0,1fr));margin-bottom:10px}
#fleet-hangar.hangar-pane{padding:6px 6px 20px;min-width:0}
#fleet-hangar>h3{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 16px;margin:0 0 14px;font-size:20px}
#fleet-hangar .hangar-access{margin:0;letter-spacing:.02em;white-space:normal;overflow-wrap:anywhere}
.fleet-showroom[data-surface=hangar]{max-width:1040px;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:28px}
.fleet-showroom[data-surface=hangar] .fleet-stage{width:100%;max-width:420px;margin-inline:auto}
.fleet-selection button{min-width:0}
.fleet-selection span{max-width:100%;font-size:13px;letter-spacing:.025em;overflow-wrap:anywhere}
.fleet-selection small{max-width:100%;white-space:normal}
.fleet-actions button{min-width:0}

/* Trial instructions leave the center and right thumb lane clear. */
body.fleet-trial #practice-bar{padding:8px 10px}
body.fleet-trial .practice-heading{gap:4px 10px;margin-bottom:6px}
body.fleet-trial .practice-heading>span:last-child{display:none}
body.fleet-trial #practice-loadout{width:auto;font-size:12px}
body.fleet-trial .practice-controls{display:grid;grid-template-columns:minmax(0,1fr) 74px minmax(100px,1fr);gap:6px;align-items:end}
body.fleet-trial .practice-controls label[for=practice-build]{display:none}
body.fleet-trial .practice-controls label[for=practice-scenario]{display:flex;align-items:center;gap:6px;min-width:0;font-size:12px}
body.fleet-trial .practice-controls select{width:100%;min-width:0;font-size:12px;padding:6px}
body.fleet-trial .practice-controls .mbtn{width:100%;min-height:44px;margin:0;padding:6px;font-size:12px;letter-spacing:.03em}
body.fleet-trial #practice-input-help,body.fleet-trial #practice-note,body.fleet-trial #practice-rules{font-size:11px;line-height:1.35;margin:5px 0 0}
body.fleet-trial #fleet-controls,body.touch.fleet-trial #fleet-controls{left:max(18px,env(safe-area-inset-left));right:auto;bottom:calc(90px + env(safe-area-inset-bottom));max-width:min(175px,calc(100vw - 36px))}
body.fleet-trial .fleet-system-control{padding:7px 9px;min-height:48px;width:100%}
body.fleet-trial .fleet-system-control small{font-size:10px}
body.touch:not(.practicing) #fleet-controls{left:max(14px,env(safe-area-inset-left));right:auto;bottom:calc(150px + env(safe-area-inset-bottom));max-width:min(170px,calc(100vw - 120px))}

@media(max-width:680px){
 .hangar-ready .hangar-tabs{display:flex;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;margin:6px 0 10px}
 .hangar-ready .hangar-tabs button{flex:0 0 auto;padding:9px 12px;min-height:44px;font-size:14px}
 .fleet-showroom[data-surface=hangar]{grid-template-columns:minmax(0,1fr);gap:18px}
 .fleet-showroom[data-surface=hangar] .fleet-stage{max-width:320px}
 .fleet-selection span{font-size:12px;letter-spacing:0}
 #fleet-hangar>h3{font-size:19px;gap:5px;margin-bottom:12px}
 #fleet-hangar .hangar-access{font-size:11px}
 body.fleet-trial .practice-controls{grid-template-columns:minmax(0,1fr) 58px 88px;gap:5px}
 body.fleet-trial .practice-controls label[for=practice-scenario]{display:block;font-size:11px}
 body.fleet-trial .practice-controls .mbtn{font-size:11px}
}
@media(max-height:520px) and (orientation:landscape){
 #loadout .loadout-panel.hangar-ready{padding:8px 12px}
 .hangar-ready .hangar-header h2{font-size:18px}
 .hangar-ready .hangar-caption{display:none}
 .hangar-ready .hangar-tabs{margin:4px 0 6px}
 .hangar-ready .hangar-tabs button{min-height:44px;padding:6px;font-size:14px}
 #fleet-hangar.hangar-pane{padding-top:0}
 #fleet-hangar>h3{font-size:16px;margin-bottom:8px;gap:6px 14px}
 .fleet-showroom[data-surface=hangar]{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:20px}
 .fleet-showroom[data-surface=hangar] .fleet-stage{max-width:min(100%,calc(100dvh - 160px));aspect-ratio:1}
 .fleet-showroom[data-surface=hangar] .fleet-selection{max-width:320px;margin-inline:auto}
 .hangar-ready .loadout-actions{padding-top:6px}
 body.fleet-trial #practice-bar{padding:6px 10px;display:grid;grid-template-columns:minmax(0,1fr) minmax(310px,.8fr);column-gap:14px;align-items:center}
 body.fleet-trial .practice-heading{grid-column:1;margin:0}
 body.fleet-trial .practice-controls{grid-column:2;grid-row:1/4;grid-template-columns:minmax(0,1fr) 60px 108px}
 body.fleet-trial #practice-input-help,body.fleet-trial #practice-note,body.fleet-trial #practice-rules{grid-column:1;margin-top:3px;font-size:10px}
 body.fleet-trial #practice-rules{display:none}
 body.fleet-trial #fleet-controls,body.touch.fleet-trial #fleet-controls{bottom:calc(80px + env(safe-area-inset-bottom));max-width:175px}
 body.touch:not(.practicing) #fleet-controls{bottom:calc(86px + env(safe-area-inset-bottom));max-width:160px;left:max(14px,env(safe-area-inset-left))}
}

@media(max-width:340px){body.touch #ability-row .active-slot .ability-name{font-size:calc(10px / var(--hud-scale,1))}}

#fleet-store-packages{display:block;min-height:44px;width:max-content;max-width:100%;margin:12px 0 0;padding:9px 16px;font-size:13px}

#store .premium-purchase .mbtn{min-height:44px;padding:10px 14px;margin:8px 0 0 8px;font-size:12px;letter-spacing:.05em}
#store .premium-purchase [data-buy]{display:block;width:100%;margin-left:0}
@media(max-width:650px){#store .premium-purchase .mbtn{margin-left:0}}
