/* All chat header action rows use the original public-room six-pixel spacing. */
html body :is(#globalChatPanel,#realtimeDuelChatPanel,#familyChatPanel,#dmChatPanel) :is(.realtime-duel-chat-header-actions,.family-chat-header-actions){gap:6px;padding-left:0;flex:none}
/* Preserve each room's colors and the family control's normal corner-to-height ratio. */
html.xixi-liquid-buttons body :is(#globalChatPanel,#realtimeDuelChatPanel,#familyChatPanel,#dmChatPanel) :is(.chat-media-plus,.realtime-duel-chat-send),
html body :is(#globalChatPanel,#realtimeDuelChatPanel,#familyChatPanel,#dmChatPanel) :is(.chat-media-plus,.realtime-duel-chat-send){border-radius:var(--xixi-chat-composer-corner603,14px)!important}
.xixi-public-chat-search603{background:inherit;color:inherit}
#realtimeDuelChatPanel .xixi-public-chat-search603{background:var(--battle-surface)}
html body :is(#globalChatPanel,#realtimeDuelChatPanel,#familyChatPanel,#dmChatPanel) .xixi-avatar[title]{cursor:default}
#realtimeDuelChatPanel .xixi-public-chat-search603 .family-chat-search-input{background:var(--battle-surface);color:var(--battle-text);border-color:var(--chat-control-text600)}
#familyChatInput{scrollbar-width:thin;overscroll-behavior:contain}

/* The two moving panels can overlap, but their different-colored button rows
   must not paint over one another. Keep old messages/panel motion unchanged. */
html body :is(#globalChatPanel,#realtimeDuelChatPanel,#familyChatPanel,#dmChatPanel).xixi-chat-outgoing605 :is(.realtime-duel-chat-header-actions,.family-chat-header-actions){visibility:hidden!important}
