/* ══ HERO ══════════════════════════════════════════════ */
.cls-hero {
    position: relative;
    height: 180px;
    background: #051a0c;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.cls-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0D5C2E 0%, #051a0c 60%);
    opacity: .6;
}
.cls-hero-title {
    position: relative;
    z-index: 2;
    text-align: center;
}
.cls-hero-title h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #F5C518;
    margin: 0;
    line-height: 1;
    text-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.cls-hero-title p {
    color: rgba(255,255,255,.55);
    font-size: .8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 10px 0 0;
}

/* ══ PAGE BODY ══════════════════════════════════════════ */
.cls-page {
    background: #f4f6f8;
    min-height: 60vh;
    padding: 48px 0 80px;
}
.cls-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}
.cls-wrap-split {
    max-width: 1140px;
}

/* ══ RÉSULTATS (réutilise la grille .cal-match-row du calendrier) ═══ */
.cal-match-score {
    min-width: 58px;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    background: #0D5C2E;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .88rem;
    font-weight: 900;
    letter-spacing: .02em;
    flex-shrink: 0;
}

/* ══ TABLE CARD ═════════════════════════════════════════ */
.cls-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,.07);
}
.cls-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0D5C2E;
    padding: 14px 20px;
}
.cls-card-head-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: .85rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
}
.cls-card-head-left i { color: #F5C518; font-size: 1rem; }
.cls-season { font-size: .72rem; color: rgba(255,255,255,.6); letter-spacing: .04em; }

.cls-col-head {
    display: grid;
    grid-template-columns: 44px 1fr 36px 36px 36px 36px 48px 52px;
    padding: 0 16px;
    background: #f8faf9;
    border-bottom: 1px solid #e4ede8;
}
.cls-col-head span {
    padding: 9px 4px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #6b7280;
    text-align: center;
}
.cls-col-head .cls-ch-name { text-align: left; padding-left: 8px; }

.cls-row {
    display: grid;
    grid-template-columns: 44px 1fr 36px 36px 36px 36px 48px 52px;
    padding: 0 16px;
    border-bottom: 1px solid #f0f4f2;
    transition: background .15s;
    align-items: center;
    min-height: 52px;
}
.cls-row:last-child { border-bottom: none; }
.cls-row:hover { background: #f8faf9; }
.cls-row.row-asa { background: #f0f9f4; border-left: 3px solid #0D5C2E; }
.cls-row.row-asa:hover { background: #e6f5ec; }
.cls-row.zone-top { border-left: 3px solid #16a34a; }
.cls-row.zone-bot { border-left: 3px solid #dc2626; }

.cls-pos { display: flex; align-items: center; justify-content: center; }
.cls-pos-num {
    width: 26px; height: 26px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 6px;
    font-size: .8rem; font-weight: 700;
    color: #6b7280; background: #f3f4f6;
}
.cls-pos-num.pos-gold { background: #fef3c7; color: #d97706; }
.cls-pos-num.pos-red  { background: #fee2e2; color: #dc2626; }

.cls-team { display: flex; align-items: center; gap: 10px; padding: 8px 0 8px 8px; min-width: 0; }
.cls-team-logo { width: 32px; height: 32px; object-fit: contain; border-radius: 4px; flex-shrink: 0; }
.cls-team-no-logo { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg,#e8f5ee,#c8e6d0); flex-shrink: 0; }
.cls-team-name { font-size: .88rem; font-weight: 700; color: #111; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cls-row.row-asa .cls-team-name { color: #0D5C2E; }

.cls-stat { text-align: center; font-size: .82rem; color: #374151; padding: 4px; }
.cls-stat.diff-pos { color: #16a34a; font-weight: 700; }
.cls-stat.diff-neg { color: #dc2626; font-weight: 700; }

.cls-pts { display: flex; align-items: center; justify-content: center; }
.cls-pts-pill {
    min-width: 32px; padding: 4px 8px; border-radius: 20px;
    text-align: center; font-size: .82rem; font-weight: 900;
    background: #f3f4f6; color: #374151;
}
.cls-pts-pill.pill-asa { background: #0D5C2E; color: #fff; }

.cls-legend { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 16px; padding: 0 4px; }
.cls-legend-item { display: flex; align-items: center; gap: 6px; font-size: .72rem; color: #6b7280; letter-spacing: .04em; }
.cls-legend-bar { width: 12px; height: 12px; border-radius: 2px; }
.cls-legend-bar.lb-top { background: #16a34a; }
.cls-legend-bar.lb-bot { background: #dc2626; }
.cls-legend-bar.lb-asa { background: #0D5C2E; }

@media (max-width: 600px) {
    .cls-col-head, .cls-row { grid-template-columns: 40px 1fr 30px 30px 30px 30px 40px 44px; }
    .cls-team-logo, .cls-team-no-logo { width: 24px; height: 24px; }
    .cls-team-name { font-size: .8rem; }
    .cls-stat { font-size: .75rem; }
}
