@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root { --ink:#f4f1ea; --muted:#9ca5a7; --line:rgba(244,241,234,.18); --orange:#f47a43; --teal:#6ad2c6; --panel:rgba(15,20,24,.72); }
* { box-sizing:border-box; }
html,body,#app { width:100%; height:100%; margin:0; overflow:hidden; background:#0b1013; color:var(--ink); font-family:Manrope, sans-serif; }
body { cursor:grab; } body.is-dragging { cursor:grabbing; }
#world { display:block; width:100%; height:100%; }
.hud { position:fixed; z-index:3; pointer-events:none; }
.hud-top { top:32px; left:38px; right:38px; display:flex; justify-content:space-between; align-items:flex-start; }
.brand-lockup { max-width:410px; } .eyebrow,.chip-kicker,.status-cluster,.readout span,.controls-hint,.room-button,.tour-button { font-family:'DM Mono', monospace; letter-spacing:.12em; text-transform:uppercase; font-size:10px; }
h1 { margin:7px 0 9px; font-size:clamp(25px,3vw,45px); line-height:.98; letter-spacing:-.07em; font-weight:700; } .brand-lockup p { margin:0; color:var(--muted); font-size:12px; line-height:1.5; max-width:300px; }
.eyebrow,.chip-kicker { color:var(--orange); } .status-cluster { display:flex; gap:12px; align-items:center; color:#c3cdcc; padding-top:5px; } .status-dot { width:7px; height:7px; border-radius:50%; background:var(--teal); box-shadow:0 0 16px var(--teal); animation:pulse 2s ease-in-out infinite; } .divider { height:12px; width:1px; background:var(--line); }
.hud-left { left:38px; bottom:35px; } .objective-chip { display:grid; gap:6px; padding:15px 18px; background:rgba(10,14,17,.6); border:1px solid var(--line); backdrop-filter:blur(12px); min-width:205px; } .objective-chip strong { font-size:18px; letter-spacing:-.04em; } .objective-chip span:last-child { color:var(--muted); font-size:11px; }
.controls-hint { margin-top:14px; color:#879092; } .controls-hint span { color:var(--ink); }
.room-nav { position:fixed; z-index:4; right:38px; bottom:35px; display:flex; flex-direction:column; align-items:flex-end; gap:4px; } .room-button,.tour-button { color:#bbc3c1; background:none; border:0; padding:5px 0; cursor:pointer; transition:.2s ease; } .room-button span { color:#667275; margin-right:10px; } .room-button:hover,.room-button.active { color:var(--ink); transform:translateX(-5px); } .room-button.active span { color:var(--orange); } .tour-button { margin-top:12px; padding:12px 15px; color:#12191c; background:var(--orange); font-weight:600; } .tour-button:hover { background:#ff9870; transform:translateY(-2px); }
.inspect-panel { position:fixed; z-index:5; right:38px; top:50%; transform:translateY(-45%) translateX(25px); width:min(310px,calc(100vw - 48px)); padding:24px; background:var(--panel); border:1px solid var(--line); backdrop-filter:blur(18px); opacity:0; pointer-events:none; transition:.35s cubic-bezier(.2,.8,.2,1); } .inspect-panel.open { opacity:1; pointer-events:auto; transform:translateY(-50%) translateX(0); } .close-inspect { position:absolute; right:14px; top:10px; background:none; border:0; color:var(--muted); font-size:24px; cursor:pointer; } .inspect-panel h2 { margin:12px 0 10px; font-size:23px; letter-spacing:-.06em; line-height:1; } .inspect-panel p { color:var(--muted); font-size:12px; line-height:1.65; margin:0 0 22px; } .readout { display:flex; justify-content:space-between; border-top:1px solid var(--line); padding-top:10px; margin-top:11px; } .readout strong { font-family:'DM Mono',monospace; color:var(--teal); font-size:10px; font-weight:400; }
.tour-progress { position:fixed; z-index:4; left:0; bottom:0; height:2px; width:100%; background:rgba(255,255,255,.08); opacity:0; transition:opacity .3s; } .tour-progress.active { opacity:1; } .tour-progress span { display:block; height:100%; width:0; background:var(--orange); transition:width .3s linear; }
.loading { position:fixed; inset:0; z-index:10; display:flex; align-items:center; justify-content:center; gap:12px; background:#0b1013; color:#8d9695; font:10px 'DM Mono',monospace; letter-spacing:.14em; transition:opacity .8s; } .loading.done { opacity:0; pointer-events:none; } .loading-mark { width:12px; height:12px; border:1px solid var(--orange); border-radius:50%; animation:spin 1s linear infinite; }
@keyframes pulse { 50% { opacity:.35; transform:scale(.7); } } @keyframes spin { to { transform:rotate(360deg); } }
@media (max-width:700px) { .hud-top { top:20px; left:20px; right:20px; } .hud-left { left:20px; bottom:24px; } .room-nav { right:20px; bottom:24px; } .status-cluster { display:none; } .brand-lockup p { display:none; } .objective-chip { min-width:170px; } .inspect-panel { right:20px; top:auto; bottom:20px; transform:translateY(20px); } .inspect-panel.open { transform:translateY(0); } }
