/* ============================================================
   ACCUEIL (cf. js/pages/accueil.js)
   ============================================================
   Ordinateur : résultats | prochain match | classement, le match au
   centre et plus large. Téléphone : le match, puis les résultats, puis
   le classement. La disposition suit la largeur réelle de la page
   (requêtes de conteneur) : menu replié ou non, elle se recale seule.

   Vert = victoire, or = nul, rouge = défaite (les couleurs de la page
   « Match CO »). Les logos sont sur des pastilles blanches.

   FLUIDITÉ : on n'anime que transform et opacity. Le retournement est une
   vraie rotation 3D ; avec « réduire les animations » ou en mode allégé,
   c'est un simple fondu, sans 3D ni reflet. */

.accueil {
  --v: #36d27a; --d: #ff5a63; --n: #f5c451;
  container-type: inline-size;
}
.accueil .accueil-logo { width: 84px; }

/* ---------------- Les trois colonnes ---------------- */
.acc-trio {
  justify-self: stretch; width: 100%; display: grid; gap: 18px; text-align: left;
  grid-template-columns: minmax(0, 1fr); grid-template-areas: "centre" "res" "cla";
}
.acc-centre { grid-area: centre; display: grid; justify-items: center; align-content: start; min-width: 0; }
.acc-resultats { grid-area: res; }
.acc-classement { grid-area: cla; }
@container (min-width: 720px) {
  .acc-trio { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "centre centre" "res cla"; align-items: start; }
  .acc-centre { justify-self: center; width: min(620px, 100%); }
}
@container (min-width: 1040px) {
  .acc-trio { grid-template-columns: minmax(0, 1.1fr) minmax(430px, 1.4fr) minmax(0, 1.05fr); grid-template-areas: "res centre cla"; gap: 18px; }
  .acc-centre { width: 100%; }
}

/* Apparition : le match grandit, les colonnes glissent des côtés. */
.acc-centre { animation: acc-entre-centre .8s var(--doux) both; }
.acc-resultats { animation: acc-entre-gauche .8s .1s var(--doux) both; }
.acc-classement { animation: acc-entre-droite .8s .16s var(--doux) both; }
@keyframes acc-entre-centre { from { opacity: 0; transform: translate3d(0, 18px, 0) scale(.95); } }
@keyframes acc-entre-gauche { from { opacity: 0; transform: translate3d(-28px, 0, 0); } }
@keyframes acc-entre-droite { from { opacity: 0; transform: translate3d(28px, 0, 0); } }
@keyframes acc-ligne { from { opacity: 0; transform: translate3d(0, 10px, 0); } }

/* ---------------- Les colonnes ---------------- */
.acc-col {
  min-width: 0; padding: 18px 16px 16px; border-radius: 24px; border: 1px solid var(--ligne);
  background: linear-gradient(170deg, rgba(47, 107, 255, .09), rgba(255, 255, 255, .02) 45%);
}
.acc-titre { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 2px 14px; }
.acc-titre h2 { margin: 0; font: 600 20px var(--titre); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.acc-titre span { font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-3); text-align: right; }
.acc-vide { margin: 8px 0; color: var(--texte-3); font-size: 13px; }
.acc-attente { display: grid; gap: 8px; }
.acc-attente i { display: block; height: 46px; border-radius: 14px; background: linear-gradient(90deg, var(--surface), var(--surface-3), var(--surface)); background-size: 200% 100%; animation: acc-reflet-attente 1.2s linear infinite; }
@keyframes acc-reflet-attente { to { background-position: -200% 0; } }

/* Écusson sur pastille blanche : max-* dans un conteneur flex, pour
   qu'un écusson plus haut que large (Montpellier) tienne entier. */
.acc-ecu {
  --t: 30px; width: var(--t); height: var(--t); padding: calc(var(--t) * .14); flex: none;
  display: flex; align-items: center; justify-content: center; border-radius: calc(var(--t) * .3);
  background: #fff; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .7);
}
.acc-ecu img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.acc-ecu i { font: 600 calc(var(--t) * .34) var(--titre); font-style: normal; color: #0a1433; }
.acc-ecu.est-grand { --t: 64px; border-radius: 18px; }

/* ---------------- Une ligne de match (résultats, et dos de la carte) ---------------- */
.acc-ligne {
  --res: var(--texte-3);
  position: relative; display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto auto; align-items: center; gap: 10px;
  padding: 8px 10px 8px 13px; border-radius: 14px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--ligne);
  transition: transform .2s var(--ressort), border-color .2s, background .2s;
}
.acc-ligne::before { content: ""; position: absolute; left: 0; top: 7px; bottom: 7px; width: 3px; border-radius: 0 3px 3px 0; background: var(--res); }
.acc-ligne.est-V { --res: var(--v); } .acc-ligne.est-N { --res: var(--n); } .acc-ligne.est-D { --res: var(--d); }
.acc-ligne.est-avenir { --res: rgba(143, 179, 255, .35); }
a.acc-ligne:hover { transform: translate3d(3px, 0, 0); background: var(--surface-2); border-color: var(--ligne-2); }
/* Largeurs fixes : d'une ligne à l'autre, les écussons restent alignés. */
.acc-j { font: 600 15px var(--titre); color: var(--texte-2); width: 30px; }
span.acc-j { display: grid; gap: 1px; width: 72px; }
span.acc-j small { font: 700 11px var(--corps); color: var(--texte-3); white-space: nowrap; }
.acc-nom { min-width: 0; display: grid; }
.acc-nom b { font-weight: 750; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc-nom small { font-size: 11.5px; font-weight: 650; color: var(--texte-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc-score { font: 600 19px/1 var(--titre); font-variant-numeric: tabular-nums; color: var(--texte-2); white-space: nowrap; }
.acc-score b { color: #fff; font-weight: 600; }
.acc-score i { font-style: normal; margin: 0 2px; color: var(--texte-3); }
.acc-res {
  display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 8px; font-style: normal;
  font: 600 13px var(--titre); letter-spacing: .04em; color: var(--res); background: color-mix(in srgb, var(--res) 16%, transparent);
}
.acc-res.est-V { --res: var(--v); } .acc-res.est-N { --res: var(--n); } .acc-res.est-D { --res: var(--d); }
.acc-res .long { display: none; }

/* ---------------- À gauche : nos résultats ---------------- */
.acc-resultats { container-type: inline-size; }
@container (min-width: 380px) {
  .acc-res .court { display: none; }
  .acc-res .long { display: inline; font-size: 11.5px; text-transform: uppercase; }
}
.acc-bilan { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.acc-bilan div { display: grid; justify-items: center; gap: 3px; padding: 9px 4px 8px; border-radius: 14px; background: var(--surface); border: 1px solid var(--ligne); }
.acc-bilan b { font: 600 26px/1 var(--titre); font-variant-numeric: tabular-nums; }
.acc-bilan span { font-size: 9.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--texte-3); }
.acc-bilan .est-V b { color: var(--v); } .acc-bilan .est-N b { color: var(--n); } .acc-bilan .est-D b { color: var(--d); }
.acc-bilan-diff { margin: 8px 2px 12px; font-size: 12px; font-weight: 650; color: var(--texte-3); }
.acc-bilan-diff b { font: 600 15px var(--titre); color: var(--texte); }

/* La frise : une colonne par journée, l'écart au score en hauteur. */
.acc-frise { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 2px; height: 58px; margin: 0 2px 14px; }
.acc-frise span { position: relative; border-radius: 3px; }
.acc-frise span::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ligne-2); }
.acc-frise i { position: absolute; left: 12%; right: 12%; border-radius: 3px; transform-origin: 50% 100%; animation: acc-barre .6s var(--ressort) both; animation-delay: calc(.35s + var(--k) * 28ms); }
.acc-frise .est-V i { bottom: 50%; height: calc(var(--h) * 50%); background: linear-gradient(0deg, rgba(54, 210, 122, .35), var(--v)); }
.acc-frise .est-D i { top: 50%; height: calc(var(--h) * 50%); transform-origin: 50% 0; background: linear-gradient(180deg, rgba(255, 90, 99, .35), var(--d)); }
.acc-frise .est-N i { top: calc(50% - 2px); height: 4px; background: var(--n); }
.acc-frise .est-avenir i, .acc-frise .est-prochain i { top: calc(50% - 2px); height: 4px; left: 30%; right: 30%; background: rgba(143, 179, 255, .25); }
.acc-frise .est-prochain { background: rgba(245, 196, 81, .14); box-shadow: inset 0 0 0 1px rgba(245, 196, 81, .45); }
.acc-frise .est-prochain i { background: var(--or); }
@keyframes acc-barre { from { transform: scaleY(0); } }

.acc-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
/* Nos résultats : le score, et dessous le mot Victoire / Nul / Défaite. */
.acc-liste .acc-ligne { grid-template-columns: auto auto minmax(0, 1fr) auto; }
.acc-fin { display: grid; justify-items: end; gap: 4px; }
.acc-res.est-mot { height: 18px; padding: 0 7px; border-radius: 6px; font: 800 9.5px var(--corps); letter-spacing: .08em; text-transform: uppercase; }
.acc-liste li { animation: acc-ligne .5s var(--doux) both; animation-delay: calc(.2s + var(--i) * 60ms); }
.acc-lien { display: inline-flex; align-items: center; gap: 6px; margin: 12px 2px 0; font-size: 12.5px; font-weight: 750; color: var(--bleu-2); }
.acc-lien svg { width: 14px; height: 14px; transition: transform .2s var(--ressort); }
.acc-lien:hover { color: var(--ciel); }
.acc-lien:hover svg { transform: translate3d(3px, 0, 0); }

/* ---------------- À droite : le classement ---------------- */
.acc-classement { container-type: inline-size; }
.acc-co {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 16px;
  padding: 12px 14px; margin-bottom: 12px; border-radius: 18px; overflow: hidden;
  background: linear-gradient(120deg, rgba(47, 107, 255, .38), rgba(47, 107, 255, .08) 70%); border: 1px solid rgba(91, 140, 255, .4);
  box-shadow: 0 20px 44px -26px rgba(47, 107, 255, .8);
}
.acc-co::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(140px 80px at 12% 20%, rgba(143, 179, 255, .28), transparent); }
.acc-co-rang { display: flex; align-items: flex-start; }
.acc-co-rang b { font: 600 64px/.86 var(--titre); font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff 30%, var(--ciel)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.acc-co-rang sup { font: 600 20px var(--titre); color: var(--or); margin-left: 2px; top: 0; }
.acc-co-stats { display: grid; gap: 5px; min-width: 0; }
.acc-co-pts { display: flex; align-items: baseline; gap: 6px; }
.acc-co-pts b { font: 600 28px/1 var(--titre); font-variant-numeric: tabular-nums; }
.acc-co-pts span { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-2); }
.acc-co-detail { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 12px; font-weight: 700; color: var(--texte-2); }
.acc-co-detail .est-V { color: var(--v); } .acc-co-detail .est-N { color: var(--n); } .acc-co-detail .est-D { color: var(--d); }

.acc-forme { display: inline-flex; gap: 3px; vertical-align: middle; }
.acc-forme i {
  width: 17px; height: 17px; display: grid; place-items: center; border-radius: 5px; font: 600 10px var(--titre); font-style: normal;
  color: #04110a; background: var(--v);
}
.acc-forme i.est-N { background: var(--n); color: #1d1404; }
.acc-forme i.est-D { background: var(--d); color: #22050a; }

.acc-table { width: 100%; border-collapse: separate; border-spacing: 0 3px; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.acc-table th { padding: 0 5px 2px; font-size: 9.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--texte-3); text-align: right; }
.acc-table td { padding: 3px 5px; text-align: right; color: var(--texte-2); background: var(--surface); white-space: nowrap; }
.acc-table td:first-child { border-radius: 9px 0 0 9px; }
.acc-table td:last-child { border-radius: 0 9px 9px 0; }
.acc-table .opt { display: none; }
@container (min-width: 380px) { .acc-table .opt { display: table-cell; } }
.acc-table tbody tr { animation: acc-ligne .45s var(--doux) both; animation-delay: calc(.25s + var(--i) * 32ms); }
.acc-table th.acc-t-club, .acc-table td.acc-t-club { text-align: left; }
/* Le nom prend la place qui reste et se coupe proprement. */
.acc-table td.acc-t-club { width: 100%; max-width: 0; }
.acc-t-club span { display: flex; align-items: center; gap: 7px; min-width: 0; }
.acc-t-club b { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-weight: 700; color: var(--texte); }
.acc-t-club .acc-ecu { --t: 22px; border-radius: 6px; box-shadow: none; }
.acc-t-rang { font: 600 13px var(--titre); color: var(--texte-3) !important; box-shadow: inset 3px 0 0 var(--zone, transparent); }
.acc-t-pts { font: 600 14px var(--titre); color: var(--texte) !important; }
.acc-table tr.est-demi { --zone: var(--or); }
.acc-table tr.est-barrage { --zone: var(--bleu-2); }
.acc-table tr.est-access { --zone: var(--orange); }
.acc-table tr.est-releg { --zone: var(--d); }
/* Le CO : la ligne s'allume, puis respire une fois. */
.acc-table tr.est-co td { color: #fff; background: #2a4fb8; }
.acc-table tr.est-co td:first-child { color: #fff !important; }
.acc-table tr.est-co { animation: acc-ligne .45s var(--doux) both, acc-co-allume 1.4s var(--doux) both; animation-delay: calc(.25s + var(--i) * 32ms), .9s; }
@keyframes acc-co-allume { 30% { opacity: .55; } 60% { opacity: 1; } }

.acc-legende { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 8px 2px 0; font-size: 10.5px; font-weight: 700; color: var(--texte-3); }
.acc-legende span { display: inline-flex; align-items: center; gap: 5px; }
.acc-legende span::before { content: ""; width: 3px; height: 11px; border-radius: 2px; background: var(--zone); }
.acc-legende .est-demi { --zone: var(--or); } .acc-legende .est-barrage { --zone: var(--bleu-2); }
.acc-legende .est-access { --zone: var(--orange); } .acc-legende .est-releg { --zone: var(--d); }
.acc-releve { margin: 8px 2px 0; font-size: 11px; color: var(--texte-3); }
.acc-alerte { margin: 8px 2px 0; padding: 7px 10px; border-radius: 10px; font-size: 11.5px; color: #ffd2a1; background: rgba(255, 159, 67, .12); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ============================================================
   AU CENTRE : LA CARTE QUI SE RETOURNE
   ============================================================ */
.acc-carte { width: 100%; perspective: 1700px; -webkit-tap-highlight-color: transparent; }
.acc-carte.est-pret { cursor: pointer; }
.acc-flip { display: grid; transform-style: preserve-3d; transition: transform .95s cubic-bezier(.3, 1.3, .4, 1); }
.acc-carte.est-retourne .acc-flip { transform: rotateY(180deg); }
/* Les deux faces dans la même case : la carte prend la hauteur de la
   plus grande, rien ne saute pendant la rotation. */
.acc-face {
  grid-area: 1 / 1; position: relative; min-width: 0; overflow: hidden; border-radius: 28px;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border: 1px solid var(--ligne-2);
}
.acc-recto {
  display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(160deg, rgba(31, 62, 150, .5), rgba(6, 12, 34, .9) 60%);
  box-shadow: 0 40px 90px -40px rgba(47, 107, 255, .6);
}
.acc-verso {
  transform: rotateY(180deg); display: flex; flex-direction: column; gap: 14px; padding: 20px 20px 18px;
  background: linear-gradient(200deg, rgba(150, 30, 46, .42), rgba(8, 12, 32, .94) 58%);
  border-color: rgba(245, 196, 81, .35); box-shadow: 0 40px 90px -40px rgba(224, 49, 58, .55);
}
/* Le reflet qui balaie la carte pendant qu'elle tourne. */
.acc-face::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .2) 48%, rgba(255, 255, 255, .05) 56%, transparent 70%);
  transform: translate3d(-110%, 0, 0);
}
.acc-carte.est-saute .acc-face::after { animation: acc-reflet .95s var(--doux); }
@keyframes acc-reflet { 15% { opacity: 1; } 100% { opacity: 0; transform: translate3d(110%, 0, 0); } }
/* Un petit saut vers l'avant au milieu du retournement. */
.acc-carte.est-saute { animation: acc-saut .95s var(--doux); }
@keyframes acc-saut { 45% { transform: translate3d(0, -8px, 0) scale(1.035); } }

/* La carte du prochain match (js/pages/calendrier.js), posée telle
   quelle sur le recto : c'est la face qui porte le fond. */
.acc-recto .prochain { width: auto; padding: 22px 24px 4px; border: 0; border-radius: 0; background: none; box-shadow: none; }
/* Le dos est souvent plus haut : l'affiche se centre dans la place libre. */
.acc-recto .prochain { flex: 1; display: flex; flex-direction: column; }
.acc-recto .prochain-affiche { flex: 1; align-content: center; }
.acc-recto-pied { padding: 0 20px 18px; }
.acc-coup { margin: 0; padding-top: 12px; border-top: 1px solid var(--ligne); text-align: center; font-size: 12.5px; font-weight: 650; color: var(--texte-3); }
.acc-coup b { color: var(--texte); font-weight: 750; }
.acc-coup small { font-size: 11.5px; }
.acc-coup + .acc-duel { border-top: 0; padding-top: 4px; }
.acc-carte:not(.est-pret) .acc-recto-pied:empty { display: none; }

.acc-duel { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin: 14px 0 14px; padding-top: 14px; border-top: 1px solid var(--ligne); }
.acc-duel-club { display: grid; justify-items: center; gap: 5px; min-width: 0; }
.acc-duel-club b { font: 600 30px/1 var(--titre); color: var(--texte-2); }
.acc-duel-club b sup { font-size: 13px; color: var(--texte-3); }
.acc-duel-club.est-co b { color: #fff; }
.acc-duel-club.est-co b sup { color: var(--or); }
.acc-duel-club > span { font-size: 12px; font-weight: 750; color: var(--texte-3); }
.acc-duel-mil { font-size: 9.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-3); text-align: center; line-height: 1.5; }

.acc-tourner, .acc-retour {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid rgba(245, 196, 81, .38);
  background: rgba(245, 196, 81, .1); color: #ffe3a1; font-weight: 750; font-size: 13px; border-radius: 999px;
  transition: background .2s, border-color .2s, transform .15s var(--ressort);
}
.acc-tourner { width: 100%; padding: 10px 14px; }
.acc-tourner b { color: #fff; }
.acc-tourner svg, .acc-retour svg { width: 15px; height: 15px; flex: none; transition: transform .5s var(--ressort); }
.acc-carte.est-pret:hover .acc-tourner, .acc-retour:hover { background: rgba(245, 196, 81, .18); border-color: rgba(245, 196, 81, .6); }
.acc-carte.est-pret:hover .acc-tourner svg { transform: rotate(-200deg); }
.acc-tourner:active, .acc-retour:active { transform: scale(.97); }
.acc-tourner span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------------- Le dos : l'adversaire ---------------- */
.acc-verso-haut { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; }
.acc-verso-id { display: grid; gap: 3px; min-width: 0; }
.acc-verso-id small { font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--or); }
.acc-verso-id b { font: 600 22px/1.05 var(--titre); text-transform: uppercase; letter-spacing: .02em; }
.acc-verso-id span { font-size: 12.5px; font-weight: 700; color: var(--texte-2); }
.acc-verso-id em { font-style: normal; font: 600 15px var(--titre); color: #fff; }
.acc-verso-id em sup { font-size: 10px; color: var(--or); }
.acc-retour { padding: 8px 12px; align-self: start; }
.acc-bloc { display: grid; gap: 6px; }
.acc-bloc h3 { margin: 0 2px 2px; font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--texte-3); }
.acc-verso .acc-ligne { padding-top: 7px; padding-bottom: 7px; background: rgba(4, 8, 22, .45); }
.acc-verso .acc-ligne .cal-lieu { white-space: nowrap; }
/* Les lignes du dos arrivent en cascade, une fois la carte retournée. */
.acc-verso .acc-ligne, .acc-verso .acc-bloc h3 { opacity: 0; transform: translate3d(16px, 0, 0); }
.acc-carte.est-retourne .acc-verso .acc-ligne, .acc-carte.est-retourne .acc-verso .acc-bloc h3 {
  opacity: 1; transform: none; transition: opacity .45s var(--doux), transform .6s var(--ressort);
  transition-delay: calc(.4s + var(--i, 0) * 70ms);
}
.acc-carte.est-retourne .acc-verso .acc-bloc:last-child h3 { --i: 3; }

/* ---------------- Les boutons sous le match ---------------- */
.acc-boutons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }
.accueil-bouton.est-vision {
  color: #fff; border-color: transparent;
  background: linear-gradient(135deg, #e0313a, #8f1420); box-shadow: 0 20px 60px -20px rgba(224, 49, 58, .65);
}
.accueil-bouton.est-vision:hover { background: linear-gradient(135deg, #ef4049, #a3182a); }

/* ---------------- Téléphone ---------------- */
@container (max-width: 520px) {
  .acc-recto .prochain { padding: 18px 14px 2px; }
  .acc-recto-pied { padding: 0 14px 16px; }
  .acc-verso { padding: 16px 14px 14px; gap: 12px; }
  .acc-face { border-radius: 22px; }
  .acc-ecu.est-grand { --t: 52px; border-radius: 15px; }
  .acc-verso-id b { font-size: 18px; }
  .acc-retour span { display: none; }
  .acc-retour { padding: 9px; }
  .acc-ligne { gap: 8px; padding-right: 8px; }
  span.acc-j { width: 68px; }
  .acc-duel-club b { font-size: 26px; }
  .acc-co-rang b { font-size: 56px; }
}

/* ---------------- Moins d'animation ---------------- */
/* Fondu au lieu de la rotation 3D, ni reflet ni saut. */
@media (prefers-reduced-motion: reduce) {
  .acc-centre, .acc-resultats, .acc-classement, .acc-liste li, .acc-table tbody tr, .acc-frise i, .acc-attente i { animation: none !important; }
  .acc-carte.est-saute, .acc-carte.est-saute .acc-face::after { animation: none; }
  .acc-flip, .acc-carte.est-retourne .acc-flip { transform: none; }
  .acc-verso { transform: none; }
  /* La face qui part s'efface puis se cache ; celle qui vient est visible
     tout de suite (le focus clavier peut s'y poser). */
  .acc-face { transition: opacity .2s; }
  .acc-carte:not(.est-retourne) .acc-verso, .acc-carte.est-retourne .acc-recto { opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s .2s; }
  .acc-verso .acc-ligne, .acc-verso .acc-bloc h3 { opacity: 1; transform: none; }
}
html.allege .acc-carte.est-saute, html.allege .acc-carte.est-saute .acc-face::after, html.allege .acc-attente i,
html.allege .acc-table tr.est-co { animation: none; }
html.allege .acc-flip, html.allege .acc-carte.est-retourne .acc-flip { transform: none; transition: none; }
html.allege .acc-verso { transform: none; }
html.allege .acc-face { transition: opacity .25s; box-shadow: none; }
html.allege .acc-carte:not(.est-retourne) .acc-verso, html.allege .acc-carte.est-retourne .acc-recto { opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s; }
html.allege .acc-co { box-shadow: none; }
