/* =====================================================================
   THE GAME MASTER — site public
   Noir, rouge sang, os. Titres en Anton (affiche), voix du maître du jeu
   en Special Elite (machine à écrire). Polices hébergées sur le site.
   Thème sombre unique (choix d'identité).
   ===================================================================== */
/* 2.78.4 : polices déclarées dans polices.css (écrite dans la page par layout.php), une seule fois par page */
:root {
  --bg: #000000; --bg2: #0b0b0c; --bg3: #141416; --line: #27272b;
  --ink: #ece8df; --dim: #96928b; --faint: #7e7b75;
  --brass: #d11a26; --brass2: #ff3b47; --blood: #7a0a12; --brass-sm: #ec3a46;   /* rouge des petits textes (< 14 px) : même teinte, plus lisible sur noir */
  --serif: "Anton", Impact, Haettenschweiler, "Roboto Condensed", "Arial Narrow", sans-serif;
  --type: "Special Elite", "Courier New", Courier, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --gut: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--bg); color: var(--ink);
  font: 16px/1.6 var(--sans); overflow-x: hidden; }
main { flex: 1; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; text-wrap: balance; text-transform: uppercase; letter-spacing: .012em; line-height: 1.02; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
[hidden] { display: none !important; }

.grain { position: fixed; inset: -50%; z-index: 50; pointer-events: none; opacity: .07; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-4%); } 60% { transform: translate(-2%,3%); } 80% { transform: translate(4%,-1%); } 100% { transform: translate(0,0); } }

/* ------------------------------------------------------------ en-tête */
.top { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px var(--gut); padding-left: max(var(--gut), env(safe-area-inset-left, 0px)); padding-right: max(var(--gut), env(safe-area-inset-right, 0px)); }   /* 2.8.0 (audit FRONT-21) : côtés protégés en paysage */
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 22px; text-decoration: none; letter-spacing: .04em; text-transform: uppercase; }
.brand-mark { width: 26px; height: 26px; fill: var(--brass); filter: drop-shadow(0 0 8px rgba(209,26,38,.7)); }
.top nav { display: flex; gap: clamp(14px, 3vw, 30px); flex-wrap: wrap; }
.top nav a { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--dim); padding: 8px 0; border-bottom: 1px solid transparent; }
.top nav a:hover { color: var(--ink); border-color: var(--brass); }
.foot { padding: 26px var(--gut) calc(26px + env(safe-area-inset-bottom, 0px)); padding-left: max(var(--gut), env(safe-area-inset-left, 0px)); padding-right: max(var(--gut), env(safe-area-inset-right, 0px)); border-top: 1px solid var(--line); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.foot-top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 16px; font-size: 13px; letter-spacing: 0; text-transform: none; }
.foot-nav a { color: var(--dim); text-decoration: none; padding: 6px 0; } .foot-nav a:hover { color: var(--ink); text-decoration: underline; }
.foot span:last-child { font-family: var(--type); text-transform: none; letter-spacing: 0; font-size: 15px; }

/* ------------------------------------------------------------ éléments communs */
.wrap { width: min(1120px, 100%); margin: 0 auto; padding: clamp(36px, 7vw, 80px) var(--gut); padding-left: max(var(--gut), env(safe-area-inset-left, 0px)); padding-right: max(var(--gut), env(safe-area-inset-right, 0px)); }
.wrap.narrow { width: min(620px, 100%); }
.wrap.page { padding-top: clamp(28px, 6vw, 64px); }
.legal-crumbs { padding-bottom: 0 !important; } .legal-crumbs + .wrap.page { padding-top: 0 !important; }   /* 2.12.0 (audit FRONT-18) : fil d'Ariane des pages légales */
.eyebrow { margin: 0 0 14px; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--brass-sm); }
.h-page { font-size: clamp(38px, 8vw, 76px); line-height: 1; letter-spacing: -.01em; margin-bottom: 20px; overflow-wrap: anywhere; }   /* 1.94.1 : un pseudo long d'un seul mot ne sort plus de l'écran (profil) */
.h-page em { color: var(--brass); font-style: normal; }
.lede { font-family: var(--type); font-size: clamp(19px, 2.6vw, 24px); line-height: 1.4; color: #d2cbbd; margin: 0 0 22px; max-width: 34em; }
.note, .empty { color: var(--dim); font-size: 15px; }
.empty { font-family: var(--type); font-size: 19px; padding: 24px 0; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 26px; }
.sec-head h2 { font-size: clamp(24px, 4vw, 34px); }
.sec-head a { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); text-decoration: none; padding: 10px 0; }
.sec-head a:hover { color: var(--brass); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 26px; border: 1px solid var(--ink); background: none; color: var(--ink);
  font: 500 13px var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--ink); color: var(--bg); }
.btn.solid { background: var(--brass); border-color: var(--brass); color: #fff; }
.btn.solid:hover { background: #e3202c; border-color: #e3202c; }   /* 1.86.0 (A11Y-11, accord) : un rouge à peine plus clair qu'au repos, texte blanc lisible (4,7:1 au lieu de 3,5:1 avec #ff3b47) */
.btn.ghost { border-color: var(--line); color: var(--dim); }
.btn[disabled] { opacity: .4; pointer-events: none; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.diff { display: inline-flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.diff-l { font-size: 12px; letter-spacing: .08em; color: var(--dim); }
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.dots i.on { background: var(--brass); }

/* ------------------------------------------------------------ accueil */
.band { border-block: 1px solid var(--line); background: var(--bg2); }

/* ------------------------------------------------------------ affiches */
.posters { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: clamp(18px, 3vw, 34px); }
.poster { display: flex; flex-direction: column; text-decoration: none; }
.poster-art { position: relative; aspect-ratio: 2 / 3; overflow: hidden; background: linear-gradient(160deg, #1d1b18, #0c0b0a 70%); border: 1px solid var(--line); display: flex; align-items: flex-end; }
.poster-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .6s; filter: saturate(.85) brightness(.9); }
.poster:hover .poster-art img { transform: scale(1.04); filter: none; }
.poster-art::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), inset 0 -80px 80px -40px rgba(0,0,0,.7); pointer-events: none; }
.poster-type { padding: 20px; text-transform: uppercase; font-family: var(--serif); font-size: clamp(28px, 4vw, 40px); line-height: 1; }
.poster-body { padding: 14px 2px 0; display: flex; flex-direction: column; gap: 4px; }
.poster-title { font-family: var(--serif); font-size: 24px; line-height: 1.1; text-transform: uppercase; letter-spacing: .02em; }
.poster:hover .poster-title { color: var(--brass2); }
.poster-tag { color: var(--dim); font-size: 14px; }
.poster-meta { font-size: 13px; color: var(--dim); margin-top: 4px; }
.poster .diff { margin-top: 8px; }

/* ------------------------------------------------------------ fiche jeu */
.game { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.game-art { aspect-ratio: 2 / 3; border: 1px solid var(--line); background: linear-gradient(160deg, #1d1b18, #0c0b0a 70%); display: flex; align-items: flex-end; overflow: hidden; }
.game-art img { width: 100%; height: 100%; object-fit: cover; }
.prose { color: #c9c2b4; max-width: 38em; margin-bottom: 26px; }
@media (max-width: 760px) { .game { grid-template-columns: 1fr; } .game-art { max-width: 260px; } }

/* ------------------------------------------------------------ tableaux, chiffres */
.board { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.board th { text-align: left; font: 500 12px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--faint); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.board td { padding: 12px 10px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.board td:first-child { color: var(--dim); }
.board tbody tr:first-child td { color: var(--brass2); }
.board.steps tbody tr:first-child td { color: inherit; } .board.steps td:first-child { color: var(--ink); } .board.steps tr.off td { color: var(--faint); }
.board small { color: var(--faint); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 26px 0; }
.stats > div { background: var(--bg); padding: 16px; }
.stats dt { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.stats dd { margin: 4px 0 0; font-family: var(--serif); font-size: clamp(26px, 6vw, 38px); line-height: 1; font-variant-numeric: tabular-nums; }
.meta-line { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.rules { margin: 22px 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.rules li { padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); color: #c9c2b4; position: relative; font-size: 15px; }
.rules li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 8px; height: 1px; background: var(--brass); }

/* ------------------------------------------------------------ formulaires */
.form { display: flex; flex-direction: column; gap: 18px; margin-top: 8px; align-items: flex-start; }
.form.inline { flex-direction: row; flex-wrap: wrap; align-items: center; }
.form label { display: flex; flex-direction: column; gap: 8px; width: 100%; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.form input { width: 100%; min-height: 52px; padding: 12px 14px; background: var(--bg2); border: 1px solid var(--line); border-radius: 0; color: var(--ink); font: 17px var(--sans); letter-spacing: 0; text-transform: none; }
.form.inline input { width: auto; flex: 1 1 200px; }
.form input:focus { outline: none; border-color: var(--brass); }
.code-input { font: 30px var(--mono) !important; letter-spacing: .4em !important; text-transform: uppercase !important; text-align: center; }
.form-msg { margin: 0; min-height: 1.4em; color: #e58a76; font-size: 15px; width: 100%; }
.form-msg.good { color: #9fc79a; }
.links { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 26px; font-size: 14px; color: var(--dim); }
.two { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); }
@media (max-width: 800px) { .two { grid-template-columns: 1fr; } }
.runs { list-style: none; margin: 0; padding: 0; }
.runs li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.runs a { text-decoration: none; font-family: var(--serif); font-size: 20px; text-transform: uppercase; letter-spacing: .02em; } .runs a:hover { color: var(--brass2); }
.runs span { color: var(--dim); font-size: 13px; text-align: right; font-variant-numeric: tabular-nums; }
.checks { list-style: none; padding: 0; margin: 0 0 24px; font-size: 15px; } .checks li { padding: 8px 0; border-bottom: 1px solid var(--line); } .checks .ok { color: #9fc79a; } .checks .ko { color: #e58a76; }
.v-setup .form-msg.on { margin-bottom: 14px; }

@media (prefers-reduced-motion: reduce) { .grain { animation: none; } .poster-art img { transition: none; } }

/* ------------------------------------------------------------ fiche jeu : repères */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 0 0 26px; }
.facts > div { background: var(--bg); padding: 14px 16px; }
.facts dt { font-size: 12px; color: var(--dim); margin-bottom: 6px; }
.facts dd { margin: 0; font: 400 22px/1.1 var(--serif); text-transform: uppercase; letter-spacing: .02em; display: flex; flex-direction: column; gap: 8px; }
/* ------------------------------------------------------------ classement */
.crumb { margin: 0 0 12px; font: 16px var(--type); color: var(--dim); } .crumb a { color: var(--brass2); text-decoration: none; } .crumb a::before { content: "‹ "; }
/* 1.39 — fil d'Ariane (fiches et classements des jeux) */
.crumbs { margin: 0 0 8px; font: 15px var(--type); color: var(--dim); } .crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: baseline; }
.crumbs li + li::before { content: "›"; margin: 0 .55em; color: var(--faint); } .crumbs a { display: inline-block; padding: 6px 0; color: var(--brass2); text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.game-info .crumbs { text-shadow: 0 1px 10px #000, 0 0 2px #000; }
.tabs-row { display: flex; gap: 14px 30px; flex-wrap: wrap; justify-content: space-between; margin: 10px 0 30px; }
.tabs { display: flex; flex-wrap: wrap; border: 1px solid var(--line); }
.tabs a { padding: 12px 18px; min-height: 46px; text-decoration: none; font-size: 14px; color: var(--dim); border-right: 1px solid var(--line); } .tabs a:last-child { border-right: 0; }
.tabs a:hover { color: var(--ink); } .tabs a.on { background: var(--brass); color: #fff; }
.podium { list-style: none; margin: 0 0 34px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: end; }
.podium li { display: flex; flex-direction: column; gap: 4px; padding: 18px 16px 20px; background: var(--bg2); border: 1px solid var(--line); border-top: 3px solid var(--faint); min-width: 0; }
.podium .p1 { border-top-color: var(--brass); padding-top: 34px; background: linear-gradient(rgba(209,26,38,.16), var(--bg2) 70%); box-shadow: 0 0 70px rgba(209,26,38,.14); }
.podium .p2 { padding-top: 24px; }
.pod-rank { font: 400 clamp(40px, 7vw, 84px)/.9 var(--serif); color: var(--faint); } .p1 .pod-rank { color: var(--brass); }
.pod-name { font: 400 clamp(18px, 2.6vw, 30px)/1.05 var(--serif); text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod-val { font: 400 clamp(22px, 3.4vw, 40px)/1 var(--serif); font-variant-numeric: tabular-nums; margin-top: 6px; } .pod-sub { font-size: 13px; color: var(--dim); }
.board.rank td, .board.rank th { text-align: right; } .board.rank td:nth-child(2), .board.rank th:nth-child(2), .board.rank td:first-child, .board.rank th:first-child { text-align: left; }
.board.rank td:nth-child(2) { color: var(--ink); font-weight: 500; }
.board.rank .key { color: var(--ink); } .board.rank td.key { font: 400 20px var(--serif); letter-spacing: .02em; } .board.rank th.key { color: var(--brass2); }
.board.rank tbody tr:first-child td { color: inherit; }
@media (max-width: 340px) { .board th, .board td { padding-left: 6px; padding-right: 6px; } .board th { letter-spacing: .08em; } }   /* 1.94.1 : très petits écrans ou texte agrandi (le classement d'une fiche dépassait de 11 px) */
.medal { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; padding: 0 6px; font: 400 17px var(--serif); color: var(--dim); }
.pod .medal { background: var(--bg3); color: var(--ink); } .pod1 .medal { background: var(--brass); color: #fff; }
@media (max-width: 640px) { .board.rank .opt { display: none; } .podium { grid-template-columns: 1fr; } .podium .p1, .podium .p2 { padding-top: 18px; } .podium li { flex-direction: row; align-items: baseline; gap: 12px; } .pod-rank { font-size: 34px; } .pod-val { margin: 0 0 0 auto; } .pod-sub { display: none; } }

/* ------------------------------------------------------------ pages légales */
.legal h2 { font-size: clamp(22px, 3.4vw, 30px); margin: 40px 0 12px; }
.legal p, .legal li { color: #cfcbc2; max-width: 68ch; } .legal .lede { color: #e6e2d9; }
.legal ul { padding-left: 20px; } .legal li { margin: 6px 0; } .legal a { color: var(--brass2); }
.legal-nav { display: flex; flex-wrap: wrap; border: 1px solid var(--line); margin: 6px 0 30px; }
.legal-nav a { flex: 1 1 auto; padding: 12px 14px; text-align: center; text-decoration: none; font-size: 14px; color: var(--dim) !important; border-right: 1px solid var(--line); } .legal-nav a:last-child { border-right: 0; }
.legal-nav a.on { background: var(--brass); color: #fff !important; }
.legal .board td, .legal .board th { vertical-align: top; } .legal .board td:first-child { color: var(--ink); } .legal .board tbody tr:first-child td { color: inherit; } .legal .board tbody tr:first-child td:first-child { color: var(--ink); }
.kv { margin: 16px 0; border-top: 1px solid var(--line); } .kv > div { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); } .kv dt { color: var(--dim); } .kv dd { margin: 0; }
.todo { background: #5a0a10; color: #ffd9dc; padding: 1px 6px; } .legal-date { margin-top: 44px; font-size: 13px; color: var(--faint) !important; }
.legal-line { margin: 0; font-size: 13px; color: var(--dim); max-width: 46ch; } .legal-line a { color: var(--brass2); }
.legal .legal-box, .legal .legal-form { border: 1px solid var(--line); padding: 4px 16px; margin: 14px 0; max-width: 74ch; } .legal .legal-box p, .legal .legal-form p { font-size: 14px; }   /* 2.53.0 : encadrés des garanties légales, formulaire de rétractation */
.btn.danger { border-color: var(--blood); color: #ff8b93; } .btn.danger:hover { background: var(--blood); color: #fff; }

/* ------------------------------------------------------------ téléphone */
html { -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; }
a, button, input, select, label { touch-action: manipulation; }
html { touch-action: manipulation; }   /* 2.78.4 : le site se laisse agrandir à deux doigts (accessibilité) ; pas de zoom au double appui ; l'application installée garde son blocage (html.is-app) */
@media (max-width: 640px) {
  .top { padding: 12px var(--gut) 8px; gap: 6px 12px; }
  .brand { font-size: 19px; } .brand-mark { width: 22px; height: 22px; }
  .top nav { width: 100%; flex-wrap: nowrap; justify-content: space-between; gap: 10px; overflow-x: auto; scrollbar-width: none; } .top nav::-webkit-scrollbar { display: none; }
  .top nav a { font-size: 12px; letter-spacing: .14em; white-space: nowrap; padding: 10px 0; }
  .wrap { padding-block: 34px; } .wrap.page { padding-top: 22px; }
  .h-page { font-size: clamp(34px, 11vw, 52px); margin-bottom: 14px; }
  .cta { gap: 10px; } .cta .btn { flex: 1 1 100%; }
  .form .btn { width: 100%; } .form.inline input { flex-basis: 100%; }
  .sec-head { flex-wrap: wrap; gap: 4px 16px; }
  .stats dd { font-size: 24px; } .stats > div { padding: 12px 10px; }
  .board th, .board td { padding: 10px 6px; font-size: 14px; } .board.steps th:nth-child(3), .board.steps td:nth-child(3) { display: none; }
  .legal .board, .legal .board tbody, .legal .board tr, .legal .board td { display: block; width: 100%; } .legal .board thead { display: none; }
  .legal .board tr { padding: 10px 0; border-bottom: 1px solid var(--line); } .legal .board td { border: 0; padding: 3px 0; }
  .kv > div { grid-template-columns: 1fr; gap: 2px; }
  .tabs { width: 100%; } .tabs a { flex: 1 1 auto; text-align: center; padding: 12px 8px; }
  .foot-top { flex-direction: column; gap: 6px; }
  .game-art { max-width: 200px; } .facts { grid-template-columns: 1fr 1fr; }
  .code-input { font-size: 26px !important; letter-spacing: .3em !important; }
}

/* ---- touches de rouge dans les textes ---- */
.sec-head h2 em, .lede em, .prose em, .empty em, .veil-box em { color: var(--brass); font-style: normal; }
.prose em { color: var(--brass2); }
.tabs a em { font-style: normal; color: var(--brass2); } .tabs a.on em { color: #fff; }
.facts dd.red { color: var(--brass2); }
.sec-head .count { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.lede.sm { font-size: clamp(17px, 2.2vw, 20px); margin-bottom: 18px; }
/* ---- ceux qui ont échoué ---- */
#echecs { margin-top: clamp(40px, 7vw, 80px); scroll-margin-top: 90px; }
.fails { list-style: none; margin: 0 0 18px; padding: 0; border-top: 1px solid var(--line); }
.fails li { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(0, 2.2fr) auto; gap: 4px 20px; align-items: baseline; padding: 14px 10px 14px 16px; border-bottom: 1px solid var(--line); border-left: 2px solid var(--blood); background: linear-gradient(90deg, rgba(122,10,18,.16), transparent 45%); }
.f-name { font-weight: 500; color: var(--ink); text-decoration: line-through; text-decoration-color: var(--brass); text-decoration-thickness: 2px; overflow-wrap: anywhere; }
.f-verdict { font-family: var(--type); color: #d2cbbd; font-size: 16px; line-height: 1.4; }
.f-step { grid-column: 1; grid-row: 2; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass2); }
.f-date { grid-column: 3; grid-row: 1; font-size: 13px; color: var(--faint); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .fails li { grid-template-columns: 1fr auto; padding: 12px 6px 12px 12px; } .f-verdict { grid-column: 1 / -1; grid-row: 3; font-size: 15px; } .f-step { grid-row: 2; grid-column: 1 / -1; } .f-date { grid-column: 2; } }
/* ---- message laissé sur une invitation ---- */
.veil { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,.9); animation: veil-in .5s ease both; }
.veil-box { width: 100%; max-width: 520px; max-height: calc(100dvh - 40px); overflow-y: auto; background: var(--bg2); border: 1px solid var(--blood); border-top: 3px solid var(--brass); padding: clamp(22px, 5vw, 38px); box-shadow: 0 0 80px rgba(209,26,38,.22); }
.veil-box h2 { font-size: clamp(26px, 6vw, 38px); line-height: 1.05; margin: 0 0 18px; }
.veil-text { font-family: var(--type); font-size: clamp(17px, 4.4vw, 20px); line-height: 1.55; color: #e2dccf; white-space: pre-line; overflow-wrap: anywhere; margin: 0 0 26px; }
.veil-box .btn { width: 100%; }
@keyframes veil-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .veil { animation: none; } }
@media (max-width: 640px) { .facts > div:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.facts { display: flex; flex-wrap: wrap; } .facts > div { flex: 1 1 auto; min-width: 104px; } .facts dd { white-space: nowrap; }
@media (max-width: 640px) { .facts > div { flex-basis: 40%; } }

/* =====================================================================
   APPLICATION : barre de menu en bas (téléphone), fenêtre d'installation, transitions
   ===================================================================== */
:root { --tab-h: 0px; }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }
::view-transition-group(tabbar), ::view-transition-old(tabbar), ::view-transition-new(tabbar), ::view-transition-group(topbar), ::view-transition-old(topbar), ::view-transition-new(topbar) { animation: none; }
::view-transition-old(tabbar), ::view-transition-old(topbar) { display: none; }
html { overscroll-behavior-y: none; }
.tabbar { display: none; }
.navbar-load { position: fixed; left: 0; top: 0; z-index: 95; height: 2px; width: 0; background: var(--brass2); box-shadow: 0 0 10px var(--brass); opacity: 0; pointer-events: none; }
.navbar-load.go { opacity: 1; width: 82%; transition: width 6s cubic-bezier(.1, .7, .1, 1); }
.foot-app { background: none; border: 0; padding: 6px 0; font: inherit; color: var(--brass2); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  :root { --tab-h: calc(58px + env(safe-area-inset-bottom, 0px)); }
  body { padding-bottom: var(--tab-h); }
  .top nav { display: none; } .top { justify-content: center; padding-top: calc(12px + env(safe-area-inset-top, 0px)); }
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: flex; height: var(--tab-h); padding: 0 max(4px, env(safe-area-inset-left)) env(safe-area-inset-bottom, 0px) max(4px, env(safe-area-inset-right)); background: rgba(6,6,7,.94); border-top: 1px solid var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .tabbar a { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; position: relative; text-decoration: none; color: var(--dim); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; }
  .tabbar svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
  .tabbar a:nth-child(2) svg { fill: currentColor; stroke: none; }
  .tabbar span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tabbar a.on { color: #fff; } .tabbar a.on svg { color: var(--brass2); filter: drop-shadow(0 0 8px rgba(209,26,38,.8)); }
  .tabbar a.on::before { content: ""; position: absolute; top: -1px; left: 26%; right: 26%; height: 2px; background: var(--brass); box-shadow: 0 0 10px var(--brass); }
  .tabbar a:active svg { transform: scale(.86); }
  /* La barre ne bouge jamais d'une page à l'autre : elle est sortie du fondu de navigation (sinon elle est capturée avec la page
     et glisse avec elle), tient sur son propre calque, et sa hauteur ne dépend plus de la zone de sécurité, lue une fois pour toutes. */
  .tabbar { view-transition-name: tabbar; transform: translateZ(0); will-change: transform; contain: layout; touch-action: manipulation; }   /* 2.14.2 : « paint » retiré : il rognait tout ce qui dépasse de la barre, donc le haut du rond « Jouer » (2.9.0) et le trait de l'onglet actif */
  .top { view-transition-name: topbar; }
  .foot { padding-bottom: 22px; }
  .lp-snd { bottom: calc(var(--tab-h) + 12px) !important; }
  .veil { padding-bottom: calc(20px + var(--tab-h)); }
}
@media (display-mode: standalone) { .foot-app[data-install] { display: none !important; } a, button { -webkit-touch-callout: none; } }   /* 2.8.0 (audit FRONT-02) : avant, « Activer les notifications » disparaissait aussi */
/* ---- fenêtre « Installer l'application » ---- */
.app-sheet { position: fixed; left: 0; right: 0; bottom: var(--tab-h); z-index: 85; display: flex; justify-content: center; padding: 0 12px 12px; pointer-events: none; transform: translateY(120%); opacity: 0; transition: transform .45s cubic-bezier(.2, .9, .2, 1), opacity .3s; }
.app-sheet.in { transform: none; opacity: 1; }
.app-box { pointer-events: auto; width: 100%; max-width: 460px; max-height: calc(100dvh - var(--tab-h) - 30px); overflow-y: auto; background: #0d0d0f; border: 1px solid var(--blood); border-top: 3px solid var(--brass); box-shadow: 0 -10px 60px rgba(0,0,0,.8), 0 0 60px rgba(209,26,38,.18); padding: 18px 18px 16px; }
.app-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.app-head img { width: 52px; height: 52px; border-radius: 12px; border: 1px solid var(--line); flex: none; }
.app-head h2 { font-size: 22px; line-height: 1.05; margin: 0 0 3px; } .app-head h2 em { color: var(--brass); font-style: normal; }
.app-head p { margin: 0; font-size: 13px; color: var(--dim); }
.app-x { margin-left: auto; align-self: flex-start; width: 40px; height: 40px; flex: none; border: 0; background: none; color: var(--dim); font-size: 26px; line-height: 1; cursor: pointer; }
.app-steps { list-style: none; counter-reset: s; margin: 0 0 14px; padding: 0; border-top: 1px solid var(--line); }
.app-steps li { counter-increment: s; display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: #d8d2c6; }
.app-steps li::before { content: counter(s); flex: none; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--brass); color: var(--brass2); font: 400 15px var(--serif); }
.app-steps b { color: #fff; font-weight: 600; } .app-steps svg { width: 20px; height: 20px; vertical-align: -4px; fill: none; stroke: var(--brass2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.app-note { font-size: 13px; color: var(--dim); margin: 0 0 12px; }
.app-acts { display: flex; gap: 10px; } .app-acts .btn { flex: 1; min-height: 48px; padding: 10px 14px; }
@media (min-width: 761px) { .app-sheet { justify-content: flex-end; padding: 0 22px 22px; } .app-box { max-width: 400px; } }
@media (prefers-reduced-motion: reduce) { .app-sheet { transition: none; } .navbar-load { display: none; } }

/* ---- application installée : pas de zoom, tirer pour recharger ---- */
html.is-app { touch-action: pan-x pan-y; } html.is-app body { -webkit-user-select: none; user-select: none; } html.is-app input, html.is-app textarea, html.is-app .prose, html.is-app .legal, html.is-app code { -webkit-user-select: text; user-select: text; }
.ptr { position: fixed; left: 50%; top: env(safe-area-inset-top, 0px); z-index: 96; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #0d0d0f; border: 1px solid var(--line); color: var(--dim); opacity: 0; transform: translate(-50%, -54px); pointer-events: none; box-shadow: 0 6px 20px rgba(0,0,0,.6); }
.ptr svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ptr.ready { color: var(--brass2); border-color: var(--brass); } .ptr.spin svg { animation: ptr-spin .7s linear infinite; }
@keyframes ptr-spin { to { transform: rotate(360deg); } }

/* =====================================================================
   CATALOGUE — affiches compactes, pensées pour beaucoup de jeux sur un téléphone
   ===================================================================== */
.poster-chip { position: absolute; left: 8px; top: 8px; z-index: 1; padding: 3px 8px; background: rgba(0,0,0,.72); border: 1px solid rgba(255,255,255,.14); font-size: 12px; letter-spacing: .08em; color: var(--ink); display: none; }
.cat-bar { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin: 0 0 14px; }
.cat-q { flex: 1 1 220px; min-width: 0; min-height: 46px; padding: 0 14px; background: var(--bg2); border: 1px solid var(--line); color: var(--ink); font: 16px var(--sans); border-radius: 0; -webkit-appearance: none; appearance: none; }
.cat-q:focus { outline: none; border-color: var(--brass); } .cat-q:focus-visible { outline: 2px solid var(--brass2); outline-offset: 2px; }   /* 2.12.0 (audit FRONT-20) : l'anneau du clavier revient */
.cat-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; max-width: 100%; padding-bottom: 2px; } .cat-chips::-webkit-scrollbar { display: none; }
.cat-chips button { flex: none; min-height: 38px; padding: 0 14px; background: none; border: 1px solid var(--line); color: var(--dim); font: 13px var(--sans); letter-spacing: .04em; cursor: pointer; white-space: nowrap; }
.cat-chips button.on { background: var(--brass); border-color: var(--brass); color: #fff; }
.cat-count { margin: 0 0 16px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.poster[hidden] { display: none; }
@media (min-width: 641px) { .posters.grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 28px 24px; } }
@media (max-width: 640px) {
  /* deux affiches par ligne (trois sur un grand téléphone tenu en large), texte réduit à l'essentiel */
  .posters.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .posters .poster-body { padding: 8px 1px 0; gap: 3px; }
  .posters .poster-title { font-size: 16px; line-height: 1.12; letter-spacing: .01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .posters .poster-tag, .posters .poster-meta, .posters .diff-l { display: none; }
  .posters .poster .diff { margin-top: 3px; } .posters .dots { gap: 4px; } .posters .dots i { width: 7px; height: 7px; }
  .posters .poster-chip { display: block; }
  .posters .poster-type { padding: 12px; font-size: 20px; }
  .posters .poster-art::after { box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), inset 0 -40px 40px -24px rgba(0,0,0,.6); }
  .poster:active .poster-art { transform: scale(.975); } .poster-art { transition: transform .12s; }
  /* accueil : une rangée qu'on fait défiler du doigt, au lieu d'une colonne d'affiches géantes */
  .posters.rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut) 6px; scroll-padding-left: var(--gut); }
  .posters.rail::-webkit-scrollbar { display: none; }
  .posters.rail .poster { flex: 0 0 40vw; max-width: 170px; scroll-snap-align: start; }
}
@media (max-width: 640px) and (min-width: 480px) { .posters.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) and (orientation: landscape) { .posters.grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* =====================================================================
   CLASSEMENTS — un bloc par jeu, podium compact
   ===================================================================== */
.rk-jump { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 0 22px; padding-bottom: 2px; } .rk-jump::-webkit-scrollbar { display: none; }
.rk-jump a { flex: none; padding: 9px 14px; border: 1px solid var(--line); color: var(--dim); font-size: 13px; text-decoration: none; white-space: nowrap; } .rk-jump a:hover { color: var(--ink); border-color: var(--brass); }
.rk { border: 1px solid var(--line); background: var(--bg2); padding: clamp(14px, 3vw, 24px); margin-bottom: 20px; scroll-margin-top: 90px; }
.rk-head { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.rk-art { flex: none; width: 64px; aspect-ratio: 2 / 3; background: linear-gradient(160deg, #1d1b18, #0c0b0a 70%); border: 1px solid var(--line); overflow: hidden; } .rk-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rk-info { min-width: 0; } .rk-info h2 { font-size: clamp(20px, 5vw, 30px); line-height: 1.05; margin: 0 0 4px; } .rk-info h2 a { text-decoration: none; } .rk-info h2 em { color: var(--brass); font-style: normal; }
.rk-meta { margin: 0 0 4px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.rk-count { margin: 0; font-size: 14px; color: var(--dim); } .rk-count b { color: var(--ink); font-weight: 600; } .rk-count b.red { color: var(--brass2); } .rk-count span { margin: 0 4px; color: var(--faint); }
.rk-list { list-style: none; margin: 0 0 14px; padding: 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.rk-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto auto; gap: 10px; align-items: baseline; padding: 11px 2px; border-bottom: 1px solid var(--line); }
.rk-n { font: 400 18px var(--serif); color: var(--faint); } .rk-list li.first .rk-n { color: var(--brass2); }
.rk-name { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rk-time { font: 400 18px var(--serif); letter-spacing: .02em; } .rk-list li.first .rk-time { color: var(--brass2); }
.rk-score { font-size: 12px; color: var(--dim); min-width: 62px; text-align: right; }
.rk .btn.rk-all { min-height: 44px; padding: 10px 18px; font-size: 12px; } .empty.sm { font-size: 16px; padding: 6px 0 14px; }
@media (max-width: 640px) { .rk-score { display: none; } .rk-list li { grid-template-columns: 26px minmax(0, 1fr) auto; } .rk .btn.rk-all { width: 100%; } .rk-art { width: 54px; } }
@media (min-width: 900px) { .rk-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; } .rk { margin-bottom: 0; } }
@media (max-width: 760px) { .tabbar a { font-size: 12px; letter-spacing: .05em; } } @media (max-width: 360px) { .tabbar a { font-size: 12px; letter-spacing: .02em; } }
/* ---- inscrits d'une session, sur la page d'entrée ---- */
.rules li .who-list { display: block; margin-top: 4px; color: var(--ink); font-size: 14px; overflow-wrap: anywhere; }

/* ---- « Mise à jour disponible » (application installée) ---- */
.upd { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 22px; background: rgba(0,0,0,.93); animation: veil-in .35s ease both; }
.upd-box { width: 100%; max-width: 420px; text-align: center; background: var(--bg2); border: 1px solid var(--blood); border-top: 3px solid var(--brass); padding: clamp(24px, 6vw, 38px); box-shadow: 0 0 80px rgba(209,26,38,.25); }
.upd-box img { border-radius: 14px; border: 1px solid var(--line); margin-bottom: 14px; } .upd-box .eyebrow { margin-bottom: 8px; }
.upd-box h2 { font-size: clamp(28px, 7vw, 40px); line-height: 1.05; margin: 0 0 14px; } .upd-box h2 em { color: var(--brass); font-style: normal; }
.upd-note { color: #d2cbbd; font-size: 16px; line-height: 1.5; margin: 0 0 24px; overflow-wrap: anywhere; } .upd-box .btn { width: 100%; }
/* 2.0.0 : ce qui change dans la mise à jour — la liste défile, l'en-tête et le bouton restent visibles */
.upd { padding: max(22px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(22px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.upd-box { max-height: 100%; overflow-y: auto; overscroll-behavior: contain; }   /* sans liste aussi : tient dans l'écran (téléphone en paysage) */
.upd-box.has-list { display: flex; flex-direction: column; overflow: hidden; max-width: 460px; padding: clamp(20px, 5vw, 32px); }
.upd-box.has-list .upd-top { flex: 0 0 auto; max-height: 48%; min-height: 0; overflow-y: auto; }   /* un long message court se replie aussi ; 2.18.0 : le titre garde sa place (avant : coupé quand la liste était longue), la liste défile */ .upd-box.has-list img { width: 44px; height: 44px; margin-bottom: 10px; }
.upd-box.has-list h2 { font-size: clamp(26px, 6.4vw, 36px); margin-bottom: 10px; } .upd-box.has-list .upd-note { margin-bottom: 14px; font-size: 15px; }
.upd-list { flex: 1 1 auto; min-height: 64px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; text-align: left; margin: 0 -4px 18px; padding: 12px 4px 4px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.upd-list:focus-visible { outline: 2px solid var(--brass2); outline-offset: 2px; }
.upd-lead { margin: 0 0 10px; color: var(--dim); font-size: 14px; }
.upd-g + .upd-g { margin-top: 14px; }
.upd-g h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.upd-g h3::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--brass2); }
.upd-improve h3::before { background: #e0b44c; } .upd-fix h3::before { background: #5fbf7f; } .upd-perf h3::before { background: #5aa8e6; } .upd-security h3::before { background: #b39ddb; }
.upd-g ul { margin: 0; padding: 0 0 0 16px; } .upd-g li { color: #d2cbbd; font-size: 15px; line-height: 1.45; margin: 0 0 6px; overflow-wrap: anywhere; }
.upd-g li::marker { color: var(--faint); }
.upd-box.has-list .btn { flex: none; }
@media (max-height: 560px) { .upd-box.has-list img { display: none; } .upd-box.has-list h2 { font-size: 24px; } }

.app-tip { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); } .code-chip { display: inline-block; padding: 2px 8px; border: 1px solid var(--brass); color: #fff; font-family: var(--mono); letter-spacing: .14em; -webkit-user-select: all; user-select: all; }

/* Session en direct pas encore ouverte : quand revenir */
.shut { margin: 22px 0 18px; padding: 18px 18px 16px; border: 1px solid var(--brass); text-align: center; }
.shut .eyebrow { margin: 0 0 8px; }
.shut-when { margin: 0; font-size: 21px; line-height: 1.35; color: #fff; } .shut-when b { display: block; font-weight: 400; font-size: 26px; }
.shut-left { margin: 10px 0 0; font-family: var(--mono); font-size: 14px; letter-spacing: .06em; opacity: .8; }

/* Inscription : e-mail de validation envoyé */
.mailbox { margin: 26px 0 0; padding: 22px 20px 18px; border: 1px solid var(--brass); background: var(--bg2); }
.mailbox .eyebrow { margin: 0 0 10px; }
.mailbox h2 { margin: 0 0 12px; font-size: clamp(24px, 6vw, 34px); line-height: 1.1; }
.mailbox p { margin: 0 0 12px; line-height: 1.55; } .mailbox b { color: #fff; word-break: break-all; }
.mailbox .btn { margin-top: 4px; } .mailbox .form-msg { margin-top: 10px; }
/* 2.55.2 — Orange, SFR, Free, La Poste : conseil sous le champ e-mail de l'inscription, et note dans « Regardez vos e-mails » */
.form label small.fhint.fai-hint { color: var(--ink); border-left: 2px solid var(--brass-sm); padding: 6px 0 6px 10px; margin-top: 8px; }
.form label small.fhint.fai-hint.fai-in { animation: fai-in .35s ease-out; }
@keyframes fai-in { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .form label small.fhint.fai-hint.fai-in { animation: none; } }
.mailbox p.fai-note { border-left: 2px solid var(--brass-sm); padding-left: 12px; color: var(--ink); }
.mailbox p.fai-note a { color: var(--brass2); }

/* ------------------------------------------------------------ tournois (1.24) */
.tn .tn-facts { margin: 6px 0 4px; }
.tn-state { margin: 26px 0 18px; padding: 20px 18px 18px; border: 1px solid var(--line); text-align: center; background: var(--bg2); }
.tn-state.shut, .tn-state.on { border-color: var(--brass); } .tn-state.on { box-shadow: 0 0 34px rgba(209,26,38,.28); }
.tn-state .eyebrow { margin: 0 0 8px; } .tn-state .form { margin-top: 16px; } .tn-state .btn { width: 100%; } .tn-state a { color: var(--brass2); }
.tn-in { margin: 0 0 12px; padding: 12px 14px; border-left: 3px solid var(--brass); background: var(--bg2); font-size: 16px; } .tn-in b { color: var(--brass2); font-weight: 400; text-transform: uppercase; letter-spacing: .12em; }
.tn .form .btn.solid { width: 100%; } .tn .form + .form { margin-top: 10px; }
.tn .sec-head { margin-top: 44px; }
.tn-prizes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.tn-prizes li { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 13px 2px; border-bottom: 1px solid var(--line); font-size: 17px; }
.tn-prizes span { font: 400 20px var(--serif); color: var(--faint); } .tn-prizes li:first-child span { color: var(--brass2); } .tn-prizes li:first-child { font-size: 19px; color: #fff; }
.tn-names { color: #c9c2b4; line-height: 1.8; overflow-wrap: anywhere; }
.tn-board li.me { background: rgba(209,26,38,.1); box-shadow: inset 3px 0 0 var(--brass); } .tn-board small { color: var(--dim); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-left: 6px; }
.tn-podium { list-style: none; margin: 14px 0 6px; padding: 0; display: grid; gap: 10px; }
.tn-podium li { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 2px 12px; text-align: left; padding: 12px 14px; border: 1px solid var(--line); background: var(--bg); }
.tn-podium .tn-rank { grid-row: span 3; font: 400 34px/1 var(--serif); color: var(--faint); align-self: center; } .tn-podium li.p1 { border-color: var(--brass); } .tn-podium li.p1 .tn-rank { color: var(--brass2); }
.tn-podium b { font: 400 22px var(--serif); letter-spacing: .02em; overflow-wrap: anywhere; } .tn-podium span:not(.tn-rank) { color: var(--dim); font-size: 13px; letter-spacing: .08em; } .tn-podium em { font-style: normal; color: var(--brass2); font-size: 15px; }
.tn-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-bottom: 40px; }
.tn-card { display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px; border: 1px solid var(--line); background: var(--bg2); text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.tn-card:hover { border-color: var(--brass); transform: translateY(-2px); } .tn-card b { font: 400 26px/1.05 var(--serif); letter-spacing: .01em; text-transform: uppercase; }
.tn-tag { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--brass2); } .tn-meta { color: var(--dim); font-size: 13px; letter-spacing: .04em; margin: 0; }
.tn-hall { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.tn-hall article { padding: 16px 18px; border: 1px solid var(--line); } .tn-hall h3 { margin: 0 0 4px; font: 400 22px var(--serif); text-transform: uppercase; } .tn-hall h3 a { color: var(--ink); text-decoration: none; } .tn-hall h3 a:hover { color: var(--brass2); }
.tn-hall ol { list-style: none; margin: 12px 0 0; padding: 0; } .tn-hall li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 0 8px; padding: 7px 0; border-top: 1px solid var(--line); }
.tn-hall li span { font: 400 17px var(--serif); color: var(--faint); grid-row: span 2; } .tn-hall li.p1 span, .tn-hall li.p1 b { color: var(--brass2); } .tn-hall li b { font-weight: 400; overflow-wrap: anywhere; } .tn-hall li em { font-style: normal; color: var(--dim); font-size: 13px; }
.tn-badge { color: var(--brass2) !important; }
.tn-strip { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; padding: 18px clamp(16px, 4vw, 48px); border-top: 1px solid var(--brass); border-bottom: 1px solid var(--brass); background: linear-gradient(90deg, rgba(209,26,38,.16), rgba(209,26,38,.03)); color: var(--ink); text-decoration: none; position: relative; z-index: 2; }
.tn-strip b { font: 400 clamp(22px, 4vw, 30px)/1 var(--serif); text-transform: uppercase; } .tn-strip .tn-go { margin-left: auto; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--brass2); } .tn-strip:hover .tn-go { text-decoration: underline; }
@media (max-width: 640px) { .tn-board .rk-score { display: block; } .tn-board .rk-time { display: none; } }

/* ------------------------------------------------------------ paiements (1.25) */
.pay-msg { margin: 0 0 16px; padding: 12px 14px; border: 1px solid var(--line); border-left: 3px solid var(--dim); background: var(--bg2); font-size: 15px; }
.pay-msg.good { border-left-color: #3f9a4a; color: #d8f0da; }
.tn-code { margin-top: 14px; } .tn-code summary { cursor: pointer; color: var(--dim); font-size: 14px; letter-spacing: .06em; padding: 8px 0; } .tn-code[open] summary { color: var(--ink); }

/* ------------------------------------------------------------ profil : parties rangées par jeu (1.25) */
.pg-sum { margin: 0 0 12px; color: var(--dim); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.pg { border-top: 1px solid var(--line); }
.pg-game { border-bottom: 1px solid var(--line); }
.pg-game summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t d" "m m"; gap: 2px 12px; padding: 14px 30px 14px 2px; cursor: pointer; list-style: none; position: relative; }
.pg-game summary::-webkit-details-marker { display: none; }
.pg-game summary::after { content: ""; position: absolute; right: 8px; top: 22px; width: 8px; height: 8px; border-right: 1.5px solid var(--dim); border-bottom: 1.5px solid var(--dim); transform: rotate(45deg); transition: transform .2s; }
.pg-game[open] summary::after { transform: rotate(-135deg); top: 26px; }
.pg-t { grid-area: t; font: 400 21px/1.15 var(--serif); text-transform: uppercase; letter-spacing: .01em; overflow-wrap: anywhere; } .pg-m { grid-area: m; color: var(--dim); font-size: 14px; } .pg-game summary .pg-d { grid-area: d; color: var(--faint); font-size: 12px; align-self: center; }
.pg-runs { list-style: none; margin: 0 0 12px; padding: 0 0 0 10px; border-left: 2px solid var(--line); }
.pg-runs a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 9px 4px; color: var(--ink); text-decoration: none; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.04); }
.pg-runs a:hover { background: var(--bg2); } .pg-runs .pg-d { color: var(--faint); font-size: 12px; }
.pg-st { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); min-width: 86px; } .pg-st.s-completed { color: #7fd08a; } .pg-st.s-expired, .pg-st.s-failed, .pg-st.s-abandoned { color: var(--brass2); }
.pg-more { width: 100%; margin: 0 0 14px; }
@media (max-width: 640px) { .pg-runs a { grid-template-columns: 1fr auto; } .pg-runs a > span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; color: var(--dim); } .pg-st { min-width: 0; } }

.ck-line { display: flex !important; flex-direction: row !important; align-items: center; gap: 10px; text-transform: none !important; letter-spacing: 0 !important; font-size: 15px !important; color: var(--ink) !important; } .ck-line input { width: 20px; height: 20px; accent-color: var(--brass); flex: none; }

/* iPhone : pas de fondu entre les pages (Safari y décale le menu du bas), et une barre opaque, sans flou recalculé à chaque image */
html.ios { view-transition-name: none; }
html.ios .tabbar, html.ios .top { view-transition-name: none; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: #060607 !important; }
@supports (-webkit-touch-callout: none) { @view-transition { navigation: none; } }

/* 1.27 : baisse de prix */
.price-drop { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 14px; font-size: 17px; }
.price-drop span { font: 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--brass); padding: 5px 8px; align-self: center; }
.price-drop s, .poster-meta s { color: var(--dim); text-decoration-thickness: 1.5px; }
.my-price { color: var(--brass2); font-weight: 600; }   /* 2.11.0 (audit FRONT-15) : prix personnel sur les cartes */
.pk-own { margin: 6px 0 0; font-size: 14px; line-height: 1.45; color: var(--dim); } .pk-card.is-own .pk-art { opacity: .7; }   /* 2.11.0 (audit FRONT-14) */
.price-drop b { color: var(--brass2); font-size: 20px; }

/* 1.27 : vos tournois, en tête de l'onglet Tournois */
.tn-mine-wrap { margin: 0 0 44px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.tn-mine-list { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.tn-mine { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 18px; text-decoration: none; color: var(--ink); overflow: hidden;
  border: 1px solid var(--brass); background: linear-gradient(160deg, rgba(209,26,38,.22), rgba(122,10,18,.10) 45%, var(--bg2) 80%); box-shadow: 0 0 0 1px rgba(209,26,38,.25), 0 10px 40px -12px rgba(209,26,38,.55); transition: transform .15s, box-shadow .15s; }
.tn-mine::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--brass); box-shadow: 0 0 14px var(--brass); }
.tn-mine:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(209,26,38,.5), 0 14px 46px -12px rgba(209,26,38,.75); }
.tn-mine b { font: 400 clamp(28px, 7vw, 36px)/1.02 var(--serif); text-transform: uppercase; letter-spacing: .01em; }
.tn-mine-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.tn-mine-tag { display: inline-flex; align-items: center; gap: 8px; font: 12px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: #fff; background: var(--brass); padding: 6px 9px; }
.tn-cd { font: 600 14px/1 var(--mono); color: var(--brass2); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.tn-mine-rank { font: 400 22px/1.1 var(--serif); color: var(--brass2); text-transform: uppercase; } .tn-mine-rank em { font: italic 15px/1.3 var(--sans); color: var(--ink); text-transform: none; margin-left: 6px; }
.tn-mine-go { margin-top: 6px; align-self: flex-start; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid var(--brass); padding-bottom: 3px; }
.tn-mine.run { animation: tn-glow 1.8s ease-in-out infinite; } .tn-mine.run .tn-mine-go { background: var(--brass); color: #fff; border: 0; padding: 10px 14px; }
.tn-mine.win .tn-mine-tag { background: #b8892d; } .tn-mine.done, .tn-mine.off, .tn-mine.wait { border-color: var(--line); background: var(--bg2); box-shadow: none; } .tn-mine.done::before, .tn-mine.off::before, .tn-mine.wait::before { background: var(--faint); box-shadow: none; } .tn-mine.off .tn-mine-tag, .tn-mine.done .tn-mine-tag, .tn-mine.wait .tn-mine-tag { background: var(--bg3); color: var(--dim); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: tn-pulse 1s ease-in-out infinite; }
@keyframes tn-pulse { 50% { opacity: .25; } } @keyframes tn-glow { 50% { box-shadow: 0 0 0 1px rgba(255,59,71,.7), 0 14px 54px -10px rgba(255,59,71,.9); } }
.h-page.sm { font-size: clamp(30px, 6vw, 52px); }
.tabbar a.dot::after { content: ""; position: absolute; top: 9px; left: calc(50% + 9px); width: 8px; height: 8px; border-radius: 50%; background: var(--brass2); box-shadow: 0 0 0 2px #060607, 0 0 8px var(--brass2); }
@media (prefers-reduced-motion: reduce) { .tn-mine.run, .pulse { animation: none; } }

/* 1.27.2 : compte à rebours des tournois (jours, heures, minutes, secondes) */
.chrono { display: inline-flex; align-items: stretch; gap: 6px; margin: 4px 0 2px; font-variant-numeric: tabular-nums; }
.cr-c { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 54px; padding: 8px 6px 6px; background: #0d0d0f; border: 1px solid rgba(209,26,38,.55); box-shadow: inset 0 0 18px rgba(209,26,38,.12); }
.cr-c b { font: 400 28px/1 var(--serif); color: #fff; letter-spacing: .02em; }
.cr-c i { font: 12px/1 var(--mono); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-top: 6px; }
.cr-c:last-child b { color: var(--brass2); text-shadow: 0 0 10px rgba(255,59,71,.6); }
.cr-c.tk b { animation: cr-tk .5s ease-out; } @keyframes cr-tk { from { opacity: .35; transform: translateY(-3px); } }
.chrono.lg { gap: 8px; margin: 10px 0 6px; } .chrono.lg .cr-c { min-width: 70px; padding: 12px 8px 9px; } .chrono.lg .cr-c b { font-size: clamp(34px, 9vw, 46px); }
.chrono.sm { gap: 4px; } .chrono.sm .cr-c { min-width: 42px; padding: 5px 4px 4px; } .chrono.sm .cr-c b { font-size: 20px; } .chrono.sm .cr-c i { font-size: 12px; letter-spacing: .08em; margin-top: 4px; }
.cr-lead { font: 12px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--brass2); margin-top: 4px; }
.cr-done { font: 600 15px/1.2 var(--mono); color: var(--brass2); letter-spacing: .06em; text-transform: uppercase; }
.tn-state .chrono { display: flex; justify-content: center; }
.tn-strip .chrono { order: 0; }
@media (max-width: 380px) { .chrono.lg .cr-c { min-width: 60px; } .chrono.lg .cr-c b { font-size: 32px; } }
@media (prefers-reduced-motion: reduce) { .cr-c.tk b { animation: none; } }

/* 1.29 : progression (niveaux, XP, badges) */
.prog { margin: 6px 0 52px; --t1: var(--bronze); --t2: var(--silver); --t3: var(--gold); --t4: var(--brass2); }
.lv-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; padding: 22px; border: 1px solid var(--brass); background: linear-gradient(135deg, rgba(209,26,38,.18), var(--bg2) 55%); box-shadow: 0 12px 44px -18px rgba(209,26,38,.6); }
.lv-ring { --p: 0; width: 104px; height: 104px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative;
  background: conic-gradient(var(--brass2) calc(var(--p) * 1%), #26262a 0); }
.lv-ring::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--bg2); }
.lv-ring b, .lv-ring i { position: relative; } .lv-ring b { font: 400 44px/1 var(--serif); color: #fff; } .lv-ring i { font: 12px/1 var(--mono); font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin-top: 4px; }
.lv-main .eyebrow { margin: 0 0 4px; } .lv-main h2 { font-size: clamp(30px, 6vw, 44px); margin-bottom: 12px; }
.xpbar { height: 10px; background: #1d1d20; border: 1px solid #2c2c31; overflow: hidden; } .xpbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blood), var(--brass2)); box-shadow: 0 0 12px var(--brass); transition: width .8s ease; }
.lv-next { margin: 8px 0 0; color: var(--dim); font-size: 14px; } .lv-next b { color: var(--ink); }
.lv-count { text-align: center; font-size: 12px; color: var(--dim); letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; } .lv-count b { display: block; font: 400 40px/1 var(--serif); color: var(--ink); }
.lv-count a { display: inline-block; margin-top: 8px; color: var(--brass2); font-size: 12px; }
.prog .sec-head { margin-top: 36px; }
.bdg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.bdg { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px 14px 14px; border: 1px solid var(--line); background: var(--bg2); min-height: 170px; }
.bdg-ic { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 2px solid var(--line2); color: #6c6a66; background: #111113; }
.bdg-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.bdg b { font: 400 21px/1.05 var(--serif); text-transform: uppercase; letter-spacing: .01em; color: var(--dim); } .bdg b small { font: 600 12px/1 var(--mono); margin-left: 4px; vertical-align: 3px; }
.bdg p { margin: 0; font-size: 13px; line-height: 1.4; color: var(--dim); flex: 1; }
.bdg-bar { height: 5px; background: #1d1d20; overflow: hidden; } .bdg-bar i { display: block; height: 100%; background: var(--brass); }
.bdg-val { font: 12px/1 var(--mono); color: var(--faint); }
.pips { position: absolute; top: 14px; right: 14px; display: flex; gap: 4px; } .pips i { width: 8px; height: 8px; border-radius: 50%; background: #2a2a2f; } .pips i.t1 { background: var(--t1); } .pips i.t2 { background: var(--t2); } .pips i.t3 { background: var(--t3); } .pips i.t4 { background: var(--t4); box-shadow: 0 0 6px var(--t4); }
.bdg.t1, .bdg.t2, .bdg.t3, .bdg.t4 { background: linear-gradient(160deg, rgba(255,255,255,.035), var(--bg2) 60%); } .bdg[class*=" t"]:not(.t0) b { color: var(--ink); }
.bdg.t1 .bdg-ic, .ub.t1 .bdg-ic { border-color: var(--t1, var(--bronze)); color: var(--t1, var(--bronze)); } .bdg.t2 .bdg-ic, .ub.t2 .bdg-ic { border-color: var(--t2, var(--silver)); color: var(--t2, var(--silver)); }
.bdg.t3 .bdg-ic, .ub.t3 .bdg-ic { border-color: var(--t3, var(--gold)); color: var(--t3, var(--gold)); box-shadow: 0 0 14px rgba(224,180,74,.25); } .bdg.t4 .bdg-ic, .ub.t4 .bdg-ic { border-color: var(--t4, var(--brass2)); color: var(--t4, var(--brass2)); box-shadow: 0 0 18px rgba(255,59,71,.45); }
.bdg.t1 b small { color: var(--t1); } .bdg.t2 b small { color: var(--t2); } .bdg.t3 b small { color: var(--t3); } .bdg.t4 b small { color: var(--t4); }
.bdg.max { border-color: rgba(209,26,38,.55); } .bdg.secret { border-style: dashed; } .bdg.secret b { color: var(--faint); }
.bdg-grid.next .bdg { border-color: rgba(209,26,38,.4); } .bdg-grid.next .bdg-bar i { background: linear-gradient(90deg, var(--blood), var(--brass2)); }
.xp-how { margin-top: 26px; color: var(--dim); font-size: 14px; } .xp-how summary { cursor: pointer; color: var(--ink); } .xp-how ul { margin: 10px 0 0; padding-left: 18px; line-height: 1.7; }
/* résultat */
.res-prog { margin: 30px 0 10px; } .xp-gain { margin: 0 0 12px; font: 400 clamp(46px, 12vw, 72px)/1 var(--serif); color: var(--brass2); text-shadow: 0 0 22px rgba(255,59,71,.5); animation: xp-in .9s cubic-bezier(.2,1.4,.4,1); }
.xp-gain span { font-size: .45em; color: var(--ink); letter-spacing: .1em; } @keyframes xp-in { from { opacity: 0; transform: translateY(14px) scale(.9); } }
.ub-list, .ub-items { display: grid; gap: 10px; } .ub { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid rgba(209,26,38,.5); background: rgba(209,26,38,.07); text-align: left; }
.ub .bdg-ic { grid-row: 1 / 3; } .ub b { font: 400 22px/1.05 var(--serif); text-transform: uppercase; } .ub b small { font: 600 12px var(--mono); color: var(--brass2); } .ub > span:last-child { font-size: 13px; color: var(--dim); }
.share-box { margin: 30px 0 6px; padding: 20px; border: 1px dashed rgba(209,26,38,.6); text-align: center; } .share-box .btn { width: 100%; max-width: 420px; } .share-box .note { margin: 10px 0 0; }
/* fenêtre de badge */
.ub-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 18px; background: rgba(0,0,0,.78); animation: veil-in .25s; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.ub-modal.out { opacity: 0; transition: opacity .25s; }
.ub-box { width: 100%; max-width: 440px; max-height: 92vh; overflow: auto; padding: 26px 22px 22px; background: var(--bg2); border: 1px solid var(--brass); box-shadow: 0 0 60px rgba(209,26,38,.45); text-align: center; animation: ub-pop .5s cubic-bezier(.2,1.5,.4,1); }
@keyframes ub-pop { from { transform: scale(.85); opacity: 0; } }
.ub-box .eyebrow { margin: 0 0 16px; } .ub-xp { margin: 16px 0 6px; font: 400 40px/1 var(--serif); color: var(--brass2); } .ub-box .cta { justify-content: center; } .ub-box .btn { flex: 1 1 160px; }
.share-prev img { width: 100%; max-width: 360px; margin: 0 auto 16px; border: 1px solid var(--line); }
/* offrir un jeu */
.gift-box { margin: 14px 0 0; border: 1px solid var(--line); background: var(--bg2); }
.gift-box summary { display: flex; align-items: center; gap: 10px; padding: 14px 16px; cursor: pointer; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; list-style: none; }
.gift-box summary::-webkit-details-marker { display: none; } .gift-box summary svg { width: 22px; height: 22px; fill: none; stroke: var(--brass2); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.gift-box[open] summary { border-bottom: 1px solid var(--line); } .gift-box .form { padding: 16px; } .gift-box > .note { padding: 0 16px 14px; }
.gift-card { margin: 18px 0 26px; padding: 26px 22px; border: 1px solid var(--brass); background: radial-gradient(circle at 50% 0, rgba(209,26,38,.25), var(--bg2) 70%); text-align: center; }
.gift-game { margin: 0; font: 400 clamp(34px, 8vw, 52px)/1 var(--serif); text-transform: uppercase; } .gift-tag { color: var(--dim); font-style: italic; margin: 10px 0 0; }
.gift-card blockquote { margin: 20px auto 0; max-width: 460px; font: 17px/1.5 var(--type); color: var(--ink); } .gift-card cite { display: block; margin-top: 8px; font: 12px var(--mono); color: var(--brass2); letter-spacing: .14em; text-transform: uppercase; }
.gift-meta { margin: 18px 0 0; font-size: 14px; color: var(--dim); }
.gift-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; } .gift-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 14px; border: 1px solid var(--line); background: var(--bg2); }
.gift-list b { font: 400 20px/1 var(--serif); text-transform: uppercase; } .gift-list span, .gift-list em { color: var(--dim); font-size: 14px; } .gift-list code { font: 600 18px var(--mono); color: var(--brass2); letter-spacing: .08em; margin-left: auto; }
/* classement des joueurs */
.top-players { margin: 10px 0 46px; } .top-players ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.top-players li { display: grid; grid-template-columns: 40px 1fr auto; grid-template-areas: "r n x" "r l x"; align-items: center; column-gap: 12px; padding: 10px 14px; border: 1px solid var(--line); background: var(--bg2); }
.tp-r { grid-area: r; font: 400 24px/1 var(--serif); color: var(--dim); text-align: center; } .top-players b { grid-area: n; font-weight: 600; } .tp-l { grid-area: l; font-size: 13px; color: var(--dim); } .tp-x { grid-area: x; font: 13px var(--mono); color: var(--ink); text-align: right; }
.top-players li.p1 { border-color: var(--gold); } .top-players li.p1 .tp-r { color: var(--gold); } .top-players li.p2 .tp-r { color: var(--silver); } .top-players li.p3 .tp-r { color: var(--bronze); } .top-players li.me { background: rgba(209,26,38,.12); border-color: var(--brass); }
@media (max-width: 640px) {
  .lv-card { grid-template-columns: auto 1fr; gap: 16px; padding: 18px; } .lv-ring { width: 84px; height: 84px; } .lv-ring b { font-size: 36px; } .lv-count { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: center; gap: 8px; } .lv-count b { display: inline; font-size: 28px; } .lv-count br { display: none; }
  .bdg-grid { grid-template-columns: 1fr 1fr; gap: 8px; } .bdg { min-height: 0; padding: 12px 10px; } .bdg b { font-size: 18px; } .bdg p { font-size: 12px; } .bdg-ic { width: 38px; height: 38px; } .pips { top: 10px; right: 10px; }
  .tp-x { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .xp-gain, .ub-box { animation: none; } }
.form textarea { width: 100%; min-height: 84px; padding: 12px 14px; background: var(--bg2); border: 1px solid var(--line); border-radius: 0; color: var(--ink); font: 16px/1.5 var(--sans); resize: vertical; -webkit-appearance: none; appearance: none; }
.form textarea:focus { outline: none; border-color: var(--brass); }


/* 1.30 : agenda, liste d'attente, affiches « réussi », parrainage, défis, notifications, hors connexion */
.tn-cal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 14px 0 18px; padding: 12px 14px; border: 1px dashed var(--line); }
.tn-cal > span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-right: auto; }
.btn.sm { min-height: 38px; padding: 0 14px; font-size: 12px; }
.tn-wait, .tn-offer { display: flex; flex-direction: column; gap: 4px; margin: 14px 0; padding: 14px 16px; border: 1px solid var(--line); border-left: 3px solid var(--brass); background: var(--bg2); }
.tn-wait b, .tn-offer b { font: 400 22px/1.1 var(--serif); text-transform: uppercase; } .tn-wait span, .tn-offer span { color: var(--dim); font-size: 14px; }
.tn-offer { border-color: var(--brass); background: rgba(209,26,38,.12); box-shadow: 0 0 30px rgba(209,26,38,.25); }
.poster-art { position: relative; }
.poster-done { position: absolute; right: 8px; bottom: 8px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px 4px 6px; background: rgba(0,0,0,.82); border: 1px solid #3f9a4a; color: #cdeccf; font: 12px/1.2 var(--mono); letter-spacing: .06em; }
.poster-done svg { width: 14px; height: 14px; fill: none; stroke: #5fd06c; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.poster-done.tried { border-color: var(--line); color: var(--dim); }
.poster.is-done .poster-art img { filter: saturate(.85); }
.ref-box { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px 28px; margin: 0 0 46px; padding: 22px; border: 1px solid var(--line); border-left: 3px solid var(--brass); background: linear-gradient(120deg, rgba(209,26,38,.1), var(--bg2) 60%); }
.ref-box h2 { font-size: clamp(28px, 6vw, 40px); margin: 2px 0 10px; } .ref-box h2 em { color: var(--brass); font-style: normal; } .ref-box p { margin: 0 0 8px; color: var(--dim); font-size: 15px; } .ref-box .eyebrow { margin: 0; }
.ref-count b { color: var(--ink); font: 400 24px/1 var(--serif); margin-right: 4px; }
.ref-link { display: flex; flex-direction: column; gap: 10px; align-items: stretch; min-width: 260px; } .ref-link code { padding: 12px 14px; background: var(--bg2); border: 1px solid var(--line); font: 14px var(--mono); color: var(--brass2); text-align: center; word-break: break-all; }
.pref-t { width: 100%; border-collapse: collapse; margin: 0 0 12px; font-size: 14px; } .pref-t th { font: 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); font-weight: 400; padding: 0 6px 8px; text-align: center; }
.pref-t td { padding: 10px 6px; border-top: 1px solid var(--line); vertical-align: middle; } .pref-t td:not(:first-child) { text-align: center; width: 64px; }
.sw { display: inline-block; position: relative; width: 42px; height: 24px; cursor: pointer; } .sw input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sw i { position: absolute; inset: 0; border-radius: 12px; background: #2a2a2f; transition: background .2s; } .sw i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #8d8a84; transition: transform .2s, background .2s; }
.sw input:checked + i { background: var(--blood); } .sw input:checked + i::after { transform: translateX(18px); background: #fff; } .sw input:focus-visible + i { outline: 2px solid var(--brass); outline-offset: 2px; }
.duel-card { margin: 20px 0 24px; padding: 26px 20px; text-align: center; border: 1px solid var(--brass); background: radial-gradient(circle at 50% 0, rgba(209,26,38,.28), var(--bg2) 70%); }
.duel-game { margin: 0; font: 400 clamp(26px, 6vw, 38px)/1 var(--serif); text-transform: uppercase; } .duel-label { margin: 18px 0 0; font: 12px var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }
.duel-time { margin: 4px 0 0; font: 400 clamp(64px, 18vw, 96px)/1 var(--serif); color: var(--brass2); text-shadow: 0 0 24px rgba(255,59,71,.5); } .duel-meta { margin: 10px 0 0; color: var(--dim); font-size: 14px; }
.duel-res { margin: 28px 0 8px; padding: 22px 18px; text-align: center; border: 1px solid var(--line); background: var(--bg2); } .duel-res.won { border-color: #3f9a4a; box-shadow: 0 0 34px rgba(63,154,74,.25); } .duel-res.lost { border-color: var(--brass); }
.duel-res .eyebrow { margin: 0 0 6px; } .duel-verdict { margin: 0 0 16px; font: 400 clamp(34px, 9vw, 52px)/1 var(--serif); text-transform: uppercase; } .duel-verdict em { color: var(--brass); font-style: normal; } .duel-res.won .duel-verdict em { color: #5fd06c; }
.duel-vs { display: flex; align-items: center; justify-content: center; gap: 14px; } .duel-vs div { display: flex; flex-direction: column; min-width: 120px; padding: 12px; border: 1px solid var(--line); background: var(--bg2); }
.duel-vs span { font: 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); } .duel-vs b { font: 400 36px/1.1 var(--serif); } .duel-vs i { font-style: normal; color: var(--dim); font-size: 13px; }
.share-box .btn + .btn { margin-top: 10px; }
.offline-bar { position: fixed; left: 10px; right: 10px; top: calc(10px + env(safe-area-inset-top, 0px)); z-index: 150; display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; background: #1a1206; border: 1px solid #b8892d; color: #f1dfae; font-size: 13px; box-shadow: 0 8px 30px rgba(0,0,0,.6); }
.offline-bar b { font: 600 12px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); } .offline-bar[hidden] { display: none; }
@media (max-width: 640px) { .ref-box { grid-template-columns: 1fr; } .ref-link { min-width: 0; } .duel-vs div { min-width: 0; flex: 1; } .duel-vs b { font-size: 30px; } }

/* 1.30.1 : profil en onglets */
.pf-sum { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: -6px 0 22px; } .pf-sum > span { padding: 6px 10px; border: 1px solid var(--line); background: var(--bg2); font-size: 13px; color: var(--dim); } .pf-sum b { color: var(--ink); font-weight: 600; }
.pf-tabs { display: none; }
html.pf-on .pf-tabs { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0 calc(-1 * var(--gut)) 26px; padding: 0 var(--gut); background: rgba(0,0,0,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.pf-tabs button { position: relative; min-height: 52px; padding: 0 4px; background: none; border: 0; color: var(--dim); font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pf-tabs button.on { color: #fff; } .pf-tabs button.on::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: -1px; height: 3px; background: var(--brass); box-shadow: 0 0 10px var(--brass); }
html.ios .pf-tabs { background: #000; -webkit-backdrop-filter: none; backdrop-filter: none; }
.pf-panel > .sec-head:first-child, .pf-panel > .prog > .lv-card:first-child { margin-top: 0; }
.pf-panel .prog { margin-bottom: 10px; }
.pf-more { margin: 18px 0 6px; border: 1px solid var(--line); background: var(--bg2); }
.pf-more > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; cursor: pointer; list-style: none; font: 400 20px/1 var(--serif); text-transform: uppercase; letter-spacing: .02em; }
.pf-more > summary::-webkit-details-marker { display: none; } .pf-more > summary span { font: 12px var(--mono); color: var(--dim); text-transform: none; letter-spacing: .04em; }
.pf-more > summary::after { content: "+"; font: 400 22px/1 var(--sans); color: var(--brass2); } .pf-more[open] > summary::after { content: "–"; }
.pf-more[open] > summary { border-bottom: 1px solid var(--line); } .pf-more > .bdg-grid, .pf-more > p, .pf-more > .form { margin: 14px 16px; }
.pf-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; } .pf-links .btn { flex: 1 1 180px; }
.pf-panel .ref-box { margin-bottom: 10px; }
@media (max-width: 640px) { .pf-tabs button { font-size: 12px; letter-spacing: .08em; } .pf-panel h1, .v-profile .h-page { font-size: clamp(34px, 11vw, 48px); } }
html.is-app.pf-on .pf-tabs { top: env(safe-area-inset-top, 0px); } html.is-app.pf-on .pf-tabs::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: env(safe-area-inset-top, 0px); background: #000; }
@media (max-width: 640px) {
  /* profil sur téléphone : badges gagnés en petites tuiles, carte de niveau plus compacte */
  .pf-panel .prog > .bdg-grid:not(.next) { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .pf-panel .prog > .bdg-grid:not(.next) .bdg { min-height: 0; padding: 12px 6px 10px; align-items: center; text-align: center; gap: 6px; }
  .pf-panel .prog > .bdg-grid:not(.next) .bdg p, .pf-panel .prog > .bdg-grid:not(.next) .bdg-bar, .pf-panel .prog > .bdg-grid:not(.next) .bdg-val { display: none; }
  .pf-panel .prog > .bdg-grid:not(.next) .bdg b { font-size: 14px; line-height: 1.1; } .pf-panel .prog > .bdg-grid:not(.next) .bdg b small { display: block; margin: 3px 0 0; }
  .pf-panel .prog > .bdg-grid:not(.next) .pips { position: static; justify-content: center; }
  .pf-panel .lv-card { padding: 14px; gap: 12px; } .pf-panel .lv-ring { width: 70px; height: 70px; } .pf-panel .lv-ring b { font-size: 30px; } .pf-panel .lv-ring i { font-size: 12px; }
  .pf-panel .lv-main h2 { font-size: 28px; margin-bottom: 8px; } .pf-panel .lv-next { font-size: 13px; } .pf-panel .lv-count b { font-size: 22px; }
  .pf-panel .bdg-grid.next { grid-template-columns: 1fr; } .pf-panel .bdg-grid.next .bdg { min-height: 0; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; }
  .pf-panel .bdg-grid.next .bdg-ic { grid-row: 1 / 5; } .pf-panel .bdg-grid.next .bdg p { flex: none; }
}

/* 1.31 : Master Coins, boutique, apparence */
.mc-ic { display: inline-block; width: 1em; height: 1em; flex: none; border-radius: 50%; vertical-align: -.12em; background: radial-gradient(circle at 35% 30%, #fff3c4 0 12%, var(--gold) 30%, var(--gold-d) 72%, #5c3d06 100%); box-shadow: inset 0 0 0 .08em rgba(255,240,190,.55), 0 0 .5em rgba(224,180,74,.45); position: relative; }
.mc-ic::after { content: "M"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 700 .52em/1 var(--serif); color: #4a2f04; }
.mc-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 8px; border: 1px solid rgba(224,180,74,.5); border-radius: 999px; background: rgba(224,180,74,.08); color: #f1dfae; font: 600 13px/1 var(--mono); text-decoration: none; letter-spacing: .02em; }
.mc-chip:hover { border-color: var(--gold); } .mc-chip .mc-ic { font-size: 17px; }
@media (max-width: 760px) { .top { position: relative; } .mc-chip { position: absolute; right: var(--gut); bottom: 14px; padding: 5px 10px 5px 6px; font-size: 12px; } .mc-chip .mc-ic { font-size: 15px; } }
.wallet { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px 26px; margin: 0 0 26px; padding: 20px; border: 1px solid rgba(224,180,74,.45); background: radial-gradient(circle at 0 0, rgba(224,180,74,.14), var(--bg2) 55%); }
.wallet > .note, .wallet > .cta { grid-column: 1 / -1; margin: 0; }
.w-bal { display: flex; align-items: center; gap: 14px; } .w-bal .mc-ic { font-size: 54px; } .w-bal b { display: block; font: 400 48px/1 var(--serif); color: var(--gold-l); } .w-bal span { font: 12px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: #c9a65c; }
.w-day span { font: 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); } .w-day .xpbar { margin: 8px 0 6px; } .w-day .xpbar i { background: linear-gradient(90deg, var(--gold-d), var(--gold)); box-shadow: 0 0 10px rgba(224,180,74,.6); } .w-day small { color: var(--dim); font-size: 12px; }
.w-hint { padding: 8px 12px; border: 1px solid var(--line); font-size: 13px; color: var(--dim); } .w-hint b { color: var(--ink); font: 400 22px var(--serif); margin-right: 4px; }
.w-how { grid-column: 1 / -1; } .w-how summary { cursor: pointer; color: #f1dfae; font-size: 14px; } .w-how .board { margin: 12px 0; } .w-how td { padding: 8px 4px; } .mc-v { text-align: right; white-space: nowrap; color: var(--gold); font: 600 13px var(--mono); }
.sh-panel > .lede { margin: 0 0 18px; }
.sh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.sh-item { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--bg2); transition: border-color .15s; } .sh-item:hover { border-color: rgba(224,180,74,.55); }
.sh-item.owned { border-color: rgba(63,154,74,.5); }
.sh-prev { display: flex; align-items: center; justify-content: center; min-height: 130px; padding: 18px; background: radial-gradient(circle at 50% 40%, rgba(209,26,38,.16), #070708 70%); border-bottom: 1px solid var(--line); }
.k-giftcard .sh-prev, .k-physical .sh-prev { background: radial-gradient(circle at 50% 40%, rgba(224,180,74,.2), #070708 70%); }
.sp { display: flex; align-items: center; gap: 8px; } .sp-title { font: italic 22px/1.2 var(--type); color: var(--gold-l); text-align: center; }
.sp-ic svg { width: 54px; height: 54px; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 10px rgba(224,180,74,.4)); } .sp-ic b { font: 400 34px var(--serif); color: var(--gold-l); }
.sp .pl-n { font: 400 30px/1 var(--serif); text-transform: uppercase; }
.sh-body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 14px 14px 16px; } .sh-name { font: 400 20px/1.1 var(--serif); text-transform: uppercase; } .sh-body > p { margin: 0; color: var(--dim); font-size: 13px; line-height: 1.45; }
.sh-stock { color: var(--gold) !important; font: 12px var(--mono) !important; } .sh-stock.low { color: var(--brass2) !important; }
.sh-buy { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; } .sh-form { display: contents; } .sh-form .form-msg { flex-basis: 100%; margin: 0; font-size: 13px; }
.sh-buy .btn.solid { background: linear-gradient(180deg, var(--gold), #a8780f); border-color: var(--gold); color: #241603; } .sh-buy .btn.solid:disabled { opacity: 1; background: transparent; border: 1px dashed rgba(224,180,74,.45); color: rgba(224,180,74,.6); cursor: not-allowed; }
.sh-own { font: 12px var(--mono); color: #5fd06c; letter-spacing: .06em; } .sh-miss { font: 12px var(--mono); color: var(--dim); }
.sh-addr { flex-basis: 100%; } .sh-addr summary { cursor: pointer; font-size: 13px; color: #f1dfae; margin-bottom: 6px; } .sh-addr input { width: 100%; min-height: 42px; margin: 0 0 6px; padding: 8px 10px; background: var(--bg2); border: 1px solid var(--line); color: var(--ink); font: 15px var(--sans); } .sh-row { display: flex; gap: 6px; } .sh-row input:first-child { flex: 0 0 38%; }
.sh-tabs button.on::after { background: var(--gold); box-shadow: 0 0 10px rgba(224,180,74,.7); }
/* joueur avec apparence */
.pl { display: inline-flex; align-items: center; gap: 10px; vertical-align: middle; } .pl-tx { display: flex; flex-direction: column; line-height: 1.15; } .pl-t { font: italic 12px/1.2 var(--type); color: #c9a65c; }
.pl-av { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: #121214; border: 1px solid #34343a; color: #c9c5bd; }
.pl-av svg { width: 62%; height: 62%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pl-av.big { width: 76px; height: 76px; } .pl-lg .pl-av { width: 64px; height: 64px; } .pl-lg .pl-n { font: 400 30px/1 var(--serif); text-transform: uppercase; } .pl-lg .pl-t { font-size: 15px; }
.fr-neon { border: 2px solid var(--brass2); box-shadow: 0 0 6px var(--brass2), 0 0 16px rgba(255,59,71,.7), inset 0 0 8px rgba(255,59,71,.5); animation: fr-neon 3.2s infinite; }
@keyframes fr-neon { 0%, 18%, 22%, 62%, 64%, 100% { opacity: 1; } 20%, 63% { opacity: .35; } }
.fr-smoke { border-color: transparent; } .fr-smoke::before { content: ""; position: absolute; inset: -22%; border-radius: 50%; background: conic-gradient(from 0deg, rgba(200,200,210,.0), rgba(200,200,210,.55), rgba(120,120,130,.1), rgba(220,220,230,.5), rgba(200,200,210,0)); filter: blur(5px); animation: fr-smoke 7s linear infinite; z-index: -1; }
.fr-smoke { z-index: 0; isolation: isolate; } @keyframes fr-smoke { to { transform: rotate(360deg); } }
.fr-wire { border: 2px dashed #8d8a84; outline: 1px solid var(--line2); outline-offset: 3px; box-shadow: 0 0 0 6px rgba(0,0,0,.6); }
.nc-blood { color: var(--brass2) !important; text-shadow: 0 0 12px rgba(255,59,71,.55); } .nc-gold { color: #f1d58a !important; background: linear-gradient(180deg, #fff1c2, var(--gold) 55%, var(--gold-d)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: none; }
.h-page.nc-gold, .pf-h.nc-gold .pl-av { -webkit-text-fill-color: initial; }
.pf-h { display: flex; align-items: center; gap: 16px; } .pf-h .pl-av.big { width: clamp(56px, 14vw, 76px); height: clamp(56px, 14vw, 76px); }
.pf-title { margin: -8px 0 16px; font: italic 17px var(--type); color: #c9a65c; }
.pf-sum a { padding: 6px 10px; border: 1px solid rgba(224,180,74,.5); background: rgba(224,180,74,.08); font-size: 13px; color: #f1dfae; text-decoration: none; } .pf-sum a b { color: var(--gold-l); }
.top-players .pl-av { width: 26px; height: 26px; } .top-players b .pl-tx { flex-direction: row; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.me-prev { margin: 0 0 22px; padding: 18px; border: 1px solid var(--line); background: var(--bg2); }
.lk-row { display: grid; grid-template-columns: 150px 1fr; gap: 10px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line); } .lk-l { font: 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); padding-top: 9px; }
.lk-opts { display: flex; flex-wrap: wrap; gap: 6px; } .lk { min-height: 36px; padding: 0 12px; border: 1px solid var(--line); background: var(--bg2); color: var(--dim); font: 13px var(--sans); cursor: pointer; } .lk.on { border-color: var(--gold); color: var(--gold-l); background: rgba(224,180,74,.1); }
.secret-tx { padding: 14px 16px; font: 15px/1.6 var(--type); color: var(--ink); } .secret-tx a { color: var(--brass2); word-break: break-all; }
.ord-d { flex-basis: 100%; margin: 4px 0 0 !important; padding: 8px 10px; background: var(--bg2); border: 1px dashed rgba(224,180,74,.5); color: var(--gold-l) !important; font: 600 14px var(--mono) !important; word-break: break-all; }
.os-todo { color: var(--gold) !important; } .os-shipped, .os-done { color: #5fd06c !important; } .os-cancelled { color: var(--brass2) !important; }
.mc-hist { list-style: none; margin: 0; padding: 6px 16px 12px; } .mc-hist li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--dim); } .mc-hist b { font: 600 14px var(--mono); color: var(--gold); } .mc-hist b.neg { color: var(--brass2); }
.mc-gain { display: inline-flex; align-items: center; gap: 8px; margin-left: 14px; color: var(--gold-l); text-decoration: none; text-shadow: 0 0 22px rgba(224,180,74,.5); } .mc-gain .mc-ic { font-size: .8em; }
.mc-lines { list-style: none; margin: -4px 0 16px; padding: 0; } .mc-lines li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 14px; color: var(--dim); } .mc-lines b { font: 600 14px var(--mono); color: var(--gold); }
@media (max-width: 640px) {
  .wallet { grid-template-columns: 1fr; padding: 16px; } .w-bal .mc-ic { font-size: 44px; } .w-bal b { font-size: 40px; }
  .sh-grid { grid-template-columns: 1fr 1fr; gap: 8px; } .sh-prev { min-height: 96px; padding: 12px; } .sp-title { font-size: 15px; } .sp-ic svg { width: 40px; height: 40px; } .sp .pl-n { font-size: 20px; } .pl-av.big { width: 58px; height: 58px; }
  .sh-body { padding: 10px; } .sh-name { font-size: 16px; } .sh-body > p { font-size: 12px; } .sh-buy .btn { flex: 1 1 100%; }
  .lk-row { grid-template-columns: 1fr; } .lk-l { padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .fr-neon, .fr-smoke::before { animation: none; } }
/* 1.31.1 : la boutique dans le profil */
html.pf-on .pf-tabs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.pf-tabs .pt-shop { color: #c9a65c; display: inline-flex; align-items: center; justify-content: center; gap: 6px; } .pf-tabs .pt-shop.on { color: var(--gold-l); }
.pf-tabs .pt-shop .mc-ic { font-size: 14px; letter-spacing: 0; } .pf-tabs .pt-shop.on::after { background: var(--gold); box-shadow: 0 0 10px rgba(224,180,74,.7); }
.pf-sum a.pf-mc { display: inline-flex; align-items: center; gap: 6px; } .pf-mc .mc-ic { font-size: 15px; }
.v-profile .shop .wallet { margin-top: 0; }
.sh-seg { display: flex; gap: 6px; margin: 0 0 22px; overflow-x: auto; scrollbar-width: none; scroll-margin-top: 66px; } .sh-seg::-webkit-scrollbar { display: none; }
.sh-seg button { flex: 1 0 auto; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); background: var(--bg2); color: var(--dim); font: 600 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.sh-seg button.on { border-color: var(--gold); color: var(--gold-l); background: rgba(224,180,74,.12); box-shadow: inset 0 -2px 0 var(--gold); }
@media (max-width: 640px) {
  html.pf-on .pf-tabs button { font-size: 12px; letter-spacing: .04em; padding: 0 1px; } .pf-tabs .pt-shop { gap: 4px; } .pf-tabs .pt-shop .mc-ic { font-size: 12px; }
  .sh-seg { gap: 4px; } .sh-seg button { flex: 1 1 auto; min-width: 0; padding: 0 6px; font-size: 12px; letter-spacing: .04em; }
}
@media (max-width: 400px) { .pf-tabs .pt-shop .mc-ic { display: none; } }
@media (max-width: 640px) {
  .shop .wallet { grid-template-columns: 1fr; gap: 12px; padding: 14px 16px; margin-bottom: 18px; }
  .shop .w-bal { gap: 10px; } .shop .w-bal .mc-ic { font-size: 34px; } .shop .w-bal b { font-size: 34px; } .shop .w-bal span { font-size: 12px; letter-spacing: .16em; white-space: nowrap; } .shop .w-bal b { white-space: nowrap; }
  .shop .w-day { grid-column: 1 / -1; } .shop .w-day .xpbar { margin: 6px 0 4px; } .shop .w-day span { font-size: 12px; }
  .shop .w-hint { padding: 8px 10px; font-size: 13px; } .shop .w-hint b { font-size: 18px; } .shop .w-hint small { display: inline; margin-left: 4px; }
  .shop .w-how summary { font-size: 13px; }
}
.w-hint small { display: block; margin-top: 2px; font-size: 12px; color: var(--dim); }
@media (max-width: 640px) { html.pf-on .pf-tabs { grid-auto-columns: max-content; gap: 16px; overflow-x: auto; scrollbar-width: none; } html.pf-on .pf-tabs::-webkit-scrollbar { display: none; } html.pf-on .pf-tabs button { font-size: 12px; } }
.sh-prices { font: 600 13px var(--mono); color: var(--gold); letter-spacing: .04em; } .sh-prices .mc-ic { font-size: 14px; margin-right: 4px; }
.staff-note { margin: 0 0 20px; padding: 12px 14px; border: 1px dashed rgba(224,180,74,.5); color: #f1dfae; }
/* profil > parties : mes parties / mes tournois */
.pt-seg button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; } .pt-seg svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.pt-seg button[data-pseg=parties] svg { fill: currentColor; stroke: none; }
.seg-n { display: inline-block; min-width: 18px; padding: 2px 5px; border-radius: 9px; background: rgba(224,180,74,.18); color: var(--gold-l); font: 600 12px/1 var(--mono); }
.pt-panel .sec-head .count { text-transform: none; letter-spacing: .02em; }
.my-tn { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.my-tn li { display: flex; flex-wrap: wrap; align-items: stretch; border: 1px solid var(--line); background: var(--bg2); border-left: 3px solid #5a5a60; }
.my-tn li.mt-up { border-left-color: var(--blood); } .my-tn li.mt-podium { border-left-color: var(--gold); background: linear-gradient(90deg, rgba(224,180,74,.10), var(--bg2) 60%); } .my-tn li.mt-cx { opacity: .65; }
.mt-main { flex: 1 1 260px; display: flex; align-items: center; gap: 14px; padding: 14px 16px; text-decoration: none; color: var(--ink); min-width: 0; }
.mt-rank { flex: none; min-width: 74px; padding: 6px 8px; text-align: center; border: 1px solid var(--line); font: 600 12px/1.2 var(--mono); letter-spacing: .04em; color: var(--dim); text-transform: uppercase; }
.mt-podium .mt-rank { border-color: var(--gold); color: var(--gold-l); font-size: 15px; } .mt-up .mt-rank { border-color: var(--blood); color: #ff6b74; }
.mt-tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; } .mt-tx b { font: 400 20px/1.1 var(--serif); text-transform: uppercase; } .mt-tx small { color: var(--dim); font-size: 13px; } .mt-prize { color: var(--gold) !important; }
.mt-run { display: flex; align-items: center; padding: 0 16px; border-left: 1px solid var(--line); color: var(--brass2); font-size: 13px; text-decoration: none; white-space: nowrap; }
@media (max-width: 640px) { .mt-main { padding: 12px; gap: 10px; } .mt-rank { min-width: 62px; font-size: 12px; } .mt-tx b { font-size: 17px; } .mt-run { flex-basis: 100%; padding: 10px 12px; border-left: 0; border-top: 1px solid var(--line); } }

/* 1.32 : images de la boutique et lots des tournois */
.sh-prev.has-img { padding: 0; min-height: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #070708; }
.sh-img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.sh-item:hover .sh-img { transform: scale(1.04); }
.gift-list li.has-img { padding-left: 10px; } .ord-img { width: 52px; height: 52px; object-fit: cover; border: 1px solid var(--line); flex: none; }

.pz-list { --pz-c: var(--faint); list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; counter-reset: none; }
.pz { --pz-c: #8d8a84; position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--bg2); overflow: hidden; transition: border-color .2s, transform .2s; }
.pz:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--pz-c) 60%, var(--line)); }
.pz-r1 { --pz-c: var(--gold); } .pz-r2 { --pz-c: #c9ccd2; } .pz-r3 { --pz-c: #c58a52; }
.pz-r1 { border-color: rgba(224,180,74,.45); box-shadow: 0 0 0 1px rgba(224,180,74,.12), 0 18px 50px -28px rgba(224,180,74,.55); }
.pz-img { position: relative; aspect-ratio: 4 / 3; background: radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--pz-c) 22%, transparent), #070708 72%); display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.pz-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pz-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55)); pointer-events: none; }
.pz-img svg { width: 64px; height: 64px; fill: none; stroke: var(--pz-c); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.pz-rank { position: absolute; z-index: 1; left: 12px; top: 12px; display: inline-flex; align-items: baseline; gap: 5px; padding: 6px 10px 5px; background: rgba(0,0,0,.72); border: 1px solid var(--pz-c); color: var(--pz-c); font: 400 20px/1 var(--serif); letter-spacing: .02em; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.pz-rank small { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.pz-r1 .pz-rank { background: linear-gradient(135deg, #f6d77e, #b8862a); color: #2a1a02; border-color: #f3d27a; } .pz-r1 .pz-rank small { color: #4a3008; }
.pz-b { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.pz-name { font: 400 22px/1.08 var(--serif); text-transform: uppercase; letter-spacing: .01em; color: var(--ink); }
.pz-r1 .pz-name { color: #fff; }
.pz-desc { margin: 0; color: var(--dim); font-size: 14.5px; line-height: 1.45; }
.pz-foot { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: 13px; }
.pz-val { padding: 3px 8px; border: 1px solid color-mix(in srgb, var(--pz-c) 50%, var(--line)); color: var(--pz-c); font: 600 12px/1.3 var(--mono, ui-monospace, monospace); letter-spacing: .04em; }
.pz-win { color: var(--dim); } .pz-win b { color: var(--ink); font-weight: 600; }
@media (min-width: 760px) {
  .pz-list:not(.solo) .pz-r1 { grid-column: 1 / -1; flex-direction: row; }
  .pz-list:not(.solo) .pz-r1 .pz-img { flex: 0 0 min(46%, 420px); aspect-ratio: 4 / 3; border-bottom: 0; border-right: 1px solid var(--line); }
  .pz-list:not(.solo) .pz-r1 .pz-b { padding: 26px 28px; justify-content: center; } .pz-list:not(.solo) .pz-r1 .pz-name { font-size: 34px; } .pz-list:not(.solo) .pz-r1 .pz-desc { font-size: 16px; }
  .pz-list.solo { grid-template-columns: minmax(0, 560px); }
}
@media (max-width: 760px) { .pz-list { grid-template-columns: 1fr 1fr; gap: 10px; } .pz-list .pz-r1, .pz-list.solo .pz { grid-column: 1 / -1; } .pz-name { font-size: 18px; } .pz-r1 .pz-name { font-size: 24px; } .pz-b { padding: 11px 12px 13px; } .pz-desc { font-size: 13.5px; } .pz-rank { font-size: 17px; left: 8px; top: 8px; } }
.tn-pz { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 14px; color: var(--ink); min-width: 0; }
.tn-pz img { width: 38px; height: 38px; object-fit: cover; border: 1px solid rgba(224,180,74,.45); flex: none; }
.tn-pz img + img { margin-left: -14px; box-shadow: -3px 0 0 var(--bg2); }
.tn-pz span { display: flex; flex-direction: column; min-width: 0; margin-left: 4px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tn-pz small { color: var(--gold); font: 600 12px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; } .tn-pz i { color: var(--dim); font-style: normal; }
.mt-prize { display: inline-flex; align-items: center; gap: 8px; } .mt-prize img { width: 34px; height: 34px; object-fit: cover; border: 1px solid rgba(224,180,74,.45); }


/* ==== 1.36 — système de design (refonte) : jetons, composants, navigation, cartes, classements, profil ==== */
/* =====================================================================
   THE GAME MASTER — refonte 1.36 « Noir de projection »
   Couche posée après site.css : mêmes couleurs, mêmes polices, même logo.
   Ce fichier ajoute le système (variables par rôle, échelle, espacements),
   la navigation, les cartes cinéma, le tableau de bord, le podium et le mouvement.
   ===================================================================== */
:root {
  /* surfaces et filets (déjà présents dans le code : accueil, régie) */
  --bg4: #1c1c1f; --line2: #3a3a40;
  /* récompenses : réservées aux Master Coins et au podium */
  --gold-d: #9a6a12; --gold: #e0b44a; --gold-l: #f6e7bd; --silver: #cfd2d6; --bronze: #b77a45;
  /* états */
  --ok: #5fd06c; --warn: #e8a85a; --bad: var(--brass2); --sel: rgba(209,26,38,.12);
  /* espacements : 4, 8, 12, 16, 24, 32, 48, 64, 96 */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --w-read: 680px; --w-main: 1120px; --w-wide: 1280px;
  --ease: cubic-bezier(.2, .8, .2, 1); --t-fast: .12s; --t: .25s;
  --top-h: 0px;
}

/* ---------------------------------------------------------------- grain fixe (plus d'animation permanente) */
.grain { animation: none; opacity: .06; inset: 0; }
/* 1.84.0 (FRONT-05) : sur téléphone (et quand l'appareil demande moins d'animations), plus de grain : un calque plein écran
   posé au-dessus de toute la page, recomposé à chaque image qui bouge. Sur ordinateur, même rendu, sans mode de fusion :
   un grain blanc en « screen » donne exactement le même blanc qu'un calque normal. */
.grain { mix-blend-mode: normal; }
@media (max-width: 760px), (pointer: coarse) and (max-height: 500px), (prefers-reduced-motion: reduce) { .grain { display: none; } }

/* ---------------------------------------------------------------- mouvement : entrée de page, une fois */
@keyframes ui-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
main > .wrap > *, main > section:not(.lp-hero) { animation: ui-in var(--t) var(--ease) both; }
main > .wrap > *:nth-child(2) { animation-delay: .04s; } main > .wrap > *:nth-child(3) { animation-delay: .08s; }
main > .wrap > *:nth-child(4) { animation-delay: .12s; } main > .wrap > *:nth-child(n+5) { animation-delay: .16s; }

/* ---------------------------------------------------------------- boutons */
.btn { transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast), box-shadow .3s; }
.btn:active { transform: scale(.98); }
.btn.solid { box-shadow: 0 10px 30px -14px rgba(209,26,38,.75); }
.btn.solid:hover { box-shadow: 0 12px 34px -12px rgba(255,59,71,.8); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* ---------------------------------------------------------------- champs */
.form input, .form textarea, .form select { transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--brass); box-shadow: 0 0 0 3px var(--sel); }
.form label { font-size: 12px; }
.form-msg:not(:empty):not(.good) { display: flex; gap: 8px; align-items: flex-start; color: #ff8b93; }
.form-msg:not(:empty):not(.good)::before { content: "!"; flex: none; width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--brass2); color: var(--brass2); font: 600 13px var(--sans); margin-top: 2px; }
.form-msg.good { color: var(--ok); }
.pw-wrap { position: relative; display: block; width: 100%; }
.pw-wrap input { padding-right: 52px; }
.pw-eye { position: absolute; right: 0; top: 0; bottom: 0; width: 50px; display: flex; align-items: center; justify-content: center; background: none; border: 0; color: var(--dim); cursor: pointer; }
.pw-eye svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.pw-eye[aria-pressed=true] { color: var(--brass2); }
.auth-amb { margin-top: -6px; }

/* ---------------------------------------------------------------- chargement (squelettes) */
.skel { display: grid; gap: 10px; padding: 6px 0; }
.skel i { display: block; height: 58px; background: linear-gradient(90deg, var(--bg2) 0%, var(--bg3) 40%, var(--bg2) 80%); background-size: 200% 100%; border: 1px solid var(--line); animation: ui-skel 1.2s ease-in-out 2; }
.skel i:nth-child(2) { opacity: .7; } .skel i:nth-child(3) { opacity: .45; }
@keyframes ui-skel { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* ---------------------------------------------------------------- en-tête : code et solde */
.top-acts { display: flex; align-items: center; gap: 8px; }
.ta-code, .ta-in, .ta-mc { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; text-decoration: none; border: 1px solid var(--line); background: rgba(11,11,12,.6); color: var(--ink); font: 600 12px var(--sans); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; transition: border-color var(--t-fast), background var(--t-fast); }
.ta-code svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ta-code:hover, .ta-in:hover { border-color: var(--line2); background: var(--bg3); }
.ta-mc { border-color: rgba(224,180,74,.45); background: rgba(224,180,74,.08); color: var(--gold-l); letter-spacing: 0; border-radius: 18px; }
.ta-mc .mc-ic { font-size: 16px; }
.ta-mc b { font: 600 14px var(--sans); font-variant-numeric: tabular-nums; }
.ta-mc .ta-u { font-size: 12px; color: var(--gold); letter-spacing: .06em; }
.ta-mc:hover { background: rgba(224,180,74,.16); }
.ta-in { border-color: var(--brass); }
@media (min-width: 761px) {
  .top { flex-wrap: nowrap; }
  .top nav { margin-left: auto; }
  .ta-in { display: none; }   /* sur ordinateur, le menu du haut a déjà « Connexion » (2.18.0 : « J'ai un code » reste visible, le menu ne l'a pas) */
  .top { z-index: 30; }   /* 2.18.0 : les menus déroulants passent au-dessus des barres collantes des pages */
}
@media (max-width: 760px) {
  :root { --top-h: calc(52px + env(safe-area-inset-top, 0px)); }
  .top { position: sticky; top: 0; z-index: 70; justify-content: space-between; flex-wrap: nowrap; min-height: var(--top-h); padding: env(safe-area-inset-top, 0px) var(--gut) 0; background: rgba(0,0,0,.86); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid rgba(39,39,43,.7); }
  .v-home .top { background: linear-gradient(rgba(0,0,0,.78), rgba(0,0,0,.4)); border-bottom-color: transparent; }
  .brand { font-size: 18px; gap: 8px; } .brand-mark { width: 21px; height: 21px; }
  .pf-tabs { top: var(--top-h) !important; }
  .ta-code span { display: none; } .ta-code { padding: 0 10px; min-width: 40px; justify-content: center; }
}
@media (max-width: 360px) { .brand { font-size: 16px; } .ta-mc { padding: 0 9px; } }

/* ---------------------------------------------------------------- barre du bas : 4 onglets */
@media (max-width: 760px) {
  .tabbar a { font-size: 12px; letter-spacing: .02em; text-transform: none; gap: 3px; }
  .tabbar a:nth-child(2) svg { fill: currentColor; stroke: none; }
  .tabbar a.on { color: var(--ink); }
}

/* ---------------------------------------------------------------- compétition : tournois + classements */
.comp-nav { display: inline-flex; margin: 0 0 var(--s5); border: 1px solid var(--line); background: var(--bg2); }
.comp-nav a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 22px; text-decoration: none; color: var(--dim); font: 600 13px var(--sans); letter-spacing: .14em; text-transform: uppercase; transition: color var(--t-fast), background var(--t-fast); }
.comp-nav a + a { border-left: 1px solid var(--line); }
.comp-nav a:hover { color: var(--ink); }
.comp-nav a.on { background: var(--brass); color: #fff; }
@media (max-width: 640px) { .comp-nav { display: flex; } .comp-nav a { flex: 1; justify-content: center; } }

/* ---------------------------------------------------------------- cartes de jeu cinéma */
.posters .poster { position: relative; }
.posters .poster-art { border-color: var(--line); transition: border-color .3s, box-shadow .4s; }
.posters .poster-art::after { box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); background: linear-gradient(180deg, rgba(0,0,0,0) 38%, rgba(0,0,0,.55) 62%, rgba(0,0,0,.96) 100%); }
.posters .poster-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: var(--s4); gap: 6px; pointer-events: none; }
.posters .poster-title { font-size: clamp(20px, 2.2vw, 28px); line-height: 1.02; text-shadow: 0 2px 18px rgba(0,0,0,.9); }
.posters .poster-tag { color: #d2cbbd; font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.posters .poster-meta { color: var(--dim); font-size: 13px; }
.posters .poster .diff { margin-top: 4px; } .posters .diff-l { display: none; }
.posters .poster-chip { display: inline-block; font-size: 12px; }
.poster:hover .poster-art, .poster:focus-visible .poster-art { border-color: var(--line2); box-shadow: 0 30px 60px -30px rgba(209,26,38,.45); }
.poster:hover .poster-art img { transform: scale(1.04); transition-duration: .4s; }
@media (min-width: 641px) {
  .posters.grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s6) var(--s5); }
  .posters.grid:has(> .poster:nth-child(2):last-child), .posters.grid:has(> .poster:only-child) { grid-template-columns: repeat(auto-fill, minmax(300px, 360px)); }
}
@media (max-width: 640px) {
  .posters.grid { grid-template-columns: 1fr; gap: var(--s4); }
  .posters.grid .poster-art { aspect-ratio: 4 / 3; }
  .posters.grid .poster-art img { object-position: center 30%; }
  .posters .poster-title { font-size: 26px; -webkit-line-clamp: 2; }
  .posters .poster-tag { display: -webkit-box; } .posters .poster-meta { display: block; }
  .posters .dots i { width: 8px; height: 8px; }
}
@media (max-width: 640px) and (min-width: 480px) { .posters.grid { grid-template-columns: 1fr 1fr; } .posters.grid .poster-art { aspect-ratio: 2 / 3; } .posters .poster-title { font-size: 22px; } }
/* accueil : bande d'affiches plus grandes */
.posters.rail .poster { flex: 0 0 min(72vw, 300px); max-width: 300px; }
.posters.rail .poster-title { font-size: 24px; }

/* ---------------------------------------------------------------- accueil */
/* accueil, joueur connecté : une ligne discrète sous les boutons de l'ouverture (styles dans home.css) */

/* ---------------------------------------------------------------- fiche d'un jeu */
.game-act { scroll-margin-top: calc(var(--top-h) + 20px); }
.game-sticky { display: none; }
@media (max-width: 760px) {
  .game { gap: var(--s5); }
  .game-art { max-width: none !important; width: calc(100% + 2 * var(--gut)); margin: calc(-1 * clamp(22px, 6vw, 64px)) calc(-1 * var(--gut)) 0; aspect-ratio: 4 / 5; border: 0; position: relative; }
  .game-art img { object-position: center 25%; }
  .game-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.7) 78%, #000 100%); pointer-events: none; }
  .game-info { margin-top: -96px; position: relative; z-index: 1; }
  .game-info .h-page { text-shadow: 0 2px 30px #000; }
  .game-sticky { position: fixed; z-index: 75; left: 0; right: 0; bottom: var(--tab-h); display: flex; align-items: center; gap: 12px; padding: 10px var(--gut); background: rgba(6,6,7,.95); border-top: 1px solid var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); text-decoration: none; color: var(--ink);
    transform: translateY(110%); opacity: 0; transition: transform .28s var(--ease), opacity .2s; pointer-events: none; }
  .game-sticky.on { transform: none; opacity: 1; pointer-events: auto; }
  .gs-t { flex: 1; min-width: 0; font: 400 18px/1.1 var(--serif); text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .gs-t small { display: block; font: 12px var(--sans); text-transform: none; color: var(--dim); margin-top: 3px; }
  .game-sticky .btn { min-height: 44px; padding: 10px 16px; letter-spacing: .12em; flex: none; }
}
@media (max-width: 400px) {   /* 2.70.0 (audit 360, UX-02) : barre d'achat collante des fiches, petits téléphones : le titre passe à la ligne au lieu d'être coupé (« LA FOIRE AUX GRIMACES » sur 320 à 375 px) */
  .gs-t { white-space: normal; font-size: 15px; line-height: 1.15; }
  .game-sticky .btn { padding: 10px 12px; letter-spacing: .08em; }
}

/* ---------------------------------------------------------------- classements : podium or, argent, bronze ; ta ligne */
.podium .p1 { border-top-color: var(--gold); background: linear-gradient(rgba(224,180,74,.12), var(--bg2) 70%); box-shadow: 0 0 70px rgba(224,180,74,.1); }
.podium .p2 { border-top-color: var(--silver); } .podium .p3 { border-top-color: var(--bronze); }
.p1 .pod-rank { color: var(--gold); } .p2 .pod-rank { color: var(--silver); } .p3 .pod-rank { color: var(--bronze); }
@media (min-width: 641px) {
  .podium { grid-template-columns: 1fr 1.15fr 1fr; }
  .podium .p1 { order: 2; padding-top: 46px; } .podium .p2 { order: 1; padding-top: 30px; } .podium .p3 { order: 3; padding-top: 18px; }
}
@keyframes ui-rise { from { opacity: 0; transform: translateY(18px); } }
.podium li { animation: ui-rise .45s var(--ease) both; } .podium .p1 { animation-delay: .12s; } .podium .p3 { animation-delay: .06s; }
.pod1 .medal { background: var(--gold); color: #1a1205; } .pod2 .medal { background: var(--silver); color: #111; } .pod3 .medal { background: var(--bronze); color: #140b04; }
.board.rank tr.me td { background: var(--sel); } .board.rank tr.me td:nth-child(2) { color: var(--brass2); }
.board.rank tr.me td:first-child { box-shadow: inset 3px 0 0 var(--brass); }
.board.rank tr.me-pin td { position: sticky; bottom: calc(var(--tab-h) + 8px); top: calc(var(--top-h) + 8px); z-index: 2; background: #1a0d0f; }
.board.rank tr.me-pin { position: sticky; bottom: calc(var(--tab-h) + 8px); top: calc(var(--top-h) + 8px); z-index: 2; }
/* 1.49.9 : ligne « Votre place » épinglée au-dessus de la carte « Reprendre » et du bandeau des cookies quand ils sont affichés */
html.has-resume .board.rank tr.me-pin, html.has-resume .board.rank tr.me-pin td { bottom: calc(var(--tab-h) + var(--rs-h, 120px) + 20px); }
body.ck-on .board.rank tr.me-pin, body.ck-on .board.rank tr.me-pin td { bottom: calc(var(--tab-h) + var(--ck-h, 0px) + 8px); }
html.has-resume body.ck-on .board.rank tr.me-pin, html.has-resume body.ck-on .board.rank tr.me-pin td { bottom: calc(var(--tab-h) + var(--ck-h, 0px) + var(--rs-h, 120px) + 20px); }
@media (min-width: 900px) { html.has-resume .board.rank tr.me-pin, html.has-resume .board.rank tr.me-pin td { bottom: calc(var(--tab-h) + 8px); } html.has-resume body.ck-on .board.rank tr.me-pin, html.has-resume body.ck-on .board.rank tr.me-pin td { bottom: calc(var(--tab-h) + var(--ck-h, 0px) + 8px); } }   /* 1.49.9 : Chrome n'épingle pas une cellule hors de sa ligne : la ligne entière est épinglée (Safari et Firefox : les cellules, comme avant) */
.board.rank tr.rk-gap td { padding: 2px 10px; border-bottom: 0; color: var(--dim); text-align: center; letter-spacing: .3em; }   /* 1.49.9 (UX-06) : entre le classement et sa place */
.rk-list li.me { background: var(--sel); box-shadow: inset 3px 0 0 var(--brass); } .rk-list li.me .rk-name { color: var(--brass2); }
.rk-list li.first .rk-n, .top-players li.p1 .tp-r { color: var(--gold); }
@media (min-width: 900px) { .rk-wrap { grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)) !important; } }

/* ---------------------------------------------------------------- tableau de bord (profil) */
.pf-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 0 0 var(--s6); }
.tile { display: flex; flex-direction: column; gap: 4px; padding: var(--s4); background: var(--bg2); text-decoration: none; color: var(--ink); min-width: 0; transition: background var(--t-fast); }
.tile:hover { background: var(--bg3); }
.tile-l { font: 600 12px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.tile-v { font: 400 clamp(32px, 5vw, 48px)/1 var(--serif); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.tile-v small { font-size: .45em; margin-left: 2px; vertical-align: .9em; }
.tile-s { font-size: 13px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-bar { display: block; height: 4px; background: var(--line); margin-top: 6px; overflow: hidden; }
.tile-bar i { display: block; height: 100%; background: var(--brass); transform-origin: left; animation: ui-fill .6s var(--ease) .15s both; }
@keyframes ui-fill { from { transform: scaleX(0); } }
.tile-mc { background: linear-gradient(160deg, rgba(224,180,74,.1), var(--bg2) 60%); }
.tile-mc .tile-v { color: var(--gold-l); } .tile-mc .tile-l { color: var(--gold); }
@media (max-width: 640px) { .pf-tiles { grid-template-columns: 1fr 1fr; } .tile { padding: 14px; } }
.pf-sum { display: none; }
.todo-now { margin: 0 0 var(--s6); }
.tn-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--s3); }
.todo { display: flex; flex-direction: column; gap: 4px; padding: var(--s4); border: 1px solid var(--line); background: var(--bg2); text-decoration: none; color: var(--ink); transition: border-color var(--t-fast), background var(--t-fast); }
.todo:hover { border-color: var(--line2); background: var(--bg3); }
.todo-k { font: 600 12px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-sm); }
.todo b { font: 400 22px/1.05 var(--serif); text-transform: uppercase; letter-spacing: .01em; }
.todo > span:not(.todo-k):not(.tile-bar) { font-size: 14px; color: var(--dim); }
.todo.t-hot { border-color: var(--blood); background: linear-gradient(160deg, rgba(209,26,38,.14), var(--bg2) 65%); }

/* parrainage : la jauge du mois */
.ref-month { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 4px 12px; margin: 14px 0; padding: 12px 14px; border: 1px solid var(--line); background: var(--bg); max-width: 420px; }
.ref-month span:first-child { font: 600 12px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.ref-month b { font: 400 26px/1 var(--serif); justify-self: end; }
.ref-month .tile-bar { grid-column: 1 / -1; margin: 0; }
.ref-month small { grid-column: 1 / -1; font-size: 13px; color: var(--dim); }

/* boutique : l'euro ne ressemble jamais aux Master Coins */
.sh-eur { gap: 6px; } .sh-eur svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; }

/* ---------------------------------------------------------------- résultat : l'écran de sortie */
.result.won .h-page { font-size: clamp(56px, 16vw, 120px); line-height: .9; text-shadow: 0 0 60px rgba(209,26,38,.35); }
.result .stats { animation: ui-in .4s var(--ease) .1s both; }
.result .xp-gain, .result .mc-lines, .result .ub-list { animation: ui-reveal .7s var(--ease) .35s both; }
@keyframes ui-reveal { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.res-steps { margin: var(--s6) 0; border-top: 1px solid var(--line); }
.res-steps summary { padding: 16px 0; cursor: pointer; font: 600 13px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); list-style: none; display: flex; justify-content: space-between; }
.res-steps summary::-webkit-details-marker { display: none; }
.res-steps summary::after { content: "+"; color: var(--brass2); font-size: 18px; } .res-steps[open] summary::after { content: "−"; }

/* ---------------------------------------------------------------- tournois : compte à rebours lisible */
.cr-c i { font-size: 12px !important; letter-spacing: .02em !important; text-transform: none !important; }
.cr-c { min-width: 54px; }
.chrono.sm .cr-c { min-width: 50px; }

/* ---------------------------------------------------------------- largeurs sur ordinateur */
@media (min-width: 1200px) {
  .v-rankings .wrap.page, .v-tournaments .wrap.page { width: min(var(--w-wide), 100%); }
}

/* ---------------------------------------------------------------- réduction des animations */
@media (prefers-reduced-motion: reduce) {
  main > .wrap > *, main > section, .podium li, .tile-bar i, .result .stats, .result .xp-gain, .result .mc-lines, .result .ub-list, .skel i { animation: none !important; }
  .game-sticky { transition: none; } .btn:active { transform: none; }
}

/* fiche d'un jeu : la barre d'action fixe ne cache jamais le bas de la page */
@media (max-width: 760px) { .v-game main { padding-bottom: 76px; } }

/* Mots en rouge dans un texte courant ou un petit titre (< 24 px) : la teinte des petits textes, lisible sur noir (contraste AA). */
.lede em, .rk-info h2 em, .app-head h2 em { color: var(--brass-sm); }
.prose em, .empty em, .veil-box em { color: var(--brass-sm); }   /* 2.12.0 (audit FRONT-20) : texte de moins de 24 px : le rouge lisible (5,3:1 au lieu de 3,9:1 sur noir) */

/* 1.36.3 — clavier virtuel ouvert : la barre d'onglets et la barre d'achat fixe se retirent (app.js pose html.kb) */
html.kb .tabbar, html.kb .game-sticky { display: none !important; }
/* 1.38 — classement de la soirée (session en direct), sur la page de résultat */
.lb { margin: 30px 0 8px; padding-top: 22px; border-top: 1px solid var(--line); }
.lb .board { margin-top: 10px; }
.lb-board tr.off td { color: var(--faint); } .lb-board tr.off td:nth-child(2) { color: var(--dim); font-weight: 400; }
.lb-board td small { font: 400 12px var(--type); letter-spacing: .04em; color: var(--dim); }
.lb-team { margin: 8px 0 6px; font: 400 clamp(24px, 6vw, 32px)/1.15 var(--serif); letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }
.lb-team em { font-style: normal; color: var(--brass2); } .lb-team b { font-weight: 400; color: var(--brass2); }

/* ------------------------------------------------------------ 1.40 : pages de contenu (comment ça marche, sessions en direct, guides) */
.guide .crumbs { margin-bottom: 18px; }
.guide h3 { font: 600 17px/1.35 var(--sans, inherit); margin: 26px 0 6px; color: var(--ink); text-transform: none; letter-spacing: 0; }
.guide .rules { margin: 6px 0 10px; max-width: 68ch; }
.guide .steps { padding-left: 22px; } .guide .steps li { margin: 10px 0; padding-left: 4px; } .guide .steps li::marker { color: var(--brass); font-weight: 700; }
.guide b { color: var(--ink); }
.guide-cta { margin: 40px 0 14px; }
.guide .note a, .more-line a, .cat-intro a, .opt-line a { color: var(--brass2); }
.guide-list { list-style: none; padding: 0 !important; margin: 24px 0; border-top: 1px solid var(--line); }
.guide-list li { margin: 0 !important; border-bottom: 1px solid var(--line); }
.guide-list a { display: grid; gap: 6px; padding: 18px 0; text-decoration: none; }
.guide-list b { font: 400 clamp(22px, 3.2vw, 28px)/1.15 var(--serif); text-transform: uppercase; letter-spacing: .02em; color: var(--ink); }
.guide-list span { color: #cfcbc2; } .guide-list small { color: var(--dim); font-size: 13px; }
.guide-list a:hover b { color: var(--brass2); }
.cat-intro { max-width: 40em; }
.more-line { margin-top: 8px; }
.foot-more { margin-top: 18px; } .foot-more + .foot-nav { margin-top: 6px; }
/* 2.12.0 (audit FRONT-18) : pied en colonnes */
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 28px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; font-size: 13px; letter-spacing: 0; text-transform: none; min-width: 0; }
.foot-h { margin: 0 0 6px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); font-family: inherit; }
.foot-col a { color: var(--dim); text-decoration: none; padding: 6px 0; } .foot-col a:hover { color: var(--ink); text-decoration: underline; }
.foot-legal { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); align-items: center; }
.foot-c { color: var(--faint); font-family: inherit !important; font-size: 13px !important; padding: 6px 0; }
@media (max-width: 760px) { .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 340px) { .foot-cols { grid-template-columns: 1fr; } }
@media (pointer: coarse) { .foot-col a { padding: 9px 0; } }
.guide h2 { line-height: 1.15; }

/* ------------------------------------------------------------ 1.42 : teaser vidéo sur la fiche d'un jeu */
.game-art.has-teaser { position: relative; }
.teaser-go { position: absolute; z-index: 2; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; background: rgba(0,0,0,.72); border: 1px solid rgba(255,255,255,.28); color: #fff; text-decoration: none;
  font: 500 13px var(--sans); letter-spacing: .14em; text-transform: uppercase; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.teaser-go svg { width: 18px; height: 18px; fill: var(--brass2); } .teaser-go:hover { border-color: var(--brass2); }
.teaser { scroll-margin-top: calc(var(--top-h, 64px) + 16px); }
.teaser video { display: block; width: 100%; max-height: 80vh; background: #000; border: 1px solid var(--line); }
@media (max-width: 760px) { .teaser-go { left: var(--gut); bottom: 110px; } .teaser video { max-height: 70vh; } }

/* ------------------------------------------------------------ 1.43 : formulaire de contact */
.contact-form { max-width: 640px; }
.contact-form textarea { min-height: 170px; resize: vertical; }
.topics { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; } .topics legend { padding: 0; margin-bottom: 8px; font-size: 14px; color: var(--dim); }
.topic { position: relative; display: inline-flex !important; margin: 0 !important; cursor: pointer; }
.topic input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.topic span { text-transform: none; letter-spacing: 0; padding: 10px 14px; border: 1px solid var(--line); color: #cfcbc2; font-size: 14px; line-height: 1.2; min-height: 40px; display: flex; align-items: center; }
.topic input:checked + span { border-color: var(--brass); background: rgba(209,26,38,.14); color: #fff; }
.topic input:focus-visible + span { outline: 2px solid var(--brass2); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-done h2 { font-size: clamp(30px, 6vw, 44px); margin: 10px 0 12px; } .contact-done h2 em { color: var(--brass); font-style: normal; }
.check-q span { display: block; font: 17px var(--type); letter-spacing: 0; text-transform: none; color: var(--ink); margin-top: 2px; }
/* 1.45 — barre du bas à 5 onglets avec « Événements » et « Compétition » : libellés serrés sur les petits écrans, jamais tronqués
   1.49.8 (MOB-01) : 12 px dès 360 px de large (la plupart des téléphones) ; 11 px en dessous, 10 px sous 340 px (sinon « Compétition » serait coupé) */
@media (max-width: 400px) { .tabbar a { letter-spacing: 0; font-size: 12px; } }
@media (max-width: 359px) { .tabbar a { letter-spacing: .01em; font-size: 11px; } }
@media (max-width: 340px) { .tabbar a { font-size: 11px; letter-spacing: 0; } .tabbar { padding-left: max(2px, env(safe-area-inset-left)); padding-right: max(2px, env(safe-area-inset-right)); } .tabbar a span { letter-spacing: -.01em; } }   /* 2.14.2 : « Compétition » en entier à 320 px (avant : « Compétiti… ») */   /* 2.12.0 (audit FRONT-20) : 11 px au moins (avant : 10 px sous 341 px) */

/* 1.46 — fiche d'un jeu : « Jouer seul » / « Jouer en groupe » */
.act-k { margin-top: 6px; }
.group-cta { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.group-cta .note { margin: 0 0 14px; }
.grp-board-h { font-size: 20px; margin: 22px 0 10px; }
/* 1.48 — « Reprendre ma partie » : bandeau discret, au-dessus du menu du bas sur téléphone, en bas à droite sur ordinateur */
.resume { position: fixed; z-index: 79; left: 12px; right: 12px; bottom: calc(var(--tab-h) + 12px); display: flex; flex-direction: column; gap: 6px; max-width: 520px; margin: 0 auto; animation: rsin .35s cubic-bezier(.2,.9,.2,1); }
@keyframes rsin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.rs-in { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; background: rgba(10,10,12,.96); border: 1px solid var(--line); border-left: 3px solid var(--brass); box-shadow: 0 14px 40px rgba(0,0,0,.7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.rs-in img { width: 36px; height: 54px; object-fit: cover; flex: none; border: 1px solid var(--line); }
.rs-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rs-t small { font: 600 11px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass-sm); font-variant-numeric: tabular-nums; }
.rs-t b { font: 18px/1.15 var(--serif); text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rs-more { font-size: 12px; color: var(--dim); }
.rs-in .btn { flex: none; min-height: 44px; padding: 10px 14px; font-size: 13px; white-space: nowrap; }
.rs-x { flex: none; width: 34px; height: 34px; border: 0; background: none; color: var(--dim); font-size: 22px; line-height: 1; cursor: pointer; }
.rs-x:hover { color: var(--ink); }
.rs-end { border-left-color: var(--line); }
.rs-list { display: flex; flex-direction: column; gap: 4px; }
.rs-o { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; padding: 10px 12px; background: rgba(10,10,12,.94); border: 1px solid var(--line); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.rs-o small { color: var(--brass-sm); font-size: 12px; white-space: nowrap; }
html.has-resume body { padding-bottom: calc(var(--tab-h) + 140px); padding-bottom: calc(var(--tab-h) + max(140px, var(--rs-h, 120px) + 24px)); }   /* 1.82.0 : la carte « Votre partie » d'une partie de groupe est plus haute : le bas de la page (places du groupe) n'est plus caché dessous */
@media (min-width: 900px) { .resume { left: auto; right: max(22px, env(safe-area-inset-right, 0px)); bottom: max(22px, env(safe-area-inset-bottom, 0px)); width: 560px; max-width: 560px; } html.has-resume body { padding-bottom: 0; } }
@media (max-width: 560px) { .rs-in { flex-wrap: wrap; row-gap: 10px; } .rs-t { flex: 1 1 calc(100% - 100px); } .rs-in .btn { order: 3; flex: 1 1 100%; } .rs-in img { width: 30px; height: 45px; } }
@media (max-width: 360px) { .rs-in img { display: none; } }
@media (prefers-reduced-motion: reduce) { .resume { animation: none; } }
.price-drop.vip-price span { background: var(--gold); color: #1a1205; }   /* 1.49 : prix VIP partenaire */
/* 1.49 — badge partenaire sur le profil */
.pf-partner { --c: var(--bronze); display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 12px; border: 1px solid var(--c); color: var(--c); text-decoration: none; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.pf-partner svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.pf-partner span { margin-left: 4px; padding: 2px 6px; background: var(--gold); color: #1a1205; font-size: 11px; letter-spacing: .1em; }
.pf-partner.pp-c-silver { --c: var(--silver); } .pf-partner.pp-c-gold { --c: var(--gold); } .pf-partner.pp-c-red { --c: var(--brass2); } .pf-partner:hover { background: rgba(255,255,255,.04); }
.form label small.opt { text-transform: none; letter-spacing: 0; color: var(--faint); font-size: 12px; }
/* 2.52.0 : règles du pseudo et du mot de passe sous les champs, et leur vérification pendant la saisie */
.form label small.fhint { display: block; text-transform: none; letter-spacing: 0; color: var(--dim); font-size: 13px; line-height: 1.45; margin-top: -2px; }
.form label small.fstat { display: block; text-transform: none; letter-spacing: 0; font-size: 13px; line-height: 1.4; min-height: 0; }
.form label small.fstat:empty { display: none; }
.form label small.fstat.ok { color: #49b77a; }
.form label small.fstat.ok::before { content: "✓ "; }
.form label small.fstat.ko { color: #ff6b74; }   /* 1.49 : champ facultatif */
.tn-host { margin: -6px 0 16px; color: var(--dim); font-size: 15px; } .tn-host b { color: var(--gold); font-weight: 600; } .tn-host span { display: inline-block; padding: 2px 8px; border: 1px solid var(--line); font-size: 13px; }   /* 1.49 : tournoi de communauté */

/* 1.49 — « Installer l'application » : guide en images */
.inst-page .lede { max-width: 38em; }
.inst-in { border-left: 3px solid var(--brass); background: var(--bg2); padding: 12px 16px; color: #d8d2c6; max-width: 40em; }
.inst-perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 30px 0 56px; }
.inst-perks div { background: var(--bg); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.inst-perks b { font-family: var(--serif); font-weight: 400; font-size: 22px; letter-spacing: .01em; text-transform: uppercase; color: var(--ink); }
.inst-perks span { color: var(--dim); font-size: 14px; line-height: 1.45; }
.inst-h { font-size: clamp(28px, 5vw, 44px); line-height: 1; margin: 0 0 8px; }
.inst-h em, .inst-done h2 em, .inst-other h2 em { color: var(--brass); font-style: normal; }
.inst-h small { display: block; margin-top: 10px; font-family: var(--type); font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--dim); }
.inst-steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 0; }
.inst-step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); gap: clamp(24px, 6vw, 72px); align-items: center; padding: 38px 0; border-top: 1px solid var(--line); }
.inst-step:nth-child(even) { grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); }
.inst-step:nth-child(even) .inst-txt { order: 2; }
.inst-txt { position: relative; }
.inst-n { display: block; font-family: var(--serif); font-size: clamp(84px, 14vw, 150px); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--brass); margin-bottom: 14px; }
.inst-txt h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 4vw, 38px); line-height: 1.02; text-transform: uppercase; margin: 0 0 14px; }
.inst-txt p { color: #cfcbc2; font-size: 17px; line-height: 1.6; max-width: 34em; margin: 0; }
.inst-txt b { color: var(--ink); }
.inst-phone { margin: 0; justify-self: center; width: 100%; max-width: 300px; padding: 10px; border-radius: 42px; background: linear-gradient(160deg, #1c1c20, #070708); border: 1px solid #2c2c31; box-shadow: 0 30px 80px -20px rgba(0,0,0,.9), 0 0 0 1px #000, 0 0 70px -20px rgba(209,26,38,.35); }
.inst-phone img { display: block; width: 100%; height: auto; border-radius: 32px; }
.inst-done { border: 1px solid var(--blood); border-top: 3px solid var(--brass); background: radial-gradient(120% 140% at 0% 0%, rgba(209,26,38,.16), transparent 60%), var(--bg2); padding: clamp(22px, 4vw, 36px); margin: 18px 0 56px; }
.inst-done h2 { font-size: clamp(32px, 6vw, 52px); line-height: 1; margin: 0 0 14px; }
.inst-done p { color: #d2cbbd; max-width: 60ch; line-height: 1.6; margin: 0 0 12px; }
.inst-tip { font-size: 15px; color: var(--dim) !important; margin-bottom: 0 !important; }
.inst-other { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 4vw, 48px); }
.inst-other h2 { font-size: clamp(24px, 4vw, 34px); margin: 0 0 14px; }
.inst-mini { margin: 0; padding-left: 1.3em; color: #cfcbc2; line-height: 1.6; } .inst-mini li { margin-bottom: 6px; } .inst-mini b { color: var(--ink); }
@media (max-width: 760px) {
  .inst-perks { grid-template-columns: minmax(0, 1fr); margin: 22px 0 40px; }
  .inst-step, .inst-step:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 30px 0; }
  .inst-step:nth-child(even) .inst-txt { order: 0; }
  .inst-phone { max-width: 270px; }
  .inst-other { grid-template-columns: minmax(0, 1fr); }
}

/* 1.49 — bandeau des cookies (navigateur seulement, jamais dans l'application installée) */
.ck-bar { position: fixed; left: 0; right: 0; bottom: var(--tab-h); z-index: 90; display: flex; justify-content: center; padding: 0 12px 12px; pointer-events: none; }
.ck-bar[hidden] { display: none; }
.ck-bar { display: none; } .js .ck-bar { display: flex; } .is-app .ck-bar, .js .ck-bar[hidden] { display: none; }   /* 2.19.0 (vitesse) : affiché dès le premier affichage (avant : par site.js, plus tard) ; jamais dans l'application ni sans JavaScript */
.ck-box { pointer-events: auto; width: 100%; max-width: 720px; display: flex; gap: 18px; align-items: center; background: #0d0d0f; border: 1px solid var(--blood); border-top: 3px solid var(--brass); box-shadow: 0 -10px 60px rgba(0,0,0,.8); padding: 16px 18px; animation: ckin .45s cubic-bezier(.2, .9, .2, 1); }
@keyframes ckin { from { transform: translateY(30px); } to { transform: none; } }   /* 2.19.0 (vitesse) : sans fondu (un texte encore transparent est compté par Google comme affiché à la fin du fondu) */
.ck-box p { margin: 0; font-size: 14px; line-height: 1.5; color: #d2cbbd; }
.ck-box p b { color: var(--ink); } .ck-box a { color: var(--brass-sm); }
.ck-acts { display: flex; gap: 10px; flex: none; }
.ck-acts .btn { min-height: 44px; padding: 10px 20px; font-size: 12px; }
@media (max-width: 640px) { .ck-box { flex-direction: column; align-items: stretch; gap: 12px; } .ck-acts .btn { flex: 1; } }
@media (prefers-reduced-motion: reduce) { .ck-box { animation: none; } }
@media (min-width: 1024px) { .ck-bar { justify-content: flex-end; padding: 0 24px 24px; } .ck-box { max-width: 440px; flex-direction: column; align-items: stretch; gap: 12px; } .ck-acts .btn { flex: 1; } }   /* 2.61.0 : sur ordinateur, dans le coin, plus au milieu des boutons de l'accueil */
@media (max-height: 600px) { .ck-box { padding: 10px 12px; gap: 8px; } .ck-box p { font-size: 12px; line-height: 1.4; } .ck-txt { max-height: 5.6em; overflow-y: auto; } .ck-acts .btn { min-height: 44px; padding: 6px 14px; } }   /* 2.61.0 : écran bas (téléphone couché, petit iPhone) : le texte défile dans le bandeau, qui reste petit */
@media (orientation: landscape) and (max-height: 500px) { .ck-box { flex-direction: row; align-items: center; max-width: 760px; padding: 8px 12px; } .ck-txt { max-height: 50px; } .ck-acts .btn { flex: none; } }
.ck-err { color: var(--brass2) !important; margin-top: 8px !important; }
body.ck-on { padding-bottom: calc(var(--tab-h) + var(--ck-h, 0px)); }
/* 1.49.8 (MOB-02, ta décision du 17/10) : tant que le bandeau est affiché, les boutons fixés en bas passent au-dessus de lui au lieu d'être cachés */
body.ck-on .resume { bottom: calc(var(--tab-h) + var(--ck-h, 0px) + 12px); }
body.ck-on .game-sticky, body.ck-on .app-sheet { bottom: calc(var(--tab-h) + var(--ck-h, 0px)); }
body.ck-on .lp-snd { bottom: calc(var(--tab-h) + var(--ck-h, 0px) + 12px) !important; }   /* bouton du son de l'accueil */
html.has-resume body.ck-on { padding-bottom: calc(var(--tab-h) + var(--ck-h, 0px) + 140px); padding-bottom: calc(var(--tab-h) + var(--ck-h, 0px) + max(140px, var(--rs-h, 120px) + 24px)); }   /* bandeau et carte de reprise : le bas de la page reste lisible */
@media (min-width: 900px) { html.has-resume body.ck-on { padding-bottom: calc(var(--tab-h) + var(--ck-h, 0px)); } }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--brass-sm); text-decoration: underline; cursor: pointer; }

/* 1.49 — bouton « Espace partenaire » dans l'en-tête (partenaires seulement) */
.ta-pp { --c: var(--bronze); display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 12px; text-decoration: none; border: 1px solid var(--c); background: color-mix(in srgb, var(--c) 12%, rgba(11,11,12,.6)); color: var(--c); font: 600 12px var(--sans); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; transition: background .2s; }
.ta-pp svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; flex: none; }
.ta-pp:hover, .ta-pp.on { background: color-mix(in srgb, var(--c) 24%, rgba(11,11,12,.6)); }
.ta-pp.on svg { fill: currentColor; }
.ta-pp-silver { --c: var(--silver); } .ta-pp-gold { --c: var(--gold); } .ta-pp-red { --c: var(--brass2); } .ta-pp-bronze { --c: #c88a52; }
.ta-pp.off { --c: var(--faint); }
@media (max-width: 1559px) { .ta-pp span { display: none; } .ta-pp { padding: 0 10px; min-width: 40px; justify-content: center; } }   /* le libellé seulement sur grand écran : le menu du haut garde sa ligne */
@media (max-width: 380px) { .top-acts { gap: 6px; } .ta-pp, .ta-code { min-width: 36px; padding: 0 8px; } }
.lp-back-pp { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 14px; border: 1px solid var(--brass); color: var(--ink); text-decoration: none; font: 600 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.lp-back-pp svg { width: 15px; height: 15px; fill: none; stroke: var(--brass); stroke-width: 1.7; stroke-linejoin: round; }
.lp-back-pp:hover { background: rgba(209,26,38,.12); }
/* 1.50.0 (LEG-02) — profil : achats et factures */
.runs.buys li { flex-wrap: wrap; align-items: center; }
.runs.buys .b-what { text-align: left; color: var(--ink); font-size: 15px; } .runs.buys .b-what small { display: block; margin-top: 4px; color: var(--dim); font-size: 13px; }
.runs.buys .b-docs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.runs.buys .btn { min-height: 44px; padding: 10px 16px; font: 500 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.runs.buys .inv { flex: 1 1 100%; margin: 4px 0 0; } .runs.buys .inv > summary { font-size: 16px; padding: 12px 14px; }
#factures { scroll-margin-top: 150px; }
/* ---- 1.60.0 — avis des joueurs : étoiles, fiche d'un jeu, catalogue, fin de partie, fenêtre de notation, « Mes avis » ---- */
.rv-stars { display: inline-block; font-size: 15px; line-height: 1; letter-spacing: 2px; background: linear-gradient(90deg, var(--brass2, #ff3b47) var(--v, 0%), var(--star-off, #66666e) var(--v, 0%));   /* 2.33.2 : valeurs de secours, sinon étoiles invisibles hors de la section des avis (case « Avis » de la fiche) */ -webkit-background-clip: text; background-clip: text; color: transparent; vertical-align: -1px; white-space: nowrap; }
.rv-stars.lg { font-size: 22px; letter-spacing: 3px; }
.rv, .rv-sheet, .rv-invite, .poster-rv { --star-off: #66666e; }   /* étoile vide : contraste 3:1 sur fond noir (commande) */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.facts .rv-fact a { color: var(--ink); text-decoration: none; } .facts .rv-fact small { color: var(--dim); font-size: 13px; }
.rv { scroll-margin-top: 80px; }
.rv-preview { border: 1px dashed var(--warn); color: var(--warn); padding: 10px 14px; font-size: 14px; margin: 0 0 18px; }
.rv-top { display: grid; grid-template-columns: minmax(150px, auto) minmax(220px, 1fr) auto; gap: 22px 32px; align-items: center; padding: 22px; border: 1px solid var(--line); background: var(--bg2); margin: 0 0 18px; }
.rv-top.empty-rv { grid-template-columns: 1fr auto; } .rv-top.empty-rv .empty { margin: 0; }
.rv-score { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 2px 8px; }
.rv-score b { font: 400 54px/1 var(--serif); color: var(--ink); } .rv-score > span:not(.rv-stars) { color: var(--dim); font-size: 15px; }
.rv-score .rv-stars, .rv-score small { grid-column: 1 / -1; justify-self: start; } .rv-score small { color: var(--dim); font-size: 13px; margin-top: 4px; }
.rv-dist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.rv-dist button { width: 100%; min-height: 36px; display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; gap: 10px; background: none; border: 0; padding: 4px 2px; color: var(--dim); font: 13px var(--sans); cursor: pointer; text-align: left; }
.rv-dist button:disabled { cursor: default; opacity: .55; } .rv-dist button:not(:disabled):hover, .rv-dist button.on { color: var(--ink); }
.rv-dist i { display: block; height: 8px; background: var(--bg4); position: relative; } .rv-dist i b { position: absolute; inset: 0 auto 0 0; background: var(--brass); }
.rv-dist button.on i b { background: var(--brass2); } .rv-dist button > span:last-child { text-align: right; }
.rv-me { display: flex; flex-direction: column; gap: 8px; align-items: stretch; } .rv-me .note { font-size: 13px; margin: 0; max-width: 220px; }
.rv-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 6px; } .rv-bar .sh-seg { margin: 0; flex: 0 1 auto; }
.rv-filter { font-size: 14px; color: var(--dim); }
.rv-list { list-style: none; margin: 0; padding: 0; }
.rv-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.rv-h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.rv-name { color: var(--ink); font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.rv-ver, .rv-off { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 7px; border: 1px solid var(--line2); color: var(--dim); }
.rv-ver { border-color: color-mix(in srgb, var(--ok) 45%, transparent); color: var(--ok); } .rv-off { border-color: color-mix(in srgb, var(--warn) 45%, transparent); color: var(--warn); }
.rv-meta { font-size: 12.5px; color: var(--faint); margin: 6px 0 8px; }
.rv-body { color: #d8d2c6; font-size: 15.5px; line-height: 1.6; overflow-wrap: anywhere; }
.rv-spoil .rv-show { background: var(--bg2); border: 1px dashed var(--line2); color: var(--ink); padding: 10px 14px; font: 14px var(--sans); cursor: pointer; margin: 0 0 8px; } .rv-spoil .rv-show small { color: var(--dim); }
.rv-reply { margin: 12px 0 0 14px; padding: 10px 14px; border-left: 2px solid var(--brass); background: #0d0d0f; } .rv-reply b { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--brass2); }
.rv-reply p { margin: 6px 0 4px; color: #d8d2c6; font-size: 15px; line-height: 1.55; } .rv-reply small { color: var(--faint); font-size: 12px; }
.rv-rep { font-size: 12.5px; margin-top: 4px; color: var(--faint); min-height: 44px; display: inline-flex; align-items: center; padding: 0 8px 0 0; }
.rv-how { font-size: 13px; color: var(--faint); margin: 14px 0 0; max-width: 780px; } .rv-how a { color: var(--brass-sm); }
.poster-rv { display: block; margin-top: 6px; font-size: 12.5px; color: var(--ink); } .poster-rv small { color: var(--dim); font-size: 12px; } .poster-rv .rv-one { color: var(--ink); }
.poster-rv { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 6px; } .poster-rv .rv-stars.sm { font-size: 13px; letter-spacing: 1px; } .poster-rv .rv-avg { font-weight: 600; color: var(--ink); }   /* 1.67.0 : cinq étoiles rouges sur les cartes */
.cat-rv { margin-top: 8px; } .cat-rv .cat-chips2 { padding-left: 14px; border-left: 1px solid var(--line2); } .cat-how { flex-basis: 100%; font-size: 13px; color: var(--dim); margin: 2px 0 0; }
.rv-invite { margin: 22px 0; padding: 22px; border: 1px solid var(--blood); border-top: 3px solid var(--brass); background: #0d0d0f; text-align: center; transition: opacity .3s; }
.rv-invite.gone { opacity: 0; } .rv-invite .note { margin: 6px 0 10px; }
.rv-inv-t { font: 400 clamp(22px, 5vw, 30px)/1.1 var(--serif); text-transform: uppercase; letter-spacing: .02em; margin: 0; } .rv-inv-t em { color: var(--brass); font-style: normal; }
.rv-pick { display: flex; justify-content: center; gap: 4px; margin: 4px 0 12px; }
.rv-pick button { width: 48px; height: 48px; border: 0; background: none; color: var(--star-off); font-size: 34px; line-height: 1; cursor: pointer; padding: 0; transition: color .15s; }
.rv-pick button.on { color: var(--brass2); } .rv-pick button:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
@media (hover: hover) { .rv-pick:hover button { color: var(--brass2); } .rv-pick button:hover ~ button { color: var(--star-off); } }   /* survol : seulement à la souris (un appui laisse :hover collé sur iPhone) */
.rv-pick.big button { width: 52px; height: 52px; font-size: 40px; }
.rv-invite .cta { justify-content: center; }
.rv-sheet { z-index: 95; } .rv-box { max-width: 520px; padding-bottom: 0; }
.rv-box .app-acts { position: sticky; bottom: 0; background: #0d0d0f; margin: 0 -18px; padding: 10px 18px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); z-index: 1; }   /* « Publier » toujours visible, même clavier ouvert */ .rv-box .app-x { position: absolute; right: 8px; top: 8px; } .rv-box { position: relative; }
.rv-form fieldset { border: 0; padding: 0; margin: 0 0 10px; } .rv-form legend { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; } .rv-form legend small, .rv-form label small { letter-spacing: 0; text-transform: none; }
.rv-form .rv-pick { justify-content: flex-start; margin: 0; } .rv-rate-l { font-size: 14px; color: var(--ink); margin: 4px 0 0; min-height: 20px; }
.rv-count { text-align: right; font-size: 12px; color: var(--faint); margin: 4px 0 8px; }
.rv-warn { font-size: 13px; color: var(--warn); margin: 0 0 8px; }
.rv-final { font-size: 13px; color: var(--dim); margin: 4px 0 10px; }   /* 1.67.0 : avis définitif */
.form .rv-ck, .rv-box .form .ck { flex-direction: row; align-items: flex-start; gap: 10px; letter-spacing: 0; text-transform: none; font-size: 14px; color: var(--ink); margin: 0 0 8px; }
.form .rv-ck input, .rv-box .form .ck input { width: 20px; height: 20px; min-height: 0; flex: none; margin: 1px 0 0; accent-color: var(--brass); }
.rv-del { display: block; margin: 6px auto 12px; font-size: 13px; min-height: 44px; }
.rv-thanks { font: 400 24px/1.2 var(--serif); text-transform: uppercase; text-align: center; margin: 20px 0; } .rv-thanks em { color: var(--brass); font-style: normal; }
.rv-sub { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin: 22px 0 8px; }
.rv-mine { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rv-mine > li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.rv-mine > li > .btn { justify-self: start; }
.rv-mt { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; } .rv-mt a { color: var(--ink); } .rv-mm { font-size: 13px; color: var(--dim); }
.rv-mb { margin: 0; color: #d8d2c6; font-size: 14.5px; line-height: 1.55; overflow-wrap: anywhere; } .rv-ma { display: flex; gap: 8px; flex-wrap: wrap; }
.chip-s { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 3px 7px; border: 1px solid currentColor; } .chip-s.s-paused { color: var(--warn); } .chip-s.s-failed { color: var(--brass2); }
.pg-rv { display: flex; align-items: center; gap: 10px; margin: 10px 0 4px; }
@media (max-width: 760px) {
  .rv-top { grid-template-columns: 1fr; gap: 16px; padding: 18px; } .rv-top.empty-rv { grid-template-columns: 1fr; } .rv-me .note { max-width: none; }
  .rv-bar .sh-seg { flex: 1 1 100%; } .rv-bar .sh-seg button { min-height: 44px; } .rv-pick button { width: 44px; height: 44px; } .rv-sheet .app-box { max-height: calc(100dvh - var(--tab-h) - 16px); }
}
@media (prefers-reduced-motion: reduce) { .rv-pick button, .rv-invite { transition: none; } }
/* 1.62.0 — choix des e-mails : case à l'inscription, fenêtre unique pour les comptes créés avant */
.form .mc-ck { flex-direction: row; align-items: flex-start; gap: 10px; letter-spacing: 0; text-transform: none; font-size: 14px; color: var(--ink); line-height: 1.45; margin: 2px 0 6px; }
.form .mc-ck input { width: 20px; height: 20px; min-height: 0; flex: none; margin: 1px 0 0; accent-color: var(--brass); }
.mc-sheet { z-index: 90; } .mc-box { position: relative; } .mc-box .app-x { position: absolute; right: 8px; top: 8px; }
.mc-txt { font-size: 14.5px; line-height: 1.55; color: var(--ink); margin: 0 0 12px; } .mc-more { font-size: 13px; color: var(--dim); margin: 10px 0 0; text-align: center; } .mc-more a { color: var(--dim); }

/* 1.68.0 — la cloche : notifications dans l'application (en-tête, panneau sur ordinateur, page « Mes notifications ») */
.ta-bell { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 36px; padding: 0 10px; border: 1px solid var(--line); background: rgba(11,11,12,.6); color: var(--ink); text-decoration: none; transition: border-color var(--t-fast), background var(--t-fast); }
.ta-bell svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ta-bell:hover, .ta-bell.on, .ta-bell[aria-expanded="true"] { border-color: var(--line2); background: var(--bg3); }
.ta-n { position: absolute; top: -7px; right: -7px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--brass); color: #fff; font: 700 11px/19px var(--sans); text-align: center; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 2px #060607; }
.ta-n[hidden] { display: none; }
@media (max-width: 380px) { .ta-bell { min-width: 36px; padding: 0 8px; } }
.nt-list { list-style: none; margin: 0; padding: 0; }
.nt-it + .nt-it { border-top: 1px solid var(--line); }
.nt-a { position: relative; display: flex; flex-direction: column; gap: 4px; width: 100%; min-height: 44px; padding: 14px 40px 14px 16px; border: 0; background: none; color: var(--ink); font: inherit; text-align: left; text-decoration: none; cursor: pointer; transition: background var(--t-fast); }
.nt-a:hover { background: var(--bg3); }
.nt-it.unread .nt-a { background: rgba(209,26,38,.07); } .nt-it.unread .nt-a:hover { background: rgba(209,26,38,.12); }
.nt-k { font: 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.nt-it.unread .nt-k { color: var(--brass2); }
.nt-t { font: 600 15px/1.35 var(--sans); }
.nt-b { font-size: 14px; line-height: 1.45; color: var(--dim); overflow-wrap: anywhere; }
.nt-w { font-size: 12px; color: var(--faint); }
.nt-dot { position: absolute; top: 19px; right: 16px; width: 9px; height: 9px; border-radius: 50%; background: var(--brass2); box-shadow: 0 0 8px var(--brass2); }
.nt-load, .nt-empty { padding: 18px 16px; color: var(--dim); font-size: 14px; list-style: none; }
.nt-pop { position: absolute; z-index: 90; width: min(400px, calc(100vw - 16px)); max-height: min(72vh, 600px); overflow: auto; overscroll-behavior: contain; background: var(--bg2); border: 1px solid var(--line2); box-shadow: 0 18px 50px rgba(0,0,0,.6); }
.nt-pop-h { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--bg2); border-bottom: 1px solid var(--line); }
.nt-pop-h b { font: 600 13px var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.nt-link { min-height: 36px; padding: 0 4px; border: 0; background: none; color: var(--brass2); font: 600 13px var(--sans); cursor: pointer; } .nt-link:hover { text-decoration: underline; } .nt-link[hidden] { display: none; }
.nt-pop .nt-a { padding: 12px 38px 12px 16px; } .nt-pop .nt-t { font-size: 14px; } .nt-pop .nt-b { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nt-pop-f { position: sticky; bottom: 0; display: block; padding: 13px 16px; border-top: 1px solid var(--line); background: var(--bg2); color: var(--ink); font: 600 13px var(--sans); text-align: center; text-decoration: none; } .nt-pop-f:hover { background: var(--bg3); }
.nt-page .nt-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 0 0 14px; }
.nt-page .nt-sum { margin: 0; color: var(--dim); }
.nt-page .nt-bar .btn[hidden], .nt-page .nt-more .btn[hidden] { display: none; }
.nt-page .nt-list { border: 1px solid var(--line); background: var(--bg2); }
.nt-page .nt-list:empty { display: none; }
.nt-page .nt-empty { border: 1px dashed var(--line2); padding: 22px; }
.nt-page .nt-more { text-align: center; margin: 16px 0 0; }
.nt-page .nt-foot { margin: 22px 0 0; font-size: 13px; color: var(--dim); } .nt-page .nt-foot a { color: var(--ink); }
.pref-t td:not(:first-child) { width: 58px; }
@media (max-width: 420px) { .pref-t td:not(:first-child) { width: 48px; } .pref-t th { padding: 0 1px 8px; font-size: 10.5px; letter-spacing: .03em; white-space: nowrap; } .pref-t td { padding: 10px 2px; } }
@media (max-width: 440px) { .top-acts.has-bell { gap: 6px; } .has-bell .ta-mc { padding: 0 10px; gap: 5px; } .has-bell .ta-mc .ta-u { display: none; } .has-bell .ta-code, .has-bell .ta-bell { min-width: 36px; padding: 0 8px; } }   /* téléphone : la cloche trouve sa place sans couper le nom du site (l'icône de pièce dit « MC ») */
@media (max-width: 400px) { .top-acts.has-bell { gap: 4px; } .has-bell .ta-mc { padding: 0 8px; gap: 4px; } }

/* 1.70.0 — jeux offerts par la régie : badge sur la fiche et la carte, liste dans le profil */
.gift-badge { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 8px; padding: 4px 10px; border: 1px solid var(--gold); background: rgba(224,180,74,.1); color: var(--gold-l); font: 600 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.gift-badge svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.gift-badge.sm { padding: 2px 8px; margin: 0; font-size: 11px; }
.gift-msg { display: block; margin: 0 0 10px; font-family: var(--type); color: var(--ink); font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.poster-gift { position: absolute; left: 8px; bottom: 8px; z-index: 1; padding: 4px 8px; background: rgba(0,0,0,.82); border: 1px solid var(--gold); color: var(--gold-l); font: 12px/1.2 var(--mono); letter-spacing: .06em; }
.gifts-l { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.gifts-l a { display: grid; gap: 6px; padding: 14px 16px; border: 1px solid var(--line); background: var(--bg2); color: var(--ink); text-decoration: none; transition: border-color var(--t-fast); }
.gifts-l a:hover { border-color: var(--gold); } .gifts-l b { font: 600 16px var(--sans); } .gifts-l .gift-msg { margin: 0; font-size: 14px; } .gifts-l small { color: var(--dim); font-size: 13px; } .gifts-l .gift-badge { justify-self: start; }

/* 1.71.0 — code promo dans les formulaires d'achat */
.promo-box { width: 100%; margin: 0 0 12px; } .promo-box summary { cursor: pointer; color: var(--dim); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; min-height: 36px; display: inline-flex; align-items: center; }
.promo-box[open] summary { color: var(--ink); }
.promo-in { display: flex; gap: 8px; margin: 8px 0 6px; flex-wrap: wrap; } .promo-in input { flex: 1 1 140px; min-width: 0; text-transform: uppercase; letter-spacing: .12em; font-family: var(--mono); }
.promo-in .btn { flex: none; }
.promo-res { margin: 0; font-size: 14px; color: var(--dim); display: flex; flex-wrap: wrap; gap: 4px 14px; } .promo-res:empty { display: none; }
.promo-res.bad { color: var(--brass2); } .promo-res.good { color: var(--ink); } .promo-res .pr-total { font-weight: 700; color: var(--gold-l); }
.form.inline .promo-box { flex-basis: 100%; }
/* ---- 1.73.0 : campagne du site — bannière en haut de l'accueil, pop-up ---- */
.of-slot:empty { display: none; }
.of-bar { position: relative; background: linear-gradient(90deg, #1c0609 0%, #0d0d0f 60%); border-bottom: 1px solid var(--blood); border-top: 1px solid #1c1c20; }
.of-bar::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--brass); }
.of-in { max-width: 1180px; margin: 0 auto; padding: 12px calc(var(--gut) + 36px) 12px var(--gut); display: flex; align-items: center; gap: 12px 22px; flex-wrap: wrap; }
.of-txt { flex: 1 1 280px; min-width: 0; }
.of-t { margin: 0; font: 400 19px/1.15 var(--serif); letter-spacing: .02em; text-transform: uppercase; color: #fff; }
.of-b { margin: 3px 0 0; font-size: 14px; color: #d8d2c6; }
.of-cd { margin: 5px 0 0; font: 13px/1.3 var(--mono); color: var(--brass-sm); } .of-cd b { font-weight: 600; font-variant-numeric: tabular-nums; }
.of-acts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.of-code { display: flex; align-items: stretch; border: 1px dashed var(--brass); background: rgba(209,26,38,.06); }
.of-cv { display: flex; align-items: center; padding: 0 14px; font: 600 16px/1 var(--mono); letter-spacing: .12em; color: #fff; user-select: all; -webkit-user-select: all; }
.of-code .btn, .of-acts .of-go { min-height: 42px; padding: 8px 16px; font-size: 12px; }
.of-code .btn { border: 0; border-left: 1px dashed var(--brass); }
.of-x { position: absolute; right: calc(var(--gut) - 10px); top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: none; color: var(--dim); font-size: 24px; line-height: 1; cursor: pointer; }
.of-x:hover, .of-x:focus-visible { color: var(--ink); }
.of-sheet { z-index: 86; }
.of-box { position: relative; padding-top: 22px; }
.of-box .of-px { position: absolute; right: 6px; top: 6px; }
.of-k { margin: 0 0 6px; font: 12px var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--brass-sm); }
.of-box h2 { margin: 0 34px 8px 0; font: 400 26px/1.05 var(--serif); text-transform: uppercase; letter-spacing: .02em; color: #fff; }
.of-pb { margin: 0 0 14px; color: #d8d2c6; font-size: 15px; }
.of-code.big { margin: 0 0 12px; } .of-code.big .of-cv { flex: 1; justify-content: center; font-size: 20px; padding: 12px 10px; } .of-code.big .btn { min-height: 50px; }
.of-box .of-cd { margin: 0 0 14px; }
.of-box .app-acts .btn { flex: 1; }
@media (max-width: 640px) {
  .of-in { padding: 12px 48px 12px 16px; gap: 10px; } .of-acts { width: 100%; } .of-code { flex: 1 1 auto; } .of-cv { flex: 1; justify-content: center; } .of-acts .of-go { flex: 1 1 100%; }
  .of-x { right: 4px; top: 6px; transform: none; } .of-t { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .of-sheet { transition: none; } }
.v-home.has-of .top { top: var(--of-h, 0px); }   /* 1.73.0 : l'en-tête posé sur l'image de l'accueil passe sous la bannière */
/* ---- 1.74.0 : assistant du site (bulle en bas à droite, réponses de la FAQ) ---- */
.as-launch { position: fixed; right: max(14px, env(safe-area-inset-right)); bottom: calc(var(--tab-h) + max(14px, env(safe-area-inset-bottom))); z-index: 65; display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px 0 13px; border: 1px solid var(--blood); border-radius: 999px; background: #0d0d0f; color: var(--ink); font: 600 13px/1 var(--sans); letter-spacing: .03em; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.6), 0 0 0 0 rgba(209,26,38,.4); }
.as-launch svg { width: 22px; height: 22px; fill: none; stroke: var(--brass2); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.as-launch:hover, .as-launch.on { border-color: var(--brass); background: #160709; } .as-launch.up { bottom: calc(var(--tab-h) + max(14px, env(safe-area-inset-bottom)) + 60px); }
.as-launch[hidden] { display: none; }
.as-panel { position: fixed; right: max(14px, env(safe-area-inset-right)); bottom: calc(var(--tab-h) + max(14px, env(safe-area-inset-bottom)) + 60px); z-index: 66; width: min(380px, calc(100vw - 28px)); height: min(560px, calc(100dvh - var(--tab-h) - 110px)); display: flex; flex-direction: column; background: #0b0b0d; border: 1px solid var(--blood); border-top: 3px solid var(--brass); box-shadow: 0 20px 60px rgba(0,0,0,.85), 0 0 50px rgba(209,26,38,.14); }
.as-panel[hidden] { display: none; } .as-launch.up ~ .as-panel { bottom: calc(var(--tab-h) + max(14px, env(safe-area-inset-bottom)) + 120px); }
.as-head { display: flex; align-items: flex-start; gap: 10px; padding: 12px 8px 10px 16px; border-bottom: 1px solid var(--line); }
.as-t { margin: 0; font: 400 20px/1 var(--serif); letter-spacing: .04em; text-transform: uppercase; color: #fff; } .as-s { margin: 4px 0 0; font-size: 12px; color: var(--dim); }
.as-x { margin-left: auto; width: 40px; height: 40px; border: 0; background: none; color: var(--dim); font-size: 24px; line-height: 1; cursor: pointer; } .as-x:hover { color: var(--ink); }
.as-log { flex: 1; overflow-y: auto; padding: 14px 14px 6px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.as-msg { max-width: 92%; font-size: 14px; line-height: 1.45; color: #ddd7cb; } .as-msg p { margin: 0 0 6px; } .as-msg p:last-child { margin-bottom: 0; }
.as-msg.bot { align-self: flex-start; background: var(--bg3); border: 1px solid #222226; padding: 10px 12px; }
.as-msg.me { align-self: flex-end; background: #2a0b10; border: 1px solid var(--blood); padding: 8px 12px; color: #fff; }
.as-q { font-weight: 700; color: #fff; } .as-a ul { margin: 4px 0 6px; padding-left: 18px; } .as-a a, .as-foot a, .as-contact { color: var(--brass2); }
.as-more { margin: 10px 0 6px !important; font-size: 12px; color: var(--dim); letter-spacing: .04em; } .as-foot { margin-top: 10px !important; font-size: 13px; color: var(--dim); }
.as-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.as-chip { min-height: 36px; padding: 6px 10px; border: 1px solid #34343a; background: #101012; color: var(--ink); font: 13px/1.25 var(--sans); text-align: left; cursor: pointer; } .as-chip:hover, .as-chip:focus-visible { border-color: var(--brass); background: #1a0a0d; }
.as-form { display: flex; gap: 6px; padding: 10px; border-top: 1px solid var(--line); }
.as-form input { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border: 1px solid #2c2c31; background: #000; color: var(--ink); font: 16px var(--sans); } .as-form input:focus { outline: none; border-color: var(--brass); }
.as-go { width: 46px; min-height: 44px; border: 0; background: var(--brass); color: #fff; cursor: pointer; } .as-go svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px) {
  .as-launch span { display: none; } .as-launch { width: 48px; padding: 0; justify-content: center; }
  .as-panel { right: 8px; left: 8px; width: auto; height: min(600px, calc(100dvh - var(--tab-h) - 96px)); }
}
/* 1.75.0 — case « accès immédiat » avant le paiement d'un jeu ou d'un article numérique (renonciation au délai de rétractation) */
.waiver { display: flex !important; flex-direction: row !important; align-items: flex-start; gap: 10px; width: 100%; margin: 0 0 12px; text-transform: none !important; letter-spacing: 0 !important; font: 13.5px/1.45 var(--sans, inherit) !important; color: var(--dim) !important; cursor: pointer; max-width: 52ch; }
.waiver input, .form .waiver input { width: 20px; height: 20px; min-height: 0; padding: 0; margin: 1px 0 0; accent-color: var(--brass); flex: none; cursor: pointer; }
.waiver a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.sh-buy .waiver { flex-basis: 100%; margin: 2px 0 0; font-size: 12.5px !important; }
/* 1.76.0 — recommandations (fiche, fin de partie, profil, confirmation d'achat) : même noir et rouge, affiches, Anton et machine à écrire */
.rc-list { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.rc-list.n1 { grid-template-columns: 1fr; }
.rc-card { display: grid; grid-template-rows: auto 1fr; background: var(--bg2); border: 1px solid var(--line); position: relative; overflow: hidden; transition: border-color .2s; }
.rc-card:hover, .rc-card:focus-within { border-color: var(--line2); }
.rc-art { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg3); }
.rc-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .6s ease; filter: saturate(.85) contrast(1.05); }
.rc-card:hover .rc-art img { transform: scale(1.04); filter: saturate(1) contrast(1.08); }
.rc-art .poster-type { display: flex; align-items: flex-end; height: 100%; }
.rc-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 20px; min-width: 0; }
.rc-why { margin: 0; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-sm); }
.rc-t { font-size: clamp(22px, 3vw, 28px); } .rc-t a { text-decoration: none; } .rc-t a:hover { color: var(--brass2); }
.rc-tag { margin: 0; font-family: var(--type); color: #d2cbbd; font-size: 15.5px; line-height: 1.4; }
.rc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 0; padding: 0; list-style: none; }
.rc-chips li { font-size: 12px; letter-spacing: .06em; padding: 3px 9px; border: 1px solid var(--line); color: var(--dim); }
.rc-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 4px 0 0; font-size: 14px; }
.rc-facts div { display: flex; flex-direction: column; gap: 1px; } .rc-facts dt { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); } .rc-facts dd { margin: 0; display: flex; align-items: center; gap: 7px; color: var(--ink); }
.rc-facts dd s { color: var(--faint); } .rc-facts .dots i { width: 8px; height: 8px; } .rc-facts small { color: var(--dim); }
.rc-modes { margin: 0; font-size: 13px; color: var(--dim); }
.rc-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }
.rc-acts .btn { min-height: 46px; padding: 11px 20px; }
@media (min-width: 760px) { .rc-card.big { grid-template-rows: none; grid-template-columns: minmax(260px, 42%) 1fr; } .rc-card.big .rc-art { aspect-ratio: auto; position: relative; min-height: 300px; } .rc-card.big .rc-art img { position: absolute; inset: 0; } .rc-card.big .rc-body { padding: 28px 30px; justify-content: center; } .rc-card.big .rc-t { font-size: clamp(30px, 3.6vw, 44px); } }
.rc-sec .lede.sm { margin-bottom: 22px; }
.rc-hero { text-align: left; padding-bottom: 0; position: relative; }
.rc-hero::before { content: ""; position: absolute; inset: 10% -10% auto; height: 70%; background: radial-gradient(ellipse at 20% 50%, rgba(209, 26, 38, .18), transparent 65%); pointer-events: none; animation: rc-glow 4.5s ease-in-out infinite alternate; }
.rc-hero-t { font-size: clamp(38px, 7vw, 76px); margin-bottom: 14px; animation: rc-rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.rc-hero-t em { color: var(--brass); font-style: normal; }
.rc-hero .lede { animation: rc-rise .9s .15s cubic-bezier(.2, .7, .2, 1) both; } .rc-hero form { animation: rc-rise .9s .3s cubic-bezier(.2, .7, .2, 1) both; }
.rc-end-t { font-size: clamp(34px, 6vw, 64px); margin-bottom: 12px; } .rc-end-t em, .rc-sec h2 em { color: var(--brass); font-style: normal; }
.rc-end { border-top: 1px solid var(--line); } .rc-end > * { max-width: 880px; margin-left: auto; margin-right: auto; }
.rc-next { margin: 28px 0 8px; }
@keyframes rc-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes rc-glow { from { opacity: .55; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .rc-hero::before, .rc-hero-t, .rc-hero .lede, .rc-hero form { animation: none; } .rc-art img { transition: none; } }
/* 1.77.0 — packs (catalogue, fiche d'un jeu, page du pack) */
.pk-sec { margin-top: clamp(40px, 7vw, 72px); }
.pk-list { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.pk-card { display: grid; grid-template-rows: auto 1fr; background: var(--bg2); border: 1px solid var(--line); overflow: hidden; transition: border-color .2s; }
.pk-card:hover, .pk-card:focus-within { border-color: var(--line2); }
.pk-art { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg3); }
.pk-art > img, .pk-mosaic { width: 100%; height: 100%; object-fit: cover; }
.pk-mosaic { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; background: var(--bg); }
.pk-mosaic img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.pk-n { position: absolute; left: 12px; top: 12px; padding: 4px 10px; background: rgba(0, 0, 0, .78); border: 1px solid var(--brass); color: #fff; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.pk-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 20px; min-width: 0; }
.pk-k, .pk-promo { margin: 0; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-sm); }
.pk-promo { color: var(--brass2); }
.pk-t { font-size: clamp(22px, 3vw, 30px); } .pk-t a { text-decoration: none; } .pk-t a:hover { color: var(--brass2); }
.pk-tag { margin: 0; font-family: var(--type); color: #d2cbbd; font-size: 15.5px; line-height: 1.4; }
.pk-games { margin: 0; font-size: 13.5px; color: var(--dim); }
.pk-price { margin: 4px 0 0; font-size: 14px; color: var(--dim); } .pk-price b { font: 400 26px/1 var(--serif); color: var(--ink); margin-right: 6px; } .pk-price s { color: var(--faint); }
.pk-acts { margin-top: auto; padding-top: 8px; } .pk-acts .btn { min-height: 46px; padding: 11px 20px; }
.pk-card.sm .pk-art { aspect-ratio: 21 / 9; }
.pk-head { display: grid; gap: clamp(24px, 4vw, 48px); grid-template-columns: 1fr; }
@media (min-width: 860px) { .pk-head { grid-template-columns: minmax(0, 46%) 1fr; align-items: start; } }
.pk-art.lg { aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.pk-box { margin-top: 26px; padding: 20px; border: 1px solid var(--line); background: var(--bg2); }
.pk-sum { display: grid; gap: 10px; margin: 0 0 14px; }
.pk-sum div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.pk-sum dt { color: var(--dim); font-size: 14px; } .pk-sum dd { margin: 0; color: var(--ink); } .pk-sum s { color: var(--faint); margin-right: 6px; }
.pk-sum .pk-main dd b { font: 400 34px/1 var(--serif); } .pk-sum .pk-save dd { color: var(--brass2); font-weight: 600; } .pk-sum small { color: var(--dim); font-weight: 400; }
.pk-box .pk-promo { margin: 0 0 14px; }
.pk-start { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
/* 1.78.0 — offres personnelles (après un achat, fin de partie, profil, fiche du jeu concerné) */
.up-sec { padding-top: 0; } .up-mine { margin: 28px 0 8px; }
.up-list { display: grid; gap: 18px; }
.up-card { position: relative; display: grid; grid-template-columns: 1fr; border: 1px solid var(--brass); background: linear-gradient(135deg, rgba(122, 10, 18, .32), rgba(11, 11, 12, .9) 55%); overflow: hidden; }
@media (min-width: 760px) { .up-card:has(.up-img) { grid-template-columns: minmax(200px, 32%) 1fr; } }
.up-img { width: 100%; height: 100%; max-height: 260px; object-fit: cover; }
.up-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; }
.up-k { margin: 0; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--brass2); }
.up-t { font-size: clamp(24px, 3.4vw, 34px); }
.up-txt { margin: 0; font-family: var(--type); color: #d2cbbd; font-size: 16px; line-height: 1.45; }
.up-deal { margin: 4px 0 0; font: 400 clamp(22px, 3vw, 28px)/1.1 var(--serif); color: var(--ink); letter-spacing: .01em; }
.up-exp { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13.5px; color: var(--dim); }
.up-items { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 14.5px; } .up-items a { color: var(--ink); } .up-items span { color: var(--dim); }
.up-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; } .up-acts .btn { min-height: 46px; padding: 11px 20px; }
.up-acts .btn.ghost { border-color: transparent; color: var(--dim); } .up-acts .btn.ghost:hover { color: var(--ink); border-color: var(--line); }

/* ---------------------------------------------------------------- 1.85.0 — téléphone et application (phase 6 de l'audit) */
/* UX-03, FAQ-03 : la pile du bas. Au-dessus du menu du bas, dans cet ordre : bandeau des cookies, barre d'achat d'une fiche de jeu,
   carte « Reprendre », puis les boutons ronds (assistant, boutique, musique). Chacun passe au-dessus de ceux qui sont affichés (avant :
   la bulle de l'assistant passait sous la barre d'achat et sous « Reprendre », « Reprendre » couvrait la barre d'achat). La zone de
   sécurité de l'iPhone n'est plus comptée deux fois : elle est déjà dans la hauteur du menu du bas. */
:root { --buy-o: 0px; --rs-o: 0px; }
html.has-resume { --rs-o: calc(var(--rs-h, 120px) + 12px); }
.as-launch { bottom: calc(var(--tab-h) + var(--ck-h, 0px) + var(--buy-o) + var(--rs-o) + max(14px, env(safe-area-inset-bottom))); }
.as-launch.up { bottom: calc(var(--tab-h) + var(--ck-h, 0px) + var(--buy-o) + var(--rs-o) + max(14px, env(safe-area-inset-bottom)) + 60px); }
/* le panneau garde son haut dans l'écran (36 px du haut au plus près, comme avant) : sa hauteur suit la pile du dessous */
.as-panel { bottom: calc(var(--tab-h) + var(--ck-h, 0px) + var(--buy-o) + var(--rs-o) + max(14px, env(safe-area-inset-bottom)) + 60px); height: max(180px, min(560px, calc(100dvh - (var(--tab-h) + var(--ck-h, 0px) + var(--buy-o) + var(--rs-o) + max(14px, env(safe-area-inset-bottom))) - 96px))); }
.as-launch.up ~ .as-panel { bottom: calc(var(--tab-h) + var(--ck-h, 0px) + var(--buy-o) + var(--rs-o) + max(14px, env(safe-area-inset-bottom)) + 120px); height: max(180px, min(560px, calc(100dvh - (var(--tab-h) + var(--ck-h, 0px) + var(--buy-o) + var(--rs-o) + max(14px, env(safe-area-inset-bottom))) - 156px))); }
@media (max-width: 760px) {
  html.has-buy { --buy-o: var(--buy-h, 64px); }
  .game-sticky, body.ck-on .game-sticky { bottom: calc(var(--tab-h) + var(--ck-h, 0px)); }
  .resume, body.ck-on .resume { bottom: calc(var(--tab-h) + var(--ck-h, 0px) + var(--buy-o) + 12px); }
  .as-launch { bottom: calc(var(--tab-h) + var(--ck-h, 0px) + var(--buy-o) + var(--rs-o) + 14px); }
  .as-launch.up { bottom: calc(var(--tab-h) + var(--ck-h, 0px) + var(--buy-o) + var(--rs-o) + 74px); }
  /* téléphone : le haut du panneau reste sous l'en-tête (fixé en haut) ; si la pile du bas laisse moins de 180 px, le panneau passe
     par-dessus « Reprendre » et la barre d'achat (jamais par-dessus le menu du bas ni le bandeau des cookies) */
  .as-panel { z-index: 81; bottom: min(calc(var(--tab-h) + var(--ck-h, 0px) + var(--buy-o) + var(--rs-o) + 74px), calc(100dvh - var(--top-h, 0px) - 188px)); height: max(180px, min(600px, calc(100dvh - (var(--tab-h) + var(--ck-h, 0px) + var(--buy-o) + var(--rs-o)) - 82px - var(--top-h, 0px)))); }
  .as-launch.up ~ .as-panel { bottom: min(calc(var(--tab-h) + var(--ck-h, 0px) + var(--buy-o) + var(--rs-o) + 134px), calc(100dvh - var(--top-h, 0px) - 188px)); height: max(180px, min(600px, calc(100dvh - (var(--tab-h) + var(--ck-h, 0px) + var(--buy-o) + var(--rs-o)) - 142px - var(--top-h, 0px)))); }
  .lp-snd, body.ck-on .lp-snd { bottom: calc(var(--tab-h) + var(--ck-h, 0px) + var(--rs-o) + 12px) !important; }
  html.has-buy.has-resume body { padding-bottom: calc(var(--tab-h) + var(--ck-h, 0px) + var(--buy-o) + max(140px, var(--rs-h, 120px) + 24px)); }
  /* bandeau des cookies plus compact (même texte) : le haut d'une fiche de jeu reste visible à l'arrivée */
  .ck-box { padding: 12px 14px; gap: 10px; } .ck-box p { font-size: 13px; line-height: 1.42; } .ck-acts .btn { padding: 8px 14px; }
}
@media (min-width: 900px) { html.has-resume { --rs-o: calc(var(--rs-h, 120px) + 30px); } }   /* carte « Reprendre » en bas à droite : l'assistant passe au-dessus */
/* MOBILE-01 : écran tactile, zones de toucher de 44 px au moins sans changer le dessin : une marge invisible autour des petites commandes */
@media (pointer: coarse) {
  .foot-nav a, .foot-app, .top .brand, .ta-code, .ta-in, .sec-head a, .ev-views button, .btn.sm, .rs-x, .lp-fast .g { position: relative; }
  .foot-nav a::after, .foot-app::after, .top .brand::after, .ta-code::after, .ta-in::after, .sec-head a::after, .ev-views button::after, .btn.sm::after, .rs-x::after, .lp-fast .g::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: max(100%, 44px); height: max(100%, 44px); transform: translate(-50%, -50%); }
}
/* PWA-13 : iPad, application installée : l'en-tête ne passe plus sous la barre d'état (sur ordinateur, rien ne change) */
@media (min-width: 761px) { .top { padding-top: max(18px, calc(8px + env(safe-area-inset-top, 0px))); } }
/* PWA-06 : titre de la page atteint par le clavier et les lecteurs d'écran après un changement de page, sans cadre visible */
h1[tabindex="-1"]:focus { outline: none; }
/* PWA-07 : page servie depuis la copie gardée sur l'appareil */
.copy-bar { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 10px; }
.copy-bar b { flex: 1 1 100%; } .copy-bar span { flex: 1 1 200px; } .copy-bar .btn { flex: none; }
/* PWA-09 : lien reçu d'une autre application pendant une partie */
.launch-note { position: fixed; left: 10px; right: 10px; top: calc(10px + env(safe-area-inset-top, 0px)); z-index: 151; display: flex; align-items: center; gap: 10px; max-width: 560px; margin: 0 auto; padding: 10px 12px; background: #0d0d0f; border: 1px solid var(--brass); color: var(--ink); font-size: 14px; box-shadow: 0 10px 40px rgba(0,0,0,.7); }
.launch-note span { flex: 1; } .launch-note .ln-x { width: 44px; height: 44px; flex: none; border: 0; background: none; color: var(--dim); font-size: 22px; cursor: pointer; }

/* ---------------------------------------------------------------- 1.86.0 — accessibilité et design (phase 7 de l'audit) */
/* A11Y-04 (accord d'Anthony) : bordure des champs visible (3,3:1 sur le fond au lieu de 1,3:1), gris neutre de la charte */
.form input, .form textarea, .form select, .sh-addr input, .lp-form input.code-input { border-color: #62626a; }
/* A11Y-16 : contour des champs au clavier, comme celui des boutons (avant : retiré) */
.form input:focus-visible, .form textarea:focus-visible, .form select:focus-visible, .sh-addr input:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
/* A11Y-07 : adresse de livraison en 16 px */
.sh-addr input { font-size: 16px; }
/* A11Y-12 : pas de défilement animé quand l'appareil demande moins d'animations */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* A11Y-09 : lien « Aller au contenu », visible seulement quand le clavier l'atteint */
.skip { position: absolute; left: 8px; top: -80px; z-index: 300; padding: 10px 14px; background: var(--bg); color: var(--ink); border: 2px solid var(--brass); font-size: 15px; }
.skip:focus { top: calc(8px + env(safe-area-inset-top, 0px)); }
/* A11Y-03 : la fenêtre reçoit le clavier à son ouverture sans s'entourer d'un cadre */
[role="dialog"][tabindex="-1"]:focus, [role="alertdialog"][tabindex="-1"]:focus { outline: none; }
/* DESIGN-02 : boutons « fermer » des fenêtres : même survol et même contour au clavier */
.app-x:hover, .app-x:focus-visible, .as-x:focus-visible, .rs-x:focus-visible { color: var(--ink); }
/* DESIGN-05 (accord) : bandeaux « hors connexion » et « page enregistrée » aux couleurs de la charte (avant : ambre) */
.offline-bar { background: #0d0d0f; border-color: var(--brass); color: var(--ink); }
.offline-bar b { color: var(--brass-sm); }
/* A11Y-09 : la zone principale reçoit le clavier par « Aller au contenu » sans s'entourer d'un cadre ; même chose pour le message d'inscription (A11Y-06) */
main[tabindex="-1"]:focus, .mailbox h2[tabindex="-1"]:focus { outline: none; }
/* A11Y-13 : mise à jour automatique de la page de résultat, annoncée et arrêtable */
.auto-note { margin: -6px 0 18px; font-size: 13px; color: var(--dim); }
.link-btn { min-height: 24px; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.link-btn:hover { color: #fff; }
/* 1.87.0 (SEO-09) — fiche d'un jeu : « À savoir avant d'entrer », « Prochains rendez-vous » (liste sous le titre de la section, sans double trait) */
.know .rules { margin-top: 0; border-top: 0; }

/* ============================================================ 1.91.0 — Prochainement : cartes des jeux annoncés et sections */
.lc-row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 calc(-1 * var(--gut)); padding: 2px var(--gut) 8px; scroll-padding-left: var(--gut); }
.lc-row::-webkit-scrollbar { display: none; }
.lc-row .lc-card { flex: 0 0 min(62vw, 250px); scroll-snap-align: start; }
.lc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.lc-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.lc-art { position: relative; aspect-ratio: 2 / 3; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(160deg, #1d1b18, #0c0b0a 70%); display: flex; align-items: flex-end; }
.lc-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.82); transition: transform .5s ease, filter .3s; }
.lc-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 55%, rgba(0,0,0,.75)); pointer-events: none; }
.lc-card:hover .lc-art img, .lc-card:focus-visible .lc-art img { transform: scale(1.04); filter: saturate(1) brightness(.95); }
.lc-badge { position: absolute; z-index: 1; top: 10px; left: 10px; right: 10px; width: max-content; max-width: calc(100% - 20px); padding: 5px 8px 4px; background: var(--brass); color: #fff; font: 11px/1.2 var(--mono); letter-spacing: .2em; text-transform: uppercase; }
.lc-on { position: absolute; z-index: 1; bottom: 10px; right: 10px; padding: 4px 8px; border: 1px solid #2c6e48; background: rgba(16,38,26,.9); color: #cdeedb; font: 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.lc-body { display: flex; flex-direction: column; gap: 5px; padding: 12px 2px 4px; }
.lc-title { font-family: var(--serif); font-size: 22px; line-height: 1.05; text-transform: uppercase; letter-spacing: .02em; }
.lc-tag { font-family: var(--type); font-size: 15px; line-height: 1.35; color: #cfc8ba; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lc-tag em { color: var(--brass2); font-style: normal; }
.lc-when { font: 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.lc-days { font: 400 18px/1 var(--serif); letter-spacing: .04em; text-transform: uppercase; color: var(--brass2); }
.lc-cta { align-self: flex-start; margin-top: 4px; padding: 7px 12px; border: 1px solid var(--line); font: 12px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.lc-card:hover .lc-cta { border-color: var(--brass); }
.lc-next .lc-cta { border-color: var(--brass); }
.lc-hint { margin: 6px 0 0; font-size: 14px; color: var(--dim); }
@media (min-width: 700px) { .lc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .lc-grid { grid-template-columns: repeat(4, 1fr); } .lc-row { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; } .lc-row .lc-card { flex: none; } }
@media (prefers-reduced-motion: reduce) { .lc-art img { transition: none; } }

/* ------------------------------------------------------------ sections */
.lp-soon { padding: clamp(36px, 6vw, 80px) 0; border-top: 1px solid var(--line); background: radial-gradient(90% 60% at 50% 0%, rgba(122,10,18,.22), transparent 70%); }
.lp-soon .lede { margin-bottom: 22px; }
.lc-sec { margin-top: clamp(40px, 7vw, 70px); }
.lc-mine { margin: 0 0 clamp(30px, 6vw, 50px); }
.lc-end { padding-top: 0; }
.lch-list .lede { margin-bottom: 28px; }

/* ============================================================ 1.92.0 — « Le plus attendu » ; jour de sortie : le rideau se lève */
.lc-hot { position: absolute; z-index: 1; top: 40px; left: 10px; max-width: calc(100% - 20px); display: inline-flex; align-items: center; gap: 6px; padding: 4px 7px 3px; border: 1px solid var(--brass); background: rgba(10,4,5,.88); color: #fff; font: 11px/1.25 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.lc-hot::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--brass2); box-shadow: 0 0 8px var(--brass2); }
.tgm-curtain { position: fixed; inset: 0; z-index: 9990; pointer-events: none; display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(90deg, rgba(0,0,0,.42) 0 2px, rgba(0,0,0,0) 2px 9px, rgba(255,255,255,.035) 9px 20px, rgba(0,0,0,.28) 20px 44px), linear-gradient(180deg, #3a050a, #7a0a12 45%, #4a060c);
  box-shadow: inset 0 -60px 80px rgba(0,0,0,.6); animation: tgm-rise 1.25s cubic-bezier(.7, 0, .3, 1) .85s forwards; }
.tgm-curtain::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: repeating-linear-gradient(90deg, #1a0204 0 5px, #5a0810 5px 9px); }
.tc-t { margin: 0; padding: 0 var(--gut, 16px); text-align: center; color: var(--ink); animation: tgm-tc .45s ease .5s forwards; }
.tc-t span { display: block; margin-bottom: 10px; font: 12px var(--mono); letter-spacing: .3em; text-transform: uppercase; color: #ffb3b8; }
.tc-t b { display: block; font: 400 clamp(32px, 8vw, 64px)/1.02 var(--serif); text-transform: uppercase; letter-spacing: .03em; text-shadow: 0 2px 18px rgba(0,0,0,.6); overflow-wrap: anywhere; }
@keyframes tgm-rise { to { transform: translateY(-105%); visibility: hidden; } }
@keyframes tgm-tc { to { opacity: 0; transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .tgm-curtain { display: none; } }
/* 1.94.0 — profil : type de joueur et pièces du Maître du Jeu (Expérience 2.0) */
.xp-pf { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 12px; margin: 0 0 24px; }
.xp-pf-c { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-left: 3px solid var(--brass); background: var(--bg2); color: var(--ink); text-decoration: none; }
.xp-pf-c small { color: var(--dim); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.xp-pf-c b { font: 400 26px/1.05 var(--serif); text-transform: uppercase; }
.xp-pf-c span { color: var(--brass-sm); font-size: 14px; }
.xp-pf-c:hover { border-color: var(--brass); }
/* ---- 1.96.0 : pop-ups de l'Épreuve Zéro et du défi du jour (engage.js) : noir profond, rouge, lumière rouge qui respire ---- */
.pm-lock, .pm-lock body { overflow: hidden; }
.pm-veil { position: fixed; inset: 0; z-index: 92; display: flex; align-items: center; justify-content: center; padding: max(12px, env(safe-area-inset-top, 0px)) 12px max(12px, env(safe-area-inset-bottom, 0px));
  background: radial-gradient(ellipse at 50% 40%, rgba(122,10,18,.38), rgba(0,0,0,.92) 62%), rgba(0,0,0,.6); opacity: 0; transition: opacity .5s ease; }
.pm-veil.in { opacity: 1; }
.pm-box { position: relative; width: 100%; max-width: 440px; max-height: calc(100dvh - 24px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); overflow-y: auto; overflow-x: hidden; /* 2.27.0 : le trait lumineux animé dépassait à droite : barre de défilement qui apparaissait et disparaissait */ overscroll-behavior: contain;
  background: linear-gradient(#0d0d0f, #050506); border: 1px solid var(--blood); border-top: 3px solid var(--brass); padding: 26px clamp(18px, 5vw, 30px) 20px; text-align: center;
  box-shadow: 0 0 0 1px rgba(209,26,38,.08), 0 30px 90px rgba(0,0,0,.9), 0 0 90px rgba(209,26,38,.22); transform: translateY(18px) scale(.97); filter: blur(4px); transition: transform .6s cubic-bezier(.2,.9,.2,1), filter .6s ease; }
.pm-veil.in .pm-box { transform: none; filter: none; }
.pm-box::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--brass2), transparent); opacity: .9; animation: pm-sweep 3.2s ease-in-out infinite; pointer-events: none; }
.pm-box:focus { outline: none; }
.pm-x { position: sticky; top: -16px; float: right; margin: -16px -8px 0 0; width: 44px; height: 44px; border: 0; background: none; color: var(--dim); font-size: 30px; line-height: 1; cursor: pointer; z-index: 2; }
.pm-x:hover, .pm-x:focus-visible { color: #fff; }
.pm-ic { width: 64px; height: 64px; margin: 4px auto 12px; display: flex; align-items: center; justify-content: center; }
.pm-ic svg { width: 54px; height: 54px; fill: var(--brass); filter: drop-shadow(0 0 14px rgba(209,26,38,.8)); animation: pm-breathe 2.8s ease-in-out infinite; }
.pm-k { margin: 0 0 10px; font: 12px/1.4 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--brass-sm); display: flex; align-items: center; justify-content: center; gap: 8px; }
.pm-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--brass2); box-shadow: 0 0 10px var(--brass2); flex: none; animation: pm-blink 1.6s ease-in-out infinite; }
.pm-box h2 { margin: 0 0 14px; font: 400 clamp(26px, 7vw, 32px)/1.04 var(--serif); text-transform: uppercase; letter-spacing: .02em; color: #fff; text-shadow: 0 0 30px rgba(209,26,38,.35); }
.pm-daily h2 { font-size: clamp(22px, 6vw, 27px); }
.pm-txt { margin: 0 0 14px; font: clamp(16px, 4.4vw, 18px)/1.5 var(--type); color: #e2dccf; }
.pm-txt p { margin: 0 0 4px; }
.pm-free { margin: 0 0 16px; font: 600 12px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: #fff; }
.pm-meta { margin: 0 0 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; font-size: 14px; color: var(--dim); }
.pm-meta b { flex-basis: 100%; color: var(--ink); font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.pm-diff { display: inline-flex; gap: 4px; } .pm-diff i { width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--brass); } .pm-diff i.on { background: var(--brass); }
.pm-acts { display: flex; flex-direction: column; gap: 10px; margin: 0 0 12px; }
.pm-acts .btn { width: 100%; min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.pm-go { font-size: 15px; letter-spacing: .14em; box-shadow: 0 0 30px rgba(209,26,38,.45); }
.pm-go svg { width: 20px; height: 20px; fill: #fff; flex: none; }
.pm-go .pm-dot { background: #fff; box-shadow: 0 0 10px #fff; }
.pm-slg { margin: 4px 0 0; font: italic 14px/1.4 var(--type); color: var(--dim); }
@keyframes pm-breathe { 0%, 100% { filter: drop-shadow(0 0 10px rgba(209,26,38,.55)); transform: scale(1); } 50% { filter: drop-shadow(0 0 22px rgba(255,59,71,.95)); transform: scale(1.04); } }
@keyframes pm-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes pm-sweep { 0% { transform: translateX(-70%); } 50% { transform: translateX(70%); } 100% { transform: translateX(-70%); } }
@media (min-width: 520px) { .pm-acts { flex-direction: row-reverse; } .pm-acts .btn { flex: 1; } .pm-zero .pm-acts { flex-direction: column; } }
@media (max-width: 400px) { .pm-acts .btn { letter-spacing: .08em; font-size: 14px; padding-left: 10px; padding-right: 10px; } }
@media (max-height: 560px) {   /* téléphone en paysage : tout tient dans l'écran, boutons côte à côte */
  .pm-ic { display: none; } .pm-box { padding: 14px 20px 12px; } .pm-k { margin-bottom: 4px; } .pm-box h2 { font-size: 22px; margin-bottom: 8px; }
  .pm-txt { font-size: 15px; margin-bottom: 8px; } .pm-txt p { display: inline; } .pm-txt p + p::before { content: " "; }
  .pm-free, .pm-meta { margin-bottom: 10px; } .pm-veil .pm-acts, .pm-veil.pm-zero .pm-acts { flex-direction: row-reverse; margin-bottom: 6px; } .pm-acts .btn { flex: 1; min-height: 46px; } .pm-slg { margin: 0; }
}
@media (prefers-reduced-motion: reduce) { .pm-veil, .pm-box { transition: none; filter: none; transform: none; } .pm-box::before, .pm-ic svg, .pm-dot { animation: none; } }
/* cloche : bouton du défi du jour, ou défi déjà relevé / terminé */
.nt-cta { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 6px 12px; border: 1px solid var(--brass); color: #fff; background: rgba(209,26,38,.18); font: 600 12px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.nt-state { align-self: flex-start; display: inline-block; margin-top: 8px; padding: 3px 10px; border: 1px solid var(--line); color: var(--dim); font-size: 12px; letter-spacing: .06em; }
.nt-state.done { border-color: #2f6b45; color: #8fd6a9; }
/* 1.97.0 — Profil > Réglages > Confort de jeu */
.cmf-f .cmf-o { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; line-height: 1.4; font-size: 14.5px; }
.cmf-f .cmf-o b { display: block; } .cmf-f .cmf-o:has(input:checked) { border-color: var(--brass); background: color-mix(in srgb, var(--brass) 10%, transparent); }
.cmf-f .cmf-o input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--brass); }
.cmf-f input[type=range] { width: 100%; accent-color: var(--brass); }
@media (max-height: 460px) { .upd-box.has-list .eyebrow { display: none; } .upd-box.has-list h2 { font-size: 21px; margin-bottom: 6px; } .upd-box.has-list .upd-note { font-size: 14px; margin-bottom: 8px; } .upd-box.has-list { padding: 14px 18px; } .upd-list { margin-bottom: 12px; } }
/* 2.1.0 — démo offerte par un ambassadeur : page de résultat, page d'entrée */
.demo-cta { margin: 0 0 26px; padding: 20px; border: 1px solid var(--blood); border-left: 3px solid var(--brass); background: var(--bg2); display: grid; gap: 12px; }
.demo-cta .eyebrow { margin: 0; } .demo-cta p { margin: 0; color: #d2cbbd; line-height: 1.5; } .demo-cta .btn { justify-self: start; } .demo-cta .note { font-size: 13px; color: var(--dim); }
@media (max-width: 560px) { .demo-cta .btn { justify-self: stretch; text-align: center; } }
.demo-note { margin: 4px 0 14px; padding: 10px 12px; border-left: 3px solid var(--brass); background: var(--bg2); color: #d2cbbd; }
/* 2.3.0 — photo de profil : en-tête du profil (bouton), réglages, recadrage */
.pf-ph { padding: 0; cursor: pointer; font: inherit; overflow: visible; }
.pf-ph img, .pf-ph-prev img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.pf-ph:focus-visible { outline: 2px solid var(--brass2); outline-offset: 3px; }
.pf-ini { font: 400 clamp(24px, 6vw, 34px)/1 var(--serif); color: var(--ink); }
.pf-cam { position: absolute; right: -4px; bottom: -4px; width: 26px; height: 26px; border-radius: 50%; background: var(--brass); border: 2px solid var(--bg); display: flex; align-items: center; justify-content: center; }
.pf-cam svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; }
.ph-set { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 0 0 28px; } .ph-set .pl-av.big { width: 96px; height: 96px; }
.ph-acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; flex: 1 1 260px; min-width: 0; } .ph-acts .note { flex-basis: 100%; margin: 0; }
.ph-crop { position: fixed; inset: 0; z-index: 130; background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.ph-box { width: 100%; max-width: 420px; max-height: 100%; overflow-y: auto; background: var(--bg2); border: 1px solid var(--line); border-top: 3px solid var(--brass); padding: 20px; }
.ph-box h2 { margin: 0 0 6px; font-size: clamp(22px, 6vw, 28px); } .ph-hint { margin: 0 0 14px; color: var(--dim); font-size: 14px; line-height: 1.45; }
.ph-stage { position: relative; width: min(100%, 360px, 52vh); aspect-ratio: 1; margin: 0 auto; touch-action: none; cursor: grab; background: #000; user-select: none; -webkit-user-select: none; }
.ph-stage:active { cursor: grabbing; } .ph-stage:focus-visible { outline: 2px solid var(--brass2); outline-offset: 3px; }
.ph-stage canvas { display: block; }
.ph-ring { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 9999px rgba(0,0,0,.55); border: 2px solid rgba(255,255,255,.85); pointer-events: none; }
.ph-stage { overflow: hidden; }
.ph-zoom { display: flex; align-items: center; gap: 12px; margin: 16px 0 6px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); } .ph-zoom input { flex: 1; accent-color: var(--brass); min-height: 32px; }
.ph-box .ph-acts { justify-content: flex-end; margin-top: 12px; } .ph-box .ph-acts .btn { flex: 1 1 140px; }
.ph-msg { margin: 10px 0 0; min-height: 1.2em; color: var(--brass2); font-size: 14px; }
.ph-toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px) + var(--tab-h, 0px)); transform: translateX(-50%); z-index: 140; max-width: min(92vw, 460px); background: var(--bg3); border: 1px solid var(--brass); color: var(--ink); padding: 12px 16px; font-size: 15px; }
/* 2.3.0 — anniversaire : inscription, profil, cadeau */
.bday-f { border: 0; padding: 0; margin: 0; min-width: 0; width: 100%; } .bday-f legend { padding: 0; margin-bottom: 8px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); } .bday-f legend .opt { letter-spacing: .04em; text-transform: none; }
.bday-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 10px; max-width: 420px; }
.bday-why { margin: 6px 0 0; font-size: 13px; color: var(--dim); }
.bday-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.bday-gift { margin: 0 0 22px; padding: 16px 18px; border: 1px solid var(--blood); border-left: 3px solid var(--brass); background: var(--bg2); }
.bday-gift .eyebrow { margin: 0 0 6px; } .bday-gift p { margin: 0 0 8px; line-height: 1.5; overflow-wrap: anywhere; } .bday-gift .btn { margin-left: 8px; vertical-align: middle; } .bday-gift .note { margin: 0; color: var(--dim); font-size: 14px; }
.bday-row select { width: 100%; min-width: 0; min-height: 52px; padding: 12px 38px 12px 14px; background: var(--bg2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a8a29a' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center / 12px 8px;
  border: 1px solid #62626a; border-radius: 0; color: var(--ink); font: 17px var(--sans); -webkit-appearance: none; appearance: none; cursor: pointer; }
.bday-row select:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px var(--sel); } .bday-row select:focus-visible { outline: 2px solid var(--brass2); outline-offset: 2px; }   /* 2.12.0 (audit FRONT-20) */
.bday-row select option { background: var(--bg2); color: var(--ink); }
.bday-form .note { margin: 10px 0 14px; }
@media (max-width: 560px) { .bday-gift .btn { display: flex; width: fit-content; margin: 10px 0 0; } }
[data-panel] > .sec-head[id], [data-panel] .sec-head[id] { scroll-margin-top: calc(var(--top-h, 64px) + 70px); } #anniversaire-cadeau { scroll-margin-top: calc(var(--top-h, 64px) + 16px); }   /* 2.3.0 : section visible sous la barre des onglets */
.pf-hd { display: flex; align-items: center; gap: 16px; margin-bottom: clamp(14px, 3vw, 20px); } .pf-hd .h-page { margin: 0; min-width: 0; overflow-wrap: anywhere; } .pf-hd .pl-av.big { flex: none; width: clamp(56px, 14vw, 76px); height: clamp(56px, 14vw, 76px); }   /* 2.3.0 */
.bday-set { margin: 0 0 6px; font-size: 18px; } .bday-set b { color: var(--ink); }   /* 2.3.0 */
/* 2.4.0 — réseaux sociaux : bas de chaque page, profil (onglet Amis), page Contact. Cibles tactiles de 44 px au moins. */
.soc { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.soc li { margin: 0; min-width: 0; }
.soc a { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 16px 0 12px; border: 1px solid var(--line); background: var(--bg2); color: var(--ink);
  text-decoration: none; font: 500 14px/1.2 var(--sans); letter-spacing: .02em; text-transform: none; transition: border-color var(--t-fast, .15s), background-color var(--t-fast, .15s); -webkit-tap-highlight-color: transparent; }
.soc a:hover, .soc a:focus-visible { border-color: var(--brass); background: var(--bg); }
.soc a:active { transform: scale(.97); }
.soc svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.soc-instagram svg { color: #f0567a; } .soc-facebook svg { color: #4a90ff; } .soc-tiktok svg { color: #f2f2f2; } .soc-youtube svg { color: #ff4d4d; }
.foot .soc span, .foot .soc a span:last-child { font: inherit; letter-spacing: inherit; text-transform: none; }
.foot-soc { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-top: 18px; }
.foot-soc > span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); font-family: inherit; }
.soc-big { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; max-width: 560px; }
.soc-big a { display: flex; width: 100%; min-height: 60px; padding: 10px 16px 10px 14px; gap: 12px; }
.soc-big svg { width: 26px; height: 26px; }
.soc-big span { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 15px; font-weight: 600; }
.soc-big small { font-size: 13px; font-weight: 400; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.soc-note { margin: 0 0 14px; }
.contact-soc { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); } .contact-soc h2 { margin: 0 0 6px; font-size: clamp(22px, 5vw, 28px); } .contact-soc .legal-line { margin: 0 0 14px; }
@media (max-width: 380px) { .foot-soc { gap: 8px 12px; } .soc a { padding: 0 12px 0 10px; } }
.xp-how summary { padding: 11px 0; }   /* 2.4.0 : cible tactile de 44 px */
/* 2.9.0 (audit FRONT-05, FRONT-08, FRONT-11) — page « Jouer », « Mes jeux », onglet central, Compétition à trois entrées */
.poster-own { color: var(--gold); }
.mg-l { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 10px; }
.mg { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 10px 12px; border: 1px solid var(--line); background: var(--bg2); }
.mg-cov { display: block; width: 56px; aspect-ratio: 2 / 3; overflow: hidden; background: var(--bg3); } .mg-cov img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mg-b { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.mg-t { font-family: var(--serif); font-size: 18px; line-height: 1.2; text-decoration: none; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mg-t:hover { text-decoration: underline; } .mg-s { font-size: 13px; color: var(--dim); }
.mg-go { margin: 0; } .mg-go .form-msg:empty { display: none; }
.j-code { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px 12px; margin: 0 0 44px; }
.j-code label { grid-column: 1; } .j-code > .btn { grid-column: 2; } .j-code .note, .j-code .form-msg { grid-column: 1 / -1; margin: 0; }
.j-more { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.j-more a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); background: var(--bg2); text-decoration: none; color: var(--ink); }
.j-more a:hover { border-color: var(--line2); } .j-more span { font-size: 14px; color: var(--dim); }
.jouer > .sec-head { margin-top: 44px; }   /* 2.14.2 : « Voir les jeux » (et « Se connecter ») ne touchent plus le titre « Autres façons de jouer » (avant : 0 px) */
@media (max-width: 480px) {
  .mg { grid-template-columns: 48px minmax(0, 1fr); } .mg-cov { width: 48px; } .mg-go { grid-column: 1 / -1; } .mg-go .btn { width: 100%; }
  .j-code { grid-template-columns: 1fr; } .j-code > .btn { grid-column: 1; }
  .comp-nav { display: flex; width: 100%; } .comp-nav a { flex: 1 1 0; justify-content: center; padding: 0 6px; letter-spacing: .04em; font-size: 11.5px; }
}
.top nav .nav-me { display: inline-flex; align-items: center; gap: 6px; } .top nav .nav-me svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; }
@media (min-width: 761px) and (max-width: 1100px) {   /* tablettes et petits portables : le menu tient sur une ligne (avant : 2 lignes de 768 à 1 024 px) */
  .top { gap: 14px; } .top nav { gap: 12px; } .top nav a { letter-spacing: .06em; }
  .brand { font-size: 18px; gap: 8px; } .brand-mark { width: 22px; height: 22px; }
  .top nav .nav-me span { display: none; }
}
@media (min-width: 761px) and (max-width: 900px) { .brand { font-size: 16px; } .ta-mc .ta-u { display: none; } .top nav a { font-size: 11.5px; } .top nav .nav-ev { display: none; } }   /* iPad en portrait : Événements reste dans Compétition */
@media (max-width: 760px) {
  .tabbar a.tb-play svg { width: 40px; height: 40px; margin-top: -14px; padding: 9px; border-radius: 50%; background: var(--brass); color: #fff; fill: #fff; stroke: none; box-shadow: 0 0 0 3px #060607, 0 0 16px rgba(209,26,38,.6); filter: none; }
  .tabbar a.tb-play.on svg { color: #fff; filter: none; } .tabbar a.tb-play.on::before { display: none; }
}

/* 2.13.0 (audit FRONT-18) : gabarit commun des pages du pied de page */
.wrap.narrow.page.legal, .wrap.narrow.legal-crumbs, .wrap.narrow.contact-page, .wrap.narrow.faq-page, .wrap.narrow.doc-end { width: min(700px, 100%); }
.legal-crumbs .eyebrow { margin: 0 0 14px; }
.doc-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-top: 26px; padding-bottom: clamp(40px, 7vw, 72px); border-top: 1px solid var(--line); margin-top: 8px; }
.doc-end p { margin: 0; }
.doc-q { color: var(--dim); } .doc-q b { color: var(--ink); font-weight: 600; margin-right: 6px; } .doc-q a { color: var(--ink); }
.doc-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.doc-top { display: inline-flex; align-items: center; gap: 6px; color: var(--dim); font-size: 14px; text-decoration: none; padding: 8px 0; } .doc-top:hover { color: var(--ink); text-decoration: underline; }
.doc-top svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.doc-toc { margin: 6px 0 28px; }
.doc-toc details { border: 1px solid var(--line); border-radius: 12px; background: var(--bg2); }
.doc-toc summary { display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 0 16px; cursor: pointer; list-style: none; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }
.doc-toc summary::-webkit-details-marker { display: none; }
.doc-toc summary::after { content: "+"; font-size: 20px; line-height: 1; letter-spacing: 0; color: var(--faint); } .doc-toc details[open] summary::after { content: "\2212"; }
.doc-toc summary:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; border-radius: 10px; }
.doc-toc ol { margin: 0; padding: 0 16px 14px 36px; display: flex; flex-direction: column; gap: 0; font-size: 15px; line-height: 1.4; color: var(--faint); }
.doc-toc a { display: inline-block; padding: 6px 0; color: var(--dim); text-decoration: none; } .doc-toc a:hover { color: var(--ink); text-decoration: underline; } .doc-toc a.on { color: var(--ink); }
.has-toc > h2 { scroll-margin-top: 90px; }
@media (min-width: 1260px) {
  .page.has-toc { position: relative; }
  .doc-toc { position: absolute; top: 0; bottom: 0; right: calc(100% + 32px); width: 220px; margin: 0; }
  .doc-toc details { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow-y: auto; border: 0; border-left: 1px solid var(--line); border-radius: 0; background: none; }
  .doc-toc summary { min-height: 0; padding: 0 0 10px 16px; pointer-events: none; font-size: 11px; } .doc-toc summary::after { display: none; }
  .doc-toc ol { padding: 0 0 0 16px; list-style: none; font-size: 13.5px; } .doc-toc a { padding: 5px 0; } .doc-toc a.on { color: var(--ink); box-shadow: -17px 0 0 -15px var(--brass); }
}
/* 2.18.0 (audit FRONT-11, « menu ordinateur ») — menu groupé de l'en-tête : Les jeux, Jouer, Compétition et le compte déroulent leurs pages.
   Survol de la souris (avec un court délai), ou bouton ▾ (clavier, doigt) ; la rubrique de la page ouverte est soulignée en rouge. */
.top nav { align-items: center; }
.nv-g { position: relative; display: inline-flex; align-items: center; }
.nv-c { display: inline-grid; place-items: center; width: 24px; height: 34px;   /* 2.70.0 (audit 360, A11Y-04) : 24 px au moins (WCAG 2.2, taille des cibles) ; avant 22 px, 18 px sur tablette */ margin: 0 0 0 1px; padding: 0; border: 0; background: none; color: var(--dim); cursor: pointer; border-radius: 3px; }
.nv-c svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.nv-g:hover .nv-c, .nv-g.open .nv-c, .nv-c:focus-visible { color: var(--ink); }
.nv-g.open .nv-c svg { transform: rotate(180deg); }
.nv-m { position: absolute; top: calc(100% + 6px); left: -14px; z-index: 60; min-width: 230px; padding: 8px; display: grid; gap: 2px; background: #0b0b0c; border: 1px solid var(--line2); box-shadow: 0 26px 50px -18px #000, 0 0 0 1px rgba(0,0,0,.6);
  visibility: hidden; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility 0s linear .15s; }
.nv-m::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }   /* pont pour la souris entre le lien et son menu */
.nv-g.r .nv-m { left: auto; right: -6px; }
@media (hover: hover) { .nv-g:hover .nv-m { visibility: visible; opacity: 1; transform: none; transition-delay: .08s, .08s, 0s; } }
.nv-g.open .nv-m { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.top nav .nv-m a, .nv-m .nv-out { display: block; padding: 10px 12px; border: 0; font: 500 14px/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: #d8d3c8; text-decoration: none; white-space: nowrap; border-radius: 3px; }
.top nav .nv-m a:hover, .top nav .nv-m a:focus-visible, .nv-m .nv-out:hover { background: var(--bg3); color: var(--ink); }
.top nav .nv-m a[aria-current="page"] { color: var(--ink); box-shadow: inset 2px 0 0 var(--brass); }
.nv-m .nv-out { width: 100%; margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 3px 3px; background: none; text-align: left; color: var(--dim); cursor: pointer; }
.nv-who { margin: 0 0 4px; padding: 6px 12px 10px; border-bottom: 1px solid var(--line); font: 600 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px; }
.top nav > a[aria-current="page"], .top nav .nv-g.on > .nv-t, .top nav .nav-ev.on { color: var(--ink); border-color: var(--brass); }
.ta-code span { white-space: nowrap; }
@media (max-width: 760px) { .ta-code.d-only { display: none; } }
@media (min-width: 761px) and (max-width: 1100px) { .ta-code span { display: none; } .ta-code { padding: 0 10px; min-width: 40px; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .nv-m, .nv-c svg { transition: none; } }
.top .brand { white-space: nowrap; flex: none; }
.top nav .nav-me span { max-width: 14ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }   /* un pseudo long ne pousse plus le menu sur deux lignes */
@media (min-width: 761px) and (max-width: 1440px) { .top nav { gap: 18px; } .top nav a { letter-spacing: .12em; } .top nav .nav-me span { display: none; } }
@media (min-width: 761px) and (max-width: 1100px) { .top nav { gap: 12px; } .top nav a { letter-spacing: .06em; } }
@media (min-width: 761px) and (max-width: 1100px) { .top nav .nav-shop.in, .top nav .nav-rg { display: none; } }   /* connecté : Boutique et Régie restent dans le menu du compte (et le solde MC) */
@media (min-width: 761px) and (max-width: 1366px) { .has-pp .ta-code span { display: none; } .has-pp .ta-code { padding: 0 10px; min-width: 40px; justify-content: center; } }   /* partenaire : son étoile prend la place du texte du bouton code */
/* 2.18.0 (rapport : « la page Contact n'a jamais été retravaillée ») — formulaire et réponses rapides côte à côte ; conseil selon le sujet */
.contact-page .ct-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(28px, 5vw, 64px); align-items: start; margin-top: 10px; }
.contact-page .contact-form { max-width: 680px; }
.contact-form .topic { width: auto; }   /* sujets en boutons côte à côte (avant : un par ligne) */
.ct-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .ct-two input { width: 100%; max-width: none; }
.ct-hint { margin: -6px 0 0; padding: 10px 12px; border-left: 2px solid var(--brass); background: rgba(209,26,38,.07); font-size: 14px; line-height: 1.45; color: #d8d3c8; max-width: 640px; }
.ct-hint a { color: var(--brass2); }
.ct-side { position: sticky; top: 24px; display: grid; gap: 10px; min-width: 0; }
.ct-side h2 { margin: 0; font-size: clamp(22px, 3vw, 28px); }
.ct-quick { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.ct-quick a { display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--bg2), #070708); text-decoration: none; color: inherit; transition: border-color .2s; min-height: 44px; }
.ct-quick a:hover, .ct-quick a:focus-visible { border-color: var(--brass); }
.ct-quick b { display: block; font: 600 15px/1.3 var(--sans); color: var(--ink); }
.ct-quick small { display: block; margin-top: 3px; font-size: 13px; line-height: 1.4; color: var(--dim); }
.ct-ic { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #3a2a2c; color: var(--brass2); background: rgba(209,26,38,.06); }
.ct-ic svg { width: 19px; height: 19px; }
@media (max-width: 860px) {
  .contact-page .ct-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .ct-side { position: static; order: -1; }   /* téléphone : les réponses rapides avant le formulaire, en petit */
  .ct-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ct-quick small { display: none; } .ct-quick a { align-items: center; padding: 10px 12px; }
}
@media (max-width: 560px) { .ct-two { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 360px) { .ct-quick { grid-template-columns: minmax(0, 1fr); } }
/* 2.18.0 (rapport « pages du pied ») : l'essentiel en tête de Comment ça marche et Sessions en direct, en cartes numérotées */
.page.guide > .rules { counter-reset: rl; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; border-top: 0; max-width: none; margin: 18px 0 8px; padding: 0; }
.page.guide > .rules li { counter-increment: rl; margin: 0; padding: 16px 16px 16px 58px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--bg2), #070708); min-height: 64px; display: block; max-width: none; line-height: 1.45; }
.page.guide > .rules li::before { content: counter(rl, decimal-leading-zero); top: 16px; left: 16px; width: auto; height: auto; background: none; font: 400 24px/1 var(--serif); color: var(--brass); }
@media (max-width: 560px) { .page.guide > .rules { grid-template-columns: minmax(0, 1fr); } }
/* 2.21.0 — confirmation dans la page (remplace la fenêtre du navigateur) */
dialog.ask { box-sizing: border-box; width: min(460px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; margin: auto; padding: 22px 22px 18px; border: 1px solid var(--line); border-top: 3px solid var(--brass); background: var(--bg2); color: var(--ink); box-shadow: 0 24px 70px rgba(0,0,0,.6); }
dialog.ask::backdrop { background: rgba(0,0,0,.7); }
dialog.ask h2 { font: 650 19px/1.35 var(--sans); text-transform: none; letter-spacing: 0; margin: 0 0 8px; }
dialog.ask p { margin: 0 0 10px; color: var(--dim); font-size: 15px; line-height: 1.55; }
dialog.ask .ask-b { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 16px; }
dialog.ask .btn { min-height: 46px; padding: 10px 20px; }
@media (max-width: 480px) { dialog.ask .ask-b { flex-direction: column-reverse; } dialog.ask .ask-b .btn { width: 100%; } }
/* 2.29.0 — tableau de bord du joueur (accueil du profil) et page « Mes notifications » (maquettes du 31/10) */
.pf-acc { margin: 0 0 34px; }
.pf-acc .mg-l { margin-bottom: 0; }
@media (min-width: 900px) { .pf-acc .mg-l { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); } }
.nt-dev { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 0 0 16px; padding: 14px 16px; border: 1px solid rgba(209,26,38,.45); background: rgba(209,26,38,.07); }
.nt-dev p { margin: 0; flex: 1 1 260px; font-size: 14px; line-height: 1.45; }
.nt-dev[hidden], .nt-dev:has(> [data-notif][hidden]) { display: none; }
.nt-page .nt-filt { margin: 0 0 14px; }
.nt-page .nt-filt button { flex: 0 0 auto; }
.nt-it[hidden] { display: none; }
/* 2.30.0 — pages du pied : la dernière règle d'un nombre impair prend toute la largeur (plus de case vide) */
.page.guide > .rules li:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* 2.38.0 (audit SEC-12) — classes à la place des styles écrits dans les pages (refusés par la règle de sécurité) : u-w44 = largeur 44 %, u-v86 = --v 86 % (étoiles), u-p40 = --p 40 (anneau de niveau), u-mt36 = marge haute 36 px. En dernier : elles l'emportent. */
.u-w0{width:0%} .u-w1{width:1%} .u-w2{width:2%} .u-w3{width:3%} .u-w4{width:4%} .u-w5{width:5%} .u-w6{width:6%} .u-w7{width:7%} .u-w8{width:8%} .u-w9{width:9%} .u-w10{width:10%} .u-w11{width:11%} .u-w12{width:12%} .u-w13{width:13%} .u-w14{width:14%} .u-w15{width:15%} .u-w16{width:16%} .u-w17{width:17%} .u-w18{width:18%} .u-w19{width:19%} .u-w20{width:20%} .u-w21{width:21%} .u-w22{width:22%} .u-w23{width:23%} .u-w24{width:24%} .u-w25{width:25%} .u-w26{width:26%} .u-w27{width:27%} .u-w28{width:28%} .u-w29{width:29%} .u-w30{width:30%} .u-w31{width:31%} .u-w32{width:32%} .u-w33{width:33%} .u-w34{width:34%} .u-w35{width:35%} .u-w36{width:36%} .u-w37{width:37%} .u-w38{width:38%} .u-w39{width:39%} .u-w40{width:40%} .u-w41{width:41%} .u-w42{width:42%} .u-w43{width:43%} .u-w44{width:44%} .u-w45{width:45%} .u-w46{width:46%} .u-w47{width:47%} .u-w48{width:48%} .u-w49{width:49%} .u-w50{width:50%} .u-w51{width:51%} .u-w52{width:52%} .u-w53{width:53%} .u-w54{width:54%} .u-w55{width:55%} .u-w56{width:56%} .u-w57{width:57%} .u-w58{width:58%} .u-w59{width:59%} .u-w60{width:60%} .u-w61{width:61%} .u-w62{width:62%} .u-w63{width:63%} .u-w64{width:64%} .u-w65{width:65%} .u-w66{width:66%} .u-w67{width:67%} .u-w68{width:68%} .u-w69{width:69%} .u-w70{width:70%} .u-w71{width:71%} .u-w72{width:72%} .u-w73{width:73%} .u-w74{width:74%} .u-w75{width:75%} .u-w76{width:76%} .u-w77{width:77%} .u-w78{width:78%} .u-w79{width:79%} .u-w80{width:80%} .u-w81{width:81%} .u-w82{width:82%} .u-w83{width:83%} .u-w84{width:84%} .u-w85{width:85%} .u-w86{width:86%} .u-w87{width:87%} .u-w88{width:88%} .u-w89{width:89%} .u-w90{width:90%} .u-w91{width:91%} .u-w92{width:92%} .u-w93{width:93%} .u-w94{width:94%} .u-w95{width:95%} .u-w96{width:96%} .u-w97{width:97%} .u-w98{width:98%} .u-w99{width:99%} .u-w100{width:100%}
.u-v0{--v:0%} .u-v1{--v:1%} .u-v2{--v:2%} .u-v3{--v:3%} .u-v4{--v:4%} .u-v5{--v:5%} .u-v6{--v:6%} .u-v7{--v:7%} .u-v8{--v:8%} .u-v9{--v:9%} .u-v10{--v:10%} .u-v11{--v:11%} .u-v12{--v:12%} .u-v13{--v:13%} .u-v14{--v:14%} .u-v15{--v:15%} .u-v16{--v:16%} .u-v17{--v:17%} .u-v18{--v:18%} .u-v19{--v:19%} .u-v20{--v:20%} .u-v21{--v:21%} .u-v22{--v:22%} .u-v23{--v:23%} .u-v24{--v:24%} .u-v25{--v:25%} .u-v26{--v:26%} .u-v27{--v:27%} .u-v28{--v:28%} .u-v29{--v:29%} .u-v30{--v:30%} .u-v31{--v:31%} .u-v32{--v:32%} .u-v33{--v:33%} .u-v34{--v:34%} .u-v35{--v:35%} .u-v36{--v:36%} .u-v37{--v:37%} .u-v38{--v:38%} .u-v39{--v:39%} .u-v40{--v:40%} .u-v41{--v:41%} .u-v42{--v:42%} .u-v43{--v:43%} .u-v44{--v:44%} .u-v45{--v:45%} .u-v46{--v:46%} .u-v47{--v:47%} .u-v48{--v:48%} .u-v49{--v:49%} .u-v50{--v:50%} .u-v51{--v:51%} .u-v52{--v:52%} .u-v53{--v:53%} .u-v54{--v:54%} .u-v55{--v:55%} .u-v56{--v:56%} .u-v57{--v:57%} .u-v58{--v:58%} .u-v59{--v:59%} .u-v60{--v:60%} .u-v61{--v:61%} .u-v62{--v:62%} .u-v63{--v:63%} .u-v64{--v:64%} .u-v65{--v:65%} .u-v66{--v:66%} .u-v67{--v:67%} .u-v68{--v:68%} .u-v69{--v:69%} .u-v70{--v:70%} .u-v71{--v:71%} .u-v72{--v:72%} .u-v73{--v:73%} .u-v74{--v:74%} .u-v75{--v:75%} .u-v76{--v:76%} .u-v77{--v:77%} .u-v78{--v:78%} .u-v79{--v:79%} .u-v80{--v:80%} .u-v81{--v:81%} .u-v82{--v:82%} .u-v83{--v:83%} .u-v84{--v:84%} .u-v85{--v:85%} .u-v86{--v:86%} .u-v87{--v:87%} .u-v88{--v:88%} .u-v89{--v:89%} .u-v90{--v:90%} .u-v91{--v:91%} .u-v92{--v:92%} .u-v93{--v:93%} .u-v94{--v:94%} .u-v95{--v:95%} .u-v96{--v:96%} .u-v97{--v:97%} .u-v98{--v:98%} .u-v99{--v:99%} .u-v100{--v:100%}
.u-p0{--p:0} .u-p1{--p:1} .u-p2{--p:2} .u-p3{--p:3} .u-p4{--p:4} .u-p5{--p:5} .u-p6{--p:6} .u-p7{--p:7} .u-p8{--p:8} .u-p9{--p:9} .u-p10{--p:10} .u-p11{--p:11} .u-p12{--p:12} .u-p13{--p:13} .u-p14{--p:14} .u-p15{--p:15} .u-p16{--p:16} .u-p17{--p:17} .u-p18{--p:18} .u-p19{--p:19} .u-p20{--p:20} .u-p21{--p:21} .u-p22{--p:22} .u-p23{--p:23} .u-p24{--p:24} .u-p25{--p:25} .u-p26{--p:26} .u-p27{--p:27} .u-p28{--p:28} .u-p29{--p:29} .u-p30{--p:30} .u-p31{--p:31} .u-p32{--p:32} .u-p33{--p:33} .u-p34{--p:34} .u-p35{--p:35} .u-p36{--p:36} .u-p37{--p:37} .u-p38{--p:38} .u-p39{--p:39} .u-p40{--p:40} .u-p41{--p:41} .u-p42{--p:42} .u-p43{--p:43} .u-p44{--p:44} .u-p45{--p:45} .u-p46{--p:46} .u-p47{--p:47} .u-p48{--p:48} .u-p49{--p:49} .u-p50{--p:50} .u-p51{--p:51} .u-p52{--p:52} .u-p53{--p:53} .u-p54{--p:54} .u-p55{--p:55} .u-p56{--p:56} .u-p57{--p:57} .u-p58{--p:58} .u-p59{--p:59} .u-p60{--p:60} .u-p61{--p:61} .u-p62{--p:62} .u-p63{--p:63} .u-p64{--p:64} .u-p65{--p:65} .u-p66{--p:66} .u-p67{--p:67} .u-p68{--p:68} .u-p69{--p:69} .u-p70{--p:70} .u-p71{--p:71} .u-p72{--p:72} .u-p73{--p:73} .u-p74{--p:74} .u-p75{--p:75} .u-p76{--p:76} .u-p77{--p:77} .u-p78{--p:78} .u-p79{--p:79} .u-p80{--p:80} .u-p81{--p:81} .u-p82{--p:82} .u-p83{--p:83} .u-p84{--p:84} .u-p85{--p:85} .u-p86{--p:86} .u-p87{--p:87} .u-p88{--p:88} .u-p89{--p:89} .u-p90{--p:90} .u-p91{--p:91} .u-p92{--p:92} .u-p93{--p:93} .u-p94{--p:94} .u-p95{--p:95} .u-p96{--p:96} .u-p97{--p:97} .u-p98{--p:98} .u-p99{--p:99} .u-p100{--p:100}
.u-mt14{margin-top:14px} .u-mt18{margin-top:18px} .u-mt22{margin-top:22px} .u-mt36{margin-top:36px} .u-mt48{margin-top:48px}
/* ---- 2.41.0 : la photo de profil du joueur à côté de son pseudo (classements, fiche d'un jeu, tournois) ; sans photo : l'avatar de la
   boutique, sinon l'initiale. Le cadre de la boutique reste autour (la photo est arrondie, pas le cadre). Aussi dans site-base.css. ---- */
.pl-av { vertical-align: middle; } .pl-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.pl-ini { font: 400 13px/1 var(--serif); color: var(--ink); text-transform: uppercase; letter-spacing: 0; } .pl-ini::before { content: attr(data-i); } .pl-lg .pl-ini { font-size: 28px; }
.rk-name .pl-av, .f-name .pl-av, .tn-roster .pl-av { width: 26px; height: 26px; margin-right: 9px; }
.board td.who .pl-av { width: 30px; height: 30px; margin-right: 10px; }
.podium .pl-av { width: 58px; height: 58px; margin: 6px 0 4px; } .podium .pl-ini { font-size: 26px; }
.tn-podium b .pl-av, .tn-hall li b .pl-av { width: 30px; height: 30px; margin-right: 10px; font-size: 13px; color: var(--ink); grid-row: auto; }
.tn-podium b span.pl-ini, .tn-hall li b span.pl-ini { font: 400 14px/1 var(--serif); color: var(--ink); letter-spacing: 0; }
.tn-roster { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 18px; } .tn-roster li { display: inline-flex; align-items: center; color: #c9c2b4; min-width: 0; overflow-wrap: anywhere; } .tn-roster li.more { color: var(--dim); }
@media (max-width: 640px) { .podium .pl-av { width: 38px; height: 38px; margin: 0; align-self: center; } .podium .pl-ini { font-size: 18px; } .board td.who .pl-av { width: 26px; height: 26px; margin-right: 8px; } }
/* 2.42.0 : la photo de profil à côté du pseudo dans les avis (fiche d'un jeu) ; aussi dans site-base.css */
.rv-h .pl-av { width: 30px; height: 30px; margin-right: -2px; }
/* 2.44.0 : page « À propos » (l'essentiel en bref) et « Lequel choisir ? » du catalogue ; aussi dans site-base.css */
.ab-dl { display: grid; grid-template-columns: minmax(130px, 200px) 1fr; margin: 0 0 8px; border-top: 1px solid var(--line); max-width: 68ch; }
.ab-dl > div { display: contents; }
.ab-dl dt, .ab-dl dd { padding: 12px 0; border-bottom: 1px solid var(--line); }
.ab-dl dt { color: var(--dim); font-size: 13px; letter-spacing: .04em; padding-right: 16px; }
.ab-dl dd { margin: 0; color: #cfcbc2; }
@media (max-width: 560px) { .ab-dl { grid-template-columns: 1fr; } .ab-dl dt { padding-bottom: 2px; border-bottom: 0; } .ab-dl dd { padding-top: 0; } }
.cmp-tips li { margin: 8px 0; }
.cmp-wrap { overflow-x: auto; margin: 18px 0 10px; }
.cmp { min-width: 680px; }
.cmp caption { text-align: left; color: var(--faint); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; padding: 0 0 8px; }
.cmp th[scope=row] { text-align: left; font: inherit; letter-spacing: 0; text-transform: none; color: var(--ink); padding: 12px 10px; border-bottom: 1px solid var(--line); }
.cmp td:first-child { color: inherit; }
.cmp-how { color: var(--dim); font-size: 13px; max-width: 68ch; }
/* 2.47.0 : « Réussi », « Tenté · pas encore sorti » et « Offert » en haut à droite des affiches du catalogue et de l'accueil : en bas, ils
   chevauchaient la note des joueurs et le texte posés sur l'affiche ; sur les cartes étroites (bandeau de l'accueil, deux par ligne), « Tenté » seul à l'écran
   (la suite reste lue par les lecteurs d'écran) ; aussi dans site-base.css */
.posters .poster-done, .posters .poster-gift { top: 8px; right: 8px; bottom: auto; left: auto; max-width: calc(100% - 16px); }
.posters .poster-done ~ .poster-gift { top: 40px; }
.posters.rail .pd-x { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 640px) and (min-width: 480px) { .posters.grid .pd-x { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; } }

/* 2.55.0 — appareils de confiance : page /appareil, bandeau d'attente, « Mes appareils » du profil */
.dv-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; padding: 12px max(16px, env(safe-area-inset-right, 0px)) 12px max(16px, env(safe-area-inset-left, 0px)); background: var(--blood); color: var(--ink); font-size: 14px; text-align: center; }
.dv-bar .btn { min-height: 40px; }
.dv-tag { display: inline-block; margin-left: 6px; padding: 2px 7px; border: 1px solid var(--line); color: var(--dim); font: 500 11px var(--sans); letter-spacing: .08em; text-transform: uppercase; vertical-align: 2px; }
.dv-tag.here { border-color: var(--brass); color: var(--brass-sm); }
.dv-page .dv-here { margin: 18px 0 0; color: var(--dim); font-size: 14px; } .dv-page .dv-here b { color: var(--ink); }
.dv-page .dv-sent { min-height: 1.4em; margin: 0; color: var(--dim); font-size: 14px; }
.dv-page .dv-code input[name=code] { font: 600 26px/1.2 var(--mono); letter-spacing: .3em; text-align: center; max-width: 12em; }
.dv-page .links { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.dv-own { margin: 28px 0 0; border: 1px solid var(--line); background: var(--bg2); }
.dv-own summary { padding: 14px 16px; cursor: pointer; font-size: 15px; }
.dv-own[open] summary { border-bottom: 1px solid var(--line); }
.dv-own > p { margin: 14px 16px 0; color: var(--dim); font-size: 14px; line-height: 1.55; }
.dv-ways { list-style: none; margin: 12px 0 0; padding: 0 16px 16px; display: grid; gap: 8px; }
.dv-ways a { display: block; padding: 12px 14px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.dv-ways a:hover, .dv-ways a:focus-visible { border-color: var(--brass); }
.dv-ways b { display: block; font-size: 15px; } .dv-ways span { display: block; margin-top: 3px; color: var(--dim); font-size: 13px; line-height: 1.45; }
.dv-rep { gap: 10px; }
.form .dv-opt { display: flex; flex-direction: row; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); cursor: pointer; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--ink); }
.form .dv-opt input { margin-top: 2px; flex: none; width: 20px; height: 20px; min-height: 0; padding: 0; accent-color: var(--brass); }
.form .dv-opt span { min-width: 0; } .dv-opt b { font-size: 15px; } .dv-opt small { display: block; margin-top: 4px; color: var(--dim); font-size: 13px; line-height: 1.45; }
.dv-opt:has(input:checked) { border-color: var(--brass); }
.dv-opt.off { opacity: .5; cursor: not-allowed; }
.dv-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.dv-list li { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: space-between; padding: 12px 14px; border: 1px solid var(--line); background: var(--bg2); }
.dv-what { min-width: 0; flex: 1 1 220px; font-size: 15px; } .dv-what small { display: block; margin-top: 4px; color: var(--dim); font-size: 13px; line-height: 1.45; }
.dv-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.dv-mine .form-msg:empty { display: none; }
/* 2.59.0 — badge « Ambassadeur » juste après le pseudo d'un ambassadeur actif (classements, tournois, défi du jour, accueil) :
   la pièce de puzzle de la marque et le mot, dans la couleur de son niveau. Sur un téléphone, dans les lignes serrées : la pièce seule
   (le mot reste lu par les lecteurs d'écran). */
.amb { --c: var(--bronze, #b77a45); display: inline-flex; align-items: center; gap: 4px; margin-left: 7px; padding: 1px 6px 1px 4px; border: 1px solid var(--c); border-radius: 3px; color: var(--c); background: rgba(0,0,0,.35); font: 600 10px/1.45 var(--sans, system-ui, sans-serif); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; vertical-align: middle; text-decoration: none; }
.amb svg { width: 11px; height: 11px; fill: currentColor; flex: none; }
.amb-silver { --c: var(--silver, #cfd2d6); } .amb-gold { --c: var(--gold, #e0b44a); } .amb-red { --c: var(--brass2, #ff3b47); }
.pod-name .amb, .tn-podium .amb, .tn-hall .amb { margin-left: 5px; }
@media (max-width: 520px) {
  .board td.who .amb, .rk-name .amb, .dj-board .amb, .lp-fast .amb, .f-name .amb, .pod-name .amb, .top-players .amb { gap: 0; padding: 2px 3px; margin-left: 5px; }
  .board td.who .amb-t, .rk-name .amb-t, .dj-board .amb-t, .lp-fast .amb-t, .f-name .amb-t, .pod-name .amb-t, .top-players .amb-t { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
}

/* ============================================================ 2.73.0 — fiche d'un jeu « cinéma » (refonte R3)
   Tablette et ordinateur : l'affiche en fond du haut de page, grand titre, bandeau de chiffres, texte à gauche, affiche et achat à droite.
   Téléphone : la fiche garde son ouverture sur l'affiche (2.45) et sa barre d'achat en bas ; seuls les trois points « comment se joue » s'ajoutent. */
.g2-bg { display: none; }
.g2-feat { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; }
.g2-feat li { background: #0b0b0c; border: 1px solid var(--line); border-radius: 6px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.g2-feat svg { color: var(--brass); }
.g2-feat b { font-size: 15px; color: var(--ink); font-family: var(--sans); font-weight: 650; }
.g2-feat span { font-size: 14px; line-height: 1.5; color: #b9b3a8; font-family: var(--sans); }
@media (min-width: 761px) {
  .game.g2 { position: relative; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); grid-auto-flow: row dense; column-gap: clamp(32px, 4vw, 56px); row-gap: 0; padding-top: clamp(20px, 3vw, 40px); }
  .game.g2 .game-info { display: contents; }
  .game.g2 .g2-bg { display: block; position: absolute; left: 0; right: 0; top: 0; height: clamp(420px, 44vw, 560px); z-index: 0; overflow: hidden; pointer-events: none;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(to right, transparent, #000 16%, #000 84%, transparent); }
  .game.g2 .g2-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: .46; }
  .game.g2 .g2-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.25), rgba(0,0,0,.55) 55%, #000 100%); }
  .game.g2 .game-info > * { grid-column: 1; order: 1; position: relative; z-index: 1; min-width: 0; }
  .game.g2 .game-info > .crumbs, .game.g2 .game-info > .eyebrow, .game.g2 .game-info > .h-page, .game.g2 .game-info > .lede, .game.g2 .game-info > .xg-prev, .game.g2 .game-info > .facts { grid-column: 1 / -1; }
  .game.g2 .game-info > .h-page { font-size: clamp(56px, 7.2vw, 112px); line-height: .92; max-width: 15ch; margin-top: 4px; text-shadow: 0 2px 40px rgba(0,0,0,.6); }
  .game.g2 .game-info > .lede { font-size: clamp(18px, 1.5vw, 21px); max-width: 36em; color: #e2ddd2; }
  .game.g2 .game-info > .facts { display: flex; flex-wrap: wrap; width: fit-content; max-width: 100%; gap: 0; margin: 10px 0 48px; background: rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.14); }
  .game.g2 .game-info > .facts > div { padding: 14px 22px; background: none; border-left: 1px solid rgba(255,255,255,.12); }
  .game.g2 .game-info > .facts > div:first-child { border-left: 0; }
  .game.g2 .game-info > .prose, .game.g2 .game-info > .g2-feat { grid-column: 1; order: 2; }
  .game.g2 .game-info > .prose { font-size: 18px; line-height: 1.68; max-width: 40em; }
  .game.g2 > .game-art { display: none; }   /* l'affiche est en fond du haut de page */
  .game.g2 .game-info > .game-act { grid-column: 2; grid-row: span 3; order: 2; align-self: start; position: sticky; top: calc(var(--top-h, 0px) + 24px); padding: 22px; background: #0e0e10; border: 1px solid #2a2a2f; border-radius: 10px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.85); }
  .game.g2 .game-info > .game-act .btn { width: 100%; justify-content: center; }
}

/* ============================================================ 2.74.0 — accueil et catalogue public (refonte R4)
   Catalogue : barre de filtres qui reste en haut, filtre par durée, cartes plus grandes, durée sur l'affiche, titre en blanc.
   Accueil : les jeux en grille sur ordinateur (rangée qui défile au doigt sur téléphone), les trois façons de jouer. */
.cat-bar[data-cat] { position: sticky; top: var(--top-h, 0px); z-index: 20; background: rgba(0,0,0,.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding-top: 10px; padding-bottom: 10px; }
.poster-title { color: var(--ink); }
.poster:hover .poster-title { color: var(--brass); }
@media (min-width: 761px) {
  .posters.grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 34px 24px; }
  .poster-chip { display: block; }
  .poster-title { font-size: 26px; }
  .lp-games .posters.rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; overflow: visible; margin: 0; padding: 0; scroll-snap-type: none; }
  .lp-games .posters.rail > .poster { width: auto; flex: none; max-width: none; }
  .lp-games .posters.rail > .poster:nth-child(n+5) { display: none; }
}
.lp-ways { padding: clamp(40px, 6vw, 72px) 0; }
.lp-ways-g { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.lp-way { display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 3vw, 34px); background: #0b0b0c; color: var(--ink); text-decoration: none; transition: background .2s; }
.lp-way:hover { background: #121214; }
.lp-way-n { font-family: var(--serif); font-size: 52px; line-height: 1; color: var(--brass); }
.lp-way-t { font-family: var(--serif); font-size: 26px; line-height: 1.1; text-transform: uppercase; letter-spacing: .02em; }
.lp-way-d { font-size: 16px; line-height: 1.55; color: #b9b3a8; }
@media (prefers-reduced-motion: reduce) { .lp-way { transition: none; } }

/* ============================================================ 2.75.0 — en-tête, menus et pied de page (refonte R5) */
.foot-top { align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 22px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); }
.foot-brand svg { color: var(--brass); flex: none; }
.foot-sig { font-family: var(--type); font-size: 16px; color: #d8d3c9; }
.foot-h { letter-spacing: .16em; }
