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

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

.stage {
  position: relative;
}

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

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

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

.nspcf__amount {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nspcf__symbol {
  color: #0a4fe8;
  font-weight: 700;
  font-size: 22px;
  margin-right: 4px;
}

.nspcf__col {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 32px;
  overflow: hidden;
}

.nspcf__digit {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #17141a;
  font-weight: 700;
  font-size: 26px;
  font-variant-numeric: tabular-nums;
  will-change: transform;
}

.nspcf__comma {
  color: #17141a;
  font-weight: 700;
  font-size: 22px;
  transform: translateY(6px);
}

.nspcf__row {
  display: flex;
  gap: 12px;
}

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

@media (max-width: 340px) {
  .nspcf__panel {
    padding: 16px;
    gap: 12px;
  }
  .nspcf__symbol {
    font-size: 18px;
  }
  .nspcf__digit {
    font-size: 22px;
  }
  .nspcf__col {
    width: 15px;
    height: 28px;
  }
  .nspcf__btn {
    width: 32px;
    height: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nspcf__digit {
    transition: none !important;
  }
}
