html, body {
  margin: 0;
  overflow: hidden;
}

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #ff4d1f;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  padding: clamp(8px, 4vw, 24px);
}

.quote {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}

.quote__hint {
  margin: 0;
  padding: 0 8px;
  font-weight: 400;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(23, 20, 26, 0.72);
}

.quote__box {
  width: 100%;
  margin: 0;
  padding: 12px;
  border-radius: 16px;
  background: rgba(23, 20, 26, 0.06);
  opacity: 0.4;
  transform: scale(0.97);
  transition: opacity 600ms cubic-bezier(0.2, 1.4, 0.4, 1), transform 600ms cubic-bezier(0.2, 1.4, 0.4, 1);
}

.quote__box.is-swap {
  opacity: 1;
  transform: scale(1);
}

.quote__text {
  margin: 0 0 4px;
  font-weight: 600;
  line-height: 1.45;
  color: #17141a;
}

.quote__who {
  font-weight: 500;
  font-size: 11px;
  color: rgba(23, 20, 26, 0.72);
}

.quote__meta {
  margin: 0;
}

.quote__chip {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 999px;
  background: #17141a;
  color: #fff7e6;
  font-weight: 700;
  font-size: 11px;
}

@media (max-width: 340px) {
  .quote {
    max-width: 300px;
    gap: 4px;
  }
  .quote__hint {
    font-size: 9px;
  }
  .quote__box {
    padding: 8px;
  }
  .quote__who {
    font-size: 10px;
  }
  .quote__chip {
    font-size: 10px;
    padding: 4px 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .quote__box {
    transition: none;
    opacity: 1;
    transform: none;
  }
}
