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

.ring-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.ring {
  appearance: none;
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 16px;
  border-radius: 16px;
}
.ring:focus-visible {
  outline: 2px solid #17141a;
  outline-offset: 4px;
}

.ring__icon {
  width: clamp(120px, 30vw, 160px);
  height: auto;
  overflow: visible;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

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

.ring__fill {
  fill: none;
  stroke: #0a4fe8;
  stroke-width: 8;
  stroke-linecap: round;
}

.ring__pct {
  transform: rotate(90deg);
  transform-origin: 60px 60px;
  fill: #17141a;
  font-weight: 700;
  font-size: 20px;
}

.ring__label {
  color: #17141a;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.ring__status {
  margin: 0;
  color: rgba(23, 20, 26, 0.6);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.2;
}

@media (max-width: 340px) {
  .stage {
    padding: 8px;
  }
  .ring-wrap {
    gap: 8px;
  }
  .ring {
    padding: 8px 12px;
    gap: 8px;
  }
  .ring__icon {
    width: 104px;
  }
  .ring__label {
    font-size: 12px;
  }
  .ring__status {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ring__fill {
    transition: none;
  }
}
