html, body { margin: 0; padding: 0; height: 100%; background: #FFE7A8; overflow: hidden; }
#app, #game-container { width: 100%; height: 100%; }
/* Encoches et barres système (Android 15+ edge-to-edge via Capacitor, iPhone) : le jeu reste dans la
   zone sûre, le fond soleil remplit le reste. env() vaut 0 sur PC et navigateurs sans encoche. */
#app {
    box-sizing: border-box;
    padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
}
canvas { display: block; image-rendering: pixelated; image-rendering: crisp-edges; touch-action: none; }
