:root{color-scheme:dark;--bg:#142329;--paper:#f2eadd;--muted:#b7c2c1;--gold:#dfb987;--line:#405158;font-family:Arial,Helvetica,sans-serif;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:#22343b;border:1px solid var(--line);border-radius:30px;min-height:48px;padding:13px 20px}button:hover{border-color:var(--gold);background:#2c424a}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:#142329;border-color:var(--gold);font-weight:600}.primary:hover{background:#edcca4;color:#142329}.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%,#30454b66,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:Georgia,serif;font-weight:400;font-size:clamp(42px,4.6vw,68px);letter-spacing:-1.8px;line-height:1.05;margin:22px 0}h2{font-family:Georgia,serif;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:#142329ec;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:#142329ed;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:#142329ed;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:#172a32f5;border:1px solid var(--line);border-radius:22px;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:#1c3038;border:1px solid var(--line);border-radius:24px;width:min(540px,calc(100% - 32px));padding:30px;max-height:85svh;overflow:auto}dialog::backdrop{background:#071216bf;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:radial-gradient(ellipse at center,#30434b,#142329 78%)}
.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:#142329;font-size:12px;box-shadow:0 0 0 4px #14232955;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:rgba(19,36,44,.96);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:#f7f7f2}
#annotation p,#annotation h2{text-shadow:0 1px 3px rgba(0,0,0,.35)}
#annotation .fine{color:#eaf0ed}#annotation .eyebrow{color:#f3d3a6}
#annotation-close,#annotation-picker button{background:rgba(15,30,37,.38);border-color:rgba(239,248,246,.25)}
#annotation-close:hover,#annotation-picker button:hover{background:rgba(54,75,80,.75);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:linear-gradient(145deg,rgba(22,42,50,.68),rgba(12,27,34,.78));-webkit-backdrop-filter:blur(18px) saturate(135%);backdrop-filter:blur(18px) saturate(135%)}
}
@media(prefers-reduced-transparency:reduce){#annotation{background:#172a32;-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-copy{position:relative;z-index:1;max-width:610px}.launch-copy .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-copy h1{font-size:clamp(52px,5.8vw,88px);line-height:1.03;letter-spacing:-2.9px;margin:0 0 24px}.launch-copy h1 em{font-weight:400;color:#dfb987}.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}
.launch-art{position:relative;width:100%;max-width:470px;aspect-ratio:1;justify-self:center}.artifact-window{position:absolute;inset:14%;border-radius:50%;background:#233630 url('../assets/preview.png') center 51%/auto 225%;box-shadow:inset 0 0 45px #10262280,0 24px 90px #0004;transform:rotate(-8deg)}.orbit-ring{position:absolute;border:1px solid #a2b49330;border-radius:50%;inset:4%;transform:rotate(-22deg) scaleY(.73)}.ring-two{inset:-1%;transform:rotate(48deg) scaleY(.83);border-color:#dfb98724}.art-label{position:absolute;left:-1%;bottom:8%;font-size:8px;letter-spacing:1.6px;line-height:1.8;color:#bbcab5}.art-date{position:absolute;right:2%;top:1%;font:italic 70px Georgia,serif;color:#dfb987}.art-date span{display:block;font:8px Arial,sans-serif;letter-spacing:2px;text-align:right;margin-top:3px}.art-dot{position:absolute;top:38%;right:2%;width:9px;height:9px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 6px #dfb98710}
.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:#dfb987;padding-top:5px}.launch-steps p{margin:0;font:21px Georgia,serif;color:#e9e7d9}.launch-steps small{display:block;font:11px/1.6 Arial,sans-serif;color:#9db09f;margin-top:7px}.launch-footer{border-color:#acb99f2b;padding-top:12px;font-size:10px}.launch-footer>div{display:flex;gap:20px;align-items:center}.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:22px;max-height:92svh}#photo-image{display:block;width:100%;max-height:54svh;object-fit:contain;border-radius:10px;background:#102622;margin-bottom:16px}.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-width:700px){.world-page #welcome.launch{padding:24px 25px 14px}.launch-header .wordmark{font-size:16px;letter-spacing:1.4px}.wordmark span{font-size:7px;letter-spacing:1px}.launch-header .edition{font-size:7px;letter-spacing:.7px}.launch-hero{display:block;padding:48px 0 28px;flex:none}.launch-copy h1{font-size:clamp(45px,11.8vw,74px);letter-spacing:-2px;margin-bottom:19px}.launch-copy .eyebrow{font-size:8px;margin-bottom:20px}.launch-lead{font-size:14px;line-height:1.75;margin-bottom:25px;max-width:360px}.launch-actions{align-items:stretch}.launch-actions #begin{width:100%;min-height:58px}.launch-actions .preview-link{align-self:center}.launch-art{display:none}.launch #load-status,.launch-permission{text-align:center}.launch-steps{margin-top:auto;padding:22px 0;gap:13px}.launch-steps>div{display:block}.launch-steps>div>span{display:block;padding:0 0 8px}.launch-steps p{font-size:17px;line-height:1.2}.launch-steps small{font-size:10px;line-height:1.5}.launch-footer{align-items:flex-start;gap:10px;font-size:9px;line-height:1.5}.launch-footer>div{gap:0;flex-direction:column;align-items:flex-end;flex-shrink:0}.launch-footer a{font-size:9px;padding-top:0}.launch-footer .text-button{font-size:9px;min-height:36px}.world-page #welcome.launch:before{content:"";position:absolute;right:-230px;top:60px;width:420px;height:420px;border:1px solid #dfb98712;border-radius:50%;pointer-events:none}}
@media(max-width:700px) and (max-height:700px){.world-page #welcome.launch{padding-top:18px}.launch-hero{padding-top:29px;padding-bottom:20px}.launch-copy .eyebrow{margin-bottom:14px}.launch-copy h1{font-size:46px;margin-bottom:16px}.launch-lead{font-size:13px;line-height:1.65;margin-bottom:19px}.launch-steps{padding:18px 0}.launch-steps small{display:none}}
@media(max-width:360px){.world-page #welcome.launch{padding-left:20px;padding-right:20px}.launch-copy h1{font-size:42px}.launch-header .edition{font-size:6px}.launch-permission{font-size:9px}}
@media(max-height:540px) and (orientation:landscape){.launch-hero{padding:20px 0 16px;grid-template-columns:1.4fr 1fr;gap:28px}.launch-copy .eyebrow{margin-bottom:12px}.launch-copy 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}
.help-steps{padding-left:22px;font-size:14px;line-height:1.7}.help-steps li{margin:14px 0}.help-steps strong{color:var(--gold)}
@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:999px;border:1px solid rgba(235,244,235,.3);padding:16px 22px;font-size:15px;line-height:1.2;font-weight:500;color:#f4f2e9;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:#efa05b;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:#ffbd80}
.world-page .launch-actions button:focus-visible{outline:2px solid #ffbd80;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:#ffc48e;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:#f3d3a6;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. */
:root{--glass-panel:rgba(19,36,44,.96);--glass-control:rgba(23,42,49,.9);--glass-blur:18px;--glass-edge:rgba(239,248,246,.28)}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){:root{--glass-panel:linear-gradient(145deg,rgba(22,42,50,.68),rgba(12,27,34,.78));--glass-control:rgba(22,40,48,.48)}}
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:#f7f7f2}
dialog::backdrop{background:rgba(5,13,16,.19);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
dialog .fine{color:#eaf0ed}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:#f7f7f2;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:#dfb987;background:rgba(104,76,39,.6);color:#fff3df}
#experience #lock-model[aria-pressed="true"],#experience #auto-rotate[aria-pressed="true"],#annotation-picker button[aria-pressed="true"]{border-color:#efbe7f;background:rgba(139,100,49,.65);color:#fff4df;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:rgba(74,93,92,.65);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:#f4f2e9}
.launch-label small{display:block;font-size:10px;font-weight:400;letter-spacing:.2px;margin-top:4px;color:#dce4db}
.world-page .launch-actions .launch-icon{width:30px;height:30px;flex:0 0 30px;color:#e1e9df}
.world-page .launch-actions #begin .launch-icon{color:#ffbd80}
@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){:root{--glass-panel:#172a32;--glass-control:#22343b;--glass-blur:0px}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:rgba(22,42,50,.64);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,.65);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:22px;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 .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 .session-bottom,.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:#22343b;-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{--glass-panel:#142b33;--glass-control:#203c46;--glass-blur:0px;--glass-edge:#aabdc4}
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:#142b33;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:#203c46;color:#fff;-webkit-backdrop-filter:none;backdrop-filter:none;border-color:#aabdc4}
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:#654320;border-color:#ffe0a5;color:#fff}
body.solid-panels #experience button.primary,body.solid-panels .launch-actions #begin{border-color:#ffc48e}
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:rgba(139,100,49,.65);color:#fff4df}
#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(5,13,16,.08);-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:#fff4df}
#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:80px;height:85px;margin:auto;filter:drop-shadow(0 2px 4px #0008)}
.tap-illustration svg{position:absolute;left:13px;top:11px;width:64px;height:72px;animation:tap-finger .9s ease-in-out 4}
.tap-ring{position:absolute;left:27px;top:13px;width:27px;height:27px;border:2px solid #ffd194;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:#142b33;-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:#142b33;-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:22px;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(23,71,70,.82),rgba(13,43,46,.85));border-color:#8dcccb9c}
#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:#c9f2e9}
.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:#9bd8d0;background:rgba(74,133,126,.7)}
#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:#142b33;-webkit-backdrop-filter:none;backdrop-filter:none}
body.solid-panels #experience.assist-active #controls.control-dock{background:#143d40}
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:#142b33;-webkit-backdrop-filter:none;backdrop-filter:none}#experience.assist-active #controls.control-dock{background:#143d40}}

/* 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:#ffd18d;background:rgba(146,102,44,.42);box-shadow:0 0 0 1px #ffd18d60,inset 0 1px 0 #ffffff25;color:#fff2d7}
#experience #lock-model[aria-pressed="true"]{border-color:#ffd18d;background:rgba(146,102,44,.42);color:#fff2d7}
#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:#b5d9e1;color:#d3f5ff}
#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:#654320;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:20px;width:100%;max-width:1320px;box-sizing:border-box;margin:0 auto 22px;padding:22px 26px;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:26px/1.2 Georgia,serif;letter-spacing:-.4px}
.launch-connect p{margin:8px 0 0;color:#bcc8bd;font-size:13px;line-height:1.5}
.launch-connect .connect-link{display:inline-flex;align-items:center;justify-content:center;gap:11px;flex-shrink:0;min-height:48px;box-sizing:border-box;padding:12px 18px;border:1px solid rgba(223,185,135,.5);border-radius:999px;background:rgba(223,185,135,.07);color:#f1ddbf;font-size:13px;line-height:1.4;text-decoration:none;transition:background .2s,border-color .2s,box-shadow .2s}
.connect-link svg{width:20px;height:20px;flex-shrink:0}.connect-arrow{font-size:18px;line-height:1}
.launch-connect .connect-link:focus-visible{outline:2px solid #ffbd80;outline-offset:4px}
@media(hover:hover){.launch-connect .connect-link:hover{border-color:#ffbd80;background:rgba(223,185,135,.14);box-shadow:0 0 20px rgba(239,141,62,.12)}}
@media(max-width:700px){.launch-connect{align-items:flex-start;flex-direction:column;gap:17px;padding:20px;border-radius:20px;margin-bottom:18px}.launch-connect h2{font-size:24px}.launch-connect p{font-size:12px}}
@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}
