/* v501: spacing-only layout fix. Keeps the v500 footer design, reduces desktop dead space, and makes mobile game footer reachable. */
html,body{
  min-height:100% !important;
}
body{
  min-height:100dvh !important;
  overflow-x:hidden !important;
}
html body .freshFooterV500{
  margin-top:12px !important;
  margin-bottom:28px !important;
}
body.info-page .pageWrap{
  padding-bottom:18px !important;
}
body.info-page .freshFooterV500{
  margin-top:12px !important;
}
body.m-page .freshFooterV500{
  margin-top:14px !important;
}
@media(max-width:768px){
  html body .freshFooterV500{
    margin-top:18px !important;
    margin-bottom:28px !important;
  }
  html,body.game-page{
    height:auto !important;
    min-height:100% !important;
    overflow-x:hidden !important;
    overflow-y:auto !important;
  }
  body.game-page{
    padding-bottom:calc(360px + env(safe-area-inset-bottom)) !important;
  }
  body.game-page main#game.wrap{
    padding-bottom:calc(280px + env(safe-area-inset-bottom)) !important;
    margin-bottom:0 !important;
  }
  body.game-page .playerList{
    padding-bottom:calc(260px + env(safe-area-inset-bottom)) !important;
  }
  body.game-page .wrap::after{
    height:calc(245px + env(safe-area-inset-bottom)) !important;
  }
  body.game-page .freshFooterV500{
    display:block !important;
    position:relative !important;
    z-index:1 !important;
    clear:both !important;
    margin-top:18px !important;
    margin-bottom:calc(235px + env(safe-area-inset-bottom)) !important;
  }
}
