/* Cover the old chat footprint while Android's IME and visual viewport catch up.
   This is a plain room-colored layer, never a screenshot of the page or chat. */
.xixi-chat-keyboard-cover579{position:fixed;pointer-events:none;contain:strict;isolation:isolate}
.realtime-duel-chat-panel.xixi-chat-keyboard-resizing579{will-change:height}
/* Keep the three room borders equally quiet in both themes. */
html body #realtimeDuelChatPanel{--battle-border579:#c9bedb;border-color:var(--battle-border579);background:var(--battle-surface)}
html body.theme-dark #realtimeDuelChatPanel{--battle-border579:#5e526f}
html body #realtimeDuelChatPanel .realtime-duel-chat-header{border-color:var(--battle-border579)}
