.room-tour{background:#102b44;color:#f5f3eb;scroll-margin-top:0}
.room-tour-sticky{padding:24px 5%}.tour-intro{display:flex;justify-content:space-between;gap:20px;font-size:11px;letter-spacing:1px;padding-bottom:20px}
.tour-panel{border-top:1px solid #f5f3eb40;min-height:0}.tour-tab{width:100%;height:38px;display:flex;justify-content:space-between;align-items:center;text-align:left;background:transparent;border:0;color:inherit;font-family:MuseoModerno,Arial,sans-serif;font-size:13px;padding:0 10px;flex-shrink:0}
.tour-content{position:relative;overflow:hidden;height:75svh;min-height:0;background:#0b2033}.tour-frame{width:100%;height:100%;object-fit:contain;display:block}.tour-shade{position:absolute;inset:0;background:linear-gradient(0deg,#071724ed,transparent 65%);pointer-events:none}.tour-copy{position:absolute;left:6%;right:6%;bottom:8%;max-width:650px}.tour-copy h2{font-size:clamp(27px,3.7vw,52px);line-height:1.12;margin-bottom:14px}.tour-copy p{font-size:clamp(15px,1.5vw,20px);line-height:1.5;max-width:42ch}.tour-progress{position:absolute;bottom:0;height:3px;left:0;width:100%;background:#3fc776;transform:scaleX(var(--tour-progress,0));transform-origin:left}
.room-tour.is-enhanced{height:1000svh}.is-enhanced .room-tour-sticky{position:sticky;top:0;height:100svh;display:flex;flex-direction:column;padding-top:14px;padding-bottom:14px}.is-enhanced .tour-panels{display:flex;flex-direction:column;flex:1;min-height:0}.is-enhanced .tour-panel{display:flex;flex-direction:column;flex:0 0 38px;overflow:hidden;transition:flex-grow .35s ease}.is-enhanced .tour-panel.is-active{flex:1 0 38px}.is-enhanced .tour-content{flex:1;height:auto}.is-enhanced .tour-panel:not(.is-active) .tour-content{visibility:hidden}.is-enhanced .tour-tab[aria-expanded=true]{color:#3fc776}.is-enhanced .tour-copy{opacity:var(--copy-opacity,1);transform:translateY(var(--copy-offset,0px))}.tour-panel[data-scene=bathroom] .tour-frame{transform:scale(var(--bath-scale,1));transform-origin:center}
@media(min-width:900px){.tour-frame{object-position:30% center}.tour-copy{left:52%;right:5%;bottom:18%}.tour-shade{background:linear-gradient(90deg,transparent 15%,#07172422 40%,#071724e0 75%)}}
@media(max-height:550px){.is-enhanced .tour-tab{height:28px}.is-enhanced .tour-panel{flex-basis:28px}.is-enhanced .tour-panel.is-active{flex-basis:28px}.tour-intro{padding-bottom:8px}.tour-copy h2{font-size:24px}.tour-copy p{font-size:14px}}
@media(prefers-reduced-motion:reduce){.tour-panel,.tour-copy,.tour-frame{transition:none!important;transform:none!important}}

/* Edge-to-edge scenes with compact accordion rails. */
.room-tour-sticky{padding:0}
.is-enhanced .room-tour-sticky{padding:0;height:100svh}
.is-enhanced .tour-intro{position:absolute;top:18px;left:5%;right:5%;z-index:4;pointer-events:none;text-shadow:0 2px 8px #000}
.tour-frame{object-fit:cover;object-position:center}
.tour-copy{left:6%;right:6%;bottom:8%;max-width:620px;text-shadow:0 2px 18px #0008}
.tour-shade{background:linear-gradient(180deg,#07172466 0%,transparent 30%,#07172422 55%,#071724d9 100%)}
@media(min-width:701px){
 .is-enhanced .tour-panels{flex-direction:row}
 .is-enhanced .tour-panel{flex-direction:row;flex:0 0 44px;border-top:0;border-left:1px solid #f5f3eb40;transition:flex-grow .4s ease}
 .is-enhanced .tour-panel.is-active{flex:1 0 44px}
 .is-enhanced .tour-tab{width:44px;height:100%;writing-mode:vertical-rl;justify-content:center;gap:24px;padding:20px 0;font-size:13px;background:#102b44}
 .is-enhanced .tour-content{height:100%;min-width:0}
 .is-enhanced .tour-frame{position:absolute;inset:0;width:100%;height:100%}
 .is-enhanced .tour-intro{left:70px}
}
@media(max-width:700px){
 .is-enhanced .tour-intro{display:none}
 .is-enhanced .tour-panel{flex-basis:30px}
 .is-enhanced .tour-panel.is-active{flex-basis:30px}
 .is-enhanced .tour-tab{height:30px;font-size:11px;padding:0 14px}
 .tour-copy h2{font-size:clamp(26px,6vw,38px);margin-bottom:10px}
 .tour-copy p{font-size:15px;line-height:1.4}
 .is-enhanced .tour-frame{position:absolute;inset:0;width:100%;height:100%}
}

/* Shared heading accent across all six rooms and their navigation labels. */
#konfor .tour-copy h2,#konfor .tour-tab{color:#3FC776}
/* Draw decoded frames directly; preserve the original image as a loading/accessibility fallback. */
.tour-canvas{display:none}
.room-tour.is-enhanced .has-tour-canvas .tour-canvas{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
.room-tour.is-enhanced .has-tour-canvas img.tour-frame{opacity:0}

/* Preserve native portrait detail instead of enlarging a cropped strip. */
#konfor .tour-frame,#konfor.is-enhanced .has-tour-canvas .tour-canvas{object-fit:contain;object-position:center;background:#0b2033}
#konfor .tour-loading{position:absolute;z-index:6;top:64px;left:50%;transform:translateX(-50%);padding:10px 16px;border:1px solid #ffffff50;border-radius:22px;background:#102b44e8;color:#fff;font-size:13px;white-space:nowrap}
#konfor .tour-loading[hidden]{display:none}
@media(min-width:900px){#konfor .tour-frame,#konfor.is-enhanced .has-tour-canvas .tour-canvas{width:55%;object-position:center}#konfor .tour-copy{left:59%;right:4%;bottom:22%}#konfor .tour-copy h2{font-size:clamp(26px,3vw,42px)}#konfor .tour-shade{background:none}#konfor .tour-loading{left:28%}}
