/* Messages hub: Fluxer community first, P2P & servers second. */
#tab-messages.tab-pane.active { flex-direction: column; }
.msg-hub-bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 10px; flex: none; background: var(--bg-sidebar); border-bottom: 1px solid var(--border-subtle); }
.msg-hub-switch { display: inline-flex; gap: 2px; padding: 2px; border-radius: 8px; background: var(--bg-input); border: 1px solid var(--border-subtle); }
.msg-hub-switch button { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 12px; border: 0; border-radius: 6px; background: transparent; color: var(--text-subtle); font: 700 12px var(--font-display); cursor: pointer; }
.msg-hub-switch button:hover { color: var(--text-main); }
.msg-hub-switch button.active { background: var(--bg-elev); color: var(--text-main); }
.msg-hub-switch button.active .msg-hub-dot { background: var(--vice-gradient); }
.msg-hub-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--text-subtle); }
.msg-hub-count { min-width: 16px; height: 16px; padding: 0 5px; border-radius: 8px; background: var(--bg-card); color: var(--text-muted); font-size: 10px; display: inline-flex; align-items: center; justify-content: center; }
.msg-hub-count.hidden { display: none; }
/* The server rail now has the Join button, so the bar stays quiet. */
.msg-hub-promo { display: none; }
.msg-pane { display: none; flex: 1; min-height: 0; }
.msg-pane.active { display: flex; }
#msgP2pPane .chat-builtin { flex: 1; min-height: 0; }
#fluxerMount { flex: 1; display: flex; min-height: 0; }
