
:root {
  --nuit: #0a0a1e;
  --panneau: rgba(16, 20, 52, .9);
  --panneau2: rgba(30, 38, 90, .92);
  --bord: #c9a24a;
  --bord-doux: rgba(201, 162, 74, .45);
  --bleu: #6a7ad8;
  --texte: #eef0ff;
  --doux: #aab2dc;
  --or: #ffd36a;
  --pv: #5fe08a;
  --pm: #4aa8ff;
  --lb: #ffd36a;
  --danger: #ff5a5a;
  --titre: 'Cinzel', Georgia, serif;
  --police: 'Nunito', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: radial-gradient(ellipse at 50% 30%, #1a1840, #05050f 70%); color: var(--texte); font-family: var(--police); overflow: hidden; }
body { display: flex; align-items: center; justify-content: center; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
input, select { -webkit-user-select: text; user-select: text; font-family: var(--police); }
button { font-family: var(--police); color: inherit; cursor: pointer; }
img, canvas { -webkit-user-drag: none; }
.hidden, .cache { display: none !important; }

#app { position: relative; width: min(100vw, 520px); height: 100vh; height: 100dvh; max-height: 1000px; overflow: hidden; background: var(--nuit); touch-action: manipulation; }
@media (min-width: 560px) { #app { border-radius: 14px; box-shadow: 0 0 0 1px rgba(201, 162, 74, .35), 0 30px 80px rgba(0, 0, 0, .7); height: min(100dvh - 24px, 1000px); } }
#gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.ecran { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; }
.petit { font-size: 13px; color: var(--doux); }
.centre { text-align: center; }

.btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 42px; padding: 8px 18px; margin: 4px;
  font-weight: 800; font-size: 15px; letter-spacing: .3px; color: #fff; background: linear-gradient(#3a4aa8, #222c70); border: 2px solid var(--bord); border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 3px 0 rgba(0, 0, 0, .4); }
.btn small { font-size: 11px; font-weight: 700; opacity: .85; }
.btn:active { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn:disabled { opacity: .45; filter: grayscale(.6); cursor: default; }
.btn.or { background: linear-gradient(#e0a838, #9a6a1a); color: #fff8e0; }
.btn.discret { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .25); }
.btn.danger { background: linear-gradient(#b03a3a, #6a1a1a); }
.rang { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-top: 8px; }

.pastille { display: inline-block; padding: 1px 7px; border-radius: 99px; font-size: 11px; font-weight: 900; color: #fff; white-space: nowrap; vertical-align: middle;
  text-shadow: 0 0 2px #000, 1px 1px 0 #000, -1px 1px 0 #000; border: 1px solid rgba(0, 0, 0, .5); }
.pastille[data-genre="double"] { box-shadow: 0 0 0 1px #fff inset; }
.pastille[data-genre="trio"] { box-shadow: 0 0 6px rgba(255, 255, 255, .8); }

.titre { align-items: center; justify-content: center; text-align: center; cursor: pointer; padding: 24px; }
.titre-logo { display: flex; flex-direction: column; align-items: center; margin-top: -18vh; }
.agim { font-family: var(--titre); font-weight: 800; font-size: clamp(64px, 22vw, 110px); line-height: 1; letter-spacing: 8px;
  background: linear-gradient(#fff6d0 20%, #ffd36a 50%, #a8741e 80%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 0 #3a2408) drop-shadow(0 0 24px rgba(255, 211, 106, .35)); }
.ktb { font-family: var(--titre); font-weight: 600; font-size: clamp(18px, 5.5vw, 26px); letter-spacing: 6px; color: #dfe6ff; text-transform: uppercase; margin-top: 4px; text-shadow: 0 2px 8px #000; }
.titre-sous { color: var(--doux); font-size: 14px; margin: 14px 0 0; }
.titre-touche { position: absolute; bottom: 22%; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--or); animation: clignote 1.6s ease-in-out infinite; }
.titre-pied { position: absolute; bottom: 12px; font-size: 11px; color: var(--doux); opacity: .75; padding: 0 16px; }
@keyframes clignote { 50% { opacity: .25; } }

.entete { display: flex; align-items: center; gap: 8px; padding: 10px 12px; padding-top: max(10px, env(safe-area-inset-top));
  background: linear-gradient(rgba(10, 12, 36, .95), rgba(10, 12, 36, .75)); border-bottom: 1px solid var(--bord-doux); }
.entete h2 { flex: 1; margin: 0; font-family: var(--titre); font-size: 19px; letter-spacing: 1px; color: #fff; text-shadow: 0 2px 4px #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.retour { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--bord); background: rgba(255, 255, 255, .06); font-size: 26px; line-height: 26px; padding: 0 0 4px; }
.logo-mini { font-family: var(--titre); font-weight: 800; color: var(--or); letter-spacing: 2px; }
.bourse { display: flex; gap: 6px; font-weight: 800; font-size: 13px; }
.bourse span { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 99px; background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .15); }
.bourse i { width: 11px; height: 11px; display: inline-block; }
.eclats i { background: linear-gradient(135deg, #ff9ce8, #6ad0ff); transform: rotate(45deg) scale(.85); border-radius: 2px; }
.gil i { background: radial-gradient(circle at 35% 35%, #fff2b0, #e0a020 60%, #8a5a10); border-radius: 50%; }

.menu .defile { flex: 1; overflow-y: auto; padding: 12px 12px 24px; -webkit-overflow-scrolling: touch; }
.bloc { background: var(--panneau); border: 1px solid var(--bord-doux); border-radius: 12px; padding: 12px; margin-bottom: 12px; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.bloc h3 { margin: 0 0 8px; font-family: var(--titre); font-size: 15px; color: var(--or); letter-spacing: .5px; }
.bloc p { margin: 6px 0; }

.accueil-corps { flex: 1; display: flex; flex-direction: column; justify-content: flex-start; gap: 10px; padding: 12px; overflow-y: auto; padding-bottom: 36%; }
.reprendre { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 16px; border-radius: 12px; text-align: left;
  background: linear-gradient(100deg, rgba(201, 162, 74, .9), rgba(120, 70, 20, .85)); border: 2px solid #ffe9a8; box-shadow: 0 6px 20px rgba(0, 0, 0, .4); }
.reprendre span { font-size: 11px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; opacity: .85; }
.reprendre b { font-family: var(--titre); font-size: 19px; }
.reprendre small { font-size: 12px; opacity: .85; }
.tuiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tuiles.petites { grid-template-columns: repeat(4, 1fr); }
.tuile { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; min-height: 86px; padding: 10px 12px; border-radius: 12px; text-align: left;
  border: 1px solid rgba(255, 255, 255, .25); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 4px 14px rgba(0, 0, 0, .35); background: var(--panneau2); }
.tuile b { font-family: var(--titre); font-size: 17px; text-shadow: 0 2px 4px #000; }
.tuile span { font-size: 11px; color: rgba(255, 255, 255, .8); font-weight: 700; }
.petites .tuile { min-height: 60px; padding: 8px; align-items: center; text-align: center; }
.petites .tuile b { font-size: 12px; font-family: var(--police); font-weight: 900; }
.petites .tuile span { font-size: 9px; }
.tuile.histoire { background: linear-gradient(140deg, #3a5ad8, #1a2470); }
.tuile.evenement { background: linear-gradient(140deg, #c04ad8, #4a1a70); }
.tuile.defi { background: linear-gradient(140deg, #d84a3a, #5a1410); }
.tuile.invocation { background: linear-gradient(140deg, #e0b040, #6a3a10); }

.etape { position: relative; display: block; width: 100%; text-align: left; padding: 10px 70px 10px 12px; margin: 6px 0; border-radius: 10px;
  background: linear-gradient(90deg, rgba(58, 74, 168, .55), rgba(20, 24, 60, .6)); border: 1px solid rgba(255, 255, 255, .15); }
.etape.faite { border-color: var(--bord-doux); }
.etape.verrou { opacity: .45; }
.et-nom { font-weight: 900; font-size: 15px; }
.et-info { font-size: 11px; color: var(--doux); margin-top: 2px; }
.et-etat { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 11px; font-weight: 900; color: var(--or); text-transform: uppercase; }
.ev-banniere { display: flex; flex-direction: column; padding: 14px; border-radius: 10px; background: linear-gradient(120deg, #6a2ad8, #c04a8a 60%, #e0a040); margin-bottom: 6px; }
.ev-banniere b { font-family: var(--titre); font-size: 20px; text-shadow: 0 2px 6px #000; }
.ev-banniere span { font-size: 11px; font-weight: 800; opacity: .9; }
.df-tete { display: flex; justify-content: space-between; align-items: baseline; }
.df-tete b { font-family: var(--titre); font-size: 18px; color: #ffb0a0; }
.df-tete span { font-size: 12px; color: var(--doux); }
.df-res { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.df-r { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 800; background: rgba(0, 0, 0, .35); padding: 2px 6px 2px 2px; border-radius: 99px; }

.prep-equipe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 10px 0; }
.prep-u { display: flex; flex-direction: column; align-items: center; font-size: 12px; font-weight: 800; }
.prep-u small { color: var(--doux); font-size: 10px; }
.portrait { width: 48px; height: 48px; image-rendering: pixelated; border-radius: 8px; background: radial-gradient(circle, #3a4aa8, #141a48); border: 1px solid rgba(255, 255, 255, .25); }

.dialogue { position: absolute; left: 10px; right: 10px; bottom: 14px; z-index: 60; display: flex; gap: 10px; align-items: flex-start; padding: 12px; padding-right: 64px; min-height: 100px;
  background: linear-gradient(rgba(20, 26, 70, .96), rgba(10, 12, 36, .96)); border: 2px solid var(--bord); border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, .6); cursor: pointer; }
.dialogue img { width: 64px; height: 64px; image-rendering: pixelated; border-radius: 8px; border: 1px solid var(--bord-doux); background: #141a48; }
.dialogue b { font-family: var(--titre); color: var(--or); }
.dialogue p { margin: 4px 0 0; font-size: 15px; line-height: 1.35; }
.passer { position: absolute; top: 8px; right: 8px; font-size: 11px; font-weight: 800; padding: 4px 8px; border-radius: 99px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); }

.resultats { padding: 16px; justify-content: center; align-items: stretch; overflow-y: auto; padding-bottom: 34%; }
.victoire { text-align: center; font-family: var(--titre); font-size: 44px; margin: 8px 0 12px; color: var(--or); text-shadow: 0 3px 0 #5a3a08, 0 0 20px rgba(255, 211, 106, .5); }
.ligne-res { display: flex; justify-content: space-between; border-bottom: 1px dashed rgba(255, 255, 255, .12); padding: 3px 0; margin: 0 !important; }
.ligne-res b { color: var(--or); }
.res-unites { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 12px; }
.res-u { display: flex; flex-direction: column; align-items: center; padding: 6px; border-radius: 10px; background: var(--panneau); font-size: 12px; }
.res-u span { color: var(--doux); font-size: 11px; }
.res-u.monte span { color: var(--pv); font-weight: 900; }
.resultats > .btn { align-self: center; min-width: 180px; }

.portail { text-align: center; padding: 16px 12px; margin-bottom: 12px; border-radius: 14px; border: 2px solid var(--bord);
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 211, 106, .35), transparent 60%), linear-gradient(#2a1a5a, #120a30); }
.portail h3 { font-family: var(--titre); font-size: 22px; margin: 10px 0 4px; color: var(--or); }
.portail-art { display: flex; justify-content: center; gap: 22px; }
.vedette { display: flex; flex-direction: column; align-items: center; font-size: 13px; }
.vedette .portrait { width: 84px; height: 84px; border-color: var(--or); box-shadow: 0 0 18px rgba(255, 211, 106, .5); }
.vedette span { color: var(--or); font-size: 11px; }
.modale.invoc { background: radial-gradient(circle at 50% 30%, #2a1a5a, #05030f); min-height: 60%; display: flex; flex-direction: column; justify-content: center; }
.invoc-anim { position: relative; min-height: 260px; overflow: hidden; }
.invoc-anim > i { position: absolute; left: var(--x); top: -40px; width: 16px; height: 24px; background: #6ad0ff; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  filter: drop-shadow(0 0 10px #6ad0ff); animation: tombe 1.4s cubic-bezier(.5, 0, .7, 1) forwards; animation-delay: calc(var(--i) * 70ms); }
.invoc-anim.r4 > i { background: #ffd36a; filter: drop-shadow(0 0 10px #ffd36a); }
.invoc-anim.r5 > i { background: linear-gradient(#ff6a6a, #ffd36a, #5fe08a, #6ad0ff, #c06aff); filter: drop-shadow(0 0 14px #fff); }
@keyframes tombe { to { top: 105%; transform: rotate(360deg); } }
.invoc-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-bottom: 10px; }
.invoc-carte { display: flex; flex-direction: column; align-items: center; padding: 8px 4px; border-radius: 10px; font-size: 12px; background: var(--panneau2); border: 1px solid rgba(255, 255, 255, .2);
  opacity: 0; animation: revele .4s ease-out forwards; animation-delay: calc(var(--i) * 90ms); }
.invoc-carte em { font-style: normal; font-size: 10px; font-weight: 900; color: var(--pv); }
.invoc-carte.r4 { border-color: #ffd36a; }
.invoc-carte.r5 { border-color: #fff; box-shadow: 0 0 16px rgba(255, 180, 255, .7); background: linear-gradient(160deg, #6a2ad8, #1a2470 60%, #c08a1a); }
.invoc-carte span { color: var(--or); font-size: 10px; }
@keyframes revele { from { opacity: 0; transform: scale(.6) rotateY(90deg); } to { opacity: 1; transform: none; } }

.box { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.box.compact { max-height: 52vh; overflow-y: auto; }
.box-u { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 8px 4px; border-radius: 10px; background: var(--panneau); border: 1px solid rgba(255, 255, 255, .15); font-size: 12px; }
.box-u .portrait { width: 56px; height: 56px; }
.box-u span { font-size: 10px; letter-spacing: -1px; }
.box-u small { font-size: 10px; color: var(--doux); }
.box-u.r3 span { color: #d89a6a; } .box-u.r4 span { color: #dfe6ff; } .box-u.r5 span { color: var(--or); } .box-u.r6 span { color: #ff9ce8; }
.box-u.r5 { border-color: var(--bord-doux); }
.box-u.dansequipe { box-shadow: 0 0 0 2px var(--bleu) inset; }
.box-u.retirer { justify-content: center; color: var(--danger); }
.fiche { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.fiche-sprite { flex: none; width: 120px; height: 140px; display: flex; align-items: flex-end; justify-content: center; border-radius: 12px; border: 1px solid var(--bord-doux);
  background: radial-gradient(ellipse at 50% 90%, rgba(255, 255, 255, .15), transparent 60%), linear-gradient(#20286a, #0c1030); overflow: hidden; }
.grand-sprite { width: 132px; image-rendering: pixelated; margin-bottom: -18px; }
.fiche-info h3 { margin: 0; font-family: var(--titre); font-size: 22px; }
.fiche-info h3 small { font-size: 12px; color: var(--doux); font-family: var(--police); }
.fiche-info p { margin: 4px 0; font-size: 13px; }
.etoiles { color: var(--or); }
.citation { font-style: italic; color: var(--doux); font-size: 12px !important; }
.exp { height: 6px; background: rgba(0, 0, 0, .5); border-radius: 3px; overflow: hidden; }
.exp i { display: block; height: 100%; background: linear-gradient(90deg, #6ad0ff, #c06aff); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.stats div { display: flex; justify-content: space-between; padding: 4px 8px; border-radius: 6px; background: rgba(0, 0, 0, .3); font-size: 13px; }
.stats span { color: var(--doux); font-weight: 800; }
.slots { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.slot { display: flex; flex-direction: column; align-items: flex-start; text-align: left; padding: 8px; border-radius: 8px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .15); }
.slot span { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: var(--doux); font-weight: 800; }
.slot b { font-size: 13px; }
.slot small { font-size: 10px; color: var(--pv); }
.capa { padding: 8px; border-radius: 8px; background: rgba(0, 0, 0, .28); margin-bottom: 6px; }
.capa.lim { border: 1px solid var(--bord); background: linear-gradient(90deg, rgba(201, 162, 74, .25), rgba(0, 0, 0, .3)); }
.m-frames { font-size: 10px; color: var(--doux); opacity: .8; margin-top: 2px; }

.eq-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.eq-slot { display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 120px; justify-content: center; border-radius: 12px; background: var(--panneau); border: 1px solid var(--bord-doux); }
.eq-slot.vide { border-style: dashed; font-size: 30px; color: var(--doux); }
.eq-slot small { font-size: 11px; color: var(--doux); }

.table-defile { overflow-x: auto; margin: 0 -4px; }
.fusions { border-collapse: separate; border-spacing: 2px; font-size: 9px; }
.fusions th { padding: 0; }
.fusions th .pastille { font-size: 8px; padding: 1px 4px; }
.fusions td { padding: 5px 3px; text-align: center; font-weight: 800; border-radius: 4px; white-space: nowrap; text-shadow: 0 0 2px #000, 1px 1px 0 #000;
  background: linear-gradient(135deg, var(--c1) 50%, var(--c2) 50%); }
.fusions td[data-genre="neutre"], .fusions td[data-genre="simple"] { opacity: .65; }
.fusions td[data-genre="double"] { outline: 1px solid #fff; }
.regles { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.45; }
.regles li { margin-bottom: 4px; }
.calc { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.calc select, .calc input { background: #10143a; color: var(--texte); border: 1px solid var(--bord-doux); border-radius: 6px; padding: 6px; font-size: 14px; }
.calc input { width: 76px; }
.calc label { font-size: 13px; }
.calc-sortie { margin-top: 8px; font-size: 13px; }
.calc-sortie b { color: var(--or); }

.modale-fond { position: absolute; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(4, 4, 14, .72); backdrop-filter: blur(2px); }
.modale { width: 100%; max-height: 88%; overflow-y: auto; padding: 16px; border-radius: 14px; background: linear-gradient(#1c2460, #0e1234); border: 2px solid var(--bord); box-shadow: 0 20px 60px rgba(0, 0, 0, .7); text-align: center; }
.modale h3 { margin: 0 0 8px; font-family: var(--titre); color: var(--or); }
.modale .m-liste { text-align: left; }
.res { width: 100%; border-collapse: collapse; font-size: 13px; margin: 8px 0; }
.res th { font-size: 11px; color: var(--doux); text-align: left; }
.res td { padding: 3px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.res td.faible { color: #ffb040; font-weight: 900; } .res td.fort { color: #8ab0ff; } .res td.immun { color: #9a9aaa; text-decoration: line-through; }
.mods { text-align: left; font-size: 12px; color: var(--doux); padding-left: 18px; }

#toasts { position: absolute; top: 60px; left: 0; right: 0; z-index: 80; display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; }
.toast { padding: 8px 14px; border-radius: 99px; background: rgba(10, 12, 36, .95); border: 1px solid var(--bord); font-size: 13px; font-weight: 800; animation: toast 2.4s forwards; }
@keyframes toast { 0% { opacity: 0; transform: translateY(-8px); } 10%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.erreur-gl { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; text-align: center; }

:root { --ffbe-panneau: linear-gradient(180deg, #2a4ab0 0%, #16287a 40%, #0e1c5a 100%); --ffbe-bord: #8aa0d0; }
.bloc, .etape, .box-u, .modale, .slot, .eq-slot, .res-u, .invoc-carte, .capa, .stats div {
  background: var(--ffbe-panneau); border: 2px solid var(--ffbe-bord); border-radius: 6px;
  box-shadow: 0 0 0 2px #070c24, inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -12px 20px rgba(0, 0, 30, .3); }
.capa, .stats div, .slot { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); border-width: 1px; }
.bloc h3, .modale h3 { color: #fff; text-shadow: 0 2px 0 #000; }
.bloc h3::after { content: ''; display: block; height: 1px; margin-top: 5px; background: linear-gradient(90deg, var(--ffbe-bord), transparent); }
.etape.faite { border-color: #c9a24a; }
.box-u.r5 { border-color: #ffd36a; } .box-u.r6 { border-color: #ff9ce8; }
.btn { border-radius: 6px; border-color: #9ab8e8; font-style: italic; text-transform: uppercase; font-size: 14px;
  background: linear-gradient(#5aa0f0, #2a5ac8 45%, #1a3488 55%, #24489a); text-shadow: 0 2px 0 #0a1440; box-shadow: 0 0 0 2px #0c1630, inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn small { text-transform: none; font-style: normal; }
.btn.or { background: linear-gradient(#ffd36a, #e09a20 45%, #a86a10 55%, #c08020); border-color: #ffe9a8; }
.btn.discret { background: linear-gradient(#3a4a7a, #1a2448); border-color: #6a7aa8; }
.btn.danger { background: linear-gradient(#e05a5a, #a02a2a 45%, #6a1414 55%, #8a2020); border-color: #f0a0a0; }
.entete { background: linear-gradient(#1a2a6a, #0a1236); border-bottom: 2px solid var(--ffbe-bord); box-shadow: 0 2px 0 #070c24; }
.retour { border-color: var(--ffbe-bord); background: linear-gradient(#3a5ac8, #1a2a70); }

.avec-nav .defile, .avec-nav .accueil-corps { padding-bottom: 12px; }
.nav { flex: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; padding: 4px 4px max(4px, env(safe-area-inset-bottom));
  background: linear-gradient(#2a2e48, #10121e); border-top: 2px solid #9aa4c8; box-shadow: 0 -2px 0 #070c24; }
.nav-b { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 4px 0 3px; border-radius: 6px; border: 1px solid transparent; background: none; color: #c8d0f0; }
.nav-b b { font-size: 10px; font-weight: 900; letter-spacing: .3px; }
.nav-b.actif { background: linear-gradient(#3a5ac8, #182a78); border-color: #9ab8e8; color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }
.nico { width: 26px; height: 22px; background: center / contain no-repeat; }
.nico-accueil { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l9 8h-3v9h-4v-6h-4v6H6v-9H3z' fill='%23ffd36a'/%3E%3C/svg%3E"); }
.nico-unites { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='9' cy='7' r='4' fill='%239ab8e8'/%3E%3Cpath d='M2 21c0-5 3-8 7-8s7 3 7 8z' fill='%239ab8e8'/%3E%3Ccircle cx='17' cy='8' r='3' fill='%23ffd36a'/%3E%3Cpath d='M15 13c4 0 7 3 7 7h-4c0-3-1-5-3-7z' fill='%23ffd36a'/%3E%3C/svg%3E"); }
.nico-objets { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 2h6v2h-1v4l5 8a4 4 0 01-3.5 6h-7A4 4 0 015 16l5-8V4H9z' fill='%235fe08a'/%3E%3Cpath d='M7 15h10l1 2a2.5 2.5 0 01-2.2 3H8.2A2.5 2.5 0 016 17z' fill='%2389ffc0'/%3E%3C/svg%3E"); }
.nico-invocation { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1l6 10-6 12-6-12z' fill='%23ff9ce8'/%3E%3Cpath d='M12 1l6 10h-6z' fill='%23ffe0f8'/%3E%3C/svg%3E"); }
.nico-menu { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 6h16M4 12h16M4 18h16' stroke='%23c8d0f0' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"); }

.onglets { flex: none; display: flex; gap: 4px; padding: 8px 12px 0; }
.onglet { flex: 1; padding: 7px 0; border-radius: 6px 6px 0 0; font-weight: 900; font-size: 13px; font-style: italic; text-transform: uppercase;
  color: #b8c4ec; background: linear-gradient(#1e2a5a, #121a40); border: 2px solid #4a5a8a; border-bottom: none; }
.onglet.actif { color: #fff; background: linear-gradient(#3a5ac8, #1a2a78); border-color: var(--ffbe-bord); }

.rang-joueur { display: flex; align-items: center; gap: 8px; padding: 6px 14px; font-weight: 900; background: rgba(4, 6, 20, .6); border-bottom: 1px solid rgba(138, 160, 208, .3); }
.rang-joueur span { font-size: 11px; font-style: italic; color: #b8c4ec; text-transform: uppercase; }
.rang-joueur b { font-size: 18px; color: var(--or); min-width: 24px; }
.rang-barre { flex: 1; height: 6px; background: #050818; border: 1px solid #4a5a8a; border-radius: 3px; overflow: hidden; }
.rang-barre i { display: block; height: 100%; background: linear-gradient(90deg, #4aa8ff, #9ae0ff); }
.accueil-corps { padding-bottom: 46% !important; gap: 10px; }
.banniere-accueil { display: flex; flex-direction: column; align-items: flex-start; padding: 14px 16px; border-radius: 6px; text-align: left; color: #fff;
  background: radial-gradient(ellipse at 85% 30%, rgba(255, 156, 232, .55), transparent 55%), linear-gradient(110deg, #3a1a7a, #6a2ab0 55%, #c08a1a);
  border: 2px solid #ffe9a8; box-shadow: 0 0 0 2px #070c24, 0 6px 18px rgba(0, 0, 0, .4); }
.banniere-accueil span { font-size: 10px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; color: #ffe9a8; }
.banniere-accueil b { font-family: var(--titre); font-size: 22px; text-shadow: 0 2px 4px #000; }
.banniere-accueil small { font-size: 12px; opacity: .9; }
.reprendre { border-radius: 6px; box-shadow: 0 0 0 2px #070c24; }
.portes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.porte-jeu { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 92px; padding: 10px 12px; border-radius: 8px; text-align: left; color: #fff; overflow: hidden;
  border: 2px solid #c8d8ff; box-shadow: 0 0 0 2px #070c24, inset 0 1px 0 rgba(255, 255, 255, .4); }
.porte-jeu b { position: relative; font-family: var(--titre); font-size: 24px; letter-spacing: 1px; text-shadow: 0 2px 0 #000, 0 0 10px rgba(0, 0, 0, .6); }
.porte-jeu span { position: relative; font-size: 11px; font-weight: 800; color: rgba(255, 255, 255, .85); }
.porte-jeu.monde { background: radial-gradient(circle at 70% 30%, #9ae0ff 0, transparent 40%), linear-gradient(160deg, #2a8a5a, #1a4a8a 60%, #0e1c5a); }
.porte-jeu.vortex { background: radial-gradient(circle at 30% 35%, #ff9ce8 0, #9a3ad8 22%, transparent 48%), linear-gradient(160deg, #4a1a8a, #1a1050 70%); }
.porte-jeu::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-30deg, rgba(255, 255, 255, .05) 0 6px, transparent 6px 14px); }

.objet .obj-tete { display: flex; align-items: center; gap: 8px; }
.objet .obj-tete b { flex: 1; font-size: 15px; }
.obj-ico { width: 22px; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 2h6v2h-1v4l5 8a4 4 0 01-3.5 6h-7A4 4 0 015 16l5-8V4H9z' fill='%235fe08a'/%3E%3C/svg%3E") center / contain no-repeat; }
.obj-n { font-weight: 900; color: var(--or); }
.obj-slot { font-size: 10px; font-weight: 900; text-transform: uppercase; color: #b8c4ec; min-width: 64px; }
.bloc.lien { display: flex; flex-direction: column; align-items: flex-start; width: 100%; text-align: left; color: #fff; }
.bloc.lien b { font-family: var(--titre); font-size: 17px; }
.bloc.lien span { font-size: 12px; color: #b8c4ec; }

.bloc.lien.admin { border-color: #f0a0a0; background: repeating-linear-gradient(-45deg, rgba(255, 90, 90, .12) 0 8px, transparent 8px 16px), var(--ffbe-panneau); }
.bloc.lien.admin b { color: #ffd0d0; }
.offres { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.offre { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 54px; padding: 6px; border-radius: 6px; color: #fff;
  background: linear-gradient(#5aa0f0, #2a5ac8 45%, #1a3488 55%, #24489a); border: 2px solid #9ab8e8; box-shadow: 0 0 0 2px #0c1630, inset 0 1px 0 rgba(255, 255, 255, .5); }
.offre b { font-size: 14px; font-weight: 900; text-shadow: 0 2px 0 #0a1440; }
.offre small { font-size: 10px; opacity: .85; }
.offre.or { background: linear-gradient(#ffd36a, #e09a20 45%, #a86a10 55%, #c08020); border-color: #ffe9a8; }
.offre.discret { background: linear-gradient(#3a4a7a, #1a2448); border-color: #6a7aa8; }
.offre:active { transform: translateY(1px); }
.vers-invoc { display: flex; width: 100%; margin: 4px 0 0; }

.combat { pointer-events: none; }
.combat > * { pointer-events: auto; }
.combat .cb-flottants { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 5; }
.cb-haut { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; padding-top: max(8px, env(safe-area-inset-top));
  background: linear-gradient(rgba(5, 6, 20, .85), rgba(5, 6, 20, 0)); font-size: 12px; font-weight: 800; }
.cb-titre { display: flex; flex-direction: column; min-width: 0; }
.cb-etape { font-family: var(--titre); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 3px #000; }
.cb-vague { color: var(--or); font-size: 11px; }
.cb-infos { display: flex; gap: 8px; align-items: center; }
.cb-tour { color: var(--doux); }
.cb-champ { position: relative; flex: 1; }
.cb-banniere { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; align-items: center; padding: 5px 14px; border-radius: 6px; white-space: nowrap;
  background: linear-gradient(90deg, rgba(10, 14, 50, 0), rgba(10, 14, 50, .9) 15%, rgba(10, 14, 50, .9) 85%, rgba(10, 14, 50, 0)); font-weight: 900; font-size: 14px; pointer-events: none; }
.cb-banniere.ennemie { background: linear-gradient(90deg, rgba(70, 10, 20, 0), rgba(70, 10, 20, .9) 15%, rgba(70, 10, 20, .9) 85%, rgba(70, 10, 20, 0)); }
.cb-annonce { position: absolute; top: 38%; left: 0; right: 0; text-align: center; font-family: var(--titre); font-weight: 800; font-size: 34px; pointer-events: none;
  color: #fff; text-shadow: 0 3px 0 #000, 0 0 18px rgba(106, 122, 216, .9); }
.cb-annonce.joue { animation: annonce 1.7s ease-out forwards; }
.cb-annonce.limite { color: var(--or); text-shadow: 0 3px 0 #5a3a08, 0 0 24px rgba(255, 211, 106, .9); font-size: 30px; }
.cb-annonce.boss { color: #ffb0a0; font-size: 20px; text-shadow: 0 2px 0 #000, 0 0 16px rgba(255, 80, 60, .9); padding: 0 16px; }
.cb-annonce.victoire { color: var(--or); font-size: 46px; animation-duration: 2.2s; }
.cb-annonce.defaite { color: #ff8a8a; }
@keyframes annonce { 0% { opacity: 0; transform: scale(1.6); letter-spacing: 12px; } 15% { opacity: 1; transform: scale(1); letter-spacing: 2px; } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(-10px); } }

.cb-bas { position: relative; padding: 0 6px; padding-bottom: max(6px, env(safe-area-inset-bottom));
  background: linear-gradient(rgba(6, 8, 26, .55), rgba(4, 6, 20, .97) 26px); }
.cb-cible { position: relative; display: flex; align-items: flex-end; gap: 8px; height: 30px; margin: 0 0 4px; cursor: pointer; }
.cb-cible.vide { visibility: hidden; }
.cb-cible-nom { position: absolute; left: 14px; top: -6px; font-size: 15px; font-weight: 800; color: #fff; text-shadow: 0 0 3px #000, 1px 1px 0 #000; white-space: nowrap; }
.cb-cible-barre { flex: 1; height: 12px; margin-left: 4px; border-radius: 2px; overflow: hidden; background: #1a0e10;
  border: 2px solid #b8963e; box-shadow: 0 0 0 1px #3a2a10, inset 0 2px 3px rgba(0, 0, 0, .7); }
.cb-cible-barre i { display: block; height: 100%; background: linear-gradient(#a8f070, #48c030 55%, #2a8a1a); transition: width .25s; }
.cb-loupe { flex: none; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .5px; padding: 3px 8px; border-radius: 99px; color: var(--or);
  border: 1px solid var(--bord-doux); background: rgba(0, 0, 0, .5); }
.cb-zone { height: clamp(196px, 30dvh, 262px); }
.cb-cartes { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 1fr); gap: 5px; height: 100%; }
.cb-barre { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; padding-top: 6px; }
.cb-bouton { height: 40px; border-radius: 6px; font-size: 15px; font-weight: 900; font-style: italic; letter-spacing: .5px; text-transform: uppercase; color: #fff;
  text-shadow: 0 2px 0 #0a1440, 0 0 4px #0a1440; background: linear-gradient(#5aa0f0, #2a5ac8 45%, #1a3488 55%, #24489a);
  border: 2px solid #9ab8e8; box-shadow: 0 0 0 2px #0c1630, inset 0 1px 0 rgba(255, 255, 255, .5); }
.cb-bouton.actif { background: linear-gradient(#ffd36a, #e09a20 45%, #a86a10 55%, #c08020); border-color: #ffe9a8; }
.cb-bouton.menu { background: linear-gradient(#3a6ad8, #1a3aa8 45%, #0c2478 55%, #18308a); }
.cb-bouton:disabled { filter: grayscale(.7) brightness(.7); }
.cb-bouton:active { transform: translateY(1px); }

.carte { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; padding: 4px 8px 5px 8px; border-radius: 5px; touch-action: none; cursor: pointer;
  background: linear-gradient(180deg, #2a4ab0 0%, #16287a 38%, #0e1c5a 100%);
  border: 2px solid #8aa0d0; box-shadow: 0 0 0 2px #070c24, inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -10px 18px rgba(0, 0, 30, .35); transition: filter .15s; }
.carte.vide { background: rgba(8, 12, 40, .6); border-color: rgba(138, 160, 208, .3); box-shadow: 0 0 0 2px #070c24; cursor: default; }
.carte.pret { border-color: #c8d8ff; }
.carte.agit { background: linear-gradient(180deg, #4a7ae8 0%, #2a48b0 38%, #1a2c80 100%); border-color: #fff; }
.carte.fini { filter: brightness(.55) saturate(.6); }
.carte.ko { filter: grayscale(1) brightness(.45); }
.carte.critique .c-barre.pv i { background: linear-gradient(90deg, #ff4a4a, #ff9a5a); }
.carte.critique .c-pv b { color: #ffb0a0; }
.carte:not(.vide):active { transform: scale(.985); }
.c-onglet { position: absolute; left: -2px; top: -2px; z-index: 2; width: 26px; height: 26px; padding: 0; border-radius: 5px 2px 8px 2px;
  background: linear-gradient(#3a3a48, #141420); border: 2px solid #8aa0d0; box-shadow: 0 0 0 1px #070c24; }
.ico { display: block; width: 100%; height: 100%; background: center / 70% no-repeat; }
.ico-attaque { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 3l-9 9-2-2 9-9h2z' fill='%23e6eeff'/%3E%3Cpath d='M5 13l6 6-1.5 1.5-1.8-1.8L5 21.4 2.6 19l2.7-2.7-1.8-1.8z' fill='%23c9a24a'/%3E%3C/svg%3E"); }
.ico-technique { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 20L20 4M8 21L21 8' stroke='%23ffd36a' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E"); }
.ico-magie { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.6 6.8L22 9.6l-5.6 4.8L18 22l-6-3.8L6 22l1.6-7.6L2 9.6l7.4-.8z' fill='%2389c8ff'/%3E%3C/svg%3E"); }
.ico-limite { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 1L4 14h7l-2 9 11-14h-7z' fill='%23ff8a3d'/%3E%3C/svg%3E"); }
.ico-garde { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l8 3v6c0 5-3.5 9-8 11-4.5-2-8-6-8-11V5z' fill='%239ab8e8'/%3E%3C/svg%3E"); }
.ico-objet { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 2h6v2h-1v4l5 8a4 4 0 01-3.5 6h-7A4 4 0 015 16l5-8V4H9z' fill='%235fe08a'/%3E%3Cpath d='M7 15h10l1 2a2.5 2.5 0 01-2.2 3H8.2A2.5 2.5 0 016 17z' fill='%2389ffc0'/%3E%3C/svg%3E"); }
.c-tete { display: flex; align-items: center; gap: 5px; min-width: 0; padding-left: 20px; }
.c-portrait { width: 30px; height: 30px; flex: none; image-rendering: pixelated; margin: -2px 0; }
.c-qui { flex: 1; display: flex; flex-direction: column; min-width: 0; line-height: 1.05; }
.c-nom { font-weight: 800; font-size: 15px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 0 #000; }
.c-action { font-size: 10px; color: rgba(255, 255, 255, .55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 800; }
.c-action.prepare { color: var(--or); }
.c-limite { flex: none; width: 34%; display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.c-limite span { font-size: 10px; font-weight: 900; font-style: italic; letter-spacing: .5px; color: #ff6a3a; text-shadow: 0 0 2px #000, 1px 1px 0 #3a0a00; }
.c-lb { width: 100%; height: 5px; border-radius: 2px; overflow: hidden; background: #0a0c20; border: 1px solid #6a80b8; transform: skewX(-20deg); }
.c-lb i { display: block; height: 100%; background: linear-gradient(90deg, #c08a1a, var(--lb)); transition: width .2s; }
.carte.lbplein .c-lb i { background: linear-gradient(90deg, #ff6a6a, #ffd36a, #5fe08a, #6ad0ff, #c06aff); background-size: 200% 100%; animation: arcenciel 1s linear infinite; }
.carte.lbplein .c-limite span { color: #ffe9a8; animation: clignote .8s infinite; }
@keyframes arcenciel { to { background-position: 200% 0; } }
.c-chiffres { display: grid; grid-template-columns: 1.7fr 1fr; gap: 8px; align-items: end; }
.c-pv, .c-pm { position: relative; display: flex; align-items: baseline; gap: 5px; padding-bottom: 5px; }
.c-pm { justify-content: space-between; }
.c-chiffres small { font-size: 11px; font-weight: 900; font-style: italic; color: #b8c8f0; }
.c-chiffres b { font-size: 19px; font-weight: 900; color: #fff; line-height: 1; letter-spacing: .3px; text-shadow: 0 2px 0 #000; white-space: nowrap; }
.c-chiffres b span { font-size: 13px; color: #d8e0ff; }
.c-barre { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #050818; border-radius: 1px; overflow: hidden; }
.c-barre i { display: block; height: 100%; background: linear-gradient(90deg, #3ab06a, var(--pv)); transition: width .2s; }
.c-barre.pm i { background: linear-gradient(90deg, #d0a020, #ffe060); }

.cb-menu { height: 100%; display: flex; flex-direction: column; background: rgba(8, 10, 32, .96); border: 1px solid var(--bord-doux); border-radius: 10px; overflow: hidden; }
.m-tete { display: flex; align-items: center; gap: 8px; padding: 6px 8px; background: rgba(255, 255, 255, .05); border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.m-tete img { width: 28px; height: 28px; image-rendering: pixelated; border-radius: 6px; }
.m-tete span { color: var(--pm); font-weight: 800; font-size: 12px; }
.m-fermer { margin-left: auto; padding: 4px 12px; border-radius: 99px; font-size: 12px; font-weight: 800; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .25); }
.m-liste { flex: 1; overflow-y: auto; padding: 4px; }
.m-cap { display: block; width: 100%; text-align: left; padding: 7px 8px; margin-bottom: 4px; border-radius: 8px; background: linear-gradient(90deg, rgba(58, 74, 168, .45), rgba(20, 24, 60, .4)); border: 1px solid rgba(255, 255, 255, .12); }
.m-cap.indispo { opacity: .4; }
.m-cap.choisie { border-color: var(--or); }
.m-haut { display: flex; align-items: center; gap: 6px; }
.m-nom { font-weight: 900; font-size: 13px; }
.m-cout { margin-left: auto; font-size: 11px; font-weight: 800; color: var(--pm); white-space: nowrap; }
.m-desc { font-size: 11px; color: var(--doux); margin-top: 2px; line-height: 1.3; }

.flot { position: absolute; transform: translate(-50%, -50%); font-weight: 900; font-size: 15px; color: #fff; white-space: nowrap; pointer-events: none;
  text-shadow: 0 0 3px #000, 2px 2px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000; animation: flot .9s ease-out forwards; }
.flot.faible { color: #ffcf5a; font-size: 20px; }
.flot.resiste { color: #9ab0e0; font-size: 14px; }
.flot.immun { color: #aaa; font-size: 13px; }
.flot.crit { color: #ff8a5a; font-size: 23px; }
.flot.subi { color: #ffb0b0; }
.flot.soin { color: #7dffb0; }
.flot.effet { font-size: 11px; color: #bfe8ff; animation-duration: 1.1s; }
.flot.effet.faible { color: #ffcf5a; font-size: 13px; }
.flot.trio { font-size: 12px; color: #ff9ce8; }
@keyframes flot { 0% { opacity: 0; transform: translate(-50%, -20%) scale(1.5); } 12% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 75% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -160%); } }
.chaine { position: absolute; transform: translate(-50%, -100%); white-space: nowrap; font-weight: 900; font-size: 13px; font-style: italic; color: #fff;
  text-shadow: 0 0 3px #000, 2px 2px 0 #000; animation: pop .25s ease-out; }
.chaine b { font-size: 22px; color: var(--or); }
.chaine em { display: block; font-size: 11px; font-style: italic; letter-spacing: .5px; text-align: center; }
.chaine em.etincelle { color: #ffe9a8; text-shadow: 0 0 6px #ffb020, 1px 1px 0 #000; }
.chaine em.elem { color: #9ae0ff; text-shadow: 0 0 6px #2a8aff, 1px 1px 0 #000; }
.chaine i { color: #ffe9a8; }
.chaine.max i { color: #ff6a6a; }
@keyframes pop { from { transform: translate(-50%, -100%) scale(1.4); } }

@media (max-height: 640px) {
  .cb-zone { height: 200px; }
  .c-portrait { width: 24px; height: 24px; } .c-chiffres b { font-size: 16px; } .cb-bouton { height: 34px; font-size: 13px; }
  .tuile { min-height: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  .flot, .chaine, .cb-annonce.joue, .invoc-anim > i, .invoc-carte { animation-duration: .01s !important; }
}
