/* Extracted from resources/views/pages/league.blade.php */

/* =========================================================
       LEAGUE PAGE - GREEN PRO DESIGN LIKE REFERENCE IMAGE
    ========================================================= */
    .h2h-dashboard-layout {
        background:
            radial-gradient(circle at 50% -10%, rgba(0, 255, 55, .11), transparent 34%),
            linear-gradient(180deg, #020802 0%, #010501 100%) !important;
        color: #eaffee;
    }

    .h2h-main {
        padding: 18px 14px 26px !important;
    }

    .h2h-card {
        background: linear-gradient(180deg, rgba(0, 37, 11, .88), rgba(0, 18, 6, .94)) !important;
        border: 1px solid rgba(0, 255, 72, .17) !important;
        border-radius: 14px !important;
        box-shadow:
            0 0 0 1px rgba(0, 255, 72, .04),
            0 0 28px rgba(0, 255, 72, .07),
            inset 0 1px 0 rgba(255,255,255,.035) !important;
    }

    .h2h-league-breadcrumbs {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 0 0 12px;
        color: rgba(217, 255, 224, .58);
        font-size: 12px;
        font-weight: 800;
    }

    .h2h-league-breadcrumbs a {
        color: rgba(217,255,224,.75);
    }

    .h2h-league-hero {
        position: relative;
        overflow: hidden;
        min-height: 160px;
        padding: 18px 18px 18px !important;
        margin-bottom: 14px !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1.2fr) minmax(430px, .95fr);
        align-items: stretch !important;
        gap: 18px !important;
        background:
            radial-gradient(circle at 86% 52%, rgba(0, 255, 72, .18), transparent 28%),
            radial-gradient(circle at 12% 18%, rgba(0, 255, 72, .11), transparent 26%),
            linear-gradient(135deg, rgba(2, 32, 10, .98), rgba(0, 8, 3, .97)) !important;
    }

    .h2h-league-hero::after {
        content: "";
        position: absolute;
        right: -80px;
        top: -80px;
        width: 260px;
        height: 260px;
        border-radius: 999px;
        background: radial-gradient(circle, rgba(0,255,72,.22), transparent 65%);
        pointer-events: none;
    }

    .h2h-league-title-row {
        position: relative;
        z-index: 2;
        display: flex;
        align-items: center;
        gap: 18px;
    }

    .h2h-league-logo-stage {
        width: 112px;
        height: 112px;
        flex: 0 0 112px;
        border-radius: 22px;
        display: grid;
        place-items: center;
        background:
            radial-gradient(circle at 50% 18%, rgba(0,255,72,.22), transparent 45%),
            rgba(0,0,0,.32);
        border: 1px solid rgba(0,255,72,.28);
        box-shadow: 0 0 26px rgba(0,255,72,.17), inset 0 0 20px rgba(0,255,72,.05);
    }

    .h2h-league-logo-lg {
        width: 84px;
        height: 84px;
        object-fit: contain;
        border-radius: 18px;
        background: rgba(255,255,255,.04);
        padding: 8px;
        filter: drop-shadow(0 12px 16px rgba(0,0,0,.55));
    }

    .h2h-league-title {
        margin: 0;
        color: #ffffff;
        font-size: clamp(29px, 3vw, 42px);
        line-height: 1.02;
        font-weight: 1000;
        letter-spacing: -1.4px;
        text-shadow: 0 0 18px rgba(0,255,72,.17);
    }

    .h2h-league-country-line {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 7px;
        margin-top: 8px;
        color: rgba(226,255,232,.78);
        font-size: 13px;
        font-weight: 850;
    }

    .h2h-league-subtitle {
        max-width: 540px;
        margin: 12px 0 0;
        color: rgba(226,255,232,.62);
        font-size: 13px;
        font-weight: 650;
        line-height: 1.55;
    }

    .h2h-league-season-form {
        margin-top: 14px;
    }

    .h2h-league-season-select {
        height: 36px;
        min-width: 180px;
        padding: 0 13px;
        color: #eaffee;
        background: rgba(0,0,0,.38);
        border: 1px solid rgba(0,255,72,.22);
        border-radius: 9px;
        font-weight: 900;
        outline: none;
    }

    .h2h-league-hero-stats {
        position: relative;
        z-index: 2;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
        align-content: center;
    }

    .h2h-league-hero-stat {
        min-height: 92px;
        padding: 14px 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        text-align: center;
        border-radius: 12px;
        background: rgba(0,0,0,.26);
        border: 1px solid rgba(0,255,72,.18);
        box-shadow: inset 0 0 18px rgba(0,255,72,.035);
    }

    .h2h-league-hero-stat i {
        color: #d9467a;
        font-size: 19px;
        margin-bottom: 3px;
    }

    .h2h-league-hero-stat strong {
        color: #ffffff;
        font-size: 24px;
        line-height: 1;
        font-weight: 1000;
    }

    .h2h-league-hero-stat span {
        color: #26ff56;
        font-size: 11px;
        font-weight: 1000;
        text-transform: uppercase;
        line-height: 1.15;
    }

    .h2h-league-hero-stat small {
        color: rgba(226,255,232,.58);
        font-size: 10px;
        font-weight: 800;
    }

    .h2h-stats-grid {
        display: none !important;
    }

    .h2h-league-tabs-card {
        padding: 8px !important;
        margin-bottom: 14px !important;
        background: rgba(0, 12, 4, .94) !important;
    }

    .h2h-tabs {
        display: flex;
        align-items: center;
        gap: 0;
        flex-wrap: wrap;
    }

    .h2h-tab {
        min-height: 36px;
        padding: 0 24px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: rgba(226,255,232,.72);
        font-size: 12px;
        font-weight: 1000;
        background: rgba(255,255,255,.02);
        border: 1px solid rgba(255,255,255,.06);
        border-right: 0;
        text-decoration: none;
    }

    .h2h-tab:first-child {
        border-radius: 8px 0 0 8px;
    }

    .h2h-tab:last-child {
        border-right: 1px solid rgba(255,255,255,.06);
        border-radius: 0 8px 8px 0;
    }

    .h2h-tab.active {
        color: #fff !important;
        background: linear-gradient(180deg, rgba(0,255,72,.30), rgba(0,120,27,.50)) !important;
        border-color: rgba(0,255,72,.42) !important;
        box-shadow: 0 0 16px rgba(0,255,72,.18) !important;
    }

    .h2h-league-section {
        padding: 16px !important;
        margin-bottom: 14px !important;
    }

    .h2h-card-title {
        margin: 0 0 14px;
        color: #ffffff;
        font-size: 18px;
        font-weight: 1000;
        letter-spacing: -.25px;
    }

    .h2h-section-subtitle {
        color: rgba(226,255,232,.55);
        font-size: 12px;
        font-weight: 750;
        margin-top: -8px;
        margin-bottom: 14px;
    }

    .h2h-table-wrap,
    .h2h-standings-wrap {
        overflow-x: auto;
        border: 1px solid rgba(0,255,72,.10);
        border-radius: 12px;
        background: rgba(0,0,0,.16);
    }

    .h2h-table,
    .h2h-standings-table {
        width: 100%;
        min-width: 780px;
        border-collapse: collapse;
    }

    .h2h-table th,
    .h2h-standings-table th {
        height: 38px;
        padding: 0 12px;
        color: rgba(226,255,232,.52);
        font-size: 10px;
        font-weight: 1000;
        text-align: left;
        text-transform: uppercase;
        letter-spacing: .06em;
        background: rgba(0,0,0,.28);
        border-bottom: 1px solid rgba(0,255,72,.11);
    }

    .h2h-table th.center,
    .h2h-standings-table th.center,
    .h2h-table td.center,
    .h2h-standings-table td {
        text-align: center;
    }

    .h2h-table td,
    .h2h-standings-table td {
        padding: 9px 12px;
        color: rgba(236,255,240,.87);
        font-size: 13px;
        font-weight: 850;
        border-bottom: 1px solid rgba(0,255,72,.075);
    }

    .h2h-table tr:hover td,
    .h2h-standings-table tr:hover td {
        background: rgba(0,255,72,.035);
    }

    .h2h-match-cell {
        min-width: 310px;
    }

    .h2h-team-line {
        display: grid !important;
        grid-template-columns: 28px minmax(0, 1fr) 32px !important;
        align-items: center !important;
        gap: 8px !important;
        min-height: 28px;
    }

    .h2h-team-logo {
        width: 24px;
        height: 24px;
        object-fit: contain;
        justify-self: center;
        border-radius: 6px;
        background: rgba(255,255,255,.04);
    }

    .h2h-score {
        width: 32px !important;
        min-width: 32px !important;
        height: 22px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        justify-self: center !important;
        color: #25ff55 !important;
        font-size: 15px !important;
        font-weight: 1000 !important;
        line-height: 1 !important;
    }

    .h2h-time {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 48px;
        min-height: 24px;
        padding: 0 8px;
        color: #25ff55;
        font-size: 12px;
        font-weight: 1000;
        border-radius: 999px;
    }

    .h2h-time.live,
    .h2h-time.half,
    [data-league-live-time].live,
    [data-league-live-time].half {
        color: #ff3131 !important;
        background: rgba(255, 49, 49, .08) !important;
        text-shadow: 0 0 14px rgba(255,49,49,.9) !important;
        animation: leagueLiveBlink .75s infinite !important;
    }

    .h2h-time.finished,
    [data-league-live-time].finished {
        color: #d7dde0 !important;
        background: rgba(255,255,255,.08);
        animation: none !important;
        text-shadow: none !important;
    }

    @keyframes leagueLiveBlink {
        0%,100% { opacity: 1; }
        50% { opacity: .36; }
    }

    .h2h-status-pill,
    .h2h-best-tip {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 82px;
        min-height: 34px;
        padding: 7px 12px;
        color: #d9467a;
        font-size: 12px;
        font-weight: 1000;
        border-radius: 8px;
        background: rgba(0,255,72,.10);
        border: 1px solid rgba(0,255,72,.22);
    }

    .h2h-best-tip {
        flex-direction: column;
        gap: 2px;
        min-width: 92px;
    }

    .h2h-best-tip strong {
        color: #ffffff;
        font-weight: 1000;
    }

    .h2h-best-tip span {
        color: #d9467a;
        font-size: 12px;
        font-weight: 1000;
    }

    .h2h-empty {
        padding: 26px;
        color: rgba(226,255,232,.58);
        text-align: center;
        font-weight: 900;
        border: 1px dashed rgba(0,255,72,.20);
        border-radius: 12px;
        background: rgba(0,0,0,.22);
    }

    .h2h-league-kpi-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
        margin-bottom: 16px;
    }

    .h2h-league-kpi {
        padding: 16px;
        border-radius: 12px;
        background: rgba(0,0,0,.24);
        border: 1px solid rgba(0,255,72,.12);
    }

    .h2h-league-kpi span {
        display: block;
        color: rgba(226,255,232,.58);
        font-size: 11px;
        font-weight: 1000;
        text-transform: uppercase;
    }

    .h2h-league-kpi strong {
        display: block;
        margin-top: 8px;
        color: #fff;
        font-size: 26px;
        line-height: 1;
        font-weight: 1000;
    }

    .h2h-standings-table {
        min-width: 850px;
    }

    .h2h-team-cell-link {
        display: flex;
        align-items: center;
        gap: 10px;
        color: #fff;
        font-weight: 1000;
    }

    .h2h-rank-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        border-radius: 8px;
        color: #d9467a;
        background: rgba(0,255,72,.1);
        border: 1px solid rgba(0,255,72,.22);
        font-weight: 1000;
    }

    .h2h-form-list {
        display: flex;
        justify-content: center;
        gap: 4px;
    }

    .h2h-form-badge {
        width: 22px;
        height: 22px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        color: #fff;
        font-size: 11px;
        font-weight: 1000;
        background: rgba(255,255,255,.12);
    }

    .h2h-form-win { background: #159f32; }
    .h2h-form-draw { background: #6b7280; }
    .h2h-form-loss { background: #c92a2a; }

    .h2h-ranking-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .h2h-ranking-card {
        padding: 16px;
        border-radius: 12px;
        background: rgba(0,0,0,.24);
        border: 1px solid rgba(0,255,72,.12);
    }

    .h2h-ranking-head,
    .h2h-section-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 12px;
    }

    .h2h-ranking-head h3 {
        margin: 0;
        color: #fff;
        font-size: 16px;
        font-weight: 1000;
    }

    .h2h-ranking-chip {
        color: #d9467a;
        font-size: 11px;
        font-weight: 1000;
        text-transform: uppercase;
    }

    .h2h-ranking-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 0;
        border-bottom: 1px solid rgba(0,255,72,.08);
    }

    .h2h-ranking-left {
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .h2h-ranking-pos {
        width: 28px;
        height: 28px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        color: #d9467a;
        background: rgba(0,255,72,.1);
        border: 1px solid rgba(0,255,72,.22);
        font-weight: 1000;
        font-size: 12px;
    }

    .h2h-ranking-avatar {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        overflow: hidden;
        background: rgba(255,255,255,.08);
        display: grid;
        place-items: center;
        color: #fff;
        font-weight: 1000;
        flex: 0 0 auto;
    }

    .h2h-ranking-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .h2h-ranking-name {
        color: #fff;
        font-size: 13px;
        font-weight: 900;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .h2h-ranking-team {
        color: rgba(226,255,232,.55);
        font-size: 12px;
        font-weight: 700;
        margin-top: 2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .h2h-ranking-value {
        min-width: 44px;
        text-align: right;
        color: #d9467a;
        font-size: 18px;
        font-weight: 1000;
    }



    /* =========================================================
       LEAGUE PREDICTIONS TAB - WIDE TABLE + RIGHT SIDEBAR
    ========================================================= */
    .h2h-league-predictions-section {
        padding: 16px !important;
        margin-bottom: 14px !important;
        overflow: hidden;
    }

    .h2h-league-section-head {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 14px;
        margin-bottom: 16px;
    }

    .h2h-league-auto-update {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        color: rgba(226,255,232,.62);
        font-size: 11px;
        font-weight: 900;
        white-space: nowrap;
    }

    .h2h-league-auto-update::before {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 999px;
        background: #d9467a;
        box-shadow: 0 0 14px rgba(35,255,85,.8);
    }

    .h2h-league-pred-kpis {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
        margin-bottom: 16px;
    }

    .h2h-league-pred-kpi {
        min-height: 88px;
        padding: 14px;
        display: flex;
        align-items: center;
        gap: 13px;
        border-radius: 12px;
        background: rgba(0,0,0,.22);
        border: 1px solid rgba(0,255,72,.13);
        box-shadow: inset 0 0 18px rgba(0,255,72,.035);
    }

    .h2h-league-pred-kpi.is-best {
        border-color: rgba(0,255,72,.48);
        background: linear-gradient(135deg, rgba(0,255,72,.14), rgba(0,0,0,.22));
        box-shadow: 0 0 22px rgba(0,255,72,.12), inset 0 0 18px rgba(0,255,72,.05);
    }

    .h2h-pred-kpi-icon {
        width: 48px;
        height: 48px;
        flex: 0 0 48px;
        display: grid;
        place-items: center;
        border-radius: 999px;
        color: #d9467a;
        background: rgba(0,255,72,.10);
        border: 1px solid rgba(0,255,72,.24);
        font-size: 18px;
    }

    .h2h-league-pred-kpi small {
        display: block;
        color: rgba(226,255,232,.62);
        font-size: 10px;
        font-weight: 1000;
        text-transform: uppercase;
        letter-spacing: .04em;
    }

    .h2h-league-pred-kpi strong {
        display: block;
        margin-top: 4px;
        color: #fff;
        font-size: 24px;
        line-height: 1;
        font-weight: 1000;
    }

    .h2h-league-pred-kpi em {
        display: block;
        margin-top: 5px;
        color: rgba(226,255,232,.58);
        font-size: 11px;
        font-weight: 850;
        font-style: normal;
    }

    .h2h-mini-title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin: 0 0 12px;
        color: #fff;
        font-size: 17px;
        font-weight: 1000;
    }

    .h2h-mini-title span {
        color: rgba(226,255,232,.58);
        font-size: 11px;
        font-weight: 900;
    }

    .h2h-league-pred-layout {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 14px !important;
        align-items: start;
        width: 100%;
    }

    .h2h-league-pred-main {
        min-width: 0;
        width: 100%;
    }

    .h2h-league-pred-table {
        width: 100%;
        overflow-x: auto;
        padding: 10px 10px 12px;
        border-radius: 13px;
        background: rgba(0,0,0,.18);
        border: 1px solid rgba(0,255,72,.10);
    }

    .h2h-league-pred-table-head,
    .h2h-league-pred-row {
        display: grid;
        grid-template-columns: 145px minmax(360px, 1.9fr) 78px 78px 78px 92px 92px 130px;
        align-items: center;
        gap: 10px;
        min-width: 1030px;
    }

    .h2h-league-pred-table-head {
        min-height: 32px;
        padding: 0 8px;
        color: rgba(226,255,232,.50);
        font-size: 10px;
        font-weight: 1000;
        text-transform: uppercase;
        letter-spacing: .06em;
    }

    .h2h-league-pred-row {
        min-height: 58px;
        padding: 8px;
        border-radius: 10px;
        color: #fff;
        border-bottom: 1px solid rgba(0,255,72,.06);
        transition: background .16s ease, border-color .16s ease, transform .16s ease;
    }

    .h2h-league-pred-row:hover {
        background: rgba(0,255,72,.045);
        border-color: rgba(0,255,72,.18);
        transform: translateY(-1px);
    }

    .h2h-pred-time {
        color: #d9467a;
        font-size: 12px;
        font-weight: 1000;
        white-space: nowrap;
    }

    .h2h-pred-match {
        min-width: 0;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr);
        align-items: center;
        gap: 8px;
    }

    .h2h-pred-match span {
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 8px;
        color: #fff;
        font-size: 12px;
        font-weight: 1000;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .h2h-pred-match img {
        width: 22px;
        height: 22px;
        object-fit: contain;
        flex: 0 0 22px;
    }

    .h2h-pred-match b {
        color: #d9467a;
        text-align: center;
        font-size: 10px;
        font-weight: 1000;
    }

    .h2h-pred-percent {
        position: relative;
        height: 31px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        overflow: hidden;
        background: rgba(255,255,255,.055);
        border: 1px solid rgba(255,255,255,.08);
        color: #fff;
        font-size: 11px;
        font-weight: 1000;
    }

    .h2h-pred-percent i {
        position: absolute;
        left: 0;
        bottom: 0;
        height: 4px;
        max-width: 100%;
        border-radius: 0 999px 999px 0;
        background: #d9467a;
        box-shadow: 0 0 12px rgba(35,255,85,.55);
    }

    .h2h-best-tip-pill {
        min-height: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        border-radius: 8px;
        background: rgba(0,255,72,.12);
        border: 1px solid rgba(0,255,72,.24);
        color: #fff;
        font-size: 11px;
        font-weight: 1000;
        white-space: nowrap;
        text-align: center;
    }

    .h2h-best-tip-pill em {
        color: #d9467a;
        font-style: normal;
        font-weight: 1000;
    }

    .h2h-pred-empty {
        min-width: 1030px;
        padding: 24px;
        color: rgba(226,255,232,.58);
        font-weight: 900;
        text-align: center;
    }

    .h2h-league-angles {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        margin-top: 14px;
    }

    .h2h-league-angles div {
        min-height: 58px;
        padding: 12px;
        display: flex;
        align-items: center;
        gap: 10px;
        border-radius: 11px;
        background: rgba(0,0,0,.20);
        border: 1px solid rgba(0,255,72,.12);
    }

    .h2h-league-angles i {
        width: 34px;
        height: 34px;
        display: grid;
        place-items: center;
        flex: 0 0 34px;
        border-radius: 999px;
        color: #d9467a;
        background: rgba(0,255,72,.10);
        border: 1px solid rgba(0,255,72,.20);
    }

    .h2h-league-angles strong,
    .h2h-league-angles span {
        display: block;
    }

    .h2h-league-angles strong {
        color: #fff;
        font-size: 12px;
        font-weight: 1000;
    }

    .h2h-league-angles span {
        color: rgba(226,255,232,.58);
        font-size: 11px;
        font-weight: 800;
        margin-top: 2px;
    }


    /* ================= LEAGUE FORM SUMMARY ================= */
    .h2h-league-form-panel {
        margin-top: 14px;
        padding: 14px;
        border-radius: 14px;
        background:
            radial-gradient(circle at top right, rgba(0,255,72,.12), transparent 34%),
            rgba(0,0,0,.20);
        border: 1px solid rgba(0,255,72,.14);
        box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
    }

    .h2h-league-form-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        margin-bottom: 14px;
    }

    .h2h-league-form-head h3 {
        margin: 0;
        color: #fff;
        font-size: 17px;
        font-weight: 1000;
        letter-spacing: -.2px;
    }

    .h2h-league-form-head h3 i {
        color: #d9467a;
        margin-right: 6px;
    }

    .h2h-league-form-head p {
        margin: 5px 0 0;
        color: rgba(226,255,232,.58);
        font-size: 12px;
        font-weight: 750;
    }

    .h2h-form-score-card {
        min-width: 130px;
        padding: 10px 12px;
        border-radius: 12px;
        background: rgba(0,255,72,.08);
        border: 1px solid rgba(0,255,72,.18);
        text-align: center;
    }

    .h2h-form-score-card span {
        display: block;
        color: rgba(226,255,232,.62);
        font-size: 10px;
        font-weight: 1000;
        text-transform: uppercase;
    }

    .h2h-form-score-card strong {
        display: block;
        margin-top: 4px;
        color: #d9467a;
        font-size: 24px;
        line-height: 1;
        font-weight: 1000;
    }

    .h2h-form-summary-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        margin-bottom: 14px;
    }

    .h2h-form-summary-card {
        position: relative;
        overflow: hidden;
        min-height: 70px;
        padding: 12px;
        border-radius: 12px;
        background: rgba(0,0,0,.22);
        border: 1px solid rgba(0,255,72,.12);
    }

    .h2h-form-summary-card span {
        display: block;
        color: rgba(226,255,232,.58);
        font-size: 11px;
        font-weight: 1000;
        text-transform: uppercase;
    }

    .h2h-form-summary-card strong {
        display: block;
        margin-top: 7px;
        color: #fff;
        font-size: 24px;
        line-height: 1;
        font-weight: 1000;
    }

    .h2h-form-summary-card i {
        position: absolute;
        left: 12px;
        bottom: 10px;
        height: 4px;
        max-width: calc(100% - 24px);
        border-radius: 999px;
        background: linear-gradient(90deg, #d9467a, #0b8f28);
        box-shadow: 0 0 12px rgba(35,255,85,.35);
    }

    .h2h-form-columns {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .h2h-form-column {
        padding: 12px;
        border-radius: 13px;
        background: rgba(0,0,0,.20);
        border: 1px solid rgba(0,255,72,.11);
    }

    .h2h-form-column h4 {
        margin: 0 0 10px;
        color: #fff;
        font-size: 14px;
        font-weight: 1000;
    }

    .h2h-form-column h4 i {
        color: #d9467a;
        margin-right: 6px;
    }

    .h2h-form-team-row {
        display: grid;
        grid-template-columns: 26px 30px minmax(0, 1fr) auto 42px;
        align-items: center;
        gap: 8px;
        min-height: 42px;
        padding: 7px 0;
        border-bottom: 1px solid rgba(0,255,72,.08);
    }

    .h2h-form-team-row:last-child {
        border-bottom: 0;
    }

    .h2h-form-rank {
        width: 24px;
        height: 24px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        color: #d9467a;
        background: rgba(0,255,72,.09);
        border: 1px solid rgba(0,255,72,.16);
        font-size: 11px;
        font-weight: 1000;
    }

    .h2h-form-team-logo {
        width: 28px;
        height: 28px;
        display: grid;
        place-items: center;
    }

    .h2h-form-team-logo img {
        width: 26px;
        height: 26px;
        object-fit: contain;
    }

    .h2h-form-team-row strong {
        min-width: 0;
        color: #fff;
        font-size: 12px;
        font-weight: 1000;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .h2h-form-team-row em {
        color: #d9467a;
        font-style: normal;
        font-size: 12px;
        font-weight: 1000;
        text-align: right;
    }

    .h2h-form-mini-empty {
        padding: 14px;
        color: rgba(226,255,232,.55);
        font-size: 12px;
        font-weight: 800;
        text-align: center;
        border: 1px dashed rgba(0,255,72,.15);
        border-radius: 10px;
    }

    .h2h-side-best-match {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 10px;
        margin: 12px 0;
        text-align: center;
    }

    .h2h-side-best-match div {
        display: grid;
        justify-items: center;
        gap: 6px;
        min-width: 0;
    }

    .h2h-side-best-match img {
        width: 44px;
        height: 44px;
        object-fit: contain;
    }

    .h2h-side-best-match strong {
        color: #fff;
        font-size: 12px;
        font-weight: 950;
        line-height: 1.15;
    }

    .h2h-side-best-match > span {
        color: #d9467a;
        font-size: 18px;
        font-weight: 1000;
    }

    .h2h-side-best-tip {
        min-height: 48px;
        padding: 10px 12px;
        border-radius: 10px;
        background: rgba(0,255,72,.10);
        border: 1px solid rgba(0,255,72,.20);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .h2h-side-best-tip span {
        color: #fff;
        font-weight: 1000;
    }

    .h2h-side-best-tip strong {
        color: #d9467a;
        font-size: 18px;
        font-weight: 1000;
    }

    .h2h-side-action {
        margin-top: 10px;
        min-height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border-radius: 10px;
        background: linear-gradient(180deg, rgba(0,255,72,.25), rgba(0,120,27,.55));
        border: 1px solid rgba(0,255,72,.28);
        color: #fff;
        font-size: 12px;
        font-weight: 1000;
    }

    .h2h-rightbar .h2h-side-card {
        padding: 14px !important;
        margin-bottom: 14px;
        background: linear-gradient(180deg, rgba(0,32,10,.92), rgba(0,15,5,.96)) !important;
        box-shadow: 0 0 22px rgba(0,255,72,.08) !important;
    }

    .h2h-trend-item,
    .h2h-news-item {
        border-radius: 10px !important;
        background: rgba(0,0,0,.18) !important;
        border: 1px solid rgba(0,255,72,.08) !important;
    }

    @media (max-width: 1150px) {
        .h2h-league-pred-kpis,
        .h2h-league-angles {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .h2h-league-hero {
            grid-template-columns: 1fr !important;
        }
        .h2h-league-hero-stats {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @media (max-width: 900px) {
        .h2h-league-title-row {
            align-items: flex-start;
        }
        .h2h-league-logo-stage {
            width: 82px;
            height: 82px;
            flex-basis: 82px;
            border-radius: 16px;
        }
        .h2h-league-logo-lg {
            width: 62px;
            height: 62px;
        }
        .h2h-league-hero-stats,
        .h2h-league-kpi-grid,
        .h2h-league-pred-kpis,
        .h2h-league-angles,
        .h2h-ranking-grid {
            grid-template-columns: 1fr;
        }
        .h2h-tab {
            flex: 1 1 auto;
            padding: 0 12px;
        }
    }


    /* =========================================================
       MATCHWEEK GROUPED FIXTURES / RESULTS - LOAD WEEK BY WEEK
    ========================================================= */
    .h2h-matchweek-list {
        display: grid;
        gap: 16px;
    }

    .h2h-matchweek-block {
        border-radius: 14px;
        border: 1px solid rgba(0,255,72,.13);
        background:
            radial-gradient(circle at top left, rgba(0,255,72,.08), transparent 32%),
            rgba(0,0,0,.18);
        overflow: hidden;
    }

    .h2h-matchweek-block.is-hidden {
        display: none;
    }

    .h2h-matchweek-head {
        min-height: 54px;
        padding: 12px 14px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        border-bottom: 1px solid rgba(0,255,72,.11);
        background: rgba(0,0,0,.22);
    }

    .h2h-matchweek-head div {
        display: grid;
        gap: 3px;
    }

    .h2h-matchweek-head span {
        color: rgba(226,255,232,.55);
        font-size: 10px;
        font-weight: 1000;
        text-transform: uppercase;
        letter-spacing: .06em;
    }

    .h2h-matchweek-head strong {
        color: #fff;
        font-size: 17px;
        font-weight: 1000;
    }

    .h2h-matchweek-head em {
        min-height: 28px;
        display: inline-flex;
        align-items: center;
        border-radius: 999px;
        padding: 0 11px;
        color: #d9467a;
        background: rgba(0,255,72,.10);
        border: 1px solid rgba(0,255,72,.18);
        font-size: 12px;
        font-style: normal;
        font-weight: 1000;
    }

    .h2h-matchweek-block .h2h-table-wrap {
        border: 0;
        border-radius: 0;
    }

    .h2h-matchweek-block .h2h-table {
        min-width: 780px;
    }

    .h2h-load-matchweek-btn {
        width: 100%;
        min-height: 44px;
        margin-top: 14px;
        border: 1px solid rgba(0,255,72,.22);
        border-radius: 12px;
        background: linear-gradient(180deg, rgba(0,255,72,.13), rgba(0,120,27,.22));
        color: #fff;
        cursor: pointer;
        font-size: 13px;
        font-weight: 1000;
    }

    .h2h-load-matchweek-btn i {
        margin-left: 8px;
        color: #d9467a;
    }

    .h2h-load-matchweek-btn:hover {
        background: linear-gradient(180deg, rgba(0,255,72,.22), rgba(0,120,27,.32));
    }

    .h2h-load-matchweek-btn.is-done {
        opacity: .55;
        cursor: default;
    }



.h2h-load-matchweek-btn.is-loading {
    opacity: .75;
    cursor: wait;
}


    /* =========================================================
       LEAGUE STANDINGS LEGEND / QUALIFICATION SCHEMA
    ========================================================= */
    .h2h-standings-legend {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px;
        margin: 12px 0 14px;
        border-radius: 12px;
        background: rgba(255,255,255,.035);
        border: 1px solid rgba(255,255,255,.06);
    }

    .h2h-legend-item {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        min-height: 26px;
        padding: 0 9px;
        border-radius: 999px;
        background: rgba(255,255,255,.045);
        color: rgba(230,255,232,.72);
        font-size: 11px;
        font-weight: 900;
        white-space: nowrap;
    }

    .h2h-legend-dot {
        width: 9px;
        height: 9px;
        flex: 0 0 9px;
        border-radius: 999px;
        background: rgba(255,255,255,.35);
    }

    .h2h-zone-cl,
    .h2h-zone-promotion {
        --zone-color: #d9467a;
    }

    .h2h-zone-el {
        --zone-color: #c43d70;
    }

    .h2h-zone-ecl {
        --zone-color: #a855f7;
    }

    .h2h-zone-playoff {
        --zone-color: #facc15;
    }

    .h2h-zone-relegation {
        --zone-color: #ef4444;
    }

    .h2h-zone-default {
        --zone-color: rgba(255,255,255,.35);
    }

    .h2h-legend-item .h2h-legend-dot {
        background: var(--zone-color, rgba(255,255,255,.35));
        box-shadow: 0 0 10px color-mix(in srgb, var(--zone-color, #ffffff) 45%, transparent);
    }

    .h2h-rank-badge.h2h-zone-cl,
    .h2h-rank-badge.h2h-zone-el,
    .h2h-rank-badge.h2h-zone-ecl,
    .h2h-rank-badge.h2h-zone-promotion,
    .h2h-rank-badge.h2h-zone-playoff,
    .h2h-rank-badge.h2h-zone-relegation {
        color: #fff;
        background: color-mix(in srgb, var(--zone-color) 22%, transparent);
        border-color: color-mix(in srgb, var(--zone-color) 55%, transparent);
        box-shadow: 0 0 12px color-mix(in srgb, var(--zone-color) 25%, transparent);
    }

    .h2h-standings-table tr.h2h-row-zone-cl td,
    .h2h-standings-table tr.h2h-row-zone-el td,
    .h2h-standings-table tr.h2h-row-zone-ecl td,
    .h2h-standings-table tr.h2h-row-zone-promotion td,
    .h2h-standings-table tr.h2h-row-zone-playoff td,
    .h2h-standings-table tr.h2h-row-zone-relegation td {
        box-shadow: inset 3px 0 0 var(--zone-color, transparent);
    }

    .h2h-standings-table tr.h2h-row-zone-cl td,
    .h2h-standings-table tr.h2h-row-zone-promotion td {
        background: rgba(34,197,94,.035);
    }

    .h2h-standings-table tr.h2h-row-zone-el td {
        background: rgba(59,130,246,.032);
    }

    .h2h-standings-table tr.h2h-row-zone-ecl td {
        background: rgba(168,85,247,.032);
    }

    .h2h-standings-table tr.h2h-row-zone-playoff td {
        background: rgba(250,204,21,.028);
    }

    .h2h-standings-table tr.h2h-row-zone-relegation td {
        background: rgba(239,68,68,.032);
    }

    @media (max-width: 700px) {
        .h2h-standings-legend {
            padding: 10px;
            gap: 6px;
        }

        .h2h-legend-item {
            font-size: 10px;
        }
    }

/* =========================================================
   LEAGUE MOBILE FINAL - REAL BLADE CLASSES
   Uses current league.blade.php classes:
   h2h-league-hero, h2h-league-pred-row, h2h-matchweek-block, h2h-table
========================================================= */

@media (max-width: 900px) {
    html,
    body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .h2h-dashboard-layout {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 10px 8px 28px !important;
        margin: 0 !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    .h2h-main {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    .h2h-card,
    .h2h-league-section,
    .h2h-league-predictions-section,
    .h2h-matchweek-list,
    .h2h-matchweek-block,
    .h2h-table-wrap,
    .h2h-league-pred-table,
    .h2h-league-form-panel {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    /* HERO: logo first, then text */
    .h2h-league-hero {
        display: grid !important;
        grid-template-columns: 1fr !important;
        justify-items: center !important;
        text-align: center !important;
        gap: 10px !important;
        min-height: 0 !important;
        padding: 14px 12px !important;
        margin-bottom: 10px !important;
        border-radius: 14px !important;
        overflow: hidden !important;
    }

    .h2h-league-hero > div:first-child {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        display: grid !important;
        justify-items: center !important;
        text-align: center !important;
    }

    .h2h-league-breadcrumbs {
        width: 100% !important;
        justify-content: center !important;
        gap: 5px !important;
        margin: 0 0 10px !important;
        font-size: 8px !important;
        line-height: 1.2 !important;
        letter-spacing: .045em !important;
        text-align: center !important;
        white-space: normal !important;
    }

    .h2h-league-title-row {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        justify-items: center !important;
        text-align: center !important;
        gap: 9px !important;
    }

    .h2h-league-logo-stage {
        order: 1 !important;
        width: 76px !important;
        height: 76px !important;
        flex: none !important;
        margin: 0 auto !important;
        border-radius: 16px !important;
    }

    .h2h-league-logo-lg {
        width: 58px !important;
        height: 58px !important;
        border-radius: 13px !important;
        padding: 6px !important;
    }

    .h2h-league-title-row > div:last-child {
        order: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        display: grid !important;
        justify-items: center !important;
        text-align: center !important;
    }

    .h2h-league-title {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        font-size: 24px !important;
        line-height: 1.02 !important;
        letter-spacing: -0.045em !important;
        text-align: center !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .h2h-league-country-line {
        justify-content: center !important;
        gap: 6px !important;
        margin-top: 7px !important;
        font-size: 11px !important;
        line-height: 1.2 !important;
        text-align: center !important;
    }

    .h2h-league-subtitle {
        max-width: 285px !important;
        margin: 8px auto 0 !important;
        font-size: 11px !important;
        line-height: 1.35 !important;
        text-align: center !important;
    }

    .h2h-league-season-form {
        width: 100% !important;
        max-width: 220px !important;
        margin: 10px auto 0 !important;
    }

    .h2h-league-season-select {
        width: 100% !important;
        height: 36px !important;
        min-width: 0 !important;
        border-radius: 10px !important;
        font-size: 11px !important;
        text-align: center !important;
    }

    /* Hide mobile hero stats: Today / Upcoming / Results / Standings */
    .h2h-league-hero-stats,
    .h2h-league-kpi-grid,
    .h2h-league-pred-kpis,
    .h2h-league-angles {
        display: none !important;
    }

    /* Tabs */
    .h2h-league-tabs-card {
        padding: 7px !important;
        margin-bottom: 10px !important;
        border-radius: 13px !important;
        overflow: hidden !important;
    }

    .h2h-tabs {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 6px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }

    .h2h-tabs::-webkit-scrollbar {
        display: none !important;
    }

    .h2h-tab,
    .h2h-tab:first-child,
    .h2h-tab:last-child {
        flex: 0 0 auto !important;
        min-height: 32px !important;
        height: 32px !important;
        padding: 0 11px !important;
        border-radius: 9px !important;
        border: 1px solid rgba(255,255,255,.07) !important;
        font-size: 10px !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    .h2h-league-section,
    .h2h-league-predictions-section {
        padding: 10px !important;
        margin-bottom: 10px !important;
        border-radius: 14px !important;
    }

    .h2h-card-title {
        margin-bottom: 8px !important;
        font-size: 16px !important;
        line-height: 1.1 !important;
    }

    .h2h-section-subtitle,
    .h2h-league-auto-update {
        display: none !important;
    }

    .h2h-league-section-head {
        display: block !important;
        margin-bottom: 10px !important;
    }

    .h2h-mini-title {
        margin-bottom: 9px !important;
        font-size: 14px !important;
    }

    .h2h-mini-title > span:last-child {
        display: none !important;
    }

    /* Predictions: not a wide table on mobile */
    .h2h-league-pred-table {
        display: grid !important;
        gap: 8px !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        overflow: visible !important;
    }

    .h2h-league-pred-table-head {
        display: none !important;
    }

    .h2h-league-pred-row {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        min-height: 86px !important;
        display: grid !important;
        grid-template-columns: 54px minmax(0, 1fr) auto !important;
        grid-template-areas:
            "time teams tip"
            "time markets markets" !important;
        align-items: center !important;
        gap: 7px 8px !important;
        padding: 9px !important;
        border-radius: 12px !important;
        background:
            radial-gradient(circle at right top, rgba(35,255,85,.08), transparent 42%),
            rgba(255,255,255,.026) !important;
        border: 1px solid rgba(35,255,85,.13) !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        transform: none !important;
    }

    .h2h-pred-time {
        grid-area: time !important;
        width: 54px !important;
        max-width: 54px !important;
        color: #d9467a !important;
        font-size: 8px !important;
        line-height: 1.15 !important;
        font-weight: 1000 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .h2h-pred-match {
        grid-area: teams !important;
        width: 100% !important;
        min-width: 0 !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 5px !important;
    }

    .h2h-pred-match b {
        display: none !important;
    }

    .h2h-pred-match span {
        width: 100% !important;
        min-width: 0 !important;
        display: grid !important;
        grid-template-columns: 20px minmax(0, 1fr) !important;
        gap: 6px !important;
        align-items: center !important;
        font-size: 10px !important;
        line-height: 1.08 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .h2h-pred-match img {
        width: 18px !important;
        height: 18px !important;
        min-width: 18px !important;
        object-fit: contain !important;
    }

    .h2h-best-tip-pill {
        grid-area: tip !important;
        justify-self: end !important;
        max-width: 82px !important;
        min-height: 28px !important;
        padding: 0 7px !important;
        border-radius: 8px !important;
        font-size: 8px !important;
        line-height: 1.05 !important;
        white-space: normal !important;
        text-align: center !important;
    }

    .h2h-best-tip-pill em {
        display: block !important;
        margin-left: 0 !important;
    }

    .h2h-pred-percent {
        grid-area: markets !important;
        height: 24px !important;
        min-width: 0 !important;
        padding: 0 6px !important;
        border-radius: 7px !important;
        font-size: 8px !important;
    }

    .h2h-league-pred-row .h2h-pred-percent:nth-of-type(3),
    .h2h-league-pred-row .h2h-pred-percent:nth-of-type(4),
    .h2h-league-pred-row .h2h-pred-percent:nth-of-type(5) {
        display: none !important;
    }

    .h2h-league-pred-row .h2h-pred-percent:nth-of-type(6),
    .h2h-league-pred-row .h2h-pred-percent:nth-of-type(7) {
        display: inline-flex !important;
        width: auto !important;
        max-width: 76px !important;
        margin-right: 5px !important;
    }

    /* Fixtures & results: table rows become cards */
    .h2h-matchweek-list {
        gap: 10px !important;
    }

    .h2h-matchweek-block {
        border-radius: 13px !important;
        overflow: hidden !important;
    }

    .h2h-matchweek-head {
        min-height: 48px !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        gap: 8px !important;
        padding: 10px !important;
    }

    .h2h-matchweek-head strong {
        font-size: 16px !important;
        line-height: 1.05 !important;
    }

    .h2h-matchweek-head span {
        font-size: 8px !important;
    }

    .h2h-matchweek-head em {
        min-height: 27px !important;
        padding: 0 9px !important;
        border-radius: 999px !important;
        font-size: 10px !important;
        white-space: nowrap !important;
    }

    .h2h-table-wrap {
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        overflow: visible !important;
    }

    .h2h-table {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        display: block !important;
        border-collapse: separate !important;
    }

    .h2h-table thead {
        display: none !important;
    }

    .h2h-table tbody {
        width: 100% !important;
        max-width: 100% !important;
        display: grid !important;
        gap: 8px !important;
        padding: 9px !important;
        box-sizing: border-box !important;
    }

    .h2h-table tr {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        display: grid !important;
        grid-template-columns: 54px minmax(0, 1fr) auto !important;
        grid-template-areas:
            "time teams status" !important;
        align-items: center !important;
        gap: 7px !important;
        padding: 9px !important;
        border-radius: 12px !important;
        background:
            radial-gradient(circle at right top, rgba(35,255,85,.07), transparent 40%),
            rgba(255,255,255,.026) !important;
        border: 1px solid rgba(35,255,85,.12) !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .h2h-table td {
        display: block !important;
        width: auto !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        overflow: hidden !important;
        text-align: left !important;
        box-sizing: border-box !important;
    }

    .h2h-table td:nth-child(1) {
        grid-area: time !important;
    }

    .h2h-table td:nth-child(2) {
        grid-area: teams !important;
    }

    .h2h-table td:nth-child(3),
    .h2h-table td:nth-child(4) {
        grid-area: status !important;
        justify-self: end !important;
        text-align: right !important;
    }

    .h2h-time,
    .h2h-time.finished {
        width: 54px !important;
        min-width: 0 !important;
        max-width: 54px !important;
        min-height: 0 !important;
        padding: 0 !important;
        display: block !important;
        color: #d9467a !important;
        background: transparent !important;
        border: 0 !important;
        font-size: 8px !important;
        line-height: 1.15 !important;
        font-weight: 1000 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        text-align: left !important;
    }

    .h2h-match-cell {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        display: grid !important;
        gap: 5px !important;
        overflow: hidden !important;
    }

    .h2h-team-line {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        display: grid !important;
        grid-template-columns: 20px minmax(0, 1fr) 24px !important;
        gap: 6px !important;
        min-height: 20px !important;
        align-items: center !important;
        overflow: hidden !important;
    }

    .h2h-team-logo {
        width: 18px !important;
        height: 18px !important;
        min-width: 18px !important;
        object-fit: contain !important;
    }

    .h2h-team-line span:not(.h2h-score) {
        min-width: 0 !important;
        max-width: 100% !important;
        display: block !important;
        color: #eaffee !important;
        font-size: 10px !important;
        line-height: 1.08 !important;
        font-weight: 950 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .h2h-score {
        width: 24px !important;
        min-width: 24px !important;
        height: 18px !important;
        justify-self: end !important;
        font-size: 10px !important;
        border-radius: 6px !important;
    }

    .h2h-status-pill,
    .h2h-best-tip {
        min-width: 0 !important;
        max-width: 76px !important;
        min-height: 26px !important;
        padding: 0 7px !important;
        border-radius: 7px !important;
        font-size: 8px !important;
        line-height: 1.05 !important;
        white-space: normal !important;
        text-align: center !important;
    }

    /* Form summary on overview */
    .h2h-league-form-panel {
        padding: 10px !important;
        margin-top: 10px !important;
        border-radius: 13px !important;
    }

    .h2h-league-form-head {
        display: block !important;
        margin-bottom: 10px !important;
    }

    .h2h-league-form-head h3 {
        font-size: 15px !important;
    }

    .h2h-league-form-head p {
        display: none !important;
    }

    .h2h-form-score-card {
        display: none !important;
    }

    .h2h-form-summary-grid {
        display: none !important;
    }

    .h2h-form-columns {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .h2h-form-column {
        padding: 9px !important;
        border-radius: 12px !important;
    }

    .h2h-form-team-row {
        grid-template-columns: 22px 24px minmax(0, 1fr) auto 32px !important;
        gap: 6px !important;
        min-height: 36px !important;
    }

    .h2h-form-team-row strong {
        font-size: 10px !important;
    }

    .h2h-form-badge {
        width: 18px !important;
        height: 18px !important;
        font-size: 8px !important;
    }

    .h2h-form-team-row em {
        font-size: 10px !important;
    }

    /* Standings can keep internal scroll, fixtures/predictions/results do not */
    .h2h-standings-wrap {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .h2h-standings-table {
        min-width: 720px !important;
    }
}

@media (max-width: 430px) {
    .h2h-dashboard-layout {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    .h2h-league-title {
        font-size: 22px !important;
    }

    .h2h-league-logo-stage {
        width: 70px !important;
        height: 70px !important;
    }

    .h2h-league-logo-lg {
        width: 54px !important;
        height: 54px !important;
    }

    .h2h-league-pred-row,
    .h2h-table tr {
        grid-template-columns: 48px minmax(0, 1fr) auto !important;
        gap: 6px !important;
        padding: 8px !important;
    }

    .h2h-pred-time,
    .h2h-time,
    .h2h-time.finished {
        width: 48px !important;
        max-width: 48px !important;
        font-size: 7.5px !important;
    }

    .h2h-pred-match span,
    .h2h-team-line span:not(.h2h-score) {
        font-size: 9px !important;
    }

    .h2h-best-tip-pill,
    .h2h-status-pill {
        max-width: 68px !important;
        font-size: 7.5px !important;
    }
}

/* =========================================================
   LEAGUE PREDICTIONS WITHOUT TOP TIP
   Desktop + mobile: no Best Tip / Top Tip column.
   Mobile shows all markets: 1, X, 2, BTTS, Over 2.5.
========================================================= */

.h2h-league-pred-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.h2h-league-pred-kpi.is-best,
.h2h-best-tip-pill {
    display: none !important;
}

.h2h-league-pred-table-head,
.h2h-league-pred-row {
    grid-template-columns: 145px minmax(360px, 1.9fr) 78px 78px 78px 92px 92px !important;
    min-width: 890px !important;
}

.h2h-pred-empty {
    min-width: 890px !important;
}

@media (max-width: 900px) {
    .h2h-league-pred-kpis {
        display: none !important;
    }

    .h2h-league-pred-row {
        display: grid !important;
        grid-template-columns: 54px minmax(0, 1fr) !important;
        grid-template-areas:
            "time teams"
            "time markets" !important;
        min-height: 108px !important;
        align-items: start !important;
    }

    .h2h-pred-time {
        grid-area: time !important;
    }

    .h2h-pred-match {
        grid-area: teams !important;
    }

    .h2h-best-tip-pill {
        display: none !important;
    }

    .h2h-league-pred-row .h2h-pred-percent,
    .h2h-league-pred-row .h2h-pred-percent:nth-of-type(3),
    .h2h-league-pred-row .h2h-pred-percent:nth-of-type(4),
    .h2h-league-pred-row .h2h-pred-percent:nth-of-type(5),
    .h2h-league-pred-row .h2h-pred-percent:nth-of-type(6),
    .h2h-league-pred-row .h2h-pred-percent:nth-of-type(7) {
        grid-area: markets !important;
        display: inline-flex !important;
        position: relative !important;
        width: auto !important;
        min-width: 42px !important;
        max-width: none !important;
        height: 24px !important;
        min-height: 24px !important;
        margin: 0 4px 4px 0 !important;
        padding: 0 6px !important;
        border-radius: 7px !important;
        font-size: 8px !important;
        line-height: 1 !important;
        vertical-align: top !important;
    }

    .h2h-league-pred-row .h2h-pred-percent:nth-of-type(3)::before { content: "1 "; }
    .h2h-league-pred-row .h2h-pred-percent:nth-of-type(4)::before { content: "X "; }
    .h2h-league-pred-row .h2h-pred-percent:nth-of-type(5)::before { content: "2 "; }
    .h2h-league-pred-row .h2h-pred-percent:nth-of-type(6)::before { content: "BTTS "; }
    .h2h-league-pred-row .h2h-pred-percent:nth-of-type(7)::before { content: "O2.5 "; }

    .h2h-league-pred-row .h2h-pred-percent::before {
        color: rgba(230,255,232,.58) !important;
        font-weight: 1000 !important;
        margin-right: 3px !important;
    }
}

@media (max-width: 430px) {
    .h2h-league-pred-row {
        grid-template-columns: 48px minmax(0, 1fr) !important;
        min-height: 112px !important;
    }

    .h2h-league-pred-row .h2h-pred-percent,
    .h2h-league-pred-row .h2h-pred-percent:nth-of-type(3),
    .h2h-league-pred-row .h2h-pred-percent:nth-of-type(4),
    .h2h-league-pred-row .h2h-pred-percent:nth-of-type(5),
    .h2h-league-pred-row .h2h-pred-percent:nth-of-type(6),
    .h2h-league-pred-row .h2h-pred-percent:nth-of-type(7) {
        min-width: 39px !important;
        height: 23px !important;
        padding: 0 5px !important;
        font-size: 7.5px !important;
    }
}

/* =========================================================
   LEAGUE MOBILE PREDICTIONS ROW FIX - ALL TIPS VISIBLE
   Fixes the mobile League Predictions cards:
   - no huge stretched green bars
   - 1 / X / 2 / BTTS / O2.5 all visible
   - teams stay compact
   - no horizontal scroll
========================================================= */

@media (max-width: 900px) {
    .h2h-league-pred-table {
        width: 100% !important;
        max-width: 100% !important;
        display: grid !important;
        gap: 8px !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        overflow: visible !important;
    }

    .h2h-league-pred-table-head {
        display: none !important;
    }

    .h2h-league-pred-row {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        min-height: 88px !important;
        display: grid !important;
        grid-template-columns: 50px repeat(5, minmax(0, 1fr)) !important;
        grid-template-areas:
            "time teams teams teams teams teams"
            "time m1    m2    m3    m4    m5" !important;
        align-items: center !important;
        gap: 7px 5px !important;
        padding: 9px !important;
        border-radius: 12px !important;
        background:
            radial-gradient(circle at right top, rgba(35,255,85,.08), transparent 42%),
            rgba(255,255,255,.026) !important;
        border: 1px solid rgba(35,255,85,.13) !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        transform: none !important;
    }

    .h2h-pred-time {
        grid-area: time !important;
        width: 50px !important;
        max-width: 50px !important;
        min-width: 0 !important;
        color: #d9467a !important;
        font-size: 7.5px !important;
        line-height: 1.15 !important;
        font-weight: 1000 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        text-align: left !important;
    }

    .h2h-pred-match {
        grid-area: teams !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 5px !important;
        overflow: hidden !important;
    }

    .h2h-pred-match b {
        display: block !important;
        color: #d9467a !important;
        font-size: 8px !important;
        line-height: 1 !important;
        text-align: center !important;
        font-weight: 1000 !important;
    }

    .h2h-pred-match span {
        min-width: 0 !important;
        max-width: 100% !important;
        display: grid !important;
        grid-template-columns: 18px minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 5px !important;
        color: #fff !important;
        font-size: 9px !important;
        line-height: 1.05 !important;
        font-weight: 950 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .h2h-pred-match img {
        width: 16px !important;
        height: 16px !important;
        min-width: 16px !important;
        object-fit: contain !important;
        display: block !important;
    }

    .h2h-league-pred-row .h2h-pred-percent {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: 26px !important;
        min-height: 26px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 3px !important;
        border-radius: 7px !important;
        background: rgba(255,255,255,.055) !important;
        border: 1px solid rgba(255,255,255,.08) !important;
        color: #fff !important;
        font-size: 7.2px !important;
        line-height: 1 !important;
        font-weight: 1000 !important;
        text-align: center !important;
        overflow: hidden !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
    }

    .h2h-league-pred-row .h2h-pred-percent i {
        height: 3px !important;
        max-width: 100% !important;
        bottom: 0 !important;
        background: #d9467a !important;
        box-shadow: 0 0 8px rgba(35,255,85,.55) !important;
    }

    .h2h-league-pred-row .h2h-pred-percent:nth-of-type(3) {
        grid-area: m1 !important;
        display: inline-flex !important;
    }

    .h2h-league-pred-row .h2h-pred-percent:nth-of-type(4) {
        grid-area: m2 !important;
        display: inline-flex !important;
    }

    .h2h-league-pred-row .h2h-pred-percent:nth-of-type(5) {
        grid-area: m3 !important;
        display: inline-flex !important;
    }

    .h2h-league-pred-row .h2h-pred-percent:nth-of-type(6) {
        grid-area: m4 !important;
        display: inline-flex !important;
    }

    .h2h-league-pred-row .h2h-pred-percent:nth-of-type(7) {
        grid-area: m5 !important;
        display: inline-flex !important;
    }

    .h2h-league-pred-row .h2h-pred-percent:nth-of-type(3)::before { content: "1 "; }
    .h2h-league-pred-row .h2h-pred-percent:nth-of-type(4)::before { content: "X "; }
    .h2h-league-pred-row .h2h-pred-percent:nth-of-type(5)::before { content: "2 "; }
    .h2h-league-pred-row .h2h-pred-percent:nth-of-type(6)::before { content: "B "; }
    .h2h-league-pred-row .h2h-pred-percent:nth-of-type(7)::before { content: "O "; }

    .h2h-league-pred-row .h2h-pred-percent::before {
        color: rgba(230,255,232,.58) !important;
        font-weight: 1000 !important;
        margin-right: 2px !important;
    }

    .h2h-best-tip-pill {
        display: none !important;
    }
}

@media (max-width: 430px) {
    .h2h-league-pred-row {
        grid-template-columns: 45px repeat(5, minmax(0, 1fr)) !important;
        gap: 6px 4px !important;
        padding: 8px !important;
        min-height: 86px !important;
    }

    .h2h-pred-time {
        width: 45px !important;
        max-width: 45px !important;
        font-size: 7px !important;
    }

    .h2h-pred-match {
        grid-template-columns: minmax(0, 1fr) 14px minmax(0, 1fr) !important;
        gap: 4px !important;
    }

    .h2h-pred-match span {
        grid-template-columns: 16px minmax(0, 1fr) !important;
        gap: 4px !important;
        font-size: 8px !important;
    }

    .h2h-pred-match img {
        width: 15px !important;
        height: 15px !important;
        min-width: 15px !important;
    }

    .h2h-league-pred-row .h2h-pred-percent {
        height: 24px !important;
        min-height: 24px !important;
        padding: 0 2px !important;
        border-radius: 6px !important;
        font-size: 6.6px !important;
    }

    .h2h-league-pred-row .h2h-pred-percent::before {
        margin-right: 1px !important;
    }
}

/* =========================================================
   LEAGUE MOBILE PREDICTIONS - CLEAN MARKET GRID
   Uses explicit Blade wrapper .h2h-mobile-pred-markets.
   Mobile:
   - teams top
   - labels above percentages
   - no stretched bars
========================================================= */

.h2h-mobile-pred-markets {
    display: none;
}

@media (max-width: 900px) {
    .h2h-league-pred-row {
        display: grid !important;
        grid-template-columns: 52px minmax(0, 1fr) !important;
        grid-template-areas:
            "time teams"
            "time markets" !important;
        align-items: center !important;
        gap: 7px 8px !important;
        min-height: 112px !important;
        padding: 9px !important;
        overflow: hidden !important;
    }

    .h2h-pred-time {
        grid-area: time !important;
        width: 52px !important;
        max-width: 52px !important;
        font-size: 7.5px !important;
        line-height: 1.15 !important;
        text-align: left !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .h2h-pred-match {
        grid-area: teams !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 5px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }

    .h2h-pred-match b {
        display: block !important;
        color: #d9467a !important;
        font-size: 8px !important;
        text-align: center !important;
        font-weight: 1000 !important;
    }

    .h2h-pred-match span {
        display: grid !important;
        grid-template-columns: 18px minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 5px !important;
        min-width: 0 !important;
        max-width: 100% !important;
        font-size: 9px !important;
        line-height: 1.05 !important;
        font-weight: 950 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .h2h-pred-match img {
        width: 16px !important;
        height: 16px !important;
        min-width: 16px !important;
        object-fit: contain !important;
    }

    .h2h-mobile-pred-markets {
        grid-area: markets !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        gap: 4px !important;
        overflow: hidden !important;
    }

    .h2h-mobile-market-chip {
        min-width: 0 !important;
        display: grid !important;
        grid-template-rows: 12px 24px !important;
        gap: 3px !important;
        text-align: center !important;
        overflow: hidden !important;
    }

    .h2h-mobile-market-chip em {
        display: block !important;
        color: rgba(230,255,232,.58) !important;
        font-size: 7px !important;
        line-height: 12px !important;
        font-style: normal !important;
        font-weight: 1000 !important;
        text-transform: uppercase !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .h2h-mobile-market-chip strong {
        position: relative !important;
        height: 24px !important;
        min-height: 24px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 2px !important;
        border-radius: 7px !important;
        color: #ffffff !important;
        background: rgba(255,255,255,.055) !important;
        border: 1px solid rgba(255,255,255,.08) !important;
        font-size: 7.3px !important;
        line-height: 1 !important;
        font-weight: 1000 !important;
        overflow: hidden !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
    }

    .h2h-mobile-market-chip strong i {
        position: absolute !important;
        left: 0 !important;
        bottom: 0 !important;
        height: 3px !important;
        max-width: 100% !important;
        border-radius: 999px !important;
        background: #d9467a !important;
        box-shadow: 0 0 8px rgba(35,255,85,.55) !important;
    }

    /* Hide old desktop percent cells on mobile */
    .h2h-league-pred-row > .h2h-pred-percent {
        display: none !important;
    }

    .h2h-best-tip-pill {
        display: none !important;
    }
}

@media (max-width: 430px) {
    .h2h-league-pred-row {
        grid-template-columns: 47px minmax(0, 1fr) !important;
        min-height: 108px !important;
        gap: 6px !important;
        padding: 8px !important;
    }

    .h2h-pred-time {
        width: 47px !important;
        max-width: 47px !important;
        font-size: 7px !important;
    }

    .h2h-mobile-pred-markets {
        gap: 3px !important;
    }

    .h2h-mobile-market-chip {
        grid-template-rows: 11px 23px !important;
        gap: 2px !important;
    }

    .h2h-mobile-market-chip em {
        font-size: 6.4px !important;
        line-height: 11px !important;
    }

    .h2h-mobile-market-chip strong {
        height: 23px !important;
        min-height: 23px !important;
        border-radius: 6px !important;
        font-size: 6.7px !important;
    }
}

/* =========================================================
   LEAGUE MOBILE PREDICTIONS - REMOVE EXTRA BOTTOM CHIP
   Fix: old desktop percentage spans were still visible at bottom.
========================================================= */

@media (max-width: 900px) {
    /* Keep only the new mobile market grid */
    .h2h-league-pred-row > span.h2h-pred-percent,
    .h2h-league-pred-row > .h2h-pred-percent,
    .h2h-league-pred-row > .h2h-pred-percent:nth-of-type(3),
    .h2h-league-pred-row > .h2h-pred-percent:nth-of-type(4),
    .h2h-league-pred-row > .h2h-pred-percent:nth-of-type(5),
    .h2h-league-pred-row > .h2h-pred-percent:nth-of-type(6),
    .h2h-league-pred-row > .h2h-pred-percent:nth-of-type(7) {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        min-width: 0 !important;
        min-height: 0 !important;
        max-width: 0 !important;
        max-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
        position: absolute !important;
        left: -9999px !important;
    }

    .h2h-mobile-pred-markets {
        display: grid !important;
        grid-area: markets !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        gap: 4px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .h2h-league-pred-row {
        min-height: 86px !important;
        padding-bottom: 8px !important;
        grid-template-areas:
            "time teams"
            "time markets" !important;
    }

    .h2h-mobile-market-chip {
        grid-template-rows: 10px 21px !important;
        gap: 2px !important;
    }

    .h2h-mobile-market-chip em {
        font-size: 6.5px !important;
        line-height: 10px !important;
    }

    .h2h-mobile-market-chip strong {
        height: 21px !important;
        min-height: 21px !important;
        font-size: 6.8px !important;
        border-radius: 6px !important;
    }
}

@media (max-width: 430px) {
    .h2h-league-pred-row {
        min-height: 82px !important;
        padding-bottom: 7px !important;
    }

    .h2h-mobile-market-chip {
        grid-template-rows: 9px 20px !important;
    }

    .h2h-mobile-market-chip em {
        font-size: 6px !important;
        line-height: 9px !important;
    }

    .h2h-mobile-market-chip strong {
        height: 20px !important;
        min-height: 20px !important;
        font-size: 6.3px !important;
    }
}

/* =========================================================
   LEAGUE MOBILE PREDICTIONS - CENTER VS BETWEEN TEAMS
   Fixes mobile team row so VS stays exactly in the middle.
========================================================= */

@media (max-width: 900px) {
    .h2h-pred-match {
        grid-area: teams !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 6px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .h2h-pred-match > span:first-child {
        justify-self: start !important;
        text-align: left !important;
    }

    .h2h-pred-match > b {
        justify-self: center !important;
        align-self: center !important;
        width: 26px !important;
        min-width: 26px !important;
        max-width: 26px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #d9467a !important;
        font-size: 7.5px !important;
        line-height: 1 !important;
        font-weight: 1000 !important;
        text-align: center !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
    }

    .h2h-pred-match > span:last-child {
        justify-self: end !important;
        text-align: right !important;
        grid-template-columns: 18px minmax(0, 1fr) !important;
    }

    .h2h-pred-match > span:last-child img {
        justify-self: start !important;
    }

    .h2h-pred-match > span {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    .h2h-pred-match > span:first-child {
        grid-template-columns: 18px minmax(0, 1fr) !important;
    }

    .h2h-pred-match > span:first-child,
    .h2h-pred-match > span:last-child {
        font-size: 8.5px !important;
        line-height: 1.05 !important;
    }
}

@media (max-width: 430px) {
    .h2h-pred-match {
        grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr) !important;
        gap: 4px !important;
    }

    .h2h-pred-match > b {
        width: 22px !important;
        min-width: 22px !important;
        max-width: 22px !important;
        font-size: 7px !important;
    }

    .h2h-pred-match > span:first-child,
    .h2h-pred-match > span:last-child {
        grid-template-columns: 16px minmax(0, 1fr) !important;
        font-size: 8px !important;
    }
}

/* =========================================================
   LEAGUE MOBILE PREDICTIONS - COMPACT TEAMS VS ROW
   Fix:
   - no huge empty space around VS
   - team names stay closer to VS
   - logos + names remain readable
========================================================= */

@media (max-width: 900px) {
    .h2h-pred-match {
        grid-area: teams !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr) !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 3px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    .h2h-pred-match > b {
        width: 18px !important;
        min-width: 18px !important;
        max-width: 18px !important;
        display: inline-flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #d9467a !important;
        font-size: 7px !important;
        line-height: 1 !important;
        font-weight: 1000 !important;
        text-align: center !important;
    }

    .h2h-pred-match > span {
        width: auto !important;
        max-width: 100% !important;
        min-width: 0 !important;
        display: inline-grid !important;
        grid-template-columns: 16px minmax(0, max-content) !important;
        align-items: center !important;
        gap: 4px !important;
        overflow: hidden !important;
        font-size: 8px !important;
        line-height: 1.05 !important;
        font-weight: 950 !important;
        white-space: nowrap !important;
    }

    .h2h-pred-match > span:first-child {
        justify-self: end !important;
        text-align: right !important;
    }

    .h2h-pred-match > span:last-child {
        justify-self: start !important;
        text-align: left !important;
    }

    .h2h-pred-match > span:first-child img {
        justify-self: end !important;
    }

    .h2h-pred-match > span:last-child img {
        justify-self: start !important;
    }

    .h2h-pred-match img {
        width: 15px !important;
        height: 15px !important;
        min-width: 15px !important;
        object-fit: contain !important;
    }
}

@media (max-width: 430px) {
    .h2h-pred-match {
        grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1fr) !important;
        gap: 2px !important;
    }

    .h2h-pred-match > b {
        width: 16px !important;
        min-width: 16px !important;
        max-width: 16px !important;
        font-size: 6.5px !important;
    }

    .h2h-pred-match > span {
        grid-template-columns: 15px minmax(0, max-content) !important;
        gap: 3px !important;
        font-size: 7.5px !important;
    }

    .h2h-pred-match img {
        width: 14px !important;
        height: 14px !important;
        min-width: 14px !important;
    }
}

/* =========================================================
   LEAGUE MOBILE PREDICTIONS - TEAMS LEFT ALIGNED
   Fix:
   - match teams start from the left, not centered
   - VS stays close between teams
   - tips row stays below
========================================================= */

@media (max-width: 900px) {
    .h2h-pred-match {
        grid-area: teams !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 5px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
        text-align: left !important;
    }

    .h2h-pred-match > span {
        flex: 0 1 auto !important;
        width: auto !important;
        max-width: 42% !important;
        min-width: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        overflow: hidden !important;
        color: #fff !important;
        font-size: 8px !important;
        line-height: 1.05 !important;
        font-weight: 950 !important;
        white-space: nowrap !important;
        text-overflow: ellipsis !important;
        text-align: left !important;
        justify-self: start !important;
    }

    .h2h-pred-match > span:first-child,
    .h2h-pred-match > span:last-child {
        justify-self: start !important;
        text-align: left !important;
    }

    .h2h-pred-match > span img {
        width: 15px !important;
        height: 15px !important;
        min-width: 15px !important;
        object-fit: contain !important;
        display: block !important;
    }

    .h2h-pred-match > b {
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 12px !important;
        max-width: 18px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 1px !important;
        padding: 0 !important;
        color: #d9467a !important;
        font-size: 7px !important;
        line-height: 1 !important;
        font-weight: 1000 !important;
        text-align: center !important;
    }
}

@media (max-width: 430px) {
    .h2h-pred-match {
        gap: 4px !important;
    }

    .h2h-pred-match > span {
        max-width: 43% !important;
        gap: 3px !important;
        font-size: 7.5px !important;
    }

    .h2h-pred-match > span img {
        width: 14px !important;
        height: 14px !important;
        min-width: 14px !important;
    }

    .h2h-pred-match > b {
        min-width: 10px !important;
        max-width: 15px !important;
        font-size: 6.5px !important;
    }
}
/* =========================================================
   BETPLUSWIN LEAGUE COMMAND CENTER
   ========================================================= */
.bpw-lc-masthead {
    position: relative;
    isolation: isolate;
    min-height: 176px;
    margin-bottom: 0;
    padding: 28px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    overflow: hidden;
    border: 1px solid #313b49;
    border-radius: 16px 16px 0 0;
    background:
        radial-gradient(circle at 82% 10%, rgba(223, 18, 73, .22), transparent 31%),
        linear-gradient(105deg, #161c24 0%, #10151c 48%, #080b10 100%);
}

.bpw-lc-masthead::before,
.bpw-lc-masthead::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
}

.bpw-lc-masthead::before {
    inset: 0;
    opacity: .22;
    background-image:
        linear-gradient(115deg, transparent 58%, rgba(255,255,255,.08) 58.2%, transparent 58.5%),
        repeating-linear-gradient(0deg, transparent 0 24px, rgba(255,255,255,.025) 25px);
}

.bpw-lc-masthead::after {
    width: 480px;
    height: 2px;
    right: -90px;
    bottom: 25px;
    transform: rotate(-11deg);
    background: linear-gradient(90deg, transparent, #e0184f, transparent);
    box-shadow: 0 0 24px rgba(224,24,79,.8);
}

.bpw-lc-masthead-shade {
    position: absolute;
    inset: auto 0 0;
    height: 48px;
    z-index: -1;
    background: linear-gradient(transparent, rgba(0,0,0,.28));
}

.bpw-lc-identity { display:flex; align-items:center; gap:22px; min-width:0; }
.bpw-lc-logo { width:92px; height:92px; flex:0 0 92px; display:grid; place-items:center; }
.bpw-lc-logo img { width:100%; height:100%; object-fit:contain; filter:drop-shadow(0 12px 20px rgba(0,0,0,.35)); }
.bpw-lc-logo i { font-size:52px; color:#e0184f; }
.bpw-lc-eyebrow { display:flex; gap:8px; margin-bottom:6px; color:#8795a6; font-size:11px; font-weight:850; text-transform:uppercase; letter-spacing:.1em; }
.bpw-lc-eyebrow a { color:#e0184f; }
.bpw-lc-identity h1 { margin:0; color:#fff; font-size:clamp(32px,3.1vw,54px); line-height:.95; font-weight:1000; letter-spacing:-.045em; text-transform:uppercase; }
.bpw-lc-meta { display:flex; align-items:center; gap:20px; margin-top:14px; color:#c6d0dc; font-size:12px; font-weight:850; text-transform:uppercase; }
.bpw-lc-meta span { display:flex; align-items:center; gap:7px; }
.bpw-lc-meta i { color:#e0184f; }

.bpw-lc-controls { align-self:stretch; display:flex; flex-direction:column; align-items:flex-end; justify-content:space-between; gap:18px; }
.bpw-lc-fresh { display:flex; align-items:center; gap:8px; padding:7px 10px; border:1px solid rgba(224,24,79,.28); border-radius:99px; background:rgba(6,9,13,.48); color:#cfd7e1; font-size:10px; font-weight:900; text-transform:uppercase; letter-spacing:.06em; }
.bpw-lc-fresh i { width:7px; height:7px; border-radius:50%; background:#e0184f; box-shadow:0 0 0 4px rgba(224,24,79,.12),0 0 12px #e0184f; }
.bpw-lc-controls select { min-width:170px; height:42px; padding:0 38px 0 14px; border:1px solid #394555; border-radius:9px; background:#0b1118; color:#fff; font-weight:900; outline:none; }

.h2h-league-tabs-card { margin-top:0 !important; border-radius:0 0 13px 13px !important; border-top:0 !important; padding:0 20px !important; background:#0e141b !important; }
.h2h-league-tabs-card .h2h-tabs { gap:24px !important; overflow-x:auto; }
.h2h-league-tabs-card .h2h-tab { position:relative; min-width:auto !important; padding:17px 4px 15px !important; border:0 !important; background:transparent !important; color:#8794a3 !important; border-radius:0 !important; font-size:11px !important; text-transform:uppercase; letter-spacing:.06em; }
.h2h-league-tabs-card .h2h-tab::after { content:""; position:absolute; left:0; right:0; bottom:0; height:2px; transform:scaleX(0); background:#e0184f; transition:.2s ease; }
.h2h-league-tabs-card .h2h-tab.active { color:#fff !important; }
.h2h-league-tabs-card .h2h-tab.active::after { transform:scaleX(1); }

.bpw-lc-overview { display:grid; gap:14px; margin-top:14px; }
.bpw-lc-feature-grid { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(320px,.85fr); gap:14px; }
.bpw-lc-feature-grid.is-single { grid-template-columns:1fr; }
.bpw-lc-next,.bpw-lc-pulse,.bpw-lc-matchday,.bpw-lc-insights article { border:1px solid #2e3947; background:linear-gradient(145deg,#141a22,#0d1218); }
.bpw-lc-next,.bpw-lc-pulse { min-width:0; border-radius:13px; overflow:hidden; }
.bpw-lc-next > header,.bpw-lc-pulse > header { min-height:46px; padding:0 16px; display:flex; align-items:center; justify-content:space-between; gap:10px; border-bottom:1px solid #2b3541; background:rgba(7,10,14,.28); }
.bpw-lc-next > header span,.bpw-lc-pulse > header span { color:#fff; font-size:12px; font-weight:950; text-transform:uppercase; letter-spacing:.04em; }
.bpw-lc-next > header i,.bpw-lc-pulse > header i { margin-right:7px; color:#e0184f; }
.bpw-lc-next > header em,.bpw-lc-pulse > header a { color:#8392a3; font-size:10px; font-style:normal; font-weight:850; text-transform:uppercase; }
.bpw-lc-pulse > header a:hover { color:#e0184f; }

.bpw-lc-duel { min-height:176px; padding:20px; display:grid; grid-template-columns:minmax(0,1fr) 120px minmax(0,1fr); align-items:center; gap:12px; color:inherit; background:radial-gradient(circle at 50% 100%,rgba(224,24,79,.11),transparent 46%); }
.bpw-lc-club { min-width:0; display:flex; flex-direction:column; align-items:center; gap:9px; text-align:center; }
.bpw-lc-club > span { width:66px; height:66px; display:grid; place-items:center; }
.bpw-lc-club img { width:100%; height:100%; object-fit:contain; }
.bpw-lc-club i { font-size:45px; color:#657486; }
.bpw-lc-club strong { max-width:100%; color:#fff; font-size:13px; font-weight:950; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.bpw-lc-kickoff { display:flex; flex-direction:column; align-items:center; text-align:center; }
.bpw-lc-kickoff > strong { color:#fff; font-size:31px; line-height:1; font-weight:1000; letter-spacing:-.04em; }
.bpw-lc-kickoff > span { margin-top:10px; color:#778697; font-size:8px; font-weight:900; text-transform:uppercase; }
.bpw-lc-kickoff b { margin-top:4px; padding:6px 9px; border:1px solid #303b48; border-radius:6px; color:#e83a69; background:#0b1016; font-size:12px; font-weight:950; }
.bpw-lc-verdict { margin:0 14px 12px; padding:12px 14px; display:grid; grid-template-columns:1fr 1.3fr .55fr; gap:14px; border:1px solid rgba(224,24,79,.25); border-radius:9px; background:linear-gradient(90deg,rgba(224,24,79,.09),rgba(7,10,14,.55)); }
.bpw-lc-verdict > div { min-width:0; display:flex; flex-direction:column; justify-content:center; }
.bpw-lc-verdict small { color:#788697; font-size:8px; font-weight:900; text-transform:uppercase; }
.bpw-lc-verdict strong { margin-top:3px; color:#fff; font-size:16px; font-weight:1000; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.bpw-lc-verdict > div:last-child strong { color:#e83a69; }
.bpw-lc-verdict i { height:3px; margin-top:7px; overflow:hidden; border-radius:99px; background:#313a45; }
.bpw-lc-verdict i span { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#b70f3e,#f03b6b); }
.bpw-lc-cta { margin:0 14px 14px; height:36px; display:flex; align-items:center; justify-content:center; gap:8px; border-radius:7px; color:#fff; background:linear-gradient(90deg,#b80e3e,#df174e); font-size:10px; font-weight:950; text-transform:uppercase; letter-spacing:.04em; }
.bpw-lc-cta:hover { color:#fff; filter:brightness(1.1); }

.bpw-lc-pulse-head,.bpw-lc-pulse-row { display:grid; grid-template-columns:26px minmax(120px,1fr) 28px 34px 108px; align-items:center; gap:8px; }
.bpw-lc-pulse-head { padding:10px 14px 7px; color:#6f7e8f; font-size:8px; font-weight:900; text-transform:uppercase; }
.bpw-lc-pulse-row { min-height:47px; padding:6px 14px; border-top:1px solid rgba(47,58,71,.55); color:#fff; transition:.18s ease; }
.bpw-lc-pulse-row:hover { background:rgba(224,24,79,.06); }
.bpw-lc-pulse-row > b { color:#e83a69; font-size:11px; }
.bpw-lc-pulse-row > span:nth-child(2) { min-width:0; display:flex; align-items:center; gap:8px; overflow:hidden; font-size:11px; font-weight:900; white-space:nowrap; text-overflow:ellipsis; }
.bpw-lc-pulse-row img { width:22px; height:22px; flex:0 0 22px; object-fit:contain; }
.bpw-lc-pulse-row em { color:#8492a2; font-size:10px; font-style:normal; text-align:center; }
.bpw-lc-pulse-row > strong { color:#fff; font-size:12px; text-align:center; }
.bpw-lc-form { display:flex; justify-content:flex-end; gap:3px; }
.bpw-lc-form i { width:17px; height:17px; display:grid; place-items:center; border-radius:50%; background:#26303b; color:#a9b4c1; font-size:7px; font-style:normal; font-weight:950; }
.bpw-lc-form i.is-w { background:#b91443; color:#fff; }
.bpw-lc-form i.is-d { background:#555f6b; color:#fff; }
.bpw-lc-form i.is-l { background:#272d35; color:#7e8996; }

.bpw-lc-matchday { min-width:0; border-radius:13px; overflow:hidden; }
.bpw-lc-matchday > header { min-height:50px; padding:0 16px; display:flex; align-items:center; justify-content:space-between; gap:16px; border-bottom:1px solid #2c3642; }
.bpw-lc-matchday > header div { display:flex; flex-direction:column; }
.bpw-lc-matchday > header span { color:#e83a69; font-size:9px; font-weight:950; text-transform:uppercase; }
.bpw-lc-matchday > header strong { margin-top:2px; color:#fff; font-size:12px; font-weight:950; }
.bpw-lc-matchday > header a { color:#9aa7b6; font-size:9px; font-weight:900; text-transform:uppercase; }
.bpw-lc-card-rail { display:grid; grid-template-columns:repeat(6,minmax(150px,1fr)); gap:8px; padding:10px; overflow-x:auto; scrollbar-width:thin; }
.bpw-lc-match-card { min-width:150px; padding:10px; display:flex; flex-direction:column; gap:10px; border:1px solid #29333e; border-radius:9px; background:#0c1117; color:#fff; }
.bpw-lc-match-card:hover { border-color:rgba(224,24,79,.55); transform:translateY(-1px); }
.bpw-lc-match-card time { color:#7f8c9c; font-size:8px; font-weight:850; text-transform:uppercase; }
.bpw-lc-match-card > div { display:grid; grid-template-columns:1fr 20px 1fr; align-items:start; gap:5px; }
.bpw-lc-match-card > div > span { min-width:0; display:flex; flex-direction:column; align-items:center; gap:5px; text-align:center; }
.bpw-lc-match-card img { width:29px; height:29px; object-fit:contain; }
.bpw-lc-match-card b { width:100%; overflow:hidden; color:#f6f8fb; font-size:8px; white-space:nowrap; text-overflow:ellipsis; }
.bpw-lc-match-card > div > em { align-self:center; color:#e0184f; font-size:7px; font-style:normal; font-weight:950; }
.bpw-lc-match-card footer { min-height:24px; padding-top:8px; display:flex; align-items:center; justify-content:space-between; gap:8px; border-top:1px solid #222b35; }
.bpw-lc-match-card footer strong { overflow:hidden; color:#fff; font-size:8px; white-space:nowrap; text-overflow:ellipsis; text-transform:uppercase; }
.bpw-lc-match-card footer span { color:#e83a69; font-size:9px; font-weight:950; }

.bpw-lc-insights { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.bpw-lc-insights article { min-height:94px; padding:15px; display:flex; align-items:center; gap:14px; overflow:hidden; border-radius:11px; position:relative; }
.bpw-lc-insights article::after { content:""; position:absolute; width:110px; height:110px; right:-45px; bottom:-65px; border-radius:50%; background:rgba(224,24,79,.08); }
.bpw-lc-insights article > i { width:42px; height:42px; flex:0 0 42px; display:grid; place-items:center; border:1px solid rgba(224,24,79,.35); border-radius:50%; color:#e83a69; background:rgba(224,24,79,.09); font-size:16px; }
.bpw-lc-insights article span { min-width:0; display:flex; flex-direction:column; }
.bpw-lc-insights small { color:#e83a69; font-size:8px; font-weight:950; text-transform:uppercase; }
.bpw-lc-insights strong { margin-top:3px; overflow:hidden; color:#fff; font-size:14px; font-weight:1000; white-space:nowrap; text-overflow:ellipsis; }
.bpw-lc-insights em { margin-top:3px; color:#7f8c9b; font-size:9px; font-style:normal; }

.bpw-lc-deep-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.bpw-lc-radar,.bpw-lc-scorers,.bpw-lc-form-watch,.bpw-lc-results-strip { min-width:0; overflow:hidden; border:1px solid #2e3947; border-radius:12px; background:linear-gradient(145deg,#141a22,#0d1218); }
.bpw-lc-radar > header,.bpw-lc-scorers > header,.bpw-lc-form-watch > header,.bpw-lc-results-strip > header { min-height:51px; padding:0 14px; display:flex; align-items:center; justify-content:space-between; gap:12px; border-bottom:1px solid #2b3541; }
.bpw-lc-radar > header div,.bpw-lc-scorers > header div,.bpw-lc-form-watch > header div,.bpw-lc-results-strip > header div { display:flex; flex-direction:column; }
.bpw-lc-radar > header small,.bpw-lc-scorers > header small,.bpw-lc-form-watch > header small,.bpw-lc-results-strip > header small { color:#e83a69; font-size:7px; font-weight:950; text-transform:uppercase; letter-spacing:.08em; }
.bpw-lc-radar > header strong,.bpw-lc-scorers > header strong,.bpw-lc-form-watch > header strong,.bpw-lc-results-strip > header strong { margin-top:2px; color:#fff; font-size:12px; font-weight:1000; text-transform:uppercase; }
.bpw-lc-radar > header > span,.bpw-lc-scorers > header a,.bpw-lc-form-watch > header a,.bpw-lc-results-strip > header a { color:#8290a0; font-size:8px; font-weight:900; text-transform:uppercase; }
.bpw-lc-scorers > header a:hover,.bpw-lc-form-watch > header a:hover,.bpw-lc-results-strip > header a:hover { color:#e83a69; }

.bpw-lc-radar-grid { display:grid; grid-template-columns:1fr 1fr; }
.bpw-lc-radar-grid > div { min-height:74px; padding:12px; display:flex; align-items:center; gap:10px; border-right:1px solid rgba(46,57,71,.7); border-bottom:1px solid rgba(46,57,71,.7); }
.bpw-lc-radar-grid > div:nth-child(2n) { border-right:0; }
.bpw-lc-radar-grid > div:nth-last-child(-n+2) { border-bottom:0; }
.bpw-lc-radar-grid i { width:34px; height:34px; flex:0 0 34px; display:grid; place-items:center; border-radius:9px; color:#e83a69; background:rgba(224,24,79,.1); font-size:12px; }
.bpw-lc-radar-grid span { display:flex; flex-direction:column; }
.bpw-lc-radar-grid small { color:#7f8d9d; font-size:7px; font-weight:900; text-transform:uppercase; }
.bpw-lc-radar-grid strong { margin-top:3px; color:#fff; font-size:17px; font-weight:1000; }

.bpw-lc-scorer-row { min-height:43px; padding:5px 12px; display:grid; grid-template-columns:20px 29px minmax(0,1fr) auto; align-items:center; gap:8px; border-top:1px solid rgba(46,57,71,.58); }
.bpw-lc-scorer-row:first-of-type { border-top:0; }
.bpw-lc-scorer-row > b { color:#e83a69; font-size:10px; }
.bpw-lc-player-photo { width:27px; height:27px; display:grid; place-items:center; overflow:hidden; border-radius:50%; background:#232d38; color:#8a97a7; }
.bpw-lc-player-photo img { width:100%; height:100%; object-fit:cover; }
.bpw-lc-scorer-row > span:nth-child(3) { min-width:0; display:flex; flex-direction:column; }
.bpw-lc-scorer-row > span:nth-child(3) strong,.bpw-lc-scorer-row > span:nth-child(3) a { overflow:hidden; color:#fff; font-size:9px; font-weight:900; white-space:nowrap; text-overflow:ellipsis; }
.bpw-lc-scorer-row > span:nth-child(3) small { color:#748292; font-size:7px; }
.bpw-lc-scorer-row > em { color:#e83a69; font-size:12px; font-style:normal; font-weight:1000; }
.bpw-lc-scorer-row > em small { color:#738191; font-size:6px; }

.bpw-lc-form-groups { display:grid; grid-template-columns:1fr 1fr; }
.bpw-lc-form-groups section { min-width:0; padding:10px; }
.bpw-lc-form-groups section + section { border-left:1px solid #2b3541; }
.bpw-lc-form-groups h4 { margin:0 0 7px; color:#8996a6; font-size:7px; font-weight:950; text-transform:uppercase; }
.bpw-lc-form-groups h4 i { margin-right:4px; color:#e83a69; }
.bpw-lc-form-groups section > div { min-height:38px; display:grid; grid-template-columns:22px minmax(0,1fr) auto; align-items:center; gap:6px; border-top:1px solid rgba(46,57,71,.48); }
.bpw-lc-form-groups section > div:first-of-type { border-top:0; }
.bpw-lc-form-groups img { width:20px; height:20px; object-fit:contain; }
.bpw-lc-form-groups strong { min-width:0; overflow:hidden; color:#fff; font-size:8px; white-space:nowrap; text-overflow:ellipsis; }
.bpw-lc-form-groups .bpw-lc-form { gap:2px; }
.bpw-lc-form-groups .bpw-lc-form i { width:13px; height:13px; font-size:5px; }

.bpw-lc-results-strip > div { display:grid; grid-template-columns:repeat(6,minmax(150px,1fr)); gap:8px; padding:10px; overflow-x:auto; }
.bpw-lc-results-strip > div > a { min-width:150px; padding:9px; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:5px; border:1px solid #29333e; border-radius:8px; background:#0b1016; }
.bpw-lc-results-strip time { grid-column:1/-1; margin-bottom:4px; color:#788697; font-size:7px; font-weight:850; text-transform:uppercase; }
.bpw-lc-results-strip a > span { min-width:0; display:flex; flex-direction:column; align-items:center; gap:4px; text-align:center; }
.bpw-lc-results-strip img { width:25px; height:25px; object-fit:contain; }
.bpw-lc-results-strip a > span strong { width:100%; overflow:hidden; color:#fff; font-size:7px; white-space:nowrap; text-overflow:ellipsis; }
.bpw-lc-results-strip a > b { padding:5px 7px; border-radius:6px; background:rgba(224,24,79,.11); color:#f0f3f7; font-size:11px; white-space:nowrap; }

.bpw-lc-stories { min-width:0; overflow:hidden; border:1px solid #2e3947; border-radius:12px; background:linear-gradient(145deg,#141a22,#0d1218); }
.bpw-lc-stories > header { min-height:58px; padding:0 16px; display:flex; align-items:center; justify-content:space-between; gap:15px; border-bottom:1px solid #2b3541; }
.bpw-lc-stories > header div { display:flex; flex-direction:column; }
.bpw-lc-stories > header small { color:#e83a69; font-size:8px; font-weight:950; text-transform:uppercase; letter-spacing:.08em; }
.bpw-lc-stories > header strong { margin-top:3px; color:#fff; font-size:14px; font-weight:1000; text-transform:uppercase; }
.bpw-lc-stories > header a { color:#8795a5; font-size:8px; font-weight:900; text-transform:uppercase; }
.bpw-lc-stories > header a:hover { color:#e83a69; }
.bpw-lc-story-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; padding:10px; }
.bpw-lc-story { min-width:0; overflow:hidden; border:1px solid #29333e; border-radius:9px; background:#0b1016; color:#fff; transition:.2s ease; }
.bpw-lc-story:hover { border-color:rgba(224,24,79,.58); transform:translateY(-2px); box-shadow:0 10px 22px rgba(0,0,0,.2); }
.bpw-lc-story-media { position:relative; height:104px; display:grid; place-items:center; overflow:hidden; background:radial-gradient(circle at 50% 100%,rgba(224,24,79,.25),transparent 62%),#151b23; }
.bpw-lc-story-media > img { width:100%; height:100%; object-fit:cover; transition:.25s ease; }
.bpw-lc-story:hover .bpw-lc-story-media > img { transform:scale(1.035); }
.bpw-lc-story-media > i { color:#e83a69; font-size:27px; }
.bpw-lc-story-media > em { position:absolute; left:8px; bottom:8px; max-width:calc(100% - 16px); padding:4px 7px; overflow:hidden; border-radius:4px; background:#d9144a; color:#fff; font-size:6px; font-style:normal; font-weight:950; text-transform:uppercase; white-space:nowrap; text-overflow:ellipsis; }
.bpw-lc-story-body { min-height:128px; padding:11px; display:flex; flex-direction:column; }
.bpw-lc-story-body > strong { display:-webkit-box; min-height:32px; overflow:hidden; color:#fff; font-size:11px; line-height:1.4; font-weight:950; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.bpw-lc-story-body p { display:-webkit-box; margin:7px 0 10px; overflow:hidden; color:#778596; font-size:8px; line-height:1.5; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.bpw-lc-story-body small { margin-top:auto; padding-top:8px; display:flex; align-items:center; gap:5px; border-top:1px solid #222b35; color:#7f8d9d; font-size:7px; text-transform:uppercase; }
.bpw-lc-story-body small > i { color:#e83a69; }
.bpw-lc-story-body small > b { margin-left:auto; color:#e83a69; font-size:6px; }

.bpw-lc-team-hub { min-width:0; overflow:hidden; border:1px solid #2e3947; border-radius:12px; background:linear-gradient(145deg,#141a22,#0d1218); }
.bpw-lc-team-hub > header { min-height:58px; padding:0 16px; display:flex; align-items:center; justify-content:space-between; gap:15px; border-bottom:1px solid #2b3541; }
.bpw-lc-team-hub > header div { display:flex; flex-direction:column; }
.bpw-lc-team-hub > header small { color:#e83a69; font-size:8px; font-weight:950; text-transform:uppercase; letter-spacing:.08em; }
.bpw-lc-team-hub > header strong { margin-top:3px; color:#fff; font-size:14px; font-weight:1000; text-transform:uppercase; }
.bpw-lc-team-hub > header a { color:#8795a5; font-size:8px; font-weight:900; text-transform:uppercase; }
.bpw-lc-team-hub > header a:hover { color:#e83a69; }
.bpw-lc-team-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; padding:10px; }
.bpw-lc-team-tile { min-width:0; min-height:62px; padding:8px 9px; display:grid; grid-template-columns:20px 35px minmax(0,1fr); grid-template-rows:auto auto; align-items:center; gap:3px 8px; border:1px solid #29333e; border-radius:8px; background:#0b1016; color:#fff; transition:.18s ease; }
.bpw-lc-team-tile:hover { border-color:rgba(224,24,79,.55); background:linear-gradient(100deg,rgba(224,24,79,.07),#0b1016); transform:translateY(-1px); }
.bpw-lc-team-tile > b { grid-row:1/3; color:#e83a69; font-size:10px; text-align:center; }
.bpw-lc-team-crest { grid-row:1/3; width:33px; height:33px; display:grid; place-items:center; }
.bpw-lc-team-crest img { width:100%; height:100%; object-fit:contain; }
.bpw-lc-team-crest i { color:#647284; font-size:22px; }
.bpw-lc-team-name { min-width:0; align-self:end; display:flex; flex-direction:column; }
.bpw-lc-team-name strong { overflow:hidden; color:#fff; font-size:9px; font-weight:950; white-space:nowrap; text-overflow:ellipsis; }
.bpw-lc-team-name small { margin-top:2px; color:#748292; font-size:6px; text-transform:uppercase; }
.bpw-lc-team-tile > .bpw-lc-form { align-self:start; justify-content:flex-start; margin-top:2px; }
.bpw-lc-team-tile > .bpw-lc-form i { width:13px; height:13px; font-size:5px; }

@media (max-width:1180px) {
    .bpw-lc-feature-grid { grid-template-columns:1fr; }
    .bpw-lc-card-rail { grid-template-columns:repeat(6,170px); }
    .bpw-lc-deep-grid { grid-template-columns:1fr 1fr; }
    .bpw-lc-form-watch { grid-column:1/-1; }
    .bpw-lc-story-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .bpw-lc-team-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width:767px) {
    .bpw-lc-masthead { min-height:auto; padding:18px 14px; align-items:flex-start; flex-direction:column; border-radius:10px 10px 0 0; }
    .bpw-lc-identity { gap:12px; }
    .bpw-lc-logo { width:58px; height:58px; flex-basis:58px; }
    .bpw-lc-identity h1 { font-size:27px; }
    .bpw-lc-meta { margin-top:9px; gap:10px; font-size:9px; }
    .bpw-lc-eyebrow { font-size:8px; }
    .bpw-lc-controls { width:100%; flex-direction:row; align-items:center; }
    .bpw-lc-controls select { min-width:145px; height:36px; font-size:10px; }
    .h2h-league-tabs-card { padding:0 12px !important; }
    .h2h-league-tabs-card .h2h-tabs { gap:18px !important; flex-wrap:nowrap !important; }
    .bpw-lc-overview { margin-top:10px; gap:10px; }
    .bpw-lc-duel { min-height:155px; padding:15px 8px; grid-template-columns:minmax(0,1fr) 88px minmax(0,1fr); }
    .bpw-lc-club > span { width:52px; height:52px; }
    .bpw-lc-club strong { font-size:10px; }
    .bpw-lc-kickoff > strong { font-size:24px; }
    .bpw-lc-kickoff b { font-size:9px; }
    .bpw-lc-verdict { grid-template-columns:1fr 1fr; }
    .bpw-lc-verdict > div:last-child { display:none; }
    .bpw-lc-pulse-head,.bpw-lc-pulse-row { grid-template-columns:22px minmax(105px,1fr) 25px 30px 82px; padding-left:10px; padding-right:10px; gap:5px; }
    .bpw-lc-form i { width:14px; height:14px; font-size:6px; }
    .bpw-lc-card-rail { grid-template-columns:repeat(6,158px); }
    .bpw-lc-insights { grid-template-columns:1fr; }
    .bpw-lc-insights article { min-height:78px; }
    .bpw-lc-deep-grid { grid-template-columns:1fr; }
    .bpw-lc-form-watch { grid-column:auto; }
    .bpw-lc-results-strip > div { grid-template-columns:repeat(6,155px); }
    .bpw-lc-story-grid { grid-template-columns:1fr; }
    .bpw-lc-story { display:grid; grid-template-columns:115px minmax(0,1fr); }
    .bpw-lc-story-media { height:100%; min-height:120px; }
    .bpw-lc-story-body { min-height:120px; }
    .bpw-lc-stories > header { padding:0 12px; }
    .bpw-lc-team-grid { grid-template-columns:1fr 1fr; gap:6px; padding:8px; }
    .bpw-lc-team-tile { grid-template-columns:18px 30px minmax(0,1fr); padding:7px 6px; }
    .bpw-lc-team-crest { width:28px; height:28px; }
    .bpw-lc-team-tile > .bpw-lc-form { display:none; }
    .bpw-lc-team-name { align-self:center; }
    .bpw-lc-team-name strong { font-size:8px; }
}
/* =========================================================
   BETPLUSWIN MATCHES TAB - DUEL CARDS
   ========================================================= */
.bpw-matches-week { margin-top:12px; overflow:hidden; border:1px solid #303b49; border-radius:12px; background:linear-gradient(145deg,#131922,#0d1218); }
.bpw-matches-week:first-child { margin-top:0; }
.bpw-matches-week-head { min-height:54px; padding:0 15px; display:flex; align-items:center; justify-content:space-between; gap:12px; border-bottom:1px solid #2d3744; background:linear-gradient(90deg,rgba(224,24,79,.11),rgba(9,13,18,.2)); }
.bpw-matches-week-head > div { display:flex; flex-direction:column; }
.bpw-matches-week-head small { color:#e83a69; font-size:7px; font-weight:950; text-transform:uppercase; letter-spacing:.08em; }
.bpw-matches-week-head strong { margin-top:3px; color:#fff; font-size:14px; font-weight:1000; text-transform:uppercase; }
.bpw-matches-week-head > span { padding:6px 9px; border:1px solid rgba(224,24,79,.28); border-radius:99px; color:#e83a69; background:rgba(224,24,79,.07); font-size:8px; font-weight:950; text-transform:uppercase; }
.bpw-match-duel-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; padding:10px; }
.bpw-match-duel-card { min-width:0; overflow:hidden; border:1px solid #293440; border-radius:10px; background:#0a1016; color:#fff; transition:.2s ease; }
.bpw-match-duel-card:hover { color:#fff; border-color:rgba(224,24,79,.58); transform:translateY(-2px); box-shadow:0 12px 24px rgba(0,0,0,.22); }
.bpw-match-duel-card > header { min-height:35px; padding:0 11px; display:flex; align-items:center; justify-content:space-between; gap:10px; border-bottom:1px solid #242e38; }
.bpw-match-duel-card > header time { color:#8a98a8; font-size:8px; font-weight:900; text-transform:uppercase; }
.bpw-fixture-countdown { padding:4px 7px; border-radius:5px; color:#a8b3bf; background:#171f28; font-size:7px; font-weight:950; text-transform:uppercase; }
.bpw-fixture-countdown.is-close { color:#fff; background:#d71449; box-shadow:0 0 13px rgba(215,20,73,.24); }
.bpw-match-duel-teams { min-height:124px; padding:13px 12px 10px; display:grid; grid-template-columns:minmax(0,1fr) 68px minmax(0,1fr); align-items:center; gap:6px; background:radial-gradient(circle at 50% 100%,rgba(224,24,79,.1),transparent 48%); }
.bpw-match-duel-teams > div:not(.bpw-match-kickoff) { min-width:0; display:flex; flex-direction:column; align-items:center; gap:7px; text-align:center; }
.bpw-match-duel-teams > div > span { width:45px; height:45px; display:grid; place-items:center; }
.bpw-match-duel-teams img { width:100%; height:100%; object-fit:contain; }
.bpw-match-duel-teams > div > span i { color:#667486; font-size:30px; }
.bpw-match-duel-teams > div > strong { width:100%; overflow:hidden; color:#fff; font-size:10px; font-weight:950; white-space:nowrap; text-overflow:ellipsis; }
.bpw-match-kickoff { display:flex; flex-direction:column; align-items:center; text-align:center; }
.bpw-match-kickoff b { color:#fff; font-size:20px; line-height:1; font-weight:1000; }
.bpw-match-kickoff em { margin-top:7px; color:#e83a69; font-size:7px; font-style:normal; font-weight:950; }
.bpw-match-form-line { min-height:29px; padding:5px 10px; display:flex; align-items:center; justify-content:space-between; gap:8px; border-top:1px solid #232c36; border-bottom:1px solid #232c36; background:#0d131a; }
.bpw-match-form-line > span { display:flex; align-items:center; gap:3px; }
.bpw-match-form-line small { margin:0 3px; color:#6f7e8e; font-size:6px; font-weight:900; text-transform:uppercase; }
.bpw-match-form-line i { width:15px; height:15px; display:grid; place-items:center; border-radius:50%; color:#8793a1; background:#242d37; font-size:6px; font-style:normal; font-weight:950; }
.bpw-match-form-line i.is-w { color:#fff; background:#16a765; box-shadow:0 0 0 1px rgba(39,211,133,.18); }
.bpw-match-form-line i.is-d { color:#fff; background:#596471; box-shadow:0 0 0 1px rgba(166,179,194,.14); }
.bpw-match-form-line i.is-l { color:#fff; background:#d51d4f; box-shadow:0 0 0 1px rgba(240,53,104,.18); }
.bpw-match-pick { min-height:55px; padding:9px 10px; display:grid; grid-template-columns:minmax(75px,1.2fr) minmax(85px,1fr) 46px auto; align-items:center; gap:9px; background:linear-gradient(90deg,rgba(224,24,79,.08),rgba(8,12,17,.2)); }
.bpw-match-pick > span { min-width:0; display:flex; flex-direction:column; }
.bpw-match-pick small { color:#6f7d8d; font-size:6px; font-weight:900; text-transform:uppercase; }
.bpw-match-pick strong { margin-top:3px; overflow:hidden; color:#fff; font-size:10px; font-weight:1000; white-space:nowrap; text-overflow:ellipsis; }
.bpw-match-pick > span:nth-child(2) > i { height:2px; margin-top:5px; overflow:hidden; border-radius:99px; background:#303945; }
.bpw-match-pick > span:nth-child(2) > i b { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#b90f40,#f03568); }
.bpw-match-pick > span:nth-last-child(2) strong { color:#e83a69; }
.bpw-match-pick > em { justify-self:end; color:#e83a69; font-size:7px; font-style:normal; font-weight:950; text-transform:uppercase; white-space:nowrap; }
.bpw-match-pick.is-empty { grid-template-columns:1fr auto; }
.h2h-load-matchweek-btn { margin-top:14px !important; border-color:rgba(224,24,79,.35) !important; background:linear-gradient(90deg,#a90d39,#dc164d) !important; color:#fff !important; }

@media (max-width:900px) {
    .bpw-match-duel-grid { grid-template-columns:1fr; }
}

@media (max-width:767px) {
    .bpw-match-duel-grid { gap:7px; padding:7px; }
    .bpw-matches-week-head { min-height:48px; padding:0 10px; }
    .bpw-match-duel-teams { min-height:110px; grid-template-columns:minmax(0,1fr) 58px minmax(0,1fr); }
    .bpw-match-duel-teams > div > span { width:38px; height:38px; }
    .bpw-match-kickoff b { font-size:17px; }
    .bpw-match-pick { grid-template-columns:minmax(70px,1.2fr) minmax(75px,1fr) 40px; }
    .bpw-match-pick > em { display:none; }
    .bpw-match-form-line i { width:13px; height:13px; font-size:5px; }
    .bpw-match-pick.is-empty { grid-template-columns:1fr; }
}

/* =========================================================
   BETPLUSWIN RESULTS TAB - FINAL SCORE CARDS
   ========================================================= */
.bpw-results-week { margin-top:12px; overflow:hidden; border:1px solid #303b49; border-radius:12px; background:linear-gradient(145deg,#131922,#0d1218); }
.bpw-results-week:first-child { margin-top:0; }
.bpw-results-week-head { min-height:54px; padding:0 15px; display:flex; align-items:center; justify-content:space-between; gap:12px; border-bottom:1px solid #2d3744; background:linear-gradient(90deg,rgba(224,24,79,.11),rgba(9,13,18,.2)); }
.bpw-results-week-head > div { display:flex; flex-direction:column; }
.bpw-results-week-head small { color:#e83a69; font-size:7px; font-weight:950; text-transform:uppercase; letter-spacing:.08em; }
.bpw-results-week-head strong { margin-top:3px; color:#fff; font-size:14px; font-weight:1000; text-transform:uppercase; }
.bpw-results-week-head > span { padding:6px 9px; border:1px solid rgba(224,24,79,.28); border-radius:99px; color:#e83a69; background:rgba(224,24,79,.07); font-size:8px; font-weight:950; text-transform:uppercase; }
.bpw-result-card-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; padding:10px; }
.bpw-result-card { min-width:0; overflow:hidden; border:1px solid #293440; border-radius:10px; background:#0a1016; color:#fff; transition:.2s ease; }
.bpw-result-card:hover { color:#fff; border-color:rgba(224,24,79,.58); transform:translateY(-2px); box-shadow:0 12px 24px rgba(0,0,0,.22); }
.bpw-result-card > header { min-height:35px; padding:0 11px; display:flex; align-items:center; justify-content:space-between; gap:10px; border-bottom:1px solid #242e38; }
.bpw-result-card > header time { color:#8a98a8; font-size:8px; font-weight:900; text-transform:uppercase; }
.bpw-result-card > header span { min-width:31px; padding:4px 7px; border-radius:5px; color:#fff; background:#d71449; font-size:7px; font-weight:1000; text-align:center; }
.bpw-result-card > header span.is-aet,.bpw-result-card > header span.is-pen { background:#7e2850; }
.bpw-result-scoreboard { min-height:143px; padding:15px 12px 12px; display:grid; grid-template-columns:minmax(0,1fr) 92px minmax(0,1fr); align-items:center; gap:7px; background:radial-gradient(circle at 50% 100%,rgba(224,24,79,.1),transparent 52%); }
.bpw-result-scoreboard > div:not(.bpw-result-final-score) { min-width:0; display:flex; flex-direction:column; align-items:center; gap:6px; text-align:center; }
.bpw-result-scoreboard > div:not(.bpw-result-final-score) > span { width:45px; height:45px; display:grid; place-items:center; }
.bpw-result-scoreboard img { width:100%; height:100%; object-fit:contain; }
.bpw-result-scoreboard > div > span i { color:#667486; font-size:30px; }
.bpw-result-scoreboard > div > strong { max-width:100%; overflow:hidden; color:#d6dde5; font-size:10px; font-weight:950; white-space:nowrap; text-overflow:ellipsis; }
.bpw-result-scoreboard > div > em { padding:3px 6px; border-radius:99px; color:#fff; font-size:6px; font-style:normal; font-weight:1000; }
.bpw-result-scoreboard > .is-winner > strong { color:#fff; }
.bpw-result-scoreboard > .is-winner > em { background:#16a765; }
.bpw-result-scoreboard > .is-loser > em { background:#d51d4f; }
.bpw-result-scoreboard > .is-draw > em { background:#596471; }
.bpw-result-scoreboard > .is-loser { opacity:.72; }
.bpw-result-final-score { display:flex; flex-direction:column; align-items:center; text-align:center; }
.bpw-result-final-score small { color:#758393; font-size:6px; font-weight:950; text-transform:uppercase; }
.bpw-result-final-score strong { margin-top:5px; color:#fff; font-size:27px; line-height:1; font-weight:1000; letter-spacing:-.04em; }
.bpw-result-final-score strong i { margin:0 5px; color:#e83a69; font-style:normal; }
.bpw-result-final-score em { margin-top:8px; padding:4px 7px; border-radius:4px; color:#aeb9c5; background:#171f28; font-size:7px; font-style:normal; font-weight:900; }
.bpw-result-meta { min-height:47px; padding:8px 10px; display:flex; align-items:center; gap:17px; border-top:1px solid #232c36; background:linear-gradient(90deg,rgba(224,24,79,.07),rgba(8,12,17,.2)); }
.bpw-result-meta > span { display:flex; flex-direction:column; }
.bpw-result-meta small { color:#6f7d8d; font-size:6px; font-weight:900; text-transform:uppercase; }
.bpw-result-meta strong { margin-top:2px; color:#fff; font-size:10px; font-weight:1000; }
.bpw-result-meta > em { margin-left:auto; color:#e83a69; font-size:7px; font-style:normal; font-weight:950; text-transform:uppercase; }

@media (max-width:900px) {
    .bpw-result-card-grid { grid-template-columns:1fr; }
}

@media (max-width:767px) {
    .bpw-result-card-grid { gap:7px; padding:7px; }
    .bpw-results-week-head { min-height:48px; padding:0 10px; }
    .bpw-result-scoreboard { min-height:126px; grid-template-columns:minmax(0,1fr) 76px minmax(0,1fr); padding:12px 8px 10px; }
    .bpw-result-scoreboard > div:not(.bpw-result-final-score) > span { width:38px; height:38px; }
    .bpw-result-final-score strong { font-size:23px; }
    .bpw-result-meta { gap:12px; }
    .bpw-result-meta > em { font-size:6px; }
}

/* v38 compact results list */
.bpw-result-list { padding:7px 10px 10px; }
.bpw-result-row { min-height:68px; display:grid; grid-template-columns:74px minmax(360px,560px) minmax(30px,1fr); align-items:center; gap:8px; padding:7px 11px; border-bottom:1px solid #202a34; color:#fff; background:#0a1016; transition:.18s ease; }
.bpw-result-row:first-child { border-radius:8px 8px 0 0; }
.bpw-result-row:last-child { border-bottom:0; border-radius:0 0 8px 8px; }
.bpw-result-row:only-child { border-radius:8px; }
.bpw-result-row:hover { color:#fff; background:#101821; box-shadow:inset 3px 0 #e0184f; }
.bpw-result-row-date { display:flex; flex-direction:column; align-items:flex-start; gap:5px; }
.bpw-result-row-date time { color:#8f9cac; font-size:7px; font-weight:950; text-transform:uppercase; }
.bpw-result-row-date span { min-width:30px; padding:3px 6px; border-radius:4px; color:#fff; background:#76213f; font-size:6px; font-weight:1000; text-align:center; }
.bpw-result-row-match { min-width:0; display:grid; grid-template-columns:minmax(130px,220px) 70px minmax(130px,220px); align-items:center; justify-content:start; gap:8px; }
.bpw-result-row-team { min-width:0; display:flex; align-items:center; gap:9px; }
.bpw-result-row-team.is-home { justify-content:flex-end; text-align:right; }
.bpw-result-row-team.is-away { justify-content:flex-start; }
.bpw-result-row-team > span { width:30px; height:30px; flex:0 0 30px; display:grid; place-items:center; }
.bpw-result-row-team img { width:100%; height:100%; object-fit:contain; }
.bpw-result-row-team > span i { color:#667486; font-size:21px; }
.bpw-result-row-team strong { overflow:hidden; color:#d4dbe3; font-size:9px; font-weight:900; white-space:nowrap; text-overflow:ellipsis; }
.bpw-result-row-team.is-winner strong { color:#fff; }
.bpw-result-row-team.is-winner::after { content:'W'; width:15px; height:15px; flex:0 0 15px; display:grid; place-items:center; border-radius:50%; color:#fff; background:#16a765; font-size:6px; font-weight:1000; }
.bpw-result-row-team.is-home.is-winner::after { order:-1; }
.bpw-result-row-team.is-loser { opacity:.68; }
.bpw-result-row-score { display:flex; flex-direction:column; align-items:center; text-align:center; }
.bpw-result-row-score strong { color:#fff; font-size:18px; line-height:1; font-weight:1000; }
.bpw-result-row-score strong i { margin:0 5px; color:#e83a69; font-style:normal; }
.bpw-result-row-score small { margin-top:5px; color:#718091; font-size:6px; font-weight:900; text-transform:uppercase; }
.bpw-result-row-extra { display:flex; align-items:center; justify-content:flex-end; gap:9px; color:#e83a69; }
.bpw-result-row-extra > span { display:flex; flex-direction:column; text-align:right; }
.bpw-result-row-extra small { color:#6e7c8c; font-size:5px; font-weight:900; }
.bpw-result-row-extra strong { color:#fff; font-size:8px; }
.bpw-result-row-extra > i { font-size:8px; }

@media (max-width:767px) {
    .bpw-result-list { padding:5px 6px 7px; }
    .bpw-result-row { min-height:70px; grid-template-columns:minmax(0,1fr) 18px; grid-template-areas:'date extra' 'match extra'; gap:4px 6px; padding:7px 8px; }
    .bpw-result-row-date { grid-area:date; flex-direction:row; align-items:center; gap:7px; }
    .bpw-result-row-match { grid-area:match; grid-template-columns:minmax(0,1fr) 52px minmax(0,1fr); width:100%; gap:5px; }
    .bpw-result-row-extra { grid-area:extra; align-self:stretch; justify-content:center; }
    .bpw-result-row-extra > span { display:none; }
    .bpw-result-row-team > span { width:25px; height:25px; flex-basis:25px; }
    .bpw-result-row-team strong { font-size:8px; }
    .bpw-result-row-team.is-winner::after { display:none; }
    .bpw-result-row-score strong { font-size:16px; }
}

/* v41 hard alignment fix: flex prevents grid/global-rule displacement */
.bpw-result-row {
    display:flex !important;
    align-items:center !important;
    gap:10px !important;
    position:relative !important;
}
.bpw-result-row-date {
    flex:0 0 74px !important;
}
.bpw-result-row-match {
    width:520px !important;
    max-width:520px !important;
    flex:0 1 520px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:8px !important;
    position:absolute !important;
    left:50% !important;
    transform:translateX(-50%) !important;
}
.bpw-result-row-match .bpw-result-row-team {
    width:auto !important;
    min-width:0 !important;
    flex:1 1 0 !important;
}
.bpw-result-row-match .bpw-result-row-score {
    width:70px !important;
    flex:0 0 70px !important;
}
.bpw-result-row-extra {
    margin-left:auto !important;
    flex:0 0 auto !important;
}

@media (max-width:767px) {
    .bpw-result-row {
        min-height:72px !important;
        flex-wrap:wrap !important;
        gap:4px 6px !important;
    }
    .bpw-result-row-date {
        order:1;
        flex:1 1 calc(100% - 24px) !important;
        flex-direction:row;
    }
    .bpw-result-row-extra {
        order:2;
        align-self:center !important;
        flex:0 0 18px !important;
    }
    .bpw-result-row-match {
        order:3;
        width:100% !important;
        max-width:none !important;
        flex:1 0 100% !important;
        gap:5px !important;
        position:static !important;
        left:auto !important;
        transform:none !important;
    }
    .bpw-result-row-match .bpw-result-row-score {
        width:52px !important;
        flex-basis:52px !important;
    }
}

/* =========================================================
   v43 PLAYER PERFORMANCE HUB
   ========================================================= */
.bpw-player-hub { overflow:hidden; border:1px solid #303b49; border-radius:13px; background:linear-gradient(145deg,#121820,#0b1016); }
.bpw-player-hub-head { min-height:88px; padding:18px 20px; display:flex; align-items:center; justify-content:space-between; gap:18px; border-bottom:1px solid #2b3541; background:linear-gradient(115deg,rgba(224,24,79,.12),rgba(12,17,23,.3) 55%,rgba(80,23,77,.12)); }
.bpw-player-hub-head > div { min-width:0; }
.bpw-player-hub-head small { color:#ea3264; font-size:7px; font-weight:1000; text-transform:uppercase; letter-spacing:.1em; }
.bpw-player-hub-head h2 { margin:4px 0 3px; color:#fff; font-size:21px; line-height:1.05; font-weight:1000; text-transform:uppercase; }
.bpw-player-hub-head p { margin:0; color:#8f9cac; font-size:9px; font-weight:700; }
.bpw-player-hub-head > span { padding:7px 10px; border:1px solid rgba(224,24,79,.28); border-radius:99px; color:#e83a69; background:rgba(224,24,79,.07); font-size:7px; font-weight:950; text-transform:uppercase; white-space:nowrap; }
.bpw-player-hub-head > span i { margin-right:5px; }

.bpw-player-podium { min-height:190px; padding:18px 20px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:end; gap:10px; border-bottom:1px solid #27313c; background:radial-gradient(circle at 50% 100%,rgba(224,24,79,.12),transparent 52%); }
.bpw-podium-player { min-width:0; min-height:128px; padding:13px; display:grid; grid-template-columns:28px 58px minmax(0,1fr) 55px; align-items:center; gap:10px; border:1px solid #2b3541; border-radius:11px; color:#fff; background:#0b1118; position:relative; transition:.2s ease; }
.bpw-podium-player:hover { color:#fff; transform:translateY(-3px); border-color:rgba(224,24,79,.55); box-shadow:0 15px 28px rgba(0,0,0,.24); }
.bpw-podium-player.is-rank-1 { grid-column:2; grid-row:1; min-height:154px; border-color:rgba(224,24,79,.5); background:linear-gradient(145deg,rgba(224,24,79,.15),#0b1118 54%); }
.bpw-podium-player.is-rank-2 { grid-column:1; grid-row:1; }
.bpw-podium-player.is-rank-3 { grid-column:3; grid-row:1; }
.bpw-podium-player > b { width:27px; height:27px; display:grid; place-items:center; border-radius:8px; color:#fff; background:#303945; font-size:11px; font-weight:1000; }
.bpw-podium-player.is-rank-1 > b { background:#d8194e; box-shadow:0 0 18px rgba(216,25,78,.25); }
.bpw-podium-player > div { width:56px; height:56px; overflow:hidden; display:grid; place-items:center; border:2px solid #34404d; border-radius:50%; color:#fff; background:#202a35; font-size:15px; font-weight:1000; }
.bpw-podium-player.is-rank-1 > div { width:68px; height:68px; border-color:#e52d60; }
.bpw-podium-player > div img { width:100%; height:100%; object-fit:cover; }
.bpw-podium-player > section { min-width:0; display:flex; flex-direction:column; }
.bpw-podium-player > section strong { overflow:hidden; color:#fff; font-size:11px; font-weight:1000; white-space:nowrap; text-overflow:ellipsis; }
.bpw-podium-player > section small { margin-top:4px; overflow:hidden; color:#8593a3; font-size:7px; font-weight:800; white-space:nowrap; text-overflow:ellipsis; }
.bpw-podium-player > em { display:flex; flex-direction:column; align-items:center; font-style:normal; }
.bpw-podium-player > em strong { color:#e83a69; font-size:25px; line-height:1; font-weight:1000; }
.bpw-podium-player > em small { margin-top:4px; color:#778595; font-size:6px; font-weight:950; text-transform:uppercase; }

.bpw-player-board-grid { padding:12px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px; }
.bpw-player-board { min-width:0; overflow:hidden; border:1px solid #293440; border-radius:10px; background:#0a1016; }
.bpw-player-board > header { min-height:47px; padding:0 13px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid #26303b; background:#10171f; }
.bpw-player-board > header h3 { margin:0; color:#fff; font-size:11px; font-weight:1000; text-transform:uppercase; }
.bpw-player-board > header h3 i { width:21px; color:#e83a69; }
.bpw-player-board > header > span { padding:4px 7px; border-radius:99px; color:#e83a69; background:rgba(224,24,79,.1); font-size:6px; font-weight:1000; text-transform:uppercase; }
.bpw-player-board.is-yellow > header h3 i { color:#e1b928; }
.bpw-player-board.is-yellow > header > span { color:#e1b928; background:rgba(225,185,40,.09); }
.bpw-player-board-row { min-height:51px; padding:6px 11px; display:grid; grid-template-columns:25px 34px minmax(0,1fr) 35px; align-items:center; gap:8px; border-bottom:1px solid #202a34; color:#fff; }
.bpw-player-board-row:last-child { border-bottom:0; }
.bpw-player-board-row:hover { color:#fff; background:#101820; }
.bpw-player-board-row > b { color:#e83a69; font-size:8px; font-weight:1000; text-align:center; }
.bpw-player-board-row > div { width:32px; height:32px; overflow:hidden; display:grid; place-items:center; border-radius:50%; color:#fff; background:#202a35; font-size:8px; font-weight:950; }
.bpw-player-board-row > div img { width:100%; height:100%; object-fit:cover; }
.bpw-player-board-row > section { min-width:0; display:flex; flex-direction:column; }
.bpw-player-board-row > section strong { overflow:hidden; color:#fff; font-size:9px; font-weight:950; white-space:nowrap; text-overflow:ellipsis; }
.bpw-player-board-row > section small { margin-top:2px; overflow:hidden; color:#758394; font-size:7px; font-weight:750; white-space:nowrap; text-overflow:ellipsis; }
.bpw-player-board-row > em { color:#e83a69; font-size:15px; font-style:normal; font-weight:1000; text-align:right; }
.bpw-player-board.is-yellow .bpw-player-board-row > em { color:#e1b928; }
.bpw-player-hub-empty { min-height:230px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; color:#7f8c9c; }
.bpw-player-hub-empty i { margin-bottom:13px; color:#e83a69; font-size:28px; }
.bpw-player-hub-empty strong { color:#fff; font-size:12px; }
.bpw-player-hub-empty span { margin-top:6px; font-size:8px; }

@media (max-width:1050px) {
    .bpw-player-podium { grid-template-columns:1fr; align-items:stretch; }
    .bpw-podium-player,.bpw-podium-player.is-rank-1,.bpw-podium-player.is-rank-2,.bpw-podium-player.is-rank-3 { grid-column:1; grid-row:auto; min-height:100px; }
    .bpw-podium-player.is-rank-1 { order:-1; }
}

@media (max-width:767px) {
    .bpw-player-hub-head { min-height:76px; padding:13px 12px; }
    .bpw-player-hub-head h2 { font-size:16px; }
    .bpw-player-hub-head > span { display:none; }
    .bpw-player-podium { min-height:0; padding:8px; gap:7px; }
    .bpw-podium-player,.bpw-podium-player.is-rank-1 { min-height:82px; padding:8px; grid-template-columns:23px 42px minmax(0,1fr) 42px; gap:7px; }
    .bpw-podium-player > div,.bpw-podium-player.is-rank-1 > div { width:40px; height:40px; }
    .bpw-podium-player > em strong { font-size:20px; }
    .bpw-player-board-grid { grid-template-columns:1fr; padding:7px; gap:7px; }
    .bpw-player-board-row { min-height:48px; }
}

/* =========================================================
   PLAYER RACE HUB - ALL PLAYERS / SEO / MOBILE
   ========================================================= */
.bpw-player-race-tabs{padding:12px;display:flex;gap:7px;overflow-x:auto;border-bottom:1px solid #27313c;background:#0c1219;scrollbar-width:thin}
.bpw-player-race-tab{min-height:38px;padding:0 13px;display:inline-flex;align-items:center;gap:7px;border:1px solid #2c3744;border-radius:9px;color:#94a1b1;background:#111922;font-size:9px;font-weight:900;text-transform:uppercase;white-space:nowrap;cursor:pointer}
.bpw-player-race-tab i{color:#e83a69}.bpw-player-race-tab b{min-width:19px;height:19px;padding:0 5px;display:grid;place-items:center;border-radius:99px;color:#9eabb9;background:#202b36;font-size:7px}
.bpw-player-race-tab.is-active{border-color:#df2357;color:#fff;background:linear-gradient(135deg,#d91d51,#a9113d);box-shadow:0 7px 20px rgba(217,29,81,.2)}
.bpw-player-race-tab.is-active i,.bpw-player-race-tab.is-active b{color:#fff}.bpw-player-race-tab.is-active b{background:rgba(255,255,255,.16)}
.bpw-player-race-panel{padding:12px;display:grid;grid-template-columns:245px minmax(0,1fr);gap:12px}.bpw-player-race-panel[hidden]{display:none!important}
.bpw-player-race-leader{min-height:290px;padding:17px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid rgba(225,33,87,.48);border-radius:12px;text-align:center;background:radial-gradient(circle at 50% 25%,rgba(226,31,88,.2),transparent 38%),linear-gradient(145deg,rgba(224,24,79,.11),#0a1016 62%)}
.bpw-player-race-rank{margin-bottom:11px;color:#f05883;font-size:8px;font-weight:950;letter-spacing:.08em;text-transform:uppercase}
.bpw-player-race-leader-link{display:flex;flex-direction:column;align-items:center;color:#fff}.bpw-player-race-leader-link:hover{color:#fff}
.bpw-player-race-photo{width:88px;height:88px;overflow:hidden;display:grid;place-items:center;margin-bottom:12px;border:3px solid #e42b5e;border-radius:50%;color:#fff;background:#222d39;font-size:22px;font-weight:1000;box-shadow:0 0 28px rgba(226,31,88,.2)}
.bpw-player-race-photo img,.bpw-player-race-card-photo img{width:100%;height:100%;object-fit:cover}.bpw-player-race-leader-link>strong{font-size:14px;font-weight:1000}.bpw-player-race-leader-link>small{margin-top:4px;color:#8997a8;font-size:8px;font-weight:800}
.bpw-player-race-leader-link>em{margin-top:16px;color:#ec2e65;font-size:34px;line-height:1;font-style:normal;font-weight:1000}.bpw-player-race-leader-link>em small{font-size:7px;text-transform:uppercase}
.bpw-player-race-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-content:start}
.bpw-player-race-card{min-width:0;min-height:76px;padding:9px;display:grid;grid-template-columns:22px 40px minmax(0,1fr) 29px;grid-template-rows:auto 4px;align-items:center;gap:7px;border:1px solid #293440;border-radius:10px;color:#fff;background:#0d141c;transition:border-color .18s ease,transform .18s ease}
.bpw-player-race-card:hover{color:#fff;border-color:rgba(226,42,94,.55);transform:translateY(-2px)}.bpw-player-race-card>b{color:#eb376a;font-size:8px;text-align:center}.bpw-player-race-card-photo{width:38px;height:38px;overflow:hidden;display:grid;place-items:center;border-radius:50%;color:#fff;background:#202b36;font-size:9px;font-weight:950}
.bpw-player-race-card-name{min-width:0;display:flex;flex-direction:column}.bpw-player-race-card-name strong,.bpw-player-race-card-name small{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.bpw-player-race-card-name strong{font-size:9px;font-weight:950}.bpw-player-race-card-name small{margin-top:3px;color:#788799;font-size:7px;font-weight:750}.bpw-player-race-card>em{color:#ed376b;font-size:16px;font-style:normal;font-weight:1000;text-align:right}
.bpw-player-race-meter{grid-column:1/-1;height:4px;overflow:hidden;border-radius:99px;background:#202a34}.bpw-player-race-meter i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#ae123e,#ec3267)}
.bpw-player-race-panel.is-yellow .bpw-player-race-leader,.bpw-player-race-panel.is-yellow .bpw-player-race-card{border-color:rgba(218,178,34,.32)}.bpw-player-race-panel.is-yellow .bpw-player-race-rank,.bpw-player-race-panel.is-yellow .bpw-player-race-card>b,.bpw-player-race-panel.is-yellow .bpw-player-race-card>em{color:#e1b928}.bpw-player-race-panel.is-yellow .bpw-player-race-meter i{background:#d2a91c}
@media(max-width:1180px){.bpw-player-race-panel{grid-template-columns:210px minmax(0,1fr)}.bpw-player-race-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.bpw-player-race-tabs{padding:8px}.bpw-player-race-panel{padding:8px;grid-template-columns:1fr}.bpw-player-race-leader{min-height:220px}.bpw-player-race-grid{grid-template-columns:1fr}.bpw-player-race-card{min-height:70px}.bpw-player-race-photo{width:72px;height:72px}.bpw-player-race-leader-link>em{font-size:29px}}

/* LEAGUE PULSE W-D-L COLORS */
.bpw-lc-pulse .bpw-lc-form i.is-w{background:#16a765!important;color:#fff!important;box-shadow:0 0 0 1px rgba(39,211,133,.25)!important}
.bpw-lc-pulse .bpw-lc-form i.is-d{background:#f5c518!important;color:#111820!important;box-shadow:0 0 0 1px rgba(255,205,45,.25)!important}
.bpw-lc-pulse .bpw-lc-form i.is-l{background:#d51d4f!important;color:#fff!important;box-shadow:0 0 0 1px rgba(240,53,104,.25)!important}

/* BETPLUSWIN LEAGUE RUBY THEME V1 */

/* Remove the old green page glow */
body.h2h-body {
    background:
        radial-gradient(circle at 52% -12%, rgba(224,24,79,.14) 0, transparent 32%),
        #070b0e !important;
}

/* Standings: Overall / Home / Away */
.h2h-league-section .h2h-tabs .h2h-tab {
    background:#111820 !important;
    border-color:#303a45 !important;
    color:#9ba8b6 !important;
    box-shadow:none !important;
}

.h2h-league-section .h2h-tabs .h2h-tab:hover {
    color:#fff !important;
    background:rgba(224,24,79,.12) !important;
    border-color:rgba(224,24,79,.38) !important;
}

.h2h-league-section .h2h-tabs .h2h-tab.active {
    color:#fff !important;
    background:linear-gradient(135deg,#bd123f,#e0184f) !important;
    border-color:#ef2b60 !important;
    box-shadow:0 8px 22px rgba(224,24,79,.22) !important;
}

/* Best upcoming pick */
.h2h-best-pick-side {
    border-color:rgba(224,24,79,.32) !important;
    background:
        radial-gradient(circle at 100% 0,rgba(224,24,79,.13),transparent 42%),
        linear-gradient(145deg,#151820,#0d1218) !important;
}

.h2h-best-pick-side .h2h-side-best-tip {
    color:#fff !important;
    background:linear-gradient(90deg,rgba(224,24,79,.18),rgba(224,24,79,.07)) !important;
    border-color:rgba(224,24,79,.42) !important;
}

.h2h-best-pick-side .h2h-side-best-tip strong {
    color:#f04472 !important;
}

.h2h-best-pick-side .h2h-side-action {
    color:#fff !important;
    background:linear-gradient(135deg,#bd123f,#e0184f) !important;
    border-color:#ef2b60 !important;
    box-shadow:0 8px 22px rgba(224,24,79,.20) !important;
}

.h2h-best-pick-side .h2h-side-action:hover {
    background:linear-gradient(135deg,#d31649,#f02b61) !important;
    box-shadow:0 10px 26px rgba(224,24,79,.30) !important;
}

/* League sidebar active item */
body.h2h-body .h2h-sidebar a.active {
    color:#fff !important;
    background:linear-gradient(90deg,rgba(197,22,60,.92),rgba(197,22,60,.28)) !important;
    border-color:#e32945 !important;
    box-shadow:inset 3px 0 #fff,0 8px 24px rgba(197,22,60,.17) !important;
}

body.h2h-body .h2h-sidebar a.active i {
    color:#fff !important;
}

/*
 * Semantic form colours are deliberately untouched:
 * W = green, D = yellow, L = red
 */

/* BETPLUSWIN LEAGUE TAB SHADOW FIX */
body.h2h-body .h2h-league-tabs-card .h2h-tabs .h2h-tab,
body.h2h-body .h2h-league-tabs-card .h2h-tabs .h2h-tab:hover,
body.h2h-body .h2h-league-tabs-card .h2h-tabs .h2h-tab.active {
    box-shadow:none !important;
    border-color:transparent !important;
}

body.h2h-body .h2h-league-tabs-card .h2h-tabs .h2h-tab.active {
    background:rgba(224,24,79,.06) !important;
}

body.h2h-body .h2h-league-tabs-card .h2h-tabs .h2h-tab.active::after {
    background:#e0184f !important;
    box-shadow:0 0 10px rgba(224,24,79,.40) !important;
}
