/* ==========================================================================
   VOLLEYSCORE V4 — système de design : jetons + composants, puis accueil et fiche match.
   Portée : body.v4 uniquement (la V3 reste intacte). Activation : ?v4 dans l'adresse.
   Règles : 7 tailles de texte, espacements par pas de 4, zones de toucher ≥ 44 px au doigt,
   un seul dessin pour une ligne de match partout, couleurs = jetons existants (clair / sombre).
   ========================================================================== */
body.v4 {
  --fs-1: 12px; --fs-2: 13px; --fs-3: 15px; --fs-4: 17px; --fs-5: 20px; --fs-6: 28px; --fs-7: 40px;
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px;
  --r-1: 6px; --r-2: 10px; --r-pill: 999px;
  --hit: 36px;
  --head: 'Barlow Condensed', sans-serif;
  --live: #E11D2E;
}
@media (pointer: coarse) { body.v4 { --hit: 44px; } }

/* ---------- Composants ---------- */
.v4-sec { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-2); overflow: hidden; min-width: 0; }
.v4-sh { display: flex; align-items: center; gap: var(--sp-3); min-height: 48px; padding: var(--sp-2) var(--sp-4); border-bottom: 1px solid var(--border); }
.v4-sh h2 { margin: 0; font-family: var(--head); font-weight: 800; font-size: var(--fs-5); line-height: 1; text-transform: uppercase; letter-spacing: .01em; }
.v4-sh .v4-more { margin-left: auto; min-height: var(--hit); display: inline-flex; align-items: center; font-size: var(--fs-2); font-weight: 700; color: var(--text-muted); }
.v4-sh .v4-more:hover { color: var(--red); }

/* Contrôle segmenté (jours, H/F, onglets) */
.v4-seg { display: flex; gap: var(--sp-1); overflow-x: auto; scrollbar-width: none; }
.v4-seg::-webkit-scrollbar { display: none; }
.v4-seg button { flex: none; min-height: var(--hit); padding: 0 var(--sp-3); border-radius: var(--r-pill); font-size: var(--fs-2); font-weight: 700; color: var(--text-muted); white-space: nowrap; transition: background .12s ease, color .12s ease; }
.v4-seg button:hover { color: var(--text-main); background: var(--bg-hover); }
.v4-seg button.on { background: var(--text-main); color: var(--bg-card); }
.v4-seg button .n { margin-left: 4px; font-family: 'JetBrains Mono', monospace; font-size: var(--fs-1); opacity: .7; }

/* En-tête de compétition dans une liste de matchs */
.v4-grp { display: flex; align-items: center; gap: var(--sp-2); width: 100%; min-height: 36px; padding: var(--sp-1) var(--sp-4); background: var(--bg-subtle); border-top: 1px solid var(--border); font-size: var(--fs-1); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); text-align: left; }
.v4-grp:first-child { border-top: 0; }
.v4-grp:hover { color: var(--text-main); }
.v4-grp .crest-img, .v4-grp img { width: 18px; height: 18px; object-fit: contain; }
.v4-grp.live { color: var(--live); }
.v4-day { padding: var(--sp-3) var(--sp-4) var(--sp-1); border-top: 1px solid var(--border); font-family: var(--head); font-weight: 800; font-size: var(--fs-4); text-transform: uppercase; letter-spacing: .02em; }

/* Ligne de match : statut | équipes + score | points par set */
.v4-m { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: var(--sp-3); width: 100%; min-height: 56px; padding: var(--sp-2) var(--sp-4); border-top: 1px solid var(--border); text-align: left; transition: background .12s ease; }
.v4-m:hover { background: var(--bg-hover); }
.v4-m.live { box-shadow: inset 3px 0 0 var(--live); }
.v4-m-st { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-2); font-weight: 700; color: var(--text-muted); }
.v4-m.live .v4-m-st { color: var(--live); display: inline-flex; align-items: center; gap: 5px; }
.v4-m.live .v4-m-st i { width: 7px; height: 7px; border-radius: 50%; background: var(--live); animation: v4pulse 1.6s ease-in-out infinite; }
@keyframes v4pulse { 50% { opacity: .35; } }
.v4-m-tm { display: grid; gap: 4px; min-width: 0; }
.v4-m-t { display: grid; grid-template-columns: 20px minmax(0, 1fr) 22px; align-items: center; gap: var(--sp-2); font-size: var(--fs-3); color: var(--text-main); }
.v4-m-t img, .v4-m-t .team-logo { width: 20px; height: 20px; object-fit: contain; }
.v4-m-t .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v4-m-t .sc { font-family: 'JetBrains Mono', monospace; font-weight: 700; text-align: right; color: var(--text-muted); }
.v4-m-t.w .nm, .v4-m-t.w .sc { font-weight: 800; color: var(--text-main); }
.v4-m.fin .v4-m-t:not(.w) .nm { color: var(--text-muted); }
.v4-m-sets { display: grid; grid-auto-flow: column; gap: 6px; font-family: 'JetBrains Mono', monospace; font-size: var(--fs-1); color: var(--text-dim); }
.v4-m-sets span { display: grid; gap: 4px; text-align: right; line-height: 20px; }
.v4-m-sets b { font-weight: 400; }
.v4-m-sets b.w { font-weight: 800; color: var(--text-main); }
.v4-empty { padding: var(--sp-5) var(--sp-4); font-size: var(--fs-2); color: var(--text-muted); text-align: center; }
.v4-expand { width: 100%; min-height: var(--hit); border-top: 1px solid var(--border); font-size: var(--fs-2); font-weight: 700; color: var(--text-muted); }
.v4-expand:hover { color: var(--red); }

/* Carte typographique (pas de photo réelle du club : jamais d'illustration sans lien) */
.v4-tc { position: relative; display: grid; place-items: center; overflow: hidden; color: #fff;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 22px), linear-gradient(115deg, var(--c1, #0F1115) 0 49.6%, var(--c2, #C8102E) 50.4% 100%); }
.v4-tc::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 120%, rgba(0, 0, 0, .55), transparent 60%), linear-gradient(rgba(0, 0, 0, .12), rgba(0, 0, 0, .28)); }
.v4-tc-in { position: relative; z-index: 1; display: flex; align-items: center; gap: var(--sp-5); }
.v4-tc-in .crest { width: 104px; height: 104px; flex: none; display: grid; place-items: center; padding: 16px; border-radius: 50%; background: rgba(255, 255, 255, .94); box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.v4-tc-in .crest img, .v4-tc-in .crest .team-logo { width: 100%; height: 100%; object-fit: contain; }
.v4-tc-in .sc { font-family: var(--head); font-weight: 900; font-size: clamp(28px, 6vw, 56px); letter-spacing: .02em; text-shadow: 0 2px 10px rgba(0, 0, 0, .4); }
.v4-tc-in .vs { font-family: var(--head); font-weight: 800; font-size: var(--fs-5); opacity: .85; }
.v4-tc.sm .v4-tc-in { gap: 6px; }
.v4-tc.sm .v4-tc-in .crest { width: 38px; height: 38px; padding: 5px; }
.v4-tc.sm .v4-tc-in .sc, .v4-tc.sm .v4-tc-in .vs { font-size: var(--fs-2); }

/* Aperçu V4 : retour à la V3 pour comparer */
.v4-flag { position: fixed; left: 12px; bottom: 12px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border-radius: var(--r-pill); background: var(--text-main); color: var(--bg-card); font-size: var(--fs-1); font-weight: 800; box-shadow: 0 4px 14px rgba(15, 17, 21, .25); }
.v4-flag a { color: inherit; text-decoration: underline; font-weight: 600; }
@media (max-width: 860px) { .v4-flag { bottom: 76px; } }

/* ==========================================================================
   Accueil V4 : les scores d'abord
   ========================================================================== */
body.v4.v4-home .ticker-strip { display: none; } /* les scores sont déjà en tête de page */
/* Mobile : bande compacte → la une → les scores → le reste. Grand écran : scores à gauche, la une au centre, rubriques à droite */
.h4 { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: 'rail' 'une' 'scores' 'more' 'side'; gap: var(--sp-4); align-items: start; }
.h4-rail { grid-area: rail; min-width: 0; } .h4-une-w { grid-area: une; } .h4-left { grid-area: scores; } .h4-more { grid-area: more; } .h4-side { grid-area: side; }
.h4-col { display: grid; gap: var(--sp-4); min-width: 0; }
@media (min-width: 861px) {
  .h4 { grid-template-columns: 360px minmax(0, 1fr); grid-template-areas: 'scores une' 'scores more' 'scores side'; }
  .h4-rail { display: none; } /* les scores ont leur colonne */
  .h4-left { align-self: start; }
}
@media (min-width: 1240px) {
  .h4 { grid-template-columns: 380px minmax(0, 1fr) 320px; grid-template-areas: 'scores une side' 'scores more side'; }
  .h4-side { align-self: start; }
  .h4-scores { position: sticky; top: 76px; max-height: calc(100vh - 88px); overflow: auto; scrollbar-width: thin; }
}
.h4-rail .lc-rail { grid-auto-columns: 78%; }
.h4-scores .v4-sh { position: sticky; top: 0; z-index: 2; background: var(--bg-card); flex-wrap: wrap; }
.h4-days { padding: var(--sp-2) var(--sp-3); border-bottom: 1px solid var(--border); }
.h4-filters { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); padding: 0 var(--sp-3) var(--sp-2); border-bottom: 1px solid var(--border); }
.h4-filters .v4-seg button { min-height: 32px; padding: 0 10px; }
@media (pointer: coarse) { .h4-filters .v4-seg button { min-height: 40px; } }

/* La une */
.h4-une { display: grid; grid-template-columns: minmax(0, 1fr); }
.h4-lead { display: block; width: 100%; text-align: left; }
.h4-lead .media { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-subtle); }
.h4-lead .media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.h4-lead:hover .media > img { transform: scale(1.03); }
.h4-lead .media .v4-tc { position: absolute; inset: 0; }
.h4-lead .cr { position: absolute; right: 8px; bottom: 6px; z-index: 2; font-size: 10.5px; color: rgba(255, 255, 255, .9); text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.h4-lead .tag { position: absolute; left: 12px; top: 12px; z-index: 2; padding: 3px 8px; border-radius: 4px; background: var(--red); color: #fff; font-size: var(--fs-1); font-weight: 800; letter-spacing: .04em; }
.h4-lead .txt { display: grid; text-align: left; gap: var(--sp-2); padding: var(--sp-4); }
.h4-kick { display: flex; align-items: center; gap: 6px; font-size: var(--fs-1); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--red); }
.h4-kick .crest-img, .h4-kick img { width: 16px; height: 16px; object-fit: contain; }
.h4-kick .d { color: var(--text-dim); font-weight: 700; }
.h4-lead h3 { margin: 0; font-family: var(--head); font-weight: 800; font-size: var(--fs-6); line-height: 1.05; color: var(--text-main); }
.h4-lead p { margin: 0; font-size: var(--fs-3); line-height: 1.5; color: var(--text-muted); }
.h4-news { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); border-top: 1px solid var(--border); }
.h4-news .h4-n { border-top: 0; border-bottom: 1px solid var(--border); }
.h4-n { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: var(--sp-3); align-items: center; width: 100%; min-height: 72px; padding: var(--sp-3) var(--sp-4); border-top: 1px solid var(--border); text-align: left; transition: background .12s ease; }
.h4-n:hover { background: var(--bg-hover); }
.h4-n .th { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-1); background: var(--bg-subtle); }
.h4-n .th > img { width: 100%; height: 100%; object-fit: cover; }
.h4-n .th .v4-tc { position: absolute; inset: 0; }
.h4-n b { display: block; font-size: var(--fs-3); font-weight: 700; line-height: 1.3; color: var(--text-main); }
.h4-n .h4-kick { margin-bottom: 4px; }

.h4-mag { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.h4-mag .h4-n { border-right: 1px solid var(--border); }
.h4-vids { padding: var(--sp-3) var(--sp-4) var(--sp-4); }

/* ==========================================================================
   Fiche match V4 : bandeau, barre d'onglets collante avec mini-score, panneaux
   ========================================================================== */
body.v4 .m4 .rb-row, body.v4 .m4 .rb-teams { display: none; } /* les sets sont déjà dans le bandeau */
.m4-bar { position: sticky; top: 56px; z-index: 20; display: flex; align-items: center; gap: var(--sp-3); margin: var(--sp-3) 0; padding: var(--sp-1) var(--sp-2); background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-2); box-shadow: 0 4px 14px rgba(15, 17, 21, .06); }
.m4-mini { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 0 var(--sp-2); font-family: 'JetBrains Mono', monospace; font-size: var(--fs-3); font-weight: 800; }
.m4-mini img, .m4-mini .team-logo { width: 22px; height: 22px; object-fit: contain; }
.m4-mini .w { color: var(--text-main); } .m4-mini .l { color: var(--text-dim); }
.m4-mini .lv { color: var(--live); }
.m4-bar .v4-seg { flex: 1; min-width: 0; }
.m4-panel[hidden] { display: none !important; }
.m4-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); align-items: start; }
@media (min-width: 1100px) { .m4-grid { grid-template-columns: minmax(0, 1fr) 340px; } }
.m4-col { display: grid; gap: var(--sp-4); min-width: 0; align-content: start; }
.m4-box .rt-mvp { display: none; } /* la meilleure note est déjà dans le résumé */
@media (max-width: 640px) { .m4-mini { font-size: var(--fs-2); padding: 0 4px; } .m4-mini img, .m4-mini .team-logo { width: 18px; height: 18px; } .m4-bar { top: 52px; } }
@media (prefers-reduced-motion: reduce) { .v4-m, .v4-seg button, .h4-lead .media > img, .h4-n { transition: none; } .v4-m.live .v4-m-st i { animation: none; } }

@media (max-width: 640px) { .v4-tc-in .crest { width: 76px; height: 76px; padding: 12px; } }

/* Petits écrans : les noms d'équipe d'abord (les points de chaque set sont sur la fiche du match) */
@media (max-width: 420px) { .v4-m-sets:not(.v4-m-odds) { display: none; } .v4-m { grid-template-columns: 48px minmax(0, 1fr) auto; } .v4-m-odds { font-size: 11px; } }
/* Blocs repris de la V3 (colonne de droite) : zones de toucher au format V4 */
@media (pointer: coarse) {
  body.v4 .h3-tr, body.v4 .h3-f, body.v4 .h3-w, body.v4 .h3-potw { min-height: 44px; }
  body.v4 .h3-more, body.v4 .h3-link { min-height: 44px; display: inline-flex; align-items: center; }
}

/* Où regarder sur la ligne de match */
.v4-m-tv { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin-top: 2px; font-size: var(--fs-1); font-weight: 600; color: var(--text-muted); }
.v4-m-tv .tv-ico { width: 14px; height: 14px; flex: none; color: var(--text-dim); }
.v4-m-tv i { font-style: normal; color: var(--text-dim); }
.v4-m-tv .free { color: #15803D; font-weight: 800; }
[data-theme="dark"] .v4-m-tv .free { color: #4ADE80; }

/* Portrait de joueuse ou joueur : cadré sur le visage */
.h4-lead .media > img.portrait, .h4-n .th > img.portrait { object-position: 50% 18%; }

/* Avant-match sur une colonne : « Où regarder » d'abord (la faiblesse du volley) */
@media (max-width: 1099px) { .m4-pre > .m4-col:last-child { order: -1; } }

/* ==========================================================================
   V4 « HLTV » : la donnée est le visuel (30/11, retour du propriétaire : « trop sage »)
   ========================================================================== */
.v4-sh h2::before { content: ''; display: inline-block; width: 4px; height: 0.9em; margin-right: 10px; border-radius: 2px; background: var(--red); vertical-align: -1px; }

/* Carte de une : écussons + score / série + forme + meilleure note, sur les couleurs des clubs */
.h4-lead .media .dc { position: absolute; inset: 0; }
.dc { display: flex; align-items: center; overflow: hidden; color: #fff; isolation: isolate;
  background: radial-gradient(75% 130% at 0% 50%, color-mix(in srgb, var(--c1) 78%, transparent), transparent 72%),
              radial-gradient(60% 130% at 100% 50%, color-mix(in srgb, var(--c2) 60%, transparent), transparent 70%), #0B0E13; }
.dc::before { content: ''; position: absolute; inset: 0; z-index: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 16px); }
.dc-bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.dc-star { position: absolute; right: 0; top: 0; z-index: 0; width: 52%; height: 100%; object-fit: cover; object-position: 50% 15%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 50%); mask-image: linear-gradient(to right, transparent, #000 50%); }
.dc-in { position: relative; z-index: 1; display: flex; align-items: center; gap: 28px; padding: 0 6%; max-width: 70%; }
.dc-crests { display: flex; flex-direction: column; gap: 10px; flex: none; }
.dc-crest { width: 84px; height: 84px; display: grid; place-items: center; padding: 12px; border-radius: 18px; background: rgba(255, 255, 255, .95); box-shadow: 0 8px 22px rgba(0, 0, 0, .35); }
.dc-crest img, .dc-crest .team-logo { width: 100%; height: 100%; object-fit: contain; }
.dc-crests:has(.dc-crest + .dc-crest) .dc-crest { width: 64px; height: 64px; padding: 9px; border-radius: 14px; }
.dc-data { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.dc-score { font-family: var(--head); font-weight: 900; font-size: 88px; line-height: .85; letter-spacing: .01em; text-shadow: 0 3px 16px rgba(0, 0, 0, .45); }
.dc-score b { color: rgba(255, 255, 255, .5); } .dc-score b.w { color: #fff; }
.dc-score i { font-style: normal; margin: 0 6px; color: rgba(255, 255, 255, .5); }
.dc-score.up { font-size: 60px; }
.dc-big { display: flex; align-items: flex-end; gap: 12px; }
.dc-big b { font-family: var(--head); font-weight: 900; font-size: 104px; line-height: .8; text-shadow: 0 3px 16px rgba(0, 0, 0, .45); }
.dc-big b sup { font-size: .4em; vertical-align: top; }
.dc-big em { font-style: normal; font-size: var(--fs-2); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .9; padding-bottom: 6px; }
.dc-sub { display: flex; flex-wrap: wrap; gap: 6px; }
.dc-set { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-2); padding: 3px 8px; border-radius: 4px; background: rgba(255, 255, 255, .12); }
.dc-set b { color: rgba(255, 255, 255, .55); font-weight: 600; } .dc-set b.w { color: #fff; font-weight: 800; }
.dc-form { display: flex; gap: 4px; }
.dc-form i { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 5px; font-style: normal; font-size: var(--fs-1); font-weight: 800; color: #fff; }
.dc-form i.V { background: #16A34A; } .dc-form i.D { background: #DC2626; }
.dc .v4-m-tv { color: rgba(255, 255, 255, .85); }
.dc-mvp { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 8px; background: rgba(0, 0, 0, .4); backdrop-filter: blur(4px); }
.dc-mvp em { font-style: normal; font-size: var(--fs-1); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.dc-mvp b { font-size: var(--fs-3); font-weight: 800; }
.dc-mvp .rt-pill { font-size: var(--fs-3); }
@media (max-width: 640px) {
  .dc-in { gap: 16px; padding: 0 5%; max-width: 78%; }
  .dc-crest { width: 58px; height: 58px; padding: 8px; border-radius: 12px; }
  .dc-crests:has(.dc-crest + .dc-crest) .dc-crest { width: 46px; height: 46px; padding: 6px; }
  .dc-score { font-size: 56px; } .dc-score.up { font-size: 40px; } .dc-big b { font-size: 68px; }
  .dc-form i { width: 18px; height: 18px; font-size: 10px; }
  .dc-sub .dc-set:nth-child(n+4) { display: none; }
}

/* Liste compacte de sujets (comme les actualités de HLTV) */
.h4-list { display: grid; }
.h4-list.two { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.h4-r { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 10px; min-height: 46px; padding: 8px var(--sp-4); border-top: 1px solid var(--border); text-align: left; transition: background .12s ease; }
.h4-list.two .h4-r { border-right: 1px solid var(--border); }
.h4-r:hover { background: var(--bg-hover); }
.h4-r:hover b { color: var(--red); }
.h4-r .crest-img, .h4-r > img { width: 20px; height: 20px; object-fit: contain; }
.h4-r b { font-size: var(--fs-3); font-weight: 600; line-height: 1.3; color: var(--text-main); transition: color .12s ease; }
.h4-r .d { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-1); color: var(--text-dim); }
.h4-chip { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-1); font-weight: 800; padding: 2px 7px; border-radius: 4px; background: var(--bg-subtle); color: var(--text-main); white-space: nowrap; }
.h4-chip.V { background: rgba(22, 163, 74, .14); color: #15803D; } .h4-chip.D { background: rgba(220, 38, 38, .14); color: #B91C1C; }
[data-theme="dark"] .h4-chip.V { color: #4ADE80; } [data-theme="dark"] .h4-chip.D { color: #F87171; }
.h4-chip.k { font-family: inherit; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--text-muted); }
@media (max-width: 640px) { .h4-r { grid-template-columns: auto minmax(0, 1fr) auto; } .h4-r .d { display: none; } }

/* Meilleures notes de la semaine */
.v4-tps { display: grid; }
.v4-tp { display: grid; grid-template-columns: 18px 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 54px; padding: 6px var(--sp-4); border-top: 1px solid var(--border); text-align: left; transition: background .12s ease; }
.v4-tp:first-child { border-top: 0; }
.v4-tp:hover { background: var(--bg-hover); }
.v4-tp .n { font-family: 'JetBrains Mono', monospace; font-weight: 800; color: var(--text-dim); }
.v4-tp:first-child .n { color: var(--red); }
.v4-tp .av { width: 34px; height: 34px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: var(--bg-subtle); }
.v4-tp .av img, .v4-tp .av svg { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.v4-tp .tx { min-width: 0; }
.v4-tp .tx b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--fs-3); font-weight: 700; color: var(--text-main); }
.v4-tp .tx em { display: flex; align-items: center; gap: 5px; font-style: normal; font-size: var(--fs-1); color: var(--text-dim); min-width: 0; }
.v4-tp .tx em span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v4-tp .tx em img, .v4-tp .tx em .team-logo { width: 14px; height: 14px; object-fit: contain; }
.v4-tp .rt-pill { min-width: 46px; font-size: var(--fs-3); }
.v4-note { padding: 8px var(--sp-4); border-top: 1px solid var(--border); font-size: var(--fs-1); color: var(--text-dim); }

.h4-lg { display: inline-flex; align-items: center; gap: 3px; min-width: 20px; }
.h4-lg .crest-img, .h4-lg img { width: 20px; height: 20px; object-fit: contain; }

.dc-crest > *, .dc-crest img { max-width: 100%; max-height: 100%; }
.dc-big em { max-width: 9em; line-height: 1.2; }

.dc .dc-crest img, .dc .dc-crest .team-logo { width: 100% !important; height: 100% !important; max-width: 100%; max-height: 100%; }
.dc .dc-crest .crest-img { width: 100% !important; height: 100% !important; }

/* ==========================================================================
   Accueil V4 : « Match du jour » en tête, colonne « la semaine »
   Mobile : match du jour → scores → la une → la semaine (équipe-type…) → le reste
   ========================================================================== */
.h4 { grid-template-areas: 'md' 'scores' 'une' 'side' 'more'; }
.h4-md { grid-area: md; min-width: 0; }
@media (min-width: 861px) {
  .h4 { grid-template-areas: 'md md' 'scores une' 'scores more' 'scores side'; }
}
@media (min-width: 1240px) {
  .h4 { grid-template-areas: 'md md side' 'scores une side' 'scores more side'; grid-template-rows: auto auto 1fr; }
}

/* ---------- Carte « Match du jour » ---------- */
.md { position: relative; overflow: hidden; isolation: isolate; border-radius: 14px; color: #fff; padding: var(--sp-4);
  background: linear-gradient(105deg, color-mix(in srgb, var(--c1) 70%, #0B0E14) 0%, #0B0E14 46%, #0B0E14 54%, color-mix(in srgb, var(--c2) 70%, #0B0E14) 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.md::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 14px); }
.md-top { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; font-size: var(--fs-1); font-weight: 700; color: rgba(255, 255, 255, .8); }
.md-tag { font-family: var(--head); font-weight: 800; font-size: var(--fs-3); text-transform: uppercase; letter-spacing: .04em; color: #fff; background: var(--live); padding: 2px 8px; border-radius: 4px; }
.md-lg { display: inline-flex; align-items: center; gap: 6px; color: #fff; font: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.md-lg:hover span { text-decoration: underline; }
.md-day::first-letter { text-transform: uppercase; }
.md-cd { margin-left: auto; font-variant-numeric: tabular-nums; color: #fff; background: rgba(255, 255, 255, .12); padding: 2px 8px; border-radius: 999px; }
.md-live { margin-left: auto; color: #fff; background: var(--live); padding: 2px 8px; border-radius: 999px; }
.md-main { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: var(--sp-3); margin: var(--sp-4) 0 var(--sp-3); }
.md-team { display: grid; justify-items: center; gap: 4px; text-align: center; color: #fff; background: none; border: 0; padding: 0; cursor: pointer; min-width: 0; font: inherit; }
.md-team b { font-family: var(--head); font-weight: 800; font-size: clamp(18px, 2.6vw, 28px); line-height: 1; text-transform: uppercase; overflow-wrap: anywhere; }
.md-team:hover b { text-decoration: underline; text-decoration-thickness: 2px; }
.md-team em { font-style: normal; font-size: var(--fs-1); font-weight: 700; color: rgba(255, 255, 255, .75); }
.md-crest { width: clamp(56px, 9vw, 92px); height: clamp(56px, 9vw, 92px); display: grid; place-items: center; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .45)); }
.md-crest img, .md-crest .team-logo, .md-crest .crest-img { width: 100% !important; height: 100% !important; object-fit: contain; }
.md-form { display: flex; gap: 3px; }
.md-form i { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 3px; font-style: normal; font-size: 10px; font-weight: 800; }
.md-form i.V { background: #16A34A; } .md-form i.D { background: rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .8); }
.md-mid { display: grid; justify-items: center; gap: 8px; text-align: center; }
.md-time { font-family: var(--head); font-weight: 900; font-size: clamp(30px, 5vw, 52px); line-height: .9; font-variant-numeric: tabular-nums; }
.md-score { font-family: var(--head); font-weight: 900; font-size: clamp(40px, 7vw, 72px); line-height: .85; }
.md-score i { font-style: normal; opacity: .6; margin: 0 .15em; }
.md .v4-m-tv { justify-content: center; color: rgba(255, 255, 255, .85); }
.md .v4-m-tv .free { color: #4ADE80; }
.md-go { min-height: var(--hit, 40px); padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); color: #fff; font: inherit; font-size: var(--fs-2); font-weight: 700; cursor: pointer; white-space: nowrap; }
.md-go:hover { background: #fff; color: #0B0E14; }
.md-foot { display: grid; gap: var(--sp-3); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .md-foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; } }
.md .wp, .md .vt { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: #fff; }
.md .wp-h span, .md .vt-h span, .md .wp-n, .md .vt-pc { color: rgba(255, 255, 255, .7); }
.md .vt-b { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .25); }
.md .vt-b.on { background: #fff; color: #0B0E14; border-color: #fff; }
.md .vt-bar { background: rgba(255, 255, 255, .18); }

/* ---------- Chances de victoire ---------- */
.wp { border-radius: 10px; padding: var(--sp-3); background: var(--bg-card); border: 1px solid var(--border); display: grid; gap: 8px; align-content: start; }
.wp-h, .vt-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.wp-h b, .vt-h b { font-family: var(--head); font-weight: 800; font-size: var(--fs-4); text-transform: uppercase; letter-spacing: .02em; }
.wp-h span, .vt-h span { font-size: var(--fs-1); color: var(--text-muted); }
.wp-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.wp-t { display: inline-flex; align-items: center; gap: 6px; font-family: var(--head); font-size: var(--fs-5); font-variant-numeric: tabular-nums; }
.wp-t .team-logo, .wp-t img { width: 22px !important; height: 22px !important; }
.wp-bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; gap: 2px; }
.wp-bar i { display: block; height: 100%; background: var(--c); min-width: 4px; }
.wp-n { font-size: var(--fs-1); color: var(--text-muted); line-height: 1.35; }

/* ---------- Qui va gagner ? ---------- */
.vt { border-radius: 10px; padding: var(--sp-3); background: var(--bg-card); border: 1px solid var(--border); display: grid; gap: 8px; align-content: start; }
.vt.busy { opacity: .6; pointer-events: none; }
.vt-bs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vt-b { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg-main, transparent); color: var(--text-main); font: inherit; font-weight: 700; font-size: var(--fs-2); cursor: pointer; min-width: 0; }
.vt-b span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-b .team-logo, .vt-b img { width: 20px !important; height: 20px !important; flex: none; }
.vt-b:not(:disabled):hover { border-color: var(--live); }
.vt-b.on { background: var(--live); border-color: var(--live); color: #fff; }
.vt-b:disabled { cursor: default; opacity: .75; }
.vt-b.on:disabled { opacity: 1; }
.vt-res { display: grid; gap: 4px; }
.vt-bar { height: 8px; border-radius: 999px; background: var(--border); overflow: hidden; }
.vt-bar i { display: block; height: 100%; background: var(--live); border-radius: 999px; transition: width .4s ease; }
.vt-pc { display: flex; justify-content: space-between; gap: 8px; font-size: var(--fs-1); color: var(--text-muted); font-variant-numeric: tabular-nums; }
.vt-pc b { color: inherit; font-size: var(--fs-2); }
.vt-err { font-size: var(--fs-1); color: var(--live); font-weight: 700; }

/* Fiche match (avant-match) : chances et vote côte à côte */
.m4-pick { display: grid; gap: var(--sp-3); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .m4-pick { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* ==========================================================================
   Page Matchs V4
   ========================================================================== */
.v4-m-odds span { gap: 4px; }
.v4-m-odds b { font-weight: 600; color: var(--text-dim); white-space: nowrap; }
.v4-m-odds b.w { font-weight: 800; color: var(--text-main); }

.mx4 { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); align-items: start; }
.mx4-main, .mx4-side { display: grid; gap: var(--sp-4); min-width: 0; }
@media (min-width: 1100px) {
  .mx4 { grid-template-columns: minmax(0, 1fr) 320px; }
  .mx4-side { position: sticky; top: 76px; }
  .mx4-sel { display: none !important; }
}
@media (max-width: 1099px) { .mx4-comps { display: none; } }

.mx4-bar .v4-sh { flex-wrap: wrap; row-gap: var(--sp-2); }
.mx4-h1 { margin: 0; font-family: var(--head); font-weight: 900; font-size: var(--fs-6); line-height: 1; text-transform: uppercase; }
.mx4-tabs { margin-left: auto; }
.mx4-live { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-2); font-weight: 800; color: var(--live); }
.mx4-live i, .mx4-lv i { width: 8px; height: 8px; border-radius: 50%; background: var(--live); animation: v4pulse 1.6s ease-in-out infinite; }
.mx4-lv { display: inline-flex; align-items: center; gap: 8px; color: var(--live); }
.mx4-filters { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-3); padding: var(--sp-2) var(--sp-4); border-bottom: 1px solid var(--border); }
.mx4-mine { min-height: var(--hit); padding: 0 var(--sp-3); border-radius: var(--r-pill); border: 1px solid var(--border); font-size: var(--fs-2); font-weight: 700; color: var(--text-muted); }
.mx4-mine span { color: #F5B301; }
.mx4-mine.on { background: var(--text-main); color: var(--bg-card); border-color: var(--text-main); }
.mx4-sel { flex: 1 1 220px; min-width: 0; }
.mx4-sel select { width: 100%; min-height: var(--hit); padding: 0 30px 0 12px; border: 1px solid var(--border); border-radius: var(--r-pill); background: var(--bg-card); color: var(--text-main); font: inherit; font-size: var(--fs-2); font-weight: 700; cursor: pointer; }
.mx4-days { padding: var(--sp-2) var(--sp-4); }
.mx4-days button { display: grid; justify-items: center; gap: 0; min-width: 64px; padding: 6px var(--sp-2); line-height: 1.15; border-radius: var(--r-2); }
.mx4-days button .n { margin: 0; }
.mx4-days button.empty { opacity: .45; }
.mx4-legend { padding: 0 var(--sp-4) var(--sp-2); font-size: var(--fs-1); color: var(--text-muted); }
.mx4-legend b { font-family: 'JetBrains Mono', monospace; color: var(--text-main); margin-right: 4px; }

.mx4-dh h2 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; }
.mx4-dh h2 > span:first-child { color: var(--red); }
.mx4-sep { color: var(--text-dim); }
.mx4-n { margin-left: auto; font-size: var(--fs-1); font-weight: 700; color: var(--text-muted); white-space: nowrap; }
.mx4-day.sel { box-shadow: 0 0 0 2px var(--red); }
.mx4-rd { margin-left: auto; font-weight: 700; letter-spacing: .02em; text-transform: none; color: var(--text-dim); }

.mx4-cf { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--sp-2); width: 100%; min-height: 40px; padding: 4px var(--sp-4); border-top: 1px solid var(--border); text-align: left; font-size: var(--fs-2); color: var(--text-main); }
.mx4-cf:first-of-type { border-top: 0; }
.mx4-cf:hover { background: var(--bg-hover); }
.mx4-cf.on { background: var(--bg-subtle); box-shadow: inset 3px 0 0 var(--red); }
.mx4-cf b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mx4-cf .ic { display: inline-flex; align-items: center; gap: 4px; min-width: 24px; white-space: nowrap; }
.mx4-cf .ic img, .mx4-cf .ic .crest-img { width: 18px; height: 18px; object-fit: contain; }
.mx4-cf .n { font-family: 'JetBrains Mono', monospace; font-size: var(--fs-1); color: var(--text-muted); }
.mx4-all { font-weight: 900; color: var(--text-muted); }
.mx4-cf .mstars { font-size: 9px; letter-spacing: -1px; color: #F5B301; }
.mx4-when { padding: var(--sp-2) var(--sp-4) 0; border-top: 1px solid var(--border); font-size: var(--fs-1); font-weight: 700; color: var(--text-muted); }
.mx4-when + .v4-m { border-top: 0; }
.mx4-note { padding: var(--sp-2) var(--sp-4) var(--sp-3); border-top: 1px solid var(--border); font-size: var(--fs-1); color: var(--text-muted); }
.mx4 .mx4-days button.on { background: var(--text-main); color: var(--bg-card); border-color: transparent; box-shadow: none; }

/* ==========================================================================
   Enjeu façon HLTV : étoiles pleines, un mot court en gris ; diffuseurs en texte sobre
   ========================================================================== */
.v4-stars { color: #E0A100; letter-spacing: -1px; font-size: 12px; line-height: 1; white-space: nowrap; }
[data-theme="dark"] .v4-stars, .md .v4-stars, .on-dark .v4-stars { color: #F5B301; }
.v4-m-star { display: grid; justify-items: end; gap: 3px; min-width: 0; max-width: 96px; text-align: right; }
.v4-m-star em { font-style: normal; font-size: 11px; font-weight: 500; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 96px; }
.md-stake, .mx-stake4 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 12px; font-size: var(--fs-1); }
.md-stake { margin: 0 0 var(--sp-3); color: rgba(255, 255, 255, .7); justify-content: center; text-align: center; }
.md-stake b, .mx-stake4 b { font-weight: 700; }
.md-stake b { color: #fff; }
.md-stake i, .mx-stake4 i { font-style: normal; margin-left: 6px; opacity: .75; }
.md .md-foot { grid-template-columns: minmax(0, 1fr) !important; }
.tv-names { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; min-width: 0; }
.tv-names i { font-style: normal; color: var(--text-dim); }
.tv-n { font-size: var(--fs-1); font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.tv-n em { font-style: normal; font-weight: 700; color: #15803D; }
[data-theme="dark"] .tv-n em, .md .tv-n em, .on-dark .tv-n em, .dc .tv-n em { color: #4ADE80; }
.md .tv-n, .dc .tv-n { color: rgba(255, 255, 255, .85); }
.md .tv-names i, .dc .tv-names i { color: rgba(255, 255, 255, .45); }
@media (max-width: 420px) { .v4-m { grid-template-columns: 48px minmax(0, 1fr) auto; } .v4-m-star, .v4-m-star em { max-width: 78px; } }

/* ==========================================================================
   Fiche match V4 : la carte du match en tête, le tableau des sets à part, la discussion à un clic
   ========================================================================== */
.md-page { margin-bottom: var(--sp-3); }
.md-page .md-top { justify-content: center; text-align: center; }
.md-st { margin-left: auto; color: rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .12); padding: 2px 8px; border-radius: 999px; }
/* Score du match : gros, le vainqueur en blanc plein, le perdant estompé */
.md-score { display: inline-flex; align-items: baseline; gap: .12em; font-variant-numeric: tabular-nums; }
.md-score b { font-weight: 900; }
.md-score b.l { opacity: .42; }
.md-score.lv b { color: #fff; }
.md-score.lv::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--live); align-self: center; margin-left: 6px; animation: v4pulse 1.6s ease-in-out infinite; }
@keyframes v4pulse { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .md-score.lv::after { animation: none; } }
/* Tableau des sets : petit, aligné, séparé du score par un filet */
.md-sets { display: grid; justify-content: center; gap: 2px; margin: 0 auto var(--sp-3); padding-top: var(--sp-3); border-top: 1px solid rgba(255, 255, 255, .12); width: fit-content; max-width: 100%; overflow-x: auto; }
.md-sets .r { display: grid; grid-template-columns: minmax(90px, 180px) repeat(var(--n), 34px); align-items: center; font-variant-numeric: tabular-nums; }
.md-sets .r > span { text-align: center; font-size: var(--fs-2); line-height: 26px; color: rgba(255, 255, 255, .55); }
.md-sets .r > span.w { color: #fff; font-weight: 800; }
.md-sets .r > span.cur { color: #fff; font-weight: 800; box-shadow: inset 0 0 0 1px var(--live); border-radius: 4px; }
.md-sets .hd > span { font-size: 10px; line-height: 18px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.md-sets .hd > span.cur { box-shadow: none; color: var(--live); }
.md-sets .hd > span:first-child { text-align: left; }
.md-sets .tn { display: flex !important; align-items: center; gap: 6px; min-width: 0; text-align: left !important; color: rgba(255, 255, 255, .85) !important; }
.md-sets .tn b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.md-sets .tn img, .md-sets .tn .team-logo { width: 16px !important; height: 16px !important; flex: none; }
@media (max-width: 520px) { .md-sets .r { grid-template-columns: minmax(64px, 110px) repeat(var(--n), 28px); } }
/* Pied : vote + accès à la discussion */
.md-page .md-foot { grid-template-columns: minmax(0, 1fr) auto !important; align-items: stretch; }
.md-page .md-foot .vt[hidden] + .md-talk { grid-column: 1 / -1; justify-self: center; }
@media (max-width: 640px) { .md-page .md-foot { grid-template-columns: minmax(0, 1fr) !important; } }
.md-talk { display: grid; align-content: center; justify-items: center; gap: 2px; min-width: 150px; min-height: 44px; padding: 10px 16px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .07); color: #fff; font: inherit; cursor: pointer; }
.md-talk:hover { background: #fff; color: #0B0E14; }
.md-talk span { font-weight: 800; font-size: var(--fs-2); display: inline-flex; gap: 6px; align-items: center; }
.md-talk svg { grid-row: 1; }
.md-talk { grid-template-columns: auto auto; column-gap: 6px; }
.md-talk em { grid-column: 1 / -1; font-style: normal; font-size: var(--fs-1); color: inherit; opacity: .75; }
/* Verdict des fans après le match */
.vt-vd { font-size: var(--fs-1); font-weight: 700; }
.vt-vd.ok { color: #15803D; } .vt-vd.ko { color: #B45309; }
.md .vt-vd.ok, [data-theme="dark"] .vt-vd.ok { color: #4ADE80; } .md .vt-vd.ko, [data-theme="dark"] .vt-vd.ko { color: #FBBF24; }

/* ==========================================================================
   Forum : fils de match automatiques
   ========================================================================== */
.tk { border-bottom: 1px solid var(--border); padding: 4px 0 8px; }
.tk-h { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding: 10px 12px 6px; }
.tk-h h2 { margin: 0; font-family: var(--head); font-weight: 800; font-size: var(--fs-4, 18px); text-transform: uppercase; }
.tk-h span { font-size: var(--fs-1); color: var(--text-muted); }
.tk-h .v4-more { margin-left: auto; }
.tk-cols, .tk-row { display: grid; grid-template-columns: 26px minmax(0, 1fr) 44px 74px; gap: 10px; align-items: center; padding: 7px 12px; }
.tk-cols { font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--text-dim); padding-top: 2px; padding-bottom: 2px; }
.tk-cols span:last-child, .tk-n { text-align: right; }
.tk-day h3 { margin: 10px 12px 2px; font-size: var(--fs-1); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); }
.tk-day h3::first-letter { text-transform: uppercase; }
.tk-c { font-weight: 600; color: var(--text-dim); }
.tk-live { color: var(--live); }
.tk-row { width: 100%; text-align: left; background: none; border: 0; border-top: 1px solid var(--border); color: var(--text-main); cursor: pointer; font: inherit; font-size: var(--fs-2); }
.tk-row:hover { background: var(--bg-hover); }
.tk-m { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; min-width: 0; }
.tk-t { display: flex; align-items: center; gap: 6px; min-width: 0; }
.tk-t:first-child { justify-content: flex-end; text-align: right; }
.tk-t:first-child img, .tk-t:first-child .team-logo { order: 2; }
.tk-t b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-t img, .tk-t .team-logo { width: 18px !important; height: 18px !important; flex: none; }
.tk-sc { min-width: 46px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; padding: 2px 6px; border-radius: 4px; background: var(--bg-subtle); }
.tk-sc.t { font-weight: 600; color: var(--text-muted); background: none; }
.tk-sc.lv { background: var(--live); color: #fff; }
.tk-star { text-align: center; }
.tk-n { font-weight: 800; font-variant-numeric: tabular-nums; }
.tk-n.zero { color: var(--text-dim); font-weight: 500; }
.tk-old { margin: 14px 12px 4px; font-size: var(--fs-1); font-weight: 800; text-transform: uppercase; color: var(--text-muted); }
@media (max-width: 600px) {
  .tk-cols, .tk-row { grid-template-columns: minmax(0, 1fr) 36px; }
  .tk-lg, .tk-star, .tk-cols span:first-child, .tk-cols span:nth-child(3) { display: none; }
  .tk-m { gap: 6px; }
}
.vt[hidden] { display: none !important; }
.md-talk { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; align-content: center; column-gap: 6px; row-gap: 2px; }
.md-talk em { flex-basis: 100%; text-align: center; }
.tk-more { display: block; width: 100%; padding: 9px 12px; border: 0; border-top: 1px solid var(--border); background: none; color: var(--text-muted); font: inherit; font-size: var(--fs-1); font-weight: 700; cursor: pointer; text-align: center; }
.tk-more:hover { color: var(--text-main); background: var(--bg-hover); }
.cm-thread { scroll-margin-top: 76px; }
.vt-me::before { content: "·"; margin: 0 6px; opacity: .6; }

/* ==========================================================================
   Accueil V4 « stats et moderne » (30/11) : bande du jour, une en photo, chiffres de la semaine, colonne pronostics
   ========================================================================== */
.h5 { display: grid; gap: var(--sp-4); align-items: start; grid-template-columns: minmax(0, 1fr); grid-template-areas: 'top' 'main' 'side' 'left'; }
.h5-top { grid-area: top; display: grid; gap: var(--sp-3); min-width: 0; grid-template-columns: minmax(0, 1fr); }
.h5-main { grid-area: main; display: grid; gap: var(--sp-4); min-width: 0; }
.h5-side { grid-area: side; display: grid; gap: var(--sp-4); min-width: 0; }
.h5-left { grid-area: left; min-width: 0; }
@media (min-width: 861px) {
  .h5 { grid-template-columns: minmax(0, 1fr) 320px; grid-template-areas: 'top top' 'main side' 'left side'; }
  .h5-top { grid-template-columns: minmax(380px, 460px) minmax(0, 1fr); align-items: stretch; }
}
@media (min-width: 1240px) {
  .h5 { grid-template-columns: 320px minmax(0, 1fr) 320px; grid-template-areas: 'top top top' 'left main side'; }
}
.h5-rail { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); align-items: stretch; }
.h5-rail > *, .h5-rail .rail-wrap { min-width: 0; max-width: 100%; }
.h5-rail .lc-rail { width: 100%; }

/* Match du jour compact */
.h5-md { padding: var(--sp-3) var(--sp-4); display: grid; gap: 8px; align-content: start; }
.h5-md-top { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-size: var(--fs-1); font-weight: 700; color: rgba(255, 255, 255, .8); }
.h5-md-top .md-tag { font-size: 12px; }
.h5-md-lg { display: inline-flex; align-items: center; gap: 6px; }
.h5-md-main { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; background: none; border: 0; padding: 4px 0; color: #fff; font: inherit; cursor: pointer; text-align: left; }
.h5-md-tm { display: flex; align-items: center; gap: 8px; min-width: 0; }
.h5-md-tm.r { justify-content: flex-end; text-align: right; }
.h5-md-tm b { font-family: var(--head); font-weight: 800; font-size: clamp(15px, 1.6vw, 19px); text-transform: uppercase; line-height: 1.05; overflow-wrap: anywhere; }
.h5-md-tm img, .h5-md-tm .team-logo { width: 36px !important; height: 36px !important; flex: none; filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .4)); }
.h5-md-t, .h5-md-sc { font-family: var(--head); font-weight: 900; font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.h5-md-sc i { font-style: normal; opacity: .6; margin: 0 .1em; }
.h5-md-main:hover b { text-decoration: underline; }
.h5-md-why { font-size: var(--fs-1); color: rgba(255, 255, 255, .72); text-align: center; }
.h5-md .vt { padding: 8px 10px; gap: 6px; }
.h5-md .vt-h span { display: none; }
.h5-md .vt-b { min-height: 38px; font-size: var(--fs-1); }

/* Une en photo + cartes du Mag */
.h5-une { display: grid; gap: var(--sp-3); }
.h5-lead { position: relative; display: block; padding: 0; border: 0; border-radius: var(--r-2); overflow: hidden; background: #0B0E14; color: #fff; cursor: pointer; text-align: left; font: inherit; }
.h5-lead .mg-vis { aspect-ratio: 16 / 9; border-radius: 0; }
.h5-lead .mg-vis .cr-credit { top: 8px; bottom: auto; right: 8px; left: auto; }
.h5-lead .mg-vis .s2-crests { top: 10px; bottom: auto; left: 10px; }
.h5-lead-t { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 48px var(--sp-4) var(--sp-4); background: linear-gradient(transparent, rgba(5, 7, 10, .9) 45%); display: grid; gap: 6px; }
.h5-lead-t em { font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #FF5A67; }
.h5-lead-t h2 { margin: 0; font-family: var(--head); font-weight: 800; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.02; text-transform: uppercase; }
.h5-lead-t p { margin: 0; color: rgba(255, 255, 255, .8); font-size: var(--fs-2); max-width: 70ch; }
.h5-lead:hover h2 { text-decoration: underline; text-decoration-thickness: 3px; }
.h5-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
@media (min-width: 700px) { .h5-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.h5-card { display: grid; align-content: start; padding: 0; border: 1px solid var(--border); border-radius: var(--r-2); overflow: hidden; background: var(--bg-card); color: var(--text-main); cursor: pointer; text-align: left; font: inherit; transition: transform .15s ease, border-color .15s ease; }
.h5-card:hover { transform: translateY(-2px); border-color: var(--red); }
.h5-card .mg-vis { aspect-ratio: 16 / 10; }
.h5-card .mg-vis .cr-credit { display: none; }
.h5-card .mg-potd-tag b { font-size: 14px; }
.h5-card-t { display: grid; gap: 4px; padding: 10px 12px 12px; }
.h5-card-t em { font-style: normal; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--red); }
.h5-card-t b { font-size: var(--fs-2); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.h5-more { display: flex; justify-content: flex-end; }
@media (prefers-reduced-motion: reduce) { .h5-card { transition: none; } .h5-card:hover { transform: none; } }

/* Les chiffres de la semaine */
.h5-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--border); }
@media (min-width: 700px) { .h5-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.h5-tile { --acc: var(--red); position: relative; display: grid; align-content: start; gap: 2px; padding: 14px 16px 16px; min-height: 128px; border: 0; background: var(--bg-card); color: var(--text-main); text-align: left; font: inherit; cursor: pointer; overflow: hidden; }
.h5-tile::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--acc); }
.h5-tile::after { content: ''; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--acc) 22%, transparent), transparent 70%); pointer-events: none; }
.h5-tile:hover { background: var(--bg-hover); }
.h5-big { font-family: var(--head); font-weight: 900; font-size: clamp(38px, 4.2vw, 52px); line-height: .95; color: var(--acc); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.h5-unit { font-size: var(--fs-2); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.h5-ctx { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: var(--fs-1); color: var(--text-muted); min-width: 0; }
.h5-ctx span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h5-ctx img, .h5-ctx .team-logo { width: 16px !important; height: 16px !important; flex: none; }
.t-fire { --acc: #FF4D3D; } .t-gold { --acc: #F5B301; } .t-shock { --acc: #A78BFA; } .t-long { --acc: #38BDF8; } .t-back { --acc: #34D399; } .t-tb { --acc: #FB923C; } .t-n { --acc: #94A3B8; }
[data-theme="light"] .t-gold { --acc: #B98500; } [data-theme="light"] .t-long { --acc: #0284C7; } [data-theme="light"] .t-back { --acc: #059669; } [data-theme="light"] .t-shock { --acc: #7C3AED; }

/* Colonne de droite */
.h5-picks { display: grid; }
.h5-pick { display: grid; gap: 6px; padding: 10px var(--sp-4) 12px; border-bottom: 1px solid var(--border); }
.h5-pick:last-child { border-bottom: 0; }
.h5-pick-h { display: flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; color: var(--text-muted); font: inherit; font-size: var(--fs-1); font-weight: 700; cursor: pointer; }
.h5-pick-h em { margin-left: auto; font-style: normal; font-variant-numeric: tabular-nums; }
.h5-pick .vt { padding: 0; border: 0; background: none; }
.h5-pick .vt-h { display: none; }
.h5-pick .vt-b { min-height: 40px; font-size: var(--fs-1); }
.h5-two { display: grid; gap: 4px; padding: 4px 0 8px; }
.h5-h3 { margin: 10px var(--sp-4) 4px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; display: flex; align-items: center; gap: 6px; }
.h5-h3::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.h5-h3.hot, .h5-h3.up { color: #16A34A; } .h5-h3.cold, .h5-h3.down { color: var(--red); }
[data-theme="dark"] .h5-h3.hot, [data-theme="dark"] .h5-h3.up { color: #4ADE80; }
.h5-row { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 40px; padding: 4px var(--sp-4); border: 0; background: none; color: var(--text-main); font: inherit; font-size: var(--fs-2); text-align: left; cursor: pointer; }
.h5-row:hover { background: var(--bg-hover); }
.h5-row > b { flex: 1; min-width: 0; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h5-row img, .h5-row .team-logo { flex: none; }
.h5-pill { flex: none; font-weight: 800; font-size: 12px; padding: 2px 8px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.h5-pill.V { background: #16A34A; color: #fff; } .h5-pill.D { background: var(--red); color: #fff; }
.h5-mv { flex: none; font-weight: 800; font-size: 12px; font-variant-numeric: tabular-nums; }
.h5-mv.up { color: #16A34A; } .h5-mv.down { color: var(--red); }
[data-theme="dark"] .h5-mv.up { color: #4ADE80; }
.h5-rk { flex: none; width: 30px; text-align: right; font-size: 12px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.h5-ctx em { font-style: normal; color: var(--text-dim); white-space: nowrap; }
.h5-ctx em::before { content: "·"; margin-right: 6px; }
@media (max-width: 640px) {
  .h5-lead-t { position: static; padding: 12px var(--sp-4) var(--sp-4); background: #0B0E14; }
  .h5-lead .mg-vis .s2-crests { top: auto; bottom: 10px; }
  .h5-nums .v4-sh .v4-note { display: none; }
}
.h5-ctx { flex-wrap: wrap; row-gap: 0; }
.h5-ctx em { flex-basis: 100%; }
.h5-ctx em::before { content: none; }

/* ==========================================================================
   Accueil V4 — en-tête « grand standing » (30/11) : match du jour plein cadre + « À l'affiche »
   Système : rayons 20 px, pilules en verre dépoli, typo condensée très grasse, photo réelle en plein cadre.
   ========================================================================== */
.h5 { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'hero' 'main' 'side'; }
@media (min-width: 861px) { .h5 { grid-template-columns: minmax(0, 1fr) 320px; grid-template-areas: 'hero hero' 'main side'; } }
@media (min-width: 1240px) { .h5 { grid-template-columns: minmax(0, 1fr) 340px; grid-template-areas: 'hero hero' 'main side'; } }
.h6 { grid-area: hero; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); min-width: 0; }
@media (min-width: 1080px) { .h6 { grid-template-columns: minmax(0, 1fr) 360px; } }

/* Le match du jour */
.h6-md { --glass: rgba(255, 255, 255, .1); --glass-b: rgba(255, 255, 255, .18);
  position: relative; isolation: isolate; overflow: hidden; border-radius: 20px; min-height: 460px; padding: 22px 26px 30px;
  display: grid; grid-template-rows: auto 1fr auto; gap: 18px; color: #fff; background: #07090D;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .55); }
.h6-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transform: scale(1.02); transition: transform 1.6s cubic-bezier(.2, .7, .2, 1); }
.h6-md:hover .h6-bg { transform: scale(1.06); }
.h6-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--c1) 55%, transparent) 0%, transparent 38%, transparent 62%, color-mix(in srgb, var(--c2) 55%, transparent) 100%),
    linear-gradient(180deg, rgba(7, 9, 13, .62) 0%, rgba(7, 9, 13, .18) 32%, rgba(7, 9, 13, .55) 62%, rgba(7, 9, 13, .96) 100%); }
.h6-top { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.h6-badge { font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: #07090D; background: #fff; padding: 7px 12px; border-radius: 999px; }
.h6-lg, .h6-stake { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 12px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-b); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; font: inherit; font-size: 13px; font-weight: 700; }
.h6-lg { cursor: pointer; } .h6-lg:hover { background: rgba(255, 255, 255, .2); }
.h6-stake { margin-left: auto; font-weight: 600; }
.h6-stake .v4-stars { font-size: 13px; color: #FFC21A; }

.h6-duel { align-self: center; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 28px; }
.h6-team { display: grid; justify-items: start; align-content: center; gap: 10px; min-width: 0; padding: 0; border: 0; background: none; color: #fff; font: inherit; text-align: left; cursor: pointer; }
.h6-team.r { justify-items: end; text-align: right; }
.h6-crest { width: 88px; height: 88px; display: grid; place-items: center; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .5)); transition: transform .3s ease; }
.h6-crest img, .h6-crest .team-logo, .h6-crest .crest-img { width: 100% !important; height: 100% !important; object-fit: contain; }
.h6-team:hover .h6-crest { transform: translateY(-3px) scale(1.04); }
.h6-nm { font-family: var(--head); font-weight: 900; font-size: clamp(28px, 3.3vw, 52px); line-height: .9; letter-spacing: -.01em; text-transform: uppercase; text-shadow: 0 2px 24px rgba(0, 0, 0, .55); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.h6-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .8); }
.h6-meta b { font-weight: 800; color: #fff; }
.h6-team.r .h6-meta { flex-direction: row-reverse; }
.h6-form { display: inline-flex; gap: 4px; }
.h6-form i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .28); }
.h6-form i.V { background: #3BE08A; box-shadow: 0 0 8px rgba(59, 224, 138, .6); }

.h6-clock { display: grid; justify-items: center; gap: 10px; text-align: center; }
.h6-time, .h6-score { font-family: var(--head); font-weight: 900; font-size: clamp(56px, 7vw, 108px); line-height: .82; letter-spacing: -.02em; font-variant-numeric: tabular-nums; text-shadow: 0 4px 30px rgba(0, 0, 0, .5); }
.h6-score i { font-style: normal; opacity: .5; margin: 0 .06em; }
.h6-cd, .h6-live { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; padding: 0 12px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.h6-cd { background: var(--glass); border: 1px solid var(--glass-b); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.h6-cd::before, .h6-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #3BE08A; animation: h6pulse 1.8s ease-in-out infinite; }
.h6-live { background: var(--live); text-transform: uppercase; }
.h6-live::before { background: #fff; }
@keyframes h6pulse { 50% { opacity: .25; transform: scale(.7); } }
.h6-tv { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .7); }

.h6-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 14px; }
.h6-vote .vt { padding: 0; gap: 10px; background: none; border: 0; color: #fff; }
.h6-vote .vt-h { display: flex; align-items: baseline; gap: 10px; }
.h6-vote .vt-h b { font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.h6-vote .vt-h span { font-size: 12px; color: rgba(255, 255, 255, .65); }
.h6-vote .vt-bs { gap: 10px; }
.h6-vote .vt-b { min-height: 52px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-b); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; font-size: 15px; font-weight: 800; transition: background .2s ease, transform .2s ease; }
.h6-vote .vt-b:not(:disabled):hover { background: #fff; color: #07090D; border-color: #fff; transform: translateY(-1px); }
.h6-vote .vt-b.on { background: #fff; color: #07090D; border-color: #fff; }
.h6-vote .vt-b .team-logo, .h6-vote .vt-b img { width: 22px !important; height: 22px !important; }
.h6-vote .vt-bar { height: 6px; background: rgba(255, 255, 255, .2); }
.h6-vote .vt-bar i { background: #fff; }
.h6-vote .vt-pc { color: rgba(255, 255, 255, .75); }
.h6-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0; background: #fff; color: #07090D; font: inherit; font-size: 15px; font-weight: 900; cursor: pointer; white-space: nowrap; }
.h6-cta span { transition: transform .2s ease; }
.h6-cta:hover span { transform: translateX(4px); }
.h6-credit { position: absolute; right: 16px; bottom: 8px; max-width: 60%; font-size: 10px; color: rgba(255, 255, 255, .55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* À l'affiche */
.h6-day { display: grid; grid-template-rows: auto 1fr auto; min-width: 0; border-radius: 20px; background: var(--bg-card); border: 1px solid var(--border); overflow: hidden; }
.h6-day-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 18px 12px; }
.h6-day-h h2 { margin: 0; font-family: var(--head); font-weight: 900; font-size: 22px; line-height: 1; text-transform: uppercase; letter-spacing: -.005em; }
.h6-tabs { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--bg-subtle, rgba(127, 127, 127, .12)); }
.h6-tabs button { min-height: 30px; padding: 0 12px; border-radius: 999px; border: 0; background: none; color: var(--text-muted); font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.h6-tabs button::first-letter { text-transform: uppercase; }
.h6-tabs button.on { background: var(--text-main); color: var(--bg-card); }
.h6-rows { display: grid; align-content: start; }
.h6-row { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; padding: 11px 18px; border: 0; border-top: 1px solid var(--border); background: none; color: var(--text-main); font: inherit; text-align: left; cursor: pointer; transition: background .15s ease; }
.h6-row:hover { background: var(--bg-hover); }
.h6-when { font-size: 13px; font-weight: 800; color: var(--text-muted); font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; gap: 5px; }
.h6-row.live .h6-when { color: var(--live); text-transform: uppercase; font-size: 11px; letter-spacing: .06em; }
.h6-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); animation: h6pulse 1.8s ease-in-out infinite; }
.h6-rts { display: grid; gap: 5px; min-width: 0; }
.h6-rt { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; }
.h6-rt img, .h6-rt .team-logo { width: 18px !important; height: 18px !important; flex: none; }
.h6-rt b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h6-rt em { margin-left: auto; padding-left: 8px; font-style: normal; font-weight: 800; font-variant-numeric: tabular-nums; }
.h6-rt.w b { font-weight: 800; } .h6-rt.l { opacity: .55; }
.h6-side { display: grid; justify-items: end; gap: 4px; }
.h6-side .v4-stars { font-size: 11px; }
.h6-empty { padding: 18px; color: var(--text-muted); font-size: 14px; border-top: 1px solid var(--border); }
.h6-all { display: flex; align-items: center; justify-content: space-between; margin: 12px 18px 18px; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--border); background: none; color: var(--text-main); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.h6-all:hover { border-color: var(--text-main); }
.h6-all span { transition: transform .2s ease; } .h6-all:hover span { transform: translateX(4px); }

@media (max-width: 700px) {
  .h6-md { min-height: 0; padding: 16px 16px 26px; border-radius: 16px; gap: 16px; }
  .h6-stake { margin-left: 0; }
  .h6-duel { gap: 10px; align-items: start; }
  .h6-crest { width: 56px; height: 56px; }
  .h6-nm { font-size: clamp(19px, 5.6vw, 26px); }
  .h6-meta { font-size: 12px; gap: 6px; flex-wrap: wrap; }
  .h6-team.r .h6-meta { justify-content: flex-end; }
  .h6-time, .h6-score { font-size: clamp(40px, 12vw, 56px); margin-top: 14px; }
  .h6-foot { grid-template-columns: minmax(0, 1fr); }
  .h6-cta { width: 100%; }
  .h6-vote .vt-b { min-height: 48px; font-size: 14px; }
  .h6-day { border-radius: 16px; }
  .h6-credit { max-width: 90%; }
}
@media (prefers-reduced-motion: reduce) {
  .h6-bg, .h6-crest, .h6-cta span, .h6-all span, .h6-vote .vt-b { transition: none; }
  .h6-md:hover .h6-bg { transform: scale(1.02); }
  .h6-cd::before, .h6-live::before, .h6-dot { animation: none; }
}
.h6-sub { padding: 14px 18px 6px; border-top: 1px solid var(--border); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.h6-sub::first-letter { text-transform: uppercase; }
.h6-sub + .h6-row { border-top: 0; }
.h6-vote .vt-h { justify-content: flex-start; }
.h6-side { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px 5px; max-width: 70px; }
.h6-side .v4-stars { flex-basis: 100%; text-align: right; }
.h6-side .crest-img img { width: 18px; height: 18px; object-fit: contain; }
/* Mobile : une ligne par équipe (écusson, nom, rang), l'horloge à droite — comme une appli de sport */
@media (max-width: 700px) {
  .h6-duel { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'h clock' 'a clock'; gap: 12px 14px; align-items: center; }
  .h6-duel > .h6-team:first-child { grid-area: h; }
  .h6-duel > .h6-team.r { grid-area: a; }
  .h6-clock { grid-area: clock; justify-items: end; text-align: right; gap: 8px; }
  .h6-team, .h6-team.r { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-areas: 'crest nm' 'crest meta'; justify-items: start; text-align: left; column-gap: 12px; row-gap: 3px; }
  .h6-team .h6-crest { grid-area: crest; width: 44px; height: 44px; }
  .h6-team .h6-nm { grid-area: nm; font-size: clamp(18px, 5.4vw, 24px); -webkit-line-clamp: 2; overflow-wrap: normal; word-break: normal; }
  .h6-team .h6-meta, .h6-team.r .h6-meta { grid-area: meta; flex-direction: row; justify-content: flex-start; }
  .h6-time, .h6-score { margin-top: 0; font-size: clamp(42px, 12vw, 56px); }
  .h6-cd { min-height: 24px; padding: 0 10px; font-size: 11px; }
  .h6-tv { display: none; }
}
