/* ═══════════════════════════════════════════════════════════════════════════
   velours.css — la maquette « Velours » sur les pages À LIRE du salon
   (05/10/2026). Hub, fiche d'un salon (`jeu.php`), règles, niveaux, tutoriels,
   pages légales. Les TABLES de jeu ne la chargent pas.

   Source de la forme : `public/pistes2027/pistes.css` (piste A) et les blocs
   « MAQUETTE VELOURS » de la feuille de l'école. Le salon ne charge pas
   `site.css` (1 Mo, deux applications) : les classes `vl-*` sont REDITES ici,
   avec les mêmes noms, pour qu'une carte de l'école et une carte du salon se
   lisent comme une seule maison — et qu'un jour, une seule feuille puisse
   servir les deux sans renommer une ligne de HTML.

   Toutes les règles sont préfixées par `body.velours` (ou portent une classe
   `vl-*`) : posée par erreur sur une table, cette feuille n'y changerait rien.

   ═══ LES JETONS ═══
   fond #141020 · prune #231A36 / #2E2346 · texte #EFE8F7 · brume #B9AED0 ·
   or #F0B44C · or clair #FFD98F · vert #5FC2A8 · encre sur or #1D1530.
   Contrastes MESURÉS sur la carte prune #231A36 : texte 13,80:1, brume 7,88:1,
   or 8,91:1, or clair 12,24:1 ; encre sur or 9,43:1 (formule WCAG, 05/10/2026).
   Le texte des bandeaux, posé sur le voile au-dessus des décors les plus
   clairs (jardin-ete, salon-jour, classe-jour…), mesuré aux pixels : 6,6:1
   au pire. Mesure DOM sur 8 pages : aucun texte sous 4,5:1.

   ═══ « VELOURS PUR » ET DÉCOR CHOISI ═══
   `html.vl-pur` = le joueur n'a pas choisi de décor (voir `_velours.php`) :
   le fond de nuit de la maquette, sans scène derrière. Sinon, son décor
   revient derrière la page, et les surfaces Velours restent opaques dessus.
   ═══════════════════════════════════════════════════════════════════════════ */

@font-face { font-family: "Fraunces"; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/fraunces-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 600 900; font-display: swap;
  src: url("../assets/fonts/fraunces-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/public-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 600 800; font-display: swap;
  src: url("../assets/fonts/public-sans-latin-600-normal.woff2") format("woff2"); }

body.velours {
  --vl-fond: #141020; --vl-prune: #231A36; --vl-prune2: #2E2346;
  --vl-texte: #EFE8F7; --vl-brume: #B9AED0; --vl-pale: #DDD3EE;
  --vl-or: #F0B44C; --vl-or-clair: #FFD98F; --vl-vert: #5FC2A8; --vl-encre: #1D1530;
  --vl-lisere: rgba(240,180,76,.16); --vl-ligne: rgba(255,255,255,.10);
  --vl-titre: "Fraunces", Georgia, serif;
  --vl-texte-f: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --vl-col: 1248px;
  /*  Les jetons de `salon.css` repeints : les composants d'avant (FAQ, bande
      de suivi, fenêtre du compte) prennent la palette sans être réécrits. */
  --or: #F0B44C; --or-2: #c8942f; --or-sourd: rgba(240,180,76,.28);
  --texte: #EFE8F7; --texte-doux: #B9AED0; --nuit: #141020; --pourpre: #231A36;
  --carte-r: 22px;
  /*  `ludi-bandeau.css` impose sa pile système à `body, button, input…` avec
      `!important`, par la variable `--police-ui`. Sur une page Velours, c'est
      la VARIABLE qu'on redéfinit : la règle des tables reste intacte, et elle
      sert ici Public Sans. */
  --police-ui: var(--vl-texte-f); --police-titre: var(--vl-titre);
  margin: 0; padding: 0;
  color: var(--vl-texte);
  font-family: var(--vl-texte-f);
  font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
html.vl-pur { background: #141020; }
html.vl-pur #ludiScene { display: none; }
html.vl-pur body.velours { background: #141020 !important; }
/*  Un décor CHOISI revient derrière la page — mais une partie du texte (les
    intertitres, les chapôs, les ponts) est posée à même le fond, pas sur une
    carte. Sur « Clair », « Aurore » ou « Jardin d'hiver », du texte clair sur
    un décor de jour ne se lirait plus. Le contenu reçoit donc un voile de
    nuit quand un décor est derrière ; en Velours pur, il n'en a pas besoin. */
html:not(.vl-pur) body.velours > .wrap, html:not(.vl-pur) body.velours > .vl-in,
html:not(.vl-pur) body.velours .tp, html:not(.vl-pur) body.velours .vl-legal {
  background: rgba(20,16,32,.86); border-radius: 22px; margin-top: 16px; padding-top: 18px; padding-bottom: 28px;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
body.velours h1, body.velours h2, body.velours h3 { font-family: var(--vl-titre); letter-spacing: 0; }
body.velours a { color: var(--vl-or-clair); }
body.velours :focus-visible { outline: 2px solid var(--vl-or); outline-offset: 2px; }
/*  Les thèmes de décor recolorent le texte du hub (`body.theme-clair`…) —
    pensé pour des pages posées À MÊME le décor. Sous Velours, tout le texte
    est sur une surface prune : il garde ses couleurs, quel que soit le fond. */
body.velours.theme-clair, body.velours.theme-neon { color: var(--vl-texte); }

.vl-in { max-width: var(--vl-col); margin: 0 auto; padding: 0 clamp(16px, 3vw, 32px); }

/* ── Boutons ─────────────────────────────────────────────────────────────── */
.vl-btn-or, .vl-btn-verre { display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  border-radius: 999px; font: 700 1rem/1.2 var(--vl-texte-f); text-decoration: none; cursor: pointer;
  min-height: 48px; padding: .75rem 1.5rem; box-sizing: border-box; white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, transform .15s ease; }
body.velours .vl-btn-or, .vl-btn-or { background: #F0B44C; color: #1D1530; border: 0;
  box-shadow: 0 8px 24px rgba(240,180,76,.30); }
body.velours .vl-btn-or:hover, .vl-btn-or:hover { background: #FFD98F; color: #1D1530; }
body.velours .vl-btn-verre, .vl-btn-verre { background: rgba(255,255,255,.08); color: #fff;
  border: 1.5px solid rgba(255,255,255,.32); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
body.velours .vl-btn-verre:hover, .vl-btn-verre:hover { background: rgba(255,255,255,.18); color: #fff; border-color: #F0B44C; }
.vl-btn-petit { min-height: 40px; padding: .45rem 1rem; font-size: .9rem; }
.vl-btn-or svg, .vl-btn-verre svg { flex: none; }
@media (prefers-reduced-motion: reduce) { .vl-btn-or, .vl-btn-verre { transition: none; } }

.vl-sur { margin: 0; color: #F0B44C; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  font-size: .75rem; font-family: var(--vl-texte-f); }
.vl-muet { color: var(--vl-brume); }
.vl-titre-bloc { margin: 0 0 1rem; font: 700 clamp(1.4rem, 1.1rem + 1vw, 1.9rem)/1.2 var(--vl-titre); color: #fff; }

/* ── L'en-tête ───────────────────────────────────────────────────────────── */
.vl-entete { position: sticky; top: 0; z-index: 60; background: rgba(20,16,32,.88);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(240,180,76,.16); font-family: var(--vl-texte-f); }
.vl-entete-in { max-width: var(--vl-col); margin: 0 auto; padding: 0 clamp(16px, 3vw, 32px);
  min-height: 54px; display: flex; align-items: center; gap: 8px 22px; }
.vl-logo img { display: block; height: 36px; width: auto; }
.vl-logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; flex: none;
  color: #fff !important; font: 700 1.3rem/1 var(--vl-titre); }
.vl-nav { display: flex; align-items: center; gap: 4px 20px; flex: 1 1 auto; min-width: 0; }
.vl-nav a { color: var(--vl-texte, #EFE8F7) !important; text-decoration: none; font-size: .95rem; padding: 10px 2px;
  border-bottom: 2px solid transparent; white-space: nowrap; }
.vl-nav a:hover { border-bottom-color: #F0B44C; color: #fff !important; }
.vl-nav a[aria-current="page"] { border-bottom-color: #F0B44C; color: #FFD98F !important; }
.vl-outils { display: flex; align-items: center; gap: 10px; flex: none; margin-left: auto; }
.vl-langue { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22); color: #EFE8F7 !important; text-decoration: none; font-weight: 700; font-size: .85rem; }
.vl-langue:hover { border-color: #F0B44C; }
.vl-decor:empty { display: none; }
/*  Le sélecteur de décor, adopté dans l'en-tête. `!important` : ludi-themes.css
    et salon.css le posent en `fixed` avec `!important` ; on l'emporte par la
    spécificité (`.vl-entete #…` contre `#…` seul). */
.vl-entete #ludiThemeWrap { position: relative !important; top: auto !important; right: auto !important;
  bottom: auto !important; left: auto !important; z-index: auto !important; font-family: var(--vl-texte-f); }
.vl-entete #ludiThemeBtn { min-height: 40px; padding: 0 14px; border-radius: 999px; font: 600 .88rem/1 var(--vl-texte-f);
  background: rgba(255,255,255,.06); color: #EFE8F7; border: 1px solid rgba(255,255,255,.22); box-shadow: none; }
.vl-entete #ludiThemeBtn:hover { border-color: #F0B44C; transform: none; }
.vl-entete #ludiThemeMenu { right: 0; left: auto; }
.vl-entete .compte { min-height: 40px; }
.vl-entete .compte::before { display: none; }
.vl-entete .compte .btn-or, .vl-entete .compte .btn-fin { min-height: 40px; font-family: var(--vl-texte-f); font-size: .88rem; }
.vl-entete .compte .btn-or { background: #F0B44C; color: #1D1530; }
.vl-entete .compte .btn-or:hover { background: #FFD98F; }
.vl-entete .compte .btn-fin { color: #EFE8F7; border-color: rgba(255,255,255,.3); }

/*  Tablette : les deux liens secondaires (Tutoriels, Mon suivi) partent au
    pied, où ils sont aussi. */
@media (max-width: 1100px) { .vl-nav .vl-second { display: none; } }
/*  Téléphone (mesuré à 412 px) : le logo et les outils sur la première ligne,
    les trois portes du salon sur la seconde, en défilement latéral si un jour
    il en faut une quatrième. 96 px en tout — l'ancien empilement en prenait
    270. */
@media (max-width: 760px) {
  .vl-entete-in { flex-wrap: wrap; min-height: 0; padding-top: 6px; padding-bottom: 0; gap: 0 8px; }
  .vl-logo { font-size: 1.06rem; min-height: 48px; gap: 6px; }
  .vl-logo svg { width: 24px; height: 24px; }
  .vl-outils { gap: 6px; flex-wrap: nowrap; }
  /*  La bascule de langue part au pied sur téléphone (`ludi_velours_pied`
      la porte aussi) : sur 380 px utiles, le logo, le décor et le compte
      tiennent sur UNE ligne ; avec elle, l'en-tête en prenait trois. */
  .vl-outils .vl-langue { display: none; }
  .vl-nav { order: 3; flex: 1 1 100%; gap: 0 18px; overflow-x: auto; scrollbar-width: none; }
  .vl-nav::-webkit-scrollbar { display: none; }
  .vl-nav a { padding: 8px 2px 10px; font-size: .92rem; }
  .vl-entete #ludiThemeBtn { padding: 0 10px; }
  .vl-entete #ludiThemeBtn .lt-lb { display: none; }
  .vl-entete .compte { gap: 6px; }
  .vl-entete .compte .btn-fin { display: none; }
  .vl-entete .compte .btn-or, .vl-entete .vl-btn-petit { padding: 0 12px; font-size: .84rem; }
  .vl-langue { padding: 0 9px; }
}
@media (max-width: 360px) { .vl-logo span { display: none; } }

/* ── Fil d'Ariane ────────────────────────────────────────────────────────── */
.vl-ariane ol { list-style: none; margin: 0 0 .6rem; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 0;
  font-size: .86rem; color: #DDD3EE; }
.vl-ariane li + li::before { content: "›"; margin: 0 .5rem; opacity: .7; }
.vl-ariane a { color: #DDD3EE !important; text-decoration: none; }
.vl-ariane a:hover { color: #fff !important; text-decoration: underline; }
.vl-ariane [aria-current] { color: #fff; }

/* ── Le bandeau illustré (tête de page) ──────────────────────────────────── */
.vl-bandeau { position: relative; isolation: isolate; overflow: hidden; color: #EFE8F7; background: #141020;
  padding: clamp(18px, 3vw, 30px) 0 clamp(22px, 3.4vw, 34px); }
.vl-bandeau-fond { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; object-position: center 45%; }
.vl-bandeau::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(20,16,32,.95) 0%, rgba(20,16,32,.80) 48%, rgba(20,16,32,.40) 100%),
              linear-gradient(0deg, #141020 0%, rgba(20,16,32,0) 55%); }
html:not(.vl-pur) .vl-bandeau::before {
  background: linear-gradient(90deg, rgba(20,16,32,.95) 0%, rgba(20,16,32,.80) 48%, rgba(20,16,32,.45) 100%); }
.vl-bandeau .vl-in { position: relative; }
.vl-bandeau-texte { max-width: 760px; }
.vl-bandeau h1 { margin: .2rem 0 .5rem; color: #fff; font: 700 clamp(1.75rem, 1.2rem + 2.2vw, 2.9rem)/1.08 var(--vl-titre);
  text-wrap: balance; text-shadow: 0 2px 18px rgba(0,0,0,.45); letter-spacing: 0; text-align: left; }
/*  Deux feuilles des TABLES visent tout `h1` de la page : `theme-manoir.css`
    le peint en dégradé d'or découpé dans le texte (`background-clip:text`),
    `ludi-cadre.css` le ramène à 17 px `!important` sur téléphone — c'est le
    titre d'un plateau qu'elles habillent. `jeu.php` les charge toutes deux
    (la sous-page est « une pièce du manoir »). Le titre du bandeau reprend
    donc sa taille et sa couleur, au même degré d'insistance. */
body.velours .vl-bandeau h1 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.9rem) !important; margin: .2rem 0 .5rem !important;
  background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important;
  -webkit-text-fill-color: #fff !important; color: #fff !important; filter: none; }
.vl-bandeau h1 .vl-h1-sous { display: block; margin-top: .3rem; font-size: .5em; font-weight: 600; color: #DDD3EE; line-height: 1.3; }
.vl-bandeau .vl-chapo-texte { margin: 0 0 1rem; color: #DDD3EE; font-size: clamp(1rem, .96rem + .25vw, 1.12rem);
  line-height: 1.55; max-width: 640px; font-style: normal; }
.vl-pastilles { margin: 0 0 1.1rem; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; }
.vl-pastilles li, .vl-pastilles span { padding: .3rem .8rem; border-radius: 999px; font-size: .85rem; color: #EFE8F7;
  border: 1px solid rgba(255,255,255,.22); background: rgba(20,16,32,.5); }
.vl-actions { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin: 0; }
.vl-bandeau-scene { position: absolute; right: clamp(16px, 3vw, 32px); bottom: -34px; display: flex; align-items: flex-end;
  gap: 4px; pointer-events: none; }
.vl-bandeau-scene img { width: 132px; height: auto; filter: drop-shadow(0 14px 20px rgba(0,0,0,.55)); }
@media (max-width: 980px) { .vl-bandeau-scene { display: none; } }
@media (max-width: 700px) {
  .vl-bandeau { padding: 14px 0 18px; }
  .vl-bandeau .vl-ariane li:last-child { display: none; }
  .vl-bandeau .vl-chapo-texte { font-size: .98rem; margin-bottom: .8rem; }
  .vl-pastilles { margin-bottom: .9rem; }
  .vl-actions .vl-btn-or { flex: 1 1 auto; }
}

/* ── Le héros du hub ─────────────────────────────────────────────────────── */
.vl-hero { position: relative; isolation: isolate; overflow: hidden; color: #EFE8F7; background: #141020;
  min-height: clamp(300px, 42vh, 420px); display: flex; align-items: center; }
.vl-hero-fond { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover;
  object-position: center 40%; animation: vl-respire 26s ease-in-out infinite alternate; }
.vl-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: linear-gradient(90deg, rgba(20,16,32,.94) 0%, rgba(20,16,32,.70) 46%, rgba(20,16,32,.12) 80%),
              linear-gradient(0deg, #141020 0%, rgba(20,16,32,0) 30%); }
@keyframes vl-respire { from { transform: scale(1.02); } to { transform: scale(1.08) translateX(-18px); } }
.vl-hero .vl-in { width: 100%; }
.vl-hero-texte { position: relative; z-index: 3; max-width: 640px; display: flex; flex-direction: column; gap: .8rem;
  padding: clamp(1.4rem, 4vh, 2.6rem) 0 clamp(1.6rem, 4.5vh, 2.8rem); }
body.velours .vl-hero h1 { margin: 0; color: #fff; font: 800 clamp(1.8rem, 1.3rem + 1.9vw, 2.7rem)/1.06 var(--vl-titre);
  letter-spacing: 0; text-shadow: none; text-align: left; text-wrap: balance; }
body.velours .vl-hero h1 .h1-jeux { display: block; margin-top: .55rem; font: 600 clamp(.95rem, .9rem + .3vw, 1.1rem)/1.5 var(--vl-texte-f) !important;
  color: #DDD3EE; opacity: 1 !important; letter-spacing: 0 !important; }
.vl-hero-chapo { margin: 0; font-size: clamp(1.02rem, 1rem + .3vw, 1.18rem); line-height: 1.55; color: #DDD3EE; max-width: 560px; }
body.velours .vl-hero .chips { justify-content: flex-start; margin: 0; }
body.velours .vl-hero .chip { font-family: var(--vl-texte-f); font-size: .84rem; letter-spacing: 0; color: #EFE8F7;
  border-color: rgba(255,255,255,.22); background: rgba(20,16,32,.5); padding: .3rem .8rem; }
.vl-hero-scene { position: absolute; z-index: 2; bottom: 0; right: max(24px, calc((100% - 1248px) / 2)); width: 520px; height: 100%;
  pointer-events: none; }
.vl-hero-scene .charimg { position: absolute; bottom: 0; display: block; filter: drop-shadow(0 18px 24px rgba(0,0,0,.55));
  transform-origin: bottom center; animation: vl-souffle 4.2s ease-in-out infinite; }
.vl-hero-scene .charimg img { display: block; width: 100%; height: auto; }
.vl-hero-scene #charLeft { left: 40px; width: 230px; }
.vl-hero-scene #charRight { left: 280px; width: 210px; animation-duration: 3.6s; animation-delay: -1s; }
@keyframes vl-souffle { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(1.018) translateY(-2px); } }
/*  Les bulles du duo d'accueil (`duo_accueil('salon')`), posées au-dessus des
    personnages comme dans la maquette. La bulle de Skelet reste un LIEN quand
    le duo propose un jeu. */
body.velours .vl-hero .hub-duo { position: absolute; z-index: 3; top: 12%; right: max(24px, calc((100% - 1248px) / 2));
  width: 440px; max-width: none; margin: 0; display: grid; gap: 14px; pointer-events: auto; }
body.velours .vl-hero .hd { margin: 0; background: #FBF6EE; color: #231A36; border: 0; border-radius: 18px;
  padding: 12px 16px; font: 400 .95rem/1.4 var(--vl-texte-f); box-shadow: 0 10px 30px rgba(0,0,0,.35);
  max-width: 270px; animation: vl-apparait .8s ease-out both; }
body.velours .vl-hero .hd-o { justify-self: start; margin: 0; border-bottom-left-radius: 4px; }
body.velours .vl-hero .hd-s { justify-self: end; margin: 0; text-align: left; border-bottom-right-radius: 4px; animation-delay: 1.1s; }
body.velours .vl-hero .hd-s a { color: #231A36; font-weight: 700; text-decoration: underline; text-decoration-color: #c8942f; }
@keyframes vl-apparait { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@media (max-width: 1180px) { .vl-hero-scene { opacity: .4; } body.velours .vl-hero .hub-duo { display: none; } }
/*  Téléphone : le héros se raccourcit pour que le premier écran montre le
    titre, les deux boutons et le début du catalogue ; Oscar et Skelet passent
    en petit au bas du décor, leurs bulles sous le texte. */
@media (max-width: 800px) {
  .vl-hero { min-height: 0; }
  .vl-hero::before { background: linear-gradient(0deg, #141020 0%, rgba(20,16,32,.6) 45%, rgba(20,16,32,.85) 100%); }
  .vl-hero-texte { gap: .7rem; padding: 1.2rem 0 1.4rem; }
  body.velours .vl-hero h1 { font-size: 1.85rem; }
  body.velours .vl-hero h1 .h1-jeux { font-size: .9rem !important; }
  .vl-hero-chapo { font-size: .98rem; }
  body.velours .suiviBande { margin-top: 0; }
  .vl-hero-scene { display: none; }
  body.velours .vl-hero .hub-duo { display: none; }
  body.velours .vl-hero .chips { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .vl-hero-fond, .vl-hero-scene .charimg, body.velours .vl-hero .hd { animation: none; }
}

/* ── Les cartes à chapeau de décor ───────────────────────────────────────── */
.vl-grille3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.vl-grille-ailes { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: clamp(.9rem, 1.8vw, 1.3rem); }
.vl-carte { position: relative; display: flex; flex-direction: column; overflow: hidden; text-decoration: none;
  color: #EFE8F7 !important; border-radius: 22px; background: #231A36; border: 1px solid rgba(240,180,76,.16);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.vl-carte:hover { transform: translateY(-5px); box-shadow: 0 18px 38px rgba(0,0,0,.35); border-color: rgba(240,180,76,.55); }
.vl-chapo { position: relative; display: block; height: 130px; overflow: hidden; }
.vl-chapo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.vl-carte:hover .vl-chapo img { transform: scale(1.04); }
.vl-chapo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #231A36 0%, rgba(35,26,54,0) 70%); }
.vl-corps { display: flex; flex-direction: column; gap: .45rem; padding: .2rem 1.3rem 1.3rem; }
.vl-carte strong { font: 700 1.2rem/1.25 var(--vl-titre); color: #fff; }
.vl-carte .vl-muet { font-size: .95rem; line-height: 1.5; color: #B9AED0; }
.vl-etiquette { font-weight: 700; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: #F0B44C; }
.vl-compte-n { position: absolute; top: 12px; right: 12px; z-index: 2; min-width: 34px; height: 34px; padding: 0 10px;
  border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font: 700 .9rem/1 var(--vl-texte-f);
  background: rgba(20,16,32,.78); color: #FFD98F; box-shadow: 0 0 0 1.5px rgba(240,180,76,.6); }
.vl-ailes .vl-chapo { height: 120px; }
@media (max-width: 900px) { .vl-grille3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .vl-grille3 { grid-template-columns: 1fr; }
  /*  Les ailes au téléphone : deux par rangée, chapeau bas — c'est une porte,
      pas une affiche ; six ailes tiennent dans un écran. */
  .vl-grille-ailes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .vl-ailes .vl-chapo { height: 74px; }
  .vl-ailes .vl-corps { padding: .1rem .85rem .9rem; gap: .25rem; }
  .vl-ailes .vl-carte strong { font-size: 1rem; }
  .vl-ailes .vl-muet { display: none; }
  .vl-aile .vl-chapo { height: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  .vl-carte, .vl-chapo img { transition: none; }
  .vl-carte:hover, .vl-carte:hover .vl-chapo img { transform: none; }
}

/* ── Le pied ─────────────────────────────────────────────────────────────── */
.vl-pied { margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid rgba(240,180,76,.16); background: #110d1c;
  color: #B9AED0; font-family: var(--vl-texte-f); font-size: .92rem; }
.vl-pied-in { max-width: var(--vl-col); margin: 0 auto; padding: 36px clamp(16px, 3vw, 32px) 18px;
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px 32px; }
.vl-pied-marque strong { font: 700 1.15rem/1.2 var(--vl-titre); color: #fff; }
.vl-pied-marque p { margin: .5rem 0 0; line-height: 1.55; max-width: 32ch; }
.vl-pied-t { margin: 0 0 .5rem; color: #F0B44C; font-weight: 700; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; }
.vl-pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.vl-pied a { color: #DDD3EE !important; text-decoration: none; display: inline-block; padding: 5px 0; }
.vl-pied a:hover { color: #fff !important; text-decoration: underline; }
.vl-pied-bas { max-width: var(--vl-col); margin: 0 auto; padding: 12px clamp(16px, 3vw, 32px) 26px;
  border-top: 1px solid rgba(255,255,255,.06); font-size: .84rem; }
@media (max-width: 760px) {
  .vl-pied-in { grid-template-columns: 1fr 1fr; }
  .vl-pied-marque { grid-column: 1 / -1; }
}

/* ── Les sections de page ────────────────────────────────────────────────── */
.vl-bloc { margin: clamp(28px, 4vw, 48px) 0 0; }
.vl-bloc-tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.vl-bloc-tete h2 { margin: .35rem 0 0; font: 700 clamp(1.45rem, 1.15rem + 1.2vw, 2.1rem)/1.15 var(--vl-titre); color: #fff; }
.vl-bloc-tete p { margin: .35rem 0 0; color: #B9AED0; max-width: 64ch; }
.vl-surface { background: #231A36; border: 1px solid rgba(240,180,76,.16); border-radius: 22px; }

/* ═══ LE HUB ═══════════════════════════════════════════════════════════════ */
body.velours .wrap { max-width: var(--vl-col); padding: 0 clamp(16px, 3vw, 32px); }
/*  La bande de suivi et la reprise : une surface prune, l'or pour l'action. */
body.velours .suiviBande { margin: 22px 0 0; max-height: none; padding: 14px 18px; border-radius: 22px;
  background: linear-gradient(90deg, rgba(240,180,76,.10), #231A36 60%); border: 1px solid rgba(240,180,76,.22); }
body.velours .suiviBande.nue { justify-content: flex-start; background: #231A36; }
body.velours .suiviBande.nue .sb-actions { margin-left: 0; }
body.velours .sb-txt b { color: #fff; font-family: var(--vl-titre); }
body.velours .sb-num { background: #F0B44C; color: #1D1530; font-family: var(--vl-titre); }
body.velours .sb-reprendre { display: inline-flex; align-items: center; gap: .6rem; background: #F0B44C; color: #1D1530;
  padding: 6px 16px 6px 6px; min-height: 48px; box-sizing: border-box; font-size: .95rem; max-width: 22rem; border-radius: 999px; }
body.velours .sb-reprendre img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; }
body.velours .sb-reprendre:hover { background: #FFD98F; }
body.velours .sb-plus { color: #FFD98F; }
.vl-invite { margin: 0; color: #DDD3EE; font-size: .92rem; }
.vl-invite a { font-weight: 700; }
/*  Le filtre de recherche : un champ de la maquette (pilule, loupe). */
body.velours .filtre { justify-content: flex-start; margin: 0; }
body.velours .filtre input { width: min(460px, 100%); min-height: 48px; box-sizing: border-box; padding: 0 18px 0 44px;
  font: 400 1rem var(--vl-texte-f); color: #EFE8F7; border-radius: 999px; border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23B9AED0' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 16px 50% no-repeat; }
body.velours .filtre input::placeholder { color: #B9AED0; }
body.velours .filtre input:focus { outline: 2px solid #F0B44C; outline-offset: 1px; }
body.velours .vide { color: #B9AED0; font-style: normal; text-align: left; }
/*  Les intertitres de famille : un titre Fraunces à gauche, le compte en or. */
body.velours .section { margin: clamp(30px, 4vw, 46px) 0 10px; font: 700 clamp(1.35rem, 1.1rem + 1vw, 1.85rem)/1.2 var(--vl-titre);
  letter-spacing: 0; text-transform: none; color: #fff; gap: 12px; }
body.velours .section::before { display: none; }
body.velours .section::after { background: linear-gradient(90deg, rgba(240,180,76,.35), transparent); }
body.velours .section .compteur { font: 700 .75rem/1 var(--vl-texte-f); letter-spacing: .12em; text-transform: uppercase;
  color: #F0B44C; opacity: 1; order: 2; }
body.velours .fam-intro { margin: 0 0 18px; text-align: left; font: 400 .98rem/1.55 var(--vl-texte-f); font-style: normal;
  color: #B9AED0; max-width: 72ch; }
body.velours .fam-intro a { color: #FFD98F; }
/*  Les cartes de salon : la vignette en chapeau, fondue vers la carte. */
body.velours .games { gap: clamp(14px, 1.8vw, 22px); grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
body.velours .game { background: #231A36; color: #EFE8F7; border: 1px solid rgba(240,180,76,.16); border-radius: 22px;
  box-shadow: none; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
body.velours .game:hover, body.velours .game:focus-within { transform: translateY(-5px); border-color: rgba(240,180,76,.55);
  box-shadow: 0 18px 38px rgba(0,0,0,.35); }
body.velours .game .vign { border-bottom: 0; aspect-ratio: 261/200; -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 62%, transparent 100%); }
body.velours .corps { background: transparent; text-align: left; align-items: flex-start; padding: 2px 16px 16px; margin-top: -18px;
  position: static; }
body.velours .game h2 { font: 700 1.18rem/1.25 var(--vl-titre); color: #fff; text-shadow: none; }
body.velours .game .jeu-lien { color: #fff; text-decoration: none; }
body.velours .game p, body.velours .game .phrase { color: #DDD3EE; text-shadow: none; font-size: .9rem; line-height: 1.45; }
body.velours .meta { color: #B9AED0; font-family: var(--vl-texte-f); font-size: .8rem; }
body.velours .game .cta { display: inline-flex; align-self: stretch; justify-content: center; margin-top: auto; border: 0; min-height: 44px;
  align-items: center; box-sizing: border-box; padding: 0 16px; gap: .3em;
  background: #F0B44C; color: #1D1530; font: 700 .95rem/1.2 var(--vl-texte-f); border-radius: 999px; }
body.velours .game:hover .cta, body.velours .game:focus-within .cta { background: #FFD98F; filter: none; }
body.velours .game .cta small { color: #1D1530; }
body.velours .carte-liens { margin-top: 10px; font-size: .86rem; color: #B9AED0; }
body.velours .carte-liens a { color: #DDD3EE; }
body.velours .game .glyph { background: rgba(20,16,32,.78); border: 0; box-shadow: 0 0 0 1.5px rgba(240,180,76,.6); color: #FFD98F;
  border-radius: 999px; font-size: 18px; padding: 4px 10px; }
body.velours .tag.neuf { background: #5FC2A8; color: #0e2a23; }
@media (max-width: 640px) {
  body.velours .game .vign { -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 70%, transparent 100%); aspect-ratio: auto; }
  body.velours .corps { margin-top: 0; padding: 10px 12px 12px 4px; }
  body.velours .game h2 { font-size: 1.05rem; }
  body.velours .game .cta { min-height: 40px; font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) { body.velours .game, body.velours .game:hover { transition: none; transform: none; } }
/*  La FAQ, le pont vers l'école : surfaces prune, texte Public Sans. */
body.velours .faq { max-width: 860px; margin: clamp(40px, 5vw, 64px) 0 0; }
body.velours .faq h2 { text-align: left; color: #fff; font: 700 clamp(1.45rem, 1.15rem + 1.2vw, 2.1rem)/1.15 var(--vl-titre); letter-spacing: 0; }
body.velours .faq details { background: #231A36; border: 1px solid rgba(240,180,76,.16); border-radius: 16px; padding: 14px 18px; }
body.velours .faq details[open] { background: #2E2346; border-color: rgba(240,180,76,.35); }
body.velours .faq summary { color: #fff; font-family: var(--vl-texte-f); font-weight: 700; }
body.velours .faq p { color: #DDD3EE; font-size: .98rem; }
body.velours .lede { color: #B9AED0; text-align: left; font-size: .9rem; }
body.velours .ecole-pont { margin-top: clamp(36px, 5vw, 56px); padding: 22px clamp(18px, 3vw, 30px); border-radius: 22px;
  background: linear-gradient(135deg, #2E2346 0%, #231A36 100%); border: 1px solid rgba(240,180,76,.22); }
body.velours .ecole-pont .section { margin-top: 0; }
body.velours .ecole-pont p { text-align: left !important; margin-left: 0 !important; color: #DDD3EE; }
body.velours .ecole-pont a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px !important; margin: 4px 6px 4px 0;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.22); color: #EFE8F7; text-decoration: none; }
body.velours .ecole-pont a:hover { border-color: #F0B44C; }
/*  La fenêtre du compte. */
body.velours dialog.modale { background: #231A36; border: 1px solid rgba(240,180,76,.35); border-radius: 22px; color: #EFE8F7;
  font-family: var(--vl-texte-f); }
body.velours .modale h2 { font-family: var(--vl-titre); color: #fff; letter-spacing: 0; }

/* ═══ LA FICHE D'UN SALON (jeu.php) ════════════════════════════════════════ */
.vl-jeu-grille { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(1.2rem, 2.4vw, 2rem); align-items: start;
  margin-top: clamp(22px, 3vw, 34px); }
.vl-jeu-cote { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 84px; }
.vl-cote-carte { border-radius: 22px; background: #231A36; border: 1px solid rgba(240,180,76,.16); padding: 1.1rem 1.2rem; }
.vl-cote-carte p { margin: 0; }
.vl-cote-t { font: 700 1.08rem/1.25 var(--vl-titre); color: #fff; margin: 0 0 .6rem !important; }
.vl-cote-oscar { display: flex; gap: .9rem; align-items: flex-start; }
.vl-cote-oscar > img { flex: none; width: 70px; height: auto; margin-top: 4px; }
.vl-bref { margin: 0; padding: 0; list-style: none; display: grid; gap: .55rem; font-size: .93rem; line-height: 1.5; color: #DDD3EE; }
.vl-bref b { color: #FFD98F; font-weight: 700; }
.vl-cote-liens { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: .8rem; font-size: .92rem; }
.vl-cote-liens a { font-weight: 700; }
.vl-cote-note { margin-top: .5rem !important; font-size: .9rem; color: #B9AED0; }
@media (max-width: 1000px) {
  .vl-jeu-grille { grid-template-columns: minmax(0, 1fr); }
  .vl-jeu-cote { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
/*  Les cartes de variante : le chapeau est la vignette de la variante. Les
    règles d'origine sont écrites en ligne dans jeu.php ; on les repeint. */
body.velours .grille { max-width: none; margin: 0; gap: clamp(14px, 1.8vw, 20px); grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
body.velours .v { background: #231A36; border: 1px solid rgba(240,180,76,.16); border-radius: 22px; }
body.velours .v:hover { transform: translateY(-5px); border-color: rgba(240,180,76,.55); box-shadow: 0 18px 38px rgba(0,0,0,.35); }
body.velours .v img { aspect-ratio: 16/9; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 60%, transparent 100%); }
body.velours .v .in { padding: 0 1.2rem .4rem; margin-top: -14px; position: relative; }
body.velours .v h2 { font: 700 1.25rem/1.25 var(--vl-titre); color: #fff; }
body.velours .v .p { color: #EFE8F7; font-size: .97rem; }
body.velours .v .d { color: #DDD3EE; opacity: 1; font-family: var(--vl-texte-f); font-size: .9rem; }
body.velours .v .q { color: #B9AED0; opacity: 1; font-family: var(--vl-texte-f); font-size: .86rem; }
body.velours .v .q strong { color: #DDD3EE; }
body.velours .v .pied { padding: .8rem 1.2rem 1.2rem; }
body.velours .v .jouer { border-radius: 999px; min-height: 46px; font: 700 .97rem var(--vl-texte-f); color: #FFD98F;
  border: 1.5px solid rgba(240,180,76,.6); background: transparent; }
body.velours .v .jouer:hover, body.velours .v .jouer:focus-visible, body.velours .v:focus-within .jouer { color: #1D1530; background: #F0B44C; border-color: #F0B44C; }
body.velours .v .part { border-radius: 999px; min-width: 46px; min-height: 46px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.22); color: #EFE8F7; }
body.velours .v .ordre { color: #B9AED0; opacity: 1; font-family: var(--vl-texte-f); }
body.velours .pont { max-width: none; margin: clamp(26px, 3vw, 36px) 0 0; padding: 16px 20px; text-align: left; opacity: 1;
  font: 400 .93rem/1.6 var(--vl-texte-f); color: #DDD3EE; border: 1px solid rgba(240,180,76,.16); border-radius: 22px; background: #1b1529; }
body.velours .pont a { color: #FFD98F; }
.vl-aile { margin: clamp(32px, 4vw, 52px) 0 0; }

/* ═══ LES RÈGLES (regles.php) ══════════════════════════════════════════════ */
/*  La fiche de règles était sur PARCHEMIN crème (encre #2a2419) : lisible,
    mais une page blanche au milieu d'un site de nuit — l'œil y entrait comme
    dans une autre maison. Elle passe en surface prune, et les contrastes
    sont remesurés : texte #EFE8F7 sur #231A36 13,80:1 ; intertitres #FFD98F
    12,24:1 ; mots en gras #FFD98F ; liens #FFD98F soulignés. La mesure de ligne
    reste bornée (72 caractères) — c'est elle qui fait une page qui se lit. */
body.velours .regles { max-width: var(--vl-col); padding-bottom: 0; }
/*  `.wrap` (salon.css) pose sa propre gouttière ; dans la colonne Velours,
    qui a déjà la sienne, elle la doublait — le texte partait 32 px plus à
    droite que le titre du bandeau. */
body.velours .vl-in > .wrap { padding-left: 0; padding-right: 0; }
.vl-lecture { display: grid; grid-template-columns: minmax(0, 46rem) minmax(0, 1fr); gap: clamp(1.4rem, 3vw, 2.6rem); align-items: start;
  margin-top: clamp(20px, 3vw, 30px); }
.vl-lecture > .vl-jeu-cote { top: 84px; }
@media (max-width: 1000px) { .vl-lecture { grid-template-columns: minmax(0, 1fr); } .vl-lecture > .vl-jeu-cote { position: static; } }
body.velours .regles .texte { background: #231A36; color: #EFE8F7; border: 1px solid rgba(240,180,76,.16); border-radius: 22px;
  box-shadow: none; padding: clamp(20px, 3.4vw, 36px) clamp(18px, 3.6vw, 40px); font-family: var(--vl-texte-f); }
body.velours .regles .texte p, body.velours .regles .texte li { font-size: 1.04rem; line-height: 1.72; color: #EFE8F7; max-width: 72ch; }
body.velours .regles .texte h2 { font: 700 1.45rem/1.25 var(--vl-titre); color: #FFD98F; border-bottom: 1px solid rgba(240,180,76,.22);
  margin: 30px 0 10px; padding-bottom: 6px; letter-spacing: 0; }
body.velours .regles .texte h2:first-child { margin-top: 0; }
body.velours .regles .texte h3 { font: 700 1.12rem/1.3 var(--vl-titre); color: #fff; margin: 20px 0 6px; }
body.velours .regles .texte strong, body.velours .regles .texte b { color: #FFD98F; }
body.velours .regles .texte em { color: #fff; }
body.velours .regles .texte a { color: #FFD98F; text-decoration: underline; text-underline-offset: 3px; }
body.velours .regles .texte ul { padding-left: 1.3rem; }
body.velours .regles .texte li::marker { color: #F0B44C; }
body.velours .regles .texte blockquote { margin: 0 0 14px; padding: 10px 16px; border-left: 3px solid #F0B44C; background: rgba(255,255,255,.04);
  border-radius: 0 12px 12px 0; color: #DDD3EE; }
body.velours .regles .texte code { background: rgba(255,255,255,.08); color: #FFD98F; padding: 1px 6px; border-radius: 6px; }
body.velours .regles .texte table { border-collapse: collapse; width: 100%; margin: 0 0 14px; font-size: .97rem; }
body.velours .regles .texte th, body.velours .regles .texte td { border: 1px solid rgba(255,255,255,.12); padding: 6px 10px; text-align: left; color: #EFE8F7; }
body.velours .regles .texte th { background: rgba(240,180,76,.12); color: #FFD98F; }
body.velours .regles .tuto-lien { margin: 0; color: #DDD3EE; font-size: .95rem; font-family: var(--vl-texte-f); }
body.velours .regles .tuto-lien a { color: #FFD98F; }
body.velours .regles .lede, body.velours .regles .lede a { color: #B9AED0; }
body.velours .regles .lede a { color: #FFD98F; }
body.velours .regles .fiches { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
body.velours .regles .fiche { background: #231A36; border: 1px solid rgba(240,180,76,.16); border-radius: 18px; }
body.velours .regles .fiche:hover { border-color: rgba(240,180,76,.55); transform: translateY(-4px); }
body.velours .regles .fiche img { aspect-ratio: 16/10; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 60%, transparent 100%); }
body.velours .regles .fiche span { color: #fff; font: 700 1rem/1.3 var(--vl-titre); padding: 0 12px 12px; margin-top: -6px; }
body.velours .regles .chapeau a { color: #FFD98F; }
@media (max-width: 620px) { body.velours .regles .fiches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ═══ LES NIVEAUX (niveaux.php) ════════════════════════════════════════════ */
/*  Calée à gauche, sur la ligne du titre du bandeau : centrée, l'échelle
    flottait 140 px à droite de son propre titre. */
body.velours .niveaux { max-width: 900px; margin-left: 0; padding-top: clamp(18px, 3vw, 28px); }
body.velours .niveaux .appel { background: #231A36; border-color: rgba(240,180,76,.35); color: #DDD3EE; border-radius: 18px; }

/* ═══ LES PAGES LÉGALES ════════════════════════════════════════════════════ */
body.velours .vl-legal { max-width: var(--vl-col); margin: 0 auto; padding: 0 clamp(16px, 3vw, 32px); line-height: 1.7; }
body.velours .vl-legal > * { max-width: 820px; }
body.velours .vl-legal h2 { color: #FFD98F; font: 700 1.3rem/1.3 var(--vl-titre); margin: 1.6rem 0 .6rem; }
body.velours .vl-legal .card { background: #231A36; border: 1px solid rgba(240,180,76,.16); border-radius: 22px;
  padding: 6px clamp(18px, 3vw, 28px) 18px; margin: 18px 0; }
body.velours .vl-legal a { color: #FFD98F; }
body.velours .vl-legal .todo { color: #FFD98F; font-style: italic; }

/* ═══ TUTORIEL (tuto.php) ══════════════════════════════════════════════════ */
/*  `tuto.css` est déjà écrit sur six jetons voisins de Velours : on repeint
    les JETONS, pas les règles. Contrastes remesurés sur le panneau #231A36. */
body.velours { --tp-nuit: #141020; --tp-panneau: #231A36; --tp-lisere: rgba(240,180,76,.22);
  --tp-texte: #EFE8F7; --tp-doux: #B9AED0; --tp-or: #FFD98F; --tp-encre-or: #1D1530; }
html.vl-pur body.velours:not(.theme-manoir) { background: #141020; }
body.velours .tp { max-width: var(--vl-col); padding: 0 clamp(16px, 3vw, 32px); }
.vl-tuto-ariane { padding-top: 18px; }
body.velours .tp-chapeau { background: linear-gradient(135deg, #2E2346 0%, #231A36 100%); border-color: rgba(240,180,76,.22);
  border-radius: 22px; box-shadow: none; margin-top: 10px; }
body.velours .tp-chapeau h1 { font: 700 clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem)/1.15 var(--vl-titre) !important; letter-spacing: 0;
  background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important;
  -webkit-text-fill-color: #fff !important; color: #fff !important; filter: none; }
body.velours .tp-chapeau .tp-or { border-radius: 999px; background: #F0B44C; color: #1D1530; }
body.velours .tp-chapeau .tp-vide { border-radius: 999px; }
body.velours .tp-pied { color: #B9AED0; }
/*  Téléphone : la vignette du chapeau passait AU-DESSUS du texte, en pleine
    largeur — « Jouer » tombait sous le premier écran. Elle devient un
    bandeau de 120 px, recadré, et le bouton remonte. */
@media (max-width: 720px) {
  body.velours .tp-vignette { width: 100%; max-height: 120px; object-fit: cover; }
}

/* ═══ LES TOURNOIS (tournois.php) ══════════════════════════════════════════ */
/*  Les tables de tournoi sont fabriquées par `js/tournois.js` (servi minifié,
    non modifié) : on repeint ses classes. Le bleu nuit des poules devient la
    surface prune ; l'or reste l'or. */
body.velours > .wrap { max-width: var(--vl-col); padding: clamp(18px, 3vw, 28px) clamp(16px, 3vw, 32px) 0; }
body.velours .gameT { background: #231A36; border: 1px solid rgba(240,180,76,.22); border-radius: 22px; padding: 16px 20px; }
body.velours .gameT h2 { font: 700 1.3rem/1.25 var(--vl-titre); color: #fff; }
body.velours .pool { background: #1b1529; border: 1px solid rgba(255,255,255,.10); border-radius: 16px; }
body.velours .pool h3 { color: #FFD98F; font-family: var(--vl-titre); }
body.velours .pool .buy, body.velours .demoTag { color: #B9AED0; }
body.velours .pool ol { color: #DDD3EE; }
body.velours .pool .btn { border-radius: 999px; min-height: 44px; padding: 0 18px; font: 700 .92rem var(--vl-texte-f);
  background: #F0B44C; color: #1D1530; box-shadow: none; }
body.velours .pool .btn.done { background: #2E2346; color: #EFE8F7; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
body.velours .mine { color: #5FC2A8; }

/* ═══ LE DÉCOR DU SALON DÈS LE HAUT DE PAGE (05/10/2026) ═════════════════════
   Fabrice : « ne mets pas Velours par défaut, laisse respirer les thèmes du
   salon dès le haut de page ». Sans `vl-pur` (le défaut désormais), le héros
   du hub et les bandeaux des sous-pages deviennent transparents : la scène du
   décor (#ludiScene, fixe derrière la page) se voit dès l'en-tête. Le voile ne
   reste dense que sous la colonne de texte : pire cas calculé, texte #EFE8F7
   sur un décor blanc, il faut ≥ 0,70 de voile pour 4,5:1 — d'où 0,88 → 0,76
   jusqu'à 52 %, puis l'effacement à droite, là où il n'y a plus de texte. */
html:not(.vl-pur) .vl-entete { background: rgba(20,16,32,.66); }
html:not(.vl-pur) .vl-hero, html:not(.vl-pur) .vl-bandeau { background: transparent; }
html:not(.vl-pur) .vl-hero-fond, html:not(.vl-pur) .vl-bandeau-fond { display: none; }
html:not(.vl-pur) .vl-hero::before, html:not(.vl-pur) .vl-bandeau::before {
  background: linear-gradient(90deg, rgba(20,16,32,.88) 0%, rgba(20,16,32,.76) 52%, rgba(20,16,32,.3) 72%, rgba(20,16,32,0) 90%); }
html:not(.vl-pur) .vl-hero h1, html:not(.vl-pur) .vl-hero-chapo, html:not(.vl-pur) .vl-bandeau h1 { text-shadow: 0 2px 14px rgba(0,0,0,.5); }
/*  Téléphone : le texte occupe toute la largeur, le voile est donc uniforme. */
@media (max-width: 800px) {
  html:not(.vl-pur) .vl-hero::before, html:not(.vl-pur) .vl-bandeau::before {
    background: linear-gradient(0deg, rgba(20,16,32,.86) 0%, rgba(20,16,32,.74) 100%); }
}
/* ═══ UN BANDEAU SANS VOILE, CALÉ SUR LA COLONNE DU CORPS (05/10/2026) ════════
   Fabrice, en deux temps : « baisser encore la taille du header, ne pas mettre
   de fond semi-transparent derrière, le rendre plus joli, plus graphique »,
   puis, devant la version pleine largeur à deux colonnes : « pas joli,
   recentre-le sur la largeur du corps, augmente un peu la hauteur en mettant
   les boutons sous le descriptif ».
   Le décor n'est plus voilé : la lisibilité vient d'une ombre portée en trois
   couches sur les lettres (contour sombre serré, halo large, lueur d'or pour
   le titre). Le texte reprend la colonne du `.vl-in` d'origine — la même que
   les blocs de la page, 1 248 px — et se lit de haut en bas : accroche, titre,
   descriptif, pastilles, boutons. Le chapô du hub et le duo restent dans la
   page (le descriptif est déjà dans le titre, le duo plus bas). */
html:not(.vl-pur) .vl-hero::before, html:not(.vl-pur) .vl-bandeau::before { background: none; }
.vl-hero { min-height: 0; }
.vl-hero-texte { max-width: none; padding: clamp(18px, 3vh, 30px) 0 clamp(22px, 3.4vh, 34px); }
.vl-hero-texte > .vl-sur { display: flex; align-items: center; gap: 10px; }
.vl-hero-texte > .vl-sur::before, .vl-bandeau .vl-ariane ol::before { content: ""; width: 34px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(240,180,76,0), #F0B44C); }
.vl-hero-texte > .vl-hero-chapo { display: none; }
.vl-hero-texte > .chips { margin-top: .55rem !important; }
.vl-hero-texte > .vl-actions { margin-top: 1.1rem; }
body.velours .vl-hero h1 { font: 800 clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem)/1.08 var(--vl-titre); letter-spacing: .015em;
  text-shadow: 0 1px 2px rgba(10,6,20,.9), 0 2px 18px rgba(10,6,20,.75), 0 0 34px rgba(240,180,76,.28); }
body.velours .vl-hero h1 .h1-jeux { margin-top: .45rem; font-size: .95rem !important; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; text-shadow: 0 1px 2px rgba(10,6,20,.95), 0 0 14px rgba(10,6,20,.8); }
.vl-hero .vl-sur, .vl-bandeau .vl-sur { text-shadow: 0 1px 2px rgba(10,6,20,.95), 0 0 12px rgba(10,6,20,.8); }
body.velours .vl-hero .chip { font-size: .78rem; padding: .22rem .7rem; background: rgba(20,16,32,.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.vl-hero-scene, body.velours .vl-hero .hub-duo, .vl-bandeau-scene { display: none; }
.vl-hero .vl-btn-or, .vl-bandeau .vl-btn-or { box-shadow: 0 6px 22px rgba(240,180,76,.35), 0 2px 6px rgba(0,0,0,.35); }
.vl-hero .vl-btn-verre, .vl-bandeau .vl-btn-verre { background: rgba(20,16,32,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
/*  Les bandeaux des sous-pages (règles, fiche de jeu, niveaux, tournois, pages
    légales) : même colonne, même ordre, titre ramené d'un cran, chapô tenu à
    deux lignes. 401 px sur les règles de la belote avant ce passage. */
.vl-bandeau { padding: clamp(14px, 2.4vh, 22px) 0 clamp(20px, 3vh, 30px); }
.vl-bandeau .vl-ariane ol { align-items: center; margin-bottom: .45rem; font-size: .84rem; }
.vl-bandeau .vl-ariane ol::before { margin-right: 10px; }
.vl-bandeau-texte { max-width: 900px; }
body.velours .vl-bandeau h1 { font-weight: 800 !important; font-size: clamp(1.6rem, 1.15rem + 1.5vw, 2.4rem) !important;
  margin: 0 0 .45rem !important; letter-spacing: .01em; }
html:not(.vl-pur) .vl-bandeau h1 { text-shadow: 0 1px 2px rgba(10,6,20,.9), 0 2px 18px rgba(10,6,20,.75), 0 0 34px rgba(240,180,76,.25); }
.vl-bandeau .vl-chapo-texte { max-width: 72ch; margin: 0 0 .7rem; font-size: 1rem; line-height: 1.5;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
html:not(.vl-pur) .vl-bandeau .vl-chapo-texte, html:not(.vl-pur) .vl-bandeau .vl-ariane { text-shadow: 0 1px 2px rgba(10,6,20,.95), 0 0 14px rgba(10,6,20,.85); }
.vl-bandeau .vl-pastilles { margin: 0 0 1rem; }
.vl-bandeau .vl-pastilles li, .vl-bandeau .vl-pastilles span { font-size: .78rem; padding: .22rem .7rem;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
html:not(.vl-pur) .vl-bandeau .vl-pastilles li, html:not(.vl-pur) .vl-bandeau .vl-pastilles span { background: rgba(20,16,32,.55); }
@media (max-width: 800px) {
  html:not(.vl-pur) .vl-hero::before, html:not(.vl-pur) .vl-bandeau::before { background: none; }
  body.velours .vl-hero h1 { font-size: 1.5rem; }
  body.velours .vl-hero .chips { display: none; }
  body.velours .vl-bandeau h1 { font-size: 1.45rem !important; }
  .vl-bandeau .vl-chapo-texte { font-size: .94rem; }
}
