/* =========================================================
   LEAGUE STANDINGS ZONES
   badge + left strip only, no full row background
========================================================= */

.pp-standings-table tbody tr.pp-rank-cl,
.pp-standings-table tbody tr.pp-rank-el,
.pp-standings-table tbody tr.pp-rank-ecl,
.pp-standings-table tbody tr.pp-rank-promotion,
.pp-standings-table tbody tr.pp-rank-playoff,
.pp-standings-table tbody tr.pp-rank-relegation {
    background: transparent !important;
}

.pp-standings-table tbody tr.pp-rank-cl td,
.pp-standings-table tbody tr.pp-rank-el td,
.pp-standings-table tbody tr.pp-rank-ecl td,
.pp-standings-table tbody tr.pp-rank-promotion td,
.pp-standings-table tbody tr.pp-rank-playoff td,
.pp-standings-table tbody tr.pp-rank-relegation td {
    background: transparent !important;
}

.pp-standings-table tbody tr.pp-rank-cl td:first-child {
    border-left: 4px solid #1d7cff;
}

.pp-standings-table tbody tr.pp-rank-el td:first-child {
    border-left: 4px solid #c00078;
}

.pp-standings-table tbody tr.pp-rank-ecl td:first-child {
    border-left: 4px solid #f5c400;
}

.pp-standings-table tbody tr.pp-rank-promotion td:first-child {
    border-left: 4px solid #16a34a;
}

.pp-standings-table tbody tr.pp-rank-playoff td:first-child {
    border-left: 4px solid #2563eb;
}

.pp-standings-table tbody tr.pp-rank-relegation td:first-child {
    border-left: 4px solid #e60023;
}

.pp-rank-badge.pp-rank-cl {
    background: #1d7cff;
    color: #fff;
}

.pp-rank-badge.pp-rank-el {
    background: #c00078;
    color: #fff;
}

.pp-rank-badge.pp-rank-ecl {
    background: #f5c400;
    color: #111;
}

.pp-rank-badge.pp-rank-promotion {
    background: #16a34a;
    color: #fff;
}

.pp-rank-badge.pp-rank-playoff {
    background: #2563eb;
    color: #fff;
}

.pp-rank-badge.pp-rank-relegation {
    background: #e60023;
    color: #fff;
}

.pp-legend-cl {
    background: #1d7cff;
}

.pp-legend-el {
    background: #c00078;
}

.pp-legend-ecl {
    background: #f5c400;
}

.pp-legend-promotion {
    background: #16a34a;
}

.pp-legend-playoff {
    background: #2563eb;
}

.pp-legend-relegation {
    background: #e60023;
}

/* =========================================
   PUNTERS PORTAL - LEAGUE PAGE
========================================= */

.pp-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* HERO */
.pp-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(79, 140, 255, 0.22), transparent 32%),
        radial-gradient(circle at right bottom, rgba(34, 197, 94, 0.10), transparent 22%),
        linear-gradient(135deg, #08122d 0%, #0b1531 100%);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 24px;
    padding: 28px;
    color: #fff;
    box-shadow: 0 18px 38px rgba(0,0,0,.22);
}

.pp-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.pp-hero-left {
    min-width: 0;
}

.pp-hero-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
    color: #9fb0c7;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.pp-hero-breadcrumbs a {
    color: #9fb0c7;
    text-decoration: none;
}

.pp-hero-breadcrumbs a:hover {
    color: #ffffff;
}

.pp-hero h1,
.pp-hero-title {
    margin: 0;
    color: #ffffff;
    font-size: 38px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.pp-hero-subtitle {
    margin: 10px 0 0;
    color: #c7d2e2;
    font-size: 15px;
    line-height: 1.65;
    max-width: 780px;
}

.pp-league-meta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 10px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
}

.pp-league-logo-lg {
    width: 38px;
    height: 38px;
    object-fit: contain;
    flex: 0 0 38px;
}

.pp-league-meta-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pp-league-country {
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
}

.pp-league-meta-sub {
    color: #9fb0c7;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* NAVIGATION */
.pp-league-nav-wrap {
    margin-top: -4px;
}

.pp-league-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
    border-radius: 18px;
    background: linear-gradient(180deg, #111c3a 0%, #0f1730 100%);
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.pp-league-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #c7d2e2;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    transition: .18s ease;
    white-space: nowrap;
}

.pp-league-nav-link:hover {
    color: #ffffff;
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.10);
    transform: translateY(-1px);
}

.pp-league-nav-link.active {
    color: #ffffff;
    background: linear-gradient(180deg, #4f8cff 0%, #3e78f0 100%);
    border-color: rgba(79, 140, 255, 0.95);
    box-shadow: 0 8px 18px rgba(79, 140, 255, 0.28);
}

.pp-league-nav-link.active::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 6px;
    height: 2px;
    border-radius: 999px;
    background: rgba(255,255,255,0.9);
}

/* GENERIC CARDS */
.pp-section-card {
    background: linear-gradient(180deg, #111c3a 0%, #0f1730 100%);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 22px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.pp-section-pad {
    padding: 18px;
}

.pp-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.pp-section-title {
    margin: 0;
    font-size: 22px;
    color: #fff;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.pp-section-subtitle {
    color: #9fb0c7;
    font-size: 13px;
    font-weight: 700;
}

.pp-empty {
    color: #d7e1f0;
    padding: 26px 0 10px;
    font-size: 15px;
}

/* MATCH LIST */
.pp-match-list {
    display: flex;
    flex-direction: column;
}

.pp-match-row {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) 96px 150px 30px;
    gap: 16px;
    align-items: center;
    padding: 15px 18px;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-decoration: none;
    transition: background .18s ease, transform .18s ease;
}

.pp-match-row:first-child {
    border-top: 0;
}

.pp-match-row:hover {
    background: rgba(255,255,255,0.03);
}

.pp-time {
    color: #d8e2f1;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
}

.pp-status-live {
    color: #fca5a5;
}

.pp-row-teams {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.pp-row-team {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.pp-team-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex: 0 0 22px;
}

.pp-team-name,
.pp-row-team span {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pp-scorebox {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.pp-score {
    color: #fff;
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
}

.pp-insights {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.pp-arrow {
    color: #93a5bf;
    font-size: 22px;
    font-weight: 300;
    text-align: right;
}

.pp-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.pp-badge-green {
    background: #dcfce7;
    color: #166534;
}

.pp-badge-blue {
    background: #dbeafe;
    color: #1d4ed8;
}

.pp-badge-gray {
    background: #e5e7eb;
    color: #374151;
}

/* OVERVIEW STATS */
.pp-overview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.pp-overview-stat {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 16px;
}

.pp-overview-label {
    color: #9fb0c7;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 8px;
}

.pp-overview-value {
    font-size: 28px;
    line-height: 1;
    font-weight: 900;
    color: #fff;
}

/* STATS CARDS */
.pp-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.pp-stat {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 16px;
}

.pp-stat-label {
    color: #9fb0c7;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 8px;
}

.pp-stat-value {
    font-size: 28px;
    line-height: 1;
    font-weight: 900;
    color: #fff;
}

/* STANDINGS */
.pp-standings-wrap,
.pp-standings-wrap * {
    box-sizing: border-box;
}

.pp-standings-inner {
    padding: 18px;
}

.pp-standings-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.pp-standings-tabs {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pp-standings-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: #cbd5e1;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    transition: .18s ease;
}

.pp-standings-tab:hover {
    background: rgba(255,255,255,0.10);
    color: #fff;
}

.pp-standings-tab.active {
    background: #ffffff;
    color: #182640;
    border-color: #ffffff;
}

/* Table wrapper */
.pp-standings-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
}

/* Desktop table */
.pp-standings-table {
    width: 100%;
    max-width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
}

.pp-standings-table thead th {
    padding: 12px 6px;
    text-align: center;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #8ea3bf;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.02);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pp-standings-table tbody td {
    padding: 11px 6px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: #e5edf7;
    font-size: 13px;
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.pp-standings-table tbody tr:last-child td {
    border-bottom: 0;
}

.pp-standings-table tbody tr:hover {
    background: rgba(255,255,255,0.04);
}

/* Column widths - full table usage with FORM */
.pp-col-rank,
.pp-standings-table th:nth-child(1),
.pp-standings-table td:nth-child(1) {
    width: 6%;
    text-align: center;
}

.pp-col-team,
.pp-standings-table th:nth-child(2),
.pp-standings-table td:nth-child(2) {
    width: 26%;
    text-align: left;
}

.pp-standings-table th:nth-child(3),
.pp-standings-table td:nth-child(3),
.pp-standings-table th:nth-child(4),
.pp-standings-table td:nth-child(4),
.pp-standings-table th:nth-child(5),
.pp-standings-table td:nth-child(5),
.pp-standings-table th:nth-child(6),
.pp-standings-table td:nth-child(6) {
    width: 6%;
    text-align: center;
}

.pp-standings-table th:nth-child(7),
.pp-standings-table td:nth-child(7) {
    width: 10%;
    text-align: center;
}

.pp-standings-table th:nth-child(8),
.pp-standings-table td:nth-child(8) {
    width: 7%;
    text-align: center;
}

.pp-standings-table th:nth-child(9),
.pp-standings-table td:nth-child(9) {
    width: 7%;
    text-align: center;
}

.pp-col-form,
.pp-standings-table th:nth-child(10),
.pp-standings-table td:nth-child(10) {
    width: 20%;
    text-align: center;
}



.pp-rank-badge {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 900;
    color: #fff;
    box-shadow: inset 0 -1px 0 rgba(255,255,255,0.12);
}

.pp-rank-default {
    color: #dbe7f7;
}

.pp-rank-cl {
    background: #0d63c9;
}

.pp-rank-el {
    background: #8a1457;
}

.pp-rank-ecl {
    background: #b7860b;
}

.pp-rank-relegation {
    background: #c1121f;
}

.pp-team-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.pp-team-cell img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex: 0 0 20px;
}

.pp-team-cell span,
.pp-team-cell strong,
.pp-team-cell b {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pp-pts {
    font-weight: 900;
    color: #ffffff;
}

.pp-form-list {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: nowrap;
}

.pp-form-badge {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 900;
    color: #fff;
    box-shadow: inset 0 -1px 0 rgba(255,255,255,0.12);
}

.pp-form-win {
    background: #16a34a;
}

.pp-form-draw {
    background: #d97706;
}

.pp-form-loss {
    background: #dc2626;
}

.pp-form-empty {
    background: #7c8798;
    color: #f8fafc;
}

.pp-standings-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.pp-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #c9d5e5;
    font-size: 13px;
    line-height: 1.4;
}

.pp-legend-color {
    width: 12px;
    height: 12px;
    border-radius: 4px;
    flex: 0 0 12px;
}

.pp-legend-cl {
    background: #0d63c9;
}

.pp-legend-el {
    background: #8a1457;
}

.pp-legend-ecl {
    background: #b7860b;
}

.pp-legend-relegation {
    background: #c1121f;
}


/* RANKINGS */
.pp-rankings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.pp-ranking-card {
    background: #111827;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    overflow: hidden;
}

.pp-ranking-card-head {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.pp-ranking-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.pp-ranking-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.pp-ranking-row:last-child {
    border-bottom: none;
}

.pp-ranking-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.pp-ranking-pos {
    width: 26px;
    min-width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #1f2937;
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 700;
}

.pp-ranking-photo {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    background: #0f172a;
}

.pp-ranking-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.pp-ranking-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pp-ranking-team {
    font-size: 12px;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pp-ranking-value {
    min-width: 28px;
    text-align: right;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
}


.pp-standings-group-heading {
    margin: 0 0 10px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,.06);
    color: #cfd8ea;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    text-align: center;
}

/* RESPONSIVE */
@media (max-width: 1180px) {
    .pp-overview-grid,
    .pp-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .pp-rankings-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .pp-match-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .pp-arrow {
        text-align: left;
        font-size: 18px;
    }

    .pp-scorebox {
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .pp-sidebar {
        display: none;
    }

    .pp-main {
        gap: 16px;
    }

    .pp-hero {
        padding: 18px 14px;
        border-radius: 20px;
    }

    .pp-hero-top {
        gap: 12px;
    }

    .pp-hero-breadcrumbs {
        font-size: 9px;
        gap: 5px;
        margin-bottom: 8px;
        letter-spacing: .04em;
        line-height: 1.4;
    }

    .pp-hero h1,
    .pp-hero-title {
        font-size: 22px !important;
        line-height: 1.05;
        letter-spacing: -0.03em;
    }

    .pp-hero-subtitle {
        font-size: 11px !important;
        line-height: 1.45;
        margin-top: 8px;
    }

    .pp-league-meta {
        margin-top: 14px;
        padding: 8px 10px;
        gap: 8px;
        border-radius: 12px;
        max-width: 100%;
    }

    .pp-league-logo-lg {
        width: 28px;
        height: 28px;
        flex: 0 0 28px;
    }

    .pp-league-country {
        font-size: 13px;
    }

    .pp-league-meta-sub {
        font-size: 9px;
        letter-spacing: .05em;
    }

    .pp-league-nav {
        gap: 6px;
        padding: 8px;
        border-radius: 16px;
    }

    .pp-league-nav-link {
        min-height: 34px;
        padding: 0 10px;
        font-size: 10px !important;
        border-radius: 10px;
        letter-spacing: .03em;
    }

    .pp-league-nav-link.active::after {
        left: 10px;
        right: 10px;
        bottom: 5px;
    }

    .pp-section-card {
        border-radius: 18px;
    }

    .pp-section-pad,
    .pp-standings-inner {
        padding: 12px;
    }

    .pp-section-head {
        gap: 8px;
        margin-bottom: 10px;
    }

    .pp-section-title {
        font-size: 18px !important;
        line-height: 1.15;
    }

    .pp-section-subtitle {
        font-size: 10px !important;
        line-height: 1.35;
    }

    .pp-empty {
        font-size: 11px;
        padding: 18px 0 6px;
    }

    .pp-overview-grid,
    .pp-stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .pp-overview-stat,
    .pp-stat {
        padding: 12px;
        border-radius: 14px;
    }

    .pp-overview-label,
    .pp-stat-label {
        font-size: 9px;
        margin-bottom: 6px;
    }

    .pp-overview-value,
    .pp-stat-value {
        font-size: 20px;
    }

    .pp-match-row {
        display: grid !important;
        grid-template-columns: 40px minmax(0, 1fr) 28px 58px !important;
        gap: 6px !important;
        align-items: center !important;
        padding: 9px 10px !important;
    }

    .pp-time {
        font-size: 9px !important;
        line-height: 1.15;
    }

    .pp-row-teams {
        gap: 5px;
        min-width: 0;
    }

    .pp-row-team {
        gap: 5px;
        min-width: 0;
    }

    .pp-team-logo {
        width: 14px;
        height: 14px;
        flex: 0 0 14px;
    }

    .pp-team-name,
    .pp-row-team span {
        font-size: 10px !important;
        line-height: 1.2;
    }

    .pp-scorebox {
        align-items: center !important;
        gap: 5px;
    }

    .pp-score {
        font-size: 11px !important;
        line-height: 1;
    }

    .pp-insights {
        gap: 4px;
        align-items: flex-end;
        min-width: 0;
    }

    .pp-badge {
        min-height: 18px;
        padding: 0 6px;
        font-size: 7px !important;
        letter-spacing: .02em;
        line-height: 1;
    }

    .pp-arrow {
        display: none !important;
    }
}

/* STANDINGS MOBILE - FLASHSCORE STYLE */
@media (max-width: 768px) {
    .pp-standings-table-wrap {
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch;
        position: relative;
    }

    .pp-standings-table {
        width: 760px !important;
        min-width: 760px !important;
        max-width: none !important;
        table-layout: fixed !important;
        border-collapse: separate !important;
        border-spacing: 0 !important;
    }

    .pp-standings-table thead th,
    .pp-standings-table tbody td {
        padding: 8px 6px !important;
        font-size: 10px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    /* # fixed - smaller */
.pp-standings-table th:nth-child(1),
.pp-standings-table td:nth-child(1) {
    position: sticky !important;
    left: 0 !important;
    z-index: 6 !important;
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    background: #16213d !important;
    text-align: center !important;
}

/* TEAM fixed - smaller */
.pp-standings-table th:nth-child(2),
.pp-standings-table td:nth-child(2) {
    position: sticky !important;
    left: 38px !important;
    z-index: 6 !important;
    width: 122px !important;
    min-width: 122px !important;
    max-width: 122px !important;
    background: #16213d !important;
    text-align: left !important;
    box-shadow: 8px 0 14px rgba(0,0,0,0.28) !important;
}

    .pp-standings-table thead th:nth-child(1),
    .pp-standings-table thead th:nth-child(2) {
        z-index: 9 !important;
        background: #1b2744 !important;
    }

    /* MP W D L */
    .pp-standings-table th:nth-child(3),
    .pp-standings-table td:nth-child(3),
    .pp-standings-table th:nth-child(4),
    .pp-standings-table td:nth-child(4),
    .pp-standings-table th:nth-child(5),
    .pp-standings-table td:nth-child(5),
    .pp-standings-table th:nth-child(6),
    .pp-standings-table td:nth-child(6) {
        width: 46px !important;
        min-width: 46px !important;
        max-width: 46px !important;
        text-align: center !important;
    }

    /* Goals */
    .pp-standings-table th:nth-child(7),
    .pp-standings-table td:nth-child(7) {
        width: 66px !important;
        min-width: 66px !important;
        max-width: 66px !important;
        text-align: center !important;
    }

    /* GD */
    .pp-standings-table th:nth-child(8),
    .pp-standings-table td:nth-child(8) {
        display: table-cell !important;
        width: 52px !important;
        min-width: 52px !important;
        max-width: 52px !important;
        text-align: center !important;
    }

    /* PTS */
    .pp-standings-table th:nth-child(9),
    .pp-standings-table td:nth-child(9) {
        width: 56px !important;
        min-width: 56px !important;
        max-width: 56px !important;
        text-align: center !important;
    }

    /* FORM */
    .pp-col-form,
    .pp-standings-table th:nth-child(10),
    .pp-standings-table td:nth-child(10) {
        display: table-cell !important;
        width: 160px !important;
        min-width: 160px !important;
        max-width: 160px !important;
        text-align: center !important;
    }

    .pp-team-cell {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        min-width: 0 !important;
    }

    .pp-team-cell img {
        width: 17px !important;
        height: 17px !important;
        flex: 0 0 17px !important;
        object-fit: contain !important;
    }

    .pp-team-cell span,
.pp-team-cell strong,
.pp-team-cell b {
    display: block !important;
    max-width: 78px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

    .pp-rank-badge {
        width: 22px !important;
        height: 22px !important;
        font-size: 10px !important;
        border-radius: 7px !important;
    }

    .pp-form-list {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        flex-wrap: nowrap !important;
    }

    .pp-form-badge {
        width: 19px !important;
        height: 19px !important;
        min-width: 19px !important;
        border-radius: 5px !important;
        font-size: 8px !important;
    }


}

@media (max-width: 430px) {
    .pp-hero {
        padding: 16px 12px;
    }

    .pp-hero h1,
    .pp-hero-title {
        font-size: 20px !important;
    }

    .pp-league-nav-link {
        font-size: 9px !important;
        padding: 0 9px;
        min-height: 32px;
    }

    .pp-section-title {
        font-size: 17px !important;
    }

    .pp-match-row {
        grid-template-columns: 36px minmax(0, 1fr) 24px 52px !important;
        gap: 5px !important;
        padding: 8px 9px !important;
    }

    .pp-time {
        font-size: 8px !important;
    }

    .pp-team-name,
    .pp-row-team span {
        font-size: 9px !important;
    }

    .pp-team-logo {
        width: 13px;
        height: 13px;
        flex: 0 0 13px;
    }

    .pp-score {
        font-size: 10px !important;
    }

    .pp-badge {
        min-height: 17px;
        padding: 0 5px;
        font-size: 6.5px !important;
    }
}

/* PLAYER RANKINGS LOAD MORE */
.pp-ranking-row.is-hidden {
    display: none;
}

.pp-ranking-loadmore-wrap {
    padding: 12px 16px 16px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.pp-ranking-loadmore {
    width: 100%;
    min-height: 36px;
    border: 0;
    border-radius: 12px;
    background: #4f8cff;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    transition: .18s ease;
}

.pp-ranking-loadmore:hover {
    background: #3e78f0;
}

.pp-ranking-loadmore.is-hidden {
    display: none;
}

@media (max-width: 768px) {
    .pp-ranking-loadmore-wrap {
        padding: 10px 12px 14px;
    }

    .pp-ranking-loadmore {
        min-height: 32px;
        font-size: 10px;
        border-radius: 10px;
    }
}

/* =========================
   MODERN PLAYER RANKINGS
========================= */

.pp-ranking-card-modern {
    background:
        radial-gradient(circle at top right, rgba(79,140,255,0.10), transparent 30%),
        linear-gradient(180deg, #0f1a36 0%, #0b1530 100%);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(0,0,0,.18);
}

.pp-ranking-card-head-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
}

.pp-ranking-kicker {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #7ea5ff;
    margin-bottom: 4px;
}

.pp-ranking-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(79,140,255,0.14);
    color: #dbe7ff;
    border: 1px solid rgba(79,140,255,0.28);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
    white-space: nowrap;
}

.pp-ranking-chip.chip-yellow {
    background: rgba(245, 158, 11, 0.16);
    border-color: rgba(245, 158, 11, 0.32);
    color: #fde68a;
}

.pp-ranking-chip.chip-red {
    background: rgba(239, 68, 68, 0.16);
    border-color: rgba(239, 68, 68, 0.32);
    color: #fecaca;
}

.pp-ranking-row-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background .18s ease, transform .18s ease;
}

.pp-ranking-row-modern:hover {
    background: rgba(255,255,255,0.03);
}

.pp-ranking-row-modern:last-child {
    border-bottom: none;
}

.pp-ranking-avatar {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #243556 0%, #18243f 100%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 -1px 0 rgba(255,255,255,0.08);
}

.pp-ranking-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pp-ranking-pos {
    width: 28px;
    min-width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
    color: #dbe7f7;
    background: #1d2b47;
    border: 1px solid rgba(255,255,255,0.06);
}

.pp-ranking-pos.is-gold {
    background: linear-gradient(180deg, #facc15 0%, #eab308 100%);
    color: #111827;
}

.pp-ranking-pos.is-silver {
    background: linear-gradient(180deg, #e5e7eb 0%, #cbd5e1 100%);
    color: #111827;
}

.pp-ranking-pos.is-bronze {
    background: linear-gradient(180deg, #d97706 0%, #b45309 100%);
    color: #fff;
}

.pp-ranking-meta {
    min-width: 0;
}

.pp-ranking-name {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pp-ranking-team {
    font-size: 12px;
    color: #8fa4c3;
    line-height: 1.2;
    margin-top: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pp-ranking-value-box {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    min-width: 46px;
}

.pp-ranking-value-label {
    font-size: 10px;
    font-weight: 800;
    color: #7f95b5;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.pp-ranking-value {
    font-size: 22px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
}

/* Load more */
.pp-ranking-row.is-hidden {
    display: none;
}

.pp-ranking-loadmore-wrap {
    padding: 12px 16px 16px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.pp-ranking-loadmore {
    width: 100%;
    min-height: 38px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(180deg, #4f8cff 0%, #3e78f0 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    transition: .18s ease;
}

.pp-ranking-loadmore:hover {
    background: linear-gradient(180deg, #5a94ff 0%, #4a83f7 100%);
}

.pp-ranking-loadmore.is-hidden {
    display: none;
}

@media (max-width: 768px) {
    .pp-ranking-card-head-modern {
        padding: 12px;
    }

    .pp-ranking-row-modern {
        padding: 10px 12px;
        gap: 8px;
    }

    .pp-ranking-avatar {
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: 10px;
    }

    .pp-ranking-pos {
        width: 24px;
        min-width: 24px;
        height: 24px;
        font-size: 10px;
    }

    .pp-ranking-name {
        font-size: 12px;
    }

    .pp-ranking-team {
        font-size: 10px;
    }

    .pp-ranking-value-label {
        font-size: 8px;
    }

    .pp-ranking-value {
        font-size: 16px;
    }

    .pp-ranking-loadmore-wrap {
        padding: 10px 12px 14px;
    }

    .pp-ranking-loadmore {
        min-height: 34px;
        font-size: 10px;
        border-radius: 10px;
    }
}