*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #000;
  touch-action: none;
  overscroll-behavior: none;
  user-select: none;
  -webkit-user-select: none;
}

body {
  position: fixed;
  inset: 0;
}

#unity-container {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #000;
}

#unity-fullscreen-container,
#unity-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

#unity-canvas {
  display: block;
  max-width: none;
  border: 0;
  outline: none;
}

#unity-warning {
  position: fixed;
  z-index: 10;
  top: env(safe-area-inset-top, 0px);
  left: 0;
  width: 100%;
  max-height: 25vh;
  overflow: auto;
  display: none;
  color: #fff;
  font: 14px/1.4 Arial, sans-serif;
}
