/* Innsegall · eyeglass + sword shimmer · WWL through-motion */
.inn-glass-arrival {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background: rgba(11, 29, 46, 0.94);
  transform-origin: 50% 48%;
  opacity: 1;
  animation: innGlassThrough 1.18s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 420ms;
}

.inn-glass-arrival--done {
  opacity: 0;
  visibility: hidden;
  animation: none;
}

@keyframes innGlassThrough {
  0% {
    opacity: 1;
    transform: scale(0.88);
    filter: brightness(1);
  }
  18% {
    opacity: 1;
    transform: scale(0.92);
  }
  55% {
    opacity: 0.94;
    transform: scale(1.05);
  }
  100% {
    opacity: 0;
    transform: scale(1.18);
    filter: brightness(1.12);
    visibility: hidden;
  }
}

.inn-glass-arrival__glow {
  position: absolute;
  width: min(72vmin, 420px);
  height: min(72vmin, 420px);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(244, 201, 93, 0.32) 0%,
    rgba(168, 216, 255, 0.14) 42%,
    rgba(11, 29, 46, 0) 70%
  );
  opacity: 0.75;
  transform: scale(0.9);
  animation: innGlassGlow 1.6s ease-out forwards;
}

@keyframes innGlassGlow {
  0%,
  26% {
    opacity: 0.35;
    transform: scale(0.85);
  }
  60% {
    opacity: 0.95;
    transform: scale(1.06);
  }
  100% {
    opacity: 0;
    transform: scale(1.22);
  }
}

.inn-glass-arrival__player {
  position: relative;
  z-index: 1;
  width: min(78vmin, 460px);
  height: min(78vmin, 460px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.inn-glass-arrival__lottie,
.inn-glass-arrival__svg {
  width: 100%;
  height: 100%;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .inn-glass-arrival {
    animation-duration: 0.45s;
    animation-delay: 0ms;
  }
  .inn-glass-arrival__glow {
    animation: none;
  }
}
