
/* v1.46 layout QA: battle preview rows must use their actual content height.
   Previously flex:1 with min-height:0 squeezed the versus row to ~140px
   while its children stayed ~300px tall, causing the next actions to overlap. */
.new-battle-hub.player-versus-background.v118-preview{
  justify-content:flex-start!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  gap:12px!important;
  scroll-padding-bottom:18px;
}
.player-versus-background .player-versus-lobby{
  flex:0 0 auto!important;
  height:auto!important;
  min-height:0!important;
  align-items:stretch!important;
}
.player-versus-background .player-versus-panel{
  height:auto!important;
  align-self:stretch;
}
.player-versus-background .player-versus-panel .player-id-card,
.player-versus-background .player-versus-panel .versus-computer-card{
  height:265px!important;
  min-height:265px!important;
}
.player-versus-background .v118-launch{
  flex:0 0 auto!important;
  margin:0 auto!important;
  padding:0!important;
}
.player-versus-background .v118-launch .battle-lobby-cta.prestige-banner{
  min-height:78px!important;
}
.player-versus-background .nr42-lobby-actions{
  margin:0 auto!important;
  flex:0 0 auto!important;
}
.player-versus-background .v118-battle-footer{
  margin:0 auto!important;
  flex:0 0 auto!important;
}
.player-versus-background .nr146-grade-picker{
  margin:0 auto 4px!important;
  flex:0 0 auto!important;
}
@media(max-width:650px){
  .player-versus-background .player-versus-lobby{
    grid-template-rows:auto auto!important;
  }
  .player-versus-background .player-versus-panel .player-id-card,
  .player-versus-background .player-versus-panel .versus-computer-card{
    height:170px!important;
    min-height:170px!important;
    max-height:170px!important;
  }
}
@media(min-width:651px){
  .new-battle-hub.player-versus-background.v118-preview{
    padding-top:12px!important;
    padding-bottom:12px!important;
    gap:8px!important;
  }
  .player-versus-background .v118-battle-heading{gap:3px!important}
  .player-versus-background .v118-battle-heading h2{font-size:clamp(30px,3.3vw,45px)!important}
  .player-versus-background .v118-battle-heading p{margin:0!important}
  .player-versus-background .player-versus-panel{gap:4px!important}
  .player-versus-background .player-versus-panel .player-id-card,
  .player-versus-background .player-versus-panel .versus-computer-card{height:265px!important;min-height:265px!important}
  .player-versus-background .player-versus-panel .player-id-avatar{height:147px!important;min-height:147px!important}
  .player-versus-background .player-versus-centre{gap:6px!important}
  .player-versus-background .player-versus-centre .arena-polaroid{max-width:100px!important}
  .player-versus-background .player-versus-centre .versus-large{font-size:60px!important}
  .player-versus-background .v118-launch{gap:3px!important}
  .player-versus-background .v118-launch .battle-lobby-cta.prestige-banner{min-height:68px!important;padding:7px 18px!important;font-size:37px!important}
  .player-versus-background .v118-launch .new-battle-subline{margin:1px 0 0!important;font-size:10px!important}
  .player-versus-background .nr146-grade-picker{padding:8px 12px!important;gap:6px 12px!important}
}

