body.standings-page {
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, .18), transparent 34rem),
        radial-gradient(circle at top right, rgba(20, 184, 166, .11), transparent 30rem),
        linear-gradient(180deg, #07111f 0%, #0b1526 42%, #08111f 100%);
}

.standings-page .wrap {
    max-width: 1500px;
    padding: 30px 28px 46px;
}

.standings-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) 390px;
    gap: 28px;
    align-items: center;
    min-height: 150px;
    padding: 24px 30px;
    border: 1px solid rgba(59, 130, 246, .55);
    border-radius: 18px;
    background:
        linear-gradient(100deg, rgba(7, 19, 38, .94), rgba(9, 26, 52, .88)),
        radial-gradient(circle at 92% 26%, rgba(59, 130, 246, .24), transparent 14rem);
    box-shadow:
        0 0 0 1px rgba(125, 211, 252, .08) inset,
        0 18px 55px rgba(0, 0, 0, .36),
        0 0 34px rgba(37, 99, 235, .18);
}

.standings-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent, rgba(147, 197, 253, .08), transparent),
        repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 1px, transparent 1px 18px);
    opacity: .65;
}

.standings-hero > * {
    position: relative;
    z-index: 1;
}

.standings-hero__badge {
    width: 142px;
    height: 142px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(30, 64, 175, .58), rgba(15, 23, 42, .95) 68%),
        conic-gradient(from 0deg, rgba(96, 165, 250, .1), rgba(59, 130, 246, .65), rgba(34, 197, 94, .25), rgba(96, 165, 250, .1));
    border: 1px solid rgba(125, 211, 252, .45);
    box-shadow: 0 0 36px rgba(59, 130, 246, .38), inset 0 0 24px rgba(14, 165, 233, .26);
}

.standings-hero__badge span {
    font-size: 68px;
    filter: drop-shadow(0 0 16px rgba(250, 204, 21, .45));
}

.standings-kicker {
    display: inline-flex;
    margin-bottom: 8px;
    color: #93c5fd;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.standings-hero h1 {
    margin: 0 0 8px;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1;
    text-shadow: 0 3px 18px rgba(0,0,0,.45);
}

.standings-hero p {
    max-width: 760px;
    margin: 0;
    color: #dbeafe;
    font-size: 17px;
    line-height: 1.45;
}

.standings-hero__stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.standings-hero__stats span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .7);
    border: 1px solid rgba(125, 211, 252, .18);
    color: #cbd5e1;
    font-size: 13px;
}

.standings-hero__stats strong {
    margin-right: 5px;
    color: #86efac;
}

.standings-hero__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: end;
}

.standings-filter {
    display: grid;
    gap: 8px;
}

.standings-filter label {
    color: #fff;
    font-weight: 800;
    font-size: 13px;
}

.standings-filter select {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, .38);
    background: rgba(3, 10, 24, .84);
    color: #fff;
    font-weight: 800;
    outline: none;
}

.standings-games-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 26px;
    border-radius: 12px;
    border: 1px solid rgba(96, 165, 250, .78);
    background: linear-gradient(180deg, #2563eb, #1d4ed8 46%, #123b84);
    box-shadow: 0 0 24px rgba(59, 130, 246, .56), inset 0 1px 0 rgba(255,255,255,.28);
    color: #fff;
    font-weight: 900;
    white-space: nowrap;
}

.standings-context {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 16px 0 18px;
}

.standings-context span {
    padding: 7px 11px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, .18);
    background: rgba(15, 23, 42, .62);
    color: #cbd5e1;
    font-size: 13px;
}

.standings-board {
    padding-bottom: 26px;
}

.standings-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.standings-card {
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, .52);
    background:
        linear-gradient(180deg, rgba(10, 25, 48, .95), rgba(7, 17, 33, .98)),
        radial-gradient(circle at 50% 0%, rgba(56, 189, 248, .14), transparent 14rem);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .08),
        0 12px 28px rgba(0, 0, 0, .28),
        0 0 18px rgba(37, 99, 235, .14);
}

.standings-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 16px 8px;
    border-bottom: 1px solid rgba(125, 211, 252, .12);
    background: linear-gradient(180deg, rgba(15, 39, 73, .78), rgba(15, 23, 42, .18));
}

.standings-card__header h2 {
    margin: 0;
    color: #fff;
    font-size: 21px;
    line-height: 1.1;
    text-align: center;
    flex: 1;
    text-shadow: 0 2px 10px rgba(0,0,0,.5);
}

.standings-card__header span {
    display: none;
    color: #93c5fd;
    font-size: 12px;
    font-weight: 800;
}

.standings-table-wrap {
    overflow: hidden;
}

.standings-table {
    width: 100%;
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

.standings-table th,
.standings-table td {
    padding: 7px 4px;
    border: 0;
    color: #e5f2ff;
    font-size: 13px;
    line-height: 1.2;
    text-align: center;
    text-shadow: 0 1px 7px rgba(0,0,0,.6);
}

.standings-table thead th {
    color: #b7e3ff;
    font-size: 12px;
    font-weight: 900;
    border-bottom: 1px solid rgba(125, 211, 252, .16);
}

.standings-col-rank {
    width: 32px;
}

.standings-col-team {
    width: 168px;
    text-align: left !important;
}

.standings-table tbody tr {
    position: relative;
    background: rgba(15, 23, 42, .46);
}

.standings-table tbody tr + tr td {
    border-top: 1px solid rgba(255,255,255,.04);
}

.standings-table tbody tr.standings-row--qualified {
    background: linear-gradient(90deg, rgba(34, 197, 94, .25), rgba(16, 185, 129, .14) 54%, rgba(14, 165, 233, .06));
    box-shadow: inset 4px 0 0 rgba(34, 197, 94, .85), inset 0 0 18px rgba(34, 197, 94, .08);
}

.standings-table tbody tr.standings-row--chance {
    background: linear-gradient(90deg, rgba(245, 158, 11, .26), rgba(245, 158, 11, .11) 58%, rgba(15, 23, 42, .38));
    box-shadow: inset 4px 0 0 rgba(245, 158, 11, .88), inset 0 0 18px rgba(245, 158, 11, .08);
}

.standings-table tbody tr.standings-row--neutral {
    background: linear-gradient(90deg, rgba(100, 116, 139, .13), rgba(15, 23, 42, .48));
    box-shadow: inset 4px 0 0 rgba(100, 116, 139, .52);
}

.standings-rank {
    color: #d9f99d !important;
    font-weight: 900;
}

.standings-team-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left !important;
    white-space: nowrap;
}

.standings-team-cell img,
.standings-flag-fallback {
    width: 24px;
    height: 17px;
    flex: 0 0 24px;
    border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(255,255,255,.28), 0 4px 12px rgba(0,0,0,.3);
}

.standings-flag-fallback {
    background: linear-gradient(135deg, #1d4ed8, #22c55e);
}

.standings-team-cell strong {
    display: block;
    overflow: hidden;
    color: #fff;
    font-size: 13px;
    text-overflow: ellipsis;
}

.standings-legend {
    display: flex;
    justify-content: center;
    gap: 38px;
    flex-wrap: wrap;
    margin-top: 22px;
    padding: 16px;
    color: #dbeafe;
    font-size: 14px;
}

.standings-legend span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.legend-dot {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    border-radius: 50%;
    box-shadow: 0 0 18px currentColor;
}

.legend-dot--qualified {
    background: #22c55e;
    color: rgba(34, 197, 94, .55);
}

.legend-dot--chance {
    background: #f59e0b;
    color: rgba(245, 158, 11, .55);
}

.legend-dot--neutral {
    background: #64748b;
    color: rgba(100, 116, 139, .45);
}

.standings-empty {
    max-width: 760px;
    margin: 0 auto;
    padding: 28px;
    border-radius: 18px;
    border: 1px solid rgba(59, 130, 246, .35);
    background: rgba(15, 23, 42, .78);
    color: #dbeafe;
    text-align: center;
}

.standings-empty strong {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: 22px;
}

@media (max-width: 1260px) {
    .standings-hero {
        grid-template-columns: 130px minmax(0, 1fr);
    }

    .standings-hero__actions {
        grid-column: 1 / -1;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .standings-hero__badge {
        width: 112px;
        height: 112px;
    }

    .standings-hero__badge span {
        font-size: 52px;
    }

    .standings-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .standings-page .wrap {
        padding: 16px 12px 82px;
    }

    .standings-hero {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 18px 14px;
        border-radius: 18px;
    }

    .standings-hero__badge {
        width: 88px;
        height: 88px;
        margin: 0 auto;
    }

    .standings-hero__badge span {
        font-size: 42px;
    }

    .standings-kicker,
    .standings-hero h1,
    .standings-hero p {
        text-align: center;
    }

    .standings-hero p {
        font-size: 15px;
    }

    .standings-hero__stats {
        justify-content: center;
    }

    .standings-hero__actions {
        grid-template-columns: 1fr;
    }

    .standings-games-btn {
        width: 100%;
    }

    .standings-context {
        justify-content: center;
    }

    .standings-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .standings-card {
        border-radius: 18px;
    }

    .standings-card__header {
        padding: 13px 14px;
    }

    .standings-card__header h2 {
        font-size: 24px;
        text-align: left;
    }

    .standings-card__header span {
        display: inline-flex;
    }

    .standings-table {
        min-width: 640px;
    }

    .standings-table th,
    .standings-table td {
        padding: 10px 8px;
        font-size: 14px;
    }

    .standings-col-team {
        width: 220px;
    }

    .standings-team-cell strong {
        font-size: 14px;
    }

    .standings-legend {
        display: grid;
        justify-content: stretch;
        gap: 12px;
        padding: 14px 4px;
        font-size: 13px;
    }
}
