/* ============ RESET & THEME ============ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --bg-body:        #05070d;
    --bg-main:        #0b0d14;
    --bg-elevated:    #101320;
    --bg-soft:        #151925;
    --bg-chip:        #151925;
    --bg-input:       #151925;

    --border-soft:    #181d2e;
    --border-subtle:  #222738;

    --text-main:      #f7f7f7;
    --text-muted:     #8b90a4;
    --text-softer:    #666b7f;
    --text-link:      #c5d2ff;

    --accent:         #1dd1a1;
    --accent-soft:    rgba(29, 209, 161, 0.12);
    --accent-strong:  #00b894;

    --accent-warn:    #ff9f43;
    --accent-error:   #ff4757;

    --radius-sm:      6px;
    --radius-md:      10px;
    --radius-pill:    999px;

    --shadow-soft:    0 10px 30px rgba(0,0,0,0.45);
    --transition-fast: 0.18s ease-out;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #141a2b 0, #05070d 55%);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}

body {
    line-height: 1.5;
}

/* ============ PAGE FRONT ============ */

.page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px 40px;
}

/* ============ TOPBAR FRONT ============ */

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0 10px;
    gap: 12px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: .03em;
}

.logo__icon {
    font-size: 22px;
}

.logo__text span {
    color: var(--accent);
}

.topbar__right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search input {
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 6px 12px;
    color: var(--text-main);
    min-width: 220px;
    font-size: 13px;
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.search input::placeholder {
    color: var(--text-softer);
}

.search input:focus {
    background: #181c2a;
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent-soft);
}

.adminLink {
    text-decoration: none;
    font-size: 13px;
    color: var(--text-main);
    padding: 6px 10px;
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    background: linear-gradient(120deg, #151925, #111522);
    transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.adminLink:hover {
    border-color: var(--accent);
    transform: translateY(-1px);
}

/* ============ DEBUG BAR ============ */

.debugBar {
    margin: 10px 0;
    font-size: 12px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
    color: #c5c8d8;
    border: 1px dashed var(--border-subtle);
}

/* ============ NAV BAR CLUBS ============ */

.clubsBar {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 8px 0 12px;
    scrollbar-width: thin;
    scrollbar-color: #3a4055 transparent;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    margin-bottom: 6px;
}

.clubsBar::-webkit-scrollbar {
    height: 4px;
}
.clubsBar::-webkit-scrollbar-track {
    background: transparent;
}
.clubsBar::-webkit-scrollbar-thumb {
    background: #34384b;
    border-radius: 999px;
}

.clubsBar__item {
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    text-decoration: none;
    color: #e5e8f5;
    background: var(--bg-soft);
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.clubsBar__item:hover {
    background: #1a1f30;
    border-color: rgba(255,255,255,0.05);
    transform: translateY(-1px);
}

.clubsBar__item.is-active {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent-soft);
    background: radial-gradient(circle at top left, #1e2b3c 0, #141827 55%);
}

.clubsBar__live {
    position: relative;
    padding-left: 12px;
    border-color: var(--accent-error);
    background: radial-gradient(circle at left, rgba(255,71,87,0.18) 0, #171b28 55%);
}

.liveDot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-error);
    box-shadow: 0 0 8px rgba(255,71,87,0.8);
}

.clubsBar__logo {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

/* ============ HEADER JOUEUR MERCATO ============ */

.playerHeaderBlock {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 0 16px;
    padding-left: 14px;
    border-left: 4px solid var(--accent); /* même style que club */
}

/* Photo joueur plus grande */
.playerHeaderBlock__photoWrapper {
    position: relative;
    width: 60px;
    height: 60px;
}

.playerHeaderBlock__photo,
.playerHeaderBlock__letter {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    background: #10131c;
    border: 2px solid var(--border-soft);
    box-shadow: 0 8px 22px rgba(0,0,0,0.55);
}

/* lettre si pas de photo */
.playerHeaderBlock__letter {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--text-main);
    font-weight: 700;
}

/* Badge club façon notification */
.playerHeaderBlock__clubBadge {
    position: absolute;
    bottom: -4px;
    right: -6px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-soft);
    border: 2px solid var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.55);
}

.playerHeaderBlock__clubBadge img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Titres */
.playerHeaderBlock__titles {
    display: flex;
    flex-direction: column;
}

.playerHeaderBlock__title {
    margin: 0;
    font-size: 24px; /* même taille que .pageHeaderBlock__title */
    font-weight: 700;
    display: flex;
    flex-direction: column;
}

.playerHeaderBlock__titlePrefix {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pageHeaderBlock {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 20px 0 16px;
    padding-left: 14px;
    border-left: 4px solid var(--accent);
}

.pageHeaderBlock__logo img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

.pageHeaderBlock__title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    flex-direction: column;
}

.pageHeaderBlock__titlePrefix {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: .08em;
    text-transform: uppercase;
}



/* ============ CONTENT ============ */

.content {
    margin-top: 16px;
}

.content__title {
    font-size: 22px;
    margin: 0 0 6px;
}

.hint {
    font-size: 13px;
    color: var(--text-muted);
}

.hint a {
    color: var(--text-link);
    text-decoration: none;
}

.hint a:hover {
    text-decoration: underline;
}

/* ============ DAY TITLES ============ */

.dayTitle {
    margin: 22px 0 8px;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ============ ARTICLES LIST ============ */

.articlesList {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ============ CARD ARTICLE ============ */

.articleCard {
    display: flex;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    background: radial-gradient(circle at top left, #151a28 0, #101320 55%);
    border: 1px solid var(--border-soft);
    gap: 10px;
    box-shadow: 0 10px 18px rgba(0,0,0,0.35);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.articleCard:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
    border-color: rgba(255,255,255,0.04);
}

.articleCard__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 72px;
    font-size: 12px;
    color: var(--text-muted);
    gap: 6px;
}

.articleCard__time {
    font-weight: 500;
    color: #c5c8d8;
}

.articleCard__club {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: var(--radius-pill);
    border: 1px solid #242a3b;
    background: var(--bg-soft);
}

.articleCard__club.has-logo {
    padding: 0;
    border: none;
    background: transparent;
}

.articleCard__clubLogo {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.articleCard__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.articleCard__title {
    font-size: 15px;
    margin: 0;
}

.articleCard__title a {
    color: var(--text-main);
    text-decoration: none;
}

.articleCard__title a:hover {
    text-decoration: underline;
}

.articleCard__sourceLine {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    font-size: 12px;
    color: var(--text-muted);
}

.articleCard__source {
    font-weight: 500;
}

.articleCard__players a {
    color: var(--text-link);
    text-decoration: none;
}

.articleCard__players a:hover {
    text-decoration: underline;
}

.articleCard__playersClubs a {
    color: var(--text-link);
    text-decoration: none;
}

.articleCard__playersClubs a:hover {
    text-decoration: underline;
}

.articleCard__competitions a {
    color: var(--text-link);
    text-decoration: none;
}

.articleCard__competitions a:hover {
    text-decoration: underline;
}

.articleCard__countries a {
    color: var(--text-link);
    text-decoration: none;
}

.articleCard__competitionLogo,
.articleCard__countryFlag {
    width: 14px;
    height: 14px;
    object-fit: contain;
    vertical-align: -2px;
    margin-right: 4px;
    border-radius:5
}
.articleCard__competition,
.articleCard__country {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}



/* ============ MODULES HOME ============ */

.module {
    margin-bottom: 20px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    background: var(--bg-elevated);
    border: 1px solid var(--border-soft);
    box-shadow: 0 8px 18px rgba(0,0,0,0.35);
}

.module h2 {
    text-transform: uppercase;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.module h2::before{
    content: "";
    width: 4px;
    height: 18px;
    border-radius: 999px;
    background: var(--accent);
    opacity: 0.9;
}

.module__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 9px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    text-decoration: none;
    background: var(--bg-chip);
    color: #e5e8f5;
    border: 1px solid var(--border-subtle);
    transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.chip:hover {
    background: #1b2030;
    border-color: var(--accent);
    transform: translateY(-1px);
}

.chip__count {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: var(--radius-pill);
    background: var(--accent);
    color: var(--bg-body);
}
/* ====== BULLES JOUEURS (HOME) ====== */

.players-bubbles {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.player-bubble {
    text-decoration: none;
    display: inline-block;
}

/* Wrapper qui permet au badge de déborder du rond */
.bubble-wrapper {
    position: relative;
    display: inline-block;
    width: 60px;   /* taille de la bulle */
    height: 60px;
}

/* Avatar rond */
.player-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;   /* coupe l'image mais pas le badge */
    background: #10131c;
    border: 2px solid var(--border-subtle);
    display: block;
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.player-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-avatar:hover {
    transform: scale(1.06);
    border-color: var(--accent);
}

/* Placeholder si pas de photo */
.player-placeholder {
    width: 100%;
    height: 100%;
    background: #141825;
    color: #cdd3eb;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Badge notification qui DÉBORDE */
 .player-badge {
    position: absolute;
    top: -3px;
    right: -6px;
    background: var(--accent);
    color: var(--bg-body);
    font-size: 11px;
    font-weight: bold;
    width: 25px;          /* taille fixe = rond parfait */
    height: 25px;
    display: flex;
    align-items: center;  /* centrer verticalement */
    justify-content: center; /* centrer horizontalement */
    border-radius: 50%;   /* rond parfait */
    border: 2px solid var(--bg-elevated);
    box-shadow: 0 2px 6px rgba(0,0,0,0.45);
    z-index: 10;
}



/* ============ RUMEURS ============ */

.rumorsList {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rumorItem {
    font-size: 13px;
    margin-bottom: 6px;
}

.rumorItem a {
    color: var(--text-main);
    text-decoration: none;
}

.rumorItem a:hover {
    text-decoration: underline;
}

.rumorTag {
    display: inline-block;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: var(--radius-pill);
    background: var(--accent-warn);
    color: var(--bg-body);
    margin-right: 6px;
}

.rumorTag--confirmed {
    background: var(--accent);
}

.rumorClubs {
    display: inline-block;
    margin-left: 16px;
    color: var(--text-muted);
}

/* ============ EMPTY ============ */

.empty {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============ ADMIN ============ */

.adminBody {
    background: #05060a;
    color: var(--text-main);
}

.adminTopbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-soft);
}

.adminTopbar__home {
    color: var(--text-link);
    text-decoration: none;
    font-size: 13px;
}

.adminTopbar__title {
    font-size: 14px;
    font-weight: 600;
}

.adminTopbar__logout {
    margin-left: 12px;
    font-size: 13px;
    color: #ff6b81;
    text-decoration: none;
}

.adminLayout {
    display: flex;
    min-height: calc(100vh - 48px);
}

.adminSidebar {
    width: 200px;
    background: var(--bg-main);
    border-right: 1px solid var(--border-soft);
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.adminSidebar__item {
    display: block;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: #c5c8d8;
    text-decoration: none;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.adminSidebar__item.is-active {
    background: var(--bg-soft);
    color: #ffffff;
}

.adminMain {
    flex: 1;
    padding: 16px;
}

.adminSection {
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    padding: 14px;
}

.adminSection h1 {
    margin: 0 0 12px;
    font-size: 18px;
}

.adminSection h2 {
    font-size: 15px;
    margin-top: 16px;
}

/* TABLES ADMIN */

.adminTable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 13px;
}

.adminTable th,
.adminTable td {
    border: 1px solid var(--border-soft);
    padding: 6px 8px;
}

.adminTable th {
    background: var(--bg-soft);
    text-align: left;
}

.adminTable input[type="text"],
.adminTable input[type="number"],
.adminTable select {
    width: 100%;
    font-size: 12px;
    padding: 3px 4px;
    border-radius: 4px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-main);
    color: var(--text-main);
}

.adminTable--wide td {
    vertical-align: top;
}

.adminLogo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
    margin-bottom: 4px;
}

/* FORM GENERIQUE */

.formRow {
    margin-bottom: 10px;
    font-size: 13px;
}

.formRow label {
    display: block;
    margin-bottom: 4px;
}

/* BOUTONS */

.btn {
    padding: 5px 10px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 12px;
    transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btnPrimary {
    background: var(--accent);
    color: var(--bg-body);
}

.btnPrimary:hover {
    background: var(--accent-strong);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.3);
}

.btnSmall {
    font-size: 11px;
    padding: 3px 7px;
}

.btnDanger {
    background: #ff6b81;
    color: var(--bg-body);
}

.btnDanger:hover {
    background: #ff4757;
}

/* LOGIN ADMIN */

.adminLogin {
    max-width: 340px;
    margin: 60px auto;
    padding: 20px;
    border-radius: var(--radius-md);
    background: var(--bg-elevated);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
}

.adminLogin h1 {
    margin-top: 0;
    font-size: 18px;
}

.adminLogin__error {
    background: #ff6b81;
    color: var(--bg-body);
    padding: 6px 8px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    margin-bottom: 8px;
}

/* BLACKLIST */

.blacklist {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
}

.blacklist li {
    margin-bottom: 4px;
    font-size: 13px;
}

.inlineForm {
    display: inline-block;
}

.blacklistAdd input[type="text"] {
    width: 200px;
    margin-right: 6px;
}

/* MESSAGES */

.adminSuccess {
    font-size: 13px;
    color: var(--accent);
    margin: 6px 0;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 800px) {
    .topbar {
        flex-direction: column;
        align-items: stretch;
    }

    .topbar__right {
        justify-content: space-between;
        width: 100%;
    }

    .search input {
        flex: 1;
        min-width: 0;
    }

    .adminLayout {
        flex-direction: column;
    }

    .adminSidebar {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
    }

    .adminSidebar__item {
        white-space: nowrap;
    }

    .articleCard {
        flex-direction: column;
    }

    .articleCard__meta {
        flex-direction: row;
        align-items: center;
        min-width: 0;
        gap: 12px;
    }
}

/* ============ PAGINATION ============ */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 18px 0 0;
    font-size: 13px;
}

/* Liens "Page précédente" / "Page suivante" */
.pagination__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    background: var(--bg-soft);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 8px 16px rgba(0,0,0,0.35);
    transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        color var(--transition-fast),
        box-shadow var(--transition-fast),
        transform var(--transition-fast);
}

/* Hover */
.pagination__link:hover {
    background: #1a1f30;
    border-color: var(--accent);
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
    color: #ffffff;
}

/* Texte "Page X" au centre */
.pagination__current {
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: radial-gradient(circle at top left, #1e2b3c 0, #141827 55%);
    border: 1px solid var(--border-soft);
    color: var(--text-main);
    font-weight: 500;
    min-width: 70px;
    text-align: center;
}

/* Variantes prev / next (optionnel, juste pour affiner) */
.pagination__link--prev {
    padding-left: 10px;
}

.pagination__link--next {
    padding-right: 10px;
}

/* État désactivé si tu l’utilises un jour */
.pagination__link[aria-disabled="true"] {
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
}

/* Responsive : un peu plus compact sur mobile */
@media (max-width: 600px) {
    .pagination {
        font-size: 12px;
        gap: 6px;
    }

    .pagination__link {
        padding: 5px 9px;
    }

    .pagination__current {
        padding: 3px 8px;
    }
}



/* Mobile : on garde ça propre */
@media (max-width: 800px) {
    .articleCard {
        padding: 11px 12px;
    }

    .articleCard__title {
        font-size: 15px;
    }
}

/* ==== UX POLISH PATCH ==== */

/* Cartes un peu plus aérées */
.articleCard {
    padding: 12px 14px;
    gap: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.32);
}

/* Titre d'article un peu plus lisible */
.articleCard__title {
    font-size: 16px;
    line-height: 1.4;
}

/* Ligne source / tags un peu plus espacée */
.articleCard__sourceLine {
    gap: 4px 10px;
}

/* Tags secondaires légèrement moins présents */
.articleCard__competitions,
.articleCard__countries,
.articleCard__playersClubs {
    font-size: 11px;
    opacity: 0.9;
}

/* Légère respiration verticale entre les cartes */
.articlesList {
    gap: 10px;
}



/* --- GRID SIMPLE --- */

.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -1rem;
    margin-right: -1rem;
}

.col {
    box-sizing: border-box;
    padding-left: 1rem;
    padding-right: 1rem;
    
    /* Par défaut : full width sur mobile */
    flex: 0 0 100%;
    max-width: 100%;
}

/* Optionnel : pour rester compatible avec .s12 */
.col.s12 {
    flex: 0 0 100%;
    max-width: 100%;
}

/* À partir du "medium" (tablette / desktop) */
@media (min-width: 768px) {
    .col.m8 {
        flex: 0 0 66.6667%;
        max-width: 66.6667%; /* 8/12 */
    }
    .col.m4 {
        flex: 0 0 33.3333%;
        max-width: 33.3333%; /* 4/12 */
    }
}

/* ============ SIDEBAR (COLONNE DROITE) ============ */

/* Wrapper colonne droite */
.sidebar {
    position: sticky;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
@media (max-width: 767px) {
    .sidebar {
        margin-top: 18px;
    }
}

/* Bloc générique de la sidebar (même esprit que .module) */
.sidebarBlock {
    background: var(--bg-elevated);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.35);
}

/* Titre de bloc, dans l'esprit de tes modules */
.sidebarBlock__title {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Petit trait coloré avant le titre (accent) */
.sidebarBlock__title::before {
    content: "";
    width: 4px;
    height: 18px;
    border-radius: 999px;
    background: var(--accent);
    opacity: 0.9;
}

/* ============ LISTE DE JOUEURS (MÊME CLUB) ============ */

.sidebarList {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebarList li + li {
    margin-top: 6px;
}

.sidebarList--players a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 6px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-main);
    font-size: 13px;
    background: transparent;
    transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

/* Hover dans l’esprit des chips / cards */
.sidebarList--players a:hover {
    background: #151925;
    border-color: var(--border-subtle);
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.35);
}

/* Avatar rond joueur (proche de .player-avatar) */
.sidebarList__avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #10131c;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.55);
    font-size: 12px;
    font-weight: 600;
    color: #cdd3eb;
}

.sidebarList__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lettre quand pas de photo, même esprit que .playerHeaderBlock__letter */
.sidebarList__avatar--placeholder {
    background: #141825;
    color: #cdd3eb;
}

/* Nom du joueur */
.sidebarList__label {
    flex: 1;
    font-size: 13px;
}
.sidebarBlock {
    background: var(--bg-elevated);
    border: 1px solid var(--border-soft);
    padding: 12px 14px;
    border-radius: var(--radius-md);
    box-shadow: 0 6px 16px rgba(0,0,0,0.35);
    margin-bottom: 18px;
}

.sidebarBlock__title {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.sidebarRumors {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebarRumorItem {
    margin-bottom: 10px;
}

.sidebarRumorItem a {
    display: flex;
    gap: 10px;
    text-decoration: none;
    color: var(--text-main);
}

.sidebarRumorImg {
    width: 62px;
    height: 62px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #11131b;
    flex-shrink: 0;
    border: 1px solid var(--border-soft);
}

.sidebarRumorImg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebarRumorBody {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sidebarRumorTitle {
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;
}

.sidebarRumorSource {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 3px;
}
/* ============ FOOTER ============ */

.siteFooter {
    background: var(--bg-main);
    border-top: 1px solid var(--border-soft);
    margin-top: 32px;
    padding: 20px 0 16px;
    color: var(--text-muted);
    box-shadow: 0 -10px 30px rgba(0,0,0,0.4);
    font-size: 13px;
}

.siteFooter__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.siteFooter__col h3 {
    margin: 0 0 6px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-main);
}

.siteFooter__col a {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    color: var(--text-link);
    text-decoration: none;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.siteFooter__col a:hover {
    color: var(--accent);
    transform: translateY(-1px);
}

.siteFooter__col--meta p {
    margin: 0 0 6px;
    font-size: 12px;
    color: var(--text-muted);
}

.siteFooter__small a {
    color: var(--text-muted);
    text-decoration: none;
}

.siteFooter__small a:hover {
    color: var(--accent);
}

.siteFooter__bottom {
    text-align: center;
    margin-top: 14px;
    padding-top: 8px;
    font-size: 11px;
    color: var(--text-muted);
    opacity: 0.8;
    border-top: 1px solid var(--border-soft);
}

/* Responsive */
@media (max-width: 900px) {
    .siteFooter__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .siteFooter__inner {
        grid-template-columns: 1fr;
    }
}


/* ============ PARTENAIRE CLUB (SIDEBAR) ============ */

.sidebarBlock--partner {
    /* On garde la base du .sidebarBlock mais on le rend un peu plus "premium" */
    background: radial-gradient(circle at top left, #182231 0, #101320 55%);
    border: 1px solid rgba(29, 209, 161, 0.35); /* var(--accent) adouci */
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.5);
}

/* Titre partenaire : léger accent visuel */
.sidebarBlock--partner .sidebarBlock__title {
    display: flex;
    align-items: center;
    gap: 8px;
}

/*
.sidebarBlock--partner .sidebarBlock__title::after {
    content: "officiel";
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 2px 6px;
    border-radius: var(--radius-pill);
    background: var(--accent-soft);
    color: var(--accent);
}
*/


/* Lien partenaire = carte cliquable */
.sidebarPartner {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-main);
    padding: 6px 8px;
    border-radius: var(--radius-md);
    background: rgba(10, 14, 24, 0.85);
    border: 1px solid rgba(255,255,255,0.04);
    transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

/* Hover dans l’esprit de tes cards/chips */
.sidebarPartner:hover {
    background: #151b2a;
    border-color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.55);
}

/* Logo partenaire dans un petit "pill" */
.sidebarPartner__logo {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-pill);
    overflow: hidden;
    background: #0e111c;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 14px rgba(0,0,0,0.6);
}

.sidebarPartner__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Texte partenaire */
.sidebarPartner__name {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Petite sous-ligne "media local / partenaire" si un jour tu veux rajouter un span */
.sidebarPartner__tagline {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

.seo-football-content{
    background: var(--bg-elevated);
    border: 1px solid var(--border-soft);
    padding: 12px 14px;
    border-radius: var(--radius-md);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
    margin-bottom: 18px;
}

.seo-football-content h2 {
    text-transform: uppercase;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.seo-football-content h2::before{
    content: "";
    width: 4px;
    height: 18px;
    border-radius: 999px;
    background: var(--accent);
    opacity: 0.9;
}
@media (min-width: 768px) {
    .seo-football-content {
        margin-top: 18px;
    }
}
/* ============ PROCHAIN MATCH (SIDEBAR) ============ */

.sidebarBlock--nextmatch {
    /* On garde la base .sidebarBlock mais on accentue un peu */
    background: radial-gradient(circle at top left, #151b2a 0, #101320 55%);
    border: 1px solid var(--border-soft);
    box-shadow: 0 8px 18px rgba(0,0,0,0.45);
    padding: 10px 12px;
}

/* Wrapper global du bloc */
.sidebarNextMatch {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
}

/* Ligne ligue + date */
.sidebarNextMatch__meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    color: var(--text-muted);
}

.sidebarNextMatch__league {
    font-weight: 500;
    color: #e5e8f5;
}

.sidebarNextMatch__date {
    font-size: 12px;
    color: var(--text-softer);
}

/* Bloc équipes */
.sidebarNextMatch__teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 8px;
    border-radius: var(--radius-md);
    background: #111524;
    border: 1px solid var(--border-soft);
}

/* Une équipe (home / away) */
.sidebarNextMatch__team {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.sidebarNextMatch__team--home {
    justify-content: flex-start;
}

.sidebarNextMatch__team--away {
    justify-content: flex-end;
    text-align: right;
}

/* Logo club */
.sidebarNextMatch__logo {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: contain;
    background: #0f1220;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 4px 10px rgba(0,0,0,0.55);
}

/* Nom club */
.sidebarNextMatch__name {
    display: flex;
    flex-direction: column;
    font-size: 13px;
}

.sidebarNextMatch__name a {
    color: var(--text-main);
    text-decoration: none;
}

.sidebarNextMatch__name a:hover {
    text-decoration: underline;
}

.sidebarNextMatch__name small {
    font-size: 11px;
    color: var(--accent);
}

/* VS au centre */
.sidebarNextMatch__vs {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 2px 6px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(15,19,35,0.9);
}

/* Stade */
.sidebarNextMatch__stadium {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}
/* Bouton "Voir le calendrier complet" */
.sidebarNextMatch__cta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 8px;
    padding: 6px 10px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;

    background: rgba(29, 209, 161, 0.12); /* var(--accent-soft) */
    color: var(--accent);
    border: 1px solid var(--accent);
    box-shadow: 0 6px 14px rgba(0,0,0,0.4);

    transition:
        background var(--transition-fast),
        color var(--transition-fast),
        border-color var(--transition-fast),
        box-shadow var(--transition-fast),
        transform var(--transition-fast);
}

.sidebarNextMatch__cta:hover {
    background: var(--accent);
    color: var(--bg-body);
    border-color: var(--accent-strong);
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}
/* ============ CLASSEMENT (FRONT) ============ */


/* Sous-titre dans le titre de module (compétition + pays) */
.module--classement .module__subtitle {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: none;
    letter-spacing: 0;
    margin-left: auto;
}

/* Wrapper du tableau */
.classementTableWrapper {
    width: 100%;
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    background: radial-gradient(circle at top left, #151a28 0, #0b0f19 55%);
    box-shadow: 0 8px 18px rgba(0,0,0,0.4);
}

/* Tableau */
.classementTable {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 520px; /* pour éviter que tout se tasse trop sur mobile */
}

.classementTable thead {
    background: #151a28;
}

.classementTable th,
.classementTable td {
    padding: 6px 8px;
    border-bottom: 1px solid var(--border-soft);
    text-align: center;
    white-space: nowrap;
}

.classementTable th {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    font-weight: 600;
}

/* Colonne équipe alignée à gauche */
.classementTable th:nth-child(2),
.classementTable td:nth-child(2) {
    text-align: left;
}

/* Zèbrage et hover des lignes */
.classementTable tbody tr:nth-child(2n) {
    background: rgba(13, 17, 30, 0.85);
}

.classementTable tbody tr:hover {
    background: #181c2a;
}

/* Rang + points légèrement mis en avant */
.classementTable__rank strong {
    color: var(--accent);
    font-weight: 600;
}

.classementTable__points strong {
    color: #ffffff;
    font-weight: 700;
}

/* Équipe : wrapper */
.classementTeam {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Logo équipe */
.classement-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 50%;
    background: #10131c;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 4px 10px rgba(0,0,0,0.55);
}

/* Lien / nom d’équipe */
.classementTeam__link {
    color: var(--text-main);
    text-decoration: none;
    font-size: 13px;
}

.classementTeam__link:hover {
    text-decoration: underline;
}

.classementTeam__name {
    font-size: 13px;
}

/* Responsive : un peu plus compact sur très petit écran */
@media (max-width: 600px) {
    .classementTable {
        font-size: 12px;
        min-width: 480px;
    }

    .classementTable th,
    .classementTable td {
        padding: 5px 6px;
    }
}
/* ============ SOUS-NAVBAR PAGE CLUB & CHAMPIONNAT ============ */

.clubSubnav,
.compSubnav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 6px 0 14px;
}

.clubSubnav__item,
.compSubnav__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    text-decoration: none;
    color: #e5e8f5;
    background: var(--bg-soft);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 6px 14px rgba(0,0,0,0.35);
    transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        color var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

.clubSubnav__item:hover,
.compSubnav__item:hover {
    background: #1a1f30;
    border-color: var(--accent);
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

/* Onglet actif */
.clubSubnav__item.is-active,
.compSubnav__item.is-active {
    border-color: var(--accent);
    background: radial-gradient(circle at top left, #1e2b3c 0, #141827 55%);
    box-shadow: 0 8px 18px rgba(0,0,0,0.55);
    color: #ffffff;
}
/* ============ CALENDRIER MATCHS ============ */

.calendarModule {
    margin-bottom: 20px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    background: radial-gradient(circle at top left, #151a28 0, #101320 55%);
    border: 1px solid var(--border-soft);
    box-shadow: 0 10px 24px rgba(0,0,0,0.45);
}

.calendarModule__header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}

.calendarModule__title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.calendarModule__subtitle {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
}

.calendarSectionTitle {
    margin: 16px 0 8px;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Liste de matchs */
.calendarList {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Carte match */
.calendarMatch {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 10px;
    padding: 10px 11px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #111523 0, #0d101b 52%, #101728 100%);
    border: 1px solid var(--border-soft);
    box-shadow: 0 8px 18px rgba(0,0,0,0.38);
    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        border-color var(--transition-fast),
        background var(--transition-fast);
}

.calendarMatch--upcoming {
    border-left: 3px solid var(--accent);
}
.calendarMatch--played {
    border-left: 3px solid #3b425b;
}

.calendarMatch:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
    border-color: rgba(255,255,255,0.05);
}

/* Colonne date */
.calendarMatch__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 6px 4px;
    border-radius: var(--radius-md);
    background: radial-gradient(circle at top, #20263b 0, #141827 55%);
    border: 1px solid var(--border-subtle);
    font-size: 11px;
    color: var(--text-muted);
}

.calendarMatch__day {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
}

.calendarMatch__month {
    font-size: 11px;
    letter-spacing: 0.1em;
}

.calendarMatch__time {
    margin-top: 2px;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: var(--radius-pill);
    background: rgba(0,0,0,0.35);
}

/* Corps du match */
.calendarMatch__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.calendarMatch__league {
    font-size: 12px;
    color: var(--text-muted);
}

/* Ligne équipes */
.calendarMatch__teams {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 6px;
    align-items: center;
}

.calendarMatch__team {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.calendarMatch__team--home {
    justify-content: flex-start;
}
.calendarMatch__team--away {
    justify-content: flex-end;
    text-align: right;
}

.calendarMatch__logo {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #0b0e17;
    border: 1px solid var(--border-subtle);
    object-fit: contain;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.6);
}

.calendarMatch__teamName {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.calendarMatch__teamName a {
    color: var(--text-main);
    text-decoration: none;
}
.calendarMatch__teamName a:hover {
    text-decoration: underline;
}

/* Score / VS */
.calendarMatch__score {
    min-width: 56px;
    text-align: center;
    font-size: 14px;
}

.calendarMatch__vs {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.calendarMatch--played .calendarMatch__score strong {
    font-size: 15px;
}

/* Ligne meta (stade, tag) */
.calendarMatch__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px;
    margin-top: 2px;
    font-size: 11px;
    color: var(--text-muted);
}

.calendarMatch__venue {
    opacity: 0.85;
}

/* Tags état du match */
.calendarMatch__tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.calendarMatch__tag--next {
    background: var(--accent-soft);
    color: var(--accent);
}

.calendarMatch__tag--played {
    background: rgba(255,255,255,0.03);
    color: var(--text-muted);
}

/* Responsive calendrier */
@media (max-width: 700px) {
    .calendarMatch {
        grid-template-columns: 1fr;
        padding: 9px 10px;
    }

    .calendarMatch__date {
        flex-direction: row;
        justify-content: flex-start;
        gap: 6px;
        margin-bottom: 2px;
        align-items: center;
    }

    .calendarMatch__day {
        font-size: 18px;
    }

    .calendarMatch__teams {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .calendarMatch__team--away {
        justify-content: flex-start;
        text-align: left;
    }

    .calendarMatch__score {
        order: -1;
        text-align: left;
        margin-bottom: 2px;
    }
}
