/* Noto Sans JP (locale /ja/) — PAS de @import Google Fonts ici (retiré 2026-08-23, CWV) :
   l'ancien commentaire supposait que seul :lang(ja) déclenchait le coût. Faux pour la feuille
   elle-même : le @import (91 Ko de @font-face, origine tierce, bloquant le rendu) partait sur
   100 % des pages, toutes locales — 1,5 à 2,5 s « wasted » mesurés par Lighthouse mobile sur
   fiche champion, tier list et draft. Les pages ja s'appuient sur la police gothique système
   (Hiragino Sans iOS/macOS, Noto Sans CJK JP Android, Yu Gothic/Meiryo Windows) — même dessin
   de famille que Noto Sans JP, zéro téléchargement. Si un web font JP redevient souhaité, le
   charger en <link> non bloquant depuis les seules pages ja, jamais par @import global. */

/* Barlow self-hosted (ex-Google Fonts, licence OFL) — remplace l'@import bloquant.
   unicode-range => seuls les subsets utilisés par la page sont téléchargés. */
/* vietnamese */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/barlow/barlow-400-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/barlow/barlow-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/barlow/barlow-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/barlow/barlow-500-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/barlow/barlow-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/barlow/barlow-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/barlow/barlow-600-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/barlow/barlow-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/barlow/barlow-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/barlow/barlow-800-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/barlow/barlow-800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/barlow/barlow-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Self-hosted — no render-blocking, served instantly */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/Barlow-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/assets/fonts/Barlow-900.woff2') format('woff2');
}
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/Orbitron-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/Orbitron-800.woff2') format('woff2');
}

@font-face {
  font-family: 'Tytoon Mist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/tytoon-mist.ttf') format('truetype');
}

/* Polices de repli à métriques ajustées (lot 0b, 2026-10-15). Le CLS des hubs venait à 100 % du
   remplacement de police : 0,07 tier list, 0,095 classements, 0,144 tendances draft, 0,148 /app/,
   0,000 avec les polices bloquées. Ces faces habillent Arial (Helvetica sur Apple, Roboto sur
   Android) aux largeurs et hauteurs de ligne de Barlow, Orbitron, Chakra Petch et Tytoon Mist (titres) : le texte occupe
   la même place avant et après l'arrivée du fichier. Chaque pile qui nomme la police nomme ensuite
   sa face « Fallback » (codemod du 15/10, sur les feuilles des hubs).
   Mesure : canvas measureText dans Chromium, poids par poids. Barlow 400 sur 60 k caractères des hubs
   (FR+EN) ; les autres poids sur une phrase de hub (le calibrage corpus, ≈ 0,3 % plus étroit, faisait
   passer à 2 lignes un titre de /tendances-draft/). Une largeur moyenne ne prédit pas chaque retour à
   la ligne : ne pas « affiner » une valeur sans rejouer la sonde sur les 8 hubs. size-adjust =
   largeur réelle / largeur Arial ; ascent/descent = métrique réelle / size-adjust (les overrides
   sont multipliés par size-adjust à l'usage). Barlow 1000/200, Orbitron 1011/243, Chakra 992/308, Tytoon 825/175 (calibrée sur des titres),
   interligne 0. unicode-range = couverture MESURÉE de chaque fichier réel, bornée au latin
   (U+0020-017F), à la ponctuation générale, € et ™ : un caractère absent de la vraie police (→ dans
   Barlow, · dans Orbitron, é dans Tytoon) doit continuer vers la police suivante comme avant, sinon le
   rendu change une fois la police chargée (vu au pixel près le 15/10, boutons « Items → »). Sonde : node scripts/probe-font-cls.mjs /tierlist/ /rankings/ … (modes réseau et retardées). */
@font-face { font-family: 'Barlow Fallback'; font-weight: 400; src: local('Arial'), local('ArialMT'), local('Helvetica'), local('Roboto'), local('Roboto-Regular'); size-adjust: 94.64%; ascent-override: 105.66%; descent-override: 21.13%; line-gap-override: 0%; unicode-range: U+0020-007F, U+00A0-00AC, U+00AE-0113, U+0116-012B, U+012D-0131, U+0133-0137, U+0139-013E, U+0140-0148, U+014A-014D, U+014F-017E, U+2000-200A, U+2010-2011, U+2013-2014, U+2018-201A, U+201C-201E, U+2020, U+2022, U+2026, U+2028-2029, U+202F, U+2032-2033, U+2039-203A, U+2044, U+205F, U+20AC, U+2122; }
@font-face { font-family: 'Barlow Fallback'; font-weight: 500; src: local('Arial'), local('ArialMT'), local('Helvetica'), local('Roboto'), local('Roboto-Regular'); size-adjust: 96.43%; ascent-override: 103.71%; descent-override: 20.74%; line-gap-override: 0%; unicode-range: U+0020-007F, U+00A0-00AC, U+00AE-0113, U+0116-012B, U+012D-0131, U+0133-0137, U+0139-013E, U+0140-0148, U+014A-014D, U+014F-017E, U+2000-200A, U+2010-2011, U+2013-2014, U+2018-201A, U+201C-201E, U+2020, U+2022, U+2026, U+2028-2029, U+202F, U+2032-2033, U+2039-203A, U+2044, U+205F, U+20AC, U+2122; }
@font-face { font-family: 'Barlow Fallback'; font-weight: 600; src: local('Arial Bold'), local('Arial-BoldMT'), local('Helvetica Bold'), local('Helvetica-Bold'), local('Roboto Bold'), local('Roboto-Bold'); size-adjust: 90.85%; ascent-override: 110.07%; descent-override: 22.01%; line-gap-override: 0%; unicode-range: U+0020-007F, U+00A0-00AC, U+00AE-0113, U+0116-012B, U+012D-0131, U+0133-0137, U+0139-013E, U+0140-0148, U+014A-014D, U+014F-017E, U+2000-200A, U+2010-2011, U+2013-2014, U+2018-201A, U+201C-201E, U+2020, U+2022, U+2026, U+2028-2029, U+202F, U+2032-2033, U+2039-203A, U+2044, U+205F, U+20AC, U+2122; }
@font-face { font-family: 'Barlow Fallback'; font-weight: 700; src: local('Arial Bold'), local('Arial-BoldMT'), local('Helvetica Bold'), local('Helvetica-Bold'), local('Roboto Bold'), local('Roboto-Bold'); size-adjust: 91.8%; ascent-override: 108.93%; descent-override: 21.79%; line-gap-override: 0%; unicode-range: U+0020-007F, U+00A0-00AC, U+00AE-0101, U+0106-0107, U+0112-0113, U+0128-012B, U+0131, U+0139-013A, U+0143-0144, U+014C-014D, U+0152-0155, U+015A-015B, U+0168-016B, U+0178-017A, U+2000-200A, U+2010-2011, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2028-2029, U+202F, U+2032-2033, U+2039-203A, U+2044, U+205F, U+20AC, U+2122; }
@font-face { font-family: 'Barlow Fallback'; font-weight: 800; src: local('Arial Bold'), local('Arial-BoldMT'), local('Helvetica Bold'), local('Helvetica-Bold'), local('Roboto Bold'), local('Roboto-Bold'); size-adjust: 92.76%; ascent-override: 107.8%; descent-override: 21.56%; line-gap-override: 0%; unicode-range: U+0020-007F, U+00A0-00AC, U+00AE-0113, U+0116-012B, U+012D-0131, U+0133-0137, U+0139-013E, U+0140-0148, U+014A-014D, U+014F-017E, U+2000-200A, U+2010-2011, U+2013-2014, U+2018-201A, U+201C-201E, U+2020, U+2022, U+2026, U+2028-2029, U+202F, U+2032-2033, U+2039-203A, U+2044, U+205F, U+20AC, U+2122; }
@font-face { font-family: 'Barlow Fallback'; font-weight: 900; src: local('Arial Bold'), local('Arial-BoldMT'), local('Helvetica Bold'), local('Helvetica-Bold'), local('Roboto Bold'), local('Roboto-Bold'); size-adjust: 93.56%; ascent-override: 106.88%; descent-override: 21.38%; line-gap-override: 0%; unicode-range: U+0020-007F, U+00A0-00AC, U+00AE-0101, U+0106-0107, U+0112-0113, U+0128-012B, U+0131, U+0139-013A, U+0143-0144, U+014C-014D, U+0152-0155, U+015A-015B, U+0168-016B, U+0178-017A, U+2000-200A, U+2010-2011, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2028-2029, U+202F, U+2032-2033, U+2039-203A, U+2044, U+205F, U+20AC, U+2122; }
@font-face { font-family: 'Orbitron Fallback'; font-weight: 600; src: local('Arial Bold'), local('Arial-BoldMT'), local('Helvetica Bold'), local('Helvetica-Bold'), local('Roboto Bold'), local('Roboto-Bold'); size-adjust: 116.84%; ascent-override: 86.53%; descent-override: 20.8%; line-gap-override: 0%; unicode-range: U+0020-005D, U+005F-007F, U+00A0-00A3, U+00A8, U+00AF-00B0, U+00B4, U+00B6, U+00B8, U+00BF-00CF, U+00D1-00D7, U+00D9-00DD, U+00DF-00EF, U+00F1-00F7, U+00F9-00FD, U+00FF, U+0106-0107, U+0128-0129, U+0131, U+0139-013A, U+0143-0144, U+0152-0155, U+015A-015B, U+0168-0169, U+0178-017A, U+2000-200A, U+2010-2011, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+2028-2029, U+202F, U+205F, U+20AC; }
@font-face { font-family: 'Orbitron Fallback'; font-weight: 800; src: local('Arial Bold'), local('Arial-BoldMT'), local('Helvetica Bold'), local('Helvetica-Bold'), local('Roboto Bold'), local('Roboto-Bold'); size-adjust: 118.09%; ascent-override: 85.61%; descent-override: 20.58%; line-gap-override: 0%; unicode-range: U+0020-005D, U+005F-007F, U+00A0-00A3, U+00A8, U+00AF-00B0, U+00B4, U+00B6, U+00B8, U+00BF-00CF, U+00D1-00D7, U+00D9-00DD, U+00DF-00EF, U+00F1-00F7, U+00F9-00FD, U+00FF, U+0106-0107, U+0128-0129, U+0131, U+0139-013A, U+0143-0144, U+0152-0155, U+015A-015B, U+0168-0169, U+0178-017A, U+2000-200A, U+2010-2011, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+2028-2029, U+202F, U+205F, U+20AC; }
@font-face { font-family: 'Tytoon Mist Fallback'; font-weight: 400; src: local('Arial Bold'), local('Arial-BoldMT'), local('Helvetica Bold'), local('Helvetica-Bold'), local('Roboto Bold'), local('Roboto-Bold'); size-adjust: 97.79%; ascent-override: 84.36%; descent-override: 17.89%; line-gap-override: 0%; unicode-range: U+0020-005F, U+0061-007D, U+007F, U+00A0, U+00A6, U+00B0, U+2000-200A, U+2010-2011, U+2013-2014, U+2018-2019, U+201C-201D, U+2028-2029, U+202F, U+2044, U+205F, U+20AC; }
@font-face { font-family: 'Chakra Petch Fallback'; font-weight: 500; src: local('Arial'), local('ArialMT'), local('Helvetica'), local('Roboto'), local('Roboto-Regular'); size-adjust: 103.05%; ascent-override: 96.27%; descent-override: 29.89%; line-gap-override: 0%; unicode-range: U+0020-007F, U+00A0-00AC, U+00AE-00B4, U+00B6-00FF, U+0131, U+0152-0153, U+2000-200A, U+2010-2011, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2028-2029, U+202F, U+2032-2033, U+2039-203A, U+2044, U+205F, U+20AC, U+2122; }
@font-face { font-family: 'Chakra Petch Fallback'; font-weight: 600; src: local('Arial Bold'), local('Arial-BoldMT'), local('Helvetica Bold'), local('Helvetica-Bold'), local('Roboto Bold'), local('Roboto-Bold'); size-adjust: 98.14%; ascent-override: 101.08%; descent-override: 31.38%; line-gap-override: 0%; unicode-range: U+0020-007F, U+00A0-00AC, U+00AE-00B4, U+00B6-017E, U+2000-200A, U+2010-2011, U+2013-2014, U+2018-201A, U+201C-201E, U+2020, U+2022, U+2026, U+2028-2029, U+202F, U+2032-2033, U+2039-203A, U+2044, U+205F, U+20AC, U+2122; }
@font-face { font-family: 'Chakra Petch Fallback'; font-weight: 700; src: local('Arial Bold'), local('Arial-BoldMT'), local('Helvetica Bold'), local('Helvetica-Bold'), local('Roboto Bold'), local('Roboto-Bold'); size-adjust: 99.91%; ascent-override: 99.29%; descent-override: 30.83%; line-gap-override: 0%; unicode-range: U+0020-007F, U+00A0-00AC, U+00AE-00B4, U+00B6-017E, U+2000-200A, U+2010-2011, U+2013-2014, U+2018-201A, U+201C-201E, U+2020, U+2022, U+2026, U+2028-2029, U+202F, U+2032-2033, U+2039-203A, U+2044, U+205F, U+20AC, U+2122; }

:root {
  --bg-0: #05060d;
  --bg-1: #0b0d1a;
  --bg-2: #11152a;
  --surface-1: linear-gradient(180deg, rgba(16, 19, 36, 0.94), rgba(8, 10, 20, 0.96));
  --surface-2: linear-gradient(180deg, rgba(22, 25, 44, 0.98), rgba(11, 13, 24, 0.99));
  --text-strong: #eef2ff;
  --text-base: #d7ddef;
  --text-muted: #9ea8c7;
  --border-cold: rgba(120, 150, 255, 0.4);
  --border-warm: rgba(201, 166, 94, 0.58);
  --accent-cyan: #42b7ff;
  --accent-gold: #d4b171;
  --accent-violet: #8067ff;
  --ok: #66d39e;
  --warn: #f2b35d;
  --danger: #ff7878;
  --radius-md: 14px;
  --radius-lg: 18px;
  --shadow-soft: 0 10px 28px rgba(2, 4, 12, 0.52);
  --shadow-hard: 0 16px 42px rgba(3, 6, 16, 0.75);
  --maxw: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;
}

:lang(ja) {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans CJK JP", "Noto Sans JP", "Yu Gothic", "Meiryo", "Barlow", "Barlow Fallback", sans-serif;
  line-height: 1.8;
}

body {
  margin: 0;
  font-family: "Barlow", "Barlow Fallback", "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--text-base);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(1200px 700px at 0% 0%, rgba(103, 73, 255, 0.2), transparent 62%),
    radial-gradient(900px 500px at 100% 0%, rgba(39, 150, 255, 0.18), transparent 60%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0) 42%, #04050a 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.02) 0,
    rgba(255, 255, 255, 0.02) 1px,
    transparent 1px,
    transparent 4px
  );
  opacity: 0.3;
  z-index: 0;
}

/* Éléments SPA dans le header non utilisés en SSG */
#btnOpenDraft, .slotCentre, .btnSousHeader { display: none !important; }

a {
  color: #8fd3ff;
  text-decoration: none;
}

a:hover {
  color: #c7e8ff;
}

/* Reset du padding-top SPA (fullscreen) sur le nav SSG */
#primaryNav.navsections {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

@media (max-width: 900px) {
  #primaryNav .nav-account-trigger {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 0 18px !important;
    gap: 12px !important;
    border: 1px solid rgba(203, 168, 92, 0.42) !important;
    border-radius: 16px !important;
    background:
      radial-gradient(circle at 12% 50%, rgba(212, 177, 113, 0.18), transparent 22%),
      linear-gradient(135deg, rgba(28, 22, 14, 0.96), rgba(18, 24, 44, 0.96) 48%, rgba(7, 11, 24, 0.94)) !important;
    box-shadow:
      0 14px 30px rgba(0,0,0,0.46),
      0 0 0 1px rgba(145, 215, 255, 0.16),
      0 0 18px rgba(212, 177, 113, 0.12),
      inset 0 1px 0 rgba(255,255,255,0.16),
      inset 0 0 0 1px rgba(5, 10, 24, 0.42) !important;
    color: #f7f0dd !important;
    font-size: 0.98rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.03em !important;
    text-transform: none !important;
    text-align: left !important;
    text-decoration: none !important;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.65) !important;
    position: relative !important;
    overflow: hidden !important;
  }

  #primaryNav .nav-account-trigger::before {
    content: "" !important;
    flex: 0 0 22px !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 999px !important;
    background:
      radial-gradient(circle at 35% 30%, rgba(255,255,255,0.85), rgba(255,255,255,0) 36%),
      linear-gradient(180deg, rgba(214, 183, 116, 0.95), rgba(127, 182, 255, 0.95)) !important;
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.12),
      0 0 14px rgba(212, 177, 113, 0.28) !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10zm0 2c-5.33 0-8 2.67-8 4v2h16v-2c0-1.33-2.67-4-8-4z'/%3E%3C/svg%3E") center / contain no-repeat !important;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10zm0 2c-5.33 0-8 2.67-8 4v2h16v-2c0-1.33-2.67-4-8-4z'/%3E%3C/svg%3E") center / contain no-repeat !important;
  }

  #primaryNav .nav-account-trigger::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.12) 18%, transparent 36%) !important;
    opacity: 0.7 !important;
    pointer-events: none !important;
  }

  #primaryNav.navsections.is-open .nav-account-trigger,
  .header-nexus.nav-open #primaryNav .nav-account-trigger {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }

  #primaryNav .nav-account-trigger:hover {
    color: #fff8e8 !important;
    border-color: rgba(212, 177, 113, 0.72) !important;
    background:
      radial-gradient(circle at 12% 50%, rgba(212, 177, 113, 0.24), transparent 24%),
      linear-gradient(135deg, rgba(35, 26, 16, 0.98), rgba(22, 30, 56, 0.98) 48%, rgba(10, 14, 28, 0.96)) !important;
    box-shadow:
      0 18px 34px rgba(0,0,0,0.52),
      0 0 0 1px rgba(212, 177, 113, 0.32),
      0 0 22px rgba(212, 177, 113, 0.16),
      inset 0 1px 0 rgba(255,255,255,0.18) !important;
  }
}

.ssg-header,
.ssg-breadcrumb,
.ssg-main,
.ssg-footer,
.sticky-mobile-cta {
  position: relative;
  z-index: 1;
}

.ssg-header {
  width: min(var(--maxw), calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: 0.9rem 1.15rem;
  border: 1px solid var(--border-cold);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ssg-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.ssg-logo img {
  width: 122px;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45));
}

.ssg-nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ssg-nav a {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.48rem 0.95rem;
  color: var(--text-base);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.ssg-nav a:hover,
.ssg-nav a[aria-current="page"] {
  border-color: var(--border-warm);
  background: linear-gradient(180deg, rgba(212, 177, 113, 0.2), rgba(212, 177, 113, 0.08));
  transform: translateY(-1px);
}

.ssg-breadcrumb {
  width: min(var(--maxw), calc(100% - 2rem));
  margin: 0.75rem auto 1rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.ssg-breadcrumb ol {
  margin: 0;
  padding: 0 0.3rem;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.ssg-breadcrumb li::after {
  content: "›";
  margin-left: 0.35rem;
  color: rgba(220, 230, 255, 0.4);
}

.ssg-breadcrumb li:last-child::after {
  display: none;
}

.ssg-breadcrumb [aria-current] {
  color: var(--text-strong);
}

.ssg-main {
  width: min(var(--maxw), calc(100% - 2rem));
  margin: 0.9rem auto 2rem;
  padding: 1.5rem;
  border: 1px solid rgba(113, 133, 212, 0.25);
  border-radius: var(--radius-lg);
  background: var(--surface-1);
  box-shadow: var(--shadow-hard);
}

.ssg-main h1 {
  margin: 0 0 1rem;
  font-family: "Orbitron", "Orbitron Fallback", "Barlow", "Barlow Fallback", sans-serif;
  font-size: clamp(1.6rem, 2.4vw, 2.45rem);
  letter-spacing: 0.02em;
  color: #f8e5bf;
}

.ssg-main .intro {
  margin: 0 0 1.4rem;
  color: var(--text-muted);
  font-size: 1.08rem;
}

.static-notice {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(183, 152, 92, 0.45);
  border-radius: 12px;
  background:
    radial-gradient(120% 180% at 0% 0%, rgba(210, 169, 95, 0.16), transparent 58%),
    rgba(20, 17, 8, 0.35);
  color: #d8c8aa;
}

.static-notice strong {
  color: #ffe8bf;
}

.btn-interactive,
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-left: auto;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(212, 177, 113, 0.68);
  border-radius: 999px;
  color: #fff6e2;
  background: linear-gradient(180deg, rgba(212, 177, 113, 0.34), rgba(212, 177, 113, 0.16));
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-interactive:hover,
.btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(212, 177, 113, 0.22);
  color: #fff;
}

.champion-article > section,
.champion-article > header {
  margin-bottom: 1.1rem;
  animation: ssgFadeUp 420ms ease both;
}

.champion-article > section:nth-of-type(1) {
  animation-delay: 40ms;
}
.champion-article > section:nth-of-type(2) {
  animation-delay: 80ms;
}
.champion-article > section:nth-of-type(3) {
  animation-delay: 120ms;
}
.champion-article > section:nth-of-type(4) {
  animation-delay: 160ms;
}
.champion-article > section:nth-of-type(5) {
  animation-delay: 200ms;
}

/* Sections 4+ : hors du fold initial → skip paint/layout jusqu'au scroll */
.champion-article > section:nth-of-type(n+4) {
  content-visibility: auto;
  contain-intrinsic-size: auto 400px; /* hauteur approx pour réserver l'espace scrollbar */
}

@keyframes ssgFadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.champion-header {
  border: 1px solid rgba(126, 151, 255, 0.32);
  border-radius: var(--radius-lg);
  padding: 1rem;
  background:
    radial-gradient(130% 140% at 10% 0%, rgba(81, 105, 255, 0.24), transparent 66%),
    var(--surface-2);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
}

.champion-hero-art {
  grid-column: 1 / -1;
  width: 100%;
  height: clamp(140px, 26vw, 220px);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(145, 166, 255, 0.32);
  box-shadow: 0 14px 30px rgba(1, 2, 8, 0.45);
}

.champion-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.02);
}

.champion-icon {
  width: 120px;
  height: 120px;
  border-radius: 16px;
  border: 2px solid rgba(212, 177, 113, 0.8);
  box-shadow: 0 14px 30px rgba(1, 2, 8, 0.62);
  object-fit: cover;
}

.champion-header-info h1 {
  margin: 0 0 0.25rem;
  color: var(--text-strong);
}

.champion-class {
  margin: 0 0 0.7rem;
  color: var(--text-muted);
}

.champion-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tier,
.role,
.role-alt {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.25rem 0.72rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.tier {
  color: #111;
  border: 1px solid rgba(0, 0, 0, 0.24);
}

.tier-s,
.tier-s\+ {
  background: #ff8a8a;
}

.tier-a {
  background: #ffc57f;
}

.tier-b {
  background: #efe37f;
}

.tier-c {
  background: #9fdd98;
}

.tier-d {
  background: #8cc5ff;
}

.tier-new {
  background: #64748b;
  color: #cbd5e1;
  font-style: italic;
}

.role,
.role-alt {
  color: #d8e2ff;
  border: 1px solid rgba(130, 156, 255, 0.34);
  background: rgba(19, 26, 48, 0.82);
}

.role-alt {
  opacity: 0.9;
}

.champion-ratings,
.champion-counters,
.champion-synergies,
.champion-builds,
.champion-counter-items,
.champion-abilities,
.champion-playstyle,
.champion-tips,
.champion-combos,
.champion-spikes,
.champion-cta,
.tier-group,
.faq-section,
.faq-cta,
.section-page li {
  border: 1px solid rgba(121, 144, 236, 0.26);
  border-radius: var(--radius-md);
  background: var(--surface-1);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
}

.champion-ratings h2,
.champion-counters h2,
.champion-synergies h2,
.champion-builds h2,
.champion-counter-items h2,
.champion-abilities h2,
.champion-playstyle h2,
.champion-tips h2,
.champion-combos h2,
.champion-spikes h2,
.champion-cta h2,
.faq-section h2 {
  margin: 0 0 0.8rem;
  color: #e8d1a1;
  font-family: "Orbitron", "Orbitron Fallback", "Barlow", "Barlow Fallback", sans-serif;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
}

.ratings-grid {
  display: grid;
  gap: 0.75rem;
}

.rating-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 0.8rem;
  align-items: center;
}

.rating-label {
  color: #c9d3f0;
  font-weight: 600;
  font-size: 0.9rem;
}

.rating-bar {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.rating-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #57b8ff, #7f8aff, #d2b070);
}

.counter-group + .counter-group {
  margin-top: 0.8rem;
}

.counter-group h3 {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.counter-group.extreme h3 {
  color: var(--danger);
}

.counter-group.major h3 {
  color: var(--warn);
}

.counter-group.minor h3 {
  color: var(--ok);
}

.counter-group.skill h3 {
  color: #93b8ff;
}

.matchup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.62rem;
}

.matchup-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0.62rem;
  border: 1px solid rgba(122, 146, 230, 0.26);
  border-radius: 12px;
  background: rgba(8, 11, 22, 0.72);
  padding: 0.56rem;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.matchup-card:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 177, 113, 0.55);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.32);
}

.matchup-card-img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(212, 177, 113, 0.52);
}

.matchup-card-body h4 {
  margin: 0 0 0.24rem;
  font-size: 0.92rem;
  color: #ebf1ff;
}

.matchup-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  margin-bottom: 0.35rem;
}

.mini-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(133, 162, 255, 0.36);
  background: rgba(18, 24, 46, 0.84);
  color: #d8e5ff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.14rem 0.42rem;
}

.mini-badge.is-muted {
  border-color: rgba(143, 156, 194, 0.35);
  color: #b7c1dd;
}

.mini-badge.is-tag {
  border-color: rgba(212, 177, 113, 0.45);
  color: #f0dcae;
}

.matchup-card-body p {
  margin: 0;
  color: #aebcde;
  font-size: 0.83rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.counter-group ul,
.synergies-list,
.info-list,
.champion-tips ul,
.champion-combos ul,
.ability-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.counter-group li,
.synergies-list li,
.info-list li,
.champion-tips li,
.champion-combos li,
.ability-card li {
  padding: 0.62rem 0.72rem;
  border-radius: 10px;
  background: rgba(9, 12, 26, 0.64);
  border: 1px solid rgba(122, 146, 230, 0.2);
}

.synergies-visual-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.55rem;
  align-items: center;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.synergies-visual-list li:hover {
  transform: translateY(-1px);
  border-color: rgba(212, 177, 113, 0.45);
}

.synergy-avatar {
  width: 44px;
  height: 44px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid rgba(212, 177, 113, 0.48);
}

.subsection-grid,
.abilities-grid {
  display: grid;
  gap: 0.8rem;
}

.subsection-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.abilities-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.subsection-card,
.ability-card {
  padding: 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(127, 152, 242, 0.24);
  background: rgba(8, 11, 21, 0.55);
}

.subsection-card h3,
.ability-card h3 {
  margin: 0 0 0.65rem;
  color: #dfe7ff;
  font-size: 0.95rem;
}

.ability-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ability-card p {
  margin: 0 0 0.65rem;
  color: #b9c5e4;
}

.ability-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(212, 177, 113, 0.72);
  color: #ffebbf;
  font-weight: 800;
  font-size: 0.78rem;
  background: rgba(212, 177, 113, 0.17);
}

.tag-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.ssg-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(121, 154, 255, 0.38);
  background: rgba(22, 29, 58, 0.76);
  color: #dbe6ff;
  padding: 0.26rem 0.62rem;
  font-size: 0.82rem;
  font-weight: 600;
  transition: transform 0.14s ease, border-color 0.14s ease;
}

.ssg-tag:hover {
  transform: translateY(-1px);
  border-color: rgba(212, 177, 113, 0.44);
}

.ssg-tag img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.section-empty {
  margin: 0;
  color: var(--text-muted);
  font-style: italic;
}

.champion-cta p,
.champion-playstyle p,
.champion-spikes p,
.focus-intro,
.faq-list dd {
  margin: 0;
  color: #bfc9e6;
}

.champion-combos code {
  font-family: "Barlow", "Barlow Fallback", sans-serif;
  color: #f2e0bc;
}

.champion-cta .btn-cta {
  margin-top: 0.8rem;
}

.role-section + .role-section {
  margin-top: 1.2rem;
}

.role-section h2 {
  margin: 0 0 0.8rem;
  font-family: "Orbitron", "Orbitron Fallback", "Barlow", "Barlow Fallback", sans-serif;
  color: #dce6ff;
  font-size: 1.05rem;
}

.tier-group + .tier-group {
  margin-top: 0.7rem;
}

.tier-group h3 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: #9cc9ff;
}

.champions-grid {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
}

.champion-card {
  border: 1px solid rgba(122, 146, 230, 0.3);
  border-radius: 12px;
  background: rgba(10, 13, 24, 0.8);
  padding: 0.7rem;
  display: grid;
  justify-items: center;
  gap: 0.38rem;
  text-align: center;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.champion-card:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 177, 113, 0.58);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.34);
}

.champion-card img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
}

.champion-card span {
  color: #ecf1ff;
  font-weight: 600;
}

.champion-card small {
  color: #9cb2e0;
}

.section-page ul {
  list-style: none;
  margin: 0 auto 1.1rem;
  padding: 0;
  max-width: 700px;
  display: grid;
  gap: 0.6rem;
}

.focus-page {
  max-width: 950px;
}

.focus-header {
  margin-bottom: 1rem;
  padding: 0.2rem 0;
}

.focus-header h1 {
  margin: 0;
}

.faq-list {
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.faq-list dt {
  padding: 0.75rem 0.85rem;
  border-radius: 10px 10px 0 0;
  font-weight: 700;
  color: #eef2ff;
  border: 1px solid rgba(121, 144, 236, 0.26);
  border-bottom: 0;
  background: rgba(15, 19, 36, 0.92);
}

.faq-list dd {
  padding: 0.8rem 0.9rem;
  border-radius: 0 0 10px 10px;
  border: 1px solid rgba(121, 144, 236, 0.26);
  border-top: 0;
  background: rgba(8, 11, 21, 0.6);
}

.faq-cta {
  text-align: center;
}

.faq-cta h3 {
  margin: 0 0 0.5rem;
  color: #f0dbad;
}

.faq-cta p {
  margin: 0 0 0.85rem;
}

.ssg-footer {
  width: min(var(--maxw), calc(100% - 2rem));
  margin: auto auto 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(113, 133, 212, 0.24);
  border-radius: var(--radius-md);
  background: rgba(8, 10, 18, 0.9);
  color: #9fb0da;
  text-align: center;
  font-size: 0.92rem;
}

.sticky-mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem;
  background: rgba(5, 8, 16, 0.95);
  border-top: 1px solid rgba(212, 177, 113, 0.45);
  backdrop-filter: blur(10px);
}

.sticky-mobile-cta a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  color: #fff8e8;
  border: 1px solid rgba(212, 177, 113, 0.58);
  background: linear-gradient(180deg, rgba(212, 177, 113, 0.3), rgba(212, 177, 113, 0.12));
  font-weight: 700;
}

@media (max-width: 980px) {
  .subsection-grid,
  .abilities-grid {
    grid-template-columns: 1fr;
  }

  .matchup-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sticky-mobile-cta {
    display: block;
    z-index: 30;
  }

  body {
    padding-bottom: 78px;
  }

  .ssg-header {
    width: calc(100% - 1rem);
    margin-top: 0.55rem;
    padding: 0.8rem;
    flex-direction: column;
  }

  .ssg-breadcrumb,
  .ssg-main,
  .ssg-footer {
    width: calc(100% - 1rem);
  }

  .ssg-main {
    padding: 1rem;
    margin-bottom: 1.2rem;
  }

  .static-notice .btn-interactive {
    display: none;
  }

  .champion-header {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .champion-meta {
    justify-content: center;
  }

  .rating-item {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .rating-label {
    font-size: 0.82rem;
  }
}

@media (max-width: 480px) {
  .ssg-main h1 {
    font-size: 1.35rem;
  }

  .champion-icon {
    width: 104px;
    height: 104px;
  }

  .champions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ssg-footer {
    font-size: 0.84rem;
  }
}


/* ── MVP badge — inline dans le burger mobile ────────────────────────────── */
.nx-mvp-badge {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  background: #F0C040;
  color: #1a1200;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 2px 6px;
  border-radius: 4px;
  line-height: 1.3;
  pointer-events: none;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

/* ── Core Gen corner energy bar ────────────────────────────────────────────── */
.core-corner-bar {
  position: fixed;
  top: 140px;
  right: 14px;
  z-index: 49998;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px 4px 6px;
  border-radius: 8px;
  background: rgba(10, 12, 26, 0.82);
  border: 1px solid rgba(231, 183, 87, 0.22);
  backdrop-filter: blur(8px);
  color: #e7b757;
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
}
.core-corner-bar:hover {
  border-color: rgba(231, 183, 87, 0.5);
  background: rgba(10, 12, 26, 0.92);
}
.core-corner-bar img { border-radius: 50%; display: block; flex-shrink: 0; }
.core-corner-bar__track {
  width: 72px;
  height: 4px;
  border-radius: 99px;
  background: rgba(231, 183, 87, 0.15);
  overflow: hidden;
}
.core-corner-bar__fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #b8883a, #e7b757);
  transition: width 0.6s ease;
}
.core-corner-bar__count { font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .core-corner-bar { top: auto; bottom: 72px; right: 10px; } }

/* Version du patch en cours dans le menu Meta (desktop + burger), 22/09 — nav.mjs `patchBadge`. */
.nav-dropdown-item small .nav-patch-badge {
  display: inline-block;
  margin-left: 4px;
  padding: 0 6px;
  border: 1px solid rgba(240, 180, 41, .55);
  border-radius: 999px;
  background: rgba(240, 180, 41, .14);
  color: #f0b429;
  font-weight: 800;
  font-size: .95em;
  line-height: 1.45;
  letter-spacing: .02em;
  text-shadow: 0 0 8px rgba(240, 180, 41, .35);
}

/* ── Kit mouvement — « la donnée arrive sous tes yeux » (lot 1 tier list, partagé depuis le lot B, 2026-10-15)
   docs/second-brain/plan-mouvement-whaou-2026-10-15.md · JS : assets/scripts/ui/nx-motion.js (à CHARGER, jamais
   recopier). Quatre verbes : TRACER (.nx-trace icône SVG · .nx-stroke un tracé, pathLength="1"), REMPLIR
   (.nx-fill, scaleX), COMPTER (.nx-count, rouleaux nx-odo en transform), GLISSER ([data-nx-glide], FLIP en JS).
   .nx-trace/.nx-fill sont liés au défilement sous @supports, sauf .nx-timed (une fois, en temps, par le script).
   Les états de départ (.nx-m-pre) ne sont posés QUE par le script : sans JS, sous mouvement réduit ou
   html.perf-lite, la page est complète. */
.nx-trace { overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nx-trace path, .nx-trace line, .nx-trace polyline, .nx-stroke { stroke-dasharray: 1; stroke-dashoffset: 0; }
.nx-m-pre.nx-trace path, .nx-m-pre.nx-trace line, .nx-m-pre.nx-trace polyline, .nx-m-pre .nx-stroke, .nx-m-pre.nx-stroke { stroke-dashoffset: 1; }
.nx-m-pre .nx-fade, .nx-m-pre [data-nx-at], [data-nx-glide].nx-m-pre > * { opacity: 0; }
.nx-fill { transform-origin: 0 50%; }
.nx-m-pre.nx-fill { transform: scaleX(0); }
.nx-count { font-variant-numeric: tabular-nums; }
nx-num { white-space: nowrap; }
nx-odo { position: relative; display: inline-block; clip-path: inset(0); }
nx-ph { visibility: hidden; }
nx-st { position: absolute; left: 0; top: 0; width: 100%; text-align: center; white-space: pre; }
/* L4a : bloc de page hors écran (IntersectionObserver de nx-motion.js) → animations CSS en pause */
.nx-m-off, .nx-m-off *, .nx-m-off::before, .nx-m-off::after, .nx-m-off *::before, .nx-m-off *::after { animation-play-state: paused !important; }
@keyframes nxTrace { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes nxFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    html:not(.perf-lite) .nx-trace:not(.nx-timed) path, html:not(.perf-lite) .nx-trace:not(.nx-timed) line, html:not(.perf-lite) .nx-trace:not(.nx-timed) polyline {
      animation: nxTrace linear both; animation-timeline: view(); animation-range: entry 20% cover 40%; }
    html:not(.perf-lite) .nx-fill:not(.nx-timed) { animation: nxFill linear both; animation-timeline: view(); animation-range: entry 15% cover 40%; }
  }
}
