/* Chatbox module */
.chat-feed{overscroll-behavior:contain}
/* V25: explicit current-room state + one switch action inside the existing homepage Chatbox. */
.community-room-switch{display:flex;align-items:center;gap:7px;margin:0 2px 7px;padding:5px 7px;border:1px solid rgba(112,146,181,.18);border-radius:5px;background:rgba(77,112,148,.06);overflow-x:auto}
.community-room-switch a,.community-room-switch span{display:inline-flex;align-items:center;min-height:23px;padding:3px 7px;border:1px solid transparent;border-radius:5px;font-size:10.5px;font-weight:700;line-height:1.25;white-space:nowrap;text-decoration:none}
.community-room-switch a{color:#8094aa}
.community-room-switch a:hover{color:#d7e8f8;border-color:rgba(112,146,181,.28);background:rgba(112,146,181,.08)}
.community-room-switch .active{color:#eef7ff;border-color:#39556f;background:#102236;box-shadow:inset 0 -2px 0 #ff3047;cursor:default}

/* V140: full Vietnamese notice below Community tabs; no marquee. */
.chat-notice-v140{position:relative!important;top:auto!important;z-index:3;display:block!important;margin:8px 11px 4px!important;padding:0!important;border:1px solid #e5ad00!important;border-radius:8px!important;background:#ffd928!important;box-shadow:0 5px 14px rgba(0,0,0,.22)!important;color:#c90000!important;overflow:visible!important;white-space:normal!important;font-size:13px!important;line-height:1.45!important}
.chat-notice-v140-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 9px;border-bottom:1px solid rgba(164,48,0,.18);color:#b90000}
.chat-notice-v140-head strong{font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.chat-notice-v140-head button{display:inline-flex;align-items:center;justify-content:center;width:28px;height:26px;padding:0;border:1px solid rgba(151,28,0,.35);border-radius:6px;background:#fff1a8;color:#b90000;font-size:20px;font-weight:900;line-height:1;cursor:pointer}
.chat-notice-v140-body{display:block;padding:9px 10px 10px;color:#c90000;font-size:13px;font-weight:850;line-height:1.48;white-space:normal;overflow-wrap:anywhere;word-break:break-word}
.chat-notice-v140.is-collapsed .chat-notice-v140-head{border-bottom:0}
.chat-notice-v140.is-collapsed .chat-notice-v140-body{display:none}
