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

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #ffffff;
  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;
  isolation: isolate;
  padding: 0 4px;
}
.hl::before {
  content: "";
  position: absolute;
  inset: 12% -2% 6%;
  background: #ffd23f;
  border-radius: 4px;
  transform: scaleX(0);
  transform-origin: left center;
  mix-blend-mode: multiply;
  z-index: -1;
  animation: mark 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite, mark-fill-noise 2s ease-in-out infinite;
}
.hl::after {
  content: "";
  position: absolute;
  inset: 10.5% -2.2% 4.5%;
  background: repeating-linear-gradient(88deg, #ffd23f 0 4px, transparent 4px 5.5px) top/100% 38% no-repeat, repeating-linear-gradient(92deg, #ffd23f 0 4px, transparent 4px 6px) bottom/100% 38% no-repeat;
  opacity: 0.38;
  transform: scaleX(0);
  transform-origin: left center;
  mix-blend-mode: multiply;
  z-index: -1;
  rotate: 0.2deg;
  animation: mark 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite 0.08s, stroke-wobble 1.3s ease-in-out infinite;
}

@keyframes mark {
  0% {
    transform: scaleX(0);
  }
  20% {
    transform: scaleX(1);
  }
  75% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0);
  }
}
@keyframes mark-fill-noise {
  0% {
    border-radius: 6%;
  }
  30% {
    border-radius: 20%;
  }
  60% {
    border-radius: 10%;
  }
  85% {
    border-radius: 16%;
  }
  100% {
    border-radius: 6%;
  }
}
@keyframes stroke-wobble {
  0% {
    rotate: 0.3deg;
  }
  25% {
    rotate: -0.4deg;
  }
  50% {
    rotate: 0.2deg;
  }
  75% {
    rotate: -0.25deg;
  }
  100% {
    rotate: 0.3deg;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hl::before {
    animation: none;
    transform: scaleX(1);
  }
  .hl::after {
    animation: none;
    transform: scaleX(1);
    rotate: 0deg;
  }
}
