html,
body {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
  background: #000;
}

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

#unity-canvas {
  display: block;
  width: 100vw;
  height: 100vh;
  background: #231F20;
}

#unity-loading-bar {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: #000;
  z-index: 10;
}

#unity-loading-card {
  position: relative;
  width: min(540px, 72vw, 72vh);
  aspect-ratio: 1;
}

#unity-loading-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

#unity-progress-bar-empty {
  position: absolute;
  left: 50%;
  top: 78.1%;
  width: 54.5%;
  height: 4.25%;
  transform: translateX(-50%);
  overflow: hidden;
  background: #149d74;
}

#unity-progress-bar-full {
  width: 0%;
  height: 100%;
  background: #fff;
}

#unity-warning {
  position: fixed;
  left: 50%;
  top: 16px;
  transform: translateX(-50%);
  max-width: min(640px, calc(100vw - 32px));
  background: #fff;
  color: #000;
  padding: 10px;
  display: none;
  z-index: 20;
}

#unity-version {
  position: fixed;
  left: 14px;
  bottom: 12px;
  z-index: 30;
  color: #fff;
  font: 500 13px/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  opacity: 0.85;
  pointer-events: none;
  user-select: none;
}

#diagnostics-icon {
  position: fixed;
  right: 12px;
  bottom: 12px;
  width: 32px;
  height: 32px;
  z-index: 15;
}
