/* ==========================================================================
   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;
}

/* 7M VIP Unified Header System Desktop Default */
.v7m-header-system {
    display: block;
    width: 100% !important;
}
.desktop-header-wrap {
    display: block;
}
@media (min-width: 1025px) {
    .v7m-topbar-strip {
        display: none !important;
    }
    .v7m-primary-nav {
        display: flex !important;
    }
    .v7m-act-drawer {
        display: none !important;
    }
    .v7m-drawer-overlay,
    .v7m-drawer-panel,
    .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) {
    /* ==========================================================================
       7M VIP UNIFIED HEADER SYSTEM - RESPONSIVE (max-width: 1024px)
       Synchronized Mobile & Tablet Layout
       ========================================================================== */

    /* Hide Desktop-only Elements */
    .desktop-header-wrap,
    .v7m-topbar-strip,
    .v7m-primary-nav,
    .v7m-act-search-text {
        display: none !important;
    }

    /* Show Mobile Elements */
    .v7m-act-drawer {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        background: transparent !important;
        border: none !important;
        border-radius: 8px !important;
        box-shadow: none !important;
        color: #ffffff !important;
        padding: 6px !important;
        cursor: pointer !important;
    }

    /* Navbar Strip on Mobile */
    .v7m-navbar-strip,
    .v7m-head-topbar,
    .v7m-head-navbar {
        background: #ffffff !important;
        border: none !important;
    }

    .v7m-navbar-inner {
        height: 48px !important;
        padding: 0 8px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .v7m-nav-app-btn {
        display: none !important;
    }

    .v7m-header-logo {
        display: flex !important;
        align-items: center !important;
    }

    .v7m-logo-brand {
        font-size: 24px !important;
        font-weight: 700 !important;
        color: var(--v7m-primary, #c90201) !important;
        letter-spacing: -0.5px !important;
        line-height: 1 !important;
    }

    .v7m-logo-tag {
        font-size: 11px !important;
        font-weight: 600 !important;
        background: var(--v7m-secondary, #012058) !important;
        color: #ffffff !important;
        padding: 2px 5px !important;
        border-radius: 4px !important;
        border: none !important;
        line-height: 1.2 !important;
    }

    .v7m-logo-img {
        height: 32px !important;
        max-height: 32px !important;
    }

    .v7m-header-actions {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .v7m-act-btn {
        height: 32px !important;
        padding: 0 8px !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        border-radius: 8px !important;
        border: none !important;
        box-shadow: none !important;
    }

    .v7m-act-search {
        background: rgba(255, 255, 255, 0.08) !important;
        color: #ffffff !important;
        border-radius: 8px !important;
    }

    .v7m-act-app {
        height: 28px !important;
        line-height: 28px !important;
        padding: 0 10px !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        background: var(--v7m-primary, #c90201) !important;
        background-image: none !important;
        border-radius: 8px !important;
        color: #ffffff !important;
    }

    /* Subnav / Category Strip (Mobile Horizontal Swipe) */
    .v7m-subnav-strip {
        height: 40px !important;
        line-height: 40px !important;
        background: #0a1c29 !important;
        border: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    }

    .v7m-subnav-inner {
        height: 40px !important;
        padding: 0 8px !important;
    }

    .v7m-subnav-scroll {
        overflow-x: auto !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }

    .v7m-subnav-scroll::-webkit-scrollbar {
        display: none !important;
    }

    .v7m-subnav-list {
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
    }

    .v7m-subnav-list li a {
        height: 40px !important;
        line-height: 40px !important;
        padding: 0 12px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #cbd5e1 !important;
        border-radius: 0 !important;
        border: none !important;
        border-bottom: 3px solid transparent !important;
    }

    .v7m-subnav-list li a:hover,
    .v7m-subnav-list li.current-menu-item a,
    .v7m-subnav-list li.active a,
    .v7m-subnav-list li.on a {
        color: #ffffff !important;
        font-weight: 700 !important;
        border-bottom-color: var(--v7m-primary, #c90201) !important;
        background: var(--v7m-primary-light, rgba(201, 2, 1, 0.16)) !important;
    }

    /* Synchronized Mobile Drawer Panel */
    .v7m-drawer-overlay,
    .m-drawer-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(0, 0, 0, 0.7) !important;
        z-index: 9999990 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: opacity 0.25s ease !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        backdrop-filter: blur(3px) !important;
        -webkit-backdrop-filter: blur(3px) !important;
    }

    .v7m-drawer-overlay.is-active,
    .v7m-drawer-overlay.open,
    .m-drawer-overlay.open {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .v7m-drawer-panel,
    .m-drawer-sidebar {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        width: 310px !important;
        max-width: 86vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: var(--v7m-secondary, #012058) !important;
        z-index: 9999999 !important;
        border: none !important;
        border-radius: 8px 0 0 8px !important;
        box-shadow: -6px 0 28px rgba(0, 0, 0, 0.5) !important;
        transform: translateX(105%) !important;
        transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
        display: flex !important;
        flex-direction: column !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        font-family: Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    }

    .v7m-drawer-panel.is-active,
    .v7m-drawer-panel.open,
    .m-drawer-sidebar.open {
        transform: translateX(0) !important;
    }

    .v7m-drawer-header,
    .m-drawer-header {
        background: #ffffff !important;
        padding: 10px 14px !important;
        height: 58px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        border: none !important;
        border-bottom: 2px solid var(--v7m-primary, #c90201) !important;
        border-radius: 8px 0 0 0 !important;
        box-shadow: none !important;
        box-sizing: border-box !important;
    }

    .v7m-drawer-logo a {
        display: inline-flex !important;
        align-items: center !important;
        text-decoration: none !important;
    }

    .v7m-drawer-logo img,
    .v7m-drawer-logo-img {
        height: 38px !important;
        max-height: 38px !important;
        width: auto !important;
        max-width: 180px !important;
        object-fit: contain !important;
        display: block !important;
    }

    .v7m-drawer-close-btn,
    .m-drawer-close {
        background: #f1f5f9 !important;
        border: none !important;
        border-radius: 8px !important;
        box-shadow: none !important;
        color: #0f172a !important;
        width: 34px !important;
        height: 34px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
    }

    .v7m-drawer-close-btn:hover,
    .m-drawer-close:hover {
        background: var(--v7m-primary, #c90201) !important;
        color: #ffffff !important;
    }

    .v7m-drawer-body,
    .m-drawer-content {
        flex: 1 !important;
        padding: 12px 14px !important;
        display: flex !important;
        flex-direction: column !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        background: var(--v7m-secondary, #012058) !important;
        box-sizing: border-box !important;
    }

    .v7m-drawer-section-title,
    .m-drawer-section-title {
        padding: 7px 12px !important;
        font-size: 12.5px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border-radius: 4px !important;
        border: none !important;
        border-left: 3px solid var(--v7m-primary, #c90201) !important;
        box-shadow: none !important;
        line-height: 1.2 !important;
        margin: 10px 0 8px 0 !important;
        letter-spacing: 0.5px !important;
    }

    .v7m-drawer-menu,
    .m-drawer-menu {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        padding: 0 !important;
        list-style: none !important;
        margin: 0 0 12px 0 !important;
    }

    .v7m-drawer-menu li,
    .m-drawer-menu li {
        margin: 0 !important;
        padding: 0 !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border-radius: 8px !important;
        border: none !important;
        box-shadow: none !important;
        overflow: hidden !important;
    }

    .v7m-drawer-menu li:last-child:nth-child(odd),
    .m-drawer-menu li:last-child:nth-child(odd) {
        grid-column: 1 / -1 !important;
    }

    .v7m-drawer-menu a,
    .m-drawer-menu a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 10px 8px !important;
        color: #ffffff !important;
        font-size: 13.5px !important;
        text-decoration: none !important;
        font-weight: 600 !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 8px !important;
        box-shadow: none !important;
        min-height: 44px !important;
        box-sizing: border-box !important;
        transition: background 0.15s ease, border-color 0.15s ease !important;
    }

    .v7m-drawer-menu a:hover,
    .m-drawer-menu a:hover {
        background: rgba(255, 255, 255, 0.18) !important;
        border-color: rgba(255, 255, 255, 0.25) !important;
        color: #ffffff !important;
    }

    .v7m-drawer-menu li.current-menu-item a,
    .v7m-drawer-menu li.active a,
    .v7m-drawer-menu li.on a,
    .v7m-drawer-menu a.active,
    .v7m-drawer-menu a.on,
    .m-drawer-menu li.current-menu-item a,
    .m-drawer-menu li.active a,
    .m-drawer-menu a.active,
    .m-drawer-menu a.on {
        background: var(--v7m-primary, #c90201) !important;
        background-image: none !important;
        color: #ffffff !important;
        font-weight: 600 !important;
        border-color: var(--v7m-primary, #c90201) !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 8px rgba(201, 2, 1, 0.4) !important;
    }

    /* Mobile Drawer CSKH Contacts */
    .v7m-drawer-contacts {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        margin-bottom: 12px !important;
    }

    .v7m-drawer-cbtn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        padding: 10px 8px !important;
        border-radius: 8px !important;
        text-decoration: none !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        background: rgba(255, 255, 255, 0.08) !important;
        color: #ffffff !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        cursor: pointer !important;
        min-height: 44px !important;
        box-sizing: border-box !important;
        transition: all 0.15s ease !important;
    }

    .v7m-drawer-cbtn:hover {
        background: rgba(255, 255, 255, 0.18) !important;
        border-color: var(--v7m-primary, #c90201) !important;
        color: #ffffff !important;
    }

    /* Drawer Meta Box */
    .v7m-drawer-meta-box {
        background: rgba(0, 0, 0, 0.2) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-radius: 8px !important;
        padding: 8px 12px !important;
        margin-bottom: 12px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
        font-size: 12.5px !important;
    }

    .v7m-drawer-meta-item {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .v7m-drawer-meta-label {
        color: #94a3b8 !important;
    }

    .v7m-drawer-meta-val {
        color: #e2e8f0 !important;
        font-weight: 600 !important;
    }

    .v7m-drawer-footer,
    .m-drawer-footer-actions {
        padding: 12px 14px !important;
        background: rgba(0, 0, 0, 0.3) !important;
        border-radius: 0 0 0 8px !important;
        border: none !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: none !important;
        margin-top: auto !important;
        font-size: 13.5px !important;
        color: #cbd5e1 !important;
    }

    .v7m-drawer-row,
    .m-drawer-row {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin-bottom: 8px !important;
        font-size: 13px !important;
    }

    .v7m-drawer-row:last-child,
    .m-drawer-row:last-child {
        margin-bottom: 0 !important;
    }

    .v7m-drawer-row span {
        color: #e2e8f0 !important;
        font-size: 13px !important;
        font-weight: 500 !important;
    }

    .v7m-sound-btn,
    .v7m-drawer-row button,
    .m-drawer-row button {
        background: #334155 !important;
        background-image: none !important;
        color: #ffffff !important;
        border: none !important;
        border-radius: 8px !important;
        box-shadow: none !important;
        padding: 6px 16px !important;
        cursor: pointer !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        min-width: 60px !important;
        transition: all 0.15s ease !important;
    }

    .v7m-sound-btn.is-on {
        background: var(--v7m-primary, #c90201) !important;
    }

    .v7m-drawer-cta {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        background: var(--v7m-primary, #c90201) !important;
        background-image: none !important;
        color: #ffffff !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        border-radius: 8px !important;
        padding: 6px 16px !important;
        min-width: 90px !important;
        transition: opacity 0.15s ease !important;
    }

    /* Backward compatibility for any remaining legacy mobile header references */
    .mobile-header-wrap {
        display: none !important;
    }

    /* ==========================================================================
       7M VIP UNIFIED DATA GRID RESPONSIVE (100% Div-Based Mobile Fit)
       ========================================================================== */
    .v7m-data-grid {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    /* For Match-based Grids on Mobile (Results & Fixtures) */
    .v7m-grid-match-list .v7m-grid-head {
        display: none !important;
    }

    .v7m-grid-match-list .v7m-grid-row {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 8px 10px !important;
        gap: 6px !important;
        min-height: auto !important;
        border-bottom: 1px solid #e2e8f0 !important;
    }

    .v7m-grid-match-list .v7m-m-strip-top {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        font-size: 13px !important;
        color: #64748b !important;
    }

    .v7m-grid-match-list .v7m-m-strip-teams {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .v7m-grid-match-list .v7m-m-strip-teams .v7m-cell-home {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        text-align: right !important;
        display: block !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        direction: ltr !important;
        font-size: clamp(13px, 0.85vw + 10px, 15px) !important;
        font-weight: 500 !important;
        color: #0f172a !important;
        line-height: 1.35 !important;
    }

    .v7m-grid-match-list .v7m-m-strip-teams .v7m-cell-score,
    .v7m-grid-match-list .v7m-m-strip-teams .v7m-cell-vs {
        width: auto !important;
        min-width: 65px !important;
        font-size: clamp(15px, 0.8vw + 12px, 17px) !important;
        font-weight: 700 !important;
        color: #dc2626 !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 0 4px !important;
    }

    .v7m-grid-match-list .v7m-m-strip-teams .v7m-cell-away {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        text-align: left !important;
        display: block !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        direction: ltr !important;
        font-size: clamp(13px, 0.85vw + 10px, 15px) !important;
        font-weight: 500 !important;
        color: #0f172a !important;
        line-height: 1.35 !important;
    }

    .v7m-grid-match-list .v7m-m-strip-bottom {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        font-size: 13px !important;
        color: #64748b !important;
        padding-top: 4px !important;
        border-top: 1px dashed #f1f5f9 !important;
    }

    /* For Standings Grid on Mobile */
    .v7m-grid-standings .v7m-grid-head {
        font-size: 13px !important;
        height: 36px !important;
        padding: 0 4px !important;
    }

    .v7m-grid-standings .v7m-grid-row {
        padding: 6px 4px !important;
        font-size: 14px !important;
    }

    .v7m-grid-standings .v7m-col-gf,
    .v7m-grid-standings .v7m-col-ga,
    .v7m-grid-standings .v7m-col-form {
        display: none !important;
    }

    .v7m-grid-standings .v7m-col-rank {
        width: 34px !important;
    }

    .v7m-grid-standings .v7m-col-team {
        flex: 1 !important;
        min-width: 100px !important;
        font-size: 14px !important;
    }

    .v7m-grid-standings .v7m-col-p,
    .v7m-grid-standings .v7m-col-w,
    .v7m-grid-standings .v7m-col-d,
    .v7m-grid-standings .v7m-col-l,
    .v7m-grid-standings .v7m-col-gd {
        width: 38px !important;
        font-size: 13px !important;
    }

    .v7m-grid-standings .v7m-col-pts {
        width: 44px !important;
        font-size: 15px !important;
    }

    /* For Odds Grid on Mobile */
    .v7m-odds-grid {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }

    .v7m-odds-head {
        display: none !important;
    }

    .v7m-odds-row {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 8px 10px !important;
        gap: 6px !important;
        min-height: auto !important;
        margin-bottom: 6px !important;
        background: #ffffff !important;
        border: none !important;
        border-radius: 8px !important;
        box-shadow: none !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .v7m-odds-row.v7m-row-alt {
        background: #fbfcfe !important;
    }

    .v7m-odds-info {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 4px !important;
        width: 100% !important;
    }

    .v7m-odds-m-top {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        font-size: 12px !important;
    }

    .v7m-odds-m-top-left {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
    }

    .v7m-odds-m-top-right {
        display: flex !important;
        align-items: center !important;
    }

    .v7m-odds-m-top .v7m-cell-league,
    .v7m-odds-m-top .v7m-cell-time {
        width: auto !important;
        flex: 0 0 auto !important;
        display: inline-flex !important;
        align-items: center !important;
    }

    .v7m-odds-m-match {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        padding: 3px 0 !important;
        gap: 6px !important;
    }

    .v7m-odds-m-match .v7m-cell-home {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        text-align: right !important;
        display: block !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        direction: ltr !important;
        font-weight: 500 !important;
        font-size: clamp(12.5px, 2.5vw, 14px) !important;
        line-height: 1.35 !important;
        color: #0f172a !important;
    }

    .v7m-odds-m-match .v7m-odds-score {
        min-width: 52px !important;
        text-align: center !important;
        font-weight: 600 !important;
        font-size: clamp(14px, 2.5vw, 16px) !important;
        color: #dc2626 !important;
        flex: 0 0 auto !important;
    }

    .v7m-odds-m-match .v7m-cell-away {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        text-align: left !important;
        display: block !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        direction: ltr !important;
        font-weight: 500 !important;
        font-size: clamp(12.5px, 2.5vw, 14px) !important;
        line-height: 1.35 !important;
        color: #0f172a !important;
    }

    .v7m-odds-m-box {
        display: flex !important;
        flex-direction: column !important;
        background: #f8fafc !important;
        border-radius: 6px !important;
        padding: 4px 6px !important;
        gap: 3px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .v7m-odds-m-line {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 3px 6px !important;
        background: #ffffff !important;
        border-radius: 4px !important;
        font-size: 12.5px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .v7m-odds-m-line.col-odds.odds-col-hidden {
        display: none !important;
    }

    .odds-type-badge {
        display: inline-block !important;
        width: 34px !important;
        flex: 0 0 34px !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        color: #475569 !important;
        background: #f1f5f9 !important;
        border-radius: 4px !important;
        text-align: center !important;
        padding: 1px 0 !important;
    }

    .v7m-odds-m-line .v7m-odds-group {
        flex: 1 1 auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-around !important;
        padding: 0 4px !important;
        width: auto !important;
    }

    .v7m-odds-m-line .v7m-odds-val {
        font-size: 12.5px !important;
        font-weight: 500 !important;
        color: #1e293b !important;
    }

    .v7m-odds-m-line .v7m-odds-line {
        font-size: 12.5px !important;
        font-weight: 600 !important;
    }

    .v7m-odds-m-act-desktop {
        display: none !important;
    }

    .btn-check-keo {
        position: relative !important;
        z-index: 6 !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        background: var(--v7m-primary, #c90201) !important;
        background-image: none !important;
        color: #ffffff !important;
        border-radius: 8px !important;
        width: 24px !important;
        height: 22px !important;
        padding: 0 !important;
        text-decoration: none !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: opacity 0.2s ease !important;
        border: none !important;
    }

    .btn-check-keo svg {
        width: 13px !important;
        height: 13px !important;
        fill: currentColor !important;
        display: block !important;
    }

    .btn-check-keo:hover {
        opacity: 0.9 !important;
        color: #ffffff !important;
    }

    /* For Basketball Grid on Mobile */
    .v7m-grid-basket .v7m-grid-head {
        display: none !important;
    }

    .v7m-grid-basket .v7m-grid-row {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 10px !important;
        gap: 8px !important;
        min-height: auto !important;
        border-bottom: 2px solid #e2e8f0 !important;
    }

    .v7m-grid-basket .v7m-basket-quarters {
        display: flex !important;
        justify-content: space-around !important;
        background: #f8fafc !important;
        padding: 6px 10px !important;
        font-size: 14px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .v7m-grid-basket .v7m-q-lbl {
        display: inline !important;
        font-weight: 700 !important;
        color: #94a3b8 !important;
        margin-right: 4px !important;
    }



    /* --------------------------------------------------------------------------
       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 8px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
    }

    #cCenter,
    .page-full-main,
    .v7m-vip-main-container,
    .v7m-main-col {
        order: 1 !important;
        width: 100% !important;
    }

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

    #cRight,
    .single-sidebar,
    .v7m-sidebar-col,
    .v7m-match-sidebar-col {
        order: 3 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: 1 1 100% !important;
        margin-top: 10px !important;
        position: static !important;
        max-height: none !important;
        overflow-y: visible !important;
    }

    .v7m-match-body-layout {
        flex-direction: column !important;
        gap: 10px !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: Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 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: 8px !important;
        border: none !important;
        box-shadow: none !important;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        font-family: Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 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: var(--v7m-primary, #c90201);
        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: var(--v7m-primary, #c90201);
    }
    .m-league-modal-footer {
        padding: 12px 16px;
        background: #ffffff;
        border-top: 1px solid #e2e8f0;
    }
    .m-league-modal-apply {
        width: 100%;
        background: var(--v7m-primary, #c90201);
        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;
    }

    /* Modern 7M Sports Footer Responsive */
    .footer,
    .v7m-site-footer {
        width: 100% !important;
        min-width: 100% !important;
        padding: 0 !important;
        margin-top: 16px !important;
    }

    .footer .footer-container,
    .v7m-footer-container {
        width: 100% !important;
        padding: 20px 12px 16px !important;
    }

    .v7m-footer-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        margin-bottom: 20px !important;
    }

    .v7m-fcol-brand {
        text-align: left !important;
        align-items: flex-start !important;
    }

    .v7m-fbrand-header {
        margin-bottom: 8px !important;
    }

    .v7m-fbrand-img {
        max-height: 34px !important;
    }

    .v7m-fbrand-desc {
        text-align: left !important;
        font-size: 13.5px !important;
        line-height: 1.6 !important;
        margin-bottom: 0 !important;
        letter-spacing: normal !important;
        font-stretch: normal !important;
    }

    .v7m-footer-nav-wrap {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 16px !important;
    }

    .v7m-fcol-heading {
        font-size: 13.5px !important;
        margin-bottom: 10px !important;
        padding-bottom: 4px !important;
        letter-spacing: normal !important;
        font-stretch: normal !important;
    }

    .v7m-fmenu {
        gap: 8px !important;
    }

    .v7m-fmenu li a {
        font-size: 13.5px !important;
        padding: 4px 0 !important;
        letter-spacing: normal !important;
        font-stretch: normal !important;
    }

    .v7m-fcontact-box {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        margin-bottom: 10px !important;
    }

    .v7m-fbtn {
        padding: 10px 14px !important;
        font-size: 13px !important;
        letter-spacing: normal !important;
        font-stretch: normal !important;
    }

    .v7m-fbottom-bar {
        flex-direction: column !important;
        text-align: center !important;
        gap: 8px !important;
        padding-top: 12px !important;
        font-size: 12.5px !important;
        letter-spacing: normal !important;
        font-stretch: normal !important;
    }

    .v7m-fcopyright {
        font-size: 12.5px !important;
        text-align: center !important;
        letter-spacing: normal !important;
        font-stretch: normal !important;
    }

    .v7m-fbottom-links {
        justify-content: center !important;
        gap: 8px !important;
    }

    .v7m-fbottom-links a {
        font-size: 12.5px !important;
        letter-spacing: normal !important;
        font-stretch: normal !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: 10px 14px !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        margin: 0 !important;
        border-radius: 8px !important;
        background: var(--v7m-primary, #c90201) !important;
        background-image: none !important;
        color: #ffffff !important;
        border: none !important;
        box-shadow: none !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;
    }

    /* Odds Toolbar compact mode on small phones */
    .odds-toolbar-wrapper {
        padding: 6px 8px !important;
        gap: 6px !important;
    }
    .odds-status-meta {
        display: none !important;
    }
    .odds-control-strip {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 6px !important;
    }
    .odds-type-toggles {
        width: 100% !important;
        justify-content: space-between !important;
    }
    .odds-search-wrap {
        width: 100% !important;
        height: 28px !important;
    }

    .live-table-header .lth-league-name,
    .lth-league-name {
        max-width: 140px !important;
        font-size: 12px !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: 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: 0 !important;
        margin: 16px 0 !important;
        border-radius: 8px !important;
    }

    .prediction-expert-header {
        padding: 8px 12px !important;
    }

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

    .prediction-expert-table th,
    .prediction-expert-table td {
        padding: 8px 10px !important;
        font-size: 12.5px !important;
    }

    .pred-col-market,
    .pred-cell-market {
        width: 44% !important;
    }

    .pred-col-tip,
    .pred-cell-tip {
        width: 56% !important;
    }

    .pred-pick-badge {
        font-size: 12px !important;
        padding: 3px 8px !important;
    }

    .pred-score-text {
        font-size: 12.5px !important;
        gap: 4px !important;
    }

    .pred-score-val {
        font-size: 13px !important;
        padding: 2px 6px !important;
    }
}

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

    .single-meta {
        font-size: 12px !important;
        gap: 6px !important;
        padding: 6px 10px !important;
    }

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

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

    .single-match-quickbar {
        display: none !important;
    }

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

    .btn-nav-foot,
    .prediction-bottom-actions .pred-btn {
        font-size: 14px !important;
        padding: 10px 14px !important;
        font-weight: 500 !important;
        border-radius: 8px !important;
        background: var(--v7m-primary, #c90201) !important;
        background-image: none !important;
        color: #ffffff !important;
        border: none !important;
        box-shadow: none !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;
    }

    /* 7M VIP Master Match Mobile Responsive */
    .v7m-meta-hide-mobile {
        display: none !important;
    }
    .v7m-hero-card {
        padding: 10px 8px !important;
    }
    .v7m-hero-body {
        gap: 8px !important;
    }
    .v7m-team-icon-wrap {
        display: none !important;
    }
    .v7m-team-name {
        font-size: 16px !important;
    }
    .v7m-score-value {
        font-size: 28px !important;
    }
    .v7m-match-nav-anchor {
        top: 0 !important;
        padding: 4px !important;
        border-radius: 8px !important;
    }
    .v7m-anchor-inner {
        gap: 4px !important;
        width: max-content !important;
    }
    .v7m-anchor-item {
        flex: 0 0 auto !important;
        padding: 5px 9px !important;
        font-size: 11.5px !important;
        border-radius: 6px !important;
    }
    .v7m-anchor-item svg {
        display: inline-block !important;
        width: 12px !important;
        height: 12px !important;
    }
    .v7m-match-section {
        scroll-margin-top: 50px !important;
    }
    .v7m-grid-2col {
        grid-template-columns: 1fr !important;
        gap: 6px !important;
    }
    .v7m-pitch-field {
        height: 200px !important;
    }
    .v7m-pitch-team-label {
        font-size: 13px !important;
        padding: 4px 8px !important;
    }
    .v7m-bottom-nav {
        flex-direction: column !important;
        width: 100% !important;
        gap: 6px !important;
    }
    .v7m-bottom-nav .v7m-nav-btn {
        width: 100% !important;
        justify-content: center !important;
        box-sizing: border-box !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;
    }
}

/* ==========================================================================
   7M VIP LIVESCORE - RESPONSIVE RULES (TABLET & MOBILE)
   ========================================================================== */
@media screen and (max-width: 1200px) {
    #ls-container .live-odds-3,
    #ls-container .lth-col-1x2 {
        display: none !important;
    }
}

@media screen and (max-width: 1024px) {
    #ls-container .live-odds-2,
    #ls-container .live-odds-3,
    #ls-container .lth-col-ou,
    #ls-container .lth-col-1x2 {
        display: none !important;
    }
    .live-odds-1,
    .lth-col-hdp {
        width: 110px !important;
        min-width: 110px !important;
        max-width: 110px !important;
    }
    .m-col-actions,
    .lth-col-act {
        width: 68px !important;
        min-width: 68px !important;
        max-width: 68px !important;
    }
    .m-col-fav,
    .lth-col-fav {
        width: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
    }
    .btn-vip-sub-action {
        display: none !important;
    }
}

@media screen and (max-width: 768px) {
    /* International-Standard Fixtures Toolbar Mobile */
    /* International-Standard Fixtures Toolbar Mobile */
    .fixtures-toolbar-wrapper {
        position: relative !important;
        top: auto !important;
        padding: 4px 6px !important;
        margin-bottom: 6px !important;
        border-radius: 8px !important;
        box-sizing: border-box !important;
    }
    .fixture-date-pill {
        min-width: 50px !important;
        height: 32px !important;
        border-radius: 6px !important;
    }
    .fixture-date-pill .fdp-dow {
        font-size: 10px !important;
    }
    .fixture-date-pill .fdp-date {
        font-size: 11px !important;
    }
    .btn-calendar-trigger {
        padding: 0 5px !important;
        height: 32px !important;
        border-radius: 6px !important;
    }
    .btn-calendar-trigger span {
        display: none !important;
    }
    .btn-today-quick {
        height: 32px !important;
        padding: 0 5px !important;
        font-size: 10px !important;
        border-radius: 6px !important;
    }
    .btn-date-nav {
        width: 20px !important;
        height: 32px !important;
        border-radius: 6px !important;
    }
    .fixtures-control-strip {
        gap: 4px !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: 25px !important;
    }
    .fixtures-tab-pill {
        height: 25px !important;
        line-height: 25px !important;
        padding: 0 6px !important;
        font-size: 11px !important;
        border-radius: 6px !important;
    }
    .fixtures-tab-pill .icon-badge {
        font-size: 10px !important;
        padding: 0 3px !important;
        border-radius: 4px !important;
    }
    .fixtures-league-select-wrap {
        flex: 0 0 auto !important;
        max-width: 105px !important;
    }
    .fixtures-select {
        width: 100% !important;
        font-size: 11px !important;
        height: 25px !important;
        border-radius: 6px !important;
        padding: 0 4px !important;
    }
    .fixtures-filter-right {
        width: auto !important;
        flex: 0 0 auto !important;
    }
    .fixtures-search-wrap {
        width: 95px !important;
        height: 25px !important;
        border-radius: 6px !important;
        padding: 0 4px !important;
    }
    .fixtures-search-wrap input {
        font-size: 10.5px !important;
    }
    .fixtures-meta-count {
        display: none !important;
    }

    /* Streamlined Results Toolbar Mobile (Strict 2-Row Layout) */
    .results-toolbar-wrapper {
        position: relative !important;
        top: auto !important;
        padding: 4px 6px !important;
        margin-bottom: 6px !important;
        border-radius: 8px !important;
        box-sizing: border-box !important;
    }

    .results-toolbar-single-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 4px !important;
        width: 100% !important;
    }

    /* Mobile Row 1: Date Group (Swipeable Carousel) */
    .results-date-group {
        order: 1 !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 3px !important;
        height: 25px !important;
    }

    .results-date-carousel {
        flex: 1 1 auto !important;
        gap: 3px !important;
    }

    .result-date-pill {
        height: 25px !important;
        line-height: 25px !important;
        padding: 0 6px !important;
        font-size: 10.5px !important;
        border-radius: 5px !important;
        gap: 2px !important;
    }

    .result-date-pill .rdp-date {
        font-size: 10px !important;
    }

    .results-date-group .btn-date-nav {
        width: 20px !important;
        height: 25px !important;
        border-radius: 5px !important;
    }

    .results-date-group {
        order: 1 !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 6px !important;
        height: 26px !important;
    }

    .btn-quick-datepicker {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        width: auto !important;
        min-width: unset !important;
        max-width: unset !important;
        height: 25px !important;
        padding: 0 8px !important;
        font-size: 11px !important;
        border-radius: 5px !important;
        box-sizing: border-box !important;
    }

    .btn-quick-datepicker span {
        display: inline !important;
        font-size: 10.5px !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    .btn-quick-datepicker .v7m-inline-icon {
        width: 12px !important;
        height: 12px !important;
    }

    /* Mobile Row 2: Actions Group (Tabs + Select + Search on 1 Line) */
    .results-actions-group {
        order: 2 !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 3px !important;
        height: 25px !important;
    }

    .results-tabs-wrap {
        flex: 0 0 auto !important;
        gap: 3px !important;
    }

    .results-tab-pill {
        height: 25px !important;
        line-height: 25px !important;
        padding: 0 5px !important;
        font-size: 10.5px !important;
        border-radius: 5px !important;
    }

    .results-tab-pill .icon-badge {
        font-size: 9.5px !important;
        padding: 0 3px !important;
        height: 14px !important;
        line-height: 14px !important;
    }

    .results-league-select-wrap {
        flex: 1 1 auto !important;
        max-width: 100px !important;
    }

    .results-select {
        width: 100% !important;
        height: 25px !important;
        padding: 0 16px 0 5px !important;
        font-size: 10.5px !important;
        border-radius: 5px !important;
    }

    .results-search-wrap {
        width: 85px !important;
        height: 25px !important;
        padding: 0 4px !important;
        border-radius: 5px !important;
        flex: 0 0 auto !important;
    }

    .results-search-wrap:focus-within {
        width: 95px !important;
    }

    .results-search-wrap input {
        font-size: 10px !important;
    }

    .results-meta-count {
        display: none !important;
    }

    /* Super Compact Mobile Filters Toolbar (Strict Max 2 Rows on Mobile - Synchronized Dark Navy) */
    .filters-wrapper {
        position: relative !important;
        top: auto !important;
        z-index: 10 !important;
        padding: 4px 6px !important;
        margin-bottom: 6px !important;
        background: var(--v7m-secondary, #012058) !important;
        border: none !important;
        border-radius: 8px !important;
        box-sizing: border-box !important;
    }

    /* Single Container for Mobile 2-Row Layout */
    .vip-filter-single-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 4px !important;
        width: 100% !important;
        position: relative !important;
    }

    /* Mobile Dòng 1: Filter Tab Pills (100% width, vuốt ngang mượt mà) */
    .vip-filter-single-row .filter-tab,
    .filter-tab {
        width: 100% !important;
        flex: 0 0 auto !important;
        order: 1 !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        gap: 3px !important;
        padding-bottom: 1px !important;
        margin: 0 !important;
    }

    .vip-filter-single-row .filter-tab::-webkit-scrollbar,
    .filter-tab::-webkit-scrollbar {
        display: none !important;
    }

    .vip-filter-single-row .filter-tab-item,
    .filter-tab-item {
        height: 25px !important;
        line-height: 25px !important;
        padding: 0 7px !important;
        font-size: 11px !important;
        font-weight: 500 !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 3px !important;
        border-radius: 6px !important;
        background: rgba(255, 255, 255, 0.08) !important;
        color: #e2e8f0 !important;
    }

    .vip-filter-single-row .filter-tab-item.selected,
    .vip-filter-single-row .filter-tab-item.active,
    .filter-tab-item.selected,
    .filter-tab-item.active {
        background: var(--v7m-primary, #c90201) !important;
        background-image: none !important;
        color: #ffffff !important;
    }

    .vip-filter-single-row .filter-tab-item .icon-badge,
    .filter-tab-item .icon-badge {
        font-size: 10px !important;
        padding: 0 3px !important;
        height: 15px !important;
        line-height: 15px !important;
        border-radius: 4px !important;
        background: rgba(0, 0, 0, 0.3) !important;
        color: #ffffff !important;
    }

    /* Mobile Dòng 2: Actions Strip Container (Ngày + Lọc giải + Bộ công cụ) */
    .vip-filter-actions-strip {
        order: 2 !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        gap: 3px !important;
        height: 25px !important;
    }

    .vip-filter-single-row .calendar-box,
    .calendar-box {
        flex: 0 0 auto !important;
        width: auto !important;
        height: 25px !important;
        display: inline-flex !important;
        align-items: center !important;
    }

    .vip-filter-single-row .calendar-box .datePlug,
    .calendar-box .datePlug {
        height: 25px !important;
        padding: 0 2px !important;
        width: auto !important;
        gap: 1px !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border-radius: 6px !important;
        display: inline-flex !important;
        align-items: center !important;
    }

    .btn-date-arrow {
        width: 17px !important;
        height: 21px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 4px !important;
        color: #cbd5e1 !important;
    }

    .daseDateBox {
        font-size: 11px !important;
        font-weight: 500 !important;
        padding: 0 2px !important;
        min-width: 48px !important;
        text-align: center !important;
        white-space: nowrap !important;
        color: #e2e8f0 !important;
        cursor: pointer;
    }

    .daseDateBox .v7m-cal-icon {
        display: none !important;
    }

    .btn-today-quick {
        height: 19px !important;
        padding: 0 3px !important;
        font-size: 10px !important;
        border-radius: 4px !important;
    }

    .btn-calendar-trigger {
        width: 19px !important;
        height: 19px !important;
        border-radius: 4px !important;
        background: rgba(255, 255, 255, 0.12) !important;
        color: #e2e8f0 !important;
    }

    .vip-filter-single-row .vip-league-control-wrap,
    .vip-league-control-wrap {
        flex: 0 0 auto !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 2px !important;
    }

    .btn-open-league-filter {
        height: 25px !important;
        line-height: 25px !important;
        padding: 0 6px !important;
        font-size: 11px !important;
        font-weight: 500 !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        gap: 3px !important;
        border-radius: 6px !important;
        background: rgba(255, 255, 255, 0.08) !important;
        color: #e2e8f0 !important;
    }

    .btn-open-league-filter .league-active-badge {
        font-size: 10px !important;
        padding: 0 3px !important;
        max-width: 40px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        border-radius: 4px !important;
        background: rgba(0, 0, 0, 0.3) !important;
        color: #cbd5e1 !important;
    }

    .vip-filter-single-row .vip-tools-group,
    .vip-tools-group {
        flex: 0 0 auto !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 3px !important;
        margin-left: auto !important;
    }

    .vip-tool-btn {
        width: 25px !important;
        height: 25px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        border-radius: 6px !important;
        background: rgba(255, 255, 255, 0.08) !important;
        color: #cbd5e1 !important;
    }

    .vip-tool-btn svg {
        width: 12px !important;
        height: 12px !important;
    }

    .vip-tool-btn.active {
        background: var(--v7m-primary, #c90201) !important;
        background-image: none !important;
        color: #ffffff !important;
    }

    .vip-search-box.mobile-search-active {
        display: flex !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 100 !important;
        background: var(--v7m-secondary, #012058) !important;
        padding: 2px 6px !important;
        margin: 0 !important;
        align-items: center !important;
        gap: 4px !important;
        border-radius: 8px !important;
    }

    .vip-search-box.mobile-search-active input {
        flex: 1 1 auto !important;
        height: 28px !important;
        background: rgba(255, 255, 255, 0.12) !important;
        padding: 0 8px !important;
        font-size: 12.5px !important;
        color: #ffffff !important;
        border-radius: 6px !important;
    }

    .btn-mobile-search-close {
        display: inline-flex !important;
        width: 26px !important;
        height: 26px !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(255, 255, 255, 0.15) !important;
        color: #ffffff !important;
        border: none !important;
        border-radius: 6px !important;
        cursor: pointer !important;
        flex-shrink: 0 !important;
    }

    .hide-matches-counter {
        display: none;
        font-size: 11.5px !important;
        color: #f87171 !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        border-radius: 8px !important;
    }

    .hide-matches-counter.has-hidden {
        display: inline-flex !important;
        align-items: center !important;
        gap: 2px !important;
    }

    .btn-show-all-hidden {
        font-size: 11.5px !important;
        color: #34d399 !important;
        font-weight: 500 !important;
    }

    /* Mobile Odds Toolbar: Exactly 2 Rows on Mobile */
    .odds-toolbar-wrapper {
        position: relative !important;
        top: auto !important;
        z-index: 10 !important;
        padding: 4px 6px !important;
        margin-bottom: 6px !important;
        border-radius: 8px !important;
        box-sizing: border-box !important;
    }

    .odds-toolbar-single-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 4px !important;
        width: 100% !important;
    }

    /* Dòng 1: Tabs Trạng thái kèo (100% width, vuốt ngang mượt mà) */
    .odds-toolbar-single-row .odds-tabs-group {
        width: 100% !important;
        flex: 0 0 auto !important;
        order: 1 !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        gap: 3px !important;
        padding-bottom: 1px !important;
        margin: 0 !important;
    }

    .odds-toolbar-single-row .odds-tabs-group::-webkit-scrollbar {
        display: none !important;
    }

    .odds-toolbar-single-row .odds-tab-pill {
        height: 25px !important;
        line-height: 25px !important;
        padding: 0 7px !important;
        font-size: 11px !important;
        flex-shrink: 0 !important;
        border-radius: 6px !important;
    }

    .odds-toolbar-single-row .odds-tab-pill .icon-badge {
        font-size: 10px !important;
        padding: 0 3px !important;
        height: 15px !important;
        line-height: 15px !important;
        border-radius: 4px !important;
    }

    /* Dòng 2: Actions Strip Container (Loại kèo + Tìm kiếm) */
    .odds-filter-actions-strip {
        order: 2 !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        gap: 3px !important;
        height: 25px !important;
    }

    .odds-toolbar-single-row .odds-type-toggles {
        flex: 1 1 auto !important;
        display: flex !important;
        align-items: center !important;
        gap: 3px !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .odds-toolbar-single-row .odds-type-toggles::-webkit-scrollbar {
        display: none !important;
    }

    .odds-toolbar-single-row .odds-type-pill {
        height: 25px !important;
        line-height: 25px !important;
        padding: 0 5px !important;
        font-size: 10.5px !important;
        border-radius: 5px !important;
    }

    .odds-toolbar-single-row .odds-tools-group {
        flex: 0 0 auto !important;
        display: flex !important;
        align-items: center !important;
        gap: 3px !important;
        margin-left: auto !important;
    }

    .odds-toolbar-single-row .odds-search-wrap {
        width: 95px !important;
        height: 25px !important;
        padding: 0 5px !important;
        font-size: 11px !important;
        border-radius: 6px !important;
    }

    .odds-toolbar-single-row .odds-search-wrap:focus-within {
        width: 105px !important;
    }

    .odds-toolbar-single-row .odds-search-wrap input {
        font-size: 10.5px !important;
    }

    .odds-toolbar-single-row .odds-status-meta {
        display: none !important;
    }

    .live-league-block {
        border-radius: 8px !important;
        margin-bottom: 6px !important;
        overflow: hidden !important;
    }

    .live-table-header {
        min-height: 32px !important;
        padding: 0 8px !important;
        border-top-left-radius: 8px !important;
        border-top-right-radius: 8px !important;
        justify-content: flex-start !important;
    }

    .lth-left {
        width: 100% !important;
        gap: 5px !important;
        overflow: hidden !important;
    }

    .lth-right {
        display: none !important;
    }

    .live-table-header .lth-league-name,
    .lth-league-name {
        font-size: 13px !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
        max-width: 200px !important;
    }

    .live-table-header .lth-match-count,
    .lth-match-count {
        font-size: 10.5px !important;
        color: #ffffff !important;
        background: rgba(0, 0, 0, 0.35) !important;
        padding: 1px 5px !important;
        border-radius: 4px !important;
        border: 1px solid rgba(255, 255, 255, 0.25) !important;
        font-weight: 600 !important;
    }

    .live-table-header .lth-bxh-link,
    .lth-bxh-link {
        font-size: 10.5px !important;
        padding: 1px 5px !important;
        background: rgba(255, 255, 255, 0.22) !important;
        color: #ffffff !important;
        border: 1px solid rgba(255, 255, 255, 0.4) !important;
        border-radius: 4px !important;
        font-weight: 700 !important;
    }
    .live-match-item {
        padding: 4px 6px !important;
        min-height: 50px !important;
        gap: 3px !important;
        align-items: center !important;
    }
    .m-col-time,
    .stageOrTime {
        width: 48px !important;
        min-width: 48px !important;
        max-width: 48px !important;
        padding: 0 1px !important;
        gap: 1px !important;
    }
    .m-kickoff {
        font-size: 13px !important;
        font-weight: 500 !important;
        line-height: 1.15 !important;
    }
    .m-status-wrap {
        font-size: 11px !important;
        font-weight: 500 !important;
        line-height: 1.15 !important;
    }
    .m-ht-corner {
        font-size: 10.5px !important;
        line-height: 1 !important;
    }
    .m-col-teams {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        padding: 0 4px !important;
        gap: 2px !important;
    }
    .m-team-row {
        min-height: 22px !important;
        height: auto !important;
        gap: 4px !important;
        white-space: normal !important;
        overflow: visible !important;
    }
    .m-team-logo-box {
        width: 18px !important;
        height: 18px !important;
        min-width: 18px !important;
        flex-shrink: 0 !important;
    }
    .m-team-logo {
        max-width: 18px !important;
        max-height: 18px !important;
    }
    .m-team-name {
        font-size: clamp(12px, 2.5vw, 13px) !important;
        font-weight: 500 !important;
        color: #0f172a !important;
        line-height: 1.25 !important;
        letter-spacing: -0.2px !important;
        white-space: normal !important;
        word-break: break-word !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        max-height: 2.6em !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }
    .team-rank {
        font-size: 10px !important;
        margin-left: 1px !important;
    }
    .card-red,
    .card-yellow {
        font-size: 10px !important;
        min-width: 12px !important;
        line-height: 14px !important;
        padding: 0 2px !important;
        margin-left: 2px !important;
    }
    .m-col-score {
        width: 24px !important;
        min-width: 24px !important;
        max-width: 24px !important;
        padding: 0 !important;
        gap: 2px !important;
    }
    .m-score-val {
        font-size: 15px !important;
        font-weight: 600 !important;
        height: 22px !important;
        line-height: 22px !important;
    }
    .m-col-odds,
    .live-odds-1,
    .live-odds-2,
    .live-odds-3 {
        width: 70px !important;
        min-width: 70px !important;
        max-width: 72px !important;
        flex: 0 0 70px !important;
        padding: 0 1px !important;
        font-size: 11px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }
    .m-odds-row {
        height: 22px !important;
        gap: 3px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
    }
    .m-odds-val {
        font-size: 11px !important;
        font-weight: 500 !important;
        min-width: 18px !important;
        text-align: center !important;
    }
    .m-odds-line {
        font-size: 11px !important;
        font-weight: 600 !important;
        min-width: 20px !important;
        text-align: center !important;
    }

    /* Interactive Mobile Odds Switcher for Ty Le Keo (#v7m-odds-table) */
    /* When 'all' or 'ah': show HDP (live-odds-1), hide OU and 1X2 */
    #v7m-odds-table .live-odds-1,
    #v7m-odds-table.odds-mode-all .live-odds-1,
    #v7m-odds-table.odds-mode-ah .live-odds-1 {
        display: flex !important;
    }
    #v7m-odds-table .live-odds-2,
    #v7m-odds-table .live-odds-3,
    #v7m-odds-table.odds-mode-all .live-odds-2,
    #v7m-odds-table.odds-mode-all .live-odds-3,
    #v7m-odds-table.odds-mode-ah .live-odds-2,
    #v7m-odds-table.odds-mode-ah .live-odds-3 {
        display: none !important;
    }

    /* When 'ou': show O/U (live-odds-2), hide HDP and 1X2 */
    #v7m-odds-table.odds-mode-ou .live-odds-1,
    #v7m-odds-table.odds-mode-ou .live-odds-3 {
        display: none !important;
    }
    #v7m-odds-table.odds-mode-ou .live-odds-2 {
        display: flex !important;
    }

    /* When '1x2': show 1X2 (live-odds-3), hide HDP and OU */
    #v7m-odds-table.odds-mode-1x2 .live-odds-1,
    #v7m-odds-table.odds-mode-1x2 .live-odds-2 {
        display: none !important;
    }
    #v7m-odds-table.odds-mode-1x2 .live-odds-3 {
        display: flex !important;
    }

    /* Homepage (#ls-container) mobile odds default */
    #ls-container .live-odds-1 {
        display: flex !important;
    }
    #ls-container .live-odds-2:not([style*="display: flex"]),
    #ls-container .live-odds-3:not([style*="display: flex"]) {
        display: none;
    }
    .m-col-actions {
        display: flex !important;
        width: 32px !important;
        min-width: 32px !important;
        max-width: 32px !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 0 !important;
    }
    .btn-check-keo {
        position: relative !important;
        z-index: 6 !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        width: 24px !important;
        height: 22px !important;
        padding: 0 !important;
        border-radius: 8px !important;
        background: var(--v7m-primary, #c90201) !important;
        background-image: none !important;
        color: #ffffff !important;
        border: none !important;
        box-shadow: none !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .btn-check-keo svg {
        width: 13px !important;
        height: 13px !important;
        fill: currentColor !important;
        display: block !important;
    }
    .m-col-fav {
        width: 24px !important;
        min-width: 24px !important;
        max-width: 24px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .btn-fav-star {
        width: 20px !important;
        height: 20px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .btn-fav-star svg {
        width: 14px !important;
        height: 14px !important;
    }
    .vip-bottom-shortcuts {
        padding: 8px 6px !important;
    }
    .vip-shortcut-btn {
        padding: 6px 10px !important;
        font-size: 13px !important;
    }
    .vip-modal-dialog {
        width: 96% !important;
        max-height: 90vh !important;
    }
    .vip-modal-toolbar {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .vip-modal-search-input {
        width: 100% !important;
    }
    .vip-league-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   RESPONSIVE FOR MATCH DETAIL, KHO DU LIEU, EMBEDS (FLAT 0PX, 100% FIT)
   ========================================================================== */
@media (max-width: 768px) {
    /* Odds Detail on Mobile: Switch to Card Rows per Company */
    .v7m-odds-desktop-wrap {
        display: none !important;
    }
    .v7m-odds-mobile-wrap {
        display: flex !important;
        flex-direction: column !important;
        padding: 8px !important;
        gap: 8px !important;
    }

    /* H2H Grid on Mobile */
    .v7m-h2h-head {
        display: none !important;
    }
    .v7m-h2h-row {
        flex-direction: column !important;
        padding: 8px 10px !important;
        margin-bottom: 6px !important;
        align-items: stretch !important;
    }
    .v7m-h2h-strip-top {
        display: flex !important;
        justify-content: space-between !important;
        margin-bottom: 4px;
        font-size: 13px;
    }
    .v7m-h2h-strip-teams {
        display: flex !important;
        align-items: center !important;
        margin-bottom: 4px;
    }
    .v7m-h2h-strip-teams .v7m-h2h-col-home {
        flex: 1 !important;
        text-align: right !important;
        font-size: clamp(12.5px, 2.5vw, 13.5px) !important;
        font-weight: 500 !important;
        padding: 0 4px !important;
    }
    .v7m-h2h-strip-teams .v7m-h2h-col-score {
        flex: 0 0 auto !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        padding: 0 6px !important;
    }
    .v7m-h2h-strip-teams .v7m-h2h-col-away {
        flex: 1 !important;
        text-align: left !important;
        font-size: clamp(12.5px, 2.5vw, 13.5px) !important;
        font-weight: 500 !important;
        padding: 0 4px !important;
    }
    .v7m-h2h-strip-bottom {
        display: flex !important;
        justify-content: space-between !important;
        font-size: 13px;
        color: #64748b;
        background: #f8fafc;
        padding: 4px 8px;
    }

    /* ==========================================================================
       KHO DỮ LIỆU BÓNG ĐÁ (DATABASE) - ULTRA-COMPACT 100% RESPONSIVE
       ========================================================================== */
    .s7m-db-container {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 14px !important;
        overflow-x: hidden !important;
    }
    .s7m-db-header {
        padding: 10px 8px !important;
        gap: 8px !important;
        border-radius: 8px !important;
    }
    .s7m-db-title-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
    }
    .s7m-db-title-wrap {
        gap: 8px !important;
        width: 100% !important;
    }
    .s7m-db-icon-box {
        width: 32px !important;
        height: 32px !important;
        flex-shrink: 0 !important;
    }
    .s7m-db-title {
        font-size: 15px !important;
        line-height: 1.25 !important;
    }
    .s7m-db-desc {
        font-size: 12px !important;
        line-height: 1.3 !important;
    }
    .s7m-db-stat-badge {
        width: 100% !important;
        justify-content: center !important;
        font-size: 11.5px !important;
        padding: 4px 8px !important;
        box-sizing: border-box !important;
    }
    .s7m-db-search-box {
        width: 100% !important;
    }
    .s7m-db-search-input {
        height: 38px !important;
        font-size: 13px !important;
        padding: 0 32px 0 34px !important;
        border-radius: 6px !important;
    }
    .s7m-search-icon {
        left: 10px !important;
        width: 14px !important;
        height: 14px !important;
    }
    .s7m-search-clear-btn {
        right: 8px !important;
        width: 22px !important;
        height: 22px !important;
    }
    
    /* Hot Tournaments Quick Bar on Mobile */
    .s7m-db-hot-bar {
        padding: 6px 8px !important;
        gap: 6px !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch;
        border-radius: 6px !important;
        margin-bottom: 8px !important;
    }
    .s7m-db-hot-bar::-webkit-scrollbar {
        display: none !important;
    }
    .s7m-hot-bar-header {
        font-size: 11.5px !important;
        gap: 4px !important;
        flex-shrink: 0 !important;
    }
    .s7m-hot-bar-chips {
        gap: 4px !important;
        flex-wrap: nowrap !important;
    }
    .s7m-hot-chip {
        padding: 4px 8px !important;
        font-size: 12px !important;
        flex-shrink: 0 !important;
        border-radius: 6px !important;
        gap: 4px !important;
    }

    /* Continent Navigation Tabs on Mobile */
    .s7m-db-nav {
        width: 100% !important;
        overflow: hidden !important;
    }
    .s7m-db-tabs {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch;
        gap: 4px !important;
        padding-bottom: 2px !important;
    }
    .s7m-db-tabs::-webkit-scrollbar {
        display: none !important;
    }
    .s7m-db-tabs li {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }
    .s7m-tab-btn {
        padding: 6px 10px !important;
        font-size: 12.5px !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        border-radius: 6px !important;
        gap: 4px !important;
    }

    /* Country Grid & Cards on Mobile */
    .s7m-country-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
        margin-bottom: 14px !important;
    }
    .s7m-country-card {
        padding: 6px 8px !important;
        gap: 8px !important;
        border-radius: 6px !important;
        align-items: center !important;
        min-width: 0 !important;
    }
    .s7m-country-flag-box {
        width: 28px !important;
        height: 19px !important;
        flex-shrink: 0 !important;
        border-radius: 3px !important;
    }
    .s7m-country-name-box {
        min-width: 0 !important;
        flex: 1 !important;
        overflow: hidden !important;
    }
    .s7m-country-name {
        font-size: 13px !important;
        font-weight: 500 !important;
        line-height: 1.25 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .s7m-country-meta {
        font-size: 11px !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .s7m-country-top-league {
        font-size: 11px !important;
        gap: 3px !important;
        margin-top: 1px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .s7m-country-top-league svg {
        width: 10px !important;
        height: 10px !important;
    }
    .s7m-country-action {
        display: none !important; /* Hide chevron on mobile to preserve card width for text */
    }

    /* Section Other on Mobile */
    .s7m-other-section {
        padding: 10px 8px !important;
        margin-top: 12px !important;
        border-radius: 8px !important;
    }
    .s7m-other-title {
        font-size: 12.5px !important;
        padding: 7px 10px !important;
        gap: 6px !important;
        border-radius: 6px !important;
        margin-bottom: 10px !important;
    }

    /* Modal Dialog on Mobile */
    .s7m-modal-backdrop {
        padding: 10px !important;
    }
    .s7m-modal-dialog {
        width: 100% !important;
        max-width: 100% !important;
        max-height: 88vh !important;
        border-radius: 8px !important;
    }
    .s7m-modal-header {
        padding: 10px 12px !important;
    }
    .s7m-modal-title {
        font-size: 15px !important;
    }
    .s7m-modal-subtitle {
        font-size: 11.5px !important;
    }
    .s7m-modal-body {
        padding: 10px !important;
        max-height: 60vh !important;
    }
    .s7m-modal-cols {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .s7m-modal-col-header {
        font-size: 12.5px !important;
        margin-bottom: 6px !important;
        padding-bottom: 4px !important;
    }
    .s7m-modal-item-link {
        padding: 6px 10px !important;
        font-size: 13px !important;
        border-radius: 6px !important;
    }
    .s7m-modal-footer {
        padding: 8px 12px !important;
    }
    .s7m-modal-primary-btn {
        width: 100% !important;
        justify-content: center !important;
        font-size: 13px !important;
        padding: 8px 12px !important;
        border-radius: 6px !important;
    }

    /* Tournament Detail View Responsive */
    .s7m-t-breadcrumb {
        padding: 8px 10px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 6px !important;
    }
    .s7m-t-breadcrumb-left {
        font-size: 12px !important;
    }
    .s7m-t-btn-back {
        width: 100% !important;
        justify-content: center !important;
        font-size: 12px !important;
        padding: 6px 10px !important;
        border-radius: 6px !important;
    }
    .s7m-t-header-box {
        flex-direction: row !important;
        align-items: center !important;
        margin: 6px 0 !important;
        padding: 10px 8px !important;
        gap: 10px !important;
        border-radius: 6px !important;
    }
    .s7m-t-flag-wrap {
        width: 40px !important;
        height: 40px !important;
        border-radius: 6px !important;
    }
    .s7m-t-title {
        font-size: 15px !important;
        margin-bottom: 2px !important;
    }
    .s7m-t-meta {
        gap: 6px !important;
        font-size: 12px !important;
    }
    .s7m-t-siblings-bar {
        padding: 0 4px !important;
        margin-bottom: 8px !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch;
        gap: 5px !important;
    }
    .s7m-t-siblings-bar::-webkit-scrollbar {
        display: none !important;
    }
    .s7m-t-siblings-label {
        font-size: 12px !important;
        flex-shrink: 0 !important;
    }
    .s7m-sibling-chip {
        padding: 4px 8px !important;
        font-size: 12px !important;
        flex-shrink: 0 !important;
        border-radius: 6px !important;
    }
    .s7m-t-nav-tabs {
        margin: 0 0 10px 0 !important;
        padding: 3px !important;
        gap: 3px !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch;
    }
    .s7m-t-nav-tabs::-webkit-scrollbar {
        display: none !important;
    }
    .s7m-t-nav-tabs li {
        padding: 6px 10px !important;
        font-size: 12.5px !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        border-radius: 6px !important;
    }
    .s7m-t-panel {
        padding: 0 0 10px 0 !important;
    }
    .s7m-t-filter-box {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 8px !important;
        margin-bottom: 8px !important;
        gap: 6px !important;
        border-radius: 6px !important;
    }
    .s7m-t-filter-group {
        width: 100% !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 4px !important;
    }
    .s7m-t-filter-group label {
        font-size: 12px !important;
    }
    .s7m-t-select {
        max-width: 100% !important;
        width: 100% !important;
        height: 34px !important;
        font-size: 12.5px !important;
        border-radius: 6px !important;
    }
    
    /* Round pills swipeable row on Mobile */
    .s7m-t-rounds-section {
        margin-bottom: 10px !important;
        border-radius: 6px !important;
    }
    .s7m-t-rounds-title {
        padding: 6px 8px !important;
        font-size: 12px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 2px !important;
    }
    .s7m-t-current-round-text {
        font-size: 11.5px !important;
    }
    .s7m-t-rounds-pills {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch;
        padding: 6px 8px !important;
        gap: 4px !important;
    }
    .s7m-t-rounds-pills::-webkit-scrollbar {
        display: none !important;
    }
    .s7m-t-round-btn {
        flex-shrink: 0 !important;
        min-width: 30px !important;
        height: 26px !important;
        line-height: 26px !important;
        font-size: 12px !important;
        padding: 0 6px !important;
        border-radius: 5px !important;
    }

    /* Kho Du Lieu Match Grid on Mobile */
    .s7m-t-match-head {
        display: none !important;
    }
    .s7m-t-match-row {
        display: flex !important;
        flex-direction: column !important;
        padding: 8px 10px !important;
        margin-bottom: 4px !important;
        border-radius: 6px !important;
        align-items: stretch !important;
        gap: 4px !important;
    }
    .s7m-t-m-strip-top {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        font-size: 11.5px !important;
        color: #64748b !important;
        padding-bottom: 3px !important;
        border-bottom: 1px solid #f1f5f9 !important;
        margin-bottom: 2px !important;
    }
    .s7m-t-m-strip-teams {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 4px !important;
    }
    .s7m-t-m-strip-teams .col-team-h {
        flex: 1 !important;
        text-align: right !important;
        font-size: clamp(12.5px, 2.5vw, 13.5px) !important;
        font-weight: 500 !important;
        padding: 0 4px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .s7m-t-m-strip-teams .col-score {
        flex: 0 0 auto !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        padding: 0 8px !important;
        text-align: center !important;
    }
    .s7m-t-m-strip-teams .col-team-a {
        flex: 1 !important;
        text-align: left !important;
        font-size: clamp(12.5px, 2.5vw, 13.5px) !important;
        font-weight: 500 !important;
        padding: 0 4px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    /* Kho Du Lieu Standings on Mobile */
    .s7m-t-standings-grid {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
    .s7m-t-std-head,
    .s7m-t-std-row {
        min-width: 580px !important;
    }

    /* Basketball 2 in 1 on Mobile */
    .lth-col-bk-q,
    .col-bk-q,
    .m-col-quarters {
        display: none !important;
    }
    .lth-col-bk-tot,
    .col-bk-tot,
    .m-col-bk-tot {
        width: 38px !important;
        min-width: 38px !important;
        max-width: 38px !important;
    }
    .m-col-bk-tot .m-score-val {
        font-size: 13.5px !important;
        line-height: 20px !important;
        height: 20px !important;
    }
    .m-col-odds-bk {
        width: 58px !important;
        min-width: 58px !important;
        max-width: 58px !important;
        font-size: 10.5px !important;
    }
    .m-col-odds-bk .m-odds-line {
        font-size: 10.5px !important;
    }
}

/* ==========================================================================
   KHO DỮ LIỆU BÓNG ĐÁ - ULTRA-COMPACT FOR SMALL SCREENS (<= 440px)
   ========================================================================== */
@media (max-width: 440px) {
    .s7m-country-grid {
        gap: 4px !important;
    }
    .s7m-country-card {
        padding: 5px 6px !important;
        gap: 6px !important;
    }
    .s7m-country-flag-box {
        width: 24px !important;
        height: 16px !important;
    }
    .s7m-country-name {
        font-size: 12px !important;
    }
    .s7m-country-meta {
        font-size: 10px !important;
    }
    .s7m-country-top-league {
        font-size: 10px !important;
    }
    .s7m-t-meta {
        font-size: 11px !important;
    }
    .s7m-t-m-strip-teams .col-team-h,
    .s7m-t-m-strip-teams .col-team-a {
        font-size: 12px !important;
    }
    .s7m-t-m-strip-teams .col-score {
        font-size: 13.5px !important;
        padding: 0 4px !important;
    }
}

/* ==========================================================================
   Responsive News & Predictions Basic Layout (.v7m-news-*)
   ========================================================================== */
@media (max-width: 1024px) {
    .v7m-news-layout-wrapper {
        flex-direction: column !important;
        gap: 12px !important;
    }
    .v7m-news-main-col {
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    .v7m-news-card-box {
        padding: 8px 10px !important;
    }
    .v7m-news-toolbar {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px !important;
        padding: 6px 10px !important;
    }
    .v7m-news-heading {
        font-size: 13.5px !important;
    }
    .v7m-news-filter-pills {
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap !important;
        padding-bottom: 2px !important;
    }
    .v7m-news-filter-pills .v7m-pill {
        font-size: 11.5px !important;
        padding: 3px 8px !important;
    }
    .v7m-news-row {
        gap: 10px !important;
        padding: 6px 8px !important;
    }
    .v7m-news-thumb-wrap {
        flex: 0 0 105px !important;
        width: 105px !important;
        height: 66px !important;
        border-radius: 8px !important;
    }
    .v7m-news-thumb-img {
        border-radius: 8px !important;
    }
    .v7m-news-title {
        font-size: 12.5px !important;
        line-height: 1.35 !important;
    }
    .v7m-news-meta {
        font-size: 10.5px !important;
        gap: 6px !important;
    }
    .v7m-news-cat,
    .v7m-news-badge {
        font-size: 10px !important;
        padding: 1px 5px !important;
    }
    .v7m-news-date {
        font-size: 11px !important;
    }
    .v7m-news-excerpt {
        display: none !important; /* Hide excerpt on mobile for clean high-density feed */
    }
    .v7m-news-pagination span.page-numbers,
    .v7m-news-pagination a.page-numbers {
        min-width: 28px !important;
        height: 28px !important;
        font-size: 12px !important;
        padding: 0 6px !important;
    }
}







