/* ==========================================================================
   VOLLEYSCORE — ergonomie : matchs, compétitions, pied de page, bandeau
   ========================================================================== */

/* ---------- Bandeau bêta discret (remplace le gros encadré jaune) ---------- */
.demo-notice { display:flex; flex-wrap:wrap; align-items:center; gap:4px 8px; padding:6px 10px !important; font-size:12px !important; line-height:1.4; background:var(--bg-card) !important; color:var(--text-muted) !important; border:1px solid var(--border) !important; border-left:3px solid var(--amber) !important; }
.demo-notice strong { color:var(--text-main); }
[data-theme="dark"] .demo-notice { background:var(--bg-card) !important; color:var(--text-muted) !important; }

/* ---------- Bande de dates ---------- */
.date-strip { display:flex; gap:4px; overflow-x:auto; padding:8px 10px; border-bottom:1px solid var(--border); scroll-snap-type:x proximity; }
.ds-day { flex:0 0 auto; min-width:74px; scroll-snap-align:center; display:flex; flex-direction:column; align-items:center; gap:1px; padding:6px 8px; border:1px solid var(--border); border-radius:3px; background:var(--bg-card); transition:border-color 100ms, background 100ms; }
.ds-day .d { font-size:12px; font-weight:800; text-transform:capitalize; }
.ds-day .n { font-family:'JetBrains Mono',monospace; font-size:11px; color:var(--text-dim); }
.ds-day:hover { border-color:var(--text-main); }
.ds-day.active { background:var(--red); border-color:var(--red); color:#fff; }
.ds-day.active .n { color:rgba(255,255,255,.85); }
.ds-day.empty { opacity:.55; }

/* ---------- Puces de filtre ---------- */
.chip-row { display:flex; flex-wrap:wrap; gap:5px; padding:8px 10px; border-bottom:1px solid var(--border); }
.chip { display:inline-flex; align-items:center; gap:5px; padding:4px 9px; border-radius:999px; border:1px solid var(--border); background:var(--bg-card); font-size:12px; font-weight:700; transition:border-color 100ms, background 100ms; }
.chip:hover { border-color:var(--text-main); }
.chip.active { background:var(--text-main); color:var(--bg-card); border-color:var(--text-main); }
.chip .crest-img { width:15px; height:15px; }

/* ---------- Groupes de matchs par compétition ---------- */
.comp-group { border-bottom:1px solid var(--border); }
.comp-head { width:100%; display:flex; align-items:center; gap:8px; padding:8px 12px; background:var(--bg-subtle); border-bottom:1px solid var(--border); text-align:left; }
.comp-head .cn { font-weight:800; font-size:13px; }
.comp-head .cr { font-size:11px; color:var(--text-dim); font-weight:700; }
.comp-head .go { margin-left:auto; font-size:11px; font-weight:800; color:var(--red); opacity:0; transition:opacity 100ms; }
.comp-head:hover .go { opacity:1; }
.day-head { padding:10px 12px 6px; font-family:'Barlow Condensed',sans-serif; font-weight:800; font-size:15px; text-transform:uppercase; letter-spacing:.03em; color:var(--text-muted); }

.ml-row { width:100%; display:grid; grid-template-columns:64px minmax(0,1fr) auto 34px; align-items:center; gap:10px; padding:7px 12px; border-bottom:1px solid var(--border); text-align:left; transition:background 90ms; }
.ml-row:last-child { border-bottom:none; }
.ml-row:hover { background:var(--bg-hover); }
.ml-row.live { background:var(--red-soft); }
.ml-status { font-size:11px; font-weight:800; }
.ml-live { color:#fff; background:var(--red); padding:1px 6px; border-radius:2px; animation:pulse-live 1.6s ease-in-out infinite; }
@keyframes pulse-live { 50% { opacity:.65; } }
.ml-ft { color:var(--text-dim); font-weight:700; }
.ml-ft.wait { color:#B45309; }
.ml-ft.off { color:var(--text-dim); text-decoration:line-through; }
.ml-time { font-family:'JetBrains Mono',monospace; font-weight:700; color:var(--text-main); }
.ml-teams { display:flex; flex-direction:column; gap:3px; min-width:0; }
.ml-team { display:flex; align-items:center; gap:7px; font-size:13px; min-width:0; }
.ml-team span:last-child { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ml-team.win { font-weight:800; }
.ml-sets { display:flex; gap:3px; }
.ml-set { display:flex; flex-direction:column; gap:3px; min-width:20px; text-align:center; font-family:'JetBrains Mono',monospace; font-size:11px; color:var(--text-dim); }
.ml-set b { font-weight:500; } .ml-set b.w { color:var(--text-main); font-weight:800; }
.ml-score { display:flex; flex-direction:column; gap:3px; text-align:center; font-family:'JetBrains Mono',monospace; font-size:14px; font-weight:700; color:var(--text-muted); }
.ml-score b.w { color:var(--text-main); font-weight:900; }
.ml-row.live .ml-score b { color:var(--red); }

.empty-state { display:flex; align-items:center; gap:14px; padding:28px 18px; color:var(--text-muted); font-size:13px; line-height:1.55; }
.empty-state svg { color:var(--text-dim); flex:0 0 auto; }
.empty-state strong { color:var(--text-main); }

/* ---------- Compétitions ---------- */
.comp-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(250px,1fr)); gap:10px; padding:12px; }
.comp-card { position:relative; display:flex; flex-direction:column; gap:10px; padding:12px; border:1px solid var(--border); border-radius:3px; background:var(--bg-card); text-align:left; transition:border-color 120ms, transform 120ms, box-shadow 120ms; }
.comp-card:hover { border-color:var(--red); transform:translateY(-2px); box-shadow:0 8px 18px rgba(0,0,0,.08); }
.cc-top { display:flex; align-items:center; gap:10px; }
.cc-name { font-family:'Barlow Condensed',sans-serif; font-weight:900; font-size:20px; line-height:1; text-transform:uppercase; }
.cc-meta { font-size:12px; color:var(--text-muted); margin-top:3px; }
.cc-stats { display:grid; grid-template-columns:repeat(3,1fr); border:1px solid var(--border); border-radius:2px; }
.cc-stats div { padding:6px 8px; border-right:1px solid var(--border); display:flex; flex-direction:column; }
.cc-stats div:last-child { border-right:none; }
.cc-stats b { font-family:'JetBrains Mono',monospace; font-size:14px; }
.cc-stats span { font-size:11px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; color:var(--text-dim); }
.cc-leader { display:flex; align-items:center; gap:7px; font-size:12px; color:var(--text-muted); }
.cc-leader .mono { margin-left:auto; font-weight:800; color:var(--text-main); }
.cc-live { position:absolute; top:10px; right:10px; font-size:11px; font-weight:900; color:var(--red); }

.league-hero { background-size:cover; background-position:center; }
.league-hero[style*="--bgimg"]::before { content:''; position:absolute; inset:0; background:linear-gradient(90deg, rgba(11,14,19,.96) 0%, rgba(11,14,19,.82) 55%, rgba(11,14,19,.6) 100%), var(--bgimg) center/cover no-repeat; z-index:0; }

.std-table tbody tr { cursor:pointer; }
.std-table tbody tr:hover td { background:var(--bg-hover); }
.std-table .pos-num { display:inline-flex; width:24px; height:22px; align-items:center; justify-content:center; font-family:'JetBrains Mono',monospace; font-weight:800; font-size:12px; border-radius:2px; }
.std-table tr.zone-top .pos-num { background:var(--green); color:#fff; }
.std-table tr.zone-bottom .pos-num { background:#B45309; color:#fff; }
.std-table tr.zone-cut td { border-bottom:2px solid var(--green); }
.legend { display:inline-block; width:10px; height:10px; border-radius:2px; vertical-align:-1px; }
.legend.top { background:var(--green); } .legend.bottom { background:#B45309; }

/* ---------- Pied de page ---------- */
#site-footer { margin-top:24px; background:#0B0E13; color:#9AA3B2; border-top:3px solid var(--red); }
.ft-inner { max-width:1400px; margin:0 auto; padding:28px 16px 18px; display:grid; grid-template-columns:1.4fr repeat(3, 1fr); gap:24px; }
.ft-logo { font-family:'Barlow Condensed',sans-serif; font-weight:900; font-size:26px; color:#fff; letter-spacing:.01em; }
.ft-logo span { color:var(--red); } .ft-logo small { font-size:12px; color:#6B7280; margin-left:3px; font-family:'JetBrains Mono',monospace; }
.ft-brand p { font-size:13px; line-height:1.5; margin:6px 0 0; max-width:300px; }
.ft-col { display:flex; flex-direction:column; gap:6px; font-size:13px; }
.ft-col h4 { margin:0 0 4px; color:#fff; font-size:11px; letter-spacing:.08em; text-transform:uppercase; }
.ft-col button { text-align:left; color:#C9D0DB; }
.ft-col button:hover { color:#fff; text-decoration:underline; }
.ft-col a { text-align:left; color:#C9D0DB; text-decoration:none; }
.ft-col a:hover { color:#fff; text-decoration:underline; }
.ft-bottom { max-width:1400px; margin:0 auto; padding:12px 16px 80px; border-top:1px solid #1F2530; font-size:11px; color:#6B7280; }

@media (max-width: 760px) {
  .ml-row { grid-template-columns:52px minmax(0,1fr) 30px; }
  .ml-sets { display:none; }
  .ft-inner { grid-template-columns:1fr 1fr; }
  .ft-brand { grid-column:1 / -1; }
  .comp-grid { grid-template-columns:1fr; }
}

/* Drapeaux (images locales) */
.flag-img { height:.92em; width:auto; aspect-ratio:4/3; object-fit:cover; border-radius:2px; vertical-align:-.1em; box-shadow:0 0 0 1px rgba(0,0,0,.14); margin:0 1px; }
.demo-notice { display:block !important; }

/* ---------- Page match ---------- */
.mx-hero { padding:0; }
.mx-top { position:relative; z-index:1; display:flex; flex-wrap:wrap; justify-content:space-between; gap:6px; padding:12px 16px; border-bottom:1px solid #232A36; font-size:12px; color:#9AA3B2; }
.mx-comp { display:inline-flex; align-items:center; gap:7px; color:#fff; font-weight:800; }
.mx-comp:hover { color:var(--red); }
.mx-when::first-letter { text-transform:uppercase; }
.mx-main { position:relative; z-index:1; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:16px; padding:22px 16px 20px; }
.mx-team { display:flex; flex-direction:column; align-items:center; gap:6px; text-align:center; min-width:0; }
.mx-name { font-family:'Barlow Condensed',sans-serif; font-weight:900; font-size:24px; line-height:1.05; color:#fff; text-transform:uppercase; }
.mx-name:hover { color:var(--red); }
.mx-meta { font-size:12px; color:#9AA3B2; min-height:16px; }
.mx-score { text-align:center; }
.mx-sets { display:flex; align-items:center; gap:10px; font-family:'Barlow Condensed',sans-serif; font-weight:900; font-size:64px; line-height:1; color:#8B95A6; }
.mx-sets b.w { color:#fff; } .mx-sets span { color:var(--red); font-size:44px; }
.mx-vs { font-family:'Barlow Condensed',sans-serif; font-weight:900; font-size:40px; color:#8B95A6; }
.mx-state { margin-top:6px; font-size:11px; font-weight:900; letter-spacing:.08em; color:#9AA3B2; }
.mx-state.live { color:var(--red); }
.set-table td.set-win { font-weight:900; color:var(--text-main); background:var(--green-soft); }
.mx-facts { display:grid; grid-template-columns:repeat(auto-fit, minmax(160px,1fr)); border-top:1px solid var(--border); }
.mx-facts div { padding:9px 12px; border-right:1px solid var(--border); display:flex; flex-direction:column; gap:2px; }
.mx-facts span { font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--text-dim); }
.mx-facts b { font-family:'JetBrains Mono',monospace; font-size:13px; }
@media (max-width: 760px) {
  .mx-main { gap:8px; padding:16px 8px; }
  .mx-name { font-size:16px; }
  .mx-sets { font-size:44px; } .mx-sets span { font-size:30px; }
  .mx-team .crest-xl { width:64px; height:64px; }
}

/* ---------- Étoiles d'importance et fil de faits ---------- */
.mstars { font-size:11px; letter-spacing:1px; color:var(--amber); white-space:nowrap; }
.mstars span { color:var(--border-strong); }
.ml-row .mstars { display:block; margin-top:3px; }
.feed { display:flex; flex-direction:column; }
.fd-item { display:grid; grid-template-columns:30px 1fr; gap:8px; align-items:start; padding:9px 12px; border-bottom:1px solid var(--border); text-align:left; transition:background 90ms; }
.fd-item:last-child { border-bottom:none; }
.fd-item:hover { background:var(--bg-hover); }
.fd-ic { font-size:16px; line-height:1.2; text-align:center; }
.fd-body { display:flex; flex-direction:column; gap:2px; min-width:0; }
.fd-meta { display:flex; align-items:center; gap:5px; font-size:11px; font-weight:800; letter-spacing:.03em; text-transform:uppercase; color:var(--text-dim); }
.fd-meta .crest-img { width:14px; height:14px; }
.fd-txt { font-size:13px; line-height:1.45; }
.fd-sets { color:var(--text-dim); font-family:'JetBrains Mono',monospace; font-size:12px; }
.fd-upset { box-shadow:inset 3px 0 0 var(--amber); }
.fd-leader { box-shadow:inset 3px 0 0 var(--red); }
.mx-stake { position:relative; z-index:1; text-align:center; padding:0 16px 16px; font-size:12px; color:#C9D0DB; }
.mx-stake .mstars { font-size:13px; margin-right:6px; }

/* ---------- Squelettes de chargement ---------- */
.sk-line { height:10px; border-radius:2px; background:linear-gradient(90deg, var(--bg-subtle) 0%, var(--bg-hover) 50%, var(--bg-subtle) 100%); background-size:200% 100%; animation:sk 1.2s ease-in-out infinite; }
.sk-dark { background:linear-gradient(90deg, #232A36 0%, #2E3645 50%, #232A36 100%); background-size:200% 100%; }
.sk-row { display:flex; justify-content:space-between; gap:12px; padding:11px 12px; border-bottom:1px solid var(--border); }
.sk-hero { height:150px; border-radius:3px; margin-bottom:12px; background:linear-gradient(90deg, #11151C 0%, #1B2029 50%, #11151C 100%); background-size:200% 100%; animation:sk 1.2s ease-in-out infinite; }
@keyframes sk { 0% { background-position:100% 0; } 100% { background-position:-100% 0; } }

/* ---------- Effectifs sur la page match ---------- */
.lu-grid { display:grid; grid-template-columns:1fr 1fr; }
.lu-col { border-right:1px solid var(--border); }
.lu-col:last-child { border-right:none; }
.lu-head { display:flex; align-items:center; gap:8px; padding:9px 12px; background:var(--bg-subtle); border-bottom:1px solid var(--border); font-size:13px; }
.lu-head span:last-child { margin-left:auto; font-size:11px; color:var(--text-dim); }
.lu-row { width:100%; display:grid; grid-template-columns:24px 28px 1fr auto; gap:8px; align-items:center; padding:6px 12px; border-bottom:1px solid var(--border); text-align:left; font-size:13px; }
.lu-row:hover { background:var(--bg-hover); }
.lu-row .mini { width:28px; height:28px; border-radius:50%; overflow:hidden; background:var(--bg-subtle); border:1px solid var(--border); display:flex; align-items:flex-end; justify-content:center; }
.lu-row .mini img { width:100%; height:100%; object-fit:cover; object-position:50% 12%; }
.lu-num { font-family:'JetBrains Mono',monospace; font-weight:800; color:var(--text-dim); text-align:right; }
.lu-name { font-weight:700; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.lu-pos { font-family:'JetBrains Mono',monospace; font-size:11px; font-weight:800; color:var(--text-muted); }
@media (max-width: 760px) { .lu-grid { grid-template-columns:1fr; } .lu-col { border-right:none; } }

/* Feuille de match */
.bx-grid { display:grid; grid-template-columns:1fr 1fr; }
.bx { border-right:1px solid var(--border); min-width:0; }
.bx:last-child { border-right:none; }
.bx-table td, .bx-table th { padding:6px 8px !important; font-size:12px; }
.bx-table tbody tr:hover td { background:var(--bg-hover); }
.bx-tot td { font-weight:900; background:var(--bg-subtle); }
@media (max-width: 960px) { .bx-grid { grid-template-columns:1fr; } .bx { border-right:none; } }

/* ==========================================================================
   Défilement horizontal élégant : pas de barre, des flèches et un fondu
   ========================================================================== */
.lc-rail, .v2-vrail, .date-strip, .table-wrap, .stats-table-wrap, .ticker-inner, .chip-row {
  scrollbar-width: none; -ms-overflow-style: none;
}
.lc-rail::-webkit-scrollbar, .v2-vrail::-webkit-scrollbar, .date-strip::-webkit-scrollbar,
.table-wrap::-webkit-scrollbar, .ticker-inner::-webkit-scrollbar, .chip-row::-webkit-scrollbar { display: none; }
.rail-wrap { position: relative; }
.rail-wrap.fade-r > .rail { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.rail-wrap.fade-l > .rail { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%); mask-image: linear-gradient(90deg, transparent, #000 12%); }
.rail-wrap.fade-l.fade-r > .rail { -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.rail-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 34px; height: 34px; border-radius: 50%;
  display: none; align-items: center; justify-content: center; background: var(--bg-card); color: var(--text-main);
  border: 1px solid var(--border-strong); box-shadow: 0 4px 14px rgba(0,0,0,.18); font-size: 16px; font-weight: 900; transition: transform 120ms, background 120ms; }
.rail-btn:hover { background: var(--red); color: #fff; border-color: var(--red); transform: translateY(-50%) scale(1.06); }
.rail-btn.prev { left: -6px; } .rail-btn.next { right: -6px; }
.rail-wrap.fade-l > .rail-btn.prev, .rail-wrap.fade-r > .rail-btn.next { display: flex; }
.date-strip-wrap .rail-btn { width: 28px; height: 28px; font-size: 13px; }
@media (hover: none) { .rail-btn { display: none !important; } }
.stats-table-wrap::-webkit-scrollbar { display: none; }

/* Mobile : tableaux défilants avec la première colonne fixe */
@media (max-width: 760px) {
  .table-wrap { overflow-x:auto; }
  .table-wrap .pro-table th:first-child, .table-wrap .pro-table td:first-child { position:sticky; left:0; z-index:1; background:var(--bg-card); box-shadow:1px 0 0 var(--border); }
  .table-wrap .pro-table thead th:first-child { background:var(--bg-subtle); }
  .bx-grid, .lu-grid { min-width:0; }
}

.mx-updated { margin-top:4px; font-size:11px; color:#C9D0DB; font-family:'JetBrains Mono',monospace; }

/* Page introuvable */
.nf-body { padding:48px 24px; text-align:center; }
.nf-code { font-family:'Barlow Condensed',sans-serif; font-weight:900; font-size:64px; color:var(--red); line-height:1; }
.nf-body h1 { font-family:'Barlow Condensed',sans-serif; font-size:32px; margin:8px 0; }
.nf-body p { color:var(--text-muted); max-width:460px; margin:0 auto 18px; font-size:15px; }
.nf-actions { display:flex; gap:8px; justify-content:center; flex-wrap:wrap; }


/* Repère H / F : petit, neutre, identique pour les deux ; seule la lettre change */
.g-tag { display: inline-flex; align-items: center; justify-content: center; min-width: 16px; height: 16px; padding: 0 3px; margin-left: 4px; border: 1px solid var(--border); border-radius: 4px; background: var(--bg-subtle); color: var(--text-2, #5b6472); font: 800 10px/1 'JetBrains Mono', ui-monospace, monospace; letter-spacing: 0; vertical-align: middle; flex: none; }
.g-filter-row { display: flex; padding: 10px 16px 4px; }
.g-filter { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; background: var(--bg-subtle); border: 1px solid var(--border); }
.g-filter button { padding: 6px 14px; border: 0; border-radius: 999px; background: transparent; color: var(--text-2, #5b6472); font: 700 13px/1 'Barlow Condensed', system-ui, sans-serif; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.g-filter button.on { background: var(--text-1, #111); color: var(--bg-card, #fff); }
.g-filter button:focus-visible { outline: 2px solid var(--red, #E11D2E); outline-offset: 2px; }

/* « Cacher la magie » : aucune étiquette technique (API, WIKI, OFFICIEL, AUTO…) ni source par champ */
.src-pill, .fsrc { display: none !important; }

/* Joueur et joueuse de la semaine côte à côte (accueil) */
.v2-potd-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 760px) { .v2-potd-two { grid-template-columns: 1fr; } }

/* Poules des coupes d'Europe : tableaux compacts, deux par ligne sur grand écran */
.pool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px 16px; padding: 4px 0 8px; }
.pool-table td, .pool-table th { padding: 6px 8px; }
/* Rangées de puces : une seule ligne qui défile sur mobile, plutôt que 4 à 8 lignes empilées */
@media (max-width: 720px) {
  .chip-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .chip-row::-webkit-scrollbar { display: none; }
  .chip-row .chip { flex: none; }
}

/* Poules : largeur fixe, le nom du club se tronque plutôt que de pousser « Sets » et « Pts » hors de l'écran */
.pool-table { width: 100%; table-layout: fixed; }
.pool-table th:nth-child(1), .pool-table td:nth-child(1) { width: 24px; }
.pool-table th:nth-child(n+3), .pool-table td:nth-child(n+3) { width: 30px; text-align: center; }
.pool-table th:nth-child(6), .pool-table td:nth-child(6) { width: 42px; }
.pool-table td.left { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pool-table td.left > span { display: inline !important; }
.pool-table td.left .crest-img { vertical-align: middle; margin-right: 6px; }
@media (max-width: 420px) { .pool-table td, .pool-table th { padding: 6px 4px; } }
.pool-table .nm-short { display: none; }
@media (max-width: 480px) { .pool-table .nm-full { display: none; } .pool-table .nm-short { display: inline; } }

/* Monogramme de compétition (pas d'écusson publié) : pastille de marque, drapeau en coin */
.crest-img.lg-mono { position: relative; display: inline-grid; place-items: center; border-radius: 22%; background: linear-gradient(145deg, #1B2230, #0B0E13); box-shadow: inset 0 0 0 2px rgba(255,255,255,.08), 0 6px 18px rgba(0,0,0,.35); overflow: visible; }
.crest-img.lg-mono.eu { background: linear-gradient(145deg, #13306B, #0A1A3D); }
.crest-img.lg-mono b { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 900; font-style: italic; color: #fff; letter-spacing: .02em; line-height: .9; text-align: center; padding: 0 8%; font-size: 40px; }
.crest-img.lg-mono b[data-len="7"], .crest-img.lg-mono b[data-len="5"] { font-size: 26px; }
.crest-xl.lg-mono b { font-size: 52px; }
.crest-xl.lg-mono b[data-len="7"], .crest-xl.lg-mono b[data-len="5"] { font-size: 30px; }
.crest-img.lg-mono .lg-mono-flag { position: absolute; right: -4px; bottom: -4px; width: 34%; height: auto; border-radius: 3px; box-shadow: 0 0 0 2px #0B0E13; object-fit: contain; filter: none; }
.crest-img.lg-mono::after { content: ''; position: absolute; left: 14%; right: 14%; bottom: 16%; height: 3px; border-radius: 2px; background: var(--red, #E0262B); }

/* ===== Règles visuelles communes (30/11) =====
   Ligue  : écusson officiel, sinon monogramme (pastille sombre, capitales condensées) à toutes les tailles.
   Club   : logo officiel, sinon monogramme du club dans la même pastille (plus de rond gris).
   Pays   : drapeau SVG uniquement (jamais d'émoji), même hauteur que le texte, coins arrondis. */
.crest-img.lg-mono.mini { border-radius: 26%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.crest-img.lg-mono.mini::after { display: none; }
.crest-img.lg-mono.mini b { font-size: 9px; padding: 0 1px; letter-spacing: 0; }
.crest-img.lg-mono.mini b[data-len="3"] { font-size: 7.5px; }
.crest-sm.lg-mono.mini b, .crest-md.lg-mono.mini b { font-size: 12px; }
.crest-sm.lg-mono.mini b[data-len="3"], .crest-md.lg-mono.mini b[data-len="3"] { font-size: 10px; }
.flag-i { display: inline-block; width: 1.35em; height: .95em; object-fit: cover; border-radius: 2px; vertical-align: -0.12em; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.crest-fallback { border-radius: 24% !important; background: linear-gradient(145deg, #1B2230, #0B0E13) !important; font-style: italic; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }

/* Pied de page : même logo que l'en-tête */
.ft-logo .vs-wordmark { display: block; width: 232px; height: auto; }
#site-footer { border-top-color: var(--red, #E11D2E); } /* même trait rouge que l'en-tête (charte) */
