/* Full-screen HOW TO PLAY artwork between the title RUN button and the actual run. */
.tutorial-screen {
  position:fixed;
  inset:0;
  z-index:10001;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:#090b08;
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease;
  touch-action:manipulation;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  outline:none;
}

.tutorial-screen.is-showing {
  opacity:1;
  pointer-events:auto;
}

.tutorial-screen.is-leaving {
  opacity:0;
  pointer-events:none;
}

.tutorial-screen-art {
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
  object-position:center;
  user-select:none;
  -webkit-user-select:none;
  -webkit-user-drag:none;
  pointer-events:none;
}

body.tutorial-active {
  overflow:hidden;
  background:#090b08;
}

body.tutorial-active #gameShell {
  visibility:hidden;
}

@media (prefers-reduced-motion:reduce) {
  .tutorial-screen {
    transition-duration:1ms;
  }
}
