body { padding: 0; margin: 0 ; background-color: #292929}
#unity-container {
	position: absolute;
	background-color: #e19e24;
}
#unity-container.unity-desktop {
	left: 50%;
	top: 46%;
	transform: translate(-50%, -50%);
	color: #000;
	font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
	border-radius: 10px 10px 10px 10px;
}
#unity-container.unity-mobile { width: 100%; height: 100% }
#unity-canvas { 
	background: #FFFFFF;
	border-radius: 10px 10px 0 0;
}
.unity-mobile #unity-canvas { width: 100%; height: 100% }
#unity-loading-bar { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: none }
#unity-logo { width: 154px; height: 130px; background: url('logo_gaugoth_corp_basic_154x130px.png') no-repeat center }
#unity-progress-bar-empty { width: 141px; height: 18px; margin-top: 10px; 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;
	background-color: #431F00;
}
.unity-mobile #unity-footer { display: none }
#unity-webgl-logo { float:left; width: 204px; height: 38px; background: url('logo_gaugoth_corp_aligne_petit.png') no-repeat center }
#unity-build-title {
/*	float: right;
	margin-right: 10px;
	line-height: 38px;
	font-family: arial;
	font-size: 18px;
	color: #000;*/
	
	float:right; 
	width: 214px; 
	height: 38px; 
	background: url('Logo_Mini_Golf_3D_The_Pirate_flag_extended_small.png') no-repeat center
}
#unity-fullscreen-button {
	float: right;
	width: 38px;
	height: 38px;
	background-image: url('fulscreen.png');
	background-repeat: no-repeat;
	background-position: center;
	cursor: pointer;
	margin: 5px; /* Ruse pour pouvoir mettre une marge au footer */
	transition: background-color 0.3s;
}
#unity-fullscreen-button:hover {
	background-color: #ffa600;
}
#unity-fullscreen-button:active {
	background-color: #a16900;
}
#unity-warning { 
	position: absolute; 
	left: 50%; top: 5%; 
	transform: translate(-50%); 
	background: #3D3D3D; 
	padding: 10px; 
	display: none; 
	-webkit-border-radius: 8;
  -moz-border-radius: 8;
  border-radius: 8px;
  z-index: 100;
  @media (max-width: 600px) {
	width: 80%;
  }
}

/* Header et panneau d'information pour la page du jeu */
.game-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  gap: 12px;
  background: linear-gradient(90deg, rgba(0,0,0,0.70), rgba(0,0,0,0.45));
  color: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  backdrop-filter: blur(4px);
}
.game-brand { display:flex; align-items:center; gap:10px; }
.game-logo { height:48px; width:auto; display:block; border-radius: 5px;}
.game-brand h1 { margin:0; font-size:18px; line-height:1; }
.game-brand .version { font-size:12px; opacity:0.9; margin-left:6px; }
.subtitle { margin:0; font-size:12px; opacity:0.9; }

.game-actions { display:flex; align-items:center; gap:8px; }
.game-actions .btn { min-width:unset; }

/* espace laissé pour le header afin que le canvas ne soit pas caché */
.unity-desktop { margin-top:76px; }

/* Panneau d'instructions / info */
.game-panel {
  position: fixed;
  top: 84px;
  right: 16px;
  width: 320px;
  max-width: calc(100% - 32px);
  background: rgba(8,8,8,0.72);
  border: 1px solid rgba(255,255,255,0.06);
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  z-index: 50;
  transform-origin: top right;
  box-shadow: 0 6px 18px rgba(0,0,0,0.5);
  display: none;
}
.game-panel.open { display: block; }
.game-panel h2 { margin: 4px 0 8px 0; font-size:16px; }
.game-panel h3 { margin: 8px 0 6px 0; font-size:13px; }
.game-panel ul { margin: 6px 0 10px 16px; padding:0; font-size:13px; color:#e8eef6; }
.game-panel p { margin:6px 0; font-size:13px; color:#cbd6e6; }
.game-panel .btn { margin-top:8px; }

/* Responsive: réduire la taille du panneau sur petits écrans et éviter chevauchement */
@media (max-width: 600px) {
  .game-panel { right: 8px; left: 8px; width: auto; top: 74px; }
  .game-logo { height:40px; }
  .unity-desktop { margin-top: 110px; }
}

.game-panel-content {
	/* Hauteur maximale : 40% de la hauteur de la page */
	max-height: 40vh;
  overflow-x: auto;
}