/* ===============================
   Au fil de l'eau – styles spécifiques
   =============================== */

.fe-root {
  --fe-encre: #2b2420;
  --fe-doux: #8a7a68;
  --fe-papier-v: rgba(250, 244, 231, 0.9);
  --fe-bord: rgba(80, 55, 30, 0.16);
  --fe-sceau: #c8392e;
  /* Barre commune (css/games.css) aux couleurs du jardin */
  --mg-jeu-largeur: 1204px;
  --mgb-fond: radial-gradient(120% 160% at 0% 0%, rgba(200, 57, 46, 0.18), transparent 55%),
    linear-gradient(120deg, #26301b, #3e5130);
  --mgb-texte: #fbf5e8;
  --mgb-doux: #c9c2a8;
  --mgb-accent: #f0b45a;
  --mgb-titre: linear-gradient(100deg, #e6f4c8, #a6d8ef 60%, #ffffff);
  --mg-fs-fond: #2f3b22;
  --mg-bulle-fond: #2b2420;
  align-items: center;
  font-family: "Outfit", system-ui, sans-serif;
}

/* La scène : le canevas et tout ce qui flotte au-dessus */
.fe-scene {
  position: relative;
  container-type: inline-size;
  border-radius: 22px;
  overflow: hidden;
  background: #2f3b22;
  box-shadow:
    0 0 0 1px rgba(40, 30, 10, 0.14),
    0 22px 60px -20px rgba(30, 25, 10, 0.7);
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  color: var(--fe-encre);
}

/* Le site impose sans-serif à chaque élément et colore les <b> */
.fe-root,
.fe-root * {
  font-family: "Outfit", system-ui, sans-serif;
}

.fe-root b {
  color: inherit;
}

#fe-canvas {
  display: block;
  touch-action: none;
}

/* ---------- Puces de papier washi ---------- */

.fe-puce {
  padding: 7px 13px;
  border-radius: 14px;
  background: var(--fe-papier-v);
  border: 1px solid var(--fe-bord);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: 0 10px 24px -14px rgba(30, 20, 5, 0.8);
  box-sizing: border-box;
}

.fe-root small {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--fe-doux);
}

/* Barre commune : jardin, objectifs et gestes ; masqués sur l'accueil (choix du jardin) */
.fe-root:has(.fe-sans-hud) .fe-infos,
.fe-root:has(.fe-sans-hud) .fe-outils-jeu,
.fe-root:has(.fe-sans-hud) .fe-outils-jeu + .mg-barre-sep,
.fe-sans-hud .fe-action {
  display: none;
}

.fe-root:has(.fe-sans-hud) .mg-barre-titre {
  border-right: none;
}

.fe-root .mg-barre small {
  color: var(--mgb-doux);
}

.fe-root .mg-barre .fe-obj {
  color: var(--mgb-texte);
}

.fe-root .mg-barre .fe-obj.fe-ok {
  color: #a7e07d;
}

.fe-root .mg-barre .fe-par {
  color: var(--mgb-doux);
}

.fe-sceau-mini {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--fe-sceau);
  color: #fff3e6;
  font-size: 0.8rem;
  line-height: 1;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "MS Mincho", serif !important;
  transform: rotate(-4deg);
  cursor: help;
}

.fe-mission small {
  display: block;
  margin-bottom: 2px;
}

.fe-objectifs {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.fe-obj {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--fe-encre);
  transition: color 0.3s;
}

.fe-obj svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.75;
}

.fe-obj.fe-ok {
  color: #3d8a1e;
}

.fe-obj.fe-ok svg {
  opacity: 1;
}

.fe-obj.fe-absent {
  display: none;
}

.fe-droite {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}


.fe-par {
  margin-left: 3px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fe-doux);
}

.mg-stat.fe-gestes.fe-trop b {
  color: #d4761c;
}

.fe-outils {
  display: flex;
  gap: 5px;
}

.fe-btn {
  width: 34px;
  height: 34px;
  padding: 0;
  margin: 0;
  border: 1px solid var(--fe-bord);
  border-radius: 10px;
  background: var(--fe-papier-v);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--fe-encre);
  cursor: pointer;
  transition:
    background 0.15s,
    transform 0.15s,
    border-color 0.15s;
}

.fe-btn:hover {
  background: #fffaf0;
  border-color: rgba(200, 57, 46, 0.45);
  transform: translateY(-1px);
}

.fe-btn:focus-visible {
  outline: 2px solid var(--fe-sceau);
  outline-offset: 2px;
}

.fe-btn svg {
  display: block;
  width: 18px;
  height: 18px;
  margin: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Indicateur d'état : l'eau part d'elle-même ---------- */

.fe-action {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  pointer-events: none;
}

.fe-statut {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 10px;
  border: 1px solid var(--fe-bord);
  border-radius: 999px;
  background: var(--fe-papier-v);
  color: var(--fe-doux);
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 10px 24px -14px rgba(30, 20, 5, 0.8);
  transition:
    background 0.3s,
    color 0.3s;
}

/* Pendant l'écoulement : bleu, avec une onde qui respire */
.fe-statut.fe-pret {
  border-color: rgba(255, 255, 255, 0.35);
  background: linear-gradient(180deg, #43b3e6, #1f7fb8);
  color: #fff;
  animation: fe-appel 1.1s ease-in-out infinite alternate;
}

@keyframes fe-appel {
  to {
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.4) inset,
      0 0 0 7px rgba(70, 180, 235, 0.28),
      0 10px 24px -10px rgba(10, 60, 100, 0.85);
  }
}

.fe-action-ico {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(120, 85, 40, 0.1);
}

.fe-statut.fe-pret .fe-action-ico {
  background: rgba(255, 255, 255, 0.22);
}

.fe-action-ico svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Annonces ---------- */

.fe-message {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 74px;
  transform: translateX(-50%);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: max-content;
  max-width: calc(100% - 24px);
}

.fe-annonce {
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(32, 26, 20, 0.82);
  color: #fff8ea;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.8);
  animation: fe-annonce 3.2s ease-in-out forwards;
}

.fe-annonce b {
  color: #ffd27a;
}

.fe-annonce.fe-longue {
  animation-duration: 6s;
  border-radius: 16px;
  max-width: 470px;
}

@keyframes fe-annonce {
  0% {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
  }
  8%,
  86% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
    transform: translateY(-6px);
  }
}

/* ---------- Écrans et cartes ---------- */

.fe-ecran {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  box-sizing: border-box;
  background: radial-gradient(
    ellipse at center,
    rgba(25, 18, 8, 0.25),
    rgba(25, 18, 8, 0.6)
  );
  animation: fe-apparait 0.35s ease-out;
  overflow-y: auto;
}

.fe-ecran[hidden] {
  display: none;
}

/* L'accueil passe sous le bandeau, et laisse voir le jardin choisi à droite */
.fe-ecran-menu {
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(25, 18, 8, 0.5),
    rgba(25, 18, 8, 0) 60%
  );
  justify-content: flex-start;
  padding-left: clamp(14px, 5cqw, 60px);
}

.fe-ecran-modal {
  z-index: 5;
  background: rgba(25, 18, 8, 0.5);
}

@keyframes fe-apparait {
  from {
    opacity: 0;
  }
}

.fe-carte {
  position: relative;
  width: min(540px, 100%);
  max-height: 100%;
  overflow-y: auto;
  padding: 22px 24px 18px;
  border-radius: 22px;
  background:
    radial-gradient(
      circle at 12% 0%,
      rgba(255, 255, 255, 0.7),
      transparent 45%
    ),
    linear-gradient(170deg, #fbf5e8, #f1e6cf);
  border: 1px solid rgba(120, 85, 40, 0.22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 30px 60px -24px rgba(20, 12, 0, 0.75);
  text-align: center;
  box-sizing: border-box;
  animation: fe-monte 0.45s cubic-bezier(0.22, 1.2, 0.36, 1);
  scrollbar-width: thin;
}

/* Fibres du papier */
.fe-carte::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    repeating-linear-gradient(
      17deg,
      transparent 0 9px,
      rgba(150, 110, 50, 0.07) 9px 10px
    ),
    repeating-linear-gradient(
      -71deg,
      transparent 0 13px,
      rgba(150, 110, 50, 0.05) 13px 14px
    );
}

@keyframes fe-monte {
  from {
    transform: translateY(18px) scale(0.97);
    opacity: 0;
  }
}

.fe-carte-titre {
  font-family: "Madimi One", "Outfit", sans-serif !important;
  font-size: 1.7rem;
  line-height: 1.15;
  color: var(--fe-encre);
}

.fe-carte-sous {
  margin-top: 4px;
  color: var(--fe-doux);
  font-weight: 500;
}

.fe-carte-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.fe-carte-btns button {
  margin: 0;
}

.fe-gros {
  font-size: 1.08rem !important;
  padding: 10px 26px !important;
}

/* ---------- Menu ---------- */

.fe-carte-menu {
  width: min(470px, 100%);
  text-align: left;
}

.fe-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fe-sceau {
  cursor: help;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 9px;
  background: var(--fe-sceau);
  color: #fff3e6;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  font-family:
    "Hiragino Mincho ProN", "Yu Mincho", "MS Mincho", serif !important;
  box-shadow:
    0 0 0 2px #fbf5e8,
    0 0 0 4px rgba(200, 57, 46, 0.55);
  transform: rotate(-4deg);
}

.fe-logo-mot {
  font-family: "Madimi One", "Outfit", sans-serif !important;
  font-size: clamp(1.7rem, 5.5cqw, 2.35rem);
  line-height: 1;
  color: var(--fe-encre);
  background: linear-gradient(100deg, #2b5c14, #3f8bc0 60%, #1f5d8c);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fe-accroche {
  margin: 10px 0 14px;
  color: #5d5045;
  font-size: 0.98rem;
}

.fe-saisons {
  display: grid;
  gap: 8px;
}

.fe-saison {
  --c: #e88aa8;
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(120, 85, 40, 0.12);
}

.fe-saison-kanji {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--c);
  color: #fff;
  font-size: 1.35rem;
  font-family:
    "Hiragino Mincho ProN", "Yu Mincho", "MS Mincho", serif !important;
  box-shadow: 0 6px 14px -8px var(--c);
  cursor: help;
}

.fe-saison-tete {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
}

.fe-saison-nom {
  font-weight: 800;
  color: var(--fe-encre);
}

.fe-saison-nouv {
  font-size: 0.78rem;
  color: var(--fe-doux);
}

.fe-niveaux {
  display: flex;
  gap: 6px;
}

.fe-niv {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 38px;
  margin: 0;
  padding: 2px 0 0;
  border: 1px solid rgba(120, 85, 40, 0.18);
  border-radius: 10px;
  background: #fffaf0;
  color: var(--fe-encre);
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 0.15s,
    background 0.15s,
    border-color 0.15s;
}

.fe-niv:hover {
  transform: translateY(-2px);
  border-color: var(--c);
  background: #fff;
}

.fe-niv:focus-visible {
  outline: 2px solid var(--c);
  outline-offset: 2px;
}

/* Jardin verrouillé : consultable, mais estompé */
.fe-niv.fe-ferme {
  background: rgba(255, 255, 255, 0.35);
  border-style: dashed;
  color: rgba(43, 36, 32, 0.4);
}

.fe-niv.fe-choisi {
  background: var(--c);
  border-color: var(--c);
  color: #fff;
  box-shadow: 0 6px 14px -6px var(--c);
}

.fe-niv.fe-ferme.fe-choisi {
  opacity: 0.6;
}

.fe-niv-et {
  display: block;
  margin-top: 3px;
  font-size: 0.6rem;
  letter-spacing: 1px;
  color: #d9a21b;
}

.fe-niv.fe-choisi .fe-niv-et {
  color: #fff6c8;
}

.fe-niv-et .fe-vide {
  color: rgba(120, 85, 40, 0.25);
}

.fe-niv.fe-choisi .fe-niv-et .fe-vide {
  color: rgba(255, 255, 255, 0.4);
}

/* Jardin du jour : vert jade, couleur de mousse et d'eau calme */
.fe-defi {
  --jade: #3e8e7e;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 8px 0 0;
  padding: 7px 10px;
  border: 1px solid rgba(62, 142, 126, 0.3);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--fe-encre);
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.15s,
    border-color 0.15s,
    background 0.15s;
}

.fe-defi:hover {
  transform: translateY(-1px);
  border-color: var(--jade);
}

.fe-defi:focus-visible {
  outline: 2px solid var(--jade);
  outline-offset: 2px;
}

.fe-defi.fe-choisi {
  background: #eef7f2;
  border-color: var(--jade);
  box-shadow: 0 0 0 2px rgba(62, 142, 126, 0.2);
}

.fe-defi-ico svg {
  display: block;
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--jade);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fe-defi-txt {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.fe-defi-txt small {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  font-size: 0.75rem;
}

/* Le record du jour, en pastille douce */
.fe-defi-rec {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(62, 142, 126, 0.13);
  color: #2f7466;
  font-size: 0.85rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Objectif de gestes dépassé : orange doux */
.fe-defi-rec.fe-trop {
  background: rgba(212, 118, 28, 0.14);
  color: #b5620f;
}

.fe-defi-rec:empty {
  display: none;
}

/* Le jardin choisi, et le bouton pour le lancer */
.fe-menu-bas {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(120, 85, 40, 0.25);
}

.fe-menu-bas .btn-vert {
  margin: 0;
  flex-shrink: 0;
}

.fe-choix {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  line-height: 1.25;
}

.fe-choix b {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--fe-encre);
}

.fe-choix span {
  font-size: 0.8rem;
  color: #6d5f52;
}

/* ---------- Fin de partie ---------- */

.fe-fin-ico {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: -4px auto 8px;
  border-radius: 50%;
  background: #e5f3d6;
  color: #3d8a1e;
}

.fe-fin-ico svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fe-fin-etoiles {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 14px 0 4px;
}

.fe-fin-etoile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 112px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--fe-doux);
  line-height: 1.2;
}

.fe-fin-etoile svg {
  width: 40px;
  height: 40px;
  fill: rgba(120, 85, 40, 0.14);
  stroke: rgba(120, 85, 40, 0.25);
  stroke-width: 1;
  stroke-linejoin: round;
}

.fe-fin-etoile.fe-gagnee {
  color: var(--fe-encre);
}

.fe-fin-etoile.fe-gagnee svg {
  fill: #f2b52a;
  stroke: #c98a0b;
  animation: fe-etoile 0.55s cubic-bezier(0.3, 1.7, 0.5, 1) both;
  animation-delay: var(--d, 0s);
  filter: drop-shadow(0 4px 8px rgba(230, 160, 20, 0.45));
}

@keyframes fe-etoile {
  from {
    transform: scale(0.2) rotate(-40deg);
    opacity: 0;
  }
}

.fe-fin-detail {
  display: grid;
  gap: 3px;
  max-width: 320px;
  margin: 12px auto 0;
  font-size: 0.92rem;
}

.fe-ligne {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 2px 0;
  border-bottom: 1px dashed rgba(120, 85, 40, 0.18);
}

.fe-ligne span:last-child {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.fe-fin-record {
  margin-top: 8px;
  min-height: 1.2em;
  font-weight: 700;
  color: var(--fe-sceau);
}

/* ---------- Aide ---------- */

.fe-carte-aide {
  width: min(780px, 100%);
  text-align: left;
}

.fe-carte-aide .fe-carte-titre {
  text-align: center;
}

.fe-aide-cols {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 22px;
  margin-top: 12px;
  font-size: 0.93rem;
  line-height: 1.45;
  color: #3d342d;
}

.fe-aide-cols p {
  margin: 0 0 8px;
}

.fe-sous {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fe-sceau);
}

.fe-liste {
  margin: 0 0 10px;
  padding-left: 18px;
}

.fe-liste li {
  margin: 2px 0;
}

.fe-aide-cmd {
  display: grid;
  gap: 4px;
}

.fe-root kbd {
  display: inline-block;
  min-width: 1.4em;
  padding: 1px 5px;
  margin: 0 1px;
  border-radius: 5px;
  background: #fff;
  border: 1px solid rgba(120, 85, 40, 0.25);
  box-shadow: 0 2px 0 rgba(120, 85, 40, 0.2);
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  color: var(--fe-encre);
}

/* ---------- Infobulles ---------- */

.fe-bulle {
  position: fixed;
  z-index: 4000;
  max-width: min(280px, calc(100vw - 16px));
  padding: 6px 11px;
  border-radius: 8px;
  background: #2b2420;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff8ea;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.3;
  pointer-events: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(-3px);
  transition:
    opacity 0.15s,
    transform 0.15s;
}

.fe-bulle.dessus {
  transform: translateY(3px);
}

.fe-bulle.visible {
  opacity: 1;
  transform: none;
}

.fe-bulle[hidden] {
  display: none;
}

.fe-bulle::before {
  content: "";
  position: absolute;
  top: -5px;
  left: var(--pointe, 50%);
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 2px;
  background: inherit;
  transform: rotate(45deg);
}

.fe-bulle.dessus::before {
  top: auto;
  bottom: -5px;
}

/* ---------- Plein écran et miniature ---------- */

.fe-root.fe-vignette {
  position: fixed;
  inset: 0;
  z-index: 2000;
  max-width: none;
  margin: 0;
  padding: 0;
  align-items: center;
  background: #2f3b22;
}

.fe-root.mg-fs .fe-scene,
.fe-root.fe-vignette .fe-scene {
  box-shadow: none;
}

.fe-root.fe-vignette .fe-scene {
  border-radius: 0;
}

.fe-vignette > .mg-barre,
.fe-vignette .fe-action,
.fe-vignette .fe-ecran,
.fe-vignette .fe-message {
  display: none;
}


/* ---------- Petites scènes ---------- */

.fe-compacte .fe-carte {
  padding: 14px 16px 12px;
}

.fe-compacte .fe-accroche {
  margin: 6px 0 8px;
}

.fe-compacte .fe-saison {
  padding: 5px 8px;
}

.fe-compacte .fe-niv {
  height: 32px;
}

@container (max-width: 620px) {
  .fe-ecran-menu {
    justify-content: center;
    align-items: flex-start;
    padding: 56px 12px 12px;
    background: rgba(25, 18, 8, 0.35);
  }

  /* Le jardin choisi et « Jouer » restent visibles en bas de la carte */
  .fe-menu-bas {
    position: sticky;
    bottom: -18px;
    z-index: 1;
    margin-bottom: -18px;
    padding-bottom: 18px;
    background: #f2e8d3;
  }

  .fe-compacte .fe-menu-bas {
    bottom: -12px;
    margin-bottom: -12px;
    padding-bottom: 12px;
  }

  .fe-aide-cols {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .fe-objectifs {
    gap: 8px;
  }

  .fe-gestes {
    min-width: 60px;
  }

  .fe-fin-etoile {
    width: 92px;
  }
}

@container (max-width: 460px) {
  .fe-hud {
    flex-wrap: wrap;
  }

  .fe-droite {
    margin-left: auto;
  }
}

@container (max-width: 420px) {
  .fe-obj {
    font-size: 0.85rem;
  }

  .fe-carte-titre {
    font-size: 1.4rem;
  }
}
