/* ============================================================
   Écran « Suivi des championnats » (cf. js/pages/suivi.js)
   ============================================================
   /suivi/<clé> : la compétition aux couleurs de l'appli. Les couleurs
   viennent des classes .theme-<clé> de la vitrine (p-semaine.css, les
   mêmes que l'appli) : --c1/--c2/--c3 (fond), --trait (accent clair),
   --lueur (accent en r,g,b), --trait-a / --trait-b (dégradé), --puce.
   Tout ce qui bouge passe par transform / translate / opacity. */

.sv { position: relative; isolation: isolate; padding-bottom: 20px; }

/* =====================================================================
   L'EN-TÊTE
   ===================================================================== */
.sv-hero {
  position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 26px;
  margin: 6px 0 18px; padding: 34px 38px 30px; border-radius: 30px; color: #f6f3ea;
  background: linear-gradient(150deg, var(--c1) 0%, var(--c2) 52%, var(--c3) 100%);
  box-shadow: 0 34px 80px -34px rgba(0, 0, 0, .9), 0 0 0 1px rgba(var(--lueur), .22), inset 0 1px 0 rgba(255, 255, 255, .07);
  animation: sv-entree .8s var(--doux) both;
}
@keyframes sv-entree { from { opacity: 0; translate: 0 22px; } }
.sv-hero > * { position: relative; z-index: 1; }
/* Le décor : lignes de terrain, halo de la compétition, éclats qui filent. */
.sv-hero-decor { position: absolute !important; inset: 0; z-index: 0 !important; pointer-events: none; overflow: hidden; }
.sv-hero-decor::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(55% 90% at 82% 30%, rgba(var(--lueur), .42), transparent 70%), radial-gradient(40% 60% at 0% 100%, rgba(var(--lueur), .16), transparent 70%); }
.sv-hero-lignes { position: absolute; inset: 0; opacity: .55;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 9% 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 80%, transparent); mask-image: linear-gradient(90deg, transparent, #000 30%, #000 80%, transparent); }
.sv-hero-rond { position: absolute; width: 380px; height: 380px; right: 4%; top: 50%; margin-top: -190px; border-radius: 50%; border: 1px solid rgba(var(--lueur), .28); }
.sv-hero-rond::after { content: ""; position: absolute; inset: 46px; border-radius: 50%; border: 1px dashed rgba(var(--lueur), .2); animation: sv-tour 60s linear infinite; }
.sv-hero-filigrane { position: absolute; right: -60px; bottom: -80px; width: 380px; height: 380px; object-fit: contain; opacity: .07; rotate: -14deg; filter: grayscale(.2); }
.sv-hero-eclat { position: absolute; top: -40%; bottom: -40%; width: 120px; rotate: 18deg; left: -20%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .09), transparent); animation: sv-balaie 9s var(--doux) infinite; }
.sv-hero-eclat.e2 { width: 40px; animation-delay: 1.2s; }
@keyframes sv-balaie { 0%, 62% { translate: 0 0; } 100% { translate: 1900px 0; } }
@keyframes sv-tour { to { rotate: 360deg; } }
/* Le cadre lumineux aux quatre coins, comme les cartes de la vitrine. */
.sv-hero-cadre { position: absolute !important; inset: 0; z-index: 2 !important; pointer-events: none; }
.sv-hero-cadre i { position: absolute; width: 46px; height: 46px; border: 0 solid var(--trait); opacity: .7; filter: drop-shadow(0 0 7px rgba(var(--lueur), .9)); }
.sv-hero-cadre .hg { top: 16px; left: 16px; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: 14px; }
.sv-hero-cadre .hd { top: 16px; right: 16px; border-top-width: 2px; border-right-width: 2px; border-top-right-radius: 14px; }
.sv-hero-cadre .bg { bottom: 16px; left: 16px; border-bottom-width: 2px; border-left-width: 2px; border-bottom-left-radius: 14px; }
.sv-hero-cadre .bd { bottom: 16px; right: 16px; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: 14px; }

.sv-hero-texte { min-width: 0; }
.sv-sur { display: inline-flex; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--trait); }
.sv-sur::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--trait-a), var(--trait-b)); }
.sv-hero h1 { margin: 12px 0 0; font: 600 clamp(40px, 5.4vw, 78px)/.92 var(--titre); letter-spacing: .01em; text-transform: uppercase; color: #f6f3ea;
  text-shadow: 0 3px 0 rgba(0, 0, 0, .35), 0 18px 34px rgba(0, 0, 0, .45); }
.sv-hero h1 em {
  font-style: normal; color: transparent; -webkit-background-clip: text; background-clip: text;
  background-image: linear-gradient(100deg, var(--trait-a) 0%, var(--trait-b) 35%, #fff 48%, var(--trait-b) 62%, var(--trait-a) 100%);
  background-size: 230% 100%; animation: sv-miroite 7s var(--doux) infinite; padding-top: .14em; margin-top: -.1em; text-shadow: none;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .5));
}
@keyframes sv-miroite { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.sv-hero-intro { margin: 14px 0 0; max-width: 680px; color: rgba(246, 243, 234, .74); font-size: 15px; line-height: 1.55; }
.sv-badge { display: inline-flex; margin-top: 14px; padding: 5px 13px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--puce); background: rgba(var(--lueur), .16); border: 1px solid rgba(var(--lueur), .4); }

/* Les chiffres de l'en-tête. */
.sv-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 24px; max-width: 900px; }
.sv-stat { position: relative; min-width: 0; padding: 13px 15px 12px; border-radius: 18px; background: rgba(0, 0, 0, .26); border: 1px solid rgba(var(--lueur), .24);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sv-stat > span { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgba(246, 243, 234, .55); }
.sv-stat b { display: flex; align-items: center; gap: 8px; margin-top: 5px; font: 600 28px/1 var(--titre); font-variant-numeric: tabular-nums; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-stat b small { font: 700 13px var(--corps); color: rgba(246, 243, 234, .6); }
.sv-stat-nom { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.sv-stat em { display: block; margin-top: 5px; font-style: normal; font-size: 12px; font-weight: 650; color: rgba(246, 243, 234, .62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-stat .sv-live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--trait); box-shadow: 0 0 0 0 rgba(var(--lueur), .8); animation: sv-pouls 2s ease-out infinite; flex: none; }
@keyframes sv-pouls { 0% { box-shadow: 0 0 0 0 rgba(var(--lueur), .8); } 100% { box-shadow: 0 0 0 10px rgba(var(--lueur), 0); } }
.sv-jauge { height: 4px; margin-top: 8px; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.sv-jauge i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); border-radius: 4px; background: linear-gradient(90deg, var(--trait-a), var(--trait-b));
  transform-origin: 0 50%; animation: sv-jauge 1.2s var(--doux) both .3s; }
@keyframes sv-jauge { from { transform: scaleX(0); } }

/* Le médaillon de la compétition, qui flotte et tourne (deux faces). */
.sv-medaillon { position: relative; width: 200px; height: 224px; perspective: 900px; margin-right: 16px; }
.sv-medaillon-flotte { position: absolute; inset: 0 0 26px; animation: sv-flotte 6s ease-in-out infinite; }
.sv-medaillon-tourne { position: absolute; inset: 0; transform-style: preserve-3d; animation: sv-pivote 14s linear infinite; }
.sv-medaillon-face {
  position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%; backface-visibility: hidden;
  background: radial-gradient(circle at 32% 26%, #ffffff 0%, #f4f2ec 38%, #dfe3ea 70%, #c3cad8 100%);
  box-shadow: 0 0 0 7px rgba(var(--lueur), .25), 0 0 54px rgba(var(--lueur), .45), inset 0 -10px 20px rgba(0, 0, 0, .14), inset 0 6px 12px rgba(255, 255, 255, .95);
}
.sv-medaillon-face.est-dos { transform: rotateY(180deg); }
.sv-medaillon-face img { width: 70%; height: 70%; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .2)); }
.sv-medaillon-ombre { position: absolute; left: 50%; bottom: 0; width: 120px; height: 18px; margin-left: -60px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .6), transparent); animation: sv-ombre 6s ease-in-out infinite; }
@keyframes sv-flotte { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes sv-pivote { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }
@keyframes sv-ombre { 0%, 100% { scale: 1; opacity: .9; } 50% { scale: .82; opacity: .6; } }

/* =====================================================================
   LES COMPÉTITIONS ET LES MODES
   ===================================================================== */
.sv-comps { display: flex; gap: 8px; margin: 0 0 16px; padding: 2px 2px 8px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.sv-comps::-webkit-scrollbar { display: none; }
.sv-comp {
  flex: none; display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 7px; border-radius: 999px; border: 1px solid var(--ligne);
  background: var(--surface-2); color: var(--texte-2); font-size: 13px; font-weight: 750; white-space: nowrap;
  transition: transform .35s var(--ressort), border-color .25s, color .2s, background .25s;
}
.sv-comp span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #fff; flex: none; }
.sv-comp img { width: 22px; height: 22px; object-fit: contain; }
.sv-comp:hover { color: var(--texte); border-color: var(--ligne-2); transform: translateY(-2px); }
.sv-comp.est-actif { color: #fff; border-color: rgba(var(--lueur), .7); background: linear-gradient(135deg, rgba(var(--lueur), .42), rgba(var(--lueur), .12));
  box-shadow: 0 10px 30px -12px rgba(var(--lueur), .8); }

.sv-barre-modes { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 18px; }
.sv-modes { max-width: 100%; overflow-x: auto; scrollbar-width: none; border-radius: 14px; }
.sv-modes::-webkit-scrollbar { display: none; }
.sv-modes .segments .glisseur { background: linear-gradient(135deg, var(--trait-a), rgba(var(--lueur), .55)); box-shadow: 0 8px 24px -10px rgba(var(--lueur), .9); }
.sv-releve { font-size: 12px; font-weight: 650; color: var(--texte-3); }
.sv-releve b { color: var(--texte-2); }

/* =====================================================================
   LA FRISE DES JOURNÉES (et celle d'un club)
   ===================================================================== */
.sv-rail-cadre { display: flex; align-items: flex-start; gap: 6px; min-width: 0; }
.sv-rail { flex: 1; min-width: 0; overflow-x: auto; padding: 6px 0 10px; scrollbar-width: none; overscroll-behavior-x: contain; }
.sv-rail::-webkit-scrollbar { display: none; }
.sv-rail-cadre.deborde-d .sv-rail { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); }
.sv-rail-cadre.deborde-g .sv-rail { -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px); mask-image: linear-gradient(90deg, transparent, #000 48px); }
.sv-rail-cadre.deborde-g.deborde-d .sv-rail {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent);
}
.sv-piste { position: relative; display: flex; align-items: flex-start; gap: 4px; width: max-content; min-width: 100%; padding: 0 4px; }
.sv-piste::before { content: ""; position: absolute; left: 0; right: 0; top: 18px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--trait-a) 0 var(--fait, 0px), var(--ligne-2) var(--fait, 0px) 100%); }
.sv-j {
  position: relative; flex: none; min-width: 78px; display: grid; justify-items: center; align-content: start; gap: 2px; padding: 8px 9px 10px;
  border-radius: 16px; border: 1px solid transparent; background: none; color: var(--texte-2);
  transition: transform .35s var(--ressort), background .25s, border-color .25s, color .2s;
}
.sv-j i { width: 16px; height: 16px; margin: 3px 0 8px; border-radius: 50%; background: var(--nuit-3); border: 2px solid var(--ligne-2); transition: transform .35s var(--ressort); }
.sv-j b { font: 600 18px var(--titre); color: var(--texte-2); white-space: nowrap; }
.sv-j small { max-width: 92px; font-size: 11px; color: var(--texte-3); font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-j small.sv-j-score { font-weight: 800; color: var(--texte-2); }
.sv-j:hover { transform: translateY(-2px); color: var(--texte); }
.sv-j:hover i { transform: scale(1.2); }
/* Journée entièrement jouée : point plein (la règle de l'appli). */
.sv-j.est-jouee i { background: var(--trait-a); border-color: var(--trait); }
/* Frise d'un club : le résultat colore le point. */
.sv-j.est-V i { background: var(--vert); border-color: #8ef0b6; }
.sv-j.est-D i { background: var(--rouge); border-color: #ff8a90; }
.sv-j.est-N i { background: var(--orange); border-color: #ffc98f; }
.sv-j.est-V small.sv-j-score { color: #a9f0c6; }
.sv-j.est-D small.sv-j-score { color: #ffb3b7; }
.sv-j.est-N small.sv-j-score { color: #ffd2a1; }
.sv-j.est-actif { background: rgba(var(--lueur), .16); border-color: rgba(var(--lueur), .5); }
.sv-j.est-actif i { box-shadow: 0 0 0 4px rgba(var(--lueur), .3), 0 0 18px rgba(var(--lueur), .9); }
.sv-j.est-actif b { color: #fff; }
.sv-j.est-courante i { background: #fff; border-color: var(--trait); animation: sv-bat 2.4s var(--doux) infinite; }
.sv-j.est-courante b { color: #fff; }
@keyframes sv-bat {
  0% { box-shadow: 0 0 0 0 rgba(var(--lueur), .6), 0 0 14px rgba(var(--lueur), .8); }
  70%, 100% { box-shadow: 0 0 0 12px rgba(var(--lueur), 0), 0 0 14px rgba(var(--lueur), .8); }
}
.sv-encours { display: grid; justify-items: center; gap: 6px; margin-top: 6px; }
.sv-encours em { font-style: normal; font-size: 9.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
  padding: 3px 9px; border-radius: 999px; color: #111; background: linear-gradient(90deg, var(--trait-b), var(--trait)); box-shadow: 0 6px 16px -6px rgba(var(--lueur), .9); }
.sv-encours img { width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .55)); animation: sv-tourne 7s linear infinite; }
@keyframes sv-tourne { from { transform: perspective(520px) rotateY(0deg); } to { transform: perspective(520px) rotateY(360deg); } }
.sv-fleche { flex: none; width: 32px; height: 32px; margin-top: 10px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--ligne-2); background: var(--surface-2); color: var(--texte); font: 600 20px/1 var(--titre); transition: opacity .2s, background .2s, transform .3s var(--ressort); }
.sv-fleche:hover:not(:disabled) { background: rgba(var(--lueur), .28); transform: scale(1.08); }
.sv-fleche:disabled { opacity: .25; cursor: default; }
.sv-note { margin: 2px 0 6px; font-size: 12px; font-weight: 650; color: var(--texte-3); }

/* =====================================================================
   LA JOURNÉE : SES MATCHS
   ===================================================================== */
.sv-section { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin: 22px 0 14px; }
.sv-section img { width: 32px; height: 32px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5)); }
.sv-section h2 { margin: 0; font: 600 25px var(--titre); text-transform: uppercase; letter-spacing: .03em; }
.sv-section > span { color: var(--texte-3); font-size: 13px; font-weight: 650; }
.sv-section::after { content: ""; flex: 1 1 60px; height: 1px; background: linear-gradient(90deg, var(--ligne-2), transparent); }
.sv-puce-encours { font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px;
  color: #111; background: linear-gradient(90deg, var(--trait-b), var(--trait)); }

.sv-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 14px; }
.sv-match {
  position: relative; overflow: hidden; display: block; width: 100%; padding: 0; text-align: left; border-radius: 20px; border: 1px solid var(--ligne); color: var(--texte);
  background: linear-gradient(170deg, rgba(var(--lueur), .1) 0%, #0b1534 40%, #070d22 100%); box-shadow: 0 16px 40px -24px rgba(0, 0, 0, .85);
  transition: transform .4s var(--ressort), border-color .25s, box-shadow .35s;
}
.sv-match::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(360px circle at 50% 0%, rgba(var(--lueur), .26), transparent 60%); }
.sv-match:hover { transform: translateY(-3px); border-color: rgba(var(--lueur), .45); box-shadow: 0 24px 50px -24px rgba(var(--lueur), .55); }
.sv-match:hover::before { opacity: 1; }
.sv-match.est-ouvert { border-color: rgba(var(--lueur), .85); box-shadow: 0 0 0 1px rgba(var(--lueur), .45), 0 24px 60px -24px rgba(var(--lueur), .75); }
.sv-match.est-co { border-color: rgba(199, 40, 45, .5); }
.sv-match > * { position: relative; }
.sv-match-tete { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px 0; font-size: 11px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--texte-3); }
.sv-match-tete span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sv-etat { flex: none; padding: 2px 8px; border-radius: 999px; font-size: 10px; letter-spacing: .1em; background: var(--surface-2); border: 1px solid var(--ligne); color: var(--texte-2); }
.sv-etat.est-fini { color: var(--trait); border-color: rgba(var(--lueur), .4); background: rgba(var(--lueur), .1); }
.sv-affiche { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; padding: 12px 12px 14px; }
.sv-equipe { display: flex; flex-direction: column; align-items: center; gap: 7px; min-width: 0; text-align: center; }
.sv-equipe b { max-width: 100%; font: 600 14px/1.15 var(--titre); text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--texte-2); }
.sv-gagne b { color: #fff; }
.sv-ecu { position: relative; flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: rgba(255, 255, 255, .95);
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .7); transition: transform .45s var(--ressort); }
.sv-ecu img { width: 36px; height: 36px; object-fit: contain; }
.sv-ecu > span { display: none; font: 600 15px var(--titre); color: var(--marine); }
.sv-ecu.est-ko > span, .sv-ecu:not(:has(img)) > span { display: block; }
.sv-match:hover .sv-ecu { transform: scale(1.07) rotate(-3deg); }
.sv-score { display: flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 14px; background: rgba(4, 8, 22, .6); border: 1px solid var(--ligne); white-space: nowrap; }
.sv-score b { font: 600 27px/1 var(--titre); font-variant-numeric: tabular-nums; color: var(--texte-3); }
.sv-score b.est-gagne { color: #fff; text-shadow: 0 0 18px rgba(var(--lueur), .8); }
.sv-score i { font-style: normal; color: var(--texte-3); }
.sv-score small { font-size: 12px; font-weight: 800; color: var(--texte-2); letter-spacing: .06em; text-transform: uppercase; }
.sv-match-pied { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 36px; padding: 0 14px 11px; font-size: 11.5px; font-weight: 700; color: var(--texte-3); }
.sv-match-pied .puce { padding: 2px 9px; font-size: 10.5px; }
.sv-match-voir { margin-left: auto; color: var(--trait); letter-spacing: .08em; text-transform: uppercase; font-size: 10.5px; font-weight: 800; transition: translate .3s var(--ressort); }
.sv-match:hover .sv-match-voir { translate: 3px 0; }

/* La projection de l'appli sur un match à venir (Top 14) : trois parts. */
.sv-proba { display: flex; height: 6px; margin: 0 14px 10px; border-radius: 6px; overflow: hidden; gap: 2px; }
.sv-proba i { display: block; height: 100%; border-radius: 3px; flex: 0 0 auto; width: calc(var(--p) * 100%); transform-origin: 0 50%; animation: sv-jauge 1s var(--doux) both; }
.sv-proba .d { background: linear-gradient(90deg, var(--trait-a), var(--trait)); }
.sv-proba .n { background: #8a93ad; }
.sv-proba .e { background: #4f6db8; }
.sv-proba-lib { display: flex; justify-content: space-between; gap: 6px; margin: -4px 14px 10px; font-size: 11px; font-weight: 700; color: var(--texte-3); font-variant-numeric: tabular-nums; }

/* =====================================================================
   LE DÉTAIL D'UN MATCH
   ===================================================================== */
.sv-fiche {
  position: relative; overflow: hidden; margin: 18px 0 6px; border-radius: 26px; scroll-margin-top: 86px;
  border: 1px solid rgba(var(--lueur), .45); background: linear-gradient(170deg, var(--c2) 0%, #0a1433 34%, #070d22 100%);
  box-shadow: 0 30px 80px -34px rgba(var(--lueur), .6), 0 30px 70px -30px rgba(0, 0, 0, .9); animation: sv-ouvre .5s var(--doux) both;
}
@keyframes sv-ouvre { from { opacity: 0; translate: 0 16px; } }
.sv-fiche-tete { padding: 14px 22px; border-bottom: 1px solid var(--ligne); font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--trait); }
.sv-fiche-affiche { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; padding: 26px 22px 22px; }
.sv-fiche-equipe { display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; text-align: center; }
.sv-fiche-equipe .sv-ecu { width: 86px; height: 86px; border-radius: 26px; box-shadow: 0 0 0 5px rgba(var(--lueur), .18), 0 18px 34px -12px rgba(0, 0, 0, .8); }
.sv-fiche-equipe .sv-ecu img { width: 64px; height: 64px; }
.sv-fiche-equipe .sv-ecu > span { font-size: 24px; }
.sv-fiche-equipe b { font: 600 19px/1.15 var(--titre); text-transform: uppercase; letter-spacing: .02em; }
.sv-fiche-centre { display: grid; justify-items: center; gap: 12px; }
.sv-fiche-score { display: flex; align-items: center; gap: 12px; font: 600 58px/1 var(--titre); font-variant-numeric: tabular-nums; color: var(--texte-3); }
.sv-fiche-score b.est-gagne { color: #fff; text-shadow: 0 0 30px rgba(var(--lueur), .8); }
.sv-fiche-score i { font-style: normal; font-size: 30px; color: var(--texte-3); }
.sv-fiche-score.est-avenir { font-size: 30px; color: var(--texte); }
.sv-fermer { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px; border: 1px solid rgba(var(--lueur), .6); color: #fff; font-weight: 800; font-size: 12.5px;
  background: linear-gradient(135deg, rgba(var(--lueur), .45), rgba(var(--lueur), .15)); position: relative; overflow: hidden; transition: transform .3s var(--ressort); }
.sv-fermer::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), transparent); animation: sv-reflet 3.6s var(--doux) infinite; }
@keyframes sv-reflet { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.sv-fermer:hover { transform: scale(1.05); }
.sv-fiche-bloc { padding: 4px 22px 20px; }
.sv-fiche-titre { display: flex; align-items: center; gap: 12px; margin: 16px 0 12px; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--texte-3); }
.sv-fiche-titre::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--ligne-2), transparent); }
.sv-fiche-note { margin: 0 22px 18px; padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px dashed var(--ligne-2); color: var(--texte-2); font-size: 13.5px; }
.sv-fiche-pied { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 22px 18px; border-top: 1px solid var(--ligne); font-size: 12px; color: var(--texte-3); }

/* Projection de l'appli (Top 14, match à venir). */
.sv-pronostic { display: grid; gap: 10px; margin: 0 22px 18px; padding: 16px 18px; border-radius: 18px; background: rgba(var(--lueur), .08); border: 1px solid rgba(var(--lueur), .3); }
.sv-pronostic-t { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--trait); }
.sv-pronostic-t small { font-size: 11px; letter-spacing: .04em; text-transform: none; color: var(--texte-3); font-weight: 650; }
.sv-pronostic .sv-proba { height: 12px; margin: 0; }
.sv-pronostic .sv-proba-lib { margin: 0; font-size: 12.5px; color: var(--texte-2); }
.sv-pronostic .sv-proba-lib b { color: #fff; font: 600 17px var(--titre); }

/* La composition. */
.sv-compo { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--ligne); }
.sv-compo-equipe { min-width: 0; padding: 4px 18px 18px; }
.sv-compo-equipe + .sv-compo-equipe { border-left: 1px solid var(--ligne); }
.sv-compo-equipe h3 { display: flex; align-items: center; gap: 10px; margin: 16px 4px 10px; font: 600 18px var(--titre); text-transform: uppercase; letter-spacing: .02em; }
.sv-compo-equipe h3 .sv-ecu { width: 34px; height: 34px; border-radius: 11px; }
.sv-compo-equipe h3 .sv-ecu img { width: 26px; height: 26px; }
.sv-compo-equipe h3 span:last-child { margin-left: auto; font: 700 11.5px var(--corps); color: var(--texte-3); white-space: nowrap; }
.sv-compo-sous { margin: 12px 6px 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--texte-3); }
.sv-compo ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sv-joueur { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 5px 8px 5px 6px; border-radius: 11px; transition: background .2s; animation: sv-ouvre .45s var(--doux) both; animation-delay: calc(var(--i, 0) * 18ms); }
.sv-joueur:hover { background: rgba(255, 255, 255, .04); }
.sv-joueur.est-suivi { background: linear-gradient(90deg, rgba(245, 196, 81, .18), rgba(245, 196, 81, .04)); box-shadow: inset 3px 0 0 var(--or); }
.sv-num { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: var(--marine); border: 1px solid rgba(143, 179, 255, .3); font: 600 13px var(--titre); color: #fff; }
.sv-joueur.est-rempl .sv-num { background: transparent; color: var(--texte-2); }
.sv-nom { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; font-weight: 650; }
.sv-nom a:hover { color: var(--trait); text-decoration: underline; text-underline-offset: 3px; }
.sv-statut { flex: none; padding: 1px 7px; border-radius: 6px; font-size: 10px; font-weight: 800; letter-spacing: .04em; border: 1px solid var(--ligne-2); color: var(--texte-2); white-space: nowrap; }
.sv-statut.st-jiff, .sv-statut.st-espoir { color: #a9f0c6; border-color: rgba(54, 210, 122, .4); background: rgba(54, 210, 122, .1); }
.sv-statut.st-nonjiff, .sv-statut.st-espoirnonjiff { color: #ffd2a1; border-color: rgba(255, 159, 67, .4); background: rgba(255, 159, 67, .1); }
.sv-statut.st-joker, .sv-statut.st-jokercdm { color: #c8d8ff; border-color: rgba(91, 140, 255, .4); background: rgba(47, 107, 255, .14); }
.sv-joueur .puce { flex: none; padding: 1px 8px; font-size: 10.5px; }
.sv-joueur button.puce { cursor: pointer; transition: filter .2s, transform .3s var(--ressort); }
.sv-joueur button.puce:hover { filter: brightness(1.25); transform: scale(1.05); }

/* Les faits de match : la frise 0'–80' puis la liste. */
.sv-faits-frise { position: relative; height: 92px; margin: 6px 4px 14px; }
.sv-faits-frise .axe { position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: linear-gradient(90deg, var(--trait-a), rgba(var(--lueur), .35)); border-radius: 2px; }
.sv-faits-frise .mi { position: absolute; top: 50%; height: 14px; margin-top: -7px; width: 2px; background: rgba(255, 255, 255, .35); }
.sv-faits-frise .rep { position: absolute; top: 50%; translate: -50% 10px; font-size: 10px; font-weight: 700; color: var(--texte-3); }
.sv-fait { position: absolute; width: 18px; height: 18px; margin-left: -9px; display: grid; place-items: center; border-radius: 50%; font: 800 9px var(--corps); color: #071027;
  box-shadow: 0 4px 10px -2px rgba(0, 0, 0, .6); animation: sv-pop .5s var(--ressort) both; animation-delay: calc(var(--i, 0) * 30ms); cursor: default; }
@keyframes sv-pop { from { opacity: 0; scale: .2; } }
.sv-fait.d { top: calc(50% - 30px - var(--h, 0) * 20px); }
.sv-fait.e { top: calc(50% + 12px + var(--h, 0) * 20px); }
.sv-fait.t-essai { background: #fff; }
.sv-fait.t-transfo { background: var(--ciel); width: 14px; height: 14px; margin-left: -7px; }
.sv-fait.t-penalite { background: var(--trait); }
.sv-fait.t-drop { background: #c9a6ff; }
.sv-fait.t-carton_jaune { background: var(--or); border-radius: 3px; width: 12px; height: 16px; margin-left: -6px; }
.sv-fait.t-carton_rouge { background: var(--rouge); border-radius: 3px; width: 12px; height: 16px; margin-left: -6px; }
.sv-faits-legende { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 4px 10px; font-size: 11.5px; color: var(--texte-3); font-weight: 650; }
.sv-faits-legende span { display: inline-flex; align-items: center; gap: 6px; }
.sv-faits-legende i { width: 10px; height: 10px; border-radius: 50%; }
.sv-faits-legende .t-carton_jaune, .sv-faits-legende .t-carton_rouge { border-radius: 2px; width: 8px; height: 11px; }
.sv-faits-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 4px 18px; }
.sv-fait-ligne { display: grid; grid-template-columns: 44px 14px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 5px 6px; border-radius: 10px; font-size: 13px; }
.sv-fait-ligne:hover { background: rgba(255, 255, 255, .04); }
.sv-fait-ligne b { font: 600 14px var(--titre); color: var(--texte-2); font-variant-numeric: tabular-nums; }
.sv-fait-ligne i { width: 10px; height: 10px; border-radius: 50%; }
.sv-fait-ligne span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sv-fait-ligne span small { color: var(--texte-3); font-size: 11.5px; margin-left: 4px; }
.sv-fait-ligne em { font-style: normal; font-size: 11px; font-weight: 750; color: var(--texte-3); white-space: nowrap; }
.t-essai { background: #fff; } .t-transfo { background: var(--ciel); } .t-penalite { background: var(--trait); }
.t-drop { background: #c9a6ff; } .t-carton_jaune { background: var(--or); } .t-carton_rouge { background: var(--rouge); }
.sv-chgts { display: grid; gap: 2px; }
.sv-chgt { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); align-items: center; gap: 10px; padding: 5px 6px; border-radius: 10px; font-size: 12.5px; color: var(--texte-2); }
.sv-chgt:nth-child(odd) { background: rgba(255, 255, 255, .025); }
.sv-chgt span:first-child { text-align: right; }
.sv-chgt b { text-align: center; font: 600 12px var(--titre); color: var(--texte-3); }

/* =====================================================================
   LE CLASSEMENT
   ===================================================================== */
.sv-classement { margin-top: 8px; }
.sv-classement-titre { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin: 26px 0 12px; }
.sv-classement-titre h2 { margin: 0; font: 600 24px var(--titre); text-transform: uppercase; letter-spacing: .03em; }
.sv-classement-titre span { font-size: 13px; color: var(--texte-3); font-weight: 650; }
.sv-poules { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 430px), 1fr)); gap: 16px; }
.sv-poule-t { margin: 0 0 8px 4px; font: 600 17px var(--titre); text-transform: uppercase; letter-spacing: .04em; color: var(--trait); }
.sv-table-cadre { overflow-x: auto; border-radius: 20px; border: 1px solid var(--ligne); background: linear-gradient(170deg, rgba(var(--lueur), .07), rgba(255, 255, 255, .015) 40%); }
.sv-table { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.sv-table thead th { padding: 10px 8px; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--texte-3); border-bottom: 1px solid var(--ligne-2); text-align: center; white-space: nowrap; }
.sv-table thead th.g { text-align: left; }
.sv-table tbody td { padding: 8px 8px; text-align: center; border-bottom: 1px solid var(--ligne); color: var(--texte-2); white-space: nowrap; }
.sv-table tbody tr { position: relative; animation: sv-ligne .55s var(--doux) both; animation-delay: calc(var(--i, 0) * 32ms); transition: background .2s; }
@keyframes sv-ligne { from { opacity: 0; translate: -14px 0; } }
.sv-table tbody tr:hover { background: rgba(var(--lueur), .1); }
.sv-table tbody tr:last-child td { border-bottom: 0; }
/* Les quatre premiers, comme npc_standings_table_ui dans l'appli. */
.sv-table tr.est-qualif { background: linear-gradient(90deg, rgba(var(--lueur), .16), transparent 70%); }
.sv-table tr.est-qualif td:first-child { box-shadow: inset 3px 0 0 var(--trait); }
.sv-table tr.est-co { background: linear-gradient(90deg, rgba(199, 40, 45, .28), rgba(199, 40, 45, .05)); }
.sv-table tr.est-co td { color: #fff; }
.sv-table .rang { width: 38px; font: 600 16px var(--titre); color: var(--trait); }
.sv-table .club { text-align: left; max-width: 230px; }
.sv-table .club > span { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sv-table .club b { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-weight: 750; color: var(--texte); }
.sv-table .club .sv-ecu { width: 30px; height: 30px; border-radius: 9px; box-shadow: none; }
.sv-table .club .sv-ecu img { width: 23px; height: 23px; }
.sv-table .club .sv-ecu > span { font-size: 11px; }
.sv-table .pts { position: relative; font: 600 18px var(--titre); color: #fff; min-width: 64px; }
.sv-table .pts i { position: absolute; left: 6px; right: 6px; bottom: 5px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.sv-table .pts i::after { content: ""; position: absolute; inset: 0; width: calc(var(--p, 0) * 100%); border-radius: 3px; background: linear-gradient(90deg, var(--trait-a), var(--trait-b));
  transform-origin: 0 50%; animation: sv-jauge 1s var(--doux) both .2s; }
.sv-table .pos { color: #a9f0c6; } .sv-table .neg { color: #ffb3b7; }
.sv-table tr[data-club] { cursor: pointer; }
.sv-releve-note { display: flex; align-items: flex-start; gap: 9px; margin: 10px 4px 0; font-size: 12.5px; color: var(--texte-3); line-height: 1.45; }
.sv-releve-note i { flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; font: 800 11px var(--corps); font-style: normal; }
.sv-releve-note.est-ok i { background: rgba(54, 210, 122, .18); color: #a9f0c6; }
.sv-releve-note.est-alerte { color: #ffd2a1; }
.sv-releve-note.est-alerte i { background: rgba(255, 159, 67, .2); color: #ffd2a1; }
.sv-releve-note b { color: var(--texte-2); }
.sv-releve-note.est-alerte b { color: #ffe3c4; }
.sv-releve-note small { display: block; color: var(--texte-3); }
.sv-table-cadre.est-douteux { border-color: rgba(255, 159, 67, .45); }
.sv-table-cadre.est-douteux tbody { opacity: .78; }
.sv-legende { display: flex; flex-wrap: wrap; gap: 14px; margin: 8px 6px 0; font-size: 11.5px; font-weight: 650; color: var(--texte-3); }
.sv-legende span { display: inline-flex; align-items: center; gap: 6px; }
.sv-legende span::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: rgba(var(--lueur), .45); box-shadow: inset 2px 0 0 var(--trait); }
.sv-legende span.est-co::before { background: rgba(199, 40, 45, .6); box-shadow: none; }
.sv-legende .sv-legende-aide { margin-left: auto; font-weight: 600; }
.sv-legende .sv-legende-aide::before { display: none; }
/* Les écussons des chefs de poule, dans l'en-tête. */
.sv-stat b .sv-ecu.est-mini { width: 28px; height: 28px; border-radius: 9px; box-shadow: none; }
.sv-stat b .sv-ecu.est-mini img { width: 21px; height: 21px; }
.sv-stat b .sv-ecu.est-mini > span { font-size: 10px; }
.sv-vide { padding: 34px 20px; text-align: center; color: var(--texte-3); border-radius: 20px; border: 1px dashed var(--ligne-2); }

/* =====================================================================
   PAR CLUB : LE CARROUSEL 3D
   ===================================================================== */
.sv-cf { position: relative; margin: 6px 0 4px; }
.sv-cf-scene { position: relative; height: 230px; perspective: 1100px; overflow: hidden; touch-action: pan-y; outline: none; cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.sv-cf-scene:active { cursor: grabbing; }
.sv-cf-carte { position: absolute; left: 50%; top: 50%; width: 150px; height: 150px; border: 0; padding: 0; background: none;
  transform-style: preserve-3d; transition: transform .6s var(--ressort), opacity .45s var(--doux); will-change: transform; }
.sv-cf-face { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 30px;
  background: radial-gradient(circle at 32% 24%, #fff 0%, #f1f0ec 45%, #d5dbe6 100%);
  box-shadow: 0 26px 40px -18px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .5), inset 0 -8px 16px rgba(0, 0, 0, .1); transition: box-shadow .4s; }
.sv-cf-face img { width: 72%; height: 72%; object-fit: contain; }
.sv-cf-face > span { display: none; font: 600 34px var(--titre); color: var(--marine); }
.sv-cf-face.est-ko > span, .sv-cf-face:not(:has(img)) > span { display: block; }
.sv-cf-carte.est-centre .sv-cf-face { box-shadow: 0 0 0 6px rgba(var(--lueur), .45), 0 0 50px rgba(var(--lueur), .6), 0 30px 50px -20px rgba(0, 0, 0, .9); }
/* Le reflet sous la carte. */
.sv-cf-face::after { content: ""; position: absolute; left: 6%; right: 6%; top: 100%; height: 40%; margin-top: 8px; border-radius: 30px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .16), transparent); filter: blur(2px); }
.sv-cf-nav { position: absolute; z-index: 5; top: 50%; width: 42px; height: 42px; margin-top: -42px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(var(--lueur), .5); background: rgba(4, 8, 22, .75); color: #fff; font: 600 22px/1 var(--titre); transition: transform .3s var(--ressort), background .2s; }
.sv-cf-nav:hover { background: rgba(var(--lueur), .35); transform: scale(1.08); }
.sv-cf-nav.prev { left: 4px; } .sv-cf-nav.next { right: 4px; }
.sv-cf-legende { display: grid; justify-items: center; gap: 2px; margin-top: -10px; text-align: center; }
.sv-cf-legende b { font: 600 26px var(--titre); text-transform: uppercase; letter-spacing: .03em; }
.sv-cf-legende span { font-size: 12.5px; color: var(--texte-3); font-weight: 650; }

/* La carte d'identité du club choisi. */
.sv-club { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 14px 0 6px; }
.sv-club > span { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--ligne-2); background: var(--surface-2); font-size: 12.5px; font-weight: 700; color: var(--texte-2); }
.sv-club > span b { font: 600 18px var(--titre); color: #fff; }
.sv-club .est-V b { color: #a9f0c6; } .sv-club .est-N b { color: #ffd2a1; } .sv-club .est-D b { color: #ffb3b7; }
.sv-forme { display: inline-flex; gap: 3px; }
.sv-forme i { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 6px; font: 800 10px var(--corps); font-style: normal; color: #071027; }
.sv-forme .est-V { background: var(--vert); } .sv-forme .est-N { background: var(--orange); } .sv-forme .est-D { background: var(--rouge); color: #fff; }
.sv-aide { margin: 8px 4px 0; font-size: 12.5px; color: var(--texte-3); }

/* =====================================================================
   PRO D2 · PAR JOUEURS
   ===================================================================== */
.sv-postes { display: grid; gap: 22px; margin-top: 18px; }
.sv-postes > section { animation: sv-ouvre .55s var(--doux) both; animation-delay: calc(min(var(--i, 0), 8) * 60ms); }
.sv-poste-t { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; }
.sv-maillot { position: relative; flex: none; width: 46px; height: 46px; display: grid; place-items: center; }
.sv-maillot svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sv-maillot b { position: relative; font: 600 17px var(--titre); color: #fff; margin-top: 4px; }
.sv-poste-t div b { display: block; font: 600 18px var(--titre); text-transform: uppercase; letter-spacing: .02em; }
.sv-poste-t div small { font-size: 12px; color: var(--texte-3); font-weight: 650; }

/* =====================================================================
   TOP 14 · PROJECTION
   ===================================================================== */
.sv-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 4px; }
.sv-kpi { position: relative; overflow: hidden; padding: 18px 20px; border-radius: 20px; border: 1px solid rgba(var(--lueur), .3);
  background: linear-gradient(160deg, rgba(var(--lueur), .2), rgba(255, 255, 255, .02) 60%); }
.sv-kpi::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(140px 70px at 88% 0%, rgba(var(--lueur), .3), transparent); }
.sv-kpi span { display: block; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--texte-3); }
.sv-kpi b { display: block; margin-top: 6px; font: 600 44px/1 var(--titre); color: #fff; font-variant-numeric: tabular-nums; }
.sv-kpi small { display: block; margin-top: 6px; font-size: 12.5px; color: var(--texte-2); }
.sv-kpi.est-alerte b { color: #ffb3b7; }
.sv-proj-grille { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; margin-top: 16px; }
.sv-panneau { min-width: 0; padding: 18px 20px; border-radius: 22px; border: 1px solid var(--ligne); background: linear-gradient(170deg, rgba(var(--lueur), .06), rgba(255, 255, 255, .015) 45%); }
.sv-panneau h3 { margin: 0 0 4px; font: 600 19px var(--titre); text-transform: uppercase; letter-spacing: .03em; }
.sv-panneau > p { margin: 0 0 14px; font-size: 12.5px; color: var(--texte-3); }
/* Probabilité de chaque classement : une colonne par rang. */
.sv-rangs { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); align-items: end; gap: 6px; height: 210px; padding-top: 22px; border-bottom: 1px solid var(--ligne-2); }
.sv-rang-col { position: relative; height: 100%; display: flex; align-items: flex-end; }
.sv-rang-col i { display: block; width: 100%; height: calc(var(--p) * 100%); min-height: 2px; border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--trait), var(--trait-a)); transform-origin: 50% 100%; animation: sv-monte .9s var(--doux) both; animation-delay: calc(var(--i) * 40ms); transition: filter .2s; }
.sv-rang-col:hover i { filter: brightness(1.3); }
@keyframes sv-monte { from { transform: scaleY(0); } }
.sv-rang-col em { position: absolute; left: 50%; bottom: calc(var(--p) * 100% + 4px); translate: -50% 0; font-style: normal; font-size: 10.5px; font-weight: 800; color: var(--texte-2); white-space: nowrap; }
.sv-rangs-axe { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 6px; margin-top: 6px; text-align: center; font: 600 13px var(--titre); color: var(--texte-3); }
.sv-rangs-axe .est-max { color: #fff; }
.sv-zones { display: grid; gap: 8px; }
.sv-zone { display: grid; grid-template-columns: 74px minmax(0, 1fr) 46px; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--texte-2); }
.sv-zone b { text-align: right; font: 600 16px var(--titre); color: #fff; font-variant-numeric: tabular-nums; }
.sv-zone div { height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.sv-zone div i { display: block; height: 100%; width: calc(var(--p) * 100%); border-radius: 6px; background: #6d7896; transform-origin: 0 50%; animation: sv-jauge 1s var(--doux) both; }
.sv-zone.est-cible div i { background: linear-gradient(90deg, var(--trait-a), var(--trait)); }
.sv-zone.est-danger div i { background: linear-gradient(90deg, #b3121d, var(--rouge)); }
.sv-methode { margin: 14px 0 0; padding: 0 0 0 18px; font-size: 12.5px; color: var(--texte-2); line-height: 1.6; }
.sv-avert { margin: 12px 0 0; font-size: 12px; color: var(--texte-3); }
.sv-table .top6 { min-width: 110px; }
.sv-table .top6 > span { display: flex; align-items: center; gap: 8px; }
.sv-table .top6 i { flex: 1; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .06); overflow: hidden; position: relative; }
.sv-table .top6 i::after { content: ""; position: absolute; inset: 0; width: calc(var(--p) * 100%); border-radius: 6px; background: linear-gradient(90deg, var(--trait-a), var(--trait)); transform-origin: 0 50%; animation: sv-jauge 1s var(--doux) both .2s; }
.sv-table .top6 b { width: 38px; text-align: right; font-weight: 800; color: var(--texte); }

/* Écran d'attente. */
.sv-attente { display: flex; justify-content: center; gap: 8px; padding: 80px 0; }
.sv-attente i { width: 10px; height: 10px; border-radius: 50%; background: var(--bleu-2); animation: sv-attente 1s var(--doux) infinite; }
.sv-attente i:nth-child(2) { animation-delay: .15s; } .sv-attente i:nth-child(3) { animation-delay: .3s; }
@keyframes sv-attente { 50% { transform: translateY(-10px); opacity: .4; } }

/* =====================================================================
   ÉCRANS MOYENS ET TÉLÉPHONE
   ===================================================================== */
@media (max-width: 1180px) {
  .sv-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv-proj-grille { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .sv-hero { grid-template-columns: minmax(0, 1fr); padding: 24px 18px 20px; border-radius: 24px; gap: 4px; }
  .sv-medaillon { position: absolute !important; top: 16px; right: 12px; width: 84px; height: 94px; margin: 0; }
  .sv-medaillon-flotte { inset: 0 0 12px; }
  .sv-medaillon-ombre { width: 60px; margin-left: -30px; height: 10px; }
  .sv-hero-rond { width: 220px; height: 220px; right: -60px; top: 60px; margin-top: 0; }
  .sv-hero-cadre i { width: 30px; height: 30px; }
  .sv-hero-cadre .hg, .sv-hero-cadre .hd { top: 10px; } .sv-hero-cadre .bg, .sv-hero-cadre .bd { bottom: 10px; }
  .sv-hero-cadre .hg, .sv-hero-cadre .bg { left: 10px; } .sv-hero-cadre .hd, .sv-hero-cadre .bd { right: 10px; }
  .sv-hero-texte { padding-right: 0; }
  .sv-sur { max-width: calc(100% - 92px); letter-spacing: .16em; font-size: 10.5px; }
  .sv-hero h1 { font-size: 40px; max-width: calc(100% - 80px); }
  .sv-hero-intro { font-size: 13.5px; }
  .sv-stats { gap: 8px; margin-top: 18px; }
  .sv-stat { padding: 10px 11px; border-radius: 14px; }
  .sv-stat b { font-size: 22px; }

  .sv-j { min-width: 70px; padding: 8px 5px 10px; }
  .sv-j b { font-size: 16px; }
  .sv-fleche { display: none; }
  .sv-section h2 { font-size: 20px; }

  .sv-affiche { gap: 6px; padding: 12px 8px 12px; }
  .sv-equipe b { font-size: 13px; }
  .sv-ecu { width: 44px; height: 44px; border-radius: 13px; }
  .sv-ecu img { width: 33px; height: 33px; }
  .sv-score b { font-size: 23px; }

  .sv-fiche-affiche { gap: 8px; padding: 20px 10px 18px; }
  .sv-fiche-equipe .sv-ecu { width: 60px; height: 60px; border-radius: 18px; }
  .sv-fiche-equipe .sv-ecu img { width: 44px; height: 44px; }
  .sv-fiche-equipe b { font-size: 14px; }
  .sv-fiche-score { font-size: 38px; gap: 6px; }
  .sv-fiche-score i { font-size: 22px; }
  .sv-fiche-score.est-avenir { font-size: 20px; }
  .sv-fermer { padding: 7px 13px; font-size: 12px; }
  .sv-fiche-tete { padding: 12px 14px; }
  .sv-fiche-bloc { padding: 2px 12px 16px; }
  .sv-pronostic, .sv-fiche-note { margin-left: 12px; margin-right: 12px; }
  .sv-compo { grid-template-columns: 1fr; }
  .sv-compo-equipe { padding: 2px 10px 14px; }
  .sv-compo-equipe + .sv-compo-equipe { border-left: 0; border-top: 1px solid var(--ligne); }
  .sv-fait-ligne { grid-template-columns: 38px 12px minmax(0, 1fr) auto; }
  .sv-chgt { grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1fr); font-size: 11.5px; gap: 6px; }
  .sv-fiche-pied { padding: 12px 14px 16px; }

  .sv-table { font-size: 12.5px; }
  .sv-table thead th, .sv-table tbody td { padding: 7px 4px; }
  .sv-table .rang { width: 26px; font-size: 14px; }
  .sv-table .club .sv-ecu { width: 24px; height: 24px; border-radius: 7px; }
  .sv-table .club .sv-ecu img { width: 18px; height: 18px; }
  .sv-table .club > span { gap: 6px; }
  .sv-table .club b { display: block; max-width: 92px; }
  .sv-table .pts { min-width: 38px; font-size: 16px; }
  .sv-table .top6 { min-width: 70px; }
  .sv-legende .sv-legende-aide { display: none; }
  .sv-poules { grid-template-columns: 1fr; }

  .sv-cf-scene { height: 190px; }
  .sv-cf-carte { width: 118px; height: 118px; }
  .sv-cf-face { border-radius: 24px; }
  .sv-cf-nav { width: 36px; height: 36px; margin-top: -36px; }
  .sv-cf-legende b { font-size: 22px; }

  .sv-kpis { gap: 10px; }
  .sv-kpi { padding: 14px 14px; }
  .sv-kpi b { font-size: 32px; }
  .sv-panneau { padding: 16px 12px; }
  .sv-rangs { gap: 3px; height: 170px; }
  .sv-rangs-axe { gap: 3px; font-size: 11px; }
  .sv-rang-col em { font-size: 9px; }
  .sv-rang-col em.est-petit { display: none; }
  .sv-zone { grid-template-columns: 62px minmax(0, 1fr) 40px; font-size: 12px; }
}

/* Mode allégé : pas de flou derrière les chiffres de l'en-tête. */
.allege .sv-stat { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(0, 0, 0, .4); }
