:root { color-scheme:dark; font-family:'Avenir Next','Segoe UI',Arial,sans-serif; background:#080c10; color:#eee3cd; }
* { box-sizing:border-box; }
body { margin:0; }
[hidden] { display:none!important; }
.cockpit { position:relative; width:100%; height:100vh; height:100svh; min-height:360px; overflow:hidden; }
.cockpit-still,.cockpit-view,.shade { position:absolute; inset:0; width:100%; height:100%; }
.cockpit-still { object-fit:cover; }
.cockpit-view { opacity:0; touch-action:none; cursor:grab; transition:opacity .7s; }
.cockpit-view:active { cursor:grabbing; }
@media (any-pointer:fine) {
  .cockpit-view,.cockpit-view:active { cursor:crosshair; }
  [data-fps-look="locked"] .cockpit-view { cursor:none; }
}
.cockpit-ready .cockpit-view { opacity:1; }
.shade { pointer-events:none; background:linear-gradient(#04080dbb,transparent 20%,transparent 75%,#04080de6); }
header { position:absolute; top:max(18px,env(safe-area-inset-top)); left:30px; right:30px; display:flex; align-items:center; justify-content:space-between; font-size:11px; letter-spacing:.22em; pointer-events:none; }
.muted { color:#b2b7b6; }
a { display:inline-flex; align-items:center; min-height:44px; color:inherit; text-decoration:none; pointer-events:auto; }
a:hover,button:hover { color:white; }
footer { position:absolute; bottom:max(24px,env(safe-area-inset-bottom)); left:30px; right:30px; display:flex; align-items:end; justify-content:space-between; gap:18px; pointer-events:none; }
.eyebrow { font-size:9px; letter-spacing:.26em; color:#bcb3a5; margin:0 0 8px; }
h1 { font-size:21px; font-weight:400; letter-spacing:.24em; margin:0; }
.help { margin:10px 0 0; color:#bdc5ca; font-size:11px; line-height:1.5; }
header,footer { text-shadow:0 2px 6px #000; }
.viewpoints { display:flex; flex-wrap:wrap; gap:8px; pointer-events:auto; }
button { font:inherit; font-size:10px; letter-spacing:.12em; color:#e5d5bb; border:1px solid #cbb38c66; background:#080e14b8; border-radius:3px; min-height:44px; padding:10px 15px; cursor:pointer; touch-action:none; }
:focus-visible { outline:2px solid #e6ca9d; outline-offset:3px; }
.cockpit-view:focus-visible { outline-offset:-4px; }
.loading { position:absolute; top:45%; left:0; right:0; text-align:center; font-size:12px; letter-spacing:.08em; color:#eee3cd; text-shadow:0 2px 10px black; }
.loading:empty { display:none; }
.walk-pad { position:absolute; bottom:max(24px,env(safe-area-inset-bottom)); left:18px; }
.cockpit-view,.walk-pad { -webkit-user-select:none; user-select:none; -webkit-touch-callout:none; }
.cockpit-still { pointer-events:none; }
.walk-stick { position:relative; display:block; width:112px; height:112px; padding:0; border-radius:50%; border:1px solid #d0b88c66; background:radial-gradient(circle,#15202ccc,#080e148c); touch-action:none; }
.walk-stick svg { width:100%; height:100%; fill:none; stroke:#e3cfaa; stroke-width:1.4; opacity:.5; pointer-events:none; }
.walk-stick-knob { position:absolute; left:50%; top:50%; width:44px; height:44px; margin:-22px; border-radius:50%; border:1px solid #e5cc9b99; background:radial-gradient(circle at 38% 30%,#a99673b3,#514633cc); box-shadow:0 3px 12px #0007,inset 0 1px 1px #ffebbb33; transform:translate(var(--stick-x,0px),var(--stick-y,0px)); pointer-events:none; }
.walk-stick.is-held { border-color:#e7cfa0bb; background:radial-gradient(circle,#263039dd,#080e14aa); }
.walk-stick.is-held .walk-stick-knob { border-color:#fff1d4; background:radial-gradient(circle at 38% 30%,#d7bd89,#665339); }
.explore-toggle { display:none; align-items:center; justify-content:center; gap:10px; pointer-events:auto; }
.explore-toggle svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.2; pointer-events:none; }
.explore-menu { position:fixed; inset:0; width:100%; height:100%; max-width:none; max-height:none; padding:0; margin:0; border:0; background:transparent; color:#eee3cd; overflow:hidden; }
.explore-menu:not([open]) { display:none; }
.explore-menu::backdrop { background:#020609a6; }
.explore-sheet { position:absolute; inset:0 0 0 auto; width:min(88vw,340px); display:flex; flex-direction:column; padding:24px; padding-top:max(24px,env(safe-area-inset-top)); padding-bottom:max(24px,env(safe-area-inset-bottom)); background:linear-gradient(150deg,#152029,#090f15 65%); border-left:1px solid #b49c7038; box-shadow:-16px 0 50px #0007; }
.explore-menu-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.explore-menu h2 { margin:0; font-size:20px; font-weight:400; letter-spacing:.035em; }
.explore-close { flex:0 0 44px; width:44px; padding:10px; border-color:#cbb38c3d; }
.explore-close svg { display:block; width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.5; pointer-events:none; }
.explore-intro { margin:28px 0 12px; color:#9ba8b0; font-size:12px; }
.explore-destinations { flex:1; min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:3px; margin:-3px; }
.explore-menu .viewpoints { display:flex; flex-direction:column; gap:8px; margin:0; max-width:none; }
.explore-menu .viewpoints button { position:relative; flex-shrink:0; min-height:52px; padding:16px 18px; font-size:11px; letter-spacing:.1em; text-align:left; touch-action:pan-y; background:#080e1466; border-color:#cbb38c38; }
.explore-menu .viewpoints button[aria-current="location"] { color:#ffe7ba; border-color:#d4b47b99; background:#c7a2691a; }
.explore-menu .viewpoints button[aria-current="location"]::after { content:''; position:absolute; right:16px; top:50%; width:5px; height:5px; border-radius:50%; background:#e8c992; transform:translateY(-50%); }
.explore-help { margin:20px 0 0; color:#a6b2ba; font-size:12px; line-height:1.7; }
.explore-menu[open] .explore-sheet { animation:explore-arrive .22s ease-out; }
@keyframes explore-arrive { from { transform:translateX(100%); } to { transform:translateX(0); } }
@media(min-width:701px) and (max-width:1050px) { footer { display:block; } .viewpoints { margin-top:14px; } }
@media(max-width:700px) {
  header { left:18px; right:18px; font-size:9px; }
  footer { left:18px; right:18px; display:block; bottom:max(18px,env(safe-area-inset-bottom)); }
  h1 { font-size:17px; }
  .help { max-width:280px; }
  .viewpoints { margin-top:14px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); max-width:340px; }
  .viewpoints button:last-child:nth-child(odd) { grid-column:1 / -1; }
  .viewpoints button { padding:9px 12px; font-size:9px; }
}
@media(max-height:500px) and (min-width:701px) {
  .eyebrow { display:none; } footer { bottom:14px; }
}
@media(max-width:700px),(pointer:coarse) {
  .has-explore-menu footer { left:18px; right:18px; bottom:max(24px,env(safe-area-inset-bottom)); display:flex; justify-content:flex-end; }
  .has-explore-menu .room-caption { max-width:calc(100% - 142px); text-align:right; }
  .has-explore-menu .room-caption .eyebrow,.has-explore-menu .room-caption .help { display:none; }
  .has-explore-menu .room-caption h1 { font-size:12px; line-height:1.65; letter-spacing:.14em; }
  .has-explore-menu .cockpit-ready .explore-toggle { display:inline-flex; margin-top:12px; min-width:114px; min-height:44px; padding:10px 12px; }
  .cockpit[data-navigation-open="true"] .walk-pad { visibility:hidden; }
}
@media(prefers-reduced-motion:reduce) { .cockpit-view { transition:none; } .explore-menu[open] .explore-sheet { animation:none; } }
