html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.87);
    background-color: #000000;
}

/* mobile Safari: no rubber-band scroll / pull-to-refresh under the game,
   and a fixed body so the URL-bar show/hide can't scroll the canvas */
body {
    position: fixed;
    inset: 0;
    overscroll-behavior: none;
}

#app {
    width: 100%;
    height: 100%;
    /* dynamic viewport height: tracks mobile Safari's collapsing URL bar
       (older browsers fall back to the 100% above) */
    height: 100dvh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

#game-container {
    width: 100%;
    height: 100%;
}

#game-container canvas {
    display: block;
}
