/* Keep the native chat palette when Chromium auto-darkening is enabled.
   The game canvas and the original message/channel colors retain their paths. */
:root { color-scheme:only light; }
#chat1-container, #chat2-container, #chat-list-container {
  color-scheme:only light; background-color:#d1c8bd; color:#000;
}
#chat1, #chat2, .tz-chat-tab-pane { background-color:#d1c8bd; color:#000; }
.tz-chat-host { position:relative; }
.tz-chat-tabs { height:29px; display:flex; align-items:stretch; gap:3px; border-bottom:1px solid #777064; background:#47413a; box-sizing:border-box; font:11px Verdana,sans-serif; }
.tz-chat-tabs[hidden], .tz-chat-tabs button[hidden], .tz-chat-tab-pane[hidden] { display:none !important; }
.tz-chat-tabs, .tz-chat-tab-pane { cursor:auto; }
.tz-chat-tabs [role=tablist] { display:flex; flex:1; overflow-x:auto; gap:2px; min-width:0; }
.tz-chat-tabs button { font:inherit; color:#d1c8bd; background:#37332d; border:1px solid #706658; border-radius:3px 3px 0 0; padding:3px 7px; white-space:nowrap; }
.tz-chat-tabs button:hover { background:#5a5145; }
.tz-chat-tabs button[aria-selected=true] { background:#75684e; color:#fff3d1; border-bottom-color:#75684e; }
.tz-chat-tabs button.tz-chat-unread { color:#ffdb7d; }
.tz-chat-tabs button:focus-visible { outline:2px solid #e3c58c; outline-offset:-3px; }
.tz-chat-host .tz-chat-tab-pane { height:calc(100% - 29px) !important; width:100% !important; box-sizing:border-box; overflow-y:auto; }
#tz-chat-tabs-settings { font:12px Verdana,sans-serif; }
#tz-chat-tabs-settings p { margin:0 0 10px; }
#tz-chat-tabs-settings label { display:flex; align-items:center; gap:8px; margin:5px 0; }
#tz-chat-tabs-settings label span { width:105px; }
#tz-chat-tabs-settings select { flex:1; min-width:0; max-width:280px; }
