/* Route : écran de lancement et écran de partie. Toutes les règles sont sous des classes
   préfixées route-. style.css reste chargé avant (il resservira) : la classe route-corps,
   posée sur body par ces écrans, neutralise ses règles de page de l'ancien jeu. */

body.route-corps {
  position: fixed;
  inset: 0;
  overflow: hidden;
  overscroll-behavior: none;
  background: #05060f;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
body.route-corps #app {
  max-width: none;
  margin: 0;
  padding: 0;
}

/* ---- Écran de partie : une colonne centrée, toute la hauteur ---- */
.route-ecran {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: #05060f;
  color: #eaf1ff;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  touch-action: none;
  overflow: hidden;
}

/* Haut d'écran : barre compacte au-dessus du canvas (la mini-carte reste visible). */
.route-hud {
  flex: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  padding-top: max(6px, env(safe-area-inset-top));
  background: #0d1020;
  border-bottom: 1px solid #2b3060;
  touch-action: none;
}
.route-hud-infos {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-between;
  column-gap: 10px;
  row-gap: 2px;
  font: 600 13px/1.25 system-ui, -apple-system, "Segoe UI", sans-serif;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.route-hud-or { color: #ffe14d; display: inline-flex; align-items: center; gap: 4px; }
.route-hud-or::before { content: ""; width: 16px; height: 16px; background: url(assets/images/icone-or.png) center / contain no-repeat; }
/* Cinq cœurs depuis le 2026-11-16 : serrés pour tenir à côté d'un or à quatre chiffres à 360 px. */
.route-hud-case-or { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.route-hud-vies { color: #ff5d7a; font-size: 14px; line-height: 1; letter-spacing: 0; }
.route-hud-vies[hidden] { display: none; }
.route-hud-vague { color: #8a92c2; text-align: right; }
.route-hud-amie { color: #5dffb0; }
.route-hud-amie.route-hud-alerte { color: #ff5d7a; }
.route-hud-ennemie { color: #ff9db0; text-align: right; }
.route-ecran .route-hud-bouton {
  flex: none;
  min-width: 64px;
  height: 40px;
  padding: 0 8px;
  border-radius: 10px;
  border: 1px solid #2b3060;
  background: #171b33;
  color: #eaf1ff;
  font: 600 13px system-ui, -apple-system, "Segoe UI", sans-serif;
  touch-action: none;
}
@media (max-width: 380px) {
  .route-hud { gap: 4px; padding-left: 6px; padding-right: 6px; }
  .route-hud-infos { font-size: 12px; column-gap: 6px; }
  .route-ecran .route-hud-bouton { min-width: 52px; padding: 0 6px; font-size: 12px; }
}
.route-ecran .route-hud-bouton[aria-pressed="true"] { color: #8a92c2; }
.route-ecran .route-hud-bouton:disabled { opacity: 0.4; }

/* Zone de jeu : le canvas remplit tout l'espace entre le haut et la barre. */
.route-scene {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
}
.route-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
}
.route-message {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 64px);
  width: max-content;
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(13, 16, 32, 0.9);
  border: 1px solid #2b3060;
  font: 600 14px/1.3 system-ui, -apple-system, "Segoe UI", sans-serif;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.route-message.route-message-visible { opacity: 1; }

/* Barre basse : le second pouce. Une seule rangée : la bascule et les quatre cartes
   (tourelles ou vaisseaux). Toucher une carte agit tout de suite ; pas de boutons de pose
   (retour de Greg : ils rognaient trop la carte). */
.route-barre {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom));
  background: #0d1020;
  border-top: 1px solid #2b3060;
  touch-action: none;
}
.route-cartes {
  display: flex;
  gap: 8px;
}
.route-rang-cartes {
  display: flex;
  gap: 6px;
}
.route-rang-cartes .route-cartes {
  flex: 1;
  min-width: 0;
  gap: 6px;
}
.route-ecran .route-bascule {
  flex: none;
  width: 66px;
  height: 72px;
  padding: 0 2px;
  border-radius: 10px;
  border: 1px solid #b48cff;
  background: #171b33;
  color: #d7c4ff;
  font: 700 12px/1.1 system-ui, -apple-system, "Segoe UI", sans-serif;
  touch-action: none;
}
.route-ecran .route-bascule:active { background: #2e2452; }
/* La bascule prend de la place aux cartes : marges latérales réduites, et police plus
   petite sous 380 px pour que « Chasseur » ou « Croiseur » tiennent. */
.route-ecran .route-rang-cartes .route-carte { padding: 3px 2px 4px; }
/* Mode Vaisseaux : accent violet sur la bascule et les cartes. */
.route-barre-vaisseaux .route-cartes {
  border-radius: 12px;
  box-shadow: 0 0 0 2px #b48cff;
}
.route-ecran .route-barre-vaisseaux .route-bascule {
  background: #b48cff;
  color: #0d1020;
}
.route-ecran .route-carte[hidden] { display: none; }
/* Délai d'envoi : carte atténuée, barre en bas qui se vide (scaleX piloté par ecran.js). */
.route-ecran .route-carte.route-carte-vaisseau { position: relative; overflow: hidden; }
.route-ecran .route-carte.route-carte-attente { opacity: 0.6; }
.route-carte-delai {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: #b48cff;
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}
.route-ecran .route-carte {
  flex: 1;
  min-width: 0;
  height: 72px;
  padding: 3px 4px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 1px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--route-teinte, #5dffb0) 55%, #2b3060);
  background:
    radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--route-teinte, #5dffb0) 30%, transparent), transparent 70%),
    linear-gradient(#222a52, #131730);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 3px 0 #070914;
  color: #eaf1ff;
  touch-action: none;
  transition: transform 0.06s;
}
.route-carte-image {
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.5));
}
.route-carte-nom {
  font: 600 11px/1.1 system-ui, -apple-system, "Segoe UI", sans-serif;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #c9d1ff;
}
.route-carte-cout {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font: 700 12px/1 system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #ffe14d;
  font-variant-numeric: tabular-nums;
}
/* Pièce d'or devant le prix. */
.route-carte-cout::before {
  content: "";
  width: 13px;
  height: 13px;
  background: url(assets/images/icone-or.png) center / contain no-repeat;
}
.route-ecran .route-carte.route-carte-chere { opacity: 1; filter: grayscale(0.85) brightness(0.62); }
.route-ecran .route-carte.route-carte-chere .route-carte-cout { color: #ff5d7a; }

.route-ecran .route-carte:active { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 1px 0 #070914; }

/* Voiles : pause et fin de partie. */
.route-voile {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  background: rgba(5, 6, 15, 0.88);
  text-align: center;
  touch-action: none;
  z-index: 2;
}
.route-voile[hidden] { display: none; }
.route-voile-titre { margin: 0; font-size: 32px; }
.route-voile-victoire .route-voile-titre { color: #5dffb0; }
.route-voile-defaite .route-voile-titre { color: #ff5d7a; }
.route-voile-texte { margin: 0; max-width: 320px; color: #8a92c2; line-height: 1.4; }
.route-voile-boutons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.route-ecran .route-voile-bouton {
  min-width: 140px;
  min-height: 56px;
  padding: 12px 24px;
  border-radius: 12px;
  border: 1px solid #5dffb0;
  background: #171b33;
  color: #5dffb0;
  font: 600 17px system-ui, -apple-system, "Segoe UI", sans-serif;
  touch-action: manipulation;
}

/* ---- Écran de lancement ---- */
.route-lancement {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  overflow-y: auto;
  overscroll-behavior: none;
  touch-action: pan-y;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 16px;
  padding-top: max(28px, env(safe-area-inset-top));
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
  color: #eaf1ff;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background:
    linear-gradient(rgba(5, 6, 15, 0.25), transparent 30%, transparent 48%, rgba(5, 6, 15, 0.9) 74%, #05060f),
    url(assets/images/accueil.jpg) center top / cover #05060f;
}
.route-lancement-titre {
  margin: 0;
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  letter-spacing: 0.01em;
  background: linear-gradient(#ffffff 20%, #9fffd2 55%, #3fd0ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 0 #0b1a3a) drop-shadow(0 0 18px rgba(93, 255, 176, 0.45));
}
.route-lancement-sous-titre { margin: 8px 0 0; color: #ffe14d; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; font-size: 13px; }
.route-lancement-scene { flex: 1 1 200px; min-height: 200px; }
.route-lancement-formulaire {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.route-lancement-etiquette {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #c9d1ff;
  font-weight: 600;
  font-size: 14px;
}
.route-lancement .route-lancement-champ {
  height: 48px;
  padding: 0 12px;
  font-size: 18px;
  border-radius: 12px;
  border: 1px solid #3d4a8f;
  background: rgba(13, 16, 32, 0.85);
  color: #eaf1ff;
  user-select: text;
  -webkit-user-select: text;
}
.route-lancement-aide {
  border-radius: 12px;
  border: 1px solid #2b3060;
  background: rgba(13, 16, 32, 0.8);
  padding: 0 14px;
}
.route-lancement-aide summary { min-height: 48px; display: flex; align-items: center; color: #c9d1ff; font-weight: 700; cursor: pointer; }
.route-lancement-regles {
  margin: 0 0 14px;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  line-height: 1.4;
  font-size: 14px;
}
.route-lancement .route-lancement-jouer,
.route-campagne .route-campagne-jouer {
  min-height: 64px;
  border-radius: 16px;
  border: 0;
  background: linear-gradient(#7dffc4, #1fbf7c);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.55), 0 5px 0 #0c6b45, 0 10px 18px rgba(31, 191, 124, 0.35);
  color: #04261a;
  font: 900 22px system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  touch-action: manipulation;
}
.route-lancement .route-lancement-jouer:active,
.route-campagne .route-campagne-jouer:not(:disabled):active { translate: 0 4px; box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.55), 0 1px 0 #0c6b45; }
@media (prefers-reduced-motion: reduce) {
  .route-campagne-noeud-suivant .route-campagne-astre { animation: none; }
}

/* Fin de partie : lignes de bilan de la campagne (étoiles, tourelle gagnée). */
.route-voile-suite { display: flex; flex-direction: column; gap: 6px; max-width: 320px; }

/* ---- Panneau du voile, et fin de partie ---- */
.route-voile-panneau {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 340px;
  max-height: 100%;
  overflow-y: auto;
}
.route-fin .route-voile-panneau {
  padding: 18px 16px 16px;
  border-radius: 20px;
  border: 1px solid #2b3060;
  background: linear-gradient(180deg, #1b2040 0%, #0d1020 100%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: route-fin-entree 0.35s cubic-bezier(0.2, 1.3, 0.4, 1) both;
}
.route-fin.route-voile-victoire .route-voile-panneau { border-color: rgba(93, 255, 176, 0.55); }
.route-fin.route-voile-defaite .route-voile-panneau { border-color: rgba(255, 93, 122, 0.55); }
.route-fin-astre:empty, .route-fin-etoiles:empty, .route-fin-stats:empty { display: none; }
.route-fin-astre { position: relative; width: 96px; height: 96px; flex: none; }
.route-fin-astre::before {
  content: "";
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(93, 255, 176, 0.45) 0%, rgba(93, 255, 176, 0) 68%);
}
.route-voile-defaite .route-fin-astre::before { background: radial-gradient(circle, rgba(255, 93, 122, 0.4) 0%, rgba(255, 93, 122, 0) 68%); }
.route-fin-astre img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.route-voile-defaite .route-fin-astre img { filter: saturate(0.45) brightness(0.75); }
.route-fin .route-voile-titre { font-size: 36px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5); }
.route-fin-etoiles { display: flex; align-items: flex-end; gap: 6px; }
.route-fin-etoile { width: 52px; height: 52px; object-fit: contain; filter: grayscale(1) brightness(0.45); }
.route-fin-etoile:nth-child(2) { width: 64px; height: 64px; }
.route-fin-etoile-gagnee { filter: drop-shadow(0 0 10px rgba(255, 225, 77, 0.7)); animation: route-fin-etoile 0.45s cubic-bezier(0.2, 1.6, 0.4, 1) both; }
.route-fin-stats { display: flex; gap: 8px; width: 100%; }
.route-fin-stat { flex: 1; padding: 8px 4px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); border: 1px solid #2b3060; }
.route-fin-stat-valeur { color: #eaf1ff; font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; }
.route-fin-stat-nom { color: #8a92c2; font-size: 12px; }
.route-fin .route-voile-ligne { font-size: 14px; }
.route-fin .route-voile-boutons { width: 100%; flex-direction: column; flex-wrap: nowrap; gap: 8px; }
.route-fin .route-voile-bouton { width: 100%; min-height: 52px; border-color: #2b3060; color: #8a92c2; background: transparent; }
.route-fin .route-voile-bouton.route-voile-bouton-premier {
  min-height: 60px;
  border: 0;
  color: #06231a;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #7dffc2 0%, #2fd58a 100%);
  box-shadow: 0 4px 0 #14804f, 0 8px 18px rgba(47, 213, 138, 0.35);
}
.route-fin .route-voile-bouton.route-voile-bouton-premier:active { transform: translateY(3px); box-shadow: 0 1px 0 #14804f; }
@keyframes route-fin-entree { from { opacity: 0; transform: translateY(24px) scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes route-fin-etoile { from { opacity: 0; transform: scale(2.4) rotate(-30deg); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .route-fin .route-voile-panneau, .route-fin-etoile-gagnee { animation: none; }
}
.route-voile-suite:empty { display: none; }
.route-voile-ligne { margin: 0; color: #eaf1ff; line-height: 1.4; }

/* ---- Carte de la campagne : planètes, escouade, tourelles ---- */
.route-campagne {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(rgba(5, 6, 15, 0.8), rgba(5, 6, 15, 0.8)),
    url(assets/images/decor.jpg) center top / 520px auto;
  color: #eaf1ff;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
.route-campagne-tete {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  padding-top: max(10px, env(safe-area-inset-top));
  background: #0d1020;
}
.route-campagne-titre { flex: 1; min-width: 0; font-weight: 700; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.route-campagne-etoiles { flex: none; color: #ffe14d; font-weight: 700; font-variant-numeric: tabular-nums; }
.route-campagne .route-campagne-retour {
  flex: none;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid #2b3060;
  background: #171b33;
  color: #8a92c2;
  font: 600 14px system-ui, -apple-system, "Segoe UI", sans-serif;
  touch-action: manipulation;
}
.route-campagne-onglets {
  flex: none;
  display: flex;
  gap: 4px;
  padding: 0 12px 10px;
  background: #0d1020;
  border-bottom: 1px solid #2b3060;
}
.route-campagne .route-campagne-onglet {
  flex: 1;
  min-height: 48px;
  border-radius: 10px;
  border: 1px solid #2b3060;
  background: #171b33;
  color: #8a92c2;
  font: 700 12.5px system-ui, -apple-system, "Segoe UI", sans-serif;
  padding: 0 1px;
  min-width: 0;
  touch-action: manipulation;
}
.route-campagne-vies-etat.route-campagne-magasin-cristaux { color: #7fd4ff; }
.route-campagne .route-campagne-onglet[aria-pressed="true"] { border-color: #5dffb0; color: #5dffb0; background: #16263a; }
.route-campagne-corps {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  padding: 12px;
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.route-campagne-aide { margin: 0; color: #8a92c2; line-height: 1.4; font-size: 14px; }
.route-campagne-monde { margin: 10px 0 2px; color: #c9d1ff; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.route-campagne-monde:first-child { margin-top: 0; }
.route-campagne-liste { display: flex; flex-direction: column; gap: 8px; }
.route-campagne .route-campagne-tourelle {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.route-campagne-tourelle-texte { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.route-campagne-tourelle-texte .route-campagne-planete-nom { flex: 1; min-width: 0; font-size: 16px; }
.route-campagne-vignette {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--route-teinte, #5dffb0) 40%, #171b33), #0d1020);
  display: grid;
  place-items: center;
}
.route-campagne-vignette img { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.5)); }
.route-campagne .route-campagne-tourelle:disabled .route-campagne-vignette img { filter: grayscale(1) brightness(0.6); }
.route-campagne .route-campagne-planete { flex-direction: column; gap: 4px; }
.route-campagne .route-campagne-planete,
.route-campagne .route-campagne-tourelle {
  min-height: 60px;
  padding: 10px 12px;
  display: flex;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid #2b3060;
  background: #171b33;
  color: #eaf1ff;
  text-align: left;
  font: inherit;
  touch-action: manipulation;
}
.route-campagne .route-campagne-planete:not(:disabled) { border-color: #3d4a8f; }
.route-campagne .route-campagne-planete:not(:disabled):active,
.route-campagne .route-campagne-tourelle:not(:disabled):active { background: #24306a; }
.route-campagne .route-campagne-planete:disabled,
.route-campagne .route-campagne-tourelle:disabled { opacity: 0.5; }
.route-campagne-planete-haut { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.route-campagne-planete-nom { font-weight: 700; font-size: 17px; }
.route-campagne-planete-etoiles { flex: none; color: #ffe14d; font-size: 18px; letter-spacing: 0.08em; }
.route-campagne .route-campagne-planete:disabled .route-campagne-planete-etoiles { color: #8a92c2; font-size: 13px; letter-spacing: 0; }
.route-campagne-planete-note { color: #8a92c2; font-size: 13px; line-height: 1.35; }
.route-campagne .route-campagne-tourelle { border-left: 4px solid var(--route-teinte, #5dffb0); }
.route-campagne .route-campagne-tourelle[aria-pressed="true"] { border-color: var(--route-teinte, #5dffb0); background: #1d2750; opacity: 1; }
.route-campagne-tourelle-etat { flex: none; color: #8a92c2; font-size: 13px; font-weight: 600; }
.route-campagne .route-campagne-tourelle[aria-pressed="true"] .route-campagne-tourelle-etat { color: #5dffb0; }
.route-campagne-amelioration {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #2b3060;
  background: #171b33;
}
.route-campagne-amelioration-texte { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.route-campagne-amelioration-nom { font-weight: 700; font-size: 16px; }
.route-campagne-amelioration-niveau { color: #8a92c2; font-size: 13px; }
.route-campagne-amelioration-valeur { color: #5dffb0; font-size: 13px; font-variant-numeric: tabular-nums; }
.route-campagne .route-campagne-acheter {
  flex: none;
  min-width: 118px;
  min-height: 52px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid #ffe14d;
  background: #171b33;
  color: #ffe14d;
  font: 700 14px system-ui, -apple-system, "Segoe UI", sans-serif;
  touch-action: manipulation;
}
.route-campagne .route-campagne-acheter:disabled { border-color: #2b3060; color: #8a92c2; opacity: 0.6; }
.route-campagne .route-campagne-rendre {
  min-height: 48px;
  border-radius: 10px;
  border: 1px solid #2b3060;
  background: transparent;
  color: #8a92c2;
  font: 600 14px system-ui, -apple-system, "Segoe UI", sans-serif;
  touch-action: manipulation;
}
.route-campagne .route-campagne-rendre:disabled { opacity: 0.4; }
.route-campagne-vies {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #2b3060;
  background: #171b33;
}
.route-campagne-vies-etat { font-weight: 700; font-size: 16px; color: #ff5d7a; font-variant-numeric: tabular-nums; }
.route-campagne-vies-attente { color: #8a92c2; font-size: 13px; font-variant-numeric: tabular-nums; }
.route-campagne-vies-boutons { display: flex; gap: 8px; }
.route-campagne-vies-boutons .route-campagne-acheter { flex: 1; min-width: 0; }
.route-campagne .route-campagne-acheter.route-campagne-cristal { border-color: #7fd4ff; color: #7fd4ff; }
.route-campagne .route-campagne-acheter.route-campagne-cristal:disabled { border-color: #2b3060; color: #8a92c2; }
.route-campagne-pub {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  background: #05060f;
  color: #eaf1ff;
  text-align: center;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
.route-campagne-pub-titre { font-weight: 700; font-size: 20px; }
.route-campagne-pub-texte { color: #8a92c2; font-size: 14px; line-height: 1.4; max-width: 300px; }
.route-campagne-pub-compte { font-weight: 700; font-size: 40px; color: #ffe14d; font-variant-numeric: tabular-nums; }
.route-campagne-pub-panneau {
  display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; max-width: 320px;
  padding: 22px 18px; border-radius: 20px; border: 1px solid #2b3060;
  background: linear-gradient(180deg, #1b2040 0%, #0d1020 100%); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}
@property --route-pub-tour { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.route-campagne-pub-anneau {
  width: 112px; height: 112px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle, #0d1020 0 60%, transparent 62%), conic-gradient(#ffe14d var(--route-pub-tour), #262b52 0);
  animation: route-pub-tour var(--route-pub-duree, 5s) linear forwards;
}
@keyframes route-pub-tour { to { --route-pub-tour: 360deg; } }
.route-campagne-pub-lot {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px;
  background: rgba(93, 255, 176, 0.12); border: 1px solid rgba(93, 255, 176, 0.5); color: #5dffb0; font-weight: 800; font-size: 18px;
}
.route-campagne-pub-lot .route-campagne-icone { width: 24px; height: 24px; vertical-align: 0; }
.route-campagne-pub-note { color: #5f6694; font-size: 12px; line-height: 1.4; }

/* Bouton du pouvoir : rond, posé sur la scène au-dessus de la barre, à droite (à côté de
   la mini-carte). Le fond monte avec la charge ; plein, il s'allume. */
.route-ecran .route-pouvoir {
  --route-charge: 0%;
  position: absolute;
  right: 22px;
  bottom: 12px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid #5a5f8a;
  background: linear-gradient(to top, rgba(255, 209, 102, 0.55) var(--route-charge), rgba(13, 16, 32, 0.85) var(--route-charge));
  color: #aab1d6;
  font: 700 13px/1 system-ui, -apple-system, "Segoe UI", sans-serif;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.route-ecran .route-pouvoir[hidden] { display: none; }
.route-ecran .route-pouvoir.route-pouvoir-pret {
  border-color: #ffd166;
  background: #ffd166;
  color: #1a1400;
  box-shadow: 0 0 14px rgba(255, 209, 102, 0.7);
}

/* Monde 2, lot 4 : bouton de niveau à côté d'une tourelle, quêtes. */
.route-campagne-rang { display: flex; gap: 6px; align-items: stretch; }
.route-campagne-rang > .route-campagne-tourelle { flex: 1; min-width: 0; }
.route-campagne .route-campagne-niveau { flex: none; width: 84px; min-width: 0; padding: 0 4px; font-size: 13px; white-space: pre-line; line-height: 1.35; }
.route-campagne-quete {
  display: flex; gap: 10px; align-items: center; justify-content: space-between;
  padding: 12px; border-radius: 10px; border: 1px solid #2b3060; background: #171b33;
}
.route-campagne-quete-texte { color: #dfe4ff; font-size: 14px; line-height: 1.35; }
.route-campagne-quete-gain { flex: none; color: #7fd6ff; font-size: 13px; font-weight: 700; }
.route-campagne-quete-faite { opacity: 0.6; }
.route-campagne-quete-faite .route-campagne-quete-gain { color: #5dffb0; }

/* ---- Onglet Chasseur : le hangar, les crans de niveau, les prix avec icône ---- */
.route-campagne-icone { width: 16px; height: 16px; object-fit: contain; vertical-align: -3px; }
.route-campagne-hangar {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px;
  flex: none; padding: 22px 12px 14px; border-radius: 16px; border: 1px solid #2b3060; overflow: hidden;
  background: linear-gradient(180deg, rgba(13, 16, 32, 0.25) 0%, rgba(13, 16, 32, 0.92) 100%), var(--route-hangar, none) center / cover, #0d1020;
}
.route-campagne-hangar::before {
  content: ""; position: absolute; left: 50%; top: 18px; width: 170px; height: 170px; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(circle, rgba(93, 255, 176, 0.28) 0%, rgba(93, 255, 176, 0) 68%);
}
.route-campagne-skin.route-campagne-skin-image.route-campagne-hangar-chasseur {
  width: 128px; height: 128px; margin: 0; background: var(--route-coque) center / 120px no-repeat;
  filter: drop-shadow(0 14px 12px rgba(0, 0, 0, 0.55)); animation: route-hangar-flotte 3.2s ease-in-out infinite;
}
.route-campagne-skin.route-campagne-skin-image.route-campagne-hangar-chasseur::after {
  -webkit-mask-size: 120px; mask-size: 120px;
}
.route-campagne-hangar-texte { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.route-campagne-hangar-nom { font-weight: 800; font-size: 19px; letter-spacing: 0.03em; color: #eaf1ff; }
.route-campagne-hangar-solde {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  background: rgba(255, 225, 77, 0.12); border: 1px solid rgba(255, 225, 77, 0.45); color: #ffe14d; font-weight: 700; font-size: 14px;
}
.route-campagne-hangar-solde .route-campagne-icone { width: 18px; height: 18px; vertical-align: 0; }
@keyframes route-hangar-flotte { 0%, 100% { transform: translateY(-4px); } 50% { transform: translateY(5px); } }
.route-campagne-crans { display: flex; gap: 3px; margin: 2px 0; }
.route-campagne-cran { width: 13px; height: 7px; border-radius: 4px; background: #262b52; box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.4); }
.route-campagne-crans { align-items: center; }
.route-campagne-crans .route-campagne-icone { width: 12px; height: 12px; margin: 0 1px; opacity: 0.85; }
.route-campagne-cran-ferme { background: transparent; box-shadow: none; border: 1px dashed #4a5190; box-sizing: border-box; }
.route-campagne-cran-plein { background: linear-gradient(180deg, #8dffca, #2fd58a); box-shadow: 0 0 6px rgba(93, 255, 176, 0.55); }
.route-campagne .route-campagne-acheter.route-campagne-prix { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 104px; }
.route-campagne-prix-montant { display: inline-flex; align-items: center; gap: 4px; font-size: 15px; font-variant-numeric: tabular-nums; }
.route-campagne-prix-montant .route-campagne-icone { vertical-align: 0; }
.route-campagne .route-campagne-acheter:disabled .route-campagne-icone { filter: grayscale(1) brightness(0.7); }
.route-campagne-amelioration-choisie { border-color: rgba(93, 255, 176, 0.6); background: #16263a; }

/* ---- Onglet Quêtes : compte, jauges, coche ---- */
.route-campagne-quetes-tete { display: flex; justify-content: space-between; align-items: baseline; }
.route-campagne-quetes-compte { color: #7fd6ff; letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums; }
.route-campagne-jauge { flex: 1; height: 6px; border-radius: 3px; background: #262b52; overflow: hidden; }
.route-campagne-jauge-plein { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #4aa8ff, #7fd6ff); }
.route-campagne-jauge-quetes { flex: none; margin-top: -4px; }
.route-campagne-quete-corps { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.route-campagne-quete-suivi { display: flex; align-items: center; gap: 8px; }
.route-campagne-quete-nombre { flex: none; color: #8a92c2; font-size: 12px; font-variant-numeric: tabular-nums; }
.route-campagne-quete-coche {
  flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #3a4180;
  display: flex; align-items: center; justify-content: center; color: #06231a; font-weight: 800; font-size: 14px;
}
.route-campagne-quete-faite .route-campagne-quete-coche { border-color: #5dffb0; background: #5dffb0; }
.route-campagne-quete-gain { display: inline-flex; align-items: center; gap: 3px; padding: 4px 8px; border-radius: 999px; background: rgba(127, 214, 255, 0.1); }
.route-campagne-quete-difficile { border-color: rgba(255, 190, 77, 0.45); background: linear-gradient(90deg, rgba(255, 190, 77, 0.1), #171b33 45%); }
.route-campagne-quete-difficile .route-campagne-quete-coche { border-color: rgba(255, 190, 77, 0.7); }
.route-campagne-quete-faite.route-campagne-quete-difficile .route-campagne-quete-coche { border-color: #5dffb0; }
@media (prefers-reduced-motion: reduce) { .route-campagne-skin.route-campagne-hangar-chasseur { animation: none; } }

/* Apparences de l'escouade : pastille de couleur (coque, réacteur). */
.route-campagne-skin {
  flex: none; width: 34px; height: 34px; border-radius: 50%; margin-right: 10px;
  background: radial-gradient(circle at 50% 78%, var(--route-feu, #6ec8ff) 0 22%, transparent 24%), var(--route-teinte, #5dffb0);
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.route-campagne-skin.route-campagne-skin-image {
  position: relative; width: 52px; height: 52px; border-radius: 12px; border: 0;
  background: var(--route-coque) center / 48px no-repeat, radial-gradient(circle at 50% 35%, #26305e, #0d1020);
}
/* La teinte de l'apparence, multipliée sur la coque blanche, limitée à sa silhouette. */
.route-campagne-skin.route-campagne-skin-image::after {
  content: ""; position: absolute; inset: 0; background: var(--route-teinte, #5dffb0); mix-blend-mode: multiply;
  -webkit-mask: var(--route-coque) center / 48px no-repeat; mask: var(--route-coque) center / 48px no-repeat;
}

/* ---- Onglet Planètes : le chemin des planètes et la fiche de la planète choisie ---- */
.route-campagne-monde-chemin { text-align: center; }
.route-campagne-chemin { position: relative; flex: none; }
.route-campagne-trait { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.route-campagne-trait path {
  fill: none; stroke: #4a5390; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2 12;
  vector-effect: non-scaling-stroke;
}
.route-campagne-trait path.route-campagne-trait-ouvert { stroke: #ffe14d; }
.route-campagne .route-campagne-noeud {
  position: absolute;
  translate: -50% -38px;
  width: 116px;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  border: 0;
  background: none;
  color: #eaf1ff;
  font: inherit;
  touch-action: manipulation;
}
.route-campagne-astre {
  --h: var(--route-teinte-planete, 200);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 26%, rgba(255, 255, 255, 0.75), transparent 26%),
    repeating-linear-gradient(-18deg, transparent 0 9px, hsl(calc(var(--h) + 40) 70% 62% / 0.35) 9px 15px),
    radial-gradient(circle at 34% 30%, hsl(var(--h) 85% 70%), hsl(var(--h) 70% 45%) 52%, hsl(calc(var(--h) + 25) 65% 16%) 100%);
  background-size: cover;
  background-position: center;
  box-shadow: inset -6px -8px 14px rgba(0, 0, 0, 0.45), 0 5px 10px rgba(0, 0, 0, 0.6);
}
.route-campagne-astre-numero { font: 900 24px/1 system-ui, -apple-system, "Segoe UI", sans-serif; color: #fff; text-shadow: 0 2px 0 rgba(0, 0, 0, 0.55), 0 0 6px rgba(0, 0, 0, 0.6); }
.route-campagne-noeud-boss .route-campagne-astre { width: 80px; height: 80px; box-shadow: inset -6px -8px 14px rgba(0, 0, 0, 0.45), 0 0 0 3px #ff5d7a, 0 5px 10px rgba(0, 0, 0, 0.6); }
.route-campagne-noeud-boss { translate: -50% -44px; }
.route-campagne-noeud-etoiles { min-height: 16px; color: #ffe14d; font-size: 15px; letter-spacing: 0.08em; line-height: 1.1; text-shadow: 0 1px 2px #000; }
.route-campagne-noeud-nom { font-size: 12px; font-weight: 700; line-height: 1.15; color: #c9d1ff; text-align: center; text-shadow: 0 1px 3px #000; }
.route-campagne-noeud-ferme .route-campagne-astre:not(.route-campagne-astre-image) { filter: grayscale(1) brightness(0.5); }
.route-campagne-noeud-ferme .route-campagne-astre:not(.route-campagne-astre-image) .route-campagne-astre-verrou { filter: brightness(1.9); }
.route-campagne-noeud-ferme .route-campagne-astre-image > img:first-child { filter: grayscale(1) brightness(0.42); }
.route-campagne-noeud-ferme .route-campagne-astre-numero { font-size: 20px; }
.route-campagne-noeud-ferme .route-campagne-noeud-nom { color: #6a719c; }
.route-campagne-noeud[aria-pressed="true"] .route-campagne-astre { outline: 3px solid #5dffb0; outline-offset: 4px; }
.route-campagne-noeud[aria-pressed="true"] .route-campagne-noeud-nom { color: #5dffb0; }
.route-campagne-noeud-suivant .route-campagne-astre { animation: route-appel 1.6s ease-in-out infinite; }
@keyframes route-appel {
  0%, 100% { scale: 1; }
  50% { scale: 1.09; }
}
.route-campagne-fiche {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: #0d1020;
  border-top: 1px solid #2b3060;
}
.route-campagne-fiche[hidden] { display: none; }
.route-campagne-fiche-texte { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.route-campagne .route-campagne-jouer { flex: none; min-width: 112px; min-height: 58px; padding: 0 14px; font-size: 18px; }
.route-campagne .route-campagne-jouer:disabled { filter: grayscale(1) brightness(0.6); font-size: 13px; }

/* Images des menus : planètes peintes, icônes. */
.route-campagne-astre { position: relative; }
.route-campagne-astre.route-campagne-astre-image { background: none; box-shadow: none; }
.route-campagne-astre-image > img:first-child { position: absolute; inset: -8px; width: calc(100% + 16px); height: calc(100% + 16px); object-fit: contain; filter: drop-shadow(0 5px 6px rgba(0, 0, 0, 0.6)); }
.route-campagne-noeud-boss .route-campagne-astre.route-campagne-astre-image { box-shadow: 0 0 0 3px #ff5d7a; }
.route-campagne-astre-numero, .route-campagne-astre-verrou { position: relative; }
.route-campagne-astre-verrou { width: 30px; height: 30px; }
.route-campagne-etoiles { display: flex; gap: 8px; }
.route-campagne-jeton { display: inline-flex; align-items: center; gap: 3px; color: #eaf1ff; }
.route-campagne-jeton img { width: 18px; height: 18px; }
.route-ecran .route-pouvoir::after { content: ""; position: absolute; inset: 9px; background: url(assets/images/icone-bombe.png) center / contain no-repeat; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.5)); }
/* Pictogrammes des autres pouvoirs, dessinés en CSS (pas d'image) : --picto sert aussi aux
   cartes de l'onglet Chasseur (.route-campagne-picto). Onde : anneaux ; Impulsion : éclair ;
   Rayon : trait vertical ; Renforts : trois points (trois Frelons). */
.route-pouvoir-onde, .route-picto-onde { --picto: radial-gradient(circle, #eaf6ff 0 12%, transparent 13% 30%, #bfe9ff 31% 40%, transparent 41% 58%, #8fd0ff 59% 66%, transparent 67%); }
.route-pouvoir-impulsion, .route-picto-impulsion { --picto: conic-gradient(from 0deg at 50% 50%, transparent 0 100%); --forme: polygon(58% 0, 18% 56%, 46% 56%, 38% 100%, 84% 40%, 54% 40%); --encre: #7de3ff; }
.route-pouvoir-rayon, .route-picto-rayon { --picto: linear-gradient(to right, transparent 0 34%, #ffd166 34% 42%, #fff7dc 42% 58%, #ffd166 58% 66%, transparent 66%); }
.route-pouvoir-renforts, .route-picto-renforts { --picto: radial-gradient(circle at 50% 24%, #eafff0 0 6%, #5fe08a 7% 17%, transparent 18%), radial-gradient(circle at 24% 72%, #eafff0 0 6%, #5fe08a 7% 17%, transparent 18%), radial-gradient(circle at 76% 72%, #eafff0 0 6%, #5fe08a 7% 17%, transparent 18%); }
.route-ecran .route-pouvoir.route-pouvoir-onde::after,
.route-ecran .route-pouvoir.route-pouvoir-renforts::after,
.route-ecran .route-pouvoir.route-pouvoir-rayon::after { background: var(--picto) center / contain no-repeat; }
.route-ecran .route-pouvoir.route-pouvoir-impulsion::after { background: var(--encre); clip-path: var(--forme); }
.route-ecran .route-pouvoir.route-pouvoir-pret.route-pouvoir-impulsion::after { background: #1a1400; }
.route-ecran .route-pouvoir.route-pouvoir-refuse { border-color: #5a5f8a; background: #3a3d57; box-shadow: none; opacity: 0.7; }

/* Tutoriel de la planète 1 : la consigne en cours au-dessus de la barre, la cible qui
   clignote, et un rond qui montre le geste du pouce. */
.route-tuto {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(13, 16, 32, 0.94);
  border: 2px solid #5dffb0;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.5);
  font: 600 15px/1.35 system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #f2f5ff;
  pointer-events: none;
  animation: route-tuto-entree 0.25s ease-out;
}
.route-tuto[hidden], .route-tuto-pouce[hidden] { display: none; }
.route-tuto-pas {
  flex: none;
  padding: 3px 8px;
  border-radius: 999px;
  background: #5dffb0;
  color: #0d1020;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
@keyframes route-tuto-entree { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.route-ecran .route-tuto-cible {
  outline: 3px solid #5dffb0;
  outline-offset: 2px;
  animation: route-tuto-appel 0.9s ease-in-out infinite;
  z-index: 1;
}
@keyframes route-tuto-appel {
  0%, 100% { box-shadow: 0 0 0 0 rgba(93, 255, 176, 0.75); scale: 1; }
  50% { box-shadow: 0 0 0 10px rgba(93, 255, 176, 0); scale: 1.05; }
}
.route-tuto-pouce {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 54px;
  height: 54px;
  margin-left: -27px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.9);
  background: rgba(93, 255, 176, 0.28);
  pointer-events: none;
  animation: route-tuto-glisse 1.8s ease-in-out infinite;
}
@keyframes route-tuto-glisse {
  0% { transform: translate(0, 40px) scale(1.15); opacity: 0; }
  15% { transform: translate(0, 40px) scale(1); opacity: 1; }
  70% { transform: translate(34px, -60px) scale(1); opacity: 1; }
  100% { transform: translate(34px, -60px) scale(1.1); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .route-tuto, .route-ecran .route-tuto-cible, .route-tuto-pouce { animation: none; }
}

/* ---- Calendrier de connexion ---- */
.route-campagne-serie { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 8px; }
.route-campagne-serie-case { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; border-radius: 8px; background: #161a3a; border: 1px solid #2a3063; }
.route-campagne-serie-nom { font-size: 10px; color: #8f97c9; white-space: nowrap; }
.route-campagne-serie-lot { display: inline-flex; align-items: center; gap: 1px; font-size: 12px; font-weight: 700; color: #cfe6ff; }
.route-campagne-serie-lot .route-campagne-icone { width: 12px; height: 12px; vertical-align: 0; }
.route-campagne-serie-faite { background: #14323a; border-color: rgba(93, 255, 176, 0.45); }
.route-campagne-serie-faite .route-campagne-serie-lot { color: #5dffb0; }
.route-campagne-serie-jour { border-color: #6ec8ff; box-shadow: 0 0 8px rgba(110, 200, 255, 0.5); }

/* ---- Fin de partie : bouton « Doubler » (publicité) ---- */
.route-fin .route-voile-bouton.route-voile-bouton-pub { border-color: #6ec8ff; color: #bfe6ff; background: rgba(110, 200, 255, 0.1); }
/* Bouton plein (fond jaune) : le trait du Rayon passe en sombre pour rester lisible. */
.route-ecran .route-pouvoir.route-pouvoir-pret.route-pouvoir-rayon { --picto: linear-gradient(to right, transparent 0 36%, #1a1400 36% 64%, transparent 64%); }
/* Onglet Chasseur, section Pouvoir : le pictogramme du pouvoir devant son nom. */
.route-campagne-picto {
  flex: none; position: relative; width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid #5a5f8a; background: rgba(13, 16, 32, 0.85);
}
.route-campagne-picto::after { content: ""; position: absolute; inset: 7px; background: var(--picto) center / contain no-repeat; }
.route-campagne-picto.route-picto-bombe::after { background: url(assets/images/icone-bombe.png) center / contain no-repeat; }
.route-campagne-picto.route-picto-impulsion::after { background: var(--encre); clip-path: var(--forme); }
