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

.td-bubble {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.td-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #fff7e6;
  opacity: 0.35;
}

@keyframes td-bounce {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.35;
  }
  30% {
    transform: translateY(-6px);
    opacity: 1;
  }
}
.td-bubble.is-loading .td-dot,
.td-bubble.is-demo .td-dot {
  animation: td-bounce 1.2s ease-out infinite;
}

.td-bubble.is-demo .td-dot:nth-child(1) {
  animation-delay: 0ms;
}

.td-bubble.is-demo .td-dot:nth-child(2) {
  animation-delay: 160ms;
}

.td-bubble.is-demo .td-dot:nth-child(3) {
  animation-delay: 320ms;
}

@media (prefers-reduced-motion: reduce) {
  .td-bubble.is-loading .td-dot,
  .td-bubble.is-demo .td-dot {
    animation: none !important;
    opacity: 0.8 !important;
    transform: none !important;
  }
}
