/* LIGUE : les trois cartes de la ligue (classement, victoires, parties), la vignette « à venir » et les quatre cerveaux en miniature,
   reliés par des arcs. Le badge .badge est dans commun.css. */
/* ------------------------------------------------------------------------------------------- 3 : la ligue */
.ligue-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ligue-carte { width: 100%; text-align: left; display: flex; flex-direction: column; gap: 12px; color: inherit; font: inherit; border-style: dashed; }
.ligue-carte h3 { margin: 0; display: flex; align-items: center; gap: 10px; font-family: var(--titre); text-transform: uppercase; letter-spacing: .06em; font-size: 1.4rem; }
.ligue-carte h3 .ico { color: var(--jaune); }
.ligue-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ligue-liste li { display: grid; grid-template-columns: 3.4em 1fr 3.5em; align-items: center; gap: 10px; }
.ligue-liste li b { font-family: var(--titre); font-size: 2rem; line-height: 1; }
.vide-b { display: block; height: 12px; border: 1px dashed var(--trait2); border-radius: 2px; }
.ligue-pj li { grid-template-columns: 3.4em 1fr; }
.gros { font-family: var(--titre); font-size: 2.2rem; }
.ligue-carte:hover { box-shadow: inset 0 0 0 1px var(--lavande), var(--lueur-lavande); }
.ligue-vignette { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; text-align: left; color: inherit; font: inherit; border-style: dashed; transition: box-shadow .2s, border-color .2s; }
.ligue-vignette:hover { border-color: var(--lavande); box-shadow: inset 0 0 0 1px rgba(169, 146, 250, .3), 0 0 24px rgba(169, 146, 250, .2); filter: none; }
.lv-texte { display: grid; gap: 12px; align-content: center; max-width: 60ch; }
.lv-texte h3 { margin: 0; display: flex; align-items: center; gap: 10px; font-family: var(--titre); text-transform: uppercase; letter-spacing: .06em; font-size: 1.3rem; }
.lv-texte h3 .ico { color: var(--jaune); }
.lv-texte p { margin: 0; }
/* « chacun contre chacun » : les quatre cerveaux en miniature, reliés deux à deux par des arcs */
.tournoi { position: relative; flex: none; display: grid; justify-items: center; }
.tournoi-arcs { width: 100%; height: 64px; overflow: visible; }
.tournoi-arcs path { fill: none; stroke: var(--lavande); stroke-width: 1.6; stroke-dasharray: 5 6; opacity: .75; animation: flux 1.6s linear infinite; }
@keyframes flux { to { stroke-dashoffset: -22; } }
.dort .tournoi-arcs path { animation-play-state: paused; }
.mini-zone { display: flex; align-items: flex-end; gap: clamp(14px, 3.4vw, 52px); }
.mini { margin: 0; display: grid; gap: 4px; justify-items: center; }
.mini-svg canvas { display: block; background: rgba(2, 5, 20, .75); border: 1px solid var(--trait); border-radius: 3px; box-shadow: 0 0 14px rgba(169, 146, 250, .15); }
.mini figcaption { font-family: var(--titre); font-weight: 700; font-size: .9375rem; color: var(--lavande); }
/* le graphique des victoires : la taille est écrite au bout de chaque courbe (une couleur ne dit pas quelle taille) */
.courbe { display: grid; grid-template-columns: minmax(0, 1fr) 2.6em; }
.courbe-fins { position: relative; }
.courbe-fins span { position: absolute; left: 6px; transform: translateY(-50%); font-family: var(--titre); font-weight: 700; font-size: .9375rem; color: var(--discret); }
.legende-schema .tr-trait { flex: none; }

@container page (max-width: 1000px) {
  .ligue-grille { grid-template-columns: 1fr; }
}
@container page (max-width: 600px) {
  .ligue-vignette { flex-direction: column; align-items: stretch; }
  .tournoi { justify-self: center; }
  .mini-zone { justify-content: center; gap: 14px; }
}
