/* PM PERF: externalized shared Header head CSS 2026-09-08 */

/* PM HEADER SOURCE BLOCK 01 */
/* Force Outfit font globally */
        *:not(i):not(.fas):not(.far):not(.fal):not(.fab) {
            font-family: 'Roboto', sans-serif !important;
        }
    
/* PM HEADER NAV HOME NEWS UPPERCASE SEPARATOR 2026-07-06 */
.main-nav .pm-header-nav-separator {
    display: inline-block;
    width: 1px;
    height: 30px;
    background: #13294b;
    margin: 0 14px;
    align-self: center;
    flex: 0 0 auto;
}

/* PM HEADER SOURCE BLOCK 02 */
:root {
        --pm-font-main: "Quicksand", Arial, Helvetica, sans-serif;
        --pm-brand-navy: #13294b;
        --pm-brand-navy-soft: #1d315f;
        --pm-brand-red: #e11d48;
        --pm-header-bg: #ffffff;
        --pm-header-border: #e5edf6;
        --pm-soft-bg: #f5f8fc;
    }

    * { box-sizing: border-box; }

    html,
    body,
    button,
    input,
    select,
    textarea {
        font-family: var(--pm-font-main);
    }

    .pm-match-card,
    .pm-match-card *,
    .fixture-match-intervals,
    .fixture-match-intervals *,
    .fixture-season-intervals,
    .fixture-season-intervals *,
    .pm-match-history,
    .pm-match-history *,
    .standings-card,
    .standings-card *,
    .sidebar-leagues,
    .sidebar-leagues * {
        font-family: var(--pm-font-main) !important;
    }

    body {
        margin: 0;
        background: #fff;
        color: #111;
    }

    body.pm-menu-open {
        overflow: hidden;
    }

    a { text-decoration: none; }

    .site-header {
        background: var(--pm-header-bg);
        color: var(--pm-brand-navy);
        position: sticky;
        top: 0;
        z-index: 1000;
        border-bottom: 1px solid var(--pm-header-border);
        box-shadow: 0 4px 18px rgba(19, 41, 75, 0.07);
    }

    .header-inner {
        max-width: 1400px;
        margin: 0 auto;
        padding: 12px 20px;
        display: grid;
        grid-template-columns: 280px minmax(180px, 1fr) auto;
        align-items: center;
        gap: 24px;
        min-height: 78px;
    }

    .logo {
        grid-column: 1;
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
        min-width: 0;
    }

    .logo a {
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
        text-decoration: none;
        line-height: 1;
        background: transparent;
        border: 0;
        border-radius: 0;
        padding: 0;
        box-shadow: none;
    }

    .logo img {
        display: block;
        height: 54px;
        width: auto;
        max-width: 260px;
        object-fit: contain;
    }

    .header-search-slot {
        grid-column: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        width: 100%;
    }

    .header-search-slot .pm-header-search {
        width: min(100%, 760px);
    }

    .pm-header-search {
        display: flex;
        align-items: center;
        min-width: 0;
        min-height: 44px;
        background: #f8fafd;
        border: 1px solid #dfe8f4;
        border-radius: 6px;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 3px 10px rgba(19, 41, 75, 0.04);
        overflow: hidden;
        transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    }

    .pm-header-search:focus-within {
        background: #ffffff;
        border-color: #b9c9dd;
        box-shadow: 0 0 0 4px rgba(19, 41, 75, 0.08), 0 5px 14px rgba(19, 41, 75, 0.07);
    }

    .pm-header-search-label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .pm-header-search-icon {
        width: 44px;
        min-width: 44px;
        height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: var(--pm-brand-navy);
        opacity: 0.85;
    }

    .pm-header-search-input {
        flex: 1 1 auto;
        min-width: 0;
        border: 0;
        outline: 0;
        background: transparent;
        color: var(--pm-brand-navy);
        font-size: 14px;
        font-weight: 700;
        padding: 0 10px 0 0;
        height: 44px;
    }

    .pm-header-search-input::placeholder {
        color: #7b8ba1;
        font-weight: 600;
    }

    .pm-header-search-button {
        flex: 0 0 auto;
        height: 34px;
        margin-right: 5px;
        padding: 0 14px;
        border: 0;
        border-radius: 999px;
        background: var(--pm-brand-navy);
        color: #ffffff;
        font-size: 12px;
        font-weight: 900;
        cursor: pointer;
        transition: background 0.18s ease, transform 0.18s ease;
    }

    .pm-header-search-button:hover {
        background: var(--pm-brand-navy-soft);
        transform: translateY(-1px);
    }

    .main-nav {
        grid-column: 3;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        flex-wrap: wrap;
        background: #f1f5fb;
        padding: 5px;
        border: 1px solid #e1e9f4;
        border-radius: 14px;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }

    .main-nav a {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 38px;
        color: var(--pm-brand-navy);
        padding: 11px 17px;
        border-radius: 10px;
        font-size: 14px;
        font-weight: 900;
        line-height: 1;
        transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
    }

    .main-nav a::after {
        content: "";
        position: absolute;
        left: 14px;
        right: 14px;
        bottom: 5px;
        height: 3px;
        border-radius: 999px;
        background: transparent;
        transition: background 0.18s ease;
    }

    .main-nav a:hover {
        background: #ffffff;
        color: var(--pm-brand-navy);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(19, 41, 75, 0.08);
    }

    .main-nav a:hover::after {
        background: rgba(225, 29, 72, 0.35);
    }

    .main-nav a.active {
        background: var(--pm-brand-navy);
        color: #ffffff;
        box-shadow: 0 5px 14px rgba(19, 41, 75, 0.18);
    }

    .main-nav a.active::after {
        background: #9d2235;
    }

    .main-nav a.active:hover {
        background: var(--pm-brand-navy);
        color: #ffffff;
    }

    .mobile-menu-toggle {
        grid-column: 3;
        display: none;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border: 1px solid #d8e3f1;
        border-radius: 12px;
        background: #f1f5fb;
        color: var(--pm-brand-navy);
        cursor: pointer;
        padding: 0;
        flex: 0 0 auto;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        background: var(--pm-brand-navy);
        border-radius: 99px;
        position: relative;
    }

    .mobile-menu-toggle span::before,
    .mobile-menu-toggle span::after {
        content: '';
        position: absolute;
        left: 0;
        width: 20px;
        height: 2px;
        background: var(--pm-brand-navy);
        border-radius: 99px;
    }

    .mobile-menu-toggle span::before {
        top: -7px;
    }

    .mobile-menu-toggle span::after {
        top: 7px;
    }

    .mobile-menu-toggle:hover {
        background: #ffffff;
        box-shadow: 0 4px 12px rgba(19, 41, 75, 0.08);
    }

    .mobile-menu-overlay {
        display: none;
    }

    .site-shell {
        max-width: 1400px;
        margin: 0 auto;
        padding: 30px 20px 40px;
        display: grid;
        grid-template-columns: 280px 1fr;
        gap: 24px;
        align-items: start;
    }

    .sidebar-leagues {
        position: sticky;
        top: 105px;
    }
    .site-shell > .sidebar-leagues {
        max-height: calc(100vh - 125px);
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior: contain;
        padding-right: 4px;

        /* Let Chrome/Edge use the detailed ::-webkit scrollbar below */
        scrollbar-width: auto;
        scrollbar-color: auto;
    }

    .site-shell > .sidebar-leagues::-webkit-scrollbar {
        width: 15px;
        background: #13294b;
        border-radius: 999px;
    }

    .site-shell > .sidebar-leagues::-webkit-scrollbar-track {
        background: #13294b;
        border-radius: 999px;
    }

    .site-shell > .sidebar-leagues::-webkit-scrollbar-thumb {
        background: #9d2235;
        border: 2px solid #ffffff;
        border-radius: 999px;
        background-clip: padding-box;
    }

    .site-shell > .sidebar-leagues::-webkit-scrollbar-thumb:hover {
        background: #9d2235;
        border: 2px solid #ffffff;
        border-radius: 999px;
        background-clip: padding-box;
    }



    .sidebar-box {
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 4px 14px rgba(0,0,0,0.06);
        overflow: hidden;
    }

    .sidebar-title {
        background: #111f3d;
        color: #fff;
        padding: 14px 16px;
        font-size: 18px;
        font-weight: 800;
    }

    .sidebar-empty {
        padding: 16px;
        color: #666;
        font-size: 14px;
    }

    .sidebar-country {
        border-bottom: 1px solid #e9edf3;
    }

    .sidebar-country:last-child {
        border-bottom: none;
    }

    .sidebar-country summary {
        list-style: none;
        cursor: pointer;
        padding: 14px 16px;
        font-weight: 700;
        color: #111f3d;
        background: #fff;
    }

    .sidebar-country summary::-webkit-details-marker {
        display: none;
    }

    .sidebar-country summary:hover {
        background: #f9fbff;
    }

    .sidebar-country[open] summary {
        background: #f4f7fc;
    }

    .sidebar-country-links {
        padding: 0 0 10px;
        background: #fff;
    }

    .sidebar-country-links a {
        display: block;
        padding: 8px 16px;
        color: #333;
        font-size: 14px;
    }

    .sidebar-country-links a:hover {
        background: #f4f7fc;
        color: #111f3d;
    }

    .sidebar-country-links a.sidebar-league-active {
        background: #e8eefb;
        color: #111f3d;
        font-weight: 800;
    }

    .site-main {
        min-width: 0;
    }

    @media (max-width: 1250px) {
        .header-inner {
            padding: 12px 18px;
            min-height: 66px;
            grid-template-columns: auto minmax(0, 1fr) auto;
            gap: 10px;
        }

        .logo {
            grid-column: 1;
        }

        .logo img {
            height: 44px;
            max-width: 185px;
        }

        .header-search-slot {
            grid-column: 2;
            display: flex;
            justify-content: center;
            width: 100%;
        }

        .header-search-slot .pm-header-search {
            width: 100%;
            min-height: 42px;
        }

        .header-search-slot .pm-header-search-icon {
            width: 40px;
            min-width: 40px;
            height: 42px;
        }

        .header-search-slot .pm-header-search-input {
            height: 42px;
            font-size: 13px;
        }

        .header-search-slot .pm-header-search-button {
            display: none;
        }

        .main-nav {
            display: none;
        }

        .mobile-menu-toggle {
            grid-column: 3;
            display: inline-flex;
        }

        .site-shell {
            grid-template-columns: 1fr;
            padding: 22px 14px 34px;
        }

        .site-shell > .sidebar-leagues {
            display: none;
            max-height: none;
            overflow: visible;
            padding-right: 0;
        }

        .mobile-menu-overlay {
            position: fixed;
            inset: 0;
            z-index: 2000;
            display: none;
            background: rgba(15, 23, 42, 0.45);
        }

        .mobile-menu-overlay.is-open {
            display: block;
        }

        .mobile-menu-panel {
            width: min(360px, 88vw);
            height: 100%;
            background: #f7f9fc;
            overflow-y: auto;
            box-shadow: 8px 0 24px rgba(0,0,0,0.22);
        }

        .mobile-menu-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            background: #ffffff;
            color: var(--pm-brand-navy);
            padding: 16px;
            border-bottom: 1px solid #e5edf6;
        }

        .mobile-menu-title {
            display: inline-flex;
            align-items: center;
            line-height: 1;
            min-width: 0;
        }

        .mobile-menu-title a {
            display: inline-flex;
            align-items: center;
            justify-content: flex-start;
            background: transparent;
            border-radius: 0;
            padding: 0;
            box-shadow: none;
        }

        .mobile-menu-logo {
            display: block;
            height: 42px;
            width: auto;
            max-width: 210px;
            object-fit: contain;
        }

        .mobile-menu-close {
            border: 1px solid #d8e3f1;
            background: #f1f5fb;
            color: var(--pm-brand-navy);
            width: 38px;
            height: 38px;
            border-radius: 10px;
            font-size: 24px;
            line-height: 1;
            cursor: pointer;
        }

        .mobile-menu-close:hover {
            background: #ffffff;
        }

        .mobile-menu-nav {
            background: #ffffff;
            padding: 14px 16px 16px;
            display: grid;
            gap: 8px;
            border-bottom: 1px solid #e5edf6;
        }

        .mobile-menu-nav a {
            position: relative;
            color: var(--pm-brand-navy);
            background: #f1f5fb;
            padding: 12px 12px;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 900;
            border: 1px solid #e1e9f4;
        }

        .mobile-menu-nav a:hover {
            background: #ffffff;
        }

        .mobile-menu-nav a.active {
            background: var(--pm-brand-navy);
            color: #ffffff;
            border-color: var(--pm-brand-navy);
        }

        .mobile-menu-nav a.active::after {
            content: "";
            position: absolute;
            left: 12px;
            right: 12px;
            bottom: 4px;
            height: 3px;
            border-radius: 999px;
            background: var(--pm-brand-red);
        }

        .mobile-menu-leagues {
            padding: 14px;
        }

        .mobile-menu-leagues .sidebar-leagues {
            display: block;
            position: static;
            top: auto;
            max-height: none;
            overflow: visible;
            padding-right: 0;
        }

        .mobile-menu-leagues .sidebar-box {
            box-shadow: 0 4px 14px rgba(0,0,0,0.08);
        }
    }

    @media (max-width: 768px) {
        .header-inner {
            padding: 11px 16px;
            min-height: 64px;
            gap: 9px;
        }

        .logo img {
            height: 40px;
            max-width: 155px;
        }

        .header-search-slot .pm-header-search {
            min-height: 40px;
        }

        .header-search-slot .pm-header-search-icon {
            width: 38px;
            min-width: 38px;
            height: 40px;
        }

        .header-search-slot .pm-header-search-input {
            height: 40px;
            font-size: 13px;
        }

        .mobile-menu-toggle {
            width: 40px;
            height: 40px;
        }
    }

    @media (max-width: 480px) {
        .header-inner {
            padding: 10px 10px;
            gap: 7px;
        }

        .logo img {
            height: 34px;
            max-width: 118px;
        }

        .header-search-slot .pm-header-search {
            min-height: 38px;
        }

        .header-search-slot .pm-header-search-icon {
            width: 34px;
            min-width: 34px;
            height: 38px;
        }

        .header-search-slot .pm-header-search-input {
            height: 38px;
            font-size: 12px;
        }

        .header-search-slot .pm-header-search-input::placeholder {
            font-size: 12px;
        }

        .mobile-menu-toggle {
            width: 38px;
            height: 38px;
        }

        .mobile-menu-panel {
            width: 92vw;
        }

        .mobile-menu-logo {
            height: 38px;
            max-width: 180px;
        }

        .site-shell {
            padding: 18px 10px 30px;
        }
    }

    @media (max-width: 380px) {
        .logo img {
            height: 32px;
            max-width: 104px;
        }

        .header-inner {
            gap: 6px;
        }

        .header-search-slot .pm-header-search-icon {
            width: 32px;
            min-width: 32px;
        }

        .header-search-slot .pm-header-search-input {
            font-size: 11.5px;
        }

        .mobile-menu-toggle {
            width: 36px;
            height: 36px;
        }
    }

/* PM PUBLIC AUTH HEADER BUTTONS */
.main-nav a.pm-auth-nav-link {
    font-weight: 800;
    white-space: nowrap;
}

.main-nav a.pm-auth-login,
.main-nav a.pm-auth-account {
    background: #ffffff;
    border: 1px solid rgba(19, 41, 75, 0.14);
}

.main-nav a.pm-auth-signup {
    background: var(--pm-brand-navy);
    color: #ffffff;
    border-color: var(--pm-brand-navy);
}

.main-nav a.pm-auth-signup:hover {
    background: var(--pm-brand-navy-soft);
    color: #ffffff;
}

.main-nav a.pm-auth-logout {
    background: #fff1f2;
    color: #9f1239;
    border-color: rgba(225, 29, 72, 0.18);
}

.main-nav a.pm-auth-logout:hover {
    background: #ffe4e6;
    color: #9f1239;
}

.mobile-menu-nav a.pm-auth-mobile-link {
    font-weight: 800;
}
/* END PM PUBLIC AUTH HEADER BUTTONS */


/* PM ACCOUNT ACTIVE TAB TEXT FIX */
/* PM FIX: account active same as standard nav hover START */
.pm-header a[href*="page=account"].active,
.pm-header a[href*="page=account"].active:visited,
.pm-header a[href*="page=account"].active:hover,
.pm-header a[href*="page=account"].active:focus,
.site-header a[href*="page=account"].active,
.site-header a[href*="page=account"].active:visited,
.site-header a[href*="page=account"].active:hover,
.site-header a[href*="page=account"].active:focus,
header a[href*="page=account"].active,
header a[href*="page=account"].active:visited,
header a[href*="page=account"].active:hover,
header a[href*="page=account"].active:focus {
    background: #ffffff !important;
    color: var(--pm-brand-navy) !important;
    box-shadow: 0 4px 12px rgba(19, 41, 75, 0.08) !important;
    transform: translateY(-1px);
}

.pm-header a[href*="page=account"].active::after,
.site-header a[href*="page=account"].active::after,
header a[href*="page=account"].active::after {
    background: var(--pm-brand-red) !important;
}
/* PM FIX: account active same as standard nav hover END */

/* PM FIX: account active news-style underline effect START */
.site-header .main-nav a.pm-auth-account.active,
.pm-header .main-nav a.pm-auth-account.active,
header .main-nav a.pm-auth-account.active {
    position: relative !important;
    background: #ffffff !important;
    color: var(--pm-brand-navy) !important;
    box-shadow: 0 4px 12px rgba(19, 41, 75, 0.08) !important;
    transform: translateY(-1px) !important;
}

.site-header .main-nav a.pm-auth-account.active::after,
.pm-header .main-nav a.pm-auth-account.active::after,
header .main-nav a.pm-auth-account.active::after {
    content: "" !important;
    position: absolute !important;
    left: 14px !important;
    right: 14px !important;
    bottom: 5px !important;
    height: 3px !important;
    border-radius: 999px !important;
    background: var(--pm-brand-red) !important;
}
/* PM FIX: account active news-style underline effect END */

/* END PM ACCOUNT ACTIVE TAB TEXT FIX */



/* PM SEPARATE HEADER TABS AND AUTH */
.main-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 18px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.pm-header-tabs,
.pm-header-auth {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 48px !important;
    padding: 6px !important;
    border: 1px solid var(--pm-header-border) !important;
    border-radius: 17px !important;
    background: #f7faff !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.045) !important;
}

.pm-header-auth {
    background: #ffffff !important;
    margin-left: 4px !important;
}

.pm-header-tabs a,
.pm-header-auth a {
    min-height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

@media (max-width: 900px) {
    .pm-header-tabs,
    .pm-header-auth {
        display: none !important;
    }
}
/* END PM SEPARATE HEADER TABS AND AUTH */



/* PM FLEXIBLE LONG HEADER SEARCH */
@media (min-width: 901px) {
    .site-header .header-inner,
    .pm-header .header-inner,
    header .header-inner {
        display: grid !important;
        grid-template-columns: 76px minmax(320px, 1fr) auto !important;
        align-items: center !important;
        column-gap: 22px !important;
    }

    .site-header .header-logo,
    .site-header .logo,
    .site-header .logo-link,
    .pm-header .header-logo,
    .pm-header .logo,
    .pm-header .logo-link,
    header .header-logo,
    header .logo,
    header .logo-link {
        justify-self: start !important;
    }

    .site-header .header-search-slot,
    .pm-header .header-search-slot,
    header .header-search-slot {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        justify-self: stretch !important;
    }

    .site-header .header-search-slot .pm-header-search,
    .pm-header .header-search-slot .pm-header-search,
    header .header-search-slot .pm-header-search {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
    }

    .site-header .main-nav,
    .pm-header .main-nav,
    header .main-nav {
        justify-self: end !important;
        width: auto !important;
        min-width: max-content !important;
        flex-shrink: 0 !important;
    }
}

@media (min-width: 901px) and (max-width: 1180px) {
    .site-header .header-inner,
    .pm-header .header-inner,
    header .header-inner {
        grid-template-columns: 64px minmax(240px, 1fr) auto !important;
        column-gap: 14px !important;
    }
}
/* END PM FLEXIBLE LONG HEADER SEARCH */



/* PM MOBILE HEADER FIX AFTER SEPARATED NAV */
@media (max-width: 900px) {
    .site-header .header-inner,
    .pm-header .header-inner,
    header .header-inner {
        display: grid !important;
        grid-template-columns: 46px minmax(0, 1fr) 44px !important;
        align-items: center !important;
        column-gap: 10px !important;
        row-gap: 0 !important;
    }

    .site-header .main-nav,
    .pm-header .main-nav,
    header .main-nav {
        display: none !important;
    }

    .site-header .pm-header-tabs,
    .site-header .pm-header-auth,
    .pm-header .pm-header-tabs,
    .pm-header .pm-header-auth,
    header .pm-header-tabs,
    header .pm-header-auth {
        display: none !important;
    }

    .site-header .header-search-slot,
    .pm-header .header-search-slot,
    header .header-search-slot {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        grid-column: 2 !important;
        grid-row: 1 !important;
        justify-self: stretch !important;
    }

    .site-header .header-search-slot .pm-header-search,
    .pm-header .header-search-slot .pm-header-search,
    header .header-search-slot .pm-header-search {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        height: 42px !important;
    }

    .site-header .mobile-menu-toggle,
    .pm-header .mobile-menu-toggle,
    header .mobile-menu-toggle {
        display: inline-flex !important;
        grid-column: 3 !important;
        grid-row: 1 !important;
        justify-self: end !important;
        align-self: center !important;
        margin: 0 !important;
    }

    .site-header .header-logo,
    .site-header .logo,
    .site-header .logo-link,
    .pm-header .header-logo,
    .pm-header .logo,
    .pm-header .logo-link,
    header .header-logo,
    header .logo,
    header .logo-link {
        grid-column: 1 !important;
        grid-row: 1 !important;
        justify-self: start !important;
        align-self: center !important;
    }
}

@media (max-width: 520px) {
    .site-header .header-inner,
    .pm-header .header-inner,
    header .header-inner {
        grid-template-columns: 42px minmax(0, 1fr) 42px !important;
        column-gap: 8px !important;
    }

    .site-header .header-search-slot .pm-header-search-input,
    .pm-header .header-search-slot .pm-header-search-input,
    header .header-search-slot .pm-header-search-input {
        font-size: 12px !important;
    }

    .site-header .header-search-slot .pm-header-search-button,
    .pm-header .header-search-slot .pm-header-search-button,
    header .header-search-slot .pm-header-search-button {
        padding-left: 10px !important;
        padding-right: 10px !important;
        font-size: 11px !important;
    }
}
/* END PM MOBILE HEADER FIX AFTER SEPARATED NAV */






/* PM AUTO-FIT HEADER MENU */
@media (min-width: 701px) {
    body:not(.pm-header-menu-collapsed) .main-nav {
        display: flex !important;
    }

    body:not(.pm-header-menu-collapsed) .pm-header-tabs,
    body:not(.pm-header-menu-collapsed) .pm-header-auth {
        display: inline-flex !important;
    }

    body:not(.pm-header-menu-collapsed) .mobile-menu-toggle {
        display: none !important;
    }
}

body.pm-header-menu-collapsed .main-nav,
body.pm-header-menu-collapsed .pm-header-tabs,
body.pm-header-menu-collapsed .pm-header-auth {
    display: none !important;
}

body.pm-header-menu-collapsed .mobile-menu-toggle {
    display: inline-flex !important;
}

@media (max-width: 700px) {
    .main-nav,
    .pm-header-tabs,
    .pm-header-auth {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: inline-flex !important;
    }
}
/* END PM AUTO-FIT HEADER MENU */


    /* Prematcher mobile panel scrollbar logo colours */
    @media (max-width: 1024px) {
        .mobile-menu-panel {
            scrollbar-width: auto;
            scrollbar-color: auto;
        }

        .mobile-menu-panel::-webkit-scrollbar {
            width: 15px;
            background: #13294b;
        border-radius: 999px;
    }

        .mobile-menu-panel::-webkit-scrollbar-track {
            background: #13294b;
            border-radius: 999px;
        }

        .mobile-menu-panel::-webkit-scrollbar-thumb {
            background: #9d2235;
            border: 2px solid #ffffff;
            border-radius: 999px;
            background-clip: padding-box;
        }

        .mobile-menu-panel::-webkit-scrollbar-thumb:hover {
            background: #9d2235;
            border: 2px solid #ffffff;
            border-radius: 999px;
            background-clip: padding-box;
        }
    }


    .site-shell > .sidebar-leagues::-webkit-scrollbar-corner,
    .mobile-menu-panel::-webkit-scrollbar-corner {
        background: #13294b;
        border-radius: 999px;
    }


/* PM FIX: header search radius 6px and no visible search button */
.site-header .pm-header-search,
.pm-header .pm-header-search,
header .pm-header-search {
    border-radius: 6px !important;
}

.site-header .pm-header-search-button,
.pm-header .pm-header-search-button,
header .pm-header-search-button {
    display: none !important;
}

.site-header .pm-header-search-input,
.pm-header .pm-header-search-input,
header .pm-header-search-input {
    padding-right: 14px !important;
}
/* END PM FIX: header search radius 6px and no visible search button */

/* PM UX: header search borderless shadow 2026-09-05 START */

/*
 * Visual-only treatment for the global header search.
 *
 * The inner input already has no border.
 * Remove the visible outer form border and replace it with
 * a subtle Prematcher navy shadow.
 *
 * Search behaviour, autocomplete, sizing and responsive layout
 * remain untouched.
 */
.site-header .pm-header-search,
.pm-header .pm-header-search,
header .pm-header-search {
    border: 0 !important;
    border-radius: 6px !important;

    box-shadow:
        0 4px 14px rgba(19, 41, 75, 0.12) !important;
}

/*
 * Retain a clear keyboard/focus state without restoring a border.
 */
.site-header .pm-header-search:focus-within,
.pm-header .pm-header-search:focus-within,
header .pm-header-search:focus-within {
    border: 0 !important;

    box-shadow:
        0 0 0 3px rgba(19, 41, 75, 0.07),
        0 5px 16px rgba(19, 41, 75, 0.14) !important;
}

/* PM UX: header search borderless shadow 2026-09-05 END */

/* PM UX: header search placeholder unbold 2026-09-05 START */

/*
 * Visual-only typography refinement for the global header search.
 *
 * Goal:
 * - make the placeholder text look less bold
 * - slightly soften entered text too
 *
 * Search logic, autocomplete, layout and sizing remain unchanged.
 */
.site-header .pm-header-search-input,
.pm-header .pm-header-search-input,
header .pm-header-search-input {
    font-weight: 500 !important;
}

.site-header .pm-header-search-input::placeholder,
.pm-header .pm-header-search-input::placeholder,
header .pm-header-search-input::placeholder {
    font-weight: 400 !important;
}

/* PM UX: header search placeholder unbold 2026-09-05 END */

/* PM UX: header search icon burgundy 2026-09-05 START */

/*
 * Visual-only search icon colour.
 *
 * Use Prematcher accent burgundy exactly.
 * Opacity is forced to 1 so #9d2235 is not visually diluted.
 * Search input, autocomplete and behaviour remain untouched.
 */
.site-header .pm-header-search-icon,
.pm-header .pm-header-search-icon,
header .pm-header-search-icon {
    color: #9d2235 !important;
    opacity: 1 !important;
}

/* PM UX: header search icon burgundy 2026-09-05 END */

/* PM UX: desktop active nav no blue fill 2026-09-05 START */

/*
 * HOME / NEWS active state:
 * remove only the navy filled tab appearance.
 *
 * Keep:
 * - active class logic
 * - navy text
 * - existing burgundy ::after underline
 * - normal navigation behaviour
 *
 * Auth buttons and mobile navigation are intentionally excluded.
 */
.site-header .main-nav > a.active:not(.pm-auth-nav-link),
.pm-header .main-nav > a.active:not(.pm-auth-nav-link),
header .main-nav > a.active:not(.pm-auth-nav-link) {
    background: transparent !important;
    color: var(--pm-brand-navy) !important;
    box-shadow: none !important;
}

.site-header .main-nav > a.active:not(.pm-auth-nav-link):hover,
.pm-header .main-nav > a.active:not(.pm-auth-nav-link):hover,
header .main-nav > a.active:not(.pm-auth-nav-link):hover {
    background: transparent !important;
    color: var(--pm-brand-navy) !important;
    box-shadow: none !important;
}

/* PM UX: desktop active nav no blue fill 2026-09-05 END */

/* PM UX: My Account header link no box 2026-09-05 START */

/*
 * Make the desktop My Account link visually consistent with
 * HOME / NEWS:
 *
 * - no white rectangle
 * - no border
 * - no box-shadow
 * - navy text retained
 * - existing active burgundy underline retained
 *
 * Logout and all other authentication links are untouched.
 */
.site-header .main-nav > a.pm-auth-account,
.site-header .main-nav > a.pm-auth-account:visited,
.site-header .main-nav > a.pm-auth-account:hover,
.site-header .main-nav > a.pm-auth-account:focus,
.pm-header .main-nav > a.pm-auth-account,
.pm-header .main-nav > a.pm-auth-account:visited,
.pm-header .main-nav > a.pm-auth-account:hover,
.pm-header .main-nav > a.pm-auth-account:focus,
header .main-nav > a.pm-auth-account,
header .main-nav > a.pm-auth-account:visited,
header .main-nav > a.pm-auth-account:hover,
header .main-nav > a.pm-auth-account:focus {
    background: transparent !important;
    border: 0 !important;
    color: var(--pm-brand-navy) !important;
    box-shadow: none !important;
    transform: none !important;
}

.site-header .main-nav > a.pm-auth-account.active,
.site-header .main-nav > a.pm-auth-account.active:hover,
.site-header .main-nav > a.pm-auth-account.active:focus,
.pm-header .main-nav > a.pm-auth-account.active,
.pm-header .main-nav > a.pm-auth-account.active:hover,
.pm-header .main-nav > a.pm-auth-account.active:focus,
header .main-nav > a.pm-auth-account.active,
header .main-nav > a.pm-auth-account.active:hover,
header .main-nav > a.pm-auth-account.active:focus {
    background: transparent !important;
    border: 0 !important;
    color: var(--pm-brand-navy) !important;
    box-shadow: none !important;
    transform: none !important;
}

/* PM UX: My Account header link no box 2026-09-05 END */

/* PM UX: mobile hamburger colours refined 2026-09-05 START */

/*
 * Mobile hamburger visual treatment only:
 * - navy border
 * - white background
 * - burgundy three-line icon
 */
.site-header .mobile-menu-toggle,
.pm-header .mobile-menu-toggle,
header .mobile-menu-toggle {
    border-color: #13294b !important;
    background: #ffffff !important;
}

.site-header .mobile-menu-toggle span,
.site-header .mobile-menu-toggle span::before,
.site-header .mobile-menu-toggle span::after,
.pm-header .mobile-menu-toggle span,
.pm-header .mobile-menu-toggle span::before,
.pm-header .mobile-menu-toggle span::after,
header .mobile-menu-toggle span,
header .mobile-menu-toggle span::before,
header .mobile-menu-toggle span::after {
    background: #9d2235 !important;
}

/* PM UX: mobile hamburger colours refined 2026-09-05 END */

/* PM UX: mobile hamburger border thickness matches icon lines 2026-09-05 START */

/*
 * Match the outer hamburger button border thickness to the
 * hamburger icon line thickness.
 *
 * The icon bars are 2px high, so the button border becomes 2px.
 * Colours and behaviour remain unchanged.
 */
.site-header .mobile-menu-toggle,
.pm-header .mobile-menu-toggle,
header .mobile-menu-toggle {
    border-width: 2px !important;
    border-style: solid !important;
}

/* PM UX: mobile hamburger border thickness matches icon lines 2026-09-05 END */

/* PM UX: hamburger-mode header logo size refinement 2026-09-05 START */

/*
 * Enlarge the main Prematcher header logo only while the
 * hamburger-navigation layout is active.
 *
 * Existing hamburger breakpoint: <=1250px.
 *
 * UX sizing:
 * <=1250px : 48px
 * <=768px  : 44px
 * <=480px  : 40px
 * <=380px  : 38px
 *
 * Desktop >1250px remains untouched.
 */
@media (max-width: 1250px) {
    .site-header .header-inner > .logo img {
        height: 48px !important;
        width: auto !important;
        object-fit: contain !important;
    }
}

@media (max-width: 768px) {
    .site-header .header-inner > .logo img {
        height: 44px !important;
    }
}

@media (max-width: 480px) {
    .site-header .header-inner > .logo img {
        height: 40px !important;
    }
}

@media (max-width: 380px) {
    .site-header .header-inner > .logo img {
        height: 38px !important;
    }
}

/* PM UX: hamburger-mode header logo size refinement 2026-09-05 END */












/* PM FIX: header buttons and tabs use 6px radius */
.site-header .main-nav,
.pm-header .main-nav,
header .main-nav,
.site-header .pm-header-tabs,
.site-header .pm-header-auth,
.pm-header .pm-header-tabs,
.pm-header .pm-header-auth,
header .pm-header-tabs,
header .pm-header-auth {
    border-radius: 6px !important;
}

.site-header .main-nav a,
.pm-header .main-nav a,
header .main-nav a,
.site-header .pm-header-tabs a,
.site-header .pm-header-auth a,
.pm-header .pm-header-tabs a,
.pm-header .pm-header-auth a,
header .pm-header-tabs a,
header .pm-header-auth a,
.site-header .pm-auth-nav-link,
.pm-header .pm-auth-nav-link,
header .pm-auth-nav-link {
    border-radius: 6px !important;
}

.site-header .mobile-menu-toggle,
.pm-header .mobile-menu-toggle,
header .mobile-menu-toggle,
.mobile-menu-close,
.mobile-menu-nav a,
.mobile-menu-nav .pm-auth-mobile-link {
    border-radius: 6px !important;
}
/* END PM FIX: header buttons and tabs use 6px radius */

/* PM HEADER SOURCE BLOCK 03 */
.pm-fixture-split-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        width: 100% !important;
    }
    .pm-fixture-split-col {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }
    @media (min-width: 992px) {
        .pm-fixture-split-container {
            flex-direction: row !important;
            align-items: flex-start !important;
        }
        .pm-fixture-split-col {
            flex: 1 !important;
            min-width: 0 !important;
        }
    }

/* PM HEADER SOURCE BLOCK 04 */
/* 1. Season Intervals (Bottom Table) */
    body .fixture-season-intervals .season-cell {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        min-height: 58px !important;
        padding: 4px 0 0 0 !important;
        height: auto !important;
        grid-template-rows: none !important;
        grid-template-columns: none !important;
    }
    body .fixture-season-intervals .season-total {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 1 !important;
        font-size: 15px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
        width: 100% !important;
        height: auto !important;
    }
    body .fixture-season-intervals .season-ratio {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        background: rgba(255, 255, 255, 0.3) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.5) !important;
        padding: 4px 0 !important;
        height: auto !important;
        min-height: auto !important;
        gap: 0 !important;
        grid-template-columns: none !important;
        grid-template-rows: none !important;
    }
    body .fixture-season-intervals .season-ratio-count {
        display: block !important;
        font-size: 9px !important;
        line-height: 1.1 !important;
        text-align: center !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        font-weight: 600 !important;
    }
    body .fixture-season-intervals .season-ratio-percent {
        display: block !important;
        line-height: 1.1 !important;
        text-align: center !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        font-size: 11.5px !important;
        font-weight: 900 !important;
    }
    body .fixture-season-intervals .season-ratio-separator {
        display: block !important;
        width: 100% !important;
        height: 1px !important;
        min-height: 1px !important;
        background: rgba(255, 255, 255, 0.9) !important;
        margin: 2px 0 !important;
        flex: none !important;
    }
    
    /* 2. Match Intervals (Top Table) */
    body .fixture-match-intervals .intervals-table {
        border-spacing: 6px !important;
        border-collapse: separate !important;
    }
    body .fixture-match-intervals .intervals-table td {
        padding: 0 !important;
        height: 46px !important; 
    }
    body .fixture-match-intervals .interval-cell {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 46px !important;
        border-radius: 4px !important; 
        box-sizing: border-box !important;
        margin: 0 !important;
        font-weight: 800 !important;
        font-size: 13px !important;
    }

/* PM HEADER SOURCE BLOCK 05 */
/* Force identical sizes and add horizontal scroll */
    body .pm-match-history .fixture-season-intervals .intervals-table,
    body .pm-match-history .fixture-match-intervals .intervals-table {
        width: 100% !important;
        min-width: 580px !important;
        border-spacing: 4px !important;
        border-collapse: separate !important;
        table-layout: fixed !important;
    }
    body .pm-match-history .intervals-body {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding-bottom: 6px !important;
    }
    
    /* Mirror the bottom table exact dimensions */
    body .pm-match-history .fixture-season-intervals .season-cell {
        min-height: 58px !important;
        height: 58px !important;
        padding: 4px 0 0 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }
    body .pm-match-history .fixture-season-intervals .season-total {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 1 !important;
        font-size: 15px !important;
        font-weight: 800 !important;
    }
    body .pm-match-history .fixture-season-intervals .season-ratio {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        background: rgba(255, 255, 255, 0.3) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.5) !important;
        padding: 4px 0 !important;
        gap: 0 !important;
    }
    body .pm-match-history .fixture-season-intervals .season-ratio-count {
        display: block !important;
        font-size: 9px !important;
        font-weight: 600 !important;
        line-height: 1.1 !important;
        text-align: center !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    body .pm-match-history .fixture-season-intervals .season-ratio-percent {
        display: block !important;
        font-size: 11.5px !important;
        font-weight: 900 !important;
        line-height: 1.1 !important;
        text-align: center !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    body .pm-match-history .fixture-season-intervals .season-ratio-separator {
        display: block !important;
        width: 100% !important;
        height: 1px !important;
        min-height: 1px !important;
        background: rgba(255, 255, 255, 0.9) !important;
        margin: 2px 0 !important;
        flex: none !important;
    }

    /* Mirror the top table exact dimensions */
    body .pm-match-history .fixture-match-intervals .intervals-table td {
        padding: 0 !important;
        height: 46px !important; 
    }
    body .pm-match-history .fixture-match-intervals .interval-cell {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 46px !important;
        border-radius: 4px !important; 
        box-sizing: border-box !important;
        margin: 0 !important;
        font-weight: 800 !important;
        font-size: 13px !important;
    }

/* PM HEADER SOURCE BLOCK 06 */
body .fixture-season-intervals .season-cell,
    body .pm-match-history .fixture-season-intervals .season-cell {
        align-items: center !important;
        text-align: center !important;
    }
    
    body .fixture-season-intervals .season-total,
    body .fixture-season-intervals .season-ratio {
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }
    
    body .fixture-season-intervals .season-ratio-count,
    body .fixture-season-intervals .season-ratio-percent {
        text-align: center !important;
        display: block !important;
        width: 100% !important;
    }

/* PM HEADER SOURCE BLOCK 07 */
/* Force the flex containers to align their children to the center */
    body .pm-match-history .fixture-season-intervals .season-cell,
    body .pm-match-history .fixture-season-intervals .season-ratio,
    body .pm-match-history .fixture-season-intervals .season-total {
        align-items: center !important;
        text-align: center !important;
    }
    
    /* Force the actual text spans to center themselves within the full width */
    body .pm-match-history .fixture-season-intervals .season-ratio-count,
    body .pm-match-history .fixture-season-intervals .season-ratio-percent {
        text-align: center !important;
        display: block !important;
        width: 100% !important;
        margin: 0 auto !important;
    }

/* PM HEADER SOURCE BLOCK 08 */
/* PM FIX: header logo true grid-column centering 2026-09-02 START */
/*
 * Existing responsive header rules use justify-self:start on .logo.
 * That shrinks the grid item to the logo itself, so justify-content:center
 * has no usable column width.
 *
 * Stretch only the logo grid item across its already-defined first column,
 * then center the logo inside that column.
 *
 * Existing grid widths remain untouched:
 * - desktop/sidebar: 280px
 * - collapsed/tablet: 76px / 64px
 * - mobile: 46px / 42px
 */
.site-header .header-inner > .logo {
    justify-self: stretch !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
}

.site-header .header-inner > .logo > a {
    margin-left: auto !important;
    margin-right: auto !important;
}
/* PM FIX: header logo true grid-column centering 2026-09-02 END */

/* PM UX: hamburger header outer controls perfect centering 2026-09-05 START */

/*
 * Final hamburger-mode outer-control alignment.
 *
 * Goal:
 * - logo and hamburger share the exact same vertical center line;
 * - both are centered inside their respective outer grid columns;
 * - the hamburger's 2px border stays inside its declared dimensions;
 * - responsive logo/button sizes remain unchanged.
 *
 * No pixel translate/nudge is used.
 */
@media (max-width: 1250px) {
    .site-header .header-inner {
        align-items: center !important;
    }

    .site-header .header-inner > .logo {
        align-self: center !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 100% !important;
        min-width: 0 !important;

        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .site-header .header-inner > .logo > a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        line-height: 0 !important;

        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .site-header .header-inner > .logo img {
        display: block !important;

        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .site-header .mobile-menu-toggle {
        align-self: center !important;
        justify-self: center !important;

        box-sizing: border-box !important;

        margin: 0 !important;
    }
}

/* PM UX: hamburger header outer controls perfect centering 2026-09-05 END */

/* PM UX: mobile menu plain navigation rows 2026-09-05 START */

/*
 * Collapsed/tablet/mobile navigation only.
 *
 * Remove the individual card/button surfaces around:
 * HOME / UPDATES / account / auth links.
 *
 * Preserve:
 * - full clickable links
 * - menu drawer structure
 * - active-page indicator
 * - hover feedback
 * - Leagues section
 * - close button
 * - menu JS
 */
@media (max-width: 1250px) {

    .mobile-menu-nav {
        gap: 0 !important;
    }

    .mobile-menu-nav a,
    .mobile-menu-nav a:hover,
    .mobile-menu-nav a.active,
    .mobile-menu-nav a.active:hover {
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        transform: none !important;
        color: #13294b !important;
        padding: 13px 0 !important;
    }

    /*
     * Give every row an underline hook.
     * Non-active hover uses the light red hover line.
     * Active keeps the normal stronger red line.
     */
    .mobile-menu-nav a::after {
        content: "" !important;
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 4px !important;
        height: 3px !important;
        border-radius: 999px !important;
        background: rgba(157, 34, 53, 0.28) !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transition: opacity 0.18s ease !important;
    }

    .mobile-menu-nav a:not(.active):hover::after,
    .mobile-menu-nav a:not(.active):focus-visible::after {
        opacity: 1 !important;
    }

    /*
     * Preserve active-page identification without a filled box.
     */
    .mobile-menu-nav a.active::after {
        opacity: 1 !important;
        background: var(--pm-brand-red) !important;
    }
}

/* PM UX: mobile menu plain navigation rows 2026-09-05 END */

/* PM HEADER SOURCE BLOCK 09 */
@media (min-width: 1201px) {
    .site-header .header-inner,
    header .header-inner,
    .header-inner {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: clamp(18px, 1.5vw, 28px) !important;
        padding-right: clamp(18px, 1.5vw, 28px) !important;
    }

    .site-shell {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        grid-template-columns: 280px minmax(0, 1fr) !important;
        gap: 24px !important;
        padding-left: clamp(18px, 1.5vw, 28px) !important;
        padding-right: clamp(18px, 1.5vw, 28px) !important;
    }

    .site-shell > .site-main,
    .site-main,
    .tm-page,
    .tm-matches-list {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
    }

    .tm-matches-list .pm-match-card,
    .tm-matches-list .pm-match-card-inner,
    .tm-matches-list .pm-match-dropdown {
        width: 100% !important;
        max-width: none !important;
    }
}

/* PM HEADER SOURCE BLOCK 10 */
/* PM RESPONSIVE: prevent collapsed/tablet page squeeze 2026-07-06
   Fix the window width where the sidebar/hamburger state is collapsed but content remains squeezed.
   Scope: shared public layout wrappers only.
*/
@media (max-width: 1250px) {
    .site-shell {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100% !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
        gap: 0 !important;
    }

    .site-shell > .sidebar-leagues {
        display: none !important;
    }

    .site-shell > .site-main,
    .site-shell > main.site-main {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Same protection when JS/body state says the header menu is collapsed. */
body.pm-header-menu-collapsed .site-shell {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    gap: 0 !important;
}

body.pm-header-menu-collapsed .site-shell > .sidebar-leagues {
    display: none !important;
}

body.pm-header-menu-collapsed .site-shell > .site-main,
body.pm-header-menu-collapsed .site-shell > main.site-main {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media (max-width: 700px) {
    .site-shell,
    body.pm-header-menu-collapsed .site-shell {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}
/* PM RESPONSIVE END: prevent collapsed/tablet page squeeze 2026-07-06 */

