/* Lot 305 : la barre du Pilotage et les onglets (.lg-onglets, .lg-rubr, .lg-nb…) sont
   dans barre-pilotage.css, partagée avec la page d'un tournoi. @import doit rester
   la toute première règle du fichier. */
@import url('/css/barre-pilotage.css');

/* Espace Ligue (10 octobre 2026) : page d'une ligue (ligue.html) et son
   Pilotage, y compris l'Administration servie en mode Ligue
   (/ligue-pilotage.html). Classes préfixées « lg- » pour ne rien heurter
   dans admin.html, qui a ses propres .onglet / .panneau. */

/* ── En-tête de la ligue ── */
.lg-tete { display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  background: linear-gradient(180deg, rgba(18,224,224,.09), rgba(18,224,224,.015)), var(--surface);
  border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 16px 20px; margin-bottom: 16px; }
.lg-logo { width: 84px; height: auto; flex: none; filter: drop-shadow(0 6px 14px rgba(0,0,0,.45)); }
.lg-tete-txt { min-width: 0; flex: 1 1 260px; }
.lg-tete h1 { margin: 0 0 4px; font-size: clamp(24px, 4vw, 32px); line-height: 1.15; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.lg-tete h1 small { font-size: 14px; font-weight: 700; color: var(--muted); }
.lg-infos { display: flex; gap: 6px 16px; flex-wrap: wrap; color: var(--body); font-size: 13px; }
.lg-infos b { color: var(--text); }

/* ── La bascule des vues (comme .tn-bascule d'un tournoi) ──
   Organisateur en rose, Caster en violet (18 octobre 2026), Joueur en cyan. Des boutons sur
   ligue.html (aria-pressed), des liens sur les autres pages de la ligue (aria-current). */
.lg-bascule { display: inline-flex; margin-left: auto; align-self: flex-start; border: 1px solid var(--surface2); border-radius: 999px; padding: 3px; background: rgba(13,10,20,.5); }
.lg-bascule :is(button, a) { font: inherit; font-size: 12px; font-weight: 800; border: 0; background: none; color: var(--muted); padding: 5px 12px; border-radius: 999px; cursor: pointer; white-space: nowrap; text-decoration: none; }
/* Plus visible (13 octobre 2026, le bandeau « Vue joueur » a disparu) : le mode actif en couleur. */
.lg-bascule { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.06); }
.lg-bascule :is(button, a) { color: var(--body); }
.lg-bascule :is(button, a):hover { color: var(--text); }
.lg-bascule :is([aria-pressed="true"], [aria-current="page"]) { background: var(--accent); color: #fff; box-shadow: 0 0 0 1px rgba(255,47,146,.5), 0 2px 10px rgba(255,47,146,.25); }
.lg-bascule [data-vue="caster"]:is([aria-pressed="true"], [aria-current="page"]) { background: #a970ff; color: #fff; box-shadow: 0 0 0 1px rgba(169,112,255,.5), 0 2px 10px rgba(169,112,255,.25); }
.lg-bascule [data-vue="joueur"]:is([aria-pressed="true"], [aria-current="page"]) { background: var(--cyan); color: #0d0a14; box-shadow: 0 0 0 1px rgba(18,224,224,.5), 0 2px 10px rgba(18,224,224,.25); }
.lg-vuejoueur { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 9px 13px; margin: 0 0 14px; border-radius: 11px;
  background: rgba(18,224,224,.07); border: 1px solid rgba(18,224,224,.3); font-size: 12.5px; color: var(--body); }
.lg-vuejoueur b { color: var(--cyan); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }
.lg-vuejoueur span { flex: 1; min-width: 200px; }
@media (max-width: 600px) { .lg-bascule { margin-left: 0; } }


/* ── Pilotage : l'écran sur toute la largeur, sous la barre du Pilotage (18 octobre 2026).
   Avant : un menu de catégories pliables à gauche (.lg-menu, retiré avec lui). ── */
.lg-pilotage { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }

/* ── Blocs ── */
.lg-bloc { background: var(--surface); border: 1px solid var(--surface2); border-radius: 14px; padding: 16px; margin-bottom: 14px; }
.lg-bloc h2 { margin: 0 0 10px; font-size: 15px; }
.lg-bloc p { margin: 0 0 8px; color: var(--body); font-size: 13.5px; line-height: 1.55; }
.lg-note { color: var(--muted); font-size: 12.5px; margin: 8px 0 0; line-height: 1.5; }
.lg-tete-bloc { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.lg-tete-bloc h2 { margin: 0; }
.lg-tete-bloc .act { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.lg-bt { font: inherit; font-size: 12.5px; font-weight: 700; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06);
  color: var(--text); border-radius: 9px; padding: 7px 13px; white-space: nowrap; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.lg-bt:hover { border-color: var(--accent); color: var(--text); }
.lg-bt.plein { background: var(--accent); border-color: var(--accent); color: #fff; }
.lg-bt.petit { font-size: 11.5px; padding: 5px 10px; }
.lg-bt:disabled { opacity: .5; cursor: default; }
.lg-msg { font-size: 13px; margin: 8px 0 0; }
.lg-msg.ok { color: var(--win); }
.lg-msg.ko { color: #ff8a8a; }
.lg-vide { color: var(--muted); font-size: 13px; }

/* Frise des phases */
.lg-frise { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 6px; margin: 0 0 14px; padding: 0; }
.lg-frise li { color: var(--muted); font-size: 12px; min-width: 0; }
.lg-frise .tr { display: block; height: 5px; border-radius: 3px; background: rgba(255,255,255,.1); margin-bottom: 7px; }
.lg-frise .passee .tr { background: var(--win); }
.lg-frise .en_cours .tr { background: var(--accent); }
.lg-frise b { display: block; font-size: 12.5px; color: var(--text); }
.lg-frise .en_cours b { color: #ff8cc4; }

/* Chiffres */
.lg-chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 0 0 14px; }
.lg-chiffres div { background: rgba(13,10,20,.45); border: 1px solid var(--surface2); border-radius: 12px; padding: 11px 13px; }
.lg-chiffres b { display: block; font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.2; }
.lg-chiffres span { color: var(--muted); font-size: 12px; }
.lg-chiffres .alerte b { color: #ff8cc4; }

/* Lignes (à faire, en direct, état, équipe) */
.lg-lignes { display: flex; flex-direction: column; gap: 8px; }
.lg-ligne { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 11px; background: rgba(255,255,255,.035);
  border: 1px solid var(--line); }
.lg-ligne .ic { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 13px;
  background: rgba(255,255,255,.08); color: var(--muted); }
.lg-ligne.urgent .ic { background: rgba(255,47,146,.2); color: #ff8cc4; }
.lg-ligne.attention .ic { background: rgba(255,225,77,.16); color: var(--yellow); }
.lg-ligne.info .ic { background: rgba(18,224,224,.16); color: var(--cyan); }
.lg-ligne.ok .ic { background: rgba(47,232,138,.16); color: var(--win); }
.lg-ligne .tx { min-width: 0; flex: 1; }
.lg-ligne .tx b { display: block; font-size: 13.5px; color: var(--text); }
.lg-ligne .tx span { display: block; font-size: 12.5px; color: var(--muted); }
.lg-ligne .lg-bt { flex: none; }
.lg-avatar { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800;
  background: rgba(169,139,255,.18); color: #c9b8ff; font-size: 13px; }
.lg-ligne .tx b .lg-moi, .lg-moi { display: inline-block; font-size: 10.5px; font-weight: 800; padding: 1px 7px; border-radius: 999px; background: rgba(18,224,224,.14); color: var(--cyan); margin-left: 4px; }

/* Ajout d'un admin */
.lg-ajout { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 0; }
.lg-ajout input { flex: 1 1 220px; min-width: 0; box-sizing: border-box; padding: .55rem .7rem; border-radius: 9px; font: inherit; font-size: 13.5px;
  background: var(--bg); color: var(--text); border: 1px solid rgba(255,255,255,.14); }
.lg-ajout input:focus { outline: 2px solid var(--cyan); outline-offset: 1px; }

/* Confirmation dans la page (pas de confirm() du navigateur) */
.lg-confirme { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; color: var(--body); }

/* ══════════ Cette semaine (maquette « Ligue › Cette semaine » version 2) ══════════
   Le HTML vient de /js/ligue-page.mjs. Les cartes du jour (.jour-cartes,
   .jc) sont celles de l'accueil, stylées dans style.css : ne pas les
   restyler ici. Tout le reste est préfixé « lg- » : admin.html charge aussi
   ce fichier (mode Ligue) et a ses propres .jour, .bloc, .r... */

/* Mise en page : à gauche ce qui bouge, à droite le programme (≈ 270 px, collant). */
.lg-sem { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 16px; align-items: start; }
.lg-sem-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.lg-sem-col > .lg-bloc, .lg-sem-cote > .lg-bloc, .lg-duo > .lg-bloc { margin-bottom: 0; }
.lg-sem-cote { display: flex; flex-direction: column; gap: 14px; position: sticky; top: calc(var(--hauteur-nav, 65px) + 12px); min-width: 0; }
.lg-tete-bloc .lg-plus, .lg-plus { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--cyan); white-space: nowrap; }
.lg-plus:hover { color: var(--yellow); }
.lg-lib { font-size: 10.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }

/* Le bloc de la semaine : compteur, barre, sept jours. */
.lg-avance { display: flex; align-items: baseline; gap: 4px 10px; flex-wrap: wrap; margin-bottom: 10px; }
.lg-avance .gros { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; white-space: nowrap; }
.lg-avance > span { color: var(--muted); font-size: 12.5px; }
.lg-maj { margin-left: auto; font-size: 11.5px; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.lg-maj i { width: 7px; height: 7px; border-radius: 50%; background: var(--win); box-shadow: 0 0 0 3px rgba(47,232,138,.18); }
.lg-barre { height: 6px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; display: flex; margin-bottom: 12px; }
.lg-barre i { display: block; height: 100%; }
.lg-barre .f { background: var(--win); }
.lg-barre .d { background: #ff4d5e; }
.lg-barre .c { background: var(--cyan); }
.lg-jours { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.lg-j { border-radius: 10px; padding: 8px 4px 7px; background: rgba(255,255,255,.03); border: 1px solid var(--line); text-align: center; min-width: 0; }
.lg-j b { display: block; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg-j .lettre { display: none; }
.lg-j small { display: block; font-size: 10.5px; color: var(--muted); white-space: nowrap; }
.lg-j .pts { display: flex; justify-content: center; gap: 3px; flex-wrap: wrap; margin-top: 6px; min-height: 8px; }
.lg-j .pts i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.18); }
.lg-j .pts i.f { background: var(--win); }
.lg-j .pts i.d { background: #ff4d5e; box-shadow: 0 0 0 2px rgba(255,77,94,.25); }
.lg-j .pts i.c { background: var(--cyan); box-shadow: 0 0 0 2px rgba(18,224,224,.22); }
/* Heure passée sans manche au rapport : un point creux. */
.lg-j .pts i.a { background: none; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.lg-j.passe { opacity: .8; }
.lg-j.auj { border-color: var(--accent); background: rgba(255,47,146,.08); }
.lg-j.auj b { color: #ff8cc4; }

/* Le programme en bande (téléphone seulement). */
.lg-bandeprog { display: none; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.lg-bandeprog div { flex: none; display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,.04); border: 1px solid var(--line);
  border-radius: 9px; padding: 5px 8px; font-size: 11.5px; white-space: nowrap; }
.lg-bandeprog div.ici { border-color: rgba(255,77,94,.55); background: rgba(255,77,94,.1); }
.lg-bandeprog img { width: 15px; height: 15px; }
.lg-bandeprog i { font-style: normal; color: var(--muted); font-size: 10.5px; font-weight: 800; }

/* Ton match */
.lg-ton { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; border: 1px solid rgba(255,225,77,.45); border-radius: 14px; padding: 12px 14px;
  background: linear-gradient(90deg, rgba(255,225,77,.10), rgba(255,225,77,.02)), var(--surface); }
.lg-ton > div:first-child { min-width: 0; }
.lg-ton .t { font-size: 10.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--yellow); }
.lg-ton b { display: block; font-size: 15px; margin-top: 2px; overflow-wrap: anywhere; }
.lg-ton small { color: var(--muted); font-size: 12px; }
.lg-ton .act { margin-left: auto; }

/* Pastilles */
.lg-pastille { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; padding: 2px 8px;
  border-radius: 999px; white-space: nowrap; }
.lg-pastille.dir { background: #ff4d5e; color: #fff; }
.lg-pastille.dir::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.lg-pastille.cours { background: rgba(18,224,224,.16); color: var(--cyan); }
.lg-pastille.cast { background: rgba(169,139,255,.18); color: #c9b8ff; }
.lg-pastille.ton { background: rgba(255,225,77,.16); color: var(--yellow); }
.lg-pastille.m7 { background: rgba(255,47,146,.15); color: #ff8cc4; }

/* En ce moment : toute la carte est un lien vers la page du match. */
.lg-directs { display: flex; flex-direction: column; gap: 8px; }
.lg-direct { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; align-items: center; border-radius: 13px; padding: 13px 14px;
  color: var(--text); text-decoration: none; border: 1px solid rgba(255,77,94,.4); background: linear-gradient(90deg, rgba(255,77,94,.13), rgba(255,77,94,.02)); }
.lg-direct.cours { border-color: rgba(18,224,224,.35); background: linear-gradient(90deg, rgba(18,224,224,.10), rgba(18,224,224,.02)); }
.lg-direct:hover { color: var(--text); border-color: rgba(255,255,255,.4); }
.lg-direct .corps { min-width: 0; }
.lg-score { display: flex; align-items: center; gap: 6px 12px; font-size: 17px; font-weight: 800; margin: 6px 0 4px; flex-wrap: wrap; }
.lg-score > span:not(.n) { min-width: 0; overflow-wrap: anywhere; }
.lg-score .n { font-variant-numeric: tabular-nums; font-size: 22px; padding: 2px 10px; border-radius: 9px; background: rgba(0,0,0,.35); white-space: nowrap; }
.lg-manche { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12.5px; color: var(--body); }
.lg-manche img.m { width: 18px; height: 18px; }
.lg-manche img.s { width: 48px; height: 27px; border-radius: 5px; object-fit: cover; vertical-align: middle; }
.lg-direct .lg-bt.regarder { background: #9146ff; border-color: #9146ff; color: #fff; }
.lg-direct:hover .lg-bt { border-color: var(--accent); }
.lg-prochain { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--body); text-decoration: none; }
.lg-prochain b { color: var(--text); font-size: 14px; }
.lg-prochain:hover b { color: var(--yellow); }

/* Résultats et à venir : des lignes */
.lg-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.lg-res { display: flex; flex-direction: column; }
.lg-r { display: grid; grid-template-columns: 66px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 4px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--text); text-decoration: none; }
a.lg-r:hover { background: rgba(255,255,255,.035); color: var(--text); border-radius: 8px; }
.lg-res > :first-child, .lg-jourtitre + .lg-r { border-top: 0; }
.lg-r .q { color: var(--muted); font-size: 11.5px; }
.lg-r .m { display: flex; align-items: center; gap: 4px 8px; flex-wrap: wrap; min-width: 0; }
.lg-r .m b { font-weight: 700; overflow-wrap: anywhere; }
.lg-r .m .pe { color: var(--muted); overflow-wrap: anywhere; }
.lg-r .sc { font-variant-numeric: tabular-nums; font-weight: 800; background: rgba(0,0,0,.3); padding: 2px 8px; border-radius: 7px; white-space: nowrap; }
.lg-r .pa { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.lg-r.nouveau { background: linear-gradient(90deg, rgba(47,232,138,.12), transparent 70%); border-radius: 8px; }
.lg-jourtitre { font-size: 11.5px; font-weight: 800; color: var(--cyan); margin: 12px 0 2px; text-transform: uppercase; letter-spacing: .06em; }
.lg-jourtitre:first-child { margin-top: 0; }

/* Joueurs de la semaine */
/* Lot 516 : cinq cartes (le ratio K+A / mort en premier). */
/* Lot 569 : six cartes (la note en plus), en 3 + 3. */
.lg-joueurs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
/* Le nom de la division suivie (« D5 ») à côté du titre. */
.lg-jx-div { font-size: 12px; font-weight: 800; color: var(--cyan); border: 1px solid var(--surface2); border-radius: 99px; padding: 2px 8px; vertical-align: middle; margin-left: 4px; }
.lg-jx { background: rgba(13,10,20,.45); border: 1px solid var(--surface2); border-radius: 12px; padding: 11px 12px; display: flex; flex-direction: column; gap: 3px;
  min-width: 0; color: var(--text); text-decoration: none; }
a.lg-jx:hover { border-color: rgba(255,255,255,.28); color: var(--text); }
.lg-jx .crit { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--cyan); }
.lg-jx .qui { display: flex; align-items: center; gap: 8px; margin-top: 4px; min-width: 0; }
.lg-jx .qui > div { min-width: 0; }
.lg-jx .av { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 12px;
  background: rgba(169,139,255,.18); color: #c9b8ff; }
.lg-jx b { font-size: 13.5px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg-jx small { font-size: 11.5px; color: var(--muted); display: block; }
.lg-jx .qui small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg-jx .val { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; margin-top: 4px; }
.lg-jx .val span { font-size: 12px; color: var(--muted); font-weight: 700; margin-left: 3px; }

/* La semaine en chiffres : deux tuiles */
.lg-chiffres.deux { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.lg-chiffres.deux b { font-size: 20px; }

/* Colonne de droite : le programme en petit */
.lg-prog h2 { font-size: 13px; margin-bottom: 2px; }
.lg-prog .sous { font-size: 11.5px; color: var(--muted); margin-bottom: 8px; }
.lg-pm { display: grid; grid-template-columns: 16px 16px minmax(0, 1fr) 44px; gap: 8px; align-items: center; padding: 5px 0; border-top: 1px solid var(--line); }
.lg-prog .sous + .lg-pm { border-top: 0; }
.lg-pm .no { font-size: 10.5px; color: var(--muted); font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }
.lg-pm img.m { width: 16px; height: 16px; }
.lg-pm > div { min-width: 0; }
.lg-pm b { display: block; font-size: 12px; line-height: 1.25; }
.lg-pm small { display: block; font-size: 11px; color: var(--muted); line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg-pm img.s { width: 44px; height: 25px; border-radius: 4px; object-fit: cover; opacity: .9; }
.lg-pm.ici { background: rgba(255,77,94,.08); border-radius: 7px; margin: 0 -6px; padding: 5px 6px; border-top-color: transparent; }
.lg-pm.ici .no { color: #ff4d5e; }
.lg-suivante { font-size: 12px; color: var(--body); line-height: 1.5; margin: 6px 0 0 !important; }
.lg-suivante b { color: var(--text); }
.lg-petitsliens { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.lg-petitsliens a { color: var(--body); font-size: 12.5px; font-weight: 600; padding: 5px 0; text-decoration: none; display: flex; justify-content: space-between; }
.lg-petitsliens a::after { content: "↗"; color: var(--muted); }
.lg-petitsliens a:hover { color: var(--text); }
/* Un onglet de la page (Tous les matchs) : pas de flèche « autre page ». */
.lg-petitsliens a.int::after { content: "›"; }

@media (max-width: 1000px) {
  /* Six cartes sur deux colonnes : trois rangées pleines (lot 569 : plus de carte en pleine largeur). */
  .lg-joueurs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Tablette et téléphone : une seule colonne ; le programme passe en bande sous la semaine. */
@media (max-width: 900px) {
  .lg-sem { grid-template-columns: minmax(0, 1fr); }
  .lg-sem-cote { position: static; }
  .lg-sem-cote .lg-prog { display: none; }
  .lg-bandeprog { display: flex; }
  .lg-duo { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .lg-avance .gros { font-size: 22px; }
  .lg-jours { gap: 3px; }
  .lg-j { padding: 6px 2px; }
  .lg-j small { display: none; }
  .lg-j .long { display: none; }
  .lg-j .lettre { display: inline; }
  .lg-direct { grid-template-columns: minmax(0, 1fr); }
  .lg-direct .act { justify-self: start; }
  .lg-score { font-size: 15px; }
  .lg-manche .carte { display: none; }
  .lg-ton .act { margin-left: 0; }
  .lg-r { grid-template-columns: 58px minmax(0, 1fr) auto; gap: 8px; }
  /* Derniers résultats : 2 sur téléphone. */
  .lg-r.large { display: none; }
}

/* Administration en mode Ligue : la mise en page d'admin.html cède la place */
html[data-espace="ligue"] .page > .page-title,
html[data-espace="ligue"] .page > .subtitle,
html[data-espace="ligue"] .page > .onglets,
html[data-espace="ligue"] .lg-cache-en-ligue { display: none !important; }
html[data-espace="ligue"] .lg-pilotage .panneau .sous-onglets { display: none; }

/* ── Les pages de la Ligue hors de ligue.html (11 octobre 2026, ligue-cadre.mjs) :
   Équipes, Joueurs, Statistiques gardent leur contenu sous l'en-tête et les onglets ;
   les fiches ont un fil d'Ariane. ── */
#lg-cadre:empty { display: none; }
.lg-fil { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.lg-fil a { color: var(--cyan); text-decoration: none; font-weight: 700; }
.lg-fil a:hover { color: var(--yellow); }
.lg-fil span { color: var(--body); }

/* ══ Historique (14 octobre 2026, maquette « Historique de la Ligue ») ══
   L'onglet Historique de ligue.html : public/js/ligue-historique.mjs. Préfixe hl-. */
.hl { display: flex; flex-direction: column; gap: 0; }
.hl h2 small, .hl h3 small { color: var(--muted); font-weight: 600; font-size: 12px; margin-left: 4px; }
.hl-note { font-size: 12.5px; color: var(--muted); margin: 8px 0 0; line-height: 1.5; }
.hl-lib { font-size: 10.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.hl-eq { color: inherit; font-weight: inherit; }
.hl-eq:hover { color: var(--yellow); }

/* Vue de toute la Ligue */
.hl-chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.hl-chiffres div { background: rgba(13,10,20,.45); border: 1px solid var(--surface2); border-radius: 12px; padding: 10px 13px; }
.hl-chiffres b { display: block; font-size: 22px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hl-chiffres small { color: var(--muted); font-size: 11.5px; line-height: 1.35; display: block; }
.hl-ens { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.hl-col { display: flex; flex-direction: column; min-width: 0; }
.hl-jeu { display: flex; align-items: center; gap: 10px; margin: 2px 0 10px; }
.hl-jeu b { font-size: 13px; }
.hl-jeu .tr { flex: 1; height: 1px; background: var(--line); }
.hl-jeu small { color: var(--muted); font-size: 12px; }
.hl-saisons { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 8px; margin-bottom: 18px; }
.hl-sn { border-radius: 12px; padding: 10px 12px 11px; background: rgba(255,255,255,.035); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px; color: var(--text); text-decoration: none; min-width: 0; }
.hl-sn:hover { border-color: var(--accent); color: var(--text); background: rgba(255,47,146,.06); }
.hl-sn .h { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.hl-sn .h b { font-size: 15px; }
.hl-sn .h small { color: var(--muted); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.hl-sn .q { font-size: 11.5px; color: var(--body); font-variant-numeric: tabular-nums; }
.hl-sn .ch { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; min-width: 0; }
.hl-sn .ch span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hl-sn .ch svg, .hl-tag.or svg { width: 14px; height: 14px; flex: none; color: #ffc94d; }
.hl-c { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: #c9b8ff; font-weight: 700; }
.hl-c svg { width: 13px; height: 13px; flex: none; }
.hl-c.est { color: var(--muted); font-weight: 600; }
.hl-c.att { color: var(--muted); font-weight: 600; font-style: italic; }
.hl-sn.encours { border-style: dashed; }
.hl-cote h2 { font-size: 14.5px; }
.hl-cl { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line); font-size: 13px; }
.hl-cl:first-of-type { border-top: 0; }
.hl-cl .rg { color: var(--muted); font-size: 11.5px; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.hl-cl .n { min-width: 0; }
.hl-cl .n b { display: block; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hl-cl .n small { display: block; color: var(--muted); font-size: 11px; font-weight: 600; }
.hl-cl .v { font-variant-numeric: tabular-nums; font-weight: 800; }
.hl-cl .j { grid-column: 2 / 4; height: 4px; border-radius: 3px; background: rgba(255,255,255,.07); overflow: hidden; }
.hl-cl .j i { display: block; height: 100%; background: linear-gradient(90deg, #a98bff, var(--cyan)); }

/* Une saison */
.hl-barre { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.hl-choix { flex: 1 1 180px; min-width: 0; font: inherit; font-weight: 800; font-size: 14.5px; color: var(--text); border: 1px solid var(--surface2); border-radius: 10px;
  padding: 7px 10px; background: var(--surface); max-width: 100%; }
.hl-tags { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.hl-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; color: var(--body); background: rgba(255,255,255,.05);
  border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hl-tag.cast { color: #c9b8ff; border-color: rgba(169,139,255,.35); background: rgba(169,139,255,.1); }
.hl-tag.or { color: #ffd98a; border-color: rgba(255,201,77,.35); background: rgba(255,201,77,.08); }
.hl-divs { display: flex; gap: 5px; overflow-x: auto; overflow-y: hidden; padding-bottom: 4px; margin-bottom: 14px; scrollbar-width: thin; }
.hl-divs a { flex: none; font-size: 12.5px; font-weight: 800; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.04);
  border: 1px solid var(--line); color: var(--body); text-decoration: none; }
.hl-divs a:hover { color: var(--text); border-color: var(--accent); }
.hl-divs a[aria-current="page"] { background: var(--text); color: #120d1b; border-color: var(--text); }
.hl-saison { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
/* Les champions et leurs artprizes (lot 280, maquette « Artprizes sur la page de
   la Ligue », option B) : une case par champion de division, la rangée défile
   à l'horizontale au-delà de la largeur ; la case « à venir » est en pointillé. */
/* Lot 281 : plus d'ascenseur, la rangée défile par ses flèches (styles .defile* de style.css). */
.hl-art .hl-art-rang { display: flex; gap: 14px; padding-bottom: 2px; }
.hl-art-tete { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.hl-art-tete h2 { margin: 0; }
.hl-art-case { margin: 0; flex: none; width: 190px; display: flex; flex-direction: column; gap: 8px; scroll-snap-align: start; }
.hl-art-img { display: grid; place-items: center; width: 190px; height: 190px; padding: 0; border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); cursor: zoom-in; }
.hl-art-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hl-art-img:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.hl-art-img.vide { cursor: default; border-style: dashed; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.02);
  color: var(--muted); font-size: 26px; font-weight: 800; }
.hl-art-case figcaption { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hl-art-case .d { font-size: 11.5px; font-weight: 800; color: #ff7ab8; }
.hl-art-case b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hl-art-case small { font-size: 12px; color: var(--muted); }
/* Au téléphone, des cases plus petites : deux et un bout de la troisième (on voit qu'il y a une suite). */
@media (max-width: 640px) {
  .hl-art-case, .hl-art-img { width: 150px; }
  .hl-art-img { height: 150px; }
}
/* La fenêtre d'un artprize en grand : l'œuvre ouverte du lot 283 (.oo-* de style.css). */
.hl-classement + .hl-classement { margin-top: 14px; }
.hl-classement h3, .hl-etape { font-size: 12px; font-weight: 800; color: var(--cyan); margin: 0 0 6px; text-transform: uppercase; letter-spacing: .06em; }
.hl-etape { margin-top: 16px; }
.hl-tab { width: 100%; font-size: 13px; font-variant-numeric: tabular-nums; }
.hl-tab th { color: var(--muted); font-size: 11px; font-weight: 800; text-align: right; padding: 6px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.hl-tab th:nth-child(2) { text-align: left; }
.hl-tab td { padding: 7px 8px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.hl-tab td:nth-child(1) { color: var(--muted); font-weight: 800; width: 28px; }
.hl-tab td:nth-child(2) { text-align: left; font-weight: 700; white-space: normal; }
.hl-tab tr.p1 td:nth-child(1) { color: #ffc94d; }
.hl-tab tr.p2 td:nth-child(1) { color: #c9d3e6; }
.hl-tab tr.p3 td:nth-child(1) { color: #e0a274; }
.hl-tab .ex { color: var(--muted); font-weight: 600; }
.hl-tab tr:last-child td { border-bottom: 0; }

/* Phase finale : une colonne par tour */
.hl-brk { display: grid; grid-template-columns: repeat(var(--tours, 2), minmax(150px, 1fr)); gap: 10px; align-items: center; overflow-x: auto; }
.hl-brk .tour { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.hl-bm { border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.03); overflow: hidden; }
.hl-bm > div { display: flex; justify-content: space-between; gap: 8px; padding: 6px 9px; font-size: 12.5px; font-weight: 700; }
.hl-bm > div + div { border-top: 1px solid var(--line); }
.hl-bm > div span:last-child { font-variant-numeric: tabular-nums; }
.hl-bm > div.pe { color: var(--muted); font-weight: 600; }
.hl-bm .mic { padding: 4px 9px; font-size: 11px; color: #c9b8ff; font-weight: 700; justify-content: flex-start; align-items: center; gap: 5px; }
.hl-bm .mic svg { width: 12px; height: 12px; flex: none; }

/* Les matchs, journée par journée */
.hl-filtre { margin-left: auto; }
.lg-bloc h2:has(.hl-filtre) { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hl-jt { display: flex; align-items: baseline; gap: 8px; font-size: 11.5px; font-weight: 800; color: var(--cyan); margin: 14px 0 4px; text-transform: uppercase; letter-spacing: .06em; }
.hl-jt:first-of-type { margin-top: 0; }
.hl-jt small { color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 11.5px; }
.hl-mr { display: grid; grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr) minmax(0, 1.1fr); gap: 10px; align-items: center; padding: 7px 2px; border-top: 1px solid var(--line); font-size: 13px; }
.hl-mr .a { text-align: right; font-weight: 700; }
.hl-mr .b { font-weight: 700; }
.hl-mr .pe { color: var(--muted); font-weight: 600; }
.hl-mr .sc { justify-self: center; display: inline-flex; flex-direction: column; align-items: center; font-variant-numeric: tabular-nums; font-weight: 800;
  background: rgba(0,0,0,.3); padding: 2px 8px; border-radius: 7px; white-space: nowrap; line-height: 1.3; }
.hl-mr .sc small { font-size: 9.5px; color: var(--muted); font-weight: 700; }
.hl-mr .sc.ff { font-size: 11px; color: var(--muted); font-weight: 700; }
.hl-mr .k { display: flex; justify-content: flex-end; min-width: 0; }
.hl-vide { color: var(--muted); font-style: normal; }
.hl-pastille { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px;
  background: rgba(169,139,255,.16); color: #c9b8ff; max-width: 100%; min-width: 0; }
.hl-pastille > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hl-pastille svg { width: 12px; height: 12px; flex: none; }
.hl-pastille a, .hl-bm .mic a, .hl-cl a { color: inherit; text-decoration: underline; text-decoration-color: rgba(201,184,255,.45); text-underline-offset: 2px; }
.hl-pastille a:hover, .hl-bm .mic a:hover, .hl-cl a:hover { color: var(--yellow); }

@media (max-width: 900px) {
  .hl-ens, .hl-saison { grid-template-columns: minmax(0, 1fr); }
  .hl-chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hl-tags { margin-left: 0; }
}
@media (max-width: 640px) {
  .hl-saisons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hl-mr { grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); row-gap: 4px; }
  .hl-mr .k { grid-column: 1 / 4; justify-content: center; }
  .hl-mr .k:empty { display: none; }
  .hl-tab .hl-pc { display: none; }
  .hl-brk { grid-template-columns: repeat(var(--tours, 2), minmax(150px, 1fr)); }
}
/* Mêmes largeurs de colonnes d'un classement à l'autre (groupes A et B côte à côte dans la lecture). */
.hl-tab th:nth-child(3), .hl-tab th:nth-child(4), .hl-tab th:nth-child(5) { width: 34px; }
.hl-tab th:nth-child(6) { width: 76px; }
.hl-tab th:nth-child(7) { width: 40px; }
/* « Revoir » : le stream d'un match casté, lu sur Olympe (S18, S19). */
.hl-vod { flex: none; font-size: 11px; font-weight: 800; color: #ff9aa4; background: rgba(255,77,94,.14); border-radius: 999px; padding: 2px 8px; margin-left: 5px; text-decoration: none; white-space: nowrap; }
.hl-vod:hover { color: #fff; background: rgba(255,77,94,.35); }
.hl-bm .mic .hl-vod { margin-left: auto; }

/* ══════════ La Ligue se présente (15 octobre 2026, maquette « La Ligue se présente ») ══════════
   Réseaux de l'en-tête (ligue-entete.mjs) ; onglets À propos et Règlement,
   Pilotage › À propos (ligue-apropos-ui.mjs). La liste du staff a ses propres
   styles, posés par staff-liste.mjs. */
.lg-reseaux { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.lg-res { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; padding: 5px 11px; border-radius: 9px;
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: var(--text); text-decoration: none; white-space: nowrap; }
.lg-res:hover { background: rgba(255,255,255,.12); color: var(--text); }
.lg-res.dsc { background: #5865f2; border-color: #5865f2; color: #fff; }
.lg-res.dsc:hover { filter: brightness(1.1); }
.la-cols { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 14px; align-items: start; }
@media (max-width: 860px) { .la-cols { grid-template-columns: 1fr; } }
.la-def { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: 13px; }
.la-def dt { color: var(--muted); font-weight: 700; }
.la-def dd { margin: 0; color: var(--body); }
.la-champ { display: grid; gap: 6px; margin: 12px 0 0; font-size: 12.5px; }
.la-champ > span { font-weight: 800; color: var(--text); }
.la-champ small { color: var(--muted); font-size: 12px; }
.la-champ small.err { color: #ff8a9a; }
.la-champ input, .la-champ textarea, .la-staff input { font: inherit; font-size: 13px; padding: 8px 10px; border-radius: 9px;
  border: 1px solid rgba(255,255,255,.14); background: rgba(13,10,20,.6); color: var(--text); width: 100%; box-sizing: border-box; color-scheme: dark; }
.la-champ textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.la-champ.erreur input { border-color: #ff8a9a; }
.la-reseaux-champs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 0 12px; }
.la-pied { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.la-pied .lg-msg { margin: 0; }
.la-staff-liste { display: grid; gap: 6px; margin: 10px 0; }
.la-staff { display: grid; grid-template-columns: 32px minmax(0, 1fr) minmax(0, 220px) auto; gap: 10px; align-items: center; padding: 8px 10px;
  border-radius: 11px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.06); }
.la-staff .tx { min-width: 0; display: grid; gap: 2px; }
.la-staff .tx b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.la-staff .tx small { color: var(--yellow); font-size: 11.5px; }
.la-ordre { display: flex; gap: 4px; }
@media (max-width: 560px) { .la-staff { grid-template-columns: 32px minmax(0, 1fr) auto; } .la-staff input { grid-column: 2 / 4; } }

/* Le texte riche (présentation, règlement) : copie des règles de tournois.css,
   que ligue.html ne charge pas (bloc « Texte riche », 12 octobre 2026). */
.texte-riche { display: grid; gap: 10px; color: var(--text); line-height: 1.6; overflow-wrap: anywhere; }
.texte-riche > * { margin: 0; }
.texte-riche h3 { font-size: 18px; color: var(--text); margin-top: 4px; }
.texte-riche h4 { font-size: 15.5px; color: var(--text); margin-top: 2px; }
.texte-riche h5 { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.texte-riche ul, .texte-riche ol { padding-left: 22px; display: grid; gap: 3px; }
.texte-riche a { color: var(--cyan); font-weight: 700; }
.texte-riche hr { border: 0; border-top: 1px solid var(--line); width: 100%; }
.texte-riche strong { color: var(--text); }
.lg-bloc .texte-riche p, .lg-bloc .texte-riche li { margin: 0; color: var(--body); font-size: 13.5px; }
.tr-c-rose { color: #ff6fb2; } .tr-c-jaune { color: var(--yellow); } .tr-c-cyan { color: var(--cyan); }
.tr-c-vert { color: var(--win); } .tr-c-violet { color: #b69cff; }
.tr-editeur { display: grid; gap: 6px; }
.tr-editeur textarea[hidden], .tr-editeur .tr-apercu[hidden] { display: none; }
.tr-barre { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.tr-b { font: inherit; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 7px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: var(--text); cursor: pointer; }
.tr-b:hover { border-color: rgba(255,255,255,.3); }
.tr-b[aria-pressed="true"] { background: var(--text); color: #140f1d; }
.tr-pastille { width: 22px; height: 22px; padding: 0; border-radius: 50%; }
.tr-c-fond-rose { background: #ff6fb2; } .tr-c-fond-jaune { background: var(--yellow); } .tr-c-fond-cyan { background: var(--cyan); }
.tr-c-fond-vert { background: var(--win); } .tr-c-fond-violet { background: #b69cff; }
.tr-sep { width: 1px; height: 18px; background: var(--line); margin: 0 3px; }
.tr-apercu-b { margin-left: auto; }
.tr-apercu { border: 1px dashed rgba(255,255,255,.14); border-radius: 10px; padding: 12px 14px; min-height: 120px; }
.tr-aide { margin: 0; font-size: 11.5px; color: var(--muted); }

/* ══ La bannière de l'en-tête (15 octobre 2026, public/js/banniere-ui.mjs) : bord à bord
   sur les marges de .lg-tete (16px 20px), le logo en chevauche le bas. */
.lg-tete.lg-ban { --bn-pad: 16px; --bn-pad-h: 20px; --bn-rayon: 18px; }
.lg-tete > .bn { flex: 0 0 calc(100% + 40px); }
.lg-tete-txt > .bn-ajout { margin: 8px 0 0; }
.lg-tete .bn-chev { margin-top: -40px; }
.lg-tete .bn-chev > * { box-shadow: none; }

/* ══ Les Splatoon Euro Leagues (15 octobre 2026, maquette « Bannières personnalisées, et
   les ligues européennes ») : la couleur de chaque ligue sur son en-tête (--lg-c, site SEL),
   ses drapeaux, son nom complet, et la pastille « Euro Leagues » vers la page du circuit. */
.lg-tete[style*="--lg-c"] { background: linear-gradient(180deg, color-mix(in srgb, var(--lg-c) 16%, transparent), color-mix(in srgb, var(--lg-c) 3%, transparent)), var(--surface); }
.lg-tete h1 .lg-complet { font-size: 14px; font-weight: 700; color: var(--body); }
.lg-drapeaux { display: inline-flex; gap: 4px; align-self: center; }
.lg-drapeau { width: 20px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.18); object-fit: cover; }
.lg-sel { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; padding: 4px 11px 4px 7px; border-radius: 9px;
  color: #b9d4ff; border: 1px solid rgba(80,150,255,.35); background: rgba(40,110,255,.10); }
.lg-sel:hover { background: rgba(40,110,255,.2); color: #fff; }
.lg-sel img { width: 26px; height: auto; }

/* La saison d'une ligue lue sur Olympe (UCC) : ligue-olympe-ui.mjs. */
.hl-chiffres.trois { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.so-logo { width: 22px; height: 22px; border-radius: 6px; object-fit: cover; flex: none; background: rgba(255,255,255,.06); }
.so-logo.vide { display: inline-grid; place-items: center; font-size: 9px; font-weight: 800; color: var(--muted); }
.so-eq { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.so-tab td:nth-child(2) { text-align: left; }
.so-mr { display: grid; grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr); gap: 10px; align-items: center; padding: 7px 2px; border-top: 1px solid var(--line); font-size: 13px; }
.so-mr > span:not(.sc) { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 700; overflow-wrap: anywhere; }
.so-mr .a { justify-content: flex-end; text-align: right; }
.so-mr .pe { color: var(--muted); font-weight: 600; }
.so-mr .sc { justify-self: center; font-variant-numeric: tabular-nums; font-weight: 800; }
.so-mr .sc.ff { font-size: 11px; color: var(--muted); }
.so-brk { display: grid; grid-template-columns: repeat(var(--tours, 2), minmax(170px, 1fr)); gap: 10px; align-items: center; overflow-x: auto; }
.so-brk .tour { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.so-lib { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.so-bm { border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.03); overflow: hidden; }
.so-bm.perdants { border-style: dashed; }
.so-bm > div { display: flex; justify-content: space-between; gap: 8px; padding: 6px 9px; font-size: 12.5px; font-weight: 700; }
.so-bm > div > span:first-child { display: inline-flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.so-bm > div + div { border-top: 1px solid var(--line); }
.so-bm .pe { color: var(--muted); font-weight: 600; }
.so-bm .so-logo { width: 18px; height: 18px; }
.so-champ { color: var(--yellow); font-weight: 700; }
@media (max-width: 900px) { .hl-chiffres.trois { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .hl-chiffres.trois { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .so-mr { grid-template-columns: minmax(0, 1fr) 52px minmax(0, 1fr); font-size: 12.5px; }
}
.so-podium { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 9px 2px; border-top: 1px solid var(--line); font-size: 13.5px; }
.so-podium:first-of-type { border-top: 0; }
.so-podium span { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.so-podium.or span { color: #ffd36b; } .so-podium.argent span { color: #cfd6e4; } .so-podium.bronze span { color: #e0a070; }

/* ══════════ Pilotage › Matchs › Planification (15 octobre 2026, public/js/ligue-planif-ui.mjs) ══════════ */
.lp-tete { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin: 0 0 12px; font-size: 13px; color: var(--body); }
.lp-tete b { color: var(--text); font-size: 14.5px; }
.lp-regle { flex-basis: 100%; color: var(--muted); font-size: 12.5px; }
.lp-filtres { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.lp-filtre { font: inherit; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--surface2); background: none; color: var(--muted); cursor: pointer; }
.lp-filtre small { font-size: 11px; opacity: .8; margin-left: 2px; }
.lp-filtre[aria-pressed="true"] { color: var(--text); background: var(--surface2); border-color: #3a3150; }
.lp-table { overflow-x: auto; max-height: 70vh; overflow-y: auto; border: 1px solid var(--surface2); border-radius: 12px; }
.lp-table table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 640px; }
.lp-table thead th { position: sticky; top: 0; z-index: 1; background: var(--surface2); color: var(--muted); text-align: left; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 8px 10px; }
.lp-table td { padding: 9px 10px; border-top: 1px solid var(--line); vertical-align: top; color: var(--body); }
.lp-table td b { color: var(--text); }
.lp-table td small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 2px; }
.lp-contre { color: var(--muted); font-size: 12px; }
.lp-act { white-space: nowrap; text-align: right; }
.lp-act .lg-bt + .lg-bt { margin-left: 4px; }
.lp-pastille { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .03em; padding: 2px 8px; border-radius: 999px; white-space: nowrap; background: rgba(255,255,255,.07); color: var(--body); }
.lp-pastille.jaune { background: rgba(255,225,77,.14); color: var(--yellow); }
.lp-pastille.orange { background: rgba(255,154,60,.15); color: #ff9a3c; margin-left: 6px; }
.lp-pastille.rose { background: rgba(255,47,146,.16); color: #ff7dbb; }
.lp-pastille.vert { background: rgba(47,232,138,.14); color: var(--win); }
.lp-props { font-size: 12px; margin-top: 3px; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.lp-props > span:first-child { color: var(--muted); }
.lp-h { font: inherit; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 7px; border: 1px solid #3a3150; background: rgba(13,10,20,.5); color: var(--text); }
button.lp-h { cursor: pointer; border-color: color-mix(in srgb, var(--win) 55%, transparent); }
.lp-rien { color: var(--muted); font-style: italic; }
.lp-form-l td { background: rgba(13,10,20,.35); }
.lp-form { display: grid; gap: 10px; max-width: 560px; }
.lp-form p { margin: 0; font-size: 12.5px; color: var(--muted); }
/* Lot 387 : le report d'un match (qui l'a demandé, le formulaire « Reporter »). */
.lp-report { margin-top: 4px; font-size: 12.5px; color: #ffb36b; }
.lp-report b { color: var(--text); }
.lp-report small { color: var(--muted); margin-left: 4px; }
.lp-changer { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; color: var(--muted) !important; text-decoration: underline; font-size: 12px; margin-left: 6px; }
.lg-bt.lp-rep { border-color: rgba(255,154,60,.55); color: #ffb36b; }
.lp-rep-choix-l { display: flex; flex-wrap: wrap; gap: 6px; }
.lp-rep-choix { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 6px 10px; cursor: pointer; }
.lp-rep-choix input { accent-color: #ff9a3c; }
.lp-form-rep p b { color: var(--text); }
.lp-champs { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-champs select, .lp-champs input { font: inherit; font-size: 13px; padding: 7px 9px; border-radius: 9px; border: 1px solid var(--surface2); background: var(--bg); color: var(--text); }
.lp-case { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--body); cursor: pointer; margin-top: 8px; }
.lp-case input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.lp-case b { display: block; color: var(--text); }
.lp-case small { display: block; color: var(--muted); font-size: 12px; line-height: 1.45; margin-top: 2px; }
.lp-msg { font-size: 13px; font-weight: 700; margin: 0 0 12px; }
.lp-msg.ok { color: var(--win); } .lp-msg.ko { color: #ff8f8f; }

/* ══════════ Pilotage › À propos : les casters maison (15 octobre 2026, ligue-apropos-ui.mjs) ══════════ */
.la-ligue-ch { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px; border: 1px solid var(--surface2); border-radius: 12px; background: rgba(13,10,20,.45); margin: 4px 0 12px; }
.la-ligue-ch b { font-size: 13px; }
.la-choix { display: inline-flex; flex-wrap: wrap; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; padding: 3px; gap: 2px; }
.la-choix button { border: 0; background: none; color: var(--muted); font: inherit; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 7px; cursor: pointer; white-space: nowrap; }
.la-choix button[aria-pressed="true"] { background: var(--surface2); color: var(--text); }
.la-choix button:disabled { opacity: .45; cursor: default; }
.la-casters { display: grid; }
.la-caster { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.la-caster:first-child { border-top: 0; }
.la-caster .tx b { font-size: 14px; }
.la-caster .tx small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; line-height: 1.45; }
.la-gris { color: var(--muted); opacity: .8; }
.la-indice { grid-column: 1 / -1; font-size: 12px; color: var(--yellow); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.la-indice button { font: inherit; font-size: 11.5px; font-weight: 700; color: var(--yellow); background: rgba(255,225,77,.1); border: 1px solid rgba(255,225,77,.35); border-radius: 7px; padding: 3px 8px; cursor: pointer; }
@media (max-width: 760px) { .la-caster { grid-template-columns: minmax(0, 1fr); } }

/* ══ Pilotage › Discord › Bot Discord (16 octobre 2026, public/js/ligue-discord-ui.mjs) ══ */
.ld-serveur { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 13.5px; color: var(--body); }
.ld-serveur b { color: var(--text); }
.ld-serveur img, .ld-ico { width: 36px; height: 36px; border-radius: 50%; flex: none; }
.ld-ico { display: grid; place-items: center; background: #5865f2; color: #fff; font-weight: 800; }
.ld-outils { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ld-serveur .ld-outils { margin-left: auto; }
.ld-barre { margin: 4px 0 12px; }
.ld-inline { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); font-weight: 700; }
.ld-reglages { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 16px; margin-top: 12px; }
.ld-reglages label { display: grid; gap: 4px; font-size: 12px; font-weight: 700; color: var(--muted); }
.ld-reglages .lg-note { grid-column: 1 / -1; margin: 0; }
.ld-reglages select, .ld-inline select, .ld-cat input, .ld-cat select {
  color-scheme: dark; font: inherit; font-size: 13px; padding: 6px 8px; border-radius: 8px; border: 1px solid rgba(255,255,255,.16);
  background: var(--bg, #0d0a14); color: var(--text); min-width: 0; width: 100%; }
.ld-inline select { width: auto; max-width: 260px; }
.ld-cat select:disabled { opacity: .55; }
.ld-alerte { color: #ffd166; font-size: 13px; margin: 10px 0 0; }
.ld-confirme { margin-top: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255,107,107,.45); background: rgba(255,107,107,.08); font-size: 13px; color: var(--body); display: grid; gap: 8px; }
.ld-confirme b { color: var(--text); }
.ld-etat { font-size: 11px; font-weight: 800; border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.ld-e-ok { background: rgba(47,232,138,.14); color: #2fe88a; }
.ld-e-creer { background: rgba(18,224,224,.13); color: var(--cyan); }
.ld-e-renommer { background: rgba(255,225,77,.13); color: #ffe14d; }
.ld-e-renomme { background: rgba(255,154,60,.15); color: #ff9a3c; }
.ld-e-relie { background: rgba(185,163,255,.15); color: #c9b8ff; }
.ld-deux { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 14px; align-items: start; }
.ld-deux > div { min-width: 0; }
.ld-cat { border: 1px solid var(--surface2); border-radius: 12px; margin-bottom: 10px; overflow: hidden; background: rgba(0,0,0,.12); }
.ld-cat-t { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 8px 10px; background: rgba(255,255,255,.03); border-bottom: 1px solid var(--line); }
.ld-cat-t input { flex: 1 1 200px; width: auto; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
/* Deux lignes par salon : le nom et ses boutons, puis type, accès et fonction (la colonne est étroite à côté de l'aperçu). */
.ld-sal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "nom nom fin" "type vis fonction"; gap: 6px; align-items: center; padding: 8px 10px; border-top: 1px solid var(--line); }
.ld-sal > .ld-nom { grid-area: nom; }
.ld-sal > .ld-fin { grid-area: fin; }
.ld-sal > select:nth-of-type(1) { grid-area: type; }
.ld-sal > select:nth-of-type(2) { grid-area: vis; }
.ld-sal > select:nth-of-type(3) { grid-area: fonction; }
.ld-sal:first-of-type { border-top: 0; }
.ld-nom { display: flex; gap: 6px; align-items: center; min-width: 0; }
.ld-t { color: var(--muted); font-weight: 800; }
.ld-fin { display: flex; gap: 5px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.ld-renomme { grid-column: 1 / -1; grid-row: 3; flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12.5px; color: #ff9a3c; }
.ld-ajout { padding: 7px 10px; border-top: 1px dashed rgba(255,255,255,.16); }
.ld-ajout button { border: 0; background: none; color: var(--cyan); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; padding: 0; }
.ld-plan { border-color: rgba(18,224,224,.4); }
.ld-plan ul { margin: 0 0 10px; padding-left: 18px; font-size: 13px; display: grid; gap: 3px; color: var(--body); }
.ld-plan b { color: var(--text); }
.ld-ko { color: #ff8f8f; }
.ld-dc { background: #1e1f22; border-radius: 12px; padding: 10px 8px; position: sticky; top: calc(var(--hauteur-nav, 65px) + 12px); font-size: 13px; }
.ld-dc-srv { color: #fff; font-weight: 800; padding: 2px 6px 8px; border-bottom: 1px solid rgba(0,0,0,.35); margin-bottom: 4px; }
.ld-dc-ct { color: #949ba4; font-size: 11px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; margin: 10px 6px 3px; }
.ld-dc-ch { color: #949ba4; padding: 3px 6px; border-radius: 5px; display: flex; gap: 6px; align-items: center; overflow-wrap: anywhere; }
.ld-dc-ch.neuf { color: #dbdee1; background: rgba(88,101,242,.18); }
.ld-dc-ch.cache { opacity: .6; }
.ld-dc-ch small { margin-left: auto; font-size: 10px; color: #a5adff; }
@media (max-width: 900px) {
  .ld-deux { grid-template-columns: minmax(0, 1fr); }
  .ld-dc { position: static; }
}
@media (max-width: 560px) {
  .ld-sal { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "nom nom" "fin fin" "type vis" "fonction fonction"; }
  .ld-fin { justify-content: flex-start; }
  .ld-renomme { grid-row: 5; }
}
/* Bot Discord › Divisions (16 octobre 2026) */
.ld-onglets { margin: 4px 0 12px; }
.ld-ligne { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin: 4px 0 12px; font-size: 13.5px; }
.ld-ligne b { color: var(--text); }
.ld-ligne input { color-scheme: dark; font: inherit; font-size: 13px; padding: 6px 8px; border-radius: 8px; border: 1px solid rgba(255,255,255,.16); background: var(--bg, #0d0a14); color: var(--text); min-width: 0; width: 220px; max-width: 100%; }
.ld-bascule { width: 36px; height: 21px; border-radius: 999px; background: var(--surface2); position: relative; flex: none; border: 0; cursor: pointer; }
.ld-bascule::after { content: ''; position: absolute; left: 3px; top: 3px; width: 15px; height: 15px; border-radius: 50%; background: #fff; transition: left .15s; }
.ld-bascule[aria-checked="true"] { background: var(--pink, #ff2f92); }
.ld-bascule[aria-checked="true"]::after { left: 18px; }
.ld-bascule:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .ld-bascule::after { transition: none; } }
.ld-reglages input { color-scheme: dark; font: inherit; font-size: 13px; padding: 6px 8px; border-radius: 8px; border: 1px solid rgba(255,255,255,.16); background: var(--bg, #0d0a14); color: var(--text); min-width: 0; width: 100%; }
.ld-cases { display: grid; gap: 8px; margin: 12px 0 6px; }
.ld-coche { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--body); }
.ld-coche input { accent-color: var(--pink, #ff2f92); margin-top: 3px; }
.ld-coche small { display: block; color: var(--muted); font-size: 12px; }
.ld-liste { margin: 0 0 10px; padding-left: 18px; font-size: 13px; color: var(--body); display: grid; gap: 3px; }
.ld-liste b { color: var(--text); }
.ld-sal.ld-sal-div { grid-template-areas: "nom nom fin" "vis fonction fonction"; }
.ld-sal.ld-sal-div > select:nth-of-type(1) { grid-area: vis; }
.ld-sal.ld-sal-div > select:nth-of-type(2) { grid-area: fonction; }
.ld-manque { margin-top: 12px; }
.ld-manque h3 { margin: 0 0 6px; font-size: 13.5px; color: var(--text); }
.ld-manque ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 12.5px; }
.ld-manque li { padding: 6px 9px; border-radius: 8px; background: rgba(0,0,0,.18); border: 1px solid var(--line); }
.ld-manque li b { color: var(--text); }
.ld-manque li span { color: var(--muted); }
.ld-lien { border: 0; background: none; color: var(--cyan); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; padding: 6px 0 0; }
.ld-plan .lp-table { margin-bottom: 10px; }
@media (max-width: 560px) { .ld-sal.ld-sal-div { grid-template-areas: "nom nom" "fin fin" "vis vis" "fonction fonction"; } }

/* ── Onglets Équipes et Joueurs d'une ligue lue sur Olympe (l'UCC, 16 octobre 2026, js/ligue-equipes-ui.mjs) ── */
.le-outils { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.le-recherche { flex: 1 1 220px; min-width: 0; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--panel-border); background: var(--surface); color: var(--text); font: inherit; font-size: 13.5px; }
.le select { color-scheme: dark; padding: 9px 10px; border-radius: 10px; border: 1px solid var(--panel-border); background: var(--surface); color: var(--text); font: inherit; font-size: 13.5px; max-width: 100%; }
.le-coche { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; color: var(--body); cursor: pointer; }
.le-source { color: var(--muted); font-size: 12.5px; margin: 10px 0 12px; }
.le-note { color: var(--muted); font-size: 12px; }
.le-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.le-carte { display: grid; gap: 10px; padding: 12px; border: 1px solid var(--panel-border); border-radius: 14px; background: var(--panel); color: var(--text); min-width: 0; }
a.le-carte:hover { border-color: rgba(255,255,255,.22); color: var(--text); }
.le-haut { display: flex; gap: 10px; align-items: center; min-width: 0; }
.le-haut > span { display: grid; min-width: 0; }
.le-haut b { font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; }
.le-haut small { color: var(--muted); font-size: 12px; }
.le-bas { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.le-pile { display: flex; }
.le-av { margin-left: -6px; border-radius: 50%; box-shadow: 0 0 0 2px var(--surface); display: inline-flex; }
.le-av:first-child { margin-left: 0; }
.le-av.plus { width: 26px; height: 26px; align-items: center; justify-content: center; background: var(--surface2); color: var(--body); font-size: 10.5px; font-weight: 800; }
.le-bracket { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; }
.le-bracket.or { color: #e8c44a; } .le-bracket.argent { color: #c7cdd8; } .le-bracket.bronze { color: #d08a52; }
.le-tab { overflow: auto; max-height: 70vh; border: 1px solid var(--panel-border); border-radius: 12px; }
.le-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 13.5px; }
.le-table thead th { position: sticky; top: 0; z-index: 1; background: var(--surface2); color: var(--muted); text-align: left; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 9px 12px; white-space: nowrap; }
.le-table td { padding: 8px 12px; border-top: 1px solid var(--line); vertical-align: middle; }
.le-table .c { text-align: center; } .le-table .n { text-align: right; font-variant-numeric: tabular-nums; }
.le-table img { vertical-align: middle; border-radius: 2px; }
.le-qui { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.le-qui b { font-weight: 700; }
.le-cap { font-size: 10px; font-weight: 800; color: var(--yellow); border: 1px solid currentColor; border-radius: 5px; padding: 0 4px; }
.le-eq { display: inline-flex; align-items: center; gap: 6px; color: var(--body); font-weight: 600; }
.le-ok { color: var(--win); font-weight: 700; font-size: 12.5px; }
.le .hl-note { margin-top: 10px; }

/* Onglet Joueurs de l'UCC : la présentation de la page Joueurs de la Ligue EBTV (players.html), 16 octobre 2026. */
.le-sous { color: var(--muted); font-size: .9rem; margin: 0 0 1.25rem; }
.le-cherche { position: relative; margin-bottom: 1.25rem; max-width: 420px; }
.le-cherche input { width: 100%; box-sizing: border-box; padding: .7rem .9rem .7rem 2.2rem; border-radius: 12px; background: var(--panel); color: var(--text); border: 1px solid var(--panel-border); font-family: inherit; font-size: .9rem; outline: none; transition: border-color .12s; }
.le-cherche input:focus { border-color: var(--accent); }
.le-cherche .ico { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .95rem; }
.le-grp { font-size: .9rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin: 1.75rem 0 .75rem; }
.le-jgrille { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.le-jc { display: flex; align-items: center; gap: .9rem; padding: 1rem; text-decoration: none; background: var(--panel); border: 1px solid var(--panel-border); border-radius: 16px; transition: border-color .12s, transform .12s; color: var(--text); min-width: 0; }
a.le-jc:hover { border-color: var(--accent); transform: translateY(-2px); color: var(--text); }
.le-jav { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; background: rgba(255,255,255,.06); border: 1px solid var(--panel-border); font-weight: 800; color: var(--muted); font-size: 1rem; overflow: hidden; }
.le-jav img { width: 100%; height: 100%; object-fit: cover; display: block; }
.le-jc .pn, .le-jc .pm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.le-jc .pn { font-weight: 700; font-size: .95rem; color: var(--text); }
.le-jc .pm { font-size: .78rem; color: var(--muted); margin-top: .15rem; }
.le-jc .pstat { margin-left: auto; text-align: right; flex-shrink: 0; }
.le-jc .pstat .wr { font-weight: 800; font-size: .95rem; color: var(--text); }
.le-jc .pstat .rd { font-size: .72rem; color: var(--muted); }
.le-vide { color: var(--muted); padding: 1rem 0; }

/* ── Fin de saison : Tous les matchs, Classement, Brackets (UCC, DSB ; 16 octobre 2026, js/ligue-fin-ui.mjs) ── */
.lg-fin { color: var(--yellow); }
.fs { display: grid; gap: 14px; }
/* Une grille sans largeur minimale : sans minmax(0, 1fr), un Bracket large
   pousserait la page au lieu de défiler dans son propre cadre. */
.fs:not(.hl-saison) { grid-template-columns: minmax(0, 1fr); }
/* Classement de fin de saison : le tableau prend plus de place que les vainqueurs. */
.fs.hl-saison { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
@media (max-width: 900px) { .fs.hl-saison { grid-template-columns: minmax(0, 1fr); } }
/* Le tableau du classement tient dans sa colonne (pas de largeur minimale de 560 px). */
.le-table.fs-cl { min-width: 0; }
.le-table.fs-cl td, .le-table.fs-cl th { padding-left: 8px; padding-right: 8px; }
.le-table.fs-cl td.n, .le-table.fs-cl th.n { width: 1%; white-space: nowrap; }
@media (max-width: 480px) { .le-table.fs-cl td, .le-table.fs-cl th { padding-left: 5px; padding-right: 5px; } .le-table.fs-cl { font-size: 13px; } }
.fs-pastilles { display: flex; gap: 6px; flex-wrap: wrap; }
.fs-pas { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--panel-border); background: transparent; color: var(--body); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.fs-pas:hover { border-color: rgba(255,255,255,.25); }
.fs-pas.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.fs .le-cherche { margin-bottom: 0; }
.fs-grp { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 10px; }
.fs-mgrille { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; margin-top: 8px; }
@media (max-width: 400px) { .fs-mgrille { grid-template-columns: 1fr; } }
.fs-mc { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--panel-border); border-radius: 12px; background: var(--panel); min-width: 0; }
.fs-mq { min-width: 0; }
.fs-mq .eq { font-weight: 700; color: var(--text); overflow-wrap: anywhere; }
.fs-mq .eq i { font-style: normal; color: var(--muted); font-weight: 600; margin: 0 2px; }
.fs-mq .eq .pe { color: var(--muted); font-weight: 600; }
.fs-mq small { display: block; color: var(--muted); font-size: 12px; }
.fs-md { display: grid; justify-items: end; gap: 4px; flex-shrink: 0; }
.fs-sc { font-weight: 800; font-variant-numeric: tabular-nums; font-size: 16px; color: var(--body); }
.fs-sc .g { color: var(--cyan); }
.fs-sc.ff { font-size: 12px; color: var(--muted); }
.fs-b { font-size: 10.5px; font-weight: 800; padding: 2px 8px; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; color: var(--body); }
.fs-b.or { color: #e8c44a; } .fs-b.argent { color: #c7cdd8; } .fs-b.bronze { color: #d08a52; } .fs-b.suisse { color: #9cc2ff; } .fs-b.div { color: var(--cyan); }
.fs-vide { color: var(--muted); padding: 1rem 0; }
.fs-eq { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; }
.fs-cl tr.p1 td:first-child { color: #e8c44a; font-weight: 800; } .fs-cl tr.p2 td:first-child { color: #c7cdd8; font-weight: 800; } .fs-cl tr.p3 td:first-child { color: #d08a52; font-weight: 800; }
/* Le Bracket, dessiné comme l'onglet Bracket d'un tournoi : une colonne par tour. */
.fs-resume { color: var(--muted); font-size: 13px; margin: 0 0 6px; }
.fs-or { color: #e8c44a; }
.fs-cote { font-size: 11.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: 14px 0 8px; }
/* Un Bracket : une colonne par tour. Le titre du tour reste en haut de sa
   colonne (.fs-col) et ses matchs se répartissent dans la hauteur (.fs-colm),
   pour que chaque match tombe entre les deux matchs qui y mènent. */
.fs-brk { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr); gap: 18px; overflow-x: auto; padding-bottom: 8px; }
.fs-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.fs-colm { flex: 1; display: flex; flex-direction: column; justify-content: space-around; gap: 12px; }
.fs-col h4 { font-size: 11px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: 0; }
.fs-bm { border: 1px solid var(--panel-border); border-radius: 12px; background: var(--surface); overflow: hidden; }
.fs-bm > div { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; border-top: 1px solid var(--line); font-size: 13.5px; }
.fs-bm > div:first-child { border-top: 0; }
.fs-bm > div span { display: inline-flex; align-items: center; gap: 7px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fs-bm > div.v { font-weight: 800; color: var(--text); }
.fs-bm > div.pe { color: var(--muted); }
.fs-bm > div b { font-variant-numeric: tabular-nums; }
.fs-bm small { display: block; padding: 4px 10px; font-size: 11px; color: var(--muted); border-top: 1px solid var(--line); }
.fs-champ { border: 1px solid #e8c44a; color: #e8c44a; border-radius: 12px; padding: 12px; font-weight: 800; text-align: center; }

/* ══════════ Pilotage › Déroulé (16 octobre 2026, maquette « Phases des ligues » v3, écrans 1 et 7) ══════════ */
.dr { display: grid; gap: 12px; }
.dr p { margin: 0; color: var(--body); font-size: 13.5px; }
.dr-frise { display: flex; gap: 6px; flex-wrap: wrap; }
.dr-ph { flex: 1 1 110px; min-width: 0; display: grid; gap: 2px; align-content: start; border: 1px solid var(--panel-border); border-radius: 10px; padding: 9px 10px; font-size: 12px; color: var(--muted); }
.dr-ph b { color: var(--body); font-size: 13px; }
.dr-ph.off { opacity: .4; border-style: dashed; }
.dr-ph.ici { border-color: var(--accent); background: rgba(255, 47, 146, .08); }
.dr-ph.ici b { color: var(--text); }
.dr-tag { font-size: 10.5px; font-weight: 800; color: var(--accent); text-transform: uppercase; letter-spacing: .05em; }
.dr-titre { font-size: 12px !important; font-weight: 800; color: var(--muted) !important; text-transform: uppercase; letter-spacing: .06em; }
.dr-cases { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.dr-case { margin-top: 0; }
.dr-seed { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.dr-seed > b { color: var(--text); font-size: 13.5px; }
.dr-seed.off .dr-ligne { opacity: .55; }
.dr-ligne { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13.5px; color: var(--body); }
.dr-pas { display: inline-flex; align-items: center; gap: 6px; cursor: default; }
.dr-pas a { color: inherit; text-decoration: none; }
.dr-pas a:hover { color: var(--text); text-decoration: underline; }
.dr-pas.perdu { opacity: .6; font-style: italic; }
.dr-x { border: 0; background: transparent; color: var(--muted); cursor: pointer; font: inherit; padding: 0 2px; }
.dr-x:hover { color: #ff8a8a; }
.dr-note { color: var(--muted) !important; font-size: 12.5px !important; }
.dr-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.dr-conf { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; width: 100%; border: 1px dashed var(--accent); border-radius: 12px; padding: 10px 12px; }
@media (max-width: 560px) { .dr-conf { grid-template-columns: 1fr 1fr; } .dr-conf p { grid-column: 1 / -1; } }
.dr select { color-scheme: dark; }

/* ══════════ Classement des divisions et Format des divisions (16 octobre 2026, maquette « Classement des divisions » v3) ══════════ */
.lc-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .lc-grille { grid-template-columns: minmax(0, 1fr); } }
.lc-titre { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(255,255,255,.25); text-underline-offset: 3px; }
.lc-titre:hover { color: var(--yellow); }
.le-table.lc-table { min-width: 0; }
.le-table.lc-table td, .le-table.lc-table th { padding-left: 8px; padding-right: 8px; }
.le-table.lc-table td.n, .le-table.lc-table th.n { width: 1%; white-space: nowrap; }
.lc-table tr.lc-clic { cursor: pointer; }
.lc-table tr.lc-clic:hover td, .lc-table tr.lc-clic:focus-visible td { background: rgba(255,255,255,.035); }
.lc-table tr.moi td { background: rgba(255,47,146,.08); }
.lc-table tr.ouverte td { background: rgba(255,255,255,.05); }
.lc-table td.p1 { color: #e8c44a; font-weight: 800; }
.lc-eq { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; min-width: 0; }
.lc-eq em { font-style: normal; font-size: 10px; font-weight: 800; color: var(--accent); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.lc-forme { display: inline-flex; gap: 3px; }
.lc-forme i { width: 17px; height: 17px; border-radius: 4px; display: inline-grid; place-items: center; font-style: normal; font-size: 10px; font-weight: 800; color: #0d0a14; }
.lc-forme i.v { background: var(--win); } .lc-forme i.d { background: #ff7a8a; } .lc-forme i.f { background: var(--muted); } .lc-forme i.n { background: #c7cdd8; }
.lc-sous td { padding: 0 10px 10px; border-top: 0; }
.lc-detail { display: grid; gap: 6px; padding-top: 6px; }
.lc-rm { display: flex; justify-content: space-between; gap: 10px; align-items: center; font-size: 13px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 10px; color: var(--body); text-decoration: none; }
a.lc-rm:hover { border-color: rgba(255,255,255,.22); color: var(--text); }
.lc-rm small { color: var(--muted); }
.lc-rm b { font-variant-numeric: tabular-nums; } .lc-rm b.g { color: var(--win); } .lc-rm b.p { color: #ff7a8a; }
.lc-fiche { font-size: 12.5px; font-weight: 700; color: var(--cyan); text-decoration: none; justify-self: start; margin-top: 2px; }
.lc-note { color: var(--muted); font-size: 12.5px; margin: 8px 0 0; }
.fs-pas.lc-moi { border-color: var(--accent); }
.fs-pas.lc-moi.on { border-color: var(--text); box-shadow: 0 0 0 2px var(--accent); }
@media (max-width: 480px) { .lc-table .lc-mob { display: none; } .lc-eq em { display: none; } }
/* Format des divisions */
.lc-format { display: grid; gap: 12px; }
.lc-format h3 { font-size: 13.5px; margin: 0 0 4px; color: var(--text); }
.lc-deux { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 860px) { .lc-deux { grid-template-columns: minmax(0, 1fr); } }
.lc-col { display: grid; gap: 8px; min-width: 0; }
.lc-crits { display: grid; gap: 6px; }
.lc-crit { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; font-size: 13px; }
.lc-crit.off b { color: var(--muted); }
.lc-crit b { display: block; color: var(--text); } .lc-crit small { display: block; color: var(--muted); font-size: 11.5px; line-height: 1.4; }
.lc-fl { display: inline-flex; flex-direction: column; gap: 2px; }
.lc-fl button { border: 0; background: rgba(255,255,255,.06); color: var(--body); border-radius: 4px; font-size: 9px; line-height: 1; padding: 3px 5px; cursor: pointer; }
.lc-fl button:disabled { opacity: .3; cursor: default; }
.lc-sw { position: relative; display: inline-block; width: 30px; height: 17px; flex: none; }
.lc-sw input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.lc-sw span { position: absolute; inset: 0; border-radius: 999px; background: rgba(255,255,255,.14); pointer-events: none; transition: background .15s; }
.lc-sw span::after { content: ''; position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 50%; background: var(--muted); transition: left .15s; }
.lc-sw input:checked + span { background: var(--accent); } .lc-sw input:checked + span::after { left: 15px; background: #fff; }
.lc-sw input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.lc-cases { display: flex; flex-wrap: wrap; gap: 2px 18px; }
.lc-case { margin-top: 4px; }
.lc-apart { font-size: 10px; color: var(--accent); font-weight: 800; }
.lc-format select { color-scheme: dark; }

/* ══════════ Classement de travail (16 octobre 2026, maquette « Pilotage de la ligue » v1, écran 4) ══════════ */
.lt { display: grid; gap: 10px; }
.lt-lien { color-scheme: dark; flex: 1 1 360px; min-width: 0; font: inherit; font-size: 13px; padding: 8px 10px; border-radius: 9px; border: 1px solid rgba(255,255,255,.16); background: var(--bg, #0d0a14); color: var(--text); }
.lt-texte { color-scheme: dark; width: 100%; font: 12px/1.4 ui-monospace, monospace; padding: 8px 10px; border-radius: 9px; border: 1px solid rgba(255,255,255,.16); background: var(--bg, #0d0a14); color: var(--text); resize: vertical; }
.lt-lienbt { font-size: 12.5px; color: var(--cyan); justify-self: start; }
.lt-outils { font-size: 13px; color: var(--body); }
.lt-taille, .lt-place { color-scheme: dark; width: 54px; font: inherit; font-size: 13px; padding: 4px 6px; border-radius: 7px; border: 1px solid rgba(255,255,255,.16); background: var(--bg, #0d0a14); color: var(--text); text-align: right; }
.lt-note { color-scheme: dark; width: 100%; min-width: 120px; font: inherit; font-size: 12.5px; padding: 4px 7px; border-radius: 7px; border: 1px solid var(--line); background: transparent; color: var(--body); }
.lt-note:focus { border-color: rgba(255,255,255,.3); color: var(--text); }
.lt-tab { max-height: 72vh; }
.le-table.lt-table { min-width: 980px; }
.lt-table td { padding-top: 5px; padding-bottom: 5px; }
.lt-table td.c, .lt-table th.c { text-align: center; }
.lt-table tr.off td { opacity: .5; }
.lt-table tr.lt-dep td { background: rgba(255,225,77,.05); }
.lt-table tr.lt-sep td { background: var(--surface2); color: var(--cyan); font-size: 11px; font-weight: 800; letter-spacing: .06em; padding: 4px 12px; }
.lt-table input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--accent); }
.lt-fl { white-space: nowrap; width: 1%; }
.lt-fl button { border: 0; background: rgba(255,255,255,.06); color: var(--body); border-radius: 4px; font-size: 9px; line-height: 1; padding: 4px 5px; cursor: pointer; margin-right: 2px; }
.lt-fl button:disabled { opacity: .3; cursor: default; }
.lt-tag { font-size: 10px; font-weight: 800; padding: 1px 7px; border-radius: 999px; border: 1px solid var(--accent); color: var(--accent); white-space: nowrap; }
.lt-tag.j { border-color: #ffe14d; color: #ffe14d; }
.lt-table select { color-scheme: dark; }

/* ══════════ Saison › Divisions (16 octobre 2026, maquette « Pilotage de la ligue » v1, écran 6) ══════════ */
.lr { display: grid; gap: 12px; }
.lr-divs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.lr-div { border: 1px solid var(--panel-border); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.lr-div h3 { margin: 0 0 6px; font-size: 14px; display: flex; gap: 8px; align-items: baseline; }
.lr-ret { margin-left: auto; font-size: 12px; color: var(--cyan); }
.lr-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.lr-liste li { display: grid; grid-template-columns: 18px auto minmax(0, 1fr) auto; gap: 6px; align-items: center; font-size: 13px; }
.lr-n { color: var(--muted); font-size: 11px; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.lr-nom { min-width: 0; overflow-wrap: anywhere; }
.lr-sel { color-scheme: dark; font: inherit; font-size: 11.5px; padding: 2px 4px; border-radius: 6px; border: 1px solid var(--line); background: var(--bg, #0d0a14); color: var(--body); max-width: 96px; }
.lr-restantes summary { cursor: pointer; font-size: 13px; color: var(--cyan); font-weight: 700; }
.lr-restantes ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 4px 12px; }
.lr-restantes li { display: flex; gap: 8px; align-items: center; justify-content: space-between; font-size: 13px; }
.lr-points { margin: 0; padding-left: 18px; font-size: 12.5px; color: var(--body); display: grid; gap: 3px; }
.lr-points li.ko { color: #ff8f8f; font-weight: 700; }
.lr-cree { border-color: var(--accent); }
.lr-titre { margin: 4px 0 0; font-size: 15px; }
.lr-seed { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--body); }
.lr-sems { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.lr-sem { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; display: grid; gap: 4px; }
.lr-sem.hors { border-color: #ff8f8f; }
.lr-sem .h { font-size: 11px; font-weight: 800; color: var(--cyan); letter-spacing: .04em; }
.lr-mc { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.lr-mc small { color: var(--muted); white-space: nowrap; }
.lr-mc.ex span { color: var(--muted); font-style: italic; }

/* ══════════ Organisation › Calendrier général (16 octobre 2026, maquette « Pilotage de la ligue » v1, écran 2) ══════════ */
.cg { display: grid; gap: 10px; align-content: start; }
.cg-frise { overflow-x: auto; padding-bottom: 4px; }
.cg-grille { display: grid; gap: 4px 2px; width: max-content; grid-auto-rows: auto; }
.cg-s { grid-row: 1; font-size: 10.5px; font-weight: 800; color: var(--muted); text-align: center; padding: 2px 0; border-radius: 5px; font-variant-numeric: tabular-nums; }
.cg-s.ici { background: var(--accent); color: #fff; }
.cg-b { grid-row: 2; font-size: 11.5px; font-weight: 800; padding: 6px 8px; border-radius: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #0d0a14; }
.cg-t { grid-row: 3; font-size: 10.5px; font-weight: 700; padding: 3px 6px; border-radius: 6px; border: 1px dashed var(--cyan); color: var(--cyan); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cg-t.seed { border-color: #ffe14d; color: #ffe14d; }
/* Les couleurs des phases (frise, pastilles, étiquettes). */
.cg-b.inter, .cg-pastille.inter { background: #7ec8ff; }
.cg-b.pre, .cg-pastille.pre { background: #b9a2ff; }
.cg-b.saison, .cg-pastille.saison { background: #ff6fae; }
.cg-b.pause, .cg-pastille.pause { background: #5d5870; color: #fff; text-align: center; }
.cg-b.fin, .cg-pastille.fin { background: #9aa3b5; }
.cg-deux { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 12px; align-items: start; }
@media (max-width: 900px) { .cg-deux { grid-template-columns: minmax(0, 1fr); } }
.cg-phases { display: grid; gap: 6px; }
.cg-ph { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: 13px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.cg-ph > b { width: 96px; flex: none; }
.cg-ph > .cg-champ:first-of-type { min-width: 210px; }
.cg-ph > .lg-bt, .cg-ph > small { margin-left: auto; }
.cg-pastille { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.cg-champ { display: inline-flex; align-items: center; gap: 6px; color: var(--body); white-space: nowrap; }
.cg-nb, .cg-date { color-scheme: dark; font: inherit; font-size: 13px; padding: 4px 6px; border-radius: 7px; border: 1px solid rgba(255,255,255,.16); background: var(--bg, #0d0a14); color: var(--text); }
.cg-nb { width: 54px; text-align: right; }
.cg select { color-scheme: dark; }
.cg-resume { color: var(--cyan); font-weight: 700; }
.cg-tab { max-height: 70vh; }
.le-table.cg-table { min-width: 720px; }
.le-table.cg-table.cg-tt { min-width: 0; }
.cg-table td { padding-top: 5px; padding-bottom: 5px; }
.cg-table tr.passee td { opacity: .6; }
.cg-table tr.nv td { background: rgba(126,200,255,.06); }
.cg-table tr.dec td { background: rgba(255,225,77,.05); }
.cg-tag { font-size: 10.5px; font-weight: 800; padding: 1px 8px; border-radius: 999px; color: #0d0a14; white-space: nowrap; }
.cg-tag.inter { background: #7ec8ff; } .cg-tag.pre { background: #b9a2ff; } .cg-tag.saison { background: #ff6fae; } .cg-tag.pause { background: #5d5870; color: #fff; }
.cg-ok { color: var(--win); font-weight: 700; } .cg-ar { color: #ffe14d; font-weight: 700; }

/* ══════════ Format, stages et modes d'une phase (16 octobre 2026, maquette « Pilotage de la ligue » v1, écran 3) ══════════ */
/* Les pastilles et cartes de mode, comme l'écran Maps et modes des tournois (tournois.css, non chargé ici). */
.mm3-chip { font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; white-space: nowrap; background: rgba(255,255,255,.06); color: var(--body); }
.mm3-chip.ok { background: rgba(47,232,138,.12); color: #2fe88a; } .mm3-chip.j { background: rgba(255,225,77,.13); color: var(--yellow); }
.mm3-chip.ko { background: rgba(255,138,153,.14); color: #ff8a99; }
.mm3-modes { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 8px; }
.mm3-mode { border: 1px solid var(--surface2); border-radius: 10px; padding: 9px 11px; background: rgba(13,10,20,.45); display: flex; flex-direction: column; gap: 4px; }
.mm3-mode.on { border-color: rgba(18,224,224,.55); background: rgba(18,224,224,.06); } .mm3-mode.vide { opacity: .7; }
.mm3-mode .h { display: flex; align-items: center; gap: 7px; } .mm3-mode .h img { width: 22px; height: 22px; flex: none; }
.pf, .pm { display: grid; gap: 10px; align-content: start; }
.pf-champ { display: grid; gap: 6px; font-size: 13px; color: var(--body); }
.pf-champ > span { font-weight: 700; color: var(--text); }
.fs-pas:disabled { opacity: .45; cursor: default; }
.pm-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.pm-map { display: grid; grid-template-columns: auto 44px minmax(0, 1fr); gap: 6px; align-items: center; font-size: 12px; padding: 4px 6px; border-radius: 8px; border: 1px solid var(--line); cursor: pointer; }
.pm-map.on { border-color: rgba(18,224,224,.55); background: rgba(18,224,224,.06); }
.pm-map img { width: 44px; height: 25px; object-fit: cover; border-radius: 4px; }
.pm-map input { accent-color: var(--accent); }
.pm-opts summary { cursor: pointer; font-size: 13px; color: var(--cyan); font-weight: 700; }
.pm-opts { display: grid; gap: 8px; }
.pm-ordre button { border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 10px; padding: 0 2px; }
.pm-ordre button:disabled { opacity: .3; cursor: default; }
.pm-sems { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; }
.pm-sem { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; display: grid; gap: 4px; min-width: 0; }
.pm-sem.passee { opacity: .7; }
.pm-sem.modif { border-color: rgba(255,225,77,.5); }
.pm-tete { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; margin-bottom: 2px; }
.pm-m { display: grid; grid-template-columns: 28px minmax(0, 1fr) minmax(0, 1.2fr); gap: 6px; align-items: center; font-size: 12.5px; }
.pm-m b { color: var(--muted); font-size: 11px; }
.pm-m.t { color: var(--muted); }
.pm select { color-scheme: dark; font: inherit; font-size: 12px; padding: 3px 4px; border-radius: 6px; border: 1px solid var(--line); background: var(--bg, #0d0a14); color: var(--text); min-width: 0; width: 100%; }
/* La colonne « Seeding » du classement de travail (16 octobre 2026). */
.lt-seeds { white-space: nowrap; }
.lt-seed { display: inline-flex; gap: 4px; align-items: baseline; font-size: 12px; padding: 1px 7px; border-radius: 999px; background: rgba(255,225,77,.1); margin-right: 4px; }
.lt-seed b { font-weight: 700; max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
.lt-seed small { color: var(--muted); }
/* Saison › Nombre de divisions (16 octobre 2026). */
.nd { display: grid; gap: 10px; align-content: start; }
.le-table.nd-table { min-width: 0; }
/* Lot 345 : deux façons de lire les divisions (celles du classement de travail, ou des blocs d'une taille). */
.nd-modes { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.nd-mode { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.nd-mode input[type="radio"] { accent-color: var(--cyan, #12e0e0); margin: 0; }
.nd-mode input[type="number"]:disabled { opacity: .5; }
.lr-ko { color: #ff8f8f; font-weight: 700; }

/* Saison › Format des divisions : le déroulé (16 octobre 2026, maquette « Formats de la Saison » v3, lot 2) */
.lf-fmts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: start; }
@media (max-width: 860px) { .lf-fmts { grid-template-columns: minmax(0, 1fr); } }
.lf-fmt { display: grid; gap: 6px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; min-width: 0; }
.lf-fmt.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.lf-tete { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; cursor: pointer; font-size: 13.5px; }
.lf-tete b { color: var(--text); flex: 1 1 auto; }
.lf-fmt .cg-nb { width: 4.2em; }
.lf-fmt .lc-note { margin: 0; }
/* Classement d'une division en groupes (lot 3 de « Formats de la Saison ») */
.lc-groupes { display: grid; gap: 6px; }
.lc-gr { font-size: 13.5px; margin: 8px 0 2px; color: var(--text); }
.lc-gr small { color: var(--win); font-weight: 600; margin-left: 6px; }
.lc-q { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 5px; font-size: 11px; font-weight: 800; background: var(--win); color: #0b0b12; }
.lc-q.prov { background: transparent; color: var(--win); border: 1px dashed var(--win); }
/* Saison › Divisions : les groupes d'une division (lot 3) */
.lr-grs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.lr-gr { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; }
.lr-gr h4 { margin: 0 0 4px; font-size: 13px; color: var(--text); }
.lr-gr ol { margin: 0; padding-left: 18px; font-size: 13px; display: grid; gap: 2px; }
/* Format des divisions : l'organisation de la saison (avec ou sans divisions, lot 5) */
.lf-orga { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 13.5px; }

/* ══════════ Pilotage › Saison test (16 octobre 2026, maquette « Saison test » v2, lot 1) ══════════
   L'orange de la saison test : à part du rose du site, pour ne jamais la confondre avec la vraie. */
:root { --test: #ff9f2e; }
.st { display: grid; gap: 12px; }
.st-champ { display: grid; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 700; }
.st-nom { color-scheme: dark; max-width: 360px; padding: 7px 10px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: 14px; }
.lg-bt.st-bt { background: var(--test); border-color: var(--test); color: #1b1206; }
.lg-bt.st-danger { border-color: #ff8f8f; color: #ff8f8f; }
.st-bandeau { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--test);
  background: repeating-linear-gradient(135deg, rgba(255,159,46,.16) 0 14px, rgba(255,159,46,.08) 14px 28px); color: var(--text); font-size: 13.5px; }
.st-bandeau b { color: var(--test); text-transform: uppercase; letter-spacing: .06em; font-size: 12.5px; }
/* Lot 2 : le bandeau au-dessus du Pilotage, et la bascule « Saison réelle / Saison test ». */
.st-bandeau { justify-content: space-between; margin-bottom: 14px; }
.st-bandeau.reelle { border-color: var(--line); background: var(--surface); color: var(--body); padding: 6px 8px 6px 14px; }
.st-bascule { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; flex: none; }
.st-bascule button { padding: 6px 12px; border: 0; background: none; color: var(--body); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.st-bascule button:hover { color: var(--text); }
.st-bascule button.on { background: var(--text); color: var(--bg, #0b0d12); cursor: default; }
.st-bascule button.test.on { background: var(--test); color: #1b1206; }
.st-bascule button:focus-visible { outline: 2px solid var(--test); outline-offset: -2px; }
/* Lot 3 : Temps et résultats de la saison test. L'horloge défile seule sur mobile. */
.tr-horloge-boite { overflow-x: auto; }
.tr-horloge { display: flex; gap: 4px; min-width: max-content; }
.tr-h { min-width: 38px; padding: 6px 8px; border-radius: 8px; text-align: center; font-size: 12px; font-weight: 700; border: 1px solid var(--line); color: var(--muted); }
.tr-h.faite { background: rgba(255,159,46,.12); color: var(--body); }
.tr-h.ici { background: var(--test); border-color: var(--test); color: #1b1206; }
.tr-liste { display: grid; gap: 6px; }
.tr-m { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; justify-content: space-between; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; }
.tr-eq { min-width: 0; overflow-wrap: anywhere; }
.tr-sc { display: inline-flex; gap: 6px; align-items: center; }
.tr-score { color-scheme: dark; width: 52px; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; text-align: center; font-variant-numeric: tabular-nums; }
.tr-score:disabled { opacity: .6; }
.st-liste { margin: 0; padding-left: 18px; display: grid; gap: 4px; color: var(--body); font-size: 13.5px; }
.st-conf { border-color: #ff8f8f; }
.dr-conf.st-conf { display: grid; gap: 10px; align-items: start; }
.st h3 { font-size: 13.5px; margin: 4px 0 0; color: var(--text); }
/* Pilotage › Diffusion (17 octobre 2026) : les casters de l'organisation et de la communauté. */
.df-caster { grid-template-columns: minmax(0, 1fr) auto; }
.df-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: flex-end; }
.df-actions .lg-bt.df-retirer { color: #ff8a8a; border-color: rgba(255,138,138,.4); }
.df-sugg { margin: 4px 0 8px; }
@media (max-width: 760px) { .df-caster { grid-template-columns: minmax(0, 1fr); } .df-actions { justify-content: flex-start; } }
/* Les casts de la Ligue (17 octobre 2026, lot 158) : l'onglet Casts des casters,
   Diffusion › Planning des casts et Demandes de la communauté. Préfixe cs-. */
.cs-vs { color: var(--muted); font-weight: 600; }
.cs-gris { color: var(--muted); font-size: 12px; }
.cs-tag { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.cs-tag.libre { background: rgba(255,255,255,.07); color: var(--body); }
.cs-tag.dem { background: rgba(255,225,77,.12); color: var(--yellow); }
.cs-tag.val { background: rgba(47,232,138,.13); color: var(--win); }
.cs-tag.moi { background: rgba(255,47,146,.15); color: #ff8cc4; }
.cs-tag.re { background: rgba(255,159,46,.14); color: #ff9f2e; }
.cs-tag.div { background: rgba(18,224,224,.1); color: var(--cyan); }
.cs-type { font-size: 10.5px; font-weight: 800; padding: 2px 7px; border-radius: 999px; white-space: nowrap; }
.cs-type.org { background: rgba(18,224,224,.13); color: var(--cyan); }
.cs-type.commu { background: rgba(169,112,255,.18); color: #c9a6ff; }
.cs-alerte { border: 1px solid rgba(255,225,77,.4); background: rgba(255,225,77,.07); color: var(--yellow); border-radius: 10px; padding: 8px 11px; font-size: 12.5px; margin: 8px 0 0; }
.cs-alerte a { color: var(--text); text-decoration: underline; }
.cs-semaine { font-size: 13px; margin: 14px 0 6px; color: var(--text); }
.cs-semaine:first-of-type { margin-top: 4px; }
.cs-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 8px; }
.cs-nav small { color: var(--muted); }
.cs-soir { display: grid; gap: 8px; margin: 0 0 12px; }
.cs-soir > p { margin: 0; font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.cs-mc { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(13,10,20,.45); }
.cs-mc.mien { border-color: rgba(255,47,146,.55); background: linear-gradient(90deg, rgba(255,47,146,.09), rgba(13,10,20,.45) 60%); }
.cs-mc.caste { border-color: rgba(47,232,138,.3); }
.cs-mc .h { font-weight: 800; color: var(--cyan); font-variant-numeric: tabular-nums; }
.cs-mc .eqs { min-width: 0; display: grid; gap: 4px; }
.cs-mc .eqs b { overflow-wrap: anywhere; }
.cs-mc .eqs small { color: var(--muted); font-size: 12px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.cs-act { display: flex; gap: 6px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.cs-cast { display: inline-flex; gap: 5px; align-items: center; flex-wrap: wrap; color: var(--body); }
.cs-confirme { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: 12.5px; color: var(--yellow); }
.cs-donner { display: inline-flex; gap: 6px; align-items: center; }
.cs-sel, .cs-saisie { color-scheme: dark; padding: 5px 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: 12.5px; max-width: 100%; }
.cs-saisie { min-width: 200px; flex: 1; }
.cs-motif { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.cs-mes { display: grid; gap: 8px; }
.cs-ml { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 9px 11px; border: 1px solid var(--line); border-radius: 11px; }
.cs-ml.att { border-color: rgba(255,225,77,.45); }
/* Lot 168 : la rediffusion d'un cast passé, sur toute la largeur de la ligne. */
.cs-rediff { flex: 1 1 100%; display: grid; gap: 6px; padding-top: 8px; border-top: 1px dashed var(--line); }
.cs-rediff-champ { display: grid; gap: 4px; font-size: 12.5px; color: var(--muted); font-weight: 700; }
.cs-saisie { color-scheme: dark; width: 100%; box-sizing: border-box; padding: 7px 10px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: 13px; }
.cs-ok { color: #2fe88a; font-weight: 700; font-size: 12.5px; }
.cs-ok a { color: inherit; }
.cs-ml small.cs-gris { display: block; margin: 0; }
/* Lot 169 : le co-caster d'un cast. */
.cs-co { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--body); }
.cs-co select { max-width: 100%; }
/* Lot 170 : les réglages des annonces des matchs (Diffusion › Discord). */
.dd-regl { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 10px 14px; align-items: center; font-size: 13px; }
.dd-regl > span:nth-child(odd) { color: var(--muted); font-weight: 700; }
.dd-regl > span:nth-child(even), .dd-coche { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; color: var(--body); }
@media (max-width: 560px) { .dd-regl { grid-template-columns: minmax(0, 1fr); } }
.cs-ml > span:first-child { min-width: 0; }
.cs-ml small { color: var(--muted); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: 12px; margin-top: 3px; }
.cs-droite { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.cs-etapes { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.cs-e { font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 6px; white-space: nowrap; }
.cs-e.ok { background: rgba(47,232,138,.12); color: var(--win); }
.cs-e.faire { background: rgba(255,47,146,.16); color: #ff8cc4; }
.cs-e.att { background: rgba(255,225,77,.12); color: var(--yellow); }
.cs-e.non { background: rgba(255,255,255,.06); color: var(--muted); }
.cs-filtres { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 10px; }
.cs-filtres button { font: inherit; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--body); cursor: pointer; }
.cs-filtres button[aria-pressed="true"] { background: var(--text); color: var(--bg, #0b0d12); border-color: var(--text); }
.lp-table table.cs-table { min-width: 760px; }   /* l'enveloppe .lp-table : défilement et en-tête collant */
.cs-table td { padding: 10px; border-top: 1px solid var(--line); vertical-align: top; }
.cs-table td small { color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; align-items: center; font-size: 12px; margin-top: 3px; }
.cs-table tr.chaud td { background: rgba(255,47,146,.04); }
.cs-table .cs-act { justify-content: flex-start; margin-top: 6px; }
.cs-reste { display: block; color: var(--body); }
@media (max-width: 560px) {
  .cs-mc { grid-template-columns: 44px minmax(0, 1fr); }
  .cs-mc .cs-act { grid-column: 1 / -1; justify-content: flex-start; }
  .cs-droite { justify-content: flex-start; }
}
/* Lot 160 : un salon Discord par cast (le réglage du Planning, une alerte quand une catégorie manque). */
.cs-rouge { display: block; margin-top: 4px; color: #ff8cc4; }
/* Lot 161 : devenir caster de la communauté (À propos, côté candidat) et les candidatures (Diffusion, côté staff). */
.cd-encart { border-color: rgba(255,47,146,.4); background: linear-gradient(120deg, rgba(255,47,146,.1), rgba(13,10,20,.6) 60%); display: grid; gap: 12px; }
.cd-encart p { margin: 4px 0 0; color: var(--body); font-size: 13px; }
.cd-tete { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cd-prereq { display: grid; gap: 6px; justify-items: start; }
.cd-pr { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 8px 11px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; width: 100%; box-sizing: border-box; }
.cd-pr > span { display: flex; gap: 9px; align-items: center; color: var(--body); }
.cd-pr small { display: block; color: var(--muted); font-size: 12px; }
.cd-ic { width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 11px; font-weight: 900; font-style: normal; flex: none; }
.cd-ic.ok { background: rgba(47,232,138,.16); color: var(--win); }
.cd-ic.ko { background: rgba(255,225,77,.16); color: var(--yellow); }
.cd-ic.nsp { background: rgba(255,255,255,.08); color: var(--muted); }
.cd-form { display: grid; gap: 10px; }
.cd-saisie { color-scheme: dark; width: 100%; box-sizing: border-box; padding: 8px 10px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: 13.5px; }
textarea.cd-saisie { resize: vertical; min-height: 90px; }
.cd-langues { display: flex; gap: 14px; flex-wrap: wrap; }
.cd-coche { display: flex; gap: 8px; align-items: center; color: var(--body); font-size: 13px; }
.cd-coche input { accent-color: var(--accent); width: 15px; height: 15px; flex: none; }
.cd-act { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cd-etat { border-color: rgba(255,225,77,.4); background: rgba(255,225,77,.06); display: flex; gap: 10px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.cd-etat p { margin: 3px 0 0; color: var(--body); font-size: 13px; }
.df-cands { display: grid; gap: 10px; }
.df-cand { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; gap: 8px; }
.df-cand-tete { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.df-cand-tete small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.df-cand blockquote { margin: 0; padding: 8px 11px; border-left: 3px solid var(--accent); background: rgba(255,255,255,.03); border-radius: 0 8px 8px 0; color: var(--body); font-size: 13px; white-space: pre-line; overflow-wrap: anywhere; }
.df-cand-plus { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 12.5px; }
/* Lot 164 : un caster de la communauté quitte la liste depuis À propos (confirmation sur la page). */
.cd-quitter { border: 1px solid rgba(255,138,138,.4); border-radius: 10px; padding: 10px 12px; display: grid; gap: 8px; }
.cd-quitter p { margin: 0; color: var(--body); font-size: 13px; }
.cd-encart > .df-retirer { justify-self: start; }
/* Le lien du guide du caster dans le panneau « Devenir caster » (17 octobre 2026). */
.cd-guide { margin: 6px 0 0; font-size: 13px; }
.cd-guide a { font-weight: 700; }
/* Lot 166 : Pilotage › Diffusion › Discord (rôle et catégorie des casters de la communauté). */
.dd-role { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.dd-pastille { font-weight: 800; color: #c9a6ff; background: rgba(169,112,255,.14); padding: 4px 11px; border-radius: 999px; }
.dd-salons { display: grid; gap: 6px; margin-bottom: 10px; }
.dd-salon { display: grid; grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1.6fr) auto; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; }
.dd-salon .nom { font-weight: 700; overflow-wrap: anywhere; }
.dd-ok { color: var(--win); font-weight: 700; white-space: nowrap; }
.dd-non { color: var(--yellow); font-weight: 700; white-space: nowrap; }
@media (max-width: 640px) { .dd-salon { grid-template-columns: minmax(0, 1fr) auto; } }

/* Lot 176 (17 octobre 2026) : la licence Nintendo. Pilotage › À propos (une ligne par licence) et onglet À propos. */
.la-lic { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .7fr) auto; gap: 10px; align-items: end; }
.la-lic .la-champ { margin: 12px 0 0; }
.la-lic input { color-scheme: dark; width: 100%; }
@media (max-width: 560px) { .la-lic { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .la-lic .lg-bt { grid-column: 1 / -1; justify-self: start; } }
.la-licence p { margin: 6px 0; }
.la-licence ul { margin: 4px 0; padding-left: 20px; }
.la-licence i { font-variant-numeric: tabular-nums; font-weight: 700; }

/* Lot 178 (18 octobre 2026) : Pilotage › Matchs › Propositions. */
.pr-objectif { border: 1px solid rgba(255,225,77,.45); background: rgba(255,225,77,.06); border-radius: 12px; padding: 10px 13px; display: grid; gap: 7px; font-size: 13.5px; color: var(--body); margin: 0 0 12px; }
.pr-objectif b { color: var(--text); }
.pr-objectif small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.pr-jauge { display: block; height: 8px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.pr-jauge i { display: block; height: 100%; background: var(--yellow, #ffe14d); }
.lp-table td.c, .lp-table th.c { text-align: center; font-variant-numeric: tabular-nums; }
/* Lot 260 (21 octobre 2026, demande de Dimitri) : la liste des équipes inscrites sans
   fenêtre ni ascenseur à elle. Un .lp-table qui porte aussi .cadre-tableau suit la règle
   commune du site (css/style.css) : la page défile, l'en-tête colle sous la barre de
   navigation ; le cadre ne défile en largeur que s'il déborde (« deborde », posé par nav.js). */
.lp-table.cadre-tableau { overflow: visible; max-height: none; }
.lp-table.cadre-tableau.deborde { overflow-x: auto; }
/* L'en-tête colle par le <thead> (règle commune) : plus par chaque <th> (il collerait à 0, sous la barre). */
.lp-table.cadre-tableau thead th { position: static; }
/* « separate » : sinon une fente d'un pixel sous l'en-tête collé (voir css/style.css). */
.lp-table.cadre-tableau > table { border-collapse: separate; border-spacing: 0; }
.lp-table.cadre-tableau thead th:first-child { border-top-left-radius: 11px; }
.lp-table.cadre-tableau thead th:last-child { border-top-right-radius: 11px; }
.lp-table tr.pr-zero td { background: rgba(255,225,77,.05); }
.lp-table tr.pr-exclue td { opacity: .55; }
.pr-nb { font-weight: 800; color: var(--text); }
.pr-nb.z { color: var(--yellow, #ffe14d); }
.pr-tete2 { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.pr-tete2 h2 { margin: 0; }
.pr-paire { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 9px 12px; border: 1px solid rgba(47,232,138,.4); background: rgba(47,232,138,.05); border-radius: 11px; margin: 0 0 7px; font-size: 13.5px; }
.pr-paire b { color: var(--text); }
.pr-paire small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.pr-paire.pr-publie { border-color: var(--surface2); background: rgba(255,255,255,.03); }
.pr-ajout { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 10px 0 4px; }
.pr-sel { color-scheme: dark; font: inherit; font-size: 13px; padding: 7px 10px; border-radius: 9px; border: 1px solid var(--surface2); background: rgba(13,10,20,.6); color: var(--text); min-width: 160px; max-width: 100%; }
.pr-refus { border: 1px solid rgba(255,107,127,.45); background: rgba(255,107,127,.07); color: #ff8a9a; border-radius: 10px; padding: 8px 11px; font-size: 12.5px; margin: 6px 0 0; }
.pr-pied { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 6px; }

/* Pilotage › Organisation › Inscriptions (lot 179, 18 octobre 2026) */
/* Lot 257 : la recherche des équipes inscrites (Équipes › Inscriptions). */
.ins-recherche { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 12px; }
.ins-recherche label { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ins-recherche input { color-scheme: dark; flex: 1 1 260px; max-width: 420px; box-sizing: border-box; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: 14px; }
.ins-recherche span { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ins-liste { margin: 0 0 12px; padding-left: 18px; color: var(--body); display: grid; gap: 4px; font-size: 13.5px; }
.ins-liste b { color: var(--text); }
.ins-alerte { display: block; margin-top: 4px; font-size: 12px; font-weight: 700; color: #ffe14d; }
.ins-alerte.douce { color: var(--muted); font-weight: 600; }
.ins-details { margin: 0 0 12px; border: 1px solid var(--surface2); border-radius: 12px; padding: 8px 12px; }
.ins-details summary { cursor: pointer; font-weight: 700; font-size: 13.5px; color: var(--text); }
.ins-ligne { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; }
.ins-ligne:first-of-type { border-top: 0; }
.ins-ligne small { color: var(--muted); }
.ins-confirme { border: 1px solid rgba(255,47,146,.45); background: rgba(255,47,146,.06); border-radius: 12px; padding: 12px 14px; margin-top: 10px; }
.ins-confirme p { margin: 0 0 6px; }
/* 18 octobre 2026 au soir : retirer l'équipe de la Ligue, au bas de l'équipe ouverte, séparé des gestes sur les joueurs. */
.ins-retrait-eq { margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.08); }
.ins-retrait-eq.ins-confirme { border-top: 1px solid rgba(255,47,146,.45); }
.ins-confirme ul { margin: 0 0 10px; padding-left: 18px; color: var(--body); font-size: 13px; display: grid; gap: 3px; }
.ins-js { display: flex; flex-wrap: wrap; gap: 4px; }
.ins-j { font-size: 12px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--surface2); color: var(--text); white-space: nowrap; }
.ins-j.place { border-style: dashed; color: var(--body); }
.ins-j small, .lp-table td .ins-j small { display: inline; margin-left: 4px; color: var(--muted); font-size: 11px; }
.ins-bascule { font: inherit; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1px dashed rgba(255,255,255,.28); background: none; color: var(--muted); cursor: pointer; }
.ins-bascule.on { border-style: solid; border-color: rgba(47,232,138,.5); background: rgba(47,232,138,.12); color: #2fe88a; }
/* Lot 202 (équipe de Ligue à 8) : joue la Ligue ou non, retrait confirmé dans la page, la Gestion. */
.ins-ok { font-size: 12px; font-weight: 700; color: #2fe88a; }
.ins-ko { font-size: 12px; font-weight: 700; color: #ffe14d; }
.ins-conf { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12.5px; }
/* Lot 351 : la suspension, au retrait d'un joueur ou d'une équipe (Équipes › Inscriptions). */
.ins-sus-conf { display: grid; gap: 8px; }
.ins-sus-choix { display: grid; gap: 8px; margin: 10px 0 12px; }
.ins-sus-case { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--body); cursor: pointer; }
.ins-sus-case b { color: var(--text); }
.ins-sus-case small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 2px; }
.ins-sus-case input { margin-top: 3px; accent-color: var(--accent); }
.ins-sus-joueurs { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-left: 24px; font-size: 12.5px; }
.ins-sus-motif { display: grid; gap: 4px; max-width: 520px; }
/* Lot 354 : la durée de la suspension (saison en cours, ou durée indéterminée). */
.ins-sus-duree { display: grid; gap: 6px; border-top: 1px solid var(--line); padding-top: 8px; }
.ins-sus-titre { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ins-sus-note { display: block; color: var(--muted); font-size: 11.5px; }
.sus-badge { white-space: nowrap; }
.sus-badge.indet { background: rgba(255,225,77,.14); color: var(--yellow); }
.ins-sus-motif span { font-size: 11.5px; color: var(--muted); }
/* Lot 351 : Équipes › Suspensions. */
.sus-wrap { overflow: auto; border: 1px solid var(--panel-border); border-radius: 12px; max-height: 70vh; }
.sus-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.sus-table td { padding: 9px 10px; border-top: 1px solid var(--line); vertical-align: top; }
.sus-table td small { display: block; color: var(--muted); font-size: 11.5px; }
.sus-table td.d { text-align: right; white-space: nowrap; }
.sus-table td.sus-motif { min-width: 180px; }
.sus-table tr.leve td { opacity: .6; }
.sus-badge { display: inline-block; font-size: 10.5px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; background: rgba(255,143,143,.14); color: #ff8f8f; }
.sus-badge.leve { background: rgba(255,255,255,.07); color: var(--muted); }
.sus-tete { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; margin: 0 0 10px; }
.sus-conf { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12px; white-space: normal; }
.sus-form { display: grid; gap: 8px; border: 1px solid rgba(255,47,146,.45); background: rgba(255,47,146,.06); border-radius: 12px; padding: 12px 14px; margin: 0 0 12px; }
.sus-form label { display: grid; gap: 4px; max-width: 520px; }
.sus-form label span { font-size: 11.5px; color: var(--muted); }
.sus-form input { font: inherit; font-size: 13px; padding: 7px 10px; border-radius: 9px; border: 1px solid var(--panel-border); background: var(--surface); color: var(--text); }
.sus-h3 { margin: 16px 0 6px; font-size: 14px; }
.sus-durees { display: grid; gap: 4px; font-size: 12.5px; }
.sus-durees > span { font-size: 11.5px; color: var(--muted); }
.sus-durees small { color: var(--muted); }
.sus-durees input { accent-color: var(--accent); }
/* Lot 564 : la recherche du joueur à suspendre (résultats, « trouvé par », état). */
.sus-form input[type="search"] { font-size: 14px; padding: 9px 12px; min-height: 42px; border-color: var(--cyan, #12e0e0); }
.sus-liste { display: grid; border: 1px solid var(--panel-border); border-radius: 12px; overflow: hidden; }
.sus-res { display: grid; grid-template-columns: 40px minmax(0, 1fr) minmax(0, 200px) auto; gap: 12px; align-items: center; padding: 10px 12px; border-top: 1px solid var(--line); }
.sus-res:first-child { border-top: 0; }
.sus-res.deja { opacity: .6; }
.sus-res.choisi { border: 1px solid var(--cyan, #12e0e0); border-radius: 12px; background: rgba(18,224,224,.06); }
@media (max-width: 720px) { .sus-res { grid-template-columns: 40px minmax(0, 1fr); } .sus-res > :nth-child(n+3) { grid-column: 2; } }
.sus-av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--surface2, #241d33); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: var(--body); }
.sus-res-nom { display: grid; gap: 5px; min-width: 0; }
.sus-pars { display: flex; flex-wrap: wrap; gap: 5px; }
.sus-par { font-size: 11.5px; font-weight: 700; color: var(--body); border: 1px solid var(--panel-border); background: var(--surface); border-radius: 99px; padding: 2px 8px; overflow-wrap: anywhere; }
.sus-par b { color: var(--cyan, #12e0e0); }
.sus-res-etat { display: grid; gap: 2px; justify-items: start; }
.sus-res-etat small { color: var(--muted); font-size: 11.5px; }
.sus-etat { font-size: 11.5px; font-weight: 800; border-radius: 99px; padding: 2px 9px; background: rgba(255,255,255,.08); color: var(--body); }
.sus-etat.joue { background: rgba(72,170,255,.16); color: #9fdcff; }
.sus-etat.suspendu { background: rgba(255,77,109,.16); color: #ffb3c0; }
.sus-olympe { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; border: 1px dashed var(--panel-border); border-radius: 12px; padding: 10px 12px; margin-top: 8px; font-size: 12.5px; color: var(--body); }
.sus-retrait { margin: 0; border-left: 0; }
/* Lot 567 : Caster › Répartition (où vont nos casts). Organisation en violet, communauté en orange. */
.rpc-tete { display: grid; gap: 10px; }
.rpc-ligne { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.rpc-filtres { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.rpc-pil { font: inherit; font-size: 12.5px; font-weight: 700; border-radius: 99px; padding: 6px 12px; min-height: 34px; border: 1px solid var(--panel-border); background: transparent; color: var(--body); cursor: pointer; }
.rpc-pil.on { background: #a970ff; border-color: #a970ff; color: #fff; }
.rpc-legende { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12px; color: var(--muted); }
.rpc-legende > span { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.rpc-legende .org, .rpc-barre .org { background: #a970ff; }
.rpc-legende .commu, .rpc-barre .commu { background: #ffb27a; }
.rpc-cols { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; align-items: start; }
@media (max-width: 960px) { .rpc-cols { grid-template-columns: minmax(0, 1fr); } }
.rpc-wrap { overflow: auto; max-height: 70vh; border: 1px solid var(--panel-border); border-radius: 12px; }
.rpc-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.rpc-table th { position: sticky; top: 0; z-index: 1; background: var(--surface); text-align: left; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding: 9px 10px; border-bottom: 1px solid var(--panel-border); }
.rpc-table td { padding: 9px 10px; border-top: 1px solid var(--line); vertical-align: middle; }
.rpc-table td small { display: block; color: var(--muted); font-size: 11px; }
.rpc-col-barre { min-width: 120px; }
.rpc-barre { display: flex; height: 10px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.rpc-barre span { display: block; height: 100%; }
.rpc-peu { font-size: 11px; font-weight: 800; border-radius: 99px; padding: 2px 8px; background: #ffb27a; color: #0d0a14; white-space: nowrap; }
.rpc-muted { color: var(--muted); font-size: 12px; }
.rpc-jamais { color: #ffb27a; font-weight: 700; }
.rpc-match { display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(0, 140px) auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13px; }
.rpc-match small { display: block; color: var(--muted); font-size: 11.5px; }
@media (max-width: 560px) { .rpc-match { grid-template-columns: 44px minmax(0, 1fr); } .rpc-match > :nth-child(n+3) { grid-column: 2; } }
.rpc-conf { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12px; }
.rpc-case { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--body); margin: 8px 0 10px; text-transform: none; letter-spacing: normal; }
.rpc-case input { accent-color: #a970ff; }
.sus-form .sus-durees label { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: baseline; max-width: none; }
.ins-sus-motif input { font: inherit; font-size: 12.5px; padding: 6px 9px; border-radius: 9px; border: 1px solid var(--panel-border); background: var(--surface); color: var(--text); }
.ins-gestion { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0 0; font-size: 13px; }
.ins-gestion small { flex-basis: 100%; color: var(--muted); }
.ins-gestion input { font: inherit; padding: 5px 9px; border-radius: 8px; border: 1px solid var(--surface2, rgba(255,255,255,.15)); background: transparent; color: inherit; margin-left: 6px; }
.ins-gestion .mn-role.ge, .lg-bloc .mn-role.ge { font-size: 12px; font-weight: 800; border-radius: 999px; padding: 3px 10px; color: var(--cyan, #12e0e0); border: 1px solid rgba(18,224,224,.45); background: rgba(18,224,224,.08); }
.ins-j.hors { opacity: .55; }
.ins-quota { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--text); }
.ins-quota.plein { color: #ffe14d; }

/* L'en-tête de la ligue : les liens comme ceux d'un tournoi (18 octobre 2026, demande de Dimitri ;
   mêmes mesures que .tn-bt.second et .tn-bt.tn-discord.compact de tournois.css). */
.lg-tete .lg-reseaux { align-items: center; gap: 8px; margin-top: 12px; }
.lg-lien { display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px; border-radius: 10px; font-size: 13px; font-weight: 800; line-height: 1.2;
  text-decoration: none; white-space: nowrap; color: var(--text); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }
.lg-lien:hover { background: rgba(255,255,255,.14); color: var(--text); }
.lg-lien.dsc { gap: 5px; padding-inline: 11px; background: #5865f2; border-color: #5865f2; color: #fff; }
.lg-lien.dsc:hover { filter: brightness(1.1); color: #fff; }
.lg-lien .dc-ico { width: 18px; height: 14px; flex: none; }
/* La pastille Euro Leagues à la même hauteur que les boutons. */
.lg-tete .lg-sel { padding-block: 7px; font-size: 13px; border-radius: 10px; }
.lg-lien.ytb { gap: 5px; padding-inline: 11px; background: #e6203a; border-color: #e6203a; color: #fff; }
.lg-lien.ytb:hover { filter: brightness(1.1); color: #fff; }

/* Lot 197 (18 octobre 2026) : Organisation › Équipes Discord (public/js/ligue-discord-equipes-ui.mjs). */
.de-case { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; font-weight: 700; color: var(--text); margin: 10px 0 0; }
.de-case input { color-scheme: dark; margin-top: 2px; }
.de-table td.c, .de-table th.c { text-align: center; font-variant-numeric: tabular-nums; }
.de-table td small .cs-sel { margin-top: 4px; }
/* Lot 198 (18 octobre 2026) : Organisation › Marché des transferts (public/js/ligue-marche-ui.mjs, maquette v4). */
.mk-tete { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 4px; }
.mk-tete h2 { margin: 0; }
.mk-onglets { display: flex; gap: 6px; flex-wrap: wrap; }
.mk-onglets button { font: inherit; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--body); background: none; cursor: pointer; }
.mk-onglets button.on { background: var(--text); color: var(--bg, #0d0b14); border-color: var(--text); }
.mk-liste { display: grid; gap: 10px; margin: 10px 0; }
.mk-dec { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 9px; background: rgba(13,10,20,.45); }
.mk-dec.hors { border-color: rgba(255,107,127,.5); background: linear-gradient(90deg, rgba(255,107,127,.07), rgba(13,10,20,.45) 60%); }
.mk-dec.focus { box-shadow: 0 0 0 2px var(--cyan); }
.mk-dt { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: baseline; font-size: 14px; }
.mk-dt b { color: var(--text); }
.mk-dt small { color: var(--muted); font-size: 12px; }
.mk-ctl { display: grid; gap: 4px; font-size: 12.5px; }
.mk-ctl .v { color: var(--win); } .mk-ctl .x { color: #ff8f8f; } .mk-ctl .i { color: var(--body); }
.mk-act { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.mk-act .mk-ok { color: var(--win); border-color: rgba(47,232,138,.45); }
.mk-act .mk-ko { color: #ff8f8f; border-color: rgba(255,107,127,.45); }
.mk-act .mk-exc { color: var(--cyan); border-color: rgba(18,224,224,.45); }
.mk-case { display: inline-flex; gap: 7px; align-items: center; font-size: 12.5px; color: var(--body); font-weight: 600; }
.mk-case input { color-scheme: dark; }
.mk-motif { flex: 1; min-width: 200px; }
/* Lot 291 : l'effectif de l'équipe à droite de la carte (sous la carte sur un téléphone). */
.mk-dec.avec-eff { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); align-items: start; gap: 9px 18px; }
.mk-dec-g { display: grid; gap: 9px; min-width: 0; }
@media (max-width: 900px) { .mk-dec.avec-eff { grid-template-columns: minmax(0, 1fr); } }
.mk-eff { background: rgba(13,10,20,.6); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: grid; gap: 4px; align-content: start; }
.mk-eff-t { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; align-items: baseline; font-size: 13px; margin-bottom: 2px; }
.mk-eff-t b { color: var(--text); }
.mk-eff-t small { color: var(--muted); font-size: 12px; }
.mk-eff-l { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 5px 7px; border-radius: 8px; font-size: 13px; }
.mk-eff-l > span:first-child { display: grid; min-width: 0; }
.mk-eff-l b { color: var(--text); overflow-wrap: anywhere; }
.mk-eff-l small { color: var(--muted); font-size: 11.5px; }
.mk-eff-l.demande { background: rgba(18,224,224,.07); }
.mk-eff-l.probable { outline: 1px dashed rgba(255,225,77,.6); }
/* Lot 591 (maquette « Marché des transferts : d'où vient le joueur », planche 2) : un transfert
   montre l'équipe quittée puis l'équipe d'arrivée, en effectifs détaillés l'un sous l'autre
   (remplace les deux colonnes compactes .mk-eff2 / .mk-eff.mini du lot 291). */
.mk-eff-col { display: grid; gap: 6px; align-content: start; min-width: 0; }
.mk-eff.quitte { border-color: rgba(255,107,127,.35); }
.mk-eff.arrive { border-color: rgba(18,224,224,.35); }
.mk-eff-t em { display: block; font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1px; }
.mk-eff.quitte .mk-eff-t em { color: #ff8f8f; }
.mk-eff.arrive .mk-eff-t em { color: var(--cyan); }
.mk-eff-t small.plein { color: var(--yellow); }
.mk-eff-l.part { background: rgba(255,107,127,.07); }
.mk-eff-l.part b { text-decoration: line-through; text-decoration-color: rgba(255,143,143,.7); }
.mk-fleche { text-align: center; color: var(--muted); font-size: 12px; font-weight: 700; }
/* Lot 591, planche 1 : la dernière équipe d'un agent libre, sous les contrôles. */
.mk-ctl .mk-prov a { color: var(--cyan); text-decoration: none; }
.mk-ctl .mk-prov a:hover { text-decoration: underline; }
.mk-ctl .mk-prov small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 2px; padding-left: 20px; }
/* La place gardée du même joueur : proposition à confirmer. */
.mk-meme { background: rgba(255,225,77,.08); border: 1px solid rgba(255,225,77,.45); border-radius: 10px; padding: 10px 12px; display: grid; gap: 8px; font-size: 13px; color: var(--body); }
.mk-meme p { margin: 0; line-height: 1.5; }
.mk-meme b { color: var(--yellow); }
.mk-meme small { color: var(--body); font-size: 12px; line-height: 1.5; }
.mk-meme .mk-lui { background: var(--yellow); color: #1a1406; border-color: var(--yellow); font-weight: 800; }
.mk-hist { display: grid; gap: 6px; margin-top: 10px; max-height: 70vh; overflow-y: auto; }
.mk-h { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 11px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; color: var(--body); }
.mk-h b { color: var(--text); }
.mk-h small { display: block; color: var(--muted); font-size: 12px; }
.mk-st { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.mk-st.mk-att { background: rgba(255,225,77,.13); color: var(--yellow); }
.mk-st.mk-ok { background: rgba(47,232,138,.13); color: var(--win); }
.mk-st.mk-exc { background: rgba(18,224,224,.12); color: var(--cyan); }
.mk-st.mk-non { background: rgba(255,107,127,.13); color: #ff8f8f; }
.mk-st.mk-info { background: rgba(255,255,255,.07); color: var(--body); }
.mk-frise { display: grid; gap: 3px; margin: 12px 0 6px; }
.mk-frise span { height: 22px; border-radius: 5px; }
.f-libre { background: #2fe88a; } .f-encadre { background: #ffe14d; } .f-ferme { background: #e5304a; }
.mk-legende { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--body); }
.mk-legende i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -2px; margin-right: 5px; }
.mk-per { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 8px; background: rgba(13,10,20,.45); }
.mk-per.en-cours { border-color: rgba(255,225,77,.55); }
.mk-pt { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.mk-pt b { font-size: 14px; color: var(--text); margin-right: auto; }
.mk-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 10px; }
.mk-form label { display: grid; gap: 5px; font-size: 12px; font-weight: 700; color: var(--muted); }
.mk-form .cs-sel, .mk-form .cs-saisie { width: 100%; }
.mk-hd { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }

/* ── Lot 204 : l'onglet Replays (maquette « Onglet Replays » v2) ── */
.rp .lg-tete-bloc { align-items: baseline; }
.rp-n { color: var(--muted); font-size: 12px; font-weight: 600; }
.rp-filtres { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 4px 0 10px; }
.rp-f { font: inherit; font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--surface2); background: transparent; color: var(--body); cursor: pointer; }
.rp-f[aria-pressed="true"] { background: var(--pink, #ff2f92); border-color: var(--pink, #ff2f92); color: #fff; }
.rp-eq { font: inherit; font-size: 12px; padding: 4px 8px; border-radius: 999px; border: 1px solid var(--surface2); background: var(--surface); color: var(--text); color-scheme: dark; max-width: 100%; }
.rp-liste { display: grid; gap: 6px; }
.rp-sep { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 8px 0 2px; }
.rp-l { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 10px; border-radius: 10px; background: rgba(255,255,255,.03); }
.rp-q { font-size: 12px; color: var(--body); line-height: 1.25; }
.rp-q b { display: block; color: var(--text); font-size: 12.5px; text-transform: capitalize; }
.rp-m { min-width: 0; color: var(--text); text-decoration: none; display: grid; gap: 1px; }
.rp-m span { overflow-wrap: anywhere; }
.rp-m:hover span { text-decoration: underline; text-underline-offset: 2px; }
.rp-m small { color: var(--muted); font-size: 12px; }
.rp-sc { color: var(--muted); font-weight: 700; font-variant-numeric: tabular-nums; margin: 0 2px; }
.rp-v { font-size: 12px; font-weight: 800; border-radius: 9px; padding: 5px 10px; white-space: nowrap; border: 1px solid rgba(18,224,224,.45); background: rgba(18,224,224,.08); color: var(--cyan, #12e0e0); text-decoration: none; }
.rp-v.twitch { color: #c9b3ff; border-color: rgba(145,70,255,.55); background: rgba(145,70,255,.12); }
.rp-v.youtube { color: #ff9f9f; border-color: rgba(255,61,61,.5); background: rgba(255,61,61,.1); }
/* Lot 209 : Pilotage › Diffusion › Replays (organisateurs) et « Mes casts passés » (caster). */
.rpo-liste { display: grid; gap: 6px; }
.rpo-l { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.25fr); gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.03); }
@media (max-width: 760px) { .rpo-l { grid-template-columns: 62px minmax(0, 1fr); } .rpo-r { grid-column: 1 / -1; } }
.rpo-q { font-size: 12px; color: var(--body); text-transform: capitalize; }
.rpo-m { min-width: 0; display: grid; gap: 1px; }
.rpo-m b { overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.rpo-m small { color: var(--muted); font-size: 12px; }
.rpo-r { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; min-width: 0; }
.rpo-champ { display: flex; flex-wrap: wrap; gap: 6px; flex: 1 1 260px; min-width: 0; }
.rpo-manque { color: var(--jaune, #ffe14d); font-weight: 800; font-size: 12.5px; }
.rpo-cherche { flex: 0 1 240px; min-width: 160px; }
.rpo-src { font-size: 10.5px; font-weight: 800; border-radius: 999px; padding: 1px 7px; margin-left: 4px; white-space: nowrap; }
.rpo-src.sp { background: rgba(255,47,146,.14); color: #ff8fc4; }
.rpo-src.ol { background: rgba(169,112,255,.16); color: #cdb0ff; }
@media (max-width: 520px) { .rp-l { grid-template-columns: 54px minmax(0, 1fr); } .rp-v { grid-column: 2; justify-self: start; } }

/* Lot 213 : la ligne « Échéance du dimanche 23:59 » (Pilotage › Matchs › Planification). */
.lp-echeance { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; margin-top: 12px; padding: 10px 12px; border: 1px solid var(--surface2); border-radius: 10px; }
.lp-echeance b { font-size: 13px; }
.lp-echeance small { color: var(--muted); }
.lp-echeance .lg-note { flex-basis: 100%; }
.lp-tag-auto { font-size: 10.5px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: rgba(47, 232, 138, .13); color: var(--win, #2fe88a); }

/* ── Organisation › Communication (lot 215, 19 octobre 2026) ── */
.co-modeles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 8px; }
.co-modele { display: grid; gap: 4px; text-align: left; font: inherit; color: var(--body); background: rgba(13,10,20,.45); border: 1px solid var(--surface2);
  border-radius: 12px; padding: 11px 13px; cursor: pointer; }
.co-modele b { color: var(--text); font-size: 13.5px; }
.co-modele span { color: var(--muted); font-size: 12px; line-height: 1.45; }
.co-modele em { font-style: normal; font-weight: 800; font-size: 12.5px; color: var(--accent); font-variant-numeric: tabular-nums; }
.co-modele em.zero { color: var(--muted); }
.co-modele:hover { border-color: var(--accent); }
.co-modele.on { border-color: var(--accent); background: rgba(255,47,146,.10); box-shadow: inset 0 0 0 1px var(--accent); }
.co-modele:disabled { opacity: .6; cursor: default; }
.co-div { display: flex; gap: 8px; align-items: center; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--muted); }
.co-div select { color-scheme: dark; }
.co-champ { display: block; margin: 0 0 6px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.co-texte { color-scheme: dark; width: 100%; box-sizing: border-box; min-height: 140px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface2); color: var(--text); font: inherit; font-size: 13.5px; line-height: 1.5; resize: vertical; }
.co-texte:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
.co-sous { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; margin: 8px 0 0; }
.co-sous small { color: var(--muted); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.co-vars { display: flex; flex-wrap: wrap; gap: 6px; }
.co-var { font: inherit; font-size: 12px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--text); background: rgba(255,255,255,.06);
  border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; cursor: pointer; }
.co-var:hover { border-color: var(--accent); }
.co-mentions { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; color: var(--text); font-weight: 700; }
.co-mentions label { display: flex; gap: 6px; align-items: center; cursor: pointer; }
.co-mentions input { color-scheme: dark; }
.co-table table { min-width: 520px; }
.co-table td input { color-scheme: dark; }
.co-table tr.co-sans td { opacity: .6; }
.co-discord { background: #313338; border-radius: 10px; padding: 12px 14px; color: #dbdee1; font-size: 13.5px; line-height: 1.5; max-width: 640px; }
.co-fil { font-size: 12px; color: #b5bac1; font-weight: 700; margin-bottom: 8px; }
.co-auteur { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.co-auteur b { color: #f2f3f5; }
.co-auteur small { color: #949ba4; font-size: 11px; }
.co-av { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 12px; }
.co-app { background: #5865f2; color: #fff; font-size: 9.5px; font-weight: 800; padding: 1px 4px; border-radius: 3px; }
.co-qui { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 4px; }
.co-qui span { background: rgba(88,101,242,.3); color: #c9cdfb; border-radius: 3px; padding: 0 3px; font-weight: 600; }
.co-qui.vide { color: #949ba4; font-size: 12px; font-style: italic; }
.co-corps { overflow-wrap: anywhere; }
.co-corps small { color: #949ba4; font-size: 11.5px; }
.co-envoi { margin-top: 12px; }
.co-confirmer { display: grid; gap: 8px; padding: 12px 14px; border: 1px solid var(--accent); border-radius: 12px; background: rgba(255,47,146,.07); }
.co-confirmer b { color: var(--text); }
.co-confirmer span { color: var(--body); font-size: 13px; }
.co-envois { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 6px; }
.co-envois li { display: flex; flex-wrap: wrap; gap: 4px 12px; justify-content: space-between; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; color: var(--body); }
.co-envois small { color: var(--muted); font-size: 12px; }

/* ══════════ Lot 226 : les pronos (ligue-pronos-ui.mjs) ══════════ */
.pn-semaines { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; }
.pn-semaines button { font: inherit; font-size: 13px; font-weight: 700; padding: 8px 16px; min-height: 40px; border-radius: 999px; cursor: pointer;
  background: none; color: var(--muted); border: 1px solid rgba(255,255,255,.12); }
.pn-semaines button[aria-pressed="true"] { background: var(--surface2); color: var(--text); border-color: rgba(255,255,255,.22); }
.pn-moi { display: inline-flex; gap: 22px; align-items: center; background: var(--panel); border: 1px solid var(--panel-border); border-radius: 14px; padding: 12px 18px; margin: 0 0 12px; }
.pn-moi span { display: block; font-size: 11px; color: var(--muted); }
.pn-moi b { display: block; font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pn-moi b.or { color: var(--yellow); }
.pn-moi small { font-size: 13px; font-weight: 600; color: var(--muted); }
.pn-regle { color: var(--body); font-size: 13px; line-height: 1.55; margin: 0 0 6px; }
.pn-regle b { color: var(--text); }
.pn-jour { margin: 18px 0 8px; font-size: 15px; color: var(--body); }
.pn-carte { display: grid; grid-template-columns: 150px minmax(0, 1fr) 250px; gap: 18px; align-items: center; margin: 0 0 10px;
  background: var(--panel); border: 1px solid var(--panel-border); border-radius: 14px; padding: 14px 18px; }
.pn-carte.ouvert { border-color: rgba(255,47,146,.55); }
.pn-carte.sienne { background: rgba(255,255,255,.03); border-style: dashed; }
.pn-g { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: var(--muted); }
.pn-g b { font-size: 14px; color: var(--text); }
.pn-etat { font-size: 11px; font-weight: 800; }
.pn-e-ouvert { color: var(--cyan); } .pn-e-ferme { color: var(--accent); } .pn-e-fini { color: var(--win); }
.pn-e-annule, .pn-e-bientot { color: var(--muted); }
.pn-quand { font-size: 11px; font-weight: 700; color: var(--yellow); }
.pn-m { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.pn-deux { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pn-eq { font: inherit; font-size: 15px; font-weight: 700; min-height: 48px; padding: 10px 12px; border-radius: 10px; cursor: pointer;
  background: var(--surface); color: var(--text); border: 1px solid rgba(255,255,255,.18); overflow-wrap: anywhere; }
.pn-eq:hover { border-color: var(--cyan); }
.pn-eq.actif { background: var(--cyan); border-color: var(--cyan); color: #0d0a14; font-weight: 800; }
.pn-scores { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--body); }
.pn-sc { font: inherit; font-size: 13px; font-weight: 700; min-height: 38px; padding: 6px 14px; border-radius: 999px; cursor: pointer;
  background: var(--surface); color: var(--text); border: 1px solid rgba(255,255,255,.18); }
.pn-sc:hover { background: var(--yellow); border-color: var(--yellow); color: #0d0a14; }
.pn-annuler { font: inherit; font-size: 12px; background: none; border: 0; color: var(--muted); cursor: pointer; text-decoration: underline; }
.pn-face { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 700; }
.pn-face .n { flex: 1; min-width: 0; overflow-wrap: anywhere; color: var(--body); }
.pn-face .n.d { text-align: right; }
.pn-face .gagne { color: var(--text); }
.pn-face b { font-size: 22px; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.pn-face b.gagne { color: var(--win); }
.pn-face i { font-style: normal; color: var(--muted); font-size: 13px; }
.pn-barre { display: flex; height: 8px; border-radius: 999px; overflow: hidden; background: var(--surface2); }
.pn-barre .a { background: var(--cyan); } .pn-barre .b { background: var(--accent); }
.pn-rep { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; color: var(--body); }
.pn-d { display: flex; flex-direction: column; gap: 5px; align-items: flex-end; text-align: right; font-size: 12px; }
.pn-mien { color: var(--body); }
.pn-note { color: var(--muted); font-size: 11.5px; margin: 0; }
.pn-pts { font-size: 13px; font-weight: 800; color: #0d0a14; background: var(--yellow); border-radius: 999px; padding: 3px 10px; }
.pn-pts.zero { background: var(--surface2); color: var(--muted); }
.pn-msg { font-size: 12px; } .pn-msg.ok { color: var(--win); } .pn-msg.ko { color: #ff8a8a; }
.lp-table td.nb, .lp-table th.nb { text-align: right; font-variant-numeric: tabular-nums; }
.lp-table tr.pn-moi-l td { background: rgba(18,224,224,.08); }
.lp-table tr.pn-moi-l b { color: var(--cyan); }
.pn-coche { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--body); margin: 6px 0; }
.pn-coche.fort { font-size: 15px; font-weight: 700; color: var(--text); }
.pn-coches { display: flex; gap: 6px 16px; flex-wrap: wrap; }
.pn-champs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.pn-champ { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--body); }
.pn-champ input, .pn-champ select { font: inherit; font-size: 14px; background: var(--surface); color: var(--text); border: 1px solid rgba(255,255,255,.18); border-radius: 8px; padding: 8px 10px; color-scheme: dark; }
/* Lot 262 : le bandeau « À gagner » de l'onglet Pronos (même fond que le bloc
   « À gagner » des tournois, lot 252). */
.pn-gagner { display: flex; align-items: center; gap: 16px 28px; flex-wrap: wrap; margin: 0 0 14px; padding: 16px 20px;
  background: linear-gradient(120deg, rgba(255,204,51,.08), rgba(255,47,146,.05)), var(--panel); border: 1px solid var(--panel-border); border-radius: 14px; }
.pn-gagner-t { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.pn-gagner-t h2 { margin: 0; font-size: 17px; font-weight: 800; color: var(--text); }
.pn-gagner-t p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--body); }
.pn-gagner-lien { background: none; border: 0; padding: 0; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--cyan); text-decoration: underline; cursor: pointer; }
.pn-gagner-lien:hover { color: var(--text); }
.pn-gagner-l { display: flex; gap: 20px; align-items: flex-end; }
.pn-gagner-b { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
/* badgePronos pose une marge à droite pour une ligne de texte : inutile ici. */
.pn-gagner-b > span { margin-right: 0 !important; }
/* Lot 504 : les filtres (Semaine, Division), les rubriques À venir / En cours / Terminés,
   la semaine du match sur la carte. */
.pn-filtres { display: flex; flex-direction: column; gap: 4px; margin: 0 0 14px; padding: 12px 16px 6px; border-radius: 14px;
  background: var(--panel); border: 1px solid var(--panel-border); }
.pn-filtre { display: flex; align-items: flex-start; gap: 4px 12px; flex-wrap: wrap; }
.pn-filtre-t { flex: 0 0 76px; padding-top: 11px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pn-filtre .pn-semaines { flex: 1 1 300px; margin: 0 0 6px; }
.pn-filtre .pn-semaines button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #0d0a14; }
.pn-filtres .pn-coche { border-top: 1px solid var(--line); padding-top: 8px; min-height: 40px; }
.pn-section { margin: 18px 0 0; }
.pn-section-t { display: flex; align-items: baseline; gap: 6px 10px; flex-wrap: wrap; }
.pn-section-t h2 { margin: 0; font-size: 19px; font-weight: 800; color: var(--text); }
.pn-compte { font-size: 12px; font-weight: 800; padding: 1px 9px; border-radius: 999px; background: var(--surface2); color: var(--body); }
.pn-compte.fort { background: var(--accent); color: #0d0a14; }
.pn-aide { font-size: 12.5px; color: var(--muted); }
.pn-sem { font-size: 11px; color: var(--muted); }
.pn-reporte { align-self: flex-start; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 999px; border: 1px solid rgba(255,184,77,.6); color: #ffcf85; }
.pn-plus { display: block; margin: 6px auto 0; min-height: 44px; }
@media (max-width: 760px) {
  .pn-carte { grid-template-columns: 1fr; gap: 10px; }
  .pn-filtre-t { flex-basis: 100%; padding-top: 4px; }
  .pn-d { align-items: flex-start; text-align: left; }
  .pn-moi { display: flex; }
}

/* ── Lot 235 : « Aujourd'hui » (maquette « Splatelo : vue organisation », écran 1) ──
   À gauche « À faire », à droite le direct, les chiffres de la semaine et les derniers
   écrans ; une colonne sur téléphone. L'étiquette de catégorie devant chaque chose à faire. */
.lg-auj { display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.lg-auj-g { flex: 999 1 520px; min-width: 0; }
.lg-auj-d { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; }
.lg-auj-d .lg-chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lg-cat-af { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; margin-right: 6px; vertical-align: 1px; color: var(--muted); }
.lg-cat-af.matchs { color: var(--cyan); }
.lg-cat-af.equipes { color: #ffcc33; }
.lg-cat-af.saison { color: var(--accent); }
.lg-cat-af.diffusion { color: #b48cff; }
.lg-derniers { display: flex; flex-direction: column; gap: 8px; }
.lg-derniers a { color: var(--text); text-decoration: none; font-size: 13.5px; }
.lg-derniers a:hover { color: var(--accent); }
.lg-etat-saison summary { cursor: pointer; list-style: revert; }
.lg-etat-saison summary h2 { display: inline; }
.lg-etat-saison[open] summary { margin-bottom: 10px; }

/* Lot 238 (20 octobre 2026) : Équipes › Écarts avec Olympe (public/js/ligue-ecarts-olympe-ui.mjs, maquette validée). */
.eo-tete { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-start; }
.eo-titre { flex: 1 1 420px; min-width: 0; }
.eo-titre h2 { margin: 0 0 6px; }
.eo-lecture { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.eo-lecture small { color: var(--muted); font-size: 12.5px; text-align: right; }
.eo-filtres { margin: 12px 0 4px; }
.eo-h { margin: 0 0 10px; font-size: 15px; color: var(--text); }
.eo-liste { display: grid; gap: 10px; }
.eo-l { display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; padding: 12px 14px; border-radius: 12px; background: rgba(13,10,20,.45); border: 1px solid var(--line); }
.eo-l.eo-fait, .eo-l.eo-ignore { opacity: .85; }
.eo-et { flex: 0 0 130px; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding-top: 2px; }
.eo-arr { color: var(--win, #2fe88a); } .eo-dep { color: #ff9f2e; } .eo-tra { color: var(--cyan, #12e0e0); }
.eo-dbl { color: var(--yellow, #ffe14d); } .eo-eq { color: #b48cff; }
.eo-q { flex: 1 1 300px; min-width: 0; display: grid; gap: 3px; font-size: 13.5px; color: var(--body); }
.eo-q b { color: var(--text); }
.eo-q .mk-ctl { margin-top: 4px; }
.eo-act { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.eo-act .eo-b-arr { color: var(--win, #2fe88a); border-color: rgba(47,232,138,.45); }
.eo-act .eo-b-dep { color: #ff9f2e; border-color: rgba(255,159,46,.45); }
.eo-act .eo-b-tra { color: var(--cyan, #12e0e0); border-color: rgba(18,224,224,.45); }
.eo-act .eo-conf { background: rgba(255,225,77,.14); color: var(--yellow, #ffe14d); border-color: rgba(255,225,77,.55); }
.eo-act button[disabled] { opacity: .45; cursor: not-allowed; }
@media (max-width: 560px) { .eo-et { flex-basis: 100%; } .eo-lecture { align-items: flex-start; } .eo-lecture small { text-align: left; } }

/* ── Lot 276 : l'état des joueurs en trois pastilles (Inscriptions, maquette « Recherche de joueurs ») ── */
.ej-joueurs, .ej-equipe { display: flex; flex-direction: column; gap: 8px; margin: 0 0 14px; }
.ej-joueurs h3, .ej-equipe h3 { margin: 4px 0 0; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ej-equipe { margin-top: 14px; }
.ej-bot { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 12.5px; color: var(--muted); }
.ej-lance { color: #fcd34d; }
.ej-j { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr) auto; gap: 8px 16px; align-items: start;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.03); }
.ej-equipe .ej-j { grid-template-columns: minmax(0, 220px) minmax(0, 1fr); }
.ej-qui { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ej-qui b { overflow-wrap: anywhere; }
.ej-qui small { font-size: 12px; color: var(--muted); }
.ej-etat { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ej-pastilles { display: flex; flex-wrap: wrap; gap: 6px; }
.ej-p { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 4px 10px; cursor: help; }
.ej-p.ok { color: #5eead4; background: rgba(45,212,191,.12); }
.ej-p.att { color: #fcd34d; background: rgba(251,191,36,.12); }
.ej-p.non { color: #b9b3c8; border: 1px dashed #5a5268; padding: 3px 9px; }
.ej-bloc { font-size: 12.5px; line-height: 1.45; }
/* Lot 292 : une case sans objet (Nintendo d'une place gardée). */
.ej-p.vide { color: var(--muted); background: rgba(255,255,255,.05); cursor: default; }
/* Lot 292 (maquette « Effectifs : marché et inscriptions », planche 2) : la liste des équipes,
   l'équipe dépliée sous sa ligne, le tableau unique de ses joueurs et le menu « Gérer ▾ ». */
.ins-equipes td small { display: block; color: var(--muted); font-size: 11.5px; font-weight: 600; }
.ins-equipes .ej-pastilles { gap: 5px; }
.ins-equipes .ej-p { font-size: 11.5px; padding: 3px 9px; cursor: default; }
.ins-equipes tr.ins-ouverte > td { background: rgba(255,47,146,.07); }
.ins-equipes .lg-bt.on { background: var(--pink, #ff2f92); border-color: var(--pink, #ff2f92); color: #fff; }
.ins-equipes tr.ins-sous > td { padding: 0; }
.ins-equipes tr.ins-depli > td { padding: 12px 14px 14px; background: rgba(13,10,20,.65); border-top: 1px solid rgba(255,47,146,.35); border-bottom: 1px solid rgba(255,47,146,.35); }
.ins-dt { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 14px; margin-bottom: 10px; font-size: 13px; color: var(--body); }
.ins-dt b { color: var(--text); }
.ins-dt-b { display: flex; flex-wrap: wrap; gap: 8px; }
.ins-jt-cadre { border: 1px solid var(--line); border-radius: 10px; overflow: visible; }
.ins-jt { width: 100%; }
.ins-jt thead th { position: static; }   /* l'en-tête collant reste celui de la liste des équipes */
.ins-jt-cadre, .ins-trouve { overflow-x: auto; }
.ins-jt-cadre:has(details[open]), .ins-trouve:has(details[open]) { overflow: visible; }
.ins-jt td { vertical-align: middle; }
.ins-jt td b { display: block; color: var(--text); overflow-wrap: anywhere; }
.ins-jt td small { display: block; color: var(--muted); font-size: 11.5px; }
.ins-jt td small.ins-ko { color: #ffe14d; }
.ins-jt td.d { text-align: right; white-space: nowrap; }
.ins-jt td:nth-child(2) { white-space: nowrap; }
.ins-jt .ej-p { white-space: nowrap; }
.ins-jt tr.ins-ge > td { background: rgba(18,224,224,.04); }
.ins-jt tr.ins-conf-l > td { background: rgba(255,47,146,.06); }
.ins-pret { font-size: 12.5px; font-weight: 700; color: #5eead4; }
/* Lot 297 : l'alias de l'équipe, dans l'équipe dépliée. */
.ins-alias { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 0 12px; font-size: 13px; }
.ins-alias label { font-weight: 700; color: var(--body); }
.ins-alias input { font: inherit; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--text); width: 190px; }
/* Lot 417 : « Prévenir l'équipe » (Pilotage › Inscriptions › une équipe), sous le logo. */
.ins-prevenir { display: grid; gap: 6px; margin: 0 0 12px; font-size: 13px; }
.ins-prevenir > b { color: var(--body); }
.ins-prevenir-l { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ins-prevenir select, .ins-prevenir input { font: inherit; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.ins-prevenir input { flex: 1 1 220px; min-width: 0; }
.ins-prevenir small { color: var(--muted); font-size: 12px; }
.ins-alias small { flex-basis: 100%; color: var(--muted); font-size: 12px; }
/* Lot 381 : le logo dans la Ligue (Pilotage › Inscriptions, équipe ouverte) et la miniature de la liste. */
.ins-logo { margin: 0 0 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); font-size: 13px; }
.ins-logo-t { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.ins-logo-t b { color: var(--text); }
.ins-logo-puce { font-size: 11.5px; font-weight: 800; padding: 2px 9px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--body); }
.ins-logo-puce.ok { background: rgba(47,232,138,.14); color: var(--win); }
.ins-logo-puce.ko { background: rgba(255,225,77,.14); color: var(--yellow); }
.ins-logo-l { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; }
.ins-logo-v { width: 72px; height: 72px; border-radius: 22%; object-fit: contain; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; font-weight: 800; font-size: 22px; color: var(--muted); }
.ins-logo-depot { border: 1.5px dashed rgba(18,224,224,.45); border-radius: 12px; padding: 12px; display: grid; gap: 4px; color: var(--muted); font-size: 12.5px; cursor: pointer; }
.ins-logo-depot b { color: var(--text); font-size: 13.5px; }
.ins-logo-depot input[type=file] { font-size: 12px; color: var(--muted); margin-top: 4px; max-width: 100%; }
.ins-logo .eql-televerse { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; }
.ins-logo .eql-apercu { width: 160px; height: 160px; border-radius: 22%; border: 2px solid var(--cyan); background: repeating-conic-gradient(#1b1628 0 25%, #201a2f 0 50%) 0 0 / 16px 16px; cursor: grab; touch-action: none; max-width: 100%; }
.ins-logo .eql-apercu:active { cursor: grabbing; }
.ins-logo .eql-reglages { display: grid; gap: 10px; }
.ins-logo .eql-zoom { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--body); }
.ins-logo .eql-zoom input { flex: 1; accent-color: #12e0e0; }
.ins-logo .eq-pied { display: flex; flex-wrap: wrap; gap: 8px; }
.ins-nom { display: flex; align-items: center; gap: 8px; }
.ins-mini { width: 24px; height: 24px; flex: none; border-radius: 6px; object-fit: contain; background: var(--surface); }
span.ins-mini { display: inline-grid; place-items: center; font-size: 9.5px; font-weight: 800; color: var(--muted); border: 1px solid var(--line); box-sizing: border-box; }
@media (max-width: 560px) { .ins-logo-l, .ins-logo .eql-televerse { grid-template-columns: 1fr; justify-items: start; } }
.ins-muet { font-size: 12.5px; color: var(--muted); }
.ins-trouve { margin: 0 14px 10px 30px; border: 1px solid rgba(255,47,146,.35); border-radius: 10px; }
.ins-filtre { font: inherit; font-size: 12.5px; font-weight: 700; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--body); cursor: pointer; }
.ins-filtre.on { background: var(--text); color: var(--bg, #0d0b14); border-color: var(--text); }
.ins-gerer { position: relative; display: inline-block; text-align: left; }
.ins-gerer > summary { list-style: none; cursor: pointer; font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 8px; border: 1px solid var(--line); color: var(--text); background: rgba(255,255,255,.04); }
.ins-gerer > summary::-webkit-details-marker { display: none; }
.ins-gerer[open] > summary { border-color: rgba(255,255,255,.3); }
.ins-menu { position: absolute; right: 0; top: calc(100% + 4px); z-index: 20; min-width: 210px; display: grid; padding: 6px; border-radius: 10px; border: 1px solid rgba(255,255,255,.16); background: #221b33; box-shadow: 0 12px 30px rgba(0,0,0,.45); }
.ins-mi { font: inherit; font-size: 13px; text-align: left; border: 0; border-radius: 7px; padding: 9px 10px; background: none; color: var(--text); cursor: pointer; }
.ins-mi:hover, .ins-mi:focus-visible { background: rgba(255,255,255,.07); }
.ins-mi.danger { color: #ffb4b4; }
.ins-mi[disabled] { opacity: .5; cursor: default; }
.ej-bloc.att { color: #fcd34d; }
.ej-bloc.non { color: #ffb4b4; }
@media (max-width: 640px) {
  .ej-j, .ej-equipe .ej-j { grid-template-columns: 1fr; }
}

/* ── Lot 301 : Pilotage › Matchs › Discussions (public/js/ligue-discussions-ui.mjs) ── */
.dz-cartes { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.dz-carte { display: flex; flex-direction: column; gap: 8px; border-radius: 14px; padding: 14px 16px; background: var(--surface, #15111f); border: 1px solid rgba(255,255,255,.10); }
.dz-carte[data-statut="ouverte"] { border-color: rgba(255,225,77,.45); }
.dz-carte p { margin: 0; font-size: 13.5px; line-height: 1.5; overflow-wrap: anywhere; }
.dz-tete { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; font-size: 15px; }
.dz-etat { font-size: 12.5px; color: var(--body, #c9c3dd); }
.dz-etat.ouverte { color: var(--yellow, #ffe14d); font-weight: 700; }
.dz-etat b { color: var(--yellow, #ffe14d); }
.dz-der { color: var(--muted, #9d96b8); font-size: 12.5px !important; }
.dz-act { display: flex; gap: 8px; flex-wrap: wrap; }
.dz-j { background: var(--yellow, #ffe14d) !important; color: #1a1408 !important; border-color: transparent !important; }
/* Comme .lp-table : le cadre défile, l'en-tête reste collé en haut du cadre. */
.dz-tab { margin-top: 12px; overflow: auto; max-height: 70vh; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; }
.dz-tab table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.dz-tab th { position: sticky; top: 0; z-index: 1; text-align: left; font-size: 12px; color: var(--muted, #9d96b8); background: #15111f; padding: 9px 12px; }
.dz-tab td { padding: 10px 12px; border-top: 1px solid rgba(255,255,255,.06); }
.dz-tab td:last-child { text-align: right; white-space: nowrap; }
.dz-pt { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--yellow, #ffe14d); color: #1a1408; font-size: 11px; font-weight: 800; margin-left: 6px; }

/* ── Lot 356 : le calendrier de chaque division (Saison › Divisions, bloc « Calendrier de la division ») ──
   Une case par semaine de la Saison : Jeu (vert), Pause (pointillés), Rattrapage (S8, sans programme).
   En réglage, les cases sont des boutons (.modifiable). */
.lr-cal { border: 1px solid var(--panel-border); border-radius: 12px; padding: 12px; margin: 0 0 12px; display: grid; gap: 10px; }
.lr-cal-tete { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; }
.lr-cal-tete h4 { margin: 0; font-size: 14px; }
.lr-cal-rac { display: flex; flex-wrap: wrap; gap: 6px; }
.lr-cal-grille { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.lr-cal-sem { border: 1px solid var(--panel-border); border-radius: 10px; padding: 8px 6px; text-align: center; background: var(--surface); display: grid; gap: 3px; color: var(--body); font: inherit; min-width: 0; }
.lr-cal-sem b { font-size: 13px; color: var(--text); }
.lr-cal-sem small { font-size: 11px; color: var(--muted); }
.lr-cal-sem .etat { font-size: 10px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; border-radius: 999px; padding: 2px 6px; justify-self: center; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lr-cal-sem .jr { font-size: 11px; overflow-wrap: anywhere; }
.lr-cal-sem.jeu { border-color: rgba(47, 232, 138, .45); background: rgba(47, 232, 138, .07); }
.lr-cal-sem.jeu .etat { background: rgba(47, 232, 138, .16); color: #2fe88a; }
.lr-cal-sem.pause { border-style: dashed; }
.lr-cal-sem.pause .etat { background: rgba(255, 255, 255, .07); color: var(--muted); }
.lr-cal-sem.rattrapage { border-style: dotted; opacity: .85; }
.lr-cal-sem.rattrapage .etat { background: rgba(255, 214, 10, .12); color: var(--yellow); }
.lr-cal-sem.modifiable { cursor: pointer; }
.lr-cal-sem.modifiable:hover:not(:disabled) { border-color: var(--accent); }
.lr-cal-sem.modifiable:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lr-cal-bilan { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 12.5px; }
.lr-cal-bilan:empty { display: none; }
.lr-cal-bilan .ok { color: #2fe88a; font-weight: 800; }
.lr-cal-bilan .ko { color: #ff8f8f; font-weight: 800; }
.lr-cal-diff { max-height: 340px; }
.lr-cal-diff table { min-width: 520px; }
.lr-cal-diff td.bouge { color: var(--yellow); font-weight: 700; }
.lr-cal-diff td.garde { color: var(--muted); }
@media (max-width: 720px) { .lr-cal-grille { grid-template-columns: repeat(4, minmax(0, 1fr)); } .lr-cal-sem .etat { letter-spacing: 0; padding: 2px 4px; font-size: 9.5px; } }
/* Lot 356 : une équipe retirée depuis la création, barrée dans le seed de la division. */
.lr-seed li.lr-partie { color: var(--muted); }

/* ── Lot 362 : l'onglet Divisions (ex-Classement) : calendrier, maps des équipes, programme ──
   Maquette « Ligue › Divisions » v2. Préfixes dv- (division) et pg- (programme). */
.dv-bloc h2 small { font-weight: 500; }
.dv-lien { all: unset; cursor: pointer; color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.dv-lien:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* Le calendrier : une carte par semaine, sur 4 colonnes (2 sur téléphone). */
.dv-cal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.dv-s { border: 1px solid var(--surface2); border-radius: 11px; padding: 9px 10px; background: var(--bg); min-width: 0; }
.dv-s header { display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; margin-bottom: 6px; }
.dv-s header b { font-size: 14px; color: var(--text); }
.dv-s header small { font-size: 11px; color: var(--muted); }
.dv-s header em, .pg-sem header em { font-style: normal; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; border-radius: 999px; padding: 1px 7px; background: var(--accent); color: #fff; margin-left: auto; }
.dv-s header em.p { background: var(--surface2); color: var(--muted); }
.dv-s header em.r, .pg-sem header em.r { background: color-mix(in srgb, var(--yellow) 18%, transparent); color: var(--yellow); }
.dv-s.ici { border-color: var(--accent); }
.dv-s.pointille { border-style: dashed; }
.dv-s ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.dv-s li { font-size: 12.5px; color: var(--body); line-height: 1.3; min-width: 0; overflow-wrap: anywhere; }
.dv-s li a { color: inherit; text-decoration: none; display: block; border-radius: 6px; }
.dv-s li a:hover b { text-decoration: underline; }
.dv-s li b { color: var(--text); font-weight: 700; }
.dv-s li small { display: block; font-size: 11px; color: var(--muted); }
.dv-s .dv-sc { font-weight: 900; color: var(--win); font-variant-numeric: tabular-nums; }
.dv-s .dv-date { color: var(--cyan, #4fd1ff); }
.dv-s .dv-afaire { color: var(--yellow); }
.lg-bloc .dv-ex, .dv-ex { font-size: 11.5px; color: var(--muted); margin: 6px 0 0; }
/* Les maps des équipes : une carte par équipe, les vignettes de chaque mode. */
.dv-eqs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 10px; }
.dv-eq { border: 1px solid var(--surface2); border-radius: 11px; padding: 10px; background: var(--bg); display: grid; gap: 7px; min-width: 0; align-content: start; }
.dv-eq header { display: flex; align-items: center; gap: 8px; min-width: 0; }
.dv-eq header a { color: var(--text); text-decoration: none; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dv-eq header a:hover { text-decoration: underline; }
.dv-mode { display: grid; grid-template-columns: 20px 30px minmax(0, 1fr); gap: 6px; align-items: center; }
.dv-mode > b { font-size: 11px; color: var(--muted); }
.dv-mode em { font-size: 11.5px; color: var(--muted); }
.dv-vig { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.dv-vig span { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface2); }
.dv-vig img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dv-vig i { position: absolute; inset: auto 0 0 0; font-style: normal; font-size: 9.5px; font-weight: 700; color: #fff; padding: 8px 4px 2px; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dv-note { font-size: 11.5px; color: var(--yellow); margin: 2px 0 0; }
/* Le programme : une carte par semaine, les manches dans l'ordre. */
/* Lot 368 : cartes plus étroites (icône du mode seule) : 4 semaines par ligne sur un écran large, 2 lignes de 4 pour la Saison. */
.pg-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(225px, 100%), 1fr)); gap: 12px; }
.pg-grille.pg-une { grid-template-columns: minmax(0, 520px); }
.pg-sem { border: 1px solid var(--surface2); border-radius: 12px; padding: 10px 12px; background: var(--bg); min-width: 0; }
.pg-sem.ici { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.pg-sem.passee { opacity: .6; }
.pg-sem.pointille { border-style: dashed; }
.pg-sem header { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; margin-bottom: 8px; }
.pg-sem header b { color: var(--text); }
.pg-sem header small { font-size: 11.5px; color: var(--muted); }
.pg-sem p { font-size: 12.5px; color: var(--muted); margin: 0; }
.pg-sem .pg-turf { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; }
.pg-sem ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.pg-sem li { display: grid; grid-template-columns: 14px 20px minmax(0, 1fr); gap: 7px; align-items: center; font-size: 12.5px; }
.pg-ic { display: flex; align-items: center; justify-content: center; color: var(--muted); }
.pg-n { font-size: 11px; color: var(--muted); font-weight: 800; text-align: right; }
.pg-map { display: flex; align-items: center; gap: 7px; min-width: 0; }
.pg-map img { width: 46px; height: 26px; object-fit: cover; border-radius: 4px; flex: none; background: var(--surface2); }
/* Lot 368 : le nom de la map en entier ; un nom long passe sur deux lignes plutôt que d'être coupé. */
.pg-map b { font-weight: 700; color: var(--text); line-height: 1.2; overflow-wrap: anywhere; }
.pg-map em { color: var(--muted); font-size: 12px; }
.pg-d12 { border: 1px solid color-mix(in srgb, var(--yellow) 40%, transparent); background: color-mix(in srgb, var(--yellow) 7%, transparent); border-radius: 12px; padding: 10px 12px; font-size: 12.5px; color: var(--body); margin: 0 0 12px; }
@media (max-width: 760px) { .dv-cal { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Lot 368 : le nom du mode n'est plus affiché (icône seule), plus rien à masquer sur téléphone. */

/* ══════════ Lot 371 : l'affiche de la division (onglet Divisions) ══════════
 * Proposition A de la maquette « Affiche de la division à côté du classement » : l'affiche à
 * gauche (un peu plus large), le classement à droite sans la colonne Forme. Sur un écran
 * étroit, l'affiche passe au-dessus. L'image est montrée EN ENTIER (jamais recadrée). */
.dv-l1 { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.dv-l1-cl { min-width: 0; }
.dv-aff { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--surface); cursor: zoom-in; box-shadow: 0 6px 24px rgba(0,0,0,.35); }
.dv-aff img { display: block; width: 100%; height: auto; }
.dv-aff:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.dv-loupe { position: absolute; right: 10px; bottom: 10px; font-size: 11.5px; font-weight: 700; color: #fff; background: rgba(0,0,0,.55); border-radius: 999px; padding: 3px 10px; opacity: 0; transition: opacity .15s; }
.dv-aff:hover .dv-loupe, .dv-aff:focus-visible .dv-loupe { opacity: 1; }
@media (max-width: 860px) { .dv-l1 { grid-template-columns: 1fr; } .dv-loupe { opacity: 1; } }
/* L'affiche en grand : par-dessus la page, l'image tient dans l'écran. */
.dv-voile { position: fixed; inset: 0; z-index: 1000; background: rgba(5,4,10,.88); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: max(16px, env(safe-area-inset-top, 0px)) 16px 16px; }
.dv-voile-bar { width: min(1280px, 100%); display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--body); font-size: 13px; }
.dv-voile-bar span { display: flex; gap: 8px; }
.dv-voile img { max-width: min(1280px, 100%); max-height: calc(100vh - 110px); width: auto; height: auto; border-radius: 10px; }

/* Pilotage › Saison › Divisions › Affiches des divisions. */
.lr-aff-liste { border: 1px solid var(--surface2); border-radius: 12px; overflow: hidden; }
.lr-aff { display: grid; grid-template-columns: 96px 160px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 12px; border-top: 1px solid var(--surface2); font-size: 13px; }
.lr-aff:first-child { border-top: 0; }
.lr-aff-mini { display: block; border-radius: 6px; overflow: hidden; background: var(--surface); }
.lr-aff-mini img { display: block; width: 100%; height: auto; }
.lr-aff-vide { aspect-ratio: 16 / 9; border-radius: 6px; border: 1.5px dashed var(--surface2); display: grid; place-items: center; color: var(--muted); font-size: 11px; }
.lr-aff-act { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.lr-aff-act label.lg-bt { cursor: pointer; }
.lr-aff-act label.lr-aff-off { opacity: .5; pointer-events: none; }
.lr-aff-act small { color: var(--muted); }
@media (max-width: 640px) { .lr-aff { grid-template-columns: 80px 1fr; } .lr-aff-act { grid-column: 1 / -1; } }

/* ── Lot 374 : les photos de fin de match (ligue-photos-ui.mjs) ──
   L'onglet Photos (album par semaine, la photo en grand dans .dv-voile du lot 371)
   et Pilotage › Diffusion › Photos (liste des dernières, Masquer). */
.ph-titre { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 0 0 6px; font-size: 17px; }
.ph-titre small, .ph-sem small { color: var(--muted); font-weight: 500; font-size: 12.5px; }
.ph-sem { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 14px; margin: 16px 0 8px; color: var(--text); }
.ph-album { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 12px; }
.ph-fig { margin: 0; display: grid; gap: 6px; min-width: 0; }
.ph-vign { display: block; padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in; background: var(--surface2); aspect-ratio: 16 / 9; width: 100%; }
.ph-vign img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.ph-vign:hover img { transform: scale(1.03); }
.ph-vign:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.ph-fig figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 12.5px; color: var(--body); }
.ph-fig figcaption span { min-width: 0; overflow-wrap: anywhere; }
.ph-fig figcaption b { color: var(--text); }
.ph-fig figcaption small { color: var(--muted); flex: none; }
.ph-sc { color: var(--muted); font-weight: 700; padding: 0 2px; font-variant-numeric: tabular-nums; }
.dv-voile-bar .ph-lieu { color: var(--muted); font-weight: 500; }
/* .dv-voile-bar span est une rangée de boutons (lot 371) : le score de la légende reste dans la ligne. */
.dv-voile-bar .ph-sc { display: inline; }
.php { display: grid; gap: 8px; }
.php-l { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.php-l.masquee { opacity: .6; border-style: dashed; }
.php-img { display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface2); }
.php-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.php-t { display: flex; flex-direction: column; gap: 3px; font-size: 13px; color: var(--body); min-width: 0; }
.php-t b { color: var(--text); }
.php-t small { color: var(--muted); font-size: 12px; }
.php-t small.php-masq { color: var(--accent); font-weight: 700; }
.php-t a { font-size: 12px; width: fit-content; }
.php-msg { margin: 0 0 12px; font-size: 13px; }
.php-msg.ok { color: var(--win); } .php-msg.ko { color: #ff8a8a; }
@media (max-width: 640px) { .php-l { grid-template-columns: 110px minmax(0, 1fr); } .php-l .lg-bt { grid-column: 1 / -1; justify-self: start; } }

/* ── Lot 375 : l'activité des pronos (maquette « Pronos en cours », version B) ──
   Le bandeau « en ce moment » (à la place de « Tes points cette semaine »), la ligne
   « qui a pronostiqué » sous chaque match et l'étiquette du match le plus suivi. */
.pn-pouls { display: flex; align-items: center; gap: 14px 18px; flex-wrap: wrap; margin: 0 0 12px; padding: 14px 18px; border-radius: 14px;
  background: linear-gradient(110deg, rgba(18,224,224,.10), rgba(255,47,146,.07)), var(--panel); border: 1px solid var(--panel-border); }
.pn-pouls .t { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.pn-pouls .t b { font-size: 16px; color: var(--text); }
.pn-pouls .t b .chiffre { color: var(--cyan); }
.pn-pouls .t span { font-size: 12.5px; color: var(--body); }
.pn-pouls .t span .vif { color: var(--win); font-weight: 700; }
.pn-pouls .moi { display: flex; align-items: center; gap: 16px; padding-left: 18px; border-left: 1px solid var(--line); margin-left: auto; }
.pn-pouls .moi small { display: block; font-size: 11px; color: var(--muted); }
.pn-pouls .moi b { font-size: 20px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.pn-pouls .moi b.or { color: var(--yellow); }
.pn-pouls .moi b small { display: inline; font-size: 12px; font-weight: 600; }
@media (max-width: 600px) { .pn-pouls .moi { padding-left: 0; border-left: 0; margin-left: 0; } }
.pn-qui { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0; font-size: 11.5px; color: var(--muted); }
.pn-qui b { color: var(--body); font-weight: 700; }
.pn-chaud { display: inline-block; width: fit-content; font-size: 10.5px; font-weight: 800; color: #0d0a14; background: var(--yellow); border-radius: 999px; padding: 1px 8px; margin-top: 2px; }
/* Lot 376 : Pilotage › Photos, le salon Discord à créer. */
.php-discord { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; margin: 0 0 14px; padding: 10px 12px; border-radius: 10px; border: 1px dashed var(--line); }

/* Lot 400 : Pilotage › Staff, les pilotes par l'organisation (en lecture, sous les admins de la ligue). */
.lg-sous-titre { margin: 14px 0 6px; font-size: 14px; font-weight: 800; color: var(--text); }
.lg-sous-titre a { color: var(--cyan); }

/* ── Lot 402 : Pilotage › Matchs, la recherche rapide d'une équipe (Propositions,
   Planification, Discussions ; public/js/pilotage-recherche.mjs). ── */
.prc { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; margin: 12px 0 10px; }
.prc-boite { position: relative; flex: 1 1 260px; max-width: 460px; display: flex; align-items: center; }
.prc-loupe { position: absolute; left: 11px; color: var(--muted); font-size: 14px; pointer-events: none; }
.prc-boite input { width: 100%; box-sizing: border-box; font: inherit; font-size: 13.5px; color: var(--text); background: var(--surface);
  border: 1px solid var(--surface2); border-radius: 11px; padding: 8px 34px 8px 32px; color-scheme: dark; }
.prc-boite input::-webkit-search-cancel-button { display: none; }
.prc-boite input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,47,146,.15); }
.prc-boite.plein input { border-color: color-mix(in srgb, var(--accent) 60%, var(--surface2)); }
.prc-vider { position: absolute; right: 7px; background: none; border: 1px solid var(--surface2); border-radius: 7px; color: var(--muted);
  font: inherit; font-size: 13px; line-height: 1; padding: 2px 7px; cursor: pointer; }
.prc-vider:hover { color: var(--text); }
.prc-vider[hidden] { display: none; }
.prc-compte { font-size: 12.5px; color: var(--body); font-weight: 700; }
/* Le morceau du nom trouvé par la recherche. */
.lg-pilotage mark { background: rgba(255,225,77,.25); color: var(--text); border-radius: 3px; padding: 0 1px; }
/* Un filtre d'état qui ne trouve rien pour la recherche : grisé, mais toujours là. */
.lp-filtre.lp-zero, .mk-onglets button.lp-zero { opacity: .45; }
/* Lot 406 : un match sans date dont le report est demandé ou décidé (page du caster). */
.cs-tag.rep { background: rgba(255,225,77,.12); color: var(--yellow); border: 1px dashed rgba(255,225,77,.45); }
/* Lot 426 : le staff de la saison (Réglages › Staff). La case « Officie sur la Saison 20 »
   est un bouton à bascule (aria-pressed), le bandeau dit où en est le rôle Discord. */
.lg-ligne.lg-ss-ligne { flex-wrap: wrap; }
.lg-ss { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 12.5px; font-weight: 700; padding: 5px 11px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.16); background: transparent; color: var(--muted); cursor: pointer; }
.lg-ss i { width: 14px; height: 14px; border-radius: 4px; border: 2px solid rgba(255,255,255,.3); display: grid; place-items: center;
  font-style: normal; font-size: 10px; line-height: 1; color: #0d0a14; }
.lg-ss.on { border-color: rgba(47,232,138,.5); background: rgba(47,232,138,.1); color: #8ff0bd; }
.lg-ss.on i { background: var(--win); border-color: var(--win); }
.lg-ss:disabled { opacity: .6; cursor: wait; }
.lg-ss:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.lg-ss-bandeau { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin-block: 4px 12px; padding: 10px 14px;
  border-radius: 12px; border: 1px solid rgba(18,224,224,.35); background: rgba(18,224,224,.06); font-size: 13px; color: var(--muted); }
.lg-ss-bandeau b { color: var(--text); }
.lg-ss-bandeau .ok { color: #8ff0bd; }
.lg-ss-bandeau .ko { color: #ff8cc4; }
.lg-bloc p.lg-ss-note { margin-top: 10px; }
@media (max-width: 600px) { .lg-ss-ligne .tx { flex-basis: calc(100% - 60px); } }
/* Lot 428 : « Qui suit quelle division » (TO par division), sous le staff de la saison. */
.lg-to-tab { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; max-height: 520px; }
.lg-to-tab table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 13px; }
.lg-to-tab th, .lg-to-tab td { text-align: left; padding: 8px 12px; border-bottom: 1px solid rgba(255,255,255,.07); vertical-align: middle; }
.lg-to-tab thead th { position: sticky; top: 0; z-index: 1; background: #1d1729; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.lg-to-tab tr:last-child td { border-bottom: 0; }
.lg-to-div { font-weight: 800; white-space: nowrap; }
.lg-to-div small { display: block; color: var(--muted); font-weight: 600; font-size: 11px; }
.lg-to-p { display: inline-flex; align-items: center; gap: 6px; margin: 2px 6px 2px 0; padding: 3px 4px 3px 10px; border-radius: 999px;
  background: rgba(47,232,138,.1); border: 1px solid rgba(47,232,138,.35); font-weight: 700; font-size: 12.5px; }
.lg-to-p small { color: var(--yellow); font-weight: 600; font-size: 11px; }
.lg-to-p button { font: inherit; font-weight: 800; line-height: 1; width: 22px; height: 22px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.08); color: var(--muted); }
.lg-to-p button:hover, .lg-to-p button:focus-visible { background: rgba(255,92,92,.2); color: #ff8f8f; outline: none; }
.lg-to-vide { color: var(--yellow); font-weight: 700; font-size: 12.5px; }
.lg-to-aj { text-align: right; width: 1%; white-space: nowrap; }
.lg-to-aj select { font: inherit; font-size: 12px; font-weight: 700; padding: 5px 8px; border-radius: 9px; border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06); color: var(--text); color-scheme: dark; }
/* Lot 428b : la liste ouverte est dessinée par le système, sur fond clair par défaut : texte
   clair sur blanc, illisible. color-scheme la passe en sombre ; fond et couleur des options
   posés en plus pour les navigateurs qui ne suivent pas color-scheme. */
.lg-to-aj select option { background: #1d1729; color: #f2eefc; }
/* ══ Lot 429 : la vue TO de division (public/js/vue-to.mjs) ══
   La bascule dans la barre du Pilotage, les puces en tête des listes, les autres divisions
   grisées sous « Autres divisions », Aujourd'hui (pastille D2, cartes, bloc replié). */
.vt-bascule { display: inline-flex; gap: 2px; padding: 3px; margin-bottom: 6px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; }
.vt-bascule button { font: inherit; font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 999px; border: 0; cursor: pointer; background: none; color: var(--muted); white-space: nowrap; }
.vt-bascule button[aria-pressed="true"] { background: rgba(47,232,138,.16); color: #8ff0bd; }
.vt-bascule button:focus-visible, .vt-puces button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
@media (max-width: 600px) { .vt-bascule { flex: 1 1 100%; } .vt-bascule button { flex: 1; } }
.vt-puces { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin: 0 0 10px; }
.vt-puces > span { color: rgba(255,255,255,.2); }
.vt-puces button { font: inherit; font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; cursor: pointer; border: 1px solid rgba(255,255,255,.16); background: none; color: var(--muted); }
.vt-puces button[aria-pressed="true"] { background: rgba(47,232,138,.16); border-color: rgba(47,232,138,.5); color: #8ff0bd; }
/* Les autres divisions : un groupe grisé, en tableau (<tbody>) comme en cartes (<div>). */
.vt-autres > tr:not(.vt-sep), .vt-autres > :not(.vt-sep) { opacity: .55; }
.vt-autres > tr:not(.vt-sep):hover, .vt-autres > :not(.vt-sep):hover, .vt-autres > :not(.vt-sep):focus-within { opacity: 1; }
.vt-sep, .vt-sep td { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
p.vt-sep { margin: 12px 0 6px; }
.vt-sep td { padding-top: 14px; border-bottom: 1px solid rgba(255,255,255,.07); }
.vt-d, .lg-ligne .tx span.vt-d { display: inline-block; width: auto; margin-left: 4px; font-size: 10.5px; font-weight: 800; padding: 1px 7px; border-radius: 999px; background: rgba(47,232,138,.16); color: #8ff0bd; vertical-align: 1px; }
.vt-replie { margin-top: 10px; border-top: 1px dashed var(--line); padding-top: 9px; }
.vt-replie summary { display: flex; justify-content: space-between; gap: 10px; cursor: pointer; list-style: none; color: var(--muted); font-size: 13px; font-weight: 700; }
.vt-replie summary::-webkit-details-marker { display: none; }
.vt-replie[open] .vt-ouvrir { display: none; }
.vt-replie .lg-lignes { margin-top: 8px; opacity: .8; }
.vt-cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.vt-carte { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(47,232,138,.3); background: rgba(47,232,138,.05); }
.vt-carte b { font-size: 15px; }
.vt-carte small { color: var(--muted); font-size: 12px; }
.vt-jauge { height: 6px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.vt-jauge i { display: block; height: 100%; background: var(--win); }
.vt-chiffres { display: flex; gap: 4px 10px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.vt-chiffres b { color: var(--text); }
.vt-chiffres .att b { color: var(--yellow); }
.vt-chiffres .urg, .vt-chiffres .urg b { color: #ff8cc4; }

/* ── Lot 445 : Pilotage › Discord › Fils des équipes (public/js/ligue-fils-equipes-ui.mjs) ──
   L'état est toujours écrit en toutes lettres ; la couleur ne fait que l'appuyer. */
.fe-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fe-gris { color: var(--muted, #9d96b8); font-size: 12.5px; }
.fe-nl { color: #ff8cc2; }
.fe-act { text-align: right; }
.fe-etat { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; border: 1px solid rgba(255,255,255,.14); color: var(--body, #c9c3dd); white-space: nowrap; }
.fe-etat.question { background: #3a2a0c; border-color: #3a2a0c; color: #ffd27a; }
.fe-etat.repondu, .fe-etat.ecrit { background: #3a1530; border-color: #3a1530; color: #ffb3d6; }
.fe-etat.ajour { color: var(--muted, #9d96b8); border-color: rgba(255,255,255,.08); font-weight: 700; }
/* Lot 454 : l'équipe parle entre elle, rien à répondre (gris bleuté, sans le rose de « À répondre »). */
.fe-etat.discussion { background: #18233a; border-color: #18233a; color: #a9c4ff; font-weight: 700; }
.fe-appel { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: #3a1530; color: #ffb3d6; font-size: 11.5px; font-weight: 800; }
.fe-fil { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.fe-entete { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.fe-entete > div { flex: 1 1 260px; min-width: 0; }
.fe-entete h3 { margin: 0; font-size: 18px; }
.fe-entete p { margin: 2px 0 0; }
.fe-msgs { display: flex; flex-direction: column; gap: 12px; max-height: 60vh; overflow: auto; padding: 4px 2px; }
.fe-msg { display: flex; flex-direction: column; gap: 3px; }
.fe-msg.bot .fe-corps { padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.04); color: var(--body, #c9c3dd); font-size: 13.5px; }
.fe-tete { font-size: 13px; }
.fe-corps { font-size: 14.5px; line-height: 1.5; overflow-wrap: anywhere; }
.fe-role { font-size: 11.5px; color: #9fd0ff; }
.fe-role.staff { color: #8ff0bd; }
.fe-piece { font-size: 12.5px; color: var(--muted, #9d96b8); }
.fe-sep { display: flex; align-items: center; gap: 10px; color: #ff8cc2; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.fe-sep::before, .fe-sep::after { content: ''; flex: 1; height: 1px; background: rgba(255,47,146,.35); }
.fe-repondre { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08); }
.fe-repondre label { font-size: 13px; font-weight: 700; }
.fe-repondre textarea { box-sizing: border-box; width: 100%; min-height: 84px; resize: vertical; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.16); background: rgba(0,0,0,.25); color: var(--text, #f4f2fb); font: inherit; font-size: 14px; }
.fe-repondre textarea:focus-visible { outline: 2px solid var(--cyan, #7fe3ff); outline-offset: 1px; }
.fe-bas { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fe-bas .fe-gris { flex: 1 1 240px; }
.fe-bas .lg-bt { min-height: 40px; }
/* Lot 446 : les autres divisions (une à la fois) et la question au staff en tête du fil. */
.fe-autres { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); }
.fe-autres h3 { margin: 0; font-size: 16px; }
.fe-divs { display: flex; gap: 6px; flex-wrap: wrap; }
.fe-div { font: inherit; font-size: 13px; font-weight: 700; min-height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); background: none; color: var(--body, #c9c3dd); cursor: pointer; }
.fe-div.on { border-color: var(--cyan, #7fe3ff); background: rgba(127,227,255,.12); color: #b8f0ff; font-weight: 800; }
.fe-div:focus-visible { outline: 2px solid var(--cyan, #7fe3ff); outline-offset: 2px; }
.fe-qui { margin: 0; font-size: 13.5px; color: var(--body, #c9c3dd); }
.fe-to { color: #8ff0bd; }
.fe-q { color: #ffd27a; }
.fe-question { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: 14px; background: #241c0c; border: 1px solid #5a4416; }
.fe-question p { margin: 0; }
.fe-question label { font-size: 13px; font-weight: 700; color: #e8dcbc; }
.fe-question textarea { box-sizing: border-box; width: 100%; min-height: 64px; resize: vertical; padding: 10px 12px; border-radius: 10px; border: 1px solid #5a4416; background: #120e08; color: var(--text, #f4f2fb); font: inherit; font-size: 14px; }
.fe-question textarea:focus-visible { outline: 2px solid #ffd27a; outline-offset: 1px; }
.fe-question .fe-gris { color: #c9b88a; }
.fe-qbt { background: #ffd27a; border-color: #ffd27a; color: #1b1206; min-height: 40px; }
.fe-qbt:hover { color: #1b1206; border-color: #ffe3a6; }

/* ── La bulle d'aide « ? » (7 novembre 2026) : une explication discrète, au survol ou au toucher ── */
/* Lot 516 : un peu plus d'air entre le titre et la bulle (demande de Dimitri). */
.lg-bulle { position: relative; display: inline-block; vertical-align: middle; margin-left: 6px; }
.lg-bulle-i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--panel-border, rgba(255,255,255,.18));
  background: transparent; color: var(--muted); font: 700 .7rem/1 inherit; cursor: help; padding: 0; }
.lg-bulle-i:hover, .lg-bulle-i:focus-visible { color: var(--text); border-color: var(--muted); }
.lg-bulle-t { position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%); z-index: 20;
  width: max-content; max-width: min(320px, 80vw); padding: .55rem .7rem; border-radius: 10px;
  background: #1b1628; border: 1px solid var(--panel-border, rgba(255,255,255,.12)); box-shadow: 0 8px 24px rgba(0,0,0,.4);
  color: var(--text); font-size: .78rem; font-weight: 500; line-height: 1.4; text-transform: none; letter-spacing: 0;
  opacity: 0; visibility: hidden; transition: opacity .12s; pointer-events: none; }
.lg-bulle:hover .lg-bulle-t, .lg-bulle-i:focus + .lg-bulle-t { opacity: 1; visibility: visible; }
@media (max-width: 560px) { .lg-bulle-t { left: 0; transform: none; } }

/* Lot 587 : les clips de la Ligue, sous les replays (onglet Diffusion). */
.lg-clips { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.lg-clips .ci-zone { display: flex; flex-direction: column; gap: 12px; }
