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

.alr {
  display: grid;
  justify-items: center;
  gap: 16px;
}

.alr__ringwrap {
  position: relative;
  display: grid;
  place-items: center;
}

.alr__ring {
  transform: rotate(-90deg);
}

.alr__track {
  fill: none;
  stroke: rgba(23, 20, 26, 0.12);
  stroke-width: 8;
}

.alr__prog {
  fill: none;
  stroke: #0a4fe8;
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 300ms ease-out, stroke 300ms ease-out;
}

.alr--locked .alr__prog {
  stroke: #c2361a;
}

.alr__mid {
  position: absolute;
  display: grid;
  justify-items: center;
}

.alr__count {
  font: 800 30px/1 -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  color: #17141a;
  font-variant-numeric: tabular-nums;
}

.alr__label {
  font: 500 11px/1 -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  color: rgba(23, 20, 26, 0.6);
}

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

@media (max-width: 340px) {
  .alr__ring {
    width: 92px;
    height: 92px;
  }
  .alr__count {
    font-size: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .alr__prog {
    transition: none;
  }
}
