/* Elite Sniper — sombre, orange, vivant ; pensé d'abord pour le téléphone */
:root {
  --fond: #090E14; --carte: rgba(18, 26, 35, .82); --carte-pleine: #121A23; --carte2: #18202A; --bord: #2A3542;
  --texte: #F3F6F9; --doux: #AEBBC8; --discret: #8FA0B2;
  --orange: #F28C28; --orange2: #FFB25B; --vert: #55D08F; --rouge: #E5636B;
}
@property --p { syntax: "<number>"; inherits: false; initial-value: 0; }
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--fond); color: var(--texte); overflow-x: hidden;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 16px; line-height: 1.5; }
a { color: var(--orange); }
h1 { font-size: 1.85rem; line-height: 1.15; margin: .4em 0 .5em; letter-spacing: -.01em; }
h2 { font-size: 1.3rem; margin: 1.6em 0 .7em; }
h3 { font-size: 1.05rem; margin: .6em 0 .4em; }
small { font-size: .82rem; }

/* ───────────── Fond animé ───────────── */
.fond { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: radial-gradient(1200px 600px at 80% -10%, #1A2533 0%, transparent 60%),
              radial-gradient(900px 500px at -10% 110%, #14202C 0%, transparent 60%), var(--fond); }
.halo { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .22; }
.halo-a { width: 520px; height: 520px; background: var(--orange); top: -180px; right: -140px; animation: derive 22s ease-in-out infinite alternate; }
.halo-b { width: 420px; height: 420px; background: #2B6CB0; bottom: -160px; left: -120px; animation: derive 26s ease-in-out infinite alternate-reverse; }
@keyframes derive { to { transform: translate(-80px, 60px) scale(1.15); } }

.terrain { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--orange); opacity: .07;
  animation: respire 14s ease-in-out infinite alternate; }
@keyframes respire { from { transform: scale(1); } to { transform: scale(1.05); } }

.balle { position: absolute; will-change: transform; filter: drop-shadow(0 12px 18px rgba(0,0,0,.45)); }
.balle svg { width: 100%; height: 100%; display: block; animation: tourne linear infinite; }
.balle-1 { width: 74px; height: 74px; left: 6%;  top: 22%; opacity: .55; animation: flotte 16s ease-in-out infinite alternate; }
.balle-2 { width: 48px; height: 48px; left: 84%; top: 18%; opacity: .45; animation: flotte 19s ease-in-out infinite alternate-reverse; }
.balle-3 { width: 34px; height: 34px; left: 62%; top: 72%; opacity: .35; filter: blur(1.5px); animation: flotte 23s ease-in-out infinite alternate; }
.balle-4 { width: 92px; height: 92px; left: 72%; top: 52%; opacity: .25; filter: blur(3px); animation: flotte 27s ease-in-out infinite alternate-reverse; }
.balle-5 { width: 28px; height: 28px; left: 30%; top: 86%; opacity: .35; filter: blur(1px); animation: flotte 21s ease-in-out infinite alternate; }
.balle-6 { width: 40px; height: 40px; left: 18%; top: 60%; opacity: .3;  filter: blur(2px); animation: flotte 25s ease-in-out infinite alternate; }
.balle-1 svg { animation-duration: 18s; } .balle-2 svg { animation-duration: 12s; animation-direction: reverse; }
.balle-3 svg { animation-duration: 9s; }  .balle-4 svg { animation-duration: 30s; }
.balle-5 svg { animation-duration: 8s; }  .balle-6 svg { animation-duration: 14s; animation-direction: reverse; }
@keyframes flotte { 0% { transform: translate(0, 0); } 50% { transform: translate(40px, -60px); } 100% { transform: translate(-30px, 30px); } }
@keyframes tourne { to { transform: rotate(360deg); } }

/* Joueurs pictogrammes */
.athlete { position: absolute; bottom: 3vh; width: 150px; height: 182px; color: #C9D4DE; opacity: .16; }
.athlete-foot { left: -160px; animation: traverse 34s linear infinite; }
.athlete-basket { right: -160px; bottom: 26vh; animation: traverse-retour 41s linear infinite; animation-delay: -12s; }
.athlete-basket .picto { transform: scaleX(-1); }
@keyframes traverse { to { transform: translateX(calc(100vw + 320px)); } }
@keyframes traverse-retour { to { transform: translateX(calc(-100vw - 320px)); } }
.picto { width: 100%; height: 100%; overflow: visible; }
.picto .trait { stroke: currentColor; stroke-width: 11; stroke-linecap: round; }
.corps { animation: rebondit .36s ease-in-out infinite alternate; }
@keyframes rebondit { to { transform: translateY(-5px); } }
.cuisse { transform-origin: 56px 84px; }
.athlete-basket .cuisse { transform-origin: 58px 84px; }
.cuisse-a { animation: jambe .72s ease-in-out infinite alternate; }
.cuisse-b { animation: jambe .72s ease-in-out infinite alternate-reverse; }
@keyframes jambe { from { transform: rotate(32deg); } to { transform: rotate(-32deg); } }
.tibia { transform-origin: 56px 118px; }
.athlete-basket .tibia { transform-origin: 58px 118px; }
.tibia-a { animation: genou .72s ease-in-out infinite alternate; }
.tibia-b { animation: genou .72s ease-in-out infinite alternate-reverse; }
@keyframes genou { from { transform: rotate(0deg); } to { transform: rotate(58deg); } }
.bras { transform-origin: 61px 44px; }
.bras-a { animation: bras .72s ease-in-out infinite alternate-reverse; }
.bras-b { animation: bras .72s ease-in-out infinite alternate; }
@keyframes bras { from { transform: rotate(-38deg); } to { transform: rotate(38deg); } }
.bras-dribble { transform-origin: 61px 44px; animation: dribble-bras .36s ease-in-out infinite alternate; }
@keyframes dribble-bras { from { transform: rotate(-8deg); } to { transform: rotate(10deg); } }
.balle-dribble { animation: dribble .36s cubic-bezier(.5, 0, .5, 1) infinite alternate; }
@keyframes dribble { from { transform: translateY(-8px); } to { transform: translateY(48px); } }
.balle-pied { transform-origin: 100px 154px; animation: pousse .72s ease-in-out infinite; }
@keyframes pousse { 0%, 100% { transform: translateX(0) rotate(0deg); } 50% { transform: translateX(12px) rotate(180deg); } }

/* ───────────── En-tête et bandeau ───────────── */
.entete { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 14px 20px; position: sticky; top: 0; z-index: 10;
  background: rgba(9, 14, 20, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(42, 53, 66, .7); }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 900; letter-spacing: .07em; color: var(--texte);
  text-decoration: none; font-size: 1.15rem; }
.logo > span:last-child { color: var(--orange); }
.viseur { width: 18px; height: 18px; border: 2px solid var(--orange); border-radius: 50%; position: relative;
  animation: vise 3s ease-in-out infinite; }
.viseur::before, .viseur::after { content: ""; position: absolute; background: var(--orange); }
.viseur::before { left: 50%; top: -5px; bottom: -5px; width: 2px; transform: translateX(-50%); }
.viseur::after { top: 50%; left: -5px; right: -5px; height: 2px; transform: translateY(-50%); }
@keyframes vise { 0%, 100% { transform: rotate(0) scale(1); } 50% { transform: rotate(90deg) scale(.85); } }
.menu { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.menu a { color: var(--doux); text-decoration: none; font-weight: 600; font-size: .95rem; position: relative; padding: 4px 0; }
.menu a:not(.bouton)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--orange);
  transform: scaleX(0); transition: transform .25s ease; }
.menu a:hover, .menu a.actif { color: var(--texte); }
.menu a:hover::after, .menu a.actif::after { transform: scaleX(1); }

.defilant { overflow: hidden; border-bottom: 1px solid rgba(42, 53, 66, .7); background: rgba(18, 26, 35, .6);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: .88rem; color: var(--doux); }
.piste { display: inline-flex; gap: 36px; padding: 9px 0; white-space: nowrap; animation: defile 48s linear infinite; }
.defilant:hover .piste { animation-play-state: paused; }
@keyframes defile { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.item { display: inline-flex; align-items: center; gap: 6px; }
.item.direct { color: var(--texte); font-weight: 600; }
.point { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--vert); animation: pouls 1.6s ease-out infinite; }
@keyframes pouls { 0% { box-shadow: 0 0 0 0 rgba(85, 208, 143, .7); } 100% { box-shadow: 0 0 0 9px rgba(85, 208, 143, 0); } }

.bandeau { background: linear-gradient(90deg, var(--orange), var(--orange2)); color: #0B1016; padding: 10px 18px;
  font-weight: 600; text-align: center; }
.bandeau a { color: #0B1016; text-decoration: underline; margin-left: 6px; }

/* ───────────── Contenu ───────────── */
.contenu { max-width: 1040px; margin: 0 auto; padding: 18px; }
.intro { color: var(--doux); max-width: 680px; }
.discret { color: var(--discret); font-size: .9rem; }
.vide { color: var(--discret); background: var(--carte); border: 1px dashed var(--bord); border-radius: 14px; padding: 18px;
  backdrop-filter: blur(6px); }
.orange { color: var(--orange); } .vert { color: var(--vert); } .rouge { color: var(--rouge); }
.err { color: var(--rouge); display: block; }
.gros { font-size: 1.3rem; }
.test { background: #3A4350; color: var(--doux); border-radius: 999px; padding: 1px 8px; font-size: .72rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: .05em; vertical-align: middle; }

/* Apparition au défilement (seulement si le JavaScript tourne) */
.js .revele { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .revele.vu { opacity: 1; transform: none; }

.bouton { display: inline-block; border: 1px solid var(--bord); color: var(--texte); background: var(--carte);
  border-radius: 12px; padding: 12px 18px; font-weight: 700; text-decoration: none; cursor: pointer; font-size: 1rem;
  font-family: inherit; transition: transform .15s ease, box-shadow .2s ease, filter .2s ease; }
.bouton:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .35); }
.bouton:active { transform: translateY(0) scale(.98); }
.bouton.plein { background: linear-gradient(135deg, var(--orange), var(--orange2)); border-color: transparent;
  color: #0B1016; width: 100%; text-align: center; margin-top: 6px; }
.bouton.petit { padding: 7px 12px; background: var(--orange); border-color: var(--orange); color: #0B1016 !important; }
.bouton.petit::after { display: none; }
.pulse { animation: appel 2.4s ease-in-out infinite; }
@keyframes appel { 0%, 100% { box-shadow: 0 0 0 0 rgba(242, 140, 40, .55); } 50% { box-shadow: 0 0 0 12px rgba(242, 140, 40, 0); } }

.carte { background: var(--carte); border: 1px solid var(--bord); border-radius: 18px; padding: 18px; margin-bottom: 14px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.carte.etroite { max-width: 460px; margin: 20px auto; }
.carte.attente { border-color: var(--orange); }
.carte.texte h3 { color: var(--orange); }
details.carte summary { cursor: pointer; font-weight: 700; }
.encadre { background: var(--carte); border-left: 4px solid var(--orange); padding: 14px 16px; margin-top: 26px; color: var(--doux);
  border-radius: 8px; backdrop-filter: blur(8px); }
.liste li { margin-bottom: 6px; }
.icone { font-size: 1.6rem; display: inline-block; animation: flotte-icone 3.2s ease-in-out infinite; }
@keyframes flotte-icone { 50% { transform: translateY(-5px); } }

.message { border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; background: var(--carte); border: 1px solid var(--bord);
  animation: glisse .5s ease; }
@keyframes glisse { from { opacity: 0; transform: translateY(-8px); } }
.message.success { border-color: var(--vert); } .message.error { border-color: var(--rouge); }

/* Formulaires */
.champ { margin-bottom: 14px; display: flex; flex-direction: column; gap: 4px; }
.champ label { font-weight: 600; }
.champ input[type=text], .champ input[type=password], .champ input[type=tel], .champ textarea, .champ select {
  background: rgba(9, 14, 20, .8); color: var(--texte); border: 1px solid var(--bord); border-radius: 12px;
  padding: 12px; font-size: 1rem; font-family: inherit; transition: border-color .2s, box-shadow .2s; }
.champ input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242, 140, 40, .25); }
.champ small { color: var(--discret); }
.champ.case label { font-weight: 500; display: flex; gap: 10px; align-items: center; }
.champ.case input { width: 20px; height: 20px; accent-color: var(--orange); }
.champ.erreur input { border-color: var(--rouge); }

/* ───────────── Accueil ───────────── */
.hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; padding: 30px 0 14px; }
.hero h1 { font-size: 2.6rem; }
.brille { background: linear-gradient(90deg, var(--orange) 0%, #FFD39B 40%, var(--orange) 60%, var(--orange2) 100%);
  background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: reflet 5s linear infinite; }
@keyframes reflet { to { background-position: -220% center; } }
.sur-titre { color: var(--orange); font-weight: 800; letter-spacing: .12em; font-size: .8rem; margin: 0;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sur-titre .sep { color: var(--discret); }
.puce-basket, .puce-foot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; }
.puce-basket { background: radial-gradient(circle at 35% 35%, #FFB06A, #D9661E); }
.puce-foot { background: radial-gradient(circle at 35% 35%, #fff, #C8D0D8); }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 8px; }
.actions .bouton.plein { width: auto; }

.hero-visuel { position: relative; height: 300px; }
.rebond { position: absolute; left: 32%; top: 0; width: 120px; height: 120px; animation: rebond 1.25s cubic-bezier(.5, 0, .5, 1) infinite alternate; }
.rebond svg { width: 100%; height: 100%; animation: tourne 5s linear infinite; filter: drop-shadow(0 18px 24px rgba(0,0,0,.5)); }
@keyframes rebond { from { transform: translateY(0); } to { transform: translateY(150px); } }
.ombre { position: absolute; left: calc(32% + 10px); top: 268px; width: 100px; height: 18px; border-radius: 50%;
  background: rgba(0, 0, 0, .55); filter: blur(6px); animation: ombre 1.25s cubic-bezier(.5, 0, .5, 1) infinite alternate; }
@keyframes ombre { from { transform: scale(.55); opacity: .35; } to { transform: scale(1); opacity: .8; } }
.roule { position: absolute; left: 0; top: 214px; width: 64px; height: 64px; animation: roule 6s ease-in-out infinite alternate; }
.roule svg { width: 100%; height: 100%; animation: tourne 1.6s linear infinite; filter: drop-shadow(0 10px 14px rgba(0,0,0,.45)); }
@keyframes roule { from { transform: translateX(0); } to { transform: translateX(230px); } }

.trois { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 30px; }
.trois .carte { transition: transform .25s ease, border-color .25s ease; }
.trois .carte:hover { transform: translateY(-4px); border-color: rgba(242, 140, 40, .6); }

/* ───────────── Cartes de conseils ───────────── */
.titre-sport { display: flex; align-items: center; gap: 10px; }
.titre-sport .puce-basket, .titre-sport .puce-foot { width: 20px; height: 20px; animation: tourne 6s linear infinite; }
.grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.conseil { position: relative; background: var(--carte); border: 1px solid var(--bord); border-radius: 18px; padding: 16px 18px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .25s ease, box-shadow .25s ease, opacity .7s ease; }
.conseil:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0, 0, 0, .4); }
.js .conseil.revele.vu:hover { transform: translateY(-4px); }
/* Bordure lumineuse qui tourne autour d'un conseil valeur */
.conseil.valeur { border-color: transparent; }
.conseil.valeur::before { content: ""; position: absolute; inset: -1px; border-radius: 19px; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--angle), transparent 0deg, var(--orange) 60deg, var(--orange2) 100deg, transparent 160deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: tour 4s linear infinite; }
@keyframes tour { to { --angle: 360deg; } }
.conseil.commence { opacity: .82; }
.c-tete { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--discret); }
.c-tete .heure { color: var(--orange); font-weight: 800; font-size: 1.05rem; }
.c-tete .compet { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-tete .niveau { margin-left: auto; border: 1px solid var(--bord); border-radius: 999px; padding: 1px 9px; font-size: .72rem; white-space: nowrap; }
.conseil.valeur .niveau { border-color: var(--orange); color: var(--orange); }
.c-match { color: var(--doux); margin-top: 8px; }
.c-corps { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 6px 0 12px; }
.c-pari { font-size: 1.25rem; font-weight: 800; line-height: 1.25; }
.c-cote { margin-top: 8px; } .c-cote b { font-size: 1.6rem; display: block; line-height: 1; } .c-cote small { color: var(--discret); }

.anneau { --cible: 0; flex: none; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--orange) calc(var(--p) * 1%), rgba(42, 53, 66, .9) 0);
  animation: remplit 1.6s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes remplit { from { --p: 0; } to { --p: var(--cible); } }
.anneau > span { width: 74px; height: 74px; border-radius: 50%; background: var(--carte-pleine); display: grid; place-content: center; text-align: center; }
.anneau b { font-size: 1.15rem; line-height: 1; } .anneau small { font-size: .62rem; color: var(--discret); }

.c-pied { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap;
  border-top: 1px solid var(--bord); padding-top: 10px; font-size: .85rem; }
.etat { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.etat.confirme, .etat.gagne { color: var(--vert); } .etat.perdu { color: var(--rouge); } .etat.attente { color: var(--orange2); }
.rebours { color: var(--doux); }
.rebours.bientot { color: var(--orange); font-weight: 700; animation: clignote 1.4s ease-in-out infinite; }
.rebours.en-cours { color: var(--vert); font-weight: 700; }
@keyframes clignote { 50% { opacity: .5; } }
.retires { color: var(--discret); }

/* ───────────── Bilan, compte ───────────── */
.onglets { display: flex; gap: 8px; margin: 10px 0 18px; flex-wrap: wrap; }
.onglets a { border: 1px solid var(--bord); border-radius: 999px; padding: 6px 14px; text-decoration: none; color: var(--doux);
  background: var(--carte); transition: background .2s, color .2s; }
.onglets a.on { background: var(--orange); border-color: var(--orange); color: #0B1016; font-weight: 700; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0; }
.kpi { background: var(--carte); border: 1px solid var(--bord); border-radius: 16px; padding: 16px; backdrop-filter: blur(10px);
  position: relative; overflow: hidden; }
.kpi::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--orange), transparent); transform-origin: left; animation: barre 1.4s ease forwards; }
@keyframes barre { from { transform: scaleX(0); } }
.kpi b { display: block; font-size: 1.8rem; line-height: 1.1; font-variant-numeric: tabular-nums; } .kpi small { color: var(--discret); }
.tableau { width: 100%; border-collapse: collapse; font-size: .92rem; background: var(--carte); border-radius: 14px; overflow: hidden; }
.tableau th, .tableau td { padding: 9px 8px; border-bottom: 1px solid var(--bord); text-align: left; vertical-align: top; }
.tableau tr:hover td { background: rgba(242, 140, 40, .05); }
.tableau th { color: var(--discret); font-weight: 600; font-size: .8rem; }

.ligne-statut { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.pastille { border-radius: 999px; padding: 3px 12px; font-weight: 700; font-size: .85rem; background: #3A4350; }
.pastille.actif { background: #1E5A3C; } .pastille.essai { background: #6B5418; } .pastille.expire { background: #6A2630; }

.pied { border-top: 1px solid var(--bord); margin-top: 48px; padding: 22px 18px 34px; text-align: center; color: var(--doux);
  font-size: .9rem; background: rgba(9, 14, 20, .7); backdrop-filter: blur(8px); }
.pied a { color: var(--doux); }

/* ───────────── Téléphone ───────────── */
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 18px; }
  .hero h1 { font-size: 2rem; }
  .hero-visuel { height: 200px; order: -1; }
  .rebond { width: 84px; height: 84px; left: 40%; } @keyframes rebond { to { transform: translateY(96px); } }
  .ombre { top: 176px; left: calc(40% + 6px); width: 72px; }
  .roule { top: 136px; width: 48px; height: 48px; }
  .athlete { width: 110px; height: 134px; }
  .balle-4 { display: none; }
}
@media (max-width: 560px) {
  h1 { font-size: 1.55rem; }
  .kpis { grid-template-columns: 1fr 1fr; } .kpi b { font-size: 1.45rem; }
  .kpis .kpi:nth-child(3) { grid-column: span 2; }
  .menu { gap: 12px; } .menu a { font-size: .9rem; }
  .tableau { font-size: .84rem; }
  .anneau { width: 80px; height: 80px; } .anneau > span { width: 64px; height: 64px; }
}

/* Pour ceux qui ont demandé moins d'animations sur leur téléphone */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .anneau { --p: var(--cible); }
  .js .revele { opacity: 1; transform: none; }
}

/* ── Face-à-face et points des joueurs ── */
.fiche { background: var(--carte); border: 1px solid var(--bord); border-radius: 18px; margin-bottom: 14px; overflow: hidden; }
.fiche > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px 18px; }
.fiche > summary::-webkit-details-marker { display: none; }
.fiche > summary::after { content: "▾"; color: var(--discret); grid-column: 3; grid-row: 1; justify-self: end; transition: transform .2s; }
.fiche[open] > summary::after { transform: rotate(180deg); }
.fiche[open] > summary { border-bottom: 1px solid var(--bord); }
.f-heure { color: var(--discret); font-weight: 700; white-space: nowrap; }
.f-match { display: flex; flex-direction: column; } .f-match small { color: var(--discret); }
.f-conseil { grid-column: 1 / -1; font-size: .92rem; color: var(--doux); } .f-conseil b { color: var(--orange); }
.f-corps { padding: 6px 18px 18px; }
.f-corps h3 { margin: 22px 0 8px; font-size: 1.05rem; } .f-corps h4 { margin: 4px 0 8px; }
.f-defile { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.f-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.f-table th { color: var(--discret); font-weight: 600; text-align: left; padding: 8px; border-bottom: 1px solid var(--bord); }
.f-table th small, .f-table td small { display: block; color: var(--discret); font-weight: 400; font-size: .78rem; }
.f-table td { padding: 8px; border-bottom: 1px solid rgba(42, 53, 66, .6); vertical-align: middle; }
.f-table .g { text-align: left; white-space: nowrap; } .f-table .dr { text-align: right; white-space: nowrap; }
.f-table .lib { text-align: center; color: var(--doux); }
.f-table tr.sec td { color: var(--orange); font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding-top: 14px; }
.f-table td.mieux { background: rgba(63, 191, 127, .12); } .f-table td.mieux b { color: var(--vert); }
.rg { color: var(--discret); font-size: .8rem; }
.f-table.simple td, .f-table.simple th { white-space: nowrap; }
.f-formes { display: grid; gap: 12px; }
.f-forme { color: var(--doux); font-size: .92rem; } .f-forme b { color: var(--texte); }
.serie { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 6px; }
.serie .r { width: 42px; text-align: center; border-radius: 8px; padding: 4px 0; font-weight: 800; color: #0B1016; }
.serie .r small { display: block; font-weight: 600; font-size: .7rem; }
.serie .V { background: var(--vert); } .serie .N { background: #C9A227; } .serie .D { background: var(--rouge); }
.f-deux { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f-abs { padding: 7px 0; border-bottom: 1px solid rgba(42, 53, 66, .6); } .f-abs small { display: block; color: var(--discret); }
.rouge-p { background: rgba(229, 99, 107, .2); color: var(--rouge); } .jaune-p { background: rgba(201, 162, 39, .2); color: #E3C14E; }
.f-cle { border-left: 4px solid var(--orange); background: rgba(255, 255, 255, .02); border-radius: 10px; padding: 10px 14px; margin-bottom: 10px; }
.f-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 8px; }
.f-kpis div { background: var(--carte); border: 1px solid var(--bord); border-radius: 10px; padding: 8px; text-align: center; }
.f-kpis b { display: block; font-size: 1.2rem; } .f-kpis small { color: var(--discret); font-size: .75rem; }
.c-fiche { display: block; margin-top: 10px; font-size: .88rem; font-weight: 700; }
@media (max-width: 640px) { .f-deux { grid-template-columns: 1fr; } .f-table .lib small { display: none; } .fiche > summary { padding: 12px 14px; } .f-corps { padding: 4px 12px 14px; } }

/* Résultats d'hier (accueil) */
.hier { margin-top: 26px; } .hier h2 small { font-weight: 500; font-size: .9rem; margin-left: 6px; }
.hier-resume { font-size: 1.05rem; margin: 0 0 12px; }

/* Donner mon avis */
.formulaire-avis { max-width: 640px; } .champ textarea { resize: vertical; font: inherit; }
.mes-avis { list-style: none; padding: 0; margin: 0; } .mes-avis li { border-bottom: 1px solid var(--bord); padding: 10px 0; }
.mes-avis p { margin: 4px 0 0; }

/* Pastilles des équipes : 3 lettres aux couleurs du club (pas de logo officiel) */
.pastille-eq { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 38px; height: 38px;
  border-radius: 50%; border: 3px solid; font: 800 11px/1 Inter, system-ui, sans-serif; letter-spacing: .02em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .35); vertical-align: middle; }
.pastille-eq.petit { width: 28px; height: 28px; border-width: 2px; font-size: 8.5px; }
.pastille-eq.grand { width: 34px; height: 34px; margin-right: 10px; font-size: 10px; }
.duo-eq { display: inline-flex; align-items: center; margin-right: 10px; vertical-align: middle; }
.duo-eq .pastille-eq + .pastille-eq { margin-left: -4px; }
.c-match { display: flex; align-items: center; gap: 2px; }
.c-pari { display: flex; align-items: center; }
.f-match { flex-direction: row !important; align-items: center; flex-wrap: wrap; column-gap: 4px; }
.f-match small { flex-basis: 100%; }
