/* The haunted city is a temporary layer over the existing illustrated room. */
.city-haunting-layer { position:absolute;inset:0;z-index:4;pointer-events:none;overflow:hidden; }
.city-haunting-layer[hidden],.city-haunting-vignette[hidden],.city-haunting-blackout[hidden] { display:none!important; }
.city-haunting-outside { position:absolute;inset:0;will-change:transform; }
.city-haunting-filter { position:absolute; }
.city-haunting-outside canvas { position:absolute;max-width:none;image-rendering:pixelated; }
.city-haunting-reflection { position:absolute;inset:0;background:radial-gradient(ellipse at 52% 28%,#fc414325 7%,#88153445 70%),linear-gradient(165deg,transparent 36%,#e946342f 50%,transparent 67%);mix-blend-mode:hard-light; }
.city-haunting-floor-shadow { position:absolute;height:16px;border-radius:50%;background:#170d23;transform:translate(-50%,-50%); }
.city-haunting-vignette { position:absolute;inset:0;pointer-events:none;z-index:9;background:radial-gradient(ellipse at 50% 43%,transparent 8%,#16071840 54%,#110915e6 100%); }
.city-haunting-blackout { position:absolute;inset:0;pointer-events:none;z-index:20;background:#100b15;opacity:0; }
.city-haunting #sceneBackdrop { will-change:transform; }
.city-haunting #catTree,.city-haunting #petBowls,.city-haunting .room-hotspots,.city-haunting .room-ambience { opacity:var(--city-foreground-opacity,1)!important; }
.city-haunting .cat-readout { visibility:hidden; }
.city-haunting .mischief-actor .rig-part,.city-haunting .mischief-actor .rig-head-group,.city-haunting .mischief-actor .rig-eyes-group { transition:none!important; }
.city-haunting .mischief-actor .cat-body,.city-haunting .mischief-actor .sprite-stack { min-width:0;min-height:0;width:100%;height:100%;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr); }
.city-haunting-eyes { display:none;position:absolute;left:50%;bottom:0;transform:translateX(-50%);z-index:5;pointer-events:none;opacity:var(--city-eye-strength,0); }
.city-haunting .mischief-actor:not(.motion-ready) .city-haunting-eyes { display:block; }
.city-haunting-eyes i { position:absolute;top:39.6%;left:31.3%;width:12.4%;height:12.6%;border-radius:49%;background:radial-gradient(ellipse at 51% 46%,#20101e 0 33%,#fe6d68 38%,#ef2929 64%,#ffbd9a 84%);box-shadow:0 0 7px 2px #ff293587; }
.city-haunting-eyes i+i { left:55.8%; }
.city-haunting-eyes i:after { content:'';position:absolute;width:19%;height:19%;left:51%;top:15%;background:#fff3d8; }
.city-haunting .mischief-actor .accessory-layer { opacity:0!important; }
@media(prefers-reduced-motion:reduce) {
  .city-haunting #sceneBackdrop,.city-haunting-outside { will-change:auto; }
  .city-haunting .mischief-actor .cat-body { animation:none!important; }
}
