/* ==========================================================================
   7M Responsive CSS - Mobile & Tablet Optimization Engine
   7M Sport Mobile Header (Exact Replica of User Screenshot)
   Strict compliance with Global Rules:
   - border-radius: 0 !important (no rounded corners)
   - box-shadow: none !important, text-shadow: none !important (no shadows)
   - html, :root { font-size: 16px !important; }
   - body { font-size: 100% !important; }
   - Compact density, zero wasted space
   ========================================================================== */

/* Universal Responsive Helpers & Desktop Defaults */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

/* Desktop Header vs Mobile Header visibility by default */
.desktop-header-wrap {
    display: block;
}
@media (min-width: 1025px) {
    .mobile-header-wrap,
    .m-drawer-overlay,
    .m-drawer-sidebar {
        display: none !important;
    }
}

/* Desktop vs Mobile Data Table visibility by default */
.desktop-only-table {
    display: block;
}
.mobile-only-list {
    display: none !important;
}

/* 2-Column Responsive Grid (Used in Match Analysis & Live Match Center) */
.responsive-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

/* Match Banner Row Helpers */
.match-banner-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 12px 0;
}
.match-banner-team {
    flex: 1;
}
.match-banner-home {
    text-align: right;
    padding-right: 20px;
}
.match-banner-away {
    text-align: left;
    padding-left: 20px;
}
.match-banner-score {
    background: #f0f4f9;
    border: 1px solid #ccd0d4;
    padding: 10px 24px;
    text-align: center;
    min-width: 140px;
}
.match-banner-score.live-score-box {
    background: #111155;
    border: 2px solid #ffcc00;
    color: #ffffff;
    min-width: 150px;
}
.match-banner-meta {
    font-size: 11px;
    color: #777777;
    border-top: 1px solid #eeeeee;
    padding-top: 8px;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* Mobile-only toggle controls (hidden on desktop) */
.btn-league-mobile,
.mobile-only-sep,
.mobile-toggle-badge {
    display: none;
}

/* Table Horizontal Scroll Wrapper */
.table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

/* ==========================================================================
   BREAKPOINT: TABLET & MOBILE VIEW (max-width: 1024px)
   Activate 7M Sport Mobile Header Exactly Like Screenshot
   ========================================================================== */
@media (max-width: 1024px) {
    /* Hide Desktop Header, Show 7M Sport Mobile Header */
    .desktop-header-wrap {
        display: none !important;
    }
    .mobile-header-wrap {
        display: block !important;
        width: 100% !important;
        background: #0e2238;
    }

    /* --------------------------------------------------------------------------
       Row 1: Top App Bar (Dark Navy #0e2238)
       -------------------------------------------------------------------------- */
    .m-top-bar {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        height: 48px !important;
        padding: 0 12px !important;
        background: #0c2033 !important;
    }

    .m-logo a {
        display: flex !important;
        align-items: center !important;
        text-decoration: none !important;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
        font-weight: 800 !important;
        font-size: 25px !important;
        letter-spacing: -0.5px !important;
        line-height: 1 !important;
    }

    .m-logo-7m {
        color: #00b853 !important;
        margin-right: 3px !important;
    }

    .m-logo-sport {
        color: #ffffff !important;
        display: inline-flex !important;
        align-items: center !important;
    }

    .m-ball {
        font-size: 18px !important;
        line-height: 1 !important;
        display: inline-flex !important;
        align-items: center !important;
        margin: 0 1px !important;
        vertical-align: middle !important;
    }

    .m-top-actions {
        display: flex !important;
        align-items: center !important;
        gap: 14px !important;
    }

    .m-btn-search,
    .m-btn-hamburger {
        background: transparent !important;
        border: none !important;
        padding: 4px !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #ffffff !important;
    }

    .m-btn-app {
        background: #00b853 !important;
        color: #ffffff !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        padding: 0 9px !important;
        text-decoration: none !important;
        display: inline-flex !important;
        align-items: center !important;
        height: 27px !important;
        line-height: 27px !important;
    }

    /* Expandable Search Input */
    .m-search-dropdown {
        display: flex;
        padding: 6px 12px;
        background: #091a2b;
        border-bottom: 1px solid #16324d;
        gap: 8px;
    }
    .m-search-dropdown input {
        flex: 1;
        height: 32px;
        padding: 0 10px;
        font-size: 13px;
        border: 1px solid #23496d;
        background: #ffffff;
        color: #111;
    }
    .m-search-dropdown button {
        background: #cc0000;
        color: #fff;
        border: none;
        width: 32px;
        height: 32px;
        cursor: pointer;
        font-weight: bold;
    }

    /* --------------------------------------------------------------------------
       Row 2: Category Tabs (Scores, Favorites, Leagues, Transfer, etc.)
       -------------------------------------------------------------------------- */
    .m-category-tabs {
        display: flex !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        background: #0c2033 !important;
        padding: 2px 10px 10px 10px !important;
        gap: 6px !important;
    }
    .m-category-tabs::-webkit-scrollbar {
        display: none !important;
    }

    .m-cat-tab {
        color: #ffffff !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        padding: 7px 14px !important;
        text-decoration: none !important;
        flex-shrink: 0 !important;
        display: inline-block !important;
        background: transparent !important;
        line-height: 1 !important;
    }

    .m-cat-tab.active {
        background: #00b853 !important;
        color: #ffffff !important;
        font-weight: 700 !important;
    }

    /* --------------------------------------------------------------------------
       Row 3: Sub-Filter Buttons Bar (All, Live, Odds, FT, Scheduled)
       -------------------------------------------------------------------------- */
    .m-subfilter-bar {
        display: flex !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        background: #ffffff !important;
        padding: 8px 10px !important;
        gap: 7px !important;
        border-bottom: 1px solid #e5e8ec !important;
    }
    .m-subfilter-bar::-webkit-scrollbar {
        display: none !important;
    }

    .m-filter-btn {
        height: 30px !important;
        line-height: 28px !important;
        font-size: 14px !important;
        padding: 0 15px !important;
        background: #ffffff !important;
        border: 1px solid #d4d8dc !important;
        color: #24292f !important;
        text-decoration: none !important;
        cursor: pointer !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        font-weight: 500 !important;
    }

    .m-filter-btn.active {
        background: #00b853 !important;
        color: #ffffff !important;
        border-color: #00b853 !important;
        font-weight: 700 !important;
    }

    /* --------------------------------------------------------------------------
       Mobile Slide-Out Drawer Navigation
       -------------------------------------------------------------------------- */
    .m-drawer-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.6);
        z-index: 99998;
        display: none;
        opacity: 0;
        transition: opacity 0.25s ease;
        pointer-events: none;
    }
    .m-drawer-overlay.open {
        display: block !important;
        opacity: 1 !important;
        pointer-events: auto;
    }

    .m-drawer-sidebar {
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        max-width: 85vw;
        height: 100vh;
        height: 100dvh;
        background: #ffffff;
        z-index: 99999;
        box-shadow: none !important;
        border-left: 3px solid #00c058;
        transform: translateX(105%);
        transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex !important;
        flex-direction: column;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .m-drawer-sidebar.open {
        transform: translateX(0) !important;
        right: 0 !important;
    }

    .m-drawer-header {
        background: #0e2238;
        padding: 14px 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 2px solid #00c058;
    }
    .m-drawer-close {
        background: transparent;
        border: none;
        color: #ffffff;
        font-size: 22px;
        font-weight: bold;
        cursor: pointer;
    }
    .m-drawer-content {
        flex: 1;
        padding: 6px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: #ffffff;
    }
    .m-drawer-section-title {
        padding: 8px 12px;
        font-size: 15px;
        font-weight: 700;
        text-transform: uppercase;
        color: #0f172a;
        background: #e2e8f0;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
        line-height: 1.2;
        margin: 8px 4px 6px 4px;
        letter-spacing: 0.3px;
    }
    .m-drawer-section-title:first-child {
        margin-top: 2px;
    }
    .m-drawer-menu {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
        padding: 2px 4px !important;
        list-style: none !important;
        margin: 0 0 10px 0 !important;
    }
    .m-drawer-menu li {
        margin: 0 !important;
        padding: 0 !important;
        background: #f1f5f9 !important;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
        overflow: hidden !important;
    }
    .m-drawer-menu a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 10px 6px !important;
        color: #1e293b !important;
        font-size: 15px !important;
        text-decoration: none !important;
        font-weight: 600 !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        min-height: 44px !important;
        box-sizing: border-box !important;
        transition: background 0.15s ease;
    }
    .m-drawer-menu a:hover {
        background: #e2e8f0 !important;
        color: #008744 !important;
    }
    .m-drawer-menu li.current-menu-item,
    .m-drawer-menu li.current-menu-item > a,
    .m-drawer-menu a.active,
    .m-drawer-menu a.on {
        background: #008744 !important;
        color: #ffffff !important;
        font-weight: 700 !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    .m-drawer-footer-actions {
        padding: 14px 16px;
        background: #f8fafc;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
        margin-top: 10px;
        font-size: 15px;
    }
    .m-drawer-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
        font-size: 15px;
    }
    .m-drawer-row:last-child {
        margin-bottom: 0;
    }
    .m-drawer-row button {
        background: #008744;
        color: #fff;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 6px 14px;
        cursor: pointer;
        font-size: 15px;
        font-weight: bold;
    }

    /* --------------------------------------------------------------------------
       Layout Structure (cCenter first, cLeft second)
       -------------------------------------------------------------------------- */
    #wrapper {
        width: 100% !important;
        max-width: 100% !important;
    }

    #content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 4px auto !important;
        padding: 0 4px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
    }

    #cCenter {
        order: 1 !important;
        width: 100% !important;
    }

    #cLeft {
        order: 2 !important;
        width: 100% !important;
    }

    #cRight {
        order: 3 !important;
        width: 100% !important;
    }

    /* Hide redundant desktop toolbar on mobile */
    .lfun {
        display: none !important;
    }

    /* 7M Mobile Quick Bar: Form tìm đội nhanh, Lọc giải, Icon bật tắt âm thanh */
    .m-live-control-bar {
        display: flex !important;
        align-items: center;
        gap: 6px;
        margin: 6px 0;
        padding: 4px 0;
    }
    .m-quick-search-wrap {
        flex: 1;
        display: flex;
        align-items: center;
        background: #f1f5f9;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
        padding: 4px 10px;
        height: 40px;
        box-sizing: border-box;
    }
    .m-quick-search-icon {
        color: #64748b;
        margin-right: 6px;
        flex-shrink: 0;
    }
    .m-quick-search-wrap input {
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        background: transparent !important;
        font-size: 15px !important;
        color: #0f172a !important;
        width: 100%;
        padding: 0 !important;
        font-family: Tahoma, Verdana, Segoe, sans-serif !important;
    }
    .m-quick-search-wrap button {
        background: none;
        border: none !important;
        box-shadow: none !important;
        color: #94a3b8;
        cursor: pointer;
        padding: 2px 4px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .m-btn-ctrl {
        height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding: 0 12px;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        font-family: Tahoma, Verdana, Segoe, sans-serif !important;
        white-space: nowrap;
        flex-shrink: 0;
    }
    .m-btn-filter-league {
        background: #005a9e;
        color: #ffffff;
    }
    .m-btn-filter-league:active {
        background: #004477;
    }
    .m-league-count-badge {
        background: #ffffff;
        color: #005a9e;
        font-size: 13px;
        font-weight: bold;
        padding: 1px 6px;
        border-radius: 0 !important;
        display: none;
    }
    .m-btn-sound {
        background: #008744;
        color: #ffffff;
        width: 40px;
        padding: 0;
    }
    .m-btn-sound.muted {
        background: #64748b;
    }
    .m-btn-sound svg {
        width: 20px;
        height: 20px;
    }

    /* Mobile League Filter Modal */
    .m-league-modal-backdrop {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0, 0, 0, 0.65);
        z-index: 99998;
    }
    .m-league-modal-backdrop.open {
        display: block;
    }
    .m-league-modal-sheet {
        display: none;
        position: fixed;
        bottom: 0; left: 0; right: 0;
        max-height: 80vh;
        background: #ffffff;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
        z-index: 99999;
        flex-direction: column;
        overflow: hidden;
    }
    .m-league-modal-sheet.open {
        display: flex;
    }
    .m-league-modal-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 18px;
        background: #0e2238;
        color: #ffffff;
    }
    .m-league-modal-title {
        font-size: 16px;
        font-weight: bold;
        letter-spacing: 0.5px;
    }
    .m-league-modal-close {
        background: none;
        border: none !important;
        color: #ffffff;
        cursor: pointer;
        padding: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .m-league-modal-tools {
        display: flex;
        gap: 8px;
        padding: 10px 16px;
        background: #f1f5f9;
    }
    .m-league-tool-btn {
        background: #e2e8f0;
        color: #1e293b;
        font-size: 14px;
        font-weight: 600;
        padding: 6px 14px;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
        cursor: pointer;
    }
    .m-league-tool-btn:active {
        background: #cbd5e1;
    }
    .m-league-modal-list {
        padding: 10px 16px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        flex: 1;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        max-height: 50vh;
    }
    .m-league-modal-item {
        background: #f8fafc;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
        padding: 8px 10px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 14px;
    }
    .m-league-modal-item label {
        display: flex;
        align-items: center;
        gap: 6px;
        cursor: pointer;
        flex: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .m-league-modal-item input[type="checkbox"] {
        width: 18px;
        height: 18px;
        accent-color: #008744;
    }
    .m-league-modal-footer {
        padding: 12px 16px;
        background: #ffffff;
        border-top: 1px solid #e2e8f0;
    }
    .m-league-modal-apply {
        width: 100%;
        background: #008744;
        color: #ffffff;
        font-size: 16px;
        font-weight: bold;
        padding: 12px;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
        cursor: pointer;
    }

    .fun_sec {
        margin-top: 4px !important;
        margin-bottom: 4px !important;
        background: #f8f8f8 !important;
        height: auto !important;
        min-height: 24px !important;
        line-height: 24px !important;
        padding: 2px 8px !important;
        font-size: 11px !important;
        display: flex !important;
        flex-wrap: wrap !important;
    }

    .float-ad-left,
    .float-ad-right {
        display: none !important;
    }

    /* Left Sidebar: League box */
    #cLeft .league-box {
        margin-bottom: 6px;
    }

    #cLeft .league-list {
        max-height: 180px;
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        overflow-y: auto;
    }

    #cLeft .league-item {
        border-bottom: none;
        background: #f4f7fb;
        padding: 2px 6px;
        width: auto;
        min-width: 130px;
    }

    #cLeft .left-mini-tip {
        display: none !important;
    }

    /* Table density & responsiveness */
    table.live {
        min-width: 620px !important;
        font-size: 11px !important;
    }

    table.live td {
        padding: 3px 2px !important;
    }

    .th_chk { width: 22px !important; }
    .th_time { width: 38px !important; }
    .th_state { width: 48px !important; }
    .th_score { width: 52px !important; }
    .th_data { width: 50px !important; }
    .th_top { width: 22px !important; }

    .th_odds .odds-box-wrap {
        gap: 3px !important;
    }

    .odds-col {
        font-size: 10px !important;
    }

    .odds-col .odds-val,
    .odds-col .odds-line {
        font-size: 10px !important;
    }

    /* Desktop vs Mobile Data Table switching */
    .desktop-only-table {
        display: none !important;
    }
    .mobile-only-list {
        display: block !important;
        width: 100% !important;
    }

    /* --------------------------------------------------------------------------
       7M Mobile LiveScore Match Card List (Exact Replica of https://m.7mvn9.com/live/)
       -------------------------------------------------------------------------- */
    .score_info {
        background-color: #f0f2f5;
        width: 100%;
        position: relative;
        overflow-x: hidden;
        margin: 4px 0 10px 0;
    }
    .score_info ul.score_info_true {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .score_info ul.score_info_true li.long_info {
        display: block;
        position: relative;
        background: #ffffff;
        margin-bottom: 4px;
        border-top: 1px solid #dcdcdc;
        border-bottom: 1px solid #dcdcdc;
        cursor: pointer;
        user-select: none;
        -webkit-tap-highlight-color: rgba(0,0,0,0.03);
    }
    .score_info ul.score_info_true li.long_info:active {
        background: #f8fafc;
    }
    .score_info ul.score_info_true li.is-pinned {
        background: #fffdf5;
        border-left: 3px solid #f59e0b;
    }

    /* Left vertical league stripe */
    .score_info ul.score_info_true li>i.m-stripe {
        display: block;
        width: 4px;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }

    /* Match Wrap: 5 columns */
    .score_info ul.score_info_true li .score_infoWrap {
        position: relative;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 6px 6px 6px 8px !important;
        min-height: 60px !important;
        overflow: hidden !important;
    }

    /* Col 1: League, Time, State */
    .score_info .score_info1 {
        width: 48px !important;
        min-width: 44px !important;
        max-width: 52px !important;
        flex-shrink: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: flex-start !important;
        font-size: 11px !important;
        line-height: 1.25 !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
    .score_info .score_info1 .info1_race {
        font-size: 11px;
        font-weight: 700;
        color: #336699;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
    .score_info .score_info1 .info1_gameTime {
        color: #888888;
        font-size: 11px;
        margin: 2px 0;
    }
    .score_info .score_info1 .info1_state {
        font-style: normal;
        font-size: 10.5px;
        line-height: 12px;
        padding: 1px 3px;
        border: 1px solid #dcdcdc;
        color: #888888;
        background: #ffffff;
        white-space: nowrap;
    }
    .score_info .score_info1 .info1_state.on {
        color: #898989;
        border-color: #898989;
    }
    .score_info .score_info1 .info1_state.red {
        color: #ff3333 !important;
        border-color: #ff3333 !important;
        font-weight: bold;
        animation: liveBlink 1.5s infinite;
    }

    /* Col 2: Home Team */
    .score_info .score_info2 {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        justify-content: center !important;
        overflow: hidden !important;
        text-align: right !important;
        padding-right: 4px !important;
        box-sizing: border-box !important;
    }
    .score_info .score_info2 .info2_index {
        height: 14px;
        line-height: 14px;
        font-size: 11px;
        color: #898989;
    }
    .score_info .score_info2 .info2_index i {
        font-style: normal;
        font-size: 11px;
    }
    .score_info .score_info2 .info2_Team {
        display: block;
        font-size: 13px;
        line-height: 17px;
        font-weight: 600;
        color: #111111;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
        margin: 2px 0;
    }
    .score_info .score_info2 .info2_Team.on,
    .score_info .score_info4 .info4_Team.on {
        color: #ff4027;
    }
    .score_info .score_info2 .info2_rank {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 3px;
        font-size: 10.5px;
        height: 14px;
    }

    /* Col 3: Score & Spread Center */
    .score_info .score_info3 {
        width: 58px !important;
        min-width: 50px !important;
        max-width: 64px !important;
        flex-shrink: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }
    .score_info .score_info3 i.i {
        font-style: normal;
        font-size: 11px;
        color: #888888;
        height: 14px;
        line-height: 14px;
    }
    .score_info .score_info3 .info3_result {
        margin: 2px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 2px;
    }
    .score_info .score_info3 .info3_result span {
        color: #00385f;
        font-weight: 800;
        font-size: 17px;
        line-height: 1;
    }
    .score_info .score_info3 .info3_result span.live-score {
        color: #e53e3e;
    }
    .score_info .score_info3 .info3_result span.on {
        color: #ff4027;
    }
    .score_info .score_info3 span.vs {
        display: block;
        font-size: 15px;
        line-height: 18px;
        color: #b4bcc4;
        font-weight: 800;
        margin: 2px 0;
    }
    .score_info .score_info3 .info3_half {
        color: #888888;
        font-size: 10.5px;
        line-height: 12px;
    }

    /* Col 4: Away Team */
    .score_info .score_info4 {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        overflow: hidden !important;
        text-align: left !important;
        padding-left: 4px !important;
        box-sizing: border-box !important;
    }
    .score_info .score_info4 .info4_index {
        height: 14px;
        line-height: 14px;
        font-size: 11px;
        color: #898989;
    }
    .score_info .score_info4 .info4_index i {
        font-style: normal;
        font-size: 11px;
    }
    .score_info .score_info4 .info4_Team {
        display: block;
        font-size: 13px;
        line-height: 17px;
        font-weight: 600;
        color: #111111;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
        margin: 2px 0;
    }
    .score_info .score_info4 .info4_rank {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 3px;
        font-size: 10.5px;
        height: 14px;
    }

    /* Cards & Ranks common */
    .car_red {
        background-color: #f0484d;
        color: #ffffff;
        font-size: 10px;
        font-style: normal;
        display: inline-block;
        width: 9px;
        height: 12px;
        line-height: 12px;
        text-align: center;
        font-weight: bold;
    }
    .car_yellow {
        background-color: #f59e0b;
        color: #ffffff;
        font-size: 10px;
        font-style: normal;
        display: inline-block;
        width: 9px;
        height: 12px;
        line-height: 12px;
        text-align: center;
        font-weight: bold;
    }
    .term_rank {
        font-size: 10.5px;
        color: #898989;
    }

    /* Col 5: Actions */
    .score_info .score_info5 {
        width: 30px !important;
        min-width: 28px !important;
        max-width: 34px !important;
        flex-shrink: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        justify-content: center !important;
        gap: 4px !important;
        position: relative !important;
        box-sizing: border-box !important;
    }
    .score_info .score_info5 .m-btn-fav {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        color: #9ca3af;
        cursor: pointer;
        background: transparent;
        border: none;
        padding: 0;
    }
    .score_info .score_info5 .m-btn-fav.on {
        color: #f59e0b;
    }
    .score_info .score_info5 .m-live-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 22px;
        height: 18px;
        padding: 0 3px;
        font-size: 9.5px;
        font-weight: 700;
        color: #00385f;
        border: 1px solid #00385f;
        text-decoration: none;
        line-height: 1;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    .score_info .score_info5 .m-live-link.active-live {
        color: #e53e3e;
        border-color: #e53e3e;
        background: #fff5f5;
    }

    /* Mobile League Group Header */
    .m-group-header {
        background: #eef2f6;
        border-left: 4px solid #336699;
        padding: 5px 8px;
        font-size: 12px;
        font-weight: 700;
        color: #1e293b;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 6px;
        margin-bottom: 2px;
    }
    .m-group-header.pinned-header {
        background: #fef3c7;
        border-left-color: #f59e0b;
        color: #92400e;
    }

    /* Mobile Horizontal Date Strip */
    .m-date-strip {
        display: flex !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        background: #091a2b !important;
        padding: 6px 8px !important;
        gap: 6px !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        margin-bottom: 6px !important;
    }
    .m-date-strip::-webkit-scrollbar { display: none !important; }
    .m-date-pill {
        flex-shrink: 0 !important;
        padding: 6px 12px !important;
        font-size: 12px !important;
        color: #cbd5e1 !important;
        text-decoration: none !important;
        background: #162a3f !important;
        font-weight: 500 !important;
        border: 1px solid #233d59 !important;
        display: inline-block !important;
    }
    .m-date-pill.active {
        background: #00b853 !important;
        color: #ffffff !important;
        font-weight: 700 !important;
        border-color: #00b853 !important;
    }

    /* Mobile Odds Card (Used in page-ty-le-keo) */
    .m-odds-card {
        background: #fff !important;
        border-top: 1px solid #dcdcdc !important;
        border-bottom: 1px solid #dcdcdc !important;
        margin-bottom: 5px !important;
        padding: 8px 10px !important;
        position: relative !important;
    }
    .m-odds-card-header {
        display: flex !important;
        justify-content: space-between !important;
        font-size: 11px !important;
        margin-bottom: 6px !important;
        border-bottom: 1px solid #f1f3f5 !important;
        padding-bottom: 4px !important;
    }
    .m-odds-card-match {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        margin-bottom: 8px !important;
    }
    .m-odds-card-table {
        width: 100% !important;
        border-collapse: collapse !important;
        font-size: 11.5px !important;
        text-align: center !important;
    }
    .m-odds-card-table th {
        background: #f1f5f9 !important;
        padding: 3px 2px !important;
        font-size: 10.5px !important;
        color: #475569 !important;
        border: 1px solid #e2e8f0 !important;
    }
    .m-odds-card-table td {
        padding: 4px 2px !important;
        border: 1px solid #e2e8f0 !important;
        font-size: 11px !important;
    }

    /* Mobile Standings Table (Used in page-kho-du-lieu) */
    .m-standings-table {
        width: 100% !important;
        border-collapse: collapse !important;
        font-size: 12px !important;
        background: #fff !important;
        margin-bottom: 8px !important;
    }
    .m-standings-table th {
        background: #0e2238 !important;
        color: #fff !important;
        padding: 6px 3px !important;
        font-size: 11px !important;
        text-align: center !important;
        font-weight: 600 !important;
    }
    .m-standings-table td {
        padding: 7px 3px !important;
        border-bottom: 1px solid #e5e7eb !important;
        text-align: center !important;
        font-size: 12px !important;
    }
    .m-standings-table td.m-team-cell {
        text-align: left !important;
        font-weight: 600 !important;
        color: #00385f !important;
        padding-left: 6px !important;
        max-width: 130px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    /* Mobile Basketball Card (Used in page-ty-so-bong-ro) */
    .m-basket-card {
        background: #fff !important;
        border-top: 1px solid #dcdcdc !important;
        border-bottom: 1px solid #dcdcdc !important;
        margin-bottom: 5px !important;
        padding: 8px 10px !important;
    }
    .m-basket-header {
        display: flex !important;
        justify-content: space-between !important;
        font-size: 11px !important;
        color: #64748b !important;
        margin-bottom: 6px !important;
        border-bottom: 1px solid #f1f3f5 !important;
        padding-bottom: 4px !important;
    }
    .m-basket-table {
        width: 100% !important;
        border-collapse: collapse !important;
        font-size: 12px !important;
        text-align: center !important;
    }
    .m-basket-table th {
        background: #f8fafc !important;
        font-size: 10.5px !important;
        color: #64748b !important;
        padding: 3px 2px !important;
        border: 1px solid #e2e8f0 !important;
    }
    .m-basket-table td {
        padding: 5px 2px !important;
        border: 1px solid #e2e8f0 !important;
        font-size: 11.5px !important;
    }
    .m-basket-table td.team-cell {
        text-align: left !important;
        font-weight: 600 !important;
        color: #1e293b !important;
        padding-left: 6px !important;
    }
    .m-basket-table td.total-cell {
        font-weight: 800 !important;
        color: #cc0000 !important;
        background: #fef2f2 !important;
    }

    /* Responsive 2-column sections */
    .responsive-grid-2col {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    /* Team Profile Header Stack */
    .team-profile-header {
        flex-direction: column !important;
        text-align: center !important;
        gap: 10px !important;
        padding: 12px !important;
    }

    .team-profile-header > div {
        text-align: center !important;
    }

    /* Footer Responsive */
    .footer {
        width: 100% !important;
        min-width: 100% !important;
        padding: 0 !important;
    }

    .footer .footer-container {
        width: 100% !important;
        padding: 20px 14px 28px !important;
    }

    .footer .footerLogo {
        display: flex !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        padding-bottom: 14px !important;
        margin-bottom: 16px !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .footer .footerLogo .logo {
        background: url('../images/footer/img_4.png') 0 0 no-repeat !important;
        width: 87px !important;
        height: 36px !important;
        background-size: contain !important;
        display: block !important;
    }

    .footer .footerLogo .address {
        border: 1px solid rgba(255, 255, 255, 0.4) !important;
        padding: 2px 8px !important;
        line-height: 18px !important;
        font-size: 11px !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .footer .footerLogo .address a {
        color: rgba(255, 255, 255, 0.6) !important;
        text-decoration: none !important;
    }

    .footer .navlist {
        flex-direction: column !important;
        padding-bottom: 10px !important;
    }

    .footer .navlist .left {
        flex-direction: column !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        padding-bottom: 10px !important;
    }

    .footer .navlist .left .line1,
    .footer .navlist .left .line2,
    .footer .navlist .right {
        width: 100% !important;
        margin: 0 !important;
    }

    .footer .navlist .left .line1 li,
    .footer .navlist .left .line2 li {
        display: flex !important;
        justify-content: space-between !important;
        margin-bottom: 10px !important;
        width: 100% !important;
    }

    .footer .navlist .left .line1 a,
    .footer .navlist .left .line2 a {
        width: 50% !important;
        max-width: 50% !important;
        font-size: 12px !important;
        margin: 0 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        padding-right: 8px !important;
        box-sizing: border-box !important;
    }

    .footer .navlist .right {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        padding-top: 10px !important;
        gap: 10px !important;
    }

    .footer .navlist .right .line1,
    .footer .navlist .right .line2 {
        width: 50% !important;
        max-width: 50% !important;
        margin: 0 !important;
    }

    .footer .navlist .right a {
        display: block !important;
        margin-bottom: 10px !important;
        font-size: 12px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .footer .social-list {
        justify-content: flex-start !important;
        padding-right: 0 !important;
        padding-top: 10px !important;
        padding-bottom: 16px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        gap: 12px !important;
    }

    .footer .social-list a {
        width: 90px !important;
        height: 22px !important;
    }

    .footer .statement {
        padding-top: 16px !important;
        padding-left: 0 !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 14px !important;
    }

    .footer .statement .logo,
    .footer .statement .footer-logo-link {
        display: none !important;
    }

    .footer .statement .statement-desc span {
        display: inline !important;
        line-height: 1.5 !important;
        font-size: 11px !important;
    }

    .footer .statement .a_img {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 280px !important;
        height: auto !important;
    }

    .footer .statement .a_img img {
        width: 100% !important;
        height: auto !important;
    }
}

/* ==========================================================================
   BREAKPOINT: STANDARD SMARTPHONES (max-width: 640px)
   ========================================================================== */
@media (max-width: 640px) {
    .m-top-bar {
        height: 46px !important;
        padding: 0 8px !important;
    }

    .m-logo a {
        font-size: 22px !important;
    }

    .m-cat-tab {
        font-size: 14px !important;
        padding: 5px 12px !important;
    }

    .m-filter-btn {
        height: 27px !important;
        line-height: 25px !important;
        font-size: 12px !important;
        padding: 0 12px !important;
    }

    /* Match Banner Responsive Stack */
    .match-banner-row {
        flex-direction: column !important;
        gap: 8px !important;
        margin: 8px 0 !important;
    }

    .match-banner-team {
        width: 100% !important;
        text-align: center !important;
        padding: 0 !important;
    }

    .match-banner-home h2,
    .match-banner-away h2 {
        font-size: 18px !important;
    }

    .match-banner-score {
        width: 100% !important;
        max-width: 180px !important;
        margin: 0 auto !important;
        padding: 6px 14px !important;
        min-width: auto !important;
    }

    .match-banner-score div:first-child {
        font-size: 26px !important;
    }

    /* Match Analysis Page Mobile Controls */
    .analysis-topbar {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px !important;
        padding: 6px 8px !important;
    }
    .analysis-topbar .topbar-right {
        width: 100% !important;
        justify-content: flex-start !important;
    }
    .analysis-tabs {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        margin-bottom: 8px !important;
    }
    .analysis-tabs .tabs-track {
        display: flex !important;
        gap: 4px !important;
        width: max-content !important;
    }
    .analysis-tabs a {
        padding: 4px 8px !important;
        font-size: 11px !important;
    }
    .tips-table {
        min-width: 280px !important;
        width: 100% !important;
        font-size: 11px !important;
    }
    .tips-table td {
        padding: 4px 4px !important;
    }
    .match-banner-box {
        padding: 10px 6px !important;
    }
    .tips-analysis-box {
        font-size: 12px !important;
        padding: 8px 10px !important;
    }
    .h2h-summary-bar {
        font-size: 11px !important;
        padding: 6px 8px !important;
    }

    /* Quick Bottom Buttons - Unified 7M Web Style */
    .bottomBt,
    .prediction-bottom-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        margin: 14px 0 !important;
        padding: 0 !important;
        background: transparent !important;
    }

    .btn-nav-foot,
    .prediction-bottom-actions .pred-btn {
        display: flex !important;
        width: 100% !important;
        box-sizing: border-box !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 12px 16px !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        margin: 0 !important;
        border-radius: 0 !important;
        background: #4278ad !important;
        color: #ffffff !important;
    }

    /* Homepage Predictions Grid Tablet Responsive */
    .hp-predictions-wrap {
        margin: 6px 0 8px 0 !important;
        padding: 4px !important;
    }
    .hp-predictions-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 5px !important;
    }
    .hp-pred-card-thumb {
        height: 84px !important;
    }

    /* SEO Section */
    .seo-bottom-box {
        padding: 10px 8px !important;
    }

    .seo-title-h1 {
        font-size: 14px !important;
    }

    .seo-content-body {
        font-size: 12px !important;
        line-height: 1.55 !important;
        max-height: 350px !important;
        overflow-y: auto !important;
        padding: 8px 10px !important;
    }

    .faq-item dt {
        font-size: 12px !important;
        padding: 5px 8px !important;
    }

    .faq-item dd {
        font-size: 11px !important;
        padding: 5px 8px !important;
    }

    /* Homepage Predictions Grid Mobile (2 columns) */
    .hp-predictions-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 5px !important;
    }
    .hp-pred-card-thumb {
        height: 86px !important;
    }
    .hp-block-title {
        font-size: 11.5px !important;
    }
    .hp-block-tag {
        display: none !important;
    }
}

/* ==========================================================================
   BREAKPOINT: COMPACT SMARTPHONES (max-width: 480px)
   ========================================================================== */
@media (max-width: 480px) {
    table.live {
        min-width: 560px !important;
        font-size: 10px !important;
    }

    table.live td {
        padding: 2px 1px !important;
    }

    .th_chk { width: 18px !important; }
    .th_time { width: 34px !important; }
    .th_state { width: 42px !important; font-size: 9.5px !important; }
    .th_score { width: 46px !important; font-size: 10.5px !important; }
    .th_data { width: 44px !important; }
    .th_top { width: 18px !important; font-size: 11px !important; }

    .icon-btn {
        width: 13px !important;
        height: 13px !important;
        line-height: 13px !important;
        font-size: 9px !important;
        margin: 0 1px !important;
    }



    .btn-nav-foot {
        flex: 1 1 100% !important;
    }
}

/* ==========================================================================
   SINGLE POST RESPONSIVE LAYOUT
   ========================================================================== */
@media (max-width: 1024px) {
    .single-layout-wrapper,
    .category-layout-wrapper {
        flex-direction: column !important;
        gap: 6px !important;
        padding: 0 4px !important;
        width: 100% !important;
    }

    .single-main-col {
        order: 1 !important;
        width: 100% !important;
    }

    .single-sidebar {
        order: 2 !important;
        width: 100% !important;
        flex: 1 1 100% !important;
        margin-top: 6px !important;
    }

    .single-article-card {
        padding: 12px 10px !important;
    }

    .single-title {
        font-size: 18px !important;
    }

    .single-related-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .single-match-quickbar {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        font-size: 15px !important;
        padding: 10px 12px !important;
        border: none !important;
        border-radius: 0 !important;
    }

    .single-match-quickbar .smq-label {
        font-size: 15px !important;
        margin-bottom: 2px !important;
    }

    .single-match-quickbar .smq-btn {
        text-align: center !important;
        justify-content: center !important;
        padding: 10px 14px !important;
        font-size: 15px !important;
        display: inline-flex !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        border-radius: 0 !important;
        border: none !important;
    }

    .prediction-bottom-actions {
        flex-direction: column !important;
        padding: 14px 12px !important;
        gap: 10px !important;
        border-radius: 0 !important;
        border: none !important;
    }

    .prediction-bottom-actions .pred-btn {
        width: 100% !important;
        box-sizing: border-box !important;
        font-size: 15px !important;
        padding: 12px 14px !important;
        text-align: center !important;
        justify-content: center !important;
        border-radius: 0 !important;
        border: none !important;
    }

    .prediction-expert-box {
        padding: 14px 16px !important;
        margin: 18px 0 !important;
        border-radius: 0 !important;
    }

    .prediction-expert-title {
        font-size: 17px !important;
    }

    .prediction-expert-list {
        font-size: 15px !important;
        padding-left: 16px !important;
    }
}

@media (max-width: 480px) {
    .single-title {
        font-size: 18px !important;
        line-height: 1.4 !important;
    }

    .single-meta {
        font-size: 15px !important;
        gap: 6px !important;
    }

    .single-content-body {
        font-size: 16px !important;
        line-height: 1.7 !important;
    }

    .single-prev-next {
        flex-direction: column !important;
        gap: 8px !important;
        font-size: 15px !important;
    }

    .single-match-quickbar {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        padding: 8px 10px !important;
        border-radius: 0 !important;
    }

    .single-match-quickbar .smq-btn {
        padding: 9px 12px !important;
        font-size: 15px !important;
        font-weight: bold !important;
        border-radius: 0 !important;
    }

    .bottomBt,
    .prediction-bottom-actions {
        padding: 10px 0 !important;
        gap: 8px !important;
    }

    .btn-nav-foot,
    .prediction-bottom-actions .pred-btn {
        font-size: 16px !important;
        padding: 12px 14px !important;
        font-weight: 700 !important;
        border-radius: 0 !important;
        background: #4278ad !important;
        color: #ffffff !important;
    }

    .summary-odds-bar {
        flex-direction: column !important;
        gap: 3px !important;
        text-align: center !important;
        font-size: 15px !important;
        padding: 6px 8px !important;
    }
}

/* ==========================================================================
   CATEGORY RESPONSIVE (TABLETS & MOBILE <= 860px)
   ========================================================================== */
@media (max-width: 860px) {
    .cat-hero-card {
        flex-direction: column !important;
        gap: 10px !important;
        padding: 8px !important;
    }
    .cat-hero-thumb {
        width: 100% !important;
        height: 190px !important;
        flex: 0 0 190px !important;
    }
    .cat-hero-thumb a {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
    }
    .cat-hero-thumb img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    .cat-hero-title {
        font-size: 15px !important;
        line-height: 1.35 !important;
    }
    .cat-posts-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
    .cat-header-banner {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 8px 10px !important;
    }
    .cat-header-left {
        flex: 1 1 auto !important;
        width: 100% !important;
    }
    .cat-header-right {
        flex: 0 0 auto !important;
        width: 100% !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin-top: 6px !important;
        padding-top: 6px !important;
        border-top: 1px dashed #e2e8f0 !important;
    }
    .cat-filter-toolbar {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px !important;
        padding: 6px 8px !important;
    }
    .cat-filter-pills {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 4px !important;
        width: 100% !important;
    }
    .cat-quick-links {
        width: 100% !important;
        flex-wrap: wrap !important;
        gap: 4px !important;
        margin-top: 4px !important;
        padding-top: 4px !important;
        border-top: 1px dashed #e2e8f0 !important;
    }
    .news-ticker-bar {
        height: 30px !important;
    }
    .news-ticker-badge {
        font-size: 10px !important;
        padding: 0 6px !important;
    }
    .news-ticker-slider {
        font-size: 11px !important;
        padding: 0 6px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .news-ticker-slider::-webkit-scrollbar {
        display: none !important;
    }
}

/* ==========================================================================
   TEAM DETAILS RESPONSIVE OPTIMIZATION (TONE LIGHT, FLAT 0PX, 100% FLUID)
   ========================================================================== */
@media (max-width: 1024px) {
    .team-summary-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    #content.team-details-wrap,
    div#content.team-details-wrap,
    .team-details-wrap {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 4px !important;
        overflow-x: visible !important;
        gap: 6px !important;
    }
    .team-breadcrumb {
        padding: 6px 10px !important;
        font-size: 15px !important;
        gap: 4px !important;
    }
    .team-hero-card {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 10px !important;
        gap: 10px !important;
    }
    .team-hero-main {
        width: 100% !important;
        min-width: 0 !important;
        gap: 10px !important;
    }
    .team-hero-logo-box {
        width: 64px !important;
        height: 64px !important;
    }
    .team-hero-logo-img {
        max-width: 56px !important;
        max-height: 56px !important;
    }
    .team-hero-title {
        font-size: 19px !important;
    }
    .team-hero-meta-row,
    .team-hero-submeta-row {
        font-size: 15px !important;
        gap: 8px !important;
    }
    .team-hero-kits {
        width: 100% !important;
        justify-content: center !important;
        padding: 6px 10px !important;
    }
    .team-tabs-bar {
        display: flex !important;
        width: 100% !important;
        flex-wrap: nowrap !important;
        padding: 4px 2px !important;
        gap: 3px !important;
        box-sizing: border-box !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }
    .team-tabs-bar::-webkit-scrollbar {
        display: none !important;
    }
    .team-tab-btn {
        flex: 1 1 0px !important;
        min-width: 0 !important;
        padding: 9px 2px !important;
        font-size: 15px !important;
        font-weight: bold !important;
        white-space: nowrap !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 0 !important;
    }
    .team-tab-btn svg {
        display: none !important;
    }
    .team-summary-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 6px !important;
    }
    .team-summary-card {
        padding: 8px 10px !important;
    }
    .tsc-value {
        font-size: 18px !important;
    }
    .team-filter-bar {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px !important;
        padding: 8px 10px !important;
    }
    .tfb-source-note {
        display: none !important;
    }
    /* Pure Div-based Matches Mobile Fluid Card Layout (Zero Table, Zero Overflow) */
    .tml-header-row,
    .tfl-header-row {
        display: none !important;
    }
    .tml-match-item {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr !important;
        grid-template-rows: auto auto auto !important;
        padding: 8px 10px !important;
        gap: 5px 8px !important;
        margin-bottom: 4px !important;
        background: #ffffff !important;
        border-bottom: 1px solid #e2e8f0 !important;
    }
    .tml-match-item:nth-child(even) {
        background: #f8fafc !important;
    }
    .tml-col-date {
        grid-column: 1 !important;
        grid-row: 1 !important;
        text-align: left !important;
        font-size: 14px !important;
    }
    .tml-col-league {
        grid-column: 2 !important;
        grid-row: 1 !important;
        justify-content: center !important;
    }
    .tml-col-res {
        grid-column: 3 !important;
        grid-row: 1 !important;
        justify-content: flex-end !important;
    }
    .tml-col-home {
        grid-column: 1 !important;
        grid-row: 2 !important;
        text-align: right !important;
        font-size: 15px !important;
        font-weight: bold !important;
        padding-right: 6px !important;
        word-break: break-word !important;
    }
    .tml-col-score {
        grid-column: 2 !important;
        grid-row: 2 !important;
        text-align: center !important;
        padding: 0 4px !important;
    }
    .tml-score-main {
        font-size: 18px !important;
        white-space: nowrap !important;
    }
    .tml-col-away {
        grid-column: 3 !important;
        grid-row: 2 !important;
        text-align: left !important;
        font-size: 15px !important;
        font-weight: bold !important;
        padding-left: 6px !important;
        word-break: break-word !important;
    }
    .tml-col-ah {
        grid-column: 1 !important;
        grid-row: 3 !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        gap: 6px !important;
        font-size: 14px !important;
    }
    .tml-col-ou {
        grid-column: 2 !important;
        grid-row: 3 !important;
        text-align: center !important;
        font-size: 14px !important;
    }
    .tml-col-h2h {
        grid-column: 3 !important;
        grid-row: 3 !important;
        justify-content: flex-end !important;
    }

    /* Pure Div-based Fixtures Mobile Layout */
    .tfl-fixture-item {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr !important;
        grid-template-rows: auto auto !important;
        padding: 8px 10px !important;
        gap: 6px 8px !important;
        margin-bottom: 4px !important;
        background: #ffffff !important;
        border-bottom: 1px solid #e2e8f0 !important;
    }
    .tfl-fixture-item:nth-child(even) {
        background: #f8fafc !important;
    }
    .tfl-col-time {
        grid-column: 1 / span 2 !important;
        grid-row: 1 !important;
        text-align: left !important;
        font-size: 14px !important;
    }
    .tfl-col-league {
        grid-column: 3 !important;
        grid-row: 1 !important;
        justify-content: flex-end !important;
    }
    .tfl-col-home {
        grid-column: 1 !important;
        grid-row: 2 !important;
        text-align: right !important;
        padding-right: 6px !important;
        font-size: 15px !important;
        word-break: break-word !important;
    }
    .tfl-col-vs {
        grid-column: 2 !important;
        grid-row: 2 !important;
        font-size: 15px !important;
        padding: 0 4px !important;
    }
    .tfl-col-away {
        grid-column: 3 !important;
        grid-row: 2 !important;
        text-align: left !important;
        padding-left: 6px !important;
        font-size: 15px !important;
        word-break: break-word !important;
    }
    .team-bottom-btns {
        flex-direction: column !important;
        width: 100% !important;
        gap: 6px !important;
    }
    .team-bottom-btns a {
        width: 100% !important;
        text-align: center !important;
        padding: 10px !important;
    }
}

@media (max-width: 480px) {
    .team-summary-grid {
        grid-template-columns: 1fr !important;
    }
    .team-hero-meta-row,
    .team-hero-submeta-row {
        flex-direction: column !important;
        gap: 2px !important;
    }
}




