/*
 * core-hero.css — fiche héros MLBB au modèle de la fiche champion WRC (F0, docs/second-brain/f0-correspondance-fiche-heros.md).
 * Liée par les seules fiches /heroes/<slug>/ (pas arclance.css). Deux parties :
 *  1. la région @core-hero, EXTRAITE de nexus-core par scripts/sync-core-hero.mjs (préfixes et commit : core-hero.lock.json) —
 *     ne jamais l'éditer ici, tests/core-hero-lock.test.js rougit ;
 *  2. les adaptations MLBB, après la région (même spécificité → elles gagnent par l'ordre) : ce que WRC n'a pas.
 * Jetons WRC re-scopés sur .core-hero : --line / --ease d'Arclance restent intacts hors des blocs convertis.
 * Polices : Fraunces / JetBrains Mono ne sont pas hébergées, ni chez WRC — même repli serif / monospace (D7, Q2).
 */

/* @core-hero:begin — extrait de EllieAnth/nexus-core par scripts/sync-core-hero.mjs (préfixes : core-hero.lock.json). NE PAS ÉDITER ICI : --write. */
/* ── assets/styles/ssg-champion-page.css · préfixes cover cd- strip-stat · jetons :root → .core-hero ── */
.core-hero {
  --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);
  --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);
}

@media (prefers-reduced-motion: reduce) {
  .cover__data__video { display: none !important; }
  .cover__grain { display: none !important; }
}

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

.cover {
  position: relative;
  min-height: 96vh;
  padding: calc(68px + 22px) 22px 26px;
  overflow: hidden;
  isolation: isolate;
  display: flex; flex-direction: column;
}

.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;
}

.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;
}

.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;
}

.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; }

.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%; }

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;
}

.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); }

.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);
}

.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; }

.cover__strip { margin-bottom: 107px; }

.cover__strip:has(+ .nx-anx-ctx-cta) { margin-bottom: 0; }

@media (min-width: 700px) {
  .cover__strip { margin-bottom: 52px; }
}

@media (min-width: 900px) {
  .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; }

.cover__video {
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.05);
  transition: transform 50ms linear;
}

@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; }
}

@media (max-width: 899px) {
  .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;
    }
}

@media (max-width: 640px) {
  .cover { min-height: 0; padding-bottom: 12px; }
  .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;
    }
  .cover__bg { height: 460px; top: -60px; }
  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;
    }
}

/* ── assets/styles/ssg-champion-page.css · préfixes dialogues dlg edition ── */
.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);
}

.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 a:last-child { border-right: 0; }

.edition a.is-active {
  color: var(--bg-0);
  background: linear-gradient(180deg, var(--gold-l), var(--gold));
}

@media (min-width: 900px) {
  .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; }
  .edition { bottom: 24px; right: 56px; left: auto; transform: none; overflow: hidden; width: auto; max-width: calc(100% - 112px); }
}

/* ── assets/styles/ssg-champion-blocks.css · préfixes nx-section-nav chp-related chp-hub-backlinks ── */
.nx-section-nav {
  position: relative;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin: 28px 0 32px;
  padding: 16px;
  border: 1px solid rgba(66,183,255,.22);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(14, 20, 40, .96), rgba(7, 11, 24, .98)),
    radial-gradient(circle at top left, rgba(66,183,255,.12), transparent 45%);
  box-shadow:
    0 14px 34px rgba(2, 6, 18, .45),
    inset 0 1px 0 rgba(255,255,255,.04);
  overflow: hidden;
}

.nx-section-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(66,183,255,.08), transparent 35%, rgba(212,177,113,.06));
  opacity: .9;
}

.nx-section-nav a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 13px 24px;
  border-radius: 14px;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .04em;
  border: 1px solid rgba(90,180,255,.25);
  color: rgba(236,244,255,.88);
  text-decoration: none;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .25s, border-color .25s, color .25s, background .25s, box-shadow .25s;
}

.nx-section-nav a:hover {
  transform: translateY(-2px);
  border-color: #4da8ff;
  color: #f7fbff;
  box-shadow: 0 0 30px rgba(77,168,255,.25);
}

.nx-section-nav a.active,
.nx-section-nav a[aria-current="page"] {
  border-color: rgba(77,168,255,.72);
  background:
    linear-gradient(180deg, rgba(77,168,255,.22), rgba(12,22,48,.55));
  color: #ffffff;
  box-shadow:
    0 0 26px rgba(77,168,255,.28),
    inset 0 1px 0 rgba(255,255,255,.16);
}

.nx-section-nav a:focus-visible,
.nx-role-tab:focus-visible {
  outline: 2px solid #4da8ff;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .nx-section-nav a,
    .nx-role-tab { transition: none; }
  .nx-section-nav a:hover,
    .nx-role-tab:hover { transform: none; }
}

@media (max-width: 640px) {
  .nx-section-nav {
      margin: 20px 0 26px;
      padding: 12px;
      gap: 8px;
    }
  .nx-section-nav a {
      flex: 1 1 110px;
      padding: 12px 14px;
      font-size: .84rem;
      justify-content: center;
      text-align: center;
    }
}

.chp-related {
  max-width: 860px;
  margin: 2.5rem auto 0;
  padding: 0 1rem;
}

.chp-related__t {
  font-family: 'Barlow', 'Barlow Fallback', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(248, 229, 191, 0.92);
  margin: 0 0 1rem;
}

.chp-related__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chp-related__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.7rem 0.4rem 0.4rem;
  border: 1px solid rgba(212, 177, 113, 0.2);
  border-radius: 8px;
  background: rgba(212, 177, 113, 0.04);
  text-decoration: none;
  color: rgba(212, 177, 113, 0.85);
  font-family: 'Barlow', 'Barlow Fallback', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.chp-related__item img {
  border-radius: 50%;
  display: block;
}

.chp-related__item:hover {
  color: #f8e5bf;
  border-color: rgba(212, 177, 113, 0.45);
  background: rgba(212, 177, 113, 0.1);
}

.chp-hub-backlinks {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 860px;
  margin: 2rem auto 1rem;
  padding: 0 1rem;
}

.chp-hub-backlinks__link {
  font-family: 'Barlow', 'Barlow Fallback', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(212, 177, 113, 0.75);
  text-decoration: none;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(212, 177, 113, 0.2);
  border-radius: 6px;
  background: rgba(212, 177, 113, 0.04);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.chp-hub-backlinks__link:hover {
  color: #f8e5bf;
  border-color: rgba(212, 177, 113, 0.45);
  background: rgba(212, 177, 113, 0.1);
}

/* ── assets/styles/ssg-champion-page.css · préfixes =wall wall__ =build build__ ── */
.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); }

.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); }

.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); }

@media (min-width: 900px) {
  .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; }
  .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; }
}

/* ── scripts/render-champion-page-v5.mjs · préfixes nxs ── */
.nxs{margin:18px 22px 0;display:grid;grid-template-columns:1fr 1fr;gap:10px}

.nxs__card{position:relative;display:flex;flex-direction:column;gap:6px;min-height:44px;padding:14px 12px;border:1px solid var(--line,rgba(255,255,255,.08));border-top:2px solid var(--nxs-c);border-radius:16px;background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.015)),var(--bg-1,#0b0c1a);color:var(--ink-0,#fafbff);text-decoration:none;box-shadow:0 12px 30px rgba(2,6,18,.4);transition:border-color .2s,transform .2s,box-shadow .2s}

.nxs__card--build{--nxs-c:var(--gold,#fbbf24)}

.nxs__card--counters{--nxs-c:var(--teal,#34d399)}

.nxs__card:hover{transform:translateY(-2px);border-color:var(--nxs-c);box-shadow:0 0 26px color-mix(in srgb,var(--nxs-c) 22%,transparent)}

.nxs__card:focus-visible{outline:2px solid var(--nxs-c);outline-offset:2px}

.nxs__t{padding-right:20px;font-family:"Fraunces",Georgia,serif;font-weight:900;font-size:1.06rem;line-height:1.15;letter-spacing:-.015em}

.nxs__sub{font-family:"JetBrains Mono",monospace;font-size:.6rem;letter-spacing:.12em;text-transform:uppercase;color:var(--nxs-c);line-height:1.35}

.nxs__media{display:flex;gap:6px;margin-top:4px;flex-wrap:wrap}

.nxs__media img{width:38px;height:38px;object-fit:cover;border:1px solid var(--line,rgba(255,255,255,.08));background:rgba(255,255,255,.03)}

.nxs__card--build .nxs__media img{border-radius:9px}

.nxs__card--counters .nxs__media img{border-radius:50%}

.nxs__go{position:absolute;top:12px;right:14px;font-size:1.1rem;color:var(--nxs-c);transition:transform .2s}

.nxs__card:hover .nxs__go{transform:translateX(3px)}

@media (max-width:359px) {
  .nxs{grid-template-columns:1fr}
}

@media (min-width:768px) {
  .nxs{gap:16px;margin-top:24px}
  .nxs__card{display:grid;grid-template-columns:1fr auto;align-content:center;column-gap:20px;row-gap:6px;padding:18px 56px 18px 22px}
  .nxs__t{font-size:1.3rem;padding-right:0}
  .nxs__t,.nxs__sub{grid-column:1}
  .nxs__sub{font-size:.66rem}
  .nxs__media{grid-column:2;grid-row:1/3;align-self:center;margin-top:0;gap:8px;flex-wrap:nowrap}
  .nxs__media img{width:52px;height:52px}
  .nxs__go{top:50%;right:20px;transform:translateY(-50%)}
  .nxs__card:hover .nxs__go{transform:translate(3px,-50%)}
}

@media (prefers-reduced-motion:reduce) {
  .nxs__card,.nxs__go{transition:none}
  .nxs__card:hover{transform:none}
  .nxs__card:hover .nxs__go{transform:none}
}
/* @core-hero:end */

/* ── Adaptations MLBB (hors région) ── */
/* Préfixées par .core-hero (spécificité 0,2,0 > 0,1,0 de la région) : elles gagnent sans !important. */

/* Couverture toujours sombre (WRC n'a pas de thème clair). Depuis la coque WRC (D29, 15/11) l'en-tête est FIXE comme chez WRC :
   le `padding-top: 22px` qui compensait l'en-tête Arclance dans le flux est retiré, la règle de WRC (68 + 22 px) s'applique. */
.core-hero .cover { background: var(--bg-0); color: var(--ink-0); min-height: 0; }
.core-hero .cover__data::before { content: "PROFILE"; }
.core-hero .cover__masthead { padding-right: 0; }

/* Icône Moonton carrée 100 × 100 (WRC : portrait vidéo 176 × 280) — affichée à 120 px, pas étirée. */
.core-hero .cover__data { grid-template-columns: 120px minmax(0, 1fr); }
.core-hero .cover__data__icon { margin: 0; }
.core-hero .cover__data__icon,
.core-hero .cover__data__media { width: 120px; }
.core-hero .cover__data__media { height: 120px; }
/* Héros sans aucune icône (Fandom) : une seule colonne, pas de case vide. */
.core-hero .cover__data--solo { grid-template-columns: minmax(0, 1fr); }
.core-hero .cover__data--solo .cover__data__main,
.core-hero .cover__data--solo .cover__strip { grid-column: 1 / -1; }
/* Libellé du bandeau : WRC écrit « DATA · LIVE » ; les chiffres MLBB sont un relevé daté, pas du direct. */
.core-hero .cover__strip::before { content: "MOONTON DATA"; }
/* WRC réserve 107 px / 52 px sous le bandeau pour son appel Ask Nexus (.nx-anx-ctx-cta) : absent ici. */
.core-hero .cover__strip { margin-bottom: 0; }

/* Valeur chiffrée des notes 0-100 (colonne de 18 px que WRC laisse vide). */
.core-hero .cd-rate { grid-template-columns: 36px minmax(0, 1fr) 20px; }
.core-hero .cd-rate__v {
  font-family: "JetBrains Mono", monospace;
  font-size: .56rem; font-weight: 500;
  color: var(--ink-1);
  text-align: right;
}

/* Provenance datée des chiffres du bandeau (règle MLBB : une source par bloc chiffré). */
.core-hero .cover__prov {
  position: relative;
  max-width: 1040px;
  margin: 0;
  font-size: .74rem; line-height: 1.5;
  color: var(--ink-2);
}
.core-hero .cover__prov a { color: var(--ink-1); text-decoration: underline; text-underline-offset: 2px; }


/* 88 + 36 px (16/11) : l'en-tête fixe de la coque fait 88 px ; à 36 px seuls, le fil d'Ariane de la couverture passait dessous (mesuré :
   haut du fil à 36 px, bas de l'en-tête à 88 px, bureau). Même valeur que la page synergies de WRC (`.cover { padding-top: calc(88px + 36px) }`). */
@media (min-width: 900px) {
  .core-hero .cover { padding-top: calc(88px + 36px); min-height: 640px; }
}

/* Nav de sections (lot 2) : première entrée = page courante, donc la règle WRC `:not(:has(.nx-section-nav > a:first-child
   [aria-current="page"]))` (jauges masquées hors de l'aperçu) ne s'applique pas ici — plus de surcharge nécessaire.
   Marge de WRC (style inline chez eux), posée ici plutôt qu'en inline. */
.core-hero .nx-section-nav { margin: 28px 22px 32px; }

/* Provenance datée sous le mur des matchups et le teaser de build (règle MLBB : une source par bloc chiffré), même registre que `.cover__prov`. */
.core-hero .wall__prov {
  max-width: 1040px; margin: 14px 22px 0;
  font-size: .74rem; line-height: 1.5; color: var(--ink-2);
}
.core-hero .wall__prov time { color: var(--ink-1); }
.core-hero .build .wall__prov { margin: 16px 0 0; }
/* (Lot 4, 16/11 : le mur n'est plus dans .wrap — la grille de WRC s'applique telle quelle, l'ancienne surcharge est retirée.) */
/* Portraits Moonton carrés de 100 px (WRC : splash 16:9) : cellules carrées, 6 par ligne sur grand écran — 12 cellules = 2 lignes pleines. */
@media (min-width: 900px) { .core-hero .wall__grid { grid-template-columns: repeat(6, 1fr); } }
.core-hero .wall__cell { aspect-ratio: 1; }
.core-hero .wall__cell__cat { font-size: .6rem; }
/* Teaser de build : libellés d'objets sur deux lignes (WRC les coupe à 60 px / 11 caractères), cible tactile de la CTA ≥ 44 px. */
.core-hero .build__slot, .core-hero .build__slot__lbl { width: 76px; }
.core-hero .build__slot img { width: 76px; height: 76px; }
.core-hero .build__slot__lbl { white-space: normal; overflow: hidden; text-overflow: clip; font-size: .6rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; }
.core-hero .build__cta { min-height: 44px; }
/* Même gouttière que le wrap sur grand écran (WRC : 56 px de marge intérieure pour ses sections pleine largeur). */
@media (min-width: 900px) { .core-hero .build, .core-hero .dialogues { padding-left: 22px; padding-right: 22px; } }

/* La barre d'édition est fixe en bas sous 900 px (≈ 50 px) : le pied de page ne doit pas passer dessous en fin de défilement. */
@media (max-width: 899px) {
  body:has(.edition) .site-footer { margin-bottom: 64px; }
}

/* ── Q3 (D7, 12/11) : fiche héros SOMBRE seulement au F0 — le thème clair d'Arclance ne s'applique pas dans
   <main class="hero-fiche"> (l'en-tête et le pied suivent toujours le thème). Recopie, sous le thème clair :
   (1) chaque jeton que :root[data-theme='light'] change, à sa valeur sombre — bloc :root:not([data-theme='light'])
   d'arclance.css, sinon défaut :root ; (2) --accent, résolu à la racine depuis --gold-500 ; (3) les couleurs .tk--* et
   .skill__tip que le thème clair assombrit. tests/hero-fiche-dark.test.js rougit si Arclance bouge l'un de ces blocs. ── */
:root[data-theme='light'] .hero-fiche {
  --bg-app: var(--core-bg-0);
  --bg-page:
    radial-gradient(1200px 700px at 0% 0%, var(--core-bg-stage-glow-violet), transparent 62%),
    radial-gradient(900px 500px at 100% 0%, var(--core-bg-stage-glow-blue), transparent 60%),
    linear-gradient(180deg, var(--core-bg-1), var(--core-bg-0) 42%, var(--core-bg-stage-floor) 100%);
  --bg-stage: radial-gradient(ellipse at 50% -10%, var(--core-bg-2) 0%, transparent 60%);
  --bg-panel: var(--core-bg-1);
  --bg-card: var(--core-bg-2);
  --bg-card-hover: var(--n-700);
  --bg-overlay: oklch(14% 0.02 260 / 0.72);
  --text-1: var(--core-text-strong);
  --text-2: var(--core-text-base);
  --text-3: var(--core-text-muted);
  --text-muted: var(--n-600);
  --text-inverse: var(--n-950);
  --line: var(--core-line);
  --line-soft: oklch(100% 0 0 / 0.06);
  --line-strong: oklch(85% 0.02 255 / 0.24);
  --gold-500: var(--core-gold);
  --gold-300: var(--core-gold-2);
  --azure-500: var(--core-cyan);
  --azure-300: var(--core-cyan-2);
  --violet-500: var(--core-violet);
  --sh-soft: var(--core-shadow-soft);
  --sh-hard: var(--core-shadow-hard);
  --accent: var(--gold-500);
  background: var(--bg-page, var(--bg-app));
  color: var(--text-1);
}
:root[data-theme='light'][data-accent='cyan'] .hero-fiche { --accent: var(--azure-500); }
:root[data-theme='light'][data-accent='violet'] .hero-fiche { --accent: var(--violet-500); }
:root[data-theme='light'] .hero-fiche .tk--key { color: var(--violet-300); }
:root[data-theme='light'] .hero-fiche .tk--true { color: oklch(85% 0.14 100); }
:root[data-theme='light'] .hero-fiche .tk--mp { color: oklch(75% 0.12 200); }
:root[data-theme='light'] .hero-fiche .tk--heal { color: var(--status-success); }
:root[data-theme='light'] .hero-fiche .tk--magic { color: oklch(70% 0.14 265); }
:root[data-theme='light'] .hero-fiche .tk--phys { color: oklch(66% 0.16 25); }
:root[data-theme='light'] .hero-fiche .skill__tip { color: var(--gold-300); }

/* ── Fiche héros, corps au modèle WRC (D29 lot 4, 16/11) — `scripts/lib/core-hero-page.mjs` ── */
/* Jetons de dégâts du texte Moonton des sorts (`renderDescription`) — couleurs reprises d'Arclance, que la fiche ne charge plus. */
.hero-fiche .tk { font-weight: 600; }
.hero-fiche .tk--magic { color: oklch(70% 0.14 265); }
.hero-fiche .tk--mp { color: oklch(75% 0.12 200); }
.hero-fiche .tk--pa { color: #e6b450; }
.hero-fiche .tk--phys { color: oklch(66% 0.16 25); }
.hero-fiche .tk--heal { color: #34d399; }
.hero-fiche .tk--true { color: oklch(85% 0.14 100); }
.hero-fiche .tk--key { color: #c4b5fd; }
/* Liens vers les autres fiches posés dans la prose des guides (`linkifyHeroes`). */
.hero-fiche a.mlbb-hero { color: inherit; text-decoration: underline; text-decoration-color: rgba(167,139,250,.5); text-underline-offset: 2px; }
.hero-fiche a.mlbb-hero:hover { text-decoration-color: #a78bfa; }
/* Comboslab : MLBB a deux colonnes (conseils, points à retenir), WRC trois — la grille se partage entre celles qui existent. */
.hero-fiche .comboslab__meta { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
/* Ratios de dégâts : donnée (monospace, plus discrète que le texte du sort). */
.hero-fiche .clab-card__ratios { font-family: "JetBrains Mono", monospace; font-size: .8rem; color: rgba(165,243,252,.85); }
/* Provenance du kit (règle MLBB : une source par bloc chiffré), alignée sur la colonne du Comboslab. */
.hero-fiche .comboslab__source { max-width: 860px; margin: 18px auto 0; }
.hero-fiche .comboslab__source .statslab__source { font-size: .74rem; line-height: 1.5; color: rgba(225,235,255,.6); }
.hero-fiche .comboslab__source a { text-decoration: underline; text-underline-offset: 2px; }
