/*
 * tierlist-page.css — feuille de PAGE de la tier list de WRC (D29 lot 4, 16/11).
 * Copie du <style> du <head> de /en/tierlist/ rendu par nexus-core `scripts/generate-tierlist.mjs` à 02b44bd (le générateur
 * l'écrit inline ; ici fichier lié, mis en cache, ?v= de contenu). Recopie MANUELLE, sans lock (la source est une page
 * générée, pas un fichier du dépôt WRC) : ne pas l'éditer à la main — la régénérer depuis la page WRC.
 * UNE transformation : les sélecteurs [data-tier="…"] suivent l'échelle MLBB S…D (S+→S, S→A, A→B, B→C, C→D ; 32 remplacés),
 * pour que le palier du haut garde le traitement doré de WRC, et ainsi de suite.
 */
.header-nexus { transform: none !important; height: 88px !important; }
  .ssg-breadcrumb { margin-top: 130px; }
  #tl-tooltip { position: fixed; z-index: 9999; background: #1e293b; color: #e2e8f0; font-size: .8rem; line-height: 1.5; padding: 8px 12px; border-radius: 8px; max-width: 260px; pointer-events: none; box-shadow: 0 4px 16px rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.08); opacity: 0; transition: opacity .15s; }
  #tl-tooltip.visible { opacity: 1; }
  /* C2 — inline et non dans ssg-tierlist.css : ce fichier entre dans sharedAssetVersion, le toucher ferait dériver le ?v= de tout le site. */
  .tl-cell__draft { display: none; align-self: flex-start; align-items: center; gap: 6px; margin: 2px 0 0; padding: 7px 12px; min-height: 32px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--role) 55%, transparent); background: color-mix(in srgb, var(--role) 14%, transparent); color: #fff; font-size: .78rem; font-weight: 700; line-height: 1.2; text-decoration: none; transition: background .2s, border-color .2s; }
  .tl-cell[data-active] .tl-cell__draft { display: inline-flex; }
  .tl-cell__draft:hover, .tl-cell__draft:focus-visible { background: color-mix(in srgb, var(--role) 28%, transparent); border-color: var(--role); }
  /* Perf (2026-10-05) — sections sous la ligne de flottaison : rendu sauté jusqu'à l'approche du
     scroll. Mesuré sur /en/tierlist/ mobile : ~6 200 px sur 16 600 (picks, Master+, évolutions,
     méthode, FAQ). La première .tl-section (tier list complète) reste rendue : elle commence à
     ~1 100 px, à portée du premier écran sur grand écran. « auto » mémorise la vraie hauteur. */
  .ssg-page-wrap > .tl-section ~ .tl-section:not(.tl-section--live), .ssg-page-wrap > .tl-section ~ nav.tl-section, .home-footer { content-visibility: auto; contain-intrinsic-size: auto 900px; }
  /* 2026-10-13 : le hub ouvre sur podium → éventail → tier list ; ces deux dernières (.tl-section--live) restent rendues :
     la grille d'accès y saute directement, et l'éventail mesure sa largeur au rendu. */
  /* Tier list en relief (2026-10-13, maquette v3.1 : docs/second-brain/maquettes/2026-10-12-eventail/tierlist-perspective.html).
     Inline pour la même raison que C2. Chaque rangée a SA perspective (inclinaison autour de son bord haut) : un plan unique
     incliné sur tout le panneau déformait la fin d'un panneau « Tous » de 2 000 px et plus. Les paliers bas reculent (--tl-z),
     S+ avance. ::before/::after de la rangée sont pris par ssg-tierlist.css (balayage, lettre filigrane) : le cadre lumineux
     vit dans <span class="tl-row-fx">. Les animations infinies ne tournent que sur une rangée visible (.is-vis, posée par
     IntersectionObserver) ; sans JS, rendu final immobile. L'entrée ne touche que les rangées sous la ligne de flottaison (LCP). */

  .mt-cmp__plot { position: relative; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 8px 4px; }
  .mt-cmp__plot svg { width: 100%; height: auto; display: block; touch-action: pan-y; }
  .mt-cmp__tip { position: absolute; top: 10px; z-index: 3; pointer-events: none; min-width: 140px; background: rgba(9,14,28,.96); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 9px 11px; font-size: 13px; box-shadow: 0 10px 30px rgba(0,0,0,.45); }
  .mt-cmp__tip[hidden] { display: none; }
  .mt-cmp__tip-date { color: rgba(255,255,255,.5); font-size: 11.5px; margin-bottom: 6px; }
  .mt-cmp__tip-row { display: flex; align-items: center; gap: 7px; line-height: 1.7; }
  .mt-cmp__tip-row i { width: 11px; height: 2.5px; border-radius: 2px; flex: none; }
  .mt-cmp__tip-row b { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
  .mt-cmp__tip-row span { color: rgba(255,255,255,.55); }
  .mt-cmp .mt-up { color: #4ade80; } .mt-cmp .mt-down { color: #f87171; }

  .mt-cmp__head { gap: 10px 14px; }
  .mt-cmp__views { display: flex; gap: 4px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
  .mt-cmp__view { font: inherit; font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,.6); background: none; border: 0; border-radius: 999px; padding: 5px 12px; cursor: pointer; }
  .mt-cmp__view:hover { color: #fff; }
  .mt-cmp__view.is-on { background: rgba(66,183,255,.16); color: #7cc9ff; }
  .mt-cmp__view:focus-visible { outline: 2px solid #42b7ff; outline-offset: 2px; }
  .mt-cmp__plot { background: radial-gradient(90% 70% at 50% 0%, rgba(66,183,255,.06), transparent 70%), rgba(255,255,255,.02); }
  .mt-cmp__base { stroke: rgba(170,190,230,.55); stroke-width: 1.2; }
  .mt-cmp__conn { fill: none; stroke-width: 1.2; stroke-dasharray: 2 3; opacity: .7; }
  .mt-cmp__b { cursor: pointer; }
  .mt-cmp__c, .mt-cmp__b, .mt-cmp__conn { transition: opacity .25s ease; }
  .is-focus .mt-cmp__c:not(.is-on), .is-focus .mt-cmp__b:not(.is-on), .is-focus .mt-cmp__conn:not(.is-on) { opacity: .16; }
  .mt-cmp__sh { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 36 964; opacity: 0; }
  .is-idle .mt-cmp__sh { animation: mt-sh 4.8s linear infinite; animation-delay: calc(var(--k) * .55s + 1s); }
  @keyframes mt-sh { 0% { stroke-dashoffset: 1000; opacity: 0; } 8%, 40% { opacity: .5; } 50%, 100% { stroke-dashoffset: 0; opacity: 0; } }
  .mt-cmp__tip-row em { font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; margin-left: auto; padding-left: 8px; }
  @media (prefers-reduced-motion: reduce) { .is-idle .mt-cmp__sh { animation: none; } .mt-cmp__c, .mt-cmp__b, .mt-cmp__conn { transition: none; } }

  /* Hub (2026-10-13) : grille d'accès + éventail des tendances — voir trendFanSectionHtml(). */
  .tl-jump { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; margin: 18px 0 8px; }
  .tl-jump__a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 8px 12px; border-radius: 10px; font-size: .82rem; font-weight: 700; line-height: 1.2; color: #dfe7f7; text-decoration: none; text-align: center; background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); border: 1px solid rgba(255,255,255,.09); transition: border-color .2s, background .2s, transform .2s; }
  .tl-jump__a:hover, .tl-jump__a:focus-visible { border-color: rgba(66,183,255,.55); background: rgba(66,183,255,.1); transform: translateY(-1px); }
  .tl-jump__a[data-jump="podium"] { border-color: rgba(240,180,41,.45); color: #f5d68c; background: linear-gradient(180deg, rgba(240,180,41,.12), rgba(240,180,41,.03)); }
  .tl-jump__a[data-jump="trends"] { border-color: rgba(57,135,229,.45); color: #9cc6ff; }
  .tl-jump__a[data-jump-role]::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--role); box-shadow: 0 0 8px var(--role); }
  #toppicks-title, #tl-trends-title, #tierlist-title, #tierlist-faq-title { scroll-margin-top: 110px; }
  /* La scène était sous content-visibility (peinture rognée) ; en tête de hub, ses halos débordaient de 4 px à 390. */
  /* Le plaque du titre de section (::before) déborde de 14 px de chaque côté : un titre sur deux lignes pleine
     largeur (« Win rate swings — last 30 days » à 390) faisait défiler la page de 4 px. */
  .ssg-page-wrap .tl-section-title { max-width: calc(100% - 28px); }
  .tl-trends .mt-cmp--compact svg { aspect-ratio: 900 / 360; }
  .tl-trends .mt-up { color: #4ade80; } .tl-trends .mt-down { color: #f87171; }
  .tl-trends__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 14px; }
  .tl-trends__col h3 { margin: 0 0 6px; font-size: .9rem; font-weight: 800; letter-spacing: .02em; }
  .tl-trends__col ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
  .tl-trends__col li { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 10px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); }
  .tl-trends__col li a { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; color: #e6ecf8; font-weight: 600; text-decoration: none; }
  .tl-trends__col li a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tl-trends__col li a:hover span { text-decoration: underline; }
  .tl-trends__col li i { width: 12px; height: 3px; border-radius: 2px; flex: none; }
  .tl-trends__col li img { width: 28px; height: 28px; border-radius: 50%; flex: none; }
  .tl-trends__col li b { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .tl-trends__col li small { min-width: 64px; text-align: right; color: rgba(255,255,255,.5); font-size: .74rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .tl-trends__more { margin: 12px 0 0; text-align: right; }
  .tl-trends__more a { color: #7cc9ff; font-weight: 700; text-decoration: none; } .tl-trends__more a:hover { text-decoration: underline; }
  @media (max-width: 720px) { .tl-jump { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; } .tl-jump__a { min-height: 38px; padding: 7px 6px; font-size: .76rem; } .tl-trends__lists { grid-template-columns: 1fr; } }
  @media (max-width: 600px) { .tl-trends .mt-cmp--compact svg { aspect-ratio: 460 / 300; } }
  @media (prefers-reduced-motion: reduce) { .tl-jump__a { transition: none; } }

  @property --tl-ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
  .ssg-page-wrap .tl-role-panel .tl-tier-row, .ssg-page-wrap .tl-role-panel .tl-tier-row.wrc-row-reveal, .ssg-page-wrap .tl-role-panel .tl-tier-row.wrc-row-reveal.wrc-in {
    --tl-z: 0px; --tl-tilt: 5deg; --tl-dim: 1;
    transform: perspective(1000px) rotateX(calc(-1 * var(--tl-tilt))) translateZ(var(--tl-z)); transform-origin: 50% 0; opacity: var(--tl-dim); transition: none;
    border: 0; isolation: isolate;
    background:
      radial-gradient(70% 140% at 0% 0%, color-mix(in srgb, var(--tier-color,#fff) 22%, transparent), transparent 60%),
      radial-gradient(40% 90% at 100% 100%, color-mix(in srgb, var(--tier-color,#fff) 10%, transparent), transparent 70%),
      repeating-linear-gradient(135deg, rgba(255,255,255,.028) 0 2px, transparent 2px 10px),
      linear-gradient(180deg, #111b31, #0a1020);
    box-shadow: inset 0 0 50px -24px color-mix(in srgb, var(--tier-color,#fff) 55%, transparent), 0 14px 34px -18px rgba(0,0,0,.8);
  }
  /* S+ avance de 22 px (≈ +2,3 % de largeur) : marges latérales qui compensent, sinon débordement horizontal (mesuré : 24 px à 1280). */
  .ssg-page-wrap .tl-role-panel .tl-tier-row[data-tier="S"] { --tl-z: 22px; --tl-tilt: 3deg; margin: 4px 16px 20px;
    background:
      radial-gradient(80% 160% at 0% 0%, rgba(240,180,41,.30), transparent 60%),
      radial-gradient(50% 100% at 100% 100%, rgba(240,180,41,.14), transparent 70%),
      repeating-linear-gradient(135deg, rgba(255,230,160,.04) 0 2px, transparent 2px 10px),
      linear-gradient(180deg, #16203a, #0b1222);
    box-shadow: inset 0 0 60px -20px rgba(240,180,41,.6), 0 24px 60px -20px rgba(240,180,41,.45); }
  .ssg-page-wrap .tl-role-panel .tl-tier-row[data-tier="B"] { --tl-z: -14px; }
  .ssg-page-wrap .tl-role-panel .tl-tier-row[data-tier="C"] { --tl-z: -28px; --tl-dim: .95; }
  .ssg-page-wrap .tl-role-panel .tl-tier-row[data-tier="D"] { --tl-z: -42px; --tl-dim: .9; }
  /* cadre : dégradé conique masqué, angle FIXE par palier.
     Perf (2026-11-04) : la lumière qui tournait (S+ 6 s, S 9 s, et l'anneau des tuiles S+) animait --tl-ang, une
     propriété non composée — style + peinture à chaque image tant que la rangée est à l'écran. Mesuré en prod
     (Pixel 7 émulé, CPU ×4, tiers coupés, tableau visible) : fil principal 394 ms/s, contre ≈ 54 sans animation ;
     INP terrain mobile 238 → 291 ms (CrUX) depuis le relief v3.1 du 13/10. Ne garder en boucle que transform /
     translate / opacity (composés) : le reflet tl-sweep et le flottement tl-float restent. */
  .tl-row-fx { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2; }
  .tl-row-fx::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
    background: conic-gradient(from var(--tl-ang), color-mix(in srgb, var(--tier-color,#fff) 18%, transparent) 0%, var(--tier-color,#fff) 10%, #fff 13%, var(--tier-color,#fff) 16%, color-mix(in srgb, var(--tier-color,#fff) 18%, transparent) 30%, color-mix(in srgb, var(--tier-color,#fff) 18%, transparent) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; }
  [data-tier="S"] > .tl-row-fx::before { padding: 2px; --tl-ang: 240deg; }
  [data-tier="A"] > .tl-row-fx::before { --tl-ang: 280deg; }
  [data-tier="B"] > .tl-row-fx::before { --tl-ang: 200deg; } [data-tier="C"] > .tl-row-fx::before { --tl-ang: 160deg; } [data-tier="D"] > .tl-row-fx::before { --tl-ang: 120deg; opacity: .7; }
  /* coins de cadre (S+, S) */
  [data-tier="S"] > .tl-row-fx, [data-tier="A"] > .tl-row-fx {
    --c: var(--tier-color,#fff);
    background:
      linear-gradient(var(--c), var(--c)) left 6px top 6px / 14px 2px no-repeat, linear-gradient(var(--c), var(--c)) left 6px top 6px / 2px 14px no-repeat,
      linear-gradient(var(--c), var(--c)) right 6px top 6px / 14px 2px no-repeat, linear-gradient(var(--c), var(--c)) right 6px top 6px / 2px 14px no-repeat,
      linear-gradient(var(--c), var(--c)) left 6px bottom 6px / 14px 2px no-repeat, linear-gradient(var(--c), var(--c)) left 6px bottom 6px / 2px 14px no-repeat,
      linear-gradient(var(--c), var(--c)) right 6px bottom 6px / 14px 2px no-repeat, linear-gradient(var(--c), var(--c)) right 6px bottom 6px / 2px 14px no-repeat; }
  /* reflet périodique sur S+ */
  [data-tier="S"] > .tl-row-fx::after { content: ""; position: absolute; inset: 0; border-radius: inherit;
    background: linear-gradient(100deg, transparent 40%, rgba(240,180,41,.12) 50%, transparent 60%); transform: translateX(-100%); animation: tl-sweep 7s ease-in-out 2.5s 1 paused; }
  /* bandeau : sceau doré sur S+ */
  .ssg-page-wrap .tl-role-panel [data-tier="S"] .tl-tier-label span { display: inline-block; padding: 3px 14px; border-radius: 9px; color: #1a1205; text-shadow: 0 1px 0 rgba(255,255,255,.35);
    background: linear-gradient(135deg, #b8862f 0%, #f5d68c 45%, #fff3c9 52%, #f5d68c 60%, #b8862f 100%); background-size: 220% 100%;
    background-position: 30% 0; box-shadow: 0 0 24px rgba(240,180,41,.5), inset 0 0 0 1px #ffe7a8; }
  /* tuiles : S+ plus grandes, anneau doré qui tourne, halo, flottement déphasé ; S liseré violet ; B/C plus sobres */
  .ssg-page-wrap .tl-role-panel .tl-champ-img-wrap { isolation: isolate; }
  .ssg-page-wrap .tl-role-panel [data-tier="S"] .tl-champ-tile { width: 100px; }
  .ssg-page-wrap .tl-role-panel [data-tier="S"] .tl-champ-img-wrap img { width: 92px; height: 92px; border-color: transparent; }
  .ssg-page-wrap .tl-role-panel [data-tier="S"] .tl-champ-img-wrap::before { content: ""; position: absolute; inset: -3px; border-radius: 17px; z-index: -1;
    background: conic-gradient(from 200deg, #f0b429, #fff3c9, #b8862f, #f0b429); }
  .ssg-page-wrap .tl-role-panel [data-tier="S"] .tl-champ-img-wrap::after { content: ""; position: absolute; inset: -12px; border-radius: 22px; z-index: -2; pointer-events: none;
    background: radial-gradient(circle, rgba(240,180,41,.32), transparent 70%); }
  /* Flottement et reflet : un nombre FINI de cycles (2026-11-04). Même en translate/transform, Chrome les recalcule sur le
     fil principal dans ce tableau en 3D (perspective + rotateX + isolation) : ≈ 100 ms/s chacun mesurés (CPU ×4). Le
     mouvement reste à l'arrivée sur le tableau, puis la page se tait — ne pas les repasser en infinite sans re-mesurer. */
  .ssg-page-wrap .tl-role-panel [data-tier="S"] .tl-champ-img-wrap { animation: tl-float 4.2s ease-in-out 2 paused; }
  .ssg-page-wrap .tl-role-panel [data-tier="S"] .tl-champ-cell:nth-child(3n+2) .tl-champ-img-wrap { animation-delay: -1.4s; }
  .ssg-page-wrap .tl-role-panel [data-tier="S"] .tl-champ-cell:nth-child(3n) .tl-champ-img-wrap { animation-delay: -2.8s; }
  .ssg-page-wrap .tl-role-panel [data-tier="S"] .tl-champ-name { font-size: .82rem; color: #f3e6c4; font-weight: 600; }
  .ssg-page-wrap .tl-role-panel [data-tier="A"] .tl-champ-img-wrap::before { content: ""; position: absolute; inset: -2px; border-radius: 16px; z-index: -1; background: linear-gradient(135deg, #a78bfa, #5b3fc9 60%, #a78bfa); opacity: .85; }
  .ssg-page-wrap .tl-role-panel [data-tier="A"] .tl-champ-img-wrap img { border-color: transparent; }
  .ssg-page-wrap .tl-role-panel [data-tier="C"] .tl-champ-tile, .ssg-page-wrap .tl-role-panel [data-tier="D"] .tl-champ-tile { width: 74px; }
  .ssg-page-wrap .tl-role-panel [data-tier="C"] .tl-champ-img-wrap img, .ssg-page-wrap .tl-role-panel [data-tier="D"] .tl-champ-img-wrap img { width: 66px; height: 66px; }
  #tlRolePanels .tl-tier-row.is-vis .tl-row-fx::after, #tlRolePanels .tl-tier-row.is-vis .tl-champ-img-wrap { animation-play-state: running; }
  @keyframes tl-sweep { 0%, 30% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
  @keyframes tl-float { 50% { translate: 0 -4px; } }
  /* Bouton principal (héros, fin de page) : wrcPulse de ssg-tierlist.css animait box-shadow (peinture à chaque image,
     dans le premier écran mobile). Même halo, mais porté par un pseudo-élément dont seule l'opacité varie (composée).
     Surcharge locale : la feuille partagée tamponne ~9 500 pages. */
  .ssg-page-wrap .tl-cta--primary { animation: none; position: relative; }
  .ssg-page-wrap .tl-cta--primary::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    box-shadow: 0 12px 40px rgba(66,183,255,.62); opacity: 0; animation: tl-cta-glow 3.4s ease-in-out infinite; }
  @keyframes tl-cta-glow { 50% { opacity: 1; } }
  @media (prefers-reduced-motion: reduce) { .ssg-page-wrap .tl-cta--primary::after { animation: none; } }
  /* entrée : la rangée émerge, le bandeau se tamponne, les tuiles pivotent en cascade (--i posé en JS) */
  #tlRolePanels .tl-tier-row.tl-pre { opacity: 0; }
  #tlRolePanels .tl-tier-row.tl-pre.is-in { animation: tl-emerge .8s cubic-bezier(.2,.8,.2,1) both; }
  #tlRolePanels .tl-tier-row.tl-pre.is-in .tl-tier-label span { animation: tl-stamp .7s cubic-bezier(.2,.9,.3,1.3) .2s both; }
  #tlRolePanels .tl-tier-row.tl-pre.is-in .tl-champ-cell { animation: tl-flip .55s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(300ms + min(var(--i, 0), 16) * 45ms); }
  .ssg-page-wrap .tl-role-panel .tl-tier-row.tl-pre .tl-champ-grid { perspective: 700px; }
  @keyframes tl-emerge { from { opacity: 0; translate: 0 48px; scale: .94; } to { opacity: var(--tl-dim); translate: 0 0; scale: 1; } }
  @keyframes tl-stamp { from { opacity: 0; scale: 1.8; filter: brightness(2.5); } to { opacity: 1; scale: 1; filter: none; } }
  @keyframes tl-flip { from { opacity: 0; rotate: y -70deg; translate: -12px 0; } to { opacity: 1; rotate: y 0deg; translate: 0 0; } }
  /* changement de palier (onglets de rang) : la tuile glisse vers sa nouvelle place (FLIP, en JS) ; pastille de l'ancien palier */
  .tl-was { position: absolute; top: -8px; left: -6px; z-index: 3; font: 800 .62rem/1 "Barlow Condensed", "Barlow", system-ui, sans-serif; padding: 3px 5px; border-radius: 6px;
    color: #0b1222; background: var(--from, #fff); pointer-events: none; animation: tl-chip 2.6s ease-out .55s both; }
  #tlRolePanels .tl-role-panel.is-swap { animation: tl-swap .45s ease both; }
  @keyframes tl-swap { from { opacity: .3; translate: 16px 0; } to { opacity: 1; translate: 0 0; } }
  @keyframes tl-chip { 0% { opacity: 0; scale: .6; } 12% { opacity: 1; scale: 1.1; } 20%, 80% { opacity: 1; scale: 1; } 100% { opacity: 0; scale: .8; } }
  @media (max-width: 720px) {
    .ssg-page-wrap .tl-role-panel .tl-tier-row { --tl-tilt: 3deg; }
    .ssg-page-wrap .tl-role-panel .tl-tier-row[data-tier="S"] { --tl-z: 0px; --tl-tilt: 2deg; margin-inline: 0; }
    .ssg-page-wrap .tl-role-panel .tl-tier-row[data-tier="S"] .tl-champ-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 12px; }
    .ssg-page-wrap .tl-role-panel [data-tier="S"] .tl-champ-tile, .ssg-page-wrap .tl-role-panel [data-tier="C"] .tl-champ-tile, .ssg-page-wrap .tl-role-panel [data-tier="D"] .tl-champ-tile { width: 100%; }
    .ssg-page-wrap .tl-role-panel [data-tier] .tl-champ-img-wrap img { width: 100%; height: auto; }
  }
  @media (prefers-reduced-motion: reduce) {
    #tlRolePanels .tl-tier-row.tl-pre { opacity: var(--tl-dim); }
    #tlRolePanels .tl-tier-row *, #tlRolePanels .tl-tier-row *::before, #tlRolePanels .tl-tier-row *::after, #tlRolePanels .tl-tier-row.tl-pre.is-in { animation: none !important; }
  }

  /* Bloc « ce que le patch a changé » (2026-11-01) : voir scripts/lib/lane-shift-html.mjs. */
  .tl-shift { margin: 8px auto 20px; max-width: 1040px; padding: 16px 18px 12px; text-align: left; background: rgba(148,163,184,.05); border: 1px solid rgba(148,163,184,.16); border-radius: 12px; }
  .tl-shift__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-bottom: 12px; }
  .tl-shift__title { margin: 0; font-size: 1.02rem; line-height: 1.3; color: #f1f5f9; font-family: inherit; letter-spacing: 0; text-transform: none; }
  .tl-shift__rail { position: relative; display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; font-size: .76rem; color: #94a3b8; }
  .tl-shift__rail li { position: relative; display: flex; align-items: baseline; gap: 6px; }
  .tl-shift__rail li + li::before { content: "→"; position: absolute; left: -16px; color: #64748b; }
  .tl-shift__rail b { color: #e2e8f0; font-size: .82rem; }
  .tl-shift__counts { display: inline-flex; gap: 6px; font-weight: 700; }
  .tl-shift__rail i, .tl-shift__who i { font-style: normal; font-size: .85em; }
  .tl-shift__heads, .tl-shift__row { display: grid; grid-template-columns: minmax(150px,.8fr) minmax(190px,1.1fr) minmax(210px,1.3fr) 92px; gap: 0 30px; align-items: center; }
  .tl-shift__heads { padding: 0 0 6px; font-size: .69rem; letter-spacing: .05em; text-transform: uppercase; color: #94a3b8; }
  .tl-shift__rows { margin: 0; padding: 0; list-style: none; }
  .tl-shift__row { position: relative; padding: 10px 0; border-top: 1px solid rgba(148,163,184,.13); }
  .tl-shift__row > * { position: relative; min-width: 0; }
  .tl-shift__row > :nth-child(2)::after, .tl-shift__row > :nth-child(3)::after { content: "›"; position: absolute; top: 50%; right: -19px; transform: translateY(-50%); font-size: 1.15rem; color: #64748b; }
  .tl-shift__who { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
  .tl-shift__who::after { content: "›"; position: absolute; top: 50%; right: -19px; transform: translateY(-50%); font-size: 1.15rem; color: #64748b; }
  .tl-shift__who img { flex: none; width: 44px; height: 44px; border-radius: 10px; border: 2px solid var(--kind); object-fit: cover; }
  .tl-shift__id { display: grid; gap: 1px; min-width: 0; }
  .tl-shift__id b { color: #f1f5f9; font-size: .92rem; }
  .tl-shift__id em { font-style: normal; font-size: .74rem; font-weight: 700; color: var(--kind); white-space: nowrap; }
  .tl-shift__who:hover b, .tl-shift__who:focus-visible b { text-decoration: underline; }
  .tl-shift__changes { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; font-size: .78rem; line-height: 1.3; }
  .tl-shift__what { display: block; color: #a8b4c6; overflow-wrap: anywhere; }
  .tl-shift__values { display: inline-flex; flex-wrap: wrap; gap: 0 5px; font-variant-numeric: tabular-nums; color: #e2e8f0; }
  .tl-shift__values s, .tl-shift__figures s { color: #94a3b8; text-decoration: none; }
  .tl-shift__values i, .tl-shift__figures i, .tl-shift__tier i { font-style: normal; color: #64748b; }
  .tl-shift__more { color: #94a3b8; font-size: .72rem; }
  .tl-shift__effect { display: grid; grid-template-columns: minmax(0,1fr); gap: 3px; }
  .tl-shift__chart { position: relative; height: 54px; }
  .tl-shift__chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
  .tl-shift__chart path, .tl-shift__chart line { fill: none; vector-effect: non-scaling-stroke; }
  .tl-shift__before { stroke: #64748b; stroke-width: 1.5; }
  .tl-shift__after { stroke: var(--trend); stroke-width: 2; }
  .tl-shift__chart .tl-shift__area { fill: var(--trend); opacity: .13; stroke: none; }
  .tl-shift__fifty { stroke: rgba(148,163,184,.3); stroke-width: 1; stroke-dasharray: 2 3; }
  .tl-shift__marks line { stroke: rgba(148,163,184,.2); stroke-width: 1; }
  .tl-shift__marks .is-own { stroke: var(--kind); stroke-width: 1; stroke-dasharray: 3 2; }
  .tl-shift__tick { position: absolute; top: -3px; padding: 0 3px; transform: translateX(-50%); font-size: .62rem; line-height: 1.2; font-weight: 700; color: var(--kind); background: #0f172a; border-radius: 3px; }
  .tl-shift__dot { position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--trend); box-shadow: 0 0 0 2px #0f172a; }
  .tl-shift__figures { display: flex; align-items: baseline; gap: 5px; margin: 0; font-size: .8rem; font-variant-numeric: tabular-nums; color: #f1f5f9; }
  .tl-shift__figures--early { color: #94a3b8; font-size: .75rem; }
  .tl-shift__delta { margin-left: auto; font-weight: 800; color: var(--trend); }
  .tl-shift__tier { display: flex; align-items: center; justify-content: flex-end; gap: 5px; }
  .tl-shift__chip { display: inline-grid; place-items: center; min-width: 32px; height: 30px; padding: 0 5px; border-radius: 7px; font-weight: 800; font-size: .86rem; color: var(--c); background: color-mix(in srgb, var(--c) 15%, transparent); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); }
  .tl-shift__note { margin: 8px 0 0; padding-top: 8px; border-top: 1px solid rgba(148,163,184,.13); font-size: .74rem; line-height: 1.45; color: #94a3b8; }
  .tl-shift__note a { color: #cbd5e1; }
  @media (max-width: 760px) {
    .tl-shift { padding: 14px 14px 10px; }
    .tl-shift__heads { display: none; }
    .tl-shift__row { grid-template-columns: minmax(0,1fr) auto; gap: 8px 12px; padding: 12px 0; }
    .tl-shift__who { grid-column: 1; grid-row: 1; }
    .tl-shift__tier { grid-column: 2; grid-row: 1; }
    .tl-shift__effect { grid-column: 1 / -1; grid-row: 2; }
    .tl-shift__changes { grid-column: 1 / -1; grid-row: 3; }
    .tl-shift__who::after, .tl-shift__row > :nth-child(2)::after, .tl-shift__row > :nth-child(3)::after { content: none; }
    .tl-shift__what { display: inline; margin-right: 6px; }
    .tl-shift__values { display: inline-flex; }
  }
