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

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

.quotecitrus {
  box-sizing: border-box;
  width: clamp(280px, 90vw, 420px);
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.quotecitrus__avatar {
  flex: 0 0 auto;
  width: clamp(44px, 12vw, 56px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-conic-gradient(#d8c1b1 0deg 60deg, #dfd8be 60deg 120deg);
  box-shadow: inset 0 -4px 8px rgba(32, 74, 23, 0.16), 0 6px 14px rgba(189, 150, 122, 0.45);
  animation: avatarBob 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
  animation-delay: -1s;
}

.quotecitrus__bubble {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  box-sizing: border-box;
  padding: 16px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(235, 214, 218, 0.55);
  animation: bubbleSquish 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.quotecitrus__bubble::before {
  content: "";
  position: absolute;
  top: 12px;
  left: -8px;
  width: 16px;
  aspect-ratio: 1;
  border-radius: 50% 50% 50% 4px;
  background: #ffffff;
  transform: rotate(45deg);
}

.quotecitrus__text {
  margin: 0;
}

.quotecitrus__line {
  margin: 0;
  color: #204a17;
  font-weight: 700;
  font-size: clamp(13px, 3.4vw, 16px);
  line-height: 1.4;
  font-family: inherit;
}

.quotecitrus__who {
  margin: 8px 0 0;
  color: rgba(32, 74, 23, 0.78);
  font-weight: 500;
  font-size: clamp(10px, 2.6vw, 12px);
  line-height: 1;
  font-family: inherit;
}

@keyframes bubbleSquish {
  0%, 100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0.94);
  }
}
@keyframes avatarBob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .quotecitrus__bubble, .quotecitrus__avatar {
    animation: none !important;
    transform: none;
  }
}
