html, body { padding: 0; margin: 0; width: 100%; height: 100%; overflow: hidden; background: white }
/* computers: the game in a 1024x768 box in the middle of the page (smaller if the window is), with a bar under it
   holding the fullscreen button */
#unity-container { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) }
#unity-canvas { display: block; background: #80D6D4; aspect-ratio: 1024 / 768; height: auto;
  width: min(1024px, 100vw, calc((100vh - 38px) * 1024 / 768)) }
#unity-footer { height: 38px }
#unity-fullscreen-button { float: right; width: 38px; height: 38px; cursor: pointer; background: url('fullscreen-button.png') no-repeat center }
#unity-corner-fullscreen { display: none; position: fixed; left: 8px; bottom: 8px; width: 38px; height: 38px; opacity: 0.6; z-index: 2;
  background: url('fullscreen-button.png') no-repeat center }
/* phones and tablets (the "touch" class is set in index.html): the game fills the window, with a corner fullscreen button
   where the browser can go fullscreen (not iPhones) */
.touch body { background: #80D6D4 }
.touch #unity-container { position: fixed; left: 0; top: 0; transform: none; width: 100%; height: 100% }
.touch #unity-canvas { width: 100%; height: 100%; aspect-ratio: auto }
.touch #unity-footer { display: none }
.touch.can-fullscreen:not(.is-fullscreen) #unity-corner-fullscreen { display: block }
#unity-loading-bar { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: none }
#unity-logo { width: 128px; height: 128px; margin: 0 auto; border-radius: 24px; background: url('icon.png') no-repeat center / contain }
#unity-progress-bar-empty { width: 200px; height: 10px; margin-top: 20px; border-radius: 5px; background: rgba(255, 255, 255, 0.35); overflow: hidden }
#unity-progress-bar-full { width: 0%; height: 100%; border-radius: 5px; background: white }
#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }
#diagnostics-icon { position: fixed; bottom: 10px; right: 0 }
