/* counters-matchup-desk.css — bloc décision des pages counters, refonte du 2026-10-03.
   Feuille PROPRE aux pages counters (liée par generate-counters.mjs avec un ?v= calculé sur son
   contenu) : elle n'est pas dans SHARED_ASSETS, la modifier ne retamponne aucune autre page.
   Racine `.nx-cdec.nx-md` : `.nx-cdec` garde le nom historique du bloc (mesure `nx_cdec`), tous
   les enfants sont `.nx-md__*` pour ne rien hériter des anciennes règles de ssg-champion-page.css.

   Deux états :
   - sans script : titre + « l'essentiel » (picks, à éviter, item) + un lien draft. Rien de caché.
   - avec script (`[data-js]`) : la scène « toi contre lui », le choix du champion, la lecture. */

.nx-cdec.nx-md {
  --md-you: #4cc2ff;
  --md-foe: #ff5d7a;
  --md-win: #5fe0a3;
  --md-lose: #ff6b81;
  --md-even: #ffd166;
  --md-ink: #eef2ff;
  --md-dim: #9ea8c7;
  --md-line: rgba(130, 150, 255, .22);
  position: relative;
  margin: 0 0 22px;
  padding: 18px 16px 14px;
  border: 1px solid var(--md-line);
  border-radius: 20px;
  background:
    radial-gradient(90% 60% at 0% 0%, rgba(76, 194, 255, .13), transparent 62%),
    radial-gradient(90% 60% at 100% 0%, rgba(255, 93, 122, .12), transparent 62%),
    linear-gradient(180deg, #0d1122, #080a16);
  color: var(--md-ink);
  overflow: hidden;
  isolation: isolate;
}

/* ── En-tête ─────────────────────────────────────────────────────────────── */
.nx-md__eyebrow {
  display: flex; align-items: center; gap: 8px;
  margin: 0 0 6px;
  font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--md-dim);
}
.nx-md__live { width: 7px; height: 7px; border-radius: 50%; background: var(--md-win); box-shadow: 0 0 0 0 rgba(95, 224, 163, .6); animation: nxMdLive 2.4s ease-out infinite; }
.nx-md__title { margin: 0; font-size: 1.12rem; line-height: 1.25; font-weight: 800; color: #fff; text-wrap: balance; }

/* ── Sens de lecture : je l'affronte / je le joue ────────────────────────── */
.nx-md__modes {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  margin: 14px 0 0; padding: 4px;
  border-radius: 14px; background: rgba(255, 255, 255, .05);
}
.nx-md__mode {
  min-height: 44px; padding: 6px 10px;
  border: 0; border-radius: 10px; background: none;
  color: var(--md-dim); font: inherit; font-size: .86rem; font-weight: 700; line-height: 1.2;
  cursor: pointer; transition: background .2s ease, color .2s ease;
}
.nx-md__mode[aria-pressed="true"] { background: linear-gradient(180deg, rgba(120, 150, 255, .3), rgba(120, 150, 255, .16)); color: #fff; box-shadow: inset 0 0 0 1px rgba(150, 175, 255, .45); }
.nx-md__mode:focus-visible, .nx-md__chip:focus-visible, .nx-md__slot:focus-visible, .nx-md__tab:focus-visible, .nx-md__quiet a:focus-visible, .nx-md__best a:focus-visible { outline: 2px solid var(--md-you); outline-offset: 2px; }

/* ── Scène : toi | verdict | lui ─────────────────────────────────────────── */
.nx-md__stage {
  position: relative;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px;
  margin: 14px -16px 0; padding: 22px 12px 18px;
  border-block: 1px solid var(--md-line);
  background: linear-gradient(100deg, rgba(76, 194, 255, .1), transparent 42%, transparent 58%, rgba(255, 93, 122, .1));
  overflow: hidden;
}
/* Ambiance : le portrait de chaque camp, agrandi et flouté, de son côté de la scène. */
.nx-md__amb { position: absolute; inset: -20% auto -20% -12%; width: 62%; background: center / cover no-repeat; filter: blur(26px) saturate(1.3); opacity: 0; transition: opacity .5s ease; z-index: -1; -webkit-mask-image: linear-gradient(90deg, #000 30%, transparent); mask-image: linear-gradient(90deg, #000 30%, transparent); }
.nx-md__amb[data-side="foe"] { inset: -20% -12% -20% auto; -webkit-mask-image: linear-gradient(270deg, #000 30%, transparent); mask-image: linear-gradient(270deg, #000 30%, transparent); }
.nx-md__amb[data-on="true"] { opacity: .42; }
/* La lame centrale. */
.nx-md__stage::before {
  content: ""; position: absolute; left: 50%; top: -10%; bottom: -10%; width: 2px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: translateX(-50%) rotate(12deg); opacity: .35; z-index: -1;
}
.nx-md__side { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; text-align: center; }
.nx-md__who { font-size: .62rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--md-you); }
.nx-md__side[data-side="foe"] .nx-md__who { color: var(--md-foe); }
.nx-md__sname { max-width: 100%; font-size: 1rem; font-weight: 800; line-height: 1.15; color: #fff; overflow-wrap: anywhere; }
.nx-md__slot {
  position: relative; display: grid; place-items: center;
  width: 84px; height: 84px; padding: 0;
  border: 0; border-radius: 24px; background: #0b0e1c; color: var(--md-you);
  box-shadow: 0 0 0 2px var(--md-you), 0 10px 34px rgba(76, 194, 255, .28);
  cursor: default;
}
.nx-md__side[data-side="foe"] .nx-md__slot { color: var(--md-foe); box-shadow: 0 0 0 2px var(--md-foe), 0 10px 34px rgba(255, 93, 122, .28); }
.nx-md__slot img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; display: block; }
.nx-md__slot[data-empty="true"] { cursor: pointer; box-shadow: none; background: rgba(255, 255, 255, .04); }
.nx-md__slot[data-empty="true"]::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px dashed currentColor; opacity: .8; animation: nxMdBreath 2s ease-in-out infinite; }
.nx-md__slot[data-empty="true"]::after { content: "+"; font-size: 2rem; font-weight: 300; line-height: 1; }
.nx-md__slot[data-empty="true"] img { display: none; }
.nx-md__slot[data-pop="true"] { animation: nxMdPop .5s cubic-bezier(.2, 1.4, .4, 1); }

.nx-md__mid { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 96px; }
.nx-md__vs { font-size: .78rem; font-weight: 900; letter-spacing: .2em; color: rgba(255, 255, 255, .55); }
.nx-md__num { font-size: 2rem; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; color: #fff; }
.nx-md__num[hidden] { display: none; }
.nx-md__stage[data-tone="win"] .nx-md__num { color: var(--md-win); text-shadow: 0 0 22px rgba(95, 224, 163, .5); }
.nx-md__stage[data-tone="lose"] .nx-md__num { color: var(--md-lose); text-shadow: 0 0 22px rgba(255, 107, 129, .5); }
.nx-md__stage[data-tone="even"] .nx-md__num { color: var(--md-even); }
/* Jauge : 7 crans de −3 à +3, allumés du centre vers le camp qui a l'avantage. */
.nx-md__gauge { display: grid; grid-template-columns: repeat(7, 10px); gap: 3px; }
.nx-md__gauge i { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .13); transition: background .25s ease, box-shadow .25s ease, transform .25s ease; }
.nx-md__gauge i:nth-child(4) { background: rgba(255, 255, 255, .32); }
.nx-md__gauge i[data-on="win"] { background: var(--md-win); box-shadow: 0 0 10px rgba(95, 224, 163, .7); transform: scaleY(1.5); }
.nx-md__gauge i[data-on="lose"] { background: var(--md-lose); box-shadow: 0 0 10px rgba(255, 107, 129, .7); transform: scaleY(1.5); }
.nx-md__gauge i[data-on="even"] { background: var(--md-even); box-shadow: 0 0 10px rgba(255, 209, 102, .6); transform: scaleY(1.5); }
.nx-md__verdict { max-width: 130px; font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; text-align: center; line-height: 1.2; color: var(--md-dim); }
.nx-md__stage[data-tone="win"] .nx-md__verdict { color: var(--md-win); }
.nx-md__stage[data-tone="lose"] .nx-md__verdict { color: var(--md-lose); }
.nx-md__stage[data-tone="even"] .nx-md__verdict { color: var(--md-even); }

/* ── La question, puis le choix ──────────────────────────────────────────── */
.nx-md__ask { margin: 16px 0 0; font-size: 1.08rem; font-weight: 800; line-height: 1.25; color: #fff; text-wrap: balance; }
.nx-md__ask--again { margin: 4px 0 10px; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--md-dim); }
.nx-md[data-sel] .nx-md__ask--top, .nx-md:not([data-sel]) .nx-md__ask--again { display: none; }
.nx-md__search { position: relative; display: block; margin: 0 0 10px; }
.nx-md__search svg { position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--md-dim); pointer-events: none; }
.nx-md__search input {
  width: 100%; box-sizing: border-box; min-height: 44px; padding: 0 12px 0 36px;
  border: 1px solid var(--md-line); border-radius: 12px; background: rgba(255, 255, 255, .04);
  color: #fff; font: inherit; font-size: 16px; /* 16px : pas de zoom iOS au focus */
}
.nx-md__search input::placeholder { color: var(--md-dim); }
.nx-md__search input:focus { outline: none; border-color: var(--md-you); box-shadow: 0 0 0 3px rgba(76, 194, 255, .2); }
.nx-md__rail {
  display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: 68px; gap: 8px 6px;
  margin: 0 -16px; padding: 4px 16px 10px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: thin;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
}
.nx-md__chip {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 4px 0 2px; border: 0; background: none; color: var(--md-ink); font: inherit; cursor: pointer; scroll-snap-align: start;
}
.nx-md__chip[hidden] { display: none; }
.nx-md__chip img { width: 54px; height: 54px; border-radius: 16px; object-fit: cover; background: #11152a; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); transition: transform .16s ease, box-shadow .16s ease; }
.nx-md__chip:hover img { transform: translateY(-2px); }
.nx-md__chip:active img { transform: scale(.94); }
.nx-md__chip[aria-pressed="true"] img { box-shadow: 0 0 0 2px var(--md-you), 0 0 18px rgba(76, 194, 255, .55); }
/* L'anneau vert « meilleur pick » n'a de sens que pour qui AFFRONTE le champion de la page. */
.nx-md[data-mode="face"] .nx-md__chip[data-best="true"] img { box-shadow: 0 0 0 2px var(--md-win); }
.nx-md__chip[data-best="true"][aria-pressed="true"] img { box-shadow: 0 0 0 2px var(--md-you), 0 0 18px rgba(76, 194, 255, .55); }
.nx-md__cname { max-width: 66px; font-size: .68rem; font-weight: 600; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--md-dim); }
.nx-md__chip[aria-pressed="true"] .nx-md__cname { color: #fff; }
.nx-md__cedge { position: absolute; top: 0; right: 2px; min-width: 22px; padding: 1px 4px; border-radius: 8px; background: #0b0e1c; font-size: .66rem; font-weight: 800; line-height: 1.3; font-variant-numeric: tabular-nums; text-align: center; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16); }
.nx-md__cedge[data-tone="win"] { color: var(--md-win); }
.nx-md__cedge[data-tone="lose"] { color: var(--md-lose); }
.nx-md__cedge[data-tone="even"] { color: var(--md-even); }
.nx-md__none { margin: 0 0 10px; font-size: .84rem; color: var(--md-dim); }

/* ── L'essentiel (rendu serveur — la réponse en dix secondes) ────────────── */
.nx-md__facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 14px; }
.nx-md__pickzone { min-width: 0; grid-column: 1 / -1; }
.nx-md__fact > h3 { margin: 0 0 8px; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--md-dim); }
.nx-md__fact[data-kind="picks"] > h3 { color: var(--md-win); }
.nx-md__fact[data-kind="avoid"] > h3 { color: var(--md-lose); }
.nx-md__best { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.nx-md__best a {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 6px 10px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(95, 224, 163, .12), rgba(95, 224, 163, .03));
  box-shadow: inset 0 0 0 1px rgba(95, 224, 163, .3);
  color: #fff; text-decoration: none; text-align: center; transition: transform .16s ease, box-shadow .16s ease;
}
.nx-md__best a:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(95, 224, 163, .7), 0 10px 26px rgba(95, 224, 163, .16); }
.nx-md__best img { width: 56px; height: 56px; border-radius: 16px; object-fit: cover; background: #11152a; }
.nx-md__bname { max-width: 100%; font-size: .9rem; font-weight: 800; line-height: 1.15; overflow-wrap: anywhere; }
.nx-md__bedge { font-size: 1.05rem; font-weight: 900; font-variant-numeric: tabular-nums; color: var(--md-win); }
.nx-md__brank { position: absolute; top: 6px; left: 8px; font-size: .64rem; font-weight: 800; color: rgba(95, 224, 163, .8); }
.nx-md__line { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, .04); }
.nx-md__line img { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; object-fit: cover; background: #11152a; }
.nx-md__line b { font-size: .92rem; font-weight: 700; color: #fff; }
.nx-md__line small { display: block; font-size: .78rem; line-height: 1.35; color: var(--md-dim); overflow-wrap: anywhere; }
.nx-md__line .nx-md__ledge { margin-left: auto; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--md-lose); }
.nx-md__nojs { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; margin-top: 14px; border-radius: 14px; background: linear-gradient(90deg, #42b7ff, #8067ff); color: #05060d; font-weight: 800; text-decoration: none; }
.nx-md__src { margin: 14px 0 0; font-size: .7rem; line-height: 1.4; color: rgba(158, 168, 199, .75); text-align: center; }

/* Avec script : ce qui ne sert pas le sens de lecture choisi s'efface. */
.nx-md[data-js] .nx-md__nojs { display: none; }
.nx-md[data-js][data-mode="face"] .nx-md__fact[data-for="play"],
.nx-md[data-js][data-mode="play"] .nx-md__fact[data-for="face"],
.nx-md[data-js][data-sel] .nx-md__fact[data-kind="picks"],
.nx-md[data-js][data-sel] .nx-md__fact[data-kind="avoid"] { display: none; }

/* ── La lecture du matchup ───────────────────────────────────────────────── */
.nx-md__read { margin-top: 16px; padding: 14px; border-radius: 18px; background: linear-gradient(180deg, rgba(120, 150, 255, .12), rgba(120, 150, 255, .04)); box-shadow: inset 0 0 0 1px rgba(150, 175, 255, .26); }
.nx-md__read[hidden] { display: none; }
/* Sortie Draft secondaire en tête de lecture (2026-10-17) : contour, jamais en concurrence avec le plan Nexus. */
.nx-md__draft { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin: 0 0 12px; padding: 8px 14px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(169, 182, 255, .45); background: rgba(169, 182, 255, .06); color: #d6dcff; font-size: .86rem; font-weight: 700; text-decoration: none; }
.nx-md__draft span { font-size: .7rem; color: #a9b6ff; }
.nx-md__draft:hover { background: rgba(169, 182, 255, .14); color: #fff; }
.nx-md__draft:focus-visible { outline: 2px solid var(--md-you); outline-offset: 2px; }
.nx-md__rhead { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #b9c4ff; }
.nx-md__rhead img { width: 20px; height: 20px; }
.nx-md__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.nx-md__tags span { padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .07); font-size: .72rem; font-weight: 600; color: #d6dcff; }
.nx-md__key { margin: 0 0 12px; padding: 10px 12px; border-left: 3px solid var(--md-even); border-radius: 0 10px 10px 0; background: rgba(255, 209, 102, .08); font-size: .88rem; line-height: 1.5; color: #fff3cf; }
.nx-md__tabs { display: flex; gap: 4px; margin: 0 0 10px; padding: 3px; border-radius: 12px; background: rgba(0, 0, 0, .28); }
.nx-md__tab { flex: 1 1 0; min-width: 0; min-height: 40px; padding: 4px 6px; border: 0; border-radius: 9px; background: none; color: var(--md-dim); font: inherit; font-size: .78rem; font-weight: 700; line-height: 1.15; cursor: pointer; }
.nx-md__tab[aria-selected="true"] { background: rgba(255, 255, 255, .12); color: #fff; }
.nx-md__prose { margin: 0; min-height: 5.6em; font-size: .93rem; line-height: 1.6; color: #e6eaff; }
.nx-md__prose[data-in="true"] { animation: nxMdRise .32s ease both; }
.nx-md__skel { display: grid; gap: 8px; padding: 4px 0 6px; }
.nx-md__skel i { height: 12px; border-radius: 6px; background: linear-gradient(90deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .16), rgba(255, 255, 255, .06)); background-size: 200% 100%; animation: nxMdShimmer 1.1s linear infinite; }
.nx-md__skel i:nth-child(2) { width: 92%; }
.nx-md__skel i:nth-child(3) { width: 70%; }
.nx-md__wait { margin: 0 0 8px; font-size: .8rem; color: var(--md-dim); }

/* UNE action : le plan de jeu Nexus. Le reste est discret, en texte. */
.nx-md__cta {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  width: 100%; box-sizing: border-box; min-height: 58px; margin-top: 14px; padding: 9px 14px;
  border: 0; border-radius: 16px; background: linear-gradient(90deg, #42b7ff, #8067ff);
  color: #05060d; font: inherit; font-size: 1rem; font-weight: 800; line-height: 1.2; text-align: center;
  cursor: pointer; overflow: hidden; box-shadow: 0 12px 34px rgba(96, 140, 255, .35);
}
.nx-md__cta small { font-size: .72rem; font-weight: 700; letter-spacing: .04em; opacity: .78; }
.nx-md__cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .5) 50%, transparent 65%); transform: translateX(-120%); animation: nxMdSweep 3.2s ease-in-out 1s infinite; }
.nx-md__cta:hover { filter: brightness(1.08); }
.nx-md__cta:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.nx-md__quiet { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin-top: 10px; }
.nx-md__quiet a { display: inline-flex; align-items: center; min-height: 44px; font-size: .84rem; font-weight: 600; color: #a9b6ff; text-decoration: underline; text-decoration-color: rgba(169, 182, 255, .4); text-underline-offset: 3px; }
.nx-md__quiet a:hover { color: #fff; }

/* Révélation à la sélection. */
.nx-md[data-sel] .nx-md__read:not([hidden]) { animation: nxMdRise .36s ease both; }
.nx-md__stage[data-flash="true"]::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 50% 50%, rgba(255, 255, 255, .22), transparent 70%); animation: nxMdFlash .6s ease-out both; pointer-events: none; }

@keyframes nxMdLive { 0% { box-shadow: 0 0 0 0 rgba(95, 224, 163, .6); } 70%, 100% { box-shadow: 0 0 0 8px rgba(95, 224, 163, 0); } }
@keyframes nxMdBreath { 0%, 100% { opacity: .45; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes nxMdPop { 0% { transform: scale(.5) rotate(-8deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes nxMdRise { 0% { transform: translateY(10px); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes nxMdShimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes nxMdSweep { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
@keyframes nxMdFlash { 0% { opacity: 1; } 100% { opacity: 0; } }

@media (min-width: 720px) {
  .nx-cdec.nx-md { padding: 24px 28px 18px; }
  .nx-md__title { font-size: 1.3rem; }
  .nx-md__modes { max-width: 520px; }
  .nx-md__stage { margin-inline: -28px; padding: 30px 28px 26px; gap: 24px; grid-template-columns: minmax(0, 300px) auto minmax(0, 300px); justify-content: center; }
  .nx-md__slot { width: 112px; height: 112px; border-radius: 30px; }
  .nx-md__sname { font-size: 1.3rem; }
  .nx-md__num { font-size: 2.6rem; }
  .nx-md__gauge { grid-template-columns: repeat(7, 18px); gap: 4px; }
  .nx-md__gauge i { height: 8px; }
  .nx-md__verdict { max-width: 200px; font-size: .82rem; }
  .nx-md__search { max-width: 360px; }
  .nx-md__rail { grid-auto-flow: row; grid-template-rows: none; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); margin: 0; padding: 4px 0 6px; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .nx-md__best { gap: 12px; }
  .nx-md__best a { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 14px 16px; text-align: left; }
  .nx-md__brank { position: static; order: -1; }
  .nx-md__bedge { margin-left: auto; font-size: 1.3rem; }
  .nx-md__facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .nx-md__fact[data-kind="picks"] { grid-column: 1 / -1; }
  .nx-md__read { padding: 20px 22px; }
  .nx-md__prose { font-size: 1rem; max-width: 72ch; }
  .nx-md__tabs { max-width: 480px; }
  .nx-md__cta { max-width: 520px; margin-inline: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .nx-md__live, .nx-md__slot[data-empty="true"]::before, .nx-md__slot[data-pop="true"], .nx-md__prose[data-in="true"],
  .nx-md__skel i, .nx-md__cta::after, .nx-md[data-sel] .nx-md__read:not([hidden]), .nx-md__stage[data-flash="true"]::after { animation: none; }
  .nx-md__chip img, .nx-md__best a, .nx-md__gauge i, .nx-md__amb { transition: none; }
}

/* Lot E mouvement (2026-10-15) — barre divergente −3…+3 à côté du badge d'avantage des cartes de matchup
   (`generate-counters.mjs`). Le remplissage est le verbe REMPLIR du kit (`.nx-fill`, ssg-pages.css) : lié au
   défilement, origine au centre — vers la droite pour un avantage, vers la gauche pour un désavantage. */
.nx-counter-ebar { position: relative; display: inline-block; width: 34px; height: 4px; margin-left: 6px; vertical-align: middle; border-radius: 2px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.nx-counter-ebar::before { content: ""; position: absolute; left: 50%; top: -1px; bottom: -1px; width: 1px; background: rgba(255, 255, 255, .28); }
.nx-counter-ebar i { position: absolute; top: 0; bottom: 0; width: calc(var(--e, 0) * 50%); border-radius: 2px; }
.nx-counter-ebar[data-sign="pos"] i { left: 50%; background: #86efac; }
.nx-counter-ebar[data-sign="neg"] i { right: 50%; background: #fca5a5; transform-origin: 100% 50%; }
/* Grille compacte mobile (cartes ≈ 110 px) : nom + nombre + barre ne tiennent pas sur une ligne — la barre passe
   dessous, centrée, plutôt que de faire passer à la ligne un nom sur deux. */
@media (max-width: 600px) { .nx-counter-ebar { display: block; margin: 4px auto 0; } }
