/* ===================== VERSION MOBILE VERTICALE (téléphone en portrait) =====================
   Tout est limité à body.mobile : sur ordinateur (ou téléphone tourné) rien de ce fichier ne s'applique.
   Dessin en 374 px de large, mis à l'échelle de l'écran par mobile.js. Disposition validée sur la maquette du 24/11/2026. */
body.mobile #table{display:block;padding:0;overflow:hidden}
body.mobile .cadre{position:fixed;inset:0;width:auto;height:auto;transform:none!important;transition:none}
body.mobile .plateau{position:absolute;inset:0;left:0;top:0;width:100%;height:100%;transform:none;border:0;background:#0a0807;overflow:hidden}
body.mobile .plateau::before{display:none}
body.mobile .tourner{display:none!important}
body.mobile .menu-jeu{left:calc(8px + env(safe-area-inset-left,0px));right:auto;top:calc(8px + env(safe-area-inset-top,0px));justify-items:start;transition:none}
body.mobile .rapides{display:none}
body.mobile .chat-bouton{left:auto;right:calc(8px + env(safe-area-inset-right,0px));top:calc(8px + env(safe-area-inset-top,0px));transition:none}
body.mobile .obs-bouton{right:calc(8px + env(safe-area-inset-right,0px));top:calc(52px + env(safe-area-inset-top,0px));transition:none}
body.mobile .toast{bottom:auto;top:calc(54px + env(safe-area-inset-top,0px));max-width:calc(100% - 24px);text-align:center}
body.mobile .annonce div{font-size:26px;padding:14px 22px}
body.mobile .halo{left:0;top:0;width:100%;height:100%;border-radius:0}

.m-ecran{position:absolute;top:0;display:flex;flex-direction:column;transform-origin:0 0;overflow:hidden;color:var(--fg);font-family:var(--texte)}
.m-defile{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:none;overscroll-behavior:contain;padding-top:calc(env(safe-area-inset-top,0px) / var(--s,1));-webkit-overflow-scrolling:touch}
.m-defile::-webkit-scrollbar{display:none}
.m-defile button{font-family:inherit;color:inherit;cursor:pointer;border:0;padding:0;background:none}
.m-retour{position:absolute;right:10px;top:46%;z-index:30;width:42px;height:42px;border-radius:50%;background:var(--pierre-2);border:1px solid var(--or)!important;color:var(--or-pale);font-size:20px;font-weight:800;box-shadow:0 4px 14px #000c;display:grid;place-items:center;padding:0}
.m-retour[hidden]{display:none}

/* ----- adversaires ----- */
.m-haut{display:grid;grid-template-columns:58px 1fr 58px;grid-template-rows:auto auto auto;column-gap:8px;padding:6px 10px 0;height:290px;position:relative;
  background:linear-gradient(#d4a94e8c,#d4a94e8c) left bottom/66px 2px no-repeat,linear-gradient(#d4a94e8c,#d4a94e8c) right bottom/66px 2px no-repeat}
.m-haut::before,.m-haut::after{content:"";position:absolute;top:0;bottom:2px;width:2px;background:#d4a94e8c;pointer-events:none}
.m-haut::before{left:66px}.m-haut::after{right:66px}
.m-haut.deux,.m-haut.un{display:block;height:auto;background:none;padding:46px 10px 4px}
.m-haut.deux{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.m-haut.deux::before,.m-haut.deux::after,.m-haut.un::before,.m-haut.un::after{display:none}
.m-z{position:relative;border-radius:12px;display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;color:var(--fg)}
.m-z.c{grid-column:2;grid-row:1/4;gap:6px;padding:2px 0 0;background:linear-gradient(#0b141cb3,#0b141cb3),var(--fond,none) center/cover no-repeat}
.m-z.g,.m-z.d{grid-row:2/4;align-self:stretch;justify-content:space-between;padding:18px 0 6px;gap:4px}
.m-z.g{grid-column:1;background:linear-gradient(90deg,#3a1522d9,#22130fd9)}
.m-z.d{grid-column:3;background:linear-gradient(270deg,#241534d9,#16110fd9)}
.m-z.seul{gap:8px;padding:8px 6px;background:linear-gradient(#0b141cb3,#0b141cb3),var(--fond,none) center/cover no-repeat}
.m-z.t3g,.m-z.t3d{gap:5px;padding:8px 4px;border:1px solid #d4a94e66}
.m-z.t3g{background:linear-gradient(90deg,#3a1522d9,#22130fd9)}
.m-z.t3d{background:linear-gradient(270deg,#241534d9,#16110fd9)}
.m-z.actif{animation:m-lueur 1.5s ease-in-out infinite}
@keyframes m-lueur{50%{box-shadow:0 0 0 2px var(--or),0 0 22px #d4a94eaa}}
.m-z.elimine{filter:grayscale(1);opacity:.65}
.m-tete{display:flex;align-items:center;justify-content:center;gap:10px;width:100%}
.m-nom{font-family:var(--titre);font-weight:700;font-size:19px;letter-spacing:.08em;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.m-z.t3g .m-nom,.m-z.t3d .m-nom{font-size:15px;max-width:70px}
.m-coeurn{position:relative;width:46px;height:42px;display:grid;place-items:center;flex:none}
.m-z.t3g .m-coeurn,.m-z.t3d .m-coeurn{width:38px;height:35px}
.m-coeurn svg{position:absolute;inset:0;width:100%;height:100%}
.m-coeurn b{position:relative;font-size:15px;font-weight:800;margin-top:-3px}
.m-rondel{width:32px;height:32px;border-radius:50%;border:2px solid var(--or);display:grid;place-items:center;font-weight:800;font-size:14px;background:#120e0c;flex:none}
.m-z.t3g .m-rondel,.m-z.t3d .m-rondel{width:26px;height:26px;font-size:12px}
.m-nomb{font-family:var(--titre);font-weight:700;font-size:15px;letter-spacing:.06em}
.m-marques{display:flex;gap:4px;justify-content:center;flex-wrap:wrap;min-height:0}
.m-seuil,.m-tag{font-size:10px;font-weight:800;padding:1px 6px;border-radius:6px;line-height:1.3}
.m-seuil{background:#5a1a16;color:#ffb3a8}.m-tag{background:#2a221d;color:var(--mute)}.m-tag.deco{color:#ffb0a0}
.m-dosligne{display:flex;justify-content:center;max-width:100%}
.m-dosligne .m-carte{width:48px;margin-left:-8px;box-shadow:0 2px 6px #000c;flex:none}
.m-dosligne .m-carte:first-child{margin-left:0}
.m-z.t3g .m-dosligne .m-carte,.m-z.t3d .m-dosligne .m-carte{width:30px;margin-left:-6px}
.m-lieuxadv{display:flex;align-items:center;justify-content:center}
.m-lieuxadv .m-carte{width:52px;flex:none}
.m-z.t3g .m-lieuxadv .m-carte,.m-z.t3d .m-lieuxadv .m-carte{width:34px}
.m-poseesadv{display:flex;gap:4px;justify-content:center}.m-poseesadv .m-carte{width:30px}
.m-pile{position:relative;width:44px;height:122px;flex:none}
.m-pile .m-carte{position:absolute;left:0;width:44px}
.m-bcl{position:relative;z-index:2;margin:0 -9px;min-width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(#4a3615,#241a0a);border:2px solid var(--or);font-family:var(--titre);font-weight:900;font-size:14px;color:var(--or-pale);box-shadow:0 0 12px #d4a94e66;padding:0 3px;flex:none}
.m-lieuxadv .m-bcl{min-width:30px;height:30px;font-size:12px;margin:0 -8px}
.m-bcl.inactif{opacity:.5}
.m-haut.visee .m-z:not(.elimine){outline:2px solid var(--danger);outline-offset:-2px;animation:m-pulse 1.1s infinite;cursor:crosshair}
.m-haut.visee .m-z *{pointer-events:none}
@keyframes m-pulse{50%{box-shadow:0 0 0 3px #ff5a4d55}}
.fantome-z{position:absolute;margin:0;pointer-events:none;z-index:6;grid-area:auto}

/* ----- rivières, lieux ----- */
.m-zone{display:flex;flex-direction:column;gap:16px;padding:14px 10px 12px;position:relative}
.m-rang{display:grid;gap:3px}
.m-rang h3{margin:0;display:flex;justify-content:center;align-items:baseline;gap:10px;font-family:var(--titre);font-size:12px;letter-spacing:.16em;color:var(--or-pale);font-weight:600;text-transform:uppercase}
.m-rang h3 small{font-family:var(--texte);letter-spacing:0;color:var(--mute);font-size:10.5px;font-weight:600;text-transform:none}
.m-extra{display:inline-flex;gap:8px;align-items:baseline}
.m-mini{font:700 10.5px var(--texte)!important;padding:2px 8px!important;border-radius:8px;background:#2a221d!important;border:1px solid #5a4a38!important;color:var(--fg)}
.m-cartes{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.m-mes-lieux{display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:center;padding-top:2px}
.m-lieux{display:flex;align-items:center;justify-content:center}
.m-lieux .m-carte{width:44px}
.m-posees{display:flex;gap:6px;justify-content:center;align-items:center}
.m-posees .m-carte{width:36px}
.m-posee{display:block;width:36px;height:51px;border-radius:6px;border:1.5px dashed var(--ligne,#3a2f26);background:transparent}
.m-cpt{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:17px;border:2px solid;position:relative;background:#120e0c;justify-self:center}
.m-cpt small{position:absolute;bottom:-7px;font-size:8.5px;letter-spacing:.06em;text-transform:uppercase;background:#0d0a09;padding:0 4px;border-radius:5px;font-weight:700;white-space:nowrap}
.m-cpt.s{border-color:var(--sous,#e2b21c);color:var(--sous,#e2b21c)}
.m-cpt.p{border-color:var(--or);color:var(--or-pale);cursor:pointer}
.m-cpt.p.pret{box-shadow:0 0 0 3px #d4a94e55,0 0 12px #d4a94e66}

/* ----- cartes en miniature : illustration seule + nos pastilles, placées comme sur les vraies cartes ----- */
.m-carte{position:relative;aspect-ratio:360/512;border-radius:7px;background:#000;box-shadow:0 2px 6px #000a;display:block;width:100%;container-type:inline-size;--cd:max(20px,17cqw);--ic:max(14px,10cqw);--vd:max(16px,15cqw);color:#fff;padding:0;border:0}
.m-carte img{width:100%;height:100%;display:block;border-radius:7px;object-fit:cover}
.m-carte.achetable{box-shadow:0 0 0 2px var(--or),0 0 14px #d4a94e88}
.m-carte.ciblable{box-shadow:0 0 0 2px #4fc0a8,0 0 14px #4fc0a888}
.m-carte.trop-cher img{filter:saturate(.75) brightness(.82)}
.m-carte.sans-clic{pointer-events:none}
.m-carte.envers{background:#2a0d4a}
.m-carte .nm{position:absolute;top:4cqw;left:0;width:70%;padding:1.5cqw 3cqw;font-size:max(9px,8.5cqw);font-weight:800;text-transform:uppercase;letter-spacing:.01em;background:linear-gradient(90deg,#0d0a09f2 72%,#0d0a0900);color:#fff;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;pointer-events:none}
.m-carte .prix{position:absolute;right:4cqw;top:3cqw;width:var(--cd);height:var(--cd);border-radius:50%;background:radial-gradient(circle at 35% 30%,#ffe08a,#d4a02a 62%,#8a6212);color:#fff;font-size:max(11px,9.5cqw);font-weight:800;text-shadow:0 1px 2px #000a;box-shadow:0 1px 4px #000a;display:grid;place-items:center;pointer-events:none}
.m-carte .fam-ic{position:absolute;right:calc(4cqw + (var(--cd) - var(--ic)) / 2);top:calc(3cqw + var(--cd) + 1.5cqw);width:var(--ic);height:var(--ic);border-radius:50%;background:#1f6f66;border:1px solid #7fd1c4;display:grid;place-items:center;pointer-events:none;box-shadow:0 1px 3px #000a}
.m-carte .fam-ic svg{width:70%;height:70%}
.m-carte .vp{position:absolute;left:50%;top:85%;translate:-50% -50%;display:flex;gap:max(2px,2cqw);pointer-events:none}
.m-carte .vp.bas2{gap:max(8px,22cqw)}
.m-carte .vp i{width:var(--vd);height:var(--vd);border-radius:50%;display:grid;place-items:center;font-style:normal;font-weight:800;font-size:max(10px,9cqw);color:#fff;text-shadow:0 1px 2px #000a;box-shadow:0 1px 3px #000a}
.m-carte .vp i.d{background:radial-gradient(circle at 35% 30%,#ff7a6e,#c62828 60%,#6e0f0f)}
.m-carte .vp i.v{background:radial-gradient(circle at 35% 30%,#7fe39a,#1f9a4a 60%,#0d5a2a)}
.m-carte .vp i.s{background:radial-gradient(circle at 35% 30%,#ffe08a,#d4a02a 62%,#8a6212)}
.m-carte .txt{position:absolute;left:50%;top:71%;translate:-50% -50%;display:flex;align-items:center;justify-content:center;gap:max(2.5px,2.6cqw);min-width:max(32.5px,37.5cqw);height:max(12.5px,11.25cqw);border-radius:99px;background:#0d0a09e6;border:1px solid var(--or-sombre);pointer-events:none}
.m-carte .txt i{display:block;width:max(3.5px,3.8cqw);height:max(3.5px,3.8cqw);border-radius:50%;background:var(--or-pale)}
.m-carte.mini{--cd:15px;--ic:0px}
.m-carte.mini .fam-ic{display:none}
.m-carte.mini .prix{font-size:9px;right:2px;top:2px}
.m-carte.pleine .nm,.m-carte.pleine .vp,.m-carte.pleine .txt,.m-carte.pleine .prix,.m-carte.pleine .fam-ic{display:none}

/* ----- cœur, bouton d'action, pièces ----- */
.m-action{display:grid;grid-template-columns:54px 1fr 50px;gap:12px;align-items:center;padding:4px 14px 6px;position:relative;z-index:4}
.m-coeur{position:relative;width:54px;height:49px;display:grid;place-items:center}
.m-coeur svg{position:absolute;inset:0;width:100%;height:100%}
.m-coeur b{position:relative;font-size:17px;font-weight:800;margin-top:-4px}
.m-btn{min-height:48px;border-radius:99px;font:700 16px var(--texte);letter-spacing:.02em;background:linear-gradient(#e3bd62,#b98a30);color:#2a1d07;border:1px solid #f1d58c88;box-shadow:0 2px 0 #5a3f0f;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.1;width:100%;padding:0 10px}
.m-btn small{font-size:10.5px;font-weight:600;opacity:.8}
.m-btn.rouge,.m-btn.sec{flex-direction:row;gap:6px}
.m-btn.rouge{background:linear-gradient(#e0554a,#a82a22);color:#fff;border-color:#ff8a80aa;box-shadow:0 2px 0 #5a1612}
.m-btn.sec,.m-btn.inactif{background:var(--pierre-2);color:var(--fg);border-color:var(--ligne,#3a2f26);box-shadow:none}
.m-btn.inactif{opacity:.6;font-size:14px}
.m-btn.appel{animation:m-pulse 1.1s infinite}
.m-duo{display:grid;grid-template-columns:1fr auto;gap:6px;align-items:center}
.m-passer{height:40px;padding:0 10px!important;border-radius:99px;background:var(--pierre-2)!important;border:1px solid #5a4a38!important;font:700 12px var(--texte)!important}
.m-bdg{display:inline-grid;place-items:center;min-width:30px;height:30px;padding:0 6px;border-radius:15px;background:#0d0a09e6;border:2px solid #ff8a80;color:#ff8a80;font-weight:800;font-size:16px}

/* ----- ma main (éventail du PC) ----- */
.m-main{position:relative;height:128px;margin-top:-9px;display:grid;grid-template-columns:146px minmax(0,1fr);gap:8px;padding:0 10px;z-index:6}
.m-main.sans-piles{grid-template-columns:0 minmax(0,1fr);gap:0}
.m-piles{grid-column:1;display:flex;gap:6px;padding-top:20px;width:146px}
.m-main.sans-piles .m-piles{display:none}
.m-pl{position:relative;width:70px;height:99px;flex:none;border-radius:6px;display:block}
.m-pl>img,.m-pl .nul{width:100%;height:100%;object-fit:cover;border-radius:6px;display:block;box-shadow:0 2px 6px #000a}
.m-pl .nul{border:1.5px dashed #3a2f26;box-shadow:none}
.m-pl em{position:absolute;left:50%;translate:-50% 0;bottom:-7px;font-style:normal;font-size:11px;font-weight:800;background:#0d0a09;border:1px solid var(--or-sombre);border-radius:9px;padding:0 6px;color:var(--or-pale)}
.m-poignee{position:absolute;left:0;top:41px;width:10px;height:56px;border-radius:0 8px 8px 0;background:#2d2314;border:1px solid var(--or-sombre)!important;border-left:0!important;color:var(--or-pale);font-size:11px;line-height:1;padding:0 0 0 1px!important;display:grid;place-items:center;z-index:7}
.m-poignee::after{content:"";position:absolute;left:100%;top:-8px;bottom:-8px;width:14px}
.m-poignee[hidden]{display:none}
.m-eventail{position:relative;grid-column:2;height:100%;min-width:0;touch-action:none;user-select:none;-webkit-user-select:none}
.m-hc{position:absolute!important;top:20px;width:70px!important;transition:transform .18s,left .18s;box-shadow:0 4px 10px #000c}
.m-hc .vp{left:3px;translate:0 -50%;gap:2px}
.m-hc .vp i{width:var(--vd);height:var(--vd);font-size:calc(var(--vd) * .62)}
.m-hc .txt{left:3px;translate:none;top:70%;min-width:0;width:max(22.5px,30cqw)}
.m-hc.serre .vp,.m-hc.serre .txt{display:none}
.m-vide{margin:50px 0 0;font-style:italic;color:var(--mute);font-size:12.5px;text-align:center;position:absolute;left:0;right:0}
.m-bas{height:max(30px,calc(env(safe-area-inset-bottom,0px) / var(--s,1) + 16px))}

/* ----- carte en grand, défausse ----- */
.m-voile{position:fixed;inset:0;z-index:88;background:#000d;display:grid;place-items:center;padding:16px;animation:m-fondu .15s}
@keyframes m-fondu{from{opacity:0}}
.m-grande{display:block;width:min(88vw,360px);line-height:0;padding:0;background:none;border:0;cursor:pointer}
.m-grande img{width:100%;height:auto;max-height:86dvh;object-fit:contain;border-radius:16px;box-shadow:0 14px 44px #000}
.m-liste{place-items:start center;align-content:start;overflow:auto;padding:calc(20px + env(safe-area-inset-top,0px)) 14px 30px}
.m-liste h2{margin:0 0 12px;font-family:var(--titre);font-size:18px;letter-spacing:.08em;color:var(--or-pale);text-align:center;width:100%}
.m-liste .m-grille{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;width:min(100%,420px)}
.m-liste .m-fermer{margin-top:16px;padding:10px 24px;border-radius:99px;background:var(--pierre-2);border:1px solid var(--or);color:var(--fg);font-weight:700}
.m-liste .m-vide{position:static;grid-column:1/-1;margin:20px 0}
@media (prefers-reduced-motion:reduce){.m-z.actif,.m-btn.appel,.m-haut.visee .m-z{animation:none}.m-hc{transition:none}}

/* ===== mise à jour du 25/11/2026 : pièces en images, cartes posées sur deux lignes, glissement de la carte, consigne de choix calme, « Éliminer » en bleu ===== */
/* pièces (or) et sous (cuivre) : les mêmes images que sur le PC */
.m-jetons{display:inline-flex;align-items:center;flex:none;pointer-events:none}
.m-jeton{width:30px;height:33px;margin-left:-15px;background:center/contain no-repeat;filter:drop-shadow(0 2px 3px #000a);flex:none}
.m-jeton:first-child{margin-left:0}
.m-jeton.v1{background-image:url(pieces/piece-1.png)}.m-jeton.v2{background-image:url(pieces/piece-2.png)}
.m-jeton.v5{background-image:url(pieces/piece-5.png)}.m-jeton.v10{background-image:url(pieces/piece-10.png)}
.m-jetons.sou .m-jeton{width:26px;height:26px;margin-left:-13px}
.m-jetons.sou .m-jeton:first-child{margin-left:0}
.m-jetons.sou .m-jeton.v1{background-image:url(pieces/sou-1.png)}.m-jetons.sou .m-jeton.v2{background-image:url(pieces/sou-2.png)}
.m-jetons.sou .m-jeton.v5{background-image:url(pieces/sou-5.png)}.m-jetons.sou .m-jeton.v10{background-image:url(pieces/sou-10.png)}
.m-jetons.mini .m-jeton{width:21px;height:23px;margin-left:-11px}
.m-jetons.mini .m-jeton:first-child{margin-left:0}
.m-jetons.aucun{justify-content:center;text-align:center;width:38px;height:38px;border:1px dashed #ffffff55;border-radius:50%;font:700 8.5px/1.1 var(--texte);color:var(--mute)}
.m-jetons.mini.aucun{width:22px;height:22px;font-size:10px}
.m-reserve{display:flex;flex-direction:column;align-items:center;gap:6px;justify-self:center}
.m-reserve .m-jeton{width:25px;height:28px;margin-left:-13px}
.m-reserve .m-jeton:first-child{margin-left:0}
.m-reserve .sou .m-jeton{width:22px;height:22px;margin-left:-11px}
.m-reserve .sou .m-jeton:first-child{margin-left:0}
/* le bouton « prendre une pièce » : la petite pile animée */
.m-prendre{position:relative;width:44px;height:62px;justify-self:center;padding:0!important;background:none!important;border:0;opacity:.5;filter:grayscale(.55);transition:opacity .2s,filter .2s;-webkit-tap-highlight-color:transparent}
.m-prendre img{width:100%;height:100%;display:block;pointer-events:none;filter:drop-shadow(0 3px 4px #000a)}
.m-brille{position:absolute;inset:0;pointer-events:none;opacity:0;-webkit-mask:url(pieces/pile-fixe.png?v=2) center/contain no-repeat;mask:url(pieces/pile-fixe.png?v=2) center/contain no-repeat;background:linear-gradient(110deg,transparent 38%,#fffd 50%,transparent 62%) 150% 0/250% 100% no-repeat}
.m-prendre.pret{opacity:1;filter:none;animation:m-bob 2.2s ease-in-out infinite}
.m-prendre.pret .m-brille{opacity:1;animation:m-brille 2.6s linear infinite}
.m-prendre:active{transform:scale(.92)}
.m-prendre.prise{animation:m-prise .7s ease-out}
@keyframes m-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@keyframes m-brille{from{background-position:150% 0}to{background-position:-50% 0}}
@keyframes m-prise{0%{transform:scale(1)}25%{transform:scale(.86) rotate(-5deg)}55%{transform:scale(1.12) rotate(4deg)}100%{transform:scale(1) rotate(0)}}
/* cartes posées : plus de 3 = deux lignes de 3, alignées sur le haut des lieux */
.m-mes-lieux{align-items:start}
.m-posees.deux{display:grid;grid-template-columns:repeat(3,auto);gap:4px;justify-content:center}
.m-posees.deux .m-carte{width:28px}
/* glissement vers le haut sur une carte de la main : elle se soulève, brille quand elle est assez haute, retour doux */
.m-hc.leve{scale:1.07;filter:drop-shadow(0 12px 14px #000b);transition:filter .15s ease}
.m-hc.leve.pret{filter:drop-shadow(0 0 12px #e3bd62) drop-shadow(0 12px 14px #000b)}
.m-hc.retour{transition:translate .24s cubic-bezier(.2,.8,.3,1),scale .24s ease,filter .24s ease}
/* consigne d'un choix (détruire, acquérir) : ton doré calme au lieu du rouge, plus discrète */
body.mobile .bandeau{top:auto;bottom:calc(10px + env(safe-area-inset-bottom,0px));width:calc(100% - 20px);max-width:calc(100% - 20px);justify-content:space-between;background:#1b1612f2;border:1px solid var(--or-sombre);color:var(--or-pale);font-size:13px;padding:8px 12px;border-radius:12px;box-shadow:0 6px 18px #000a}
body.mobile .bandeau button{background:var(--pierre-2);border:1px solid var(--or-sombre);color:var(--fg)}
/* « Éliminer » en bleu acier, à part d'« Acheter » */
body.mobile .popover button.elim{background:#16222e;border-color:#4f7699;color:#b5d0e8}
body.mobile .popover button.elim:hover:not([disabled]){background:#1d3042;border-color:#8fb4d6}
/* menu ☰ : il défile et il est plus compact (le bas — Quitter, Abandonner — reste atteignable) */
body.mobile .menu-liste{max-height:calc(100dvh - 70px - env(safe-area-inset-top,0px));overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;grid-auto-rows:max-content;padding:4px}
body.mobile .menu-liste button{padding:8px 12px}
/* chat : centré sur l'écran */
body.mobile .chat-panneau{left:50%!important;right:auto!important;transform:translateX(-50%)}
/* lieu posé avec un pouvoir tête de mort : bouton sous la carte en grand */
.m-sacrifier{margin-top:14px;padding:12px 24px;border-radius:99px;background:#16222e;border:1px solid #4f7699;color:#b5d0e8;font-weight:700}
.m-voile:has(.m-sacrifier){align-content:center}
.m-voile:has(.m-sacrifier) .m-grande img{max-height:76dvh}

/* arbre des lieux nordiques */
.m-arbre{position:relative;display:flex;justify-content:center;margin:0 auto}
.m-arbre .arbre .m-carte{aspect-ratio:auto;box-shadow:none;border-radius:4px;overflow:hidden}.m-arbre .arbre .m-carte img{object-fit:cover}
.m-voirarbre{position:absolute;right:-30px;top:0;width:28px;height:28px;border-radius:50%;background:#000b;border:1px solid var(--or);color:var(--or-pale);font-size:15px;padding:0}
/* ===================== TABLE PORTRAIT, maquette du 30/11/2026 (529 px de large) ===================== */
.m-ecran.t2{box-sizing:border-box;padding:calc(env(safe-area-inset-top,0px) / var(--s,1) + 6px) 12px calc(env(safe-area-inset-bottom,0px) / var(--s,1) + 8px);background:#1e222a;overflow:visible}
body.mobile:not(.paysage) .plateau{background:#1e222a}
.t2 button{font-family:inherit;color:inherit;cursor:pointer;border:0;padding:0;background:none}
/* portraits */
.t2-av{position:relative;display:block;flex:none;width:46px;height:46px}
.t2-av-fond{position:absolute;inset:13%;border-radius:50%;overflow:hidden;background:#2a2016;display:grid;place-items:center;font:900 22px var(--titre);color:#f0cf8e}
.t2-av-fond img{width:100%;height:100%;object-fit:cover;object-position:50% 18%}
.t2-av.sans-cadre .t2-av-fond{inset:7%;border:2px solid #b98a3a}
.t2-cadre{position:absolute;inset:-2%;width:104%;height:104%;pointer-events:none}
/* l'adversaire affiché */
.t2-adv{position:relative;flex:none;padding-top:17px}
.t2-bandeau{position:relative;height:88px;margin-bottom:8px;background:center/100% 100% no-repeat}
.t2-bandeau.actif{filter:drop-shadow(0 0 7px #00bfff88)}
.t2-av.grand{position:absolute;left:4px;top:-3px;width:94px;height:94px}
.t2-av.grand .t2-av-fond{font-size:40px}
.t2-nomligne{position:absolute;left:106px;top:15px;right:200px;display:flex;align-items:center;gap:8px;color:#bfe4ee;min-width:0}
.t2-nom{font:500 26px/1.3 var(--titre);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;padding:0 1px}
.t2-nom.long{font-size:20px}
.t2-niv{font-size:15px;white-space:nowrap}.t2-niv b{font-size:17px}
.t2-bandeau .t2-adv-pieces{position:absolute;left:62px;bottom:-1px;z-index:3}
.t2-tag{font-size:11px;font-weight:800;padding:1px 7px;border-radius:6px;background:#3a211f;color:#ffb0a0;white-space:nowrap}
.t2-pv{position:absolute;right:28px;top:39px;font-weight:800;font-size:16px;color:#14c3ff}
.t2-vie{position:relative;display:block;height:13px;border-radius:6px;overflow:hidden;background:#9a8085;border:1.5px solid #d9bd85}
.t2-vie i{position:absolute;left:0;top:0;bottom:0;background:#00bfff;transition:width .4s}
.t2-vie em{position:absolute;top:0;bottom:0;width:2px;background:#ffffffb0}
.t2-vie.adv{position:absolute;left:104px;right:26px;bottom:16px}
.t2-vie.moi{flex:none}.t2-vie.moi i{background:#c4121d}
.t2-tas{position:absolute;right:114px;top:-8px;display:flex;gap:6px;z-index:2}
.t2-tas button{position:relative;width:37px;height:52px;border-radius:7px;display:block}
.t2 .t2-tas-def.vide{background:#6a6a6d;border:1.5px dashed #9a6aa8}
.t2-tas-def .m-carte{aspect-ratio:auto;width:37px;height:52px;pointer-events:none}
.t2 .t2-tas-pio{background:#43214f;border:1.5px solid #9a6aa8;color:#f0cf8e;font:600 12px var(--titre);display:grid;place-items:center}
.t2-tas em{position:absolute;right:-5px;bottom:-5px;min-width:17px;height:17px;border-radius:9px;background:#0d0a09;border:1px solid #d9bd85;color:#f0cf8e;font:800 11px/15px var(--texte);font-style:normal;text-align:center}
.t2-ligne{display:grid;grid-template-columns:272px minmax(0,1fr);gap:10px}
.t2-adv>.t2-ligne{margin-bottom:6px}
.t2-lieux{position:relative;height:104px;border-radius:12px;border:1.5px solid #3d5a66;background:linear-gradient(120deg,#2c4350,#544a3b);padding:0 6px 0 24px;display:flex;align-items:center;justify-content:center;cursor:pointer;min-width:0}
.t2-lab{position:absolute;left:6px;top:50%;transform:translate(0,-50%) rotate(180deg);writing-mode:vertical-rl;color:#14c3ff;font-weight:800;font-size:13px;letter-spacing:.04em}
.t2-lieux-c{display:flex;align-items:center;justify-content:center;min-width:0;pointer-events:none}
.t2-lieux-c>.m-carte{aspect-ratio:auto;height:60px;flex:none;border:1px solid #9a8050;border-radius:7px;overflow:hidden}
.t2-bcl,.t2-lieux .arbre-bcl{z-index:2;display:grid;place-items:center;border-radius:50%;background:#efcf8e;color:#241a0a;border:1.5px solid #8a6a2c;font-weight:800;box-shadow:0 1px 4px #000a;flex:none}
.t2-bcl{position:relative;width:27px;height:27px;margin:0 -9px;font-size:13px}.t2-bcl.gros{width:34px;height:34px;margin:0 -12px;font-size:16px}.t2-bcl.inactif{opacity:.55}
.t2-lieux .arbre-bcl{position:absolute}
.t2-lieux .arbre{position:relative}
.t2-lieux .arbre .m-carte{aspect-ratio:auto;border:1px solid #9a8050;border-radius:6px;overflow:hidden;clip-path:inset(1.5px round 6px)}
.t2-aucun{font-size:12px;font-weight:700;letter-spacing:.08em;color:#8f9aa3}
.t2-dr{display:grid;grid-template-rows:52px 46px;gap:6px;align-content:center;min-width:0}
.t2-mainadv{display:flex;justify-content:flex-start;min-width:0}
.t2-dos{flex:none;width:38px;height:52px;border-radius:7px;background:#43214f;border:1.5px solid #9a6aa8;color:#f0cf8e;font:600 12px var(--titre);display:grid;place-items:center;box-sizing:border-box;margin-left:calc(var(--pas,34px) - 38px)}
.t2-dos:first-child{margin-left:0}
.t2-tact{position:relative;display:flex;align-items:center;gap:5px;height:46px;padding:0 5px;border-radius:9px;background:#14181e;cursor:pointer;min-width:0}
.t2-tact.vide{justify-content:center;border:1px dashed #4a525c}
.t2-tact .m-carte{aspect-ratio:auto;width:33px;height:42px;flex:none;pointer-events:none;border:1px solid #9a8050;border-radius:6px;overflow:hidden}
.t2-plus{font-size:12px;font-weight:800;color:#f0cf8e}
/* les trois rivières */
.t2-riv{flex:1 1 0;min-height:0;max-height:206px;display:flex;flex-direction:column;gap:4px;border-top:1px solid #6b5a3a;padding:3px 0 6px}
.t2-riv header{display:flex;align-items:center;gap:10px;min-height:24px;white-space:nowrap}
.t2-riv h3{margin:0;font:500 18px var(--titre);color:#f3dcae;overflow:hidden;text-overflow:ellipsis}
.t2-riv header small{font-size:12px;color:#9aa4ad;overflow:hidden;text-overflow:ellipsis;min-width:0}
.t2 .t2-piles{margin-left:auto;display:flex;align-items:center;gap:5px;color:#f3dcae;font-size:13.5px;min-height:24px;padding-left:12px}
.t2-n{min-width:19px;padding:0 4px;border-radius:5px;background:#43214f;border:1px solid #9a6aa8;font-size:11px;font-weight:800;line-height:16px;text-align:center}.t2-n.def{background:#2a2f36;border-color:#6a747e}
.t2-extra{display:flex;gap:8px;align-items:center;min-width:0}
.t2 .t2-mini{font-size:12px;font-weight:700;padding:2px 9px;border-radius:8px;background:#efcf8e;color:#241a0a}
.t2-cartes{flex:1;min-height:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:minmax(0,1fr);gap:7px}
.t2 .t2-cartes .m-carte,.t2 .t2-hc{aspect-ratio:auto;height:100%;min-height:0;border:1px solid #7a6a50;border-radius:10px;overflow:hidden;background:#000}
.t2 .t2-cartes .m-carte img,.t2 .t2-hc img{position:absolute;inset:0;border-radius:0;object-position:50% 20%}
.t2 .t2-cartes .m-carte.achetable{box-shadow:0 0 0 2.5px #f0cf85,0 0 14px #d4a94eaa;border-color:#f0cf85}
.t2 .t2-cartes .m-carte.ciblable{box-shadow:0 0 0 2.5px #4fc0a8,0 0 14px #4fc0a888}
.t2 .t2-cartes .m-carte .nm,.t2 .t2-hc .nm{left:3px;right:3px;top:auto;bottom:3px;width:auto;padding:3px 4px;border-radius:7px;background:#15121cf0;text-transform:none;text-align:center;font-weight:600;font-size:13px}
.t2 .t2-hc .nm{font-size:11.5px}
.t2 .t2-cartes .m-carte .vp,.t2 .t2-hc .vp{left:5px;top:auto;bottom:28px;translate:none;gap:3px}
.t2 .t2-cartes .m-carte .vp i,.t2 .t2-hc .vp i{width:22px;height:22px;font-size:12px}
.t2 .t2-cartes .m-carte .txt,.t2 .t2-hc .txt{left:auto;right:5px;top:auto;bottom:32px;translate:none;min-width:30px;width:auto;height:13px;padding:0 4px;gap:3px}
.t2 .t2-cartes .m-carte .txt i,.t2 .t2-hc .txt i{width:4px;height:4px}
.t2 .t2-cartes .m-carte .prix,.t2 .t2-hc .prix{right:5px;top:5px;width:auto;min-width:27px;height:21px;padding:0 4px;border-radius:11px;background:#efcf8e;color:#241a0a;text-shadow:none;font-size:13px}
.t2 .m-carte .fam-ic{display:none}
.t2 .m-carte.pleine .nm,.t2 .m-carte.pleine .vp,.t2 .m-carte.pleine .txt{display:none}
/* ma zone */
.t2-moi{flex:none;display:flex;flex-direction:column;gap:7px;padding:7px 7px 8px;border:1.5px solid #8a7448;border-radius:16px;background:linear-gradient(#233238,#1c242a)}
.t2-moi.actif{border-color:#f0cf85;box-shadow:0 0 14px #d4a94e55}
.t2-moi .t2-ligne{grid-template-columns:262px minmax(0,1fr)}
.t2-moi .t2-lieux{height:108px}
.t2-cote{display:flex;flex-direction:column;justify-content:space-between;gap:2px;min-width:0;height:108px}
.t2-cote .t2-tact{height:44px;justify-content:flex-end}.t2-cote .t2-tact.vide{justify-content:center}
.t2-res{display:flex;align-items:center;justify-content:center;gap:9px;height:36px}
.t2-res .m-jetons .m-jeton{width:24px;height:27px;margin-left:-12px}.t2-res .m-jetons .m-jeton:first-child{margin-left:0}
.t2-res .m-jetons.sou .m-jeton{width:23px;height:23px;margin-left:-11px}.t2-res .m-jetons.sou .m-jeton:first-child{margin-left:0}
.t2-res .m-jetons.aucun{width:34px;height:34px}
.t2 .t2-res .m-prendre{width:30px;height:38px}
.t2-qui{display:flex;justify-content:space-between;align-items:baseline;gap:8px;padding:0 2px;white-space:nowrap}.t2-qui b{font:600 18px var(--titre);color:#f3e3c3;overflow:hidden;text-overflow:ellipsis}.t2-qui span{font-size:13px;font-weight:700}
.t2-main{position:relative;height:134px;user-select:none;-webkit-user-select:none}
.t2 .t2-hc{position:absolute!important;top:0;width:94px!important;height:134px;transition:transform .18s,left .18s;box-shadow:0 4px 10px #000c}
.t2 .t2-hc.cache{visibility:hidden}
.t2 .t2-hc.serre .vp,.t2 .t2-hc.serre .txt{display:none}
/* la carte soulevée garde son bord arrondi (aussi sur iPhone, où le cadre seul ne suffit pas pendant le déplacement) */
.t2 .t2-hc.leve,.t2 .t2-hc.retour{overflow:hidden;isolation:isolate}
.m-ecran.t2 .t2-hc.leve>img,.m-ecran.t2 .t2-hc.retour>img{border-radius:9px}
/* dock : adversaires, menu, action */
.t2-dock{flex:none;display:grid;grid-template-rows:100%;grid-template-columns:auto 62px minmax(0,1fr);gap:8px;align-items:center;height:66px;margin-top:6px;padding:0 8px;border:1.5px solid #6b5a3a;border-radius:16px;background:#10171a}
.t2-qui-dock{display:flex;align-items:center;gap:7px}
.t2 .t2-j{position:relative;display:block;border-radius:50%}
.t2-j .t2-av{width:52px;height:52px;transition:width .2s,height .2s}
.t2-j.choisi .t2-av{width:80px;height:80px}
.t2 .t2-j.choisi{translate:0 -6px;z-index:2}   /* le portrait affiché ressort, vers le haut */
.t2-qui-dock.trois{gap:9px}.t2-qui-dock.trois .t2-av{width:50px;height:50px}.t2-qui-dock.trois .choisi .t2-av{width:80px;height:80px}
.t2-j.actif .t2-av-fond{box-shadow:0 0 0 2px #f0cf85,0 0 12px #f0cf85}   /* joueur qui joue : or (avant : cyan, trop proche du turquoise des adversaires) */
.t2-j.elimine{filter:grayscale(1);opacity:.55}
.t2-j-pv{position:absolute;left:50%;bottom:-3px;translate:-50% 0;min-width:29px;padding:0 5px;border-radius:11px;background:#0d0a09e8;border:1.3px solid #14c3ff;color:#bfe9ff;font:800 13.7px/18px var(--texte);text-align:center}
.t2-ancre{position:absolute;inset:30%;pointer-events:none}
.t2 .t2-menu{position:relative;height:52px;border-radius:11px;background:linear-gradient(#f2d9a4,#d4a55c);color:#2a1d07;display:grid;place-items:center}
.t2-menu-n{position:absolute;right:-5px;top:-6px;min-width:20px;height:20px;border-radius:10px;background:#c0392b;color:#fff;font:800 11px/20px var(--texte);text-align:center}.t2-menu-n[hidden]{display:none}
.t2 .m-btn{height:52px;min-height:52px;border-radius:11px;font-size:19px;background:linear-gradient(#f2d9a4,#d4a55c);color:#1f1606}
.t2 .m-btn.rouge{background:linear-gradient(#e0554a,#a82a22);color:#fff}
.t2 .m-btn.sec,.t2 .m-btn.inactif{background:#2a2f36;color:#eadfca;border:1px solid #5a636d}
.t2 .m-duo .m-passer{height:52px;border-radius:11px!important;font-size:14px!important;color:#eadfca}
/* attaque : on touche la zone de l'adversaire affiché */
.t2-adv.visee{outline:3px solid #ff5a4d;outline-offset:2px;border-radius:14px;cursor:crosshair;animation:m-pulse 1.1s infinite}
.t2-adv.visee>*:not(.t2-cible){pointer-events:none}
.t2-cible{position:absolute;left:50%;bottom:-17px;translate:-50% 0;z-index:5;padding:9px 18px;border-radius:99px;background:#a82a22;border:2px solid #fff;color:#fff;font-weight:800;font-size:15px;white-space:nowrap;box-shadow:0 8px 22px #000c;pointer-events:none}
.t2-adv.elimine{filter:grayscale(1);opacity:.65}
/* plein écran : lieux, tactiques, piles */
.t2-plein{position:fixed;inset:0;z-index:60;display:flex;flex-direction:column;background:#101318fa;color:#eadfca;font-family:var(--texte);padding:env(safe-area-inset-top,0px) 0 env(safe-area-inset-bottom,0px);animation:m-fondu .15s}
.t2-p-tete{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-bottom:1px solid #6b5a3a}
.t2-p-tete h2{margin:0;font:700 21px var(--titre);color:#f3dcae}
.t2-p-x{flex:none;width:44px;height:44px;border-radius:50%;border:1px solid #b98a3a;background:#1b1612;color:#f3dcae;font-size:18px;cursor:pointer}
.t2-p-corps{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;align-items:center;justify-content:safe center;gap:12px;padding:14px 12px}
.t2-p-corps h3{margin:4px 0 0;font:600 15px var(--titre);color:#f3dcae}
.t2-p-grille{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;width:min(100%,520px)}
.t2-p-rang{display:grid;grid-template-columns:repeat(3,minmax(0,160px));justify-content:center;gap:34px 24px;width:100%;padding:0 10px;box-sizing:border-box}
.t2-p-lieu{position:relative;min-width:0}.t2-p-lieu>.m-carte{width:100%}
.t2-p-bcl{position:absolute;left:-31px;top:50%;translate:0 -50%;z-index:2;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#efcf8e;color:#241a0a;border:2px solid #8a6a2c;box-shadow:0 2px 8px #000c;font:800 15px var(--texte)}.t2-p-bcl.inactif{opacity:.55}
.t2-p-lieu.debut .t2-p-bcl{left:50%;top:-17px;translate:-50% -50%}   /* début de rangée : le bouclier se met au-dessus */
.t2-plein .arbre{position:relative;flex:none}
.t2-plein .arbre .m-carte{aspect-ratio:auto;border:1px solid #9a8050;border-radius:8px;overflow:hidden}
.t2-plein .arbre-bcl{position:absolute;display:grid;place-items:center;border-radius:50%;background:#efcf8e;color:#241a0a;font-weight:800;z-index:2}
.t2-plein .m-carte.a-sacrifier{box-shadow:0 0 0 3px #ff5a4d}
.t2-p-vide{margin:auto;color:#97896f;font-style:italic}
/* menu et consignes : au-dessus du dock ; le chat passe par le menu */
.t2-menu-chat{display:none}
body.mobile:not(.paysage) .menu-liste .t2-menu-chat{display:block}
body.mobile:not(.paysage) .menu-jeu{top:auto;bottom:calc(env(safe-area-inset-bottom,0px) + 74px);left:50%;translate:-50% 0}
body.mobile:not(.paysage) #btnMenu{visibility:hidden;height:0;min-height:0;padding:0;border:0;overflow:hidden}
body.mobile:not(.paysage) .menu-liste{max-height:calc(100dvh - 110px);min-width:240px}
body.mobile:not(.paysage) .chat-bouton{display:none}
body.mobile:not(.paysage) .bandeau{bottom:auto;top:calc(env(safe-area-inset-top,0px) + 6px)}   /* en haut : la main reste libre */
body.mobile:not(.paysage):has(.t2-adv.visee) .bandeau{display:none}   /* la zone visée et le bouton « Annuler » le disent déjà */
@media (prefers-reduced-motion:reduce){.t2-adv.visee{animation:none}}
/* affichage « à défiler » (au choix dans le menu) : cartes entières, la page défile, la barre du bas reste en place */
.t2-menu-vue{display:none}
body.mobile:not(.paysage) .menu-liste .t2-menu-vue{display:block}
.m-ecran.t2.defile .t2-corps{flex:1 1 0;min-height:0;display:flex;flex-direction:column;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;margin:0 -12px;padding:0 12px}
.m-ecran.t2.defile .t2-riv{flex:none;min-height:auto;max-height:none}
.m-ecran.t2.defile .t2-cartes{flex:none;grid-template-rows:auto}
.m-ecran.t2.defile .t2-cartes .m-carte{height:auto;aspect-ratio:360/512}
.m-ecran.t2.defile .t2-cartes .m-carte img,.m-ecran.t2.defile .t2-hc img{object-fit:contain;object-position:center}
.m-ecran.t2.defile .t2-dock{position:relative;z-index:30;box-shadow:0 -6px 18px #000c}
/* essai « zone d'écriture en grand » (joueur Toni3 seulement, voir mobile.js) */
.t2 .m-carte .t2-zone{position:absolute;left:0;right:0;bottom:0;display:block;width:auto;height:auto;background-repeat:no-repeat;pointer-events:none;z-index:1;box-shadow:0 -4px 9px #000b}
.t2 .m-carte .t2-zone.rond{left:21%;right:21%;bottom:24px;border-radius:50%;box-shadow:0 3px 9px #000b}
.t2 .m-carte.pleine .t2-zone.rond{bottom:13%}
.t2 .m-carte.t2-avec-zone .vp,.t2 .m-carte.t2-avec-zone .txt{display:none}
.t2 .m-carte.t2-avec-zone.t2-nom-haut:not(.pleine) .nm{top:3px;bottom:auto;right:36px}
/* la barre du bas descend : on ne garde qu’environ la moitié de la marge du trait d’accueil de l’iPhone */
.m-ecran.t2{padding-bottom:calc(env(safe-area-inset-bottom,0px) / var(--s,1) * .45 + 6px)}
/* ma zone (30/11/2026) : fond de la famille, cadre doré (lumineux à mon tour), tactiques en grand et bourse sur toute la largeur */
.t2 .t2-moi{background-color:#1c242a;background-size:cover;background-position:center;border:2px solid #d8b46a;box-shadow:inset 0 0 0 3px #0008,inset 0 0 0 4px #967032}
.t2 .t2-moi.actif{border-color:#ffd878;box-shadow:0 0 20px #ffc646aa,inset 0 0 0 3px #0008,inset 0 0 0 4px #967032}
.t2 .t2-moi .t2-cote{justify-content:center}
.t2 .t2-moi .t2-cote .t2-tact{height:108px;justify-content:center}
.t2 .t2-moi .t2-cote .t2-tact .m-carte{flex:0 1 68px;width:auto;min-width:0;height:96px}
.t2 .t2-bourse{display:grid;grid-template-columns:116px 132px minmax(0,1fr);gap:7px;align-items:center;height:66px;padding:0 5px;border:1px solid #8a7042;border-radius:12px;background:#12151bee}
.t2 .t2-argent{position:relative;display:flex;align-items:center;gap:5px;height:56px;min-width:0;border-right:1px solid #504634}
.t2 .t2-argent .t2-lab{position:static;transform:rotate(180deg);font-size:12px;flex:none}
.t2 .t2-argent .m-jetons .m-jeton{width:46px;height:50px;margin-left:-30px}
.t2 .t2-argent .m-jetons.sou .m-jeton{width:44px;height:44px;margin-left:-26px}
.t2 .t2-argent .m-jetons .m-jeton:first-child{margin-left:0}
.t2 .t2-argent .m-jetons.aucun{width:44px;height:44px;font-size:10.5px}
.t2-total{position:absolute;right:4px;bottom:-1px;min-width:23px;height:23px;padding:0 3px;border-radius:12px;border:1.5px solid #14c3ff;background:#0d0a09;color:#fff;font:800 14px/20px var(--texte);font-style:normal;text-align:center;z-index:2}
.t2 .t2-bourse .m-prendre{justify-self:stretch;width:auto;height:56px;display:flex;align-items:center;justify-content:center;gap:9px;border-radius:11px;border:1px solid #5a636d;background:#2a2f36!important;color:#eadfca;animation:none}
.t2 .t2-bourse .m-prendre.pret{background:linear-gradient(#f2d9a4,#d4a55c)!important;border-color:#f0cf85;color:#1f1606}
.t2-pile{position:relative;display:block;width:40px;height:50px;flex:none}
.t2 .m-prendre.pret .t2-pile{animation:m-bob 2.2s ease-in-out infinite}
.t2-prendre-txt{display:block;text-align:left;font:800 17px/1.15 var(--texte);white-space:nowrap}.t2-prendre-txt small{display:block;font-size:13px;font-weight:700;opacity:.8}
.t2 .t2-moi .t2-qui{margin-bottom:-3px;text-shadow:0 1px 4px #000}.t2 .t2-moi .t2-qui b{font-size:21px}.t2 .t2-moi .t2-qui span{font-size:15px}
.m-ecran.t2:not(.defile) .t2-moi{gap:5px}
.m-ecran.t2:not(.defile) .t2-moi .t2-lieux,.m-ecran.t2:not(.defile) .t2-moi .t2-cote,.m-ecran.t2:not(.defile) .t2-moi .t2-cote .t2-tact{height:94px}
.m-ecran.t2:not(.defile) .t2-moi .t2-cote .t2-tact .m-carte{height:82px;flex-basis:58px}
.m-ecran.t2:not(.defile) .t2-bourse{height:56px}.m-ecran.t2:not(.defile) .t2-bourse .t2-argent,.m-ecran.t2:not(.defile) .t2-bourse .m-prendre{height:48px}
.m-ecran.t2:not(.defile) .t2-bourse .t2-pile{height:42px;width:34px}
/* mode lisibilité (30/11/2026) : voir lisible.js ; mesures en unités de carte (360 de large) */
.m-ecran.t2 .t2-cartes .m-carte{--u:calc(121.25px / 360)}
.m-ecran.t2 .t2-hc{--u:calc(94px / 360)}
.m-ecran.t2 .m-carte .t2-lis{position:absolute;inset:0;display:block;pointer-events:none;color:#fff;font-family:var(--texte);font-weight:800;line-height:1;text-align:center;text-shadow:0 0 calc(var(--u) * 6) #000,0 calc(var(--u) * 3) calc(var(--u) * 4) #000}
.m-ecran.t2 .m-carte .t2-lis img.lis-p{position:static;inset:auto;display:block;flex:none;width:calc(var(--u) * 62);height:calc(var(--u) * 62);object-fit:contain;border-radius:0;max-width:none}
.m-ecran.t2 .m-carte .t2-lis img.lis-p.petit{width:calc(var(--u) * 52);height:calc(var(--u) * 52)}
.m-ecran.t2 .m-carte .t2-lis img.lis-p.grand{width:calc(var(--u) * 116);height:calc(var(--u) * 116);filter:drop-shadow(0 calc(var(--u) * 5) calc(var(--u) * 7) #000c)}
.m-ecran.t2 .m-carte .t2-lis img.lis-p.lis-type{position:absolute;left:calc(var(--u) * 12);top:calc(var(--u) * 94);width:calc(var(--u) * 52);height:calc(var(--u) * 52)}
.m-ecran.t2 .m-carte .t2-lis img.lis-p.lis-scar{position:absolute;left:calc(var(--u) * 14);top:calc(var(--u) * 18);width:calc(var(--u) * 70);height:calc(var(--u) * 86)}
.m-ecran.t2 .m-carte .t2-lis img.lis-p.lis-scar.n1{top:calc(var(--u) * 112)}
.m-ecran.t2 .m-carte .t2-lis img.lis-fam{position:absolute;inset:auto;right:calc(var(--u) * 24);top:calc(var(--u) * 108);width:calc(var(--u) * 44);height:calc(var(--u) * 44);object-fit:contain;border-radius:0;filter:drop-shadow(0 0 calc(var(--u) * 5) #000)}
.m-ecran.t2 .m-carte .t2-lis .lis-nom{position:absolute;left:0;top:calc(var(--u) * 20);max-width:calc(var(--u) * 250);text-align:left;text-transform:uppercase}
.m-ecran.t2 .m-carte .t2-lis .lis-nom b{display:block;padding:calc(var(--u) * 6) calc(var(--u) * 12);background:#000c;font-size:calc(var(--u) * 30);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.m-ecran.t2 .m-carte .t2-lis .lis-nom small{display:inline-block;max-width:100%;box-sizing:border-box;padding:calc(var(--u) * 3) calc(var(--u) * 12);background:#9c7a1ee6;font-size:calc(var(--u) * 19);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:top}
.m-ecran.t2 .m-carte .t2-lis .lis-cout,.m-ecran.t2 .m-carte .t2-lis .lis-r{display:grid;place-items:center;flex:none;background:center/contain no-repeat;-webkit-text-stroke:calc(var(--u) * 5) #3c1905;paint-order:stroke fill;text-shadow:none;filter:drop-shadow(0 calc(var(--u) * 4) calc(var(--u) * 6) #000b)}
.m-ecran.t2 .m-carte .t2-lis .lis-cout{position:absolute;right:calc(var(--u) * 3);top:calc(var(--u) * 3);width:calc(var(--u) * 100);height:calc(var(--u) * 100);background-image:url(lisible/sous.png);font-size:calc(var(--u) * 68)}
.m-ecran.t2 .m-carte .t2-lis .lis-cout.reduit{color:#9dffab}
.m-ecran.t2 .m-carte .t2-lis .lis-r{width:calc(var(--u) * 94);height:calc(var(--u) * 94);font-size:calc(var(--u) * 56)}
.m-ecran.t2 .m-carte .t2-lis .lis-r.petit{width:calc(var(--u) * 66);height:calc(var(--u) * 66);font-size:calc(var(--u) * 40)}
.m-ecran.t2 .m-carte .t2-lis .lis-r.degats{background-image:url(lisible/degats.png)}
.m-ecran.t2 .m-carte .t2-lis .lis-r.vies{background-image:url(lisible/vies.png)}
.m-ecran.t2 .m-carte .t2-lis .lis-r.sous{background-image:url(lisible/sous.png)}
.m-ecran.t2 .m-carte .t2-lis .lis-bas{position:absolute;left:calc(var(--u) * 6);right:calc(var(--u) * 6);bottom:calc(var(--u) * 6);display:flex;flex-direction:column;gap:calc(var(--u) * 6)}
.m-ecran.t2 .m-carte .t2-lis .lis-libre{display:flex;justify-content:center;gap:calc(var(--u) * 10)}
.m-ecran.t2 .m-carte .t2-lis .lis-bandeau{display:flex;flex-direction:column;gap:calc(var(--u) * 4);padding:calc(var(--u) * 5) calc(var(--u) * 4);border:calc(var(--u) * 3) solid #d6b264;border-radius:calc(var(--u) * 18);background:#0c0a0ed6}
.m-ecran.t2 .m-carte .t2-lis .lis-l{display:flex;align-items:center;justify-content:center;gap:calc(var(--u) * 14);min-height:calc(var(--u) * 68)}
.m-ecran.t2 .m-carte .t2-lis .lis-bandeau.serre .lis-l{min-height:calc(var(--u) * 56)}
.m-ecran.t2 .m-carte .t2-lis .lis-c{display:flex;align-items:center;gap:calc(var(--u) * 3);flex:none;max-width:calc(var(--u) * 150)}
.m-ecran.t2 .m-carte .t2-lis .lis-v{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:calc(var(--u) * 6);min-width:0}
.m-ecran.t2 .m-carte .t2-lis .lis-e{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:calc(var(--u) * 5)}
.m-ecran.t2 .m-carte .t2-lis .lis-m{font-size:calc(var(--u) * 34);line-height:1.05}
.m-ecran.t2 .m-carte .t2-lis .lis-x{font-size:calc(var(--u) * 44)}
.m-ecran.t2 .m-carte .t2-lis .lis-bcl{position:absolute;top:calc(var(--u) * 236);font-size:calc(var(--u) * 96);-webkit-text-stroke:calc(var(--u) * 8) #1d1206;paint-order:stroke fill;text-shadow:none}
.m-ecran.t2 .m-carte .t2-lis .lis-bcl.n0{left:calc(var(--u) * 24)}
.m-ecran.t2 .m-carte .t2-lis .lis-bcl.n1{right:calc(var(--u) * 24)}
.m-ecran.t2 .m-carte .t2-lis.depart .lis-nom{top:auto;bottom:calc(var(--u) * 18);left:0;right:0;max-width:none;text-align:center}
.m-ecran.t2 .m-carte .t2-lis.depart .lis-nom b{background:none;font-size:calc(var(--u) * 38);text-shadow:0 0 calc(var(--u) * 8) #000,0 0 calc(var(--u) * 3) #000}
.m-ecran.t2 .m-carte .t2-lis.depart .lis-nom small{display:none}
.m-ecran.t2 .m-carte .t2-lis.depart .lis-bas{bottom:calc(var(--u) * 70)}
.m-ecran.t2 .m-carte .t2-lis.depart .lis-libre .lis-r{width:calc(var(--u) * 150);height:calc(var(--u) * 150);font-size:calc(var(--u) * 94)}
.m-ecran.t2 .m-carte .t2-lis.depart img.lis-fam{top:calc(var(--u) * 16);right:calc(var(--u) * 16);width:calc(var(--u) * 76);height:calc(var(--u) * 76)}
.m-ecran.t2 .m-carte .t2-lis .lis-e img.lis-p{width:auto;height:calc(var(--u) * 76);max-width:calc(var(--u) * 120)}
.m-ecran.t2 .m-carte .t2-lis .lis-e img.lis-p.petit{height:calc(var(--u) * 54)}
.m-ecran.t2 .m-carte .t2-lis .lis-nom{max-width:calc(var(--u) * 240)}.m-ecran.t2 .m-carte .t2-lis .lis-nom b{white-space:normal;line-height:1.05}
.m-ecran.t2 .m-carte .t2-lis.scar .lis-nom{left:calc(var(--u) * 94);max-width:calc(var(--u) * 158)}
.m-ecran.t2 .m-carte .t2-lis img.lis-fam{box-sizing:border-box;width:calc(var(--u) * 50);height:calc(var(--u) * 50);right:calc(var(--u) * 22);padding:calc(var(--u) * 5);border-radius:50%;background:#f6ecd6e6}
.m-ecran.t2 .m-carte .t2-lis.depart img.lis-fam{width:calc(var(--u) * 80);height:calc(var(--u) * 80);right:calc(var(--u) * 14)}
.m-ecran.t2 .m-carte .t2-lis.scar .lis-nom b{font-size:calc(var(--u) * 23)}
.m-ecran.t2 .m-carte .t2-lis img.lis-p.lis-type{top:calc(var(--u) * 118)}
/* pictos d’effet : grands, sans fond (demande de Tonio) */
.m-ecran.t2 .m-carte .t2-lis .lis-e img.lis-p{box-sizing:border-box;width:auto;height:calc(var(--u) * 92);max-width:calc(var(--u) * 160);padding:0;border-radius:0;background:none}
.m-ecran.t2 .m-carte .t2-lis .lis-bandeau.serre .lis-e img.lis-p{height:calc(var(--u) * 72);max-width:calc(var(--u) * 128);padding:0}
.m-ecran.t2 .m-carte .t2-lis.quatre .lis-libre .lis-r{width:calc(var(--u) * 64);height:calc(var(--u) * 64);font-size:calc(var(--u) * 40)}
.m-ecran.t2 .m-carte .t2-lis.quatre .lis-bandeau .lis-l{min-height:calc(var(--u) * 46)}
.m-ecran.t2 .m-carte .t2-lis.quatre .lis-bandeau .lis-r.petit{width:calc(var(--u) * 48);height:calc(var(--u) * 48);font-size:calc(var(--u) * 30)}
.m-ecran.t2 .m-carte .t2-lis.quatre .lis-bandeau img.lis-p{height:calc(var(--u) * 46);max-height:calc(var(--u) * 46)}
.m-ecran.t2 .m-carte .t2-lis.quatre .lis-bandeau .lis-m{font-size:calc(var(--u) * 28)}
/* la main vivante (30/11/2026) : éventail, léger flottement, reflet à mon tour, carte qui suit le doigt */
.t2 .t2-main{overflow:visible}
.t2 .t2-main .t2-hc{transform:rotate(var(--a,0deg)) translateY(var(--dy,0px));transform-origin:50% 130%}
.t2 .t2-main.vivante .t2-hc{animation:t2-flotte 3.6s ease-in-out var(--d,0s) infinite}
@keyframes t2-flotte{0%,100%{translate:0 0}50%{translate:0 -4px}}
.t2 .t2-moi.actif .t2-main.vivante .t2-hc::before{content:"";position:absolute;inset:-10% 0;z-index:2;pointer-events:none;background:linear-gradient(115deg,transparent 40%,#fff3 47%,#fff8 50%,#fff3 53%,transparent 60%);translate:-135% 0;animation:t2-reflet 6s ease-in-out var(--e,0s) infinite}
@keyframes t2-reflet{0%,74%{translate:-135% 0}94%,100%{translate:135% 0}}
.t2 .t2-main .t2-hc:active{scale:1.04}
.t2 .t2-main .t2-hc.leve{animation:none;transform:none;scale:1.13;box-shadow:0 18px 30px #000d;transition:scale .14s ease,box-shadow .14s ease}
.t2 .t2-main .t2-hc.leve.pret{box-shadow:0 0 0 3px #ffd878,0 0 30px #ffc646e6,0 18px 30px #000d}
.t2 .t2-main .t2-hc.leve.pret::after{content:"▲ JOUER";position:absolute;left:6px;right:6px;top:34%;z-index:3;padding:5px 0;border-radius:99px;background:linear-gradient(#f2d9a4,#d4a55c);color:#1f1606;font:800 13px var(--texte);text-align:center;box-shadow:0 4px 10px #000c;animation:t2-pop .2s ease-out}
@keyframes t2-pop{from{scale:.6;opacity:0}to{scale:1;opacity:1}}
.t2 .t2-main .t2-hc.retour{animation:none;transition:translate .3s cubic-bezier(.2,1.5,.4,1),rotate .3s cubic-bezier(.2,1.5,.4,1),scale .22s ease,transform .3s ease}
@media (prefers-reduced-motion:reduce){.t2 .t2-main .t2-hc,.t2 .t2-main .t2-hc::before,.t2 .t2-main .t2-hc::after{animation:none!important}}
/* « Acheter » possible : bouton doré comme les autres actions (demande de Tonio, 30/11) ; grisé et sombre s’il manque des sous */
body.mobile:not(.paysage) .popover button[data-t="achat"]:not([disabled]){background:linear-gradient(#f2d9a4,#d4a55c);border-color:#f0cf85;border-left-color:#f0cf85;color:#1f1606}
/* la sphère d’attaque (voir sphere.js) */
.t2-sph{position:fixed;inset:0;z-index:55;pointer-events:none;overflow:hidden}
.t2-sph canvas{position:absolute;inset:0;width:100%;height:100%}
.t2-sph-d{z-index:1}
.t2-sph-f{z-index:3}
.t2-sph-alerte{position:absolute;inset:0;z-index:0;opacity:0;background:radial-gradient(ellipse at 50% 21%,transparent 44%,#ff2a00aa 100%)}
.t2-sph-boule{position:absolute;left:0;top:0;z-index:2;border-radius:50%;display:grid;place-items:center;text-align:center;will-change:transform}
.t2-sph-boule>i{position:absolute;inset:0;border-radius:50%}
.t2-sph-boule>.t2-sph-corps{background:radial-gradient(circle at 36% 28%,#ff9a86 0,#d4443a 18%,#a3302a 48%,#5c1210 82%,#3a0a09 100%);box-shadow:0 14px 30px #000b}
.t2-sph-boule>.t2-sph-braise{opacity:0;background:radial-gradient(circle at 50% 62%,#fff6c8 0,#ffc23a 22%,#ff6a00 46%,#c4180c 70%,#5a0a05 100%)}
.t2-sph-boule>.t2-sph-fis{position:absolute;inset:0;width:100%;height:100%;opacity:0;filter:drop-shadow(0 0 4px #ffb300)}
.t2-sph-boule>.t2-sph-crane{position:absolute;left:23%;top:7%;width:54%;height:54%;opacity:0;scale:.3;transition:opacity .18s,scale .35s cubic-bezier(.2,1.8,.4,1);filter:drop-shadow(0 4px 8px #000c)}
.t2-sph-boule.mortel>.t2-sph-crane{opacity:1;scale:1}
.t2-sph-lueur{animation:t2-sph-lueur .5s ease-in-out infinite alternate}
@keyframes t2-sph-lueur{from{opacity:.25}to{opacity:1}}
.t2-sph-txt{position:relative;display:block;line-height:1}
.t2-sph-boule.mortel .t2-sph-txt{position:absolute;left:0;right:0;bottom:9%}
.t2-sph-nb{display:block;color:#fff;font-weight:900;font-family:var(--texte);-webkit-text-stroke:6px #3a0705;paint-order:stroke fill;font-variant-numeric:tabular-nums}
.t2-sph-mot{display:block;color:#fff;font-weight:800;letter-spacing:.1em;text-transform:uppercase;text-shadow:0 1px 4px #000}
.t2-sph-boule.mortel .t2-sph-mot{display:none}
.t2-sph-leg{position:absolute;left:50%;z-index:4;translate:-50% 0;white-space:nowrap;max-width:calc(100% - 20px);box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;padding:8px 15px;border-radius:99px;background:#a3302a;color:#fff;font:800 14px var(--texte);box-shadow:0 8px 22px #000c}
.t2-sph-onde{position:absolute;z-index:1;box-sizing:border-box;border-radius:50%;border:4px solid #ff8a6a;translate:-50% -50%;animation:t2-sph-onde .55s ease-out forwards}
@keyframes t2-sph-onde{from{opacity:.9;scale:.75}to{opacity:0;scale:1.9}}
.t2-sph-gain{position:absolute;z-index:4;translate:-50% -50%;color:#ffd0c4;font:900 26px var(--texte);-webkit-text-stroke:5px #2a0503;paint-order:stroke fill;animation:t2-sph-gain .85s ease-out forwards}
@keyframes t2-sph-gain{from{opacity:1;transform:translateY(0) scale(.7)}30%{transform:translateY(-16px) scale(1.15)}to{opacity:0;transform:translateY(-54px) scale(1)}}
/* la vie en trois couleurs (30/11/2026) : voir zoneVie dans mobile.js */
.t2 .t2-vie.v-haut i{background:#d3161f}
.t2 .t2-vie.v-moyen i{background:linear-gradient(#e86bff,#b514e8)}
.t2 .t2-vie.v-bas i{background:linear-gradient(#4fe3ff,#0066ff)}
.t2 .t2-vie.v-moyen{box-shadow:0 0 10px 1px #d23cffcc}
.t2 .t2-vie.v-bas{box-shadow:0 0 12px 2px #00b4ffdd}
.t2 .t2-pv.v-haut,.t2 .t2-moi .t2-qui.v-haut span{color:#ff6f66}
.t2 .t2-pv.v-moyen,.t2 .t2-moi .t2-qui.v-moyen span{color:#e58bff}
.t2 .t2-pv.v-bas,.t2 .t2-moi .t2-qui.v-bas span{color:#45d4ff}
/* valeurs des boucliers sur les illustrations (30/11/2026) : lisibles même en petit */
.m-carte .t2-bv{position:absolute;top:53%;z-index:2;translate:0 -50%;font:900 24px/1 var(--texte);color:#fff;-webkit-text-stroke:5px #1d1206;paint-order:stroke fill;pointer-events:none}
.m-carte .t2-bv.g{left:3px}.m-carte .t2-bv.d{right:3px}
.m-carte .t2-bv.h,.m-carte .t2-bv.b{left:50%;translate:-50% 0}.m-carte .t2-bv.h{top:4%}.m-carte .t2-bv.b{top:auto;bottom:22%}
.m-carte .t2-bv.pg,.m-carte .t2-bv.pd{top:78%;font-size:19px}.m-carte .t2-bv.pg{left:3px}.m-carte .t2-bv.pd{right:3px}
.m-carte.pleine .t2-bv,.m-carte.lisible .t2-bv{display:none}
.t2-lieux .m-carte .t2-bv{font-size:23px}
.t2-plein .m-carte .t2-bv{font-size:32px;-webkit-text-stroke-width:6px}.t2-plein .m-carte .t2-bv.g{left:7px}.t2-plein .m-carte .t2-bv.d{right:7px}
/* la zone des lieux a le même fond que celle des tactiques (demande de Tonio, 30/11) */
.t2 .t2-lieux{background:#14181e}
/* le fond de famille de l'adversaire affiché (30/11/2026), un peu plus large que ses blocs sans les resserrer */
.t2 .t2-adv{margin:0 -6px;padding-left:6px;padding-right:6px;border-radius:14px;background-size:cover;background-position:center;box-shadow:inset 0 0 0 1.5px #8a744899}
.t2 .t2-nomligne .app-ic{width:19px;height:19px;margin:0}
.t2-j .app-ic{position:absolute;right:-5px;top:-3px;z-index:2;box-sizing:border-box;width:21px;height:21px;margin:0;padding:3px;border-radius:50%;background:#0d0a09ee;border:1px solid #14c3ff;color:#d7f1ff;pointer-events:none}

/* couleur de chaque adversaire (palette de Tonio, 30/11/2026) : liseré de la zone affichée, halo des portraits (les portraits ont déjà un cadre : un halo plutôt qu'une bordure) */
.t2 .t2-adv{box-shadow:inset 0 0 0 3px var(--cj,#8a744899)}   /* pas de halo sur le grand portrait du haut : seulement sur les avatars du dock (Tonio, 30/11/2026) */
.t2-adv .t2-av.grand{filter:drop-shadow(2px 0 0 #000) drop-shadow(-2px 0 0 #000) drop-shadow(0 2px 0 #000) drop-shadow(0 -2px 0 #000)}   /* bord noir net autour du cadre de rang, ou du rond (H) sans cadre (Tonio, 30/11/2026) */
.t2-j .t2-av{filter:drop-shadow(0 0 2px var(--cj)) drop-shadow(0 0 6px var(--cj)) drop-shadow(0 0 10px var(--cj))}
.t2-j.choisi .t2-av{filter:drop-shadow(0 0 3px var(--cj)) drop-shadow(0 0 9px var(--cj)) drop-shadow(0 0 16px var(--cj))}
.t2-j.elimine .t2-av{filter:grayscale(1)}

/* bourse de l'adversaire (Tonio, 30/11/2026, proposition A) : pièces + sous du tour en ronds chiffrés à droite de ses piles ; ses PV passent sous son nom */
.t2-adv-bourse{position:absolute;right:62px;top:-8px;z-index:2;display:grid;gap:3px;justify-items:center}
.t2-rond{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:center/cover no-repeat;font:800 14px/1 var(--texte);color:#fff;text-shadow:0 0 2px #000,0 0 3px #000,0 0 4px #000}
.t2-rond.piece{background-image:url(pieces/piece-1.png)}
.t2-rond.sou{background-image:url(pieces/sou-1.png)}
.t2-rond.zero{filter:grayscale(.85);opacity:.7}
.t2-adv .t2-bandeau .t2-pv{right:auto;left:106px}
/* pièce d'or vierge de Tonio (30/11/2026) : le chiffre est gravé au milieu, rien ne le gêne */
.t2-rond.piece{background-image:url(pieces/piece-vierge.webp?v=2);color:#4a2c02;text-shadow:0 1px 0 #ffe7a3,0 -1px 0 #8a5d12;padding-top:3px;box-sizing:border-box}

/* barre de vie de l'adversaire en capsule, PV à droite (modèle de Tonio, 30/11/2026) */
.t2-capsule{position:absolute;left:100px;right:20px;bottom:9px;z-index:2;display:flex;align-items:center;gap:9px;padding:4px 8px 4px 5px;border-radius:13px;background:#0b0913ee;border:1.5px solid #c9a56a;box-shadow:inset 0 0 0 1px #000a,0 1px 3px #000a}
.t2-capsule .t2-vie.adv{position:relative;left:auto;right:auto;bottom:auto;flex:1;min-width:0;height:12px;border-radius:7px;background:#2b2340;border:1px solid #000c}
.t2-capsule .t2-vie i{border-radius:7px}
.t2-capsule .t2-vie em{width:2px;background:#e7b45a}
.t2 .t2-adv .t2-bandeau .t2-capsule .t2-pv{position:static;flex:none;white-space:nowrap;font-size:15px;line-height:1;letter-spacing:.3px}
.t2-capsule.moi{position:relative;left:auto;right:auto;bottom:auto;margin-top:5px}
.t2-capsule .t2-vie.moi{flex:1;min-width:0;height:12px;border-radius:7px;background:#2b2340;border:1px solid #000c}
.t2 .t2-capsule.moi .t2-pv{position:static;flex:none;white-space:nowrap;font-size:15px;line-height:1;letter-spacing:.3px}
/* cadres bronze de Tonio (30/11/2026) : image 320 px centrée sur l'anneau, plus grande que l'avatar pour que les ornements débordent sans être coupés */
.t2-cadre[src*="cadre-bronze-"]{inset:-14%;width:128%;height:128%}
.t2-cadre[src*="cadre-bronze-"],.t2-cadre[src*="cadre-argent-"]{inset:-16.5%;width:133%;height:133%}   /* nouvelles bordures de Tonio (03/12/2026) : trou ≈ 73 % de l'image */
.t2-cadre{filter:drop-shadow(1px 0 0 #000) drop-shadow(-1px 0 0 #000) drop-shadow(0 1px 0 #000) drop-shadow(0 -1px 0 #000)}   /* contour noir (Tonio, 03/12/2026) */
.m-carte.a-detruire,.t2 .t2-cartes .m-carte.a-detruire{box-shadow:0 0 0 2.5px #ff5a4d,0 0 14px #ff5a4d99}   /* suppression = toujours rouge (Tonio, 03/12/2026) */
.m-carte.ciblable,.t2 .t2-cartes .m-carte.ciblable{box-shadow:0 0 0 2.5px #f0cf85,0 0 14px #d4a94eaa}   /* prenable = lumineux doré */
/* ordre d’affichage (Tonio, 03/12/2026) : le bouton menu passe devant la bordure du portrait choisi ; le bandeau de l’adversaire (et sa bordure) passe devant la zone des lieux */
body.mobile:not(.paysage) .t2 .t2-menu{z-index:3}
body.mobile:not(.paysage) .t2-adv>.t2-bandeau{z-index:4}
.t2-cadre[src*="cadre-bronze-"],.t2-cadre[src*="cadre-argent-"]{inset:-3.2%;width:106.4%;height:106.4%}   /* bordures bronze et argent réduites de 20 % (Tonio, 03/12/2026 ; avant : 133 %) */
.t2-cadre[src*="cadre-unreal-terrifiant"]{inset:-18%;width:136%;height:136%}   /* bordure du Terrifiant (Tonio, 03/12/2026) : trou ≈ 57 % de l’image, posé comme les bordures bronze et argent */
/* fond plein (Tonio, 04/12/2026) : la photo remplit tout l'intérieur du cadre de rang (rangs/masque-*.png) ; le rond ne garde que l'initiale et le halo */
.t2-fond-cadre{position:absolute;pointer-events:none;background:#2a2016;overflow:hidden}
.t2-fond-cadre img{position:absolute;object-fit:cover;object-position:50% 18%}
.t2-av-fond.sous-fond{background:none}
