/* Eight Twelve Bridge 2026 — Starship Console styles, ported verbatim from the
   approved design artifact (console concept). Scoped to #c-console.
   One adaptation: .scene height offset 176px -> 56px (the artifact's picker
   chrome does not exist on the live site). */
#c-console{--bg:#070a2a;--panel:#141a4d;--line:#2c3577;--ink:#eef1ff;--tan:#ff9c41;--sky:#8ec9ff;--peach:#ffc9a3;--lil:#c99aff;--grn:#7be495;position:relative;background:radial-gradient(900px 500px at 85% -80px,rgba(80,90,220,.35),transparent 60%),radial-gradient(700px 500px at -10% 60%,rgba(255,120,60,.14),transparent 60%),#05061a;color:var(--ink);font-family:'Rajdhani',sans-serif;padding:12px}
#c-console .orb{font-family:'Orbitron',sans-serif}
/* ===== THE ROOM ===== */
#c-console .scene{--px:0;--py:0;position:relative;max-width:1360px;margin:0 auto;height:clamp(640px,calc(100dvh - 56px),940px);min-height:620px;border-radius:30px;overflow:hidden;background:linear-gradient(180deg,#0a0e33 0%,#10153c 46%,#0a0d2c 72%,#060818 100%);border:3px solid var(--line);box-shadow:0 34px 80px rgba(0,0,0,.6),inset 0 0 120px rgba(10,16,60,.55)}
#c-console .layer{position:absolute;inset:0;will-change:transform;pointer-events:none}
#c-console .layer button,#c-console .layer a,#c-console .nd{pointer-events:auto}
#c-console .layer-room{transform:translate3d(calc(var(--px)*3px),calc(var(--py)*2px),0);z-index:1}
#c-console .layer-floor{transform:translate3d(calc(var(--px)*6px),calc(var(--py)*3px),0);z-index:2}
#c-console .layer-fore{transform:translate3d(calc(var(--px)*12px),calc(var(--py)*6px),0);z-index:3}
/* ceiling */
#c-console .ceil{position:absolute;top:0;left:0;right:0;height:64px;background:linear-gradient(180deg,#05061c,#0d1238);border-bottom:2px solid #232a63;display:flex;align-items:center;justify-content:center;gap:14px}
#c-console .ceil i{display:block;height:10px;border-radius:99px;background:linear-gradient(90deg,rgba(160,190,255,.12),rgba(190,215,255,.85),rgba(160,190,255,.12));box-shadow:0 0 18px rgba(140,180,255,.5)}
#c-console .ceil i:nth-child(1){width:16%}#c-console .ceil i:nth-child(2){width:30%}#c-console .ceil i:nth-child(3){width:16%}
#c-console .ceil .cship{position:absolute;left:18px;font-family:'Orbitron',sans-serif;font-weight:900;font-size:11px;letter-spacing:.14em;background:var(--tan);color:#2a1500;border-radius:8px 20px 20px 8px;padding:7px 15px 7px 11px;white-space:nowrap}
#c-console .ceil .cship b{color:#7a2d00}
#c-console .ceil .cdate{position:absolute;right:18px;font-family:'Orbitron',sans-serif;font-size:10px;letter-spacing:.16em;color:var(--peach);white-space:nowrap}
#c-console .lites{position:absolute;right:296px;display:flex;gap:7px}
@media(max-width:1260px){#c-console .lites{display:none}}
#c-console .lite{width:10px;height:10px;border-radius:50%;animation:cnblink 1.8s ease-in-out infinite}
#c-console .lite.g{background:#59e07f;box-shadow:0 0 9px #59e07f}
#c-console .lite.a{background:#ffb02e;box-shadow:0 0 9px #ffb02e;animation-delay:.6s}
#c-console .lite.s{background:#6db3f2;box-shadow:0 0 9px #6db3f2;animation-delay:1.2s}
@keyframes cnblink{0%,100%{opacity:1}50%{opacity:.25}}
/* ribs / columns */
#c-console .rib{position:absolute;top:64px;bottom:30%;width:34px;background:linear-gradient(90deg,#0d1238,#232a63 45%,#39448f 55%,#0d1238);border-left:2px solid #39448f;border-right:2px solid #05061c}
#c-console .rib::after{content:"";position:absolute;top:8%;bottom:8%;left:50%;width:5px;transform:translateX(-50%);border-radius:99px;background:linear-gradient(180deg,transparent,rgba(160,195,255,.75),transparent)}
#c-console .rib-l{left:19.5%}#c-console .rib-r{right:19.5%}
/* side-wall stations (periphery) */
#c-console .wallstn{position:absolute;top:110px;width:16.5%;min-width:150px;background:linear-gradient(160deg,#171e57,#0a0e33);border:2px solid var(--line);border-radius:18px;padding:13px 14px;box-shadow:inset 0 0 30px rgba(0,0,0,.5)}
#c-console .wall-l{left:1.6%;transform:perspective(900px) rotateY(16deg);transform-origin:right center}
#c-console .wall-r{right:1.6%;transform:perspective(900px) rotateY(-16deg);transform-origin:left center;text-align:left}
#c-console .wallstn .wk{font-family:'Orbitron',sans-serif;font-size:9px;letter-spacing:.22em;color:#8b95cc;text-transform:uppercase}
#c-console .wallstn .wv{font-family:'IBM Plex Mono',monospace;font-size:12.5px;color:#fff;margin-top:4px;line-height:1.5}
#c-console .wallstn .wv em{font-style:normal;color:var(--tan)}
#c-console .wallstn .wrow{margin-top:11px;padding-top:10px;border-top:1px dashed #2c3577}
#c-console .minibars{display:flex;gap:3px;margin-top:9px}
#c-console .minibars i{flex:1;height:8px;border-radius:3px;background:#2c3577}
#c-console .minibars i.on1{background:var(--tan)}#c-console .minibars i.on2{background:var(--sky)}#c-console .minibars i.on3{background:var(--grn)}
#c-console .eq{display:flex;gap:4px;align-items:flex-end;height:34px;margin-top:9px}
#c-console .eq i{flex:1;background:linear-gradient(180deg,var(--sky),#2c5aa8);border-radius:3px 3px 0 0;animation:cneq 2.6s ease-in-out infinite alternate;transform-origin:bottom}
#c-console .eq i:nth-child(1){height:45%}#c-console .eq i:nth-child(2){height:70%;animation-delay:.3s}#c-console .eq i:nth-child(3){height:55%;animation-delay:.6s}#c-console .eq i:nth-child(4){height:88%;animation-delay:.15s}#c-console .eq i:nth-child(5){height:64%;animation-delay:.8s}#c-console .eq i:nth-child(6){height:78%;animation-delay:.45s}#c-console .eq i:nth-child(7){height:50%;animation-delay:1s}
@keyframes cneq{from{transform:scaleY(.72)}to{transform:scaleY(1)}}
/* turbolift hint */
#c-console .lift{position:absolute;left:1.6%;top:344px;width:52px;height:150px;border:2px solid #39448f;border-radius:6px 26px 26px 6px;background:linear-gradient(90deg,#0d1238,#1a2060 60%,#0d1238);opacity:.85}
#c-console .lift::before{content:"";position:absolute;top:8px;bottom:8px;left:50%;width:2px;background:#39448f}
#c-console .lift::after{content:"TURBOLIFT";position:absolute;top:-20px;left:50%;transform:translateX(-50%);font-family:'Orbitron',sans-serif;font-size:7.5px;letter-spacing:.2em;color:#8b95cc;white-space:nowrap}
/* ===== FRONT WALL · MAIN VIEWSCREEN ===== */
#c-console .vs-frame{position:absolute;top:84px;left:50%;transform:translateX(-50%);width:57%;max-width:760px}
#c-console .vs-elbows{display:flex;gap:6px;margin-bottom:7px}
#c-console .vs-elbows i{display:block;height:13px;border-radius:99px}
#c-console .vs-elbows i:nth-child(1){background:var(--tan);flex:0 0 34%}
#c-console .vs-elbows i:nth-child(2){background:var(--sky);flex:0 0 22%}
#c-console .vs-elbows i:nth-child(3){background:var(--lil);flex:1}
#c-console .vscreen{position:relative;height:clamp(220px,32vh,300px);border-radius:20px;overflow:hidden;background:radial-gradient(900px 400px at 78% -10%,rgba(96,80,220,.4),transparent 55%),radial-gradient(600px 340px at 8% 110%,rgba(255,120,60,.15),transparent 55%),#04061a;border:3px solid #39448f;box-shadow:0 24px 50px rgba(0,0,0,.5),inset 0 0 80px rgba(20,40,140,.5),inset 0 0 14px rgba(0,0,0,.9)}
#c-console .starlayer{position:absolute;inset:-24px;pointer-events:none;animation:stardrift 34s ease-in-out infinite alternate}
#c-console .starlayer i{position:absolute;border-radius:50%;background:#fff;display:block}
@keyframes stardrift{from{transform:translate(0,0)}to{transform:translate(-20px,9px)}}
#c-console .vs-scan{position:absolute;inset:0;pointer-events:none;z-index:5;background:repeating-linear-gradient(0deg,rgba(160,200,255,.05) 0 2px,transparent 2px 5px)}
#c-console .vs-flash{position:absolute;inset:0;pointer-events:none;z-index:6;opacity:0;background:radial-gradient(circle at 50% 45%,rgba(190,220,255,.5),transparent 65%)}
#c-console .vs-flash.go{animation:vsflash .5s ease-out}
@keyframes vsflash{0%{opacity:0}30%{opacity:.55}100%{opacity:0}}
#c-console .vs-label{display:flex;justify-content:space-between;gap:10px;margin-top:8px;font-family:'IBM Plex Mono',monospace;font-size:10px;letter-spacing:.18em;color:rgba(160,180,255,.75);text-transform:uppercase}
#c-console .vs-label b{color:var(--peach);font-weight:600}
/* viewscreen slides (headline layer) */
#c-console .vs-scr{position:absolute;inset:0;padding:20px 26px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;transform:translateX(103%);pointer-events:none;transition:transform .55s cubic-bezier(.22,.9,.26,1);z-index:2}
#c-console .vs-scr.on{transform:translateX(0);pointer-events:auto;z-index:3}
#c-console .vs-scr.off-l{transform:translateX(-103%)}
#c-console .vs-scr.noanim{transition:none}
#c-console .vsk{font-family:'Orbitron',sans-serif;font-size:10px;letter-spacing:.26em;text-transform:uppercase;font-weight:700}
#c-console .vs-scr h2{font-family:'Orbitron',sans-serif;font-weight:900;font-size:clamp(24px,3.6vw,40px);line-height:1.08;margin:9px 0 0}
#c-console .vs-sub{margin-top:9px;font-size:clamp(13.5px,1.6vw,16.5px);color:#c9d2ff;font-weight:500;max-width:44ch;line-height:1.5}
#c-console .mark{font-family:'Orbitron',sans-serif;font-weight:900;font-size:clamp(58px,8.5vw,104px);line-height:.95;text-shadow:0 0 44px rgba(120,150,255,.55)}
#c-console .mark span{color:var(--tan)}
#c-console .mark-sub{font-family:'Orbitron',sans-serif;font-size:10px;letter-spacing:.42em;text-transform:uppercase;color:var(--sky);margin-top:9px}
#c-console .vs-planets{display:flex;gap:clamp(14px,3vw,30px);margin-top:16px;align-items:flex-start}
#c-console .pl{display:flex;flex-direction:column;align-items:center;gap:7px;background:none;border:0;color:#fff;cursor:pointer;font-family:'Orbitron',sans-serif;font-size:10px;letter-spacing:.14em;font-weight:700}
#c-console .pl i{width:clamp(46px,6vw,68px);height:clamp(46px,6vw,68px);border-radius:50%;display:block;box-shadow:0 0 26px rgba(120,150,255,.35);transition:transform .18s ease}
#c-console .pl:hover i{transform:scale(1.08)}
#c-console .pl:focus-visible{outline:3px solid #fff;outline-offset:3px;border-radius:12px}
#c-console .pl-snap i{background:radial-gradient(circle at 34% 30%,#ffe9c4,#ffb066 55%,#e56f1f)}
#c-console .pl-zip i{background:radial-gradient(circle at 34% 30%,#eaf7ff,#6db3f2 55%,#3f7fd0)}
#c-console .pl-scs i{background:radial-gradient(circle at 34% 30%,#eafff1,#5fd68a 52%,#38a8d8)}
#c-console .vs-disc{width:clamp(86px,11vw,128px);height:clamp(86px,11vw,128px);border-radius:50%;object-fit:cover;border:5px solid rgba(255,255,255,.92);box-shadow:0 16px 40px rgba(0,0,0,.55);margin-bottom:6px}
#c-console .vs-letter{width:clamp(86px,11vw,128px);height:clamp(86px,11vw,128px);border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:'Orbitron',sans-serif;font-weight:900;font-size:clamp(38px,5vw,56px);color:#0b0f2c;box-shadow:0 16px 40px rgba(0,0,0,.55);margin-bottom:6px}
#c-console .vs-rings{width:92px;height:92px;border-radius:50%;border:3px solid var(--grn);box-shadow:0 0 0 14px rgba(62,207,122,.14),0 0 0 30px rgba(62,207,122,.06);display:flex;align-items:center;justify-content:center;font-family:'Orbitron',sans-serif;font-weight:900;font-size:30px;color:var(--grn);margin-bottom:8px}
/* ===== BRIDGE FLOOR (mid-distance) ===== */
#c-console .floor{position:absolute;left:6%;right:6%;bottom:35%;height:22%;background:linear-gradient(180deg,rgba(46,54,120,.0),rgba(38,32,84,.55) 30%,rgba(20,16,54,.9));clip-path:polygon(16% 0,84% 0,100% 100%,0 100%);border-top:2px solid rgba(140,160,255,.25)}
#c-console .floor::before{content:"";position:absolute;left:50%;top:0;bottom:0;width:130px;transform:translateX(-50%);background:linear-gradient(180deg,rgba(255,156,65,.20),rgba(255,156,65,.03));clip-path:polygon(38% 0,62% 0,100% 100%,0 100%)}
#c-console .floor::after{content:"";position:absolute;left:12%;right:12%;top:38%;height:2px;background:rgba(140,160,255,.22);box-shadow:0 34px 0 rgba(140,160,255,.14),0 68px 0 rgba(140,160,255,.08)}
#c-console .floor-cap{position:absolute;left:50%;bottom:calc(35% + 6px);transform:translateX(-50%);font-family:'IBM Plex Mono',monospace;font-size:9.5px;letter-spacing:.3em;color:rgba(160,180,255,.55);text-transform:uppercase;white-space:nowrap}
/* ===== FOREGROUND CONSOLES ===== */
#c-console .fore-wrap{position:absolute;left:0;right:0;bottom:0;height:40%;min-height:252px}
/* twin (empty) console */
#c-console .twin{position:absolute;left:1.2%;bottom:6px;width:25%;height:88%;transform:rotate(1.6deg);opacity:.82}
#c-console .twin .tbody{position:absolute;inset:0;background:linear-gradient(180deg,#232a63,#11163f 60%,#0a0e33);clip-path:polygon(7% 0,93% 0,100% 100%,0 100%);border-top:3px solid #39448f}
#c-console .twin .tdisp{position:absolute;left:12%;right:12%;top:13%;height:42%;background:#05081f;border:2px solid #232a63;border-radius:10px;overflow:hidden}
#c-console .twin .tdisp i{position:absolute;left:10%;right:10%;height:7px;border-radius:99px;background:#232a63}
#c-console .twin .tdisp i:nth-child(1){top:22%;right:38%;background:#31508f}
#c-console .twin .tdisp i:nth-child(2){top:46%;right:22%}
#c-console .twin .tdisp i:nth-child(3){top:70%;right:48%;background:#5a3a17}
#c-console .twin .tkeys{position:absolute;left:14%;right:14%;bottom:12%;display:flex;gap:6px}
#c-console .twin .tkeys i{flex:1;height:16px;border-radius:6px 14px 14px 6px;background:#232a63}
#c-console .twin .tkeys i:nth-child(1){background:#4a3517}#c-console .twin .tkeys i:nth-child(3){background:#274a75}
#c-console .twin .tlab{position:absolute;left:0;right:0;top:-21px;text-align:center;font-family:'Orbitron',sans-serif;font-size:8.5px;letter-spacing:.24em;color:#69719f;text-transform:uppercase}
/* visitor's own console */
#c-console .mycon{position:absolute;right:1.6%;bottom:0;width:69%;height:100%}
#c-console .mycon .mbody{position:absolute;inset:0;background:linear-gradient(180deg,#2a3170,#151a49 55%,#0b0f31);clip-path:polygon(3.5% 0,96.5% 0,100% 100%,0 100%);box-shadow:inset 0 3px 0 #4a58b8}
#c-console .mycon .mtop{position:absolute;left:6%;right:6%;top:10px;display:flex;justify-content:space-between;align-items:center;gap:10px}
#c-console .mycon .mtop .mk{font-family:'Orbitron',sans-serif;font-size:9px;letter-spacing:.24em;color:#8b95cc;text-transform:uppercase}
#c-console .mycon .mtop .seg{display:flex;gap:5px}
#c-console .mycon .mtop .seg i{width:30px;height:8px;border-radius:99px;display:block}
/* near display */
#c-console .nd{position:absolute;left:6%;right:6%;top:30px;height:calc(100% - 88px);min-height:118px;background:#04061a;border:2px solid #39448f;border-radius:14px;overflow:hidden;box-shadow:inset 0 0 40px rgba(20,40,140,.45)}
#c-console .nd-scr{position:absolute;inset:0;padding:12px 18px;overflow-y:auto;transform:translateX(103%);pointer-events:none;transition:transform .55s cubic-bezier(.22,.9,.26,1);z-index:2;scrollbar-width:thin}
#c-console .nd-scr.on{transform:translateX(0);pointer-events:auto;z-index:3}
#c-console .nd-scr.off-l{transform:translateX(-103%)}
#c-console .nd-scr.noanim{transition:none}
#c-console .vs-scr.parked,#c-console .nd-scr.parked{display:none}
#c-console .nd::after{content:"";position:absolute;left:0;right:0;bottom:0;height:14px;background:linear-gradient(180deg,transparent,rgba(4,6,26,.55));pointer-events:none;z-index:4}
#c-console .nd-scr::-webkit-scrollbar{width:5px}
#c-console .nd-scr::-webkit-scrollbar-thumb{background:#39448f;border-radius:99px}
#c-console .nd-scr .nk{font-family:'Orbitron',sans-serif;font-size:9.5px;letter-spacing:.22em;text-transform:uppercase;font-weight:700}
#c-console .nd-scr h3{font-family:'Orbitron',sans-serif;font-weight:900;font-size:clamp(16px,2vw,21px);margin:5px 0 0;line-height:1.15}
#c-console .nd-scr p{font-size:14.5px;line-height:1.55;color:#c9d2ff;font-weight:500;margin:6px 0 0;max-width:62ch}
#c-console .nd-scr p strong{color:#fff}
#c-console .facts{display:flex;gap:7px;flex-wrap:wrap;margin:11px 0 12px}
#c-console .facts span{background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.3);border-radius:999px;padding:5px 12px;font-size:12.5px;font-weight:600}
#c-console .visit{display:inline-flex;align-items:center;gap:7px;font-weight:700;text-decoration:none;border-bottom:2px solid currentColor;padding-bottom:2px;font-size:15.5px}
#c-console .backbtn{border:2px solid var(--line);background:rgba(13,18,56,.8);color:#c9d2ff;border-radius:999px;padding:6px 14px;font-family:'Orbitron',sans-serif;font-size:10.5px;letter-spacing:.14em;font-weight:700;cursor:pointer;margin-bottom:9px}
#c-console .backbtn:hover{border-color:#fff;color:#fff}
#c-console .backbtn:focus-visible{outline:3px solid #fff;outline-offset:2px}
#c-console .tgtrow{display:flex;gap:9px;flex-wrap:wrap;margin-top:11px}
#c-console .tgt{border:2px solid;border-radius:999px;background:rgba(10,14,51,.72);color:#fff;font-family:'Orbitron',sans-serif;font-weight:700;font-size:11.5px;letter-spacing:.1em;padding:9px 16px;display:inline-flex;align-items:center;gap:9px;cursor:pointer;transition:transform .16s ease,background .16s ease}
#c-console .tgt i{width:11px;height:11px;border-radius:50%;flex:none;box-shadow:0 0 10px currentColor}
#c-console .tgt:hover{transform:translateY(-2px);background:rgba(30,38,96,.85)}
#c-console .tgt:focus-visible{outline:3px solid #fff;outline-offset:2px}
#c-console .tgt.t-snap{border-color:var(--tan);color:#ffd9ae}#c-console .tgt.t-snap i{background:var(--tan)}
#c-console .tgt.t-zip{border-color:var(--sky);color:#cfe8ff}#c-console .tgt.t-zip i{background:var(--sky)}
#c-console .tgt.t-scs{border-color:var(--grn);color:#c9f5da}#c-console .tgt.t-scs i{background:var(--grn)}
#c-console .pfrow{display:flex;flex-direction:column;gap:8px;margin-top:11px}
#c-console .pfrow .pf{display:flex;align-items:center;gap:12px;text-align:left;border:2px solid var(--line);border-radius:13px;padding:10px 14px;background:rgba(13,18,56,.82);color:var(--ink);cursor:pointer;transition:transform .16s ease,border-color .16s ease;width:100%}
#c-console .pfrow .pf:hover{transform:translateX(4px);border-color:#5a68c8}
#c-console .pfrow .pf:focus-visible{outline:3px solid #fff;outline-offset:2px}
#c-console .pfrow .pf .band{width:10px;align-self:stretch;border-radius:99px;flex:none}
#c-console .pfrow .pf h4{font-family:'Orbitron',sans-serif;font-size:14.5px;font-weight:900;margin:0}
#c-console .pfrow .pf p{font-size:13px;margin:2px 0 0;color:#aab4ec}
#c-console .pfrow .pf .open{margin-left:auto;font-family:'Orbitron',sans-serif;font-size:10.5px;letter-spacing:.12em;font-weight:700;white-space:nowrap}
#c-console .spec{display:flex;gap:8px;flex-wrap:wrap;margin-top:11px}
#c-console .spec div{background:rgba(13,18,56,.85);border:1.5px solid var(--line);border-radius:12px;padding:9px 13px;flex:1;min-width:150px}
#c-console .spec b{font-family:'Orbitron',sans-serif;font-size:9px;letter-spacing:.18em;text-transform:uppercase;display:block;margin-bottom:3px}
#c-console .spec span{font-size:13.5px;line-height:1.45;color:#dbe2ff;font-weight:500}
#c-console .logcard{background:rgba(13,19,56,.85);color:#dbe2ff;border:1.5px solid var(--line);border-radius:6px 18px 18px 18px;padding:15px 18px;max-width:700px}
#c-console .logcard p{font-family:'Rajdhani',sans-serif;font-size:clamp(15.5px,2vw,19px);line-height:1.5;font-weight:500;margin:0;color:#dbe2ff;max-width:none}
#c-console .logcard p em{font-style:italic;color:var(--peach)}
#c-console .logcard .sig{font-family:'IBM Plex Mono',monospace;font-size:11px;margin-top:9px;color:#8b95cc}
#c-console .hailbox{margin-top:10px;background:linear-gradient(135deg,var(--tan),#e56f1f);color:#2a1500;border-radius:16px;padding:15px 18px;max-width:600px}
#c-console .hailbox p{margin:0 0 11px;font-size:14.5px;font-weight:600;color:#2a1500}
#c-console .mailrow{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
#c-console .mailrow a{font-weight:800;font-size:clamp(13.5px,1.9vw,17px);word-break:break-all;color:#2a1500}
#c-console .copybtn{border-radius:999px;padding:9px 16px;font-weight:700;border:0;background:#10142e;color:#fff;cursor:pointer;font-size:13.5px}
/* station buttons on the console front edge */
#c-console .stnrow{position:absolute;left:5%;right:5%;bottom:9px;display:flex;gap:7px;flex-wrap:wrap;justify-content:center}
#c-console .stn{position:relative;border:0;border-radius:9px 22px 22px 9px;padding:10px 13px;font-family:'Orbitron',sans-serif;font-weight:700;font-size:11px;letter-spacing:.1em;color:#0b0f2c;display:inline-flex;align-items:center;gap:7px;cursor:pointer;transition:transform .16s ease,background .16s ease;box-shadow:0 5px 0 rgba(0,0,0,.45),inset 0 2px 0 rgba(255,255,255,.35)}
#c-console .stn::before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor;opacity:.55;flex:none}
#c-console .stn:active{transform:translateY(3px);box-shadow:0 2px 0 rgba(0,0,0,.45)}
#c-console .stn:hover{transform:translateY(-1px)}
#c-console .stn:focus-visible{outline:3px solid #fff;outline-offset:2px}
#c-console .stn[data-go="main"]{background:linear-gradient(180deg,#ffb066,var(--tan));color:#3a1e00}
#c-console .stn[data-go="portfolio"]{background:linear-gradient(180deg,#bfe0ff,var(--sky));color:#0d2c4d}
#c-console .stn[data-go="acquire"]{background:linear-gradient(180deg,#ff9448,#e56f1f);color:#33160a}
#c-console .stn[data-go="operate"]{background:linear-gradient(180deg,#7db1ec,#3f7fd0);color:#0a2447}
#c-console .stn[data-go="grow"]{background:linear-gradient(180deg,#cfa6ff,#9a63e8);color:#2c1450}
#c-console .stn[data-go="log"]{background:linear-gradient(180deg,#ffd9b8,var(--peach));color:#4d2f16}
#c-console .stn[data-go="hail"]{background:linear-gradient(180deg,#7fe8a8,#3ecf7a);color:#0f4030}
#c-console .stn[aria-current="true"]{background:#f2f4ff;color:#0b0f2c;box-shadow:0 5px 0 rgba(0,0,0,.45),0 0 0 2px rgba(255,255,255,.5),0 0 18px rgba(180,200,255,.45)}
#c-console .stn[aria-current="true"]::before{opacity:1}
#c-console .deckline{max-width:1360px;margin:9px auto 2px;display:flex;gap:14px;flex-wrap:wrap;align-items:center;font-size:12px;color:#8b95cc;padding:0 6px}
#c-console .deckline a{color:#c9d2ff;font-weight:600;text-decoration:none;border-bottom:1px solid #3a4488}
#c-console .deckline .fine{margin-left:auto}
#c-console .deckline .fine{margin-left:auto}
/* ===== ENTRANCE · THE WHOLE BRIDGE, THEN THE WALK TO HELM ===== */
#c-console .scene{transition:transform 2.8s cubic-bezier(.3,.68,.24,1),opacity 2.1s ease;transform-origin:50% 62%}
#c-console .scene.cam-start{transform:scale(.955) translateY(12px);opacity:.45}
#c-console .scene.notrans{transition:none !important}
#c-console .entry{position:fixed;inset:0;z-index:400;overflow:hidden;background:radial-gradient(1100px 560px at 82% -10%,rgba(80,90,220,.35),transparent 60%),radial-gradient(800px 520px at -8% 78%,rgba(255,120,60,.13),transparent 60%),linear-gradient(180deg,#0a0e33 0%,#10153c 46%,#070a26 74%,#04051a 100%);color:var(--ink);font-family:'Rajdhani',sans-serif}
#c-console .entry.gone{display:none}
#c-console .e-bg{position:absolute;inset:0;background:radial-gradient(900px 420px at 50% 20%,rgba(70,90,220,.22),transparent 65%);transition:opacity 2.3s ease .5s}
#c-console .entry.walking .e-bg{opacity:0}
#c-console .e-layer{position:absolute;inset:0;transition:transform 3s cubic-bezier(.32,.68,.24,1),opacity .9s ease}
#c-console .e-far{z-index:1}
#c-console .e-mid{z-index:2}
#c-console .e-near{z-index:3}
#c-console .entry.walking .e-far{transform:scale(1.14) translateY(-12px);opacity:0;transition-delay:0s,2.25s}
#c-console .entry.walking .e-mid{transform:translateY(40%) scale(1.55);opacity:0;transition-delay:0s,1.95s}
#c-console .entry.walking .e-near{transform:translateY(58%) scale(1.85);opacity:0;transition-delay:0s,1.55s}
#c-console .entry.rev .e-layer,#c-console .entry.rev .e-bg,#c-console .entry.rev .e-ui{transition:none !important}
#c-console .entry.rev .e-bg{opacity:0}
#c-console .entry.rev .e-far{transform:scale(1.14) translateY(-12px);opacity:0}
#c-console .entry.rev .e-mid{transform:translateY(40%) scale(1.55);opacity:0}
#c-console .entry.rev .e-near{transform:translateY(58%) scale(1.85);opacity:0}
#c-console .entry.rev .e-ui{opacity:0}
#c-console .entry.back .e-layer{transition:transform 1.7s cubic-bezier(.32,.68,.24,1),opacity 1.2s ease}
#c-console .entry.back .e-bg{transition:opacity 1.4s ease}
#c-console .entry.back .e-ui{transition:opacity .8s ease .45s}
/* entrance — ceiling + ribs */
#c-console .e-ceil{position:absolute;top:0;left:0;right:0;height:58px;background:linear-gradient(180deg,#05061c,#0d1238);border-bottom:2px solid #232a63;display:flex;align-items:center;justify-content:center;gap:14px}
#c-console .e-ceil i{display:block;height:10px;border-radius:99px;background:linear-gradient(90deg,rgba(160,190,255,.12),rgba(190,215,255,.85),rgba(160,190,255,.12));box-shadow:0 0 18px rgba(140,180,255,.5)}
#c-console .e-ceil i:nth-child(1){width:16%}#c-console .e-ceil i:nth-child(2){width:30%}#c-console .e-ceil i:nth-child(3){width:16%}
#c-console .e-ceil .e-ship{position:absolute;left:18px;font-family:'Orbitron',sans-serif;font-weight:900;font-size:11px;letter-spacing:.14em;background:var(--tan);color:#2a1500;border-radius:8px 20px 20px 8px;padding:7px 15px 7px 11px;white-space:nowrap}
#c-console .e-ceil .e-date{position:absolute;right:18px;font-family:'Orbitron',sans-serif;font-size:10px;letter-spacing:.16em;color:var(--peach);white-space:nowrap}
#c-console .e-rib{position:absolute;top:58px;bottom:26%;width:36px;background:linear-gradient(90deg,#0d1238,#232a63 45%,#39448f 55%,#0d1238);border-left:2px solid #39448f;border-right:2px solid #05061c}
#c-console .e-rib::after{content:"";position:absolute;top:8%;bottom:8%;left:50%;width:5px;transform:translateX(-50%);border-radius:99px;background:linear-gradient(180deg,transparent,rgba(160,195,255,.75),transparent)}
#c-console .e-rib-l{left:20%}#c-console .e-rib-r{right:20%}
/* entrance — main viewscreen across the front wall */
#c-console .e-screen{position:absolute;top:10%;left:50%;transform:translateX(-50%);width:min(720px,62%);height:31%;min-height:170px;border-radius:20px;overflow:hidden;background:radial-gradient(700px 300px at 78% -10%,rgba(96,80,220,.45),transparent 55%),radial-gradient(460px 260px at 8% 110%,rgba(255,120,60,.16),transparent 55%),#04061a;border:3px solid #39448f;box-shadow:0 24px 50px rgba(0,0,0,.5),inset 0 0 80px rgba(20,40,140,.5)}
#c-console .e-screen::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(0deg,rgba(160,200,255,.05) 0 2px,transparent 2px 5px);pointer-events:none}
#c-console .e-stars{position:absolute;inset:0;background-image:radial-gradient(2px 2px at 12% 22%,#fff,transparent),radial-gradient(1.6px 1.6px at 28% 64%,#cfe0ff,transparent),radial-gradient(2.2px 2.2px at 44% 16%,#fff,transparent),radial-gradient(1.5px 1.5px at 58% 48%,#ffe2c4,transparent),radial-gradient(2px 2px at 71% 26%,#fff,transparent),radial-gradient(1.6px 1.6px at 84% 58%,#cfe0ff,transparent),radial-gradient(1.8px 1.8px at 92% 18%,#fff,transparent),radial-gradient(1.4px 1.4px at 36% 82%,#fff,transparent),radial-gradient(1.5px 1.5px at 66% 80%,#fff,transparent),radial-gradient(1.3px 1.3px at 8% 74%,#cfe0ff,transparent)}
#c-console .e-screen-txt{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:14px}
#c-console .e-screen-txt span{font-family:'Orbitron',sans-serif;font-size:9.5px;letter-spacing:.3em;text-transform:uppercase;color:var(--sky)}
#c-console .e-screen-txt strong{font-family:'Orbitron',sans-serif;font-weight:900;font-size:clamp(26px,4.6vw,46px);letter-spacing:.06em;line-height:1.05;margin-top:8px;text-shadow:0 0 34px rgba(120,150,255,.6)}
#c-console .e-screen-txt strong b{color:var(--tan);font-weight:900}
#c-console .e-screen-txt em{font-style:normal;font-family:'Orbitron',sans-serif;font-size:clamp(10px,1.4vw,13px);letter-spacing:.52em;text-transform:uppercase;color:var(--peach);margin-top:7px}
/* entrance — side stations + tactical rail */
#c-console .e-wall{position:absolute;top:29%;width:14.5%;min-width:118px;background:linear-gradient(160deg,#171e57,#0a0e33);border:2px solid var(--line);border-radius:16px;padding:12px 13px;box-shadow:inset 0 0 26px rgba(0,0,0,.5)}
#c-console .e-wall-l{left:2.2%;transform:perspective(900px) rotateY(17deg);transform-origin:right center}
#c-console .e-wall-r{right:2.2%;transform:perspective(900px) rotateY(-17deg);transform-origin:left center}
#c-console .e-wall .wk{font-family:'Orbitron',sans-serif;font-size:8.5px;letter-spacing:.2em;color:#8b95cc;text-transform:uppercase}
#c-console .e-wall .wv{font-family:'IBM Plex Mono',monospace;font-size:11.5px;color:#fff;margin-top:4px;line-height:1.5}
#c-console .e-wall .wv em{font-style:normal;color:var(--tan)}
#c-console .e-wall .bars{display:flex;gap:3px;margin-top:9px}
#c-console .e-wall .bars i{flex:1;height:8px;border-radius:3px;background:#2c3577}
#c-console .e-wall .bars i.o1{background:var(--tan)}#c-console .e-wall .bars i.o2{background:var(--sky)}#c-console .e-wall .bars i.o3{background:var(--grn)}
#c-console .e-rail{position:absolute;left:50%;top:42.5%;transform:translateX(-50%);width:min(1060px,76%);height:180px;border:15px solid rgba(66,80,168,.5);border-bottom-color:transparent;border-left-color:rgba(66,80,168,.28);border-right-color:rgba(66,80,168,.28);border-radius:50%;box-shadow:0 -6px 24px rgba(90,110,220,.18)}
#c-console .e-rail::after{content:"";position:absolute;left:6%;right:6%;top:-9px;height:5px;border-radius:99px;background:linear-gradient(90deg,transparent,var(--tan) 30%,var(--sky) 62%,transparent);opacity:.75}
/* entrance — captain's chair */
#c-console .e-chair{position:absolute;left:50%;top:45%;transform:translateX(-50%);width:124px;height:196px}
#c-console .e-chair i{position:absolute;display:block}
#c-console .e-chair .ch-head{left:50%;top:0;transform:translateX(-50%);width:56px;height:32px;border-radius:12px 12px 6px 6px;background:linear-gradient(180deg,#3a4488,#232a63);border:2px solid #4a58b8}
#c-console .e-chair .ch-back{left:50%;top:26px;transform:translateX(-50%);width:88px;height:104px;border-radius:28px 28px 14px 14px;background:linear-gradient(160deg,#57442a,#2c2118 60%,#1c1712);border:2px solid #6b543a;box-shadow:inset 0 0 0 4px rgba(255,156,65,.14),0 14px 30px rgba(0,0,0,.5)}
#c-console .e-chair .ch-back::after{content:"";position:absolute;left:50%;top:12px;transform:translateX(-50%);width:34px;height:7px;border-radius:99px;background:var(--tan);box-shadow:0 0 12px rgba(255,156,65,.7)}
#c-console .e-chair .ch-arm-l,#c-console .e-chair .ch-arm-r{top:92px;width:17px;height:56px;border-radius:8px;background:linear-gradient(180deg,#232a63,#11163f);border:2px solid #39448f}
#c-console .e-chair .ch-arm-l{left:0}#c-console .e-chair .ch-arm-r{right:0}
#c-console .e-chair .ch-seat{left:50%;top:122px;transform:translateX(-50%);width:98px;height:24px;border-radius:10px;background:linear-gradient(180deg,#6b543a,#3a2c1c);border:2px solid #57442a}
#c-console .e-chair .ch-post{left:50%;top:146px;transform:translateX(-50%);width:40px;height:38px;background:linear-gradient(180deg,#232a63,#0d1238);clip-path:polygon(18% 0,82% 0,100% 100%,0 100%)}
#c-console .e-chair span{position:absolute;left:0;right:0;bottom:-4px;text-align:center;font-family:'Orbitron',sans-serif;font-size:8.5px;letter-spacing:.3em;color:#8b95cc;text-transform:uppercase}
/* entrance — floor, aisle, twin consoles seen from behind */
#c-console .e-floor{position:absolute;left:0;right:0;bottom:0;height:36%;background:linear-gradient(180deg,rgba(38,32,84,0),rgba(24,20,60,.75) 34%,rgba(8,8,28,.96));clip-path:polygon(15% 0,85% 0,100% 100%,0 100%)}
#c-console .e-aisle{position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:170px;height:36%;background:linear-gradient(180deg,rgba(255,156,65,.16),rgba(255,156,65,.03));clip-path:polygon(36% 0,64% 0,100% 100%,0 100%)}
#c-console .e-con{position:absolute;bottom:3.5%;width:30%;height:27%;min-height:130px;background:linear-gradient(180deg,#2a3170,#12173f 60%,#0a0e33);clip-path:polygon(13% 0,87% 0,100% 100%,0 100%);box-shadow:inset 0 3px 0 #4a58b8}
#c-console .e-con-l{left:8.5%}#c-console .e-con-r{right:8.5%}
#c-console .e-con .ec-glow{position:absolute;left:11%;right:11%;top:13%;height:36%;border-radius:9px;background:linear-gradient(90deg,rgba(255,156,65,.85) 0 26%,rgba(142,201,255,.8) 26% 52%,rgba(201,154,255,.75) 52% 76%,rgba(123,228,149,.8) 76% 100%);box-shadow:0 0 26px rgba(120,150,255,.45);opacity:.92}
#c-console .e-con .ec-glow::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,6,26,.18),rgba(4,6,26,.55));border-radius:9px}
#c-console .e-con .ec-keys{position:absolute;left:14%;right:14%;bottom:13%;height:15%;border-radius:6px;background:linear-gradient(90deg,#4a3517 0 22%,#232a63 22% 46%,#274a75 46% 70%,#232a63 70% 100%)}
#c-console .e-con .ec-lab{position:absolute;left:0;right:0;top:-21px;text-align:center;font-family:'Orbitron',sans-serif;font-size:8.5px;letter-spacing:.24em;color:#69719f;text-transform:uppercase}
/* entrance — prompt */
#c-console .e-ui{position:absolute;left:0;right:0;bottom:4.5%;z-index:4;display:flex;justify-content:center;pointer-events:none;transition:opacity .35s ease}
#c-console .entry.walking .e-ui{opacity:0}
#c-console .e-prompt{text-align:center;pointer-events:auto;background:rgba(5,7,26,.72);border:1.5px solid rgba(90,104,200,.5);border-radius:18px;padding:14px 22px 13px;backdrop-filter:blur(3px);max-width:min(520px,92vw)}
#c-console .e-prompt .ep-k{display:block;font-family:'IBM Plex Mono',monospace;font-size:10px;letter-spacing:.26em;text-transform:uppercase;color:#aab4ec}
#c-console .e-key{margin-top:10px;border:0;border-radius:11px 26px 26px 11px;padding:14px 30px;font-family:'Orbitron',sans-serif;font-weight:900;font-size:15px;letter-spacing:.12em;color:#3a1e00;background:linear-gradient(180deg,#ffb066,var(--tan));box-shadow:0 6px 0 rgba(0,0,0,.5),0 0 26px rgba(255,156,65,.55),inset 0 2px 0 rgba(255,255,255,.4);cursor:pointer;animation:cnkeypulse 2.2s ease-in-out infinite;transition:transform .16s ease}
#c-console .e-key:hover{transform:translateY(-2px)}
#c-console .e-key:active{transform:translateY(3px);box-shadow:0 2px 0 rgba(0,0,0,.5)}
#c-console .e-key:focus-visible{outline:3px solid #fff;outline-offset:3px}
@keyframes cnkeypulse{0%,100%{box-shadow:0 6px 0 rgba(0,0,0,.5),0 0 18px rgba(255,156,65,.4),inset 0 2px 0 rgba(255,255,255,.4)}50%{box-shadow:0 6px 0 rgba(0,0,0,.5),0 0 34px rgba(255,156,65,.75),inset 0 2px 0 rgba(255,255,255,.4)}}
#c-console .e-prompt small{display:block;margin-top:9px;font-size:12.5px;color:#8b95cc;font-weight:600}
#c-console .stn.turbo{background:linear-gradient(180deg,#d7dcff,#8b95cc);color:#141a3d}
@media(max-width:760px){
  #c-console .e-wall{display:none}
  #c-console .e-ceil .e-date{display:none}
  #c-console .e-screen{width:88%;height:26%;top:11%}
  #c-console .e-rib-l{left:6%}#c-console .e-rib-r{right:6%}
  #c-console .e-rail{width:94%;top:40%}
  #c-console .e-chair{transform:translateX(-50%) scale(.78);top:42%}
  #c-console .e-con{width:40%;min-height:104px;height:21%}
  #c-console .e-con-l{left:1%}#c-console .e-con-r{right:1%}
  #c-console .e-prompt{padding:12px 14px 11px}
  #c-console .e-key{font-size:13px;padding:13px 22px}
}
/* ===== RESPONSIVE ===== */
@media(max-width:1080px){
  #c-console .wallstn{width:15%;min-width:132px;padding:11px}
  #c-console .rib-l{left:18%}#c-console .rib-r{right:18%}
  #c-console .lites{display:none}
}
@media(max-width:900px){
  #c-console .scene{height:auto;min-height:0;display:flex;flex-direction:column;border-radius:22px}
  #c-console .layer{position:relative;inset:auto;transform:none !important}
  #c-console .ceil{position:relative;height:52px}
  #c-console .ceil .cdate{display:none}
  #c-console .rib,#c-console .lift,#c-console .floor,#c-console .floor-cap,#c-console .twin{display:none}
  #c-console .wallstn{display:none}
  #c-console .vs-frame{position:relative;top:auto;left:auto;transform:none;width:auto;max-width:none;margin:14px 14px 4px}
  #c-console .vscreen{height:300px}
  #c-console .fore-wrap{position:relative;height:auto;min-height:0;margin-top:10px}
  #c-console .mycon{position:relative;right:auto;width:auto;height:auto;margin:0 10px 12px}
  #c-console .mycon .mbody{clip-path:none;border-radius:18px;border:2px solid var(--line)}
  #c-console .mycon .mtop{position:relative;left:auto;right:auto;top:auto;padding:12px 16px 0}
  #c-console .nd{position:relative;left:auto;right:auto;top:auto;height:308px;margin:10px 14px 0}
  #c-console .stnrow{position:relative;left:auto;right:auto;bottom:auto;padding:12px 12px 16px}
  #c-console .stn{flex:1 1 28%;justify-content:center;padding:10px 6px;font-size:10px;border-radius:999px}
  #c-console .vs-planets{gap:12px}
  #c-console .deckline .fine{margin-left:0}
}
@media(prefers-reduced-motion:reduce){
  #c-console .vs-scr,#c-console .nd-scr{transition:none}
  #c-console .starlayer,#c-console .lite,#c-console .eq i,#c-console .vs-flash,#c-console .e-key{animation:none}
  #c-console .layer{transform:none !important}
  #c-console .scene{transition:none}
  #c-console .scene.cam-start{transform:none;opacity:1}
  #c-console .e-layer,#c-console .e-bg,#c-console .e-ui{transition:none}
}
/* ===== PHOTOREAL PLATES — the bridge is now a photograph; the live UI is composited onto it ===== */
#c-console .scene{background:#04061a}
#c-console .plate-d{position:absolute;inset:-12px;width:calc(100% + 24px);height:calc(100% + 24px);object-fit:cover;object-position:50% 30%}
#c-console .plate-m{display:none}
/* HUD chips floating on the photo */
#c-console .hud{position:absolute;top:14px;z-index:6;display:inline-flex;align-items:center;gap:8px;background:rgba(5,8,30,.52);border:1.5px solid rgba(120,140,230,.42);border-radius:99px;padding:7px 14px;backdrop-filter:blur(3px);font-family:'Orbitron',sans-serif;font-size:10px;letter-spacing:.15em;color:#dbe2ff;white-space:nowrap}
#c-console .hud-l{left:14px}
#c-console .hud-r{right:14px;color:var(--peach)}
#c-console .hudstn{position:absolute;top:25%;z-index:6;width:176px;background:rgba(5,8,30,.55);border:1.5px solid rgba(120,140,230,.4);border-radius:14px;padding:11px 13px;backdrop-filter:blur(3px);box-shadow:0 14px 34px rgba(0,0,0,.35)}
#c-console .hudstn-l{left:12px}
#c-console .hudstn-r{right:12px;top:27%}
#c-console .hudstn .wk{font-family:'Orbitron',sans-serif;font-size:9px;letter-spacing:.22em;color:#8b95cc;text-transform:uppercase}
#c-console .hudstn .wv{font-family:'IBM Plex Mono',monospace;font-size:12.5px;color:#fff;margin-top:4px;line-height:1.5}
#c-console .hudstn .wv em{font-style:normal;color:var(--tan)}
#c-console .hudstn .wrow{margin-top:10px;padding-top:9px;border-top:1px dashed rgba(120,140,230,.4)}
#c-console .glowdot{position:absolute;z-index:5;width:11px;height:11px;border-radius:50%;animation:cnblink 2.4s ease-in-out infinite;pointer-events:none}
/* viewscreen content composited inside the photographic screen */
#c-console .vs-frame{top:36.5%;transform:translate(-50%,-50%);width:44%;max-width:none;z-index:7}
#c-console .vs-elbows{display:none}
#c-console .vscreen{height:auto;aspect-ratio:2.55;border:0;border-radius:12px;background:radial-gradient(700px 300px at 78% -10%,rgba(96,80,220,.35),transparent 55%),radial-gradient(460px 260px at 8% 110%,rgba(255,120,60,.13),transparent 55%),rgba(4,6,26,.58);backdrop-filter:blur(1px);box-shadow:inset 0 0 60px rgba(20,40,140,.5),inset 0 0 12px rgba(0,0,0,.8)}
#c-console .vs-label{text-shadow:0 1px 8px rgba(0,0,10,.9)}
/* foreground: the photo's own console shows through; the UI lives on its screen area */
#c-console .fore-wrap{height:37%;min-height:238px;z-index:8}
#c-console .mycon{left:50%;right:auto;transform:translateX(-50%);width:63%}
#c-console .mycon .mbody{display:none}
#c-console .mycon .mtop{display:none}
#c-console .nd{left:6%;right:6%;top:15%;height:56%;background:rgba(4,7,24,.9);border-color:rgba(120,140,230,.5);transform:perspective(900px) rotateX(5deg);transform-origin:50% 100%}
#c-console .stnrow{bottom:7px}
/* entrance: photoreal establishing plate */
#c-console .entry{background:#04061a}
#c-console .e-plate{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 42%}
/* Entrance panorama (v1.8.0): the plate, the star window and the title
   ride on an oversized stage — plate aspect, sized by JS to cover x1.5 —
   that the visitor drags horizontally. Everything on the stage is in
   plate space, so the fx coverRect math (% of the image box) stays exact
   at every pan position. The Take Your Station prompt lives outside the
   stage and never moves. */
#c-console .e-stage{position:absolute;left:50%;top:50%;width:100%;height:100%;transform:translate3d(-50%,-50%,0);will-change:transform}
#c-console .entry{cursor:grab;touch-action:none}
#c-console .entry.dragging{cursor:grabbing;-webkit-user-select:none;user-select:none}
#c-console .e-plate{-webkit-user-drag:none}
#c-console .e-bg{background:radial-gradient(115% 88% at 50% 42%,transparent 52%,rgba(2,3,12,.6));z-index:2}
#c-console .e-chip{position:absolute;top:16px;z-index:3;background:rgba(5,8,30,.5);border:1.5px solid rgba(120,140,230,.42);border-radius:99px;padding:7px 14px;font-family:'Orbitron',sans-serif;font-size:10px;letter-spacing:.15em;color:#dbe2ff;backdrop-filter:blur(3px);white-space:nowrap}
#c-console .e-chip-l{left:16px}
#c-console .e-chip-r{right:16px;color:var(--peach)}
#c-console .e-vs{position:absolute;left:50%;top:40%;transform:translate(-50%,-50%);width:54%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;text-shadow:0 2px 20px rgba(0,0,12,.85);z-index:3}
#c-console .e-vs span{font-family:'Orbitron',sans-serif;font-size:9.5px;letter-spacing:.3em;text-transform:uppercase;color:var(--sky)}
#c-console .e-vs strong{font-family:'Orbitron',sans-serif;font-weight:900;font-size:clamp(26px,4.6vw,46px);letter-spacing:.06em;line-height:1.05;margin-top:8px;color:#fff}
#c-console .e-vs strong b{color:var(--tan);font-weight:900}
#c-console .e-vs em{font-style:normal;font-family:'Orbitron',sans-serif;font-size:clamp(10px,1.4vw,13px);letter-spacing:.52em;text-transform:uppercase;color:var(--peach);margin-top:7px}
/* v2.0.6: the title's inner wrapper — the pano walk warps THIS element
   (scale/blur/fade + letter-spacing on its lines) while the homography
   keeps driving .e-vs itself. Layout only here; the flat fallback never
   styles it inline, so its behaviour is unchanged. */
#c-console .e-vs-in{display:flex;flex-direction:column;align-items:center;text-align:center;transform-origin:50% 50%}
#c-console .entry.walking .e-vs-in{will-change:transform,opacity,filter}
#c-console .e-far{transform:scale(.84)}
#c-console .entry.walking .e-far{transform:scale(1.62) translateY(-3%)}
#c-console .entry.rev .e-far{transform:scale(1.62) translateY(-3%);opacity:0}
@media(max-width:1080px){#c-console .hudstn{display:none}}
@media(max-width:900px){
  #c-console .plate-d{display:none}
  #c-console .plate-m{display:block;position:relative;inset:auto;width:100%;height:360px;object-fit:cover;object-position:50% 14%}
  #c-console .vs-frame{position:absolute;top:40px;left:21%;right:21%;width:auto;transform:none;margin:0}
  #c-console .vscreen{aspect-ratio:1.5}
  #c-console .vs-scr{padding:12px 14px}
  #c-console .mark{font-size:52px}
  #c-console .vs-scr h2{font-size:22px}
  #c-console .vs-disc,#c-console .vs-letter{width:56px;height:56px;font-size:26px;border-width:3px;margin-bottom:2px}
  #c-console .vs-rings{width:56px;height:56px;font-size:20px;margin-bottom:2px}
  #c-console .vs-sub{font-size:12.5px;margin-top:5px}
  #c-console .vs-planets{margin-top:8px}
  #c-console .hud{top:10px}
  #c-console .hud-r{display:none}
  #c-console .glowdot{display:none}
  #c-console .fore-wrap{height:auto}
  #c-console .mycon{left:auto;transform:none;width:auto}
  #c-console .nd{transform:none;height:308px}
}
@media(max-width:760px){
  #c-console .e-vs{left:50%;top:40%;transform:translate(-50%,-50%);width:max-content;max-width:92%;padding:20px 14px;background:rgba(4,6,26,.52);border:1.5px solid rgba(120,140,230,.35);border-radius:18px;backdrop-filter:blur(3px)}
  #c-console .e-chip-r{display:none}
  #c-console .e-plate{object-position:50% 38%}
}
@media(prefers-reduced-motion:reduce){#c-console .glowdot{animation:none}}
/* ===== VIEWSCREEN IN MOTION — animated starfield + drifting nebula, clipped inside each screen, under the live UI ===== */
#c-console .fxwarp{position:absolute;overflow:hidden;pointer-events:none}
#c-console .fxwarp canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
#c-console .fx-neb{position:absolute;inset:-28%;pointer-events:none;background:radial-gradient(42% 58% at 30% 38%,rgba(96,80,220,.34),transparent 70%),radial-gradient(36% 52% at 72% 60%,rgba(255,120,60,.13),transparent 70%),radial-gradient(30% 44% at 55% 26%,rgba(110,160,255,.16),transparent 70%);animation:fxneb 190s ease-in-out infinite alternate;will-change:transform}
#c-console .fx-neb-2{background:radial-gradient(38% 54% at 64% 34%,rgba(150,80,220,.20),transparent 70%),radial-gradient(34% 50% at 24% 68%,rgba(70,120,255,.18),transparent 70%);animation-duration:260s;animation-delay:-120s;opacity:.7}
@keyframes fxneb{from{transform:translate3d(-2.4%,-1.4%,0) scale(1)}to{transform:translate3d(2.4%,1.8%,0) scale(1.03)}}
#c-console .vscreen .fxwarp{inset:0;border-radius:inherit;z-index:1}
#c-console .e-fx{left:24%;top:30.6%;width:51.6%;height:19.6%;border-radius:14px;z-index:1}
@media(prefers-reduced-motion:reduce){#c-console .fxwarp{display:none}}
/* ===== MOBILE SEATED (<=900px) — clean screen stack, no bridge photo (v1.5.0) =====
   Once seated on a phone there is no photographic bridge: the stack is
   the viewscreen, the detail panel below it, and the station menu pinned
   to the bottom of the viewport — all on the deep-space page background.
   The entrance (bridge photo + Take Your Station) is untouched above. */
@media(max-width:900px){
  /* no plate behind or around the seated content */
  #c-console .plate-d,#c-console .plate-m{display:none}
  /* the scene becomes a plain stack on the #c-console deep-space background */
  #c-console .scene{background:transparent;border:0;border-radius:0;box-shadow:none}
  #c-console .layer{will-change:auto}
  /* 1 · the viewscreen as a full-width screen at the top of the stack */
  #c-console .vs-frame{position:relative;top:auto;left:auto;right:auto;transform:none;width:auto;max-width:none;margin:2px 2px 0}
  #c-console .vscreen{height:300px;aspect-ratio:auto}
  /* 2 · the detail panel directly below */
  #c-console .mycon{margin:0 2px}
  #c-console .nd{margin:10px 0 0}
  /* 3 · station menu pinned to the bottom of the viewport: all seven
     stations + Turbolift in two compact rows, always reachable; the
     bar sits under the entrance overlay (z 400) whenever it returns.
     #c-console gets matching bottom padding so no content hides behind it. */
  #c-console .stnrow{position:fixed;left:0;right:0;top:auto;bottom:0;z-index:300;flex-wrap:wrap;gap:6px;padding:8px 8px calc(8px + env(safe-area-inset-bottom));background:rgba(5,7,26,.94);border-top:1.5px solid rgba(120,140,230,.45);backdrop-filter:blur(6px)}
  #c-console .stnrow .stn{flex:1 1 21%;padding:9px 3px;font-size:10px;letter-spacing:.03em}
  #c-console .stnrow .stn::before{display:none}
  #c-console{padding-bottom:124px}
}
/* ===== MOBILE SEATED FIX (<=900px) — console chain static + full width (v1.6.0) =====
   Root cause of the off-frame detail panel: the PHOTOREAL section above
   re-declares .nd{left:6%;right:6%;top:15%} AFTER the first <=900px block
   had zeroed those offsets, and the later mobile blocks only repaired
   transform/height/margin. At equal specificity the later PHOTOREAL rule
   won, so the position:relative panel kept a +6% rightward shift —
   indented from the left, clipped at the right edge of the phone.
   (.mycon's left:50%/translateX(-50%)/width:63% were already neutralised
   by the line-360 block; the .nd offsets were the surviving leak.)
   This block is last in the file and zeroes the whole chain for good. */
@media(max-width:900px){
  /* wrappers: static, full content width, no offsets, no transforms */
  #c-console .fore-wrap{position:relative;left:auto;right:auto;top:auto;bottom:auto;width:auto;height:auto;min-height:0;transform:none;margin:10px 0 0}
  #c-console .mycon{position:relative;left:auto;right:auto;top:auto;bottom:auto;width:auto;height:auto;transform:none;margin:0 2px}
  /* the panel: .mycon keeps the viewscreen frame's 2px side margins, so the
     panel's left/right edges align exactly with the viewscreen above it */
  #c-console .nd{position:relative;left:auto;right:auto;top:auto;bottom:auto;width:auto;transform:none;margin:10px 0 0}
  /* nothing inside the panel may push past the phone: spec cards
     shrink/wrap instead of clipping, slides never scroll sideways */
  #c-console .spec div{flex:1 1 130px;min-width:0}
  #c-console .nd-scr{overflow-x:hidden}
}
/* ===== ENTRANCE 360 PANORAMA (v2.0.0) =====
   The entrance is a true 360-degree panorama built around the ORIGINAL
   plate: bridge-pano.webp (4096x2048 equirect) carries bridge-intro.webp
   itself in its forward sector, composited into a same-bridge surround,
   on an inside-out WebGL sphere. The visitor drags to look all the way
   around; the star window + title ride in one DOM quad
   perspective-projected onto the viewscreen every frame. If WebGL or
   the texture is unavailable the v1.8.0 flat-plate stage above remains,
   untouched, as the fallback. */
#c-console .e-pano{position:absolute;inset:0;width:100%;height:100%;display:block;z-index:1;opacity:0;transition:opacity .7s ease}
#c-console .e-far.pano .e-pano{opacity:1}
/* full-bleed sphere: the pulled-back .84 establishing scale goes away */
#c-console .e-far.pano{transform:none}
/* the walk's push-in is mostly the WebGL FOV zoom; CSS adds a whisper */
#c-console .entry.walking .e-far.pano{transform:scale(1.07) translateY(-1%)}
#c-console .entry.rev .e-far.pano{transform:scale(1.07) translateY(-1%);opacity:0}
/* the projected quad: JS drives left/top/width/height/transform inline;
   the homography maps the element box from its top-left corner */
#c-console .e-far.pano .e-fx,#c-console .e-far.pano .e-vs{transform-origin:0 0;pointer-events:none}
/* v2.0.1: in pano mode the projected quad is TITLE ONLY. The fx warp
   (its own nebula + starfield canvas) never matched the plate's painted
   screen behind it and read as a visible rectangular patch across the
   viewscreen, so it is hidden outright — the plate's screen already
   carries its stars/nebula, and the title (.e-vs) rides the surface
   alone on a transparent ground. The seated scene and the no-WebGL
   flat fallback (whose .e-far never gets .pano) keep their fx. */
#c-console .e-far.pano .e-fx{display:none}
#c-console .e-far.pano .e-vs{background:none;border:0;box-shadow:none;padding:0;max-width:none;backdrop-filter:none;-webkit-backdrop-filter:none}
/* v2.0.0: the quad box (1024x274) lands on screen at ~0.873 scale, close
   to the flat stage's 0.84 rest scale, so the flat entrance's own title
   sizes (46px/13px, adjusted to 44px for the small scale difference)
   reproduce the title's pre-360 on-screen size inside the quad */
#c-console .e-far.pano .e-vs strong{font-size:44px}
#c-console .e-far.pano .e-vs em{font-size:13px}
