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 {
  box-sizing: border-box;
  width: min(280px, 86vw);
  background: #fff7e6;
  border-radius: 16px;
  padding: 20px 20px 16px;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
}
.cc__label {
  display: block;
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  font-family: inherit;
  color: #17141a;
}
.cc__area {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-height: 96px;
  max-height: 160px;
  resize: none;
  overflow-y: auto;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 500;
  font-size: clamp(13px, 3.8vw, 15px);
  line-height: 1.5;
  font-family: inherit;
  color: #17141a;
  background: #fff;
  transition: border-color 220ms ease-out;
}
.cc__area:focus {
  outline: none;
  border-color: #0a4fe8;
}
.cc__area.is-warn {
  border-color: #c2361a;
}
.cc__count {
  margin: 8px 0 0;
  text-align: right;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  color: #0a4fe8;
  transition: color 220ms ease-out;
}
.cc__count.is-warn {
  color: #c2361a;
}

@media (max-width: 340px) {
  .cc__area {
    min-height: 88px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cc__area, .cc__count {
    transition: none;
  }
}
