:root{--ivory:#eee7dc;--ivory-deep:#dfd4c6;--ink:#292624;--muted:#68635d;--gold:#a6784b;--gold-soft:#c5a47d;--line:rgba(105,83,58,.22);font-family:"Microsoft YaHei","Segoe UI",sans-serif;color:var(--ink);background:var(--ivory)}*{box-sizing:border-box}html,body,#app{width:100%;min-width:100%;height:100%;min-height:100%;margin:0;overflow:hidden;background:var(--ivory)}button{font:inherit}#viewer-shell{position:relative;width:100vw;height:100vh;overflow:hidden;isolation:isolate;background:radial-gradient(ellipse 50% 72% at 56% 40%,#f7f2e9 0%,#e9e0d3 62%,#d8cdbd 100%)}.architecture{position:absolute;inset:0;z-index:-2;overflow:hidden;background:linear-gradient(111deg,rgba(255,255,255,.61) 0 25%,transparent 44%),radial-gradient(ellipse 50% 22% at 58% 86%,rgba(136,112,82,.13),transparent 68%)}.architecture:before{content:"";position:absolute;inset:0;opacity:.26;background-image:radial-gradient(rgba(91,79,65,.24) .45px,transparent .7px);background-size:5px 5px;mix-blend-mode:multiply}.wall-slats{position:absolute;z-index:1;left:0;top:0;bottom:0;width:70px;background:repeating-linear-gradient(90deg,rgba(255,255,255,.84) 0 5px,rgba(184,174,160,.32) 5px 8px,rgba(248,243,235,.83) 8px 14px);box-shadow:16px 0 30px rgba(76,62,45,.08)}.archway{position:absolute;right:-10vw;top:-18vh;width:24vw;height:115vh;border:clamp(20px,2.4vw,44px) solid rgba(148,132,112,.15);border-bottom:0;border-radius:18vw 18vw 0 0;background:linear-gradient(90deg,rgba(255,255,255,.04),rgba(138,123,104,.045));box-shadow:inset 22px 0 35px rgba(91,79,65,.035)}.floor-plane{position:absolute;left:0;right:0;bottom:0;height:30vh;background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(191,179,164,.26));border-top:1px solid rgba(128,110,88,.13);transform:perspective(700px) rotateX(2.5deg);transform-origin:bottom}.floor-plane:after{content:"";position:absolute;inset:36% 0 0;background:repeating-linear-gradient(0deg,transparent 0 55px,rgba(111,95,76,.08) 56px 57px)}
#stage{position:absolute;inset:0;display:grid;place-items:center;overflow:hidden;background:transparent!important;--p35-canvas-width:960px;--p35-canvas-height:600px}#viewer-canvas{display:block;width:var(--p35-canvas-width);height:var(--p35-canvas-height);max-width:none;max-height:none;background:transparent;cursor:grab;touch-action:none;transform:translate(13vw,-3vh) scale(1.23);transform-origin:center}#viewer-canvas:active{cursor:grabbing}#qa-raster,#qa-material-mask{position:absolute;top:50%;left:50%;display:block;width:var(--p35-canvas-width);height:var(--p35-canvas-height);transform:translate(-50%,-50%);object-fit:fill;pointer-events:none}#qa-raster[hidden],#qa-material-mask[hidden],#return-button[hidden],#reset-button[hidden]{display:none}
#poster{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:8px;background:var(--ivory);color:var(--ink);text-align:center}#poster[hidden]{display:none}#poster-kicker,.eyebrow{margin:0;color:var(--gold);font-size:11px;font-weight:700;letter-spacing:.14em}#poster h2{margin:4px 0 0;font-family:Georgia,"SimSun",serif;font-size:24px}#poster-body{margin:0;color:var(--muted)}
.object-intro{position:absolute;z-index:3;top:17.6vh;left:11.7vw;width:min(32vw,575px);color:var(--ink)}.intro-kicker{margin:0 0 26px;color:var(--gold);font-size:16px;font-weight:700;letter-spacing:.02em}.object-intro h1{margin:0;color:#2f2b28;font-family:Georgia,"SimSun","Songti SC",serif;font-size:clamp(48px,3.05vw,64px);font-weight:500;letter-spacing:.015em;line-height:1.13}.intro-copy{margin:25px 0 0;color:#5e5953;font-family:"SimSun","Songti SC",serif;font-size:16px;line-height:1.9}.feature-list{display:grid;gap:32px;margin-top:40px}.feature-list article{display:grid;grid-template-columns:48px 1fr;gap:16px;align-items:start}.feature-icon{display:grid;width:42px;height:42px;place-items:center;border:1px solid var(--gold-soft);border-radius:50%;color:var(--gold);font-family:Georgia,"SimSun",serif;font-size:22px}.feature-list strong{display:block;color:#39342f;font-family:"SimSun","Songti SC",serif;font-size:16px;font-weight:700;letter-spacing:.03em}.feature-list p{margin:6px 0 0;color:#777067;font-size:13px;line-height:1.55}
#hotspot-layer{position:absolute;inset:0;z-index:4;pointer-events:none}.hotspot{position:absolute;width:56px;height:46px;margin:0;padding:0;border:0;background:transparent;color:var(--gold);transform:translate(-13px,-23px);pointer-events:auto;cursor:pointer}.hotspot[hidden]{display:none}.hotspot:after{content:"";position:absolute;left:0;top:19px;width:16px;height:16px;border:1.5px solid currentColor;border-radius:50%;background:var(--ivory);box-shadow:0 0 0 3px rgba(246,241,233,.62)}.hotspot-dot{display:none}.hotspot:before{content:"";position:absolute;left:16px;top:27px;width:78px;height:1px;background:currentColor;transform-origin:left;opacity:.76}.hotspot-label{position:absolute;top:0;left:104px;display:grid;gap:4px;color:#5e5145;font-family:"SimSun","Songti SC",serif;white-space:nowrap;opacity:1;transform:none;transition:opacity 160ms ease,transform 160ms ease}.hotspot-title{display:block;font-size:13px;font-weight:700}.hotspot-subtitle{display:block;color:#625448;font-size:12px;font-weight:600}.hotspot:hover .hotspot-label,.hotspot:focus-visible .hotspot-label{color:#473a2f}.hotspot:hover:after,.hotspot:focus-visible:after{background:#fff;border-color:#80582f}.hotspot:focus-visible{outline:2px solid var(--gold);outline-offset:3px;border-radius:4px}.hotspot.hotspot-active-detail{opacity:0;visibility:hidden;pointer-events:none}.is-dragging .hotspot{opacity:.22}
.detail-index{position:absolute;z-index:5;top:50%;right:clamp(58px,5.2vw,108px);display:grid;gap:28px;transform:translateY(-50%)}.detail-index button{display:grid;grid-template-columns:28px 30px;gap:12px;align-items:center;width:74px;height:44px;padding:0;border:0;background:none;color:#948679;cursor:pointer;font-family:Georgia,serif;font-size:14px;font-weight:600}.detail-index i{height:1px;background:currentColor;opacity:.55}.detail-index button:hover,.detail-index button:focus-visible,.detail-index button.is-current{color:var(--gold)}.detail-index button:focus-visible{outline:2px solid var(--gold);outline-offset:4px}.detail-index button.is-current i{opacity:1}
.control-bridge{position:absolute;z-index:6;bottom:5.3vh;left:50%;display:flex;width:48vw;min-width:680px;height:84px;align-items:center;border:1px solid rgba(130,106,76,.13);border-radius:46px;background:rgba(255,253,248,.72);box-shadow:0 14px 26px rgba(91,72,52,.16),inset 0 1px 0 rgba(255,255,255,.94);backdrop-filter:blur(16px);transform:translateX(-50%);color:#76583c}.mode-readout{display:flex;height:40px;align-items:center;gap:10px;padding:0 22px;border-right:1px solid rgba(128,100,69,.15);font-family:"SimSun","Songti SC",serif;font-size:14px;font-weight:700}.mode-readout span{display:grid;height:38px;place-items:center;padding:0 9px;white-space:nowrap}.mode-active{border-radius:20px;background:#f1e7d9;color:#835c33}.rotation-readout{display:flex;flex:1;align-items:center;justify-content:center;gap:19px;padding:0 20px;font-family:"SimSun","Songti SC",serif;font-size:14px;white-space:nowrap}.rotation-readout>i{width:1px;height:26px;background:rgba(128,100,69,.2)}.bridge-instruction{display:inline-flex;align-items:center;gap:7px}.bridge-instruction svg{width:17px;height:17px;stroke:currentColor;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round}.bridge-angle{padding:0 10px;font-family:Georgia,serif;font-weight:700;color:#8a5e32}.bridge-action{display:flex;min-width:80px;height:42px;align-items:center;justify-content:center;gap:7px;margin-right:10px;padding:0 12px;border:1px solid transparent;border-radius:24px;background:transparent;color:#76583c;cursor:pointer;font-size:13px;font-weight:700}.bridge-action svg,.curtain-close svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}.bridge-action:hover,.bridge-action:focus-visible{border-color:rgba(143,102,59,.3);background:#f8f2e9;color:#6e4827;outline:2px solid var(--gold);outline-offset:2px}
.detail-curtain{position:absolute;z-index:5;top:0;right:0;width:min(31vw,460px);height:100%;padding:18vh 48px;background:linear-gradient(90deg,rgba(247,243,236,0) 0,rgba(247,243,236,.9) 17%,#f1ece4 100%);color:var(--ink);opacity:0;pointer-events:none;transform:translateX(100%);transition:transform 360ms ease,opacity 260ms ease}.detail-curtain:before{content:"";position:absolute;top:12%;bottom:12%;left:14%;width:1px;background:linear-gradient(180deg,transparent,var(--gold-soft),transparent)}.detail-curtain[aria-hidden="false"]{opacity:1;pointer-events:auto;transform:none}.curtain-close{position:absolute;top:30px;right:34px;display:flex;min-width:122px;height:42px;align-items:center;justify-content:center;gap:8px;padding:0 12px;border:1px solid rgba(143,102,59,.26);border-radius:22px;background:rgba(255,253,248,.8);color:#76583c;cursor:pointer;font-size:13px;font-weight:700}.curtain-close:hover,.curtain-close:focus-visible{background:#fff;color:#62401f;outline:2px solid var(--gold);outline-offset:2px}.detail-number{color:var(--gold)}.detail-title{margin:18px 0 14px;font-family:Georgia,"SimSun",serif;font-size:36px;line-height:1.25;font-weight:500}.detail-copy{max-width:290px;margin:0;color:#6f675f;font-family:"SimSun","Songti SC",serif;font-size:15px;line-height:1.7}.detail-link{width:72px;height:1px;margin-top:36px;background:var(--gold)}.is-detail #stage{transform:translateX(-8vw)}.is-detail .object-intro{opacity:.16}.is-detail .control-bridge{width:420px}.is-detail .detail-index{opacity:.25}.is-detail #return-button{display:none!important}
.qa-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
#loading-overlay{position:absolute;inset:0;z-index:20;display:grid;place-content:center;justify-items:center;gap:10px;background:radial-gradient(ellipse 50% 72% at 56% 40%,#fbf9f4 0%,#eee9e0 62%,#dfd8cd 100%);color:var(--ink);text-align:center;opacity:1;transition:opacity 360ms ease,visibility 0s linear 360ms}.loading-instrument{position:relative;width:72px;height:72px;margin-bottom:8px}.loading-ring{position:absolute;inset:4px;border:1px solid var(--gold-soft);border-radius:50%;animation:r015-spin 2.8s linear infinite}.loading-ring:after{content:"";position:absolute;inset:14px;border:1px solid rgba(166,120,75,.5);border-radius:50%;border-top-color:var(--gold)}.loading-axis{position:absolute;top:50%;left:7px;right:7px;height:1px;background:linear-gradient(90deg,transparent,var(--gold),transparent)}.loading-scan{position:absolute;top:50%;left:50%;width:1px;height:64px;background:linear-gradient(180deg,transparent,var(--gold),transparent);transform:translate(-50%,-50%);animation:r015-scan 1.7s ease-in-out infinite}.loading-kicker{margin:0;color:var(--gold);font-size:10px;font-weight:700;letter-spacing:.17em}#loading-message{margin:0;font-family:Georgia,"SimSun",serif;font-size:18px;font-weight:600}#loading-detail{margin:0;color:var(--muted);font-size:12px}#viewer-shell[data-loading-state="ready"] #loading-overlay{opacity:0;visibility:hidden;pointer-events:none}#loading-overlay[hidden]{display:none}#viewer-shell[data-loading-state="error"] #loading-overlay{background:radial-gradient(ellipse at 50% 42%,#f8f4ed 0%,#e9e0d5 60%,#d7ccbd 100%)}#viewer-shell[data-loading-state="error"] .loading-ring{animation:none;border-color:#bd7865}#viewer-shell[data-loading-state="error"] .loading-scan{display:none}@keyframes r015-spin{to{transform:rotate(360deg)}}@keyframes r015-scan{0%,100%{opacity:.2;transform:translate(-50%,-50%) rotate(-28deg)}50%{opacity:1;transform:translate(-50%,-50%) rotate(208deg)}}
@media(max-width:1000px){.object-intro{left:54px;width:310px}.object-intro h1{font-size:46px}.feature-list{margin-top:30px}.archway{width:42vw}.control-bridge{width:min(710px,80vw)}}
@media(max-width:700px){#viewer-shell{min-height:100svh;min-height:100dvh}.wall-slats{width:26px}.archway{right:-24vw;width:75vw;top:-5vh;height:81vh;border-width:18px}.object-intro{top:56px;left:28px;width:210px}.intro-kicker{margin-bottom:14px;font-size:12px}.object-intro h1{font-size:32px;line-height:1.3}.intro-copy{margin-top:14px;font-size:12px;line-height:1.7}.feature-list{display:none}#viewer-canvas{position:absolute;top:49%;left:50%;width:auto!important;height:62svh!important;transform:translate(calc(-50% + 48px),-50%)}.detail-index{top:auto;right:22px;bottom:118px;gap:8px;transform:none}.detail-index button{grid-template-columns:22px 20px;gap:8px;width:54px;height:38px;font-size:11px}.control-bridge{bottom:max(16px,env(safe-area-inset-bottom));left:14px;width:calc(100vw - 28px);min-width:0;height:62px;transform:none}.mode-readout{height:34px;gap:0;padding:0 4px;font-size:11px;flex:none}.mode-readout span{height:32px;padding:0 6px}.mode-readout span:not(.mode-active){display:none}.rotation-readout{gap:7px;padding:0 5px;font-size:10px}.rotation-readout>i{height:20px}.bridge-instruction{gap:4px}.bridge-instruction svg{width:13px;height:13px}.bridge-angle{font-size:11px;padding:0 3px}.bridge-action{width:40px;min-width:40px;height:36px;margin-right:2px;padding:0;font-size:11px}.bridge-action span{display:none}.detail-curtain{top:auto;right:0;bottom:0;width:100%;height:48svh;padding:58px 24px 84px;background:#f3eee6;border-radius:22px 22px 0 0;transform:translateY(100%)}.detail-curtain:before{top:0;right:20px;bottom:auto;left:20px;width:auto;height:1px;background:linear-gradient(90deg,transparent,var(--gold-soft),transparent)}.curtain-close{top:14px;right:16px}.detail-title{font-size:29px}.is-detail #stage{transform:none}.is-detail #viewer-canvas{top:27%;height:40svh!important;transform:translate(calc(-50% + 100px),-50%)}.is-detail .object-intro{display:none}.is-detail .control-bridge{width:calc(100vw - 28px)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:0ms!important;transition-duration:150ms!important}.loading-ring,.loading-scan{animation:none}}
#embed-exit[hidden]{display:none}#viewer-shell[data-embed="true"] #embed-exit{position:absolute;z-index:12;top:28px;right:32px;display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 14px;border:1px solid rgba(143,102,59,.32);border-radius:22px;background:rgba(255,253,248,.82);color:#76583c;box-shadow:0 6px 18px rgba(91,72,52,.11);cursor:pointer;font-size:13px;font-weight:700}#embed-exit svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}#embed-exit:focus-visible{outline:2px solid var(--gold);outline-offset:3px}@media(max-width:640px){#viewer-shell[data-embed="true"] #embed-exit{top:12px;right:12px;height:36px;padding:0 11px;font-size:12px}}
/* R017 mobile composition only: keep the R016 desktop framing untouched. */
@media(max-width:640px){.object-intro{top:26px;left:24px;width:282px}.intro-kicker{margin-bottom:10px;font-size:12px}.object-intro h1{font-size:29px;line-height:1.22;letter-spacing:0}.intro-copy{max-width:260px;margin-top:13px;font-size:12px;line-height:1.72}.feature-list{display:none}#viewer-canvas{top:62%;height:49svh!important;transform:translate(calc(-50% + 40px),-50%)}.detail-index{right:16px;bottom:112px;gap:8px}.detail-index button{width:48px}.hotspot[data-expand-direction="left"]:before{right:16px;left:auto;transform-origin:right}.hotspot[data-expand-direction="left"] .hotspot-label{right:104px;left:auto;width:130px;text-align:right}.hotspot-label{max-width:none!important;white-space:normal;line-height:1.25}.hotspot-title,.hotspot-subtitle{display:block!important;width:max-content!important;max-width:none!important;white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important}.hotspot-title{font-size:12px}.hotspot-subtitle{font-size:10px}.control-bridge{bottom:max(14px,env(safe-area-inset-bottom))}.is-detail #viewer-canvas{top:25%;height:38svh!important;transform:translate(calc(-50% + 82px),-50%)}}

/* R019 quality pass: accessible recovery UI and content-driven intermediate layouts. */
#retry-product{min-width:148px;min-height:44px;margin-top:16px;padding:0 18px;border:1px solid rgba(130,94,57,.42);border-radius:24px;background:#fffaf2;color:#5e4227;cursor:pointer;font-weight:700}#retry-product:focus-visible,#retry-product:hover{outline:2px solid var(--gold);outline-offset:3px;background:#fff}.detail-index button{color:#765e47;min-width:44px;min-height:44px}.curtain-close{min-height:44px}.bridge-action{min-width:44px;min-height:44px}.feature-list p,.intro-copy,#poster-body,#loading-detail{color:#5d5750}.hotspot-subtitle{color:#5b4a3d}
@media (min-width:701px) and (max-width:1100px){.object-intro{top:70px;left:44px;width:390px}.intro-kicker{margin-bottom:16px;font-size:14px}.object-intro h1{font-size:40px}.intro-copy{margin-top:16px;font-size:14px;line-height:1.72}.feature-list{gap:18px;margin-top:28px}.feature-list article{grid-template-columns:38px 1fr;gap:10px}.feature-icon{width:34px;height:34px;font-size:18px}.feature-list strong{font-size:14px}.feature-list p{font-size:12px}.archway{right:-14vw;width:32vw}.detail-index{right:28px}.control-bridge{width:min(720px,calc(100vw - 64px));min-width:0;height:72px}.mode-readout{padding:0 14px;font-size:13px}.rotation-readout{gap:11px;padding:0 12px;font-size:12px}.bridge-action{min-width:72px;min-height:44px}.hotspot-label{width:174px;max-width:none;white-space:nowrap}.hotspot-title,.hotspot-subtitle{white-space:nowrap;word-break:keep-all;overflow-wrap:normal}.hotspot[data-expand-direction="left"]:before{right:16px;left:auto;transform-origin:right}.hotspot[data-expand-direction="left"] .hotspot-label{right:104px;left:auto;text-align:right}#viewer-canvas{transform:translate(13vw,-7vh) scale(1.08)}}
@media (min-width:701px) and (max-width:900px) and (orientation:portrait){.object-intro{top:42px;left:36px;width:360px}.object-intro h1{font-size:36px}.feature-list{display:none}#viewer-canvas{position:absolute;top:59%;left:50%;width:auto!important;height:58vh!important;transform:translate(calc(-50% + 92px),-50%)}.detail-index{right:18px;bottom:116px;top:auto;transform:none;gap:12px}.control-bridge{bottom:20px}.hotspot-label{max-width:135px}.hotspot[data-expand-direction="left"]:before{right:16px;left:auto;transform-origin:right}.hotspot[data-expand-direction="left"] .hotspot-label{right:104px;left:auto;text-align:right}}
@media (max-height:520px) and (orientation:landscape){.object-intro{top:22px;left:36px;width:250px}.intro-kicker{margin-bottom:8px;font-size:11px}.object-intro h1{font-size:30px;line-height:1.15}.intro-copy{margin-top:9px;font-size:11px;line-height:1.5}.feature-list{display:none}#viewer-canvas{position:absolute;top:46%;left:50%;width:auto!important;height:72vh!important;transform:translate(calc(-50% + 100px),-50%)}.detail-index{top:auto;right:16px;bottom:82px;gap:6px;transform:none}.detail-index button{height:44px}.control-bridge{bottom:10px;width:min(670px,calc(100vw - 28px));height:58px}.mode-readout{height:34px;padding:0 8px;font-size:11px}.mode-readout span{height:30px;padding:0 6px}.rotation-readout{gap:7px;padding:0 8px;font-size:10px}.bridge-action{min-width:44px;width:44px;height:44px;margin-right:4px;padding:0}.bridge-action span{display:none}.hotspot-label{width:150px;max-width:none;font-size:11px;white-space:nowrap}.hotspot-title,.hotspot-subtitle{white-space:nowrap;word-break:keep-all;overflow-wrap:normal}.hotspot[data-expand-direction="left"]:before{right:16px;left:auto;transform-origin:right}.hotspot[data-expand-direction="left"] .hotspot-label{right:104px;left:auto;text-align:right}.detail-curtain{width:min(42vw,360px);padding:72px 28px}.detail-title{font-size:28px}}
