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);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0;
  font-weight: 700;
  font-size: clamp(18px, 5vw, 24px);
  line-height: 1;
  font-family: inherit;
}

.price__old {
  position: relative;
  color: color-mix(in srgb, #17141a 55%, transparent);
  font-weight: 500;
}

.price__strike {
  position: absolute;
  left: -2%;
  right: -2%;
  top: 52%;
  height: 2px;
  background: #c2361a;
  transform: scaleX(0);
  transform-origin: left center;
  animation: strike 500ms cubic-bezier(0.2, 0.8, 0.2, 1) infinite, strike-thick 500ms ease-in-out infinite;
}

.price__new {
  color: #17141a;
}

@keyframes strike {
  0% {
    transform: scaleX(0);
  }
  30% {
    transform: scaleX(1);
  }
  80% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0);
  }
}
@keyframes strike-thick {
  0% {
    height: 2px;
  }
  25% {
    height: 3px;
  }
  50% {
    height: 1.5px;
  }
  75% {
    height: 2.5px;
  }
  100% {
    height: 2px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .price__strike {
    animation: none;
    transform: scaleX(1);
  }
}
