@charset "utf-8";

body.theme-light { background: rgb(255, 255, 255); }

body.theme-light #server-rail { background: rgb(227, 229, 232); border-right-width: medium; border-right-style: none; border-right-color: currentcolor; }

body.theme-light .server-divider { background: rgb(196, 201, 206); }

body.theme-light .server-icon { background: rgb(255, 255, 255); color: rgb(49, 51, 56); box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px; }

body.theme-light .server-icon:hover { border-radius: 16px; background: rgb(255, 255, 255); }

body.theme-light .server-icon.home.active { background: rgb(88, 101, 242); color: rgb(255, 255, 255); }

body.theme-light .server-icon.add { background: rgb(227, 229, 232); color: rgb(35, 165, 89); }

body.theme-light #sidebar { background: rgb(227, 229, 232); color: rgb(49, 51, 56); }
body.theme-light .status-dot { border-color: rgb(227, 229, 232); }

body.theme-light .sidebar-header, body.theme-light .server-header-bar { background: rgb(227, 229, 232); color: rgb(49, 51, 56); border-bottom: 1px solid rgb(212, 215, 220); }

body.theme-light .channel-category, body.theme-light .category-header { color: rgb(92, 94, 102); }

body.theme-light .channel-item { color: rgb(49, 51, 56); }

body.theme-light .channel-item:hover { background: rgba(0, 0, 0, 0.05); }

body.theme-light .channel-item.active { background: rgb(212, 215, 220); color: rgb(6, 6, 7); }

body.theme-light .channel-item.voice-active { background: rgba(88, 101, 242, 0.1); color: rgb(71, 82, 196); }

body.theme-light .dm-list-item:hover { background: rgba(0, 0, 0, 0.05); }

body.theme-light .dm-name, body.theme-light .friend-name, body.theme-light .user-panel-name { color: rgb(49, 51, 56) !important; }

body.theme-light .dm-status, body.theme-light .friend-status, body.theme-light .user-panel-status { color: rgb(92, 94, 102) !important; }

body.theme-light .user-panel { background: rgb(219, 222, 225); }

body.theme-light .user-panel-settings { color: rgb(6, 6, 7) !important; }

body.theme-light .user-panel-settings:hover { color: rgb(6, 6, 7) !important; background: rgba(0, 0, 0, 0.06) !important; }

body.theme-light .voice-sidebar-controls { background: rgb(219, 222, 225); border-top: 1px solid rgb(196, 201, 206); }

body.theme-light .voice-subitem-name { color: rgb(49, 51, 56); }

body.theme-light .voice-channel-subitems { color: rgb(49, 51, 56); }

body.theme-light #main-content { background: rgb(255, 255, 255); color: rgb(49, 51, 56); }

body.theme-light .chat-header { background: rgb(255, 255, 255); color: rgb(49, 51, 56); border-bottom: 1px solid rgb(227, 229, 232); }

body.theme-light .friends-header { background: rgb(255, 255, 255); color: rgb(49, 51, 56); border-bottom: 1px solid rgb(227, 229, 232); }

body.theme-light .friends-tab { color: rgb(92, 94, 102); }

body.theme-light .friends-tab.active { background: rgb(227, 229, 232); color: rgb(49, 51, 56); }

body.theme-light .friend-row:hover { background: rgba(0, 0, 0, 0.04); }

body.theme-light .message-row:hover { background: rgba(0, 0, 0, 0.03); }

body.theme-light .message-text { color: rgb(49, 51, 56); }

body.theme-light .spoiler { background: rgb(212, 215, 220); color: transparent; }
body.theme-light .spoiler::after { background: rgb(212, 215, 220); }
body.theme-light .spoiler:hover::after { background: rgb(199, 202, 208); }
body.theme-light .spoiler.spoiler-shown { background: transparent; color: rgb(49, 51, 56); }
body.theme-light .spoiler.spoiler-shown::after { display: none; }

body.theme-light .profile-popup-section-text .spoiler, body.theme-light .profile-card-bio-text .spoiler { background: rgb(227, 229, 232); color: transparent; }
body.theme-light .profile-popup-section-text .spoiler::after, body.theme-light .profile-card-bio-text .spoiler::after { background: rgb(227, 229, 232); }
body.theme-light .profile-popup-section-text .spoiler:hover::after, body.theme-light .profile-card-bio-text .spoiler:hover::after { background: rgb(208, 211, 215); }
body.theme-light .profile-popup-section-text .spoiler.spoiler-shown, body.theme-light .profile-card-bio-text .spoiler.spoiler-shown { background: transparent; color: rgb(49, 51, 56); }
body.theme-light .profile-popup-section-text .spoiler.spoiler-shown::after, body.theme-light .profile-card-bio-text .spoiler.spoiler-shown::after { display: none; }

body.theme-light .message-author { color: rgb(49, 51, 56) !important; }

body.theme-light .message-time { color: rgb(92, 94, 102) !important; }

body.theme-dark .spoiler { background: rgb(16, 17, 19); color: transparent; }
body.theme-dark .spoiler::after { background: rgb(16, 17, 19); }
body.theme-dark .spoiler:hover::after { background: rgb(27, 29, 32); }
body.theme-dark .spoiler.spoiler-shown { background: transparent; color: rgb(220, 221, 222); }
body.theme-dark .spoiler.spoiler-shown::after { display: none; }
body.theme-dark .profile-popup-section-text .spoiler, body.theme-dark .profile-card-bio-text .spoiler { background: rgb(42, 44, 49); color: transparent; }
body.theme-dark .profile-popup-section-text .spoiler::after, body.theme-dark .profile-card-bio-text .spoiler::after { background: rgb(42, 44, 49); }
body.theme-dark .profile-popup-section-text .spoiler:hover::after, body.theme-dark .profile-card-bio-text .spoiler:hover::after { background: rgb(52, 55, 61); }
body.theme-dark .profile-popup-section-text .spoiler.spoiler-shown, body.theme-dark .profile-card-bio-text .spoiler.spoiler-shown { background: transparent; color: rgb(220, 221, 222); }
body.theme-dark .profile-popup-section-text .spoiler.spoiler-shown::after, body.theme-dark .profile-card-bio-text .spoiler.spoiler-shown::after { display: none; }

body.theme-dark #mobile-nav { background: rgb(16, 17, 19); border-top: 1px solid rgb(38, 39, 43); }
body.theme-dark #mobile-nav .mobile-nav-btn { color: rgb(142, 146, 151); }
body.theme-dark #mobile-nav .mobile-nav-btn:hover { color: rgb(220, 221, 222); }
body.theme-dark #mobile-nav .mobile-nav-btn.active { background: rgb(88, 101, 242); color: rgb(255, 255, 255); }
body.theme-dark #mobile-nav .mobile-nav-badge { border-color: rgb(16, 17, 19); }

body.theme-darker .spoiler { background: rgb(5, 5, 6); color: transparent; }
body.theme-darker .spoiler::after { background: rgb(5, 5, 6); }
body.theme-darker .spoiler:hover::after { background: rgb(17, 17, 18); }
body.theme-darker .spoiler.spoiler-shown { background: transparent; color: rgb(220, 221, 222); }
body.theme-darker .spoiler.spoiler-shown::after { display: none; }
body.theme-darker .profile-popup-section-text .spoiler, body.theme-darker .profile-card-bio-text .spoiler { background: rgb(28, 29, 33); color: transparent; }
body.theme-darker .profile-popup-section-text .spoiler::after, body.theme-darker .profile-card-bio-text .spoiler::after { background: rgb(28, 29, 33); }
body.theme-darker .profile-popup-section-text .spoiler:hover::after, body.theme-darker .profile-card-bio-text .spoiler:hover::after { background: rgb(38, 39, 43); }
body.theme-darker .profile-popup-section-text .spoiler.spoiler-shown, body.theme-darker .profile-card-bio-text .spoiler.spoiler-shown { background: transparent; color: rgb(220, 221, 222); }
body.theme-darker .profile-popup-section-text .spoiler.spoiler-shown::after, body.theme-darker .profile-card-bio-text .spoiler.spoiler-shown::after { display: none; }

body.theme-light .date-divider-text { color: rgb(92, 94, 102); }

body.theme-light .date-divider-line { background: rgb(212, 215, 220); }

body.theme-light .chat-input { background: rgb(255, 255, 255); }

body.theme-light .chat-input input, body.theme-light .chat-input textarea { background: rgb(235, 237, 239); color: rgb(49, 51, 56); border-color: rgb(235, 237, 239); }

body.theme-light .mention { background: rgba(88, 101, 242, 0.15); color: rgb(71, 82, 196); }

body.theme-light .own-mention { background: rgba(88, 101, 242, 0.25); }

body.theme-light #mobile-nav { background: rgb(227, 229, 232); border-top: 1px solid rgb(212, 215, 220); }
body.theme-light #mobile-nav .mobile-nav-btn { color: rgb(79, 84, 92); }
body.theme-light #mobile-nav .mobile-nav-btn:hover { color: rgb(49, 51, 56); }
body.theme-light #mobile-nav .mobile-nav-btn.active { background: rgb(88, 101, 242); color: rgb(255, 255, 255); }
body.theme-light #mobile-nav .mobile-nav-badge { border-color: rgb(227, 229, 232); }

body.theme-light .modal { background: rgb(255, 255, 255); color: rgb(49, 51, 56); box-shadow: rgba(0, 0, 0, 0.25) 0px 8px 24px; }

body.theme-light .modal h2 { color: rgb(6, 6, 7); }

body.theme-light .modal-close { color: rgb(49, 51, 56); background: rgb(227, 229, 232) !important; }

body.theme-light .settings-sidebar { background: rgb(227, 229, 232); color: rgb(49, 51, 56); }

body.theme-light .settings-main { background: rgb(255, 255, 255); color: rgb(49, 51, 56); }

body.theme-light .settings-sidebar button { color: rgb(49, 51, 56); }

body.theme-light .settings-sidebar button:hover { background: rgba(0, 0, 0, 0.06); }

body.theme-light .settings-sidebar button.active { background: rgb(212, 215, 220); }

body.theme-light .settings-sidebar button.btn-blurple { background: rgb(88, 101, 242) !important; color: rgb(255, 255, 255) !important; }

body.theme-light .settings-sidebar button.btn-blurple:hover { background: rgb(71, 82, 196) !important; color: rgb(255, 255, 255) !important; }

body.theme-light .field label { color: rgb(49, 51, 56); }

body.theme-light .field input, body.theme-light .field textarea, body.theme-light .field select { background: rgb(235, 237, 239) !important; color: rgb(49, 51, 56) !important; border-color: rgb(235, 237, 239) !important; }

body.theme-light .description { color: rgb(92, 94, 102) !important; }

body.theme-light .checkbox-row.toggle-row span:not(.toggle-track):not(.custom-dd-item-label) { color: rgb(49, 51, 56) !important; }

body.theme-light .toggle-track { background: rgb(128, 132, 142); }

body.theme-light input:checked + .toggle-track { background: rgb(35, 165, 89); }

body.theme-light .voice-panel { background: rgb(227, 229, 232); }

body.theme-light .voice-panel-controls { background: rgb(227, 229, 232); border-bottom: 1px solid rgb(212, 215, 220); }

body.theme-light .voice-panel-channel { color: rgb(49, 51, 56) !important; }

body.theme-light .voice-participant-name { color: rgb(49, 51, 56); }

body.theme-light .voice-participant-status { color: rgb(92, 94, 102); }

body.theme-light .voice-mute-badge { border-color: rgb(227, 229, 232); }

body.theme-light #voice-audio { display: none; }

body.theme-light .custom-dd-trigger { background: rgb(235, 237, 239); border-color: rgb(196, 201, 206); color: rgb(49, 51, 56); }

body.theme-light .custom-dd-menu { background: rgb(255, 255, 255); border-color: rgb(212, 215, 220); }

body.theme-light .custom-dd-item { color: rgb(49, 51, 56); }

body.theme-light .custom-dd-item:hover { background: rgb(235, 237, 239); }

body.theme-light .profile-popup { background: rgb(255, 255, 255); }

body.theme-light .profile-popup-body { background: rgb(255, 255, 255); color: rgb(49, 51, 56); }

body.theme-light .profile-popup-name { color: rgb(6, 6, 7) !important; }

body.theme-light .profile-popup-username { color: rgb(92, 94, 102) !important; }

body.theme-light ::-webkit-scrollbar-track { background: rgb(227, 229, 232); }

body.theme-light ::-webkit-scrollbar-thumb { background: rgb(196, 201, 206); }

body.theme-light .mobile-nav-home svg { color: #000; }

body.theme-light .server-icon.home:not(.active) img { filter: brightness(0) saturate(100%); }

body.theme-light .server-pill { background: rgb(92, 94, 102); }

body.theme-light .auth-card { background: rgb(255, 255, 255); color: rgb(49, 51, 56); box-shadow: rgba(0, 0, 0, 0.15) 0px 8px 24px; }

body.theme-light .auth-card h1 { color: rgb(6, 6, 7) !important; }

body.theme-light .auth-card p { color: rgb(92, 94, 102) !important; }

body.theme-light .auth-card label { color: rgb(49, 51, 56); }

body.theme-light .auth-card input { background: rgb(235, 237, 239) !important; color: rgb(49, 51, 56) !important; border-color: rgb(235, 237, 239) !important; }
body.theme-light .auth-verify-email { background: rgba(88, 101, 242, 0.08); border-color: rgba(88, 101, 242, 0.25); color: rgb(88, 101, 242); }
body.theme-light .auth-note { color: rgb(92, 94, 102); }

body.theme-light .switch-text { color: rgb(92, 94, 102) !important; }

body.theme-light #switch-link { color: rgb(0, 108, 231) !important; }

body.theme-light .req { color: rgb(218, 55, 60) !important; }

body.theme-light .discover-card { box-shadow: rgba(0, 0, 0, 0.08) 0px 1px 3px; background: rgb(255, 255, 255) !important; border: 1px solid rgb(212, 215, 220) !important; color: rgb(49, 51, 56) !important; }
body.theme-light .discover-card:hover { box-shadow: rgba(0,0,0,0.12) 0 4px 16px !important; border-color: rgb(88,101,242) !important; }

body.theme-light .discover-icon { border: 3px solid rgb(255, 255, 255) !important; background: rgb(255, 255, 255) !important; }

body.theme-light .discover-icon-fallback { border: 3px solid rgb(255, 255, 255) !important; }

body.theme-light .discover-online-dot { border-color: rgb(255, 255, 255) !important; }

body.theme-light .discover-name { color: rgb(6, 6, 7) !important; }

body.theme-light .discover-owner { color: rgb(92, 94, 102) !important; }

body.theme-light .discover-desc { color: rgb(78, 80, 88) !important; }

body.theme-light .discover-search-input { background: rgb(235, 237, 239) !important; color: rgb(49, 51, 56) !important; border: 1px solid rgb(212, 215, 220) !important; }

body.theme-light .discover-sort-btn { background: rgb(235, 237, 239) !important; color: rgb(49, 51, 56) !important; border: 1px solid rgb(212, 215, 220) !important; }

body.theme-light .discover-toolbar { color: rgb(49, 51, 56); }
body.theme-light .discover-count { color: rgb(92, 94, 102); }
body.theme-light .discover-section-label { color: rgb(78, 80, 88); }
body.theme-light .discover-tag { background: rgba(0,0,0,0.06); color: rgb(78, 80, 88); }
body.theme-light .discover-tag-online { background: rgba(59,165,93,0.12); color: rgb(35,165,90); }
body.theme-light .discover-empty h3 { color: rgb(49, 51, 56); }
body.theme-light .discover-empty p { color: rgb(92, 94, 102); }
body.theme-light .discover-empty-icon { color: rgb(160, 165, 175); }
body.theme-light .discover-skeleton .sk-banner { background: linear-gradient(90deg, rgb(225,227,230) 25%, rgb(240,241,243) 50%, rgb(225,227,230) 75%); background-size: 200% 100%; }
body.theme-light .discover-skeleton .sk-icon { background: rgb(225,227,230); border-color: rgb(255,255,255); }
body.theme-light .discover-skeleton .sk-line { background: rgb(225,227,230); }
body.theme-light .discover-skeleton .sk-btn { background: rgb(225,227,230); }

body.theme-light #verify-screen { background: rgb(227, 229, 232) !important; }

body.theme-light #verify-screen .auth-card, body.theme-light #verify-screen .auth-wrapper { background: rgb(255, 255, 255) !important; }

body.theme-light #verify-screen h1 { color: rgb(6, 6, 7) !important; }

body.theme-light #verify-screen p { color: rgb(92, 94, 102) !important; }

body.theme-light #verify-screen strong { color: rgb(49, 51, 56) !important; }

body.theme-light #verify-screen input { background: rgb(235, 237, 239) !important; color: rgb(49, 51, 56) !important; border-color: rgb(220, 221, 222) !important; }

body.theme-light [style*="background:#2f3136"] { background: rgb(242, 243, 245) !important; }

body.theme-light [style*="background:#36393f"] { background: rgb(255, 255, 255) !important; }

body.theme-light [style*="background:#202225"] { background: rgb(235, 237, 239) !important; }

body.theme-light [style*="background:#1e1f22"] { background: rgb(219, 222, 225) !important; }

body.theme-light [style*="background:#313338"] { background: rgb(227, 229, 232) !important; }

body.theme-light [style*="background:#40444b"] { background: rgb(212, 215, 220) !important; }

body.theme-light [style*="background:#18191c"] { background: rgb(227, 229, 232) !important; }

body.theme-light [style*="background:#1a1b1e"] { background: rgb(255, 255, 255) !important; border-color: rgb(196, 201, 206) !important; }

body.theme-light [style*="background:#232428"] { background: rgb(227, 229, 232) !important; }

body.theme-light .theme-card [style*="background:#1e1f22"] { background: rgb(30, 31, 34) !important; }

body.theme-light .theme-card [style*="background:#2b2d31"] { background: rgb(43, 45, 49) !important; }

body.theme-light .theme-card [style*="background:#313338"] { background: rgb(49, 51, 56) !important; }

body.theme-light .theme-card [style*="background:#0d0e10"] { background: rgb(13, 14, 16) !important; }

body.theme-light .theme-card [style*="background:#141517"] { background: rgb(20, 21, 23) !important; }

body.theme-light .theme-card [style*="background:#191a1d"] { background: rgb(25, 26, 29) !important; }

body.theme-light .theme-card [style*="background:#000000"] { background: rgb(0, 0, 0) !important; }

body.theme-light .theme-card [style*="background:#050506"] { background: rgb(5, 5, 6) !important; }

body.theme-light .theme-card [style*="background:#101010"] { background: rgb(16, 16, 16) !important; }

body.theme-light [style*="color:#fff"], body.theme-light [style*="color: #fff"], body.theme-light [style*="color:#ffffff"], body.theme-light [style*="color:#dcddde"], body.theme-light [style*="color:#e3e5e8"] { color: rgb(49, 51, 56) !important; }

body.theme-light [style*="color:#b9bbbe"], body.theme-light [style*="color:#72767d"], body.theme-light [style*="color:#8e9297"], body.theme-light [style*="color:#b5bac1"], body.theme-light [style*="color:#949ba4"] { color: rgb(92, 94, 102) !important; }

body.theme-light [style*="color:#00aff4"] { color: rgb(0, 108, 231) !important; }

body.theme-light [style*="color:#3ba55d"] { color: rgb(26, 127, 55) !important; }

body.theme-light [style*="color:#f0b232"] { color: rgb(160, 106, 8) !important; }

body.theme-light [style*="color:#ed4245"], body.theme-light [style*="color:#f04747"] { color: rgb(192, 53, 55) !important; }

body.theme-light :is([style*="background:#5865f2"], [style*="background:#ed4245"], [style*="background:#3ba55d"], [style*="background:#faa61a"], .btn-blurple, .btn-green, .btn-red, .voice-ctrl-btn.disconnect, .unread-badge, .rail-dm-badge, .voice-activity-indicator, .toast, .own-mention), body.theme-light :is([style*="background:#5865f2"], [style*="background:#ed4245"], [style*="background:#3ba55d"], .btn-blurple, .btn-green, .btn-red, .voice-ctrl-btn.disconnect, .unread-badge, .rail-dm-badge, .voice-activity-indicator, .toast) :is(span, div, p, b, strong, i, em, h1, h2, h3, h4) { color: rgb(255, 255, 255) !important; }

body.theme-light .sidebar-header { background: rgb(227, 229, 232); color: rgb(49, 51, 56) !important; }

body.theme-light .sidebar-header[style*="background:rgba(79,84,92"] { background: rgb(212, 215, 220) !important; }

body.theme-light .sidebar-header svg { color: inherit; }

body.theme-light .danger { color: rgb(192, 53, 55) !important; }

body.theme-light button.danger:hover, body.theme-light .settings-sidebar button.danger:hover { background: rgba(237, 66, 69, 0.12); }

body.theme-light .settings-sidebar button.danger { color: rgb(192, 53, 55) !important; }

body.theme-light .member-list { background: rgb(255, 255, 255); }

body.theme-light .member-list::-webkit-scrollbar-thumb { background: rgb(196, 201, 206); }

body.theme-light .member-row:hover { background: rgba(0, 0, 0, 0.04); }

body.theme-light .member-section-header { background: transparent; color: rgb(92, 94, 102) !important; }

body.theme-light .member-custom { color: rgb(92, 94, 102) !important; }

body.theme-light .dropdown-menu, body.theme-light .context-menu, body.theme-light .msg-context-menu, body.theme-light .mention-popup, body.theme-light .emoji-picker, body.theme-light .chat-plus-menu, body.theme-light .auth-suggestions { box-shadow: rgba(0, 0, 0, 0.18) 0px 8px 16px; background: rgb(255, 255, 255) !important; border-color: rgb(212, 215, 220) !important; }

body.theme-light .dropdown-item, body.theme-light .msg-context-item, body.theme-light .chat-plus-item { color: rgb(49, 51, 56) !important; }

body.theme-light .dropdown-item.danger, body.theme-light .msg-context-item.danger { color: rgb(192, 53, 55) !important; }

body.theme-light .dropdown-item.danger:hover, body.theme-light .msg-context-item.danger:hover { background: rgba(237, 66, 69, 0.12) !important; color: rgb(192, 53, 55) !important; }

body.theme-light .dropdown-item:not(.danger) svg, body.theme-light .msg-context-item:not(.danger) svg, body.theme-light .chat-plus-item .chat-plus-icon { color: rgb(6, 6, 7) !important; }

body.theme-light .dropdown-item:hover, body.theme-light .msg-context-item:hover, body.theme-light .chat-plus-item:hover, body.theme-light .emoji-picker-item:hover { background: rgb(235, 237, 239) !important; }

body.theme-light .dropdown-divider, body.theme-light .msg-context-divider { background: rgb(212, 215, 220); }

body.theme-light .settings-row { background: transparent; color: rgb(49, 51, 56); }

body.theme-light .settings-row:hover { background: rgba(0, 0, 0, 0.05); }

body.theme-light .settings-row-label { color: rgb(49, 51, 56) !important; }

body.theme-light .settings-row-icon { color: rgb(6, 6, 7) !important; }

body.theme-light .settings-row.danger .settings-row-icon, body.theme-light button.danger .settings-row-icon { color: rgb(192, 53, 55) !important; }

body.theme-light .settings-row-chevron { color: rgb(128, 132, 142); }

body.theme-light .message-reaction { background: rgb(235, 237, 239) !important; border-color: rgb(212, 215, 220) !important; }

body.theme-light .message-reaction:hover { border-color: rgb(181, 186, 193) !important; }

body.theme-light .new-messages-button { background: rgb(88, 101, 242) !important; color: rgb(255, 255, 255) !important; }

body.theme-light .typing-indicator { color: rgb(92, 94, 102) !important; }

body.theme-light .welcome-screen, body.theme-light .welcome-screen * { color: rgb(49, 51, 56) !important; }

body.theme-light .role-badge { background: rgba(0, 0, 0, 0.06) !important; color: rgb(92, 94, 102) !important; }

body.theme-light .action-icon-btn, body.theme-light .reorder-btn { color: rgb(92, 94, 102) !important; }

body.theme-light .action-icon-btn:hover, body.theme-light .reorder-btn:hover { background: rgba(0, 0, 0, 0.07); color: rgb(49, 51, 56) !important; }

body.theme-light .friends-tab.active { color: rgb(49, 51, 56) !important; }

body.theme-light .duration-option, body.theme-light .channel-type-option { background: rgb(242, 243, 245) !important; border-color: rgb(212, 215, 220) !important; color: rgb(49, 51, 56) !important; }

body.theme-light .duration-option.selected, body.theme-light .channel-type-option.selected { border-color: rgb(88, 101, 242) !important; }

body.theme-light .profile-popup-section-text, body.theme-light .profile-card-bio-text { color: rgb(49, 51, 56) !important; }

body.theme-light input[type="range"] { accent-color: rgb(88, 101, 242); }

body.theme-light .voice-panel-list { background: transparent; }

body.theme-light .chat-input-box { background: rgb(235, 237, 239) !important; border-color: rgb(220, 221, 222) !important; }

body.theme-light .chat-input-box textarea, body.theme-light .chat-input-box input { color: rgb(49, 51, 56) !important; caret-color: rgb(49, 51, 56); }

body.theme-light .chat-input-box textarea::placeholder, body.theme-light .chat-input-box input::placeholder { color: rgb(128, 132, 142) !important; }

body.theme-light .chat-input-btn { color: rgb(92, 94, 102) !important; }

body.theme-light .chat-input-btn:hover { color: rgb(49, 51, 56) !important; }

body.theme-light .date-divider, body.theme-light .new-messages-divider { color: rgb(92, 94, 102) !important; }

body.theme-light .date-divider-line, body.theme-light .new-messages-divider-line { background: rgb(212, 215, 220) !important; }

body.theme-light .date-divider-text { background: rgb(255, 255, 255) !important; color: rgb(92, 94, 102) !important; }

body.theme-light .modal-footer { border-top: 1px solid rgb(227, 229, 232); background: rgb(242, 243, 245) !important; }

body.theme-light .modal-footer .btn-gray, body.theme-light .btn-gray { background: rgb(212, 215, 220) !important; color: rgb(49, 51, 56) !important; }

body.theme-light .modal-footer button:hover { filter: brightness(0.96); }

body.theme-light .modal-header { border-bottom-color: rgb(227, 229, 232); }

body.theme-light .modal-header h2 { color: rgb(6, 6, 7) !important; }

body.theme-light .modal-body { color: rgb(49, 51, 56); }

body.theme-light #auth-screen { background: rgb(227, 229, 232) !important; }

body.theme-light #app-screen { background: rgb(255, 255, 255) !important; }

body.theme-light .auth-wrapper { box-shadow: rgba(0, 0, 0, 0.15) 0px 8px 24px; background: rgb(255, 255, 255) !important; }

body.theme-light .auth-qr-panel { background: rgb(255, 255, 255) !important; border-color: rgb(212, 215, 220) !important; }

body.theme-light .auth-qr-expired, body.theme-light .auth-qr-expired button { color: rgb(49, 51, 56) !important; }

body.theme-light .auth-locked { background: rgb(253, 233, 235) !important; color: rgb(192, 53, 55) !important; border-color: rgb(237, 66, 69) !important; }

body.theme-light .auth-locked strong { color: rgb(192, 53, 55) !important; }

body.theme-light .poll-widget { background: rgb(242, 243, 245) !important; border-color: rgb(227, 229, 232) !important; }

body.theme-light .poll-question { color: rgb(6, 6, 7) !important; }

body.theme-light .poll-count, body.theme-light .poll-option-pct, body.theme-light .poll-footnote { color: rgb(92, 94, 102) !important; }

body.theme-light .poll-option { background: rgb(255, 255, 255) !important; }

body.theme-light .poll-option:hover { border-color: rgb(88, 101, 242) !important; }

body.theme-light .poll-option-text { color: rgb(49, 51, 56) !important; }

body.theme-light .poll-bar { background: rgba(88, 101, 242, 0.28) !important; }

body.theme-light .poll-duration-menu { background: #fff !important; border-color: #d5d8db !important; }
body.theme-light .poll-duration-item { color: #4e5058 !important; }
body.theme-light .poll-duration-item:hover, body.theme-light .poll-duration-item.active { background: #5865f2 !important; color: #fff !important; }
body.theme-light .poll-question-input { background: #e3e5e8 !important; border-color: #d5d8db !important; color: #313338 !important; }
body.theme-light .poll-editor-row input { background: #e3e5e8 !important; border-color: #d5d8db !important; color: #313338 !important; }

body.theme-light .search-modal-input { background: rgb(255, 255, 255) !important; color: rgb(49, 51, 56) !important; border-color: rgb(212, 215, 220) !important; }

body.theme-light .search-modal-input::placeholder { color: rgb(128, 132, 142) !important; }

body.theme-light .search-result-row { background: rgb(242, 243, 245) !important; }

body.theme-light .search-result-row:hover { background: rgb(227, 229, 232) !important; }

body.theme-light .forward-preview { background: rgb(242, 243, 245) !important; border-color: rgb(227, 229, 232) !important; }

body.theme-light .forward-preview-icon, body.theme-light .forward-preview-title { color: rgb(92, 94, 102) !important; }

body.theme-light .forward-preview-content { color: rgb(49, 51, 56) !important; }

body.theme-light .forward-dest-row { background: rgb(242, 243, 245) !important; }

body.theme-light .forward-dest-row:hover { background: rgb(227, 229, 232) !important; }

body.theme-light .forward-dest-icon { background: rgb(227, 229, 232) !important; color: rgb(92, 94, 102) !important; }

body.theme-light .reply-banner { background: rgb(242, 243, 245) !important; }

body.theme-light .reply-banner-cancel, body.theme-light .reply-banner-cancel:hover, body.theme-light .reply-banner-ping, body.theme-light .reply-banner-ping:hover { color: rgb(92, 94, 102) !important; }

body.theme-light .reply-banner-ping:hover { border-color: rgb(181, 186, 193) !important; }

body.theme-light .reply-banner-ping.active, body.theme-light .reply-banner-ping.active:hover { background: rgb(88, 101, 242) !important; color: rgb(255, 255, 255) !important; border-color: rgb(88, 101, 242) !important; }

body.theme-light .reply-banner-ping:not(.active) .reply-banner-ping-state { color: rgb(128, 132, 142) !important; }

body.theme-light .reply-banner-chip span { color: rgb(49, 51, 56) !important; }

body.theme-light .edit-message-bar { background: rgb(242, 243, 245) !important; color: rgb(92, 94, 102) !important; }

body.theme-light .edit-message-bar textarea, body.theme-light .edit-message-bar input { background: rgb(255, 255, 255) !important; color: rgb(49, 51, 56) !important; }

body.theme-light .edit-message-bar .esc-hint { color: rgb(92, 94, 102) !important; }

body.theme-light .ban-row { background: rgb(255, 255, 255) !important; border-color: rgb(227, 229, 232) !important; }

body.theme-light .msg-context-emoji { background: rgb(235, 237, 239) !important; }

body.theme-light .msg-context-emoji:hover { background: rgb(227, 229, 232) !important; border-color: rgb(88, 101, 242) !important; }

body.theme-light .message-reaction { color: rgb(49, 51, 56) !important; }

body.theme-light .message-reaction.mine { color: rgb(88, 101, 242) !important; }

body.theme-light .profile-card { background: rgb(255, 255, 255) !important; }

body.theme-light .profile-card-name { color: rgb(6, 6, 7) !important; }

body.theme-light .profile-card-username, body.theme-light .profile-card-meta { color: rgb(92, 94, 102) !important; }

body.theme-light .profile-card-bio { background: rgb(242, 243, 245) !important; }

body.theme-light .profile-card-bio-label { color: rgb(92, 94, 102) !important; }

body.theme-light .profile-card-bio-text { color: rgb(49, 51, 56) !important; }

body.theme-light .profile-popup-section { background: rgb(242, 243, 245) !important; }

body.theme-light .profile-popup-section-label, body.theme-light .profile-popup-meta { color: rgb(92, 94, 102) !important; }

body.theme-light .profile-popup-action-btn.gray { background: rgb(212, 215, 220) !important; color: rgb(49, 51, 56) !important; }

body.theme-light .profile-popup-dropdown { background: rgb(255, 255, 255) !important; border-color: rgb(212, 215, 220) !important; }

body.theme-light .profile-popup-dropdown-item { color: rgb(49, 51, 56) !important; }

body.theme-light .profile-popup-dropdown-item:hover { background: rgb(235, 237, 239) !important; color: rgb(49, 51, 56) !important; }

body.theme-light .gif-picker { background: rgb(242, 243, 245) !important; border-color: rgb(212, 215, 220) !important; }

body.theme-light .gif-picker-title, body.theme-light .gif-picker-head { color: rgb(49, 51, 56) !important; }

body.theme-light .gif-picker-grid::-webkit-scrollbar-thumb { background: rgb(212, 215, 220) !important; }

body.theme-light .gif-picker-search { background: rgb(255, 255, 255) !important; color: rgb(49, 51, 56) !important; border-color: rgb(212, 215, 220) !important; }

body.theme-light .gif-picker-search::placeholder { color: rgb(128, 132, 142) !important; }

body.theme-light .gif-picker-empty { color: rgb(92, 94, 102) !important; }

body.theme-light .gif-tab { color: rgb(78, 80, 88) !important; }

body.theme-light .gif-tab:hover { background: rgba(0, 0, 0, 0.08) !important; color: rgb(49, 51, 56) !important; }

body.theme-light .gif-tab.active { background: rgb(88, 101, 242) !important; color: rgb(255, 255, 255) !important; }

body.theme-light .gif-btn { color: rgb(92, 94, 102) !important; }

body.theme-light .gif-btn:hover, body.theme-light .gif-btn.gif-active { background: none !important; color: rgb(92, 94, 102) !important; }

body.theme-light .toast { background: rgb(255, 255, 255) !important; color: rgb(6, 6, 7) !important; border-color: rgb(212, 215, 220) !important; box-shadow: rgba(0, 0, 0, 0.18) 0px 8px 16px !important; }

body.theme-light .toast :is(span, div, p, b, strong, i, em, h1, h2, h3, h4) { color: rgb(6, 6, 7) !important; }

body.theme-light #toast-container .toast, body.theme-light #toast-container .toast * { color: rgb(6, 6, 7) !important; }

body.theme-light .toast.success { border-left-color: rgb(59, 165, 93) !important; }

body.theme-light .toast.error { border-left-color: rgb(237, 66, 69) !important; }

body.theme-light .typing-indicator { background: transparent !important; color: rgb(92, 94, 102) !important; }

body.theme-light .action-icon-btn:not(.accept):not(.decline) { background: rgba(0, 0, 0, 0.05); border-color: rgb(212, 215, 220); }

body.theme-light .action-icon-btn:not(.accept):not(.decline):hover { background: rgba(0, 0, 0, 0.07); border-color: rgb(92, 94, 102); }

body.theme-light .friends-title, body.theme-light .settings-main h2, body.theme-light .modal-body h3, body.theme-light .channel-type-name { color: rgb(6, 6, 7) !important; }

body.theme-light .duration-option.selected, body.theme-light .channel-type-option.selected { color: rgb(49, 51, 56) !important; }

body.theme-light .member-name, body.theme-light .member-name.owner { color: rgb(49, 51, 56) !important; }

body.theme-light .friends-divider { background: rgb(212, 215, 220) !important; }

body.theme-light .message-reply, body.theme-light .message-pin-badge, body.theme-light .message-pin-badge svg, body.theme-light .message-forward-badge, body.theme-light .message-forward-badge svg, body.theme-light .chat-input-send { color: rgb(92, 94, 102) !important; }

body.theme-light .chat-input-send:hover { color: rgb(49, 51, 56) !important; }

body.theme-light .message-reply::before { background: rgb(212, 215, 220) !important; }

body.theme-light .channel-category, body.theme-light .category-header { color: rgb(92, 94, 102) !important; }

body.theme-light [style*="background:#4f545c"] { background: rgb(212, 215, 220) !important; }

body.theme-light [style*="background:#2b2d31"] { background: rgb(255, 255, 255) !important; }

body.theme-light [style*="background:#4f2323"] { background: rgb(253, 233, 235) !important; }

body.theme-light [style*="color:#00a8fc"] { color: rgb(0, 108, 231) !important; }

body.theme-light [style*="color:#f23f42"] { color: rgb(192, 53, 55) !important; }

body.theme-light [style*="color:#f83050"] { color: rgb(192, 53, 55) !important; }

body.theme-light [style*="color:#8ea1ff"] { color: rgb(71, 82, 196) !important; }

body.theme-dark [style*="background:#2b2d31"] { background: rgb(28, 29, 33) !important; }

body.theme-darker [style*="background:#2b2d31"] { background: rgb(10, 10, 11) !important; }

body.theme-dark [style*="background:#2f3136"] { background: rgb(28, 29, 33) !important; }

body.theme-dark [style*="background:#36393f"] { background: rgb(23, 24, 27) !important; }

body.theme-dark [style*="background:#202225"] { background: rgb(16, 17, 19) !important; }

body.theme-dark [style*="background:#1e1f22"] { background: rgb(13, 14, 16) !important; }

body.theme-dark [style*="background:#18191c"] { background: rgb(13, 14, 16) !important; }

body.theme-dark [style*="background:#1a1b1e"] { background: rgb(25, 26, 29) !important; border-color: rgb(38, 39, 43) !important; }

body.theme-darker [style*="background:#2f3136"] { background: rgb(10, 10, 11) !important; }

body.theme-darker [style*="background:#36393f"] { background: rgb(5, 5, 6) !important; }

body.theme-darker [style*="background:#202225"] { background: rgb(0, 0, 0) !important; }

body.theme-darker [style*="background:#1e1f22"] { background: rgb(0, 0, 0) !important; }

body.theme-darker [style*="background:#18191c"] { background: rgb(0, 0, 0) !important; }

body.theme-darker [style*="background:#1a1b1e"] { background: rgb(10, 10, 11) !important; border-color: rgb(34, 34, 34) !important; }

body.theme-dark .chat-input-box { background: rgb(16, 17, 19) !important; border-color: rgb(38, 39, 43) !important; }

body.theme-dark .modal-footer { border-top: 1px solid rgb(16, 17, 19); background: rgb(20, 21, 23) !important; }

body.theme-dark .date-divider-text, body.theme-dark .new-messages-divider { color: rgb(124, 128, 135) !important; background: rgb(25, 26, 29) !important; }

body.theme-dark .date-divider-line, body.theme-dark .new-messages-divider-line { background: rgb(38, 39, 43) !important; }

body.theme-dark .member-list { background: rgb(20, 21, 23) !important; }

body.theme-dark .profile-card { background: rgb(23, 24, 27) !important; }

body.theme-dark .sidebar-header[style*="rgba(79,84,92"] { background: rgb(28, 29, 33) !important; }

body.theme-dark .btn-gray, body.theme-dark .modal-footer .btn-gray { background: rgb(42, 44, 49) !important; color: rgb(220, 221, 222) !important; }

body.theme-dark [style*="background:#4f545c"] { background: rgb(42, 44, 49) !important; }

body.theme-dark [style*="background:#40444b"] { background: rgb(34, 35, 39) !important; }

body.theme-dark .toast { background: rgb(28, 29, 33) !important; color: rgb(220, 221, 222) !important; border-color: rgb(38, 39, 43) !important; }

body.theme-dark .toast.success { border-left-color: rgb(59, 165, 93) !important; }

body.theme-dark .toast.error { border-left-color: rgb(237, 66, 69) !important; }

body.theme-dark .poll-editor-row input, body.theme-dark .poll-question-input { background: rgb(13, 14, 16) !important; border-color: rgb(38, 39, 43) !important; color: rgb(220, 221, 222) !important; }
body.theme-dark .poll-editor-num { border-color: rgb(38, 39, 43) !important; color: rgb(185, 187, 190) !important; }
body.theme-dark .poll-editor-remove { color: rgb(185, 187, 190) !important; }
body.theme-dark .poll-editor-remove:hover { color: rgb(220, 221, 222) !important; }

body.theme-darker .chat-input-box { background: rgb(5, 5, 6) !important; border-color: rgb(38, 39, 43) !important; }

body.theme-darker .poll-editor-row input, body.theme-darker .poll-question-input { background: rgb(0, 0, 0) !important; border-color: rgb(34, 34, 34) !important; color: rgb(220, 221, 222) !important; }
body.theme-darker .poll-editor-num { border-color: rgb(34, 34, 34) !important; color: rgb(185, 187, 190) !important; }
body.theme-darker .poll-editor-remove { color: rgb(185, 187, 190) !important; }
body.theme-darker .poll-editor-remove:hover { color: rgb(220, 221, 222) !important; }

body.theme-darker .chat-input-box { background: rgb(5, 5, 6) !important; border-color: rgb(38, 39, 43) !important; }

body.theme-darker .modal-footer { background: rgb(0, 0, 0) !important; border-top: 1px solid rgb(17, 17, 17) !important; }

body.theme-darker .modal-header { border-bottom-color: rgb(17, 17, 17) !important; }

body.theme-darker .date-divider, body.theme-darker .new-messages-divider { color: rgb(107, 112, 120) !important; }

body.theme-darker .date-divider-text, body.theme-darker .new-messages-divider { background: rgb(0, 0, 0) !important; }

body.theme-darker .date-divider-line, body.theme-darker .new-messages-divider-line { background: rgb(34, 34, 34) !important; }

body.theme-darker .member-list { border-left: 1px solid rgb(17, 17, 17); background: rgb(5, 5, 6) !important; }

body.theme-darker .profile-card { background: rgb(10, 10, 11) !important; }

body.theme-darker .sidebar-header[style*="rgba(79,84,92"] { background: rgb(10, 10, 11) !important; }

body.theme-darker .btn-gray, body.theme-darker .modal-footer .btn-gray { background: rgb(22, 22, 24) !important; color: rgb(181, 186, 193) !important; }

body.theme-darker [style*="background:#4f545c"] { background: rgb(17, 18, 20) !important; }

body.theme-darker [style*="background:#40444b"] { background: rgb(13, 14, 16) !important; }

body.theme-darker .toast { background: rgb(10, 10, 11) !important; color: rgb(220, 221, 222) !important; border-color: rgb(34, 34, 34) !important; }

body.theme-darker .toast.success { border-left-color: rgb(59, 165, 93) !important; }

body.theme-darker .toast.error { border-left-color: rgb(237, 66, 69) !important; }

body.theme-darker .mention { background: rgba(88, 101, 242, 0.28); }

body.theme-darker .own-mention { background: rgba(88, 101, 242, 0.42); }

body.theme-dark .poll-widget { background: rgb(28, 29, 33) !important; border-color: rgb(16, 17, 19) !important; }

body.theme-dark .poll-option { background: rgb(20, 21, 23) !important; }

body.theme-dark .poll-option-text { color: rgb(220, 221, 222) !important; }

body.theme-dark .poll-bar { background: rgba(88, 101, 242, 0.32) !important; }
body.theme-dark .poll-duration-menu { background: rgb(28, 29, 33) !important; border-color: rgb(16, 17, 19) !important; }
body.theme-dark .poll-duration-item { color: rgb(185, 187, 190) !important; }
body.theme-dark .poll-duration-item:hover, body.theme-dark .poll-duration-item.active { background: #5865f2 !important; color: #fff !important; }
body.theme-dark .poll-question-input { background: rgb(13, 14, 16) !important; border-color: rgb(38, 39, 43) !important; color: rgb(220, 221, 222) !important; }
body.theme-dark .poll-editor-row input { background: rgb(13, 14, 16) !important; border-color: rgb(38, 39, 43) !important; color: rgb(220, 221, 222) !important; }

body.theme-darker .poll-widget { background: rgb(10, 10, 11) !important; border-color: rgb(0, 0, 0) !important; }

body.theme-darker .poll-option { background: rgb(5, 5, 6) !important; }

body.theme-darker .poll-option-text { color: rgb(220, 221, 222) !important; }

body.theme-darker .poll-bar { background: rgba(88, 101, 242, 0.35) !important; }
body.theme-darker .poll-duration-menu { background: rgb(10, 10, 11) !important; border-color: rgb(0, 0, 0) !important; }
body.theme-darker .poll-duration-item { color: rgb(185, 187, 190) !important; }
body.theme-darker .poll-duration-item:hover, body.theme-darker .poll-duration-item.active { background: #5865f2 !important; color: #fff !important; }
body.theme-darker .poll-question-input { background: rgb(0, 0, 0) !important; border-color: rgb(34, 34, 34) !important; color: rgb(220, 221, 222) !important; }
body.theme-darker .poll-editor-row input { background: rgb(0, 0, 0) !important; border-color: rgb(34, 34, 34) !important; color: rgb(220, 221, 222) !important; }

body.theme-dark .gif-picker { background: rgb(28, 29, 33) !important; border-color: rgb(16, 17, 19) !important; }

body.theme-dark .gif-picker-grid::-webkit-scrollbar-thumb { background: rgb(16, 17, 19) !important; }

body.theme-dark .gif-picker-search { background: rgb(13, 14, 16) !important; border-color: rgb(38, 39, 43) !important; color: rgb(220, 221, 222) !important; }

body.theme-dark .gif-picker-title { color: rgb(220, 221, 222) !important; }

body.theme-darker .gif-picker { background: rgb(10, 10, 11) !important; border-color: rgb(0, 0, 0) !important; }

body.theme-darker .gif-picker-grid::-webkit-scrollbar-thumb { background: rgb(0, 0, 0) !important; }

body.theme-darker .gif-picker-search { background: rgb(0, 0, 0) !important; border-color: rgb(34, 34, 34) !important; color: rgb(220, 221, 222) !important; }

body.theme-darker .gif-picker-title { color: rgb(220, 221, 222) !important; }

body.theme-dark .emoji-picker { background: rgb(28, 29, 33) !important; border: 1px solid rgb(16, 17, 19) !important; }

body.theme-dark .emoji-picker-item:hover { background: rgba(255, 255, 255, 0.08) !important; }

body.theme-darker .emoji-picker { background: rgb(10, 10, 11) !important; border: 1px solid rgb(0, 0, 0) !important; }

body.theme-darker .emoji-picker-item:hover { background: rgba(255, 255, 255, 0.06) !important; }

body.theme-dark .modal { background: rgb(20, 21, 23) !important; }

body.theme-dark .modal-header { border-bottom-color: rgb(16, 17, 19) !important; }

body.theme-dark .field input, body.theme-dark .field textarea, body.theme-dark .field select, body.theme-dark .channel-type-option, body.theme-dark .duration-option { background: rgb(13, 14, 16) !important; border-color: rgb(38, 39, 43) !important; color: rgb(220, 221, 222) !important; }

body.theme-dark .channel-type-option.selected, body.theme-dark .duration-option.selected { border-color: rgb(88, 101, 242) !important; }

body.theme-darker .modal { background: rgb(5, 5, 6) !important; }

body.theme-darker .modal-header { border-bottom-color: rgb(17, 17, 17) !important; }

body.theme-darker .field input, body.theme-darker .field textarea, body.theme-darker .field select, body.theme-darker .channel-type-option, body.theme-darker .duration-option { background: rgb(0, 0, 0) !important; border-color: rgb(34, 34, 34) !important; color: rgb(220, 221, 222) !important; }

body.theme-darker .channel-type-option.selected, body.theme-darker .duration-option.selected { border-color: rgb(88, 101, 242) !important; }

body.theme-dark .friends-header { background: rgb(25, 26, 29) !important; border-bottom-color: rgb(16, 17, 19) !important; }

body.theme-dark .friends-tab { color: rgb(185, 187, 190) !important; }

body.theme-dark .friends-tab.active { background: rgb(28, 29, 33) !important; color: rgb(255, 255, 255) !important; }

body.theme-darker .friends-header { background: rgb(5, 5, 6) !important; border-bottom-color: rgb(0, 0, 0) !important; }

body.theme-darker .friends-tab { color: rgb(142, 146, 151) !important; }

body.theme-darker .friends-tab.active { background: rgb(10, 10, 11) !important; color: rgb(255, 255, 255) !important; }

body.theme-dark .voice-sidebar-controls { background: rgb(16, 17, 19) !important; border-top-color: rgb(10, 11, 12) !important; }

body.theme-dark .user-panel { background: rgb(16, 17, 19) !important; }

body.theme-darker .voice-sidebar-controls { background: rgb(0, 0, 0) !important; border-top-color: rgb(17, 17, 17) !important; }

body.theme-darker .user-panel { background: rgb(0, 0, 0) !important; }

body.theme-dark .dropdown-menu { background: rgb(28, 29, 33) !important; border-color: rgb(16, 17, 19) !important; box-shadow: rgba(0, 0, 0, 0.4) 0px 8px 16px !important; }

body.theme-dark .chat-plus-menu { background: rgb(28, 29, 33) !important; border-color: rgb(16, 17, 19) !important; }

body.theme-dark .dropdown-item { color: rgb(220, 221, 222) !important; }

body.theme-dark .chat-plus-item { color: rgb(220, 221, 222) !important; }

body.theme-dark .chat-plus-item .chat-plus-icon { color: rgb(185, 187, 190) !important; }

body.theme-dark .dropdown-item:hover { background: rgb(20, 21, 23) !important; }

body.theme-dark .dropdown-divider { background: rgb(16, 17, 19) !important; }

body.theme-dark .msg-context-menu { background: rgb(28, 29, 33) !important; border-color: rgb(16, 17, 19) !important; }

body.theme-dark .msg-context-item { color: rgb(220, 221, 222) !important; }

body.theme-dark .msg-context-item:hover { background: rgb(20, 21, 23) !important; }

body.theme-dark .msg-context-item.danger { color: rgb(237, 66, 69) !important; }

body.theme-dark .msg-context-item.danger:hover { background: rgba(237, 66, 69, 0.12) !important; color: rgb(237, 66, 69) !important; }

body.theme-dark .dropdown-item.danger { color: rgb(237, 66, 69) !important; }

body.theme-dark .msg-context-divider { background: rgb(16, 17, 19) !important; }

body.theme-dark .msg-context-emoji { background: rgb(20, 21, 23) !important; }

body.theme-dark .msg-context-emoji:hover { background: rgb(38, 39, 43) !important; border-color: rgb(88, 101, 242) !important; }

body.theme-dark .search-modal-input { background: rgb(13, 14, 16) !important; border-color: rgb(38, 39, 43) !important; color: rgb(220, 221, 222) !important; }

body.theme-dark .search-modal-input::placeholder { color: rgb(114, 118, 125) !important; }

body.theme-dark .theme-card [style*="background:#1e1f22"] { background: rgb(30, 31, 34) !important; }

body.theme-dark .theme-card [style*="background:#2b2d31"] { background: rgb(43, 45, 49) !important; }

body.theme-dark .theme-card [style*="background:#313338"] { background: rgb(49, 51, 56) !important; }

body.theme-dark .theme-card [style*="background:#2f3136"] { background: rgb(47, 49, 54) !important; }

body.theme-dark .theme-card [style*="background:#36393f"] { background: rgb(54, 57, 63) !important; }

body.theme-dark .theme-card [style*="background:#202225"] { background: rgb(32, 34, 37) !important; }

body.theme-dark .theme-card [style*="background:#1a1b1e"] { background: rgb(26, 27, 30) !important; }

body.theme-darker .dropdown-menu { background: rgb(10, 10, 11) !important; border-color: rgb(0, 0, 0) !important; box-shadow: rgba(0, 0, 0, 0.6) 0px 8px 16px !important; }

body.theme-darker .chat-plus-menu { background: rgb(10, 10, 11) !important; border-color: rgb(0, 0, 0) !important; }

body.theme-darker .dropdown-item { color: rgb(220, 221, 222) !important; }

body.theme-darker .chat-plus-item { color: rgb(220, 221, 222) !important; }

body.theme-darker .chat-plus-item .chat-plus-icon { color: rgb(114, 118, 125) !important; }

body.theme-darker .dropdown-item:hover { background: rgb(5, 5, 6) !important; }

body.theme-darker .dropdown-divider { background: rgb(0, 0, 0) !important; }

body.theme-darker .msg-context-menu { background: rgb(10, 10, 11) !important; border-color: rgb(0, 0, 0) !important; }

body.theme-darker .msg-context-item { color: rgb(220, 221, 222) !important; }

body.theme-darker .msg-context-item:hover { background: rgb(5, 5, 6) !important; }

body.theme-darker .msg-context-item.danger { color: rgb(237, 66, 69) !important; }

body.theme-darker .msg-context-item.danger:hover { background: rgba(237, 66, 69, 0.12) !important; color: rgb(237, 66, 69) !important; }

body.theme-darker .dropdown-item.danger { color: rgb(237, 66, 69) !important; }

body.theme-darker .msg-context-divider { background: rgb(0, 0, 0) !important; }

body.theme-darker .msg-context-emoji { background: rgb(5, 5, 6) !important; }

body.theme-darker .msg-context-emoji:hover { background: rgb(17, 17, 17) !important; border-color: rgb(88, 101, 242) !important; }

body.theme-darker .search-modal-input { background: rgb(0, 0, 0) !important; border-color: rgb(34, 34, 34) !important; color: rgb(220, 221, 222) !important; }

body.theme-darker .search-modal-input::placeholder { color: rgb(107, 112, 120) !important; }

body.theme-darker .theme-card [style*="background:#1e1f22"] { background: rgb(30, 31, 34) !important; }

body.theme-darker .theme-card [style*="background:#2b2d31"] { background: rgb(43, 45, 49) !important; }

body.theme-darker .theme-card [style*="background:#313338"] { background: rgb(49, 51, 56) !important; }

body.theme-darker .theme-card [style*="background:#2f3136"] { background: rgb(47, 49, 54) !important; }

body.theme-darker .theme-card [style*="background:#36393f"] { background: rgb(54, 57, 63) !important; }

body.theme-darker .theme-card [style*="background:#202225"] { background: rgb(32, 34, 37) !important; }

body.theme-darker .theme-card [style*="background:#1a1b1e"] { background: rgb(26, 27, 30) !important; }

body.theme-light { background: rgb(235, 237, 239); }

body.theme-light .admin-layout { background: rgb(242, 243, 245); }

body.theme-light .admin-main { background: rgb(255, 255, 255); color: rgb(49, 51, 56); }

body.theme-light .admin-sidebar { background: rgb(227, 229, 232); border-right-color: rgb(212, 215, 220); }

body.theme-light .admin-sidebar-header { color: rgb(6, 6, 7) !important; border-bottom-color: rgb(212, 215, 220) !important; }

body.theme-light .admin-nav-item { color: rgb(49, 51, 56) !important; }

body.theme-light .admin-nav-item:hover { background: rgba(0, 0, 0, 0.05) !important; }

body.theme-light .admin-nav-item.active { background: rgb(212, 215, 220) !important; color: rgb(6, 6, 7) !important; }

body.theme-light .admin-sidebar-footer { color: rgb(92, 94, 102) !important; }

body.theme-light .admin-main h1, body.theme-light .admin-main h2, body.theme-light .admin-main h3 { color: rgb(6, 6, 7) !important; }

body.theme-light .stat-card { box-shadow: rgba(0, 0, 0, 0.08) 0px 1px 3px; background: rgb(255, 255, 255) !important; color: rgb(49, 51, 56) !important; border: 1px solid rgb(227, 229, 232) !important; }

body.theme-light .stat-card * { color: rgb(49, 51, 56) !important; }

body.theme-light .stats-grid { color: rgb(49, 51, 56); }

body.theme-light .admin-table { background: rgb(255, 255, 255); color: rgb(49, 51, 56) !important; }

body.theme-light .admin-table th { color: rgb(92, 94, 102) !important; border-bottom-color: rgb(212, 215, 220) !important; }

body.theme-light .admin-table td { color: rgb(49, 51, 56) !important; border-bottom-color: rgb(235, 237, 239) !important; }

body.theme-light .admin-table tr:hover td { background: rgba(0, 0, 0, 0.03); }

body.theme-light .admin-table input, body.theme-light .admin-table select, body.theme-light .admin-main input, body.theme-light .admin-main textarea, body.theme-light .admin-main select { background: rgb(235, 237, 239) !important; color: rgb(49, 51, 56) !important; border-color: rgb(220, 221, 222) !important; }

body.theme-light .back-link { color: rgb(0, 108, 231) !important; }

body.theme-light .admin-mobile-nav, body.theme-light .admin-mobile-toolbar { background: rgb(227, 229, 232) !important; border-color: rgb(212, 215, 220) !important; }

body.theme-light .admin-mobile-title { color: rgb(49, 51, 56) !important; }

body.theme-light .maintenance-badge { background: rgba(250, 166, 26, 0.133) !important; color: rgb(160, 106, 8) !important; }

body.theme-light .admin-login { background: rgb(227, 229, 232); }

body.theme-light .admin-login-card { box-shadow: rgba(0, 0, 0, 0.15) 0px 8px 24px; background: rgb(255, 255, 255) !important; }

body.theme-light .admin-login-card h1 { color: rgb(6, 6, 7) !important; }

body.theme-light .admin-login-card p { color: rgb(92, 94, 102) !important; }

body.theme-light .admin-login-card label { color: rgb(49, 51, 56) !important; }

body.theme-light .admin-login-card input { background: rgb(235, 237, 239) !important; color: rgb(49, 51, 56) !important; border-color: rgb(220, 221, 222) !important; }

body.theme-dark { background: rgb(15, 16, 18); }

body.theme-dark #server-rail { background: rgb(13, 14, 16); }

body.theme-dark #sidebar { background: rgb(20, 21, 23); }
body.theme-dark .status-dot { border-color: rgb(20, 21, 23); }

body.theme-dark #main-content { background: rgb(25, 26, 29); }

body.theme-dark .chat-header, body.theme-dark .friends-header { background: rgb(25, 26, 29); border-bottom: 1px solid rgb(16, 17, 19); }

body.theme-dark .chat-input { background: rgb(25, 26, 29); }

body.theme-dark .chat-input input, body.theme-dark .chat-input textarea { background: rgb(16, 17, 19) !important; border-color: rgb(16, 17, 19) !important; }

body.theme-dark .user-panel { background: rgb(16, 17, 19); }

body.theme-dark .voice-sidebar-controls { background: rgb(16, 17, 19); border-top: 1px solid rgb(10, 11, 12); }

body.theme-dark .channel-item:hover { background: rgba(255, 255, 255, 0.04); }

body.theme-dark .channel-item.active { background: rgba(255, 255, 255, 0.08); }

body.theme-dark .modal { background: rgb(20, 21, 23); }

body.theme-dark .settings-sidebar { background: rgb(16, 17, 19); }

body.theme-dark .settings-sidebar button:hover { background: rgba(255, 255, 255, 0.06) !important; }

body.theme-dark .settings-sidebar button.active { background: rgb(42, 44, 49) !important; color: rgb(255, 255, 255) !important; }

body.theme-dark .settings-main { background: rgb(20, 21, 23); }

body.theme-dark .field input, body.theme-dark .field textarea { background: rgb(13, 14, 16) !important; border-color: rgb(38, 39, 43) !important; }

body.theme-dark .voice-panel { background: rgb(20, 21, 23); }

body.theme-dark .voice-panel-controls { background: rgb(16, 17, 19); border-bottom: 1px solid rgb(10, 11, 12); }

body.theme-dark .server-icon.add { background: rgb(16, 17, 19); }

body.theme-dark .discover-card { background: rgb(20, 21, 23) !important; border: 1px solid rgb(38, 39, 43) !important; }
body.theme-dark .discover-card:hover { border-color: rgba(88,101,242,0.4) !important; }
body.theme-dark .discover-icon { border: 3px solid rgb(20, 21, 23) !important; background: rgb(20, 21, 23) !important; }
body.theme-dark .discover-icon-fallback { border: 3px solid rgb(20, 21, 23) !important; }
body.theme-dark .discover-online-dot { border-color: rgb(20, 21, 23) !important; }
body.theme-dark .discover-search-input { background: rgb(16, 17, 19) !important; color: rgb(220, 221, 222) !important; border-color: rgb(38, 39, 43) !important; }
body.theme-dark .discover-sort-btn { background: rgb(16, 17, 19) !important; color: rgb(220, 221, 222) !important; border: 1px solid rgb(38, 39, 43) !important; }

body.theme-dark .custom-dd-trigger { background: rgb(13, 14, 16); border-color: rgb(38, 39, 43); }

body.theme-dark .custom-dd-menu { background: rgb(28, 29, 33); }

body.theme-dark ::-webkit-scrollbar-thumb { background: rgb(38, 39, 43); }

body.theme-darker { background: rgb(0, 0, 0); }

body.theme-darker #server-rail { background: rgb(0, 0, 0); }

body.theme-darker #sidebar { background: rgb(0, 0, 0); }
body.theme-darker .status-dot { border-color: rgb(0, 0, 0); }

body.theme-darker #main-content { background: rgb(5, 5, 6); }

body.theme-darker .chat-header, body.theme-darker .friends-header { background: rgb(5, 5, 6); border-bottom: 1px solid rgb(0, 0, 0); }

body.theme-darker .chat-input { background: rgb(5, 5, 6); }

body.theme-darker .chat-input input, body.theme-darker .chat-input textarea { background: rgb(0, 0, 0) !important; border-color: rgb(34, 34, 34) !important; }

body.theme-darker .user-panel { background: rgb(0, 0, 0); }

body.theme-darker .voice-sidebar-controls { background: rgb(0, 0, 0); border-top: 1px solid rgb(17, 17, 17); }

body.theme-darker .modal { background: rgb(0, 0, 0); }

body.theme-darker .settings-sidebar { background: rgb(0, 0, 0); }

body.theme-darker .settings-sidebar button:hover { background: rgba(255, 255, 255, 0.05) !important; }

body.theme-darker .settings-sidebar button.active { background: rgb(26, 26, 29) !important; color: rgb(255, 255, 255) !important; }

body.theme-darker .settings-main { background: rgb(5, 5, 6); }

body.theme-darker .field input, body.theme-darker .field textarea { background: rgb(0, 0, 0) !important; border-color: rgb(38, 39, 43) !important; }

body.theme-darker .voice-panel { background: rgb(0, 0, 0); }

body.theme-darker .voice-panel-controls { background: rgb(0, 0, 0); border-bottom: 1px solid rgb(17, 17, 17); }

body.theme-darker .server-icon.add { background: rgb(10, 10, 10); }

body.theme-darker .discover-card { background: rgb(10, 11, 12) !important; border: 1px solid rgb(26, 26, 29) !important; }
body.theme-darker .discover-card:hover { border-color: rgba(88,101,242,0.4) !important; }
body.theme-darker .discover-icon { border: 3px solid rgb(10, 11, 12) !important; background: rgb(10, 11, 12) !important; }
body.theme-darker .discover-icon-fallback { border: 3px solid rgb(10, 11, 12) !important; }
body.theme-darker .discover-online-dot { border-color: rgb(10, 11, 12) !important; }
body.theme-darker .discover-search-input { background: rgb(0, 0, 0) !important; color: rgb(220, 221, 222) !important; border-color: rgb(34, 34, 34) !important; }
body.theme-darker .discover-sort-btn { background: rgb(0, 0, 0) !important; color: rgb(220, 221, 222) !important; border: 1px solid rgb(34, 34, 34) !important; }

body.theme-darker #mobile-nav { background: rgb(0, 0, 0); border-top: 1px solid rgb(17, 17, 17); }

body.theme-darker #mobile-nav .mobile-nav-btn { color: rgb(105, 108, 114); }
body.theme-darker #mobile-nav .mobile-nav-btn:hover { color: rgb(181, 186, 193); }
body.theme-darker #mobile-nav .mobile-nav-btn.active { background: rgb(88, 101, 242); color: rgb(255, 255, 255); }
body.theme-darker #mobile-nav .mobile-nav-badge { border-color: rgb(0, 0, 0); }

body.theme-darker .custom-dd-trigger { background: rgb(0, 0, 0); border-color: rgb(38, 39, 43); }

body.theme-darker .custom-dd-menu { background: rgb(16, 16, 16); }

/* ---------- Era popover + composer + gif picker + quick switcher theme colors ---------- */

/* -- Light -- */
body.theme-light .composer-menu,
body.theme-light .gif-picker,
body.theme-light .gif-dropdown-menu,
body.theme-light .voice-channel-menu,
body.theme-light .msg-context-menu {
  background: rgb(255, 255, 255) !important;
  border-color: rgb(212, 215, 220) !important;
  box-shadow: rgba(0, 0, 0, 0.15) 0 8px 24px !important;
}

body.theme-light .composer-menu-item,
body.theme-light .gif-dropdown-item,
body.theme-light .gif-tab {
  color: rgb(49, 51, 56) !important;
}

body.theme-light .composer-menu-item:hover { background: rgb(235, 237, 239) !important; color: rgb(49, 51, 56) !important; }
body.theme-light .gif-dropdown-item:hover { background: rgb(235, 237, 239) !important; color: rgb(49, 51, 56) !important; }
body.theme-light .gif-tab:hover { background: rgb(235, 237, 239) !important; color: rgb(49, 51, 56) !important; }
body.theme-light .gif-tab.active { background: rgb(88, 101, 242) !important; color: rgb(255, 255, 255) !important; }

body.theme-light .gif-picker-title { color: rgb(6, 6, 7) !important; }
body.theme-light .gif-picker-close { color: rgb(92, 94, 102) !important; }
body.theme-light .gif-picker-close:hover { color: rgb(49, 51, 56) !important; }
body.theme-light .gif-picker-empty { color: rgb(128, 132, 142) !important; }
body.theme-light .gif-picker-search { background: rgb(235, 237, 239) !important; border-color: rgb(212, 215, 220) !important; color: rgb(49, 51, 56) !important; }
body.theme-light .gif-picker-search::placeholder { color: rgb(128, 132, 142) !important; }
body.theme-light .gif-picker-grid::-webkit-scrollbar-thumb { background: rgb(196, 201, 206) !important; }

/* -- Dark -- */
body.theme-dark .composer-menu { background: rgb(28, 29, 33) !important; border-color: rgb(16, 17, 19) !important; }
body.theme-dark .composer-menu-item:hover { background: rgb(20, 21, 23) !important; color: rgb(255, 255, 255) !important; }
body.theme-dark .gif-dropdown-menu { background: rgb(28, 29, 33) !important; border-color: rgb(16, 17, 19) !important; }
body.theme-dark .gif-dropdown-item:hover { background: rgb(20, 21, 23) !important; }
body.theme-dark .gif-tab:hover { background: rgba(255, 255, 255, 0.06) !important; }
body.theme-dark .gif-picker-search { background: rgb(13, 14, 16) !important; border-color: rgb(38, 39, 43) !important; color: rgb(220, 221, 222) !important; }

/* -- Darker -- */
body.theme-darker .composer-menu { background: rgb(10, 10, 11) !important; border-color: rgb(0, 0, 0) !important; }
body.theme-darker .composer-menu-item:hover { background: rgb(5, 5, 6) !important; color: rgb(255, 255, 255) !important; }
body.theme-darker .gif-dropdown-menu { background: rgb(10, 10, 11) !important; border-color: rgb(0, 0, 0) !important; }
body.theme-darker .gif-dropdown-item:hover { background: rgb(5, 5, 6) !important; }
body.theme-darker .gif-picker-search { background: rgb(0, 0, 0) !important; border-color: rgb(34, 34, 34) !important; color: rgb(220, 221, 222) !important; }

/* Quick switcher */
body.theme-light .qs-overlay { background: rgba(0, 0, 0, 0.4); }
body.theme-light .qs-box { background: rgb(255, 255, 255) !important; border-color: rgb(212, 215, 220) !important; box-shadow: rgba(0, 0, 0, 0.18) 0 8px 24px !important; }
body.theme-light .qs-input { background: rgb(242, 243, 245) !important; color: rgb(49, 51, 56) !important; border-bottom-color: rgb(212, 215, 220) !important; }
body.theme-light .qs-input::placeholder { color: rgb(128, 132, 142) !important; }
body.theme-light .qs-row.active { background: rgba(88, 101, 242, 0.12) !important; }
body.theme-light .qs-row-icon { background: rgb(235, 237, 239) !important; color: rgb(49, 51, 56) !important; }
body.theme-light .qs-row-name { color: rgb(49, 51, 56) !important; }
body.theme-light .qs-row-sub { color: rgb(128, 132, 142) !important; }
body.theme-light .qs-empty { color: rgb(128, 132, 142) !important; }
body.theme-dark .qs-box { background: rgb(28, 29, 33) !important; border-color: rgb(16, 17, 19) !important; }
body.theme-dark .qs-input { background: rgb(13, 14, 16) !important; color: rgb(220, 221, 222) !important; border-bottom-color: rgb(16, 17, 19) !important; }
body.theme-darker .qs-box { background: rgb(10, 10, 11) !important; border-color: rgb(0, 0, 0) !important; }
body.theme-darker .qs-input { background: rgb(0, 0, 0) !important; border-bottom-color: rgb(0, 0, 0) !important; }

/* -- Tooltip themes -- */
body.theme-light .rv-tooltip { background: #fff; color: #1e2124; box-shadow: 0 2px 8px rgba(0,0,0,0.18); }
body.theme-dark .rv-tooltip { background: #18191c; color: #dcddde; }
body.theme-darker .rv-tooltip { background: #0e0e10; color: #dcddde; }

/* -- Jump-to-latest / Load-older button themes -- */
body.theme-light .jump-latest-btn { background: #e3e5e8; color: #4e5058; }
body.theme-light .jump-latest-btn:hover { background: #d5d8db; color: #1a1b1e; }
body.theme-darker .jump-latest-btn { background: #0e0e10; color: #b9bbbe; }
body.theme-darker .jump-latest-btn:hover { background: #18191c; color: #fff; }

/* ============================================================
   WINDOWS 7 AERO GLASS THEME
   Inspired by Windows 7 / Windows Live Messenger (2009 era)
   ============================================================ */

body.theme-win7 { background: #d6e7f9; color: #1a1a1a; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }

body.theme-win7 #server-rail { background: linear-gradient(180deg, #3a6ea5 0%, #2d5a8e 100%); border-right: 1px solid #1f497d; }

body.theme-win7 .server-divider { background: rgba(255,255,255,0.25); }

body.theme-win7 .server-icon,
body.theme-win7 .btn-blurple,
body.theme-win7 .btn-gray,
body.theme-win7 button:not(.user-avatar-btn):not(.voice-ctrl-btn):not(.action-icon-btn):not(.btn-red):not(.btn-green):not(.friends-tab):not(.poll-end-btn):not(.profile-popup-action-btn):not(.settings-row),
body.theme-win7 .discover-btn,
body.theme-win7 .channel-item {
  background: linear-gradient(135deg, rgba(255,255,255,0.6) 0%, rgba(214,231,249,0.8) 50%, rgba(160,195,230,0.9) 100%) !important;
  border: 1px solid rgba(123,162,204,0.9) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), inset 0 -1px 2px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.15) !important;
  color: #1a1a1a !important;
  text-shadow: 0 1px 0 rgba(255,255,255,0.6) !important;
  backdrop-filter: blur(4px);
  transition: all 0.15s ease;
  position: relative;
  overflow: hidden;
}

/* Glass shine overlay on top of server icons and channel buttons */
body.theme-win7 .server-icon::after,
body.theme-win7 .channel-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.1) 100%);
  pointer-events: none;
  border-radius: inherit;
}

body.theme-win7 .server-icon:hover,
body.theme-win7 .btn-blurple:hover,
body.theme-win7 .btn-gray:hover,
body.theme-win7 button:not(.user-avatar-btn):not(.voice-ctrl-btn):not(.action-icon-btn):not(.btn-red):not(.btn-green):not(.friends-tab):not(.poll-end-btn):not(.profile-popup-action-btn):not(.settings-row):hover,
body.theme-win7 .discover-btn:hover,
body.theme-win7 .channel-item:hover {
  background: linear-gradient(135deg, rgba(255,255,255,0.85) 0%, rgba(230,242,255,0.95) 50%, rgba(185,215,245,1) 100%) !important;
  border-color: #3a6ea5 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,1), inset 0 -1px 2px rgba(0,0,0,0.05), 0 0 6px rgba(58,110,165,0.5) !important;
}

body.theme-win7 .server-icon.home.active,
body.theme-win7 .server-icon.active,
body.theme-win7 .channel-item.active {
  background: linear-gradient(135deg, rgba(91,155,213,0.9) 0%, rgba(58,124,195,0.95) 100%) !important;
  border-color: #2d5a8e !important;
  color: #fff !important;
  text-shadow: 0 -1px 0 rgba(0,0,0,0.3) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), inset 0 -1px 2px rgba(0,0,0,0.3), 0 2px 5px rgba(42,90,142,0.5) !important;
}

body.theme-win7 #sidebar { background: linear-gradient(180deg, #d6e7f9 0%, #c3daea 100%); color: #1a1a1a; border-right: 1px solid #7ba2cc; }
body.theme-win7 .status-dot { border-color: #d6e7f9; }

body.theme-win7 .sidebar-header, body.theme-win7 .server-header-bar { background: linear-gradient(180deg, #e8eef7 0%, #d0dff2 100%); color: #1a1a1a; border-bottom: 1px solid #7ba2cc; }

body.theme-win7 .channel-category, body.theme-win7 .category-header { color: #3a6ea5; font-weight: 700; text-transform: uppercase; font-size: 11px; letter-spacing: 0.5px; }

body.theme-win7 .channel-item { color: #1a1a1a; }
body.theme-win7 .channel-item:hover { background: rgba(58,110,165,0.1); border-radius: 4px; }
body.theme-win7 .channel-item.active { background: linear-gradient(180deg, #5b9bd5 0%, #3a7cc3 100%); color: #fff; border-radius: 4px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.2); }

body.theme-win7 #main-content { background: #ece9d8; }

body.theme-win7 .chat-header, body.theme-win7 .friends-header { background: linear-gradient(180deg, #f9f9f9 0%, #ece9d8 50%, #d6d2c2 100%) !important; color: #1a1a1a !important; border-bottom: 2px solid #7ba2cc !important; box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), inset 0 -1px 3px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.12) !important; }

body.theme-win7 .chat-input { background: #f5f3ee; border-top: 1px solid #aca899; }
body.theme-win7 .chat-input input, body.theme-win7 .chat-input textarea { background: #fff !important; border: 1px solid #7f9db9 !important; color: #1a1a1a !important; border-radius: 3px !important; }
body.theme-win7 .chat-input input:focus, body.theme-win7 .chat-input textarea:focus { border-color: #3a6ea5 !important; box-shadow: 0 0 3px rgba(58,110,165,0.4) !important; }

body.theme-win7 .user-panel { background: linear-gradient(180deg, #d6e7f9 0%, #c3daea 100%); border-top: 1px solid #7ba2cc; }

body.theme-win7 .message-group:hover { background: rgba(58,110,165,0.04); }
body.theme-win7 .msg-author { font-weight: 600; }
body.theme-win7 .msg-timestamp { color: #7f9dab; }

body.theme-win7 .modal { background: linear-gradient(180deg, #f9f9f9 0%, #ece9d8 100%); border: 2px solid #3a6ea5; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.8); }
body.theme-win7 .modal-header { background: linear-gradient(180deg, #5b9bd5 0%, #3a7cc3 100%); color: #fff; border-radius: 6px 6px 0 0; border-bottom: 1px solid #2d5a8e; }
body.theme-win7 .modal-body { background: #f5f3ee; color: #1a1a1a; }
body.theme-win7 .modal-footer { background: linear-gradient(180deg, #e8eef7 0%, #d0dff2 100%); border-top: 1px solid #7ba2cc; }

body.theme-win7 .btn-blurple { background: linear-gradient(180deg, #5b9bd5 0%, #3a6ea5 100%) !important; border: 1px solid #2d5a8e !important; color: #fff !important; border-radius: 3px !important; box-shadow: inset 0 1px 0 rgba(255,255,255,0.3) !important; text-shadow: 0 1px 1px rgba(0,0,0,0.2) !important; }
body.theme-win7 .btn-blurple:hover { background: linear-gradient(180deg, #6dafdf 0%, #4a8ad5 100%) !important; }
body.theme-win7 .btn-blurple:active { background: linear-gradient(180deg, #3a6ea5 0%, #2d5a8e 100%) !important; box-shadow: inset 0 2px 3px rgba(0,0,0,0.2) !important; }

body.theme-win7 .btn-gray { background: linear-gradient(180deg, #f9f9f9 0%, #e3e3e3 100%) !important; border: 1px solid #aca899 !important; color: #1a1a1a !important; border-radius: 3px !important; box-shadow: inset 0 1px 0 rgba(255,255,255,0.8) !important; }
body.theme-win7 .btn-gray:hover { background: linear-gradient(180deg, #fff 0%, #eee 100%) !important; }

body.theme-win7 .field input, body.theme-win7 .field textarea { background: #fff !important; border: 1px solid #7f9db9 !important; color: #1a1a1a !important; border-radius: 3px !important; }
body.theme-win7 .field input:focus, body.theme-win7 .field textarea:focus { border-color: #3a6ea5 !important; box-shadow: 0 0 3px rgba(58,110,165,0.4) !important; }
body.theme-win7 .field label { color: #1a1a1a; }

body.theme-win7 .settings-sidebar { background: linear-gradient(180deg, #e8eef7 0%, #d0dff2 100%); border-right: 1px solid #7ba2cc; }
body.theme-win7 .settings-sidebar button { color: #1a1a1a; border-radius: 4px; }
body.theme-win7 .settings-sidebar button:hover { background: rgba(58,110,165,0.1) !important; }
body.theme-win7 .settings-sidebar button.active { background: linear-gradient(180deg, #5b9bd5 0%, #3a7cc3 100%) !important; color: #fff !important; box-shadow: inset 0 1px 0 rgba(255,255,255,0.2) !important; }

body.theme-win7 .settings-main { background: #f5f3ee; }

body.theme-win7 .friends-header { background: linear-gradient(180deg, #f9f9f9 0%, #e3e3e3 100%); }
body.theme-win7 .friends-list-item:hover { background: rgba(58,110,165,0.08); }
body.theme-win7 .friends-list-item.active { background: linear-gradient(180deg, #5b9bd5 0%, #3a7cc3 100%); color: #fff; }

body.theme-win7 .discover-card { background: linear-gradient(135deg, rgba(255,255,255,0.6) 0%, rgba(214,231,249,0.8) 50%, rgba(160,195,230,0.9) 100%) !important; border: 1px solid #7ba2cc !important; border-radius: 8px !important; box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), inset 0 -1px 2px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.15) !important; position: relative; overflow: visible; }
body.theme-win7 .discover-card:hover { border-color: #3a6ea5 !important; box-shadow: inset 0 1px 0 rgba(255,255,255,1), inset 0 -1px 2px rgba(0,0,0,0.05), 0 0 6px rgba(58,110,165,0.5) !important; transform: translateY(-2px); }
body.theme-win7 .discover-banner { border: none !important; border-radius: 7px 7px 0 0 !important; overflow: hidden !important; }
body.theme-win7 .discover-icon { border: 3px solid #f5f3ee !important; background: #d6e7f9 !important; border-radius: 14px !important; box-shadow: 0 1px 3px rgba(0,0,0,0.15) !important; }
body.theme-win7 .discover-icon-fallback { border: 3px solid #f5f3ee !important; background: linear-gradient(180deg, #5b9bd5 0%, #3a6ea5 100%) !important; border-radius: 14px !important; box-shadow: 0 1px 3px rgba(0,0,0,0.15) !important; }
body.theme-win7 .discover-online-dot { border-color: #f5f3ee !important; }
body.theme-win7 .discover-body { background: transparent !important; }
body.theme-win7 .discover-name { color: #1a1a1a !important; }
body.theme-win7 .discover-owner { color: #555 !important; }
body.theme-win7 .discover-desc { color: #555 !important; }
body.theme-win7 .discover-pill { background: rgba(58,110,165,0.85) !important; color: #fff !important; }
body.theme-win7 .discover-search-input { background: #fff !important; color: #1a1a1a !important; border: 1px solid #7f9db9 !important; border-radius: 3px !important; }
body.theme-win7 .discover-search-input:focus { border-color: #3a6ea5 !important; box-shadow: 0 0 3px rgba(58,110,165,0.4) !important; }
body.theme-win7 .discover-search-input::placeholder { color: #7f9dab !important; }
body.theme-win7 .discover-btn { background: linear-gradient(180deg, #5b9bd5 0%, #3a6ea5 100%) !important; border: 1px solid #2d5a8e !important; color: #fff !important; border-radius: 3px !important; }
body.theme-win7 .discover-btn:hover { background: linear-gradient(180deg, #6dafdf 0%, #4a8ad5 100%) !important; }
body.theme-win7 .discover-hero { background: linear-gradient(135deg, #3a6ea5 0%, #4a7fc0 50%, #5b8dcf 100%) !important; }
body.theme-win7 .discover-toolbar { background: transparent; }
body.theme-win7 .discover-count { color: #555 !important; }
body.theme-win7 .discover-section-label { color: #3a6ea5 !important; }
body.theme-win7 .discover-section-label svg { color: #3a6ea5 !important; }
body.theme-win7 .discover-tag { background: rgba(58,110,165,0.1) !important; color: #555 !important; border: 1px solid #d6d2c2 !important; }
body.theme-win7 .discover-tag-online { background: rgba(59,165,93,0.12) !important; color: #2d8a4e !important; border-color: #3ba55d !important; }
body.theme-win7 .discover-empty h3 { color: #1a1a1a !important; }
body.theme-win7 .discover-empty p { color: #555 !important; }
body.theme-win7 .discover-empty-icon { color: #3a6ea5 !important; opacity: 0.5; }
body.theme-win7 .discover-featured-badge { background: #d4a017 !important; color: #fff !important; }
body.theme-win7 .discover-skeleton .sk-banner { background: linear-gradient(90deg, #d6d2c2 25%, #e8e4d8 50%, #d6d2c2 75%) !important; background-size: 200% 100%; }
body.theme-win7 .discover-skeleton .sk-icon { background: #d6d2c2 !important; border-color: #f5f3ee !important; }
body.theme-win7 .discover-skeleton .sk-line { background: #d6d2c2 !important; }
body.theme-win7 .discover-skeleton .sk-btn { background: #d6d2c2 !important; }

/* Win7 Add Server Menu (overrides hardcoded inline styles) */
body.theme-win7 .add-server-menu,
body.theme-win7 [style*="background:#2f3136"],
body.theme-win7 [style*="background: #2f3136"] {
  background: linear-gradient(180deg, #f9f9f9 0%, #ece9d8 100%) !important;
  border: 1px solid #7ba2cc !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25) !important;
}
body.theme-win7 .add-server-menu div,
body.theme-win7 .add-server-menu [style*="color:#b5bac1"],
body.theme-win7 .add-server-menu [style*="color: #b5bac1"] {
  color: #1a1a1a !important;
}
body.theme-win7 .add-server-menu div:hover,
body.theme-win7 .add-server-menu [style*="background:#5865f2"]:hover {
  background: rgba(58,110,165,0.15) !important;
  color: #1a1a1a !important;
}

body.theme-win7 .member-item:hover { background: rgba(58,110,165,0.08); }
body.theme-win7 .member-item .member-name { color: #1a1a1a; }

body.theme-win7 .notif-badge, body.theme-win7 .rail-dm-badge, body.theme-win7 .mobile-nav-badge { background: #cc3333; color: #fff; }

body.theme-win7 .composer-menu { background: #f5f3ee; border: 1px solid #aca899; }
body.theme-win7 .composer-menu-item:hover { background: rgba(58,110,165,0.1); }

body.theme-win7 .dropdown-menu { background: #f5f3ee; border: 1px solid #aca899; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
body.theme-win7 .dropdown-item:hover { background: rgba(58,110,165,0.1); }

body.theme-win7 .community-toggle-row { background: #f5f3ee; border: 1px solid #aca899; }

body.theme-win7 ::-webkit-scrollbar { width: 14px; }
body.theme-win7 ::-webkit-scrollbar-track { background: #ece9d8; }
body.theme-win7 ::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #c3daea 0%, #7ba2cc 100%); border: 1px solid #5b9bd5; border-radius: 3px; }
body.theme-win7 ::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #5b9bd5 0%, #3a6ea5 100%); }

body.theme-win7 .voice-panel { background: linear-gradient(180deg, #d6e7f9 0%, #c3daea 100%); border-top: 1px solid #7ba2cc; }
body.theme-win7 .voice-panel-controls { background: linear-gradient(180deg, #e8eef7 0%, #d0dff2 100%); border-bottom: 1px solid #7ba2cc; }

/* Comprehensive Win7 overrides to catch hardcoded inline colors */
body.theme-win7, 
body.theme-win7 #main-content, 
body.theme-win7 .chat-messages, 
body.theme-win7 .chat-input, 
body.theme-win7 .chat-input-wrapper,
body.theme-win7 .members-sidebar, 
body.theme-win7 #members-sidebar, 
body.theme-win7 .members-wrap,
body.theme-win7 #sidebar,
body.theme-win7 .sidebar,
body.theme-win7 .chat-header,
body.theme-win7 .friends-header,
body.theme-win7 .server-header-bar {
  background: #ece9d8 !important;
  color: #1a1a1a !important;
}

/* Fix gray elements like members list background, chat input background, and poll/embed cards */
body.theme-win7 .members-sidebar,
body.theme-win7 #members-sidebar,
body.theme-win7 .members-wrap,
body.theme-win7 .chat-input-wrapper,
body.theme-win7 .poll-container,
body.theme-win7 .embed-container,
body.theme-win7 [style*="background:#2f3136"],
body.theme-win7 [style*="background: #2f3136"],
body.theme-win7 [style*="background:#202225"],
body.theme-win7 [style*="background: #202225"],
body.theme-win7 [style*="background:#36393f"],
body.theme-win7 [style*="background: #36393f"] {
  background: #d6e7f9 !important;
  border-color: #7ba2cc !important;
  color: #1a1a1a !important;
}

body.theme-win7 div, 
body.theme-win7 span, 
body.theme-win7 p, 
body.theme-win7 h1, 
body.theme-win7 h2, 
body.theme-win7 h3, 
body.theme-win7 label {
  color: inherit;
}

body.theme-win7 .msg-author { font-weight: 600; }
body.theme-win7 .msg-author[style*="color:#fff"],
body.theme-win7 .msg-author[style*="color: #fff"],
body.theme-win7 .msg-author[style*="color:#ffffff"],
body.theme-win7 .msg-author[style*="color: #ffffff"],
body.theme-win7 .msg-author[style*="color:#dcddde"],
body.theme-win7 .msg-author[style*="color: #dcddde"] {
  color: #1a5dab !important;
}
body.theme-win7 .msg-timestamp { color: #7f9dab !important; }
body.theme-win7 .message-content { color: #1a1a1a !important; }
body.theme-win7 .chat-input input, body.theme-win7 .chat-input textarea { background: #fff !important; color: #1a1a1a !important; border: 1px solid #7f9db9 !important; }
body.theme-win7 .member-item span { color: #1a1a1a !important; }
body.theme-win7 .member-category { color: #3a6ea5 !important; }
body.theme-win7 .channel-item span { color: #1a1a1a !important; }
body.theme-win7 .channel-item.active span { color: #fff !important; }

/* Additional Win7 UI fixes for elements with hardcoded styles */
body.theme-win7 .chat-messages { background: #ece9d8 !important; }
body.theme-win7 .message-group { color: #1a1a1a !important; }
body.theme-win7 .message-content { color: #1a1a1a !important; }
body.theme-win7 .chat-input-wrapper { background: #f5f3ee !important; border-top: 1px solid #aca899 !important; }
body.theme-win7 .chat-input { background: #f5f3ee !important; border: 1px solid #7ba2cc !important; border-radius: 4px !important; box-shadow: none !important; }
body.theme-win7 .chat-input input, body.theme-win7 .chat-input textarea { background: #fff !important; color: #1a1a1a !important; border: 1px solid #7f9db9 !important; border-radius: 3px !important; padding: 6px 10px !important; }
body.theme-win7 .chat-input button, body.theme-win7 .chat-input svg { color: #3a6ea5 !important; }
body.theme-win7 .emoji-picker { background: #f5f3ee !important; border: 1px solid #7ba2cc !important; box-shadow: 0 4px 16px rgba(0,0,0,0.2) !important; }
body.theme-win7 .composer-menu { background: #f5f3ee !important; border: 1px solid #7ba2cc !important; box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important; }
body.theme-win7 .composer-menu-item { color: #1a1a1a !important; }
body.theme-win7 .composer-menu-item svg { color: #3a6ea5 !important; }
body.theme-win7 .composer-menu-item:hover { background: rgba(58,110,165,0.15) !important; color: #1a1a1a !important; }
body.theme-win7 #sidebar, body.theme-win7 .sidebar { background: linear-gradient(180deg, #d6e7f9 0%, #c3daea 100%) !important; color: #1a1a1a !important; }
body.theme-win7 .members-sidebar, body.theme-win7 #members-sidebar, body.theme-win7 .member-list { background: #d6e7f9 !important; border-left: 1px solid #7ba2cc !important; color: #1a1a1a !important; }
body.theme-win7 .member-category { color: #3a6ea5 !important; }
body.theme-win7 .members-wrap { background: #d6e7f9 !important; }
body.theme-win7 .member-item { color: #1a1a1a !important; }
body.theme-win7 .member-section-header { color: #3a6ea5 !important; background: transparent !important; }
body.theme-win7 .chat-header-title { color: #1a1a1a !important; }
body.theme-win7 .chat-header-icon { color: #3a6ea5 !important; }
body.theme-win7 .chat-header-actions button { background: linear-gradient(180deg, #f1f1f1 0%, #d4d0c8 40%, #c8c4bc 60%, #d4d0c8 100%) !important; border: 1px solid #808080 !important; color: #1a1a1a !important; border-radius: 3px !important; padding: 6px !important; box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), inset 0 -1px 0 rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.15) !important; display: flex !important; align-items: center !important; justify-content: center !important; width: 30px !important; height: 30px !important; position: relative !important; overflow: hidden !important; }
body.theme-win7 .chat-header-actions button::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 50%; background: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.2) 100%); pointer-events: none; border-radius: inherit; }
body.theme-win7 .chat-header-actions button:hover { background: linear-gradient(180deg, #fefefe 0%, #e4e8f0 40%, #c8d4e8 60%, #e4e8f0 100%) !important; border-color: #3a6ea5 !important; box-shadow: inset 0 1px 0 rgba(255,255,255,1), inset 0 -1px 0 rgba(0,0,0,0.05), 0 0 4px rgba(58,110,165,0.4) !important; }
body.theme-win7 .chat-header-actions button:active { background: linear-gradient(180deg, #c8c4bc 0%, #d4d0c8 40%, #f1f1f1 100%) !important; box-shadow: inset 0 2px 3px rgba(0,0,0,0.15) !important; }
body.theme-win7 .channel-item span { color: #1a1a1a !important; }
body.theme-win7 .channel-item.active span { color: #fff !important; }

body.theme-win7 .qs-box { background: #f5f3ee !important; border-color: #7ba2cc !important; box-shadow: 0 4px 16px rgba(0,0,0,0.25) !important; }
body.theme-win7 .qs-input { background: #fff !important; color: #1a1a1a !important; border-bottom-color: #7ba2cc !important; }
body.theme-win7 .qs-input::placeholder { color: #7f9dab !important; }
body.theme-win7 .qs-row.active { background: rgba(58,110,165,0.12) !important; }
body.theme-win7 .qs-row-icon { background: #d6e7f9 !important; color: #3a6ea5 !important; }
body.theme-win7 .qs-row-name { color: #1a1a1a !important; }
body.theme-win7 .qs-row-sub { color: #7f9dab !important; }
body.theme-win7 .qs-empty { color: #7f9dab !important; }

body.theme-win7 .rv-tooltip { background: #ffffe1; color: #1a1a1a; border: 1px solid #000; box-shadow: 2px 2px 4px rgba(0,0,0,0.2); }

body.theme-win7 .jump-latest-btn { background: linear-gradient(180deg, #f9f9f9 0%, #e3e3e3 100%); color: #3a6ea5; border: 1px solid #7ba2cc; }
body.theme-win7 .jump-latest-btn:hover { background: linear-gradient(180deg, #fff 0%, #eee 100%); color: #2d5a8e; }

body.theme-win7 .overlay-bg, body.theme-win7 #banned-overlay, body.theme-win7 #server-full-overlay, body.theme-win7 #invite-overlay { background: #3a6ea5 !important; }

/* Win7 fixes for Polls and Date Dividers */
body.theme-win7 .poll-widget { background: #f5f3ee !important; border: 1px solid #7ba2cc !important; color: #1a1a1a !important; }
body.theme-win7 .poll-question { color: #1a1a1a !important; font-weight: 600; }
body.theme-win7 .poll-count { color: #555 !important; }
body.theme-win7 .poll-option { background: #fff !important; border: 1px solid #d6d6d6 !important; color: #1a1a1a !important; }
body.theme-win7 .poll-option-votable:hover { border-color: #3a6ea5 !important; }
body.theme-win7 .poll-option-mine { border-color: #3a6ea5 !important; }
body.theme-win7 .poll-option-text { color: #1a1a1a !important; }
body.theme-win7 .poll-option-pct { color: #555 !important; }
body.theme-win7 .poll-option-winner .poll-option-text { color: #3ba55d !important; }
body.theme-win7 .poll-bar { background: rgba(58,110,165,0.2) !important; border: none !important; }
body.theme-win7 .poll-ended { color: #3ba55d !important; }
body.theme-win7 .poll-footnote { color: #555 !important; }
body.theme-win7 .poll-footer { border-top-color: #d6d6d6 !important; }
body.theme-win7 .poll-end-btn { background: #ed4245 !important; color: #fff !important; }
body.theme-win7 .poll-end-btn:hover { background: #c03537 !important; }
body.theme-win7 .poll-editor-num { border-color: #d6d6d6 !important; color: #555 !important; }
body.theme-win7 .poll-editor-row input { background: #fff !important; border: 1px solid #7f9db9 !important; color: #1a1a1a !important; }
body.theme-win7 .poll-question-input { background: #fff !important; border: 1px solid #7f9db9 !important; color: #1a1a1a !important; }
body.theme-win7 .poll-editor-remove { color: #555 !important; }
body.theme-win7 .poll-editor-remove:hover { color: #1a1a1a !important; }
body.theme-win7 .poll-add-option { color: #555 !important; }
body.theme-win7 .poll-add-option:hover { color: #1a1a1a !important; }
body.theme-win7 .date-divider-text { background: #ece9d8 !important; color: #3a6ea5 !important; font-weight: 600; }
body.theme-win7 .date-divider-line { background: #aca899 !important; }

/* Win7 fixes for User Profile Popup */
body.theme-win7 .profile-popup-overlay { background: rgba(58,110,165,0.5) !important; backdrop-filter: blur(2px) !important; }
body.theme-win7 .profile-popup { background: #f5f3ee !important; border: 2px solid #3a6ea5 !important; border-radius: 8px !important; color: #1a1a1a !important; box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important; overflow: visible !important; }
body.theme-win7 .profile-popup-banner { background-color: #7ba2cc !important; border-radius: 8px 8px 0 0 !important; overflow: hidden !important; }
body.theme-win7 .profile-popup-body { background: transparent !important; color: #1a1a1a !important; }
body.theme-win7 .profile-popup-avatar { border-color: #f5f3ee !important; }
body.theme-win7 .profile-popup-name, body.theme-win7 .profile-card-name { color: #1a1a1a !important; font-weight: 700 !important; }
body.theme-win7 .profile-popup-username, body.theme-win7 .profile-card-username { color: #7f9dab !important; }
body.theme-win7 .profile-popup-meta { color: #7f9dab !important; }
body.theme-win7 .profile-popup-section, body.theme-win7 .profile-card-bio { background: #fff !important; border: 1px solid #7f9db9 !important; border-radius: 4px !important; padding: 10px !important; margin-top: 10px !important; }
body.theme-win7 .profile-popup-section-label, body.theme-win7 .profile-card-bio-label { color: #3a6ea5 !important; font-weight: 600 !important; }
body.theme-win7 .profile-popup-section-text, body.theme-win7 .profile-card-bio-text { color: #1a1a1a !important; }
body.theme-win7 .profile-popup-action-btn.green { background: linear-gradient(180deg, #5b9bd5 0%, #3a6ea5 100%) !important; border: 1px solid #2d5a8e !important; color: #fff !important; border-radius: 3px !important; }
body.theme-win7 .profile-popup-action-btn.green:hover { background: linear-gradient(180deg, #6dafdf 0%, #4a8ad5 100%) !important; }
body.theme-win7 .profile-popup-action-btn.gray { background: linear-gradient(180deg, #f9f9f9 0%, #e3e3e3 100%) !important; border: 1px solid #aca899 !important; color: #1a1a1a !important; border-radius: 3px !important; }
body.theme-win7 .profile-popup-action-btn.gray:hover { background: linear-gradient(180deg, #fff 0%, #eee 100%) !important; }
body.theme-win7 .profile-popup-close { position: absolute !important; top: 8px !important; right: 8px !important; background: rgba(255,255,255,0.9) !important; border: 1px solid #7ba2cc !important; color: #3a6ea5 !important; width: 28px !important; height: 28px !important; border-radius: 50% !important; z-index: 30 !important; display: flex !important; align-items: center !important; justify-content: center !important; overflow: visible !important; }
body.theme-win7 .profile-popup-close:hover { background: #fff !important; border-color: #3a6ea5 !important; }
body.theme-win7 .profile-popup-dropdown { background: #f5f3ee !important; border: 1px solid #7ba2cc !important; box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important; }
body.theme-win7 .profile-popup-dropdown-item { color: #1a1a1a !important; }
body.theme-win7 .profile-popup-dropdown-item:hover { background: rgba(58,110,165,0.15) !important; color: #1a1a1a !important; }
body.theme-win7 .profile-popup-dropdown-item.danger { color: #ed4245 !important; }
body.theme-win7 .profile-popup-dropdown-item.danger:hover { background: #ed4245 !important; color: #fff !important; }

/* Win7 Channel Action Buttons (Settings, Move Up/Down, Delete) */
body.theme-win7 .channel-delete, body.theme-win7 .reorder-btn {
  background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(214,231,249,0.9) 100%) !important;
  border: 1px solid #7ba2cc !important;
  border-radius: 4px !important;
  color: #3a6ea5 !important;
  width: 24px !important;
  height: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1) !important;
  padding: 0 !important;
  margin-left: 2px !important;
}
body.theme-win7 .channel-delete:hover, body.theme-win7 .reorder-btn:hover {
  background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(185,215,245,1) 100%) !important;
  border-color: #3a6ea5 !important;
  color: #1a5dab !important;
}

/* Win7 Search Modal & Pinned Messages */
body.theme-win7 .search-modal-input { background: #fff !important; color: #1a1a1a !important; border: 1px solid #7f9db9 !important; border-radius: 3px !important; }
body.theme-win7 .search-modal-input:focus { border-color: #3a6ea5 !important; box-shadow: 0 0 3px rgba(58,110,165,0.4) !important; }
body.theme-win7 .search-modal-input::placeholder { color: #7f9dab !important; }
body.theme-win7 .search-result-row { background: #fff !important; border: 1px solid #d6d6d6 !important; border-radius: 4px !important; }
body.theme-win7 .search-result-row:hover { background: #d6e7f9 !important; border-color: #7ba2cc !important; }
body.theme-win7 .search-result-row-avatar { border: 2px solid #f5f3ee !important; box-shadow: 0 1px 3px rgba(0,0,0,0.15) !important; }
body.theme-win7 .search-result-row-title { color: #1a1a1a !important; }
body.theme-win7 .search-result-row-title .ch-hash { color: #3a6ea5 !important; }
body.theme-win7 .search-result-row-snippet { color: #555 !important; }
body.theme-win7 .search-result-row-time { color: #7f9dab !important; }
body.theme-win7 .search-result { background: #fff !important; border: 1px solid #d6d6d6 !important; }
body.theme-win7 .search-result:hover { background: #d6e7f9 !important; }
body.theme-win7 .search-result-name { color: #1a1a1a !important; }
body.theme-win7 .search-result-snippet { color: #555 !important; }
body.theme-win7 .empty-state { color: #7f9dab !important; }

/* Win7 File Attachment Card (fixes hardcoded inline colors) */
body.theme-win7 [style*="background:#2f3136"] [style*="color:#fff"],
body.theme-win7 [style*="background: #2f3136"] [style*="color:#fff"],
body.theme-win7 [style*="background:#2f3136"] [style*="color: #fff"] {
  color: #1a1a1a !important;
}
body.theme-win7 [style*="background:#2f3136"] [style*="color:#b9bbbe"],
body.theme-win7 [style*="background: #2f3136"] [style*="color:#b9bbbe"],
body.theme-win7 [style*="background:#2f3136"] [style*="color: #b9bbbe"] {
  color: #555 !important;
}
body.theme-win7 [style*="background:#2f3136"] svg,
body.theme-win7 [style*="background: #2f3136"] svg {
  color: #3a6ea5 !important;
}

/* ============================================================
   WIN7 — MISSING COMPONENT RULES (Round 4 audit fixes)
   ============================================================ */

/* --- Toasts --- */
body.theme-win7 .toast {
  background: #f5f3ee !important;
  border: 1px solid #7ba2cc !important;
  color: #1a1a1a !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.8) !important;
}
body.theme-win7 .toast.toast-error { border-color: #ed4245 !important; }
body.theme-win7 .toast.toast-success { border-color: #3ba55d !important; }

/* --- Typing Indicator --- */
body.theme-win7 .typing-indicator {
  background: #f5f3ee !important;
  color: #555 !important;
  border-top: 1px solid #aca899 !important;
}

/* --- Context Menus --- */
body.theme-win7 .msg-context-menu {
  background: #f5f3ee !important;
  border: 1px solid #7ba2cc !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3) !important;
}
body.theme-win7 .msg-context-item {
  color: #1a1a1a !important;
}
body.theme-win7 .msg-context-item:hover {
  background: rgba(58,110,165,0.15) !important;
  color: #1a1a1a !important;
}
body.theme-win7 .msg-context-item.danger { color: #ed4245 !important; }
body.theme-win7 .msg-context-item.danger:hover { background: #ed4245 !important; color: #fff !important; }
body.theme-win7 .msg-context-divider { border-color: #d6d2c2 !important; }
body.theme-win7 .msg-context-reactions { background: #f5f3ee !important; border-top: 1px solid #aca899 !important; }
body.theme-win7 .msg-context-emoji:hover { background: rgba(58,110,165,0.15) !important; }

/* --- Reply Banner --- */
body.theme-win7 .reply-banner {
  background: #d6e7f9 !important;
  border: 1px solid #7ba2cc !important;
  border-bottom: none !important;
  color: #1a1a1a !important;
}
body.theme-win7 .reply-banner-name { color: #1a5dab !important; }
body.theme-win7 .reply-banner-text { color: #555 !important; }
body.theme-win7 .reply-banner-cancel { color: #ed4245 !important; }
body.theme-win7 .reply-banner-ping-btn { color: #3a6ea5 !important; }

/* --- Edit Message Bar --- */
body.theme-win7 .edit-message-bar {
  background: #ece9d8 !important;
  border: 1px solid #aca899 !important;
  color: #1a1a1a !important;
}
body.theme-win7 .edit-message-bar .esc-hint { color: #7f9dab !important; }

/* --- GIF Picker --- */
body.theme-win7 .gif-picker {
  background: #f5f3ee !important;
  border: 1px solid #7ba2cc !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25) !important;
}
body.theme-win7 .gif-picker-title { color: #1a1a1a !important; }
body.theme-win7 .gif-picker-search { background: #fff !important; color: #1a1a1a !important; border: 1px solid #7f9db9 !important; }
body.theme-win7 .gif-picker-search::placeholder { color: #7f9dab !important; }
body.theme-win7 .gif-picker-empty { color: #7f9dab !important; }
body.theme-win7 .gif-picker-close { color: #555 !important; }
body.theme-win7 .gif-picker-close:hover { color: #1a1a1a !important; }
body.theme-win7 .gif-tab { color: #555 !important; }
body.theme-win7 .gif-tab.active { background: #3a6ea5 !important; color: #fff !important; }
body.theme-win7 .gif-dropdown-menu { background: #f5f3ee !important; border: 1px solid #7ba2cc !important; }
body.theme-win7 .gif-dropdown-item { color: #1a1a1a !important; }
body.theme-win7 .gif-dropdown-item:hover { background: rgba(58,110,165,0.15) !important; }

/* --- Forward Modal --- */
body.theme-win7 .forward-preview {
  background: #fff !important;
  border: 1px solid #7ba2cc !important;
}
body.theme-win7 .forward-dest-row {
  background: #fff !important;
  border: 1px solid #d6d6d6 !important;
  color: #1a1a1a !important;
}
body.theme-win7 .forward-dest-row:hover { background: #d6e7f9 !important; border-color: #7ba2cc !important; }
body.theme-win7 .forward-dest-row.selected { background: #d6e7f9 !important; border-color: #3a6ea5 !important; }
body.theme-win7 .forward-dest-name { color: #1a1a1a !important; }
body.theme-win7 .forward-dest-sub { color: #7f9dab !important; }
body.theme-win7 .forward-preview-title { color: #3a6ea5 !important; }
body.theme-win7 .forward-preview-content { color: #1a1a1a !important; }

/* --- Profile Card (server preview / user profile) --- */
body.theme-win7 .profile-card {
  background: #f5f3ee !important;
  border: 1px solid #7ba2cc !important;
  border-radius: 8px !important;
}
body.theme-win7 .profile-card-avatar { border-color: #f5f3ee !important; }
body.theme-win7 .profile-card-banner { background-color: #7ba2cc !important; }
body.theme-win7 .profile-card-meta { color: #7f9dab !important; }
body.theme-win7 .profile-card-status { color: #555 !important; }

/* --- Bans Rows --- */
body.theme-win7 .ban-row {
  background: #fff !important;
  border: 1px solid #d6d6d6 !important;
  border-radius: 4px !important;
  color: #1a1a1a !important;
}
body.theme-win7 .ban-row:hover { background: #d6e7f9 !important; border-color: #7ba2cc !important; }

/* --- Community Toggle Row --- */
body.theme-win7 .community-toggle-row {
  background: #d6e7f9 !important;
  border: 1px solid #7ba2cc !important;
  border-radius: 4px !important;
  color: #1a1a1a !important;
}
body.theme-win7 .community-info { color: #555 !important; }
body.theme-win7 .community-info strong { color: #1a1a1a !important; }

/* --- Stateful Buttons (override generic glass) --- */
body.theme-win7 .voice-ctrl-btn { background: linear-gradient(180deg, #f1f1f1 0%, #d4d0c8 40%, #c8c4bc 60%, #d4d0c8 100%) !important; border: 1px solid #808080 !important; color: #1a1a1a !important; }
body.theme-win7 .voice-ctrl-btn:hover { background: linear-gradient(180deg, #fefefe 0%, #e4e8f0 40%, #c8d4e8 60%, #e4e8f0 100%) !important; border-color: #3a6ea5 !important; }
body.theme-win7 .voice-ctrl-btn.muted,
body.theme-win7 .voice-ctrl-btn.deafened,
body.theme-win7 .voice-ctrl-btn.disconnect { background: linear-gradient(180deg, #ed6b6d 0%, #d63b3e 100%) !important; border-color: #a02a2d !important; color: #fff !important; }
body.theme-win7 .voice-ctrl-btn.disconnect:hover { background: linear-gradient(180deg, #d64a4d 0%, #b52e31 100%) !important; }
body.theme-win7 .action-icon-btn { background: transparent !important; border: 1px solid #7ba2cc !important; color: #3a6ea5 !important; }
body.theme-win7 .action-icon-btn:hover { background: rgba(58,110,165,0.1) !important; border-color: #3a6ea5 !important; color: #1a5dab !important; }
body.theme-win7 .action-icon-btn.accept { border-color: #3ba55d !important; color: #2d8a4e !important; }
body.theme-win7 .action-icon-btn.accept:hover { background: #3ba55d !important; color: #fff !important; }
body.theme-win7 .action-icon-btn.decline { border-color: #ed4245 !important; color: #c03537 !important; }
body.theme-win7 .action-icon-btn.decline:hover { background: #ed4245 !important; color: #fff !important; }
body.theme-win7 .friends-tab { background: rgba(58,110,165,0.08) !important; color: #555 !important; border: 1px solid #aca899 !important; }
body.theme-win7 .friends-tab:hover { background: rgba(58,110,165,0.15) !important; color: #1a1a1a !important; }
body.theme-win7 .friends-tab.active { background: linear-gradient(180deg, #5b9bd5 0%, #3a7cc3 100%) !important; color: #fff !important; border-color: #2d5a8e !important; }
body.theme-win7 .btn-green { background: linear-gradient(180deg, #5aba7a 0%, #3ba55d 100%) !important; border: 1px solid #2d8a4e !important; color: #fff !important; }
body.theme-win7 .btn-green:hover { background: linear-gradient(180deg, #6ac48a 0%, #48b36b 100%) !important; }
body.theme-win7 .btn-red { background: linear-gradient(180deg, #f06b6d 0%, #ed4245 100%) !important; border: 1px solid #c03537 !important; color: #fff !important; }
body.theme-win7 .btn-red:hover { background: linear-gradient(180deg, #e05a5d 0%, #c23a3d 100%) !important; }

/* --- Settings Sidebar (2-class rules beat Rule B) --- */
body.theme-win7 .settings-sidebar .settings-row { color: #1a1a1a !important; }
body.theme-win7 .settings-sidebar .settings-row-icon { color: #3a6ea5 !important; }
body.theme-win7 .settings-sidebar .settings-row:hover { background: rgba(58,110,165,0.1) !important; }
body.theme-win7 .settings-sidebar .settings-row.active { background: linear-gradient(180deg, #5b9bd5 0%, #3a7cc3 100%) !important; color: #fff !important; }
body.theme-win7 .settings-sidebar .settings-row.active .settings-row-icon { color: #fff !important; }
body.theme-win7 .settings-sidebar .settings-row.danger { color: #c03537 !important; }
body.theme-win7 .settings-sidebar hr { border-color: #aca899 !important; }
body.theme-win7 .modal-body .description { color: #555 !important; }

/* --- Message Reactions --- */
body.theme-win7 .message-reaction { background: rgba(58,110,165,0.1) !important; border: 1px solid #7ba2cc !important; color: #1a1a1a !important; }
body.theme-win7 .message-reaction:hover { background: rgba(58,110,165,0.2) !important; border-color: #3a6ea5 !important; }
body.theme-win7 .message-reaction.mine { background: rgba(58,110,165,0.2) !important; border-color: #3a6ea5 !important; color: #1a5dab !important; }

/* --- Badges (dark text on colored backgrounds) --- */
body.theme-win7 .rail-dm-badge,
body.theme-win7 .unread-badge,
body.theme-win7 .mobile-nav-badge,
body.theme-win7 .role-badge { color: #fff !important; }

/* --- Dividers --- */
body.theme-win7 .dropdown-divider { border-color: #aca899 !important; background: #aca899 !important; }
body.theme-win7 .new-messages-divider-line { background: #ed4245 !important; }
body.theme-win7 .new-messages-divider-text { color: #ed4245 !important; background: #ece9d8 !important; }

/* --- Spoilers --- */
body.theme-win7 .spoiler::after { background: #aca899 !important; }
body.theme-win7 .spoiler:hover::after { background: #96928a !important; }
body.theme-win7 .spoiler { color: #1a1a1a !important; }

/* --- Mentions --- */
body.theme-win7 .mention { background: rgba(58,110,165,0.15) !important; color: #1a5dab !important; }
body.theme-win7 .mention:hover { background: rgba(58,110,165,0.25) !important; }
body.theme-win7 .own-mention { background: rgba(58,110,165,0.25) !important; color: #1a5dab !important; }
body.theme-win7 .everyone-mention { background: rgba(58,110,165,0.25) !important; color: #1a5dab !important; }

/* --- Voice Sidebar Controls --- */
body.theme-win7 .voice-sidebar-controls { background: #d6e7f9 !important; border-top: 1px solid #7ba2cc !important; }
body.theme-win7 .voice-panel-header { border-color: #7ba2cc !important; }
body.theme-win7 .voice-panel-list::-webkit-scrollbar-thumb { background: #7ba2cc !important; }

/* --- Member/Friend/DM Hover States --- */
body.theme-win7 .member-row:hover { background: rgba(58,110,165,0.08) !important; }
body.theme-win7 .friend-row:hover { background: rgba(58,110,165,0.08) !important; }
body.theme-win7 .voice-participant:hover { background: rgba(58,110,165,0.08) !important; }
body.theme-win7 .dm-list-item:hover { background: rgba(58,110,165,0.1) !important; }
body.theme-win7 .dm-list-item.active { background: rgba(58,110,165,0.18) !important; color: #1a1a1a !important; }

/* --- Timestamps (dimmed) --- */
body.theme-win7 .message-time { color: #7f9dab !important; }

/* --- Pin Badge --- */
body.theme-win7 .message-pin-badge svg { color: #7f9dab !important; }

/* --- Checkbox / Toggle / Switch --- */
body.theme-win7 .checkbox-row { background: #fff !important; border: 1px solid #aca899 !important; color: #1a1a1a !important; }
body.theme-win7 .checkbox-row:hover { background: #d6e7f9 !important; }
body.theme-win7 .toggle-row .toggle-track { background: #aca899 !important; }
body.theme-win7 .toggle-row .toggle-track.on, body.theme-win7 .toggle-row .toggle-track.active { background: #3a6ea5 !important; }
body.theme-win7 .toggle-row .toggle-knob { background: #fff !important; box-shadow: 0 1px 2px rgba(0,0,0,0.3) !important; }
body.theme-win7 .switch-slider { background: #aca899 !important; }
body.theme-win7 .switch-slider.on, body.theme-win7 input:checked + .switch-slider { background: #3a6ea5 !important; }
body.theme-win7 .color-input::-webkit-color-swatch { border: 1px solid #aca899 !important; }

/* --- Emoji Picker Hover --- */
body.theme-win7 .emoji-picker-item:hover { background: rgba(58,110,165,0.15) !important; }

/* --- Firefox Scrollbars --- */
body.theme-win7 { scrollbar-color: #7ba2cc #ece9d8; }

/* --- Inline color:#fff invisible text fixes --- */
body.theme-win7 .empty-state h2[style*="color:#fff"],
body.theme-win7 .empty-state h2[style*="color: #fff"] { color: #1a1a1a !important; }
body.theme-win7 .settings-main h3[style*="color:#fff"],
body.theme-win7 .settings-main h3[style*="color: #fff"] { color: #1a1a1a !important; }
body.theme-win7 h3[style*="color:#fff"],
body.theme-win7 h3[style*="color: #fff"] { color: #1a1a1a !important; }
body.theme-win7 h2[style*="color:#fff"],
body.theme-win7 h2[style*="color: #fff"] { color: #1a1a1a !important; }

/* --- Inline color:#b9bbbe washed-out text on light backgrounds --- */
body.theme-win7 [style*="color:#b9bbbe"]:not([style*="background"]):not(.msg-author):not(.message-content),
body.theme-win7 [style*="color: #b9bbbe"]:not([style*="background"]):not(.msg-author):not(.message-content) {
  color: #555 !important;
}
body.theme-win7 [style*="color:#72767d"]:not([style*="background"]):not(.msg-author):not(.message-content),
body.theme-win7 [style*="color: #72767d"]:not([style*="background"]):not(.msg-author):not(.message-content) {
  color: #7f9dab !important;
}
body.theme-win7 [style*="color:#dcddde"]:not([style*="background"]):not(.msg-author):not(.message-content),
body.theme-win7 [style*="color: #dcddde"]:not([style*="background"]):not(.msg-author):not(.message-content) {
  color: #555 !important;
}