.hub-screen{position:fixed;inset:0;z-index:5;background:#09080f;display:flex;flex-direction:column;justify-content:center;isolation:isolate;overflow:hidden}.hub-screen:before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 50% 60%,#3b25551c,transparent 70%);z-index:-1}.hub-header{width:100%;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 3vw;border-bottom:1px solid #c3a8f61c;min-height:80px;background:#0b0a11;flex-shrink:0}.hub-brand{display:flex;align-items:center;gap:15px;text-align:left;padding:0;font-size:14px;letter-spacing:1px}.hub-brand img{width:43px;height:43px;object-fit:contain}.hub-brand small{display:block;font:7px var(--mono);letter-spacing:1.7px;color:#a48cb9;margin-top:7px}.hub-heading{text-align:center}.hub-heading h2{margin:0;font-size:clamp(17px,2.2vw,30px);font-weight:400;letter-spacing:4px}.hub-heading>span{display:block;font:8px var(--mono);letter-spacing:2px;color:#b79fd1;margin-top:7px}.hub-heading i{font-style:normal;padding:0 7px;color:#695778}.hub-header-actions{display:flex;gap:25px;align-items:center}.hub-ability{display:block;text-align:left;padding:0;color:#dac9ef}.hub-ability strong{display:block;font-size:18px;letter-spacing:3px;font-weight:400}.hub-ability>span{font:8px var(--mono);letter-spacing:1.1px;display:block;margin-top:6px}.hub-ability:hover>span{color:white}.hub-pause{border-left:1px solid #c3a8f63b;font-size:23px;padding:4px 0 4px 23px;color:#eee7f6}.hub-scene-viewport{width:100%;overflow:hidden;position:relative;flex-shrink:0;max-height:calc(100svh - 174px)}.hub-world{position:relative;width:100%;aspect-ratio:1672/768;overflow:hidden;isolation:isolate;outline-offset:-4px;touch-action:pan-y;max-width:calc((100svh - 174px) * 2.1770833);margin:auto}.hub-background{position:absolute;pointer-events:none;left:0;top:-11.9791667%;width:100%;height:122.5260417%;object-fit:fill;z-index:-2;user-select:none}.hub-room-sign{position:absolute;left:var(--x);top:var(--y);width:var(--w);transform:translate(-50%,-50%);font-size:clamp(10px,1.2vw,20px);font-weight:500;letter-spacing:.25px;padding:7px 1px;line-height:1.1;white-space:nowrap;text-shadow:0 0 8px #c1a2eb55;transition:color .2s,filter .2s;min-height:23px;z-index:2}.hub-room-sign:hover,.hub-room-sign.nearby{color:white;filter:drop-shadow(0 0 7px #d0a1ff)}.hub-room-sign:focus-visible{outline:1px solid #ebdcff;background:#b78cde33}.room-visited{position:absolute;right:-12px;top:-4px;color:#ceebd5;font-size:10px;text-shadow:0 0 8px #4dcf8b}.hub-screen.scanning .hub-room-sign{color:#fff;background:#bd8eef35;box-shadow:0 0 24px #c59cff7a;outline:1px solid #d7b4ff;border-radius:5px}.hub-player{position:absolute;width:12%;height:23%;left:52.5%;top:85.8%;transform:translate(-50%,-100%);pointer-events:none;z-index:3;will-change:left,top}.character-sprite{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center bottom;transform:scaleX(var(--facing,1));transform-origin:50% 100%;filter:drop-shadow(0 3px 3px #0008);user-select:none}.hub-player.moving .character-sprite{animation:avi-step .25s infinite alternate ease-in-out}.player-ring{position:absolute;bottom:-1%;left:27%;width:46%;height:5%;border-radius:50%;border:2px solid #dfbaff;box-shadow:0 0 8px #d5a5f9,inset 0 0 7px #c79eff65;background:#c894ff25}.pulse-wave{position:absolute;bottom:0;left:50%;width:50px;height:50px;transform:translate(-50%,50%);border:1px solid #e1c1ff;border-radius:50%;animation:hub-pulse 1.8s ease-out both}.hub-proximity{position:absolute;z-index:4;transform:translate(-50%,-100%);background:#0d0a17e8;border:1px solid #ae83dd8c;padding:7px 12px;font:clamp(8px,.85vw,12px) var(--mono);white-space:nowrap;color:#ecddff;box-shadow:0 3px 15px #0006}.hub-proximity:hover{background:#291a3b}.lift-terminal{position:absolute;left:45.25%;top:75.1%;height:6%;width:1.5%;font-size:clamp(7px,.8vw,13px);line-height:.9;padding:0;color:#e7cda7;z-index:4;background:#201923bb;border:1px solid #c9a4e14d}.lift-terminal:hover{background:#79608c88}.lift-shaft{position:absolute;left:37.85%;top:2%;width:5.9%;height:83.8%;overflow:hidden;pointer-events:none;z-index:-1}.lift-cabin{position:absolute;height:24%;bottom:0;left:3%;width:94%;border:1px solid #deb8ff38;background:linear-gradient(90deg,#29183666,#9972bd40,#2b193e66);box-shadow:inset 0 0 16px #dc96ff16}.hub-journey{position:absolute;top:3%;left:50%;transform:translateX(-50%);background:#100b1cdb;border:1px solid #d2b1f844;padding:10px 19px;font:8px var(--mono);letter-spacing:1.4px;color:#eadbff;z-index:5}.hub-footer{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:19px 3vw 20px;border-top:1px solid #c3a8f62b;background:#0b0a11;min-height:94px;flex-shrink:0}.hub-objective{display:flex;align-items:center;gap:20px;min-width:0}.objective-symbol{font-size:28px;color:#d0b6ef}.hub-objective .eyebrow{font-size:7px;letter-spacing:1.4px}.hub-objective p{margin:7px 0 0;font-size:clamp(11px,1.1vw,17px);line-height:1.5;letter-spacing:.25px}.hub-controls{display:flex;align-items:center;gap:22px;font:8px var(--mono);letter-spacing:.5px;flex-shrink:0}.hub-controls>span:first-child{white-space:nowrap}.hub-controls button{font:8px var(--mono);color:#ddd0ef;padding:8px 10px;border:1px solid #b28cdb35;min-height:35px;white-space:nowrap}.hub-controls button:disabled{color:#746483;cursor:default}.hub-controls button:disabled kbd{opacity:.5}.hub-controls button:not(:disabled):hover{background:#ba8eec20}.hub-controls #hub-progress{font-size:7px;color:#9e89b4;white-space:nowrap}kbd{display:inline-block;border:1px solid #a594b65e;border-radius:3px;font:10px var(--mono);min-width:20px;text-align:center;padding:3px;margin-right:4px;color:#e8dcf7}.hub-mobile-controls{display:none}.equipment-options{display:grid;gap:10px;margin:22px 0}.equipment-option{display:flex;align-items:flex-start;gap:14px;padding:16px;border:1px solid var(--border);cursor:pointer}.equipment-option:has(input:checked){background:#b08ae30c;border-color:#c3a8f65c}.equipment-option input{accent-color:var(--lavender);margin:3px 0 0;width:15px;height:15px;flex-shrink:0}.equipment-option strong{display:block;font-size:12px;font-weight:400;color:#e7d9f5}.equipment-option small{display:block;color:#ab94bf;font:9px var(--mono);margin-top:7px;line-height:1.7}.equipment-option p{font-size:10px;line-height:1.8;color:#a396af;margin:7px 0 0}.ship-totals{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0}.ship-metric{padding:13px 10px;background:#bba0d507;border:1px solid #b59ad21a}.ship-metric dt{font:8px var(--mono);color:#a391b7;letter-spacing:.7px}.ship-metric dd{font-size:20px;letter-spacing:-.5px;color:#e5d1f8;margin:9px 0 0}.ship-metric dd span{font:9px var(--mono);letter-spacing:0}.ship-metric small{display:block;font:7px var(--mono);color:#8b799d;margin-top:8px}.ship-metric.over{border-color:#e5a38073}.ship-metric.over dd{color:#edb699}.ship-feedback{font-size:11px;line-height:1.8;color:#cbb4e5;margin:13px 0}.ship-feedback.invalid{color:#e5b598}.room-copy{font-size:12px;color:#b7a8c4;line-height:1.95;margin:15px 0}.room-card{border-left:2px solid #bd97e6;background:#a478d10b;padding:18px 22px;margin:24px 0}.room-card h3{font:10px var(--mono);letter-spacing:1px;color:#d2b3ef;margin:0 0 10px}.room-card p{font-size:12px;color:#c3b3d0;line-height:1.9;margin:0}.room-actions{display:flex;gap:12px;margin-top:20px;flex-wrap:wrap}.room-action-secondary{border:1px solid #bfa1e544;color:#d3b8ef;padding:12px 16px;font:10px var(--mono);text-align:left}.room-action-secondary:hover{background:#c3a8f613}.room-checklist{padding:0;list-style:none;display:grid;gap:12px;font-size:12px;color:#c3b2d1;margin:25px 0}.room-checklist li{display:flex;align-items:center;gap:12px}.room-checklist span{display:grid;place-items:center;border:1px solid #a389b766;width:21px;height:21px;color:#dab9ff;font-size:12px}.latency-slider{width:100%;accent-color:var(--lavender);margin:18px 0}.latency-label{display:flex;justify-content:space-between;gap:15px;font:10px var(--mono);color:#c9aee3}.signal-demo{display:flex;justify-content:space-between;align-items:center;gap:18px;font:9px var(--mono);letter-spacing:1px;color:#ccb2e6;margin:30px 0}.signal-demo i{flex:1;height:1px;background:#a88acb;position:relative}.signal-demo i:after{content:'';position:absolute;right:0;top:-2px;width:5px;height:5px;background:#e1c7ff;border-radius:50%}.pause-actions{display:grid;gap:8px;margin-top:25px}.hub-briefing-read{display:inline-block;color:#cde8d2;font:9px var(--mono);margin:16px 0}.hub-screen:focus-visible{outline:none}@keyframes avi-step{from{translate:0 0}to{translate:0 -3px}}@keyframes hub-pulse{0%{scale:.5;opacity:.8}100%{scale:9;opacity:0}}
body:has(.hub-screen:not([hidden])){overflow:hidden}body[data-reduced-motion=true] .hub-player.moving .character-sprite{animation:none}.hub-room-panel{width:760px}.hub-room-panel .primary-action:disabled{background:#32243f;border-color:#4b375e;color:#84708f;box-shadow:none;transform:none}
@media(max-width:1100px){.hub-brand{font-size:11px;gap:10px}.hub-brand img{width:36px;height:36px}.hub-heading h2{font-size:21px;letter-spacing:2px}.hub-header-actions{gap:16px}.hub-ability strong{font-size:15px}.hub-ability>span{font-size:7px}.hub-controls{gap:12px}.hub-controls #hub-progress{display:none}.hub-objective{gap:13px}.hub-footer{gap:15px}.ship-totals{gap:8px}}
@media(max-width:700px){.hub-header{min-height:71px;padding:14px 18px;gap:10px}.hub-brand span{display:none}.hub-brand img{width:31px;height:31px}.hub-heading h2{font-size:16px;letter-spacing:1.3px}.hub-heading>span{font-size:6px;letter-spacing:1px}.hub-header-actions{gap:11px}.hub-ability strong{font-size:12px;letter-spacing:1px}.hub-ability>span{font-size:6px;letter-spacing:.2px;max-width:75px;line-height:1.5}.hub-pause{font-size:20px;padding-left:12px}.hub-scene-viewport{max-height:none;overflow:hidden}.hub-world{width:950px;max-width:none;margin:0;aspect-ratio:1672/768}.hub-room-sign{font-size:11px;padding:6px 0}.hub-proximity{font-size:9px}.hub-journey{font-size:7px}.hub-footer{min-height:80px;padding:15px 19px;gap:8px}.hub-objective .eyebrow{font-size:6px}.hub-objective p{font-size:11px;margin-top:6px}.objective-symbol{font-size:22px}.hub-controls>span:first-child,.hub-controls #hub-progress{display:none}.hub-controls>button{padding:7px 8px;font-size:0}.hub-controls kbd{font-size:11px;margin:0}.hub-mobile-controls{display:flex;align-items:center;justify-content:center;gap:12px;background:#0b0a11;border-top:1px solid #c3a8f618;padding:14px 18px;flex-shrink:0}.hub-mobile-controls button{width:48px;height:43px;display:grid;place-items:center;border:1px solid #b294d254;background:#b095d40c;color:#ddc6f8;font:18px var(--mono);border-radius:5px;touch-action:none;user-select:none}.hub-mobile-controls button:active{background:#baa0e33b}.hub-mobile-controls #mobile-interact{margin-left:25px;font-size:14px;background:#bca0e324}.hub-mobile-controls #mobile-ability{font-size:14px}.ship-totals{grid-template-columns:1fr 1fr}.ship-metric dd{font-size:22px}.hub-room-panel{padding:24px 22px}.equipment-option{padding:13px 12px}.latency-label{font-size:9px}.hub-rooms .room-visited{font-size:9px;right:-10px}}
@media(max-width:700px) and (max-height:720px){.hub-world{width:800px}.hub-header{min-height:60px;padding:10px 16px}.hub-mobile-controls{padding:9px}.hub-mobile-controls button{height:35px;width:43px}.hub-footer{min-height:65px;padding:11px 17px}}
@media(max-height:520px) and (min-width:701px){.hub-header{min-height:60px;padding-top:9px;padding-bottom:9px}.hub-footer{min-height:68px;padding-top:12px;padding-bottom:12px}.hub-world{max-width:calc((100svh - 128px) * 2.1770833)}.hub-scene-viewport{max-height:calc(100svh - 128px)}}
