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

#unity-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: black;
}

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

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

.unity-mobile #unity-canvas {
  width: 100%;
  height: 100%;
}

/* Loading Bar */
#unity-loading-bar {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 10;
}

#unity-logo {
  width: 256px;
  height: 256px;
  background: url('unity-logo-dark.png') no-repeat center;
  background-size: contain;
}

#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;
  background-size: contain;
}

#unity-progress-bar-full {
  width: 0%;
  height: 18px;
  margin-top: 10px;
  background: url('progress-bar-full-dark.png') no-repeat center;
  background-size: contain;
}

/* Footer aligned: title left, fullscreen right */
#unity-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  box-sizing: border-box;
  background: transparent;
  z-index: 20;
}

.unity-mobile #unity-footer {
  display: none;
}

/* ❌ HIDE Unity logo image from the footer */
#unity-logo-title-footer {
  display: none;
}

#unity-build-title {
  font-family: Arial, sans-serif;
  font-size: 16px;
  color: white;
  line-height: 38px;
}

#unity-fullscreen-button {
  cursor: pointer;
  width: 38px;
  height: 38px;
  background: url('fullscreen-button.png') no-repeat center;
  background-size: contain;
}

/* Warning Message */
#unity-warning {
  position: absolute;
  left: 50%;
  top: 5%;
  transform: translate(-50%);
  background: white;
  padding: 10px;
  display: none;
  z-index: 999;
}
