/* Fill the available viewport without the decorative outer frame, while
   retaining the selected game ratio. */
#game-container {
  --game-ui-scale:1;
  width:min(100vw,calc(100vh * 16 / 9));
  width:min(100vw,calc(100dvh * 16 / 9));
  border:0;
  border-radius:0;
  box-shadow:none;
  outline:0;
}
#game-container[data-ratio="16:10"] {
  width:min(100vw,calc(100vh * 16 / 10));
  width:min(100vw,calc(100dvh * 16 / 10));
}
#game-container[data-ratio="19.5:9"] {
  width:min(100vw,calc(100vh * 19.5 / 9));
  width:min(100vw,calc(100dvh * 19.5 / 9));
}
#game-container::after {content:none;display:none;}
