html, body {
    width: 100%;
    height: 100dvh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    /* Ink (TickGamingPalette.Ink) rather than the browser's default white. The page is bare for
       as long as it takes Compose to put up its first frame, and a white flash between the
       splash and the game reads as a crash; in Ink the handover is invisible. */
    background: #14171F;
    /* Stops the browser from turning a trackpad's two-finger horizontal flick into history
       navigation - which on a single-page game means unloading the client mid-match - and
       likewise kills pull-to-refresh. Honored by Chrome and current Safari; the Back button,
       the keyboard shortcuts and older browsers' swipe are caught in Kotlin instead, see
       shared/.../ui/BrowserBackTrap.kt. */
    overscroll-behavior: none;
}

body {
    position: fixed;
    inset: 0;
}
