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

#unity-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #231F20;
}

#unity-container.unity-desktop {
  position: relative;
}

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

#unity-canvas { 
  background: #231F20;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

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

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

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

#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: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
}

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

#unity-webgl-logo { 
  width: 204px; 
  height: 38px; 
  background: url('webgl-logo.png') no-repeat center;
}

#unity-build-title { 
  line-height: 38px; 
  font-family: arial; 
  font-size: 18px;
  color: white;
}

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

#unity-warning { 
  position: absolute; 
  left: 50%; 
  top: 5%; 
  transform: translate(-50%); 
  background: white; 
  padding: 10px; 
  display: none;
  z-index: 100;
  max-width: 80%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
