.room-ghost{position:absolute;left:54%;top:47%;width:8.5%;max-width:112px;min-width:35px;z-index:4;pointer-events:none;transform:translate(-50%,-50%);animation:ghost-roam 38s ease-in-out infinite;will-change:left,top;isolation:isolate}
.room-ghost-bob{position:relative;animation:ghost-bob 3.6s ease-in-out infinite;transform-origin:50% 75%}.room-ghost svg{display:block;width:100%;height:auto;overflow:visible;filter:drop-shadow(0 0 4px #e3ffdc99) drop-shadow(0 0 12px #c6ffe255)}
.room-ghost-glow{position:absolute;width:230%;height:160%;left:-65%;top:-20%;background:radial-gradient(ellipse,#d8ffe32e 0%,#c7fce017 35%,transparent 68%);border-radius:50%;mix-blend-mode:screen;animation:ghost-glow 4s ease-in-out infinite;pointer-events:none}
.room-ghost-face{animation:ghost-peek 13s ease-in-out infinite;transform-origin:60px 65px}.room-ghost-hand{transform-origin:92px 80px;animation:ghost-wave 8s ease-in-out infinite}
.room-ghost-controls{display:flex;align-items:center;gap:14px;padding:14px 0 0;margin:14px 0 0;border-top:1px solid #dfcfb7}.room-ghost-controls p{font-size:12px;line-height:1.7;color:#9b8264;margin:0;flex:1}.room-ghost-controls button{font-size:12px;white-space:nowrap;border-radius:12px;background:#e5ead9;border:1px solid #cdd7bf;color:#6d8264;padding:10px 13px}
#scene.halloween-lit .room-ghost svg{filter:drop-shadow(0 0 7px #edffe5cc) drop-shadow(0 0 21px #c8ffe488)}#scene.halloween-lit .room-ghost-glow{background:radial-gradient(ellipse,#d5ffe449 0%,#c7fce021 35%,transparent 68%)}
.appreciating #roomGhostControls{display:none!important}
@keyframes ghost-roam{0%,100%{left:54%;top:47%;opacity:.84}12%{left:67%;top:39%;opacity:.82}17%{left:67%;top:39%;opacity:.9}30%{left:82%;top:53%;opacity:.45}36%{left:81%;top:54%;opacity:.65}49%{left:64%;top:69%;opacity:.82}58%{left:43%;top:62%;opacity:.8}65%{left:35%;top:53%;opacity:.5}71%{left:35%;top:51%;opacity:.65}85%{left:45%;top:40%;opacity:.86}}
@keyframes ghost-bob{0%,100%{transform:translateY(3%) rotate(-5deg)}50%{transform:translateY(-7%) rotate(5deg)}}
@keyframes ghost-peek{0%,30%,55%,100%{transform:translateX(0)}36%,46%{transform:translateX(3px)}}
@keyframes ghost-wave{0%,65%,100%{transform:rotate(0)}72%,86%{transform:rotate(-14deg)}79%,93%{transform:rotate(9deg)}}
@keyframes ghost-glow{0%,100%{opacity:.6}50%{opacity:1}}
@media(prefers-reduced-motion:reduce){.room-ghost,.room-ghost-bob,.room-ghost-face,.room-ghost-hand,.room-ghost-glow{animation:none!important}.room-ghost{left:62%;top:48%;opacity:.85;will-change:auto}}
@media(max-width:550px){.room-ghost-controls{flex-wrap:wrap;gap:10px}.room-ghost-controls button{margin-left:auto}.room-ghost{width:9.5%}}
