/* ════════════════════════════════════════════════════════════════
   Fiches entité refondues (10/10/2026) — aperçu ?fiche=d
   Joueur, staff, arbitre, président, officiel (.comp-hero) ; équipe et
   compétition (.team-hero). Même grammaire que la fiche match refondue
   (itsrugby-match-d.css) : teal + vanilla, pas de vert vif, casse normale,
   pas de capitales espacées, pas d'emoji.
   ════════════════════════════════════════════════════════════════ */

/* Fil d'Ariane visible retiré comme sur la fiche match (JSON-LD gardé). */
body.its-fiche-d > nav.breadcrumb { display: none; }

/* ── Haut de fiche ─────────────────────────────────────────────── */
.comp-hero.comp-hero--d { position: relative; isolation: isolate; overflow: hidden; }
.comp-hero--d .comp-hero-inner { position: relative; z-index: 2; max-width: 1240px; min-height: 0; grid-template-columns: 300px 1fr; column-gap: 44px; padding: 40px 24px 36px; }
.comp-hero--d .comp-photo { height: auto; aspect-ratio: 4 / 5; align-self: start; background: rgba(242, 229, 210, .06); }
.comp-hero--d .comp-photo-ini { color: rgba(242, 229, 210, .18); }
.comp-hero--d .comp-info-col { padding: 0; justify-content: flex-start; gap: 18px; }
.comp-hero--d .comp-headline { gap: 12px; }

/* Sans photo : pas de carré à initiales, le texte prend toute la largeur. */
.comp-hero--sans-photo .comp-hero-inner { grid-template-columns: 1fr; padding-top: 52px; padding-bottom: 44px; }
.comp-hero--sans-photo .comp-photo { display: none; }

/* Filigrane : le logo du club, entier, monochrome, à droite et fondu. */
.fd-fond { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: var(--teal); -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 100%); mask-image: linear-gradient(to bottom, #000 40%, transparent 100%); }
.fd-fond-logo { position: absolute; top: 50%; right: 3%; width: min(34vw, 460px); aspect-ratio: 1; transform: translateY(-50%); opacity: .07; }
.fd-fond-logo picture { display: contents; }
.fd-fond-logo img { display: block; width: 100%; height: 100%; object-fit: contain; filter: grayscale(1) brightness(0) invert(.95) sepia(.25); mix-blend-mode: multiply; }

/* Nom : grand, casse normale. */
.comp-hero--d .comp-name-row { align-items: center; gap: 12px 16px; }
.comp-hero--d .comp-name { font-size: clamp(36px, 4.6vw, 64px); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; color: var(--vanilla); }
.comp-hero--d .badge-verified circle { fill: var(--sage); }
.comp-hero--d .badge-verified path { stroke: var(--teal); }

/* Filtres saison / équipe : boutons au contour vanilla, sans aplat blanc. */
.comp-hero--d .comp-name-row .if-dd-btn,
.comp-hero--d .comp-name-row .if-dd-static { height: 34px; padding: 0 12px; border: 1px solid rgba(242, 229, 210, .45); background: transparent; color: var(--vanilla); font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.comp-hero--d .comp-name-row .if-dd-static { display: inline-flex; align-items: center; }
.comp-hero--d .comp-name-row .if-dd-btn .if-val,
.comp-hero--d .comp-name-row .if-dd-btn .if-arr { color: var(--vanilla); }
.comp-hero--d .comp-name-row .if-dd-btn:hover,
.comp-hero--d .comp-name-row .if-dd-btn.open { border-color: var(--vanilla); background: rgba(242, 229, 210, .08); }

/* Suivre : discret, casse normale. */
.comp-hero--d .its-page-follow-btn { font-size: 13px; letter-spacing: 0; text-transform: none; }

/* Bande d'infos étiquette / valeur (remplace les pastilles). */
.fd-infos { display: flex; flex-wrap: wrap; gap: 16px 36px; margin: 6px 0 0; padding: 18px 0 0; box-shadow: inset 0 1px 0 rgba(242, 229, 210, .16); }
.fd-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.fd-info dt { font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; color: rgba(242, 229, 210, .65); }
.fd-info dd { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 16px; font-weight: 700; line-height: 1.25; color: var(--vanilla); }
.fd-info dd a { color: var(--vanilla); text-decoration: underline; text-decoration-color: rgba(242, 229, 210, .35); text-underline-offset: 3px; }
.fd-info dd a:hover { text-decoration-color: var(--vanilla); }
.fd-info-logo { display: inline-flex; flex: none; width: 24px; height: 24px; }
.fd-info-logo picture { display: contents; }
.fd-info-logo img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 1px rgba(242, 229, 210, .9)); }

/* Blessure / suspension : sur le teal, sans rouge. */
.comp-hero--d .comp-hero-injury { color: var(--vanilla); }

/* Bio et réseaux. */
.comp-hero--d .comp-desc { max-width: 68ch; margin-top: 0; font-size: 15px; line-height: 1.6; color: rgba(242, 229, 210, .88); }
.comp-hero--d .comp-desc:empty { display: none; }
.comp-hero--d .team-social { gap: 8px; }

@media (max-width: 900px) {
  .comp-hero--d .comp-hero-inner { grid-template-columns: 220px 1fr; column-gap: 28px; }
  .comp-hero--sans-photo .comp-hero-inner { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .comp-hero--d .comp-hero-inner { grid-template-columns: 1fr; padding: 24px 16px 28px; row-gap: 20px; }
  .comp-hero--sans-photo .comp-hero-inner { padding-top: 32px; }
  .comp-hero--d .comp-photo { width: 168px; height: auto; margin: 0 auto; }
  .comp-hero--d .comp-name { font-size: 34px; }
  .fd-fond-logo { width: 78vw; right: -18vw; top: 34%; }
  .fd-infos { justify-content: center; gap: 14px 24px; text-align: left; width: 100%; }
  .fd-info dd { font-size: 15px; }
  .comp-hero--d .comp-desc { font-size: 14px; text-align: left; }
}

/* ── Barre de sections : prolonge le haut de fiche (comme la fiche match) ── */
.nav-interne.nav-interne--fiche { background: #142E27; border-bottom: 0; box-shadow: none; }
.nav-interne.nav-interne--fiche.is-stuck { box-shadow: 0 4px 14px rgba(20, 46, 39, .35); }
.nav-interne--fiche .container { display: flex; align-items: stretch; gap: 12px; }
.nav-interne--fiche .nav-int-items { flex: 1; min-width: 0; justify-content: center; }
.nav-interne--fiche .nav-int-item { height: 48px; padding: 0 16px; font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none; color: rgba(242, 229, 210, .65); background: none; }
.nav-interne--fiche .nav-int-item:hover { color: var(--vanilla); background: none; border-bottom-color: rgba(171, 200, 162, .5); }
.nav-interne--fiche .nav-int-item.active { color: var(--vanilla); background: none; border-bottom-color: var(--sage); }
.nav-interne--fiche .nav-int-item .its-lock { opacity: .7; }
/* Filtres saison / équipe : déjà dans le haut de fiche, retirés de la barre. */
.nav-interne--fiche .nav-season-dd,
.nav-interne--fiche .nav-team-dd,
.nav-interne--fiche .nav-hamburger { display: none; }

/* Mini identité : apparaît quand la barre colle. */
.fd-ns { flex: none; align-self: center; display: inline-flex; align-items: center; gap: 8px; max-width: 220px; color: var(--vanilla); text-decoration: none; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .2s, transform .2s, visibility .2s; }
.is-stuck .fd-ns { opacity: 1; visibility: visible; transform: none; }
.fd-ns-img { display: inline-flex; flex: none; width: 28px; height: 28px; overflow: hidden; }
.fd-ns-img picture { display: contents; }
.fd-ns-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.fd-ns-img img.fd-logo-img { object-fit: contain; filter: drop-shadow(0 0 1px rgba(242, 229, 210, .9)); }
.fd-ns-nom { font-size: 14px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Connecté : la barre colle sous la barre d'administration. */
.admin-bar .nav-interne.nav-interne--fiche { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav-interne.nav-interne--fiche { top: 46px; } }
@media (max-width: 600px) { .admin-bar .nav-interne.nav-interne--fiche { top: env(safe-area-inset-top, 0px); } }

/* Mobile : la barre reste (masquée sur les anciennes fiches), onglets qui
   défilent au doigt, mini identité réduite à la vignette. */
@media (max-width: 768px) {
  .nav-interne.nav-interne--fiche { display: block; top: env(safe-area-inset-top, 0px); }
  .nav-interne--fiche .container { padding: 0; gap: 0; }
  .nav-interne--fiche .nav-int-items { justify-content: flex-start; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 0 8px; scroll-behavior: smooth; -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); }
  .nav-interne--fiche .nav-int-items::-webkit-scrollbar { display: none; }
  .nav-interne--fiche .nav-int-items.is-defile { -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 85%, transparent); mask-image: linear-gradient(to right, transparent, #000 12%, #000 85%, transparent); }
  .nav-interne--fiche .nav-int-item { flex-shrink: 0; height: 44px; padding: 0 12px; font-size: 13px; }
  .fd-ns { display: none; transition-duration: .12s; }
  .nav-interne--fiche.is-stuck .fd-ns { display: inline-flex; padding: 0 10px; margin-right: 2px; box-shadow: inset -1px 0 0 rgba(242, 229, 210, .2); }
  .fd-ns-nom { display: none; }
  .nav-interne--fiche ~ .container .section,
  .nav-interne--fiche ~ * .section { scroll-margin-top: calc(56px + env(safe-area-inset-top, 0px)); }
}
/* Profil pro : panneau sous la barre, pas d'onglet dans la rangée mobile. */
@media (max-width: 680px) { .nav-interne--fiche .nav-pro-btn { display: none; } }

/* ── Sections : titres comme la home et la fiche match ─────────────── */
body.its-fiche-d .section-title {
  margin: 0 0 22px; padding: 0; gap: 18px; align-items: center; background: none;
  font-size: clamp(22px, 2vw, 30px); font-weight: 800; line-height: 1.1;
  letter-spacing: -.02em; text-transform: none; color: var(--teal);
}
body.its-fiche-d .section-title::after { height: 1px; background: rgba(28, 61, 52, .22); }
body.its-fiche-d .section-title a:not(.its-btn-cta) { font-size: 14px; letter-spacing: 0; text-transform: none; }
body.its-fiche-d .section-title-hint { font-size: 13px; letter-spacing: 0; text-transform: none; }
body.its-fiche-d .section-title-sm { font-size: 18px; font-weight: 800; letter-spacing: 0; text-transform: none; color: var(--teal); }
@media (max-width: 680px) {
  body.its-fiche-d .section-title { font-size: 22px; gap: 12px; margin-bottom: 16px; }
}

/* Filtres de section : sans cadre, étiquette en casse normale. */
body.its-fiche-d .inline-filters { padding: 0; margin: 0 0 18px; border: 0; background: none; }
body.its-fiche-d .inline-filters-lbl { font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--muted); }
body.its-fiche-d .inline-filters .if-dd-btn { height: 34px; padding: 0 12px; font-size: 13px; letter-spacing: 0; text-transform: none; }
body.its-fiche-d .filter-reset-btn { padding: 6px 12px; font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; border-color: rgba(28, 61, 52, .25); background: none; }

/* Chiffres clés : gros chiffres posés sur le fond, filet fin, sans cartes. */
body.its-fiche-d .stat-kpi-grid { gap: 0; margin-bottom: 24px; box-shadow: inset 0 1px 0 rgba(28, 61, 52, .15); }
body.its-fiche-d .stat-kpi { padding: 16px 16px 14px 0; background: none; box-shadow: inset 0 -1px 0 rgba(28, 61, 52, .15); }
body.its-fiche-d .stat-kpi-val { font-size: clamp(30px, 3vw, 40px); font-weight: 900; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
body.its-fiche-d .stat-kpi-val--text { font-size: 16px; letter-spacing: 0; }
body.its-fiche-d .stat-kpi-lbl { margin-top: 6px; font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--muted); }
@media (max-width: 680px) {
  body.its-fiche-d .stat-kpi { padding: 12px 10px 12px 0; }
  body.its-fiche-d .stat-kpi-val { font-size: 28px; }
  body.its-fiche-d .stat-kpi-lbl { font-size: 12px; }
}

/* Onglets de contenu : un seul style (comme la fiche match). */
body.its-fiche-d .ps-tabs,
body.its-fiche-d .mh-detail-tabs { margin: 0 0 12px; border: 0; background: none; box-shadow: inset 0 -1px 0 rgba(28, 61, 52, .15); }
body.its-fiche-d .ps-tab,
body.its-fiche-d .mh-detail-tab { min-height: 0; padding: 10px 14px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted); font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none; }
body.its-fiche-d .ps-tab:hover,
body.its-fiche-d .mh-detail-tab:hover { color: var(--teal); }
body.its-fiche-d .ps-tab.on,
body.its-fiche-d .mh-detail-tab.on { color: var(--teal); background: none; border-bottom-color: var(--teal); }

/* Tableaux : en-tête teal en casse normale, lignes fines. */
body.its-fiche-d .data-table { border: 0; }
body.its-fiche-d .data-table th { padding: 11px 14px; font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; }
body.its-fiche-d .data-table td { padding: 11px 14px; font-size: 14px; border-bottom-color: rgba(28, 61, 52, .1); }
body.its-fiche-d .data-table .section-row td { font-size: 13px; letter-spacing: 0; text-transform: none; }
body.its-fiche-d .data-table .total-row-lbl { font-size: 13px; letter-spacing: 0; text-transform: none; }

/* Historique des matchs : lignes blanches sur filet, résultat en teal. */
body.its-fiche-d .mh-row { border: 0; box-shadow: inset 0 -1px 0 rgba(28, 61, 52, .1); font-size: 14px; }
body.its-fiche-d .mh-result { padding: 3px 8px; font-size: 12px; font-weight: 800; letter-spacing: 0; text-transform: none; }
body.its-fiche-d .mh-result.win { background: var(--teal); color: var(--vanilla); border-color: var(--teal); }
body.its-fiche-d .mh-result.loss { background: none; color: var(--muted); border-color: rgba(28, 61, 52, .3); }
body.its-fiche-d .mh-result.draw { background: none; color: var(--teal); border-color: var(--teal); }
body.its-fiche-d .mh-card { border: 0; box-shadow: inset 0 0 0 1px rgba(28, 61, 52, .1); }
body.its-fiche-d .mh-card-lbl { font-size: 12px; letter-spacing: 0; text-transform: none; }

/* Palmarès : lignes fines, pastilles en casse normale. */
body.its-fiche-d .palm-row { border: 0; box-shadow: inset 0 -1px 0 rgba(28, 61, 52, .1); font-size: 14px; }
body.its-fiche-d .palm-row:last-child { border-bottom: 0; }
body.its-fiche-d .palm-tag { padding: 3px 8px; font-size: 12px; font-weight: 700; letter-spacing: 0; text-transform: none; }
body.its-fiche-d .palm-tag.gold { background: var(--teal); color: var(--vanilla); border-color: var(--teal); }

/* Cartes médias : étiquette en casse normale. */
body.its-fiche-d .mc { border: 0; }
body.its-fiche-d .mc-tag { padding: 3px 7px; font-size: 12px; font-weight: 700; letter-spacing: 0; text-transform: none; background: var(--teal); }

/* Paywall en ligne : casse normale. */
body.its-fiche-d .its-pw-title { letter-spacing: 0; text-transform: none; }

/* Boutons sous le nom (Suivre, Scouter) côte à côte, même contour vanilla.
   « Scouter » était teal sur teal : invisible. */
.comp-hero--d .comp-headline { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 10px; }
.comp-hero--d .comp-headline > .comp-name-row { flex: 0 0 100%; }
.comp-hero--d .comp-headline > .its-page-follow-btn,
.comp-hero--d .comp-headline > .its-agent-pf-btn { align-self: center; height: 32px; margin: 0; padding: 0 14px; border: 1px solid rgba(242, 229, 210, .45); border-radius: 0; background: transparent; color: var(--vanilla); font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.comp-hero--d .comp-headline > .its-agent-pf-btn:hover,
.comp-hero--d .comp-headline > .its-agent-pf-btn.is-in-portfolio { border-color: var(--vanilla); background: rgba(242, 229, 210, .1); color: var(--vanilla); }

/* Mobile : bande d'infos en grille de 3, alignée à gauche (plus de lignes
   centrées en escalier). */
@media (max-width: 680px) {
  .comp-hero--d .comp-headline { justify-content: center; }
  .fd-infos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 12px; }
  .fd-info dd { font-size: 14px; overflow-wrap: break-word; }
  .fd-info--large { grid-column: span 2; }
  .fd-info-logo { width: 20px; height: 20px; }
}

/* Plus aucune capitale espacée dans les sections (en-têtes de tableau,
   pastilles de type de transfert, « min. jouées »…) : une règle pour toutes. */
body.its-fiche-d .section * { text-transform: none; letter-spacing: 0; }
body.its-fiche-d .data-table th { font-size: 13px; }
body.its-fiche-d .tr-type { padding: 3px 8px; font-size: 12px; font-weight: 700; }
body.its-fiche-d .mh-min-lbl { font-size: 12px; }
body.its-fiche-d .mh-comp { font-size: 12px; }
body.its-fiche-d .mh-cta { font-size: 13px; }
/* Défaite : en gris, pas en rouge (charte teal + vanilla). */
body.its-fiche-d .mh-score.loss { color: var(--muted); }

/* ── Mode cinéma (Félix 11/10 : « tu as oublié le mode cinéma ») ──────────
   Même recette que le haut d'article (itsrugby-article-hero.css) : la photo
   couvre le haut de fiche et se fond dans le teal ; le texte est posé sur
   la fin du fondu. Ordinateur : photo sur les 2/3 droits, fondu vers la
   gauche. Mobile : photo en haut d'écran, le nom posé sur le bas de l'image. */
.comp-hero--cinema .comp-hero-inner { position: static; display: flex; align-items: flex-end; min-height: min(600px, 74svh); padding-top: 56px; padding-bottom: 40px; }
.comp-hero--cinema .comp-photo { position: absolute; z-index: 0; top: 0; bottom: 0; right: 0; left: 34%; width: auto; height: 100%; margin: 0; aspect-ratio: auto; background: none; }
.comp-hero--cinema .comp-photo picture { display: block; width: 100%; height: 100%; }
.comp-hero--cinema .comp-photo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 25%; }
.comp-hero--cinema .comp-photo-gradient { display: block; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to right, #1C3D34 0, rgba(28, 61, 52, .9) 8%, rgba(28, 61, 52, .55) 26%, rgba(28, 61, 52, .15) 46%, rgba(28, 61, 52, 0) 62%),
    linear-gradient(to top, rgba(28, 61, 52, .75) 0, rgba(28, 61, 52, 0) 30%); }
.comp-hero--cinema .comp-photo-credit { z-index: 3; bottom: 10px; right: 10px; background: rgba(28, 61, 52, .7); color: var(--vanilla); }
.comp-hero--cinema .comp-info-col { position: relative; z-index: 2; max-width: 680px; text-shadow: 0 1px 12px rgba(28, 61, 52, .55); }
.comp-hero--cinema .fd-infos { box-shadow: inset 0 1px 0 rgba(242, 229, 210, .22); }

@media (max-width: 900px) {
  .comp-hero--cinema .comp-photo { left: 22%; }
  .comp-hero--cinema .comp-info-col { max-width: 560px; }
}
@media (max-width: 680px) {
  .comp-hero--cinema .comp-hero-inner { display: block; min-height: 0; padding: min(52svh, 400px) 16px 28px; }
  .comp-hero--cinema .comp-photo { left: 0; bottom: auto; height: min(64svh, 500px); }
  .comp-hero--cinema .comp-photo img { object-position: 50% 20%; }
  .comp-hero--cinema .comp-photo-gradient { background: linear-gradient(to bottom, rgba(28, 61, 52, .45) 0, rgba(28, 61, 52, 0) 18%, rgba(28, 61, 52, 0) 50%, rgba(28, 61, 52, .8) 78%, #1C3D34 100%); }
  .comp-hero--cinema .comp-photo-credit { top: 10px; bottom: auto; right: 10px; }
  .comp-hero--cinema .comp-info-col { max-width: none; }
}

/* Alignement en colonnes (Félix 11/10 : « pas aligné ») : score, résultat,
   temps de jeu et type de transfert à largeur fixe, d'une ligne à l'autre. */
body.its-fiche-d .mh-score { min-width: 4.6ch; text-align: right; font-variant-numeric: tabular-nums; }
body.its-fiche-d .mh-result { box-sizing: border-box; min-width: 84px; text-align: center; }
body.its-fiche-d .mh-min { min-width: 118px; }
body.its-fiche-d .tr-type { display: inline-block; box-sizing: border-box; min-width: 96px; text-align: center; }
@media (max-width: 680px) {
  body.its-fiche-d .mh-result { min-width: 0; }
  body.its-fiche-d .mh-min { min-width: 0; }
}
.comp-hero--cinema .comp-photo-ini { display: none; }
/* Historique (ordinateur) : score + résultat ancrés à droite, au même endroit
   sur chaque ligne. Le score était centré entre deux vides qui dépendaient de
   la longueur du nom du match. */
@media (min-width: 681px) {
  body.its-fiche-d .mh-row:has(> .mh-min):not(.ps-player-row) { grid-template-columns: 90px minmax(0, max-content) minmax(0, max-content) minmax(24px, 1fr) 64px 100px 32px 130px 130px; }
}

/* Filigrane qui garde le DESSIN du logo (Félix 11/10 : « je parlais de ça »,
   une silhouette plate) : logo en gris imprimé en « multiplier » sur le
   teal — les traits ressortent en vert sombre, un fond blanc disparaît.
   Remplace le noir inversé, qui aplatissait les logos détourés. */
.fd-fond-logo { opacity: .55; }
.fd-fond-logo img { filter: grayscale(1) contrast(1.15); mix-blend-mode: multiply; }

/* Boutons alignés (Félix 11/10) : saison, équipes, Suivre et Scouter sur UNE
   rangée sous le nom, même hauteur, même corps. La rangée du nom est
   dissoute pour que ses filtres rejoignent les boutons. */
.comp-hero--d .comp-headline { gap: 10px; }
.comp-hero--d .comp-headline > .comp-name-row { display: contents; }
.comp-hero--d .comp-name-row > h1 { flex: 0 0 100%; margin-bottom: 8px; }
.comp-hero--d .comp-name-row > .season-dd-hero,
.comp-hero--d .comp-name-row > .team-dd-hero { display: flex; margin: 0; }
.comp-hero--d .comp-name-row .if-dd-btn,
.comp-hero--d .comp-name-row .if-dd-static,
.comp-hero--d .comp-headline > .its-page-follow-btn,
.comp-hero--d .comp-headline > .its-agent-pf-btn { box-sizing: border-box; height: 38px; padding: 0 14px; font-size: 14px; font-weight: 700; line-height: 1; }
/* Mobile : les boutons en grille de 2, pleine largeur (au lieu de 3 + 1). */
@media (max-width: 680px) {
  .comp-hero--d .comp-headline { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .comp-hero--d .comp-name-row > h1 { grid-column: 1 / -1; margin-bottom: 6px; }
  .comp-hero--d .comp-name-row > .season-dd-hero,
  .comp-hero--d .comp-name-row > .team-dd-hero,
  .comp-hero--d .comp-name-row .if-dd-wrap { display: block; min-width: 0; }
  .comp-hero--d .comp-name-row .if-dd-btn,
  .comp-hero--d .comp-name-row .if-dd-static,
  .comp-hero--d .comp-headline > .its-page-follow-btn,
  .comp-hero--d .comp-headline > .its-agent-pf-btn { width: 100%; justify-content: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
/* Crédit photo : texte seul, sans aplat (Félix 11/10 : « fond vert sur le
   texte, c'est moche »), lisible grâce à une ombre légère. */
.comp-hero--cinema .comp-photo-credit { padding: 0; background: none; color: rgba(242, 229, 210, .9); text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.comp-hero--cinema .comp-photo-credit a { color: inherit; }
/* Mobile : filigrane plus discret, il passe sous le nom. */
@media (max-width: 680px) {
  .fd-fond-logo { opacity: .3; }
}

/* Filtres saison / équipe REMIS dans la barre (Félix 11/10 : « on perd le
   filtre saison » en défilant) : à droite, contour vanilla comme le haut de
   fiche. Mobile : saison seulement, collée au bord droit. */
.nav-interne--fiche .nav-int-items { order: 2; }
.nav-interne--fiche .nav-team-dd { order: 3; }
.nav-interne--fiche .nav-season-dd { order: 4; }
.nav-interne--fiche .nav-season-dd,
.nav-interne--fiche .nav-team-dd { display: flex; flex: none; align-self: center; }
.nav-interne--fiche .nav-season-dd .if-dd-btn,
.nav-interne--fiche .nav-team-dd .if-dd-btn { height: 32px; padding: 0 10px; border: 1px solid rgba(242, 229, 210, .4); background: transparent; color: var(--vanilla); font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.nav-interne--fiche .nav-season-dd .if-dd-btn .if-val,
.nav-interne--fiche .nav-season-dd .if-dd-btn .if-arr,
.nav-interne--fiche .nav-team-dd .if-dd-btn .if-val,
.nav-interne--fiche .nav-team-dd .if-dd-btn .if-arr { color: var(--vanilla); }
.nav-interne--fiche .nav-season-dd .if-dd-btn:hover,
.nav-interne--fiche .nav-team-dd .if-dd-btn:hover { border-color: var(--vanilla); background: rgba(242, 229, 210, .08); }
.nav-interne--fiche .nav-team-dd .if-val { display: inline-block; max-width: 11em; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 768px) {
  .nav-interne--fiche .nav-team-dd { display: none; }
  .nav-interne--fiche .nav-season-dd { padding: 0 8px 0 4px; }
  .nav-interne--fiche .nav-season-dd .if-dd-btn { height: 30px; padding: 0 8px; font-size: 12px; }
}
/* Mini identité : nom en vanilla (une règle de lien du site le passait en
   teal, vert sur vert — Félix 11/10). */
.nav-interne.nav-interne--fiche a.fd-ns,
.nav-interne.nav-interne--fiche a.fd-ns:hover,
.nav-interne.nav-interne--fiche a.fd-ns:visited,
.nav-interne.nav-interne--fiche .fd-ns-nom { color: var(--vanilla); }
/* Barre mobile allégée (Félix 11/10 : « trop d'info ») : pas de mini
   identité, la saison sans cadre derrière un filet, pour laisser les onglets. */
@media (max-width: 768px) {
  .nav-interne--fiche.is-stuck .fd-ns,
  .nav-interne--fiche .fd-ns { display: none; }
  .nav-interne--fiche .nav-season-dd { padding: 0 6px 0 2px; box-shadow: inset 1px 0 0 rgba(242, 229, 210, .2); }
  .nav-interne--fiche .nav-season-dd .if-dd-btn { height: 44px; padding: 0 8px; border: 0; background: none; font-size: 13px; }
  .nav-interne--fiche .nav-season-dd .if-dd-btn:hover { background: none; }
}
/* La barre doit coller sur mobile : itsrugby-player.css met overflow-x:hidden
   sur le body, ce qui casse position:sticky (les anciennes fiches masquaient
   la barre sur mobile). clip empêche le défilement latéral sans la casser. */
body.its-fiche-d { overflow-x: clip; }
/* Crédit photo dans la même marge que le texte (Félix 11/10) : à droite, le
   bord de la colonne du site (1240 px + 24 px), en bas la ligne des réseaux. */
@media (min-width: 681px) {
  .comp-hero--cinema .comp-photo-credit { right: max(24px, calc((100vw - 1240px) / 2 + 24px)); bottom: 40px; }
  /* Largeur du site (body.its-large) : mêmes variables que la colonne du texte. */
  body.its-large .comp-hero--cinema .comp-photo-credit { right: calc(max(0px, (100vw - var(--its-max) - 2 * var(--its-g)) / 2) + var(--its-g)); }
}
@media (max-width: 680px) {
  .comp-hero--cinema .comp-photo-credit { right: 16px; }
}

/* ── Médias en mode cinéma (Félix 11/10) : recette des couvertures de la
   home (.hd-couv--cine) — image sur toute la carte, voile teal depuis le
   bas, pastille puis titre et signature en vanilla sur la photo. ── */
body.its-fiche-d .media-grid { gap: 16px; }
.mc.mc--cine { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; isolation: isolate; border: 0; background: var(--teal); box-shadow: none; }
.mc--cine .mc-thumb { position: absolute; inset: 0; z-index: -2; height: 100%; flex: none; }
.mc--cine .mc-thumb picture { display: block; width: 100%; height: 100%; }
.mc--cine .mc-thumb-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 6s ease-out; }
.mc--cine:hover .mc-thumb-img { transform: scale(1.04); }
.mc--cine .mc-voile { position: absolute; inset: 0; background: linear-gradient(to top, rgba(28, 61, 52, .97) 0%, rgba(28, 61, 52, .9) 28%, rgba(28, 61, 52, .5) 52%, rgba(28, 61, 52, 0) 75%); }
.mc--cine .mc-tag { top: auto; bottom: auto; position: static; }
.mc--cine .mc-body { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 6px; padding: 16px; text-shadow: 0 1px 10px rgba(28, 61, 52, .8); }
.mc--cine .mc-title { color: var(--vanilla); font-size: 17px; font-weight: 800; line-height: 1.22; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.mc--cine .mc-meta { margin: 0; color: rgba(242, 229, 210, .75); font-size: 12px; }
.mc--cine .mc-dur { z-index: 1; top: 12px; right: 12px; bottom: auto; background: rgba(28, 61, 52, .75); }
/* Pastille : vanilla sur la photo, en haut à gauche (comme la home). */
body.its-fiche-d .mc--cine .mc-tag { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 3px 8px; background: var(--vanilla); color: var(--teal); font-size: 12px; font-weight: 800; text-shadow: none; }
.mc--cine:hover { box-shadow: none; }
.mc--cine:focus-visible { outline: 2px solid var(--vanilla); outline-offset: -4px; }
@media (max-width: 680px) {
  .mc--cine .mc-title { font-size: 15px; }
  .mc--cine .mc-body { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) { .mc--cine .mc-thumb-img { transition: none; } }
/* Mobile : les 4 cartes en rangée qui défile au doigt (empilées, elles
   prenaient 1 800 px de haut). */
@media (max-width: 680px) {
  body.its-fiche-d .media-grid:has(> .mc--cine) { display: flex; gap: 12px; margin: 0 -16px; padding: 0 16px 4px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  body.its-fiche-d .media-grid:has(> .mc--cine)::-webkit-scrollbar { display: none; }
  body.its-fiche-d .media-grid > .mc--cine { flex: 0 0 72%; scroll-snap-align: start; }
}

/* Chiffres clés v2 (Félix 11/10) : sur VANILLA (teal essayé puis refusé,
   « sur teal c'est moche »), cases vides masquées (JS), moyennes (2e
   rangée) plus petites que les totaux, tout sur une rangée si ça tient. */
body.its-fiche-d .stat-kpi-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } /* deux rangées de 5 : une seule rangée de 9 était illisible (Félix 11/10) */
body.its-fiche-d .stat-kpi.is-vide { display: none; }
body.its-fiche-d .stat-kpi:nth-child(n+6) .stat-kpi-val { font-size: clamp(24px, 2.2vw, 32px); }
body.its-fiche-d .stat-kpi:nth-child(n+6) .stat-kpi-lbl { font-size: 12px; }
@media (max-width: 680px) {
  body.its-fiche-d .stat-kpi-grid.stat-kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.its-fiche-d .stat-kpi:nth-child(n+6) .stat-kpi-val { font-size: 22px; }
}
/* Ligne de saison du tableau : claire, pour ne plus doubler l'en-tête teal. */
body.its-fiche-d .data-table .section-row td,
body.its-fiche-d .data-table .section-row:hover td { background: rgba(28, 61, 52, .06); color: var(--teal); font-size: 13px; font-weight: 800; border-top: 0; }

/* Filtres de section au contour (Félix 11/10 : « les autres filtres sont
   verts ? ») : même grammaire que le haut de fiche, la barre et « Reset » —
   contour teal sur vanilla, plein seulement au survol ou ouvert. */
body.its-fiche-d .section .if-dd-btn { border: 1px solid rgba(28, 61, 52, .35); background: transparent; color: var(--teal); }
body.its-fiche-d .section .if-dd-btn .if-val,
body.its-fiche-d .section .if-dd-btn .if-arr { color: var(--teal); }
body.its-fiche-d .section .if-dd-btn:hover,
body.its-fiche-d .section .if-dd-btn.open { border-color: var(--teal); background: var(--teal); color: var(--vanilla); }
body.its-fiche-d .section .if-dd-btn:hover .if-val,
body.its-fiche-d .section .if-dd-btn:hover .if-arr,
body.its-fiche-d .section .if-dd-btn.open .if-val,
body.its-fiche-d .section .if-dd-btn.open .if-arr { color: var(--vanilla); }
body.its-fiche-d .filter-reset-btn { height: 34px; box-sizing: border-box; border-color: rgba(28, 61, 52, .35); color: var(--teal); }
body.its-fiche-d .filter-reset-btn:hover { border-color: var(--teal); }

/* Chiffres clés v3 (Félix 11/10 : « on a un trou », s'inspirer de « Stats à
   retenir » en inversé) : teal sur vanilla, étiquette au-dessus, gros
   chiffre dessous, filet au-dessus de chaque case. Grille de 60 colonnes :
   chaque rangée se répartit sur toute la largeur selon son nombre de cases
   visibles (data-r1 / data-r2 posés par itsrugby-fiche-d.js). */
body.its-fiche-d .stat-kpi-grid.stat-kpi-grid { grid-template-columns: repeat(60, minmax(0, 1fr)); gap: 0 28px; margin-bottom: 26px; box-shadow: none; }
body.its-fiche-d .stat-kpi { grid-column: span 12; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; padding: 16px 0 18px; box-shadow: inset 0 1px 0 rgba(28, 61, 52, .18); }
body.its-fiche-d .stat-kpi-lbl { margin: 0; font-size: 13px; font-weight: 700; color: var(--muted); }
body.its-fiche-d .stat-kpi-val { font-size: clamp(40px, 3.8vw, 58px); line-height: .9; }
body.its-fiche-d .stat-kpi.kpi-r2 .stat-kpi-val { font-size: clamp(30px, 2.6vw, 40px); }
body.its-fiche-d .stat-kpi.kpi-r2 .stat-kpi-lbl { font-size: 13px; }
.stat-kpi-grid[data-r1="1"] .kpi-r1, .stat-kpi-grid[data-r2="1"] .kpi-r2 { grid-column: span 60; }
.stat-kpi-grid[data-r1="2"] .kpi-r1, .stat-kpi-grid[data-r2="2"] .kpi-r2 { grid-column: span 30; }
.stat-kpi-grid[data-r1="3"] .kpi-r1, .stat-kpi-grid[data-r2="3"] .kpi-r2 { grid-column: span 20; }
.stat-kpi-grid[data-r1="4"] .kpi-r1, .stat-kpi-grid[data-r2="4"] .kpi-r2 { grid-column: span 15; }
.stat-kpi-grid[data-r1="5"] .kpi-r1, .stat-kpi-grid[data-r2="5"] .kpi-r2 { grid-column: span 12; }
/* Mobile : trois par rangée, la dernière rangée s'étire (pas de trou). */
@media (max-width: 680px) {
  body.its-fiche-d .stat-kpi-grid.stat-kpi-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 14px; }
  body.its-fiche-d .stat-kpi-grid .stat-kpi { grid-column: span 2; padding: 12px 0 14px; gap: 6px; }
  body.its-fiche-d .stat-kpi-val { font-size: 30px; }
  body.its-fiche-d .stat-kpi.kpi-r2 .stat-kpi-val { font-size: 24px; }
  body.its-fiche-d .stat-kpi-lbl,
  body.its-fiche-d .stat-kpi.kpi-r2 .stat-kpi-lbl { font-size: 12px; }
  .stat-kpi-grid[data-r1="4"] .kpi-r1:nth-child(4), .stat-kpi-grid[data-r1="4"] .kpi-r1:nth-child(n+4) { grid-column: span 3; }
  .stat-kpi-grid[data-r1="5"] .kpi-r1:nth-child(n+4), .stat-kpi-grid[data-r1="2"] .kpi-r1, .stat-kpi-grid[data-r2="2"] .kpi-r2 { grid-column: span 3; }
  .stat-kpi-grid[data-r1="1"] .kpi-r1, .stat-kpi-grid[data-r2="1"] .kpi-r2 { grid-column: span 6; }
}
/* 60 pistes : pas de gouttière de grille (elle se multipliait par 59), l'écart
   est porté par chaque case et son filet s'arrête avant la suivante. */
body.its-fiche-d .stat-kpi-grid.stat-kpi-grid { column-gap: 0; }
body.its-fiche-d .stat-kpi-grid .stat-kpi { position: relative; min-width: 0; padding-right: 28px; box-shadow: none; }
body.its-fiche-d .stat-kpi-grid .stat-kpi::before { content: ""; position: absolute; top: 0; left: 0; right: 28px; height: 1px; background: rgba(28, 61, 52, .18); }
@media (max-width: 680px) {
  body.its-fiche-d .stat-kpi-grid .stat-kpi { padding-right: 14px; }
  body.its-fiche-d .stat-kpi-grid .stat-kpi::before { right: 14px; }
}
/* Mobile : rangée qui passe à la ligne, trois par rangée ; la dernière
   rangée s'étire d'elle-même (flex), donc jamais de trou. */
@media (max-width: 680px) {
  body.its-fiche-d .stat-kpi-grid.stat-kpi-grid { display: flex; flex-wrap: wrap; }
  body.its-fiche-d .stat-kpi-grid.stat-kpi-grid .stat-kpi { flex: 1 1 30%; min-width: 30%; grid-column: auto; }
}

/* Chiffres clés v4 (Félix 11/10 : « bof » sur la v3) : les totaux en grand
   remplissent la rangée ; les moyennes passent en ligne secondaire compacte
   (chiffre + étiquette côte à côte), sous un seul filet, sans s'étirer. */
body.its-fiche-d .stat-kpi-grid.stat-kpi-grid { display: flex; flex-wrap: wrap; column-gap: 0; }
body.its-fiche-d .stat-kpi-grid.stat-kpi-grid .kpi-r1 { order: 0; flex: 1 1 0; min-width: 0; }
body.its-fiche-d .stat-kpi-grid.stat-kpi-grid::after { content: ""; order: 1; flex: 0 0 100%; height: 1px; background: rgba(28, 61, 52, .18); }
body.its-fiche-d .stat-kpi-grid.stat-kpi-grid .kpi-r2 { order: 2; flex: 0 0 auto; flex-direction: row; justify-content: flex-start; align-items: baseline; gap: 8px; padding: 14px 40px 0 0; }
body.its-fiche-d .stat-kpi-grid.stat-kpi-grid .kpi-r2::before { content: none; }
body.its-fiche-d .stat-kpi-grid.stat-kpi-grid .kpi-r2 .stat-kpi-val { font-size: 24px; line-height: 1; }
body.its-fiche-d .stat-kpi-grid.stat-kpi-grid .kpi-r2 .stat-kpi-lbl { font-size: 14px; font-weight: 600; }
/* Sans moyenne visible : pas de filet seul. */
body.its-fiche-d .stat-kpi-grid[data-r2="0"]::after { content: none; }
@media (max-width: 680px) {
  body.its-fiche-d .stat-kpi-grid.stat-kpi-grid .kpi-r1 { flex: 1 1 30%; min-width: 30%; }
  body.its-fiche-d .stat-kpi-grid.stat-kpi-grid .kpi-r2 { flex: 1 1 45%; padding: 12px 12px 0 0; }
  body.its-fiche-d .stat-kpi-grid.stat-kpi-grid .kpi-r2 .stat-kpi-val { font-size: 20px; }
  body.its-fiche-d .stat-kpi-grid.stat-kpi-grid .kpi-r2 .stat-kpi-lbl { font-size: 13px; }
}
/* Mobile, boutons du haut de fiche (Félix 11/10 : « pas aligné, trop gros ») :
   plus de grille 2×2 pleine largeur (un trou à 3 boutons) — petits boutons à
   la taille de leur texte, centrés, sur une rangée qui passe à la ligne. */
@media (max-width: 680px) {
  .comp-hero--d .comp-headline { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .comp-hero--d .comp-name-row > h1 { flex: 0 0 100%; }
  .comp-hero--d .comp-name-row > .season-dd-hero,
  .comp-hero--d .comp-name-row > .team-dd-hero,
  .comp-hero--d .comp-name-row .if-dd-wrap { display: flex; }
  .comp-hero--d .comp-name-row .if-dd-btn,
  .comp-hero--d .comp-name-row .if-dd-static,
  .comp-hero--d .comp-headline > .its-page-follow-btn,
  .comp-hero--d .comp-headline > .its-agent-pf-btn { width: auto; height: 32px; padding: 0 12px; font-size: 13px; }
  .comp-hero--d .comp-name-row .team-dd-hero .if-val { max-width: 9em; overflow: hidden; text-overflow: ellipsis; }
}
/* Mobile : filtres (saison, équipes) sur une rangée, actions (Suivre,
   Scouter) sur la suivante — deux rangées équilibrées, jamais 3 + 1. */
@media (max-width: 680px) {
  .comp-hero--d .comp-name-row > .season-dd-hero,
  .comp-hero--d .comp-name-row > .team-dd-hero { order: 1; }
  .comp-hero--d .comp-headline::after { content: ""; order: 2; flex: 0 0 100%; height: 0; }
  .comp-hero--d .comp-headline > .its-page-follow-btn,
  .comp-hero--d .comp-headline > .its-agent-pf-btn { order: 3; }
  .comp-hero--d .comp-name-row .team-dd-hero .if-val { max-width: 12em; }
}

/* ── Chiffres clés v5 (Félix 11/10 : « tjr bof ») : trois chiffres en
   vedette à gauche, tous les autres en liste compacte à droite (étiquette à
   gauche, valeur à droite, un filet par ligne), façon feuille de match.
   Classe kpi-v5 posée par itsrugby-fiche-d.js ; sans JS, la v4 reste. ── */
body.its-fiche-d .stat-kpi-grid.stat-kpi-grid.kpi-v5 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(280px, 1.2fr); column-gap: 32px; align-items: start; }
body.its-fiche-d .stat-kpi-grid.kpi-v5[data-nb="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(280px, 1.2fr); }
body.its-fiche-d .stat-kpi-grid.kpi-v5[data-nb="1"] { grid-template-columns: minmax(0, 1fr) minmax(280px, 1.2fr); }
body.its-fiche-d .stat-kpi-grid.kpi-v5::after { content: none; }
body.its-fiche-d .stat-kpi-grid.kpi-v5 .stat-kpi.kpi-big { flex-direction: column-reverse; justify-content: flex-end; gap: 10px; padding: 16px 0 0; }
body.its-fiche-d .stat-kpi-grid.kpi-v5 .stat-kpi.kpi-big::before { right: 0; }
body.its-fiche-d .stat-kpi-grid.kpi-v5 .kpi-big .stat-kpi-val { font-size: clamp(44px, 4.4vw, 68px); line-height: .9; }
body.its-fiche-d .stat-kpi-grid.kpi-v5 .kpi-big .stat-kpi-lbl { font-size: 14px; }
body.its-fiche-d .stat-kpi-grid.kpi-v5 .kpi-liste { display: flex; flex-direction: column; box-shadow: inset 0 1px 0 rgba(28, 61, 52, .18); }
body.its-fiche-d .stat-kpi-grid.kpi-v5 .kpi-liste .stat-kpi { flex-direction: row-reverse; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 0; box-shadow: inset 0 -1px 0 rgba(28, 61, 52, .1); }
body.its-fiche-d .stat-kpi-grid.kpi-v5 .kpi-liste .stat-kpi::before { content: none; }
body.its-fiche-d .stat-kpi-grid.kpi-v5 .kpi-liste .stat-kpi-val { font-size: 18px; line-height: 1.2; }
body.its-fiche-d .stat-kpi-grid.kpi-v5 .kpi-liste .stat-kpi-lbl { font-size: 14px; font-weight: 600; color: var(--muted); }
@media (max-width: 900px) {
  body.its-fiche-d .stat-kpi-grid.stat-kpi-grid.kpi-v5,
  body.its-fiche-d .stat-kpi-grid.kpi-v5[data-nb="2"],
  body.its-fiche-d .stat-kpi-grid.kpi-v5[data-nb="1"] { grid-template-columns: repeat(var(--nb, 3), minmax(0, 1fr)); column-gap: 16px; }
  body.its-fiche-d .stat-kpi-grid.kpi-v5[data-nb="2"] { --nb: 2; }
  body.its-fiche-d .stat-kpi-grid.kpi-v5[data-nb="1"] { --nb: 1; }
  body.its-fiche-d .stat-kpi-grid.kpi-v5 .kpi-liste { grid-column: 1 / -1; margin-top: 18px; }
  body.its-fiche-d .stat-kpi-grid.kpi-v5 .kpi-big .stat-kpi-val { font-size: 36px; }
  body.its-fiche-d .stat-kpi-grid.kpi-v5 .kpi-big .stat-kpi-lbl { font-size: 12px; }
  body.its-fiche-d .stat-kpi-grid.kpi-v5 .kpi-liste .stat-kpi { flex: none; min-width: 0; padding: 8px 0; }
  body.its-fiche-d .stat-kpi-grid.kpi-v5 .kpi-liste .stat-kpi-val { font-size: 16px; }
}
/* v5 : annule la répartition sur 60 pistes de la v3 (data-r1/r2). */
body.its-fiche-d .stat-kpi-grid.kpi-v5 .stat-kpi.kpi-big { grid-column: auto; flex: none; min-width: 0; padding-right: 0; }
body.its-fiche-d .stat-kpi-grid.kpi-v5 .kpi-liste .stat-kpi { grid-column: auto; padding-right: 0; }
/* itsrugby-player.css impose 2 colonnes sur mobile via #stats-grid (un id
   l'emporte sur nos classes) : même poids ici. */
@media (max-width: 900px) {
  body.its-fiche-d #stats-grid.kpi-v5 { grid-template-columns: repeat(var(--nb, 3), minmax(0, 1fr)); }
}
/* Jamais de colonne vide (Félix 11/10) : voir itsrugby-fiche-d.js. */
body.its-fiche-d .is-col-vide { display: none; }
/* Mobile : filtres et « Reset » sur UNE ligne (Félix 11/10 : « pourquoi
   deux lignes ») — boutons compacts, étiquette « Filtres » retirée. */
@media (max-width: 680px) {
  body.its-fiche-d .inline-filters { flex-wrap: nowrap; gap: 6px; }
  body.its-fiche-d .inline-filters-lbl { display: none; }
  body.its-fiche-d .inline-filters .if-dd-wrap { min-width: 0; flex: 0 1 auto; }
  body.its-fiche-d .inline-filters .if-dd-btn { height: 32px; padding: 0 8px; font-size: 12px; max-width: 100%; }
  body.its-fiche-d .inline-filters .if-dd-btn .if-val { display: inline-block; max-width: 7em; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
  body.its-fiche-d .filter-reset-btn { flex: none; height: 32px; margin-left: auto; padding: 0 10px; font-size: 12px; }
}
/* v5 : les trois gros chiffres centrés dans leur colonne, sur toute la
   hauteur de la liste (Félix 11/10 : « faut les centrer »). */
body.its-fiche-d .stat-kpi-grid.stat-kpi-grid.kpi-v5 { align-items: stretch; }
body.its-fiche-d .stat-kpi-grid.kpi-v5 .stat-kpi.kpi-big { justify-content: center; align-items: center; text-align: center; padding: 16px 0; }

/* Compléments sous les chiffres en vedette (Félix 11/10) : petite barre de
   proportion + texte court. */
/* Les cases reprises en complément RESTENT dans la liste (Félix 11/10 :
   « on perd des stats »). */
body.its-fiche-d .kpi-plus { order: -1; display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 6px; width: min(220px, 92%); }
body.its-fiche-d .kpi-barre { display: block; width: 100%; height: 4px; background: rgba(28, 61, 52, .12); }
body.its-fiche-d .kpi-barre > span { display: block; height: 100%; background: var(--teal); transition: width .4s ease; }
body.its-fiche-d .kpi-barre[hidden] { display: none; }
body.its-fiche-d .kpi-plus-txt { font-size: 13px; font-weight: 600; color: var(--muted); }
@media (max-width: 680px) {
  body.its-fiche-d .kpi-plus { width: 90%; gap: 6px; }
  body.its-fiche-d .kpi-plus-txt { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { body.its-fiche-d .kpi-barre > span { transition: none; } }
/* Mobile : vedettes alignées par le haut (un texte sur 2 lignes ne décale
   plus son chiffre). */
@media (max-width: 680px) {
  body.its-fiche-d .stat-kpi-grid.kpi-v5 .stat-kpi.kpi-big { justify-content: flex-end; } /* colonne inversée : flex-end = en haut */
}
/* Texte des barres sur toute la largeur de la colonne (la barre, elle, garde
   sa largeur) : « 75 % des matchs comme titulaire » tient sur une ligne. */
body.its-fiche-d .kpi-plus { width: 100%; }
body.its-fiche-d .kpi-plus .kpi-barre { width: min(220px, 92%); }
/* Texte long sur ordinateur, court sur mobile. */
body.its-fiche-d .kpi-court { display: none; }
@media (max-width: 680px) {
  body.its-fiche-d .kpi-long { display: none; }
  body.its-fiche-d .kpi-court { display: inline; }
}

/* Tableau en cartes sur mobile (Félix 11/10 : « faut revoir ça ») : la ligne
   de saison devenait un bloc teal au texte invisible, les étiquettes des
   cartes étaient en capitales, la légende répétait des colonnes masquées. */
body.its-fiche-d .is-legende-vide { display: none; }
@media (max-width: 680px) {
  body.its-fiche-d .data-table tr.section-row { background: none; }
  body.its-fiche-d .data-table tr.section-row td { display: block; width: auto; padding: 10px 12px; background: rgba(28, 61, 52, .06); color: var(--teal); font-size: 14px; font-weight: 800; }
  body.its-fiche-d .data-table td::before { text-transform: none; letter-spacing: 0; font-size: 12px; font-weight: 600; }
  body.its-fiche-d .data-table .perf-legend-row { display: none; }
}
/* Ligne de total : plus de gros trait teal (Félix 11/10 : « elle sert à
   quoi ? ») — le fond clair du total suffit, filet fin comme les autres. */
body.its-fiche-d .data-table .total-row,
body.its-fiche-d .data-table .total-row td { border-top: 0; box-shadow: none; }
body.its-fiche-d .data-table .total-row td { border-top: 1px solid rgba(28, 61, 52, .15); }
@media (max-width: 680px) {
  body.its-fiche-d .data-table tr.section-row td { box-sizing: border-box; width: 100%; max-width: none; text-align: left; }
  body.its-fiche-d .data-table tr.section-row { padding: 0; }
  body.its-fiche-d .data-table tr.total-row { border-top: 1px solid rgba(28, 61, 52, .15); }
}

/* Tableau moins terne (Félix 11/10) : logo du club devant l'équipe, chiffres
   clés (MJ, Min., Essais) en teal gras, cartons en gris, filet teal devant
   chaque saison pour rythmer. */
.fd-eq { display: inline-flex; align-items: center; gap: 8px; }
.fd-eq-logo { display: inline-flex; flex: none; width: 20px; height: 20px; }
.fd-eq-logo picture { display: contents; }
.fd-eq-logo img { width: 100%; height: 100%; object-fit: contain; }
.fd-eq-nom { font-weight: 700; }
body.its-fiche-d .data-table td[data-label="MJ"],
body.its-fiche-d .data-table td[data-label="Min."],
body.its-fiche-d .data-table td.dt-hi { color: var(--teal); font-weight: 800; }
body.its-fiche-d .data-table td[data-label="CJ"],
body.its-fiche-d .data-table td[data-label="CO"],
body.its-fiche-d .data-table td[data-label="CR"] { color: var(--muted); font-weight: 500; }
body.its-fiche-d .data-table .section-row td { box-shadow: inset 3px 0 0 var(--teal); }
/* Colonne « Saison » masquée : elle répète le sous-titre de saison. */
body.its-fiche-d.single-player #sec-stats .data-table th:first-child:not([colspan]),
body.its-fiche-d.single-player #sec-stats .data-table td.dt-saison-mute { display: none; }
body.its-fiche-d.single-player #sec-stats .data-table .total-row td.total-row-spacer:first-of-type { display: none; }

/* Historique : logos des deux équipes devant le match ; transferts : logo
   devant chaque club (Félix 11/10). */
.fd-mh-logos { display: inline-flex; align-items: center; gap: 3px; margin-right: 8px; vertical-align: -5px; }
.fd-mh-logos .fd-eq-logo { width: 20px; height: 20px; }
body.its-fiche-d .mh-match { display: flex; align-items: center; min-width: 0; }
body.its-fiche-d .mh-match > a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.its-fiche-d .transfer-table .fd-eq a { font-weight: 700; }

/* ── Profil pro (Félix 11/10) : section de la fiche à part entière, plus de
   panneau déroulant ; cases étiquette / valeur comme la bande d'infos du
   haut de fiche, pastilles teal / vanilla (plus de vert ni de rouge). ── */
body.its-fiche-d .pro-mega { display: none; }
body.its-fiche-d .pro-mobile-section { display: block; }
@media (max-width: 680px) { .nav-interne--fiche .nav-pro-btn { display: inline-flex; } }
body.its-fiche-d .pro-mobile-section .section-title .its-lock { display: none; }
body.its-fiche-d .pro-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 28px; }
body.its-fiche-d .pro-card { padding: 16px 0; border: 0; background: none; box-shadow: inset 0 1px 0 rgba(28, 61, 52, .18); }
body.its-fiche-d .pro-card-label { margin-bottom: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--muted); }
body.its-fiche-d .pro-card-val { font-size: 16px; font-weight: 700; line-height: 1.4; }
body.its-fiche-d .pro-card-sub { font-size: 13px; font-weight: 600; }
body.its-fiche-d .pro-badge { padding: 4px 10px; font-size: 13px; font-weight: 800; letter-spacing: 0; }
body.its-fiche-d .pro-badge--dispo { background: var(--teal); color: var(--vanilla); }
body.its-fiche-d .pro-badge--indispo { background: none; color: var(--teal); box-shadow: inset 0 0 0 1px rgba(28, 61, 52, .35); }
body.its-fiche-d .its-pw { border: 0; box-shadow: inset 0 1px 0 rgba(28, 61, 52, .18); }
@media (max-width: 680px) {
  body.its-fiche-d .pro-grid { grid-template-columns: 1fr; }
  body.its-fiche-d .pro-card { padding: 12px 0; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
  body.its-fiche-d .pro-card-label { margin: 0; }
  body.its-fiche-d .pro-card-val { text-align: right; font-size: 15px; }
}
/* Mobile : filtres en rangée qui défile au doigt (rien de coupé, même à 4
   filtres), « Reset » au bout ; noms de match sur 2 lignes plutôt que coupés. */
@media (max-width: 680px) {
  body.its-fiche-d .inline-filters { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-right: -16px; padding-right: 16px; }
  body.its-fiche-d .inline-filters::-webkit-scrollbar { display: none; }
  body.its-fiche-d .inline-filters .if-dd-wrap { flex: none; }
  body.its-fiche-d .inline-filters .if-dd-btn .if-val { max-width: none; overflow: visible; }
  body.its-fiche-d .filter-reset-btn { margin-left: 0; }
}
/* Historique mobile : le match (logos + noms) sur toute la largeur en 1re
   ligne ; date, compétition, score, résultat et minutes en 2e ligne ; lien
   « Stats » en 3e. (Les noms se coupaient sur 3 à 5 lignes dans une colonne
   de 70 px.) */
@media (max-width: 680px) {
  body.its-fiche-d .mh-row:has(> .mh-min):not(.ps-player-row) .mh-match { grid-column: 1 / -1; grid-row: 1; margin-bottom: 2px; font-size: 14px; }
  body.its-fiche-d .mh-row:has(> .mh-min):not(.ps-player-row) .mh-match > a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  body.its-fiche-d .mh-row:has(> .mh-min):not(.ps-player-row) .mh-date { grid-column: 1; grid-row: 2; }
  body.its-fiche-d .mh-row:has(> .mh-min):not(.ps-player-row) .mh-comp { grid-column: 2; grid-row: 2; }
  body.its-fiche-d .mh-row:has(> .mh-min):not(.ps-player-row) .mh-score { grid-row: 2; }
  body.its-fiche-d .mh-row:has(> .mh-min):not(.ps-player-row) .mh-result { grid-row: 2; }
  body.its-fiche-d .mh-row:has(> .mh-min):not(.ps-player-row) > .mh-min { grid-row: 2; }
  body.its-fiche-d .mh-row:has(> .mh-min):not(.ps-player-row) .mh-cta { grid-row: 3; }
  body.its-fiche-d .mh-row:has(> .mh-min):not(.ps-player-row) { grid-template-rows: auto auto auto; row-gap: 4px; }
}

/* Corrections 11/10 (Félix : « colonne vide ? pas aligné en mobile », logo
   devant chaque équipe sur une ligne) */
/* Total : une case d'écart en moins, puisque la colonne Saison est masquée. */
body.its-fiche-d.single-player #sec-stats .data-table .total-row td.total-row-lbl + td.total-row-spacer { display: none; }
/* Historique : « logo Équipe - logo Équipe » sur une ligne. */
body.its-fiche-d .mh-match .fd-mh-logos { display: none; }
.fd-mh-lien { display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%; white-space: nowrap; }
.fd-mh-eq { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.fd-mh-eq > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.fd-mh-sep { flex: none; color: var(--muted); }
.fd-mh-lien .fd-eq-logo { width: 18px; height: 18px; }
/* Mobile : lettre de résultat dans une pastille propre ; carte du tableau
   (logo, équipe, compétition) alignée sur une même ligne. */
@media (max-width: 680px) {
  body.its-fiche-d .mh-row:has(> .mh-min):not(.ps-player-row) .mh-result { min-width: 0; margin: 0 6px 0 4px; padding: 2px 5px; font-size: 12px; line-height: 1.2; }
  body.its-fiche-d .data-table tbody tr:not(.section-row) { align-items: center; }
  body.its-fiche-d .data-table td[data-label="Équipe"] .fd-eq { vertical-align: middle; }
}
/* Palmarès : logo devant l'équipe. */
body.its-fiche-d .palm-sub .fd-eq { gap: 6px; }
body.its-fiche-d .palm-sub .fd-eq-logo { width: 18px; height: 18px; }

/* ── Zone pro (Félix 11/10 : « c'est une zone pro ») : bandeau teal d'un bord
   à l'autre qui la distingue du reste de la fiche, infos en vanilla. ── */
body.its-fiche-d .fd-zone-pro { margin: 40px calc(50% - 50vw) 0; padding: 40px calc(50vw - 50%) 44px; background: var(--teal); color: var(--vanilla); }
body.its-fiche-d .fd-zone-pro .section-title { margin-bottom: 8px; color: var(--vanilla); }
body.its-fiche-d .fd-zone-pro .section-title::after { background: rgba(242, 229, 210, .22); }
body.its-fiche-d .fd-zone-pro .section-title .its-lock { display: inline-block; width: .7em; height: .7em; opacity: .7; }
body.its-fiche-d .fd-zone-pro-sub { margin: 0 0 22px; font-size: 14px; color: rgba(242, 229, 210, .72); }
body.its-fiche-d .fd-zone-pro .pro-card { box-shadow: inset 0 1px 0 rgba(242, 229, 210, .2); }
body.its-fiche-d .fd-zone-pro .pro-card-label { color: rgba(242, 229, 210, .65); }
body.its-fiche-d .fd-zone-pro .pro-card-val,
body.its-fiche-d .fd-zone-pro .pro-card-val a { color: var(--vanilla); }
body.its-fiche-d .fd-zone-pro .pro-card-sub { color: rgba(242, 229, 210, .7); }
body.its-fiche-d .fd-zone-pro .pro-badge--dispo { background: var(--vanilla); color: var(--teal); }
body.its-fiche-d .fd-zone-pro .pro-badge--indispo { background: none; color: var(--vanilla); box-shadow: inset 0 0 0 1px rgba(242, 229, 210, .5); }
/* Paywall (visiteur non club) dans la zone : sur le teal aussi. */
body.its-fiche-d .fd-zone-pro .its-pw { background: rgba(242, 229, 210, .06); box-shadow: none; color: var(--vanilla); }
body.its-fiche-d .fd-zone-pro .its-pw-title,
body.its-fiche-d .fd-zone-pro .its-pw-icon { color: var(--vanilla); }
body.its-fiche-d .fd-zone-pro .its-pw-sub { color: rgba(242, 229, 210, .75); }
body.its-fiche-d .fd-zone-pro .its-pw-cta { background: var(--vanilla); color: var(--teal); }
@media (max-width: 680px) {
  body.its-fiche-d .fd-zone-pro { margin: 28px -16px 0; padding: 28px 16px 32px; }
}
/* Soulignement sur les noms seulement (pas sur le tiret ni les logos). */
a.fd-mh-lien, a.fd-mh-lien:hover { text-decoration: none; }
a.fd-mh-lien .fd-mh-eq > span:last-child { text-decoration: underline; text-decoration-color: rgba(28, 61, 52, .35); text-underline-offset: 3px; }
a.fd-mh-lien:hover .fd-mh-eq > span:last-child { text-decoration-color: var(--teal); }

/* ── Historique v2 « tableau des scores » (Félix 11/10) ───────────────────
   Colonnes fixes d'une ligne à l'autre : date | domicile, score, extérieur
   | compétition | résultat V/N/D | minutes | Stats. Plus de soulignés partout,
   plus de « Victoire » en toutes lettres ni de « Min. jouées » répété. */
.fd-sl { display: grid; grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr); align-items: center; column-gap: 10px; width: 100%; color: var(--teal); text-decoration: none; }
a.fd-sl:hover .fd-sl-nom { text-decoration: underline; text-underline-offset: 3px; }
.fd-sl-eq { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 600; }
.fd-sl-dom { justify-content: flex-end; text-align: right; }
.fd-sl-nom { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fd-sl-eq.is-gagnant { font-weight: 800; }
.fd-sl-score { display: flex; justify-content: center; gap: 4px; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--muted); }
.fd-sl-score .is-gagnant { color: var(--teal); font-weight: 900; }
.fd-sl-tiret { color: rgba(28, 61, 52, .35); }
.fd-sl .fd-eq-logo { width: 22px; height: 22px; }
body.its-fiche-d .mh-row .mh-score { display: none; }
@media (min-width: 681px) {
  body.its-fiche-d .mh-row:has(> .mh-min):not(.ps-player-row) { grid-template-columns: 96px minmax(0, 1fr) 150px 40px 64px 72px; column-gap: 16px; padding: 12px 18px; }
  body.its-fiche-d .mh-row:has(> .mh-min):not(.ps-player-row) .mh-date { grid-column: 1; }
  body.its-fiche-d .mh-row:has(> .mh-min):not(.ps-player-row) .mh-match { grid-column: 2; }
  body.its-fiche-d .mh-row:has(> .mh-min):not(.ps-player-row) .mh-comp { grid-column: 3; }
  body.its-fiche-d .mh-row:has(> .mh-min):not(.ps-player-row) .mh-result { grid-column: 4; justify-self: center; }
  body.its-fiche-d .mh-row:has(> .mh-min):not(.ps-player-row) > .mh-min { grid-column: 5; justify-self: end; }
  body.its-fiche-d .mh-row:has(> .mh-min):not(.ps-player-row) .mh-cta { grid-column: 6; justify-self: end; }
}
body.its-fiche-d .mh-row:has(> .mh-min):not(.ps-player-row) .mh-comp::before { content: none; }
body.its-fiche-d .mh-comp, body.its-fiche-d .mh-comp a { color: var(--muted); font-size: 13px; text-decoration: none; }
body.its-fiche-d .mh-comp a:hover { color: var(--teal); text-decoration: underline; }
body.its-fiche-d .mh-date { color: var(--muted); font-size: 13px; }
/* Résultat : pastille V / N / D. */
body.its-fiche-d .mh-row .mh-result { min-width: 0; width: 26px; height: 26px; padding: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; line-height: 1; }
body.its-fiche-d .mh-row .mh-result .mh-result-full { display: none; }
body.its-fiche-d .mh-row .mh-result .mh-result-short { display: inline; }
/* Minutes : le chiffre seul. */
body.its-fiche-d .mh-row .mh-min-lbl { display: none; }
body.its-fiche-d .mh-row .mh-min-val { font-size: 16px; font-weight: 900; color: var(--teal); }
/* « Stats → » sans soulignement. */
body.its-fiche-d .mh-row .mh-cta { font-size: 0; text-decoration: none; color: var(--teal); }
body.its-fiche-d .mh-row .mh-cta::before { content: "Stats"; font-size: 13px; font-weight: 700; }
body.its-fiche-d .mh-row .mh-cta .mh-cta-arrow { font-size: 13px; margin-left: 4px; }
body.its-fiche-d .mh-row .mh-cta:hover::before { text-decoration: underline; }
@media (max-width: 680px) {
  .fd-sl { grid-template-columns: minmax(0, 1fr) 62px minmax(0, 1fr); column-gap: 6px; font-size: 13px; }
  .fd-sl-score { font-size: 15px; }
  .fd-sl .fd-eq-logo { width: 18px; height: 18px; }
  body.its-fiche-d .mh-row .mh-min-val { font-size: 14px; }
}
/* Historique mobile v2 : match en 1re ligne, puis UNE ligne « date
   compétition · V · 80' · Stats → ». */
@media (max-width: 680px) {
  body.its-fiche-d .mh-row.mh-row:has(> .mh-min):not(.ps-player-row) { grid-template-columns: auto minmax(0, 1fr) auto auto auto; grid-template-rows: auto auto; column-gap: 10px; row-gap: 8px; padding: 12px; }
  body.its-fiche-d .mh-row.mh-row:has(> .mh-min):not(.ps-player-row) .mh-match { grid-column: 1 / -1; grid-row: 1; }
  body.its-fiche-d .mh-row.mh-row:has(> .mh-min):not(.ps-player-row) .mh-date { grid-column: 1; grid-row: 2; font-size: 12px; }
  body.its-fiche-d .mh-row.mh-row:has(> .mh-min):not(.ps-player-row) .mh-comp { grid-column: 2; grid-row: 2; font-size: 12px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  body.its-fiche-d .mh-row.mh-row:has(> .mh-min):not(.ps-player-row) .mh-result { grid-column: 3; grid-row: 2; width: 22px; height: 22px; margin: 0; font-size: 12px; }
  body.its-fiche-d .mh-row.mh-row:has(> .mh-min):not(.ps-player-row) > .mh-min { grid-column: 4; grid-row: 2; padding: 0; justify-self: end; }
  body.its-fiche-d .mh-row.mh-row:has(> .mh-min):not(.ps-player-row) .mh-min-lbl { display: none; }
  body.its-fiche-d .mh-row.mh-row:has(> .mh-min):not(.ps-player-row) .mh-cta { grid-column: 5; grid-row: 2; justify-self: end; }
  body.its-fiche-d .mh-row.mh-row:has(> .mh-min):not(.ps-player-row) .mh-cta::before { font-size: 12px; }
}
/* Minutes à largeur fixe : la pastille V/N/D ne bouge plus (9' / 80'). */
body.its-fiche-d .mh-row > .mh-min { min-width: 36px; justify-content: flex-end; text-align: right; }
/* Tablette / petit ordinateur : colonnes latérales resserrées pour que les
   noms d'équipe tiennent (« Stade Toul… » à 950 px). */
@media (min-width: 681px) and (max-width: 1100px) {
  body.its-fiche-d .mh-row.mh-row:has(> .mh-min):not(.ps-player-row) { grid-template-columns: 78px minmax(0, 1fr) 92px 28px 40px 52px; column-gap: 10px; padding: 12px 14px; }
  body.its-fiche-d .mh-row .mh-date, body.its-fiche-d .mh-comp, body.its-fiche-d .mh-comp a { font-size: 12px; }
  body.its-fiche-d .mh-comp { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .fd-sl { grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr); column-gap: 8px; font-size: 14px; }
}

/* Bouton « ‹ » de retour sur mobile (Félix 11/10 : « tu as oublié les boutons
   de retour mobile ») : le fil d'Ariane, masqué, redevient la pastille des
   articles et des archives (itsrugby-archive-hero.css), posée en haut à
   gauche du haut de fiche. Elle mène à la page parente (dernier lien du fil :
   Matchs, Joueurs…). Hors du flux (absolute sans top) : rien ne bouge. */
@media (max-width: 899px) {
  body.its-fiche-d > nav.breadcrumb { display: block; position: absolute; left: 0; right: 0; z-index: 20; height: 0; padding: 0; overflow: visible; background: none; border: 0; }
  body.its-fiche-d > nav.breadcrumb .container { display: block; min-height: 0; padding: 10px 16px 0; font-size: 0; }
  body.its-fiche-d > nav.breadcrumb .container > * { display: none; }
  body.its-fiche-d > nav.breadcrumb .container > a:last-of-type { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; box-sizing: border-box; padding: 0; font-size: 0; text-decoration: none; background: rgba(28, 61, 52, .55); border: 1px solid rgba(242, 229, 210, .18); color: var(--vanilla, #F2E5D2); }
  body.its-fiche-d > nav.breadcrumb .container > a:last-of-type::before { content: "\2039"; position: relative; top: -2px; font-size: 26px; line-height: 1; color: var(--vanilla, #F2E5D2); }
}

/* ── Historique mobile v3 (Félix 11/10 : « en mobile tu peux faire mieux ») :
   liste façon appli de scores — une équipe par ligne, son score à droite,
   vainqueur en gras ; date et compétition au-dessus, V/N/D, minutes et
   Stats dans la colonne de droite. Mêmes éléments, seulement replacés. ── */
@media (max-width: 680px) {
  body.its-fiche-d .mh-row.mh-row:has(> .mh-min):not(.ps-player-row) { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto auto; column-gap: 12px; row-gap: 6px; padding: 12px 14px; }
  body.its-fiche-d .mh-row.mh-row:has(> .mh-min):not(.ps-player-row) .mh-date { grid-column: 1; grid-row: 1; font-size: 12px; }
  body.its-fiche-d .mh-row.mh-row:has(> .mh-min):not(.ps-player-row) .mh-comp { grid-column: 2; grid-row: 1; font-size: 12px; }
  body.its-fiche-d .mh-row.mh-row:has(> .mh-min):not(.ps-player-row) .mh-result { grid-column: 3; grid-row: 1; justify-self: end; }
  body.its-fiche-d .mh-row.mh-row:has(> .mh-min):not(.ps-player-row) .mh-match { grid-column: 1 / 3; grid-row: 2 / span 2; margin: 0; }
  body.its-fiche-d .mh-row.mh-row:has(> .mh-min):not(.ps-player-row) > .mh-min { grid-column: 3; grid-row: 2; align-self: center; }
  body.its-fiche-d .mh-row.mh-row:has(> .mh-min):not(.ps-player-row) .mh-cta { grid-column: 3; grid-row: 3; align-self: center; }

  /* Le match : deux lignes « logo | équipe | score ». */
  body.its-fiche-d .fd-sl { grid-template-columns: 20px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 10px; row-gap: 6px; font-size: 15px; }
  body.its-fiche-d .fd-sl .fd-sl-eq,
  body.its-fiche-d .fd-sl .fd-sl-score { display: contents; }
  body.its-fiche-d .fd-sl .fd-sl-tiret { display: none; }
  body.its-fiche-d .fd-sl .fd-sl-dom .fd-eq-logo { grid-column: 1; grid-row: 1; }
  body.its-fiche-d .fd-sl .fd-sl-dom .fd-sl-nom { grid-column: 2; grid-row: 1; text-align: left; }
  body.its-fiche-d .fd-sl .fd-sl-score > span:first-child { grid-column: 3; grid-row: 1; }
  body.its-fiche-d .fd-sl .fd-sl-ext .fd-eq-logo { grid-column: 1; grid-row: 2; }
  body.its-fiche-d .fd-sl .fd-sl-ext .fd-sl-nom { grid-column: 2; grid-row: 2; }
  body.its-fiche-d .fd-sl .fd-sl-score > span:last-child { grid-column: 3; grid-row: 2; }
  body.its-fiche-d .fd-sl .fd-eq-logo { width: 20px; height: 20px; }
  body.its-fiche-d .fd-sl .fd-sl-nom { font-weight: 600; color: var(--muted); }
  body.its-fiche-d .fd-sl .fd-sl-eq.is-gagnant .fd-sl-nom { font-weight: 800; color: var(--teal); }
  body.its-fiche-d .fd-sl .fd-sl-score > span { justify-self: end; font-size: 16px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
  body.its-fiche-d .fd-sl .fd-sl-score > span.is-gagnant { font-weight: 900; color: var(--teal); }
  /* Séparation verticale entre le match et la colonne de droite. */
  body.its-fiche-d .mh-row.mh-row:has(> .mh-min):not(.ps-player-row) > .mh-min,
  body.its-fiche-d .mh-row.mh-row:has(> .mh-min):not(.ps-player-row) .mh-cta { padding-left: 12px; box-shadow: inset 1px 0 0 rgba(28, 61, 52, .12); min-width: 56px; justify-content: flex-end; }
}
/* Zone pro : « Sous contrat » puis le club (logo) et l'échéance dessous. */
body.its-fiche-d .fd-zone-pro .fd-contrat { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 15px; font-weight: 700; color: var(--vanilla); }
body.its-fiche-d .fd-zone-pro .fd-contrat a { color: var(--vanilla); text-decoration: underline; text-decoration-color: rgba(242, 229, 210, .35); text-underline-offset: 3px; }
body.its-fiche-d .fd-zone-pro .fd-contrat .fd-eq-logo { width: 20px; height: 20px; }
body.its-fiche-d .fd-zone-pro .fd-contrat .fd-eq-logo img { filter: drop-shadow(0 0 1px rgba(242, 229, 210, .9)); }
@media (max-width: 680px) {
  body.its-fiche-d .fd-zone-pro .pro-card { flex-wrap: wrap; }
  body.its-fiche-d .fd-zone-pro .pro-card-val { display: flex; flex-direction: column; align-items: flex-end; }
  body.its-fiche-d .fd-zone-pro .fd-contrat { margin-top: 8px; font-size: 14px; }
}
/* Pas d'espace avant la virgule : le texte suit le club dans la même ligne. */
body.its-fiche-d .fd-zone-pro .fd-contrat { display: block; }
body.its-fiche-d .fd-zone-pro .fd-contrat .fd-eq { display: inline-flex; gap: 6px; vertical-align: -4px; }
/* Palmarès : hauteur selon le contenu (52 px fixes + logo = texte collé au
   filet, Félix 11/10). */
body.its-fiche-d .palm-row { height: auto; min-height: 52px; padding: 12px 14px; }
body.its-fiche-d .palm-sub { margin-top: 4px; }
/* « Voir les N autres matchs » / « Voir tout » : bouton au contour teal, plus
   d'aplat vert clair. */
body.its-fiche-d .its-collapse-btn,
body.its-fiche-d .palm-toggle { display: flex; align-items: center; justify-content: center; width: 100%; margin-top: 12px; padding: 10px 14px; border: 1px solid rgba(28, 61, 52, .3); background: transparent; color: var(--teal); font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none; cursor: pointer; }
body.its-fiche-d .its-collapse-btn:hover,
body.its-fiche-d .palm-toggle:hover { border-color: var(--teal); background: var(--teal); color: var(--vanilla); }
/* Tableau des stats : colonnes de chiffres resserrées, l'espace va au nom de
   compétition complet + logo (plus de « trou » au milieu, Félix 11/10). */
@media (min-width: 681px) {
  /* Équipe et compétition à largeur fixe, les colonnes de chiffres se
     partagent régulièrement le reste : plus de grand vide au milieu. */
  /* (table-layout:fixed essayé : casse avec les colonnes masquées.) */
  body.its-fiche-d.single-player #sec-stats .data-table th:nth-child(2) { width: 22%; }
  body.its-fiche-d.single-player #sec-stats .data-table th:nth-child(3) { width: 28%; }
  body.its-fiche-d.single-player #sec-stats .data-table th:nth-child(n+4) { width: 7%; }
}
.fd-comp .fd-eq-nom { font-weight: 600; }
/* Bande d'infos : lien du club sans soulignement (au survol seulement). */
.fd-info dd a { text-decoration: none; }
.fd-info dd a:hover { text-decoration: underline; text-decoration-color: var(--vanilla); }
body.its-fiche-d .fd-zone-pro .fd-contrat a { text-decoration: none; }
body.its-fiche-d .fd-zone-pro .fd-contrat a:hover { text-decoration: underline; }

/* ── Fiche pro v2 (Félix 11/10) ───────────────────────────────────────────
   Dans la zone pro teal : situation contractuelle en grand, profil en
   étiquette / valeur, ressources et actions en boutons au contour vanilla. */
.fd-pro { display: flex; flex-direction: column; gap: 26px; }
.fd-pro-situation { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-top: 18px; box-shadow: inset 0 1px 0 rgba(242, 229, 210, .2); }
.fd-pro-statut { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; box-shadow: inset 0 0 0 1px rgba(242, 229, 210, .55); color: var(--vanilla); font-size: 15px; font-weight: 800; }
.fd-pro-statut.is-dispo { background: var(--vanilla); color: var(--teal); box-shadow: none; }
.fd-pro-contrat { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 20px; font-weight: 600; color: var(--vanilla); }
.fd-pro-contrat strong { font-weight: 800; }
.fd-pro-contrat .fd-eq { display: inline-flex; gap: 8px; font-weight: 800; }
.fd-pro-contrat .fd-eq a { color: var(--vanilla); text-decoration: none; }
.fd-pro-contrat .fd-eq a:hover { text-decoration: underline; }
.fd-pro-contrat .fd-eq-logo { width: 24px; height: 24px; }
.fd-pro-contrat .fd-eq-logo img { filter: drop-shadow(0 0 1px rgba(242, 229, 210, .9)); }
.fd-pro-alerte { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; background: var(--sage); color: var(--teal); font-size: 13px; font-weight: 800; }
.fd-pro-infos { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0 28px; margin: 0; }
.fd-pro-info { padding: 14px 0; box-shadow: inset 0 1px 0 rgba(242, 229, 210, .16); }
.fd-pro-info dt { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: rgba(242, 229, 210, .65); }
.fd-pro-info dd { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--vanilla); }
.fd-pro-ressources { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px 28px; }
.fd-pro-res { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.fd-pro-lbl { font-size: 13px; font-weight: 700; color: rgba(242, 229, 210, .65); }
.fd-pro-val { font-size: 16px; font-weight: 700; color: var(--vanilla); }
.fd-pro-sous { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; color: rgba(242, 229, 210, .7); }
.fd-pro-btn,
.fd-pro-actions .its-agent-pf-btn { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid rgba(242, 229, 210, .45); border-radius: 0; background: transparent; color: var(--vanilla); font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; }
.fd-pro-btn:hover,
.fd-pro-actions .its-agent-pf-btn:hover { border-color: var(--vanilla); background: rgba(242, 229, 210, .1); color: var(--vanilla); }
.fd-pro-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 680px) {
  .fd-pro { gap: 20px; }
  .fd-pro-contrat { font-size: 17px; }
  .fd-pro-infos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .fd-pro-info { padding: 12px 0; }
  .fd-pro-info dd { font-size: 15px; }
}
/* Fiche pro : 4 infos par rangée, la dernière rangée s'étire (jamais de
   case orpheline). */
.fd-pro-infos { display: flex; flex-wrap: wrap; column-gap: 28px; }
.fd-pro-info { flex: 1 1 calc(25% - 28px); min-width: 150px; }
@media (max-width: 680px) {
  .fd-pro-infos { column-gap: 16px; }
  .fd-pro-info { flex: 1 1 calc(50% - 16px); min-width: 0; }
}
@media (max-width: 680px) {
  .fd-pro-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; }
  .fd-pro-btn, .fd-pro-actions .its-agent-pf-btn { justify-content: center; padding: 0 8px; font-size: 13px; white-space: nowrap; }
}
/* Boutons de la fiche pro : même graisse (une règle de lien du site
   allégeait « Compléter mon profil pro »). */
body.its-fiche-d .fd-pro-actions a.fd-pro-btn,
body.its-fiche-d .fd-pro-actions .its-agent-pf-btn { font-weight: 700; font-size: 14px; }
/* La règle « .its-v2 a[class]:not(…) » du site force font-weight:inherit sur
   les liens : la graisse est portée par le <span> intérieur. */
.fd-pro-btn > span { font-weight: 700; color: var(--vanilla); }
/* « Compléter mon profil pro » en haut à droite de la zone, au niveau du
   sous-titre (plus de doublon « Scouter », déjà sous le nom). */
.fd-zone-pro { position: relative; }
.fd-pro-actions { position: absolute; top: 40px; right: calc(50vw - 50%); }
@media (max-width: 680px) {
  .fd-pro-actions { position: static; display: flex; }
}
@media (min-width: 681px) {
  .fd-pro-actions { top: 36px; right: max(24px, calc((100vw - 1240px) / 2 + 24px)); }
  body.its-large .fd-pro-actions { right: calc(max(0px, (100vw - var(--its-max) - 2 * var(--its-g)) / 2) + var(--its-g)); }
  /* Le filet du titre s'arrête avant le bouton. */
  body.its-fiche-d .fd-zone-pro:has(.fd-pro-actions) > .section-title { padding-right: 470px; }
}
/* Zone pro en tête de fiche, juste sous la barre de sections (Félix 11/10). */
body.its-fiche-d .its-page-body > .fd-zone-pro:first-child { margin-top: 0; box-shadow: inset 0 1px 0 rgba(242, 229, 210, .1); }
/* Zone pro entre le haut de fiche et la barre (Félix 11/10 : « inverser la
   barre de menu, sous le profil pro ») : elle prolonge le haut de fiche, un
   filet fin la sépare. */
body.its-fiche-d .fd-zone-pro-wrap { padding-top: 0; padding-bottom: 0; }
body.its-fiche-d .fd-zone-pro-wrap > .fd-zone-pro { margin-top: 0; box-shadow: inset 0 1px 0 rgba(242, 229, 210, .14); }
/* Pas de filet entre le haut de fiche et la zone pro (Félix 11/10 : « ligne
   blanche entre les deux »). */
body.its-fiche-d .fd-zone-pro-wrap > .fd-zone-pro { box-shadow: none; }

/* ── Zone pro repliable (Félix 11/10) ── */
body.its-fiche-d .fd-zone-pro { position: relative; }
.fd-pro-plier { position: absolute; top: 44px; left: auto; display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border: 1px solid rgba(242, 229, 210, .3); background: transparent; color: rgba(242, 229, 210, .85); font-size: 13px; font-weight: 700; cursor: pointer; }
.fd-pro-plier:hover { border-color: var(--vanilla); color: var(--vanilla); }
.fd-pro-plier-plus { display: none; }
/* Repliée : une bande fine — cadenas, titre, bouton « Afficher ». */
body.its-fiche-d .fd-zone-pro.is-replie { padding-top: 14px; padding-bottom: 14px; }
.fd-zone-pro.is-replie .fd-pro-corps { display: none; }
body.its-fiche-d .fd-zone-pro.is-replie > .section-title { margin: 0; font-size: 18px; padding-right: 140px; }
.fd-zone-pro.is-replie .fd-pro-plier { top: 50%; transform: translateY(-50%); }
.fd-zone-pro.is-replie .fd-pro-plier-moins { display: none; }
.fd-zone-pro.is-replie .fd-pro-plier-plus { display: inline; }
/* Placement : « Replier » au bord droit de la colonne, les actions à sa gauche. */
@media (min-width: 681px) {
  .fd-pro-plier { top: 39px; right: max(24px, calc((100vw - 1240px) / 2 + 24px)); }
  body.its-large .fd-pro-plier { right: calc(max(0px, (100vw - var(--its-max) - 2 * var(--its-g)) / 2) + var(--its-g)); }
  .fd-pro-actions { right: calc(max(24px, calc((100vw - 1240px) / 2 + 24px)) + 104px); }
  body.its-large .fd-pro-actions { right: calc(max(0px, (100vw - var(--its-max) - 2 * var(--its-g)) / 2) + var(--its-g) + 104px); }
  body.its-fiche-d .fd-zone-pro:has(.fd-pro-actions) > .section-title { padding-right: 580px; }
}
@media (max-width: 680px) {
  .fd-pro-plier { top: 26px; right: 16px; }
  body.its-fiche-d .fd-zone-pro > .section-title { padding-right: 110px; }
  .fd-zone-pro.is-replie .fd-pro-plier { right: 16px; }
}
/* Résumé de la situation, visible seulement quand la zone est repliée. */
.fd-pro-resume { display: none; }
.fd-zone-pro.is-replie .fd-pro-resume { display: inline; order: 0; margin-left: 14px; font-size: 14px; font-weight: 600; color: rgba(242, 229, 210, .75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
@media (max-width: 680px) { .fd-zone-pro.is-replie .fd-pro-resume { display: none; } }

/* Zone pro allégée (Félix 11/10 : « trop de traits ») : plus de filet de
   titre, ni sous le sous-titre, ni au-dessus de chaque info — l'espacement
   suffit. « Replier » à la même hauteur que les deux autres boutons. */
body.its-fiche-d .fd-zone-pro > .section-title::after { content: none; }
body.its-fiche-d .fd-zone-pro .fd-pro-situation { padding-top: 4px; box-shadow: none; }
body.its-fiche-d .fd-zone-pro .fd-pro-info { padding: 10px 0 12px; box-shadow: none; }
body.its-fiche-d .fd-zone-pro .fd-pro-infos { row-gap: 8px; }
body.its-fiche-d .fd-zone-pro .pro-card { box-shadow: none; }
.fd-pro-plier { height: 36px; padding: 0 14px; font-size: 14px; }
@media (min-width: 681px) { .fd-pro-plier { top: 37px; } }
/* Sous-titre sur la ligne du titre (Félix 11/10). */
body.its-fiche-d .fd-zone-pro > .section-title { flex-wrap: wrap; align-items: baseline; row-gap: 4px; margin-bottom: 18px; }
body.its-fiche-d .fd-zone-pro > .section-title .fd-zone-pro-sub { margin: 0 0 0 4px; font-size: 14px; font-weight: 500; letter-spacing: 0; color: rgba(242, 229, 210, .72); }
.fd-zone-pro.is-replie .fd-zone-pro-sub { display: none; }
@media (max-width: 680px) {
  body.its-fiche-d .fd-zone-pro > .section-title .fd-zone-pro-sub { flex: 0 0 100%; margin: 0; font-size: 13px; }
}
/* Filets REMIS au-dessus de chaque info (Félix 11/10 : « t'as supprimé tous
   les traits ») ; seuls ceux du titre et du sous-titre restent retirés. */
body.its-fiche-d .fd-zone-pro .fd-pro-info { padding: 14px 0; box-shadow: inset 0 1px 0 rgba(242, 229, 210, .16); }
body.its-fiche-d .fd-zone-pro .fd-pro-infos { row-gap: 0; margin-top: 4px; }

/* ── Fiche pro v3 (Félix 11/10 : « on peut encore l'améliorer ») ──────────
   Carte « contrat » à gauche, profil à droite (2 rangées de 4). */
.fd-pro-grille { display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); gap: 0 40px; align-items: stretch; }
.fd-pro-grille.is-sans-carte { grid-template-columns: minmax(0, 1fr); }
.fd-pro-carte { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 20px; background: rgba(242, 229, 210, .06); box-shadow: none; }
.fd-pro-carte-logo { display: inline-flex; width: 56px; height: 56px; margin-bottom: 6px; }
.fd-pro-carte-logo .fd-eq-logo { width: 56px; height: 56px; }
.fd-pro-carte-logo img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 1px rgba(242, 229, 210, .9)); }
.fd-pro-carte-statut { font-size: 13px; font-weight: 700; color: rgba(242, 229, 210, .7); }
.fd-pro-carte-statut.is-dispo { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; background: var(--vanilla); color: var(--teal); font-size: 16px; font-weight: 800; }
.fd-pro-carte-club { font-size: 22px; font-weight: 800; line-height: 1.15; color: var(--vanilla); }
.fd-pro-carte-club a { color: var(--vanilla); text-decoration: none; }
.fd-pro-carte-club a:hover { text-decoration: underline; }
.fd-pro-carte-fin { font-size: 16px; font-weight: 600; color: var(--vanilla); }
.fd-pro-carte-fin strong { font-weight: 800; }
.fd-pro-carte-reste { font-size: 13px; font-weight: 600; color: rgba(242, 229, 210, .65); }
.fd-pro-carte .fd-pro-alerte { margin-top: 4px; }
body.its-fiche-d .fd-zone-pro .fd-pro-infos { margin-top: 0; align-content: start; }
/* Barres sous titularisations / temps de jeu. */
.fd-pro-info dd { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.fd-pro-barre { display: block; width: min(140px, 100%); height: 4px; background: rgba(242, 229, 210, .16); }
.fd-pro-barre > span { display: block; width: 0; height: 100%; background: var(--vanilla); transition: width .5s ease; }
@media (prefers-reduced-motion: reduce) { .fd-pro-barre > span { transition: none; } }
@media (max-width: 900px) {
  .fd-pro-grille { grid-template-columns: minmax(0, 1fr); row-gap: 18px; }
  .fd-pro-carte { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 12px; }
  .fd-pro-carte-logo { margin: 0; width: 44px; height: 44px; }
  .fd-pro-carte-logo .fd-eq-logo { width: 44px; height: 44px; }
  .fd-pro-carte-club { font-size: 18px; }
}
/* Carte contrat étroite : logo à gauche, textes empilés à droite. */
@media (max-width: 900px) {
  .fd-pro-carte { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; align-items: center; padding: 14px 16px; }
  .fd-pro-carte > :not(.fd-pro-carte-logo) { grid-column: 2; }
  .fd-pro-carte-logo { grid-column: 1; grid-row: 1 / span 4; align-self: center; }
}

/* ── Carte contrat v2 : frise des saisons (Félix 11/10) ── */
.fd-pro-carte { gap: 12px; padding: 18px 20px 20px; }
.fd-pro-carte-tete { display: flex; align-items: center; gap: 12px; }
.fd-pro-carte-tete .fd-pro-carte-logo { margin: 0; width: 44px; height: 44px; }
.fd-pro-carte-tete .fd-pro-carte-logo .fd-eq-logo { width: 44px; height: 44px; }
.fd-pro-carte-id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fd-pro-carte-id .fd-pro-carte-club { font-size: 19px; }
.fd-pro-carte-id .fd-pro-carte-statut { font-size: 12px; }
.fd-pro-frise { display: flex; gap: 3px; width: 100%; height: 8px; margin-top: 4px; }
.fd-pro-frise > span { flex: 1 1 0; min-width: 4px; }
.fd-pro-frise .is-passe { background: rgba(242, 229, 210, .45); }
.fd-pro-frise .is-cours { background: var(--vanilla); }
.fd-pro-frise .is-futur { box-shadow: inset 0 0 0 1px rgba(242, 229, 210, .45); }
.fd-pro-frise-bornes { display: flex; justify-content: space-between; width: 100%; font-size: 13px; font-weight: 600; color: rgba(242, 229, 210, .75); }
.fd-pro-frise-bornes strong { color: var(--vanilla); font-weight: 800; }
.fd-pro-carte-reste { margin-top: -4px; }
/* La carte étroite (mobile) reprend une simple colonne. */
@media (max-width: 900px) {
  .fd-pro-carte { display: flex; flex-direction: column; align-items: stretch; }
  .fd-pro-carte > * { grid-column: auto; }
}

/* ── Barres des chiffres clés v2 (Félix 11/10) ── */
body.its-fiche-d .kpi-barre { height: 8px; }
/* Une case par match : pleine = titulaire, contour = remplaçant. */
body.its-fiche-d .kpi-barre--seg { display: flex; gap: 3px; background: none; }
body.its-fiche-d .kpi-barre--seg > span { flex: 1 1 0; min-width: 3px; width: auto; box-shadow: inset 0 0 0 1px rgba(28, 61, 52, .35); background: none; }
body.its-fiche-d .kpi-barre--seg > span.is-plein { background: var(--teal); box-shadow: none; }
/* Crans : un trait vanilla toutes les 1/n (un match), par-dessus le remplissage. */
body.its-fiche-d .kpi-barre--crans { position: relative; }
body.its-fiche-d .kpi-barre--crans::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(to right, transparent 0, transparent calc(100% / var(--n) - 3px), var(--vanilla) calc(100% / var(--n) - 3px), var(--vanilla) calc(100% / var(--n))); }
/* Pile : essais en teal, pied en sauge. */
body.its-fiche-d .kpi-barre--pile { display: flex; background: none; }
body.its-fiche-d .kpi-barre--pile > span { height: 100%; }
body.its-fiche-d .kpi-barre--pile > .is-essais { background: var(--teal); }
body.its-fiche-d .kpi-barre--pile > .is-pied { background: var(--sage); }
/* Palmarès : toutes les lignes à la même hauteur des deux côtés (Félix
   11/10 : « équilibrer les hauteurs ») — les « Voir tout » s'alignent. */
body.its-fiche-d .palm-row { min-height: 72px; box-sizing: border-box; align-items: center; }
@media (max-width: 680px) { body.its-fiche-d .palm-row { min-height: 64px; } }
/* Points : une seule couleur (teal), deux blocs séparés par un espace —
   essais | pied (Félix 11/10 : « tu changes de couleur, on ne sait pas
   pourquoi »). */
body.its-fiche-d .kpi-barre--pile { gap: 3px; }
body.its-fiche-d .kpi-barre--pile > .is-essais,
body.its-fiche-d .kpi-barre--pile > .is-pied { background: var(--teal); }
body.its-fiche-d .kpi-barre--pile > span[style*="width: 0%"] { display: none; }
/* Carte contrat : prochain club annoncé. */
.fd-pro-carte-prochain { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: rgba(242, 229, 210, .85); }
.fd-pro-carte-prochain .fd-eq { display: inline-flex; gap: 6px; }
.fd-pro-carte-prochain a { color: var(--vanilla); text-decoration: none; }
.fd-pro-carte-prochain .fd-eq-logo { width: 18px; height: 18px; }

/* Points marqués : un bloc par type, tous teal (Félix 11/10). Détail sur mobile : une ligne par type. */
body.its-fiche-d .kpi-barre--pile > span { background: var(--teal); }
@media (max-width: 680px) { body.its-fiche-d .kpi-court { white-space: pre-line; } }

/* Palmarès groupé (Félix 11/10) : logo, nom, sous-titre, années ; le nombre à droite. */
body.its-fiche-d .palm-row.fd-palm { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; height: auto; min-height: 72px; padding: 14px 18px; }
body.its-fiche-d .palm-row.fd-palm.has-logo { grid-template-columns: 40px 1fr auto; }
body.its-fiche-d .palm-row.fd-palm.palm-row--hidden { display: none; }
body.its-fiche-d .palm-expanded .palm-row.fd-palm.palm-row--hidden { display: grid; }
body.its-fiche-d .fd-palm-logo { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; }
body.its-fiche-d .fd-palm-logo img { max-width: 40px; max-height: 40px; width: auto; height: auto; object-fit: contain; }
body.its-fiche-d .fd-palm-logo .fd-eq-logo { width: 40px; height: 40px; }
body.its-fiche-d .fd-palm-txt { min-width: 0; }
body.its-fiche-d .fd-palm-nom { font-size: 16px; font-weight: 800; color: var(--teal); line-height: 1.25; }
body.its-fiche-d .fd-palm-sous { margin-top: 3px; font-size: 13px; color: rgba(28, 61, 52, .7); }
body.its-fiche-d .fd-palm-sous .fd-eq-logo { width: 16px; height: 16px; }
body.its-fiche-d .fd-palm-ans { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--teal); font-variant-numeric: tabular-nums; }
body.its-fiche-d .fd-palm-n { min-width: 44px; font-size: 34px; font-weight: 900; line-height: 1; color: var(--teal); text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 680px) {
  body.its-fiche-d .palm-row.fd-palm { gap: 12px; padding: 12px 14px; min-height: 64px; }
  body.its-fiche-d .palm-row.fd-palm.has-logo { grid-template-columns: 32px 1fr auto; }
  body.its-fiche-d .fd-palm-logo, body.its-fiche-d .fd-palm-logo .fd-eq-logo { width: 32px; height: 32px; }
  body.its-fiche-d .fd-palm-logo img { max-width: 32px; max-height: 32px; }
  body.its-fiche-d .fd-palm-nom { font-size: 15px; }
  body.its-fiche-d .fd-palm-n { font-size: 28px; min-width: 32px; }
}
/* Palmarès : même hauteur de ligne avec ou sans logo (Félix 11/10). */
body.its-fiche-d .fd-palm-nom { line-height: 22px; }
body.its-fiche-d .fd-palm-sous { display: flex; align-items: center; height: 20px; line-height: 20px; overflow: hidden; }
body.its-fiche-d .fd-palm-sous .fd-eq { display: inline-flex; align-items: center; height: 20px; line-height: 20px; }
body.its-fiche-d .fd-palm-ans { line-height: 20px; }

/* Fiche pro : stats par équipe, logos sélecteurs à droite de l'étiquette (Félix 11/10). */
.fd-pro-info--eq[hidden] { display: none; }
.fd-pro-info--eq dt { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 26px; }
.fd-pro-eqs { display: inline-flex; gap: 4px; }
.fd-pro-eq { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; border: 1px solid transparent; background: transparent; color: var(--vanilla); font-size: 11px; cursor: pointer; opacity: .45; }
.fd-pro-eq.is-actif { opacity: 1; border-color: rgba(242, 229, 210, .5); background: rgba(242, 229, 210, .08); }
span.fd-pro-eq { cursor: default; border-color: transparent; background: transparent; }
.fd-pro-eq:hover { opacity: 1; }
.fd-pro-eq:focus-visible { outline: 2px solid var(--vanilla); outline-offset: 2px; }
.fd-pro-eq .fd-eq-logo { width: 22px; height: 22px; }
.fd-pro-eq img { max-width: 22px; max-height: 22px; width: auto; height: auto; object-fit: contain; }
/* Blessure en haut de fiche : plus de cadre ni d'icône calendrier, une
   étiquette « Blessé » et le texte court (Félix 11/10 : « pas ouf ce cadre »). */
body.its-fiche-d .comp-hero-injury { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 14px; padding: 0; background: none; border: 0; font-size: 14px; font-weight: 600; color: var(--vanilla); }
body.its-fiche-d .comp-hero-injury::before { content: none; display: none; }
body.its-fiche-d .fd-blessure-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; background: var(--vanilla); color: var(--teal); font-size: 12px; font-weight: 800; }
body.its-fiche-d .comp-hero-injury .injury-sep { color: rgba(242, 229, 210, .5); }
body.its-fiche-d .comp-hero-injury .injury-return { color: rgba(242, 229, 210, .8); }
/* Carte contrat : même marge des quatre côtés (Félix 11/10 : « espace autour »). */
body.its-fiche-d .fd-pro-carte { padding: 24px; gap: 14px; }
@media (max-width: 680px) { body.its-fiche-d .fd-pro-carte { padding: 18px; } }
/* Palmarès compact, tout visible : nom puis une ligne équipe + années (Félix 11/10). */
body.its-fiche-d .palm-row.fd-palm { min-height: 64px; padding: 11px 18px; }
body.its-fiche-d .fd-palm-ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 14px; margin-top: 3px; }
body.its-fiche-d .fd-palm-ligne .fd-palm-sous { margin-top: 0; }
body.its-fiche-d .fd-palm-ligne .fd-palm-ans { margin-top: 0; }
body.its-fiche-d .fd-palm-n { font-size: 28px; }
@media (max-width: 680px) {
  body.its-fiche-d .palm-row.fd-palm { min-height: 58px; padding: 10px 14px; }
  body.its-fiche-d .fd-palm-n { font-size: 24px; }
}
/* Logos d'équipe de la zone pro : sans cadre (Félix 11/10). L'équipe choisie
   est pleine, les autres atténuées, un trait sous la choisie s'il y a le choix. */
.fd-pro-eq, .fd-pro-eq.is-actif, span.fd-pro-eq { border: 0; background: none; box-shadow: none; }
button.fd-pro-eq.is-actif { box-shadow: inset 0 -2px 0 var(--vanilla); }
/* Une seule équipe active à la fois : les autres logos sont grisés (Félix 11/10). */
button.fd-pro-eq { opacity: .4; filter: grayscale(1); transition: opacity .15s, filter .15s; }
button.fd-pro-eq.is-actif { opacity: 1; filter: none; }
button.fd-pro-eq:not(.is-actif):hover { opacity: .7; }
/* Logo de la carte contrat : le <picture> (WebP) laissait l'image déborder de
   sa boîte de 44 px et mordre la marge du haut (Félix 11/10). */
.fd-pro-carte-logo .fd-eq-logo, .fd-pro-carte-logo picture { display: flex; align-items: center; justify-content: center; overflow: hidden; }
.fd-pro-carte-logo picture { width: 100%; height: 100%; }
.fd-pro-carte-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
/* Points marqués : une nuance de teal par type, la même dans la barre et dans
   la pastille de la légende (Félix 11/10). */
body.its-fiche-d .kpi-barre--pile > .is-t0, body.its-fiche-d .kpi-leg-p.is-t0 { background: var(--teal); }
body.its-fiche-d .kpi-barre--pile > .is-t1, body.its-fiche-d .kpi-leg-p.is-t1 { background: rgba(28, 61, 52, .62); }
body.its-fiche-d .kpi-barre--pile > .is-t2, body.its-fiche-d .kpi-leg-p.is-t2 { background: rgba(28, 61, 52, .36); }
body.its-fiche-d .kpi-barre--pile > .is-t3, body.its-fiche-d .kpi-leg-p.is-t3 { background: rgba(28, 61, 52, .18); }
body.its-fiche-d .kpi-leg { display: inline-flex; align-items: center; gap: 6px; margin: 0 7px; white-space: nowrap; }
body.its-fiche-d .kpi-leg-p { display: inline-block; flex: 0 0 auto; width: 10px; height: 10px; }
@media (max-width: 680px) {
  body.its-fiche-d .kpi-court .kpi-leg { display: flex; margin: 2px 0; justify-content: center; }
}
/* La carte porte aussi .fd-pro-situation, dont l'ancienne règle (padding-top 4px,
   plus spécifique) mangeait la marge du haut (Félix 11/10). */
body.its-fiche-d .fd-zone-pro .fd-pro-carte { padding: 24px; }
@media (max-width: 680px) { body.its-fiche-d .fd-zone-pro .fd-pro-carte { padding: 18px; } }
/* Bandeau blessure : étiquette et texte sur la même ligne médiane ; centré
   sur mobile comme le reste du haut de fiche (Félix 11/10). */
body.its-fiche-d .comp-hero-injury { line-height: 24px; }
body.its-fiche-d .fd-blessure-tag { line-height: 1; }
@media (max-width: 680px) {
  body.its-fiche-d .comp-hero-injury { justify-content: center; text-align: center; font-size: 13px; line-height: 20px; }
}
/* Historique : V, N et D dans la même pastille (D n'avait pas de cadre), et
   colonne de droite à largeur fixe sur mobile : minutes et « Stats » partagent
   le même filet vertical (Félix 11/10 : « pas aligné en mobile »). */
body.its-fiche-d .mh-row .mh-result { box-sizing: border-box; border: 1px solid; }
body.its-fiche-d .mh-row .mh-result.win { border-color: var(--teal); }
body.its-fiche-d .mh-row .mh-result.loss { border-color: rgba(28, 61, 52, .3); }
body.its-fiche-d .mh-row .mh-result.draw { border-color: var(--teal); }
@media (max-width: 680px) {
  body.its-fiche-d .mh-row.mh-row:has(> .mh-min):not(.ps-player-row) { grid-template-columns: auto minmax(0, 1fr) 78px; }
  body.its-fiche-d .mh-row.mh-row:has(> .mh-min):not(.ps-player-row) > .mh-min,
  body.its-fiche-d .mh-row.mh-row:has(> .mh-min):not(.ps-player-row) .mh-cta { display: flex; align-items: center; justify-content: flex-end; box-sizing: border-box; width: 100%; min-width: 0; margin: 0; padding-left: 12px; text-align: right; }
}
/* Transferts : même largeur pour tous les types, calée sur « Retour de prêt »
   (Félix 11/10). */
body.its-fiche-d .tr-type { width: 132px; min-width: 0; white-space: nowrap; }
@media (max-width: 680px) { body.its-fiche-d .tr-type { width: 112px; padding-left: 4px; padding-right: 4px; } }
/* Mobile : l'étiquette « Blessé » reste dans la phrase (elle passait seule sur
   sa ligne, le texte commençait par « à une cuisse… »). */
@media (max-width: 680px) {
  body.its-fiche-d .comp-hero-injury { display: block; }
  body.its-fiche-d .fd-blessure-tag { display: inline-block; height: auto; padding: 3px 7px; margin-right: 6px; line-height: 14px; vertical-align: 1px; }
  body.its-fiche-d .comp-hero-injury .injury-sep { margin: 0 4px; }
}
/* Mobile : légende des points en liste alignée à gauche, au plus étroit,
   sans déborder de la case (« 8 transformations » était coupé). */
@media (max-width: 680px) {
  body.its-fiche-d .kpi-court:has(.kpi-leg) { display: flex; flex-direction: column; align-items: flex-start; width: fit-content; max-width: 100%; margin: 0 auto; white-space: normal; }
  body.its-fiche-d .kpi-court .kpi-leg { display: flex; margin: 2px 0; font-size: 12px; white-space: normal; text-align: left; }
}
/* Mobile : D a son cadre comme V et N (une règle :has plus spécifique l'ôtait). */
@media (max-width: 680px) {
  body.its-fiche-d .mh-row.mh-row:has(> .mh-min):not(.ps-player-row) .mh-result { border: 1px solid; }
  body.its-fiche-d .mh-row.mh-row:has(> .mh-min):not(.ps-player-row) .mh-result.win { border-color: var(--teal); }
  body.its-fiche-d .mh-row.mh-row:has(> .mh-min):not(.ps-player-row) .mh-result.loss { border-color: rgba(28, 61, 52, .3); }
  body.its-fiche-d .mh-row.mh-row:has(> .mh-min):not(.ps-player-row) .mh-result.draw { border-color: var(--teal); }
  /* Transferts : le type toujours au même endroit, en bas à droite, sur la
     ligne saison / durée (il passait tantôt en haut, tantôt seul au milieu). */
  body.its-fiche-d .transfer-table tbody tr { position: relative; }
  body.its-fiche-d .transfer-table td[data-label="Type"] { position: absolute; right: 12px; bottom: 9px; margin: 0; padding: 0; }
  body.its-fiche-d .transfer-table td.tr-to,
  body.its-fiche-d .transfer-table td.tr-from { max-width: 100%; }
  body.its-fiche-d .transfer-table td[data-label="Saison"],
  body.its-fiche-d .transfer-table td[data-label="Durée"] { line-height: 26px; }
}
/* Barre de sections mobile : plus de fondu sur les bords (Félix 11/10 : « bof le flou ») ;
   l'onglet coupé au bord suffit à dire que la rangée défile. */
@media (max-width: 900px) {
  .nav-interne--fiche .nav-int-items,
  .nav-interne--fiche .nav-int-items.is-defile { -webkit-mask-image: none; mask-image: none; }
}
/* Photo de petite définition : zone resserrée à droite (au plus 780 px), pour
   ne pas l'étirer et la flouter (Félix 11/10). Mobile inchangé. */
@media (min-width: 681px) {
  .comp-hero--cinema.comp-hero--photo-sd .comp-photo { left: auto; width: min(52%, 780px); }
}

/* Bandeau « C'est votre fiche ? Revendiquez-la » : prolonge le haut de fiche
   (teal foncé, pleine largeur), texte vanilla aligné sur la fiche, souligné
   au survol. Remplace la bande beige à bordure (Félix 11/10). */
body.its-fiche-d .its-claim-cta--hero-bottom { margin: 0 calc(50% - 50vw); padding: 0 calc(50vw - 50%); background: #142E27; border: 0; text-align: left; }
body.its-fiche-d .its-claim-cta--hero-bottom .its-claim-cta__link { display: flex; align-items: center; gap: 10px; min-height: 48px; color: var(--vanilla); font-size: 14px; font-weight: 700; text-decoration: none; }
body.its-fiche-d .its-claim-cta--hero-bottom .its-claim-cta__link svg { width: 16px; height: 16px; flex: none; opacity: .8; }
body.its-fiche-d .its-claim-cta--hero-bottom a.its-claim-cta__link:hover { color: var(--vanilla); }
body.its-fiche-d .its-claim-cta--hero-bottom a.its-claim-cta__link:hover .its-claim-cta__text { text-decoration: underline; text-underline-offset: 3px; }
body.its-fiche-d .its-claim-cta--pending .its-claim-cta__link { color: rgba(242, 229, 210, .75); font-weight: 600; }
@media (max-width: 680px) {
  body.its-fiche-d .its-claim-cta--hero-bottom { margin: 0 -16px; padding: 0 16px; }
  body.its-fiche-d .its-claim-cta--hero-bottom .its-claim-cta__link { justify-content: center; min-height: 44px; font-size: 13px; }
}
/* Photo resserrée : bord gauche fondu dans le teal (il tombait net). */
@media (min-width: 681px) {
  .comp-hero--cinema.comp-hero--photo-sd .comp-photo { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 38%); mask-image: linear-gradient(to right, transparent 0, #000 38%); }
}
/* Étiquette « Blessé » : pas d'ombre portée héritée du haut de fiche (halo flou). */
body.its-fiche-d .fd-blessure-tag { text-shadow: none; }
/* Zone pro : les chiffres par équipe (matchs joués, titularisations, temps de jeu)
   sur leur propre rangée ; chaque rangée se remplit (Félix 11/10). */
.fd-pro-saut { flex: 0 0 100%; height: 0; }
.fd-pro-info--eq { flex: 1 1 calc(33.333% - 28px); }
/* État physique : « Blessé » en gras, le détail à la suite, même ligne. */
.fd-pro-ligne { display: block; }
.fd-pro-detail { font-weight: 600; color: rgba(242, 229, 210, .8); }
/* Mobile : filtres de section sur deux colonnes, sans défilement ni filtre
   coupé au bord (Félix 11/10 : « là aussi c'est coupé »). */
@media (max-width: 680px) {
  body.its-fiche-d .inline-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; overflow: visible; margin-right: 0; padding-right: 0; }
  body.its-fiche-d .inline-filters .if-dd-wrap { min-width: 0; width: 100%; }
  body.its-fiche-d .inline-filters .if-dd-btn { width: 100%; justify-content: space-between; height: 36px; padding: 0 10px; font-size: 13px; }
  body.its-fiche-d .inline-filters .if-dd-btn .if-val { max-width: none; flex: 1 1 auto; min-width: 0; text-align: left; }
  body.its-fiche-d .inline-filters .filter-reset-btn { width: 100%; height: 36px; }
  /* « Réinitialiser » sur sa propre ligne : les filtres vont par deux, pas de trou. */
  body.its-fiche-d .inline-filters .filter-reset-btn { grid-column: 1 / -1; }
  body.its-fiche-d .inline-filters .if-dd-menu { min-width: 100%; }
}
/* Écran tactile : pas d'état « survol » qui reste collé après un appui
   (le filtre touché restait plein teal) ; seul le menu ouvert est plein. */
@media (hover: none) {
  body.its-fiche-d .section .if-dd-btn:hover:not(.open) { border-color: rgba(28, 61, 52, .35); background: transparent; color: var(--teal); }
  body.its-fiche-d .section .if-dd-btn:hover:not(.open) .if-val,
  body.its-fiche-d .section .if-dd-btn:hover:not(.open) .if-arr { color: var(--teal); }
}

/* ══ Haut de fiche équipe / compétition (.team-hero--d, 11/10) ══════════
   Même grammaire que .comp-hero--d : teal, logo en filigrane à droite, nom
   en grand, filtres au contour vanilla, bande d'infos dessous. */
.team-hero.team-hero--d { position: relative; isolation: isolate; overflow: hidden; background: var(--teal); color: var(--vanilla); }
.team-hero--d .team-hero-inner { position: relative; z-index: 2; display: block; max-width: 1240px; min-height: 0; margin: 0 auto; padding: 52px 24px 44px; }
.team-hero--d .team-info-col { padding: 0; display: flex; flex-direction: column; justify-content: flex-start; gap: 16px; max-width: 900px; }
.team-hero--d .comp-name-row { align-items: center; gap: 12px 16px; }
.team-hero--d .team-name { margin: 0; font-size: clamp(36px, 4.6vw, 64px); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; color: var(--vanilla); }
.team-hero--d .team-sub { margin: 0; font-size: 15px; font-weight: 600; color: rgba(242, 229, 210, .72); }
.team-hero--d .team-desc { max-width: 68ch; margin: 0; font-size: 15px; line-height: 1.6; color: rgba(242, 229, 210, .85); }
.team-hero--d .comp-name-row .if-dd-btn { height: 34px; padding: 0 12px; border: 1px solid rgba(242, 229, 210, .45); background: transparent; color: var(--vanilla); font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.team-hero--d .comp-name-row .if-dd-btn .if-val,
.team-hero--d .comp-name-row .if-dd-btn .if-arr { color: var(--vanilla); font-weight: 700; }
.team-hero--d .comp-name-row .if-dd-btn:hover,
.team-hero--d .comp-name-row .if-dd-btn.open { border-color: var(--vanilla); background: rgba(242, 229, 210, .08); }
.team-hero--d .comp-saison-lbl { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border: 1px solid rgba(242, 229, 210, .45); font-size: 13px; font-weight: 700; color: var(--vanilla); }
.team-hero--d .its-page-follow-btn { height: 34px; font-size: 13px; letter-spacing: 0; text-transform: none; }
.team-hero--d .fd-infos { margin-top: 4px; }
@media (max-width: 680px) {
  .team-hero--d .team-hero-inner { padding: 32px 16px 28px; }
  .team-hero--d .team-info-col { align-items: center; text-align: center; gap: 14px; }
  .team-hero--d .team-name { font-size: 34px; }
  .team-hero--d .comp-name-row { justify-content: center; }
  .team-hero--d .team-desc { font-size: 14px; text-align: left; }
}
/* Filigrane compétition : beaucoup de logos ont un fond plein (Top 14 sur
   carré noir) → pas d'inversion, gris fondu dans le teal, bords en dégradé
   radial pour effacer le carré. */
.team-hero--d .fd-fond-logo { opacity: .16; -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%); mask-image: radial-gradient(closest-side, #000 55%, transparent 100%); }
.team-hero--d .fd-fond-logo img { filter: grayscale(1) contrast(.9); mix-blend-mode: luminosity; }
/* Présentation : trois lignes au plus dans le haut de fiche. */
.team-hero--d .team-desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ══ Classement (fiche compétition refondue) ═══════════════════════════
   Zones : qualification teal, barrage sauge, relégation brique sourde —
   plus de vert vif ni d'orange (Félix : teal + vanilla). Logos devant les
   noms. Ligne de zone plus épaisse pour se lire sans légende. */
body.its-fiche-d tr.cls-sep-row td.cls-sep-line { padding: 0; height: 0; border-top-width: 3px; border-top-style: solid; }
body.its-fiche-d tr.cls-sep-row td.cls-sep-line.cls-zone-green,
body.its-fiche-d tr.cls-sep-row td.cls-sep-line.cls-zone-green-dark,
body.its-fiche-d tr.cls-sep-row td.cls-sep-line.cls-zone-green-light { border-top-color: var(--teal); }
body.its-fiche-d tr.cls-sep-row td.cls-sep-line.cls-zone-orange { border-top-color: var(--sage); }
body.its-fiche-d tr.cls-sep-row td.cls-sep-line.cls-zone-red { border-top-color: #A4543F; }
body.its-fiche-d .cls-legend-dot { width: 18px; height: 4px; }
body.its-fiche-d .cls-legend-dot.cls-zone-green,
body.its-fiche-d .cls-legend-dot.cls-zone-green-dark,
body.its-fiche-d .cls-legend-dot.cls-zone-green-light { background: var(--teal); }
body.its-fiche-d .cls-legend-dot.cls-zone-orange { background: var(--sage); }
body.its-fiche-d .cls-legend-dot.cls-zone-red { background: #A4543F; }
body.its-fiche-d #sec-classement .fd-eq { display: inline-flex; align-items: center; gap: 10px; }
body.its-fiche-d #sec-classement .fd-eq-logo { width: 22px; height: 22px; flex: none; }
body.its-fiche-d #sec-classement .fd-eq-logo img { width: 100%; height: 100%; object-fit: contain; }

/* ══ Résultats & calendrier (fiche compétition refondue) ════════════════
   Logos collés au score ; journées en bandeau clair (plus de grosses barres
   teal) ; chaîne TV en contour, pas en aplat. */
body.its-fiche-d #sec-matchs .its-j-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 44px; padding: 0 14px; border: 0; box-shadow: inset 0 -1px 0 rgba(28, 61, 52, .14); background: #FBF6EE; color: var(--teal); font-size: 14px; font-weight: 800; letter-spacing: 0; text-transform: none; text-align: left; }
body.its-fiche-d #sec-matchs .its-j-toggle.its-j-open { background: var(--white, #fff); box-shadow: inset 3px 0 0 var(--teal), inset 0 -1px 0 rgba(28, 61, 52, .14); }
body.its-fiche-d #sec-matchs .its-j-arrow { font-size: 11px; color: var(--muted); }
body.its-fiche-d #sec-matchs .its-j-group + .its-j-group { margin-top: 0; }
body.its-fiche-d #sec-matchs .fd-mc-eq { display: inline-flex; align-items: center; gap: 8px; }
body.its-fiche-d #sec-matchs .fd-mc-eq .fd-eq-logo { width: 22px; height: 22px; flex: none; }
body.its-fiche-d #sec-matchs .fd-mc-eq .fd-eq-logo img { width: 100%; height: 100%; object-fit: contain; }
body.its-fiche-d #sec-matchs .match-teams { font-size: 15px; }
body.its-fiche-d #sec-matchs .match-score { font-size: 18px; }
body.its-fiche-d #sec-matchs .match-diffuseur { display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border: 1px solid rgba(28, 61, 52, .3); background: none; color: var(--teal); font-size: 11px; font-weight: 700; letter-spacing: 0; text-transform: none; }
body.its-fiche-d #sec-matchs .match-venue,
body.its-fiche-d #sec-matchs .match-meteo { color: var(--muted); }
body.its-fiche-d #sec-matchs .match-diffuseur:has(> .match-placeholder:only-child) { border: 0; padding: 0; color: var(--border); }
/* Stats compétition : équipe alignée à gauche avec son logo, les trois premiers en gras. */
body.its-fiche-d.single-competition #sec-stats .data-table td:nth-child(3),
body.its-fiche-d.single-competition #sec-stats .data-table th:nth-child(3) { text-align: left; }
body.its-fiche-d.single-competition #sec-stats .fd-eq { display: inline-flex; align-items: center; gap: 8px; }
body.its-fiche-d.single-competition #sec-stats .fd-eq-logo { width: 20px; height: 20px; flex: none; }
body.its-fiche-d.single-competition #sec-stats .fd-eq-logo img { width: 100%; height: 100%; object-fit: contain; }
body.its-fiche-d.single-competition #sec-stats .data-table tbody tr:nth-child(-n+3) td:nth-child(2) { font-weight: 800; }

/* ══ Équipes de la compétition : tuiles logo + nom, rangées pleines ═════ */
body.its-fiche-d .archive-cards-grid.fd-eqs { display: grid; gap: 10px; }
.fd-eqs.fd-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fd-eqs.fd-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.fd-eqs.fd-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.fd-eqs.fd-cols-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.fd-eqs.fd-cols-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
body.its-fiche-d .fd-eqs .archive-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 132px; padding: 16px 10px; text-align: center; background: #fff; border: 0; box-shadow: inset 0 0 0 1px rgba(28, 61, 52, .1); text-decoration: none; }
body.its-fiche-d .fd-eqs a.archive-card:hover { box-shadow: inset 0 0 0 2px var(--teal); }
body.its-fiche-d .fd-eqs .archive-card-logo { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin: 0; background: none; }
body.its-fiche-d .fd-eqs .archive-card-logo .fd-eq-logo { width: 56px; height: 56px; }
body.its-fiche-d .fd-eqs .archive-card-logo img { width: 100%; height: 100%; object-fit: contain; }
body.its-fiche-d .fd-eqs .archive-card-body { padding: 0; }
body.its-fiche-d .fd-eqs .archive-card-title { font-size: 14px; font-weight: 700; line-height: 1.25; color: var(--teal); }
@media (max-width: 900px) {
  body.its-fiche-d .archive-cards-grid.fd-eqs.fd-tcols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.its-fiche-d .archive-cards-grid.fd-eqs.fd-tcols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  body.its-fiche-d .archive-cards-grid.fd-eqs.fd-tcols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  body.its-fiche-d .archive-cards-grid.fd-eqs.fd-mcols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.its-fiche-d .archive-cards-grid.fd-eqs.fd-mcols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.its-fiche-d .fd-eqs .archive-card { min-height: 112px; padding: 12px 6px; }
  body.its-fiche-d .fd-eqs .archive-card-title { font-size: 13px; }
}
/* Classement mobile : colonne équipe lisible (logo + abréviation), BP et BC
   retirés (la différence suffit), le reste à parts égales. */
@media (max-width: 680px) {
  body.its-fiche-d #sec-classement .cls-table { table-layout: fixed; width: 100%; }
  body.its-fiche-d #sec-classement .cls-table th,
  body.its-fiche-d #sec-classement .cls-table td { padding-left: 2px; padding-right: 2px; font-size: 12px; text-align: center; }
  body.its-fiche-d #sec-classement .cls-table th:nth-child(1) { width: 24px; }
  body.its-fiche-d #sec-classement .cls-table th:nth-child(2) { width: 86px; text-align: left; }
  body.its-fiche-d #sec-classement .cls-table td:nth-child(2) { text-align: left; }
  body.its-fiche-d #sec-classement .cls-table th:nth-last-child(2),
  body.its-fiche-d #sec-classement .cls-table td:nth-last-child(2),
  body.its-fiche-d #sec-classement .cls-table th:nth-last-child(3),
  body.its-fiche-d #sec-classement .cls-table td:nth-last-child(3) { display: none; }
  body.its-fiche-d #sec-classement .fd-eq { gap: 6px; }
  body.its-fiche-d #sec-classement .fd-eq-logo { width: 20px; height: 20px; }
  body.its-fiche-d #sec-classement tr.cls-sep-row td { padding: 0; }
}
/* Haut de fiche mobile : bande d'infos centrée, deux par ligne. */
@media (max-width: 680px) {
  .team-hero--d .fd-infos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; text-align: left; }
  .team-hero--d .fd-infos .fd-info:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
/* Mobile : un match = deux lignes « logo | équipe | score » (comme l'historique
   de la fiche joueur), au lieu d'un bloc centré aux logos tantôt à gauche,
   tantôt à droite (11/10). */
@media (max-width: 680px) {
  body.its-fiche-d #sec-matchs .match-teams { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; column-gap: 10px; row-gap: 6px; align-items: center; width: 100%; text-align: left; font-size: 15px; }
  body.its-fiche-d #sec-matchs .match-teams .team-home,
  body.its-fiche-d #sec-matchs .match-teams .team-away,
  body.its-fiche-d #sec-matchs .match-teams .match-score,
  body.its-fiche-d #sec-matchs .match-teams .match-score-link,
  body.its-fiche-d #sec-matchs .match-teams .fd-mc-eq { display: contents; }
  body.its-fiche-d #sec-matchs .fd-mc-eq--dom .fd-eq-logo { grid-column: 1; grid-row: 1; }
  body.its-fiche-d #sec-matchs .fd-mc-eq--dom .fd-mc-nom { grid-column: 2; grid-row: 1; }
  body.its-fiche-d #sec-matchs .match-teams .score-home { grid-column: 3; grid-row: 1; justify-self: end; }
  body.its-fiche-d #sec-matchs .fd-mc-eq--ext .fd-eq-logo { grid-column: 1; grid-row: 2; }
  body.its-fiche-d #sec-matchs .fd-mc-eq--ext .fd-mc-nom { grid-column: 2; grid-row: 2; }
  body.its-fiche-d #sec-matchs .match-teams .score-away { grid-column: 3; grid-row: 2; justify-self: end; }
  body.its-fiche-d #sec-matchs .match-teams .match-score-link { font-size: 0; }
  body.its-fiche-d #sec-matchs .match-teams .score-home,
  body.its-fiche-d #sec-matchs .match-teams .score-away { font-size: 17px; font-variant-numeric: tabular-nums; }
  body.its-fiche-d #sec-matchs .match-teams .match-vs { grid-column: 3; grid-row: 1 / span 2; align-self: center; font-size: 12px; }
  body.its-fiche-d #sec-matchs .fd-mc-nom { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (max-width: 680px) {
  body.its-fiche-d #sec-matchs .fd-mc-nom { justify-self: start; text-align: left; font-weight: 800; color: var(--teal); }
  body.its-fiche-d #sec-matchs .fd-mc-eq.is-perdant .fd-mc-nom { font-weight: 600; color: var(--muted); }
}
/* Stats compétition, mobile : l'équipe se lit par son logo (nom gardé pour
   les lecteurs d'écran), rang sur une ligne, colonnes à largeur fixe. */
@media (max-width: 680px) {
  body.its-fiche-d.single-competition #sec-stats .data-table { table-layout: fixed; width: 100%; }
  body.its-fiche-d.single-competition #sec-stats .data-table th,
  body.its-fiche-d.single-competition #sec-stats .data-table td { padding-left: 4px; padding-right: 4px; font-size: 13px; }
  body.its-fiche-d.single-competition #sec-stats .data-table th:nth-child(1) { width: 26px; }
  body.its-fiche-d.single-competition #sec-stats .data-table th:nth-child(3) { width: 44px; text-align: center; }
  body.its-fiche-d.single-competition #sec-stats .data-table td:nth-child(3) { text-align: center; }
  body.its-fiche-d.single-competition #sec-stats .data-table th:nth-child(4) { width: 34px; }
  body.its-fiche-d.single-competition #sec-stats .data-table th:nth-child(5) { width: 54px; }
  body.its-fiche-d.single-competition #sec-stats .data-table td:nth-child(1) { white-space: nowrap; }
  body.its-fiche-d.single-competition #sec-stats .fd-eq { justify-content: center; }
  body.its-fiche-d.single-competition #sec-stats .fd-eq a,
  body.its-fiche-d.single-competition #sec-stats .fd-eq > span:not(.fd-eq-logo) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  body.its-fiche-d.single-competition #sec-stats .fd-eq-logo { width: 24px; height: 24px; }
}
/* La bande d'infos prend toute la largeur (elle passait à la ligne pour une case). */
@media (min-width: 681px) { .team-hero--d .team-info-col { max-width: none; } .team-hero--d .fd-infos { max-width: 74%; } }
/* Classement mobile : le logo suffit (Félix 11/10) ; le nom reste lisible par
   les lecteurs d'écran. Colonne équipe resserrée. */
@media (max-width: 680px) {
  body.its-fiche-d #sec-classement .cls-table th:nth-child(2) { width: 44px; text-align: center; }
  body.its-fiche-d #sec-classement .cls-table td:nth-child(2) { text-align: center; }
  body.its-fiche-d #sec-classement .fd-eq { justify-content: center; }
  /* Le lien vers l'équipe couvre toute la case : on touche le logo. */
  body.its-fiche-d #sec-classement .cls-table td:nth-child(2) { position: relative; }
  body.its-fiche-d #sec-classement .fd-eq > a { position: absolute; inset: 0; font-size: 0; color: transparent; }
  body.its-fiche-d #sec-classement .fd-eq > span:not(.fd-eq-logo) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  body.its-fiche-d #sec-classement .fd-eq-logo { width: 26px; height: 26px; }
}
/* Stats mobile : même principe, le logo de l'équipe reste cliquable. */
@media (max-width: 680px) {
  body.its-fiche-d.single-competition #sec-stats .data-table td:nth-child(3) { position: relative; }
  body.its-fiche-d.single-competition #sec-stats .fd-eq > a { position: absolute; inset: 0; width: auto; height: auto; clip: auto; font-size: 0; color: transparent; }
}

/* ══ Haut de fiche compétition en mode cinéma (visuel « logo sur stade ») ══
   Le visuel occupe les deux tiers droits, fondu dans le teal à gauche et en
   bas ; le texte reste sur le teal plein. Mobile : visuel en tête, texte dessous. */
.team-hero--cinema .fd-hero-photo { position: absolute; z-index: 0; top: 0; right: 0; bottom: 0; left: 34%; }
.team-hero--cinema .fd-hero-photo picture { display: contents; }
.team-hero--cinema .fd-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.team-hero--cinema .fd-hero-voile { position: absolute; inset: 0; background:
    linear-gradient(to right, #1C3D34 0, rgba(28, 61, 52, .9) 10%, rgba(28, 61, 52, .45) 30%, rgba(28, 61, 52, 0) 55%),
    linear-gradient(to top, rgba(28, 61, 52, .8) 0, rgba(28, 61, 52, 0) 35%); }
.team-hero--cinema .team-hero-inner { min-height: min(520px, 64svh); display: flex; align-items: flex-end; }
.team-hero--cinema .team-info-col { position: relative; z-index: 2; max-width: 760px; text-shadow: 0 1px 12px rgba(28, 61, 52, .55); }
.team-hero--cinema .fd-infos { max-width: none; }
@media (max-width: 680px) {
  .team-hero--cinema .fd-hero-photo { left: 0; bottom: auto; height: 58vw; }
  .team-hero--cinema .fd-hero-voile { background: linear-gradient(to top, #1C3D34 0, rgba(28, 61, 52, 0) 55%); }
  .team-hero--cinema .team-hero-inner { min-height: 0; display: block; padding-top: 44vw; }
}
/* Logo de la compétition posé sur la photo de stade, au centre de la zone photo. */
.team-hero--cinema .fd-hero-logo { position: absolute; z-index: 1; top: 50%; left: 58%; width: clamp(150px, 15vw, 220px); aspect-ratio: 1; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; }
.team-hero--cinema .fd-hero-logo picture { display: contents; }
.team-hero--cinema .fd-hero-logo img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .45)); }
@media (max-width: 680px) {
  .team-hero--cinema .fd-hero-logo { top: 44%; left: 50%; width: 34vw; }
}
/* Bord gauche de la photo fondu (une ligne de raccord se voyait). */
@media (min-width: 681px) {
  .team-hero--cinema .fd-hero-photo { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%); mask-image: linear-gradient(to right, transparent 0, #000 22%); }
}
/* Grain sur la photo et le logo (Félix 11/10 : « mettre du bruit dessus »),
   comme les visuels maison « logo sur stade » ; léger voile teal en plus. */
.team-hero--cinema .fd-hero-photo::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .55; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='2.6' intercept='-.8'/%3E%3CfeFuncG type='linear' slope='2.6' intercept='-.8'/%3E%3CfeFuncB type='linear' slope='2.6' intercept='-.8'/%3E%3CfeFuncA type='linear' slope='0' intercept='1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px; }
.team-hero--cinema .fd-hero-photo::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: rgba(28, 61, 52, .3); }
.team-hero--cinema .fd-hero-voile { z-index: 0; }
/* Retour arrière (Félix 11/10 : « c'est moche, le logo trop présent ») :
   plus de grain ; logo nettement plus petit, posé dans la photo. */
.team-hero--cinema .fd-hero-photo::after { content: none; display: none; }
.team-hero--cinema .fd-hero-photo::before { background: rgba(28, 61, 52, .2); }
.team-hero--cinema .fd-hero-logo { width: clamp(84px, 7vw, 112px); top: 46%; left: 62%; opacity: .94; }
.team-hero--cinema .fd-hero-logo img { filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .35)); }
@media (max-width: 680px) { .team-hero--cinema .fd-hero-logo { width: 22vw; top: 40%; left: 50%; } }
/* Logo de la compétition à gauche du nom (carré 64 px, coins nets). */
.team-hero--d .fd-titre-logo { display: inline-flex; flex: none; width: 64px; height: 64px; align-items: center; justify-content: center; }
.team-hero--d .fd-titre-logo picture { display: contents; }
.team-hero--d .fd-titre-logo img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .3)); }
@media (max-width: 680px) {
  .team-hero--d .fd-titre-logo { width: 52px; height: 52px; }
  .team-hero--d .comp-name-row .fd-titre-logo + .team-name { flex: 0 1 auto; }
}

/* ══ Haut de fiche compétition « comme la fiche club » (11/10) ══════════
   Panneau teal plus clair à gauche, logo en grand au centre ; textes à droite. */
.team-hero--panneau .team-hero-inner { display: grid; grid-template-columns: 340px minmax(0, 1fr); column-gap: 40px; align-items: stretch; padding-top: 0; padding-bottom: 0; }
.team-hero--panneau .fd-panneau { display: flex; align-items: center; justify-content: center; min-height: 380px; padding: 40px; background: rgba(242, 229, 210, .06); }
.team-hero--panneau .fd-panneau picture { display: contents; }
.team-hero--panneau .fd-panneau img { width: 100%; max-width: 240px; height: auto; max-height: 260px; object-fit: contain; }
.team-hero--panneau .team-info-col { align-self: center; padding: 40px 0; }
@media (max-width: 900px) {
  .team-hero--panneau .team-hero-inner { grid-template-columns: 240px minmax(0, 1fr); column-gap: 28px; }
  .team-hero--panneau .fd-panneau { min-height: 300px; padding: 28px; }
}
@media (max-width: 680px) {
  .team-hero--panneau .team-hero-inner { grid-template-columns: 1fr; padding: 0 16px 28px; }
  .team-hero--panneau .fd-panneau { min-height: 0; margin: 0 -16px; padding: 28px 16px; }
  .team-hero--panneau .fd-panneau img { max-width: 140px; max-height: 140px; }
  .team-hero--panneau .team-info-col { padding: 22px 0 0; }
}
/* Zone pro repliée : plus de fine bande au-dessus de la barre (Félix 11/10 :
   « pas très beau ») — elle disparaît, l'onglet « Profil Pro » de la barre la rouvre. */
body.its-fiche-d .fd-zone-pro.is-replie { display: none; }
.nav-interne--fiche .nav-pro-btn .its-lock { margin-right: 6px; vertical-align: -1px; }

/* ══ Haut de fiche compétition « comme la fiche match » (Félix 11/10) ════
   Centré ; logo en couleur à gauche du nom (112 px, liseré vanilla comme
   .md-logo) ; même logo en filigrane à gauche et à droite (réglages de
   .md-fond--logos) ; bande d'infos centrée sous un filet. */
.team-hero--match .team-hero-inner { display: block; max-width: 1240px; padding: 48px 24px 40px; text-align: center; }
.team-hero--match .team-info-col { align-items: center; max-width: none; margin: 0 auto; gap: 14px; text-shadow: none; }
.team-hero--match .comp-name-row { justify-content: center; align-items: center; gap: 14px 22px; }
.team-hero--match .fd-titre-logo { display: inline-flex; flex: none; width: 112px; height: 112px; align-items: center; justify-content: center; }
.team-hero--match .fd-titre-logo picture { display: contents; }
.team-hero--match .fd-titre-logo img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 1px rgba(242, 229, 210, .95)) drop-shadow(0 0 1px rgba(242, 229, 210, .95)) drop-shadow(0 8px 20px rgba(0, 0, 0, .3)); }
.team-hero--match .team-name { font-size: clamp(40px, 5vw, 72px); }
.team-hero--match .team-sub { margin-top: -4px; }
.team-hero--match .team-desc { max-width: 70ch; margin: 0 auto; -webkit-line-clamp: 2; }
.team-hero--match .fd-infos { justify-content: center; max-width: none; width: 100%; margin-top: 10px; padding-top: 20px; }
.team-hero--match .fd-info { align-items: center; text-align: center; }
.team-hero--match .fd-fond--duo { -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent 95%); mask-image: linear-gradient(to bottom, #000 35%, transparent 95%); }
.team-hero--match .fd-fond--duo .fd-fond-logo { position: absolute; top: 46%; width: min(30vw, 440px); aspect-ratio: 1; transform: translateY(-50%); opacity: .09; -webkit-mask-image: none; mask-image: none; }
.team-hero--match .fd-fond--duo .fd-fond-l { left: 4%; right: auto; }
.team-hero--match .fd-fond--duo .fd-fond-r { right: 4%; left: auto; }
.team-hero--match .fd-fond--duo img { filter: grayscale(1) brightness(0) invert(.95) sepia(.25); mix-blend-mode: normal; }
@media (max-width: 680px) {
  .team-hero--match .team-hero-inner { padding: 28px 16px 26px; }
  .team-hero--match .comp-name-row { flex-wrap: wrap; }
  .team-hero--match .fd-titre-logo { width: 72px; height: 72px; flex: 0 0 100%; }
  .team-hero--match .team-name { font-size: 36px; flex: 0 0 100%; }
  .team-hero--match .fd-fond--duo .fd-fond-logo { width: 52vw; top: 40%; }
  .team-hero--match .fd-fond--duo .fd-fond-l { left: -14vw; }
  .team-hero--match .fd-fond--duo .fd-fond-r { right: -14vw; }
  .team-hero--match .fd-infos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); text-align: center; }
}
/* Fond photo de stade plein cadre sous voile teal (fiche compétition, Félix 11/10). */
.team-hero--match .fd-fond-photo { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.team-hero--match .fd-fond-photo picture { display: contents; }
.team-hero--match .fd-fond-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.team-hero--match .fd-fond-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(28, 61, 52, .72) 0, rgba(28, 61, 52, .82) 55%, #1C3D34 100%); }
.team-hero--match .team-info-col { text-shadow: 0 1px 14px rgba(28, 61, 52, .6); }
/* Fiche joueur : haut de fiche moins haut (Félix 11/10 : « revoir la hauteur »),
   plus de grand vide au-dessus du nom. */
@media (min-width: 681px) {
  .comp-hero--cinema .comp-hero-inner { min-height: min(440px, 56svh); padding-top: 36px; padding-bottom: 32px; }
  .comp-hero--cinema .comp-photo img { object-position: 50% 20%; }
}
/* Filigrane du logo PAR-DESSUS la photo de stade (fond transparent, pas teal),
   fusion selon le fond du logo : détouré = silhouette claire (comme les
   matchs) ; fond blanc = « multiply » (le blanc disparaît) ; fond noir =
   « screen » (le noir disparaît). */
.team-hero--match .fd-fond--duo { z-index: 1; background: none; }
.team-hero--match .fd-fond--duo .fd-fond-logo { opacity: .14; }
.team-hero--match .fd-fond--t img { filter: grayscale(1) brightness(0) invert(.95) sepia(.25); mix-blend-mode: normal; }
.team-hero--match .fd-fond--c .fd-fond-logo { opacity: .35; mix-blend-mode: multiply; }
.team-hero--match .fd-fond--c img { filter: grayscale(1) contrast(1.4); mix-blend-mode: normal; }
.team-hero--match .fd-fond--s .fd-fond-logo { opacity: .22; mix-blend-mode: screen; }
.team-hero--match .fd-fond--s img { filter: grayscale(1) contrast(1.2); mix-blend-mode: normal; }
.team-hero--match .team-hero-inner { z-index: 2; }
/* Bords du logo fondus (le fond pas tout à fait uni laissait deviner un rectangle). */
.team-hero--match .fd-fond--c .fd-fond-logo,
.team-hero--match .fd-fond--s .fd-fond-logo { -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); }
/* Un seul logo, en fond à droite, plus grand (Félix 11/10 : pas trois fois le logo). */
.team-hero--match .fd-fond--duo .fd-fond-r { right: 6%; width: min(36vw, 520px); }
@media (max-width: 680px) { .team-hero--match .fd-fond--duo .fd-fond-r { right: -10vw; width: 70vw; } }

/* ══ Compétition « comme le haut de fiche joueur » (Félix 11/10) ════════
   Texte à gauche, photo de stade sur les deux tiers droits (styles
   .team-hero--cinema déjà posés), logo en filigrane au milieu de la photo. */
.team-hero--joueur .team-hero-inner { text-align: left; }
.team-hero--joueur .team-info-col { align-items: flex-start; }
.team-hero--joueur .comp-name-row { justify-content: flex-start; }
.team-hero--joueur .fd-infos { justify-content: flex-start; }
.team-hero--joueur .fd-hero-photo::before,
.team-hero--joueur .fd-hero-photo::after { content: none; display: none; }
.team-hero--joueur .fd-hero-fili { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.team-hero--joueur .fd-hero-fili .fd-fond-logo { position: absolute; top: 46%; left: 60%; width: min(30vw, 420px); aspect-ratio: 1; transform: translate(-50%, -50%); opacity: .5; }
.team-hero--joueur .fd-hero-fili .fd-fond-logo picture { display: contents; }
.team-hero--joueur .fd-hero-fili img { width: 100%; height: 100%; object-fit: contain; }
.team-hero--joueur .fd-hero-fili.fd-fond--t img { filter: grayscale(1) brightness(0) invert(.95) sepia(.25); }
.team-hero--joueur .fd-hero-fili.fd-fond--c .fd-fond-logo { mix-blend-mode: multiply; opacity: .55; }
.team-hero--joueur .fd-hero-fili.fd-fond--c img { filter: grayscale(1) contrast(1.4); }
.team-hero--joueur .fd-hero-fili.fd-fond--s .fd-fond-logo { mix-blend-mode: screen; opacity: .4; }
.team-hero--joueur .fd-hero-fili.fd-fond--s img { filter: grayscale(1) contrast(1.2); }
.team-hero--joueur .fd-hero-fili.fd-fond--c .fd-fond-logo,
.team-hero--joueur .fd-hero-fili.fd-fond--s .fd-fond-logo { -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); }
@media (max-width: 680px) {
  .team-hero--joueur .team-info-col { align-items: center; text-align: center; }
  .team-hero--joueur .comp-name-row { justify-content: center; }
  .team-hero--joueur .fd-hero-fili .fd-fond-logo { left: 50%; top: 45%; width: 42vw; }
}
/* Version « visuel maison » (Félix 11/10 : la fusion était « moche ») : photo
   assombrie et teintée teal, logo en couleur, net, sans fusion ni filtre. */
.team-hero--joueur .fd-hero-photo img { filter: saturate(.55) brightness(.62); }
.team-hero--joueur .fd-hero-photo::before { content: ""; display: block; position: absolute; inset: 0; z-index: 0; background: rgba(28, 61, 52, .38); mix-blend-mode: multiply; }
.team-hero--joueur .fd-hero-fili .fd-fond-logo,
.team-hero--joueur .fd-hero-fili.fd-fond--c .fd-fond-logo,
.team-hero--joueur .fd-hero-fili.fd-fond--s .fd-fond-logo { width: min(15vw, 210px); opacity: 1; mix-blend-mode: normal; -webkit-mask-image: none; mask-image: none; }
.team-hero--joueur .fd-hero-fili img,
.team-hero--joueur .fd-hero-fili.fd-fond--t img,
.team-hero--joueur .fd-hero-fili.fd-fond--c img,
.team-hero--joueur .fd-hero-fili.fd-fond--s img { filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .45)); }
@media (max-width: 680px) { .team-hero--joueur .fd-hero-fili .fd-fond-logo { width: 32vw; } }

/* Plus de filtre noir sur la photo (Félix 11/10) : couleurs d'origine, seul un
   voile teal léger côté texte. */
.team-hero--joueur .fd-hero-photo img,
.team-hero--affiche .fd-hero-photo img { filter: none; }
.team-hero--joueur .fd-hero-photo::before { background: rgba(28, 61, 52, .12); mix-blend-mode: normal; }

/* Logo « badge » à côté du nom (variantes a, b, c). */
.team-hero--d .fd-titre-logo { display: inline-flex; flex: none; width: 96px; height: 96px; align-items: center; justify-content: center; }
.team-hero--d .fd-titre-logo picture { display: contents; }
.team-hero--d .fd-titre-logo img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 1px rgba(242, 229, 210, .9)) drop-shadow(0 6px 18px rgba(0, 0, 0, .3)); }

/* Variante a « affiche » : photo plein cadre, voile teal, tout centré, logo au-dessus du nom. */
.team-hero--affiche .fd-hero-photo { position: absolute; inset: 0; z-index: 0; }
.team-hero--affiche .fd-hero-photo picture { display: contents; }
.team-hero--affiche .fd-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.team-hero--affiche .fd-hero-voile { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(28, 61, 52, .55) 0, rgba(28, 61, 52, .7) 50%, #1C3D34 100%); }
.team-hero--affiche .team-hero-inner { display: block; min-height: 0; padding: 44px 24px 40px; text-align: center; }
.team-hero--affiche .team-info-col { align-items: center; max-width: none; margin: 0 auto; text-shadow: 0 1px 14px rgba(28, 61, 52, .7); }
.team-hero--affiche .comp-name-row { flex-direction: column; justify-content: center; gap: 14px; }
.team-hero--affiche .fd-titre-logo { width: 120px; height: 120px; }
.team-hero--affiche .team-desc { margin: 0 auto; -webkit-line-clamp: 2; }
.team-hero--affiche .fd-infos { justify-content: center; max-width: none; width: 100%; }
.team-hero--affiche .fd-info { align-items: center; text-align: center; }

/* Variante c : photo seule (pas de logo dessus), le logo à côté du nom. */
.team-hero--c .comp-name-row { align-items: center; }
@media (max-width: 680px) {
  .team-hero--affiche .fd-titre-logo { width: 84px; height: 84px; }
  .team-hero--d .fd-titre-logo { width: 72px; height: 72px; }
}
/* Variante D retenue (Félix 11/10) : le logo en SURIMPRESSION sur la photo,
   comme les logos des équipes sur une fiche match — silhouette claire, grande,
   translucide. Selon le fond du logo : détouré → silhouette vanilla ; fond
   noir → « screen » (le noir s'efface) ; fond blanc → inversé puis « screen ». */
.team-hero--joueur:not(.team-hero--c) .fd-hero-fili .fd-fond-logo { width: min(30vw, 420px); opacity: .32; -webkit-mask-image: none; mask-image: none; }
.team-hero--joueur .fd-hero-fili.fd-fond--t img { filter: grayscale(1) brightness(0) invert(.95) sepia(.25); }
.team-hero--joueur .fd-hero-fili.fd-fond--s .fd-fond-logo { mix-blend-mode: screen; opacity: .45; }
.team-hero--joueur .fd-hero-fili.fd-fond--s img { filter: grayscale(1) contrast(1.3) sepia(.2); }
.team-hero--joueur .fd-hero-fili.fd-fond--c .fd-fond-logo { mix-blend-mode: screen; opacity: .45; }
.team-hero--joueur .fd-hero-fili.fd-fond--c img { filter: grayscale(1) invert(1) contrast(1.3) sepia(.2); }
@media (max-width: 680px) { .team-hero--joueur:not(.team-hero--c) .fd-hero-fili .fd-fond-logo { width: 58vw; } }
/* Le fond « presque noir » du logo laissait un carré gris : contraste poussé
   pour qu'il devienne noir pur, donc invisible en « screen ». */
.team-hero--joueur .fd-hero-fili.fd-fond--s img { filter: grayscale(1) contrast(2.2); }
.team-hero--joueur .fd-hero-fili.fd-fond--c img { filter: grayscale(1) invert(1) contrast(2.2); }
/* La fusion ne traversait pas le calque (z-index = contexte isolé) : elle est
   portée par le calque lui-même, qui se fond dans la photo. */
.team-hero--joueur .fd-hero-fili.fd-fond--s,
.team-hero--joueur .fd-hero-fili.fd-fond--c { mix-blend-mode: screen; }
.team-hero--joueur .fd-hero-fili.fd-fond--s .fd-fond-logo,
.team-hero--joueur .fd-hero-fili.fd-fond--c .fd-fond-logo { mix-blend-mode: normal; }
/* Logo lisible : voile TEAL (pas noir) plus marqué sur toute la photo, comme
   sur une fiche match, et surimpression plus opaque (Félix 11/10 : « on ne
   voit pas le logo »). */
.team-hero--joueur:not(.team-hero--c) .fd-hero-photo::before { content: ""; display: block; position: absolute; inset: 0; z-index: 0; background: rgba(28, 61, 52, .58); mix-blend-mode: normal; }
.team-hero--joueur:not(.team-hero--c) .fd-hero-fili .fd-fond-logo { top: 50%; opacity: .7; }
.team-hero--joueur .fd-hero-fili.fd-fond--s .fd-fond-logo,
.team-hero--joueur .fd-hero-fili.fd-fond--c .fd-fond-logo { opacity: .85; }
/* Ordre des calques de la photo : image, voile teal, dégradé, logo. */
.team-hero--joueur .fd-hero-photo img { z-index: 0; }
.team-hero--joueur:not(.team-hero--c) .fd-hero-photo::before { z-index: 1; }
.team-hero--joueur .fd-hero-voile { z-index: 1; }
.team-hero--joueur .fd-hero-fili { z-index: 2; }
/* Même hauteur que le haut de fiche joueur (Félix 11/10 : « un trou en haut »). */
@media (min-width: 681px) {
  .team-hero--cinema .team-hero-inner { min-height: min(440px, 56svh); padding-top: 36px; padding-bottom: 32px; }
}
/* Mobile : le logo ne chevauche plus le nom — plus petit, centré dans la
   photo, et le texte commence sous la photo (Félix 11/10 : « pas lisible »). */
@media (max-width: 680px) {
  .team-hero--cinema .fd-hero-photo { height: 56vw; }
  .team-hero--joueur:not(.team-hero--c) .fd-hero-fili .fd-fond-logo { width: 34vw; top: 46%; left: 50%; }
  .team-hero--cinema .team-hero-inner { padding-top: calc(56vw + 8px); }
  .team-hero--cinema .fd-hero-voile { background: linear-gradient(to top, #1C3D34 0, rgba(28, 61, 52, 0) 40%); }
}
/* Bandeau de journée détaché par une couleur (Félix 11/10) : sauge clair,
   texte teal ; la journée ouverte en sauge, trait teal à gauche. */
body.its-fiche-d #sec-matchs .its-j-toggle { background: var(--sage-lt); box-shadow: inset 0 -1px 0 rgba(28, 61, 52, .14); }
body.its-fiche-d #sec-matchs .its-j-toggle.its-j-open { background: var(--sage); box-shadow: inset 4px 0 0 var(--teal); color: var(--teal); }
body.its-fiche-d #sec-matchs .its-j-toggle.its-j-open .its-j-arrow { color: var(--teal); }

/* Onglets : on garde le dessin de la fiche match (texte, trait teal sous
   l'onglet actif) — retour arrière sur les boutons encadrés (Félix 11/10). */
body.its-fiche-d .section .ps-tab { margin: 0; }
/* Stats mobile : colonnes Équipe / MJ / Points plus espacées (Félix 11/10). */
@media (max-width: 680px) {
  body.its-fiche-d.single-competition #sec-stats .data-table th:nth-child(3) { width: 64px; }
  body.its-fiche-d.single-competition #sec-stats .data-table th:nth-child(4) { width: 48px; }
  body.its-fiche-d.single-competition #sec-stats .data-table th:nth-child(5) { width: 68px; }
  body.its-fiche-d.single-competition #sec-stats .data-table th:nth-child(n+3),
  body.its-fiche-d.single-competition #sec-stats .data-table td:nth-child(n+3) { text-align: center; }
}
/* Moyenne par match (stats compétition). */
body.its-fiche-d.single-competition #sec-stats .data-table td.fd-moy { color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 680px) {
  body.its-fiche-d.single-competition #sec-stats .data-table th:nth-child(3) { width: 48px; }
  body.its-fiche-d.single-competition #sec-stats .data-table th:nth-child(4) { width: 34px; }
  body.its-fiche-d.single-competition #sec-stats .data-table th:nth-child(5) { width: 50px; }
  body.its-fiche-d.single-competition #sec-stats .data-table th:nth-child(6) { width: 56px; font-size: 11px; white-space: normal; line-height: 1.15; }
  body.its-fiche-d.single-competition #sec-stats .data-table td:nth-child(6) { text-align: center; }
}
/* Panneaux d'onglets de la compétition : plus de cadre blanc autour des
   tableaux (Félix 11/10 : « pourquoi une marge au tableau ») — le tableau
   va de bord à bord, comme sur la fiche joueur. */
body.its-fiche-d.single-competition .ps-panel.on { padding: 0; border: 0; background: none; }
@media (max-width: 680px) {
  body.its-fiche-d.single-competition #sec-stats .data-table th:nth-child(6) { width: 62px; }
}
/* Stats mobile : colonnes de droite plus écartées (Félix 11/10). */
@media (max-width: 680px) {
  body.its-fiche-d.single-competition #sec-stats .data-table th:nth-child(3) { width: 58px; }
  body.its-fiche-d.single-competition #sec-stats .data-table th:nth-child(4) { width: 46px; }
  body.its-fiche-d.single-competition #sec-stats .data-table th:nth-child(5) { width: 58px; }
  body.its-fiche-d.single-competition #sec-stats .data-table th:nth-child(6) { width: 70px; }
  body.its-fiche-d.single-competition #sec-stats .data-table td:nth-child(2) { line-height: 1.25; }
}
/* Stats compétition : colonnes réparties sur toute la largeur (plus de grand
   vide après le nom du joueur, Félix 11/10). */
body.its-fiche-d.single-competition #sec-stats .data-table { table-layout: fixed; width: 100%; }
body.its-fiche-d.single-competition #sec-stats .data-table th:nth-child(1) { width: 6%; }
body.its-fiche-d.single-competition #sec-stats .data-table th:nth-child(2) { width: 30%; }
body.its-fiche-d.single-competition #sec-stats .data-table th:nth-child(3) { width: 22%; }
body.its-fiche-d.single-competition #sec-stats .data-table th:nth-child(4) { width: 12%; text-align: center; }
body.its-fiche-d.single-competition #sec-stats .data-table th:nth-child(5) { width: 14%; text-align: center; }
body.its-fiche-d.single-competition #sec-stats .data-table th:nth-child(6) { width: 16%; text-align: center; }
body.its-fiche-d.single-competition #sec-stats .data-table td:nth-child(n+4) { text-align: center; }
@media (max-width: 680px) {
  body.its-fiche-d.single-competition #sec-stats .data-table th:nth-child(1) { width: 8%; }
  body.its-fiche-d.single-competition #sec-stats .data-table th:nth-child(2) { width: 34%; }
  body.its-fiche-d.single-competition #sec-stats .data-table th:nth-child(3) { width: 15%; }
  body.its-fiche-d.single-competition #sec-stats .data-table th:nth-child(4) { width: 12%; }
  body.its-fiche-d.single-competition #sec-stats .data-table th:nth-child(5) { width: 14%; }
  body.its-fiche-d.single-competition #sec-stats .data-table th:nth-child(6) { width: 17%; }
}
/* Nouveaux tableaux de stats (attaque, défense, buteurs…) : largeurs libres,
   les réglages en % des tableaux marqueurs/essayeurs ne s'appliquent pas. */
body.its-fiche-d.single-competition #sec-stats .data-table.fd-stats-x { table-layout: auto; }
body.its-fiche-d.single-competition #sec-stats .data-table.fd-stats-x th { width: auto; }
body.its-fiche-d.single-competition #sec-stats .data-table.fd-stats-x th:nth-child(1) { width: 40px; }
body.its-fiche-d.single-competition #sec-stats .data-table.fd-stats-x th:nth-child(n+3),
body.its-fiche-d.single-competition #sec-stats .data-table.fd-stats-x td:nth-child(n+3) { text-align: center; }
body.its-fiche-d.single-competition #sec-stats .data-table.fd-stats-x td:nth-child(2),
body.its-fiche-d.single-competition #sec-stats .data-table.fd-stats-x th:nth-child(2) { text-align: left; }
@media (max-width: 680px) {
  body.its-fiche-d.single-competition #sec-stats .data-table.fd-stats-x th { width: auto; white-space: nowrap; font-size: 11px; }
  body.its-fiche-d.single-competition #sec-stats .data-table.fd-stats-x th:nth-child(1) { width: 24px; }
}
body.its-fiche-d.single-competition #sec-stats .data-table.fd-stats-x th:nth-child(3),
body.its-fiche-d.single-competition #sec-stats .data-table.fd-stats-x td:nth-child(3) { text-align: left; }
/* Onglets de stats regroupés : « Joueurs » puis « Équipes », séparés. */
body.its-fiche-d .fd-tabs-grp { align-items: center; }
body.its-fiche-d .fd-tabs-lbl { flex: none; padding: 0 6px 0 0; font-size: 12px; font-weight: 700; color: rgba(28, 61, 52, .55); }
body.its-fiche-d .fd-tabs-lbl--sep { margin-left: 18px; padding-left: 18px; box-shadow: inset 1px 0 0 rgba(28, 61, 52, .2); }
@media (max-width: 680px) {
  body.its-fiche-d .fd-tabs-grp { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  body.its-fiche-d .fd-tabs-grp .ps-tab { flex: none; }
}
/* Mobile : une ligne par groupe — « Joueurs » puis « Équipes » dessous,
   sans défilement caché (Félix 11/10 : le regroupement ne se voyait pas). */
.fd-tabs-br { display: none; }
@media (max-width: 680px) {
  body.its-fiche-d .fd-tabs-grp { flex-wrap: wrap; overflow: visible; row-gap: 2px; }
  body.its-fiche-d .fd-tabs-grp .fd-tabs-br { display: block; flex: 0 0 100%; height: 0; }
  body.its-fiche-d .fd-tabs-lbl { flex: 0 0 64px; padding: 0; }
  body.its-fiche-d .fd-tabs-lbl--sep { margin-left: 0; padding-left: 0; box-shadow: none; }
  body.its-fiche-d .fd-tabs-grp .ps-tab { padding: 10px 10px; font-size: 13px; }
}

/* Stats compétition : groupes en onglets, catégories en pastilles (11/10). */
body.its-fiche-d .fd-stats-groupes { margin-bottom: 12px; }
body.its-fiche-d .fd-stats-sous { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
body.its-fiche-d .fd-stats-sous .ps-tab.fd-pastille { display: inline-flex; align-items: center; height: 32px; min-height: 0; margin: 0; padding: 0 14px; border: 1px solid rgba(28, 61, 52, .3); border-radius: 0; background: transparent; color: var(--teal); font-size: 13px; font-weight: 700; }
body.its-fiche-d .fd-stats-sous .ps-tab.fd-pastille.on { border-color: var(--teal); background: var(--teal); color: var(--vanilla); }
body.its-fiche-d .fd-stats-sous .ps-tab.fd-pastille[hidden] { display: none; }
@media (hover: hover) { body.its-fiche-d .fd-stats-sous .ps-tab.fd-pastille:not(.on):hover { border-color: var(--teal); } }
@media (max-width: 680px) {
  body.its-fiche-d .fd-stats-sous { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
  body.its-fiche-d .fd-stats-sous .ps-tab.fd-pastille { flex: none; }
}
/* Pastille d'un classement réservé aux inscrits : petit cadenas. */
body.its-fiche-d .fd-stats-sous .ps-tab.is-verrou { gap: 6px; }
body.its-fiche-d .fd-stats-sous .ps-tab.is-verrou .its-lock { width: .85em; height: .85em; opacity: .7; }
