body { padding: 0; margin: 0 }
#unity-container { position: fixed; width: 100%; height: 100%; }
#unity-canvas { width: 100%; height: 100%; background: #7C7F80 }
#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 { margin-left: auto; margin-right: auto; 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-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }

/* Perfect Plan recovered portrait shell */
html, body { width: 100%; height: 100%; overflow: hidden; background: #FCFBFE; }
#unity-container.unity-desktop,
#unity-container.unity-mobile,
#unity-container {
  position: fixed; left: 50%; top: 50%; margin: 0;
  transform: translate(-50%, -50%);
  width: min(100vw, calc(100vh * 1440 / 2920));
  height: min(100vh, calc(100vw * 2920 / 1440));
  width: min(100dvw, calc(100dvh * 1440 / 2920));
  height: min(100dvh, calc(100dvw * 2920 / 1440));
  overflow: hidden;
}
#unity-canvas {
  display: block; width: 100% !important; height: 100% !important;
  background: #FCFBFE;
}
#unity-loading-bar { display: none !important; }
#unity-footer { display: none; }
