/* 客户聊天页：全服广播滚动条 + 喊话提示 */
.chat-header > div:first-child {
    flex: 1 1 auto;
    min-width: 0;
    margin-right: 12px;
}
.chat-broadcast {
    position: relative;
    overflow: hidden;
    height: 1.6em;
    line-height: 1.6em;
    white-space: nowrap;
}
.chat-broadcast .chat-broadcast-track {
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
}
.chat-broadcast.is-shout {
    opacity: 1;
    font-weight: 700;
    color: #fde047;
}
.chat-shout-banner {
    position: relative;
    z-index: 5;
    margin: 0;
    padding: 10px 44px 10px 16px;
    background: #f59e0b;
    background: linear-gradient(90deg, #f59e0b, #ef4444);
    color: #fff;
    font-size: 15px;
    line-height: 1.5;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.chat-shout-banner strong {
    margin-right: 6px;
}
.chat-shout-close {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 26px;
    height: 26px;
    margin-top: -13px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 18px;
    line-height: 26px;
    cursor: pointer;
}
/* 兼容版标题栏不是 flex，右侧有绝对定位按钮 */
.legacy-chat-mode .chat-header > div:first-child {
    margin-right: 150px;
}
