/* 28 — Coco & stickers v2 : méta-écrans, UI autocollants, mascotte en pastille + bulle d'événement.
 * Cadre 390×844 mis à l'échelle. Zones : barre haute 0-58 · contenu 58-770 (pleine hauteur) · nav 770-844.
 * Palette rapprochée du combat 22 : fond nuit bleu-noir, accents or / orange / rouge, contours blancs de sticker. */
@font-face { font-family: "Anton"; src: url("../fonts/Anton-Regular.ttf") format("truetype"); font-display: block; }
@font-face { font-family: "Teko"; src: url("../fonts/Teko.ttf") format("truetype"); font-weight: 300 700; font-display: block; }
@font-face { font-family: "Luckiest"; src: url("../fonts/LuckiestGuy-Regular.ttf") format("truetype"); font-display: block; }

:root {
  --ink: #0b0d1c; --ink2: #171a33; --bg1: #161a35; --bg2: #07080f;
  --y: #ffd21a; --gold: #ffb800; --pink: #ff4fa3; --cyan: #33d6ff; --green: #3fdc72; --red: #ff3b5c; --violet: #9b5cff; --orange: #ff7a2a;
  --num: "Anton", "Impact", sans-serif; --ui: "Teko", "Arial Narrow", sans-serif; --pop: "Luckiest", "Anton", sans-serif;
  --sh: 0 4px 0 rgba(0,0,0,.6), 0 9px 18px rgba(0,0,0,.35);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: #030409; overflow: hidden; color: #fff; font-family: var(--ui); }
body::before { content: ""; position: fixed; inset: 0; background: radial-gradient(60% 50% at 50% 40%, #161a33, #030409); }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
#stage { position: absolute; left: 50%; top: 50%; width: 390px; height: 844px; transform-origin: 50% 50%; overflow: hidden; user-select: none; -webkit-font-smoothing: antialiased; background: var(--bg2); }
#bg { position: absolute; inset: 0; background:
  radial-gradient(rgba(255,255,255,.07) 1.3px, transparent 1.7px) 0 0 / 15px 15px,
  radial-gradient(90% 55% at 50% 0%, #2b2552 0%, transparent 70%),
  radial-gradient(80% 50% at 50% 100%, #1c1638 0%, transparent 70%),
  linear-gradient(180deg, var(--bg1), var(--bg2)); }
#shake { position: absolute; inset: 0; }

/* ---------- utilitaires sticker ---------- */
.stk { border: 3px solid #fff; border-radius: 16px; box-shadow: var(--sh); }
.ol { -webkit-text-stroke: 5px var(--ink); paint-order: stroke fill; }
.ol3 { -webkit-text-stroke: 3.5px var(--ink); paint-order: stroke fill; }
.pop { will-change: transform; }
.lk { font-family: var(--pop); letter-spacing: .5px; line-height: 1.05; }
.cut { filter: drop-shadow(2.5px 0 0 #fff) drop-shadow(-2.5px 0 0 #fff) drop-shadow(0 2.5px 0 #fff) drop-shadow(0 -2.5px 0 #fff) drop-shadow(0 6px 4px rgba(0,0,0,.55)); }
.ico-coin, .ico-gem { display: inline-block; width: 1em; height: 1em; flex: none; vertical-align: -0.12em; }
.ico-coin { border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff6b0 0 12%, #ffd23a 13% 55%, #e09400 56% 70%, #b86a00 71%); box-shadow: inset 0 0 0 .08em #8a4a00; }
.ico-gem { background: linear-gradient(135deg, #ffd0f4 0 20%, #ff5ec4 21% 50%, #b01e8c 51%); clip-path: polygon(50% 100%, 0 38%, 22% 6%, 78% 6%, 100% 38%); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 14px; border: 3px solid #fff; font-family: var(--pop); font-size: 19px; letter-spacing: .5px; color: #fff; background: linear-gradient(180deg, #4ef08a, #19b052); box-shadow: 0 4px 0 #0b5a2a, 0 8px 14px rgba(0,0,0,.4); text-shadow: 0 2px 0 rgba(0,0,0,.3); }
.btn.y { background: linear-gradient(180deg, #ffe45c, #ffb300); color: var(--ink); text-shadow: none; box-shadow: 0 4px 0 #a05a00, 0 8px 14px rgba(0,0,0,.4); }
.btn.p { background: linear-gradient(180deg, #ff7ac0, #e6268a); box-shadow: 0 4px 0 #7a0f48, 0 8px 14px rgba(0,0,0,.4); }
.btn.b { background: linear-gradient(180deg, #5fd2ff, #1f8de6); box-shadow: 0 4px 0 #0c4a8a, 0 8px 14px rgba(0,0,0,.4); }
.btn.g { background: linear-gradient(180deg, #4a5072, #2a2e48); box-shadow: 0 4px 0 #10121f, 0 8px 14px rgba(0,0,0,.4); }
.btn.r { background: linear-gradient(180deg, #ff6a7f, #d61f45); box-shadow: 0 4px 0 #6d0c22, 0 8px 14px rgba(0,0,0,.4); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0,0,0,.4); }
.btn[disabled] { filter: grayscale(.8) brightness(.8); }
.price { display: inline-flex; align-items: center; gap: 4px; font-family: var(--num); font-size: 18px; letter-spacing: .3px; }
.chip { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 1px 9px 0; border-radius: 12px; border: 2px solid #fff; background: var(--ink2); font: 600 17px/1 var(--ui); letter-spacing: .4px; text-transform: uppercase; box-shadow: 0 3px 0 rgba(0,0,0,.5); white-space: nowrap; }
.sec { display: flex; align-items: center; gap: 8px; margin: 10px 2px 6px; }
.sec h3 { margin: 0; font: 400 21px/1.15 var(--pop); letter-spacing: .5px; }
.sec .sp { flex: 1; }
svg.i { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* ---------- barre haute ---------- */
#topbar { position: absolute; left: 0; right: 0; top: 0; height: 58px; z-index: 20; display: flex; align-items: center; gap: 6px; padding: 7px 8px 0; background: linear-gradient(180deg, rgba(7,8,15,.96) 70%, rgba(7,8,15,0)); }
.tb-me { display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 9px 0 2px; border-radius: 24px; background: linear-gradient(180deg, #ff9a4a, #e0461a); flex: none; }
.tb-av { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; background: radial-gradient(#ffcf7a, #b2340c); border: 2px solid #fff; position: relative; }
.tb-av img { position: absolute; width: 140%; left: -20%; top: -6%; }
.tb-txt { display: flex; flex-direction: column; line-height: .9; }
.tb-txt b { font: 400 15px/1 var(--pop); }
.tb-txt i { font: normal 600 16px/1 var(--ui); }
.tb-xp { display: block; width: 58px; height: 6px; border-radius: 3px; background: rgba(0,0,0,.4); margin-top: 1px; overflow: hidden; }
.tb-xp span { display: block; height: 100%; width: 68%; background: linear-gradient(90deg, #fff59a, #ffd21a); }
.tb-cur { display: flex; align-items: center; gap: 5px; height: 36px; padding: 0 3px 0 8px; border-radius: 18px; background: var(--ink); font-size: 20px; flex: 1; min-width: 0; }
.tb-cur b { font: 400 19px/1 var(--num); letter-spacing: .4px; flex: 1; }
.tb-plus { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(180deg, #4ef08a, #19b052); border: 2px solid #fff; font: 400 18px/20px var(--pop); color: #fff; }
#sndHost .sfx-toggle { width: 36px; height: 36px; border-radius: 50%; border: 3px solid #fff; background: var(--ink); font-size: 15px; box-shadow: var(--sh); }

/* ---------- vue ---------- */
#view { position: absolute; inset: 0; }
.screen { position: absolute; inset: 0; }
.scr { position: absolute; left: 0; right: 0; top: 58px; height: 712px; overflow-y: auto; overflow-x: hidden; padding: 6px 12px 72px; overscroll-behavior: contain; scrollbar-width: none; }
.scr::-webkit-scrollbar { display: none; }
.scr.full { top: 0; height: 844px; padding: 0; overflow: hidden; }
body.immersive #topbar, body.immersive #nav { display: none; }

/* ---------- nav ---------- */
#nav { position: absolute; left: 0; right: 0; bottom: 0; height: 74px; z-index: 19; display: flex; align-items: flex-end; justify-content: space-around; padding: 0 6px 8px; background: linear-gradient(180deg, #12152a, #07080f); border-top: 3px solid #fff; box-shadow: 0 -4px 0 rgba(0,0,0,.5); }
.nb { position: relative; width: 70px; height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 1px; font: 600 15px/1 var(--ui); letter-spacing: .6px; text-transform: uppercase; color: #b9bfdc; }
.nb .nic { width: 40px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-size: 24px; transition: transform .2s; }
.nb.on { color: #fff; }
.nb.on .nic { background: var(--c, var(--y)); color: var(--ink); border: 3px solid #fff; box-shadow: 0 3px 0 rgba(0,0,0,.6); transform: translateY(-8px) scale(1.12) rotate(-4deg); }
.nb.mid .nic { width: 54px; height: 50px; border-radius: 16px; background: linear-gradient(180deg, #ffe45c, #ff9d00); color: var(--ink); border: 3px solid #fff; transform: translateY(-14px) rotate(-3deg); box-shadow: 0 4px 0 #8a4a00; font-size: 30px; }
.nb.mid.on .nic { transform: translateY(-16px) scale(1.06) rotate(3deg); }
.nb .badge { position: absolute; top: -2px; right: 6px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--red); border: 2px solid #fff; font: 400 12px/17px var(--pop); color: #fff; text-align: center; padding: 0 4px; }

/* ---------- carte (composant) ---------- */
.card { --w: 100px; color: #fff; position: relative; width: var(--w); height: calc(var(--w) * 1.5); flex: none; border-radius: calc(var(--w) * .1); background: #fff; padding: calc(var(--w) * .035); box-shadow: 0 calc(var(--w)*.04) 0 rgba(0,0,0,.55), 0 calc(var(--w)*.08) calc(var(--w)*.14) rgba(0,0,0,.35); font-size: calc(var(--w) * .1); }
.card .in { position: absolute; inset: calc(var(--w) * .035); border-radius: calc(var(--w) * .075); overflow: hidden; background: var(--rc); }
.card .art { position: absolute; left: 5%; right: 5%; top: 4%; height: 74%; border-radius: calc(var(--w)*.05); background: #222 center 30% / cover no-repeat; box-shadow: inset 0 0 0 calc(var(--w)*.012) rgba(0,0,0,.35); }
.card .nm { position: absolute; left: 0; right: 0; bottom: 0; height: 24%; display: flex; align-items: center; justify-content: center; padding: 6% 6% 0; background: linear-gradient(180deg, rgba(0,0,0,0), var(--rcD) 40%); font: 600 1.32em/1 var(--ui); text-transform: uppercase; letter-spacing: .02em; text-align: center; color: #fff; text-shadow: 0 1px 0 #000; white-space: nowrap; }
.card .dl { position: absolute; left: 3%; top: 2%; width: 2.3em; height: 2.3em; border-radius: 50%; background: var(--ink); border: .2em solid #fff; display: grid; place-items: center; font: 400 1.3em/1 var(--num); z-index: 2; }
.card .at, .card .hp { position: absolute; bottom: 21%; width: 2.6em; height: 2.6em; display: grid; place-items: center; font: 400 1.65em/1 var(--num); border: .17em solid #fff; z-index: 2; color: #fff; text-shadow: 0 .08em 0 rgba(0,0,0,.45); }
.card .at { left: 3%; border-radius: .7em; background: linear-gradient(180deg, #ffc43a, #e07a00); font-size: 1.55em; width: 1.7em; height: 1.7em; }
.card .hp { right: 3%; border-radius: 50%; background: linear-gradient(180deg, #ff8fae, #e0285a); font-size: 1.55em; width: 1.7em; height: 1.7em; }
.card .gm { position: absolute; right: 5%; top: 3.5%; width: 1.5em; height: 1.5em; background: var(--rar); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); z-index: 2; }
.card .gm::after { content: ""; position: absolute; inset: .22em; background: rgba(255,255,255,.55); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.card .fx { position: absolute; inset: 0; pointer-events: none; z-index: 3; border-radius: inherit; }
.card.holo .fx { background: linear-gradient(115deg, transparent 18%, rgba(255,60,200,.55) 32%, rgba(60,240,255,.55) 44%, rgba(255,250,90,.5) 56%, rgba(120,255,140,.45) 66%, transparent 80%) 0 0 / 300% 300%; animation: holo 3.2s linear infinite; opacity: .42; }
.card.holo .in::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(60deg, rgba(255,255,255,.0) 0 6px, rgba(255,255,255,.12) 7px 8px); z-index: 1; }
.card.doree { background: linear-gradient(135deg, #fff6c0, #ffcf3a 30%, #b77a00 55%, #ffe58a 75%, #c98a00); }
.card.doree .in { background: linear-gradient(160deg, #ffe27a, #c78400 60%, #7a4a00); }
.card.doree .fx { background: linear-gradient(105deg, transparent 35%, rgba(255,255,220,.75) 48%, transparent 60%) 0 0 / 300% 100%; opacity: .7; animation: shine 2.6s ease-in-out infinite; }
.card.fullart { background: linear-gradient(135deg, #fff, #ffe9a8 25%, #ff9ee0 50%, #9be8ff 75%, #fff); }
.card.fullart .art { inset: 0; height: auto; border-radius: 0; background-position: center 25%; }
.card.fullart .nm { background: linear-gradient(180deg, rgba(0,0,0,0), rgba(10,4,30,.85) 45%); }
.card.fullart .fx { background: linear-gradient(115deg, transparent 20%, rgba(255,80,220,.4) 35%, rgba(80,240,255,.4) 47%, rgba(255,240,100,.42) 58%, transparent 75%) 0 0 / 300% 300%, radial-gradient(circle, rgba(255,255,255,.7) 0 1px, transparent 1.5px) 0 0 / 11px 11px; opacity: .5; animation: holo 2.4s linear infinite; }
.card.unk .in { background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--rc) 55%, #000), #0d0820 75%); }
.card.unk .q { position: absolute; inset: 0; display: grid; place-items: center; font: 400 5em/1 var(--pop); color: var(--rc); opacity: .9; -webkit-text-stroke: .08em #fff; paint-order: stroke fill; }
.card.silh .art { background-color: transparent; filter: brightness(0); opacity: .75; background-size: contain; background-position: center; }
.card.silh .in { background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--rc) 45%, #fff), color-mix(in srgb, var(--rc) 40%, #000)); }
@keyframes holo { to { background-position: 300% 300%; } }
@keyframes shine { 0% { background-position: 150% 0; } 100% { background-position: -150% 0; } }
.cnt { position: absolute; z-index: 4; right: -6px; top: -8px; min-width: 28px; height: 24px; padding: 2px 5px 0; border-radius: 12px; border: 2px solid #fff; background: var(--violet); font: 400 15px/18px var(--pop); text-align: center; box-shadow: 0 2px 0 var(--ink); color: #fff; }
.lvl { position: absolute; z-index: 4; left: 50%; bottom: -9px; transform: translateX(-50%); height: 20px; padding: 2px 7px 0; border-radius: 10px; border: 2px solid #fff; background: var(--ink); font: 600 14px/15px var(--ui); white-space: nowrap; letter-spacing: .5px; color: #fff; }
.stamp { position: absolute; z-index: 5; left: 50%; top: 42%; transform: translate(-50%, -50%) rotate(-14deg); padding: 3px 8px 0; border: 3px solid #fff; border-radius: 8px; background: var(--green); font: 400 16px/1.1 var(--pop); box-shadow: 0 3px 0 var(--ink); white-space: nowrap; }

/* ---------- accueil ---------- */
.ev-ban { position: relative; display: block; height: 88px; border-radius: 18px; overflow: hidden; rotate: -1.2deg; margin: 2px 2px 0; background: #0e1124 url("../shared/meta/event/lanternes.webp") center 38% / cover; }
.ev-ban::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,8,18,.9) 0%, rgba(7,8,18,.55) 55%, rgba(7,8,18,.1)); }
.ev-ban .t1 { position: absolute; left: 14px; top: 8px; font: 400 13px/1 var(--pop); color: var(--y); letter-spacing: 1px; }
.ev-ban .t2 { position: absolute; left: 14px; top: 23px; font: 400 26px/1 var(--pop); text-shadow: 0 0 14px rgba(255,190,80,.8); }
.ev-ban .t3 { position: absolute; left: 12px; bottom: 8px; }
.ev-ban .go { position: absolute; right: 10px; bottom: 8px; min-height: 36px; height: 36px; font-size: 16px; padding: 0 12px; }
.ev-ban img { position: absolute; right: 92px; top: -2px; height: 96px; rotate: 12deg; }
.hero-blk { position: relative; height: 186px; margin-top: 4px; }
.hero-blk .burst { position: absolute; right: -50px; top: -30px; width: 300px; height: 300px; background: repeating-conic-gradient(rgba(255,122,42,.32) 0 10deg, transparent 10deg 20deg); border-radius: 50%; -webkit-mask: radial-gradient(circle, #000 25%, transparent 70%); mask: radial-gradient(circle, #000 25%, transparent 70%); }
.hero-blk .himg { position: absolute; right: -4px; top: -2px; height: 204px; }
.hero-blk .hl { position: absolute; left: 4px; top: 8px; width: 200px; }
.hero-blk .tag { display: inline-block; padding: 2px 8px 0; border-radius: 8px; background: var(--y); color: var(--ink); font: 400 13px/18px var(--pop); letter-spacing: 1px; border: 2px solid #fff; rotate: -3deg; }
.hero-blk .hn { font: 400 48px/1 var(--pop); margin-top: 4px; color: #fff; }
.hero-blk .ht { font: 600 21px/1 var(--ui); color: #ffd0a8; margin-top: 2px; text-transform: uppercase; letter-spacing: .5px; }
.hero-blk .hc { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.hero-blk .deckb { margin-top: 9px; display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 12px; border-radius: 14px; background: var(--ink); font: 600 18px/1 var(--ui); text-transform: uppercase; width: max-content; }
.hero-blk .deckb small { display: block; font-size: 14px; color: #b4bad8; }
.adv { position: relative; display: flex; align-items: center; gap: 10px; height: 86px; padding: 0 12px 0 8px; border-radius: 20px; background: linear-gradient(180deg, #ffd84a, #ff9500); color: var(--ink); rotate: .8deg; }
.adv .thumb { width: 64px; height: 64px; border-radius: 50%; border: 3px solid #fff; background: center 45% / cover; box-shadow: 0 3px 0 rgba(0,0,0,.45); flex: none; }
.adv .tx { flex: 1; min-width: 0; }
.adv .tx b { display: block; font: 400 29px/1 var(--pop); color: #fff; margin-top: 3px; }
.adv .tx i { display: block; font: normal 600 17px/1.05 var(--ui); text-transform: uppercase; white-space: nowrap; }
.adv .bar { display: block; height: 9px; border-radius: 5px; background: rgba(11,13,28,.3); margin-top: 4px; overflow: hidden; border: 2px solid var(--ink); }
.adv .bar span { display: block; height: 100%; background: #fff; }
.adv .play { width: 54px; height: 54px; border-radius: 50%; background: var(--ink); color: var(--y); display: grid; place-items: center; font-size: 26px; border: 3px solid #fff; flex: none; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.tile { position: relative; display: block; height: 102px; padding: 8px 10px 0; border-radius: 18px; overflow: hidden; }
.tile b { display: block; font: 400 22px/1 var(--pop); }
.tile i { display: block; font: normal 600 17px/1.05 var(--ui); margin-top: 2px; }
.tile.pvp { background: linear-gradient(160deg, #ff5d7a, #b5123e); rotate: -1deg; }
.tile.shop { background: linear-gradient(160deg, #b36bff, #6a22d0); rotate: 1deg; }
.tile .live { display: inline-flex; align-items: center; gap: 4px; height: 19px; padding: 1px 6px 0; border-radius: 5px; background: #fff; color: #d61f45; font: 700 14px/1 var(--ui); letter-spacing: 1px; margin-bottom: 3px; }
.tile .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #d61f45; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.tile .res { display: flex; gap: 4px; margin-top: 3px; }
.tile .res span { width: 24px; height: 24px; border-radius: 7px; border: 2px solid #fff; display: grid; place-items: center; font: 400 13px/1 var(--pop); }
.res .v { background: var(--green); } .res .d { background: #3a3f5c; }
.tile.shop img { position: absolute; right: 2px; top: 4px; height: 64px; rotate: 14deg; }
.mis { display: flex; gap: 8px; }
.mst { position: relative; flex: 1; height: 82px; border-radius: 18px; background: var(--ink); display: flex; flex-direction: column; align-items: center; padding-top: 6px; }
.mst .ring { width: 46px; height: 46px; border-radius: 50%; padding: 5px; background: conic-gradient(var(--c) calc(var(--p) * 1%), rgba(255,255,255,.15) 0); }
.mst .ring > div { width: 100%; height: 100%; border-radius: 50%; background: var(--c); border: 2px solid #fff; display: grid; place-items: center; color: var(--ink); font-size: 22px; }
.mst .mn { font: 600 15px/1 var(--ui); text-align: center; margin-top: 4px; padding: 0 4px; text-transform: uppercase; }
.mst .mp { font: 400 13px/1 var(--num); color: #c0c6e6; margin-top: 2px; }
.mst.claim { background: linear-gradient(180deg, #4ef08a, #12994a); animation: wig 1.4s ease-in-out infinite; }
.mst.claim .mp { color: #fff; }
.mst.done { opacity: .55; }
@keyframes wig { 0%, 100% { rotate: -2deg; } 50% { rotate: 2deg; } }

/* ---------- carte du monde ---------- */
.map-wrap { position: absolute; left: 0; right: 0; top: 58px; height: 628px; overflow: hidden; }
.map { position: absolute; top: 0; height: 628px; background: center / 100% 100% no-repeat; }
.map::after { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 70% at 50% 50%, transparent 55%, rgba(7,8,15,.55)); pointer-events: none; }
.tilep { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 4px; border: 2px solid #fff; box-shadow: 0 2px 0 rgba(0,0,0,.6); z-index: 1; }
.tilep.done { background: #ffc62a; } .tilep.open { background: #fff; border-color: var(--ink); } .tilep.lock { background: rgba(30,20,60,.75); border-color: rgba(255,255,255,.55); }
.tilep.bonus { width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; color: var(--ink); }
.tilep.bonus.lock { color: rgba(255,255,255,.6); }
.ztok { position: absolute; z-index: 3; width: 0; height: 0; }
.ztok .disc { position: absolute; left: -29px; top: -29px; width: 58px; height: 58px; border-radius: 50%; border: 4px solid #fff; background: center / cover; box-shadow: 0 0 0 3px var(--rc), 0 5px 0 3px rgba(0,0,0,.55); cursor: pointer; }
.ztok.verrouillee .disc { filter: grayscale(.6) brightness(.78); }
.ztok .zl { position: absolute; left: 50%; top: 32px; transform: translateX(-50%); white-space: nowrap; padding: 2px 7px 0; height: 21px; border-radius: 8px; background: var(--ink); border: 2px solid #fff; font: 600 15px/16px var(--ui); text-transform: uppercase; letter-spacing: .3px; }
.ztok .zs { position: absolute; left: 50%; top: 53px; transform: translateX(-50%); white-space: nowrap; font: 400 12px/1 var(--pop); color: var(--y); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; }
.ztok .zb { position: absolute; left: 14px; top: -34px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; font-size: 14px; box-shadow: 0 2px 0 var(--ink); }
.ztok.terminee .zb { background: var(--green); } .ztok.verrouillee .zb { background: #3a3f5c; } .ztok.ouverte .zb { background: var(--y); color: var(--ink); }
.ztok.en_cours .disc { animation: pulse 1.3s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px var(--rc), 0 0 22px 8px rgba(255,140,40,.8), 0 5px 0 3px rgba(0,0,0,.55); } }
.pawn { position: absolute; z-index: 6; width: 56px; height: 56px; margin: -86px 0 0 -26px; pointer-events: none; }
.pawn img { position: absolute; width: 74px; left: -8px; top: -22px; }
.map-head { position: absolute; left: 8px; right: 8px; top: 64px; justify-content: space-between; z-index: 8; display: flex; align-items: center; gap: 8px; pointer-events: none; }
.map-head .ttl { padding: 5px 10px 1px; border-radius: 14px; background: var(--y); color: var(--ink); font: 400 17px/1 var(--pop); rotate: -2deg; white-space: nowrap; }
.map-pop { position: absolute; left: 12px; right: 12px; top: 486px; z-index: 9; height: 116px; border-radius: 20px; overflow: hidden; display: flex; gap: 10px; padding: 9px; background: var(--ink); }
.map-pop .zim { width: 64px; flex: none; border-radius: 12px; border: 2px solid #fff; background: center / cover; }
.map-pop .zt { flex: 1; min-width: 0; }
.map-pop .zt b { display: block; font: 400 21px/1 var(--pop); }
.map-pop .zt i { display: block; font: normal 500 16px/1.05 var(--ui); color: #cfd4ee; margin-top: 3px; }
.map-pop .zt .chip { margin-top: 5px; height: 22px; font-size: 15px; }
.map-pop .btn { align-self: flex-end; }

/* ---------- zone ---------- */
.zone-bg { position: absolute; inset: 0; background: center / cover no-repeat; }
.zone-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,8,15,.55), rgba(7,8,15,.25) 30%, rgba(7,8,15,.75) 55%, rgba(7,8,15,.95)); }
.zhead { display: flex; align-items: center; gap: 8px; }
.back { width: 44px; height: 44px; border-radius: 14px; background: var(--ink); display: grid; place-items: center; font-size: 22px; flex: none; }
.zhead .zn { flex: 1; min-width: 0; }
.zhead .zn b { display: block; font: 400 26px/1 var(--pop); }
.zhead .zn i { font: normal 600 17px/1 var(--ui); color: #ffd6b8; text-transform: uppercase; letter-spacing: .5px; }
.terr { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 7px 10px 5px; border-radius: 16px; background: rgba(11,13,28,.86); rotate: -.6deg; }
.terr .ti { width: 40px; height: 40px; border-radius: 12px; background: var(--rc); border: 2px solid #fff; display: grid; place-items: center; font-size: 22px; color: var(--ink); flex: none; }
.terr b { display: block; font: 400 15px/1 var(--pop); color: var(--y); letter-spacing: .5px; }
.terr span { display: block; font: 500 18px/1.05 var(--ui); }
.fpath { position: relative; height: 178px; margin-top: 4px; }
.fn { position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 3px solid #fff; display: grid; place-items: center; font: 400 17px/1 var(--num); box-shadow: 0 3px 0 rgba(0,0,0,.6); z-index: 2; }
.fn.done { background: var(--rc); color: var(--ink); }
.fn.cur { background: #fff; color: var(--ink); width: 46px; height: 46px; margin: -23px 0 0 -23px; animation: pulse 1.3s infinite; --rc: #ff7a2a; }
.fn.lock { background: rgba(11,13,28,.9); color: #8b93b8; }
.fn.boss { width: 60px; height: 60px; margin: -30px 0 0 -30px; background: linear-gradient(180deg, #ff5d3a, #9b1205); font-size: 26px; color: #fff; }
.fn .st { position: absolute; top: 37px; left: 50%; transform: translateX(-50%); font: 400 11px/1 var(--pop); color: var(--y); white-space: nowrap; -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; letter-spacing: -1px; }
.fdot { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: rgba(255,255,255,.75); z-index: 1; }
.fdot.on { background: var(--rc); box-shadow: 0 0 0 2px #fff; }
.bosslab { position: absolute; right: -2px; top: 112px; padding: 2px 8px 0; border-radius: 8px; background: #9b1205; border: 2px solid #fff; font: 600 15px/18px var(--ui); text-transform: uppercase; }
.fight-row { display: flex; align-items: center; gap: 10px; margin-top: 2px; }
.fight-row .btn { flex: 1; height: 58px; font-size: 24px; }
.mpk { position: relative; width: 96px; height: 58px; flex: none; border-radius: 16px; background: linear-gradient(135deg, #ff8a3a, #c2300c); }
.mpk img { position: absolute; left: 4px; top: -26px; height: 78px; rotate: -10deg; }
.mpk b { position: absolute; right: 5px; top: 5px; font: 400 11px/1.05 var(--pop); text-align: right; }
.mpk .price { position: absolute; right: 5px; bottom: 5px; font-size: 16px; }
.fight-row .stars { padding: 6px 10px 2px; border-radius: 14px; background: var(--ink); font: 400 20px/1 var(--pop); color: var(--y); }
.shopd { margin-top: 12px; padding: 9px 9px 10px; border-radius: 20px; background: rgba(11,13,28,.9); }
.shopd .hd { display: flex; align-items: center; gap: 6px; }
.shopd .hd b { font: 400 19px/1 var(--pop); flex: 1; }
.shopd .same { display: inline-block; margin: 5px 0 0; font: 600 16px/1 var(--ui); color: #c7b6f8; text-transform: uppercase; letter-spacing: .4px; }
.timer { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 1px 8px 0; border-radius: 13px; background: var(--red); border: 2px solid #fff; font: 400 16px/1 var(--num); letter-spacing: .5px; }
.dcards { display: flex; justify-content: space-between; margin-top: 9px; }
.dc { position: relative; width: 80px; display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; }
.dc .pbtn { height: 30px; width: 80px; border-radius: 10px; border: 2px solid #fff; background: linear-gradient(180deg, #4ef08a, #19b052); display: flex; align-items: center; justify-content: center; gap: 4px; font: 400 17px/1 var(--num); box-shadow: 0 3px 0 #0b5a2a; }
.dc .pbtn.gem { background: linear-gradient(180deg, #ff7ac0, #e6268a); box-shadow: 0 3px 0 #7a0f48; }
.dc.sold .pbtn { background: #3a3f5c; box-shadow: none; }
.dc .lim { position: absolute; z-index: 5; top: -7px; left: -6px; padding: 1px 5px 0; border-radius: 6px; background: var(--y); color: var(--ink); border: 2px solid #fff; font: 400 11px/14px var(--pop); rotate: -8deg; }
.zpack { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 12px; height: 112px; padding: 0 10px 0 104px; border-radius: 20px; background: linear-gradient(135deg, #ff8a3a, #c2300c); rotate: .6deg; }
.zpack img { position: absolute; left: 4px; top: -18px; height: 136px; rotate: -10deg; }
.zpack .tx { flex: 1; }
.zpack .tx b { display: block; font: 400 20px/1 var(--pop); }
.zpack .tx i { display: block; font: normal 600 16px/1.05 var(--ui); text-transform: uppercase; margin-top: 3px; }
.zpack .tx a { display: inline-block; margin-top: 4px; font: 600 15px/1 var(--ui); text-decoration: underline; color: #ffe2c9; text-transform: uppercase; }

/* ---------- boutique ---------- */
.feat { position: relative; height: 170px; border-radius: 22px; overflow: hidden; background: #0e1124 url("../shared/meta/event/lanternes.webp") center 30% / cover; rotate: -.8deg; }
.feat::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,6,16,.92) 30%, rgba(5,6,16,.2)); }
.feat .rib { position: absolute; left: -4px; top: 10px; padding: 3px 12px 1px 14px; background: var(--red); border: 2px solid #fff; border-radius: 0 10px 10px 0; font: 400 14px/1.1 var(--pop); letter-spacing: 1px; }
.feat .t { position: absolute; left: 14px; top: 38px; font: 400 25px/1 var(--pop); }
.feat .g { position: absolute; left: 14px; top: 66px; font: 600 17px/1 var(--ui); color: #ffe2a8; text-transform: uppercase; }
.feat .timer { position: absolute; left: 12px; top: 82px; z-index: 2; }
.feat .btn { position: absolute; left: 12px; bottom: 9px; min-height: 44px; height: 44px; font-size: 18px; }
.feat img { position: absolute; right: 18px; top: 12px; height: 148px; rotate: 9deg; }
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
.pk { position: relative; border-radius: 18px; background: var(--ink); padding: 0 6px 8px; display: flex; flex-direction: column; align-items: center; }
.pk:nth-child(1) { rotate: -1deg; } .pk:nth-child(3) { rotate: 1deg; }
.pk img { height: 100px; margin-top: -4px; }
.pk b { font: 400 15px/1 var(--pop); text-align: center; min-height: 30px; display: flex; align-items: center; }
.pk .gar { font: 600 14px/1 var(--ui); color: #b9bfdc; text-transform: uppercase; text-align: center; min-height: 28px; }
.rates { width: 100%; margin: 4px 0 6px; }
.rates .bar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; border: 1.5px solid #fff; }
.rates ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 1px; }
.rates li { display: flex; align-items: center; gap: 4px; font: 500 15px/1.05 var(--ui); }
.rates li i { width: 8px; height: 8px; border-radius: 2px; flex: none; rotate: 45deg; }
.rates li em { margin-left: auto; font: 400 13px/1 var(--num); font-style: normal; letter-spacing: .3px; }
.pk .btn { width: 100%; min-height: 36px; height: 36px; padding: 0 4px; font-size: 16px; margin-top: 4px; }
.pk .btn .price { font-size: 16px; }
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.of { position: relative; height: 70px; border-radius: 16px; display: flex; align-items: center; gap: 8px; padding: 0 8px; background: var(--ink); }
.of .big { font-size: 34px; flex: none; }
.of b { display: block; font: 400 17px/1 var(--num); letter-spacing: .3px; }
.of i { display: block; font: normal 600 15px/1 var(--ui); color: #b9bfdc; text-transform: uppercase; }
.of .pr { margin-left: auto; height: 34px; padding: 0 8px; border-radius: 10px; border: 2px solid #fff; display: flex; align-items: center; gap: 3px; font: 400 15px/1 var(--num); background: linear-gradient(180deg, #ff7ac0, #e6268a); flex: none; }
.of .pr.eur { background: linear-gradient(180deg, #5fd2ff, #1f8de6); }

/* ---------- booster ---------- */
.bst { position: absolute; inset: 0; overflow: hidden; }
.bst .rays { position: absolute; left: 50%; top: 40%; width: 1100px; height: 1100px; margin: -550px 0 0 -550px; border-radius: 50%; background: repeating-conic-gradient(var(--rayc, rgba(155,92,255,.22)) 0 8deg, transparent 8deg 18deg); -webkit-mask: radial-gradient(circle, #000 10%, transparent 60%); mask: radial-gradient(circle, #000 10%, transparent 60%); animation: spin 30s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.bst .dim { position: absolute; inset: 0; background: radial-gradient(circle at 50% 40%, transparent, rgba(5,2,15,.9)); opacity: 0; }
.bst .btitle { position: absolute; left: 0; right: 0; top: 22px; text-align: center; font: 400 28px/1 var(--pop); }
.bst .bsub { position: absolute; left: 0; right: 0; top: 56px; text-align: center; font: 600 19px/1 var(--ui); color: #cfd4ee; text-transform: uppercase; letter-spacing: .6px; }
.bst .close { position: absolute; right: 12px; top: 14px; width: 44px; height: 44px; border-radius: 14px; background: var(--ink); display: grid; place-items: center; font-size: 20px; z-index: 30; }
.packbox { position: absolute; left: 50%; top: 360px; width: 240px; height: 360px; margin: -180px 0 0 -120px; cursor: pointer; z-index: 5; }
.packbox .ph { position: absolute; inset: 0; background: center / contain no-repeat; }
.packbox .ph.top { clip-path: inset(0 0 84% 0); }
.packbox .ph.bot { clip-path: inset(16% 0 0 0); }
.tapme { position: absolute; left: 0; right: 0; top: 572px; text-align: center; font: 400 23px/1 var(--pop); color: var(--y); z-index: 6; }
.brate { position: absolute; left: 14px; right: 14px; top: 612px; padding: 7px 10px 6px; border-radius: 14px; background: rgba(11,13,28,.9); z-index: 6; }
.brate .rates ul { grid-template-columns: 1fr 1fr; column-gap: 18px; }
.brate h4 { margin: 0; font: 400 13px/1 var(--pop); letter-spacing: 1px; color: #b9bfdc; }
.flip { position: absolute; left: 50%; top: 360px; width: 220px; height: 330px; margin: -165px 0 0 -110px; z-index: 8; perspective: 1000px; }
.flip .fi { position: absolute; inset: 0; transform-style: preserve-3d; }
.flip .face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip .ffr { transform: rotateY(180deg); }
.flip .card { --w: 220px; }
.cback { position: relative; width: 100%; height: 100%; border-radius: 22px; border: 8px solid #fff; background:
  radial-gradient(circle at 50% 50%, rgba(255,255,255,.25) 0 18%, transparent 19%),
  repeating-conic-gradient(from 0deg at 50% 50%, #6b2fe0 0 15deg, #4a1aa8 15deg 30deg);
  box-shadow: 0 8px 0 rgba(0,0,0,.6), 0 0 0 0 var(--glow, transparent); display: grid; place-items: center; }
.cback img { width: 70%; filter: drop-shadow(0 4px 0 rgba(0,0,0,.5)); }
.cback .cbl { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font: 400 22px/1 var(--pop); letter-spacing: 2px; }
.btags { position: absolute; left: 0; right: 0; top: 540px; z-index: 9; display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; }
.btags .rar { padding: 5px 16px 1px; border-radius: 12px; border: 3px solid #fff; font: 400 24px/1.1 var(--pop); background: var(--rar); color: #fff; box-shadow: 0 4px 0 var(--ink); text-shadow: 0 2px 0 rgba(0,0,0,.35); }
.btags .row { display: flex; gap: 6px; }
.btags .newt { padding: 4px 12px 0; border-radius: 10px; border: 3px solid #fff; font: 400 19px/1.1 var(--pop); background: var(--red); rotate: -4deg; box-shadow: 0 3px 0 var(--ink); }
.btags .fint { padding: 4px 12px 0; border-radius: 10px; border: 3px solid #fff; font: 400 19px/1.1 var(--pop); background: linear-gradient(90deg, #ff6ad5, #6ae3ff, #fff36a); color: var(--ink); rotate: 3deg; box-shadow: 0 3px 0 var(--ink); }
.btags .dup { padding: 6px 12px 3px; border-radius: 12px; border: 3px solid #fff; background: var(--ink); font: 600 20px/1.05 var(--ui); text-align: center; text-transform: uppercase; letter-spacing: .3px; }
.btags .dup b { color: var(--y); font-weight: 700; }
.brow { position: absolute; left: 0; right: 0; top: 96px; display: flex; justify-content: center; gap: 8px; z-index: 7; }
.brow .slot { width: 58px; height: 87px; border-radius: 9px; border: 2px dashed rgba(255,255,255,.35); }
.brow .card { --w: 58px; }
.bsum { position: absolute; left: 0; right: 0; top: 96px; z-index: 10; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 12px; padding: 0 16px; }
.bsum .card { --w: 104px; }
.bsum .it { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.bsum .it .tg { font: 400 13px/1 var(--pop); padding: 3px 7px 0; border-radius: 7px; border: 2px solid #fff; background: var(--ink); white-space: nowrap; }
.bsum .it .tg.n { background: var(--red); }
.bact { position: absolute; left: 16px; right: 16px; top: 640px; z-index: 11; display: flex; gap: 8px; }
.bact .btn { flex: 1; }
.ono { position: absolute; z-index: 40; left: 50%; top: 200px; width: 0; height: 0; pointer-events: none; }
.ono svg { position: absolute; left: -130px; top: -80px; width: 260px; height: 160px; overflow: visible; }
.ono b { position: absolute; left: -200px; width: 400px; top: -30px; text-align: center; font: 400 52px/1 var(--pop); color: #fff; -webkit-text-stroke: 8px var(--ink); paint-order: stroke fill; letter-spacing: 1px; }
.flash { position: absolute; inset: 0; background: #fff; opacity: 0; z-index: 35; pointer-events: none; }

/* ---------- collection / album ---------- */
.alb-top { display: flex; align-items: center; gap: 8px; }
.alb-top h2 { margin: 0; font: 400 26px/1 var(--pop); flex: 1; }
.prog { display: flex; align-items: center; gap: 6px; padding: 4px 10px 2px; border-radius: 14px; background: var(--ink); font: 400 20px/1 var(--num); }
.prog small { font: 600 15px/1 var(--ui); color: #b9bfdc; text-transform: uppercase; }
.filt { display: flex; gap: 5px; margin-top: 8px; overflow: hidden; }
.fb { height: 34px; padding: 1px 8px 0; border-radius: 12px; border: 2px solid rgba(255,255,255,.5); background: rgba(11,13,28,.8); font: 600 16px/1 var(--ui); text-transform: uppercase; display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.fb i { width: 9px; height: 9px; rotate: 45deg; border-radius: 2px; }
.fb.on { border-color: #fff; background: #fff; color: var(--ink); box-shadow: 0 3px 0 rgba(0,0,0,.6); }
.album { position: relative; margin-top: 8px; height: 532px; perspective: 1400px; }
.page { position: absolute; left: 0; top: 0; width: 328px; height: 532px; border-radius: 6px 18px 18px 6px; background:
  radial-gradient(rgba(60,30,120,.08) 1.2px, transparent 1.6px) 0 0 / 12px 12px, linear-gradient(90deg, #d9cdb6 0, #fbf5e8 14px, #fff9ee 60%, #f3ead6); color: var(--ink); box-shadow: 0 5px 0 rgba(0,0,0,.6), 0 12px 24px rgba(0,0,0,.45); transform-origin: 0 50%; border: 3px solid #fff; border-left: 8px solid #ff7a2a; backface-visibility: hidden; }
.page .ph { display: flex; align-items: center; gap: 8px; height: 46px; margin: 8px 10px 0 8px; padding: 0 10px; border-radius: 12px; background: var(--rc); border: 3px solid var(--ink); rotate: -1deg; color: var(--ink); }
.page .ph .ri { width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 18px; border: 2px solid var(--ink); }
.page .ph b { flex: 1; font: 400 22px/1 var(--pop); }
.page .ph span { font: 400 19px/1 var(--num); }
.page .grid { display: grid; grid-template-columns: repeat(3, 92px); gap: 10px 9px; padding: 12px 0 0 10px; }
.slot2 { position: relative; width: 92px; height: 138px; border-radius: 10px; border: 2.5px dashed rgba(60,30,120,.35); background: rgba(60,30,120,.06); }
.slot2 .card { --w: 92px; position: absolute; left: -2.5px; top: -2.5px; cursor: pointer; }
.slot2 .no { position: absolute; left: 0; right: 0; bottom: 5px; text-align: center; font: 600 14px/1 var(--ui); color: rgba(60,30,120,.6); text-transform: uppercase; letter-spacing: .4px; }
.slot2 .card.silh, .slot2 .card.unk { opacity: .9; }
.slot2.dim { opacity: .18; }
.page .pnum { position: absolute; bottom: 12px; left: 0; right: 104px; text-align: right; font: 600 16px/1 var(--ui); color: rgba(11,13,28,.6); letter-spacing: 1px; }
.tabs { position: absolute; left: 328px; top: 10px; width: 38px; display: flex; flex-direction: column; gap: 4px; z-index: 3; }
.tabs button { height: 50px; border-radius: 0 12px 12px 0; background: var(--rc); border: 2.5px solid #fff; border-left: 0; display: grid; place-items: center; color: var(--ink); font-size: 18px; box-shadow: 0 3px 0 rgba(0,0,0,.5); width: 32px; }
.tabs button.on { width: 38px; margin-left: -4px; }
.pgbtn { position: absolute; top: 482px; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); border: 3px solid #fff; display: grid; place-items: center; font-size: 20px; z-index: 4; box-shadow: var(--sh); }

/* ---------- détail ---------- */
.dt-top { display: flex; gap: 12px; margin-top: 6px; }
.dt-card { position: relative; perspective: 900px; flex: none; }
.dt-card .card { --w: 160px; }
.dt-info { flex: 1; min-width: 0; }
.dt-info h2 { margin: 2px 0 6px; font: 400 25px/1.05 var(--pop); }
.dt-info .chips { display: flex; flex-wrap: wrap; gap: 5px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 9px; }
.stat { height: 50px; border-radius: 12px; background: var(--ink); border: 2px solid rgba(255,255,255,.7); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.stat b { font: 400 23px/1 var(--num); }
.stat small { font: 600 14px/1 var(--ui); text-transform: uppercase; color: #b9bfdc; letter-spacing: .5px; }
.stat.a b { color: #ffc43a; } .stat.h b { color: #ff8fae; }
.txtbox { margin-top: 10px; padding: 9px 12px 7px; border-radius: 16px; background: #fff; color: var(--ink); rotate: -.5deg; }
.txtbox p { margin: 0; font: 600 20px/1.08 var(--ui); }
.txtbox q { display: block; margin-top: 4px; font: italic 500 18px/1.05 var(--ui); color: #6a4fa0; }
.fins { display: flex; gap: 6px; margin-top: 8px; }
.fin { flex: 1; height: 36px; border-radius: 12px; border: 2px solid #fff; display: flex; align-items: center; justify-content: center; gap: 4px; font: 600 16px/1 var(--ui); text-transform: uppercase; background: var(--ink); }
.fin.own { background: linear-gradient(90deg, #ff6ad5, #6ae3ff); color: var(--ink); }
.fin.own.gold { background: linear-gradient(90deg, #ffe27a, #e0a000); }
.fin.own.base { background: #fff; }
.fin.no { opacity: .55; border-style: dashed; }
.lvbox { margin-top: 8px; padding: 8px 10px; border-radius: 18px; background: var(--ink); }
.lvtrack { display: flex; align-items: center; gap: 4px; }
.lvp { width: 34px; height: 34px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.5); display: grid; place-items: center; font: 400 17px/1 var(--num); color: #8b93b8; flex: none; }
.lvp.on { background: var(--y); color: var(--ink); border-color: #fff; }
.lvl-line { flex: 1; height: 5px; border-radius: 3px; background: rgba(255,255,255,.2); }
.lvl-line.on { background: var(--y); }
.lvtx { margin-top: 6px; font: 500 18px/1.05 var(--ui); display: flex; gap: 6px; }
.lvtx .sp { flex: 1; }
.lvtx b { color: var(--y); }
.cpbar { height: 12px; border-radius: 6px; background: rgba(255,255,255,.15); border: 2px solid #fff; margin-top: 5px; overflow: hidden; }
.cpbar span { display: block; height: 100%; background: linear-gradient(90deg, #4ef08a, #c6ff6a); }
.dt-act { display: flex; gap: 8px; margin-top: 8px; }
.dt-act .btn { flex: 1; font-size: 16px; padding: 0 6px; min-height: 48px; line-height: 1.05; }

/* ---------- deck ---------- */
.dk-head { display: flex; align-items: center; gap: 9px; }
.dk-hero { width: 62px; height: 62px; border-radius: 50%; overflow: hidden; border: 3px solid #fff; background: radial-gradient(#ffcf7a, #b2340c); position: relative; flex: none; box-shadow: var(--sh); }
.dk-hero img { position: absolute; width: 150%; left: -25%; top: -4%; }
.dk-head .nm { flex: 1; min-width: 0; }
.dk-head .nm b { display: block; font: 400 23px/1 var(--pop); }
.dk-head .nm i { font: normal 600 16px/1 var(--ui); color: #b9bfdc; text-transform: uppercase; }
.defb { display: flex; align-items: center; gap: 4px; height: 34px; padding: 1px 9px 0; border-radius: 12px; border: 2px solid #fff; background: var(--cyan); color: var(--ink); font: 400 13px/1.05 var(--pop); rotate: 3deg; box-shadow: 0 3px 0 var(--ink); }
.dk-tabs { display: flex; gap: 6px; margin-top: 8px; }
.dk-tabs button { flex: 1; height: 36px; border-radius: 12px; border: 2px solid rgba(255,255,255,.4); background: rgba(11,13,28,.8); font: 600 17px/1 var(--ui); text-transform: uppercase; }
.dk-tabs button.on { background: #fff; color: var(--ink); border-color: #fff; }
.pw { margin-top: 9px; padding: 8px 10px 9px; border-radius: 16px; background: var(--ink); }
.pw .l1 { display: flex; align-items: baseline; white-space: nowrap; gap: 6px; font: 600 16px/1 var(--ui); text-transform: uppercase; letter-spacing: .4px; color: #b9bfdc; }
.pw .l1 b { font: 400 22px/1 var(--num); color: #fff; letter-spacing: .3px; }
.pw .l1 .sp { flex: 1; }
.gauge { position: relative; height: 18px; margin-top: 6px; border-radius: 9px; border: 2.5px solid #fff; background: rgba(255,255,255,.12); overflow: hidden; }
.gauge span { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, #4ef08a, #ffd21a); border-radius: 6px; }
.gauge.over span { background: linear-gradient(90deg, #ff9a4a, #ff3b5c); }
.gauge .cap { position: absolute; top: -3px; bottom: -3px; width: 3px; background: #fff; }
.tiers { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.tiers .rc { width: 34px; height: 34px; border-radius: 50%; background: var(--rc); border: 2.5px solid #fff; display: grid; place-items: center; color: var(--ink); font-size: 18px; flex: none; }
.tier { flex: 1; height: 34px; border-radius: 11px; border: 2.5px dashed rgba(255,255,255,.35); display: flex; align-items: center; justify-content: center; gap: 4px; font: 400 14px/1 var(--pop); color: rgba(255,255,255,.45); }
.tier.on { border: 2.5px solid #fff; background: var(--rc); color: var(--ink); box-shadow: 0 0 14px var(--rc), 0 3px 0 rgba(0,0,0,.5); }
.curve { display: flex; align-items: flex-end; gap: 6px; height: 74px; margin-top: 8px; padding: 0 4px; }
.curve .cb { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.curve .cb span { width: 100%; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #ffc43a, #ff7a2a); border: 2px solid #fff; min-height: 4px; transition: height .3s cubic-bezier(.3,1.6,.5,1); }
.curve .cb em { font: 400 14px/1 var(--num); font-style: normal; margin-bottom: 2px; }
.curve .cb small { font: 600 14px/1 var(--ui); color: #b9bfdc; margin-top: 2px; }
.dlist { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 8px; margin-top: 10px; }
.dli { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.dli .card { --w: 80px; }
.dli .pm { display: flex; gap: 4px; margin-top: 6px; }
.dli .pm button { width: 36px; height: 30px; border-radius: 9px; border: 2px solid #fff; background: var(--ink); font: 400 18px/1 var(--pop); }
.dli .pm button.add { background: var(--green); }

/* ---------- PvP ---------- */
.pv-head { display: flex; align-items: center; gap: 8px; }
.onair { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 1px 8px 0; border-radius: 6px; background: var(--red); border: 2px solid #fff; font: 700 15px/1 var(--ui); letter-spacing: 1.5px; }
.onair::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: blink 1s infinite; }
.pv-head h2 { margin: 0; flex: 1; font: 400 24px/1 var(--pop); }
.season { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 8px 10px; border-radius: 18px; background: linear-gradient(135deg, #5a6a8a, #2a3350); }
.league { width: 66px; height: 74px; flex: none; position: relative; display: grid; place-items: center; }
.league::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #f2f6ff, #9aa8c4); clip-path: polygon(50% 0, 100% 18%, 100% 62%, 50% 100%, 0 62%, 0 18%); }
.league::after { content: ""; position: absolute; inset: 5px; background: linear-gradient(180deg, #7d8db0, #3d4a6a); clip-path: polygon(50% 0, 100% 18%, 100% 62%, 50% 100%, 0 62%, 0 18%); }
.league b { position: relative; z-index: 1; font: 400 26px/1 var(--pop); }
.season .st { flex: 1; }
.season .st b { display: block; font: 400 20px/1 var(--pop); }
.season .st i { display: block; font: normal 600 16px/1.1 var(--ui); text-transform: uppercase; color: #dfe6ff; }
.season .tro { font: 400 26px/1 var(--num); color: var(--y); }
.tbar { height: 10px; border-radius: 5px; background: rgba(0,0,0,.35); border: 2px solid #fff; margin-top: 4px; overflow: hidden; }
.tbar span { display: block; height: 100%; background: linear-gradient(90deg, #ffe45c, #ffb300); }
.rep { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 5px 0 4px; border-radius: 14px; background: var(--ink); margin-top: 5px; }
.rep .av { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; border: 2px solid #fff; position: relative; flex: none; background: var(--rc); }
.rep .av img { position: absolute; width: 150%; left: -25%; top: -4%; }
.rep .who { flex: 1; min-width: 0; font: 600 18px/1 var(--ui); }
.rep .who small { display: block; font-size: 14px; color: #9aa2c8; text-transform: uppercase; }
.rep .res { padding: 2px 7px 0; height: 24px; border-radius: 7px; border: 2px solid #fff; font: 400 13px/18px var(--pop); }
.rep .res.v { background: var(--green); color: var(--ink); } .rep .res.d { background: var(--red); }
.rep .tr { width: 40px; text-align: right; font: 400 17px/1 var(--num); }
.rep .tr.p { color: var(--green); } .rep .tr.m { color: #ff7a8e; }
.rep .rp { height: 36px; padding: 0 9px; border-radius: 10px; border: 2px solid #fff; background: var(--violet); font: 400 13px/1 var(--pop); display: flex; align-items: center; gap: 3px; }
.opps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.opp { border-radius: 16px; background: var(--ink); padding: 6px 5px 6px; display: flex; flex-direction: column; align-items: center; }
.opp .av { width: 50px; height: 50px; border-radius: 50%; overflow: hidden; border: 3px solid #fff; position: relative; background: var(--rc); }
.opp .av img { position: absolute; width: 150%; left: -25%; top: -4%; }
.opp b { font: 600 17px/1.1 var(--ui); margin-top: 3px; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.opp i { font: normal 400 14px/1 var(--num); color: #b9bfdc; letter-spacing: .3px; }
.opp .btn { min-height: 34px; height: 34px; font-size: 15px; padding: 0 8px; margin-top: 5px; width: 100%; }
.rank { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border-radius: 11px; margin-top: 4px; background: rgba(11,13,28,.85); font: 600 18px/1 var(--ui); }
.rank .rn { width: 28px; font: 400 17px/1 var(--num); color: var(--y); }
.rank .pn { flex: 1; }
.rank .pt { font: 400 16px/1 var(--num); }
.rank.me { background: var(--y); color: var(--ink); border: 2px solid #fff; }
.rank.me .rn { color: var(--ink); }

/* ---------- succès ---------- */
.carnet { position: relative; display: flex; flex-direction: column; height: 142px; border-radius: 18px; background: linear-gradient(90deg, #d9cdb6, #fff9ee 10%, #f3ead6); border: 3px solid #fff; color: var(--ink); padding: 8px 10px; box-shadow: var(--sh); overflow: hidden; }
.carnet b { font: 400 18px/1 var(--pop); }
.carnet .cn { position: absolute; right: 10px; top: 8px; font: 400 20px/1 var(--num); }
.carnet .stks { display: flex; gap: 6px; margin-top: 6px; }
.carnet .s { width: 46px; height: 46px; border-radius: 50%; border: 3px solid #fff; display: grid; place-items: center; font-size: 22px; box-shadow: 0 3px 0 rgba(0,0,0,.4); color: var(--ink); }
.carnet .s.e { border: 2.5px dashed rgba(60,30,120,.35); box-shadow: none; background: transparent; }
.ach { display: flex; align-items: center; gap: 10px; min-height: 76px; padding: 7px 8px 7px 7px; border-radius: 18px; background: var(--ink); margin-top: 7px; }
.ach .sk { position: relative; width: 62px; height: 62px; flex: none; }
.ach .sk .ring { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--p) * 1%), rgba(255,255,255,.14) 0); }
.ach .sk .face { position: absolute; inset: 6px; border-radius: 50%; background: var(--c); border: 3px solid #fff; display: grid; place-items: center; color: var(--ink); font-size: 24px; box-shadow: 0 3px 0 rgba(0,0,0,.5); }
.ach.claimed .sk .face { background: transparent; border: 2.5px dashed rgba(255,255,255,.4); color: rgba(255,255,255,.4); box-shadow: none; }
.ach .tx { flex: 1; min-width: 0; }
.ach .tx b { display: block; font: 600 19px/1.02 var(--ui); }
.ach .pb { display: block; height: 10px; border-radius: 5px; background: rgba(255,255,255,.14); margin-top: 5px; overflow: hidden; }
.ach .pb span { display: block; height: 100%; background: var(--c); }
.ach .tx small { display: flex; align-items: center; gap: 4px; margin-top: 4px; font: 400 15px/1 var(--num); color: #b9bfdc; letter-spacing: .3px; }
.ach .rw { flex: none; width: 84px; height: 44px; border-radius: 12px; border: 2px solid rgba(255,255,255,.4); display: flex; align-items: center; justify-content: center; gap: 4px; font: 400 16px/1 var(--num); color: #e8defc; }
.ach .rw.go { border: 3px solid #fff; background: linear-gradient(180deg, #4ef08a, #19b052); color: #fff; font: 400 14px/1 var(--pop); flex-direction: column; gap: 1px; box-shadow: 0 3px 0 #0b5a2a; animation: wig 1.2s ease-in-out infinite; }
.ach .rw.ok { color: var(--green); border-color: transparent; font: 400 15px/1 var(--pop); }
.ptabs { display: flex; gap: 6px; margin: 10px 0 2px; }
.ptabs button { flex: 1; height: 38px; border-radius: 12px; border: 2px solid rgba(255,255,255,.4); background: rgba(11,13,28,.8); font: 600 18px/1 var(--ui); text-transform: uppercase; position: relative; }
.ptabs button.on { background: #fff; color: var(--ink); border-color: #fff; box-shadow: 0 3px 0 rgba(0,0,0,.6); }
.ptabs button .badge { position: absolute; top: -8px; right: -4px; width: 20px; height: 20px; border-radius: 50%; background: var(--red); border: 2px solid #fff; font: 400 12px/17px var(--pop); color: #fff; }

/* ---------- événement ---------- */
.evt-bg { position: absolute; inset: 0; background: url("../shared/meta/event/lanternes.webp") center 20% / cover; }
.evt-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,8,18,.3), rgba(7,8,18,.2) 25%, rgba(7,8,18,.85) 45%, rgba(7,8,18,.97)); }
.lant { position: absolute; width: 14px; height: 18px; border-radius: 6px 6px 8px 8px; background: radial-gradient(circle at 50% 60%, #fff4c0, #ffb02e 55%, #e05a00); box-shadow: 0 0 14px 4px rgba(255,170,60,.65); }
.evt-t { text-align: center; margin-top: 6px; }
.evt-t .k { display: inline-block; padding: 3px 10px 0; border-radius: 8px; background: var(--y); color: var(--ink); font: 400 14px/1.2 var(--pop); letter-spacing: 1px; rotate: -2deg; border: 2px solid #fff; }
.evt-t h2 { margin: 4px 0 0; font: 400 35px/1 var(--pop); text-shadow: 0 0 24px rgba(255,170,60,.9); }
.evt-t p { margin: 6px 16px 0; font: 600 19px/1.05 var(--ui); color: #ffe7c2; }
.cd { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.cd div { width: 58px; height: 50px; border-radius: 12px; background: var(--ink); border: 3px solid #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: var(--sh); }
.cd b { font: 400 25px/1 var(--num); color: var(--y); }
.cd small { font: 600 13px/1 var(--ui); text-transform: uppercase; color: #b9bfdc; }
.ecards { display: flex; justify-content: center; gap: 10px; margin-top: 4px; }
.ecard { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ecard .card { --w: 84px; }
.ecard b { font: 600 15px/1 var(--ui); text-transform: uppercase; text-align: center; width: 104px; }
.ecard small { font: 400 12px/1 var(--pop); color: var(--rar); }
.lmis { padding: 8px 10px; border-radius: 16px; background: rgba(11,13,28,.92); margin-top: 6px; }
.lmis .t { display: flex; align-items: center; gap: 6px; font: 600 18px/1.05 var(--ui); }
.lmis .t .sp { flex: 1; }
.lmis .t em { font: 400 16px/1 var(--num); font-style: normal; color: var(--y); }
.lrow { display: flex; gap: 3px; margin-top: 6px; }
.lrow i { flex: 1; height: 16px; border-radius: 5px 5px 7px 7px; background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.3); }
.lrow i.on { background: radial-gradient(circle at 50% 60%, #fff4c0, #ffb02e 55%, #e05a00); border-color: #fff; box-shadow: 0 0 8px rgba(255,170,60,.8); }
.epack { display: flex; align-items: center; gap: 10px; margin-top: 8px; height: 96px; padding: 0 10px 0 92px; border-radius: 18px; position: relative; background: linear-gradient(135deg, #2b4bb0, #121e5c); }
.epack img { position: absolute; left: 6px; top: -16px; height: 120px; rotate: -9deg; }
.epack .tx { flex: 1; }
.epack .tx b { display: block; font: 400 18px/1 var(--pop); }
.epack .tx i { display: block; font: normal 600 15px/1.05 var(--ui); color: #c8d6ff; text-transform: uppercase; margin-top: 3px; }

/* ---------- surcouches ---------- */
#sheet, #modal { position: absolute; inset: 0; z-index: 50; display: none; }
#modal.on, #sheet.on { display: block; }
.veil { position: absolute; inset: 0; background: rgba(0,0,0,.72); }
.mbox { position: absolute; left: 30px; right: 30px; top: 230px; padding: 16px 14px 14px; border-radius: 24px; background: linear-gradient(180deg, #1c2040, #0e1124); text-align: center; }
.mbox h3 { margin: 0; font: 400 25px/1.05 var(--pop); }
.mbox p { margin: 6px 0 0; font: 600 19px/1.05 var(--ui); color: #cfd4ee; }
.mbox .mi { height: 150px; margin: 8px auto 4px; display: flex; justify-content: center; align-items: center; }
.mbox .mi img { height: 150px; rotate: -6deg; }
.mbox .mprice { display: inline-flex; align-items: center; gap: 6px; padding: 4px 14px 2px; border-radius: 14px; background: var(--ink); font: 400 26px/1 var(--num); margin-top: 6px; }
.mbox .mrow { display: flex; gap: 8px; margin-top: 14px; }
.mbox .mrow .btn { flex: 1; }
.mbox .demo { font: 600 14px/1 var(--ui); color: #9aa2c8; text-transform: uppercase; margin-top: 8px; letter-spacing: .5px; }
.sbox { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 14px 14px 12px; border-radius: 24px; background: #fff; color: var(--ink); border-color: var(--ink); }
.sbox h3 { margin: 0 0 8px; font: 400 23px/1 var(--pop); }
.sbox table { width: 100%; border-collapse: collapse; font: 600 19px/1.15 var(--ui); }
.sbox td { padding: 4px 2px; border-bottom: 2px dashed rgba(11,13,28,.15); }
.sbox td:last-child { text-align: right; font: 400 18px/1 var(--num); }
.sbox td i { display: inline-block; width: 11px; height: 11px; rotate: 45deg; border-radius: 2px; margin-right: 8px; border: 1.5px solid var(--ink); }
.sbox .gar { margin-top: 8px; padding: 6px 10px 4px; border-radius: 12px; background: var(--y); font: 600 18px/1.05 var(--ui); text-transform: uppercase; }
.sbox .btn { width: 100%; margin-top: 10px; }
#fx { position: absolute; inset: 0; z-index: 60; pointer-events: none; overflow: hidden; }
.conf { position: absolute; left: 0; top: 0; width: 10px; height: 14px; border-radius: 2px; border: 1.5px solid #fff; }
.fcoin { position: absolute; left: 0; top: 0; width: 22px; height: 22px; font-size: 22px; }
#toast { position: absolute; left: 50%; top: 64px; z-index: 70; pointer-events: none; }
.tst { position: absolute; left: 0; top: 0; transform: translateX(-50%); white-space: nowrap; padding: 7px 14px 4px; border-radius: 14px; background: var(--green); border: 3px solid #fff; font: 400 18px/1.05 var(--pop); box-shadow: var(--sh); }
#finger { position: absolute; z-index: 90; left: 0; top: 0; width: 0; height: 0; opacity: 0; pointer-events: none; }
#finger i { position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%; border: 4px solid #fff; background: rgba(255,210,26,.45); box-shadow: 0 0 0 3px var(--ink), 0 6px 12px rgba(0,0,0,.4); }
.ripple { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 4px solid #fff; z-index: 89; pointer-events: none; }

.ctrack { position: relative; height: 26px; margin-top: 8px; }
.ctrack .ln { position: absolute; left: 10px; right: 30px; top: 9px; height: 8px; border-radius: 4px; background: rgba(60,30,120,.18); }
.ctrack .ln span { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #9b5cff, #ff4fa3); }
.ctrack .ms { position: absolute; top: 0; width: 26px; height: 26px; margin-left: -13px; border-radius: 8px; border: 2px solid #fff; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 14px; box-shadow: 0 2px 0 rgba(0,0,0,.4); }
.ctrack .ms small { position: absolute; top: 2px; left: 28px; white-space: nowrap; font: 600 14px/1 var(--ui); color: var(--ink); text-transform: uppercase; }
.ach-more { margin-top: 10px; padding: 8px 10px; border-radius: 16px; border: 2px dashed rgba(255,255,255,.3); font: 600 17px/1.1 var(--ui); color: #b9bfdc; text-align: center; text-transform: uppercase; }

.carnet .ctrack { order: 3; }

/* =====================================================================
 * 28 — v2 : téléphone, mascotte pastille, accueil 4 blocs, plateau, héros
 * ===================================================================== */
html, body { height: 100dvh; touch-action: manipulation; overscroll-behavior: none; }
#safe { position: fixed; left: env(safe-area-inset-left, 0px); right: env(safe-area-inset-right, 0px); top: env(safe-area-inset-top, 0px); bottom: env(safe-area-inset-bottom, 0px); }
#perfov { position: fixed; left: calc(env(safe-area-inset-left, 0px) + 4px); top: calc(env(safe-area-inset-top, 0px) + 4px); z-index: 99; display: none; padding: 4px 6px; border-radius: 6px; background: rgba(0,0,0,.78); color: #9dff7a; font: 600 11px/1.3 ui-monospace, Menlo, monospace; white-space: pre; pointer-events: none; }
#perfov.on { display: block; }
#bg { background:
  radial-gradient(rgba(255,255,255,.045) 1.2px, transparent 1.6px) 0 0 / 16px 16px,
  radial-gradient(90% 50% at 50% 0%, #262a52 0%, transparent 70%),
  radial-gradient(70% 40% at 50% 100%, #2a1a12 0%, transparent 70%),
  linear-gradient(180deg, #121530, #07080f 70%); }
.stk { border-width: 2.5px; }
#topbar { background: linear-gradient(180deg, rgba(5,6,14,.97) 72%, rgba(5,6,14,0)); }
.tb-me { background: linear-gradient(180deg, #2a2f55, #141734); border: 2.5px solid #fff; box-shadow: 0 3px 0 rgba(0,0,0,.6); }
.tb-av { background: var(--rc, #ff7a2a) no-repeat; border-color: var(--rc, #fff); box-shadow: 0 0 0 2px #fff; }
.tb-cur { border: 2.5px solid rgba(255,255,255,.85); box-shadow: 0 3px 0 rgba(0,0,0,.6); background: #0b0d1c; }
#nav { background: linear-gradient(180deg, #14172e, #07080f); border-top: 2.5px solid rgba(255,255,255,.9); }
.nb { color: #9aa2c8; }

/* ---------- mascotte : pastille 52 px + bulle d'événement ---------- */
#coco { position: absolute; left: 0; right: 0; bottom: 78px; height: 0; z-index: 30; pointer-events: none; }
.cdock { position: absolute; left: 8px; bottom: 4px; width: 52px; height: 52px; border-radius: 50%; pointer-events: auto; padding: 0; background: #2a2f55; border: 3px solid #fff; box-shadow: 0 0 0 2.5px #0b0d1c, 0 5px 0 2px rgba(0,0,0,.55), 0 0 18px rgba(255,190,60,.35); }
.cface { position: absolute; inset: 0; border-radius: 50%; background-repeat: no-repeat; }
.cdot { position: absolute; right: -6px; top: -6px; width: 22px; height: 22px; border-radius: 50%; background: var(--red); border: 2.5px solid #fff; display: none; place-items: center; font: 400 13px/1 var(--pop); color: #fff; }
.cbub { position: absolute; left: 70px; right: 10px; bottom: 6px; min-height: 52px; display: flex; align-items: center; padding: 9px 12px 6px 13px; background: #fff; color: var(--ink); border: 3px solid var(--ink); border-radius: 18px; transform-origin: 0% 80%; pointer-events: auto; visibility: hidden; box-shadow: 0 5px 0 rgba(0,0,0,.55), 0 10px 20px rgba(0,0,0,.4); }
/* pointe : .tl = à gauche (vers le visage), .td = en bas (vers la tête) ; --tp = position le long du bord (core.js fitBub) */
.cbub::before, .cbub::after { content: ""; position: absolute; }
.cbub.tl::before { left: -15px; top: var(--tp, 12px); border: 9px solid transparent; border-right: 13px solid var(--ink); }
.cbub.tl::after { left: -8px; top: calc(var(--tp, 12px) + 3px); border: 6px solid transparent; border-right: 9px solid #fff; }
.cbub.td::before { top: 100%; left: var(--tp, 20px); border: 9px solid transparent; border-top: 13px solid var(--ink); border-bottom: 0; }
.cbub.td::after { top: calc(100% - 1px); left: calc(var(--tp, 20px) + 3px); border: 6px solid transparent; border-top: 10px solid #fff; border-bottom: 0; }
.ctag { position: absolute; left: 10px; top: -12px; padding: 2px 8px 0; height: 20px; border-radius: 10px; background: var(--orange); color: #fff; border: 2px solid #fff; font: 400 12px/16px var(--pop); letter-spacing: .8px; text-transform: uppercase; box-shadow: 0 2px 0 var(--ink); white-space: nowrap; }
.ctext { font: 600 17px/1.12 var(--ui); letter-spacing: .1px; }
.ctext b { color: #d9480f; font-weight: 700; }
.ctext .big { font: 400 1.04em/1.08 var(--pop); color: #e6268a; letter-spacing: .3px; }
.cbig { display: none; }
body.immersive #coco { bottom: 0; }
body.immersive .cdock { display: none; }
body.immersive .cbig { display: block; position: absolute; left: 4px; bottom: 4px; width: 92px; height: 104px; }
body.immersive .cbub { left: 98px; bottom: 16px; }
.mbig { position: absolute; width: 132px; left: -22px; bottom: -30px; }
.mcard { position: absolute; left: 6px; bottom: 8px; width: 78px; height: 96px; border-radius: 14px; overflow: hidden; border: 3px solid #fff; box-shadow: 0 0 0 2px #0b0d1c, 0 5px 0 2px rgba(0,0,0,.55); rotate: -6deg; background: #2a2f55; }
.mcard img { position: absolute; width: 150%; left: -25%; top: -6%; }
.tok { position: absolute; z-index: 6; pointer-events: none; width: 0; height: 0; }
.tok span { position: absolute; left: -20px; top: -20px; width: 40px; height: 40px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2.5px #0b0d1c, 0 6px 0 rgba(0,0,0,.55); background-color: #2a2f55; background-repeat: no-repeat; }
.tok.big span { left: -24px; top: -24px; width: 48px; height: 48px; }
.tok::after { content: ""; position: absolute; left: -3px; top: 22px; width: 6px; height: 14px; background: #fff; border-radius: 3px; box-shadow: 0 0 0 2px #0b0d1c; }
.tok.big::after { top: 26px; height: 18px; }
.cback .cbface { width: 132px; height: 132px; border-radius: 50%; border: 5px solid #fff; box-shadow: 0 0 0 3px #0b0d1c; background-repeat: no-repeat; background-color: #2a2f55; }
.cback { background: radial-gradient(circle at 50% 45%, rgba(255,200,80,.28) 0 30%, transparent 31%), repeating-conic-gradient(from 0deg at 50% 45%, #232a5c 0 15deg, #141838 15deg 30deg); }

/* ---------- accueil (4 blocs) ---------- */
.scr.home { overflow: hidden; }
.home .ev-ban { display: flex; align-items: center; gap: 10px; height: 64px; padding: 0 8px 0 8px; margin: 2px 2px 0; border-radius: 18px; rotate: -.8deg; background: #0e1124 url("../shared/meta/event/lanternes.webp") center 40% / cover; overflow: hidden; }
.home .ev-ban::before { background: linear-gradient(90deg, rgba(5,6,16,.92) 0%, rgba(5,6,16,.6) 60%, rgba(5,6,16,.25)); }
.ev-ban > * { position: relative; }
.ev-ban .lt { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(180deg, #ffd27a, #ff8a1e); border: 2px solid #fff; display: grid; place-items: center; font-size: 24px; color: #3a1a00; flex: none; }
.ev-ban .tx { flex: 1; min-width: 0; }
.ev-ban .tx i { display: block; font: normal 400 11px/1 var(--pop); color: var(--y); letter-spacing: .8px; }
.ev-ban .tx b { display: block; font: 400 21px/1.05 var(--pop); margin-top: 3px; text-shadow: 0 0 12px rgba(255,170,60,.8), 0 2px 0 #000; white-space: nowrap; }
.ev-ban .timer { height: 26px; font-size: 15px; flex: none; }
.ev-ban .go { width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 16px; flex: none; }
.home .hero-blk { position: relative; display: block; height: 284px; margin-top: 10px; }
.home .hero-blk .burst { right: -60px; top: -30px; width: 340px; height: 340px; background: repeating-conic-gradient(color-mix(in srgb, var(--rc) 30%, transparent) 0 10deg, transparent 10deg 20deg); }
.hcard { position: absolute; right: 8px; top: 8px; width: 168px; height: 252px; border-radius: 20px; overflow: hidden; border-width: 4px; rotate: 4deg; background: var(--rc); box-shadow: 0 0 0 3px #0b0d1c, 0 8px 0 3px rgba(0,0,0,.55), 0 0 30px color-mix(in srgb, var(--rc) 55%, transparent); will-change: transform; }
.hcard img { position: absolute; left: -8%; top: -2%; width: 116%; }
.hcard .hrace { position: absolute; left: 8px; bottom: 8px; width: 34px; height: 34px; border-radius: 50%; background: var(--rc); border: 2.5px solid #fff; display: grid; place-items: center; color: #0b0d1c; font-size: 18px; }
.home .hero-blk .hl { position: absolute; left: 6px; top: 6px; width: 196px; }
.home .hero-blk .tag { display: inline-block; padding: 2px 8px 0; border-radius: 8px; background: var(--y); color: var(--ink); font: 400 13px/18px var(--pop); letter-spacing: 1px; border: 2px solid #fff; rotate: -3deg; }
.home .hero-blk .hn { font: 400 46px/1 var(--pop); margin-top: 6px; }
.home .hero-blk .ht { font: 600 20px/1 var(--ui); color: #ffd6b0; margin-top: 2px; text-transform: uppercase; letter-spacing: .5px; }
.home .hero-blk .hc { display: flex; gap: 6px; margin-top: 8px; }
.haura { margin-top: 9px; padding: 7px 9px 5px; border-radius: 14px; background: rgba(11,13,28,.88); border: 2px solid rgba(255,255,255,.55); }
.haura b { display: flex; align-items: center; gap: 4px; font: 400 13px/1 var(--pop); color: var(--rc); letter-spacing: .5px; text-transform: uppercase; }
.haura span { display: block; font: 500 16px/1.05 var(--ui); margin-top: 3px; color: #e6e9f7; }
.chg { display: inline-flex; align-items: center; gap: 5px; margin-top: 9px; height: 34px; padding: 1px 11px 0; border-radius: 12px; background: #fff; color: var(--ink); font: 400 13px/1 var(--pop); letter-spacing: .4px; box-shadow: 0 3px 0 rgba(0,0,0,.6); }
.home .adv { position: relative; display: flex; align-items: center; gap: 10px; height: 104px; margin-top: 10px; padding: 0 12px 0 10px; border-radius: 22px; background: linear-gradient(180deg, #ffd84a, #ff8a00); color: var(--ink); rotate: .6deg; border: 3px solid #fff; box-shadow: 0 0 0 2.5px #0b0d1c, 0 6px 0 3px #7a3a00, 0 12px 24px rgba(0,0,0,.45); }
.home .adv .thumb { width: 76px; height: 76px; border-radius: 18px; rotate: -5deg; }
.home .adv .tx small { display: block; font: 400 12px/1 var(--pop); letter-spacing: .8px; color: #6a2a00; }
.home .adv .tx b { font: 400 27px/1 var(--pop); margin-top: 3px; white-space: nowrap; }
.home .adv .tx i { margin-top: 4px; font-size: 16px; }
.home .adv .play { width: 60px; height: 60px; font-size: 28px; }
.pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.pill { position: relative; height: 112px; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 0 4px 9px; text-align: center; }
.pill .pi { width: 46px; height: 46px; border-radius: 14px; border: 2.5px solid #fff; display: grid; place-items: center; font-size: 25px; color: var(--ink); margin-bottom: 5px; box-shadow: 0 3px 0 rgba(0,0,0,.5); rotate: -4deg; }
.pill b { font: 400 18px/1 var(--pop); letter-spacing: .4px; }
.pill i { font: normal 600 15px/1.05 var(--ui); color: #e6e9f7; text-transform: uppercase; margin-top: 2px; display: flex; align-items: center; gap: 3px; white-space: nowrap; }
.pill.pvp { background: linear-gradient(170deg, #4a1424, #1b0a14); } .pill.pvp .pi { background: #ff4a64; }
.pill.shop { background: linear-gradient(170deg, #4a2a0c, #1c1006); } .pill.shop .pi { background: var(--y); }
.pill.mis { background: linear-gradient(170deg, #123a2a, #07170f); } .pill.mis .pi { background: var(--green); }
.pill .live { position: absolute; top: -9px; left: 50%; translate: -50% 0; display: inline-flex; align-items: center; gap: 4px; height: 19px; padding: 1px 6px 0; border-radius: 5px; background: var(--red); border: 2px solid #fff; color: #fff; font: 700 13px/1 var(--ui); letter-spacing: 1px; white-space: nowrap; }
.pill .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1s infinite; }
.pill .badge { position: absolute; top: -8px; right: -4px; min-width: 24px; height: 24px; border-radius: 12px; background: var(--red); border: 2.5px solid #fff; font: 400 14px/20px var(--pop); text-align: center; }

/* ---------- plateau des zones ---------- */
.board { position: absolute; left: 0; right: 0; top: 58px; height: 712px; overflow: hidden; }
.bfelt { position: absolute; inset: 0; background:
  radial-gradient(42% 22% at 22% 72%, rgba(95,211,106,.16), transparent 70%),
  radial-gradient(40% 20% at 76% 70%, rgba(255,122,42,.2), transparent 70%),
  radial-gradient(60% 18% at 50% 50%, rgba(46,197,216,.1), transparent 70%),
  radial-gradient(60% 20% at 50% 28%, rgba(192,107,255,.13), transparent 70%),
  radial-gradient(40% 14% at 50% 8%, rgba(255,233,168,.16), transparent 70%),
  repeating-linear-gradient(45deg, rgba(255,255,255,.025) 0 2px, transparent 2px 14px); }
.sq { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 4px; border: 2px solid #fff; box-shadow: 0 2px 0 rgba(0,0,0,.6); z-index: 1; }
.sq.done { background: #ffc62a; } .sq.open { background: #fff; border-color: #0b0d1c; } .sq.lock { background: #232846; border: 2px dashed rgba(255,255,255,.45); box-shadow: none; }
.sq.bonus { width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; color: var(--ink); }
.sq.bonus.lock { color: rgba(255,255,255,.55); }
.ztile { position: absolute; width: 84px; height: 84px; margin: -42px 0 0 -42px; padding: 0; border-radius: 18px; border: 3px solid #fff; background: #222 center 40% / cover; z-index: 3; box-shadow: 0 0 0 3px var(--rc), 0 6px 0 3px rgba(0,0,0,.6); cursor: pointer; }
.ztile .zart { position: absolute; inset: 0; border-radius: 14px; background: center 42% / cover no-repeat; }
.ztile .zveil { position: absolute; inset: 0; border-radius: 14px; background: rgba(9,11,26,.68); }
.ztile.verrouillee { box-shadow: 0 0 0 3px #3a3f5c, 0 6px 0 3px rgba(0,0,0,.6); border-color: #b9bfdc; }
.ztile .znum { position: absolute; left: -11px; top: -11px; width: 26px; height: 26px; border-radius: 50%; background: #0b0d1c; border: 2.5px solid #fff; font: 400 14px/21px var(--num); text-align: center; color: #fff; }
.ztile .zb { position: absolute; right: -10px; top: -10px; width: 28px; height: 28px; border-radius: 50%; border: 2.5px solid #fff; display: grid; place-items: center; font: 400 16px/1 var(--pop); box-shadow: 0 2px 0 rgba(0,0,0,.6); color: #fff; }
.ztile.terminee .zb { background: var(--green); } .ztile.en_cours .zb { background: var(--orange); } .ztile.ouverte .zb { background: var(--y); color: var(--ink); } .ztile.verrouillee .zb { background: #3a3f5c; width: 34px; height: 34px; right: 25px; top: 22px; font-size: 18px; }
.ztile .zl { position: absolute; left: 50%; bottom: -14px; translate: -50% 0; white-space: nowrap; padding: 2px 8px 0; height: 23px; border-radius: 8px; background: #0b0d1c; border: 2px solid #fff; font: 600 16px/18px var(--ui); text-transform: uppercase; letter-spacing: .3px; color: #fff; }
.ztile .zs { position: absolute; left: 50%; bottom: -32px; translate: -50% 0; white-space: nowrap; font: 400 13px/1 var(--pop); color: var(--y); -webkit-text-stroke: 3px #0b0d1c; paint-order: stroke fill; }
.ztile .zs.new { color: #fff; background: var(--red); padding: 3px 5px 1px; border-radius: 6px; -webkit-text-stroke: 0; border: 2px solid #fff; font-size: 11px; bottom: -36px; }
.ztile.en_cours { animation: zpulse 1.3s ease-in-out infinite; }
@keyframes zpulse { 50% { box-shadow: 0 0 0 5px var(--rc), 0 0 0 9px rgba(255,140,40,.35), 0 6px 0 3px rgba(0,0,0,.6); } }
.zprog { position: absolute; left: 8px; right: 8px; top: 6px; height: 8px; border-radius: 4px; background: rgba(0,0,0,.6); border: 1.5px solid #fff; overflow: hidden; }
.zprog span { display: block; height: 100%; background: var(--y); }
.bflag { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 1px 9px 0; border-radius: 9px; border: 2.5px solid #fff; font: 400 14px/1 var(--pop); box-shadow: 0 3px 0 rgba(0,0,0,.6); white-space: nowrap; }
.bflag.start { background: var(--green); color: var(--ink); rotate: -5deg; }
.bflag.end { background: linear-gradient(180deg, #ffe9a8, #e0b000); color: var(--ink); rotate: 5deg; }
.bttl { position: absolute; left: 10px; top: 8px; z-index: 5; padding: 6px 10px 2px; border-radius: 12px; background: var(--y); color: var(--ink); font-size: 16px; border: 2.5px solid #fff; rotate: -2deg; box-shadow: 0 3px 0 rgba(0,0,0,.6); white-space: nowrap; }
.bstars { position: absolute; right: 10px; top: 46px; z-index: 5; color: var(--y); }
.blegend { position: absolute; left: 0; right: 0; top: 676px; z-index: 2; display: none; }
.board .pawn.tok { z-index: 7; }
.map-pop { top: auto; bottom: 86px; height: 112px; position: absolute; left: 10px; right: 10px; z-index: 9; border-radius: 20px; display: flex; gap: 10px; padding: 9px; background: #0b0d1c; }
.map-pop .btn { align-self: center; }
.mclose { position: absolute; right: 4px; top: 4px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; color: #9aa2c8; }
.map-pop .zt { padding-right: 4px; }

/* zone : jeton de mascotte */
.fpath .pawn.tok { z-index: 6; }

/* ---------- héros ---------- */
.heros .hh { display: flex; align-items: center; gap: 8px; }
.heros .hh h2 { margin: 0; flex: 1; font-size: 26px; }
.hgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin-top: 8px; }
.hgrp { position: relative; padding-top: 24px; }
.hrc { position: absolute; left: 4px; top: 0; z-index: 2; display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 1px 8px 0; border-radius: 8px; background: var(--rc); color: #0b0d1c; border: 2px solid #fff; font: 400 12px/1 var(--pop); letter-spacing: .5px; text-transform: uppercase; rotate: -2deg; box-shadow: 0 2px 0 rgba(0,0,0,.6); }
.hpair { display: flex; gap: 7px; }
.hgc { position: relative; flex: 1; height: 116px; border-radius: 14px; border: 2.5px solid #fff; overflow: hidden; background: var(--rc); box-shadow: 0 0 0 2px #0b0d1c, 0 4px 0 2px rgba(0,0,0,.55); }
.hpair .hgc:first-child { rotate: -1.5deg; } .hpair .hgc:last-child { rotate: 1.5deg; }
.hgc .hp { position: absolute; inset: 0; background: center 12% / 128% auto no-repeat; }
.hgc .hv { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,8,18,.25), rgba(7,8,18,.72)); }
.hgc .hg { position: absolute; left: 4px; top: 4px; width: 20px; height: 20px; border-radius: 6px; background: rgba(11,13,28,.85); border: 1.5px solid #fff; font: 400 12px/18px var(--pop); text-align: center; }
.hgc .hs { position: absolute; right: 4px; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: #3a3f5c; border: 2px solid #fff; display: grid; place-items: center; font-size: 12px; }
.hgc .hs.ok { background: var(--green); color: #0b0d1c; }
.hgc .heq { position: absolute; right: -2px; top: 6px; padding: 2px 6px 0; background: var(--y); color: #0b0d1c; border: 2px solid #fff; border-radius: 6px 0 0 6px; font: 400 11px/14px var(--pop); letter-spacing: .5px; }
.hgc.eq { box-shadow: 0 0 0 3px var(--y), 0 0 16px rgba(255,210,26,.6), 0 4px 0 2px rgba(0,0,0,.55); }
.hgc .hpr { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; display: inline-flex; align-items: center; gap: 3px; height: 20px; padding: 1px 6px 0; border-radius: 7px; background: rgba(11,13,28,.9); border: 1.5px solid #ff7ac0; font: 400 14px/1 var(--num); white-space: nowrap; }
.hgc .hn { position: absolute; left: 0; right: 0; bottom: 0; height: 24px; padding-top: 3px; background: linear-gradient(180deg, transparent, rgba(5,6,14,.95) 40%); font: 400 15px/1.2 var(--pop); text-align: center; letter-spacing: .3px; text-shadow: 0 2px 0 #000; }
.hgc.lk .hn { color: #d6dbf2; }
.hfoot { margin: 10px 4px 0; font: 600 16px/1.1 var(--ui); color: #9aa2c8; text-transform: uppercase; letter-spacing: .3px; display: flex; gap: 6px; }
.hfoot svg { flex: none; margin-top: 1px; }
.hdet .zhead .chip:last-child { margin-left: auto; }
.hd-top { position: relative; height: 312px; margin-top: 8px; }
.hd-burst { position: absolute; left: -90px; top: -60px; width: 420px; height: 420px; border-radius: 50%; background: repeating-conic-gradient(color-mix(in srgb, var(--rc) 28%, transparent) 0 9deg, transparent 9deg 18deg); -webkit-mask: radial-gradient(circle, #000 20%, transparent 68%); mask: radial-gradient(circle, #000 20%, transparent 68%); }
.hd-card { position: absolute; left: 22px; top: 6px; width: 196px; height: 294px; border-radius: 20px; overflow: hidden; border-width: 4px; rotate: -3deg; background: var(--rc); box-shadow: 0 0 0 3px #0b0d1c, 0 8px 0 3px rgba(0,0,0,.55), 0 0 34px color-mix(in srgb, var(--rc) 55%, transparent); }
.hd-card img { position: absolute; left: -4%; top: 0; width: 108%; }
.hd-card.lk::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,8,18,0) 45%, rgba(7,8,18,.7)); }
.hd-lock { position: absolute; left: 50%; bottom: 14px; translate: -50% 0; z-index: 2; width: 46px; height: 46px; border-radius: 50%; background: #3a3f5c; border: 3px solid #fff; display: grid; place-items: center; font-size: 22px; }
.heq.big { position: absolute; left: -4px; top: 14px; z-index: 2; padding: 3px 10px 1px; background: var(--y); color: #0b0d1c; border: 2.5px solid #fff; border-radius: 0 9px 9px 0; font: 400 15px/1.1 var(--pop); letter-spacing: .8px; }
.hd-nav { position: absolute; top: 128px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; background: #0b0d1c; border: 2.5px solid #fff; display: grid; place-items: center; font-size: 18px; box-shadow: 0 3px 0 rgba(0,0,0,.6); }
.hd-nav.l { left: -4px; } .hd-nav.r { left: 202px; }
.hd-info { position: absolute; left: 236px; right: 0; top: 10px; }
.hd-n { font: 400 34px/1 var(--pop); word-break: break-word; }
.hd-t { font: 600 19px/1.02 var(--ui); color: color-mix(in srgb, var(--rc) 55%, #fff); text-transform: uppercase; margin-top: 4px; letter-spacing: .3px; }
.hd-st { display: grid; grid-template-columns: 1fr; gap: 6px; margin-top: 12px; }
.hd-st .stat { height: 54px; }
.hd-aura { display: flex; gap: 10px; align-items: center; padding: 9px 11px 7px; border-radius: 16px; background: #fff; color: var(--ink); rotate: -.5deg; }
.hd-aura .ai { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--rc); border: 2px solid var(--ink); display: grid; place-items: center; font-size: 22px; }
.hd-aura b { font: 400 15px/1.1 var(--pop); letter-spacing: .4px; color: #c2410c; }
.hd-aura p { margin: 2px 0 0; font: 600 18px/1.05 var(--ui); }
.hd-skins { display: flex; gap: 8px; }
.hd-skins .sk { position: relative; flex: 1; height: 112px; border-radius: 14px; overflow: hidden; border: 2.5px dashed rgba(255,255,255,.5); background: #141834; }
.hd-skins .sk.own { border: 2.5px solid #fff; box-shadow: 0 0 0 2px var(--rc); }
.hd-skins .sp2 { position: absolute; inset: 0; background: center 10% / 140% auto no-repeat; }
.hd-skins .tint { position: absolute; inset: 0; }
.hd-skins .t-lanterne .tint { background: linear-gradient(180deg, rgba(255,150,40,.42), rgba(60,20,90,.55)); }
.hd-skins .t-obsidienne .tint { background: linear-gradient(180deg, rgba(10,10,20,.55), rgba(90,20,140,.5)); }
.hd-skins .sk:not(.own) .tint::after { content: ""; position: absolute; inset: 0; background: rgba(7,8,18,.35); }
.hd-skins .sk b { position: absolute; left: 0; right: 0; bottom: 20px; padding: 0 3px; font: 400 12px/1.05 var(--pop); text-align: center; text-shadow: 0 2px 0 #000; }
.hd-skins .sk i { position: absolute; left: 0; right: 0; bottom: 3px; display: flex; justify-content: center; align-items: center; gap: 3px; font: normal 400 14px/1 var(--num); }
.hd-act { display: flex; gap: 8px; align-items: center; margin-top: 10px; }
.hd-act .btn { flex: 1; height: 54px; font-size: 22px; }
.hd-act .btn.p { flex: none; padding: 0 14px; }
.hd-cond { flex: 1; display: flex; align-items: center; gap: 6px; min-height: 54px; padding: 4px 10px; border-radius: 14px; border: 2px dashed rgba(255,255,255,.45); font: 600 17px/1.05 var(--ui); text-transform: uppercase; color: #dfe3f5; }
.hd-cond svg { flex: none; font-size: 18px; }
.mhero { display: block; width: 100px; height: 150px; border-radius: 14px; overflow: hidden; rotate: -5deg; position: relative; }
.mhero img { width: 100%; }

/* deck : portrait cliquable */
.dk-hero { display: block; background-repeat: no-repeat; background-color: var(--rc); }
.dk-chg { position: absolute; right: -2px; bottom: -2px; width: 22px; height: 22px; border-radius: 50%; background: #fff; color: #0b0d1c; display: grid; place-items: center; font-size: 12px; }
.rep .av, .opp .av { background-repeat: no-repeat; }
.dk-head .dk-hero { overflow: visible; }
/* héros détouré qui sort de sa carte */
.hcard { overflow: visible; border: 0; background: none; box-shadow: none; rotate: 3deg; right: 4px; top: 0; width: 176px; height: 280px; }
.hcard .hbk { position: absolute; left: 6px; right: 6px; top: 58px; bottom: 6px; border-radius: 22px; border-width: 4px; background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--rc) 85%, #fff), color-mix(in srgb, var(--rc) 55%, #000) 75%); box-shadow: 0 0 0 3px #0b0d1c, 0 8px 0 3px rgba(0,0,0,.55), 0 0 30px color-mix(in srgb, var(--rc) 50%, transparent); }
.hcard .hcut { position: absolute; left: -22px; top: -16px; width: 220px; filter: drop-shadow(2.5px 0 0 #fff) drop-shadow(-2.5px 0 0 #fff) drop-shadow(0 -2.5px 0 #fff) drop-shadow(0 4px 3px rgba(0,0,0,.6)); -webkit-mask: linear-gradient(180deg, #000 85%, transparent 99%); mask: linear-gradient(180deg, #000 85%, transparent 99%); }
.hcard .hill { position: absolute; left: 10px; top: 62px; width: 156px; border-radius: 18px; }
.hcard .hrace { z-index: 2; left: 14px; bottom: 14px; }
/* correctifs v2 (passe 2) */
.pawn.tok { margin: 0; width: 0; height: 0; }
.home .ev-ban .tx i { display: flex; align-items: center; gap: 4px; font: 400 12px/1 var(--pop); white-space: nowrap; }
.home .ev-ban .tx i span { color: #fff; font: 400 14px/1 var(--num); letter-spacing: .5px; }
.home .ev-ban .tx b { font-size: 23px; }
.home .adv .tx { min-width: 0; }
.home .adv .tx b { font-size: 24px; }
.home .adv .tx i { display: flex; align-items: center; gap: 4px; }
.home .adv .tx sup { font-size: .6em; }
.hgc { height: 104px; }
.hgc .hp { background-size: 124% auto; background-position: center 8%; }
.hgrid { gap: 4px 12px; }
.hgrp { padding-top: 23px; }
.hd-top { height: 290px; }
.hd-card { width: 184px; height: 276px; }
.hd-nav { top: 118px; } .hd-nav.r { left: 190px; }
.hd-info { left: 226px; }
.hd-skins .sk { height: 96px; }
.hd-skins .sp2 { background-size: 150% auto; background-position: center 8%; }
.map-pop { bottom: auto; top: 50px; }
.bttl { font-size: 15px; top: 8px; }
.bstars { top: 9px; }
.bflag.end { z-index: 4; }
.roads { position: absolute; left: 0; top: 0; width: 390px; height: 712px; z-index: 0; }
.rd { fill: none; stroke-width: 24; stroke-linecap: round; stroke: rgba(255,255,255,.07); }
.rd.done { stroke: rgba(255,198,42,.2); } .rd.open { stroke: rgba(255,255,255,.13); }
.ztile .zveil { background: rgba(9,11,26,.5); }
.home .adv .tx b { font-size: 22px; }
.hcard .hcut { left: -8px; width: 206px; top: -6px; }
.hcard .hbk { left: 0; right: -10px; top: 40px; bottom: 30px; border: 0; border-radius: 50%; box-shadow: none; background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--rc) 70%, transparent), transparent 68%); }
body.immersive .cbub { left: 116px; }
.mbig { width: 120px; left: -14px; bottom: -24px; }

/* ---------- mascotte partagée (shared/meta/mascot.js) : mode BULLE | DÉTOURÉ ---------- */
#coco { inset: 0; bottom: auto; height: 844px; }
body.immersive #coco { bottom: auto; }
/* bulle : pastille 52 px (visage centré par mascotte) au-dessus de la nav ; booster : 78 px */
.cdock { left: 8px; bottom: 82px; overflow: visible; }
.cdock .cface { position: absolute; inset: auto auto auto auto; left: 0; top: 0; background-color: #2a2f55; }
.cbub { bottom: 84px; }
body.immersive .cdock { display: block; left: 8px; bottom: 12px; width: 78px; height: 78px; }
body.immersive .cbub { left: 100px; bottom: 20px; }
/* détouré : contour sticker blanc, l'hôte se tient sur la nav (clip = il passe « derrière » en redescendant) */
.cdk { position: absolute; left: 0; top: 0; width: 390px; height: 844px; pointer-events: none; }
.cclip { position: absolute; left: 0; top: 0; width: 390px; height: 771px; overflow: hidden; pointer-events: none; }
body.immersive .cclip { display: none; }
.cslot { position: absolute; pointer-events: none; will-change: transform; }
.cs-immersive { display: none; }
body.immersive .cs-immersive { display: block; }
.cact { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: none; cursor: pointer; pointer-events: auto; will-change: transform; }
.ccut { position: absolute; left: 0; top: 0; pointer-events: none; }
.ccut .cbake { pointer-events: none; }
.cact .cdot { right: auto; margin: -11px 0 0 -11px; z-index: 2; }
.cspark { position: absolute; left: 0; top: 0; width: 22px; height: 22px; z-index: 3; pointer-events: none; }
.cspark svg { width: 100%; height: 100%; fill: currentColor; stroke: #0b0d1c; stroke-width: 1.6; stroke-linejoin: round; filter: drop-shadow(0 0 2px #fff); }
/* accueil en détouré (classe .sc-det posée sur l'écran par le routeur, MASCOT.modeFor) : l'hôte occupe la colonne gauche du bas, les 3 raccourcis s'empilent à droite */
.sc-det .home .hero-blk { height: 268px; margin-top: 6px; }
.sc-det .home .adv { margin-top: 8px; }
.sc-det .home .pills { grid-template-columns: 1fr; gap: 7px; margin: 12px 0 0 176px; }
.sc-det .home .pill { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 9px; align-content: center; justify-items: start; height: 56px; padding: 0 8px; text-align: left; }
.sc-det .home .pill .pi { grid-row: 1 / span 2; width: 40px; height: 40px; margin: 0; font-size: 21px; }
.sc-det .home .pill b { font-size: 18px; }
.sc-det .home .pill i { font-size: 14px; margin-top: 1px; }
.sc-det .home .pill .live { left: auto; right: 8px; translate: 0 0; top: -8px; }
.sc-det .home .pill .badge { right: -6px; }
/* bouton « Mascotte (test) » (MASCOT.mountPicker) : dans la fiche profil (tap sur « Joueur Niv 12 ») */
.mpick { display: flex; justify-content: flex-start; }
.prof .prh { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.prof .pav { flex: none; width: 64px; height: 64px; border-radius: 50%; background-color: var(--rc); background-repeat: no-repeat; border: 3px solid #fff; box-shadow: 0 0 0 3px var(--ink), 0 4px 0 2px rgba(0,0,0,.35); }
.prof .prt b { display: block; font: 400 26px/1 var(--pop); }
.prof .prt i { display: block; margin-top: 3px; font: normal 600 16px/1.15 var(--ui); color: #444a70; }
.prof .prt .tb-xp { width: 170px; height: 8px; margin-top: 6px; background: rgba(11,13,28,.16); }
.prof .btn .i { width: 20px; height: 20px; margin-right: 6px; vertical-align: -3px; }
.prof .ptest { margin-top: 12px; padding: 9px 10px 10px; border-radius: 14px; border: 2px dashed rgba(11,13,28,.28); }
.prof .ptest small { display: block; margin-bottom: 7px; font: 400 13px/1 var(--pop); letter-spacing: .8px; color: #5d6386; text-transform: uppercase; }
.prof .mascot-pick-btn { height: 40px !important; }
.mpick .mascot-pick-btn { position: static !important; width: auto !important; height: 30px !important; border-radius: 15px !important; padding: 0 12px 0 8px !important;
  display: inline-flex; align-items: center; gap: 4px; font-size: 15px !important; border: 2.5px solid rgba(255,255,255,.85) !important; background: #0b0d1c !important; box-shadow: 0 3px 0 rgba(0,0,0,.6) !important; }
.mpick .mascot-pick-btn span { font: 600 15px/1 var(--ui); text-transform: uppercase; letter-spacing: .4px; color: #ffd76a; white-space: nowrap; }
.cbub { z-index: 4; min-height: 40px; padding: 8px 11px 6px 12px; contain: layout; }
.sc-det .home .pill .live { top: -12px; height: 18px; font-size: 12px; }
/* offres (QA) : le libellé tenait sur 61 px → « 500 / Gemmes / SAC · +10 / % ». Icône et prix plus compacts, textes sur une ligne */
.of { gap: 6px; padding: 0 7px 0 8px; }
.of .big { font-size: 27px; }
.of > span:nth-child(2) { min-width: 0; flex: 1; text-align: left; }
.of b { font-size: 16px; line-height: 1; }
.of i { margin-top: 3px; font-size: 12.5px; letter-spacing: .2px; white-space: nowrap; }
.of .pr { height: 32px; padding: 0 6px; font-size: 15px; }
