:root{--ink:#102b37;--light:#9fd3ff;--mint:#b4c6dd;--gold:#dcc998;--line:#7d9c914d}*{box-sizing:border-box}body{margin:0;background:#0b1c28;color:var(--light);font:14px/1.6 system-ui,sans-serif;overflow:hidden}button,a{font:inherit}button{cursor:pointer}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #dbc796;outline-offset:3px}[hidden]{display:none!important}a{color:var(--mint);text-underline-offset:4px}#immersive-app,#viewport,#world-canvas{position:absolute;inset:0;width:100%;height:100%}#world-canvas{display:block;touch-action:none;outline:none}.hud-header{position:absolute;z-index:4;top:0;left:0;right:0;padding:20px 27px;display:flex;align-items:center;gap:24px;background:linear-gradient(#071923e6,transparent)}.brand{font-weight:700;text-decoration:none;color:var(--light);font-size:14px;white-space:nowrap}.brand span{display:block;font-size:10px;letter-spacing:.13em;text-transform:uppercase;color:#a1acba;font-weight:400}.hud-header nav{display:flex;flex-wrap:wrap;gap:6px;flex:1}.hud-header nav button{border:1px solid #809f8b55;color:#b9c1cb;background:#0a202aab;border-radius:18px;padding:6px 12px;font-size:11px}.hud-header nav button[aria-pressed=true]{border-color:#afc0d5;background:#345e51d9;color:#fff9e8}.glass,.primary{border:1px solid #8bb19b88;border-radius:7px;padding:9px 14px;font-size:12px;color:var(--light);background:#0d2832d9;backdrop-filter:blur(10px)}.primary{background:#b5c6da;color:#142e32;border-color:#b5c6da;font-weight:650}.glass:hover{background:#31534bcf}.arrival{position:absolute;z-index:5;top:24%;left:7%;width:390px;max-width:84%;padding:28px 30px;border:1px solid #93b6a45c;border-radius:16px;background:linear-gradient(125deg,#102e38e8,#143641b8);backdrop-filter:blur(14px);box-shadow:0 20px 80px #00131d55}.eyebrow{font-size:10px;letter-spacing:.15em;text-transform:uppercase;color:#afbdce;font-weight:650}h1,h2,h3{font-family:Georgia,serif;font-weight:400;letter-spacing:-.035em;line-height:1.15}h1{font-size:54px;margin:12px 0 20px}h1 em{color:var(--mint);font-weight:400}.arrival>p:not(.eyebrow){font-size:14px;line-height:1.8;color:#c3cbd5}.arrival>button{margin:10px 6px 0 0}.arrival-note{font-size:10px!important;margin-top:22px}.location{position:absolute;z-index:2;top:98px;left:28px;max-width:460px;pointer-events:none;text-shadow:0 2px 12px #03131e}.location h2{font-size:31px;margin:5px 0 7px}.location p{margin:5px 0;color:#c2c8d0;font-size:12px}.location .eyebrow{font-size:10px}.location>span{font-size:11px;color:#dfd1ab}.crosshair{position:absolute;left:50%;top:50%;width:18px;height:18px;margin:-9px;pointer-events:none;z-index:2;opacity:.8}.crosshair:before,.crosshair:after{content:"";position:absolute;background:#ccd9e9}.crosshair:before{height:1px;width:18px;top:9px}.crosshair:after{height:18px;width:1px;left:9px}.crosshair span{position:absolute;width:4px;height:4px;top:7px;left:7px;border-radius:50%;background:#ccd9e9}.aim-hint{position:absolute;top:54%;left:50%;transform:translateX(-50%);z-index:2;pointer-events:none;font-size:11px;text-align:center;max-width:320px;padding:5px 10px;border-radius:10px;background:#0a1e27a6;color:#9fd3ff}.object-panel{position:absolute;z-index:6;right:22px;top:95px;max-height:calc(100dvh - 195px);width:335px;padding:25px;background:#f7f4eaf5;color:var(--ink);border-radius:12px;border:1px solid #bcc6d3;overflow-y:auto;box-shadow:0 15px 70px #00131d80;backdrop-filter:blur(20px)}.object-panel h2{font-size:31px;margin:12px 0 18px}.object-panel p{font-size:13px;line-height:1.75}.object-panel .eyebrow{color:#355071}.object-panel h4{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#385373;margin:22px 0 8px}.object-panel .source{padding-left:13px;border-left:2px solid #7c8ca0;font-size:12px;color:#525d6a}.close{position:absolute;right:12px;top:9px;background:none;border:0;font-size:23px;color:inherit}.object-panel button:not(.close){font-size:11px;border:1px solid #aab6c4;border-radius:6px;background:#9fd3ff;color:#273f5c;padding:7px 9px;margin:4px 3px 2px 0}.memory-review{background:#eae3ef;border-left:3px solid #9581a9;padding:13px;margin:16px 0;font-size:12px}.memory-review small{display:block;font-size:10px;color:#75617f;margin-top:10px}.walk-guide{position:absolute;z-index:5;left:50%;transform:translateX(-50%);bottom:90px;max-width:690px;width:calc(100% - 580px);min-width:360px;display:flex;align-items:center;gap:20px;padding:16px 20px;background:#102e39eb;border:1px solid #9ab69b7a;border-radius:12px;backdrop-filter:blur(15px)}.walk-guide h3{font-size:24px;margin:6px 0 9px}.walk-guide p{font-size:12px;margin:0;color:#ced4dc;line-height:1.7}.guide-actions{display:flex;gap:7px;flex-wrap:wrap;min-width:145px;max-width:160px}.guide-actions button{font-size:10px;padding:6px 9px}.route-map{position:absolute;z-index:3;left:24px;bottom:82px;width:225px;padding:15px 16px;background:#0b2630dc;border:1px solid #8caf9580;border-radius:10px;backdrop-filter:blur(12px)}.map-heading{display:flex;justify-content:space-between;align-items:center}.route-map .eyebrow{margin:0}.route-map>p{font-size:10px;color:#a6b0bd;margin:9px 0 0}#room-map{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:12px}#room-map button{font-size:10px;text-align:left;border:1px solid #68877770;background:#1b3b40;color:#c5ced8;border-radius:5px;padding:8px 8px}#room-map button[aria-current=true]{border-color:#9fd3ff;background:#3d4d60;color:#fff8dc}.tiny{border:0;background:none;color:#c2cbd6;font-size:10px;padding:4px}.movement{position:absolute;right:26px;bottom:80px;z-index:4;user-select:none;touch-action:none}.move-grid{display:grid;grid-template-columns:repeat(3,40px);gap:6px;justify-content:center}.move-grid>button:first-child{grid-column:2;grid-row:1}.move-grid>button:nth-child(2){grid-column:1;grid-row:2}.move-grid>button:nth-child(3){grid-column:2;grid-row:2}.move-grid>button:nth-child(4){grid-column:3;grid-row:2}.movement button{background:#12313cdb;border:1px solid #8db09b88;border-radius:7px;color:#9fd3ff;min-height:40px;font-size:18px;touch-action:none}.movement button:active{background:#617185}.turn-controls{display:flex;gap:6px;justify-content:space-between;margin-top:8px}.turn-controls button{padding:2px 12px;font-size:18px}.turn-controls #inspect{font-size:11px;flex:1}.hud-footer{position:absolute;z-index:4;bottom:0;left:0;right:0;display:flex;justify-content:space-between;align-items:center;gap:15px;padding:13px 24px;background:linear-gradient(transparent,#061822ee);font-size:10px;color:#abb5c2}.hud-footer>div{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.hud-footer nav{display:flex;align-items:center;gap:14px}.scope-dot{width:5px;height:5px;border-radius:50%;background:#9cb3cf;flex:none}.hud-footer a{font-size:10px;white-space:nowrap}.help{position:absolute;z-index:10;top:50%;left:50%;transform:translate(-50%,-50%);width:min(530px,90vw);max-height:88dvh;overflow:auto;padding:30px;background:#f7f3e9f7;color:var(--ink);border:1px solid #9fd3ff;border-radius:12px;box-shadow:0 15px 80px #001019a0}.help h2{font-size:32px;margin:6px 0 22px}.help p{font-size:13px}.help a{color:#2a496e}@media(max-width:1000px){.hud-header{gap:16px;padding:16px}.hud-header nav{gap:4px}.hud-header nav button{padding:5px 9px;font-size:10px}.brand{font-size:12px}.location{left:20px}.walk-guide{width:calc(100% - 390px);left:260px;transform:none;min-width:0;right:180px;max-width:none;flex-direction:column;gap:12px;align-items:flex-start}.guide-actions{max-width:none;min-width:0}.object-panel{width:300px}}@media(max-width:650px){.hud-header{flex-wrap:wrap;padding:12px 14px;gap:9px}.brand{font-size:12px}.brand span{font-size:8px}.hud-header nav{order:3;width:100%;flex-basis:100%;gap:5px}.hud-header nav button{font-size:10px;padding:5px 8px}.hud-header #fullscreen{margin-left:auto;padding:7px 10px;font-size:10px}.location{top:100px;left:16px;max-width:260px}.location h2{font-size:26px}.location p{font-size:11px}.location #room-purpose{max-width:245px}.arrival{top:24%;left:6%;max-width:88%;width:360px;padding:23px}.arrival h1{font-size:46px}.arrival p{font-size:13px!important}.arrival .arrival-note{font-size:9px!important}.arrival>button{padding:9px 12px;font-size:11px}.route-map{left:12px;bottom:76px;width:160px;padding:12px;max-height:calc(100dvh - 200px);overflow-y:auto;box-sizing:border-box;z-index:5}.route-map .eyebrow{font-size:9px}#room-map{gap:4px;margin-top:8px}#room-map button{font-size:9px;padding:7px 5px}.route-map>p{font-size:9px}.movement{right:12px;bottom:76px}.move-grid{grid-template-columns:repeat(3,35px);gap:5px}.movement button{min-height:35px}.turn-controls button{font-size:16px;padding:2px 9px}.turn-controls #inspect{font-size:10px}.hud-footer{padding:11px 13px;font-size:9px;align-items:flex-end}.desktop-help{display:none}.hud-footer nav{gap:6px}.hud-footer .tiny,.hud-footer a{font-size:9px}.hud-footer>div{max-width:150px}.aim-hint{top:54%;font-size:10px;max-width:220px;width:max-content}.object-panel{top:104px;left:12px;right:12px;width:auto;max-height:calc(100dvh - 360px);padding:20px}.object-panel h2{font-size:27px}.walk-guide{left:12px;right:12px;width:auto;bottom:260px;padding:13px 16px;gap:10px;max-height:calc(100dvh - 400px);overflow:auto}.walk-guide h3{font-size:23px}.walk-guide p{font-size:11px}.guide-actions{gap:5px}.guide-actions button{font-size:9px}.help{padding:25px}.help h2{font-size:29px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

@media(max-width:650px){body[data-guided=true] .location{display:none}}

/* ---- R6 additions: memory cards, sections, gallery, module hosts ---- */
.object-panel dl.meta{margin:0 0 6px;display:grid;grid-template-columns:72px 1fr;gap:4px 10px;font-size:12px}.object-panel dl.meta dt{color:#385373;font-size:10px;text-transform:uppercase;letter-spacing:.06em;padding-top:2px}.object-panel dl.meta dd{margin:0;color:#2e3b4b;line-height:1.5}
.object-panel .small{font-size:11px;color:#5d6672}
.asset-thumb{width:100%;height:auto;border-radius:6px;border:1px solid #9fd3ff;margin:10px 0 4px;filter:sepia(.18)}
.episode-offer{background:#e6eaef;border-left:3px solid #4a688c;padding:13px;margin:16px 0;font-size:12px}.episode-offer small{display:block;font-size:10px;color:#4c5a6c;margin-top:8px}
.section-map{margin-top:12px;display:grid;grid-template-columns:1fr;gap:5px}.section-map .eyebrow{margin:0 0 2px;font-size:9px}.section-map button{font-size:10px;text-align:left;border:1px solid #68877770;background:#15323a;color:#9fd3ff;border-radius:5px;padding:7px 8px}.section-map button small{display:block;font-size:9px;color:#a4b0be;margin-top:2px}
.graph-state{display:inline-block;margin-top:6px;font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:#f0c36a;border:1px solid #f0c36a66;border-radius:12px;padding:3px 9px;pointer-events:none}
.guide-body{flex:1;min-width:0}
.episode-host{position:absolute;z-index:12;right:22px;top:95px;width:min(520px,calc(100% - 44px));max-height:calc(100dvh - 195px);overflow:auto;border-radius:22px;box-shadow:0 20px 90px #00131da0}.episode-host [data-memory-player]{width:100%;max-width:none}.episode-host [data-memory-player] .mp-episode-title{font-size:1.5rem;margin-top:14px}.episode-host [data-memory-player] .mp-scene{margin:14px 0;padding:16px}.episode-host [data-memory-player] .mp-title{font-size:1.3rem}.episode-host [data-memory-player] .mp-caption{font-size:.98rem}
.graph-story-host{position:absolute;z-index:6;right:22px;top:95px;width:400px;max-height:calc(100dvh - 195px);overflow:auto}.graph-story-host [data-graph-story]{max-height:none}
@media(max-width:1000px){.graph-story-host{width:330px}}
.episode-bar{position:sticky;top:0;z-index:2;display:flex;gap:6px;align-items:center;flex-wrap:wrap;padding:8px 10px;background:#0f2531f2;border:1px solid #d9b48377;border-radius:14px 14px 0 0;color:#9fd3ff}.episode-bar .chip{font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:#f0c36a;border:1px solid #f0c36a88;border-radius:10px;padding:2px 7px}.episode-bar-scene{font-size:11px;color:#c6cdd6;flex:1;min-width:70px}.episode-bar .tiny{border:1px solid #8bb19b88;border-radius:6px;padding:5px 9px;font-size:11px;color:#9fd3ff;background:#1b3a46;min-height:32px}.episode-host.collapsed [data-memory-player]{display:none!important}.episode-host.collapsed{max-height:none;overflow:visible}.episode-host.collapsed .episode-bar{border-radius:14px}
@media(max-width:650px){.episode-host{left:12px;right:12px;top:auto;bottom:76px;width:auto;max-height:44dvh;border-radius:14px}.episode-host [data-memory-player]{max-height:calc(44dvh - 50px);overflow:auto}.episode-bar .tiny{padding:6px 8px}.graph-story-host{left:12px;right:12px;width:auto;top:104px;max-height:calc(100dvh - 360px)}.section-map button{font-size:9px;padding:6px 6px}}
.section-group{border:1px solid #68877750;border-radius:5px;background:#12292f}.section-group summary{cursor:pointer;font-size:10px;padding:6px 8px;color:#9fd3ff;list-style:none}.section-group summary::-webkit-details-marker{display:none}.section-group summary small{color:#9ea8b3;font-size:9px}.section-group[open] summary{border-bottom:1px solid #68877740}.section-group button{display:block;width:100%;border:0;border-radius:0;background:transparent;padding:5px 8px 5px 14px}.section-group button:hover{background:#1f3f45}
.object-panel .mode{background:#eef0e3;border-left:3px solid #c59a3c;padding:12px;margin:14px 0;font-size:12px}.object-panel .mode button{text-transform:capitalize}.object-panel .mode button[aria-pressed=true]{background:#2b415b;color:#fff8dc;border-color:#2b415b}.object-panel .mode small{display:block;font-size:10px;color:#6b5a2e;margin-top:8px}

/* R9b vault prompt + illustration banner */
.vault-field{display:block;margin:12px 0;font-size:13px}.vault-field input{display:block;width:100%;margin-top:4px;padding:8px;border:1px solid #9fd3ff;border-radius:6px;font:inherit;background:#fff;color:#142e32}.vault-actions{display:flex;gap:8px;flex-wrap:wrap}.vault-result{margin-top:10px;font-weight:600;min-height:1.2em}.vault-result[data-kind=refusal]{color:#8a2a2a}.illustration-banner{position:absolute;left:50%;bottom:64px;transform:translateX(-50%);z-index:3;font-size:11px;padding:6px 12px;border-radius:10px;background:#3a2d14e6;color:#ffe9b8;pointer-events:none;max-width:90vw;text-align:center}

/* suite gallery card */
.gallery-links a{color:#1f5f7a;font-weight:600}.gallery-links{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.gallery-meta{font-size:12px;color:#525d6a}.gallery-hook{font-style:italic}

/* L1 librarian */
#librarian-choices{display:grid;gap:8px}#librarian-choices button{display:flex;flex-direction:column;align-items:flex-start;gap:2px}#librarian-choices small{font-weight:400;opacity:.8;font-size:11px}

/* R18: narrow viewports — the persona chip sits under the two-row world switch instead of over it */
@media(max-width:650px){#persona-chip{top:120px!important;left:12px;right:12px;transform:none;width:auto;max-width:none;font-size:10px;line-height:1.3;text-align:center}}

/* R22: narrow viewports — the arrival card fits the viewport and scrolls inside itself (Codex watch seat 8927: card clipped at 320 px) */
@media(max-width:650px){.arrival{top:72px;left:12px;right:12px;width:auto;max-width:none;max-height:calc(100% - 150px);overflow:auto;padding:16px 16px 14px}.arrival h1{font-size:26px;line-height:1.1}.arrival p{font-size:13px}}
@media(max-height:720px) and (max-width:650px){.arrival{top:64px;max-height:calc(100% - 136px)}}

/* R24: authored walk steps in the gallery object panel */.walk-steps{padding-left:18px;margin:6px 0}.walk-steps li{margin:5px 0;font-size:12px;line-height:1.45}.wk{display:inline-block;font-size:10px;border:1px solid #8bb19b88;border-radius:4px;padding:0 5px;margin-right:4px;color:#9fd3ff;background:#1b3a46;vertical-align:middle}

/* CON-5167 talk-to-build (only with ?build=1) */
/* CON-5172 layout: the panel lives in a right-hand dock below the header (build.js keeps --hud-bottom in step with the
   header's real height, which wraps at narrower widths) and above the movement pad. The draft banner sits at the top of
   the same dock so it never covers the world switcher. On desktop the dock itself forms NO stacking context (z-index:auto):
   the panel and the bar keep level 6 and the banner takes level 40, above the help dialog (10), the episode player (12) and the
   shared-room panel (30); the banner is pointer-events:none so it blocks nothing beyond looking at it. The panel is bounded by the dock and scrolls on its own. On a
   phone the dock is a bottom sheet; its z-index clears three's VRButton (inline z-index 999). */
#build-dock{position:absolute;z-index:auto;top:calc(var(--hud-bottom,112px) + 8px);right:18px;bottom:226px;width:min(420px,calc(100vw - 36px));display:flex;flex-direction:column;gap:8px;pointer-events:none}
#build-dock>#build-panel{pointer-events:auto;z-index:6}
#build-panel{position:static;transform:none;width:auto;max-height:none;min-height:0;flex:0 1 auto;box-sizing:border-box;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:20px 22px;background:#ebeff5;color:#102b37;font-size:13px;overflow-wrap:anywhere}#build-panel h2{font-size:22px;margin:0 0 10px}#build-panel label{display:block;margin:8px 0 4px}#build-panel input,#build-panel textarea{width:100%;box-sizing:border-box;background:#0d2430;color:#9fd3ff;border:1px solid #8bb19b66;border-radius:6px;padding:7px 9px;font:inherit}#build-panel input[type=radio]{width:auto;margin:0 6px 0 0;vertical-align:-2px}#build-panel input::placeholder,#build-panel textarea::placeholder{color:#a9b2bc;opacity:1}#build-panel select,#build-panel iframe{max-width:100%}#build-panel .glass{background:#0d2832;color:#9fd3ff}#build-panel a.glass{color:#9fd3ff}#build-panel .glass:hover{background:#304054}#build-panel .build-tag{font-size:11px;font-weight:400;color:#3a5360;margin-left:8px}#build-panel .build-label{font-weight:650;letter-spacing:.02em;padding:5px 9px;border-radius:6px;border-left:4px solid}#build-panel .build-label.ok{color:#6b3500;background:#fdebd0;border-color:#b86b00}#build-panel .build-label.bad{color:#9a1f14;background:#fbe1dc;border-color:#9a1f14}#build-panel .build-warn{color:#9a1f14}#build-panel .build-digest{font-family:ui-monospace,monospace;font-size:11px;color:#3a5360;word-break:break-all}
#draft-banner{position:absolute;z-index:40;left:50%;top:14px;transform:translateX(-50%);background:#7a3b00e6;color:#fff3d6;border:1px solid #ffb86b;border-radius:8px;padding:8px 14px;font-size:13px;font-weight:600;letter-spacing:.02em;pointer-events:none}#build-dock>#draft-banner{position:static;transform:none;flex:none;background:#7a3b00;font-size:12px;z-index:40}
#build-route{border:1px solid #8bb19b88;border-radius:6px;padding:6px 9px;margin:8px 0}#build-route legend{font-size:11px;color:#3a5360}#build-route label{display:block;margin:3px 0}#build-disclosure .build-disclosure-text{background:#fff6e6;color:#102b37;border:1px solid #b86b00;border-radius:6px;padding:8px;font-size:12px}
#build-import{border:1px solid #8bb19b88;border-radius:6px;padding:6px 9px;margin:8px 0}#build-import legend{font-size:11px;color:#3a5360}#build-import select{background:#0d2430;color:#9fd3ff;border:1px solid #8bb19b66;border-radius:6px;padding:6px}
@media(max-width:650px){#build-dock{z-index:1000;top:auto;left:0;right:0;bottom:0;width:auto;max-height:min(62dvh,calc(100dvh - var(--hud-bottom,140px) - 8px));gap:0}#build-dock>#draft-banner{border-radius:12px 12px 0 0;border-bottom:0}#build-panel{border-radius:14px 14px 0 0;padding:16px 14px calc(16px + env(safe-area-inset-bottom,0px))}#build-dock>#draft-banner:not([hidden])+#build-panel{border-radius:0}#build-panel h2{font-size:19px}}

#pages-view{border:1px solid #8bb19b55;border-radius:6px;padding:6px 9px;margin:8px 0}#pages-frame{width:100%;height:260px;border:1px solid #2c4c53;border-radius:6px;background:#0f1a20}#pages-pick{max-width:100%}#pages-download{display:inline-block;padding:3px 8px;border-radius:6px;text-decoration:none}

/* CON-5172 dock bar + collapse. Defect: the dock sat on top of the world's page/object panel (Website world: "Open the
   live page" and the linked-page buttons were behind the Build panel). Rule: the dock is banner → bar → panel; the bar
   (title, digest, a real toggle with aria-expanded) is always shown and the panel collapses whenever a world panel opens
   (build.js). World panels start below the bar (build.js keeps --build-bar-bottom in step), so a collapsed dock never
   covers them and the draft banner is never covered or collapsed. On a phone the collapsed bar sits under the header,
   clear of the movement pad; the expanded bottom sheet is unchanged. */
#build-dock>#build-dock-bar{pointer-events:auto;z-index:6;flex:none;display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;padding:7px 8px 7px 14px;background:#ebeff5;color:#102b37;border:1px solid #bcc6d3;border-radius:8px;font-size:12px}
#build-dock-bar .build-dock-title{font-weight:650}#build-dock-bar #build-dock-digest{font-family:ui-monospace,monospace;font-size:11px;color:#3a5360;flex:1;min-width:0}
#build-dock-bar #build-dock-toggle{margin-left:auto;min-height:32px;padding:6px 10px;font-size:12px;background:#0d2832;color:#9fd3ff;backdrop-filter:none}#build-dock-bar #build-dock-toggle:hover{background:#304054}
#build-dock.collapsed{bottom:auto}
@media(min-width:651px){body[data-build-dock] #object-panel,body[data-build-dock] #graph-story-host,body[data-build-dock] #episode-host{top:calc(var(--build-bar-bottom,180px) + 8px)!important;max-height:calc(100dvh - var(--build-bar-bottom,180px) - 108px)!important}}
@media(max-width:650px){#build-dock>#build-dock-bar{border-radius:14px 14px 0 0;border-bottom:0}#build-dock>#draft-banner:not([hidden])+#build-dock-bar{border-radius:0}#build-dock>#build-dock-bar+#build-panel{border-radius:0}
#build-dock.collapsed{top:calc(var(--hud-bottom,140px) + 8px);bottom:auto;left:12px;right:12px;max-height:none}#build-dock.collapsed>#draft-banner{border-radius:10px 10px 0 0}#build-dock.collapsed>#build-dock-bar{border-radius:0 0 10px 10px;border-bottom:1px solid #bcc6d3}#build-dock.collapsed>#draft-banner[hidden]+#build-dock-bar{border-radius:10px}
body[data-build-dock=collapsed] .location,body[data-build-dock=collapsed] #object-panel,body[data-build-dock=collapsed] #graph-story-host{top:calc(var(--build-bar-bottom,200px) + 8px)!important}body[data-build-dock=collapsed] #object-panel,body[data-build-dock=collapsed] #graph-story-host{max-height:calc(100dvh - var(--build-bar-bottom,200px) - 248px)!important}
body[data-build-dock=collapsed] .arrival{top:calc(var(--build-bar-bottom,200px) + 8px);max-height:calc(100dvh - var(--build-bar-bottom,200px) - 248px)}}

/* CON-5191 clean walk (operator decision 2026-11-15): ONE vision notice on the hosting page, outside the 3D view. The
   body becomes a column: the notice is a static band at the top and the explorer app (canvas + HUD) fills the rest, so
   the canvas never sits under the notice and the notice never covers a control. Static text; not dismissible. */
body{display:flex;flex-direction:column;height:100vh;height:100dvh}
.vision-notice{flex:none;margin:0;padding:5px 16px;font-size:11px;line-height:1.35;text-align:center;color:#ffe9b8;background:#061822;border-bottom:1px solid #809f8b55;position:relative;z-index:10}
#immersive-app{position:relative;inset:auto;flex:1 1 auto;min-height:0;width:100%;height:auto}
@media(max-width:650px){.vision-notice{font-size:10.5px;padding:5px 12px}}
/* The memory walk shows the reconstruction's content (title, caption, time, state) without the player's boilerplate
   provenance lines; memory-player.js itself is unchanged. */
#episode-host .mp-badge,#episode-host .mp-timing-note,#episode-host .mp-source,#episode-host .mp-review-state{display:none}
/* Footer: the separator before the controls line only when a scope note precedes it (hidden in the memory world). */
.hud-footer [data-scope-note]:not([hidden])+.desktop-help::before{content:" · "}
/* CON-5191 phone arrival: on narrow viewports the room map (.route-map, z-index 5, later in the DOM than the arrival
   card) sat over the card's "Enter the world" / "Take a guided walk" buttons on load. While the arrival card is showing
   the map is not drawn; once the visitor enters (or restarts and enters again) it returns exactly as it was. */
@media(max-width:650px){body:has(#arrival:not([hidden])) .route-map{display:none}}
/* Short landscape viewports (e.g. 844x390): the desktop-layout arrival card ran past the bottom of the window, so its
   buttons could not be reached at all. It now stops above the VR button and scrolls inside itself (same top as before).
   The two narrow-viewport max-heights above (R22) now measure the explorer app (100%) instead of the window (100dvh):
   since the vision notice sits above the app, 100dvh let the card run under the VR button at 320x568. */
/* Same short landscape: the bottom-anchored room map (memory world, with its sections list) grew up under the HUD header,
   whose top row hid the map's collapse button; it is capped to stay below a one-row-nav header and scrolls inside. */
@media(max-height:500px) and (min-width:651px){.arrival{max-height:calc(76% - 70px);overflow:auto;padding:18px 22px}.arrival h1{font-size:30px}.route-map{max-height:calc(100% - 190px);overflow-y:auto}}
