
/* V16.15 — composition rebuilt from the user's 1536x1024 reference image */
:root{--champ-navy:#061b38;--champ-gold:#edbd55}
.v15ChampShell{position:relative!important;isolation:isolate!important;background:linear-gradient(#001b3070,#00162748),url('v15_champions_foret.webp') center/cover no-repeat!important;color:white!important}
.v15ChampShell .v15Brand{position:absolute;z-index:8;left:30%;width:40%;top:1%;text-align:center;pointer-events:none;filter:drop-shadow(0 5px 3px #000)}
.v15ChampShell .v15Brand .v15Logo{font-size:clamp(22px,3.3vw,57px);font-weight:1000;line-height:1.05;letter-spacing:-.04em;color:#ffd343;-webkit-text-stroke:1.5px #063876;text-shadow:3px 5px 0 #03132e,0 0 14px #000}
.v15ChampShell .v15Brand .v15Ribbon{background:linear-gradient(#ffd47d,#bd7015,#f9bd50);border:3px ridge #ffe0a0;border-radius:10px 10px 25px 25px;color:#17101b;font-size:clamp(12px,1.4vw,23px);font-weight:1000;padding:4px;transform:rotate(-2deg);text-shadow:0 1px #ffe7a2}
.v15ChampShell .v15Brand .v15ArenaName{margin:8px auto 0;background:linear-gradient(#041b3af5,#0b3056f2);border:4px ridge var(--champ-gold);border-radius:16px;max-width:80%;padding:8px;font-size:clamp(13px,1.6vw,24px);font-weight:900}
.v15ChampShell .v15Upgrades,.v15ChampShell .v15Actions{position:absolute!important;z-index:9!important;top:33%!important;bottom:21%!important;max-height:none!important;height:auto!important;margin:0!important;box-sizing:border-box!important;background:linear-gradient(145deg,#03182ff5,#12365bf2,#06152ff8)!important;border:5px ridge #e6b44d!important;border-radius:26px!important;padding:13px!important;box-shadow:0 8px 0 #30210b,0 15px 25px #000a!important;overflow:auto!important}
.v15ChampShell .v15Upgrades{left:1%!important;width:18%!important}
.v15ChampShell .v15Actions{right:1%!important;width:17%!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:16px!important}
.v15ChampShell .v15Upgrades:before{content:'✨ Améliorations';display:block;font-size:clamp(13px,1.45vw,23px);font-weight:1000;color:#ffe6a4;text-align:center;margin-bottom:14px}
.v15ChampShell .v15Actions:before{content:'⚔️ Actions';display:block;font-size:clamp(15px,1.7vw,27px);font-weight:1000;color:#ffe6a4;text-align:center;margin-bottom:12px}
.v15ChampShell .v15Actions button{min-height:65px!important;width:100%!important;border-radius:16px!important;font-weight:900!important;font-size:clamp(12px,1.3vw,21px)!important}
.v15ChampShell .v15Actions button:first-of-type{background:linear-gradient(#ff5d50,#af0711)!important;border:3px solid #ffb969!important;color:white!important}
.v15ChampShell .v15Actions button:nth-of-type(2){background:linear-gradient(#1da8ff,#0844b6)!important;border:3px solid #9de0ff!important;color:white!important}
.v15ChampShell .v15Journal{position:absolute!important;z-index:8!important;left:3%!important;right:3%!important;bottom:2%!important;height:13%!important;box-sizing:border-box!important;overflow:auto!important;background:linear-gradient(#0b3058f9,#04182ffb)!important;border:5px ridge var(--champ-gold)!important;border-radius:25px!important;padding:12px 25px!important;text-align:left!important;font-size:clamp(12px,1.3vw,19px)!important;box-shadow:0 6px 0 #30210b,0 13px 20px #000a!important}
.v15ChampShell .v15Journal:before{content:'📜 Journal de combat';display:block;color:#ffe3a0;font-weight:1000;font-size:clamp(15px,1.5vw,23px);margin-bottom:7px}
.v15ChampShell .v15Center{position:absolute!important;z-index:5!important;left:19%!important;right:18%!important;top:30%!important;bottom:23%!important;pointer-events:none!important}
.v15ChampShell .v15Center:before{content:'';position:absolute;bottom:0;left:3%;right:3%;height:24%;border:4px solid #f6bd5c;border-radius:50%;box-shadow:0 0 22px #f9d270,inset 0 0 20px #ffd565;transform:perspective(200px) rotateX(35deg);background:radial-gradient(ellipse,#8ad99d45,#052c3766)}
.v15ChampShell .v15Center .v15Poke{position:absolute!important;bottom:7%!important;width:46%!important;height:90%!important;display:flex!important;align-items:end!important;justify-content:center!important;filter:drop-shadow(0 12px 10px #000b)}
.v15ChampShell .v15Center .v15Poke:first-child{left:1%!important}
.v15ChampShell .v15Center .v15Poke:nth-child(2){right:1%!important}
.v15ChampShell .v15Center .v15Poke img{max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;object-fit:contain!important}
.v15ChampShell .v15Hud{position:absolute!important;top:13%!important;width:32%!important;min-height:105px!important;z-index:10!important;box-sizing:border-box!important;display:flex!important;gap:10px!important;align-items:center!important;padding:12px!important;background:linear-gradient(110deg,#051a35fa,#12375bf7,#04172efa)!important;border:4px ridge #e9b45a!important;border-radius:20px!important;box-shadow:0 6px 0 #17233a,0 10px 18px #000b!important}
.v15ChampShell .v15HudLeft{left:1%!important}
.v15ChampShell .v15HudRight{right:1%!important;flex-direction:row-reverse!important}
.v15ChampShell .v15Hud .v15Portrait{width:78px;height:78px;flex:none;object-fit:cover;border:3px solid #efb755;border-radius:13px}
.v15ChampShell .v15Hud .v15HudInfo{min-width:0;flex:1;text-align:center}
.v15ChampShell .v15Hud .v15HudName{font-weight:1000;font-size:clamp(14px,1.65vw,25px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v15ChampShell .v15Hud .v15HudBar{height:20px;border-radius:20px;border:2px solid #b9e9a5;background:#102c28;overflow:hidden;margin:7px 0 4px}
.v15ChampShell .v15Hud .v15HudBar>div{height:100%;background:linear-gradient(#aaff6c,#2de837 55%,#119a28);transition:width .25s}
.v15ChampShell .v15Hud .v15HudHp{font-size:clamp(12px,1.35vw,19px);font-weight:900}
.v15ChampShell .v15Message{position:absolute!important;bottom:17%!important;left:22%!important;right:22%!important;z-index:9!important;background:#051d3bf7;border:4px ridge #e8b850;border-radius:18px;padding:10px 15px;text-align:center;font-weight:800;box-shadow:0 6px 15px #000a}
body.v16WorldArenaOpen #v13world #v132Battle.v15ChampShell{position:fixed!important;inset:0!important;z-index:99990!important;width:100vw!important;height:100dvh!important;max-width:none!important;display:block!important;overflow:auto!important;padding:0!important;border:0!important;border-radius:0!important}
body.v16WorldArenaOpen #v132Battle.v15ChampShell .v134Arena{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;background:transparent!important;border:0!important;pointer-events:none!important}
body.v16WorldArenaOpen #v132Battle.v15ChampShell .v134Sky,body.v16WorldArenaOpen #v132Battle.v15ChampShell .v134Footer,body.v16WorldArenaOpen #v132Battle.v15ChampShell .v137Hud,body.v16WorldArenaOpen #v132Battle.v15ChampShell .v134Name,body.v16WorldArenaOpen #v132Battle.v15ChampShell .v134Bar{display:none!important}
body.v16WorldArenaOpen #v132Battle.v15ChampShell .v134Field{position:absolute!important;inset:0!important;background:none!important;border:0!important}
body.v16WorldArenaOpen #v132Battle.v15ChampShell .v134Mine,body.v16WorldArenaOpen #v132Battle.v15ChampShell .v134Enemy{opacity:0!important}
body.v16WorldArenaOpen #v132Battle.v15ChampShell .v15BattlePanel{left:1%!important;right:auto!important;width:18%!important}
body.v16WorldArenaOpen #v132Battle.v15ChampShell .v132Actions{right:1%!important;left:auto!important;width:17%!important}
body.v16WorldArenaOpen #v132Battle.v15ChampShell .v132Log{display:none!important}
body.v16WorldArenaOpen #v132Battle.v15ChampShell .v132BattleHeading,body.v16WorldArenaOpen #v132Battle.v15ChampShell .v16WorldTop{display:none!important}
#fight.v16FullArena.v15ChampShell:not(.hidden){position:fixed!important;inset:0!important;z-index:99990!important;display:block!important;width:100vw!important;height:100dvh!important;max-width:none!important;overflow:auto!important;padding:0!important;border:0!important}
#fight.v15ChampShell .v16ArenaSky,#fight.v15ChampShell .v16ArenaTop,#fight.v15ChampShell .v16ArenaCenterTitle,#fight.v15ChampShell .v16ArenaFooter{display:none!important}
#fight.v15ChampShell .battle{display:none!important}
#fight.v15ChampShell>.panel{display:contents!important}
#fight.v15ChampShell .actions{right:1%!important;width:17%!important}
#fight.v15ChampShell #log{display:none!important}
#fight.v15ChampShell #v142CpuStatus{display:none!important}
#multiRoom.v15ChampShell{position:fixed!important;inset:0!important;z-index:99990!important;width:100vw!important;height:100dvh!important;overflow:auto!important}
#multiRoom.v15ChampShell>.panel{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
#multiRoom.v15ChampShell>.panel>.battle,#multiRoom.v15ChampShell>.panel>.actions,#multiRoom.v15ChampShell #multiEvent{display:none!important}
#multiRoom.v15ChampShell>.panel>.between{position:absolute;z-index:15;top:1%;right:1%;background:#05172de8;border:2px solid #eab94d;border-radius:12px;padding:8px}
#multiRoom.v15ChampShell>.panel>p{position:absolute;z-index:15;top:8%;right:1%;background:#05172de8;padding:5px;border-radius:8px}
#multiRoom.v15ChampShell #v127Third{position:absolute;z-index:20;left:30%;top:35%;background:#061a36f9!important}
.v15ChampShell .v15Exit{position:absolute;z-index:30;top:1%;right:1%;background:#06182ff2;border:2px solid #eabb56;border-radius:12px;color:white;padding:9px 13px;cursor:pointer}
@media(max-width:850px){
.v15ChampShell .v15Hud{top:12%!important;width:45%!important;min-height:70px!important;padding:5px!important}
.v15ChampShell .v15Hud .v15Portrait{width:45px;height:45px}
.v15ChampShell .v15Brand{left:20%;width:60%;top:0}
.v15ChampShell .v15Brand .v15Ribbon{display:none}
.v15ChampShell .v15Brand .v15ArenaName{font-size:12px;padding:3px}
.v15ChampShell .v15Upgrades,.v15ChampShell .v15Actions{top:61%!important;bottom:19%!important;width:46%!important;padding:6px!important}
.v15ChampShell .v15Upgrades{left:2%!important}
.v15ChampShell .v15Actions{right:2%!important}
body.v16WorldArenaOpen #v132Battle.v15ChampShell .v15BattlePanel{left:2%!important;width:46%!important}
body.v16WorldArenaOpen #v132Battle.v15ChampShell .v132Actions{right:2%!important;width:46%!important}
#fight.v15ChampShell .actions{right:2%!important;width:46%!important}
.v15ChampShell .v15Center{top:24%!important;bottom:38%!important;left:3%!important;right:3%!important}
.v15ChampShell .v15Journal{bottom:1%!important;height:15%!important}
.v15ChampShell .v15Message{bottom:16%!important;left:5%!important;right:5%!important;padding:5px}
.v15ChampShell .v15Actions button{min-height:40px!important}
.v15ChampShell .v15Upgrades:before,.v15ChampShell .v15Actions:before{font-size:13px;margin-bottom:5px}
}

/* Ensure cloned sprites stay in front of the scenery and panels. */
.v15ChampShell .v15Center{z-index:7!important}
.v15ChampShell .v15Center .v15Poke{z-index:8!important;visibility:visible!important;opacity:1!important}
.v15ChampShell .v15Center .v15Poke img{display:block!important;visibility:visible!important;opacity:1!important;min-height:100px;min-width:100px;max-height:100%!important;max-width:100%!important}
.v15ChampShell .v15Center .v15Poke img:not([src]),.v15ChampShell .v15Center .v15Poke img[src=""]{display:none!important}

/* V16.17: display the actual game sprites, not the trainer portrait clones. */
body.v16WorldArenaOpen #v132Battle.v15ChampShell .v15Center .v15Poke{display:none!important}
body.v16WorldArenaOpen #v132Battle.v15ChampShell #v134Mine,
body.v16WorldArenaOpen #v132Battle.v15ChampShell #v134Enemy{
 display:flex!important;visibility:visible!important;opacity:1!important;
 position:absolute!important;z-index:12!important;top:30%!important;bottom:23%!important;
 width:29%!important;height:auto!important;max-width:none!important;min-height:0!important;
 transform:none!important;margin:0!important;padding:0!important;
 align-items:center!important;justify-content:center!important;pointer-events:none!important;
 background:none!important;border:0!important;box-shadow:none!important;
}
body.v16WorldArenaOpen #v132Battle.v15ChampShell #v134Mine{left:20%!important;right:auto!important}
body.v16WorldArenaOpen #v132Battle.v15ChampShell #v134Enemy{right:19%!important;left:auto!important}
body.v16WorldArenaOpen #v132Battle.v15ChampShell #v134Mine .v136Creature,
body.v16WorldArenaOpen #v132Battle.v15ChampShell #v134Enemy .v136Creature{
 display:flex!important;position:relative!important;inset:auto!important;visibility:visible!important;
 opacity:1!important;width:100%!important;height:100%!important;max-width:none!important;
 align-items:center!important;justify-content:center!important;transform:none!important;
}
body.v16WorldArenaOpen #v132Battle.v15ChampShell #v134Mine .v136Creature img,
body.v16WorldArenaOpen #v132Battle.v15ChampShell #v134Enemy .v136Creature img{
 display:block!important;visibility:visible!important;opacity:1!important;
 position:relative!important;inset:auto!important;transform:none!important;
 width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;
 min-width:0!important;min-height:0!important;object-fit:contain!important;
 filter:drop-shadow(0 13px 9px #000a)!important;
}
body.v16WorldArenaOpen #v132Battle.v15ChampShell #v134Mine .v134Aura,
body.v16WorldArenaOpen #v132Battle.v15ChampShell #v134Enemy .v134Aura,
body.v16WorldArenaOpen #v132Battle.v15ChampShell #v134Mine .v134Shadow,
body.v16WorldArenaOpen #v132Battle.v15ChampShell #v134Enemy .v134Shadow,
body.v16WorldArenaOpen #v132Battle.v15ChampShell #v134Mine .v134Name,
body.v16WorldArenaOpen #v132Battle.v15ChampShell #v134Enemy .v134Name,
body.v16WorldArenaOpen #v132Battle.v15ChampShell #v134Mine .v134Bar,
body.v16WorldArenaOpen #v132Battle.v15ChampShell #v134Enemy .v134Bar{display:none!important}
@media(max-width:850px){
body.v16WorldArenaOpen #v132Battle.v15ChampShell #v134Mine,
body.v16WorldArenaOpen #v132Battle.v15ChampShell #v134Enemy{top:24%!important;bottom:38%!important;width:45%!important}
body.v16WorldArenaOpen #v132Battle.v15ChampShell #v134Mine{left:3%!important}
body.v16WorldArenaOpen #v132Battle.v15ChampShell #v134Enemy{right:3%!important}
}

/* V16.18: distinct arena illustrations per region; identical interface geometry. */
.v15ChampShell[data-champion-region="region-1"]{background:linear-gradient(#001b3060,#00162740),url('arenes/foret_murmures_v1622.webp') center/cover no-repeat!important}
.v15ChampShell[data-champion-region="region-2"]{background:linear-gradient(#001b3060,#00162740),url('arenes/lac_reflets_v1623.webp') center/cover no-repeat!important}
.v15ChampShell[data-champion-region="region-3"]{background:linear-gradient(#001b3060,#00162740),url('arenes/volcan_ardent_v1623.webp') center/cover no-repeat!important}
.v15ChampShell[data-champion-region="region-4"]{background:linear-gradient(#001b3060,#00162740),url('arenes/pics_tonnerre_v1623.webp') center/cover no-repeat!important}
.v15ChampShell[data-champion-region="region-5"]{background:linear-gradient(#001b3060,#00162740),url('arenes/ruines_anciens_v1623.webp') center/cover no-repeat!important}
.v15ChampShell[data-champion-region="region-6"]{background:linear-gradient(#001b3060,#00162740),url('arenes/cite_champions_v1623.webp') center/cover no-repeat!important}
.v15ChampShell[data-champion-region="training"]{background:linear-gradient(#001b3050,#00162735),url('arenes/entrainement_v1624.webp') center/cover no-repeat!important}
.v15ChampShell[data-champion-region="multiplayer"]{background:linear-gradient(#001b3050,#00162735),url('arenes/cite_champions_v1623.webp') center/cover no-repeat!important}
