html, body {
  margin: 0;
  height: 100%;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}

canvas {
  outline: none;
  background: #000;
  max-width: 100%;
  max-height: 100%;
}

/* Celular (Etapa 2): a classe "toque" só entra em aparelho com toque. Sem rolagem, zoom, seleção ou puxar para atualizar. */
#gire { display: none; }
.toque, .toque body {
  position: fixed;
  inset: 0;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
  background: #000;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
.toque canvas { max-width: none; max-height: none; touch-action: none; }
@media (orientation: portrait) {
  .toque #gire {
    display: flex;
    position: fixed;
    inset: 0;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #ffd54a;
    font: bold 28px sans-serif;
    z-index: 10;
  }
}
