/* ════════════════════════════════════════════════════════════════════════════
   ssg-champion-page-v5.css — Refonte Champion Page · Wild Rift Core
   Direction "Echelon" · éditoriale magazine premium gaming
   ────────────────────────────────────────────────────────────────────────────
   • Remplace assets/styles/ssg-champion-page.css pour la fiche overview
   • Les sous-pages (counters, synergies, tips, builds) continuent d'utiliser
     ssg-champion-blocks.css inchangé
   • Vanilla CSS, zero dépendance. Compatible IntersectionObserver fallback.
   • Fonts à ajouter dans assets/fonts/ : Fraunces (700/900), Cinzel (600/800),
     Inter Tight (500-900), JetBrains Mono (500/700) — ou charger via Google Fonts.
   ════════════════════════════════════════════════════════════════════════════ */

/* ╭──────────────────────────────────────────────────────────────╮
   │  V5 — ECHELON                                                 │
   │  Approche éditoriale magazine premium gaming.                 │
   │  Pas de stack vertical fade : chaque section a sa propre      │
   │  identité visuelle. Composition, asymétrie, scale typo,       │
   │  pull-quotes, diagonal cuts, matchup wall unifiée.            │
   ╰──────────────────────────────────────────────────────────────╯ */

:root {
  --bg-0: #06070f;
  --bg-1: #0b0c1a;
  --bg-2: #131426;

  --ink-0: #fafbff;
  --ink-1: rgba(248,250,255,.86);
  --ink-2: rgba(220,228,250,.58);
  --ink-3: rgba(180,194,228,.36);

  --line: rgba(255,255,255,.08);

  /* Brand voice */
  --violet:  #a78bfa;
  --violet-d:#5b21b6;
  --gold:    #fbbf24;
  --gold-l:  #fde68a;
  --crimson: #ef4444;
  --teal:    #34d399;
  --sky:     #60a5fa;
  --rose:    #fb7185;

  --ease: cubic-bezier(.22,1,.36,1);
}

/* ═════ Reduced motion : on coupe tout ce qui bouge ═════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .cover__data__video { display: none !important; }
  .cover__grain { display: none !important; }
}

html.nx-video-off .cover__data__video {
  display: none !important;
}

/* ═════ Reveal animations (déclenchés au scroll par IntersectionObserver) ═════ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal--delay-1 { transition-delay: .08s; }
.reveal--delay-2 { transition-delay: .16s; }
.reveal--delay-3 { transition-delay: .24s; }

/* ═════ Skeleton loader (pendant la chargement de la vidéo) ═════ */
@keyframes skel {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.skel {
  background:
    linear-gradient(90deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.10) 50%, rgba(255,255,255,.04) 100%);
  background-size: 200% 100%;
  animation: skel 1.4s linear infinite;
  color: transparent !important;
  pointer-events: none;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg-0); color: var(--ink-1); }
body {
  font-family: "Inter Tight", system-ui, sans-serif;
  font-feature-settings: "ss01" 1, "cv11" 1, "tnum" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* Reusable */
.serif    { font-family: "Fraunces", Georgia, serif; font-variation-settings: "SOFT" 50; }
.display  { font-family: "Cinzel", serif; }
.mono     { font-family: "JetBrains Mono", monospace; }
.eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.gold-text {
  background: linear-gradient(180deg, #fde68a 10%, #fbbf24 70%, #b45309);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ═══════════════════════════════════════════════════════════════
   1. THE COVER
   ═══════════════════════════════════════════════════════════════ */
.cover {
  position: relative;
  min-height: 96vh;
  padding: calc(68px + 22px) 22px 26px;
  overflow: hidden;
  isolation: isolate;
  display: flex; flex-direction: column;
}
/* ── BG MEDIA — splash HD statique dans le cover ── */
.cover__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 58% 26%;
  z-index: -3;
  filter: saturate(1.05) contrast(1.04);
  background: linear-gradient(135deg, #1a0b3a 0%, #06070f 100%);
}
.cover__grade {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(167,139,250,.20), transparent 60%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(251,191,36,.10), transparent 60%),
    linear-gradient(180deg, rgba(6,7,15,.20) 0%, rgba(6,7,15,.50) 40%, rgba(6,7,15,.94) 88%);
}
.cover__grain {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(6,7,15,.08) 0%, rgba(6,7,15,.22) 30%, rgba(6,7,15,.46) 62%, rgba(6,7,15,.78) 100%),
    radial-gradient(1px 1px at 20% 30%, rgba(253,230,138,.28), transparent 50%),
    radial-gradient(1px 1px at 80% 15%, rgba(167,139,250,.26), transparent 50%),
    radial-gradient(1.5px 1.5px at 40% 60%, rgba(255,255,255,.2), transparent 50%),
    radial-gradient(1px 1px at 65% 75%, rgba(253,230,138,.18), transparent 50%),
    radial-gradient(1px 1px at 92% 40%, rgba(255,255,255,.16), transparent 50%);
  mix-blend-mode: normal;
  opacity: 1;
}

.nx-vid-toggle {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(6,7,15,.62);
  color: var(--ink-0);
  font: 600 .72rem/1 "Inter Tight", system-ui, sans-serif;
  cursor: pointer;
  backdrop-filter: blur(12px);
  width: 100%;
  margin-top: 10px;
}
.nx-vid-toggle:hover {
  border-color: rgba(253,230,138,.34);
  background: rgba(11,12,26,.82);
}
.nx-vid-toggle__tooltip {
  display: none;
}
.nx-vid-tooltip-portal {
  position: fixed;
  z-index: 100120;
  max-width: 280px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  background: rgba(6,7,15,.96);
  color: var(--ink-1);
  font: 500 .76rem/1.55 "Inter Tight", system-ui, sans-serif;
  box-shadow: 0 18px 44px rgba(0,0,0,.38);
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity .18s ease, transform .18s ease;
}
.nx-vid-tooltip-portal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.nx-vid-tooltip-portal strong {
  color: var(--gold-l);
}
.cover__masthead {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.cover__masthead__r {
  display: flex; align-items: center; gap: 10px;
}
.cover__crumb {
  display: flex; align-items: center; gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.cover__crumb a { color: var(--ink-1); }
.cover__crumb span { color: var(--ink-3); }
.cover__issue {
  font-family: "JetBrains Mono", monospace;
  font-size: .56rem; font-weight: 500;
  letter-spacing: .2em;
  color: var(--ink-3);
  text-transform: uppercase;
}

/* Issue marker — top-left small ID */
.cover__id {
  font-family: "JetBrains Mono", monospace;
  font-size: .54rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(253,230,138,.7);
  margin-top: 12px;
}
.cover__id::before {
  content: ""; display: inline-block;
  width: 20px; height: 1px;
  background: rgba(253,230,138,.55);
  margin-right: 10px;
  vertical-align: middle;
}

.cover__name {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 900;
  font-variation-settings: "SOFT" 100;
  font-size: clamp(3.8rem, 14vw, 6.4rem);
  line-height: .88;
  letter-spacing: -.04em;
  margin: 8px 0 8px;
  color: var(--ink-0);
  text-shadow: 0 8px 40px rgba(0,0,0,.6);
  max-width: 10ch;
  text-wrap: balance;
}
.cover__name em {
  font-style: italic;
  font-weight: 700;
  background: linear-gradient(180deg, #fde68a 20%, #fbbf24);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.cover__lede {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1.35;
  letter-spacing: .002em;
  color: var(--ink-1);
  max-width: 28ch;
  margin: 12px 0 22px;
  text-wrap: balance;
}

/* Ligne « meilleure build » sous le lede (nx:build-hero, generate-champion-build-teaser.mjs,
   2026-09-05) : la réponse à « quelle build ? » dès le héros, avant le teaser §03 à mi-page. */
.cover__build {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin: -8px 0 22px;
  max-width: 62ch;
  font-size: .86rem;
  line-height: 1.45;
  color: var(--ink-1);
}
.cover__build__k {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
.cover__build__items i { font-style: normal; color: var(--ink-3); margin: 0 2px; }
.cover__build__cta {
  color: var(--gold-l);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.cover__build__cta:hover { text-decoration: underline; }

/* Floating tier sigil */
.cover__sigil {
  position: absolute;
  top: calc(68px + 22px); right: 22px;
  width: 84px; height: 84px;
  display: grid; place-items: center;
  z-index: 4;
}
.cover__sigil svg { width: 100%; height: 100%; }
/* Lien depuis 2026-09-05 (#36) : même rendu qu'avant, plus l'affordance et le focus. */
a.cover__sigil, a.cover__sigil:hover, a.cover__sigil:focus { text-decoration: none; color: inherit; }
a.cover__sigil { transition: transform .18s ease, filter .18s ease; }
a.cover__sigil:hover { transform: scale(1.05); filter: brightness(1.08); }
a.cover__sigil:focus-visible { outline: 2px solid #fbbf24; outline-offset: 4px; border-radius: 50%; }
.cover__sigil__label {
  position: absolute;
  font-family: "Cinzel", serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a1006;
  text-shadow: 0 1px 0 rgba(255,255,255,.3);
  letter-spacing: -.02em;
}

/* ═════ Patch diff badge (Buff / Nerf / Adjust) ═════ */
.patch-diff {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: .54rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--pd-c);
  color: var(--pd-c);
  background: color-mix(in oklab, var(--pd-c) 10%, transparent);
}
.patch-diff--buff   { --pd-c: var(--teal); }
.patch-diff--nerf   { --pd-c: var(--crimson); }
.patch-diff--adjust { --pd-c: var(--gold); }
.patch-diff::before {
  font-size: .8rem; line-height: 0;
}
.patch-diff--buff::before   { content: "▲"; }
.patch-diff--nerf::before   { content: "▼"; }
.patch-diff--adjust::before { content: "◆"; }

/* ═════ Locale switch (masthead) ═════ */
.cover__locale {
  display: inline-flex;
  gap: 1px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(11,12,26,.4);
  flex-wrap: wrap; /* 8 locales depuis 2026-08-18 : sans ça le switcher déborde du masthead sur mobile */
}
.cover__locale a {
  padding: 4px 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: .52rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  transition: color .15s, background .15s;
}
.cover__locale a.is-active {
  background: rgba(167,139,250,.18);
  color: var(--violet);
}
.cover__locale a:not(.is-active):hover { color: var(--ink-1); }

/* ═════ Copy fiche button (floating dans edition bar) ═════ */
.edition__copy {
  border-right: 1px solid rgba(255,255,255,.06);
  padding: 0;
  background: linear-gradient(180deg, rgba(251,191,36,.14), rgba(251,191,36,.06));
  color: var(--gold-l) !important;
}
.edition__copy button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 14px;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}
.edition__copy button::before { content: "⧉"; font-size: .9rem; line-height: 0; }
.edition__copy.is-done { background: rgba(74,222,128,.16); color: #6ee7b7 !important; }
.edition__copy.is-done button::before { content: "✓"; }

/* ═══════════════════════════════════════════════════════════════
   1bis. COVER DATA PANEL — bloc analytique intégré au cover
        (radar hex · ratings · icône champion · pills tags)
        Toutes ces data sont déjà résolues par generateChampionPage()
   ═══════════════════════════════════════════════════════════════ */
.cover__data {
  margin: 24px 0 22px;
  padding: 14px 14px 16px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(180deg, rgba(11,12,26,.55), rgba(6,7,15,.85));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  display: grid;
  grid-template-columns: 144px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.cover__data::before {
  content: "PROFIL";
  position: absolute;
  top: -8px; left: 14px;
  padding: 2px 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: .5rem;
  font-weight: 500;
  letter-spacing: .24em;
  color: var(--violet);
  background: var(--bg-0);
  border: 1px solid rgba(167,139,250,.35);
}
.cover__data__icon {
  position: relative;
  width: clamp(176px, 42vw, 208px);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cover__data__media {
  position: relative;
  width: clamp(176px, 42vw, 208px);
  height: clamp(132px, 31.5vw, 156px);
  overflow: hidden;
  background: transparent;
}
.cover__data__icon img,
.cover__data__video {
  width: 100%;
  height: 100%;
  display: block;
}
.cover__data__video {
  background: transparent;
  object-fit: contain;
  object-position: center center;
}
.cover__data__media::after {
  content: none;
}
.cover__data__main {
  display: flex; flex-direction: column; gap: 8px;
  min-width: 0;
}
.cover__strip {
  grid-column: 1 / -1;
  margin-top: 2px;
}
.cover__data__chips {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.cd-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: .54rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-1);
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);
}
.cd-chip--role {
  color: var(--violet);
  border-color: rgba(167,139,250,.4);
  background: rgba(167,139,250,.08);
}
.cd-chip--tier {
  color: var(--gold-l);
  border-color: rgba(251,191,36,.4);
  background: rgba(251,191,36,.08);
  font-weight: 700;
}

.cover__data__rates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
}
.cd-rate {
  display: grid;
  grid-template-columns: 40px 1fr 18px;
  align-items: center;
  gap: 6px;
}
.cd-rate__l {
  font-family: "JetBrains Mono", monospace;
  font-size: .5rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-2);
}
.cd-rate__bar {
  position: relative; height: 3px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.16) 0 1px, transparent 1px),
    rgba(255,255,255,.08);
  background-size: calc(100% / var(--segments, 4)) 100%, auto;
  background-position: right top, 0 0;
}
.cd-rate__bar::after {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: var(--w, 50%);
  background: linear-gradient(90deg, var(--violet-d), var(--violet));
  box-shadow: 0 0 8px rgba(167,139,250,.6);
}

/* ═══════════════════════════════════════════════════════════════
   2. COVER DATA CARD — version desktop/sub-pages
   ═══════════════════════════════════════════════════════════════ */
.cover__data {
  margin: 24px 0 22px;
  padding: 14px 14px 16px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(180deg, rgba(11,12,26,.55), rgba(6,7,15,.85));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  display: grid;
  grid-template-columns: clamp(140px, 44vw, 176px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.cover__data::before {
  content: "PROFIL";
  position: absolute;
  top: -8px; left: 14px;
  padding: 2px 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: .5rem;
  font-weight: 500;
  letter-spacing: .24em;
  color: var(--violet);
  background: var(--bg-0);
  border: 1px solid rgba(167,139,250,.35);
}
.cover__data__icon {
  position: relative;
  width: clamp(140px, 44vw, 176px);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cover__data__media {
  position: relative;
  width: clamp(140px, 44vw, 176px);
  height: clamp(224px, 70vw, 280px);
  overflow: hidden;
  background: #0d1428;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0,0,0,.55);
  transition: box-shadow 0.4s ease;
}
.cover__data__icon img,
.cover__data__video { width: 100%; height: 100%; display: block; }
.cover__data__video,
.cover__data__icon img {
  background: transparent;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
}
.cover__data__media::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(to bottom, rgba(255,220,100,.12) 0%, transparent 38%);
  border: 1px solid rgba(212,175,55,.35);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.cover__data__media:has(.nx-vid-ready) {
  box-shadow:
    0 0 0 1px rgba(212,175,55,.55),
    0 0 18px rgba(212,175,55,.22),
    0 6px 24px rgba(0,0,0,.55);
}
.cover__data__media:has(.nx-vid-ready)::after { opacity: 1; }
.cover__data__radar {
  width: 70px; height: 70px;
}
.cover__data__main {
  display: flex; flex-direction: column; gap: 8px;
  min-width: 0;
}
.cover__data__chips {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.cd-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: .54rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-1);
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);
}
.cd-chip--role {
  color: var(--violet);
  border-color: rgba(167,139,250,.4);
  background: rgba(167,139,250,.08);
}
.cd-chip--tier {
  color: var(--gold-l);
  border-color: rgba(251,191,36,.4);
  background: rgba(251,191,36,.08);
  font-weight: 700;
}

.cover__data__rates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
}
.cd-rate {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 6px;
}
.cd-rate__l {
  font-family: "JetBrains Mono", monospace;
  font-size: .5rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-2);
}
.cd-rate__bar {
  position: relative; height: 3px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.16) 0 1px, transparent 1px),
    rgba(255,255,255,.08);
  background-size: calc(100% / var(--segments, 4)) 100%, auto;
  background-position: right top, 0 0;
}
.cd-rate__bar::after {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: var(--w, 50%);
  background: linear-gradient(90deg, var(--violet-d), var(--violet));
  box-shadow: 0 0 8px rgba(167,139,250,.6);
}
.cover__strip {
  margin-top: 2px;
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(6,7,15,.28));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 4px;
  position: relative;
}
.cover__strip::before {
  content: "DATA · LIVE";
  position: absolute;
  top: -8px; left: 16px;
  padding: 2px 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: .5rem;
  font-weight: 500;
  letter-spacing: .24em;
  color: rgba(74,222,128,.9);
  background: var(--bg-0);
  border: 1px solid rgba(74,222,128,.35);
}
.cover__strip__sep { width: 1px; background: rgba(255,255,255,.08); height: 32px; justify-self: center; }
/* Place réservée au CTA Ask Nexus (#nx-anx-ctx-cta), que le widget insère juste après la bande
   ≥ 3 s après `load` (chargement différé). Sans réserve, il poussait la nav de sections : CLS
   0,10 sur builds/synergies, 0,26 sur certaines vidéos (Lighthouse + sonde, 2026-10-05). Ces
   règles vivent ICI, dans la feuille du premier rendu, et pas dans ask-nexus-widget.css qui
   arrive avec le widget : la bande garde la place, le CTA la reprend (`:has`), et il reste
   invisible tant que sa propre feuille n'est pas là — sinon ses boutons non stylés se
   réarrangent sous les yeux (2ᵉ décalage). `data-pending` est posé ET retiré par le widget
   (injectContextCta) : un widget plus ancien, encore en cache, ne le pose pas et son CTA reste
   visible — jamais de bouton caché pour de bon, quelle que soit la combinaison de caches.
   Hauteurs mesurées, 8 locales : 2 lignes sous 700 px (75-99 px + marge), 1 ligne au-delà.
   Écart de ligne de la grille compris (+8 px mesurés). Pas de réserve dès 900 px : le CTA y
   tombe sous le portrait, hors écran, CLS déjà nul. Skins n'a pas de CTA : ssg-skins.css annule. */
.nx-anx-ctx-cta { grid-column: 1 / -1; margin-top: 10px; min-height: 89px; align-content: flex-start; }
.nx-anx-ctx-cta[data-pending] { visibility: hidden; }
.cover__strip { margin-bottom: 107px; }
.cover__strip:has(+ .nx-anx-ctx-cta) { margin-bottom: 0; }
@media (min-width: 700px) {
  .nx-anx-ctx-cta { min-height: 34px; }
  .cover__strip { margin-bottom: 52px; }
}
@media (min-width: 900px) {
  .nx-anx-ctx-cta { grid-column: auto; min-height: 0; }
  .cover__strip { margin-bottom: 0; }
}
.strip-stat { display: flex; flex-direction: column; gap: 2px; }
.strip-stat__l {
  font-family: "JetBrains Mono", monospace;
  font-size: .5rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-3);
}
.strip-stat__v {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ink-0);
}
.strip-stat__v .pct { font-size: .55em; font-weight: 700; color: var(--ink-2); letter-spacing: 0; }
.strip-stat__d {
  font-family: "JetBrains Mono", monospace;
  font-size: .5rem;
  font-weight: 500;
  color: var(--ink-3);
  margin-top: 1px;
}
.strip-stat--win .strip-stat__v { color: #6ee7b7; }
.strip-stat--ban .strip-stat__v { color: #fca5a5; }

/* ═══════════════════════════════════════════════════════════════
   2. THE VERDICT (editor's note)
   ═══════════════════════════════════════════════════════════════ */
.verdict {
  position: relative;
  padding: 56px 24px 44px;
  background: linear-gradient(180deg, var(--bg-0), var(--bg-1));
}
.verdict::before {
  content: "❝";
  font-family: "Cinzel", serif;
  position: absolute;
  top: 30px; left: 24px;
  font-size: 5rem;
  color: rgba(251,191,36,.18);
  line-height: 1;
}
.verdict__eyebrow { margin-left: 60px; margin-bottom: 12px; }
.verdict__text {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.45rem, 5.4vw, 1.85rem);
  line-height: 1.28;
  letter-spacing: -.014em;
  color: var(--ink-0);
  margin-left: 60px;
  text-wrap: balance;
}
.verdict__text .hl-v { color: var(--violet); font-style: italic; }
.verdict__text .hl-g { color: var(--gold-l); }
.verdict__caption {
  margin-top: 26px;
  display: flex; align-items: center; gap: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: .58rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3);
}
.verdict__caption::before { content: ""; width: 22px; height: 1px; background: var(--ink-3); }

/* ═══════════════════════════════════════════════════════════════
   2bis. EDITORIAL — long-form magazine bio
   ═══════════════════════════════════════════════════════════════ */
.feat {
  padding: 24px 24px 48px;
  background: var(--bg-1);
  position: relative;
}
.feat__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.feat__kicker {
  font-family: "JetBrains Mono", monospace;
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--violet);
}
.feat__h {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: clamp(1.7rem, 6vw, 2.4rem);
  letter-spacing: -.028em;
  line-height: 1;
  color: var(--ink-0);
  text-wrap: balance;
}
.feat__h em {
  font-style: italic;
  font-weight: 700;
  background: linear-gradient(180deg, #fde68a 30%, #fbbf24);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.feat__meta {
  display: flex; align-items: center; gap: 16px;
  font-family: "JetBrains Mono", monospace;
  font-size: .54rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3);
}
.feat__meta__sep { width: 3px; height: 3px; background: var(--ink-3); border-radius: 50%; }

.feat__body {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.04rem;
  line-height: 1.72;
  color: var(--ink-1);
  text-wrap: pretty;
  letter-spacing: .001em;
}
.feat__body > p + p { margin-top: 14px; }
.feat__body p:first-child::first-letter {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-style: italic;
  float: left;
  font-size: 4.2em;
  line-height: .85;
  padding: 6px 12px 0 0;
  background: linear-gradient(180deg, #fde68a, #fbbf24 60%, #b45309);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 4px 14px rgba(251,191,36,.18);
}
.feat__body strong {
  color: var(--ink-0);
  font-weight: 800;
  background: linear-gradient(180deg, transparent 78%, rgba(251,191,36,.18) 78%);
  padding: 0 1px;
}
.feat__body .emp { color: var(--violet); font-style: italic; font-weight: 700; }

/* Pull-quote inline */
.feat__pull {
  margin: 28px 0 6px;
  padding: 20px 0 24px;
  border-top: 2px solid var(--gold);
  border-bottom: 1px solid var(--line);
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.3;
  letter-spacing: -.018em;
  color: var(--gold-l);
  text-wrap: balance;
}
.feat__pull::before {
  content: "✦ ";
  color: var(--gold);
  font-style: normal;
  margin-right: 4px;
}

/* Mini sub-editorial: expert + weakness side modules */
.feat__sides {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.feat__side {
  padding: 18px 18px 20px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--s-c);
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent);
  position: relative;
}
.feat__side--expert   { --s-c: var(--violet); }
.feat__side--weakness { --s-c: var(--crimson); }
.feat__side__k {
  font-family: "JetBrains Mono", monospace;
  font-size: .54rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--s-c);
  margin-bottom: 10px;
}
.feat__side__t {
  font-family: "Fraunces", serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -.014em;
  color: var(--ink-0);
  margin-bottom: 8px;
}
.feat__side__p {
  font-size: .9rem;
  line-height: 1.6;
  color: var(--ink-1);
}
.feat__side__p + .feat__side__p { margin-top: 8px; }
.feat__side__p strong { color: var(--ink-0); font-weight: 700; }

/* ═══════════════════════════════════════════════════════════════
   3. AT A GLANCE — diagonal panel
   ═══════════════════════════════════════════════════════════════ */
.glance {
  position: relative;
  padding: 40px 22px;
  background:
    linear-gradient(135deg, var(--bg-2) 0%, var(--bg-1) 100%),
    radial-gradient(circle at 20% 30%, rgba(167,139,250,.06), transparent 60%);
  clip-path: polygon(0 0, 100% 24px, 100% 100%, 0 calc(100% - 24px));
  margin: -12px 0;
}
.glance__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px;
}
.glance__title {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -.02em;
  color: var(--ink-0);
}
.glance__title small {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: .56rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 4px;
}

/* Hex radar inside glance */
.glance__radar-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px 0;
  margin-bottom: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hex-radar { width: 140px; height: 140px; }
.glance__ratings { display: flex; flex-direction: column; gap: 9px; }
.gl-rate {
  display: grid;
  grid-template-columns: 56px 1fr 26px;
  align-items: center;
  gap: 10px;
}
.gl-rate__l {
  font-family: "JetBrains Mono", monospace;
  font-size: .58rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2);
}
.gl-rate__bar {
  position: relative; height: 1px;
  background: rgba(255,255,255,.08);
  overflow: visible;
}
.gl-rate__bar::after {
  content: "";
  position: absolute;
  left: 0; top: -2px;
  height: 5px; width: var(--w, 50%);
  background: linear-gradient(90deg, var(--violet-d), var(--violet));
  box-shadow: 0 0 10px rgba(167,139,250,.6);
}
.gl-rate__n {
  font-family: "Fraunces", serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink-0);
  letter-spacing: -.02em;
}

/* Strength / Weakness pillars — same visual as balance__cell */
.glance__pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
}
.gl-pillar {
  padding: 16px 14px;
  position: relative;
  border-top: 2px solid var(--p-c);
}
.gl-pillar + .gl-pillar { border-left: 1px solid var(--line); }
.gl-pillar--fort { --p-c: var(--teal); background: rgba(52,211,153,.04); }
.gl-pillar--diff { --p-c: var(--crimson); background: rgba(239,68,68,.04); }
.gl-pillar__l {
  display: flex; align-items: center; gap: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: .56rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--p-c);
  margin-bottom: 12px;
}
.gl-pillar__l::before {
  content: ""; width: 7px; height: 7px; transform: rotate(45deg);
  background: var(--p-c);
}
.gl-pillar__items {
  display: flex; flex-direction: column; gap: 6px;
  margin: 0; padding: 0; list-style: none;
}
.gl-pillar__items li {
  position: relative;
  padding-left: 14px;
  font-size: .82rem;
  line-height: 1.46;
  color: var(--ink-1);
}
.gl-pillar__items li::before {
  content: ""; position: absolute;
  left: 0; top: 8px;
  width: 5px; height: 1px;
  background: var(--p-c);
}

/* ═══════════════════════════════════════════════════════════════
   4. HOW TO PLAY — scenes (3 actes en cards verticales avec splash)
   ═══════════════════════════════════════════════════════════════ */
.play {
  padding: 56px 22px 24px;
}
.play__intro {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 18px;
  margin-bottom: 32px;
}
.play__num {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 900;
  font-size: 6rem;
  line-height: .8;
  color: rgba(167,139,250,.16);
  letter-spacing: -.04em;
}
.play__title {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: -.024em;
  color: var(--ink-0);
}
.play__title small {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: .56rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}

.play__scenes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.scene {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(19,20,38,.6), rgba(11,12,26,.95));
  overflow: hidden;
}
.scene__stamp {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: linear-gradient(180deg, color-mix(in oklab, var(--s-c) 18%, transparent), transparent);
  border-right: 1px solid var(--line);
  padding: 18px 8px;
}
.scene__stamp__num {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 900;
  font-size: 2rem;
  line-height: 1;
  color: var(--s-c);
  letter-spacing: -.02em;
}
.scene__stamp__l {
  font-family: "JetBrains Mono", monospace;
  font-size: .5rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--s-c);
}
.scene__body { padding: 16px 18px 16px; }
.scene__t {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: -.01em;
  color: var(--ink-0);
  margin-bottom: 4px;
}
.scene__sub {
  font-family: "JetBrains Mono", monospace;
  font-size: .54rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.scene__txt {
  font-size: .86rem;
  line-height: 1.5;
  color: var(--ink-1);
}
.scene__txt strong { color: var(--ink-0); font-weight: 700; }
.scene--early { --s-c: var(--sky); }
.scene--mid   { --s-c: var(--gold); }
.scene--late  { --s-c: var(--crimson); }

/* ═══════════════════════════════════════════════════════════════
   5. PICK & BAN — balance scale (visual)
   ═══════════════════════════════════════════════════════════════ */
.balance {
  padding: 56px 22px 24px;
  position: relative;
}
.balance__hr {
  display: flex; align-items: end; gap: 18px;
  margin-bottom: 28px;
}
.balance__hr__t {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: -.022em;
  color: var(--ink-0);
}
.balance__hr__t small {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: .56rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}

.balance__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
}
.balance__cell {
  padding: 16px 14px;
  position: relative;
}
.balance__cell + .balance__cell { border-left: 1px solid var(--line); }
.balance__cell:nth-child(n+3) { border-top: 1px solid var(--line); }
.balance__cell--pro { background: rgba(52,211,153,.04); }
.balance__cell--con { background: rgba(239,68,68,.04); }

.balance__cell__h {
  display: flex; align-items: center; gap: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: .56rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--b-c);
  margin-bottom: 12px;
}
.balance__cell__h::before {
  content: ""; width: 7px; height: 7px; transform: rotate(45deg);
  background: var(--b-c);
}
.balance__cell--pro { --b-c: var(--teal); }
.balance__cell--con { --b-c: var(--crimson); }
.balance__cell ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.balance__cell li {
  position: relative;
  padding-left: 14px;
  font-size: .82rem; line-height: 1.46;
  color: var(--ink-1);
}
.balance__cell li::before {
  content: ""; position: absolute;
  left: 0; top: 8px;
  width: 5px; height: 1px;
  background: var(--b-c);
}

/* ═══════════════════════════════════════════════════════════════
   6. THE MATCHUP WALL — counters + synergies en un seul mur visuel
   ═══════════════════════════════════════════════════════════════ */
.wall {
  padding: 60px 0 30px;
  position: relative;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(167,139,250,.10), transparent 50%);
}
.wall__hr {
  padding: 0 22px;
  margin-bottom: 24px;
}
.wall__hr__t {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: 1.7rem;
  letter-spacing: -.024em;
  color: var(--ink-0);
}
.wall__hr__t small {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: .56rem; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.wall__legend {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 14px;
}
.wall__chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: .56rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2);
}
.wall__chip::before {
  content: ""; width: 8px; height: 8px;
  background: var(--c);
}
.wall__chip--hard  { --c: var(--crimson); }
.wall__chip--unfav { --c: var(--rose); }
.wall__chip--skill { --c: var(--sky); }
.wall__chip--fav   { --c: var(--teal); }
.wall__chip--syn   { --c: var(--violet); }

.wall__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  padding: 0 22px;
}
.wall__cell {
  position: relative;
  aspect-ratio: 5/6;
  background: var(--bg-1);
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0;
  border-top: 2px solid var(--c-c, var(--violet));
}
.wall__cell img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 22%;
  z-index: 0;
  filter: saturate(.95);
  transition: transform .5s var(--ease);
}
.wall__cell:hover img { transform: scale(1.06); }
.wall__cell::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(6,7,15,0) 25%, rgba(6,7,15,.85) 70%, rgba(6,7,15,.96));
}
.wall__cell__cap {
  position: relative; z-index: 2;
  padding: 0 12px 12px;
}
.wall__cell__cat {
  font-family: "JetBrains Mono", monospace;
  font-size: .5rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--c-c);
  margin-bottom: 4px;
}
.wall__cell__n {
  font-family: "Fraunces", serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -.01em;
  color: var(--ink-0);
  line-height: 1;
  margin-bottom: 3px;
}
.wall__cell__note {
  font-size: .66rem;
  line-height: 1.35;
  color: rgba(255,255,255,.7);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wall__cell--hard  { --c-c: var(--crimson); }
.wall__cell--unfav { --c-c: var(--rose); }
.wall__cell--skill { --c-c: var(--sky); }
.wall__cell--fav   { --c-c: var(--teal); }
.wall__cell--syn   { --c-c: var(--violet); }

/* auto-fit : un mur de rôle secondaire n'a pas de CTA synergies (elles ne sont pas
   déclinées par rôle) — la CTA counters restante prend alors toute la largeur. */
.wall__ctas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  margin: 24px 22px 0;
  background: var(--line);
}

.wall__cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  font-family: "JetBrains Mono", monospace;
  font-size: .68rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-1);
  text-decoration: none;
  transition: background .2s;
  background: var(--bg-1);
}
.wall__cta:hover { background: rgba(255,255,255,.04); }
.wall__cta::after {
  content: "→"; transition: transform .2s;
}
.wall__cta:hover::after { transform: translateX(4px); }
.wall__cta--syn { color: var(--violet); }
.wall__cta--syn::after { color: var(--violet); }

/* Fiche multi-rôle : un `.wall` par rôle, chacun dans son `.role-panel`. Le panneau masqué
   porte `hidden` — pas de style dédié, le mur reste le même composant d'un rôle à l'autre. */

/* ═══════════════════════════════════════════════════════════════
   7. TIPS — pull quote style
   ═══════════════════════════════════════════════════════════════ */
.codex {
  padding: 64px 22px 32px;
  position: relative;
}
.codex__hr {
  margin-bottom: 28px;
}
.codex__hr__t {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: -.022em;
  color: var(--ink-0);
}
.codex__hr__t small {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: .56rem; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}

.quote {
  position: relative;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.quote:last-of-type { border-bottom: 1px solid var(--line); }
.quote__n {
  font-family: "JetBrains Mono", monospace;
  font-size: .56rem; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 12px;
}
.quote__text {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.45;
  letter-spacing: -.006em;
  color: var(--ink-0);
  margin-bottom: 12px;
  text-wrap: pretty;
}
.quote__text strong, .quote__text b { color: var(--gold-l); font-weight: 800; }
.quote__attr {
  display: flex; align-items: center; gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: .58rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3);
}
.quote__attr::before { content: "—"; }

/* ═══════════════════════════════════════════════════════════════
   8. DIALOGUES — FAQ
   ═══════════════════════════════════════════════════════════════ */
.dialogues {
  padding: 56px 22px 32px;
  position: relative;
}
.dialogues__hr { margin-bottom: 24px; }
.dialogues__hr__t {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: -.022em;
  color: var(--ink-0);
}
.dialogues__hr__t small {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: .56rem; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}

.dlg {
  display: flex; flex-direction: column; gap: 4px;
  margin: 0; padding: 0;
}
.dlg__q {
  background: rgba(255,255,255,.02);
  border: 1px solid var(--line);
}
.dlg__q + .dlg__q { border-top: 0; }
.dlg__q[open] { background: rgba(167,139,250,.05); border-color: rgba(167,139,250,.22); position: relative; z-index: 1; }
.dlg__q summary {
  list-style: none;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center; gap: 12px;
  padding: 16px 16px 16px 0;
  cursor: pointer;
}
.dlg__q summary::-webkit-details-marker { display: none; }
.dlg__q__q {
  font-family: "JetBrains Mono", monospace;
  font-size: .6rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--violet);
  text-align: center;
}
.dlg__q__t {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: .98rem;
  line-height: 1.3;
  letter-spacing: -.005em;
  color: var(--ink-0);
}
.dlg__q__plus {
  font-family: "Cinzel", serif;
  font-size: 1.2rem; font-weight: 700;
  color: var(--violet);
  transition: transform .2s;
}
.dlg__q[open] .dlg__q__plus { transform: rotate(45deg); }
.dlg__q__a {
  padding: 0 16px 18px 48px;
  font-size: .9rem;
  line-height: 1.65;
  color: var(--ink-1);
}

/* ═══════════════════════════════════════════════════════════════
   9. ECHOES — guides liés (immersive cards)
   ═══════════════════════════════════════════════════════════════ */
.echoes {
  padding: 56px 22px 80px;
  background: linear-gradient(180deg, var(--bg-0), var(--bg-1));
}
.echoes__hr { margin-bottom: 20px; }
.echoes__hr__t {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: -.022em;
  color: var(--ink-0);
}
.echoes__hr__t small {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: .56rem; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}

.echo {
  position: relative;
  display: block;
  padding: 22px 18px;
  border-top: 1px solid var(--line);
  isolation: isolate;
  overflow: hidden;
}
.echo:last-of-type { border-bottom: 1px solid var(--line); }
.echo::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(249,115,22,.08), transparent 70%);
  opacity: 0;
  transition: opacity .25s;
}
.echo:hover::before { opacity: 1; }
.echo__num {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 900;
  font-size: 2.8rem;
  line-height: .8;
  color: rgba(249,115,22,.3);
  letter-spacing: -.04em;
  position: absolute;
  top: 18px; right: 18px;
}
.echo__tag {
  font-family: "JetBrains Mono", monospace;
  font-size: .54rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: #fdba74;
  margin-bottom: 10px;
}
.echo__t {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.3;
  letter-spacing: -.012em;
  color: var(--ink-0);
  margin-bottom: 6px;
  max-width: 22ch;
}
.echo__p {
  font-size: .82rem;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 38ch;
}
.echo__cta {
  margin-top: 10px;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: .58rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: #fdba74;
}
.echo__cta::after { content: "→"; }

/* ═══════════════════════════════════════════════════════════════
   6bis. BUILD PREVIEW — items + boots compact (style éditorial)
   ═══════════════════════════════════════════════════════════════ */
.build {
  padding: 56px 22px 36px;
  position: relative;
  background: var(--bg-1);
}
.build__hr { margin-bottom: 24px; }
.build__hr__t {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: -.022em;
  color: var(--ink-0);
}
.build__hr__t small {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: .56rem; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.build__intent {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--gold-l);
  margin-bottom: 24px;
  padding-left: 14px;
  border-left: 2px solid var(--gold);
  max-width: 56ch;
}

.build__row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.build__row__k {
  font-family: "JetBrains Mono", monospace;
  font-size: .54rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-2);
  align-self: center;
  margin-right: 8px;
}
.build__slot {
  position: relative;
  width: 60px;
}
.build__slot img {
  width: 60px; height: 60px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  object-fit: cover;
  display: block;
}
.build__slot:hover img {
  border-color: rgba(167,139,250,.5);
}
.build__slot__n {
  position: absolute;
  top: -6px; left: -6px;
  width: 18px; height: 18px;
  background: var(--violet);
  color: var(--bg-0);
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: .7rem;
  display: grid; place-items: center;
  line-height: 1;
}
.build__slot__lbl {
  margin-top: 4px;
  font-family: "JetBrains Mono", monospace;
  font-size: .48rem; font-weight: 500;
  letter-spacing: .08em;
  color: var(--ink-2);
  text-align: center;
  width: 60px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.build__boots {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  margin-top: 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.build__boots__lbl {
  font-family: "JetBrains Mono", monospace;
  font-size: .54rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-2);
}
.build__boots__pair {
  display: flex; align-items: center; gap: 8px;
}
.build__boots__pair img {
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.12);
}
.build__boots__sep {
  font-family: "JetBrains Mono", monospace;
  color: var(--ink-3); font-size: .8rem;
}
.build__cta {
  margin-top: 22px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  border: 1px solid var(--gold);
  color: var(--gold-l);
  font-family: "JetBrains Mono", monospace;
  font-size: .6rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
}
.build__cta::after { content: "→"; transition: transform .2s; }
.build__cta:hover { background: rgba(251,191,36,.06); }
.build__cta:hover::after { transform: translateX(4px); }

/* ═══════════════════════════════════════════════════════════════
   6ter. WALL LANE TABS — filtrer counters/synergies par lane
   ═══════════════════════════════════════════════════════════════ */
.wall__tabs {
  display: flex;
  gap: 0;
  margin: 18px 22px 0;
  border: 1px solid var(--line);
  padding: 2px;
  width: fit-content;
}
.wall__tabs button {
  padding: 7px 14px;
  background: transparent;
  border: 0;
  color: var(--ink-2);
  font-family: "JetBrains Mono", monospace;
  font-size: .56rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .15s, background .15s;
}
.wall__tabs button[aria-selected="true"] {
  background: rgba(167,139,250,.16);
  color: var(--violet);
}
.wall__tabs button:not([aria-selected="true"]):hover { color: var(--ink-1); }
/* Lane filter : on cache les cellules qui ne matchent pas la lane active */
.wall[data-lane="all"]    .wall__cell { display: flex; }
.wall[data-lane="bot"]    .wall__cell:not([data-lane~="bot"])    { display: none; }
.wall[data-lane="sup"]    .wall__cell:not([data-lane~="sup"])    { display: none; }
.wall[data-lane="jungle"] .wall__cell:not([data-lane~="jungle"]) { display: none; }
.wall[data-lane="mid"]    .wall__cell:not([data-lane~="mid"])    { display: none; }
.wall[data-lane="baron"]  .wall__cell:not([data-lane~="baron"])  { display: none; }

/* ═══════════════════════════════════════════════════════════════
   PARALLAX — léger sur le splash du cover
   ═══════════════════════════════════════════════════════════════ */
.cover__video {
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.05);
  transition: transform 50ms linear;
}
/* .cover__name — animation revealed by .reveal.is-in */
.edition {
  position: fixed;
  bottom: 14px;
  left: 14px;
  right: 14px;
  transform: none;
  z-index: 50;
  display: flex; align-items: stretch;
  background: rgba(11,12,26,.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(167,139,250,.25);
  box-shadow: 0 16px 50px rgba(0,0,0,.55), 0 0 28px rgba(167,139,250,.18);
  font-family: "JetBrains Mono", monospace;
  font-size: .58rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  max-width: none;
  width: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(251,191,36,.45) rgba(255,255,255,.06);
}
.edition::-webkit-scrollbar { height: 6px; }
.edition::-webkit-scrollbar-track { background: rgba(255,255,255,.06); }
.edition::-webkit-scrollbar-thumb { background: rgba(251,191,36,.45); }
.edition a {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 11px 14px;
  color: var(--ink-2);
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,.06);
  transition: color .15s, background .15s;
  flex: 0 0 auto;
}
.edition__copy { flex: 0 0 auto; }
.edition a:last-child { border-right: 0; }
.edition a.is-active {
  color: var(--bg-0);
  background: linear-gradient(180deg, var(--gold-l), var(--gold));
}

/* ═══════════════════════════════════════════════════════════════
   DESKTOP
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 900px) {
  .cover { padding: calc(68px + 36px) 56px 42px; min-height: 720px; }
  .cover__masthead { max-width: 1200px; margin: 0 auto 24px; width: 100%; }
  .cover__name { font-size: 7.4rem; max-width: 10ch; }
  .cover__lede { max-width: 32ch; font-size: 1.3rem; }
  .cover__data {
    grid-template-columns: 176px minmax(0, 1fr);
    padding: 18px 20px 20px;
    max-width: 1040px;
    margin-left: 0; margin-right: 0;
  }
  .cover__data__icon { width: 176px; grid-row: 1 / span 2; align-self: start; }
  .cover__data__media { width: 176px; height: 280px; }
  .cover__data__main { grid-column: 2; min-width: 0; }
  .cover__data__rates { grid-template-columns: repeat(4, 1fr); }
  .cd-rate { grid-template-columns: 36px 1fr; }
  .cover__strip { grid-column: 2; margin-top: 6px; width: 100%; min-width: 0; }
  .cover__sigil { top: calc(68px + 36px); right: 56px; width: 110px; height: 110px; }
  .cover__sigil__label { font-size: 2rem; }
  .nx-vid-toggle { max-width: 176px; }

  .verdict, .feat, .glance, .play, .balance, .build, .codex, .dialogues, .echoes { padding-left: 56px; padding-right: 56px; }
  .verdict > *, .feat > *, .glance > *, .play > *, .balance > *, .build > *, .codex > *, .dialogues > *, .echoes > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
  .feat__head { grid-template-columns: 1fr auto; align-items: end; }
  .feat__sides { grid-template-columns: 1fr 1fr; }
  .feat__body { columns: 2; column-gap: 36px; }
  .feat__body p:first-child::first-letter { font-size: 4.6em; }
  .glance__radar-row { grid-template-columns: 180px 1fr; }
  .hex-radar { width: 180px; height: 180px; }
  .play__scenes { grid-template-columns: repeat(3, 1fr); }
  .balance__grid { grid-template-columns: repeat(4, 1fr); }
  .balance__cell:nth-child(n+3) { border-top: 0; }
  .balance__cell + .balance__cell { border-left: 1px solid var(--line); }
  .wall__grid { grid-template-columns: repeat(5, 1fr); padding: 0 56px; max-width: 1100px; margin: 0 auto; }
  .wall__hr, .wall__cta { max-width: 1100px; margin-left: auto; margin-right: auto; }
  .edition { bottom: 24px; right: 56px; left: auto; transform: none; overflow: hidden; width: auto; max-width: calc(100% - 112px); }
}

/* Final responsive override: ensure cover context doesn't cap the clamp */
@media (max-width: 899px) {
  /* .cover est en réalité bien plus haut que 96vh sur mobile car son contenu (titre +
     lede + carte profil) le dépasse — min-height ne fait qu'imposer un plancher. Couvrir
     cette hauteur réelle (~1000px) avec object-fit:cover sur un splash art 16:9 zoome à
     ×1,34 et ne laisse voir que ~22% de la largeur de l'image. Hauteur fixe ~500px =
     compromis : couvre le titre + le lede, zoom modéré (~44% de l'image visible), le
     reste (carte profil) repose sur le dégradé sombre déjà présent (.cover__grade/grain). */
  .cover__bg {
    height: 620px;
    top: -120px;
    bottom: auto;
    object-position: 45% 50%;
  }
  .cover .cover__data {
    align-items: start;
  }
  .cover .cover__data__video,
  .cover .cover__data__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }
}
.build-block {
  border: 1px solid rgba(121, 154, 255, 0.22);
  border-radius: 20px;
  background: rgba(8, 12, 28, 0.55);
  padding: 16px 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin: 0 10px 24px;
}
@media (min-width: 600px) {
  .build-block { padding: 24px 28px; margin: 0 20px 24px; }
}
@media (min-width: 900px) {
  .build-block { margin: 0 auto 24px; max-width: 1000px; }
}
.build-core-why {
  font-size: .88rem;
  line-height: 1.62;
  color: rgba(255,255,255,.6);
  max-width: 72ch;
  margin: 0 0 18px;
  padding: 10px 14px;
  background: rgba(255,255,255,.04);
  border-left: 2px solid rgba(167,139,250,.4);
  border-radius: 0 6px 6px 0;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* ── Two-column main layout ──────────────────────────────────────────────── */
.build-two-col {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 24px;
  align-items: start;
}

.build-two-col__side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

/* ── Icon grid — runes / spells (jamais des chips) ───────────────────────── */
.build-icon-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.build-icon-grid__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 54px;
}

.build-icon-grid__item img {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  object-fit: cover;
  transition: transform .14s ease, box-shadow .14s ease;
}

.build-icon-grid__item img:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(66, 183, 255, 0.22);
}

.build-icon-grid__item span {
  font-size: .56rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  color: rgba(190, 210, 255, 0.6);
  max-width: 54px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Skill order pills ───────────────────────────────────────────────────── */
.build-skill-order {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.build-skill-order__ab {
  display: none;
}

.so-prio-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(66, 183, 255, 0.35);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.build-skill-order__sep {
  font-size: .85rem;
  color: rgba(120, 150, 200, 0.5);
  line-height: 1;
}

/* ── Skill order table ───────────────────────────────────────────────────── */
.build-skill-table {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: .8rem;
  background: rgba(66, 183, 255, 0.04);
  border: 1px solid rgba(66, 183, 255, 0.1);
  border-radius: 10px;
  padding: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.so-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.so-prio {
  display: flex;
  align-items: center;
  gap: 6px;
}

.so-levels-head {
  display: none;
}

.so-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.so-left {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 180px;
  flex-shrink: 0;
}

.so-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.15);
}

.so-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.so-key {
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1;
  flex-shrink: 0;
}

.so-label {
  font-size: .78rem;
  font-weight: 600;
  color: rgba(200, 218, 255, 0.88);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  line-height: 1.2;
}

.so-grid {
  display: flex;
  gap: 3px;
  flex: 1;
}

.so-case {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.so-case--on {
  border-radius: 5px;
}

.so-grid--passive {
  display: none;
}

.so-row--passive .so-icon {
  opacity: 0.75;
  border-color: rgba(255,255,255,0.1);
}

.so-key--passive {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(150, 180, 255, 0.5);
  line-height: 1;
}

.so-num {
  font-size: .58rem;
  font-weight: 800;
  line-height: 1;
}

/* ── Intent headline ─────────────────────────────────────────────────────── */
.build-intent {
  margin: 0 0 24px;
  padding: 14px 18px;
  font-size: .97rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1.45;
  color: rgba(220, 235, 255, 0.95);
  background: linear-gradient(90deg, rgba(66, 183, 255, 0.08) 0%, rgba(66, 183, 255, 0.02) 100%);
  border-left: 3px solid rgba(66, 183, 255, 0.55);
  border-radius: 0 10px 10px 0;
}

/* ── Left column sections ────────────────────────────────────────────────── */
.build-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.build-two-col__main {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

.build-eyebrow {
  display: block;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(150, 180, 255, 0.65);
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(121, 154, 255, 0.15);
}

/* ── Items row — 5 items 80px ────────────────────────────────────────────── */
.build-items-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.build-items-row__slot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 88px;
  cursor: default;
}

.build-items-row__slot img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  object-fit: cover;
  display: block;
  transition: transform .14s ease, box-shadow .14s ease;
}

.build-items-row__label {
  font-size: .55rem;
  font-weight: 600;
  text-align: center;
  color: rgba(190, 210, 255, 0.55);
  line-height: 1.2;
  width: 88px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
}
a.build-items-row__label:hover {
  color: rgba(190, 210, 255, 0.85);
}

.build-items-row__slot:hover img {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(66, 183, 255, 0.25);
  border-color: rgba(66, 183, 255, 0.4);
}

/* ── Boots row ───────────────────────────────────────────────────────────── */
.build-boots-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.build-boots-row__slot {
  display: flex;
  align-items: center;
  gap: 8px;
}

.build-boots-row__slot--stack {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.build-boots-row__main {
  display: flex;
  align-items: center;
  gap: 8px;
}

.build-boots-row__slot img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  object-fit: cover;
  flex-shrink: 0;
}

.build-boots-row__slot span {
  font-size: .8rem;
  font-weight: 600;
  color: rgba(200, 220, 255, 0.85);
  line-height: 1.2;
}

.build-boots-row__alt {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-height: 32px;
}

.build-boots-row__alt-label {
  font-size: .7rem;
  color: rgba(160, 190, 235, 0.78);
  line-height: 1.2;
}

.build-boots-row__alt-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.build-boots-row__alt img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  object-fit: cover;
}

.build-boots-row__alt-name {
  font-size: .66rem;
  color: rgba(200, 220, 255, 0.78);
  line-height: 1.2;
  text-align: center;
  max-width: 72px;
}

.build-boots-row__sep {
  font-size: 1.1rem;
  color: rgba(120, 150, 200, 0.4);
  flex-shrink: 0;
}

/* ── Fort / Faible keyword lines ─────────────────────────────────────────── */
.build-ctx-kw {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.2;
}

.build-ctx-kw + .build-ctx-kw {
  margin-top: 6px;
}

.build-ctx-kw--strong {
  background: rgba(80, 220, 120, 0.08);
  border: 1px solid rgba(80, 220, 120, 0.2);
  color: rgba(130, 240, 150, 0.9);
}

.build-ctx-kw--weak {
  background: rgba(255, 80, 80, 0.08);
  border: 1px solid rgba(255, 80, 80, 0.18);
  color: rgba(255, 140, 130, 0.9);
}

.build-ctx-kw span:first-child {
  font-size: .9rem;
  flex-shrink: 0;
  opacity: .9;
}

.build-ctx-kw span:last-child {
  font-size: .8rem;
  line-height: 1.35;
}

/* ── Adaptations zone ────────────────────────────────────────────────────── */
.build-adapt-zone {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 22px;
  margin-top: 4px;
  border-top: 1px solid rgba(121, 154, 255, 0.1);
}

.build-adapt-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.build-adapt-card__icon {
  flex-shrink: 0;
}

.build-adapt-card__icon img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: block;
}

.build-adapt-card__title {
  margin: 4px 0 0;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.35;
  color: rgba(210, 228, 255, 0.9);
}

.build-adapt-card__action {
  margin: 6px 0 0;
  font-size: .78rem;
  line-height: 1.45;
  color: rgba(170, 195, 240, 0.75);
  padding-top: 6px;
  border-top: 1px solid rgba(121, 154, 255, 0.1);
}

/* ── Side panel groups ───────────────────────────────────────────────────── */
.build-side-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ── Rune column list ────────────────────────────────────────────────────── */
.build-rune-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.build-rune-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.build-rune-row img {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  object-fit: cover;
}

.build-rune-row--keystone img {
  width: 68px;
  height: 68px;
  border-color: rgba(255, 200, 80, 0.35);
  box-shadow: 0 0 10px rgba(255, 190, 60, 0.15);
}

.build-rune-row__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding-top: 4px;
}

.build-rune-row__text strong {
  font-size: .78rem;
  font-weight: 700;
  color: rgba(210, 225, 255, 0.95);
  line-height: 1.2;
}

.build-rune-row__text p {
  font-size: .7rem;
  line-height: 1.45;
  color: rgba(170, 195, 240, 0.72);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Item notes list ─────────────────────────────────────────────────────── */
.build-item-notes-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.build-item-note-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.build-item-note-row img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  flex-shrink: 0;
  border: 1px solid rgba(121, 154, 255, 0.22);
}

.build-item-note-row__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding-top: 2px;
}

.build-item-note-row__text strong {
  font-size: .78rem;
  font-weight: 700;
  color: rgba(210, 225, 255, 0.95);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.build-item-note-row__text strong a {
  color: inherit;
  text-decoration: none;
}
.build-item-note-row__text strong a:hover {
  color: #a8d4ff;
}

.build-item-note-row__text p {
  font-size: .7rem;
  line-height: 1.45;
  color: rgba(170, 195, 240, 0.72);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Purchase order list (kept for backward compat) ──────────────────────── */
.build-purchase-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(121, 154, 255, 0.12);
  border-radius: 10px;
  overflow: hidden;
}

.build-purchase-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 12px;
}

.build-purchase-list li + li {
  border-top: 1px solid rgba(121, 154, 255, 0.08);
}

.build-purchase-item__label {
  font-size: .58rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: rgba(150, 180, 255, 0.5);
}

.build-purchase-item__value {
  font-size: .8rem;
  line-height: 1.4;
  color: rgba(210, 225, 248, 0.85);
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .build-two-col {
    grid-template-columns: 1fr;
  }
  .build-two-col__side {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }
  .build-side-group {
    flex: 1 1 220px;
  }
  .build-icon-grid__item {
    width: 50px;
  }
  .build-icon-grid__item img {
    width: 50px;
    height: 50px;
  }
  .build-items-row__slot {
    width: 70px;
  }
  .build-items-row__slot img {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 600px) {
  .build-block__zone {
    padding: 18px 18px;
  }
  .build-two-col__side {
    flex-direction: column;
  }
}

/* ── Builds preview card (id=builds on overview page) ───────────────────── */
.bpv-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 16px;
  border: 1px solid rgba(66, 183, 255, 0.18);
  background: linear-gradient(135deg, rgba(8,16,36,0.96), rgba(4,10,24,0.98));
  overflow: hidden;
}

.bpv-card__top {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
}

.bpv-keystone {
  flex-shrink: 0;
}

.bpv-keystone img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid rgba(160, 120, 255, 0.5);
  box-shadow: 0 0 20px rgba(130, 80, 255, 0.25), 0 4px 16px rgba(0,0,0,0.5);
  object-fit: cover;
}

.bpv-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.bpv-core-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.bpv-slot {
  flex-shrink: 0;
}

.bpv-slot img {
  display: block;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.13);
  box-shadow: 0 3px 12px rgba(0,0,0,0.45);
  transition: transform .15s ease, box-shadow .15s ease;
}

.bpv-slot img:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(66,183,255,0.2);
}

.bpv-slot--boot img {
  border-radius: 8px;
  opacity: .85;
}

.bpv-sep {
  font-size: .75rem;
  font-weight: 700;
  color: rgba(100,150,255,0.35);
  flex-shrink: 0;
}

.bpv-rune-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bpv-rune-row .bpv-slot img {
  border-radius: 50%;
  border-color: rgba(120,90,200,0.3);
  width: 36px;
  height: 36px;
  opacity: .8;
}

.bpv-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 22px;
  border-top: 1px solid rgba(66,183,255,0.1);
  background: rgba(66,183,255,0.04);
}

.bpv-sit-hint {
  font-size: .65rem;
  font-weight: 700;
  color: rgba(130,180,255,0.55);
  letter-spacing: .04em;
}

.bpv-cta-hint {
  font-size: .68rem;
  font-weight: 800;
  color: rgba(100,170,255,0.7);
  letter-spacing: .03em;
}

/* ── Starter + Core structured row ───────────────────────────────────────── */
.build-starter-core {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}

.build-build-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.build-sublabel {
  display: block;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(150, 190, 255, 0.55);
}

.build-starter-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.build-starter-slot img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.build-starter-slot span,
.build-starter-slot a {
  font-size: .55rem;
  font-weight: 600;
  color: rgba(200,220,255,.7);
  text-align: center;
  max-width: 60px;
  line-height: 1.2;
  text-decoration: none;
}
.build-starter-slot a:hover {
  color: rgba(200,220,255,1);
}

/* ── Final build row (smaller items, scrollable on mobile) ───────────────── */
.build-items-row--final {
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}
.build-items-row--final .build-items-row__slot img {
  width: 60px;
  height: 60px;
}

/* ── Situational cards grid ───────────────────────────────────────────────── */
.build-sit-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.build-sit-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(121, 154, 255, 0.18);
  background: rgba(12, 18, 38, 0.82);
  min-width: 130px;
}

.build-sit-card__ctx {
  display: inline-block;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(120, 180, 255, 0.8);
  white-space: nowrap;
}

.build-sit-card__slots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.build-sit-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.build-sit-slot img {
  width: 48px;
  height: 48px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 3px 10px rgba(0,0,0,0.35);
}

.build-sit-slot span {
  font-size: .52rem;
  font-weight: 600;
  color: rgba(200,220,255,.65);
  text-align: center;
  max-width: 52px;
  line-height: 1.2;
}

.build-sit-slot em {
  font-size: .65rem;
  font-style: normal;
  color: rgba(170,210,255,.6);
  text-align: center;
  max-width: 80px;
  line-height: 1.3;
}

.build-sit-arrow {
  font-size: 1.1rem;
  color: rgba(100, 160, 255, 0.4);
  line-height: 1;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   10. GUIDE HUB — point d'entrée sous le hero (card premium + 3 cards)
   ───────────────────────────────────────────────────────────────
   Rendu par renderGuideHub() dans scripts/render-champion-page-v5.mjs.
   Sélection éditoriale : buildChampionGuideHub() dans generate-ssg.mjs.
   ═══════════════════════════════════════════════════════════════ */
.ghub {
  padding: 8px 22px 52px;
}
.ghub__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.ghub__eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: .56rem; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.ghub__t {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: clamp(1.35rem, 3.4vw, 1.9rem);
  letter-spacing: -.025em;
  line-height: 1.1;
  color: var(--ink-0);
}
.ghub__lead {
  margin-top: 8px;
  font-size: .84rem;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 56ch;
}
.ghub__all {
  font-family: "JetBrains Mono", monospace;
  font-size: .58rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  white-space: nowrap;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.ghub__all:hover { color: var(--gold); border-color: rgba(251,191,36,.5); }

.ghub__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 16px;
}
.ghub__side {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

/* ── Tag commun ── */
.ghub__tag {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: .53rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(220,228,250,.72);
}
.ghub__tag--gold {
  color: #06070f;
  background: linear-gradient(100deg, var(--gold), var(--gold-l));
  padding: 5px 10px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .14em;
}

/* ── Carte premium ── */
.ghub__feature {
  position: relative;
  display: block;
  min-height: 300px;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(251,191,36,.22);
  box-shadow: 0 24px 60px -32px rgba(0,0,0,.9);
  transition: transform .5s var(--ease), border-color .35s var(--ease), box-shadow .5s var(--ease);
}
.ghub__feature:hover {
  transform: translateY(-3px);
  border-color: rgba(251,191,36,.5);
  box-shadow: 0 30px 70px -30px rgba(251,191,36,.28);
}
.ghub__feature__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
  z-index: -2;
  transform: scale(1.02);
  transition: transform .8s var(--ease);
}
.ghub__feature:hover .ghub__feature__bg { transform: scale(1.06); }
.ghub__feature__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(6,7,15,.10) 0%, rgba(6,7,15,.72) 52%, rgba(6,7,15,.96) 100%),
    linear-gradient(90deg, rgba(6,7,15,.72), transparent 70%);
}
.ghub__feature__body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  height: 100%;
  min-height: 300px;
  padding: 22px 22px 24px;
  justify-content: flex-end;
}
.ghub__feature__t {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: clamp(1.15rem, 2.6vw, 1.55rem);
  line-height: 1.18;
  letter-spacing: -.02em;
  color: var(--ink-0);
  max-width: 24ch;
  text-wrap: balance;
}
.ghub__feature__p {
  font-size: .82rem;
  line-height: 1.55;
  color: var(--ink-1);
  max-width: 46ch;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ghub__feature__cta {
  margin-top: 4px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: .6rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: #06070f;
  background: linear-gradient(100deg, var(--gold), var(--gold-l));
  padding: 9px 16px;
  border-radius: 999px;
  transition: gap .3s var(--ease);
}
.ghub__feature__cta::after { content: "→"; }
.ghub__feature:hover .ghub__feature__cta { gap: 12px; }

/* ── Cards secondaires ── */
.ghub__card {
  position: relative;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(120deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.ghub__card:hover {
  transform: translateX(3px);
  border-color: rgba(167,139,250,.42);
  background: linear-gradient(120deg, #1a1730, var(--bg-1));
}
.ghub__card__media {
  position: relative;
  overflow: hidden;
  min-height: 92px;
}
.ghub__card__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform .7s var(--ease);
}
.ghub__card:hover .ghub__card__media img { transform: scale(1.08); }
.ghub__card__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6,7,15,.15), rgba(11,12,26,.92));
}
.ghub__card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 14px 16px 14px 4px;
  min-width: 0;
}
.ghub__card__t {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.28;
  letter-spacing: -.012em;
  color: var(--ink-0);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ghub__card__cta {
  font-family: "JetBrains Mono", monospace;
  font-size: .55rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--violet);
}
.ghub__card__cta::after { content: " →"; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .ghub { padding: 4px 16px 40px; }
  .ghub__grid { grid-template-columns: minmax(0, 1fr); }
  .ghub__side { grid-template-rows: none; }
  .ghub__feature, .ghub__feature__body { min-height: 260px; }
}
@media (max-width: 460px) {
  .ghub__card { grid-template-columns: 84px minmax(0, 1fr); }
  .ghub__card__t { font-size: .88rem; }
  .ghub__feature__p { -webkit-line-clamp: 2; }
}

/* ── Tableau de matchups chiffré (audit SEO/GEO 2026-09-02) ────────────────
   Ajouté en tête de chaque panneau de rôle des pages /counters/ : la prose y était
   riche mais sans un seul chiffre lisible d'un coup d'œil, là où les concurrents
   qui nous devancent en SERP affichent une table par matchup. Scroll horizontal
   propre en mobile (jamais de débordement du body). */
.nx-matchup-board {
  margin: 0 0 18px;
  padding: 14px 14px 10px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(22,26,35,.92), rgba(16,20,30,.92));
}
.nx-matchup-board > figcaption {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
  margin-bottom: 10px;
}
.nx-matchup-board__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.nx-matchup-board table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-size: .88rem;
}
.nx-matchup-board th,
.nx-matchup-board td {
  padding: 7px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,.07);
  white-space: nowrap;
}
.nx-matchup-board thead th {
  font-size: .72rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  font-weight: 700;
}
.nx-matchup-board tbody th { font-weight: 600; }
.nx-matchup-board tbody th a { color: #fff; text-decoration: none; }
.nx-matchup-board tbody th a:hover { text-decoration: underline; }
/* Une ligne dont l'analyse est sur cette page renvoie à son ancre et l'ouvre (`.nx-mb-jump`) ;
   les autres renvoient à la fiche counters de l'adversaire. Aucun libellé ne l'annonce — la
   nuance de teinte suffit, et la hiérarchie se lit sans être expliquée. */
.nx-matchup-board tbody th a.nx-mb-jump { color: #cfe6ff; }
.nx-matchup-board tbody tr:last-child th,
.nx-matchup-board tbody tr:last-child td { border-bottom: 0; }
.nx-matchup-board .nx-mb-num { text-align: right; font-variant-numeric: tabular-nums; }
.nx-matchup-board .nx-mb-na { color: rgba(255,255,255,.32); }
.nx-mb-edge[data-sign="neg"]  { color: #fca5a5; font-weight: 700; }
.nx-mb-edge[data-sign="pos"]  { color: #86efac; font-weight: 700; }
.nx-mb-edge[data-sign="even"] { color: #ffe499; font-weight: 700; }
.nx-mb-verdict {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 700;
  border: 1px solid currentColor;
}
.nx-mb-verdict[data-tier="hard"]          { color: #fca5a5; }
.nx-mb-verdict[data-tier="unfavorable"]   { color: #fdba74; }
.nx-mb-verdict[data-tier="skillMatchups"] { color: #ffe499; }
.nx-mb-verdict[data-tier="favorable"]     { color: #86efac; }
.nx-matchup-board__src {
  margin: 8px 0 0;
  font-size: .74rem;
  line-height: 1.45;
  color: rgba(255,255,255,.46);
}
@media (max-width: 560px) {
  .nx-matchup-board { padding: 12px 10px 8px; }
  .nx-matchup-board table { font-size: .82rem; }
}

/* Badge d'avantage sur la carte de matchup (2026-09-03).
   Convention UNIQUE sur la page : le nombre est l'avantage du champion NOMMÉ. Le tableau et le
   bloc décision l'affichent de la même façon — sans quoi le même matchup porterait deux signes
   opposés à trois endroits, ce qui se lit comme une contradiction même bien légendé. */
.nx-counter-edge {
  margin-left: 6px;
  font-size: .78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  vertical-align: baseline;
}
.nx-counter-edge[data-sign="pos"]  { color: #86efac; }
.nx-counter-edge[data-sign="neg"]  { color: #fca5a5; }
.nx-counter-edge[data-sign="even"] { color: #ffe499; }

/* `key_interaction` du ledger — la phrase mécanique qui décide le duel. Elle n'existe qu'en
   anglais dans la donnée, donc ce bloc n'apparaît que sur les pages `en`. */
.nx-counter-detail-block--key > p {
  border-left: 2px solid rgba(77,168,255,.55);
  padding-left: 10px;
}

/* ── Bloc décision « la réponse en dix secondes » (audit counters 2026-09-03) ──
   En tête de chaque panneau de rôle des pages /counters/, AVANT les filtres et le
   tableau : un joueur arrivé de « X counter wild rift » doit savoir qui picker sans
   parcourir 29 matchups rédigés. Teinte cyan volontairement distincte du board (neutre)
   et des tiers (rouge→vert) : c'est une recommandation, pas une mesure de plus. */
.nx-cdec {
  margin: 0 0 18px;
  padding: 16px 16px 12px;
  border: 1px solid rgba(77,168,255,.3);
  border-radius: 14px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(77,168,255,.14), transparent 60%),
    linear-gradient(180deg, rgba(20,26,38,.94), rgba(15,19,29,.94));
}
.nx-cdec__title {
  margin: 0 0 12px;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 700;
  color: #fff;
}
.nx-cdec__grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  align-items: start;
}
.nx-cdec__col > h3 {
  margin: 0 0 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.52);
}
.nx-cdec__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.nx-cdec__pick,
.nx-cdec__item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 8px;
  border-radius: 10px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.07);
  text-decoration: none;
  color: #fff;
  min-height: 46px; /* WCAG 2.2 SC 2.5.8 — cible tactile */
}
.nx-cdec__pick:hover,
.nx-cdec__pick:focus-visible {
  background: rgba(77,168,255,.14);
  border-color: rgba(77,168,255,.42);
}
.nx-cdec__avatar,
.nx-cdec__item img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  flex: 0 0 auto;
  object-fit: cover;
}
.nx-cdec__name {
  font-size: .9rem;
  font-weight: 600;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* Motif de l'item (1.4) : passe sous le nom, aligné sur lui (34px d'icône + 9px de gouttière).
   `flex-wrap` sur le conteneur est ce qui autorise le retour à la ligne — le nom garde son
   `nowrap` + ellipsis, donc un nom long ne pousse jamais le motif hors de la carte. */
.nx-cdec__item { flex-wrap: wrap; }
.nx-cdec__why {
  /* base = 100 % MOINS la marge : `1 0 100%` + 43px débordait de 12px en 390 (audit P1-12). */
  flex: 1 0 calc(100% - 43px);
  min-width: 0;
  margin-left: 43px;
  font-size: .75rem;
  line-height: 1.25;
  color: rgba(255,255,255,.62);
}
/* « Ton build face à eux » (2026-09-04) : variante élue par le conseiller partagé face aux picks
   recommandés + son « parce que » (champions nommés). Même carte que l'item clé, sans icône —
   le motif s'aligne donc sur le bord, pas sur une icône absente. */
.nx-cdec__variant {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 9px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(52,211,153,.06);
  border: 1px solid rgba(52,211,153,.22);
  color: #fff;
  min-height: 46px;
}
.nx-cdec__variant .nx-cdec__name { white-space: normal; color: #a7f3d0; }
.nx-cdec__variant .nx-cdec__why { margin-left: 0; flex-basis: 100%; }
.nx-cdec__edge {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: .8rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.nx-cdec__edge[data-sign="pos"]  { color: #86efac; }
.nx-cdec__edge[data-sign="neg"]  { color: #fca5a5; }
.nx-cdec__edge[data-sign="even"] { color: #ffe499; }
/* Le libellé d'action reste lisible par les lecteurs d'écran mais ne pèse pas sur la
   ligne : la carte entière est déjà le lien, le répéter en clair la surchargerait. */
.nx-cdec__jump {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.nx-cdec__row[data-kind="avoid"] .nx-cdec__pick { border-color: rgba(252,165,165,.26); }
.nx-cdec__row[data-kind="avoid"] .nx-cdec__pick:hover,
.nx-cdec__row[data-kind="avoid"] .nx-cdec__pick:focus-visible {
  background: rgba(252,165,165,.12);
  border-color: rgba(252,165,165,.5);
}
/* « Tester dans le draft » (1.5). Teinte cyan volontaire : c'est un changement de PAGE, même
   nature que `.nx-section-nav a` — l'or est réservé aux bascules internes (`.nx-role-tab`).
   Cible tactile ≥ 44px (WCAG 2.5.8 demande 24, on garde la marge d'un CTA principal). */
.nx-cdec__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  padding: 9px 15px;
  min-height: 44px;
  border: 1px solid rgba(77,168,255,.34);
  border-radius: 10px;
  background: rgba(77,168,255,.09);
  color: #bfe0ff;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.nx-cdec__cta:hover,
.nx-cdec__cta:focus-visible {
  background: rgba(77,168,255,.17);
  border-color: rgba(77,168,255,.62);
  transform: translateY(-2px);
}
.nx-cdec__cta-arrow { transition: transform .18s ease; }
.nx-cdec__cta:hover .nx-cdec__cta-arrow { transform: translateX(3px); }
.nx-cdec__src {
  margin: 12px 0 0;
  font-size: .72rem;
  line-height: 1.45;
  color: rgba(255,255,255,.42);
}
@media (max-width: 560px) {
  .nx-cdec { padding: 13px 11px 10px; }
  .nx-cdec__title { font-size: .94rem; }
  .nx-cdec__grid { gap: 12px; }
  .nx-cdec__cta { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .nx-cdec__pick,
  .nx-cdec__cta,
  .nx-cdec__cta-arrow { transition: none; }
  .nx-cdec__cta:hover { transform: none; }
  .nx-cdec__cta:hover .nx-cdec__cta-arrow { transform: none; }
}

/* ── Premier écran mobile des fiches champion (2026-10-04, bilan d'usage) ─────────────────────
   Mesuré (GA4 28 j + sonde Playwright 390×844, docs/second-brain/sessions/2026-10-04-bilan-usage-
   pages-trafic.md) : l'écran 1 n'affichait que le H1 (serif, 4 lignes à 61 px) et le lede, l'écran 2
   la carte profil (portrait de 224-280 px) ; le contenu cherché commençait à 2,1 écrans (build, vu
   par 75 %) et 2,3 écrans (verdict counters, vu par 45 %). Trois causes : `.cover { min-height:
   96vh }`, un H1 dimensionné pour le bureau, la carte profil complète répétée sur chaque sous-page.
   Le texte n'est jamais retiré du DOM (le lede reste indexable, il est seulement replié à 3 lignes).
   Sous-page = fiche champion dont le 1er lien de `.nx-section-nav` (Overview) n'est PAS la page
   courante — la racine porte `aria-current` sur ce lien, les sous-pages jamais (vérifié sur
   counters/synergies/tips/builds). Sans `:has()` (Safari < 15.4), rendu d'avant. */
@media (max-width: 640px) {
  .cover { min-height: 0; padding-bottom: 12px; }
  /* Le masthead tenait sur UNE rangée : le fil d'Ariane prenait la largeur, et le sélecteur de
     langue (8 locales, `flex-wrap`) se repliait en colonne d'une locale par ligne (~180 px de
     haut), la date en une lettre par ligne. En colonne, chaque bloc a la largeur de l'écran ; la
     marge droite laisse la place au sceau de tier (position absolue en haut à droite). */
  .cover__masthead {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
    padding-right: 84px;
  }
  .cover__masthead__r { flex-wrap: wrap; gap: 6px 10px; }
  .cover__id { margin-top: 4px; }
  .cover__name {
    font-size: clamp(2.15rem, 9.6vw, 2.6rem);
    line-height: .96;
    letter-spacing: -.03em;
    max-width: none;
    margin: 6px 0 4px;
  }
  .cover__lede {
    font-size: .92rem;
    max-width: none;
    margin: 8px 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  /* Le splash couvrait 620 px pour un en-tête qui en faisait ~1000 ; il en fait ~520 désormais. */
  .cover__bg { height: 460px; top: -60px; }

  /* Sous-pages : la carte profil se réduit aux puces et aux trois taux (win/pick/ban). Le portrait
     vidéo et les barres DMG/UTIL/TANK/DIFF restent sur la fiche racine, qui est la page du profil. */
  body:has(header.cover):not(:has(.nx-section-nav > a:first-child[aria-current="page"])) .cover__data {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin: 10px 0 0;
    padding: 12px 12px 10px;
  }
  body:has(header.cover):not(:has(.nx-section-nav > a:first-child[aria-current="page"])) .cover__data__icon,
  body:has(header.cover):not(:has(.nx-section-nav > a:first-child[aria-current="page"])) .cover__data__rates {
    display: none;
  }

  /* Onglets de page : 7 gros boutons sur 4 rangées (~230 px) → rangées serrées (~130 px). Pas de
     bande défilante : sur la racine, Builds (25,7 % des vues) et Counters (18,5 %) doivent rester
     visibles sans geste. */
  .nx-section-nav { margin-top: 12px !important; margin-bottom: 18px !important; padding: 8px; gap: 6px; }
  .nx-section-nav a {
    flex: 1 1 auto;
    min-height: 40px;
    padding: 8px 10px;
    font-size: .78rem;
    letter-spacing: .02em;
    border-radius: 11px;
  }
}
