html, body {
  margin: 0;
  overflow: hidden;
}

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

.line {
  max-width: 92%;
  margin: 0;
  color: #17141a;
  font-weight: 600;
  font-size: clamp(16px, 4.6vw, 22px);
  line-height: 1.6;
  font-family: inherit;
  text-align: center;
}

.hl {
  position: relative;
  font-weight: 700;
}

.hl__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 3px;
  background-image: repeating-linear-gradient(90deg, #17141a 0 3px, transparent 3px 8px);
  transform: scaleX(0);
  transform-origin: left center;
  animation: grow 700ms ease-out infinite, grow-thick 700ms ease-out infinite;
}

@keyframes grow {
  0% {
    transform: scaleX(0);
  }
  40% {
    transform: scaleX(1);
  }
  80% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0);
  }
}
@keyframes grow-thick {
  0% {
    height: 3px;
  }
  15% {
    height: 4px;
  }
  30% {
    height: 2.5px;
  }
  45% {
    height: 3.5px;
  }
  60% {
    height: 2.5px;
  }
  75% {
    height: 4px;
  }
  90% {
    height: 3px;
  }
  100% {
    height: 3px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hl__dots {
    animation: none;
    transform: scaleX(1);
  }
}
