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

.nspts {
  width: min(260px, 76vw);
}

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

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

.nspts__value {
  color: #17141a;
  font-weight: 700;
  font-size: 26px;
  font-variant-numeric: tabular-nums;
}

.nspts__track {
  position: relative;
  width: 200px;
  height: 4px;
  border-radius: 4px;
  background: rgba(23, 20, 26, 0.14);
  margin: 16px 0 4px;
}

.nspts__tick {
  position: absolute;
  top: 50%;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #0a4fe8;
  transform: translate(-50%, -50%);
  transform-origin: center;
}
.nspts__tick[data-i="0"] {
  left: calc(0 / 10 * 100%);
}
.nspts__tick[data-i="1"] {
  left: calc(1 / 10 * 100%);
}
.nspts__tick[data-i="2"] {
  left: calc(2 / 10 * 100%);
}
.nspts__tick[data-i="3"] {
  left: calc(3 / 10 * 100%);
}
.nspts__tick[data-i="4"] {
  left: calc(4 / 10 * 100%);
}
.nspts__tick[data-i="5"] {
  left: calc(5 / 10 * 100%);
}
.nspts__tick[data-i="6"] {
  left: calc(6 / 10 * 100%);
}
.nspts__tick[data-i="7"] {
  left: calc(7 / 10 * 100%);
}
.nspts__tick[data-i="8"] {
  left: calc(8 / 10 * 100%);
}
.nspts__tick[data-i="9"] {
  left: calc(9 / 10 * 100%);
}
.nspts__tick[data-i="10"] {
  left: calc(10 / 10 * 100%);
}

.nspts__handle {
  position: absolute;
  top: 50%;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #0a4fe8;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  cursor: grab;
  touch-action: none;
  will-change: transform;
  transform: translate(-50%, -50%);
}
.nspts__handle:active {
  cursor: grabbing;
}

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

@media (max-width: 340px) {
  .nspts__panel {
    padding: 16px;
    gap: 8px;
  }
  .nspts__track {
    width: 160px;
  }
  .nspts__value {
    font-size: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nspts__handle, .nspts__tick {
    transition: none !important;
  }
}
