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

@property --percent {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}
.track {
  --percent: 0;
  position: relative;
  width: clamp(200px, 58vw, 280px);
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.bar {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #fff7e6;
  transform: scaleX(calc(var(--percent) / 100));
  transform-origin: left center;
}

.track.is-demo {
  animation: fill 2s ease-out infinite;
}

@keyframes fill {
  0% {
    --percent: 0;
  }
  60% {
    --percent: 76;
  }
  100% {
    --percent: 76;
  }
}
.cap {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font: 600 clamp(12px, 3.2vw, 14px)/1 -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
}

@media (prefers-reduced-motion: reduce) {
  .track.is-demo {
    animation: none;
    --percent: 76;
  }
}
