/* ==========================================================================
   7M SPORTS DARK MODE & THEME PALETTES STYLESHEET
   ========================================================================== */

/* Color Theme Palettes & Flat UI Reset */
body[data-theme="dark"] *,
body.dark-mode * {
  box-shadow: none !important;
  text-shadow: none !important;
}

html[data-color-theme="green"],
body[data-color-theme="green"],
body.theme-green {
  --sevenm-primary: #008855;
  --sevenm-primary-dark: #005a36;
  --sevenm-primary-darker: #004028;
  --sevenm-primary-light: #00a86b;
  --sevenm-table-header: #eaf3ec;
  --sevenm-table-subhead: #f4faf6;
  --sevenm-footer-bg: #0f1d17;
  --sevenm-footer-border: #1a3327;
  --sevenm-footer-link: #a3c9b7;
  --sevenm-footer-hover: #4ade80;
  --sevenm-primary-rgb: 0, 136, 85;
}

html[data-color-theme="blue"],
body[data-color-theme="blue"],
body.theme-blue {
  --sevenm-primary: #0066cc;
  --sevenm-primary-dark: #004c99;
  --sevenm-primary-darker: #003366;
  --sevenm-primary-light: #2684ff;
  --sevenm-table-header: #e6f0fa;
  --sevenm-table-subhead: #f0f6fc;
  --sevenm-footer-bg: #0b1528;
  --sevenm-footer-border: #16284a;
  --sevenm-footer-link: #93c5fd;
  --sevenm-footer-hover: #60a5fa;
  --sevenm-primary-rgb: 0, 102, 204;
}

html[data-color-theme="red"],
body[data-color-theme="red"],
body.theme-red {
  --sevenm-primary: #cc0000;
  --sevenm-primary-dark: #990000;
  --sevenm-primary-darker: #660000;
  --sevenm-primary-light: #e63946;
  --sevenm-table-header: #fae6e8;
  --sevenm-table-subhead: #fdf2f3;
  --sevenm-footer-bg: #1f0b0d;
  --sevenm-footer-border: #381519;
  --sevenm-footer-link: #fca5a5;
  --sevenm-footer-hover: #f87171;
  --sevenm-primary-rgb: 204, 0, 0;
}

html[data-color-theme="purple"],
body[data-color-theme="purple"],
body.theme-purple {
  --sevenm-primary: #7b2cbf;
  --sevenm-primary-dark: #5a189a;
  --sevenm-primary-darker: #3c096c;
  --sevenm-primary-light: #9d4edd;
  --sevenm-table-header: #f3e8fc;
  --sevenm-table-subhead: #faf4fe;
  --sevenm-footer-bg: #180b26;
  --sevenm-footer-border: #2e1548;
  --sevenm-footer-link: #d8b4fe;
  --sevenm-footer-hover: #c084fc;
  --sevenm-primary-rgb: 123, 44, 191;
}

html[data-color-theme="orange"],
body[data-color-theme="orange"],
body.theme-orange {
  --sevenm-primary: #e65100;
  --sevenm-primary-dark: #bf360c;
  --sevenm-primary-darker: #872300;
  --sevenm-primary-light: #ff7043;
  --sevenm-table-header: #fbe9e7;
  --sevenm-table-subhead: #fdf4f2;
  --sevenm-footer-bg: #1f0f08;
  --sevenm-footer-border: #3d1f12;
  --sevenm-footer-link: #fed7aa;
  --sevenm-footer-hover: #fb923c;
  --sevenm-primary-rgb: 230, 81, 0;
}

html[data-color-theme="gold"],
body[data-color-theme="gold"],
body.theme-gold {
  --sevenm-primary: #b8860b;
  --sevenm-primary-dark: #8c6608;
  --sevenm-primary-darker: #5c4305;
  --sevenm-primary-light: #d4af37;
  --sevenm-table-header: #fbf6e8;
  --sevenm-table-subhead: #fdfbf2;
  --sevenm-footer-bg: #1c1508;
  --sevenm-footer-border: #382c12;
  --sevenm-footer-link: #fde68a;
  --sevenm-footer-hover: #fbbf24;
  --sevenm-primary-rgb: 184, 134, 11;
}

/* Font Size Scales */
body.font-11 { font-size: 11px !important; }
body.font-11 .sevenm-live-table td, body.font-11 .sevenm-live-table th { font-size: 11px !important; }
body.font-12 { font-size: 12px !important; }
body.font-12 .sevenm-live-table td, body.font-12 .sevenm-live-table th { font-size: 12px !important; }
body.font-14 { font-size: 14px !important; }
body.font-14 .sevenm-live-table td, body.font-14 .sevenm-live-table th { font-size: 13.5px !important; }

/* ==========================================================================
   DARK MODE STYLES (Activated by [data-theme="dark"] or body.dark-mode)
   ========================================================================== */
body[data-theme="dark"],
body.dark-mode {
  --sevenm-text-main: #e2e8f0;
  --sevenm-text-muted: #94a3b8;
  --sevenm-border: #2d3748;
  --sevenm-row-alt: #1a222d;
  --sevenm-row-hover: #263342;
  --sevenm-live-flash: #4a3800;
  background-color: #0f172a !important;
  color: #e2e8f0 !important;
}

body[data-theme="dark"] a,
body.dark-mode a {
  color: var(--sevenm-primary-light, #38bdf8);
}

body[data-theme="dark"] a:hover,
body.dark-mode a:hover {
  color: #f59e0b;
}

/* Dark Mode Components */
body[data-theme="dark"] .sevenm-top-bar,
body.dark-mode .sevenm-top-bar {
  background-color: var(--sevenm-topbar-bg, #080d1a);
  border-bottom-color: var(--sevenm-topbar-border, #1e293b);
  color: #cbd5e1;
}

body[data-theme="dark"] .sevenm-darkmode-toggle,
body.dark-mode .sevenm-darkmode-toggle {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

body[data-theme="dark"] .sevenm-darkmode-toggle .dashicons,
body.dark-mode .sevenm-darkmode-toggle .dashicons {
  color: #f59e0b !important;
  filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.6));
}

body[data-theme="dark"] .sevenm-sound-toggle,
body.dark-mode .sevenm-sound-toggle {
  background: rgba(16, 185, 129, 0.15) !important;
  border-color: #10b981 !important;
  color: #ffffff !important;
}

body[data-theme="dark"] .sevenm-sound-toggle .dashicons,
body.dark-mode .sevenm-sound-toggle .dashicons {
  color: #34d399 !important;
}

body[data-theme="dark"] .sevenm-main-header,
body.dark-mode .sevenm-main-header {
  background-color: #111c2e;
  border-bottom-color: #1e293b;
}

body[data-theme="dark"] .sevenm-main-nav,
body.dark-mode .sevenm-main-nav {
  background-color: #0d1b2a;
  border-bottom-color: #1e293b;
}

body[data-theme="dark"] .sevenm-dropdown-submenu,
body.dark-mode .sevenm-dropdown-submenu {
  background-color: #0b1320;
  border-top-color: var(--sevenm-primary, #38bdf8);
}

body[data-theme="dark"] .sevenm-dropdown-submenu li a,
body.dark-mode .sevenm-dropdown-submenu li a {
  color: #cbd5e1;
  border-bottom-color: #1e293b;
}

body[data-theme="dark"] .sevenm-dropdown-submenu li.active a,
body[data-theme="dark"] .sevenm-dropdown-submenu li a:hover,
body.dark-mode .sevenm-dropdown-submenu li.active a,
body.dark-mode .sevenm-dropdown-submenu li a:hover {
  background-color: #1e293b;
  color: var(--sevenm-primary-light, #38bdf8);
}

/* 4. Sub-Navigation Bar in Dark Mode (Tier 2 Views) */
body[data-theme="dark"] .sevenm-subnav-bar,
body.dark-mode .sevenm-subnav-bar {
  background-color: #111c2e !important;
  border-bottom-color: var(--sevenm-primary, #38bdf8) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

body[data-theme="dark"] .sevenm-subview-item a,
body.dark-mode .sevenm-subview-item a {
  color: #94a3b8;
}

body[data-theme="dark"] .sevenm-subview-item.active a,
body.dark-mode .sevenm-subview-item.active a {
  background-color: #1a273a;
  color: var(--sevenm-primary-light, #38bdf8);
  border-bottom-color: var(--sevenm-primary);
}

body[data-theme="dark"] .sevenm-subview-item a:hover,
body.dark-mode .sevenm-subview-item a:hover {
  background-color: #1a273a;
  color: #ffffff;
}

body[data-theme="dark"] .sevenm-current-sport-tag,
body.dark-mode .sevenm-current-sport-tag {
  background: var(--sevenm-primary);
  color: #ffffff;
}

body[data-theme="dark"] .sevenm-search-box input,
body.dark-mode .sevenm-search-box input {
  background-color: #1e293b;
  color: #fff;
  border-color: #334155;
}

body[data-theme="dark"] .sevenm-filter-bar,
body.dark-mode .sevenm-filter-bar {
  background-color: #162235;
  border-color: #1e293b;
}

body[data-theme="dark"] .sevenm-filter-right,
body.dark-mode .sevenm-filter-right {
  border-top-color: #1e293b;
}

body[data-theme="dark"] .sevenm-tab-btn,
body.dark-mode .sevenm-tab-btn {
  background-color: #1e293b;
  color: #cbd5e1;
  border-color: #334155;
}

body[data-theme="dark"] .sevenm-tab-btn:hover,
body.dark-mode .sevenm-tab-btn:hover {
  background-color: #273549;
  border-color: #475569;
  color: #f1f5f9;
}

body[data-theme="dark"] .sevenm-tab-btn.active,
body.dark-mode .sevenm-tab-btn.active {
  background-color: var(--sevenm-primary);
  color: #fff;
  border-color: var(--sevenm-primary);
}

body[data-theme="dark"] .sevenm-filter-date-picker,
body.dark-mode .sevenm-filter-date-picker {
  background-color: #1e293b;
  border-color: #334155;
}

body[data-theme="dark"] .sevenm-filter-date-picker input[type="date"],
body.dark-mode .sevenm-filter-date-picker input[type="date"] {
  color: #e2e8f0;
}

body[data-theme="dark"] .sevenm-filter-date-picker:hover,
body.dark-mode .sevenm-filter-date-picker:hover {
  border-color: #475569;
}

body[data-theme="dark"] .sevenm-sort-btn,
body.dark-mode .sevenm-sort-btn {
  background-color: #1e293b;
  color: #cbd5e1;
  border-color: #334155;
}

body[data-theme="dark"] .sevenm-sort-btn:hover,
body.dark-mode .sevenm-sort-btn:hover {
  background-color: #273549;
  border-color: #475569;
  color: #f1f5f9;
}

body[data-theme="dark"] .sevenm-bookmaker-select label,
body.dark-mode .sevenm-bookmaker-select label {
  color: #94a3b8;
}

body[data-theme="dark"] .sevenm-bookmaker-select select,
body.dark-mode .sevenm-bookmaker-select select {
  background-color: #1e293b;
  color: #cbd5e1;
  border-color: #334155;
}

body[data-theme="dark"] .sevenm-bookmaker-select select:hover,
body.dark-mode .sevenm-bookmaker-select select:hover {
  border-color: #475569;
}

/* Dark Mode Table */
body[data-theme="dark"] .sevenm-match-table-wrapper,
body.dark-mode .sevenm-match-table-wrapper {
  background-color: #162235;
  border: 1px solid #1e293b;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

body[data-theme="dark"] .sevenm-live-table thead th,
body.dark-mode .sevenm-live-table thead th {
  background-color: #111c2e;
  color: #38bdf8;
  border-bottom-color: var(--sevenm-primary);
  border-right-color: #1e293b;
}

body[data-theme="dark"] .sevenm-thead-sub th,
body.dark-mode .sevenm-thead-sub th {
  background-color: #0f1a2a !important;
  color: #94a3b8;
}

body[data-theme="dark"] .sevenm-live-table tbody td,
body.dark-mode .sevenm-live-table tbody td {
  border-bottom-color: #1e293b;
  border-right-color: #192538;
}

body[data-theme="dark"] .sevenm-match-row:nth-child(even),
body.dark-mode .sevenm-match-row:nth-child(even) {
  background-color: #131c2b;
}

body[data-theme="dark"] .sevenm-match-row:hover,
body.dark-mode .sevenm-match-row:hover {
  background-color: #1e2f47 !important;
}

body[data-theme="dark"] .sevenm-team-name,
body.dark-mode .sevenm-team-name {
  color: #f1f5f9;
}

body[data-theme="dark"] .sevenm-score-val,
body.dark-mode .sevenm-score-val {
  color: #f8fafc;
}

body[data-theme="dark"] .sevenm-odds-box,
body.dark-mode .sevenm-odds-box {
  background-color: #1e293b;
  border-color: #334155;
  color: #cbd5e1;
}

body[data-theme="dark"] .odds-handicap-val,
body[data-theme="dark"] .odds-ou-val,
body.dark-mode .odds-handicap-val,
body.dark-mode .odds-ou-val {
  color: #38bdf8;
}

body[data-theme="dark"] .sevenm-btn-h2h,
body.dark-mode .sevenm-btn-h2h {
  background-color: #1e293b;
  border-color: #334155;
  color: #cbd5e1;
}

body[data-theme="dark"] .sevenm-card,
body.dark-mode .sevenm-card {
  background-color: #162235;
  border-color: #1e293b;
  color: #cbd5e1;
}

body[data-theme="dark"] .sevenm-card h2,
body[data-theme="dark"] .sevenm-card h3,
body[data-theme="dark"] .sevenm-card h4,
body.dark-mode .sevenm-card h2,
body.dark-mode .sevenm-card h3,
body.dark-mode .sevenm-card h4 {
  color: #f8fafc;
}

/* Dark Mode Navigation Bars & Date Tabs */
body[data-theme="dark"] .sevenm-date-nav-bar,
body.dark-mode .sevenm-date-nav-bar {
  background-color: #162235;
  border-color: #1e293b;
}

body[data-theme="dark"] .sevenm-date-tab,
body.dark-mode .sevenm-date-tab {
  background-color: #1e293b;
  border-color: #334155;
  color: #cbd5e1;
}

body[data-theme="dark"] .sevenm-filter-date-picker,
body.dark-mode .sevenm-filter-date-picker {
  background-color: #1e293b;
  border-color: #334155;
}

body[data-theme="dark"] .sevenm-filter-date-picker input[type="date"],
body.dark-mode .sevenm-filter-date-picker input[type="date"] {
  color: #cbd5e1;
  color-scheme: dark;
}

body[data-theme="dark"] .sevenm-league-tab-btn,
body.dark-mode .sevenm-league-tab-btn {
  background-color: #162235;
  border-color: #334155;
  color: #cbd5e1;
}

body[data-theme="dark"] .sevenm-league-tab-btn.active,
body.dark-mode .sevenm-league-tab-btn.active {
  background-color: var(--sevenm-primary);
  color: #fff;
}

/* Dark Mode Mobile Cards & Bottom Nav */
body[data-theme="dark"] .sevenm-mobile-match-card,
body.dark-mode .sevenm-mobile-match-card {
  background-color: #162235;
  border-color: #1e293b;
}

body[data-theme="dark"] .sevenm-mcard-header,
body[data-theme="dark"] .sevenm-mcard-footer,
body.dark-mode .sevenm-mcard-header,
body.dark-mode .sevenm-mcard-footer {
  border-color: #233144;
}

body[data-theme="dark"] .sevenm-mcard-tname,
body.dark-mode .sevenm-mcard-tname {
  color: #f8fafc;
}

body[data-theme="dark"] td.td-league,
body.dark-mode td.td-league,
body[data-theme="dark"] .sevenm-league-tag,
body.dark-mode .sevenm-league-tag {
  color: #ffffff !important;
}

body[data-theme="dark"] .sevenm-odds-tag,
body[data-theme="dark"] .sevenm-ht-tag,
body[data-theme="dark"] .sevenm-corner-tag,
body.dark-mode .sevenm-odds-tag,
body.dark-mode .sevenm-ht-tag,
body.dark-mode .sevenm-corner-tag {
  background-color: #1e293b;
  color: #cbd5e1;
}

body[data-theme="dark"] .sevenm-mobile-bottom-nav,
body.dark-mode .sevenm-mobile-bottom-nav {
  background-color: #111c2e;
  border-top-color: #1e293b;
}

body[data-theme="dark"] .sevenm-mobile-bottom-nav a,
body.dark-mode .sevenm-mobile-bottom-nav a {
  color: #94a3b8;
}

/* Dark Mode Modals */
body[data-theme="dark"] .sevenm-modal-dialog,
body.dark-mode .sevenm-modal-dialog {
  background-color: #162235;
  color: #e2e8f0;
}

body[data-theme="dark"] .sevenm-modal-body,
body.dark-mode .sevenm-modal-body {
  background-color: #162235;
}

body[data-theme="dark"] .sevenm-modal-footer,
body.dark-mode .sevenm-modal-footer {
  background-color: #111c2e;
  border-top-color: #1e293b;
}

body[data-theme="dark"] .sevenm-detail-table th,
body.dark-mode .sevenm-detail-table th {
  background-color: #1e293b !important;
  color: #94a3b8 !important;
  border-bottom-color: #334155 !important;
}

body[data-theme="dark"] .sevenm-detail-table td,
body.dark-mode .sevenm-detail-table td {
  border-bottom-color: #24344d !important;
  color: #e2e8f0 !important;
}

body[data-theme="dark"] .sevenm-detail-tab-btn,
body.dark-mode .sevenm-detail-tab-btn {
  background-color: #1e293b;
  color: #94a3b8;
}

body[data-theme="dark"] .sevenm-detail-tab-btn.active,
body.dark-mode .sevenm-detail-tab-btn.active {
  background-color: var(--sevenm-primary, #008855);
  color: #ffffff;
}

body[data-theme="dark"] .sevenm-league-check-item,
body.dark-mode .sevenm-league-check-item {
  background-color: #1e293b;
  border-color: #334155;
  color: #cbd5e1;
}

body[data-theme="dark"] .sevenm-dropdown-menu,
body.dark-mode .sevenm-dropdown-menu {
  background-color: #162235;
  border-color: #1e293b;
}

body[data-theme="dark"] .sevenm-dropdown-menu a,
body.dark-mode .sevenm-dropdown-menu a {
  color: #cbd5e1;
  border-bottom-color: #1e293b;
}

body[data-theme="dark"] .sevenm-dropdown-menu a:hover,
body[data-theme="dark"] .sevenm-dropdown-menu a.active,
body.dark-mode .sevenm-dropdown-menu a:hover,
body.dark-mode .sevenm-dropdown-menu a.active {
  background-color: #1e293b;
  color: #38bdf8;
}

/* Dark Mode Page Header & H1 Titles */
body[data-theme="dark"] .sevenm-page-header,
body.dark-mode .sevenm-page-header {
  background-color: #1a2332;
  border-left-color: var(--sevenm-primary-light, #38bdf8);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

body[data-theme="dark"] .sevenm-page-title,
body.dark-mode .sevenm-page-title {
  color: #f1f5f9;
}

body[data-theme="dark"] .sevenm-page-title .dashicons,
body.dark-mode .sevenm-page-title .dashicons {
  color: var(--sevenm-primary-light, #38bdf8);
}

body[data-theme="dark"] .sevenm-page-subtitle,
body.dark-mode .sevenm-page-subtitle {
  background-color: #0f172a;
  color: var(--sevenm-primary-light, #38bdf8);
  border: 1px solid #334155;
}

/* Dark Mode Page Content Box */
body[data-theme="dark"] .sevenm-page-content-box,
body.dark-mode .sevenm-page-content-box {
  background-color: #1a2332;
  border-color: #334155;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

body[data-theme="dark"] .sevenm-content-box-header,
body.dark-mode .sevenm-content-box-header {
  border-bottom-color: #2d3748;
}

body[data-theme="dark"] .sevenm-content-header-icon,
body.dark-mode .sevenm-content-header-icon {
  background-color: #0f172a;
  color: var(--sevenm-primary-light, #38bdf8);
}

body[data-theme="dark"] .sevenm-content-header-title,
body.dark-mode .sevenm-content-header-title {
  color: #f1f5f9;
}

body[data-theme="dark"] .sevenm-content-inner,
body.dark-mode .sevenm-content-inner {
  color: #cbd5e1;
}

body[data-theme="dark"] .sevenm-content-inner h2,
body[data-theme="dark"] .sevenm-content-inner h3,
body.dark-mode .sevenm-content-inner h2,
body.dark-mode .sevenm-content-inner h3 {
  color: #e2e8f0;
}

body[data-theme="dark"] .sevenm-content-inner code,
body.dark-mode .sevenm-content-inner code {
  background-color: #0f172a;
  color: #f87171;
  border: 1px solid #334155;
}

body[data-theme="dark"] .sevenm-content-box-body.collapsed::after,
body.dark-mode .sevenm-content-box-body.collapsed::after {
  background: linear-gradient(to bottom, rgba(26, 35, 50, 0) 0%, #1a2332 90%);
}

body[data-theme="dark"] .sevenm-content-box-toggle,
body.dark-mode .sevenm-content-box-toggle {
  border-top-color: #334155;
}

body[data-theme="dark"] .sevenm-btn-toggle-content,
body.dark-mode .sevenm-btn-toggle-content {
  background-color: #0f172a;
  border-color: #475569;
  color: #93c5fd;
}

body[data-theme="dark"] .sevenm-btn-toggle-content:hover,
body.dark-mode .sevenm-btn-toggle-content:hover {
  background-color: #1e293b;
  border-color: var(--sevenm-primary-light, #38bdf8);
  color: #ffffff;
}

/* Dark Mode Breadcrumbs */
body[data-theme="dark"] .sevenm-crumb-link,
body.dark-mode .sevenm-crumb-link {
  color: #94a3b8;
}

body[data-theme="dark"] .sevenm-crumb-link:hover,
body.dark-mode .sevenm-crumb-link:hover {
  color: var(--sevenm-primary-light, #38bdf8);
}

body[data-theme="dark"] .sevenm-crumb-separator,
body.dark-mode .sevenm-crumb-separator {
  color: #475569;
}

body[data-theme="dark"] .sevenm-crumb-current,
body.dark-mode .sevenm-crumb-current {
  color: #f1f5f9;
}

/* In-Table Ads Dark Mode */
body[data-theme="dark"] .sevenm-row-ad,
body.dark-mode .sevenm-row-ad {
  background-color: #131d2e !important;
}

body[data-theme="dark"] .sevenm-row-ad:hover,
body.dark-mode .sevenm-row-ad:hover {
  background-color: #182438 !important;
}

body[data-theme="dark"] .sevenm-td-ad,
body.dark-mode .sevenm-td-ad {
  border-top-color: #334155 !important;
  border-bottom-color: #334155 !important;
}

body[data-theme="dark"] .sevenm-mcard-ad,
body.dark-mode .sevenm-mcard-ad {
  background-color: #1a2332;
  border-color: #334155;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Vietnamese News Dark Mode */
body[data-theme="dark"] .sevenm-category-header-box,
body.dark-mode .sevenm-category-header-box {
  background-color: #1a2332;
  border-color: #2e3a4e;
}

body[data-theme="dark"] .sevenm-category-title,
body.dark-mode .sevenm-category-title {
  color: #f1f5f9;
}

body[data-theme="dark"] .sevenm-cat-icon,
body.dark-mode .sevenm-cat-icon {
  background-color: #0f172a;
  color: var(--sevenm-primary-light, #38bdf8);
}

body[data-theme="dark"] .sevenm-cat-badge-count,
body.dark-mode .sevenm-cat-badge-count {
  background-color: #0f172a;
  border-color: #334155;
  color: #94a3b8;
}

body[data-theme="dark"] .sevenm-btn-cat-action,
body.dark-mode .sevenm-btn-cat-action {
  background-color: #0f172a;
  border-color: #334155;
  color: #94a3b8;
}

body[data-theme="dark"] .sevenm-category-description,
body.dark-mode .sevenm-category-description {
  border-top-color: #2e3a4e;
  color: #94a3b8;
}

body[data-theme="dark"] .sevenm-subcat-tabs,
body.dark-mode .sevenm-subcat-tabs {
  border-top-color: #2e3a4e;
}

body[data-theme="dark"] .sevenm-subcat-tab,
body.dark-mode .sevenm-subcat-tab {
  background-color: #0f172a;
  border-color: #334155;
  color: #94a3b8;
}

body[data-theme="dark"] .sevenm-subcat-tab:hover,
body.dark-mode .sevenm-subcat-tab:hover {
  background-color: #1e293b;
  color: var(--sevenm-primary-light, #38bdf8);
  border-color: var(--sevenm-primary-light, #38bdf8);
}

body[data-theme="dark"] .sevenm-subcat-tab.active,
body.dark-mode .sevenm-subcat-tab.active {
  background-color: var(--sevenm-primary, #008855);
  color: #ffffff;
  border-color: var(--sevenm-primary, #008855);
}

body[data-theme="dark"] .sevenm-news-main-container,
body.dark-mode .sevenm-news-main-container {
  background-color: #1a2332;
  border-color: #2e3a4e;
}

body[data-theme="dark"] .sevenm-news-item,
body.dark-mode .sevenm-news-item {
  border-bottom-color: #243042;
}

body[data-theme="dark"] .sevenm-news-thumb-wrap,
body.dark-mode .sevenm-news-thumb-wrap {
  background-color: #0f172a;
}

body[data-theme="dark"] .sevenm-news-cat-badge,
body.dark-mode .sevenm-news-cat-badge {
  background-color: #0f172a;
  color: var(--sevenm-primary-light, #38bdf8);
}

body[data-theme="dark"] .sevenm-news-title a,
body.dark-mode .sevenm-news-title a {
  color: #f1f5f9;
}

body[data-theme="dark"] .sevenm-news-title a:hover,
body.dark-mode .sevenm-news-title a:hover {
  color: var(--sevenm-primary-light, #38bdf8);
}

body[data-theme="dark"] .sevenm-news-excerpt,
body.dark-mode .sevenm-news-excerpt {
  color: #94a3b8;
}

body[data-theme="dark"] .sevenm-news-meta,
body.dark-mode .sevenm-news-meta {
  color: #64748b;
}

body[data-theme="dark"] .sevenm-news-meta-item .dashicons,
body.dark-mode .sevenm-news-meta-item .dashicons {
  color: #64748b;
}

body[data-theme="dark"] .sevenm-meta-divider,
body.dark-mode .sevenm-meta-divider {
  color: #334155;
}

body[data-theme="dark"] .sevenm-btn-loadmore,
body.dark-mode .sevenm-btn-loadmore {
  background-color: #0f172a;
  border-color: var(--sevenm-primary, #008855);
  color: #e2e8f0;
}

body[data-theme="dark"] .sevenm-btn-loadmore:hover,
body.dark-mode .sevenm-btn-loadmore:hover {
  background-color: var(--sevenm-primary, #008855);
  color: #ffffff;
}

body[data-theme="dark"] .sevenm-no-more-msg,
body.dark-mode .sevenm-no-more-msg {
  color: #64748b;
}

body[data-theme="dark"] .sevenm-empty-posts-box h3,
body.dark-mode .sevenm-empty-posts-box h3 {
  color: #f1f5f9;
}

body[data-theme="dark"] .sevenm-empty-posts-box p,
body.dark-mode .sevenm-empty-posts-box p {
  color: #94a3b8;
}

/* Pinned Rows & Cards in Dark Mode */
body[data-theme="dark"] .sevenm-pin-btn,
body.dark-mode .sevenm-pin-btn {
  color: #64748b;
}

body[data-theme="dark"] .sevenm-pin-btn:hover,
body.dark-mode .sevenm-pin-btn:hover,
body[data-theme="dark"] .sevenm-pin-btn.pinned,
body.dark-mode .sevenm-pin-btn.pinned {
  color: #fbbf24 !important;
}

body[data-theme="dark"] .sevenm-mcard-pin-btn,
body.dark-mode .sevenm-mcard-pin-btn {
  color: #64748b;
}

body[data-theme="dark"] .sevenm-mcard-pin-btn:hover,
body.dark-mode .sevenm-mcard-pin-btn:hover,
body[data-theme="dark"] .sevenm-mcard-pin-btn.pinned,
body.dark-mode .sevenm-mcard-pin-btn.pinned {
  color: #fbbf24 !important;
}

body[data-theme="dark"] .sevenm-match-row.sevenm-row-pinned,
body.dark-mode .sevenm-match-row.sevenm-row-pinned,
body[data-theme="dark"] .sevenm-basket-row.sevenm-row-pinned,
body.dark-mode .sevenm-basket-row.sevenm-row-pinned,
body[data-theme="dark"] .sevenm-tennis-row.sevenm-row-pinned,
body.dark-mode .sevenm-tennis-row.sevenm-row-pinned,
body[data-theme="dark"] .sevenm-volleyball-row.sevenm-row-pinned,
body.dark-mode .sevenm-volleyball-row.sevenm-row-pinned,
body[data-theme="dark"] tr.sevenm-row-pinned,
body.dark-mode tr.sevenm-row-pinned {
  background-color: #262111 !important;
  border-left: 3px solid #fbbf24 !important;
}

body[data-theme="dark"] .sevenm-match-row.sevenm-row-pinned:hover,
body.dark-mode .sevenm-match-row.sevenm-row-pinned:hover,
body[data-theme="dark"] .sevenm-basket-row.sevenm-row-pinned:hover,
body.dark-mode .sevenm-basket-row.sevenm-row-pinned:hover,
body[data-theme="dark"] .sevenm-tennis-row.sevenm-row-pinned:hover,
body.dark-mode .sevenm-tennis-row.sevenm-row-pinned:hover,
body[data-theme="dark"] .sevenm-volleyball-row.sevenm-row-pinned:hover,
body.dark-mode .sevenm-volleyball-row.sevenm-row-pinned:hover {
  background-color: #312a14 !important;
}

body[data-theme="dark"] .sevenm-mobile-match-card.sevenm-mcard-pinned,
body.dark-mode .sevenm-mobile-match-card.sevenm-mcard-pinned {
  background-color: #1e1b10 !important;
  border-left: 4px solid #fbbf24 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Dark Mode Live Match Event Overlay Modal */
body[data-theme="dark"] .sevenm-event-overlay-backdrop,
body.dark-mode .sevenm-event-overlay-backdrop {
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

body[data-theme="dark"] .sevenm-event-modal,
body.dark-mode .sevenm-event-modal {
  pointer-events: auto;
  background: #162235;
  border-color: var(--sevenm-primary, #38bdf8);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.55);
}

body[data-theme="dark"] .sevenm-event-header,
body.dark-mode .sevenm-event-header {
  background: #111c2e;
  border-bottom-color: #1e293b;
}

body[data-theme="dark"] .sevenm-event-body,
body.dark-mode .sevenm-event-body {
  background: #162235;
}

body[data-theme="dark"] .sevenm-event-close-btn,
body.dark-mode .sevenm-event-close-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}

body[data-theme="dark"] .sevenm-event-close-btn:hover,
body.dark-mode .sevenm-event-close-btn:hover {
  background: #ef4444;
  color: #ffffff;
}

body[data-theme="dark"] .sevenm-event-logo-wrap,
body.dark-mode .sevenm-event-logo-wrap {
  background: #0f172a;
  border-color: #1e293b;
}

body[data-theme="dark"] .sevenm-event-tname,
body.dark-mode .sevenm-event-tname {
  color: #f1f5f9;
}

body[data-theme="dark"] .sevenm-event-score-box,
body.dark-mode .sevenm-event-score-box {
  color: #f8fafc;
}

body[data-theme="dark"] .sevenm-event-score-num,
body.dark-mode .sevenm-event-score-num {
  color: #f43f5e;
}

body[data-theme="dark"] .sevenm-event-score-sep,
body.dark-mode .sevenm-event-score-sep {
  color: #64748b;
}

body[data-theme="dark"] .sevenm-event-footer,
body.dark-mode .sevenm-event-footer {
  background: #111c2e;
  border-top-color: #1e293b;
  color: #cbd5e1;
}

body[data-theme="dark"] .sevenm-event-progress-wrap,
body.dark-mode .sevenm-event-progress-wrap {
  background: #1e293b;
}

/* ==========================================================================
   Dark Mode: Sidebar & Mini Sports Widgets
   ========================================================================== */
body[data-theme="dark"] .sevenm-widget,
body.dark-mode .sevenm-widget {
  background: #1a2332;
  border-color: #2a3749;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

body[data-theme="dark"] .sevenm-widget-header,
body.dark-mode .sevenm-widget-header {
  background: #141c28;
  border-bottom-color: #2a3749;
  border-left-color: var(--sevenm-primary-light, #10b981);
}

body[data-theme="dark"] .sevenm-widget-title,
body.dark-mode .sevenm-widget-title {
  color: #f1f5f9;
}

body[data-theme="dark"] .sevenm-widget-more,
body.dark-mode .sevenm-widget-more {
  color: var(--sevenm-primary-light, #38bdf8);
}

body[data-theme="dark"] .sevenm-mini-empty-state,
body.dark-mode .sevenm-mini-empty-state {
  color: #64748b;
}

body[data-theme="dark"] .sevenm-mini-live-item,
body[data-theme="dark"] .sevenm-mini-fixture-item,
body[data-theme="dark"] .sevenm-mini-result-item,
body.dark-mode .sevenm-mini-live-item,
body.dark-mode .sevenm-mini-fixture-item,
body.dark-mode .sevenm-mini-result-item {
  border-bottom-color: #222f42;
}

body[data-theme="dark"] .sevenm-mini-live-item:hover,
body[data-theme="dark"] .sevenm-mini-fixture-item:hover,
body[data-theme="dark"] .sevenm-mini-result-item:hover,
body.dark-mode .sevenm-mini-live-item:hover,
body.dark-mode .sevenm-mini-fixture-item:hover,
body.dark-mode .sevenm-mini-result-item:hover {
  background-color: #151e2d;
}

body[data-theme="dark"] .sevenm-mini-team,
body.dark-mode .sevenm-mini-team {
  color: #e2e8f0;
}

body[data-theme="dark"] .sevenm-mini-score-val,
body.dark-mode .sevenm-mini-score-val {
  background: #0f172a;
  color: #f1f5f9;
}

body[data-theme="dark"] .sevenm-mini-score-val.highlight-live,
body.dark-mode .sevenm-mini-score-val.highlight-live {
  background: #451a1a;
  color: #f87171;
  border-color: #7f1d1d;
}

body[data-theme="dark"] .sevenm-mini-score-val.ft-score,
body.dark-mode .sevenm-mini-score-val.ft-score {
  background: #064e3b;
  color: #6ee7b7;
}

body[data-theme="dark"] .sevenm-mini-score-vs,
body.dark-mode .sevenm-mini-score-vs {
  background: #0f172a;
  color: #64748b;
}

body[data-theme="dark"] .sevenm-mini-odds-badge,
body.dark-mode .sevenm-mini-odds-badge {
  background: #0c4a6e;
  color: #7dd3fc;
}

body[data-theme="dark"] .sevenm-mini-status-badge,
body.dark-mode .sevenm-mini-status-badge {
  color: #94a3b8;
}

body[data-theme="dark"] .sevenm-mini-time-badge,
body.dark-mode .sevenm-mini-time-badge {
  color: #94a3b8;
}

/* Dark Mode Mini Standings */
body[data-theme="dark"] .sevenm-mini-table thead th,
body.dark-mode .sevenm-mini-table thead th {
  background: #141c28;
  color: #94a3b8;
  border-bottom-color: #2a3749;
}

body[data-theme="dark"] .sevenm-mini-table tbody td,
body.dark-mode .sevenm-mini-table tbody td {
  border-bottom-color: #222f42;
  color: #e2e8f0;
}

body[data-theme="dark"] .sevenm-mini-table tbody tr:hover td,
body.dark-mode .sevenm-mini-table tbody tr:hover td {
  background-color: #151e2d;
}

body[data-theme="dark"] .sevenm-mini-rank,
body.dark-mode .sevenm-mini-rank {
  background: #0f172a;
  color: #94a3b8;
}

body[data-theme="dark"] .sevenm-mini-muted,
body.dark-mode .sevenm-mini-muted {
  color: #94a3b8;
}

body[data-theme="dark"] .sevenm-mini-pts,
body.dark-mode .sevenm-mini-pts {
  color: var(--sevenm-primary-light, #34d399);
}

/* Dark Mode Mini Posts */
body[data-theme="dark"] .sevenm-mini-post-item,
body.dark-mode .sevenm-mini-post-item {
  border-bottom-color: #222f42;
}

body[data-theme="dark"] .sevenm-mini-post-thumb-wrap,
body.dark-mode .sevenm-mini-post-thumb-wrap {
  background: #0f172a;
}

body[data-theme="dark"] .sevenm-mini-post-title a,
body.dark-mode .sevenm-mini-post-title a {
  color: #f1f5f9;
}

body[data-theme="dark"] .sevenm-mini-post-title a:hover,
body.dark-mode .sevenm-mini-post-title a:hover {
  color: var(--sevenm-primary-light, #38bdf8);
}

body[data-theme="dark"] .sevenm-mini-post-time,
body.dark-mode .sevenm-mini-post-time {
  color: #64748b;
}

/* ==========================================================================
   Dark Mode: Single Article Page
   ========================================================================== */
body[data-theme="dark"] .sevenm-single-main-container,
body.dark-mode .sevenm-single-main-container {
  background: #1a2332;
  border-color: #2a3749;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

body[data-theme="dark"] .sevenm-article-title,
body.dark-mode .sevenm-article-title {
  color: #f8fafc;
}

body[data-theme="dark"] .sevenm-article-meta-bar,
body.dark-mode .sevenm-article-meta-bar {
  border-bottom-color: #2a3749;
  color: #94a3b8;
}

body[data-theme="dark"] .sevenm-author-name,
body.dark-mode .sevenm-author-name {
  color: #e2e8f0;
}

body[data-theme="dark"] .sevenm-meta-divider,
body.dark-mode .sevenm-meta-divider {
  color: #475569;
}

body[data-theme="dark"] .sevenm-share-btn.btn-copy,
body.dark-mode .sevenm-share-btn.btn-copy {
  background: #334155;
  color: #e2e8f0;
}

body[data-theme="dark"] .sevenm-article-sapo,
body.dark-mode .sevenm-article-sapo {
  background: #141c28;
  color: #cbd5e1;
  border-left-color: var(--sevenm-primary-light, #10b981);
}

body[data-theme="dark"] .sevenm-media-caption,
body.dark-mode .sevenm-media-caption {
  color: #94a3b8;
}

body[data-theme="dark"] .sevenm-article-body,
body.dark-mode .sevenm-article-body {
  color: #e2e8f0;
}

body[data-theme="dark"] .sevenm-article-body h2,
body[data-theme="dark"] .sevenm-article-body h3,
body[data-theme="dark"] .sevenm-article-body h4,
body.dark-mode .sevenm-article-body h2,
body.dark-mode .sevenm-article-body h3,
body.dark-mode .sevenm-article-body h4 {
  color: #f8fafc;
}

body[data-theme="dark"] .sevenm-article-tags-wrap,
body.dark-mode .sevenm-article-tags-wrap {
  border-top-color: #2a3749;
}

body[data-theme="dark"] .sevenm-tag-pill,
body.dark-mode .sevenm-tag-pill {
  background: #0f172a;
  color: #94a3b8;
}

body[data-theme="dark"] .sevenm-tag-pill:hover,
body.dark-mode .sevenm-tag-pill:hover {
  background: #1e293b;
  color: #f1f5f9;
}

body[data-theme="dark"] .sevenm-article-signature,
body.dark-mode .sevenm-article-signature {
  background: #141c28;
  color: #94a3b8;
}

body[data-theme="dark"] .wp-caption,
body.dark-mode .wp-caption {
  background: #141c28;
  border-color: #2a3749;
}

body[data-theme="dark"] .wp-caption-text,
body[data-theme="dark"] figcaption,
body[data-theme="dark"] .wp-element-caption,
body[data-theme="dark"] .sevenm-media-caption,
body.dark-mode .wp-caption-text,
body.dark-mode figcaption,
body.dark-mode .wp-element-caption,
body.dark-mode .sevenm-media-caption {
  color: #94a3b8;
}

body[data-theme="dark"] .entry-content pre,
body[data-theme="dark"] .sevenm-article-body pre,
body.dark-mode .entry-content pre,
body.dark-mode .sevenm-article-body pre {
  background: #141c28;
  border-color: #2a3749;
  color: #e2e8f0;
}

body[data-theme="dark"] .entry-content table th,
body[data-theme="dark"] .entry-content table td,
body[data-theme="dark"] .sevenm-article-body table th,
body[data-theme="dark"] .sevenm-article-body table td,
body.dark-mode .entry-content table th,
body.dark-mode .entry-content table td,
body.dark-mode .sevenm-article-body table th,
body.dark-mode .sevenm-article-body table td {
  border-color: #2a3749;
}

body[data-theme="dark"] .sevenm-ad-placeholder,
body.dark-mode .sevenm-ad-placeholder {
  background: #141c28;
  border-color: #2a3749;
  color: #64748b;
}

body[data-theme="dark"] .sevenm-related-posts-section,
body.dark-mode .sevenm-related-posts-section {
  border-top-color: #2a3749;
}

body[data-theme="dark"] .sevenm-section-heading h3,
body.dark-mode .sevenm-section-heading h3 {
  color: #f1f5f9;
}

body[data-theme="dark"] .sevenm-related-card,
body.dark-mode .sevenm-related-card {
  background: #141c28;
  border-color: #2a3749;
}

body[data-theme="dark"] .sevenm-related-card:hover,
body.dark-mode .sevenm-related-card:hover {
  background: #182333;
}

body[data-theme="dark"] .sevenm-related-title a,
body.dark-mode .sevenm-related-title a {
  color: #f1f5f9;
}

body[data-theme="dark"] .sevenm-related-title a:hover,
body.dark-mode .sevenm-related-title a:hover {
  color: var(--sevenm-primary-light, #38bdf8);
}

/* ==========================================================================
   Dark Mode: 2-Column Latest News Module
   ========================================================================== */
body[data-theme="dark"] .sevenm-latest-news-section,
body.dark-mode .sevenm-latest-news-section {
  background: #1a2332;
  border-color: #2a3749;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

body[data-theme="dark"] .sevenm-module-header,
body.dark-mode .sevenm-module-header {
  border-bottom-color: #2a3749;
}

body[data-theme="dark"] .sevenm-module-icon,
body.dark-mode .sevenm-module-icon {
  background: rgba(16, 185, 129, 0.15);
  color: var(--sevenm-primary-light, #10b981);
}

body[data-theme="dark"] .sevenm-module-title,
body.dark-mode .sevenm-module-title {
  color: #f1f5f9;
}

body[data-theme="dark"] .sevenm-module-badge,
body.dark-mode .sevenm-module-badge {
  background: rgba(16, 185, 129, 0.15);
  color: var(--sevenm-primary-light, #10b981);
}

body[data-theme="dark"] .sevenm-module-more-link,
body.dark-mode .sevenm-module-more-link {
  color: var(--sevenm-primary-light, #38bdf8);
}

body[data-theme="dark"] .sevenm-grid-news-card,
body.dark-mode .sevenm-grid-news-card {
  border-bottom-color: #222f42;
}

body[data-theme="dark"] .sevenm-grid-news-thumb-wrap,
body.dark-mode .sevenm-grid-news-thumb-wrap {
  background: #0f172a;
}

body[data-theme="dark"] .sevenm-grid-news-placeholder,
body.dark-mode .sevenm-grid-news-placeholder {
  background: #0f172a;
}

body[data-theme="dark"] .sevenm-grid-news-cat,
body.dark-mode .sevenm-grid-news-cat {
  color: var(--sevenm-primary-light, #34d399);
}

body[data-theme="dark"] .sevenm-grid-news-title a,
body.dark-mode .sevenm-grid-news-title a {
  color: #f1f5f9;
}

body[data-theme="dark"] .sevenm-grid-news-title a:hover,
body.dark-mode .sevenm-grid-news-title a:hover {
  color: var(--sevenm-primary-light, #38bdf8);
}

body[data-theme="dark"] .sevenm-grid-news-meta,
body.dark-mode .sevenm-grid-news-meta {
  color: #64748b;
}

/* Dark Mode Navigation Active & Hover States */
body[data-theme="dark"] .sevenm-nav-item.active > a,
body[data-theme="dark"] .sevenm-nav-item.current-menu-item > a,
body[data-theme="dark"] .sevenm-nav-item.current_page_item > a,
body[data-theme="dark"] .sevenm-nav-item.current-menu-ancestor > a,
body.dark-mode .sevenm-nav-item.active > a,
body.dark-mode .sevenm-nav-item.current-menu-item > a,
body.dark-mode .sevenm-nav-item.current_page_item > a,
body.dark-mode .sevenm-nav-item.current-menu-ancestor > a {
  background-color: var(--sevenm-primary, #008855) !important;
  color: #ffffff !important;
}

/* Dark Mode Match Event Highlight Colors */
body[data-theme="dark"] .sevenm-event-color-goal,
body.dark-mode .sevenm-event-color-goal {
  animation-name: sevenmDarkColorGoal !important;
}

@keyframes sevenmDarkColorGoal {
  0% { background-color: #b45309 !important; color: #ffffff !important; }
  20% { background-color: #d97706 !important; color: #ffffff !important; }
  45% { background-color: rgba(245, 158, 11, 0.45) !important; color: #fef3c7 !important; }
  100% { background-color: rgba(245, 158, 11, 0.22) !important; color: inherit; }
}

body[data-theme="dark"] .sevenm-event-color-red,
body.dark-mode .sevenm-event-color-red {
  animation-name: sevenmDarkColorRed !important;
}

@keyframes sevenmDarkColorRed {
  0% { background-color: #991b1b !important; color: #ffffff !important; }
  25% { background-color: #dc2626 !important; color: #ffffff !important; }
  50% { background-color: rgba(220, 38, 38, 0.45) !important; color: #fecaca !important; }
  100% { background-color: rgba(220, 38, 38, 0.22) !important; color: inherit; }
}

body[data-theme="dark"] .sevenm-event-color-ft,
body.dark-mode .sevenm-event-color-ft {
  animation-name: sevenmDarkColorFt !important;
}

@keyframes sevenmDarkColorFt {
  0% { background-color: #065f46 !important; color: #ffffff !important; }
  25% { background-color: #059669 !important; color: #ffffff !important; }
  50% { background-color: rgba(16, 185, 129, 0.4) !important; color: #a7f3d0 !important; }
  100% { background-color: rgba(16, 185, 129, 0.2) !important; color: inherit; }
}









