/* Room artwork stays in its own color space. Only actual light/material passes change. */
:root{--room-filter:brightness(1);--room-color:#b16aff;--room-glow:#994dff}
body[data-palette=blue]{--room-color:#62bdff;--room-glow:#1684ff;--halo:#1684ff;--bright:#c2e9ff;--theme-base:#061121;--panel:#112237;--fg:#f0f9ff;--ice:#b4e4ff;--edge:#3b7aa0;--accent:#62bdff;--on:#64ff88}
body[data-palette=red]{--room-color:#ff6677;--room-glow:#ed2345;--room-filter:brightness(1)}
body[data-palette=green]{--room-color:#53e9a0;--room-glow:#16b96a;--room-filter:brightness(1)}
body[data-palette=lime]{--room-color:#b2f96a;--room-glow:#83d52d;--room-filter:brightness(1)}
.stage{height:100dvh;min-height:0!important;width:100%;touch-action:none;overscroll-behavior:none;isolation:isolate}
.stage>.panorama{touch-action:none}.scene{filter:none!important;background-color:#0a0810}
.stage[data-light=dark] .scene{filter:brightness(.42)!important}
.stage[data-realism=true] .scene{filter:none!important}
.stage[data-realism=true] :is(.room-light,.blackout-room,.uv-extras,.drip-wall-mark,.room-bobble,.studio-speaker,.sod-neon-sign,.ring-light-control,.university-crest,.hotspot){display:none!important}
.stage .university-crest,.stage .studio-window-screen{display:none!important}
.stage .hotspot{border:0!important;background:none!important;box-shadow:none!important;color:transparent!important}
.stage .hotspot>*{visibility:hidden}.stage .hotspot:focus-visible{outline:2px solid var(--room-color)}
.stage :is(.sod-neon-sign,.room-bobble,.studio-speaker){display:none!important}
.stage[data-room=entrance] .wall-mural{z-index:0}
.crt-scene[hidden]{display:none!important}.crt video{width:100%;height:100%;object-fit:contain;background:#000}
.jumbo-aperture{background:#000;overflow:hidden}.jumbo-aperture canvas{width:100%;height:100%;object-fit:contain;display:block}
.screen-mirror{position:absolute;padding:0;border:0;background:#030306;z-index:2;overflow:hidden;cursor:pointer;box-shadow:0 0 14px #80bfff15}
.screen-mirror canvas{width:100%;height:100%;display:block;object-fit:contain}.screen-mirror:focus-visible{outline:2px solid white}
.room-exit,.room-door{position:absolute;z-index:20;border:3px solid #242a28;background:#092019;color:#c7ffe0;border-radius:2px;box-shadow:2px 3px 4px #000b,inset 0 0 9px #62ff9820;text-shadow:0 0 6px #61ff9b;font:800 11px/1.2 Arial;letter-spacing:1.2px;min-width:44px;min-height:32px;cursor:pointer}
.room-exit{left:max(18px,env(safe-area-inset-left));top:max(18px,env(safe-area-inset-top));padding:8px 10px}
.room-door{top:57%;width:38px;height:70px;font-size:24px;color:#e1d4eb;background:linear-gradient(90deg,#1d1820,#39303d);border-color:#17131a;text-shadow:none;letter-spacing:0;box-shadow:2px 4px 7px #0008}.room-door.prev{left:0;border-left:0}.room-door.next{right:0;border-right:0}
.room-door small{display:block;font-size:7px;letter-spacing:1px;color:#aaa0b0}.room-door:hover{color:white;box-shadow:0 0 12px var(--room-glow)}
.stage[data-realism=true] .physical-switch{left:80%;top:38%;width:26px;height:42px}
.profile-portrait{width:160px!important;height:160px!important;border-radius:50%;border-color:var(--room-color);box-shadow:0 0 32px color-mix(in srgb,var(--room-glow),transparent 65%)}
.profile-portrait img{width:100%;height:100%;max-width:100%;transform:none;object-fit:cover}
.hub-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:24px 0}
.hub-actions button,.join-cta{border:1px solid color-mix(in srgb,var(--room-color),transparent 40%);border-radius:999px;background:linear-gradient(135deg,#22122f,#101721);padding:13px 23px;color:#f8f1ff;font:600 14px/1.4 Arial;box-shadow:0 0 20px color-mix(in srgb,var(--room-glow),transparent 85%);cursor:pointer;transition:box-shadow .25s,transform .25s}
.hub-actions button:hover,.join-cta:hover{box-shadow:0 0 25px color-mix(in srgb,var(--room-glow),transparent 55%);transform:translateY(-2px)}
.hub-actions button[aria-pressed=true]{color:#ffb7df;border-color:#ff8ccc;box-shadow:0 0 25px #ff5fb633}
.hub-share-status{min-height:20px;text-align:center;color:var(--room-color);font-size:12px}.join-cta{display:inline-flex!important;gap:8px;align-items:center;text-decoration:none}
.stage:after{pointer-events:none}.stage[data-realism=true]:after{opacity:.12}
body.room-entered .app-install{display:none!important}
@media(max-width:900px){body.room-entered{height:100dvh;overflow:hidden;overscroll-behavior:none}body.room-entered .creator-hub,body.room-entered>footer,body.room-entered>nav{display:none!important}.stage{position:relative}.stage header,.stage footer,.stage .room-tools{display:none!important}.room-exit{font-size:9px;min-height:30px;padding:6px 8px}.room-door{min-width:30px;width:30px;height:60px}.physical-switch{min-width:28px;min-height:40px}.hub-shade{padding-bottom:max(40px,env(safe-area-inset-bottom))!important}}
@media(prefers-reduced-motion:reduce){.scene,.hub-actions button,.join-cta{transition:none!important}}

.stage .wall-mural{display:none!important}
.scene-crossfade{position:absolute;inset:0;z-index:-1;background-size:cover;background-repeat:no-repeat;pointer-events:none}
.room-door{opacity:0;pointer-events:none}.room-door:focus-visible{opacity:1;pointer-events:auto}
.stage[data-realism=true] .physical-switch{left:87%;top:30%}
.stage[data-room=outside] .physical-switch{left:8%;top:70%}
.stage[data-light=dark] .drip-wall-mark,.stage[data-light=dark] .uv-extras{transition:opacity 1.8s ease,visibility 1.8s ease}
@media(max-width:680px) and (orientation:portrait){.stage[data-room=outside] .physical-switch{left:86%;top:61.5%;width:20px;height:30px;min-width:20px;min-height:30px}.drip-wall-mark{--mark-x:14%;--mark-y:18%;--mark-size:80px}}
.entry{z-index:100}.entry.out{animation:roomReveal 1.6s cubic-bezier(.25,.1,.2,1) both!important;background:#eee9f4!important}.entry.out .entry-mark{animation:logoDissolve 1.25s ease both!important}.entry.out:before{display:none!important}
@keyframes logoDissolve{0%{filter:blur(0) brightness(1);opacity:1;transform:scale(1)}45%{filter:blur(8px) brightness(2);opacity:.8;transform:scale(1.03)}100%{filter:blur(22px) brightness(3);opacity:0;transform:scale(1.08)}}
@keyframes roomReveal{0%{opacity:1}22%{opacity:.93}55%{opacity:.64}100%{opacity:0}}
@media(max-width:680px) and (orientation:portrait){.stage[data-room=entrance] .compact-speaker{left:17%;top:59%;width:10%;height:13%}.stage[data-room=entrance] .cob-stream-desk{left:76%;top:66%;width:23%}.stage[data-room=entrance] .real-kick-tag{left:76%;top:7%;width:20%}.stage[data-room=entrance] .physical-switch{left:73%;top:62%}.stage[data-room=entrance] .arena-roof{height:350px}.entry{display:grid;place-items:center;background:#100719 radial-gradient(ellipse at center,#39204e,#0c0712 70%)}.entry button{position:static;transform:none;inset:auto}}
@media(prefers-reduced-motion:reduce){.entry.out,.entry.out .entry-mark{animation:none!important;opacity:0}.entry.out{visibility:hidden}}

.crest-hit{position:absolute;z-index:3;background:transparent}.crest-hit:focus-visible{outline:2px solid white}
.room-door{opacity:.82;pointer-events:auto;width:32px;min-width:32px;height:58px;border:1px solid #706471;background:linear-gradient(110deg,#1a151d,#443a48 48%,#201b25);border-radius:2px;box-shadow:inset 1px 0 #b6a2bd33,2px 4px 6px #0009;color:#ddd1e4;font-size:21px}.room-door small{font-size:6px;letter-spacing:.5px}.room-door:before,.room-door:after{content:'';position:absolute;left:3px;width:2px;height:2px;border-radius:50%;background:#b6a9bf;box-shadow:22px 0 #b6a9bf}.room-door:before{top:3px}.room-door:after{bottom:3px}.room-door:hover,.room-door:focus-visible{opacity:1;color:white}
.stage[data-room=lounge] .screen-mirror:after{content:'';position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(transparent 0 2px,#0003 3px 4px);box-shadow:inset 0 0 12px #0009}
