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

.badge {
  width: 148px;
  padding: 12px 16px;
  border-radius: 16px;
  background: #17141a;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
}

.label {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
}

.track {
  display: block;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.fill {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  background: #50a26e;
  transform: scaleX(1);
  transform-origin: left;
}

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

@keyframes drain {
  0%, 10% {
    transform: scaleX(1);
    background: #50a26e;
  }
  50% {
    transform: scaleX(0.6);
    background: #ff4d1f;
  }
  90%, 100% {
    transform: scaleX(0.25);
    background: #c2361a;
  }
}
@media (prefers-reduced-motion: reduce) {
  .stage.is-demo .fill {
    animation: none;
    transform: scaleX(0.25);
    background: #c2361a;
  }
}
