
/* GARDE DESKTOP : le chrome OS mobile (elements injectes dans le body sur toutes les
   pages) ne doit JAMAIS s'afficher >=768px. Sans cette regle, ces elements (sans display
   defini hors media mobile) tombent dans le flux en taille geante apres le footer. */
@media (min-width:768px){
  #app-header,#app-tabbar,#app-sheet,#app-sheet-backdrop,#app-toast,
  #app-os-widget,#app-lock,#app-cnotif,#app-install,#app-tuto,#agt6cc-bar{display:none!important}
}
@media (max-width:767.98px){
  :root{
    --app-bp:767.98px;
    /* header OS-telephone = 2 lignes (status bar ~22px + chrome ~44px) -> hauteur portee a 70px */
    --app-tabbar-h:60px; --app-header-h:70px; --app-cta-h:58px;
    --app-statusbar-h:22px;
    /* hauteur que le dock occupe AU-DESSUS de la safe-area (apps + zone home indicator) :
       sert a reserver l'espace contenu / CTA / cookies / toast sans toucher 6 endroits.
       Intouche par le padding-top du dock (la plaque grandit VERS LE HAUT au-dessus de
       cette reserve : aucun masquage de contenu, aucun trou). */
    --app-dock-clear:calc(var(--app-tabbar-h) + 22px);
    /* respiration interne HAUT du dock : pousse les tuiles vers le bas pour qu'AUCUNE
       (y compris l'active soulevee de -4px + son anneau + sa capsule ::before) ne morde
       le bord haut de la plaque. La hauteur du nav est augmentee d'autant pour ne pas
       comprimer la zone home indicator (22px) ni la reserve --app-dock-clear. */
    --app-dock-pad-top:10px;
    /* tokens OS-telephone springboard (maquette gta-phone-mockup) */
    --app-tile:18px; --app-teal:#00E5C8;
    --sa-top:env(safe-area-inset-top,0px); --sa-bottom:env(safe-area-inset-bottom,0px);
    --sa-left:env(safe-area-inset-left,0px); --sa-right:env(safe-area-inset-right,0px);
    --hit-min:44px; --hit-comfort:48px; --hit-list:56px; --hit-gap:8px;
    --app-gutter:16px; --app-radius:16px; --app-radius-sheet:22px;
    --app-ease:cubic-bezier(0.16,1,0.3,1);
    /* ---- motion (philosophie Emil Kowalski) : courbes fortes reutilisables. ----
       --ease-out  : decelere franc (feedback, slide horizontal page).
       --ease-ios  : courbe iOS "ouverture d'app" (expansion overlay rect->plein ecran). */
    --ease-out:cubic-bezier(0.23,1,0.32,1);
    --ease-ios:cubic-bezier(0.32,0.72,0,1);
    --app-push-dur:300ms; --app-sheet-dur:320ms; --app-header-dur:220ms;
    /* ---- DA Vice City : faux-verre SANS backdrop-filter (interdit sous 768px).
       Le verre est EVOQUE par dégradés indigo empilés + halo radial sunset +
       bordure néon + inset highlight + ombre colorée. Aucun flou en direct. ---- */
    --app-accent:#FF2E93; --app-accent-2:#FF6B35; --app-gold:#FFB347;
    --app-magenta:#C2185B; --app-ink:#F2EAD8;
    /* surfaces opaques teintées (lisent "glass nuit Vice City", pas "barre d'OS") :
       linear indigo profond + voile rose tres bas, empiles. */
    --app-surface:linear-gradient(180deg,rgba(28,18,64,0.97) 0%,rgba(18,11,40,0.98) 60%,rgba(12,7,28,0.99) 100%);
    --app-bar:linear-gradient(180deg,rgba(22,13,48,0.985) 0%,rgba(11,7,24,0.99) 100%);
    /* halo sunset cousu (gradient, pas blur) : signe le rose/sunset du site. */
    --app-halo:radial-gradient(120% 130% at 18% -10%,rgba(255,46,147,0.16) 0%,rgba(255,107,53,0.06) 42%,transparent 70%);
    /* bordures néon PRESENTES (le site signe a ~.38-.42, pas .16 fantome). */
    --app-border:rgba(255,46,147,0.30);
    --app-border-soft:rgba(255,255,255,0.08);
    --app-inset:inset 0 1px 0 rgba(255,255,255,0.10); /* highlight haut faux-verre */
    --app-glow:0 -10px 36px -8px rgba(255,46,147,0.26); /* ombre colorée portée */
  }

  /* ---- piege sticky : overflow-x clip (pas hidden) sur html/body ----
     styles-mch impose `overflow-x:hidden!important` (2x) sur html,body. Notre bloc
     est dans le <head> APRES le <link styles-mch>, donc a specificite egale + meme
     !important il gagne (dernier declare). On force aussi overflow-y a son defaut
     pour qu'aucun shorthand n'introduise overflow-y:auto sur html (sinon double
     scrollbar / ancrage casse). overflow-x reste clip pour les sticky app. ---- */
  html{overflow-x:clip!important;overflow-y:visible!important;max-width:100vw!important}
  body{overflow-x:clip!important;max-width:100vw!important}

  /* ---- coupe perf section 4 : intro / parallax / blends en continu ---- */
  #vc-intro{display:none!important}
  html.vc-lock{overflow-x:clip!important;overflow-y:visible!important} /* intro masquee : pas de lock, mais clip sur x */
  /* NE PAS reintroduire `overflow:auto` (shorthand) ici : il reposerait overflow-x:auto
     et casserait le clip des sticky app + creerait le double-scroll (defaut QA #4).
     Le scroll vertical est deja l'etat naturel de html ; on force juste le longhand. */
  html.vc-intro-on{overflow-x:clip!important;overflow-y:visible!important}
  /* backdrop-filter -> coupe BALAI sous 768px (l'app shell est opaque par design,
     spec section 4 : aucun blur ne doit survivre). styles-mch + nav-stack posent du
     backdrop-filter avec !important sur de nombreuses surfaces (sections, footer,
     .mch-section, .qm-card, countdown, boutons, etc.) ; enumerer en rate toujours
     une, on coupe donc au selecteur universel. Le blur sur de larges surfaces
     pendant le scroll = repaint cher (suspect n1 de jank). Critere : 0 element
     visible avec backdrop-filter != none sous 768px.
     Exception : la banniere cookies (#agt6cc) garde son blur (overlay ponctuel,
     pas une surface scrollee, et au-dessus de tout). */
  /* 1. balai universel : ecrase tout backdrop-filter NON-important (CSS de page
     inline : .qm-card, .countdown-unit, .btn, .notify-btn, .hero-badge...). */
  *:not(#agt6cc):not(#agt6cc-reopen):not(.qm-card):not(.mch-pick):not(.setup-pill):not(.ed-bonus):not(.article-card):not(.video-card):not(details),
  *:not(#agt6cc):not(#agt6cc-reopen):not(.qm-card):not(.mch-pick):not(.setup-pill):not(.ed-bonus):not(.article-card):not(.video-card):not(details)::before,
  *:not(#agt6cc):not(#agt6cc-reopen):not(.qm-card):not(.mch-pick):not(.setup-pill):not(.ed-bonus):not(.article-card):not(.video-card):not(details)::after{
    backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  }
  /* 2. liste explicite RENFORCEE (html body ...) : bat les backdrop-filter !important
     plus specifiques de styles-mch + nav-stack, que le `*` (0,0,0) ne peut pas battre
     a egalite de !important quand la source est plus specifique. */
  html body .platforms-section,html body .manifesto-section,html body .articles-section,
  html body .faq-section,html body #faq,html body .setup-section,html body .leonida-section,
  html body .trailer-section,html body .final-explosion,html body .final-cta,
  html body #quickmenu,html body #notify,html body .article-body,html body .article-wrap,
  html body #plateformes.mch-section,html body #platforms.mch-section,html body .mch-section,
  html body .hero,html body .article-hero,html body .gallery-hero,
  html body footer,html body>footer,
  html body #site-header,html body .lang-toggle,html body .nav-drawer,html body .sticky-bar{
    backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  }
  /* P2-BACKDROP-CARDS-STATIC : reallume backdrop-filter sur les cards FIXES (pas de scroll continu).
     Le balai * ci-dessus + la liste explicite coupent tout, y compris les cards statiques qui
     n'ont aucune impact perf au scroll. On les reallume avec specificite (html body ...) + !important
     pour battre les regles de page. Elements cibles : cartes springboard, picks plateformes,
     pills setup, bonus editions, cards articles, cards video, FAQ accordion.
     Le header/dock/sticky restent OFF (perf scroll maintenue). */
  html body .qm-card,
  html body .mch-pick,
  html body .setup-pill,
  html body .ed-bonus,
  html body .article-card,
  html body .video-card,
  html body .faq-list details{
    backdrop-filter:blur(16px) saturate(1.3)!important;
    -webkit-backdrop-filter:blur(16px) saturate(1.3)!important;
  }
  @media (prefers-reduced-transparency:reduce){
    html body .qm-card,html body .mch-pick,html body .setup-pill,html body .ed-bonus,
    html body .article-card,html body .video-card,html body .faq-list details{
      backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
    }
  }
  /* P3-SECTION-GUTTER-UNIFORM : uniformise le padding lateral de toutes les sections
     de contenu a var(--app-gutter) = 16px sous 768px. Les CSS de page donnent des
     valeurs disparates (0px pour setup, 24px pour articles, herites de styles-mch).
     On force le padding gauche+droite des wrappers de section avec specificite
     html body + !important. Les paddings vertical ne sont pas touches. */
  html body .mch-wrap,html body .mch-section>.mch-intro,
  html body .setup-head,html body .setup-section>.setup-head,
  html body .articles-wrap,
  html body .faq-wrap,html body .faq-section>.faq-wrap,
  html body .leonida-section>.leonida-stage,
  html body .trailer-stage{
    padding-left:var(--app-gutter)!important;
    padding-right:var(--app-gutter)!important;
  }
  /* mch-section elle-meme : force padding lateral uniforme (bat le 0px du CSS page) */
  html body .mch-section,html body #plateformes.mch-section,html body #platforms.mch-section,
  html body #editions.mch-section{
    padding-left:var(--app-gutter)!important;
    padding-right:var(--app-gutter)!important;
  }
  /* P3V2-MARGIN-SECTIONS : unifie la MARGE laterale (pas le padding) de #articles et #setup
     a 16px pour que leur width = 390-32 = 358px, identique a .mch-section (width:calc(100%-32px)).
     CAUSE RACINE : styles-mch pose margin:18px 12px!important (0,1,0)!important sur ces sections
     => 390-24=366px. La passe precedente touchait au padding (sans effet sur la width en
     box-sizing:border-box). FIX : on cible les MARGES avec ID-scope (1,0,0)!important. */
  #articles,#setup{
    margin-left:16px!important;
    margin-right:16px!important;
  }
  /* parallax hero off : neutralise le transform JS sur .hero-bg */
  .hero-bg{transform:none!important;background-attachment:scroll!important}

  /* ---- neutralise la nav pill/drawer existante, on monte la tab bar a la place.
       Specificite RENFORCEE (html body ...) : nav-stack vit dans le <body> donc PLUS LOIN
       en ordre source ; a specificite egale il gagnerait. On le bat avec un niveau de plus. ---- */
  html body #site-header,html body .nav-drawer,html body .nav-burger,
  html body .lang-toggle,html body #info-pill{display:none!important}

  /* =====================  HEADER APP retractable  ===================== */
  html body header#app-header.app-header{
    position:fixed!important;top:0!important;bottom:auto!important;left:0!important;right:0!important;z-index:340!important;
    width:auto!important;max-width:none!important;margin:0!important;border-radius:0!important;
    height:calc(var(--app-header-h) + var(--sa-top));
    padding-top:var(--sa-top);padding-bottom:0;
    padding-left:max(var(--app-gutter),var(--sa-left));
    padding-right:max(var(--app-gutter),var(--sa-right));
    /* 2 lignes empilees : status bar OS-telephone + chrome fonctionnel */
    display:flex;flex-direction:column;justify-content:flex-start;gap:0;
    overflow:hidden;
    /* faux-verre : halo sunset cousu PAR-DESSUS la surface indigo (2 couches gradient,
       0 backdrop-filter). La bordure basse néon + l'ombre colorée portée signent la DA. */
    background:var(--app-halo),var(--app-surface);
    border-bottom:1px solid var(--app-border);
    box-shadow:0 6px 24px -10px rgba(255,46,147,0.30),var(--app-inset);
    /* PAS de transition ni will-change sur le header lui-meme (P2.3) :
       la transition est portee par .app-chrome ci-dessous. */
  }
  /* P1.1 : .app-chrome (LIGNE 2 uniquement) se retracte.
     translateY(-100%) fait monter le chrome de sa propre hauteur vers le haut.
     Le header clippe ce debordement (overflow:hidden ci-dessus) -> seule la statusbar
     (LIGNE 1, AVANT le chrome dans le flux flex) reste visible.
     flex-shrink:0 + flex-basis:auto garantit que le chrome garde sa hauteur (44px) meme
     quand il est translate : le header reste stable a var(--app-header-h) + sa-top. */
  html body header#app-header.app-header .app-chrome{
    flex:0 0 auto;
    transition:transform var(--app-header-dur) var(--app-ease);
  }
  html body header#app-header.app-header .app-chrome.app-chrome-hidden{
    transform:translateY(-100%);
    visibility:hidden;
  }
  @media (prefers-reduced-motion:reduce){
    html body header#app-header.app-header .app-chrome{transition-property:opacity!important}
    html body header#app-header.app-header .app-chrome.app-chrome-hidden{
      transform:none!important;opacity:0;
    }
  }

  /* ---- LIGNE 1 : barre d'etat OS-telephone (LEONIDA + reseau + wifi + 5G + heure + batterie) ----
     Decorative : aucun contenu indexable, aria-hidden sur le markup.
     2e passe 2026-06-23 : "vrai haut d'OS mobile". 3 zones tripartites iOS : gauche
     (operateur+signal), centre (heure), droite (cluster data cisele wifi+5G+batterie).
     Le centre est cale en absolu pour un vrai centrage optique meme flancs asymetriques.
     PROFONDEUR systeme : la barre d'etat porte une plaque/teinte propre (::before, gradient
     indigo plus sombre + liseré bas) qui la DETACHE de la ligne identite -> hierarchie nette
     "barre OS au-dessus du chrome", sans aucun backdrop-filter. */
  .app-statusbar{
    position:relative;
    display:flex;align-items:center;justify-content:space-between;
    height:var(--app-statusbar-h);flex:0 0 auto;
    /* renfonce la barre d'etat dans les marges du header pour que la plaque file bord-a-bord */
    margin:0 calc(-1 * max(var(--app-gutter),var(--sa-left))) 2px calc(-1 * max(var(--app-gutter),var(--sa-right)));
    padding:0 max(var(--app-gutter),var(--sa-left));
    font-family:'Barlow',sans-serif;font-size:11px;font-weight:600;letter-spacing:.02em;
    color:var(--app-ink);text-shadow:0 1px 3px rgba(7,5,15,.9);line-height:1;
  }
  /* plaque systeme : teinte indigo plus profonde que la ligne identite + liseré bas tres
     fin -> la barre d'etat se LIT comme une couche OS distincte (hierarchie), 0 blur. */
  /* plaque cinematique discrete (3e passe) : degrade indigo 3 stops (sombre haut ->
     creux bas) + liseré bas rose tres fin + DOUBLE inset (highlight haut fin + ombre
     interne basse) -> la barre OS a une vraie profondeur de couche, sans crier. Reste
     un FOND (opacites basses, c'est la hierarchie qui parle, pas la couleur). */
  .app-statusbar::before{content:'';position:absolute;inset:0;z-index:-1;
    background:linear-gradient(180deg,rgba(5,3,14,.62) 0%,rgba(9,5,20,.40) 55%,rgba(12,7,26,.22) 100%);
    border-bottom:1px solid rgba(255,46,147,.12);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.055),inset 0 -3px 6px -4px rgba(0,0,0,.45)}
  .app-sb-left{display:flex;align-items:center;gap:7px;min-width:0}
  /* operateur LEONIDA : micro-typo de marque + petit glyphe d'identite GTA in-game.
     Le glyphe (.app-sb-mark) = losange rose galbe facon "logo reseau grave", sobre,
     pose avant le wordmark. Antonio condense, tracking large, accent rose contenu. */
  .app-sb-carrier{display:inline-flex;align-items:center;gap:5px;
    font-family:'Antonio','Bebas Neue',sans-serif;font-weight:700;
    font-size:10.5px;letter-spacing:.18em;text-transform:uppercase;color:var(--app-accent);
    text-shadow:0 0 10px rgba(255,46,147,.35),0 1px 3px rgba(7,5,15,.9)}
  .app-sb-mark{width:8px;height:8px;flex:0 0 auto;border-radius:2px;transform:rotate(45deg);
    background:linear-gradient(135deg,var(--app-accent) 0%,var(--app-magenta) 100%);
    box-shadow:0 0 7px rgba(255,46,147,.55),inset 0 0 0 .5px rgba(255,255,255,.35)}
  /* indicateur reseau cisele : 4 barres montantes a coins arrondis, remplies en degrade
     cream (signal capte) ou estompees (.off). Largeur 3px + radius 1.5px = galbe OS mobile,
     pas un trait sec. align flex-end pour la marche d'escalier propre. */
  .app-sb-net{display:flex;align-items:flex-end;gap:2.5px;height:10px}
  /* barres pleines : degrade cream + micro highlight gauche (liseré .5px clair) = galbe
     cylindrique fin, pas un trait plat. Ombre portee tres basse pour decoller du fond. */
  .app-sb-net i{width:3px;border-radius:1.5px;display:block;
    background:linear-gradient(180deg,#FFF6E9 0%,var(--app-ink) 100%);
    box-shadow:inset .5px 0 0 rgba(255,255,255,.3),0 .5px 1px rgba(7,5,15,.4)}
  .app-sb-net i:nth-child(1){height:4px}
  .app-sb-net i:nth-child(2){height:6px}
  .app-sb-net i:nth-child(3){height:8px}
  .app-sb-net i:nth-child(4){height:10px}
  .app-sb-net i.off{background:rgba(242,234,216,.28)}
  /* ---- CLUSTER DROIT cisele : mute + wifi + 5G + batterie, alignes et espaces au cordeau (rythme iOS).
     gap 7px entre groupes, baseline commune, glyphes de meme hauteur optique (~10-11px).
     Le bouton mute (son OS) est pose EN TETE du cluster droit, calé sur la meme baseline ;
     hit-area 44px assure par un pseudo (le glyphe reste petit ~13px pour ne pas bousculer
     la rangee ni la collision avec l'heure centrale a 320px). ---- */
  .app-sb-right{display:flex;align-items:center;gap:7px}
  /* bouton mute du son OS : glyphe haut-parleur cisele, meme palette cream que le cluster.
     C'est un VRAI <button> dans la status bar (a droite, pres batterie/heure). La cible
     tactile fait 44px via un ::before transparent etale, le glyphe reste compact ~13px. */
  .app-sb-mute{position:relative;display:inline-flex;align-items:center;justify-content:center;
    width:15px;height:13px;flex:0 0 auto;background:none;border:0;padding:0;margin:0;cursor:pointer;
    color:var(--app-ink);-webkit-tap-highlight-color:transparent;line-height:0}
  .app-sb-mute::before{content:'';position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
    width:var(--hit-min);height:var(--hit-min)} /* hit-area 44px, invisible */
  .app-sb-mute svg{width:15px;height:13px;display:block;filter:drop-shadow(0 .5px 1px rgba(7,5,15,.5))}
  /* les 2 glyphes (on/off) sont empiles ; le JS bascule .app-muted pour montrer le bon. */
  .app-sb-mute .mute-off{display:none}
  .app-sb-mute.app-muted .mute-on{display:none}
  .app-sb-mute.app-muted .mute-off{display:block}
  .app-sb-mute.app-muted{color:rgba(242,234,216,.5)}
  /* icone WIFI fine : 3 arcs concentriques + point, dessines en bordures arrondies.
     Conique impossible sans SVG -> on l'evoque par 3 demi-anneaux empiles (box + border-top
     transparente) ; rendu propre et leger. height calee sur le reseau (galbe coherent). */
  .app-sb-wifi{position:relative;width:14px;height:11px;flex:0 0 auto}
  .app-sb-wifi i{position:absolute;left:50%;border:1.6px solid var(--app-ink);
    border-bottom-color:transparent;border-left-color:transparent;border-right-color:transparent;
    border-radius:50%;transform:translateX(-50%) rotate(0deg);
    filter:drop-shadow(0 .5px .5px rgba(7,5,15,.4))} /* meme decollage que les barres reseau */
  /* 3 arcs : on les fabrique en cercles clippes par overflow du parent (demi-haut visible) */
  .app-sb-wifi{overflow:hidden}
  .app-sb-wifi i:nth-child(1){width:14px;height:14px;top:5px}
  .app-sb-wifi i:nth-child(2){width:9px;height:9px;top:7px}
  .app-sb-wifi i:nth-child(3){width:4px;height:4px;top:9px;
    border:0;background:var(--app-ink);border-radius:50%;transform:translateX(-50%)}
  /* "5G" typographie proprement : le 5 (chiffre, Antonio) porte la graisse, le G (Barlow)
     est plus petit en exposant optique. Rapport de taille soigne facon vrai label data. */
  .app-sb-4g{display:inline-flex;align-items:baseline;gap:.5px;opacity:.95;flex:0 0 auto;
    font-family:'Antonio','Bebas Neue',sans-serif;font-weight:700}
  .app-sb-4g .g5n{font-size:11px;letter-spacing:0}
  .app-sb-4g .g5g{font-size:8px;font-weight:700;letter-spacing:.02em;transform:translateY(-.5px)}
  /* heure : element REEL (#app-sb-time, rafraichi JS). Graisse haute + tracking serre
     facon horloge SF iOS. tabular-nums pour eviter le micro-jitter au changement de minute. */
  .app-sb-time{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
    font-family:'Antonio','Bebas Neue',sans-serif;font-weight:700;font-size:13px;
    letter-spacing:-.01em;font-variant-numeric:tabular-nums;
    text-shadow:0 1px 4px rgba(7,5,15,.95)}
  /* niveau batterie : VALEUR UNIQUE pilote a la fois le texte (.app-sb-batt-pct, ecrit en
     dur dans le markup) ET le remplissage (width du fill via cette var). Pour changer le
     niveau, modifier --app-batt-level ICI et le "84" du markup ensemble (coherence stricte). */
  .app-sb-batt{display:flex;align-items:center;gap:4px;flex:0 0 auto;--app-batt-level:84%}
  .app-sb-batt-pct{font-family:'Antonio','Bebas Neue',sans-serif;font-weight:700;
    font-size:11px;letter-spacing:.01em;font-variant-numeric:tabular-nums;opacity:.92}
  /* glyphe batterie SCULPTE 3e passe : la coque se lit comme du verre (liseré cream +
     highlight haut interne + micro-ombre interne basse), le fill teal porte un specular
     en haut (bande blanche tres fine = reflet liquide), le teton est galbe (degrade +
     liseré). Objectif : vrai composant, pas un rectangle. Padding 1.4px = liseré coque. */
  /* coque : inline-block + border-box OBLIGATOIRES. En inline (defaut du <span>), un
     parent inline n'etablit pas de containing block dimensionne -> le width:% du fill
     enfant se resolvait sur une largeur indeterminee = 0px (fill invisible malgre 84%).
     inline-block fixe une box de 23px de large -> le fill resout son % dessus. border-box
     pour que les 23px incluent border+padding (la zone interieure de remplissage est
     stable et le fill occupe ~84% de cette zone interieure visible). */
  .app-sb-batt-shell{position:relative;display:inline-block;box-sizing:border-box;
    vertical-align:middle;width:23px;height:11px;border-radius:3.5px;
    border:1.4px solid rgba(242,234,216,.92);padding:1.4px;
    /* triple inset : ombre interne basse (creux), liseré sombre fin (separe coque/fill),
       highlight haut interne (verre capte la lumiere) -> coque qui a une epaisseur. */
    box-shadow:inset 0 -1px 1.5px rgba(7,5,15,.45),inset 0 0 0 .5px rgba(7,5,15,.35),inset 0 1px 0 rgba(255,255,255,.22)}
  /* teton galbe : degrade vertical (pas un bloc plat) + liseré sombre cote contact */
  .app-sb-batt-shell::after{content:"";position:absolute;right:-3px;top:50%;transform:translateY(-50%);
    width:2px;height:4.5px;border-radius:0 2px 2px 0;
    background:linear-gradient(180deg,rgba(255,255,255,.95) 0%,rgba(242,234,216,.85) 100%);
    box-shadow:-.5px 0 0 rgba(7,5,15,.3)}
  /* fill teinte teal (niveau haut). display:block + width pilote par la var unique
     --app-batt-level (84% par defaut, herite de .app-sb-batt). overflow:hidden pour
     clipper le specular au radius interne. */
  .app-sb-batt-fill{position:relative;display:block;height:100%;width:var(--app-batt-level,84%);
    border-radius:1.5px;overflow:hidden;
    background:linear-gradient(180deg,#7CFFE9 0%,var(--app-teal) 58%,#05C9AE 100%);
    box-shadow:0 0 6px rgba(0,229,200,.42)}
  /* specular liquide : bande claire fine en haut du fill (reflet), s'estompe vers le bas. */
  .app-sb-batt-fill::before{content:"";position:absolute;left:0;right:0;top:0;height:42%;
    border-radius:1.5px 1.5px 3px 3px;
    background:linear-gradient(180deg,rgba(255,255,255,.55) 0%,rgba(255,255,255,0) 100%)}

  /* ---- LIGNE 2 : chrome fonctionnel (back / titre-wordmark / toggle FR-EN) ---- */
  .app-chrome{display:flex;align-items:center;gap:10px;flex:1 1 auto;min-height:44px}
  .app-back{
    width:var(--hit-min);height:var(--hit-min);margin-left:-10px;
    display:none;align-items:center;justify-content:center;
    background:none;border:0;cursor:pointer;color:var(--app-ink);flex:0 0 auto;
  }
  .app-stack .app-back{display:inline-flex}
  .app-back svg{width:22px;height:22px}
  /* wordmark / titre : graisse haute Antonio. Le tracking est plus serre (1.2px) que
     l'ancien 1.5px pour une lecture compacte facon nom d'app, le drama venant du <em>. */
  .app-title{
    flex:1 1 auto;min-width:0;
    font-family:'Antonio','Bebas Neue',sans-serif;font-weight:700;
    font-size:1.04rem;letter-spacing:1.2px;text-transform:uppercase;
    color:var(--app-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
    text-shadow:0 1px 4px rgba(7,5,15,.85)}
  /* accent wordmark "GTA6" : pattern signature du site (.mch-name em) -> skew + gradient
     sunset clippe au texte + lueur rose basse pour decoller du fond (faux-verre, 0 blur). */
  .app-title em{font-style:normal;display:inline-block;transform:skewX(-9deg);
    background:linear-gradient(120deg,var(--app-accent) 0%,var(--app-accent-2) 60%,var(--app-gold) 100%);
    -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
    padding-right:.06em;
    filter:drop-shadow(0 0 8px rgba(255,46,147,.30))}
  /* logo GTA 6 (decision operateur risque marque assume 2026-06-24) : sur les pages racine
     (home FR/EN), le wordmark texte ACHETERGTA6 est remplace par le LOGO officiel GTA VI
     (image transparente). Hauteur fixe 36px, largeur auto -> pas de deformation. Pose dans
     .app-title (ligne 2 du header). Sur les pages POUSSEES, .app-title reste le titre TEXTE
     de la page (le logo n'apparait QUE sur l'identite home). La lueur rose decolle du fond
     sombre sans blur (drop-shadow). Le logo NE touche PAS la status bar (ligne 1, heure
     centree) : aucune collision possible a 320px. */
  .app-title-logo{display:block;height:36px;width:auto;max-width:62vw;
    object-fit:contain;flex:0 0 auto;
    filter:drop-shadow(0 1px 3px rgba(7,5,15,.6)) drop-shadow(0 0 10px rgba(255,46,147,.22))}
  /* quand le logo est present, .app-title ne porte plus son propre fond/typo : c'est juste
     un conteneur flex pour l'image + la pastille FAN SITE. On neutralise le text-overflow
     (inutile sur une image). gap serre logo<->pastille, la pastille reste accolee. */
  .app-title.app-title-haslogo{overflow:visible;display:flex;align-items:center;gap:7px}
  /* ---- PASTILLE "FAN SITE / NON OFFICIEL" (mitigation marque, decision operateur 2026-06-24) ----
     But : signaler CLAIREMENT que le site n'est PAS officiel (reduit la confusion conso). Posee
     accolee au logo GTA 6 sur l'identite home (uniquement quand .app-title-haslogo, jamais sur
     une page poussee a titre texte). Capsule a bord fin + fond translucide teinte (faux-verre,
     0 backdrop-filter), 2 lignes : FAN SITE (rose accent) + NON OFFICIEL (cream estompe). Lisible
     mais discrete : ne bouscule pas la ligne identite. NON interactive (decorative, aria-hidden
     cote markup). flex:0 0 auto -> ne s'etire pas ; tient a cote du logo + pill FR/EN a 320px
     (logo ~48px + gap + pastille ~58px + pill ~80px << largeur .app-chrome a 320px). */
  .app-fansite{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;
    flex:0 0 auto;gap:1px;line-height:1;padding:3px 7px;border-radius:7px;
    background:linear-gradient(160deg,rgba(255,46,147,.16) 0%,rgba(7,5,15,.5) 100%);
    border:1px solid rgba(255,46,147,.42);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 1px 3px rgba(7,5,15,.5)}
  .app-fansite .app-fansite-1{font-family:'Antonio','Bebas Neue',sans-serif;font-weight:700;
    font-size:9px;letter-spacing:.14em;text-transform:uppercase;color:var(--app-accent);
    text-shadow:0 0 8px rgba(255,46,147,.4),0 1px 2px rgba(7,5,15,.9)}
  .app-fansite .app-fansite-2{font-family:'Antonio','Bebas Neue',sans-serif;font-weight:700;
    font-size:6.5px;letter-spacing:.10em;text-transform:uppercase;color:rgba(242,234,216,.78)}
  /* tres etroit (<=340px) : le logo retrecit a 56vw pour garantir la pastille + le pill FR/EN
     sans collision. La pastille reste a cote (jamais en dessous, la ligne identite tient). */
  @media (max-width:340px){
    .app-title-logo{max-width:56vw}
    .app-fansite{padding:3px 6px}
  }
  /* toggle FR/EN en PILL ciselee (reprise maquette gta-phone .lang) : capsule arrondie,
     liseré soft + inset highlight, l'onglet actif porte le degrade rose->magenta plein.
     Hit target 44px garanti par la hauteur de .app-chrome ; la pill reste compacte
     visuellement mais chaque <a> a un padding genereux pour la zone tactile. */
  .app-lang{display:inline-flex;align-items:stretch;flex:0 0 auto;height:30px;
    border-radius:100px;overflow:hidden;
    border:1px solid rgba(255,255,255,.14);
    background:rgba(7,5,15,.42);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 1px 4px rgba(7,5,15,.4);
    font-family:'Barlow',sans-serif;font-weight:700;font-size:.66rem;letter-spacing:.10em}
  .app-lang a{display:inline-flex;align-items:center;justify-content:center;
    min-width:34px;padding:0 11px;color:rgba(242,234,216,.5);text-decoration:none;
    transition:color .2s var(--app-ease),background .2s var(--app-ease)}
  .app-lang a.active{color:#fff;
    background:linear-gradient(120deg,var(--app-accent),var(--app-magenta));
    text-shadow:0 1px 2px rgba(7,5,15,.4);pointer-events:none}
  /* separateur supprime visuellement (la pill segmente deja) : le <span>/ du JS reste
     dans le markup mais on le neutralise pour ne pas casser la capsule. */
  .app-lang span{display:none}

  /* contenu : reserve la hauteur du header fixe */
  body{padding-top:calc(var(--app-header-h) + var(--sa-top))!important}
  /* heros arrivent edge-to-edge sous le header (deja margin-top:0 via nav-stack) */

  /* =====================  CTA COLLANT : SUPPRIME (decision operateur 2026-06-24)  =====================
     L'ancienne barre #app-cta persistante est RETIREE de la couche app mobile. L'acces
     permanent a l'achat est desormais porte par l'onglet "Acheter" du dock + sa sheet.
     La conversion est relayee par la NOTIFICATION (#app-cnotif) declenchee AU SCROLL.
     - Le markup #app-cta n'est plus injecte (inject_app_shell.py le strippe du fragment).
     - Le hook window.__APP_CTA__ n'est plus pose (cta_config supprime de l'injecteur).
     - Garde-fou faux-verre : si un #app-cta survivait dans un draft (re-run partiel), on
       le force a display:none (jamais d'element collant fantome). Le token --app-cta-h
       reste defini (inoffensif) : il n'est plus consomme par aucune reserve de padding. */
  html body a#app-cta.app-cta-sticky{display:none!important}

  /* contenu : plus de CTA collant -> reserve uniquement la hauteur du dock + safe-area. */
  body{padding-bottom:calc(var(--app-dock-clear) + var(--sa-bottom))!important}

  /* =====================  TAB BAR  =====================
     Specificite et !important RENFORCES sur le positionnement : nav-stack est
     injecte DANS le <body> (donc declare APRES notre bloc head) et pose des
     `top:...!important` qui fuient sur les <nav> fixed via la cascade. On bat ca
     avec un selecteur ID (html body nav#app-tabbar) + top:auto!important pour
     coller la barre EN BAS et non sous le header. Critere : rect.bottom == innerHeight. */
  /* DOCK OS-telephone : la tab bar devient un dock FLOTTANT arrondi (marges laterales,
     rayon 26px, home indicator simule en ::after). On garde position:fixed/bottom:0
     (le dock reste fixe en bas, sa mecanique JS est intouchee) ; le flottement vient
     des marges + du padding-bottom qui reserve la place du home indicator + safe-area.
     Critere fixed conserve : c'est toujours un fixed bottom, juste avec des marges. */
  html body nav#app-tabbar.app-tabbar{
    position:fixed!important;top:auto!important;bottom:0!important;left:0!important;right:0!important;
    z-index:335!important;transform:none!important;
    /* hauteur = respiration haut + dock visuel + zone home indicator + safe-area.
       Le pad-top s'AJOUTE a la hauteur (plaque plus haute) : il pousse les tuiles vers
       le bas sans rogner les 22px du home indicator. */
    height:calc(var(--app-dock-pad-top) + var(--app-tabbar-h) + 22px + var(--sa-bottom));
    /* marges laterales : flottement du dock (pas pleine largeur) */
    margin:0 max(12px,var(--sa-left)) 0 max(12px,var(--sa-right))!important;
    width:auto!important;max-width:none!important;
    /* padding-top : descend les tuiles sous le bord haut de la plaque (containment du lift
       actif + anneau + capsule). bas = home indicator (16px) + safe-area. */
    padding:var(--app-dock-pad-top) 8px calc(16px + var(--sa-bottom)) 8px!important;
    display:grid;grid-template-columns:repeat(4,1fr);align-items:stretch;
    /* faux-verre dock : surface indigo flottante + halo sunset + bordure néon, rayon 26px haut.
       Pas de bordure basse (le dock "decolle" du bord). Aucun backdrop-filter. */
    background:var(--app-halo),var(--app-bar);
    border:1px solid var(--app-border-soft);border-bottom:0;
    border-radius:26px 26px 0 0;
    /* plaque dock 3e passe : ombre montante noire (decolle du bord) + halo rose montant +
       DOUBLE inset (highlight blanc fin + liseré néon rose tres fin au ras du bord haut)
       -> la plaque a une arete eclairee, matiere un cran au-dessus, 0 blur. */
    box-shadow:0 -8px 30px -10px rgba(0,0,0,.7),0 -2px 26px -10px rgba(255,46,147,.30),
      inset 0 1px 0 rgba(255,255,255,.10),inset 0 2px 0 -1px rgba(255,46,147,.22);
  }
  /* home indicator facon iOS, clin d'oeil OS, sous les apps */
  /* home indicator soigne : barre cream legerement galbe (degrade horizontal + highlight
     haut fin) -> petit objet, pas un trait gris plat. */
  html body nav#app-tabbar.app-tabbar::after{
    content:'';position:absolute;left:50%;
    bottom:calc(7px + var(--sa-bottom));transform:translateX(-50%);
    width:110px;height:4px;border-radius:3px;
    background:linear-gradient(90deg,rgba(242,234,216,.22) 0%,rgba(242,234,216,.34) 50%,rgba(242,234,216,.22) 100%);
    box-shadow:inset 0 .5px 0 rgba(255,255,255,.25),0 .5px 1px rgba(0,0,0,.3);
  }
  /* DOCK OS-telephone = VRAI dock d'OS = rangee de TUILES d'apps (pas des pictos monochromes).
     2e passe 2026-06-23 : chaque onglet porte une tuile carre-arrondie 40px rayon 13px,
     MEME grammaire que les tuiles 60px du springboard (juste plus petites), icone en
     negatif dedans. Teinte par app coherente avec la tuile springboard correspondante
     (Images=gold->sunset, News=teal, Accueil=indigo violet maison, Acheter=sunset).
     DOSAGE RETENU = "actif-sature" : les apps INACTIVES portent une tuile TEINTEE SOBRE
     (teinte de famille a faible opacite sur base indigo, liseré soft) ; la pleine
     saturation est RESERVEE a l'app active (+ anneau + scale + glow) et a Acheter. Ca se
     lit comme une rangee d'apps SANS saturer ni ecraser l'actif. Premium, pas kitsch. */
  .app-tab{
    position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;
    gap:5px;min-height:var(--hit-min);text-decoration:none;
    color:var(--app-ink);background:none;border:0;cursor:pointer;font:inherit;
    -webkit-tap-highlight-color:transparent;
  }
  /* la tuile : caisson colore commun a TOUS les onglets (sauf Acheter qui a sa propre regle).
     Au repos = tuile teintee sobre. svg en negatif cream a l'interieur. */
  .app-tab-icon{
    position:relative;width:40px;height:40px;border-radius:13px;flex:0 0 auto;
    display:flex;align-items:center;justify-content:center;overflow:hidden;
    background:linear-gradient(150deg,rgba(58,46,92,.55) 0%,rgba(26,19,48,.7) 100%);
    /* matiere d'icone iOS (3e passe) : inset highlight haut + liseré interne fin + OMBRE
       PORTEE douce sous la tuile (objet pose sur la plaque, pas carre peint). */
    box-shadow:inset 0 1px 0 rgba(255,255,255,.08),inset 0 0 0 .5px rgba(255,255,255,.06),
      0 3px 7px -3px rgba(0,0,0,.55),0 6px 14px -6px rgba(0,0,0,.5);
    transition:transform .22s var(--app-ease),box-shadow .25s var(--app-ease),background .25s var(--app-ease);
  }
  /* GLOSS verni iOS : highlight blanc tres leger en haut de chaque tuile, s'estompe vite.
     Clippe par overflow:hidden au radius. Dose pour ne PAS laver la couleur (max ~.16). */
  .app-tab-icon::after{content:'';position:absolute;left:0;right:0;top:0;height:52%;
    pointer-events:none;border-radius:13px 13px 40% 40%/13px 13px 18px 18px;
    background:linear-gradient(180deg,rgba(255,255,255,.16) 0%,rgba(255,255,255,.04) 45%,rgba(255,255,255,0) 100%)}
  .app-tab svg{position:relative;z-index:1;width:23px;height:23px;display:block;color:rgba(242,234,216,.86);
    transition:color .2s var(--app-ease)}
  .app-tab:active .app-tab-icon{transform:scale(.9)}
  /* teintes de tuile INACTIVE par famille (sobres) : reprend la teinte springboard a basse
     opacite -> on devine la couleur d'app sans crier. Selecteur par data-tab. */
  .app-tab[data-tab="images"] .app-tab-icon{
    background:linear-gradient(150deg,rgba(255,179,71,.28) 0%,rgba(178,60,18,.34) 100%)}
  .app-tab[data-tab="news"] .app-tab-icon{
    background:linear-gradient(150deg,rgba(0,229,200,.24) 0%,rgba(6,125,108,.34) 100%)}
  .app-tab[data-tab="home"] .app-tab-icon{
    background:linear-gradient(150deg,rgba(124,58,237,.32) 0%,rgba(59,26,110,.4) 100%)}
  /* labels DOCK : Antonio condense uppercase, tracking serre facon label d'app OS.
     Repos = cream estompe (l'actif/Acheter passent en plein). */
  .app-tab-lbl{font-family:'Antonio','Bebas Neue',sans-serif;font-size:.6rem;font-weight:700;
    letter-spacing:.05em;text-transform:uppercase;line-height:1;color:rgba(242,234,216,.62);
    transition:color .2s var(--app-ease)}

  /* ---- etat ACTIF : l'app active doit SAUTER AUX YEUX. Tuile pleine saturation de sa
     famille + anneau/halo de selection + leger scale + glow + indicateur capsule. ---- */
  /* LIFT actif (3e passe) : l'app selectionnee SE SOULEVE hors du dock -> translateY
     negatif + scale. L'ombre portee plus longue/profonde est portee par la regle de
     teinte de chaque famille (ci-dessous). One-shot via la transition existante (pas
     de keyframe infini). Le dock n'a pas d'overflow:hidden -> lift NON clippe. */
  .app-tab[aria-current="page"] .app-tab-icon{transform:translateY(-4px) scale(1.07)}
  .app-tab[aria-current="page"] svg{color:#fff;filter:drop-shadow(0 1px 2px rgba(0,0,0,.35))}
  .app-tab[aria-current="page"] .app-tab-lbl{color:var(--app-ink);
    text-shadow:0 0 10px rgba(255,46,147,.3)}
  /* pleine teinte + anneau rose + glow colore selon la famille active */
  /* ombres portees actif = anneau rose + glow famille + OMBRE PORTEE NOIRE longue (le lift
     creuse une ombre profonde sous la tuile soulevee = objet detache du dock). */
  .app-tab[data-tab="images"][aria-current="page"] .app-tab-icon{
    background:linear-gradient(150deg,var(--app-gold) 0%,var(--app-accent-2) 100%);
    box-shadow:0 0 0 2px rgba(255,46,147,.55),0 10px 26px -6px rgba(255,179,71,.7),0 14px 24px -10px rgba(0,0,0,.65),inset 0 1px 0 rgba(255,255,255,.3)}
  .app-tab[data-tab="news"][aria-current="page"] .app-tab-icon{
    background:linear-gradient(150deg,var(--app-teal) 0%,#067D6C 100%);
    box-shadow:0 0 0 2px rgba(255,46,147,.55),0 10px 26px -6px rgba(0,229,200,.6),0 14px 24px -10px rgba(0,0,0,.65),inset 0 1px 0 rgba(255,255,255,.3)}
  .app-tab[data-tab="home"][aria-current="page"] .app-tab-icon{
    background:linear-gradient(150deg,#7C3AED 0%,#3B1A6E 100%);
    box-shadow:0 0 0 2px rgba(255,46,147,.55),0 10px 26px -6px rgba(124,58,237,.65),0 14px 24px -10px rgba(0,0,0,.65),inset 0 1px 0 rgba(255,255,255,.3)}
  .app-tab[data-tab="images"][aria-current="page"] svg,
  .app-tab[data-tab="news"][aria-current="page"] svg{color:#07050F}
  /* indicateur actif : capsule neon rose->sunset suspendue au bord haut du dock, glow.
     Posee a -1px pour mordre le liseré du dock facon vrai indicateur d'onglet. */
  .app-tab[aria-current="page"]::before{
    content:'';position:absolute;top:-1px;left:50%;transform:translateX(-50%);
    width:30px;height:3px;border-radius:0 0 3px 3px;
    background:linear-gradient(90deg,var(--app-accent),var(--app-accent-2));
    box-shadow:0 2px 14px rgba(255,46,147,.75);
  }

  /* onglet Acheter : action chaude permanente = la tuile-vedette du dock. MEME caisson 40px
     rayon 13px que les autres tuiles (grammaire homogene) mais sweep sunset signature
     (rose->sunset->gold) toujours sature + ombre colorée profonde + inset highlight +
     glow pulse. Centre de gravite, identifiable en 1s, sans dominer l'actif (memes dimensions). */
  .app-tab-buy .app-tab-icon{
    background:linear-gradient(150deg,var(--app-accent) 0%,var(--app-accent-2) 62%,var(--app-gold) 100%);
    /* tuile-vedette POSEE : glow rose + ombre portee noire pour l'asseoir physiquement
       sur la plaque (objet, pas peinture). Le pulse fait respirer le glow rose. */
    box-shadow:0 8px 22px -6px rgba(255,46,147,.8),0 10px 18px -8px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.28),inset 0 0 0 .5px rgba(255,255,255,.12);
    animation:appBuyPulse 3s var(--app-ease) infinite;
  }
  @keyframes appBuyPulse{0%,100%{box-shadow:0 8px 20px -8px rgba(255,46,147,.6),0 10px 18px -8px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.28),inset 0 0 0 .5px rgba(255,255,255,.12)}
    50%{box-shadow:0 11px 30px -6px rgba(255,46,147,.95),0 10px 18px -8px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.28),inset 0 0 0 .5px rgba(255,255,255,.12)}}
  .app-tab-buy .app-tab-icon svg{color:#fff;filter:drop-shadow(0 1px 2px rgba(120,10,60,.5))}
  .app-tab-buy:active .app-tab-icon{transform:scale(.93)}
  .app-tab-buy .app-tab-lbl{color:var(--app-accent);text-shadow:0 0 12px rgba(255,46,147,.4)}

  /* =====================  BOTTOM SHEET ACHETER  ===================== */
  /* z-index sheet/backdrop : DOIVENT depasser la banniere cookies #agt6cc
     (z-index:2147483000) pendant l'ouverture, sinon la banniere se superpose a la
     sheet (point 2). On les passe au-dessus de la banniere. La banniere, elle, est
     redescendue SOUS la sheet via `body.app-sheet-open #agt6cc` plus bas : elle
     reste affichee et fonctionnelle (gate de consentement intact, aucun tracking
     ne fuite), simplement empilee derriere la sheet le temps de l'ouverture. */
  html body div#app-sheet-backdrop.app-sheet-backdrop{
    position:fixed!important;inset:0!important;top:0!important;z-index:2147483400!important;background:rgba(3,2,8,0);
    opacity:0;visibility:hidden;transition:opacity var(--app-sheet-dur) var(--app-ease),visibility 0s linear var(--app-sheet-dur);
  }
  /* scrim teinté nuit Vice City (indigo profond, pas noir neutre) */
  html body div#app-sheet-backdrop.app-sheet-backdrop.app-open{background:rgba(10,5,24,.66);opacity:1;visibility:visible;transition:opacity var(--app-sheet-dur) var(--app-ease)}
  html body div#app-sheet.app-sheet{
    position:fixed!important;top:auto!important;left:0!important;right:0!important;bottom:0!important;z-index:2147483410!important;
    width:auto!important;max-width:none!important;margin:0!important;
    max-height:90vh;
    /* faux-verre sheet : halo sunset cousu en haut + surface indigo + bordure néon +
       ombre colorée montante. Le halo donne la lueur "pick reco" du site sans blur. */
    background:var(--app-halo),var(--app-surface);
    border-radius:var(--app-radius-sheet) var(--app-radius-sheet) 0 0;
    border-top:1px solid var(--app-border);
    box-shadow:0 -16px 52px -12px rgba(255,46,147,.32),0 -12px 48px rgba(0,0,0,.5),var(--app-inset);
    padding:8px max(var(--app-gutter),var(--sa-left)) calc(18px + var(--sa-bottom)) max(var(--app-gutter),var(--sa-right));
    transform:translateY(100%);
    transition:transform var(--app-sheet-dur) var(--app-ease);
    touch-action:none;overflow:hidden;
  }
  html body div#app-sheet.app-sheet.app-open{transform:translateY(0)}
  /* grabber : teinté rose néon avec petit glow (rappel des accents du site) */
  .app-sheet-grab{width:40px;height:4px;border-radius:4px;margin:6px auto 14px;
    background:linear-gradient(90deg,var(--app-accent),var(--app-accent-2));
    box-shadow:0 0 12px rgba(255,46,147,.5);opacity:.85}
  .app-sheet-title{font-family:'Antonio','Bebas Neue',sans-serif;font-weight:700;
    font-size:1.15rem;letter-spacing:1.5px;text-transform:uppercase;color:var(--app-ink);margin:0 0 14px}
  /* accent du titre (em) : skew + gradient sunset clippe, pattern .mch-name em */
  .app-sheet-title em{font-style:normal;display:inline-block;transform:skewX(-9deg);
    background:linear-gradient(120deg,var(--app-accent) 0%,var(--app-accent-2) 60%,var(--app-gold) 100%);
    -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;padding-right:.06em}
  .app-sheet-scroll{overflow-y:auto;-webkit-overflow-scrolling:touch;max-height:calc(90vh - 90px);overscroll-behavior:contain}
  /* item standard : surface card du site (indigo teinté + bordure soft + inset highlight) */
  .app-sheet-link{
    display:flex;align-items:center;gap:12px;min-height:var(--hit-list);
    padding:12px 14px;margin-bottom:9px;border-radius:14px;text-decoration:none;
    background:linear-gradient(135deg,rgba(255,255,255,.045) 0%,rgba(255,255,255,.02) 100%);
    border:1px solid var(--app-border-soft);box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
    color:var(--app-ink);font-family:'Barlow',sans-serif;font-weight:600;font-size:.92rem;
    transition:transform .2s var(--app-ease),box-shadow .2s var(--app-ease),border-color .2s var(--app-ease);
  }
  .app-sheet-link:active{transform:scale(.985)}
  /* item HOT (précommander) : signature pick reco -> halo cousu + dégradé rose +
     bordure néon + ombre colorée. Glass rose du site, zéro blur. */
  .app-sheet-link[data-hot]{
    background:radial-gradient(120% 100% at 14% 0%,rgba(255,46,147,.20) 0%,rgba(255,107,53,.07) 44%,transparent 72%),
      linear-gradient(135deg,rgba(255,46,147,.22) 0%,rgba(120,20,70,.18) 100%);
    border-color:rgba(255,140,200,.42);
    box-shadow:0 12px 34px -16px rgba(255,46,147,.7),inset 0 1px 0 rgba(255,255,255,.14);
  }
  .app-sheet-link[data-hot] .app-sheet-ic{color:#fff}
  .app-sheet-link .app-sheet-ic{flex:0 0 auto;width:22px;height:22px;color:var(--app-accent)}
  .app-sheet-link .app-sheet-go{margin-left:auto;color:rgba(242,234,216,.42);flex:0 0 auto}
  .app-sheet-link[data-hot] .app-sheet-go{color:rgba(255,255,255,.6)}
  .app-sheet-note{font-family:'Barlow',sans-serif;font-size:.7rem;color:rgba(242,234,216,.5);
    margin:12px 2px 0;line-height:1.45}

  /* =====================  TOAST  ===================== */
  html body div#app-toast.app-toast{
    position:fixed!important;top:auto!important;left:50%!important;right:auto!important;transform:translate(-50%,20px);
    bottom:calc(var(--app-dock-clear) + var(--sa-bottom) + 14px)!important;z-index:2147483220!important;
    max-width:calc(100vw - 32px);padding:11px 18px;border-radius:100px;
    background:var(--app-halo),var(--app-bar);border:1px solid var(--app-border);
    box-shadow:0 10px 30px -10px rgba(255,46,147,.4),var(--app-inset);
    font-family:'Barlow',sans-serif;font-size:.82rem;color:var(--app-ink);
    opacity:0;visibility:hidden;transition:opacity .25s,transform .25s,visibility 0s linear .25s;
  }
  html body div#app-toast.app-toast.app-open{opacity:1;visibility:visible;transform:translate(-50%,0);transition:opacity .25s,transform .25s}

  /* =====================  BANNIERE COOKIES (#agt6cc) vs zone app  =====================
     Mise en conformite CNIL 2026-06-24. Sur mobile :
       - le GROS bandeau plein-largeur #agt6cc est masque (backdrop-filter + layout
         encombrant inadaptes sous 768px) ; il est REMPLACE par la barre LEGERE
         proactive #agt6cc-bar (definie dans le snippet cookie, ancree au-dessus du
         dock, Accepter/Refuser equivalents, gate GA identique via __AGT6CC__).
       - le pill #agt6cc-reopen reste VISIBLE et tappable (acces persistant pour
         modifier le choix a tout moment, art. 7.3 RGPD). On le force au-dessus du dock
         (335) et du CTA (340) : z 2147483300. backdrop-filter coupe (interdit <768px),
         remplace par une surface opaque indigo (faux-verre cousu, 0 blur).
     La section cookies de la sheet Acheter reste un acces COMPLEMENTAIRE (cable JS).
     Gate GA intact : rien ne se charge avant un choix explicite, d'ou qu'il vienne. */
  #agt6cc{display:none!important}
  /* pill persistant : visible, au-dessus du dock/CTA, faux-verre opaque (pas de blur).
     bottom remonte au-dessus du dock flottant (reserve --app-dock-clear) + safe-area. */
  html body #agt6cc-reopen{
    display:inline-flex!important;z-index:2147483300!important;
    left:max(12px,var(--sa-left));bottom:calc(var(--app-dock-clear) + var(--sa-bottom) + 8px);
    background:linear-gradient(180deg,rgba(22,13,48,.985),rgba(11,7,24,.99))!important;
    backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
    border:1px solid rgba(255,46,147,.34)!important;color:#F2EAD8!important;opacity:1!important;
    min-height:36px;box-shadow:0 8px 24px -10px rgba(255,46,147,.4),inset 0 1px 0 rgba(255,255,255,.08);
  }
  /* CTA collant supprime (2026-06-24) : plus de surcote --app-cta-h. Le pill cookies et
     la barre legere proactive s'ancrent directement au-dessus du dock (reserve
     --app-dock-clear) ; les anciennes regles body.app-has-cta sont retirees. */

  /* ---- bloc consentement DANS la sheet Acheter (mobile, en BAS, acces complementaire) ----
     marge-top : separe le bloc de la note affiliate qui le precede desormais. */
  .app-cc{margin:14px 0 4px;padding:14px;border-radius:16px;
    background:linear-gradient(165deg,rgba(255,46,147,.10),rgba(7,5,15,.5));
    border:1px solid rgba(255,46,147,.22)}
  .app-cc-h{font-family:'Antonio','Bebas Neue',sans-serif;font-weight:700;font-size:.95rem;
    letter-spacing:.3px;text-transform:uppercase;color:#fff;margin:0 0 6px}
  .app-cc-p{font-family:'Barlow',sans-serif;font-size:.78rem;line-height:1.45;
    color:rgba(242,234,216,.72);margin:0 0 12px}
  .app-cc-p a{color:var(--app-accent);text-decoration:underline;text-underline-offset:2px}
  .app-cc-btns{display:flex;gap:10px}
  /* refus = accept (deux boutons equivalents, meme taille / meme hit target) */
  .app-cc-btn{flex:1 1 0;min-height:var(--hit-comfort);display:flex;align-items:center;
    justify-content:center;font-family:'Barlow',sans-serif;font-weight:800;font-size:.8rem;
    letter-spacing:.6px;text-transform:uppercase;border-radius:12px;cursor:pointer;
    border:1px solid transparent;padding:0 12px}
  .app-cc-refuse{background:rgba(248,233,214,.07);color:#F8E9D6;border-color:rgba(248,233,214,.32)}
  .app-cc-accept{background:linear-gradient(135deg,var(--app-accent) 0%,var(--app-magenta) 100%);color:#fff;
    box-shadow:0 8px 24px -8px rgba(255,46,147,.6)}
  /* etat REDUIT (choix deja fait) : simple lien "Gerer les cookies" */
  .app-cc.app-cc-done{background:none;border:0;padding:6px 2px;margin:0 0 8px}
  .app-cc.app-cc-done .app-cc-h,.app-cc.app-cc-done .app-cc-p,.app-cc.app-cc-done .app-cc-btns{display:none}
  .app-cc-manage{display:none;align-items:center;gap:6px;background:none;border:0;cursor:pointer;
    font-family:'Barlow',sans-serif;font-weight:700;font-size:.74rem;letter-spacing:.4px;
    color:rgba(242,234,216,.6);text-decoration:underline;text-underline-offset:2px;padding:4px 0}
  .app-cc.app-cc-done .app-cc-manage{display:inline-flex}

  /* =====================  SKELETON  ===================== */
  .app-skel{position:relative;overflow:hidden;background:#131022;border-radius:12px}
  .app-skel::after{content:'';position:absolute;inset:0;
    background:linear-gradient(90deg,transparent,rgba(255,46,147,.06),transparent);
    transform:translateX(-100%);animation:appShimmer 1.3s infinite}
  @keyframes appShimmer{100%{transform:translateX(100%)}}

  /* =====================  GALERIE : grille 2 col + en-tetes de region collants legers ===================== */
  .gallery-grid{grid-template-columns:repeat(2,1fr)!important;gap:8px!important}
  /* anti-CLS (m2) : le conteneur .g-tile porte deja aspect-ratio:4/3 (CSS de page).
     On NE remet PAS height:auto (qui debrayait le ratio du conteneur et provoquait
     le micro-CLS au decodage) : l'img reprend hauteur 100% du tile + son propre
     aspect-ratio:4/3 (filet de securite si une img n'est pas dans un .g-tile). */
  .gallery-grid img,.g-tile img{width:100%;height:100%;aspect-ratio:4/3;object-fit:cover;display:block}
  /* en-tete de region collant et COMPACT : on garde le titre, on masque le sous-texte
     sous 768px pour rester une barre fine (anti saut de layout). L'ancetre est en
     overflow-x:clip (html/body), le sticky tient. */
  .region-head{position:sticky;top:calc(var(--app-header-h) + var(--sa-top));z-index:20;
    background:var(--app-surface);border-bottom:1px solid var(--app-border-soft);
    box-shadow:0 4px 18px -12px rgba(255,46,147,.4);
    padding:7px var(--app-gutter)!important;margin:0!important;
    transition:top var(--app-header-dur) var(--app-ease)}
  /* m1 : header app retracte -> le titre de region remonte au ras (sinon creux de
     ~52px au-dessus du sticky pendant le scroll vers le bas). Synchro de la classe
     body.app-header-hidden posee par le onScroll du header. */
  body.app-header-hidden .region-head{top:var(--sa-top)}
  .region-head p{display:none!important}
  .region-head h2{font-size:1.05rem!important;margin:0!important}

  /* =====================  BANDEAU SETUP "Choisis ta machine" : SWIPEABLE au doigt =====================
     Decision operateur 2026-06-22 + fix builder 2026-06-22 : sous 768px le marquee ne defile
     plus en auto ; il devient un carrousel a scroll horizontal tactile avec snap leger sur
     chaque carte machine (`.setup-pill`).
     PIEGE corrige : le conteneur scrollable est le PARENT `.setup-marquee` (clientWidth ~364,
     scrollWidth ~3902), PAS `.setup-track`. Le track est en width:max-content (3902px), donc
     son scrollWidth == clientWidth -> rien a scroller, et lui mettre overflow:auto le figeait.
     On scrolle donc le parent (qui clippe la zone viewport) et on laisse le track simplement
     large en max-content.
     IMPERATIF memoire : overscroll-behavior-x:contain pour ne pas happer le scroll vertical
     (scroll-trap). mask-image du parent compatible overflow-x:auto (fade des bords conserve).
     Specificite (0,2,0) sur `.setup-section .setup-marquee` > la regle de page `.setup-marquee`
     (0,1,0). Scoping `.setup-section ...` : inoffensif sur les pages sans bandeau. */
  .setup-section .setup-marquee{
    overflow-x:auto;overflow-y:hidden;
    scroll-snap-type:x proximity;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;
    scrollbar-width:none;-ms-overflow-style:none;
    scroll-padding-left:var(--app-gutter);
    touch-action:pan-x;
  }
  .setup-section .setup-marquee::-webkit-scrollbar{display:none;width:0;height:0}
  .setup-section .setup-track{
    animation:none!important;
    flex-wrap:nowrap!important;
    width:max-content;max-width:none;
  }
  .setup-section .setup-track>.setup-pill{
    flex:0 0 auto!important;
    scroll-snap-align:start;
  }

  /* ============================================================================
     MOTION 2 : FEEDBACK DOCK (micro-interaction, pression instantanee).
     Le dock (.app-tab) + le bouton Acheter portaient deja un scale sur .app-tab-icon
     (lift actif intact). On ajoute le feedback de PRESSION sur la tuile elle-meme +
     une transition franche/courte. C'est du feedback, pas une transition : <=120ms.
     transform only (GPU). Le lift de l'app active (aria-current) n'est PAS touche. */
  .app-tab .app-tab-icon{transition:transform 120ms var(--ease-out)}
  .app-tab:active:not([aria-current="page"]) .app-tab-icon{transform:scale(.94)}
  /* Acheter : meme pression (override du scale .93 existant pour la valeur cible .94) */
  .app-tab-buy:active .app-tab-icon{transform:scale(.94)}
  /* ============================================================================
     MOTION 1 : OUVERTURE D'APP (overlay zoom rect -> plein ecran, WAAPI).
     L'element est cree par le JS (off-DOM jusqu'au tap), pose en position:fixed sur
     le rect EXACT de la tuile, teinte de la couleur de famille, puis anime en
     clip-path (rect->inset(0)) + un voile qui monte. transform/opacity/clip-path only.
     Aucune transition CSS ici : l'animation est pilotee par element.animate() (WAAPI),
     off-main-thread. Ce bloc ne fait que poser la peau de l'overlay. */
  /* fade-in d'entree de page (opacity-only, universel).
     Pose par le JS via classe sur <html> au chargement. */
  html.app-open-enter body{animation:appOpenEnter 220ms var(--ease-out) both}
  @keyframes appOpenEnter{from{opacity:0}to{opacity:1}}

  /* ============================================================================
     MOTION 3 : TRANSITION DE PAGE DIRECTIONNELLE (push/pop) sous 768px.
     Override des ::view-transition-*(root) globaux de styles-mch (fade+translateY 6px)
     par une variante HORIZONTALE directionnelle, UNIQUEMENT sous 768px (le desktop
     garde le fade vertical de styles-mch). Le sens est porte par une classe sur <html>
     posee par le JS AVANT la navigation : .app-vt-push (defaut) ou .app-vt-pop.
     transform/opacity only. Fallback : navigateurs sans View Transitions -> nav normale
     (rien a faire, styles inertes). Les tuiles springboard navigent normalement
     (fondu d'entree via app-open-enter). Ce bloc s'applique a TOUS les liens internes (dock, liens internes,
     bouton retour, swipe-back). */
  /* PUSH (avant) : la nouvelle page entre depuis la DROITE, l'ancienne glisse a gauche. */
  html.app-vt-push::view-transition-old(root){animation:appVtOldPush 300ms var(--ease-out) both}
  html.app-vt-push::view-transition-new(root){animation:appVtNewPush 300ms var(--ease-out) both}
  @keyframes appVtOldPush{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(-22px)}}
  @keyframes appVtNewPush{from{opacity:0;transform:translateX(30px)}to{opacity:1;transform:translateX(0)}}
  /* POP (retour) = FERMETURE D'APP (grammaire iOS). Au lieu d'un slide directionnel, la
     page qui PART se referme : elle RETRECIT (scale 1 -> .9), s'arrondit (border-radius
     0 -> 22px, coin de tuile) et s'efface (opacity 1 -> 0). La page d'accueil/precedente
     REAPPARAIT derriere, legerement zoomee (scale .96 -> 1 + fade-in court) -> lecture
     "l'app se ferme et on retombe sur l'ecran d'accueil". transform/opacity/border-radius
     only (GPU). EXIT plus rapide que l'ENTER (doctrine emil : la sortie doit liberer vite
     l'attention) : old ~260ms, new ~300ms. transform-origin centre (la tuile s'efface sur
     place, pas vers un coin). z-index : la page qui part reste au-dessus le temps de se
     fermer (on la voit retrecir PAR-DESSUS la page d'accueil qui se devoile).
     view-transition-name:root est porte par styles-mch (capture root globale). */
  html.app-vt-pop::view-transition-old(root){
    animation:appVtClose 260ms var(--ease-out) both;
    transform-origin:center center;z-index:2;
  }
  html.app-vt-pop::view-transition-new(root){
    animation:appVtReveal 300ms var(--ease-out) both;
    transform-origin:center center;z-index:1;
  }
  @keyframes appVtClose{
    from{opacity:1;transform:scale(1);border-radius:0}
    to{opacity:0;transform:scale(.9);border-radius:22px}
  }
  @keyframes appVtReveal{
    from{opacity:.4;transform:scale(.96)}
    to{opacity:1;transform:scale(1)}
  }

  /* =====================  reduced-motion : translations -> fondus ===================== */
  @media (prefers-reduced-motion:reduce){
    .app-header,.app-sheet,.app-toast{transition-property:opacity!important}
    .app-tab[aria-current="page"]::before{transition:none}
    .app-skel::after{animation:none}
    /* lift actif : l'ETAT souleve reste (translateY applique par aria-current), seule la
       transition de mouvement est coupee -> pas d'animation de glissement. */
    .app-tab-icon{transition:none!important}
    /* glow pulses coupés : la lueur reste (box-shadow statique du keyframe 0%), pas l'animation */
    .app-tab-buy .app-tab-icon{animation:none!important}
    /* MOTION 2 : pas de scale de pression (mouvement). Le feedback haptique (vibrate)
       reste, lui (non concerne par le mouvement visuel, gere cote JS). */
    .app-tab:active:not([aria-current="page"]) .app-tab-icon,
    .app-tab-buy:active .app-tab-icon{transform:none!important}
    /* MOTION 1 supprime : fondu d'entree desactive sous reduced-motion. */
    html.app-open-enter body{animation:none!important}
    /* MOTION 3 : push/pop -> fondu seul, pas de slide horizontal. On neutralise le
       translateX des variantes directionnelles et on retombe sur un cross-fade. */
    html.app-vt-push::view-transition-old(root),html.app-vt-pop::view-transition-old(root){animation:vc-old .2s ease both!important}
    html.app-vt-push::view-transition-new(root),html.app-vt-pop::view-transition-new(root){animation:appOpenEnter .2s ease both!important}
  }

  /* ============================================================================
     FEATURE 2 : INVITE D'INSTALLATION (banniere notif ~60s) + OVERLAY TUTO.
     Sur TOUTES les pages <768px (pas homes-only) : timer 60s, gate standalone +
     snooze (localStorage agt6_install_snooze) + 1x/session. Reutilise la grammaire
     visuelle de #app-cnotif (capsule iOS slide-down) mais en element DEDIE #app-install.
     Zero backdrop-filter. transform/opacity only. reduced-motion -> fondu (plus bas). */
  .app-install{display:none!important}
  body .app-install.app-install-on{
    display:block!important;
    position:fixed!important;top:0!important;left:0!important;right:0!important;
    z-index:2147483540!important; /* au-dessus du header (340), SOUS la notif conversion (2147483550) */
    padding:calc(10px + var(--sa-top)) max(12px,var(--sa-left)) 0 max(12px,var(--sa-right));
    pointer-events:none;
    transform:translateY(-130%);opacity:0;
    transition:transform 300ms var(--ease-out),opacity 300ms var(--ease-out);
    will-change:transform,opacity;touch-action:none;
  }
  body .app-install.app-install-in{transform:translateY(0);opacity:1}
  body .app-install.app-install-out{transform:translateY(-130%);opacity:0;pointer-events:none}
  /* capsule : reprend .app-cnotif-cap (icone app + texte) avec un accent install. */
  .app-install-cap{position:relative;overflow:hidden;pointer-events:auto;
    margin:0 auto;max-width:404px;display:flex;align-items:flex-start;gap:12px;
    padding:13px 14px 13px 13px;border-radius:22px;text-align:left;cursor:pointer;
    background:none;border:1px solid rgba(255,255,255,.12);width:calc(100% - 0px);min-height:var(--hit-comfort);
    background-image:
      radial-gradient(120% 100% at 0% 0%,rgba(0,229,200,.18) 0%,rgba(255,46,147,.10) 46%,transparent 74%),
      linear-gradient(160deg,rgba(24,19,42,.96) 0%,rgba(12,9,24,.95) 100%);
    box-shadow:0 20px 48px -20px rgba(7,5,15,.9),0 6px 20px -10px rgba(0,229,200,.34),
      inset 0 1px 0 rgba(255,255,255,.07)}
  .app-install-cap::after{content:"";position:absolute;top:0;left:14px;right:14px;height:1px;
    background:linear-gradient(90deg,transparent,rgba(255,255,255,.28),transparent);pointer-events:none}
  .app-install-cap:active{transform:scale(.99)}
  /* icone app install : tuile teal->indigo avec glyphe "telecharger sur ecran" */
  .app-install-ic{flex:none;width:42px;height:42px;border-radius:11px;display:grid;place-items:center;
    background:linear-gradient(150deg,var(--app-teal) 0%,#067D6C 100%);
    box-shadow:0 8px 20px -8px rgba(0,229,200,.7),inset 0 1px 0 rgba(255,255,255,.22)}
  .app-install-ic svg{width:22px;height:22px;display:block;color:#07050F}
  .app-install-x{position:absolute;top:6px;right:6px;width:var(--hit-min);height:var(--hit-min);
    display:grid;place-items:center;background:none;border:0;cursor:pointer;
    color:rgba(242,234,216,.5);pointer-events:auto;z-index:2}
  .app-install-x svg{width:16px;height:16px}
  .app-install-handle{width:96px;height:4px;border-radius:3px;background:rgba(242,234,216,.30);
    margin:9px auto 0;pointer-events:none}

  /* ---- OVERLAY TUTO (plein ecran leger, fermable) : etapes selon plateforme ---- */
  .app-tuto{display:none!important}
  body .app-tuto.app-tuto-on{
    display:flex!important;flex-direction:column;
    position:fixed!important;inset:0!important;z-index:2147483560!important; /* au-dessus de l'invite */
    padding:var(--sa-top) 0 var(--sa-bottom);
    background:
      radial-gradient(120% 60% at 20% 4%,rgba(0,229,200,.18) 0%,transparent 52%),
      radial-gradient(120% 60% at 88% 100%,rgba(255,46,147,.20) 0%,transparent 56%),
      linear-gradient(180deg,rgba(9,6,18,.97) 0%,rgba(7,5,15,.98) 100%);
    opacity:0;transition:opacity 280ms var(--ease-out);overflow-y:auto;-webkit-overflow-scrolling:touch}
  body .app-tuto.app-tuto-in{opacity:1}
  .app-tuto-sheet{margin:auto;width:100%;max-width:440px;padding:24px max(20px,var(--sa-left)) 28px max(20px,var(--sa-right))}
  .app-tuto-x{position:absolute;top:calc(10px + var(--sa-top));right:14px;width:var(--hit-min);height:var(--hit-min);
    display:grid;place-items:center;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);
    border-radius:50%;cursor:pointer;color:var(--app-ink);z-index:2}
  .app-tuto-x svg{width:18px;height:18px}
  .app-tuto-appicon{width:64px;height:64px;border-radius:16px;margin:0 auto 14px;display:grid;place-items:center;
    background:linear-gradient(150deg,var(--app-accent) 0%,var(--app-accent-2) 62%,var(--app-gold) 100%);
    box-shadow:0 14px 34px -10px rgba(255,46,147,.6),inset 0 1px 0 rgba(255,255,255,.28)}
  .app-tuto-appicon svg{width:34px;height:34px;color:#fff}
  .app-tuto-title{font-family:'Antonio','Bebas Neue',sans-serif;font-weight:700;font-size:1.4rem;
    letter-spacing:.6px;text-transform:uppercase;color:var(--app-ink);text-align:center;margin:0 0 6px}
  .app-tuto-title em{font-style:normal;display:inline-block;transform:skewX(-9deg);
    background:linear-gradient(120deg,var(--app-accent) 0%,var(--app-accent-2) 60%,var(--app-gold) 100%);
    -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;padding-right:.06em}
  .app-tuto-sub{font-family:'Barlow',sans-serif;font-size:.86rem;line-height:1.45;
    color:rgba(242,234,216,.7);text-align:center;margin:0 auto 22px;max-width:340px}
  .app-tuto-steps{display:flex;flex-direction:column;gap:12px;margin:0 0 20px}
  .app-tuto-step{display:flex;align-items:flex-start;gap:14px;padding:14px;border-radius:16px;
    background:linear-gradient(135deg,rgba(255,255,255,.045) 0%,rgba(255,255,255,.02) 100%);
    border:1px solid var(--app-border-soft);box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}
  .app-tuto-step-n{flex:0 0 auto;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;
    font-family:'Antonio','Bebas Neue',sans-serif;font-weight:700;font-size:14px;color:#07050F;
    background:linear-gradient(150deg,var(--app-teal) 0%,#067D6C 100%);
    box-shadow:0 4px 12px -4px rgba(0,229,200,.5)}
  .app-tuto-step-txt{flex:1;min-width:0;font-family:'Barlow',sans-serif;font-size:.88rem;line-height:1.4;
    color:rgba(242,234,216,.92);padding-top:3px}
  .app-tuto-step-txt b{color:var(--app-ink);font-weight:700}
  .app-tuto-step-txt .tuto-glyph{display:inline-flex;vertical-align:-3px;margin:0 1px;color:var(--app-teal)}
  .app-tuto-step-txt .tuto-glyph svg{width:16px;height:16px}
  .app-tuto-note{font-family:'Barlow',sans-serif;font-size:.78rem;line-height:1.45;
    color:rgba(242,234,216,.55);text-align:center;margin:0 auto 18px;max-width:330px}
  .app-tuto-note strong{color:var(--app-teal);font-weight:700}
  /* bouton d'action (install natif Android, ou "Compris" pour fermer) */
  .app-tuto-cta{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;
    min-height:var(--hit-comfort);border:0;cursor:pointer;border-radius:14px;
    font-family:'Barlow',sans-serif;font-weight:800;font-size:.9rem;letter-spacing:.6px;text-transform:uppercase;
    color:#fff;background:linear-gradient(135deg,var(--app-accent) 0%,var(--app-magenta) 100%);
    box-shadow:0 12px 34px -10px rgba(255,46,147,.6),inset 0 1px 0 rgba(255,255,255,.18)}
  .app-tuto-cta:active{transform:scale(.985)}
  .app-tuto-dismiss{display:block;width:100%;margin-top:12px;min-height:var(--hit-min);
    background:none;border:0;cursor:pointer;font-family:'Barlow',sans-serif;font-weight:600;
    font-size:.8rem;letter-spacing:.4px;color:rgba(242,234,216,.5);text-decoration:underline;text-underline-offset:2px}

  @media (prefers-reduced-motion:reduce){
    /* FEATURE 2 : invite install + tuto -> fondu seul (pas de slide vertical). */
    body .app-install{transition-property:opacity!important}
    body .app-install.app-install-in{transform:none!important;opacity:1}
    body .app-install.app-install-out{transform:none!important;opacity:0}
    .app-tuto-cta:active,.app-install-cap:active{transform:none!important}
  }
}


