@charset "UTF-8";
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);
}

.panel {
  position: relative;
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.hint {
  margin: 0;
  color: rgba(23, 20, 26, 0.72);
  font-weight: 400;
  font-size: 10px;
  line-height: 1.35;
}

.quote {
  position: relative;
  margin: 0;
  padding: 16px 12px;
  border-radius: 16px;
  background: rgba(10, 79, 232, 0.06);
}

.quote::before {
  content: "“";
  position: absolute;
  top: -8px;
  left: 12px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: rgba(10, 79, 232, 0.72);
}

.quoteText {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #17141a;
  font-weight: 600;
  line-height: 1.5;
  font-size: 16px;
  transform-origin: center;
}

.quoteText--swap {
  animation: quotePop 300ms cubic-bezier(0.2, 1.4, 0.4, 1);
}

.quoteAuthor {
  margin: 0;
  color: #0a4fe8;
  font-weight: 600;
  font-size: 11px;
}

@keyframes quotePop {
  0% {
    opacity: 0;
    transform: scale(0.96);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@media (max-width: 340px) {
  .panel {
    max-width: 280px;
    gap: 8px;
  }
  .quote {
    padding: 12px 8px;
  }
  .quoteText {
    font-size: 13px;
  }
  .quoteAuthor {
    font-size: 10px;
  }
  .hint {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .quoteText--swap {
    animation: none;
  }
}
