/* Pages publiques */
.titre-section { display: flex; align-items: baseline; gap: 1rem; margin-top: 1.5rem; }
.titre-section a { font-size: .9rem; font-weight: 400; }
h1 small, h3 small { font-weight: 400; color: var(--doux); font-size: .6em; }
h3 small { font-size: .8em; }
.fil { font-size: .88rem; color: var(--doux); margin: 0 0 .5rem; }
.fil a { color: var(--doux); }
.cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.cartes.larges { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.carte-serie h3 { margin: 0 0 .5rem; font-size: 1.05rem; }
.carte-serie h3 a { text-decoration: none; }
.carte-comite .champions { columns: 2 260px; list-style: none; padding: 0; margin: 0; }
.champions li { padding: .2rem 0; break-inside: avoid; }
.champions .code { display: inline-block; min-width: 4.5em; font-weight: 600; text-decoration: none; }
.puces { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.puce.inactive { color: var(--doux); background: transparent; }
.incomplet { font-size: .72rem; font-weight: 400; background: var(--alerte); color: #6b4e00; padding: .05rem .45rem; border-radius: 99px; vertical-align: middle; }
.voisines { display: flex; justify-content: space-between; margin: -.5rem 0 1rem; font-size: .9rem; }

table.classement { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
.classement th { font-size: .75rem; text-transform: uppercase; color: var(--doux); font-weight: 600; text-align: left; padding: .35rem .4rem; border-bottom: 1px solid var(--bord); }
.classement td { padding: .35rem .4rem; border-bottom: 1px solid #eef0ec; }
.classement .n { text-align: right; width: 2.6em; white-space: nowrap; }
.classement .pts { font-weight: 700; }
.classement .eq a { color: var(--texte); text-decoration: none; }
.classement .eq a:hover { text-decoration: underline; }
.classement .eq img { vertical-align: middle; margin-right: .35rem; object-fit: contain; }
.classement.court td { padding: .25rem .3rem; }
.classement tr.m-c td { background: #e3efe8; }
.classement tr.m-p td, .classement tr.m-d td { background: #f0f6f2; }
.classement tr.m-r td, .classement tr.m-s td, .classement tr.m-n td { background: #fbeceb; }
.classement tr.m-f td { color: var(--doux); font-style: italic; }
.marqueur { display: inline-block; font-size: .7rem; font-weight: 700; min-width: 1.4em; text-align: center; border-radius: 4px; background: #fff; border: 1px solid var(--bord); margin-left: .3rem; color: var(--doux); }
.remarque { display: block; font-size: .78rem; color: var(--doux); }
.legende { display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .8rem; color: var(--doux); margin: .75rem 0 0; }
.legende .marqueur { margin: 0; }
.resume { font-size: .85rem; margin: 0 0 .5rem; display: grid; gap: .15rem; }
.monte { color: var(--accent); }
.descend { color: #a8322d; }
.plus { margin: .5rem 0 0; font-size: .88rem; }

.onglets-public { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .75rem; }
.onglets-public button { font: inherit; font-size: .88rem; padding: .3rem .8rem; border: 1px solid var(--bord); border-radius: 99px; background: #fff; cursor: pointer; }
.onglets-public button.actif { background: var(--accent); border-color: var(--accent); color: #fff; }
h3.journee { font-size: .9rem; text-transform: uppercase; letter-spacing: .04em; color: var(--doux); margin: 1.25rem 0 .35rem; }
table.matchs { width: 100%; border-collapse: collapse; font-size: .92rem; }
.matchs td { padding: .3rem .4rem; border-bottom: 1px solid #eef0ec; }
.matchs .date { color: var(--doux); width: 6.5em; font-variant-numeric: tabular-nums; }
.matchs .dom { text-align: right; width: 38%; }
.matchs .score { text-align: center; font-weight: 700; white-space: nowrap; width: 4.5em; font-variant-numeric: tabular-nums; }
.matchs .gagne { font-weight: 600; }
.matchs .statut { color: var(--doux); font-size: .78rem; width: 3em; }
table.croisee { border-collapse: collapse; font-size: .78rem; margin-top: .5rem; font-variant-numeric: tabular-nums; }
.croisee th, .croisee td { border: 1px solid #eef0ec; padding: .2rem .35rem; text-align: center; white-space: nowrap; }
.croisee tbody th { text-align: left; font-weight: 400; }
.croisee td.diag { background: #eef0ec; }
.decennie h2 { font-size: 1rem; color: var(--doux); margin: 1.5rem 0 .5rem; }
.saisons li.vide { color: var(--doux); border-style: dashed; }
.saisons li a { text-decoration: none; }
.jour ul { columns: 2 300px; padding-left: 1.1rem; }
.presents li { padding: .15rem 0; }
.presents .discret { margin-left: .3rem; }
@media (max-width: 600px) {
  .classement th:nth-child(n+3):nth-last-child(n+2), .classement td:nth-child(n+3):nth-last-child(n+2) { display: none; }
  .matchs .date { display: none; }
}

.journees { display: flex; flex-wrap: wrap; gap: .25rem; margin: .5rem 0; }
.journees button { font: inherit; font-size: .8rem; min-width: 2.2em; padding: .2rem .4rem; border: 1px solid var(--bord); border-radius: 6px; background: #fff; cursor: pointer; font-variant-numeric: tabular-nums; }
.journees button.actif { background: var(--accent); border-color: var(--accent); color: #fff; }
.annuaire { list-style: none; padding: 0; margin: 0; background: #fff; border: 1px solid var(--bord); border-radius: var(--rayon); }
.annuaire li { display: grid; grid-template-columns: 44px 4.5em 1fr; gap: .75rem; align-items: center; padding: .5rem .9rem; border-bottom: 1px solid #eef0ec; }
.annuaire li:last-child { border-bottom: 0; }
.annuaire .logo-mini img { object-fit: contain; display: block; }
.annuaire .mat { color: var(--doux); font-variant-numeric: tabular-nums; }
.annuaire a { text-decoration: none; color: var(--texte); }
.annuaire li.arrete strong { color: var(--doux); }
.barre form.chercher input { width: 220px; padding: .3rem .6rem; border: 0; border-radius: 6px; }
