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

.cc {
  width: min(240px, 82vw);
}

.cc__label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  font-family: inherit;
  color: rgba(23, 20, 26, 0.75);
}

.cc__input {
  box-sizing: border-box;
  width: 100%;
  resize: none;
  border: 2px solid rgba(23, 20, 26, 0.2);
  border-radius: 12px;
  padding: 12px 12px;
  font-weight: 500;
  font-size: clamp(13px, 3.6vw, 14px);
  line-height: 1.4;
  font-family: inherit;
  color: #17141a;
  background: #fff7e6;
}
.cc__input:focus {
  outline: none;
  border-color: #2f6df6;
}

.cc__count {
  display: block;
  margin-top: 8px;
  text-align: right;
  font-weight: 600;
  font-size: 12px;
  line-height: 1;
  font-family: inherit;
  color: rgba(23, 20, 26, 0.72);
}

.cc__num {
  color: #2f6df6;
  display: inline-block;
  transform: scale(1);
}

.cc__count.is-bump .cc__num {
  animation: bump 140ms cubic-bezier(0.2, 1.4, 0.4, 1);
}

@keyframes bump {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.35);
  }
  60% {
    transform: scale(1);
  }
  78% {
    transform: scale(0.853);
  }
  90% {
    transform: scale(1.06174);
  }
  100% {
    transform: scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .cc__count.is-bump .cc__num {
    animation: none;
  }
}
