/* ══════════ Tournois (premier lot, 8 octobre 2026) ══════════
   Pages tournois.html, tournoi.html et rejoindre-tournoi.html, réservées aux
   super-admins tant que le chantier n'est pas ouvert. Les couleurs viennent
   des variables de /css/style.css. */
.tn-apercu { display: flex; align-items: center; gap: 10px; padding: 9px 13px; margin: 0 0 20px; border-radius: 11px;
  background: rgba(255,225,77,.07); border: 1px solid rgba(255,225,77,.35); color: var(--body); font-size: 12.5px; }
.tn-apercu b { color: var(--yellow); font-size: 10.5px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }

.tn-tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.tn-tete h1 { margin: 0; }
.tn-bt { display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px; border-radius: 10px; border: 0; cursor: pointer;
  font: inherit; font-size: 13px; font-weight: 800; text-decoration: none; color: #0d0a14;
  background: linear-gradient(90deg, var(--accent), var(--yellow)); }
.tn-bt:hover { filter: brightness(1.08); color: #0d0a14; }
.tn-bt:disabled { opacity: .5; cursor: not-allowed; filter: none; }
.tn-bt.second { background: rgba(255,255,255,.08); color: var(--text); border: 1px solid rgba(255,255,255,.16); }
.tn-bt.second:hover { background: rgba(255,255,255,.14); color: var(--text); }
.tn-bt.danger { background: rgba(255,92,92,.12); color: #ff8f8f; border: 1px solid rgba(255,92,92,.35); }

/* Pastille de statut */
.tn-st { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.tn-st.brouillon { background: rgba(255,255,255,.07); color: var(--muted); }
.tn-st.inscriptions { background: rgba(18,224,224,.13); color: var(--cyan); }
.tn-st.ferme { background: rgba(157,140,255,.15); color: #b6a9ff; }
.tn-st.en_cours { background: rgba(229,48,74,.16); color: #ff8a99; }
.tn-st.termine { background: rgba(47,232,138,.13); color: #2fe88a; }
.tn-st.annule { background: rgba(255,255,255,.05); color: var(--muted); text-decoration: line-through; }

/* Liste */
.tn-filtres { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 16px; }
.tn-filtres button { font: inherit; font-size: 12.5px; font-weight: 800; padding: 6px 13px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--surface2); background: var(--surface); color: var(--body); }
.tn-filtres button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.tn-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.tn-carte { display: flex; flex-direction: column; gap: 9px; padding: 15px 16px; border-radius: 14px; text-decoration: none; color: var(--text);
  background: var(--surface); border: 1px solid var(--surface2); }
.tn-carte:hover { border-color: rgba(255,255,255,.24); color: var(--text); }
.tn-carte h3 { margin: 0; font-size: 16px; font-weight: 800; }
.tn-carte .quand { color: var(--cyan); font-size: 12.5px; font-weight: 800; }
.tn-carte .ligne { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: 12.5px; }
.tn-jauge { height: 5px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.tn-jauge i { display: block; height: 100%; background: var(--cyan); border-radius: inherit; }
.tn-vide { padding: 40px 16px; text-align: center; color: var(--muted); font-size: 14px; border: 1px dashed rgba(255,255,255,.14); border-radius: 14px; }

/* Assistant de création */
.tn-etapes { display: flex; gap: 6px; margin: 0 0 18px; flex-wrap: wrap; }
.tn-etapes button { flex: 1 1 140px; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 11px; cursor: pointer;
  font: inherit; font-size: 12.5px; font-weight: 800; text-align: left; color: var(--muted);
  background: var(--surface); border: 1px solid var(--surface2); }
.tn-etapes button i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font-size: 11px; background: rgba(255,255,255,.07); color: var(--muted); }
.tn-etapes button[aria-current="step"] { color: var(--text); border-color: var(--accent); }
.tn-etapes button[aria-current="step"] i { background: var(--accent); color: #fff; }
.tn-etapes button.fait i { background: rgba(47,232,138,.2); color: #2fe88a; }
.tn-panneau { background: var(--surface); border: 1px solid var(--surface2); border-radius: 16px; padding: 20px; }
.tn-panneau h2 { margin: 0 0 4px; font-size: 18px; }
.tn-panneau > p.aide { margin: 0 0 16px; color: var(--muted); font-size: 13px; }
.tn-champs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.tn-champ { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tn-champ.large { grid-column: 1 / -1; }
.tn-champ label { font-size: 12px; font-weight: 800; color: var(--body); }
.tn-champ small { color: var(--muted); font-size: 11.5px; }
.tn-champ input, .tn-champ select, .tn-champ textarea {
  width: 100%; box-sizing: border-box; background: rgba(13,10,20,.6); color: var(--text); border: 1px solid var(--surface2);
  border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 13.5px; color-scheme: dark; }
.tn-champ textarea { min-height: 90px; resize: vertical; line-height: 1.5; }
.tn-champ input:focus, .tn-champ select:focus, .tn-champ textarea:focus { outline: none; border-color: var(--accent); }
.tn-champ .err { color: #ff8f8f; font-size: 12px; font-weight: 700; }
.tn-champ.erreur input, .tn-champ.erreur select, .tn-champ.erreur textarea { border-color: rgba(255,92,92,.6); }
.tn-pied { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.tn-msg { margin-top: 12px; font-size: 13px; font-weight: 700; }
.tn-msg.ko { color: #ff8f8f; } .tn-msg.ok { color: #2fe88a; }
/* Lot 416 : la bande « Check-in fermé à … » du Pilotage (fin du check-in des capitaines passée). */
.tn-msg.pi-ci-ferme { margin: 0 0 12px; padding: 9px 12px; border-radius: 10px; border: 1px solid rgba(255,225,77,.45); background: rgba(255,225,77,.06); color: var(--body); }
.tn-msg.pi-ci-ferme b { color: var(--yellow); }

/* Phases */
.tn-phase { border: 1px solid var(--surface2); border-radius: 13px; padding: 14px; margin-bottom: 12px; background: rgba(13,10,20,.35); }
.tn-phase-tete { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.tn-phase-tete b { font-size: 14px; }
.tn-phase-tete .num { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: rgba(157,140,255,.16); color: #b6a9ff; font-size: 12px; font-weight: 900; }
.tn-phase-tete button { margin-left: auto; background: none; border: 0; color: #ff8f8f; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.tn-fleche { text-align: center; color: var(--muted); font-size: 12px; margin: -4px 0 8px; }

/* Aperçu */
.tn-recap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 4px 0 14px; }
.tn-recap div { background: rgba(13,10,20,.45); border: 1px solid var(--surface2); border-radius: 12px; padding: 11px 13px; }
.tn-recap b { display: block; font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.tn-recap span { color: var(--muted); font-size: 12px; }
.tn-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.tn-table th, .tn-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.tn-table th { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.tn-table td.n, .tn-table th.n { text-align: right; font-variant-numeric: tabular-nums; }
.tn-note { color: var(--muted); font-size: 12px; margin-top: 10px; }
.tn-bloc p.tn-note { white-space: normal; }

/* Page d'un tournoi */
.tn-hero { background: linear-gradient(180deg, rgba(255,47,146,.10), rgba(255,47,146,.02)), var(--surface);
  border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 18px 20px; margin-bottom: 18px; }
.tn-hero h1 { margin: 6px 0 6px; font-size: clamp(24px, 4vw, 32px); }
.tn-hero .infos { display: flex; gap: 6px 16px; flex-wrap: wrap; color: var(--body); font-size: 13px; }
.tn-hero .infos b { color: var(--text); }
.tn-hero .actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.tn-onglets { display: flex; gap: .25rem; border-bottom: 1px solid var(--line); margin: 0 0 18px; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; }
/* overflow-y caché : sans lui, la marge négative des onglets (-1px, pour poser
   le soulignement sur la ligne) faisait apparaître une barre verticale sous Windows. */
.tn-onglets button { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap;
  color: var(--muted); font: inherit; font-weight: 700; font-size: .92rem; padding: .6rem .9rem; cursor: pointer; }
.tn-onglets button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); }
.tn-cols { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; align-items: start; }
/* Une seule colonne, blocs empilés (Placement : le classement, puis l'aperçu en dessous). */
.tn-pile { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.tn-bloc { background: var(--surface); border: 1px solid var(--surface2); border-radius: 14px; padding: 16px; margin-bottom: 14px; }
.tn-bloc h2 { margin: 0 0 10px; font-size: 15px; }
.tn-bloc p { margin: 0 0 8px; color: var(--body); font-size: 13.5px; line-height: 1.55; white-space: pre-wrap; }
.tn-def { display: grid; grid-template-columns: auto 1fr; gap: 7px 14px; font-size: 13px; }
.tn-def dt { color: var(--muted); } .tn-def dd { margin: 0; color: var(--text); font-weight: 700; }
.tn-equipes { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.tn-eq { background: rgba(13,10,20,.45); border: 1px solid var(--surface2); border-radius: 12px; padding: 12px 13px; }
.tn-eq.moi { box-shadow: 0 0 0 2px var(--yellow); }
.tn-eq h3 { margin: 0 0 8px; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.tn-eq h3 .tag { font-size: 10.5px; font-weight: 900; padding: 1px 6px; border-radius: 5px; background: rgba(157,140,255,.16); color: #b6a9ff; }
.tn-membres { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; }
.tn-membres li { display: flex; align-items: center; gap: 7px; }
.tn-membres .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tn-membres .role { font-size: 10px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.tn-membres .ni { white-space: nowrap; font-size: 10px; font-weight: 800; padding: 1px 5px; border-radius: 4px; background: rgba(229,48,74,.15); color: #ff8a99; }
.tn-membres .ni.non { background: rgba(255,255,255,.06); color: var(--muted); }
.tn-membres .vide { color: var(--muted); font-style: italic; }
.tn-lien { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.tn-lien input { flex: 1; min-width: 0; background: rgba(13,10,20,.6); color: var(--text); border: 1px solid var(--surface2); border-radius: 9px; padding: 8px 10px; font: inherit; font-size: 12.5px; }
.tn-phases-vue { display: flex; flex-direction: column; gap: 8px; }
.tn-phases-vue .ph { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 11px; background: rgba(13,10,20,.45); border: 1px solid var(--surface2); font-size: 13px; }
.tn-phases-vue .ph small { color: var(--muted); margin-left: auto; text-align: right; }

@media (max-width: 760px) {
  .tn-champs { grid-template-columns: 1fr; }
  /* minmax(0, 1fr) et non 1fr : une table large (dans son conteneur overflow-x) ne doit pas élargir la colonne, donc la page. */
  .tn-cols { grid-template-columns: minmax(0, 1fr); }
  .tn-recap { grid-template-columns: 1fr 1fr; }
}

/* ══════════ Deuxième lot (8 octobre 2026) : format, placement, maps, séries, Discord ══════════ */
.tn-bt.petit { padding: 6px 11px; font-size: 12px; }
.tn-badge { display: inline-block; font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: rgba(18,224,224,.12); color: var(--cyan); vertical-align: 2px; }
.tn-badge.jaune { background: rgba(255,225,77,.14); color: var(--yellow); }
.tn-badge.vert { background: rgba(47,232,138,.13); color: #2fe88a; }
.tn-bloc-tete { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.tn-bloc-tete h2 { margin: 0; }
.tn-bloc-tete .act { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.tn-bloc h3 { margin: 12px 0 6px; font-size: 13px; }
.tn-fil { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 10px; font-size: 12.5px; color: var(--muted); }
.tn-fil a { color: var(--cyan); font-weight: 700; text-decoration: none; }
.med { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 11px; font-weight: 900; color: #0d0a14; flex: none; }
.med.or { background: #ffd34d; } .med.ar { background: #cfd6e4; } .med.br { background: #d9965b; }

/* Éditeur de format */
.fe-phase, .fe-tb { border: 1px solid var(--surface2); border-radius: 12px; padding: 12px; margin-bottom: 10px; background: rgba(13,10,20,.35); }
.fe-tb { background: rgba(13,10,20,.45); margin-bottom: 8px; }
.fe-t { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.fe-t > span:not(.med) { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: rgba(157,140,255,.16); color: #b6a9ff; font-size: 11px; font-weight: 900; }
.fe-t b { font-size: 13.5px; }
.fe-t button { margin-left: auto; background: none; border: 0; color: #ff8f8f; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.fe-nom { background: transparent; border: 1px solid transparent; border-radius: 7px; color: var(--text); font: inherit; font-size: 13.5px; font-weight: 800; padding: 3px 6px; width: 140px; }
.fe-nom:hover, .fe-nom:focus { border-color: var(--surface2); outline: none; }
.fe-l { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.fe-champ label { display: block; font-size: 11.5px; font-weight: 800; color: var(--body); margin-bottom: 5px; }
.fe-champ select { width: 100%; background: rgba(13,10,20,.6); color: var(--text); border: 1px solid var(--surface2); border-radius: 9px; padding: 8px 10px; font: inherit; font-size: 13px; color-scheme: dark; }
.fe-repart { border: 1px dashed rgba(157,140,255,.45); border-radius: 13px; padding: 12px; margin: 0 0 10px; background: rgba(157,140,255,.05); }
.fe-repart h4 { margin: 0 0 4px; font-size: 13.5px; } .fe-repart > p { margin: 0 0 10px; color: var(--muted); font-size: 12.5px; }
.fe-rangs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 9px; align-items: center; font-size: 12px; color: var(--muted); }
.fe-rangs .c { font: inherit; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--surface2); color: var(--muted); background: transparent; cursor: pointer; }
.fe-rangs .c.on { background: rgba(18,224,224,.14); border-color: rgba(18,224,224,.5); color: var(--cyan); }
.fe-rangs .c.pris { opacity: .4; text-decoration: line-through; }
.fe-lien { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; font-size: 12px; text-decoration: underline; cursor: pointer; }

/* BO par tour (compté depuis la finale) */
.fe-bo { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.fe-bo .fe-champ { min-width: 150px; flex: 0 1 200px; }
.fe-coche { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800; color: var(--body); padding-bottom: 9px; cursor: pointer; }
.fe-coche input { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; }
.fe-tours { margin-top: 10px; border: 1px solid var(--surface2); border-radius: 11px; overflow: hidden; }
.fe-tours .r { display: grid; grid-template-columns: minmax(0, 1fr) 110px 110px; align-items: center; gap: 10px; padding: 7px 12px; border-bottom: 1px solid var(--line); font-size: 13px; }
.fe-tours .r:last-child { border-bottom: 0; }
.fe-tours .r.t { background: rgba(255,255,255,.03); font-size: 10.5px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.fe-tours .r b { display: block; } .fe-tours .r small { color: var(--muted); font-size: 11.5px; }
.fe-tours select { width: 100%; background: rgba(13,10,20,.6); color: var(--text); border: 1px solid var(--surface2); border-radius: 8px; padding: 6px 8px; font: inherit; font-size: 12.5px; color-scheme: dark; }
.fe-tours .r.off { opacity: .45; }
.fe-tours .r.sep { background: rgba(157,140,255,.06); color: #b6a9ff; font-size: 10.5px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; padding-block: 5px; }
.fe-detail { margin-top: 8px; padding: 8px 11px; border-radius: 10px; background: rgba(18,224,224,.06); border: 1px solid rgba(18,224,224,.22); font-size: 12.5px; color: var(--body); line-height: 1.6; }
.fe-detail b { color: var(--text); } .fe-detail i { font-style: normal; color: var(--cyan); font-weight: 800; }
/* Sous-rubriques (Fonctionnement d'une série) */
.tn-sous { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 16px; }
.tn-sous button { font: inherit; font-size: 12.5px; font-weight: 800; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--surface2); background: var(--surface); color: var(--body); cursor: pointer; }
.tn-sous button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Aperçu du placement */
.ap-barre { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; font-size: 12.5px; color: var(--muted); }
.ap-barre b { color: var(--text); } .ap-barre a { color: var(--cyan); font-weight: 700; margin-left: auto; text-decoration: none; }
.ap-t { display: flex; align-items: center; gap: 7px; font-size: 13px; margin: 12px 0 8px; }
.ap-grp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ap-grp div { background: rgba(13,10,20,.45); border: 1px solid var(--surface2); border-radius: 11px; padding: 10px 12px; font-size: 12.5px; min-width: 0; }
.ap-grp b { display: block; margin-bottom: 6px; color: #b6a9ff; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.ap-grp span { display: flex; gap: 7px; padding: 2px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-grp i, .ap-br i { font-style: normal; color: var(--muted); min-width: 18px; text-align: right; font-variant-numeric: tabular-nums; }
.ap-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ap-br { display: flex; flex-direction: column; gap: 6px; }
.ap-br > div { display: flex; justify-content: space-between; gap: 8px; background: rgba(13,10,20,.45); border: 1px solid var(--surface2); border-radius: 10px; padding: 7px 11px; font-size: 12.5px; min-width: 0; }
.ap-br > div span { display: flex; gap: 6px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-br > div.ex { opacity: .6; }
.ap-br > div.moitie { background: none; border: 0; padding: 4px 2px 0; color: #b6a9ff; font-size: 10.5px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

/* Placement */
.sd-liste { display: flex; flex-direction: column; gap: 6px; }
.sd-l { display: grid; grid-template-columns: 30px minmax(0, 1fr) 64px 92px 62px; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 11px;
  background: rgba(13,10,20,.45); border: 1px solid var(--surface2); font-size: 13.5px; }
.sd-l.bouge { border-color: var(--cyan); background: rgba(18,224,224,.06); }
.sd-l .seed { font-size: 16px; font-weight: 900; font-variant-numeric: tabular-nums; text-align: center; }
.sd-l .eq { min-width: 0; } .sd-l .eq b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .sd-l .eq small { color: var(--muted); font-size: 11.5px; }
.sd-l .note { font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; }
.sd-l .src { font-size: 10.5px; font-weight: 800; padding: 2px 7px; border-radius: 999px; justify-self: start; white-space: nowrap; }
.src.elo { background: rgba(47,232,138,.13); color: #2fe88a; } .src.division { background: rgba(157,140,255,.15); color: #b6a9ff; }
.src.partiel { background: rgba(255,225,77,.13); color: var(--yellow); } .src.aucune { background: rgba(255,255,255,.07); color: var(--muted); }
.sd-l .fl { display: flex; gap: 4px; justify-content: flex-end; }
.sd-l .fl button { width: 26px; height: 26px; border-radius: 7px; border: 1px solid var(--surface2); background: var(--surface); color: var(--body); cursor: pointer; font: inherit; }
.sd-l .fl button:disabled { opacity: .3; cursor: default; }

/* Maps et modes */
.mm-barre { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; font-size: 12.5px; color: var(--muted); }
.mm-barre .sp { margin-left: auto; } .mm-barre b { color: var(--text); }
.mm-md { display: flex; align-items: center; gap: 7px; padding: 6px 11px 6px 7px; border-radius: 999px; border: 1px solid var(--surface2); background: transparent;
  font: inherit; font-size: 12.5px; font-weight: 800; color: var(--muted); cursor: pointer; }
.mm-md img { width: 22px; height: 22px; } .mm-md.on { border-color: rgba(18,224,224,.5); background: rgba(18,224,224,.1); color: var(--text); }
.mm-pool { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 8px; }
.mm-st { position: relative; border-radius: 10px; overflow: hidden; border: 2px solid transparent; aspect-ratio: 16/9; background: #000; padding: 0; cursor: pointer; display: block; max-width: 100%; }
.mm-st img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mm-st span { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 6px 4px; font-size: 10.5px; font-weight: 800; color: #fff; text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.mm-st.on { border-color: var(--cyan); } .mm-st.off { opacity: .3; filter: grayscale(1); }
.mm-st.on::after { content: '✓'; position: absolute; top: 4px; right: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--cyan); color: #0d0a14; font-size: 11px; font-weight: 900; display: grid; place-items: center; }
.mm-phs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 12px; }
.mm-phs button { font: inherit; font-size: 12.5px; font-weight: 800; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--surface2); background: var(--surface); color: var(--body); cursor: pointer; }
.mm-phs button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.mm-meth { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; margin-bottom: 12px; }
/* .mm-modes et .mm-mt (ancien éditeur) retirées le 14 octobre 2026 : plus aucune page
   ne s'en servait, et les écrans Maps et modes de la page Statistiques (stats-modules.css)
   ont des classes du même nom qu'elles venaient déformer (bordure, fond, curseur). */
.mm-reg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 4px; }
.mm-reg label { display: block; font-size: 11.5px; font-weight: 800; color: var(--body); margin-bottom: 5px; }
.mm-reg select, .mm-prog textarea { width: 100%; box-sizing: border-box; background: rgba(13,10,20,.6); color: var(--text); border: 1px solid var(--surface2); border-radius: 9px; padding: 8px 10px; font: inherit; font-size: 13px; color-scheme: dark; }
.mm-prog textarea { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; line-height: 1.5; resize: vertical; }
.mm-prog h3 { font-size: 11.5px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: #b6a9ff; margin: 14px 0 6px; }
.mm-mch { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.mm-mch .n { width: 30px; color: var(--muted); font-weight: 800; font-size: 11px; } .mm-mch img { width: 20px; height: 20px; }
.mm-mch small { margin-left: auto; color: var(--muted); text-align: right; }

/* Maps et modes, deuxième version (méthode, maps par mode, programme généré, réglages) */
.mm2-parphase { display: flex; flex-direction: column; gap: 8px; }
.mm2-parphase .pp { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--surface2); background: rgba(13,10,20,.45); font-size: 13px; }
.mm2-parphase .pp b { display: flex; align-items: center; gap: 7px; }
.mm2-parphase .num { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: rgba(157,140,255,.16); color: #b6a9ff; font-size: 11px; font-weight: 900; }
.mm2-parphase select, .mm2-gl select, .mm2-regs select, .mm2-ajout, .mm2-tour select { width: 100%; background: rgba(13,10,20,.6); color: var(--text); border: 1px solid var(--surface2); border-radius: 9px; padding: 8px 10px; font: inherit; font-size: 13px; color-scheme: dark; }
.mm2-presets { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin: 0 0 12px; font-size: 12px; color: var(--muted); }
.mm2-mx-boite { overflow: auto; max-height: 620px; border: 1px solid var(--surface2); border-radius: 12px; }
.mm2-mx { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 12.5px; }
.mm2-mx th { position: sticky; top: 0; background: var(--surface); z-index: 1; padding: 8px 6px; border-bottom: 1px solid var(--line); font-size: 11.5px; color: var(--body); text-align: center; }
.mm2-mx th.g { text-align: left; padding-left: 12px; }
.mm2-mx th .md { display: flex; flex-direction: column; align-items: center; gap: 3px; } .mm2-mx th img { width: 26px; height: 26px; }
.mm2-mx th small { color: var(--muted); font-weight: 700; }
.mm2-mx th .tout { background: none; border: 0; font: inherit; font-size: 10.5px; color: var(--cyan); font-weight: 800; cursor: pointer; padding: 0; }
.mm2-mx td { padding: 5px 6px; border-bottom: 1px solid var(--line); text-align: center; }
.mm2-mx tr:last-child td { border-bottom: 0; }
.mm2-mx td.mp { text-align: left; padding-left: 12px; } .mm2-mx td.mp div { display: flex; align-items: center; gap: 9px; }
.mm2-mx td.mp img { width: 58px; height: 32px; object-fit: cover; border-radius: 6px; flex: none; }
.mm2-mx td.mp b { font-weight: 700; } .mm2-mx td.mp small { display: block; color: var(--muted); font-size: 11px; }
.mm2-mx tr.off td.mp { opacity: .45; }
.cb { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--surface2); display: inline-grid; place-items: center; font: inherit; font-weight: 900; color: transparent; background: rgba(13,10,20,.5); cursor: pointer; padding: 0; }
.cb.on { background: rgba(18,224,224,.16); border-color: rgba(18,224,224,.55); color: var(--cyan); }
.cb.on.lig { background: rgba(157,140,255,.15); border-color: rgba(157,140,255,.45); color: #b6a9ff; }
.mm2-leg { display: flex; gap: 12px; flex-wrap: wrap; font-size: 11.5px; color: var(--muted); margin-top: 10px; align-items: center; }
.mm2-leg .cb { width: 20px; height: 20px; border-radius: 6px; font-size: 10px; cursor: default; }
.mm2-gl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 10px; }
.mm2-gl label, .mm2-regs label { display: block; font-size: 11.5px; font-weight: 800; color: var(--body); margin-bottom: 5px; }
.mm2-ordre { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.mm2-ordre .mo { display: flex; align-items: center; gap: 5px; padding: 5px 6px 5px 6px; border-radius: 999px; border: 1px solid rgba(18,224,224,.45); background: rgba(18,224,224,.08); font-size: 12.5px; font-weight: 800; }
.mm2-ordre .mo img { width: 20px; height: 20px; } .mm2-ordre .mo small { color: var(--muted); font-weight: 800; }
.mm2-ordre .mo button { background: none; border: 0; color: var(--muted); font: inherit; font-weight: 900; cursor: pointer; padding: 0 2px; }
.mm2-ordre .mo button:disabled { opacity: .3; cursor: default; }
.mm2-ajout { width: auto !important; padding: 5px 8px !important; font-size: 12px !important; }
.mm2-regles { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 12px; }
.mm2-regles label { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--body); cursor: pointer; }
.mm2-regles input { accent-color: var(--accent); width: 15px; height: 15px; margin: 0; }
.mm2-act { display: flex; gap: 8px; flex-wrap: wrap; }
.mm2-bilan { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; }
.mm2-bilan span { font-size: 11.5px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: rgba(47,232,138,.12); color: #2fe88a; }
.mm2-bilan span.j { background: rgba(255,225,77,.13); color: var(--yellow); } .mm2-bilan span.ko { background: rgba(255,138,153,.14); color: #ff8a99; }
.mm2-tour { border: 1px solid var(--surface2); border-radius: 12px; overflow: hidden; margin-bottom: 10px; }
.mm2-tour h4 { margin: 0; padding: 8px 12px; background: rgba(157,140,255,.07); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: #b6a9ff; display: flex; align-items: center; gap: 8px; }
.mm2-tour h4 small { margin-left: auto; text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 700; }
.mm2-tour h4 button { font: inherit; font-size: 11px; font-weight: 800; text-transform: none; letter-spacing: 0; background: none; border: 1px solid var(--surface2); color: var(--body); border-radius: 7px; padding: 2px 8px; cursor: pointer; }
.mm2-tour .l { display: grid; grid-template-columns: 30px 22px 120px minmax(0, 1fr) 30px; gap: 8px; align-items: center; padding: 6px 12px; border-top: 1px solid var(--line); font-size: 12.5px; }
.mm2-tour .l.modif { background: rgba(255,225,77,.04); }
.mm2-tour .l .n { font-weight: 900; color: var(--muted); font-size: 11.5px; } .mm2-tour .l img.mo { width: 22px; height: 22px; }
.mm2-tour .l select { padding: 6px 8px; font-size: 12.5px; }
/* Tableau qui joue les manches d'un autre (Silver comme la Gold) : lecture seule, plus discret. */
.mm2-tour.copie { opacity: .78; border-style: dashed; }
.mm2-tour .l.copie { grid-template-columns: 30px 22px 120px minmax(0, 1fr); }
.mm2-tour .l.copie .mode { font-weight: 700; color: var(--body); }
.choixmap { display: flex; align-items: center; gap: 9px; padding: 3px 8px 3px 3px; border: 1px solid var(--surface2); border-radius: 9px; background: rgba(13,10,20,.6); min-width: 0; font: inherit; font-size: 12.5px; color: var(--text); cursor: pointer; text-align: left; }
.choixmap img { width: 54px; height: 30px; object-fit: cover; border-radius: 6px; flex: none; }
.choixmap span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.choixmap em.modif { margin-left: auto; font-style: normal; color: var(--yellow); font-size: 11px; font-weight: 800; white-space: nowrap; }
.choixmap.vide { color: var(--muted); justify-content: center; min-height: 38px; border-style: dashed; font-size: 12px; cursor: default; }
button.choixmap.vide { cursor: pointer; }
.cad { width: 28px; height: 28px; border-radius: 7px; border: 1px solid var(--surface2); display: grid; place-items: center; font-size: 12px; background: transparent; cursor: pointer; padding: 0; opacity: .55; }
.cad.on { border-color: var(--yellow); background: rgba(255,225,77,.08); opacity: 1; }
.picker { padding: 10px 12px; border-top: 1px solid var(--line); background: rgba(18,224,224,.04); }
.picker p { margin: 0 0 8px; font-size: 12px; color: var(--muted); white-space: normal; }
.mini { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; }
.mini button { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 16/9; border: 2px solid transparent; padding: 0; background: #000; cursor: pointer; max-width: 100%; }
.mini button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini button span { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 5px 3px; font-size: 9.5px; font-weight: 800; color: #fff; text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.mini button.on { border-color: var(--cyan); } .mini button.deja { opacity: .35; }
.mm2-texte { width: 100%; box-sizing: border-box; background: rgba(13,10,20,.6); color: var(--text); border: 1px solid var(--surface2); border-radius: 10px; padding: 10px 12px;
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; line-height: 1.55; resize: vertical; color-scheme: dark; }
.mm2-regs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

/* Maps et modes, refonte du 13 octobre 2026 : des sections empilées, une seule ouverte. */
.mm3 { display: flex; flex-direction: column; gap: 10px; }
.mm3-sec { background: var(--surface); border: 1px solid var(--surface2); border-radius: 14px; }
.mm3-sec.ouverte { border-color: rgba(255,47,146,.45); }
.mm3-sec .tete { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; }
.mm3-sec .tete .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 900; background: rgba(255,255,255,.07); color: var(--body); }
.mm3-sec.faite .tete .n { background: rgba(47,232,138,.16); color: #2fe88a; }
.mm3-sec.ouverte .tete .n { background: var(--accent); color: #fff; }
.mm3-sec .tt { min-width: 0; } .mm3-sec .tt b { display: block; font-size: 15px; color: var(--text); }
.mm3-sec .tt small { display: block; color: var(--muted); font-size: 12.5px; }
.mm3-sec .tete .act { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.mm3-sec .corps { padding: 2px 16px 16px 54px; display: flex; flex-direction: column; gap: 12px; }
.mm3-q { margin: 0; color: var(--body); font-size: 13px; }
.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-chip.serie { background: rgba(18,224,224,.1); color: var(--cyan); }
.mm3-lien { align-self: flex-start; background: none; border: 0; padding: 0; font: inherit; font-size: 12.5px; font-weight: 800; color: var(--cyan); cursor: pointer; text-align: left; }
.mm3-lien:hover { text-decoration: underline; }
.mm3-suite { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.mm3-suite small { color: var(--muted); font-size: 12.5px; }
.mm3-radios { display: flex; flex-direction: column; gap: 6px; }
.mm3-radio { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; padding: 9px 12px; border: 1px solid var(--surface2); border-radius: 10px;
  background: rgba(13,10,20,.45); font: inherit; color: var(--body); text-align: left; cursor: pointer; }
.mm3-radio i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #4a4360; margin-top: 2px; }
.mm3-radio b { display: block; font-size: 13.5px; color: var(--text); } .mm3-radio span span { display: block; font-size: 12.5px; color: var(--muted); }
.mm3-radio.on { border-color: rgba(255,47,146,.55); background: rgba(255,47,146,.07); }
.mm3-radio.on i { border-color: var(--accent); background: radial-gradient(var(--accent) 45%, transparent 50%); }
.mm3-radio:disabled { cursor: default; }
.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; }
.mm3-mode b { font-size: 13px; color: var(--text); } .mm3-mode small { color: var(--muted); font-size: 12px; }
.mm3-mode .bas { display: flex; justify-content: space-between; align-items: center; gap: 6px 8px; flex-wrap: wrap; margin-top: 2px; }
.mm3-pool { border: 1px solid rgba(18,224,224,.35); border-radius: 12px; padding: 12px; background: rgba(18,224,224,.03); display: flex; flex-direction: column; gap: 10px; }
.mm3-pool .h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; } .mm3-pool .h img { width: 22px; height: 22px; }
.mm3-pool .h small { color: var(--muted); font-weight: 700; } .mm3-pool .h .mm3-lien { margin-left: auto; }
.mm3-pool .tn-note { margin: 0; }
.mm3-pool .mm-st.off { opacity: .45; filter: grayscale(.8); } .mm3-pool .mm-st.lig { box-shadow: inset 0 0 0 2px rgba(157,140,255,.7); }
.mm3-pool .mm-st:disabled { cursor: default; }
/* Le tableau complet : pas de défilement dans le cadre, l'en-tête colle sous la barre du site. */
.mm3-mx { overflow: visible; max-height: none; }
.mm3-mx .mm2-mx th { top: var(--hauteur-nav, 65px); }
.mm3-vide { border: 1px dashed rgba(18,224,224,.45); border-radius: 12px; padding: 14px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: rgba(18,224,224,.04); }
.mm3-vide p { margin: 0; flex: 1 1 260px; color: var(--body); font-size: 13px; }
/* Lot 309 : le choix du match pour la 3e place, au-dessus du programme. */
.mm3-p3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 12px; padding: 10px 14px; border: 1px solid var(--panel-border, rgba(255,255,255,.1)); border-radius: 12px; font-size: 13.5px; }
.mm3-p3 label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.mm2-bilan { margin: 0; } .mm2-bilan span.n { background: rgba(255,255,255,.06); color: var(--body); }
.mm3-plie { align-self: flex-start; background: none; border: 1px dashed var(--surface2); border-radius: 9px; padding: 6px 11px; font: inherit; font-size: 12.5px; font-weight: 800; color: var(--body); cursor: pointer; }
.mm3-opts { border: 1px solid var(--surface2); border-radius: 12px; padding: 12px; background: rgba(13,10,20,.35); display: flex; flex-direction: column; gap: 10px; }
.mm3-opts .mm2-gl, .mm3-opts .mm2-ordre, .mm3-opts .mm2-regles { margin: 0; } .mm3-opts .tn-note { margin: 0; }
.mm3-prog { display: flex; flex-direction: column; gap: 8px; } .mm3-prog:empty { display: none; }
.mm3-tour { margin: 0; }
.mm3-tour .l { grid-template-columns: 30px 22px 170px minmax(0, 1fr) 30px; } .mm3-tour .l.copie { grid-template-columns: 30px 22px 170px minmax(0, 1fr); }
.mm3-tour .h { display: flex; align-items: center; gap: 8px; background: rgba(157,140,255,.07); }
.mm3-tour .h .ouvrir { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 4px 10px; flex-wrap: wrap; background: none; border: 0; padding: 8px 12px; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.mm3-tour .h .ouvrir b { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: #b6a9ff; }
.mm3-tour .h .ouvrir small { color: var(--muted); font-size: 12px; font-weight: 700; flex: 1; min-width: 0; }
.mm3-tour .h .fl { color: var(--muted); font-size: 11px; }
.mm3-tour .h .regen { margin-right: 10px; font: inherit; font-size: 11px; font-weight: 800; background: none; border: 1px solid var(--surface2); color: var(--body); border-radius: 7px; padding: 2px 8px; cursor: pointer; white-space: nowrap; }
.mm3-tour.ferme { border-style: solid; } .mm3-tour.ferme.copie { border-style: dashed; }
.mm3-liens { display: flex; gap: 6px 18px; flex-wrap: wrap; }
.mm3-barre { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; padding: 10px 14px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--surface2); font-size: 13px; color: var(--body); }
.mm3-barre.attente { border-color: rgba(255,225,77,.4); } .mm3-barre.attente b { color: var(--yellow); }
.mm3-barre.fige b { color: var(--muted); }
@media (max-width: 640px) {
  .mm3-sec .tete { grid-template-columns: 26px minmax(0, 1fr); }
  .mm3-sec .tete .act { grid-column: 1 / -1; justify-content: flex-start; }
  .mm3-sec .corps { padding-left: 14px; padding-right: 14px; }
  .mm3-mx { overflow-x: auto; }
  .mm3-mx .mm2-mx th { top: 0; }
}

/* Séries */
.sr-logo { display: inline-block; object-fit: cover; flex: none; vertical-align: middle; }
.sr-logo.vide { display: inline-grid; place-items: center; background: linear-gradient(135deg, var(--accent), #7b2bff); color: #fff; font-weight: 900; }
.sr-hero { display: flex; gap: 18px; align-items: center; }
.sr-hero p.pres { margin: 6px 0 0; color: var(--body); font-size: 13.5px; max-width: 62ch; line-height: 1.55; white-space: pre-wrap; }
.sr-reseaux { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
/* Les liens sont des boutons (tn-bt) depuis le 12 octobre 2026 : plus de pastilles propres à la série. */
.sr-carte { display: flex; gap: 12px; align-items: center; }
.sr-carte .t { min-width: 0; flex: 1; }
/* Le serveur Discord du tournoi (12 octobre 2026) : bouton de l'en-tête et carte du panneau Série. */
.tn-bt.tn-discord { background: #5865f2; color: #fff; }
.tn-bt.tn-discord:hover { color: #fff; filter: brightness(1.1); }
/* L'en-tête d'un tournoi et d'une série : le logo et la flèche, sans texte (14 octobre 2026). */
.tn-bt.tn-discord.compact { gap: 5px; padding-inline: 11px; }
.dc-ico { width: 18px; height: 14px; flex: none; }
.tn-bt.petit .dc-ico { width: 15px; height: 12px; }
/* Le Discord du tournoi dans le panneau Série (compact depuis le 12 octobre 2026, demande de Dimitri) :
   une ligne sous la série, le bouton et une courte phrase, sans redire le nom ni l'image du serveur. */
.dc-mini { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08); }
.dc-mini span { font-size: 12.5px; color: var(--muted); flex: 1 1 140px; min-width: 0; }
.dc-mini span.oblig { color: #ff9b3d; }
.tn-bloc .dc-oblig, .dc-oblig { margin: 8px 0 0; font-size: 12.5px; color: #ff9b3d; }
.sr-chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 14px; }
.sr-chiffres div { background: var(--surface); border: 1px solid var(--surface2); border-radius: 12px; padding: 10px 12px; }
.sr-chiffres b { display: block; font-size: 22px; font-variant-numeric: tabular-nums; }
.sr-chiffres span { font-size: 11.5px; color: var(--muted); font-weight: 700; }
.sr-copie { display: flex; flex-direction: column; gap: 8px; }
.sr-copie label { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--surface2); border-radius: 10px; font-size: 13px; color: var(--body); cursor: pointer; }
.sr-copie label b { display: block; color: var(--text); } .sr-copie input { margin-top: 3px; accent-color: var(--accent); }
.sr-logo-champ { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* Discord */
.dc-srv { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.dc-srv .ic { width: 46px; height: 46px; border-radius: 14px; flex: none; object-fit: cover; background: #2b2140; display: grid; place-items: center; font-weight: 900; color: var(--yellow); }
.dc-srv .t { flex: 1; min-width: 180px; } .dc-srv b { display: block; font-size: 15px; } .dc-srv small { color: var(--muted); font-size: 12px; }
.etat { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.etat.ok { background: rgba(47,232,138,.12); color: #2fe88a; } .etat.ko { background: rgba(255,138,153,.14); color: #ff8a99; } .etat.off { background: rgba(255,255,255,.06); color: var(--muted); }
.dc-reg { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 6px 14px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.dc-reg:last-of-type { border-bottom: 0; }
.dc-reg .lb { font-size: 13px; font-weight: 800; color: var(--text); padding-top: 8px; }
.dc-reg .lb small { display: block; color: var(--muted); font-weight: 600; font-size: 11.5px; margin-top: 2px; }
.dc-ligne { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.dc-ligne select { min-width: 200px; flex: 1; max-width: 320px; background: rgba(13,10,20,.6); color: var(--text); border: 1px solid var(--surface2); border-radius: 9px; padding: 8px 10px; font: inherit; font-size: 13px; color-scheme: dark; }
.dc-aide { font-size: 12px; color: var(--muted); margin: 6px 0 0; line-height: 1.5; } .dc-aide.ko { color: #ff8a99; }
.dc-evt { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.dc-evt:last-child { border-bottom: 0; }
.dc-evt .nm { flex: 1; min-width: 0; } .dc-evt .nm b { display: block; color: var(--text); } .dc-evt .nm small { color: var(--muted); }
.dc-ou { font-size: 11px; font-weight: 800; color: var(--body); background: rgba(255,255,255,.06); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.dc-bascule { appearance: none; width: 38px; height: 22px; border-radius: 999px; background: var(--surface2); position: relative; flex: none; cursor: pointer; margin: 0; }
.dc-bascule::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .15s; }
.dc-bascule:checked { background: var(--accent); } .dc-bascule:checked::after { left: 19px; }
.dc-bascule:disabled { opacity: .5; cursor: default; }
.dc-etapes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 4px 0 14px; }
.dc-etapes div { border: 1px solid var(--surface2); border-radius: 12px; padding: 12px; font-size: 12.5px; color: var(--body); }
.dc-etapes i { font-style: normal; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 900; font-size: 12px; margin-bottom: 6px; }
.dc-etapes b { display: block; color: var(--text); font-size: 13px; margin-bottom: 2px; }
.dc-perm { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--body); }
.dc-perm li::before { content: '✓'; color: #2fe88a; font-weight: 900; margin-right: 8px; }
.dc-perm.non li::before { content: '✕'; color: #ff8a99; }
.dc-chat { background: #1b1825; border: 1px solid var(--surface2); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 14px; }
.dc-chat .salon { font-size: 11.5px; font-weight: 800; color: var(--muted); }
.dc-msg { display: flex; gap: 10px; } .dc-msg .av { width: 34px; height: 34px; border-radius: 50%; flex: none; background: linear-gradient(135deg, #ff2f92, #12e0e0); display: grid; place-items: center; font-size: 12px; font-weight: 900; color: #0d0a14; }
.dc-msg .corps { min-width: 0; flex: 1; } .dc-msg .qui { font-size: 13px; font-weight: 800; color: var(--text); }
.dc-msg .qui span { font-size: 10px; font-weight: 900; background: #5865f2; color: #fff; padding: 1px 5px; border-radius: 4px; margin-left: 5px; vertical-align: 1px; }
.dc-msg p { margin: 3px 0 0; font-size: 13px; color: var(--body); line-height: 1.5; }
.dc-msg .mention { color: #c9cdfb; background: rgba(88,101,242,.3); padding: 0 3px; border-radius: 3px; font-weight: 700; }
.dc-embed { margin-top: 6px; border-left: 4px solid var(--accent); background: rgba(255,255,255,.04); border-radius: 6px; padding: 10px 12px; font-size: 12.5px; color: var(--body); }
.dc-embed b { display: block; color: var(--text); font-size: 14px; margin-bottom: 4px; }
.dc-embed dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; margin: 6px 0 0; } .dc-embed dt { color: var(--muted); font-weight: 800; } .dc-embed dd { margin: 0; }
.bientot { font-size: 10px; font-weight: 900; letter-spacing: .04em; color: var(--muted); background: rgba(255,255,255,.06); padding: 1px 6px; border-radius: 5px; margin-left: 6px; vertical-align: 1px; }

@media (max-width: 760px) {
  .fe-l, .mm-reg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fe-tours .r { grid-template-columns: minmax(0, 1fr) 84px 70px; gap: 6px; padding-inline: 9px; }
  .ap-duo, .ap-grp { grid-template-columns: minmax(0, 1fr); }
  .mm-pool { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
  .mm2-gl, .mm2-regs { grid-template-columns: minmax(0, 1fr); }
  .mm2-parphase .pp { grid-template-columns: minmax(0, 1fr); }
  .mm2-tour .l { grid-template-columns: 26px 20px minmax(0, 1fr) 28px; } .mm2-tour .l .choixmap { grid-column: 2 / 4; }
  .mm2-tour .l.copie { grid-template-columns: 26px 20px minmax(0, 1fr); }
  .mm2-mx td.mp img { display: none; } .cb { width: 26px; height: 26px; }
  .mm2-mx th .nm { display: none; } .mm2-mx th, .mm2-mx td { padding-inline: 3px; } .mm2-mx th .tout { font-size: 9.5px; }
  .sd-l { grid-template-columns: 26px minmax(0, 1fr) 54px 56px; }
  .sd-l .src { display: none; }
  .sr-hero { flex-direction: column; align-items: flex-start; }
  .sr-chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dc-reg { grid-template-columns: minmax(0, 1fr); } .dc-reg .lb { padding-top: 0; }
  .dc-etapes { grid-template-columns: minmax(0, 1fr); } .dc-ligne select { max-width: none; }
}

/* ══════════ Vue joueur (lot des équipes, étape 1) ══════════ */
.tn-hero-haut { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tn-bascule { display: inline-flex; margin-left: auto; border: 1px solid var(--surface2); border-radius: 999px; padding: 3px; background: rgba(13,10,20,.5); }
.tn-bascule button { font: inherit; font-size: 12px; font-weight: 800; border: 0; background: none; color: var(--muted); padding: 5px 12px; border-radius: 999px; cursor: pointer; }
/* Plus visible (13 octobre 2026, le bandeau « Vue joueur » a disparu) : le mode actif en couleur. */
.tn-bascule { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.06); }
.tn-bascule button { color: var(--body); }
.tn-bascule button:hover { color: var(--text); }
.tn-bascule button[aria-pressed="true"] { background: var(--accent); color: #fff; box-shadow: 0 0 0 1px rgba(255,47,146,.5), 0 2px 10px rgba(255,47,146,.25); }
.tn-bascule button[data-vue="joueur"][aria-pressed="true"] { background: var(--cyan); color: #0d0a14; box-shadow: 0 0 0 1px rgba(18,224,224,.5), 0 2px 10px rgba(18,224,224,.25); }
/* Lot 305 : la vue caster, en violet comme sur la Ligue (bouton de la bascule et son onglet « Casts »). */
.tn-bascule button[data-vue="caster"][aria-pressed="true"] { background: #a970ff; color: #fff; box-shadow: 0 0 0 1px rgba(169,112,255,.5), 0 2px 10px rgba(169,112,255,.25); }
.tn-onglets-caster button[aria-selected="true"] { border-bottom-color: #a970ff; }
/* Lot 305 : l'écran du Pilotage sous la barre de la Ligue (barre-pilotage.css), sur toute la largeur. */
.tn-pilotage { min-width: 0; }
.tn-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); }
.tn-vuejoueur b { color: var(--cyan); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }
.tn-vuejoueur span { flex: 1; min-width: 200px; }
/* Déroulé : une ligne par étape, reliées par un trait. */
.tn-deroule { display: flex; flex-direction: column; margin-top: 4px; }
.tn-deroule > div { display: grid; grid-template-columns: 74px 14px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 13px; padding: 0 0 12px; position: relative; }
.tn-deroule > div::before { content: ""; position: absolute; left: 90px; top: 14px; bottom: 0; width: 2px; background: var(--line); }
.tn-deroule > div:last-child::before { display: none; }
.tn-deroule time { font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.tn-deroule i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--surface2); margin-top: 3px; background: var(--surface); z-index: 1; }
.tn-deroule .passe { color: var(--muted); } .tn-deroule .passe time { color: var(--muted); }
.tn-deroule .passe i { border-color: #2fe88a; background: #2fe88a; }
.tn-deroule .prochain i { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(18,224,224,.15); }
.tn-deroule small { display: block; color: var(--muted); font-size: 12px; }
/* Le format en phrases. */
.tn-fmt { border: 1px solid var(--surface2); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; background: rgba(13,10,20,.35); }
.tn-fmt h3 { margin: 0 0 4px; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.tn-fmt p { margin: 0; font-size: 12.5px; color: var(--body); white-space: normal; }
.tn-fmt-tours { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.tn-fmt-tours span { font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--body); }
.tn-fmt-tours b { color: var(--yellow); }
/* Programme en lecture : « Gold seulement » sur les manches que la Silver ne joue pas. */
.mm2-tour.lecture .l.copie { position: relative; }
.mm2-tour .l em.seul { font-style: normal; font-size: 10.5px; font-weight: 800; color: #ffd34d; white-space: nowrap; }
.mm2-tour.lecture .l.copie:has(em.seul) { grid-template-columns: 30px 22px 120px minmax(0, 1fr) auto; }
@media (max-width: 640px) {
  .tn-bascule { margin-left: 0; }
  .tn-deroule > div { grid-template-columns: 60px 14px minmax(0, 1fr); }
  .tn-deroule > div::before { left: 76px; }
  .mm2-tour.lecture .l.copie:has(em.seul) { grid-template-columns: 26px 20px minmax(0, 1fr) auto; }
}
/* Présentation sur téléphone : les deux colonnes s'effacent (display: contents)
   pour que le bloc « Ton équipe » remonte en tête, avant la présentation. */
@media (max-width: 760px) {
  .tn-pres { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .tn-pres > div { display: contents; }
  .tn-pres .tn-moneq { order: -1; }
}

/* ══════════ Mon identité (lot des équipes, étape 2) ══════════ */
.tn-fil-texte { font-size: 12.5px; color: var(--muted); margin: 0 0 10px; } .tn-fil-texte b { color: var(--text); }
.id-cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 6px; }
.id-c { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; border: 1px solid var(--surface2); border-radius: 13px; padding: 12px 13px; background: rgba(13,10,20,.45); font-size: 12.5px; color: var(--body); min-width: 0; }
.id-c .k { font-size: 10.5px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.id-c b { color: var(--text); font-size: 14px; overflow-wrap: anywhere; }
.id-c small { color: var(--muted); font-size: 11.5px; }
.id-c .tn-bt { margin-top: 4px; }
.id-titre { margin: 18px 0 4px; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.id-liste { border: 1px solid var(--surface2); border-radius: 13px; overflow: hidden; }
.id-liste > div { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 12px; align-items: center; padding: 10px 12px; border-top: 1px solid var(--line); font-size: 13px; }
.id-liste > div:first-child { border-top: 0; }
.id-liste b { color: var(--text); } .id-liste small { display: block; color: var(--muted); font-size: 11.5px; }
.id-liste code { font-size: 11px; color: var(--muted); }
@media (max-width: 760px) {
  .id-cartes { grid-template-columns: minmax(0, 1fr); }
  .id-liste > div { grid-template-columns: minmax(0, 1fr) auto; }
}

/* ══════════ Mes équipes (lot des équipes, étape 3) ══════════ */
.eq-page { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 16px; align-items: start; }
.eq-liste { display: flex; flex-direction: column; gap: 6px; }
.eq-sep { font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 10px 2px 6px; }
.eq-sous { font-size: 12px; font-weight: 800; color: var(--body); margin: 10px 2px 6px; }
.eq-ch { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 13px; border: 1px solid var(--surface2); background: rgba(13,10,20,.45); font: inherit; color: var(--body); text-align: left; cursor: pointer; }
.eq-ch b { display: block; color: var(--text); font-size: 14px; } .eq-ch small { display: block; color: var(--muted); font-size: 12px; }
.eq-ch.on { border-color: var(--accent); background: rgba(255,47,146,.07); }
.eq-ch.eq-nouvelle { justify-content: center; font-weight: 800; color: var(--text); }
.eq-logo { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-weight: 900; font-size: 12px; color: #fff; flex: none; background: linear-gradient(135deg, #7b5cff, #12a0e0); }
.eq-logo.spl { background: linear-gradient(135deg, #ff2f92, #ff8a3d); } .eq-logo.ligue { background: linear-gradient(135deg, #12a0e0, #7b5cff); }
.eq-logo.grand { width: 58px; height: 58px; border-radius: 15px; font-size: 16px; }
.eq-inv { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 11px 12px; border-radius: 13px; border: 1px solid rgba(18,224,224,.35); background: rgba(18,224,224,.06); font-size: 12.5px; margin-bottom: 8px; }
.eq-inv > span:nth-child(2) { flex: 1; min-width: 140px; } .eq-inv b { color: var(--text); } .eq-inv small { display: block; color: var(--muted); }
/* Lot 351 : suspendu de la Ligue (Mes équipes). */
.eq-inv.eq-sus { border-color: rgba(255,143,143,.45); background: rgba(255,143,143,.07); }
.eq-inv .act, .eq-tete .act, .eq-j .act { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.eq-tete { display: flex; gap: 14px; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }
.eq-tete h2 { margin: 0; font-size: 21px; } .eq-tete p { margin: 2px 0 0; color: var(--muted); font-size: 12.5px; } .eq-tete .act { margin-left: auto; }
.eq-info { font-size: 12.5px; padding: 10px 12px; border-radius: 11px; background: rgba(18,224,224,.06); border: 1px solid rgba(18,224,224,.25); color: var(--body); margin: 10px 0; }
.eq-compo { border: 1px solid var(--surface2); border-radius: 13px; overflow: hidden; }
.eq-j { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 12px; border-top: 1px solid var(--line); font-size: 13px; }
.eq-j:first-child { border-top: 0; }
.eq-j .av, .eq-puce .av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 900; background: rgba(157,140,255,.18); color: #c9bfff; }
.eq-j .nm b { color: var(--text); } .eq-j .nm small { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; }
.etq { font-size: 10.5px; font-weight: 800; padding: 1px 7px; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--muted); white-space: nowrap; }
.etq.ok { background: rgba(47,232,138,.12); color: #2fe88a; } .etq.ko { background: rgba(255,225,77,.1); color: var(--yellow); } .etq.cap { background: rgba(157,140,255,.15); color: #c9bfff; }
/* Co-capitaine (10 octobre 2026) : même famille que le capitaine, en cyan pour le distinguer. */
.etq.co { background: rgba(18,224,224,.12); color: var(--cyan); }
/* « inscrite par le staff » (vue organisateur) et segment de choix du staff (10 octobre 2026). */
.etq.staff { background: rgba(255,225,77,.1); color: var(--yellow); }
.in-seg button[aria-pressed="true"].s { background: rgba(255,47,146,.12); color: #ff8fc4; }
.eq-pioche { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.eq-puce { display: inline-flex; align-items: center; gap: 7px; font: inherit; font-size: 12px; font-weight: 700; padding: 4px 10px 4px 4px; border-radius: 999px; border: 1px solid var(--surface2); background: rgba(13,10,20,.45); color: var(--text); cursor: pointer; }
.eq-puce .av { width: 22px; height: 22px; font-size: 9.5px; } .eq-puce small { color: var(--muted); font-weight: 600; }
.eq-puce:hover { border-color: var(--cyan); }
.eq-lien, .eq-recherche { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.eq-lien input, .eq-recherche input { flex: 1; min-width: 180px; background: var(--surface); border: 1px solid var(--surface2); border-radius: 10px; padding: 9px 12px; color: var(--text); font: inherit; font-size: 12.5px; }
.eq-pied { display: flex; justify-content: space-between; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
/* Lot 297 : l'aperçu de l'alias d'équipe, tel qu'il sortirait à l'antenne. */
.eq-alias-apercu { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.eq-alias-apercu b { font-size: 15px; letter-spacing: .02em; color: var(--text); background: rgba(255,255,255,.06); border-radius: 8px; padding: 6px 12px; max-width: 100%; overflow-wrap: anywhere; }
.eq-cols { margin-top: 10px; }
.eq-rejoindre { max-width: 480px; margin: 20px auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.eq-rejoindre h1 { margin: 6px 0 0; font-size: 24px; } .eq-rejoindre p { color: var(--body); font-size: 13.5px; }
@media (max-width: 760px) {
  .eq-page { grid-template-columns: minmax(0, 1fr); }
  .eq-j { grid-template-columns: 30px minmax(0, 1fr); } .eq-j .act { grid-column: 1 / -1; justify-content: flex-start; }
}

/* ── Inscription v2 (lot des équipes, étape 4) : choisir, composer, suivre, confirmer ── */
.in-etapes { display: flex; gap: 6px; margin: 0 0 14px; }
.in-etapes span { flex: 1; display: flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 10px; font-size: 12px; font-weight: 800; color: var(--muted); background: rgba(13,10,20,.45); border: 1px solid var(--surface2); min-width: 0; }
.in-etapes i { font-style: normal; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 10.5px; background: rgba(255,255,255,.07); flex: none; }
.in-etapes .on { color: var(--text); border-color: var(--accent); } .in-etapes .on i { background: var(--accent); color: #fff; }
.in-etapes .fait { color: #2fe88a; } .in-etapes .fait i { background: rgba(47,232,138,.16); }
.in-choix { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.in-choix .eq-ch[disabled] { opacity: .55; cursor: default; }
.in-choix .fl { margin-left: auto; color: var(--muted); font-size: 18px; }
.src-ligue, .src-spl, .src-soir { font-size: 10px; font-weight: 900; padding: 1px 7px; border-radius: 999px; vertical-align: 2px; margin-left: 4px; }
.src-ligue { background: rgba(18,160,224,.16); color: #6fd0ff; } .src-spl { background: rgba(255,47,146,.14); color: #ff8fc4; } .src-soir { background: rgba(255,255,255,.07); color: var(--muted); }
.in-seg { display: inline-flex; border: 1px solid var(--surface2); border-radius: 9px; overflow: hidden; }
.in-seg button { font: inherit; font-size: 11.5px; font-weight: 800; border: 0; background: none; color: var(--muted); padding: 6px 10px; cursor: pointer; border-left: 1px solid var(--surface2); }
.in-seg button:first-child { border-left: 0; }
.in-seg button[aria-pressed="true"].j { background: rgba(47,232,138,.14); color: #2fe88a; }
.in-seg button[aria-pressed="true"].n { background: rgba(255,255,255,.07); color: var(--body); }
.in-seg button[disabled] { cursor: default; }
.eq-j.out .nm b { color: var(--muted); }
.in-verif { display: flex; flex-direction: column; gap: 6px; margin: 12px 0; }
.in-verif div { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--body); }
.in-verif i { font-style: normal; font-weight: 900; width: 18px; text-align: center; flex: none; }
.in-verif .ok i { color: #2fe88a; } .in-verif .ko i { color: var(--yellow); }
.in-jauge { height: 8px; border-radius: 999px; background: rgba(255,255,255,.07); overflow: hidden; margin: 8px 0 4px; }
.in-jauge i { display: block; height: 100%; background: linear-gradient(90deg, #2fe88a, #12e0e0); border-radius: 999px; }
.in-etat { font-size: 11.5px; font-weight: 800; }
.in-etat.ok { color: #2fe88a; } .in-etat.att { color: var(--yellow); } .in-etat.non { color: #ff8f8f; }
.in-bandeau { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(47,232,138,.4); background: rgba(47,232,138,.07); margin: 0 0 16px; }
.in-bandeau .t { flex: 1; min-width: 220px; font-size: 13px; color: var(--body); }
.in-bandeau .t b { color: var(--text); } .in-bandeau .t small { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
.in-bandeau .act { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.in-motif { display: flex; gap: 8px; flex-wrap: wrap; width: 100%; }
.in-motif input { flex: 1; min-width: 180px; background: var(--surface); border: 1px solid var(--surface2); border-radius: 10px; padding: 8px 11px; color: var(--text); font: inherit; font-size: 12.5px; }
.in-ajout { margin-top: 10px; padding: 10px 12px; border: 1px dashed var(--surface2); border-radius: 12px; }
.in-confirmer { max-width: 480px; margin: 20px auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.in-confirmer h1 { margin: 4px 0 0; font-size: 24px; } .in-confirmer p { color: var(--body); font-size: 13.5px; margin: 0; }
.in-confirmer .act { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
/* Le suivi vit dans la colonne étroite : les boutons passent sous le nom. */
.in-suivi .eq-j { grid-template-columns: 34px minmax(0, 1fr); }
.in-suivi .eq-j .act { grid-column: 2; justify-content: flex-start; }
.in-suivi .eq-j .act:empty, .in-suivi .eq-j > span:empty { display: none; }
.tn-eq .in-inv { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--surface2); }
/* Onglet Équipes : prêtes, en cours d'inscription, pas prêtes (dès le check-in) */
.in-grp { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 18px 2px 10px; }
.in-grp:first-child { margin-top: 4px; }
.in-grp h2 { margin: 0; font-size: 15px; }
.in-grp .n { font-size: 12px; font-weight: 900; padding: 2px 9px; border-radius: 999px; }
.in-grp.ok .n { background: rgba(47,232,138,.14); color: #2fe88a; } .in-grp.att .n { background: rgba(255,225,77,.12); color: var(--yellow); }
.in-grp.ko .n { background: rgba(255,90,110,.14); color: #ff7b8b; } .in-grp.ko h2 { color: #ff7b8b; }
.in-grp p { margin: 0 0 0 auto; font-size: 12px; color: var(--muted); }
.in-eq { position: relative; padding-left: 15px; }
.in-eq::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 4px; border-radius: 0 4px 4px 0; background: #2fe88a; }
.in-eq.prete { border-color: rgba(47,232,138,.35); }
.in-eq.att, .in-eq.ko { border-style: dashed; border-color: rgba(255,255,255,.14); background: rgba(13,10,20,.25); }
.in-eq.att::before { background: var(--yellow); opacity: .7; } .in-eq.ko::before { background: #ff5a6e; opacity: .8; }
.in-eq.ko { border-color: rgba(255,90,110,.35); }
.in-eq h3 b { min-width: 0; } .in-eq.att h3 b, .in-eq.ko h3 b { color: var(--body); }
.in-st { margin-left: auto; font-size: 11px; font-weight: 900; white-space: nowrap; }
.in-st.prete { color: #2fe88a; } .in-st.att { color: var(--yellow); } .in-st.ko { color: #ff7b8b; }
.in-sous { margin: -4px 0 8px; }
.tn-hero .infos b.in-pretes { color: #2fe88a; }
.in-pas { display: flex; gap: 4px; margin: 0 0 8px; }
.in-pas i { flex: 1; height: 6px; border-radius: 999px; background: rgba(255,255,255,.08); }
.in-pas i.c { background: #2fe88a; } .in-pas i.a { background: rgba(255,225,77,.45); }
.tn-membres li.att { color: var(--muted); font-style: italic; }
.in-manque { font-size: 12px; margin: 8px 0 0; } .in-manque.att { color: var(--yellow); } .in-manque.ko { color: #ff7b8b; }
@media (max-width: 760px) {
  .in-grp p { margin-left: 0; width: 100%; }
  .in-etapes span b { display: none; }
  .eq-j .in-seg { grid-column: 1 / -1; display: flex; } .eq-j .in-seg button { flex: 1; }
}
/* Format : ce qui a été mis de côté après un changement de type de phase (adapterSuite) */
.fe-cote { margin: 10px 0 0; padding: 8px 10px; border-radius: 9px; background: rgba(255,225,77,.07); border: 1px dashed rgba(255,225,77,.35); color: var(--body); }

/* ══════════ Participants, placement et rapports de matchs (9 octobre 2026) ══════════
   Maquettes « Participants et placement » et « Rapports de matchs ».
   pa-cadre   un cadre dans un panneau (Inscription, Placement, réglages d'un mode) ;
   pa-mode    une carte de mode à choisir (une seule cochée : aria-pressed) ;
   pa-bandeau le mode retenu, en tête de l'onglet Placement de l'édition ;
   rm-*       l'onglet Rapports de matchs (groupes, chaîne de repli). */
.pa-cadre { border: 1px solid var(--surface2); border-radius: 14px; padding: 16px; background: rgba(13,10,20,.35); margin-bottom: 14px; }
.pa-cadre > h3 { margin: 0 0 2px; font-size: 15px; }
.pa-cadre > p.aide { margin: 0 0 14px; color: var(--muted); font-size: 12.5px; }
.pa-modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 10px; margin-bottom: 14px; }
.pa-mode { text-align: left; font: inherit; cursor: pointer; border: 1px solid var(--surface2); border-radius: 12px; padding: 11px 12px;
  background: rgba(13,10,20,.45); color: var(--body); display: flex; flex-direction: column; gap: 4px; }
.pa-mode b { color: var(--text); font-size: 13.5px; display: flex; align-items: center; gap: 8px; }
.pa-mode b i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--surface2); flex: none; }
.pa-mode span { font-size: 12px; color: var(--muted); line-height: 1.4; }
.pa-mode[aria-pressed="true"] { border-color: var(--cyan); background: rgba(18,224,224,.07); }
.pa-mode[aria-pressed="true"] b i { border-color: var(--cyan); background: radial-gradient(circle, var(--cyan) 45%, transparent 50%); }
.pa-mode:disabled { cursor: default; opacity: .6; }
.pa-reglages { border-top: 1px dashed var(--surface2); padding-top: 14px; }
.pa-reglages h4 { margin: 0 0 10px; font-size: 13px; color: var(--text); }
.pa-ex { margin: 12px 0 0; font-size: 12.5px; color: var(--body); background: rgba(18,224,224,.06); border: 1px solid rgba(18,224,224,.25); border-radius: 10px; padding: 9px 12px; }
.pa-ex b { color: var(--cyan); }
.pa-bandeau { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; background: rgba(13,10,20,.45);
  border: 1px solid var(--surface2); border-radius: 11px; padding: 10px 12px; margin: 0 0 12px; }
.pa-bandeau b { color: var(--text); }
.pa-bandeau small { color: var(--muted); }
.pa-bandeau .act { margin-left: auto; display: flex; gap: 12px; flex-wrap: wrap; }
.pa-cadre > h3 + .tn-champs { margin-top: 12px; }
.sd-l .note small.bonus { display: block; color: #2fe88a; font-size: 10.5px; font-weight: 800; }
.rm-groupe { margin: 0 0 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rm-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.rm-modes.un { grid-template-columns: minmax(0, 1fr); }
.rm-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.rm-tag { font-size: 10.5px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.07); color: var(--muted); }
.rm-tag.vert { background: rgba(47,232,138,.13); color: #2fe88a; }
.rm-tag.jaune { background: rgba(255,225,77,.13); color: var(--yellow); }
.rm-chaine { display: flex; flex-direction: column; margin: 4px 0 0; }
.rm-et { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start; }
.rm-et i { font-style: normal; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 900;
  background: rgba(18,224,224,.12); color: var(--cyan); border: 1px solid rgba(18,224,224,.35); }
.rm-et div { padding: 4px 0 14px; font-size: 13px; color: var(--body); }
.rm-et div b { color: var(--text); display: block; font-size: 13.5px; }
.rm-et div small { color: var(--muted); font-size: 12px; }
@media (max-width: 760px) { .rm-modes { grid-template-columns: minmax(0, 1fr); } }

/* ══════════ Espace tournoi Discord (onglet Discord de la série, 9 octobre 2026) ══════════ */
/* Espace tournoi Discord : les noms « emoji・nom » (10 octobre 2026, maquette « Noms de l'espace tournoi sur Discord »). */
.esp-seg { display: inline-flex; gap: 3px; background: #1b1825; border: 1px solid var(--surface2); border-radius: 9px; padding: 3px; }
.esp-seg button { border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 12.5px; font-weight: 800; padding: 6px 12px; border-radius: 7px; cursor: pointer; }
.esp-seg button[aria-pressed="true"] { background: var(--accent); color: #0d0a14; }
.esp-noms { display: flex; flex-direction: column; gap: 6px; margin: 12px 0; }
.esp-nom { display: grid; grid-template-columns: 52px 14px minmax(0, 1fr) auto; gap: 6px; align-items: center; background: #1b1825; border: 1px solid var(--surface2); border-radius: 10px; padding: 7px 9px; }
.esp-nom.cat { border-color: rgba(255, 47, 146, .35); }
.esp-nom.att { border-color: rgba(255, 225, 77, .45); }
.esp-nom.ko, .esp-nom.erreur { border-color: rgba(255, 92, 92, .5); }
.esp-nom input { width: 100%; min-width: 0; background: var(--surface); border: 1px solid var(--surface2); color: var(--text); border-radius: 8px; padding: 7px 9px; font: inherit; font-size: 13.5px; }
.esp-nom input:focus { outline: none; border-color: var(--accent); }
.esp-nom input.emo { text-align: center; padding-inline: 4px; }
.esp-nom .sep { color: var(--muted); text-align: center; font-weight: 800; }
.esp-nom .droite { display: flex; gap: 8px; align-items: center; justify-content: flex-end; white-space: nowrap; }
.esp-nom .droite a { font-size: 12px; color: var(--cyan); font-weight: 700; text-decoration: none; }
.esp-nom .etat-n { font-size: 11.5px; color: var(--muted); }
.esp-nom .etat-n.ok { color: var(--win); }
.esp-nom .etat-n.att { color: var(--yellow); font-weight: 700; }
.esp-nom .etat-n.ko { color: #ff8a99; font-weight: 700; }
.esp-nom .sous { grid-column: 3 / -1; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 11.5px; color: var(--muted); }
.esp-nom .sous .dc { color: #ffb36b; font-weight: 700; }
.esp-nom .sous .err { color: #ff8f8f; font-weight: 700; }
.esp-nom .sous button.lien { border: 0; background: none; padding: 0; color: var(--cyan); font: inherit; font-weight: 700; cursor: pointer; }
@media (max-width: 560px) { .esp-nom { grid-template-columns: 46px 10px minmax(0, 1fr); } .esp-nom .droite { grid-column: 3; justify-content: flex-start; } }
/* L'aperçu à la façon de la liste des salons de Discord. */
.esp-apercu { background: #2b2d31; border-radius: 10px; padding: 10px 8px; margin: 0 0 12px; font-size: 14px; color: #949ba4; }
.esp-apercu .legende { font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding: 0 8px 6px; }
.esp-apercu .cat { font-size: 12px; font-weight: 700; padding: 2px 8px 4px; overflow-wrap: anywhere; }
.esp-apercu .ch { display: flex; gap: 6px; align-items: center; padding: 3px 8px; overflow-wrap: anywhere; }
.esp-apercu .h { font-size: 18px; line-height: 1; opacity: .8; width: 16px; text-align: center; flex: none; }

/* Rôles de tournoi et pseudos des capitaines (onglet Discord de la série) */
.rl-role{display:inline-flex;align-items:center;gap:7px;font-weight:600;font-size:13px;background:rgba(255,255,255,.05);border:1px solid var(--border, rgba(255,255,255,.1));border-radius:8px;padding:5px 10px;margin:0 4px 4px 0}
.rl-role i{width:10px;height:10px;border-radius:50%;flex:none}
.rl-role .ko{font-weight:500;font-size:12px}
.rl-apercu{display:inline-block;margin-top:6px;font-family:'Noto Sans',system-ui,sans-serif;background:#313338;color:#f2f3f5;border-radius:6px;padding:5px 10px;font-size:13px}

/* Onglet Discord : un bloc qui attend la création de l'espace tournoi */
.tn-bloc.dc-attente{opacity:.5}
.tn-bloc.dc-attente p{margin:0}

/* ══════════ Moteur des tableaux (lot 1, 9 octobre 2026) ══════════ */
/* Bandeau de check-in du capitaine (en haut de la page du tournoi) */
.mo-checkin { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: rgba(18,224,224,.07); border: 1px solid rgba(18,224,224,.3);
  border-radius: 12px; padding: 12px 14px; margin: 0 0 12px; font-size: 13.5px; }
.mo-checkin b { color: var(--cyan); }
.mo-checkin.fait { background: rgba(47,232,138,.07); border-color: rgba(47,232,138,.3); }
.mo-checkin.fait b { color: var(--win); }
.mo-checkin .tn-bt { margin-left: auto; }
.mo-note { color: var(--muted); font-size: 12.5px; margin-left: auto; }
.mo-fin { background: rgba(255,225,77,.08); border: 1px solid rgba(255,225,77,.3); border-radius: 12px; padding: 12px 14px; margin: 0 0 12px; font-size: 13.5px; }
.mo-fin b { color: var(--yellow); }
/* Lignes de match (régie, groupes, rondes) */
.mo-ligne { display: grid; grid-template-columns: 88px minmax(0, 1fr) 56px auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.mo-qui small { color: var(--muted); }
.mo-qui b.g { color: var(--win); }
.mo-sc { font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }
.mo-acts { display: flex; gap: 6px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.mo-st { font-size: 10.5px; font-weight: 800; padding: 2px 8px; border-radius: 999px; white-space: nowrap; justify-self: start; }
.mo-st.jouer { background: rgba(18,224,224,.14); color: var(--cyan); }
.mo-st.attente { background: rgba(255,255,255,.08); color: var(--muted); }
.mo-st.fini { background: rgba(47,232,138,.14); color: var(--win); }
.mo-compteurs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.mo-compteurs div { background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 10px; padding: 10px; text-align: center; }
.mo-compteurs b { display: block; font-size: 22px; font-variant-numeric: tabular-nums; }
.mo-compteurs small { color: var(--muted); font-size: 11.5px; }
/* Formulaire de score */
.mo-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; background: var(--surface2); border-radius: 10px; padding: 10px 12px; margin: 4px 0 8px; font-size: 13px; }
.mo-form input { width: 52px; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--panel-border); background: var(--bg); color: var(--text); font: inherit; font-weight: 800; text-align: center; }
.mo-form .mo-forfaits { color: var(--muted); }
.mo-form small { color: var(--muted); width: 100%; }
/* La décision de l'organisateur (10 octobre 2026) : un bloc en colonne, dans
   le formulaire de score. Même aspect que le panneau du rapport de Ligue. */
.mo-form.mo-dec { display: block; }
.mo-dec .mo-dec-titre { color: var(--text); font-size: 13.5px; }
.mo-form.mo-dec h4 { text-align: left; margin: 12px 0 6px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #b6a9ff; }
.mo-dec small { display: block; margin-top: 4px; }
.mo-dec .fe-lien { font-size: 12.5px; }
.mo-dec-sc { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 700; color: var(--text); }
.mo-dec-sc input { width: 52px; font-size: 16px; }
/* Étroit (téléphone, colonne d'un tableau) : une équipe par ligne, nom à gauche,
   case à droite ; le tiret disparaît, la case de l'équipe b passe après son nom. */
@media (max-width: 520px) {
  .mo-dec-sc { display: grid; grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; }
  .mo-dec-sc .tiret { display: none; }
  .mo-dec-sc > span:last-child { order: 1; }
  .mo-dec-sc > input:last-of-type { order: 2; }
}
.mo-col .mo-dec-sc { display: grid; grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; }
.mo-col .mo-dec-sc .tiret { display: none; }
.mo-col .mo-dec-sc > span:last-child { order: 1; }
.mo-col .mo-dec-sc > input:last-of-type { order: 2; }
.mo-choix { display: flex; flex-wrap: wrap; gap: 6px; }
.mo-choix button { font: inherit; font-size: 12.5px; font-weight: 700; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--panel-border); background: rgba(255,255,255,.03); color: var(--body); cursor: pointer; }
.mo-choix button[aria-pressed="true"] { background: rgba(255,47,146,.15); border-color: rgba(255,47,146,.55); color: #ff8fc4; }
.mo-choix button:disabled { opacity: .4; cursor: default; }
.mo-alerte { margin: 8px 0 0; font-size: 12.5px; color: var(--yellow); }
.mo-alerte .tn-bt { margin-left: 6px; }
.mo-case-stats { display: flex; align-items: center; gap: 8px; color: var(--text); cursor: pointer; }
.mo-case-stats input { width: 16px; height: 16px; padding: 0; accent-color: #ff2f92; }
.mo-dec-cause { display: block; margin-top: 12px; font-size: 12px; font-weight: 700; color: var(--muted); }
.mo-dec-cause textarea { display: block; width: 100%; box-sizing: border-box; margin-top: 5px; min-height: 64px; resize: vertical; background: var(--bg); border: 1px solid var(--panel-border); border-radius: 9px; color: var(--text); font: inherit; font-weight: 500; padding: 8px 10px; }
.mo-dec-compte { text-align: right; }
.mo-dec-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 10px; }
/* Un match décidé, pour tout le monde : étiquette, cause sous la ligne ou sous la case. */
.mo-st.dec { background: rgba(255,138,153,.14); color: #ff8a99; }
.mo-dec-tag { color: #ff8a99; }
.mo-decision { font-size: 12px; color: var(--body); margin: 2px 0 8px; padding: 6px 10px; border-left: 2px solid rgba(255,138,153,.6); background: rgba(255,138,153,.05); border-radius: 0 8px 8px 0; }
.mo-decision b { color: #ff8a99; }
.mo-decision small { color: var(--muted); }
.mo-case.decide { border-color: rgba(255,138,153,.45); }
.mo-case-dec { font-size: 11px; color: var(--body); padding: 4px 9px; border-top: 1px solid var(--line); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* Classements */
.mo-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.mo-tab { overflow-x: auto; }
.mo-classt { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.mo-classt th { font-size: 11px; color: var(--muted); text-align: right; padding: 6px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.mo-classt th:nth-child(2), .mo-classt td:nth-child(2) { text-align: left; }
.mo-classt td { padding: 7px 6px; text-align: right; border-top: 1px solid var(--line); }
.mo-classt tr.q0 td:first-child { box-shadow: inset 3px 0 0 var(--win); }
.mo-classt tr.q1 td:first-child { box-shadow: inset 3px 0 0 #9aa4b2; }
.mo-classt tr.q2 td:first-child { box-shadow: inset 3px 0 0 #c8875a; }
.mo-classt tr.moi td { background: rgba(255,47,146,.07); }
.mo-leg { font-size: 11.5px; color: var(--muted); margin: 8px 0 4px; display: flex; gap: 14px; flex-wrap: wrap; }
.mo-leg i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
.mo-leg i.q0 { background: var(--win); } .mo-leg i.q1 { background: #9aa4b2; } .mo-leg i.q2 { background: #c8875a; }
.mo-leg i.out { background: var(--line); }   /* lot 539 : « Éliminées » sous le classement suisse */
.mo-sous { font-size: 11.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: 14px 0 6px; }
/* Tableaux : des colonnes de cases, défilement horizontal sur téléphone */
/* 2 px de marge : le liseré rose de « mon match » (box-shadow) n'est pas rogné par le défilement. */
.mo-defile { overflow-x: auto; padding: 2px 2px 6px; }
.mo-tableau { display: flex; gap: 22px; min-width: min-content; }

/* Lot 418 : le bracket à valider (proposition, échanges, validation). */
.mo-prop-bande { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 12px; padding: 10px 12px; border-radius: 12px;
  border: 1px solid rgba(255,225,77,.45); background: rgba(255,225,77,.06); font-size: 13px; color: var(--body); }
.mo-prop-bande b { color: var(--yellow); }
.mo-prop-acts { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.mo-prop { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 10px; margin: 0 0 10px; }
.mo-prop-duel { border: 1px solid var(--surface2); border-radius: 12px; overflow: hidden; background: rgba(255,255,255,.03); }
.mo-prop-place { display: flex; align-items: center; gap: 8px; width: 100%; margin: 0; padding: 9px 11px; border: 0; border-top: 1px solid var(--surface2);
  background: none; color: var(--text); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.mo-prop-duel > :first-child { border-top: 0; }
.mo-prop-place:hover { background: rgba(255,255,255,.04); }
.mo-prop-place .s { width: 20px; flex: none; font-size: 11px; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.mo-prop-place b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mo-prop-place small { margin-left: auto; flex: none; font-size: 11px; color: var(--muted); }
.mo-prop-place.change small { color: var(--yellow); font-weight: 700; }
.mo-prop-place[aria-pressed="true"] { background: rgba(18,224,224,.12); box-shadow: inset 3px 0 0 var(--cyan); }
.mo-prop-place.vide { color: var(--muted); cursor: default; font-style: italic; }
.mo-prop-retirees { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.mo-prop-ret { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px dashed var(--surface2); border-radius: 10px; font-size: 13px; color: var(--muted); }
.mo-prop-ret b { color: var(--body); font-size: 13px; text-decoration: line-through; text-decoration-color: rgba(255,255,255,.35); }
.mo-prop-bande .tn-bt.petit, .mo-prop-bande .fe-lien { margin-left: 4px; vertical-align: middle; }
.mo-prop-attente { display: grid; gap: 4px; }
.mo-prop-attente p { margin: 0; color: var(--body); font-size: 13px; }
/* Les colonnes se partagent la largeur (retour de Dimitri du 11 octobre 2026 : le tableau
   était tassé à gauche) ; 210 px au moins, sinon le cadre défile de côté. */
/* Une colonne par tour : l'en-tête (Quarts, Demi-finales…) en haut, sur la
   même ligne pour toutes les colonnes ; les cases (.mo-cases) se répartissent
   en dessous, centrées entre leurs deux matchs d'origine (11 octobre 2026). */
.mo-col { display: flex; flex-direction: column; gap: 8px; flex: 1 1 0; min-width: 210px; max-width: 340px; }
.mo-col h4 { font-size: 11.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 2px; }
.mo-cases { flex: 1; display: flex; flex-direction: column; justify-content: space-around; gap: 12px; }
/* Le match pour la 3e place, sous la finale (11 octobre 2026). */
.mo-p3-t { font-size: 10.5px; font-weight: 800; color: #ffa94d; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.mo-p3 .mo-case { border-style: dashed; border-color: rgba(255,169,77,.5); }
/* Les résultats d'abord : noms en 14 px, score en 16 px gras ; le vainqueur en blanc, le perdant en gris. */
.mo-case { background: var(--surface); border: 1px solid var(--panel-border); border-radius: 10px; overflow: hidden; font-size: 14px; }
.mo-case .e { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 11px; }
.mo-case .e + .e { border-top: 1px solid var(--line); }
.mo-case .e span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mo-case .e.g { font-weight: 800; color: var(--text); } .mo-case .e.p { color: var(--muted); font-weight: 600; }
.mo-case .s { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 16px; }
.mo-case .vide { color: var(--muted); font-style: italic; font-size: 12px; }
/* Le pied : le numéro à gauche, les pastilles (cast, streams) et « corriger » à droite, sur une ligne si possible. */
.mo-case .pied { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 11px; color: var(--muted); padding: 5px 11px; border-top: 1px solid var(--line); background: rgba(255,255,255,.025); }
.mo-case .pied .mo-num { margin-right: auto; }
.mo-case .pied .mo-num b { font-weight: 800; color: var(--muted); }
.mo-case.a_jouer .pied .mo-num b { color: var(--cyan); }
.mo-case .pied .ca-dif { padding: 0; }
.mo-case .pied > .ca-pop { flex-basis: 100%; margin: 4px 0 2px; }
.mo-case .pied .mo-pst { display: inline-flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.mo-case .pied .mo-pst .mo-stream { margin-left: 0; }
.mo-case .pied .mo-sgroupe[open] { flex-basis: 100%; }
.mo-case.a_jouer { border-color: rgba(18,224,224,.5); }
.mo-case.moi { box-shadow: 0 0 0 1px rgba(255,47,146,.55); }
/* Ligne compacte (carte d'un groupe) */
.mo-ligne.compacte { grid-template-columns: minmax(0, 1fr) auto; }
.mo-ligne.compacte .mo-qui { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mo-ligne.compacte .mo-sc { min-width: 34px; }
@media (max-width: 640px) {
  .mo-ligne { grid-template-columns: minmax(0, 1fr) auto; }
  .mo-ligne .mo-st { grid-column: 1 / -1; }
  .mo-compteurs b { font-size: 18px; }
}

/* ── Streams des joueurs (maquette du 9 octobre 2026) ── */
.mo-checkin.stream { background: rgba(145,70,255,.08); border-color: rgba(145,70,255,.35); }
.mo-cam { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; background: #9146ff; flex: none; }
.mo-cam.pale { background: rgba(145,70,255,.35); }
.mo-cam svg { width: 11px; height: 11px; fill: #fff; }
/* YouTube (13 octobre 2026) : le rouge de YouTube là où Twitch a son violet. */
.mo-checkin.stream.yt { background: rgba(255,0,51,.07); border-color: rgba(255,0,51,.35); }
.mo-checkin.stream.yt .mo-cam { background: #ff0033; }
/* Le secours « Ton live YouTube n'apparaît pas ? » : replié par défaut, sous le bandeau. */
.mo-secours { border: 1px dashed rgba(255,255,255,.18); border-radius: 12px; padding: 8px 12px; margin: 0 0 12px; font-size: 13px; }
.mo-secours summary { cursor: pointer; font-weight: 700; color: var(--text); }
.mo-secours small { display: block; color: var(--muted); font-size: 12px; margin: 6px 0; }
.mo-secours .champ { display: flex; gap: 8px; flex-wrap: wrap; }
.mo-secours input { flex: 1; min-width: 180px; font: inherit; font-size: 13px; padding: 6px 10px; border-radius: 9px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.16); color: var(--text); }
.mo-stream { display: inline-flex; align-items: center; gap: 5px; margin-left: 8px; font-size: 12px; font-weight: 700; color: #c9a8ff; text-decoration: none; vertical-align: middle; }

/* ── Discord pour les joueurs (réglage de la série, 9 octobre 2026) ── */
.ex-choix { display: flex; flex-direction: column; gap: 8px; margin: 10px 0; }
.ex-ch, .ex-case { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 11px; background: rgba(255,255,255,.04); border: 1px solid transparent; cursor: pointer; }
.ex-ch.on { border-color: rgba(88,101,242,.7); background: rgba(88,101,242,.1); }
.ex-ch input, .ex-case input { margin-top: 3px; accent-color: #5865f2; }
.ex-ch b, .ex-case b { display: block; font-size: 13.5px; }
.ex-ch small, .ex-case small { display: block; font-size: 12px; color: var(--muted); line-height: 1.45; }
.ex-case { margin-bottom: 10px; }

/* ── Étapes Discord du parcours d'inscription (« Discord obligatoire ») ── */
.tn-bt.discord { background: #5865f2; border-color: #5865f2; color: #fff; text-decoration: none; }
.dz { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 14px; }
.dz-et { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 11px 13px; border-radius: 12px; background: rgba(255,255,255,.04); }
.dz-et .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none; font-weight: 800; font-size: 12px; border: 2px solid var(--muted); color: var(--muted); }
.dz-et.fait .n { background: var(--win, #2fe88a); border-color: var(--win, #2fe88a); color: #0d0a14; }
.dz-et.ici { outline: 1px solid rgba(88,101,242,.6); background: rgba(88,101,242,.08); }
.dz-et.ici .n { border-color: #5865f2; color: #c9cdfb; }
.dz-et .tx { flex: 1; min-width: 200px; }
.dz-et .tx b { display: block; font-size: 13.5px; color: var(--text); }
.dz-et .tx small { display: block; font-size: 12px; color: var(--muted); line-height: 1.45; }
.dz-pied { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.dz-conseil { background: rgba(255,225,77,.08); border: 1px solid rgba(255,225,77,.3); border-radius: 12px; padding: 10px 12px; font-size: 12.5px; line-height: 1.5; margin: 8px 0 12px; }
.dz-conseil b { color: var(--yellow, #ffe14d); }
.dz-conseil .tn-bt { margin-left: 6px; padding: 5px 10px; font-size: 12px; }
.in-dz { margin: 6px 0 0; font-size: 12px; color: #ffb3b3; line-height: 1.45; }
.in-dz b { color: var(--text); }

/* ══════════ Pilotage : l'onglet de l'organisateur (9 octobre 2026) ══════════
   public/js/tournois-pilotage-ui.mjs. Frise des étapes, carte « Prochaine
   étape », compteurs, lignes d'état (pastille, texte, actions). */
.pi-compte { display: inline-block; min-width: 18px; margin-left: 4px; padding: 1px 6px; border-radius: 999px; background: var(--accent); color: #0d0a14; font-size: 10.5px; font-weight: 800; text-align: center; vertical-align: 1px; }
.pi-frise { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(96px, 1fr)); gap: 0; margin: 0 0 14px; padding: 0; overflow-x: auto; }
.pi-frise li { padding-right: 6px; color: var(--muted); min-width: 0; }
.pi-frise .tr { display: block; height: 5px; border-radius: 3px; background: rgba(255,255,255,.1); margin-bottom: 7px; }
.pi-frise .fait .tr { background: var(--win); }
.pi-frise .ici .tr { background: var(--accent); }
.pi-frise .saute .tr { background: repeating-linear-gradient(90deg, rgba(255,255,255,.12) 0 6px, transparent 6px 10px); }
.pi-frise b { display: block; font-size: 12.5px; color: var(--text); }
.pi-frise .ici b { color: #ff8cc4; }
.pi-frise small { font-size: 11px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pi-prochaine { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 0 0 14px; padding: 14px 15px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,47,146,.16), rgba(169,139,255,.08)); border: 1px solid rgba(255,47,146,.4); }
.pi-prochaine .t { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #ff8cc4; }
.pi-prochaine b { display: block; font-size: 15px; margin: 2px 0; }
.pi-prochaine small { color: var(--muted); font-size: 12.5px; line-height: 1.45; display: block; max-width: 640px; }
.pi-compteurs { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; margin: 0 0 14px; }
.pi-compteurs div { background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 11px; padding: 10px 12px; }
.pi-compteurs b { display: block; font-size: 20px; font-variant-numeric: tabular-nums; }
.pi-compteurs small { color: var(--muted); font-size: 11.5px; }
.pi-compteurs .alerte b { color: var(--yellow); }
.pi-ligne { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 8px 0; border-top: 1px solid var(--line); }
.tn-bloc-tete + .pi-ligne, .pi-ligne:first-child { border-top: 0; }
.pi-ic { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 900; flex: none; }
.pi-ic.ok { background: var(--win); color: #0d0a14; }
.pi-ic.ko { background: rgba(255,92,92,.18); color: #ff8f8f; }
.pi-ic.att, .pi-ic.retard { background: rgba(255,225,77,.16); color: var(--yellow); }
.pi-ic.info { background: rgba(18,224,224,.14); color: var(--cyan); }
.pi-tx { flex: 1; min-width: 170px; font-size: 13px; color: var(--text); }
.pi-tx small { display: block; color: var(--muted); font-size: 11.5px; line-height: 1.45; margin-top: 1px; }
.pi-tx a { color: var(--cyan); }
.pi-acts { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.pi-mini { font-size: 10.5px; font-weight: 800; color: #2fe88a; margin-left: 4px; }
.pi-fait { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.pi-lien { color: var(--cyan); font-weight: 700; font-size: 12.5px; text-decoration: none; white-space: nowrap; }
.pi-lien:hover { text-decoration: underline; }
.pi-texte { margin: 0; color: var(--body); font-size: 13px; line-height: 1.55; }
/* 1er novembre 2026 : « Supprimer le brouillon » (Raccourcis du Pilotage). */
.pi-suppr { margin-top: 10px; border: 1px solid rgba(255,107,127,.45); background: rgba(255,107,127,.06); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.pi-suppr b { color: var(--text); font-size: 14px; }
.pi-suppr ul { margin: 0; padding-left: 18px; color: var(--body); font-size: 12.5px; line-height: 1.5; }
.pi-suppr-note { margin: 8px 0 0; }
.pi-boutons { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pi-retard { border-top: 1px solid var(--line); }
.pi-retard:first-of-type { border-top: 0; }
.pi-retard .pi-ligne { border-top: 0; padding-bottom: 2px; }
.pi-retard .mo-ligne { border-top: 0; }
.pi-av { font-size: 12.5px; margin-bottom: 10px; }
.pi-av small { color: var(--muted); }
.pi-barre { height: 7px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; margin-top: 5px; }
.pi-barre i { display: block; height: 100%; background: var(--cyan); }
.pi-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: end; margin: 6px 0 4px; }
.pi-podium div { background: rgba(255,255,255,.05); border-radius: 10px 10px 4px 4px; text-align: center; padding: 8px 6px 10px; font-size: 12px; color: var(--muted); }
.pi-podium b { display: block; font-size: 13px; color: var(--text); margin-top: 3px; overflow-wrap: anywhere; }
.pi-podium .p1 { min-height: 110px; border: 1px solid rgba(255,225,77,.5); }
.pi-podium .p1 span { color: var(--yellow); font-weight: 800; }
.pi-podium .p2 { min-height: 88px; } .pi-podium .p3 { min-height: 72px; }
.pi-podium .vide { background: none; }
@media (max-width: 640px) { .pi-frise small { display: none; } }

/* Réglages modifiables sur place (9 octobre 2026, tournois-reglages-ui.mjs) */
.tn-bloc.rg { border-color: rgba(18,224,224,.35); }
.rg-pied { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
/* Tiroir « Gérer (staff) » sur une carte d'équipe (étroite) : boutons compacts (10 octobre 2026). */
.in-eq .in-ajout .eq-j { padding: 8px 4px; }
.in-eq .in-ajout .eq-j .act .tn-bt.petit { padding: 4px 8px; font-size: 11.5px; white-space: nowrap; }

/* ══════════ Page d'une série (10 octobre 2026) : Pilotage à menu, onglets joueurs ══════════
   Maquette « Page d'une série : rubriques et vue organisateur ». Le menu
   reprend celui du Pilotage de la Ligue (.lg-menu de ligue.css). */
.sr-pilotage { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 18px; align-items: start; }
.sr-corps { min-width: 0; }
.sr-menu { position: sticky; top: calc(var(--hauteur-nav, 65px) + 12px); display: flex; flex-direction: column; gap: 2px;
  background: var(--surface); border: 1px solid var(--surface2); border-radius: 14px; padding: 8px; }
.sr-menu .grp { font-size: 10.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--cyan); padding: 10px 10px 4px; }
.sr-menu button { display: flex; align-items: center; gap: 6px; text-align: left; padding: 7px 10px; border-radius: 9px; border: 0; background: none;
  color: var(--body); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.sr-menu button.sous { padding-left: 18px; }
.sr-menu button:hover { background: rgba(255,255,255,.05); color: var(--text); }
.sr-menu button[aria-current="page"] { background: rgba(255,47,146,.16); color: var(--text); }
.sr-titre { margin: 0 0 12px; font-size: 18px; }
.sr-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.sr-carte .sr-actions { flex: none; }
.sr-chiffres.cinq { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.sr-deroule { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sr-deroule div { border: 1px solid var(--surface2); border-radius: 11px; padding: 10px 12px; }
.sr-deroule div.ici { border-color: rgba(18,224,224,.5); background: rgba(18,224,224,.05); }
.sr-deroule b { display: block; font-size: 13px; color: var(--text); } .sr-deroule small { color: var(--muted); font-size: 12px; }
.sr-eqs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.sr-eqs div { display: flex; align-items: center; gap: 8px; border: 1px solid var(--surface2); border-radius: 10px; padding: 7px 10px; font-size: 13px; min-width: 0; }
.sr-eqs .av { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-size: 11px; font-weight: 800; background: var(--surface2); color: var(--body); flex: none; }
.sr-podium { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.sr-podium div { border: 1px solid var(--surface2); border-radius: 11px; padding: 10px 12px; }
.sr-podium div.or { border-color: rgba(255,225,77,.45); }
/* Lot 408 : seulement l'étiquette (« Gold · Vainqueur »), enfant direct de la case. Le sélecteur
   « .sr-podium span » touchait aussi les spans du logo (.vx, .vx-ini : initiales décentrées)
   et du nom (.sr-nl : logo et nom sur deux lignes). */
.sr-podium > div > span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 4px; } .sr-podium b { font-size: 15px; color: var(--text); }
.sr-gagnant { font-weight: 800; color: var(--text); } .sr-fin { color: var(--muted); font-size: 12px; }
/* Règlement de la série : texte riche (12 octobre 2026), dans une boîte qui défile. */
.sr-reglement { color: var(--body); font-size: 13.5px; line-height: 1.6; max-height: 420px; overflow: auto; }
@media (max-width: 820px) {
  .sr-pilotage { grid-template-columns: minmax(0, 1fr); }
  .sr-menu { position: static; flex-direction: row; overflow-x: auto; padding: 6px; scrollbar-width: thin; }
  .sr-menu .grp { display: none; }
  .sr-menu button, .sr-menu button.sous { padding: 7px 11px; white-space: nowrap; }
  .sr-chiffres.cinq { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) { .sr-deroule, .sr-eqs { grid-template-columns: minmax(0, 1fr); } }
.sr-carte { flex-wrap: wrap; }

/* ══════════ Page d'une édition (10 octobre 2026, maquette « Pilotage d'une édition » v3) ══════════
   Menu du Pilotage : les pastilles du menu (.nb) ; le reste reprend .sr-pilotage et .sr-menu de la série.
   Tableaux projetés (tournois-tableaux-ui.mjs) : mêmes cases que le tournoi lancé (.mo-case), en « proj ».
   Placement : la poignée ⠿ du glisser-déposer (glisser-liste.mjs). */
.sr-menu button .nb { margin-left: auto; font-size: 10.5px; font-weight: 800; padding: 1px 7px; border-radius: 999px; background: rgba(255,47,146,.16); color: #ff8fc4; white-space: nowrap; }
.sr-menu button .nb.vert { background: rgba(47,232,138,.13); color: #2fe88a; }
.sr-menu button .nb.gris { background: rgba(255,255,255,.07); color: var(--muted); }
.sr-menu button:disabled { opacity: .55; cursor: default; }
.sr-menu button:disabled:hover { background: none; color: inherit; }

.tb-etat { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; padding: 10px 13px; border-radius: 11px; margin: 0 0 12px; font-size: 13px;
  border: 1px solid rgba(255,225,77,.35); background: rgba(255,225,77,.07); }
.tb-etat b { color: var(--yellow); }
.tb-etat.ok { border-color: rgba(47,232,138,.35); background: rgba(47,232,138,.07); } .tb-etat.ok b { color: #2fe88a; }
.tb-etat.direct { border-color: rgba(18,224,224,.4); background: rgba(18,224,224,.07); } .tb-etat.direct b { color: var(--cyan); }
.tb-etat.fini { border-color: var(--surface2); background: rgba(255,255,255,.03); } .tb-etat.fini b { color: var(--text); }
.tb-bref { margin: 0 0 12px; font-size: 12.5px; color: var(--muted); }
.tb-choix { margin-bottom: 10px; }
.tb-resume { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 6px; font-size: 12.5px; color: var(--muted); }
.tb-resume b { color: var(--text); font-variant-numeric: tabular-nums; }
.tb-phase { margin: 18px 0 8px; font-size: 11.5px; font-weight: 800; color: #b6a9ff; text-transform: uppercase; letter-spacing: .06em; }
.tb-phase small { text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 600; }
.mo-case.proj .pied { justify-content: flex-start; }
.mo-case.ex { opacity: .55; }
.tb-num { color: #b6a9ff; font-weight: 800; font-variant-numeric: tabular-nums; }
.tb-sd { font-style: normal; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; margin-right: 6px; }
.tb-place { color: var(--body); font-style: italic; }
.tb-trou { display: inline-block; width: 82px; max-width: 70%; height: .75em; border-radius: 4px; background: rgba(255,255,255,.07); vertical-align: -1px; }
.tb-groupes { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.tb-gr { background: rgba(13,10,20,.45); border: 1px solid var(--surface2); border-radius: 11px; padding: 10px 12px; font-size: 12.5px; min-width: 0; }
.tb-gr > b { display: block; margin-bottom: 6px; color: #b6a9ff; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.tb-membres { display: flex; flex-direction: column; gap: 3px; margin-bottom: 4px; }
.tb-membres span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-tour { margin: 8px 0 3px; font-size: 10.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.tb-m { display: flex; align-items: baseline; gap: 6px; padding: 2px 0; min-width: 0; }
.tb-m > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.tb-m small { color: var(--muted); }
.tb-pied { display: block; margin-top: 6px; color: var(--muted); }

.sd-l.glissable { grid-template-columns: 16px 30px minmax(0, 1fr) 64px 92px 62px; }
.sd-poignee { color: var(--muted); font-size: 15px; line-height: 1; text-align: center; user-select: none; }
.sd-poignee[data-poignee] { cursor: grab; touch-action: none; }
.sd-poignee[data-poignee]:hover { color: var(--text); }
.sd-poignee[aria-disabled] { opacity: .25; }
.sd-l { transition: transform .12s ease; }
.sd-l.glisse { transition: none; position: relative; z-index: 2; border-color: var(--accent); box-shadow: 0 6px 18px rgba(0,0,0,.45); cursor: grabbing; }
@media (max-width: 760px) {
  .sd-l.glissable { grid-template-columns: 14px 26px minmax(0, 1fr) 54px 56px; }
}

/* ══════════ Casters (10 octobre 2026) : la diffusion officielle, en CYAN ══════════
   Le violet reste aux streams des joueurs (.mo-stream). casters-ui.mjs, organisation-ui.mjs. */
.ca-dif { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; padding: 4px 9px 6px; }
.tb-gr .ca-dif, .mo-ligne + .ca-dif { padding: 0 0 4px 22px; }
.ca-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px;
  background: rgba(18,224,224,.12); color: var(--cyan); text-decoration: none; white-space: nowrap; }
a.ca-chip:hover { background: rgba(18,224,224,.22); }
.ca-chip button { border: 0; background: none; color: inherit; cursor: pointer; font: inherit; padding: 0 0 0 2px; opacity: .7; }
.ca-chip button:hover { opacity: 1; }
.ca-aj { font: inherit; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; border: 1px dashed rgba(18,224,224,.5); background: none; color: var(--cyan); cursor: pointer; }
.ca-aj[aria-expanded="true"] { background: rgba(18,224,224,.1); }
.ca-pop { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; margin: 0 9px 8px; padding: 8px; border-radius: 9px; background: rgba(18,224,224,.06); border: 1px solid rgba(18,224,224,.25); }
.ca-pop button { font: inherit; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--surface2); background: var(--surface); color: var(--body); cursor: pointer; }
.ca-pop button[aria-pressed="true"] { background: rgba(18,224,224,.16); border-color: rgba(18,224,224,.55); color: var(--cyan); }
.ca-pop button small { color: var(--yellow); font-weight: 600; }
.ca-pop .ca-ok { margin-left: auto; }
.mo-case.casté { border-color: rgba(18,224,224,.45); }
.ca-nb { color: var(--cyan); font-size: 11px; }
.sr-menu button .nb.cast { background: rgba(18,224,224,.13); color: var(--cyan); }
/* (.ca-bandeau « Tes matchs à caster » : remplacé par l'onglet Caster le 11 octobre 2026.) */

.org-liste, .org-res { display: flex; flex-direction: column; gap: 6px; margin: 10px 0; }
.org-p { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 11px;
  background: rgba(13,10,20,.45); border: 1px solid var(--surface2); font-size: 13px; }
.org-av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface2); font-weight: 800; }
.org-tx { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.org-tx b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.org-tx b small { color: var(--muted); font-weight: 700; font-size: 11px; margin-left: 4px; }
.org-tx > small { color: var(--muted); font-size: 11.5px; }
.org-alerte { color: var(--yellow); }
.org-roles { display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.org-roles button { font: inherit; font-size: 11.5px; font-weight: 800; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--surface2); background: var(--surface); color: var(--muted); cursor: pointer; }
.org-roles button[aria-pressed="true"] { background: rgba(255,47,146,.15); border-color: rgba(255,47,146,.5); color: #ff8fc4; }
.org-roles button[data-role="caster"][aria-pressed="true"] { background: rgba(18,224,224,.12); border-color: rgba(18,224,224,.5); color: var(--cyan); }
/* Diffusion officielle (11 octobre 2026) : les choix (source, et sur chaque caster). */
.org-dif { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 4px; }
.org-dif button { font: inherit; font-size: 11.5px; font-weight: 800; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--surface2); background: var(--surface); color: var(--muted); cursor: pointer; }
.org-dif button[aria-pressed="true"] { background: rgba(18,224,224,.12); border-color: rgba(18,224,224,.5); color: var(--cyan); }
.org-dif button:disabled { opacity: .4; cursor: default; }
.tn-bloc > .org-dif { margin: 10px 0 4px; }
.org-dif-champ { display: flex; flex-direction: column; gap: 5px; margin-top: 10px; font-size: 12.5px; font-weight: 700; color: var(--muted); max-width: 460px; }
.org-dif-champ input, .org-dif-champ select { padding: 8px 11px; border-radius: 10px; border: 1px solid var(--panel-border); background: var(--bg); color: var(--text); font: inherit; font-weight: 500; }
.org-dif-act { display: flex; gap: 12px; align-items: center; margin-top: 10px; }
.org-roles button:disabled { cursor: default; opacity: .8; }
.org-deja { font-size: 11.5px; font-weight: 800; color: var(--muted); padding: 4px 6px; }
/* Les rôles libres (15 octobre 2026) : un petit champ par rôle tenu, sous le nom. */
.org-titres { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.org-titre { display: flex; flex-direction: column; gap: 3px; font-size: 11px; font-weight: 800; color: var(--muted); flex: 1 1 170px; max-width: 260px; }
.org-titre input { padding: 5px 9px; border-radius: 8px; border: 1px solid var(--surface2); background: var(--bg); color: var(--text); font: inherit; font-size: 12.5px; font-weight: 600; }
.org-titre input::placeholder { color: var(--muted); opacity: .75; }
.org-titre input:disabled { opacity: .6; }
.org-ajout { margin: 12px 0 0; }
.org-ajout input { width: 100%; box-sizing: border-box; background: var(--surface); border: 1px solid var(--surface2); border-radius: 10px; padding: 9px 12px; color: var(--text); font: inherit; font-size: 13px; }
.org-ajout input:focus { outline: 2px solid var(--cyan); outline-offset: 1px; }
@media (max-width: 640px) {
  .org-p { grid-template-columns: 30px minmax(0, 1fr) auto; }
  .org-roles { grid-column: 2 / -1; grid-row: 2; justify-content: flex-start; }
  .org-p > :last-child { grid-column: 3; grid-row: 1; }
  .org-av { width: 30px; height: 30px; }
}

/* ══════════ L'onglet Caster (11 octobre 2026, caster-vue-ui.mjs) ══════════ */
.cv-grille { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 900px) { .cv-grille { grid-template-columns: minmax(0, 1fr); } }
.cv-hero { border-color: rgba(18,224,224,.4); background: linear-gradient(180deg, rgba(18,224,224,.06), transparent 55%), var(--surface); }
.cv-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; color: var(--muted); font-size: 12.5px; }
.cv-meta b { color: var(--text); }
.cv-meta a { color: var(--cyan); }
.cv-vs { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: center; margin: 14px 0 8px; }
.cv-vs div { color: var(--text); font-weight: 800; font-size: 18px; overflow-wrap: anywhere; }
.cv-vs div.d { text-align: right; }
.cv-vs span { color: var(--muted); font-weight: 800; }
.cv-lig { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin-top: 10px; }
.cv-h4 { margin: 16px 0 6px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #b6a9ff; }
.cv-maps { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.cv-map { border: 1px solid var(--panel-border); border-radius: 9px; padding: 6px 9px; font-size: 12.5px; }
.cv-map b { display: block; color: var(--text); font-size: 12px; }
.cv-equipes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
@media (max-width: 620px) { .cv-equipes { grid-template-columns: 1fr; } }
.cv-fiche { border: 1px solid var(--panel-border); border-radius: 12px; padding: 10px 12px; background: rgba(13,10,20,.5); min-width: 0; }
.cv-fiche h3 { margin: 0 0 6px; color: var(--text); font-size: 13.5px; display: flex; justify-content: space-between; gap: 6px; flex-wrap: wrap; }
.cv-fiche table { width: 100%; border-collapse: collapse; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.cv-fiche td { padding: 3px 0; border-top: 1px solid var(--line); vertical-align: top; }
.cv-fiche td:last-child { text-align: right; color: var(--muted); }
.cv-k { color: var(--muted); font-size: 12px; margin: 6px 0 0; }
.cv-k b { color: var(--text); }
.cv-p { font-size: 11px; font-weight: 800; padding: 2px 9px; border-radius: 999px; white-space: nowrap; border: 1px solid var(--panel-border); }
.cv-p.cyan { background: rgba(18,224,224,.12); color: var(--cyan); border-color: rgba(18,224,224,.4); }
.cv-p.rose { background: rgba(255,47,146,.12); color: #ff8fc4; border-color: rgba(255,47,146,.4); font-size: 10px; }
.cv-p.gris { background: rgba(255,255,255,.06); color: var(--muted); }
.cv-p.vert { background: rgba(47,232,138,.12); color: var(--win); border-color: rgba(47,232,138,.4); }
.cv-p.jaune { background: rgba(255,225,77,.1); color: var(--yellow); border-color: rgba(255,225,77,.35); }
.cv-mt { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px 6px; border-top: 1px solid var(--line); font-size: 13px; }
.cv-mt .h { color: var(--muted); font-variant-numeric: tabular-nums; }
.cv-mt b { color: var(--text); }
.cv-mt.on { background: rgba(18,224,224,.05); border-radius: 8px; }
.cv-kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; font-size: 13px; margin: 0; }
.cv-kv dt { color: var(--muted); }
.cv-kv dd { margin: 0; overflow-wrap: anywhere; }
.cv-kv a { color: var(--cyan); }

/* ══ Fiche du match et rapport automatique (11 octobre 2026, tournois-fiche-ui.mjs) ══ */
.mo-case[data-fiche], .mo-ligne[data-fiche] { cursor: pointer; }
.mo-case[data-fiche]:hover { border-color: rgba(18,224,224,.45); }
.mo-rap { display: inline-block; margin-left: 6px; font-size: 10.5px; font-weight: 800; color: var(--cyan); background: rgba(18,224,224,.12); border-radius: 999px; padding: 0 7px; vertical-align: 1px; font-variant-numeric: tabular-nums; }
.mo-rap.alerte { color: #1b0b14; background: var(--yellow); min-width: 16px; text-align: center; padding: 0 5px; }
body.fi-ouverte { overflow: hidden; }
.fi-fond { position: fixed; inset: 0; background: rgba(5,3,10,.55); z-index: 80; }
.fi-panneau { position: fixed; top: 0; right: 0; bottom: 0; width: min(640px, 100%); z-index: 81; background: var(--bg); border-left: 1px solid var(--line);
  overflow-y: auto; padding: calc(16px + env(safe-area-inset-top, 0px)) 18px calc(24px + env(safe-area-inset-bottom, 0px)); outline: none; box-shadow: -12px 0 40px rgba(0,0,0,.4); }
.fi-tete { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 12.5px; color: var(--muted); padding-right: 36px; position: relative; }
.fi-tete b { color: var(--text); font-size: 14px; }
.fi-x { position: absolute; right: 0; top: -4px; width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; font-size: 14px; }
.fi-p { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; border-radius: 999px; padding: 2px 9px; }
.fi-p.direct { background: rgba(255,47,146,.16); color: var(--accent); } .fi-p.ok { background: rgba(47,232,138,.14); color: var(--win); }
.fi-p.att { background: rgba(255,225,77,.14); color: var(--yellow); } .fi-p.gris { background: var(--surface2); color: var(--muted); }
.fi-p.cyan { background: rgba(18,224,224,.12); color: var(--cyan); text-transform: none; letter-spacing: 0; }
.fi-vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; margin: 14px 0 10px; }
.fi-vs .e { font-weight: 800; color: var(--text); font-size: 15px; overflow-wrap: anywhere; } .fi-vs .e.d { text-align: right; }
.fi-vs .sc { font-size: 24px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; } .fi-vs .sc .g { color: var(--win); }
.fi-bande { border-radius: 10px; padding: 9px 12px; font-size: 13px; margin: 8px 0; color: var(--body); }
.fi-bande b { color: var(--text); }
.fi-bande.info { background: rgba(18,224,224,.07); border: 1px solid rgba(18,224,224,.25); }
.fi-bande.att { background: rgba(255,225,77,.07); border: 1px solid rgba(255,225,77,.3); }
.fi-bande.ko { background: rgba(255,138,153,.07); border: 1px solid rgba(255,138,153,.3); }
.fi-bande.ok { background: rgba(47,232,138,.07); border: 1px solid rgba(47,232,138,.3); }
.fi-sous { font-size: 12.5px; color: var(--muted); margin: 10px 0 6px; }
.fi-suivis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 12.5px; }
@media (max-width: 420px) { .fi-suivis { grid-template-columns: 1fr; } }
.fi-suivis > div { background: var(--surface); border-radius: 8px; padding: 7px 10px; }
.fi-suivis b { display: block; color: var(--text); font-size: 12px; margin-bottom: 2px; }
.fi-suivis .ok { color: var(--win); } .fi-suivis .ko { color: #ff8a99; } .fi-suivis .att { color: var(--yellow); } .fi-suivis .gris { color: var(--muted); }
.fi-suivis small { color: var(--muted); }
.fi-manches { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.fi-manche { display: grid; grid-template-columns: 26px minmax(0,1fr) auto; gap: 10px; align-items: start; background: var(--surface); border-radius: 9px; padding: 8px 10px; font-size: 13px; }
.fi-manche .n { font-weight: 800; color: var(--muted); text-align: center; padding-top: 1px; }
.fi-manche .q b { color: var(--text); } .fi-manche .q small { display: block; color: var(--muted); font-size: 11.5px; } .fi-manche .q small.att { color: var(--yellow); }
.fi-manche.doute { outline: 1px solid rgba(255,225,77,.45); } .fi-manche.rejetee, .fi-manche.vide { opacity: .65; }
.fi-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; align-items: center; }
.fi-vs .sc small { font-size: 13px; color: var(--muted); font-weight: 700; }
.fi-bloc { margin-top: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.fi-bloc > b { color: var(--text); }
.fi-score { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.fi-score label { display: inline-flex; gap: 6px; align-items: center; color: var(--text); font-weight: 700; }
.fi-score input { width: 56px; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--surface2); background: var(--bg); color: var(--text); font: inherit; text-align: center; }
.fi-champ { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; }
.fi-champ textarea { display: block; width: 100%; margin-top: 4px; border-radius: 8px; border: 1px solid var(--surface2); background: var(--bg); color: var(--text); font: inherit; padding: 6px 8px; resize: vertical; }
.fi-partie { display: grid; grid-template-columns: 18px minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 7px 10px; background: var(--bg); border-radius: 9px; margin-top: 6px; cursor: pointer; }
.fi-partie input { accent-color: var(--cyan); width: 16px; height: 16px; margin: 0; }
.fi-partie b { color: var(--text); font-size: 12.5px; } .fi-partie small { display: block; color: var(--muted); font-size: 11.5px; }
.fi-partie.deja { opacity: .7; cursor: default; }

/* Logos d'équipe dans les cases, les lignes et les classements (11 octobre 2026, public/js/visuels.mjs). */
.mo-n { display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%; vertical-align: middle; }
.mo-nt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mo-case .e > .mo-n { display: flex; }
.mo-qui .vx { margin-right: 2px; }
/* En-tête de la fiche du match : le logo à côté du nom, au-dessus sur téléphone (11 octobre 2026). */
.fi-vs .e { display: flex; align-items: center; gap: 10px; min-width: 0; }
.fi-vs .e > span { min-width: 0; }
.fi-vs .e.d { flex-direction: row-reverse; }
@media (max-width: 560px) {
  .fi-vs .e, .fi-vs .e.d { flex-direction: column; text-align: center; gap: 6px; font-size: 13.5px; }
}
/* Avatars des joueurs et logo des équipes dans l'onglet Équipes et l'inscription (11 octobre 2026). */
.in-eq h3 { display: flex; align-items: center; gap: 8px; }
/* Onglet Cast : logos des équipes et avatars des joueurs (11 octobre 2026). */
.cv-vs div { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cv-vs div.d { flex-direction: row-reverse; }
.cv-vs div > span { color: var(--text); min-width: 0; }
.cv-nomeq { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.cv-fiche td { vertical-align: middle; }
.cv-fiche td .cv-av { margin-right: 8px; }
@media (max-width: 560px) {
  .cv-vs div, .cv-vs div.d { flex-direction: column; text-align: center; gap: 6px; font-size: 15px; }
}
.in-nomeq { display: flex; align-items: center; gap: 10px; }
/* Mes équipes : le logo d'une équipe Splatelo, téléversé et recadré (11 octobre 2026, public/js/logo-equipe-ui.mjs). */
.eql-televerse { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; margin-bottom: 10px; }
.eql-depot { border: 1.5px dashed rgba(18,224,224,.45); border-radius: 12px; padding: 14px; display: grid; gap: 4px; color: var(--muted); font-size: 12.5px; cursor: pointer; }
.eql-depot b { color: var(--text); font-size: 13.5px; }
.eql-depot input[type=file] { font-size: 12px; color: var(--muted); margin-top: 4px; max-width: 100%; }
.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%; }
.eql-apercu:active { cursor: grabbing; }
.eql-reglages { display: grid; gap: 10px; }
.eql-zoom { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--body); }
.eql-zoom input { flex: 1; accent-color: #12e0e0; }
/* Lot 385 : le logo d'une équipe de Ligue (conseils, avertissement, aperçu dans la Ligue). */
.eql-conseils { display: flex; flex-wrap: wrap; gap: 6px; }
.eql-conseils span { font-size: 11.5px; color: var(--body); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 999px; padding: 2px 9px; }
.eql-juste { color: var(--yellow); margin: 0 0 8px; }
.eql-apercus { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; margin-bottom: 10px; }
.eql-ap { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; display: grid; gap: 6px; min-width: 0; }
.eql-ap-t { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.eql-ap-l { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; min-width: 0; }
.eql-ap-l span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eql-mini { width: 24px; height: 24px; border-radius: 6px; object-fit: contain; background: #0e1020; flex: none; }
.eql-bandeau { display: flex; align-items: center; gap: 8px; padding: 18px 8px 6px; border-radius: 8px; font-size: 12px; font-weight: 800; color: #fff;
  background: linear-gradient(0deg, rgba(10,8,20,.92), rgba(10,8,20,.2)), linear-gradient(135deg, #5b4a7a, #2b3f6b); min-width: 0; }
.eql-bandeau span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 560px) { .eql-televerse { grid-template-columns: 1fr; justify-items: start; } }

/* ── Le détail SplatNet d'une manche, pour l'organisateur (11 octobre 2026, maquette « Trancher une manche ») ── */
.fi-plein { grid-column: 1 / -1; min-width: 0; }
.fi-manche .q .fe-lien { margin-top: 3px; display: inline-block; font-size: 11.5px; }
.sn { margin-top: 2px; border-top: 1px dashed var(--line); padding-top: 10px; display: grid; gap: 12px; min-width: 0; }
.sn > div { min-width: 0; }
.sn h4 { margin: 0 0 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.sn-prog { display: grid; grid-template-columns: auto 1fr 1fr; gap: 4px 10px; font-size: 12px; background: var(--bg); border-radius: 8px; padding: 8px 10px; color: var(--text); }
.sn-prog.deux { grid-template-columns: auto 1fr; }
.sn-prog .t { color: var(--muted); font-size: 11px; }
.sn-prog .ecart { color: var(--yellow); font-weight: 700; }
.sn-prog .ecart::after { content: ' ≠'; }
.sn-faits { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 6px; }
.sn-fait { background: var(--bg); border-radius: 8px; padding: 6px 9px; font-size: 12px; }
.sn-fait small { display: block; color: var(--muted); font-size: 10.5px; }
.sn-fait b { color: var(--text); font-variant-numeric: tabular-nums; }
.sn-fait.att b { color: var(--yellow); }
.sn-eqs { display: grid; gap: 8px; }
.sn-eq { background: var(--bg); border-radius: 8px; padding: 8px 10px 6px; min-width: 0; }
.sn-eq-t { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 12.5px; margin-bottom: 4px; }
.sn-eq-t b { color: var(--text); }
.sn-res { margin-left: auto; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.sn-res.g { color: var(--win); }
.sn-tab { overflow-x: auto; }
.sn-tab table { border-collapse: collapse; width: 100%; font-size: 11.5px; font-variant-numeric: tabular-nums; }
.sn-tab th { text-align: left; color: var(--muted); font-weight: 700; font-size: 10px; padding: 3px 4px; white-space: nowrap; }
.sn-tab td { padding: 5px 4px; border-top: 1px solid var(--line); vertical-align: middle; color: var(--body); }
.sn-tab .nb { text-align: right; }
.sn-tab td.j { min-width: 150px; }
.sn-tab td.j b { color: var(--text); }
.sn-tab td.j i { font-style: normal; color: var(--muted); font-size: 10.5px; }
.sn-tab td.arme { white-space: nowrap; }
.sn-pale { color: var(--muted); }
.sn-deco { color: #ff8a99; font-weight: 700; font-size: 10.5px; }
.sn-rec { display: block; font-size: 10.5px; margin-top: 1px; }
.sn-rec.ok { color: var(--win); } .sn-rec.att { color: var(--yellow); } .sn-rec.ko { color: #ff8a99; } .sn-rec.gris { color: var(--muted); }
.sn-ratt { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 3px; }
.sn-ratt select { font: inherit; font-size: 11px; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 2px 4px; }
.sn-rapports { display: grid; gap: 5px; }
.sn-rapport { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; align-items: center; background: var(--bg); border-radius: 8px; padding: 6px 9px; font-size: 12px; }
.sn-rapport b { color: var(--text); }
.sn-rapport small { display: block; color: var(--muted); font-size: 10.5px; }
.sn-accord { font-size: 12px; padding: 6px 9px; border-radius: 8px; }
.sn-accord.ok { background: rgba(47,232,138,.07); color: var(--win); }
.sn-accord.ko { background: rgba(255,138,153,.08); color: #ff8a99; }
.sn-accord.att { background: rgba(255,225,77,.07); color: var(--yellow); }
/* Joueur hors roster : la manche compte (vert), avec un signal cyan à côté ; rien n'est bloqué. */
.fi-manche.signal { outline: 1px solid rgba(18,224,224,.4); }
.fi-manche .q small.sig { color: var(--cyan); }
.fi-etats { display: grid; gap: 4px; justify-items: end; }

/* ── Disqualification (11 octobre 2026) ── */
.dq-marque { display: inline-block; margin-left: 5px; padding: 0 5px; border-radius: 5px; font-size: 9.5px; font-weight: 800; letter-spacing: .04em; color: #ff8a99; background: rgba(255,138,153,.14); vertical-align: 1px; }
.mo-classt tr.dq td { opacity: .6; }
.dq-panneau { margin-top: 10px; border: 1px solid rgba(255,92,92,.35); background: rgba(255,92,92,.05); border-radius: 10px; padding: 10px 12px; display: grid; gap: 6px; font-size: 12.5px; color: var(--body); }
.dq-panneau .dq-titre { color: #ff8f8f; font-size: 13.5px; }
.dq-panneau p { margin: 0; }
.dq-panneau ul { margin: 0; padding-left: 18px; display: grid; gap: 3px; }
.dq-panneau b { color: var(--text); }
.dq-champ { display: grid; gap: 4px; color: var(--muted); font-size: 11.5px; }
.dq-champ textarea { font: inherit; font-size: 12.5px; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; resize: vertical; }
.dq-case { display: flex; gap: 8px; align-items: center; color: var(--body); }
.dq-case input { accent-color: var(--cyan); }

/* ── Le message du staff (Pilotage › Bot Discord, 11 octobre 2026) ── */
.ms-champ { display: grid; gap: 5px; font-size: 12px; color: var(--muted); font-weight: 700; margin-top: 10px; }
.ms-champ small { font-weight: 500; }
.ms-champ input[type="text"], .ms-champ textarea { font: inherit; font-weight: 500; font-size: 13px; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; width: 100%; box-sizing: border-box; }
.ms-champ textarea { resize: vertical; line-height: 1.45; }
.ms-fixe { font-size: 13px; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; font-weight: 700; }
.ms-fixe small { color: var(--muted); }
.ms-mentions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 560px) { .ms-mentions { grid-template-columns: 1fr; } }
.ms-choix { position: relative; display: grid; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px 9px 34px; cursor: pointer; font-size: 12.5px; font-weight: 500; }
.ms-choix input { position: absolute; left: 11px; top: 11px; accent-color: var(--accent); margin: 0; width: 15px; height: 15px; }
.ms-choix b { color: var(--text); font-size: 13px; }
.ms-choix small { color: var(--muted); font-size: 11.5px; }
.ms-choix:has(input:checked) { border-color: rgba(255,47,146,.6); background: rgba(255,47,146,.07); }
.ms-choix.off { opacity: .55; cursor: not-allowed; }
.ms-n { color: var(--cyan) !important; font-weight: 800; font-size: 11px !important; }
.ms-n.off { color: var(--muted) !important; }
.ms-role { display: inline-flex; gap: 5px; align-items: center; font-size: 11.5px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--text); width: max-content; max-width: 100%; margin-top: 3px; }
.ms-role i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.ms-compte { justify-self: end; font-size: 11px; color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.ms-case { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--body); margin-top: 10px; }
.ms-case input { accent-color: var(--cyan); }
.ms-err { color: #ff8a99; font-weight: 600; }
.ms-sans { margin: 4px 0 0; padding-left: 18px; font-size: 12px; }
.ms-apercu { margin-top: 12px; background: #313338; border-radius: 10px; padding: 10px 12px; display: grid; gap: 6px; color: #dbdee1; font-size: 13.5px; }
.ms-ap-t { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #949ba4; }
.ms-mn { background: rgba(88,101,242,.3); color: #c9cdfb; border-radius: 3px; padding: 0 3px; font-weight: 600; }
.ms-embed { background: #2b2d31; border-left: 4px solid #ff2f92; border-radius: 4px; padding: 8px 12px; display: grid; gap: 4px; }
.ms-embed small { color: #949ba4; font-size: 11.5px; }
.ms-embed b { color: #f2f3f5; }
.ms-texte { white-space: pre-wrap; overflow-wrap: anywhere; }
.ms-texte u { color: #00a8fc; text-decoration: none; }
.ms-bt { background: #4e5058; color: #fff; border-radius: 4px; padding: 5px 12px; width: max-content; font-size: 13px; }
.ms-confirmer { margin-top: 12px; border: 1px solid rgba(88,101,242,.55); background: rgba(88,101,242,.09); border-radius: 10px; padding: 11px 12px; display: grid; gap: 8px; font-size: 13px; color: var(--body); }
.ms-confirmer b { color: var(--text); }
/* Le nom d'une équipe inscrite (page de la série) : coupé proprement s'il est long. */
.sr-eqs .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-nl { display: inline-flex; align-items: center; gap: 7px; vertical-align: middle; max-width: 100%; }
.sr-nl > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* ══════════ Onglet Classements (11 octobre 2026, tournois-classement-ui.mjs) ══════════
   Le podium : le 1er au centre et plus haut, le 2e à gauche, le 3e à droite ;
   sur téléphone, les marches s'empilent dans l'ordre (1, 2, 3). */
.cg-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: end; }
.cg-marche { display: grid; gap: 8px; justify-items: center; text-align: center; padding: 14px 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.cg-marche.p1 { order: 2; padding-top: 24px; border-color: rgba(255,210,61,.5); background: linear-gradient(180deg, rgba(255,210,61,.13), var(--surface) 70%); }
.cg-marche.p2 { order: 1; border-color: rgba(214,211,228,.35); }
.cg-marche.p3 { order: 3; border-color: rgba(224,153,94,.4); }
.cg-rang { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.cg-marche.p1 .cg-rang { color: #ffd23d; } .cg-marche.p2 .cg-rang { color: #d6d3e4; } .cg-marche.p3 .cg-rang { color: #e0995e; }
.cg-eqs { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cg-eq { display: grid; gap: 6px; justify-items: center; min-width: 0; max-width: 220px; }
.cg-eq b { color: var(--text); font-size: 15px; line-height: 1.25; overflow-wrap: anywhere; }
.cg-quatre { font-size: 11.5px; color: var(--muted); line-height: 1.4; }
@media (max-width: 640px) { .cg-podium { grid-template-columns: minmax(0, 1fr); } .cg-marche { order: 0 !important; } }
/* Le classement général : la place en gras, les joueurs à la suite, le capitaine marqué C. */
.cg-table { border-collapse: separate; border-spacing: 0; }
.cg-table td { vertical-align: top; }
.cg-place { font-weight: 800; color: var(--text); white-space: nowrap; width: 56px; }
.cg-n { display: flex; gap: 8px; align-items: center; min-width: 150px; }
/* Sur téléphone : place, équipe, flèche ; joueurs et vignettes passent sous le nom de l'équipe. */
.cg-mob { display: none; }
.cg-n b { color: var(--text); }
.cg-js { display: flex; flex-wrap: wrap; gap: 3px 10px; min-width: 200px; }
.cg-js .cap { color: var(--text); font-weight: 700; }
.cg-js .cap::before { content: 'C'; font-size: 9px; font-weight: 800; background: var(--accent); color: #0d0a14; border-radius: 4px; padding: 0 4px; margin-right: 4px; vertical-align: 1px; }
.cg-js .co { color: var(--text); }
.cg-js .co::before { content: 'Co'; font-size: 9px; font-weight: 800; background: rgba(255,255,255,.14); color: var(--text); border-radius: 4px; padding: 0 4px; margin-right: 4px; vertical-align: 1px; }
/* Maquette v3 (11 octobre 2026) : une vignette par match joué, la ligne se déplie sur ses matchs. */
.cg-table .cg-ligne { cursor: pointer; }
.cg-table .cg-ligne td { vertical-align: middle; }
.cg-table .cg-ligne:hover td { background: rgba(255,255,255,.03); }
.cg-table .cg-ligne.ouverte td { background: rgba(255,47,146,.05); }
.cg-vds { display: flex; flex-wrap: wrap; gap: 4px; }
.cg-vd { width: 22px; height: 22px; border-radius: 6px; display: inline-grid; place-items: center; font-size: 11px; font-weight: 800; flex: none; }
.cg-vd.v { background: rgba(47,232,138,.16); color: var(--win); border: 1px solid rgba(47,232,138,.4); }
.cg-vd.d { background: rgba(255,138,153,.12); color: #ff8a99; border: 1px solid rgba(255,138,153,.35); }
.cg-chev { width: 40px; text-align: right; }
.cg-dep { font: inherit; background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 8px; width: 28px; height: 28px; cursor: pointer; }
.cg-dep:hover { color: var(--text); border-color: var(--panel-border); }
.cg-table tr.cg-sous td { padding: 0 8px 12px; border-top: 0; background: rgba(255,47,146,.05); }
.cg-det { display: grid; gap: 0; padding: 6px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.cg-det-l { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: 13px; padding: 8px 4px; cursor: pointer; border-radius: 8px; }
.cg-det-l:hover { background: rgba(255,255,255,.04); }
.cg-det-l + .cg-det-l { border-top: 1px solid var(--line); border-radius: 0; }
.cg-det-n { color: var(--muted); font-weight: 800; min-width: 28px; }
.cg-det-t { color: var(--body); min-width: 150px; }
.cg-det-adv { display: inline-flex; gap: 6px; align-items: center; flex: 1; min-width: 160px; }
.cg-det-adv small { color: var(--muted); }
.cg-det-adv b { color: var(--text); }
.cg-det-sc { font-weight: 800; font-variant-numeric: tabular-nums; }
.cg-det-sc.v { color: var(--win); } .cg-det-sc.d { color: #ff8a99; }
.cg-det-f { font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0 7px; }
.cg-det-vide { color: var(--muted); font-size: 12px; margin: 0; }
@media (max-width: 640px) {
  .cg-table .cg-col { display: none; }
  .cg-mob { display: grid; gap: 6px; margin-top: 6px; }
  .cg-mob .cg-js { min-width: 0; }
  .cg-n { min-width: 0; }
  .cg-table tr.cg-sous td { padding: 0 0 12px; }
  /* Une ligne de match sur deux rangées : vignette, numéro, tour, score ; puis l'adversaire. */
  .cg-det-l { display: grid; grid-template-columns: auto auto 1fr auto; gap: 4px 8px; }
  .cg-det-t { min-width: 0; }
  .cg-det-sc { grid-column: 4; grid-row: 1; }
  .cg-det-adv { grid-column: 2 / -1; min-width: 0; flex-wrap: wrap; }
  .cg-det-f { grid-column: 2 / -1; justify-self: start; }
}
.cg-table tr.moi td { background: rgba(255,47,146,.06); }
.cg-table tr.dq td { opacity: .75; }
.cg-vide { color: var(--muted); font-size: 12px; }
/* ══════════ Salon de partie privée : canal et code (11 octobre 2026, salons-ui.mjs) ══════════
   Jaune : le salon d'une équipe ; cyan : celui d'un caster (comme le cast). */
.sl-bande { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; border-radius: 12px; padding: 10px 14px; background: rgba(255,225,77,.06); border: 1px solid rgba(255,225,77,.35); margin: 0 0 12px; }
.sl-bande.cast { background: rgba(18,224,224,.06); border-color: rgba(18,224,224,.35); }
.sl-k { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--yellow); }
.sl-bande.cast .sl-k { color: var(--cyan); }
.sl-v { display: block; font-size: 22px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.sl-qui { flex-basis: 100%; margin: 0; font-size: 12.5px; color: var(--body); }
.sl-qui b { color: var(--text); }
.sl-acts { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; flex-basis: 100%; }
.sl-champ { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; color: var(--muted); font-weight: 700; }
.sl-champ input { font: inherit; background: var(--surface); border: 1px solid var(--panel-border); color: var(--text); border-radius: 8px; padding: 5px 8px; width: 84px; font-variant-numeric: tabular-nums; }
.sl-champ input:disabled { opacity: .6; }
.sl-pers { display: grid; gap: 8px; }
.sl-per { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.sl-per b { color: var(--text); }
.sl-per .sl-acts { flex-basis: auto; }
.sl-role { font-size: 11px; font-weight: 800; color: var(--cyan); }
.sl-puce { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: #ffe14d; background: rgba(255,225,77,.08); border: 1px solid rgba(255,225,77,.3); border-radius: 999px; padding: 0 8px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sl-puce.cast { color: var(--cyan); background: rgba(18,224,224,.08); border-color: rgba(18,224,224,.3); }
/* ══════════ Micro du cast et manette des joueurs (11 octobre 2026, icones.mjs) ══════════
   Une pastille violette par joueur qui stream, point rouge s'il est en direct ;
   à partir de 3 sur un match, une seule pastille qui ouvre la liste. */
.ic-svg { flex: none; vertical-align: -2px; }
.ca-chip .ic-svg, .ca-nb .ic-svg { color: var(--cyan); }
.mo-stream { gap: 4px; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: rgba(167,139,250,.1); border: 1px solid rgba(167,139,250,.35); color: #c9b8ff; font-size: 11px; line-height: 1.6; }
.mo-stream .ic-svg { color: #a78bfa; }
.mo-stream.yt { background: rgba(255,0,51,.1); border-color: rgba(255,0,51,.4); color: #ffb3c1; }
.mo-stream.yt .ic-svg { color: #ff5a78; }
.mo-stream.dir::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #e5232f; flex: none; }
.mo-sgroupe { position: relative; display: inline-block; vertical-align: middle; }
.mo-sgroupe > summary { list-style: none; cursor: pointer; }
.mo-sgroupe > summary::-webkit-details-marker { display: none; }
.mo-sgroupe[open] > summary { background: rgba(167,139,250,.25); }
/* La liste s'ouvre DANS la case (pas par-dessus) : le tableau défile en largeur
   et couperait une liste flottante. */
.mo-sgroupe[open] { display: block; width: 100%; }
.mo-spop { margin-top: 6px; display: grid; gap: 6px; padding: 8px 10px; border-radius: 10px; background: #1d1729; border: 1px solid rgba(167,139,250,.45); }
.mo-spop-t { font-size: 11px; font-weight: 800; color: #a78bfa; text-transform: uppercase; letter-spacing: .05em; }
.mo-spop-c { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.mo-spop-c .mo-stream { margin-left: 0; }
/* ══════════ Onglet Regarder / Revoir (11 octobre 2026, regarder-ui.mjs) ══════════
   Le lecteur ne se charge qu'au clic : avant, une vignette et un bouton. */
.rg-officiel { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px; align-items: start; border-color: rgba(18,224,224,.35); background: linear-gradient(135deg, rgba(18,224,224,.07), rgba(255,255,255,.02)); }
@media (max-width: 760px) { .rg-officiel { grid-template-columns: minmax(0, 1fr); } }
.rg-ecran { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #1b1528; }
.rg-ecran iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rg-vide { display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, rgba(255,47,146,.3), transparent 55%), radial-gradient(circle at 75% 70%, rgba(18,224,224,.3), transparent 55%), #1b1528; }
.rg-vide.yt { background: radial-gradient(circle at 40% 40%, rgba(255,60,60,.35), transparent 60%), #1b1528; }
.rg-play { width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255,255,255,.14); color: #fff; font-size: 22px; }
.rg-play.rouge { background: #e5232f; }
.rg-play:hover { background: rgba(255,255,255,.24); }
.rg-play.rouge:hover { background: #ff3b47; }
.rg-charge { position: absolute; bottom: 10px; right: 10px; font-size: 11px; color: #fff; background: rgba(0,0,0,.45); border-radius: 5px; padding: 1px 7px; }
.rg-live { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: #e5232f; border-radius: 5px; padding: 2px 7px; }
.rg-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
@media (max-width: 560px) { .rg-charge { display: none; } }
.rg-infos { display: grid; gap: 8px; align-content: start; min-width: 0; }
.rg-infos p { margin: 0; }
.rg-infos .tn-bt { justify-self: start; text-decoration: none; }
.rg-eti { display: inline-flex; gap: 6px; align-items: center; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.rg-eti.rouge { color: #ff6b6b; }
.rg-chaine { font-weight: 800; color: var(--cyan); text-decoration: none; overflow-wrap: anywhere; }
.rg-titre { color: var(--text); font-size: 16px; }
.rg-vs { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; color: var(--text); }
.rg-vs small { color: var(--muted); }
.rg-pm { display: grid; gap: 10px; }
.rg-m { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--surface); display: grid; gap: 8px; }
.rg-m-t { font-size: 13px; line-height: 1.6; }
.rg-m-t b { color: var(--text); }
.rg-sjs { display: flex; flex-wrap: wrap; gap: 6px; }
.rg-sj { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--body); border: 1px solid rgba(167,139,250,.35); background: rgba(167,139,250,.08); border-radius: 999px; padding: 3px 10px 3px 8px; font-size: 12.5px; }
.rg-sj .ic-svg { color: #a78bfa; }
.rg-sj b { color: var(--text); }
.rg-sj small { color: var(--muted); }
.rg-d { font-size: 9.5px; font-weight: 800; text-transform: uppercase; color: #fff; background: #e5232f; border-radius: 4px; padding: 0 5px; }
.rg-prochains { display: grid; gap: 6px; }
.rg-prochains > div { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; font-size: 13px; padding: 8px 10px; border-radius: 10px; background: var(--surface); }
.rg-prochains b { color: var(--text); }
.rg-h { color: var(--cyan); font-weight: 800; min-width: 52px; font-variant-numeric: tabular-nums; }
.rg-vids { display: grid; gap: 6px; }
.rg-vid { font: inherit; text-align: left; color: var(--body); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; cursor: pointer; }
.rg-vid[aria-pressed="true"] { border-color: rgba(255,107,107,.6); }
.rg-vid b { color: var(--text); font-size: 12.5px; }
.rg-case { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; }
.rg-case b { display: block; color: var(--text); }
.rg-case small { color: var(--muted); }
.rg-ytl { display: grid; gap: 8px; }
.rg-ytl > b { color: var(--text); font-size: 13px; }
.rg-url, .rg-tit { font: inherit; font-size: 13px; background: var(--surface); border: 1px solid var(--panel-border); color: var(--text); border-radius: 8px; padding: 6px 9px; }
.rg-url { width: min(340px, 100%); } .rg-tit { width: min(240px, 100%); }

/* ══════════ Onglet Matchs (11 octobre 2026, maquette « Onglet Matchs d'un tournoi »,
   tournois-matchs-ui.mjs) ══════════
   Préfixe tm- : mt- est pris par la page des matchs de la ligue (matchs.css).
   Mêmes codes que la barre « Aujourd'hui » de la ligue : rouge = en direct (casté),
   cyan = en cours, jaune = à lancer et « Ton match ». */
.tm-filtres { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-bottom: 14px; }
.tm-seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--surface2); border-radius: 999px; padding: 3px; background: rgba(13,10,20,.5); }
.tm-seg button { font: inherit; font-size: 12.5px; font-weight: 800; border: 0; background: none; color: var(--muted); padding: 5px 12px; border-radius: 999px; cursor: pointer; }
.tm-seg button[aria-pressed="true"] { background: rgba(255,255,255,.1); color: var(--text); }
.tm-compte { margin-left: auto; font-size: 12.5px; color: var(--muted); }
.tm-compte b { color: var(--text); }
/* En ce moment */
.tm-moment { border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 14px 16px 16px; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(255,47,146,.07), rgba(18,224,224,.04)); }
.tm-moment-tete { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 12px; }
.tm-moment-tete h2 { margin: 0; font-size: 17px; color: var(--text); }
.tm-moment-tete span { color: var(--muted); font-size: 12.5px; }
.tm-cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 10px; }
.tm-c { display: flex; flex-direction: column; gap: 7px; min-width: 0; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--panel-border); cursor: pointer; }
.tm-c:hover { border-color: rgba(255,255,255,.28); }
.tm-c.direct { border-color: rgba(229,48,74,.6); }
.tm-c.cours { border-color: rgba(18,224,224,.45); }
.tm-c.moi { box-shadow: 0 0 0 2px var(--yellow); }
.tm-c-haut { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 7px; font-size: 12px; font-weight: 800; color: var(--muted); }
.tm-c-haut b { color: var(--text); }
.tm-c-eq { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--text); }
.tm-c-n { display: flex; align-items: center; gap: 7px; min-width: 0; }
.tm-c-n > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-c-s { font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
.tm-c-manche { font-size: 11.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 7px; }
.tm-c-manche b { color: var(--body); }
.tm-etat { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 900; letter-spacing: .05em; border-radius: 5px; padding: 0 6px; white-space: nowrap; }
.tm-etat.live { color: #fff; background: #e5232f; padding: 1px 6px; }
.tm-etat.live::before, .tm-etat.cours::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tm-etat.cours { color: var(--cyan); border: 1px solid rgba(18,224,224,.45); }
.tm-etat.lancer { color: var(--yellow); border: 1px solid rgba(255,225,77,.45); }
.tm-ton { color: var(--yellow); font-weight: 800; }
/* Les deux colonnes ; sur téléphone, « À venir » d'abord */
.tm-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 760px) { .tm-cols { grid-template-columns: minmax(0, 1fr); } .tm-avenir { order: -1; } }
.tm-col { margin: 0; min-width: 0; }
.tm-col h2 small { color: var(--muted); font-weight: 600; font-size: 12px; margin-left: 4px; }
.tm-liste { display: grid; gap: 6px; }
.tm-tour { font-size: 11px; font-weight: 800; color: #b6a9ff; text-transform: uppercase; letter-spacing: .06em; margin: 6px 0 -2px; }
.tm-vide { color: var(--muted); font-size: 13px; margin: 0; }
/* Une ligne : numéro | équipe a | score | équipe b, puis l'état et les pastilles */
.tm-l { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto minmax(0, 1fr); gap: 4px 10px; align-items: center; padding: 8px 10px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--line); cursor: pointer; font-size: 13.5px; }
.tm-l:hover { border-color: rgba(255,255,255,.22); }
.tm-l.moi { box-shadow: inset 3px 0 0 var(--yellow); }
.tm-num { font-weight: 800; color: var(--muted); font-size: 12px; }
.tm-ea, .tm-eb { display: flex; align-items: center; gap: 7px; min-width: 0; color: var(--text); font-weight: 700; }
.tm-ea { justify-content: flex-end; text-align: right; }
.tm-nom { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-ea.g, .tm-eb.g { font-weight: 800; }
.tm-ea.p, .tm-eb.p { color: var(--muted); font-weight: 600; }
.tm-src { color: var(--muted); font-style: italic; font-weight: 600; }
.tm-sc { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--text); min-width: 44px; text-align: center; font-size: 14.5px; }
.tm-sc.vs { color: var(--muted); font-weight: 700; font-size: 12px; }
.tm-pied { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 11.5px; color: var(--muted); }
.tm-quand { margin-right: auto; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 4px; }
.tm-pst { display: inline-flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.tm-pst .ca-dif { padding: 0; }
.tm-pst .mo-stream { margin-left: 0; }
.tm-pst .mo-sgroupe[open] { flex-basis: 100%; }
.tm-replie { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px dashed var(--panel-border); border-radius: 10px; font: inherit; font-size: 12.5px;
  color: var(--body); cursor: pointer; background: none; text-align: left; }
.tm-replie b { color: var(--win); }
.tm-replie span { margin-left: auto; color: var(--cyan); font-weight: 700; }
@media (max-width: 520px) {
  .tm-l { grid-template-columns: 34px minmax(0, 1fr) auto; }
  .tm-ea { grid-column: 2; justify-content: flex-end; flex-direction: row-reverse; text-align: left; }
  .tm-eb { grid-column: 2; }
  .tm-sc { grid-row: 1 / span 2; grid-column: 3; }
}
/* Après le tournoi : par tour, la fin en haut, deux blocs par rangée sur ordinateur (les groupes côte à côte) */
.tm-phases { display: grid; gap: 14px; }
.tm-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 12px; align-items: start; }

/* ══════════ Fiche du match : manches, maps et joueurs (11 octobre 2026, maquette
   « Fiche du match : manches, maps et joueurs », tournois-fiche-ui.mjs, préfixe fp-) ══════════
   Le panneau passe de 520 à 640 px (.fi-panneau plus haut) pour que les tableaux tiennent. */
.fp { display: grid; gap: 12px; margin-top: 12px; }
.fp-fil { display: grid; grid-template-columns: repeat(var(--n), minmax(96px, 1fr)); gap: 6px; overflow-x: auto; padding-bottom: 2px; }
.fp-fil button { font: inherit; text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 7px 8px; cursor: pointer;
  display: grid; gap: 2px; min-width: 0; color: var(--body); }
.fp-fil button:hover { border-color: rgba(255,255,255,.22); }
.fp-fil button[aria-pressed="true"] { border-color: rgba(255,255,255,.35); background: var(--surface2); }
.fp-fil .k { font-size: 10.5px; font-weight: 800; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; }
.fp-fil .m { display: flex; align-items: flex-start; gap: 5px; font-size: 12px; font-weight: 700; color: var(--text); line-height: 1.25; min-height: 30px; }
.fp-fil .w { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fp-fil button.avenir { border-style: dashed; opacity: .75; }
.fp-fil button.encours { border-color: rgba(18,224,224,.5); }
.fp-fil button.doute { border-color: rgba(255,225,77,.5); }
.fp-fil button.doute .w { color: var(--yellow); }
.fp-md { width: 16px; height: 16px; object-fit: contain; flex-shrink: 0; }
.fp-vues { display: flex; gap: 4px; border-bottom: 1px solid var(--line); }
.fp-vues button { font: inherit; font-weight: 800; font-size: 13px; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); padding: 7px 10px; cursor: pointer; }
.fp-vues button[aria-pressed="true"] { color: var(--text); border-color: var(--accent); }
/* Une manche : la map en bannière, le résultat, la part d'encrage, les deux tableaux */
.fp-manche { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); }
.fp-ban { position: relative; min-height: 84px; padding: 12px 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px;
  background: var(--img, linear-gradient(120deg, #2a2340, #1b1528)) center / cover no-repeat; border-bottom: 1px solid var(--line); }
.fp-ban::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,10,20,.92) 35%, rgba(13,10,20,.35)); }
.fp-ban > * { position: relative; }
.fp-num { position: absolute; top: 10px; right: 12px; font-size: 11px; font-weight: 800; color: var(--text); background: rgba(13,10,20,.6); border-radius: 999px; padding: 2px 9px; }
.fp-mode { display: flex; align-items: center; gap: 7px; font-weight: 800; color: var(--text); font-size: 15px; }
.fp-mode .fp-md { width: 20px; height: 20px; }
.fp-map { font-size: 12.5px; color: var(--body); }
.fp-ecart { font-size: 11px; color: var(--yellow); }
.fp-res { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 13px; }
.fp-gagne { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--text); }
.fp-gagne small { color: var(--win); font-weight: 800; text-transform: uppercase; font-size: 10.5px; letter-spacing: .05em; }
.fp-chiffres { margin-left: auto; display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--muted); font-size: 12px; }
.fp-chiffres b { color: var(--text); font-variant-numeric: tabular-nums; }
.fp-part { padding: 8px 14px 10px; }
.fp-part small { font-size: 11.5px; color: var(--muted); }
.fp-barre { height: 6px; border-radius: 999px; background: rgba(167,139,250,.6); overflow: hidden; margin-top: 4px; }
.fp-barre i { display: block; height: 100%; background: #ffd23d; }
.fp-eqs { display: grid; gap: 10px; padding: 0 14px 14px; }
.fp-eq { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text); margin-bottom: 4px; }
.fp-vd { font-size: 10.5px; font-weight: 900; border-radius: 5px; padding: 0 6px; }
.fp-vd.v { background: rgba(47,232,138,.16); color: var(--win); } .fp-vd.d { background: rgba(255,138,153,.12); color: #ff8a99; }
.fp-tab { overflow-x: auto; }
.fp-tab table { border-collapse: collapse; width: 100%; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.fp-tab th { text-align: right; color: var(--muted); font-weight: 700; font-size: 10px; letter-spacing: .04em; text-transform: uppercase; padding: 4px 6px; white-space: nowrap; }
.fp-tab th:first-child { text-align: left; }
.fp-tab td { padding: 6px; border-top: 1px solid var(--line); text-align: right; white-space: nowrap; color: var(--body); }
.fp-tab td.j { text-align: left; white-space: normal; min-width: 130px; }
.fp-tab td.top { color: var(--yellow); font-weight: 800; }
.fp-tab td.pm { font-weight: 800; color: var(--text); }
.fp-nom { color: var(--text); font-weight: 700; }
.fp-nom.jeu { color: var(--body); font-style: italic; }
.fp-jeu { display: block; font-size: 11px; font-weight: 600; color: var(--muted); margin-top: 1px; }
.fp-arme { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--muted); flex-wrap: wrap; }
.fp-arme img { width: 18px; height: 18px; object-fit: contain; }
.fp-pale { color: var(--muted); }
.fp-mvp { font-size: 9.5px; font-weight: 900; letter-spacing: .05em; color: #0d0a14; background: var(--yellow); border-radius: 4px; padding: 0 5px; margin-left: 5px; vertical-align: 1px; }
.fp-deco { font-size: 10px; color: #ff8a99; font-weight: 700; margin-left: 5px; }
.fp-vide { margin: 0; padding: 12px 14px; font-size: 12.5px; color: var(--muted); }
.fp-cumul { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--surface); }
/* L'organisation : la ligne de contrôle de la manche (statut, décisions, détail SplatNet) */
.fp-orga { margin: 0 14px 14px; border: 1px dashed rgba(18,224,224,.35); border-radius: 12px; padding: 10px 12px; background: rgba(18,224,224,.04); display: grid; gap: 6px; }
.fp > .fp-orga { margin: 0; }
.fp-orga > b { color: var(--cyan); font-size: 12.5px; }
@media (max-width: 520px) {
  .fp-tab td, .fp-tab th { padding: 5px 4px; }
  .fp-tab td.j { min-width: 0; }
  .fp-chiffres { margin-left: 0; }
}

/* Choix rapides sous un champ numérique (Équipes au maximum : 4, 8, 16…), voir choixRapides (tournois-ui.mjs). */
.tn-rapides { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 6px; }
.tn-rapides button { font: inherit; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; cursor: pointer;
  color: var(--muted); background: var(--surface); border: 1px solid var(--surface2); font-variant-numeric: tabular-nums; }
.tn-rapides button:hover { color: var(--text); }
.tn-rapides button[aria-pressed="true"] { color: #0d0a14; background: var(--cyan); border-color: var(--cyan); }
/* Tournoi caché (Administration › Tournois) : le bandeau d'aperçu, en rouge. */
.tn-apercu.tn-cache { border-color: rgba(255,138,153,.45); background: rgba(255,138,153,.07); }
.tn-apercu.tn-cache b { color: #ff8a99; }

/* Tournoi sur invitation (11 octobre 2026) : équipes invitées et réglages « bientôt ». */
.ti-liste { display: grid; gap: 6px; }
.ti-ligne { display: grid; grid-template-columns: 28px minmax(0,1fr) auto auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: rgba(13,10,20,.45); border: 1px solid rgba(255,255,255,.08); font-size: 13px; }
.ti-nom { min-width: 0; }
.ti-nom b { color: var(--text); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ti-nom small { color: var(--muted); font-size: 11.5px; }
.ti-etat { font-size: 10.5px; font-weight: 800; border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.ti-etat.vert { background: rgba(47,232,138,.13); color: #2fe88a; }
.ti-etat.jaune { background: rgba(255,225,77,.14); color: var(--yellow); }
.ti-etat.rouge { background: rgba(255,138,153,.13); color: #ff8a99; }
@media (max-width: 520px) { .ti-ligne { grid-template-columns: 28px minmax(0,1fr) auto; } .ti-ligne .ti-etat { grid-column: 2; justify-self: start; } }
.tn-champ.rg-bientot { opacity: .55; }

/* ══════════ Menus « ⋯ » et pastilles de rôle (maquette « Gérer une équipe », 11 octobre 2026) ══════════
   public/js/menus-ui.mjs : le menu est en position fixe (placé à l'ouverture),
   pour ne pas être coupé par une liste en overflow: hidden. */
.mn-kebab { width: 32px; height: 32px; border-radius: 10px; border: 1px solid var(--surface2); background: rgba(13,10,20,.45); color: var(--text); font: inherit; font-size: 17px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0; flex: none; }
.mn-kebab:hover, .mn-kebab[aria-expanded="true"] { border-color: var(--muted); background: var(--surface2); }
.mn-role { font: inherit; font-size: 12px; font-weight: 800; border-radius: 999px; padding: 4px 10px; border: 1px solid var(--surface2); background: transparent; color: var(--body); white-space: nowrap; }
button.mn-role { cursor: pointer; }
button.mn-role:hover, button.mn-role[aria-expanded="true"] { border-color: var(--muted); color: var(--text); }
.mn-role.cap { color: var(--yellow); border-color: rgba(255,225,77,.45); background: rgba(255,225,77,.08); }
.mn-role.co { color: #c9bfff; border-color: rgba(169,139,255,.45); background: rgba(169,139,255,.08); }
.mn-role .fl { opacity: .7; margin-left: 2px; }
/* Le menu se reconnaît à role="menu" et pas à la seule classe .mn : la fiche Ligue
   (public/js/fiche-ligue-equipe.js) appelle aussi « .mn » la ligne du nom d'un
   joueur, et sur equipe.html les deux feuilles se croisent. Sans cette précision,
   les noms passaient en position fixe hors des cartes (bug du 12 octobre 2026). */
.mn-kebab:focus-visible, .mn-role:focus-visible, .mn[role="menu"] [role="menuitem"]:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.mn[role="menu"] { position: fixed; z-index: 70; min-width: 240px; max-width: min(320px, calc(100vw - 16px)); background: #1f1930; border: 1px solid #3a3150; border-radius: 12px; padding: 6px; box-shadow: 0 14px 40px rgba(0,0,0,.5); display: grid; gap: 2px; text-align: left; }
.mn[role="menu"][hidden] { display: none; }
.mn[role="menu"] [role="menuitem"] { font: inherit; text-align: left; background: none; border: 0; color: var(--text); border-radius: 8px; padding: 8px 10px; cursor: pointer; display: grid; gap: 1px; text-decoration: none; }
.mn[role="menu"] [role="menuitem"]:hover:not([disabled]) { background: rgba(255,255,255,.06); }
.mn[role="menu"] [role="menuitem"][disabled] { opacity: .5; cursor: not-allowed; }
.mn[role="menu"] [role="menuitem"] b { font-size: 13.5px; }
.mn[role="menu"] [role="menuitem"] small { color: var(--muted); font-size: 12px; font-weight: 500; }
.mn[role="menu"] .danger b { color: #ff8f8f; }
.mn[role="menu"] .coche b::after { content: " ✓"; color: var(--win); }
.mn-titre { margin: 0; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 6px 10px 2px; }
.mn-sep { height: 1px; background: var(--line); margin: 4px 6px; }
/* Une ligne de joueur avec pastille et « ⋯ » : avatar, nom, rôle, menu. */
.eq-j.mn-ligne { grid-template-columns: 34px minmax(0, 1fr) auto 32px; }
.eq-j.mn-ligne .mn-place { width: 32px; }
@media (max-width: 760px) {
  .eq-j.mn-ligne { grid-template-columns: 30px minmax(0, 1fr) auto 32px; }
}
/* Inviter : trois onglets (lien, anciens coéquipiers, chercher). */
.eq-inviter { border: 1px dashed #3a3150; border-radius: 14px; padding: 12px; display: grid; gap: 10px; }
.eq-onglets { display: flex; gap: 4px; flex-wrap: wrap; }
.eq-onglets button { font: inherit; font-size: 12.5px; font-weight: 700; padding: 5px 11px; border-radius: 999px; color: var(--muted); border: 1px solid var(--surface2); background: none; cursor: pointer; }
.eq-onglets button[aria-selected="true"] { color: var(--text); background: var(--surface2); border-color: #3a3150; }
.eq-inviter .eq-lien, .eq-inviter .eq-recherche { margin-top: 0; }
.eq-inviter .tn-note { margin: 0; }
/* Mes équipes : liens sous l'en-tête (Olympe, fiche) et intertitre avec sa note à droite. */
.eq-liens { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 6px 0 4px; }
.eq-liens a.tn-bt { text-decoration: none; }
.eq-sep-l { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
/* En-tête avec menu « ⋯ » : le menu reste en haut à droite, même sur téléphone. */
.eq-tete-mn { flex-wrap: nowrap; align-items: flex-start; }
.eq-tete-mn > div:nth-child(2) { flex: 1; min-width: 0; }
.eq-sep-l small { letter-spacing: 0; text-transform: none; font-weight: 600; font-size: 11.5px; }

/* ══════════ Onglet Équipes : cartes et panneau d'une équipe (maquette « Gérer une équipe », 11 octobre 2026) ══════════ */
/* Le bouton qui couvre la carte (ouvre le panneau) ; les boutons de l'organisateur passent dessus (.in-dessus). */
.in-eq { cursor: pointer; }
.in-eq:hover { border-color: rgba(255,255,255,.28); }
.in-eq-ouvrir { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; border: 0; padding: 0; background: none; border-radius: inherit; cursor: pointer; }
.in-eq-ouvrir:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.in-eq .in-dessus, .in-eq a { position: relative; z-index: 2; }
.in-moi-tag { position: absolute; top: -9px; left: 14px; font-size: 10.5px; font-weight: 800; background: var(--yellow); color: #1a0f1f; border-radius: 999px; padding: 1px 8px; }
.in-pile { display: flex; align-items: center; margin: 2px 0 8px; min-height: 26px; }
.in-pile-av { display: inline-flex; margin-left: -7px; border-radius: 50%; box-shadow: 0 0 0 2px var(--surface);
  /* Un bouton (16 octobre 2026) au-dessus du bouton de la carte, pour que le nom s'affiche au survol. */
  position: relative; z-index: 2; border: 0; padding: 0; background: none; cursor: pointer; font: inherit; color: inherit; transition: transform .12s; }
.in-pile-av:hover, .in-pile-av:focus-visible { transform: translateY(-2px); z-index: 3; }
.in-pile-av:focus-visible { outline: 2px solid var(--cyan); outline-offset: 1px; }
@media (prefers-reduced-motion: reduce) { .in-pile-av { transition: none; } }
.in-pile-av:first-child { margin-left: 0; }
.in-pile-vide { width: 26px; height: 26px; border-radius: 50%; border: 2px dashed #3a3150; margin-left: -7px; flex: none; }
.in-pile-av:first-child + .in-pile-vide, .in-pile > .in-pile-vide:first-child { margin-left: 0; }
.in-pile-plus { font-size: 11px; font-weight: 800; color: var(--muted); margin-left: 4px; }
.in-pile small { margin-left: 8px; color: var(--muted); font-size: 12px; }
.in-pied { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; font-size: 12px; }
.in-pied .in-manque { margin: 0; }
.in-cap { margin-left: auto; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 55%; }

/* Le panneau : à droite sur ordinateur, en bas sur téléphone. Pas de transform
   (les menus « ⋯ » en position fixe se placeraient mal dedans). */
.eqp-fond { position: fixed; inset: 0; z-index: 64; border: 0; padding: 0; margin: 0; background: rgba(5,3,10,.55); cursor: default; }
.eqp { position: fixed; z-index: 65; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); overflow-y: auto; background: #15111f; border-left: 1px solid #3a3150; box-shadow: -18px 0 50px rgba(0,0,0,.45);
  padding: calc(16px + env(safe-area-inset-top, 0px)) 16px calc(20px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 12px; }
.eqp-tete { display: flex; align-items: center; gap: 10px; }
.eqp-tete .t { flex: 1; min-width: 0; }
.eqp-tete b { display: block; color: var(--text); font-size: 17px; overflow-wrap: anywhere; }
.eqp-tete small { color: var(--muted); font-size: 12.5px; }
.eqp-chips { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.eqp .eq-sous { margin-bottom: 0; }
.eqp .tn-note { margin: 0; }
.eqp .tn-msg { margin: 0; }
.eqp > .tn-bt { align-self: flex-start; }
.eqp-fiche { color: var(--cyan); font-weight: 700; font-size: 13px; text-decoration: none; margin-top: 4px; }
.eqp-fiche:hover { text-decoration: underline; }
/* Lot 417 : la section Modération du panneau d'une équipe (organisateurs). */
.eq-mod { border: 1px solid rgba(255,47,146,.35); border-radius: 12px; overflow: hidden; }
.eq-mod-t { padding: 9px 12px; background: rgba(255,47,146,.08); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #ff9cc9; }
.eq-mod-l { display: grid; gap: 7px; padding: 11px 12px; border-top: 1px solid rgba(255,255,255,.08); }
.eq-mod-t + .eq-mod-l { border-top: 0; }
.eq-mod-l > b { color: var(--text); font-size: 13px; }
.eq-mod-ligne { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.eq-mod-ligne input { flex: 1 1 160px; min-width: 0; }
/* Les champs comme la recherche du panneau (.eq-recherche input). */
.eq-mod input, .eq-mod select, .eq-mod textarea { background: var(--surface); border: 1px solid var(--surface2); border-radius: 10px; padding: 8px 11px;
  color: var(--text); font: inherit; font-size: 12.5px; color-scheme: dark; }
.eq-mod textarea { width: 100%; resize: vertical; }
@media (max-width: 600px) {
  .eqp { top: auto; left: 0; width: 100%; max-height: 86vh; border-left: 0; border-top: 1px solid #3a3150; border-radius: 18px 18px 0 0; box-shadow: 0 -18px 50px rgba(0,0,0,.45); }
}
/* Panneau ouvert : la barre d'onglets du téléphone (hors de .content, donc
   au-dessus de tout ce qu'il contient) se cache le temps du panneau. */
body:has(.eqp) .barre-mobile { display: none; }

/* ══ Texte riche (12 octobre 2026) : présentations de tournoi et de série ══
   Rendu : /js/texte-riche.mjs (rendreTexteRiche), dans un conteneur
   .texte-riche. Éditeur : barre de boutons au-dessus du champ (.tr-editeur). */
.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); }
.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 var(--panel-border); 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 var(--panel-border); border-radius: 10px; padding: 12px 14px; min-height: 120px; }
.tr-vide { color: var(--muted); }
.tr-aide { margin: 0; font-size: 11.5px; color: var(--muted); }
.tn-bloc .texte-riche p, .tn-bloc .texte-riche li { margin: 0; white-space: normal; color: var(--body); font-size: 13.5px; }

/* ══════════ Joueurs disponibles (12 octobre 2026, maquette « Joueurs disponibles ») ══════════
   public/js/disponibles-ui.mjs : le bloc de la Présentation (dp-bloc), l'onglet
   Disponibles (dp-filtres, dp-grille, dp-carte) ; la pioche (eq-puce.in-dispo). */
.dp-bloc { border: 1px solid rgba(47,232,138,.35); background: linear-gradient(110deg, rgba(47,232,138,.10), transparent 70%), var(--surface); border-radius: 14px; padding: 14px 16px; display: grid; gap: 10px; margin-bottom: 14px; }
.dp-bloc b { color: var(--text); display: block; } .dp-bloc small { color: var(--muted); font-size: 12.5px; }
.dp-tete { display: flex; gap: 10px; align-items: center; min-width: 0; }
.dp-tete > div { min-width: 0; } .dp-tete b a { color: inherit; } .dp-tete small { display: block; color: var(--muted); font-size: 12px; }
.dp-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.tn-bt.dp-vert { background: rgba(47,232,138,.14); color: #2fe88a; border: 1px solid rgba(47,232,138,.45); }
.tn-bt.dp-vert:hover { background: rgba(47,232,138,.22); color: #2fe88a; }
.dp-roles, .dp-filtres { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.dp-filtres { margin-bottom: 14px; }
.dp-role { font: inherit; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--body); background: transparent; cursor: pointer; }
.dp-role[aria-pressed="true"] { border-color: rgba(18,224,224,.55); color: var(--cyan); background: rgba(18,224,224,.08); }
.dp-coche { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--text); font-weight: 600; cursor: pointer; }
.dp-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin-bottom: 14px; }
.dp-carte { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 14px; display: grid; gap: 10px; align-content: start; }
.dp-carte.moi { border-color: rgba(47,232,138,.45); }
.dp-carte q { font-size: 13px; color: var(--body); quotes: "« " " »"; overflow-wrap: anywhere; }
.dp-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.dp-tags .dp-r { color: var(--cyan); background: rgba(18,224,224,.1); } .dp-tags .dp-s { color: #c9bfff; background: rgba(169,139,255,.12); }
.dp-pied { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.06); padding-top: 10px; }
.dp-ok { font-size: 12px; font-weight: 800; color: #2fe88a; }
.eq-puce.in-dispo { border-color: rgba(47,232,138,.45); }
.tm-c-manche .ico-mode { margin-right: 4px; }

/* Ménage à chaque édition (12 octobre 2026, onglet Bot Discord de la série) : vidés, supprimés, gardés. */
.mn-trois { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 12px 0 6px; }
.mn-col { border: 1px solid var(--surface2); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.mn-col h3 { margin: 0 0 6px; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }
.mn-col.vide h3 { color: var(--yellow, #ffe14d); } .mn-col.suppr h3 { color: #ff8a8a; } .mn-col.garde h3 { color: var(--win, #2fe88a); }
.mn-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 3px; font-size: 13px; overflow-wrap: anywhere; }
.mn-col p { margin: 6px 0 0; color: var(--muted); font-size: 11.5px; }
@media (max-width: 640px) { .mn-trois { grid-template-columns: minmax(0, 1fr); } }
/* L'encart du pilotage, juste avant l'annonce des inscriptions. */
.an-menage { background: rgba(255,225,77,.07); border: 1px solid rgba(255,225,77,.3); border-radius: 12px; padding: 10px 12px; font-size: 13px; margin: 10px 0 12px; }
.an-menage.fait { background: rgba(47,232,138,.06); border-color: rgba(47,232,138,.3); }
.an-menage b { color: var(--text); }

/* ══════════ Score des manches et départage (13 octobre 2026) ══════════ */
/* Le détail des manches sous un match : « 100-36 · 87-77 », KO en rose. */
.mo-mchs { display: flex; gap: 5px; flex-wrap: wrap; margin: -2px 0 6px; }
.mo-mchs.large { padding-left: 98px; }
.mo-mch { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 6px; background: rgba(255,255,255,.06); color: var(--muted); font-variant-numeric: tabular-nums; }
.mo-mch.ko { background: rgba(255,47,146,.13); color: #ff7ab8; }
.mo-classt td.mo-ds { font-weight: 800; } .mo-classt td.mo-ds.p { color: var(--win); } .mo-classt td.mo-ds.m { color: #ff8a99; }
.mo-classt td.mo-ds.vide, .mo-classt td.vide { color: var(--muted); font-weight: 400; }
.mo-classt sup, sup.mo-et { color: var(--yellow); font-weight: 800; margin-left: 1px; }
.mo-classt th[title] { cursor: help; }
p.mo-egal { margin-top: 6px; }
@media (max-width: 640px) { .mo-mchs.large { padding-left: 0; } }
/* Pilotage › Départage (maquette « Départage des égalités ») */
.dg { display: flex; flex-direction: column; gap: 12px; }
.dg > p.aide { margin: 0; color: var(--muted); font-size: 13px; }
.dg-carte { background: var(--surface); border: 1px solid var(--surface2); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.dg-tete { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dg-tete h3 { margin: 0; font-size: 16px; }
.dg-ph { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: rgba(157,140,255,.16); color: #b6a9ff; font-size: 11.5px; font-weight: 900; flex: none; }
.tn-badge.gris { background: rgba(255,255,255,.07); color: var(--muted); }
.dg-lien { margin-left: auto; background: none; border: 0; padding: 0; font: inherit; font-size: 12.5px; font-weight: 800; color: var(--cyan); cursor: pointer; }
.dg-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.dg-duo > * { min-width: 0; }
.dg-crits { display: flex; flex-direction: column; gap: 6px; }
.dg-crit { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 10px; border: 1px solid var(--surface2); border-radius: 10px; background: rgba(13,10,20,.45); }
.dg-crit .rg { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 11.5px; font-weight: 900; background: rgba(255,255,255,.07); color: var(--body); }
.dg-crit.on .rg { background: rgba(255,47,146,.18); color: #ff7ab8; }
.dg-crit b { display: block; font-size: 13.5px; color: var(--text); } .dg-crit small { display: block; color: var(--muted); font-size: 12px; }
.dg-col { display: inline-block; font-size: 10.5px; font-weight: 800; padding: 1px 7px; border-radius: 6px; background: rgba(255,255,255,.07); color: var(--body); margin-left: 6px; vertical-align: 1px; }
.dg-col.nouv { background: rgba(18,224,224,.12); color: var(--cyan); }
.dg-acts { display: flex; gap: 4px; align-items: center; }
.dg-acts button { width: 28px; height: 28px; border-radius: 7px; border: 1px solid var(--surface2); background: transparent; color: var(--body); cursor: pointer; font: inherit; font-weight: 900; padding: 0; }
.dg-acts button:disabled { opacity: .3; cursor: default; }
.dg-acts .dg-bascule { width: 38px; height: 22px; border-radius: 999px; border: 0; background: var(--surface2); position: relative; }
.dg-bascule::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: left .15s; }
.dg-acts .dg-bascule[aria-pressed="true"] { background: var(--accent); } .dg-bascule[aria-pressed="true"]::after { left: 19px; background: #fff; }
.dg-crit.fixe { background: transparent; border-style: dashed; }
.dg-crit.off { opacity: .55; } .dg-crit.off .rg { background: transparent; border: 1px dashed var(--surface2); color: transparent; }
.dg-sep { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 8px 2px 6px; }
.dg-derniers { display: flex; flex-direction: column; gap: 6px; }
.dg-dernier { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 9px; align-items: start; padding: 8px 10px; border: 1px solid var(--surface2); border-radius: 10px; cursor: pointer; font: inherit; font-size: 13px; color: var(--body); background: transparent; text-align: left; }
.dg-dernier.on { border-color: rgba(255,47,146,.5); background: rgba(255,47,146,.06); }
.dg-dernier i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #4a4360; margin-top: 2px; }
.dg-dernier.on i { border-color: var(--accent); background: radial-gradient(var(--accent) 45%, transparent 50%); }
.dg-dernier b { color: var(--text); } .dg-dernier small { display: block; color: var(--muted); font-size: 12px; }
.dg-ex { border: 1px solid rgba(18,224,224,.3); background: rgba(18,224,224,.03); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.dg-ex h4 { margin: 0; font-size: 13.5px; } .dg-ex p { margin: 0; font-size: 12.5px; color: var(--body); white-space: normal; }
.dg-ex .tn-note { color: var(--muted); }
.dg-tab .mo-classt td, .dg-tab .mo-classt th { padding-inline: 5px; }
.dg-eq { display: inline-flex; align-items: center; gap: 7px; }
.dg-lg { width: 20px; height: 20px; border-radius: 6px; display: inline-grid; place-items: center; font-size: 10.5px; font-weight: 900; color: #0d0a14; flex: none; }
.mo-classt td.dg-par { color: var(--yellow); font-size: 11.5px; font-weight: 700; white-space: normal; text-align: left; }
.mo-classt th.dg-par { white-space: normal; text-align: left; }
.dg-alerte { padding: 9px 11px; border-radius: 10px; background: rgba(255,225,77,.07); border: 1px solid rgba(255,225,77,.3); }
.dg-fige { margin: 0; padding: 10px 12px; border-radius: 10px; font-size: 12.5px; color: var(--body); background: rgba(255,255,255,.04); border: 1px dashed var(--surface2); }
.dg-resume { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12.5px; color: var(--body); }
.dg-resume span { padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.06); font-weight: 700; }
.dg-resume em { font-style: normal; color: var(--muted); }
@media (max-width: 900px) { .dg-duo { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) {
  .dg-crit { grid-template-columns: 24px minmax(0, 1fr); } .dg-crit .dg-acts { grid-column: 2; }
  .dg-tab .mo-classt th:nth-child(4), .dg-tab .mo-classt td:nth-child(4) { display: none; }
  .mo-classt td.dg-par, .mo-classt th.dg-par { font-size: 10.5px; }
}
.mo-sous .mo-dec-bo { text-transform: none; letter-spacing: 0; font-weight: 700; color: var(--body); margin-left: 6px; }
.mo-dec-prog { font-size: 12px; color: var(--muted); margin: -4px 0 6px; }
/* Onglets Disponibles et Équipes : le bloc « Je suis disponible » et l'inscription en tête, sans s'étirer (13 octobre 2026). */
.dp-haut { max-width: 560px; }
.dp-ligne { display: flex; gap: 8px 12px; align-items: center; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.dp-ligne b { color: var(--text); }
.dp-ligne small { color: var(--muted); }

/* ══ Participer et la barre d'inscription (14 octobre 2026, maquette « Page d'un
   tournoi : équipes et inscription », validée par Dimitri). ══ */
/* Le nombre d'un onglet (Équipes, Disponibles) : la forme de la pastille du Pilotage, en neutre. */
.tn-ong-n { display: inline-block; min-width: 18px; margin-left: 4px; padding: 1px 6px; border-radius: 999px; background: rgba(255,255,255,.09); color: var(--body);
  font-size: 10.5px; font-weight: 800; line-height: 1.5; text-align: center; vertical-align: 1px; font-variant-numeric: tabular-nums; }
.tn-onglets button[aria-selected="true"] .tn-ong-n { background: rgba(255,255,255,.16); color: var(--text); }
/* Les étapes Discord en pastilles. */
.in-pas { display: flex; gap: 6px; flex-wrap: wrap; }
.in-pa { display: inline-flex; gap: 5px; align-items: center; font-size: 11.5px; font-weight: 700; color: var(--body); border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.in-pa.ok::before { content: "✓"; color: var(--win); font-weight: 900; }
.in-pa.att { color: #ffc08a; border-color: rgba(255,155,61,.5); }
/* La carte « Participer » de la Présentation. */
.in-participer { border-color: rgba(255,47,146,.35); display: grid; gap: 12px; }
.in-participer h2 { margin: 0; }
.in-participer .in-participer-bt { width: 100%; justify-content: center; }
.in-participer-dispo { border-top: 1px solid var(--line); padding-top: 12px; }
.in-participer-dispo .dp-bloc { margin-bottom: 0; }
/* La barre « Inscrire une équipe » de l'onglet Équipes. */
.in-barre-bloc { margin-bottom: 14px; scroll-margin-top: calc(var(--hauteur-nav, 65px) + 12px); }
.in-barre { display: flex; gap: 8px 10px; align-items: center; flex-wrap: wrap; border: 1px solid rgba(255,47,146,.3); border-radius: 14px; padding: 10px 12px;
  background: linear-gradient(90deg, rgba(255,47,146,.10), rgba(255,225,77,.04)), var(--surface); }
.in-barre > b { color: var(--text); font-size: 14px; }
.in-barre > .tn-bt { margin-left: auto; }
.in-barre-choix { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 12px; margin-top: 8px; max-width: 640px; }
.in-barre-choix > p { margin: 0 0 10px; color: var(--body); font-size: 13.5px; line-height: 1.55; }
.in-resume { margin: 0 2px 12px; color: var(--muted); font-size: 13px; }
.in-resume b { color: var(--text); } .in-resume b.ok { color: var(--win); }

/* Le règlement composé (rgl-) : public/css/reglement.css depuis le 18 octobre 2026
   (partagé avec la page de la ligue, qui ne charge pas ce fichier). */

/* ══════════ Onglet Statistiques d'une édition et d'une série (14 octobre 2026) ══════════
   public/js/stats-tournoi-ui.mjs ; maquette « Statistiques d'une édition et d'une série ». */
.sr-chiffres.six { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
/* La jauge des manches avec rapport : des <i> et pas des <div>, que « .sr-chiffres div » habillerait en tuile. */
.st-jauge { display: block; height: 6px; border-radius: 99px; background: rgba(255,255,255,.08); margin-top: 7px; overflow: hidden; }
.st-jauge i { display: block; height: 100%; background: var(--win); border-radius: 99px; }
.st-sous { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin: 2px 0 14px; }
.st-sous button { font: inherit; font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 9px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.st-sous button:hover { color: var(--text); }
.st-sous button[aria-selected="true"] { background: rgba(18,224,224,.14); color: var(--text); }
.st-joueurs h2 small { font-size: 12px; font-weight: 600; color: var(--muted); margin-left: 6px; }
.st-tri { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; font-size: 12px; color: var(--muted); margin: 0 0 10px; }
.st-tri button[data-st-tri] { font: inherit; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: transparent; color: var(--body); cursor: pointer; }
.st-tri button[data-st-tri][aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.st-tri .st-tous { margin-left: auto; }
/* « separate » : l'en-tête collant de .cadre-tableau (css/style.css) l'exige ; .tn-table dit « collapse ». */
.st-tab { border-collapse: separate; border-spacing: 0; }
.st-tab td.j a { color: var(--text); font-weight: 700; }
.st-tab td.j a:hover { color: var(--cyan); }
.st-tab td.j b { color: var(--text); }
.st-tab td.j small { color: var(--muted); font-size: 12px; }
.st-tab th { white-space: nowrap; }
.st-tab td.j a, .st-tab td.j b { white-space: nowrap; }
/* Téléphone : l'équipe passe sous le pseudo (le tableau défile en largeur dans son cadre, voir .cadre-tableau). */
@media (max-width: 640px) { .st-tab td.j small { display: block; white-space: nowrap; } }
.st-tab td.fort { color: var(--text); font-weight: 800; }
.st-mvp { font-size: 11px; font-weight: 800; padding: 1px 7px; border-radius: 999px; background: rgba(255,225,77,.14); color: var(--yellow); white-space: nowrap; }

/* Les pronoms sur une carte Disponibles (14 octobre 2026). */
.dp-pronoms { font-size: 11.5px; font-weight: 700; color: var(--muted); margin-left: 2px; }

/* ── Espace des organisateurs sur le Discord de Splatelo (14 octobre 2026) : carte du Pilotage ── */
.pi-to { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 14px; padding: 12px 14px; border: 1px solid rgba(255,155,61,.35); border-radius: 14px; background: rgba(255,155,61,.05); }
.pi-to > div { display: grid; gap: 6px; justify-items: start; min-width: 0; }
.pi-to b { font-size: 14px; }
.pi-to-ic { width: 34px; height: 34px; flex: none; border-radius: 10px; background: #5865f2; color: #fff; font-weight: 900; display: grid; place-items: center; }
.pi-to-ligne { margin-top: 14px; color: var(--muted); }
/* Rôles de chaque édition (14 octobre 2026, onglet Bot Discord de la série) : la pastille de couleur du rôle. */
.rl-pt { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin: 0 5px 0 2px; vertical-align: 1px; }

/* ══ La bannière en haut de l'en-tête d'une série et de ses éditions (15 octobre 2026,
   public/js/banniere-ui.mjs) : bord à bord, sur les marges de .tn-hero (18px 20px). */
.tn-hero.tn-ban { --bn-pad: 18px; --bn-pad-h: 20px; --bn-rayon: 18px; --bn-fond: #1c1724; }
.tn-hero > .bn { margin-bottom: 14px; }
.tn-hero .sr-hero .bn-chev { align-self: flex-start; } /* (le défaut du module, redit pour la lecture) */
.tn-hero > .bn-ajout { display: block; margin: 0 0 10px auto; }

/* Mes équipes : l'effectif de Ligue (lot 180, 18 octobre 2026) */
.eq-lg { font: inherit; font-size: 11.5px; font-weight: 700; padding: 1px 8px; border-radius: 999px; border: 1px dashed rgba(255,255,255,.28); background: none; color: var(--muted); cursor: pointer; }
.eq-lg.on { border-style: solid; border-color: rgba(47,232,138,.5); background: rgba(47,232,138,.12); color: #2fe88a; }
.eq-lg:disabled { opacity: .5; cursor: default; }
.eq-lg-compteur { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin: 0 0 8px; font-size: 13px; color: var(--body); }
.eq-lg-compteur b { color: var(--text); }
.eq-lg-compteur small { color: var(--muted); }
.eq-lg-pts { display: inline-flex; gap: 3px; }
.eq-lg-pts i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #2fe88a; }
.eq-lg-pts i.u { background: #2fe88a; }
/* Lot 202 : une place tenue par une invitation (ou une arrivée en attente) : à moitié pleine. */
.eq-lg-pts i.a { background: linear-gradient(90deg, #2fe88a 50%, transparent 50%); }
/* Lot 202 : la Gestion (gère l'équipe sans y jouer) : sous les joueurs, ligne en pointillés. */
.mn-role.ge { color: var(--cyan); border-color: rgba(18,224,224,.45); background: rgba(18,224,224,.08); }
.eq-gestion { border: 1px dashed rgba(255,255,255,.18); border-radius: 10px; }
.eq-lg-alerte { margin: 0 0 8px; font-size: 12.5px; font-weight: 700; color: #ffe14d; }
.eq-lg-case { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 8px; padding: 9px 11px; border: 1px solid rgba(47,232,138,.35); background: rgba(47,232,138,.06); border-radius: 10px; font-size: 13px; color: var(--body); cursor: pointer; }
.eq-lg-case input { margin-top: 2px; accent-color: #2fe88a; }
.eq-lg-plein { margin: 0 0 8px; padding: 9px 11px; border: 1px solid rgba(255,225,77,.4); background: rgba(255,225,77,.06); border-radius: 10px; font-size: 13px; color: #ffe14d; }
.eq-lg-marche { margin: 0 0 8px; font-size: 12.5px; color: var(--muted); }
.eq-lg-marche.plein { color: #ffe14d; font-weight: 700; }

/* ── Lot 307 : la discussion dans la fiche du match (maquette « Discussions des tournois ») ──
   Deux onglets sous l'en-tête ; la discussion garde sa zone (montée une fois par match). */
.fi-onglets { display: flex; gap: .25rem; border-bottom: 1px solid var(--line); margin: 4px 0 14px; }
.fi-onglets button { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap;
  color: var(--muted); font: inherit; font-weight: 700; font-size: .9rem; padding: .55rem .7rem; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.fi-onglets button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); }
.fi-n { font-size: 11px; font-weight: 800; padding: 1px 7px; border-radius: 99px; background: var(--accent); color: #fff; }
/* Pilotage › Matchs › Discussions (lot 307) : les alertes en cartes jaunes, puis le tableau des discussions. */
.td-alertes { display: flex; flex-direction: column; gap: 10px; margin: 12px 0 16px; }
.td-alerte { border: 1.5px solid rgba(255,225,77,.55); background: rgba(255,225,77,.06); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.td-alerte[data-statut="prise"] { border-color: rgba(255,225,77,.25); background: rgba(255,255,255,.03); }
.td-alerte p { margin: 0; font-size: 13.5px; line-height: 1.5; overflow-wrap: anywhere; }
.td-tete { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.td-etat { font-size: 12.5px; color: var(--muted); } .td-etat.ouverte { color: var(--yellow); font-weight: 800; }
.td-act { display: flex; gap: 8px; flex-wrap: wrap; }
.td-j { background: var(--yellow); color: #1a1408; border-color: var(--yellow); }
.td-tab { overflow-x: auto; }
.td-tab table { width: 100%; border-collapse: collapse; font-size: 13px; }
.td-tab th { position: sticky; top: 0; background: var(--surface); text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 8px 10px; }
.td-tab td { padding: 9px 10px; border-top: 1px solid var(--line); vertical-align: top; }
.td-tab td:nth-child(3) { max-width: 320px; overflow-wrap: anywhere; color: var(--body); }
.td-pt { display: inline-block; width: 18px; height: 18px; line-height: 18px; text-align: center; border-radius: 50%; background: var(--yellow); color: #1a1408; font-weight: 800; font-size: 12px; }
.td-ouverte { color: var(--cyan); font-weight: 700; } .td-ferme { color: var(--muted); font-weight: 700; }

/* « Copier le lien » de l'en-tête (lot 308) : un petit menu sous le bouton. */
.tn-copier { position: relative; }
.tn-copier > summary { list-style: none; }
.tn-copier > summary::-webkit-details-marker { display: none; }
.tn-copier-menu { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; width: min(320px, 86vw); display: flex; flex-direction: column; gap: 2px;
  padding: 6px; background: #1c1729; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.tn-copier-menu button { font: inherit; text-align: left; color: var(--text); background: none; border: 0; border-radius: 8px; padding: 8px 10px; cursor: pointer;
  display: flex; justify-content: space-between; gap: 12px; min-width: 0; }
.tn-copier-menu button:hover, .tn-copier-menu button:focus-visible { background: rgba(18,224,224,.12); }
.tn-copier-menu small { color: var(--muted, #9d96b8); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }

/* ══════════ Lot 311 : les onglets de la vue caster (public/js/caster-onglets-ui.mjs) ══════════ */
.tn-ong-n.rose { background: var(--pink, #ff2f92); color: #0d0a14; }
.cx-barre { display: flex; justify-content: flex-end; margin: 0 0 12px; }
.cx-choix { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.cx-choix select { max-width: min(520px, 80vw); color-scheme: dark; }
.cx-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 16px; align-items: start; }
.cx-grille2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.cx-grille3 { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 900px) { .cx-grille, .cx-grille2, .cx-grille3 { grid-template-columns: minmax(0, 1fr); } }
.cx-tete { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; align-items: center; border-color: rgba(169,112,255,.45); }
.cx-eq { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cx-eq.d { justify-content: flex-end; text-align: right; }
.cx-eq b { display: block; font-size: 20px; overflow-wrap: anywhere; }
.cx-eq b.a, .cx-ff b.a { color: var(--cyan, #12e0e0); }
.cx-eq b.b, .cx-ff b.b { color: #ff9b3d; }
.cx-eq small, .cx-score small { display: block; color: var(--muted); font-size: 12px; }
.cx-score { text-align: center; }
.cx-score b { font-size: 30px; letter-spacing: .03em; }
.cx-score small.direct { color: #ff6b6b; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.cx-enjeu { grid-column: 1 / -1; margin: 0; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: var(--body); }
.cx-m { display: grid; grid-template-columns: 32px minmax(0, 150px) minmax(0, 160px) minmax(0, 1fr) 40px; gap: 10px; align-items: center; padding: 6px 0; font-size: 13px; border-top: 1px solid rgba(255,255,255,.05); }
.cx-m:first-of-type { border-top: 0; }
.cx-m .n { color: var(--muted); font-weight: 700; }
.cx-m.on { font-weight: 700; color: var(--text); }
.cx-m.on span:nth-child(4) { color: #ff9ccb; }
.cx-m.gris { color: var(--muted); }
.cx-m b.a { color: var(--cyan, #12e0e0); } .cx-m b.b { color: #ff9b3d; }
@media (max-width: 700px) { .cx-m { grid-template-columns: 28px minmax(0, 1fr) minmax(0, 1fr); } .cx-m span:nth-child(4), .cx-m b { grid-column: 2 / -1; } }
.cx-ff2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; overflow-x: auto; }
@media (max-width: 700px) { .cx-ff2 { grid-template-columns: minmax(0, 1fr); } }
.cx-ff { width: 100%; border-collapse: collapse; font-size: 13px; }
.cx-ff td { padding: 5px 6px; border-top: 1px solid rgba(255,255,255,.05); }
.cx-ff small { color: var(--muted); }
.gris { color: var(--muted); }
.cx-faits { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.cx-faits span { background: rgba(255,255,255,.06); border-radius: 8px; padding: 5px 9px; font-size: 12.5px; }
.cx-salon { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; padding: 12px 14px; border: 1px solid rgba(18,224,224,.35); border-radius: 14px; background: rgba(18,224,224,.06); font-size: 13px; }
.cx-salon span { color: var(--body); }
.cx-disc-zone { max-height: 520px; overflow-y: auto; }
.cx-outils { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cx-ligne { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.06); font-size: 13.5px; }
.cx-ligne:first-of-type { border-top: 0; }
.cx-ligne small { color: var(--muted); }
.cx-p { font-size: 12px; font-weight: 700; color: #a970ff; }
.cx-p.gris { color: var(--muted); }
.cx-fait { margin: 6px 0; font-size: 13px; color: var(--body); }
.cx-liste { display: flex; flex-direction: column; gap: 2px; }
.cx-liste h3 { margin: 6px 4px; font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.cx-eqb { font: inherit; text-align: left; color: var(--text); background: none; border: 0; border-radius: 10px; padding: 9px 10px; display: flex; justify-content: space-between; gap: 8px; cursor: pointer; }
.cx-eqb small { color: var(--muted); }
.cx-eqb:hover { background: rgba(255,255,255,.05); }
.cx-eqb.on { background: rgba(169,112,255,.16); font-weight: 700; }
.cx-fiche-tete { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.cx-fiche-tete > div { flex: 1; min-width: 0; }
.cx-fiche-tete b { display: block; font-size: 20px; }
.cx-fiche-tete small { color: var(--muted); }
.cx-note-pl { text-align: right; font-size: 12px; color: var(--muted); }
.cx-note-pl b { display: block; font-size: 16px; color: var(--text); }
.cx-tab { overflow-x: auto; }
.cx-tab table { width: 100%; border-collapse: collapse; font-size: 13px; }
.cx-tab th { position: sticky; top: 0; background: var(--surface, #15111f); text-align: left; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; padding: 6px 8px; }
.cx-tab td { padding: 7px 8px; border-top: 1px solid rgba(255,255,255,.06); }
.cx-tab small { color: var(--muted); }
.cx-moi { color: #a970ff; }
.cx-direct { color: #ff9ccb; font-size: 13px; }
.cx-notes textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 13px; color: var(--text); background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.16); border-radius: 10px; padding: 10px; resize: vertical; }
.cx-lig { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; }
.cx-cache { position: absolute; left: -9999px; }

/* ══════════ Groupes (lot 325, maquette « Groupes, brackets et maps-modes ») ══════════
   Cartes compactes sans barre de défilement : une grille par ligne (rang, équipe,
   V-D, ±M, ±S), le nom coupé proprement. Les couleurs de qualification (q0 Gold,
   q1 Silver, q2 Bronze) reprennent celles de la légende (.mo-leg). */
.gr { display: flex; flex-direction: column; gap: 14px; }
.gr-barre { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; }
.gr-barre .mo-leg { margin: 0; }
.gr-av { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; }
.gr-av-t { font-weight: 800; font-size: 14px; }
.gr-av-g { font-size: 12.5px; color: #c7a5ff; }
.gr-jauge { width: 180px; max-width: 40vw; height: 6px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.gr-jauge i { display: block; height: 100%; background: var(--cyan); }
.gr-outils { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.gr-puces { display: flex; gap: 6px; flex-wrap: wrap; }
.gr-puce { font: inherit; font-size: 12.5px; font-weight: 700; min-height: 32px; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: transparent; color: var(--text); cursor: pointer; }
.gr-puce[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.gr-seg { display: inline-flex; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; overflow: hidden; }
.gr-seg button { font: inherit; font-size: 12.5px; font-weight: 700; padding: 7px 14px; min-height: 34px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.gr-seg button[aria-pressed="true"] { background: rgba(255,255,255,.10); color: #fff; }
.gr-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; align-items: start; }
.gr-carte { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 12px 10px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.gr-carte.ouvert { border-color: rgba(169,112,255,.45); }
.gr-carte.ouvert { grid-column: span 2; }
@media (max-width: 700px) { .gr-carte.ouvert { grid-column: auto; } }
.gr-tete { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gr-tete h3 { margin: 0; font-size: 16px; font-weight: 800; }
.gr-t, .gr-l { display: grid; grid-template-columns: 18px minmax(0, 1fr) 40px 32px 46px; gap: 6px; align-items: center; }
.gr-t { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 0 6px 0 9px; }
.gr-t span:nth-child(n+3) { text-align: right; } .gr-t span:nth-child(3) { text-align: center; }
.gr-ls { display: flex; flex-direction: column; gap: 3px; }
.gr-l { font-size: 13px; padding: 6px; border-left: 3px solid transparent; border-radius: 6px; background: rgba(255,255,255,.035); font-variant-numeric: tabular-nums; }
.gr-l.q0 { border-left-color: var(--win); } .gr-l.q1 { border-left-color: #9aa4b2; } .gr-l.q2 { border-left-color: #c8875a; }
.gr-l.moi { background: rgba(18,224,224,.08); outline: 1px solid rgba(18,224,224,.5); }
.gr-l.dq { opacity: .55; }
.gr-r { font-weight: 800; color: var(--muted); }
.gr-e { display: flex; align-items: center; gap: 7px; min-width: 0; }
.gr-nom { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 700; min-width: 0; }
.gr-vd { text-align: center; } .gr-dm { text-align: right; color: var(--body); }
.gr-ds { text-align: right; font-weight: 700; } .gr-ds.p { color: var(--win); } .gr-ds.m { color: #ff6b8a; } .gr-ds.vide { color: var(--muted); }
.gr-departs { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--body); border-top: 1px solid var(--line); padding-top: 8px; }
.gr-departs b { font-weight: 800; margin-right: 4px; } .gr-departs b.q0 { color: var(--win); } .gr-departs b.q1 { color: #b9c1cc; } .gr-departs b.q2 { color: #e0a57c; }
.gr-pied { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); padding-top: 6px; font-size: 12px; color: var(--body); }
.gr-lien { font: inherit; font-size: 12px; font-weight: 800; color: var(--cyan); background: none; border: 0; padding: 6px 0; min-height: 32px; cursor: pointer; }
.gr-matchs .mo-sous:first-child { margin-top: 2px; }
.gr-tour { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.gr-tour summary, .gr-tour-t { display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; min-height: 28px; }
.gr-tour-t { cursor: default; margin-bottom: 8px; }
.gr-tour summary span, .gr-tour-t span { font-size: 12px; color: var(--muted); }
.gr-tour[open] summary { margin-bottom: 8px; }
.gr-mls { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 6px 12px; }
@media (max-width: 700px) { .gr-mls { grid-template-columns: 1fr; } }
.gr-ml { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 8px; align-items: start; }
/* 15 novembre 2026 : tout ce que rend ligneMatch (ligne, score des manches, casters) dans la 2e colonne. */
.gr-ml-c { min-width: 0; }
.gr-tag { font-size: 11px; font-weight: 800; color: #c7a5ff; background: rgba(169,112,255,.12); border-radius: 6px; padding: 4px 0; text-align: center; margin-top: 6px; }
/* Lot 325 : l'aperçu du bracket qui se remplit (places des groupes terminés). */
.tb-apercu { display: flex; flex-direction: column; gap: 3px; background: rgba(169,112,255,.08); border: 1px solid rgba(169,112,255,.35); border-radius: 12px; padding: 10px 14px; margin: 0 0 10px; font-size: 13px; }
.tb-apercu span { color: var(--body); font-size: 12.5px; line-height: 1.5; }
.tb-place-de { font-size: 10.5px; font-weight: 700; color: var(--win); background: rgba(47,232,138,.12); border-radius: 5px; padding: 1px 5px; margin-left: 4px; white-space: nowrap; }

/* ══════════ L'avis des joueurs (lot 326, maquette « Placement enrichi et avis des joueurs ») ══════════ */
.av h2 { margin-top: 0; }
.av-points { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; margin: 12px 0; }
.av-point { background: rgba(255,255,255,.035); border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.av-t { display: flex; flex-direction: column; gap: 2px; }
.av-t small { color: var(--muted); font-size: 12px; line-height: 1.4; }
.av-choix { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.av-note { font: inherit; font-size: 12.5px; font-weight: 700; min-height: 44px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); background: transparent; color: var(--body); cursor: pointer; }
.av-note.ko[aria-pressed="true"] { border-color: #ff6b8a; color: #ff6b8a; background: rgba(255,107,138,.14); }
.av-note.neutre[aria-pressed="true"] { border-color: var(--text); color: var(--text); background: rgba(255,255,255,.08); }
.av-note.ok[aria-pressed="true"] { border-color: var(--win); color: var(--win); background: rgba(47,232,138,.13); }
.av-com { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: var(--muted); }
.av-com textarea { font: inherit; font-size: 13px; color: var(--text); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14); border-radius: 8px; padding: 8px; resize: vertical; }
.av-lien { font: inherit; font-size: 12px; font-weight: 800; color: var(--cyan); background: none; border: 0; padding: 4px 0; align-self: flex-start; cursor: pointer; min-height: 32px; }
.av-chiffres { display: flex; gap: 12px 28px; flex-wrap: wrap; margin: 8px 0; }
.av-chiffres div { display: flex; flex-direction: column; gap: 2px; }
.av-chiffres small { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.av-chiffres b { font-size: 18px; }
.av-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; margin-top: 10px; }
.av-cols h3 { font-size: 15px; margin: 0 0 10px; }
.av-barre-l { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.av-barre-t { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.av-barre-t span, .av-barre-l small { color: var(--muted); font-size: 12px; }
.av-barre { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.08); }
.av-barre i.ko { background: #ff6b8a; } .av-barre i.neutre { background: #8e8aa0; } .av-barre i.ok { background: var(--win); }
.av-c { background: rgba(255,255,255,.035); border-radius: 10px; padding: 10px 12px; margin-top: 8px; }
.av-c-t { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.av-c-t b { color: var(--text); font-size: 13px; }
.av-c-th { color: #c7a5ff; font-weight: 700; }
.av-c-n { font-weight: 700; border-radius: 999px; padding: 1px 8px; }
.av-c-n.ko { color: #ff6b8a; background: rgba(255,107,138,.14); } .av-c-n.neutre { color: var(--text); background: rgba(255,255,255,.08); } .av-c-n.ok { color: var(--win); background: rgba(47,232,138,.13); }
.av-c p { margin: 5px 0 0; font-size: 13px; line-height: 1.5; color: var(--body); white-space: pre-line; }
@media (max-width: 700px) { .av-points { grid-template-columns: 1fr; } }

/* ══════════ Le placement enrichi (lot 326) ══════════ */
.pj-resume { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; margin-top: 4px; font-size: 11.5px; color: var(--body); }
.pj-resume b { color: var(--text); }
.pj-div { font-size: 10.5px; font-weight: 800; font-style: normal; border-radius: 6px; padding: 1px 6px; white-space: nowrap; }
.pj-div.d1 { color: #ff2f92; background: rgba(255,47,146,.14); } .pj-div.d2 { color: var(--cyan); background: rgba(18,224,224,.12); }
.pj-div.d3 { color: var(--yellow); background: rgba(255,225,77,.12); } .pj-div.d4, .pj-div.d5, .pj-div.d6 { color: #c7a5ff; background: rgba(169,112,255,.14); }
.pj-div.hors { color: var(--muted); background: rgba(255,255,255,.06); }
.sd-l .fl .pj-bt { width: auto; padding: 0 9px; font-size: 11.5px; font-weight: 800; }
.pj-detail { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; }
.pj-tab { overflow-x: auto; }
.pj-l { display: grid; grid-template-columns: minmax(130px, 1.2fr) minmax(150px, 1.5fr) 70px minmax(120px, 1fr) minmax(100px, .9fr) 90px; gap: 10px; align-items: center; font-size: 12.5px; padding: 6px 8px; border-radius: 8px; min-width: 700px; }
.pj-l:not(.pj-tete) { background: rgba(255,255,255,.035); margin-top: 4px; }
.pj-tete { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pj-j, .pj-x, .pj-s { display: flex; flex-direction: column; min-width: 0; }
.pj-j b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pj-j small, .pj-x small, .pj-s small { font-size: 11px; color: var(--muted); }
.pj-j small.cap { color: var(--yellow); }
.pj-lg { display: flex; align-items: center; gap: 6px; min-width: 0; }
.pj-lg span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pj-n { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.pj-s b { color: #c7a5ff; }
.pj-l .vide { color: var(--muted); }
/* Lot 326 : la dernière colonne porte aussi « Joueurs » (en plus des flèches). */
.sd-l.glissable { grid-template-columns: 16px 30px minmax(0, 1fr) 64px 92px 140px; }
@media (max-width: 760px) { .sd-l.glissable { grid-template-columns: 14px 26px minmax(0, 1fr) 54px 120px; } }
/* Lot 424 : les avatars des joueurs dans la section Modération (organisateur) */
.eq-mod-av { flex-wrap: nowrap; }
.eq-mod-av .n { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; font-size: 13px; color: var(--text); }
.eq-mod-av .n small { color: var(--muted); font-size: 11.5px; }
