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

.qb {
  box-sizing: border-box;
  width: min(320px, 92vw);
  margin: 0;
  padding: 16px 20px;
  border-radius: 16px;
  background: #fff7e6;
  color: #17141a;
  display: grid;
  grid-template-columns: 6px 1fr;
  gap: 16px;
  font-family: inherit;
}

.qb * {
  box-sizing: border-box;
}

.qb__bar {
  border-radius: 999px;
  background: #2f6df6;
}

.qb__content {
  display: grid;
}

.qb__body {
  margin: 0;
  display: grid;
  gap: 8px;
}

.qb__l1,
.qb__l2 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.qb__cite {
  margin: 12px 0 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(23, 20, 26, 0.62);
}

.qb.is-demo .qb__bar {
  transform-origin: top center;
  animation-name: qbBar;
  animation-duration: 2s;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-iteration-count: infinite;
}

.qb.is-demo .qb__l1 {
  animation-name: qbLine1;
  animation-duration: 2s;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-iteration-count: infinite;
}

.qb.is-demo .qb__l2 {
  animation-name: qbLine2;
  animation-duration: 2s;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-iteration-count: infinite;
}

.qb.is-demo .qb__cite {
  animation-name: qbCite;
  animation-duration: 2s;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-iteration-count: infinite;
}

@keyframes qbBar {
  0% {
    transform: scaleY(0);
  }
  26%, 80% {
    transform: scaleY(1);
  }
  90%, 100% {
    transform: scaleY(0);
  }
}
@keyframes qbLine1 {
  0%, 10% {
    opacity: 0;
    transform: translateY(8px);
  }
  34%, 76% {
    opacity: 1;
    transform: translateY(0);
  }
  80%, 100% {
    opacity: 0;
  }
}
@keyframes qbLine2 {
  0%, 20% {
    opacity: 0;
    transform: translateY(8px);
  }
  44%, 72% {
    opacity: 1;
    transform: translateY(0);
  }
  76%, 100% {
    opacity: 0;
  }
}
@keyframes qbCite {
  0%, 30% {
    opacity: 0;
    transform: translateY(6px);
  }
  52%, 68% {
    opacity: 1;
    transform: translateY(0);
  }
  72%, 100% {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .qb.is-demo .qb__bar,
  .qb.is-demo .qb__l1,
  .qb.is-demo .qb__l2,
  .qb.is-demo .qb__cite {
    animation: none !important;
  }
}
@media (max-width: 340px) {
  .qb {
    padding: 12px 16px;
  }
  .qb__l1, .qb__l2 {
    font-size: 13px;
  }
  .qb__cite {
    margin-top: 8px;
  }
}
