/* @file Shared battle chat mount preserves the canonical chat and leaves the combat controls visible. */
.battle-chat-slot {
    display: flex;
    flex: 1;
    min-height: 150px;
    min-width: 0;
    overflow: clip;
    touch-action: pan-y pinch-zoom;
}
.battle-chat-slot[hidden],
.battle-journal[hidden] {
    display: none;
}
body.in-battle .battle-chat-slot #chat {
    display: flex;
    flex: 1;
    height: auto;
    min-height: 0;
    padding: 4px 2px;
    border: 0;
    background: transparent;
    cursor: auto;
}
.battle-chat-slot #chatForm:not([hidden]) {
    display: flex;
    flex-shrink: 0;
}
.battle-chat-slot #messages {
    flex: 1 1 0;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    touch-action: pan-y pinch-zoom;
}
.battle-chat-slot #chatTabs {
    display: none;
}
.battle-journal {
    touch-action: pan-y pinch-zoom;
}
body.in-battle.battle-party-chat #chatTabs {
    display: none;
}
