/* GTA6 Tuto — design « Vice City night » : fond noir, visuels plein écran, titres gras en capitales,
   dégradé coucher de soleil (rose → orange), cartes-images. */
@font-face { font-family: "Inter Variable"; src: url("/static/fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Variable"; src: url("/static/fonts/geist-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root, :root[data-theme="dark"], :root[data-theme="light"] {
  color-scheme: dark;
  --page: #07070b;
  --page-2: #0c0c12;
  --card: #111118;
  --card-2: #171720;
  --inner: #1c1c27;
  --line: rgb(255 255 255 / .08);
  --line-2: rgb(255 255 255 / .14);
  --fg: #f5f5f7;
  --fg-2: #c3c3cc;
  --fg-3: #8b8b98;
  --pink: #ff3e8d;
  --orange: #ff8a3d;
  --accent: #ff5ea0;
  --accent-soft: rgb(255 94 160 / .14);
  --grad: linear-gradient(100deg, var(--pink) 0%, var(--orange) 100%);
  --grad-2: linear-gradient(135deg, #3b1d6e 0%, #b0246b 55%, #ff7a3d 100%);
  --green: #34d399;
  --red: #fb7185;
  --btn: #fff;
  --btn-fg: #0b0b10;
  --ring: inset 0 0 0 1px var(--line);
  --inner-ring: inset 0 0 0 1px var(--line);
  --shadow: 0 18px 40px -18px rgb(0 0 0 / .8);
  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem; --space-5: 1.25rem; --space-6: 1.5rem;
  --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem; --space-16: 4rem;
  --r-control: 10px; --r-panel: 14px; --r-inner: 10px; --r-pill: 9999px;
  --font-display: "Geist Variable", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter Variable", ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --maxw: 1280px;
  --hd-h: 64px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 130px; scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--fg); font: 400 15px/1.55 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0; letter-spacing: -.01em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--pink); color: #fff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ================= En-tête ================= */
.hd { position: sticky; top: 0; z-index: 30; background: rgb(7 7 11 / .86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.hd__bar { display: flex; align-items: stretch; height: var(--hd-h); padding-left: var(--space-6); gap: var(--space-5); }
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand__mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--grad); color: #fff; font: 900 15px/1 var(--font-display); letter-spacing: -.04em; box-shadow: 0 6px 18px -6px rgb(255 62 141 / .7); }
.brand__name { font: 800 17px/1 var(--font-display); letter-spacing: .02em; }
.brand__name b { font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.search-mini { align-self: center; flex: 1; max-width: 440px; margin-left: var(--space-4); position: relative; display: flex; align-items: center; }
.search-mini svg { position: absolute; left: 14px; color: var(--fg-3); pointer-events: none; }
.search-mini input { width: 100%; height: 40px; padding: 0 16px 0 40px; border: 0; border-radius: var(--r-control); background: var(--card-2); box-shadow: var(--ring); font-size: 14px; }
.search-mini input::placeholder { color: var(--fg-3); }
.search-mini input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--accent); }
.hd__tools { display: flex; align-items: center; gap: var(--space-2); margin-left: auto; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; gap: 7px; border-radius: var(--r-control); font: 700 13px var(--font-display); letter-spacing: .06em; color: var(--fg-2); }
.lang summary:hover, .lang[open] summary { background: var(--card-2); color: var(--fg); }
.lang summary::-webkit-details-marker { display: none; }
.lang__menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; padding: 6px; border-radius: var(--r-panel); background: var(--card-2); box-shadow: var(--ring), var(--shadow); display: grid; z-index: 40; }
.lang__menu a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; font-size: 14px; color: var(--fg-2); }
.lang__menu a span { font: 800 11px var(--font-display); color: var(--fg-3); width: 22px; letter-spacing: .06em; }
.lang__menu a:hover, .lang__menu a.is-on { background: var(--inner); color: var(--fg); }
.hd__cta { display: inline-flex; align-items: center; gap: 10px; padding: 0 28px; background: var(--grad); color: #fff; font: 800 14px var(--font-display); letter-spacing: .12em; text-transform: uppercase; transition: filter .2s; }
.hd__cta:hover { filter: brightness(1.1) saturate(1.1); }
.burger { display: none; width: 42px; height: 42px; border: 0; border-radius: var(--r-control); background: var(--card-2); color: var(--fg); cursor: pointer; place-items: center; }
.hd__nav { display: flex; justify-content: center; gap: 4px; padding: 0 var(--space-6); border-top: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.hd__nav::-webkit-scrollbar { display: none; }
.hd__nav a { position: relative; padding: 13px 16px; font: 700 12.5px var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); white-space: nowrap; transition: color .15s; }
.hd__nav a:hover, .hd__nav a.is-on { color: var(--fg); }
.hd__nav a.is-on::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px; border-radius: 2px; background: var(--grad); }

/* ================= Mise en page ================= */
.page { display: block; max-width: var(--maxw); margin: 0 auto; padding: var(--space-6) var(--space-6) var(--space-16); }
.panel { background: var(--card); box-shadow: var(--ring); border-radius: var(--r-panel); }
.block { margin-top: var(--space-16); }
.block.panel { padding: var(--space-6); margin-top: var(--space-6); }
.block__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-5); flex-wrap: wrap; }
.block__head h2 { font-size: 26px; }
.block__head p { margin: 6px 0 0; color: var(--fg-3); max-width: 70ch; }
.h-sec { font: 900 clamp(24px, 2.6vw, 32px)/1.05 var(--font-display) !important; text-transform: uppercase; letter-spacing: .01em; }
.h-sec::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--grad); margin-bottom: 12px; }
.link { color: var(--fg-2); font: 700 13px var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.link:hover { color: var(--accent); }
.row { display: flex; gap: var(--space-3); flex-wrap: wrap; align-items: center; }
.kicker { margin: 0 0 var(--space-4); font: 700 12px var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
.kicker a:hover { color: var(--fg); }
.eyebrow { margin: 0; font: 800 11px var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); display: inline-flex; align-items: center; gap: 8px; }
.display { font: 900 clamp(34px, 5vw, 60px)/1 var(--font-display); text-transform: uppercase; letter-spacing: -.005em; }
.display--sm { font-size: clamp(28px, 4vw, 48px); }
.dim { color: var(--fg-3); }
.lead { margin: var(--space-4) 0 0; color: var(--fg-2); font-size: 16.5px; max-width: 62ch; }
.note { margin: var(--space-3) 0 0; font-size: 12.5px; color: var(--fg-3); }
.empty { color: var(--fg-3); padding: var(--space-8); text-align: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 44px; padding: 0 20px; border: 0; border-radius: var(--r-control); background: var(--inner); box-shadow: var(--ring); font: 800 13px var(--font-display); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; white-space: nowrap; transition: transform .15s var(--ease), filter .15s, background .15s; }
.btn:hover { background: #262634; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 26px -12px rgb(255 62 141 / .8); }
.btn--primary:hover { background: var(--grad); filter: brightness(1.08); }
.btn--glass { background: rgb(255 255 255 / .1); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .22); backdrop-filter: blur(8px); color: #fff; }
.btn--glass:hover { background: rgb(255 255 255 / .18); }
.btn--light { background: #fff; color: #111; box-shadow: none; }
.btn--light:hover { background: #fff; filter: brightness(.94); }
.btn--lg { height: 52px; padding: 0 26px; font-size: 14px; }
.btn--sm { height: 36px; padding: 0 14px; font-size: 11.5px; }
.btn--danger { color: var(--red); }

.chip { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 6px; font: 800 10.5px var(--font-display); letter-spacing: .1em; text-transform: uppercase; background: rgb(255 255 255 / .08); color: var(--fg-2); }
.chip--accent { background: var(--accent-soft); color: var(--accent); }
.chip--hot { background: var(--grad); color: #fff; }
.chip--ok { background: rgb(52 211 153 / .14); color: var(--green); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--space-5); }
.tags span { padding: 4px 10px; border-radius: 6px; font-size: 12.5px; font-weight: 600; background: rgb(255 255 255 / .08); color: var(--fg-2); }
.live__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; flex: none; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(52 211 153 / .55); } 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* ================= Accueil : grand visuel ================= */
.hero { position: relative; margin: calc(-1 * var(--space-6)) calc(50% - 50vw) 0; min-height: min(86vh, 780px); display: grid; place-items: center; text-align: center; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--bg) center 35% / cover no-repeat; transform: scale(1.04); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 50% at 50% 40%, rgb(7 7 11 / .25), rgb(7 7 11 / .75)),
  linear-gradient(180deg, rgb(7 7 11 / .55) 0%, rgb(7 7 11 / .2) 35%, rgb(7 7 11 / .85) 80%, var(--page) 100%),
  linear-gradient(110deg, rgb(139 92 246 / .28), transparent 45%, rgb(255 62 141 / .22)); }
.hero__in { padding: var(--space-16) var(--space-6); max-width: 980px; }
.hero__kicker { display: inline-block; margin: 0 0 var(--space-5); padding: 7px 14px; border-radius: var(--r-pill); background: rgb(255 255 255 / .1); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2); backdrop-filter: blur(8px); font: 800 11.5px var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.hero__title { font: 900 clamp(40px, 7.4vw, 96px)/.95 var(--font-display); text-transform: uppercase; letter-spacing: -.02em; text-shadow: 0 10px 40px rgb(0 0 0 / .5); }
.hero__title .grad { display: block; filter: drop-shadow(0 6px 30px rgb(255 62 141 / .35)); }
.hero__text { margin: var(--space-6) auto 0; max-width: 60ch; font-size: clamp(15px, 1.4vw, 18px); color: #e4e4ec; text-shadow: 0 2px 12px rgb(0 0 0 / .6); }
.hero__btns { display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; margin-top: var(--space-8); }
.hero__count { display: inline-grid; gap: 10px; justify-items: center; margin-top: var(--space-10); padding: 16px 22px; border-radius: var(--r-panel); background: rgb(7 7 11 / .55); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); backdrop-filter: blur(10px); }
.hero__count .eyebrow { color: #d6d6e0; }
.hero__more { font: 700 12px var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.hero__credit { position: absolute; right: 16px; bottom: 10px; margin: 0; font-size: 11px; color: rgb(255 255 255 / .45); }
.countdown { display: flex; gap: 10px; justify-content: center; }
.countdown div { display: grid; justify-items: center; min-width: 64px; padding: 8px 6px; border-radius: 10px; background: rgb(255 255 255 / .06); }
.countdown b { font: 900 clamp(26px, 3vw, 36px)/1 var(--font-display); font-variant-numeric: tabular-nums; }
.countdown span { margin-top: 5px; font: 700 10px var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.countdown.is-out { font: 900 22px var(--font-display); text-transform: uppercase; letter-spacing: .04em; color: var(--green); }

/* ================= Tuiles (Wiki, Carte, Codes, Secrets) ================= */
.tiles { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: calc(-1 * var(--space-16)); border-radius: var(--r-panel); overflow: hidden; box-shadow: var(--shadow); }
.tile { position: relative; min-height: 180px; padding: var(--space-5); display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; overflow: hidden; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--bg) center / cover, var(--grad-2); transition: transform .5s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(7 7 11 / .15) 0%, rgb(7 7 11 / .88) 100%); transition: background .3s; }
.tile:hover::before { transform: scale(1.07); }
.tile:hover::after { background: linear-gradient(180deg, rgb(255 62 141 / .25) 0%, rgb(7 7 11 / .9) 100%); }
.tile__sub { font: 700 11px var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); }
.tile__title { font: 900 clamp(22px, 2.2vw, 30px)/1.05 var(--font-display); text-transform: uppercase; margin-top: 4px; }

/* ================= Article à la une + colonne ================= */
.news-layout { display: grid; grid-template-columns: 1.7fr 1fr; gap: var(--space-4); margin-top: var(--space-10); }
.bigcard { position: relative; min-height: 460px; border-radius: var(--r-panel); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: var(--space-6); isolation: isolate; box-shadow: var(--ring); }
.bigcard::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--bg) center / cover, var(--grad-2); transition: transform .6s var(--ease); }
.bigcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 25%, rgb(7 7 11 / .92) 85%); }
.bigcard:hover::before { transform: scale(1.04); }
.bigcard .chip { align-self: flex-start; }
.bigcard__cat { font: 800 11.5px var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.bigcard h2 { font: 900 clamp(26px, 3.2vw, 44px)/1.02 var(--font-display); text-transform: uppercase; margin: 8px 0 10px; max-width: 22ch; }
.bigcard p { margin: 0; color: var(--fg-2); max-width: 60ch; }
.bigcard__more { display: inline-block; margin-top: var(--space-4); font: 800 12.5px var(--font-display); letter-spacing: .12em; text-transform: uppercase; }
.sidecol { display: grid; gap: var(--space-3); align-content: start; }
.minicard { position: relative; min-height: 96px; padding: 14px 16px; border-radius: var(--r-panel); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; box-shadow: var(--ring); }
.minicard::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--bg) center / cover, var(--grad-2); transition: transform .5s var(--ease); }
.minicard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(7 7 11 / .92) 30%, rgb(7 7 11 / .45)); }
.minicard:hover::before { transform: scale(1.06); }
.minicard__cat { font: 800 10px var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.minicard b { font: 800 15px/1.2 var(--font-display); text-transform: uppercase; margin-top: 3px; max-width: 30ch; }
.sharebox { padding: var(--space-4) var(--space-5); display: grid; gap: 10px; }

/* ================= Cartes, grilles ================= */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { display: flex; flex-direction: column; border-radius: var(--r-panel); background: var(--card); box-shadow: var(--ring); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgb(255 94 160 / .5), var(--shadow); }
.card__img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; background: var(--inner); }
.card__img--empty { display: grid; place-items: center; background: var(--grad-2); }
.card__img--empty span { font: 900 44px var(--font-display); color: rgb(255 255 255 / .7); }
.card__body { padding: var(--space-5); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font: 800 17px/1.2 var(--font-display); text-transform: uppercase; letter-spacing: .005em; }
.card p { margin: 0; color: var(--fg-2); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { margin-top: auto; padding-top: 6px; font-size: 12px; color: var(--fg-3); }
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.cat { display: flex; align-items: center; gap: 12px; padding: var(--space-5); border-radius: var(--r-panel); background: var(--card); box-shadow: var(--ring); font: 800 14px var(--font-display); text-transform: uppercase; letter-spacing: .04em; transition: transform .2s var(--ease), box-shadow .2s; }
.cat:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgb(255 94 160 / .5); }
.cat .ico { color: var(--accent); flex: none; }
.cat small { margin-left: auto; font: 700 12px var(--font-body); color: var(--fg-3); }
.cats--big .cat { padding: var(--space-6) var(--space-5); }
.infos { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); margin: 0; }
.infos div { padding: var(--space-5); border-radius: var(--r-panel); background: var(--card); box-shadow: var(--ring); }
.infos dt { font: 800 10.5px var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.infos dd { margin: 6px 0 0; font: 800 18px var(--font-display); }
.faq { display: grid; gap: var(--space-3); }
.faq summary { cursor: pointer; list-style: none; padding: var(--space-5) var(--space-6); font-weight: 700; display: flex; justify-content: space-between; gap: var(--space-4); }
.faq summary::after { content: "+"; color: var(--accent); font: 800 22px/1 var(--font-display); }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 0; padding: 0 var(--space-6) var(--space-5); color: var(--fg-2); }

/* ================= En-têtes de pages (bandeau image) ================= */
.pagehead { padding: var(--space-10); border-radius: var(--r-panel); background: var(--card); box-shadow: var(--ring); }
.pagehead--img { position: relative; margin: calc(-1 * var(--space-6)) calc(50% - 50vw) 0; border-radius: 0; box-shadow: none; padding: var(--space-16) max(var(--space-6), calc(50vw - var(--maxw) / 2 + var(--space-6))) var(--space-12); isolation: isolate; overflow: hidden; background: transparent; }
.pagehead--img::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--bg) center 40% / cover, var(--grad-2); }
.pagehead--img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(7 7 11 / .94) 0%, rgb(7 7 11 / .7) 50%, rgb(7 7 11 / .45) 100%), linear-gradient(180deg, transparent 60%, var(--page) 100%); }
.pagehead--img .lead { color: #dcdce4; }
.pagehead .meta { margin: var(--space-4) 0 0; font-size: 13px; color: var(--fg-3); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--space-6); }
.pill { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: var(--r-control); background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); backdrop-filter: blur(6px); font: 700 12px var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); }
.pill:hover { color: var(--fg); background: rgb(255 255 255 / .12); }
.pill.is-on { background: var(--grad); color: #fff; box-shadow: none; }
.pill small { opacity: .65; }
.wiki-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
.wiki-item { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-3); border-radius: var(--r-panel); transition: transform .2s var(--ease), box-shadow .2s; }
.wiki-item:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgb(255 94 160 / .5); }
.wiki-item img, .wiki-item__ico { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex: none; background: var(--inner); display: grid; place-items: center; color: var(--accent); }
.wiki-item b { display: block; font: 800 15px var(--font-display); text-transform: uppercase; }
.wiki-item small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--fg-3); font-size: 13px; margin-top: 2px; }
.map-teaser { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-5); margin-bottom: var(--space-4); }
.map-teaser .ico { color: var(--accent); }
.map-teaser b { display: block; font: 800 15px var(--font-display); text-transform: uppercase; }
.map-teaser small { color: var(--fg-3); }
.map-teaser .link { margin-left: auto; }

/* ================= Articles ================= */
.notice { margin: var(--space-4) 0 0; padding: 12px 16px; border-radius: var(--r-control); background: var(--accent-soft); color: var(--fg); font-size: 14px; }
.notice--bad { background: rgb(251 113 133 / .14); }
.notice--ok { background: rgb(52 211 153 / .14); }
.notice a { text-decoration: underline; }
.article__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--space-5); margin-top: var(--space-6); align-items: start; }
.article__side { position: sticky; top: 130px; display: grid; gap: var(--space-4); }
.article__fig { margin: 0 0 var(--space-6); }
.article__fig figcaption { margin-top: 6px; font-size: 11px; color: var(--fg-3); text-align: right; }
.article__cover { border-radius: var(--r-inner); width: 100%; height: auto; }
.toc { padding: var(--space-5); display: grid; gap: 2px; }
.toc .eyebrow { margin-bottom: 8px; }
.toc a { padding: 8px 10px; border-radius: 8px; font-size: 14px; color: var(--fg-2); border-left: 2px solid transparent; }
.toc a:hover { background: var(--inner); color: var(--fg); border-left-color: var(--accent); }
.prose { padding: var(--space-10); font-size: 16.5px; line-height: 1.75; color: var(--fg-2); }
.prose > :first-child { margin-top: 0; }
.prose h2 { font: 900 26px/1.15 var(--font-display); text-transform: uppercase; color: var(--fg); margin: 2.2em 0 .7em; }
.prose h2::before { content: ""; display: block; width: 32px; height: 3px; border-radius: 3px; background: var(--grad); margin-bottom: 10px; }
.prose h3 { font: 800 19px var(--font-display); color: var(--fg); margin: 1.8em 0 .5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--fg); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose a.wl { text-decoration: none; border-bottom: 1px solid rgb(255 94 160 / .45); }
.prose a.wl:hover { border-bottom-color: var(--accent); }
.wl-missing { color: var(--red); border-bottom: 1px dashed rgb(251 113 133 / .5); cursor: help; }
a.wl { color: inherit; }
.prose img { border-radius: var(--r-inner); margin: 1.5em 0; height: auto; }
.prose blockquote { margin: 1.5em 0; padding: var(--space-4) var(--space-5); border-radius: var(--r-control); background: var(--inner); border-left: 3px solid var(--accent); color: var(--fg); }
.prose blockquote p:last-child { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 14.5px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--fg); font: 800 11.5px var(--font-display); letter-spacing: .1em; text-transform: uppercase; background: var(--inner); }
.prose code, .prose kbd { font: 13.5px ui-monospace, SFMono-Regular, Menlo, monospace; padding: 2px 6px; border-radius: 6px; background: var(--inner); color: var(--fg); }
.prose pre { padding: var(--space-4); border-radius: var(--r-control); background: var(--inner); overflow-x: auto; }
.prose pre code { padding: 0; }
.prose iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: var(--r-inner); margin: 1.5em 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.infobox { padding: 0; display: grid; overflow: hidden; }
.infobox__head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--grad); color: #fff; }
.infobox__head b { font: 900 15px var(--font-display); text-transform: uppercase; letter-spacing: .03em; }
.infobox .article__fig { margin: 0; }
.infobox .article__fig img { width: 100%; aspect-ratio: 16/9; height: auto; object-fit: cover; }
.infobox .article__fig figcaption { padding: 0 12px; }
.infobox dl { margin: 0; display: grid; padding: 8px; gap: 2px; }
.infobox dl div { display: grid; grid-template-columns: 42% 1fr; gap: 10px; padding: 9px 10px; border-radius: 8px; }
.infobox dl div:nth-child(odd) { background: var(--inner); }
.infobox dt { font: 700 11px var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.infobox dd { margin: 0; font-size: 13.5px; font-weight: 600; }
.infobox > .btn { margin: 0 12px 12px; }
.search-big { display: flex; gap: var(--space-3); margin-top: var(--space-6); max-width: 760px; }
.search-big input { flex: 1; height: 54px; padding: 0 20px; border: 0; border-radius: var(--r-control); background: rgb(255 255 255 / .1); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2); backdrop-filter: blur(8px); font-size: 16px; }
.search-big input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--accent); }
.search-big .btn { height: 54px; }
.nf { text-align: center; padding-block: var(--space-16) !important; }
.nf .lead { margin-inline: auto; }
.nf .row { justify-content: center; margin-top: var(--space-8); }

/* ================= Bandeau d'appel + pied de page ================= */
.ctaband { display: flex; align-items: center; gap: var(--space-6); margin-top: var(--space-16); padding: var(--space-6) var(--space-8); border-radius: var(--r-panel); background: var(--grad-2); box-shadow: 0 24px 60px -30px rgb(255 62 141 / .7); }
.ctaband__icon { display: grid; place-items: center; width: 64px; height: 64px; flex: none; border-radius: 16px; background: rgb(255 255 255 / .16); font: 900 24px var(--font-display); }
.ctaband__txt { display: grid; gap: 4px; }
.ctaband__txt b { font: 900 22px/1.15 var(--font-display); text-transform: uppercase; }
.ctaband__txt span { color: rgb(255 255 255 / .85); max-width: 60ch; }
.ctaband .btn { margin-left: auto; }
.foot { margin-top: var(--space-12); border-top: 1px solid var(--line); background: var(--page-2); }
.foot__in { max-width: var(--maxw); margin: 0 auto; padding: var(--space-10) var(--space-6) var(--space-6); display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: var(--space-8); }
.foot p { color: var(--fg-3); font-size: 13px; margin: var(--space-4) 0 0; max-width: 46ch; }
.foot__links, .foot__langs { display: flex; flex-wrap: wrap; gap: 10px 20px; align-content: start; }
.foot__links a { font: 700 12px var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2); }
.foot__langs a { font-size: 13px; color: var(--fg-3); }
.foot__links a:hover, .foot__langs a:hover, .foot__langs a.is-on { color: var(--fg); }
.foot__copy { max-width: var(--maxw); margin: 0 auto; padding: var(--space-5) var(--space-6) var(--space-8); border-top: 1px solid var(--line); font-size: 12px; color: var(--fg-3); }

/* ================= Sortie pays par pays ================= */
.rel { padding: var(--space-3); display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 14px; }
.rel__row { display: grid; grid-template-columns: 1.3fr 1.2fr auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; font-size: 13.5px; }
.rel__row:nth-child(4n+1), .rel__row:nth-child(4n+2) { background: var(--inner); }
.rel__c { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rel__at { color: var(--fg-3); font-size: 12.5px; }
.rel__left { font: 800 13.5px var(--font-display); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.rel__row.is-out .rel__left { color: var(--green); }
.rel__row.is-out .rel__c::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-radius: 50%; background: var(--green); vertical-align: 1px; }

/* ================= Codes de triche ================= */
.cheats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
.cheat { padding: var(--space-5); display: grid; gap: 10px; align-content: start; }
.cheat__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cheat__head b { font: 800 16px var(--font-display); text-transform: uppercase; }
.cheat p { margin: 0; color: var(--fg-2); font-size: 14px; }
.cheat__code { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 10px; padding: 8px 8px 8px 12px; border-radius: var(--r-control); background: var(--inner); }
.cheat__pf { font: 800 10.5px var(--font-display); color: var(--accent); text-transform: uppercase; letter-spacing: .1em; }
.cheat__code code { font: 700 14px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--fg); overflow-wrap: anywhere; }
.cheats-empty { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-6); background: linear-gradient(100deg, rgb(255 62 141 / .1), rgb(255 138 61 / .06)), var(--card); }
.cheats-empty .ico { color: var(--accent); flex: none; }
.cheats-empty p { margin: 0; color: var(--fg-2); }
.cheats-in { margin-bottom: var(--space-8); }

/* ================= Secrets ================= */
.secrets { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.secret { overflow: hidden; display: flex; flex-direction: column; }
.secret__clip { aspect-ratio: 16 / 9; background: #000; }
.secret__clip iframe { width: 100%; height: 100%; border: 0; display: block; }
.secret__body { padding: var(--space-5); display: grid; gap: 8px; }
.secret h3 { font: 800 16px var(--font-display); text-transform: uppercase; }
.secret p { margin: 0; color: var(--fg-2); font-size: 14px; white-space: pre-line; }
.secret__meta { font-size: 12.5px !important; color: var(--fg-3) !important; }
.secret__meta a { color: var(--accent); }
.secret__meta b { color: var(--fg-2); }
.secret:target { box-shadow: inset 0 0 0 2px var(--accent); }
.sendbox { padding: var(--space-8); max-width: 860px; }
.sendbox h2 { font: 900 26px var(--font-display); text-transform: uppercase; }

/* ================= Partage ================= */
.share { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.share__ic { display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 8px; border-radius: var(--r-control); background: rgb(255 255 255 / .08); box-shadow: inset 0 0 0 1px var(--line-2); font: 800 12.5px var(--font-display); color: var(--fg-2); }
.share__ic:hover { color: #fff; background: var(--grad); box-shadow: none; }

/* ================= Tableaux ================= */
.table-wrap { overflow-x: auto; padding: var(--space-2); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font: 800 10.5px var(--font-display); color: var(--fg-3); text-transform: uppercase; letter-spacing: .12em; padding: 12px; }
.table td { padding: 12px; border-top: 1px solid var(--line); vertical-align: middle; }
.table td a:hover b { color: var(--accent); }
.table .actions { text-align: right; white-space: nowrap; }
.datatable { padding: var(--space-4); }
.datatable__filter { width: 100%; max-width: 340px; height: 42px; padding: 0 16px; margin: 0 0 var(--space-3) 4px; border: 0; border-radius: var(--r-control); background: var(--inner); box-shadow: var(--ring); font-size: 14px; }
.datatable__filter:focus { outline: none; box-shadow: inset 0 0 0 1px var(--accent); }
.datatable th[data-sort] { cursor: pointer; user-select: none; white-space: nowrap; }
.datatable th[data-sort]::after { content: " ↕"; opacity: .35; }
.datatable th[data-dir="asc"]::after { content: " ↑"; opacity: 1; color: var(--accent); }
.datatable th[data-dir="desc"]::after { content: " ↓"; opacity: 1; color: var(--accent); }
.datatable td { color: var(--fg-2); }
.datatable td:first-child { min-width: 220px; }
.datatable td b { color: var(--fg); font-family: var(--font-display); text-transform: uppercase; font-weight: 800; }
.datatable__ex { display: block; font-size: 12.5px; color: var(--fg-3); margin-top: 2px; max-width: 46ch; }

/* ================= Carte ================= */
:root { --map-sea: #0d1018; --map-land-a: #1e1d26; --map-land-b: #19181f; --map-wet: #1b2a22; --map-forest: #1a2a22; --map-city: #3a1f3a; --map-road: #4a4252; }
.map-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: var(--space-4); align-items: start; }
.map { position: relative; aspect-ratio: 1; overflow: hidden; padding: 0; color: var(--fg); }
.map--real { aspect-ratio: auto; height: min(78vh, 840px); }
.map__svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.map__label { font: 900 22px var(--font-display); letter-spacing: .35em; fill: var(--fg-3); opacity: .45; }
.map__label--sea { font-size: 16px; letter-spacing: .5em; opacity: .35; }
.map__pin { position: absolute; transform: translate(-50%, -50%); z-index: 1; }
.map__dot { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #111; box-shadow: 0 0 0 4px rgb(255 62 141 / .45), 0 6px 16px rgb(0 0 0 / .5); transition: transform .2s var(--ease); }
.map__pin--map .map__dot { background: var(--grad); color: #fff; }
.map__pin:hover, .map__pin:focus-visible, .map__pin.is-hot { z-index: 3; }
.map__pin:hover .map__dot, .map__pin.is-hot .map__dot, .map__pin:target .map__dot { transform: scale(1.18); }
.map__tip { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%) translateY(4px); width: max-content; max-width: 240px; padding: 10px 12px; border-radius: var(--r-control); background: var(--card-2); box-shadow: var(--ring), var(--shadow); opacity: 0; pointer-events: none; transition: opacity .16s, transform .16s var(--ease); }
.map__tip b { display: block; font: 800 14px var(--font-display); text-transform: uppercase; }
.map__tip small { display: block; margin-top: 2px; font-size: 12px; color: var(--fg-3); line-height: 1.4; }
.map__pin:hover .map__tip, .map__pin:focus-visible .map__tip, .map__pin.is-hot .map__tip, .map__pin:target .map__tip { opacity: 1; transform: translateX(-50%) translateY(0); }
.map-side { position: sticky; top: 130px; display: grid; gap: var(--space-3); }
.map__canvas { position: absolute; inset: 0; background: var(--map-sea); border-radius: inherit; }
.map__canvas.leaflet-container { font: inherit; background: var(--map-sea); }
.map__marker { background: none; border: 0; }
.map__marker .map__pin { position: relative; left: auto; top: auto; transform: none; display: block; }
.leaflet-bar a { background: var(--card-2) !important; color: var(--fg) !important; border-color: var(--line) !important; }
.leaflet-touch .leaflet-bar { border: 0; box-shadow: var(--ring); border-radius: 10px; overflow: hidden; }

/* ================= Admin ================= */
.st-strip { display: flex; align-items: center; gap: var(--space-6); flex-wrap: wrap; padding: var(--space-4) var(--space-6); margin-top: var(--space-4); font-size: 14px; color: var(--fg-2); }
.st-strip b { color: var(--fg); font-variant-numeric: tabular-nums; }
.st-strip .link { margin-left: auto; }
.langs-cell { font-size: 12px; color: var(--fg-3); letter-spacing: .04em; }
.login { max-width: 440px; margin: var(--space-16) auto; padding: var(--space-10); }
.form { display: grid; gap: var(--space-4); margin-top: var(--space-5); }
.form--row { grid-template-columns: 200px 260px 1fr; align-items: end; }
.form--row2 { grid-template-columns: 1.2fr 1fr auto; align-items: end; margin: 0; }
.form--2 { grid-template-columns: 1fr 1fr; margin: 0; }
.form--3 { grid-template-columns: repeat(3, 1fr); margin: 0; }
.form label { display: grid; gap: 6px; font: 700 12px var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); }
.form input, .form select, .form textarea { width: 100%; padding: 12px 14px; border: 0; border-radius: var(--r-control); background: var(--inner); box-shadow: var(--ring); font: 400 14px var(--font-body); letter-spacing: 0; text-transform: none; color: var(--fg); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; box-shadow: inset 0 0 0 1px var(--accent); }
.form textarea { resize: vertical; line-height: 1.55; }
.mono { font: 13.5px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace !important; }
.upload { display: flex; gap: 8px; }
.check { display: inline-flex !important; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; margin-top: var(--space-4); margin-right: var(--space-6); cursor: pointer; text-transform: none !important; letter-spacing: 0 !important; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tabs button { height: 34px; padding: 0 14px; border: 0; border-radius: var(--r-control); background: var(--inner); box-shadow: var(--ring); font: 800 12px var(--font-display); letter-spacing: .08em; color: var(--fg-3); cursor: pointer; }
.tabs button.has { color: var(--fg-2); }
.tabs button.is-on { background: var(--grad); color: #fff; box-shadow: none; }
.mdbar { display: flex; flex-wrap: wrap; gap: 6px; }
.mdbar button { height: 30px; padding: 0 12px; border: 0; border-radius: 8px; background: var(--inner); box-shadow: var(--ring); font-size: 12.5px; font-weight: 600; cursor: pointer; color: var(--fg-2); }
.mdbar button:hover { color: var(--fg); }
.preview { padding: var(--space-6); }
.savebar { position: sticky; bottom: 0; display: flex; gap: var(--space-3); padding: var(--space-4) 0; margin-top: var(--space-4); background: linear-gradient(transparent, var(--page) 30%); }
.danger { margin-top: var(--space-6); }
.ib-edit { border: 0; margin: 0; padding: var(--space-4); border-radius: var(--r-control); background: var(--inner); display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--space-3); }
.ib-edit legend { font: 800 11px var(--font-display); color: var(--fg-3); text-transform: uppercase; letter-spacing: .1em; padding: 0; margin-bottom: 4px; float: left; width: 100%; }
.ib-edit input { background: var(--card) !important; }
.note code { font-size: 12px; padding: 1px 5px; border-radius: 5px; background: var(--inner); }
.st-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; margin-top: var(--space-4); }
.st-head .note { margin: 0; }
.st-kpis { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: var(--space-3); margin-top: var(--space-6); }
.st-kpi { padding: var(--space-5); display: grid; gap: 6px; align-content: start; }
.st-kpi b { font: 900 38px/1.05 var(--font-display); font-variant-numeric: tabular-nums; }
.st-kpi small { font-size: 12px; color: var(--fg-3); line-height: 1.35; }
.st-kpi--live b { font-size: 52px; color: var(--green); }
.st-card { padding: var(--space-5) var(--space-5) var(--space-4); margin-top: var(--space-4); }
.st-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-3); }
.st-card__head h2 { font: 800 16px var(--font-display); text-transform: uppercase; letter-spacing: .04em; }
.st-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.st-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.st-grid3 .st-card--wide { grid-column: span 2; grid-row: span 2; }
.st-chart { position: relative; }
.st-chart svg { display: block; overflow: visible; }
.st-grid { stroke: var(--line); stroke-width: 1; }
.st-axis { font-size: 11px; fill: var(--fg-3); font-variant-numeric: tabular-nums; }
.st-line { fill: none; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.st-area { stroke: none; opacity: .14; }
.st-line.c1, .st-dot.c1 { stroke: var(--accent); } .st-area.c1, .st-dot.c1 { fill: var(--accent); }
.st-line.c2 { stroke: #60a5fa; } .st-area.c2 { fill: #60a5fa; opacity: .08; }
.st-line.c3, .st-dot.c3 { stroke: var(--green); } .st-area.c3, .st-dot.c3 { fill: var(--green); }
.st-dot { stroke: var(--page); stroke-width: 2; }
.st-hover { stroke: var(--fg-3); stroke-dasharray: 3 3; }
.st-tip { position: absolute; top: 4px; transform: translateX(-50%); padding: 8px 10px; border-radius: var(--r-control); background: var(--card-2); box-shadow: var(--ring), var(--shadow); font-size: 12px; display: grid; gap: 3px; pointer-events: none; white-space: nowrap; z-index: 2; }
.st-tip i, .legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; }
.legend { font-size: 12px; color: var(--fg-3); display: inline-flex; align-items: center; gap: 4px; }
.legend i { margin-left: 10px; }
i.c1 { background: var(--accent); } i.c2 { background: #60a5fa; } i.c3 { background: var(--green); }
.st-row { position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font-size: 13.5px; overflow: hidden; }
.st-row + .st-row { margin-top: 3px; }
.st-row__bar { position: absolute; inset: 0 auto 0 0; background: var(--accent-soft); border-radius: 8px; }
.st-row__k { position: relative; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-row__k a:hover { text-decoration: underline; }
.st-row__v { position: relative; font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.st-row__v small { color: var(--fg-3); font-weight: 400; margin-left: 4px; }
.mapadmin__upload { margin-top: var(--space-5); display: grid; gap: var(--space-4); }
.mapadmin { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--space-4); align-items: start; }
.mapadmin__stage { padding: var(--space-4); }
.mapadmin__help { margin: 0 0 var(--space-3); }
.mapadmin__img { position: relative; cursor: crosshair; user-select: none; border-radius: var(--r-inner); overflow: hidden; }
.mapadmin__img img { width: 100%; height: auto; display: block; }
.mapadmin__schema { aspect-ratio: 1; box-shadow: none; border-radius: 0; }
.mapadmin__pin { position: absolute; transform: translate(-50%, -50%); width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #111; font-size: 13px; box-shadow: 0 2px 8px rgb(0 0 0 / .4); pointer-events: none; }
.mapadmin__pin.is-on { background: var(--grad); box-shadow: 0 0 0 4px rgb(255 62 141 / .4); z-index: 2; }
.mapadmin__list { padding: var(--space-4); display: grid; gap: 4px; max-height: 80vh; overflow: auto; position: sticky; top: 130px; }
.mapadmin__row { display: flex; align-items: center; gap: 6px; border-radius: 8px; padding: 2px; }
.mapadmin__row.is-on { background: var(--accent-soft); }
.mapadmin__row [data-select] { flex: 1; text-align: left; border: 0; background: none; padding: 7px 8px; border-radius: 8px; cursor: pointer; font-size: 13.5px; color: var(--fg-2); }
.mapadmin__row [data-select]:hover { color: var(--fg); background: var(--inner); }
.mapadmin__pos { font-size: 11.5px; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.mapadmin__rm { border: 0; background: none; color: var(--fg-3); cursor: pointer; padding: 4px 6px; border-radius: 6px; }
.mapadmin__rm:hover { color: var(--red); }
.twofa { display: flex; gap: var(--space-8); align-items: flex-start; flex-wrap: wrap; margin-top: var(--space-4); }
.twofa__qr { background: #fff; padding: 10px; border-radius: var(--r-panel); line-height: 0; }
.twofa__qr svg { width: 220px; height: 220px; }
.twofa p { margin: 0 0 var(--space-3); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.grow { flex: 1; }
.cheatform, .secform { margin-top: var(--space-3); }
.cheat-admin { margin-top: var(--space-6); }
/* En-tête simple de l'admin */
.admin .top { position: sticky; top: 0; z-index: 20; background: rgb(7 7 11 / .9); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.admin .top__in { max-width: var(--maxw); margin: 0 auto; padding: var(--space-3) var(--space-6); display: flex; align-items: center; gap: var(--space-6); }
.admin .nav { display: flex; gap: var(--space-5); margin-left: auto; flex-wrap: wrap; }
.admin .nav a { font: 700 12px var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2); padding: 8px 0; }
.admin .nav a:hover { color: var(--fg); }
.admin .top__tools { display: flex; gap: var(--space-2); }
.admin .brand span:first-child { font: 900 16px var(--font-display); letter-spacing: .04em; }

/* ================= Écrans moyens et mobiles ================= */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .st-kpis { grid-template-columns: repeat(3, 1fr); }
  .st-grid3 { grid-template-columns: 1fr 1fr; }
  .st-grid3 .st-card--wide { grid-column: span 2; grid-row: auto; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .news-layout { grid-template-columns: 1fr; }
  .bigcard { min-height: 380px; }
  .sidecol { grid-template-columns: 1fr 1fr; }
  .sharebox { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  :root { --hd-h: 58px; }
  .search-mini { display: none; }
  .burger { display: grid; }
  .hd__bar { padding-left: var(--space-4); gap: var(--space-3); }
  .hd__cta { padding: 0 16px; }
  .hd__cta span { display: none; }
  .hd__nav { display: none; flex-direction: column; padding: 8px var(--space-4) 14px; }
  .hd__nav a { padding: 12px 6px; border-bottom: 1px solid var(--line); }
  .hd__nav a.is-on::after { display: none; }
  .hd__nav a.is-on { color: var(--accent); }
  body.menu-open .hd__nav { display: flex; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .infos { grid-template-columns: repeat(2, 1fr); }
  .article__grid { grid-template-columns: 1fr; }
  .article__side { display: contents; }
  .article__side .infobox { order: -1; }
  .wiki-list { grid-template-columns: 1fr; }
  .foot__in { grid-template-columns: 1fr; }
  .form--row, .form--row2, .mapadmin, .st-grid2 { grid-template-columns: 1fr; }
  .map-layout { grid-template-columns: 1fr; }
  .map-side, .mapadmin__list { position: static; }
  .rel, .cheats { grid-template-columns: 1fr; }
  .rel__row:nth-child(4n+1), .rel__row:nth-child(4n+2) { background: none; }
  .rel__row:nth-child(odd) { background: var(--inner); }
  .secrets { grid-template-columns: 1fr 1fr; }
  .ctaband { flex-wrap: wrap; }
  .ctaband .btn { margin-left: 0; }
  .admin .top__in { flex-wrap: wrap; gap: var(--space-3); }
  .admin .nav { margin-left: 0; gap: var(--space-4); }
}
@media (max-width: 600px) {
  .page { padding: var(--space-4) var(--space-4) var(--space-12); }
  .hero { margin-top: calc(-1 * var(--space-4)); min-height: 0; }
  .hero__in { padding: var(--space-12) var(--space-4) var(--space-16); }
  .countdown { gap: 6px; }
  .countdown div { min-width: 0; flex: 1; padding: 8px 4px; }
  .hero__count { width: 100%; padding: 14px; }
  .btn--lg { height: 48px; padding: 0 18px; }
  .tiles { margin-top: calc(-1 * var(--space-10)); }
  .tile { min-height: 130px; padding: var(--space-4); }
  .sidecol { grid-template-columns: 1fr; }
  .bigcard { min-height: 340px; padding: var(--space-5); }
  .grid, .grid--4, .secrets, .form--2, .form--3 { grid-template-columns: 1fr; }
  .infos { grid-template-columns: 1fr 1fr; }
  .infos dd { font-size: 15px; }
  .pagehead { padding: var(--space-6) var(--space-5); }
  .pagehead--img { margin-top: calc(-1 * var(--space-4)); padding: var(--space-12) var(--space-4) var(--space-8); }
  .prose { padding: var(--space-6) var(--space-5); font-size: 16px; }
  .search-big { flex-direction: column; }
  .block { margin-top: var(--space-12); }
  .rel__row { grid-template-columns: 1fr auto; }
  .rel__at { grid-column: 1; grid-row: 2; }
  .rel__left { grid-row: 1 / 3; grid-column: 2; }
  .sendbox { padding: var(--space-6) var(--space-5); }
  .st-kpis { grid-template-columns: 1fr 1fr; }
  .ctaband { padding: var(--space-6) var(--space-5); }
  .brand__name { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }
/* Retours à la ligne équilibrés pour les grands titres */
.hero__title, .display, .bigcard h2, .h-sec, .tile__title, .card h3, .minicard b, .ctaband__txt b { text-wrap: balance; }
.hero__title { font-size: clamp(38px, 6.6vw, 88px); }

/* =====================================================================
   Version épurée : moins de capitales, moins de dégradés, plus d'air.
   ===================================================================== */
:root { --maxw: 1180px; }
body { font-size: 15.5px; }
.grad { background: none; color: inherit; -webkit-background-clip: initial; background-clip: initial; }

/* En-tête : une seule ligne fine */
.hd { background: rgb(7 7 11 / .82); }
.hd__bar { height: 64px; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--space-6); gap: var(--space-8); align-items: center; }
.brand__mark { width: 30px; height: 30px; border-radius: 8px; font-size: 13px; box-shadow: none; }
.brand__name { font: 700 16px var(--font-display); letter-spacing: -.01em; }
.hd__nav { flex: 1; justify-content: center; gap: 2px; padding: 0; border: 0; overflow: visible; }
.hd__nav a { padding: 8px 12px; border-radius: 8px; font: 500 14px var(--font-body); letter-spacing: 0; text-transform: none; color: var(--fg-3); }
.hd__nav a:hover { color: var(--fg); background: rgb(255 255 255 / .05); }
.hd__nav a.is-on { color: var(--fg); background: rgb(255 255 255 / .07); }
.hd__nav a.is-on::after { display: none; }
.hd__tools { margin-left: 0; gap: 4px; }
.icon-btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; color: var(--fg-3); }
.icon-btn:hover { color: var(--fg); background: rgb(255 255 255 / .06); }
.lang summary { height: 38px; padding: 0 10px; font: 600 13px var(--font-body); letter-spacing: .02em; color: var(--fg-3); }

/* Titres : casse normale, tailles raisonnables */
.display, .hero__title, .h-sec, .bigcard h2, .bigcard h3, .card h3, .tile__title, .minicard b, .prose h2, .cat, .wiki-item b,
.datatable td b, .cheat__head b, .secret h3, .map__tip b, .infobox__head b, .sendbox h2, .map-teaser b, .st-card__head h2 { text-transform: none !important; letter-spacing: -.015em !important; }
.h-sec::before, .prose h2::before { display: none; }
.block__head { align-items: baseline; margin-bottom: var(--space-4); }
.block__head h2 { font: 700 22px var(--font-display); letter-spacing: -.015em; }
.display { font-weight: 800; font-size: clamp(30px, 4vw, 46px); line-height: 1.08; }
.display--sm { font-size: clamp(28px, 3.4vw, 40px); }
.prose h2 { font: 700 24px/1.2 var(--font-display); }
.link { font: 500 14px var(--font-body); letter-spacing: 0; text-transform: none; color: var(--fg-3); }
.link:hover { color: var(--fg); }
.kicker { font: 500 13px var(--font-body); letter-spacing: 0; text-transform: none; }
.eyebrow { font: 600 12px var(--font-body); letter-spacing: .02em; text-transform: none; }
.chip { font: 600 11.5px var(--font-body); letter-spacing: 0; text-transform: none; height: 22px; }
.chip--hot { background: var(--accent-soft); color: var(--accent); }
.block { margin-top: var(--space-12); }

/* Boutons sobres */
.btn { font: 600 14px var(--font-body); letter-spacing: 0; text-transform: none; height: 42px; }
.btn--lg { height: 48px; font-size: 15px; padding: 0 24px; }
.btn--sm { height: 34px; font-size: 13px; }
.btn--primary { box-shadow: none; }

/* Grand visuel plus court et plus calme */
.hero { min-height: min(72vh, 640px); }
.hero::after { background: linear-gradient(180deg, rgb(7 7 11 / .55) 0%, rgb(7 7 11 / .55) 55%, var(--page) 100%); }
.hero__in { max-width: 760px; padding: var(--space-16) var(--space-6) calc(var(--space-16) + 40px); }
.hero__kicker { padding: 6px 12px; font: 600 12.5px var(--font-body); letter-spacing: 0; text-transform: none; background: rgb(255 255 255 / .1); }
.hero__title { font: 800 clamp(36px, 5.2vw, 64px)/1.04 var(--font-display) !important; text-shadow: none; }
.hero__text { margin-top: var(--space-4); font-size: 17px; color: #d9d9e2; text-shadow: none; }
.hero__btns { margin-top: var(--space-6); }
.hero__count { margin-top: var(--space-8); padding: 0; background: none; box-shadow: none; backdrop-filter: none; }
.countdown--inline div { min-width: 58px; padding: 8px 6px; background: rgb(255 255 255 / .08); backdrop-filter: blur(6px); }
.countdown--inline b { font-size: 24px; font-weight: 700; }
.countdown--inline span { font: 500 10.5px var(--font-body); letter-spacing: 0; text-transform: none; }
.countdown.is-out { font: 700 18px var(--font-display); text-transform: none; }

/* Tuiles : cartes séparées */
.tiles { gap: var(--space-3); margin-top: -64px; border-radius: 0; overflow: visible; box-shadow: none; }
.tile { min-height: 150px; border-radius: var(--r-panel); box-shadow: var(--ring); }
.tile::after { background: linear-gradient(180deg, rgb(7 7 11 / .05) 20%, rgb(7 7 11 / .85) 100%); }
.tile:hover::after { background: linear-gradient(180deg, rgb(7 7 11 / 0) 20%, rgb(7 7 11 / .8) 100%); }
.tile__title { font: 700 20px var(--font-display); margin: 0; }
.tile__sub { font: 400 13px var(--font-body); letter-spacing: 0; text-transform: none; color: var(--fg-2); margin-top: 2px; }

/* À la une */
.news-layout { margin-top: 0; grid-template-columns: 1.5fr 1fr; }
.bigcard { min-height: 380px; justify-content: flex-end; }
.bigcard::after { background: linear-gradient(180deg, transparent 35%, rgb(7 7 11 / .9) 90%); }
.bigcard__cat { font: 600 12.5px var(--font-body); letter-spacing: 0; text-transform: none; }
.bigcard h3 { font: 700 clamp(22px, 2.4vw, 30px)/1.15 var(--font-display); margin: 6px 0 8px; max-width: 28ch; }
.bigcard p { font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rowcard { display: grid; grid-template-columns: 128px 1fr; gap: var(--space-4); align-items: center; padding: 10px; border-radius: var(--r-panel); background: var(--card); box-shadow: var(--ring); transition: background .2s; }
.rowcard:hover { background: var(--card-2); }
.rowcard img { width: 128px; height: 76px; object-fit: cover; border-radius: 8px; }
.rowcard small { display: block; font-size: 12px; color: var(--accent); margin-bottom: 3px; }
.rowcard b { font: 600 14.5px/1.3 var(--font-display); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Cartes */
.card h3 { font: 700 17px/1.3 var(--font-display); }
.card:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line-2); }
.cat { font: 600 14.5px var(--font-body); }
.cat:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.wiki-item b { font: 600 15px var(--font-display); }
.wiki-item:hover { box-shadow: inset 0 0 0 1px var(--line-2); }

/* Deux colonnes : secrets + codes */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); }
.secrets--compact { grid-template-columns: 1fr; gap: var(--space-3); }
.secrets--compact .secret__clip { display: none; }
.secrets--compact .secret__body { padding: var(--space-4) var(--space-5); }
.two .cheats { grid-template-columns: 1fr; }
.soft { padding: var(--space-6); display: grid; gap: var(--space-4); justify-items: start; }
.soft p { margin: 0; color: var(--fg-2); }
.cheats-empty { background: var(--card); }
.secret h3 { font: 700 16px var(--font-display); }
.cheat__head b { font: 700 16px var(--font-display); }

/* Bloc repliable (heures de sortie) */
.fold { padding: 0; }
.fold summary { list-style: none; cursor: pointer; display: grid; gap: 4px; padding: var(--space-5) var(--space-6); position: relative; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary span { font: 700 18px var(--font-display); }
.fold summary small { color: var(--fg-3); }
.fold summary::after { content: "+"; position: absolute; right: var(--space-6); top: 50%; transform: translateY(-50%); font: 600 22px var(--font-display); color: var(--fg-3); }
.fold[open] summary::after { content: "–"; }
.fold .rel { margin: 0 var(--space-3); }
.fold .note { padding: 0 var(--space-6) var(--space-5); }

/* En-têtes de pages plus discrets */
.pagehead--img { padding-top: var(--space-12); padding-bottom: var(--space-10); }
.pagehead--img::after { background: linear-gradient(180deg, rgb(7 7 11 / .7), rgb(7 7 11 / .82) 70%, var(--page) 100%); }
.pill { font: 500 13px var(--font-body); letter-spacing: 0; text-transform: none; }
.infobox__head { background: var(--card-2); border-bottom: 1px solid var(--line); }
.infobox__head .ico { color: var(--accent); }
.form label { font: 600 13px var(--font-body); letter-spacing: 0; text-transform: none; }
.table th, .infos dt, .infobox dt, .prose th { font: 600 12px var(--font-body); letter-spacing: 0; text-transform: none; }
.foot__links a { font: 500 14px var(--font-body); letter-spacing: 0; text-transform: none; }
.hd__cta, .ctaband { display: none; }

@media (max-width: 1080px) {
  .hd__bar { gap: var(--space-4); }
  .hd__nav a { padding: 8px 9px; font-size: 13.5px; }
}
@media (max-width: 900px) {
  .hd__nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; padding: 8px var(--space-4) 14px; background: var(--page-2); border-bottom: 1px solid var(--line); }
  body.menu-open .hd__nav { display: flex; }
  .hd__nav a { padding: 12px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .hd__tools { margin-left: auto; }
  .hd__bar { position: relative; }
  .two { grid-template-columns: 1fr; gap: var(--space-12); }
  .news-layout { grid-template-columns: 1fr; }
  .sidecol { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hd__bar { padding: 0 var(--space-4); }
  .tiles { grid-template-columns: 1fr 1fr; margin-top: -48px; gap: var(--space-2); }
  .tile { min-height: 116px; padding: var(--space-4); }
  .tile__title { font-size: 17px; }
  .tile__sub { display: none; }
  .bigcard { min-height: 300px; }
  .rowcard { grid-template-columns: 96px 1fr; }
  .rowcard img { width: 96px; height: 60px; }
  .hero__in { padding: var(--space-12) var(--space-4) calc(var(--space-12) + 32px); }
  .countdown--inline div { min-width: 0; }
}

.hero .hero__credit { top: 12px; bottom: auto; }

/* =====================================================================
   Verre givré (glassmorphism) : décor lumineux fixe derrière, panneaux translucides et flous.
   ===================================================================== */
:root {
  --glass: rgb(255 255 255 / .055);
  --glass-2: rgb(255 255 255 / .085);
  --glass-hover: rgb(255 255 255 / .1);
  --glass-line: rgb(255 255 255 / .13);
  --glass-hi: rgb(255 255 255 / .22);
  --glass-blur: blur(18px) saturate(150%);
  --card: var(--glass);
  --card-2: var(--glass-2);
  --inner: rgb(255 255 255 / .06);
  --ring: inset 0 0 0 1px var(--glass-line);
  --page-2: transparent;
}

/* Décor : halos de couleur + image de Vice City très floue, fixés derrière tout le site */
body { background: #06060a; }
body::before, body::after { content: ""; position: fixed; inset: -10%; z-index: -1; pointer-events: none; }
body::before {
  background:
    radial-gradient(40% 35% at 12% 8%, rgb(255 62 141 / .32), transparent 70%),
    radial-gradient(38% 34% at 92% 18%, rgb(139 92 246 / .30), transparent 70%),
    radial-gradient(45% 40% at 70% 92%, rgb(255 138 61 / .22), transparent 70%),
    radial-gradient(35% 30% at 8% 85%, rgb(34 211 238 / .14), transparent 70%);
}
body::after {
  background: url("/uploads/rockstar/vice-city-640.webp") center / cover no-repeat;
  filter: blur(60px) saturate(140%);
  opacity: .28;
  z-index: -2;
}

/* Surface de verre commune */
.panel, .card, .cat, .rowcard, .infos div, .faq details, .toc, .infobox, .prose, .cheat, .secret, .sendbox,
.st-kpi, .st-card, .datatable, .table-wrap, .soft, .fold, .map-teaser, .wiki-item, .cheats-empty, .login {
  background: linear-gradient(180deg, rgb(255 255 255 / .075), rgb(255 255 255 / .035)) !important;
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: inset 0 0 0 1px var(--glass-line), inset 0 1px 0 var(--glass-hi), 0 20px 50px -28px rgb(0 0 0 / .8) !important;
}
.card:hover, .cat:hover, .rowcard:hover, .wiki-item:hover {
  background: linear-gradient(180deg, rgb(255 255 255 / .11), rgb(255 255 255 / .05)) !important;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .22), inset 0 1px 0 rgb(255 255 255 / .3), 0 24px 50px -24px rgb(255 62 141 / .35) !important;
}
.card__img { border-bottom: 1px solid var(--glass-line); }

/* En-tête et menus en verre */
.hd { background: rgb(10 10 16 / .45); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); border-bottom: 1px solid var(--glass-line); box-shadow: inset 0 -1px 0 rgb(255 255 255 / .04); }
.lang__menu, .map__tip, .st-tip { background: rgb(18 18 28 / .6) !important; -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); box-shadow: inset 0 0 0 1px var(--glass-line), 0 20px 40px -16px rgb(0 0 0 / .7) !important; }
.hd__nav a.is-on { background: rgb(255 255 255 / .1); box-shadow: inset 0 0 0 1px var(--glass-line); }
@media (max-width: 900px) { .hd__nav { background: rgb(12 12 20 / .75); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); } }

/* Boutons */
.btn { background: rgb(255 255 255 / .08); box-shadow: inset 0 0 0 1px var(--glass-line), inset 0 1px 0 rgb(255 255 255 / .18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn:hover { background: rgb(255 255 255 / .14); }
.btn--primary { background: var(--grad); box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), 0 10px 30px -12px rgb(255 62 141 / .7); }
.btn--primary:hover { background: var(--grad); }
.pill { background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1px var(--glass-line); }
.share__ic { background: rgb(255 255 255 / .07); }

/* Champs en verre */
.form input, .form select, .form textarea, .search-big input, .datatable__filter {
  background: rgb(255 255 255 / .06) !important; box-shadow: inset 0 0 0 1px var(--glass-line) !important;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.form input:focus, .form select:focus, .form textarea:focus, .search-big input:focus, .datatable__filter:focus { box-shadow: inset 0 0 0 1px var(--accent), 0 0 0 4px rgb(255 94 160 / .15) !important; }

/* Grand visuel : bloc de texte et compte à rebours en verre */
.hero::after { background: linear-gradient(180deg, rgb(6 6 10 / .45) 0%, rgb(6 6 10 / .4) 50%, rgb(6 6 10 / .0) 100%); }
.hero { -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, #000 80%, transparent 100%); }
.hero__kicker { background: rgb(255 255 255 / .12); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .25); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.countdown--inline div { background: rgb(255 255 255 / .1); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .18), inset 0 1px 0 rgb(255 255 255 / .25); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }

/* Tuiles et grande carte : légende sur une plaque de verre */
.tile { box-shadow: inset 0 0 0 1px var(--glass-line), 0 20px 40px -24px rgb(0 0 0 / .9); }
.tile::after { background: linear-gradient(180deg, transparent 45%, rgb(6 6 10 / .35) 100%); }
.tile__title, .tile__sub { position: relative; }
.tile__title { padding: 10px 12px 0; margin: 0 -6px -2px; }
.tile__sub { padding: 0 12px 10px; margin: 0 -6px -6px; }
.tile__title, .tile__sub { background: rgb(12 12 20 / .38); -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%); }
.tile__title { border-radius: 10px 10px 0 0; box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), inset 1px 0 0 var(--glass-line), inset -1px 0 0 var(--glass-line); }
.tile__sub { border-radius: 0 0 10px 10px; box-shadow: inset 0 -1px 0 var(--glass-line), inset 1px 0 0 var(--glass-line), inset -1px 0 0 var(--glass-line); }
.bigcard::after { background: linear-gradient(180deg, transparent 55%, rgb(6 6 10 / .45) 100%); }
.bigcard__body { padding: var(--space-5); border-radius: 12px; background: rgb(12 12 20 / .42); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); box-shadow: inset 0 0 0 1px var(--glass-line), inset 0 1px 0 var(--glass-hi); }
.bigcard__body p { color: #dedee6; }

/* En-têtes de pages : texte sur plaque de verre */
.pagehead--img::after { background: linear-gradient(180deg, rgb(6 6 10 / .35), rgb(6 6 10 / .25) 60%, transparent 100%); }
.pagehead--img { -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, #000 82%, transparent 100%); }
.pagehead--img > * { position: relative; }
.pagehead--img > .kicker, .pagehead--img > .display, .pagehead--img > .lead, .pagehead--img > .meta, .pagehead--img > .filters, .pagehead--img > .row, .pagehead--img > div, .pagehead--img > .search-big, .pagehead--img > .tags { max-width: 860px; }
.pagehead--img::before { filter: saturate(115%); }
.pagehead--img .display { text-shadow: 0 4px 30px rgb(0 0 0 / .6); }

/* Infobox et tableaux */
.infobox__head { background: rgb(255 255 255 / .06); border-bottom: 1px solid var(--glass-line); }
.infobox dl div:nth-child(odd), .rel__row:nth-child(4n+1), .rel__row:nth-child(4n+2) { background: rgb(255 255 255 / .05); }
.prose th { background: rgb(255 255 255 / .06); }
.prose blockquote, .prose pre, .prose code, .cheat__code { background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px var(--glass-line); }

/* Pied de page en verre */
.foot { background: rgb(10 10 16 / .35); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-top: 1px solid var(--glass-line); }
.foot__copy { border-top: 1px solid var(--glass-line); }

/* Admin */
.admin .top { background: rgb(10 10 16 / .45); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); border-bottom: 1px solid var(--glass-line); }
.savebar { background: linear-gradient(transparent, rgb(6 6 10 / .7) 40%); }

/* Si le navigateur ne gère pas le flou, on garde des panneaux lisibles */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .panel, .card, .cat, .rowcard, .infos div, .faq details, .toc, .infobox, .prose, .cheat, .secret, .sendbox, .fold, .wiki-item, .bigcard__body, .tile__title, .tile__sub { background: rgb(20 20 30 / .92) !important; }
  .hd, .foot { background: rgb(10 10 16 / .95); }
}
@media (prefers-reduced-transparency: reduce) {
  .panel, .card, .cat, .rowcard, .prose, .bigcard__body, .tile__title, .tile__sub { background: rgb(20 20 30 / .95) !important; }
}

/* =====================================================================
   Style cinéma : police Manrope, accueil plein écran animé, pilules blanches.
   ===================================================================== */
@font-face { font-family: "Manrope"; src: url("/static/fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; src: url("/static/fonts/manrope-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --font-display: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ink: #fafafa; --muted: #a7a6a6; --strip: #8b8a8a;
}
body { text-rendering: geometricPrecision; letter-spacing: .005em; }
h1, h2, h3, .display, .block__head h2, .card h3, .bigcard h3, .tile__title, .prose h2 { font-family: var(--font-display); font-weight: 650; }
.display, .display--sm { font-weight: 500; letter-spacing: -.01em !important; }

/* Pilules blanches et liens discrets */
.pill-w, .cine .pill { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 28px; border-radius: 999px; background: #fff; color: #050505; font: 500 17px var(--font-body); letter-spacing: 0; text-transform: none; box-shadow: none; backdrop-filter: none; transition: transform .2s cubic-bezier(.22,1,.36,1), background .2s; }
.pill-w:hover, .cine .pill:hover { background: #e9e9ec; transform: translateY(-1px); }
.cine .pill span { transform: translateY(1px); }
.ghost { color: #fff; font: 500 17px var(--font-body); letter-spacing: .01em; opacity: .92; transition: opacity .2s; }
.ghost:hover { opacity: 1; }
.btn--primary { background: #fff; color: #050505; box-shadow: none; border-radius: 999px; }
.btn--primary:hover { background: #e9e9ec; filter: none; }
.hd__pill { display: inline-flex; align-items: center; height: 40px; padding: 0 20px; border-radius: 999px; background: #fff; color: #050505; font: 500 14.5px var(--font-body); margin-left: 6px; }
.hd__pill:hover { background: #e9e9ec; }

/* Accueil plein écran */
.cine { position: relative; margin: calc(-1 * var(--space-6)) calc(50% - 50vw) 0; height: calc(100svh - 64px); min-height: 600px; max-height: 1060px; overflow: hidden; isolation: isolate; display: grid; align-content: center; background: #050505; }
.cine__plate { position: absolute; inset: 0; z-index: -2; }
.cine__plate i { position: absolute; inset: 0; background: var(--bg) center / cover no-repeat; opacity: 0; animation: cineSlide 30s linear infinite; animation-delay: calc(var(--i) * 6s - 1.5s); will-change: opacity, transform; }
@keyframes cineSlide {
  0% { opacity: 0; transform: scale(1.12); }
  5% { opacity: 1; }
  20% { opacity: 1; }
  25% { opacity: 0; transform: scale(1.02); }
  100% { opacity: 0; transform: scale(1.02); }
}
.cine::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  linear-gradient(to right, rgb(5 5 5 / .86) 0%, rgb(5 5 5 / .62) 34%, rgb(5 5 5 / .18) 66%, rgb(5 5 5 / .08) 100%),
  linear-gradient(to bottom, rgb(5 5 5 / .35) 0%, rgb(5 5 5 / 0) 22%, rgb(5 5 5 / 0) 70%, rgb(5 5 5 / .75) 84%, rgb(5 5 5 / .95) 94%, #050505 100%); }
.cine__in { padding: 0 max(var(--space-6), calc(50vw - var(--maxw) / 2 + var(--space-6))); max-width: calc(820px + max(var(--space-6), calc(50vw - var(--maxw) / 2 + var(--space-6)))); }
.cine__kicker { margin: 0 0 22px; font: 500 14px var(--font-body); letter-spacing: .02em; color: var(--muted); }
.cine__title { margin: 0; font: 400 clamp(40px, 5.4vw, 76px)/1.12 var(--font-display) !important; letter-spacing: .004em !important; color: var(--ink); text-transform: none !important; }
.cine__title span { display: block; white-space: nowrap; }
.cine__title span + span { color: #d9d9dd; }
.cine__sub { margin: 26px 0 0; max-width: 46ch; font: 400 clamp(16px, 1.35vw, 20.5px)/1.4 var(--font-body); color: var(--muted); word-spacing: .08em; }
.cine__actions { display: flex; align-items: center; gap: 30px; margin-top: 34px; flex-wrap: wrap; }
.cine__count { display: inline-flex; align-items: center; gap: 10px; margin: 30px 0 0; font: 500 14px var(--font-body); color: var(--muted); font-variant-numeric: tabular-nums; }
.cine__count.is-out { color: var(--green); }
.cine__strip { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); display: flex; gap: 56px; color: var(--strip); white-space: nowrap; }
.cine__strip .mk { display: inline-flex; align-items: center; gap: 10px; font: 700 17px var(--font-display); letter-spacing: -.01em; }
.cine__credit { position: absolute; top: 12px; right: 16px; margin: 0; font-size: 11px; color: rgb(255 255 255 / .4); }

/* Entrée animée */
@media (prefers-reduced-motion: no-preference) {
  .cine__kicker, .cine__title, .cine__sub, .cine__actions, .cine__count { animation: cineRise .9s cubic-bezier(.22,1,.36,1) both; }
  .cine__title { animation-delay: .06s; }
  .cine__sub { animation-delay: .14s; }
  .cine__actions { animation-delay: .22s; }
  .cine__count { animation-delay: .28s; }
  .cine__strip .mk { animation: cineFadeIn 1.1s ease both .34s; }
}
@media (prefers-reduced-motion: reduce) { .cine__plate i { animation: none; } .cine__plate i:first-child { opacity: 1; } }
@keyframes cineRise { from { opacity: 0; transform: translateY(14px); } }
@keyframes cineFadeIn { from { opacity: 0; } }

/* Après l'accueil plein écran, les tuiles ne chevauchent plus */
.cine + .tiles { margin-top: var(--space-10); }

@media (max-width: 1080px) { .hd__pill { display: none; } .cine__strip { gap: 32px; } }
@media (max-aspect-ratio: 11/10), (max-width: 760px) {
  .cine { height: auto; min-height: calc(92svh - 58px); align-content: end; padding-bottom: 150px; }
  .cine::after { background:
    linear-gradient(to right, rgb(5 5 5 / .84), rgb(5 5 5 / .6) 42%, rgb(5 5 5 / .16) 78%, rgb(5 5 5 / .06)),
    linear-gradient(to bottom, rgb(5 5 5 / .66) 0%, rgb(5 5 5 / .28) 24%, rgb(5 5 5 / .3) 56%, rgb(5 5 5 / .78) 82%, rgb(5 5 5 / .96) 94%, #050505 100%); }
  .cine__plate i { background-position: 43% center; }
  .cine__title span { display: inline; white-space: normal; }
  .cine__strip { left: var(--space-4); right: var(--space-4); transform: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; bottom: 26px; }
  .cine__strip .mk { font-size: 15px; }
}
@media (max-width: 600px) {
  .cine { margin-top: calc(-1 * var(--space-4)); }
  .cine__title { font-size: 40px !important; }
  .cine__actions { gap: 22px; }
}

/* Variables du verre et de la police : même priorité que le thème de base pour bien s appliquer */
:root[data-theme] { --font-display: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif; --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif; --card: rgb(255 255 255 / .055); --card-2: rgb(255 255 255 / .085); --inner: rgb(255 255 255 / .06); --ring: inset 0 0 0 1px rgb(255 255 255 / .13); --page-2: transparent; }

/* =====================================================================
   Allègement : le flou en direct est coûteux. Fond pré-flouté, et vrai flou
   seulement sur l'en-tête, les menus et les légendes posées sur des images.
   ===================================================================== */
body::after { background: url("/static/bg-blur.webp") center / cover no-repeat; filter: none; opacity: .3; inset: 0; }
body::before { inset: 0; }
.panel, .card, .cat, .rowcard, .infos div, .faq details, .toc, .infobox, .prose, .cheat, .secret, .sendbox,
.st-kpi, .st-card, .datatable, .table-wrap, .soft, .fold, .map-teaser, .wiki-item, .cheats-empty, .login,
.btn, .pill, .form input, .form select, .form textarea, .search-big input, .datatable__filter, .countdown--inline div, .hero__kicker {
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
.panel, .card, .cat, .rowcard, .infos div, .faq details, .toc, .infobox, .prose, .cheat, .secret, .sendbox,
.st-kpi, .st-card, .datatable, .table-wrap, .soft, .fold, .map-teaser, .wiki-item, .cheats-empty, .login {
  background: linear-gradient(180deg, rgb(26 24 34 / .78), rgb(16 15 22 / .72)) !important;
}
.card:hover, .cat:hover, .rowcard:hover, .wiki-item:hover { background: linear-gradient(180deg, rgb(34 31 44 / .85), rgb(20 19 28 / .8)) !important; }
.hero, .pagehead--img { -webkit-mask-image: none; mask-image: none; }
.pagehead--img::after { background: linear-gradient(180deg, rgb(6 6 10 / .45), rgb(6 6 10 / .35) 55%, #06060a 100%); }
.cine__plate i { will-change: auto; }
.foot { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgb(10 10 16 / .6); }

.cine.is-paused .cine__plate i { animation-play-state: paused; }

/* =====================================================================
   Barre de navigation : capsule arrondie en verre, flottante.
   ===================================================================== */
body:not(.admin) { --hd-space: 84px; }
body:not(.admin) .hd {
  position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(var(--maxw), calc(100% - 24px));
  border-radius: 999px; border: 0;
  background: linear-gradient(180deg, rgb(28 26 38 / .62), rgb(14 13 20 / .55));
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14), inset 0 1px 0 rgb(255 255 255 / .22), 0 18px 40px -18px rgb(0 0 0 / .75);
  transition: background .3s, box-shadow .3s;
}
body:not(.admin) .hd__bar { height: 60px; max-width: none; padding: 0 10px 0 12px; gap: var(--space-6); }
body:not(.admin) .brand__mark { width: 36px; height: 36px; border-radius: 999px; }
body:not(.admin) .hd__nav a { border-radius: 999px; padding: 8px 14px; }
body:not(.admin) .hd__nav a.is-on { background: rgb(255 255 255 / .12); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); }
body:not(.admin) .icon-btn, body:not(.admin) .lang summary, body:not(.admin) .burger { border-radius: 999px; }
body:not(.admin) .hd__pill { height: 40px; }
body:not(.admin) .lang__menu { border-radius: 20px; top: calc(100% + 14px); }

/* Le contenu démarre sous la capsule ; les grands visuels passent dessous */
body:not(.admin) .page { padding-top: calc(var(--hd-space) + var(--space-6)); }
body:not(.admin) .cine, body:not(.admin) .hero, body:not(.admin) .pagehead--img { margin-top: calc(-1 * (var(--hd-space) + var(--space-6))); }
body:not(.admin) .cine { height: 100svh; max-height: 1100px; }
body:not(.admin) .cine__in { padding-top: 60px; }
body:not(.admin) .pagehead--img { padding-top: calc(var(--hd-space) + var(--space-12)); }
html { scroll-padding-top: 100px; }
.article__side, .map-side, .mapadmin__list { top: 96px; }

/* Mobile : capsule compacte, menu déroulant arrondi sous la capsule */
@media (max-width: 900px) {
  body:not(.admin) { --hd-space: 76px; }
  body:not(.admin) .hd { top: 10px; width: calc(100% - 20px); }
  body:not(.admin) .hd__bar { height: 56px; padding: 0 8px 0 10px; }
  body:not(.admin) .hd__nav { top: calc(100% + 10px); left: 0; right: 0; border-radius: 24px; padding: 10px; gap: 2px;
    background: linear-gradient(180deg, rgb(28 26 38 / .9), rgb(14 13 20 / .88)); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14), 0 24px 50px -20px rgb(0 0 0 / .8); border: 0; }
  body:not(.admin) .hd__nav a { border-radius: 14px; border-bottom: 0; padding: 13px 16px; font-size: 16px; }
  body:not(.admin) .hd__nav a.is-on { color: var(--fg); }
  body:not(.admin) .cine { height: auto; }
}
@media (max-width: 600px) {
  body:not(.admin) .page { padding-top: calc(var(--hd-space) + var(--space-4)); }
  body:not(.admin) .cine, body:not(.admin) .hero, body:not(.admin) .pagehead--img { margin-top: calc(-1 * (var(--hd-space) + var(--space-4))); }
  body:not(.admin) .cine { padding-top: 90px; }
  body:not(.admin) .brand__name { font-size: 15px; }
}

.pagehead--img > .hero__credit { position: absolute; right: 16px; bottom: 14px; left: auto; top: auto; margin: 0; }

.cine__credit { top: auto !important; bottom: 10px; }

/* =====================================================================
   Animations de la barre de navigation
   ===================================================================== */
body:not(.admin) .hd { transition: transform .45s cubic-bezier(.22,1,.36,1), top .35s cubic-bezier(.22,1,.36,1), width .35s cubic-bezier(.22,1,.36,1), background .3s, box-shadow .3s, opacity .3s; }
body:not(.admin) .hd.is-scrolled { top: 8px; width: min(calc(var(--maxw) - 80px), calc(100% - 24px)); background: linear-gradient(180deg, rgb(24 22 34 / .82), rgb(12 11 18 / .78)); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16), inset 0 1px 0 rgb(255 255 255 / .24), 0 22px 50px -18px rgb(0 0 0 / .9); }
body:not(.admin) .hd.is-scrolled .hd__bar { height: 54px; }
body:not(.admin) .hd__bar { transition: height .35s cubic-bezier(.22,1,.36,1); }
body:not(.admin) .hd.is-hidden { transform: translate(-50%, calc(-100% - 24px)); }

/* Pastille qui glisse sous les liens */
.hd__nav { position: relative; }
.hd__glow { position: absolute; left: 0; top: 50%; height: 36px; margin-top: -18px; border-radius: 999px; z-index: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, rgb(255 255 255 / .16), rgb(255 255 255 / .07)); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16), inset 0 1px 0 rgb(255 255 255 / .25), 0 6px 18px -8px rgb(255 62 141 / .55);
  transition: transform .45s cubic-bezier(.22,1,.36,1), width .45s cubic-bezier(.22,1,.36,1), opacity .25s; }
.hd__glow.is-instant { transition: none; }
.hd__nav a { position: relative; z-index: 1; transition: color .25s; }
body:not(.admin) .hd__nav a.is-on, body:not(.admin) .hd__nav a:hover { background: transparent; box-shadow: none; }
.hd__nav a.is-on { color: #fff; }

/* Logo et bouton : petit reflet au survol */
.brand__mark { position: relative; overflow: hidden; transition: transform .45s cubic-bezier(.22,1,.36,1); }
.brand__mark::after { content: ""; position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 40%, rgb(255 255 255 / .65) 50%, transparent 60%); transform: translateX(-120%); transition: transform .7s cubic-bezier(.22,1,.36,1); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }
.brand:hover .brand__mark::after { transform: translateX(120%); }
.hd__pill { position: relative; overflow: hidden; transition: transform .25s cubic-bezier(.22,1,.36,1), background .2s, box-shadow .25s; }
.hd__pill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgb(255 94 160 / .35) 50%, transparent 70%); transform: translateX(-110%); transition: transform .7s cubic-bezier(.22,1,.36,1); }
.hd__pill:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgb(255 255 255 / .45); }
.hd__pill:hover::after { transform: translateX(110%); }
.icon-btn svg { transition: transform .3s cubic-bezier(.22,1,.36,1); }
.icon-btn:hover svg { transform: scale(1.12) rotate(-8deg); }

/* Bouton burger : se transforme en croix */
.burger svg path { transition: transform .35s cubic-bezier(.22,1,.36,1), opacity .2s; transform-origin: 12px 12px; }
.burger { position: relative; }
.burger svg { display: none; }
.burger::before, .burger::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; margin-left: -9px; border-radius: 2px; background: currentColor; transition: transform .35s cubic-bezier(.22,1,.36,1); }
.burger::before { transform: translateY(-4px); }
.burger::after { transform: translateY(4px); }
body.menu-open .burger::before { transform: rotate(45deg); }
body.menu-open .burger::after { transform: rotate(-45deg); }

/* Entrée au chargement */
@media (prefers-reduced-motion: no-preference) {
  body:not(.admin) .hd { animation: hdDrop .8s cubic-bezier(.22,1,.36,1) backwards; }
  body:not(.admin) .hd__nav a, body:not(.admin) .hd__tools > * { animation: hdItem .6s cubic-bezier(.22,1,.36,1) backwards; }
  body:not(.admin) .hd__nav a:nth-child(1) { animation-delay: .12s; }
  body:not(.admin) .hd__nav a:nth-child(2) { animation-delay: .16s; }
  body:not(.admin) .hd__nav a:nth-child(3) { animation-delay: .2s; }
  body:not(.admin) .hd__nav a:nth-child(4) { animation-delay: .24s; }
  body:not(.admin) .hd__nav a:nth-child(5) { animation-delay: .28s; }
  body:not(.admin) .hd__nav a:nth-child(6) { animation-delay: .32s; }
  body:not(.admin) .hd__tools > * { animation-delay: .3s; }
}
@keyframes hdDrop { from { opacity: 0; transform: translate(-50%, -24px) scale(.96); filter: blur(6px); } to { opacity: 1; transform: translate(-50%, 0) scale(1); filter: blur(0); } }
@keyframes hdItem { from { opacity: 0; transform: translateY(-6px); } }

/* Mobile : menu qui s'ouvre en cascade */
@media (max-width: 900px) {
  .hd__glow { display: none; }
  body:not(.admin) .hd__nav { display: flex !important; opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top center; transition: opacity .3s, transform .35s cubic-bezier(.22,1,.36,1), visibility 0s .35s; }
  body:not(.admin).menu-open .hd__nav { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .35s cubic-bezier(.22,1,.36,1), visibility 0s; }
  body:not(.admin) .hd__nav a { opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .35s cubic-bezier(.22,1,.36,1), background .2s; animation: none !important; }
  body:not(.admin).menu-open .hd__nav a { opacity: 1; transform: none; }
  body:not(.admin).menu-open .hd__nav a:nth-child(1) { transition-delay: .04s; }
  body:not(.admin).menu-open .hd__nav a:nth-child(2) { transition-delay: .08s; }
  body:not(.admin).menu-open .hd__nav a:nth-child(3) { transition-delay: .12s; }
  body:not(.admin).menu-open .hd__nav a:nth-child(4) { transition-delay: .16s; }
  body:not(.admin).menu-open .hd__nav a:nth-child(5) { transition-delay: .2s; }
  body:not(.admin).menu-open .hd__nav a:nth-child(6) { transition-delay: .24s; }
  body:not(.admin) .hd__nav a:hover, body:not(.admin) .hd__nav a.is-on { background: rgb(255 255 255 / .08); }
  body:not(.admin) .hd.is-scrolled { width: calc(100% - 20px); }
}
@media (prefers-reduced-motion: reduce) {
  body:not(.admin) .hd, .hd__glow, .hd__nav, .hd__nav a, .burger::before, .burger::after { transition-duration: .001s !important; animation: none !important; }
}

@media (max-width: 900px) {
  body:not(.admin) .hd__nav { position: absolute !important; top: calc(100% + 10px); left: 0; right: 0; }
  body:not(.admin) .hd__bar { position: relative; }
}
@media (max-width: 900px) { body:not(.admin) .hd__nav { background: linear-gradient(180deg, rgb(24 22 34 / .97), rgb(14 13 20 / .97)) !important; } }

/* =====================================================================
   Carte interactive (application plein écran : barre latérale + carte)
   ===================================================================== */
.mapapp { --c-map: #ff5ea0; --c-characters: #a78bfa; --c-vehicles: #22d3ee; --c-weapons: #fb7185; --c-missions: #fb923c; --c-activities: #34d399; --c-properties: #facc15; --c-cheats: #60a5fa; --c-general: #c4c4cc;
  display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 12px; margin: 0 calc(50% - 50vw); padding: 0 12px; height: calc(100svh - var(--hd-space, 84px) - 24px); min-height: 560px; }
.mapapp__side { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, rgb(26 24 34 / .82), rgb(14 13 20 / .78)); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12), inset 0 1px 0 rgb(255 255 255 / .2), 0 20px 50px -24px rgb(0 0 0 / .8); }
.mapapp__head h1 { font: 700 20px/1.2 var(--font-display); margin: 4px 0 2px; }
.mapapp__head .note { margin: 0; }
.mapapp__search { position: relative; display: flex; align-items: center; }
.mapapp__search svg { position: absolute; left: 14px; color: var(--fg-3); }
.mapapp__search input { width: 100%; height: 44px; padding: 0 14px 0 40px; border: 0; border-radius: 999px; background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); font-size: 14px; }
.mapapp__search input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--accent), 0 0 0 4px rgb(255 94 160 / .15); }
.mapapp__tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 999px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); }
.mapapp__tabs button { height: 34px; border: 0; border-radius: 999px; background: none; color: var(--fg-3); font: 600 13px var(--font-body); cursor: pointer; transition: background .25s, color .25s; }
.mapapp__tabs button small { opacity: .7; }
.mapapp__tabs button.is-on { background: #fff; color: #050505; }
.mapapp__sec { display: grid; gap: 8px; }
.mapapp__sechead { display: flex; justify-content: space-between; align-items: center; }
.mapapp__toggleall { border: 0; background: none; color: var(--accent); font: 600 12.5px var(--font-body); cursor: pointer; }
.mapapp__cats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mcat { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); cursor: pointer; font-size: 13px; transition: background .2s, opacity .2s; user-select: none; }
.mcat:hover { background: rgb(255 255 255 / .09); }
.mcat input { position: absolute; opacity: 0; pointer-events: none; }
.mcat:has(input:not(:checked)) { opacity: .45; }
.mcat__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mcat small { color: var(--fg-3); }
.mcat__ico { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 8px; color: #0a0a0f; background: var(--c-general); }
.mcat__ico .ico { width: 15px; height: 15px; }
.mcat__ico--map { background: var(--c-map); } .mcat__ico--characters { background: var(--c-characters); } .mcat__ico--vehicles { background: var(--c-vehicles); }
.mcat__ico--weapons { background: var(--c-weapons); } .mcat__ico--missions { background: var(--c-missions); } .mcat__ico--activities { background: var(--c-activities); }
.mcat__ico--properties { background: var(--c-properties); } .mcat__ico--cheats { background: var(--c-cheats); }
.mapapp__sec--list { flex: 1; min-height: 0; grid-template-rows: auto 1fr auto; }
.mapapp__list { list-style: none; margin: 0 -6px; padding: 0 6px; overflow: auto; display: grid; gap: 4px; align-content: start; scrollbar-width: thin; }
.mapapp__list button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 0; border-radius: 12px; background: none; text-align: left; cursor: pointer; color: var(--fg); transition: background .2s; }
.mapapp__list button:hover, .mapapp__list li.is-on button { background: rgb(255 255 255 / .08); }
.mapapp__list b { display: block; font: 600 14px var(--font-display); }
.mapapp__list small { display: block; font-size: 12px; color: var(--fg-3); }
.mapapp__list span:nth-child(2) { flex: 1; min-width: 0; }
.mapapp__flags { font-style: normal; color: var(--accent); font-size: 13px; letter-spacing: 2px; }
.mapapp__foot { margin: 0; font-size: 11.5px; line-height: 1.45; }

.mapapp__stage { position: relative; border-radius: 22px; overflow: hidden; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12), 0 20px 50px -24px rgb(0 0 0 / .8); background: #0d1018; }
.mapapp__canvas { position: absolute; inset: 0; background: #0d1018; }
.mapapp__canvas.leaflet-container { background: #0d1018; font: inherit; }
.mapapp__tools { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); z-index: 500; display: grid; gap: 4px; padding: 6px; border-radius: 999px;
  background: linear-gradient(180deg, rgb(28 26 38 / .72), rgb(14 13 20 / .68)); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14), 0 14px 30px -14px rgb(0 0 0 / .8); }
.mapapp__tools button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 999px; background: none; color: var(--fg-2); cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.mapapp__tools button:hover { background: rgb(255 255 255 / .1); color: #fff; transform: scale(1.06); }
.mapapp__badge { position: absolute; right: 14px; top: 14px; z-index: 500; padding: 8px 14px; border-radius: 999px; font-size: 13px; color: var(--fg-2);
  background: rgb(14 13 20 / .7); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); }
.mapapp__badge b { color: #fff; }
.mapapp__sidetoggle { display: none; }

/* Repères */
.mpin-wrap { background: none; border: 0; }
.mpin { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: var(--pc, #fff); box-shadow: 0 0 0 3px rgb(10 10 15 / .85), 0 8px 18px rgb(0 0 0 / .55); transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s; }
.mpin__ico { transform: rotate(45deg); color: #0a0a0f; display: grid; place-items: center; }
.mpin__ico .ico { width: 17px; height: 17px; }
.mpin--map { --pc: var(--c-map); } .mpin--characters { --pc: var(--c-characters); } .mpin--vehicles { --pc: var(--c-vehicles); } .mpin--weapons { --pc: var(--c-weapons); }
.mpin--missions { --pc: var(--c-missions); } .mpin--activities { --pc: var(--c-activities); } .mpin--properties { --pc: var(--c-properties); } .mpin--cheats { --pc: var(--c-cheats); }
.mpin-wrap:hover .mpin, .mpin-wrap.is-on .mpin { transform: rotate(-45deg) scale(1.18); box-shadow: 0 0 0 3px #fff, 0 10px 24px rgb(0 0 0 / .6); }
@media (prefers-reduced-motion: no-preference) { .mpin { animation: mpinIn .5s cubic-bezier(.22,1,.36,1) both; } }
@keyframes mpinIn { from { opacity: 0; transform: rotate(-45deg) translate(6px, -6px) scale(.6); } }

/* Bulle d'un lieu */
.mpop .leaflet-popup-content-wrapper { border-radius: 18px; padding: 0; color: var(--fg);
  background: linear-gradient(180deg, rgb(30 28 40 / .92), rgb(16 15 22 / .92)); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14), 0 20px 40px -14px rgb(0 0 0 / .8); }
.mpop .leaflet-popup-content { margin: 0; width: 260px !important; }
.mpop .leaflet-popup-tip { background: rgb(18 17 25 / .95); box-shadow: none; }
.mpop a.leaflet-popup-close-button { color: var(--fg-3); top: 8px; right: 8px; }
.mpop__in { padding: 16px; display: grid; gap: 8px; }
.mpop__cat { font: 600 12px var(--font-body); color: var(--accent); }
.mpop__in b { font: 700 17px/1.2 var(--font-display); }
.mpop__in p { margin: 0; font-size: 13px; color: var(--fg-2); line-height: 1.45; }
.mpop__row { display: flex; gap: 6px; flex-wrap: wrap; }
.mpop__open { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; background: #fff; color: #050505 !important; font: 600 13px var(--font-body); }
.mpop__row button { height: 30px; padding: 0 10px; border: 0; border-radius: 999px; background: rgb(255 255 255 / .08); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); color: var(--fg-2); font: 600 12px var(--font-body); cursor: pointer; }
.mpop__row button.is-on { background: var(--accent-soft); color: var(--accent); box-shadow: inset 0 0 0 1px rgb(255 94 160 / .4); }

/* Plein écran */
.mapapp:fullscreen { height: 100vh; padding: 12px; margin: 0; background: #06060a; }

/* Mobile : la carte prend tout, la liste s'ouvre en panneau */
@media (max-width: 900px) {
  .mapapp { grid-template-columns: 1fr; height: calc(100svh - var(--hd-space, 76px) - 16px); padding: 0 8px; }
  .mapapp__side { position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 600; max-height: 72svh; transform: translateY(calc(100% + 20px)); transition: transform .4s cubic-bezier(.22,1,.36,1); }
  .mapapp.side-open .mapapp__side { transform: none; }
  .mapapp__sidetoggle { display: inline-flex; align-items: center; gap: 8px; position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 500; height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: #fff; color: #050505; font: 600 14px var(--font-body); box-shadow: 0 12px 30px -10px rgb(0 0 0 / .7); }
  .mapapp__tools { top: auto; bottom: 76px; transform: none; right: 10px; }
  .mapapp__badge { top: 10px; right: 10px; }
}

.mapapp__tabs button { font-size: 12.5px; white-space: nowrap; padding: 0 6px; }

/* =====================================================================
   Vidéo de l'accueil, classement, nouveaux codes / secrets, finitions
   ===================================================================== */
/* Trailer en fond */
.cine__video { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity 1.6s ease; }
.cine__video.is-on { opacity: 1; }
.cine__video iframe { position: absolute; top: 50%; left: 50%; width: max(100%, calc(100svh * 1.7778)); height: max(100%, calc(100vw * .5625)); min-width: 100%; min-height: 100%; border: 0; transform: translate(-50%, -50%) scale(1.18); pointer-events: none; }
.ghost--play { display: inline-flex; align-items: center; gap: 10px; border: 0; background: none; cursor: pointer; padding: 0; }
.ghost--play .play { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; background: rgb(255 255 255 / .14); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .28); transition: transform .25s cubic-bezier(.22,1,.36,1), background .25s; }
.ghost--play:hover .play { transform: scale(1.1); background: rgb(255 255 255 / .24); }
.tmodal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgb(4 4 8 / .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: tmIn .3s ease both; }
.tmodal[hidden] { display: none; }
.tmodal__box { position: relative; width: min(1100px, 100%); aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #000; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14), 0 40px 90px -30px rgb(0 0 0 / .9); animation: tmBox .45s cubic-bezier(.22,1,.36,1) both; }
.tmodal__frame, .tmodal__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.tmodal__close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 999px; background: rgb(0 0 0 / .55); color: #fff; font-size: 16px; cursor: pointer; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2); }
@keyframes tmIn { from { opacity: 0; } }
@keyframes tmBox { from { opacity: 0; transform: translateY(16px) scale(.97); } }
body.no-scroll { overflow: hidden; }

/* Pilules blanches réutilisables */
.pill-w { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 24px; border: 0; border-radius: 999px; background: #fff; color: #050505; font: 600 15px var(--font-body); cursor: pointer; transition: transform .2s cubic-bezier(.22,1,.36,1), background .2s; }
.pill-w:hover { background: #e9e9ec; transform: translateY(-1px); }
.pill-w--sm { height: 36px; padding: 0 16px; font-size: 13.5px; }

/* État vide élégant */
.empty-state { display: grid; justify-items: center; gap: 12px; padding: var(--space-10) var(--space-6); text-align: center; }
.empty-state__ico { font-size: 34px; }
.empty-state p { margin: 0; max-width: 46ch; color: var(--fg-2); }

/* Classement */
.lb { padding: 8px; }
.lb__head { display: grid; grid-template-columns: 70px 1fr 1fr 90px; gap: 12px; padding: 10px 16px; font: 600 12px var(--font-body); color: var(--fg-3); }
.lb__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.lb__row { display: grid; grid-template-columns: 70px 1fr 1fr 90px; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 14px; background: rgb(255 255 255 / .03); transition: background .2s; }
.lb__row:hover { background: rgb(255 255 255 / .07); }
.lb__row--top { background: linear-gradient(90deg, rgb(255 200 80 / .1), rgb(255 255 255 / .03)); }
.lb__row--2 { background: linear-gradient(90deg, rgb(200 210 230 / .09), rgb(255 255 255 / .03)); }
.lb__row--3 { background: linear-gradient(90deg, rgb(205 127 50 / .1), rgb(255 255 255 / .03)); }
.lb__rank { font: 800 18px var(--font-display); color: var(--fg-2); }
.lb__row--top .lb__rank { font-size: 24px; }
.lb__who b { display: block; font: 700 15.5px var(--font-display); }
.lb__who small, .lb__when small { display: block; font-size: 12.5px; color: var(--fg-3); margin-top: 2px; }
.lb__when { font-size: 14px; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.lb__proof { justify-self: end; font: 600 13px var(--font-body); color: var(--accent); }
.lb--mini .lb__row { grid-template-columns: 52px 1fr auto; }
.lb--mini .lb__proof { display: none; }

/* Codes de triche : boîte à onglets */
.cheatbox { padding: 0; overflow: hidden; }
.cheatbox__bar { display: flex; align-items: center; justify-content: space-between; padding: 12px; border-bottom: 1px solid rgb(255 255 255 / .08); }
.cheatbox__tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); }
.cheatbox__tabs button { height: 32px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: var(--fg-3); font: 600 13px var(--font-body); cursor: pointer; transition: background .25s, color .25s; }
.cheatbox__tabs button.is-on { background: #fff; color: #050505; }
.cheatbox__count { min-width: 30px; height: 26px; padding: 0 10px; border-radius: 999px; display: inline-grid; place-items: center; font: 700 12px var(--font-body); color: var(--fg-2); background: rgb(255 255 255 / .07); }
.cheatbox__list { list-style: none; margin: 0; padding: 6px; display: grid; gap: 2px; }
.crow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 12px; border-radius: 12px; }
.crow:hover { background: rgb(255 255 255 / .05); }
.crow__txt b { display: block; font: 700 15px var(--font-display); }
.crow__txt small { display: block; margin-top: 2px; font-size: 13px; color: var(--fg-3); }
.crow__code { display: none; align-items: center; gap: 6px; }
.cheatbox[data-show="ps"] .crow__code[data-for="ps"], .cheatbox[data-show="xbox"] .crow__code[data-for="xbox"], .cheatbox[data-show="phone"] .crow__code[data-for="phone"] { display: inline-flex; }
.crow__code code { padding: 7px 12px; border-radius: 10px; background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); font: 700 13.5px ui-monospace, SFMono-Regular, Menlo, monospace; white-space: nowrap; }
.crow__copy { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 999px; background: #fff; color: #050505; cursor: pointer; transition: transform .2s; }
.crow__copy:hover { transform: scale(1.08); }
.crow__na { color: var(--fg-3); }
.cheatbox__empty { display: grid; justify-items: center; gap: 10px; padding: var(--space-8) var(--space-6); text-align: center; }
.cheatbox__empty span { font-size: 30px; }
.cheatbox__empty p { margin: 0; color: var(--fg-2); max-width: 44ch; }
.cheats-in .cheatbox { margin-bottom: 0; }

/* Secrets : cartes avec vignette, en bande défilante (accueil) ou en grille (page) */
.srail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 340px); gap: var(--space-4); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.srail > * { scroll-snap-align: start; }
.sgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--space-4); }
.scard { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: linear-gradient(180deg, rgb(26 24 34 / .82), rgb(16 15 22 / .76)); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12), inset 0 1px 0 rgb(255 255 255 / .2), 0 20px 40px -26px rgb(0 0 0 / .8); transition: transform .3s cubic-bezier(.22,1,.36,1); }
.scard:hover { transform: translateY(-3px); }
.scard:target { box-shadow: inset 0 0 0 2px var(--accent); }
.scard__media { position: relative; aspect-ratio: 16 / 9; background: radial-gradient(120% 120% at 0 0, rgb(255 62 141 / .35), rgb(139 92 246 / .2) 50%, rgb(10 10 16) 100%); display: grid; place-items: center; overflow: hidden; }
.scard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.scard:hover .scard__media img { transform: scale(1.05); }
.scard__play { position: absolute; width: 46px; height: 46px; border-radius: 999px; display: grid; place-items: center; background: rgb(255 255 255 / .9); color: #050505; font-size: 15px; }
.scard__ph { font-size: 36px; color: rgb(255 255 255 / .6); }
.scard__body { padding: var(--space-5); display: grid; gap: 8px; flex: 1; }
.scard h3 { font: 700 16.5px/1.25 var(--font-display); }
.scard p { margin: 0; color: var(--fg-2); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sgrid .scard p { -webkit-line-clamp: 8; }
.scard__meta { margin-top: auto; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: var(--fg-3); }
.scard__meta b { color: var(--fg-2); }
.scard__acts { display: inline-flex; gap: 12px; }
.scard__acts a { color: var(--accent); }

/* Finitions générales : rayons, cartes, tuiles, pied de page */
:root[data-theme] { --r-panel: 20px; --r-control: 12px; }
.card { border-radius: 20px; }
.card__img { transition: transform .5s cubic-bezier(.22,1,.36,1); }
.card:hover .card__img { transform: scale(1.04); }
.tile { border-radius: 20px; transition: transform .35s cubic-bezier(.22,1,.36,1); }
.tile:hover { transform: translateY(-4px); }
.btn { border-radius: 999px; }
.block__head h2 { display: inline-flex; align-items: center; gap: 10px; }
.foot { margin: var(--space-16) 12px 12px; border-radius: 26px; border: 0; background: linear-gradient(180deg, rgb(24 22 32 / .7), rgb(12 11 18 / .7)) !important; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.foot__copy { border-top: 1px solid rgb(255 255 255 / .08); }
.two { align-items: start; }

/* Apparition au défilement */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); transition-delay: var(--rv-d, 0ms); }
.rv.rv-in { opacity: 1; transform: none; }

/* Barre de navigation avec 7 liens : un peu plus serrée sur écrans moyens */
@media (max-width: 1240px) { body:not(.admin) .hd__nav a { padding: 8px 10px; font-size: 13.5px; } body:not(.admin) .hd__bar { gap: var(--space-4); } }

@media (max-width: 760px) {
  .lb__head { display: none; }
  .lb__row { grid-template-columns: 46px 1fr auto; }
  .lb__when { grid-column: 2; grid-row: 2; font-size: 12.5px; }
  .lb__proof { grid-row: 1 / 3; grid-column: 3; }
  .crow { grid-template-columns: 1fr; }
  .srail { grid-auto-columns: 82%; }
  .foot { margin: var(--space-12) 8px 8px; }
}

/* =====================================================================
   Logo du site
   ===================================================================== */
.brand__logo { display: block; height: 48px; width: auto; filter: drop-shadow(0 4px 12px rgb(255 62 141 / .35)); transition: transform .45s cubic-bezier(.22,1,.36,1), filter .3s; }
.brand:hover .brand__logo { transform: rotate(-4deg) scale(1.06); filter: drop-shadow(0 6px 18px rgb(255 62 141 / .6)); }
body:not(.admin) .hd.is-scrolled .brand__logo { height: 42px; }
body:not(.admin) .hd__bar { padding-left: 14px; }
.foot__logo { height: 96px; width: auto; filter: drop-shadow(0 8px 24px rgb(255 62 141 / .3)); }
.admin .brand img { height: 40px; width: auto; }
.cine__logo { display: block; height: clamp(84px, 11vw, 132px); width: auto; margin: 0 0 18px -6px; filter: drop-shadow(0 12px 34px rgb(255 62 141 / .45)); }
@media (prefers-reduced-motion: no-preference) { .cine__logo { animation: cineRise .9s cubic-bezier(.22,1,.36,1) both; } }
@media (max-width: 900px) { .brand__logo { height: 42px; } }
@media (max-width: 600px) { .cine__logo { height: 84px; margin-bottom: 12px; } }

/* =====================================================================
   Barre de navigation v3 : verre plus net, icônes, recherche, progression
   ===================================================================== */
body:not(.admin) .hd { overflow: visible; background: linear-gradient(180deg, rgb(255 255 255 / .1), rgb(255 255 255 / .04)), rgb(14 13 22 / .62);
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14), inset 0 1px 0 rgb(255 255 255 / .28), 0 20px 46px -22px rgb(0 0 0 / .9); }
body:not(.admin) .hd::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px;
  background: linear-gradient(100deg, rgb(255 62 141 / .55), rgb(255 255 255 / .06) 30%, rgb(255 255 255 / .06) 70%, rgb(255 160 70 / .45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.hd__nav a { display: inline-flex; align-items: center; gap: 7px; }
.hd__ico { flex: none; opacity: .7; transition: opacity .25s, transform .35s cubic-bezier(.22,1,.36,1), color .25s; }
.hd__nav a:hover .hd__ico, .hd__nav a.is-on .hd__ico { opacity: 1; color: #ff5fa2; transform: translateY(-1px); }
.hd__nav a.is-on::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #ff5fa2; box-shadow: 0 0 8px #ff3e8d; }
.hd__search { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 8px 0 13px; border-radius: 999px; color: rgb(255 255 255 / .62); font-size: 13.5px; font-weight: 600;
  background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); transition: background .2s, color .2s, box-shadow .2s; }
.hd__search:hover { background: rgb(255 255 255 / .11); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2); }
.hd__search kbd { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 7px; background: rgb(255 255 255 / .1); font: 700 11.5px ui-monospace, Menlo, monospace; color: rgb(255 255 255 / .7); }
.hd__progress { position: absolute; left: 22px; right: 22px; bottom: 0; height: 2px; border-radius: 2px; pointer-events: none; transform-origin: left center; transform: scaleX(var(--hd-p, 0));
  background: linear-gradient(90deg, #ff3e8d, #ff9a3d); box-shadow: 0 0 10px rgb(255 62 141 / .7); opacity: 0; transition: opacity .3s; }
.hd.is-scrolled .hd__progress { opacity: 1; }
.hd__mlangs { display: none; }
@media (max-width: 1240px) { .hd__search span, .hd__search kbd { display: none; } .hd__search { width: 38px; padding: 0; justify-content: center; } }
@media (max-width: 1100px) and (min-width: 901px) { .hd__ico { display: none; } }
@media (max-width: 900px) {
  .hd__nav a { gap: 12px; }
  .hd__ico { opacity: 1; width: 18px; height: 18px; color: #ff5fa2; }
  .hd__nav a.is-on::after { left: auto; right: 16px; top: 50%; bottom: auto; margin: -3px 0 0; width: 6px; height: 6px; }
  .hd__mlangs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; padding: 12px 6px 4px; border-top: 1px solid rgb(255 255 255 / .1); }
  body:not(.admin) .hd__nav .hd__mlangs a { padding: 7px 11px !important; border-radius: 999px; font-size: 12.5px !important; font-weight: 800; background: rgb(255 255 255 / .06); opacity: 1 !important; transform: none !important; }
  body:not(.admin) .hd__nav .hd__mlangs a.is-on { background: #fff; color: #111; }
  .hd__mlangs a::after { display: none; }
  .hd__tools .lang { display: none; }
  .hd__progress { left: 18px; right: 18px; }
}

/* =====================================================================
   Verre liquide : navbar, menus déroulants, hero centré en haut
   ===================================================================== */
.liquid-glass { background: rgba(255, 255, 255, .01); background-blend-mode: luminosity; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .1); position: relative; overflow: hidden; }
.liquid-glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.4px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.45) 0%, rgba(255,255,255,.15) 20%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%, rgba(255,255,255,.15) 80%, rgba(255,255,255,.45) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#fff 0 0) content-box exclude, linear-gradient(#fff 0 0); }
@keyframes dropdown-in { from { opacity: 0; transform: translateY(-4px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* Capsule : verre liquide transparent sur le hero, plus sombre une fois qu'on défile */
body:not(.admin) .hd { background: rgba(255, 255, 255, .03); -webkit-backdrop-filter: blur(10px) saturate(140%); backdrop-filter: blur(10px) saturate(140%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .12), 0 18px 40px -26px rgb(0 0 0 / .8); }
body:not(.admin) .hd::before { padding: 1.4px;
  background: linear-gradient(180deg, rgba(255,255,255,.45) 0%, rgba(255,255,255,.15) 20%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%, rgba(255,255,255,.15) 80%, rgba(255,255,255,.45) 100%); }
body:not(.admin) .hd.is-scrolled { background: rgb(16 14 22 / .62); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .14), 0 22px 50px -20px rgb(0 0 0 / .9); }
body:not(.admin) .hd__nav a { color: rgb(255 255 255 / .9); font-weight: 500; }
body:not(.admin) .hd__nav a:hover, body:not(.admin) .hd__nav a.is-on { color: #fff; }
body:not(.admin) .hd__glow { background: rgb(255 255 255 / .08); box-shadow: inset 0 1px 1px rgb(255 255 255 / .18); }
body:not(.admin) .hd__pill { background: rgba(255, 255, 255, .06); color: #fff; font-weight: 500; box-shadow: inset 0 1px 1px rgba(255, 255, 255, .12), inset 0 0 0 1px rgba(255, 255, 255, .22); }
body:not(.admin) .hd__pill:hover { background: rgba(255, 255, 255, .14); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .2), inset 0 0 0 1px rgba(255, 255, 255, .35); }
body:not(.admin) .hd__pill::after { display: none; }

/* Menus déroulants au survol (Tutos, Wiki) */
.hd__it { position: relative; display: flex; }
.hd__chev { flex: none; margin-left: -2px; opacity: .8; transition: transform .3s cubic-bezier(.22,1,.36,1); }
.hd__it.has-dd:hover .hd__chev, .hd__it.has-dd:focus-within .hd__chev { transform: rotate(180deg); }
.hd__it.has-dd::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.hd__dd { position: absolute !important; top: calc(100% + 12px); left: 0; z-index: 70; display: none; min-width: 190px; padding: 10px 6px; border-radius: 14px;
  background: rgb(18 16 26 / .58); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: inset 0 1px 1px rgba(255,255,255,.1), 0 24px 50px -18px rgb(0 0 0 / .9); }
.hd__it.has-dd:hover .hd__dd, .hd__it.has-dd:focus-within .hd__dd { display: grid; animation: dropdown-in .2s ease-out; }
body:not(.admin) .hd__nav .hd__dd a { display: block; padding: 8px 12px; border-radius: 9px; font-size: 13.5px; font-weight: 500; color: rgb(255 255 255 / .8); white-space: nowrap; animation: none; opacity: 1; transform: none; }
body:not(.admin) .hd__nav .hd__dd a:hover { background: rgb(255 255 255 / .06); color: #fff; }
.hd__dd a::after { display: none !important; }

/* Hero : vidéo plein écran, texte centré en haut */
body:not(.admin) .cine.cine { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; height: 100svh; min-height: 620px; max-height: 1100px; padding: 0; text-align: center; }
.cine.cine::after { background: linear-gradient(180deg, rgb(0 0 0 / .32) 0%, rgb(0 0 0 / .1) 22%, rgb(0 0 0 / .1) 62%, rgb(5 5 8 / .55) 86%, var(--page, #0b0b10) 100%); }
.cine .cine__plate i { filter: none; }
.lgh { position: relative; z-index: 1; width: 100%; display: flex; justify-content: center; padding: calc(var(--hd-space) + 64px) 20px 0; }
.lgh__in { max-width: 48rem; display: grid; justify-items: center; }
.lgh__kicker { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 26px; padding: 7px 15px; border-radius: 999px; font: 500 13px var(--font-body); color: rgb(255 255 255 / .88); font-variant-numeric: tabular-nums; }
.lgh__kicker .is-out { color: #7ef0b5; }
.lgh__title { margin: 0; font: 500 clamp(30px, 6vw, 72px)/1.05 var(--font-body) !important; letter-spacing: -.02em !important; color: #fff; text-transform: none !important; text-shadow: 0 2px 30px rgb(0 0 0 / .35); }
.lgh__title span { color: rgb(255 255 255 / .6); }
.lgh__sub { max-width: 28rem; margin: 28px auto 0; font: 400 clamp(14px, 1.3vw, 18px)/1.65 var(--font-body); color: rgb(255 255 255 / .8); text-shadow: 0 1px 14px rgb(0 0 0 / .45); }
.lgh__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; }
.lgh__btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border: 0; border-radius: 999px; font: 600 14px var(--font-body); color: #fff; cursor: pointer; transition: background .2s, transform .2s cubic-bezier(.22,1,.36,1); }
.lgh__btn:hover { background: rgb(255 255 255 / .1); transform: translateY(-1px); }
.lgh__btn--solid { background: #fff; color: #111827; }
.lgh__btn--solid:hover { background: rgb(255 255 255 / .9); }
.cine__strip[hidden] { display: none !important; }
@media (prefers-reduced-motion: no-preference) {
  .lgh__kicker, .lgh__title, .lgh__sub, .lgh__actions { animation: cineRise .9s cubic-bezier(.22,1,.36,1) both; }
  .lgh__title { animation-delay: .06s; } .lgh__sub { animation-delay: .14s; } .lgh__actions { animation-delay: .22s; }
}
@media (max-width: 900px) {
  .hd__it { display: contents; }
  .hd__chev, .hd__dd, .hd__it.has-dd::after { display: none !important; }
  body:not(.admin) .cine.cine { height: 100svh; min-height: 560px; padding: 0; align-content: initial; }
  .lgh { padding-top: calc(var(--hd-space) + 48px); }
  .lgh__sub { margin-top: 22px; }
  .lgh__actions { margin-top: 26px; gap: 12px; }
  .lgh__btn { padding: 10px 20px; }
}
@media (max-width: 600px) { .lgh { padding: calc(var(--hd-space) + 40px) 18px 0; } .lgh__title { font-size: 34px !important; } }

/* =====================================================================
   Thème « verre liquide » sur tout le site (même style que l'accueil)
   Le préfixe body:not(#lg) donne la priorité à cette couche sur les anciennes.
   ===================================================================== */
:root[data-theme] {
  --lg-bg: rgb(255 255 255 / .035);
  --lg-bg-hover: rgb(255 255 255 / .065);
  --lg-ring: inset 0 1px 1px rgb(255 255 255 / .12), inset 0 0 0 1px rgb(255 255 255 / .075);
  --lg-ring-hover: inset 0 1px 1px rgb(255 255 255 / .2), inset 0 0 0 1px rgb(255 255 255 / .16);
  --lg-blur: blur(14px) saturate(140%);
  --lg-dim: rgb(255 255 255 / .6);
  --lg-soft: rgb(255 255 255 / .8);
}

/* Fond : coucher de soleil de Vice City flouté et assombri, sur toutes les pages */
body:not(#lg) { background: #07060a; }
body:not(#lg):not(.admin)::before { inset: 0; background: linear-gradient(180deg, rgb(7 6 10 / .55), rgb(7 6 10 / .82) 45%, rgb(7 6 10 / .92)), url("/static/bg-blur.webp") center top / cover no-repeat; opacity: 1; filter: none; animation: none; transform: none; }
body:not(#lg):not(.admin)::after { display: none; }

/* Titres comme le hero : graisse 500, serrés, sans majuscules */
body:not(#lg) :is(h1, h2, h3, .display, .tile__title, .lb__who b, .crow__txt b, .wiki-item b, .datatable td b, .infos dd, .fold summary span, .map-teaser b, .mpop__in b) {
  font-family: var(--font-body); font-style: normal; font-weight: 500; letter-spacing: -.02em; text-transform: none; }
body:not(#lg) .display { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.05; text-shadow: 0 2px 30px rgb(0 0 0 / .35); }
body:not(#lg) .block__head h2 { font-size: clamp(24px, 2.6vw, 34px); }
body:not(#lg) :is(.card h3, .scard h3) { font-size: 17px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
body:not(#lg) :is(.lead, .block__head p) { color: var(--lg-soft); }
body:not(#lg) :is(.kicker, .kicker a, .note, .meta, .card__meta) { color: var(--lg-dim); }
body:not(#lg) :is(.eyebrow, .infos dt, .infobox dt, .table th, .lb__head) { color: var(--lg-dim); }

/* Panneaux et cartes en verre liquide */
body:not(#lg) :is(.panel, .card, .cat, .wiki-item, .rowcard, .infos > div, .faq details, .toc, .prose, .infobox, .fold, .lb, .cheatbox, .scard, .sendbox, .empty-state, .map-teaser, .table-wrap, .pagehead:not(.pagehead--img), .st-card, .st-kpi, .st-strip, .login, .mapapp__side, .search-big input) {
  background: var(--lg-bg); -webkit-backdrop-filter: var(--lg-blur); backdrop-filter: var(--lg-blur); box-shadow: var(--lg-ring); border: 0; }
body:not(#lg) :is(.card, .cat, .wiki-item, .rowcard, .scard, .map-teaser):hover { background: var(--lg-bg-hover); box-shadow: var(--lg-ring-hover), 0 24px 50px -30px rgb(0 0 0 / .9); }
body:not(#lg) .card__body { background: transparent; }
body:not(#lg) .faq details[open] { box-shadow: var(--lg-ring-hover); }
body:not(#lg) .infobox__head { background: rgb(255 255 255 / .06); color: #fff; }
body:not(#lg) :is(.infobox__head .ico, .infobox__head b) { color: #fff; }
body:not(#lg) .infobox dl div:nth-child(odd) { background: rgb(255 255 255 / .03); }

/* Icônes et étiquettes en blanc, sans rose */
body:not(#lg) :is(.cat .ico, .map-teaser .ico, .wiki-item__ico, .hd__ico) { color: var(--lg-soft); filter: none; }
body:not(#lg) .prose li::marker { color: var(--lg-dim); }
body:not(#lg) .wiki-item__ico { background: rgb(255 255 255 / .06); }
body:not(#lg) :is(.chip, .chip--accent, .chip--hot, .mpop__cat) { background: rgb(255 255 255 / .08); color: rgb(255 255 255 / .85); box-shadow: inset 0 1px 1px rgb(255 255 255 / .12); text-shadow: none; }
body:not(#lg) :is(.bigcard__cat, .rowcard small) { background: none; box-shadow: none; padding: 0; color: var(--lg-dim); }
body:not(#lg) .tags span { background: rgb(255 255 255 / .06); box-shadow: inset 0 1px 1px rgb(255 255 255 / .12); color: var(--lg-soft); }
body:not(#lg) .hd__nav a.is-on::after { background: #fff; box-shadow: 0 0 8px rgb(255 255 255 / .6); }
body:not(#lg) :is(.hd__nav a:hover .hd__ico, .hd__nav a.is-on .hd__ico) { color: #fff; }
body:not(#lg) .hd__progress { background: #fff; box-shadow: 0 0 10px rgb(255 255 255 / .5); }

/* Boutons : blanc plein pour l'action principale, verre pour le reste */
body:not(#lg) :is(.btn--primary, .pill.is-on, .pill-w, .crow__copy, .mpop__open, .mapapp__sidetoggle, .tabs button.is-on, .cheatbox__tabs button.is-on, .mapapp__tabs button.is-on, .share__ic:hover) {
  background: #fff; color: #111827; box-shadow: none; text-shadow: none; filter: none; }
body:not(#lg) :is(.btn--primary, .pill-w):hover { background: rgb(255 255 255 / .9); }
body:not(#lg) :is(.btn, .pill, .share__ic):not(.btn--primary):not(.is-on) { background: rgb(255 255 255 / .04); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: inset 0 1px 1px rgb(255 255 255 / .12), inset 0 0 0 1px rgb(255 255 255 / .12); color: #fff; }
body:not(#lg) :is(.btn, .pill, .share__ic):not(.btn--primary):not(.is-on):hover { background: rgb(255 255 255 / .1); }
body:not(#lg) :is(.btn, .pill, .pill-w, .share__ic) { font-weight: 600; }
body:not(#lg) .btn.btn--danger { color: #ff8a9b; }
body:not(#lg) .link { color: #fff; text-decoration: underline; text-decoration-color: rgb(255 255 255 / .3); text-underline-offset: 4px; }
body:not(#lg) .link:hover { text-decoration-color: #fff; text-shadow: none; }

/* Texte des articles */
body:not(#lg) .prose { color: var(--lg-soft); }
body:not(#lg) .prose h2::before { background: rgb(255 255 255 / .5); box-shadow: none; width: 28px; height: 2px; }
body:not(#lg) :is(.prose a, .prose a.wl) { color: #fff; text-decoration: underline; text-decoration-color: rgb(255 255 255 / .35); border: 0; text-underline-offset: 3px; }
body:not(#lg) .prose a:hover { text-decoration-color: #fff; text-shadow: none; }
body:not(#lg) .prose blockquote { background: rgb(255 255 255 / .04); border-left: 2px solid rgb(255 255 255 / .5); }
body:not(#lg) .prose th { background: rgb(255 255 255 / .05); color: #fff; }
body:not(#lg) .toc a:hover { background: rgb(255 255 255 / .06); border-left-color: #fff; }

/* En-têtes de pages avec photo : même voile que le hero */
body:not(#lg) .pagehead--img::after { background: linear-gradient(180deg, rgb(0 0 0 / .35) 0%, rgb(0 0 0 / .15) 35%, rgb(7 6 10 / .6) 75%, #07060a 100%), linear-gradient(90deg, rgb(0 0 0 / .45), transparent 70%); }

/* Grandes cartes images (accueil) */
body:not(#lg) .bigcard__body { background: rgb(255 255 255 / .04); box-shadow: var(--lg-ring); }
body:not(#lg) :is(.tile, .bigcard):hover { box-shadow: var(--lg-ring-hover), 0 30px 60px -30px rgb(0 0 0 / .9); }
body:not(#lg) .tile__title { text-shadow: 0 2px 20px rgb(0 0 0 / .5); }

/* Classement, codes, secrets */
body:not(#lg) .lb__row--1 { background: linear-gradient(90deg, rgb(255 255 255 / .1), rgb(255 255 255 / .02)); box-shadow: inset 0 1px 1px rgb(255 255 255 / .16); }
body:not(#lg) :is(.lb__proof, .scard__acts a, .mapapp__toggleall) { color: #fff; }
body:not(#lg) .crow__code code { background: rgb(0 0 0 / .25); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); color: #fff; }
body:not(#lg) :is(.cheatbox__count, .scard__play) { background: rgb(255 255 255 / .12); color: #fff; box-shadow: inset 0 1px 1px rgb(255 255 255 / .2); }
body:not(#lg) :is(.scard__media, .card__img--empty) { background: rgb(255 255 255 / .04); }
body:not(#lg) .rel__row.is-out .rel__left { text-shadow: none; }

/* Formulaires */
body:not(#lg) :is(.form input, .form select, .form textarea, .datatable__filter, .mapapp__search input) {
  background: rgb(255 255 255 / .04); box-shadow: inset 0 1px 1px rgb(255 255 255 / .1), inset 0 0 0 1px rgb(255 255 255 / .1); border: 0; color: #fff; }
body:not(#lg) :is(.form input, .form select, .form textarea, .datatable__filter, .search-big input, .mapapp__search input):focus {
  outline: none; box-shadow: inset 0 1px 1px rgb(255 255 255 / .2), inset 0 0 0 1px rgb(255 255 255 / .4); }
body:not(#lg) .check input { accent-color: #fff; }

/* Pied de page */
body:not(#lg) .foot { background: rgb(255 255 255 / .03); -webkit-backdrop-filter: var(--lg-blur); backdrop-filter: var(--lg-blur); box-shadow: inset 0 1px 1px rgb(255 255 255 / .1), inset 0 0 0 1px rgb(255 255 255 / .06); border: 0; }
body:not(#lg) :is(.foot__links a:hover, .foot__langs a:hover, .foot__langs a.is-on) { color: #fff; text-shadow: none; }

/* Carte interactive */
body:not(#lg) .mapapp__stage { box-shadow: var(--lg-ring); }
body:not(#lg) :is(.mapapp__tools, .mapapp__badge) { background: rgb(16 14 22 / .55); -webkit-backdrop-filter: var(--lg-blur); backdrop-filter: var(--lg-blur); box-shadow: var(--lg-ring); }
body:not(#lg) :is(.mapapp__list button:hover, .mapapp__list li.is-on button) { background: rgb(255 255 255 / .07); }

/* Sélection et focus */
::selection { background: rgb(255 255 255 / .85); color: #111; }
body:not(#lg) :focus-visible { outline-color: #fff; }

/* Drapeaux (images SVG : les drapeaux emoji ne s'affichent pas sous Windows) */
.flag { display: inline-block; width: 1.35em; height: 1em; flex: none; border-radius: 3px; object-fit: cover; vertical-align: -.14em; box-shadow: 0 0 0 1px rgb(255 255 255 / .14); }
.lang summary .flag { width: 22px; height: 16px; margin-right: 7px; }
.lang__menu a .flag { width: 22px; height: 16px; }
.lang__menu a span { display: none; }
.hd__mlangs a .flag, .foot__langs a .flag { width: 18px; height: 13px; margin-right: 6px; }
.hd__mlangs a, .foot__langs a { display: inline-flex; align-items: center; }
.world__c .flag, .rel__c .flag { margin-right: 8px; }

/* =====================================================================
   Recherche directe dans la navbar, avec suggestions
   ===================================================================== */
.hd__tools { position: relative; }
body:not(#lg) .hd__search { position: relative; display: flex; align-items: center; gap: 6px; width: 210px; height: 38px; padding: 0 8px 0 0; border-radius: 999px; cursor: text;
  background: rgb(255 255 255 / .05); box-shadow: inset 0 1px 1px rgb(255 255 255 / .12), inset 0 0 0 1px rgb(255 255 255 / .1); transition: width .35s cubic-bezier(.22,1,.36,1), background .2s, box-shadow .2s; }
body:not(#lg) .hd__search:hover { background: rgb(255 255 255 / .08); }
body:not(#lg) .hd__search.is-open { width: 300px; background: rgb(16 14 22 / .7); box-shadow: inset 0 1px 1px rgb(255 255 255 / .2), inset 0 0 0 1px rgb(255 255 255 / .35); }
.hd__sicon { display: grid; place-items: center; width: 36px; height: 38px; flex: none; color: rgb(255 255 255 / .7); cursor: pointer; }
.hd__search input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; background: none; outline: none; color: #fff; font: 500 13.5px var(--font-body); }
.hd__search input::placeholder { color: rgb(255 255 255 / .55); }
.hd__search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.hd__search input:focus-visible { outline: none; }
.hd__search kbd { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 7px; background: rgb(255 255 255 / .1); font: 700 11.5px ui-monospace, Menlo, monospace; color: rgb(255 255 255 / .7); }
.hd__search.is-open kbd { display: none; }

.hd__sugg { position: absolute; top: calc(100% + 12px); right: 0; z-index: 80; width: min(400px, calc(100vw - 24px)); max-height: min(70vh, 460px); overflow: auto; padding: 8px; border-radius: 16px;
  background: rgb(16 14 22 / .82); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  box-shadow: inset 0 1px 1px rgb(255 255 255 / .14), inset 0 0 0 1px rgb(255 255 255 / .08), 0 30px 60px -20px rgb(0 0 0 / .9); animation: dropdown-in .18s ease-out; scrollbar-width: thin; }
.hd__sugg[hidden] { display: none; }
.hd__sugg a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 11px; color: #fff; text-decoration: none; }
.hd__sugg a:hover, .hd__sugg a.is-sel { background: rgb(255 255 255 / .08); }
.hd__sugg img, .hd__sph { width: 56px; height: 36px; flex: none; border-radius: 7px; object-fit: cover; background: rgb(255 255 255 / .06); }
.hd__sugg a > span { min-width: 0; display: grid; gap: 2px; }
.hd__sugg b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 13.5px/1.3 var(--font-body); }
.hd__sugg small { font-size: 12px; color: rgb(255 255 255 / .55); }
.hd__sugg .hd__sall { justify-content: center; margin-top: 4px; padding: 10px; border-top: 1px solid rgb(255 255 255 / .08); border-radius: 0 0 10px 10px; font: 600 13px var(--font-body); color: rgb(255 255 255 / .85); }
.hd__snone { margin: 0; padding: 14px 10px; text-align: center; font-size: 13.5px; color: rgb(255 255 255 / .6); }

/* Écrans moyens : simple loupe, qui s'ouvre en champ par-dessus les boutons */
@media (max-width: 1240px) {
  body:not(#lg) .hd__search { width: 38px; padding: 0; }
  body:not(#lg) .hd__search .hd__sicon { width: 38px; }
  body:not(#lg) .hd__search input, body:not(#lg) .hd__search kbd { display: none; }
  body:not(#lg) .hd__search.is-open { position: absolute; right: 0; top: 50%; z-index: 6; width: min(320px, calc(100vw - 40px)); margin-top: -19px; padding-right: 10px; }
  body:not(#lg) .hd__search.is-open input { display: block; }
}
/* Mobile : le champ prend toute la largeur de la capsule */
@media (max-width: 900px) {
  /* la capsule (.hd) sert de repère : le champ la recouvre entièrement */
  body:not(#lg) .hd__search.is-open { position: fixed; left: 8px; right: 8px; top: 8px; width: auto; margin: 0; z-index: 90; height: calc(100% - 16px); }
  .hd__sugg { left: -8px; right: -8px; width: auto; }
}

/* La navbar ne se tasse jamais : champ de largeur fixe, logo et bouton non compressibles */
.brand, .brand__logo, .hd__pill, .lang, .hd__search { flex-shrink: 0; }
body:not(#lg) .hd__pill { white-space: nowrap; }
@media (min-width: 1241px) { body:not(#lg) .hd__search, body:not(#lg) .hd__search.is-open { width: 220px; } }
.hd__sugg a.is-sel { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .25); }
.hd__sugg { background: rgb(14 12 20 / .94); }
@media (max-width: 900px) { body:not(#lg) .hd__search.is-open { background: rgb(14 12 20 / .98); } }

/* Page Heure de sortie */
.relpage { padding: var(--space-4); }
.relpage .rel { padding: 0; }
.relpage .note { padding: 0 var(--space-3); }
.relpage__count { display: inline-flex; align-items: center; gap: 9px; margin: var(--space-5) 0 0; padding: 8px 16px; border-radius: 999px; font: 600 14px var(--font-body); color: #fff; font-variant-numeric: tabular-nums; }
.relpage__count.is-out { color: #7ef0b5; }
a.lgh__kicker { text-decoration: none; transition: background .2s; }
a.lgh__kicker:hover { background: rgb(255 255 255 / .08); }
body:not(#lg) .relpage .rel__row:nth-child(4n+1), body:not(#lg) .relpage .rel__row:nth-child(4n+2) { background: rgb(255 255 255 / .03); }

/* =====================================================================
   Hub GTA 6, comparateur, checklist 100 %, trophées
   ===================================================================== */
.hubtop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--space-4); align-items: start; }
.hubinfo, .hubabout { padding: var(--space-6); }
.hubinfo h2, .hubabout h2 { margin-bottom: var(--space-4); font-size: 22px; }
.hubinfo dl { display: grid; gap: 2px; margin: 0; }
.hubinfo dl div { display: grid; grid-template-columns: 42% 1fr; gap: 12px; padding: 10px 12px; border-radius: 10px; }
.hubinfo dl div:nth-child(odd) { background: rgb(255 255 255 / .035); }
.hubinfo dt { font-size: 13px; color: rgb(255 255 255 / .6); }
.hubinfo dd { margin: 0; font-size: 14px; font-weight: 600; }
.hubinfo dd a { text-decoration: underline; text-decoration-color: rgb(255 255 255 / .3); text-underline-offset: 3px; }
.hubinfo dd a:hover { text-decoration-color: #fff; }
.hubabout p { margin: 0 0 var(--space-4); font-size: 16px; line-height: 1.75; color: rgb(255 255 255 / .8); }
.hubnews { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.hubnews .rowcard > span:first-child:empty { width: 124px; height: 74px; border-radius: 10px; background: rgb(255 255 255 / .05); }
a.relpage__count { text-decoration: none; }
a.relpage__count:hover { background: rgb(255 255 255 / .08); }

/* Comparateur */
.cmpform { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: var(--space-3); align-items: center; padding: var(--space-4); }
.cmpform select { width: 100%; height: 46px; padding: 0 14px; border: 0; border-radius: 12px; background: rgb(255 255 255 / .05); box-shadow: inset 0 1px 1px rgb(255 255 255 / .1), inset 0 0 0 1px rgb(255 255 255 / .12); color: #fff; font: 500 14px var(--font-body); }
.cmpform select:focus { outline: none; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .45); }
.cmpform select option { background: #15121d; }
.cmptable-wrap { margin-top: var(--space-4); padding: var(--space-3); overflow-x: auto; }
.cmptable { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 14.5px; }
.cmptable th, .cmptable td { padding: 13px 14px; text-align: left; vertical-align: top; }
.cmptable thead th { padding-bottom: var(--space-4); }
.cmptable thead th:first-child, .cmptable tbody th { width: 160px; }
.cmptable tbody tr:nth-child(odd) > * { background: rgb(255 255 255 / .03); }
.cmptable tbody tr > :first-child { border-radius: 10px 0 0 10px; }
.cmptable tbody tr > :last-child { border-radius: 0 10px 10px 0; }
.cmptable tbody th { font-size: 13px; font-weight: 500; color: rgb(255 255 255 / .6); }
.cmptable td { font-weight: 600; }
.cmptable td.is-empty { color: rgb(255 255 255 / .35); font-weight: 400; }
.cmpcard { display: grid; gap: 10px; color: #fff; text-decoration: none; }
.cmpcard img, .cmpcard__ph { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; border-radius: 12px; background: rgb(255 255 255 / .05); display: grid; place-items: center; color: rgb(255 255 255 / .6); }
.cmpcard b { font: 600 16px/1.3 var(--font-body); letter-spacing: -.01em; }
.cmpcard:hover b { text-decoration: underline; text-underline-offset: 3px; }

/* Checklist et trophées */
.chkbar { position: sticky; top: 88px; z-index: 5; display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; align-items: center; padding: var(--space-4) var(--space-5); margin-bottom: var(--space-4); }
.chkbar__top { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.chkbar__top span { font-variant-numeric: tabular-nums; color: rgb(255 255 255 / .75); }
.chkbar__track { grid-column: 1; height: 8px; border-radius: 99px; background: rgb(255 255 255 / .08); overflow: hidden; }
.chkbar__track span { display: block; width: 0; height: 100%; border-radius: inherit; background: #fff; box-shadow: 0 0 12px rgb(255 255 255 / .5); transition: width .45s cubic-bezier(.22,1,.36,1); }
.chkbar [data-chk-reset] { grid-column: 2; grid-row: 1 / 3; }
.chkbar .tro-filters { grid-column: 1 / -1; margin: 4px 0 0; }
.chkgroup { padding: var(--space-5); margin-bottom: var(--space-4); }
.chkgroup__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: var(--space-3); }
.chkgroup__head h2 { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; }
.chkgroup__count { font-size: 13px; color: rgb(255 255 255 / .6); font-variant-numeric: tabular-nums; }
.chklist { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; margin: 0; padding: 0; list-style: none; }
.chklist li { display: flex; align-items: center; gap: 6px; border-radius: 12px; transition: background .2s; }
.chklist li:hover { background: rgb(255 255 255 / .04); }
.chklist li[hidden] { display: none; }
.chkitem { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 10px; cursor: pointer; }
.chkitem input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chkitem__box { width: 22px; height: 22px; flex: none; border-radius: 7px; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .35); display: grid; place-items: center; transition: background .2s, box-shadow .2s; }
.chkitem__box::after { content: ""; width: 10px; height: 6px; border: solid #111; border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .2s cubic-bezier(.22,1,.36,1); }
.chkitem input:checked + .chkitem__box { background: #fff; box-shadow: 0 0 12px rgb(255 255 255 / .35); }
.chkitem input:checked + .chkitem__box::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.chkitem input:focus-visible + .chkitem__box { outline: 2px solid #fff; outline-offset: 2px; }
.chkitem__txt { min-width: 0; display: grid; gap: 2px; }
.chkitem__txt b { display: flex; align-items: center; gap: 8px; font: 600 14.5px/1.35 var(--font-body); }
.chkitem__txt small { font-size: 12.5px; color: rgb(255 255 255 / .55); }
.chklist li.is-done .chkitem__txt b { color: rgb(255 255 255 / .5); text-decoration: line-through; text-decoration-color: rgb(255 255 255 / .35); }
.chkitem__go { flex: none; display: grid; place-items: center; width: 34px; height: 34px; margin-right: 6px; border-radius: 99px; color: rgb(255 255 255 / .6); text-decoration: none; }
.chkitem__go:hover { background: rgb(255 255 255 / .08); color: #fff; }
.tro-dot { display: inline-block; width: 12px; height: 12px; flex: none; border-radius: 50%; margin-right: 2px; }
.tro-dot--platinum { background: linear-gradient(135deg, #f4f7ff, #9fb2d9); box-shadow: 0 0 8px rgb(200 215 255 / .7); }
.tro-dot--gold { background: linear-gradient(135deg, #ffe58a, #d4a017); }
.tro-dot--silver { background: linear-gradient(135deg, #f1f1f4, #9a9aa6); }
.tro-dot--bronze { background: linear-gradient(135deg, #f0b98a, #a8642f); }

@media (max-width: 900px) {
  .hubtop { grid-template-columns: 1fr; }
  .hubnews, .chklist { grid-template-columns: 1fr; }
  .cmpform { grid-template-columns: 1fr; }
  .cmptable thead th:first-child, .cmptable tbody th { width: 110px; }
  .cmptable { min-width: 560px; }
  .chkbar { top: 80px; }
}

/* Menu Wiki : lien vers le hub en tête, outils séparés en bas */
body:not(#lg) .hd__nav .hd__dd a.dd--hub { color: #fff; font-weight: 700; }
body:not(#lg) .hd__nav .hd__dd a.dd--sep { margin-top: 6px; position: relative; }
.hd__dd a.dd--sep::before { content: ""; position: absolute; left: 8px; right: 8px; top: -4px; height: 1px; background: rgb(255 255 255 / .1); }

/* Accueil : texte lisible même sur les scènes claires du trailer */
.lgh__in { position: relative; }
.lgh__in::before { content: ""; position: absolute; left: 50%; top: 46%; z-index: -1; width: 150%; height: 150%; transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(closest-side, rgb(0 0 0 / .5), rgb(0 0 0 / .32) 55%, transparent); filter: blur(10px); }
.cine.cine::after { background: linear-gradient(180deg, rgb(0 0 0 / .4) 0%, rgb(0 0 0 / .16) 26%, rgb(0 0 0 / .12) 60%, rgb(5 5 8 / .58) 86%, var(--page, #0b0b10) 100%); }
.lgh__title { text-shadow: 0 2px 24px rgb(0 0 0 / .55), 0 1px 3px rgb(0 0 0 / .35); }
.lgh__title span { color: rgb(255 255 255 / .72); }
.lgh__sub { color: rgb(255 255 255 / .9); text-shadow: 0 1px 12px rgb(0 0 0 / .7), 0 1px 2px rgb(0 0 0 / .5); }
.lgh__btn.liquid-glass, .lgh__kicker.liquid-glass { background: rgb(0 0 0 / .32); -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%); }
.lgh__btn.liquid-glass:hover, a.lgh__kicker:hover { background: rgb(0 0 0 / .46); }

/* Accueil réduit à la vidéo : plein écran, sans rien en dessous */
.page:has(> .cine:last-child) { padding-bottom: 0; }
body:not(.admin) .page > .cine.cine:last-child { height: 100svh; min-height: 100svh; max-height: none; margin-bottom: 0; }
.page > .cine.cine:last-child::after { background: linear-gradient(180deg, rgb(0 0 0 / .4) 0%, rgb(0 0 0 / .16) 26%, rgb(0 0 0 / .14) 70%, rgb(0 0 0 / .4) 100%); }
body:has(.page > .cine:last-child) { overflow: hidden; }

/* Accueil : bloc central centré verticalement et horizontalement dans l écran */
body:not(.admin) .page > .cine.cine:last-child { justify-content: center; align-items: center; }
.page > .cine:last-child .lgh { flex: 1; display: flex; align-items: center; justify-content: center; padding: var(--hd-space) 20px 0; }
.page > .cine:last-child .lgh__in { justify-items: center; text-align: center; margin: 0 auto; }
.page > .cine:last-child .lgh__sub { margin-left: auto; margin-right: auto; }
.page > .cine:last-child .lgh__actions { justify-content: center; }
.page > .cine:last-child .lgh { padding: 0 20px; }
@media (max-height: 560px) { .page > .cine:last-child .lgh { padding-top: var(--hd-space); } }

/* =====================================================================
   Classement des streamers
   ===================================================================== */
.lbtab__dot { width: 8px; height: 8px; border-radius: 50%; background: #ff4d6d; box-shadow: 0 0 8px #ff4d6d; }
.stkpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); margin-bottom: var(--space-4); }
.stkpi { display: grid; gap: 4px; padding: var(--space-5); }
.stkpi b { display: inline-flex; align-items: center; gap: 10px; font: 500 32px/1 var(--font-body); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stkpi small { font-size: 13px; color: rgb(255 255 255 / .6); }
.stchart { padding: var(--space-6); margin-bottom: var(--space-4); }
.stchart__head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 20px; margin-bottom: var(--space-4); }
.stchart__head h2 { font-size: 22px; }
.stchart__head .note { margin: 0; }
.stchart__plot { position: relative; padding-left: 48px; }
.stchart__plot svg { display: block; width: 100%; height: 240px; overflow: visible; }
.stchart__grid { stroke: rgb(255 255 255 / .08); stroke-width: 1; vector-effect: non-scaling-stroke; }
.stchart__y { position: absolute; left: 0; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 2px 0 6px; font-size: 11.5px; color: rgb(255 255 255 / .5); font-variant-numeric: tabular-nums; }
.stchart__x { display: flex; justify-content: space-between; padding: 8px 0 0 48px; font-size: 12px; color: rgb(255 255 255 / .5); }
.stchart__legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: var(--space-4) 0 0; padding: 0; list-style: none; font-size: 13.5px; font-weight: 600; }
.stchart__legend li { display: inline-flex; align-items: center; gap: 8px; }
.stchart__legend i { width: 14px; height: 4px; border-radius: 4px; }
.stchart__legend small { color: rgb(255 255 255 / .55); font-weight: 500; }
.stlist { margin: 0; padding: 8px; list-style: none; display: grid; gap: 4px; }
.strow { display: grid; grid-template-columns: 52px minmax(0, 1fr) 130px 90px 140px; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 14px; transition: background .2s; }
.strow:hover { background: rgb(255 255 255 / .04); }
.strow.is-finished { background: linear-gradient(90deg, rgb(255 255 255 / .08), rgb(255 255 255 / .02)); box-shadow: inset 0 1px 1px rgb(255 255 255 / .12); }
.strow__rank { font: 500 18px var(--font-body); color: rgb(255 255 255 / .7); font-variant-numeric: tabular-nums; text-align: center; }
.strow__who { display: flex; align-items: center; gap: 12px; min-width: 0; color: #fff; text-decoration: none; }
.strow__who img, .strow__ph { width: 44px; height: 44px; flex: none; border-radius: 50%; object-fit: cover; background: rgb(255 255 255 / .08); }
.strow.is-live .strow__who img { box-shadow: 0 0 0 2px #ff4d6d, 0 0 14px rgb(255 77 109 / .5); }
.strow__who > span { min-width: 0; display: grid; gap: 3px; }
.strow__who b { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font: 600 15.5px/1.25 var(--font-body); }
.strow__who small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; color: rgb(255 255 255 / .55); }
.strow__who:hover b { text-decoration: underline; text-underline-offset: 3px; }
.stbadge { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 99px; font: 700 11.5px var(--font-body); }
.stbadge--live { background: rgb(255 77 109 / .16); color: #ffb3c1; box-shadow: inset 0 0 0 1px rgb(255 77 109 / .4); }
.stbadge--live .live__dot { background: #ff4d6d; box-shadow: 0 0 8px #ff4d6d; }
.stbadge--done { background: rgb(62 240 161 / .14); color: #9ff0c0; box-shadow: inset 0 0 0 1px rgb(62 240 161 / .35); }
.strow__spark { height: 32px; color: rgb(255 255 255 / .75); }
.strow__spark svg { display: block; width: 100%; height: 32px; }
.strow__hours { display: grid; text-align: right; }
.strow__hours b { font: 600 16px var(--font-body); font-variant-numeric: tabular-nums; }
.strow__hours small { font-size: 11.5px; color: rgb(255 255 255 / .5); }
.strow__go { text-align: right; font-size: 13.5px; }
/* Admin */
.stadm { margin-top: var(--space-3); padding: var(--space-4) var(--space-5); }
.stadm__who { display: flex; align-items: center; gap: 12px; margin-bottom: var(--space-3); }
.stadm__who img { border-radius: 50%; }
.stadm__who span { display: grid; flex: 1; }
.stadm__who small { color: rgb(255 255 255 / .55); font-size: 12.5px; }
@media (max-width: 900px) {
  .stkpis { grid-template-columns: 1fr 1fr; }
  .strow { grid-template-columns: 40px minmax(0, 1fr) 70px; gap: 10px; }
  .strow__spark, .strow__go { display: none; }
  .stchart__plot svg { height: 180px; }
}

/* =====================================================================
   Classement streamers v2 : bandeau live, filtres, lecteur
   ===================================================================== */
.stlive { margin-bottom: var(--space-6); }
.stlive__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: var(--space-3); }
.stlive__head h2 { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; }
.stlive__dot { background: #ff4d6d !important; box-shadow: 0 0 10px #ff4d6d !important; }
.stlive__rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, calc((100% - 3 * var(--space-3)) / 4)); gap: var(--space-3); overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.stcard { scroll-snap-align: start; border-radius: 16px; overflow: hidden; background: var(--lg-bg, rgb(255 255 255 / .035)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 1px 1px rgb(255 255 255 / .12), inset 0 0 0 1px rgb(255 255 255 / .075); transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s; }
.stcard:hover { transform: translateY(-3px); box-shadow: inset 0 1px 1px rgb(255 255 255 / .2), inset 0 0 0 1px rgb(255 255 255 / .16), 0 24px 50px -28px #000; }
.stcard__media { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: rgb(255 255 255 / .05); cursor: pointer; overflow: hidden; }
.stcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.22,1,.36,1), filter .3s; }
.stcard:hover .stcard__media img { transform: scale(1.05); filter: brightness(.75); }
.stcard__badge { position: absolute; left: 8px; top: 8px; background: #e0244a !important; color: #fff !important; box-shadow: none !important; }
.stcard__badge .live__dot { background: #fff !important; box-shadow: none !important; }
.stcard__viewers { position: absolute; left: 8px; bottom: 8px; padding: 3px 8px; border-radius: 6px; background: rgb(0 0 0 / .65); color: #fff; font: 700 12px var(--font-body); }
.stcard__play { position: absolute; inset: 0; margin: auto; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: rgb(255 255 255 / .92); color: #111; font-size: 18px; opacity: 0; transform: scale(.85); transition: opacity .25s, transform .25s; }
.stcard:hover .stcard__play, .stcard__media:focus-visible .stcard__play { opacity: 1; transform: none; }
.stcard__body { display: flex; align-items: center; gap: 10px; padding: 10px 12px 12px; min-width: 0; }
.stcard__av { width: 36px; height: 36px; flex: none; border-radius: 50%; object-fit: cover; }
.stcard__body > span { min-width: 0; display: grid; gap: 2px; }
.stcard__body b { display: flex; align-items: center; gap: 6px; font: 600 14.5px/1.25 var(--font-body); }
.stcard__body small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: rgb(255 255 255 / .55); }
.stchart summary { list-style: none; cursor: pointer; }
.stchart summary::-webkit-details-marker { display: none; }
.stchart:not([open]) .stchart__head { margin-bottom: 0; }
.stfilters { display: grid; gap: 12px; padding: var(--space-4); margin-bottom: var(--space-3); }
.stfilters__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.stfilters__langs { display: flex; flex-wrap: wrap; gap: 6px; }
.pill.pill--sm { height: 32px; padding: 0 12px; font-size: 12.5px; gap: 6px; }
.pill .flag { width: 18px; height: 13px; }
.seg { display: inline-flex; padding: 4px; border-radius: 99px; background: rgb(0 0 0 / .25); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.seg a { height: 32px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 99px; font: 600 13px var(--font-body); color: rgb(255 255 255 / .65); text-decoration: none; transition: background .2s, color .2s; white-space: nowrap; }
.seg a:hover { color: #fff; }
.seg a.is-on { background: #fff; color: #111827; }
.sttoggle { display: inline-flex; align-items: center; gap: 10px; font: 600 13px var(--font-body); color: rgb(255 255 255 / .8); text-decoration: none; }
.sttoggle__knob { position: relative; width: 38px; height: 22px; border-radius: 99px; background: rgb(255 255 255 / .14); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .15); transition: background .2s; }
.sttoggle__knob::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .25s cubic-bezier(.22,1,.36,1); }
.sttoggle.is-on .sttoggle__knob { background: #e0244a; }
.sttoggle.is-on .sttoggle__knob::after { transform: translateX(16px); }
.stsearch { margin-left: auto; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 99px; background: rgb(255 255 255 / .05); box-shadow: inset 0 1px 1px rgb(255 255 255 / .1), inset 0 0 0 1px rgb(255 255 255 / .1); color: rgb(255 255 255 / .6); min-width: 220px; }
.stsearch input { flex: 1; min-width: 0; border: 0; background: none; outline: none; color: #fff; font: 500 13.5px var(--font-body); }
.stsearch:focus-within { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .4); }
.strow[hidden] { display: none; }
.strow__who b .flag { width: 18px; height: 13px; }
.strow__go .btn { white-space: nowrap; }
.stlist__none { padding: var(--space-6); text-align: center; color: rgb(255 255 255 / .6); }
.stmore { display: flex; justify-content: center; margin: var(--space-4) 0; }
.tmodal__out { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); padding: 8px 16px; border-radius: 99px; background: rgb(255 255 255 / .1); color: #fff; font: 600 13px var(--font-body); text-decoration: none; }
.tmodal__out:hover { background: rgb(255 255 255 / .18); }
[data-twmodal] .tmodal__box { box-shadow: 0 0 0 1px rgb(255 255 255 / .15), 0 40px 90px -30px #000; }
@media (max-width: 900px) {
  .stlive__rail { grid-auto-columns: 78%; }
  .stsearch { margin-left: 0; width: 100%; }
  .seg { width: 100%; overflow-x: auto; }
  .seg a { flex: 1; justify-content: center; padding: 0 10px; font-size: 12px; }
}
