/**
 * Tyso dark mode and theme toggle styles.
 * Moved from the child theme so dark mode is owned by the plugin.
 */

/* Light/Dark theme toggle */
.tyso-theme-toggle {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    width: 58px !important;
    height: 30px !important;
    padding: 3px !important;
    border: 1px solid rgba(148, 163, 184, 0.22) !important;
    border-radius: 999px !important;
    background: rgba(15, 23, 42, 0.86) !important;
    box-shadow: 0 10px 28px rgba(2, 8, 23, 0.18) !important;
    cursor: pointer !important;
    backdrop-filter: blur(12px);
    transition: all 0.2s ease !important;
}

/* Floating variant styles - Hidden completely as requested */
.tyso-theme-toggle.is-floating {
    display: none !important;
}

/* Hide toggle button inside Flatsome's mobile menus/drawers to prevent clutter and duplication */
.mobile-sidebar .tyso-theme-toggle,
#mobile-menu .tyso-theme-toggle,
.nav-mobile .tyso-theme-toggle,
.header-mobile-menu .tyso-theme-toggle {
    display: none !important;
}

.tyso-theme-icon {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 999px !important;
    color: #94a3b8 !important;
    transition: color .18s ease, background-color .18s ease, transform .18s ease, opacity .18s ease !important;
}

.tyso-theme-icon svg {
    width: 13px !important;
    height: 13px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.tyso-theme-toggle[aria-pressed="false"] .tyso-theme-icon-sun,
.tyso-theme-toggle[aria-pressed="true"] .tyso-theme-icon-moon {
    background: #5865f2 !important;
    color: #ffffff !important;
    box-shadow: 0 5px 14px rgba(88, 101, 242, 0.35) !important;
}

.tyso-theme-toggle:hover .tyso-theme-icon {
    transform: translateY(-1px);
}





/* Dark style foundation */
html.tyso-dark-mode,
html.tyso-dark-mode body {
    background: #08110f !important;
    color: #d7e5de !important;
}

html.tyso-dark-mode {
    color-scheme: dark;
    --wc2026-bg: #091411;
    --wc2026-card: #121b18;
    --wc2026-primary: #18b978;
    --wc2026-primary-dark: #0fa166;
    --wc2026-live: #ff6b4a;
    --wc2026-text: #e7f2ec;
    --wc2026-muted: #9baca5;
    --wc2026-border: #263a33;
    --tyso-bg: #091411;
    --tyso-bg-card: #121b18;
    --tyso-border: #263a33;
    --tyso-text-main: #e7f2ec;
    --tyso-text-muted: #9baca5;
    --tyso-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

html.tyso-dark-mode body,
html.tyso-dark-mode .page-wrapper,
html.tyso-dark-mode #main,
html.tyso-dark-mode .main,
html.tyso-dark-mode .content-area,
html.tyso-dark-mode .tyso-dynamic-page-wrapper,
html.tyso-dark-mode .wc2026-shell {
    background: #091411 !important;
    color: #d7e5de !important;
}

html.tyso-dark-mode body .header-wrapper,
html.tyso-dark-mode body .header-main,
html.tyso-dark-mode body .header-bottom,
html.tyso-dark-mode body .stuck .header-main,
html.tyso-dark-mode body .stuck .header-bottom {
    background: #0c1714 !important;
    border-color: #20362f !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28) !important;
}

html.tyso-dark-mode body .header-bottom .nav > li > a.nav-top-link,
html.tyso-dark-mode body .header-nav-main.nav > li > a,
html.tyso-dark-mode body .nav > li > a {
    color: #a9bbb4 !important;
}

html.tyso-dark-mode body .header-bottom .nav > li.active > a.nav-top-link,
html.tyso-dark-mode body .header-bottom .nav > li.current-menu-item > a.nav-top-link,
html.tyso-dark-mode body .header-bottom .nav > li > a.nav-top-link:hover {
    background: #132820 !important;
    color: #31d18d !important;
}

html.tyso-dark-mode body .logo a,
html.tyso-dark-mode body .logo a:hover,
html.tyso-dark-mode body .header .search-field,
html.tyso-dark-mode body .header-search-form input {
    color: #e7f2ec !important;
}

html.tyso-dark-mode .tyso-three-column-layout,
html.tyso-dark-mode .tyso-middle-column,
html.tyso-dark-mode .tyso-home-section,
html.tyso-dark-mode .tyso-schedule-container,
html.tyso-dark-mode .tyso-predictions-container,
html.tyso-dark-mode .tyso-standings-container,
html.tyso-dark-mode .tyso-league-page,
html.tyso-dark-mode .tyso-prediction-detail-shell,
html.tyso-dark-mode .tyso-match-detail-layout {
    color: #d7e5de !important;
}

html.tyso-dark-mode .tyso-sidebar-widget,
html.tyso-dark-mode .tyso-date-bar,
html.tyso-dark-mode .tyso-league-group,
html.tyso-dark-mode .tyso-card-group,
html.tyso-dark-mode .tyso-standings-container,
html.tyso-dark-mode .tyso-standing-group-box,
html.tyso-dark-mode .tyso-live-wrapper,
html.tyso-dark-mode .tyso-scoreboard-hero,
html.tyso-dark-mode .tyso-tab-contents,
html.tyso-dark-mode .tyso-match-detail-wrapper,
html.tyso-dark-mode .tyso-ai-box,
html.tyso-dark-mode .tyso-empty-box,
html.tyso-dark-mode .tyso-league-card,
html.tyso-dark-mode .wc2026-hero-main,
html.tyso-dark-mode .wc2026-panel,
html.tyso-dark-mode .wc2026-card,
html.tyso-dark-mode .wc2026-article,
html.tyso-dark-mode .wc2026-single-box {
    background: #121b18 !important;
    border-color: #263a33 !important;
    color: #d7e5de !important;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28) !important;
}

html.tyso-dark-mode .tyso-league-header,
html.tyso-dark-mode .tyso-live-header,
html.tyso-dark-mode .tyso-match-row-link,
html.tyso-dark-mode .tyso-match-row-item,
html.tyso-dark-mode .tyso-match-rows-list,
html.tyso-dark-mode .tyso-detail-tabs,
html.tyso-dark-mode .tyso-tab-pane,
html.tyso-dark-mode .tyso-tab-pane.active,
html.tyso-dark-mode .tyso-tab-contents,
html.tyso-dark-mode #events,
html.tyso-dark-mode #stats,
html.tyso-dark-mode #lineups,
html.tyso-dark-mode #prediction,
html.tyso-dark-mode .tyso-ai-panel,
html.tyso-dark-mode .tyso-ai-grid,
html.tyso-dark-mode .tyso-ai-card,
html.tyso-dark-mode .tyso-h2h-match,
html.tyso-dark-mode .tyso-match-card-link > div {
    background: #121b18 !important;
    border-color: #263a33 !important;
    color: #d7e5de !important;
}

html.tyso-dark-mode .tyso-league-header,
html.tyso-dark-mode .tyso-schedule-table-head,
html.tyso-dark-mode .tyso-live-table-head,
html.tyso-dark-mode .tyso-standings-table thead,
html.tyso-dark-mode .tyso-standing-table thead {
    background: #16241f !important;
    border-color: #2a443b !important;
    color: #35d993 !important;
}

html.tyso-dark-mode .tyso-widget-header-green,
html.tyso-dark-mode .tyso-right-sidebar-goalvn .standings-widget-header,
html.tyso-dark-mode .tyso-live-header-bar {
    background: #057047 !important;
    color: #ffffff !important;
}

html.tyso-dark-mode .tyso-sidebar-menu-clean li,
html.tyso-dark-mode .tyso-sidebar-menu-clean a,
html.tyso-dark-mode .tyso-match-row-link,
html.tyso-dark-mode .tyso-schedule-container .tyso-league-group .tyso-match-row-link:not(:last-child),
html.tyso-dark-mode .tyso-home-section .tyso-card-group .tyso-match-row-item,
html.tyso-dark-mode .tyso-standings-table tr,
html.tyso-dark-mode .tyso-standing-table tr,
html.tyso-dark-mode .tyso-ai-box h3,
html.tyso-dark-mode .tyso-h2h-row,
html.tyso-dark-mode .tyso-event-row {
    border-color: #253a33 !important;
}

html.tyso-dark-mode .tyso-sidebar-menu-clean a,
html.tyso-dark-mode .tyso-menu-text,
html.tyso-dark-mode .tyso-league-name,
html.tyso-dark-mode .tyso-section-title,
html.tyso-dark-mode .tyso-schedule-title,
html.tyso-dark-mode .tyso-standing-title,
html.tyso-dark-mode .tyso-match-page-title,
html.tyso-dark-mode .tyso-ai-box h3,
html.tyso-dark-mode .tyso-ai-prob-row,
html.tyso-dark-mode .tyso-row-team-name,
html.tyso-dark-mode .tyso-row-score,
html.tyso-dark-mode .tyso-score-main,
html.tyso-dark-mode .tyso-team-name,
html.tyso-dark-mode .wc2026-hero h1,
html.tyso-dark-mode .wc2026-panel-title,
html.tyso-dark-mode .wc2026-card-title,
html.tyso-dark-mode h1,
html.tyso-dark-mode h2,
html.tyso-dark-mode h3,
html.tyso-dark-mode h4,
html.tyso-dark-mode h5,
html.tyso-dark-mode h6 {
    color: #e7f2ec !important;
}

html.tyso-dark-mode .tyso-league-subtitle,
html.tyso-dark-mode .tyso-row-date,
html.tyso-dark-mode .tyso-row-time,
html.tyso-dark-mode .tyso-empty-desc,
html.tyso-dark-mode .tyso-section-desc,
html.tyso-dark-mode .tyso-ai-winner,
html.tyso-dark-mode .tyso-ai-form-grid small,
html.tyso-dark-mode .tyso-ai-muted,
html.tyso-dark-mode .tyso-h2h-match-meta,
html.tyso-dark-mode .tyso-hero-meta,
html.tyso-dark-mode .wc2026-hero p,
html.tyso-dark-mode .wc2026-single-meta,
html.tyso-dark-mode p,
html.tyso-dark-mode small {
    color: #9baca5 !important;
}

html.tyso-dark-mode a,
html.tyso-dark-mode .tyso-schedule-all-link,
html.tyso-dark-mode .tyso-view-all,
html.tyso-dark-mode .tyso-tab-btn.active,
html.tyso-dark-mode .tyso-detail-tabs .tyso-tab-btn.active,
html.tyso-dark-mode .tyso-match-detail-wrapper .tyso-tab-btn.active,
html.tyso-dark-mode .tyso-points,
html.tyso-dark-mode .tyso-standing-points {
    color: #31d18d !important;
}

html.tyso-dark-mode .tyso-tab-btn,
html.tyso-dark-mode .tyso-detail-tabs .tyso-tab-btn,
html.tyso-dark-mode .tyso-match-detail-wrapper .tyso-tab-btn,
html.tyso-dark-mode .tyso-standings-league-pills a,
html.tyso-dark-mode .standings-tab-btn {
    background: transparent !important;
    border-color: transparent !important;
    color: #9baca5 !important;
}

html.tyso-dark-mode .tyso-standings-league-pills a.active,
html.tyso-dark-mode .tyso-date-item.active,
html.tyso-dark-mode .standings-tab-btn.active,
html.tyso-dark-mode .tyso-league-tab.is-active,
html.tyso-dark-mode .tyso-league-section-tab.active {
    background: #068451 !important;
    border-color: #068451 !important;
    color: #ffffff !important;
}

html.tyso-dark-mode .tyso-date-item,
html.tyso-dark-mode .tyso-standings-league-pills a,
html.tyso-dark-mode .standings-tab-btn,
html.tyso-dark-mode .tyso-league-pill,
html.tyso-dark-mode .tyso-league-tab,
html.tyso-dark-mode .tyso-league-section-tab,
html.tyso-dark-mode .tyso-score-badge,
html.tyso-dark-mode .tyso-row-score-badge,
html.tyso-dark-mode .tyso-badge,
html.tyso-dark-mode .tyso-league-count {
    background: #17251f !important;
    border-color: #2a443b !important;
    color: #d7e5de !important;
}

html.tyso-dark-mode .tyso-row-score-badge,
html.tyso-dark-mode .tyso-score-badge,
html.tyso-dark-mode .tyso-hero-badge .tyso-badge {
    background: #1e3029 !important;
    color: #e7f2ec !important;
}

html.tyso-dark-mode .tyso-date-label,
html.tyso-dark-mode .tyso-date-day,
html.tyso-dark-mode .tyso-date-item.active .tyso-date-label,
html.tyso-dark-mode .tyso-date-item.active .tyso-date-day {
    color: inherit !important;
}

html.tyso-dark-mode .tyso-match-row-link:hover,
html.tyso-dark-mode .tyso-sidebar-menu-clean a:hover,
html.tyso-dark-mode .tyso-sidebar-menu-clean li.active a {
    background: #17251f !important;
    color: #31d18d !important;
}

html.tyso-dark-mode .tyso-scoreboard-hero,
html.tyso-dark-mode .tyso-league-hero {
    background: linear-gradient(135deg, #13342b, #0b7661) !important;
    border-color: #286d5c !important;
}

html.tyso-dark-mode .tyso-hero-vs,
html.tyso-dark-mode .tyso-hero-score {
    color: #80f0d0 !important;
}

html.tyso-dark-mode .tyso-ai-advice {
    background: #302713 !important;
    border-left-color: #d89b12 !important;
}

html.tyso-dark-mode .tyso-ai-advice p {
    color: #f4d891 !important;
}

html.tyso-dark-mode .tyso-ai-prob-track,
html.tyso-dark-mode .tyso-ai-compare-bar,
html.tyso-dark-mode .tyso-h2h-ratebar,
html.tyso-dark-mode .tyso-progress-track {
    background: #263a33 !important;
}

html.tyso-dark-mode table,
html.tyso-dark-mode th,
html.tyso-dark-mode td {
    border-color: #263a33 !important;
}

html.tyso-dark-mode input,
html.tyso-dark-mode textarea,
html.tyso-dark-mode select,
html.tyso-dark-mode .tyso-date-input {
    background: #0d1714 !important;
    border-color: #2a443b !important;
    color: #e7f2ec !important;
}

html.tyso-dark-mode input::placeholder,
html.tyso-dark-mode textarea::placeholder {
    color: #74867e !important;
}

html.tyso-dark-mode .tyso-live-indicator,
html.tyso-dark-mode .tyso-badge-live,
html.tyso-dark-mode .is-live {
    background: rgba(255, 107, 74, 0.18) !important;
    color: #ff8a6c !important;
}

html.tyso-dark-mode .tyso-badge-hot,
html.tyso-dark-mode .tyso-badge-vn {
    background: #ff5c35 !important;
    color: #ffffff !important;
}

html.tyso-dark-mode .rank-cell,
html.tyso-dark-mode .tyso-rank,
html.tyso-dark-mode .tyso-standing-rank {
    background: #1b2a24 !important;
    color: #d7e5de !important;
}

html.tyso-dark-mode ::selection {
    background: rgba(49, 209, 141, 0.32);
    color: #ffffff;
}

/* Dark mode hardening for plugin surfaces that carry inline light styles. */
html.tyso-dark-mode {
    --tyso-dark-page: #06130f;
    --tyso-dark-surface: #101b17;
    --tyso-dark-surface-2: #14231d;
    --tyso-dark-surface-3: #1a2b24;
    --tyso-dark-border: #284238;
    --tyso-dark-text: #e7f2ec;
    --tyso-dark-muted: #9fb0a8;
    --tyso-dark-accent: #31d18d;
}

html.tyso-dark-mode body,
html.tyso-dark-mode #wrapper,
html.tyso-dark-mode #main,
html.tyso-dark-mode .content-area,
html.tyso-dark-mode .page-wrapper,
html.tyso-dark-mode .row-main,
html.tyso-dark-mode .tyso-three-column-layout,
html.tyso-dark-mode .tyso-middle-column,
html.tyso-dark-mode .tyso-football-wrapper,
html.tyso-dark-mode .tyso-dynamic-page-wrapper,
html.tyso-dark-mode .tyso-page-shell {
    background: var(--tyso-dark-page) !important;
    color: var(--tyso-dark-text) !important;
}

html.tyso-dark-mode body .header-wrapper,
html.tyso-dark-mode body .header-main,
html.tyso-dark-mode body .header-bottom,
html.tyso-dark-mode body .stuck .header-main,
html.tyso-dark-mode body .stuck .header-bottom {
    background: #081611 !important;
    border-color: var(--tyso-dark-border) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24) !important;
}

html.tyso-dark-mode body .header-bottom .nav > li > a.nav-top-link {
    color: var(--tyso-dark-muted) !important;
}

html.tyso-dark-mode body .header-bottom .nav > li:hover > a.nav-top-link,
html.tyso-dark-mode body .header-bottom .nav > li > a.nav-top-link:hover,
html.tyso-dark-mode body .header-bottom .nav > li.active > a.nav-top-link,
html.tyso-dark-mode body .header-bottom .nav > li.current-menu-item > a.nav-top-link,
html.tyso-dark-mode body .header-bottom .nav > li.current_page_item > a.nav-top-link,
html.tyso-dark-mode body .header-bottom .nav > li.current-menu-ancestor > a.nav-top-link {
    background: rgba(49, 209, 141, 0.12) !important;
    color: var(--tyso-dark-accent) !important;
}

html.tyso-dark-mode .tyso-three-column-layout [style*="background: #ffffff"],
html.tyso-dark-mode .tyso-three-column-layout [style*="background:#ffffff"],
html.tyso-dark-mode .tyso-three-column-layout [style*="background: #fff"],
html.tyso-dark-mode .tyso-three-column-layout [style*="background:#fff"],
html.tyso-dark-mode .tyso-three-column-layout [style*="background-color: #ffffff"],
html.tyso-dark-mode .tyso-three-column-layout [style*="background-color:#ffffff"],
html.tyso-dark-mode .tyso-three-column-layout [style*="background-color: #fff"],
html.tyso-dark-mode .tyso-three-column-layout [style*="background-color:#fff"],
html.tyso-dark-mode .tyso-live-page [style*="background: #ffffff"],
html.tyso-dark-mode .tyso-live-page [style*="background:#ffffff"],
html.tyso-dark-mode .tyso-live-page [style*="background-color: #ffffff"],
html.tyso-dark-mode .tyso-live-page [style*="background-color:#ffffff"],
html.tyso-dark-mode .tyso-dynamic-page-wrapper [style*="background: #ffffff"],
html.tyso-dark-mode .tyso-dynamic-page-wrapper [style*="background:#ffffff"],
html.tyso-dark-mode .tyso-dynamic-page-wrapper [style*="background-color: #ffffff"],
html.tyso-dark-mode .tyso-dynamic-page-wrapper [style*="background-color:#ffffff"] {
    background: var(--tyso-dark-surface) !important;
    border-color: var(--tyso-dark-border) !important;
    color: var(--tyso-dark-text) !important;
}

html.tyso-dark-mode .tyso-three-column-layout [style*="#f7fbf8"],
html.tyso-dark-mode .tyso-three-column-layout [style*="#f8faf9"],
html.tyso-dark-mode .tyso-three-column-layout [style*="#fbfdfc"],
html.tyso-dark-mode .tyso-three-column-layout [style*="#f9fafb"],
html.tyso-dark-mode .tyso-three-column-layout [style*="#f3f4f6"],
html.tyso-dark-mode .tyso-three-column-layout [style*="#edf7f0"],
html.tyso-dark-mode .tyso-live-page [style*="#f7fbf8"],
html.tyso-dark-mode .tyso-live-page [style*="#f8faf9"],
html.tyso-dark-mode .tyso-live-page [style*="#fbfdfc"],
html.tyso-dark-mode .tyso-live-page [style*="#f9fafb"],
html.tyso-dark-mode .tyso-live-page [style*="#f3f4f6"],
html.tyso-dark-mode .tyso-live-page [style*="#edf7f0"],
html.tyso-dark-mode .tyso-dynamic-page-wrapper [style*="#f7fbf8"],
html.tyso-dark-mode .tyso-dynamic-page-wrapper [style*="#f8faf9"],
html.tyso-dark-mode .tyso-dynamic-page-wrapper [style*="#fbfdfc"],
html.tyso-dark-mode .tyso-dynamic-page-wrapper [style*="#f9fafb"],
html.tyso-dark-mode .tyso-dynamic-page-wrapper [style*="#f3f4f6"],
html.tyso-dark-mode .tyso-dynamic-page-wrapper [style*="#edf7f0"] {
    background: var(--tyso-dark-surface-2) !important;
    border-color: var(--tyso-dark-border) !important;
    color: var(--tyso-dark-text) !important;
}

html.tyso-dark-mode .tyso-three-column-layout [style*="#fff8ec"],
html.tyso-dark-mode .tyso-three-column-layout [style*="#fffaf2"],
html.tyso-dark-mode .tyso-three-column-layout [style*="#fff9ea"],
html.tyso-dark-mode .tyso-three-column-layout [style*="#fff0e6"],
html.tyso-dark-mode .tyso-three-column-layout [style*="#fff0ec"],
html.tyso-dark-mode .tyso-dynamic-page-wrapper [style*="#fff8ec"],
html.tyso-dark-mode .tyso-dynamic-page-wrapper [style*="#fffaf2"],
html.tyso-dark-mode .tyso-dynamic-page-wrapper [style*="#fff9ea"],
html.tyso-dark-mode .tyso-dynamic-page-wrapper [style*="#fff0e6"],
html.tyso-dark-mode .tyso-dynamic-page-wrapper [style*="#fff0ec"] {
    background: #2b2416 !important;
    border-color: #5f4618 !important;
    color: #f5d791 !important;
}

html.tyso-dark-mode .tyso-three-column-layout [style*="color: #132018"],
html.tyso-dark-mode .tyso-three-column-layout [style*="color:#132018"],
html.tyso-dark-mode .tyso-three-column-layout [style*="color: #111827"],
html.tyso-dark-mode .tyso-three-column-layout [style*="color:#111827"],
html.tyso-dark-mode .tyso-three-column-layout [style*="color: #1f2937"],
html.tyso-dark-mode .tyso-three-column-layout [style*="color:#1f2937"],
html.tyso-dark-mode .tyso-three-column-layout [style*="color: #314239"],
html.tyso-dark-mode .tyso-three-column-layout [style*="color:#314239"],
html.tyso-dark-mode .tyso-three-column-layout [style*="color: #0f1d17"],
html.tyso-dark-mode .tyso-three-column-layout [style*="color:#0f1d17"],
html.tyso-dark-mode .tyso-live-page [style*="color: #132018"],
html.tyso-dark-mode .tyso-live-page [style*="color:#132018"],
html.tyso-dark-mode .tyso-live-page [style*="color: #1f2937"],
html.tyso-dark-mode .tyso-live-page [style*="color:#1f2937"],
html.tyso-dark-mode .tyso-dynamic-page-wrapper [style*="color: #132018"],
html.tyso-dark-mode .tyso-dynamic-page-wrapper [style*="color:#132018"],
html.tyso-dark-mode .tyso-dynamic-page-wrapper [style*="color: #111827"],
html.tyso-dark-mode .tyso-dynamic-page-wrapper [style*="color:#111827"],
html.tyso-dark-mode .tyso-dynamic-page-wrapper [style*="color: #1f2937"],
html.tyso-dark-mode .tyso-dynamic-page-wrapper [style*="color:#1f2937"] {
    color: var(--tyso-dark-text) !important;
}

html.tyso-dark-mode .tyso-three-column-layout [style*="color: #66746b"],
html.tyso-dark-mode .tyso-three-column-layout [style*="color:#66746b"],
html.tyso-dark-mode .tyso-three-column-layout [style*="color: #8a928d"],
html.tyso-dark-mode .tyso-three-column-layout [style*="color:#8a928d"],
html.tyso-dark-mode .tyso-three-column-layout [style*="color: #8a9b90"],
html.tyso-dark-mode .tyso-three-column-layout [style*="color:#8a9b90"],
html.tyso-dark-mode .tyso-three-column-layout [style*="color: #98a09b"],
html.tyso-dark-mode .tyso-three-column-layout [style*="color:#98a09b"],
html.tyso-dark-mode .tyso-live-page [style*="color: #66746b"],
html.tyso-dark-mode .tyso-live-page [style*="color:#66746b"],
html.tyso-dark-mode .tyso-dynamic-page-wrapper [style*="color: #66746b"],
html.tyso-dark-mode .tyso-dynamic-page-wrapper [style*="color:#66746b"],
html.tyso-dark-mode .tyso-dynamic-page-wrapper [style*="color: #8a928d"],
html.tyso-dark-mode .tyso-dynamic-page-wrapper [style*="color:#8a928d"],
html.tyso-dark-mode .tyso-dynamic-page-wrapper [style*="color: #98a09b"],
html.tyso-dark-mode .tyso-dynamic-page-wrapper [style*="color:#98a09b"] {
    color: var(--tyso-dark-muted) !important;
}

html.tyso-dark-mode .tyso-unified-match-list .tyso-schedule-table-head,
html.tyso-dark-mode .tyso-schedule-container > .tyso-schedule-table-head,
html.tyso-dark-mode .tyso-live-table-head,
html.tyso-dark-mode .tyso-schedule-table-head {
    background: var(--tyso-dark-surface-2) !important;
    border-color: var(--tyso-dark-border) !important;
    color: var(--tyso-dark-accent) !important;
}

html.tyso-dark-mode .tyso-unified-match-list .tyso-league-group,
html.tyso-dark-mode .tyso-unified-match-list .tyso-match-rows-list,
html.tyso-dark-mode .tyso-live-league-group,
html.tyso-dark-mode .tyso-match-groups-wrapper .tyso-league-group,
html.tyso-dark-mode .tyso-card-group,
html.tyso-dark-mode .tyso-league-group {
    background: var(--tyso-dark-surface) !important;
    border-color: var(--tyso-dark-border) !important;
    color: var(--tyso-dark-text) !important;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22) !important;
}

html.tyso-dark-mode .tyso-unified-match-list .tyso-league-header,
html.tyso-dark-mode .tyso-live-league-header,
html.tyso-dark-mode .tyso-league-header {
    background: var(--tyso-dark-surface-2) !important;
    border-color: var(--tyso-dark-border) !important;
}

html.tyso-dark-mode .tyso-unified-match-list .tyso-match-row-link,
html.tyso-dark-mode .tyso-match-row-link,
html.tyso-dark-mode .tyso-match-row-item,
html.tyso-dark-mode .tyso-live-match-row-link {
    background: var(--tyso-dark-surface) !important;
    border-bottom-color: rgba(159, 176, 168, 0.18) !important;
    color: var(--tyso-dark-text) !important;
}

html.tyso-dark-mode .tyso-unified-match-list .tyso-match-row-link:hover,
html.tyso-dark-mode .tyso-match-row-link:hover,
html.tyso-dark-mode .tyso-match-row-item:hover,
html.tyso-dark-mode .tyso-live-match-row-link:hover {
    background: var(--tyso-dark-surface-2) !important;
}

html.tyso-dark-mode .tyso-unified-match-list .tyso-row-time,
html.tyso-dark-mode .tyso-row-time,
html.tyso-dark-mode .tyso-live-row-time {
    border-color: var(--tyso-dark-border) !important;
    color: var(--tyso-dark-muted) !important;
}

html.tyso-dark-mode .tyso-unified-match-list .tyso-row-team-name,
html.tyso-dark-mode .tyso-row-team-name,
html.tyso-dark-mode .tyso-live-row-team span,
html.tyso-dark-mode .tyso-live-row-time strong,
html.tyso-dark-mode .tyso-row-hour {
    color: var(--tyso-dark-text) !important;
}

html.tyso-dark-mode .tyso-unified-match-list .tyso-league-subtitle,
html.tyso-dark-mode .tyso-live-league-text p,
html.tyso-dark-mode .tyso-row-date {
    color: var(--tyso-dark-muted) !important;
}

html.tyso-dark-mode .tyso-unified-match-list .tyso-row-score-badge,
html.tyso-dark-mode .tyso-unified-match-list .tyso-row-score > div:first-child,
html.tyso-dark-mode .tyso-row-score-badge,
html.tyso-dark-mode .tyso-row-score > div,
html.tyso-dark-mode .tyso-live-row-score b,
html.tyso-dark-mode .tyso-vs-badge {
    background: var(--tyso-dark-surface-3) !important;
    color: var(--tyso-dark-text) !important;
}

html.tyso-dark-mode .tyso-live-empty-state,
html.tyso-dark-mode .live-matches-widget .no-live-box,
html.tyso-dark-mode .tyso-empty-box,
html.tyso-dark-mode .tyso-empty-card {
    background: var(--tyso-dark-surface) !important;
    border-color: var(--tyso-dark-border) !important;
    color: var(--tyso-dark-text) !important;
}

html.tyso-dark-mode .tyso-right-sidebar-goalvn .standings-tabs-widget,
html.tyso-dark-mode .tyso-right-sidebar-goalvn .tyso-sidebar-widget,
html.tyso-dark-mode .tyso-right-sidebar-goalvn .standings-panes,
html.tyso-dark-mode .tyso-right-sidebar-goalvn .standings-tab-pane,
html.tyso-dark-mode .tyso-right-sidebar-goalvn .tyso-sidebar-standings-body {
    background: var(--tyso-dark-surface) !important;
    border-color: var(--tyso-dark-border) !important;
    color: var(--tyso-dark-text) !important;
}

html.tyso-dark-mode .tyso-right-sidebar-goalvn .standings-tabs-bar,
html.tyso-dark-mode .tyso-right-sidebar-goalvn .tyso-sidebar-standings-head,
html.tyso-dark-mode .tyso-right-sidebar-goalvn .standings-widget-footer {
    background: var(--tyso-dark-surface-2) !important;
    border-color: var(--tyso-dark-border) !important;
    color: var(--tyso-dark-muted) !important;
}

html.tyso-dark-mode .tyso-sidebar-standing-row,
html.tyso-dark-mode .tyso-sidebar-standing-row .team-name,
html.tyso-dark-mode .tyso-sidebar-standing-row .score-highlight,
html.tyso-dark-mode .team-cell-goalvn .team-name,
html.tyso-dark-mode .sidebar-team-row .team-name,
html.tyso-dark-mode .live-matches-widget .live-title,
html.tyso-dark-mode .live-matches-widget .no-live-title {
    color: var(--tyso-dark-text) !important;
}

html.tyso-dark-mode .tyso-sidebar-standing-row {
    background: transparent !important;
    border-color: rgba(159, 176, 168, 0.16) !important;
}

html.tyso-dark-mode .tyso-sidebar-standing-row:hover,
html.tyso-dark-mode .live-match-sidebar-row:hover {
    background: var(--tyso-dark-surface-2) !important;
}

html.tyso-dark-mode .standings-tab-btn,
html.tyso-dark-mode .tyso-right-sidebar-goalvn .standings-tab-btn {
    background: var(--tyso-dark-surface-3) !important;
    color: var(--tyso-dark-muted) !important;
}

html.tyso-dark-mode .standings-tab-btn.active,
html.tyso-dark-mode .tyso-right-sidebar-goalvn .standings-tab-btn.active {
    background: #068451 !important;
    color: #ffffff !important;
}

html.tyso-dark-mode .tyso-standings-container,
html.tyso-dark-mode .tyso-standing-group-box,
html.tyso-dark-mode .tyso-table-responsive,
html.tyso-dark-mode .tyso-table-standings,
html.tyso-dark-mode .tyso-standings-skeleton {
    background: var(--tyso-dark-surface) !important;
    border-color: var(--tyso-dark-border) !important;
    color: var(--tyso-dark-text) !important;
}

html.tyso-dark-mode .tyso-standings-league-pills,
html.tyso-dark-mode .tyso-standings-header,
html.tyso-dark-mode .tyso-table-standings th {
    background: var(--tyso-dark-surface-2) !important;
    border-color: var(--tyso-dark-border) !important;
    color: var(--tyso-dark-muted) !important;
}

html.tyso-dark-mode .tyso-table-standings td,
html.tyso-dark-mode .tyso-table-standings .col-team,
html.tyso-dark-mode .tyso-standing-team-name {
    color: var(--tyso-dark-text) !important;
}

html.tyso-dark-mode .tyso-league-switcher,
html.tyso-dark-mode .tyso-league-page,
html.tyso-dark-mode .tyso-league-stats-grid > div,
html.tyso-dark-mode .tyso-league-panel,
html.tyso-dark-mode .tyso-league-dark-card,
html.tyso-dark-mode .tyso-league-mini-table,
html.tyso-dark-mode .tyso-league-dark-table,
html.tyso-dark-mode .tyso-league-about-grid div,
html.tyso-dark-mode .tyso-league-record-box {
    background: var(--tyso-dark-surface) !important;
    border-color: var(--tyso-dark-border) !important;
    color: var(--tyso-dark-text) !important;
}

html.tyso-dark-mode .tyso-league-switcher a,
html.tyso-dark-mode .tyso-league-section-tabs button,
html.tyso-dark-mode .tyso-league-season-pill,
html.tyso-dark-mode .tyso-league-quick-links a {
    background: var(--tyso-dark-surface-2) !important;
    border-color: var(--tyso-dark-border) !important;
    color: var(--tyso-dark-text) !important;
}

html.tyso-dark-mode .tyso-league-switcher a.active,
html.tyso-dark-mode .tyso-league-switcher a:hover,
html.tyso-dark-mode .tyso-league-section-tabs button.active,
html.tyso-dark-mode .tyso-league-quick-links a:hover {
    background: #068451 !important;
    border-color: #068451 !important;
    color: #ffffff !important;
}

html.tyso-dark-mode .tyso-league-stats-grid > div.highlight {
    background: linear-gradient(135deg, #17342c, #215346) !important;
}

html.tyso-dark-mode .tyso-league-panel h2,
html.tyso-dark-mode .tyso-league-mini-table td,
html.tyso-dark-mode .tyso-league-dark-table td,
html.tyso-dark-mode .tyso-league-stat-row strong,
html.tyso-dark-mode .tyso-league-scorer-podium strong,
html.tyso-dark-mode .tyso-league-scorer-list div {
    color: var(--tyso-dark-text) !important;
}

html.tyso-dark-mode .tyso-league-mini-table th,
html.tyso-dark-mode .tyso-league-dark-table th,
html.tyso-dark-mode .tyso-league-about-grid span,
html.tyso-dark-mode .tyso-league-scorer-podium small,
html.tyso-dark-mode .tyso-league-dark-card p {
    color: var(--tyso-dark-muted) !important;
}

html.tyso-dark-mode .tyso-league-scorer-podium article {
    background: #211f17 !important;
    border-color: #5f4618 !important;
}

html.tyso-dark-mode .tyso-ai-grid,
html.tyso-dark-mode .tyso-ai-card,
html.tyso-dark-mode .tyso-ai-pending-card,
html.tyso-dark-mode .tyso-prediction-section,
html.tyso-dark-mode .tyso-prediction-detail-page,
html.tyso-dark-mode .tyso-detail-card,
html.tyso-dark-mode .tyso-h2h-card,
html.tyso-dark-mode .tyso-h2h-match,
html.tyso-dark-mode .tyso-h2h-stat,
html.tyso-dark-mode .tyso-ai-box,
html.tyso-dark-mode .tyso-ai-panel {
    background: var(--tyso-dark-surface) !important;
    border-color: var(--tyso-dark-border) !important;
    color: var(--tyso-dark-text) !important;
}

html.tyso-dark-mode .ai-card-header,
html.tyso-dark-mode .tyso-h2h-insight,
html.tyso-dark-mode .tyso-h2h-summary,
html.tyso-dark-mode .tyso-ai-pending-status,
html.tyso-dark-mode .prob-bar-container,
html.tyso-dark-mode .bar-bg,
html.tyso-dark-mode .comp-row-bar,
html.tyso-dark-mode .tyso-ai-prob-track,
html.tyso-dark-mode .tyso-ai-compare-bar,
html.tyso-dark-mode .tyso-h2h-ratebar {
    background: var(--tyso-dark-surface-2) !important;
    border-color: var(--tyso-dark-border) !important;
}

html.tyso-dark-mode .ai-advice,
html.tyso-dark-mode .tyso-ai-advice,
html.tyso-dark-mode .tyso-advice-alert {
    background: #2b2416 !important;
    border-color: #d89b12 !important;
    color: #f5d791 !important;
}

html.tyso-dark-mode .ai-advice *,
html.tyso-dark-mode .tyso-ai-advice *,
html.tyso-dark-mode .tyso-advice-alert * {
    color: #f5d791 !important;
}

html.tyso-dark-mode .team-name,
html.tyso-dark-mode .league-name,
html.tyso-dark-mode .card-title,
html.tyso-dark-mode .tyso-ai-pending-card h1,
html.tyso-dark-mode .tyso-ai-pending-card h3,
html.tyso-dark-mode .tyso-ai-pending-time,
html.tyso-dark-mode .tyso-ai-pending-teams,
html.tyso-dark-mode .tyso-h2h-team,
html.tyso-dark-mode .tyso-h2h-score,
html.tyso-dark-mode .prob-labels,
html.tyso-dark-mode .comp-row-labels,
html.tyso-dark-mode .form-team-header,
html.tyso-dark-mode .tyso-ai-form-grid strong,
html.tyso-dark-mode .tyso-ai-h2h-row strong {
    color: var(--tyso-dark-text) !important;
}

html.tyso-dark-mode .text-muted,
html.tyso-dark-mode .tyso-h2h-match-meta,
html.tyso-dark-mode .tyso-ai-pending-league,
html.tyso-dark-mode .form-team-desc,
html.tyso-dark-mode .tyso-ai-winner,
html.tyso-dark-mode .tyso-ai-compare-row > span,
html.tyso-dark-mode .tyso-ai-h2h-row span,
html.tyso-dark-mode .live-matches-widget .live-subtext,
html.tyso-dark-mode .live-matches-widget .no-live-desc {
    color: var(--tyso-dark-muted) !important;
}

html.tyso-dark-mode .match-time-badge,
html.tyso-dark-mode .tyso-h2h-total,
html.tyso-dark-mode .rank-badge,
html.tyso-dark-mode .logo-fallback,
html.tyso-dark-mode .tyso-live-row-team em {
    background: var(--tyso-dark-surface-3) !important;
    color: var(--tyso-dark-text) !important;
    border-color: var(--tyso-dark-border) !important;
}

html.tyso-dark-mode .tyso-btn-ai-detail,
html.tyso-dark-mode .view-all-bxh-link,
html.tyso-dark-mode .tyso-league-panel header a {
    color: var(--tyso-dark-accent) !important;
}

/* Dark mode final fixes: fixture row inner shell and Flatsome footer. */
html.tyso-dark-mode .tyso-match-row,
html.tyso-dark-mode .tyso-unified-match-list .tyso-match-row,
html.tyso-dark-mode .tyso-match-groups-wrapper .tyso-match-row,
html.tyso-dark-mode .tyso-schedule-container .tyso-match-row,
html.tyso-dark-mode .tyso-home-section .tyso-match-row,
html.tyso-dark-mode .tyso-live-match-row {
    background: var(--tyso-dark-surface) !important;
    color: var(--tyso-dark-text) !important;
}

html.tyso-dark-mode .tyso-match-row:hover,
html.tyso-dark-mode .tyso-unified-match-list .tyso-match-row-link:hover .tyso-match-row,
html.tyso-dark-mode .tyso-match-row-link:hover .tyso-match-row,
html.tyso-dark-mode .tyso-live-match-row-link:hover .tyso-live-match-row {
    background: var(--tyso-dark-surface-2) !important;
}

html.tyso-dark-mode .tyso-match-row *,
html.tyso-dark-mode .tyso-live-match-row * {
    border-color: var(--tyso-dark-border) !important;
}

html.tyso-dark-mode .tyso-match-row .tyso-row-time,
html.tyso-dark-mode .tyso-live-match-row .tyso-live-row-time {
    border-right-color: var(--tyso-dark-border) !important;
}

html.tyso-dark-mode .footer-wrapper,
html.tyso-dark-mode .footer,
html.tyso-dark-mode .footer-1,
html.tyso-dark-mode .footer-2,
html.tyso-dark-mode .absolute-footer,
html.tyso-dark-mode #footer {
    background: #081611 !important;
    border-color: var(--tyso-dark-border) !important;
    color: var(--tyso-dark-muted) !important;
}

html.tyso-dark-mode .footer-wrapper .widget,
html.tyso-dark-mode .footer-wrapper .widget-title,
html.tyso-dark-mode .footer-wrapper h1,
html.tyso-dark-mode .footer-wrapper h2,
html.tyso-dark-mode .footer-wrapper h3,
html.tyso-dark-mode .footer-wrapper h4,
html.tyso-dark-mode .footer-wrapper h5,
html.tyso-dark-mode .footer-wrapper h6,
html.tyso-dark-mode .absolute-footer,
html.tyso-dark-mode .absolute-footer p,
html.tyso-dark-mode .copyright-footer {
    color: var(--tyso-dark-text) !important;
}

html.tyso-dark-mode .footer-wrapper a,
html.tyso-dark-mode .absolute-footer a {
    color: var(--tyso-dark-accent) !important;
}

html.tyso-dark-mode .back-to-top,
html.tyso-dark-mode .back-to-top.button {
    background: var(--tyso-dark-surface-2) !important;
    border-color: var(--tyso-dark-border) !important;
    color: var(--tyso-dark-text) !important;
}

/* Dark mode last-pass fixes for even rows, left menu borders and loading states. */
html.tyso-dark-mode .tyso-match-rows-list .tyso-match-row-link,
html.tyso-dark-mode .tyso-match-rows-list .tyso-match-row-item {
    background: var(--tyso-dark-surface) !important;
    border-bottom-color: rgba(159, 176, 168, 0.18) !important;
}

html.tyso-dark-mode .tyso-match-rows-list .tyso-match-row-link:nth-child(even),
html.tyso-dark-mode .tyso-match-rows-list .tyso-match-row-item:nth-child(even),
html.tyso-dark-mode .tyso-match-rows-list .tyso-match-row-link:nth-child(even) .tyso-match-row,
html.tyso-dark-mode .tyso-match-rows-list .tyso-match-row-item:nth-child(even) .tyso-match-row,
html.tyso-dark-mode .tyso-unified-match-list .tyso-match-row-link:nth-child(even),
html.tyso-dark-mode .tyso-unified-match-list .tyso-match-row-link:nth-child(even) .tyso-match-row {
    background: var(--tyso-dark-surface) !important;
    color: var(--tyso-dark-text) !important;
}

html.tyso-dark-mode .tyso-left-sidebar-goalvn,
html.tyso-dark-mode .tyso-left-sidebar-goalvn .tyso-sidebar-widget,
html.tyso-dark-mode .tyso-left-sidebar-goalvn .major-leagues-widget {
    background: var(--tyso-dark-surface) !important;
    border-color: var(--tyso-dark-border) !important;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22) !important;
}

html.tyso-dark-mode .tyso-left-sidebar-goalvn .tyso-widget-header-green {
    background: #057047 !important;
    border-color: #057047 !important;
    color: #ffffff !important;
}

html.tyso-dark-mode .tyso-left-sidebar-goalvn .tyso-sidebar-menu-clean li,
html.tyso-dark-mode .tyso-left-sidebar-goalvn .tyso-sidebar-menu-clean a {
    background: var(--tyso-dark-surface) !important;
    border-color: rgba(159, 176, 168, 0.18) !important;
    color: var(--tyso-dark-text) !important;
}

html.tyso-dark-mode .tyso-left-sidebar-goalvn .tyso-sidebar-menu-clean li.active a,
html.tyso-dark-mode .tyso-left-sidebar-goalvn .tyso-sidebar-menu-clean a:hover {
    background: var(--tyso-dark-surface-2) !important;
    color: var(--tyso-dark-accent) !important;
}

html.tyso-dark-mode .tyso-left-sidebar-goalvn .tyso-sidebar-menu-clean li.active {
    border-left-color: var(--tyso-dark-accent) !important;
}

html.tyso-dark-mode .tyso-standings-tables-wrapper,
html.tyso-dark-mode .tyso-standings-skeleton,
html.tyso-dark-mode .tyso-standings-container .tyso-standings-skeleton,
html.tyso-dark-mode .tyso-standings-container .tyso-pjax-loading {
    background: var(--tyso-dark-surface) !important;
    border-color: var(--tyso-dark-border) !important;
    color: var(--tyso-dark-text) !important;
}

html.tyso-dark-mode .tyso-skeleton-line,
html.tyso-dark-mode .tyso-standings-skeleton .tyso-skeleton-line {
    background: linear-gradient(90deg, var(--tyso-dark-surface-2) 25%, var(--tyso-dark-surface-3) 50%, var(--tyso-dark-surface-2) 75%) !important;
    background-size: 200% 100% !important;
}

html.tyso-dark-mode .tyso-standings-header[style*="opacity"],
html.tyso-dark-mode .tyso-standings-tables-wrapper[style*="background"],
html.tyso-dark-mode .tyso-standings-tables-wrapper [style*="background: #ffffff"],
html.tyso-dark-mode .tyso-standings-tables-wrapper [style*="background:#ffffff"],
html.tyso-dark-mode .tyso-standings-tables-wrapper [style*="background-color: #ffffff"],
html.tyso-dark-mode .tyso-standings-tables-wrapper [style*="background-color:#ffffff"] {
    background: var(--tyso-dark-surface) !important;
    border-color: var(--tyso-dark-border) !important;
    color: var(--tyso-dark-text) !important;
}

/* ==========================================
   Category/Archive Page Dark Mode Overrides
   ========================================== */
html.tyso-dark-mode .box,
html.tyso-dark-mode .card,
html.tyso-dark-mode .post-item {
    background: var(--wc2026-card) !important;
    border-color: var(--wc2026-border) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
}

html.tyso-dark-mode .badge-outline .badge-inner {
    background-color: var(--wc2026-card) !important;
    border-color: var(--wc2026-primary) !important;
    color: var(--wc2026-primary) !important;
}

html.tyso-dark-mode .post-date-day,
html.tyso-dark-mode .post-date-month {
    color: var(--wc2026-primary) !important;
}

html.tyso-dark-mode .is-divider {
    background-color: var(--wc2026-border) !important;
}

html.tyso-dark-mode .box-text a,
html.tyso-dark-mode .box-text p,
html.tyso-dark-mode .entry-title a,
html.tyso-dark-mode .from-the-blog-excerpt {
    color: var(--wc2026-text) !important;
}

html.tyso-dark-mode .box-text a:hover,
html.tyso-dark-mode .entry-title a:hover {
    color: var(--wc2026-primary) !important;
}

html.tyso-dark-mode .nav-pagination > li > a {
    border-color: var(--wc2026-border) !important;
    color: var(--wc2026-muted) !important;
    background: transparent !important;
}

html.tyso-dark-mode .nav-pagination > li > a:hover {
    border-color: var(--wc2026-primary) !important;
    color: var(--wc2026-primary) !important;
    background: rgba(24, 185, 120, 0.08) !important;
}

html.tyso-dark-mode .nav-pagination > li > .current {
    background-color: var(--wc2026-primary) !important;
    border-color: var(--wc2026-primary) !important;
    color: #ffffff !important;
}

