/* Keep the current gameplay viewport height while allowing the board to use the full UI width. */
@media (min-height:501px), (orientation:portrait){
  body[data-page="online"] .online-shell{
    container-type:inline-size;
  }

  body[data-page="online"] #onlineBoard{
    width:100%;
    height:min(calc(100dvh - 338px),100cqi);
    aspect-ratio:auto;
    align-self:stretch;
  }

  body[data-page="online"].guided-game #onlineBoard{
    width:100%;
    height:min(calc(100dvh - 234px),100cqi);
  }
}
