html, body {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
  background: #000;
  touch-action: none;
  position: fixed;
  inset: 0;
}

#unity-container {
  position: fixed;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  background: #000;
  overflow: hidden;
}

#unity-canvas {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

/* Splash fills the (possibly CSS-rotated) game container */
#unity-loading-bar {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 5;
  pointer-events: none;
}

#unity-logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  background: #000;
}

#unity-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

#unity-progress-bar-empty {
  position: absolute;
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
  width: 50%;
  max-width: 440px;
  height: 12px;
  margin: 0;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.45);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
  overflow: hidden;
  z-index: 6;
}

#unity-progress-bar-full {
  width: 0%;
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(90deg, #f0c040, #e23b2e);
}

#unity-footer {
  display: none;
}

#unity-warning {
  position: absolute;
  left: 50%;
  top: 5%;
  transform: translate(-50%);
  background: #222;
  color: #fff;
  padding: 10px;
  display: none;
  z-index: 10;
}
