/* Labo : page des jeux, refonte du 13 nov. 2026 d'après dialed.gg (thème sombre).
   Fond presque noir, cartes sombres en relief, une icône d'appli à la couleur du jeu, titre en 500 serré, bouton blanc « jouer »,
   et trois vrais écrans du jeu en éventail qui débordent de la carte. Mobile d'abord. */
:root{
  --page:#0E0E0E; --card:#181818; --card-2:#1F1F1F; --ink:#F5F5F5; --ink-2:#A3A3A3; --ink-3:#7A7A7A;
  --btn:#FAFAFA; --btn-ink:#0A0A0A; --nav-glass:rgba(14,14,14,.82); --hair:rgba(255,255,255,.06); --hair-2:rgba(255,255,255,.045);
  --drop:0 30px 60px -32px rgba(0,0,0,.95); --drop-hi:0 40px 70px -30px rgba(0,0,0,1); --chip:#1C1C1C;
  --wrap:1080px; --r:22px;
  --spring:cubic-bezier(.32,1.25,.5,1); --out:cubic-bezier(.23,1,.32,1);
}
html, body{ background:var(--page); }
body{ font-family:Geist, ui-sans-serif, system-ui, sans-serif; letter-spacing:-.011em; }
::selection{ background:var(--ink); color:var(--page); }

/* ---------- barre du haut : le mot, les rubriques, l'action ---------- */
.nav{ position:sticky; top:0; z-index:30; padding-top:env(safe-area-inset-top); transition:background-color .25s ease, box-shadow .25s ease; }
body.is-scrolled .nav{ background:var(--nav-glass); -webkit-backdrop-filter:saturate(1.6) blur(18px); backdrop-filter:saturate(1.6) blur(18px); box-shadow:0 1px 0 var(--hair); }
.nav__in{ display:flex; align-items:center; gap:28px; max-width:calc(var(--wrap) + 2 * 24px); height:68px; margin:0 auto; padding:0 24px; }
.nav__mark{ display:inline-flex; align-items:center; gap:9px; flex:none; text-decoration:none; color:var(--ink); font-size:19px; font-weight:600; letter-spacing:-.04em; }
.nav__mark img{ width:26px; height:26px; border-radius:7px; }
.nav__links{ display:flex; gap:22px; min-width:0; overflow-x:auto; scrollbar-width:none; }
.nav__links::-webkit-scrollbar{ display:none; }
.nav__links a{ position:relative; flex:none; padding:6px 0; color:var(--ink-2); font-size:15px; text-decoration:none; transition:color .2s ease; }
.nav__links a::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:2px; border-radius:2px; background:var(--ink); transform:scaleX(0); transition:transform .3s var(--out); }
.nav__links a[aria-current]{ color:var(--ink); }
.nav__links a[aria-current]::after{ transform:none; }
.nav__end{ display:flex; align-items:center; gap:10px; margin-left:auto; flex:none; }
.nav .me{ background:var(--chip); box-shadow:inset 0 0 0 1px var(--hair); -webkit-backdrop-filter:none; backdrop-filter:none; }
@media (hover:hover) and (pointer:fine){ .nav__links a:hover{ color:var(--ink); } }

/* ---------- contenu ---------- */
.home{ max-width:calc(var(--wrap) + 2 * 24px); margin:0 auto; padding:18px 24px calc(env(safe-area-inset-bottom) + 64px); }
body[data-page="app"] .home{ padding-bottom:calc(var(--tabs-h) + 40px); }
.intro{ margin:6px 0 18px; color:var(--ink-2); font-size:15px; }
.intro b{ color:var(--ink); font-weight:500; }

/* le bouton blanc */
.pill{ display:inline-flex; align-items:center; justify-content:center; height:42px; padding:0 20px; border-radius:999px; background:var(--btn); color:var(--btn-ink);
  font-size:15px; font-weight:500; letter-spacing:-.01em; white-space:nowrap; transition:transform .16s var(--out), background-color .2s ease; }

/* l'icône d'appli */
.ico{ display:grid; place-items:center; flex:none; width:54px; height:54px; border-radius:15px; color:#0B0B0B;
  background:linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0) 55%), var(--c);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35), inset 0 -1px 0 rgba(0,0,0,.12), 0 8px 18px -8px color-mix(in srgb, var(--c) 70%, transparent); }
.ico svg{ width:28px; height:28px; stroke-width:2.1; }

/* ---------- une carte = un jeu ---------- */
.gc{ --c:#FAFAFA; position:relative; display:flex; flex-direction:column; min-height:460px; overflow:hidden; isolation:isolate;
  border-radius:var(--r); text-decoration:none; color:var(--ink);
  background:radial-gradient(90% 60% at 70% 110%, color-mix(in srgb, var(--c) 12%, transparent), transparent 70%), linear-gradient(180deg, var(--card-2), var(--card) 60%);
  box-shadow:inset 0 1px 0 var(--hair), inset 0 0 0 1px var(--hair-2), var(--drop);
  transition:transform .35s var(--out), box-shadow .35s var(--out); -webkit-tap-highlight-color:transparent; }
.gc__txt{ position:relative; z-index:2; display:flex; flex-direction:column; align-items:flex-start; padding:34px 34px 0; }
.gc__h{ display:flex; align-items:center; gap:16px; }
.gc__t{ font-size:34px; line-height:1.02; font-weight:500; letter-spacing:-.04em; text-wrap:balance; }
.gc__s{ max-width:32ch; margin:16px 0 22px; color:var(--ink-2); font-size:15.5px; line-height:1.45; text-wrap:pretty; }
.gc .t__rec{ margin:-10px 0 18px; color:var(--ink-3); font-size:13px; }
.gc .t__rec b{ color:var(--ink); font-weight:500; font-variant-numeric:tabular-nums; }

/* l'éventail : trois écrans de téléphone, le plus parlant devant */
.fan{ position:relative; z-index:1; display:block; height:250px; margin-top:auto; pointer-events:none; }
.fan__s{ position:absolute; left:34px; top:24px; width:188px; height:auto; aspect-ratio:360 / 779; border-radius:24px; background:#111;
  box-shadow:0 0 0 1px rgba(255,255,255,.08), 0 24px 40px -12px rgba(0,0,0,.7);
  transform-origin:50% 100%; transition:transform .55s var(--spring), filter .4s ease; }
.fan__s--0{ z-index:3; }
.fan__s--1{ z-index:2; transform:translate(58px, -14px) rotate(5deg) scale(.95); filter:brightness(.62); }
.fan__s--2{ z-index:1; transform:translate(112px, -28px) rotate(10deg) scale(.9); filter:brightness(.42); }

/* la carte à la une : texte à gauche, éventail à droite */
.gc--hero{ min-height:400px; flex-direction:row; align-items:center; }
.gc--hero .gc__txt{ flex:1 1 50%; padding:56px 0 56px 56px; }
.gc--hero .gc__t{ font-size:46px; }
.gc--hero .gc__s{ font-size:17px; max-width:30ch; }
.gc--hero .pill{ height:46px; padding:0 24px; font-size:16px; }
.gc--hero .fan{ flex:1 1 50%; align-self:stretch; height:auto; margin:0; }
.gc--hero .fan__s{ left:12%; top:44px; width:230px; }
.gc--hero .fan__s--1{ transform:translate(78px, -18px) rotate(5deg) scale(.95); }
.gc--hero .fan__s--2{ transform:translate(150px, -34px) rotate(10deg) scale(.9); }

@media (hover:hover) and (pointer:fine){
  .gc:hover{ transform:translateY(-3px); box-shadow:inset 0 1px 0 var(--hair), inset 0 0 0 1px var(--hair), var(--drop-hi); }
  .gc:hover .pill{ transform:scale(1.03); }
  .gc:hover .fan__s--0{ transform:translateY(-10px); }
  .gc:hover .fan__s--1{ transform:translate(70px, -26px) rotate(7deg) scale(.95); filter:brightness(.75); }
  .gc:hover .fan__s--2{ transform:translate(136px, -46px) rotate(14deg) scale(.9); filter:brightness(.55); }
  .gc--hero:hover .fan__s--1{ transform:translate(92px, -28px) rotate(7deg) scale(.95); }
  .gc--hero:hover .fan__s--2{ transform:translate(178px, -52px) rotate(14deg) scale(.9); }
}
.gc:active{ transform:scale(.985); transition-duration:.12s; }
.gc:focus-visible{ outline:2px solid var(--ink); outline-offset:4px; }

/* ---------- rubriques ---------- */
.gsec{ padding-top:56px; scroll-margin-top:72px; }
.gsec__h{ display:flex; align-items:baseline; justify-content:space-between; gap:8px 24px; flex-wrap:wrap; margin:0 0 18px; }
.gsec__h h2{ margin:0; font-size:24px; font-weight:500; letter-spacing:-.035em; }
.gsec__h p{ margin:0; color:var(--ink-3); font-size:14.5px; }
.ggrid{ display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:24px; }
.ggrid .gc__txt{ padding:30px 30px 0; }
.ggrid .gc__t{ font-size:30px; }
.ggrid .fan__s{ left:30px; }

/* ---------- bande finale (installer) ---------- */
.band{ display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; margin-top:64px; padding:44px 48px; border-radius:var(--r);
  background:radial-gradient(70% 120% at 0% 0%, rgba(255,107,157,.16), transparent 60%), linear-gradient(180deg, var(--card-2), var(--card));
  box-shadow:inset 0 1px 0 var(--hair), inset 0 0 0 1px var(--hair-2), var(--drop); }
.band__t{ margin:0; font-size:30px; font-weight:500; letter-spacing:-.04em; line-height:1.1; }
.band__s{ margin:10px 0 0; max-width:42ch; color:var(--ink-2); font-size:15.5px; }
.band .pill{ height:46px; padding:0 24px; font-size:16px; text-decoration:none; }
.foot2{ display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-top:40px; color:var(--ink-3); font-size:13px; }
.foot2 a{ color:var(--ink-2); }

/* ---------- tablette ---------- */
@media (max-width:980px){
  .ggrid{ grid-template-columns:repeat(2, minmax(0, 1fr)); gap:18px; }
}
/* ---------- téléphone ---------- */
@media (max-width:640px){
  .nav__in{ height:auto; flex-wrap:wrap; gap:4px 16px; padding:10px 16px 6px; }
  .nav__links{ order:3; width:100%; gap:20px; margin:0 -16px; padding:2px 16px 4px; }
  .home{ padding:10px 16px calc(env(safe-area-inset-bottom) + 48px); }
  .intro{ margin:4px 0 14px; font-size:14px; }
  .ggrid{ grid-template-columns:1fr; gap:16px; }
  .gsec{ padding-top:40px; }
  .gc{ min-height:430px; }
  .gc__txt, .ggrid .gc__txt{ padding:26px 24px 0; }
  .gc__t, .ggrid .gc__t{ font-size:30px; }
  .ico{ width:48px; height:48px; border-radius:13px; }
  .ico svg{ width:25px; height:25px; }
  .gc--hero{ flex-direction:column; align-items:stretch; min-height:540px; }
  .gc--hero .gc__txt{ padding:28px 24px 0; }
  .gc--hero .gc__t{ font-size:36px; }
  .gc--hero .gc__s{ font-size:16px; }
  .gc--hero .fan{ height:270px; flex:none; margin-top:auto; }
  .gc--hero .fan__s, .fan__s, .ggrid .fan__s{ left:24px; width:178px; top:22px; }
  .gc--hero .fan__s--1{ transform:translate(58px, -14px) rotate(5deg) scale(.95); }
  .gc--hero .fan__s--2{ transform:translate(112px, -28px) rotate(10deg) scale(.9); }
  .band{ padding:30px 24px; margin-top:48px; }
  .band__t{ font-size:26px; }
}
@media (prefers-reduced-motion:reduce){ .gc, .fan__s, .pill{ transition:none; } }
/* l'ancienne grille de hub.css ne s'applique plus ici */
.home #sections{ display:block; }
.pill, .pill:visited{ text-decoration:none; }
.gh{ margin:56px 0 18px; font-size:24px; font-weight:500; letter-spacing:-.035em; }
.ggrid .gc{ scroll-margin-top:88px; }
@media (max-width:640px){ .gh{ margin-top:40px; } }
/* ordinateur : pas de barre d'onglets en bas, « scores » passe dans la barre du haut */
.nav__lnk{ display:none; color:var(--ink-2); font-size:15px; text-decoration:none; padding:6px 4px; }
@media (min-width:900px) and (hover:hover){
  body[data-page="app"] .tabs{ display:none; }
  body[data-page="app"] .home{ padding-bottom:64px; }
  .nav__lnk{ display:inline-block; }
  .nav__lnk:hover{ color:var(--ink); }
}

/* ---------- bouton clair / sombre ---------- */
.thm{ display:grid; place-items:center; width:40px; height:40px; flex:none; border:0; border-radius:50%; cursor:pointer; color:var(--ink);
  background:var(--chip); box-shadow:inset 0 0 0 1px var(--hair); transition:transform .16s var(--out), background-color .2s ease; }
.thm svg{ width:18px; height:18px; }
.thm:active{ transform:scale(.92); }
.thm__sun{ display:none; }
:root[data-theme="light"] .thm__sun{ display:block; } :root[data-theme="light"] .thm__moon{ display:none; }

/* ---------- thème clair : le beige des jeux en gelée, cartes blanches ---------- */
:root[data-theme="light"]{
  color-scheme:light;
  --page:#F2EEE8; --card:#FFFDFA; --card-2:#FFFFFF; --ink:#1D1A17; --ink-2:#5F574F; --ink-3:#857B71;
  --btn:#1D1A17; --btn-ink:#FBF8F4; --nav-glass:rgba(242,238,232,.84); --hair:rgba(29,26,23,.07); --hair-2:rgba(29,26,23,.06);
  --drop:0 1px 2px rgba(40,30,20,.05), 0 24px 50px -30px rgba(40,30,20,.35); --drop-hi:0 1px 2px rgba(40,30,20,.06), 0 34px 60px -28px rgba(40,30,20,.45); --chip:#FFFDFA;
  /* jetons de hub.css et app.css */
  --bg:#F2EEE8; --raised:#FFFDFA; --raised-2:#F6F1EA; --line:rgba(29,26,23,.08); --line-2:rgba(29,26,23,.14);
  --fg:#1D1A17; --fg-2:#5F574F; --fg-3:#857B71;
  --glass:rgba(255,253,250,.72); --glass-hi:linear-gradient(180deg, rgba(255,255,255,.6), rgba(255,255,255,0) 60%);
  --glass-edge:inset 0 1px 0 rgba(255,255,255,.9), inset 0 0 0 1px rgba(29,26,23,.08); --glass-shadow:0 1px 2px rgba(40,30,20,.08), 0 24px 48px -16px rgba(40,30,20,.3);
}
:root[data-theme="light"] .gc{ background:linear-gradient(180deg, var(--card-2), var(--card) 60%); }
:root[data-theme="light"] .band{ background:radial-gradient(70% 120% at 0% 0%, rgba(255,107,157,.14), transparent 60%), linear-gradient(180deg, var(--card-2), var(--card)); }
:root[data-theme="light"] .ico{ box-shadow:inset 0 1px 0 rgba(255,255,255,.45), inset 0 -1px 0 rgba(0,0,0,.08), 0 6px 14px -8px color-mix(in srgb, var(--c) 80%, transparent); }
:root[data-theme="light"] .tabs, :root[data-theme="light"] .sheet{ background:var(--glass-hi), rgba(255,253,250,.9); box-shadow:var(--glass-edge), 0 -10px 40px -20px rgba(40,30,20,.35); }
:root[data-theme="light"] .tabs__pill{ background:rgba(29,26,23,.08); box-shadow:none; }
:root[data-theme="light"] .sheet::backdrop{ background:rgba(40,30,20,.25); }
:root[data-theme="light"] .sheet__grab{ background:rgba(29,26,23,.2); }
:root[data-theme="light"] .field input{ background:#F2EEE8; }
:root[data-theme="light"] .sw{ box-shadow:inset 0 0 0 1px rgba(0,0,0,.12); }
:root[data-theme="light"] .sw[aria-checked="true"]{ box-shadow:0 0 0 2px var(--page), 0 0 0 4px var(--ink); }
:root[data-theme="light"] .row__dot{ background:color-mix(in oklab, var(--c, #1D1A17) 22%, #FFFDFA); color:var(--ink); }
:root[data-theme="light"] .rec{ color:var(--btn-ink); background:var(--btn); }
:root[data-theme="light"] .btn--white, :root[data-theme="light"] .t__play{ color:var(--btn-ink); background:var(--btn); box-shadow:none; }
:root[data-theme="light"] .t__play svg{ fill:var(--btn-ink); }
:root[data-theme="light"] .me__av{ color:#0A0A0A; box-shadow:inset 0 0 0 1px rgba(0,0,0,.1); }
:root[data-theme="light"] .resume{ background:var(--card); box-shadow:inset 0 0 0 1px var(--hair), var(--drop); }
:root[data-theme="light"] .lbsw{ background:rgba(242,238,232,.8); }


/* ---------- 13 nov. 2026 (2) : la carte à la une, avec de vraies gelées à attraper (hub/toy.js) ---------- */
.gc--hero{ cursor:default; }
.gc--hero:hover{ transform:none; }
.toy{ position:relative; flex:1 1 56%; align-self:stretch; min-height:380px; margin:14px 14px 14px 0; border-radius:16px; overflow:hidden;
  background:#0A0A0A; box-shadow:inset 0 0 0 1px var(--hair); touch-action:none; }
:root[data-theme="light"] .toy{ background:#F3EFE9; }
.toy canvas{ position:absolute; inset:0; width:100%; height:100%; display:block; opacity:0; transition:opacity .6s ease; touch-action:none; }
.toy.is-ready canvas{ opacity:1; }
.toy canvas.grabbing{ cursor:grabbing !important; }
.toy__hud{ position:absolute; left:14px; top:14px; display:inline-flex; align-items:baseline; gap:6px; height:34px; padding:0 14px; border-radius:999px;
  background:var(--btn); color:var(--btn-ink); font-size:13px; font-weight:560; pointer-events:none; opacity:0; transform:translateY(-6px);
  transition:opacity .3s ease, transform .4s var(--out); line-height:34px; }
.toy__hud b{ font-size:18px; font-weight:650; letter-spacing:-.03em; font-variant-numeric:tabular-nums; }
.toy.played .toy__hud{ opacity:1; transform:none; }
.toy__hud.pop{ animation:toy-pop .45s var(--spring); }
@keyframes toy-pop{ 0%{ scale:1; } 35%{ scale:1.16; } 100%{ scale:1; } }
.toy__hint{ position:absolute; left:50%; bottom:16px; transform:translateX(-50%); display:inline-flex; align-items:center; gap:8px; white-space:nowrap;
  padding:9px 16px; border-radius:999px; background:var(--btn); color:var(--btn-ink); font-size:14px; font-weight:500; pointer-events:none;
  transition:opacity .4s ease; animation:toy-hint 2.4s ease-in-out infinite; }
.toy__hint svg{ width:18px; height:18px; }
.toy.played .toy__hint{ opacity:0; }
@keyframes toy-hint{ 0%, 100%{ translate:0 0; } 50%{ translate:0 -5px; } }
@media (max-width:640px){
  .toy{ flex:none; min-height:300px; margin:6px 14px 14px; }
}


.toy.no-gl .toy__hint{ animation:none; white-space:normal; text-align:center; width:max-content; max-width:85%; bottom:50%; transform:translate(-50%, 50%); }

/* ---------- 15 nov. 2026 : page de lancement, façon boutique de jeux ----------
   Trois rayons (les incontournables en grand, tous les jeux, en test), chaque carte = l'aperçu animé du jeu en haut
   (hub/previews/games/<jeu>.js, avec les vraies images du jeu), puis l'icône, le titre, une phrase et « jouer ». */
.shelf{ padding-top:64px; scroll-margin-top:80px; }
.shelf__h{ display:flex; align-items:baseline; justify-content:space-between; gap:6px 24px; flex-wrap:wrap; margin:0 0 20px; }
.shelf__h h2{ margin:0; font-size:clamp(26px, 3vw, 34px); font-weight:600; letter-spacing:-.045em; }
.shelf__h p{ margin:0; color:var(--ink-3); font-size:15px; }
.g2{ display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:24px; }
.g4{ display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:18px; }
.ggrid{ gap:22px; }
.gc{ min-height:0 !important; }
.gm{ position:relative; display:block; margin:10px 10px 0; aspect-ratio:4 / 3; border-radius:16px; overflow:hidden; background:#121212;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.06); isolation:isolate; }
.gc--big .gm{ aspect-ratio:16 / 10; }
.gm__pv{ position:absolute; inset:0; display:block; }
.gm__pv.pv{ width:100%; height:100%; }
.gm::after{ content:""; position:absolute; inset:0; pointer-events:none; border-radius:inherit;
  background:linear-gradient(180deg, transparent 70%, rgba(0,0,0,.35)); }
.gm__verb{ position:absolute; z-index:2; left:12px; top:12px; height:28px; padding:0 12px; display:inline-flex; align-items:center; border-radius:999px;
  background:var(--c); color:#0B0B0B; font-size:13px; font-weight:650; letter-spacing:-.01em; box-shadow:0 4px 14px -6px rgba(0,0,0,.6); }
.gm__beta{ position:absolute; z-index:2; right:12px; top:12px; height:24px; padding:0 10px; display:inline-flex; align-items:center; border-radius:999px;
  background:rgba(0,0,0,.6); color:#fff; font-size:12px; font-weight:600; -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); }
.gc__body{ display:flex; flex-direction:column; align-items:flex-start; gap:0; padding:20px 22px 22px; flex:1; }
.gc__body .gc__h{ gap:14px; }
.gc__body .ico{ width:44px; height:44px; border-radius:12px; } .gc__body .ico svg{ width:23px; height:23px; }
.gc__body .gc__t{ font-size:24px; }
.gc--big .gc__body .gc__t{ font-size:30px; }
.gc--big .gc__body .ico{ width:52px; height:52px; border-radius:14px; } .gc--big .gc__body .ico svg{ width:27px; height:27px; }
.gc__body .gc__s{ margin:12px 0 0; font-size:15px; }
.gc__f{ display:flex; align-items:center; gap:12px; margin-top:auto; padding-top:18px; }
.gc__body .t__rec{ margin:10px 0 0; }
.gc--beta .gc__body{ padding:16px 18px 18px; }
.gc--beta .gc__body .gc__t{ font-size:19px; }
.gc--beta .gc__body .ico{ width:36px; height:36px; border-radius:10px; } .gc--beta .gc__body .ico svg{ width:19px; height:19px; }
.gc--beta .gc__f{ padding-top:14px; } .gc--beta .pill{ height:36px; padding:0 16px; font-size:14px; }
.gc--beta{ opacity:.92; }
@media (hover:hover) and (pointer:fine){ .gc:hover .gm{ box-shadow:inset 0 0 0 1px rgba(255,255,255,.12), 0 0 0 3px color-mix(in srgb, var(--c) 45%, transparent); } }
.gm{ transition:box-shadow .3s var(--out); }
:root[data-theme="light"] .gm{ box-shadow:inset 0 0 0 1px rgba(0,0,0,.06); }
@media (max-width:980px){ .g2{ grid-template-columns:1fr; } .g4{ grid-template-columns:repeat(2, minmax(0, 1fr)); } }
@media (max-width:640px){
  .shelf{ padding-top:44px; }
  .g4{ grid-template-columns:repeat(2, minmax(0, 1fr)); gap:12px; }
  .gc--beta .gc__body .gc__t{ font-size:16px; } .gc--beta .gc__body .ico{ display:none; }
  .gc__body{ padding:16px 18px 18px; }
  .gm{ margin:8px 8px 0; }
}

/* ---------- le héros (15 nov. 2026) : ce qu'est le Labo, et une paillasse dessinée avec les vrais objets des jeux ---------- */
.lab{ display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1.1fr); gap:24px; align-items:stretch; margin:8px 0 56px; padding:12px; border-radius:var(--r);
  background:linear-gradient(180deg, var(--card-2), var(--card) 70%); box-shadow:inset 0 1px 0 var(--hair), inset 0 0 0 1px var(--hair-2), var(--drop); }
.lab__txt{ display:flex; flex-direction:column; align-items:flex-start; justify-content:center; padding:40px 12px 40px 36px; }
.lab__eye{ display:inline-flex; align-items:center; gap:8px; color:var(--ink-2); font-size:14px; font-weight:500; letter-spacing:.02em; }
.lab__eye img{ border-radius:6px; }
.lab__t{ margin:18px 0 0; font-size:clamp(44px, 6vw, 68px); line-height:.95; font-weight:500; letter-spacing:-.055em; }
.lab__s{ max-width:34ch; margin:18px 0 0; color:var(--ink-2); font-size:17px; line-height:1.45; text-wrap:pretty; }
.lab__steps{ display:flex; flex-wrap:wrap; gap:8px; margin:26px 0 28px; padding:0; list-style:none; }
.lab__steps li{ display:inline-flex; align-items:center; gap:8px; height:36px; padding:0 14px 0 6px; border-radius:999px; background:var(--chip);
  box-shadow:inset 0 0 0 1px var(--hair); color:var(--ink); font-size:14px; }
.lab__steps b{ display:grid; place-items:center; width:24px; height:24px; border-radius:50%; background:var(--ink); color:var(--page); font-size:12px; font-weight:600; }
.lab .pill{ height:46px; padding:0 24px; font-size:16px; }

.lab__art{ --gir:#A8F03C; --pla:#8C9BFF; --ep:#FF9F45; position:relative; min-height:420px; overflow:hidden; container-type:size; border-radius:16px; background:#111; }
.la-grid{ position:absolute; inset:0; opacity:.5;
  background:linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 6.9cqh 6.9cqh, linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 6.9cqh 6.9cqh;
  -webkit-mask:radial-gradient(90% 80% at 40% 50%, #000 40%, transparent); mask:radial-gradient(90% 80% at 40% 50%, #000 40%, transparent); }
/* la règle en mètres, l'humain gris, la girafe qui grandit */
.la-rule{ position:absolute; left:6%; bottom:36%; width:0; height:36cqh; border-left:1px solid rgba(255,255,255,.22); }
.la-rule i{ position:absolute; left:-1px; width:2cqh; height:1px; background:rgba(255,255,255,.35); }
.la-rule em{ position:absolute; left:3cqh; top:-1.2cqh; color:rgba(255,255,255,.45); font-size:2.4cqh; font-style:normal; font-variant-numeric:tabular-nums; }
.la-rule > span{ position:absolute; left:3cqh; top:-5cqh; color:rgba(255,255,255,.45); font-size:2.4cqh; }
.la-ground{ position:absolute; left:4%; right:46%; bottom:36%; height:1px; background:rgba(255,255,255,.18); }
.la-sil{ position:absolute; bottom:36%; background:currentColor; -webkit-mask:var(--m) no-repeat center bottom / contain; mask:var(--m) no-repeat center bottom / contain; }
.la-hum{ left:14%; height:12cqh; aspect-ratio:.3645; color:rgba(255,255,255,.32); }
.la-gir{ left:24%; height:38cqh; aspect-ratio:.573; color:var(--gir); transform-origin:50% 100%; animation:la-grow 7s infinite both; }
.la-meas{ position:absolute; left:6%; right:50%; bottom:calc(36% + 38cqh); height:0; border-top:1px dashed var(--gir); transform-origin:0 50%; animation:la-line 7s infinite both; }
.la-meas b{ position:absolute; right:0; bottom:1cqh; color:var(--gir); font-size:4.6cqh; font-weight:600; letter-spacing:-.03em; white-space:nowrap; }
@keyframes la-grow{
  0%{ transform:scale(.3); opacity:0; animation-timing-function:cubic-bezier(.23,1,.32,1); }
  6%{ opacity:1; }
  34%{ transform:scale(1.04); animation-timing-function:cubic-bezier(.77,0,.175,1); }
  44%,88%{ transform:none; opacity:1; }
  97%,100%{ transform:none; opacity:0; }
}
@keyframes la-line{ 0%,36%{ transform:scaleX(0); opacity:0; } 46%,88%{ transform:none; opacity:1; animation-timing-function:ease; } 97%,100%{ opacity:0; } }
/* la Terre et Jupiter, onze fois plus large */
.la-jup{ position:absolute; right:6%; top:7%; width:40cqh; aspect-ratio:1; border-radius:50%; background:center / cover; transform-origin:0% 100%;
  animation:la-jup 7s 1.2s infinite both; }
.la-earth{ position:absolute; right:calc(6% + 40cqh + 1.2cqh); top:calc(7% + 40cqh - 3.6cqh); width:3.6cqh; aspect-ratio:1; border-radius:50%; background:center / cover; }
.la-x{ position:absolute; right:calc(6% + 40cqh + 1.2cqh); top:7%; color:var(--pla); font-size:6cqh; font-weight:600; letter-spacing:-.04em; animation:la-fade 7s 1.2s infinite both; }
@keyframes la-jup{
  0%{ transform:scale(.09); opacity:0; animation-timing-function:cubic-bezier(.77,0,.175,1); }
  4%{ opacity:1; }
  36%{ transform:scale(1.02); animation-timing-function:ease-in-out; }
  44%,88%{ transform:none; opacity:1; }
  97%,100%{ transform:none; opacity:0; }
}
@keyframes la-fade{ 0%,38%{ opacity:0; transform:translateY(20%); animation-timing-function:cubic-bezier(.23,1,.32,1); } 48%,88%{ opacity:1; transform:none; } 97%,100%{ opacity:0; } }
/* la frise : Cléopâtre glisse jusqu'à -30 et s'y pose */
.la-fr{ position:absolute; left:8%; right:8%; bottom:15%; height:.6cqh; border-radius:1cqh; background:rgba(255,255,255,.16); }
.la-fr > i{ position:absolute; top:-1cqh; width:1px; height:2.6cqh; background:rgba(255,255,255,.2); }
.la-fr__lit{ position:absolute; left:63.7%; right:0; top:0; bottom:0; border-radius:1cqh; background:var(--ep); transform-origin:0 50%; animation:la-lit 7s 2.4s infinite both; }
.la-fr em{ position:absolute; top:2.6cqh; color:rgba(255,255,255,.45); font-size:2.6cqh; font-style:normal; font-variant-numeric:tabular-nums; }
.la-fr__a{ left:0; } .la-fr__b{ right:0; }
.la-tok{ position:absolute; left:calc(8% + 84% * .637); bottom:calc(15% + 1.4cqh); width:11cqh; aspect-ratio:1; margin-left:-5.5cqh; border-radius:50%;
  background:#1C1C1C center / cover; box-shadow:0 0 0 .7cqh var(--ep), 0 2cqh 4cqh -1cqh rgba(0,0,0,.6); animation:la-tok 7s 2.4s infinite both; }
.la-yr{ position:absolute; left:calc(8% + 84% * .637); bottom:calc(15% + 15cqh); transform:translateX(-50%); color:var(--ep); font-size:4.4cqh; font-weight:600; letter-spacing:-.03em;
  animation:la-fade 7s 2.4s infinite both; }
@keyframes la-tok{
  0%{ transform:translate(10cqw, -14cqh) scale(1.08); opacity:0; animation-timing-function:cubic-bezier(.23,1,.32,1); }
  8%,18%{ transform:translate(10cqw, -12cqh) scale(1.08); opacity:1; animation-timing-function:cubic-bezier(.65,0,.35,1); }
  34%{ transform:translate(0, -10cqh) scale(1.08); animation-timing-function:cubic-bezier(.23,1,.32,1); }
  44%,88%{ transform:none; opacity:1; }
  97%,100%{ transform:none; opacity:0; }
}
@keyframes la-lit{ 0%,42%{ transform:scaleX(0); opacity:1; animation-timing-function:cubic-bezier(.65,0,.35,1); } 56%,88%{ transform:none; opacity:1; } 97%,100%{ opacity:0; } }
@media (prefers-reduced-motion: reduce){ .lab__art *{ animation:none !important; } }
:root[data-theme="light"] .lab__art{ background:#1A1A1A; }
@media (max-width:860px){
  .lab{ grid-template-columns:1fr; gap:0; margin-bottom:40px; padding:8px; }
  .lab__txt{ padding:28px 18px 26px; }
  .lab__art{ min-height:0; aspect-ratio:1 / 1; max-height:380px; }
}

/* 15 nov. 2026 : le héros dit déjà ce qu est le Labo ; la phrase d intro au-dessus fait doublon */
.home > .intro{ display:none; }
/* héros sur téléphone (15 nov. 2026) : plus court, les trois temps sur une ligne, la paillasse juste dessous */
@media (max-width:600px){
  .lab__txt{ padding:26px 16px 22px; }
  .lab__t{ margin-top:14px; font-size:46px; }
  .lab__s{ margin-top:14px; font-size:16px; }
  .lab__steps{ flex-wrap:nowrap; gap:6px; margin:20px 0 22px; }
  .lab__steps li{ height:32px; padding:0 10px 0 4px; gap:6px; font-size:13px; white-space:nowrap; }
  .lab__steps b{ width:22px; height:22px; font-size:11px; }
  .lab__art{ aspect-ratio:4 / 3; }
}

/* « reprendre » le dernier jeu (en tête de l'appli) : ses styles vivaient dans landing.css, que /app/ ne charge plus
   (15 nov. 2026 : le triangle s'affichait en géant). Adapté aux jetons de cette page. */
.resume{ --c:#FAFAFA; display:grid; grid-template-columns:44px minmax(0,1fr) auto 44px; align-items:center; gap:14px; margin:4px 0 20px; padding:10px 10px 10px 12px;
  border-radius:22px; text-decoration:none; color:var(--ink); background:var(--card);
  box-shadow:inset 0 1px 0 var(--hair), inset 0 0 0 1px color-mix(in srgb, var(--c) 30%, transparent); transition:transform .16s var(--out); }
.resume[hidden]{ display:none; }
.resume:active{ transform:scale(.98); }
.resume__dot{ width:44px; height:44px; border-radius:14px; background:radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--c) 70%, #fff), var(--c) 60%); }
.resume__t{ min-width:0; display:grid; gap:2px; }
.resume__k{ font-size:12.5px; color:var(--ink-3); }
.resume__n{ font-size:17px; font-weight:550; letter-spacing:-.02em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.resume__v{ font-size:13px; color:var(--ink-3); font-variant-numeric:tabular-nums; white-space:nowrap; }
.resume__v b{ color:var(--ink); font-weight:550; }
.resume__go{ display:grid; place-items:center; width:44px; height:44px; border-radius:50%; background:var(--btn); }
.resume__go svg{ width:15px; height:15px; fill:var(--btn-ink); margin-left:2px; }

/* 15 nov. 2026 : pas d inscription pour le moment (ni pseudo, ni puce de compte) */
#meBtn, .me-card, #hello{ display:none !important; }

/* Cléopâtre détourée, en entier, sans disque (15 nov. 2026) */
.la-tok{ width:12cqh; height:15cqh; aspect-ratio:auto; margin-left:-6cqh; border-radius:0; background:center bottom / contain no-repeat; box-shadow:none;
  filter:drop-shadow(0 1.4cqh 1.6cqh rgba(0,0,0,.6)); }

/* 15 nov. 2026 (Hugues : « sur le héros on ne voit pas forcément de choses ») : la paillasse n'est jamais vide.
   Les objets restent à l'écran ; la girafe et Jupiter respirent, Cléopâtre fait l'aller-retour vers sa date. */
@keyframes la-grow{ 0%,100%{ transform:scale(.82); animation-timing-function:cubic-bezier(.65,0,.35,1); } 45%,70%{ transform:none; animation-timing-function:cubic-bezier(.65,0,.35,1); } }
@keyframes la-line{ 0%,100%{ transform:translateY(calc(38cqh * .18)); opacity:.5; animation-timing-function:cubic-bezier(.65,0,.35,1); } 45%,70%{ transform:none; opacity:1; animation-timing-function:cubic-bezier(.65,0,.35,1); } }
@keyframes la-jup{ 0%,100%{ transform:scale(.86); animation-timing-function:cubic-bezier(.65,0,.35,1); } 45%,70%{ transform:none; animation-timing-function:cubic-bezier(.65,0,.35,1); } }
@keyframes la-fade{ 0%,100%{ opacity:.55; } 45%,70%{ opacity:1; } }
@keyframes la-tok{ 0%,12%{ transform:translate(10cqw, -10cqh); animation-timing-function:cubic-bezier(.65,0,.35,1); } 45%,80%{ transform:none; animation-timing-function:cubic-bezier(.65,0,.35,1); } 100%{ transform:translate(10cqw, -10cqh); } }
@keyframes la-lit{ 0%,30%{ transform:scaleX(.2); animation-timing-function:cubic-bezier(.65,0,.35,1); } 50%,80%{ transform:none; } 100%{ transform:scaleX(.2); } }
.la-gir, .la-meas, .la-jup, .la-x, .la-tok, .la-yr, .la-fr__lit{ animation-duration:6s; }
.la-sil, .la-jup, .la-tok{ will-change:transform; }
.la-hum{ color:rgba(255,255,255,.45); }
.lab__art{ background:radial-gradient(80% 70% at 70% 30%, #1d1d2a, #111 70%); }

/* ---------- héros GuessLab (15 nov. 2026) : nuit, dégradés granuleux, le chiot ---------- */
.kv{ position:relative; isolation:isolate; overflow:hidden; min-height:clamp(460px, 62vh, 640px); margin:6px 0 64px; border-radius:28px; background:#06060A;
  display:flex; align-items:center; box-shadow:inset 0 0 0 1px rgba(255,255,255,.06); }
.kv__art{ position:absolute; inset:0; z-index:-2; }
.kv__art img{ width:100%; height:100%; object-fit:cover; object-position:70% 50%; display:block; }
/* le texte se lit sur la nuit : voile à gauche, plus le grain du visuel */
.kv::before{ content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg, #06060A 0%, rgba(6,6,10,.86) 30%, rgba(6,6,10,0) 58%); }
.kv__grain{ position:absolute; inset:0; z-index:-1; opacity:.18; mix-blend-mode:overlay; pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.kv__txt{ position:relative; max-width:520px; padding:56px 0 56px 56px; color:#F7F4EE; }
.kv__t{ margin:0; font-size:clamp(52px, 7vw, 92px); line-height:.92; font-weight:650; letter-spacing:-.045em; }
.kv__s{ max-width:34ch; margin:22px 0 30px; color:rgba(247,244,238,.72); font-size:18px; line-height:1.45; text-wrap:pretty; }
.kv__go{ display:inline-flex; align-items:center; height:52px; padding:0 28px; border-radius:999px; text-decoration:none; font-size:17px; font-weight:600; color:#0A0A0A;
  background:linear-gradient(90deg, #FF4FB8, #FF8A3D); box-shadow:0 12px 32px -10px rgba(255,79,184,.6); transition:transform .2s var(--out); }
.kv__go:active{ transform:scale(.97); }
@media (hover:hover) and (pointer:fine){ .kv__go:hover{ transform:translateY(-1px); } }
:root[data-theme="light"] .kv{ box-shadow:0 30px 60px -32px rgba(0,0,0,.45); }
@media (max-width:700px){
  .kv{ flex-direction:column; align-items:stretch; min-height:0; margin-bottom:44px; border-radius:24px; }
  .kv__art{ position:relative; inset:auto; aspect-ratio:1 / 1; }
  .kv::before{ background:linear-gradient(180deg, rgba(6,6,10,0) 40%, #06060A 78%); }
  .kv__txt{ margin-top:-110px; padding:0 22px 30px; }
  .kv__t{ font-size:52px; }
  .kv__s{ font-size:16px; margin:16px 0 24px; }
}
/* téléphone : le visuel se fond dans la nuit, sans arête (15 nov. 2026) */
@media (max-width:700px){ .kv__art img{ -webkit-mask-image:linear-gradient(180deg, #000 62%, transparent); mask-image:linear-gradient(180deg, #000 62%, transparent); } .kv::before{ display:none; } }
/* la page GuessLab : la nuit par défaut, un peu plus profonde, avec la teinte violette du visuel */
:root:not([data-theme="light"]){ --page:#08080D; }

/* le compte, dans le profil (15 nov. 2026) */
.acct{ padding:22px 20px; }
.acct__t{ margin:0; font-size:20px; font-weight:600; letter-spacing:-.02em; }
.acct__s{ margin:6px 0 0; color:var(--ink-2); font-size:15px; line-height:1.4; }
.acct__s b{ color:var(--ink); font-weight:550; }
.acct__f{ display:grid; gap:10px; margin-top:16px; }
.acct__i{ height:50px; padding:0 16px; border-radius:14px; border:0; background:var(--chip); color:var(--ink); font:inherit; font-size:16px; box-shadow:inset 0 0 0 1px var(--hair); }
.acct__i:focus{ outline:none; box-shadow:inset 0 0 0 2px #FF2DAA; }
.acct__go{ height:50px; margin-top:4px; }
.acct__go:disabled{ opacity:.5; }
.acct__err{ margin:0; min-height:1.2em; color:#FF6B8B; font-size:14px; }
.acct__out{ margin-top:14px; padding:0; border:0; background:none; color:var(--ink-2); font:inherit; font-size:15px; text-decoration:underline; text-underline-offset:3px; }

/* médailles GuessLab dans les records (15 nov. 2026) */
.row__medal{ width:44px; height:44px; flex:none; object-fit:contain; filter:drop-shadow(0 4px 8px rgba(0,0,0,.35)); }

/* pictos 3D GuessLab : la tuile est l'image elle-même */
.ico--gl{ display:block; width:54px; height:54px; border-radius:15px; object-fit:cover; background:none; box-shadow:0 8px 18px -8px rgba(0,0,0,.5); }

/* aperçus dans la DA GuessLab (15 nov. 2026) : la nuit, une lueur granuleuse à la couleur du jeu, la grille fine */
.gm{ background:
    radial-gradient(60% 70% at 78% 18%, color-mix(in srgb, var(--c) 34%, transparent), transparent 70%),
    radial-gradient(50% 60% at 12% 100%, color-mix(in srgb, #7B2CFF 26%, transparent), transparent 70%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 28px 28px,
    #08080D; }
.gm::before{ content:""; position:absolute; inset:0; z-index:0; pointer-events:none; opacity:.22; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.gm__pv{ position:absolute; inset:0; z-index:1; }
.gm__verb, .gm__beta{ z-index:2; }
/* les cartes passent aussi à la nuit, même en thème clair : c'est l'univers GuessLab */
.gc{ background:radial-gradient(90% 60% at 70% 110%, color-mix(in srgb, var(--c) 16%, transparent), transparent 70%), linear-gradient(180deg, #15151C, #0E0E14 60%); color:#F5F2EC; }
.gc .gc__s{ color:rgba(245,242,236,.66); }
.gc .pill{ background:#F5F2EC; color:#0A0A0A; }

/* les objets qui gravitent (15 nov. 2026) : chacun décrit sa petite orbite en boucle, en douceur ; pointeur = léger relief */
.kv{ container-type:inline-size; }
.kv__orb{ position:absolute; inset:0; z-index:-1; pointer-events:none; transform:translate3d(var(--px, 0), var(--py, 0), 0); transition:transform .8s cubic-bezier(.23,1,.32,1); }
.orb{ position:absolute; left:var(--x); top:var(--y); width:calc(var(--w) * 1cqw); height:auto; filter:drop-shadow(0 1.2cqw 1.6cqw rgba(0,0,0,.55));
  animation:orb var(--d) linear var(--dl) infinite; will-change:transform; }
@keyframes orb{
  0%{ transform:translate(0, 0) rotate(-6deg); }
  25%{ transform:translate(1.6cqw, -1.4cqw) rotate(4deg); }
  50%{ transform:translate(0, -2.6cqw) rotate(8deg); }
  75%{ transform:translate(-1.6cqw, -1.2cqw) rotate(-2deg); }
  100%{ transform:translate(0, 0) rotate(-6deg); }
}
@media (prefers-reduced-motion: reduce){ .orb{ animation:none; } .kv__orb{ transition:none; } }
@media (max-width:700px){
  .kv__orb{ bottom:auto; aspect-ratio:1 / 1; }
  .orb--d{ display:none; }
  .orb{ width:calc(var(--w) * 2.2cqw); }
}

/* logo : le chiot seul, sans typo (15 nov. 2026) */
.nav__chiot{ width:40px; height:auto; border-radius:0 !important; display:block; transition:transform .3s var(--out); }
@media (hover:hover) and (pointer:fine){ .nav__mark:hover .nav__chiot{ transform:rotate(-8deg) scale(1.06); } }
.nav__mark img.nav__chiot{ width:42px; height:33px; }

/* le choix du chiot (15 nov. 2026) */
.av{ display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:12px; margin-top:14px; }
.av__b{ padding:0; border:0; border-radius:50%; background:none; aspect-ratio:1; cursor:pointer; transition:transform .2s var(--out); -webkit-tap-highlight-color:transparent; }
.av__b img{ width:100%; height:100%; display:block; border-radius:50%; }
.av__b[aria-pressed="true"]{ box-shadow:0 0 0 3px var(--page), 0 0 0 6px #FF2DAA; transform:scale(1.04); }
.av__b:active{ transform:scale(.94); }

/* en-tête (15 nov. 2026, Hugues : « écris juste guesslab.app, en blanc, basique ») et « s'inscrire » en haut à droite */
.nav__word{ font-size:19px; font-weight:650; letter-spacing:-.035em; color:#F7F4EE; }
.nav__word span{ color:rgba(247,244,238,.5); font-weight:500; }
:root[data-theme="light"] .nav__word{ color:#0A0A0A; } :root[data-theme="light"] .nav__word span{ color:rgba(10,10,10,.45); }
.nav__join{ height:38px; padding:0 18px; font-size:14.5px; background:linear-gradient(90deg, #FF2DAA, #FF9A3C) !important; color:#0A0A0A !important; font-weight:600; }
@media (max-width:600px){ .nav__end .nav__lnk{ display:none; } .nav__join{ height:36px; padding:0 14px; } }

/* formes du visuel clé (15 nov. 2026) : sphères et demi-disque en dégradés granuleux, le ruban ; elles flottent doucement */
.sh{ position:absolute; left:var(--x); top:var(--y); width:calc(var(--w) * 1cqw); aspect-ratio:1; border-radius:50%; animation:sh-float var(--d) ease-in-out infinite alternate; will-change:transform; }
.sh::after{ content:""; position:absolute; inset:0; border-radius:inherit; opacity:.55; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.sph--a{ background:radial-gradient(circle at 70% 25%, #FF8A2A 0%, #FF3D8B 42%, #7A0F57 78%, #2A0420 100%); }
.sph--b{ background:radial-gradient(circle at 30% 25%, #C04BFF 0%, #6A2CFF 45%, #2B1BC9 80%, #12105A 100%); }
.sph--c{ background:radial-gradient(circle at 25% 20%, #FF9A3C 0%, #FF2DAA 50%, #7B2CFF 90%); }
.half{ border-radius:0 0 999px 999px; aspect-ratio:2 / 1; background:radial-gradient(120% 140% at 30% 0%, #F4FF2E 0%, #9BFF1F 35%, #2BCB3B 70%, #0D5A1C 100%); }
.kv__tape{ position:absolute; left:43%; top:16%; width:14cqw; height:auto; transform:rotate(-28deg); filter:drop-shadow(0 1cqw 1.4cqw rgba(0,0,0,.5));
  animation:tape-float 9s ease-in-out infinite alternate; }
@keyframes sh-float{ from{ transform:translate(0, 0) rotate(0); } to{ transform:translate(1.2cqw, 2.2cqw) rotate(10deg); } }
@keyframes tape-float{ from{ transform:translate(0, 0) rotate(-28deg); } to{ transform:translate(-1cqw, 1.6cqw) rotate(-20deg); } }
@media (prefers-reduced-motion: reduce){ .sh, .kv__tape{ animation:none; } }
@media (max-width:700px){ .sh{ width:calc(var(--w) * 1.9cqw); } .kv__tape{ width:22cqw; left:30%; top:12%; } .sph--c{ display:none; } }

/* ---------- le podium (15 nov. 2026) ---------- */
.podz__row{ display:flex; gap:16px; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; margin:0 -24px; padding:4px 24px 12px; }
.podz__row::-webkit-scrollbar{ display:none; }
.podc{ flex:none; width:300px; scroll-snap-align:start; padding:18px 18px 0; border-radius:var(--r); text-decoration:none; color:#F5F2EC;
  background:radial-gradient(90% 70% at 50% 0%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%), linear-gradient(180deg, #17171F, #0E0E14);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.06), var(--drop); overflow:hidden; }
.podc__h{ display:flex; align-items:center; gap:10px; font-size:17px; font-weight:600; letter-spacing:-.02em; }
.podc__h .ico, .podc__h .ico--gl{ width:40px; height:40px; border-radius:12px; }
.pzs{ list-style:none; margin:16px 0 0; padding:0; display:grid; grid-template-columns:1fr 1.15fr 1fr; align-items:end; gap:6px; }
.pz{ position:relative; display:flex; flex-direction:column; align-items:center; gap:4px; padding:0 0 0; text-align:center; min-width:0; }
.pz img, .pz__q{ width:52px; height:52px; border-radius:50%; display:grid; place-items:center; }
.pz--1 img, .pz--1 .pz__q{ width:64px; height:64px; }
.pz__q{ background:rgba(255,255,255,.06); color:rgba(245,242,236,.35); font-weight:700; font-size:20px; box-shadow:inset 0 0 0 1px rgba(255,255,255,.08); }
.pz b{ max-width:100%; font-size:13px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.pz span{ font-size:12px; color:rgba(245,242,236,.6); font-variant-numeric:tabular-nums; }
.pz.is-empty b{ color:rgba(245,242,236,.35); font-weight:500; }
.pz i{ display:grid; place-items:center; width:100%; margin-top:6px; border-radius:12px 12px 0 0; font-style:normal; font-weight:700; font-size:18px; color:#0A0A0A; }
.pz--1 i{ height:64px; background:linear-gradient(180deg, #FFD95A, #F2A91F); }
.pz--2 i{ height:44px; background:linear-gradient(180deg, #E9EEF5, #AEB8C6); }
.pz--3 i{ height:32px; background:linear-gradient(180deg, #F2B184, #C77A45); }
@media (max-width:600px){ .podz__row{ margin:0 -16px; padding:4px 16px 12px; } .podc{ width:82vw; } }

.acct__row{ grid-template-columns:1fr auto; }
.acct__row .acct__go{ margin-top:0; padding:0 22px; }
.acct__ok{ color:#7CE38B; }

/* le gros bouton « play » de l'appli (15 nov. 2026), juste au-dessus de la barre d'onglets */
.play{ position:fixed; z-index:40; left:50%; bottom:calc(var(--tabs-h) + 6px); transform:translateX(-50%); display:inline-flex; align-items:center; justify-content:center; gap:10px;
  width:min(calc(100% - 40px), 420px); height:62px; border-radius:999px; text-decoration:none; color:#0A0A0A; font-size:21px; font-weight:700; letter-spacing:-.02em;
  background:linear-gradient(90deg, #FF2DAA, #FF9A3C); box-shadow:0 18px 40px -14px rgba(255,45,170,.7), inset 0 1px 0 rgba(255,255,255,.35);
  animation:play-pulse 2.6s ease-in-out infinite; -webkit-tap-highlight-color:transparent; }
.play svg{ width:22px; height:22px; fill:currentColor; }
.play[hidden]{ display:none; }
.play:active{ transform:translateX(-50%) scale(.97); animation:none; }
@keyframes play-pulse{ 0%,100%{ box-shadow:0 18px 40px -14px rgba(255,45,170,.7), inset 0 1px 0 rgba(255,255,255,.35); } 50%{ box-shadow:0 18px 52px -10px rgba(255,154,60,.85), inset 0 1px 0 rgba(255,255,255,.35); } }
@media (prefers-reduced-motion: reduce){ .play{ animation:none; } }
body[data-page="app"] .home{ padding-bottom:calc(var(--tabs-h) + 110px); }

.acct__g{ display:flex; align-items:center; justify-content:center; gap:10px; width:100%; height:52px; margin-top:16px; border:0; border-radius:999px; background:#F5F2EC; color:#0A0A0A;
  font:inherit; font-size:16px; font-weight:600; cursor:pointer; }
.acct__g svg{ width:20px; height:20px; }
.acct__g:active{ transform:scale(.98); }
.acct__or{ margin:14px 0 0; text-align:center; color:var(--ink-3); font-size:13px; }
@media (min-width:900px){ .play{ display:none !important; } }

/* le joueur en haut à droite (15 nov. 2026) */
.nav__me{ display:inline-flex; align-items:center; gap:8px; height:40px; padding:0 14px 0 3px; border-radius:999px; text-decoration:none; color:#F5F2EC;
  background:rgba(255,255,255,.08); box-shadow:inset 0 0 0 1px rgba(255,255,255,.1); font-size:15px; font-weight:600; max-width:180px; }
.nav__me[hidden]{ display:none; }
.nav__me img{ width:34px; height:34px; border-radius:50%; flex:none; box-shadow:0 0 0 2px #FF2DAA; }
.nav__me span{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
:root[data-theme="light"] .nav__me{ color:#0A0A0A; background:rgba(0,0,0,.06); }
.nav__join[hidden]{ display:none !important; }

/* ---------- fond GuessLab (15 nov. 2026) : nuit, quadrillage fin, halo qui suit la souris ; plus de thème clair ---------- */
html, body{ background:#08080D; }
html{ overflow-x:clip; }
.glbg{ position:fixed; inset:0; z-index:-1; pointer-events:none;
  background:
    radial-gradient(420px circle at var(--mx, 70%) var(--my, 30%), rgba(255,45,170,.16), rgba(123,44,255,.10) 40%, transparent 70%),
    radial-gradient(70% 50% at 80% -10%, rgba(123,44,255,.18), transparent 70%),
    radial-gradient(60% 50% at 0% 100%, rgba(255,154,60,.08), transparent 70%),
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 44px 44px,
    #08080D; }
.glbg::after{ content:""; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(160px circle at var(--mx, 70%) var(--my, 30%), rgba(255,255,255,.07), transparent 70%);
  -webkit-mask:linear-gradient(#000 0 0); }
/* les cartes laissent voir le quadrillage */
.gc, .podc{ background-color:transparent; -webkit-backdrop-filter:blur(2px); backdrop-filter:blur(2px); }
/* les formes du héros dépassent du cadre */
.kv{ overflow:visible; }
.kv__art{ overflow:hidden; border-radius:inherit; }
.kv::before, .kv__grain{ border-radius:inherit; }
.kv__orb{ z-index:2; }
.sph--a{ --y:-9%; }
.half{ --y:-11%; }
.sph--b{ --x:89%; }
.sph--c{ --x:91%; --y:74%; }
.kv__tape{ z-index:3; }
@media (max-width:700px){ .kv{ overflow:visible; } .sph--b{ --x:84%; } }
/* le grand mètre ruban (15 nov. 2026) : l'élément principal qui flotte au-dessus du chiot, comme sur le premier visuel */
.kv__tape{ left:36%; top:14%; width:44cqw; transform:rotate(-14deg); animation:metre-float 8s ease-in-out infinite alternate; }
@keyframes metre-float{
  0%{ transform:translate(0, 0) rotate(-14deg); }
  50%{ transform:translate(1.2cqw, -1.6cqw) rotate(-10deg) scale(1.02); }
  100%{ transform:translate(-.8cqw, 1.2cqw) rotate(-16deg); }
}
@media (max-width:700px){ .kv__tape{ left:12%; top:6%; width:80cqw; } }

/* ---------- appli, passe finale téléphone (15 nov. 2026, Hugues) ----------
   - les onglets jeux / scores / profil montent en haut, juste sous la barre, en segments ;
   - « play » en blanc, seul en bas ;
   - aucun défilement de côté, nulle part. */
html, body{ overflow-x:hidden; max-width:100%; }
/* .kv contain retiré : les formes doivent dépasser du cadre */
body[data-page="app"] .nav__links, body[data-page="app"] .nav__end .nav__lnk{ display:none; }
body[data-page="app"] .tabs{ top:calc(env(safe-area-inset-top) + 64px); bottom:auto; left:50%; transform:translateX(-50%); width:min(calc(100% - 32px), 420px); height:48px;
  border-radius:999px; background:rgba(20,20,26,.82); -webkit-backdrop-filter:blur(18px) saturate(1.6); backdrop-filter:blur(18px) saturate(1.6);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08), 0 10px 30px -12px rgba(0,0,0,.7); }
body[data-page="app"] .tab{ flex-direction:row; gap:8px; font-size:14px; }
body[data-page="app"] .tab svg{ width:19px; height:19px; }
body[data-page="app"] .tabs__pill{ top:4px; bottom:4px; left:4px; width:calc((100% - 8px) / 3); }
body[data-page="app"] .home, body[data-page="app"] .hub{ padding-top:calc(env(safe-area-inset-top) + 128px); }
body[data-page="app"] .home{ padding-bottom:calc(env(safe-area-inset-bottom) + 120px); }
.play{ bottom:calc(env(safe-area-inset-bottom) + 18px); background:#F5F2EC; color:#0A0A0A; box-shadow:0 18px 40px -14px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.2);
  animation:play-glow 2.8s ease-in-out infinite; }
@keyframes play-glow{ 0%,100%{ box-shadow:0 18px 40px -14px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.2); } 50%{ box-shadow:0 18px 50px -10px rgba(255,255,255,.35), 0 0 0 1px rgba(255,255,255,.3); } }
body[data-page="app"] .tabs{ padding:4px; }
body[data-page="app"] .kv__go{ display:none; }
/* 15 nov. 2026 (Hugues) : le chiot crème retenu, et plus grand dans le héros */
.kv__art img{ transform:scale(1.28); transform-origin:78% 92%; }
@media (max-width:700px){ .kv__art img{ transform:scale(1.18); transform-origin:60% 95%; } }

/* ---------- héros « meute » (15 nov. 2026), même mise en page que Play Color Guesser ---------- */
.gl-top{ position:relative; display:grid; grid-template-rows:auto auto 1fr; justify-items:center; min-height:clamp(520px, 92svh, 860px); margin:-6px -24px 56px; overflow:hidden; text-align:center; }
.gl-sr{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
.gl-wm{ margin:clamp(16px, 5svh, 56px) 0 0; font-size:clamp(64px, 15vw, 210px); line-height:.9; font-weight:800; letter-spacing:-.055em; }
.gl-wm__l{ position:relative; display:inline-block; color:transparent; }
.gl-wm__l::before, .gl-wm__l::after{ content:attr(data-l); position:absolute; inset:0; pointer-events:none; }
/* halo coloré derrière chaque lettre, lettre presque blanche devant : elles s'allument une par une */
.gl-wm__l::before{ color:var(--g); filter:blur(.12em); opacity:0; animation:gl-glow .56s linear calc(140ms + var(--i) * 60ms) both, gl-breathe 3.6s ease-in-out 2s infinite alternate; }
.gl-wm__l::after{ color:#FBF8F4; opacity:0; animation:gl-fill .56s linear calc(140ms + var(--i) * 60ms) both; }
.gl-wm__l:nth-child(1){ --g:#7B2CFF; } .gl-wm__l:nth-child(2){ --g:#9A2CFF; } .gl-wm__l:nth-child(3){ --g:#C22CF0; } .gl-wm__l:nth-child(4){ --g:#FF2DAA; }
.gl-wm__l:nth-child(5){ --g:#FF5A6E; } .gl-wm__l:nth-child(6){ --g:#FF9A3C; } .gl-wm__l:nth-child(7){ --g:#FFD23D; } .gl-wm__l:nth-child(8){ --g:#B7FF00; }
@keyframes gl-fill{ 0%{ opacity:.1; } 12%{ opacity:.92; } 22%{ opacity:.38; } 34%,100%{ opacity:1; } }
@keyframes gl-glow{ 0%{ opacity:0; } 12%{ opacity:.85; } 22%{ opacity:.15; } 34%,100%{ opacity:.95; } }
@keyframes gl-breathe{ from{ opacity:.95; } to{ opacity:.7; } }
.gl-top__go{ display:flex; flex-direction:column; align-items:center; gap:18px; margin-top:18px; }
.gl-top__sub{ margin:0; color:rgba(247,244,238,.72); font-size:clamp(17px, 2vw, 21px); }
.gl-go{ display:inline-flex; align-items:center; height:54px; padding:0 30px; border-radius:999px; background:#F5F2EC; color:#0A0A0A; font-size:17px; font-weight:600; text-decoration:none;
  box-shadow:0 14px 34px -14px rgba(255,255,255,.4); transition:transform .2s var(--out); }
.gl-go:active{ transform:scale(.97); }
/* la meute : 4 chiens côte à côte, qui se chevauchent un peu, montent du bas et sont coupés par le bord */
.gl-meute{ align-self:end; display:flex; justify-content:center; width:100%; margin-bottom:calc(var(--s) * -.26); --s:clamp(170px, 26vw, 420px); }
.gl-dog{ position:relative; width:var(--s); flex:none; touch-action:manipulation; -webkit-tap-highlight-color:transparent; cursor:pointer;
  animation:gl-rise .9s cubic-bezier(.23,1,.32,1) calc(520ms + var(--i) * 90ms) both; }
.gl-dog + .gl-dog{ margin-left:calc(var(--s) * -.14); }
.gl-dog__fig{ position:relative; display:block; aspect-ratio:1; transform-origin:50% 100%; }
.gl-dog__img{ position:absolute; inset:0; width:100%; height:100%; object-fit:contain; opacity:0; transition:opacity .12s ease; filter:drop-shadow(0 18px 30px rgba(0,0,0,.55)); -webkit-user-drag:none; user-select:none; }
.gl-dog__img.is-on{ opacity:1; }
.gl-dog.is-hop .gl-dog__fig{ animation:gl-hop .7s cubic-bezier(.33,0,.2,1); }
@keyframes gl-rise{ from{ transform:translateY(72%); } to{ transform:none; } }
@keyframes gl-hop{
  0%{ transform:none; } 14%{ transform:scale(1.06,.92); } 30%{ transform:translateY(-14%) scale(.96,1.05); } 46%{ transform:scale(1.05,.94); }
  60%{ transform:translateY(-7%) scale(.98,1.02); } 76%{ transform:scale(1.02,.98); } 100%{ transform:none; }
}
@media (prefers-reduced-motion: reduce){ .gl-dog, .gl-dog.is-hop .gl-dog__fig, .gl-wm__l::before, .gl-wm__l::after{ animation:none; opacity:1; } .gl-wm__l::before{ opacity:.9; } }
@media (max-width:700px){
  .gl-top{ margin:-6px -16px 40px; min-height:clamp(500px, 86svh, 760px); }
  .gl-meute{ --s:clamp(150px, 42vw, 240px); }
  .gl-dog + .gl-dog{ margin-left:calc(var(--s) * -.3); }
  .gl-dog:nth-child(1), .gl-dog:nth-child(4){ margin-bottom:calc(var(--s) * -.06); }
}
body[data-page="app"] .gl-go{ display:none; }
/* réglages après essai (15 nov. 2026) : tout tient dans la largeur, les chiens plus près du titre */
.gl-top{ margin:-6px 0 56px; min-height:clamp(500px, 78svh, 760px); width:100%; }
.gl-meute{ --s:clamp(160px, 21vw, 290px); margin-bottom:calc(var(--s) * -.22); }
.gl-dog + .gl-dog{ margin-left:calc(var(--s) * -.1); }
@media (max-width:700px){
  .gl-top{ margin:-6px 0 40px; min-height:clamp(440px, 72svh, 640px); }
  .gl-wm{ font-size:17.5vw; margin-top:20px; }
  .gl-meute{ --s:34vw; }
  .gl-dog + .gl-dog{ margin-left:calc(var(--s) * -.36); }
}
.gl-top{ min-height:0; grid-template-rows:auto auto auto; }
.gl-meute{ margin-top:clamp(20px, 4svh, 48px); --s:clamp(200px, 25vw, 330px); margin-bottom:calc(var(--s) * -.2); }
.gl-dog + .gl-dog{ margin-left:calc(var(--s) * -.3); }
@media (max-width:700px){ .gl-meute{ --s:41vw; margin-top:26px; } .gl-dog + .gl-dog{ margin-left:calc(var(--s) * -.45); } }
@media (max-width:700px){ .gl-wm{ font-size:15vw; } .gl-meute{ --s:34vw; } }
/* 15 nov. 2026 (Hugues : « mets plus les têtes ») : chiens plus grands, coupés plus bas, on voit surtout les têtes */
.gl-meute{ --s:clamp(240px, 30vw, 400px); margin-bottom:calc(var(--s) * -.42); }
.gl-dog + .gl-dog{ margin-left:calc(var(--s) * -.32); }
@media (max-width:700px){ .gl-meute{ --s:42vw; margin-bottom:calc(var(--s) * -.4); } .gl-dog + .gl-dog{ margin-left:calc(var(--s) * -.5); } }

/* ---------- héros meute, finition Play Color Guesser (15 nov. 2026) ----------
   pleine largeur, haut de l'écran, nuit + quadrillage + lueur ; le mot en Plus Jakarta Sans 800, lettres presque
   blanches au dégradé doux et néon coloré derrière (ombres de texte, comme Color Guesser) ; les chiens coupés par un trait. */
.gl-top{ width:100vw; margin:-6px 0 56px calc(50% - 50vw); min-height:calc(100svh - 70px); max-height:960px; grid-template-rows:1fr auto auto auto; isolation:isolate;
  background:
    radial-gradient(55% 45% at 50% 30%, rgba(123,44,255,.28), transparent 70%),
    radial-gradient(40% 35% at 85% 85%, rgba(255,45,170,.16), transparent 70%),
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px) 50% 0 / 48px 48px,
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px) 50% 0 / 48px 48px,
    #05050A; }
.gl-top::before{ content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:radial-gradient(90% 70% at 50% 40%, transparent 50%, #05050A 100%); }
.gl-top::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:1px; background:rgba(255,255,255,.14); z-index:3; }
.gl-wm{ align-self:end; margin:0; padding:0 16px; font:800 min(13.5vw, 230px)/1 "Plus Jakarta Sans", Geist, sans-serif; letter-spacing:-.047em; white-space:nowrap; }
.gl-wm__l::before, .gl-wm__l::after{ inset:0 -.12em; padding:0 .12em; filter:none; }
.gl-wm__l::before{ z-index:-1; color:transparent;
  text-shadow:0 0 .024em var(--g), 0 0 .06em var(--g), 0 0 .15em var(--g), 0 0 .22em color-mix(in srgb, var(--g) 60%, transparent); }
.gl-wm__l::after{ color:transparent; -webkit-text-fill-color:transparent; background-image:linear-gradient(90deg, #FDFBFF, color-mix(in srgb, var(--g) 12%, #FFFFFF)); -webkit-background-clip:text; background-clip:text; }
.gl-top__go{ margin-top:22px; }
.gl-meute{ margin-top:clamp(18px, 3svh, 40px); --s:clamp(220px, 24vw, 380px); margin-bottom:calc(var(--s) * -.4); }
.gl-dog + .gl-dog{ margin-left:calc(var(--s) * -.28); }
@media (max-width:700px){
  .gl-top{ min-height:calc(100svh - 110px); margin-bottom:40px; }
  .gl-wm{ font-size:16.5vw; }
  .gl-meute{ --s:40vw; }
  .gl-dog + .gl-dog{ margin-left:calc(var(--s) * -.48); }
}
.gl-top{ grid-template-rows:auto auto 1fr; padding-top:clamp(40px, 10svh, 130px); }
.gl-wm{ align-self:start; }
.gl-meute{ align-self:end; }
/* essai à 8 chiens (?meute=tous) : plus petits, plus serrés, sur deux plans */
.gl-meute.is-8{ --s:clamp(170px, 16vw, 260px); }
.gl-meute.is-8 .gl-dog + .gl-dog{ margin-left:calc(var(--s) * -.42); }
.gl-meute.is-8 .gl-dog:nth-child(even){ margin-bottom:calc(var(--s) * .1); z-index:0; }
.gl-meute.is-8 .gl-dog:nth-child(odd){ z-index:1; }
@media (max-width:700px){ .gl-meute.is-8{ --s:27vw; } .gl-meute.is-8 .gl-dog + .gl-dog{ margin-left:calc(var(--s) * -.6); } }
/* les chiens remplissent le bas du héros */
.gl-meute{ --s:clamp(260px, 31vw, 470px); margin-bottom:calc(var(--s) * -.36); }
.gl-dog + .gl-dog{ margin-left:calc(var(--s) * -.3); }
.gl-meute.is-8{ --s:clamp(210px, 21vw, 340px); }
.gl-meute.is-8 .gl-dog + .gl-dog{ margin-left:calc(var(--s) * -.46); }
@media (max-width:700px){
  .gl-meute{ --s:50vw; margin-bottom:calc(var(--s) * -.32); }
  .gl-dog + .gl-dog{ margin-left:calc(var(--s) * -.6); }
  .gl-meute.is-8{ --s:36vw; }
  .gl-meute.is-8 .gl-dog + .gl-dog{ margin-left:calc(var(--s) * -.74); }
}

/* caresses (15 nov. 2026) : le chien se tortille, des cœurs s'envolent */
.gl-dog{ touch-action:pan-y; }
.gl-dog.is-pet .gl-dog__fig{ animation:gl-pet .45s cubic-bezier(.33,0,.2,1); }
@keyframes gl-pet{ 0%{ transform:none; } 25%{ transform:rotate(-4deg) scale(1.03,.97); } 55%{ transform:rotate(3deg) scale(.98,1.03); } 80%{ transform:rotate(-1deg); } 100%{ transform:none; } }
.gl-heart{ position:absolute; z-index:4; width:22px; height:22px; margin:-11px 0 0 -11px; pointer-events:none; background:var(--c);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-10-9.3C.3 8.4 2.3 4.5 6 4.5c2.1 0 3.4 1.2 4 2.2.6-1 1.9-2.2 4-2.2 3.7 0 5.7 3.9 4 7.2C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-10-9.3C.3 8.4 2.3 4.5 6 4.5c2.1 0 3.4 1.2 4 2.2.6-1 1.9-2.2 4-2.2 3.7 0 5.7 3.9 4 7.2C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center / contain no-repeat;
  animation:gl-heart 1.1s cubic-bezier(.23,1,.32,1) both; }
@keyframes gl-heart{ 0%{ opacity:0; transform:translate(0, 0) scale(.4); } 15%{ opacity:1; transform:translate(calc(var(--dx) * .2), -10px) scale(1.1); } 100%{ opacity:0; transform:translate(var(--dx), -90px) scale(.8); } }
@media (max-width:700px){ .gl-top{ min-height:0; padding-top:44px; padding-bottom:0; } .gl-meute{ margin-top:34px; } }
.gl-heart{ width:30px; height:30px; margin:-15px 0 0 -15px; }

/* caresses plus douces (15 nov. 2026) : un balancement lent, un seul cœur à la fois */
.gl-dog.is-pet .gl-dog__fig{ animation:gl-pet2 .9s ease-in-out; }
@keyframes gl-pet2{ 0%,100%{ transform:none; } 35%{ transform:rotate(-2deg) scale(1.015,.99); } 70%{ transform:rotate(1.5deg); } }
.gl-heart{ animation-duration:1.6s; }

/* ---------- cadrage du héros au plus près de Play Color Guesser (15 nov. 2026) ---------- */
.gl-top{ height:calc(100svh - 64px); min-height:540px; max-height:900px; padding-top:0; grid-template-rows:1fr auto auto; }
.gl-wm{ align-self:end; font-size:min(17vw, 250px); }
.gl-top__go{ margin-top:14px; }
.gl-meute{ margin-top:clamp(10px, 2svh, 24px); --s:clamp(240px, 25vw, 400px); margin-bottom:calc(var(--s) * -.3); }
.gl-dog + .gl-dog{ margin-left:calc(var(--s) * -.2); }
@media (max-width:700px){
  .gl-top{ height:calc(100svh - 60px); min-height:520px; }
  .gl-wm{ font-size:25vw; line-height:.92; white-space:normal; }
  .gl-wm__art{ display:inline-flex; flex-wrap:wrap; justify-content:center; width:4.2em; }
  .gl-meute{ --s:36vw; margin-bottom:calc(var(--s) * -.28); }
  .gl-dog + .gl-dog{ margin-left:calc(var(--s) * -.34); }
}
/* barre du haut comme Color Guesser : logo à gauche, rubriques au centre, « jouer » blanc à droite */
.nav__mark{ display:inline-flex; align-items:center; gap:9px; }
.nav__ico{ width:28px; height:28px; border-radius:8px; }
.nav__in{ position:relative; }
@media (min-width:900px){ .nav__links{ position:absolute; left:50%; transform:translateX(-50%); } }
.nav__play{ height:38px; padding:0 20px; font-size:15px; font-weight:600; }
@media (max-width:700px){ body:not([data-page="app"]) .nav__links{ display:none; } .nav__end .nav__lnk{ display:inline; font-size:14px; } }
/* familles de jeux */
.fam .shelf__h h2{ font-size:clamp(30px, 4vw, 44px); }
/* la démo */
.dm{ display:grid; grid-template-columns:minmax(0, 1.2fr) minmax(0, 1fr); gap:28px; align-items:center; padding:20px; border-radius:var(--r);
  background:linear-gradient(180deg, #15151C, #0E0E14); box-shadow:inset 0 0 0 1px rgba(255,255,255,.06), var(--drop); }
.dm__stage{ position:relative; height:clamp(320px, 42vw, 460px); border-radius:18px; overflow:hidden; touch-action:none; cursor:ns-resize;
  background:radial-gradient(60% 60% at 70% 20%, rgba(183,255,0,.16), transparent 70%), linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 32px 32px, #08080D; }
.dm__ground{ position:absolute; left:6%; right:6%; bottom:10%; height:1px; background:rgba(255,255,255,.2); }
.dm__hum, .dm__gir{ position:absolute; bottom:10%; width:auto; filter:drop-shadow(0 10px 16px rgba(0,0,0,.5)); -webkit-user-drag:none; user-select:none; }
.dm__hum{ left:16%; }
.dm__gir{ left:46%; transform-origin:50% 100%; }
.dm__hl{ position:absolute; left:12%; bottom:4%; font-size:13px; color:rgba(255,255,255,.55); }
.dm__hd{ position:absolute; left:calc(46% + 3%); width:46px; height:46px; margin:0 0 -23px -23px; border:0; border-radius:50%; background:#F5F2EC; color:#0A0A0A;
  display:grid; place-items:center; box-shadow:0 0 0 6px rgba(183,255,0,.35), 0 10px 20px rgba(0,0,0,.5); cursor:grab; transform:translateX(min(8vw, 90px)); }
.dm__hd svg{ width:22px; height:22px; }
.dm__val{ position:absolute; right:6%; margin-bottom:8px; font-size:22px; font-weight:650; letter-spacing:-.02em; color:#F5F2EC; }
.dm__true{ position:absolute; left:6%; right:6%; height:0; border-top:2px dashed #B7FF00; opacity:0; transition:opacity .4s; }
.dm__true i{ position:absolute; left:0; bottom:6px; font-style:normal; font-weight:650; color:#B7FF00; }
.demo.is-done .dm__true{ opacity:1; }
.demo.is-done .dm__hd{ opacity:0; }
.dm__q{ margin:0; font-size:22px; color:rgba(245,242,236,.75); }
.dm__q b{ display:block; margin-top:4px; font-size:clamp(44px, 6vw, 64px); line-height:1; font-weight:700; letter-spacing:-.04em; color:#F5F2EC; }
.dm__r{ min-height:56px; margin:18px 0; color:rgba(245,242,236,.8); font-size:16px; line-height:1.4; }
.dm__r b{ color:#B7FF00; }
.dm__star{ display:inline-block; width:30px; height:30px; margin-right:6px; vertical-align:middle; background:url('/brand/gl/items/star-0.webp') center / contain no-repeat; }
.dm__star.is-on{ background-image:url('/brand/gl/items/star-full.webp'); animation:lb-star .55s cubic-bezier(.34,1.7,.6,1) both; }
@keyframes lb-star{ 0%{ transform:scale(.2) rotate(-40deg); } 60%{ transform:scale(1.25) rotate(8deg); } 100%{ transform:none; } }
.dm__r span{ display:block; margin-top:10px; }
.dm__act{ display:flex; gap:14px; align-items:center; flex-wrap:wrap; }
.dm__go{ height:50px; padding:0 28px; font-size:16px; }
.dm__more{ color:#F5F2EC; font-weight:600; text-decoration:underline; text-underline-offset:4px; }
@media (max-width:700px){ .dm{ grid-template-columns:1fr; padding:12px; } .dm__stage{ height:360px; } }

/* mot en deux morceaux : « Guess » puis « Lab » sur téléphone, sur une ligne ailleurs ; couleurs par lettre conservées */
.gl-wm__w{ display:inline; }
.gl-wm__w:nth-child(1) .gl-wm__l:nth-child(1){ --g:#7B2CFF; } .gl-wm__w:nth-child(1) .gl-wm__l:nth-child(2){ --g:#9A2CFF; } .gl-wm__w:nth-child(1) .gl-wm__l:nth-child(3){ --g:#C22CF0; }
.gl-wm__w:nth-child(1) .gl-wm__l:nth-child(4){ --g:#FF2DAA; } .gl-wm__w:nth-child(1) .gl-wm__l:nth-child(5){ --g:#FF5A6E; }
.gl-wm__w:nth-child(2) .gl-wm__l:nth-child(1){ --g:#FF9A3C; } .gl-wm__w:nth-child(2) .gl-wm__l:nth-child(2){ --g:#FFD23D; } .gl-wm__w:nth-child(2) .gl-wm__l:nth-child(3){ --g:#B7FF00; }
.gl-meute{ --s:clamp(260px, 30vw, 460px); margin-bottom:calc(var(--s) * -.34); }
.gl-dog + .gl-dog{ margin-left:calc(var(--s) * -.22); }
@media (max-width:700px){
  .gl-wm{ font-size:27vw; }
  .gl-wm__art{ display:block; width:auto; }
  .gl-wm__w{ display:block; }
  .gl-meute{ --s:46vw; margin-bottom:calc(var(--s) * -.3); }
  .gl-dog + .gl-dog{ margin-left:calc(var(--s) * -.47); }
}
.gl-meute{ margin-bottom:calc(var(--s) * -.22); }
.gl-wm{ font-size:min(16vw, 240px); }
@media (max-width:700px){ .gl-wm{ font-size:23vw; } .gl-top{ height:calc(100svh - 70px); } .gl-meute{ margin-bottom:calc(var(--s) * -.2); } }

/* appli sur ordinateur (15 nov. 2026) : les onglets restent visibles, en haut ; le héros juste dessous, puis « reprendre » */
@media (min-width:900px) and (hover:hover){ body[data-page="app"] .tabs{ display:grid; } }
body[data-page="app"] .home{ padding-top:calc(env(safe-area-inset-top) + 120px); }
body[data-page="app"] .gl-top{ margin-top:-8px; height:calc(100svh - 128px); }
body[data-page="app"] .resume{ margin:0 0 40px; }
@media (max-width:899px){ body[data-page="app"] .gl-top{ height:calc(100svh - 128px - 96px); min-height:440px; } body[data-page="app"] .gl-wm{ font-size:21vw; } }
/* iPhone (15 nov. 2026) : pas de 100vw sur téléphone (Safari le compte plus large que l'écran, d'où le héros décalé) :
   le héros déborde juste de la marge du conteneur ; et rien ne doit élargir la page */
body{ overflow-x:clip; }
@media (max-width:700px){
  .gl-top, body[data-page="app"] .gl-top{ width:auto; margin-left:-16px; margin-right:-16px; }
  body[data-page="app"] .gl-top{ margin-top:-28px; }
  .gl-meute{ max-width:100%; }
}
.gl-wm{ justify-self:stretch; width:100%; text-align:center; }
.gl-wm__art{ display:block !important; width:auto !important; }
@media (max-width:700px){
  .gl-wm__w{ display:block; text-align:center; }
  .gl-meute{ --s:38vw; justify-content:center; }
  .gl-dog + .gl-dog{ margin-left:calc(var(--s) * -.45); }
}

/* liste des jeux en texte (référencement et IA), discrète en bas de page */
.seo-list{ margin:64px 0 0; padding-top:28px; border-top:1px solid rgba(255,255,255,.08); color:rgba(245,242,236,.6); font-size:14px; line-height:1.55; }
.seo-list h1{ margin:0 0 6px; font-size:16px; line-height:1.3; font-weight:600; letter-spacing:0; color:#F5F2EC; }
.seo-list h2{ margin:22px 0 0; font-size:14px; font-weight:600; color:#F5F2EC; }   /* 16 nov. 2026 : familles et FAQ, même ton que la liste */
.seo-faq{ margin:10px 0 0; display:grid; gap:10px; }
.seo-faq dt{ color:#F5F2EC; }
.seo-faq dd{ margin:2px 0 0; }
.seo-list ul{ margin:12px 0 0; padding:0; list-style:none; display:grid; gap:6px; }
.seo-list a{ color:#F5F2EC; }

/* ---------- héros meute, version finale responsive (16 nov. 2026) ----------
   la taille des chiens suit la hauteur ET la largeur de l'écran ; ils sont plus gros, se chevauchent, coupés à la poitrine */
.gl-top{ grid-template-rows:auto auto 1fr !important; padding-top:clamp(28px, 7svh, 90px) !important; }
.gl-wm{ align-self:start !important; font-size:min(15vw, 22svh, 230px) !important; }
.gl-meute{ align-self:end; --s:min(34vw, 50svh, 520px) !important; margin-top:0 !important; margin-bottom:calc(var(--s) * -.36) !important; }
.gl-dog + .gl-dog{ margin-left:calc(var(--s) * -.34) !important; }
.gl-dog:nth-child(odd){ z-index:2; } .gl-dog:nth-child(even){ z-index:1; }
.gl-dog:nth-child(2){ transform:translateY(-4%); } .gl-dog:nth-child(3){ transform:translateY(-2%); }
@media (max-width:700px){
  .gl-wm{ font-size:min(23vw, 15svh) !important; }
  .gl-meute{ --s:min(47vw, 34svh) !important; margin-bottom:calc(var(--s) * -.3) !important; }
  .gl-dog + .gl-dog{ margin-left:calc(var(--s) * -.5) !important; }
}
/* hauteur du héros = son contenu (plus de grand vide sur tablette) ; les chiens arrivent juste sous le titre */
.gl-top, body[data-page="app"] .gl-top{ height:auto !important; min-height:0 !important; max-height:none !important; grid-template-rows:auto auto auto !important; }
.gl-meute{ margin-top:clamp(20px, 5svh, 64px) !important; }
@media (min-width:701px) and (max-width:1100px){ .gl-meute{ --s:min(38vw, 46svh) !important; } .gl-dog + .gl-dog{ margin-left:calc(var(--s) * -.44) !important; } .gl-wm{ font-size:min(17vw, 20svh) !important; } }
@media (max-width:700px){ .gl-meute{ --s:min(38vw, 30svh) !important; } .gl-dog + .gl-dog{ margin-left:calc(var(--s) * -.42) !important; } }
/* le berger australien passe devant ses voisins (16 nov. 2026) */
.gl-dog[data-dog="berger"]{ z-index:3 !important; }

/* ---------- 16 nov. 2026 (Hugues : « remets tout ça en mode ordinateur ») ----------
   Menu du joueur, carte d'identité du profil, et sur grand écran : les onglets entrent dans la barre du haut,
   les vues prennent la largeur du site (1080 px), le profil et les scores deviennent des tableaux de bord. */
.nav__me{ cursor:pointer; padding-right:12px; }
.nav__chev{ width:12px; height:12px; flex:none; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; opacity:.6; transition:transform .2s var(--out); }
.nav__me[aria-expanded="true"] .nav__chev{ transform:rotate(180deg); }
@media (hover:hover) and (pointer:fine){ .nav__me:hover{ background:rgba(255,255,255,.12); } }
.gl-menu{ position:fixed; z-index:80; width:272px; padding:6px; border-radius:20px; background:#15151C; color:#F5F2EC;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.09), 0 28px 60px -18px rgba(0,0,0,.9);
  transform-origin:top right; animation:gl-menu-in .18s cubic-bezier(.23,1,.32,1) both; }
.gl-menu.is-out{ animation:gl-menu-out .14s ease-in both; }
@keyframes gl-menu-in{ from{ opacity:0; transform:scale(.96) translateY(-4px); } }
@keyframes gl-menu-out{ to{ opacity:0; transform:scale(.97); } }
.gl-menu__h{ display:flex; align-items:center; gap:12px; padding:10px 10px 12px; margin-bottom:4px; box-shadow:inset 0 -1px 0 rgba(255,255,255,.08); }
.gl-menu__h img{ width:44px; height:44px; border-radius:50%; flex:none; }
.gl-menu__h span{ display:grid; min-width:0; }
.gl-menu__h b{ font-size:16px; font-weight:600; letter-spacing:-.01em; }
.gl-menu__h small{ color:rgba(245,242,236,.55); font-size:13px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.gl-menu a, .gl-menu button{ display:flex; align-items:center; width:100%; height:44px; padding:0 12px; border:0; border-radius:12px; background:none;
  color:inherit; font:inherit; font-size:15px; text-align:left; text-decoration:none; cursor:pointer; }
.gl-menu a:hover, .gl-menu button:hover, .gl-menu a:focus-visible, .gl-menu button:focus-visible{ background:rgba(255,255,255,.07); outline:none; }
.gl-menu__out{ margin-top:4px; color:#FF7A93 !important; box-shadow:inset 0 1px 0 rgba(255,255,255,.08); border-radius:0 0 12px 12px !important; }
@media (prefers-reduced-motion:reduce){ .gl-menu, .gl-menu.is-out{ animation-duration:.01s; } }

/* carte d'identité */
.idc{ display:grid; justify-items:center; text-align:center; padding:28px 22px 22px; margin-top:0; }
.idc__av{ width:112px; height:112px; border-radius:50%; box-shadow:0 0 0 4px var(--page, #08080D), 0 0 0 6px #FF2DAA, 0 20px 40px -16px rgba(255,45,170,.5); }
.idc__n{ margin:18px 0 0; font-size:28px; font-weight:650; letter-spacing:-.03em; line-height:1.1; max-width:100%; overflow:hidden; text-overflow:ellipsis; }
.idc__s{ display:flex; align-items:center; gap:7px; margin:8px 0 0; color:var(--ink-2); font-size:14px; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.idc__dot{ width:7px; height:7px; border-radius:50%; flex:none; background:#7CE38B; box-shadow:0 0 0 3px rgba(124,227,139,.18); }
.idc__dot--g{ background:#FFB020; box-shadow:0 0 0 3px rgba(255,176,32,.18); }
.idc__k{ display:grid; grid-template-columns:1fr 1fr; gap:8px; width:100%; margin:22px 0 0; }
.idc__k div{ padding:12px 10px; border-radius:14px; background:var(--chip); box-shadow:inset 0 0 0 1px var(--hair); }
.idc__k dt{ color:var(--ink-3); font-size:12px; }
.idc__k dd{ margin:2px 0 0; font-size:24px; font-weight:650; letter-spacing:-.02em; font-variant-numeric:tabular-nums; }
.idc__out, .idc__go{ width:100%; height:46px; margin-top:14px; border:0; border-radius:999px; font:inherit; font-size:15px; font-weight:600; cursor:pointer; }
.idc__out{ background:rgba(255,122,147,.1); color:#FF7A93; box-shadow:inset 0 0 0 1px rgba(255,122,147,.25); }
.idc__go{ background:#F5F2EC; color:#0A0A0A; }
@media (hover:hover) and (pointer:fine){ .idc__out:hover{ background:rgba(255,122,147,.16); } }
.idc__out:active, .idc__go:active{ transform:scale(.98); }
#vProfil > .card{ margin-top:12px; }
#vProfil > .idc{ margin-top:0; }

@media (min-width:900px){
  /* les onglets dans la barre du haut, au centre */
  body[data-page="app"] .tabs{ top:calc(env(safe-area-inset-top) + 10px); width:360px; height:48px; z-index:31; }
  body[data-page="app"] .home{ padding-top:20px; }
  body[data-page="app"] .hub{ max-width:calc(var(--wrap) + 48px); margin:0 auto; padding:44px 24px 96px; }
  body[data-page="app"] .vhead{ display:flex; align-items:baseline; gap:20px; padding:0 0 28px; }
  body[data-page="app"] .vhead__t{ font-size:64px; line-height:1; }
  body[data-page="app"] .vhead__s{ margin:0; }

  /* profil : identité à gauche (elle reste à l'écran), réglages à droite */
  #vProfil:not([hidden]){ display:grid; grid-template-columns:320px minmax(0, 1fr); column-gap:24px; align-items:start; }
  #vProfil > *{ max-width:none; }
  #vProfil > .vhead{ grid-column:1 / -1; }
  #vProfil > .idc{ grid-column:1; grid-row:2 / span 8; position:sticky; top:96px; }
  #vProfil > .card:not(.idc), #vProfil > .install-help{ grid-column:2; margin-top:0; margin-bottom:16px; }
  #vProfil .acct__f:not(.acct__row){ max-width:440px; }
  #vProfil .av{ grid-template-columns:repeat(8, minmax(0, 1fr)); gap:14px; }

  /* scores : records et dernières parties côte à côte */
  #vScores:not([hidden]){ display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); column-gap:24px; align-items:start; }
  #vScores > .vhead, #scStats, #scEmpty{ grid-column:1 / -1; }
  #scStats{ grid-template-columns:repeat(3, minmax(0, 1fr)); gap:16px; margin-bottom:12px; }
  #vScores > h2:first-of-type{ grid-column:1; grid-row:3; }
  #vScores > h2:last-of-type{ grid-column:2; grid-row:3; }
  #scBest{ grid-column:1; grid-row:4; }
  #scHist{ grid-column:2; grid-row:4; }
  #vScores .rows{ grid-template-columns:minmax(0, 1fr); }
}
@media (min-width:900px){
  #scStats .stat{ padding:20px 22px 18px; }
  #scStats .stat b{ font-size:44px; }
  #vScores > .vh2{ margin-top:22px; }
}
@media (min-width:900px){ #vProfil .acct__g{ max-width:440px; } #vProfil .acct__or{ max-width:440px; } }

/* ---------- 16 nov. 2026 (Hugues) : chiens plus bas, seule la tête dépasse ; la taille du jour en pop-up ---------- */
.gl-meute{ margin-bottom:calc(var(--s) * -.5) !important; }
@media (max-width:700px){ .gl-meute{ margin-bottom:calc(var(--s) * -.46) !important; } }
.gl-day{ position:fixed; z-index:45; left:50%; bottom:calc(env(safe-area-inset-bottom) + 18px); display:flex; align-items:center; gap:4px; width:min(calc(100% - 24px), 430px);
  padding:6px; border-radius:24px; background:rgba(20,18,28,.86); -webkit-backdrop-filter:blur(20px) saturate(160%); backdrop-filter:blur(20px) saturate(160%);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.1), inset 0 1px 0 rgba(255,255,255,.08), 0 24px 50px -18px rgba(0,0,0,.9), 0 0 40px -12px rgba(255,45,170,.35);
  transform:translate(-50%, calc(100% + 40px)); opacity:0; visibility:hidden;
  transition:transform .5s cubic-bezier(.23,1,.32,1), opacity .3s ease, visibility 0s linear .5s; }
.gl-day.is-on{ transform:translate(-50%, 0); opacity:1; visibility:visible; transition:transform .5s cubic-bezier(.23,1,.32,1), opacity .3s ease; }
.gl-day__a{ display:flex; align-items:center; gap:12px; flex:1; min-width:0; padding:4px; border-radius:18px; color:#F5F2EC; text-decoration:none; }
.gl-day__ico{ display:grid; place-items:center; width:44px; height:44px; flex:none; border-radius:14px; background:linear-gradient(140deg, #FF2DAA, #8A3CFF); box-shadow:inset 0 1px 0 rgba(255,255,255,.35), 0 8px 18px -8px rgba(255,45,170,.8); }
.gl-day__ico svg{ width:22px; height:22px; fill:none; stroke:#fff; stroke-width:2.6; stroke-linecap:round; }
.gl-day__t{ display:grid; gap:2px; min-width:0; }
.gl-day__k{ font-size:15px; font-weight:600; letter-spacing:-.01em; white-space:nowrap; }
.gl-day__k b{ color:#FF7AD1; font-weight:700; }
.gl-day__s{ font-size:13px; color:rgba(245,242,236,.62); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.gl-day__s b{ color:#F5F2EC; font-weight:600; }
.gl-day__go{ flex:none; margin-left:auto; display:inline-flex; align-items:center; height:38px; padding:0 16px; border-radius:99px; background:#F5F2EC; color:#0A0A0A; font-size:14px; font-weight:650; }
.gl-day.is-done .gl-day__go{ background:rgba(255,255,255,.1); color:#F5F2EC; }
.gl-day__x{ display:grid; place-items:center; width:34px; height:34px; flex:none; border:0; border-radius:50%; background:none; color:rgba(245,242,236,.5); cursor:pointer; }
.gl-day__x svg{ width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; }
@media (hover:hover) and (pointer:fine){ .gl-day__x:hover{ color:#F5F2EC; background:rgba(255,255,255,.08); } .gl-day__a:hover .gl-day__go{ filter:brightness(1.06); } }
.gl-day__a:active{ transform:scale(.98); }
body[data-page="app"] .gl-day{ bottom:calc(env(safe-area-inset-bottom) + 86px); }
@media (min-width:900px){ .gl-day{ left:auto; right:24px; transform:translate(0, calc(100% + 40px)); } .gl-day.is-on{ transform:none; } body[data-page="app"] .gl-day{ bottom:24px; } }
@media (prefers-reduced-motion:reduce){ .gl-day, .gl-day.is-on{ transition:opacity .2s ease, visibility 0s; } }
body[data-page="app"] .gl-day{ bottom:calc(env(safe-area-inset-bottom) + 98px); }
@media (min-width:900px){ body[data-page="app"] .gl-day{ bottom:24px; } }

/* 16 nov. 2026 (Hugues) : on voit un peu plus la meute ; la gelée s'écrase sous le doigt puis rebondit ; petites bulles */
.gl-meute{ margin-bottom:calc(var(--s) * -.4) !important; }
@media (max-width:700px){ .gl-meute{ margin-bottom:calc(var(--s) * -.36) !important; } }
.gl-dog__img{ transform-origin:50% 100%; transition:opacity .12s ease, transform .18s cubic-bezier(.23,1,.32,1); }
.gl-dog.is-squish .gl-dog__img{ transform:scale(1.07, .88); transition:opacity .12s ease, transform .14s cubic-bezier(.23,1,.32,1); }
.gl-dog.is-wob .gl-dog__img{ animation:gl-jelly .75s cubic-bezier(.3,.7,.4,1) both; }
@keyframes gl-jelly{ 0%{ transform:scale(1.07, .88); } 30%{ transform:scale(.95, 1.07); } 52%{ transform:scale(1.03, .97); } 72%{ transform:scale(.99, 1.015); } 100%{ transform:none; } }
.gl-dog:hover{ z-index:5; }
@media (prefers-reduced-motion:reduce){ .gl-dog.is-wob .gl-dog__img{ animation:none; } }
/* le husky : ses oreilles pointues dépassent, sa tête s'aligne sur celles des autres */
.gl-dog[data-dog="husky"] .gl-dog__fig{ translate:0 -5%; }
.gl-top__go{ position:relative; z-index:8; }

/* ---------- 16 nov. 2026 (Hugues) : « tous les jeux » dans la barre, plus d'onglets en haut ; halo de couleur autour des cartes ---------- */
.nav__links{ display:none !important; }
body[data-page="app"] .tabs{ display:none !important; }
body[data-page="app"] .home{ padding-top:16px !important; }
body[data-page="app"] .hub{ padding-top:28px !important; }
.nav__in{ gap:16px; }
.nav__jeux{ display:inline-flex; align-items:center; gap:8px; height:42px; margin:0 auto; padding:0 14px 0 12px; border:0; border-radius:999px; cursor:pointer;
  background:rgba(255,255,255,.07); color:#F5F2EC; font:600 15px/1 'Plus Jakarta Sans', system-ui, sans-serif; letter-spacing:-.01em;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.1); transition:background-color .2s ease, box-shadow .2s ease; }
.nav__jeux > svg:first-child{ width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; }
.nav__jeux[aria-expanded="true"]{ background:rgba(255,255,255,.14); box-shadow:inset 0 0 0 1px rgba(255,45,170,.6), 0 0 22px -6px rgba(255,45,170,.7); }
.nav__jeux[aria-expanded="true"] .nav__chev{ transform:rotate(180deg); }
@media (hover:hover) and (pointer:fine){ .nav__jeux:hover{ background:rgba(255,255,255,.12); } }
@media (min-width:901px){ .nav__jeux{ position:absolute; left:50%; transform:translateX(-50%); margin:0; } }
@media (max-width:420px){ .nav__jeux span{ display:none; } .nav__jeux{ padding:0 12px; } .nav__jeux::after{ content:"jeux"; } }
.gj{ position:fixed; z-index:70; left:50%; width:min(calc(100% - 24px), 1040px); transform:translateX(-50%); }
.gj[hidden]{ display:none; }
.gj__in{ max-height:calc(100svh - 110px); overflow:auto; padding:18px; border-radius:26px; background:rgba(16,14,24,.94); -webkit-backdrop-filter:blur(24px) saturate(150%); backdrop-filter:blur(24px) saturate(150%);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.09), 0 40px 80px -30px rgba(0,0,0,.95); animation:gj-in .26s cubic-bezier(.23,1,.32,1) both; transform-origin:50% 0; }
@keyframes gj-in{ from{ opacity:0; transform:translateY(-6px) scale(.985); } }
body.gj-open::after{ content:""; position:fixed; inset:0; z-index:60; background:rgba(4,4,8,.45); }
.gj__day{ display:flex; align-items:center; gap:14px; padding:12px 14px; margin-bottom:16px; border-radius:18px; text-decoration:none; color:#F5F2EC;
  background:linear-gradient(100deg, color-mix(in srgb, var(--c) 30%, transparent), rgba(255,255,255,.04)); box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--c) 55%, transparent); }
.gj__day img, .gj__g img{ width:40px; height:40px; border-radius:11px; flex:none; }
.gj__day b{ display:block; font-size:16px; } .gj__day small{ color:rgba(245,242,236,.65); font-size:13px; }
.gj__go{ margin-left:auto; height:34px; padding:0 14px; display:inline-flex; align-items:center; border-radius:99px; background:#F5F2EC; color:#0A0A0A; font-weight:650; font-size:14px; }
.gj__cols{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:6px 18px; }
.gj__t{ margin:4px 8px 8px; color:rgba(245,242,236,.5); font-size:12px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; }
.gj__g{ display:flex; align-items:center; gap:12px; padding:7px 8px; border-radius:14px; color:#F5F2EC; text-decoration:none; font-size:15px; font-weight:550; letter-spacing:-.01em; transition:background-color .15s ease; }
.gj__g:hover, .gj__g:focus-visible{ background:color-mix(in srgb, var(--c) 18%, transparent); outline:none; }
.gj__i{ display:grid; place-items:center; width:40px; height:40px; flex:none; border-radius:11px; background:color-mix(in srgb, var(--c) 22%, #15131d); color:var(--c); }
.gj__i svg{ width:22px; height:22px; }
.gj__foot{ display:flex; gap:20px; margin-top:14px; padding:12px 8px 2px; border-top:1px solid rgba(255,255,255,.08); }
.gj__foot a{ color:rgba(245,242,236,.7); font-size:14px; text-decoration:none; } .gj__foot a:hover{ color:#F5F2EC; }
@media (max-width:900px){ .gj__cols{ grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (max-width:520px){ .gj__cols{ grid-template-columns:1fr; } .gj__in{ padding:12px; } }
@media (prefers-reduced-motion:reduce){ .gj__in{ animation:none; } }

/* halo de couleur autour des cartes de jeux (couleur du jeu) */
.gc{ box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--c) 42%, transparent), 0 0 0 1px color-mix(in srgb, var(--c) 18%, transparent), 0 18px 46px -18px color-mix(in srgb, var(--c) 55%, transparent) !important;
  transition:box-shadow .3s ease, transform .3s cubic-bezier(.23,1,.32,1); }
@media (hover:hover) and (pointer:fine){ .gc:hover{ box-shadow:inset 0 0 0 1.5px color-mix(in srgb, var(--c) 75%, transparent), 0 0 0 1px color-mix(in srgb, var(--c) 35%, transparent), 0 22px 60px -14px color-mix(in srgb, var(--c) 75%, transparent) !important; } }
.nav__js{ display:none; }
@media (max-width:700px){
  .nav__in{ flex-wrap:nowrap !important; gap:8px !important; padding:10px 14px 8px !important; height:60px !important; }
  .nav__jl{ display:none; } .nav__js{ display:inline; }
  .nav__jeux{ height:38px; padding:0 12px; margin:0 0 0 auto; }
  .nav__jeux::after{ content:none !important; }
  .nav__end{ margin-left:0 !important; }
  .nav__join, .nav__end .pill{ height:38px !important; padding:0 14px !important; font-size:14px; }
  .nav__me span{ display:none; } .nav__me{ padding-right:8px; }
}
@media (max-width:380px){ .nav__word > span{ display:none; } }

/* ---------- 16 nov. 2026 (Hugues, sur téléphone : « beaucoup trop d'éléments, que ça fasse appli native, simple ») ----------
   Sous 700 px : rayons en carrousels horizontaux (une carte et le bord de la suivante), titres seuls, démo tenue dans un écran,
   un seul gros bouton « jouer » en bas qui ouvre le lanceur plein écran (le panneau « tous les jeux », hub/hub.js).
   Au-dessus de 700 px, rien ne change. */
html{ -webkit-tap-highlight-color:transparent; }
.gl-play, .gj__top{ display:none; }
@media (max-width:700px){
  a, button, [role="button"]{ touch-action:manipulation; }
  .gl-play, .nav__jeux, .gj__g, .gj__day, .gj__x, .gc{ -webkit-user-select:none; user-select:none; -webkit-touch-callout:none; }

  /* barre du haut : cibles de 44 px */
  .nav__mark{ min-height:44px; display:inline-flex; align-items:center; }
  .nav__jeux, .nav__join, .nav__end .pill, .nav__me{ height:44px !important; }
  .nav__play{ display:none !important; }   /* « jouer » est en bas de l'écran */

  /* moins de mots : le nom du rayon suffit */
  .shelf__h p, .intro{ display:none !important; }
  .shelf{ padding-top:30px; scroll-margin-top:72px; }
  .shelf__h{ margin:0 0 12px; }
  .shelf__h h2, .fam .shelf__h h2{ font-size:24px; line-height:1.1; letter-spacing:-.035em; }

  /* le héros, plus compact (mot lumineux + les 4 chiots) */
  .gl-top, body[data-page="app"] .gl-top{ padding-top:22px !important; }
  .gl-wm{ font-size:min(20vw, 12.5svh) !important; }
  .gl-meute{ --s:min(34vw, 25svh) !important; margin-top:12px !important; }

  /* rayons : carrousels horizontaux, aimantés, la carte suivante dépasse */
  .fam .ggrid, .fam .g2, #tous .ggrid{ display:flex !important; gap:12px !important; overflow-x:auto; overflow-y:hidden; overscroll-behavior-x:contain;
    scroll-snap-type:x mandatory; scroll-padding-inline:16px; margin:0 -16px; padding:2px 16px 22px; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
  .fam .ggrid::-webkit-scrollbar, .fam .g2::-webkit-scrollbar, #tous .ggrid::-webkit-scrollbar{ display:none; }
  .fam .gc, #tous .gc{ flex:0 0 76%; max-width:320px; scroll-snap-align:start; min-height:0 !important; }
  .fam .gc .gm, #tous .gc .gm{ aspect-ratio:4 / 3; margin:6px 6px 0; border-radius:16px; }
  .fam .gc .gc__s, .fam .gc .gc__f, #tous .gc .gc__s, #tous .gc .gc__f{ display:none; }
  .fam .gc__body, #tous .gc__body{ padding:12px 14px 14px; }
  .fam .gc__body .gc__h, #tous .gc__body .gc__h{ gap:10px; align-items:center; }
  .fam .gc__body .ico, #tous .gc__body .ico{ width:40px; height:40px; border-radius:11px; }
  .fam .gc__body .ico svg, #tous .gc__body .ico svg{ width:21px; height:21px; }
  .fam .gc__body .gc__t, #tous .gc__body .gc__t{ font-size:18px; line-height:1.15; letter-spacing:-.025em; }
  .fam .gc__body .t__rec, #tous .gc__body .t__rec{ margin:6px 0 0; font-size:12px; }
  .gm__verb{ left:10px; top:10px; height:24px; padding:0 10px; font-size:12px; }
  .gc:active{ transform:scale(.97); transition-duration:.1s; }

  /* la démo tient dans un écran, bouton compris (390x844 et 375x667) */
  .demo .shelf__h{ margin-bottom:10px; }
  .dm{ position:relative; grid-template-columns:1fr; gap:10px; padding:8px; border-radius:22px; }
  .dm__stage{ height:clamp(230px, calc(100svh - 330px), 420px) !important; border-radius:16px; }
  .dm__q{ display:none; }
  .dm__r{ position:absolute; z-index:3; left:18px; right:18px; top:18px; min-height:0; margin:0; font-size:14px; line-height:1.35; pointer-events:none; }
  .demo.is-done .dm__r{ padding:10px 12px; border-radius:14px; background:rgba(10,10,14,.8); -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px);
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.08); }
  .dm__r span{ display:block; margin-top:6px; }
  .dm__star{ width:22px; height:22px; margin-right:2px; }
  .dm__act{ display:grid; grid-template-columns:1fr; }
  .dm__go{ width:100%; height:52px; font-size:17px; }

  /* le podium : sous-titre retiré, comme les autres rayons */
  .podz .shelf__h p{ display:none; }

  /* « jouer » : un seul bouton, en bas, pour tout lancer */
  .gl-play{ position:fixed; z-index:50; left:16px; right:16px; bottom:calc(env(safe-area-inset-bottom, 0px) + 14px); display:flex; align-items:center; justify-content:center; gap:10px;
    height:58px; margin:0 auto; max-width:460px; border:0; border-radius:999px; background:#F5F2EC; color:#0A0A0A; cursor:pointer;
    font:800 20px/1 'Plus Jakarta Sans', 'Geist', system-ui, sans-serif; letter-spacing:-.02em;
    box-shadow:0 18px 40px -14px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.25), 0 0 40px -12px rgba(255,45,170,.6);
    transition:transform .16s cubic-bezier(.23,1,.32,1), opacity .2s ease; }
  .gl-play svg{ width:20px; height:20px; fill:currentColor; }
  .gl-play:active{ transform:scale(.97); }
  body[data-view="scores"] .gl-play, body[data-view="profil"] .gl-play{ display:none; }
  .home, body[data-page="app"] .home{ padding-bottom:calc(env(safe-area-inset-bottom, 0px) + 170px) !important; }
  /* le pop-up du jour se pose au-dessus de « jouer », jamais dessous */
  .gl-day, body[data-page="app"] .gl-day{ bottom:calc(env(safe-area-inset-bottom, 0px) + 84px) !important; }
  body[data-view="scores"] .gl-day, body[data-view="profil"] .gl-day{ bottom:calc(env(safe-area-inset-bottom, 0px) + 14px) !important; }
  .gl-day__x{ width:44px; height:44px; }
  .empty .btn--sm{ min-height:44px; display:inline-flex; align-items:center; }

  /* le lanceur : le panneau « tous les jeux » en plein écran, grandes tuiles comme l'écran d'accueil d'un téléphone */
  html.gj-lock, html.gj-lock body{ overflow:hidden; }
  body.gj-open::after{ display:none; }
  .gj{ inset:0; top:0 !important; left:0; width:auto; transform:none; z-index:80; }
  .gj__in{ height:100%; max-height:none; overflow-y:auto; overscroll-behavior:contain; border-radius:0; padding:0 16px calc(env(safe-area-inset-bottom, 0px) + 28px);
    background:rgba(10,9,16,.98); box-shadow:none; animation:gj-up .42s cubic-bezier(.32,.72,0,1) both; }
  .gj.is-out .gj__in{ animation:gj-down .22s cubic-bezier(.32,.72,0,1) both; }
  @keyframes gj-up{ from{ transform:translateY(100%); } }
  @keyframes gj-down{ to{ transform:translateY(100%); } }
  .gj__top{ position:sticky; top:0; z-index:2; display:flex; align-items:center; justify-content:space-between; margin:0 -16px; padding:calc(env(safe-area-inset-top, 0px) + 10px) 16px 10px;
    background:rgba(10,9,16,.92); -webkit-backdrop-filter:blur(16px); backdrop-filter:blur(16px); }
  .gj__h{ margin:0; font:800 30px/1 'Plus Jakarta Sans', 'Geist', system-ui, sans-serif; letter-spacing:-.03em; color:#F5F2EC; }
  .gj__x{ display:grid; place-items:center; width:44px; height:44px; border:0; border-radius:50%; background:rgba(255,255,255,.1); color:#F5F2EC; cursor:pointer;
    transition:transform .14s cubic-bezier(.23,1,.32,1); }
  .gj__x:active{ transform:scale(.92); }
  .gj__x svg{ width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; }
  .gj__day{ min-height:76px; margin:6px 0 24px; padding:12px 14px 12px 12px; border-radius:22px; }
  .gj__day img{ width:52px; height:52px; border-radius:14px; }
  .gj__go{ height:40px; padding:0 16px; }
  .gj__cols{ grid-template-columns:1fr !important; gap:26px; }
  .gj__t{ margin:0 2px 12px; font-size:13px; }
  .gj__list{ display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:18px 8px; }
  .gj__g{ flex-direction:column; justify-content:flex-start; gap:9px; padding:4px 2px; border-radius:18px; text-align:center; font-size:13.5px; line-height:1.2; font-weight:600; }
  .gj__g:hover, .gj__g:focus-visible{ background:none; }
  .gj__g img, .gj__g .gj__i{ width:min(78px, 22vw); height:min(78px, 22vw); border-radius:21px; box-shadow:0 12px 26px -12px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.06);
    transition:transform .14s cubic-bezier(.23,1,.32,1); }
  .gj__g .gj__i svg{ width:36px; height:36px; }
  .gj__g:active img, .gj__g:active .gj__i{ transform:scale(.92); }
  .gj__foot{ justify-content:center; gap:8px; margin-top:24px; }
  .gj__foot a{ display:inline-flex; align-items:center; min-height:44px; padding:0 14px; }
}
@media (max-width:700px) and (prefers-reduced-motion:reduce){
  .gj__in, .gj.is-out .gj__in{ animation:none; }
}
@media (max-width:700px){
  .gl-day.is-on.is-away{ transform:translate(-50%, calc(100% + 120px)); opacity:0; visibility:hidden;
    transition:transform .35s cubic-bezier(.23,1,.32,1), opacity .2s ease, visibility 0s linear .35s; }
  .gj__day small{ display:block; }
}
@media (max-width:700px){
  .gl-top, body[data-page="app"] .gl-top{ margin-bottom:6px !important; }
  .gl-top__go .gl-go{ display:none; }   /* une seule entrée : « jouer » en bas */
  .nav__lnk[hidden]{ display:none !important; }
  .nav__end .nav__lnk{ min-height:44px; display:inline-flex; align-items:center; }
}
/* renvoi vers Play Color Guesser (16 nov. 2026) */
.gj__pcg{ margin-top:14px; padding-top:12px; border-top:1px solid rgba(255,255,255,.08); }
.gj__pcg .gj__list{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:6px 18px; }
.gj__i--pcg{ background:none !important; overflow:hidden; }
.gj__i--pcg img{ width:40px; height:40px; border-radius:11px; }
@media (max-width:900px){ .gj__pcg .gj__list{ grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (max-width:700px){ .gj__pcg .gj__list{ grid-template-columns:repeat(3, minmax(0,1fr)); } }
.gj__i--pcg{ background:radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--c) 55%, #1a1626), #15131d 80%) !important; }
.gj__i--pcg img{ width:110% !important; height:110% !important; object-fit:contain; margin-top:8%; border-radius:0 !important; }
/* reprendre (16 nov. 2026) : l'icône 3D du jeu dans un halo de sa couleur, record et barre */
.resume{ grid-template-columns:56px minmax(0,1fr) auto 44px !important; padding:10px 10px 10px 10px !important;
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--c) 45%, transparent), 0 14px 36px -18px color-mix(in srgb, var(--c) 70%, transparent) !important;
  background:linear-gradient(100deg, color-mix(in srgb, var(--c) 16%, #121019), #101016 60%) !important; }
.resume__dot{ width:56px !important; height:56px !important; border-radius:16px; display:grid; place-items:center; overflow:hidden;
  background:radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--c) 55%, transparent), transparent 70%) !important; }
.resume__dot img{ width:56px; height:56px; border-radius:15px; }
.resume__v{ display:grid; justify-items:end; gap:6px; }
.resume__v small{ color:var(--ink-3); font-weight:400; }
.resume__bar{ display:block; width:96px; height:4px; border-radius:4px; background:rgba(255,255,255,.1); overflow:hidden; }
.resume__bar i{ display:block; height:100%; border-radius:4px; background:var(--c); box-shadow:0 0 10px var(--c); }
@media (hover:hover) and (pointer:fine){ .resume:hover{ box-shadow:inset 0 0 0 1.5px color-mix(in srgb, var(--c) 75%, transparent), 0 18px 44px -16px color-mix(in srgb, var(--c) 85%, transparent) !important; } }
@media (hover:hover) and (pointer:fine){ body.gj-open::after{ background:rgba(4,4,8,.25); } }
.resume__rec{ white-space:nowrap; }
@media (max-width:520px){ .resume__bar{ width:64px; } .resume__rec small{ display:none; } .resume{ gap:10px !important; } }
/* 16 nov. 2026 : le voile ne doit ni capter la souris ni passer devant la barre, sinon le survol de « tous les jeux » clignote */
body.gj-open::after{ pointer-events:none; }
body.gj-open .nav{ z-index:66; }

/* ---------- 16 nov. 2026 (Hugues : « un switch, d'autres personnages qui arrivent, qui bougent ») ----------
   la relève des chiens (hub/meute.js) : chaque chien a un plateau (.gl-dog__sw) qui descend et remonte, le bouton « changer de chiens »,
   et la tête d'un chien qui attend, au bord de l'écran. */
.gl-meute{ position:relative; }
.gl-dog__sw{ display:block; transform-origin:50% 100%; }
.gl-swap{ position:absolute; z-index:9; right:max(20px, calc(50% - 560px)); top:calc(var(--s) * -.06); display:inline-flex; align-items:center; gap:8px; height:40px; padding:0 16px 0 12px;
  border:0; border-radius:999px; background:rgba(22,19,34,.6); color:#F5F2EC; cursor:pointer; font:600 14px/1 Geist, ui-sans-serif, system-ui, sans-serif; letter-spacing:-.01em;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.13), 0 12px 28px -14px rgba(0,0,0,.95); -webkit-backdrop-filter:blur(14px) saturate(1.4); backdrop-filter:blur(14px) saturate(1.4);
  transition:transform .16s cubic-bezier(.23,1,.32,1), background-color .2s ease; -webkit-tap-highlight-color:transparent; touch-action:manipulation; }
.gl-swap svg{ width:18px; height:18px; flex:none; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.gl-swap:active{ transform:scale(.96); }
.gl-swap:focus-visible{ outline:2px solid #F5F2EC; outline-offset:3px; }
@media (hover:hover) and (pointer:fine){ .gl-swap:hover{ background:rgba(48,40,70,.72); } }
.gl-peek{ position:absolute; z-index:1; top:30%; width:clamp(120px, 12vw, 200px); aspect-ratio:1; padding:0; border:0; background:none; cursor:pointer;
  -webkit-tap-highlight-color:transparent; touch-action:manipulation; will-change:transform; }
.gl-peek[data-side="l"]{ left:0; } .gl-peek[data-side="r"]{ right:0; }
.gl-peek img{ display:block; width:100%; height:100%; object-fit:contain; pointer-events:none; filter:drop-shadow(0 14px 22px rgba(0,0,0,.55)); -webkit-user-drag:none; user-select:none; }
@media (max-width:700px){
  .gl-swap{ top:auto; bottom:calc(100% + 6px); right:12px; height:36px; padding:0 13px 0 10px; font-size:13px; }
  .gl-peek{ width:28vw; top:auto; bottom:calc(var(--peek-b, 46%)); }
}

/* ---------- le podium en carrousel (16 nov. 2026, Hugues : « un podium principal, puis on clique à droite, à gauche ») ---------- */
.pdc{ position:relative; }
.pdc__track{ display:flex; gap:16px; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory; overscroll-behavior-x:contain; scrollbar-width:none;
  border-radius:28px; outline:none; -webkit-overflow-scrolling:touch; }
.pdc__track::-webkit-scrollbar{ display:none; }
.pdc__track:focus-visible{ box-shadow:0 0 0 2px #08080D, 0 0 0 4px #F5F2EC; }
.pds{ position:relative; flex:0 0 100%; scroll-snap-align:center; scroll-snap-stop:always; display:grid; grid-template-columns:minmax(0, .85fr) minmax(0, 1.3fr); align-items:end; gap:24px 40px;
  min-height:460px; padding:48px 52px 0; border-radius:28px; overflow:hidden; color:#F5F2EC; transition:opacity .35s ease;
  background:
    radial-gradient(60% 80% at 74% 100%, color-mix(in srgb, var(--c) 34%, transparent), transparent 72%),
    radial-gradient(50% 60% at 0% 0%, color-mix(in srgb, var(--c) 14%, transparent), transparent 70%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 50% 0 / 40px 40px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 50% 0 / 40px 40px,
    #0D0C14;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.07), 0 40px 80px -44px rgba(0,0,0,.95); }
.pds:not(.is-on){ opacity:.5; }
.pds__info{ align-self:center; display:flex; flex-direction:column; align-items:flex-start; padding-bottom:48px; min-width:0; }
.pds__ico{ display:grid; place-items:center; width:64px; height:64px; border-radius:18px; object-fit:cover; box-shadow:0 14px 30px -14px color-mix(in srgb, var(--c) 80%, #000); }
img.pds__ico[src*="cup"]{ object-fit:contain; border-radius:0; box-shadow:none; filter:drop-shadow(0 12px 18px rgba(0,0,0,.5)); }
.pds__ico.ico{ background:var(--c); color:#0A0A0A; } .pds__ico.ico svg{ width:30px; height:30px; }
.pds__t{ margin:20px 0 0; font:700 clamp(30px, 3.4vw, 44px)/1.04 'Plus Jakarta Sans', Geist, sans-serif; letter-spacing:-.03em; text-wrap:balance; }
.pds__l{ margin:12px 0 26px; max-width:30ch; color:rgba(245,242,236,.68); font-size:16px; line-height:1.5; text-wrap:pretty; }
.pds__go{ height:46px; padding:0 22px; font-size:15.5px; font-weight:600; text-decoration:none; transition:transform .16s cubic-bezier(.23,1,.32,1); }
.pds__go:active{ transform:scale(.97); }
.pdx__row{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); align-items:end; gap:10px; min-width:0; }
.pdx{ display:flex; flex-direction:column; align-items:center; min-width:0; }
.pdx__who{ display:flex; flex-direction:column; align-items:center; gap:3px; max-width:100%; padding-bottom:14px; text-align:center; }
.pdx__who img{ width:88px; height:88px; margin-bottom:6px; object-fit:contain; filter:drop-shadow(0 14px 18px rgba(0,0,0,.55)); }
.pdx--1 .pdx__who img{ width:120px; height:120px; }
.pdx__who b{ max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font:700 17px/1.2 'Plus Jakarta Sans', Geist, sans-serif; letter-spacing:-.015em; }
.pdx__who span{ color:rgba(245,242,236,.66); font-size:14px; font-variant-numeric:tabular-nums; white-space:nowrap; }
.pdx.is-empty .pdx__who img{ filter:grayscale(1) brightness(.6); opacity:.28; }
.pdx.is-empty b{ color:rgba(245,242,236,.55); font-weight:700; }
.pdx--1.is-empty b{ color:#FFE08A; }
/* les marches en bonbon gelée : brillance en haut, petites bulles, cœur plus foncé en bas */
.pdx__step{ position:relative; display:grid; place-items:center; width:100%; border-radius:24px 24px 0 0; font-style:normal; overflow:hidden; }
.pdx__step::before{ content:""; position:absolute; left:12%; top:9px; width:40%; height:13px; border-radius:99px; background:linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.08)); }
.pdx__step em{ position:relative; font:800 44px/1 'Plus Jakarta Sans', Geist, sans-serif; font-style:normal; letter-spacing:-.04em; color:var(--n); text-shadow:0 1px 0 rgba(255,255,255,.45); }
.pdx--1 .pdx__step{ height:172px; --n:#8A4A00;
  background:radial-gradient(circle at 74% 34%, rgba(255,255,255,.6) 0 2.5px, transparent 3.5px), radial-gradient(circle at 82% 56%, rgba(255,255,255,.45) 0 2px, transparent 3px), radial-gradient(circle at 22% 70%, rgba(255,255,255,.35) 0 2px, transparent 3px),
    linear-gradient(180deg, #FFE98F, #FFC53D 46%, #EC9A12);
  box-shadow:inset 0 2px 0 rgba(255,255,255,.75), inset 0 -26px 36px -16px rgba(150,70,0,.55), 0 -10px 50px -14px rgba(255,197,61,.5); }
.pdx--2 .pdx__step{ height:126px; --n:#47556B;
  background:radial-gradient(circle at 70% 38%, rgba(255,255,255,.7) 0 2.5px, transparent 3.5px), radial-gradient(circle at 28% 66%, rgba(255,255,255,.5) 0 2px, transparent 3px),
    linear-gradient(180deg, #FAFCFF, #CDD6E3 50%, #98A6BB);
  box-shadow:inset 0 2px 0 rgba(255,255,255,.9), inset 0 -22px 32px -16px rgba(50,64,90,.5), 0 -10px 44px -16px rgba(205,214,227,.35); }
.pdx--3 .pdx__step{ height:94px; --n:#7A3410;
  background:radial-gradient(circle at 76% 40%, rgba(255,255,255,.55) 0 2.5px, transparent 3.5px), radial-gradient(circle at 24% 68%, rgba(255,255,255,.4) 0 2px, transparent 3px),
    linear-gradient(180deg, #FFCFA6, #EE9258 50%, #BE6230);
  box-shadow:inset 0 2px 0 rgba(255,255,255,.7), inset 0 -20px 30px -14px rgba(110,40,0,.5), 0 -10px 44px -16px rgba(238,146,88,.4); }
/* quand un podium arrive au centre : les marches montent du sol, puis les chiots s'y posent */
.pds.is-on .pdx__step{ animation:pd-rise .62s cubic-bezier(.23,1,.32,1) both; }
.pds.is-on .pdx--1 .pdx__step{ animation-delay:.04s; } .pds.is-on .pdx--3 .pdx__step{ animation-delay:.08s; }
.pds.is-on .pdx__who{ animation:pd-land .62s cubic-bezier(.23,1,.32,1) .14s both; }
.pds.is-on .pdx--1 .pdx__who{ animation-delay:.2s; }
@keyframes pd-rise{ from{ transform:translateY(55%); } }
@keyframes pd-land{ from{ opacity:0; transform:translateY(-14px) scale(.96); } }
.pdc__nav{ display:flex; align-items:center; justify-content:center; gap:16px; margin-top:20px; }
.pdc__arr{ display:grid; place-items:center; width:48px; height:48px; flex:none; padding:0; border:0; border-radius:50%; background:rgba(255,255,255,.07); color:#F5F2EC; cursor:pointer;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.1); transition:transform .16s cubic-bezier(.23,1,.32,1), background-color .2s ease, opacity .2s ease; -webkit-tap-highlight-color:transparent; }
.pdc__arr svg{ width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
.pdc__arr:active{ transform:scale(.93); }
.pdc__arr:disabled{ opacity:.28; cursor:default; transform:none; }
.pdc__arr:focus-visible, .pdc__dot:focus-visible{ outline:2px solid #F5F2EC; outline-offset:3px; }
@media (hover:hover) and (pointer:fine){ .pdc__arr:not(:disabled):hover{ background:rgba(255,255,255,.13); } }
.pdc__dots{ display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:7px; min-width:0; }
.pdc__dot{ position:relative; width:8px; height:8px; padding:0; border:0; border-radius:99px; background:rgba(245,242,236,.24); cursor:pointer;
  transition:width .3s cubic-bezier(.23,1,.32,1), background-color .2s ease; }
.pdc__dot::before{ content:""; position:absolute; inset:-10px -3px; }
.pdc__dot[aria-current]{ width:26px; background:#F5F2EC; }
@media (prefers-reduced-motion:reduce){ .pds.is-on .pdx__step, .pds.is-on .pdx__who{ animation:none; } .pdc__dot{ transition:none; } }
@media (max-width:700px){
  .pdc__track{ margin:0 -16px; padding:0 16px; scroll-padding-inline:16px; gap:10px; border-radius:0; }
  .pds{ flex-basis:100%; grid-template-columns:1fr; gap:22px; min-height:0; padding:22px 18px 0; border-radius:24px; }
  .pds__info{ padding-bottom:0; display:grid; grid-template-columns:48px minmax(0, 1fr) auto; align-items:center; column-gap:12px; }
  .pds__ico{ width:48px; height:48px; border-radius:14px; grid-row:1 / 3; }
  .pds__t{ margin:0; font-size:22px; }
  .pds__l{ grid-column:2; margin:3px 0 0; font-size:13.5px; line-height:1.35; }
  .pds__go{ grid-column:3; grid-row:1 / 3; height:40px; padding:0 16px; font-size:14px; }
  .pdx__row{ gap:6px; }
  .pdx__who{ padding-bottom:10px; }
  .pdx__who img{ width:60px; height:60px; margin-bottom:4px; }
  .pdx--1 .pdx__who img{ width:82px; height:82px; }
  .pdx__who b{ font-size:14px; }
  .pdx__who span{ font-size:12.5px; }
  .pdx__step{ border-radius:18px 18px 0 0; }
  .pdx__step::before{ top:7px; height:9px; }
  .pdx__step em{ font-size:32px; }
  .pdx--1 .pdx__step{ height:118px; } .pdx--2 .pdx__step{ height:86px; } .pdx--3 .pdx__step{ height:64px; }
  .pdc__nav{ gap:12px; margin-top:14px; }
  .pdc__arr{ width:44px; height:44px; }
  .pdc__dots{ gap:5px; }
  .pdc__dot{ width:6px; height:6px; } .pdc__dot[aria-current]{ width:20px; }
}

/* ---------- le pied de page (16 nov. 2026, Hugues : « un footer parfaitement à l'aise ») ---------- */
.glf{ position:relative; isolation:isolate; display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 2.15fr); gap:48px 64px; margin-top:112px; padding:64px 0 0;
  color:rgba(245,242,236,.68); font-size:15px; }
.glf::before{ content:""; position:absolute; top:0; left:50%; width:100vw; height:1px; transform:translateX(-50%);
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.14) 18%, rgba(255,255,255,.14) 82%, transparent); }
.glf::after{ content:""; position:absolute; z-index:-1; top:0; left:50%; width:min(1000px, 100vw); height:260px; transform:translateX(-50%); pointer-events:none;
  background:radial-gradient(50% 100% at 50% 0%, rgba(123,44,255,.13), transparent 72%); }
.glf__dog{ position:absolute; right:clamp(4px, 7%, 96px); bottom:100%; width:128px; height:58px; overflow:hidden; pointer-events:none; }
.glf__dog img{ display:block; width:128px; height:128px; object-fit:contain; transform:translateY(4px); }
.glf__mark{ display:inline-flex; align-items:center; gap:14px; color:#F5F2EC; text-decoration:none; border-radius:16px; }
.glf__mark img{ width:52px; height:52px; border-radius:15px; flex:none; box-shadow:0 12px 26px -12px rgba(194,44,240,.7); }
.glf__mark b{ display:block; font:700 24px/1 'Plus Jakarta Sans', Geist, sans-serif; letter-spacing:-.03em; }
.glf__mark small{ display:block; margin-top:6px; color:rgba(245,242,236,.62); font-size:14px; }
.glf__pitch{ margin:22px 0 0; max-width:34ch; line-height:1.6; color:rgba(245,242,236,.62); text-wrap:pretty; }
.glf__day{ display:inline-flex; align-items:center; gap:12px; margin-top:26px; padding:8px 20px 8px 8px; border-radius:18px; color:#F5F2EC; text-decoration:none;
  background:rgba(255,45,170,.07); box-shadow:inset 0 0 0 1px rgba(255,45,170,.3); transition:background-color .2s ease, transform .16s cubic-bezier(.23,1,.32,1); }
.glf__day:active{ transform:scale(.98); }
.glf__dayi img{ display:block; width:40px; height:40px; border-radius:12px; }
.glf__day b{ display:block; font-size:15px; font-weight:600; letter-spacing:-.01em; }
.glf__day small{ display:block; margin-top:2px; color:rgba(245,242,236,.6); font-size:13px; }
.glf__cols{ display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:36px 28px; }
.glf__col h2{ margin:0 0 12px; color:#F5F2EC; font:600 14px/1.3 Geist, ui-sans-serif, system-ui, sans-serif; letter-spacing:-.005em; }
.glf__col ul + h2{ margin-top:30px; }
.glf__col ul{ list-style:none; margin:0; padding:0; display:grid; }
.glf__col a{ display:inline-flex; align-items:center; min-height:36px; color:rgba(245,242,236,.66); text-decoration:none; transition:color .15s ease; }
.glf a:focus-visible{ outline:2px solid #F5F2EC; outline-offset:3px; border-radius:8px; }
@media (hover:hover) and (pointer:fine){ .glf__col a:hover, .glf__base a:hover{ color:#F5F2EC; } .glf__day:hover{ background:rgba(255,45,170,.13); } }
.glf__base{ grid-column:1 / -1; display:flex; justify-content:space-between; align-items:center; gap:4px 16px; flex-wrap:wrap; margin-top:8px; padding:20px 0 0;
  border-top:1px solid rgba(255,255,255,.07); color:rgba(245,242,236,.54); font-size:13.5px; }
.glf__base a{ display:inline-flex; align-items:center; min-height:44px; color:rgba(245,242,236,.66); text-decoration:none; }
@media (max-width:900px){ .glf{ grid-template-columns:1fr; gap:44px; } }
@media (max-width:700px){
  .glf{ margin-top:80px; padding-top:48px; gap:40px; font-size:15px; }
  .glf__dog{ right:10px; width:104px; height:48px; } .glf__dog img{ width:104px; height:104px; }
  .glf__cols{ grid-template-columns:repeat(2, minmax(0, 1fr)); gap:32px 16px; }
  .glf__col a{ min-height:40px; }
  .glf__base{ flex-direction:column; align-items:flex-start; }
}
/* réglages après essai (16 nov. 2026) : le bouton se pose au bas du héros, au centre, loin des bulles des chiens */
.gl-swap{ top:auto !important; right:auto !important; bottom:16px !important; left:50%; translate:-50% 0; }
@media (max-width:700px){ .gl-swap{ bottom:12px !important; } .pds{ align-content:space-between; } }
/* téléphone : le bouton devient une pastille ronde dans le coin, il ne cache plus les museaux */
@media (max-width:700px){
  .gl-swap{ left:auto; right:12px !important; translate:none; width:42px; height:42px; padding:0; justify-content:center; }
  .gl-swap span{ display:none; }
  .gl-swap svg{ width:20px; height:20px; }
}

/* ---------- la démo « Teste Size Guesser » : un halo à la couleur de Size Guesser, comme les cartes de jeux (16 nov. 2026, Hugues) ----------
   un pouls doux tant qu'on ne l'a pas touchée ; plus grande sur ordinateur. */
.dm{ --c:#A8F03C; position:relative;
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--c) 42%, transparent), 0 0 0 1px color-mix(in srgb, var(--c) 18%, transparent), 0 18px 46px -18px color-mix(in srgb, var(--c) 55%, transparent), var(--drop); }
.dm::after{ content:""; position:absolute; inset:0; z-index:0; border-radius:inherit; pointer-events:none; opacity:0;
  box-shadow:inset 0 0 0 1.5px color-mix(in srgb, var(--c) 70%, transparent), 0 0 0 1px color-mix(in srgb, var(--c) 40%, transparent), 0 0 56px -10px color-mix(in srgb, var(--c) 75%, transparent);
  animation:dm-pulse 2.8s ease-in-out infinite; transition:opacity .4s ease; }
.demo.is-touched .dm::after, .demo.is-done .dm::after{ animation:none; opacity:0; }
@keyframes dm-pulse{ 50%{ opacity:1; } }
@media (prefers-reduced-motion:reduce){ .dm::after{ animation:none; opacity:.6; } }
@media (min-width:900px){
  .dm{ grid-template-columns:minmax(0, 1.55fr) minmax(0, 1fr); gap:36px; padding:24px; }
  .dm__stage{ height:clamp(440px, 44vw, 600px); }
  .dm__hd{ width:54px; height:54px; margin:0 0 -27px -27px; }
  .dm__val{ font-size:28px; }
}

/* ---------- téléphone, refonte « vraie appli » (16 nov. 2026, Hugues : « référence-toi à Play Color Guesser ») ----------
   barre du haut compacte (logo + guesslab, profil à droite), héros resserré (le mot sur une ligne, la meute en petit, la phrase),
   la taille du jour en carte, « reprendre » compact, les jeux en grilles de 2 par famille, et une barre d'onglets fixe en bas
   (accueil, jeux, podium, profil ; hub/hub.js). Au-dessus de 700 px, rien de tout ça ne s'affiche. */
.gl-tabbar, .gl-jour{ display:none; }
@media (max-width:700px){
  /* barre du haut */
  .nav__jeux, .gl-play, .gl-day{ display:none !important; }
  .nav__word > span{ display:none; }
  .nav__end{ margin-left:auto !important; }
  .nav__in{ height:56px !important; padding:6px 14px !important; }
  .nav__end .nav__lnk, .nav__join{ height:40px !important; min-height:40px; padding:0 15px !important; border-radius:999px; background:rgba(255,255,255,.08) !important; color:#F5F2EC !important;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.12) !important; font-size:14px !important; font-weight:600; }
  .nav__me{ height:44px !important; }

  /* le héros : tout tient en ~200 px */
  .gl-top, body[data-page="app"] .gl-top{ padding-top:10px !important; margin-bottom:12px !important; }
  .gl-wm{ font-size:min(16.5vw, 9.5svh) !important; white-space:nowrap !important; margin:0 !important; line-height:1 !important; }
  .gl-wm__w{ display:inline !important; }
  .gl-top__go{ margin-top:4px !important; gap:0 !important; }
  .gl-top__sub{ font-size:15px !important; }
  .gl-meute{ --s:min(23vw, 13.5svh) !important; margin-top:6px !important; margin-bottom:calc(var(--s) * -.3) !important; }
  .gl-peek{ width:20vw; }
  .gl-swap{ width:36px !important; height:36px !important; bottom:8px !important; }
  .gl-swap svg{ width:17px; height:17px; }

  /* la taille du jour, en carte (comme le défi du jour de Play Color Guesser) */
  .gl-jour{ --c:#FF2DAA; display:grid; grid-template-columns:60px minmax(0, 1fr) 44px; align-items:center; gap:12px; margin:0 0 12px; padding:10px 10px 10px 10px;
    border-radius:22px; color:#F5F2EC; text-decoration:none; -webkit-user-select:none; user-select:none; -webkit-touch-callout:none;
    background:radial-gradient(80% 140% at 0% 0%, color-mix(in srgb, var(--c) 22%, transparent), transparent 60%), linear-gradient(180deg, #17141F, #100E16);
    box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--c) 40%, transparent), 0 16px 40px -18px color-mix(in srgb, var(--c) 65%, transparent);
    transition:transform .14s cubic-bezier(.23,1,.32,1); }
  .gl-jour:active{ transform:scale(.98); }
  .gl-jour.is-done{ --c:#A8F03C; }
  .gl-jour__art img{ display:block; width:60px; height:60px; border-radius:17px; box-shadow:0 10px 22px -10px rgba(0,0,0,.8); }
  .gl-jour__t{ display:grid; gap:3px; min-width:0; }
  .gl-jour__k{ display:flex; align-items:center; gap:6px; font:700 17px/1.15 'Plus Jakarta Sans', Geist, sans-serif; letter-spacing:-.02em; white-space:nowrap; }
  .gl-jour__n{ color:rgba(245,242,236,.55); font-weight:600; font-size:14px; }
  .gl-jour__st{ margin-left:auto; padding:3px 8px; border-radius:99px; font:600 11px/1.2 Geist, sans-serif; letter-spacing:0; color:#0A0A0A; background:var(--c); }
  .gl-jour__s, .gl-jour__c{ color:rgba(245,242,236,.66); font-size:13px; line-height:1.3; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .gl-jour__s b{ color:#F5F2EC; }
  .gl-jour__c b{ color:#F5F2EC; font-weight:600; font-variant-numeric:tabular-nums; }
  .gl-jour__go{ display:grid; place-items:center; width:44px; height:44px; border-radius:50%; background:#F5F2EC; color:#0A0A0A; }
  .gl-jour__go svg{ width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round; }

  /* reprendre, compact */
  .resume{ grid-template-columns:44px minmax(0,1fr) auto 40px !important; gap:10px !important; padding:8px !important; margin:0 0 4px !important; border-radius:18px !important; }
  .resume__dot, .resume__dot img{ width:44px !important; height:44px !important; border-radius:12px !important; }
  .resume__go{ width:40px !important; height:40px !important; }
  .resume__k{ font-size:12px !important; } .resume__n{ font-size:15px !important; }

  /* les rayons : Size Guesser d'abord, puis la démo, le podium et les autres familles */
  .home #sections{ display:flex; flex-direction:column; }
  #sections > #top{ order:0; } #sections > #demo{ order:1; } #sections > #podium{ order:2; } #sections > .shelf:not(#top):not(#demo):not(#podium){ order:3; }
  #sections > #top{ padding-top:14px; }
  .shelf{ padding-top:34px; scroll-margin-top:64px; }
  .shelf__h h2, .fam .shelf__h h2{ font-size:22px !important; }

  /* les jeux : grilles de 2 grandes tuiles (aperçu animé, nom, verbe) ; un nombre impair met la première en large */
  .fam .ggrid, .fam .g2, #tous .ggrid{ display:grid !important; grid-template-columns:repeat(2, minmax(0, 1fr)) !important; gap:12px !important;
    overflow:visible !important; scroll-snap-type:none !important; margin:0 !important; padding:0 !important; }
  .fam .gc, #tous .gc{ flex:none !important; max-width:none !important; min-width:0; border-radius:20px; }
  .fam .ggrid > .gc:first-child:nth-last-child(odd), #tous .ggrid > .gc:first-child:nth-last-child(odd){ grid-column:1 / -1; }
  .fam .gc .gm, #tous .gc .gm{ aspect-ratio:1 / 1 !important; margin:5px 5px 0 !important; border-radius:16px !important; }
  .fam .ggrid > .gc:first-child:nth-last-child(odd) .gm, #tous .ggrid > .gc:first-child:nth-last-child(odd) .gm{ aspect-ratio:2 / 1 !important; }
  .fam .gc__body, #tous .gc__body{ padding:9px 12px 12px !important; }
  .fam .gc__body .ico, #tous .gc__body .ico{ display:none !important; }
  .fam .gc__body .gc__t, #tous .gc__body .gc__t{ font-size:15.5px !important; line-height:1.2 !important; letter-spacing:-.015em !important; font-weight:650; }
  .fam .gc__body .t__rec, #tous .gc__body .t__rec{ display:block; margin:4px 0 0 !important; font-size:11.5px !important; }
  .gm__verb{ left:8px !important; top:8px !important; height:22px !important; padding:0 9px !important; font-size:11.5px !important; }

  /* la démo : toute la largeur, scène + « valider » dans un écran, au-dessus de la barre d'onglets */
  .demo .dm{ margin:0 -6px; padding:6px; gap:8px; border-radius:24px; }
  .dm__stage{ height:clamp(300px, calc(100svh - 272px), 600px) !important; border-radius:18px; }
  .dm__go{ height:52px; }

  /* la place de la barre d'onglets */
  .home, body[data-page="app"] .home{ padding-bottom:calc(env(safe-area-inset-bottom, 0px) + 96px) !important; }
  .hub{ padding-bottom:calc(env(safe-area-inset-bottom, 0px) + 110px) !important; }
  .gj__in{ padding-bottom:calc(env(safe-area-inset-bottom, 0px) + 104px) !important; }

  /* la barre d'onglets, en verre, comme Play Color Guesser */
  .gl-tabbar{ position:fixed; z-index:90; left:12px; right:12px; bottom:calc(env(safe-area-inset-bottom, 0px) + 10px); display:grid; grid-template-columns:repeat(4, minmax(0, 1fr));
    max-width:440px; height:64px; margin:0 auto; padding:5px; border-radius:999px; isolation:isolate;
    background:rgba(20,17,28,.74); -webkit-backdrop-filter:blur(20px) saturate(1.6); backdrop-filter:blur(20px) saturate(1.6);
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.11), 0 20px 44px -18px rgba(0,0,0,.95); }
  .gl-tabbar::before{ content:""; position:absolute; z-index:-1; top:5px; bottom:5px; left:5px; width:calc((100% - 10px) / 4); border-radius:999px; background:#F5F2EC;
    box-shadow:0 0 26px -6px rgba(255,45,170,.55), 0 6px 16px -8px rgba(0,0,0,.6); transform:translateX(calc(var(--i, 0) * 100%));
    transition:transform .38s cubic-bezier(.32,.72,0,1); }
  .gl-tab{ position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; min-width:0; min-height:44px; padding:0; border:0; border-radius:999px;
    background:none; color:rgba(245,242,236,.66); font:600 11.5px/1 Geist, ui-sans-serif, system-ui, sans-serif; letter-spacing:-.005em; text-decoration:none; cursor:pointer;
    -webkit-user-select:none; user-select:none; -webkit-touch-callout:none; touch-action:manipulation; transition:color .2s ease, transform .14s cubic-bezier(.23,1,.32,1); }
  .gl-tab svg{ width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
  .gl-tab[aria-current]{ color:#0A0A0A; }
  .gl-tab[aria-current] svg{ stroke-width:2.2; }
  .gl-tab:active{ transform:scale(.93); }
  .gl-tab:focus-visible{ outline:2px solid #F5F2EC; outline-offset:-3px; }
}
@media (max-width:700px) and (prefers-reduced-motion:reduce){ .gl-tabbar::before{ transition:none; } }
@media (max-width:700px){
  /* Size Guesser : ses 3 jeux sur une ligne, comme les 3 grandes tuiles de Play Color Guesser */
  .home #top .ggrid{ grid-template-columns:repeat(3, minmax(0, 1fr)) !important; gap:10px !important; }
  .home #top .ggrid > .gc{ grid-column:auto !important; border-radius:18px; }
  .home #top .ggrid > .gc .gm{ aspect-ratio:1 / 1.05 !important; margin:4px 4px 0 !important; border-radius:14px !important; }
  .home #top .gc__body{ padding:8px 9px 10px !important; }
  .home #top .gc__body .gc__t{ font-size:13.5px !important; }
  .home #top .gm__verb{ left:6px !important; top:6px !important; height:20px !important; padding:0 7px !important; font-size:10.5px !important; }
  .dm__stage{ height:clamp(290px, calc(100svh - 292px), 600px) !important; }
}
@media (max-width:700px){ .home #top .gc__body .t__rec{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size:10.5px !important; } }

/* 16 nov. 2026 (Hugues : « trop resserré, élargis, que ce soit aérien ») : sur téléphone, de grandes cartes qui respirent */
@media (max-width:700px){
  .home{ padding-left:18px !important; padding-right:18px !important; }
  .shelf{ margin-top:44px !important; }
  .shelf__h{ margin-bottom:16px !important; }
  .shelf__h h2{ font-size:26px !important; letter-spacing:-.02em; }
  .home #top .ggrid, .fam .ggrid, .fam .g2, #tous .ggrid{ display:grid !important; grid-template-columns:repeat(2, minmax(0, 1fr)) !important; gap:16px !important; }
  .home #top .ggrid > .gc:first-child, .fam .ggrid > .gc:first-child:nth-last-child(odd), #tous .ggrid > .gc:first-child:nth-last-child(odd){ grid-column:1 / -1 !important; }
  .home #top .ggrid > .gc:first-child .gm, .fam .ggrid > .gc:first-child:nth-last-child(odd) .gm, #tous .ggrid > .gc:first-child:nth-last-child(odd) .gm{ aspect-ratio:16 / 10 !important; }
  .home #top .ggrid > .gc, .fam .ggrid > .gc, .fam .g2 > .gc, #tous .ggrid > .gc{ border-radius:24px !important; min-height:0 !important; }
  .home #top .ggrid > .gc .gm, .fam .ggrid > .gc .gm, .fam .g2 > .gc .gm, #tous .ggrid > .gc .gm{ aspect-ratio:1 / 1 !important; margin:6px 6px 0 !important; border-radius:19px !important; }
  .home #top .gc__body, .fam .gc__body, #tous .gc__body{ padding:14px 16px 16px !important; }
  .home #top .gc__t, .fam .gc__t, #tous .gc__t{ font-size:17px !important; line-height:1.2; }
  .home #top .ggrid > .gc:first-child .gc__t, .fam .ggrid > .gc:first-child:nth-last-child(odd) .gc__t{ font-size:21px !important; }
}

/* 16 nov. 2026 (Hugues, comme Play Color Guesser) : sur téléphone, premier écran = « Guess / Lab » en très gros sur deux lignes,
   les chiens en grand au bas de l'écran, un gros bouton « jouer » en haut à droite ; les jeux viennent ensuite */
.gl-playtop{ display:none; }
@media (max-width:700px){
  .gl-playtop{ display:inline-flex; align-items:center; gap:8px; height:46px; padding:0 20px 0 16px; border:0; border-radius:999px; cursor:pointer;
    background:#F5F2EC; color:#0A0A0A; font:700 17px/1 'Plus Jakarta Sans', Geist, sans-serif; letter-spacing:-.01em;
    box-shadow:0 10px 26px -10px rgba(255,255,255,.35), inset 0 -2px 0 rgba(0,0,0,.08); -webkit-tap-highlight-color:transparent; }
  .gl-playtop svg{ width:22px; height:22px; fill:#0A0A0A; }
  .gl-playtop:active{ transform:scale(.96); }
  .nav__end{ gap:8px !important; }
  .nav__join, .nav__lnk{ display:none !important; }
  .gl-top, body[data-page="app"] .gl-top{ min-height:calc(100svh - 64px - 96px) !important; display:flex !important; flex-direction:column !important; justify-content:flex-end !important;
    padding-top:0 !important; margin-bottom:22px !important; }
  .gl-wm{ font-size:min(33vw, 17svh) !important; white-space:normal !important; line-height:.88 !important; margin:auto 0 0 !important; text-align:center; }
  .gl-wm__w{ display:block !important; }
  .gl-top__go{ margin:14px 0 auto !important; }
  .gl-top__sub{ font-size:17px !important; }
  .gl-meute{ --s:min(36vw, 22svh) !important; margin-top:18px !important; margin-bottom:calc(var(--s) * -.32) !important; }
  .gl-meute .gl-dog + .gl-dog{ margin-left:calc(var(--s) * -.3) !important; }
  .gl-swap{ width:42px !important; height:42px !important; }
  .gl-jour{ margin-bottom:8px !important; }
}
@media (max-width:700px){
  .gl-wm{ font-size:min(27vw, 15svh) !important; letter-spacing:-.04em; }
  .gl-meute{ --s:min(38vw, 23svh) !important; }
  .gl-meute .gl-dog + .gl-dog{ margin-left:calc(var(--s) * -.42) !important; }
  .gl-playtop svg{ width:16px; height:16px; }
}
@media (max-width:380px){ .gl-wm{ font-size:min(26vw, 14svh) !important; } }

/* 23 nov. 2026 (tour global) : la série dans la carte et le pop-up de la taille du jour (hub/jour-pop.js) */
.gl-fire{ display:inline-flex; align-items:center; gap:2px; margin-left:4px; font:700 13px/1 Geist, ui-sans-serif, system-ui, sans-serif; letter-spacing:0; color:#FFB36B; font-variant-numeric:tabular-nums; vertical-align:middle; }
.gl-fire svg{ width:15px; height:15px; fill:#FF9A3C; filter:drop-shadow(0 0 5px rgba(255,154,60,.6)); flex:none; }
.gl-fire b{ font-weight:700; color:inherit; }
