/* STARZ SPACESTATION / orbital salvage. Presentation only; original hooks stay intact. */
:root {
  color-scheme: dark;
  --ground:#0a0d10; --paper:#e5e4dc; --muted:#a4afb5;
  --amber:#e17479; --rust:#82333a; --steel:#566168; --danger:#ed858a;
  --mint:#d5dedc; --crystal:#d85560; --counter:#171d21;
  --station-line:#aeb8bd33;
}
.dark { --ground:#0a0d10; --paper:#e5e4dc; --muted:#a4afb5; --amber:#e17479; --steel:#566168; --counter:#171d21; }
body { background:radial-gradient(ellipse at 85% 4%,#6d252a22,transparent 42%),#0a0d10; color:var(--paper); }
.bunker-nav { border-color:var(--station-line); padding-block:21px; }
.bunker-brand { display:flex; align-items:center; letter-spacing:.13em; font-size:28px; }
.bunker-brand::before { content:""; width:36px; height:36px; margin-right:12px; background:url('/media/starz-badge-small.webp') center/contain no-repeat; }
.bunker-brand span { font-size:9px; letter-spacing:.14em; }
.back-link { color:#aeb8bd; font-size:10px; }
.bunker-main { padding-top:35px; }
.bunker-heading { position:relative; isolation:isolate; align-items:end; min-height:170px; padding:22px 0 27px; border-bottom:1px solid var(--station-line); }
  .bunker-heading::before { content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(90deg,#0a0d10b8 0%,#0a0d1070 30%,#0a0d1030 65%,#0a0d1060 100%),url('/media/starz-operations-lab.webp') center 52%/cover no-repeat; pointer-events:none; }
.eyebrow { color:#e17479; font-size:9px; letter-spacing:.19em; }
.bunker-heading h1 { font-size:clamp(45px,6.5vw,89px); line-height:.9; letter-spacing:-.025em; text-shadow:0 2px 12px #08090acc; }
.bunker-heading h1 span { display:block; color:#d34a50; text-shadow:0 2px 12px #08090acc; }
.heading-note { max-width:270px; font-size:10px; border-left:2px solid #9d363d; padding-left:16px; text-shadow:0 1px 8px #08090a; }
.heading-note strong { color:#e5e4dc; }
.scene-shell { border-color:#717b824d; background:#11171b; box-shadow:0 24px 60px #05080a66; }
.scene-topline { background:#151b1f; border-color:var(--station-line); color:#adb7bc; padding-block:13px; font-size:9px; }
.scene-topline b { color:#e17479; }
.scene { background:linear-gradient(90deg,#10161b 0%,#343b42 31%,#1b232a 50%,#343b42 69%,#10161b),#171d21; }
.scene::after { box-shadow:inset 0 0 65px 5px #070b10aa; background:repeating-linear-gradient(90deg,transparent 0 139px,#0b101477 140px 143px); }
.entrance::before { content:""; position:absolute; inset:16% 0 20%; border-block:1px solid #77828b44; background:linear-gradient(0deg,#070c1133,transparent 50%,#06090d44); pointer-events:none; }
.ceiling { height:48px; background:repeating-linear-gradient(90deg,#10151a 0 8px,#303941 9px 98px); border-color:#12191f; box-shadow:0 8px 0 #76818a33,0 20px 35px #04080b99; }
.pipe { top:72px; height:9px; background:linear-gradient(#879198,#29343d 45%,#141c23); border-color:#11171b; }
.pipe::before,.pipe::after { background:#4b555d; border-color:#1d262d; }
.lamp { background:#d6dddf; box-shadow:0 8px 18px #cad7e022; }
.lamp::after { border-color:#59636b; }
.window { top:26%; width:24%; height:32%; border:9px solid #202a32; border-radius:26px 5px; box-shadow:0 0 0 1px #8e9ba466,0 0 0 5px #11191f,inset 0 0 18px #070b10; background:radial-gradient(ellipse at 74% 110%,#70818f 0 22%,#bac4ca 22.4% 23%,#34434f 23.5% 29%,transparent 29.7%),radial-gradient(circle at 18% 22%,#e0e7e6 0 1px,transparent 1.6px),radial-gradient(circle at 73% 28%,#c0ccd2 0 1px,transparent 1.7px),radial-gradient(circle at 48% 67%,#ced3d5 0 .7px,transparent 1.4px),radial-gradient(circle at 87% 63%,#b2bec8 0 .8px,transparent 1.5px),radial-gradient(circle at 38% 37%,#dce0dc 0 .8px,transparent 1.5px),#080e17; background-size:auto,71px 67px,113px 93px,53px 89px,97px 61px,83px 103px,auto; }
.window.left { left:3%; }
.window.right { right:3%; transform:scaleX(-1); }
.window::before { background:none; box-shadow:inset 0 0 20px #050a10; border:1px solid #adbcc044; }
.window::after { top:0; bottom:0; left:48%; right:auto; width:5px; height:auto; background:linear-gradient(90deg,#151f28,#75818a,#202b34); }
.window-room,.window-figure,.corridor-walker,.corridor-ambient { display:none!important; }
.window-glass { background:linear-gradient(115deg,transparent 20%,#c0d2df10 21% 31%,transparent 32% 65%,#c0d2df09 66%); box-shadow:inset 0 0 12px #04090d88; }
.floor-ground { height:24%; background:repeating-linear-gradient(90deg,transparent 0 95px,#8f9da022 96px 98px),repeating-linear-gradient(0deg,#263038 0 18px,#141d24 19px 21px); border-color:#89969f55; clip-path:polygon(8% 0,92% 0,100% 100%,0 100%); }
.wall-stencil { top:65%; left:5%; color:#c0cbd17a; transform:none; }
.wall-stencil small { color:#9ba7af; }
.warning-sign { right:5%; top:65%; transform:none; border-color:#a7494e; border-left:3px solid #c7353e; background:#171d21; color:#d7b5b7; }
.gate-frame { top:23%; left:33%; width:34%; bottom:17%; border:11px solid #182129; box-shadow:0 0 0 2px #73818a,0 0 0 7px #29343d,0 12px 30px #03070b99; background:#080e13; }
.gate-frame::before { content:""; position:absolute; inset:-8px; border-inline:2px solid #b4434a; pointer-events:none; z-index:2; }
.gate-frame::after { background:repeating-linear-gradient(130deg,#ad3941 0 12px,#1a2229 12px 24px); }
.gate-led { background:#11191e; border:1px solid #74808977; color:#ed858a; font-size:11px; box-shadow:0 0 0 4px #182128; padding:8px 18px; }
.gate-led.allowed { color:#d5dedc; }
.gate { border:4px solid #58656f; background:linear-gradient(90deg,transparent 49%,#090f15 49.4% 50.6%,transparent 51%),repeating-linear-gradient(0deg,#303b44 0 42px,#1b252d 43px 45px,#38444d 46px 48px); transform-origin:center; }
.gate::before { inset:7%; border:1px solid #9aa6ad66; background:linear-gradient(135deg,#10182099,transparent 45%),linear-gradient(45deg,transparent 48%,#7b858a33 49% 51%,transparent 52%); clip-path:polygon(0 0,86% 0,100% 12%,100% 100%,14% 100%,0 88%); box-shadow:none; }
.gate::after { right:7%; top:57%; height:40px; width:9px; background:#c5444c; border:2px solid #111b22; box-shadow:none; }
.gate-plate { top:28%; left:14%; right:14%; padding:16px 3px; background:#141d24; color:#e5e4dc; border:1px solid #7c888f; border-top:3px solid #c7353e; font-size:clamp(24px,3.8vw,49px); box-shadow:0 6px 0 #0a111766; }
.gate-plate small { font-size:clamp(6px,.7vw,9px); color:#aeb8bd; letter-spacing:.12em; }
.gate-action { background:#8f2d35; color:#f1dfdf; bottom:12%; font-size:9px; border:1px solid #d05d6355; padding-block:12px; }
.gate:hover:not(:disabled) .gate-action { color:#f4e9e2; background:#ac3640; }
.gate-frame.opening .gate { transform:translateY(-105%); }
/* Airlock material pass: confined to the entry, with its geometry and hooks retained. */
#entrance {
  background:
    radial-gradient(ellipse at 50% 0%,#c4d0d52e,transparent 57%),
    linear-gradient(90deg,#070c10b8,transparent 27%,#080d1133 50%,transparent 73%,#070c10b8),
    linear-gradient(0deg,#080c10b8,#17202755 48%,#10171b66),
    url('/media/starz-airlock-steel.webp') center/512px 512px;
}
#entrance::before {
  border-block-color:#a4adb02a;
  background:linear-gradient(180deg,#03080c66,transparent 12% 82%,#03080c88);
  box-shadow:0 -1px 0 #03080c99,0 1px 0 #b4bdb419,inset 0 1px 0 #c3cbd51a;
}
#entrance::after {
  background:linear-gradient(90deg,transparent 0 28%,#080d1140 28.1%,#abb5bc17 28.3%,transparent 28.5% 71.5%,#080d1140 71.7%,#abb5bc17 71.9%,transparent 72%);
  box-shadow:inset 0 22px 40px #03080b66,inset 0 -25px 38px #03080b80,inset 24px 0 45px #03080b55,inset -24px 0 45px #03080b55;
}
#entrance .ceiling {
  background:
    repeating-linear-gradient(90deg,transparent 0 97px,#04090ca6 98px 100px,#89939b26 101px 102px),
    linear-gradient(#11171bc9,#222c34a6),
    url('/media/starz-airlock-steel.webp') center/384px;
  border-bottom-color:#10161b;
  box-shadow:0 1px 0 #8d989c66,0 5px 0 #080d11,0 7px 0 #58626840,0 19px 26px #03070aaa;
}
#entrance .pipe {
  background:linear-gradient(#10171c,#899397 16%,#4a555d 29%,#27323a 56%,#131c23 81%,#465159);
  box-shadow:0 3px 5px #03070baa,inset 0 1px 0 #c0c8cb55;
}
#entrance .pipe::before,#entrance .pipe::after {
  background:linear-gradient(90deg,#182128,#5a646a 32%,#39434a 65%,#141c23);
  border-color:#1a242b;
  box-shadow:1px 1px 2px #03070b99,inset 1px 0 0 #a3adb14d;
}
#entrance .lamp {
  background:linear-gradient(#a4b2b7,#e0e5dc 45%,#b3c1c3);
  box-shadow:0 2px 4px #dce6dc55,0 13px 24px #cfdbd630,0 39px 65px #bdcfd522;
}
#entrance .lamp::after { border-color:#303b43; box-shadow:0 -1px 0 #7f8c9255; }
#entrance .window {
  border-color:#293239 #182127 #10171c #38434b;
  background:
    linear-gradient(180deg,#07101826,#0b151b38),
    url('/media/starz-airlock-lunar-view.webp') 28% center/cover no-repeat;
  box-shadow:0 -1px 0 1px #a3afb47a,0 1px 0 2px #070c10,0 0 0 5px #141d23,0 8px 12px #04090c99,inset 0 0 0 3px #050b10,inset 0 8px 16px #02070bdd;
}
#entrance .window.right {
  transform:none;
  background-position:center,82% center;
}
#entrance .window::before {
  border-color:#8e9ba238;
  background:linear-gradient(135deg,#bbcad30b,transparent 35% 80%,#090f1755);
  box-shadow:inset 0 0 0 3px #070d12bb,inset 0 9px 18px #03080bba;
}
#entrance .window::after {
  background:linear-gradient(90deg,#0b1218,#63717a 22%,#34424a 45%,#17232b 78%,#090f15);
  box-shadow:3px 0 5px #02060988;
}
#entrance .window-glass {
  background:linear-gradient(115deg,#cfdee810,transparent 32% 70%,#9baeb509);
  box-shadow:inset 0 -6px 14px #03080c88;
}
#entrance .floor-ground {
  border-top-color:#10171c;
  background:
    radial-gradient(ellipse at 50% 0,#020609bf,transparent 62%),
    linear-gradient(180deg,#03090d77,transparent 38%,#050a0e77),
    repeating-linear-gradient(90deg,transparent 0 95px,#03080c99 96px 97px,#89969d29 98px),
    repeating-linear-gradient(0deg,transparent 0 18px,#03080ca6 19px 20px,#9ba7ab26 21px),
    url('/media/starz-airlock-steel.webp') center/384px;
  box-shadow:inset 0 2px 0 #9ba8ac40,inset 0 16px 25px #03070bcc;
}
#entrance .gate-frame {
  border-color:#505b62 #26323b #172128 #455159;
  background:linear-gradient(90deg,#03080c,#172128 48%,#03080c);
  box-shadow:0 -1px 0 1px #a5b1b680,0 0 0 3px #11191f,0 0 0 6px #344048,0 0 0 7px #0b1218,0 12px 18px #02070bba,inset 0 0 0 3px #04090d,inset 0 0 20px #02070b;
}
#entrance .gate-frame::before {
  border-inline-color:#96383d;
  box-shadow:inset 1px 0 0 #d0797338,1px 0 0 #04090c88;
}
#entrance .gate-frame::after {
  background:
    linear-gradient(#c3c4b333,#03070b88),
    repeating-linear-gradient(130deg,#843239 0 12px,#1c262d 12px 24px);
  border-top:1px solid #8d969252;
  box-shadow:0 3px 0 #070c10,0 6px 9px #03070b88;
}
#entrance .gate {
  border-color:#647078 #2d3942 #1b252d #4a5963;
  background:
    linear-gradient(90deg,transparent 48.8%,#69767c33 49%,#03090ed9 49.5% 50.5%,#8a969d26 51%,transparent 51.2%),
    linear-gradient(180deg,#89969a1c,transparent 25%,#080f1555),
    linear-gradient(90deg,#1b27306b,#2c384155 40%,#18232d80),
    url('/media/starz-airlock-steel.webp') center/384px;
  box-shadow:inset 0 2px 0 #b8c3c438,inset 0 0 0 2px #0c151ccc,inset 0 10px 20px #03080b88,0 0 0 2px #050b10;
}
#entrance .gate::before {
  border-color:#98a5aa3d;
  background:linear-gradient(180deg,#b3c0c40b,transparent 35%,#040b102b);
  box-shadow:inset 1px 1px 0 #03090e99,1px 1px 0 #03090e99;
}
#entrance .gate::after {
  background:linear-gradient(90deg,#5c292d,#ab5051 30%,#81373c 65%,#412329);
  border-color:#101a21;
  box-shadow:1px 1px 0 #9ca8ac38,3px 3px 4px #03080cb3;
}
#entrance .gate-plate {
  border-color:#89969b6b #39464e #18242b #59676e;
  border-top-color:#a04449;
  background:linear-gradient(135deg,#222d34e6,#10191fed),url('/media/starz-airlock-steel.webp') center/256px;
  box-shadow:inset 0 1px 0 #b7c2c51f,0 2px 2px #02070ab3,0 6px 8px #02070a66;
  text-shadow:0 2px 1px #03080c;
}
#entrance .gate-action {
  background:linear-gradient(#933c43,#70282f);
  border-color:#c572754d #53272c #321c23;
  box-shadow:inset 0 1px 0 #dc9c9a26,0 2px 3px #03080b99;
}
#entrance .gate:hover:not(:disabled) .gate-action { background:linear-gradient(#a6484f,#813039); }
#entrance .gate-led {
  background:linear-gradient(#070e13,#162129);
  border-color:#72808866;
  box-shadow:0 0 0 3px #131d24,0 -1px 0 4px #65707855,0 4px 8px #03080b99,inset 0 2px 4px #020609;
}
#entrance .wall-stencil { text-shadow:0 1px 0 #03090c88; }
#entrance .warning-sign {
  background:linear-gradient(145deg,#283038dd,#121b21eb),url('/media/starz-airlock-steel.webp') center/256px;
  box-shadow:inset 0 1px 0 #afb9bc1a,1px 3px 5px #03080b88;
}
.scene-caption { color:#b6c1c8; font-size:8px; }
.access-panel { background:#151d23; border-top:1px solid #697b8755; border-left:3px solid #ac3640; padding:18px 22px; }
.access-copy { color:#b8c1c5; font-size:10px; line-height:1.9; }
.access-copy strong { color:#e17479; }
.text-action { color:#e17479; border-color:#a54249; }
#stationPreviewTour {
  cursor:pointer; padding:12px 16px; border:1px solid #d66b73;
  background:linear-gradient(#84313a,#57232d); color:#fff0ed;
  font:600 11px/1.4 'IBM Plex Mono',monospace; text-align:center;
}
#stationPreviewTour:hover { background:#963d47; }
.scene-footer { color:#98a4ac; font-size:8px; line-height:1.9; }
.inside { background:linear-gradient(90deg,#10171de8,#1d272fd4),url('/media/orbit-outpost-wide.webp') center/cover; }
.inside::before { content:""; position:absolute; inset:13% 3% 12%; background:radial-gradient(circle at 16% 20%,#dce0dc 0 1px,transparent 1.6px) 0 0/67px 83px,#080f18; border:6px solid #313f49; border-radius:45px 5px; opacity:.85; }
.interior-name { color:#c6cfd2; }
.exit-button { background:#172128; border-color:#7d888e; color:#e5e4dc; }
.level { border-color:#1d2830; box-shadow:0 3px 0 #84939e66,0 12px 12px #04090c99; }
.level::before { background:#28343e; box-shadow:0 1px 0 #7d8b9466; }
.level-label { color:#b1bec6; }
.bunker-door,.bunker-door.satchel-door,.bunker-door.market-door,.bunker-door.range-door,.bunker-door.garage-door,.bunker-door.derby-door { border-color:#172129; color:#dfe3e2; background:repeating-linear-gradient(0deg,#35414a 0 2px,#26313a 3px 30px); box-shadow:0 0 0 2px #6c7983,inset 0 0 15px #0c141b; }
.bunker-door::before,.bunker-door.range-door::before,.bunker-door.derby-door::before { border-color:#8c9ba14d; }
.bunker-door::after,.bunker-door.range-door::after { background:#b4434a; box-shadow:none; }
.bunker-door .door-number { color:#c1cbd0; text-shadow:none; }
.bunker-door .door-soon { color:#e5e4dc; background:#141e26ed; border-color:#8c9ba14d; box-shadow:none; }
.bunker-door .door-signal { color:#bdc6cb; text-shadow:none; }
.bunker-door.market-door { box-shadow:0 0 0 2px #b4434a,inset 0 0 15px #0c141b; }
.market-door .door-soon { color:#ed999e; }
.bunker-door:hover,.bunker-door:focus-visible,.bunker-door.range-door:hover,.bunker-door.garage-door:hover,.bunker-door.derby-door:hover { outline-color:#e17479; box-shadow:0 0 0 2px #c55b62,inset 0 0 15px #0c141b; }
.bunker-door:hover .door-soon { color:#efaaaa; }
.catwalk-rail { border-color:#8d9ba5; background:repeating-linear-gradient(90deg,transparent 0 calc(16.66% - 4px),#61727e calc(16.66% - 3px) 16.66%); box-shadow:0 1px 0 #101a21; }
.stairs path { stroke:#99a7b0; }.stairs .stair-support { stroke:#293943; }.stairs .stair-step { stroke:#7c8e9a; }.stairs-label { color:#bdc6cb; }
.derby-track .derby-verge { stroke:#9a8585; }.derby-track .derby-road { stroke:#15202a; }.derby-track .derby-lane { stroke:#c7c3be; }
.market-room { --market-ink:#e5e4dc; --market-muted:#a4afb5; --market-line:#aeb8bd33; --crystal:#d85560; background:#11171b; }
.market-arrival::before { filter:grayscale(.7); }
.market-arrival::after { background:linear-gradient(90deg,#10151bed,#10151b99 40%,#10151b11),linear-gradient(0deg,#11171b,transparent 45%); }
.market-room .eyebrow,.market-room .market-intro .eyebrow { color:#dd858a; }
.market-room h2 span { color:#d85560; }
.market-room .market-inventory h3 { color:#e5e4dc; }
.market-room .market-exchange { background:#1c252d; border-color:#73818a55; border-top-color:#ac3640; }
.market-room .market-button,.market-button { color:#d7dfe2; background:#202b33; border-color:#81909a77; }
.market-room .market-button.primary,.market-button.primary { color:#eeddde; background:#853039; border-color:#bc5058; }
.market-room .market-button:hover:not(:disabled),.market-button:hover:not(:disabled) { color:#f0c8ca; border-color:#df7c82; }
.market-room .market-exchange input { background:#11191f; color:#dfe3e2; border-color:#667881; }
/* The retained legacy market script must not expose sample balances while
   the station's production trade link is disconnected. */
.starz-spacestation .bunker-wallet { display:none!important; background:#171f26; border-color:#71818a44; }
.market-door[aria-disabled="true"] { cursor:not-allowed; }
.market-availability { margin:0; padding:17px 26px; border-bottom:1px solid #a8454d66; border-left:3px solid #c7353e; color:#d5b8bb!important; background:#291b22; font-size:10px!important; line-height:1.8; }
dialog.exchange-dialog,dialog.pu-guide-dialog,dialog.bm-inspector { background:#172027; color:#dfe3e2; border-color:#8c5b61; }
button:focus-visible,a:focus-visible,[tabindex]:focus-visible { outline:2px solid #ed858a; outline-offset:4px; }
@media(max-width:767px) {
  .bunker-main { padding-top:15px; }
  .bunker-heading { min-height:0; padding:21px 0; }
  .bunker-heading h1 { font-size:clamp(26px,8.2vw,62px); overflow-wrap:normal; }
  .bunker-heading::before { inset:0; background-size:100% 100%; background-position:center; }
  .bunker-heading .eyebrow { text-shadow:0 1px 8px #08090a; }
  .heading-note { margin-top:22px; max-width:100%; }
  .scene-topline { font-size:7px; letter-spacing:.06em; }
  .window { top:31%; width:22%; height:23%; border-width:5px; border-radius:17px 3px; }
  .window.left { left:2%; }.window.right { right:2%; }
  .gate-frame { left:29%; width:42%; top:27%; bottom:20%; border-width:7px; }
  .gate-plate { font-size:30px; left:7%; right:7%; padding-block:16px; }
  .gate-action { font-size:7px; padding:11px 2px; }
  .gate-led { font-size:9px; padding:8px 10px; }
  .wall-stencil { left:3%; font-size:20px; top:65%; }
  .warning-sign { right:2%; padding:6px 4px; font-size:7px; top:64%; }
  .scene-caption { font-size:7px; }
  .scene-footer { flex-direction:column; gap:10px; }
  .scene-footer span:last-child { text-align:left; }
  .inside { height:auto; min-height:850px; padding:75px 7% 45px; }
  .inside::before { inset:65px 3% 25px; }
  .floors { margin-left:0; display:block; }
  .level { grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px 20px; padding:32px 9px 22px; margin-top:15px; }
  .level-label { left:8px; top:7px; max-width:none; font-size:8px; }
  .level-label br { display:none; }
  .bunker-door { height:140px; min-height:140px; }
  .door-soon { font-size:9px; }.door-number { font-size:26px; }
  .bunker-door .door-signal { font-size:6px; }
  .stairs { display:none; }.stairs-label { bottom:12px; left:7%; max-width:none; font-size:7px; }
  .catwalk-rail { bottom:5px; height:20px; }
  .access-panel { padding:15px; }.access-copy { font-size:10px; }
  .market-availability { padding:15px; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
}

/* Portal array: compact orbital lab, with physically layered steel emitters. */
#interior.inside {
  --lab-ink:#e4e2d8;
  height:auto;
  min-height:760px;
  padding:92px clamp(20px,4vw,58px) 38px;
  overflow:hidden;
  isolation:isolate;
  background:
    linear-gradient(180deg,#090c1066 0%,#11171e77 62%,#080c10bf 100%),
    url('/media/starz-operations-lab.webp') center/cover;
  content-visibility:auto;
  contain-intrinsic-size:850px;
}
#interior.inside::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  opacity:.3;
  border:0;
  border-radius:0;
  background:
    linear-gradient(90deg,transparent 0 7%,#88949a14 7.1% 7.25%,transparent 7.4% 92.6%,#88949a14 92.75% 92.9%,transparent 93%),
    linear-gradient(180deg,transparent 0 22%,#88949a16 22.2% 22.5%,transparent 22.7% 83%,#a8b3ba18 83.2% 83.5%,transparent 83.7%),
    radial-gradient(ellipse at 50% 100%,#8c9ba21a,transparent 58%),
    repeating-linear-gradient(90deg,#0b1117 0 70px,#28323a 71px 73px,#12191f 74px 146px);
  box-shadow:inset 0 0 90px #030609;
}
#interior.inside::after {
  pointer-events:none;
  z-index:0;
  background:
    linear-gradient(180deg,#05090d55,transparent 18% 78%,#04080c8c),
    repeating-linear-gradient(0deg,transparent 0 59px,#afb9be0a 60px 61px);
  box-shadow:inset 0 0 80px #030609ad;
}
#interior .interior-name,
#interior .interior-subtitle,
#interior .exit-button,
#interior .portal-array,
#interior .lab-console { z-index:2; }
#interior .interior-name {
  top:27px;
  left:clamp(20px,4vw,58px);
  color:#e1e1d8;
  font:600 11px/1.2 'IBM Plex Mono',monospace;
  letter-spacing:.15em;
}
#interior .interior-subtitle {
  position:absolute;
  top:47px;
  left:clamp(20px,4vw,58px);
  margin:0;
  color:#859198;
  font:500 8px/1.4 'IBM Plex Mono',monospace;
  letter-spacing:.14em;
}
#interior .interior-subtitle span { color:#d1565c; padding-inline:5px; }
#interior .exit-button {
  top:21px;
  right:clamp(20px,4vw,58px);
  padding:10px 13px;
  border-color:#707d83;
  background:linear-gradient(#252d33,#141b20);
  color:#d5d8d5;
  font:600 8px 'IBM Plex Mono',monospace;
  letter-spacing:.08em;
}
#interior .portal-array {
  position:relative;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:30px clamp(14px,2.4vw,34px);
  margin:0;
  padding:12px 0 25px;
}
#interior .portal-station {
  position:relative;
  min-width:0;
  padding:0;
  --portal:#8d989c;
}
#interior .portal-sign {
  position:relative;
  display:flex;
  min-height:58px;
  flex-direction:column;
  justify-content:end;
  align-items:center;
  gap:4px;
  margin:0 5px 11px;
  padding:8px 5px;
  border:1px solid #77838a45;
  border-top:2px solid color-mix(in srgb,var(--portal) 70%,#d8dbd1);
  background:linear-gradient(145deg,#20282ddf,#10161bdc);
  box-shadow:0 5px 14px #03060870,inset 0 1px #d4dcdd15;
  text-align:center;
  color:#e4e2d8;
}
#interior .portal-sign::before,
#interior .portal-sign::after {
  content:"";
  position:absolute;
  top:50%;
  width:5px;
  height:5px;
  border:1px solid #8d989a;
  border-radius:50%;
  background:#161d21;
}
#interior .portal-sign::before { left:6px; }
#interior .portal-sign::after { right:6px; }
#interior .portal-index,
#interior .portal-sign small {
  color:#9ba7ab;
  font:500 7px/1.2 'IBM Plex Mono',monospace;
  letter-spacing:.11em;
}
#interior .portal-sign strong {
  max-width:100%;
  font:600 clamp(11px,1.15vw,15px)/1 'Barlow Condensed',sans-serif;
  letter-spacing:.1em;
}
#interior .portal-live .portal-sign strong { color:#f0eee5; }
#interior .portal-offline .portal-sign strong { color:#aeb5b5; }
#interior .bunker-door,
#interior .bunker-door.satchel-door,
#interior .bunker-door.market-door,
#interior .bunker-door.range-door,
#interior .bunker-door.garage-door,
#interior .bunker-door.derby-door {
  display:flex;
  position:relative;
  isolation:isolate;
  width:100%;
  height:auto;
  min-height:0;
  max-height:none;
  aspect-ratio:1.08;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:9px;
  overflow:hidden;
  padding:10px;
  border:1px solid #758188;
  border-radius:4px;
  background:
    linear-gradient(145deg,#303a40,#141a1f 45%,#252d33 70%,#11171b);
  box-shadow:0 10px 0 #080b0e,0 12px 20px #030608bd,inset 0 1px #e5e9e51c,inset 0 -4px 0 #080c10;
  color:#dfe2df;
  cursor:pointer;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
#interior .bunker-door::before {
  inset:5px;
  z-index:-1;
  border:1px solid #d1d6d31a;
  background:linear-gradient(140deg,#ffffff05,transparent 40%,#05080b25);
  box-shadow:inset 0 0 0 1px #080c1055;
}
#interior .bunker-door::after { display:none; }
#interior .portal-hardware {
  position:relative;
  display:grid;
  width:min(78%,170px);
  aspect-ratio:1;
  place-items:center;
  flex:none;
  filter:drop-shadow(0 8px 8px #030608b3);
}
#interior .portal-ring {
  position:absolute;
  inset:4%;
  display:grid;
  place-items:center;
  border:4px solid #47535a;
  border-radius:50%;
  background:
    conic-gradient(from 15deg,#76828a,#323d44 11%,#b5bec0 13%,#39444b 17%,#65717a 49%,#1d262c 52%,#839095 76%,#303a40 82%,#66747a);
  box-shadow:0 0 0 3px #11171b,0 0 0 5px #7b8588aa,inset 0 0 0 4px #172026,inset 0 0 13px #030609;
}
#interior .portal-ring::before {
  content:"";
  position:absolute;
  inset:9%;
  border:2px solid color-mix(in srgb,var(--portal) 65%,#29333a);
  border-radius:50%;
  box-shadow:inset 0 0 9px #020406,0 0 8px color-mix(in srgb,var(--portal) 42%,transparent);
}
#interior .portal-ring::after {
  content:"";
  position:absolute;
  inset:17%;
  border:1px solid #b5c0c155;
  border-radius:50%;
  background:
    radial-gradient(ellipse at 50% 65%,color-mix(in srgb,var(--portal) 83%,#10181e) 0%,color-mix(in srgb,var(--portal) 45%,#0a1016) 38%,#0b1118 74%),
    #0c1218;
  box-shadow:inset 0 0 15px #030609,inset 0 0 0 4px #46535a55;
}
#interior .portal-ring i {
  position:absolute;
  z-index:1;
  inset:22%;
  overflow:hidden;
  border-radius:50%;
  background:
    radial-gradient(ellipse at 50% 78%,color-mix(in srgb,var(--portal) 74%,#d4ddd5) 0%,color-mix(in srgb,var(--portal) 55%,#11171c) 35%,#070c11 74%);
  box-shadow:inset 0 0 17px #05080baa;
}
#interior .portal-live .portal-ring i::before,
#interior .portal-live .portal-ring i::after {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
}
#interior .portal-live .portal-ring i::before {
  inset:-48%;
  border-radius:50%;
  background:
    conic-gradient(from 0deg,
      transparent 0 35deg,
      color-mix(in srgb,var(--portal) 32%,transparent) 52deg,
      color-mix(in srgb,var(--portal) 62%,#dbe6df) 68deg,
      transparent 94deg 194deg,
      color-mix(in srgb,var(--portal) 42%,transparent) 226deg,
      transparent 265deg 360deg);
  opacity:.52;
  mix-blend-mode:screen;
  mask-image:radial-gradient(circle,#000 18% 65%,transparent 84%);
  animation:portal-swirl 28s linear infinite;
}
#interior .portal-live .portal-ring i::after {
  inset:15%;
  border:1px solid color-mix(in srgb,var(--portal) 64%,#e1e8df);
  border-radius:50%;
  box-shadow:0 0 7px color-mix(in srgb,var(--portal) 24%,transparent),inset 0 0 5px color-mix(in srgb,var(--portal) 20%,transparent);
  opacity:0;
  animation:portal-ripple 5.8s ease-out infinite;
}
#interior .portal-base {
  position:absolute;
  left:14%;
  right:14%;
  bottom:1%;
  height:13%;
  border:1px solid #889398;
  border-radius:3px 3px 8px 8px;
  background:linear-gradient(180deg,#677279,#252e34 45%,#11171c 48%,#3a454b);
  box-shadow:0 4px 0 #070a0d,inset 0 1px #e1e4df66;
}
#interior .portal-status {
  display:block;
  position:relative;
  z-index:2;
  padding:4px 8px;
  border:1px solid #75828955;
  background:#0b1015d9;
  color:#9da9ad;
  font:600 7px/1 'IBM Plex Mono',monospace;
  letter-spacing:.12em;
}
#interior .portal-live .portal-status {
  border-color:color-mix(in srgb,var(--portal) 68%,#4a5356);
  color:color-mix(in srgb,var(--portal) 52%,#fff);
}
#interior .portal-live .portal-ring,
#interior .portal-live .portal-ring i { animation:portal-current 7s ease-in-out infinite alternate; }
#interior .portal-station:nth-child(2) .portal-ring,
#interior .portal-station:nth-child(2) .portal-ring i { animation-delay:-1.4s; }
#interior .portal-station:nth-child(3) .portal-ring,
#interior .portal-station:nth-child(3) .portal-ring i { animation-delay:-2.6s; }
#interior .portal-station:nth-child(4) .portal-ring,
#interior .portal-station:nth-child(4) .portal-ring i { animation-delay:-3.8s; }
#interior .portal-station:nth-child(5) .portal-ring,
#interior .portal-station:nth-child(5) .portal-ring i { animation-delay:-5s; }
#interior .portal-station:nth-child(2) .portal-ring i::after { animation-delay:-1.2s; }
#interior .portal-station:nth-child(3) .portal-ring i::after { animation-delay:-2.5s; }
#interior .portal-station:nth-child(4) .portal-ring i::after { animation-delay:-3.7s; }
#interior .portal-station:nth-child(5) .portal-ring i::after { animation-delay:-4.9s; }
@keyframes portal-current {
  from { filter:brightness(.91); transform:scale(.99); }
  to { filter:brightness(1.1); transform:scale(1.015); }
}
@keyframes portal-swirl {
  to { transform:rotate(1turn); }
}
@keyframes portal-ripple {
  0% { opacity:0; transform:scale(.46); }
  14% { opacity:.25; }
  62% { opacity:.13; }
  100% { opacity:0; transform:scale(1.28); }
}
#interior[hidden] .portal-live .portal-ring i::before,
#interior[hidden] .portal-live .portal-ring i::after {
  animation-play-state:paused;
}
#interior .portal-live .bunker-door:hover,
#interior .portal-live .bunker-door:focus-visible {
  transform:translateY(-3px);
  border-color:color-mix(in srgb,var(--portal) 74%,#dce0da);
  box-shadow:0 13px 0 #080b0e,0 16px 23px #030608c9,0 0 16px color-mix(in srgb,var(--portal) 25%,transparent),inset 0 1px #e5e9e51c;
}
#interior .portal-live .bunker-door:focus-visible { outline:2px solid var(--portal); outline-offset:4px; }
#interior .portal-offline .bunker-door {
  border-color:#434d52;
  background:linear-gradient(145deg,#20272b,#11171b 50%,#1c2328);
  box-shadow:0 10px 0 #080b0e,0 12px 19px #030608aa,inset 0 1px #e5e9e50d,inset 0 -4px 0 #080c10;
  cursor:not-allowed;
}
#interior .portal-offline .portal-ring {
  border-color:#3d474d;
  background:conic-gradient(#4b555a,#252d32 14%,#677176 16%,#252d32 22%,#414b50 64%,#252d32 67%,#515b60);
  filter:grayscale(.8) brightness(.56);
  box-shadow:0 0 0 3px #11171b,0 0 0 5px #59626766,inset 0 0 0 4px #172026,inset 0 0 13px #030609;
}
#interior .portal-offline .portal-ring::before { border-color:#586268; box-shadow:inset 0 0 10px #020406; }
#interior .portal-offline .portal-ring::after,
#interior .portal-offline .portal-ring i {
  background:radial-gradient(circle,#11171b,#0b1014 68%);
  box-shadow:inset 0 0 18px #030609;
}
#interior .portal-offline .portal-base { filter:grayscale(.8) brightness(.65); }
#interior .portal-offline .portal-offline-mark {
  position:absolute;
  z-index:2;
  top:42%;
  padding:5px 8px;
  border:1px solid #626c70;
  background:#10161be8;
  color:#a8b0b1;
  font:600 7px/1.3 'IBM Plex Mono',monospace;
  letter-spacing:.14em;
  text-align:center;
}
#interior .market-door[aria-disabled="true"] { cursor:not-allowed; }
#interior .lab-console {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:3px;
  padding:11px 15px;
  border:1px solid #75808755;
  border-left:3px solid #ad3c44;
  background:linear-gradient(90deg,#1c2429,#0d1318);
  color:#aab4b7;
  font:500 7px 'IBM Plex Mono',monospace;
  letter-spacing:.12em;
}
#interior .lab-console i {
  width:5px;
  height:5px;
  margin-left:auto;
  border-radius:50%;
  background:#9fc2ac;
  box-shadow:0 0 7px #9fc2ac77;
}
#interior .lab-console b { color:#d1d8d3; font-weight:500; }
#interior .derby-track { display:none!important; }
@media(max-width:767px) {
  #interior.inside {
    min-height:0;
    padding:106px 18px 25px;
    overflow:visible;
    contain-intrinsic-size:1100px;
  }
  #interior .interior-name { top:22px; left:18px; max-width:52%; font-size:9px; }
  #interior .interior-subtitle { top:62px; left:18px; right:18px; font-size:6px; }
  #interior .exit-button { top:17px; right:16px; padding:8px; font-size:7px; }
  #interior .portal-array { grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 14px; padding:5px 0 18px; }
  #interior .portal-sign { min-height:54px; margin-inline:2px; gap:3px; }
  #interior .portal-index,#interior .portal-sign small { font-size:6px; }
  #interior .portal-sign strong { font-size:12px; }
  #interior .bunker-door,
  #interior .bunker-door.satchel-door,
  #interior .bunker-door.market-door,
  #interior .bunker-door.range-door,
  #interior .bunker-door.garage-door,
  #interior .bunker-door.derby-door { aspect-ratio:1.02; min-height:145px; padding:8px; }
  #interior .portal-hardware { width:min(78%,145px); }
  #interior .portal-status { font-size:6px; }
  #interior .lab-console { font-size:6px; padding:10px 8px; letter-spacing:.06em; }
}
@media(prefers-reduced-motion:reduce) {
  #interior .portal-live .portal-ring,
  #interior .portal-live .portal-ring i { animation:none!important; }
  #interior .portal-live .portal-ring i::before,
  #interior .portal-live .portal-ring i::after { animation:none!important; }
}
