.eyeroom-cast-opening[hidden] { display: none; }
.eyeroom-cast-opening {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  container-type: size;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(ellipse at center, #0a120fe8, #090c0b83 62%, transparent);
  animation: eyeroom-cast-opening-fade 2.4s ease-out both;
}
.eyeroom-cast-opening svg {
  width: clamp(44px, 14vw, 180px);
  width: clamp(34px, min(20cqi, 36cqb), 180px);
  height: auto;
  animation: eyeroom-cast-opening-forward 2.4s ease-in-out both;
}
.eyeroom-cast-eye-shape {
  transform-origin: 128px 80px;
  animation: eyeroom-cast-opening-blink 2.4s ease-in-out both;
}
@keyframes eyeroom-cast-opening-blink {
  0%, 24%, 51%, 100% { transform: scaleY(1); }
  38% { transform: scaleY(.03); }
}
@keyframes eyeroom-cast-opening-fade {
  0%, 75% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes eyeroom-cast-opening-forward {
  0%, 73% { transform: scale(1); }
  87% { transform: scale(1.15); }
  100% { transform: scale(2.8); }
}
@media (prefers-reduced-motion: reduce) {
  .eyeroom-cast-opening, .eyeroom-cast-opening svg,
  .eyeroom-cast-eye-shape { animation: none; }
}
