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

.stage {
  position: relative;
}

.nsphr {
  width: min(240px, 70vw);
}

.nsphr__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  border-radius: 16px;
  background: #ffffff;
}

.nsphr__label {
  color: rgba(23, 20, 26, 0.72);
  font-weight: 700;
  font-size: 12px;
}

.nsphr__row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nsphr__btn {
  position: relative;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #0a4fe8;
  color: #fff7e6;
  font-family: inherit;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  touch-action: none;
}

.nsphr__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
}

.nsphr__ringTrack {
  fill: none;
  stroke: rgba(255, 247, 230, 0.28);
  stroke-width: 2;
}

.nsphr__ringFill {
  fill: none;
  stroke: #fff7e6;
  stroke-width: 2;
  stroke-linecap: round;
}

.nsphr__value {
  min-width: 48px;
  text-align: center;
  color: #17141a;
  font-weight: 700;
  font-size: 28px;
  font-variant-numeric: tabular-nums;
}

.nsphr__hint {
  color: rgba(23, 20, 26, 0.72);
  font-size: 11px;
  text-align: center;
}

@media (max-width: 340px) {
  .nsphr__panel {
    padding: 16px;
    gap: 8px;
  }
  .nsphr__btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  .nsphr__value {
    font-size: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nsphr__ringFill {
    transition: none !important;
  }
}
