/* One surface paints the rounded body and tip, including translucent fills. */
:is(#messages,#bubblePreviewV102) .message-group:not(.typing-group) .chat-message-item .message-bubble-row>.bubble.wechat-bubble-v1{
  position:relative;isolation:isolate;overflow:visible!important;
  background:transparent!important;border-color:transparent!important;
  border-radius:8px!important;box-shadow:none!important;
}
:is(#messages,#bubblePreviewV102) .message-group:not(.typing-group) .chat-message-item .message-bubble-row>.bubble.wechat-bubble-v1:not(.chat-voice-bubble-v117):not([data-voice-card]){padding-block:10px!important}
/* The absolute surface is the first child, ahead of Markdown's first block. */
.bubble.wechat-bubble-v1[data-chat-markdown-v1]>.wechat-bubble-surface-v1+*{margin-top:0}
.wechat-bubble-v1>.wechat-bubble-surface-v1{
  position:absolute;left:-12px;top:-4px;width:calc(100% + 24px);height:calc(100% + 8px);
  display:block;overflow:visible;z-index:-1;pointer-events:none;
  filter:drop-shadow(0 1px 2px rgb(0 0 0 / .05));
}
.wechat-bubble-surface-v1>path{stroke-width:0;stroke-linejoin:round}
.message-group.user .wechat-bubble-surface-v1>path{fill:var(--chat-user-bubble-bg);stroke:var(--chat-user-bubble-border-color)}
.message-group.assistant .wechat-bubble-surface-v1>path{fill:var(--chat-ai-bubble-bg);stroke:var(--chat-ai-bubble-border-color)}
html[data-user-bubble-border="on"] .message-group.user .wechat-bubble-surface-v1>path{stroke-width:var(--chat-user-bubble-border-width)}
html[data-ai-bubble-border="on"] .message-group.assistant .wechat-bubble-surface-v1>path{stroke-width:var(--chat-ai-bubble-border-width)}
