body { padding: 0; margin: 0 }
#unity-container { position: absolute }
#unity-container.unity-desktop { left: 50%; top: 50%; transform: translate(-50%, -50%) }
#unity-container.unity-mobile { position: fixed; width: 100%; height: 100% }
#unity-canvas { background: #000000 }
.unity-mobile #unity-canvas { width: 100%; height: 100% }
/* Écran de chargement avec logos */
#unity-loading-bar { 
  position: absolute; 
  left: 50%; 
  top: 50%; 
  transform: translate(-50%, -50%); 
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  gap: 2rem;
}

/* Logo Dunkerque en haut à droite */
#unity-logo-dunkerque { 
  position: absolute;
  top: 20px;
  right: 5px;
  width: 200px; 
  height: 80px; 
  background: url('logo_top_right.png') no-repeat center; 
  background-size: contain;
  z-index: 1000;
  display: none;
}

/* Logo Chat au milieu */
#unity-logo { 
  width: 154px; 
  height: 130px; 
  background: url('unity-logo-dark.png') no-repeat center; 
  background-size: contain;
}

/* Logo Merveilles en dessous */
#unity-logo-merveilles { 
  width: 200px; 
  height: 80px; 
  background: url('logo_center_bottom.png') no-repeat center; 
  background-size: contain;
  margin-top: 1rem;
}

/* Container pour la barre de chargement en bas - sticky sur toute la largeur */
#unity-progress-container {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: none;
  flex-direction: column;
  align-items: center;

  box-sizing: border-box;
  z-index: 1000;
}

#unity-progress-bar-empty { 
  width: 100%;
  max-width: 100%;
  height: 18px; 
  background: url('progress-bar-empty-dark.png') repeat-x;
  background-size: auto 100%;
  position: relative;
}

#unity-progress-bar-full { 
  position: absolute;
  top: 0;
  left: 0;
  width: 0%; 
  height: 18px; 
  background: url('progress-bar-full-dark.png') repeat-x;
  background-size: auto 100%;
}
#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 ; background-size: contain;}
#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 }
#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }
