/* 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: #23ff55;
        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: #23ff55;
        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: #23ff55;
        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: #23ff55;
        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: #23ff55;
        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: #23ff55;
        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: #23ff55;
        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: #23ff55;
        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: #23ff55;
        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: #23ff55;
        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: #23ff55;
        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: #23ff55;
        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: #23ff55;
        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: #23ff55;
        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: #23ff55;
        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: #23ff55;
        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, #23ff55, #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: #23ff55;
        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: #23ff55;
        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: #23ff55;
        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: #23ff55;
        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: #23ff55;
        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: #23ff55;
        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: #23ff55;
    }

    .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: #22c55e;
    }

    .h2h-zone-el {
        --zone-color: #3b82f6;
    }

    .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: #23ff55 !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: #23ff55 !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: #23ff55 !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: #23ff55 !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: #23ff55 !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: #23ff55 !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: #23ff55 !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: #23ff55 !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: #23ff55 !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: #23ff55 !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;
    }
}