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

.nspkj {
  width: min(220px, 68vw);
}

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

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

.nspkj__stage {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 64px;
  border-radius: 12px;
  background: rgba(23, 20, 26, 0.06);
  outline: none;
  overflow: hidden;
}
.nspkj__stage:focus-visible {
  box-shadow: inset 0 0 0 2px #0a4fe8;
}

.nspkj__ghost {
  position: absolute;
  color: rgba(23, 20, 26, 0.4);
  font-weight: 700;
  font-size: 26px;
  font-variant-numeric: tabular-nums;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

.nspkj__value {
  position: relative;
  color: #17141a;
  font-weight: 700;
  font-size: 30px;
  font-variant-numeric: tabular-nums;
  transition: transform 220ms cubic-bezier(0.2, 1.4, 0.4, 1);
  will-change: transform;
}

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

@media (max-width: 340px) {
  .nspkj__panel {
    padding: 16px;
    gap: 8px;
  }
  .nspkj__stage {
    height: 54px;
  }
  .nspkj__value {
    font-size: 26px;
  }
  .nspkj__ghost {
    font-size: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nspkj__value {
    transition: none !important;
  }
  .nspkj__ghost {
    transition: none !important;
  }
}
