.night-room{position:absolute;inset:0;z-index:-2;display:block;background-size:cover;background-position:50% 52%;opacity:0;pointer-events:none;transition:opacity 1.1s ease}
.after-hours-toggle{position:absolute;right:5.7%;bottom:4px;z-index:3;width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:50%;color:#eee8da;background:transparent;cursor:pointer;opacity:.8;transition:opacity .2s,background-color .2s;touch-action:manipulation}
.after-hours-toggle[hidden]{display:none}
.after-hours-toggle:hover{opacity:1;background:#f0dfb516}
.after-hours-toggle:focus-visible{outline:2px solid #d5cea8;outline-offset:2px;opacity:1}
.after-hours-toggle svg{width:21px;height:21px;grid-area:1/1;transition:opacity .3s,transform .3s}
.after-hours-toggle .night-sun{opacity:0;transform:rotate(-40deg) scale(.7)}
.after-hours-toggle[aria-busy="true"]{opacity:.4}
html[data-after-hours] .night-room{opacity:1}
html[data-after-hours] .night-moon{opacity:0;transform:rotate(25deg) scale(.7)}
html[data-after-hours] .night-sun{opacity:1;transform:none}
.reference-hero .room-plants{transition:opacity .7s ease}
/* Daylight plant patches dissolve with the daylight photograph. */
html[data-after-hours] .reference-hero .room-plants{opacity:0}
.rt-headlamp{position:absolute;top:7%;left:36%;width:28%;height:4%;background:#3c4650;border-radius:40%;pointer-events:none;opacity:0;transition:opacity .4s;z-index:2}
.rt-headlamp:before{content:'';position:absolute;left:38%;top:-25%;width:35%;height:150%;border-radius:35%;background:#fff6c6;border:1px solid #48505a;box-shadow:0 0 6px 2px #ffe8a680}
.rt-headlamp:after{content:'';position:absolute;left:58%;top:-150%;width:100px;height:40px;transform-origin:left center;transform:rotate(12deg);clip-path:polygon(0 40%,100% 0,100% 100%);background:linear-gradient(90deg,#fff1bc24,transparent);pointer-events:none}
html[data-after-hours] .rt-headlamp{opacity:1}
html[data-after-hours] .rt-wander-actor[data-adventure="astronaut"] .rt-headlamp{opacity:0}
@media(max-width:850px){.night-room{background-position:100% 50%}}
@media(prefers-reduced-motion:reduce){.night-room,.after-hours-toggle,.after-hours-toggle svg,.rt-headlamp,.reference-hero .room-plants{transition:none}}
