.hangar{width:min(1160px,96vw);max-height:94dvh;background:linear-gradient(145deg,#18243a,#101626 42%,#151329);color:#f4edd8;border:1px solid #bd9451;border-radius:24px;padding:0;box-shadow:0 24px 90px #000e,0 0 50px #bf8b3e22;font:500 14px/1.35 system-ui;overflow:auto}
.hangar::backdrop{background:#050713e8;backdrop-filter:blur(6px)}
.hangar-head{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:20px 26px;background:#14192beF;border-bottom:1px solid #ad874753}
.hangar-kicker{font:800 10px/1.3 system-ui;letter-spacing:.19em;color:#eac582;margin:0 0 6px!important}
.hangar h2{font:800 clamp(23px,4vw,41px)/1 system-ui;color:#fff4d3;margin:0}
.hangar-tools,.hangar-actions{display:flex;align-items:center;justify-content:space-between;gap:7px}
.hangar-balance{color:#ffcf7a;background:#40322066;border:1px solid #7b673e;border-radius:40px;padding:7px 10px;white-space:nowrap;font-size:12px;font-weight:800}
.hangar button{background:#272233;color:#ffe9b8;border:1px solid #a1804f;border-radius:8px;font:750 13px/1.2 system-ui;padding:8px 11px;min-height:36px;cursor:pointer;white-space:nowrap}
.hangar button:hover:not(:disabled),.hangar button:focus-visible{background:#45344d;border-color:#ffcd74}
.hangar button:focus-visible{outline:2px solid #ffcc75;outline-offset:2px}
.hangar button:disabled{opacity:.49;cursor:not-allowed}
.hangar .hangar-close{padding:7px 10px}
.hangar-tabs{display:flex;gap:8px;align-items:center;padding:12px 26px;overflow-x:auto;border-bottom:1px solid #b2924b32}
.hangar-tabs button{background:#242238;border-color:#574a50}
.hangar .hangar-tabs button[aria-pressed=true]{color:#201626;background:#ebbb6e;border-color:#ffd18a}
.hangar-body{padding:12px 26px 18px;}
.hangar-subhead{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 11px}
.hangar-subhead b{display:block;color:#fff2cb;font-size:16px}.hangar-subhead span{display:block;color:#c3b5ba;font-size:12px}
.hangar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.hangar-card{min-width:0;overflow:hidden;border:1px solid #6f5a5d;border-radius:13px;background:linear-gradient(155deg,#26263c,#1d2033)}
.hangar-art{position:relative;overflow:hidden;isolation:isolate;aspect-ratio:1.58;background:#10192a}
.hangar-art::after{position:absolute;inset:0;z-index:-1;content:'';background:linear-gradient(transparent 35%,#0c1225c9)}
.hangar-map{position:absolute;z-index:-2;inset:-13% 0 auto;width:100%;height:126%;object-fit:cover;animation:hangarScroll 8s ease-in-out alternate infinite}
.hangar-card:nth-child(3n) .hangar-map{animation-delay:-3s}.hangar-card:nth-child(3n+1) .hangar-map{animation-delay:-5s}
@keyframes hangarScroll{from{transform:translate3d(0,-7%,0)}to{transform:translate3d(0,7%,0)}}
.hangar-ship{position:absolute;width:70%;height:95%;left:15%;bottom:0;object-fit:contain;filter:drop-shadow(0 4px 9px #000d)}
.hangar-number{position:absolute;top:6px;left:6px;border:1px solid #d8a95e77;border-radius:5px;padding:3px 6px;background:#0d1328dd;color:#edc681;font-size:10px;font-weight:750}
.hangar-card-copy{padding:10px}
.hangar-land{display:block;font:800 9px/1.4 system-ui;letter-spacing:.12em;color:var(--rival,#e7c482);text-transform:uppercase}
.hangar h3{font:800 17px/1.18 system-ui;color:#fff2d8;margin:3px 0 8px}.hangar-card-copy p,.hangar-cd p{color:#d3c8d3;margin:0 0 11px}
.hangar-owned,.hangar-price{font:800 10px/1.2 system-ui;white-space:nowrap;color:#ffcc75}
.hangar-owned{color:#a0efd1}
.hangar-actions button{background:#413022;border-color:#be9353}
.hangar-grid.gear{grid-template-columns:repeat(3,minmax(0,1fr))}
.hangar-gear-art{background:radial-gradient(ellipse at center,#374064,#141a2e 77%);min-height:140px;text-align:center}
.hangar-gear-art img{width:100%;height:180px;object-fit:contain;vertical-align:middle}
.hangar-cd{display:grid;grid-template-columns:minmax(110px,225px) 1fr;align-items:center;gap:18px;padding:10px;border:1px solid #6f5a5d;border-radius:12px}
.hangar-cd h3{font-size:23px}.hangar-cd .hangar-actions{justify-content:flex-start}
.hangar-tracks{list-style:none;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:5px 12px}
.hangar-tracks li{display:flex;align-items:center;justify-content:space-between;gap:5px;border-bottom:1px solid #67556b55;padding:4px 6px;color:#e9c384}
.hangar-tracks li b{color:#e9e2ea;margin-left:4px}.hangar-tracks li button{font-size:11px;min-height:30px}
.hangar .preview-skin-grid{max-width:650px}.hangar .preview-skin img{height:130px}
.hangar-status,.hangar-foot,.hangar-note{color:#d4b7a1;padding:0 26px;font-size:12px;margin:0 0 10px}
.hangar-status:empty{display:none}.hangar-note{padding:7px 0}.hangar-foot{padding-top:10px;border-top:1px solid #c0984e37;color:#dabb83;font-size:10px;font-weight:800;letter-spacing:.11em}
@media(max-width:850px){.hangar-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:590px){.hangar{width:96vw;max-height:94dvh;border-radius:15px}.hangar-head,.hangar-tabs,.hangar-body{padding-left:10px;padding-right:10px}.hangar-head{padding-top:10px;padding-bottom:10px}.hangar-grid,.hangar-grid.gear{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.hangar-tabs{gap:5px}.hangar-tab button,.hangar button{font-size:11px;padding:5px 7px;min-height:33px}.hangar-card-copy{padding:7px}.hangar h3{font-size:14px}.hangar-gear-art img{height:128px}.hangar-tracks{grid-template-columns:1fr}.hangar .preview-skin img{height:90px}.hangar-cd h3{font-size:17px}.hangar-status,.hangar-foot{padding-left:10px;padding-right:10px}}
@media(prefers-reduced-motion:reduce){.hangar-map{animation:none}}
.hangar button[hidden]{display:none!important}
@media(max-width:500px){.hangar-tools{flex-wrap:wrap;justify-content:flex-end}.hangar-tools #hangarRefill{order:3}}
.hangar button.hangar-art{display:block;width:100%;padding:0;min-height:0;border:0;border-radius:0;background:#10192a;font:inherit}
.hangar button.hangar-art:hover:not(:disabled){background:#172239}
.hangar button.hangar-art:focus-visible{outline-offset:-3px}
.hangar .world-selected{border-color:var(--rival);box-shadow:inset 0 0 11px #f6c77844}
.hangar-selected{position:absolute;top:6px;right:6px;font:800 9px/1.4 system-ui;border-radius:6px;background:#261c18ef;color:#ffe2a3;padding:4px 6px}
.hangar .hangar-selected-copy{color:#ffdb90;margin-top:3px}
.hangar .hangar-status-top:not(:empty){position:sticky;top:70px;z-index:2;background:#30283bf9;color:#fff1cb;padding:9px 26px;border-bottom:1px solid #d4a86599;margin:0}
.hangar .hangar-actions button[data-launch]{white-space:normal;text-align:center}
#ovlWorld[hidden],#resumeStoredStory[hidden]{display:none!important}
#storyWorldsBtn{min-width:48px;min-height:44px;padding:5px 8px;font-size:11px;color:#ffe1a0;background:#24294a;border-color:#c4a45f;touch-action:manipulation}
.story-worlds{background:linear-gradient(140deg,#1c263c,#191a2e);border-color:#d6ac60;color:#eee5cf}
.story-worlds h2{color:#ffe7a8}
.story-worlds-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.story-worlds button{min-height:44px;touch-action:manipulation}
.story-worlds-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.story-worlds-list button{background:#272a44;border-color:#8a7455;text-align:left;width:100%;overflow:hidden;padding:8px;display:flex;flex-direction:column;gap:3px}
.story-worlds-list button:hover{background:#3f365a}.story-worlds-list .story-worlds-auto{grid-column:1/-1;justify-content:space-between;flex-direction:row;align-items:center}
.story-worlds-option img{width:100%;height:62px;object-fit:cover;border-radius:5px}
.story-worlds-list span{color:#ffe4b4}.story-worlds-list small{color:#d6c3a5;font-size:11px}.story-worlds-status:empty{display:none}
.story-worlds-status{color:#ffe2a1}
