/* Parcours « histoire » : récit en étapes, questions, jeu d'ordre (aucun style en ligne) */
.histoire-titre { display: flex; gap: 12px; align-items: center; }
.histoire-titre .visage { font-size: 2.6rem; }
.histoire p { font-size: 1.05rem; }
.ordre-liste { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 8px; }
.ordre-liste .choix-bouton { width: 100%; }
.ordre-liste .rang { display: inline-block; min-width: 1.6em; margin-right: 6px; font-weight: 800; color: var(--couleur); }
.retour-explication { margin: 10px 0 0; padding: 10px 12px; border-left: 5px solid var(--couleur); background: var(--fond); border-radius: 8px; }
.histoire-actions { margin-top: 12px; }
.jauge-rempli { height: 100%; width: 0; background: var(--couleur); transition: width .15s ease; }
.jauge-rempli.plein { background: var(--erreur); }
.jauge-rempli.mefiance { background: var(--erreur); transition: none; }
.retenir { padding-left: 1.2em; text-align: left; }
.histoire, .histoire * { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.pont { position: relative; margin: 8px 0; padding: 14px 8px 10px; border-radius: 14px; background: linear-gradient(#e8d2a6, #c9a566); border: 3px solid var(--couleur); touch-action: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pont:focus-visible { outline: 3px solid var(--texte); }
.pont-voie { position: relative; height: 48px; margin: 0 14px 0 6px; }
.pont-jeanne { position: absolute; left: 0; top: 4px; font-size: 2rem; transition: left .05s linear; }
.pont-but { position: absolute; right: -6px; top: 4px; font-size: 2rem; }
.pont-zones { position: relative; height: 74px; margin: 0 14px 0 6px; }
.pont-garde { position: absolute; top: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(255, 255, 255, .25); border-radius: 10px; font-size: 1.6rem; line-height: 1.1; }
.pont-garde.regarde { background: rgba(200, 60, 60, .3); outline: 2px dashed var(--erreur); }
.pont-etat { margin: 6px 0; font-weight: 700; text-align: center; }
.methode { height: 16px; }
.grille-memory { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 8px 0; }
.carte-memory { position: relative; aspect-ratio: 3 / 4; padding: 0; overflow: hidden; background: var(--couleur); border: 2px solid var(--trait); border-radius: 10px; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.carte-dos { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: 1.8rem; color: #fff; }
.carte-face { display: none; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; background: #fff; }
.carte-face svg { width: 100%; height: auto; }
.carte-nom { display: none; padding: 0 2px; font-size: .68rem; font-weight: 800; line-height: 1.1; text-align: center; color: var(--texte); }
.carte-memory.retournee .carte-dos { display: none; }
.carte-memory.retournee .carte-face { display: flex; }
.carte-memory.trouvee { border-color: var(--vert); }
.carte-memory.trouvee .carte-nom { display: block; }
.carte-memory:disabled { opacity: 1; }
.herbier-liste { margin-top: 8px; padding: 8px 10px; background: #fff8e6; border: 2px dashed var(--couleur); border-radius: 12px; }
.herbier-titre { margin: 0 0 4px; font-weight: 800; }
.herbier-noms { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; padding: 0; list-style: none; font-size: .9rem; }
.carte-ocean { max-height: 46vh; }
.zone-ile { cursor: pointer; }
.zone-ile.trouve ellipse { fill: #3f9b4a; }
.zone-ile.rate ellipse { fill: #c44536; }
.zone-ile:focus-visible { outline: 3px solid #fff; }
.montagne { position: relative; height: 140px; margin: 8px 0; border-radius: 14px; border: 3px solid var(--couleur); background: linear-gradient(#bfe3f5, #e9f5e1 60%, #7aa36a); overflow: hidden; }
.montagne-marcheur { position: absolute; left: 2%; bottom: 0; font-size: 1.8rem; transition: left .3s ease, bottom .3s ease; }
.montagne-sommet { position: absolute; right: 4%; top: 4px; font-size: 2.4rem; }
.jauge-zone { background: rgba(40, 170, 100, .55); }
