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

#unity-container {
  position: fixed;   /* stick to viewport */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#unity-container.unity-desktop { left: 0; top: 0 }
#unity-container.unity-mobile { position: fixed; width: 100%; height: 100% }

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

#unity-logo {
  position: absolute;   /* ✅ overlay instead of pushing */
  top: 0;
  left: 0;
  width: 100vw;
  height: 90vh;
  background: url('LoadingScreen.png') no-repeat center;
  background-size: cover;

  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;        /* ensure it's above canvas */
}

#unity-loading-bar {
  position: absolute;
  left: 50%;
  top: 80%;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 1000;
}

#unity-progress-bar-empty {
  width: 141px;
  height: 18px;
  margin-top: 10px;
  margin-left: 6.5px;
  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-footer { position: relative }
.unity-mobile #unity-footer { display: none }
#unity-logo-title-footer { float:left; width: 102px; height: 38px; background: url('unity-logo-title-footer.png') no-repeat center }
#unity-build-title { float: right; margin-right: 10px; line-height: 38px; font-family: arial; font-size: 18px }
#unity-fullscreen-button { cursor:pointer; float: right; width: 38px; height: 38px; background: url('fullscreen-button.png') no-repeat center }
