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

.wrap {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.label {
  margin: 0;
  font-weight: 600;
  font-size: clamp(11px, 3.2vw, 13px);
  line-height: 1;
  font-family: inherit;
  letter-spacing: 0.04em;
  color: #17141a;
}

.bubble {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 22px 28px;
  border-radius: 999px;
  background: #fff7e6;
  transform-origin: center;
}
.bubble.is-demo {
  animation: bubble-breathe-loop 2s ease-out infinite;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #17141a;
  opacity: 0.4;
}
.bubble.is-demo .dot {
  animation: dot-bounce-loop 2s ease-out infinite;
}
.dot:nth-child(1) {
  animation-delay: 0s;
}
.dot:nth-child(2) {
  animation-delay: -0.2s;
}
.dot:nth-child(3) {
  animation-delay: -0.4s;
}

@keyframes bubble-breathe-loop {
  0% {
    transform: scale(1);
  }
  10% {
    transform: scale(1.06);
  }
  20% {
    transform: scale(1);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes dot-bounce-loop {
  0% {
    transform: translateY(0);
    opacity: 0.4;
  }
  16% {
    transform: translateY(-9px);
    opacity: 1;
  }
  32% {
    transform: translateY(0);
    opacity: 0.4;
  }
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dot, .bubble.is-demo {
    animation: none !important;
  }
  .dot {
    opacity: 0.7;
  }
}
