.wn-stream-bubble { position: relative; box-sizing: border-box; }
.wn-stream-thinking {
  white-space: nowrap;
  font-weight: 600;
  color: var(--wn-thinking-color, #645a79);
  background: linear-gradient(90deg, var(--wn-thinking-color, #645a79) 20%, var(--wn-thinking-shine, #a25bdb) 50%, var(--wn-thinking-color, #645a79) 80%) 0 0 / 200% 100%;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: wn-thinking-shine 1.4s linear infinite;
}
@keyframes wn-thinking-shine { to { background-position: -200% 0; } }
.wn-stream-revealing { overflow: hidden; }
.wn-stream-text {
  position: absolute;
  display: block;
  inset: var(--wn-reply-y, 11px) auto auto var(--wn-reply-x, 14px);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.wn-stream-word {
  display: inline-block;
  max-width: 100%;
  opacity: 0;
  vertical-align: baseline;
}
@media (prefers-reduced-motion: reduce) {
  .wn-stream-thinking {
    animation: none;
    background: none;
    -webkit-text-fill-color: currentColor;
  }
}
