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

.cc {
  width: min(100%, 420px);
  display: grid;
  gap: 8px;
  color: #ffffff;
}

.cc__label {
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  color: rgba(255, 255, 255, 0.82);
}

.cc__ta {
  box-sizing: border-box;
  width: 100%;
  height: 56px;
  resize: none;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-family: inherit;
  font-size: 13px;
  line-height: 18px;
}

.cc__ta::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.cc__ta:focus-visible {
  outline: 2px solid #6ec8ff;
  outline-offset: 2px;
}

.cc__hintRow {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 48px;
  padding: 0 12px;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(76, 212, 166, 0.18);
}

.cc__remain {
  display: block;
  min-width: 76px;
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
  color: #4cd4a6;
  font-variant-numeric: tabular-nums;
  transform-origin: 0 50%;
}

.cc__msg {
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
  color: #4cd4a6;
}

.cc__meter {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.cc__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #4cd4a6;
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.cc__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 340px) {
  .cc__hintRow {
    gap: 12px;
    height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cc__fill {
    transition: none;
  }
}
