html, body {
  height: 100%;
  margin: 0;
  background: #050505;
  overflow: hidden;
}

body {
  cursor: crosshair;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

#stage {
  position: fixed;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

#stage.drag {
  cursor: grabbing;
}

/* vieilles lignes de balayage */
#scan {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: .28;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, .55) 0px,
    rgba(0, 0, 0, .55) 1px,
    transparent 1px,
    transparent 3px
  );
}

/* clavier invisible (mobile inclus) */
#kbd {
  position: fixed;
  left: -1000px;
  top: 0;
  width: 10px;
  height: 10px;
  opacity: 0;
  border: 0;
  outline: 0;
  font-size: 16px;
}
