html{scrollbar-gutter:stable}
/* Reparenting the sticky renderer must never become a document scroll anchor. */
.showroom-track{overflow-anchor:none}
html.detail-position-lock,html.detail-position-lock body{overflow-anchor:none!important;scroll-behavior:auto!important}
html.detail-open,html.detail-open body{overflow:hidden!important}
.showroom.is-overlay.is-detail{position:fixed;inset:0;top:0;z-index:70;width:100%;height:100dvh;min-height:0;max-height:none;overflow:hidden;padding:0;background:radial-gradient(ellipse at 28% 46%,hsl(var(--theme-h,32) 32% 30% / .25),transparent 62%),var(--bg,#0b0d11);isolation:isolate}
.showroom.is-overlay .hero-bottom,.showroom.is-overlay .hero-intro,.showroom.is-overlay .brand-selector,.showroom.is-overlay .model-bar,.showroom.is-overlay .scene-story{display:none!important}
.showroom.is-overlay.is-detail .stage-area{position:absolute;left:0;right:50%;top:100px;bottom:90px;min-height:0;height:auto;transform:none;transition:none;overflow:hidden}
.showroom.is-overlay.is-detail .product-detail{position:absolute;top:90px;bottom:35px;left:53%;right:6%;margin:0;max-height:none;overflow-y:auto;overscroll-behavior:contain;padding:0 12px 24px 0;transform:none;transition:none;scrollbar-width:thin;scrollbar-color:#ffffff30 transparent}
.showroom.is-overlay .product-detail h2{font-size:clamp(32px,3.7vw,58px);margin:18px 0 20px}
.showroom.is-overlay .detail-back{position:absolute;top:30px;left:5%;font-size:12px;min-height:40px}
.showroom.is-overlay .detail-controls{left:25%;top:auto;bottom:32px}
.showroom.is-overlay .stage-instruction{bottom:0}
.showroom.is-overlay .detail-back,.showroom.is-overlay .detail-controls{transition:none}
.detail-photo-flight{position:fixed;z-index:90;pointer-events:none;object-fit:contain;transform-origin:0 0;filter:drop-shadow(0 24px 30px #0006)}
.showroom:not(.is-detail) .stage-index{right:2%;top:48%}
.showroom:not(.is-detail) .stage-area{overflow:hidden}
.showroom:not(.is-detail) .stage-instruction{font-size:9px}
.carousel-neighbour-hint{color:var(--palette-muted,#aaa);font-size:9px}
@media(min-width:761px){.showroom:not(.is-detail) .stage-area{left:33%;right:0}.showroom:not(.is-detail) .model-bar{left:var(--bar-left,42%);right:6%}.hero-intro{z-index:4}.brand-selector{left:66%}}
@media(max-width:760px){
 .showroom.is-overlay.is-detail{overflow-y:auto;overscroll-behavior:contain}
 .showroom.is-overlay.is-detail .stage-area{position:relative;left:0;right:auto;top:auto;width:100%;height:380px;margin-top:65px;bottom:auto}
 .showroom.is-overlay.is-detail .product-detail{position:relative;left:auto;right:auto;top:auto;bottom:auto;margin:86px 7% 30px;padding:0;overflow:visible}
 .showroom.is-overlay .detail-controls{top:465px;bottom:auto;left:50%}
 .showroom.is-overlay .detail-back{top:16px;left:7%}
 .showroom.is-overlay .product-detail h2{font-size:40px}
 .showroom:not(.is-detail) .stage-area{top:350px;bottom:200px;min-height:320px}
}
@media(max-width:760px) and (max-height:750px){.showroom.is-overlay.is-detail .stage-area{height:310px}.showroom.is-overlay .detail-controls{top:395px}}
@media(prefers-reduced-motion:reduce){.detail-photo-flight{display:none}}

/* A single live WebGL canvas travels between the two layouts. */
.showroom.is-presenting{background:transparent!important}
.detail-stage-placeholder{visibility:hidden!important;pointer-events:none!important}
.detail-flight-layer{position:fixed;inset:0;z-index:90;pointer-events:none;overflow:hidden;contain:layout style}
.detail-flight-backdrop{position:fixed;inset:0;z-index:69;pointer-events:none;background:radial-gradient(ellipse at 28% 46%,hsl(var(--theme-h,32) 32% 30% / .25),transparent 62%),var(--bg,#0b0d11)}
.detail-stage-flight{pointer-events:none!important;will-change:transform,opacity;isolation:isolate}
.detail-stage-flight>#phone-stage{position:absolute;inset:0;pointer-events:none!important}
.detail-stage-flight>:not(#phone-stage):not(.stage-light){visibility:hidden!important;pointer-events:none!important}
.detail-stage-flight .stage-light{position:absolute;inset:0;width:100%;height:100%;opacity:.75}
@media(prefers-reduced-motion:reduce){.detail-stage-flight{will-change:auto}}
