/* ==========================================================================
   Play With ASL theme for the CLERC signer studio (local copy only).
   Injected by app_signer._pwa_theme() at the end of <head> of every HTML page
   when STUDIO_THEME=pwa. It re-skins only: markup, ids and logic unchanged.

   Brand source: github.com/PlayWithASL/Public-Assets (press-kit "Brand specs")
   and the live CSS of playwithasl.com (Oct 2026).
   Dark pages of the studio take the forest-green chalkboard of the
   playwithasl.com landing ("How do you want to get started?") instead of black.
   ========================================================================== */

/* ── Fonts. The Google Fonts links are removed by the injector, so these are
   the only faces: every Barlow / IBM Plex Mono rule of the studio now draws
   Montserrat, and headings get GosmickSans below. ──────────────────────── */
@font-face{font-family:GosmickSans;src:url(/static/pwa/fonts/GosmickSans.ttf) format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:GosmickSans;src:url(/static/pwa/fonts/GosmickSansBold.ttf) format("truetype");font-weight:700 900;font-display:swap}
@font-face{font-family:Montserrat;src:url(/static/pwa/fonts/Montserrat-latin.woff2) format("woff2");font-weight:100 900;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Montserrat;src:url(/static/pwa/fonts/Montserrat-latin-ext.woff2) format("woff2");font-weight:100 900;font-display:swap;unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Barlow;src:url(/static/pwa/fonts/Montserrat-latin.woff2) format("woff2");font-weight:100 900;font-display:swap}
@font-face{font-family:"IBM Plex Mono";src:url(/static/pwa/fonts/Montserrat-latin.woff2) format("woff2");font-weight:100 900;font-display:swap}
@font-face{font-family:"Space Mono";src:url(/static/pwa/fonts/Montserrat-latin.woff2) format("woff2");font-weight:100 900;font-display:swap}

/* ── Brand tokens, then the studio tokens re-pointed (join, signer,
   leaderboard, edu, admin all read these names) ─────────────────────── */
:root{
  --pwa-purple:#8742E3; --pwa-purple-dark:#6b30c0; --pwa-purple-soft:#b98cf5;
  --pwa-orange:#FF8C00; --pwa-yellow:#FFA900;
  --pwa-green:#2B5841; --pwa-green-deep:#1e4030; --pwa-green-night:#16301f;
  --pwa-blue:#42BFEE;
  --pwa-coral:#E8453C; --pwa-coral-hover:#d63a32;
  --pwa-cream:#FFF9F0; --pwa-cream-alt:#FEF5E7;
  --pwa-hex:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0l28 16.2v32.3L28 64.7 0 48.5V16.2z M28 64.7V97' fill='none' stroke='%23ffffff' stroke-opacity='.045' stroke-width='1.4'/%3E%3C/svg%3E");

  --bg:var(--pwa-green-deep) !important;
  --surface:#25503a !important; --surface2:#2B5841 !important;
  --card:#25503a !important; --card2:#2B5841 !important; --card-h:#2B5841 !important; /* /games: a hovered card went black */
  --field:#2f6048 !important; --field-h:#376b52 !important;
  --border:rgba(255,249,240,.12) !important; --line:rgba(255,249,240,.12) !important;
  --text:var(--pwa-cream) !important; --accent:var(--pwa-cream) !important;
  --muted:rgba(255,249,240,.62) !important; --dim:rgba(255,249,240,.4) !important;
  --green:var(--pwa-blue) !important; --green-bg:rgba(66,191,238,.14) !important;
  --red:var(--pwa-coral) !important; --red-bg:rgba(232,69,60,.14) !important;
  --orange:var(--pwa-orange) !important; --gold:var(--pwa-yellow) !important;
  --font:Montserrat,system-ui,sans-serif !important;
  --sys:Montserrat,system-ui,sans-serif !important;
  --mono:Montserrat,system-ui,sans-serif !important;
  --display:GosmickSans,"Comic Sans MS",cursive !important;
}

html,body{background-color:var(--pwa-green-deep) !important}
body{background-image:var(--pwa-hex) !important;color:var(--pwa-cream)}
::selection{background:var(--pwa-purple);color:#fff}

/* Orange-to-purple stripe of playwithasl.com along the very top */
body::before{content:"";position:fixed;left:0;right:0;top:0;height:4px;z-index:2147483000;pointer-events:none;
  background:linear-gradient(90deg,var(--pwa-orange),var(--pwa-purple))}

/* ── Logo: the "clerc" wordmark becomes the Play With ASL monkey ─────── */
.logo,.header-title,.wm{
  display:inline-block !important;width:46px !important;height:46px !important;min-width:46px;
  font-size:0 !important;line-height:0 !important;color:transparent !important;letter-spacing:0 !important;
  background:url(/static/pwa/logo-140.webp) center/contain no-repeat !important;
  filter:drop-shadow(0 2px 3px rgba(0,0,0,.35));vertical-align:middle;
}
@media (min-resolution:2dppx){.logo,.header-title,.wm{background-image:url(/static/pwa/logo-560.webp) !important}}

/* ── Chrome: translucent black bars become green ─────────────────────── */
.nav,.header,.topbar{background:rgba(30,64,48,.86) !important;border-bottom:1px solid rgba(255,249,240,.1) !important}
.nav{height:60px}

/* ── Headings in GosmickSans ─────────────────────────────────────────── */
h1,h2,.hero h1,.modal-title,.break-title,.section-title{
  font-family:GosmickSans,"Comic Sans MS",cursive !important;letter-spacing:0 !important;font-weight:700 !important;
}
h1{color:var(--pwa-cream)}
.hero h1,main > h1{color:#fff;text-shadow:0 3px 0 rgba(0,0,0,.18)}

/* ── Buttons: coral pills like "Get started free" ────────────────────── */
.btn:not(.ghost):not(.btn-nav):not(.btn-stop):not(.btn-break):not(.btn-countdown),
.btn-resume,.btn-save{
  background:var(--pwa-coral) !important;color:#fff !important;border-radius:9999px !important;
  font-family:Montserrat,sans-serif !important;font-weight:700 !important;letter-spacing:.04em !important;text-transform:uppercase;
  box-shadow:0 4px 0 var(--pwa-coral-hover),0 10px 15px rgba(0,0,0,.18) !important;
}
.btn:not(.ghost):not(.btn-nav):not(.btn-stop):not(.btn-break):not(.btn-countdown):hover{background:var(--pwa-coral-hover) !important;opacity:1 !important}
.btn:not(.ghost):disabled{background:rgba(255,249,240,.14) !important;color:rgba(255,249,240,.45) !important;box-shadow:none !important}
.btn.ghost,.btn-nav,.btn-break{color:var(--pwa-cream) !important;box-shadow:inset 0 0 0 2px rgba(255,249,240,.35) !important;border-radius:9999px !important;background:transparent !important}
.btn-record{background:var(--pwa-coral) !important;color:#fff !important}
.btn-stop{background:var(--pwa-cream) !important;color:var(--pwa-green-deep) !important}

/* links and focus */
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--pwa-blue) !important;outline-offset:2px}
.nav-r a:hover{color:var(--pwa-yellow) !important}

/* inputs on green */
input[type=text],input[type=email],input[type=tel],input[type=number],input[type=password],select,textarea{
  background-color:var(--field,#2f6048);color:var(--pwa-cream);
}
input::placeholder,textarea::placeholder{color:rgba(255,249,240,.42)}

/* ── Full-screen layers that were hard black ─────────────────────────── */
.intro,.veil{background-color:var(--pwa-green-deep) !important;background-image:var(--pwa-hex) !important}
.overlay-break{background:rgba(22,48,31,.86) !important}
.modal-backdrop,.backdrop,.qdlg{background:rgba(16,36,24,.7) !important}
.header{background:rgba(30,64,48,.9) !important}
.xp-toast b{background:var(--pwa-purple) !important}

/* ── Join: grey Apple-style controls become brand colors ─────────────── */
.seg button.on{background:var(--pwa-purple) !important;color:#fff !important;box-shadow:0 3px 0 var(--pwa-purple-dark) !important}
.ichips span.ca,.c4.p1 .ichips span.cb{background:var(--pwa-purple) !important;color:#fff !important}
.bar,.mbar,.br-t{background:rgba(255,249,240,.12) !important}
.dots i,.cd i,.trk{background:rgba(255,249,240,.22) !important}
.terms::-webkit-scrollbar-thumb{background:rgba(255,249,240,.3) !important}
.list:hover{background:#30654c !important}
.list.prio{box-shadow:0 0 0 2px var(--pwa-orange) !important}
.list .tag.prio{background:var(--pwa-orange) !important;color:#fff !important}

/* ── Studio (/signer): panels, modals, XP ────────────────────────────── */
.modal-card,.modal{background:rgba(37,80,58,.97) !important;border:1px solid rgba(255,249,240,.12) !important;color:var(--pwa-cream)}
.impact-toast{background:rgba(43,88,65,.96) !important}
.phrase-panel{background:#1b3a2a !important}
.video-wrapper{background:#132a1d !important;border-radius:20px !important;box-shadow:inset 0 0 0 3px rgba(255,249,240,.08),0 6px 20px rgba(0,0,0,.25)}
.video-placeholder{background:rgba(19,42,29,.7) !important}
.overlay-hint{background:rgba(19,42,29,.75) !important}
.xp-bar{background:rgba(255,249,240,.1) !important}
.xp-bar:hover{background:rgba(255,249,240,.16) !important}
.xp-track{background:rgba(255,249,240,.18) !important}
.xp-track i{background:linear-gradient(90deg,var(--pwa-orange),var(--pwa-yellow)) !important}

/* Several equal white pills in one card: the first stays coral, the others
   become cream (the outlined "For educators" button of the site, filled) */
/* repeated class = enough specificity to beat the coral .btn:not(...) rule */
.btn.btn-resume.btn-resume.btn-resume.btn-resume.btn-resume:not(:first-child){background:var(--pwa-cream) !important;color:var(--pwa-green-deep) !important;box-shadow:0 4px 0 rgba(0,0,0,.22) !important}
.btn-countdown{background:rgba(255,249,240,.12) !important;color:var(--pwa-cream) !important;box-shadow:none !important}
.camera-wake-btn{background:var(--pwa-coral) !important;color:#fff !important;border-radius:9999px !important}
.rules-chip{border-radius:9999px !important}
.avatar-btn{background:var(--pwa-purple) !important;color:#fff !important}

/* Studio controls keep their original case: the row is tight on phones */
.controls .btn,.btn-record,.btn-save,.btn-stop,.btn-resume,.camera-wake-btn{text-transform:none !important;letter-spacing:0 !important}
/* Phones: the control row split 3 equal thirds (104 px at 375 px) and the
   main button ("Turn on camera", 131 px of text) overflowed onto Pause, in
   the CLERC original too. The side buttons (countdown, Pause) now shrink to
   their content and the main button takes the rest; text may wrap as a last
   resort rather than spill. */
@media (max-width:600px){
  .controls{gap:8px !important}
  .controls .btn{font-size:14px !important;white-space:normal !important;line-height:1.15 !important;min-width:0 !important}
  .controls .btn-countdown,.controls .btn-break{flex:0 0 auto !important;padding:0 14px !important;min-width:60px !important}
  .controls .btn:not(.btn-countdown):not(.btn-break){flex:1 1 auto !important;padding:0 12px !important}
}

/* ── Free, game-first sign-up (html.pwa-free, set by join_free.js) ───── */
.pwa-free #heroClaim,.pwa-free #heroClaimSep{display:none !important}
.pwa-free #progress i:nth-child(3){display:none !important}
.pwa-free .hero h1:not([hidden]){font-size:clamp(44px,9vw,76px)}
/* Phones: the 16:9 camera box is only ~170 px tall, so the wake prompt, its
   button and the "Camera off" tag collided. Centre the prompt, tighten it,
   and drop the tag while the prompt already says the camera is off. */
@media (max-width:600px){
  #videoPlaceholder{gap:8px !important;padding:0 16px !important}
  #videoPlaceholder svg{width:26px !important;height:26px !important}
  #cameraPromptText{text-align:center !important;font-size:13px !important;line-height:1.3 !important}
  #wakeCameraBtn{padding:9px 18px !important;font-size:14px !important}
  #videoPlaceholder.needs-gesture ~ #stateOverlay .overlay-hint{display:none !important}
}
/* Phones: pop-ups with 2-3 actions ("Keep this pseudo / Change my pseudo /
   See the leaderboard") squeezed three pills into ~80 px columns. Stack them. */
@media (max-width:600px){
  .celeb-actions{flex-direction:column !important;align-items:stretch !important}
  .celeb-actions .btn{flex:0 0 auto !important;width:100% !important;min-height:48px;padding:12px 16px !important}
}
/* account menu (avatar) */
#menu.menu{background:rgba(37,80,58,.98) !important;border:1px solid rgba(255,249,240,.12) !important}
.menu-xp-track{background:rgba(255,249,240,.16) !important}

/* ── Co-branding lockup: the Play With ASL logo, a short orange-to-purple
   stripe (the site's top stripe), then "clerc" in white (the real CLERC
   wordmark, Barlow 800). logo-crop-*.webp is the logo trimmed to its artwork:
   the original square has transparent margins and its "ASL" word sits left of
   centre (the monkey leans right), so stripe and "clerc" are centred on the
   ASL word (37.6 % of the width, measured), not on the box. ──────────────── */
@font-face{font-family:ClercMark;src:url(/static/pwa/fonts/Barlow-800-latin.woff2) format("woff2");font-weight:800;font-display:swap}
.logo,.header-title,.wm{
  position:relative !important;width:56px !important;min-width:56px;height:74px !important;
  background:url(/static/pwa/logo-crop-96.webp) left top/56px auto no-repeat !important;
  filter:none !important;overflow:visible !important;
}
@media (min-resolution:2dppx){.logo,.header-title,.wm{background-image:url(/static/pwa/logo-crop-192.webp) !important}}
.logo::before,.header-title::before,.wm::before{
  content:"";position:absolute;left:37.6%;top:54px;width:24px;height:2px;transform:translateX(-50%);border-radius:2px;
  background:linear-gradient(90deg,var(--pwa-orange),var(--pwa-purple));
}
.logo::after,.header-title::after,.wm::after{
  content:"clerc";position:absolute;left:37.6%;top:59px;transform:translateX(-50%);white-space:nowrap;
  font:800 14px/1 ClercMark,"Helvetica Neue",Arial,sans-serif;letter-spacing:-.04em;
  color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.35);
}
.nav{height:84px !important}

/* ── Studio as a game (html.pwa-game, set by studio_game.js) ─────────── */
.pwa-game #promptId{display:none !important}
.pwa-game .phrase-counter-inline{color:var(--pwa-cream) !important}
.pwa-stage-chip{display:inline-block;background:var(--pwa-purple);color:#fff;border-radius:9999px;padding:2px 10px;margin-right:6px;
  font:800 11px/1.6 Montserrat,sans-serif;letter-spacing:.12em;text-transform:uppercase}
/* "Mix it up" (studio_game.js, 17/11/2026): outlined, yellow once on (the PLAY yellow). Beside the stage on a computer,
   alone above the sentence on a phone, where the stage line is hidden. */
.pwa-mix-btn{display:inline-flex;align-items:center;gap:5px;margin-left:8px;padding:3px 11px;border-radius:9999px;
  border:1.5px solid rgba(255,249,240,.55);background:transparent;color:var(--pwa-cream);vertical-align:middle;
  font:700 12px/1.4 Montserrat,sans-serif;cursor:pointer;white-space:nowrap;-webkit-tap-highlight-color:transparent;
  transition:background .15s,border-color .15s}
.pwa-mix-btn[hidden]{display:none}
.pwa-mix-btn:hover{background:rgba(255,249,240,.1);border-color:var(--pwa-cream)}
.pwa-mix-btn.on{background:var(--pwa-yellow);border-color:var(--pwa-yellow);color:var(--pwa-green-deep)}
.pwa-mix-btn.on:hover{background:#FFD23F;border-color:#FFD23F}
.pwa-mix-btn svg{flex:none}
#rulesChip ~ #pwaMixBtn{margin-left:auto}   /* phone: at the right of « How to record » (studio_game.js placeMix), no row of its own */
.pwa-xp{color:var(--pwa-yellow);font-weight:800;white-space:nowrap}
.pwa-game .phrase-panel-header{font-family:GosmickSans,"Comic Sans MS",cursive !important;font-size:20px !important;letter-spacing:0 !important}
.pwa-game .phrase-panel-stats{font-family:Montserrat,sans-serif;font-size:12px;font-weight:700;color:var(--pwa-yellow) !important}
.pwa-game .phrase-list{padding:6px 10px 14px !important}
.phrase-item.pwa-q{display:flex;gap:12px;align-items:flex-start;margin:0 0 8px;padding:12px 12px !important;border-radius:14px !important;
  background:rgba(255,249,240,.06) !important;border:1px solid rgba(255,249,240,.08);transition:transform .15s,background .15s}
.phrase-item.pwa-q:hover{background:rgba(255,249,240,.11) !important;transform:translateX(2px)}
.phrase-item.pwa-q.active{background:rgba(255,140,0,.16) !important;border-color:var(--pwa-orange);box-shadow:0 0 0 1px var(--pwa-orange)}
.phrase-item.pwa-q.done{opacity:.6}
.pwa-q-n{flex:0 0 44px;height:34px;border-radius:10px;display:grid;place-items:center;background:rgba(255,249,240,.1);
  color:var(--pwa-cream);font:800 13px/1 Montserrat,sans-serif}
.phrase-item.pwa-q.active .pwa-q-n{background:var(--pwa-orange);color:#fff;font-size:11px;letter-spacing:.06em;text-transform:uppercase}
.pwa-q .phrase-item-text{white-space:normal !important;overflow:visible !important;text-overflow:clip !important;line-height:1.35;color:var(--pwa-cream)}
.pwa-q-meta{display:flex;gap:8px;align-items:center;margin-top:6px;font:700 11px/1 Montserrat,sans-serif}
.pwa-tier{border-radius:9999px;padding:4px 9px;letter-spacing:.08em;text-transform:uppercase;font-size:10px;color:#fff}
.pwa-tier.very_short{background:var(--pwa-cream);color:var(--pwa-green-deep)}
.pwa-tier.short{background:var(--pwa-blue);color:var(--pwa-green-deep)}
.pwa-tier.medium{background:var(--pwa-orange)}
.pwa-tier.long{background:var(--pwa-purple)}
.pwa-q-done{color:var(--pwa-blue);letter-spacing:.08em;text-transform:uppercase}
.pwa-q-more{margin:6px 4px 0;padding:12px;border:1px dashed rgba(255,249,240,.22);border-radius:14px;text-align:center;
  color:rgba(255,249,240,.6);font:600 12px/1.3 Montserrat,sans-serif}
/* Phones: signer.html sets .phrase-panel to 280 px AFTER its own "100 %"
   phone rule, so the panel stopped at two thirds of the screen (CLERC original
   too). The Up next queue takes the full width and its natural height. */
@media (max-width:700px){
  .pwa-game .phrase-panel{width:100% !important;max-height:none !important}
  .pwa-game .phrase-list{max-height:none !important;overflow:visible !important}
}
.pwa-game #themePill{display:none !important}

/* ── Toward 1,000 videos: road, round to the chest ───────── */
.pwa-road{margin:4px 10px 10px;padding:12px 14px 12px;border-radius:14px;background:rgba(135,66,227,.18);
  border:1px solid rgba(185,140,245,.35);font:600 12px/1.3 Montserrat,sans-serif;color:var(--pwa-cream)}
.pwa-road[hidden]{display:none !important}
.pwa-road-top{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.pwa-road-top>b{font:400 17px/1 GosmickSans,"Comic Sans MS",cursive}
.pwa-road-top span{color:rgba(255,249,240,.7)}
.pwa-road-top span b{color:var(--pwa-yellow);font-size:15px}
.pwa-road-bar{position:relative;height:10px;margin:10px 0 9px;border-radius:9999px;background:rgba(255,249,240,.12)}
.pwa-road-bar s{position:absolute;left:0;top:0;bottom:0;min-width:10px;border-radius:9999px;text-decoration:none;
  background:linear-gradient(90deg,var(--pwa-orange),var(--pwa-yellow));transition:width .5s ease}
.pwa-road-legs{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 8px}
.pwa-road-next{color:rgba(255,249,240,.75)}
.pwa-road-next b{color:var(--pwa-yellow)}
.pwa-road-title{background:var(--pwa-purple);color:#fff;border-radius:9999px;padding:3px 9px;
  font:800 10px/1.3 Montserrat,sans-serif;letter-spacing:.08em;text-transform:uppercase}
.phrase-item.pwa-q.next-round{opacity:.55}

/* ── World Tour (17/11/2026, studio_game.js): in a mission, the gold mission bar in place of the road (side panel),
   a gold chip and its count on the prompt line (computer), a gold pill at the right of « How to record » (phone,
   where Mix sits in free play: no height added). The Map button beside PLAY: « 🌐 Map », its globe alone on a phone
   with a 47 px finger target. The MISSION COMPLETE and WORLD TOUR cards: Apollo above the title. */
.pwa-road.pwa-mission{background:linear-gradient(180deg,rgba(255,169,0,.16),rgba(135,66,227,.2));
  border-color:rgba(255,210,63,.6)}
.pwa-road.pwa-mission .pwa-road-top>b{font-size:16px}
.pwa-road.pwa-mission .pwa-road-bar s{background:linear-gradient(90deg,#E8A400,#FFD23F);box-shadow:0 0 10px rgba(255,210,63,.55)}
html.huddle-goal-on #pwaRoad.pwa-mission:not([hidden]){display:block !important}   /* the goal 100 hides the road, not the mission */
.pwa-stage-chip.pwa-mission-chip{background:linear-gradient(180deg,#FFD23F,#FFA900);color:#1e4030;text-transform:none;letter-spacing:.02em;font-size:12px}
.pwa-mission-of{font-weight:600;color:rgba(255,249,240,.78);white-space:nowrap}
.pwa-mission-of b{color:#FFD23F;font-weight:800;font-size:14px}
.pwa-mission-pill{display:none}
@media (max-width:600px){
  .pwa-mission-pill{display:inline-flex;align-items:center;gap:6px;align-self:center;flex:0 1 auto;min-width:0;max-width:64%;
    margin-left:auto;padding:4px 12px 4px 9px;box-sizing:border-box;border-radius:9999px;border:1.5px solid rgba(255,210,63,.8);
    background:linear-gradient(90deg,rgba(255,169,0,.45) var(--p,0%),rgba(255,249,240,.07) var(--p,0%));
    color:var(--pwa-cream);font:700 14px/1.25 Montserrat,system-ui,sans-serif;white-space:nowrap;box-shadow:0 0 12px rgba(255,210,63,.18)}
  .pwa-mission-pill[hidden]{display:none}
  .pwa-mission-pill .mp-e{flex:none;font-size:15px;line-height:1}
  .pwa-mission-pill .mp-name{min-width:0;overflow:hidden;text-overflow:ellipsis}
  .pwa-mission-pill .mp-n{flex:none;font-variant-numeric:tabular-nums;color:rgba(255,249,240,.85)}
  .pwa-mission-pill .mp-n b{color:#FFD23F;font-weight:800}
  .pwa-mission-pill.done{background:linear-gradient(180deg,#FFD23F,#FFA900);border-color:#FFD23F;color:#1e4030}
  .pwa-mission-pill.done .mp-n,.pwa-mission-pill.done .mp-n b{color:#1e4030}
  #rulesChip ~ #pwaMissionPill{margin-left:auto}
  .pwa-game #rulesChip{flex-shrink:0}   /* a long theme name is cut in the pill, never « How to record » on 2 lines (+10 px) */
}
@media (max-width:380px){.pwa-mission-pill{font-size:13px;gap:4px;padding:4px 8px 4px 7px;letter-spacing:-.01em}}
.pwa-map-btn{position:relative;display:inline-flex;align-items:center;gap:6px;flex:none;height:36px;padding:0 14px 0 11px;
  border-radius:9999px;border:1.5px solid rgba(66,191,238,.75);background:rgba(66,191,238,.14);color:var(--pwa-cream) !important;
  font:800 13px/1 Montserrat,system-ui,sans-serif;letter-spacing:.04em;text-decoration:none !important;white-space:nowrap;
  box-sizing:border-box;-webkit-tap-highlight-color:transparent;transition:background .15s}
.pwa-map-btn:hover{background:rgba(66,191,238,.3)}
.pwa-map-btn svg{flex:none;color:#42BFEE}
@media (max-width:480px){
  .pwa-map-btn{width:38px;height:38px;padding:0;justify-content:center}
  .pwa-map-btn span{display:none}
  .pwa-map-btn svg{width:21px;height:21px}
  .pwa-map-btn::after{content:"";position:absolute;inset:-6px}   /* from the padding box: 47 px under the finger, inside the 6 px gaps */
}
.pwa-wcard{display:flex;flex-direction:column;align-items:center}
.pwa-wcard img{display:block;width:112px;height:auto;object-fit:contain;filter:drop-shadow(0 6px 10px rgba(0,0,0,.35));
  animation:pwaWcard .6s cubic-bezier(.2,1.5,.4,1) both}
.pwa-wcard-name{display:block;margin-top:8px;font-size:clamp(40px,7vw,60px);color:var(--pwa-cream)}
.pwa-wcard-name b{margin-left:.12em;color:#FFD23F;font-weight:inherit}
@keyframes pwaWcard{from{opacity:0;transform:scale(.6) rotate(-8deg)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.pwa-wcard img{animation:none}}
/* MISSION COMPLETE goes on by itself (18/11/2026): « 🎟 To the Lagoon Ferry in 5 », a gold line filling under it */
.pwa-auto-go{display:block;margin:16px auto 0;max-width:280px;font:700 14px/1.3 Montserrat,system-ui,sans-serif;color:var(--pwa-cream)}
.pwa-auto-go em{display:block;font-style:normal}
.pwa-auto-go em b{color:#FFD23F;font-variant-numeric:tabular-nums}
.pwa-auto-go i{display:block;height:5px;margin-top:8px;border-radius:9999px;background:rgba(255,249,240,.16);overflow:hidden}
.pwa-auto-go i::after{content:"";display:block;height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#FFD23F,#FFA900)}
.pwa-auto-go.run i::after{width:100%;transition:width var(--t,5s) linear}

/* Play With ASL's art (18/11/2026): the green jungle star instead of the phone's ★. The scene behind a mission or a
   story is the backdrop block below (body.pwa-bg-<scene>). */
.pwa-star{display:inline-block;width:1.05em;height:1.05em;vertical-align:-.18em;object-fit:contain}
/* icons in place of the phone's emoji (art/icons/, 18/11/2026): a mission's medallion, a story's or a game's icon */
.pwa-ic{display:inline-block;width:1.3em;height:1.3em;object-fit:contain;vertical-align:-.3em;margin-right:.35em;pointer-events:none;user-select:none;-webkit-user-select:none}
.pwa-ic-medal{border-radius:50%;filter:drop-shadow(0 1px 2px rgba(0,0,0,.3))}
.pwa-stamp i .pwa-ic-big{width:60px;height:60px;margin:0;vertical-align:0}
.pwa-mission-pill .mp-e .pwa-ic,.pwa-story-pill .sp-e .pwa-ic{width:20px;height:20px;margin:0;vertical-align:-5px}
.pwa-star-big{display:inline-block;width:.9em;height:.9em;vertical-align:-.08em;margin-left:.08em;object-fit:contain;
  filter:drop-shadow(0 4px 8px rgba(0,0,0,.35))}
/* the race life the mission earned: its own line under the pass goal, never glued to it (18/11/2026) */
#celebText .pwa-lives-line:not([hidden]){display:block;margin-top:6px;font-size:.92em;opacity:.85}
/* Studio backdrops (18/11/2026, Florian: « une arrière-plan variable par rapport au thématique du sujet »). Behind a
   mission or a story, studio_game.js sets body.pwa-bg-<scene> from the mission's topic (RPG2_CONTRACT, Studio
   backdrops). treehouse, court and forest are Play With ASL's paintings; the 10 others are ours (art/scenes/*.svg,
   same warm palette). Each scene sits under a dark veil tinted to its own colours, stronger on the bright scenes, so
   the white sentence, the video frame and the side panel stay readable. pwa-bg-jungle = the treehouse, kept while the
   studio still sets it. */
body.pwa-bg-jungle,body.pwa-bg-treehouse,body.pwa-bg-court,body.pwa-bg-forest,body.pwa-bg-kitchen,body.pwa-bg-beach,
body.pwa-bg-sky,body.pwa-bg-classroom,body.pwa-bg-party,body.pwa-bg-city,body.pwa-bg-market,body.pwa-bg-office,
body.pwa-bg-clinic,body.pwa-bg-stage{background-size:cover !important;background-position:center !important;
  background-attachment:fixed !important}
body.pwa-bg-jungle,body.pwa-bg-treehouse{background-image:linear-gradient(180deg,rgba(14,36,24,.70),rgba(14,36,24,.84)),
  url(/static/pwa/art/jungle-bg.webp) !important}
body.pwa-bg-court{background-image:linear-gradient(180deg,rgba(12,34,22,.68),rgba(12,34,22,.84)),
  url(/static/pwa/art/jungle-court.webp) !important}
body.pwa-bg-forest{background-image:linear-gradient(180deg,rgba(12,34,22,.68),rgba(12,34,22,.84)),
  url(/static/pwa/art/stump.webp) !important}
body.pwa-bg-kitchen{background-image:linear-gradient(180deg,rgba(40,20,8,.70),rgba(40,20,8,.84)),
  url(/static/pwa/art/scenes/kitchen.svg) !important}
body.pwa-bg-beach{background-image:linear-gradient(180deg,rgba(8,32,44,.72),rgba(8,32,44,.84)),
  url(/static/pwa/art/scenes/beach.svg) !important}
body.pwa-bg-sky{background-image:linear-gradient(180deg,rgba(10,26,50,.72),rgba(10,26,50,.84)),
  url(/static/pwa/art/scenes/sky.svg) !important}
body.pwa-bg-classroom{background-image:linear-gradient(180deg,rgba(38,24,8,.72),rgba(38,24,8,.84)),
  url(/static/pwa/art/scenes/classroom.svg) !important}
body.pwa-bg-party{background-image:linear-gradient(180deg,rgba(30,10,42,.64),rgba(30,10,42,.80)),
  url(/static/pwa/art/scenes/party.svg) !important}
body.pwa-bg-city{background-image:linear-gradient(180deg,rgba(22,18,46,.70),rgba(22,18,46,.84)),
  url(/static/pwa/art/scenes/city.svg) !important}
body.pwa-bg-market{background-image:linear-gradient(180deg,rgba(38,20,8,.70),rgba(38,20,8,.84)),
  url(/static/pwa/art/scenes/market.svg) !important}
body.pwa-bg-office{background-image:linear-gradient(180deg,rgba(36,20,10,.70),rgba(36,20,10,.84)),
  url(/static/pwa/art/scenes/office.svg) !important}
body.pwa-bg-clinic{background-image:linear-gradient(180deg,rgba(8,36,36,.74),rgba(8,36,36,.86)),
  url(/static/pwa/art/scenes/clinic.svg) !important}
body.pwa-bg-stage{background-image:linear-gradient(180deg,rgba(26,8,4,.56),rgba(26,8,4,.76)),
  url(/static/pwa/art/scenes/stage.svg) !important}

/* Travel the World: the journey alone on screen (18/11/2026, Florian: « les collections de sign cards, on enlève ;
   l'objectif des 100 signes aussi, comme ça c'est pas confus »). During a mission or a story (body.pwa-world-play,
   studio_game.js): no chest pill, no level and goal row (« Lv 3 », « 🎯 Goal 12/100 », My signs), no My signs in the
   menu, no new-word or chest toast, no daily mission. Free play keeps them all. */
body.pwa-world-play #chestPill,body.pwa-world-play #xpBar,body.pwa-world-play #cardsBtn,body.pwa-world-play #impactToast,
body.pwa-world-play #chestToast,body.pwa-world-play #questPill,body.pwa-world-play #missionRow,
body.pwa-world-play .pwa-chest{display:none !important}

/* ── Tell Apollo a Story (v2 phase 2, 18/11/2026, studio_game.js): story mode. The lines come in narrative order, so the
   sentence list, Mix and the mission pill leave the screen. A blue chip on the prompt line (computer) with the telling's
   style beside it, small; a blue pill at the right of « How to record » (phone, no height added above Record). The line
   before, faded, above the sentence. Next looks unavailable until the line is kept. The STORY TOLD card: the story
   stamp (its emoji in a round stamp), gold once the story is mastered. */
body.pwa-story #phrasePanel,body.pwa-story #panelTab,body.pwa-story #pwaListBtn,body.pwa-story #pwaMixBtn,
body.pwa-story #pwaMissionPill{display:none !important}
.pwa-stage-chip.pwa-story-chip{background:linear-gradient(180deg,#6fd0f3,#42BFEE);color:#10261a;text-transform:none;letter-spacing:.02em;font-size:12px}
.pwa-story-style{display:inline-block;margin-left:2px;padding:1px 9px;border-radius:9999px;border:1.5px solid rgba(66,191,238,.65);
  color:var(--pwa-cream);font:700 11px/1.5 Montserrat,system-ui,sans-serif;letter-spacing:.02em;white-space:nowrap;cursor:help}
.pwa-story-told{margin-left:8px;color:#FFD23F;font-weight:800;white-space:nowrap}
.pwa-story-told[hidden]{display:none}
.pwa-story-before{max-width:min(92%,760px);margin:0 auto 2px;text-align:center;color:rgba(255,249,240,.5);
  font:500 16px/1.3 Montserrat,system-ui,sans-serif}
.pwa-story-before b{font-weight:700;color:rgba(255,249,240,.62)}
.pwa-story-before[hidden]{display:none}
.pwa-prompt-row .btn-nav.pwa-nav-locked{opacity:.3;cursor:not-allowed}
.pwa-prompt-row .btn-nav.pwa-nav-locked:hover{background:rgba(255,249,240,.12)}
.pwa-story-pill{display:none}
@media (max-width:600px){
  /* one line, two at most (a long line before), cut with an ellipsis: Record keeps its place */
  .pwa-story-before{max-width:100%;margin:0 0 2px;font-size:13px;line-height:1.3;
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .pwa-story-pill{display:inline-flex;align-items:center;gap:5px;align-self:center;flex:0 1 auto;min-width:0;max-width:64%;
    margin-left:auto;padding:4px 12px 4px 9px;box-sizing:border-box;border-radius:9999px;border:1.5px solid rgba(66,191,238,.85);
    background:linear-gradient(90deg,rgba(66,191,238,.38) var(--p,0%),rgba(255,249,240,.07) var(--p,0%));
    color:var(--pwa-cream);font:700 14px/1.25 Montserrat,system-ui,sans-serif;white-space:nowrap;box-shadow:0 0 12px rgba(66,191,238,.16)}
  .pwa-story-pill[hidden]{display:none}
  .pwa-story-pill .sp-e{flex:none;font-size:15px;line-height:1}
  .pwa-story-pill .sp-n,.pwa-story-pill .sp-t{flex:none;font-variant-numeric:tabular-nums}
  .pwa-story-pill .sp-n b{color:#fff;font-weight:800}
  .pwa-story-pill .sp-t{color:rgba(255,249,240,.85)}
  .pwa-story-pill .sp-style{min-width:0;overflow:hidden;text-overflow:clip;font-weight:600;color:rgba(255,249,240,.8)}
  .pwa-story-pill.tight .sp-style{display:none}
  .pwa-story-pill.done{background:linear-gradient(180deg,#FFD23F,#FFA900);border-color:#FFD23F;color:#1e4030}
  .pwa-story-pill.done .sp-n b,.pwa-story-pill.done .sp-t,.pwa-story-pill.done .sp-style{color:#1e4030}
  #rulesChip ~ #pwaStoryPill{margin-left:auto}
}
@media (max-width:380px){.pwa-story-pill{font-size:13px;gap:4px;padding:4px 8px 4px 7px;letter-spacing:-.01em}}
.pwa-told .pwa-told-name{font-size:clamp(28px,5vw,42px);line-height:1.1;text-align:center;margin-top:14px}
.pwa-stamp{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
  width:116px;height:116px;margin-top:12px;box-sizing:border-box;border-radius:50%;border:3px dashed rgba(66,191,238,.95);
  background:radial-gradient(circle at 50% 42%,rgba(66,191,238,.32),rgba(66,191,238,.08) 72%);
  box-shadow:0 0 0 5px rgba(66,191,238,.16),0 8px 18px rgba(0,0,0,.3);transform:rotate(-8deg);
  animation:pwaStamp .6s cubic-bezier(.2,1.4,.4,1) both}
.pwa-stamp i{font-style:normal;font-size:50px;line-height:1}
.pwa-stamp small{font:800 10px/1 Montserrat,system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#c4ecfb}
.pwa-stamp.gold{border:3px solid #FFD23F;background:radial-gradient(circle at 50% 40%,#FFE27A,#FFA900 76%);
  box-shadow:0 0 0 5px rgba(255,210,63,.3),0 0 26px rgba(255,210,63,.5)}
.pwa-stamp.gold small{color:#1e4030}
@keyframes pwaStamp{0%{opacity:0;transform:scale(1.9) rotate(-26deg)}55%{opacity:1;transform:scale(.92) rotate(-5deg)}100%{opacity:1;transform:scale(1) rotate(-8deg)}}
@media (prefers-reduced-motion:reduce){.pwa-stamp{animation:none}}
/* « Tell it again (2 left today) » has its own row, the two ways to the map share the next one (a computer: three in a
   row wrapped each label on 2 lines; a phone stacks them all already) */
@media (min-width:601px){
  .payout-card:has(.pwa-told) .celeb-actions:has(#celebTertiary:not([hidden])) #celebPrimary{flex:1 0 100%}
}
.pwa-told-line{display:block;margin-top:12px;font-weight:700;color:var(--pwa-cream)}
.pwa-told-line[hidden]{display:none}
.pwa-mastered{display:table;margin:0 auto 8px;padding:6px 16px;border-radius:9999px;background:linear-gradient(180deg,#FFD23F,#FFA900);
  color:#1e4030;font:800 14px/1.2 Montserrat,system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;
  box-shadow:0 3px 0 #b97700,0 0 18px rgba(255,210,63,.45)}
.pwa-chest{display:flex;gap:12px;align-items:center;margin:2px 0 10px;padding:12px;border-radius:14px;
  background:linear-gradient(90deg,rgba(255,169,0,.22),rgba(255,140,0,.1));border:1px dashed var(--pwa-yellow);
  font:600 12px/1.35 Montserrat,sans-serif;color:var(--pwa-cream)}
.pwa-chest b{display:block;font:400 16px/1.2 GosmickSans,"Comic Sans MS",cursive;color:var(--pwa-yellow)}
.pwa-chest span:not(.pwa-chest-box){color:rgba(255,249,240,.8)}
/* a small chest drawn in CSS (no emoji): lid + body + lock */
.pwa-chest-box{position:relative;flex:0 0 44px;height:34px;animation:pwaChest 2.4s ease-in-out infinite}
.pwa-chest-box::before{content:"";position:absolute;left:4px;right:4px;top:3px;height:12px;border-radius:9px 9px 2px 2px;
  background:var(--pwa-orange);box-shadow:inset 0 -2px 0 rgba(0,0,0,.2)}
.pwa-chest-box::after{content:"";position:absolute;left:4px;right:4px;top:15px;bottom:2px;border-radius:2px 2px 5px 5px;
  background:var(--pwa-yellow);box-shadow:inset 0 2px 0 rgba(0,0,0,.18)}
.pwa-chest-box i{position:absolute;z-index:1;left:50%;top:11px;width:8px;height:9px;margin-left:-4px;border-radius:2px;background:var(--pwa-purple)}
@keyframes pwaChest{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@media (prefers-reduced-motion:reduce){.pwa-chest-box{animation:none}}
.pwa-game #earnPill .earn-sub{display:none !important}   /* "volunteer" under the video count: it is a game, not a job */

/* ── /join intro as a game trailer (join_free.js, 17/10/2026) ─────────
   The studio's own pieces: ink sign tiles (as the album and the chest),
   rank badges, the signer card. Tile text = the studio's sign-tile. */
.pwa-tile{min-width:0;color:#fff;text-align:left}
.pwa-art{aspect-ratio:1;background:#111113;overflow:hidden;border-radius:4px}
.pwa-tile b{display:block;margin-top:7px;font:900 15px/1.05 Barlow,sans-serif;text-transform:uppercase;letter-spacing:-.01em}
.pwa-tile span{display:block;margin-top:4px;color:rgba(255,249,240,.6);font:500 9px/1 "IBM Plex Mono",monospace;text-transform:uppercase;letter-spacing:.1em}
.pwa-tile.legendary span{color:#d9c8ff}.pwa-tile.epic span{color:var(--pwa-yellow)}
/* card 1: the mascot, big */
.pwa-hero{width:min(100%,calc(min(36vh,270px) - 50px))}
.pwa-hero .pwa-tile b{font-size:22px;text-align:center}.pwa-hero .pwa-tile span{display:none}
/* card 4: the chest */
.pwa-chest4{position:relative;width:min(100%,520px);height:100%;display:grid;place-items:center}
.pwa-seal{position:absolute;display:flex;gap:10px;transition:opacity .35s,transform .35s;animation:pwaShake .6s .2s ease-in-out 1}
.pwa-seal i{display:block;width:60px;height:60px;border-radius:6px;overflow:hidden;box-shadow:0 8px 18px rgba(0,0,0,.35)}
.pwa-seal i svg{display:block;width:100%;height:100%}
@keyframes pwaShake{0%,100%{transform:none}25%{transform:rotate(-3deg)}50%{transform:rotate(3deg)}75%{transform:rotate(-2deg)}}
.c4.p1 .pwa-seal{opacity:0;transform:scale(1.25)}
.pwa-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;width:100%}
@media (max-width:520px){.pwa-tiles{gap:7px;padding:0 8px}.pwa-tiles .pwa-tile b{font-size:11px}.pwa-tiles .pwa-tile span{font-size:7px;letter-spacing:.06em}}
.pwa-tiles .pwa-tile{opacity:0;transform:translateY(16px) scale(.85);transition:opacity .35s,transform .45s cubic-bezier(.2,1.5,.4,1)}
.c4.p2 .pwa-tiles .pwa-tile:nth-child(1),.c4.p3 .pwa-tiles .pwa-tile:nth-child(2),
.c4.p4 .pwa-tiles .pwa-tile:nth-child(3),.c4.p5 .pwa-tiles .pwa-tile:nth-child(4){opacity:1;transform:none}
.c4.p5 .pwa-tile.legendary .pwa-art{box-shadow:0 0 0 2px #fff,0 0 16px 4px rgba(217,200,255,.75);animation:pwaGlow 1.6s ease-in-out infinite}
@keyframes pwaGlow{50%{box-shadow:0 0 0 2px #fff,0 0 8px 1px rgba(217,200,255,.45)}}
/* card 6: leagues + the weekly board */
.pwa-lb{width:min(100%,380px);font:600 14px/1 Montserrat,sans-serif;color:var(--pwa-cream)}
.pwa-ladder{display:flex;justify-content:center;gap:14px;margin-bottom:12px}
.pwa-ladder .lg{display:flex;flex-direction:column;align-items:center;gap:5px;opacity:.45;transition:opacity .4s,transform .4s}
.pwa-ladder .lg .fun-badge{width:46px !important;height:46px !important;border-radius:6px;overflow:hidden}
.pwa-ladder .lg span{font:500 8px/1 "IBM Plex Mono",monospace;letter-spacing:.12em;text-transform:uppercase}
.pwa-ladder .lg small{font:600 9px/1 Montserrat,sans-serif;color:var(--pwa-cream);opacity:.8}
.c6.p1 .pwa-ladder .lg{opacity:.55}.c6.p1 .pwa-ladder .lg.gold{opacity:1;transform:scale(1.18)}
.pwa-lb .r{display:flex;align-items:center;gap:10px;padding:8px 12px;margin-bottom:6px;border-radius:12px;
  background:rgba(255,249,240,.08);opacity:0;transform:translateY(10px);transition:opacity .4s,transform .4s,background .4s,box-shadow .4s}
.pwa-lb .r>b{width:18px;text-align:center;font-weight:800;color:rgba(255,249,240,.6)}
.pwa-lb .r>span:not(.fun-badge){flex:1}
.pwa-lb .r em{font-style:normal;color:var(--pwa-yellow);font-weight:800}
.pwa-lb .r i{font-style:normal;font-size:11px;font-weight:800;background:var(--pwa-blue);color:var(--pwa-green-deep);border-radius:9999px;padding:3px 7px;opacity:0;transition:opacity .3s}
.pwa-lb s{text-decoration:none}
.pwa-lb s.y,.c6.p5 .pwa-lb s.x{display:none}
.c6.p5 .pwa-lb s.y{display:inline}
.c6.p2 .pwa-lb .r:nth-of-type(2),.c6.p3 .pwa-lb .r:nth-of-type(3),.c6.p4 .pwa-lb .r:nth-of-type(4),.c6.p4 .pwa-lb .r:nth-of-type(5){opacity:1;transform:none}
.c6.p4 .pwa-lb .r:nth-of-type(4){transform:translateY(calc(100% + 6px))}       /* You start 4th... */
.c6.p4 .pwa-lb .r:nth-of-type(5){transform:translateY(calc(-100% - 6px))}
.c6.p5 .pwa-lb .r:nth-of-type(4),.c6.p5 .pwa-lb .r:nth-of-type(5){transform:none}  /* ...and pass QuickFingers */
.c6.p5 .pwa-lb .r.me{background:rgba(255,140,0,.22);box-shadow:0 0 0 2px var(--pwa-orange)}
.c6.p5 .pwa-lb .r.me>b{color:var(--pwa-orange)}
.c6.p5 .pwa-lb .r.me i{opacity:1}
/* card 8: the signer card (fun_card_min.js, 1080 x 1350) */
.pwa-free .intro[data-card="8"] .intro-vis{height:min(44vh,360px) !important;display:block !important}
.pwa-scard{display:block;height:100%;width:auto;aspect-ratio:1080/1350;margin:0 auto;border-radius:10px;
  box-shadow:0 18px 40px rgba(0,0,0,.45),0 0 0 1px rgba(255,255,255,.08)}
.c8.on .pwa-scard{animation:pwaCardIn .8s .15s cubic-bezier(.2,1.4,.4,1) both}
@keyframes pwaCardIn{from{transform:scale(.7) rotate(-6deg);opacity:0}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){.pwa-tiles .pwa-tile,.pwa-lb .r,.pwa-seal{transition:none;animation:none}.c8.on .pwa-scard,.c4.p5 .pwa-tile.legendary .pwa-art{animation:none}}
@media (max-height:480px){.pwa-free .intro[data-card="8"] .intro-vis{display:none !important}}

/* sign-up pseudo (19/10/2026): the suggestion link must read as a link */
.pwa-pseudo .hint a{color:var(--pwa-blue);font-weight:700;text-decoration:underline;margin-left:4px;white-space:nowrap}

/* two pills (19/10/2026): the clock shows the time only, the count pill takes turns today / all */
.pwa-game #clockPill .clock-sub{display:none !important}
.pwa-game #earnPill{text-align:center;justify-content:center;white-space:nowrap;box-sizing:border-box;font-variant-numeric:tabular-nums;user-select:none}
.pwa-game #earnPill .pwa-count{display:inline-block;transition:opacity .22s ease}
.pwa-game #earnPill .pwa-count.out{opacity:0}

/* arrows beside the sentence, no bottom nav row (19/10/2026): more room for the video */
.pwa-prompt-row{display:flex;align-items:center;justify-content:center;gap:14px}
.pwa-prompt-row #promptText{flex:0 1 auto;min-width:0}
.pwa-prompt-row .btn-nav{flex:0 0 auto;width:40px;height:40px;padding:0;border-radius:50%;border:0;
  background:rgba(255,249,240,.12);color:var(--pwa-cream);font-size:22px;line-height:1;cursor:pointer}
.pwa-prompt-row .btn-nav:hover:not(:disabled){background:rgba(255,249,240,.24)}
.pwa-prompt-row .btn-nav:disabled{opacity:.3;cursor:default}
html.pwa-nav-top .nav-hints-row{display:none !important}
/* Phones (19/10/2026): the header row was 406 px on a 375 px screen, the avatar was cut off.
   The avatar goes up to the logo row (empty on the right), the pills tighten and may wrap. */
@media (max-width:600px){
  .pwa-game .header{position:relative}
  .pwa-game .header .menu-wrap{position:absolute;top:12px;right:16px}
  .pwa-game .header{flex-wrap:wrap !important}
  .pwa-game .header-meta{flex-wrap:wrap !important;justify-content:center;gap:6px !important;max-width:100%;flex-basis:100%}
  .pwa-game .header-meta .clock-pill,.pwa-game .header-meta #earnPill,.pwa-game .header-meta #boardPill{padding-left:10px !important;padding-right:10px !important}
}

/* the player follows the webcam's shape (19/10/2026): sized by studio_game.js, centred, no bars */
html.pwa-fit-video .video-wrapper{align-self:center;max-width:100%}
html.pwa-fit-video .video-el{object-fit:cover !important;background:transparent !important}
/* one typeface across the recording row (19/10/2026): Pause and 3s were in GosmickSans next to Montserrat */
.controls #breakBtn,.controls #countdownBtn{font-family:Montserrat,system-ui,sans-serif !important;font-weight:600 !important;font-size:15px !important}
.pwa-game #earnPill.is-locked{box-shadow:0 0 0 2px var(--pwa-coral,#E8453C) !important}
/* no "old station" name in Play With ASL (recette 19/10/2026) */
.pwa-free #legacyBanner,.pwa-free #legacyRow{display:none !important}
html.pwa-touch .overlay-confirm-hint{display:none !important}   /* "Enter to keep · R to redo": no keyboard on a phone */

/* ── ASL HUDDLE in the middle of the header (20/10/2026), the lockup of the launch film:
   Montserrat 900 capitals, ASL in orange, dark green outline, cyan offset shadow, tilted -3deg.
   Cyan, not coral (Jon 20/10/2026: orange on red was not accessible), as in the launch film v11. */
.pwa-huddle{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) rotate(-3deg);z-index:1;
  font:900 30px/1 Montserrat,system-ui,sans-serif;letter-spacing:-.01em;text-transform:uppercase;white-space:nowrap;
  color:#FFF9F0 !important;text-decoration:none !important;-webkit-text-stroke:3px #16301f;paint-order:stroke fill;
  text-shadow:3px 3px 0 #42BFEE}
.pwa-huddle .o{color:#FF8C00}
a.pwa-huddle:hover{color:#FFF9F0 !important}
@media (max-width:600px){.pwa-huddle{font-size:24px;-webkit-text-stroke:2px #16301f;text-shadow:2px 2px 0 #42BFEE}}
/* pwa/huddle.js sets top (the logo's height) and, when a neighbour is in the way, left and font-size */

/* No blue "Uploading 42%" pill (Florian, 20/10/2026): uploads run quietly.
   A stuck upload ("retrying", "Log in again") still shows, in orange. */
.upload-indicator.active, .upload-indicator.done { display: none !important; }

/* ── The personal code (20/10/2026, Jon typed his pseudo to sign in) ────
   a card once after sign-up, help under each sign-in box, "Is it you?" on a taken pseudo */
.pwa-code{z-index:60 !important}
.pwa-code .box{width:100%;max-width:400px;text-align:center}
.pwa-code h2{font-size:30px;margin-bottom:16px}
.pwa-code .code{font-family:Montserrat,system-ui,sans-serif;font-size:40px;font-weight:800;letter-spacing:.03em;color:var(--pwa-cream);
  background:rgba(255,249,240,.08);border:2px dashed rgba(255,249,240,.4);border-radius:16px;padding:14px 18px;margin:0 auto 14px;
  user-select:all;-webkit-user-select:all;overflow-wrap:anywhere}
.pwa-code .btn.ghost{height:44px;padding:0 22px}
.pwa-code p{color:rgba(255,249,240,.78);font-size:16px;line-height:1.45;margin:18px 0 0}
.pwa-code p.small{color:rgba(255,249,240,.6);font-size:14px;margin-top:8px}
.pwa-code #pwaCodeGo{margin-top:26px}
.pwa-login-help,.pwa-signin-help{color:rgba(255,249,240,.62);font-size:13px;line-height:1.5;margin:18px 0 0;text-align:center}
.pwa-itsme{color:var(--pwa-blue) !important;font-weight:700;text-decoration:underline;white-space:nowrap}
@media (max-width:420px){.pwa-code .code{font-size:32px}.pwa-code h2{font-size:26px}}

/* ── The games (05/11/2026): the PLAY button of the studio header (pwa/games_entry.js), to /games.
   A call to action, so coral like the site's buttons (ADR 0008). The free races, then the lives. */
.play-pill{display:inline-flex;align-items:center;gap:8px;flex:none;border-radius:9999px;padding:6px 14px 6px 12px;text-decoration:none !important;
  font:800 13px/1.2 Montserrat,system-ui,sans-serif;letter-spacing:.04em;color:#fff !important;background:var(--pwa-coral);
  box-shadow:0 3px 0 var(--pwa-coral-hover);white-space:nowrap;position:relative}
.play-pill:hover{background:var(--pwa-coral-hover)}
.play-pill[hidden]{display:none !important}
/* 18/11/2026, Florian: « ASL Studio, il ne faut plus voir le bouton PLAY »: the games are reached from the map's
   passes (tout en un), the studio only signs */
html:not(.pwa-classic) #playPill{display:none !important}
.play-pill .pl-l{font-weight:800;display:inline-flex;align-items:center;gap:4px}
.play-pill .pl-sub{font-weight:600;opacity:.85;font-size:11px}
.play-pill.empty{background:rgba(255,249,240,.14);box-shadow:none;color:var(--pwa-cream) !important}
.play-pill.bump{animation:plbump .7s ease}
@keyframes plbump{0%{transform:scale(1)}35%{transform:scale(1.18)}100%{transform:scale(1)}}
/* Signword's appeal (11/11/2026, Jon: « it should be simple »): three sentences read as sentences, not shouted */
.apcmp .refv{width:100% !important;margin:0 !important}
.aptrio .btn{text-transform:none !important;letter-spacing:0 !important;border-radius:18px !important;justify-content:center !important;text-align:center !important}
#apNo{background:var(--pwa-cream,#FFF9F0) !important;color:#1e4030 !important;box-shadow:0 3px 0 rgba(0,0,0,.18) !important}
#apBack{background:transparent !important;color:var(--pwa-cream,#FFF9F0) !important;box-shadow:none !important;border:2px solid rgba(255,249,240,.45) !important}
/* never played a game (11/11/2026, the nudge): 3 soft rings when the studio opens and every 10 videos, then still */
.play-pill.fresh::after{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;animation:plfresh 1.6s ease-out 3}
@keyframes plfresh{0%{box-shadow:0 0 0 0 rgba(255,169,0,.75)}80%,100%{box-shadow:0 0 0 12px rgba(255,169,0,0)}}
@media (prefers-reduced-motion:reduce){.play-pill.fresh::after{animation:plfresh .01s 1}}
.pl-float{position:fixed;z-index:60;transform:translateX(-50%);display:inline-flex;align-items:center;gap:5px;pointer-events:none;
  padding:5px 11px;border-radius:9999px;background:#fff;color:#E8453C;font:800 13px/1 Montserrat,system-ui,sans-serif;
  box-shadow:0 4px 14px rgba(0,0,0,.25);animation:plfloat 2.6s ease-out forwards}
.pl-float b{color:#1e4030}
@keyframes plfloat{0%{opacity:0;transform:translate(-50%,8px) scale(.8)}15%{opacity:1;transform:translate(-50%,0) scale(1.08)}25%{transform:translate(-50%,0) scale(1)}75%{opacity:1}100%{opacity:0;transform:translate(-50%,-14px)}}
@media (prefers-reduced-motion:reduce){.pl-float{animation:plfloat 2.6s steps(1) forwards}}
@media (max-width:480px){.play-pill .pl-sub{display:none}.header .play-pill{padding:6px 10px;gap:6px}}
/* the game pages (/games, /race, /words): CLERC's logo carries a PLAY / STUDIO tag, the Play With ASL logo does not;
   Signword's "← Games" stands beside the logo (app_signer _PWA_HTML_SWAPS '/words'); the car boards in PWA colours */
.logo .tag{display:none !important}
.pwa-games-back{margin:0 auto 0 4px}
/* /games lists the 3 games of playwithasl.com (12/11/2026): ASL HUDDLE (the studio, app_signer _PWA_HTML_SWAPS '/games'),
   Sign Race, Signword. A row of 3 on a computer, ASL HUDDLE on top of the 2 others on a tablet, one column on a phone. */
main.pwa-g3m{max-width:1120px}
.games.pwa-g3{grid-template-columns:repeat(3,minmax(0,1fr))}
.pwa-hg .hg-art{height:50px;margin-top:22px;border-radius:10px;position:relative;background:linear-gradient(90deg,#FFD23F,#FFA900)}
.pwa-hg .hg-art img{position:absolute;left:14px;bottom:0;height:68px;width:auto;filter:drop-shadow(0 3px 4px rgba(0,0,0,.25))}
/* the games' animals (28/11/2026), like Apollo above: the sloth on Zoom!'s road, the squirrel by Clue!'s tiles */
.pwa-g3 .pwa-mas{position:relative;overflow:visible;margin-top:36px}
.pwa-g3 .pwa-mas img.mas{position:absolute;bottom:0;width:auto;pointer-events:none;filter:drop-shadow(0 3px 4px rgba(0,0,0,.3))}
.pwa-g3 .road.pwa-mas img.mas{left:10px;height:74px}
.pwa-g3 .road.pwa-mas b:first-of-type{display:none}
.pwa-g3 .art.pwa-mas img.mas{right:0;height:78px}
@media (max-width:360px){.pwa-g3 .art.pwa-mas img.mas{height:62px}}
@media (max-width:1000px){.games.pwa-g3{grid-template-columns:1fr 1fr}.games .pwa-hg{grid-column:1/-1}}
@media (max-width:720px){.games.pwa-g3{grid-template-columns:1fr}}
/* /games as a small dashboard (28/11/2026, static/pwa/games_path.js), the same look, type and colours as the list of
   playwithasl.com (PWA-Website components/GamePath.astro): everything in Montserrat, titles, game names and buttons
   900 (GosmickSans left the games on 28/11/2026, Florian: « ce type de police ne me correspond pas »), one colour per step (Learn sky, Play purple, Sign orange, the app yellow). A computer: square tiles on a grid of
   five equal columns (the browser games on one row, the app's under them); a phone: one game per line. */
.pwa-dash{--learn:#42BFEE;--play:#8742E3;--sign:#FF8C00;--app:#FFA900;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));column-gap:18px;row-gap:42px;align-items:start}
.dg{--c:var(--learn);position:relative;border-radius:26px;outline:3px solid transparent;outline-offset:10px;transition:outline-color .2s ease}
.dg-play{--c:var(--play)}.dg-sign{--c:var(--sign)}.dg-app{--c:var(--app)}
.dg-learn{grid-column:1/span 2}.dg-play{grid-column:3/span 2}.dg-sign{grid-column:5}.dg-app{grid-column:1/-1}
.dg.is-here{outline-color:var(--c)}
.dg-head{display:flex;align-items:flex-start;gap:12px;min-height:64px;margin:0 0 14px}
.dg-head .n{flex:none;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--c);color:#fff;font:900 19px/1 Montserrat,system-ui,sans-serif;box-shadow:0 3px 0 rgba(0,0,0,.25)}
.dg-learn .n,.dg-app .n{color:#16301f}
.dg-head .n.app{background:var(--c) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316301f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='2.5' width='10' height='19' rx='2.5'/%3E%3Cpath d='M11 18.5h2'/%3E%3C/svg%3E") center/20px no-repeat}
.dg-head h3{margin:0;font:900 25px/1.05 Montserrat,system-ui,sans-serif;color:#fff;letter-spacing:-.01em}
.dg-head p{margin:4px 0 0;font:600 13px/1.3 Montserrat,system-ui,sans-serif;color:rgba(255,249,240,.75)}
.dg-head .here{position:absolute;top:-24px;right:0;padding:6px 12px;border-radius:999px;background:var(--pwa-coral);color:#fff;font:900 11px/1 Montserrat,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;box-shadow:0 3px 0 #a8271f}
.dg-tiles{display:grid;grid-template-columns:repeat(var(--cols,1),minmax(0,1fr));gap:18px}
.dg-learn .dg-tiles,.dg-play .dg-tiles{--cols:2}.dg-app .dg-tiles{--cols:5}
/* a game: a square tile, its picture on top, its name and button under it */
.dt{position:relative;display:flex;flex-direction:column;aspect-ratio:1/1;min-width:0;border-radius:22px;overflow:hidden;color:#fff;text-decoration:none;
  background:#1e4030;box-shadow:0 6px 0 rgba(0,0,0,.22),inset 0 0 0 1px rgba(255,255,255,.08);transition:transform .2s ease,box-shadow .2s ease}
.dt:hover,.dt:focus-visible{transform:translateY(-4px);box-shadow:0 10px 0 rgba(0,0,0,.22),inset 0 0 0 3px var(--c)}
.dt:focus-visible{outline:3px solid var(--pwa-blue);outline-offset:3px}
.dt.off{opacity:.45;pointer-events:none}
.dt-art{position:relative;flex:1;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden}
.dt-art::after{content:"";position:absolute;inset:0;background:radial-gradient(120% 80% at 50% 0%,rgba(255,255,255,.22),transparent 62%);pointer-events:none}
.dt-art img{position:relative;max-width:78%;max-height:78%;width:auto;height:auto;object-fit:contain}
.dt-text{display:flex;flex-direction:column;gap:2px;padding:10px 12px 0;min-width:0}
.dt-text b{font:900 17px/1.15 Montserrat,system-ui,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dt-line{display:none}
.dt-meta{font:600 11.5px/1.3 Montserrat,system-ui,sans-serif;color:rgba(255,249,240,.7);min-height:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dt-meta b{color:var(--pwa-yellow);font:inherit;font-weight:800}
.dt-go{align-self:flex-start;margin:6px 12px 14px;padding:8px 16px;border-radius:999px;background:var(--pwa-coral);color:#fff;font:900 12px/1 Montserrat,system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;box-shadow:0 3px 0 #a8271f}
.dt:hover .dt-go{background:var(--pwa-coral-hover)}
.dg-app .dt-go{background:var(--pwa-cream);color:#16301f;box-shadow:0 3px 0 rgba(0,0,0,.3)}
/* the pictures (the same on playwithasl.com) */
.a-colors{gap:5%;background:linear-gradient(160deg,#3b7a58,#1e4030)}
.a-colors img{width:24%;max-width:none}
.a-colors img:nth-child(2){transform:translateY(-12%)}
.a-says{background:linear-gradient(160deg,#a26cf5,#8742E3)}
.a-says img{max-width:92%;max-height:92%}
.a-zoom{background:linear-gradient(160deg,#3a2950,#22172f)}.a-clue{background:linear-gradient(160deg,#30459a,#1b2a6b)}
.a-zoom .dt-logo,.a-clue .dt-logo{max-width:84%;max-height:38%;margin-bottom:24%}
.a-zoom .dt-mas,.a-clue .dt-mas{position:absolute;bottom:0;right:6%;height:46%;max-height:none;max-width:none}
.a-huddle{background:linear-gradient(160deg,#FFD23F,#FFA900)}
.a-huddle img{max-height:72%}
.a-app{background:linear-gradient(160deg,#fffdf8,#FEF5E7)}
.a-mc{background:linear-gradient(160deg,#6fd8f7,#42BFEE)}
.a-mc .hexes{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:5px;width:min(32%,64px)}
.a-mc .hexes i{aspect-ratio:1/1.12;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);background:rgba(255,255,255,.9)}
.a-mc .hexes i.on{background:var(--pwa-coral)}
.dt-cta{grid-column:span 2;display:flex;flex-direction:column;justify-content:center;gap:8px;padding:24px;border-radius:22px;background:linear-gradient(160deg,rgba(255,169,0,.16),rgba(255,169,0,.06));box-shadow:inset 0 0 0 1px rgba(255,169,0,.4)}
.dt-cta b{font:900 22px/1.1 Montserrat,system-ui,sans-serif;color:#fff;letter-spacing:-.01em}
/* /games header: « Log out » and « Change » never cut in two on a phone (28/11/2026) */
.who{flex-wrap:wrap;justify-content:flex-end;row-gap:4px;text-align:right}.who .pwa-logout,.who button.chg{white-space:nowrap}
/* the sign-up form (/join, body.pwa-mont) in the same Montserrat 900, no GosmickSans (28/11/2026) */
html body.pwa-mont{--display:Montserrat,system-ui,sans-serif !important}
html body.pwa-mont h1,html body.pwa-mont h2,html body.pwa-mont h3,html body.pwa-mont .modal-title,html body.pwa-mont .section-title{font-family:Montserrat,system-ui,sans-serif !important;font-weight:900 !important;letter-spacing:-.02em !important}
/* the page title in the same Montserrat 900 (beats the theme's GosmickSans headings) */
html body h1.pwa-gp-title{font-family:Montserrat,system-ui,sans-serif !important;font-weight:900 !important;letter-spacing:-.02em !important}
@media (max-width:480px){html body h1.pwa-gp-title{font-size:34px !important}}
.dt-cta>span{font:600 14px/1.4 Montserrat,system-ui,sans-serif;color:rgba(255,249,240,.85)}
.dt-stores{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}
.dt-stores a{padding:10px 16px;border-radius:999px;background:var(--pwa-cream);color:var(--pwa-green-night) !important;font:900 13px/1 Montserrat,system-ui,sans-serif;text-decoration:none;box-shadow:0 3px 0 rgba(0,0,0,.3)}
.dt-stores a:hover{background:#fff}
/* a tablet and a phone: the groups one under the other, a game per line (picture, name and line, button) */
@media (max-width:900px){
  .pwa-dash{display:flex;flex-direction:column;gap:32px}
  .dg{outline-offset:6px}
  .dg-head{min-height:0;align-items:center}
  .dg-head h3{font-size:24px}
  .dg-head .here{position:static;margin-left:auto}
  .dg-tiles,.dg-learn .dg-tiles,.dg-play .dg-tiles,.dg-app .dg-tiles{grid-template-columns:1fr;gap:12px}
  .dt{aspect-ratio:auto;display:grid;grid-template-columns:76px minmax(0,1fr) auto;align-items:center;gap:12px;padding:8px 12px 8px 8px;border-radius:18px;box-shadow:0 4px 0 rgba(0,0,0,.22),inset 0 0 0 1px rgba(255,255,255,.08)}
  .dt:hover,.dt:focus-visible{transform:translateY(-2px);box-shadow:0 6px 0 rgba(0,0,0,.22),inset 0 0 0 3px var(--c)}
  .dt-art{width:76px;height:76px;flex:none;border-radius:12px}
  .a-colors{gap:3%}.a-colors img{width:29%}
  .dt-text{padding:0}
  .dt-text b{font-size:16px;white-space:normal}
  .dt-line{display:block;font:500 13px/1.3 Montserrat,system-ui,sans-serif;color:rgba(255,249,240,.8)}
  .dt-go{margin:0;align-self:center}
  .dg-app .dt-go{padding:8px 10px;font-size:11px;letter-spacing:.03em}
  .dt-cta{grid-column:auto;padding:18px}
}
@media (max-width:420px){.dt{grid-template-columns:64px minmax(0,1fr) auto;gap:10px}.dt-art{width:64px;height:64px}.dt-go{padding:8px 12px}.dg-head .here{padding:5px 9px}}
.mode[data-m="car"].on{background:linear-gradient(90deg,var(--pwa-orange),var(--pwa-purple)) !important;color:#fff !important;border-color:transparent !important}
/* Signword on a phone (06/11/2026, Florian: « sign word il faut que ce soit plus fit mobile et simple à utiliser »).
   In a game, the whole puzzle fits one screen above the camera: no logo nor name pill, smaller letter boxes and timer,
   the help buttons one row of small quiet pills (signing is the game, they are the way out), a smaller camera
   thumbnail. body.pwa-sw = /words only (app_signer _PWA_HTML_SWAPS). */
@media (max-width:600px){
  body.pwa-sw #playingAs{display:none !important}
  body.pwa-sw .pill{padding:6px 12px;font-size:17px}
  body.pwa-sw .pill small{font-size:12px}
  body.pwa-sw.playing header{padding:8px 14px 4px !important}
  body.pwa-sw.playing header .logo{display:none !important}
  body.pwa-sw.playing .pwa-games-back{margin:0 auto 0 0}
  body.pwa-sw.playing main{padding-top:0}
  body.pwa-sw .puzzle .mchip{font-size:14px;padding:6px 13px;margin:0 0 6px}
  body.pwa-sw .puzzle>.lbl{font-size:14px}
  body.pwa-sw .clue{margin:8px 0 14px;font-size:21px;padding:7px 16px 7px 7px;line-height:1.2;text-align:left}
  body.pwa-sw .clue .sw{width:30px;height:30px}
  body.pwa-sw .got{margin:8px 0 14px;font-size:22px;padding:8px 16px}
  body.pwa-sw .pic{height:84px;margin:-6px 0 10px}
  body.pwa-sw .pic.photo{height:128px;margin:0 0 12px;border-radius:14px}
  body.pwa-sw .tiles{--tc:min(var(--tw),78px);gap:calc(var(--tc) * .125)}
  body.pwa-sw .tile{width:var(--tc);height:calc(var(--tc) * 1.17);border-radius:calc(var(--tc) * .19);font-size:calc(var(--tc) * .75)}
  body.pwa-sw .tile.g::after{height:calc(var(--tc) * .047)}
  body.pwa-sw .tile.sp,body.pwa-sw .tile.ap{width:calc(var(--tc) * .3)}
  body.pwa-sw .timer{margin-top:12px;gap:10px}
  body.pwa-sw .timer b{font-size:40px}
  body.pwa-sw .timer span{font-size:15px}
  body.pwa-sw .say{font-size:18px;margin-top:8px;line-height:1.3}
  body.pwa-sw .hints{margin-top:14px;gap:8px}
  body.pwa-sw .pwa-long{display:none}
  /* five :not() = more specific than the theme's coral .btn rule */
  body.pwa-sw .hints .btn:not(.q1):not(.q2):not(.q3):not(.q4):not(.q5){padding:11px 16px !important;min-height:44px;font-size:15px !important;letter-spacing:.03em !important;gap:6px;
    background:rgba(255,249,240,.13) !important;color:var(--pwa-cream) !important;box-shadow:none !important}
  body.pwa-sw .hints .btn small{font-size:13px;color:#ffb3ad}
  body.pwa-sw .hints .btn:disabled{opacity:.45}
  body.pwa-sw .hints .btn.nudge:not(.q1):not(.q2):not(.q3):not(.q4):not(.q5){background:rgba(255,169,0,.2) !important;box-shadow:inset 0 0 0 1.5px var(--pwa-yellow) !important}
  body.pwa-sw .hints .btn.appeal:not(.q1):not(.q2):not(.q3):not(.q4):not(.q5){background:rgba(255,169,0,.16) !important;color:var(--pwa-yellow) !important;box-shadow:inset 0 0 0 1.5px rgba(255,169,0,.55) !important}
  body.pwa-sw .ailearn{margin-top:14px;font-size:15px;color:rgba(255,249,240,.75)}
  body.pwa-sw.playing .sees b{font-size:28px}
  body.pwa-sw.playing .sees{font-size:16px}
  /* the appeal, the AI note and the level cards: read at arm's length on a phone (08/11/2026, « un peu petit les textes ») */
  body.pwa-sw .consent-card .lbl{font-size:14px}
  body.pwa-sw .consent-text,body.pwa-sw .apwhy{font-size:18px}
  body.pwa-sw .appealbox h2,body.pwa-sw .ainote h2{font-size:27px}
  body.pwa-sw .refsrc{font-size:14px}
  body.pwa-sw .refctl button{font-size:15px;padding:9px 14px}
  body.pwa-sw .aplink{font-size:17px;padding:8px}
  body.pwa-sw .over-btns .btn{font-size:18px;min-height:52px}
  body.pwa-sw .whow li{font-size:19px}
  /* a phone held upright: the player sees themself bigger (08/11/2026, Florian: « la caméra de la personne est en
     rectangle », 72 px wide before), « AI sees » beside it; the puzzle a little tighter to leave it the room */
  body.pwa-sw.playing.camtall .cam{grid-template-columns:116px minmax(0,1fr);gap:14px}
  /* Signword, « Sign it your way » (3 sentences after « I was right »): the player watches themselves, so the camera
     takes the free half of the screen and « AI sees » steps aside (Florian 11/11/2026: the camera was too small) */
  body.pwa-sw.playing.teaching .cam{grid-template-columns:minmax(0,1fr) !important;justify-items:center}
  body.pwa-sw.playing.teaching .sees{display:none}
  /* the image's own shape (--car, set by camShape), never cropped: as tall as 46vh allows, never wider than the screen */
  body.pwa-sw.playing.teaching .view{aspect-ratio:var(--car,4/3) !important;width:min(100%,calc(min(46vh,480px) * var(--car,1.3333))) !important;height:auto;margin:0 auto}
  body.pwa-sw.playing.teaching main{padding-bottom:calc(min(46vh,480px) + 40px) !important}
  body.pwa-sw.playing.camtall main{padding-bottom:236px}
  body.pwa-sw.playing.camtall .pic.photo{height:112px;margin:0 0 8px}
  body.pwa-sw.playing.camtall .clue{margin:6px 0 10px}
  body.pwa-sw.playing.camtall .timer{margin-top:8px}
  body.pwa-sw.playing.camtall .hints{margin-top:10px}
  body.pwa-sw.playing.camtall .ailearn{margin-top:8px}
}
/* a phone held upright under 780 px high (most Androids, 360 x 740): the bigger camera keeps its room, the puzzle smaller */
@media (max-width:600px) and (max-height:780px){
  body.pwa-sw.playing.camtall .tiles{--tc:min(var(--tw),62px)}
  body.pwa-sw.playing.camtall .pic.photo{height:88px}
  body.pwa-sw.playing.camtall .cam{grid-template-columns:104px minmax(0,1fr)}
  body.pwa-sw.playing.camtall main{padding-bottom:216px}
}
/* a short phone (iPhone SE, 568 px): the boxes and the clue's picture a little smaller again */
@media (max-width:600px) and (max-height:620px){
  body.pwa-sw .tiles{--tc:min(var(--tw),62px)}
  body.pwa-sw .pic{height:60px;margin:-6px 0 6px}
  body.pwa-sw .pic.photo{height:92px;margin:0 0 8px}
  body.pwa-sw .clue{margin:6px 0 10px;font-size:19px}
  body.pwa-sw .timer{margin-top:8px}
  body.pwa-sw .timer b{font-size:30px}
  body.pwa-sw.playing.camtall .cam{grid-template-columns:84px minmax(0,1fr)}
  body.pwa-sw.playing.camtall .pic.photo{height:76px}
  body.pwa-sw.playing.camtall .rec span{display:none}
  /* the appeal card fits the screen: a smaller drawing of the sign, the lines closer, and it scrolls if it still does not */
  body.pwa-sw .appealbox{overflow-y:auto;align-items:flex-start;padding:10px}
  body.pwa-sw .appealbox .consent-card{margin:auto 0;padding:14px}
  body.pwa-sw .appealbox .refv{width:72%;margin:0 auto 6px}
  body.pwa-sw .appealbox h2{font-size:23px;margin:4px 0 8px}
  body.pwa-sw .apwhy{font-size:16px;margin:4px 0 0}
  body.pwa-sw .refsrc{font-size:13px}
  body.pwa-sw .appealbox .over-btns.col{margin-top:10px;gap:8px}
  body.pwa-sw .appealbox .over-btns .btn{min-height:46px;font-size:16px}
  body.pwa-sw .aplink{margin-top:6px}
  body.pwa-sw.playing.camtall main{padding-bottom:178px}
}
/* 12/11/2026, Florian: « il voit pas le bouton pour jouer dans ASL HUDDLE, il faut qu'il soit visible ». PLAY is the
   yellow button of the header, bigger, with a game pad: the coral stays the studio's record colour. Still yellow with
   no life left (Signword is free to play). */
.play-pill{font-size:15px;padding:9px 16px 9px 12px;gap:8px;letter-spacing:.05em;color:#1e4030 !important;
  background:linear-gradient(180deg,#FFD23F,#FFA900);box-shadow:0 3px 0 #b97700,0 0 0 3px rgba(255,210,63,.22)}
.play-pill:hover{background:linear-gradient(180deg,#FFDB5C,#FFB31A)}
.play-pill .pl-pad{display:inline-flex;margin-right:-2px}
.play-pill .pl-l svg{color:#E8453C}
.play-pill .pl-sub{opacity:.7}
.play-pill.empty{color:#1e4030 !important;background:linear-gradient(180deg,#FFD23F,#FFA900);box-shadow:0 3px 0 #b97700}
@media (max-width:480px){.header .play-pill{padding:7px 11px 7px 8px;gap:5px;font-size:14px}.play-pill .pl-pad svg{width:17px;height:17px}}
/* the goal (12/11/2026, « l'objectif c'est d'atteindre 100 vidéos ... 0 sur 100 »): under 100 videos it takes the level
   bar's row (games_entry.js renderGoal); a tap opens « Why 100? » */
.xp-bar.goal-on #levelProgress{display:none !important}
.goal-bar{display:flex;align-items:center;gap:10px;flex:1;min-width:0;padding:5px 0;border:0;background:transparent;cursor:pointer;
  color:var(--pwa-cream);font:700 14px/1.2 Montserrat,system-ui,sans-serif;text-align:left}
.goal-bar[hidden]{display:none !important}
.goal-bar .gb-k{color:var(--pwa-yellow);font-weight:800;white-space:nowrap}
.goal-bar .gb-n{white-space:nowrap;font-variant-numeric:tabular-nums}
.goal-bar .gb-n b{display:inline-block;font-size:16px;font-weight:800;color:#fff}
.goal-bar .gb-t{font-size:12px;font-weight:600;opacity:.8;white-space:nowrap}
.goal-bar.bump .gb-n b{animation:plbump .7s ease}
.gb-track{display:block;flex:1;min-width:40px;height:8px;border-radius:5px;background:rgba(255,249,240,.18);overflow:hidden}
.gb-track i{display:block;height:100%;border-radius:5px;background:linear-gradient(90deg,var(--pwa-orange),var(--pwa-yellow));transition:width .6s ease}
.goal-bar:hover .gb-k,.goal-bar:focus-visible .gb-k{text-decoration:underline}
.goal-big .gb-track{height:12px;margin:4px 0 14px}
.impact-grid.goal-why{grid-template-columns:1fr 1fr 1fr}
.impact-grid.goal-why b{font-size:16px !important}
@media (max-width:520px){.impact-grid.goal-why{grid-template-columns:1fr}.impact-grid.goal-why div{display:flex;gap:10px;align-items:baseline}
  .impact-grid.goal-why b{flex:none;min-width:118px}}
@media (max-width:420px){.goal-bar{gap:8px;font-size:13px}.goal-bar .gb-t{font-size:11px}}
/* 12/11/2026, Florian: « ASL HUDDLE version mobile : trop de boutons, ce n'est pas clair du tout, supprime ce qui est
   inutile, SIMPLE et minimaliste », then « mettre quand même How to record, à côté de Play le classement, Up next un
   bouton simple et discret, 3 sec il faut le mettre et c'est tout ». On a phone the studio keeps the logo row, PLAY and
   the rank, the goal, How to record, the sentence and its arrows, the camera, 3s and Record (then Stop / Keep). What
   leaves the screen stays in the account menu: My signs, Settings, Help, Bug or idea? (feedback.js). No Pause button:
   a phone user just stops. The "Up next" list sits behind a small "Next sentences" button, and the open list has a
   "Back to camera" bar on top (studio_game.js). The computer keeps everything. */
.pwa-list-btn{display:none}
@media (max-width:600px){
  .pwa-game .header-meta #chestPill,.pwa-game .header-meta #clockPill,
  .pwa-game .header-meta #earnPill{display:none !important}
  #signsAccess,#phraseCounter,.overlay-hint,.pwa-fb-btn,.pwa-fb-break{display:none !important}
  .controls #breakBtn{display:none !important}
  .controls .btn-record,.controls .btn-stop,.controls .btn-save{flex:1 1 auto !important}
  html.huddle-goal-on #pwaRoad{display:none !important}      /* 12/1,000 under 12/100: one goal on a phone */
  html.pwa-game:not(.pwa-list-open) .phrase-panel,.pwa-game .phrase-panel-header{display:none !important}
  .pwa-list-btn{display:flex;align-items:center;gap:6px;margin:4px auto 2px;padding:8px 14px;border:0;background:none;
    color:rgba(255,249,240,.62);font:600 14px/1 Montserrat,sans-serif;cursor:pointer;-webkit-tap-highlight-color:transparent}
  .pwa-list-btn i{font-style:normal;font-size:12px;transition:transform .2s ease}
  html.pwa-list-open .pwa-list-btn{display:none}
  html.pwa-list-open .pwa-list-back{display:flex}
}
/* the way back from the open list: on top of it, in view while it scrolls */
.pwa-list-back{display:none;position:sticky;top:0;z-index:5;align-items:center;justify-content:center;gap:8px;width:100%;
  margin:0 0 6px;padding:13px 16px;border:0;border-bottom:1px solid rgba(255,249,240,.14);background:#1b3a2a;
  color:var(--pwa-cream);font:700 15px/1 Montserrat,sans-serif;cursor:pointer;-webkit-tap-highlight-color:transparent}
.pwa-list-back i{font-style:normal;font-size:13px;color:var(--pwa-yellow)}

/* /join?play=race|words (join_free.js): the game picked on the Play With ASL home page, under Start playing */
.pwa-next-game{margin:14px 0 0;font:600 15px/1.4 Montserrat,sans-serif;color:var(--pwa-cream)}
.pwa-next-game b{color:var(--pwa-yellow);font-weight:800}
#s-signin .pwa-next-game{margin:-14px 0 22px}
.pwa-code .pwa-code-mail{margin:10px 0 0;font-weight:600}
.pwa-code .pwa-code-mail b{display:block;color:var(--pwa-yellow);overflow-wrap:anywhere}

/* 18/11/2026: the journey's points and rank beside the Map button (studio_game.js), the map's numbers; the studio's
   weekly videos board steps aside, one ranking only */
html:not(.pwa-classic) .pwa-game .header-meta #boardPill{display:none !important}
.pwa-pts-pill{position:relative;display:inline-flex;align-items:center;gap:5px;flex:none;height:36px;padding:0 13px 0 9px;
  border-radius:9999px;border:1.5px solid rgba(255,200,61,.75);background:rgba(255,200,61,.16);color:var(--pwa-cream) !important;
  font:800 13px/1 Montserrat,system-ui,sans-serif;text-decoration:none !important;white-space:nowrap;box-sizing:border-box;
  -webkit-tap-highlight-color:transparent}
.pwa-pts-pill[hidden]{display:none}
.pwa-pts-pill img{flex:none;width:20px;height:20px}
.pwa-pts-pill em{font-style:normal;color:#FFD23F}
.pwa-pts-pill b{font-weight:900;font-size:14px}
.pwa-pts-pill span{font-size:11px;opacity:.8}
.pwa-pts-plus{position:absolute;right:4px;top:-14px;font:900 14px/1 Montserrat,system-ui,sans-serif;font-style:normal;color:#FFD23F;
  text-shadow:0 1px 2px rgba(0,0,0,.5);pointer-events:none;animation:pwaPtsUp 1.4s ease-out forwards}
@keyframes pwaPtsUp{0%{opacity:0;transform:translateY(8px)}20%{opacity:1}100%{opacity:0;transform:translateY(-14px)}}
@media (max-width:480px){ .pwa-pts-pill{height:38px;padding:0 10px 0 7px} .pwa-pts-pill span{display:none} }
@media (prefers-reduced-motion:reduce){ .pwa-pts-plus{animation:none;opacity:0} }
#celebText .pwa-pts-line{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:8px;font-weight:900;color:#FFD23F}
#celebText .pwa-pts-line img{width:22px;height:22px}

/* ---------- 18/11/2026, sample I: the studio of the journey in the simple style, its colours kept (Florian: « pareil
   pour ASL Studio (sans changer de couleur) », « Oui, construis les deux »). body.pwa-simple = a mission or a story
   (studio_game.js simpleStudio). The green, the painting and the coral stay; the game's pieces: round white buttons,
   one dark outline (#2B1A10), icons instead of words. ---------- */
body.pwa-simple .header{background:transparent !important;border:0 !important;box-shadow:none !important;min-height:0;padding:0 !important}
body.pwa-simple .header .header-title,body.pwa-simple .header .pwa-huddle,body.pwa-simple .header .header-meta{display:none !important}
body.pwa-simple .pwa-top{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:14px 14px 6px}
body.pwa-simple .pwa-top .pt-l,body.pwa-simple .pwa-top .pt-r{display:flex;align-items:center;gap:8px;flex:0 0 auto}
body.pwa-simple .pwa-top .pt-c{display:flex;justify-content:center;flex:1 1 auto;min-width:0}
.pwa-top{display:none}
.pwa-si{display:inline-grid;place-items:center;line-height:0}
/* World and How to record: round white buttons */
body.pwa-simple #pwaMapBtn,body.pwa-simple #rulesChip{display:grid !important;place-items:center;width:54px;height:54px;min-width:0;padding:0 !important;
  margin:0;border-radius:50%;background:#fff !important;border:3.5px solid #2B1A10 !important;box-shadow:0 4px 0 rgba(0,0,0,.35) !important;color:#2B1A10}
body.pwa-simple #pwaMapBtn > svg,body.pwa-simple #pwaMapBtn > span:not(.pwa-si),
body.pwa-simple #rulesChip > span:not(.pwa-si){display:none !important}
body.pwa-simple .menu-wrap .avatar-btn{width:44px;height:44px;border:3.5px solid #2B1A10;box-shadow:0 4px 0 rgba(0,0,0,.35)}
/* the theme: its icon, a bar of its sentences, the count */
body.pwa-simple #pwaMissionPill{display:flex;align-items:center;gap:8px;max-width:100%;height:auto;margin:0;padding:4px 12px 4px 4px;
  background:#fff !important;border:3.5px solid #2B1A10 !important;border-radius:999px;box-shadow:0 4px 0 rgba(0,0,0,.35);color:#2B1A10 !important}
body.pwa-simple #pwaMissionPill[hidden]{display:none !important}
body.pwa-simple #pwaMissionPill::before{display:none !important}
body.pwa-simple #pwaMissionPill .mp-e{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#EAF6FF;border:3px solid #2B1A10}
body.pwa-simple #pwaMissionPill .mp-e img{width:32px;height:32px}
body.pwa-simple #pwaMissionPill .mp-name{display:none}
body.pwa-simple #pwaMissionPill .mp-n{font:900 16px Montserrat,sans-serif;color:#2B1A10 !important;white-space:nowrap}
body.pwa-simple #pwaMissionPill .mp-n b{color:#2B1A10 !important}
.mp-bar{display:none}
body.pwa-simple #pwaMissionPill .mp-bar{display:block;flex:0 1 92px;min-width:40px;height:16px;border-radius:999px;border:3px solid #2B1A10;background:#fff;overflow:hidden}
body.pwa-simple #pwaMissionPill .mp-bar i{display:block;height:100%;background:#FFC21A}
body.pwa-simple .rules-row{display:none !important}
/* the sentence: big, dark, in a white bubble; the arrows on its sides */
body.pwa-simple .pwa-prompt-row{gap:8px}
body.pwa-simple .pwa-prompt-row #promptText{flex:1 1 auto;min-height:96px;display:grid;place-items:center;padding:12px 16px;background:#fff;color:#2B1A10 !important;
  border:4px solid #2B1A10;border-radius:28px;box-shadow:0 5px 0 rgba(0,0,0,.35);text-shadow:none}
body.pwa-simple .pwa-prompt-row #promptText *{color:#2B1A10 !important}
body.pwa-simple .pwa-prompt-row .btn-nav{width:46px;height:46px;background:#fff !important;color:#2B1A10 !important;border:3.5px solid #2B1A10 !important;
  box-shadow:0 4px 0 rgba(0,0,0,.35);font:900 26px/1 Montserrat,sans-serif}
body.pwa-simple .pwa-prompt-row .btn-nav:disabled{opacity:.45}
/* the camera: a thick frame */
body.pwa-simple #videoWrapper{border-radius:30px !important;border:5px solid #2B1A10;box-shadow:0 0 0 4px rgba(255,255,255,.85) !important}
/* the bottom: the countdown, a round Record, the next sentences */
body.pwa-simple main .controls{position:relative;align-items:center;justify-content:center;gap:28px}
/* Record stays pinned in the middle: a tap's pointerdown redraws the controls (signer.js applyState), a button that moved
   under the finger before its pointerup would lose the click */
body.pwa-simple main .controls:has(> #startBtn[data-si="rec"]),body.pwa-simple main .controls:has(> #startBtn[data-si="live"]){min-height:112px;gap:160px}
body.pwa-simple .controls #countdownBtn{flex:0 0 auto !important;width:56px;height:56px;padding:0;border-radius:50%;background:#fff !important;color:#2B1A10 !important;
  border:3.5px solid #2B1A10 !important;box-shadow:0 4px 0 rgba(0,0,0,.35);font:900 18px Montserrat,sans-serif}
body.pwa-simple .controls #startBtn[data-si="rec"],body.pwa-simple .controls #startBtn[data-si="live"]{position:absolute;left:50%;top:50%;margin:-52px 0 0 -52px;transform:none !important;
  flex:0 0 auto !important;width:104px;height:104px;
  padding:0;border-radius:50% !important;border:5px solid #2B1A10 !important;box-shadow:0 7px 0 #a8261f !important;font-size:0 !important;color:transparent !important}
/* the dot and the square are the button's own background (a ::after over the button swallowed a tap on a phone: the
   pointerdown redraws the button, no click followed) */
body.pwa-simple .controls #startBtn[data-si="rec"]{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44'%3E%3Ccircle cx='22' cy='22' r='18' fill='%23fff' stroke='%232B1A10' stroke-width='4'/%3E%3C/svg%3E") center/44px no-repeat,var(--pwa-coral) !important}
body.pwa-simple .controls #startBtn[data-si="live"]{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44'%3E%3Crect x='6' y='6' width='32' height='32' rx='7' fill='%23fff' stroke='%232B1A10' stroke-width='4'/%3E%3C/svg%3E") center/40px no-repeat,var(--pwa-coral) !important}
body.pwa-simple .controls #startBtn[data-si="text"],body.pwa-simple .controls .btn-save{border:4px solid #2B1A10 !important;border-radius:999px !important;
  box-shadow:0 5px 0 rgba(0,0,0,.35) !important;font-weight:900}
body.pwa-simple #statusMsg.pwa-idle{visibility:hidden}
@media (max-width:600px){
  body.pwa-simple .controls .pwa-list-btn{display:grid;place-items:center;flex:0 0 auto;width:56px;height:56px;margin:0;padding:0;border-radius:50%;
    background:#2B5841;border:3.5px solid #2B1A10;box-shadow:0 4px 0 rgba(0,0,0,.35)}
  body.pwa-simple .controls .pwa-list-btn > span:not(.pwa-si),body.pwa-simple .controls .pwa-list-btn > i{display:none}
  html.pwa-list-open body.pwa-simple .controls .pwa-list-btn{display:none}
}
/* the game's icons inside the studio's buttons (the Map button's own svg rule must not hide them) */
body.pwa-simple .pwa-si,body.pwa-simple .pwa-si svg{display:block !important;width:auto;height:auto}
body.pwa-simple .pwa-top .pt-r{gap:10px}
/* the round Record (and Stop while it records) in the middle, the countdown and the list on its sides */
body.pwa-simple main .controls:has(> #startBtn[data-si="rec"]) #countdownBtn,
body.pwa-simple main .controls:has(> #stopBtn:not(:disabled)) #countdownBtn{margin-right:72px !important}
body.pwa-simple main .controls:has(> #startBtn[data-si="rec"]) .pwa-list-btn,
body.pwa-simple main .controls:has(> #stopBtn:not(:disabled)) .pwa-list-btn{margin-left:72px !important}
body.pwa-simple main .controls:has(> #stopBtn:not(:disabled)){min-height:112px;gap:28px}
body.pwa-simple .controls #stopBtn:not(:disabled){position:absolute;left:50%;top:50%;margin:-52px 0 0 -52px;transform:none !important;flex:0 0 auto !important;
  width:104px;height:104px;padding:0;border-radius:50% !important;border:5px solid #2B1A10 !important;box-shadow:0 7px 0 #a8261f !important;font-size:0 !important;
  color:transparent !important;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44'%3E%3Crect x='6' y='6' width='32' height='32' rx='7' fill='%23fff' stroke='%232B1A10' stroke-width='4'/%3E%3C/svg%3E") center/40px no-repeat,var(--pwa-coral) !important}
/* the account's button sits in the row, after How to record (a phone pinned it to the corner) */
body.pwa-simple .pwa-top .menu-wrap{position:relative !important;top:auto !important;right:auto !important;left:auto !important;margin:0 !important}
/* a computer: the round Record a little smaller, the video keeps its room */
@media (min-width:601px){
  /* in the row (a mouse click is not lost when a button moves), the other buttons on its sides */
  body.pwa-simple .controls #startBtn[data-si="rec"],body.pwa-simple .controls #startBtn[data-si="live"],
  body.pwa-simple .controls #stopBtn:not(:disabled){position:relative;left:auto;top:auto;margin:0;width:84px !important;min-width:84px !important;
    max-width:84px !important;height:84px !important;flex:0 0 84px !important}
  body.pwa-simple main .controls:has(> #startBtn[data-si="rec"]),body.pwa-simple main .controls:has(> #stopBtn:not(:disabled)){min-height:92px;gap:28px}
  body.pwa-simple main .controls #countdownBtn,body.pwa-simple main .controls .pwa-list-btn{margin:0 !important}
}
/* every card of the journey's studio in the game's style (Florian 18/11: « tous les pop up … au même style »): How to
   record, the pseudo, MISSION COMPLETE, the account menu: white, one dark outline, dark words, the coral buttons kept */
body.pwa-simple .modal-card,body.pwa-simple #menu.menu{background:#fff !important;color:#2B1A10 !important;border:4px solid #2B1A10 !important;
  border-radius:30px !important;box-shadow:0 10px 0 rgba(0,0,0,.35) !important}
body.pwa-simple #menu.menu{border-radius:22px !important}
body.pwa-simple .modal-card *:not(.btn):not(button):not(.btn *):not(button *),body.pwa-simple #menu.menu *:not(button.btn):not(.btn *){color:inherit !important}
body.pwa-simple .modal-card h2,body.pwa-simple .modal-card .modal-title,body.pwa-simple .modal-card .celeb-title{font-family:"GosmickSans",system-ui,sans-serif !important;
  font-weight:400 !important;color:#2B1A10 !important}
body.pwa-simple .modal-card .btn{border:4px solid #2B1A10 !important;border-radius:999px !important;box-shadow:0 5px 0 rgba(0,0,0,.3) !important;font-weight:900}
body.pwa-simple .modal-card .btn-ghost,body.pwa-simple .modal-card .btn.ghost{background:#fff !important;color:#2B1A10 !important}
body.pwa-simple .modal-card input,body.pwa-simple .modal-card select,body.pwa-simple .modal-card textarea{background:#fff !important;color:#2B1A10 !important;
  border:3.5px solid #2B1A10 !important;border-radius:16px !important}
body.pwa-simple .modal-card .modal-x,body.pwa-simple .modal-card .modal-close{width:48px;height:48px;border-radius:50%;background:#F1F1F5 !important;
  color:#2B1A10 !important;border:3.5px solid #2B1A10 !important;font-size:22px}
body.pwa-simple .rules-card ol li::marker,body.pwa-simple .rules-card .rule-n,body.pwa-simple .rules-card .num{color:#2B1A10 !important}
body.pwa-simple .modal-backdrop{background:rgba(10,30,18,.62) !important}
body.pwa-simple .rules li::before{background:#FFC21A !important;color:#2B1A10 !important;box-shadow:0 0 0 3px #2B1A10;font-weight:900}
body.pwa-simple .rules li b{color:#2B1A10 !important;font-weight:800}

/* 19/11/2026, Florian: « la liste des signes, on voit toujours que c'est l'ancienne version, il faut corriger le visuel ».
   The journey studio's sentence list (Up next: the side panel on a computer, the full page under "Next sentences" on a
   phone) in the simple style: white cards with a dark outline, round numbers, the sentence being played in yellow with a
   play mark, a check on the done ones, no MEDIUM tag (a mission's sentences are one level), the mission card like the
   top pill (theme picture, yellow bar). Also the last two old-style buttons of the computer (Pause, Bug or idea?). */
body.pwa-simple .phrase-panel{background:#234a37 !important;border:0 !important}
body.pwa-simple .phrase-panel-header{color:#fff !important;font:400 24px/1.1 GosmickSans,"Comic Sans MS",cursive !important;padding:16px 14px 6px !important}
body.pwa-simple .phrase-panel-stats{display:none !important}
body.pwa-simple .panel-close{display:grid !important;place-items:center;width:40px;height:40px;padding:0 !important;border-radius:50% !important;
  background:#fff !important;color:#2B1A10 !important;border:3.5px solid #2B1A10 !important;font:900 22px/1 Montserrat,sans-serif !important;
  box-shadow:0 4px 0 rgba(0,0,0,.3) !important}
body.pwa-simple .panel-tab{background:#fff !important;color:#2B1A10 !important;border:4px solid #2B1A10 !important;border-right:0 !important;
  border-radius:20px 0 0 20px !important;font:900 14px Montserrat,sans-serif !important;width:44px !important}
body.pwa-simple .panel-tab::before,body.pwa-simple .panel-tab-stats{color:#2B1A10 !important}
body.pwa-simple .pwa-list-back{width:auto !important;margin:10px 12px 4px;padding:12px 16px;border-radius:999px;background:#fff !important;
  color:#2B1A10 !important;border:4px solid #2B1A10 !important;box-shadow:0 5px 0 rgba(0,0,0,.3),0 -14px 0 10px #234a37;font:900 17px Montserrat,sans-serif;top:10px}
body.pwa-simple .pwa-list-back i{color:#2B1A10 !important;font-size:15px}
/* the mission card */
body.pwa-simple .pwa-road,body.pwa-simple .pwa-road.pwa-mission{margin:8px 12px 14px;padding:12px 14px;border-radius:22px;background:#fff !important;
  border:4px solid #2B1A10 !important;box-shadow:0 5px 0 rgba(0,0,0,.3) !important;color:#2B1A10 !important}
body.pwa-simple .pwa-road-top{align-items:center}
body.pwa-simple .pwa-road-top>b{display:flex;align-items:center;gap:8px;color:#2B1A10 !important;font:400 19px/1.1 GosmickSans,"Comic Sans MS",cursive !important}
body.pwa-simple .pwa-road-top>b img{width:40px !important;height:40px !important;padding:3px;border-radius:50%;background:#EAF6FF;box-shadow:0 0 0 3px #2B1A10;flex:none}
body.pwa-simple .pwa-road-top span,body.pwa-simple .pwa-road-next{color:#2B1A10 !important;font:800 15px Montserrat,sans-serif}
body.pwa-simple .pwa-road-top span{white-space:nowrap;flex:none}
body.pwa-simple .pwa-road-top span b,body.pwa-simple .pwa-road-next b{color:#2B1A10 !important;font:900 19px Montserrat,sans-serif}
body.pwa-simple .pwa-road-bar{height:20px;margin:12px 0 10px;background:#fff !important;border:3px solid #2B1A10;overflow:hidden}
body.pwa-simple .pwa-road-bar s,body.pwa-simple .pwa-road.pwa-mission .pwa-road-bar s{top:0;bottom:0;background:#FFC21A !important;box-shadow:none !important;border-radius:999px}
body.pwa-simple .pwa-road-title{background:none !important;color:#2B1A10 !important;padding:0 !important;font:400 17px GosmickSans,"Comic Sans MS",cursive !important;
  letter-spacing:0 !important;text-transform:none !important}
/* the sentences */
body.pwa-simple .phrase-list{padding:4px 12px 18px !important}
body.pwa-simple .phrase-item.pwa-q{align-items:center;gap:12px;margin:0 0 12px;padding:12px 14px !important;border-radius:22px !important;background:#fff !important;
  border:3.5px solid #2B1A10 !important;box-shadow:0 5px 0 rgba(0,0,0,.28) !important;color:#2B1A10 !important;transform:none}
body.pwa-simple .phrase-item.pwa-q:hover{background:#fff !important;transform:none}
@media (hover:hover){body.pwa-simple .phrase-item.pwa-q:not(.active):hover{background:#F4FAFF !important;transform:translateY(-1px)}}
body.pwa-simple .phrase-item.pwa-q.active{background:#FFE07A !important;border-width:4px !important}
body.pwa-simple .phrase-item.pwa-q.done,body.pwa-simple .phrase-item.pwa-q.next-round{opacity:1}
body.pwa-simple .phrase-item.pwa-q.next-round{background:rgba(255,255,255,.82) !important}
body.pwa-simple .pwa-q .phrase-item-text{color:#2B1A10 !important;font:400 18px/1.25 GosmickSans,"Comic Sans MS",cursive !important}
body.pwa-simple .pwa-q-n,body.pwa-simple .phrase-item.pwa-q.active .pwa-q-n{flex:0 0 44px;width:44px;height:44px;border-radius:50%;background:#EAF6FF;
  color:#2B1A10 !important;box-shadow:0 0 0 3px #2B1A10;font:900 18px/1 Montserrat,sans-serif;letter-spacing:0;text-transform:none}
body.pwa-simple .phrase-item.pwa-q.active .pwa-q-n{font-size:0;background:#2B5841 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l11-6.5z' fill='%23fff'/%3E%3C/svg%3E") center/26px no-repeat}
body.pwa-simple .phrase-item.pwa-q.done:not(.active) .pwa-q-n{font-size:0;background:#5FD38D url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%232B1A10' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/26px no-repeat}
body.pwa-simple .pwa-q-meta{display:none !important}
body.pwa-simple .pwa-q-more{color:#fff !important;border:3px dashed rgba(255,255,255,.55) !important;border-radius:22px !important;font:800 15px Montserrat,sans-serif}
/* the computer's last two old-style buttons */
@media (min-width:601px){
  body.pwa-simple .controls #breakBtn,body.pwa-simple .controls .pwa-fb-btn{height:56px;align-self:center;padding:0 22px !important;border-radius:999px !important;
    background:#fff !important;color:#2B1A10 !important;border:4px solid #2B1A10 !important;box-shadow:0 4px 0 rgba(0,0,0,.35) !important;
    font:900 16px Montserrat,sans-serif !important}
  body.pwa-simple .controls .pwa-fb-btn svg{color:#2B1A10;stroke:#2B1A10}
}
/* the small line above the sentence on a computer (Teach Apollo: Outdoors · Level 5, a story's line and telling): a white
   pill like the rest; its count is already in the top pill */
body.pwa-simple .pwa-stage-chip,body.pwa-simple .pwa-story-style{display:inline-flex;align-items:center;gap:6px;padding:4px 12px !important;border-radius:999px !important;
  background:#fff !important;color:#2B1A10 !important;border:3px solid #2B1A10 !important;box-shadow:0 3px 0 rgba(0,0,0,.3) !important;
  font:900 14px Montserrat,sans-serif !important;letter-spacing:0 !important;text-transform:none !important}
body.pwa-simple .pwa-mission-of{display:none !important}
/* the pseudo window (and any input of a simple window): the hint text was cream on white, unreadable */
body.pwa-simple .modal-card input::placeholder,body.pwa-simple .modal-card textarea::placeholder{color:#8F847D !important;opacity:1 !important}

/* 19/11/2026, style audit (Florian: « est-ce qu'il y a d'autres boutons qu'on n'a pas mis à jour ? check bien pour voir si
   tout est dans le même style »), the journey studio:
   1. after a take, Keep is a big green button with a check, Redo a white one with a back arrow (both were small and red) */
body.pwa-simple .controls #saveBtn.btn-save{height:54px;padding:0 20px 0 46px !important;border-radius:999px !important;border:4px solid #2B1A10 !important;
  background:#2B5841 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 16px center/22px no-repeat !important;
  color:#fff !important;box-shadow:0 5px 0 rgba(0,0,0,.3) !important;font:900 17px Montserrat,sans-serif !important}
body.pwa-simple .controls #startBtn[data-si="text"][data-redo]{height:54px;padding:0 20px 0 44px !important;border-radius:999px !important;border:4px solid #2B1A10 !important;
  background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.5 12a7.5 7.5 0 1 0 2.4-5.5' fill='none' stroke='%232B1A10' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M4 3.5v5h5' fill='none' stroke='%232B1A10' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 15px center/21px no-repeat !important;
  color:#2B1A10 !important;box-shadow:0 5px 0 rgba(0,0,0,.3) !important;font:900 17px Montserrat,sans-serif !important}
body.pwa-simple .controls #startBtn[data-si="text"]:not([data-redo]){background:#fff !important;color:#2B1A10 !important;font-weight:900 !important}
@media (max-width:600px){
  body.pwa-simple main .controls:has(> #saveBtn:not(:disabled)){gap:10px}
  /* after a take the row holds 3s, Redo, Keep and the list: smaller pills so it stays on one line */
  body.pwa-simple .controls #saveBtn.btn-save{height:52px;padding:0 14px 0 38px !important;background-position:12px center !important;background-size:20px !important;font-size:15px !important}
  body.pwa-simple .controls #startBtn[data-si="text"][data-redo]{height:52px;padding:0 14px 0 36px !important;background-position:11px center !important;background-size:19px !important;font-size:15px !important}
  /* a story has no list button: 3s stays left of Record instead of sliding under it */
  body.pwa-simple.pwa-story main .controls:has(> #startBtn[data-si="rec"]) #countdownBtn,
  body.pwa-simple.pwa-story main .controls:has(> #stopBtn:not(:disabled)) #countdownBtn{margin-right:208px !important}
}
/* 2. the windows' main button is green, as in the World (How to record, pseudo, APOLLO LEARNED IT, the pause screen) */
body.pwa-simple .modal-card .btn:not(.btn-ghost):not(.ghost):not(.btn-nav):not(.modal-x):not(.modal-close):not(.danger),
body.pwa-simple .break-card #resumeBtn{background:#2B5841 !important;color:#fff !important;box-shadow:0 5px 0 rgba(0,0,0,.3) !important}
body.pwa-simple .break-card #resumeBtn{min-height:52px;padding:0 30px !important;border-radius:999px !important;border:4px solid #2B1A10 !important;
  box-shadow:0 5px 0 rgba(0,0,0,.3) !important;font:900 17px Montserrat,sans-serif !important}
body.pwa-simple .break-card .break-title{color:#fff !important;font:900 18px Montserrat,sans-serif !important;letter-spacing:0 !important;text-transform:none !important}
body.pwa-simple .modal-backdrop .modal-x{width:48px !important;height:48px !important;border-radius:50% !important;background:#F1F1F5 !important;color:#2B1A10 !important;
  border:3.5px solid #2B1A10 !important;font:900 24px/1 Montserrat,sans-serif !important}
/* 3. Bug or idea?: the window in the simple style (it was the old dark green one) */
body.pwa-simple .pwa-fb{background:#fff;color:#2B1A10;border:4px solid #2B1A10;border-radius:28px;box-shadow:0 8px 0 rgba(0,0,0,.3)}
body.pwa-simple .pwa-fb h3{color:#2B1A10}
body.pwa-simple .pwa-fb .sub{color:#5b4c44}
body.pwa-simple .pwa-fb .chip{height:48px;border-radius:999px;border:3px solid #2B1A10;background:#fff;color:#2B1A10;font:800 15px Montserrat,system-ui,sans-serif}
body.pwa-simple .pwa-fb .chip.on{background:#2B5841;color:#fff;border-color:#2B1A10}
body.pwa-simple .pwa-fb textarea{background:#fff;color:#2B1A10;border:3px solid #2B1A10;border-radius:18px}
body.pwa-simple .pwa-fb textarea::placeholder{color:#8F847D;opacity:1}
body.pwa-simple .pwa-fb .go,body.pwa-simple .pwa-fb .ghost{height:52px;padding:0 24px;border-radius:999px;border:4px solid #2B1A10;box-shadow:0 4px 0 rgba(0,0,0,.3);font:900 16px Montserrat,system-ui,sans-serif}
body.pwa-simple .pwa-fb .go{background:#2B5841;color:#fff}
body.pwa-simple .pwa-fb .ghost{background:#fff;color:#2B1A10}
body.pwa-simple .pwa-fb .msg{color:#b45200}
/* 4. the account menu: big rows instead of small lines */
body.pwa-simple #menu.menu .menu-item{padding:11px 14px !important;margin:2px 0;border-radius:14px !important;font:800 16px Montserrat,sans-serif !important;color:#2B1A10 !important}
body.pwa-simple #menu.menu .menu-item:hover{background:#F4FAFF !important}
body.pwa-simple #menu.menu .menu-item.danger{color:#C0392B !important}
/* a window's second button (Cancel) was cream on white, unreadable */
body.pwa-simple .modal-card .btn-nav{background:#fff !important;color:#2B1A10 !important;border:4px solid #2B1A10 !important;border-radius:999px !important;
  box-shadow:0 5px 0 rgba(0,0,0,.3) !important;font-weight:900 !important}

/* 23/11/2026, the Alphabet (Florian; Gallaudet 1.7.1): in the bubble, the letter (or the word) very big and the
   instruction as written beside it; a small ×3 on a held letter. No Mix (one list in its own order). The top pill is the
   mission pill with the three letter tiles. */
body.pwa-alpha #pwaMixBtn{display:none !important}
#promptText.pwa-az{display:flex !important;align-items:center;justify-content:center;gap:18px;text-align:left}
.pwa-az-big{position:relative;flex:none;font:700 96px/0.9 GosmickSans,"Comic Sans MS",cursive;color:#2B1A10;letter-spacing:.02em}
.pwa-az-word .pwa-az-big{font-size:64px;letter-spacing:.08em}
.pwa-az-word .pwa-az-big.long{font-size:54px}
.pwa-az-x{position:absolute;right:-30px;top:-10px;padding:1px 7px;border-radius:999px;background:#FFE07A;border:3px solid #2B1A10;
  font:900 15px/1.2 Montserrat,system-ui,sans-serif;font-style:normal;letter-spacing:0;color:#2B1A10}
.pwa-az-say{flex:0 1 360px;min-width:0;font:700 17px/1.3 Montserrat,system-ui,sans-serif;color:#2B1A10}
#promptText.pwa-az:not(.pwa-az-word) .pwa-az-big{margin-right:22px}
body.pwa-simple .pwa-mission-pill.pwa-alpha-pill .mp-e{background:#fff}
.pwa-q-az{font:900 24px/1.1 Montserrat,system-ui,sans-serif;letter-spacing:.06em}
@media (max-width:600px){
  #promptText.pwa-az{gap:12px}
  .pwa-az-big{font-size:76px}
  .pwa-az-say{font-size:14px;line-height:1.28}
  #promptText.pwa-az.pwa-az-word{flex-direction:column;gap:6px;text-align:center}
  #promptText.pwa-az.pwa-az-word .pwa-az-say{flex:none}
  .pwa-az-word .pwa-az-big{font-size:42px}
  .pwa-az-word .pwa-az-big.long{font-size:36px}
  .pwa-az-x{right:-26px;top:-8px;font-size:13px}
}
/* /games with punch (28/11/2026, Florian: « beaucoup plus beau, plus réactif, waouh, j'ai envie de jouer »): the groups and
   tiles come in one after the other, a tile lifts and glows in its step's colour, its picture comes alive, a press
   answers at once, « Start here » / « For you » bounces. The same on playwithasl.com (GamePath.astro). */
.pwa-dash:not(.in) .dg-head,.pwa-dash:not(.in) .dt{opacity:0}
/* fill backwards only: once in, the tile's own styles (hover lift, a closed game's .45) take over again */
.pwa-dash.in .dg-head{animation:pwaUp .5s cubic-bezier(.2,1.2,.4,1) backwards;animation-delay:calc(var(--g,0) * 90ms)}
.pwa-dash.in .dt{animation:pwaUp .55s cubic-bezier(.2,1.3,.4,1) backwards;animation-delay:calc(var(--i,0) * 55ms + 120ms)}
@keyframes pwaUp{from{opacity:0;transform:translateY(18px) scale(.97)}}
.pwa-dash .dt{transition:transform .18s cubic-bezier(.2,1.4,.4,1),box-shadow .18s ease,filter .18s ease}
.pwa-dash .dt:hover,.pwa-dash .dt:focus-visible{transform:translateY(-7px) scale(1.025);
  box-shadow:0 14px 0 rgba(0,0,0,.2),0 18px 40px color-mix(in srgb,var(--c) 45%,transparent),inset 0 0 0 3px var(--c)}
.pwa-dash .dt:active{transform:translateY(2px) scale(.97);box-shadow:0 2px 0 rgba(0,0,0,.22),inset 0 0 0 3px var(--c);transition-duration:.06s}
.pwa-dash .dt-art img{transition:transform .35s cubic-bezier(.2,1.5,.4,1)}
.pwa-dash .dt:hover .dt-art img{transform:scale(1.08) rotate(-2deg)}
.pwa-dash .dt:hover .dt-mas{animation:pwaHop .6s cubic-bezier(.2,1.5,.4,1)}
.pwa-dash .dt:hover .a-colors img:nth-child(1){transform:translateY(-10%) scale(1.08)}
.pwa-dash .dt:hover .a-colors img:nth-child(2){transform:translateY(-22%) scale(1.12)}
.pwa-dash .dt:hover .a-colors img:nth-child(3){transform:translateY(-10%) scale(1.08)}
@keyframes pwaHop{30%{transform:translateY(-14%) rotate(4deg)}60%{transform:translateY(2%)}}
.pwa-dash .dt-go{position:relative;overflow:hidden;transition:transform .15s ease}
.pwa-dash .dt-go::after{content:"";position:absolute;top:0;left:-70%;width:45%;height:100%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.5),transparent);transform:skewX(-20deg)}
.pwa-dash .dt:hover .dt-go::after{animation:pwaShine .7s ease}
.pwa-dash .dt:hover .dt-go{transform:scale(1.06)}
@keyframes pwaShine{to{left:130%}}
.pwa-dash .dg.is-here{animation:pwaGlow 2.4s ease-in-out infinite}
@keyframes pwaGlow{0%,100%{outline-color:var(--c)}50%{outline-color:color-mix(in srgb,var(--c) 35%,transparent)}}
.pwa-dash .dg-head .here:not([hidden]){animation:pwaBadge 1.8s ease-in-out infinite;transform-origin:center bottom}
@keyframes pwaBadge{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
.pwa-dash.in .dg-head .n{animation:pwaPopN .5s cubic-bezier(.2,1.8,.4,1) backwards;animation-delay:calc(var(--g,0) * 90ms + 200ms)}
@keyframes pwaPopN{from{transform:scale(0)}}
/* « How it works » under the title */
.pwa-how{display:inline-flex;align-items:center;gap:8px;margin:2px 0 18px;padding:10px 18px 10px 12px;border:0;border-radius:999px;cursor:pointer;
  background:rgba(255,249,240,.12);color:#FFF9F0;font:800 14px/1 Montserrat,system-ui,sans-serif;box-shadow:inset 0 0 0 1.5px rgba(255,249,240,.25);
  transition:background .15s ease,transform .15s ease}
.pwa-how:hover{background:rgba(255,249,240,.2);transform:translateY(-1px)}.pwa-how:active{transform:scale(.97)}
.pwa-how svg{width:22px;height:22px}.pwa-how svg circle{fill:var(--pwa-coral)}.pwa-how svg path{fill:#fff}
@media (max-width:900px){.pwa-dash .dt:hover,.pwa-dash .dt:focus-visible{transform:translateY(-3px)}}
@media (prefers-reduced-motion:reduce){.pwa-dash .dg-head,.pwa-dash .dt{animation:none!important}
  .pwa-dash .dg.is-here,.pwa-dash .dg-head .here,.pwa-dash .dt-mas{animation:none!important}}

/* The sign-up landing with punch (/join?play=games: social posts, Free play; join_free.js body.pwa-land, 28/11/2026,
   Florian: « waouh, ça donne envie, le nombre d'utilisateurs, combien de signes »). Colour light behind, the title huge,
   the five games floating, live counters, one big button that shines. */
body.pwa-land::before{content:"";position:fixed;inset:-15%;z-index:-1;pointer-events:none;background:
  radial-gradient(closest-side,rgba(66,191,238,.28),transparent) 6% 14%/40vmax 40vmax no-repeat,
  radial-gradient(closest-side,rgba(135,66,227,.30),transparent) 94% 22%/44vmax 44vmax no-repeat,
  radial-gradient(closest-side,rgba(255,140,0,.22),transparent) 50% 108%/56vmax 56vmax no-repeat;
  filter:blur(6px);animation:plFloat 16s ease-in-out infinite alternate}
@keyframes plFloat{to{transform:translate(2.5%,-3%) rotate(6deg)}}
body.pwa-land #s-intro .hero{text-align:center;align-items:center}
body.pwa-land #s-intro .hero>*{animation:plUp .6s cubic-bezier(.2,1.2,.4,1) backwards}
body.pwa-land #s-intro .hero>:nth-child(2){animation-delay:.05s}body.pwa-land #s-intro .hero>:nth-child(3){animation-delay:.1s}
body.pwa-land #s-intro .hero>:nth-child(4){animation-delay:.15s}body.pwa-land #s-intro .hero>:nth-child(5){animation-delay:.2s}
body.pwa-land #s-intro .hero>:nth-child(n+6){animation-delay:.25s}
@keyframes plUp{from{opacity:0;transform:translateY(20px)}}
.pl-kick{display:inline-flex;align-items:center;gap:9px;margin:0 auto 14px;padding:8px 16px;border-radius:999px;background:rgba(255,249,240,.1);
  box-shadow:inset 0 0 0 1.5px rgba(255,249,240,.22);color:#FFF9F0;font:800 13px/1.2 Montserrat,system-ui,sans-serif;letter-spacing:.02em}
.pl-kick i{width:9px;height:9px;border-radius:50%;background:#E8453C;box-shadow:0 0 0 0 rgba(232,69,60,.6);animation:plPing 1.8s ease-out infinite}
@keyframes plPing{0%{box-shadow:0 0 0 0 rgba(232,69,60,.55)}100%{box-shadow:0 0 0 12px rgba(232,69,60,0)}}
html body.pwa-land #s-intro .hero h1{font-size:clamp(44px,8.5vw,88px) !important;line-height:.98 !important;letter-spacing:-.035em !important;margin:0 0 14px}
body.pwa-land #s-intro .hero h1 em,body.pwa-land .pl-tag h1 em{font-style:normal;background:linear-gradient(90deg,#42BFEE,#b48cff 50%,#FF8C00);-webkit-background-clip:text;background-clip:text;
  color:transparent;background-size:200% 100%;animation:plGrad 6s ease-in-out infinite alternate}
@keyframes plGrad{to{background-position:100% 0}}
body.pwa-land #s-intro .hero .sub{max-width:560px;margin-left:auto;margin-right:auto;font-size:clamp(16px,2.2vw,19px);line-height:1.5}
.pl-games{display:flex;justify-content:center;gap:clamp(8px,2vw,16px);margin:18px 0 22px}
.pl-games span{width:clamp(52px,9vw,72px);aspect-ratio:1/1;border-radius:20px;display:grid;place-items:center;background:rgba(255,249,240,.1);
  box-shadow:inset 0 0 0 1.5px rgba(255,249,240,.18),0 6px 0 rgba(0,0,0,.18);animation:plBob 3s ease-in-out infinite;animation-delay:calc(var(--i) * .25s)}
.pl-games span:nth-child(1){background:linear-gradient(160deg,#3b7a58,#1e4030)}.pl-games span:nth-child(2){background:linear-gradient(160deg,#a26cf5,#8742E3)}
.pl-games span:nth-child(3){background:linear-gradient(160deg,#3a2950,#22172f)}.pl-games span:nth-child(4){background:linear-gradient(160deg,#30459a,#1b2a6b)}
.pl-games span:nth-child(5){background:linear-gradient(160deg,#FFD23F,#FFA900)}
.pl-games img{max-width:78%;max-height:78%;object-fit:contain}
@keyframes plBob{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px) rotate(-3deg)}}
html body.pwa-land #heroGo{position:relative;overflow:hidden;font-size:clamp(18px,2.4vw,21px) !important;padding:19px 40px !important;min-width:min(340px,100%);
  border-radius:999px !important;box-shadow:0 6px 0 #a8271f,0 16px 40px rgba(232,69,60,.35) !important;transition:transform .15s ease}
body.pwa-land #heroGo:hover{transform:translateY(-2px) scale(1.02)}body.pwa-land #heroGo:active{transform:translateY(4px)}
body.pwa-land #heroGo::after{content:"";position:absolute;top:0;left:-60%;width:40%;height:100%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.45),transparent);
  transform:skewX(-20deg);animation:plShine 2.8s 1.2s ease-in-out infinite}
@keyframes plShine{0%{left:-60%}55%,100%{left:130%}}
.pl-stats{display:grid;grid-template-columns:repeat(var(--n,3),minmax(0,1fr));gap:14px;max-width:calc(var(--n,3) * 250px);margin:30px auto 0;animation:plUp .6s .35s cubic-bezier(.2,1.2,.4,1) backwards}
.pl-stat{display:flex;flex-direction:column;align-items:center;gap:6px;padding:20px 12px;border-radius:22px;background:rgba(255,249,240,.07);
  box-shadow:inset 0 0 0 1.5px rgba(255,249,240,.14)}
.pl-stat b{font:900 clamp(30px,5vw,46px)/1 Montserrat,system-ui,sans-serif;letter-spacing:-.03em;color:#FFF9F0;font-variant-numeric:tabular-nums}
.pl-stat:nth-child(1) b{color:#42BFEE}.pl-stat:nth-child(2) b{color:#c9a8ff}.pl-stat:nth-child(3) b{color:#FFA900}
.pl-stat span{font:800 12px/1.2 Montserrat,system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:rgba(255,249,240,.75);text-align:center}
.pl-live{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:8px;margin:2px 0 0;font:700 12px/1 Montserrat,system-ui,sans-serif;color:rgba(255,249,240,.6)}
.pl-live i{width:8px;height:8px;border-radius:50%;background:#3ddc84;animation:plPing2 1.8s ease-out infinite}
@keyframes plPing2{0%{box-shadow:0 0 0 0 rgba(61,220,132,.55)}100%{box-shadow:0 0 0 10px rgba(61,220,132,0)}}
@media (max-width:560px){.pl-stats{gap:8px}.pl-stat{padding:14px 6px;border-radius:16px}.pl-stat span{font-size:10px;letter-spacing:.03em}}
@media (prefers-reduced-motion:reduce){body.pwa-land::before,body.pwa-land #s-intro .hero>*,.pl-games span,.pl-kick i,.pl-live i,body.pwa-land #heroGo::after,
  body.pwa-land #s-intro .hero h1 em,.pl-stats{animation:none!important}}

/* Universal Design (29/11/2026: « NO TEXT, the logo tells the entire story; what if we change language? »): the whole logo
   leads the landing, never cropped; the header's small trimmed logo steps aside there; the title goes to the bottom, small. */
body.pwa-land header .logo,body.pwa-land .nav .logo,body.pwa-land .header-title{visibility:hidden}
.pl-logo{display:block;width:min(400px,72vw,46vh);height:auto;margin:-8px auto 0;filter:drop-shadow(0 14px 24px rgba(0,0,0,.35));
  animation:plLogo .8s cubic-bezier(.2,1.3,.4,1) backwards}
@keyframes plLogo{from{opacity:0;transform:scale(.8) rotate(-4deg)}}
body.pwa-land .pl-games{margin:6px 0 26px}
.pl-play{width:1.25em;height:1.25em;vertical-align:-.28em;margin-right:.45em}
.pl-stat i{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:rgba(255,249,240,.1);font-style:normal}
.pl-stat i svg{width:26px;height:26px;fill:currentColor}.pl-stat i img{width:34px;height:auto}
.pl-players i{color:#42BFEE}.pl-signs i{color:#c9a8ff}
.pl-tag{max-width:640px;margin:34px auto 8px;padding:0 16px;text-align:center;opacity:.92}
html body.pwa-land .pl-tag h1{font-size:clamp(24px,4vw,34px) !important;line-height:1.05 !important;letter-spacing:-.025em !important;margin:0 0 8px}
html body.pwa-land .pl-tag .sub{font-size:15px !important;line-height:1.45;margin:0 auto;max-width:520px;color:rgba(255,249,240,.75)}
@media (prefers-reduced-motion:reduce){.pl-logo{animation:none}}

/* Universal Design on the games' tiles (29/11/2026): a round play button, no word; Zoom! and Clue! let their logo say the
   name (the text stays for screen readers) and their mascot grows to fill the art. */
.pwa-dash .dt-go{display:grid;place-items:center;width:46px;height:46px;padding:0 !important;border-radius:50%;font-size:0 !important;letter-spacing:0}
.pwa-dash .dt-go svg{width:22px;height:22px;margin-left:3px}
.pwa-dash .dg-app .dt-go svg{margin-left:0}
.pwa-dash .dt-named .dt-text b{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.pwa-dash .a-zoom .dt-mas,.pwa-dash .a-clue .dt-mas{height:62%;right:4%}
.pwa-dash .a-zoom .dt-logo,.pwa-dash .a-clue .dt-logo{max-height:34%;margin-bottom:34%}
