/* THE NULL · PHASE 05: room-aware Watcher encounters */
#nullWorld .null-watcher{
  will-change:opacity,transform,filter;
  transform-origin:center bottom;
}
#nullWorld .null-watcher-room-threshold{--watcher-glow:#c9a17b}
#nullWorld .null-watcher-room-mall{--watcher-glow:#d69a59}
#nullWorld .null-watcher-room-security{--watcher-glow:#77c7c0}
#nullWorld .null-watcher-room-service{--watcher-glow:#df6857}
#nullWorld .null-watcher-room-mirror{--watcher-glow:#9cc8dc}
#nullWorld .null-watcher-room-archive{--watcher-glow:#c58a9b}
#nullWorld .null-watcher-room-chamber{--watcher-glow:#e0a56d}
#nullWorld .null-watcher-room-threshold,
#nullWorld .null-watcher-room-mall,
#nullWorld .null-watcher-room-security,
#nullWorld .null-watcher-room-service,
#nullWorld .null-watcher-room-mirror,
#nullWorld .null-watcher-room-archive,
#nullWorld .null-watcher-room-chamber{
  filter:drop-shadow(0 0 12px var(--watcher-glow,#d45b4b));
}
#nullWorld .null-watcher b{
  max-width:180px;
  padding:5px 8px;
  border:1px solid color-mix(in srgb,var(--watcher-glow,#d45b4b) 48%,transparent);
  border-radius:3px;
  background:linear-gradient(90deg,#08090de8,#171014e8,#08090de8);
  box-shadow:0 0 18px color-mix(in srgb,var(--watcher-glow,#d45b4b) 20%,transparent);
  animation:nullWatcherTextFlicker 5.2s steps(1,end) infinite;
}
#nullWorld .null-scene.null-effect-watcher .null-watcher{
  animation:nullWatcherArrival 1.9s cubic-bezier(.16,.8,.24,1) both;
}
#nullWorld .null-scene.null-effect-watcher .null-watcher b{
  animation:nullWatcherMessage 1.9s ease-out both;
}
#nullWorld .null-watcher-stage-1{--watcher-presence:.45}
#nullWorld .null-watcher-stage-2{--watcher-presence:.6}
#nullWorld .null-watcher-stage-3{--watcher-presence:.72}
#nullWorld .null-watcher-stage-4{--watcher-presence:.82}
#nullWorld .null-watcher-stage-5{--watcher-presence:.9}
#nullWorld .null-watcher-stage-6,
#nullWorld .null-watcher-stage-7{--watcher-presence:1}
@keyframes nullWatcherArrival{
  0%{opacity:0;filter:blur(9px) brightness(2);transform:translateY(10px) scale(.88)}
  38%{opacity:var(--watcher-presence,.7);filter:blur(1px) brightness(1.7);transform:translateY(-2px) scale(1.035)}
  62%{opacity:.2;filter:blur(5px) brightness(.7);transform:translateY(0) scale(.99)}
  100%{opacity:var(--watcher-presence,.7);filter:blur(0) brightness(1);transform:translateY(0) scale(1)}
}
@keyframes nullWatcherMessage{
  0%,28%{opacity:0;letter-spacing:.5em;filter:blur(4px)}
  52%{opacity:1;letter-spacing:.22em;filter:blur(0)}
  64%{opacity:.25}
  78%,100%{opacity:1}
}
@keyframes nullWatcherTextFlicker{
  0%,91%,94%,100%{opacity:1}
  92%{opacity:.25}
  93%{opacity:.8}
}
@media(max-width:760px){
  #nullWorld .null-watcher b{max-width:125px;padding:4px 5px;font-size:7px;letter-spacing:.08em}
}
@media(prefers-reduced-motion:reduce){
  #nullWorld .null-watcher b,
  #nullWorld .null-scene.null-effect-watcher .null-watcher,
  #nullWorld .null-scene.null-effect-watcher .null-watcher b{animation:none}
}
