@font-face { font-family: "Lilita One"; font-weight: 400; font-display: swap; src: url(../fonts/lilita-one-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F; }
@font-face { font-family: "Lilita One"; font-weight: 400; font-display: swap; src: url(../fonts/lilita-one-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF; }
@font-face { font-family: "Nunito Sans"; font-weight: 400; font-display: swap; src: url(../fonts/nunito-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 700; font-display: swap; src: url(../fonts/nunito-sans-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 800; font-display: swap; src: url(../fonts/nunito-sans-latin-800-normal.woff2) format("woff2"); }

:root {
  --indigo: #2b3a8c; --indigo-clair: #4461d6; --nuit: #1b1f3d; --or: #e8b441; --or-sombre: #b8821c;
  --laterite: #c8643a; --papier: #fbf4e4; --papier-creux: #f1e5c9; --encre: #231a10; --encre-douce: #6a5a44;
  --vert: #3f8a3a; --rouge: #b8362a;
  --titre: "Lilita One", Impact, "Arial Black", sans-serif;
  --texte: "Nunito Sans", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; overflow: hidden; }
body {
  font: 15px/1.45 var(--texte); color: var(--encre);
  background: linear-gradient(#4fa6e6 0%, #9ed6f2 48%, #d8ecee 72%, #cfe6ee 100%);
  -webkit-tap-highlight-color: transparent; user-select: none;
}
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
[hidden] { display: none !important; }

#scene { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }

/* ---------- boutons ---------- */
.btn {
  border: 2px solid var(--nuit); border-radius: 10px; padding: 7px 16px; font: 400 17px/1.1 var(--titre); letter-spacing: .02em;
  color: #fff; background: linear-gradient(#4a67dd, #2b3a8c); box-shadow: 0 3px 0 var(--nuit);
  min-height: 44px;
}
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--nuit); }
.btn.or { color: var(--nuit); background: linear-gradient(#f7cf6a, #e0a52a); }
.btn.petit { min-height: 38px; padding: 5px 14px; font-size: 15px; }
.lien { background: none; border: 0; color: #fff; text-decoration: underline; font-weight: 700; padding: 4px; }

/* ---------- accueil ---------- */
#accueil {
  position: fixed; inset: 0; display: grid; grid-template-rows: auto auto 1fr; justify-items: center;
  padding: calc(4vh + env(safe-area-inset-top, 0px)) 16px calc(24px + env(safe-area-inset-bottom, 0px)); pointer-events: none;
}
#accueil > * { pointer-events: auto; }
.logo {
  margin: 0; display: flex; align-items: center; font: 400 clamp(62px, 14vw, 150px)/1 var(--titre); letter-spacing: .01em; color: #fff;
  -webkit-text-stroke: .075em var(--nuit); paint-order: stroke fill;
  filter: drop-shadow(0 .06em 0 var(--nuit)) drop-shadow(0 .05em 0 var(--or)) drop-shadow(0 12px 18px rgba(20, 20, 50, .35));
  animation: monte 1s cubic-bezier(.2, 1.4, .4, 1) both;
}
.logo-o { width: .78em; height: .78em; margin: 0 .01em; transform: translateY(.02em); }
.ruban {
  margin: -.2em 0 0; display: flex; align-items: center; gap: 12px; font: 400 clamp(17px, 3vw, 26px)/1 var(--titre);
  color: #fff; letter-spacing: .12em; text-transform: uppercase; -webkit-text-stroke: 5px var(--nuit); paint-order: stroke fill;
  animation: monte 1s .15s cubic-bezier(.2, 1.4, .4, 1) both;
}
.ruban::before, .ruban::after { content: ""; width: clamp(28px, 8vw, 90px); height: 5px; border-radius: 3px; background: #fff; box-shadow: 0 0 0 2.5px var(--nuit); }
.accueil-bas { align-self: end; display: grid; justify-items: center; gap: 12px; animation: monte 1s .3s cubic-bezier(.2, 1.2, .4, 1) both; }
.btn-jouer {
  min-width: 230px; padding: 14px 36px; border-radius: 14px; border: 3px solid var(--nuit);
  font: 400 32px/1 var(--titre); letter-spacing: .04em; color: #fff; -webkit-text-stroke: 1.5px var(--nuit); paint-order: stroke fill;
  background: linear-gradient(#5f7cf0 0%, #3450c8 50%, #2b3a8c 100%); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45), 0 5px 0 var(--nuit), 0 10px 22px rgba(0, 0, 0, .3);
  outline: 3px solid var(--or); outline-offset: -8px;
}
.btn-jouer:hover { filter: brightness(1.08); }
.btn-jouer:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--nuit); }
.accueil-note {
  display: grid; justify-items: center; gap: 2px; padding: 10px 18px; border-radius: 12px; font-size: 13px; font-weight: 700;
  color: #fff; background: rgba(27, 31, 61, .72); backdrop-filter: blur(4px); text-align: center;
}
@keyframes monte { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }

/* ---------- barre du haut ---------- */
#hud { position: fixed; inset: 0; pointer-events: none; }
#hud > * { pointer-events: auto; }
.barre {
  position: absolute; top: calc(10px + env(safe-area-inset-top, 0px)); left: 10px; right: 10px; margin-inline: auto; width: fit-content;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
}
.res {
  display: flex; align-items: center; gap: 6px; padding: 3px 12px 3px 4px; border-radius: 99px;
  background: rgba(27, 31, 61, .82); border: 2px solid var(--or-sombre); color: #fff;
  font: 800 15px/1 var(--texte); font-variant-numeric: tabular-nums; box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}
.res svg { width: 26px; height: 26px; display: block; }
.res small { color: #c9cce6; font-weight: 700; }
.res.plein { border-color: var(--rouge); }
.res.pulse { animation: pulse .5s; }
@keyframes pulse { 50% { transform: scale(1.12); } }
.actions {
  position: absolute; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); display: flex; gap: 10px; align-items: end;
}
.btn-rond {
  display: grid; justify-items: center; gap: 2px; width: 76px; padding: 8px 4px 6px; border-radius: 16px; border: 3px solid var(--nuit);
  color: #fff; font: 400 14px/1 var(--titre); letter-spacing: .03em; background: linear-gradient(#4a67dd, #2b3a8c); box-shadow: 0 4px 0 var(--nuit);
}
.btn-rond.or { width: 92px; color: var(--nuit); background: linear-gradient(#f7cf6a, #e0a52a); }
.btn-rond.or .ico svg path, .btn-rond.or .ico svg rect { fill: var(--nuit); stroke: var(--nuit); }
.btn-rond .ico svg { width: 34px; height: 34px; display: block; }
.btn-rond:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--nuit); }

/* ---------- griot ---------- */
#griot {
  position: fixed; left: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: end; gap: 8px;
  max-width: min(460px, calc(100% - 140px));
}
.portrait { flex: none; width: 74px; height: 74px; padding: 0; border-radius: 50%; border: 3px solid var(--nuit); background: none; box-shadow: 0 4px 0 var(--nuit); }
.portrait svg { width: 100%; height: 100%; display: block; border-radius: 50%; }
.portrait.nouveau { animation: appel 1.2s infinite; }
@keyframes appel { 50% { box-shadow: 0 4px 0 var(--nuit), 0 0 0 8px rgba(232, 180, 65, .55); } }
.bulle-griot {
  background: var(--papier); border: 3px solid var(--nuit); border-radius: 14px 14px 14px 4px; padding: 10px 14px 12px;
  box-shadow: 0 4px 0 var(--nuit), 0 10px 20px rgba(0, 0, 0, .25); animation: monte .35s ease-out both;
}
.griot-nom { font-size: 12px; color: var(--encre-douce); }
.griot-nom b { color: var(--laterite); text-transform: uppercase; letter-spacing: .06em; }
.bulle-griot h2 { margin: 2px 0 4px; font: 400 20px/1.1 var(--titre); color: var(--nuit); }
.bulle-griot p { margin: 0 0 8px; }
.griot-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.recompense { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 800; color: var(--encre-douce); margin-bottom: 8px; }
.recompense svg { width: 18px; height: 18px; vertical-align: -4px; }

/* ---------- panneaux ---------- */
.panneau {
  position: fixed; left: 50%; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  width: min(900px, calc(100% - 20px)); max-height: min(72vh, 620px); overflow: auto;
  background: var(--papier); border: 3px solid var(--nuit); border-radius: 18px; box-shadow: 0 5px 0 var(--nuit), 0 18px 40px rgba(0, 0, 0, .35);
  padding: 0 14px 14px; animation: glisse .3s ease-out both;
}
@keyframes glisse { from { transform: translate(-50%, 40px); opacity: 0; } }
.panneau-tete { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 12px 0 10px; background: var(--papier); z-index: 1; }
.panneau-tete h2 { margin: 0; font: 400 26px/1 var(--titre); color: var(--nuit); }
.fermer { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--nuit); background: var(--papier-creux); font: 700 24px/1 var(--texte); }
.cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.carte {
  display: grid; grid-template-rows: auto auto 1fr auto; gap: 4px; padding: 8px; text-align: left;
  background: #fff; border: 2px solid #d9c9a4; border-radius: 12px;
}
.carte:not(:disabled):hover { border-color: var(--or-sombre); transform: translateY(-2px); }
.carte:disabled { cursor: not-allowed; }
.carte:disabled .vignette { filter: grayscale(.8) opacity(.6); }
.vignette { aspect-ratio: 1; width: 100%; max-width: 100%; border-radius: 8px; background: radial-gradient(circle at 50% 40%, #fff6dd, #f1e5c9); display: block; object-fit: contain; }
.carte b { font: 400 17px/1.1 var(--titre); color: var(--nuit); }
.carte .desc { font-size: 12.5px; color: var(--encre-douce); }
.couts { display: flex; flex-wrap: wrap; gap: 4px 8px; font-weight: 800; font-size: 13px; font-variant-numeric: tabular-nums; }
.couts span { display: inline-flex; align-items: center; gap: 2px; }
.couts svg { width: 18px; height: 18px; }
.couts .manque { color: var(--rouge); }
.raison { font-size: 12px; font-weight: 800; color: var(--rouge); }

.heros .carte { grid-template-rows: auto auto auto 1fr; justify-items: center; text-align: center; }
.heros .portrait-carte { width: 96px; height: 96px; border-radius: 50%; border: 3px solid var(--nuit); overflow: hidden; }
.heros .portrait-carte svg { width: 100%; height: 100%; display: block; }
.statut { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 2px 8px; border-radius: 99px; color: #fff; background: var(--vert); }
.statut.legendaire, .statut.conte { background: var(--indigo); }
.stats { width: 100%; display: grid; gap: 4px; margin-top: 6px; font-size: 12.5px; font-weight: 700; }
.stat { display: grid; grid-template-columns: 76px 1fr 18px; align-items: center; gap: 6px; text-align: left; }
.jauge { height: 8px; border-radius: 4px; background: var(--papier-creux); overflow: hidden; }
.jauge i { display: block; height: 100%; background: linear-gradient(90deg, var(--laterite), var(--or)); }
.carte.verrou { background: #eee7d6; }

/* ---------- mode pose ---------- */
.pose {
  position: fixed; left: 10px; right: 10px; margin-inline: auto; width: fit-content; bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; padding: 8px 10px; border-radius: 14px;
  background: rgba(27, 31, 61, .88); color: #fff; font-weight: 800; max-width: calc(100% - 20px);
}

/* ---------- bulles de récolte ---------- */
#bulles { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.recolte {
  position: absolute; left: 0; top: 0; pointer-events: auto; display: flex; align-items: center; gap: 2px;
  padding: 3px 9px 3px 3px; border-radius: 99px; border: 2.5px solid var(--nuit); background: var(--papier);
  font: 800 15px/1 var(--texte); box-shadow: 0 3px 0 var(--nuit); animation: flotte 1.6s ease-in-out infinite; will-change: transform;
}
.recolte svg { width: 30px; height: 30px; }
@keyframes flotte { 50% { margin-top: -6px; } }
.progres { position: absolute; left: 0; top: 0; width: 46px; height: 7px; border-radius: 4px; background: rgba(27, 31, 61, .6); overflow: hidden; }
.progres i { display: block; height: 100%; background: var(--or); }
.gain { position: absolute; left: 0; top: 0; font: 400 22px/1 var(--titre); color: #fff; -webkit-text-stroke: 4px var(--nuit); paint-order: stroke fill; animation: gain 1.1s ease-out forwards; display: flex; align-items: center; gap: 4px; }
.gain svg { width: 24px; height: 24px; }
@keyframes gain { to { margin-top: -60px; opacity: 0; } }

/* ---------- message ---------- */
.message {
  position: fixed; top: calc(62px + env(safe-area-inset-top, 0px)); left: 16px; right: 16px; margin-inline: auto; width: fit-content;
  padding: 8px 16px; border-radius: 10px; background: var(--nuit); color: #fff; font-weight: 800; max-width: calc(100% - 32px); text-align: center;
  animation: monte .25s ease-out both; z-index: 5;
}

/* ---------- récit ---------- */
.recit { position: fixed; inset: 0; display: grid; place-items: center; padding: 16px; background: rgba(15, 18, 40, .7); backdrop-filter: blur(3px); z-index: 4; }
.recit-carte { width: min(620px, 100%); border-radius: 18px; overflow: hidden; background: var(--papier); border: 3px solid var(--nuit); box-shadow: 0 6px 0 var(--nuit), 0 30px 60px rgba(0, 0, 0, .45); animation: monte .4s ease-out both; }
.kente { height: 16px; background: repeating-linear-gradient(90deg, #e8b441 0 28px, #c8643a 28px 36px, #3f8a3a 36px 44px, #2b3a8c 44px 72px, #e8b441 72px 80px, #1b1f3d 80px 88px); }
.recit-corps { padding: 18px 22px 16px; display: grid; gap: 10px; }
.recit-chapitre { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--laterite); }
.recit h2 { margin: 0; font: 400 clamp(24px, 5vw, 32px)/1.1 var(--titre); color: var(--nuit); }
.recit p { margin: 0; font-size: clamp(16px, 2.6vw, 19px); line-height: 1.55; min-height: 6.3em; }
.recit-pied { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.points { display: flex; gap: 5px; }
.points i { width: 9px; height: 9px; border-radius: 50%; background: var(--papier-creux); border: 1.5px solid var(--encre-douce); }
.points i.vu { background: var(--or); border-color: var(--or-sombre); }
.recit small { color: var(--encre-douce); font-size: 12px; }
.revelation { display: grid; justify-items: center; gap: 8px; text-align: center; }
.revelation .portrait-carte { width: 120px; height: 120px; border-radius: 50%; border: 4px solid var(--or); overflow: hidden; animation: monte .6s cubic-bezier(.2, 1.5, .4, 1) both; }
.revelation .portrait-carte svg { width: 100%; height: 100%; display: block; }

@media (max-width: 560px) {
  #griot { max-width: calc(100% - 24px); bottom: calc(118px + env(safe-area-inset-bottom, 0px)); }
  .portrait { width: 58px; height: 58px; }
  .bulle-griot { font-size: 14px; }
  .barre { gap: 3px; flex-wrap: nowrap; }
  .res { font-size: 12px; gap: 3px; padding: 2px 7px 2px 2px; }
  .res svg { width: 20px; height: 20px; }
  .res small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- version 0.2 : camp et épreuves ---------- */
.btn-rond.rouge { background: linear-gradient(#d9573a, #9c3220); }
.panneau.etroit { width: min(420px, calc(100% - 20px)); }
.camp { display: grid; justify-items: center; gap: 8px; padding-bottom: 6px; text-align: center; }
.camp p { margin: 0; }
.gros { font: 400 24px/1.1 var(--titre); color: var(--nuit); }
.doux { color: var(--encre-douce); font-size: 13px; min-height: 1.2em; }
.armee { margin: 0 0 10px; font-weight: 800; color: var(--encre-douce); }
.epreuves { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.epreuves .carte { grid-template-rows: auto auto auto 1fr auto; gap: 6px; }
.epreuves .carte h3 { margin: 0; font: 400 20px/1.1 var(--titre); color: var(--nuit); }
.epreuves .num { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--laterite); }
.etoiles { display: flex; gap: 2px; font-size: 20px; line-height: 1; color: #d9c9a4; }
.etoiles .pleine { color: var(--or); -webkit-text-stroke: 1px var(--or-sombre); }
.fin .etoiles { justify-content: center; font-size: 46px; gap: 6px; }
.fin .etoiles span { animation: monte .5s cubic-bezier(.2, 1.6, .4, 1) both; }
.fin .etoiles span:nth-child(2) { animation-delay: .15s; }
.fin .etoiles span:nth-child(3) { animation-delay: .3s; }
.fin { justify-items: center; text-align: center; }
.fin p { min-height: 0; font-size: 16px; }
.carte.verrou h3 { color: var(--encre-douce); }

#combat { position: fixed; inset: 0; pointer-events: none; }
#combat > * { pointer-events: auto; }
.combat-haut {
  position: absolute; top: calc(10px + env(safe-area-inset-top, 0px)); left: 10px; right: 10px; margin-inline: auto; width: fit-content;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; max-width: calc(100% - 20px);
  padding: 6px 14px; border-radius: 14px; background: rgba(27, 31, 61, .85); color: #fff; font-weight: 800;
}
.combat-titre { font: 400 18px/1 var(--titre); color: var(--or); }
.ruse { display: inline-flex; align-items: center; gap: 4px; }
.ruse i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--or); }
.ruse i.pleine { background: var(--or); }
.chef {
  position: absolute; top: calc(62px + env(safe-area-inset-top, 0px)); left: 50%; transform: translateX(-50%);
  width: min(420px, calc(100% - 32px)); display: grid; gap: 3px; justify-items: center; color: #fff;
  font-weight: 800; text-shadow: 0 1px 2px #000;
}
.chef b { font: 400 18px/1 var(--titre); }
.jauge-chef { width: 100%; height: 12px; border-radius: 6px; background: rgba(27, 31, 61, .8); border: 2px solid var(--nuit); overflow: hidden; }
.jauge-chef i { display: block; height: 100%; background: linear-gradient(90deg, #8c1e14, #d9412b); transition: width .2s; }
#btn-abandon { position: absolute; left: 12px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
.capacites { position: absolute; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: flex; gap: 10px; align-items: end; }
.capacite {
  position: relative; width: 104px; height: 104px; border-radius: 50%;
  border: 4px solid var(--nuit); display: grid; place-content: center; justify-items: center; gap: 4px; padding: 0;
  font: 400 14px/1 var(--titre); color: var(--nuit); box-shadow: 0 5px 0 var(--nuit);
  background: conic-gradient(rgba(27, 31, 61, .55) calc(var(--attente, 0) * 1turn), transparent 0), linear-gradient(#f7cf6a, #e0a52a);
}
.capacite:disabled { cursor: default; }
.capacite:not(:disabled) { animation: appel 1.2s infinite; }
.capacite-ico { width: 38px; height: 38px; }
.capacite-ico svg { width: 100%; height: 100%; display: block; }
#barres { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.pv { position: absolute; left: 0; top: 0; width: 34px; height: 6px; border-radius: 3px; background: rgba(27, 31, 61, .75); overflow: hidden; border: 1px solid rgba(0, 0, 0, .5); }
.pv i { display: block; height: 100%; background: #6cc04a; }
.pv.ennemi i { background: #e0452e; }
.pv.heros { width: 48px; height: 8px; }
.pv.heros i { background: var(--or); }

.recit-carte.large { width: min(760px, 100%); }
.ennemis { min-height: 0 !important; font-size: 15px !important; font-weight: 700; color: var(--encre-douce); }
.tactiques { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.tactiques .carte { grid-template-rows: auto 1fr auto; gap: 6px; }
.tactiques .carte b { font-size: 19px; }
.tactiques .cout { font-weight: 800; font-size: 13px; color: var(--laterite); }
.tactiques .carte.ruse-carte { border-color: #9fb0f0; }
.tactiques .carte.secret { border-color: var(--or); background: #fff8e4; }

@media (max-width: 560px) {
  .capacite { width: 88px; height: 88px; font-size: 12px; }
  .tactiques { grid-template-columns: 1fr 1fr; }
  .recit-corps { padding: 14px 14px 12px; }
}
.lien.sombre { color: var(--indigo); font-size: 13px; }

/* ---------- version 0.3 : plusieurs héros ---------- */
.capacite.tombe { filter: grayscale(1) opacity(.5); }
.capacite[data-cap="soin"] { background: conic-gradient(rgba(27, 31, 61, .55) calc(var(--attente, 0) * 1turn), transparent 0), linear-gradient(#a8e0a0, #5fae5a); }
.capacite[data-cap="or"] { background: conic-gradient(rgba(27, 31, 61, .55) calc(var(--attente, 0) * 1turn), transparent 0), linear-gradient(#fff0b0, #e8b441); }
.capacite-carte { font-size: 12.5px; color: var(--encre); text-align: left; background: var(--papier-creux); border-radius: 8px; padding: 6px 8px; }
.capacite-carte b { font: 800 12.5px/1.3 var(--texte); color: var(--laterite); }
@media (max-width: 560px) {
  .capacites { gap: 6px; right: 10px; }
  .capacite { width: 76px; height: 76px; font-size: 11px; }
  .capacite-ico { width: 28px; height: 28px; }
}
.heros .carte { grid-template-rows: none; align-content: start; }

/* ---------- version 0.4 : langues et voix du griot ---------- */
.langues { display: flex; gap: 4px; justify-content: center; margin-bottom: 4px; }
.langue { min-height: 32px; padding: 4px 10px; border-radius: 8px; border: 1.5px solid rgba(255, 255, 255, .45); background: transparent; color: #fff; font: 800 13px/1 var(--texte); }
.langue.active { background: var(--or); color: var(--nuit); border-color: var(--or); }
.recit-pied { gap: 10px; }
.btn-voix { margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--nuit); background: var(--papier-creux); color: var(--nuit); display: grid; place-items: center; padding: 0; }
.btn-voix svg { width: 24px; height: 24px; }
.btn-voix.coupee { color: var(--encre-douce); }
.btn-voix.parle { background: var(--or); animation: appel 1.2s infinite; }

/* ---------- version 0.5 : le choix de l'équipe ---------- */
.equipe { display: grid; gap: 4px; margin-bottom: 12px; }
.equipe b { font: 400 18px/1 var(--titre); color: var(--nuit); }
.choix-heros { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.choix { display: flex; align-items: center; gap: 6px; padding: 4px 12px 4px 4px; min-height: 44px; border-radius: 99px; border: 2px solid #d9c9a4; background: #fff; font-weight: 800; font-size: 13px; }
.choix svg { width: 34px; height: 34px; border-radius: 50%; flex: none; }
.choix.dedans { border-color: var(--nuit); background: var(--or); }
.capacite > span:last-child { max-width: 84px; text-align: center; line-height: 1.05; }
