/* =====================================================================
   BAJV — feuille de style du site (refonte 2026-11)
   Thème clair, Archivo (condensé pour les titres) + IBM Plex Mono.
   Organisation : 1. polices · 2. variables · 3. base · 4. mise en page
   5. en-tête et méga-menus · 6. pied de page · 7. composants · 8. utilitaires
   ===================================================================== */

/* 1. Polices auto-hébergées (CSP : font-src 'self') ------------------- */
@font-face {
  font-family: 'Archivo';
  src: url('/assets/fonts/archivo-latin-wdth.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/assets/fonts/ibm-plex-mono-latin-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/assets/fonts/ibm-plex-mono-latin-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/assets/fonts/ibm-plex-mono-latin-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

/* 2. Variables ---------------------------------------------------------- */
:root {
  --bg: #F5F6F8;
  --surface: #FFFFFF;
  --soft: #EEF0F3;
  --line: #E3E6EB;
  --line-strong: #D9DDE3;
  --ink: #14171C;
  --ink-2: #3A4250;
  --ink-3: #525B6B;
  --muted: #646C7B;
  --faint: #8A93A3;
  --accent: #0F766E;
  --accent-soft: color-mix(in srgb, var(--accent) 12%, #FFFFFF);
  --dark: #12151A;
  --dark-2: #171A1F;
  --dark-line: #262B33;
  --on-dark: #EEF1F4;
  --on-dark-2: #A9B1BD;
  --mint: #5EEAD4;
  --warn-bg: #FEF3C7;
  --warn-ink: #92400E;
  --ps: #0070D1;
  --xbox: #107C10;
  --nintendo: #C8102E;
  --pc: #3F3F46;

  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --container: 1376px;
  --gutter: clamp(16px, 3vw, 32px);
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 18px;
  --shadow-pop: 0 24px 48px rgba(10, 12, 15, 0.14);
  --header-h: 68px;
}

/* 3. Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
input::placeholder { color: var(--muted); }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 8px; color: #fff; }

/* 4. Mise en page ------------------------------------------------------- */
.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.page { display: flex; flex-direction: column; gap: 64px; padding-top: 20px; padding-bottom: 88px; }
.page--tight { gap: 36px; }
.stack { display: flex; flex-direction: column; }
.stack-8 { gap: 8px; } .stack-12 { gap: 12px; } .stack-16 { gap: 16px; } .stack-20 { gap: 20px; } .stack-24 { gap: 24px; }
.row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.grid-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 16px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
@media (max-width: 1100px) {
  .grid-4, .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-6, .grid-8 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .page { gap: 44px; padding-bottom: 64px; }
  .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .grid-6, .grid-8 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
}

/* 5. En-tête et méga-menus ----------------------------------------------- */
.site-header { position: relative; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-stretch: 75%; font-weight: 800; font-size: 25px; letter-spacing: 0.01em; }
.brand__name b { color: var(--accent); font-weight: 800; }
.brand__tag { margin-top: 3px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

.mainnav { display: flex; align-items: center; gap: 2px; }
.mainnav__btn {
  display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px;
  border: 0; border-radius: var(--r-sm); background: transparent; color: var(--ink);
  font: 600 15px var(--font);
}
.mainnav__btn svg { transition: transform .15s ease; }
.mainnav__btn:hover { background: var(--soft); }
.mainnav__btn[aria-current="page"] { color: var(--accent); }
.mainnav__btn[aria-expanded="true"] { background: var(--soft); }
.mainnav__btn[aria-expanded="true"] svg { transform: rotate(180deg); }

.searchbox {
  margin-left: auto; flex: 0 1 400px; position: relative;
  display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 8px 0 14px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 10px;
}
.searchbox:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.searchbox svg { color: var(--muted); flex-shrink: 0; }
.searchbox input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; font-size: 14px; }
.searchbox kbd { font-family: var(--mono); font-size: 11px; color: var(--muted); border: 1px solid #CDD2DA; border-radius: 4px; padding: 1px 6px; }
.searchbox__suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 60;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r);
  box-shadow: var(--shadow-pop); max-height: 70vh; overflow: auto;
}
.searchbox__suggest[hidden] { display: none; }

.header-mob { display: none; margin-left: auto; align-items: center; gap: 4px; }
.iconbtn { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: var(--ink); }
.iconbtn:hover { background: var(--soft); color: var(--ink); }

.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--surface); border-bottom: 1px solid var(--line-strong);
  box-shadow: var(--shadow-pop);
}
.mega[hidden] { display: none; }
.mega__inner { padding-top: 28px; padding-bottom: 28px; display: grid; gap: 32px; }
.mega__title {
  margin: 0 0 8px; font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3);
}
.mega__links { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.mega__link { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 10px; margin: 0 -10px; border-radius: var(--r-sm); font-weight: 600; font-size: 15px; }
.mega__link:hover { background: var(--soft); color: var(--ink); }
.mega__link small { margin-left: auto; font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--muted); }
.mega__foot { display: flex; align-items: center; gap: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.mega__foot a { font-weight: 700; color: var(--accent); }
.mega-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(10, 12, 15, 0.25); }
.mega-backdrop[hidden] { display: none; }

/* Grilles des méga-menus */
.mm-4 { grid-template-columns: 1.1fr 0.9fr 1.15fr 1.25fr; }
.mm-wide { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); }
.mm-jeux { grid-template-columns: 0.9fr 0.9fr minmax(0, 1.7fr); }
.mega__subtitle { margin: 10px 0 4px; font-size: 12.5px; font-weight: 700; color: var(--ink-3); }
.mega__more { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--accent); }
.mega__note { margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: var(--soft); font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.mega__count { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.mega__foot { justify-content: space-between; padding-bottom: 18px; }
.mega__foot-links { display: flex; gap: 18px; }
.mega-tiles { display: flex; flex-direction: column; gap: 4px; }
.mega-tile { display: flex; gap: 12px; align-items: center; padding: 10px; margin: 0 -10px; border-radius: 10px; }
.mega-tile:hover { background: var(--soft); color: var(--ink); }
.mega-tile__ico { flex: 0 0 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.mega-tile strong { display: block; font-size: 15px; }
.mega-tile small { display: block; font-size: 13px; color: var(--muted); }
.mega-row { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 8px; margin: 0 -8px; border-radius: var(--r-sm); }
.mega-row:hover { background: var(--soft); color: var(--ink); }
.mega-row__img { flex: 0 0 32px; height: 44px; border-radius: 4px; overflow: hidden; background: var(--soft); }
.mega-row__img img { width: 100%; height: 100%; object-fit: cover; }
.mega-row__img--wide { flex-basis: 64px; height: 36px; }
.mega-row--sm { min-height: 40px; }
.mega-row--sm .mega-row__img { flex-basis: 24px; height: 34px; }
.mega-row__body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.mega-row__body strong { font-size: 14px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mega-row__body small { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mega-row__n { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.mega-feature { display: flex; flex-direction: column; gap: 6px; }
.mega-feature .thumb { border-radius: 12px; }
.mega-feature__game { font-stretch: 75%; font-weight: 800; font-size: 22px; line-height: 1.05; text-transform: uppercase; }
.mega-feature__title { font-size: 14px; color: var(--ink-2); }
.mega-feature__meta { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.mega-feature__count { position: absolute; right: 10px; top: 10px; display: flex; flex-direction: column; align-items: center; padding: 6px 12px; border-radius: 10px; background: var(--accent); color: #fff; font-stretch: 75%; font-weight: 800; font-size: 26px; line-height: 1; }
.mega-feature__count small { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.minical { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.minical__wd { text-align: center; font-family: var(--mono); font-size: 11px; color: var(--muted); padding-bottom: 2px; }
.minical__day { position: relative; height: 34px; display: grid; place-items: center; border-radius: 8px; font-size: 13.5px; color: var(--ink-3); }
.minical__day.has { color: var(--ink); font-weight: 700; background: var(--soft); }
.minical__day.has span { position: absolute; bottom: 4px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.minical__day.today { outline: 2px solid var(--accent); outline-offset: -2px; }
.minical__day:hover { background: var(--accent-soft); color: var(--ink); }
.mega-covers { list-style: none; display: grid; gap: 12px 14px; }
.mega-covers--7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.mega-cover { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.mega-cover .cover { border-radius: 8px; }
.mega-cover strong { font-size: 13px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mega-cover small { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.mega-cover:hover strong { color: var(--accent); }
.letters { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 16px; }
.letters a, .letters span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 7px; font-family: var(--mono); font-size: 13px; font-weight: 600; }
.letters a { background: var(--soft); color: var(--ink); }
.letters a:hover { background: var(--accent); color: #fff; }
.letters span { color: #C3C8D0; }
.mega-banner { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--dark); color: #fff; }
.mega-banner img { width: 100%; height: 100%; object-fit: cover; }
.mega-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,15,0) 35%, rgba(10,12,15,.88) 100%); }
.mega-banner__body { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; display: flex; flex-direction: column; gap: 4px; }
.mega-banner__body strong { font-stretch: 75%; font-weight: 800; font-size: 28px; line-height: 1; text-transform: uppercase; }
.mega-banner__body small { font-size: 13px; color: #D5DAE1; }
.mega-banner:hover { color: #fff; }
.mega-series { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mega-serie { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); }
.mega-serie:hover { border-color: var(--accent); color: var(--ink); }
.mega-serie strong { font-size: 14.5px; line-height: 1.25; }
.mega-serie small { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.fan { display: flex; justify-content: center; align-items: flex-end; height: 88px; margin-bottom: 6px; }
.fan img { width: 54px; aspect-ratio: 264 / 374; object-fit: cover; border-radius: 5px; margin: 0 -8px; box-shadow: 0 6px 14px rgba(10,12,15,.25); }
.fan img:nth-child(1) { transform: rotate(-8deg) translateY(6px); }
.fan img:nth-child(3) { transform: rotate(8deg) translateY(6px); }
.fan img:nth-child(2) { position: relative; z-index: 1; }
.mega-filter { margin-top: 14px; }
.mega-filter input { width: 100%; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); }
.mega-tabs .segmented { margin: 14px 0 6px; }
.mega-games { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
@media (max-width: 1180px) {
  .mm-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mega-covers--7 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Suggestions de recherche */
.suggest__group { padding: 8px; }
.suggest__group + .suggest__group { border-top: 1px solid var(--line); }
.suggest__title { padding: 4px 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.suggest__item { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; font-size: 14px; }
.suggest__item:hover { background: var(--soft); color: var(--ink); }
.suggest__item img { border-radius: 4px; object-fit: cover; }
.suggest__item small { margin-left: auto; font-size: 12px; color: var(--muted); }
.suggest__item--video span { display: flex; flex-direction: column; min-width: 0; }
.suggest__item--video small { margin-left: 0; }
.suggest__ph { width: 28px; height: 38px; border-radius: 4px; background: var(--soft); }
.suggest__empty { padding: 14px 16px; font-size: 14px; color: var(--muted); }

/* Visionneuse de captures */
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(10,12,15,.92); }
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: min(92vw, 1600px); max-height: 82vh; border-radius: 8px; }
.lightbox__close, .lightbox__nav { position: absolute; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 30px; line-height: 1; }
.lightbox__close { right: 18px; top: 18px; }
.lightbox__nav--prev { left: 18px; top: 50%; }
.lightbox__nav--next { right: 18px; top: 50%; }
.lightbox__count { position: absolute; bottom: 18px; font-family: var(--mono); font-size: 13px; color: #fff; }

/* Menu mobile (volets) */
.mobnav { position: fixed; inset: 0; z-index: 70; background: var(--surface); overflow-y: auto; }
.mobnav[hidden] { display: none; }
.mobnav__head { height: 60px; display: flex; align-items: center; gap: 12px; padding: 0 12px 0 var(--gutter); border-bottom: 1px solid var(--line); }
.mobnav__body { display: flex; flex-direction: column; padding: 8px var(--gutter) 24px; }
.mobnav details { border-bottom: 1px solid var(--line); }
.mobnav summary { display: flex; align-items: center; gap: 10px; min-height: 52px; font-weight: 700; font-size: 17px; }
.mobnav summary small { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--muted); }
.mobnav summary svg { margin-left: auto; transition: transform .15s ease; }
.mobnav details[open] summary svg { transform: rotate(180deg); }
.mobnav__links { display: flex; flex-direction: column; padding: 0 0 12px; }
.mobnav__links a { display: flex; align-items: center; min-height: 40px; color: var(--ink-2); font-size: 15px; }
.mobnav__search { display: flex; align-items: center; gap: 10px; height: 46px; margin: 12px 0; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 10px; }
.mobnav__search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 16px; }

@media (max-width: 900px) {
  .mainnav, .searchbox { display: none; }
  .header-mob { display: flex; }
  .brand__tag { display: none; }
  .site-header__inner { height: 60px; }
}

/* 6. Pied de page --------------------------------------------------------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); }
.site-footer__cols { padding-top: 52px; padding-bottom: 36px; display: flex; flex-wrap: wrap; gap: 40px; }
.site-footer__about { flex: 2 1 280px; display: flex; flex-direction: column; gap: 14px; max-width: 380px; }
.site-footer__about p { font-size: 14px; line-height: 1.55; color: var(--ink-3); }
.site-footer__about .brand__name { font-size: 28px; }
.site-footer nav { flex: 1 1 150px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.site-footer h2 { margin: 0 0 4px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.site-footer__legal { padding-top: 20px; padding-bottom: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.rss-link { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }

/* 7. Composants ----------------------------------------------------------- */

/* Titres */
.display { font-stretch: 75%; font-weight: 800; line-height: 0.88; text-transform: uppercase; letter-spacing: 0.005em; }
.h1 { font-size: clamp(48px, 5.6vw, 80px); }
.h2 { font-stretch: 75%; font-weight: 800; font-size: 32px; line-height: 1; text-transform: uppercase; }
.h3 { font-stretch: 75%; font-weight: 800; font-size: 22px; line-height: 1.1; text-transform: uppercase; }
.kicker { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 72ch; }
.section { display: flex; flex-direction: column; gap: 22px; }
.section__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; }
.section__sub { font-size: 14px; color: var(--muted); }
.section__more { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--accent); }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
@media (max-width: 700px) { .h2 { font-size: 26px; } }

/* Fil d'Ariane */
.breadcrumb { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb [aria-current] { color: var(--ink); }

/* Boutons et puces */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px;
  border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
  font: 700 14px var(--font); white-space: nowrap;
}
.btn:hover { border-color: #B9C0CA; color: var(--ink); }
.btn--primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--primary:hover { color: #fff; filter: brightness(1.08); }
.btn--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--sm { height: 36px; padding: 0 14px; font-size: 13.5px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 13px;
  border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface);
  font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap;
}
.chip small { font-family: var(--mono); font-size: 11.5px; font-weight: 400; color: var(--muted); }
.chip[aria-pressed="true"], .chip[aria-current="page"], .chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[aria-pressed="true"] small, .chip[aria-current="page"] small, .chip.is-on small { color: rgba(255,255,255,.75); }
.chip--soft { border-color: transparent; background: var(--soft); }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: 5px; background: var(--soft); font-size: 12px; font-weight: 600; white-space: nowrap; }
.tag--dark { background: rgba(10,12,15,.78); color: #fff; }
.tag--accent { background: var(--accent); color: #fff; }
.tag--warn { background: var(--warn-bg); color: var(--warn-ink); }
.datetag { display: inline-flex; padding: 2px 8px; border-radius: 6px; font-family: var(--mono); font-size: 12px; font-weight: 600; background: var(--soft); color: var(--ink-2); white-space: nowrap; }
.datetag--precise { background: var(--accent); color: #fff; }

/* Onglets (liens soulignés) */
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs a { display: flex; align-items: center; gap: 8px; padding: 12px 16px; margin-bottom: -1px; border-bottom: 3px solid transparent; font-weight: 700; font-size: 16px; color: var(--ink-3); white-space: nowrap; }
.tabs a small { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--muted); }
.tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.segmented { display: inline-flex; padding: 4px; border-radius: 10px; background: var(--soft); }
.segmented a, .segmented button { height: 34px; padding: 0 16px; display: inline-flex; align-items: center; border: 0; border-radius: 7px; background: transparent; font: 600 14px var(--font); color: var(--ink-3); }
.segmented [aria-current="page"], .segmented [aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(10,12,15,.12); }

/* Vignette vidéo et carte vidéo */
.thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--soft); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb__dur { position: absolute; right: 6px; bottom: 6px; padding: 1px 5px; border-radius: 3px; background: rgba(10,12,15,.85); color: #fff; font-family: var(--mono); font-size: 11.5px; }
.thumb__kind { position: absolute; left: 8px; top: 8px; padding: 2px 7px; border-radius: 5px; background: rgba(10,12,15,.78); color: #fff; font-size: 11.5px; font-weight: 700; }
.vcard { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.vcard__game { font-weight: 700; font-size: 15px; line-height: 1.25; }
.vcard__title { margin-top: -4px; font-size: 13.5px; line-height: 1.35; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vcard__meta { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.vcard:hover .vcard__game { color: var(--accent); }
.vrow { display: flex; gap: 12px; align-items: flex-start; }
.vrow .thumb { flex: 0 0 148px; border-radius: 8px; }
.vrow__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.vrow__game { font-weight: 700; font-size: 14px; line-height: 1.25; }
.vrow__title { font-size: 13px; line-height: 1.35; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Jaquette et carte jeu */
.cover { display: block; aspect-ratio: 264 / 374; border-radius: 10px; overflow: hidden; background: var(--soft); }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.gcard { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.gcard__name { font-weight: 700; font-size: 14px; line-height: 1.25; }
.gcard__meta { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.gcard:hover .gcard__name { color: var(--accent); }

/* Classement compact (rang + petite jaquette) */
.rankcard { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.rankcard__rank { flex: 0 0 34px; font-stretch: 75%; font-weight: 800; font-size: 40px; line-height: 1; text-align: center; color: #B9C0CA; }
.rankcard__rank--top { color: var(--accent); }
.rankcard .cover { flex: 0 0 64px; width: 64px; border-radius: 6px; }

/* Panneau blanc */
.panel { padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.panel--tight { padding: 20px; }

/* Bandeau sombre (hero) */
.hero { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--dark); color: var(--on-dark); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,12,15,.92) 0%, rgba(10,12,15,.7) 45%, rgba(10,12,15,.15) 100%); }
.hero__body { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 44px 48px; }
.hero .kicker { color: var(--mint); }
.hero .lead { color: #D5DAE1; }
@media (max-width: 700px) { .hero__body { padding: 28px 22px; } }

/* Chiffres clés */
.stats { margin: 0; display: flex; flex-wrap: wrap; gap: 28px; }
.stats div { display: flex; flex-direction: column; gap: 2px; }
.stats dt { order: 2; font-size: 13px; color: var(--muted); }
.stats dd { order: 1; margin: 0; font-stretch: 75%; font-weight: 800; font-size: 36px; line-height: 1; }
.hero .stats dt { color: var(--on-dark-2); }

/* Barres horizontales */
.bars { display: flex; flex-direction: column; gap: 10px; }
.bar { display: grid; grid-template-columns: 150px minmax(0, 1fr) 64px; gap: 12px; align-items: center; font-size: 14px; }
.bar__label { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar__track { height: 10px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.bar__fill { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.bar__val { font-family: var(--mono); font-size: 12.5px; text-align: right; }
@media (max-width: 700px) { .bar { grid-template-columns: minmax(0, 1fr) 64px; row-gap: 6px; } .bar__label { grid-column: 1 / -1; } }

/* Pagination */
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; }
.pager a, .pager span { min-width: 40px; height: 40px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 14px; }
.pager [aria-current="page"] { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }
.pager .pager__gap { border: 0; background: transparent; color: var(--muted); min-width: 0; padding: 0 4px; }

/* Lecteur YouTube (iframe ou façade) */
.player { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.player iframe, .player img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.player__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 92px; height: 92px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--accent); color: #fff; box-shadow: 0 12px 32px rgba(0,0,0,.5); }
@media (max-width: 700px) { .player__play { width: 68px; height: 68px; } }

/* Variantes sur fond sombre */
.breadcrumb--dark { color: #8C95A3; }
.breadcrumb--dark a { color: var(--on-dark-2); }
.breadcrumb--dark a:hover { color: #fff; }
.breadcrumb--dark [aria-current] { color: var(--on-dark); }
.btn--on-dark { height: 42px; padding: 0 16px; border-color: #343A44; background: var(--dark-2); color: var(--on-dark); font-weight: 600; }
.btn--on-dark:hover { border-color: #4A5260; color: #fff; }
.btn--on-dark[aria-pressed="true"] { border-color: var(--mint); color: var(--mint); }
.btn--on-dark:disabled { opacity: .7; }
.tag--on-dark { background: var(--dark-line); color: var(--on-dark); }
.kicker--muted { color: var(--muted); letter-spacing: .06em; font-size: 12px; }
.small { font-size: 12.5px; }

/* Chiffres « Le saviez-vous ? » */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.facts--1 { grid-template-columns: minmax(0, 1fr); }
.facts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fact { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: var(--r); background: var(--bg); }
.fact__big { font-stretch: 75%; font-weight: 800; font-size: 44px; line-height: 1; color: var(--accent); white-space: nowrap; }
.fact__txt { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
@media (max-width: 700px) {
  .facts, .facts--2 { grid-template-columns: minmax(0, 1fr); }
  .fact { flex-direction: row; align-items: center; gap: 14px; padding: 12px 14px; }
  .fact__big { flex: 0 0 96px; font-size: 32px; }
}

/* Captures (grande à gauche, petites à droite) */
.shots { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; }
.shots__item { display: block; border-radius: 10px; overflow: hidden; background: var(--soft); }
.shots__item:first-child { grid-row: span 2; }
.shots__item img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .25s; }
.shots__item:hover img { transform: scale(1.03); }
.shots__item.is-extra { display: none; }
@media (max-width: 700px) {
  .shots { grid-template-columns: 1fr 1fr; }
  .shots__item:first-child { grid-column: span 2; grid-row: auto; }
}

/* Lien marchand */
.shop { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); }
.shop:hover { border-color: var(--accent); color: var(--ink); }
.shop__name { font-weight: 700; font-size: 14.5px; }
.shop__cta { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--accent); }

/* Frise d'une franchise (jaquettes datées) */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 14px; }
.timeline__item { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.timeline__year { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--muted); }
.timeline__name { font-weight: 700; font-size: 13px; line-height: 1.25; }
.timeline__nb { margin-top: -4px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.timeline__item .cover { border-radius: 8px; }
.timeline__item[aria-current] .timeline__year { color: var(--accent); }
.timeline__item[aria-current] .cover { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (max-width: 1100px) {
  .timeline { display: flex; overflow-x: auto; gap: 12px; padding: 4px 4px 8px; scrollbar-width: thin; }
  .timeline > li { flex: 0 0 104px; }
}

/* 8. Page vidéo ------------------------------------------------------------ */
.vp-hero { background: #0E1013; color: var(--on-dark); }
.vp-hero__inner { display: flex; flex-direction: column; gap: 18px; padding-top: 18px; padding-bottom: 32px; }
.vp-top { display: grid; grid-template-columns: minmax(0, 1fr) 384px; gap: 28px; align-items: start; }
.vp-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.player--hero { box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.vp-head { display: flex; flex-direction: column; gap: 12px; }
.vp-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.vp-kicker a { font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--mint); }
.vp-kicker a:hover { color: #fff; }
.vp-kicker .tag { background: var(--dark-line); }
.vp-title { font-stretch: 75%; font-weight: 800; font-size: 46px; line-height: .95; text-transform: uppercase; color: #fff; overflow-wrap: anywhere; }
.vp-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--on-dark-2); }
.vp-meta strong { color: var(--on-dark); }
.vp-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-like__count:empty { display: none; }
.btn-like__count { font-family: var(--mono); font-size: 12.5px; font-weight: 500; color: var(--on-dark-2); }

.vp-game { display: flex; flex-direction: column; gap: 16px; padding: 20px; border-radius: var(--r-lg); background: var(--dark-2); border: 1px solid var(--dark-line); }
.vp-game__head { display: flex; gap: 14px; align-items: center; color: var(--on-dark); }
.vp-game__head:hover { color: #fff; }
.vp-game__head:hover .vp-game__name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.vp-game__cover { flex: 0 0 76px; border-radius: 8px; background: var(--dark-line); }
.vp-game__id { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.vp-game__name { font-stretch: 75%; font-weight: 800; font-size: 24px; line-height: 1; text-transform: uppercase; }
.vp-game__genres { font-size: 13px; color: var(--on-dark-2); }
.vp-game__plats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.vp-game__h { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-2); }
.vp-game__cta { background: #fff; border-color: #fff; color: var(--ink); }
.vp-game__cta:hover { color: var(--accent); border-color: #fff; }
.vp-release { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r); background: color-mix(in srgb, var(--accent) 22%, var(--dark-2)); }
.vp-release__txt { display: flex; flex-direction: column; gap: 2px; }
.vp-release__label { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #C9D0DA; }
.vp-release__date { font-weight: 700; font-size: 16px; color: #fff; }
.vp-release__count { margin-left: auto; font-stretch: 75%; font-weight: 800; font-size: 44px; line-height: 1; color: #fff; white-space: nowrap; }
.vp-playlist { display: flex; flex-direction: column; gap: 10px; }
.vp-pl { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 10px; border: 1px solid var(--dark-line); color: var(--on-dark); }
.vp-pl:hover { color: #fff; border-color: #4A5260; }
.vp-pl[aria-current] { border-color: var(--accent); background: rgba(255,255,255,.06); }
.vp-pl__thumb { flex: 0 0 120px; border-radius: 7px; background: #000; }
.vp-pl__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.vp-pl__title { font-weight: 700; font-size: 14.5px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vp-pl__meta { font-family: var(--mono); font-size: 11.5px; color: var(--on-dark-2); }
.vp-pl__now { font-size: 12px; font-weight: 700; color: var(--mint); }

.vp-col { gap: 44px; min-width: 0; }
.vp-side { gap: 28px; min-width: 0; }
.vp-about { gap: 14px; }
.vp-about .lead a { color: var(--accent); font-weight: 600; }
.vp-also { font-size: 15px; color: var(--ink-3); }
.vp-also a { color: var(--accent); font-weight: 600; }
.vp-facts { display: flex; flex-direction: column; gap: 18px; }
.vp-facts__title { font-size: 26px; }
.vp-facts .bar { grid-template-columns: minmax(0, 190px) minmax(0, 1fr) 64px; }
.vp-facts .bar__track { height: 12px; }
.bar--other .bar__fill { background: var(--ink-3); }
.bar--ref .bar__fill { background: #B9C0CA; }
.bar--ref .bar__label { color: var(--muted); }
.bar--mine .bar__label { font-weight: 800; }
.vp-facts__sum { padding-top: 14px; border-top: 1px solid var(--soft); font-size: 14px; color: var(--ink-3); }
.vp-facts__sum strong { color: var(--ink); }
@media (max-width: 1100px) {
  .vp-top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .vp-hero__inner { padding-top: 14px; padding-bottom: 24px; gap: 14px; }
  .vp-title { font-size: 30px; }
  .vp-actions > * { flex: 1 1 auto; }
  .vp-facts .bar { grid-template-columns: minmax(0, 1fr) 64px; }
  .vp-game { padding: 16px; }
}

/* Variantes communes ajoutées avec la fiche jeu */
.btn--lg { height: 48px; padding: 0 22px; font-size: 15px; }
.btn--glass { border-color: rgba(238,241,244,.28); background: rgba(10,12,15,.45); color: var(--on-dark); font-weight: 600; }
.btn--glass:hover { border-color: rgba(238,241,244,.5); color: #fff; }
.btn__count { min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; background: rgba(238,241,244,.16); font-family: var(--mono); font-size: 11px; }
.chip--glass { background: rgba(10,12,15,.55); border-color: rgba(238,241,244,.22); color: var(--on-dark); }
.chip--glass:hover { color: #fff; border-color: rgba(238,241,244,.5); }
.chip--square { border-radius: 6px; }
.pill-glass { height: 26px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 6px; background: rgba(238,241,244,.14); color: var(--on-dark); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.pill-glass:hover { color: #fff; background: rgba(238,241,244,.22); }
.tag--mono { height: 24px; padding: 0 8px; background: var(--line); font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.tag--accent-ink { color: var(--accent); }
.split--380 { grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; }
@media (max-width: 1100px) { .split--380 { grid-template-columns: minmax(0, 1fr); } }

/* Barre de sections (ancres) */
.secnav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.secnav a { height: 40px; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px; border-radius: 8px; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.secnav a:hover { background: var(--soft); color: var(--ink); }
.secnav small { font-family: var(--mono); font-size: 12px; color: var(--muted); }
@media (max-width: 700px) { .secnav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .secnav a { flex: 0 0 auto; padding: 0 12px; } }

/* Lecteur à façade : note et durée */
.player__note { position: absolute; left: 14px; bottom: 14px; padding: 5px 10px; border-radius: 6px; background: rgba(10,12,15,.82); font-family: var(--mono); font-size: 11px; color: #E3E6EB; }
.player__dur { position: absolute; right: 14px; bottom: 14px; padding: 3px 8px; border-radius: 5px; background: rgba(10,12,15,.85); font-family: var(--mono); font-size: 12px; color: #fff; }
.player[data-yt] { cursor: pointer; }
.player__play:hover { filter: brightness(1.1); }
@media (max-width: 700px) { .player__note { display: none; } }

/* Mosaïque de captures (grande à gauche) */
.mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 230px; gap: 14px; }
.mosaic__item { display: block; border-radius: var(--r); overflow: hidden; background: var(--soft); }
.mosaic__item--big { grid-column: span 2; grid-row: span 2; }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.mosaic__item:hover img { transform: scale(1.03); }
.mosaic__item.is-extra { display: none; }
@media (max-width: 700px) { .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 130px; } .mosaic__item--big { grid-row: span 1; } }

/* 9. Fiche jeu ------------------------------------------------------------- */
.page--game { gap: 76px; }
@media (max-width: 700px) { .page--game { gap: 48px; } }
.gp-hero { position: relative; display: flex; align-items: flex-end; min-height: 440px; border-radius: var(--r-xl); overflow: hidden; background: var(--dark); color: var(--on-dark); }
.gp-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.gp-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,12,15,.95) 0%, rgba(10,12,15,.72) 45%, rgba(10,12,15,.2) 85%), linear-gradient(0deg, rgba(10,12,15,.96) 0%, rgba(10,12,15,.1) 70%); }
.gp-hero__body { position: relative; width: 100%; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 32px; padding: clamp(24px, 4vw, 44px); }
.gp-hero__cover { flex: 0 0 auto; width: 196px; border-radius: var(--r); box-shadow: 0 18px 40px rgba(0,0,0,.55); background: var(--dark-line); }
.gp-hero__main { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.gp-hero__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; }
.gp-hero__kicker > a:not(.pill-glass) { color: #C9D0DA; }
.gp-hero__kicker > a:not(.pill-glass):hover { color: #fff; }
.gp-title { font-stretch: 75%; font-weight: 800; font-size: clamp(44px, 6.4vw, 96px); line-height: .88; letter-spacing: -.01em; text-transform: uppercase; overflow-wrap: anywhere; }
.gp-hero__line { display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--mono); font-size: 13px; color: #C9D0DA; }
.gp-hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.gp-stats { flex: 0 1 auto; margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 1px; border-radius: var(--r); overflow: hidden; background: rgba(238,241,244,.14); }
.gp-stats div { padding: 14px 20px; background: rgba(10,12,15,.8); }
.gp-stats dt { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #A3ACB9; }
.gp-stats dd { margin: 4px 0 0; font-stretch: 75%; font-weight: 800; font-size: 36px; line-height: 1; white-space: nowrap; }
.gp-stats dd small { font-size: 18px; color: #A3ACB9; }
@media (max-width: 700px) {
  .gp-hero { min-height: 0; }
  .gp-hero__body { gap: 20px; }
  .gp-hero__cover { width: 112px; }
  .gp-stats { width: 100%; }
  .gp-stats div { padding: 10px 14px; }
  .gp-stats dd { font-size: 28px; }
}

.gp-watch { display: flex; flex-wrap: wrap; gap: 24px; scroll-margin-top: 16px; }
.gp-watch__main { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.gp-now { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px; }
.gp-now__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.gp-now__title { font-size: 22px; font-weight: 700; line-height: 1.25; }
.gp-now__meta { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.gp-playlist { flex: 1 1 380px; min-width: 0; align-self: flex-start; display: flex; flex-direction: column; gap: 10px; padding: 18px; }
.gp-playlist__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding: 0 6px; }
.gp-playlist__head .h3 { white-space: nowrap; }
.gp-playlist__head > span { white-space: nowrap; }
.gp-playlist__list { list-style: none; display: flex; flex-direction: column; gap: 4px; max-height: 520px; overflow-y: auto; scrollbar-width: thin; }
.pl-item { display: flex; align-items: flex-start; gap: 12px; padding: 10px 8px; border-radius: 10px; }
.pl-item:hover { background: var(--soft); color: var(--ink); }
.pl-item[aria-current] { background: var(--line); }
.pl-item__thumb { flex: 0 0 132px; border-radius: 7px; }
.pl-item__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pl-item__kind { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.pl-item__now { display: none; }
.pl-item[aria-current] .pl-item__kind { color: var(--accent); }
.pl-item[aria-current] .pl-item__now { display: inline; }
.pl-item__title { font-weight: 700; font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pl-item__meta { font-family: var(--mono); font-size: 11px; color: var(--muted); }

.gp-band { position: relative; display: flex; align-items: center; min-height: 320px; border-radius: var(--r-xl); overflow: hidden; background: var(--dark); color: #fff; }
.gp-band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.gp-band__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,12,15,.92) 0%, rgba(10,12,15,.6) 48%, rgba(10,12,15,.1) 100%); }
.gp-band__body { position: relative; max-width: 760px; padding: clamp(24px, 4vw, 52px); display: flex; flex-direction: column; gap: 14px; }
.gp-band .kicker { color: var(--mint); font-size: 11px; letter-spacing: .1em; }
.gp-band__title { font-stretch: 75%; font-weight: 800; font-size: clamp(28px, 3.6vw, 48px); line-height: 1; text-transform: uppercase; }
.gp-band__text { max-width: 600px; font-size: 16px; line-height: 1.55; color: #DCE1E7; }
.gp-band__src { font-family: var(--mono); font-size: 11px; color: #C9D0DA; }

.gp-col { gap: 48px; min-width: 0; }
.gp-side { gap: 20px; min-width: 0; }
.gp-text { gap: 14px; }
.gp-text .lead { color: #2A313C; }

/* Chronologie verticale des bandes-annonces */
.ttl { list-style: none; display: flex; flex-direction: column; }
.ttl__item { display: grid; grid-template-columns: 104px 14px minmax(0, 1fr); gap: 0 18px; position: relative; }
.ttl__item::before { content: ""; position: absolute; left: calc(104px + 18px + 6px); top: 0; bottom: 0; width: 2px; background: var(--line-strong); }
.ttl > .ttl__item:first-child::before { top: 20px; }
.ttl > .ttl__item:last-child::before { bottom: auto; height: 20px; }
.ttl__date { padding-top: 14px; font-family: var(--mono); font-size: 12px; color: var(--ink-2); text-align: right; }
.ttl__dot { position: relative; z-index: 1; width: 14px; height: 14px; margin-top: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--muted); }
.ttl__item--release .ttl__dot { background: var(--accent); border-color: var(--accent); }
.ttl__body { display: flex; align-items: flex-start; gap: 16px; padding: 6px 0 20px; min-width: 0; }
.ttl__thumb { flex: 0 0 144px; border-radius: 9px; }
.ttl__txt { display: flex; flex-direction: column; gap: 3px; padding-top: 4px; min-width: 0; }
.ttl__kind { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.ttl__item--release .ttl__kind, .ttl__item--release .ttl__date { color: var(--accent); }
.ttl__item--release .ttl__body { flex-direction: column; gap: 3px; padding-top: 14px; }
.ttl__title { font-weight: 700; font-size: 15px; line-height: 1.3; }
.ttl__meta { font-family: var(--mono); font-size: 11px; color: var(--muted); }
a.ttl__body:hover .ttl__title { color: var(--accent); }
.ttl-more summary { padding: 8px 0 14px 140px; font-weight: 600; font-size: 14px; color: var(--accent); }
@media (max-width: 700px) {
  .ttl__item { grid-template-columns: 14px minmax(0, 1fr); gap: 0 12px; }
  .ttl__item::before { left: 6px; }
  .ttl__date { grid-column: 2; grid-row: 1; padding-top: 12px; text-align: left; }
  .ttl__dot { grid-column: 1; grid-row: 1 / span 2; }
  .ttl__body { grid-column: 2; padding-top: 2px; }
  .ttl__thumb { flex-basis: 112px; }
  .ttl-more summary { padding-left: 26px; }
}

/* Fiche technique et marchands */
.factsheet { display: flex; flex-direction: column; gap: 6px; }
.factsheet__img { width: calc(100% + 48px); max-width: none; margin: -24px -24px 14px; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 15px 15px 0 0; }
.factsheet .h3 { margin-bottom: 8px; }
.factsheet dl { margin: 0; display: flex; flex-direction: column; }
.factsheet dl > div { display: flex; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); }
.factsheet dt { flex: 0 0 104px; padding-top: 2px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.factsheet dd { margin: 0; flex: 1; min-width: 0; font-size: 14px; line-height: 1.45; }
.factsheet dd a { color: var(--accent); font-weight: 600; }
.merchants { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.merchant { height: 52px; display: grid; place-items: center; padding: 8px 14px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.merchant:hover { border-color: var(--accent); }
.merchant img { max-width: 100%; max-height: 28px; width: auto; object-fit: contain; }

/* Jaquettes d'une franchise (petites, datées) */
.saga { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 16px 12px; }
.saga a { display: flex; flex-direction: column; gap: 6px; }
.saga .cover { border-radius: 6px; opacity: .72; transition: opacity .15s; }
.saga a:hover .cover, .saga [aria-current] .cover { opacity: 1; }
.saga [aria-current] .cover { outline: 2px solid var(--accent); outline-offset: 2px; }
.saga__year { font-family: var(--mono); font-size: 11px; color: var(--ink-3); text-align: center; }
.saga [aria-current] .saga__year { color: var(--accent); font-weight: 600; }
.gp-more-shots { align-self: flex-start; }

/* Variantes ajoutées avec l'accueil */
.tag--caps { height: 26px; padding: 0 10px; border-radius: 6px; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.tag--glass { background: rgba(238,241,244,.12); color: var(--on-dark); font-weight: 500; }
.section__head--end { align-items: flex-end; justify-content: space-between; gap: 16px; }
.section__head--end .section__more { margin-left: 8px; }
.grid--videos { gap: 32px 20px; }
.cover { position: relative; }
.cover__flag { position: absolute; left: 8px; top: 8px; padding: 3px 7px; border-radius: 5px; background: var(--accent); color: #fff; font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

/* Tuile illustrée (franchise, genre) : image + voile + texte blanc */
.tile { position: relative; display: flex; align-items: flex-end; border-radius: 14px; overflow: hidden; background: #1A1E25; color: var(--on-dark); }
.tile--16x9 { aspect-ratio: 16 / 9; }
.tile--16x10 { aspect-ratio: 16 / 10; }
.tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,12,15,.94) 0%, rgba(10,12,15,.35) 55%, rgba(10,12,15,0) 100%); }
.tile:hover { color: #fff; }
.tile:hover > img { transform: scale(1.04); }
.tile__body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; }
.tile__body--sm { gap: 4px; padding: 14px 16px; }
.tile__name { font-stretch: 75%; font-weight: 800; font-size: 24px; line-height: 1; text-transform: uppercase; color: #fff; }
.tile__name--lg { font-size: 32px; }
.tile__meta { font-family: var(--mono); font-size: 11.5px; color: #E3E6EB; }
.tile__sub { font-size: 13px; color: #C9D0DA; }

/* Lettres A–Z (grandes cases) */
.az { display: grid; grid-template-columns: repeat(auto-fill, minmax(38px, 1fr)); gap: 6px; }
.az a, .az span { height: 38px; display: grid; place-items: center; border-radius: 8px; background: var(--soft); border: 1px solid var(--line-strong); font-stretch: 75%; font-weight: 800; font-size: 17px; }
.az a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.az span { opacity: .4; }

/* 10. Accueil -------------------------------------------------------------- */
.page--home { padding-top: 36px; gap: 80px; }
@media (max-width: 700px) { .page--home { padding-top: 20px; gap: 52px; } }
.home-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; }
.home-title { font-stretch: 75%; font-weight: 800; font-size: clamp(30px, 3.4vw, 46px); line-height: 1; text-transform: uppercase; }
.home-title span { color: var(--accent); }
.home-count { display: flex; flex-wrap: wrap; gap: 6px 20px; font-family: var(--mono); font-size: 13px; color: var(--ink-3); }
.home-count strong { color: var(--ink); font-weight: 600; }
.home-une { display: flex; flex-wrap: wrap; gap: 20px; }
.une { flex: 999 1 640px; min-width: 0; position: relative; display: flex; align-items: flex-end; min-height: 560px; border-radius: var(--r-lg); overflow: hidden; background: var(--dark); color: var(--on-dark); }
.une__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 30%; }
.une__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,12,15,.94) 0%, rgba(10,12,15,.62) 42%, rgba(10,12,15,0) 72%), linear-gradient(0deg, rgba(10,12,15,.9) 0%, rgba(10,12,15,0) 55%); }
.une__body { position: relative; max-width: 620px; padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 18px; }
.une__title { font-stretch: 75%; font-weight: 800; font-size: clamp(40px, 5.2vw, 72px); line-height: .92; text-transform: uppercase; color: #fff; overflow-wrap: anywhere; }
.une__title span { display: block; margin-top: 8px; color: #C9D0DA; font-weight: 600; font-size: .55em; }
.une__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-family: var(--mono); font-size: 13px; color: #C9D0DA; }
.une__release { font-size: 16px; line-height: 1.5; color: #DCE1E7; }
.une__release strong { color: var(--mint); font-family: var(--mono); font-weight: 600; }
.une__ctas { gap: 10px; margin-top: 6px; }
.une-side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 18px; }
.une-side .kicker { margin: 0 0 6px; padding: 0 10px; }
.une-side__item { display: flex; align-items: flex-start; gap: 14px; padding: 10px; border-radius: 10px; }
.une-side__item:hover { background: var(--soft); color: var(--ink); }
.une-side__item .thumb { flex: 0 0 148px; border-radius: 8px; }
.une-side__game { font-weight: 700; font-size: 15px; line-height: 1.25; }
.une-side__more { margin: auto 0 0; padding: 12px 10px 4px; }
@media (max-width: 700px) { .une { min-height: 460px; } .une-side__item .thumb { flex-basis: 120px; } }

.upcoming-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(140px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.upc { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.upc__date { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; padding-top: 10px; border-top: 2px solid var(--line-strong); font-family: var(--mono); font-size: 12px; font-weight: 500; white-space: nowrap; }
.upc__date.is-hot { border-top-color: var(--accent); }
.upc__cd { color: var(--muted); }
.upc__date.is-hot .upc__cd { color: var(--accent); }
.upc__name { font-weight: 700; font-size: 15px; line-height: 1.25; }
.upc:hover .upc__name { color: var(--accent); }

.home-duo { display: flex; flex-wrap: wrap; gap: 24px; }
.home-duo__main { flex: 999 1 600px; min-width: 0; gap: 18px; }
.trend { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr)); gap: 0 28px; }
.trend li { border-bottom: 1px solid var(--line); }
.trend__item { display: flex; align-items: center; gap: 16px; padding: 14px 0; }
.trend__rank { flex: 0 0 34px; text-align: center; font-stretch: 75%; font-weight: 800; font-size: 46px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--muted); }
.trend__item:hover .trend__rank { -webkit-text-stroke-color: var(--accent); }
.trend__item .thumb { flex: 0 0 128px; border-radius: 8px; }
.trend__title { font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-events { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 26px; }
.home-events__title { font-size: 26px; }
.home-events__more { margin: auto 0 0; }
.evlist { list-style: none; }
.evlist li { border-top: 1px solid var(--line); }
.evlist__item { display: flex; align-items: center; gap: 14px; padding: 12px 0; }
.evlist__item .thumb { flex: 0 0 96px; border-radius: 8px; }
.evlist__txt { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.evlist__txt strong { font-size: 15px; }
.evlist__txt small { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.evlist__n { flex-shrink: 0; font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
.home-browse { display: flex; flex-wrap: wrap; gap: 20px; }
.home-browse__plats { flex: 1 1 380px; min-width: 0; }
.home-browse__az { flex: 1 1 320px; min-width: 0; }

/* Variantes ajoutées avec la page franchise */
.stack-4 { gap: 4px; }
.h2__count { font-family: var(--mono); font-stretch: 100%; font-weight: 500; font-size: 18px; color: var(--muted); text-transform: none; }
.is-more[hidden] { display: none; }
.more-btn { align-self: center; }
.secnav__plats { margin-left: auto; padding: 0 12px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.secnav__plats .tag { height: 28px; padding: 0 10px; border-radius: 6px; font-size: 13px; }
.secnav__label { margin-right: 4px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mosaic--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; }
.mosaic__item { position: relative; }
.mosaic__item--wide { grid-column: span 2; }
.mosaic__cap { position: absolute; left: 10px; bottom: 10px; padding: 4px 9px; border-radius: 6px; background: rgba(10,12,15,.78); color: #fff; font-family: var(--mono); font-size: 11px; }
@media (max-width: 700px) { .mosaic--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 140px; } .mosaic--4 .mosaic__item--wide { grid-column: span 2; } }
.trend--col { grid-template-columns: minmax(0, 1fr); }
.trend__rank--sm { flex-basis: 26px; font-size: 34px; -webkit-text-stroke-width: 1.2px; }
.tile__body--row { flex-direction: row; align-items: flex-end; gap: 14px; padding: 16px; }
.tile__cover { flex: 0 0 56px; width: 56px; border-radius: 6px; box-shadow: 0 6px 16px rgba(0,0,0,.45); }

/* Questions fréquentes (repliables, avec vignette) */
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 16px; }
.faq summary img { flex: 0 0 auto; width: 56px; height: 56px; object-fit: cover; border-radius: 10px; }
.faq summary > span:first-of-type { flex: 1; }
.faq__sign { font-family: var(--mono); color: var(--accent); }
.faq__sign::before { content: "+"; }
.faq details[open] .faq__sign::before { content: "–"; }
.faq p { margin: 10px 0 0 70px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.faq summary:not(:has(img)) + p { margin-left: 0; }
@media (max-width: 700px) { .faq p { margin-left: 0; } }

/* 11. Page franchise --------------------------------------------------------- */
.fr-hero { min-height: 580px; }
.fr-hero__shade { background: linear-gradient(90deg, rgba(10,12,15,.93) 0%, rgba(10,12,15,.55) 45%, rgba(10,12,15,.05) 80%), linear-gradient(0deg, rgba(10,12,15,.95) 0%, rgba(10,12,15,0) 60%); }
.fr-hero__body { justify-content: space-between; gap: 24px; padding: clamp(24px, 4vw, 52px); }
.fr-hero__main { flex: 1 1 520px; max-width: 700px; display: flex; flex-direction: column; gap: 18px; }
.fr-hero__since { color: #C9D0DA; letter-spacing: .04em; }
.fr-title { font-stretch: 75%; font-weight: 800; font-size: clamp(56px, 9vw, 132px); line-height: .85; letter-spacing: -.01em; text-transform: uppercase; overflow-wrap: anywhere; }
.fr-hero__intro { max-width: 620px; font-size: 17px; line-height: 1.55; color: #DCE1E7; }
.fr-stats { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fr-stats div { padding: 16px 22px; background: rgba(10,12,15,.78); }
.fr-stats dd { font-size: 40px; }
.fr-hero__credit { position: absolute; right: 16px; top: 16px; padding: 5px 10px; border-radius: 6px; background: rgba(10,12,15,.7); font-family: var(--mono); font-size: 11px; color: #C9D0DA; }
@media (max-width: 700px) { .fr-hero { min-height: 0; } .fr-stats dd { font-size: 30px; } .fr-hero__credit { display: none; } }

.fr-top { display: flex; flex-wrap: wrap; gap: 24px; }
.fr-top__main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.fr-top__thumb { display: grid; place-items: center; border-radius: 14px; }
.fr-top__thumb img { position: absolute; inset: 0; }
.fr-top__play { position: relative; width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; background: rgba(10,12,15,.72); border: 2px solid rgba(238,241,244,.8); }
.fr-top__thumb:hover .fr-top__play { background: var(--accent); border-color: var(--accent); }
.fr-top__badge { position: absolute; left: 14px; top: 14px; }
.fr-top__game { font-weight: 700; font-size: 20px; line-height: 1.25; }
.fr-top__title { font-size: 15px; color: var(--ink-3); }
.fr-top__list { flex: 1 1 380px; min-width: 0; }
.fr-top__list .thumb { flex-basis: 150px; }

.saga-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(118px, 100%), 1fr)); gap: 28px 16px; }
.saga-grid__decade { min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding: 14px 0 0 14px; border-left: 2px solid var(--accent); }
.saga-grid__label { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.saga-grid__dec { font-stretch: 75%; font-weight: 800; font-size: 54px; line-height: .95; }
.saga-grid__blurb { font-size: 13px; line-height: 1.4; color: var(--ink-3); }
.saga-grid__game { display: flex; flex-direction: column; gap: 8px; }
.saga-grid__game .mono { color: var(--ink-2); }
.saga-grid__game.is-quiet { opacity: .62; }
.saga-grid__game:hover { opacity: 1; }
.saga-grid__game:hover .gcard__name { color: var(--accent); }
.saga-grid__game .cover { border-radius: 8px; }

.fr-duo { display: flex; flex-wrap: wrap; gap: 24px; }
.fr-buy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: 28px; }
.fr-faq { flex: 1.4 1 480px; min-width: 0; }
.fr-duo__title { font-size: 26px; }
.fr-buy__games { gap: 12px; }
.shoplist { list-style: none; }
.shoplist li { border-top: 1px solid var(--line); }
.shoplist__item { display: flex; align-items: center; gap: 16px; padding: 14px 0; }
.shoplist__logo { flex: 0 0 104px; height: 44px; padding: 6px 12px; }
.shoplist__name { flex: 1; font-weight: 600; font-size: 15px; }

/* 12. Catalogues ------------------------------------------------------------- */
.page--catalog { gap: 56px; }
.cat-hero { position: relative; overflow: hidden; display: flex; align-items: center; min-height: 380px; border-radius: var(--r-xl); background: var(--dark); color: var(--on-dark); }
.cat-hero__wall { position: absolute; inset: -20px; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 10px; transform: rotate(-4deg) scale(1.08); opacity: .55; }
.cat-hero__wall img { width: 100%; aspect-ratio: 264 / 374; object-fit: cover; border-radius: 8px; }
.cat-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,12,15,.96) 0%, rgba(10,12,15,.82) 45%, rgba(10,12,15,.35) 100%); }
.cat-hero__body { position: relative; max-width: 720px; padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 18px; }
.cat-hero .kicker { color: var(--mint); }
.cat-hero__title { font-stretch: 75%; font-weight: 800; font-size: clamp(48px, 7vw, 96px); line-height: .88; text-transform: uppercase; }
.cat-hero__lead { max-width: 560px; font-size: 17px; line-height: 1.55; color: #DCE1E7; }
.cat-search { display: flex; flex-wrap: wrap; gap: 8px; max-width: 620px; }
.cat-search input { flex: 1 1 260px; min-width: 0; height: 50px; padding: 0 16px; border-radius: 10px; border: 1px solid rgba(238,241,244,.28); background: rgba(255,255,255,.96); color: var(--ink); font-size: 16px; }
.cat-search .btn { height: 50px; }
.chip--glass small { color: #C9D0DA; }
@media (max-width: 700px) { .cat-hero__wall { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.tile__flag { position: absolute; left: 12px; top: 12px; z-index: 1; }
.tile__name--md { font-size: 26px; }

.cat-layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px; scroll-margin-top: 16px; }
.cat-filters { flex: 1 1 260px; max-width: 300px; display: flex; flex-direction: column; gap: 20px; padding: 22px; position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; scrollbar-width: thin; }
.cat-filters[open] { gap: 20px; }
.cat-filters__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.cat-filters__reset { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.facet { display: flex; flex-direction: column; margin-top: 18px; }
.facet__legend { margin-bottom: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.facet__opt { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; }
.facet__box { flex: 0 0 16px; width: 16px; height: 16px; display: grid; place-items: center; border-radius: 4px; border: 1.5px solid #B9C0CA; background: var(--surface); color: #fff; }
.facet__opt[aria-current] .facet__box { background: var(--accent); border-color: var(--accent); }
.facet__opt[aria-current] .facet__name { font-weight: 700; }
.facet__opt:hover .facet__box { border-color: var(--accent); }
.facet__name { flex: 1; min-width: 0; }
.facet__n { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.facet__more summary { margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--accent); }
.cat-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.cat-main__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; }
.cat-sort { display: flex; align-items: center; gap: 10px; }
.cat-sort select { height: 38px; padding: 0 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line-strong); font: 600 14px var(--font); }
.letters--catalog { margin-top: 0; }
.letters a[aria-current] { background: var(--accent); color: #fff; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); gap: 26px 16px; }
.cover__badge { position: absolute; right: 6px; top: 6px; padding: 2px 6px; border-radius: 5px; background: rgba(10,12,15,.82); color: #fff; font-family: var(--mono); font-size: 10.5px; }
.gcard__sub { margin-top: -4px; font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pager { margin-top: 12px; }
.pager a[rel] { padding: 0 14px; }
@media (max-width: 900px) {
  .cat-filters { position: static; max-width: none; max-height: none; flex-basis: 100%; }
  .cat-filters:not([open]) { padding: 14px 18px; }
}

/* En-tête des index (intro + tuiles) */
.idx-top { display: flex; flex-wrap: wrap; align-items: stretch; gap: 28px; }
.idx-intro { flex: 1 1 380px; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: clamp(24px, 3vw, 40px); }
.idx-title { font-stretch: 75%; font-weight: 800; font-size: clamp(44px, 5.4vw, 80px); line-height: .88; text-transform: uppercase; }
.idx-must { flex: 1.7 1 620px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.idx-must__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 12px; }
.cat-search--light input { border-color: var(--line-strong); background: var(--surface); }

/* Carte franchise : trois jaquettes en éventail */
.frcards { gap: 20px; }
.frcard { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: border-color .15s, transform .15s; }
.frcard:hover { border-color: var(--accent); transform: translateY(-2px); color: var(--ink); }
.frcard__fan { position: relative; height: 170px; display: flex; justify-content: center; align-items: flex-end; padding-top: 16px; background: linear-gradient(180deg, var(--soft), #E3E7EC); overflow: hidden; }
.frcard__fan img { width: 96px; aspect-ratio: 264 / 374; object-fit: cover; border-radius: 7px; box-shadow: 0 8px 20px rgba(10,12,15,.25); margin: 0 -22px; transform-origin: bottom center; }
.frcard__fan img:nth-of-type(1) { transform: rotate(-9deg) translateY(10px); }
.frcard__fan img:nth-of-type(2) { position: relative; z-index: 1; }
.frcard__fan img:nth-of-type(3) { transform: rotate(9deg) translateY(10px); }
.frcard__fan img:only-of-type { transform: none; }
.frcard__rank { position: absolute; left: 12px; top: 10px; z-index: 2; font-stretch: 75%; font-weight: 800; font-size: 30px; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--ink-3); }
.frcard__body { display: flex; flex-direction: column; gap: 5px; padding: 14px 16px 16px; min-width: 0; }
.frcard__name { font-stretch: 75%; font-weight: 800; font-size: 24px; line-height: 1; text-transform: uppercase; }
@media (max-width: 1100px) { .frcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .frcards { grid-template-columns: minmax(0, 1fr); } }

/* Séries : arbre « série ou franchise », grandes séries, rangée de jaquettes */
.serie-tree { flex: 1 1 420px; display: flex; flex-direction: column; gap: 18px; padding: 24px; }
.serie-tree__tree { display: flex; flex-direction: column; align-items: center; }
.serie-tree__root { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 10px; background: var(--soft); font-weight: 800; font-size: 16px; }
.serie-tree__branches { list-style: none; position: relative; display: flex; justify-content: center; gap: 18px; margin-top: 18px; padding-top: 18px; border-top: 2px solid var(--line-strong); width: 100%; }
.serie-tree__root::after { content: ""; }
.serie-tree__branches li { flex: 1 1 0; min-width: 0; }
.serie-tree__branches a { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.serie-tree__branches strong { font-size: 14px; line-height: 1.2; }
.serie-tree__branches small { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.serie-tree__covers { display: flex; justify-content: center; padding-left: 20px; }
.serie-tree__covers img { width: 44px; aspect-ratio: 264 / 374; object-fit: cover; border-radius: 5px; margin-left: -20px; box-shadow: 0 4px 10px rgba(10,12,15,.2); border: 2px solid var(--surface); }
.serie-big__covers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 16px 16px 0; background: linear-gradient(180deg, var(--soft), #E3E7EC); }
.serie-big__covers img { width: 100%; aspect-ratio: 264 / 374; object-fit: cover; border-radius: 7px 7px 0 0; }
.frcard__name--lg { font-size: 30px; }
.serie-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 12px 12px 0; background: var(--soft); }
.serie-row img { width: 100%; aspect-ratio: 264 / 374; object-fit: cover; border-radius: 6px 6px 0 0; }
.serie-row__name { font-weight: 800; font-size: 17px; line-height: 1.2; }

/* Plateformes : familles colorées */
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--accent)); flex: 0 0 auto; }
.dot--lg { width: 14px; height: 14px; }
.fam-tiles { flex: 1.4 1 520px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.fam-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 120px; padding: 12px; border-radius: 12px; overflow: hidden; background: var(--c); color: #fff; }
.fam-tile img { position: absolute; right: -10px; top: -14px; width: 62%; aspect-ratio: 264 / 374; object-fit: cover; border-radius: 6px; transform: rotate(8deg); opacity: .55; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.fam-tile:hover { color: #fff; filter: brightness(1.08); }
.fam-tile__ab { position: relative; font-stretch: 75%; font-weight: 800; font-size: 28px; line-height: 1; text-transform: uppercase; }
.fam-tile__name { position: relative; font-family: var(--mono); font-size: 11px; opacity: .85; }
@media (max-width: 700px) { .fam-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fam { gap: 16px; scroll-margin-top: 16px; }
.fam__head { display: flex; flex-direction: column; gap: 6px; }
.fam__head .row { gap: 12px; }
.fam__body { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px; }
.fam-big { flex: 1 1 360px; max-width: 460px; display: flex; flex-direction: column; gap: 16px; padding: 20px; border-radius: var(--r-lg); background: var(--c); color: #fff; }
.fam-big:hover { color: #fff; filter: brightness(1.06); }
.fam-big__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.fam-big__ab { font-stretch: 75%; font-weight: 800; font-size: 54px; line-height: .9; text-transform: uppercase; }
.fam-big__name { font-weight: 700; font-size: 16px; }
.fam-big__n { font-family: var(--mono); font-size: 12px; text-align: right; opacity: .9; }
.fam-big__covers { display: flex; gap: 10px; }
.fam-big__covers > span { display: flex; flex-direction: column; gap: 6px; width: 96px; }
.fam-big__covers img { width: 100%; aspect-ratio: 264 / 374; object-fit: cover; border-radius: 7px; box-shadow: 0 6px 16px rgba(0,0,0,.3); }
.fam-big__covers small { font-size: 11.5px; line-height: 1.25; opacity: .9; }
.fam-big__cta { font-weight: 700; font-size: 14px; }
.fam__small { flex: 2 1 480px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 10px; }
.plat-row { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.plat-row:hover { border-color: var(--c); color: var(--ink); }
.plat-row__cover { flex: 0 0 48px; width: 48px; border-radius: 5px; }
.plat-row__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.plat-row__title { display: flex; align-items: center; gap: 8px; min-width: 0; }
.plat-row__ab { flex: 0 1 auto; max-width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 1px 6px; border-radius: 5px; background: var(--c); color: #fff; font-family: var(--mono); font-size: 11px; font-weight: 600; }
.plat-row__name { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fam__rest { font-size: 13px; line-height: 1.6; color: var(--ink-3); }
.fam__rest strong { color: var(--ink); }
.fam__rest a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 2px; }

/* Genres */
.ge-mosaic { flex: 1.3 1 480px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(150px, 1fr)); gap: 10px; }
.ge-mosaic__big { grid-row: span 2; }
.ge-mosaic .tile { aspect-ratio: auto; }
.ge-card { padding: 0; }
.ge-card__img { border-radius: 0; }
.ge-card__rank { position: absolute; right: 12px; top: 6px; z-index: 1; font-stretch: 75%; font-weight: 800; font-size: 44px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.8); }
.ge-card__covers { display: flex; gap: 10px; }
.ge-card__covers > span { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ge-card__covers img { width: 100%; aspect-ratio: 264 / 374; object-fit: cover; border-radius: 6px; }
.ge-card__covers small { font-size: 11.5px; line-height: 1.25; color: var(--ink-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ge-card__more { margin: 0; }
.ge-others { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 12px; }
.ge-row { display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.ge-row:hover { border-color: var(--accent); color: var(--ink); }
.ge-row__img { flex: 0 0 120px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--soft); }
.ge-row__img img { width: 100%; height: 100%; object-fit: cover; }
.ge-row__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ge-row__name { font-stretch: 75%; font-weight: 800; font-size: 20px; line-height: 1; text-transform: uppercase; }
.ge-row__up { align-self: flex-start; margin-top: 2px; padding: 1px 6px; border-radius: 5px; background: var(--accent-soft); color: var(--accent); font-family: var(--mono); font-size: 10.5px; font-weight: 600; }
.ge-combo { display: flex; align-items: center; gap: 18px; padding: 18px 20px; }
.ge-combo:hover { border-color: var(--accent); color: var(--ink); }
.ge-combo__covers { flex: 0 0 auto; display: flex; padding: 6px 0 14px 40px; }
.ge-combo__covers img { width: 66px; aspect-ratio: 264 / 374; object-fit: cover; border-radius: 6px; margin-left: -40px; border: 2px solid var(--surface); box-shadow: 0 6px 14px rgba(10,12,15,.2); }
.ge-combo__covers img:nth-child(2) { transform: translateY(8px); }
.ge-combo__covers img:nth-child(3) { transform: translateY(16px); }
.ge-combo__title { font-stretch: 75%; font-weight: 800; font-size: 24px; line-height: 1; text-transform: uppercase; }
.ge-combo__title span { color: var(--accent); }
@media (max-width: 700px) { .ge-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ge-mosaic__big { grid-column: span 2; grid-row: auto; min-height: 160px; } }

/* Calendrier */
.cal-stats { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cal-stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; padding: 12px 14px; border-radius: 10px; background: var(--soft); }
.cal-stats dt { font-size: 13px; line-height: 1.3; color: var(--ink-3); }
.cal-stats dd { margin: 0; font-stretch: 75%; font-weight: 800; font-size: 40px; line-height: 1; }
.cal-hot { flex: 1.2 1 480px; position: relative; display: flex; align-items: flex-end; min-height: 380px; border-radius: var(--r-xl); overflow: hidden; background: var(--dark); color: var(--on-dark); }
.cal-hot__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cal-hot__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,12,15,.95) 0%, rgba(10,12,15,.45) 55%, rgba(10,12,15,.15) 100%); }
.cal-hot__cd { position: absolute; right: 20px; top: 20px; display: flex; flex-direction: column; align-items: flex-end; padding: 10px 14px; border-radius: 12px; background: var(--accent); color: #fff; }
.cal-hot__cd span { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.cal-hot__cd strong { font-stretch: 75%; font-weight: 800; font-size: 52px; line-height: .95; }
.cal-hot__body { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 28px 30px; }
.cal-hot .kicker { color: var(--mint); }
.cal-hot__id { display: flex; align-items: flex-end; gap: 18px; }
.cal-hot__id img { width: 110px; aspect-ratio: 264 / 374; object-fit: cover; border-radius: 10px; box-shadow: 0 12px 30px rgba(0,0,0,.5); }
.cal-hot__name { font-stretch: 75%; font-weight: 800; font-size: clamp(32px, 3.6vw, 52px); line-height: .92; text-transform: uppercase; color: #fff; }
.cal-hot__when { font-size: 16px; color: #E3E6EB; }
.cal-week { list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.cal-week__day { display: flex; flex-direction: column; gap: 12px; min-height: 180px; padding: 14px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); scroll-margin-top: 16px; }
.cal-week__day.is-empty { background: transparent; border-style: dashed; }
.cal-week__head { display: flex; align-items: baseline; gap: 6px; }
.cal-week__wd { font-family: var(--mono); font-size: 11px; text-transform: uppercase; color: var(--muted); }
.cal-week__n { font-stretch: 75%; font-weight: 800; font-size: 32px; line-height: 1; }
.cal-week__m { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.cal-week__today { margin-left: auto; height: 20px; font-size: 10px; }
.cal-week__none { margin-top: auto; }
@media (max-width: 1100px) { .cal-week { grid-auto-flow: column; grid-auto-columns: minmax(170px, 1fr); grid-template-columns: none; overflow-x: auto; padding-bottom: 6px; } }
.cal-game { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cal-game__cover { flex: 0 0 40px; width: 40px; border-radius: 5px; }
.cal-game__body { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.cal-game__name { font-size: 13px; font-weight: 700; line-height: 1.2; }
.cal-game:hover .cal-game__name { color: var(--accent); }
.cal-game__pf { font-family: var(--mono); font-size: 10px; color: var(--muted); }
.cal-game__ba { font-size: 12px; font-weight: 600; color: var(--accent); }
.iconbtn--line { width: 40px; height: 40px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 20px; }
.cal-month-nav { gap: 12px; }
.cal-month { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px; }
.cal-grid { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.cal-grid__wd { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; color: var(--muted); }
.cal-grid__wd span { padding: 0 8px; }
.cal-grid__cells { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.cal-cell { min-height: 96px; display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.cal-cell.is-out { background: transparent; border-color: transparent; opacity: .4; }
.cal-cell.is-past { opacity: .6; }
.cal-cell.has { border-color: var(--accent); }
.cal-cell.is-today { box-shadow: inset 0 0 0 2px var(--accent); }
.cal-cell__n { font-family: var(--mono); font-size: 12px; font-weight: 600; }
.cal-cell__covers { display: flex; gap: 4px; }
.cal-cell__covers img { width: 30px; aspect-ratio: 264 / 374; object-fit: cover; border-radius: 4px; }
.cal-cell__label { font-size: 11px; font-weight: 600; line-height: 1.2; color: var(--ink-2); overflow: hidden; }
.cal-days { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.cal-days__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cal-days__list { list-style: none; display: flex; flex-direction: column; gap: 16px; max-height: 760px; overflow-y: auto; scrollbar-width: thin; padding-right: 4px; }
.cal-days__list li { display: flex; align-items: flex-start; gap: 12px; }
.cal-days__list li.is-past { opacity: .6; }
.cal-days__date { flex: 0 0 52px; display: flex; flex-direction: column; align-items: center; padding: 6px 0; border-radius: 10px; background: var(--soft); }
.cal-days__date span { font-family: var(--mono); font-size: 10px; color: var(--muted); }
.cal-days__date strong { font-stretch: 75%; font-weight: 800; font-size: 28px; line-height: 1; }
.cal-days__date.is-today { background: var(--accent); color: #fff; }
.cal-days__date.is-today span { color: #fff; }
.cal-next { flex: 1 1 380px; display: flex; flex-direction: column; gap: 16px; }
.cal-next__list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.cal-next__list a { display: flex; align-items: center; gap: 12px; }
.cal-next__list .cover { flex: 0 0 40px; width: 40px; border-radius: 5px; }
.cal-next__name { flex: 1; min-width: 0; font-weight: 700; font-size: 14px; }
.cal-tbd { flex: 1.6 1 520px; display: flex; flex-direction: column; gap: 16px; background: var(--warn-bg); border-color: #F3E3A6; }
.cal-tbd .kicker { color: var(--warn-ink); }
.cal-tbd__list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 12px; }
@media (max-width: 700px) { .cal-stats dd { font-size: 30px; } .cal-grid { display: none; } .cal-hot { min-height: 340px; } .cal-hot__cd strong { font-size: 40px; } }

/* 13. Pages détail (série, genre, plateforme) -------------------------------- */
.ds-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: clamp(28px, 4vw, 52px); }
.ds-hero__text { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.ds-hero__title { font-stretch: 75%; font-weight: 800; font-size: clamp(52px, 7.6vw, 112px); line-height: .86; text-transform: uppercase; color: #fff; overflow-wrap: anywhere; }
.ds-hero .lead { color: #C9D0DA; max-width: 60ch; }
.ds-hero .stats dd { color: #fff; }
.ds-fan { position: relative; height: 300px; }
.ds-fan img { position: absolute; bottom: 10px; left: calc(50% - 80px + (var(--i) - (var(--n) - 1) / 2) * 62px); width: 160px; aspect-ratio: 264 / 374; object-fit: cover; border-radius: 10px; box-shadow: 0 18px 36px rgba(0,0,0,.5); transform: rotate(calc((var(--i) - (var(--n) - 1) / 2) * 6deg)) translateY(calc(max(var(--i) - (var(--n) - 1) / 2, (var(--n) - 1) / 2 - var(--i)) * 10px)); transform-origin: bottom center; }
@media (max-width: 900px) { .ds-hero { grid-template-columns: minmax(0, 1fr); } .ds-fan { height: 220px; } .ds-fan img { width: 120px; left: calc(50% - 60px + (var(--i) - (var(--n) - 1) / 2) * 44px); } }
.ds-feat { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.ds-feat__main { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 1100px) { .ds-feat { grid-template-columns: minmax(0, 1fr); } }
.ds-tl { list-style: none; position: relative; display: flex; gap: 20px; overflow-x: auto; padding: 0 2px 8px; scrollbar-width: thin; }
.ds-tl::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--line-strong); }
.ds-tl__item { position: relative; flex: 0 0 170px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ds-tl__item.is-quiet { opacity: .62; }
.ds-tl__year { align-self: flex-start; position: relative; padding: 2px 9px; border-radius: 999px; background: var(--ink); color: #fff; font-family: var(--mono); font-size: 12px; font-weight: 600; }
.ds-tl__note { align-self: flex-start; padding: 2px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 600; }
.ds-tl__gap { position: relative; flex: 0 0 96px; display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 2px; }
.ds-tl__dot { width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 2px dashed #9AA3AF; }
.ds-tl__gaptxt { font-family: var(--mono); font-size: 11.5px; line-height: 1.35; text-align: center; color: var(--muted); }
.ds-note { padding: 14px 16px; border-radius: 10px; background: var(--soft); font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.ds-note strong { color: var(--ink); }

/* Genre */
.dg-hero { min-height: 420px; }
.dg-hero__body { position: relative; max-width: 760px; display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 4vw, 52px); }
.dg-hero .kicker { color: var(--mint); }
.dg-hero .stats dt { color: #C9D0DA; }
.dg-plus { margin-right: 4px; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.dg-two { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.dg-two .grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1100px) { .dg-two { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) { .dg-two .grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dg-up { padding: 20px; }
.dg-up__row { display: flex; gap: 12px; align-items: center; min-width: 0; }
.dg-up__name { flex: 1; min-width: 0; font-weight: 700; font-size: 14px; line-height: 1.25; }
.dg-up__row:hover .dg-up__name { color: var(--accent); }
.dg-top { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
@media (max-width: 800px) { .dg-top { grid-template-columns: minmax(0, 1fr); } }
.dg-mixed { grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 16px; }
.dg-also { font-weight: 600; color: var(--ink); }
.dg-stats { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
@media (max-width: 900px) { .dg-stats { grid-template-columns: minmax(0, 1fr); } }
.vbars { display: flex; align-items: flex-end; gap: 14px; height: 200px; }
.vbars__col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.vbars__n { font-family: var(--mono); font-size: 12.5px; font-weight: 600; }
.vbars__bar { width: 100%; max-width: 56px; border-radius: 8px 8px 3px 3px; background: var(--accent); }
.vbars__l { font-family: var(--mono); font-size: 12px; color: var(--muted); }
a.bar:hover .bar__label { color: var(--accent); }

/* Plateforme */
.dp-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 36px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-xl); background: linear-gradient(135deg, var(--c) 0%, color-mix(in srgb, var(--c) 70%, #000) 100%); color: #fff; }
.dp-hero .kicker { color: rgba(255,255,255,.85); }
.dp-hero .lead { color: rgba(255,255,255,.88); max-width: 58ch; }
.dp-hero .stats dt { color: rgba(255,255,255,.75); }
.dp-hero .stats dd { color: #fff; }
.dp-moment { display: flex; flex-direction: column; gap: 10px; color: #fff; }
.dp-moment:hover { color: #fff; }
.dp-moment .thumb { box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.dp-moment__title { margin-top: -4px; font-weight: 700; font-size: 18px; }
@media (max-width: 900px) { .dp-hero { grid-template-columns: minmax(0, 1fr); } }
.bar--wide { grid-template-columns: 150px minmax(0, 1fr) 96px; }

/* 14. Listes (récentes, populaires, à venir) --------------------------------- */
.ls-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.ls-filters { gap: 8px; }
.ls-filters .cat-sort { margin-left: auto; }
.switch { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.switch__track { position: relative; width: 34px; height: 20px; border-radius: 999px; background: #CDD2DA; transition: background .15s; }
.switch__dot { position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: left .15s; }
.switch.is-on .switch__track { background: var(--accent); }
.switch.is-on .switch__dot { left: 16px; }
.ls-grid { row-gap: 30px; }
.ls-item { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ls-day { position: relative; display: flex; align-items: center; gap: 8px; height: 22px; border-top: 2px solid var(--line); padding-top: 8px; }
.ls-item.is-first .ls-day { border-top-color: var(--ink); }
.ls-day__dot { position: absolute; left: 0; top: -6px; width: 10px; height: 10px; border-radius: 50%; background: transparent; }
.ls-item.is-first .ls-day__dot { background: var(--accent); }
.ls-day__label { font-family: var(--mono); font-size: 12px; font-weight: 600; text-transform: capitalize; }
.ls-day__hid { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.lp-pod { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
.lp-pod__item { position: relative; display: flex; align-items: flex-end; min-height: 300px; border-radius: var(--r-lg); overflow: hidden; background: var(--dark); color: #fff; }
.lp-pod__item:hover { color: #fff; }
.lp-pod__item > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.lp-pod__item:hover > img { transform: scale(1.03); }
.lp-pod__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,12,15,.95) 0%, rgba(10,12,15,.3) 60%, rgba(10,12,15,.1) 100%); }
.lp-pod__rank { position: absolute; left: 16px; top: 10px; font-stretch: 75%; font-weight: 800; font-size: 72px; line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.9); }
.lp-pod__item.is-first .lp-pod__rank { color: var(--accent); -webkit-text-stroke: 0; }
.lp-pod__body { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; }
.lp-pod__body .tag { align-self: flex-start; }
.lp-pod__game { font-stretch: 75%; font-weight: 800; font-size: 28px; line-height: 1; text-transform: uppercase; }
.lp-pod__title { font-size: 14px; color: #D5DAE1; }
.lp-pod__views { display: flex; align-items: baseline; gap: 8px; }
.lp-pod__views strong { font-stretch: 75%; font-size: 28px; line-height: 1; }
.lp-pod__views span { font-size: 13px; color: #C9D0DA; }
@media (max-width: 900px) { .lp-pod { grid-template-columns: minmax(0, 1fr); } .lp-pod__item { min-height: 220px; } }
.lp-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
@media (max-width: 1100px) { .lp-body { grid-template-columns: minmax(0, 1fr); } }
.lp-list { list-style: none; }
.lp-row { display: grid; grid-template-columns: 40px 160px minmax(0, 1fr) 140px; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.lp-row__rank { font-stretch: 75%; font-weight: 800; font-size: 32px; text-align: center; color: var(--ink-3); }
.lp-row__thumb { border-radius: 8px; }
.lp-row__txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.lp-row__game { font-weight: 700; font-size: 16px; }
.lp-row__title { font-size: 14px; color: var(--ink-2); }
.lp-row__txt:hover .lp-row__game { color: var(--accent); }
.lp-row__views { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.lp-row__views strong { font-family: var(--mono); font-size: 15px; }
.lp-row__views .bar__track { width: 100%; height: 6px; }
@media (max-width: 700px) { .lp-row { grid-template-columns: 30px 110px minmax(0, 1fr); } .lp-row__views { display: none; } }
.lp-mini { display: flex; gap: 12px; align-items: center; }
.lp-mini__rank { flex: 0 0 18px; font-stretch: 75%; font-weight: 800; font-size: 22px; color: var(--accent); }
.lp-mini .thumb { flex: 0 0 96px; border-radius: 6px; }
.la-stats { gap: 36px; }
.la-feat { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 1000px) { .la-feat { grid-template-columns: minmax(0, 1fr); } }
.la-hot { position: relative; display: flex; align-items: flex-end; min-height: 340px; border-radius: var(--r-lg); overflow: hidden; background: var(--dark); color: #fff; }
.la-hot:hover { color: #fff; }
.la-hot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.la-hot__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,12,15,.95) 0%, rgba(10,12,15,.25) 65%); }
.la-hot__cd { position: absolute; right: 18px; top: 16px; padding: 6px 12px; border-radius: 10px; background: var(--accent); font-stretch: 75%; font-weight: 800; font-size: 40px; line-height: 1; }
.la-hot__body { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px 26px; }
.la-hot .kicker { color: var(--mint); }
.la-hot__name { font-stretch: 75%; font-weight: 800; font-size: clamp(32px, 4vw, 54px); line-height: .92; text-transform: uppercase; }
.la-hot__last { font-size: 14px; color: #D5DAE1; }
.la-j { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; }
.la-j strong { font-stretch: 75%; font-weight: 800; font-size: 20px; color: var(--accent); }
.la-j small { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.la-months { gap: 44px; }
.la-month { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: start; padding-top: 18px; border-top: 2px solid var(--ink); }
.la-month__head { display: flex; flex-direction: column; gap: 6px; position: sticky; top: 16px; }
.la-month__head .section__more { margin: 6px 0 0; }
.la-month__name { font-stretch: 75%; font-weight: 800; font-size: 34px; line-height: 1; text-transform: uppercase; }
.la-month__note { align-self: flex-start; padding: 2px 8px; border-radius: 6px; background: var(--warn-bg); color: var(--warn-ink); font-size: 12px; font-weight: 600; }
@media (max-width: 900px) { .la-month { grid-template-columns: minmax(0, 1fr); } .la-month__head { position: static; } }
.la-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.la-card__date { position: absolute; left: 6px; bottom: 6px; }
.la-card .gcard__sub { white-space: nowrap; }
.la-tbd { scroll-margin-top: 16px; padding: 28px; border-radius: var(--r-xl); background: var(--warn-bg); }
.la-tbd .kicker { color: var(--warn-ink); }

/* 15. Recherche ---------------------------------------------------------------- */
mark { background: var(--warn-bg); color: inherit; border-radius: 3px; padding: 0 1px; }
.rc-form { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 20px; border-radius: 14px; background: var(--surface); border: 2px solid var(--ink); }
.rc-form input { flex: 1; min-width: 0; height: 52px; border: 0; outline: none; background: transparent; font-size: 22px; font-weight: 600; }
.rc-near { gap: 8px; }
.rc-best { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 900px) { .rc-best { grid-template-columns: minmax(0, 1fr); } }
.rc-best__main { display: flex; align-items: center; gap: 28px; padding: 26px 30px; border-radius: var(--r-lg); background: var(--dark); color: var(--on-dark); }
.rc-best__main:hover { color: #fff; }
.rc-best__main .kicker { color: var(--mint); }
.rc-best__main .btn { background: #fff; border-color: #fff; color: var(--ink); }
.rc-best__fan { position: relative; flex: 0 0 230px; height: 200px; }
.rc-best__fan img { position: absolute; bottom: 0; left: calc(var(--i) * 36px); width: 120px; aspect-ratio: 264 / 374; object-fit: cover; border-radius: 8px; box-shadow: 0 10px 24px rgba(0,0,0,.5); transform: rotate(calc((var(--i) - 1.5) * 5deg)); }
.rc-best__name { font-stretch: 75%; font-weight: 800; font-size: clamp(36px, 4.4vw, 60px); line-height: .9; text-transform: uppercase; color: #fff; }
.rc-best__meta { font-size: 15px; color: #C9D0DA; }
@media (max-width: 700px) { .rc-best__main { flex-direction: column; align-items: flex-start; } .rc-best__fan { flex-basis: auto; width: 100%; height: 170px; } }
.rc-side { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.rc-side:hover { border-color: var(--accent); color: var(--ink); }
.rc-side .cover { flex: 0 0 64px; width: 64px; border-radius: 6px; }
.rc-side__name { font-weight: 800; font-size: 17px; }

/* 404 */
.e4-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: clamp(24px, 4vw, 52px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); }
@media (max-width: 900px) { .e4-top { grid-template-columns: minmax(0, 1fr); } }
.e4-title { font-stretch: 75%; font-weight: 800; font-size: clamp(64px, 10vw, 150px); line-height: .82; text-transform: uppercase; }
.e4-form input { font-size: 18px; height: 44px; }
.e4-suggest { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--r-lg); background: var(--dark); color: var(--on-dark); }
.e4-suggest:hover { color: #fff; }
.e4-suggest .kicker { color: var(--mint); }
.e4-suggest__row { display: flex; gap: 18px; align-items: center; }
.e4-suggest__row img { width: 120px; aspect-ratio: 264 / 374; object-fit: cover; border-radius: 8px; box-shadow: 0 10px 24px rgba(0,0,0,.4); }
.e4-suggest__name { font-stretch: 75%; font-weight: 800; font-size: 34px; line-height: .95; text-transform: uppercase; color: #fff; }
.e4-suggest__line { font-size: 14px; line-height: 1.5; color: #C9D0DA; }
.e4-suggest__cta { font-weight: 700; font-size: 14px; color: var(--mint); }

/* Pages texte (à propos, mentions légales, contact) */
.page--text { max-width: 860px; gap: 28px; }
.page--text .page-head { display: flex; flex-direction: column; gap: 10px; }
.page--text .page-head h1, .prose h1 { font-stretch: 75%; font-weight: 800; font-size: clamp(40px, 5vw, 64px); line-height: .92; text-transform: uppercase; }
.page--text .page-head p { font-size: 17px; color: var(--ink-3); }
.prose { display: flex; flex-direction: column; gap: 16px; font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }
.prose h2 { margin-top: 18px; font-stretch: 75%; font-weight: 800; font-size: 28px; line-height: 1; text-transform: uppercase; color: var(--ink); }
.prose h3 { margin-top: 8px; font-weight: 700; font-size: 18px; color: var(--ink); }
.prose a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.prose ul, .prose ol { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose strong { color: var(--ink); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form { display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: minmax(0, 1fr); } }
.form-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.form-field input, .form-field textarea { width: 100%; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); font: 400 15px var(--font); color: var(--ink); }
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form-field textarea { resize: vertical; min-height: 160px; }
.form-field strong { color: var(--accent); }
.req { color: #B91C1C; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.form-actions small { font-size: 13px; color: var(--muted); }
.alert { padding: 16px 18px; border-radius: 12px; border: 1px solid; font-size: 15px; }
.alert ul { margin: 6px 0 0 18px; }
.alert--success { background: #ECFDF5; border-color: #A7F3D0; color: #065F46; }
.alert--error { background: #FEF2F2; border-color: #FECACA; color: #991B1B; }

/* 16. Utilitaires ---------------------------------------------------------- */
.only-mob { display: none !important; }
@media (max-width: 900px) { .only-desk { display: none !important; } .only-mob { display: flex !important; } }
.hscroll { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.hscroll > * { flex: 0 0 auto; scroll-snap-align: start; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
