body { padding: 0; margin: 0 }
#unity-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(100vw, 62.5vh);
    height: min(100vh, 160vw);
}

#unity-container.unity-desktop {
    width: min(100vw, 62.5vh);
    height: min(100vh, 160vw);
}

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

.unity-mobile #unity-fullscreen-container {
    width: 100%;
    height: 100%;
}

#unity-fullscreen-container {
    position: relative;
    width: 100%;
    height: 100%;
}

#unity-canvas {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #231F20;
}

#unity-loading-container {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #111111;
    backdrop-filter: blur(5px);
    display: none;
}
#unity-loading-bar { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
#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 }
#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 }
#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 }


/* LetterDrop custom loading screen */
#unity-loading-container {
  position: absolute;
  inset: 0;
  z-index: 100;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #182b3b;
}

#loading-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#loading-splash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

#loading-parrot {
  position: absolute;
  width: 24%;
  height: auto;
  left: 8%;
  top: 35%;
  object-fit: contain;
  pointer-events: none;
}

#loading-ufo {
  position: absolute;
  width: 22%;
  height: auto;
  right: 8%;
  top: 25%;
  object-fit: contain;
  pointer-events: none;
}

#loading-controls {
  position: absolute;
  left: 10%;
  bottom: 8%;
  width: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 2;
}

#loading-progress-track {
  width: 100%;
  height: 14px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

#loading-progress-fill {
  width: 0%;
  height: 100%;
  background: #f4c542;
  transition: width 0.15s linear;
}

#loading-status {
  color: white;
  font-family: Arial, sans-serif;
  font-size: 14px;
  text-align: center;
  text-shadow: 1px 1px 3px #000;
}

#loading-play-button {
  display: none;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  max-width: 65%;
}

#loading-play-button img {
  display: block;
  width: 100%;
  height: auto;
}

#loading-play-button:disabled {
  cursor: default;
}

#unity-canvas {
  width: 100%;
  height: 100%;
  display: block;
}


