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

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

.stage {
  position: relative;
}

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

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

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

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

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

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

.nspla__meter {
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background: rgba(23, 20, 26, 0.12);
  overflow: hidden;
}

.nspla__meterFill {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  background: #ff4d1f;
  transform: scaleX(0);
  transform-origin: left center;
}

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

@media (max-width: 340px) {
  .nspla__panel {
    padding: 16px;
    gap: 8px;
  }
  .nspla__btn {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  .nspla__value {
    font-size: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nspla__meterFill {
    transition: none !important;
  }
}
