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

.bubble {
  width: min(260px, 84vw);
  padding: 14px 18px;
  border-radius: 16px;
  background: #17141a;
  color: #fff;
}

.quote {
  padding: 14px 14px;
  margin-bottom: 10px;
  border-radius: 8px;
  border-left: 3px solid #fff7e6;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 500;
  font-size: clamp(13px, 3.8vw, 14px);
  line-height: 1.5;
  font-family: inherit;
  color: rgba(255, 255, 255, 0.75);
}
.quote.is-demo {
  animation: quote-in-loop 2s ease-out infinite;
}

.reply {
  margin: 0;
  font-weight: 600;
  font-size: clamp(14px, 4.2vw, 16px);
  line-height: 1.4;
  font-family: inherit;
}

@keyframes quote-in-loop {
  0% {
    transform: translateX(-18px);
    opacity: 0;
  }
  22% {
    transform: translateX(0);
    opacity: 1;
  }
  80% {
    transform: translateX(0);
    opacity: 1;
  }
  95% {
    transform: translateX(-18px);
    opacity: 0;
  }
  100% {
    transform: translateX(-18px);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .quote.is-demo {
    animation: none !important;
    transform: none;
    opacity: 1;
  }
}
