/* Use the surrounding bubble's own padding and line-height, so one line of
   typing dots occupies exactly the same height as one line of message text. */
.chat-typing .typing-dots{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:29px;height:1lh;vertical-align:top;padding:0;border:0;background:none}
.chat-typing .typing-dots>i{display:block;width:5px;height:5px;border-radius:50%;background:currentColor;opacity:.38;animation:chat-dot-pulse 1300ms ease-in-out infinite}
.chat-typing .typing-dots>i:nth-child(2){animation-delay:120ms}.chat-typing .typing-dots>i:nth-child(3){animation-delay:240ms}
@keyframes chat-dot-pulse{0%,65%,100%{opacity:.3;transform:translateY(0)}30%{opacity:.7;transform:translateY(-2px)}}
@media(prefers-reduced-motion:reduce){.chat-typing .typing-dots>i{animation:none;opacity:.5}}
