/* Charte reprise des résumés vidéo du match du 01/11 : fond nuit, rouge Tinqueux, vert en face, titres gras en italique. */
:root {
  --nuit: #0b0f16;
  --nuit-2: #1c2636;
  --carte: #121925;
  --carte-2: #182131;
  --trait: #263246;
  --trait-champ: #617189;
  --rouge: #d3202c;
  --rouge-texte: #ff5660;
  --vert: #35c94a;
  --vert-fonce: #06200c;
  --texte: #ffffff;
  --doux: #c6d0dc;
  --gris: #8b97a6;
  --clair: #d7dee7;
  --or: #d4a463; /* filet doré du logo de La Tisanerie, réservé au sponsor */
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--texte); font: 16px/1.45 "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  background: radial-gradient(ellipse at 50% -10%, var(--nuit-2), var(--nuit) 70%) fixed, var(--nuit);
  min-height: 100vh;
}
a { color: inherit; }
main { max-width: 760px; margin: 0 auto; padding: 8px 16px 40px; }
section { margin: 28px 0; }

/* barre deux couleurs, comme sur les cartons du résumé */
.lots { display: flex; width: 168px; height: 6px; }
.lots i { flex: 1; background: var(--vert); }
.lots i + i { background: var(--rouge); }

/* en-tête */
.haut { position: sticky; top: 0; z-index: 5; background: #0b0f16f2; backdrop-filter: blur(8px); border-bottom: 1px solid var(--trait); }
.haut { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; padding: 10px 16px; }
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.marque b { display: block; font-weight: 900; font-style: italic; letter-spacing: .5px; font-size: 15px; }
.marque small { display: block; color: var(--gris); font-size: 12px; font-weight: 600; }
.ecu { width: 44px; height: 44px; object-fit: contain; box-shadow: 0 4px 12px #0008; }
.logo { width: 24px; height: 24px; object-fit: contain; vertical-align: middle; flex: none; }
.eq { display: flex; align-items: center; gap: 8px; }
.eq:last-child { justify-content: flex-end; }
.logos-duel { display: flex; gap: 18px; }
.logo-g { width: 64px; height: 64px; object-fit: contain; box-shadow: 0 6px 18px #0008; }
nav { display: flex; gap: 2px; margin-left: auto; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; text-decoration: none; font-weight: 700; font-size: 14px; color: var(--doux); padding: 8px 10px; border-bottom: 3px solid transparent; white-space: nowrap; }
nav a[aria-current] { color: var(--texte); border-color: var(--rouge); }
.compte { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; text-decoration: none; font-weight: 700; font-size: 14px; white-space: nowrap; color: var(--texte); background: var(--carte-2); border-left: 4px solid var(--rouge); }

/* titres */
.une { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 34px 0 10px; }
.sur { margin: 6px 0 0; color: var(--doux); font-weight: 700; letter-spacing: 4px; text-transform: uppercase; font-size: 13px; }
h1 { margin: 0; font-weight: 900; font-style: italic; letter-spacing: 1px; line-height: 1.02; font-size: clamp(34px, 9vw, 64px); }
.une h1 { color: var(--rouge-texte); }
h1.page { font-size: clamp(30px, 8vw, 48px); margin: 26px 0 6px; }
.sous { margin: 0; color: var(--doux); font-weight: 600; }
.intro { color: var(--doux); margin: 0 0 10px; }
.titre { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 10px; font-size: 14px; font-weight: 600; color: var(--gris); }
.titre span { font-weight: 900; font-style: italic; letter-spacing: 1px; color: var(--texte); font-size: 18px; border-left: 6px solid var(--rouge); padding-left: 10px; }
.titre a { color: var(--doux); white-space: nowrap; padding: 12px 0; margin: -12px 0; }
h2 { font-weight: 800; margin: 8px 0; }
.note { color: var(--gris); font-size: 14px; }
.retour { margin: 18px 0 0; }
.retour a, .note a { padding: 13px 0; }
.retour a { color: var(--doux); font-weight: 700; text-decoration: none; }
.retour a::before { content: "‹ "; }

/* tableau de score, comme l'incrustation du résumé */
.bug { display: inline-flex; height: 40px; font-weight: 800; box-shadow: 0 6px 18px #0008; flex: none; }
.bug > span { display: flex; align-items: center; justify-content: center; }
.bug .nous, .bug .eux { width: 52px; font-size: 15px; letter-spacing: 1px; }
.bug .nous { background: var(--rouge); }
.bug .eux { background: var(--carte-2); color: var(--clair); }
.bug .sc { background: var(--nuit); min-width: 74px; gap: 9px; font-size: 22px; padding: 0 8px; }
.bug .sc i { width: 10px; height: 3px; background: var(--gris); }
.bug .sc em { font-style: normal; font-size: 14px; color: var(--doux); }

/* cartes de match */
.match { display: block; text-decoration: none; background: var(--carte); border: 1px solid var(--trait); margin: 0 0 10px; padding: 12px 14px; transition: border-color .15s, transform .15s; }
.match:hover { border-color: #3a4a64; }
.match:active { transform: scale(.99); }
.m-haut { display: flex; justify-content: space-between; gap: 10px; color: var(--gris); font-size: 13px; font-weight: 600; }
.m-corps { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; margin: 10px 0 2px; }
.eq { font-weight: 700; font-size: 15px; line-height: 1.2; color: var(--clair); min-width: 0; overflow-wrap: anywhere; }
.eq:last-child { text-align: right; }
.eq.nous { color: var(--texte); font-weight: 900; font-style: italic; }
.m-bas { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.issue { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; padding: 3px 8px; }
.issue.V { background: var(--rouge); }
.issue.N { border: 1px solid var(--gris); color: var(--clair); }
.issue.D { background: var(--carte-2); color: var(--gris); }
.pastille { display: inline-flex; align-items: center; gap: 8px; background: var(--nuit); font-weight: 800; font-size: 12px; letter-spacing: 1px; padding: 5px 10px; box-shadow: 0 4px 12px #0007; }
.pastille i { width: 9px; height: 9px; border-radius: 50%; background: var(--rouge); }

/* bloc vidéo d'accueil, comme le carton titre */
.video-une { display: block; text-decoration: none; }
.v-fond { position: relative; aspect-ratio: 16 / 9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 16px; text-align: center;
  background: radial-gradient(ellipse at 50% 40%, var(--nuit-2), var(--nuit) 72%); border: 1px solid var(--trait); }
.v-fond p { margin: 0; color: var(--doux); font-weight: 700; letter-spacing: 4px; font-size: 13px; }
.v-eq { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 14px; font-weight: 900; font-size: clamp(16px, 4.4vw, 24px); }
.v-eq .r { color: var(--rouge-texte); }
.v-eq .v { color: var(--vert); }
.v-eq.grand { font-size: clamp(20px, 5.5vw, 32px); }
.lecture { position: absolute; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; background: var(--rouge); font-weight: 900; font-style: italic; letter-spacing: 1px; padding: 8px 18px; }
.lecture::before { content: ""; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.video-une:hover .lecture { filter: brightness(1.1); }

/* fiche de match */
.fiche { padding-top: 20px; }
video, .cadre { display: block; width: 100%; background: #000; border: 1px solid var(--trait); }
video { max-height: 78vh; }
.cadre { aspect-ratio: 16 / 9; }
.cadre iframe { width: 100%; height: 100%; border: 0; }
.verrou { background: radial-gradient(ellipse at 50% 40%, var(--nuit-2), var(--nuit) 72%); border: 1px solid var(--trait); padding: 34px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.verrou p { margin: 0; color: var(--doux); }
.buts { list-style: none; margin: 0; padding: 0; }
.buts li { display: flex; align-items: stretch; margin: 0 0 8px; background: var(--carte); box-shadow: 0 4px 12px #0006; }
.buts .min { background: var(--rouge); min-width: 58px; display: flex; align-items: center; justify-content: center; font-weight: 900; font-style: italic; font-size: 20px; }
.buts .adv .min { background: var(--vert); color: var(--vert-fonce); }
.buts .qui { padding: 10px 14px; font-weight: 800; font-size: 17px; flex: 1; }
.buts .qui small { color: var(--gris); font-weight: 600; }
.buts .det { padding: 10px 14px; color: var(--doux); font-size: 14px; align-self: center; }

/* classement */
.table { overflow-x: auto; border: 1px solid var(--trait); background: var(--carte); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 9px 6px; text-align: center; white-space: nowrap; }
th { color: var(--gris); font-weight: 700; font-size: 12px; border-bottom: 1px solid var(--trait); }
td + td { color: var(--clair); }
.g { text-align: left; }
td.g { font-weight: 700; color: var(--texte); white-space: normal; min-width: 140px; }
td.g small { color: var(--gris); font-weight: 500; }
tbody tr + tr td { border-top: 1px solid #1b2433; }
tr.nous td { background: #d3202c22; }
tr.nous td:first-child { box-shadow: inset 5px 0 0 var(--rouge); }
tr.nous td.g { font-style: italic; font-weight: 900; }

/* blocs, formulaires */
.bloc { background: var(--carte); border: 1px solid var(--trait); padding: 16px; margin: 0 0 12px; }
.liste { padding-left: 20px; color: var(--clair); }
.bouton { display: inline-block; background: var(--rouge); color: #fff; border: 0; font: inherit; font-weight: 900; font-style: italic; letter-spacing: 1px; padding: 12px 22px; text-decoration: none; cursor: pointer; min-height: 44px; }
.bouton, .choix { transition: transform .1s ease-out; }
.bouton:active, .choix:active { transform: scale(.97); }
:focus-visible { outline: 2px solid var(--rouge-texte); outline-offset: 2px; }
.bouton.gris { background: var(--carte-2); font-style: normal; font-weight: 700; }
.formulaire { display: flex; flex-direction: column; gap: 12px; }
.formulaire label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; color: var(--doux); font-size: 14px; }
.formulaire label:has(input[type=checkbox]) { flex-direction: row; align-items: center; min-height: 44px; }
input, textarea { font: inherit; color: var(--texte); background: var(--nuit); border: 1px solid var(--trait-champ); padding: 11px 12px; min-height: 44px; width: 100%; }
select { font: inherit; color: var(--texte); background: var(--nuit); border: 1px solid var(--trait-champ); padding: 10px; min-height: 44px; }
.trois { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; }
.ligne { display: flex; align-items: center; gap: 8px; padding: 6px 0; }
.ligne + .ligne { border-top: 1px solid #1b2433; }
.ligne .qui { flex: 1; font-weight: 700; }
.ligne .qui small { color: var(--gris); font-weight: 600; }
.choix { font: inherit; font-size: 14px; font-weight: 700; color: var(--doux); background: var(--carte-2); border: 1px solid var(--trait); padding: 8px 12px; min-height: 44px; cursor: pointer; }
.choix.oui { background: var(--rouge); border-color: var(--rouge); color: #fff; }
.choix.non { background: var(--nuit); border-color: var(--gris); color: var(--texte); }
.inline { display: inline-flex; gap: 8px; align-items: center; }
.effectif, .passagers { list-style: none; margin: 0 0 12px; padding: 0; }
.passagers li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 0; }
.voiture p { margin: 0 0 6px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
input[type=checkbox] { width: 22px; min-height: 22px; accent-color: var(--rouge); }
input:focus, textarea:focus { outline: 2px solid var(--rouge); outline-offset: 1px; }
::placeholder { color: var(--gris); opacity: 1; } /* le gris par défaut du navigateur tombait à 4,17:1 sur le fond nuit */
.deux { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } /* un long intitulé de liste ne pousse plus sa colonne */
summary { cursor: pointer; font-weight: 700; padding: 11px 0; }
details[open] summary { margin-bottom: 12px; }
.erreur { color: var(--rouge-texte); font-weight: 700; margin: 0; }
.ok { background: var(--vert); color: var(--vert-fonce); font-weight: 800; padding: 10px 14px; }

/* résumés et photos */
.resume { padding-bottom: 8px; }
.resume .v-eq { margin: 0 0 14px; justify-content: flex-start; font-size: clamp(15px, 4vw, 20px); }
.sous-titre { font-weight: 900; font-style: italic; letter-spacing: 1px; font-size: 15px; margin: 22px 0 10px; color: var(--doux); }
.actions .bouton { margin-top: 10px; }
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.galerie figure { margin: 0; background: var(--carte); border: 1px solid var(--trait); }
.galerie img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.galerie .dl { display: block; text-align: center; font-size: 13px; font-weight: 700; padding: 8px; text-decoration: none; color: var(--texte); background: var(--carte-2); }
.piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.compte-j { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 12px; padding: 10px 0; }
.compte-j + .compte-j { border-top: 1px solid #1b2433; }
.compte-j small { color: var(--gris); }
.etat { font-size: 12px; font-weight: 800; letter-spacing: .5px; padding: 2px 7px; text-transform: uppercase; }
.etat.attente { background: #ffb02033; color: #ffcf70; }
.etat.valide { background: var(--vert); color: var(--vert-fonce); }
.etat.refuse { background: var(--carte-2); color: var(--gris); }

/* stats */
.tuiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0; }
.tuile { background: var(--carte); border: 1px solid var(--trait); padding: 14px 12px; display: flex; flex-direction: column; gap: 2px; }
.tuile b { font-size: 34px; font-weight: 900; font-style: italic; line-height: 1; letter-spacing: -.02em; }
.tuile b i { font-style: normal; color: var(--gris); font-weight: 700; margin: 0 4px; }
.tuile span { color: var(--gris); font-size: 13px; font-weight: 600; }
.forme { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 18px; }
.forme > span:first-child { color: var(--gris); font-size: 13px; font-weight: 600; margin-right: 4px; flex-basis: 100%; }
.forme .issue { min-width: 28px; text-align: center; }
.podiums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.podium { background: var(--carte); border: 1px solid var(--trait); border-top: 4px solid var(--rouge); padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.podium span { color: var(--gris); font-size: 12px; font-weight: 800; letter-spacing: 1px; }
.podium b { font-size: 18px; font-weight: 900; font-style: italic; }
.podium small { color: var(--doux); font-weight: 600; }
table.stats td.fort { color: var(--texte); font-weight: 900; }
abbr { text-decoration: none; }

/* buts en vidéo, fiches joueurs, liens entre les pages */
.buts li { flex-wrap: wrap; }
.buts a.min { text-decoration: none; color: inherit; }
.revoir { flex-basis: 100%; border-top: 1px solid var(--trait); }
.revoir summary { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; margin: 0; color: var(--texte); font-size: 14px; list-style: none; }
.revoir summary::-webkit-details-marker { display: none; }
.revoir summary::before { content: ""; border-left: 10px solid var(--rouge-texte); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.revoir[open] summary { margin: 0; }
.revoir video { border: 0; border-top: 1px solid var(--trait); }
.dl-clip { display: flex; align-items: center; min-height: 44px; padding: 0 14px; font-size: 13px; font-weight: 700; color: var(--doux); }
.lj { color: inherit; text-decoration: underline; text-decoration-color: #ffffff59; text-underline-offset: 3px; padding: 13px 0; }
table .lj { display: block; padding: 12px 0; margin: -12px 0; } /* toute la cellule du nom est cliquable */
.lj:hover { text-decoration-color: var(--rouge-texte); }
.revoir-lien { text-decoration: none; color: var(--rouge-texte); font-weight: 800; display: flex; align-items: center; min-height: 44px; }
.nav-match { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 22px 0 0; }
.nav-match a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; background: var(--carte); border: 1px solid var(--trait); text-decoration: none; font-size: 14px; font-weight: 700; color: var(--doux); }
.nav-match .suiv { justify-content: flex-end; text-align: right; }
.par-match { list-style: none; margin: 0; padding: 0; }
.par-match > li { margin: 0 0 12px; }
.m-lien { display: flex; align-items: center; gap: 8px; min-height: 44px; color: var(--doux); font-weight: 700; font-size: 14px; text-decoration: none; }
.m-lien b { color: var(--texte); }
.m-lien::after { content: "›"; margin-left: auto; color: var(--gris); }

/* espace coach : convocation, présences, composition, homme du match */
.cases { list-style: none; margin: 0 0 12px; padding: 0; }
.cases li + li { border-top: 1px solid #1b2433; }
.cases label { display: flex; align-items: center; gap: 12px; min-height: 48px; cursor: pointer; }
.cases .qui { flex: 1; font-weight: 700; }
.cases .qui small { color: var(--gris); font-weight: 600; }
.rep { font-size: 12px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--gris); }
.rep.oui { color: var(--vert); }
.rep.non { color: var(--rouge-texte); }
.etat-coach { margin: 0 0 4px; color: var(--gris); font-size: 14px; }
.formation { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.formation label { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--doux); font-size: 14px; }
.compo { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 16px; align-items: start; }
.compo.seule { grid-template-columns: minmax(0, 420px); }
.terrain { display: block; width: 100%; background: #123a22; border: 1px solid var(--trait); }
.terrain .lignes * { fill: none; stroke: #ffffff59; stroke-width: .5; }
.terrain .pion circle { fill: var(--rouge); stroke: #fff; stroke-width: .6; }
.terrain .pion.libre circle { fill: #0b0f16b3; stroke: #ffffff8c; stroke-dasharray: 1.5 1; }
.terrain text { fill: #fff; text-anchor: middle; font-weight: 800; }
.terrain .num { font-size: 4px; }
.terrain .nom { font-size: 3.3px; }
.postes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
.formulaire .postes label { flex-direction: row; align-items: center; gap: 8px; }
.postes label > span { flex: none; width: 36px; font-weight: 800; color: var(--texte); font-size: 13px; }
.postes select { flex: 1; min-width: 0; }
.champ-titre { margin: 4px 0 0; font-weight: 800; color: var(--doux); font-size: 14px; }
.votes { list-style: none; margin: 0 0 12px; padding: 0; }
.votes li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; }
.votes li + li { border-top: 1px solid #1b2433; }
.gagnant { margin: 0 0 12px; font-size: 22px; font-weight: 900; font-style: italic; }
.ligne select { flex: 1; min-width: 0; }
.jauge { height: 8px; background: var(--nuit); border: 1px solid var(--trait-champ); margin: 8px 0; }
.jauge i { display: block; height: 100%; background: var(--vert); }
.jauge.alerte i { background: var(--rouge); }
@media (max-width: 760px) { .compo { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .postes { grid-template-columns: 1fr; } }

/* entraînement : bibliothèque, schémas, séances */
h1.page.ex { font-size: clamp(24px, 6vw, 36px); line-height: 1.1; }
.sur-page { margin: 22px 0 0; color: var(--doux); font-weight: 800; letter-spacing: 1px; font-size: 13px; }
.sur-page + h1.page { margin-top: 6px; }
.schema { margin: 14px 0 6px; }
.schema-svg { display: block; width: 100%; max-height: 72vh; background: #123a22; border: 1px solid var(--trait); }
.schema-svg .lignes * { fill: none; stroke: #ffffff59; stroke-width: .4; }
.schema-svg .zone rect { fill: #ffffff0f; stroke: #ffffff8c; stroke-width: .35; stroke-dasharray: 1.2 .8; }
.schema-svg .zone text { fill: #ffffffcc; font-size: 2.6px; font-weight: 700; }
.schema-svg .but { stroke: #fff; stroke-width: 1.4; stroke-linecap: round; }
.schema-svg .plot { stroke: #0b0f16; stroke-width: .2; }
.schema-svg .ballon { fill: #fff; stroke: #0b0f16; stroke-width: .35; }
.schema-svg .j circle { stroke: #0b0f16; stroke-width: .3; }
.schema-svg .j text { font-size: 2.3px; font-weight: 800; text-anchor: middle; }
.schema-svg path[class^="f-"] { fill: none; stroke-width: .55; stroke-linecap: round; }
.schema-svg .f-passe { stroke: #fff; }
.schema-svg .f-course { stroke: #ffcf70; stroke-dasharray: 1.4 1; }
.schema-svg .f-conduite { stroke: #7fc4ff; }
.schema-svg .f-tir { stroke: #ff5660; stroke-width: 1; }
.schema-svg .etape { fill: #ffcf70; font-size: 2.6px; font-weight: 900; text-anchor: middle; }
.schema figcaption { color: var(--gris); font-size: 14px; margin-top: 6px; }
.cle { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 12px; color: var(--doux); font-size: 13px; }
.cle span { display: inline-flex; align-items: center; gap: 6px; }
.cle i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid #0b0f16; }
.cle .cA { background: #d3202c; } .cle .cB { background: #2f6fd6; } .cle .cN { background: #ffcf70; } .cle .cG { background: #f2f4f7; }
.cle b { width: 18px; height: 0; border-top: 2px solid #fff; }
.cle .t-course { border-top: 2px dashed #ffcf70; } .cle .t-conduite { border-top: 2px dotted #7fc4ff; } .cle .t-tir { border-top: 3px solid #ff5660; }
.filtres { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.filtres a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 22px; background: var(--carte-2); color: var(--doux); font-size: 14px; font-weight: 700; text-decoration: none; }
.filtres a[aria-current] { background: var(--texte); color: var(--nuit); }
.exos { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.exo { display: flex; flex-direction: column; gap: 3px; min-height: 44px; padding: 12px 14px; background: var(--carte); border: 1px solid var(--trait); text-decoration: none; }
.exo b { font-weight: 800; }
.exo span { color: var(--gris); font-size: 13px; font-weight: 600; }
.exo-titre { margin: 8px 0 0; font-weight: 900; font-style: italic; font-size: 18px; }
.seance { list-style: none; margin: 0; padding: 0; }
.seance > li, .bloc-edit { display: flex; gap: 12px; margin: 0 0 8px; background: var(--carte); border: 1px solid var(--trait); }
.horaire { flex: none; width: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: var(--carte-2); font-weight: 900; font-style: italic; font-size: 16px; padding: 10px 0; }
.horaire i { width: 10px; height: 2px; background: var(--gris); }
.horaire small { color: var(--gris); font-style: normal; font-weight: 600; font-size: 11px; }
.seance .contenu, .bloc-edit .champs { flex: 1; min-width: 0; padding: 10px 14px 10px 0; }
.seance h3 { margin: 0 0 4px; font-size: 16px; }
.seance h3 a { display: inline-block; padding: 11px 0; margin: -11px 0; }
.seance p { margin: 4px 0; }
.seance .revoir { border-top: 0; }
.seance .revoir summary { padding: 0; }
.blocs-edit { list-style: none; margin: 0; padding: 0; }
.bloc-edit .champs { display: flex; flex-direction: column; gap: 10px; }
.bloc-edit select, .bloc-edit input { width: 100%; }
.barre-seance { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 12px; }
.formulaire .barre-seance label { flex-direction: row; align-items: center; }
.relance { display: flex; flex-direction: column; gap: 6px; margin: 12px 0 0; font-weight: 700; color: var(--doux); font-size: 14px; }
.relance textarea { font-size: 14px; color: var(--clair); }
/* mémoire de l'IA du coach */
.memoire { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.memoire li { background: var(--carte); border: 1px solid var(--trait); padding: 12px; }
.memoire .etat-coach { margin: 0 0 8px; }
@media (max-width: 480px) { .horaire { width: 52px; font-size: 14px; } }

footer { max-width: 760px; margin: 0 auto; padding: 20px 16px 40px; color: var(--gris); font-size: 13px; }

/* sponsor principal, La Tisanerie : présent partout, jamais criard (DA de Val du 03/11) */
.sponsor-tete { display: flex; align-items: center; gap: 10px; margin: 0 auto 0 0; padding-left: 16px; border-left: 1px solid var(--trait); }
.sponsor-tete small { color: var(--gris); font-size: 10px; font-weight: 700; letter-spacing: .8px; line-height: 1.25; text-transform: uppercase; }
.sponsor-tete img, .presente img, .partenaire img { display: block; height: auto; }
.marque .sp { display: none; }
.presente { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 18px 0; color: var(--or); font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.presente::before, .presente::after { content: ""; flex: 1; max-width: 120px; height: 1px; background: linear-gradient(90deg, transparent, var(--or)); opacity: .6; }
.presente::after { background: linear-gradient(90deg, var(--or), transparent); }
.une .presente { margin: 6px 0 0; width: 100%; }
.presente.mini { margin: 2px 0 6px; gap: 8px; color: var(--or); font-size: 10px; letter-spacing: 1.2px; }
.presente.mini::before, .presente.mini::after { display: none; }
.partenaire { display: grid; justify-items: start; gap: 10px; margin: 0 0 22px; padding: 22px 0; border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); }
.partenaire p { margin: 0; color: var(--doux); }
.partenaire .label { color: var(--or); font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.lien-or { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; color: var(--or); font-weight: 700; text-decoration: none; border: 1px solid #d4a46380; }
.lien-or:hover { background: #d4a46314; }
.lien-or:focus-visible { outline: 2px solid var(--or); outline-offset: 2px; }
@media (max-width: 1180px) {
  .sponsor-tete { display: none; }
  .marque small { display: none; }
  .marque .sp { display: block; margin-top: 3px; line-height: 0; } /* sans boîte de ligne : l'en-tête garde sa hauteur */
  .marque .sp img { width: 92px; }
}

@media (max-width: 600px) {
  .haut > nav { order: 3; width: 100%; margin: 0; }
  .haut > .compte { margin-left: auto; }
  nav a[href="/"] { display: none; }
  nav a { flex: 1; padding: 8px 6px; }
}
@media (max-width: 480px) {
  .eq { font-size: 13px; }
  .m-corps .eq { flex-direction: column; justify-content: center; text-align: center; gap: 4px; }
  .m-corps .eq .logo { order: -1; }
  th, td { padding: 9px 4px; }
  .tuiles { grid-template-columns: repeat(2, 1fr); }
  .podiums { grid-template-columns: 1fr; }
  .bug { height: 36px; }
  .bug .nous, .bug .eux { width: 44px; font-size: 13px; }
  .bug .sc { min-width: 62px; font-size: 19px; }
  .marque small { display: none; }
  .haut { padding: 8px 12px 0; }
  nav a { font-size: 13px; padding: 8px 3px; }
}
@media (prefers-reduced-motion: reduce) { .match, .bouton, .choix { transition: none; } .bouton:active, .choix:active, .match:active { transform: none; } }
@media (prefers-reduced-transparency: reduce) { .haut { background: var(--nuit); backdrop-filter: none; } }
@media (prefers-contrast: more) { :root { --trait: #6b7a90; --gris: #b4bfcc; } }
