@property --shadow-blur {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@property --shadow-x {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
html, body {
  margin: 0;
  overflow: hidden;
}

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #17141a;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  padding: clamp(8px, 4vw, 24px);
}

.line {
  margin: 0;
  color: #fff7e6;
  font-weight: 600;
  font-size: clamp(16px, 4.6vw, 22px);
  line-height: 1.4;
  font-family: inherit;
}

.hl {
  display: inline-block;
  color: #fff7e6;
  font-weight: 800;
  filter: drop-shadow(var(--shadow-x, 0px) 0 var(--shadow-blur) #2f6df6);
  animation: pop 1s cubic-bezier(0.2, 1.4, 0.4, 1) infinite, pop-glow 1s cubic-bezier(0.2, 1.4, 0.4, 1) infinite;
}

@keyframes pop {
  0% {
    transform: scale(1);
    --shadow-blur: 0px;
  }
  40% {
    transform: scale(1.06);
    --shadow-blur: 10px;
  }
  70% {
    transform: scale(1);
    --shadow-blur: 4px;
  }
  100% {
    transform: scale(1);
    --shadow-blur: 0px;
  }
}
@keyframes pop-glow {
  0% {
    --shadow-blur: 0px;
    --shadow-x: 0px;
  }
  12% {
    --shadow-blur: 11px;
    --shadow-x: -1px;
  }
  24% {
    --shadow-blur: 3px;
    --shadow-x: 1.5px;
  }
  36% {
    --shadow-blur: 8px;
    --shadow-x: -0.5px;
  }
  48% {
    --shadow-blur: 1px;
    --shadow-x: 1px;
  }
  60% {
    --shadow-blur: 6px;
    --shadow-x: -1.5px;
  }
  72% {
    --shadow-blur: 2px;
    --shadow-x: 0.5px;
  }
  84% {
    --shadow-blur: 4px;
    --shadow-x: -1px;
  }
  100% {
    --shadow-blur: 0px;
    --shadow-x: 0px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hl {
    animation: none;
    filter: drop-shadow(0 0 4px #2f6df6);
  }
}
