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: #1F1F20 }
.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: 190px; height: 150px; background: url('Hypershot-Robot-Logo.png') no-repeat center / 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 }
#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 }
#hypershot-logo-footer { float:left; width: 54px; height: 38px; margin-left: 8px; background: url('Hypershot-Robot-Logo.png') no-repeat center / 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 }


/* KIDS_GAME_STUDIO_RESPONSIVE: keep the complete game visible in small browser windows. */
html, body { width: 100%; height: 100%; overflow: hidden; background: #11182a; }
#unity-container.unity-desktop {
  width: min(960px, 100vw, calc((100vh - 38px) * 1.6));
  max-width: 100vw;
  box-sizing: border-box;
}
#unity-container.unity-desktop #unity-canvas {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 8 / 5;
}
#unity-container.unity-desktop #unity-footer {
  width: 100%;
  height: 38px;
  overflow: hidden;
  box-sizing: border-box;
  background: #101a30;
}
#unity-container.unity-desktop #unity-build-title {
  max-width: calc(100% - 150px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #eaf7ff;
  font-weight: 700;
}
