/* Public vitrine: the model is the page. Sales chrome returns with data-sales-authorized=true. */
.sales-status{display:none!important}
body[data-sales-authorized="true"] .sales-status{display:flex!important}
body:not([data-sales-authorized="true"]) button[data-experience="plans"],
body:not([data-sales-authorized="true"]) button[data-experience="amenities"],
body:not([data-sales-authorized="true"]) button[data-experience="floors"],
body:not([data-sales-authorized="true"]) button[data-experience="designs"],
body:not([data-sales-authorized="true"]) button[data-experience="moodboard"],
body:not([data-sales-authorized="true"]) .project-guide-link,
body[data-sales-authorized="true"] .public-door{display:none!important}
body[data-sales-authorized="false"] .project-guide-link,
body[data-sales-authorized="false"] button[data-experience="floors"],
body[data-sales-authorized="false"] button[data-experience="designs"],
body[data-sales-authorized="false"] button[data-experience="moodboard"],
body[data-sales-authorized="false"] .neighborhood-nav,
body[data-sales-authorized="false"] #scene-time{display:none!important}
body[data-experience]:not([data-experience="exterior"]) .vitrine-light{display:none!important}
.three-stage:has(#three-loading:not([hidden])) .vitrine-light{visibility:hidden;pointer-events:none}
.three-stage:has(#three-loading:not([hidden])) .vitrine-light{visibility:hidden;pointer-events:none}

html.list-closed .workspace{grid-template-columns:minmax(0,1fr)!important}
html.list-closed .workspace>.sidebar{display:none!important}
html.list-closed #open-residences{display:inline-flex!important;align-items:center}
html.list-closed .three-stage:not([data-fullscreen]){height:calc(100dvh - 148px);min-height:560px;max-height:none}
html.list-closed .experience-tabs{max-width:420px}

.vitrine-light{position:absolute;left:50%;top:14px;transform:translateX(-50%);bottom:auto;z-index:12;display:flex;align-items:center;gap:10px;width:max-content;max-width:calc(100% - 108px);padding:7px 12px 6px 8px;border:1px solid #ffffff14;border-radius:16px;background:#141210ee;box-shadow:0 14px 36px #00000066;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);pointer-events:auto;color:#f4efe4}
.vitrine-light .sd-play{display:grid;place-items:center;width:36px;height:36px;min-height:36px;padding:0;border:0;border-radius:10px;background:transparent;color:#f7f3ea;box-shadow:none;cursor:pointer}
.vitrine-light .sd-play svg{width:13px;height:15px;display:block}
.vitrine-light .sd-play path{fill:currentColor}
.vitrine-light .sd-ico-pause{display:none}
.vitrine-light.is-playing .sd-ico-play{display:none}
.vitrine-light.is-playing .sd-ico-pause{display:block}
.vitrine-light .sd-play:hover{background:#ffffff14}
.vitrine-light .sd-clock{font:500 18px/1 Arial,Helvetica,sans-serif;letter-spacing:.03em;color:#f6f1e6;font-variant-numeric:tabular-nums;min-width:4.7ch}
.vitrine-light .sd-arc{width:148px;height:48px;flex:0 0 auto;cursor:ew-resize;touch-action:none;border-radius:10px}
.vitrine-light .sd-svg{display:block;width:100%;height:100%;overflow:visible}
.vitrine-light .sd-horizon circle{fill:#ffffff55}
.vitrine-light .sd-rays line{stroke:#ffe7b0;stroke-width:1.15;stroke-linecap:round}
.vitrine-light .sd-core{fill:#fff6d8}
.vitrine-light .sd-moon{fill:#eef3f8;display:none}
.vitrine-light[data-phase=golden] .sd-core{fill:#ffd0a0}
.vitrine-light[data-phase=golden] .sd-rays line{stroke:#ffc27a}
.vitrine-light[data-phase=night] .sd-sun,.vitrine-light[data-phase=dusk] .sd-sun{display:none}
.vitrine-light[data-phase=night] .sd-moon,.vitrine-light[data-phase=dusk] .sd-moon{display:block}
.vitrine-light .sd-play:focus-visible,.vitrine-light .sd-arc:focus-visible{outline:2px solid #e2c27a;outline-offset:2px}

body[data-sales-authorized="false"] #map-count{display:none!important}
#three-loading.ld .ld-pct{font-size:13px!important;font-weight:500;letter-spacing:.16em;margin:10px 0 0!important;opacity:.8}
.vitrine-intro{position:absolute;left:16px;bottom:46px;z-index:4;max-width:min(420px,calc(100% - 32px));margin:0;padding:12px 14px;background:#f7f4ecf2;color:#234759;font:15px/1.45 Georgia,serif;pointer-events:none}
.vitrine-intro strong{display:block;font-weight:500;margin-bottom:2px}
.vitrine-intro.is-out{opacity:0;transition:opacity 1.2s ease}

#three-loading.ld{background:linear-gradient(180deg,rgba(14,39,30,.42),rgba(14,39,30,.72)),url("assets/landing/istanbul-engraving.webp") center/cover no-repeat!important}
.ld-steps{display:none!important}

@media(max-width:899px){
 .residences-dialog{height:min(70dvh,640px)!important;max-height:78dvh!important;margin:auto 0 0!important;width:100%!important;border-radius:18px 18px 0 0!important}
 .residences-dialog::backdrop{background:#152c2c33}
 html.list-closed .three-stage:not([data-fullscreen]){height:calc(100svh - 124px);min-height:min(480px,calc(100svh - 108px));max-height:none}
 .vitrine-intro{left:10px;right:10px;bottom:16px;max-width:none}
 .vitrine-light{top:10px;bottom:auto;max-width:calc(100% - 92px);padding:6px 10px 5px 6px;gap:8px}
 .vitrine-light .sd-arc{width:112px}
 .vitrine-light .sd-clock{font-size:16px}
 body.us-sheet-on .vitrine-light{display:none}
}

/* Exterior: the model is the page. Title, switch and the render strip stay, quietly. */
body[data-experience=exterior]{height:100dvh;overflow:hidden;display:flex;flex-direction:column}
body[data-experience=exterior] .topbar{flex:0 0 auto;height:54px;min-height:54px;padding:0 16px}
body[data-experience=exterior] .workspace{flex:1 1 auto;min-height:0;overflow:hidden;display:grid;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr)}
/* Inventory open: keep it a left column. A single track stacked the panel on top of the scene and clipped the filter menu. */
@media (min-width:900px){
 html:not(.list-closed) body.us-on[data-experience=exterior]>.workspace{grid-template-columns:minmax(300px,360px) minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
 html:not(.list-closed) body.us-on[data-experience=exterior]>.workspace>.sidebar{display:flex;flex-direction:column;min-height:0;height:100%;max-height:100%;overflow:hidden}
 html:not(.list-closed) body.us-on[data-experience=exterior]>.workspace>.explorer{min-width:0;min-height:0;height:100%;overflow:hidden}
}
body[data-experience=exterior] .explorer{display:flex;flex-direction:column;position:relative;min-height:0;height:auto;padding:6px 14px 16px;overflow:hidden;box-sizing:border-box}
body[data-experience=exterior] .scene-top{flex:0 0 auto;margin:0 0 4px;align-items:center;gap:12px}
body[data-experience=exterior] .scene-top h2{font-size:22px;line-height:1;margin:0}
body[data-experience=exterior] #open-residences{min-height:30px;padding:3px 11px;font-size:12px}
body[data-experience=exterior] .experience-tabs:has(+ .xh-menu:not([hidden])){display:none!important}
body[data-experience=exterior] .xh-menu{flex:0 0 auto;margin:0 0 4px;max-width:none}
body[data-experience=exterior] .xh-sub{padding:0;border-radius:0;background:transparent}
body[data-experience=exterior] .xh-sub button{min-height:30px;padding:2px 0 6px;border-radius:0;font-size:12.5px}
body[data-experience=exterior] #immersive-section{flex:1 1 auto;display:flex;flex-direction:column;min-height:0;margin:0;border:0;border-radius:0;background:transparent;overflow:hidden}
body[data-experience=exterior] .three-stage:not([data-fullscreen]),
html.list-closed body[data-experience=exterior] .three-stage:not([data-fullscreen]){flex:1 1 auto!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;border-radius:16px}
body[data-experience=exterior]:not(.us-on) :is(.availability-legend,#selected-residence){display:none}
body[data-experience=exterior] :is(.model-disclosure,.source-disclosure){position:absolute;left:22px;bottom:118px;z-index:4;margin:0;max-width:46%;font-size:8px;line-height:1.2;color:#f4f1e8cc;text-shadow:0 1px 2px #000a}
body[data-experience=exterior] #exterior-views{position:absolute;z-index:5;left:14px;right:14px;bottom:18px;margin:0;padding:6px 10px 5px;border-radius:12px;background:#fbf9f3eb;backdrop-filter:blur(10px);box-shadow:0 8px 24px #152e2924}
body[data-experience=exterior] #exterior-views .view-heading{gap:6px 12px;min-height:0}
body[data-experience=exterior] #exterior-views .eyebrow{font-size:9px;letter-spacing:.14em}
body[data-experience=exterior] #exterior-views .ev-link{min-height:0;padding:0;font-size:12px}
body[data-experience=exterior] #exterior-views .view-counter{font-size:11px;color:#8a98a2}
body[data-experience=exterior] #exterior-views .view-thumbnails{gap:8px;margin-top:4px;padding-bottom:2px}
body[data-experience=exterior] #exterior-views .view-thumbnails>.view-thumb,
body[data-experience=exterior] #exterior-views .view-thumbnails>.interior-link{flex-basis:120px;height:58px;min-height:0;border-radius:8px}
body[data-experience=exterior] #exterior-views .view-thumb img,
body[data-experience=exterior] #exterior-views .interior-link img{height:58px;object-fit:cover}
body[data-experience=exterior] #exterior-views .view-thumb span,
body[data-experience=exterior] #exterior-views .interior-link span{font-size:10.5px}
body[data-experience=exterior] .explorer-footer{position:absolute;z-index:6;left:18px;bottom:1px;margin:0;padding:0;border:0;font-size:8px;line-height:1;letter-spacing:.06em;color:#8a98a2;background:transparent}
body[data-experience=exterior] .privacy-footer{position:absolute;z-index:6;right:16px;bottom:0;margin:0;padding:0;gap:8px;font-size:8px;line-height:1;background:transparent}
body[data-experience=exterior] .privacy-footer button{min-height:0;padding:0;font-size:8px;text-underline-offset:2px}
@media(max-width:899px){
 body[data-experience=exterior]{height:auto;min-height:100dvh;overflow:visible}
 body[data-experience=exterior] .workspace{display:block;height:auto;overflow:visible;grid-template-rows:none}
 body[data-experience=exterior] .explorer{height:auto;overflow:visible}
 body[data-experience=exterior] .three-stage:not([data-fullscreen]),
 html.list-closed body[data-experience=exterior] .three-stage:not([data-fullscreen]){flex:none!important;height:62dvh!important;min-height:320px!important}
 body[data-experience=exterior] #exterior-views{position:static;margin-top:8px}
 body[data-experience=exterior] .explorer-footer,body[data-experience=exterior] .privacy-footer{position:static;padding:6px 0}
 body[data-experience=exterior] :is(.model-disclosure,.source-disclosure){position:static;color:#8a98a2;text-shadow:none}
}
