/* ── Champion Hub « Le Roster » — /champions/ (refonte du 2026-10-14) ─────────────────────────
   Feuille propre au hub (hors SHARED_ASSETS : versionnée par son propre hash dans generate-ssg.mjs,
   section generateChampionsIndex). Grammaire commune à /tierlist/ et /meta/ : chapitres numérotés,
   Tytoon Mist / Orbitron en titrage, Barlow en texte, jetons cyan / or / violet, couleurs de rôle.
   Structure : héros (titre + champion du moment + frise de détourages) → barre de commande collante
   → chapitre 01 « Aujourd'hui » (rails, rendus par champions-enhance.js) → chapitre 02 « Le roster »
   (grille de cartes-portraits, HTML complet pour Google) → FAQ. La fiche rapide est un <dialog>.
   Animations : transform / opacity seulement, coupées sous prefers-reduced-motion.
   Note de conception : docs/second-brain/design-refonte-hub-champions-2026-10-14.md */

.chub-main {
  --bg: #070b16; --bg-2: #0b1020;
  --panel: rgba(255,255,255,.04); --panel-2: rgba(255,255,255,.07);
  --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.16);
  --fg: #e7ecf7; --fg-2: #9aa6bf; --fg-3: #67738f;
  --cyan: #42b7ff; --gold: #f0b429; --violet: #a78bfa; --green: #34d399; --red: #f87171;
  --display: 'Orbitron', 'Tytoon Mist', sans-serif;
  --title: 'Tytoon Mist', 'Orbitron', sans-serif;
  --r: 14px;
  --chub-sticky-top: 0px;
  color: var(--fg);
}
.chub-main .num { font-variant-numeric: tabular-nums; }
.chub-main .t-baron { --role: #e8734a; } .chub-main .t-jungle { --role: #4ade80; } .chub-main .t-mid { --role: #c084fc; }
.chub-main .t-dragon { --role: #60a5fa; } .chub-main .t-support { --role: #fbbf24; }
.chub-main .ctier-splus { --tier-c: var(--gold); } .chub-main .ctier-s { --tier-c: var(--cyan); } .chub-main .ctier-a { --tier-c: var(--green); }
.chub-main .ctier-b { --tier-c: #cbd5e1; } .chub-main .ctier-c, .chub-main .ctier-d, .chub-main .ctier-new { --tier-c: var(--fg-3); }
.chub-eyebrow { font-family: var(--display); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); font-weight: 600; }

/* ── Héros ───────────────────────────────────────────────────────────────── */
.chub-hero { position: relative; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; isolation: isolate;
  background: radial-gradient(60% 50% at 10% 0%, rgba(66,183,255,.14), transparent 60%),
              radial-gradient(40% 40% at 95% 20%, color-mix(in srgb, var(--spot-c1, #47ffd0) 22%, transparent), transparent 70%),
              linear-gradient(180deg, #0c1326, #080d1a 70%, #070b16);
  box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.chub-hero__grain { position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.chub-hero__top { position: relative; z-index: 2; display: grid; grid-template-columns: 1.25fr .9fr; gap: 28px; padding: 30px clamp(18px, 4vw, 40px) 8px; align-items: end; }
.chub-hero__copy { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.chub-main .chub-hero h1 { font-family: var(--title); font-weight: 800; font-size: clamp(1.7rem, 4.2vw, 3rem); line-height: 1.02; margin: 0; letter-spacing: .01em; color: var(--fg); text-wrap: balance; }
.chub-hero__lead { color: var(--fg-2); max-width: 56ch; margin: 0; font-size: 1rem; line-height: 1.5; }
.chub-hero__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .76rem; color: var(--fg-3); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.chub-hero__meta b { color: var(--fg); }
.chub-hero__fresh { margin: 0; font-size: .74rem; color: var(--fg-3); }
.chub-doors { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.chub-door { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 10px 16px 10px 14px; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--fg); font: inherit; font-weight: 600; font-size: .9rem; text-decoration: none; cursor: pointer; transition: transform .2s, border-color .2s, background .2s; }
.chub-door:hover { transform: translateY(-1px); border-color: var(--cyan); color: var(--fg); }
.chub-door--main { background: var(--cyan); color: #04121f; border-color: transparent; }
.chub-door--main:hover { background: #6ec7ff; color: #04121f; }
.chub-door kbd { font-family: var(--display); font-size: .62rem; border: 1px solid currentColor; border-radius: 6px; padding: 2px 6px; opacity: .8; }

/* champion du moment */
.chub-spot { position: relative; display: grid; align-items: end; min-height: 250px; border-radius: 18px; overflow: hidden; color: inherit; text-decoration: none;
  border: 1px solid color-mix(in srgb, var(--spot-c1, #47ffd0) 40%, var(--line));
  background: radial-gradient(70% 70% at 70% 30%, color-mix(in srgb, var(--spot-c1, #47ffd0) 36%, transparent), transparent 70%),
              radial-gradient(60% 50% at 20% 100%, color-mix(in srgb, var(--spot-c2, #47ffd0) 24%, transparent), transparent 70%), rgba(255,255,255,.03);
  transition: transform .25s, box-shadow .25s; }
.chub-spot:hover { transform: translateY(-2px); box-shadow: 0 18px 40px color-mix(in srgb, var(--spot-c1, #47ffd0) 24%, transparent); }
.chub-spot__cut { position: absolute; right: -6%; bottom: -4%; height: 112%; width: auto; max-width: none; filter: drop-shadow(0 20px 30px rgba(0,0,0,.55)); animation: chub-float 7s ease-in-out infinite; }
.chub-spot__copy { position: relative; z-index: 1; padding: 18px; display: flex; flex-direction: column; gap: 4px; max-width: 60%; }
.chub-spot__kicker { font-family: var(--display); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--spot-c1, var(--cyan)); }
.chub-spot__name { font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1; color: var(--fg); }
.chub-spot__line { color: var(--fg-2); font-size: .84rem; line-height: 1.4; }
.chub-spot__line b { color: var(--green); }
.chub-spot__pulse { position: absolute; top: 14px; left: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.chub-spot__pulse i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: chub-pulse 2.2s infinite; }
@keyframes chub-pulse { 70% { box-shadow: 0 0 0 10px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
@keyframes chub-float { 50% { transform: translateY(-6px); } }

/* frise de détourages (transform seul, un seul will-change) */
.chub-frise { position: relative; z-index: 1; height: 190px; margin-top: 6px; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.chub-frise::after { content: ''; position: absolute; inset: auto 0 0; height: 70px; background: linear-gradient(180deg, transparent, #070b16); pointer-events: none; }
.chub-frise__track { display: flex; align-items: flex-end; height: 100%; width: max-content; will-change: transform; animation: chub-slide 70s linear infinite; }
.chub-frise:hover .chub-frise__track { animation-play-state: paused; }
.chub-frise__it { height: 100%; display: flex; align-items: flex-end; margin: 0 -14px; position: relative; cursor: pointer; }
.chub-frise__it img { height: 92%; width: auto; max-width: none; filter: drop-shadow(0 14px 20px rgba(0,0,0,.6)) saturate(.9); transition: transform .3s, filter .3s; transform-origin: bottom center; }
.chub-frise__it:hover img { transform: scale(1.06) translateY(-4px); filter: drop-shadow(0 18px 24px rgba(0,0,0,.7)) saturate(1.1); }
.chub-frise__it span { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); font-family: var(--display); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg); background: rgba(7,11,22,.7); padding: 4px 8px; border-radius: 6px; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.chub-frise__it:hover span { opacity: 1; }
@keyframes chub-slide { to { transform: translateX(-50%); } }

.chub-intro { margin: 18px 0 0; color: var(--fg-2); font-size: .9rem; line-height: 1.7; max-width: 80ch; }

/* ── Barre de commande (collante) ────────────────────────────────────────── */
.chub-controls { position: sticky; top: var(--chub-sticky-top); z-index: 20; margin: 16px -1.5rem 0; padding: 10px 1.5rem; background: rgba(7,11,22,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.chub-controls__row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.chub-search { position: relative; flex: 1 1 240px; min-width: 0; display: block; }
.chub-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--fg-3); pointer-events: none; }
.chub-search input { width: 100%; box-sizing: border-box; background: var(--panel); border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 64px 10px 38px; color: var(--fg); font: inherit; outline: none; transition: border-color .2s, box-shadow .2s; }
.chub-search input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(66,183,255,.14); }
.chub-count { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: .7rem; font-weight: 700; color: var(--fg-2); background: var(--panel-2); border-radius: 999px; padding: 3px 9px; }
.chub-sort { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--fg-2); }
.chub-sort select { background: var(--panel); border: 1px solid var(--line-2); border-radius: 10px; padding: 8px 10px; color: var(--fg); font: inherit; font-size: .8rem; }
.chub-sort select option { color: #111; }
.chub-role-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.chub-tab { position: relative; border: 1px solid var(--line); background: var(--panel); color: var(--fg); border-radius: 999px; padding: 7px 12px; font: inherit; font-size: .78rem; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; transition: border-color .2s, background .2s; }
.chub-tab i { width: 8px; height: 8px; border-radius: 50%; background: var(--role, var(--fg-2)); }
.chub-tab small { color: var(--fg-3); font-weight: 600; font-size: .72rem; }
.chub-tab[aria-selected="true"] { background: color-mix(in srgb, var(--role, var(--cyan)) 18%, transparent); border-color: color-mix(in srgb, var(--role, var(--cyan)) 60%, transparent); }
.chub-chips { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.chub-chip { border: 1px dashed var(--line-2); background: transparent; border-radius: 999px; padding: 5px 11px; font: inherit; font-size: .74rem; font-weight: 600; color: var(--fg-2); cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.chub-chip[aria-pressed="true"] { border-style: solid; border-color: var(--violet); color: var(--fg); background: rgba(167,139,250,.14); }
.chub-chip--reset { border: 0; color: var(--fg-3); text-decoration: underline; }
.chub-chip--reset[hidden] { display: none; }

/* ── Chapitres ───────────────────────────────────────────────────────────── */
.chub-chap { margin-top: 30px; }
.chub-chap__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.chub-chap__title { display: flex; align-items: baseline; gap: 12px; }
.chub-chap__n { font-family: var(--display); font-size: .78rem; color: var(--gold); letter-spacing: .14em; }
.chub-main .chub-chap h2 { margin: 0; font-family: var(--title); font-weight: 700; font-size: 1.3rem; letter-spacing: .03em; color: var(--fg); }
.chub-chap__sub { color: var(--fg-2); font-size: .84rem; }
.chub-chap--rails:not(.is-ready) { display: none; }

/* rails du jour */
.chub-rail__tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.chub-rail__tab { border: 1px solid var(--line); background: var(--panel); border-radius: 10px; padding: 7px 11px; font: inherit; font-size: .76rem; font-weight: 600; color: var(--fg-2); cursor: pointer; }
.chub-rail__tab[aria-selected="true"] { color: var(--fg); border-color: var(--gold); background: rgba(240,180,41,.12); }
.chub-rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 10px; scrollbar-width: thin; }
.chub-rc { scroll-snap-align: start; flex: 0 0 176px; position: relative; height: 128px; border-radius: 16px; overflow: hidden; color: inherit; text-decoration: none; border: 1px solid color-mix(in srgb, var(--c1, #42b7ff) 30%, var(--line));
  background: radial-gradient(80% 80% at 90% 20%, color-mix(in srgb, var(--c1, #42b7ff) 34%, transparent), transparent 70%), radial-gradient(60% 60% at 0% 100%, color-mix(in srgb, var(--c2, #42b7ff) 22%, transparent), transparent 70%), var(--bg-2);
  transition: transform .2s, box-shadow .2s; }
.chub-rc:hover, .chub-rc:focus-visible { transform: translateY(-3px); box-shadow: 0 14px 30px color-mix(in srgb, var(--c1, #42b7ff) 28%, transparent); color: inherit; }
.chub-rc img { position: absolute; right: -16%; bottom: -6%; height: 108%; width: auto; max-width: none; filter: drop-shadow(0 10px 14px rgba(0,0,0,.55)); }
.chub-rc img.is-portrait { right: 0; bottom: 0; height: 100%; width: 46%; object-fit: cover; object-position: 50% 12%; filter: none; }
.chub-rc::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,11,22,.72), transparent 65%); z-index: 1; pointer-events: none; }
.chub-rc__copy { position: absolute; left: 12px; top: 12px; bottom: 12px; display: flex; flex-direction: column; justify-content: space-between; width: 56%; z-index: 1; }
.chub-rc__name { font-family: var(--display); font-weight: 700; font-size: .84rem; line-height: 1.1; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.chub-rc__role { font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--role); font-weight: 700; }
.chub-rc__metric { font-size: .78rem; font-weight: 700; color: var(--fg); text-shadow: 0 2px 8px rgba(0,0,0,.7); }
.chub-rc__metric .up { color: var(--green); } .chub-rc__metric .down { color: var(--red); }
.chub-rc__metric small { display: block; font-weight: 500; color: var(--fg-2); font-size: .64rem; letter-spacing: .04em; text-transform: uppercase; }

/* bulle de tendance (survol d'une tuile de rail) — position: fixed, cachée au scroll et au blur */
.chub-trend { position: fixed; z-index: 60; width: 300px; padding: 10px 12px 8px; border-radius: 14px; background: rgba(10,15,31,.96); border: 1px solid var(--line-2); box-shadow: 0 20px 50px rgba(0,0,0,.55); pointer-events: none; opacity: 0; transform: translateY(6px); transition: opacity .15s, transform .15s; }
.chub-trend.is-on { opacity: 1; transform: none; }
.chub-trend__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.chub-trend__title { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); font-weight: 700; }
.chub-trend__delta { font-family: var(--display); font-size: .8rem; font-weight: 700; white-space: nowrap; flex: none; }
.chub-trend__delta.up { color: var(--green); } .chub-trend__delta.down { color: var(--red); }
.chub-trend svg { display: block; width: 100%; height: auto; }

/* ── Grille vivante ──────────────────────────────────────────────────────── */
.chub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; }
.chub-cell { position: relative; display: flex; flex-direction: column; gap: 5px; min-width: 0; border-radius: var(--r); view-transition-name: var(--vt); animation: chub-in .5s calc(var(--i, 0) * 12ms) cubic-bezier(.2,.8,.2,1) both; content-visibility: auto; contain-intrinsic-size: auto 160px 232px; }
.chub-cell[hidden] { display: none; }
@keyframes chub-in { from { opacity: 0; transform: translateY(12px); } }
.chub-card { display: flex; flex-direction: column; gap: 6px; color: inherit; text-decoration: none; }
.chub-card:hover, .chub-card:focus-visible { color: inherit; }
.chub-card__frame { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); isolation: isolate;
  background: radial-gradient(100% 80% at 50% 110%, color-mix(in srgb, var(--c1, #42b7ff) 34%, transparent), transparent 70%), var(--bg-2);
  transition: border-color .25s, box-shadow .25s, transform .25s; }
.chub-card__frame::after { content: ''; position: absolute; inset: auto 0 0; height: 3px; background: var(--role); z-index: 3; }
.chub-card__frame::before { content: ''; position: absolute; inset: auto 0 0; height: 46%; z-index: 2; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(7,11,22,.78)); }
.chub-card__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; opacity: 0; transform: scale(1.001); transition: opacity .5s ease, transform 1.4s ease; }
.chub-card__art.on { opacity: 1; }
.chub-card:hover .chub-card__art.on, .chub-card:focus-visible .chub-card__art.on { transform: scale(1.06); }
.chub-card:hover .chub-card__frame, .chub-card:focus-visible .chub-card__frame { border-color: color-mix(in srgb, var(--c1, #42b7ff) 60%, transparent); box-shadow: 0 14px 34px color-mix(in srgb, var(--c1, #42b7ff) 30%, transparent); transform: translateY(-3px); }
.chub-card__skin { position: absolute; left: 8px; right: 38px; bottom: 9px; z-index: 3; font-size: .64rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s; }
.chub-card__skin.show { opacity: 1; transform: none; }
.chub-card__skin small { display: block; font-size: .56rem; letter-spacing: .12em; color: var(--c1, var(--cyan)); }
.chub-card__tier { position: absolute; top: 7px; right: 7px; z-index: 3; font-family: var(--display); font-size: .62rem; font-weight: 800; letter-spacing: .03em; padding: 3px 6px; border-radius: 7px; background: rgba(7,11,22,.75); border: 1px solid var(--tier-c, var(--line-2)); color: var(--tier-c, var(--fg)); }
.chub-card__pulse { position: absolute; top: 7px; left: 7px; z-index: 3; font-size: .62rem; font-weight: 800; padding: 3px 6px; border-radius: 7px; background: rgba(7,11,22,.75); }
.chub-card__pulse.up { color: var(--green); } .chub-card__pulse.down { color: var(--red); }
.chub-card__foot { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; padding-inline: 2px; }
.chub-card__name { font-weight: 600; font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; color: var(--fg); }
.chub-card__role { font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--role); flex-shrink: 0; }
/* Le bouton ⓘ vit hors du lien (un bouton dans un <a> est invalide) : une ancre au padding-top de 125 %
   (= la hauteur du cadre 4/5, les pourcentages de padding se lisent sur la largeur) le pose dans le cadre. */
.chub-peek-anchor { position: absolute; top: 0; left: 0; width: 100%; padding-top: calc(125% + 2px); pointer-events: none; z-index: 4; }
.chub-peek { position: absolute; bottom: 8px; right: 7px; pointer-events: auto; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(7,11,22,.8); color: var(--fg); font-family: Georgia, serif; font-style: italic; font-size: .8rem; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .2s, border-color .2s; }
.chub-peek:hover, .chub-peek:focus-visible { opacity: 1; border-color: var(--cyan); }
.chub-cell:hover .chub-peek, .chub-cell:focus-within .chub-peek { opacity: 1; }
@media (hover: none) { .chub-peek { opacity: .9; } }

/* Pont vers builds/counters (2026-09-23) : les deux liens restent dans le HTML de chaque cellule,
   le script masque la CELLULE (sinon les liens resteraient visibles sous une carte cachée). */
.chub-cell__links { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; font-size: .58rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,.52); white-space: nowrap; overflow: hidden; }
.chub-cell__links a { color: inherit; text-decoration: none; transition: color .2s ease; }
.chub-cell__links a:hover, .chub-cell__links a:focus-visible { color: #42b7ff; text-decoration: underline; }

.chub-empty { text-align: center; padding: 40px 20px; color: var(--fg-2); font-size: .9rem; grid-column: 1 / -1; }
.chub-empty[hidden] { display: none; }
::view-transition-group(*) { animation-duration: .4s; }

/* ── Fiche rapide (<dialog> natif) ───────────────────────────────────────── */
dialog.chub-sheet { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; color: var(--fg, #e7ecf7); }
dialog.chub-sheet::backdrop { background: rgba(3,6,14,.6); backdrop-filter: blur(6px); }
.chub-sheet__panel { position: fixed; right: 0; bottom: 0; width: min(440px, 100%); height: 100%; background: #0a0f1f; border-left: 1px solid rgba(255,255,255,.16); overflow-y: auto; display: flex; flex-direction: column; animation: chub-slidein .32s cubic-bezier(.2,.8,.2,1); color: #e7ecf7;
  --panel: rgba(255,255,255,.04); --panel-2: rgba(255,255,255,.07); --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.16); --fg: #e7ecf7; --fg-2: #9aa6bf; --fg-3: #67738f; --cyan: #42b7ff; --green: #34d399; --red: #f87171; --display: 'Orbitron', 'Tytoon Mist', sans-serif; }
.chub-sheet__panel.t-baron { --role: #e8734a; } .chub-sheet__panel.t-jungle { --role: #4ade80; } .chub-sheet__panel.t-mid { --role: #c084fc; } .chub-sheet__panel.t-dragon { --role: #60a5fa; } .chub-sheet__panel.t-support { --role: #fbbf24; }
@keyframes chub-slidein { from { transform: translateX(40px); opacity: 0; } }
@keyframes chub-slideup { from { transform: translateY(40px); opacity: 0; } }
.chub-sheet__art { position: relative; height: 240px; flex-shrink: 0; overflow: hidden;
  background: radial-gradient(70% 80% at 70% 40%, color-mix(in srgb, var(--c1, #42b7ff) 46%, transparent), transparent 70%), radial-gradient(50% 60% at 10% 100%, color-mix(in srgb, var(--c2, #42b7ff) 30%, transparent), transparent 70%), #0b1020; }
.chub-sheet__art img { position: absolute; right: -2%; bottom: 0; height: 100%; width: auto; max-width: none; filter: drop-shadow(0 18px 24px rgba(0,0,0,.6)); }
.chub-sheet__art img.is-portrait { right: 0; width: 52%; object-fit: cover; object-position: 50% 10%; filter: none; mask-image: linear-gradient(90deg, transparent, #000 30%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); }
.chub-sheet__art::after { content: ''; position: absolute; inset: auto 0 0; height: 80px; background: linear-gradient(180deg, transparent, #0a0f1f); }
.chub-sheet__close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(7,11,22,.7); color: var(--fg); cursor: pointer; font-size: 1.1rem; line-height: 1; }
.chub-sheet__head { position: absolute; left: 18px; right: 50%; bottom: 14px; z-index: 1; }
.chub-sheet__head .chub-eyebrow { color: var(--role, var(--cyan)); }
.chub-sheet__name { font-family: var(--display); font-weight: 800; font-size: 1.6rem; line-height: 1; margin: 4px 0 0; color: var(--fg); }
.chub-sheet__body { padding: 16px 18px calc(24px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 16px; }
.chub-facts { display: flex; flex-wrap: wrap; gap: 6px; }
.chub-fact { font-size: .72rem; font-weight: 600; padding: 4px 9px; border-radius: 8px; background: var(--panel-2); border: 1px solid var(--line); }
.chub-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.chub-stat { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.chub-stat small { display: block; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); font-weight: 700; }
.chub-stat b { font-family: var(--display); font-size: 1rem; font-weight: 700; }
.chub-stat em { font-style: normal; font-size: .7rem; font-weight: 700; margin-left: 4px; white-space: nowrap; }
.chub-stat em.up { color: var(--green); } .chub-stat em.down { color: var(--red); }
.chub-list h4 { margin: 0 0 6px; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); font-family: inherit; }
.chub-names { display: flex; flex-wrap: wrap; gap: 6px; }
.chub-nm { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px 3px 3px; color: inherit; text-decoration: none; }
.chub-nm:hover { border-color: var(--cyan); color: inherit; }
.chub-nm img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.chub-skins { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: none; }
.chub-skin { flex: 0 0 92px; margin: 0; scroll-snap-align: start; }
.chub-skin img { display: block; width: 92px; height: 138px; object-fit: cover; object-position: 50% 12%; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); }
.chub-skin figcaption { font-size: .64rem; color: var(--fg-3); margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chub-ctas { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 4px; }
.chub-cta { text-align: center; border-radius: 12px; padding: 11px 8px; font-weight: 700; font-size: .8rem; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--fg); text-decoration: none; }
.chub-cta:hover { border-color: var(--cyan); color: var(--fg); }
.chub-cta--main { background: var(--cyan); color: #04121f; border-color: transparent; }
.chub-cta--main:hover { background: #6ec7ff; color: #04121f; }
.chub-sheet__note { font-size: .7rem; color: var(--fg-3); margin: 0; }

/* ── Sections conservées : FAQ, sections de crosslinks ───────────────────── */
.chub-section { margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.08); }
.chub-section__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.chub-section__head h2 { margin: 0 0 8px; font-family: var(--title); font-size: clamp(1rem, 1.6vw, 1.25rem); color: var(--fg); }
.chub-section__head p { margin: 0; max-width: 780px; color: var(--fg-2); line-height: 1.7; font-size: .86rem; }
.chub-faq { display: grid; gap: 10px; }
.chub-faq__item { border-radius: 12px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); padding: 14px 16px; }
.chub-faq__item summary { cursor: pointer; font-weight: 700; color: var(--fg); }
.chub-faq__item p { margin: 10px 0 0; color: var(--fg-2); line-height: 1.7; font-size: .84rem; }

/* ── Mobile ──────────────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .chub-hero__top { grid-template-columns: 1fr; padding: 22px 16px 6px; gap: 16px; }
  .chub-spot { min-height: 200px; }
  .chub-spot__copy { max-width: 62%; padding: 14px; }
  .chub-frise { height: 140px; }
  .chub-controls { margin-inline: -1rem; padding-inline: 1rem; gap: 6px; }
  .chub-controls__row { flex-wrap: nowrap; }
  .chub-sort { flex-shrink: 0; font-size: 0; gap: 0; }
  .chub-sort select { font-size: .78rem; max-width: 118px; }
  .chub-role-tabs, .chub-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -1rem; padding-inline: 1rem; -webkit-overflow-scrolling: touch; }
  .chub-role-tabs::-webkit-scrollbar, .chub-chips::-webkit-scrollbar { display: none; }
  .chub-tab, .chub-chip { flex-shrink: 0; white-space: nowrap; }
  .chub-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .chub-cell { contain-intrinsic-size: auto 110px 190px; }
  .chub-card__name { font-size: .78rem; }
  .chub-card__role { display: none; }
  .chub-sheet__panel { width: 100%; height: auto; max-height: 92%; border-left: 0; border-top: 1px solid rgba(255,255,255,.16); border-radius: 22px 22px 0 0; animation-name: chub-slideup; }
  .chub-sheet__art { height: 200px; }
  .chub-rc { flex-basis: 156px; }
  .chub-trend { display: none; }
}
@media (max-width: 420px) {
  .chub-door { font-size: .82rem; padding: 9px 13px; }
  .chub-hero__meta { font-size: .68rem; }
}
@media (prefers-reduced-motion: reduce) {
  .chub-frise__track, .chub-spot__cut, .chub-spot__pulse i, .chub-cell, .chub-sheet__panel { animation: none !important; }
  .chub-main *, .chub-sheet__panel * { transition-duration: .01ms !important; }
}
/* perf-lite (compat/perfAdaptive.js, appareil lent) : aucune animation infinie. */
html.perf-lite .chub-frise__track, html.perf-lite .chub-spot__cut, html.perf-lite .chub-spot__pulse i { animation: none !important; }
