/* =========================================================
   Direction artistique : noir & rouge, magazine de tests
   ========================================================= */
:root {
  --red: #e5112b;
  --red-hi: #ff2e45;
  --red-lo: #9e0b1d;
  --red-soft: rgba(229, 17, 43, .14);
  --red-line: rgba(229, 17, 43, .45);

  --bg: #08080a;
  --bg-elev: #0d0d10;
  --surface: #111114;
  --surface-2: #18181c;
  --surface-3: #212126;
  --border: #1f1f24;
  --border-strong: #2d2d33;
  --text: #f5f5f6;
  --text-2: #b2b2ba;
  --text-3: #74747d;

  --s-released: #4ade80; --s-upcoming: #60a5fa; --s-early: #fbbf24; --s-demo: #fb7185; --s-beta: #e879f9; --s-free: #2dd4bf;

  --radius: 10px;
  --radius-sm: 6px;
  --container: 1320px;
  --gutter: clamp(16px, 3vw, 32px);
  --header-h: 68px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Barlow Condensed', 'Arial Narrow', 'Inter', sans-serif;
  --shadow: 0 24px 48px -24px rgba(0, 0, 0, .9);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 15px/1.6 var(--font);
  -webkit-font-smoothing: antialiased; min-height: 100vh; overflow-x: hidden;
  display: flex; flex-direction: column;
}
main { flex: 1; outline: none; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; }
p { margin: 0; }
code { font-size: .9em; padding: 1px 6px; border-radius: 4px; background: var(--surface-3); }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 2px; }
::selection { background: var(--red); color: #fff; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--text-2); }
.faint { color: var(--text-3); }
.small { font-size: 13px; }
.warn { color: #fbbf24; display: inline-flex; align-items: center; gap: 6px; }
.img-missing { visibility: hidden; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.page { padding-top: 32px; padding-bottom: 72px; animation: page-in .3s ease both; }
@keyframes page-in { from { opacity: 0; transform: translateY(6px); } }
.section { margin-top: 48px; }
.section-sm { margin-top: 24px; }
.block + .block, .block + .section { margin-top: 40px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.row.center { justify-content: center; }
.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; min-width: 0; align-content: start; }
.stack-sm { display: grid; gap: 12px; margin-top: 12px; }

/* Titres */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font: 700 13px/1 var(--display); letter-spacing: .14em;
  text-transform: uppercase; color: var(--red-hi); margin-bottom: 10px;
}
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.page-head h1 { font: 800 clamp(36px, 5vw, 56px)/1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.page-head p { color: var(--text-2); margin-top: 10px; max-width: 680px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.sec-title {
  display: flex; align-items: center; gap: 12px; font: 800 26px/1 var(--display); text-transform: uppercase; letter-spacing: .02em;
}
.sec-title::before { content: ''; width: 5px; height: 22px; background: var(--red); border-radius: 1px; }
.sec-sub { color: var(--text-3); font-size: 14px; margin-top: 6px; padding-left: 17px; }
.sec-link { display: inline-flex; align-items: center; gap: 6px; font: 700 14px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.sec-link:hover { color: var(--red-hi); }
.label { font: 700 13px/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); margin: 18px 0 10px; }

/* =========================================================
   Boutons, champs, badges
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px;
  border-radius: var(--radius-sm); border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--text);
  font: 700 15px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, transform .1s;
}
.btn:hover { background: var(--surface-3); border-color: #3a3a42; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; pointer-events: none; }
.btn-primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-hi); border-color: var(--red-hi); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.btn-glass { background: rgba(8, 8, 10, .55); border-color: rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(8, 8, 10, .8); border-color: rgba(255, 255, 255, .3); }
.btn-white { background: #fff; color: var(--red-lo); border-color: #fff; }
.btn-white:hover { background: #ffe4e7; }
.btn-danger { color: #fda4af; border-color: rgba(229, 17, 43, .4); background: rgba(229, 17, 43, .08); }
.btn-danger:hover { background: rgba(229, 17, 43, .18); }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn-icon { width: 40px; padding: 0; }
.btn-sm.btn-icon { width: 32px; }
.btn-block { width: 100%; }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.only-mobile { display: none; }

.input, .select, .textarea {
  width: 100%; height: 42px; padding: 0 14px; border-radius: var(--radius-sm); border: 1px solid var(--border-strong);
  background: var(--bg-elev); color: var(--text); transition: border-color .15s, box-shadow .15s;
}
.textarea { height: auto; min-height: 96px; padding: 11px 14px; resize: vertical; line-height: 1.55; }
.select { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2374747d' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.input::placeholder, .textarea::placeholder { color: var(--text-3); }
.input.invalid, .textarea.invalid { border-color: #fbbf24; }
.field { display: grid; gap: 7px; align-content: start; }
.field > label { font-size: 13px; font-weight: 600; color: var(--text-2); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hint { font-size: 12.5px; color: var(--text-3); }
.hint a, .steps a, .muted a { color: var(--red-hi); text-decoration: underline; text-underline-offset: 3px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.check { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--red); }

.seg { display: inline-flex; padding: 3px; border-radius: 8px; background: var(--bg-elev); border: 1px solid var(--border-strong); gap: 2px; flex-wrap: wrap; width: fit-content; }
.seg button { border: 0; background: transparent; color: var(--text-2); padding: 7px 12px; border-radius: 5px; font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; }
.seg button:hover { color: var(--text); }
.seg button.active { background: var(--red); color: #fff; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: transparent; color: var(--text-2); font-size: 13.5px; font-weight: 600;
  transition: all .15s;
}
.chip:hover { color: var(--text); border-color: var(--text-3); }
.chip.active { background: var(--red); border-color: var(--red); color: #fff; }
.chip .n { opacity: .65; font-size: 12px; }
.tag { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); font-size: 12.5px; white-space: nowrap; }
.tags { gap: 6px; margin-top: 16px; }
.mini-tag { display: inline-flex; align-items: center; gap: 4px; font: 700 12px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--red-hi); }

.badge {
  --c: var(--text-3);
  display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 4px;
  font: 700 12px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  color: color-mix(in oklab, var(--c) 75%, white); background: color-mix(in oklab, var(--c) 14%, rgba(8, 8, 10, .6));
  border: 1px solid color-mix(in oklab, var(--c) 32%, transparent);
}
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.badge.s-released { --c: var(--s-released); }
.badge.s-upcoming { --c: var(--s-upcoming); }
.badge.s-early_access { --c: var(--s-early); }
.badge.s-demo { --c: var(--s-demo); }
.badge.s-beta { --c: var(--s-beta); }
.badge.s-free { --c: var(--s-free); }
.badge.s-fav { --c: var(--red-hi); }
.badge.s-fav::before, .badge.s-neutral::before { display: none; }
.badges { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.kicker-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; background: var(--red); color: #fff; font: 800 13px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; border-radius: 3px; }
.kicker-tag.muted { background: rgba(8, 8, 10, .75); color: #fff; border: 1px solid rgba(255, 255, 255, .2); }

/* Note : carré rouge */
.scorebox {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; flex: none;
  background: linear-gradient(160deg, var(--red-hi), var(--red) 45%, var(--red-lo)); color: #fff; border-radius: 6px;
  box-shadow: 0 10px 24px -10px rgba(229, 17, 43, .8), inset 0 1px 0 rgba(255, 255, 255, .25);
  font-variant-numeric: tabular-nums;
}
.scorebox b { font: 800 26px/1 var(--display); letter-spacing: -.01em; }
.scorebox span { font: 700 11px/1 var(--display); letter-spacing: .08em; opacity: .85; margin-top: 2px; }
.scorebox.sm { width: 44px; height: 44px; } .scorebox.sm b { font-size: 21px; } .scorebox.sm span { font-size: 9px; }
.scorebox.md { width: 58px; height: 58px; }
.scorebox.lg { width: 92px; height: 92px; border-radius: 8px; } .scorebox.lg b { font-size: 44px; } .scorebox.lg span { font-size: 13px; }
.scorebox.xl { width: 128px; height: 128px; border-radius: 10px; } .scorebox.xl b { font-size: 64px; } .scorebox.xl span { font-size: 15px; margin-top: 4px; }

.avatar { border-radius: 50%; object-fit: cover; flex: none; background: var(--surface-3); border: 2px solid var(--red); }
.avatar-txt { display: inline-grid; place-items: center; color: #fff; font-family: var(--display); font-weight: 800; background: linear-gradient(160deg, var(--red-hi), var(--red-lo)); }
.socials { display: flex; gap: 6px; flex-wrap: wrap; }
.socials a { width: 36px; height: 36px; border-radius: 6px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); transition: all .15s; }
.socials a:hover { background: var(--red); border-color: var(--red); color: #fff; }

.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--red-hi); flex: none; animation: pulse 1.6s infinite; display: inline-block; }
.dot-live.white { background: #fff; animation-name: pulse-w; }
.dot-live.green { background: var(--s-released); animation-name: pulse-g; }
.dot-off { width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); flex: none; display: inline-block; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 46, 69, .7); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes pulse-w { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); } 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes pulse-g { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); } 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* =========================================================
   Barre admin, en-tête, bandeau live, pied de page
   ========================================================= */
.adminbar { background: #000; border-bottom: 1px solid #2a0b10; font-size: 13px; }
.ab-inner { display: flex; align-items: center; gap: 4px; height: 36px; overflow-x: auto; scrollbar-width: none; }
.ab-inner a, .ab-inner button { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 5px; color: var(--text-2); background: none; border: 0; white-space: nowrap; font-size: 13px; }
.ab-inner a:hover, .ab-inner button:hover { color: #fff; background: var(--surface-2); }
.ab-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; margin-right: 6px; border-radius: 4px; background: var(--red); color: #fff; font: 800 12px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.ab-spacer { flex: 1; }
.ab-hint { color: var(--text-3); font-size: 12px; white-space: nowrap; }

.site-header {
  position: sticky; top: 0; z-index: 40; background: rgba(8, 8, 10, .92); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--red) 0%, var(--red) 30%, transparent 75%); }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 11px; flex: none; min-width: 0; }
.logo-mark {
  width: 38px; height: 38px; display: grid; place-items: center; background: var(--red); color: #fff; border-radius: 5px;
  font: 800 25px/1 var(--display); transform: skewX(-8deg); box-shadow: 0 6px 18px -6px rgba(229, 17, 43, .9);
}
.logo-mark svg { transform: skewX(8deg); }
.logo-name { display: flex; flex-direction: column; justify-content: center; gap: 2px; font: 800 22px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 300px; }
.logo-name > span { overflow: hidden; text-overflow: ellipsis; }
.logo-name small { font: 700 10px/1 var(--display); letter-spacing: .32em; color: var(--muted, #a1a1aa); }
.logo-name em { font-style: normal; color: var(--red); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav-link { position: relative; padding: 8px 12px; font: 700 16px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); transition: color .15s; }
.nav-link:hover { color: #fff; }
.nav-link.active { color: #fff; }
.nav-link.active::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -14px; height: 3px; background: var(--red); }
.hsearch { position: relative; margin-left: auto; width: min(360px, 32vw); }
.hsearch > svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
.hsearch input {
  width: 100%; height: 40px; padding: 0 64px 0 40px; border-radius: 6px; border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--text); font-size: 14px;
}
.hsearch input:focus { outline: none; border-color: var(--red); background: var(--bg-elev); }
.hsearch input::-webkit-search-cancel-button { display: none; }
.hsearch kbd { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font: 600 11px/1 var(--font); padding: 4px 6px; border-radius: 4px; border: 1px solid var(--border-strong); color: var(--text-3); }
.hsearch-pop {
  position: absolute; top: calc(100% + 8px); right: 0; width: max(100%, 440px); z-index: 50; padding: 6px;
  background: var(--bg-elev); border: 1px solid var(--border-strong); border-radius: 8px; box-shadow: var(--shadow);
}
.pop-item { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 6px; border-radius: 6px; }
.pop-item img { width: 92px; height: 43px; object-fit: cover; border-radius: 4px; background: var(--surface-2); }
.pop-item:hover, .pop-item.active, .pop-all:hover, .pop-all.active { background: var(--surface-2); }
.pop-name { font-weight: 600; font-size: 14px; line-height: 1.3; overflow: hidden; }
.pop-name small { display: block; color: var(--text-3); font-weight: 400; font-size: 12px; }
.pop-all { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; margin-top: 4px; border-top: 1px solid var(--border); font: 700 14px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--red-hi); border-radius: 0 0 6px 6px; }
.pop-empty { padding: 14px; color: var(--text-3); font-size: 14px; }
.live-pill {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 5px; flex: none;
  background: var(--red); color: #fff; font: 800 14px/1 var(--display); letter-spacing: .1em; text-transform: uppercase;
}
.live-pill .dot-live { background: #fff; animation-name: pulse-w; }
.live-pill.static { height: 28px; }

.live-banner { background: linear-gradient(90deg, var(--red-lo), var(--red) 30%, var(--red) 70%, var(--red-lo)); color: #fff; }
.lb-inner { display: flex; align-items: center; gap: 14px; min-height: 48px; padding-top: 6px; padding-bottom: 6px; }
.lb-tag { display: inline-flex; align-items: center; gap: 8px; font: 800 15px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; flex: none; }
.lb-txt { flex: 1; min-width: 0; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-dim { opacity: .8; }

#nav-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--red-hi); z-index: 80; box-shadow: 0 0 10px var(--red); opacity: 0; }
#nav-progress.on { opacity: 1; width: 70%; transition: width 4s cubic-bezier(.1, .7, .2, 1); }
#nav-progress.done { opacity: 0; width: 100%; transition: width .2s, opacity .4s .2s; }

.site-footer { border-top: 1px solid var(--border); background: #050506; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-top: 44px; padding-bottom: 34px; }
.footer-grid h4 { font: 800 15px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--text); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-grid li a { color: var(--text-2); font-size: 14px; }
.footer-grid li a:hover { color: var(--red-hi); }
.f-about { display: grid; gap: 18px; align-content: start; }
.f-owner { display: flex; gap: 12px; align-items: flex-start; }
.f-owner b { font-size: 15px; }
.f-owner p { color: var(--text-2); font-size: 13.5px; margin-top: 2px; max-width: 420px; }
.f-note { color: var(--text-3); font-size: 13px; line-height: 1.6; }
.f-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 22px; border-top: 1px solid var(--border); color: var(--text-3); font-size: 13px; }
.f-bottom a:hover { color: var(--text); }

/* =========================================================
   Panneaux, cartes, listes
   ========================================================= */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.panel-head h3, .panel-title { display: flex; align-items: center; gap: 9px; font: 800 18px/1.1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.panel-head h3 svg, .panel-title svg { color: var(--red-hi); }
.panel-body { padding: 18px 20px 20px; }
.live-note { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-3); }

.grid { display: grid; gap: 20px; }
.grid.cards { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.grid.tiles { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }

.rcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, transform .2s, box-shadow .2s; }
.rcard:hover { border-color: var(--red-line); transform: translateY(-3px); box-shadow: var(--shadow); }
.rcard-media { position: relative; display: block; aspect-ratio: 16 / 8.2; overflow: hidden; background: var(--surface-2); }
.rcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.rcard:hover .rcard-media img { transform: scale(1.05); }
.rcard-media .kicker-tag { position: absolute; left: 10px; top: 10px; }
.rcard-media .scorebox { position: absolute; right: 10px; bottom: -1px; transform: translateY(30%); border: 3px solid var(--surface); }
.rcard-body { padding: 14px 16px 16px; display: grid; gap: 7px; flex: 1; align-content: start; }
.rcard-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding-right: 60px; min-height: 22px; }
.meta-txt { font-size: 12.5px; color: var(--text-3); }
.rcard-title { font: 800 22px/1.05 var(--display); letter-spacing: .01em; text-transform: uppercase; }
.rcard-title a:hover { color: var(--red-hi); }
.rcard-verdict { font-size: 14px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rcard-foot { display: flex; gap: 10px; align-items: center; margin-top: auto; padding-top: 6px; font-size: 12.5px; color: var(--text-3); }
.rcard-foot b { font: 800 14px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--red-hi); }

.tile { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, transform .2s; }
.tile:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.tile-media { aspect-ratio: 460 / 215; overflow: hidden; background: var(--surface-2); }
.tile-media img { width: 100%; height: 100%; object-fit: cover; }
.tile-body { padding: 12px 14px 14px; display: grid; gap: 10px; flex: 1; align-content: space-between; }
.tile-title { font: 700 18px/1.15 var(--display); letter-spacing: .01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile-title a:hover { color: var(--red-hi); }
.tile-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }

.price { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.price s { color: var(--text-3); font-weight: 500; font-size: 12.5px; }
.price .disc { background: var(--red); color: #fff; font: 800 13px/1 var(--display); padding: 4px 6px; border-radius: 3px; }

.list { display: grid; gap: 8px; }
.srow, .trow, .urow { display: grid; align-items: center; gap: 16px; padding: 10px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); transition: border-color .15s, background .15s; }
.srow:hover, .trow:hover, .urow:hover { border-color: var(--border-strong); background: var(--surface-2); }
.srow { grid-template-columns: 184px minmax(0, 1fr) auto; }
.srow img, .trow img { width: 184px; height: 86px; object-fit: cover; border-radius: 6px; background: var(--surface-2); }
.srow-title { font: 700 19px/1.15 var(--display); letter-spacing: .01em; }
.srow-title:hover { color: var(--red-hi); }
.srow-meta { font-size: 13px; color: var(--text-3); margin-top: 4px; }
.srow-side { display: flex; align-items: center; gap: 12px; }
.trow { grid-template-columns: 184px minmax(0, 1fr) auto; }
.trow-main { display: grid; gap: 3px; min-width: 0; }
.trow-main b { font: 700 20px/1.1 var(--display); }
.trow-main small { color: var(--text-3); font-size: 13px; }
.trow-verdict { color: var(--text-2); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trow-side { display: flex; align-items: center; gap: 12px; }
.urow { grid-template-columns: 160px minmax(0, 1fr) auto; }
.urow img { width: 160px; height: 75px; object-fit: cover; border-radius: 6px; }
.urow-main { display: grid; min-width: 0; }
.urow-main b { font: 700 19px/1.15 var(--display); }
.urow-main small { color: var(--text-3); font-size: 13px; }
.urow-date { display: inline-flex; align-items: center; gap: 7px; font: 700 15px/1 var(--display); letter-spacing: .04em; color: var(--s-upcoming); white-space: nowrap; }

.rank-list { display: grid; gap: 2px; padding-top: 10px; }
.rank-row { display: grid; grid-template-columns: 24px 96px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 6px; border-radius: 6px; }
.rank-row:hover { background: var(--surface-2); }
.rank-row img { width: 96px; height: 45px; object-fit: cover; border-radius: 4px; }
.rank-n { font: 800 26px/1 var(--display); color: var(--red-hi); text-align: center; }
.rank-name { font-weight: 600; font-size: 14px; line-height: 1.25; overflow: hidden; }
.rank-name small { display: block; color: var(--text-3); font-size: 12px; font-weight: 500; }

.feed { display: grid; gap: 2px; }
.feed-item { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 9px 6px; border-radius: 6px; align-items: start; }
a.feed-item:hover { background: var(--surface-2); }
.feed-item.fresh { animation: fresh 2.4s ease; }
@keyframes fresh { from { background: var(--red-soft); } }
.feed-ic { width: 34px; height: 34px; border-radius: 6px; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); }
.feed-ic.k-status { color: var(--s-released); }
.feed-ic.k-price { color: var(--red-hi); }
.feed-ic.k-demo { color: var(--s-demo); }
.feed-ic.k-date { color: var(--s-upcoming); }
.feed-txt { display: grid; gap: 1px; min-width: 0; font-size: 13.5px; }
.feed-txt b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-txt span { color: var(--text-2); }
.feed-txt small { color: var(--text-3); font-size: 12px; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; }
.tabs button { border: 0; background: none; padding: 12px 14px; font: 700 16px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs button:hover { color: var(--text); }
.tabs button.active { color: #fff; border-bottom-color: var(--red); }

/* =========================================================
   Accueil
   ========================================================= */
.home-top { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: stretch; }
.feature { position: relative; min-height: 440px; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); display: flex; align-items: flex-end; isolation: isolate; border: 1px solid var(--border); }
.feature-media { position: absolute; inset: 0; z-index: -2; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.feature:hover .feature-media img { transform: scale(1.03); }
.feature-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 8, 10, 0) 25%, rgba(8, 8, 10, .75) 62%, rgba(8, 8, 10, .96) 100%), linear-gradient(90deg, rgba(8, 8, 10, .7), transparent 60%); pointer-events: none; }
.feature-body { padding: 30px; padding-right: 180px; display: grid; gap: 12px; max-width: 900px; }
.feature-kicker { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font: 700 14px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.feature-title { font: 800 clamp(38px, 5vw, 66px)/.95 var(--display); text-transform: uppercase; letter-spacing: .005em; text-wrap: balance; }
.feature-title a:hover { color: var(--red-hi); }
.feature-verdict { font-size: 18px; color: #e8e8ea; max-width: 640px; }
.byline { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-2); }
.byline .avatar { border-width: 1.5px; }
.byline b { color: #fff; }
.feature-score { position: absolute; right: 30px; bottom: 30px; display: grid; justify-items: center; gap: 10px; }
.feature-score em { font: 800 17px/1 var(--display); font-style: normal; letter-spacing: .12em; text-transform: uppercase; }

.profile-card { background: linear-gradient(180deg, rgba(229, 17, 43, .12), transparent 45%), var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--red); border-radius: var(--radius); padding: 22px; display: grid; gap: 16px; align-content: start; }
.pc-head { display: flex; align-items: center; gap: 14px; }
.pc-head .eyebrow { margin: 0 0 4px; font-size: 12px; }
.pc-head h2 { font: 800 30px/1 var(--display); text-transform: uppercase; overflow-wrap: anywhere; }
.pc-bio { color: var(--text-2); font-size: 14px; }
.pc-stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.pc-stats div { padding: 12px 8px; text-align: center; background: var(--bg-elev); }
.pc-stats div + div { border-left: 1px solid var(--border); }
.pc-stats b { display: block; font: 800 28px/1 var(--display); color: #fff; font-variant-numeric: tabular-nums; }
.pc-stats span { font-size: 11.5px; color: var(--text-3); }

.intro { position: relative; border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); overflow: hidden; border: 1px solid var(--border); background: radial-gradient(900px 380px at 0% 0%, rgba(229, 17, 43, .25), transparent 60%), linear-gradient(135deg, #140508, var(--surface) 55%); }
.intro::after { content: ''; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; border: 40px solid rgba(229, 17, 43, .08); transform: rotate(18deg); pointer-events: none; }
.intro-title { font: 800 clamp(44px, 7vw, 84px)/.92 var(--display); text-transform: uppercase; max-width: 780px; }
.intro-title em { font-style: normal; color: var(--red); }
.intro-sub { color: var(--text-2); font-size: 17px; margin-top: 14px; max-width: 620px; }
.intro .bigsearch { margin-top: 28px; max-width: 680px; }

.bigsearch { position: relative; display: flex; gap: 8px; align-items: center; }
.bigsearch > svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
.bigsearch input { flex: 1; min-width: 0; height: 56px; padding: 0 16px 0 52px; border-radius: 8px; border: 1px solid var(--border-strong); background: var(--bg-elev); font-size: 16px; }
.bigsearch input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.bigsearch .btn { height: 56px; padding: 0 22px; font-size: 17px; }

.home-cols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.col-side { display: grid; gap: 22px; }
.twitch-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #000; }
.twitch-frame > div, .twitch-frame iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }

/* =========================================================
   Pages Tests et Jeux
   ========================================================= */
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.toolbar .select { width: auto; }
.field-search { position: relative; flex: 1; min-width: 220px; }
.field-search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--text-3); }
.field-search .input { padding-left: 40px; }
#tests-status { margin-bottom: 22px; }
.results-note { color: var(--text-3); font-size: 14px; margin-bottom: 12px; }

/* =========================================================
   Fiche jeu
   ========================================================= */
.game-hero { position: relative; min-height: 460px; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--border); }
.gh-bg { position: absolute; inset: 0; z-index: -1; background: var(--surface) center 20% / cover no-repeat; }
.gh-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 8, 10, .35) 0%, rgba(8, 8, 10, .6) 45%, var(--bg) 100%), linear-gradient(90deg, rgba(8, 8, 10, .9) 0%, rgba(8, 8, 10, 0) 72%); }
.gh-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: end; padding-top: 110px; padding-bottom: 30px; }
.gh-main { display: grid; gap: 12px; min-width: 0; }
.crumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--text-2); }
.crumbs a:hover { color: #fff; }
.crumbs .sep { color: var(--text-3); }
.crumbs [aria-current] { color: var(--text-3); }
.gh-title { font: 800 clamp(42px, 6.5vw, 82px)/.92 var(--display); text-transform: uppercase; letter-spacing: .005em; text-wrap: balance; }
.gh-kicker { display: inline-block; vertical-align: middle; margin-right: 14px; padding: 6px 10px 5px; background: var(--red); color: #fff; font-size: .38em; letter-spacing: .14em; border-radius: 4px; transform: translateY(-.15em); }
.gh-by { color: var(--text-2); font-size: 15px; }
.gh-by b { color: #fff; }
.gh-date { display: flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 15px; }
.gh-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.gh-score { display: grid; justify-items: center; gap: 8px; text-align: center; }
.gh-score em { font: 800 19px/1 var(--display); font-style: normal; letter-spacing: .12em; text-transform: uppercase; }
.gh-score small { color: var(--text-2); font-size: 12.5px; }

.statbar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.stat { padding: 14px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); min-width: 0; }
.stat-k { display: flex; align-items: center; gap: 7px; font: 700 13px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.stat-v { font: 800 30px/1.1 var(--display); margin-top: 8px; font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stat-s { font-size: 12.5px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spark { display: block; margin-top: 8px; height: 26px; width: 100%; }
.spark .line { fill: none; stroke: var(--red-hi); stroke-width: 1.6; }
.spark .area { fill: var(--red-soft); stroke: none; }

.game-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; margin-top: 24px; padding-bottom: 72px; align-items: start; }
.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px; flex-wrap: wrap; border-left: 3px solid var(--red); }
.cta-panel .panel-title { margin-bottom: 4px; }

.review { border-top: 3px solid var(--red); }
.review-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--border); }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-author .eyebrow { margin: 0 0 3px; font-size: 12px; display: block; }
.review-author b { font-size: 15px; }
.review-top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 26px; align-items: center; padding: 22px; }
.review-score { display: grid; justify-items: center; gap: 8px; }
.review-score em { font: 800 15px/1 var(--display); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--red-hi); }
.review-sum { display: grid; gap: 12px; min-width: 0; }
.verdict { font: 700 25px/1.2 var(--display); letter-spacing: .005em; }
.meta-line { display: flex; gap: 8px 18px; flex-wrap: wrap; font-size: 13px; color: var(--text-3); }
.meta-line > span { display: inline-flex; align-items: center; gap: 6px; }
.crit { display: grid; gap: 10px; padding: 0 22px 20px; }
.crit-row { display: grid; grid-template-columns: 190px minmax(0, 1fr) 44px; gap: 14px; align-items: center; font-size: 14px; color: var(--text-2); }
.crit-row .bar { height: 8px; border-radius: 2px; background: var(--surface-3); overflow: hidden; }
.crit-row .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--red-lo), var(--red-hi)); }
.crit-row b { text-align: right; font: 800 20px/1 var(--display); color: #fff; font-variant-numeric: tabular-nums; }
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.proscons > div { background: var(--surface); padding: 18px 22px; }
.proscons h3 { font: 800 15px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.proscons .pro h3 { color: var(--s-released); }
.proscons .con h3 { color: var(--red-hi); }
.proscons ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.proscons li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; font-size: 14.5px; color: var(--text-2); }
.proscons .pro svg { color: var(--s-released); margin-top: 3px; }
.proscons .con svg { color: var(--red-hi); margin-top: 3px; }
.review-text { padding: 22px; color: #d9d9de; white-space: pre-wrap; line-height: 1.75; font-size: 15.5px; }
.review-video { margin: 0 22px 22px; }

.player { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #000; }
.player video, .player iframe { width: 100%; height: 100%; border: 0; display: block; }
.player .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player .poster.zoom { cursor: zoom-in; }
.player .play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(transparent 40%, rgba(0, 0, 0, .45)); border: 0; color: #fff; }
.player .play span { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--red); box-shadow: 0 10px 30px -6px rgba(229, 17, 43, .9); transition: transform .2s; padding-left: 4px; }
.player .play:hover span { transform: scale(1.08); }
.thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: 140px; gap: 8px; overflow-x: auto; padding: 10px 0 2px; scrollbar-width: thin; }
.thumbs button { position: relative; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: var(--surface-2); aspect-ratio: 16 / 9; opacity: .7; transition: opacity .15s, border-color .15s; }
.thumbs button:hover, .thumbs button.active { opacity: 1; border-color: var(--red); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs .is-video::after { content: '▶'; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 16px; text-shadow: 0 2px 8px rgba(0, 0, 0, .9); }

.lead { font-size: 16.5px; line-height: 1.6; margin-bottom: 16px; color: #e3e3e6; }
.about { color: var(--text-2); line-height: 1.75; overflow: hidden; position: relative; }
.about.clamped { max-height: 420px; }
.about.clamped::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(transparent, var(--surface)); }
.about img, .about video { border-radius: 6px; margin: 12px 0; max-width: 100%; height: auto; }
.about h1, .about h2, .about h3 { font: 800 21px/1.15 var(--display); text-transform: uppercase; color: var(--text); margin: 22px 0 8px; }
.about ul { padding-left: 20px; }
.about a { color: var(--red-hi); text-decoration: underline; text-underline-offset: 3px; }
.about + .btn { margin-top: 10px; }

.kv { display: grid; margin: 0; }
.kv > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.kv > div:last-child { border-bottom: 0; }
.kv dt { color: var(--text-3); margin: 0; }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.kv dd a { color: var(--red-hi); }
.platforms { display: inline-flex; gap: 8px; color: var(--text-2); vertical-align: middle; margin-right: 6px; }
.demos { display: grid; gap: 8px; }
.demos a:not(.btn) { font-weight: 600; font-size: 14px; }
details.req { margin-top: 16px; }
details.req summary { cursor: pointer; font-weight: 600; font-size: 14px; padding: 4px 0; }
.reqs { font-size: 13px; color: var(--text-2); margin-top: 8px; }
.reqs ul { padding-left: 18px; margin: 6px 0; }
.news { display: grid; gap: 2px; padding-top: 10px; }
.news a { display: grid; gap: 4px; padding: 10px; border-radius: 6px; transition: background .15s; }
.news a:hover { background: var(--surface-2); }
.news-t { font-weight: 600; font-size: 14px; line-height: 1.35; }
.news a:hover .news-t { color: var(--red-hi); }
.news-e { font-size: 13px; color: var(--text-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-d { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--text-3); flex-wrap: wrap; }
.news-d .lang { margin-left: auto; font: 700 11px/1 var(--display); letter-spacing: .1em; padding: 3px 5px; border: 1px solid var(--border-strong); border-radius: 3px; }

/* =========================================================
   Live
   ========================================================= */
.live-status { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.live-title { color: var(--text-2); width: 100%; margin-top: 4px; }
.live-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 14px; }
.live-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--border); }
.live-video > div, .live-video iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }
.live-chat { width: 100%; height: 100%; min-height: 420px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.live-about { display: flex; gap: 16px; align-items: flex-start; margin-top: 24px; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--red); border-radius: var(--radius); }
.live-about h2 { font: 800 24px/1 var(--display); text-transform: uppercase; margin-bottom: 6px; }
.live-about p { color: var(--text-2); margin-bottom: 12px; }

/* =========================================================
   Réglages, connexion
   ========================================================= */
.settings-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: start; }
.settings-nav { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 2px; }
.settings-nav a { padding: 8px 12px; border-radius: 6px; color: var(--text-2); font: 700 15px/1.2 var(--display); letter-spacing: .06em; text-transform: uppercase; border-left: 2px solid transparent; }
.settings-nav a:hover { color: #fff; background: var(--surface); border-left-color: var(--red); }
.settings { display: grid; gap: 20px; max-width: 880px; }
.settings .panel-body { display: grid; gap: 16px; }
.settings section { scroll-margin-top: calc(var(--header-h) + 20px); }
.save-state { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--s-released); padding: 8px 12px; border-radius: 6px; background: var(--surface); border: 1px solid var(--border); max-width: 100%; }
.save-state.saving { color: var(--text-2); }
.save-state.error { color: #fbbf24; border-color: rgba(251, 191, 36, .35); }
.profile-preview { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 8px; background: var(--bg-elev); border: 1px solid var(--border); }
.profile-preview b { font: 800 22px/1 var(--display); text-transform: uppercase; }
.prefix-input { display: flex; }
.prefix-input span { display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid var(--border-strong); border-right: 0; border-radius: 6px 0 0 6px; background: var(--surface-2); color: var(--text-3); font-size: 14px; }
.prefix-input .input { border-radius: 0 6px 6px 0; }
.twitch-state { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 14px; border-radius: 8px; background: var(--bg-elev); border: 1px solid var(--border); font-size: 13.5px; }
.secret-row { display: flex; gap: 8px; }
.secret-row .input { flex: 1; }
.pill-ok { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--s-released); }
.catalog { padding: 14px 16px; display: grid; gap: 10px; }
.steps { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--text-2); font-size: 14px; }
.notice { padding: 14px 16px; border-radius: 8px; background: var(--red-soft); border: 1px solid var(--red-line); font-size: 14px; color: var(--text-2); }
.notice b { color: #fff; }
.login { max-width: 420px; margin: 6vh auto 0; display: grid; gap: 18px; }
.login h1 { font: 800 40px/1 var(--display); text-transform: uppercase; }

/* Formulaire de test */
.form-section { display: grid; gap: 14px; padding: 20px 0; border-top: 1px solid var(--border); }
.form-section:first-child { border-top: 0; padding-top: 0; }
.form-section h4 { font: 800 16px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--red) var(--p, 50%), var(--surface-3) var(--p, 50%)); outline: none; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 4px; background: #fff; border: 3px solid var(--red); box-shadow: 0 2px 8px rgba(0, 0, 0, .5); cursor: grab; }
.range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 4px; background: #fff; border: 3px solid var(--red); cursor: grab; }
.range.off { filter: grayscale(1); opacity: .4; }
.score-input { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 16px; align-items: center; }
.score-input .num { text-align: center; font: 800 28px/1 var(--display); height: 54px; }
.score-label { font: 700 14px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--red-hi); }
.crit-input { display: grid; grid-template-columns: 170px minmax(0, 1fr) 52px 28px; gap: 12px; align-items: center; font-size: 14px; }
.crit-input output { text-align: right; font: 800 19px/1 var(--display); font-variant-numeric: tabular-nums; }
.crit-input input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--red); }

/* =========================================================
   Modales, notifications, visionneuse, états
   ========================================================= */
.modal-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .72); backdrop-filter: blur(4px); z-index: 60; display: grid; place-items: center; padding: 20px; animation: fade .2s ease; }
.modal { width: min(760px, 100%); max-height: calc(100vh - 40px); display: flex; flex-direction: column; background: var(--bg-elev); border: 1px solid var(--border-strong); border-top: 3px solid var(--red); border-radius: var(--radius); box-shadow: 0 40px 80px -30px #000; animation: pop .22s cubic-bezier(.2, .8, .2, 1); }
.modal:focus { outline: none; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--border); }
.modal-head h3 { font: 800 22px/1.1 var(--display); text-transform: uppercase; }
.modal-body { padding: 22px; overflow-y: auto; }
.modal-foot { display: flex; gap: 10px; justify-content: flex-end; padding: 14px 22px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.modal-foot .left { margin-right: auto; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }

.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: grid; gap: 10px; width: min(380px, calc(100vw - 32px)); }
.toast { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 14px 16px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border-strong); border-left: 3px solid var(--text-3); box-shadow: var(--shadow); animation: toast-in .3s cubic-bezier(.2, .8, .2, 1); font-size: 14px; cursor: default; }
.toast.out { animation: toast-out .25s ease forwards; }
.toast b { display: block; }
.toast span { color: var(--text-2); }
.toast a { color: var(--red-hi); font-weight: 700; }
.toast-ic { color: var(--text-2); margin-top: 1px; }
.toast.success { border-left-color: var(--s-released); } .toast.success .toast-ic { color: var(--s-released); }
.toast.error { border-left-color: #fbbf24; } .toast.error .toast-ic { color: #fbbf24; }
.toast.live { border-left-color: var(--red); background: linear-gradient(90deg, rgba(229, 17, 43, .2), var(--surface-2)); } .toast.live .toast-ic { color: var(--red-hi); }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }
@keyframes toast-out { to { opacity: 0; transform: translateX(20px); } }

.lightbox { position: fixed; inset: 0; z-index: 75; background: rgba(0, 0, 0, .94); display: grid; place-items: center; padding: 30px; animation: fade .2s; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 6px; }
.lightbox .btn { position: absolute; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

.empty { text-align: center; padding: 56px 24px; border: 1px dashed var(--border-strong); border-radius: var(--radius); color: var(--text-2); }
.empty-ic { width: 56px; height: 56px; border-radius: 8px; display: grid; place-items: center; margin: 0 auto 16px; background: var(--red-soft); color: var(--red-hi); }
.empty h3 { font: 800 26px/1.1 var(--display); text-transform: uppercase; color: var(--text); margin-bottom: 8px; }
.empty p { max-width: 460px; margin: 0 auto 20px; }
.skeleton { background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius); }
@keyframes shimmer { to { background-position: -200% 0; } }
.error-box { padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--red-line); background: var(--red-soft); }
.progress { height: 5px; border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.progress i { display: block; height: 100%; width: 35%; background: var(--red); animation: indet 1.2s ease-in-out infinite; }
@keyframes indet { from { transform: translateX(-100%); } to { transform: translateX(300%); } }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .home-top, .home-cols, .game-layout { grid-template-columns: minmax(0, 1fr); }
  .statbar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .live-layout { grid-template-columns: minmax(0, 1fr); }
  .live-chat { height: 520px; }
  .hsearch kbd { display: none; }
  .hsearch input { padding-right: 14px; }
}
@media (max-width: 960px) {
  .nav, .hsearch { display: none; }
  .only-mobile { display: inline-flex; }
  #live-pill { margin-left: auto; }
  .header-inner { gap: 6px; }
  .logo-name { font-size: 20px; max-width: 52vw; }
  body.menu-open .nav {
    display: grid; position: absolute; top: 100%; left: 0; right: 0; padding: 10px var(--gutter) 16px; gap: 2px;
    background: var(--bg-elev); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
  }
  body.menu-open .nav-link { padding: 14px 4px; font-size: 20px; border-bottom: 1px solid var(--border); }
  body.menu-open .nav-link.active { color: var(--red-hi); }
  .nav-link.active::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .f-about { grid-column: 1 / -1; }
  .settings-layout { grid-template-columns: minmax(0, 1fr); }
  .settings-nav { position: static; display: flex; overflow-x: auto; gap: 4px; scrollbar-width: none; }
  .settings-nav a { white-space: nowrap; border-left: 0; background: var(--surface); }
  .feature-body { padding: 22px; padding-bottom: 150px; }
  .feature-score { right: auto; left: 22px; bottom: 22px; grid-auto-flow: column; align-items: center; }
  .feature-score .scorebox.xl { width: 96px; height: 96px; } .feature-score .scorebox.xl b { font-size: 46px; }
}
@media (max-width: 680px) {
  :root { --header-h: 60px; }
  .page { padding-top: 22px; }
  .statbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-v { font-size: 25px; }
  .form-grid, .proscons { grid-template-columns: minmax(0, 1fr); }
  .gh-inner { grid-template-columns: minmax(0, 1fr); padding-top: 80px; }
  .gh-score { grid-auto-flow: column; justify-content: start; align-items: center; gap: 12px; text-align: left; }
  .gh-score .scorebox.xl { width: 84px; height: 84px; } .gh-score .scorebox.xl b { font-size: 40px; }
  .game-hero { min-height: 0; }
  .review-top { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .crit-row { grid-template-columns: 120px minmax(0, 1fr) 36px; }
  .crit-input { grid-template-columns: minmax(0, 1fr) 52px 28px; }
  .crit-input .range { grid-column: 1 / -1; grid-row: 2; }
  .srow, .trow { grid-template-columns: 96px minmax(0, 1fr); }
  .srow img, .trow img { width: 96px; height: 45px; }
  .srow-side, .trow-side { grid-column: 1 / -1; justify-content: space-between; }
  .urow { grid-template-columns: 96px minmax(0, 1fr); }
  .urow img { width: 96px; height: 45px; }
  .urow-date { grid-column: 2; font-size: 14px; }
  .kv > div { grid-template-columns: 96px minmax(0, 1fr); }
  .bigsearch .btn { display: none; }
  .lb-inner .btn, #live-pill { display: none; }
  .lb-inner { gap: 10px; min-height: 42px; }
  .lb-tag { font-size: 13px; }
  .lb-txt { font-size: 13px; }
  .logo-mark { width: 34px; height: 34px; font-size: 22px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .f-bottom { flex-direction: column; }
  .modal-backdrop { padding: 0; align-items: end; }
  .modal { max-height: 92vh; border-radius: 12px 12px 0 0; }
  .toasts { right: 16px; bottom: 16px; }
  .secret-row { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* =========================================================
   V3 : communauté, calendrier, accueil vivant
   ========================================================= */

/* Apparition au défilement */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

.btn-lg { height: 50px; padding: 0 24px; font-size: 17px; }
.live-pill { white-space: nowrap; }
.header-inner { gap: 16px; }
.hsearch { width: min(300px, 24vw); }
@media (max-width: 1360px) {
  .hsearch kbd { display: none; }
  .hsearch input { padding-right: 12px; }
  .header-acct .btn-ghost.hide-sm { display: none; }
  .nav-link { padding: 8px 9px; }
  .logo-name { max-width: 200px; }
}
.only-sm { display: none; }
.nav-extra { display: none; }

/* Compte dans l'en-tête */
.header-acct { display: flex; align-items: center; gap: 8px; flex: none; }
.acct { display: inline-flex; align-items: center; gap: 9px; padding: 4px 12px 4px 4px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); transition: border-color .15s; }
.acct:hover { border-color: var(--red); }
.acct-av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(160deg, var(--red-hi), var(--red-lo)); color: #fff; font: 800 16px/1 var(--display); }
.acct-name { font-weight: 600; font-size: 14px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Boutons d'alerte */
.btn-follow { background: rgba(8, 8, 10, .6); border-color: rgba(255, 255, 255, .22); color: #fff; backdrop-filter: blur(10px); }
.btn-follow:hover { background: var(--red); border-color: var(--red); }
.btn-follow svg { animation: ring 3.5s ease-in-out infinite; transform-origin: 50% 10%; }
@keyframes ring { 0%, 86%, 100% { transform: rotate(0); } 88% { transform: rotate(14deg); } 91% { transform: rotate(-12deg); } 94% { transform: rotate(8deg); } 97% { transform: rotate(-4deg); } }
.btn-followed { background: var(--red-soft); border-color: var(--red-line); color: #fff; }
.btn-followed svg { color: var(--red-hi); }
.btn-followed:hover { background: rgba(229, 17, 43, .24); }
.f-count { font-style: normal; font-family: var(--font); font-weight: 700; font-size: 12px; letter-spacing: 0; padding: 2px 7px; border-radius: 999px; background: rgba(255, 255, 255, .12); }
.bell { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--text-2); transition: all .15s; }
.bell:hover { color: #fff; border-color: var(--red); }
.bell.on { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 6px 16px -6px rgba(229, 17, 43, .8); }
.bell:disabled { opacity: .5; }

/* Accueil : à la une */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: stretch; }
.carousel { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface-2); min-height: 480px; }
.car-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.car-track::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; min-height: 480px; display: flex; align-items: flex-end; isolation: isolate; }
.slide-media { position: absolute; inset: 0; z-index: -2; }
.slide-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 8s linear; }
.carousel.playing .slide-media img { transform: scale(1.08); }
.slide-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(8, 8, 10, 0) 30%, rgba(8, 8, 10, .78) 66%, rgba(8, 8, 10, .97)), linear-gradient(90deg, rgba(8, 8, 10, .75), transparent 62%); }
.slide-body { padding: 30px 30px 74px; padding-right: 190px; display: grid; gap: 12px; max-width: 900px; }
.slide .feature-score { bottom: 74px; }
.car-dots { position: absolute; left: 30px; right: 30px; bottom: 22px; display: flex; gap: 8px; }
.car-dots button { flex: 1; min-width: 0; padding: 8px 0 0; border: 0; background: none; text-align: left; color: rgba(255, 255, 255, .55); cursor: pointer; }
.car-dots button i { display: block; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .22); position: relative; overflow: hidden; margin-top: 6px; }
.car-dots button i::after { content: ''; position: absolute; inset: 0; width: 0; background: var(--red); }
.car-dots button.active { color: #fff; }
.car-dots button.active i::after { width: 100%; }
.carousel.playing .car-dots button.active i::after { animation: carfill 7s linear forwards; width: 0; }
@keyframes carfill { to { width: 100%; } }
.car-dot-name { display: block; font: 700 12.5px/1.2 var(--display); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.car-arrow { position: absolute; top: 40%; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(8, 8, 10, .55); color: #fff; display: grid; place-items: center; opacity: 0; transition: opacity .2s, background .2s; backdrop-filter: blur(8px); }
.car-arrow.prev { left: 14px; } .car-arrow.next { right: 14px; }
.carousel:hover .car-arrow, .car-arrow:focus-visible { opacity: 1; }
.car-arrow:hover { background: var(--red); border-color: var(--red); }

.hero-side { display: grid; gap: 14px; align-content: start; }
.mini-cta { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--radius); border: 1px solid var(--red-line); background: linear-gradient(120deg, rgba(229, 17, 43, .22), rgba(229, 17, 43, .05)); transition: transform .2s, border-color .2s; }
.mini-cta:hover { transform: translateY(-2px); border-color: var(--red); }
.mini-cta > span:nth-child(2) { flex: 1; min-width: 0; display: grid; gap: 2px; }
.mini-cta b { font: 800 18px/1.1 var(--display); text-transform: uppercase; }
.mini-cta small { color: var(--text-2); font-size: 12.5px; }
.mini-cta-ic { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--red); color: #fff; flex: none; }
.intro-links { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 20px; }
.intro-links a { display: inline-flex; align-items: center; gap: 7px; color: var(--text-2); font: 700 15px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.intro-links a:hover { color: var(--red-hi); }

/* Sorties de la semaine */
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.wday { display: flex; flex-direction: column; min-width: 0; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.wday.today { border-color: var(--red); box-shadow: 0 0 0 1px var(--red) inset; }
.wday-head { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 2px 8px; padding: 12px 12px 10px; border-bottom: 1px solid var(--border); }
.wday-head b { font: 800 15px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.wday.today .wday-head b { color: var(--red-hi); }
.wday-head span { font: 800 26px/1 var(--display); text-align: right; }
.wday-head em { grid-column: 1 / -1; font-style: normal; font-size: 11.5px; color: var(--text-3); }
.wday-games { display: grid; gap: 8px; padding: 10px; }
.wgame { position: relative; display: grid; gap: 5px; }
.wgame img { width: 100%; aspect-ratio: 231 / 87; object-fit: cover; border-radius: 5px; background: var(--surface-2); transition: transform .2s; }
.wgame:hover img { transform: scale(1.03); }
.wgame span { font-size: 12.5px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wgame:hover span { color: var(--red-hi); }
.wgame em { position: absolute; top: 4px; right: 4px; display: inline-flex; align-items: center; padding: 2px 6px; border-radius: 3px; background: var(--red); color: #fff; font: 700 11px/1.3 var(--display); font-style: normal; letter-spacing: .04em; }
.wgame.followed img { outline: 2px solid var(--red); outline-offset: -2px; }
.wday-more { margin: auto 10px 10px; padding: 6px; text-align: center; border-radius: 5px; background: var(--surface-2); font: 700 13px/1 var(--display); letter-spacing: .06em; color: var(--text-2); }
.wday-more:hover { color: #fff; background: var(--surface-3); }

/* Prochaine grosse sortie */
.bigrel { position: relative; margin-top: 48px; border-radius: var(--radius); overflow: hidden; min-height: 340px; display: flex; align-items: center; isolation: isolate; border: 1px solid var(--border); }
.bigrel-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.bigrel-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 8, 10, .96) 0%, rgba(8, 8, 10, .82) 45%, rgba(8, 8, 10, .25) 100%), radial-gradient(600px 300px at 0% 100%, rgba(229, 17, 43, .3), transparent); }
.bigrel-body { padding: clamp(24px, 4vw, 44px); display: grid; gap: 14px; max-width: 640px; }
.bigrel h2 { font: 800 clamp(36px, 5vw, 60px)/.95 var(--display); text-transform: uppercase; }
.bigrel h2 a:hover { color: var(--red-hi); }
.bigrel-date { display: flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 15px; }
.countdown { display: flex; gap: 10px; margin: 6px 0; }
.countdown div { min-width: 78px; padding: 12px 8px 10px; text-align: center; border-radius: 8px; background: rgba(8, 8, 10, .7); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(8px); }
.countdown div:first-child { background: var(--red); border-color: var(--red); }
.countdown b { display: block; font: 800 40px/1 var(--display); font-variant-numeric: tabular-nums; }
.countdown span { font: 700 11px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }

/* Rejoindre la communauté */
.join { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 30px; align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: var(--radius); border: 1px solid var(--red-line); overflow: hidden; position: relative;
  background: radial-gradient(700px 360px at 100% 0%, rgba(229, 17, 43, .28), transparent 65%), linear-gradient(135deg, #160609, var(--surface) 60%); }
.join h2 { font: 800 clamp(36px, 4.5vw, 56px)/.95 var(--display); text-transform: uppercase; margin-bottom: 10px; }
.join-copy > p { color: var(--text-2); font-size: 16px; margin-bottom: 20px; }
.perks { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 14px; }
.perks li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; }
.perks b { display: block; font: 800 17px/1.1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.perks span:not(.perk-ic) { color: var(--text-2); font-size: 14px; }
.perk-ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--red-soft); color: var(--red-hi); border: 1px solid var(--red-line); }
.join-art { position: relative; min-height: 280px; }
.notif { position: absolute; display: flex; gap: 12px; align-items: center; width: min(330px, 92%); padding: 14px 16px; border-radius: 12px; background: rgba(20, 20, 23, .92); border: 1px solid var(--border-strong); box-shadow: 0 30px 50px -25px #000; backdrop-filter: blur(10px); animation: float 6s ease-in-out infinite; }
.notif b { display: block; font-size: 14px; }
.notif small { color: var(--text-3); font-size: 12.5px; }
.n-ic { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: var(--red); color: #fff; flex: none; }
.n-ic.live { background: #9146ff; }
.notif.n1 { top: 8px; left: 0; }
.notif.n2 { top: 96px; right: 0; animation-delay: -2s; }
.notif.n3 { top: 186px; left: 8%; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Les plus attendus */
.grid.anticip { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.anticip-card { position: relative; display: grid; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--border); transition: transform .2s, border-color .2s; }
.anticip-card:hover { transform: translateY(-3px); border-color: var(--red-line); }
.anticip-card img { width: 100%; aspect-ratio: 460 / 215; object-fit: cover; }
.anticip-body { padding: 10px 12px 12px; display: grid; gap: 2px; }
.anticip-body b { font: 700 17px/1.15 var(--display); }
.anticip-body small { color: var(--text-3); font-size: 12.5px; }
.anticip-n { position: absolute; top: 8px; right: 8px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 999px; background: var(--red); color: #fff; font: 800 13px/1 var(--display); }

/* Lignes de sortie */
.rel-list { display: grid; gap: 6px; }
.rel-list.cols { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.rel-row { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 8px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); transition: border-color .15s; }
.rel-row:hover { border-color: var(--border-strong); }
.rel-row.is-followed { border-color: var(--red-line); background: linear-gradient(90deg, rgba(229, 17, 43, .1), var(--surface) 60%); }
.rel-row img { width: 120px; aspect-ratio: 231 / 87; object-fit: cover; border-radius: 5px; background: var(--surface-2); }
.rel-main { display: grid; gap: 4px; min-width: 0; }
.rel-name { font: 700 17px/1.15 var(--display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rel-name:hover { color: var(--red-hi); }
.rel-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 12.5px; }
.rel-meta > span { display: inline-flex; align-items: center; gap: 4px; }
.rel-time { color: #fff; font-weight: 700; }

/* Calendrier */
.cal-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: space-between; padding: 12px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); margin-bottom: 10px; }
.cal-nav { display: flex; align-items: center; gap: 8px; }
.cal-month { font: 800 28px/1 var(--display); text-transform: uppercase; min-width: 190px; text-align: center; }
.cal-count { color: var(--text-3); font-size: 13.5px; margin: 0 0 14px 4px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-head { padding: 8px; text-align: center; font: 800 14px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.cal-cell { min-height: 150px; padding: 8px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 5px; min-width: 0; transition: border-color .15s, background .15s; }
.cal-cell.blank { background: transparent; border-style: dashed; border-color: rgba(255, 255, 255, .04); }
.cal-cell.has { cursor: pointer; }
.cal-cell.has:hover { border-color: var(--border-strong); background: var(--surface-2); }
.cal-cell.past { opacity: .55; }
.cal-cell.today { border-color: var(--red); box-shadow: 0 0 0 1px var(--red) inset; opacity: 1; }
.cal-cell.selected { border-color: var(--red-hi); background: var(--surface-2); }
.cal-date { display: flex; align-items: center; justify-content: space-between; }
.cal-date b { font: 800 20px/1 var(--display); }
.cal-cell.today .cal-date b { color: var(--red-hi); }
.cal-date span { font: 700 11px/1 var(--display); padding: 3px 6px; border-radius: 999px; background: var(--surface-3); color: var(--text-2); }
.cal-game { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 6px; align-items: center; font-size: 11.5px; line-height: 1.2; font-weight: 600; color: var(--text-2); }
.cal-game img { width: 46px; aspect-ratio: 231 / 87; object-fit: cover; border-radius: 3px; }
.cal-game span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-game:hover span { color: #fff; }
.cal-game.followed span { color: #fff; }
.cal-game svg { color: var(--red-hi); }
.cal-more { margin-top: auto; font: 700 12px/1 var(--display); letter-spacing: .06em; color: var(--red-hi); text-transform: uppercase; }
.cal-day-panel { margin-top: 14px; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--red-line); animation: pop .25s ease; }
.cal-day-panel header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.cal-day-panel h3, .cal-day h3 span { font: 800 22px/1 var(--display); text-transform: uppercase; }
.cal-day-panel header em, .cal-day h3 em { font: 700 13px/1 var(--display); font-style: normal; letter-spacing: .08em; padding: 4px 8px; border-radius: 4px; background: var(--red); color: #fff; }
.cal-day-panel header .btn { margin-left: auto; }
.cal-list { display: grid; gap: 22px; }
.cal-day h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--border); scroll-margin-top: calc(var(--header-h) + 16px); }
.cal-day h3 small { margin-left: auto; color: var(--text-3); font-size: 12.5px; font-weight: 500; }
.cal-day.past { opacity: .6; }
.cal-day.today h3 span { color: var(--red-hi); }
.cal-day { scroll-margin-top: calc(var(--header-h) + 16px); }
.cal-note { margin-top: 26px; display: flex; gap: 6px; align-items: center; }

/* Comptes */
.auth { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 40px; align-items: start; max-width: 1060px; margin: 2vh auto 0; }
.auth-card { padding: clamp(22px, 3vw, 34px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--red); }
.auth-card h1, .result-card h1 { font: 800 40px/1 var(--display); text-transform: uppercase; margin-bottom: 8px; }
.auth-card > .muted { margin-bottom: 22px; }
.auth-aside { padding: 28px; border-radius: var(--radius); background: radial-gradient(500px 260px at 100% 0%, rgba(229, 17, 43, .2), transparent 70%), var(--bg-elev); border: 1px solid var(--border); }
.auth-aside .perks { margin: 14px 0 0; }
.stack-form { display: grid; gap: 14px; }
.pw { position: relative; }
.pw .input { padding-right: 44px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; background: none; color: var(--text-3); display: grid; place-items: center; }
.pw-toggle:hover { color: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
fieldset.prefs { border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px 14px; margin: 0; display: grid; gap: 9px; }
fieldset.prefs legend { padding: 0 6px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.form-error { padding: 10px 12px; border-radius: 6px; background: rgba(251, 191, 36, .1); border: 1px solid rgba(251, 191, 36, .35); color: #fde68a; font-size: 14px; }
.input.invalid { border-color: #fbbf24; }
.auth-switch { text-align: center; color: var(--text-3); font-size: 14px; }
.auth-switch a, .hint a { color: var(--red-hi); }
.result-card { max-width: 520px; margin: 6vh auto 0; padding: 34px; text-align: center; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--red); display: grid; gap: 14px; justify-items: center; }
.result-card .field { text-align: left; width: 100%; }
.result-ic { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: var(--red-soft); color: var(--red-hi); }
.result-ic.ok { background: rgba(74, 222, 128, .12); color: var(--s-released); }
.verify-banner { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.verify-banner > div { flex: 1; min-width: 220px; }
.account-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.prefs-list { display: grid; gap: 4px; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 4px; border-bottom: 1px solid var(--border); cursor: pointer; }
.toggle-row:last-child { border-bottom: 0; }
.toggle-row b { display: block; font-size: 15px; }
.toggle-row small { color: var(--text-3); font-size: 13px; }
.switch { appearance: none; flex: none; width: 46px; height: 26px; border-radius: 999px; background: var(--surface-3); border: 1px solid var(--border-strong); position: relative; cursor: pointer; transition: background .2s; }
.switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch:checked { background: var(--red); border-color: var(--red); }
.switch:checked::after { transform: translateX(20px); }
.fol-row { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 10px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.fol-row img { width: 140px; aspect-ratio: 460 / 215; object-fit: cover; border-radius: 6px; }
.fol-main { display: grid; gap: 6px; min-width: 0; }
.fol-name { font: 700 20px/1.1 var(--display); }
.fol-name:hover { color: var(--red-hi); }
.fol-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 13px; }
.fol-count { font: 800 22px/1 var(--display); color: var(--red-hi); white-space: nowrap; }
.danger-zone { margin-top: 40px; padding: 14px 18px; border-radius: var(--radius); border: 1px dashed rgba(229, 17, 43, .35); }
.danger-zone summary { cursor: pointer; color: var(--text-3); font-size: 14px; }
.danger-zone form { margin-top: 14px; max-width: 420px; }
.prose { max-width: 760px; }
.prose h1 { font: 800 clamp(36px, 5vw, 52px)/1 var(--display); text-transform: uppercase; margin-bottom: 18px; }
.prose h2 { font: 800 24px/1.1 var(--display); text-transform: uppercase; margin: 30px 0 10px; }
.prose p, .prose li { color: var(--text-2); line-height: 1.75; }
.prose ul { padding-left: 20px; display: grid; gap: 8px; }
.prose a { color: var(--red-hi); }
.quick { display: grid; gap: 14px; }

/* Administration */
.kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.kpi { padding: 16px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); display: grid; gap: 2px; }
.kpi b { font: 800 36px/1 var(--display); color: #fff; }
.kpi span { font: 700 13px/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.kpi small { color: var(--text-3); font-size: 12px; }
.admin-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.mail-preview { width: 100%; height: 560px; border: 1px solid var(--border-strong); border-radius: 8px; background: #09090b; }
.campaigns { border-top: 1px solid var(--border); display: grid; gap: 8px; }
.campaign { font-size: 14px; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; padding: 10px 12px; font: 700 12.5px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); background: var(--bg-elev); border-bottom: 1px solid var(--border); }
.table td { padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table .ellipsis { max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nowrap { white-space: nowrap; }
.prefs-icons { display: flex; gap: 6px; color: var(--red-hi); }
.modal.wide { width: min(900px, 100%); }

/* Calendrier sur 12 mois */
.mstrip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(96px, 1fr); gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 14px; padding-bottom: 2px; }
.mstrip::-webkit-scrollbar { display: none; }
.mstrip a { display: grid; gap: 1px; padding: 10px 12px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); transition: border-color .15s, background .15s; }
.mstrip a:hover { border-color: var(--border-strong); background: var(--surface-2); }
.mstrip a.active { border-color: var(--red); background: linear-gradient(160deg, rgba(229, 17, 43, .25), var(--surface) 70%); }
.mstrip b { font: 800 19px/1 var(--display); text-transform: uppercase; }
.mstrip span { font-size: 11px; color: var(--text-3); }
.mstrip small { font-size: 11.5px; color: var(--text-2); margin-top: 3px; }
.mstrip a.active small { color: #fff; }
.mstrip-all { background: var(--bg-elev) !important; border-style: dashed !important; }
.mstrip-all.active { border-style: solid !important; }
.year-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 16px; }
.ymonth { padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); display: grid; gap: 12px; align-content: start; }
.ymonth header { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.ymonth h2 { font: 800 26px/1 var(--display); text-transform: uppercase; }
.ymonth header a:hover h2 { color: var(--red-hi); }
.ymonth header span { font-size: 12.5px; color: var(--text-3); }
.ymonth .rel-row { background: var(--bg-elev); }
.rel-date { color: var(--red-hi); font-weight: 700; }

/* Les plus attendus (accueil) */
.hype-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.hype-card { scroll-snap-align: start; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--border); transition: transform .2s, border-color .2s; }
.hype-card:hover { transform: translateY(-3px); border-color: var(--red-line); }
.hype-card.followed { border-color: var(--red); }
.hype-media { position: relative; display: block; aspect-ratio: 460 / 215; overflow: hidden; background: var(--surface-2); }
.hype-media img { width: 100%; height: 100%; object-fit: cover; }
.hype-n { position: absolute; left: 8px; top: 8px; padding: 3px 8px; border-radius: 4px; background: rgba(8, 8, 10, .8); color: #fff; font: 800 18px/1 var(--display); border: 1px solid rgba(255, 255, 255, .15); }
.hype-card:nth-child(-n+3) .hype-n { background: var(--red); border-color: var(--red); }
.hype-body { padding: 10px 12px 12px; display: grid; gap: 8px; flex: 1; align-content: space-between; }
.hype-name { font: 700 18px/1.1 var(--display); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hype-name:hover { color: var(--red-hi); }
.hype-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hype-date { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--text-2); }
.hype-date.dated { color: #fff; font-weight: 600; }
.hype-date em { font-style: normal; padding: 1px 6px; border-radius: 3px; background: var(--red); color: #fff; font: 700 11.5px/1.4 var(--display); }
.auto-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; color: var(--text-2); }
.auto-list li { display: flex; align-items: center; gap: 8px; }
.auto-list svg { color: var(--s-released); flex: none; }

@media (max-width: 680px) {
  .year-grid { grid-template-columns: minmax(0, 1fr); }
  .mstrip { grid-auto-columns: 92px; }
}

/* Fiche jeu : jour J et heure */
.gh-jday { margin-left: 6px; padding: 3px 8px; border-radius: 4px; background: var(--red); color: #fff; font: 800 13px/1.2 var(--display); letter-spacing: .06em; }
.time-edit { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); display: grid; gap: 8px; font-size: 13px; }
.time-edit .input { width: 130px; }

@media (max-width: 1180px) {
  .hero-grid, .admin-grid, .account-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-side { grid-template-columns: 1fr 1fr; }
  .week { grid-template-columns: repeat(7, 200px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .wday { scroll-snap-align: start; }
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .auth { grid-template-columns: minmax(0, 1fr); }
  .auth-aside { order: 2; }
}
@media (max-width: 960px) {
  .nav-extra { display: block; }
  body.menu-open .nav-extra { color: var(--red-hi); }
  .header-acct { margin-left: auto; }
  .hide-sm { display: none; }
  .only-sm { display: inline-flex; }
  .acct { padding: 3px; }
  .acct-name { display: none; }
  .join { grid-template-columns: minmax(0, 1fr); }
  .join-art { display: none; }
  .cal-cell { min-height: 110px; }
  .cal-game { grid-template-columns: minmax(0, 1fr); }
  .cal-game img, .cal-game svg { display: none; }
  .slide-body { padding: 22px 22px 150px; }
  .slide .feature-score { left: 22px; right: auto; bottom: 70px; grid-auto-flow: column; align-items: center; }
  .slide .feature-score .scorebox.xl { width: 72px; height: 72px; } .slide .feature-score .scorebox.xl b { font-size: 34px; } .slide .feature-score .scorebox.xl span { font-size: 11px; }
  .car-dots { left: 22px; right: 22px; }
  .car-dot-name { display: none; }
}
@media (max-width: 680px) {
  .hero-side { grid-template-columns: minmax(0, 1fr); }
  .carousel, .slide { min-height: 520px; }
  .cal-grid { gap: 3px; }
  .cal-head { font-size: 11px; padding: 4px 0; letter-spacing: .04em; }
  .cal-cell { min-height: 58px; padding: 5px; }
  .cal-game, .cal-more { display: none; }
  .cal-date { flex-direction: column; align-items: flex-start; gap: 4px; }
  .cal-date b { font-size: 16px; }
  .cal-month { font-size: 22px; min-width: 0; }
  .countdown div { min-width: 62px; padding: 10px 4px 8px; }
  .countdown b { font-size: 30px; }
  .rel-row { grid-template-columns: 84px minmax(0, 1fr) auto; gap: 10px; }
  .rel-row img { width: 84px; }
  .rel-list.cols { grid-template-columns: minmax(0, 1fr); }
  .fol-row { grid-template-columns: 96px minmax(0, 1fr); }
  .fol-row img { width: 96px; }
  .fol-count, .fol-row .btn { grid-column: 2; justify-self: start; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bigrel { min-height: 0; }
  .bigrel-shade { background: linear-gradient(180deg, rgba(8, 8, 10, .55), rgba(8, 8, 10, .95) 55%); }
}
