/* The page is exactly the screen: nothing to scroll, zoom, select or drag. */
html, body {
  margin: 0; padding: 0; width: 100%; height: 100%;
  overflow: hidden; overscroll-behavior: none; background: #000;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%;
}
/* The game sits inside the left / right safe area (the notch side when held sideways) and the top one (the status
   bar when held upright); it reaches the bottom edge, and the game keeps its buttons above the home bar itself. */
#unity-container {
  position: fixed;
  left: env(safe-area-inset-left, 0px);
  right: env(safe-area-inset-right, 0px);
  top: env(safe-area-inset-top, 0px);
  bottom: 0;
  background: #000;
}
#unity-canvas { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; touch-action: none; background: #231F20; }
#unity-loading-container { position: absolute; width: 100%; height: 100%; backdrop-filter: blur(5px); display: none; }
#unity-loading-bar { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
#unity-logo { width: 154px; height: 130px; background: url('unity-logo-dark.png') no-repeat center }
#unity-progress-bar-empty { margin-left: auto; margin-right: auto; width: 141px; height: 18px; margin-top: 10px; background: url('progress-bar-empty-dark.png') no-repeat center }
#unity-progress-bar-full { width: 0%; height: 18px; margin-top: 10px; background: url('progress-bar-full-dark.png') no-repeat center }
#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }
/* ?touchdiag=1: where the browser puts the finger. */
.touchdiag-dot {
  position: fixed; width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 3px solid #00e5ff; border-radius: 50%;
  pointer-events: none; z-index: 1000; box-sizing: border-box;
}
