/* Mise en page : le plateau (canvas 3:4) occupe tout l'écran, mobile compris. */
html, body { margin: 0; height: 100%; background: #0b0b17; color: #fff; font-family: system-ui, sans-serif;
  overflow: hidden; overscroll-behavior: none; touch-action: none;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
body { display: flex; align-items: center; justify-content: center; height: 100vh; height: 100dvh;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); box-sizing: border-box; }
/* le plateau occupe tout l'écran en gardant son ratio 3:4 */
canvas { display: block; width: min(100%, 75vh); width: min(100%, 75dvh); height: auto; aspect-ratio: 480 / 640;
  touch-action: none; cursor: none; }
