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

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

.dpr {
  width: 100%;
  max-width: 240px;
  display: grid;
  gap: 12px;
}

.dpr__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font: 600 14px/1 -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  color: #17141a;
}

.dpr--paused .dpr__state {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.dpr__pct {
  font-variant-numeric: tabular-nums;
  color: #17141a;
}

.dpr__track {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(23, 20, 26, 0.16);
  overflow: hidden;
}

.dpr__fill {
  height: 100%;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  border-radius: 999px;
  background: #17141a;
}

.dpr--paused .dpr__fill {
  background: #c93000;
}

.dpr__btn {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 8px 16px;
  background: #17141a;
  color: #fff7e6;
  font: 700 13px/1 -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  cursor: pointer;
  transition: transform 140ms ease-out;
}
.dpr__btn:active {
  transform: scale(0.96);
}

@media (max-width: 340px) {
  .dpr {
    max-width: 200px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dpr__btn {
    transition: none;
  }
}
