.system-notice {
    display: flex;
    justify-content: center;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .28rem .75rem;
    padding: .48rem .85rem;
    border-block: 1px solid #a48752;
    background: #30291f url('/art/hud-enamel.png') center;
    color: #fff0cb;
    font-size: .875rem;
    font-variant-numeric: tabular-nums;
    text-align: center;
    overflow-wrap: anywhere;
}

body.tactical-page:has(> .system-notice) {
    display: flex;
    flex-direction: column;
    height: 100dvh;
}

.tactical-page:has(> .system-notice) .game-shell {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
}

.tactical-page:has(> .system-notice) .map-display { height: 100%; }
.dashboard-page .dashboard-motd { margin-top: 14px; }
.dashboard-motd p, .chat-messages p { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
.campaign-lobby .community-chat { margin-bottom: 14px; }

.community-chat h2 { margin: 0 0 .65rem; font-size: 1rem; }
.chat-messages {
    list-style: none;
    margin: 0 0 .5rem;
    padding: 0 .45rem 0 0;
    max-height: 15rem;
    overflow: auto;
    overscroll-behavior: contain;
}
.chat-messages li { padding: .42rem 0; border-bottom: 1px solid #b8966548; font-size: .85rem; }
.chat-message-heading { display: flex; justify-content: space-between; align-items: baseline; gap: .35rem; margin-bottom: .2rem; }
.chat-message-heading :is(a, span) { overflow-wrap: anywhere; }
.chat-message-heading time { font-size: .68rem; color: #d2c9b0; text-align: right; flex-shrink: 0; }
.chat-messages a, .online-panel a, .ranked-commander a { color: #ffe0a0; text-decoration: underline; text-underline-offset: .16em; }
.chat-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .4rem; }
.chat-form textarea {
    resize: vertical;
    min-height: 3rem;
    width: 100%;
    background: #151f1d;
    border: 1px solid #8d784e;
    color: #f7ecda;
    border-radius: 3px;
    padding: .35rem;
    font: inherit;
    font-size: .85rem;
}
.chat-form button { padding-inline: .55rem; }
.chat-earlier { font-size: .75rem; margin-bottom: .4rem; }
.chat-status, .chat-empty, .online-panel p { font-size: .8rem; color: #ded3b8; margin: .4rem 0 0; }
.chat-status:empty { display: none; }
.community-chat [hidden] { display: none; }
.online-panel ul { list-style: none; padding: 0; margin: .45rem 0 0; display: grid; gap: .35rem; overflow-wrap: anywhere; }
.online-panel li::before { content: '•'; color: #9ed39d; margin-right: .4rem; }
.community-standings { display: grid; gap: 1rem; }
.deletion-panel { margin-top: 1rem; }
.deletion-panel summary { cursor: pointer; font-weight: 700; }
.deletion-panel input[type="checkbox"] { width: auto; }
.deletion-panel button.danger { border: 1px solid #e4a18d; background: #652d2c; color: #ffefe1; padding: .55rem .8rem; }
#chatPane .community-chat { padding: .65rem; }
#chatPane .chat-messages { max-height: min(15rem, 40vh); }
