/**
 * 修复桌宠发话布局 - 从垂直改为横向
 * Fix desktop pet message layout - from vertical to horizontal
 */

/* 目标：所有可能的桌宠消息容器 */
[data-floating-pet-message],
[data-desktop-pet],
.floating-pet-bubble,
.desktop-pet-message,
.pet-message-container,
.pet-speech-bubble {
  flex-direction: row !important;
  align-items: center !important;
}

/* 如果消息包含图标和文字，确保横向排列 */
[data-floating-pet-message] > *,
[data-desktop-pet] > *,
.floating-pet-bubble > *,
.desktop-pet-message > *,
.pet-message-container > *,
.pet-speech-bubble > * {
  display: inline-flex !important;
  align-items: center !important;
}

/* 兜底方案：针对任何包含"pet"或"floating"类名且使用column的元素 */
[class*="pet"][style*="flex-direction: column"],
[class*="floating"][style*="flex-direction: column"],
[class*="desktop"][style*="flex-direction: column"] {
  flex-direction: row !important;
  align-items: center !important;
}
