
/* v2.56: no overlapping headers, properly separated card elements and centred footer coins. */
body.arena-active .arena-shell .arena-identity-hud{
 height:104px!important;min-height:104px!important;flex:0 0 104px!important;
 padding:8px 12px!important;gap:14px!important;position:relative;z-index:3;
}
body.arena-active .arena-identity-hud .battle-id-card,
body.arena-active .arena-identity-hud .battle-id-card>.player-id-card,
body.arena-active .arena-identity-hud .battle-id-card>.battle-opponent-card{
 min-height:0!important;max-height:100%!important;height:100%!important;overflow:hidden!important;
}
body.arena-active .arena-identity-hud .player-id-card .player-id-main{
 min-height:0!important;overflow:hidden!important;
}
body.arena-active .arena-identity-hud .player-id-avatar{max-height:67px!important;height:67px!important;min-height:0!important;align-self:center;overflow:hidden!important}
body.arena-active .arena-identity-hud .player-id-copy h3{font-size:clamp(13px,1.3vw,23px)!important;line-height:1.08!important}
body.arena-active .arena-main.versus-battlefield{padding:12px 14px!important;gap:14px!important;position:relative;z-index:1}
body.arena-active .versus-team{padding:10px 12px 12px!important;gap:10px!important}
body.arena-active .versus-team-heading{height:28px!important;min-height:28px!important;align-items:center!important;overflow:visible!important}
body.arena-active .versus-team .versus-card-grid{gap:12px!important;}
body.arena-active .versus-card-grid .player-hand-card{overflow:visible!important;border-radius:12px!important;}
body.arena-active .versus-card-grid .arena-card,
body.arena-active .versus-active-row .arena-card{padding:6px!important;overflow:hidden!important;}
body.arena-active .versus-card-grid .arena-card .ac-meta,
body.arena-active .versus-active-row .arena-card .ac-meta{
 position:relative!important;flex:0 0 35px!important;height:35px!important;min-height:35px!important;
 display:grid!important;grid-template-columns:30px minmax(0,1fr) 24px!important;
 padding:2px 6px 4px!important;align-items:center!important;gap:8px!important;
 overflow:visible!important;
}
body.arena-active .versus-card-grid .arena-card .nr246-battle-level,
body.arena-active .versus-active-row .arena-card .nr246-battle-level{
 position:static!important;width:28px!important;height:28px!important;min-width:28px!important;
 font-size:12px!important;line-height:1!important;margin:0!important;
 flex-shrink:0!important;z-index:1;
}
body.arena-active .versus-card-grid .arena-card .nr246-battle-name,
body.arena-active .versus-active-row .arena-card .nr246-battle-name{
 display:block!important;margin:0!important;padding:0 3px!important;min-width:0!important;
 font-size:clamp(12px,1.05vw,18px)!important;line-height:1.12!important;
 white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
 align-self:center!important;text-align:center!important;
}
body.arena-active .versus-card-grid .arena-card .ac-main{
 margin-top:5px!important;grid-template-columns:minmax(0,34%) minmax(0,66%)!important;
 gap:5px!important;padding:4px!important;border-radius:6px!important;
}
body.arena-active .versus-card-grid .arena-card .ac-maths{gap:4px!important;min-width:0!important}
body.arena-active .versus-card-grid .arena-card .ac-stat{padding:4px 5px!important;gap:3px!important;min-height:0!important;border-radius:5px!important}
body.arena-active .versus-card-grid .arena-card .ac-formula{font-size:clamp(11px,.95vw,15px)!important;white-space:nowrap!important;justify-content:flex-start!important;overflow:hidden!important}
body.arena-active .versus-card-grid .arena-card .ac-stat-name{display:none!important}
body.arena-active .versus-card-grid .arena-card .ac-stat-icon{font-size:15px!important}
body.arena-active .nr256-battle-footer{position:relative!important;overflow:visible!important;min-height:58px!important;flex:0 0 58px!important;z-index:25!important;padding:9px 16px!important}
body.arena-active .nr256-footer-coin{position:absolute!important;left:50%!important;bottom:12px!important;transform:translateX(-50%)!important;z-index:25!important;}
body.arena-active .nr256-footer-coin>summary{padding:8px 18px!important;min-height:36px!important;border-color:#e6bb62!important;border-radius:9px!important;background:linear-gradient(150deg,#1c4768,#17314b)!important;color:#ffdc8f!important;font-size:13px!important;box-shadow:0 3px 10px #0007}
body.arena-active .nr256-footer-coin .nr149-coin-selector{
 position:absolute!important;bottom:calc(100% + 12px)!important;top:auto!important;left:50%!important;
 right:auto!important;transform:translateX(-50%)!important;
 z-index:55!important;width:min(460px,88vw)!important;max-width:none!important;
 display:flex!important;flex-flow:row wrap!important;justify-content:center!important;align-items:center!important;
 gap:7px!important;padding:10px!important;background:#0d2b48!important;
 border:2px solid #f0c56b!important;border-radius:12px!important;box-shadow:0 12px 26px #000b!important;
}
body.arena-active .nr256-footer-coin:not([open]) .nr149-coin-selector{display:none!important}
.nr256-coach-portrait{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 28%;border-radius:7px}
#page-tutorial .nr240-coach-card .player-id-avatar{height:104px!important;min-height:104px!important;max-height:104px!important;width:104px;flex:none;overflow:hidden}
#page-tutorial .nr240-coach-card .player-id-main{grid-template-columns:104px minmax(0,1fr)!important;gap:12px!important}
@media(max-height:780px) and (min-width:701px){
 body.arena-active .arena-shell .arena-identity-hud{height:92px!important;min-height:92px!important;flex-basis:92px!important}
 body.arena-active .versus-card-grid .arena-card .ac-meta{height:32px!important;min-height:32px!important;flex-basis:32px!important}
 body.arena-active .versus-team{gap:6px!important;padding:7px 9px!important}
 body.arena-active .versus-team .versus-card-grid{gap:8px!important}
 body.arena-active .versus-card-grid .arena-card .ac-maths{gap:2px!important}
}
@media(max-width:1100px) and (min-width:701px){
 body.arena-active .arena-main.versus-battlefield{gap:9px!important;padding:9px!important}
 body.arena-active .versus-team{padding:8px!important;gap:6px!important}
 body.arena-active .versus-team .versus-card-grid{gap:8px!important}
 body.arena-active .versus-card-grid .arena-card .ac-main{grid-template-columns:minmax(0,31%) minmax(0,69%)!important;gap:3px!important;padding:3px!important}
 body.arena-active .versus-card-grid .arena-card .ac-stat{padding:3px!important}
}
@media(max-width:700px){
 body.arena-active .arena-shell .arena-identity-hud{height:84px!important;min-height:84px!important;flex-basis:84px!important;padding:4px!important;gap:4px!important}
 body.arena-active .arena-identity-hud .player-id-avatar{height:52px!important;max-height:52px!important}
 body.arena-active .arena-main.versus-battlefield{padding:6px!important;gap:7px!important}
 body.arena-active .versus-team{padding:6px!important;gap:5px!important}
 body.arena-active .versus-team .versus-card-grid{gap:4px!important}
 body.arena-active .versus-card-grid .arena-card{padding:3px!important}
 body.arena-active .versus-card-grid .arena-card .ac-meta{height:25px!important;min-height:25px!important;flex-basis:25px!important;grid-template-columns:21px minmax(0,1fr) 13px!important;gap:2px!important;padding:1px!important}
 body.arena-active .versus-card-grid .arena-card .nr246-battle-level{width:20px!important;height:20px!important;min-width:20px!important;font-size:8px!important;border-width:1px!important}
 body.arena-active .versus-card-grid .arena-card .nr246-battle-name{font-size:10px!important}
 body.arena-active .versus-card-grid .arena-card .ac-main{margin-top:2px!important;grid-template-columns:1fr!important;padding:2px!important}
 body.arena-active .versus-card-grid .arena-card .ac-picture{display:none!important}
 body.arena-active .versus-card-grid .arena-card .ac-stat{padding:2px!important;gap:2px!important}
 body.arena-active .versus-card-grid .arena-card .ac-formula{font-size:9px!important}
 body.arena-active .nr256-footer-coin{bottom:9px!important}
 body.arena-active .nr256-footer-coin>summary{font-size:10px!important;min-height:28px!important;padding:6px 9px!important}
 #page-tutorial .nr240-coach-card .player-id-avatar{width:72px;max-height:72px!important;min-height:72px!important;height:72px!important}
 #page-tutorial .nr240-coach-card .player-id-main{grid-template-columns:72px minmax(0,1fr)!important}
}
