/* La Chasse au vert : interface du jeu (lot E).
   Composants de la promo Mantan repris de Pile Poil (Bulle, Mot, Badge,
   Pastille, Carte, fond « Soleil »), HUD de la chasse en portrait et en
   paysage, jauge et panneau de plein, mini-carte, étiquettes, repères,
   guide, pause, ticket et secours. Tailles en rem (vérifiées à 130 %).
   Aucun attribut style= dans le HTML (CSP) : ce qui bouge à chaque image
   passe par le CSSOM (el.style.translate, rotate…). */

/* --- polices auto-hébergées, copiées dans web/commun/ par build.sh --- */
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 800;
  font-display: block;
  src: url(/commun/fonts/baloo-2-latin-800.woff2) format('woff2');
  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+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: block;
  src: url(/commun/fonts/nunito-latin-800.woff2) format('woff2');
  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+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --vert: #16a34a;
  --vert-fonce: #15803d;
  --vert-clair: #22c55e;
  --vert-nuit: #166534;
  --creme: #fffbeb;
  --encre: #1f2937;
  --orange: #f97316;
  --orange-fonce: #ea580c;
  --rouge: #ef4444;
  --rose: #fb7185;
  --bleu: #1d4ed8;
  --ciel: #7dd3fc;
  --soleil: #facc15;
  --pistolet: #374151;
  --aura-vert: #16a34a;
  --aura-orange: #d97706;
  --aura-rouge: #dc2626;
  --titre: 'Baloo 2', sans-serif;
  --texte: 'Nunito', sans-serif;
  --haut-sur: env(safe-area-inset-top, 0px);
  --bas-sur: env(safe-area-inset-bottom, 0px);
  --gauche-sur: env(safe-area-inset-left, 0px);
  --droite-sur: env(safe-area-inset-right, 0px);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  height: 100%;
  background: var(--creme);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overscroll-behavior: none;
}
body {
  margin: 0;
  min-height: 100%;
  font-family: var(--texte);
  font-weight: 800;
  color: var(--encre);
  background: var(--creme);
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
  overflow: hidden;
}
button {
  font: inherit;
  color: inherit;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid var(--bleu);
  outline-offset: 3px;
}
/* en bas : sur /f/ et /v/ sans JavaScript, la carte d'arrivée du serveur reste lisible */
.sans-js {
  position: fixed;
  z-index: 9;
  left: 16px;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  text-align: center;
}

/* --- fond « Soleil » : uni, 20 rayons de 9° tous les 18° à 55 %, fondu radial --- */
.fond {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--creme);
  --rayon: #fde68a;
  --fond-x: 50vw;
  --fond-y: 40vh;
}
.fond[data-variante='vert'] {
  background: var(--vert);
  --rayon: var(--vert-clair);
}
.fond[data-variante='rose'] {
  background: #fff1f2;
  --rayon: #fecaca;
}
.fond[data-variante='ciel'] {
  background: #e0f2fe;
  --rayon: #bae6fd;
}
.fond[data-variante='aube'] {
  background: linear-gradient(180deg, #fed7aa 0%, #fef3c7 45%, #fffbeb 100%);
}
.fond-rayons,
.fond-rayons-nuit {
  --d: calc(2.338 * min(100vw, 100vh));
  position: absolute;
  left: calc(var(--d) / -2);
  top: calc(var(--d) / -2);
  width: var(--d);
  height: var(--d);
  translate: var(--fond-x) var(--fond-y);
  background: repeating-conic-gradient(var(--rayon) 0deg 9deg, transparent 9deg 18deg);
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(circle closest-side, #000 24.21%, transparent 100%);
  mask-image: radial-gradient(circle closest-side, #000 24.21%, transparent 100%);
  animation: fond-tourne 34.2857s linear infinite;
  will-change: rotate, translate;
}
.fond-anime .fond-rayons,
.fond-anime .fond-rayons-nuit {
  animation: none;
}
.fond[data-variante='aube'] .fond-rayons {
  display: none;
}
@keyframes fond-tourne {
  from {
    rotate: 0deg;
  }
  to {
    rotate: 360deg;
  }
}
.fond-soleil {
  display: none;
  position: absolute;
  --s: calc(0.72 * min(100vw, 100vh));
  left: calc(var(--s) / -2);
  top: calc(var(--s) / -2);
  width: var(--s);
  height: var(--s);
  translate: var(--fond-x) var(--fond-y);
  border-radius: 50%;
  background: radial-gradient(circle, #fde047 0%, #fbbf24 55%, rgba(251, 191, 36, 0) 72%);
}
.fond[data-variante='aube'] .fond-soleil {
  display: block;
}
/* la nuit (§5.3) : #1f2937, rayons #fde68a à 8 %, par-dessus le jour */
.fond-nuit {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #1f2937;
  opacity: 0;
}
.fond-rayons-nuit {
  --rayon: #fde68a;
  opacity: 0.08;
}
.fond-volet {
  position: absolute;
  inset: 0;
}

/* --- calques : fond, canvas WebGL transparent, interface --- */
.scene {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  touch-action: none;
}
.ui {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.ecran {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ecran button,
.ecran a,
.ecran input,
.ecran select,
.ecran textarea,
.ecran label,
.ecran-social,
.bouton-son,
.toast,
.accroche-vivante {
  pointer-events: auto;
}
.annonce {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  margin: 0;
}

/* ===================== composants de la promo ===================== */

/* Bulle : étiquette autocollante */
.bulle {
  margin: 0;
  width: max-content;
  max-width: min(15em, calc(100vw - 32px));
  font-family: var(--titre);
  font-weight: 800;
  font-size: 1.375rem;
  line-height: 1.05;
  color: #fff;
  text-align: center;
  background: var(--vert-fonce);
  padding: 0.196em 0.478em 0.109em;
  border-radius: 0.435em;
  box-shadow: 0 0.152em 0 rgba(0, 0, 0, 0.18);
  rotate: -3deg;
}
.bulle-vert {
  background: var(--vert-fonce);
}
.bulle-rouge {
  background: #dc2626;
}
.bulle-encre {
  background: var(--encre);
}
.bulle-orange {
  background: var(--orange-fonce);
}
.bulle-rose {
  background: #e11d48;
}
.bulle-blanc {
  background: #fff;
  color: var(--vert-fonce);
}
.bulle-lien {
  display: inline-block;
  margin-top: 0.3em;
  font-family: var(--texte);
  font-size: 0.75em;
  color: #fef9c3;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* Mot : grand texte qui surgit, incliné avec le ressort */
.mot {
  margin: 0;
  font-family: var(--titre);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  text-align: center;
  text-shadow: 0 0.05em 0 #15803d22;
}
.mot-vert {
  color: var(--vert-fonce);
}
.mot-rouge {
  color: #dc2626;
}
.mot-encre {
  color: var(--encre);
}
.mot-rose {
  color: #e11d48;
}
.mot-blanc {
  color: #fff;
  text-shadow: 0 0.06em 0 rgba(0, 0, 0, 0.35);
}
.mot-petit {
  font-size: 1.375rem;
}
.mot-moyen {
  font-size: clamp(1.5rem, 7vw, 2.25rem);
  max-width: min(14em, calc(100vw - 32px));
}
.mot-grand {
  font-size: clamp(2.25rem, 11vw, 3.75rem);
  max-width: calc(100vw - 32px);
}
/* un Mot posé sur la scène garde un liseré crème pour se lire sur les rues */
.accroche-mot .mot-vert,
.accroche-mot .mot-rouge,
.accroche-mot .mot-rose {
  -webkit-text-stroke: 0.14em #fffbeb;
  paint-order: stroke fill;
}

/* Badge : jaune, capitales, oscillation 4° ± 2° */
.badge {
  display: inline-block;
  margin: 0;
  font-family: var(--titre);
  font-weight: 800;
  color: var(--encre);
  background: var(--soleil);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  line-height: 1.15;
  padding: 0.18em 0.6em 0.07em;
  border-radius: 0.54em;
  box-shadow: 0 0.14em 0 rgba(0, 0, 0, 0.15);
  rotate: 4deg;
  animation: badge-oscille 0.6283s ease-in-out infinite alternate;
}
.badge-grand {
  font-size: clamp(1.5rem, 7vw, 2.25rem);
  white-space: nowrap;
}
@keyframes badge-oscille {
  from {
    rotate: 2deg;
  }
  to {
    rotate: 6deg;
  }
}

/* Pastille : blanche, texte vert foncé, −2° */
.pastille {
  display: inline-block;
  margin: 0;
  font-family: var(--titre);
  font-weight: 800;
  line-height: 1.2;
  color: var(--vert-fonce);
  background: #fff;
  padding: 0.267em 0.667em 0.1em;
  border-radius: 0.567em;
  box-shadow: 0 0.167em 0 rgba(0, 0, 0, 0.15);
  transform: rotate(-2deg);
  white-space: nowrap;
}
button.pastille {
  border: 0;
  cursor: pointer;
}
.pastille-bouton {
  font-size: 1.0625rem;
  min-height: 2.75rem;
}
button.pastille:active {
  translate: 0 0.1em;
  box-shadow: 0 0.067em 0 rgba(0, 0, 0, 0.15);
}

/* Carte : la seule ombre floue, pour ce qui se lit */
.carte {
  margin: 0;
  background: #fff;
  color: var(--encre);
  font-family: var(--texte);
  font-weight: 800;
  line-height: 1.3;
  border-radius: 0.68em;
  padding: 0.45em 0.77em;
  box-shadow: 0 0.27em 0.68em rgba(0, 0, 0, 0.18);
}

/* boutons principaux : pleine largeur, Baloo 800, ombre dure */
.bouton-principal {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 4rem;
  margin: 0;
  padding: 0.3em 0.8em 0.1em;
  border: 0;
  border-radius: 0.7em;
  font-family: var(--titre);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.1;
  color: #fff;
  background: var(--vert-fonce);
  box-shadow: 0 0.25em 0 var(--vert-nuit);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}
.bouton-principal:active {
  translate: 0 0.18em;
  box-shadow: 0 0.07em 0 var(--vert-nuit);
}
.lien-discret {
  border: 0;
  background: none;
  padding: 0.5em 0.6em;
  min-height: 2.75rem;
  font-family: var(--texte);
  font-weight: 800;
  font-size: 0.9375rem;
  color: var(--vert-fonce);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

/* bouton son et bouton pause, 44 × 44, en haut à droite */
.bouton-son,
.bouton-rond {
  position: fixed;
  z-index: 5;
  top: calc(var(--haut-sur) + 10px);
  right: calc(var(--droite-sur) + 10px);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--vert-fonce);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.15);
  cursor: pointer;
  pointer-events: auto;
}
.bouton-pause {
  right: calc(var(--droite-sur) + 62px);
}
.bouton-rond:active,
.bouton-son:active {
  translate: 0 2px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}
.icone-son,
.icone-pause {
  width: 24px;
  height: 24px;
}

/* toasts : pastilles en bas de l'écran, 2,5 s */
.toasts {
  position: fixed;
  z-index: 6;
  left: 16px;
  right: 16px;
  bottom: calc(var(--bas-sur) + 24px);
  display: grid;
  justify-items: center;
  gap: 8px;
  pointer-events: none;
}
.toast {
  font-size: 1.0625rem;
}

/* touches du clavier, écrites seulement là où il y a une souris */
.touche {
  display: none;
  font-family: var(--texte);
  font-weight: 800;
  font-size: 0.8125rem;
  line-height: 1;
  color: var(--vert-fonce);
  text-align: center;
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
  .touche {
    display: block;
  }
}

/* ===================== écran titre ===================== */
.ecran-titre {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(var(--haut-sur) + clamp(44px, 6vh, 60px)) 16px calc(var(--bas-sur) + 10px);
  gap: clamp(6px, 1.2vh, 12px);
  overflow-y: auto;
  overscroll-behavior: contain;
  pointer-events: auto;
}
.arrivee ~ .ecran-titre {
  display: none;
}
.titre-tete {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(6px, 1.2vh, 12px);
}
.titre-nom {
  font-size: min(4rem, 11.5vw, 8vh);
  white-space: nowrap;
  color: var(--vert-fonce);
  padding-top: 0.08em;
  rotate: -4deg;
  text-shadow: 0 0.05em 0 rgba(21, 128, 61, 0.15);
}
.titre-autocollants {
  display: grid;
  justify-items: center;
}
.titre-autocollant {
  grid-area: 1 / 1;
  font-size: min(1.375rem, 5.6vw, 2.9vh);
}
.titre-mascotte {
  position: relative;
  flex: 1 1 0;
  min-height: 110px;
  width: 100%;
}
.mascotte-titre {
  position: absolute;
  inset: 0;
  margin: auto;
  height: min(300px, 100%);
  width: auto;
  max-width: 100%;
  aspect-ratio: 1;
  animation: mascotte-sautille 0.5s ease-in-out infinite alternate;
  transform-origin: 50% 90%;
}
@keyframes mascotte-sautille {
  from {
    scale: 1 1;
  }
  to {
    scale: 1.03 0.97;
  }
}
.mascotte-3d .mascotte-titre {
  visibility: hidden;
}
.slot-titre:empty {
  display: none;
}
.slot-titre {
  width: min(100%, 380px);
}
.titre-menu {
  width: min(100%, 380px);
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.4vh, 12px);
}
.titre-menu-bas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.choix {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.25rem;
  margin: 0;
  padding: 0.45em 0.9em 0.35em;
  border: 0;
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: 0 0.25rem 0 rgba(0, 0, 0, 0.15);
  cursor: pointer;
  rotate: 1deg;
}
.choix:active {
  translate: 0 0.15rem;
  box-shadow: 0 0.1rem 0 rgba(0, 0, 0, 0.15);
}
.choix-petit {
  rotate: -1deg;
}
.choix-nom {
  font-family: var(--titre);
  font-size: 1.25rem;
  line-height: 1.1;
  color: var(--vert-fonce);
}
.choix-sous {
  font-size: 0.875rem;
  line-height: 1.25;
  color: var(--encre);
  text-align: center;
}
.choix-principal {
  min-height: 4rem;
  background: var(--vert-fonce);
  box-shadow: 0 0.3rem 0 var(--vert-nuit);
  rotate: -1deg;
}
.choix-principal .choix-nom {
  font-size: 1.5rem;
  color: #fff;
}
.choix-principal .choix-sous {
  color: #dcfce7;
}
.choix-principal.attente {
  background: #4b8f61;
  box-shadow: 0 0.3rem 0 #3c7550;
  cursor: progress;
}
.titre-pied {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2px 10px;
  font-size: 0.8125rem;
  color: var(--vert-fonce);
  text-align: center;
}

/* ===================== écran de jeu ===================== */
.ecran-jeu {
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}
/* la surface reçoit les gestes (entree.js) sous tout le reste */
.jeu-surface {
  position: absolute;
  inset: 0;
  pointer-events: auto;
  touch-action: none;
}
.calque {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
/* les Bulles et les Mots passent toujours sur les étiquettes et les repères */
.calque-bulles {
  z-index: 2;
}
.calque-guide {
  z-index: 3;
}
.ecran-jeu.en-survol .jeu-hud,
.ecran-jeu.en-survol .jeu-minicarte,
.ecran-jeu.en-survol .jeu-jauge,
.ecran-jeu.en-survol .bouton-pause {
  opacity: 0;
  transition: opacity 0.3s;
}
.jeu-hud,
.jeu-minicarte,
.jeu-jauge {
  transition: opacity 0.5s;
}

/* --- HUD du haut, portrait (§7.2) --- */
.jeu-hud {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hud {
  position: absolute;
  top: calc(var(--haut-sur) + 10px);
  left: calc(var(--gauche-sur) + 10px);
  right: calc(var(--droite-sur) + 10px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas:
    'argent compteur .'
    'horloge vises .'
    'feuilles vises .';
  align-items: start;
  row-gap: 6px;
  column-gap: 6px;
}
.hud-argent {
  grid-area: argent;
  justify-self: start;
  font-size: min(1.375rem, 5.6vw);
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
}
.hud-argent-vide {
  color: #dc2626;
}
.hud-bloc-compteur {
  grid-area: compteur;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}
.hud-compteur {
  display: inline-flex;
  align-items: stretch;
  padding: 3px 4px;
  font-family: var(--titre);
  /* borné par la largeur : à 130 %, le compteur ne mord pas sur le bouton pause */
  font-size: min(1.5rem, 5.6vw);
  line-height: 1;
  color: var(--encre);
  background: #fff;
  border: 2px solid var(--encre);
  border-radius: 0.4em;
  box-shadow: 0 0.12em 0 rgba(0, 0, 0, 0.18);
  font-variant-numeric: tabular-nums;
}
.tambour {
  display: inline-block;
  width: 0.64em;
  height: 1.15em;
  overflow: hidden;
  text-align: center;
  border-right: 1px solid #e5e7eb;
}
.tambour:nth-last-child(3) {
  border-right: 0;
}
.tambour-bande {
  display: flex;
  flex-direction: column;
  will-change: translate;
}
.tambour-chiffre {
  display: block;
  height: 1.15em;
  line-height: 1.22em;
}
.tambour-zero {
  color: #d1d5db;
}
.tambour-virgule {
  width: 0.24em;
  text-align: center;
  line-height: 1.22em;
}
.tambour-dixieme {
  color: #fff;
  background: var(--vert-fonce);
  border-radius: 0.18em;
  border-right: 0;
}
.hud-compteur-km {
  font-family: var(--titre);
  font-size: 0.9375rem;
  color: var(--vert-fonce);
  padding-bottom: 2px;
  -webkit-text-stroke: 0.2em #fffbeb;
  paint-order: stroke fill;
}
.hud-vises {
  grid-area: vises;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.hud-vise {
  font-size: 0.9375rem;
}
.hud-vise-fantome {
  font-size: 0.875rem;
  color: #be123c;
  background: #ffe4e6;
  transform: rotate(1.5deg);
}
/* la mascotte maison roule en orange : sa Pastille aussi (le rose est à l'ami) */
.hud-vise-fantome[data-adversaire='mascotte'] {
  color: #c2410c;
  background: #ffedd5;
}
.hud-horloge {
  grid-area: horloge;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9375rem;
  color: var(--encre);
  font-variant-numeric: tabular-nums;
}
.hud-astre-boite,
.hud-astre {
  display: inline-block;
  width: 16px;
  height: 16px;
}
.hud-feuilles {
  grid-area: feuilles;
  justify-self: start;
  display: inline-flex;
  gap: 4px;
  padding: 5px 7px 4px;
  background: #fff;
  border-radius: 0.6rem;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.15);
  rotate: -2deg;
}
.feuille {
  width: 28px;
  height: 16px;
  overflow: visible;
}
.feuille.perdue path {
  fill: #fffbeb;
  stroke: #d6c58f;
  stroke-width: 0.45;
}
.accroche-feuille {
  z-index: 3;
}
.feuille-vol {
  position: absolute;
  left: -16px;
  top: -10px;
  width: 32px;
  height: 20px;
}

/* --- mini-carte --- */
.jeu-minicarte {
  position: absolute;
  top: calc(var(--haut-sur) + 92px);
  right: calc(var(--droite-sur) + 12px);
  width: 112px;
  height: 112px;
  pointer-events: none;
}
.minicarte {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.15);
}
.minicarte-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* --- jauge (Carte crème 358 × 96) --- */
.jeu-jauge {
  position: absolute;
  left: 50%;
  bottom: calc(var(--bas-sur) + 14px);
  translate: -50% 0;
  width: min(358px, calc(100vw - 24px));
  pointer-events: none;
}
.jauge {
  --couleur-jauge: var(--vert);
  background: var(--creme);
  border: 2px solid #fde68a;
  padding: 10px 14px 8px;
  border-radius: 1rem;
}
.jauge[data-portee='2'] {
  --couleur-jauge: var(--orange);
}
.jauge[data-portee='1'],
.jauge[data-portee='0'] {
  --couleur-jauge: var(--rouge);
}
.jauge[data-portee='0'] .jauge-niveau {
  animation: clignote 0.5s steps(2, jump-none) infinite;
}
.jauge-haut {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pistolet {
  flex: none;
  width: 16px;
  height: 24px;
  color: var(--pistolet);
}
.jauge-barre {
  position: relative;
  flex: 1;
  height: 22px;
  border-radius: 11px;
  background: #fff;
  border: 2px solid var(--encre);
}
.jauge-niveau {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 25%;
  border-radius: 9px;
  background: var(--couleur-jauge);
  transition: background-color 0.3s;
}
.jauge-graduations {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-evenly;
  pointer-events: none;
}
.jauge-graduations i {
  width: 2px;
  height: 100%;
  background: rgba(31, 41, 55, 0.25);
}
.jauge-portee {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 8px 0 0;
  min-height: 1.6rem;
}
.jauge-mascotte {
  flex: none;
  width: 30px;
  height: 30px;
  margin: -4px -2px -4px -4px;
}
.jauge[data-portee='1'] .jauge-mascotte,
.jauge[data-portee='0'] .jauge-mascotte {
  animation: mascotte-tremble 0.25s ease-in-out infinite alternate;
}
@keyframes mascotte-tremble {
  from {
    rotate: -4deg;
  }
  to {
    rotate: 4deg;
  }
}
.jauge-portee-texte {
  font-family: var(--titre);
  font-size: 1.125rem;
  line-height: 1.2;
  color: var(--encre);
}
.jauge[data-portee='1'] .jauge-portee-texte,
.jauge[data-portee='0'] .jauge-portee-texte {
  color: #b91c1c;
}
.jauge-points {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.jauge-point {
  display: inline-block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}
.jauge-point-douteux {
  outline: 2.5px solid var(--soleil);
  outline-offset: 0;
}
.jauge-plus {
  font-size: 0.8125rem;
}
.jauge-reserve {
  margin-left: auto;
  font-size: 0.8125rem;
}
.clignote {
  animation: clignote 0.5s steps(2, jump-none) 6;
}
@keyframes clignote {
  50% {
    opacity: 0.25;
  }
}
.jauge-pulse {
  animation: pulse 0.5s ease-in-out infinite alternate;
}
@keyframes pulse {
  from {
    scale: 1;
  }
  to {
    scale: 1.045;
  }
}

/* --- panneau de plein (§7.2) --- */
.jauge-en-pompe {
  border-color: var(--vert);
}
.jauge-crans {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cran-arrivee {
  position: absolute;
  top: -5px;
  bottom: -5px;
  width: 3px;
  translate: -50% 0;
  background: var(--encre);
  border-radius: 2px;
}
.cran {
  position: absolute;
  top: 50%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  font-family: var(--titre);
  line-height: 1;
}
.cran-feuille {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid var(--vert-fonce);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
}
.cran-feuille .feuille {
  width: 20px;
  height: 12px;
}
.cran-feuille.allume {
  background: #dcfce7;
  border-color: var(--vert);
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.45), 0 2px 0 rgba(0, 0, 0, 0.2);
}
.cran-gris {
  filter: grayscale(1);
  opacity: 0.55;
}
.cran-rouge {
  min-width: 26px;
  height: 22px;
  padding: 2px 4px 0;
  font-size: 0.875rem;
  color: #dc2626;
  background: #fff;
  border: 2px solid #dc2626;
  border-radius: 7px;
}
.cran-rouge.prochain {
  animation: clignote 0.5s steps(2, jump-none) infinite;
}
.cran-rouge.tombe {
  color: #fff;
  background: #dc2626;
}
.jauge-pompe {
  margin-top: 8px;
}
.plein-ligne {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  min-width: 0;
}
.badge-prix {
  flex: none;
  font-family: var(--titre);
  font-size: 1.1875rem;
  line-height: 1.15;
  color: #fff;
  padding: 0.15em 0.5em 0.02em;
  border-radius: 0.45em;
  box-shadow: 0 0.12em 0 rgba(0, 0, 0, 0.2);
  rotate: -2deg;
  font-variant-numeric: tabular-nums;
}
.plein-station {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.875rem;
}
.plein-payer {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 4px 0 0;
  font-family: var(--titre);
}
.plein-payer-libelle {
  font-size: 0.875rem;
  color: var(--vert-fonce);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.plein-montant {
  font-size: 1.5rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.plein-aide {
  margin: 2px 0 0;
  font-size: 0.8125rem;
  line-height: 1.25;
  color: #374151;
}
.jeu-plein {
  position: absolute;
  left: 50%;
  bottom: calc(var(--bas-sur) + 200px);
  translate: -50% 0;
  pointer-events: none;
}
.plein-bouton-boite {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.plein-bouton {
  position: relative;
  width: 128px;
  height: 128px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--vert);
  color: #fff;
  box-shadow: 0 8px 0 var(--vert-fonce);
  pointer-events: auto;
  touch-action: none;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  transition: translate 0.06s, box-shadow 0.06s;
}
.plein-bouton.presse {
  translate: 0 6px;
  box-shadow: 0 2px 0 var(--vert-fonce);
}
.plein-anneau {
  position: absolute;
  inset: -12px;
  width: calc(100% + 24px);
  height: calc(100% + 24px);
  rotate: -90deg;
  pointer-events: none;
}
.plein-piste {
  fill: none;
  stroke: rgba(22, 163, 74, 0.22);
  stroke-width: 5;
}
.plein-jauge {
  fill: none;
  stroke: var(--vert-clair);
  stroke-width: 5;
  stroke-linecap: round;
}
.plein-bouton-coeur {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.plein-bouton-coeur .pistolet {
  width: 22px;
  height: 32px;
  color: #fff;
}
.plein-bouton-texte {
  font-family: var(--titre);
  font-size: 1.25rem;
  line-height: 1;
}
.touche-plein {
  padding: 3px 8px 1px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
}

/* --- mention OpenStreetMap (ODbL), 11 px en bas à gauche --- */
.jeu-osm {
  position: absolute;
  left: 0;
  bottom: calc(100% + 4px);
  font-size: 11px;
  font-family: var(--texte);
  color: #374151;
  text-decoration: none;
  background: rgba(255, 251, 235, 0.8);
  padding: 1px 5px;
  border-radius: 4px;
  pointer-events: auto;
}
.jeu-repli {
  position: absolute;
  left: 50%;
  top: calc(var(--haut-sur) + 214px);
  translate: -50% 0;
  font-size: 0.8125rem;
  color: #92400e;
  background: #fef3c7;
}

/* --- carte « Ce soir à Lyon · gazole » --- */
.carte-soir {
  position: absolute;
  left: 50%;
  top: 30%;
  translate: -50% 0;
  width: min(340px, calc(100vw - 32px));
  text-align: center;
  rotate: -2deg;
  padding: 0.7em 1em;
}
.soir-titre {
  margin: 0;
  font-family: var(--titre);
  font-size: 1.5rem;
  line-height: 1.15;
  color: var(--vert-fonce);
}
.soir-lignes {
  margin: 0.3em 0 0;
  font-size: 0.9375rem;
}

/* --- étiquettes des stations --- */
.etiquette {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, calc(-100% - 6px));
  pointer-events: none;
}
.etiquette-prix {
  font-family: var(--titre);
  font-size: 1.1875rem;
  line-height: 1.15;
  color: #fff;
  padding: 0.12em 0.45em 0;
  border-radius: 0.45em;
  border: 2px solid #fff;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.etiquette-ligne {
  margin-top: 3px;
  font-size: 0.75rem;
  line-height: 1.2;
  padding: 2px 6px 1px;
  color: var(--encre);
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}
.etiquette-orange {
  color: #c2410c;
}
.etiquette-servie .etiquette-prix,
.etiquette-fermee .etiquette-prix,
.etiquette-rupture .etiquette-prix {
  font-size: 0.9375rem;
  background: var(--encre);
  rotate: -3deg;
}
.etiquette-rupture .etiquette-prix {
  background: #7f1d1d;
}

/* --- indices au bout des flèches --- */
.indice {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  font-size: 0.9375rem;
  color: var(--encre);
  transform: translate(-50%, -50%) rotate(-2deg);
  pointer-events: auto;
  font-variant-numeric: tabular-nums;
}
.indice-part::before {
  content: '';
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  margin-right: 0.3em;
  border-radius: 50%;
  background: var(--point, var(--vert));
  vertical-align: 0.02em;
}
.indice-baie .indice-part::before {
  display: none;
}
/* station au-delà de l'autonomie : grisée et barrée, ce n'est pas une promesse */
.indice-loin {
  color: #6b7280;
  text-decoration: line-through;
}
.indice-loin::before {
  background: #9ca3af;
}
.indice.choisie {
  color: #fff;
  background: var(--vert-fonce);
  outline: 3px solid #fff;
}
.indice.pulse {
  animation: pulse 0.5s ease-in-out infinite alternate;
}

/* --- repères hors écran --- */
.repere {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.repere-prix {
  position: relative;
  font-family: var(--titre);
  font-size: 1rem;
  line-height: 1.15;
  color: #fff;
  padding: 0.12em 0.45em 0;
  border-radius: 0.45em;
  border: 2px solid #fff;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.2);
  font-variant-numeric: tabular-nums;
}
.repere-distance {
  position: relative;
  margin-top: 2px;
  font-size: 0.75rem;
  padding: 1px 6px 0;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
}
.repere-pointe {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  margin-left: -8px;
  margin-top: -40px;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 12px solid var(--encre);
  transform-origin: 8px 40px;
}
.repere-tard .repere-prix {
  background: #9ca3af;
  text-decoration: line-through;
}
.repere-loin .repere-prix {
  background: #9ca3af;
}

/* --- bulles accrochées --- */
.accroche {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
}
.bulle-accrochee {
  position: absolute;
  left: 0;
  bottom: 0;
  translate: -50% 0;
  transform-origin: 50% 100%;
  font-size: 1.1875rem;
  max-width: min(13em, calc(100vw - 32px));
}
.bulle-cause {
  font-size: 1.0625rem;
  line-height: 1.15;
  max-width: min(17em, calc(100vw - 32px));
}
.bulle-guide {
  font-size: 1.3125rem;
}
.bulle-petite {
  font-size: 0.9375rem;
}
.accroche-mot .mot {
  position: absolute;
  left: 0;
  top: 0;
  translate: -50% -50%;
  white-space: nowrap;
}
.accroche-mot .mot-moyen,
.accroche-mot .mot-grand {
  white-space: normal;
  width: max-content;
}
.accroche > .badge {
  position: absolute;
  left: 0;
  bottom: 0;
  translate: -50% 0;
}

/* --- guide : main et touches dessinées --- */
.guide-main {
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 53px;
  margin-left: -14px;
  margin-top: -4px;
  pointer-events: none;
  filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.18));
}
.main-svg {
  width: 100%;
  height: 100%;
}
.main-appuie .main-svg {
  animation: main-appuie 1s ease-in-out infinite;
}
@keyframes main-appuie {
  0%,
  100% {
    translate: 0 0;
    scale: 1;
  }
  40%,
  60% {
    translate: 0 6px;
    scale: 0.92;
  }
}
.main-glisse .main-svg {
  animation: main-glisse 1.2s ease-in-out infinite;
}
@keyframes main-glisse {
  0% {
    translate: 0 0;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  70% {
    translate: var(--dx, 0) var(--dy, -80px);
    opacity: 1;
  }
  100% {
    translate: var(--dx, 0) var(--dy, -80px);
    opacity: 0;
  }
}
.guide-touche {
  position: absolute;
  left: 50%;
  bottom: calc(var(--bas-sur) + 330px);
  translate: -50% 0;
  min-width: 3rem;
  padding: 0.35em 0.7em 0.2em;
  font-family: var(--titre);
  font-size: 1.375rem;
  line-height: 1;
  text-align: center;
  color: var(--encre);
  background: #fff;
  border: 2px solid var(--encre);
  border-radius: 0.4em;
  box-shadow: 0 4px 0 var(--encre);
  animation: pulse 0.5s ease-in-out infinite alternate;
}

/* ===================== pause ===================== */
.ecran-pause {
  display: grid;
  place-items: center;
  pointer-events: auto;
  z-index: 4;
}
.pause-voile {
  position: absolute;
  inset: 0;
  background: rgba(31, 41, 55, 0.45);
}
.pause-boite {
  position: relative;
  width: min(340px, calc(100vw - 32px));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 1.2em 1.2em 1em;
  text-align: center;
}
.pause-titre {
  font-size: 2.75rem;
  rotate: -3deg;
}
.pause-sous {
  margin: 0;
}
.pause-boutons {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.pause-decompte {
  margin: 0;
  min-height: 0;
  display: grid;
}
.mot-decompte {
  grid-area: 1 / 1;
  font-size: 4.5rem;
}

/* ===================== fin : le ticket ===================== */
.ecran-fin {
  pointer-events: none;
}
.fin-boite {
  position: absolute;
  left: 50%;
  bottom: 0;
  translate: -50% 0;
  width: min(430px, 100vw);
  max-height: 70%;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 12px 14px calc(var(--bas-sur) + 16px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  pointer-events: auto;
}
.ticket {
  position: relative;
  background: #fff;
  border-radius: 0.8rem;
  padding: 16px 18px 18px;
  box-shadow: 0 0.27em 0.68em rgba(0, 0, 0, 0.18);
  rotate: -1deg;
  /* bords dentelés du ticket de caisse : les dents n'occupent qu'une bande
     de 12 px en haut et en bas, le milieu est plein ; des tuiles de 16 px sur
     toute la hauteur laissaient, une fois le ticket tourné, un fin jour entre
     chaque tuile dans Firefox (rayures sur le fond de nuit) */
  -webkit-mask: radial-gradient(circle 6px at 50% 0, transparent 97%, #000) 0 0 / 16px 12px repeat-x, radial-gradient(circle 6px at 50% 100%, transparent 97%, #000) 0 100% / 16px 12px repeat-x, linear-gradient(#000 0 0) 0 50% / 100% calc(100% - 22px) no-repeat;
  mask: radial-gradient(circle 6px at 50% 0, transparent 97%, #000) 0 0 / 16px 12px repeat-x, radial-gradient(circle 6px at 50% 100%, transparent 97%, #000) 0 100% / 16px 12px repeat-x, linear-gradient(#000 0 0) 0 50% / 100% calc(100% - 22px) no-repeat;
}
/* le détail du ticket, sous les boutons : un second coupon */
.ticket-detail {
  rotate: 0.6deg;
}
.ticket-entete {
  margin: 4px 0 0;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vert-fonce);
  text-align: center;
}
.ticket-km {
  margin: 2px 0 0;
  font-family: var(--titre);
  font-size: 4.5rem;
  line-height: 1;
  text-align: center;
  color: var(--encre);
  font-variant-numeric: tabular-nums;
}
.ticket-km-sous {
  margin: 0;
  font-size: 1rem;
  text-align: center;
  color: var(--vert-fonce);
}
.ticket-cause {
  margin: 10px 0 0;
  padding: 8px 10px;
  font-size: 0.9375rem;
  line-height: 1.3;
  background: var(--creme);
  border-radius: 0.6rem;
}
.ticket-conseil {
  margin: 6px 0 0;
  font-size: 0.875rem;
  color: var(--vert-fonce);
}
.ticket-section {
  margin: 14px 0 4px;
  padding-top: 10px;
  border-top: 2px dashed #e5e7eb;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
}
.ticket-courbe {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.courbe-svg {
  width: 100%;
  height: auto;
}
.courbe-legende {
  font-size: 0.75rem;
  color: #6b7280;
  text-align: center;
}
.ticket-pleins {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ticket-plein {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 0.8125rem;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}
.ticket-lien-station {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: #86efac;
  text-underline-offset: 2px;
}
.ticket-point {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.ticket-stats {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 2px dashed #e5e7eb;
}
.ticket-stat {
  margin: 2px 0;
  font-size: 0.8125rem;
}
.ticket-pieges {
  margin: 6px 0 0;
  padding-left: 1.1em;
  font-size: 0.8125rem;
  color: #92400e;
}
.ticket-mantan {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 2px dashed #e5e7eb;
  font-size: 0.8125rem;
}
.ticket-verte,
.ticket-tendance {
  margin: 2px 0;
}
.lien-mantan {
  display: inline-block;
  margin-top: 4px;
  color: var(--vert-fonce);
  text-underline-offset: 0.18em;
}
.slot-fin:empty {
  display: none;
}
.fin-boutons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.ticket-demain {
  margin: 0;
  text-align: center;
  font-family: var(--titre);
  font-size: 1.125rem;
  color: var(--vert-fonce);
}
.fin-boite > .lien-discret {
  align-self: center;
}

/* ===================== secours ===================== */
.ecran-secours {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px 16px;
  pointer-events: auto;
}
.secours-mascotte img {
  width: min(220px, 40vh);
  height: auto;
}
.secours-boite {
  width: min(380px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.secours-titre {
  font-size: 2.5rem;
  rotate: -3deg;
}
.secours-detail {
  margin: 0;
  font-size: 0.75rem;
  color: #6b7280;
}
.secours-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* ===================== paysage (§7.2) ===================== */
@media (orientation: landscape) {
  .hud {
    right: auto;
    left: calc(var(--gauche-sur) + 14px);
    top: calc(var(--haut-sur) + 12px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .hud-argent {
    order: 1;
  }
  .hud-bloc-compteur {
    order: 2;
  }
  .hud-vises {
    order: 3;
    align-items: flex-start;
  }
  .hud-horloge {
    order: 4;
  }
  .hud-feuilles {
    order: 5;
  }
  .jeu-minicarte {
    top: calc(var(--haut-sur) + 64px);
    right: calc(var(--droite-sur) + 14px);
    width: 160px;
    height: 160px;
  }
  .jeu-jauge {
    left: calc(var(--gauche-sur) + 14px);
    bottom: calc(var(--bas-sur) + 14px);
    translate: none;
    width: 360px;
  }
  .jeu-plein {
    left: auto;
    right: calc(var(--droite-sur) + 30px);
    bottom: calc(var(--bas-sur) + 30px);
    translate: none;
  }
  .jeu-repli {
    top: calc(var(--haut-sur) + 12px);
  }
  .guide-touche {
    left: auto;
    right: calc(var(--droite-sur) + 186px);
    bottom: calc(var(--bas-sur) + 70px);
    translate: none;
  }
  .ecran-titre {
    display: grid;
    grid-template-columns: 1fr minmax(300px, 380px);
    grid-template-rows: auto 1fr auto auto;
    grid-template-areas:
      'tete tete'
      'mascotte slot'
      'mascotte menu'
      'pied pied';
    column-gap: 24px;
    padding-top: calc(var(--haut-sur) + 20px);
    justify-items: center;
    align-items: center;
  }
  .titre-tete {
    grid-area: tete;
  }
  .titre-mascotte {
    grid-area: mascotte;
    align-self: stretch;
  }
  .slot-titre {
    grid-area: slot;
    align-self: end;
  }
  .titre-menu {
    grid-area: menu;
    align-self: start;
  }
  .titre-pied {
    grid-area: pied;
  }
  .fin-boite {
    left: auto;
    right: 0;
    top: 0;
    bottom: 0;
    translate: none;
    max-height: none;
    width: min(440px, 52vw);
    padding: calc(var(--haut-sur) + 60px) 18px calc(var(--bas-sur) + 16px);
  }
}
/* téléphone couché (844 × 390) : tout un peu plus petit */
@media (orientation: landscape) and (max-height: 500px) {
  .hud {
    gap: 5px;
  }
  .hud-argent {
    font-size: 1.125rem;
  }
  .hud-compteur {
    font-size: 1.25rem;
  }
  .hud-vise,
  .hud-horloge {
    font-size: 0.8125rem;
  }
  .hud-vise-fantome {
    font-size: 0.75rem;
  }
  .jeu-minicarte {
    width: 112px;
    height: 112px;
  }
  .jeu-jauge {
    width: 300px;
  }
  .jauge {
    padding: 7px 10px 6px;
  }
  .jauge-portee-texte {
    font-size: 1rem;
  }
  .plein-bouton {
    width: 104px;
    height: 104px;
  }
  .ecran-titre {
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
      'tete tete'
      'mascotte menu'
      'pied pied';
    padding-top: calc(var(--haut-sur) + 8px);
    row-gap: 4px;
  }
  .titre-nom {
    font-size: min(2.75rem, 11vh);
  }
  .slot-titre {
    display: none;
  }
  .ticket-km {
    font-size: 3.5rem;
  }
}

/* ===================== mouvement réduit ===================== */
@media (prefers-reduced-motion: reduce) {
  .badge,
  .mascotte-titre,
  .jauge-mascotte,
  .jauge-pulse,
  .indice.pulse,
  .guide-touche,
  .main-appuie .main-svg {
    animation: none;
  }
  .main-glisse .main-svg {
    animation-duration: 2.4s;
  }
}
