#panoCanvas{transition:opacity 1.1s ease;position:absolute;inset:0;width:100%;height:100%;display:block;z-index:1;cursor:grab;touch-action:none;outline:none}#panoCanvas:active{cursor:grabbing}#panoCanvas[hidden],#panoSpots[hidden]{display:none}
#panoSpots{position:absolute;inset:0;z-index:2;pointer-events:none}
/* Live view out of the windows (geo tours): under the canvas, which is transparent outside the building. The sky
   gradient stands in until the map draws, and when there is no Maps key. */
#panoMap{position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(#9cc2df,#dfe9ef 62%,#c9cdc8 62%)}#panoMap[hidden]{display:none}
#panoMap gmp-map-3d{position:absolute;inset:0;width:100%;height:100%}
#panoSpots button{position:absolute;transform:translate(-50%,-50%);pointer-events:auto;border:0;background:none;padding:0;cursor:pointer;display:grid;justify-items:center;gap:6px}
#panoSpots button span{width:46px;height:46px;border-radius:50%;border:2px solid #fffffff2;background:#ffffff40;box-shadow:0 2px 14px #0004;transform:perspective(220px) rotateX(58deg);transition:background .2s,transform .2s}
#panoSpots button em{font:500 11px/1.2 system-ui,sans-serif;font-style:normal;color:#fff;background:#19384bcc;padding:4px 9px;border-radius:12px;opacity:0;transition:opacity .2s}
#panoSpots button:hover span,#panoSpots button:focus-visible span{background:#ffffffb3;transform:perspective(220px) rotateX(50deg) scale(1.1)}#panoSpots button:hover em,#panoSpots button:focus-visible em{opacity:1}
#panoSpots button:focus-visible{outline:none}#panoSpots button:focus-visible span{outline:3px solid #ac895e}
@media(hover:none){#panoSpots button em{opacity:1}}
body[data-interior=true] #studioTag,body[data-interior=true] #hoverLabel{display:none}
#unitTags{position:absolute;inset:0;pointer-events:none;z-index:1}
#orbitStage{position:absolute;overflow:visible}#orbitFrame,.orbitFrame{position:absolute;inset:0;width:100%;height:100%;display:block;transition:opacity .14s linear;user-select:none;-webkit-user-drag:none}#orbitStage #orbitCanvas{position:absolute;inset:0;width:100%;height:100%;cursor:grab;touch-action:none;outline:none}#orbitStage #orbitCanvas:active{cursor:grabbing}#building{overflow:hidden}#orbitBack{position:absolute;left:-32px;top:-32px;width:calc(100% + 64px);height:calc(100% + 64px);filter:blur(14px) saturate(.9);touch-action:none;cursor:grab}#building[data-back=true] .orbitFrame{-webkit-mask-image:linear-gradient(transparent,#000 7%,#000 93%,transparent);mask-image:linear-gradient(transparent,#000 7%,#000 93%,transparent)}#orbitBack[hidden]{display:none}#floorUnits{display:none!important}
#studioChoice{display:none!important}
/* v029 descent (dive-v029.js): the frame layer covers the scene until the camera lands on orbit frame 0.
   Up in the air only the floor picker and the zoom buttons show, so a floor can be chosen straight from above. */
#diveFrame{position:absolute;inset:0;width:100%;height:100%;z-index:30;opacity:1;transition:opacity .6s ease}
body[data-dive=landed] #diveFrame{opacity:0;pointer-events:none}
body[data-dive=flying] header,body[data-dive=flying] .toolbar>:not(#orbitTools),body[data-dive=flying] .dock,body[data-dive=flying] #studioChoice{opacity:0;pointer-events:none}
body[data-dive=flying] #floorNav,body[data-dive=flying] .toolbar{z-index:31}
header,#floorNav,.toolbar,.dock,#studioChoice{transition:opacity .5s ease}
/* Phones on the homepage: one finger turns or flies, a vertical swipe still scrolls the page (two fingers zoom in JS). */
#diveFrame,body.home-embed #orbitStage #orbitCanvas{touch-action:pan-y}
/* Floor card beside the hovered level (walkthrough-v019.js showLabel), after the reference reel. */
#hoverLabel{display:grid;gap:3px;min-width:170px;padding:12px 16px;border-radius:12px;background:#0f2433e6;color:#fff;box-shadow:0 10px 30px #0004;backdrop-filter:blur(6px);transition:left .18s ease,top .18s ease}
#hoverLabel strong{font-size:15px;font-weight:600;letter-spacing:.01em}#hoverLabel span{font-size:13px;opacity:.9}#hoverLabel small{font-size:11px;opacity:.65;margin-top:2px}
#hoverLabel[hidden]{display:none}

/* v032: a level lights up like its rooms switching on: warm light screened over the windows, no outline */
#orbitHighlight{mix-blend-mode:screen;pointer-events:none;transition:opacity .45s ease-out}

/* Google Maps Photorealistic 3D Viewport (CF2: explicit 100% dimensions) */
#map3dContainer{position:absolute;inset:0;width:100%;height:100%;z-index:2;background:#dfe5e8}
#map3dContainer gmp-map-3d{display:block;width:100%;height:100%}
body[data-map3d=true] #orbitStage,body[data-map3d=true] #unitTags{opacity:0;pointer-events:none}
body[data-interior=true] #map3dContainer{opacity:0;pointer-events:none}
#toggleMap3D[aria-pressed=true]{background:#19384b;color:#fff;border-color:#19384b}

/* Motion polish: strong ease-out, press feedback, faster exits, no sticky hover on touch. */
:root{--mz-ease:cubic-bezier(.23,1,.32,1)}
.toolbar button,.steps button,#roomNav button,#mapRoomNav button,#floorNav button,#studioChoice,.dialogHead button{transition:transform .12s var(--mz-ease)}
.toolbar button:active,.steps button:active,#roomNav button:active,#mapRoomNav button:active,#floorNav button:active,#studioChoice:active,.dialogHead button:active{transform:scale(.97)}

#panoSpots button:active{transform:translate(-50%,-50%) scale(.97)}
#panoSpots button span{transition:background .15s var(--mz-ease),transform .2s var(--mz-ease)}
#panoSpots button em{transition:opacity .125s var(--mz-ease)}
#hoverLabel{transition:left .15s var(--mz-ease),top .15s var(--mz-ease)}
header,#floorNav,.toolbar,.dock,#studioChoice{transition:opacity .35s var(--mz-ease)}
#diveFrame{transition:opacity .5s var(--mz-ease)}
#loading span{animation-duration:.6s}
@media(hover:none){
#panoSpots button:hover:not(:focus-visible) span{background:#ffffff40;transform:perspective(220px) rotateX(58deg)}
.floorZone:hover{fill:transparent;stroke:transparent}
}
@media(prefers-reduced-motion:reduce){*::after{transition:none!important;animation:none!important}}
/* Phones (v2): fewer panels on screen, no blur over the live 3D, short ease-out entrances. */
@keyframes mz-in{from{opacity:0;transform:translateY(8px)}}
@keyframes mz-sheet{from{opacity:0;transform:translateY(24px)}}
#unitCard:not([hidden]),#floorUnits:not([hidden]),#studioChoice:not([hidden]),#resetInteriorLook:not([hidden]),#roomNav:not([hidden]){animation:mz-in .24s var(--mz-ease) both}
.dock{transition:opacity .2s var(--mz-ease)}
@media(pointer:coarse){
 button,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
 /* Pinch zooms on touch, the +/- buttons only take room. */
 #orbitIn,#orbitOut{display:none}
}
@media(max-width:700px){
 /* Blurring what is behind a panel re-renders on every frame of the turning building or panorama; the panels are
    already ~90% opaque, so the blur showed almost nothing and cost frames on phones. */
 .brand,#floorNav,#hoverLabel,.toolbar button,.context,#roomNav,#floorUnits,#unitCard{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
 .brand,.toolbar button,.context,#roomNav{background-color:rgba(255,255,255,.94)}
 /* Inside an apartment the building controls do nothing: keep only "reset look". */
 body[data-interior=true] #toggleMap3D,body[data-interior=true] #nearbyButton,body[data-interior=true] #orbitIn,body[data-interior=true] #orbitOut,body[data-interior=true] #orbitReset{display:none}
 body[data-interior=true] #resetInteriorLook{font-size:11px;padding:8px 12px}
 /* Rooms: one swipeable row instead of a two-row block. */
 #roomNav,body[data-phase=tour] #roomNav{flex-wrap:nowrap;justify-content:flex-start;justify-self:stretch;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;padding:5px;max-width:100%}
 #roomNav::-webkit-scrollbar{display:none}
 #roomNav button{flex:none;scroll-snap-align:center;padding:9px 13px}
 body[data-interior=true] .context{padding:10px 14px}
 body[data-interior=true] .context .eyebrow{display:none}
 body[data-interior=true] .context h1{font-size:18px}
 body[data-interior=true] #hint{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 /* Floor list: tighter column. */
 #floorNav button{width:30px;height:30px}
 #floorNav{gap:2px}
 /* Apartment card: a bottom sheet over the dock instead of a tall box in the middle of the building. */
 #unitCard{left:12px;right:12px;width:auto;bottom:max(12px,env(safe-area-inset-bottom));top:auto;max-height:58svh;overflow-y:auto;overscroll-behavior:contain;padding:16px}
 #unitCard:not([hidden]){animation-name:mz-sheet}
 #unitCard h2{font-size:21px}
 #unitCard small{display:none}
 body:has(#unitCard:not([hidden])) .dock{opacity:0;pointer-events:none}
}
@media(prefers-reduced-motion:reduce){#unitCard,#floorUnits,#studioChoice,#resetInteriorLook,#roomNav{animation:none!important}.dock{transition:none}}
