body {
  padding: 0;
  margin: 0;
  background: transparent; /* no black background */
}

#unity-container {
  position: absolute;
}

/* Desktop: center the portrait canvas */
#unity-container.unity-desktop {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* Mobile: fullscreen */
#unity-container.unity-mobile {
  position: fixed;
  width: 100%;
  height: 100%;
}

/* Canvas */
#unity-canvas {
  margin-top: 5px;
  margin-bottom: 5px;
  background: #231F20; /* game background */
}

/* Mobile canvas fills screen minus margins */
.unity-mobile #unity-canvas {
  width: 100%;
  height: calc(100% - 10px);
}

/* Loading UI */
#unity-loading-bar {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
}

#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;
}

/* FOOTER REMOVED COMPLETELY */
#unity-footer,
#unity-webgl-logo,
#unity-build-title,
#unity-fullscreen-button {
  display: none !important;
}

/* Warning banner */
#unity-warning {
  position: absolute;
  left: 50%;
  top: 5%;
  transform: translate(-50%);
  background: white;
  padding: 10px;
  display: none;
}
