body {
    margin: 0;
    padding: 0;
    font-family: 'Press Start 2P', sans-serif;
    color: rgba(255, 255, 255, 0.87);
    background-color: #000000;
}

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

/* Give Phaser a stable, viewport-sized parent. Without an explicit size the
   container shrank to fit the canvas, so when the pixel fonts finished loading
   the layout reflowed and Phaser's cached canvas bounds went stale — pointer
   input then mapped with a vertical bias (buttons felt "shifted up"). A fixed
   full-size parent + Scale.FIT/CENTER_BOTH keeps the bounds correct. */
#game-container {
    width: 100%;
    height: 100%;
}
