/* ── Tier List page styles ────────────────────────────────────────────────── */

/* Pas de @font-face « Inter » ici : le fichier /Font/inter/… n'a jamais existé dans le dépôt
   (404 sur chaque visite de /tierlist/, mesuré le 2026-09-06). Les piles `"Inter", "Barlow", …`
   ci-dessous retombent sur Barlow, ce que les visiteurs voyaient déjà. */

/* Role colour tokens (shared with home) */
:root {
  --role-top:     #e8734a;
  --role-jungle:  #4ade80;
  --role-mid:     #c084fc;
  --role-bot:     #60a5fa;
  --role-support: #fbbf24;
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.tl-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 48px;
  padding: 32px 0 36px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  position: relative;
  text-align: center;
}
.tl-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 0% 50%, rgba(66,183,255,.07), transparent);
  pointer-events: none;
}
.tl-hero__lede-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: min(900px, calc(100% - 24px));
}
.tl-hero__lede-stack::before {
  content: "";
  position: absolute;
  inset: -20px -28px;
  border-radius: 30px;
  background:
    radial-gradient(circle at center, rgba(4, 9, 22, .52), rgba(4, 9, 22, .18) 58%, rgba(4, 9, 22, 0) 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: none;
  z-index: 0;
}
.tl-hero__title {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .22em;
  font-family: 'Orbitron', 'Orbitron Fallback', 'Tytoon Mist', 'Tytoon Mist Fallback', sans-serif;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
  margin: 0;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255,255,255,.1), 0 2px 18px rgba(0,0,0,.6);
}
.tl-hero__title span {
  display: block;
  font-family: 'Tytoon Mist', 'Tytoon Mist Fallback', 'Orbitron', 'Orbitron Fallback', sans-serif;
  font-size: clamp(2.9rem, 7vw, 5.2rem);
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: none;
  background: linear-gradient(180deg, #f3f9ff 0%, #bfe3ff 42%, #5fb9f5 78%, #3d92d1 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 34px rgba(66,183,255,.4)) drop-shadow(0 3px 10px rgba(0,0,0,.5));
}
.tl-hero__desc {
  position: relative;
  z-index: 1;
  font-family: "Inter", "Barlow", "Barlow Fallback", "Segoe UI", sans-serif;
  font-size: clamp(0.98rem, 1.18vw, 1.1rem);
  color: rgba(245, 248, 255, 0.96);
  line-height: 1.72;
  margin: 0;
  max-width: 100%;
  text-shadow:
    0 2px 14px rgba(0, 0, 0, 0.82),
    0 0 28px rgba(0, 0, 0, 0.34);
}
.tl-hero__desc-sep {
  color: rgba(255,255,255,.28);
  margin: 0 2px;
}
.tl-freshness {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-family: 'Orbitron', 'Orbitron Fallback', 'Barlow', 'Barlow Fallback', sans-serif;
  font-size: .78rem;
  color: rgba(235, 245, 255, .82);
  text-transform: uppercase;
  letter-spacing: .12em;
}
.tl-hero__ctas {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.tl-cta {
  font-family: "Inter", "Barlow", "Barlow Fallback", "Segoe UI", sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 9px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: all .15s;
  white-space: nowrap;
}
.tl-cta--primary {
  background: var(--accent-cyan);
  color: #0a162f;
  &:hover { background: #7dd8f8; }
}
.tl-cta--secondary {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--text-strong);
  &:hover { background: rgba(255,255,255,.1); }
}

/* ── Section ──────────────────────────────────────────────────────────────── */
.tl-section {
  margin-bottom: 56px;
  text-align: center;
}
.tl-section-title-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
  text-align: center;
}

.tl-section-title {
  position: relative;
  width: fit-content;
  font-family: 'Tytoon Mist', 'Tytoon Mist Fallback', "Orbitron", "Orbitron Fallback", "Barlow", "Barlow Fallback", sans-serif;
  font-size: clamp(1.05rem, 1.9vw, 1.28rem);
  font-weight: 400;
  letter-spacing: .06em;
  color: #42b7ff;
  margin: 0 0 20px;
  padding: 0 14px 4px;
  border-bottom: none;
  text-align: center;
}

.tl-section > .tl-section-title,
.tl-section-title-row > .tl-section-title {
  margin-left: auto;
  margin-right: auto;
}
.tl-section-title::before {
  content: '';
  position: absolute;
  inset: -5px -14px;
  z-index: -1;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 74' preserveAspectRatio='none'%3E%3Cpath fill='%2342b7ff' fill-opacity='0.13' d='M5 31C3 21 6 12 16 9C55 3 130 8 210 6C290 4 370 9 445 6C482 5 518 6 544 10C568 13 585 18 592 24C598 29 598 35 596 40C598 45 596 52 588 56C568 62 532 61 492 64C415 68 330 63 248 65C168 67 94 63 50 66C30 67 12 64 5 57C1 52 2 43 5 38Z'/%3E%3Cpath fill='%2342b7ff' fill-opacity='0.06' d='M0 35C1 23 9 13 22 9C65 1 148 6 232 4C316 2 400 7 476 4C512 3 546 4 568 8C586 11 597 16 600 23C602 29 600 36 598 42C600 48 598 56 589 61C562 69 520 67 470 70C386 74 298 69 212 71C135 73 62 69 28 67C10 65 -1 58 0 50Z'/%3E%3C/svg%3E");
}
.tl-section-lead {
  font-family: "Inter", "Barlow", "Barlow Fallback", "Segoe UI", sans-serif;
  font-size: .92rem;
  color: rgba(243, 247, 255, 0.94);
  margin: -12px 0 18px;
  max-width: 100%;
  text-align: center;
  line-height: 1.72;
  text-shadow:
    0 2px 14px rgba(0, 0, 0, 0.82),
    0 0 28px rgba(0, 0, 0, 0.34);
}

.tl-copy-hook {
  font-family: "Inter", "Barlow", "Barlow Fallback", "Segoe UI", sans-serif;
}

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

.tl-guide-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  padding: 18px;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid rgba(66,183,255,.16);
  border-left: 3px solid rgba(66,183,255,.46);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03)),
    radial-gradient(circle at top right, rgba(66,183,255,.10), transparent 52%);
  transition: transform .18s, border-color .18s, background .18s, box-shadow .18s;
}

.tl-guide-card:hover {
  transform: translateY(-3px);
  border-color: rgba(66,183,255,.3);
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.04)),
    radial-gradient(circle at top right, rgba(66,183,255,.14), transparent 56%);
  box-shadow: 0 12px 26px rgba(0,0,0,.24);
}

.tl-guide-card__media {
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 16 / 9;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
}

.tl-guide-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.tl-guide-card h3 {
  margin: 0;
  font-family: 'Tytoon Mist', 'Tytoon Mist Fallback', 'Orbitron', 'Orbitron Fallback', sans-serif;
  font-size: 1.06rem;
  line-height: 1.4;
  letter-spacing: .04em;
  color: var(--text-strong);
  text-align: center;
}

.tl-guide-card p {
  margin: 0;
  font-family: "Inter", "Barlow", "Barlow Fallback", "Segoe UI", sans-serif;
  font-size: .9rem;
  line-height: 1.68;
  color: rgba(238, 243, 255, 0.92);
  text-align: center;
}

.tl-guide-card__link {
  margin-top: auto;
  font-family: "Inter", "Barlow", "Barlow Fallback", "Segoe UI", sans-serif;
  font-size: .75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-align: center;
}

/* ── Scène « picks prioritaires » ─────────────────────────────────────────── */
/* Une lane à la fois, tous ses S+ en relief. La profondeur ne vient QUE de la
   taille, de la position et d'un assombrissement : pas de flou (illisible sur
   des splash déjà sombres). Chaque figure est dessinée à la taille du premier
   plan et reculée par scale(), donc seuls transform/opacity/filter s'animent. */
.tl-stage { display: flex; flex-direction: column; gap: 14px; }

.tl-stage__tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.tl-stage__tab,
.tl-stage__nav {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 13px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  font-family: "Inter", "Barlow", "Barlow Fallback", "Segoe UI", sans-serif;
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}
.tl-stage__nav { width: 44px; padding: 0; justify-content: center; }
.tl-stage__nav svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tl-stage__tab:hover,
.tl-stage__nav:hover { color: var(--text-strong); border-color: rgba(255,255,255,.2); }
.tl-stage__tab-icon { width: 16px; height: 16px; object-fit: contain; filter: brightness(0) invert(1); opacity: .55; }
.tl-stage__tab-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: rgba(255,255,255,.07);
  font-family: 'Orbitron', 'Orbitron Fallback', sans-serif; font-size: .58rem; font-weight: 800; color: var(--text-muted);
}
.tl-stage__tab[aria-pressed="true"] {
  color: var(--role);
  border-color: color-mix(in srgb, var(--role) 50%, transparent);
  background: color-mix(in srgb, var(--role) 14%, transparent);
}
.tl-stage__tab[aria-pressed="true"] .tl-stage__tab-icon { opacity: 1; filter: brightness(0) invert(1) drop-shadow(0 0 5px var(--role)); }
.tl-stage__tab[aria-pressed="true"] .tl-stage__tab-count { background: color-mix(in srgb, var(--role) 26%, transparent); color: var(--role); }

.tl-lane {
  position: relative;
  border-radius: 18px;
  padding: 20px 24px 22px;
  background:
    radial-gradient(ellipse 68% 86% at 50% 104%, color-mix(in srgb, var(--role) 12%, transparent), transparent 62%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0) 58%, #04050a 100%);
  border: 1px solid color-mix(in srgb, var(--role) 22%, transparent);
  overflow: hidden;
}
.tl-lane::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(120,150,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,150,255,.045) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(ellipse 80% 72% at 50% 92%, #000 8%, transparent 74%);
  mask-image: radial-gradient(ellipse 80% 72% at 50% 92%, #000 8%, transparent 74%);
  pointer-events: none;
}
.tl-lane { text-align: left; }
.tl-lane__title {
  position: relative;
  margin: 0 0 6px;
  font-family: 'Orbitron', 'Orbitron Fallback', 'Barlow', 'Barlow Fallback', sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-strong);
}

/* — Le podium — */
/* Tuiles par rang (2026-09-03) : remplace le socle-dais (2026-08-29). Le socle avait été
   choisi pour ne jamais encadrer le détourage — décision inversée sur demande explicite :
   sans repère, le personnage détouré se lisait « dans le vide », sans lien avec sa cellule
   de stats. La matière du cadre code le RANG (or/argent/bronze/acier), le halo + le fond
   codent le CHAMPION (--glow, palette déjà calculée par champion). */
.tl-lane__scene { position: relative; }
.tl-podium {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 22px;
  padding-top: 52px;
}
.tl-tile {
  position: relative;
  flex: none;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  width: var(--tw);
  height: var(--th);
  transition: transform .3s cubic-bezier(.22,.9,.28,1);
}
.tl-tile__frame {
  position: absolute; inset: 0;
  padding: var(--tframe);
  background: var(--tmetal);
  clip-path: var(--tclip);
  filter: drop-shadow(0 0 var(--tglow-r) color-mix(in srgb, var(--tmetal-glow) var(--tglow-a), transparent));
  z-index: 1;
  transition: filter .3s;
}
/* Fond de tuile — trois couches animées (2026-09-04, remplace le lavis plat).
   Le lavis précédent mélangeait le métal du rang (désaturé par nature : #d4b171,
   #c8d6ee…) à ~40 % sur du bleu nuit — un mélange qui donne du kaki ou du gris,
   d'où le rendu terne signalé. La matière du rang est donc rendue par des RAYONS
   (couleur pure, faible surface) au lieu d'un voile plein, et la couleur portante
   redevient celle du champion (--glow, saturée).
   Tout ce qui bouge est en transform/opacity : composition GPU, aucun repaint.
   `clip-path` du parent découpe les pseudo-éléments — pas besoin d'overflow. */
.tl-tile__fill {
  position: relative;
  width: 100%; height: 100%; box-sizing: border-box;
  clip-path: var(--tclip);
  background:
    radial-gradient(ellipse 92% 60% at 50% 104%, color-mix(in srgb, var(--glow) var(--tchamp-a), transparent), transparent 70%),
    linear-gradient(180deg, var(--tbg-top), var(--tbg-bottom));
}
/* 1. Rayons du rang, en rotation lente. */
.tl-tile__fill::before {
  content: ""; position: absolute; left: 50%; top: 62%;
  width: 200%; aspect-ratio: 1;
  background: repeating-conic-gradient(from 0deg,
    color-mix(in srgb, var(--tmetal-glow) var(--tray-a), transparent) 0deg 5deg,
    transparent 5deg 21deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 6%, rgba(0,0,0,.5) 42%, transparent 70%);
  mask-image: radial-gradient(closest-side, #000 6%, rgba(0,0,0,.5) 42%, transparent 70%);
  will-change: transform;
  animation: tlTileRays 32s linear infinite;
}
/* 2. Cœur de couleur champion, qui respire. */
.tl-tile__fill::after {
  content: ""; position: absolute; inset: -12%;
  background: radial-gradient(ellipse 58% 44% at 50% 76%, color-mix(in srgb, var(--glow) 62%, transparent), transparent 66%);
  will-change: transform, opacity;
  animation: tlTileBreath 7s ease-in-out infinite;
}
/* 3. Balayage spéculaire sur la plaque — passe DERRIÈRE le personnage (le cadre
   porte z-index:1, l'image z-index:2), donc il éclaire le fond sans le laver. */
.tl-tile__frame::after {
  content: ""; position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(102deg, transparent 36%,
    rgba(255,255,255,.10) 45%, rgba(255,255,255,.34) 50%, rgba(255,255,255,.10) 55%, transparent 64%);
  transform: translateX(-130%);
  animation: tlTileSheen 8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes tlTileRays {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes tlTileBreath {
  0%, 100% { opacity: .5; transform: scale(1); }
  50%      { opacity: .95; transform: scale(1.09); }
}
@keyframes tlTileSheen {
  0%, 74%, 100% { transform: translateX(-130%); }
  90%           { transform: translateX(130%); }
}
/* Repli quand aucun détourage n'a passé le contrôle qualité : la vignette carrée du CDN
   remplit le cadre plutôt que d'en déborder (pas de silhouette à faire déborder). */
.tl-tile--portrait .tl-tile__img { object-fit: cover; object-position: center 30%; }
/* Pastille de rang — présente sur TOUTES les tuiles, numéro + palier (« 03 | S+ »).
   La matière du cadre ne suffit pas à porter le palier : en mobile une seule tuile
   est à l'écran, donc l'or n'a rien à côté de quoi se lire comme « le premier ». */
.tl-tile__rank {
  position: absolute; top: var(--trank-top); left: 50%; transform: translateX(-50%);
  z-index: 4;
  display: flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--tmetal-glow) 45%, transparent);
  background: rgba(8, 10, 20, .78);
  font-family: 'Orbitron', 'Orbitron Fallback', sans-serif; font-weight: 800; letter-spacing: .12em;
  font-size: .58rem;
  color: var(--tmetal-glow);
  white-space: nowrap;
  pointer-events: none;
}
.tl-tile__rank span:nth-child(2) {
  width: 1px; height: 10px;
  background: color-mix(in srgb, var(--tmetal-glow) 45%, transparent);
}
.tl-tile__img {
  position: absolute; left: 50%; bottom: var(--timg-b); transform: translateX(-50%);
  width: var(--iw); height: var(--ih);
  object-fit: contain; object-position: bottom center;
  z-index: 2;
  filter: drop-shadow(0 16px 22px rgba(0,0,0,.76)) drop-shadow(0 0 18px color-mix(in srgb, var(--glow) 24%, transparent));
}
.tl-tile__name {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: var(--tname-pad);
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(6,7,15,0), rgba(6,7,15,.8) 38%);
  font-family: "Barlow", "Barlow Fallback", "Inter", sans-serif;
  font-weight: 800;
  color: var(--text-strong);
  text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  pointer-events: none;
}

/* Rang 1 — plaque or, tuile maîtresse, marche surélevée */
.tl-tile[data-i="0"] {
  --tw: 300px; --th: 336px; --tframe: 2px;
  --tclip: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
  --tmetal: linear-gradient(155deg, #ffeeb8, #f6d98a 22%, #c79a3c 52%, #8a6420 78%, #f0cd83);
  --tmetal-glow: #d4b171; --tglow-r: 30px; --tglow-a: 50%; --tray-a: 26%; --tchamp-a: 52%;
  --tbg-top: #0b1020; --tbg-bottom: #05060e;
  --timg-b: 62px; --tname-pad: 14px 16px 14px; --trank-top: 14px;
  margin-bottom: 26px;
}
.tl-tile[data-i="0"]::before {
  content: ""; position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%);
  width: 110%; height: 74px;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--glow) 30%, transparent), transparent 70%);
  z-index: 0; pointer-events: none;
}
.tl-tile[data-i="0"] .tl-tile__riser {
  position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%); z-index: 3;
  width: 78%; height: 22px;
  clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, color-mix(in srgb, var(--tmetal-glow) 50%, transparent), color-mix(in srgb, var(--tmetal-glow) 10%, transparent));
  border-top: 1px solid color-mix(in srgb, var(--tmetal-glow) 60%, transparent);
  pointer-events: none;
}
.tl-tile[data-i="0"] .tl-tile__rank {
  padding: 5px 14px;
  border-color: color-mix(in srgb, var(--tmetal-glow) 60%, transparent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--tmetal-glow) 22%, transparent);
  font-size: .64rem;
}
.tl-tile[data-i="0"] .tl-tile__rank span:nth-child(2) { height: 11px; }
.tl-tile[data-i="0"] .tl-tile__name { font-size: 1.5rem; letter-spacing: .01em; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.9); }

/* Rangs 2 et 3 — plaques argent / bronze, gabarit commun */
.tl-tile[data-i="1"], .tl-tile[data-i="2"] {
  --tw: 204px; --th: 256px; --tframe: 1.5px;
  --tclip: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  --tbg-top: #101426; --tbg-bottom: #06070f;
  --timg-b: 44px; --tname-pad: 10px 12px 12px; --trank-top: 10px;
}
.tl-tile[data-i="1"] .tl-tile__name, .tl-tile[data-i="2"] .tl-tile__name { font-size: 1.04rem; color: var(--text-strong); }
.tl-tile[data-i="1"] {
  --tmetal: linear-gradient(160deg, #eef3fb, #a8b8d1 42%, #5e6c85);
  --tmetal-glow: #c8d6ee; --tglow-r: 20px; --tglow-a: 45%; --tray-a: 20%; --tchamp-a: 46%;
}
.tl-tile[data-i="2"] {
  --tmetal: linear-gradient(160deg, #f4c9a4, #c07a4a 45%, #7a4520);
  --tmetal-glow: #e0a078; --tglow-r: 18px; --tglow-a: 42%; --tray-a: 20%; --tchamp-a: 44%;
}

/* Rang 4 — plaque acier, tuile de bord */
.tl-tile[data-i="3"] {
  --tw: 152px; --th: 190px; --tframe: 1px;
  --tclip: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  --tmetal: linear-gradient(160deg, #6b7794, #39415a 55%, #232a3d);
  --tmetal-glow: #7885a3; --tglow-r: 14px; --tglow-a: 40%; --tray-a: 15%; --tchamp-a: 38%;
  --tbg-top: #0a0e1c; --tbg-bottom: #05060d;
  --timg-b: 34px; --tname-pad: 6px 10px 8px; --trank-top: 8px;
}
.tl-tile[data-i="3"] .tl-tile__rank { padding: 2px 8px; font-size: .52rem; gap: 5px; }
.tl-tile[data-i="3"] .tl-tile__name { font-size: .8rem; color: #b9c3dd; }

/* Ordre visuel = podium (rang 1 au centre), indépendant de l'ordre du DOM (= classement,
   utile pour la synchro clavier/lecteur d'écran avec les cellules de stats). */
.tl-lane[data-count="1"] .tl-tile[data-i="0"] { order: 0; }
.tl-lane[data-count="2"] .tl-tile[data-i="0"] { order: 0; }
.tl-lane[data-count="2"] .tl-tile[data-i="1"] { order: 1; }
.tl-lane[data-count="3"] .tl-tile[data-i="0"] { order: 1; }
.tl-lane[data-count="3"] .tl-tile[data-i="1"] { order: 0; }
.tl-lane[data-count="3"] .tl-tile[data-i="2"] { order: 2; }
.tl-lane[data-count="4"] .tl-tile[data-i="0"] { order: 2; }
.tl-lane[data-count="4"] .tl-tile[data-i="1"] { order: 1; }
.tl-lane[data-count="4"] .tl-tile[data-i="2"] { order: 3; }
.tl-lane[data-count="4"] .tl-tile[data-i="3"] { order: 0; }

/* Highlight — ne repositionne jamais la tuile (le podium reste fixe), juste un
   léger relief + un halo de cadre renforcé, en écho à la cellule de stats active. */
.tl-tile[data-active] { transform: translateY(-6px); }
.tl-tile[data-active] .tl-tile__frame {
  filter: drop-shadow(0 0 calc(var(--tglow-r) * 1.3) color-mix(in srgb, var(--tmetal-glow) calc(var(--tglow-a) + 15%), transparent));
}
.tl-tile:hover, .tl-tile:focus-visible { transform: translateY(-4px); }
.tl-tile:focus-visible { outline: 2px solid var(--role); outline-offset: 6px; }

/* — Le socle de stats : une cellule par S+ de la lane — */
.tl-lane__cells {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.tl-cell {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1 1 0;
  min-width: 0;
  padding: 13px 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.09);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(8,10,20,.9));
  transition: flex-grow .45s cubic-bezier(.22,.9,.28,1), transform .35s, border-color .3s, background .3s;
}
.tl-cell[data-active] {
  flex-grow: 1.45;
  transform: translateY(-6px);
  padding: 15px 16px 16px;
  border-color: color-mix(in srgb, var(--role) 55%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--role) 21%, transparent), rgba(11,13,26,.96));
  box-shadow: 0 18px 40px rgba(2,4,12,.7), 0 0 0 1px color-mix(in srgb, var(--role) 10%, transparent) inset;
}
.tl-cell__rank {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin: 0;
  font-family: 'Orbitron', 'Orbitron Fallback', sans-serif; font-size: .56rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted);
}
.tl-cell[data-active] .tl-cell__rank { color: var(--role); }
.tl-cell__tier {
  padding: 2px 8px; border-radius: 999px;
  border: 1px solid rgba(212,177,113,.24); background: rgba(212,177,113,.07);
  font-family: 'Orbitron', 'Orbitron Fallback', sans-serif; font-size: .54rem; font-weight: 800;
  letter-spacing: .04em; color: #9c8a68;
}
.tl-cell[data-active] .tl-cell__tier { border-color: rgba(212,177,113,.5); background: rgba(212,177,113,.14); color: #f0d9a8; }
.tl-cell__name {
  font-family: "Barlow", "Barlow Fallback", "Inter", sans-serif;
  font-size: 1.02rem; font-weight: 700; line-height: 1;
  color: var(--text-strong);
  text-decoration: none;
  transition: color .2s;
}
.tl-cell__name:hover { color: var(--role); }
.tl-cell[data-active] .tl-cell__name { font-size: 1.34rem; font-weight: 900; }
/* Pont vers builds/counters (2026-09-05) — même registre que tl-cell__rank, discret hors survol */
.tl-cell__links {
  display: flex; align-items: center; gap: 7px; margin: -3px 0 0;
  font-family: 'Orbitron', 'Orbitron Fallback', sans-serif; font-size: .56rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted);
}
.tl-cell__links a { color: inherit; text-decoration: none; transition: color .2s; }
.tl-cell__links a:hover, .tl-cell__links a:focus-visible { color: var(--role); text-decoration: underline; }
.tl-cell[data-active] .tl-cell__links { color: #b9c1d6; }
.tl-cell__wr {
  display: flex; align-items: baseline; gap: 5px; margin: 0;
  font-family: 'Orbitron', 'Orbitron Fallback', sans-serif; color: var(--text-strong);
}
.tl-cell__wr b { font-size: 1.34rem; font-weight: 800; line-height: 1; }
.tl-cell__wr span { font-size: .74rem; color: var(--text-muted); }
.tl-cell__wr em {
  font-family: "Inter", "Barlow", "Barlow Fallback", sans-serif; font-size: .58rem; font-style: normal;
  letter-spacing: .1em; text-transform: uppercase; color: #7d8aa8;
  white-space: nowrap;
}
.tl-cell[data-active] .tl-cell__wr b { font-size: 1.94rem; }
/* Bloc tendance de la cellule — version compacte du .trend-block des fiches
   champion (axe Y gradué, patchs en pointillé, aire, survol x/y). Le SVG est
   fluide : `width:100%;height:auto` sur un viewBox non étiré, sinon les
   étiquettes d'axe se déformeraient. */
.tl-cell__trend { position: relative; width: 100%; max-width: 260px; margin-top: 1px; }
.tl-cell__chart { width: 100%; height: auto; display: block; overflow: visible; }
.tl-cell[data-active] .tl-cell__trend { max-width: 100%; }
.tl-cell__tip {
  position: absolute; top: 0; z-index: 3; pointer-events: none;
  display: flex; align-items: baseline; gap: 6px;
  padding: 3px 7px; border-radius: 7px;
  background: rgba(10,12,24,.94); border: 1px solid rgba(255,255,255,.12);
  font-family: "Inter", "Barlow", "Barlow Fallback", sans-serif; font-size: .64rem; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(2,4,12,.6);
}
.tl-cell__tip[hidden] { display: none; }
.tl-cell__tip b { color: rgba(255,255,255,.55); font-weight: 500; }
.tl-cell__tip span { color: #fff; font-weight: 700; }
.tl-cell__deltas { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0; }
.tl-cell__delta {
  padding: 2px 7px; border-radius: 6px;
  font-family: "Inter", "Barlow", "Barlow Fallback", sans-serif; font-size: .68rem; font-weight: 700;
}
.tl-cell__delta span { color: #7d8aa8; font-weight: 500; }
.tl-cell__delta--up   { background: rgba(102,211,158,.17); color: var(--ok, #66d39e); }
.tl-cell__delta--down { background: rgba(255,120,120,.14); color: #ff9d9d; }
.tl-cell__rates { margin: 0; font-family: "Inter", "Barlow", "Barlow Fallback", sans-serif; font-size: .65rem; color: #7d8aa8; }

.tl-lane__footer {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin: 16px 0 0; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.tl-lane__hint { font-family: "Inter", "Barlow", "Barlow Fallback", sans-serif; font-size: .72rem; color: #7d8aa8; }
.tl-lane__cta {
  padding: 10px 15px; border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--role) 45%, transparent);
  background: color-mix(in srgb, var(--role) 12%, transparent);
  font-family: "Inter", "Barlow", "Barlow Fallback", sans-serif; font-size: .78rem; font-weight: 700;
  color: var(--role); text-decoration: none;
  transition: background .2s, border-color .2s;
}
.tl-lane__cta:hover { background: color-mix(in srgb, var(--role) 20%, transparent); border-color: color-mix(in srgb, var(--role) 60%, transparent); }

/* Affordance de swipe : flèches de bord + pagination "Top n/total". Rendues
   côté serveur pour toutes les tailles, mais réservées au diorama replié
   (≤900px) — au-delà les 4 tuiles sont déjà visibles côte à côte. */
.tl-scene-nav, .tl-lane__pager { display: none; }

/* Sous 900 px le podium ne tient pas en largeur : une seule tuile (la
   sélectionnée) et les cellules passent en colonne. Aucune donnée n'est retirée.
   ⚠️ Le gabarit par rang est neutralisé ici (2026-09-04) : une taille décroissante
   n'a de sens QUE dans un podium, où les tuiles se comparent entre elles. À une
   tuile par écran, elle ne se lit plus comme une hiérarchie mais comme un
   personnage qui rétrécit au fil du swipe. Le rang reste porté par la matière du
   cadre et la pastille « 03 | S+ ». */
@media (max-width: 900px) {
  .tl-lane { padding: 16px 10px 18px; }
  .tl-podium { padding-top: 52px; }
  .tl-tile:not([data-active]) { display: none; }
  .tl-podium .tl-tile[data-i] {
    --tw: min(300px, 100%); --th: 336px; --tframe: 2px;
    --tclip: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
    --timg-b: 62px; --tname-pad: 14px 16px; --trank-top: 14px;
    margin-bottom: 0;
  }
  /* L'image porte ses dimensions en style inline (calculées par rang au build) :
     seul un override direct de width/height les neutralise. `contain` conserve
     le ratio, donc aucun personnage n'est déformé. */
  .tl-podium .tl-tile__img { width: 100%; height: 320px; }
  .tl-podium .tl-tile[data-i] .tl-tile__name { font-size: 1.4rem; color: #fff; }
  .tl-podium .tl-tile[data-i] .tl-tile__rank { padding: 5px 14px; font-size: .62rem; gap: 6px; }
  /* Marche du podium : sans podium, elle n'a plus rien à surélever. */
  .tl-podium .tl-tile[data-i="0"]::before,
  .tl-podium .tl-tile[data-i="0"] .tl-tile__riser { display: none; }
  .tl-lane__cells { flex-direction: column; }
  .tl-cell { flex: none; }
  /* Le carrousel change le personnage au premier plan, mais sa cellule restait à
     son rang dans la colonne (le 3e pick demandait de scroller pour voir ses
     chiffres). En pile, la cellule active remonte en tête — l'ordre du DOM reste
     le classement, et chaque cellule affiche son rang (« N°3 »). */
  .tl-cell[data-active] { transform: none; order: -1; }
  /* En pile, chaque cellule a toute la largeur : le graphe la prend aussi. */
  .tl-cell__trend { max-width: 100%; }
  .tl-lane__hint { display: none; }
  .tl-lane__cta { width: 100%; text-align: center; }
  .tl-stage__tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .tl-stage__tab, .tl-stage__nav { flex-shrink: 0; }

  /* Flèches de bord : même glyphe que .tl-stage__nav, pulsées pour signaler
     le swipe sans jamais couvrir le personnage (elles restent sur les bords). */
  .tl-scene-nav {
    display: flex; align-items: center; justify-content: center;
    position: absolute; top: 46%; z-index: 45; transform: translateY(-50%);
    width: 34px; height: 34px; padding: 0; border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--role) 35%, rgba(255,255,255,.14));
    background: rgba(6,8,16,.55);
    color: color-mix(in srgb, var(--role) 70%, #fff);
    cursor: pointer;
    animation: tlSceneNavPulse 2.4s ease-in-out infinite;
  }
  .tl-scene-nav svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
  .tl-scene-nav[data-scene-nav="prev"] { left: 2px; }
  .tl-scene-nav[data-scene-nav="next"] { right: 2px; animation-delay: .3s; }
  .tl-scene-nav:active { animation: none; opacity: 1; }

  /* Pagination : libellé "Top n/total" (Orbitron, même registre que tl-cell__rank)
     + pastilles, la pastille active étirée façon barre de progression. */
  .tl-lane__pager {
    display: flex; flex-direction: column; align-items: center; gap: 7px;
    margin: 10px 0 0;
  }
  .tl-lane__pager-label {
    font-family: 'Orbitron', 'Orbitron Fallback', sans-serif; font-size: .58rem; font-weight: 700;
    letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted);
  }
  .tl-lane__pager-dots { display: flex; align-items: center; gap: 6px; }
  .tl-lane__pager-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: color-mix(in srgb, var(--text-strong) 22%, transparent);
    transition: width .3s, border-radius .3s, background .3s, box-shadow .3s;
  }
  .tl-lane__pager-dot[data-active] {
    width: 20px; border-radius: 3px;
    background: linear-gradient(90deg, var(--role), color-mix(in srgb, var(--role) 40%, #fff));
    box-shadow: 0 0 8px color-mix(in srgb, var(--role) 65%, transparent);
  }
}

@keyframes tlSceneNavPulse { 0%, 100% { opacity: .38; } 50% { opacity: .75; } }

@media (prefers-reduced-motion: reduce) {
  .tl-tile, .tl-cell { transition: none; }
  .tl-scene-nav { animation: none; opacity: .55; }
  /* Les trois couches de fond restent VISIBLES, seul le mouvement s'arrête : la
     couleur du rang et celle du champion sont porteuses d'information. */
  .tl-tile__fill::before, .tl-tile__fill::after { animation: none; }
  .tl-tile__fill::before { transform: translate(-50%, -50%); }
  .tl-tile__fill::after { opacity: .72; }
  .tl-tile__frame::after { animation: none; opacity: 0; }
}

/* ── Role tabs ────────────────────────────────────────────────────────────── */
.tl-role-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.tl-role-toolbar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 20px;
}
.tl-role-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  color: var(--text-muted);
  font-family: "Inter", "Barlow", "Barlow Fallback", "Segoe UI", sans-serif;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all .15s;
  &:hover { border-color: rgba(255,255,255,.18); color: var(--text-strong); }
  &[aria-current="true"] {
    background: rgba(66,183,255,.1);
    border-color: rgba(66,183,255,.35);
    color: var(--accent-cyan);
  }
}
.tl-role-tab__icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
}
.tl-tab-abbr {
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .05em;
  opacity: .7;
}

/* ── Bloc réponse-directe (hub, sous le hero) ─────────────────────────────── */
.tl-direct-answer {
  text-align: left;
  margin: 26px 0 6px;
  padding: 20px 24px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(66,183,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(66,183,255,.16);
  border-left: 3px solid rgba(66,183,255,.55);
}
.tl-direct-answer__q {
  margin: 0 0 8px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-strong, #f5f8ff);
  letter-spacing: .01em;
}
.tl-direct-answer__a {
  margin: 0;
  font-size: .95rem;
  line-height: 1.85;
  color: rgba(245, 248, 255, 0.94);
}
.tl-direct-answer__a a {
  color: #42b7ff;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(66,183,255,.35);
}
.tl-direct-answer__a a:hover { border-bottom-color: #42b7ff; }

/* ── Meta trend paragraph ─────────────────────────────────────────────────── */
.tl-meta-trend {
  font-size: .94rem;
  font-weight: 500;
  line-height: 1.95;
  color: rgba(245, 248, 255, 0.96);
  border: 1px solid rgba(66,183,255,.14);
  border-radius: 14px;
  padding: 18px 22px;
  margin: 0 0 28px;
  max-width: 100%;
}
.tl-meta-trend strong {
  color: var(--text-strong);
  font-weight: 700;
}
.tl-meta-lane {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-weight: 700;
  white-space: nowrap;
}
.tl-meta-lane-icon {
  display: inline-block;
  width: 15px;
  height: 15px;
  object-fit: contain;
  vertical-align: -2px;
}
.tl-meta-lane[data-role="TOP"]     { color: var(--role-top); }
.tl-meta-lane[data-role="JUNGLE"]  { color: var(--role-jungle); }
.tl-meta-lane[data-role="MID"]     { color: var(--role-mid); }
.tl-meta-lane[data-role="DRAGON"]  { color: var(--role-bot); }
.tl-meta-lane[data-role="SUPPORT"] { color: var(--role-support); }
.tl-meta-lane[data-role="TOP"]     .tl-meta-lane-icon { filter: brightness(0) saturate(100%) invert(52%) sepia(55%) saturate(700%) hue-rotate(338deg) brightness(105%); }
.tl-meta-lane[data-role="JUNGLE"]  .tl-meta-lane-icon { filter: brightness(0) saturate(100%) invert(79%) sepia(32%) saturate(650%) hue-rotate(89deg) brightness(101%); }
.tl-meta-lane[data-role="MID"]     .tl-meta-lane-icon { filter: brightness(0) saturate(100%) invert(60%) sepia(80%) saturate(600%) hue-rotate(228deg) brightness(101%); }
.tl-meta-lane[data-role="DRAGON"]  .tl-meta-lane-icon { filter: brightness(0) saturate(100%) invert(66%) sepia(52%) saturate(620%) hue-rotate(193deg) brightness(102%); }
.tl-meta-lane[data-role="SUPPORT"] .tl-meta-lane-icon { filter: brightness(0) saturate(100%) invert(82%) sepia(60%) saturate(650%) hue-rotate(3deg) brightness(101%); }

.tl-role-panel--stacked {
  margin-bottom: 30px;
  scroll-margin-top: 92px;
}

/* ── Tier rows ────────────────────────────────────────────────────────────── */
.tl-tier-row {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
  margin-bottom: 6px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--tier-bg, transparent);
  border: 1px solid color-mix(in srgb, var(--tier-color, #fff) 12%, transparent);
}
.tl-tier-label {
  flex-shrink: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 6px 14px;
  background: color-mix(in srgb, var(--tier-color, #fff) 18%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--tier-color, #fff) 20%, transparent);
  & span {
    font-size: .95rem;
    font-weight: 900;
    color: var(--tier-color, #fff);
    letter-spacing: -.01em;
  }
}
.tl-champ-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px 12px;
  flex: 1;
}

/* ── Champion tile ────────────────────────────────────────────────────────── */
.tl-champ-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.tl-champ-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 68px;
  text-decoration: none;
  &:hover .tl-champ-img-wrap { transform: translateY(-2px); }
  &:hover .tl-champ-name { color: var(--accent-cyan); }
}
.tl-champ-img-wrap {
  position: relative;
  transition: transform .15s;
}
.tl-champ-img-wrap img {
  width: 76px;
  height: 76px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  border: 2px solid color-mix(in srgb, var(--tier-color, #fff) 30%, transparent);
}
.tl-champ-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  font-size: .6rem;
  font-weight: 900;
  color: var(--tier-color, #fff);
  background: color-mix(in srgb, var(--tier-color, #fff) 22%, #0d1117);
  border: 1px solid color-mix(in srgb, var(--tier-color, #fff) 45%, transparent);
  border-radius: 4px;
  padding: 2px 5px;
  line-height: 1.4;
}
.tl-champ-name {
  font-family: "Inter", "Barlow", "Barlow Fallback", "Segoe UI", sans-serif;
  font-size: .72rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.2;
  word-break: break-word;
  transition: color .15s;
}
.tl-champ-tile { width: 84px; }

.tl-champ-wr {
  font-family: "Inter", "Barlow", "Barlow Fallback", "Segoe UI", sans-serif;
  font-size: .6rem;
  font-weight: 700;
  color: #4ade80;
  text-align: center;
  letter-spacing: .03em;
  margin-top: 1px;
}

.tl-reading-criteria {
  margin: 0 0 12px;
  max-width: 100%;
  font-size: .92rem;
  line-height: 1.75;
}

.tl-methodology-list {
  margin: 0 0 14px;
  max-width: 100%;
  padding-left: 1.2em;
  font-size: .92rem;
  line-height: 1.75;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tl-tools-cta__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.tl-tools-cta__card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tl-tools-cta__card h3 {
  margin: 0;
  font-size: 1.05rem;
}
.tl-tools-cta__card p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.6;
  color: var(--text-muted);
  flex: 1;
}
.tl-tools-cta__card .tl-cta {
  align-self: flex-start;
}
@media (max-width: 720px) {
  .tl-tools-cta__grid { grid-template-columns: 1fr; }
}

.tl-takeaways {
  display: grid;
  gap: 10px;
  padding-left: 0;
  list-style: none;
  margin: 0;
  color: rgba(243, 247, 255, 0.94);
  font-family: "Inter", "Barlow", "Barlow Fallback", "Segoe UI", sans-serif;
  font-size: .92rem;
  line-height: 1.7;
  text-align: center;
}

.tl-goal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tl-goal-card {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  text-align: center;
}

.tl-goal-card h3 {
  margin: 0 0 8px;
  font-family: 'Tytoon Mist', 'Tytoon Mist Fallback', 'Orbitron', 'Orbitron Fallback', sans-serif;
  font-size: 1rem;
  letter-spacing: .04em;
  color: var(--text-strong);
}

.tl-goal-card p {
  margin: 0 0 10px;
  font-family: "Inter", "Barlow", "Barlow Fallback", "Segoe UI", sans-serif;
  font-size: .83rem;
  line-height: 1.6;
  color: rgba(240, 244, 255, 0.92);
}

.tl-goal-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.tl-goal-pick {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 10px 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  text-decoration: none;
  text-align: left;
}

.tl-goal-pick img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid rgba(66,183,255,.18);
  grid-row: 1 / 3;
}

.tl-goal-pick__name {
  font-family: "Inter", "Barlow", "Barlow Fallback", "Segoe UI", sans-serif;
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-strong);
}

.tl-goal-pick__comment {
  font-family: "Inter", "Barlow", "Barlow Fallback", "Segoe UI", sans-serif;
  font-size: .74rem;
  line-height: 1.55;
  color: rgba(238, 243, 255, 0.88);
}

.tl-goal-pick:hover {
  border-color: rgba(66,183,255,.28);
  background: rgba(66,183,255,.06);
}

.tl-goal-pick:hover .tl-goal-pick__name {
  color: var(--accent-cyan);
}

.tl-faq {
  display: grid;
  gap: 10px;
  max-width: 100%;
  margin: 0 auto;
}

.tl-faq-item {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  padding: 0 14px;
}

.tl-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 0;
  font-family: 'Tytoon Mist', 'Tytoon Mist Fallback', 'Orbitron', 'Orbitron Fallback', sans-serif;
  font-size: .92rem;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--text-strong);
  text-align: center;
}

.tl-faq-item summary::-webkit-details-marker {
  display: none;
}

.tl-faq-item p {
  margin: 0 0 14px;
  font-family: "Inter", "Barlow", "Barlow Fallback", "Segoe UI", sans-serif;
  font-size: .88rem;
  line-height: 1.72;
  color: rgba(243, 247, 255, 0.94);
  text-align: center;
}

.tl-tooltip-hint {
  font-family: "Inter", "Barlow", "Barlow Fallback", "Segoe UI", sans-serif;
  color: rgba(238, 243, 255, 0.8);
}

/* Lien du hub vers la page de rôle dédiée (pilote EN 2026-08-23) */
.tl-role-panel__more {
  margin: 0 0 14px;
  font-family: "Inter", "Barlow", "Barlow Fallback", "Segoe UI", sans-serif;
  font-size: 0.95rem;
}
.tl-role-panel__more a {
  color: #7ab8ff;
  text-decoration: none;
  font-weight: 600;
}
.tl-role-panel__more a:hover,
.tl-role-panel__more a:focus-visible {
  text-decoration: underline;
}

/* ── Bans section ─────────────────────────────────────────────────────────── */
.tl-bans-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tl-bans-row {
  display: flex;
  align-items: center;
  gap: 20px;
}
.tl-bans-role {
  width: 60px;
  flex-shrink: 0;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
}
.tl-bans-picks {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.tl-ban-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  &:hover img { border-color: rgba(252,165,165,.6); filter: saturate(1.2); }
}
.tl-ban-tile img {
  width: 76px;
  height: 76px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(252,165,165,.2);
  filter: saturate(.75);
  transition: all .15s;
}
.tl-ban-tile span {
  font-size: .65rem;
  color: var(--text-muted);
  text-transform: capitalize;
}


/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .tl-guides-grid { grid-template-columns: 1fr; }
  .tl-goal-grid { grid-template-columns: 1fr; }
}

@media (min-width: 901px) {
  .tl-guide-card {
    gap: 14px;
    padding: 20px;
  }
  .tl-guide-card__media {
    aspect-ratio: 16 / 6.8;
  }
  .tl-guide-card h3 {
    font-size: 1.08rem;
  }
  .tl-guide-card p {
    font-size: .95rem;
  }
}

@media (max-width: 640px) {
  .tl-hero { padding: 20px 0 24px; }
  .tl-hero__ctas { width: 100%; }
  .tl-cta { flex: 1; text-align: center; }
  .tl-champ-tile { width: 68px; }
  .tl-champ-img-wrap img { width: 68px; height: 68px; }
  .tl-ban-tile img { width: 68px; height: 68px; }
  .tl-role-tab { padding: 7px 12px; }
}

/* ============================================================
   WRC · Couche d'optimisation UI/UX (premium + chemin de lecture)
   Tout est scopé sous .ssg-page-wrap → header / nav / footer intacts.
   Aucun texte ni titre modifié → SEO/GEO préservés.
   ============================================================ */

/* ---------- Révélation au scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .wrc-reveal { opacity: 0; transform: translateY(28px);
    transition: opacity .75s cubic-bezier(.2,.7,.2,1), transform .75s cubic-bezier(.2,.7,.2,1); }
  .wrc-reveal.wrc-in { opacity: 1; transform: none; }
}

/* ---------- Barre de progression de lecture ---------- */
#wrc-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 10001;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, #42b7ff, #8067ff 55%, #d4b171);
  box-shadow: 0 0 14px rgba(66,183,255,.65); transition: transform .12s linear; }

/* ---------- Rail de chapitres (sommaire flottant desktop) ---------- */
#wrc-rail { position: fixed; right: 16px; top: 50%; transform: translateY(-50%); z-index: 60;
  display: flex; flex-direction: column; gap: 2px; padding: 10px 8px;
  background: linear-gradient(180deg, rgba(16,19,36,.85), rgba(8,10,20,.92));
  border: 1px solid rgba(120,150,255,.2); border-radius: 18px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 48px rgba(2,4,12,.62); }
#wrc-rail a { display: flex; align-items: center; gap: 10px; justify-content: flex-end;
  text-decoration: none; padding: 6px 6px; border-radius: 11px;
  font-family: "Inter", "Barlow", "Barlow Fallback", sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .01em;
  color: #9ea8c7; white-space: nowrap; transition: color .2s, background .2s; }
#wrc-rail a .wrc-rail-num { font-family: 'Orbitron', 'Orbitron Fallback', sans-serif; font-size: .58rem; opacity: .55; min-width: 14px; text-align: right; }
#wrc-rail a .wrc-rail-dot { width: 9px; height: 9px; border-radius: 50%; flex: none;
  background: rgba(158,168,199,.32); transition: all .25s; }
#wrc-rail a .wrc-rail-label { max-width: 0; overflow: hidden; opacity: 0;
  transition: max-width .32s ease, opacity .25s ease; }
#wrc-rail:hover a .wrc-rail-label { max-width: 170px; opacity: 1; }
#wrc-rail a:hover { color: #eef2ff; background: rgba(66,183,255,.1); }
#wrc-rail a.wrc-active { color: #42b7ff; }
#wrc-rail a.wrc-active .wrc-rail-dot { background: #42b7ff; box-shadow: 0 0 12px rgba(66,183,255,.85); transform: scale(1.15); }
#wrc-rail a.wrc-active .wrc-rail-label { max-width: 170px; opacity: 1; }
@media (max-width: 1280px) { #wrc-rail { display: none; } }

/* ---------- Eyebrow « Chapitre 0X » injecté avant chaque H2 ---------- */
.wrc-eyebrow { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 auto 16px;
  font-family: 'Orbitron', 'Orbitron Fallback', 'Barlow', 'Barlow Fallback', sans-serif; font-size: .66rem; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase; color: #5fc2ff; }
.wrc-eyebrow::before, .wrc-eyebrow::after { content: ""; height: 1px; width: 46px;
  background: linear-gradient(90deg, transparent, rgba(95,194,255,.55)); }
.wrc-eyebrow::after { transform: scaleX(-1); }
.wrc-eyebrow b { color: #d4b171; font-weight: 800; letter-spacing: .14em; }

/* ---------- Rythme & respiration des sections ---------- */
.ssg-page-wrap .tl-section { margin-bottom: 96px; }
.ssg-page-wrap .tl-section:last-of-type { margin-bottom: 48px; }

/* ---------- Titres de section : plus grands + dégradé premium ---------- */
.ssg-page-wrap .tl-section-title {
  font-size: clamp(1.55rem,3vw,2.35rem) !important;
  letter-spacing: .03em; line-height: 1.12; margin: 0 auto 22px !important;
  background: linear-gradient(180deg, #ffffff 0%, #d6ecff 62%, #7cc7f5 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent !important; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 20px rgba(66,183,255,.22)); }

/* ---------- Lead : plus lisible, un cran plus grand ---------- */
.ssg-page-wrap .tl-section-lead { font-size: clamp(.98rem,1.2vw,1.08rem); line-height: 1.78;
  max-width: 100%; margin-top: 0 !important; }

/* ============================ HERO ============================ */
.ssg-page-wrap .tl-hero { padding: 60px 0 60px; margin-bottom: 72px; overflow: hidden; }
.ssg-page-wrap .tl-hero::after { content: ""; position: absolute; inset: -40% -10% auto; height: 120%;
  z-index: -1; pointer-events: none;
  background:
    radial-gradient(46% 60% at 22% 30%, rgba(66,183,255,.22), transparent 60%),
    radial-gradient(40% 56% at 78% 28%, rgba(128,103,255,.2), transparent 62%),
    radial-gradient(38% 50% at 52% 78%, rgba(212,177,113,.12), transparent 60%);
  filter: blur(8px); animation: wrcAurora 16s ease-in-out infinite alternate; }
@keyframes wrcAurora { 0% { transform: translate3d(-3%,-2%,0) scale(1); } 100% { transform: translate3d(4%,3%,0) scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .ssg-page-wrap .tl-hero::after { animation: none; } }
.ssg-page-wrap .tl-hero__title { gap: .3em; }
/* CTAs hero */
.ssg-page-wrap .tl-hero__ctas { gap: 12px; margin-top: 6px; }
.ssg-page-wrap .tl-cta { padding: 11px 24px; border-radius: 10px; font-size: .84rem; }
.ssg-page-wrap .tl-cta--primary { box-shadow: 0 10px 30px rgba(66,183,255,.42);
  animation: wrcPulse 3.4s ease-in-out infinite; }
@keyframes wrcPulse { 0%,100% { box-shadow: 0 10px 30px rgba(66,183,255,.42); } 50% { box-shadow: 0 12px 40px rgba(66,183,255,.62); } }
@media (prefers-reduced-motion: reduce) { .ssg-page-wrap .tl-cta--primary { animation: none; } }
.ssg-page-wrap .tl-cta--secondary { background: rgba(255,255,255,.05);
  border-color: rgba(120,150,255,.2); }
.ssg-page-wrap .tl-cta--secondary:hover { transform: translateY(-2px);
  border-color: rgba(66,183,255,.5); background: rgba(66,183,255,.1); }
.ssg-page-wrap .tl-cta--primary:hover { transform: translateY(-2px); }

/* ============================ TIER LIST ============================ */
/* Bandeau de rôles collant pendant le scroll de la tier list */
.ssg-page-wrap .tl-role-toolbar { position: sticky; top: 74px; z-index: 40;
  background: linear-gradient(180deg, rgba(5,6,13,.96), rgba(5,6,13,.74));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 14px 10px; border-radius: 14px; margin-left: -10px; margin-right: -10px;
  border: 1px solid rgba(120,150,255,.1); }
.ssg-page-wrap .tl-role-tab { padding: 9px 18px; font-size: .82rem; }
.ssg-page-wrap .tl-role-tab[aria-current="true"] { box-shadow: 0 0 16px rgba(66,183,255,.25); }
/* Lignes de tier : plus d'air + rail de label affirmé */
.ssg-page-wrap .tl-tier-row { margin-bottom: 12px; border-radius: 14px; }
.ssg-page-wrap .tl-champ-grid { gap: 16px; padding: 14px 16px; }
.ssg-page-wrap .tl-tier-label {
  background: linear-gradient(100deg, color-mix(in srgb, var(--tier-color,#fff) 30%, transparent), color-mix(in srgb, var(--tier-color,#fff) 12%, transparent)); }
.ssg-page-wrap .tl-tier-label span { font-size: 1.4rem;
  text-shadow: 0 0 16px color-mix(in srgb, var(--tier-color,#fff) 60%, transparent); }
/* Vignette champion : glow au survol */
.ssg-page-wrap .tl-champ-img-wrap img { transition: border-color .18s, box-shadow .18s; }
.ssg-page-wrap .tl-champ-tile:hover .tl-champ-img-wrap img {
  border-color: color-mix(in srgb, var(--tier-color,#fff) 70%, transparent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--tier-color,#fff) 40%, transparent); }
/* Para « tendance méta » → encart lisible aligné à gauche */
.ssg-page-wrap .tl-meta-trend { text-align: left; padding: 22px 26px; border-radius: 16px; line-height: 1.9;
  background: linear-gradient(180deg, rgba(66,183,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(66,183,255,.16); border-left: 3px solid rgba(66,183,255,.55); }

/* ============================ MÉTHODOLOGIE ============================ */
.ssg-page-wrap .tl-methodology-list,
.ssg-page-wrap .tl-reading-criteria { text-align: left; font-size: .96rem; line-height: 1.8; }
.ssg-page-wrap .tl-methodology-list li { padding-left: 4px; }

/* ============================ CTA OUTILS (funnel principal) ============================ */
.ssg-page-wrap .tl-tools-cta__grid { gap: 18px; }
.ssg-page-wrap .tl-tools-cta__card { padding: 28px; border-radius: 18px; position: relative; overflow: hidden;
  background: linear-gradient(165deg, rgba(66,183,255,.1), rgba(255,255,255,.03) 46%, rgba(10,22,47,.55));
  border: 1px solid rgba(66,183,255,.18); transition: transform .22s, border-color .22s, box-shadow .22s; }
.ssg-page-wrap .tl-tools-cta__card::after { content: ""; position: absolute; right: -40px; top: -40px;
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(66,183,255,.18), transparent 68%); pointer-events: none; }
.ssg-page-wrap .tl-tools-cta__card:hover { transform: translateY(-5px);
  border-color: rgba(66,183,255,.45); box-shadow: 0 22px 46px rgba(0,0,0,.42); }
.ssg-page-wrap .tl-tools-cta__card h3 { font-size: 1.32rem; text-align: left; }
.ssg-page-wrap .tl-tools-cta__card p { text-align: left; font-size: .94rem; line-height: 1.7;
  color: rgba(238,243,255,.86); }
.ssg-page-wrap .tl-tools-cta__card .tl-cta--primary { box-shadow: 0 8px 24px rgba(66,183,255,.4); animation: none; }
.ssg-page-wrap .tl-tools-cta__card .tl-cta:hover { transform: translateY(-2px); }

/* ============================ GUIDES ============================ */
.ssg-page-wrap .tl-guide-card { padding: 20px; border-radius: 16px; }
.ssg-page-wrap .tl-guide-card h3 { text-align: left; font-size: 1.08rem; }
.ssg-page-wrap .tl-guide-card p { text-align: left; }
.ssg-page-wrap .tl-guide-card__link { text-align: left; display: flex; align-items: center; gap: 6px; }
.ssg-page-wrap .tl-guide-card__link::after { content: "→"; transition: transform .2s; }
.ssg-page-wrap .tl-guide-card:hover .tl-guide-card__link::after { transform: translateX(4px); }

/* ============================ PICKS PAR OBJECTIF ============================ */
.ssg-page-wrap .tl-goal-grid { gap: 16px; }
.ssg-page-wrap .tl-goal-card { padding: 20px; border-radius: 16px; text-align: left;
  transition: transform .2s, border-color .2s, box-shadow .2s; }
.ssg-page-wrap .tl-goal-card:hover { transform: translateY(-3px);
  border-color: rgba(66,183,255,.22); box-shadow: 0 16px 34px rgba(0,0,0,.3); }
.ssg-page-wrap .tl-goal-card h3 { text-align: left; font-size: 1.06rem; }
.ssg-page-wrap .tl-goal-card p { text-align: left; }
.ssg-page-wrap .tl-goal-pick { transition: transform .15s, border-color .15s, background .15s; }
.ssg-page-wrap .tl-goal-pick:hover { transform: translateX(3px); }

/* ============================ FAQ (accordéon premium, bon pour le GEO) ============================ */
.ssg-page-wrap .tl-faq { gap: 12px; max-width: 100%; }
.ssg-page-wrap .tl-faq-item { border-radius: 14px; padding: 0 18px;
  transition: border-color .2s, background .2s; }
.ssg-page-wrap .tl-faq-item:hover { border-color: rgba(66,183,255,.25); }
.ssg-page-wrap .tl-faq-item[open] { border-color: rgba(66,183,255,.35);
  background: linear-gradient(180deg, rgba(66,183,255,.06), rgba(255,255,255,.02)); }
.ssg-page-wrap .tl-faq-item summary { text-align: left; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; font-size: 1rem; padding: 16px 0; }
.ssg-page-wrap .tl-faq-item summary::after { content: "+"; font-family: 'Orbitron', 'Orbitron Fallback', sans-serif;
  font-size: 1.2rem; color: #42b7ff; transition: transform .25s; flex: none; }
.ssg-page-wrap .tl-faq-item[open] summary::after { transform: rotate(45deg); }
.ssg-page-wrap .tl-faq-item p { text-align: left; }

/* ============================ TAKEAWAYS / divers ============================ */
.ssg-page-wrap .tl-takeaways { text-align: left; }

/* Mobile : on garde le rail caché, sticky role-tabs allégé */
@media (max-width: 720px) {
  .ssg-page-wrap .tl-section { margin-bottom: 64px; }
  .ssg-page-wrap .tl-role-toolbar { top: 66px; padding: 10px 8px; }
  .wrc-eyebrow::before, .wrc-eyebrow::after { width: 24px; }
}

/* ====================================================================
   TIER LIST → rails dramatiques, glow par tier, filigrane, profondeur
   ==================================================================== */
.ssg-page-wrap .tl-tier-row {
  position: relative; overflow: hidden; margin-bottom: 14px; border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--tier-color,#fff) 22%, transparent);
  background: linear-gradient(100deg,
    color-mix(in srgb, var(--tier-color,#fff) 10%, transparent) 0%,
    color-mix(in srgb, var(--tier-color,#fff) 3%, transparent) 24%,
    rgba(9,11,22,.55) 64%);
  box-shadow: 0 8px 26px rgba(0,0,0,.32), inset 0 0 0 1px color-mix(in srgb, var(--tier-color,#fff) 6%, transparent);
}
/* lettre de tier en filigrane géant (profondeur) */
.ssg-page-wrap .tl-tier-row::after {
  content: attr(data-tier); position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  font-family: 'Orbitron', 'Orbitron Fallback', sans-serif; font-weight: 800; font-size: 5.2rem; line-height: 1; letter-spacing: -.05em;
  color: color-mix(in srgb, var(--tier-color,#fff) 8%, transparent); z-index: 0; pointer-events: none;
}
/* balayage lumineux au survol de la ligne */
.ssg-page-wrap .tl-tier-row::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 32%, color-mix(in srgb, var(--tier-color,#fff) 12%, transparent) 50%, transparent 68%);
  transform: translateX(-110%); transition: transform .7s ease;
}
.ssg-page-wrap .tl-tier-row:hover::before { transform: translateX(110%); }
/* bandeau de label : dégradé + spine lumineuse + lettre glow */
.ssg-page-wrap .tl-tier-label {
  width: 100%; position: relative; z-index: 1;
  background: linear-gradient(100deg,
    color-mix(in srgb, var(--tier-color,#fff) 36%, transparent),
    color-mix(in srgb, var(--tier-color,#fff) 14%, transparent));
  border-bottom: 1px solid color-mix(in srgb, var(--tier-color,#fff) 32%, transparent);
}
.ssg-page-wrap .tl-tier-label::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--tier-color,#fff); box-shadow: 0 0 14px var(--tier-color,#fff); opacity: .75;
}
.ssg-page-wrap .tl-tier-label span {
  font-size: 1.6rem; font-weight: 900;
  text-shadow: 0 0 20px color-mix(in srgb, var(--tier-color,#fff) 70%, transparent);
}
.ssg-page-wrap .tl-champ-grid { position: relative; z-index: 1; gap: 18px; padding: 16px 18px; }
/* vignette champion premium : zoom + glow tier au survol */
.ssg-page-wrap .tl-champ-img-wrap img { border-radius: 14px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.ssg-page-wrap .tl-champ-tile:hover .tl-champ-img-wrap img {
  transform: translateY(-3px) scale(1.06);
  border-color: color-mix(in srgb, var(--tier-color,#fff) 82%, transparent);
  box-shadow: 0 10px 24px rgba(0,0,0,.5), 0 0 22px color-mix(in srgb, var(--tier-color,#fff) 45%, transparent);
}
.ssg-page-wrap .tl-champ-name { font-size: .74rem; color: #c4ccdf; }
.ssg-page-wrap .tl-champ-tile:hover .tl-champ-name { color: var(--tier-color,#fff); }
/* WR % en pastille */
.ssg-page-wrap .tl-champ-wr {
  display: inline-block; padding: 1px 7px; border-radius: 999px; line-height: 1.5;
  color: #9bf3c2; background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.24);
}
.ssg-page-wrap .tl-champ-badge { box-shadow: 0 0 10px color-mix(in srgb, var(--tier-color,#fff) 40%, transparent); }
/* apparition en cascade des lignes (panneau « Tous », visible par défaut) */
@media (prefers-reduced-motion: no-preference) {
  .ssg-page-wrap .tl-tier-row.wrc-row-reveal { opacity: 0; transform: translateY(20px) scale(.992);
    transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); }
  .ssg-page-wrap .tl-tier-row.wrc-row-reveal.wrc-in { opacity: 1; transform: none; }
}
@media (max-width: 720px) {
  .ssg-page-wrap .tl-tier-label { padding: 5px 12px; }
  .ssg-page-wrap .tl-tier-label span { font-size: 1.25rem; }
  .ssg-page-wrap .tl-tier-row::after { font-size: 3.4rem; right: 12px; }
  /* 4 colonnes au lieu de 3 : la vignette n'est plus figée à 84px, elle prend la
     colonne. Avec les gouttières de page réduites (14px), une colonne fait ~78px
     sur 390px — soit la taille actuelle de la vignette, sans rien rétrécir. */
  .ssg-page-wrap .tl-champ-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px 8px;
    padding: 12px 10px;
  }
  .ssg-page-wrap .tl-champ-cell { min-width: 0; }
  .ssg-page-wrap .tl-champ-tile { width: 100%; }
  .ssg-page-wrap .tl-champ-img-wrap { width: 100%; }
  .ssg-page-wrap .tl-champ-img-wrap img { width: 100%; height: auto; aspect-ratio: 1; }
  .ssg-page-wrap .tl-champ-name { font-size: .68rem; }
}

/* ====================================================================
   CARTES OUTILS (Draft Tool / Counter Pick) → forte attraction
   --tool injecté en JS ; Draft = cyan, Counter = violet
   ==================================================================== */
.ssg-page-wrap .tl-tools-cta__card[data-tool] {
  --tool: #42b7ff;
  padding: 30px 30px 28px; border-radius: 20px; min-height: 240px;
  background:
    radial-gradient(120% 100% at 0% 0%, color-mix(in srgb, var(--tool) 18%, transparent), transparent 55%),
    linear-gradient(165deg, rgba(255,255,255,.045), rgba(10,16,32,.62));
  border: 1px solid color-mix(in srgb, var(--tool) 34%, transparent);
}
.ssg-page-wrap .tl-tools-cta__card[data-tool="counter"] { --tool: #8067ff; }
/* glow rotatif vivant en fond */
.ssg-page-wrap .tl-tools-cta__card[data-tool]::before {
  content: ""; position: absolute; width: 340px; height: 340px; right: -120px; top: -120px; border-radius: 50%;
  background: conic-gradient(from 0deg,
    color-mix(in srgb, var(--tool) 32%, transparent), transparent 40%,
    color-mix(in srgb, var(--tool) 22%, transparent) 70%, transparent);
  filter: blur(22px); opacity: .55; z-index: 0; animation: wrcSpin 16s linear infinite;
}
@keyframes wrcSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ssg-page-wrap .tl-tools-cta__card[data-tool]::before { animation: none; } }
.ssg-page-wrap .tl-tools-cta__card[data-tool]:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--tool) 55%, transparent);
  box-shadow: 0 26px 56px rgba(0,0,0,.5), 0 0 42px color-mix(in srgb, var(--tool) 26%, transparent);
}
/* pastille icône */
.ssg-page-wrap .wrc-tool-icon { position: relative; z-index: 1; width: 54px; height: 54px; border-radius: 15px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 6px;
  color: var(--tool); background: color-mix(in srgb, var(--tool) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--tool) 42%, transparent);
  box-shadow: 0 0 24px color-mix(in srgb, var(--tool) 38%, transparent); }
.ssg-page-wrap .wrc-tool-icon svg { width: 27px; height: 27px; }
.ssg-page-wrap .tl-tools-cta__card[data-tool] h3 { position: relative; z-index: 1; font-size: 1.5rem; color: #fff; letter-spacing: .02em; }
.ssg-page-wrap .tl-tools-cta__card[data-tool] p { position: relative; z-index: 1; }
/* bouton à forte attraction : dégradé tool + pulse + balayage brillant */
.ssg-page-wrap .tl-tools-cta__card[data-tool] .tl-cta {
  position: relative; z-index: 1; align-self: flex-start; margin-top: 8px; overflow: hidden;
  padding: 14px 28px; border-radius: 12px; font-size: .94rem; font-weight: 800; letter-spacing: .03em;
  background: linear-gradient(120deg, var(--tool), color-mix(in srgb, var(--tool) 58%, #fff));
  color: #06101f !important; border: none;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--tool) 45%, transparent);
  animation: wrcPulse2 3s ease-in-out infinite;
}
@keyframes wrcPulse2 { 0%,100% { box-shadow: 0 10px 30px color-mix(in srgb, var(--tool) 40%, transparent); } 50% { box-shadow: 0 14px 42px color-mix(in srgb, var(--tool) 72%, transparent); } }
.ssg-page-wrap .tl-tools-cta__card[data-tool] .tl-cta:hover { transform: translateY(-3px) scale(1.02); }
.ssg-page-wrap .tl-tools-cta__card[data-tool] .tl-cta::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.6), transparent);
  transform: skewX(-20deg); animation: wrcSweep 3.6s ease-in-out infinite;
}
/* transform, pas left : le reflet ne relance pas la mise en page à chaque frame (audit-motion-perf).
   left -60 % → 150 % du bouton = 210 % ÷ 40 % de largeur propre = translateX(525 %). */
@keyframes wrcSweep { 0% { transform: translateX(0) skewX(-20deg); } 55%, 100% { transform: translateX(525%) skewX(-20deg); } }
@media (prefers-reduced-motion: reduce) {
  .ssg-page-wrap .tl-tools-cta__card[data-tool] .tl-cta { animation: none; }
  .ssg-page-wrap .tl-tools-cta__card[data-tool] .tl-cta::after { display: none; }
}
/* ====================================================================
   STATS CHAMPION (WR / PR / BR) sous chaque vignette
   ==================================================================== */
.ssg-page-wrap .tl-champ-stats {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 3px 5px;
}
.ssg-page-wrap .tl-champ-pr {
  display: inline-block; padding: 1px 7px; border-radius: 999px; line-height: 1.5;
  font-family: "Inter", "Barlow", "Barlow Fallback", "Segoe UI", sans-serif; font-size: .6rem; font-weight: 700; letter-spacing: .03em;
  color: #7dd8f8; background: rgba(66,183,255,.12); border: 1px solid rgba(66,183,255,.24);
}
.ssg-page-wrap .tl-champ-br {
  display: inline-block; padding: 1px 7px; border-radius: 999px; line-height: 1.5;
  font-family: "Inter", "Barlow", "Barlow Fallback", "Segoe UI", sans-serif; font-size: .6rem; font-weight: 700; letter-spacing: .03em;
  color: #fca5a5; background: rgba(252,165,165,.1); border: 1px solid rgba(252,165,165,.22);
}
/* ====================================================================
   CHALLENGER VS SOLOQ — divergence de méta par rang (C5, 2026-08-27)
   ==================================================================== */
.ssg-page-wrap .tl-rankdiv-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 14px;
}
.ssg-page-wrap .tl-rankdiv-col {
  background: rgba(15,17,34,.55); border: 1px solid rgba(148,163,184,.14);
  border-radius: 14px; padding: 16px 16px 8px;
}
.ssg-page-wrap .tl-rankdiv-col__title {
  margin: 0 0 2px; font-size: .95rem; font-weight: 800; letter-spacing: .02em; color: #e2e8f0;
}
.ssg-page-wrap .tl-rankdiv-col__legend {
  margin: 0 0 10px; font-size: .68rem; letter-spacing: .04em; color: #94a3b8;
}
.ssg-page-wrap .tl-rankdiv-col__legend em { font-style: normal; opacity: .65; }
.ssg-page-wrap .tl-rankdiv-row {
  display: flex; align-items: center; gap: 10px; padding: 7px 4px;
  border-top: 1px solid rgba(148,163,184,.1); text-decoration: none; color: inherit;
}
.ssg-page-wrap .tl-rankdiv-row:hover .tl-rankdiv-row__name { color: #7dd8f8; }
.ssg-page-wrap .tl-rankdiv-row__img {
  width: 34px; height: 34px; border-radius: 8px; object-fit: cover; flex: none;
  border: 1px solid rgba(148,163,184,.2);
}
.ssg-page-wrap .tl-rankdiv-row__name {
  font-weight: 700; font-size: .85rem; color: #e2e8f0; transition: color .15s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ssg-page-wrap .tl-rankdiv-row__role {
  font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #94a3b8; flex: none;
}
.ssg-page-wrap .tl-rankdiv-row__wr {
  margin-left: auto; font-size: .74rem; color: #cbd5e1; white-space: nowrap; flex: none;
}
.ssg-page-wrap .tl-rankdiv-row__wr em { font-style: normal; font-size: .62rem; opacity: .55; }
.ssg-page-wrap .tl-rankdiv-row__delta {
  flex: none; min-width: 46px; text-align: center; padding: 2px 7px; border-radius: 999px;
  font-family: "Inter", "Barlow", "Barlow Fallback", "Segoe UI", sans-serif; font-size: .68rem; font-weight: 800;
}
.ssg-page-wrap .tl-rankdiv-row__delta--up {
  color: #86efac; background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.26);
}
.ssg-page-wrap .tl-rankdiv-row__delta--down {
  color: #fca5a5; background: rgba(252,165,165,.1); border: 1px solid rgba(252,165,165,.22);
}
@media (max-width: 560px) {
  .ssg-page-wrap .tl-rankdiv-row__role { display: none; }
}

/* ── Pont grille → builds/counters (2026-09-23) ──────────────────────────────
   Posé SOUS la tuile, hors de son <a> : une ancre ne peut pas en contenir une autre.
   Mêmes codes que .tl-cell__links (scène top picks) mais un cran plus petit — la tuile fait
   68 px de large, le rang doit tenir sans pousser la grille. `min-width: 0` sur la cellule
   pour que la troncature reste possible dans une grille contrainte. */
.tl-champ-cell { min-width: 0; }
.tl-champ-links {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  margin: 1px 0 0; max-width: 100%;
  font-family: 'Orbitron', 'Orbitron Fallback', sans-serif; font-size: .47rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted);
  white-space: nowrap;
}
/* Mesuré le 2026-09-23 : à 390 px de large la cellule de la grille tombe à 81 px, où le rang
   en réclamait 84 et débordait. La taille se réduit au lieu de rogner la grille. */
@media (max-width: 560px) {
  .tl-champ-links { font-size: .42rem; letter-spacing: .02em; gap: 4px; }
}
.tl-champ-links a { color: inherit; text-decoration: none; transition: color .2s; }
.tl-champ-links a:hover,
.tl-champ-links a:focus-visible { color: var(--accent-cyan); text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .tl-champ-links a { transition: none; } }

/* ── Héros mobile (2026-10-04, bilan d'usage) ─────────────────────────────────────────────────
   Mesuré en 390×844 : les 5 boutons du héros (Meta, Champions, Items, Win Rates, Draft) tenaient
   3 rangées et ~250 px — tout l'écran 1 avec le titre — pour 5 % de clics ; le tableau n'arrivait
   qu'à 4,7 écrans. Une seule rangée défilante, mêmes liens. Ciblé `.tl-hero >` : la même classe
   sert la ligne de fin de page (`endNextHtml`), qui ne change pas. */
@media (max-width: 640px) {
  /* `.ssg-page-wrap .tl-hero` pose 60 px de padding et 72 px de marge basse (habillage bureau) :
     ~130 px de vide sous les boutons en 390 px. */
  .ssg-page-wrap .tl-hero { padding: 28px 0 18px; margin-bottom: 20px; }
  .ssg-page-wrap .tl-hero > .tl-hero__ctas {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 8px;
    margin: 10px -10px 0;
    padding: 2px 10px 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .ssg-page-wrap .tl-hero > .tl-hero__ctas::-webkit-scrollbar { display: none; }
  .ssg-page-wrap .tl-hero > .tl-hero__ctas .tl-cta {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 14px;
    font-size: .78rem;
  }
}

/* Kit mouvement (.nx-trace/.nx-fill/.nx-count, L4a .nx-m-off) : déplacé en fin de ssg-pages.css au lot B
   (2026-10-15), JS dans nx-motion.js — une famille charge le kit, elle ne le recopie pas. */
/* Tableau vivant (lot 1 A) — pastille de l'ancien palier sur les tuiles qui ont bougé en 7 jours (rendue
   en HTML par generate-tierlist.mjs, tamponnée par le script après le glissement). Pendant le glissement
   (.tl-gliding, ≈ 1 s) la rangée laisse déborder la tuile verticalement et passe devant ses voisines. */
.tl-moved {
  position: absolute; top: -7px; left: -7px; z-index: 3; pointer-events: none; white-space: nowrap;
  font: 800 .6rem/1 "Barlow", "Barlow Fallback", system-ui, sans-serif; letter-spacing: .02em;
  padding: 3px 5px; border-radius: 6px; color: #0b1222; background: var(--from, #fff);
  box-shadow: 0 0 0 1px rgba(0,0,0,.35), 0 2px 8px rgba(0,0,0,.45);
}
.ssg-page-wrap .tl-role-panel .tl-tier-row.tl-gliding { overflow-x: clip; overflow-y: visible; z-index: 3; }
.tl-gliding .tl-champ-cell[data-from] { z-index: 2; }
/* « Ce qui a bougé depuis le patch » : la flèche de chaque ligne se trace à l'entrée. */
.ssg-page-wrap .tl-rankdiv-row__wr em.tl-arrow { display: inline-block; width: 1.5em; height: .8em; font-size: .74rem; opacity: .9; vertical-align: -.05em; }
.tl-arrow .nx-trace { display: block; width: 100%; height: 100%; }
.tl-arrow--up { color: #4ade80; }
.tl-arrow--down { color: #f87171; }
