/* ==========================================================================
   Cache-cache plage — feuille de style
   Tout le rendu est fait au canvas ; le CSS place la surface de jeu en plein
   écran et neutralise les gestes par défaut du navigateur.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #0d2436;
  overflow: hidden;
  overscroll-behavior: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

#jeu {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: pointer;
}

canvas { max-width: 100vw; max-height: 100vh; }
