
/* Fourth-floor room is one proportional scene in its own full-height floor. */
body.page-id-6818 #aev-floors .aev-fourth-scene-floor{height:var(--floor-height,100svh)!important;min-height:var(--floor-height,100svh)!important;background:#000!important}
body.page-id-6818 #aev-floors .aev-fourth-scene-floor>.aev-floor-content{height:100%;padding:0!important;max-width:none!important;overflow:hidden}
#aev-floor-four{position:relative;width:100%;height:100%;overflow:hidden;isolation:isolate}
#aev-floor-four .aev-four-stage{position:absolute;left:50%;top:50%;width:1636px;height:1024px;transform-origin:center;overflow:visible}
#aev-floor-four .aev-four-bg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
#aev-floor-four .aev-four-object{position:absolute;display:block;padding:0;margin:0;border:0;background:none;line-height:1;overflow:visible}
#aev-floor-four :is(button,a){cursor:pointer}
#aev-floor-four .aev-four-object img{position:absolute;left:0;top:0;width:100%;height:100%;max-width:none;pointer-events:none;transition:none}
#aev-floor-four .aev-four-object:not(button):not(a){pointer-events:none}
#aev-floor-four .hover{opacity:0}
#aev-floor-four :is(button,a):is(:hover,:focus-visible,.is-selected)>.hover{opacity:1}
#aev-floor-four :is(button,a):has(.hover):is(:hover,:focus-visible,.is-selected)>.normal{opacity:0}
#aev-floor-four :is(button,a):focus-visible{outline:3px solid #f9d565;outline-offset:5px}
#aev-floor-four .is-story-active .aev-story-door>.normal,#aev-floor-four .is-story-active .aev-four-characters>.normal{opacity:0}
#aev-floor-four .is-story-active .aev-story-door>.hover,#aev-floor-four .is-story-active .aev-four-characters>.hover{opacity:1}
#aev-floor-four .aev-story-hotspot{position:absolute;left:737px;top:416px;width:165px;height:263px;border:0;padding:0;background:transparent;z-index:2}
#aev-floor-four .aev-characters-motion{display:none;position:absolute;left:0;top:-13px;width:473px;height:304px;pointer-events:none}
#aev-floor-four .aev-four-characters.has-motion>img{opacity:0}
#aev-floor-four .aev-four-characters.has-motion>.hover{opacity:0}
#aev-floor-four .aev-four-characters.has-motion>.aev-characters-motion{display:block}
#aev-floor-four:has(.aev-partners:is(:hover,:focus-visible)) .aev-globe>.normal{opacity:0}
#aev-floor-four:has(.aev-partners:is(:hover,:focus-visible)) .aev-globe>.hover{opacity:1}
@media(prefers-reduced-motion:reduce){#aev-floor-four img{transition:none!important}}
.aev-cinema{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:24px;box-sizing:border-box;border:0;background:transparent;overflow:auto;color:#fff}
.aev-cinema[open]{display:grid;place-items:center}
.aev-cinema::backdrop{background:rgba(5,9,14,.87);backdrop-filter:blur(3px)}
.aev-tablet{position:relative;box-sizing:border-box;width:min(1100px,94vw,calc((100dvh - 130px)*1.7778 + 64px));padding:34px 30px 42px;border-radius:32px;background:linear-gradient(125deg,#b2b7bd 0%,#626a73 18%,#c2c7cd 42%,#78818b 68%,#b0b7bd 100%);border:2px solid #d1d5d9;box-shadow:inset 0 0 0 3px #626970,inset 0 0 12px #ffffff85,0 28px 90px #000c}
.aev-tablet video{display:block;width:100%;aspect-ratio:16/9;background:#000;object-fit:contain;border-radius:12px;box-shadow:0 0 0 3px #24292e}
.aev-tablet-camera{position:absolute;top:11px;left:calc(50% - 6px);width:12px;height:12px;border-radius:50%;background:radial-gradient(circle at 40% 35%,#597387 0 15%,#101a24 25% 48%,#353c43 50% 70%,#858d93 75%);box-shadow:0 1px 1px #ddd}
.aev-tablet-camera::after{content:'';position:absolute;width:3px;height:4px;border-radius:70% 30%;background:#dceeffb0;left:3px;top:2px}
.aev-tablet .aev-tablet-brand{position:absolute;bottom:7px;left:50%;transform:translateX(-50%);height:26px;width:auto}
.aev-cinema-close{position:absolute;right:8px;top:3px;border:0;background:transparent;color:#18222c;font:26px Arial;cursor:pointer;width:30px;height:28px;border-radius:50%}
.aev-cinema-close:focus-visible{outline:2px solid white}

/* Match the first floor's backdrop dimensions and shared narrow side vignette. */
#aev-floor-four{background:
 url('assets/floor4/background-oct12-display.webp') center center / var(--room-backdrop-width,auto) var(--room-backdrop-height,100%) no-repeat,
 #000!important;}

/* Corner foliage stays behind the shared edge vignette. */
#aev-floor-four::after{content:"";position:absolute;inset:0;z-index:100;pointer-events:none;background:var(--aev-scene-vignette) center center / calc(var(--room-backdrop-width,100%) + 4px) 100% no-repeat}
