html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#app {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}

#portrait-blocker {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10;
  align-items: center;
  justify-content: center;
  padding: env(safe-area-inset-top) env(safe-area-inset-right)
    env(safe-area-inset-bottom) env(safe-area-inset-left);
  background: #1b2631;
  color: #e8edf2;
  text-align: center;
  font-family: system-ui, sans-serif;
}

@media (orientation: portrait) {
  #portrait-blocker {
    display: flex;
  }

  #app {
    visibility: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  #portrait-blocker {
    transition: none;
  }
}
