html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    background-color: #1d1f2b;
    color: rgba(255, 255, 255, 0.87);
    font-family: Arial, Helvetica, sans-serif;
    overscroll-behavior: none;
    -webkit-text-size-adjust: 100%;
}

/* Pin the body to the visual viewport so mobile browsers can't rubber-band /
   pull-to-refresh, and swallow all default touch gestures (pan, pinch-zoom,
   double-tap-zoom) - the game handles touch itself. */
body {
    position: fixed;
    inset: 0;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

#root,
#app {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

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

#game-container canvas {
    display: block;
    touch-action: none;
}
