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

.stage {
  position: relative;
}

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

.nsputc__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(23, 20, 26, 0.05);
}

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

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

.nsputc__flipBox {
  width: 92px;
  height: 44px;
  display: grid;
  place-items: center;
  will-change: transform;
}

.nsputc__value {
  color: #17141a;
  font-weight: 700;
  font-size: 28px;
  font-variant-numeric: tabular-nums;
  transition: transform 300ms ease-out;
  will-change: transform;
}
.nsputc__value small {
  margin-left: 4px;
  font-size: 14px;
  font-weight: 700;
  color: #0a4fe8;
}

.nsputc__btn {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #0a4fe8;
  color: #fff7e6;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  flex: 0 0 auto;
}
.nsputc__btn:active {
  transform: scale(0.92);
}

.nsputc__toggle {
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(23, 20, 26, 0.16);
  color: #17141a;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 340px) {
  .nsputc__panel {
    padding: 16px;
    gap: 12px;
  }
  .nsputc__value {
    font-size: 24px;
  }
  .nsputc__flipBox {
    width: 78px;
    height: 38px;
  }
  .nsputc__btn {
    width: 30px;
    height: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nsputc__value {
    transition: none !important;
  }
}
