/*
 * LES PAGES « ÉQUIPES » ET « JOUEURS » DE TOUT SPLATELO (11 octobre 2026 ;
 * maquette « Équipes et Joueurs » v2 validée par Dimitri).
 * Classes préfixées vt- (vitrine). Les couleurs viennent de style.css.
 * Utilisé par equipe.html (et les pages des lots suivants).
 */
.vt { display: grid; gap: 16px; }
.vt-or { --vt-med: #ffd23d; } .vt-argent { --vt-med: #d6d3e4; } .vt-bronze { --vt-med: #e0995e; }

/* Badges de sorte d'équipe ou de compétition */
.vt-bd { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 800; border-radius: 999px; padding: 1px 8px; white-space: nowrap; letter-spacing: .02em; }
.vt-bd.lig { background: rgba(111,168,255,.14); color: #9cc2ff; }
.vt-bd.spl { background: rgba(255,47,146,.14); color: #ff8fc4; }
.vt-bd.soir { background: rgba(255,225,77,.12); color: var(--yellow); }
.vt-bd.tn { background: rgba(18,224,224,.12); color: var(--cyan); }
/* Équipe Splatelo supprimée (11 octobre 2026) : sa fiche reste, marquée. */
.vt-bd.sup { background: rgba(255,92,92,.12); color: #ff8f8f; }
.vt-supprimee { margin: -4px 0 14px; padding: 10px 12px; border-radius: 11px; border: 1px solid rgba(255,92,92,.28); background: rgba(255,92,92,.06); color: var(--body); }

/* Médailles (1, 2, 3) */
.vt-med { width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 10px; font-weight: 900; color: #0d0a14; background: var(--vt-med); flex-shrink: 0; }

/* Blocs */
.vt-bloc { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; gap: 10px; min-width: 0; }
.vt-bloc h2 { margin: 0; color: var(--text); font-size: 16px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.vt-bloc h2 small { color: var(--muted); font-weight: 600; font-size: 12px; }
.vt-note { font-size: 12.5px; color: var(--muted); margin: 0; }
.vt-cols { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); gap: 16px; align-items: start; }
.vt-cols > div { display: grid; gap: 16px; min-width: 0; }
/* Une seule colonne quand l'autre n'a rien à montrer (vueFicheEquipe, vueFicheJoueur). */
.vt-pile { display: grid; gap: 16px; min-width: 0; }
@media (max-width: 860px) { .vt-cols { grid-template-columns: minmax(0,1fr); } }
/* Lot 409 : la fiche d'une équipe et ses photos (vitrine-ui.mjs, colonnesFiche ; la page ajoute
   « avec-photos » quand elle en pose). Sans photo, la zone est cachée et rien ne bouge. */
.vt-c-ph[hidden] { display: none; }   /* « .vt-cols > div » (display: grid) l'emporterait sur hidden */
.vt-cols-fiche.sans-droite:not(.avec-photos) { grid-template-columns: minmax(0,1fr); }
.vt-cols-fiche.avec-photos { grid-template-areas: "g ph" "g d"; grid-template-rows: auto 1fr; }
.vt-cols-fiche.avec-photos > .vt-c-g { grid-area: g; }
.vt-cols-fiche.avec-photos > .vt-c-ph { grid-area: ph; }
.vt-cols-fiche.avec-photos > .vt-c-d { grid-area: d; align-self: start; }
/* Téléphone : les photos juste sous l'en-tête de l'équipe, avant l'effectif (réponse 2 de Dimitri). */
@media (max-width: 860px) { .vt-cols-fiche.avec-photos { grid-template-areas: "ph" "g" "d"; grid-template-rows: auto; } }

/* Le profil (bandeau du haut) */
.vt-profil { border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: linear-gradient(135deg, rgba(255,47,146,.08), rgba(18,224,224,.04));
  display: grid; grid-template-columns: auto minmax(0,1fr); gap: 16px; align-items: center; }
.vt-profil h1 { margin: 0; color: var(--text); font-size: clamp(20px, 4vw, 26px); text-wrap: balance; overflow-wrap: anywhere; }
.vt-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; align-items: center; font-size: 12.5px; color: var(--muted); }
.vt-chiffres { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
/* Peu de tuiles (une équipe sans tournoi : la seule tuile Ligue) : elles gardent une largeur de tuile. */
.vt-chiffres.peu { grid-template-columns: repeat(auto-fill, minmax(160px, 220px)); }
.vt-chiffres div { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; background: rgba(13,10,20,.45); }
.vt-chiffres small { display: block; font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.vt-chiffres b { color: var(--text); font-size: 18px; font-variant-numeric: tabular-nums; }
.vt-chiffres b em { font-style: normal; font-size: 11px; color: var(--muted); font-weight: 600; }

/* Effectif */
.vt-effectif { display: grid; grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)); gap: 8px; }
.vt-jc { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; background: var(--surface); color: inherit; min-width: 0; }
a.vt-jc:hover { border-color: rgba(255,255,255,.22); color: inherit; }
.vt-jc .vt-jt { min-width: 0; flex: 1; }
/* Le nom coupé (…) si besoin, la pastille C du capitaine jamais rognée. */
.vt-jc b { color: var(--text); display: flex; align-items: center; min-width: 0; font-size: 13.5px; }
.vt-jc .vt-nom { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt-jc .vt-tag { color: var(--muted); font-weight: 600; font-size: 11.5px; }
.vt-jc small { color: var(--muted); font-size: 11.5px; }
.vt-cap { flex: none; font-size: 9px; font-weight: 800; line-height: 1.5; background: var(--accent); color: #0d0a14; border-radius: 4px; padding: 0 4px; margin-left: 5px; }

/* Frise des derniers matchs */
.vt-frise { display: grid; gap: 6px; }
.vt-ev { display: grid; grid-template-columns: 64px minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; }
.vt-ev .d { font-size: 11.5px; color: var(--muted); }
/* Une ligne de match cliquable : le lien couvre toute la ligne, les autres
   liens de la ligne (nom de l'adversaire) passent par-dessus. */
.vt-ev-lien { position: relative; transition: border-color .15s, background .15s; }
.vt-ev-lien:hover { border-color: var(--accent); }
.vt-ev-a { position: absolute; inset: 0; border-radius: inherit; z-index: 0; }
.vt-ev-a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.vt-ev-lien a:not(.vt-ev-a) { position: relative; z-index: 1; }
.vt-ev b { color: var(--text); }
.vt-ev small { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: 11.5px; margin-top: 2px; }
.vt-ev .qui { display: flex; align-items: center; gap: 8px; min-width: 0; }
.vt-ev .qui > span { min-width: 0; }
.vt-ev .qui b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.vt-res { display: inline-flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.vt-res b { min-width: 28px; text-align: right; }
.vt-vd { font-style: normal; width: 18px; height: 18px; border-radius: 4px; font-size: 9.5px; font-weight: 900; display: inline-grid; place-items: center; }
.vt-vd.v { background: rgba(47,232,138,.16); color: var(--win); }
.vt-vd.d { background: rgba(255,138,153,.12); color: #ff8a99; }
@media (max-width: 520px) { .vt-ev { grid-template-columns: minmax(0,1fr) auto; } .vt-ev .d { grid-column: 1 / -1; } }

/* Tableaux */
.vt-tab { overflow-x: auto; }
.vt table { border-collapse: collapse; width: 100%; font-size: 13px; font-variant-numeric: tabular-nums; }
.vt th { text-align: left; color: var(--muted); font-weight: 700; font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; padding: 6px 8px; white-space: nowrap; }
.vt th.n, .vt td.n { text-align: right; }
.vt td { padding: 8px; border-top: 1px solid var(--line); white-space: nowrap; color: var(--body); }
.vt td a { color: var(--text); font-weight: 800; }
.vt td a:hover { color: var(--yellow); }
.vt td small { color: var(--muted); }
/* Pas d'ascenseur dans un tableau (règle de Dimitri) : les noms passent à la ligne au lieu de pousser la largeur. */
.vt td:first-child, .vt td.w { white-space: normal; overflow-wrap: anywhere; }
.vt td:first-child { min-width: 120px; }
.vt-pl { font-weight: 800; color: var(--text); }
/* Sur téléphone, la série sous le nom du tournoi prend trop de place : on la cache. */
@media (max-width: 520px) { .vt td:first-child small { display: none; } }
.vt-pl.p1 { color: #ffd23d; } .vt-pl.p2 { color: #d6d3e4; } .vt-pl.p3 { color: #e0995e; }

/* Palmarès */
.vt-trophees { display: grid; gap: 6px; }
.vt-tr { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.vt-tr b { color: var(--text); }
.vt-tr small { color: var(--muted); }

/* Lien vers la fiche de Ligue */
.vt-lien-ligue { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; border: 1px dashed rgba(111,168,255,.4); border-radius: 12px; padding: 12px; background: rgba(111,168,255,.05); font-size: 13px; }
.vt-lien-ligue b { color: #9cc2ff; }
.vt-lien-ligue a { margin-left: auto; font-weight: 700; white-space: nowrap; }

/* ══════ La page « Équipes » ══════ */
.vt-bloc h2 .vt-a-droite { margin-left: auto; font-size: 12.5px; font-weight: 700; }
.vt-une { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.vt-carte { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: var(--surface); display: grid; gap: 8px; align-content: start; color: inherit; min-width: 0; }
a.vt-carte:hover { border-color: rgba(255,255,255,.22); color: inherit; }
.vt-carte .k { font-size: 11px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.vt-carte.or { border-color: rgba(255,210,61,.45); background: linear-gradient(180deg, rgba(255,210,61,.1), var(--surface) 70%); }
.vt-carte.or .k { color: #ffd23d; }
.vt-carte.lgc { border-color: rgba(111,168,255,.4); background: linear-gradient(180deg, rgba(111,168,255,.09), var(--surface) 70%); }
.vt-carte.lgc .k { color: #9cc2ff; }
.vt-carte.creer { border-style: dashed; place-content: center; text-align: center; }
.vt-carte.creer b { color: var(--cyan); }
.vt-carte .id { display: flex; align-items: center; gap: 10px; min-width: 0; }
.vt-carte .id > span:last-child { min-width: 0; }
.vt-carte .id b { color: var(--text); font-size: 15px; display: block; overflow-wrap: anywhere; }
.vt-carte .id small { color: var(--muted); display: flex; gap: 4px; flex-wrap: wrap; }
.vt-carte .chiffres { display: flex; gap: 14px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.vt-carte .chiffres b { color: var(--text); }
.vt-carte .vt-tr { font-size: 13px; }
.vt-carte .vt-tr b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-carte .vt-tr .sc { font-weight: 800; color: var(--text); font-size: 15px; font-variant-numeric: tabular-nums; }
.vt-carte .vt-tr .rg { width: 16px; font-weight: 800; color: var(--text); flex-shrink: 0; }
.vt-serie { display: inline-flex; gap: 3px; flex-wrap: wrap; }

/* Recherche et filtres */
.vt-outils { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.vt-rech { flex: 1; min-width: 200px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 9px 12px; background: var(--surface); color: var(--text); font: inherit; font-size: 14px; }
.vt-rech::placeholder { color: var(--muted); }
.vt-puces { display: flex; gap: 6px; flex-wrap: wrap; }
.vt-puces button { font: inherit; font-size: 12.5px; font-weight: 700; padding: 5px 11px; border-radius: 999px; cursor: pointer; color: var(--muted); border: 1px solid var(--surface2); background: var(--surface); }
.vt-puces button[aria-pressed="true"] { color: #0d0a14; background: var(--text); border-color: var(--text); }
.vt-tri { margin-left: auto; font-size: 12.5px; color: var(--muted); display: flex; gap: 4px; align-items: center; flex-wrap: wrap; font-weight: 600; }
.vt-tri button { font: inherit; background: none; border: 0; padding: 0 2px; cursor: pointer; color: var(--muted); }
.vt-tri button[aria-pressed="true"] { color: var(--text); font-weight: 800; }
/* Le menu « une édition » sous une série (page Statistiques, 14 octobre 2026) : juste après les puces. */
.vt-tri.vt-edition { margin-left: 0; }
.vt-edition select { font: inherit; font-size: 12.5px; background: rgba(13,10,20,.6); color: var(--text); border: 1px solid var(--surface2); border-radius: 9px; padding: 5px 8px; color-scheme: dark; max-width: 100%; }

/* Annuaire */
.vt-liste { display: grid; gap: 6px; }
.vt-ligne { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1.2fr) minmax(0,1fr) auto; gap: 6px 14px; align-items: center; padding: 10px 12px;
  border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: inherit; }
a.vt-ligne:hover { border-color: rgba(255,255,255,.22); color: inherit; }
.vt-ligne .qui { display: flex; align-items: center; gap: 10px; min-width: 0; }
.vt-ligne .qui > span:last-child { min-width: 0; }
.vt-ligne .qui b { color: var(--text); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt-ligne .qui small { color: var(--muted); font-size: 12px; }
.vt-ligne .tags { display: flex; gap: 4px; flex-wrap: wrap; }
.vt-ligne .act { font-size: 12px; color: var(--muted); }
.vt-ligne .act b { color: var(--body); }
.vt-ligne .pal { display: flex; gap: 4px; align-items: center; justify-content: flex-end; min-width: 20px; }
@media (max-width: 700px) {
  .vt-ligne { grid-template-columns: minmax(0,1fr) auto; }
  .vt-ligne .qui { grid-column: 1; }
  .vt-ligne .pal { grid-column: 2; grid-row: 1; }
  .vt-ligne .tags, .vt-ligne .act { grid-column: 1 / -1; }
}
.vt-plus { justify-self: center; font: inherit; font-size: 13px; font-weight: 700; padding: 7px 16px; border-radius: 999px; cursor: pointer; color: var(--cyan); background: none; border: 1px solid rgba(18,224,224,.35); }
.vt-logos { display: flex; flex-wrap: wrap; }
.vt-logos > * + * { margin-left: -4px; }

/* ══════ Joueurs ══════ */
.vt-armes { display: grid; gap: 8px; }
.vt-arme { display: grid; grid-template-columns: minmax(0,1fr); gap: 4px; font-size: 13px; }
.vt-arme b { color: var(--text); }
.vt-arme small { color: var(--muted); }
.vt-barre { height: 6px; border-radius: 999px; background: var(--surface2); overflow: hidden; }
.vt-barre span { display: block; height: 100%; background: #a78bfa; }
.vt-leader { display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 6px 0; border-top: 1px solid var(--line); }
.vt-leader:first-of-type { border-top: 0; }
.vt-leader > span:first-child { flex: 1; min-width: 0; }
.vt-leader small { color: var(--muted); display: block; font-size: 11.5px; }
.vt-leader .qui { display: flex; align-items: center; gap: 8px; min-width: 0; }
.vt-leader .qui b { color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt-leader > b { color: var(--text); font-size: 16px; font-variant-numeric: tabular-nums; }

/* ══════════ Fiche joueur : les trois familles de stats (maquette du 11 octobre 2026) ══════════
   Ligue (liseré bleu), Tournois (cyan), Nintendo (rouge). */
/* Les familles sur une ligne (12 octobre 2026) : quatre côte à côte sur grand écran, même hauteur. */
.vt-familles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; align-items: stretch; }
.vt-fam { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
/* Le lien du bas de carte, calé en bas quand la carte voisine est plus haute. */
.vt-fam .vt-fam-pied { margin-top: auto; padding-top: 2px; }
/* Le chiffre phare : en grand, avec ce qu'il veut dire. */
.vt-heros { display: flex; align-items: flex-end; gap: 10px; min-width: 0; }
.vt-heros .g { font-size: 32px; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.vt-heros .l { font-size: 11.5px; color: var(--muted); line-height: 1.3; padding-bottom: 2px; min-width: 0; }
.vt-heros .l b { display: block; color: var(--text); font-size: 12.5px; }
.vt-fam::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; }
.vt-fam.lig::before { background: #7aa2ff; } .vt-fam.tn::before { background: var(--cyan); } .vt-fam.nin::before { background: #ff5a5a; }
.vt-fam-t { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vt-fam-t h3 { margin: 0; color: var(--text); font-size: 15px; }
.vt-fam-t small { margin-left: auto; color: var(--muted); font-size: 12px; }
.vt-bd.nin { background: rgba(255,90,90,.14); color: #ff8f8f; }
.vt-fam-tuiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
/* Lot 584 : les saisons passées d'un ancien joueur (famille Ligue EBTV sans saison en cours). */
.vt-passe { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: .86rem; }
.vt-passe li { background: rgba(13,10,20,.45); border-radius: 10px; padding: 7px 10px; min-width: 0; overflow-wrap: anywhere; }
.vt-passe b { margin-right: 4px; }
.vt-passe small { color: var(--muted); }
.vt-fam-tuiles > div { background: rgba(13,10,20,.45); border-radius: 10px; padding: 8px 10px; min-width: 0; }
.vt-fam-tuiles small { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.vt-fam-tuiles b { color: var(--text); font-size: 18px; font-variant-numeric: tabular-nums; }
.vt-fam-tuiles em { display: block; font-style: normal; font-size: 11px; color: var(--muted); }
.vt-fam .vt-note a { color: var(--cyan); }
.vt-fam-vide { margin: 0; font-size: 12.5px; color: var(--muted); border: 1px dashed var(--line); border-radius: 10px; padding: 10px 12px; }
.vt-fam-vide a { color: var(--cyan); }
.vt-modes { display: grid; gap: 5px; }
.vt-mode { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 48px); gap: 8px; align-items: center; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.vt-mode span:not(.n) { text-align: right; }
.vt-mode .n { color: var(--text); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-mode .v { color: var(--text); font-weight: 800; } .vt-mode .s { color: var(--muted); }
.vt-mode.tete { font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }

/* ══ Le rang sendou.ink (maquette « Rang sendou.ink », 12 octobre 2026) ══
   Fiche joueur (famille sendou.ink, pastille d'en-tête), page Joueurs (rang
   en bout de ligne, répartition), effectifs d'équipe. Couleurs des rangs :
   choix de Splatelo, pas les visuels de sendou.ink. */
.r-lev { --r: #c77dff; } .r-dia { --r: #4fd8ff; } .r-pla { --r: #a9c4e8; } .r-or { --r: #ffd24d; }
.r-arg { --r: #c9ced8; } .r-bro { --r: #d9925a; } .r-fer { --r: #8c8c99; }
.vt-fam.sd::before { background: #b69cff; }
.vt-bd.sd { background: rgba(182,156,255,.16); color: #c9b6ff; }
.vt-bd.sd[class*="r-"] { background: color-mix(in srgb, var(--r) 16%, transparent); color: var(--r); }
.vt-ecu { width: 46px; height: 52px; flex: none; display: inline-grid; place-items: center; color: #140f1d; font-weight: 900; font-size: 16px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--r, #b69cff) 100%, white 25%), var(--r, #b69cff));
  clip-path: polygon(50% 0, 100% 22%, 100% 70%, 50% 100%, 0 70%, 0 22%); }
.vt-ecu.pt { width: 22px; height: 25px; font-size: 9.5px; }
.vt-rang { display: flex; align-items: center; gap: 12px; border-radius: 12px; padding: 10px 12px;
  background: linear-gradient(110deg, color-mix(in srgb, var(--r) 16%, transparent), transparent 70%), rgba(13,10,20,.45);
  border: 1px solid color-mix(in srgb, var(--r) 40%, transparent); }
.vt-rang b { display: block; color: var(--text); font-size: 19px; line-height: 1.2; }
.vt-rang small { color: var(--muted); font-size: 11.5px; }
.vt-sd-pied { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.vt-sd-pied a { color: #c9b6ff; font-weight: 800; }
.vt-sq { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--text); white-space: nowrap; }
.vt-jc small.vt-sq { display: flex; margin-top: 2px; color: var(--muted); }
.vt-dist { display: grid; gap: 7px; }
.vt-dl { display: grid; grid-template-columns: 22px 80px minmax(0, 1fr) 26px; gap: 8px; align-items: center; font-size: 12.5px; }
.vt-dl b { color: var(--text); }
.vt-dl .vt-barre span { background: var(--r); }
.vt-dl > span:last-child { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ══ Le panneau SplatNet 3 (12 octobre 2026, maquette « Panneau SplatNet 3 », 1 bis B) ══
   public/js/vitrine-ui.mjs, panneauSplatnet : le X Power d'abord, le rang en
   pastille, une barre par mode (icône, X Power de la saison, trait du record). */
.nx-hero { border: 1px solid rgba(255,90,90,.45); border-radius: 12px; padding: 12px 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: end;
  background: radial-gradient(120% 140% at 0% 0%, rgba(255,90,90,.22), transparent 60%), rgba(13,10,20,.45); }
.nx-lbl { grid-column: 1 / -1; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #ff9a9a; }
.nx-chiffre { font-size: 40px; line-height: 1; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.nx-mode { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 700; color: var(--text); margin-top: 6px; }
.nx-ecart { font-size: 12px; color: var(--muted); }
.nx-rang { display: grid; justify-items: end; gap: 3px; text-align: right; }
.nx-rang span { font-size: 12px; font-weight: 900; color: #fff; background: linear-gradient(135deg, #ff5a5a, #ff2f92); border-radius: 8px; padding: 3px 8px; }
.nx-rang small { font-size: 11px; color: var(--muted); }
.nx-modes { display: grid; gap: 9px; }
.nx-ligne { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px; align-items: center; font-size: 13px; }
.nx-ligne .n { display: flex; gap: 7px; align-items: center; min-width: 0; color: var(--text); font-weight: 700; }
.nx-ligne .v { color: var(--text); font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; }
.nx-ligne .v small { color: var(--muted); font-weight: 600; font-size: 11.5px; margin-left: 6px; }
.nx-ligne .piste { grid-column: 1 / -1; position: relative; height: 7px; border-radius: 99px; background: rgba(255,255,255,.07); }
.nx-ligne .piste i { position: absolute; inset: 0 auto 0 0; border-radius: 99px; }
.nx-ligne .piste u { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: var(--text); opacity: .55; border-radius: 2px; }
.nx-ligne.vide .n, .nx-ligne.vide .v { color: var(--muted); font-weight: 600; }
.nx-ligne.vide .ico-mode { opacity: .45; filter: grayscale(1); }
.nx-legende { display: flex; gap: 14px; flex-wrap: wrap; font-size: 11.5px; color: var(--muted); }
.nx-legende span { display: inline-flex; gap: 6px; align-items: center; }
.nx-legende i { width: 14px; height: 6px; border-radius: 99px; background: var(--muted); } .nx-legende u { width: 2px; height: 11px; background: var(--text); opacity: .55; }
.vt-avec-ico { display: inline-flex; gap: 6px; align-items: center; }

/* Ses armes, dans la bande du joueur (12 octobre 2026) : une rangée de pastilles, la principale surlignée. */
.vt-armes-tete { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.vt-arme-tete { font-size: 12.5px; font-weight: 700; color: var(--text); background: rgba(13,10,20,.45); border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; white-space: nowrap; }
.vt-arme-tete.top { border-color: rgba(255,47,146,.45); background: rgba(255,47,146,.10); }

/* Le panneau SplatNet 3 dans une carte de la fiche (12 octobre 2026, familles sur une ligne) :
   plus compact, l'écart au record, le meilleur rang et la légende passent au survol. */
.vt-familles .nx-hero { padding: 10px 12px; }
.vt-familles .nx-chiffre { font-size: 32px; }
.vt-familles .nx-ecart, .vt-familles .nx-rang small, .vt-familles .nx-legende { display: none; }
.vt-familles .nx-modes { gap: 7px; }
.vt-familles .nx-ligne { font-size: 12.5px; }
/* Tableau des tournois d'un joueur : sur téléphone, l'équipe passe sous le nom du tournoi (pas d'ascenseur). */
.vt-tel { display: none; }
@media (max-width: 560px) { .vt th.vt-pc, .vt td.vt-pc { display: none; } .vt td .vt-tel { display: block; color: var(--muted); font-size: 12px; } }
/* Le record d'un mode, toujours visible et discret, au bout de sa barre (13 octobre 2026). */
.nx-barre { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 8px; }
.nx-barre.rec { grid-template-columns: minmax(0, 1fr) 68px; }
.nx-barre .nx-rec { font-size: 11px; font-weight: 600; color: var(--muted); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
/* La couronne du record (13 octobre 2026) : dorée ; « record ! » tout en doré quand la saison l'égale. */
.nx-cour { width: 11px; height: 11px; fill: #f5c542; vertical-align: -1px; margin-right: 3px; }
.nx-barre .nx-rec.top { color: #f5c542; font-weight: 800; }
.nx-barre .piste { grid-column: auto; }

/* ── Armes et bonus de la fiche joueur (13 octobre 2026, maquette « Bonus des équipements ») ──
   Le choix de l'arme : boutons radio cachés, la règle de chaque arme est écrite
   par vitrine-ui.mjs (blocBonus). Icônes : /images/bonus (scripts/gen-bonus.mjs). */
.vt-bonus-r { position: absolute; opacity: 0; pointer-events: none; }
.vt-bonus-puces { display: flex; flex-wrap: wrap; gap: 8px; }
.vt-bonus-puce { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px 4px 6px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14);
  font-weight: 700; font-size: 13px; color: var(--body); cursor: pointer; }
.vt-bonus-puce small { color: var(--muted); font-weight: 600; }
.vt-bonus-r:focus-visible + * { outline: none; }
.vt-ico-arme { width: 22px; height: 22px; flex: none; }
.vt-bonus-p { display: none; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 14px 28px; }
.vt-bonus-col { display: grid; gap: 7px; align-content: start; min-width: 0; }
.vt-bonus-col > small { color: var(--muted); font-size: 12px; line-height: 1.45; }
.vt-sous { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.vt-sous small { text-transform: none; letter-spacing: 0; font-weight: 600; }
.vt-build { display: grid; grid-template-columns: 92px auto; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 10px; background: rgba(255,255,255,.03); justify-content: start; }
.vt-build i { font-style: normal; font-size: 12px; color: var(--muted); font-weight: 700; }
.vt-piece { display: inline-flex; align-items: center; gap: 2px; }
img.vt-bp, span.vt-bp { width: 28px; height: 28px; border-radius: 50%; background: #1b1527; border: 1px solid rgba(255,255,255,.14); padding: 2px; flex: none; }
img.vt-bs, span.vt-bs { width: 18px; height: 18px; border-radius: 50%; background: #1b1527; padding: 1px; flex: none; }
span.vt-bp, span.vt-bs { display: inline-grid; place-items: center; font-size: 10px; font-weight: 800; color: var(--muted); }
.vt-verrou { opacity: .45; }
.vt-uniq { display: flex; flex-wrap: wrap; gap: 6px; }
.vt-uniq > span { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 4px; border-radius: 999px; background: rgba(255,255,255,.05); font-size: 12.5px; color: var(--body); }
.vt-uniq b { color: var(--yellow, #ffe14d); }
.vt-ap { display: grid; grid-template-columns: minmax(140px, 210px) minmax(0, 1fr) 40px; gap: 10px; align-items: center; }
.vt-ap > span:first-child { display: inline-flex; gap: 7px; align-items: center; font-size: 13px; font-weight: 600; color: var(--body); min-width: 0; }
.vt-ap-b { height: 8px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; }
.vt-ap-b i { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan, #12e0e0), #6bf0c9); border-radius: 99px; }
.vt-ap b { text-align: right; font-variant-numeric: tabular-nums; font-size: 13px; color: var(--text); }
@media (max-width: 560px) { .vt-ap { grid-template-columns: minmax(0, 1fr) 64px 34px; } }

/* La carte « Cast » de la fiche (14 octobre 2026, historique de la Ligue) */
.vt-cast { border-color: rgba(18,224,224,.35); background: linear-gradient(160deg, rgba(18,224,224,.08), rgba(255,255,255,.015) 60%); }
.vt-cast h2 svg { color: var(--cyan); align-self: center; }
.vt-cast-g { display: flex; gap: 22px; flex-wrap: wrap; }
.vt-cast-g b { display: block; font-size: 22px; font-variant-numeric: tabular-nums; }
.vt-cast-g small { color: var(--muted); font-size: 12px; }
.vt-cast-frise { display: flex; gap: 4px; align-items: flex-end; height: 60px; max-width: 420px; }
.vt-cast-frise span { flex: 1; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-end; height: 100%; gap: 3px; }
.vt-cast-frise i { display: block; border-radius: 3px 3px 0 0; background: rgba(18,224,224,.55); min-height: 3px; }
.vt-cast-frise i.z { background: rgba(255,255,255,.08); }
.vt-cast-frise small { font-size: 10px; color: var(--muted); text-align: center; font-weight: 700; }
.vt-cast-l { display: grid; gap: 2px; }
.vt-cast-l a { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px 4px; border-top: 1px solid var(--line); color: var(--body); font-size: 13px; text-decoration: none; }
.vt-cast-l a:first-child { border-top: 0; }
.vt-cast-l a:hover { color: var(--text); }
.vt-cast-l .q { color: var(--cyan); font-size: 11.5px; font-weight: 800; }
.vt-cast-l small { color: #c9b8ff; font-size: 11.5px; font-weight: 700; }
@media (max-width: 600px) { .vt-cast-l a { grid-template-columns: 60px minmax(0, 1fr); } .vt-cast-l small { grid-column: 2; } }
/* Le nombre de casts de chaque saison (14 octobre 2026, maquette « Staff et cast sur la fiche ») */
.vt-cast-frise { height: 84px; }
.vt-cast-frise em { font-style: normal; font-size: 12px; font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; color: var(--text); }
.vt-cast-frise em.z { color: var(--muted); font-weight: 600; }
.vt-cast-ps { display: flex; gap: 6px; flex-wrap: wrap; }
.vt-cast-ps span { font-size: 11.5px; font-weight: 700; color: var(--body); background: rgba(18,224,224,.08); border: 1px solid rgba(18,224,224,.25); border-radius: 999px; padding: 3px 9px; font-variant-numeric: tabular-nums; }
.vt-cast-ps b { color: var(--cyan); }
/* Carte cachée par son titulaire : lui seul la voit, estompée, sous un bandeau. */
/* « Compléter ma fiche » (14 octobre 2026) : sur sa propre fiche, à la place du lien « Signaler ». */
.vt-completer { float: right; margin: 2px 0 6px 12px; }
.vt-completer-bt { font: inherit; font-size: 12.5px; font-weight: 700; color: var(--body); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; display: inline-flex; gap: 7px; align-items: center; cursor: pointer; }
.vt-completer-bt:hover, .vt-completer-bt[aria-expanded="true"] { border-color: rgba(18,224,224,.5); color: var(--text); }
@media (max-width: 600px) { .vt-completer { float: none; display: block; margin: 0 0 8px; } }
.vt-completer-bt em { font-style: normal; font-size: 11px; font-weight: 800; color: #0d0a14; background: var(--cyan); border-radius: 999px; padding: 0 6px; }

/* Les pronoms à côté du nom (14 octobre 2026, maquette « Les pronoms des joueurs ») : petits, gris, discrets. */
.vt-pronoms { font-size: 13px; font-weight: 700; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; vertical-align: middle; white-space: nowrap; }
/* ══ Le bandeau de la fiche (15 octobre 2026, maquette « La fiche d'un joueur et la page
   Équipes », version A) : qui il est en texte simple sous le nom, puis des zones étiquetées.
   (La règle .vt-sous du 14 octobre, qui changeait aussi les titres du bloc Bonus, est retirée.) */
.vt-profil-z { grid-template-columns: auto minmax(0,1fr); }
.vt-id { min-width: 0; }
.vt-identite { display: flex; gap: 6px 16px; flex-wrap: wrap; align-items: center; margin-top: 6px; font-size: 13px; color: var(--body); }
.vt-pays { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.vt-pays img { width: 18px; height: 13px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.15); object-fit: cover; }
.vt-zones { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.vt-zone { background: rgba(13,10,20,.45); border: 1px solid var(--line); border-radius: 13px; padding: 12px 14px; display: grid; gap: 9px; align-content: start; min-width: 0; }
.vt-zone-t { font-size: 10.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.vt-zone-t small { text-transform: none; letter-spacing: 0; font-weight: 600; }
.vt-zone-eq { display: flex; gap: 9px; align-items: center; min-width: 0; }
.vt-zone-eq > span:last-child { display: grid; gap: 3px; min-width: 0; justify-items: start; }
.vt-zone-eq b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.vt-zone-eq b a { color: var(--text); }
.vt-zone-armes { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.vt-arme-z { display: grid; justify-items: center; gap: 4px; width: 72px; text-align: center; }
.vt-arme-z .ic { width: 34px; height: 34px; border-radius: 9px; background: rgba(255,255,255,.05); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.vt-arme-z.top .ic { width: 46px; height: 46px; border-color: rgba(255,225,77,.55); background: rgba(255,225,77,.08); }
.vt-arme-z .vt-ico-arme { width: 100%; height: 100%; object-fit: contain; }
.vt-arme-z small { font-size: 11px; color: var(--body); line-height: 1.2; }
.vt-arme-z i { font-style: normal; font-size: 10.5px; color: var(--muted); }

/* ══ La page Équipes (15 octobre 2026) : la liste à gauche, le reste à droite. ══ */
.vt-droite { align-content: start; }
.vt-droite .vt-une { grid-template-columns: minmax(0, 1fr); }
.vt-mes h2 { margin-bottom: 8px; }
.vt-mes-l { display: flex; gap: 9px; align-items: center; padding: 6px 0; color: inherit; font-size: 13.5px; min-width: 0; }
.vt-mes-l b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-mes-creer { display: inline-block; margin-top: 6px; font-size: 12.5px; font-weight: 800; color: var(--cyan); }
.vt-act { display: grid; }
.vt-act-l { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.06); font-size: 13px; line-height: 1.4; color: var(--body); }
.vt-act-l:first-child { border-top: 0; padding-top: 0; }
.vt-act-l a { color: inherit; }
.vt-act-l a:hover b { text-decoration: underline; }
.vt-act-l b { color: var(--text); }
.vt-act-l small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 1px; }
.vt-act-ic { width: 26px; height: 26px; border-radius: 8px; flex: none; display: grid; place-items: center; font-size: 12px; font-weight: 900; }
.vt-act-ic.ins { background: rgba(18,224,224,.14); color: var(--cyan); }
.vt-act-ic.win { background: rgba(255,225,77,.15); color: var(--yellow); }
.vt-act-ic.new { background: rgba(255,47,146,.15); color: #ff8fc4; }
.vt-act-ic.rec { background: rgba(169,139,255,.15); color: #b9a3ff; }

/* ── Anciens joueurs, anciennes équipes, saison dans une Euro League (16 octobre 2026) ── */
.vt-anciens { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px; }
.vt-anc { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 10px; color: inherit; min-width: 0; opacity: .85; }
a.vt-anc:hover { background: var(--surface); color: inherit; opacity: 1; }
.vt-anc .vt-jt { display: grid; min-width: 0; }
.vt-anc b { color: var(--body); font-size: 13px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-anc small { color: var(--muted); font-size: 11.5px; }
.vt-plus { margin-top: 6px; }
.vt-plus summary { cursor: pointer; color: var(--cyan); font-size: 12.5px; font-weight: 700; padding: 4px 0; }
.vt-euro { display: grid; margin-top: 10px; }
.vt-euro-m { display: grid; grid-template-columns: 62px 20px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line); font-size: 13px; }
.vt-euro-m:first-child { border-top: 0; }
.vt-euro-m .ph { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.vt-euro-m .adv { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--body); }
.vt-euro-m b { font-variant-numeric: tabular-nums; }
.vt-euro-m b.v { color: var(--win); } .vt-euro-m b.d { color: var(--accent); }

/* 20 octobre 2026 : le Match de la semaine mène à son rapport. Le lien recouvre la carte ;
   les liens des équipes (et eux seuls) passent au-dessus pour garder leur fiche. */
.vt-carte-cliquable { position: relative; cursor: pointer; }
.vt-carte-cliquable:hover { border-color: rgba(255,255,255,.22); }
.vt-carte-lien { position: absolute; inset: 0; border-radius: inherit; z-index: 0; }
.vt-carte-lien:focus-visible { outline: 2px solid var(--cyan, #12e0e0); outline-offset: 2px; }
.vt-carte-cliquable a:not(.vt-carte-lien) { position: relative; z-index: 1; }

/* Lot 337 (25 octobre 2026, maquette « Fiche joueur, Tournois et badges », planche B) :
   la zone Badges du bandeau d'un joueur (vitrine-ui.mjs, zoneBadges), deux lignes
   « Compet' » et « Commu », et le détail qui se déplie. */
.vt-bdg { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 14px; align-items: center; }
.vt-bdg-l { font-size: 12.5px; font-weight: 700; }
.vt-bdg-l.cp { color: #ffcc33; }
.vt-bdg-l.cm { color: var(--cyan, #12e0e0); }
/* Un peu d'air en haut et à gauche : la pastille de place déborde du badge. */
.vt-bdg-r { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; padding: 6px 0 0 6px; }
.vt-bdg-d summary { cursor: pointer; color: var(--cyan, #12e0e0); font-size: 12.5px; font-weight: 600; list-style: none; width: max-content; }
.vt-bdg-d summary::-webkit-details-marker { display: none; }
.vt-bdg-d summary::after { content: '›'; display: inline-block; margin-left: 5px; transition: transform .15s; }
.vt-bdg-d[open] summary::after { transform: rotate(90deg); }
.vt-bdg-d summary:focus-visible { outline: 2px solid var(--cyan, #12e0e0); outline-offset: 2px; border-radius: 4px; }
.vt-bdg-d .vt-trophees { margin-top: 10px; }
/* Le badge des pronos porte sa propre marge à droite (pronos-badge.mjs) : alignée sur les autres lignes. */
.vt-bdg-d .vt-tr > span[role="img"] { margin-right: 0 !important; }
/* Le tableau Tournois : le badge gagné suit le nom du tournoi. */
.vt-tn-b { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vt-tn-b small { color: var(--muted); }

/* ══ Lot 542 : le profil écrit par le joueur (maquette « Fiche joueur : bio et réseaux ») ══
   La bio sous le nom, ses réseaux en boutons, ses rôles et armes ; « Cherche une équipe »
   en pastille à côté du nom et en zone du bandeau ; une étiquette sur la page Joueurs. */
.vt-cherche { display: inline-block; font-size: 12px; font-weight: 800; color: #0d0a14; background: var(--cyan); border-radius: 999px; padding: 3px 10px; vertical-align: middle; white-space: nowrap; }
.vt-bio-bloc { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; max-width: 760px; }
.vt-bio { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text); white-space: pre-line; overflow-wrap: anywhere; }
.vt-reseaux { display: flex; flex-wrap: wrap; gap: 8px; }
.vt-res { font: inherit; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--text); background: var(--panel); border: 1px solid var(--panel-border); border-radius: 999px; padding: 6px 12px; min-height: 36px; box-sizing: border-box; text-decoration: none; cursor: pointer; }
.vt-res:hover { border-color: var(--accent); }
.vt-res.twitch { border-color: rgba(180,140,255,.45); } .vt-res.youtube { border-color: rgba(255,107,107,.45); } .vt-res.discord { border-color: rgba(140,158,255,.45); }
.vt-res.copie { border-color: var(--cyan); color: var(--cyan); }
/* 14 novembre 2026 : les réseaux en icônes (public/js/icones-reseaux.mjs). Bouton rond de 40 px,
   l'icône à la couleur du réseau ; Discord garde son pseudo à côté (il se copie). */
.vt-res .rs-ico { width: 18px; height: 18px; flex: none; display: block; }
.vt-res.discord .rs-ico { width: 20px; height: 15px; }
.vt-res-ico { width: 40px; height: 40px; min-height: 40px; padding: 0; justify-content: center; }
.vt-res.twitch { color: #b48cff; } .vt-res.youtube { color: #ff6b6b; } .vt-res.discord { color: #a5b4ff; }
.vt-res.x, .vt-res.tiktok { color: var(--text); } .vt-res.bluesky { color: #4aa3ff; border-color: rgba(74,163,255,.45); }
.vt-res.instagram { color: #ff6fae; border-color: rgba(255,111,174,.45); }
.vt-res.discord span { color: var(--text); }
.vt-roles { display: flex; flex-wrap: wrap; gap: 6px; }
.vt-role { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--body); background: var(--surface); border-radius: 999px; padding: 3px 10px; }
.vt-role.arme { padding-left: 4px; }
.vt-profil-modif { align-self: flex-start; font-size: 13px; font-weight: 700; color: var(--accent); text-decoration: none; }
.vt-zone-cherche { border-color: rgba(18,224,224,.45); }
.vt-cherche-mot { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--text); white-space: pre-line; overflow-wrap: anywhere; }
.vt-cherche-l { display: block; color: var(--cyan) !important; font-weight: 700; }

/* Lot 544 : la page Joueurs a deux vues, l'annuaire et le classement du X Power.
   Le titre et le choix de la vue partagent une ligne ; sur téléphone, le choix passe dessous. */
.vt-titre-vues { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 12px; }
.vt-titre-vues .page-title { margin: 0; }
.vt-seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--panel); border: 1px solid var(--panel-border); }
.vt-seg button { font: inherit; font-size: 13.5px; font-weight: 700; border: 0; border-radius: 9px; padding: 8px 16px; min-height: 36px; cursor: pointer; background: none; color: var(--body); }
.vt-seg button[aria-selected="true"] { background: var(--text); color: var(--bg); }
.vt-seg button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
#power { display: flex; flex-direction: column; gap: 14px; }
#power[hidden] { display: none; }

/* Lot 545 : une équipe qui recrute (maquette « Équipe qui recrute »). Orange : « Cherche une
   équipe » (cyan) est le pendant côté joueur, les deux se distinguent d'un coup d'œil. */
#vt-recrute { display: contents; }
.vt-recrute-p { display: inline-block; vertical-align: middle; font-size: 12px; font-weight: 800; color: #0d0a14; background: #ffb347; border-radius: 999px; padding: 3px 10px; letter-spacing: 0; }
.vt-bd.rec { background: rgba(255,179,71,.16); color: #ffc078; }
.vt-recrute { border-color: rgba(255,179,71,.5); }
.vt-recrute.vide { border-style: dashed; border-color: var(--line); }
.vt-recrute-tete { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.vt-recrute-tete > span { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1 1 260px; }
.vt-recrute-tete small { color: var(--muted); font-size: 12px; line-height: 1.45; }
.vt-recrute-t { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #ffb347; }
.vt-recrute-l { display: flex; flex-direction: column; gap: 5px; }
.vt-recrute-l > small { color: var(--muted); font-size: 12px; }
.vt-recrute-l > span { display: flex; flex-wrap: wrap; gap: 6px; }
.vt-recrute-mot { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text); white-space: pre-line; overflow-wrap: anywhere; }
.vt-recrute-act { display: flex; flex-wrap: wrap; gap: 8px; }
.vt-recrute-act .copie { border-color: var(--cyan); color: var(--cyan); }
.vt-recrute-msg { margin: 0; font-size: 13px; color: var(--cyan); }
.vt-recrute-cands { border-style: dashed; }
.vt-recrute-cands .vt-ligne { grid-template-columns: minmax(0, 1fr); }
/* Le formulaire de l'annonce (public/js/recrutement-ui.mjs). */
.rc { display: grid; gap: 14px; padding-top: 6px; border-top: 1px solid var(--line); }
.rc h3 { margin: 0; font-size: 15px; }
.rc-ch { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rc-lab { font-size: 12.5px; font-weight: 700; color: var(--body); }
.rc-ch > small, .rc-bas small { color: var(--muted); font-size: 12px; line-height: 1.45; }
.rc-puces { display: flex; flex-wrap: wrap; gap: 6px; }
.rc-puce { font: inherit; font-size: 13px; font-weight: 700; min-height: 36px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; }
.rc-puce[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.rc-arme { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 4px 6px 4px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.rc-arme button { font: inherit; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 16px; line-height: 1; padding: 2px 6px; min-height: 28px; }
.rc select, .rc textarea { font: inherit; font-size: 14px; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; max-width: 100%; box-sizing: border-box; color-scheme: dark; }
.rc option { background: #1d1729; color: #f4f2fb; }   /* liste déroulante lisible sous Windows (lot 549) */
.rc textarea { width: 100%; resize: vertical; line-height: 1.5; }
.rc-bas { display: flex; justify-content: space-between; gap: 12px; }
.rc-peu { color: #ffb37a !important; }
.rc-sw { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.rc-sw:first-child { border-top: 0; }
.rc-sw > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rc-sw b { font-size: 14px; } .rc-sw small { color: var(--muted); font-size: 12px; line-height: 1.45; }
.rc-bascule { flex: none; font: inherit; font-size: 12px; font-weight: 800; min-width: 64px; min-height: 36px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--body); cursor: pointer; }
.rc-bascule.on { background: var(--cyan); border-color: var(--cyan); color: #0d0a14; }
.rc-err { margin: 0; font-size: 13px; color: #ff8f8f; }
.rc-pied { display: flex; flex-wrap: wrap; gap: 8px; }
.rc-puce:focus-visible, .rc-bascule:focus-visible, .rc-arme button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ── Lot 551 : la note de performance dans la carte « Ligue EBTV » de la fiche joueur (vitrine-ui.mjs, blocNoteLigue) ──
   Or : 1,30 et plus (match énorme) ; cyan : au-dessus de l'attendu ; gris : en dessous. */
.vt-nt { border-top: 1px solid var(--line); padding-top: 12px; display: flex; flex-direction: column; gap: 12px; }
.vt-nt-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.vt-nt-t { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #ffc14d; }
.vt-nt-tete small, .vt-nt-st { font-size: 12px; color: var(--muted); }
.vt-nt-haut { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.vt-nt-g { display: flex; flex-direction: column; gap: 4px; }
.vt-nt-g b { font-size: 46px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.vt-nt-g small { font-size: 12px; color: var(--body); max-width: 220px; }
.vt-nt .or { color: #ffc14d; } .vt-nt .haut { color: #7ff3f3; } .vt-nt .bas { color: var(--body); }
.vt-nt-d { display: flex; flex-direction: column; gap: 8px; flex: 1 1 240px; min-width: 0; }
.vt-nt-pils { display: flex; gap: 6px; flex-wrap: wrap; }
.vt-nt-pil { font-size: 12px; font-weight: 700; color: var(--text); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 3px 10px; }
.vt-nt-pil.or { border-color: #ffc14d; color: #ffc14d; }
.vt-nt-echelle { position: relative; height: 28px; }
.vt-nt-echelle .fond { position: absolute; left: 0; right: 0; top: 8px; height: 8px; border-radius: 999px; background: linear-gradient(90deg, #3a2a44 0%, #2a2338 36%, #1f4a4c 70%, #5a4a1c 100%); }
.vt-nt-echelle small { position: absolute; top: 18px; font-size: 10.5px; color: var(--muted); transform: translateX(-50%); }
.vt-nt-echelle small:first-of-type { transform: none; }
.vt-nt-echelle i { position: absolute; top: 2px; width: 4px; height: 20px; border-radius: 2px; background: #ffc14d; transform: translateX(-50%); }
.vt-nt-parts { display: flex; flex-direction: column; gap: 6px; }
.vt-nt-part { display: grid; grid-template-columns: 100px minmax(0, 1fr) 56px; gap: 10px; align-items: center; font-size: 13px; }
.vt-nt-part small { color: var(--muted); }
.vt-nt-part b { text-align: right; font-variant-numeric: tabular-nums; }
.vt-nt-part b.haut { color: #7cf29a; }
.vt-nt-barre { position: relative; height: 9px; background: rgba(255,255,255,.07); border-radius: 999px; overflow: hidden; }
.vt-nt-barre i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: var(--cyan); }
.vt-nt-barre s { position: absolute; left: 50%; top: -2px; bottom: -2px; width: 2px; background: var(--text); opacity: .55; }
.vt-nt-best { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; font-size: 13px; }
.vt-nt-best.or { background: rgba(255,193,77,.07); border-color: rgba(255,193,77,.4); color: var(--text); }   /* le cadre en or, pas le texte (seule la note l'est) */
.vt-nt-bd { font-size: 11px; font-weight: 800; border-radius: 999px; padding: 2px 9px; color: #0d0a14; background: #ffc14d; white-space: nowrap; }
.vt-nt-liens { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; font-weight: 700; }
.vt-nt-liens a + a { color: var(--body); }
@media (max-width: 560px) { .vt-nt-part { grid-template-columns: 78px minmax(0, 1fr) 48px; } .vt-nt-g b { font-size: 40px; } }
