/* ============================================================
   YS-Style Settings Dropdown & Modal (Desktop & Mobile)
   ============================================================ */

.YS-Settings-Wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Header Trigger Button (Circular Gear) */
.YS-Settings-Trigger {
    background: var(--B-Color, #151b26);
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #b4bec7;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    padding: 0;
    box-sizing: border-box;
}

.YS-Settings-Trigger svg {
    transition: transform 0.3s ease, stroke 0.2s ease;
    display: block;
}

.YS-Settings-Trigger:hover {
    background: #1a2232;
    color: var(--Primary-A-Color, #00dfa2);
    border-color: rgba(0, 223, 162, 0.4);
}

.YS-Settings-Trigger:hover svg {
    transform: rotate(45deg);
}

.YS-Settings-Trigger:active {
    transform: scale(0.92);
}

/* Backdrop for Modal / Click-outside */
.YS-Settings-Backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10000000 !important;
}

.YS-Settings-Backdrop.open {
    display: block !important;
}

/* Settings Menu (Desktop: Dropdown) */
.YS-Settings-Menu {
    display: none;
    position: fixed;
    top: 70px;
    width: 290px;
    background: #151b26;
    border: 1px solid var(--Border-Color, rgba(255, 255, 255, 0.08));
    border-radius: 16px;
    padding: 16px 16px 12px 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.04);
    z-index: 10000001 !important;
    box-sizing: border-box;
    text-align: right;
}

[dir="rtl"] .YS-Settings-Menu {
    left: 20px;
    right: auto;
}

[dir="ltr"] .YS-Settings-Menu {
    right: 20px;
    left: auto;
    text-align: left;
}

.YS-Settings-Menu.open {
    display: block !important;
    animation: ysFadeInDesktop 0.2s ease forwards !important;
}

@keyframes ysFadeInDesktop {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Top bar on Desktop */
.YS-Settings-Handle {
    display: none;
}

.YS-Settings-Top-Bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.YS-Settings-Top-Title {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

.YS-Settings-Close-Btn {
    background: rgba(255, 255, 255, 0.06);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b4bec7;
    cursor: pointer;
    transition: all 0.2s ease;
}

.YS-Settings-Close-Btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* Section Styling */
.YS-Settings-Section {
    margin-bottom: 4px;
}

.YS-Settings-Section-Title {
    font-size: 11px;
    font-weight: 700;
    color: #70768c;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.YS-Settings-Row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 4px;
    min-height: 36px;
    box-sizing: border-box;
}

.YS-Settings-Row-Clickable {
    cursor: pointer;
    border-radius: 8px;
    padding: 6px 8px;
    margin: 0 -4px;
    transition: background 0.18s ease;
}

.YS-Settings-Row-Clickable:hover {
    background: rgba(255, 255, 255, 0.05);
}

.YS-Settings-Label {
    font-size: 13.5px;
    font-weight: 600;
    color: #e4e7ee;
    user-select: none;
}

.YS-Settings-Value-Group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.YS-Settings-Value {
    font-size: 13px;
    font-weight: 600;
    color: var(--Primary-A-Color, #00dfa2);
    user-select: none;
}

.YS-Settings-Arrow {
    stroke: #70768c;
    transition: transform 0.2s ease, stroke 0.2s ease;
    flex-shrink: 0;
}

.YS-Settings-Row-Clickable:hover .YS-Settings-Arrow {
    stroke: var(--Primary-A-Color, #00dfa2);
}

/* Toggle Switch (iOS / ysscores style) */
.YS-Settings-Switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
    cursor: pointer;
    margin: 0;
}

.YS-Settings-Switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.YS-Settings-Slider {
    position: absolute;
    inset: 0;
    background-color: #1e2638;
    border-radius: 24px;
    transition: background-color 0.25s ease;
}

.YS-Settings-Slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: #ffffff;
    border-radius: 50%;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
}

.YS-Settings-Switch input:checked+.YS-Settings-Slider {
    background-color: var(--Primary-A-Color, #00dfa2);
}

.YS-Settings-Switch input:checked+.YS-Settings-Slider:before {
    transform: translateX(20px);
}

/* RTL adjustment for switch */
[dir="rtl"] .YS-Settings-Slider:before {
    left: auto;
    right: 3px;
}

[dir="rtl"] .YS-Settings-Switch input:checked+.YS-Settings-Slider:before {
    transform: translateX(-20px);
}

/* Custom Select Wrap for Timezone */
.YS-Settings-Select-Wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    background: #1a2232;
    padding: 3px 8px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color 0.2s, background 0.2s;
}

.YS-Settings-Select-Wrap:hover {
    background: #1e2638;
    border-color: rgba(0, 223, 162, 0.3);
}

.YS-Settings-Select {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: none;
    color: var(--Primary-A-Color, #00dfa2);
    font-size: 12.5px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    padding: 2px 4px;
    outline: none;
    max-width: 130px;
    text-overflow: ellipsis;
    direction: ltr;
}

.YS-Settings-Select option {
    background: #151b26;
    color: #ffffff;
    padding: 6px;
    direction: ltr;
}

/* Divider */
.YS-Settings-Divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 8px 0;
}

/* Bottom Link */
.YS-Settings-Link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 6px;
    margin: 2px -4px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #b4bec7;
    text-decoration: none;
    transition: background 0.18s, color 0.18s;
}

.YS-Settings-Link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.YS-Settings-Link:hover .YS-Settings-Arrow {
    stroke: var(--Primary-A-Color, #00dfa2);
}

/* Footer Info */
.YS-Settings-Footer {
    text-align: center;
    font-size: 10.5px;
    color: #555c70;
    padding-top: 8px;
    margin-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* Hide old redundant settings modals across the site */
.STING-WEB-Settings {
    display: none !important;
}

/* ============================================================
   MOBILE VIEW (<= 768px): Sleek Bottom Sheet Modal
   ============================================================ */
@media (max-width: 768px) {
    .YS-Settings-Menu {
        display: none;
        position: fixed !important;
        bottom: 0 !important;
        top: auto !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 20px 20px 0 0 !important;
        background: #151b26 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
        border-left: none !important;
        border-right: none !important;
        border-bottom: none !important;
        padding: 12px 20px calc(24px + env(safe-area-inset-bottom, 0px)) 20px !important;
        z-index: 10000001 !important;
        box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.85) !important;
    }

    .YS-Settings-Menu.open {
        display: block !important;
        animation: ysSlideUpMobile 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    }

    @keyframes ysSlideUpMobile {
        from {
            transform: translateY(100%);
        }

        to {
            transform: translateY(0);
        }
    }

    .YS-Settings-Handle {
        display: block;
        width: 38px;
        height: 4px;
        background: rgba(255, 255, 255, 0.25);
        border-radius: 4px;
        margin: 0 auto 12px auto;
        cursor: grab;
    }

    .YS-Settings-Top-Bar {
        display: flex;
    }

    .YS-Settings-Row {
        min-height: 42px;
        padding: 8px 4px;
    }

    .YS-Settings-Label {
        font-size: 14.5px;
    }

    .YS-Settings-Value {
        font-size: 14px;
    }
}

/* ============================================================
   GLOBAL LIGHT MODE - 100% COVERAGE FOR ENTIRE WEBSITE
   ============================================================ */
html.light-mode {
    --A-Color: #f1f4f9;
    --B-Color: #ffffff;
    --C-Color: #ffffff;
    --Primary-A-Color: #0d9488;
    --Primary-B-Color: #0f172a;
    --Primary-C-Color: #64748b;
    --Primary-D-Color: #e2e8f0;
    --Primary-E-Color: #334155;
    background: #f1f4f9 !important;
    color: #0f172a !important;
}

html.light-mode body {
    background: #f1f4f9 !important;
    color: #0f172a !important;
}

/* 1. Header & Menu */
html.light-mode header,
html.light-mode .STING-WEB-Header {
    background: #ffffff !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

html.light-mode .STING-WEB-Menu ul li a {
    color: #334155 !important;
    border-bottom: none !important;
    text-decoration: none !important;
}

html.light-mode .STING-WEB-Menu ul li a:hover,
html.light-mode .STING-WEB-Menu ul li:nth-child(1) a {
    color: #0d9488 !important;
}

html.light-mode .STING-WEB-Language a,
html.light-mode .STING-WEB-Share a,
html.light-mode .YS-Settings-Trigger {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #334155 !important;
}

html.light-mode .YS-Settings-Trigger:hover {
    background: #e2e8f0 !important;
    color: #0d9488 !important;
    border-color: #0d9488 !important;
}

html.light-mode .STING-WEB-Search {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
}

html.light-mode .STING-WEB-Search input {
    color: #0f172a !important;
}

html.light-mode .STING-WEB-Search-Results {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

html.light-mode .STING-WEB-Search-Item {
    color: #0f172a !important;
}

html.light-mode .STING-WEB-Search-Item:hover {
    background: #f8fafc !important;
}

html.light-mode .STING-WEB-Search-Item-Info .Item-Name {
    color: #0f172a !important;
}

/* 2. Mobile Bottom Bar */
html.light-mode .STING-WEB-Mobile {
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08) !important;
}

html.light-mode .STING-WEB-Mobile-Ico {
    color: #475569 !important;
}

html.light-mode .STING-WEB-Mobile a.active .STING-WEB-Mobile-Ico,
html.light-mode .STING-WEB-Mobile-Ico:hover {
    color: #0d9488 !important;
}

html.light-mode .STING-WEB-Mobile-Ico span[class*="_SVG"] {
    filter: invert(0.6) brightness(0.3) !important;
}

html.light-mode .STING-WEB-Mobile a.active .STING-WEB-Mobile-Ico span[class*="_SVG"] {
    filter: none !important;
}

/* 3. Match Center / Home Cards (Fix invisible scores) */
html.light-mode .STING-WEB-Day-Matches,
html.light-mode .STING-WEB-Name-Zone {
    color: #0f172a !important;
}

html.light-mode .STING-WEB-Today-Name {
    color: #0d9488 !important;
}

html.light-mode .STING-WEB-Date-Here {
    color: #475569 !important;
}

html.light-mode .STING-WEB-Cup-Name {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

html.light-mode .STING-WEB-Cup-Name-Right a h3 {
    color: #0f172a !important;
}

html.light-mode .STING-WEB-Standing {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #334155 !important;
}

html.light-mode .STING-WEB-Match-div-Here {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
}

html.light-mode .STING-WEB-Match-div-Team-Name {
    color: #0f172a !important;
    font-weight: 700 !important;
}

html.light-mode .Match-div-Status {
    color: #475569 !important;
}

html.light-mode .Match-div-Status.Not-Start {
    color: #0d9488 !important;
    font-weight: 700 !important;
}

/* CRITICAL FIX: Match scores visibility */
html.light-mode .STING-WEB-Match-div.END .STING-WEB-Match-div-Goal {
    background: #e2e8f0 !important;
}

html.light-mode .Goal-Team {
    color: #0f172a !important;
    font-weight: 800 !important;
}

html.light-mode .Goal-Team.winner,
html.light-mode span.Goal-Team[style*="#39dbbf"] {
    color: #0d9488 !important;
    font-weight: 800 !important;
}

html.light-mode .Goal-Team.loser,
html.light-mode span.Goal-Team[style*="rgba(255, 255, 255"] {
    color: #64748b !important;
    font-weight: 700 !important;
}

html.light-mode .Goal-Team.draw,
html.light-mode span.Goal-Team[style*="#bfc3d4"] {
    color: #0f172a !important;
    font-weight: 800 !important;
}

html.light-mode .Goal-Team-Part {
    color: #475569 !important;
    font-weight: 700 !important;
}

/* 4. Match Details Page (/match/?...) Full Coverage */
html.light-mode .STING-WEB-Match-Page {
    background: #f1f4f9 !important;
}

html.light-mode .STING-WEB-Match-UI-Top {
    background: #ffffff !important;
    background-image: none !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

html.light-mode .STING-WEB-Card-Cup-Link {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #334155 !important;
}

html.light-mode .STING-WEB-Card-Vs-Right span,
html.light-mode .STING-WEB-Card-Vs-Left span {
    color: #0f172a !important;
    font-weight: 700 !important;
}

html.light-mode .STING-WEB-Card-Vs-Center .VS {
    color: #64748b !important;
}

html.light-mode .STING-WEB-Card-Vs-Center .Time-Start {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
}

html.light-mode .STING-WEB-Card-Vs .Goal {
    background: #e2e8f0 !important;
    color: #0f172a !important;
    font-weight: 800 !important;
}

html.light-mode .STING-WEB-Event-Toggle {
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
}

html.light-mode .STING-WEB-Event-Toggle div,
html.light-mode .STING-WEB-Toggle-Event-Button {
    color: #64748b !important;
    background: transparent !important;
}

html.light-mode .STING-WEB-Event-Toggle div:hover,
html.light-mode .STING-WEB-Toggle-Event-Button:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

html.light-mode .STING-WEB-Event-Toggle div.active,
html.light-mode .STING-WEB-Toggle-Event-Button.active {
    background: #0d9488 !important;
    color: #ffffff !important;
    border-bottom: none !important;
}

html.light-mode .STING-WEB_MatchInfo-Table tr {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
}

html.light-mode .STING-WEB_MatchInfo-Table td,
html.light-mode .STING-WEB_MatchInfo-Table th {
    color: #0f172a !important;
}

html.light-mode .STING-WEB_MatchInfo-Table.info:before,
html.light-mode .STING-WEB_MatchInfo-Table.channels:before {
    color: #475569 !important;
}

html.light-mode .STING-WEB-Events-Match {
    border-bottom: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
}

html.light-mode .STING-WEB-Player-Names span {
    color: #0f172a !important;
}

html.light-mode .STING-WEB-Player-Names span:nth-child(2) {
    color: #64748b !important;
}

html.light-mode .STING-WEB-H2H h3 {
    color: #0f172a !important;
}

html.light-mode .STING-WEB-Standings-C-Header,
html.light-mode .STING-WEB-Scorers-Header {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border-radius: 8px !important;
}

html.light-mode .STING-WEB-Standings-C-row,
html.light-mode .STING-WEB-Scorers-row {
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
}

html.light-mode .STING-WEB-Standings-C-row .Team-name,
html.light-mode .STING-WEB-Scorers-row .Player-name {
    color: #0f172a !important;
}

html.light-mode .STING-WEB-Scorers-row .Goals {
    background: #e2e8f0 !important;
    color: #0d9488 !important;
}

html.light-mode .Hadafin-Subtabs {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
}

html.light-mode .Hadafin-Subtab-Btn {
    color: #64748b !important;
}

html.light-mode .Hadafin-Subtab-Btn.active {
    background: #ffffff !important;
    color: #0d9488 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

/* Match News in Light Mode */
html.light-mode .Match-News-Card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
}

html.light-mode .Match-News-Title {
    color: #0f172a !important;
}

html.light-mode .Match-News-Meta {
    color: #64748b !important;
}

html.light-mode .Match-News-More-Btn {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #0d9488 !important;
}

html.light-mode .Match-News-More-Btn:hover {
    background: #0d9488 !important;
    color: #ffffff !important;
}

/* 5. Settings Menu Light Mode (Crisp & Clean) */
html.light-mode .YS-Settings-Menu {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
}

@media (max-width: 768px) {
    html.light-mode .YS-Settings-Menu {
        background: #ffffff !important;
        border-top: 1px solid #e2e8f0 !important;
        box-shadow: 0 -10px 35px rgba(0, 0, 0, 0.12) !important;
    }
}

html.light-mode .YS-Settings-Top-Title,
html.light-mode .YS-Settings-Label {
    color: #0f172a !important;
}

html.light-mode .YS-Settings-Section-Title {
    color: #64748b !important;
}

html.light-mode .YS-Settings-Divider,
html.light-mode .YS-Settings-Top-Bar {
    border-color: #e2e8f0 !important;
    background-color: #e2e8f0 !important;
}

html.light-mode .YS-Settings-Row-Clickable:hover,
html.light-mode .YS-Settings-Link:hover {
    background: #f8fafc !important;
}

html.light-mode .YS-Settings-Close-Btn {
    background: #f1f5f9 !important;
    color: #334155 !important;
}

html.light-mode .YS-Settings-Slider {
    background-color: #cbd5e1 !important;
}

html.light-mode .YS-Settings-Switch input:checked+.YS-Settings-Slider {
    background-color: #0d9488 !important;
}

html.light-mode .YS-Settings-Select-Wrap {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
}

html.light-mode .YS-Settings-Select {
    color: #0d9488 !important;
}

html.light-mode .YS-Settings-Select option {
    background: #ffffff !important;
    color: #0f172a !important;
}

html.light-mode .YS-Settings-Value {
    color: #0d9488 !important;
}

html.light-mode .YS-Settings-Footer {
    color: #64748b !important;
    border-top-color: #e2e8f0 !important;
}

/* 6. Footer - Spacious & Refined */
.STING-WEB-Top-Footer {
    margin-top: 60px !important;
    padding-bottom: 25px !important;
}

.STING-WEB-Footer {
    height: auto !important;
    min-height: 64px !important;
    padding: 16px 28px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin: 28px auto !important;
}

.STING-WEB-Footer-Right a {
    font-size: 14.5px !important;
    line-height: 1.6 !important;
    font-weight: 700 !important;
}

.STING-WEB-Footer-Left ul li a {
    font-size: 14px !important;
}

html.light-mode .STING-WEB-Top-Footer {
    border-top: 1px solid #e2e8f0 !important;
    padding-top: 45px !important;
    margin-top: 60px !important;
}

html.light-mode .STING-WEB-Top-Footer-Right p {
    color: #475569 !important;
    line-height: 1.85 !important;
    font-size: 13.5px !important;
}

html.light-mode .STING-WEB-Links-Footer h3 {
    color: #0f172a !important;
    font-weight: 800 !important;
    font-size: 16px !important;
}

html.light-mode .STING-WEB-Links-Footer h3:before {
    background: #0d9488 !important;
}

html.light-mode .STING-WEB-Links-Footer ul li a {
    color: #64748b !important;
    font-size: 14px !important;
    transition: color 0.15s ease !important;
}

html.light-mode .STING-WEB-Links-Footer ul li a:hover {
    color: #0d9488 !important;
}

html.light-mode footer {
    background: transparent !important;
}

html.light-mode .STING-WEB-Footer {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
    border-radius: 14px !important;
    color: #475569 !important;
    margin-top: 30px !important;
    margin-bottom: 30px !important;
    min-height: 64px !important;
    padding: 18px 28px !important;
}

html.light-mode .STING-WEB-Footer-Right a {
    color: #0f172a !important;
    font-weight: 700 !important;
    font-size: 14.5px !important;
}

html.light-mode .STING-WEB-Footer-Right a:hover {
    color: #0d9488 !important;
}

html.light-mode .STING-WEB-Footer-Left ul li a {
    color: #64748b !important;
    font-size: 14px !important;
}

html.light-mode .STING-WEB-Footer-Left ul li a:hover {
    color: #0d9488 !important;
}

/* 7. Light Mode Scrollbars (Clean, never pitch-black) */
html.light-mode ::-webkit-scrollbar-track,
html.light-mode .STING-WEB-Home-Right::-webkit-scrollbar-track {
    background: #f1f4f9 !important;
}

html.light-mode ::-webkit-scrollbar-thumb,
html.light-mode .STING-WEB-Home-Right::-webkit-scrollbar-thumb {
    background: #cbd5e1 !important;
    border-radius: 10px !important;
}

html.light-mode ::-webkit-scrollbar-thumb:hover,
html.light-mode .STING-WEB-Home-Right::-webkit-scrollbar-thumb:hover {
    background: #0d9488 !important;
}

/* Hide Footer on mobile devices */
@media (max-width: 768px) {
    footer,
    .STING-WEB-Footer,
    .STING-WEB-Top-Footer {
        display: none !important;
    }
}

/* 8. Standings View Page (/standings/view/) Light Mode Coverage */
html.light-mode .STING-WEB-League-Info {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

html.light-mode .STING-WEB-League-Top h2 {
    color: #0f172a !important;
    font-weight: 800 !important;
}

html.light-mode .STING-WEB-League-Bottom button {
    color: #475569 !important;
}

html.light-mode .STING-WEB-League-Bottom button:hover,
html.light-mode .STING-WEB-League-Bottom button.active {
    color: #0d9488 !important;
    border-bottom-color: #0d9488 !important;
}

html.light-mode .STING-WEB-Standings-C-Header {
    color: #64748b !important;
}

html.light-mode .STING-WEB-Standings-C-row {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
    color: #334155 !important;
}

html.light-mode .STING-WEB-Standings-C-row:hover {
    background: #f8fafc !important;
}

html.light-mode .STING-WEB-Standings-C-row .Position {
    color: #64748b !important;
}

html.light-mode .STING-WEB-Standings-C-row .Team-name {
    color: #0f172a !important;
    font-weight: 700 !important;
}

html.light-mode .STING-WEB-Standings-C-row .Diff {
    color: #334155 !important;
}

html.light-mode .STING-WEB-Standings-C-row .Points {
    color: #0f172a !important;
    font-weight: 800 !important;
}

html.light-mode .STING-WEB-Group-Name {
    color: #0d9488 !important;
    font-weight: 700 !important;
}

html.light-mode .STING-WEB-Scorers-row {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
}

html.light-mode .STING-WEB-Scorers-Header {
    color: #64748b !important;
}

html.light-mode .no-standings,
html.light-mode .no-scorers,
html.light-mode .no-assists {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #64748b !important;
}

html.light-mode .champ-stats-dashboard .stat-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

html.light-mode .champ-stats-dashboard .stat-num {
    color: #0f172a !important;
}

html.light-mode .champ-stats-dashboard .stat-highlight-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

html.light-mode .champ-stats-dashboard .highlight-info h4 a {
    color: #0f172a !important;
}