/* V16.24 clean training arena — scope strictly to #fight; no world changes */
body:has(#fight.v1624Unified:not(.hidden)) #v12ComputerArea > :not(#fight){visibility:hidden!important}
body:has(#fight.v1624Unified:not(.hidden)) #v144Upgrades{display:none!important}
#fight.v1624Unified:not(.hidden){position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;overflow:hidden!important;z-index:99999!important;border:0!important;border-radius:0!important;transform:none!important;background:linear-gradient(180deg,rgba(4,20,34,.13),rgba(4,20,34,.03) 60%,rgba(4,20,34,.18)),url('arenes/entrainement_v1624.webp') center center/cover no-repeat!important}
#fight.v1624Unified .v1624Header,#fight.v1624Unified .v1624Upgrades{display:none!important}
#fight.v1624Unified .v1624Title{position:absolute!important;top:2%!important;left:34%!important;width:32%!important;height:auto!important;padding:8px 10px!important;z-index:30!important}
#fight.v1624Unified .v1624Battle.battle{position:absolute!important;inset:0!important;display:block!important;background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important}
#fight.v1624Unified .v1624Hud{top:10%!important;height:12%!important;z-index:30!important}
#fight.v1624Unified .v1624Mine .v1624Hud{left:1.5%!important}
#fight.v1624Unified .v1624Enemy .v1624Hud{right:1.5%!important}
#fight.v1624Unified .v1624Creature.art{top:34%!important;height:37%!important;width:24%!important;max-width:24%!important;display:flex!important;align-items:center!important;justify-content:center!important;background:transparent!important;box-shadow:none!important;border:0!important}
#fight.v1624Unified .v1624Mine .v1624Creature{left:22%!important;right:auto!important}
#fight.v1624Unified .v1624Enemy .v1624Creature{right:22%!important;left:auto!important}
#fight.v1624Unified .v1624Creature img{display:block!important;max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;object-fit:contain!important;border:0!important;border-radius:0!important;box-shadow:none!important;filter:drop-shadow(0 12px 10px #071b2b99)!important}
#fight.v1624Unified .v1624Commands.panel{position:absolute!important;top:41%!important;right:1.4%!important;left:auto!important;bottom:auto!important;width:15%!important;height:auto!important;min-height:0!important;max-height:35%!important;padding:10px!important;z-index:35!important}
#fight.v1624Unified .v1624Commands #hit,#fight.v1624Unified .v1624Commands #guard{min-height:40px!important;height:auto!important;padding:8px 5px!important;font-size:clamp(11px,1vw,15px)!important}
#fight.v1624Unified .v1624Journal{position:absolute!important;top:auto!important;right:auto!important;left:1.5%!important;bottom:2%!important;width:min(350px,31vw)!important;height:auto!important;max-height:17%!important;min-height:0!important;overflow:auto!important;z-index:50!important;display:block!important;visibility:visible!important;padding:8px 11px!important;transform:none!important;background:rgba(11,31,55,.88)!important;border:1px solid #e8c86d!important;border-radius:10px!important}
#fight.v1624Unified .v1624Journal h3{font-size:12px!important;line-height:1.2!important;margin:0 0 4px!important}
#fight.v1624Unified .v1624Journal #log{position:static!important;display:block!important;visibility:visible!important;height:auto!important;max-height:10vh!important;overflow:auto!important;font-size:11px!important;line-height:1.3!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
#fight.v1624Unified .v1624Message{position:absolute!important;top:auto!important;bottom:9%!important;left:31%!important;width:42%!important;height:auto!important;min-height:0!important;padding:7px 10px!important;z-index:25!important;font-size:12px!important}
#fight.v1624Unified #v16LeaveArena{position:absolute!important;top:1%!important;right:1%!important;z-index:60!important}
@media(max-width:700px){#fight.v1624Unified .v1624Title{left:27%!important;width:46%!important}#fight.v1624Unified .v1624Hud{top:12%!important;width:45%!important}#fight.v1624Unified .v1624Creature.art{top:35%!important;height:29%!important;width:29%!important;max-width:29%!important}#fight.v1624Unified .v1624Mine .v1624Creature{left:15%!important}#fight.v1624Unified .v1624Enemy .v1624Creature{right:15%!important}#fight.v1624Unified .v1624Commands.panel{top:58%!important;width:27%!important}#fight.v1624Unified .v1624Journal{width:46%!important}#fight.v1624Unified .v1624Message{bottom:18%!important;left:25%!important;width:50%!important}}
