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

.thread {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.divider {
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(23, 20, 26, 0.08);
  color: rgba(23, 20, 26, 0.6);
  font-weight: 700;
  font-size: clamp(11px, 3.2vw, 12px);
  line-height: 1;
  font-family: inherit;
  letter-spacing: 0.04em;
  transform-origin: center;
}
.divider.is-demo {
  animation: divider-in-loop 2s ease-out infinite;
}

.bubble {
  padding: 16px 26px;
  border-radius: 16px;
  background: #2f6df6;
  color: #fff;
  font-weight: 600;
  font-size: clamp(15px, 4.6vw, 18px);
  line-height: 1.4;
  font-family: inherit;
}

@keyframes divider-in-loop {
  0% {
    transform: translateY(-14px) scale(0.9);
    opacity: 0;
  }
  20% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  82% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(-14px) scale(0.9);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .divider.is-demo {
    animation: none !important;
    transform: none;
    opacity: 1;
  }
}
