/* ==========================================================================
   SUPERVANDAL — design system partagé  (/css/site.css)

   Direction (refonte du 2026-10-05) : « NUIT FORAINE ».
   La fête foraine, la salle de cinéma et la borne d'arcade ont la même
   lumière : des ampoules sur la nuit. Clem vient de la mise en scène
   (cinématiques), il fabrique des jeux de fête foraine (Bullet Smash,
   Banana Games) sur un moteur qu'il écrit lui-même. D'où :
     - une nuit chaude (noir brun, jamais bleu) et du papier crème pour
       ce qui se lit comme un document (Clem, le portfolio, les pages légales) ;
     - trois voix typographiques, les trois facettes de Clem :
         Fraunces (serif douce, faite main)  -> l'artiste : titres, italiques de la voix ;
         Archivo (grotesque nette)           -> la clarté : texte, interface ;
         IBM Plex Mono (code)                -> le développeur : étiquettes, chiffres ;
     - des motifs tirés du métier : rangées d'ampoules, tickets perforés,
       cadres de visée (le réalisateur), carton de générique, polaroïd annoté ;
     - les vraies images seulement : captures en jeu, portrait, éditeur.
   ==========================================================================

   CONTRAT PARTAGÉ (API figée le 2026-10-03, ne pas renommer ces classes ni
   ces variables ; on peut AJOUTER, jamais retirer ni changer le sens).
   Propriétaire : partie publique. Les pages /account/ et /admin/ ajoutent
   leurs styles spécifiques dans /css/app.css, chargé APRÈS celui-ci.

   Squelette de page attendu :

     <!doctype html>
     <html lang="fr" data-lang="fr">
     <head>
       <meta charset="utf-8">
       <meta name="viewport" content="width=device-width, initial-scale=1">
       <title>…</title>
       <link rel="icon" type="image/png" href="/assets/favicon-64.png">
       <link rel="preconnect" href="https://fonts.googleapis.com">
       <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
       <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@100..125,400..900&family=Fraunces:ital,opsz,wght@0,9..144,400..800;1,9..144,400..700&family=IBM+Plex+Mono:wght@400;600&display=swap">
       <link rel="stylesheet" href="/css/site.css">
       <!-- (recommandé) même choix de langue que nav.js, avant le rendu, sans flash : -->
       <script>(function(){var l;try{l=localStorage.getItem('sv-lang')}catch(e){}if(l!=='fr'&&l!=='en'){l=((navigator.languages&&navigator.languages[0])||navigator.language||'fr').toLowerCase().indexOf('fr')===0?'fr':'en'}var h=document.documentElement;h.setAttribute('data-lang',l);h.lang=l})();</script>
       <script type="module" src="/js/nav.js"></script>
     </head>
     <body>
       <header data-sv-nav></header>
       <main id="main" class="sv-main"> <div class="sv-container"> … </div> </main>
       <footer data-sv-footer></footer>
     </body>
     </html>
   (Sans la feuille Google Fonts, les polices système prennent le relais.)

   Variables (préfixe --sv-) :
     couleurs   --sv-bg --sv-surface --sv-surface-2 --sv-border --sv-border-strong
                --sv-text --sv-text-dim --sv-accent --sv-accent-ink (texte sur accent)
                --sv-ok --sv-warn --sv-danger --sv-info
                (+ 2026-10-03) --sv-text-faint --sv-line (traits fins) --sv-bs --sv-rf --sv-pb --sv-nrs
                (couleur signature de chaque jeu)
                (+ 2026-10-04) graphiques : --sv-chart-bs --sv-chart-rf --sv-chart-pb --sv-chart-nrs (série
                de chaque jeu, ordre validé daltonisme sur fond sombre) --sv-chart-u1 --sv-chart-u2 --sv-chart-u3
                (blocs publicitaires) ; pièces du « casino » admin : --sv-coin --sv-coin-light --sv-coin-dark
                (aussi, depuis le 2026-10-05, la pièce du compte : .sv-coin, bonus du jour)
                (+ 2026-10-05) papier : --sv-paper --sv-paper-2 --sv-ink --sv-ink-dim --sv-red ;
                ampoules : --sv-bulb ; Banana Games : --sv-bg-night
     typo       --sv-font --sv-fs-xs --sv-fs-sm --sv-fs-md --sv-fs-lg --sv-fs-xl --sv-fs-2xl
                (+) --sv-font-display (titres : Fraunces depuis le 2026-10-05) --sv-font-mono --sv-fs-3xl --sv-fs-mega
     espaces    --sv-s1 (4px) --sv-s2 (8) --sv-s3 (12) --sv-s4 (16) --sv-s5 (24) --sv-s6 (32) --sv-s7 (48) --sv-s8 (64)
                (+) --sv-s9 (96) --sv-gutter (marge latérale fluide) --sv-section (respiration verticale)
     divers     --sv-radius --sv-maxw --sv-focus
                (+) --sv-radius-sm --sv-radius-lg --sv-radius-xl --sv-shadow-1 --sv-shadow-2 --sv-shadow-3
                --sv-ease --sv-header-h

   Layout      .sv-main  .sv-container  .sv-container--narrow  .sv-section
               .sv-stack (pile verticale)  .sv-row (ligne flex qui passe à la ligne)
               .sv-grid (grille auto-fit, cartes)  .sv-grid--2  .sv-grid--4
   Texte       .sv-kicker (petit titre mono accent)  .sv-lead  .sv-muted
               .sv-small  .sv-mono-num  .sv-prose (texte long : listes, liens soulignés)
               (+) .sv-mono  .sv-display
   Boutons     .sv-btn  + .sv-btn--primary | --ghost | --danger | --small | --block
               (sur <button> ou <a>; [disabled] / [aria-disabled="true"] gérés)
               (+) .sv-btn__arrow (flèche animée au survol)
   Cartes      .sv-card  .sv-card__media  .sv-card__body  .sv-card__title
               .sv-card__meta  .sv-card--link (carte cliquable entière)
   Tableaux    <div class="sv-table-wrap"><table class="sv-table">…</table></div>
               .sv-table--compact ; td.sv-num (aligné à droite)
   Badges      .sv-badge + --accent | --ok | --warn | --danger | --info
   Alertes     .sv-alert + --info | --ok | --warn | --danger
   Formulaires .sv-field > label + .sv-input (input/select/textarea) + .sv-help / .sv-error
               .sv-check (case + label en ligne)
   Données     .sv-stat (> .sv-stat__value + .sv-stat__label)  .sv-kv (<dl> clé/valeur)
               .sv-avatar (img ronde 48px, --lg 96px)  .sv-empty (état vide)
               .sv-spinner (indicateur de chargement)  .sv-live (pastille « en direct »)
   Jeux (+)    .sv-play-badge (badge officiel Google Play)  .sv-play-soon (pastille « bientôt »)
               rendus par /js/games.js
   Divers      .sv-visually-hidden  .sv-skip-link  .sv-todo (repère [À COMPLÉTER])
               [hidden] est toujours respecté.
   Header / footer : .sv-header … .sv-menu … .sv-footer … sont générés par /js/nav.js.

   (+ 2026-10-05) Motifs de la nuit foraine, réutilisables partout :
               .sv-paper (section ou bloc « papier » : remappe les couleurs, tout composant
               dedans reste lisible)  .sv-bulbs (rangée d'ampoules décorative, aria-hidden)
               .sv-marquee (cadre d'ampoules autour d'un panneau .sv-marquee__panel)
               .sv-ticket (ticket perforé : .sv-ticket__main + .sv-ticket__stub)
               .sv-note (annotation manuscrite, Fraunces italique)  .sv-frame (cadre de visée)
               .sv-polaroid (> img + figcaption)  .sv-video (vignette locale cliquable -> YouTube,
               rendue par /js/site.js)  .sv-coin (la pièce, monnaie unique du compte, SVG inline
               rendu par /js/daily.js coinIcon)  .sv-wheelglyph (petite Super Roue)
               .sv-nudge (rappel du bonus du jour en haut de page)  .sv-burst (pièces qui filent)

   Langue (voir /js/nav.js) : <html data-lang="fr|en">.
     .lang-fr / .lang-en : blocs masqués selon la langue (FR par défaut si
     data-lang absent). [data-i18n-fr]/[data-i18n-en] : texte remplacé par nav.js.
   ========================================================================== */

:root {
    color-scheme: dark;

    /* Nuit chaude, papier crème, ampoules jaunes */
    --sv-bg: #110e0c;
    --sv-surface: #1a1613;
    --sv-surface-2: #241f1b;
    --sv-border: #352e28;
    --sv-border-strong: #534940;
    --sv-line: rgba(255, 238, 214, 0.07);
    --sv-text: #f7f0e3;
    --sv-text-dim: #c2b6a4;          /* 9.6:1 sur --sv-bg, 8.2:1 sur --sv-surface-2 */
    --sv-text-faint: #9a8f80;        /* 6.1:1 sur --sv-bg, 5.1:1 sur --sv-surface-2 : légendes */
    --sv-accent: #ffd43b;            /* jaune Supervandal, couleur des ampoules */
    --sv-accent-rgb: 255, 212, 59;
    --sv-accent-ink: #1b1306;        /* texte posé sur fond accent (12.9:1) */
    --sv-ok: #55d98d;
    --sv-warn: #ffab4c;
    --sv-danger: #ff6d66;
    --sv-info: #74b9ff;

    /* Papier (documents, Clem, portfolio) */
    --sv-paper: #f3ead9;
    --sv-paper-2: #e8dcc5;
    --sv-ink: #1d1712;               /* 14.9:1 sur --sv-paper */
    --sv-ink-dim: #5c5045;           /* 6.5:1 sur --sv-paper */
    --sv-red: #b42d1c;               /* rouge forain : 5.3:1 sur --sv-paper */
    --sv-bulb: #ffe9a6;
    --sv-bg-night: #1a0f33;          /* nuit violette de Banana Games */

    /* Couleur signature de chaque jeu (tirée de ses visuels) */
    --sv-bs: #e8412f;
    --sv-rf: #a35cff;
    --sv-pb: #e6c46c;
    --sv-nrs: #95e06a;

    /* Séries de graphiques : teintes des jeux ajustées pour rester distinctes
       (daltonisme, ΔE OKLab ≥ 8 entre voisins, contraste ≥ 4.5:1 sur --sv-surface).
       Ordre d'empilement : Bullet Smash, Rocket Flow, Flipbreak, Not Rocket Science. */
    --sv-chart-bs: #e8412f;
    --sv-chart-rf: #9085e9;
    --sv-chart-pb: #c98500;
    --sv-chart-nrs: #199e70;
    --sv-chart-u1: #3987e5;          /* bloc « continue » */
    --sv-chart-u2: #d95926;          /* bloc « double » */
    --sv-chart-u3: #199e70;          /* bloc « extraLife » */
    --sv-coin: #ffd43b;
    --sv-coin-light: #fff3b0;
    --sv-coin-dark: #a8790a;

    /* Typographie : l'artiste, la clarté, le code */
    --sv-font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --sv-font-display: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, 'Times New Roman', serif;
    --sv-font-mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', 'SFMono-Regular', Consolas, monospace;
    --sv-fs-xs: 0.75rem;
    --sv-fs-sm: 0.875rem;
    --sv-fs-md: 1rem;
    --sv-fs-lg: 1.1875rem;
    --sv-fs-xl: clamp(1.5rem, 1.2rem + 1.3vw, 2.125rem);
    --sv-fs-2xl: clamp(2.1rem, 1.3rem + 3.4vw, 3.9rem);
    --sv-fs-3xl: clamp(2.35rem, 1.2rem + 4.9vw, 4.75rem);
    --sv-fs-mega: clamp(2.9rem, 0.8rem + 9vw, 8.5rem);

    /* Espacements */
    --sv-s1: 4px;
    --sv-s2: 8px;
    --sv-s3: 12px;
    --sv-s4: 16px;
    --sv-s5: 24px;
    --sv-s6: 32px;
    --sv-s7: 48px;
    --sv-s8: 64px;
    --sv-s9: 96px;
    --sv-gutter: clamp(16px, 4.5vw, 48px);
    --sv-section: clamp(72px, 9vw, 144px);

    /* Divers */
    --sv-radius: 10px;
    --sv-radius-sm: 6px;
    --sv-radius-lg: 16px;
    --sv-radius-xl: 24px;
    --sv-maxw: 1280px;
    --sv-header-h: 64px;
    --sv-focus: 0 0 0 2px var(--sv-bg), 0 0 0 4px var(--sv-accent);
    --sv-shadow-1: 0 1px 0 rgba(255, 240, 220, 0.04) inset, 0 1px 2px rgba(0, 0, 0, 0.4);
    --sv-shadow-2: 0 18px 40px -18px rgba(0, 0, 0, 0.75);
    --sv-shadow-3: 0 40px 90px -30px rgba(0, 0, 0, 0.85);
    --sv-ease: cubic-bezier(0.2, 0.8, 0.2, 1);

    /* Grain (papier, pellicule) : bruit SVG, aucun fichier */
    --sv-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--sv-header-h) + 16px); }
body {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: var(--sv-bg);
    color: var(--sv-text);
    font-family: var(--sv-font);
    font-size: var(--sv-fs-md);
    font-weight: 400;
    line-height: 1.6;
    overflow-wrap: break-word;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, picture, svg, video, canvas { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }

h1, h2, h3, h4 { line-height: 1.12; font-weight: 700; text-wrap: balance; letter-spacing: -0.01em; }
h1, h2 { font-family: var(--sv-font-display); font-weight: 600; font-optical-sizing: auto; letter-spacing: -0.018em; line-height: 1.04; }
h1 { font-size: var(--sv-fs-2xl); }
h2 { font-size: var(--sv-fs-xl); }
h3 { font-size: var(--sv-fs-lg); }
h4 { font-size: var(--sv-fs-md); }
h1 em, h2 em { font-style: italic; font-weight: 500; }
p, li { text-wrap: pretty; }
strong, b { font-weight: 700; color: var(--sv-text); }
code, kbd, pre { font-family: var(--sv-font-mono); font-size: 0.9em; }
code { background: var(--sv-surface-2); padding: 0.05em 0.35em; border-radius: 4px; }
sup { font-size: 0.62em; line-height: 0; vertical-align: 0.5em; }
hr { border: 0; border-top: 1px solid var(--sv-border); margin: var(--sv-s6) 0; }

a { color: var(--sv-accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 2px solid var(--sv-accent); outline-offset: 3px; border-radius: 4px; }

::selection { background: var(--sv-accent); color: var(--sv-accent-ink); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
    html { scroll-behavior: auto; }
}

/* --- Langue --------------------------------------------------------------- */
html:not([data-lang="en"]) .lang-en { display: none !important; }
html[data-lang="en"] .lang-fr { display: none !important; }

/* --- Utilitaires ---------------------------------------------------------- */
.sv-visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sv-skip-link {
    position: fixed; left: var(--sv-s3); top: -100px; z-index: 1000;
    background: var(--sv-accent); color: var(--sv-accent-ink); padding: var(--sv-s2) var(--sv-s4);
    font-weight: 700; text-decoration: none; border-radius: var(--sv-radius-sm);
}
.sv-skip-link:focus { top: var(--sv-s3); }
.sv-muted { color: var(--sv-text-dim); }
.sv-small { font-size: var(--sv-fs-sm); }
.sv-mono { font-family: var(--sv-font-mono); }
.sv-mono-num { font-variant-numeric: tabular-nums; }
.sv-display { font-family: var(--sv-font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 0.98; }
.sv-todo {
    background: var(--sv-warn); color: #111; font-weight: 700;
    padding: 0 0.35em; border-radius: 3px; white-space: nowrap;
}

/* --- Layout --------------------------------------------------------------- */
.sv-main { flex: 1 0 auto; width: 100%; padding-block: var(--sv-s7) var(--sv-s8); }
.sv-container { width: 100%; max-width: var(--sv-maxw); margin-inline: auto; padding-inline: var(--sv-gutter); }
.sv-container--narrow { max-width: 860px; }

.sv-section { padding-block: var(--sv-s7); }
.sv-section + .sv-section { border-top: 1px solid var(--sv-border); }
.sv-section > h2, .sv-section__title { margin-bottom: var(--sv-s5); }

.sv-stack > * + * { margin-top: var(--sv-s4); }
.sv-row { display: flex; flex-wrap: wrap; gap: var(--sv-s3); align-items: center; }

.sv-grid { display: grid; gap: var(--sv-s5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.sv-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.sv-grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); gap: var(--sv-s4); }

/* --- Texte ---------------------------------------------------------------- */
.sv-kicker {
    display: flex; align-items: center; gap: 0.6em;
    color: var(--sv-accent); font-family: var(--sv-font-mono); font-size: var(--sv-fs-xs); font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: var(--sv-s3);
}
.sv-kicker::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px 1px rgba(var(--sv-accent-rgb), 0.55); }
.sv-kicker a { color: inherit; }
.sv-lead { font-size: var(--sv-fs-lg); line-height: 1.55; color: var(--sv-text-dim); max-width: 62ch; }

.sv-prose { max-width: 68ch; }
.sv-prose > * + * { margin-top: var(--sv-s4); }
.sv-prose h2 { margin-top: var(--sv-s7); font-size: var(--sv-fs-xl); color: var(--sv-text); }
.sv-prose h3 { margin-top: var(--sv-s6); font-family: var(--sv-font-display); font-size: var(--sv-fs-lg); font-weight: 600; font-style: italic; color: var(--sv-accent); }
.sv-prose ul, .sv-prose ol { padding-left: 1.3em; }
.sv-prose li + li { margin-top: var(--sv-s2); }
.sv-prose li::marker { color: var(--sv-accent); }
.sv-prose a { word-break: break-word; }
.sv-prose p, .sv-prose li { color: color-mix(in srgb, var(--sv-text) 88%, var(--sv-text-dim)); }

/* --- Boutons -------------------------------------------------------------- */
.sv-btn {
    --btn-bg: var(--sv-surface-2); --btn-fg: var(--sv-text); --btn-bd: var(--sv-border-strong); --btn-shadow: rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
    min-height: 48px; padding: 0.7em 1.35em;
    border: 1px solid var(--btn-bd); border-radius: 999px;
    background: var(--btn-bg); color: var(--btn-fg);
    font-family: var(--sv-font); font-weight: 700; font-size: var(--sv-fs-md); font-stretch: 100%; letter-spacing: 0;
    text-decoration: none; line-height: 1.15; text-align: center;
    box-shadow: 0 3px 0 var(--btn-shadow);
    transition: transform 0.18s var(--sv-ease), box-shadow 0.18s var(--sv-ease), background-color 0.18s, border-color 0.18s, color 0.18s;
    -webkit-tap-highlight-color: transparent;
}
.sv-btn:hover { --btn-bd: var(--sv-text-dim); transform: translateY(-1px); box-shadow: 0 4px 0 var(--btn-shadow); text-decoration: none; }
.sv-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--btn-shadow); }
.sv-btn--primary { --btn-bg: var(--sv-accent); --btn-fg: var(--sv-accent-ink); --btn-bd: var(--sv-accent); --btn-shadow: #9c7c0b; }
.sv-btn--primary:hover { --btn-bg: #ffe073; --btn-bd: #ffe073; }
.sv-btn--ghost { --btn-bg: transparent; --btn-shadow: transparent; }
.sv-btn--ghost:hover { --btn-bg: rgba(255, 240, 220, 0.06); }
.sv-btn--danger { --btn-bg: transparent; --btn-fg: var(--sv-danger); --btn-bd: var(--sv-danger); --btn-shadow: transparent; }
.sv-btn--danger:hover { --btn-bg: var(--sv-danger); --btn-fg: #160606; --btn-bd: var(--sv-danger); }
.sv-btn--small { min-height: 36px; padding: 0.35em 0.95em; font-size: var(--sv-fs-sm); box-shadow: none; }
.sv-btn--small:hover, .sv-btn--small:active { box-shadow: none; }
.sv-btn--block { display: flex; width: 100%; }
.sv-btn[disabled], .sv-btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; pointer-events: none; box-shadow: none; }
.sv-btn__arrow { display: inline-block; transition: transform 0.25s var(--sv-ease); }
.sv-btn:hover .sv-btn__arrow, a:hover > .sv-btn__arrow { transform: translateX(4px); }

/* lien texte avec flèche */
.sv-link { display: inline-flex; align-items: center; gap: 0.45em; font-weight: 700; color: var(--sv-text); text-decoration: none; border-bottom: 1px solid var(--sv-border-strong); padding-bottom: 2px; transition: border-color 0.2s, color 0.2s; }
.sv-link:hover { color: var(--sv-accent); border-color: currentColor; }
.sv-link:hover .sv-btn__arrow { transform: translateX(4px); }

/* --- Cartes --------------------------------------------------------------- */
.sv-card {
    position: relative; display: flex; flex-direction: column;
    background: var(--sv-surface); border: 1px solid var(--sv-border); border-radius: var(--sv-radius-lg);
    overflow: hidden; box-shadow: var(--sv-shadow-1);
}
.sv-card__media { aspect-ratio: 1024 / 500; background: var(--sv-surface-2); overflow: hidden; }
.sv-card__media img { width: 100%; height: 100%; object-fit: cover; }
.sv-card__body { display: flex; flex-direction: column; gap: var(--sv-s3); padding: var(--sv-s5); flex: 1; }
.sv-card__title { font-size: var(--sv-fs-lg); font-weight: 700; }
.sv-card__meta { display: flex; flex-wrap: wrap; gap: var(--sv-s2); align-items: center; margin-top: auto; }
.sv-card--link { transition: border-color 0.2s, transform 0.25s var(--sv-ease), box-shadow 0.25s; }
.sv-card--link:hover { border-color: var(--sv-border-strong); transform: translateY(-3px); box-shadow: var(--sv-shadow-2); }
.sv-card--link a.sv-card__cover::after { content: ''; position: absolute; inset: 0; }
.sv-card--link a.sv-card__cover { color: inherit; text-decoration: none; }
.sv-card--link:focus-within { box-shadow: var(--sv-focus); }
.sv-card--link a.sv-card__cover:focus-visible { outline: none; }

/* --- Tableaux ------------------------------------------------------------- */
.sv-table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--sv-border); border-radius: var(--sv-radius); background: var(--sv-surface); }
.sv-table { width: 100%; font-size: var(--sv-fs-sm); }
.sv-table th, .sv-table td { padding: var(--sv-s2) var(--sv-s3); text-align: left; border-bottom: 1px solid var(--sv-border); vertical-align: top; }
.sv-table th { background: var(--sv-surface-2); color: var(--sv-text-dim); font-family: var(--sv-font-mono); font-weight: 600; text-transform: uppercase; font-size: 0.6875rem; letter-spacing: 0.08em; white-space: nowrap; }
.sv-table tbody tr { transition: background-color 0.15s; }
.sv-table tbody tr:hover { background: rgba(var(--sv-accent-rgb), 0.05); }
.sv-table tbody tr:last-child td { border-bottom: 0; }
.sv-table td.sv-num, .sv-table th.sv-num { text-align: right; font-variant-numeric: tabular-nums; }
.sv-table--compact th, .sv-table--compact td { padding: var(--sv-s1) var(--sv-s2); }

/* --- Badges --------------------------------------------------------------- */
.sv-badge {
    display: inline-flex; align-items: center; gap: 0.4em; padding: 0.2em 0.65em;
    border: 1px solid currentColor; border-radius: 999px;
    font-family: var(--sv-font-mono); font-size: 0.6875rem; font-weight: 600; line-height: 1.4;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--sv-text-dim); white-space: nowrap;
}
.sv-badge--accent { color: var(--sv-accent); }
.sv-badge--ok { color: var(--sv-ok); }
.sv-badge--warn { color: var(--sv-warn); }
.sv-badge--danger { color: var(--sv-danger); }
.sv-badge--info { color: var(--sv-info); }

/* --- Alertes -------------------------------------------------------------- */
.sv-alert {
    padding: var(--sv-s4); border: 1px solid var(--sv-border); border-left: 3px solid var(--sv-text-dim);
    background: var(--sv-surface); border-radius: var(--sv-radius);
}
.sv-alert > * + * { margin-top: var(--sv-s2); }
.sv-alert--info { border-left-color: var(--sv-info); }
.sv-alert--ok { border-left-color: var(--sv-ok); }
.sv-alert--warn { border-left-color: var(--sv-warn); }
.sv-alert--danger { border-left-color: var(--sv-danger); }

/* --- Formulaires ---------------------------------------------------------- */
.sv-field { display: flex; flex-direction: column; gap: var(--sv-s1); }
.sv-field > label { font-size: var(--sv-fs-sm); font-weight: 600; }
.sv-input {
    width: 100%; min-height: 46px; padding: var(--sv-s2) var(--sv-s3);
    background: var(--sv-bg); color: var(--sv-text);
    border: 1px solid var(--sv-border-strong); border-radius: var(--sv-radius-sm);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.sv-input:hover { border-color: var(--sv-text-faint); }
.sv-input:focus-visible { outline: none; border-color: var(--sv-accent); box-shadow: 0 0 0 3px rgba(var(--sv-accent-rgb), 0.25); }
.sv-input[aria-invalid="true"] { border-color: var(--sv-danger); }
textarea.sv-input { min-height: 100px; resize: vertical; }
.sv-help { font-size: var(--sv-fs-xs); color: var(--sv-text-dim); }
.sv-error { font-size: var(--sv-fs-xs); color: var(--sv-danger); }
.sv-check { display: inline-flex; align-items: center; gap: var(--sv-s2); cursor: pointer; }
.sv-check input { width: 18px; height: 18px; accent-color: var(--sv-accent); }

/* --- Données -------------------------------------------------------------- */
.sv-stat { padding: var(--sv-s4); background: var(--sv-surface); border: 1px solid var(--sv-border); border-radius: var(--sv-radius); }
.sv-stat__value { display: block; font-size: var(--sv-fs-xl); font-weight: 800; font-stretch: 112%; color: var(--sv-accent); font-variant-numeric: tabular-nums; line-height: 1.1; }
.sv-stat__label { display: block; margin-top: var(--sv-s1); font-family: var(--sv-font-mono); font-size: 0.6875rem; color: var(--sv-text-dim); text-transform: uppercase; letter-spacing: 0.08em; }

.sv-kv { display: grid; grid-template-columns: minmax(96px, max-content) 1fr; gap: var(--sv-s2) var(--sv-s4); }
.sv-kv dt { color: var(--sv-text-dim); font-size: var(--sv-fs-sm); }
.sv-kv dd { margin: 0; overflow-wrap: anywhere; }

.sv-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--sv-surface-2); border: 2px solid var(--sv-border); }
.sv-avatar--lg { width: 96px; height: 96px; }

.sv-empty { padding: var(--sv-s6) var(--sv-s4); text-align: center; color: var(--sv-text-dim); border: 1px dashed var(--sv-border-strong); border-radius: var(--sv-radius); }

.sv-spinner {
    display: inline-block; width: 1em; height: 1em; vertical-align: -0.15em;
    border: 2px solid var(--sv-border-strong); border-top-color: var(--sv-accent); border-radius: 50%;
    animation: sv-spin 0.8s linear infinite;
}
@keyframes sv-spin { to { transform: rotate(360deg); } }

.sv-live { display: inline-flex; align-items: center; gap: var(--sv-s1); font-family: var(--sv-font-mono); font-size: 0.6875rem; color: var(--sv-ok); text-transform: uppercase; letter-spacing: 0.08em; }
.sv-live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: sv-pulse 1.6s ease-in-out infinite; }
@keyframes sv-pulse { 50% { opacity: 0.3; } }

/* --- Google Play (rendu par /js/games.js) --------------------------------- */
.sv-play-badge { display: inline-block; line-height: 0; border-radius: 10px; }
.sv-play-badge img { width: auto; height: 64px; margin-block: -9px; }  /* le PNG officiel contient sa marge */
.sv-play-soon {
    display: inline-flex; align-items: center; gap: 0.6em; min-height: 48px; padding: 0.55em 1.1em;
    border: 1px dashed currentColor; border-radius: 999px;
    font-family: var(--sv-font-mono); font-size: var(--sv-fs-sm); font-weight: 600; letter-spacing: 0.02em; line-height: 1.3;
}
.sv-play-soon::before {
    content: ''; flex: none; width: 0; height: 0;
    border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor;
}
.sv-web-play { display: inline-flex; align-items: center; gap: 0.6em; }

/* ==========================================================================
   Motifs de la nuit foraine (+ 2026-10-05)
   ========================================================================== */

/* Papier : remappe les jetons, tout composant posé dessus reste lisible */
.sv-paper {
    --sv-bg: var(--sv-paper);
    --sv-surface: #fbf5ea;
    --sv-surface-2: var(--sv-paper-2);
    --sv-border: rgba(29, 23, 18, 0.16);
    --sv-border-strong: rgba(29, 23, 18, 0.34);
    --sv-line: rgba(29, 23, 18, 0.08);
    --sv-text: var(--sv-ink);
    --sv-text-dim: var(--sv-ink-dim);
    --sv-text-faint: #6e6255;
    --sv-accent: var(--sv-red);
    --sv-accent-rgb: 180, 45, 28;
    --sv-accent-ink: #fff6e8;
    --sv-focus: 0 0 0 2px var(--sv-paper), 0 0 0 4px var(--sv-red);
    --sv-ok: #1d7a4a; --sv-warn: #9a5a00; --sv-danger: #b42d1c; --sv-info: #1f5fa8;
    color-scheme: light;
    position: relative;
    background-color: var(--sv-paper);
    background-image: var(--sv-grain);
    background-size: 180px 180px;
    color: var(--sv-ink);
}
.sv-paper .sv-btn { --btn-shadow: rgba(29, 23, 18, 0.25); }
.sv-paper .sv-btn--primary { --btn-shadow: #6f1a10; }
.sv-paper .sv-btn--primary:hover { --btn-bg: #c83a27; --btn-bd: #c83a27; }
.sv-paper .sv-btn--ghost:hover { --btn-bg: rgba(29, 23, 18, 0.05); }
.sv-paper ::selection { background: var(--sv-ink); color: var(--sv-paper); }

/* Rangée d'ampoules (décor) : deux couches qui s'allument à tour de rôle */
.sv-bulbs {
    --bulb-gap: 26px;
    position: relative; height: 18px; pointer-events: none;
    background:
        radial-gradient(circle, var(--sv-bulb) 0 3px, rgba(255, 196, 70, 0.55) 3.6px, rgba(255, 196, 70, 0) 8px) 0 50% / var(--bulb-gap) 18px repeat-x;
}
.sv-bulbs::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle, #fff7d6 0 3.2px, rgba(255, 220, 120, 0.85) 4px, rgba(255, 196, 70, 0) 10px) calc(var(--bulb-gap) / 2) 50% / var(--bulb-gap) 18px repeat-x;
    background-position-x: 0;
    opacity: 0; animation: sv-chase 1.4s steps(1) infinite;
}
@keyframes sv-chase { 0% { opacity: 1; } 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .sv-bulbs::after { animation: none; opacity: 0.6; } }

/* Cadre d'ampoules (enseigne) */
.sv-marquee {
    position: relative; padding: 14px; border-radius: 22px;
    background:
        radial-gradient(circle, var(--sv-bulb) 0 2.8px, rgba(255, 196, 70, 0.5) 3.4px, transparent 6px) 0 0 / 18px 18px,
        var(--marquee-bg, #2a1d10);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 30px 60px -24px rgba(0, 0, 0, 0.7), 0 0 60px -20px rgba(255, 200, 80, 0.35);
    animation: sv-bulbs 1.6s steps(2) infinite;
}
@keyframes sv-bulbs { to { background-position: 9px 9px, 0 0; } }
.sv-marquee__panel { position: relative; border-radius: 12px; background: var(--sv-surface); padding: clamp(18px, 4vw, 28px); }
@media (prefers-reduced-motion: reduce) { .sv-marquee { animation: none; } }

/* Ticket perforé */
.sv-ticket {
    --tk-bg: var(--sv-paper); --tk-fg: var(--sv-ink); --tk-notch: 11px; --tk-stub: 30%;
    position: relative; display: grid; grid-template-columns: 1fr auto; color: var(--tk-fg);
    background: var(--tk-bg);
    -webkit-mask: radial-gradient(circle at 0 50%, transparent var(--tk-notch), #000 calc(var(--tk-notch) + 0.5px)) left / 51% 100% no-repeat,
                  radial-gradient(circle at 100% 50%, transparent var(--tk-notch), #000 calc(var(--tk-notch) + 0.5px)) right / 51% 100% no-repeat;
    mask: radial-gradient(circle at 0 50%, transparent var(--tk-notch), #000 calc(var(--tk-notch) + 0.5px)) left / 51% 100% no-repeat,
          radial-gradient(circle at 100% 50%, transparent var(--tk-notch), #000 calc(var(--tk-notch) + 0.5px)) right / 51% 100% no-repeat;
    border-radius: 8px;
    filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.45));
}
.sv-ticket__main { padding: 16px 18px 16px calc(var(--tk-notch) + 14px); min-width: 0; }
.sv-ticket__stub {
    display: grid; place-content: center; text-align: center; gap: 2px; padding: 12px calc(var(--tk-notch) + 10px) 12px 16px;
    border-left: 2px dashed color-mix(in srgb, var(--tk-fg) 30%, transparent);
}
.sv-ticket__label { display: block; font-family: var(--sv-font-mono); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.75; }
.sv-ticket__big { display: block; font-family: var(--sv-font-display); font-weight: 650; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); line-height: 1; letter-spacing: -0.02em; }

/* Annotation manuscrite */
.sv-note {
    display: inline-flex; align-items: flex-start; gap: 6px;
    font-family: var(--sv-font-display); font-style: italic; font-weight: 500; font-size: clamp(1rem, 0.9rem + 0.4vw, 1.2rem); line-height: 1.2;
    color: var(--sv-accent);
}
.sv-note svg { flex: none; width: 46px; height: auto; }

/* Cadre de visée (repères d'angle) */
.sv-frame, .pub-corners { position: relative; }
.sv-frame::before, .sv-frame::after, .pub-corners::before, .pub-corners::after {
    content: ''; position: absolute; width: 16px; height: 16px; pointer-events: none; z-index: 2;
    border: 0 solid var(--pub-corner, var(--sv-accent));
}
.sv-frame::before, .pub-corners::before { top: -8px; left: -8px; border-top-width: 2px; border-left-width: 2px; }
.sv-frame::after, .pub-corners::after { bottom: -8px; right: -8px; border-bottom-width: 2px; border-right-width: 2px; }

/* Polaroïd */
.sv-polaroid {
    position: relative; margin: 0; padding: 10px 10px 0; background: #f8f2e6; color: var(--sv-ink);
    border-radius: 3px; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 4px 10px rgba(0, 0, 0, 0.3);
}
.sv-polaroid img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 1px; background: #ddd; }
.sv-polaroid figcaption { padding: 10px 4px 14px; font-family: var(--sv-font-display); font-style: italic; font-size: 1.05rem; line-height: 1.25; color: #3a2f27; }

/* La pièce : monnaie unique du compte Supervandal (SVG inline, /js/daily.js coinIcon) */
.sv-coin { display: inline-block; width: 1em; height: 1em; vertical-align: -0.14em; flex: none; overflow: visible; }
.sv-coin__edge { fill: var(--sv-coin-dark); }
.sv-coin__face { fill: var(--sv-coin); }
.sv-coin__ring { fill: none; stroke: var(--sv-coin-dark); stroke-opacity: 0.55; stroke-width: 1.1; }
.sv-coin__star { fill: var(--sv-coin-dark); fill-opacity: 0.75; }
.sv-coin__shine { fill: none; stroke: var(--sv-coin-light); stroke-width: 1.5; stroke-linecap: round; }
/* Petite Super Roue (7e jour du bonus) */
.sv-wheelglyph { display: inline-block; width: 1em; height: 1em; vertical-align: -0.14em; flex: none; }
.sv-wheelglyph__disc { fill: var(--sv-paper); stroke: var(--sv-red); stroke-width: 2; }
.sv-wheelglyph__spokes { stroke: var(--sv-red); stroke-width: 1.4; }
.sv-wheelglyph__hub { fill: var(--sv-coin); stroke: var(--sv-coin-dark); stroke-width: 1; }

/* Vignette vidéo : rien n'est chargé depuis YouTube avant le clic (/js/site.js) */
.sv-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--sv-radius-lg); overflow: hidden; background: #000; }
.sv-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sv-video__btn {
    position: absolute; inset: 0; display: grid; place-items: center; width: 100%; padding: 0; border: 0;
    background: transparent; color: inherit; cursor: pointer; text-align: left;
}
.sv-video__btn:focus-visible { outline: 3px solid var(--sv-accent); outline-offset: -3px; border-radius: inherit; }
.sv-video__play {
    position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 999px;
    background: rgba(17, 14, 12, 0.78); color: #fff8ec; border: 1px solid rgba(255, 240, 220, 0.25);
    font-family: var(--sv-font-mono); font-size: var(--sv-fs-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    transition: transform 0.3s var(--sv-ease), background-color 0.2s;
}
.sv-video__play::before {
    content: ''; width: 38px; height: 38px; border-radius: 50%; flex: none;
    background: var(--sv-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='%231b1306'/%3E%3C/svg%3E") center / 22px no-repeat;
}
.sv-video__btn:hover .sv-video__play { transform: scale(1.05); background: rgba(17, 14, 12, 0.92); }
.sv-video__note { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 10px; font-size: 0.6875rem; line-height: 1.35; color: rgba(255, 248, 236, 0.75); text-align: center; text-shadow: 0 1px 2px #000; }

/* ==========================================================================
   Header, menu mobile, footer (générés par /js/nav.js)
   ========================================================================== */
.sv-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(17, 14, 12, 0.84);
    border-bottom: 1px solid var(--sv-line);
    -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
    transition: background-color 0.3s, border-color 0.3s;
}
.sv-header--overlay:not(.is-scrolled) { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.sv-menu-open .sv-header { background: var(--sv-bg); border-bottom-color: var(--sv-line); }
.sv-header__inner {
    display: flex; align-items: center; justify-content: space-between; gap: var(--sv-s4);
    min-height: var(--sv-header-h);
}
.sv-logo {
    display: inline-flex; align-items: center; gap: 10px; flex: none;
    color: var(--sv-text); text-decoration: none; line-height: 1;
}
.sv-logo__mark {
    display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px;
    background: var(--sv-accent); color: var(--sv-accent-ink);
    font-family: var(--sv-font-mono); font-weight: 600; font-size: 0.8125rem; letter-spacing: -0.04em;
    box-shadow: 0 0 18px -2px rgba(var(--sv-accent-rgb), 0.55);
    transition: transform 0.35s var(--sv-ease);
}
.sv-logo:hover .sv-logo__mark { transform: rotate(-8deg); }
.sv-logo__word { font-weight: 900; font-stretch: 125%; font-size: 1.0625rem; letter-spacing: 0.01em; }
.sv-logo__sub { display: none; font-family: var(--sv-font-mono); font-size: 0.6875rem; letter-spacing: 0.16em; color: var(--sv-text-faint); padding-left: 10px; border-left: 1px solid var(--sv-border-strong); }
@media (min-width: 400px) { .sv-logo__sub { display: inline; } }
.sv-logo:hover { color: var(--sv-text); text-decoration: none; }

.sv-nav { display: none; align-items: center; gap: var(--sv-s2); }
.sv-nav__list { display: flex; gap: 0; list-style: none; padding: 0; }
.sv-nav__link {
    position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 11px;
    color: var(--sv-text-dim); text-decoration: none; font-size: 0.9375rem; font-weight: 600;
    border-radius: 999px; transition: color 0.2s, background-color 0.2s;
}
.sv-nav__link::after {
    content: ''; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--sv-accent);
    box-shadow: 0 0 8px 1px rgba(var(--sv-accent-rgb), 0.7);
    transform: scale(0); transition: transform 0.3s var(--sv-ease);
}
.sv-nav__link:hover { color: var(--sv-text); text-decoration: none; }
.sv-nav__link:hover::after, .sv-nav__link.is-active::after, .sv-nav__link[aria-current="page"]::after { transform: scale(1); }
.sv-nav__link.is-active, .sv-nav__link[aria-current="page"] { color: var(--sv-text); }
.sv-nav__account { margin-left: 6px; border: 1px solid var(--sv-border-strong); color: var(--sv-text); padding: 0 14px; }
.sv-nav__account::after { display: none; }
.sv-nav__account:hover, .sv-nav__account[aria-current="page"] { border-color: var(--sv-accent); color: var(--sv-accent); }
.sv-nav__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sv-accent); box-shadow: 0 0 0 3px rgba(var(--sv-accent-rgb), 0.18), 0 0 10px rgba(var(--sv-accent-rgb), 0.6); }

.sv-lang { display: inline-flex; padding: 3px; border: 1px solid var(--sv-border-strong); border-radius: 999px; gap: 2px; }
.sv-lang__btn {
    min-width: 36px; min-height: 32px; padding: 0 var(--sv-s2); border: 0; border-radius: 999px; background: transparent;
    color: var(--sv-text-dim); font-family: var(--sv-font-mono); font-size: var(--sv-fs-xs); font-weight: 600; letter-spacing: 0.06em;
    transition: background-color 0.2s, color 0.2s;
}
.sv-lang__btn[aria-pressed="true"] { background: var(--sv-text); color: var(--sv-bg); }
.sv-lang__btn:hover:not([aria-pressed="true"]) { color: var(--sv-text); }
.sv-lang--lg .sv-lang__btn { min-width: 52px; min-height: 44px; font-size: var(--sv-fs-sm); }

.sv-burger {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 6px 0 14px; margin-right: -6px;
    background: transparent; border: 0; color: var(--sv-text);
    font-family: var(--sv-font-mono); font-size: var(--sv-fs-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
}
.sv-burger__box { position: relative; display: block; width: 22px; height: 12px; }
.sv-burger__box span {
    position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px;
    transition: transform 0.35s var(--sv-ease), top 0.35s var(--sv-ease), width 0.35s var(--sv-ease);
}
.sv-burger__box span:first-child { top: 0; }
.sv-burger__box span:last-child { top: 10px; width: 65%; }
.sv-burger[aria-expanded="true"] .sv-burger__box span:first-child { top: 5px; transform: rotate(45deg); }
.sv-burger[aria-expanded="true"] .sv-burger__box span:last-child { top: 5px; width: 100%; transform: rotate(-45deg); }

@media (max-width: 374px) {
    .sv-logo__word { font-size: 0.9375rem; }
    .sv-logo { gap: 8px; }
    .sv-burger__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .sv-burger { padding: 0 6px 0 10px; }
}
@media (min-width: 1040px) {
    :root { --sv-header-h: 72px; }
    .sv-nav { display: flex; }
    .sv-burger { display: none; }
}

.sv-menu {
    position: fixed; inset: var(--sv-header-h) 0 0 0; z-index: 99;
    background: radial-gradient(90% 60% at 100% 100%, rgba(var(--sv-accent-rgb), 0.08), transparent 70%), var(--sv-bg);
    overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s var(--sv-ease), visibility 0s linear 0.3s;
}
.sv-menu::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 18px; opacity: 0.8;
    background: radial-gradient(circle, var(--sv-bulb) 0 2.6px, rgba(255, 196, 70, 0.5) 3.2px, transparent 7px) 0 50% / 26px 18px repeat-x; }
.sv-menu.is-open { opacity: 1; visibility: visible; transition: opacity 0.3s var(--sv-ease), visibility 0s; }
.sv-menu-open, .sv-menu-open body { overflow: hidden; }
.sv-menu__inner { display: flex; flex-direction: column; gap: var(--sv-s6); min-height: 100%; padding-block: var(--sv-s6) var(--sv-s7); }
.sv-menu__list { list-style: none; padding: 0; border-top: 1px solid var(--sv-border); }
.sv-menu__list li { border-bottom: 1px solid var(--sv-border); }
.sv-menu__link {
    display: flex; align-items: baseline; gap: var(--sv-s4); padding: 12px 0;
    color: var(--sv-text); text-decoration: none;
    font-family: var(--sv-font-display); font-size: clamp(1.9rem, 8.6vw, 2.75rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.08;
    transform: translateY(14px); opacity: 0;
    transition: transform 0.5s var(--sv-ease), opacity 0.5s var(--sv-ease), color 0.2s;
}
.sv-menu.is-open .sv-menu__link { transform: none; opacity: 1; }
.sv-menu.is-open li:nth-child(2) .sv-menu__link { transition-delay: 0.04s; }
.sv-menu.is-open li:nth-child(3) .sv-menu__link { transition-delay: 0.08s; }
.sv-menu.is-open li:nth-child(4) .sv-menu__link { transition-delay: 0.12s; }
.sv-menu.is-open li:nth-child(5) .sv-menu__link { transition-delay: 0.16s; }
.sv-menu.is-open li:nth-child(6) .sv-menu__link { transition-delay: 0.2s; }
.sv-menu.is-open li:nth-child(7) .sv-menu__link { transition-delay: 0.24s; }
.sv-menu__link:hover, .sv-menu__link[aria-current="page"] { color: var(--sv-accent); text-decoration: none; }
.sv-menu__link:hover { font-style: italic; }
.sv-menu__num { font-family: var(--sv-font-mono); font-size: var(--sv-fs-xs); font-weight: 600; color: var(--sv-text-faint); letter-spacing: 0.1em; transform: translateY(-0.9em); font-style: normal; }
.sv-menu__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sv-s4); margin-top: auto; }
.sv-menu__mail { color: var(--sv-text-dim); font-family: var(--sv-font-mono); font-size: var(--sv-fs-sm); }
@media (min-width: 1040px) { .sv-menu { display: none; } }

/* --- Footer ---------------------------------------------------------------- */
.sv-footer {
    margin-top: auto; position: relative;
    background: var(--sv-bg); border-top: 1px solid var(--sv-border);
    font-size: var(--sv-fs-sm); color: var(--sv-text-dim);
}
.sv-footer::before {   /* une guirlande, aux quatre couleurs des jeux */
    content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 18px; pointer-events: none;
    background:
        radial-gradient(circle, var(--sv-bs) 0 3px, transparent 4px) 0 50% / 104px 18px repeat-x,
        radial-gradient(circle, var(--sv-rf) 0 3px, transparent 4px) 26px 50% / 104px 18px repeat-x,
        radial-gradient(circle, var(--sv-pb) 0 3px, transparent 4px) 52px 50% / 104px 18px repeat-x,
        radial-gradient(circle, var(--sv-nrs) 0 3px, transparent 4px) 78px 50% / 104px 18px repeat-x;
    filter: drop-shadow(0 0 4px rgba(255, 220, 140, 0.45));
}
.sv-footer__inner { padding-block: var(--sv-s8) var(--sv-s5); }
.sv-footer__top { display: grid; gap: var(--sv-s7); }
.sv-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sv-s4); max-width: 36ch; }
.sv-footer__tag { line-height: 1.55; font-family: var(--sv-font-display); font-style: italic; font-size: 1.125rem; color: var(--sv-text); }
.sv-footer__mail { color: var(--sv-text); font-family: var(--sv-font-mono); font-weight: 600; }
.sv-footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sv-s6) var(--sv-s5); }
.sv-footer__title { margin-bottom: var(--sv-s3); font-family: var(--sv-font-mono); font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--sv-text-faint); }
.sv-footer__list { list-style: none; padding: 0; display: grid; gap: 2px; }
.sv-footer__list a { display: inline-block; padding: 6px 0; color: var(--sv-text-dim); text-decoration: none; }
.sv-footer a:hover { color: var(--sv-accent); }
.sv-footer__bottom {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sv-s4);
    margin-top: var(--sv-s7); padding-top: var(--sv-s5); border-top: 1px solid var(--sv-border);
}
.sv-footer__copy { font-family: var(--sv-font-mono); font-size: var(--sv-fs-xs); color: var(--sv-text-faint); letter-spacing: 0.04em; }
/* ancienne liste à plat (HTML statique de repli) */
.sv-footer__links { display: flex; flex-wrap: wrap; gap: var(--sv-s2) var(--sv-s4); list-style: none; padding: 0; }
@media (min-width: 720px) {
    .sv-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .sv-footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); }
}

/* --- Rappel du bonus du jour (/js/daily.js), en haut de page --------------- */
.sv-nudge {
    position: relative; z-index: 101; overflow: hidden;
    background: linear-gradient(90deg, #2a1d10, #1d1610 45%, #2a1a12);
    color: var(--sv-text); border-bottom: 1px solid rgba(var(--sv-accent-rgb), 0.28);
    font-size: var(--sv-fs-sm);
    animation: sv-nudge-in 0.5s var(--sv-ease) both;
}
@keyframes sv-nudge-in { from { transform: translateY(-100%); opacity: 0; } }
.sv-nudge__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; min-height: 46px; padding-block: 6px; }
.sv-nudge__text { display: inline-flex; align-items: center; gap: 10px; flex: 1 1 220px; min-width: 0; line-height: 1.3; }
.sv-nudge__text > svg { width: 22px; height: 22px; filter: drop-shadow(0 0 6px rgba(var(--sv-accent-rgb), 0.5)); }
.sv-nudge__text a { color: var(--sv-accent); }
.sv-nudge__actions { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
.sv-nudge .sv-btn { --btn-bg: var(--sv-coin); --btn-bd: var(--sv-coin); --btn-fg: var(--sv-accent-ink); min-height: 34px; }
.sv-nudge .sv-btn:hover { --btn-bg: #ffe073; --btn-bd: #ffe073; }
.sv-nudge__close { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--sv-text-dim); font-size: 1.25rem; line-height: 1; }
.sv-nudge__close:hover { background: rgba(255, 240, 220, 0.08); color: var(--sv-text); }
.sv-nudge.is-done { background: linear-gradient(90deg, #14261b, #1a1a12); border-bottom-color: rgba(85, 217, 141, 0.3); }
@media (max-width: 559px) { .sv-nudge__actions { margin-left: 32px; } }
@media (prefers-reduced-motion: reduce) { .sv-nudge { animation: none; } }

/* Pièces qui filent vers le solde après un gain (/js/daily.js) */
.sv-burst { position: fixed; inset: 0; z-index: 2000; pointer-events: none; overflow: hidden; }
.sv-burst__coin { position: absolute; left: 0; top: 0; filter: drop-shadow(0 0 6px rgba(var(--sv-accent-rgb), 0.7)); will-change: transform, opacity; }

/* ==========================================================================
   Pages publiques — préfixe .pub-
   Hors contrat : réservé à la partie publique (accueil, fiches jeux,
   portfolio, pages légales), peut évoluer.
   ========================================================================== */

/* --- Briques communes --------------------------------------------------------- */
.pub-eyebrow {
    display: inline-flex; align-items: center; gap: 0.7em; flex-wrap: wrap;
    font-family: var(--sv-font-mono); font-size: var(--sv-fs-xs); font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.14em; color: var(--sv-text-dim);
}
.pub-eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sv-accent); box-shadow: 0 0 0 4px rgba(var(--sv-accent-rgb), 0.16), 0 0 12px rgba(var(--sv-accent-rgb), 0.6); }
.pub-sec { position: relative; padding-block: var(--sv-section); }
.pub-sec__head { display: grid; gap: var(--sv-s4); margin-bottom: clamp(36px, 5vw, 64px); }
.pub-sec__num, .pub-kicker { font-family: var(--sv-font-mono); font-size: var(--sv-fs-xs); font-weight: 600; color: var(--sv-text-faint); letter-spacing: 0.14em; text-transform: uppercase; }
.pub-sec__title { font-family: var(--sv-font-display); font-size: var(--sv-fs-3xl); font-weight: 600; letter-spacing: -0.025em; line-height: 0.98; max-width: 18ch; }
.pub-sec__title em { font-style: italic; font-weight: 500; color: var(--sv-accent); }
.pub-sec__lead { font-size: var(--sv-fs-lg); color: var(--sv-text-dim); max-width: 58ch; line-height: 1.55; }
.pub-sec__lead strong { color: var(--sv-text); }
@media (min-width: 960px) {
    .pub-sec__head--split { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: end; column-gap: var(--sv-s7); }
    .pub-sec__head--split .pub-sec__lead { padding-bottom: 0.5em; }
}

/* apparition au défilement (activée par /js/site.js : html.sv-reveal) */
.sv-reveal [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--sv-ease), transform 0.8s var(--sv-ease); transition-delay: var(--d, 0s); }
.sv-reveal [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .sv-reveal [data-reveal] { opacity: 1; transform: none; } }

/* téléphone (capture de jeu) */
.pub-phone {
    position: relative; margin: 0; padding: 5px; border-radius: 26px;
    background: linear-gradient(160deg, #3a3129, #15110e 60%);
    box-shadow: 0 0 0 1px rgba(255, 240, 220, 0.12) inset, var(--sv-shadow-3);
}
.pub-phone img { width: 100%; height: auto; aspect-ratio: 1 / 2; object-fit: cover; border-radius: 21px; background: #000; }
.pub-phone--tall img { aspect-ratio: 9 / 16; }
.pub-phone::after {   /* reflet */
    content: ''; position: absolute; inset: 5px; border-radius: 21px; pointer-events: none;
    background: linear-gradient(115deg, rgba(255, 255, 255, 0.12), transparent 32%);
}

/* --- Accueil : ouverture ------------------------------------------------------ */
.pub-home .sv-main { padding: 0; }
.pub-hero {
    position: relative; isolation: isolate; overflow: hidden;
    margin-top: calc(-1 * var(--sv-header-h));
    padding-top: calc(var(--sv-header-h) + clamp(28px, 6vw, 72px));
    padding-bottom: clamp(48px, 7vw, 104px);
}
.pub-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: var(--sv-grain); background-size: 180px; opacity: 1; }
.pub-hero__bg::before {   /* faisceau du projecteur */
    content: ''; position: absolute; inset: -20% -10% 0 -10%;
    background: conic-gradient(from 198deg at 88% -6%, transparent 0deg, rgba(255, 226, 160, 0.075) 9deg, rgba(255, 226, 160, 0.02) 26deg, transparent 34deg);
}
.pub-hero__bg::after {   /* halo chaud */
    content: ''; position: absolute; width: 80vmax; height: 80vmax; right: -30vmax; top: -38vmax;
    background: radial-gradient(closest-side, rgba(255, 196, 90, 0.11), transparent);
}
.pub-hero__grid { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
.pub-hero__copy { position: relative; z-index: 1; }
.pub-hero__title {
    margin: var(--sv-s5) 0 var(--sv-s5);
    font-family: var(--sv-font-display); font-weight: 600; font-size: clamp(2.45rem, 1rem + 5.2vw, 4.6rem);
    letter-spacing: -0.03em; line-height: 0.98; max-width: 16ch;
}
.pub-hero__title .pub-line { display: block; }
.pub-hero__title .pub-line > span { display: inline; }
.pub-hero__title em { display: block; margin-top: 0.12em; font-style: italic; font-weight: 500; color: var(--sv-accent); letter-spacing: -0.02em; }
.pub-hero__lead { max-width: 50ch; font-size: clamp(1.0625rem, 0.95rem + 0.45vw, 1.25rem); line-height: 1.6; color: var(--sv-text-dim); }
.pub-hero__lead strong { color: var(--sv-text); font-weight: 700; }
.pub-hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sv-s3) var(--sv-s4); margin-top: var(--sv-s6); }
.pub-hero__title, .pub-hero__lead, .pub-hero__ctas, .pub-hero .pub-eyebrow { animation: pub-fade 0.9s var(--sv-ease) both; }
.pub-hero__title { animation-delay: 0.05s; }
.pub-hero__lead { animation-delay: 0.2s; }
.pub-hero__ctas { animation-delay: 0.32s; }
@keyframes pub-fade { from { opacity: 0; transform: translateY(14px); } }

/* scène : le polaroïd de Clem devant trois écrans de jeu */
.pub-stage { position: relative; display: grid; justify-items: center; padding-block: 8px 12px; animation: pub-fade 1s var(--sv-ease) 0.3s both; }
.pub-stage__screens { position: relative; display: grid; grid-template-columns: 1fr 1.18fr 1fr; align-items: center; width: min(100%, 520px); margin-left: 18%; }
.pub-stage .pub-phone { --r: 0deg; --y: 0px; transform: translateY(var(--y)) rotate(var(--r)); animation: pub-float 8s ease-in-out infinite; animation-delay: var(--fd, 0s); }
.pub-stage .pub-phone--l { --r: -6deg; --y: 18px; margin-right: -16%; z-index: 1; --fd: -2s; }
.pub-stage .pub-phone--c { z-index: 2; }
.pub-stage .pub-phone--r { --r: 6deg; --y: 18px; margin-left: -16%; z-index: 1; --fd: -4.5s; }
@keyframes pub-float { 50% { transform: translateY(calc(var(--y) - 8px)) rotate(var(--r)); } }
.pub-stage__clem { position: absolute; z-index: 3; left: 0; bottom: -4%; width: clamp(150px, 42%, 230px); transform: rotate(-5deg); }
.pub-stage__clem .sv-polaroid figcaption { font-size: 0.95rem; padding-bottom: 12px; }
.pub-stage__tag {
    position: absolute; z-index: 3; right: -2%; top: 4%;
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
    background: rgba(17, 14, 12, 0.86); border: 1px solid var(--sv-border-strong);
    font-family: var(--sv-font-mono); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em; color: var(--sv-text); white-space: nowrap;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.pub-stage__tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--sv-ok); box-shadow: 0 0 8px var(--sv-ok); }
@media (max-width: 599px) {
    .pub-stage__screens { width: 86%; margin-left: 14%; }
    .pub-stage__clem { width: 44%; bottom: -8%; }
}
@media (min-width: 960px) {
    .pub-hero { min-height: min(100svh, 940px); display: flex; align-items: center; }
    .pub-hero__grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); }
    .pub-stage__screens { width: min(96%, 500px); margin-left: 14%; }
    .pub-stage__clem { left: -6%; bottom: -8%; }
}

/* --- Carton de générique (crédits) -------------------------------------------- */
.pub-credits-card { position: relative; border-block: 1px solid var(--sv-border); background: var(--sv-surface); }
.pub-roll { display: grid; gap: 14px; padding-block: clamp(28px, 4vw, 44px); margin: 0; }
.pub-roll > div { display: grid; gap: 2px; }
.pub-roll dt { font-family: var(--sv-font-mono); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sv-text-faint); }
.pub-roll dd { margin: 0; font-family: var(--sv-font-display); font-style: italic; font-weight: 500; font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem); line-height: 1.35; color: var(--sv-text); }
.pub-roll dd > span:not([lang]) + span:not([lang])::before { content: ' · '; color: var(--sv-text-faint); font-style: normal; }
.pub-roll a { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.3s var(--sv-ease); }
.pub-roll a:hover { background-size: 100% 1px; color: var(--sv-accent); }
@media (min-width: 760px) {
    .pub-roll > div { grid-template-columns: 11rem 1fr; gap: 28px; align-items: baseline; }
    .pub-roll dt { text-align: right; }
}

/* --- Bullet Smash : la prochaine sortie ------------------------------------------- */
.pub-bs {
    --bs-bg: #5a0e09; --bs-bg2: #8f1a12; --bs-cream: #fff4e0; --bs-gold: #ffd43b;
    position: relative; isolation: isolate; overflow: hidden;
    background: var(--bs-bg); color: var(--bs-cream);
}
.pub-bs__rays {   /* les rayons de la bannière, très atténués */
    position: absolute; z-index: -1; left: 50%; top: -60vmax; width: 200vmax; height: 200vmax; margin-left: -100vmax;
    background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, 0.04) 0 6deg, transparent 6deg 12deg);
    -webkit-mask-image: radial-gradient(closest-side, #000 20%, transparent 70%);
    mask-image: radial-gradient(closest-side, #000 20%, transparent 70%);
    animation: pub-spin 140s linear infinite;
}
@keyframes pub-spin { to { transform: rotate(360deg); } }
.pub-bs::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(30, 4, 2, 0.55)); }
.pub-bs .sv-bulbs { position: absolute; left: 0; right: 0; top: 14px; }
.pub-bs .pub-sec__num, .pub-bs .pub-eyebrow, .pub-bs .pub-kicker { color: rgba(255, 244, 224, 0.8); }
.pub-bs__grid { display: grid; gap: clamp(40px, 6vw, 72px); }
.pub-bs__head { display: grid; gap: var(--sv-s4); align-content: start; }
.pub-bs__id { display: flex; align-items: center; gap: var(--sv-s4); }
.pub-bs__icon { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 0 0 2px rgba(255, 244, 224, 0.25), var(--sv-shadow-2); }
.pub-bs__title { font-family: var(--sv-font-display); font-size: var(--sv-fs-mega); font-weight: 700; letter-spacing: -0.035em; line-height: 0.88; text-shadow: 0 0.05em 0 #2a0604; }
.pub-bs__hook { font-family: var(--sv-font-display); font-style: italic; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 500; line-height: 1.3; max-width: 30ch; }
.pub-bs__text { color: rgba(255, 244, 224, 0.88); max-width: 56ch; font-size: var(--sv-fs-lg); line-height: 1.6; }
.pub-bs__aside { display: grid; gap: var(--sv-s5); align-content: start; }
.pub-bs .sv-ticket { --tk-bg: var(--bs-cream); --tk-fg: #6b130d; }
.pub-bs .sv-ticket__big { color: #8f1a12; }
.pub-bs__count { display: inline-block; margin-top: 8px; padding: 3px 10px; border-radius: 999px; background: #8f1a12; font-family: var(--sv-font-mono); font-size: var(--sv-fs-xs); font-weight: 600; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; color: var(--bs-cream, #fff4e0); }
.pub-bs__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; list-style: none; padding: 0; background: rgba(255, 244, 224, 0.18); border: 1px solid rgba(255, 244, 224, 0.18); border-radius: 14px; overflow: hidden; }
.pub-bs__stats li { display: grid; gap: 2px; padding: 14px 16px; background: var(--bs-bg); }
.pub-bs__stats strong { color: var(--bs-gold); font-family: var(--sv-font-display); font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 650; line-height: 1; }
.pub-bs__stats span { font-family: var(--sv-font-mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 244, 224, 0.82); }
.pub-bs__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sv-s3); }
.pub-bs__ctas .sv-play-soon { display: none; }
.pub-bs .sv-btn--primary { --btn-bg: var(--bs-cream); --btn-bd: var(--bs-cream); --btn-fg: #5a0e09; --btn-shadow: #2a0604; }
.pub-bs .sv-btn--primary:hover { --btn-bg: #fff; --btn-bd: #fff; }
.pub-bs .sv-play-soon { color: var(--bs-cream); }
.pub-bs :focus-visible { outline-color: var(--bs-cream); }

.pub-worlds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 3vw, 24px); list-style: none; padding: 0; }
.pub-world { display: grid; gap: 10px; align-content: start; }
.pub-world .pub-phone { padding: 4px; border-radius: 20px; background: var(--bs-cream); box-shadow: 0 24px 40px -18px rgba(0, 0, 0, 0.7); transition: transform 0.4s var(--sv-ease); }
.pub-world .pub-phone img { border-radius: 16px; }
.pub-world .pub-phone::after { inset: 4px; border-radius: 16px; }
.pub-world:nth-child(odd) .pub-phone { transform: rotate(-1.5deg); }
.pub-world:nth-child(even) .pub-phone { transform: rotate(1.5deg) translateY(14px); }
.pub-world:hover .pub-phone { transform: rotate(0) translateY(-4px); }
.pub-world__cap { display: grid; gap: 2px; padding-top: 6px; }
.pub-world:nth-child(even) .pub-world__cap { padding-top: 20px; }
.pub-world__name { font-family: var(--sv-font-display); font-weight: 600; font-size: var(--sv-fs-lg); }
.pub-world__desc { font-size: var(--sv-fs-sm); color: rgba(255, 244, 224, 0.82); line-height: 1.45; }
@media (min-width: 640px) { .pub-worlds { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 720px) { .pub-bs__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 960px) {
    .pub-bs__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr); align-items: start; }
    .pub-worlds { grid-column: 1 / -1; }
}

/* --- Catalogue : les jeux, en affiches ------------------------------------------- */
.pub-games { display: grid; gap: clamp(18px, 2.6vw, 28px); list-style: none; padding: 0; }
.pub-game {
    --g-bg: var(--sv-surface); --g-bg2: var(--sv-surface-2); --g-accent: var(--sv-accent); --g-text: var(--sv-text);
    position: relative; isolation: isolate; display: grid; grid-template-rows: auto 1fr; overflow: hidden;
    border-radius: var(--sv-radius-xl); color: var(--g-text);
    background: linear-gradient(165deg, var(--g-bg2) -30%, var(--g-bg) 55%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    transition: transform 0.4s var(--sv-ease), box-shadow 0.4s var(--sv-ease);
}
.pub-game::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0.5; background-image: var(--sv-grain); background-size: 180px; mix-blend-mode: overlay; }
.pub-game:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16) inset, 0 40px 70px -40px var(--g-accent); }
.pub-game:focus-within { box-shadow: 0 0 0 2px var(--sv-bg), 0 0 0 4px var(--sv-accent); }
.pub-game__media { position: relative; margin: 10px 10px 0; border-radius: 16px; overflow: hidden; aspect-ratio: 1024 / 500; background: rgba(0, 0, 0, 0.3); }
.pub-game__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--sv-ease); }
.pub-game:hover .pub-game__media img { transform: scale(1.035); }
.pub-game__body { display: grid; gap: 10px; align-content: start; padding: 16px clamp(18px, 3vw, 26px) clamp(20px, 3vw, 26px); }
.pub-game__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pub-game__icon { position: relative; z-index: 2; width: 58px; height: 58px; border-radius: 15px; margin-top: -44px; box-shadow: 0 0 0 3px var(--g-bg), 0 10px 20px -8px rgba(0, 0, 0, 0.7); }
.pub-game__num { font-family: var(--sv-font-mono); font-size: var(--sv-fs-xs); letter-spacing: 0.12em; opacity: 0.72; }
.pub-game__genre { font-family: var(--sv-font-mono); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--g-accent); }
.pub-game__title { font-family: var(--sv-font-display); font-size: clamp(1.85rem, 1.3rem + 2vw, 2.75rem); font-weight: 650; letter-spacing: -0.025em; line-height: 0.98; }
.pub-game__title a { color: inherit; text-decoration: none; }
.pub-game__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.pub-game__title a:focus-visible { outline: none; }
.pub-game__hook { opacity: 0.9; line-height: 1.5; max-width: 46ch; }
.pub-game__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 6px; padding-top: 14px; border-top: 1px dashed rgba(255, 255, 255, 0.18); }
.pub-game__status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sv-font-mono); font-size: var(--sv-fs-xs); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.pub-game__status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--g-accent); box-shadow: 0 0 8px var(--g-accent); }
.pub-game__pkg { font-family: var(--sv-font-mono); font-size: 0.6875rem; opacity: 0.6; overflow-wrap: anywhere; }
.pub-game__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--g-accent); }
.pub-game--web .pub-game__media { aspect-ratio: 1200 / 630; }
.pub-game--web .pub-game__badge {
    position: absolute; z-index: 2; left: 14px; top: 14px; padding: 5px 10px; border-radius: 999px;
    background: var(--sv-accent); color: var(--sv-accent-ink); font-family: var(--sv-font-mono); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
    box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.6);
}
@media (min-width: 700px) { .pub-games { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
    .pub-games--home { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .pub-games--home > li { grid-column: span 3; }
    .pub-games--home > li:nth-child(n+3) { grid-column: span 2; }
    .pub-games--home > li:nth-child(n+3) .pub-game__title { font-size: clamp(1.7rem, 1.2rem + 1.2vw, 2.2rem); }
}

/* --- Banana Games ---------------------------------------------------------------- */
.pub-banana {
    --bn-bg: #160b2c; --bn-bg2: #2a1650; --bn-yellow: #ffd43b; --bn-pink: #ff4f8b; --bn-mint: #3ee6b0; --bn-cream: #fff4dc;
    position: relative; isolation: isolate; overflow: hidden;
    background: radial-gradient(120% 80% at 80% 0%, var(--bn-bg2), var(--bn-bg) 60%);
    color: var(--bn-cream);
}
.pub-banana::before {   /* étoiles */
    content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0.7;
    background:
        radial-gradient(1.4px 1.4px at 12% 18%, #fff, transparent),
        radial-gradient(1px 1px at 33% 8%, #fff, transparent),
        radial-gradient(1.2px 1.2px at 58% 22%, #fff, transparent),
        radial-gradient(1px 1px at 72% 12%, #fff, transparent),
        radial-gradient(1.6px 1.6px at 88% 30%, #fff, transparent),
        radial-gradient(1px 1px at 22% 44%, #fff, transparent),
        radial-gradient(1.2px 1.2px at 47% 52%, #fff, transparent),
        radial-gradient(1px 1px at 93% 58%, #fff, transparent);
}
.pub-garland { position: absolute; left: 0; right: 0; top: 0; height: 60px; pointer-events: none; background: url(/assets/garland.svg) center top / 1200px 60px repeat-x; filter: drop-shadow(0 0 6px rgba(255, 210, 120, 0.25)); }
.pub-banana .pub-kicker { color: var(--bn-mint); }
.pub-banana__grid { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
.pub-banana__title { font-family: var(--sv-font-display); font-weight: 700; font-size: var(--sv-fs-mega); line-height: 0.9; letter-spacing: -0.035em; }
.pub-banana__title span { color: var(--bn-yellow); }
.pub-banana__tag { margin-top: 14px; font-family: var(--sv-font-display); font-style: italic; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 500; color: var(--bn-cream); }
.pub-banana__text { margin-top: 18px; max-width: 54ch; color: rgba(255, 244, 220, 0.86); font-size: var(--sv-fs-lg); line-height: 1.6; }
.pub-banana__facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; list-style: none; padding: 0; }
.pub-banana__facts li { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 244, 220, 0.25); font-family: var(--sv-font-mono); font-size: var(--sv-fs-xs); font-weight: 600; letter-spacing: 0.04em; }
.pub-banana__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px; }
.pub-banana .sv-btn--primary { --btn-bg: var(--bn-yellow); --btn-bd: var(--bn-yellow); --btn-fg: #2a1650; --btn-shadow: #9c7c0b; }
.pub-banana .sv-link { color: var(--bn-cream); border-color: rgba(255, 244, 220, 0.35); }
.pub-banana .sv-link:hover { color: var(--bn-yellow); }
.pub-rides-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1.6vw, 16px); list-style: none; padding: 0; }
.pub-rides-strip li { display: grid; gap: 8px; }
.pub-rides-strip li:nth-child(even) { transform: translateY(26px); }
.pub-rides-strip .pub-phone { padding: 4px; border-radius: 18px; background: linear-gradient(160deg, #4b2c86, #1b0f38); }
.pub-rides-strip .pub-phone img { aspect-ratio: 9 / 16; border-radius: 14px; }
.pub-rides-strip .pub-phone::after { inset: 4px; border-radius: 14px; }
.pub-rides-strip span { font-family: var(--sv-font-mono); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 244, 220, 0.8); text-align: center; }
@media (min-width: 1000px) { .pub-banana__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* --- Compte Supervandal : « tu l'as déjà » --------------------------------------- */
.pub-acc__grid { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
.pub-pass { position: relative; max-width: 480px; width: 100%; justify-self: center; padding-bottom: 56px; }
.pub-pass .sv-ticket { transform: rotate(-2.5deg); }
.pub-pass .sv-ticket { --tk-bg: var(--sv-paper); --tk-stub: 34%; grid-template-columns: 1fr auto; }
.pub-pass__head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid rgba(29, 23, 18, 0.14); }
.pub-pass__head .sv-logo__mark { width: 28px; height: 28px; font-size: 0.75rem; box-shadow: none; }
.pub-pass__brand { font-weight: 900; font-stretch: 125%; font-size: 0.875rem; letter-spacing: 0.04em; }
.pub-pass__rows { display: grid; gap: 8px; margin: 0; }
.pub-pass__rows > div { display: flex; justify-content: space-between; gap: 12px; font-size: var(--sv-fs-sm); border-bottom: 1px dotted rgba(29, 23, 18, 0.25); padding-bottom: 6px; }
.pub-pass__rows dt { color: var(--sv-ink-dim); }
.pub-pass__rows dd { margin: 0; font-family: var(--sv-font-mono); font-weight: 600; color: var(--sv-ink); }
.pub-pass__stub { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--sv-font-mono); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sv-red); }
.pub-pass .sv-note { position: absolute; right: 4%; bottom: 0; transform: rotate(-3deg); }
.pub-perks { display: grid; gap: 0; list-style: none; padding: 0; margin-top: 26px; border-top: 1px solid var(--sv-border); }
.pub-perks li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--sv-border); }
.pub-perks svg { width: 28px; height: 28px; color: var(--sv-accent); }
.pub-perks strong { display: block; font-size: var(--sv-fs-md); }
.pub-perks span { color: var(--sv-text-dim); font-size: var(--sv-fs-sm); line-height: 1.5; }
.pub-perks__soon { margin-top: 14px; font-family: var(--sv-font-display); font-style: italic; color: var(--sv-text-dim); }
.pub-acc__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 26px; }
@media (min-width: 960px) { .pub-acc__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } .pub-pass { justify-self: start; } }

/* --- Moteur ----------------------------------------------------------------------- */
.pub-engine { background: var(--sv-surface); border-block: 1px solid var(--sv-border); overflow: hidden; }
.pub-engine .sv-container { position: relative; }
.pub-shot { margin: 0; }
.pub-shot__img { border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), var(--sv-shadow-3); background: #000; }
.pub-shot__img img { width: 100%; height: auto; }
.pub-shot figcaption { margin-top: 12px; font-family: var(--sv-font-mono); font-size: var(--sv-fs-xs); letter-spacing: 0.06em; color: var(--sv-text-faint); }

/* chaîne : éditeur -> moteur -> jeux, + en ligne */
.pub-pipe { display: grid; gap: 0; list-style: none; padding: 0; counter-reset: pipe; margin-top: clamp(40px, 5vw, 64px); }
.pub-pipe__step {
    position: relative; display: grid; gap: 6px; padding: 20px 20px 20px 64px;
    background: var(--sv-bg); border: 1px solid var(--sv-border); border-radius: 14px;
}
.pub-pipe__step + .pub-pipe__step { margin-top: 26px; }
.pub-pipe__step + .pub-pipe__step::before {   /* connecteur */
    content: ''; position: absolute; left: 33px; top: -27px; width: 2px; height: 26px;
    background: repeating-linear-gradient(180deg, var(--sv-accent) 0 4px, transparent 4px 8px);
}
.pub-pipe__step::after {
    counter-increment: pipe; content: counter(pipe, decimal-leading-zero);
    position: absolute; left: 16px; top: 20px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
    background: var(--sv-surface-2); border: 1px solid var(--sv-border-strong);
    font-family: var(--sv-font-mono); font-size: var(--sv-fs-xs); font-weight: 600; color: var(--sv-accent);
}
.pub-pipe__step--core { border-color: rgba(var(--sv-accent-rgb), 0.55); background: linear-gradient(180deg, rgba(var(--sv-accent-rgb), 0.07), var(--sv-bg)); }
.pub-pipe__k { font-family: var(--sv-font-mono); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sv-text-faint); }
.pub-pipe__t { font-family: var(--sv-font-display); font-size: var(--sv-fs-lg); font-weight: 600; line-height: 1.2; }
.pub-pipe__d { color: var(--sv-text-dim); font-size: var(--sv-fs-sm); line-height: 1.5; }
@media (min-width: 960px) {
    .pub-pipe { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
    .pub-pipe__step { padding: 64px 20px 22px; }
    .pub-pipe__step::after { top: 18px; left: 20px; }
    .pub-pipe__step + .pub-pipe__step { margin-top: 0; }
    .pub-pipe__step + .pub-pipe__step::before { left: -29px; top: 34px; width: 28px; height: 2px; background: repeating-linear-gradient(90deg, var(--sv-accent) 0 4px, transparent 4px 8px); }
}

.pub-modules { display: grid; gap: 1px; margin-top: clamp(28px, 4vw, 40px); list-style: none; padding: 0; background: var(--sv-border); border: 1px solid var(--sv-border); border-radius: var(--sv-radius-lg); overflow: hidden; }
.pub-module { display: grid; gap: 10px; align-content: start; padding: 22px; background: var(--sv-surface); }
.pub-module svg { width: 34px; height: 34px; color: var(--sv-accent); }
.pub-module h3 { font-family: var(--sv-font-display); font-size: var(--sv-fs-lg); font-weight: 600; }
.pub-module p { color: var(--sv-text-dim); font-size: var(--sv-fs-sm); line-height: 1.55; }
@media (min-width: 640px) { .pub-modules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .pub-modules { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.pub-origin { display: flex; gap: 14px; align-items: center; margin-top: var(--sv-s6); color: var(--sv-text-dim); }
.pub-origin img { width: 44px; height: 44px; border-radius: 11px; flex: none; }
.pub-origin a { color: var(--sv-text); font-weight: 700; }
.pub-engine__grid { display: grid; gap: clamp(32px, 5vw, 56px); align-items: center; }
@media (min-width: 1000px) { .pub-engine__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }

/* « Pour les curieux » : fiche technique façon terminal */
.pub-curious { margin-top: var(--sv-s7); border: 1px solid var(--sv-border-strong); border-radius: var(--sv-radius-lg); background: #0b0908; overflow: hidden; }
.pub-curious > summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; cursor: pointer; list-style: none;
    font-family: var(--sv-font-mono); font-size: var(--sv-fs-sm); font-weight: 600; color: var(--sv-text);
    background: var(--sv-surface-2); border-bottom: 1px solid transparent; transition: background-color 0.2s;
}
.pub-curious > summary::-webkit-details-marker { display: none; }
.pub-curious > summary:hover { background: #2c2621; }
.pub-curious[open] > summary { border-bottom-color: var(--sv-border); }
.pub-curious__dots { display: inline-flex; gap: 6px; margin-right: 6px; }
.pub-curious__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--sv-border-strong); }
.pub-curious__dots i:first-child { background: var(--sv-bs); }
.pub-curious__dots i:nth-child(2) { background: var(--sv-pb); }
.pub-curious__dots i:last-child { background: var(--sv-nrs); }
.pub-curious__title { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pub-curious__toggle { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--sv-border-strong); border-radius: 50%; transition: transform 0.3s var(--sv-ease); }
.pub-curious__toggle::before { content: '+'; font-size: 1.1rem; line-height: 1; color: var(--sv-accent); }
.pub-curious[open] .pub-curious__toggle { transform: rotate(45deg); }
.pub-term { padding: clamp(18px, 3vw, 28px); font-family: var(--sv-font-mono); font-size: var(--sv-fs-sm); line-height: 1.7; }
.pub-term__cmd { color: var(--sv-text-dim); margin-bottom: 14px; }
.pub-term__cmd b { color: var(--sv-ok); font-weight: 600; }
.pub-specs { display: grid; gap: 4px 0; }
.pub-specs > div { display: grid; grid-template-columns: 1fr; padding: 8px 0; border-bottom: 1px dashed #2a241f; }
.pub-specs dt { color: var(--sv-accent); text-transform: lowercase; }
.pub-specs dd { margin: 0; color: var(--sv-text); }
@media (min-width: 640px) {
    .pub-specs > div { grid-template-columns: 13em 1fr; gap: 16px; }
    .pub-specs dt { position: relative; overflow: hidden; white-space: nowrap; }
    .pub-specs dt::after { content: ' ..........................................'; color: #463d35; }
}
.pub-term__note { margin-top: 18px; color: var(--sv-text-dim); font-family: var(--sv-font); font-size: var(--sv-fs-sm); line-height: 1.6; max-width: 70ch; }

/* --- Clem (papier) -------------------------------------------------------------------- */
.pub-studio__grid { display: grid; gap: clamp(40px, 6vw, 80px); }
.pub-portrait { position: relative; width: min(100%, 340px); margin-inline: auto; }
.pub-portrait .sv-polaroid { transform: rotate(-2.5deg); }
.pub-portrait .sv-note { position: absolute; right: -10px; top: -34px; transform: rotate(4deg); color: var(--sv-red); }
.pub-portrait__tape { position: absolute; z-index: 2; left: 50%; top: -14px; width: 110px; height: 30px; margin-left: -55px; transform: rotate(-4deg); background: rgba(255, 233, 166, 0.75); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15); }
.pub-studio__text { display: grid; gap: var(--sv-s5); align-content: start; }
.pub-studio__text > p:not(.pub-kicker) { font-size: var(--sv-fs-lg); line-height: 1.65; max-width: 60ch; color: #2a221b; }
.pub-studio__text em { font-family: var(--sv-font-display); font-style: italic; font-size: 1.06em; }
.pub-credits { list-style: none; padding: 0; border-top: 2px solid var(--sv-ink); }
.pub-credits li { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid rgba(29, 23, 18, 0.18); }
.pub-credits em { font-family: var(--sv-font-display); font-style: italic; font-weight: 600; font-size: clamp(1.25rem, 1rem + 0.9vw, 1.65rem); line-height: 1.2; color: var(--sv-ink); }
.pub-credits span { font-family: var(--sv-font-mono); font-size: var(--sv-fs-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--sv-ink-dim); }
.pub-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; list-style: none; padding: 0; }
.pub-facts li { padding: 14px 12px; border: 1px solid rgba(29, 23, 18, 0.2); border-radius: 10px; background: rgba(255, 255, 255, 0.35); }
.pub-facts strong { display: block; white-space: nowrap; font-family: var(--sv-font-display); font-size: clamp(1.45rem, 1rem + 1.6vw, 2.25rem); font-weight: 650; color: var(--sv-red); line-height: 1.05; }
.pub-facts li > span { display: block; margin-top: 4px; color: var(--sv-ink-dim); font-size: var(--sv-fs-sm); line-height: 1.35; }
@media (min-width: 600px) { .pub-credits li { grid-template-columns: 1fr auto; align-items: baseline; gap: 16px; } }
@media (min-width: 960px) {
    .pub-studio__grid { grid-template-columns: 340px minmax(0, 1fr); align-items: start; }
    .pub-portrait { margin: 24px 0 0; position: sticky; top: calc(var(--sv-header-h) + 48px); }
}

/* --- Contact ---------------------------------------------------------------------------- */
.pub-contact { overflow: hidden; }
.pub-contact .sv-container { position: relative; }
.pub-mail {
    display: inline-block; max-width: 100%;
    font-family: var(--sv-font-display); font-size: clamp(1.75rem, 7.6vw, 5.75rem); font-weight: 600; font-style: italic; letter-spacing: -0.03em; line-height: 1.04;
    color: var(--sv-text); text-decoration: none; overflow-wrap: normal;
    background: linear-gradient(var(--sv-accent), var(--sv-accent)) 0 100% / 0 0.07em no-repeat; padding-bottom: 0.08em;
    transition: background-size 0.5s var(--sv-ease), color 0.3s;
}
.pub-mail:hover { background-size: 100% 0.07em; color: var(--sv-accent); text-decoration: none; }
.pub-contact__cards { display: grid; gap: 14px; margin-top: clamp(36px, 5vw, 56px); }
.pub-contact__card { display: grid; gap: 10px; align-content: start; padding: 22px; border-radius: 16px; background: var(--sv-surface); border: 1px solid var(--sv-border); }
.pub-contact__card h3 { font-family: var(--sv-font-display); font-size: var(--sv-fs-lg); font-weight: 600; }
.pub-contact__card p { color: var(--sv-text-dim); font-size: var(--sv-fs-sm); line-height: 1.55; }
.pub-contact__card a:not(.sv-btn) { font-weight: 700; }
.pub-contact__card .sv-btn { justify-self: start; }
@media (min-width: 720px) { .pub-contact__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .pub-contact__cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* --- Fiches jeux /games/<slug>/ ---------------------------------------------------------- */
.pub-gp { --g-bg: var(--sv-surface); --g-bg2: var(--sv-surface-2); --g-accent: var(--sv-accent); --g-ink: var(--sv-accent-ink); --g-text: var(--sv-text); }
.pub-gp .sv-main, .pub-gp main { padding: 0; }
.pub-gp-hero {
    position: relative; isolation: isolate; overflow: hidden; color: var(--g-text);
    margin-top: calc(-1 * var(--sv-header-h));
    padding: calc(var(--sv-header-h) + 20px) 0 clamp(48px, 7vw, 96px);
    background: radial-gradient(120% 90% at 85% 0%, var(--g-bg2), var(--g-bg) 62%);
}
.pub-gp-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0.55; background-image: var(--sv-grain); background-size: 180px; mix-blend-mode: overlay; }
.pub-gp-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: conic-gradient(from 198deg at 90% -8%, transparent 0deg, rgba(255, 255, 255, 0.07) 10deg, transparent 30deg); }
.pub-gp-hero__grid { display: grid; gap: clamp(32px, 5vw, 56px); align-items: center; }
.pub-gp-hero__id { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.pub-gp-hero__icon { width: 76px; height: 76px; border-radius: 20px; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18), var(--sv-shadow-2); flex: none; }
.pub-gp-hero .pub-game__genre { font-size: var(--sv-fs-xs); }
.pub-gp-hero__title { font-family: var(--sv-font-display); font-size: clamp(2.75rem, 1rem + 7.6vw, 6.5rem); font-weight: 700; letter-spacing: -0.035em; line-height: 0.9; }
.pub-gp-hero__hook { margin-top: 18px; font-family: var(--sv-font-display); font-style: italic; font-size: clamp(1.25rem, 1rem + 0.9vw, 1.7rem); font-weight: 500; line-height: 1.3; max-width: 32ch; }
.pub-gp-hero__short { margin-top: 12px; opacity: 0.88; max-width: 52ch; font-size: var(--sv-fs-lg); }
.pub-gp-hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.pub-gp-hero .sv-play-soon { color: var(--g-text); }
.pub-gp-hero__status { display: flex; width: fit-content; align-items: center; gap: 8px; margin-top: 22px; font-family: var(--sv-font-mono); font-size: var(--sv-fs-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.pub-gp-hero__status + .pub-gp-hero__status { margin-top: 10px; color: var(--g-accent); }
.pub-gp-hero__status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--g-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--g-accent) 25%, transparent); }
.pub-gp .pub-sec + .pub-sec { padding-top: 0; }
.pub-gp-banner { --pub-corner: var(--g-accent); border-radius: 18px; }
.pub-gp-banner picture, .pub-gp-banner img { border-radius: 18px; }
.pub-gp-banner img { width: 100%; height: auto; aspect-ratio: 1024 / 500; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), var(--sv-shadow-3); }
.pub-gp-banner--web img { aspect-ratio: 1200 / 630; }
.pub-crumbs { font-family: var(--sv-font-mono); font-size: var(--sv-fs-xs); letter-spacing: 0.06em; color: var(--sv-text-dim); margin-bottom: clamp(24px, 4vw, 40px); }
.pub-crumbs ol { display: flex; flex-wrap: wrap; gap: var(--sv-s2); list-style: none; padding: 0; }
.pub-crumbs li + li::before { content: '/'; margin-right: var(--sv-s2); opacity: 0.5; }
.pub-crumbs a { color: inherit; opacity: 0.85; }
.pub-crumbs a:hover { opacity: 1; }
.pub-gp-hero .pub-crumbs { color: var(--g-text); }
.pub-gp-hero .sv-btn--primary { --btn-bg: var(--g-accent); --btn-bd: var(--g-accent); --btn-fg: var(--g-ink); --btn-shadow: rgba(0, 0, 0, 0.45); }
.pub-gp-hero .sv-btn--primary:hover { filter: brightness(1.08); }
.pub-gp-hero .sv-ticket { --tk-bg: var(--g-text); --tk-fg: var(--g-bg); margin-top: 26px; max-width: 420px; }
@media (min-width: 960px) { .pub-gp-hero__grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); } }

.pub-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 3vw, 28px); list-style: none; padding: 0; }
.pub-shots figure { margin: 0; display: grid; gap: 10px; }
.pub-shots figcaption { font-family: var(--sv-font-display); font-style: italic; font-size: var(--sv-fs-md); color: var(--sv-text-dim); }
.pub-shots li:nth-child(even) { transform: translateY(24px); }
@media (min-width: 640px) { .pub-shots { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pub-shots--note { margin-top: 40px; font-size: var(--sv-fs-xs); color: var(--sv-text-faint); font-family: var(--sv-font-mono); letter-spacing: 0.04em; }

.pub-layout { display: grid; gap: clamp(40px, 5vw, 64px); }
@media (min-width: 1024px) { .pub-layout { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; } }
.pub-aside { display: flex; flex-direction: column; gap: var(--sv-s4); }
@media (max-width: 1023px) { .pub-gp .pub-aside { order: -1; } }
@media (min-width: 1024px) { .pub-aside { position: sticky; top: calc(var(--sv-header-h) + 24px); } }
.pub-aside .sv-card { border-radius: var(--sv-radius-lg); }
.pub-aside .sv-card__title { font-family: var(--sv-font-mono); font-size: var(--sv-fs-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--g-accent, var(--sv-accent)); }
.pub-keypoints { list-style: none; padding: 0; display: grid; gap: 0; counter-reset: kp; }
.pub-keypoints li { position: relative; padding: 12px 0 12px 40px; border-top: 1px solid var(--sv-border); line-height: 1.45; }
.pub-keypoints li:first-child { border-top: 0; padding-top: 4px; }
.pub-keypoints li::before {
    counter-increment: kp; content: counter(kp, decimal-leading-zero);
    position: absolute; left: 0; top: 13px; font-family: var(--sv-font-mono); font-size: var(--sv-fs-xs); font-weight: 600; color: var(--g-accent, var(--sv-accent));
}
.pub-keypoints li:first-child::before { top: 5px; }
.pub-gp-prose { --sv-accent: var(--g-accent); }
.pub-gp-prose .sv-prose h3 { color: var(--g-accent); }
.pub-gp-prose .sv-prose li::marker { color: var(--g-accent); }

/* bandeau « ton compte » sur les fiches */
.pub-accband {
    display: grid; gap: 18px; align-items: center; padding: clamp(20px, 3vw, 30px); border-radius: var(--sv-radius-xl);
    background: linear-gradient(120deg, var(--sv-surface-2), var(--sv-surface)); border: 1px solid var(--sv-border);
}
.pub-accband h2 { font-size: var(--sv-fs-xl); }
.pub-accband p { color: var(--sv-text-dim); max-width: 60ch; }
@media (min-width: 820px) { .pub-accband { grid-template-columns: 1fr auto; } }

.pub-others { display: grid; gap: 14px; list-style: none; padding: 0; }
.pub-other {
    --g-bg: var(--sv-surface); --g-bg2: var(--sv-surface-2); --g-text: var(--sv-text);
    position: relative; display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: 18px;
    background: linear-gradient(150deg, var(--g-bg2) -40%, var(--g-bg) 60%); color: var(--g-text);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset; transition: transform 0.3s var(--sv-ease);
}
.pub-other:hover { transform: translateY(-3px); }
.pub-other img { width: 64px; height: 64px; border-radius: 15px; flex: none; }
.pub-other a { color: inherit; text-decoration: none; font-family: var(--sv-font-display); font-weight: 600; font-size: var(--sv-fs-lg); line-height: 1.15; }
.pub-other a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.pub-other a:focus-visible { outline: none; }
.pub-other:focus-within { box-shadow: 0 0 0 2px var(--sv-bg), 0 0 0 4px var(--sv-accent); }
.pub-other .pub-game__genre { display: block; margin-top: 4px; }
@media (min-width: 820px) { .pub-others { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .pub-others { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* --- Banana Games : fiche /games/banana-games/ ------------------------------------------ */
.pub-rides { display: grid; gap: clamp(14px, 2.2vw, 22px); grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; padding: 0; }
.pub-ride { display: grid; align-content: start; gap: 12px; padding: 10px 10px 16px; border-radius: 20px; background: rgba(255, 244, 220, 0.05); border: 1px solid rgba(255, 244, 220, 0.12); }
.pub-ride .pub-phone { padding: 0; border-radius: 14px; overflow: hidden; background: #1b0f38; box-shadow: 0 18px 30px -16px rgba(0, 0, 0, 0.8); }
.pub-ride .pub-phone img { aspect-ratio: 4 / 5; object-position: 50% 12%; border-radius: 14px; }
.pub-ride .pub-phone::after { inset: 0; border-radius: 14px; }
.pub-ride > div { padding-inline: 6px; }
.pub-ride h3 { font-family: var(--sv-font-display); font-weight: 600; font-size: var(--sv-fs-lg); line-height: 1.1; }
.pub-ride__kind { display: block; margin: 4px 0 8px; font-family: var(--sv-font-mono); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bn-mint, #3ee6b0); }
.pub-ride p { font-size: var(--sv-fs-sm); line-height: 1.5; color: rgba(255, 244, 220, 0.82); }
@media (min-width: 900px) { .pub-rides { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pub-modes { display: grid; gap: 14px; list-style: none; padding: 0; }
.pub-mode { padding: 22px; border-radius: 18px; background: rgba(255, 244, 220, 0.06); border: 1px solid rgba(255, 244, 220, 0.14); }
.pub-mode h3 { font-family: var(--sv-font-display); font-weight: 600; font-size: var(--sv-fs-xl); line-height: 1.05; }
.pub-mode__kind { display: block; margin-bottom: 8px; font-family: var(--sv-font-mono); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bn-yellow, #ffd43b); }
.pub-mode p { margin-top: 10px; color: rgba(255, 244, 220, 0.82); font-size: var(--sv-fs-sm); line-height: 1.55; }
@media (min-width: 820px) { .pub-modes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pub-banana-page { background: var(--bn-bg, #160b2c); }
.pub-banana-page .pub-sec__title em { color: #ffd43b; }
.pub-banana-page .pub-sec__lead { color: rgba(255, 244, 220, 0.82); }
.pub-banana-page .pub-kicker { color: #3ee6b0; }

/* --- Portfolio /portfolio/ ---------------------------------------------------------------- */
.pf .sv-main { padding: 0; }
.pf-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(36px, 7vw, 96px) 0 clamp(40px, 6vw, 80px); }
.pf-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: var(--sv-grain); background-size: 180px; }
.pf-hero::after { content: ''; position: absolute; inset: -10% -10% 0; z-index: -1;
    background: conic-gradient(from 198deg at 90% -6%, transparent 0deg, rgba(255, 226, 160, 0.07) 9deg, transparent 30deg); }
.pf-hero__grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: end; }
.pf-hero__title { font-family: var(--sv-font-display); font-weight: 600; font-size: clamp(2.6rem, 1rem + 6.6vw, 6.25rem); line-height: 0.95; letter-spacing: -0.035em; max-width: 13ch; }
.pf-hero__title em { font-style: italic; font-weight: 500; color: var(--sv-accent); }
.pf-hero__lead { margin-top: 22px; max-width: 54ch; font-size: var(--sv-fs-lg); line-height: 1.6; color: var(--sv-text-dim); }
.pf-hero__lead strong { color: var(--sv-text); }
.pf-hero__links { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-top: 28px; }
.pf-hero .sv-polaroid { width: min(70%, 260px); justify-self: center; transform: rotate(3deg); }
@media (min-width: 900px) { .pf-hero__grid { grid-template-columns: minmax(0, 1fr) 280px; } .pf-hero .sv-polaroid { width: 100%; } }

.pf-index { position: sticky; top: var(--sv-header-h); z-index: 50; background: rgba(17, 14, 12, 0.9); border-block: 1px solid var(--sv-border); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pf-index__list { display: flex; gap: 4px; overflow-x: auto; list-style: none; padding: 10px 0; scrollbar-width: none; }
.pf-index__list::-webkit-scrollbar { display: none; }
.pf-index a { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 14px; border-radius: 999px; white-space: nowrap; color: var(--sv-text-dim); text-decoration: none; font-weight: 600; font-size: var(--sv-fs-sm); border: 1px solid transparent; }
.pf-index a span { font-family: var(--sv-font-mono); font-size: 0.6875rem; color: var(--sv-text-faint); }
.pf-index a:hover { color: var(--sv-text); border-color: var(--sv-border-strong); }
.pf-index a.is-active, .pf-index a[aria-current="true"] { color: var(--sv-accent-ink); background: var(--sv-accent); }
.pf-index a.is-active span, .pf-index a[aria-current="true"] span { color: var(--sv-accent-ink); }

.pf-cat { padding-block: clamp(56px, 7vw, 112px); scroll-margin-top: calc(var(--sv-header-h) + 64px); }
.pf-cat + .pf-cat { border-top: 1px solid var(--sv-border); }
.pf-cat.sv-paper + .pf-cat, .pf-cat + .pf-cat.sv-paper { border-top: 0; }
.pf-cat__head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 52px); }
.pf-cat__title { font-family: var(--sv-font-display); font-weight: 600; font-size: var(--sv-fs-3xl); letter-spacing: -0.025em; line-height: 1; }
.pf-cat__title em { font-style: italic; font-weight: 500; color: var(--sv-accent); }
.pf-cat__lead { max-width: 60ch; font-size: var(--sv-fs-lg); color: var(--sv-text-dim); line-height: 1.6; }
@media (min-width: 960px) { .pf-cat__head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; column-gap: 48px; } }

.pf-projects { display: grid; gap: clamp(36px, 5vw, 64px); list-style: none; padding: 0; }
.pf-project { display: grid; gap: 22px; align-items: start; }
.pf-project__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-family: var(--sv-font-mono); font-size: var(--sv-fs-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sv-text-faint); }
.pf-project__meta b { color: var(--sv-accent); font-weight: 600; }
.pf-project h3 { margin-top: 8px; font-family: var(--sv-font-display); font-weight: 600; font-size: clamp(1.6rem, 1.15rem + 1.8vw, 2.5rem); line-height: 1.02; letter-spacing: -0.02em; }
.pf-project h3 em { font-style: italic; font-weight: 500; }
.pf-project__text > p:not(.pf-project__meta) { margin-top: 12px; max-width: 58ch; color: color-mix(in srgb, var(--sv-text) 86%, var(--sv-text-dim)); line-height: 1.65; }
.pf-project__links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 16px; }
.pf-project__links a { font-size: var(--sv-fs-sm); }
.pf-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; list-style: none; padding: 0; }
.pf-tags li { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--sv-border-strong); font-family: var(--sv-font-mono); font-size: 0.6875rem; color: var(--sv-text-dim); }
@media (min-width: 900px) {
    .pf-project { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; }
    .pf-project:nth-child(even) .pf-project__media { order: 2; }
    .pf-project--text { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
}

/* Affiche typographique d'un projet (vignette locale d'une vidéo, ou carte sans image) */
.pf-poster {
    --p-bg: #241b14; --p-bg2: #3a2a1d; --p-ink: #f7f0e3; --p-accent: var(--sv-accent);
    position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--sv-radius-lg);
    background: radial-gradient(120% 120% at 15% 0%, var(--p-bg2), var(--p-bg) 65%); color: var(--p-ink);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, var(--sv-shadow-2);
}
.pf-poster::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: var(--sv-grain); background-size: 180px; opacity: 0.9; mix-blend-mode: overlay; }
.pf-poster__motif { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.pf-poster__motif svg { width: 100%; height: 100%; }
.pf-poster__title { position: absolute; left: 6%; right: 26%; top: 9%; color: var(--p-ink); font-family: var(--sv-font-display); font-style: italic; font-weight: 600; font-size: clamp(1.4rem, 0.9rem + 2.4vw, 2.6rem); line-height: 1; letter-spacing: -0.02em; text-wrap: balance; }
.pf-poster__credit { position: absolute; left: 6%; bottom: 8%; font-family: var(--sv-font-mono); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: color-mix(in srgb, var(--p-ink) 70%, transparent); }
.pf-poster__credit b { color: var(--p-accent); font-weight: 600; }
.pf-poster .sv-video__btn { place-items: end; padding: 0 5% 6% 0; }
/* letterbox : bandes de cinéma */
.pf-poster--scope::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1; box-shadow: inset 0 26px 0 #050403, inset 0 -26px 0 #050403; }
.pf-poster--scope .pf-poster__title { top: calc(9% + 18px); }
.pf-poster--scope .pf-poster__credit { bottom: calc(8% + 18px); }

.pf-figure { margin: 0; }
.pf-figure__img { border-radius: var(--sv-radius-lg); overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), var(--sv-shadow-3); }
.pf-figure figcaption { margin-top: 10px; font-family: var(--sv-font-mono); font-size: var(--sv-fs-xs); letter-spacing: 0.05em; color: var(--sv-text-faint); }

.pf-tool { display: grid; gap: 10px; padding: 22px; border-radius: var(--sv-radius-lg); background: var(--sv-surface); border: 1px solid var(--sv-border); }
.pf-tool h3 { margin: 0; font-size: var(--sv-fs-xl); }
.pf-tools { display: grid; gap: 14px; list-style: none; padding: 0; margin-top: clamp(32px, 4vw, 48px); }
@media (min-width: 760px) { .pf-tools { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pf-nda { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 2px 8px; border-radius: 4px; background: var(--sv-surface-2); font-family: var(--sv-font-mono); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; color: var(--sv-text-dim); }

.pf-contact { display: grid; gap: 28px; align-items: center; }
.pf-contact .sv-polaroid { width: min(70%, 240px); transform: rotate(-3deg); }
@media (min-width: 820px) { .pf-contact { grid-template-columns: 240px minmax(0, 1fr); gap: 56px; } .pf-contact .sv-polaroid { width: 100%; } }

/* --- Pages légales : des documents sur papier --------------------------------------------- */
.pub-doc {
    --sv-bg: var(--sv-paper);
    --sv-surface: #fbf5ea;
    --sv-surface-2: var(--sv-paper-2);
    --sv-border: rgba(29, 23, 18, 0.16);
    --sv-border-strong: rgba(29, 23, 18, 0.34);
    --sv-text: var(--sv-ink);
    --sv-text-dim: var(--sv-ink-dim);
    --sv-text-faint: #6e6255;
    --sv-accent: var(--sv-red);
    --sv-accent-rgb: 180, 45, 28;
    --sv-accent-ink: #fff6e8;
    --sv-focus: 0 0 0 2px var(--sv-paper), 0 0 0 4px var(--sv-red);
    --sv-ok: #1d7a4a; --sv-warn: #9a5a00; --sv-danger: #b42d1c; --sv-info: #1f5fa8;
    color-scheme: light;
    position: relative; padding: clamp(24px, 5vw, 64px) clamp(18px, 5vw, 64px) clamp(32px, 5vw, 64px);
    background-color: var(--sv-paper); background-image: var(--sv-grain); background-size: 180px;
    color: var(--sv-ink); border-radius: 4px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.pub-doc::before { content: ''; position: absolute; left: 50%; top: -12px; width: 120px; height: 28px; margin-left: -60px; transform: rotate(-2deg); background: rgba(255, 233, 166, 0.7); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); }
.pub-doc .sv-btn { --btn-shadow: rgba(29, 23, 18, 0.25); }
.pub-doc ::selection { background: var(--sv-ink); color: var(--sv-paper); }
.pub-doc-head { position: relative; padding: 0 0 var(--sv-s5); margin-bottom: var(--sv-s6); border-bottom: 2px solid var(--sv-ink); }
.pub-doc-head::before { content: 'DOC'; display: inline-block; margin-bottom: 14px; padding: 3px 8px; border-radius: 3px; background: var(--sv-ink); color: var(--sv-paper); font-family: var(--sv-font-mono); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; }
.pub-doc-head h1 { font-size: var(--sv-fs-2xl); font-weight: 600; margin-bottom: var(--sv-s3); }
.pub-doc-head .sv-small { font-family: var(--sv-font-mono); font-size: var(--sv-fs-xs); letter-spacing: 0.06em; }
.pub-doc .sv-prose { max-width: none; }
.pub-doc .sv-prose p, .pub-doc .sv-prose li { color: #2a221b; }
.pub-doc .sv-prose h2 { display: flex; align-items: baseline; gap: 12px; font-size: var(--sv-fs-xl); }
.pub-doc .sv-prose h2 .pub-num { flex: none; color: var(--sv-red); font-family: var(--sv-font-mono); font-size: var(--sv-fs-xs); font-weight: 600; }
.pub-doc .sv-prose h3 { color: var(--sv-red); }
.pub-doc .sv-alert { background: rgba(255, 255, 255, 0.45); }
.pub-doc .sv-alert--info { border-left-color: var(--sv-ink); }
.pub-doc + .pub-doc { margin-top: 0; }
.pub-apps { display: grid; gap: var(--sv-s3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.pub-apps > div { background: rgba(255, 255, 255, 0.45); border: 1px solid var(--sv-border); border-left: 3px solid var(--sv-accent); padding: var(--sv-s3); border-radius: var(--sv-radius-sm); }
.pub-apps strong { display: block; }
.pub-apps code { background: none; padding: 0; font-size: var(--sv-fs-xs); color: var(--sv-text-dim); word-break: break-all; }
.pub-new { border: 1px solid rgba(var(--sv-accent-rgb), 0.45); background: rgba(var(--sv-accent-rgb), 0.05); padding: var(--sv-s4); border-radius: var(--sv-radius); }
.pub-doc .sv-prose > section { margin-top: var(--sv-s7); }
.pub-doc .sv-prose section > * + * { margin-top: var(--sv-s3); }
.pub-doc .sv-prose section > h2 { margin-top: 0; }
.pub-doc code { background: rgba(29, 23, 18, 0.07); }

/* anciennes classes de la v1 (gardées pour les pages qui les utiliseraient encore) */
.pub-genre { font-family: var(--sv-font-mono); font-size: var(--sv-fs-xs); color: var(--sv-text-dim); text-transform: uppercase; letter-spacing: 0.1em; }
.pub-banner { border-radius: var(--sv-radius-lg); overflow: hidden; margin-block: var(--sv-s5); aspect-ratio: 1024 / 500; background: var(--sv-surface-2); }
.pub-banner img { width: 100%; height: 100%; object-fit: cover; }

/* repli sans JavaScript : liens du header statique */
html:not(.sv-js) .sv-header .sv-nav { display: flex; flex-wrap: wrap; }
.pub-gp-hero .pub-garland { top: var(--sv-header-h); }
@media (max-width: 559px) {
    .pf-poster .sv-video__play { gap: 0; padding: 5px; font-size: 0; letter-spacing: 0; }
    .pf-poster .sv-video__play::before { width: 34px; height: 34px; }
}
