:root{--bg:var(--pine-deep);font-family:var(--ui-font);color:var(--paper);background:var(--bg)}
*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:var(--paper);background:var(--pine-raised);border:1px solid var(--line);border-radius:30px;min-height:48px;padding:13px 20px}button:hover{border-color:var(--gold);background:var(--pine-hover)}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible{outline:3px solid var(--gold);outline-offset:4px}a{color:var(--gold);text-underline-offset:5px}.primary{background:var(--gold);color:var(--pine-deep);border-color:var(--gold);font-weight:600}.primary:hover{background:#edcca4;color:var(--pine-deep)}.primary span{margin-left:25px}[hidden]{display:none!important}
#welcome{max-width:1440px;margin:auto;padding:34px 5vw 20px;min-height:100svh;display:flex;flex-direction:column;background:radial-gradient(ellipse at 78% 40%,#36564966,transparent 55%)}header,footer{display:flex;align-items:center;justify-content:space-between;gap:20px}header a{text-decoration:none;font-size:13px}.edition,.eyebrow{font-size:10px;letter-spacing:1.6px;color:var(--gold);line-height:1.6}.edition{color:var(--muted)}h1{font-family:var(--display-font);font-weight:400;font-size:clamp(42px,4.6vw,68px);letter-spacing:-1.8px;line-height:1.05;margin:22px 0}h2{font-family:var(--display-font);font-size:28px;font-weight:400;margin:12px 0 16px}.fine{font-size:12px;line-height:1.7;color:var(--muted)}#load-status{font-size:12px;color:var(--gold);min-height:1.5em}footer{border-top:1px solid var(--line);padding-top:15px;font-size:11px;color:var(--muted)}.text-button{border:0;background:none;padding:8px 0;min-height:44px;font-size:11px;color:var(--muted)}
#experience{position:fixed;inset:0;isolation:isolate;background:var(--bg)}#stage{position:absolute;inset:0}#stage canvas{width:100%;height:100%;display:block;touch-action:none}.session-header{position:absolute;top:max(18px,env(safe-area-inset-top));left:20px;right:20px;display:flex;justify-content:space-between;align-items:center;pointer-events:none}.session-header>div{padding:12px 16px;background:var(--glass-panel);border-radius:15px}.session-header button{pointer-events:auto}.session-header p{font-size:11px;margin:3px 0 0;color:var(--muted)}.guidance{position:absolute;top:100px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);background:var(--glass-panel);border:1px solid var(--line);padding:14px 20px;border-radius:16px;font-size:14px;text-align:center;line-height:1.5;margin:0;pointer-events:none}.session-bottom{position:absolute;bottom:max(16px,env(safe-area-inset-bottom));left:16px;right:16px;text-align:center;pointer-events:none}.session-bottom button{pointer-events:auto}.session-bottom .fine{display:table;margin:12px auto 0;background:var(--glass-panel);border-radius:12px;padding:5px 12px;font-size:10px}#placement,#controls{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}#place{min-width:170px}#rotate-left,#rotate-right{font-size:24px;min-width:50px;padding:6px 12px}
#annotation{position:absolute;bottom:145px;left:50%;transform:translateX(-50%);width:min(400px,calc(100% - 32px));max-height:42svh;overflow:auto;background:var(--glass-panel);border:1px solid var(--line);border-radius:var(--panel-radius);padding:24px;box-shadow:0 16px 60px #0005}#annotation p{line-height:1.65;font-size:14px}#annotation .fine{font-size:12px}#annotation .eyebrow{font-size:10px}#annotation-close,.dialog-close{float:right;padding:0;width:44px;font-size:24px;margin:-8px -8px 0 12px;min-height:44px}
dialog{color:var(--paper);background:var(--pine-panel);border:1px solid var(--line);border-radius:24px;width:min(540px,calc(100% - 32px));padding:30px;max-height:85svh;overflow:auto}dialog::backdrop{background:#08160fbf;backdrop-filter:blur(5px)}dialog p{line-height:1.7;font-size:14px}.credit-links{display:flex;flex-wrap:wrap;gap:18px;font-size:12px}.noscript{padding:20px;background:#572f28}
@media(max-width:700px){#welcome{padding:22px 22px 16px}h1{font-size:46px;letter-spacing:-1.2px}footer{font-size:10px;gap:8px}footer .text-button{font-size:10px}.edition{font-size:8px}.session-header{left:16px;right:16px}.session-header>div{padding:10px 12px}.guidance{font-size:13px}#controls button{padding:10px 14px;font-size:13px}#controls #rotate-left,#controls #rotate-right{font-size:22px}}
@media(max-height:540px) and (orientation:landscape){.guidance{top:18px;max-width:43%}.session-header{align-items:flex-start}#annotation{left:auto;right:16px;top:90px;bottom:100px;transform:none;max-height:none;width:310px;padding:16px}.session-bottom{bottom:10px}.session-bottom .fine{margin-top:5px}}
#model-layer{position:absolute;touch-action:none;user-select:none;-webkit-user-select:none}
#model-layer canvas{display:block;touch-action:none}
/* XR8 writes buffer dimensions into inline CSS via Three.js setSize(). Keep
   the high-resolution buffer, but display its full frame inside the fitted host. */
.world-page #model-layer canvas{width:100%!important;height:100%!important}
.preview-mode #stage{background:var(--scene-backdrop)}
/* Light the space around a fitted camera feed without changing its framing. */
#experience:not(.preview-mode) #stage {
  background:
    radial-gradient(ellipse at 17% 0%, #a684513d, transparent 48%),
    radial-gradient(ellipse at 84% 100%, #759b7652, transparent 54%),
    linear-gradient(158deg, #263d31, #0c1914 54%, #182e24);
}
#experience:not(.preview-mode) #stage::before {
  content:"";position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(ellipse 56% 30% at 64% 4%, #e7bd7822, transparent),
    radial-gradient(ellipse 62% 30% at 32% 97%, #4f856d3d, transparent);
}
@media(prefers-reduced-motion:no-preference) {
  #experience:not(.preview-mode) #stage::before {animation:camera-ambient-in 1.1s ease-out both}
}
@keyframes camera-ambient-in {from{opacity:.35}to{opacity:1}}
.header-actions{display:flex;gap:8px;background:transparent!important;padding:0!important;pointer-events:auto}
#smaller,#bigger{font-size:23px;padding:6px 15px}
@media(max-width:400px){#controls{gap:6px}#controls button{padding:9px 12px}.session-header{left:12px;right:12px}.session-header>div{padding:8px 10px}.session-header button{padding:10px 13px}.session-header .header-actions{padding:0}.session-header p{font-size:9px}}

/* All object details in the walk-around view. */
#hotspots{position:absolute;inset:0;pointer-events:none}
.model-hotspot{position:absolute;left:0;top:0;width:44px;min-height:44px;padding:0;border-radius:50%;background:var(--gold);border:2px solid #fff4dc;color:var(--pine-deep);font-size:12px;box-shadow:0 0 0 4px #10201955;pointer-events:auto;will-change:transform}
.model-hotspot[aria-expanded="true"]{background:#fff4dc;box-shadow:0 0 0 5px #dfb98766}
#annotation-picker{display:flex;gap:5px;margin-top:16px;padding-top:12px;border-top:1px solid var(--line)}
#annotation-picker button{width:44px;min-height:44px;padding:0;font-size:12px}
#annotation-picker button[aria-pressed="true"]{background:var(--gold);color:var(--bg);border-color:var(--gold)}
@media(prefers-reduced-motion:reduce){.model-hotspot{will-change:auto}}
#annotation-picker button{flex:0 0 44px}
/* Frosted detail cards: tint the backdrop, never the text or controls. */
#annotation{background:var(--glass-panel);border-color:rgba(239,248,246,.28);box-shadow:0 18px 48px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.15);color:var(--paper)}
#annotation p,#annotation h2{text-shadow:0 1px 3px rgba(0,0,0,.35)}
#annotation .fine{color:var(--muted)}#annotation .eyebrow{color:var(--gold-bright)}
#annotation-close,#annotation-picker button{background:var(--glass-control);border-color:rgba(239,248,246,.25)}
#annotation-close:hover,#annotation-picker button:hover{background:var(--pine-hover);border-color:var(--gold)}
#annotation-picker{border-top-color:rgba(239,248,246,.2)}
#annotation-picker button[aria-pressed="true"]{background:var(--gold);color:var(--bg);border-color:var(--gold)}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  #annotation{background:var(--glass-panel);-webkit-backdrop-filter:blur(var(--glass-blur)) saturate(120%);backdrop-filter:blur(var(--glass-blur)) saturate(120%)}
}
@media(prefers-reduced-transparency:reduce){#annotation{background:var(--pine-panel);-webkit-backdrop-filter:none;backdrop-filter:none}}
@media(max-width:360px){#annotation{padding:16px}#annotation-picker{gap:4px}}

/* Prevent browser double-tap zoom, including controls and scrollable details.
   The model canvas keeps touch-action:none for its custom two-finger gestures. */
html,body,#welcome,#experience,#annotation,dialog,button,a{touch-action:manipulation}
/* V5 launch: the action comes first, with no introductory WebGL scene. */
.world-page{background:#102622}
.world-page #welcome.launch{max-width:none;min-height:100svh;padding:30px clamp(24px,6vw,100px) 18px;background:radial-gradient(ellipse at 80% 34%,#47634e40,transparent 56%),#102622;overflow:hidden;position:relative}
.launch-header{position:relative;z-index:1}.launch-header .wordmark{font-size:23px;letter-spacing:3px;color:#f2eadd;font-weight:600;line-height:1.2}.wordmark span{display:block;font-size:8px;letter-spacing:1.8px;margin-top:8px;color:#b3c0b5}.launch-header .edition{font-size:9px;letter-spacing:1.4px}
.launch-hero{display:grid;grid-template-columns:1.1fr 1fr;gap:6vw;align-items:center;flex:1;padding:60px 0 48px;max-width:1320px;width:100%;margin:auto}
.launch-intro{position:relative;z-index:1;max-width:610px}.launch-intro .eyebrow{font-size:10px;letter-spacing:1.6px;display:flex;align-items:center;gap:9px;margin:0 0 24px}.live-dot{width:6px;height:6px;display:inline-block;border-radius:50%;background:var(--gold);box-shadow:0 0 0 4px #dfb98712}
.launch-intro h1{font-size:clamp(52px,5.8vw,88px);line-height:1.03;letter-spacing:-2.9px;margin:0 0 24px}.launch-intro h1 em{font-weight:400;color:var(--gold)}.launch-lead{color:#bcc8bd;font-size:16px;line-height:1.8;max-width:405px;margin:0 0 30px}.launch-actions{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.launch-actions #begin{width:280px;display:flex;justify-content:space-between;align-items:center;border-radius:8px;min-height:62px;padding:17px 24px;font-size:17px;box-shadow:0 8px 34px #0002}.launch-actions #begin span{margin:0}.launch-actions #begin span:last-child{font-size:25px;font-weight:400}.launch-actions .preview-link{background:none;border:0;font-size:12px;padding:8px 0;color:#c2cbbb;min-height:44px}.preview-link span{margin-left:14px;color:var(--gold)}.launch #load-status{font-size:10px;margin:4px 0 7px;color:#dbbd94;min-height:14px}.launch-permission{color:#92a798;font-size:10px;line-height:1.6;margin:0}
.art-date{position:absolute;right:0;top:0;display:grid;justify-items:end;gap:4px;color:var(--gold-bright)}.art-year{font:italic clamp(42px,5vw,70px)/.9 var(--display-font);white-space:nowrap}.art-year sup{font:normal .38em var(--display-font);vertical-align:super;margin-left:2px}.art-century{font:600 10px/1.3 var(--ui-font);letter-spacing:.19em;text-transform:uppercase}
.launch-steps{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #acb99f2b;padding:24px 0;gap:20px;width:100%;max-width:1320px;margin:auto}.launch-steps>div{display:flex;gap:16px}.launch-steps>div>span{font-size:10px;color:var(--gold);padding-top:5px}.launch-steps p{margin:0;font:21px var(--display-font);color:#e9e7d9}.launch-steps small{display:block;font:11px/1.6 var(--ui-font);color:#9db09f;margin-top:7px}.launch-footer{border-color:#acb99f2b;padding-top:8px;font-size:10px;gap:4px 16px;flex-wrap:wrap}.launch-footer>div{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.launch-footer a{font-size:10px;text-decoration:none;color:#aebeae}
#capture{width:48px;height:48px;padding:0;display:grid;place-items:center}#capture[aria-busy="true"]{opacity:.5}
#photo-dialog{width:min(540px,calc(100% - 24px));padding:18px;max-height:92svh;border:0}
.photo-media{margin:0 0 12px;display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;gap:7px}
#photo-image{display:block;width:auto;height:auto;max-width:100%;max-height:53svh;object-fit:contain;border:0;border-radius:0;background:none}
.photo-media figcaption{font-size:11px;color:var(--muted);text-align:center}.photo-actions{display:flex;flex-wrap:wrap;gap:10px}.download-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;border:1px solid var(--line);border-radius:30px;padding:12px 18px;font-size:14px;text-decoration:none}.photo-actions button{font-size:14px}.photo-actions>*{flex:1}
@media(max-height:540px) and (orientation:landscape){.launch-hero{padding:20px 0 16px;grid-template-columns:1.4fr 1fr;gap:28px}.launch-intro .eyebrow{margin-bottom:12px}.launch-intro h1{font-size:42px;margin-bottom:12px}.launch-lead{font-size:12px;line-height:1.6;margin-bottom:12px}.launch-actions #begin{min-height:48px;padding:10px 20px}.launch-art{max-width:280px}.launch-steps{padding:16px 0}}
/* V6: staged hints, intentional editing and an uncluttered viewing mode. */
.world-page .guidance{display:flex;align-items:center;gap:10px}
#guidance-text{margin:0}#hint-dismiss{pointer-events:auto;flex:0 0 44px;width:44px;min-height:44px;padding:0;border:0;background:transparent;font-size:24px}
#lock-model[aria-pressed="true"]{background:var(--gold);border-color:var(--gold);color:var(--bg)}
#restore-controls{position:absolute;left:16px;top:max(18px,env(safe-area-inset-top));font-size:12px;padding:13px 14px}
.clean-view .session-header>div:first-child,.clean-view .session-bottom,.clean-view #hotspots,.clean-view #annotation{display:none!important}
.clean-view .session-header{justify-content:flex-end}
@media(max-height:540px) and (orientation:landscape){.world-page .guidance{top:88px;max-width:min(430px,calc(100% - 32px));padding:8px 14px;font-size:12px}.world-page .session-bottom{left:12px;right:12px}.world-page #controls{gap:6px}.world-page #controls button{min-height:44px;padding:8px 12px;font-size:12px}.world-page .session-bottom .fine{margin:5px auto 0;padding:3px 10px}.world-page #annotation{top:80px;bottom:160px;max-height:calc(100svh - 180px);overflow:auto}}
@media(max-width:700px) and (max-height:650px){.world-page #controls{gap:4px}.world-page #controls button{min-height:44px;padding:8px 10px}.world-page .session-bottom .fine{margin:6px auto 0;padding:4px 8px;font-size:9px;line-height:1.4}}
@media(min-width:760px) and (max-height:540px) and (orientation:landscape){.world-page .guidance{top:18px;max-width:43%}}
@media(max-width:759px) and (max-height:400px) and (orientation:landscape){.world-page .guidance{top:88px;left:12px;transform:none;width:30%;max-width:190px;padding:8px;font-size:11px;gap:2px}.world-page #hint-dismiss{flex-basis:32px;width:32px}}
/* Matching frosted entry buttons, with a persistent amber AR outline on touch. */
.world-page .launch-actions{width:min(100%,330px);gap:12px;align-items:stretch}
.world-page .launch-actions #begin,.world-page .launch-actions #preview{width:100%;height:62px;min-height:62px;margin:0;align-self:stretch;display:flex;align-items:center;justify-content:space-between;gap:14px;border-radius:var(--pill-radius);border:1px solid rgba(235,244,235,.3);padding:16px 22px;font-size:15px;line-height:1.2;font-weight:500;color:var(--paper);text-decoration:none;background:linear-gradient(135deg,rgba(211,228,212,.14),rgba(74,96,88,.2));box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 8px 26px rgba(0,0,0,.12);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);transition:border-color .18s,box-shadow .18s,background .18s,transform .18s}
.world-page .launch-actions #begin{border-color:var(--gold);box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 0 0 1px rgba(239,160,91,.14),0 0 24px rgba(239,141,62,.12)}
.world-page .launch-actions button span{margin:0}.world-page .launch-actions button span:last-child{font-size:23px;font-weight:400;color:#deded0}.world-page .launch-actions #begin span:last-child{color:var(--gold-bright)}
.world-page .launch-actions button:focus-visible{outline:2px solid var(--gold-bright);outline-offset:4px}
.world-page .launch-actions button:not(:disabled):active{transform:scale(.985);box-shadow:0 0 0 3px rgba(239,160,91,.22),inset 0 1px 0 rgba(255,255,255,.2)}
@media(hover:hover){.world-page .launch-actions #begin:not(:disabled):hover{border-color:var(--gold-bright);background:linear-gradient(135deg,rgba(230,179,130,.2),rgba(88,101,88,.25));box-shadow:0 0 0 1px rgba(255,184,120,.3),0 0 30px rgba(239,141,62,.23),inset 0 1px 0 rgba(255,255,255,.22);transform:translateY(-2px)}.world-page .launch-actions #preview:not(:disabled):hover{border-color:#e2e8db;background:linear-gradient(135deg,rgba(220,238,222,.22),rgba(86,110,99,.3));box-shadow:0 0 22px rgba(218,237,218,.13),inset 0 1px 0 rgba(255,255,255,.2);transform:translateY(-2px)}}
#auto-rotate[aria-pressed="true"]{color:var(--gold-bright);border-color:#cfab79;background:rgba(117,88,48,.25)}
#auto-rotate[aria-pressed="false"] .spin-pause{display:none}
@media(max-width:700px){.world-page .launch-actions{width:100%}}
@media(max-width:400px){.world-page .launch-actions #begin,.world-page .launch-actions #preview{font-size:14px;padding:16px 20px}}
@media(max-height:540px) and (orientation:landscape){.world-page .launch-actions{max-width:330px;gap:8px}.world-page .launch-actions #begin,.world-page .launch-actions #preview{height:50px;min-height:50px;padding:12px 20px}}
@media(prefers-reduced-motion:reduce){.world-page .launch-actions #begin,.world-page .launch-actions #preview{transition:none;transform:none!important}}
@media(prefers-reduced-transparency:reduce){.world-page .launch-actions #begin,.world-page .launch-actions #preview{background:#283d37;-webkit-backdrop-filter:none;backdrop-filter:none}}
.world-page .launch-actions button span:first-child{color:inherit}
/* V6.3: one glass treatment for every overlay, in both viewing modes. */
dialog,#annotation,.guidance,.session-header>div:not(.header-actions),.session-bottom .fine{background:var(--glass-panel);border:1px solid var(--glass-edge);box-shadow:0 18px 48px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.14);-webkit-backdrop-filter:blur(var(--glass-blur)) saturate(135%);backdrop-filter:blur(var(--glass-blur)) saturate(135%);color:var(--paper)}
dialog::backdrop{background:rgba(8,22,15,.27);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
dialog .fine{color:var(--muted)}dialog p,dialog li{text-shadow:0 1px 3px rgba(0,0,0,.28)}
#experience button:not(.model-hotspot),dialog button,dialog .download-button{background:var(--glass-control);border-color:var(--glass-edge);color:var(--paper);box-shadow:inset 0 1px 0 rgba(255,255,255,.1);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:background .16s,border-color .16s,box-shadow .16s}
#experience button.primary,dialog button.primary{border-color:var(--gold);background:var(--gold);color:var(--on-gold)}
#experience #lock-model[aria-pressed="true"],#experience #auto-rotate[aria-pressed="true"],#annotation-picker button[aria-pressed="true"]{border-color:#efbe7f;background:var(--active-wash);color:var(--gold-bright);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 0 0 1px rgba(239,190,127,.15)}
#experience #hint-dismiss{background:transparent;border-color:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
@media(hover:hover){#experience button:not(.model-hotspot):not(:disabled):hover,dialog button:not(:disabled):hover,dialog .download-button:hover{border-color:#efd5b2;background:var(--pine-hover);box-shadow:0 0 16px rgba(223,185,135,.12)}}
@keyframes panel-reveal{from{opacity:0;translate:0 10px}to{opacity:1;translate:0 0}}
dialog[open],#annotation:not([hidden]),.guidance:not([hidden]){animation:panel-reveal .24s cubic-bezier(.2,.75,.25,1) both}
@keyframes backdrop-reveal{from{opacity:0}to{opacity:1}}
dialog[open]::backdrop{animation:backdrop-reveal .2s ease-out both}
.world-page .launch-actions #begin,.world-page .launch-actions #preview{height:72px;min-height:72px;padding-top:12px;padding-bottom:12px}
.world-page .launch-actions button .launch-label{display:block;text-align:left;font-size:14px;line-height:1.35;color:var(--paper)}
.launch-label small{display:block;font-size:10px;font-weight:400;letter-spacing:.2px;margin-top:4px;color:var(--muted)}
.world-page .launch-actions .launch-icon{width:30px;height:30px;flex:0 0 30px;color:#e1e9df}
.world-page .launch-actions #begin .launch-icon{color:var(--gold-bright)}
@media(max-height:540px) and (orientation:landscape){.world-page .launch-actions #begin,.world-page .launch-actions #preview{height:62px;min-height:62px}}
@media(prefers-reduced-motion:reduce){dialog[open],dialog[open]::backdrop,#annotation:not([hidden]),.guidance:not([hidden]){animation:none}#experience button,dialog button{transition:none}}
@media(prefers-reduced-transparency:reduce){dialog,#annotation,.guidance,.session-header>div:not(.header-actions),.session-bottom .fine,#experience button:not(.model-hotspot),dialog button,dialog .download-button,dialog::backdrop{-webkit-backdrop-filter:none;backdrop-filter:none}}
/* V6.4: glass markers and a compact detail card that keeps the scene in view. */
.model-hotspot{background:var(--glass-control);color:#fff2d8;border:1px solid rgba(255,232,197,.76);box-shadow:0 3px 12px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.25);-webkit-backdrop-filter:blur(10px) saturate(125%);backdrop-filter:blur(10px) saturate(125%);text-shadow:0 1px 3px rgba(0,0,0,.6)}
.model-hotspot[aria-expanded="true"]{background:rgba(128,89,40,.22);border-color:#ffe0b1;color:#fff8e9;box-shadow:0 0 0 3px rgba(237,183,111,.2),inset 0 1px 0 rgba(255,255,255,.3)}
.world-page #annotation{top:auto;right:auto;left:50%;bottom:max(14px,env(safe-area-inset-bottom));transform:translateX(-50%);width:min(420px,calc(100% - 24px));max-height:38svh;padding:16px 18px;border-radius:var(--panel-radius);overscroll-behavior:contain}
.world-page #annotation.expanded{max-height:55svh}
.world-page #annotation .eyebrow{font-size:9px;line-height:1.4;margin:0 46px 5px 0}
.world-page #annotation h2{font-size:23px;line-height:1.2;margin:0 40px 8px 0}
.world-page #annotation p{font-size:13px;line-height:1.55}
.world-page #annotation #annotation-text{margin:0}
.world-page #annotation:not(.expanded) #annotation-text{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.world-page #annotation.signature-detail:not(.expanded) #annotation-text{display:block}
.world-page #annotation .fine{font-size:11px;margin:10px 0 0}
.world-page #annotation-close{margin:-6px -8px 0 8px}
.annotation-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}
.annotation-actions>div{display:flex;gap:6px}
#experience .annotation-actions button{min-height:44px;padding:8px 14px;font-size:12px}
#experience .annotation-actions #annotation-prev,#experience .annotation-actions #annotation-next{width:44px;padding:0;font-size:26px;line-height:1}
.world-page #annotation-picker{margin-top:10px;padding-top:10px;justify-content:center}
.details-open #guidance{display:none!important}
@media(max-width:360px){.world-page #annotation{padding:13px 14px}.world-page #annotation h2{font-size:21px}}
@media(max-height:540px) and (orientation:landscape){.world-page #annotation{left:auto;right:14px;bottom:14px;transform:none;width:min(310px,40vw);max-height:calc(100svh - 105px)}.world-page #annotation.expanded{max-height:calc(100svh - 105px)}}
@media(prefers-reduced-transparency:reduce){.model-hotspot{background:var(--pine-raised);-webkit-backdrop-filter:none;backdrop-filter:none}.model-hotspot[aria-expanded="true"]{background:#78532b}}

/* V6.8 preview: optional reading preferences and single-pointer model editing. */
body.solid-panels dialog,body.solid-panels #annotation,body.solid-panels .guidance,body.solid-panels .session-header>div:not(.header-actions),body.solid-panels .session-bottom .fine{background:var(--pine-panel);color:#fff;-webkit-backdrop-filter:none;backdrop-filter:none}
body.solid-panels #experience button,body.solid-panels dialog button,body.solid-panels dialog .download-button,body.solid-panels .launch-actions #begin,body.solid-panels .launch-actions #preview{background:var(--pine-raised);color:#fff;-webkit-backdrop-filter:none;backdrop-filter:none;border-color:#a5bcae}
body.solid-panels #experience button[aria-pressed="true"],body.solid-panels dialog button[aria-pressed="true"],body.solid-panels .model-hotspot[aria-expanded="true"]{background:var(--selected-fill);border-color:#ffe0a5;color:#fff}
body.solid-panels #experience button.primary,body.solid-panels .launch-actions #begin{border-color:var(--gold-bright)}
body.solid-panels .fine,body.solid-panels .session-header p,body.solid-panels dialog .fine,body.solid-panels #annotation .fine,body.solid-panels .launch-lead,body.solid-panels .launch-permission,body.solid-panels .launch-steps small,body.solid-panels .launch-footer,body.solid-panels .text-button{color:#e7eeee}
body.large-text .launch-lead{font-size:19px;line-height:1.7}
body.large-text .launch-permission,body.large-text .launch #load-status,body.large-text .launch-steps small,body.large-text .launch-footer,body.large-text .launch-footer .text-button,body.large-text .edition{font-size:14px;line-height:1.6}
body.large-text .launch-actions #begin,body.large-text .launch-actions #preview{height:auto;min-height:80px}
body.large-text .launch-actions button .launch-label{font-size:18px}body.large-text .launch-label small{font-size:14px}
body.large-text .launch-header{flex-wrap:wrap}
body.large-text dialog p,body.large-text dialog li,body.large-text #annotation p{font-size:18px;line-height:1.65}
body.large-text dialog .fine,body.large-text #annotation .fine{font-size:15px}
body.large-text #annotation .eyebrow{font-size:13px}
body.large-text #annotation:not(.expanded) #annotation-text{-webkit-line-clamp:3}
body.large-text .guidance{font-size:17px}
body.large-text #controls button,body.large-text .annotation-actions button{font-size:16px;min-height:48px}
body.large-text #controls #rotate-left,body.large-text #controls #rotate-right,body.large-text #smaller,body.large-text #bigger{font-size:24px}
body.large-text .session-header p,body.large-text .session-bottom .fine{font-size:14px}
body.large-text .session-header{align-items:flex-start}
body.large-text #accessibility-dialog .fine{font-size:15px}body.large-text #accessibility-dialog h3{font-size:19px}
body.large-text #accessibility-dialog button:not(.dialog-close){font-size:17px}
body.large-text #photo-dialog{max-height:92svh}
@media(max-width:700px){body.large-text .launch-footer>div{align-items:flex-start}body.large-text .launch-footer{flex-wrap:wrap}body.large-text .launch-steps{grid-template-columns:1fr;gap:16px}body.large-text .launch-steps>div{display:flex;gap:14px}body.large-text .launch-steps small{display:block}body.large-text .session-header{flex-wrap:wrap}body.large-text .guidance{top:140px}}

/* V6.9 preview: a small setup dialog, inline controls and a first-placement cue. */
#accessibility-dialog{width:min(350px,calc(100% - 24px));padding:20px;max-height:65svh;overscroll-behavior:contain}
#accessibility-dialog h2{font-size:25px;margin:4px 48px 12px 0}
#accessibility-dialog .dialog-close{margin:0;position:sticky;top:0;z-index:1}
#accessibility-dialog p{font-size:14px;line-height:1.6;margin:12px 0}
#accessibility-dialog .fine{font-size:12px;margin-bottom:0}
#assist-enable{width:100%;min-height:48px;padding:12px;font-size:14px}
#reading-settings{margin-top:12px}.reading-options{display:flex;gap:8px;flex-wrap:wrap}
.reading-options button{flex:1;min-height:44px;padding:10px 8px;font-size:13px}
#accessibility-dialog button[aria-pressed="true"]{border-color:#efbe7f;background:var(--active-wash);color:var(--gold-bright)}
#accessibility-dialog.in-session{position:fixed;inset:auto 12px max(12px,env(safe-area-inset-bottom)) auto;margin:0}
#accessibility-dialog.in-session::backdrop{background:rgba(8,22,15,.16);-webkit-backdrop-filter:none;backdrop-filter:none}
#accessibility-open{min-width:44px;min-height:44px;padding:10px;font-size:16px;font-weight:600}
.world-page .launch-footer .text-button{min-height:44px}
#placement-hint{position:absolute;left:50%;top:47%;transform:translate(-50%,-50%);text-align:center;pointer-events:none;width:max-content;max-width:calc(100% - 32px);color:var(--gold-bright)}
#placement-hint p{margin:12px 0 0;padding:10px 16px;background:var(--glass-panel);border:1px solid var(--glass-edge);border-radius:24px;font-size:14px;line-height:1.5;-webkit-backdrop-filter:blur(var(--glass-blur));backdrop-filter:blur(var(--glass-blur))}
.tap-illustration{position:relative;width:98px;height:104px;margin:auto;filter:drop-shadow(0 2px 4px #000b)}
.tap-illustration svg{position:absolute;left:14px;top:12px;animation:tap-finger .9s ease-in-out 4}
#placement-hint .tap-illustration svg{width:80px;height:90px;fill:rgba(21,40,32,.9);stroke:#ffcf83;stroke-width:2.8}
.tap-ring{position:absolute;left:32px;top:10px;width:34px;height:34px;border:2px solid #ffe1ad;border-radius:50%;animation:tap-ripple .9s ease-out 4}
@keyframes tap-finger{0%,100%{transform:translate(0,0)}45%{transform:translate(-3px,-7px)}}
@keyframes tap-ripple{0%{transform:scale(.7);opacity:.5}45%{transform:scale(1.5);opacity:1}100%{transform:scale(1.9);opacity:0}}
body.solid-panels #assist-bar,body.solid-panels #placement-hint p{background:var(--pine-panel);-webkit-backdrop-filter:none;backdrop-filter:none}
body.large-text #assist-status,body.large-text #experience #adjustments-state,body.large-text #experience #adjustment-feedback{font-size:14px}
body.large-text #experience .assist-tabs button,body.large-text #experience .adjustment-grid button,body.large-text .reading-options button,body.large-text #controls button{font-size:15px;min-height:44px}
body.large-text #accessibility-dialog p{font-size:17px}body.large-text #accessibility-dialog .fine{font-size:14px}
body.large-text #placement-hint p{font-size:18px}
@media(max-width:700px){#accessibility-dialog.in-session{left:12px;right:12px;margin:auto}.session-header{gap:8px}.session-header>div:first-child{min-width:0}.session-header .header-actions{gap:6px;flex-shrink:0}}
@media(prefers-reduced-motion:reduce){.tap-illustration svg,.tap-ring{animation:none}.tap-ring{opacity:1}}
@media(prefers-reduced-transparency:reduce){#assist-bar{background:var(--pine-panel);-webkit-backdrop-filter:none;backdrop-filter:none}}


/* V6.10: one compact dock, with larger touch areas around small icons. */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
#experience svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
#experience .header-actions button{min-width:44px;min-height:44px;padding:9px}
#experience .header-actions #exit{font-size:12px}
#experience #controls.control-dock{display:block;width:min(430px,100%);margin:0 auto;padding:6px;border-radius:var(--panel-radius);border:1px solid var(--glass-edge);background:var(--glass-panel);box-shadow:0 8px 28px #0002;-webkit-backdrop-filter:blur(var(--glass-blur));backdrop-filter:blur(var(--glass-blur))}
#experience.assist-active #controls.control-dock{background:linear-gradient(145deg,rgba(43,78,61,.85),rgba(23,50,39,.92));border-color:var(--glass-edge)}
#dock-main{display:flex;align-items:center;justify-content:center;gap:4px}
#experience #dock-main button{min-height:44px;min-width:0;font-size:12px;padding:10px 7px}
#experience #dock-main .icon-control{flex:0 0 44px;width:44px;min-height:44px;padding:0}
#experience #reset,#experience #help-open{flex:1}
#experience #assist-bar{width:100%;border:0;background:none;box-shadow:none;padding:0;margin:0 0 5px;border-radius:0;pointer-events:auto;-webkit-backdrop-filter:none;backdrop-filter:none}
.assist-strip{display:flex;align-items:center;gap:3px;min-height:44px;margin-bottom:3px}
#assist-status{flex:1;min-width:0;text-align:left;padding-left:5px;font-size:10px;line-height:1.35;color:var(--paper)}
.status-short{display:none}
.assist-tabs{display:flex;align-items:center;gap:3px}
#experience .assist-tabs button,#experience #assist-disable{flex:0 0 44px;width:44px;min-height:44px;padding:0;font-size:16px}
#experience #assist-disable{font-size:20px;border-color:transparent;background:transparent;box-shadow:none}
#experience .assist-tabs button[aria-pressed="true"]{border-color:var(--muted);background:rgba(54,86,73,.85)}
#experience .adjustment-grid{display:grid;grid-template-columns:repeat(6,minmax(44px,1fr));gap:3px}
#experience .adjustment-grid button{min-width:44px;min-height:44px;padding:0;font-size:23px}
#experience .adjustment-grid .depth-label{font-size:12px}
#experience #assist-reading .reading-options{gap:5px}
#experience #assist-reading .reading-options button{min-height:44px;padding:8px;font-size:13px}
#lock-model[aria-pressed="false"] .lock-closed,#lock-model[aria-pressed="true"] .lock-open{display:none}
#auto-rotate[aria-pressed="true"] .spin-play,#auto-rotate[aria-pressed="false"] .spin-pause{display:none}
#experience #controls.before-placement{display:flex;justify-content:center;align-items:center;gap:8px;background:none;border:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
#experience #controls.before-placement #dock-main{display:block}#experience #controls.before-placement #help-open{padding:10px 13px}
#experience #place{min-height:44px;min-width:0;font-size:13px;padding:10px 16px}
body.solid-panels #experience #controls.control-dock{background:var(--pine-panel);-webkit-backdrop-filter:none;backdrop-filter:none}
body.solid-panels #experience.assist-active #controls.control-dock{background:var(--pine-raised)}
body.solid-panels #experience #controls.before-placement{background:none}
body.large-text #experience #dock-main button:not(.icon-control){font-size:15px}
body.large-text #experience #assist-status{font-size:12px}
body.large-text #experience .adjustment-grid .depth-label{font-size:14px}
body.large-text #experience #assist-reading .reading-options button{font-size:16px}
@media(max-width:400px){.session-header{flex-wrap:wrap}.session-header>div:first-child{max-width:108px}.session-header p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.session-header .header-actions{gap:3px}#assist-status{font-size:10px}}
@media(max-width:360px){.world-page .session-bottom{left:10px;right:10px}.status-full{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.status-short{display:inline}#experience #controls.control-dock{padding:5px}#experience #dock-main button:not(.icon-control){padding:9px 5px}}
@media(max-height:540px) and (orientation:landscape){#experience #controls.control-dock{width:min(380px,48vw);margin-left:0;margin-right:auto}.world-page .session-bottom>.fine{max-width:48%;margin-right:0}.status-full{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.status-short{display:inline}#experience #controls.before-placement{width:max-content;max-width:100%}}
@media(prefers-reduced-transparency:reduce){#experience #controls.control-dock{background:var(--pine-panel);-webkit-backdrop-filter:none;backdrop-filter:none}#experience.assist-active #controls.control-dock{background:var(--pine-raised)}}

/* V6.11: clear states and consistent, centered line icons. */
#experience #dock-main button:not(.icon-control){padding:8px 5px;font-size:11px;line-height:1.25}
body.large-text #experience #dock-main button:not(.icon-control){font-size:14px}
#experience #dock-main #capture{flex:0 0 44px;padding:0}
#experience #dock-main .icon-control,#experience .header-actions button,#experience .annotation-actions #annotation-prev,#experience .annotation-actions #annotation-next{display:grid;place-items:center}
#experience #detail[aria-expanded="true"],#experience #accessibility-open.is-active{border-color:var(--gold);background:rgba(146,102,44,.18);box-shadow:0 0 0 1px #ffd18d60,inset 0 1px 0 #ffffff25;color:var(--gold-bright)}
#experience #lock-model[aria-pressed="true"]{border-color:var(--gold);background:rgba(146,102,44,.18);color:var(--gold-bright)}
#view-toggle[aria-pressed="false"] .eye-slash{display:none}
#view-toggle[aria-pressed="true"] .eye-iris{display:none}
#experience #view-toggle[aria-pressed="true"]{border-color:var(--muted);color:var(--gold-bright)}
#experience.clean-view .session-bottom{display:block!important}
#experience.clean-view #controls.control-dock{background:none;border:0;box-shadow:none;padding:0;-webkit-backdrop-filter:none;backdrop-filter:none}
#experience.clean-view #dock-main{justify-content:flex-end}
#experience.clean-view #dock-main button:not(#capture),#experience.clean-view #assist-bar,#experience.clean-view #session-note{display:none!important}
body.solid-panels #experience #detail[aria-expanded="true"],body.solid-panels #experience #accessibility-open.is-active{background:var(--selected-fill);border-color:#ffe0a5}
@media(max-width:400px){.session-header>div:first-child{max-width:100px}.session-header .eyebrow{font-size:9px;letter-spacing:.12em}}

/* A single quiet welcome glow; text and layout stay steady. */
.world-page .launch-actions #begin{position:relative}
.world-page .launch-actions #begin:not(:disabled)::after{content:"";position:absolute;inset:-1px;border-radius:inherit;border:1px solid rgba(255,188,126,.65);box-shadow:0 0 22px rgba(239,141,62,.25);pointer-events:none;opacity:0;animation:space-welcome-glow 4.8s ease-in-out 1}
@keyframes space-welcome-glow{0%,100%{opacity:0}50%{opacity:.55}}
.world-page .launch-actions #begin:focus-visible::after,.world-page .launch-actions #begin:active::after{animation:none}
@media(hover:hover){.world-page .launch-actions #begin:hover::after{animation:none}}
@media(prefers-reduced-motion:reduce){.world-page .launch-actions #begin:not(:disabled)::after{animation:none}}

/* A quiet invitation below the experience, using a normal external link. */
.launch-connect{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;max-width:1320px;box-sizing:border-box;margin:0 auto 12px;padding:16px 20px;border:1px solid rgba(223,185,135,.2);border-radius:24px;background:linear-gradient(120deg,rgba(211,228,212,.08),rgba(223,185,135,.04));box-shadow:inset 0 1px 0 rgba(255,255,255,.07);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
.launch-connect h2{margin:0;color:#f1e5d2;font:22px/1.2 var(--display-font);letter-spacing:-.3px}.launch-connect h2 span{display:inline-block}
.launch-connect p{margin:4px 0 0;color:#bcc8bd;font-size:12px;line-height:1.5}
.launch-connect .connect-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0;min-height:44px;box-sizing:border-box;padding:10px 14px;border:1px solid rgba(223,185,135,.5);border-radius:var(--pill-radius);background:rgba(223,185,135,.07);color:#f1ddbf;font-size:12px;line-height:1.4;text-decoration:none;transition:background .2s,border-color .2s,box-shadow .2s}
.connect-link svg{width:18px;height:18px;flex-shrink:0}.connect-arrow{font-size:16px;line-height:1}
.launch-connect .connect-link:focus-visible{outline:2px solid var(--gold-bright);outline-offset:4px}
@media(hover:hover){.launch-connect .connect-link:hover{border-color:var(--gold-bright);background:rgba(223,185,135,.14);box-shadow:0 0 20px rgba(239,141,62,.12)}}
@media(max-width:700px){.launch-connect{gap:12px;padding:16px;border-radius:18px;margin-bottom:10px}.launch-connect h2{font-size:20px}.launch-connect p{display:none}}
@media(max-width:360px){.launch-connect{gap:10px;padding:14px}.launch-connect h2{font-size:18px}.launch-connect .connect-link{gap:6px;padding:10px}}
body.large-text .launch-connect h2{font-size:26px}body.large-text .launch-connect .connect-link{font-size:16px;min-height:48px}
@media(max-width:700px){body.large-text .launch-connect{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.launch-connect .connect-link{transition:none}}
@media(prefers-reduced-transparency:reduce){.launch-connect{background:#223831;-webkit-backdrop-filter:none;backdrop-filter:none}}
.world-page.solid-panels .launch-connect{background:#223831;-webkit-backdrop-filter:none;backdrop-filter:none}

/* A compact, non-blocking indicator until initial AR placement is ready. */
.ar-loading{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:4;display:flex;flex-direction:column;align-items:center;gap:11px;min-width:112px;padding:18px 20px;border:1px solid rgba(240,247,244,.28);border-radius:var(--panel-radius);background:var(--glass-panel);color:#f7f3eb;font:12px/1.4 var(--ui-font);text-align:center;box-shadow:0 12px 32px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.14);pointer-events:none}
.ar-loading-ring{display:block;width:27px;height:27px;border:2px solid rgba(239,208,164,.22);border-top-color:#f0ce9f;border-right-color:#f0ce9f;border-radius:50%;animation:ar-loading-turn 1.5s linear infinite}
@keyframes ar-loading-turn{to{transform:rotate(360deg)}}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.ar-loading{background:var(--glass-panel);-webkit-backdrop-filter:blur(var(--glass-blur)) saturate(120%);backdrop-filter:blur(var(--glass-blur)) saturate(120%)}}
body.large-text .ar-loading{font-size:16px}
@media(prefers-reduced-motion:reduce){.ar-loading-ring{animation:none}}
@media(prefers-reduced-transparency:reduce){.ar-loading{background:var(--pine-panel);-webkit-backdrop-filter:none;backdrop-filter:none}}
body.solid-panels .ar-loading{background:var(--pine-panel);-webkit-backdrop-filter:none;backdrop-filter:none}

/* Numbered callouts stay beside the model; only a tiny dot touches the detail. */
#hotspot-leaders{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
#hotspot-leaders path{fill:none;stroke:#f2d5ab;stroke-width:1;opacity:.82;vector-effect:non-scaling-stroke}
#hotspot-leaders circle{fill:#ffe5bc;stroke:var(--pine-deep);stroke-width:1}
#hotspot-leaders .selected path{stroke:#ffe6bd;opacity:1;stroke-width:1.4}
#hotspot-leaders .selected circle{fill:var(--gold-bright)}

/* Artifact identity has priority over the experience brand in the session. */
.world-page .session-header{align-items:flex-start;gap:10px}
.world-page .session-header>.artifact-heading{min-width:0;max-width:none}
.world-page #artifact-title{font-family:var(--display-font);font-size:20px;font-weight:400;letter-spacing:0;line-height:1.15;margin:0;color:var(--paper)}
.world-page .session-header #mode-label{font-size:11px;line-height:1.4;margin:5px 0 0;white-space:normal;overflow:visible;text-overflow:clip}
#experience .annotation-actions .annotation-reading{display:flex;gap:6px;min-width:0;flex-wrap:wrap}
#experience #annotation-listen{display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 12px}
#annotation-listen svg{flex:none;width:18px;height:18px}
#annotation-listen[aria-pressed="false"] .read-stop,#annotation-listen[aria-pressed="true"] .read-speaker{display:none}
#experience #annotation-listen[aria-pressed="true"]{border-color:var(--gold);background:rgba(146,102,44,.18);color:var(--gold-bright)}
.world-page #annotation #read-aloud-status.speech-error{position:static!important;width:auto!important;height:auto!important;clip-path:none!important;white-space:normal!important;margin:8px 0 0!important;font-size:12px;color:#ffe0b1}
@media(max-width:700px){.world-page #artifact-title{font-size:16px}.world-page .session-header #mode-label{font-size:10px}.world-page .session-header>.artifact-heading{flex:1}.world-page .session-header .header-actions{flex:none}}
@media(max-width:360px){.world-page #artifact-title{font-size:15px}.world-page .session-header>.artifact-heading{padding:8px}.world-page .session-header #mode-label{font-size:9px}.annotation-actions{gap:6px}.world-page #experience .annotation-actions button{padding:8px 10px}}
body.large-text.world-page #artifact-title{font-size:22px}
body.large-text.world-page .session-header #mode-label{font-size:14px}
@media(max-width:700px){body.large-text.world-page .session-header>.artifact-heading{flex-basis:100%}}
@media(max-width:360px){
  #experience #annotation-listen{width:44px;flex:none;padding:0}
  #annotation-listen-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  #experience .annotation-actions .annotation-reading{flex-wrap:nowrap}
}

/* V6.21: the object leads; secondary tools live in a small disclosure. */
.world-page .session-header{flex-wrap:nowrap;gap:10px;z-index:8}
.world-page .session-header>.artifact-heading{display:flex;align-items:center;gap:12px;flex:0 1 340px;max-width:340px;min-width:0;min-height:58px;padding:12px 14px;text-align:left;border:1px solid #eff8f538;border-radius:20px;background:var(--glass-panel);box-shadow:inset 0 1px 0 #ffffff1c,0 8px 24px #00000015;-webkit-backdrop-filter:blur(var(--glass-blur)) saturate(120%);backdrop-filter:blur(var(--glass-blur)) saturate(120%)}
.artifact-heading-copy{min-width:0;display:block;flex:1}
.world-page #artifact-title,.world-page #mode-label{display:block}
#object-info-open>svg{width:19px;height:19px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;color:#ebcca3}
.world-page .session-header .header-actions{flex:none;gap:6px;padding:0;background:none;border:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
#experience .header-actions button{min-width:44px;width:44px;height:44px;padding:0}
#experience .header-actions svg{width:23px;height:23px}
#experience #object-info-open[aria-expanded="true"],#experience #more-open[aria-expanded="true"]{border-color:var(--gold);color:var(--gold-bright);box-shadow:0 0 0 1px #ffd18d50,inset 0 1px 0 #ffffff25}
.session-popover{position:absolute;z-index:9;box-sizing:border-box;padding:18px;border:1px solid #eff8f538;border-radius:var(--panel-radius);background:var(--glass-panel);box-shadow:var(--panel-shadow);color:var(--paper);-webkit-backdrop-filter:blur(var(--glass-blur)) saturate(120%);backdrop-filter:blur(var(--glass-blur)) saturate(120%);overflow:auto;overscroll-behavior:contain;animation:quiet-disclosure .14s cubic-bezier(.2,.7,.3,1)}
.session-popover h2{font:22px/1.2 var(--display-font);margin:0 40px 15px 0;color:var(--paper)}
.session-popover .eyebrow{font-size:10px;letter-spacing:.15em;margin:0 42px 8px 0;color:#e5c79d}
#object-info{left:16px;width:min(350px,calc(100% - 32px))}
#experience .popover-close{position:absolute;right:7px;top:7px;min-width:44px;min-height:44px;width:44px;height:44px;display:grid;place-items:center;padding:0;border:0;background:transparent;font-size:26px;line-height:1}
.object-facts{display:grid;grid-template-columns:1fr 1fr;gap:15px 12px;margin:18px 0}
.object-facts div{min-width:0}.object-facts dt{font-size:10px;color:#c4cecb;margin-bottom:4px}.object-facts dd{font-size:13px;line-height:1.5;margin:0;overflow-wrap:anywhere}
#experience #detail{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px;font-size:12px;padding:10px;border-radius:var(--control-radius);background:#e8c38b12;border-color:#e8c38b60}
#detail svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;flex:none}
#more-panel{right:max(16px,calc((100% - 430px)/2));width:min(252px,calc(100% - 32px));padding:12px;transform-origin:bottom right}
#more-panel .popover-heading{min-height:36px;display:flex;align-items:center;margin-bottom:5px}
#more-panel h2{font:10px/1.4 var(--ui-font);text-transform:uppercase;letter-spacing:.14em;color:var(--muted);margin:0 42px 0 4px}
.more-options{display:flex;flex-direction:column;gap:2px}
#experience .more-options button{display:flex;align-items:center;justify-content:flex-start;gap:11px;flex-wrap:nowrap;min-height:46px;padding:10px 9px;border-radius:var(--control-radius);text-align:left;font-size:13px;line-height:1.4;background:transparent;border:1px solid transparent;box-shadow:none}
.more-options svg{width:21px;height:21px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.more-options button>span:not(.control-switch):not(.sr-only){flex:1;min-width:0}
.control-switch{width:28px;height:17px;flex:0 0 28px;border:1px solid #c3d8d061;border-radius:20px;background:var(--pine-deep);position:relative;transition:background .14s,border-color .14s}
.control-switch::after{content:"";position:absolute;top:2px;left:2px;width:11px;height:11px;border-radius:50%;background:#c9d7d2;transition:transform .14s}
[aria-pressed="true"]>.control-switch{background:#9a7446;border-color:#e9bd83}
[aria-pressed="true"]>.control-switch::after{transform:translateX(11px);background:#fff0d5}
#experience .more-options button[aria-pressed="true"]{background:#c9a26d12;border-color:#e5bd7838;color:#ffe1ad}
#experience #dock-main{display:flex;gap:6px;align-items:center}
#experience #dock-main #reset,#experience #dock-main #more-open{display:flex;align-items:center;justify-content:center;gap:7px;flex:1 1 0;min-width:0;min-height:46px;padding:10px 12px;font-size:13px;line-height:1.3}
#experience #dock-main #capture{flex:0 0 48px;width:48px;height:46px;min-height:46px}
#reset svg,#more-open svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none}
#more-open svg{fill:currentColor;stroke:none}
#experience #controls.before-placement #dock-main{display:flex}
#experience.popover-open #guidance,#experience.popover-open #placement-hint{visibility:hidden;pointer-events:none}
#experience.clean-view #object-info-open{display:none}
#experience #listen-hint{font-size:11px;line-height:1.5;margin:10px 0 0;color:#dfceb5}
@keyframes quiet-disclosure{from{opacity:0;translate:0 4px}to{opacity:1;translate:0 0}}
@media(max-width:700px){.world-page .session-header>.artifact-heading{flex:1;padding:10px 12px;gap:9px}.world-page #artifact-title{font-size:17px}.world-page .session-header #mode-label{font-size:10px}.world-page .session-header .header-actions{gap:5px}}
@media(max-width:360px){.world-page .session-header{gap:7px}.world-page .session-header>.artifact-heading{padding:10px;gap:6px;border-radius:17px}.world-page #artifact-title{font-size:15px}.world-page .session-header #mode-label{font-size:9px}#object-info-open>svg{width:16px;height:16px}#experience #dock-main #reset{padding:9px 10px}#experience #dock-main #more-open{min-width:77px;padding:9px 10px}.session-popover{padding:16px}}
body.large-text.world-page .session-header{flex-wrap:wrap}body.large-text.world-page .session-header>.artifact-heading{flex:1 1 210px;max-width:390px}body.large-text.world-page .session-header #mode-label{font-size:14px}
body.large-text .session-popover h2{font-size:26px}body.large-text .object-facts dt{font-size:13px}body.large-text .object-facts dd,body.large-text #experience .more-options button,body.large-text #experience #detail{font-size:16px}body.large-text #experience #dock-main #reset,body.large-text #experience #dock-main #more-open{font-size:16px}body.large-text #experience #listen-hint{font-size:14px}
@media(max-width:360px){body.large-text .object-facts{grid-template-columns:1fr}}
body.solid-panels .session-popover,body.solid-panels.world-page .session-header>.artifact-heading{background:var(--pine-panel);-webkit-backdrop-filter:none;backdrop-filter:none}
@media(prefers-reduced-transparency:reduce){.session-popover,.world-page .session-header>.artifact-heading{background:var(--pine-panel);-webkit-backdrop-filter:none;backdrop-filter:none}}
@media(prefers-reduced-motion:reduce){.session-popover{animation:none}}

@media(max-width:700px){body.large-text.world-page .session-header>.artifact-heading{flex-basis:100%;max-width:none}body.large-text.world-page .session-header .header-actions{margin-left:auto}}

/* Finite, responsive motion: immediate input, short settling, no artificial delay. */
#experience #dock-main button,.more-options button{transition:background .14s,border-color .14s,box-shadow .14s,transform .12s}
#experience #dock-main button:not(:disabled):active,.more-options button:not(:disabled):active{transform:scale(.97)}
#experience #dock-main #reset>span{white-space:nowrap}
#experience #controls.control-dock{padding:6px;border-radius:var(--pill-radius);background:var(--glass-panel);box-shadow:inset 0 1px 0 #ffffff20,0 8px 24px #08160f20}
#experience.assist-active #controls.control-dock{border-radius:23px}
#experience #controls.before-placement{border-radius:0;background:none;box-shadow:none}
.world-page #annotation{transition:none}
#ar-loading-detail{font-size:11px;line-height:1.45;color:#d1dcd6;max-width:190px}
.ar-loading{gap:9px;min-width:156px;max-width:240px;padding:18px;border-radius:var(--panel-radius)}
.ar-loading-phone{display:none;width:48px;height:36px;fill:none;stroke:#f0ce9f;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ar-loading[data-phase="move"] .ar-loading-ring{display:none}
.ar-loading[data-phase="move"] .ar-loading-phone{display:block;animation:phone-prepare 1.6s ease-in-out infinite}
@keyframes phone-prepare{0%,100%{transform:translateX(-3px)}50%{transform:translateX(3px)}}
body.large-text #ar-loading-detail{font-size:14px}
@media(max-width:360px){#experience #dock-main #reset,#experience #dock-main #more-open{padding:10px 7px;gap:5px;font-size:12px}body.large-text #experience #dock-main #reset svg{display:none}}
@media(prefers-reduced-motion:reduce){#experience #dock-main button,.more-options button,.control-switch,.control-switch::after{transition:none!important;transform:none!important}.ar-loading-phone{animation:none!important}}
body.solid-panels #experience #controls.control-dock{background:var(--pine-panel)}
@media(prefers-reduced-transparency:reduce){#experience #controls.control-dock{background:var(--pine-panel)}}

body.solid-panels #experience .more-options button{background:transparent;border-color:transparent;color:#f2f4ef}
body.solid-panels #experience .more-options button[aria-pressed="true"]{background:#d9ae7620;border-color:#e9bd8344;color:#ffe5ba}
body.large-text #more-panel h2{font-size:12px}

.world-page #annotation:not([hidden]){animation:quiet-disclosure .16s cubic-bezier(.2,.7,.3,1)}
@media(prefers-reduced-motion:reduce){.world-page #annotation:not([hidden]){animation:none}}

/* V6.23: one translucent material per bar/panel, without nested blur passes. */
#experience #dock-main button,#experience #assist-bar button,#experience #annotation button,#experience #object-info button,#experience #more-panel button,dialog button,dialog .download-button{-webkit-backdrop-filter:none;backdrop-filter:none}
body:not(.solid-panels) #experience .header-actions button{background:var(--glass-control);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
body:not(.solid-panels) #experience .more-options button{background:rgba(35,64,51,.26)}
body:not(.solid-panels) #experience .more-options button[aria-pressed="true"]{background:rgba(173,125,61,.17)}
#experience .session-popover,#experience .artifact-heading,#experience #controls,#experience .header-actions button{color:var(--paper);text-shadow:0 1px 2px rgba(0,0,0,.8)}
#experience .header-actions svg,#experience #dock-main svg{filter:drop-shadow(0 1px 1px rgba(0,0,0,.6))}
@media(prefers-reduced-transparency:reduce){body:not(.solid-panels) #experience .header-actions button{background:var(--pine-raised);-webkit-backdrop-filter:none;backdrop-filter:none}body:not(.solid-panels) #experience .more-options button{background:var(--pine-raised)}}

/* Compact mobile launch: natural height still permits text zoom and error messages. */
@media (max-width:700px) {
  .world-page #welcome.launch {
    min-height:100dvh;
    padding:max(18px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));
  }
  .launch-header {gap:12px}
  .launch-header .wordmark {font-size:16px;letter-spacing:1.5px}
  .launch-header .wordmark span {font-size:7px;letter-spacing:1px;margin-top:6px}
  .launch-header .edition {display:none}
  .launch-intro .eyebrow {font-size:9px;letter-spacing:1.1px;margin-bottom:12px}
  .launch-intro h1 {font-size:clamp(36px,10.8vw,52px);letter-spacing:-1.5px;line-height:1.03;margin:0 0 14px}
  .launch-lead {font-size:14px;line-height:1.55;max-width:360px;margin:0 0 18px}
  .world-page .launch-actions {width:100%;gap:10px}
  .world-page .launch-actions #begin,.world-page .launch-actions #preview {height:auto;min-height:60px;padding:10px 18px}
  .world-page .launch-actions .launch-icon {width:26px;height:26px;flex-basis:26px}
  .launch-label small {margin-top:2px}
  .launch #load-status {text-align:center;font-size:11px;line-height:1.4;min-height:16px;margin:6px 0 3px}
  .launch-permission {text-align:center;font-size:11px;line-height:1.5;margin:0}
  .launch-steps {margin:0 auto;padding:12px 0;gap:10px}
  .launch-steps>div {align-items:center;gap:6px}
  .launch-steps>div>span {font-size:9px;padding:0}
  .launch-steps p {font-size:14px;line-height:1.3}
  .launch-steps small {display:none}
  .launch-connect {padding:8px 12px;margin:0 auto 8px;gap:10px;border-radius:18px}
  .launch-connect h2 {font-size:18px;line-height:1.3}
  .launch-connect p {display:none}
  .launch-connect .connect-link {font-size:12px;min-height:44px;padding:8px 10px;gap:6px}
  .launch-footer {justify-content:space-between;flex:0 0 auto;flex-wrap:nowrap;margin-block-start:auto;padding-top:2px;gap:4px 8px;font-size:11px}
  .launch-footer>span {min-width:0;text-align:left}
  .launch-footer>div {justify-content:flex-end;gap:clamp(6px,2vw,16px);flex-wrap:nowrap}
  .launch-footer .text-button {font-size:11px;min-height:44px;padding:8px 0;white-space:nowrap}
  .world-page #welcome.launch::before {content:"";position:absolute;right:-250px;top:48px;width:420px;height:420px;border:1px solid #dfb98712;border-radius:50%;pointer-events:none}
  body.large-text .launch-hero {flex:none}
  body.large-text .launch-steps {grid-template-columns:1fr;gap:10px}
  body.large-text .launch-steps p {font-size:20px}
  body.large-text .launch-steps small {display:block}
  body.large-text .launch-permission,body.large-text .launch #load-status,body.large-text .launch-footer .text-button {font-size:14px;line-height:1.6}
  body.large-text .launch-actions #begin,body.large-text .launch-actions #preview {min-height:80px}
  body.large-text .launch-connect h2 {font-size:26px}
  body.large-text .launch-connect .connect-link {font-size:16px;min-height:48px}
  body.large-text .launch-footer {flex-wrap:wrap}
  body.large-text .launch-footer>div {flex-wrap:wrap}
}
@media (max-width:700px) and (max-height:660px) {
  body:not(.large-text).world-page #welcome.launch {padding-top:max(12px,env(safe-area-inset-top))}
  body:not(.large-text) .launch-hero {padding:12px 0}
  body:not(.large-text) .launch-intro .eyebrow {margin-bottom:8px}
  body:not(.large-text) .launch-intro h1 {font-size:clamp(36px,10vw,44px);margin-bottom:10px}
  body:not(.large-text) .launch-lead {font-size:13px;margin-bottom:14px}
  body:not(.large-text).world-page .launch-actions #begin,body:not(.large-text).world-page .launch-actions #preview {min-height:56px}
}
@media (max-width:360px) {
  .launch-connect h2 {font-size:16px}
  .launch-steps {gap:6px}
  .launch-steps>div {gap:4px}
  .launch-steps p {font-size:13px}
  body:not(.large-text) .launch-footer,body:not(.large-text) .launch-footer .text-button {font-size:10px}
  body:not(.large-text) .launch-footer {margin-inline:-4px;column-gap:6px}
}


/* Live guide: the overlay never intercepts the real controls. */
#guide-spotlight {
  position:fixed;z-index:40;pointer-events:none;border:2px solid var(--gold);border-radius:18px;
  box-shadow:0 0 0 150vmax #08160faa,0 0 20px #ffb95163,inset 0 0 12px #ffda9e30;
}
#guide-spotlight:not(.tour-gesture,.tour-reading)::after {
  content:"";position:absolute;inset:-4px;border:1px solid #ffe0ac;border-radius:inherit;
  animation:tour-target 1.65s ease-out infinite;
}
#guide-hand {position:absolute;bottom:8px;left:50%;width:38px;height:38px;transform:translateX(-50%);filter:drop-shadow(0 3px 5px #08160f);animation:tour-swipe 2s ease-in-out infinite}
@keyframes tour-target {0%,15%{opacity:.95;transform:scale(1)}75%,100%{opacity:0;transform:scale(1.14)}}
@keyframes tour-swipe {0%,100%{transform:translateX(calc(-50% - 23px)) rotate(-9deg)}50%{transform:translateX(calc(-50% + 23px)) rotate(9deg)}}
#experience.tour-active #guidance,#experience.tour-active #placement-hint {visibility:hidden}
#help-dialog {
  position:absolute;z-index:41;left:50%;transform:translateX(-50%);width:min(390px,calc(100% - 24px));
  max-height:calc(100svh - 110px);overflow:auto;overscroll-behavior:contain;
  box-sizing:border-box;padding:8px 13px 11px;border-radius:18px;border:1px solid #ffda9e66;
  background:var(--glass-panel);color:#fff8ea;
  box-shadow:0 8px 30px #0006;-webkit-backdrop-filter:blur(var(--glass-blur));backdrop-filter:blur(var(--glass-blur));
}
#help-dialog.tour-low {top:auto!important;bottom:max(76px,calc(env(safe-area-inset-bottom) + 64px))}
#help-dialog.tour-obscured {visibility:hidden}
.tour-top {display:flex;align-items:center;gap:5px}
#help-count {flex:1;font-size:11px;color:var(--gold);font-weight:700;letter-spacing:.09em;text-transform:uppercase}
#help-dialog button {min-height:44px;padding:4px 11px;font-size:13px}
#help-dialog #help-close {width:44px;flex:none;padding:0;font-size:22px}
#help-step-title {margin:1px 0 3px;font:400 clamp(18px,5vw,23px)/1.15 var(--display-font)}
#help-step-text {margin:0;font-size:13px;line-height:1.45;color:#f0ede4}
#help-dialog #guide-demo {margin-top:8px;border-color:var(--gold);color:var(--gold-bright)}
#tracking-tools {margin-top:7px;border-top:1px solid #ffffff25;padding-top:5px}
#experience #tracking-report {min-height:44px;background:transparent;border:0;box-shadow:none;padding:6px 8px;font-size:12px}
#tracking-report-status:empty {display:none}
body.large-text #help-step-text {font-size:17px}
body.large-text #help-count,body.large-text #help-dialog button {font-size:15px}
body.solid-panels #help-dialog {background:var(--pine-panel);-webkit-backdrop-filter:none;backdrop-filter:none}
@media(prefers-reduced-motion:reduce) {
  #guide-hand,#guide-spotlight::after {animation:none!important}
}
@media(prefers-reduced-transparency:reduce) {
  #help-dialog {background:var(--pine-panel);-webkit-backdrop-filter:none;backdrop-filter:none}
}

/* Readable text actions, with matching hover and keyboard emphasis. */
#experience .guidance.with-guide {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 8px;padding:8px 12px}
.guidance.with-guide #guidance-text {grid-column:1/-1;padding:3px 0}
#experience #guide-open {grid-column:1;justify-self:center;pointer-events:auto;min-height:44px;padding:8px 14px;border-color:#dfb987a8;color:var(--gold-bright);font-weight:650}
.guidance.with-guide #hint-dismiss {grid-column:2}
.world-page .launch-footer .text-button {border:0;border-radius:0;background:transparent;box-shadow:none}
.launch-footer .developer-link {display:inline-flex;align-items:center;min-height:26px;color:#e8c89c;font-size:inherit;text-decoration:underline;text-underline-offset:3px}
#welcome :is(button:not(:disabled),a):is(:hover,:focus-visible),
#welcome .launch-actions button:not(:disabled):is(:hover,:focus-visible) .launch-label,
#welcome .launch-actions button:not(:disabled):is(:hover,:focus-visible) .launch-label small,
#about .developer-link:is(:hover,:focus-visible) {color:var(--gold-bright)}
#welcome .launch-footer :is(button,a):active {color:#d2b58b}
@media (max-width:360px) and (max-height:620px) {
  body:not(.large-text) .launch-hero {padding:6px 0}
  body:not(.large-text) .launch-intro .eyebrow {margin-bottom:6px}
  body:not(.large-text) .launch-intro h1 {margin-bottom:8px}
  body:not(.large-text) .launch-lead {margin-bottom:10px}
  body:not(.large-text).world-page .launch-actions {gap:8px}
  body:not(.large-text) .launch-connect {padding:6px 10px;margin-bottom:4px}
}


/* Welcome gallery: warm light behind the actual transparent 3D model. */
.world-page #welcome.launch {
  background:radial-gradient(ellipse at 71% 37%,#5c644b4d,transparent 54%),linear-gradient(145deg,var(--pine-panel),var(--pine-base) 58%,var(--pine-deep));
}
.launch-header {padding-bottom:15px;border-bottom:1px solid #e2c69b27}
.launch-hero {
  padding:28px 0 0;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  grid-template-areas:"intro art" "entry art" "steps steps";grid-template-rows:1fr auto auto;
  gap:12px 4vw;align-items:center;
}
.launch-intro {grid-area:intro;align-self:end}
.launch-entry {grid-area:entry;align-self:start;min-width:0}
.launch-intro .eyebrow {margin-bottom:14px}
.launch-intro h1 {font-size:clamp(48px,6.65vw,94px);letter-spacing:-.045em;margin-bottom:16px}
.launch-lead {max-width:350px;line-height:1.6;margin-bottom:0}
.launch-art {grid-area:art;position:relative;width:100%;height:clamp(300px,49vh,490px);max-width:520px;justify-self:center}
.launch-art::before {
  content:"";position:absolute;inset:5% 6% 1%;
  background:radial-gradient(ellipse 50% 46% at 49% 45%,#d0a56b21,transparent 100%),radial-gradient(ellipse 34% 6% at 50% 87%,#080e0b99,transparent);
  pointer-events:none;
}
#launch-model {position:absolute;inset:0;display:grid;place-items:center}
#launch-model canvas {position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none}
.launch-model-fallback {width:min(45%,160px);height:auto;opacity:.68}
#launch-model.model-ready .launch-model-fallback {display:none}
.launch-art .art-date {right:2%;top:11%}
#launch-rotation {position:absolute;bottom:3%;right:2%;width:44px;min-height:44px;padding:0;font-size:15px;color:var(--gold-bright);background:#21332b85;border-color:#dfb98761}
.launch-steps {grid-area:steps;padding:15px 0;gap:12px;border-color:#e2c69b31}
.launch-steps>div>span {color:#e9c497}
.launch-connect {background:#e2c69b09}
@media(max-width:700px) {
  .launch-header {padding-bottom:7px}
  .launch-hero {
    display:grid;grid-template-columns:minmax(0,1fr) clamp(96px,39vw,180px);
    grid-template-areas:"intro art" "steps steps" "entry entry";
    grid-template-rows:minmax(clamp(148px,calc(38svh - 36px),280px),1fr) auto auto;
    flex:1 0 auto;margin:0 auto;padding:10px 0 6px;gap:0 8px;
  }
  .launch-intro {align-self:center}
  .launch-art {display:block;align-self:center;height:clamp(132px,calc(46svh - 125px),290px);min-height:0}
  .launch-entry {align-self:end}
  .launch-intro .eyebrow {margin-bottom:6px;line-height:1.3}
  .launch-intro h1 {font-size:clamp(31px,8.8vw,43px);margin-bottom:7px;line-height:1.02}
  .launch-lead {font-size:13px;margin:0;line-height:1.48}
  .launch-art .art-date {top:auto;right:3px;bottom:-3px}
  .art-year {font-size:27px}
  .art-century {font-size:7px}
  #launch-rotation {bottom:-9px;left:-4px;right:auto;background:transparent;border:0}
  .launch-connect {margin-block-start:clamp(0px,calc(12dvh - 73px),28px)}
  .launch-entry:has(#begin:not(:disabled)) #load-status {
    position:absolute;width:1px;height:1px;min-height:0;margin:0;overflow:hidden;clip-path:inset(50%);
  }
  .launch-entry:has(#begin:not(:disabled)) .launch-permission {margin-top:7px}
  body.large-text .launch-hero {flex:1 0 auto;grid-template-rows:minmax(min-content,1fr) auto auto}
  .world-page .launch-actions {gap:8px}
  .world-page .launch-actions #begin,.world-page .launch-actions #preview {
    min-height:62px;height:auto;padding:9px 13px 9px 16px;border-radius:16px;gap:9px;
  }
  .world-page .launch-actions #begin {
    background:linear-gradient(115deg,#655033b8,#344f3bef 72%);border-color:#f1ca94c4;
  }
  .world-page .launch-actions #preview {
    background:linear-gradient(115deg,#2b4a3edc,#1a3229eb);border-color:#cbd9cf63;
  }
  .world-page .launch-actions button .launch-label {font-weight:650}
  .world-page .launch-actions .launch-icon {
    width:38px;height:38px;flex:0 0 38px;padding:8px;border:1px solid #cbd9cf45;
    border-radius:11px;background:#b5d3bb12;
  }
  .world-page .launch-actions #begin .launch-icon {border-color:#f1ca9470;background:#f1ca9420}
  body.solid-panels .launch-actions #begin,body.solid-panels .launch-actions #preview {background:var(--pine-raised)}
}
@media(max-width:360px) and (max-height:620px) {
  body:not(.large-text) .launch-hero {padding:6px 0;grid-template-rows:minmax(142px,1fr) auto auto}
  body:not(.large-text) .launch-intro .eyebrow {font-size:8px;margin-bottom:4px}
  body:not(.large-text) .launch-intro h1 {font-size:30px;margin-bottom:6px}
  body:not(.large-text) .launch-lead {font-size:12px;margin:0}
  .launch-art {height:clamp(126px,calc(43svh - 110px),155px)}
}
@media (orientation:landscape) and (max-height:500px) and (max-width:960px) {
  .world-page #welcome.launch {
    min-height:100dvh;
    padding:max(12px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));
  }
  .launch-header {padding-bottom:6px}
  .launch-header .wordmark {font-size:16px}
  .launch-hero {
    grid-template-columns:minmax(0,1fr) minmax(78px,.52fr) minmax(0,1.15fr);
    grid-template-areas:"intro art steps" "intro art entry";grid-template-rows:auto auto;
    flex:1 0 auto;margin:0 auto;align-content:center;align-items:center;gap:7px 12px;padding:8px 0;
  }
  .launch-intro,.launch-entry {align-self:center}
  body:not(.large-text) .launch-intro h1 {font-size:clamp(28px,4.6vw,40px);margin-bottom:6px}
  body:not(.large-text) .launch-intro .eyebrow {font-size:8px;margin-bottom:7px}
  body:not(.large-text) .launch-lead {font-size:12px;margin-bottom:0}
  .launch-art {height:clamp(118px,39svh,188px);min-height:0;align-self:center}
  .world-page .launch-actions {width:100%;max-width:none;gap:6px}
  .world-page .launch-actions #begin,.world-page .launch-actions #preview {height:auto;min-height:48px;padding:6px 9px;border-radius:13px;gap:8px}
  body:not(.large-text).world-page .launch-actions #begin,body:not(.large-text).world-page .launch-actions #preview {min-height:48px}
  .world-page .launch-actions .launch-icon {width:29px;height:29px;flex:0 0 29px;padding:5px}
  .launch-entry:has(#begin:not(:disabled)) #load-status {
    position:absolute;width:1px;height:1px;min-height:0;margin:0;overflow:hidden;clip-path:inset(50%);
  }
  .launch-entry:has(#begin:not(:disabled)) .launch-permission {margin-top:5px}
  .launch-connect {margin-block-start:0}
  .launch-connect h2 {font-size:16px}
  .launch-connect p {display:none}
  .launch-footer {flex:0 0 auto;margin-block-start:auto;padding-top:0}
  body.large-text .launch-hero {grid-template-areas:"intro art" "steps steps" "entry entry";grid-template-columns:minmax(0,1fr) minmax(85px,.45fr);grid-template-rows:auto auto auto}
}
@media (max-width:700px), (orientation:landscape) and (max-height:500px) and (max-width:960px) {
  .launch-steps {display:flex;flex-wrap:wrap;align-items:center;gap:3px 9px;margin:9px 0 6px;padding:0;border:0}
  .launch-steps>div {align-items:center;gap:9px}
  .launch-steps>div+div::before {content:"";width:3px;height:3px;flex:none;border-radius:50%;background:var(--gold)}
  .launch-steps>div>span,.launch-steps small {display:none}
  .launch-steps p {font:500 11px/1.4 var(--ui-font);color:var(--muted)}
  body.large-text .launch-steps p {font-size:14px}
  .launch-connect {padding:2px 0;margin-block-end:4px;border:0;background:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
  .launch-connect .connect-link {padding-inline:8px 2px;border-color:transparent;background:none}
}
@media (orientation:landscape) and (max-height:500px) and (max-width:960px) {
  .launch-steps {margin:0}
}
@media (max-width:700px) and (prefers-reduced-transparency:reduce) {
  .world-page .launch-actions #begin,.world-page .launch-actions #preview {
    background:var(--pine-raised);-webkit-backdrop-filter:none;backdrop-filter:none;
  }
}
#experience.tour-active.details-open #annotation-close {border-color:var(--gold);color:var(--gold)}
@media(max-width:700px) {
  #launch-model {bottom:20px}
  .launch-art .art-date {bottom:0}
}


/* Reflow rules: real touch targets, including all six details on narrow screens. */
.world-page #annotation-picker {
  display:grid;grid-template-columns:repeat(6,minmax(44px,1fr));gap:6px;
}
.world-page #annotation-picker button {width:100%;min-width:44px;min-height:44px}
#experience .annotation-actions {gap:6px;flex-wrap:wrap}
#experience .annotation-actions>div:last-child {margin-left:auto}
#experience #annotation {overflow-x:hidden;overflow-wrap:anywhere}
#experience #annotation button:focus-visible,.session-popover button:focus-visible {outline-offset:2px}
#experience #object-info,#experience #more-panel,#help-dialog,dialog {
  scrollbar-color:var(--line) transparent;
}
#experience #help-dialog button {border-radius:var(--pill-radius)}
#experience #guide-open,#experience #detail {border-color:var(--gold);color:var(--gold-bright)}
#experience #place {background:var(--gold);color:var(--on-gold);border-color:var(--gold)}
#experience #place:not(:disabled):hover,dialog .primary:not(:disabled):hover {
  background:var(--gold-bright);color:var(--on-gold);
}
#experience #guide-spotlight {border-color:var(--gold)}
#experience .header-actions button {border-color:var(--glass-edge)}
#experience .model-hotspot:is(:hover,:focus-visible),#experience .model-hotspot[aria-expanded="true"] {
  color:var(--on-gold);background:var(--gold);border-color:var(--gold-bright);text-shadow:none;
}
body.solid-panels #experience .model-hotspot:not([aria-expanded="true"]) {background:var(--pine-panel)}
#about a {overflow-wrap:anywhere}
@media (max-width:380px), (max-height:540px) and (orientation:landscape) {
  .world-page #annotation-picker {grid-template-columns:repeat(3,minmax(44px,1fr))}
}
@media (max-height:540px) and (orientation:landscape) {
  #help-dialog,#help-dialog.tour-low {
    left:12px;right:auto;bottom:auto;transform:none;width:min(290px,39vw);
    max-height:calc(100svh - 100px);
  }
  #help-dialog.tour-low {top:auto!important;bottom:12px;left:auto;right:12px}
  #object-info {width:min(350px,56vw)}
  #help-dialog #help-step-text {font-size:12px}
  #help-dialog .tour-top {gap:3px}
}
#experience #guide-hand {width:42px;height:42px}
@media (min-width:701px) {
  .launch-art .art-date {top:1%}
}


/* The guide keeps the story readable and marks only the next real action. */
#experience .tour-action-target {
  outline:2px solid var(--gold-bright);outline-offset:2px;
  animation:guide-action-breathe 1.55s ease-in-out infinite;
}
.world-page #experience.tour-active #annotation:not([hidden]) {animation:none}
@keyframes guide-action-breathe {0%,100%{box-shadow:0 0 0 2px #f1ca9430}50%{box-shadow:0 0 0 6px #f1ca9450,0 0 18px #f1ca9470}}
#help-dialog.tour-complete #help-next {background:var(--gold);color:var(--on-gold);border-color:var(--gold-bright)}
#help-dialog.tour-complete #help-next::before {content:"✓";display:inline-block;margin-right:6px;animation:guide-check .55s ease-out both}
@keyframes guide-check {from{opacity:0;transform:rotate(-110deg) scale(.5)}to{opacity:1;transform:rotate(0) scale(1)}}
#photo-dialog.guided-photo #photo-close {border-color:var(--gold-bright);color:var(--gold-bright);animation:guide-action-breathe 1.55s ease-in-out infinite}
#experience.tour-active.details-open #annotation-close {position:sticky;top:0;z-index:2}
#launch-model.model-ready {cursor:grab;touch-action:pan-y;user-select:none;-webkit-user-select:none;border-radius:var(--panel-radius)}
#launch-model.model-ready.is-dragging {cursor:grabbing}
#launch-model:focus-visible {outline:2px solid var(--gold);outline-offset:3px}
#launch-play-hint {position:absolute;bottom:0;left:50%;transform:translateX(-50%);font-size:11px;color:var(--gold-bright);pointer-events:none;white-space:nowrap}
#launch-play-hint::after {content:"";display:block;height:1px;margin:2px 5px 0;background:var(--gold-bright);transform:scaleX(var(--turn-progress,0));transform-origin:left;transition:transform .18s ease-out}
#launch-clue.clue-revealed {align-items:flex-start}
#launch-clue.clue-revealed p {color:var(--gold-bright)}
#launch-clue.clue-revealed small {display:block;margin-top:3px;color:var(--paper)}
#model-layer .webcam-feed {position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:fill;pointer-events:none}
.webcam-mode #model-layer canvas {position:relative}
.webcam-mode #ar-loading .ar-loading-phone {display:none}
@media(max-width:700px) {
  #launch-play-hint {top:-3px;bottom:auto;font-size:9px}
  #launch-model {top:9px}
  body:not(.large-text) #launch-clue.clue-revealed small {position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
}
@media(prefers-reduced-motion:reduce) {
  #experience .tour-action-target,#help-dialog.tour-complete #help-next::before,#photo-dialog.guided-photo #photo-close {animation:none}
  #launch-play-hint::after {transition:none}
}
