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: #fff; border: 2px solid #000; box-sizing: border-box }
.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: 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: block;
  position: fixed;
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 2147483645;
  width: auto;
}
#unity-logo-title-footer { display: none }
#unity-build-title { float: left; margin: 0; line-height: 38px; font-family: arial; font-size: 18px }
#unity-fullscreen-button { cursor: pointer; float: right; display: none; width: 38px; height: 38px; border: 0; background: #000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M4 4h6v2H7.41l4.3 4.29-1.42 1.42L6 7.41V10H4V4zm10 0h6v6h-2V7.41l-4.29 4.3-1.42-1.42L16.59 6H14V4zM6 16.59l4.29-4.3 1.42 1.42L7.41 18H10v2H4v-6h2v2.59zM18 16.59V14h2v6h-6v-2h2.59l-4.3-4.29 1.42-1.42L18 16.59z'/%3E%3C/svg%3E") no-repeat center / 20px 20px; color: #fff; font-family: arial; font-size: 14px; line-height: 38px; text-align: center }
#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }

/* QB_WEB_LOADING_SCREEN */
body { background: #fff; }
body,
#unity-container,
#unity-canvas-container,
#unity-canvas {
  background: #fff !important;
}
#unity-canvas {
  border: 2px solid #000;
  box-sizing: border-box;
}
#unity-loading-bar {
  position: absolute;
  left: 0;
  top: 0;
  width: 960px;
  height: 600px;
  z-index: 2147483646;
  display: none;
  background: #fff;
  border: 2px solid #000;
  box-sizing: border-box;
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
  opacity: 1;
  transition: opacity 180ms ease;
  transform: none;
}
#unity-loading-bar.qb-loading-hidden {
  opacity: 0;
  pointer-events: none;
}
#unity-logo {
  display: none;
}
#qb-loading-logo {
  position: absolute;
  left: 50%;
  top: 255px;
  width: 112px;
  height: 112px;
  object-fit: contain;
  filter: brightness(0);
  transform: translate(-50%, -50%);
}
#qb-loading-status {
  position: absolute;
  left: 50%;
  top: 310px;
  width: 420px;
  transform: translateX(-50%);
  color: #000;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 400;
  text-align: center;
}
#unity-progress-bar-empty {
  position: absolute;
  left: 50%;
  top: 348px;
  width: 422px;
  height: 11px;
  margin: 0;
  box-sizing: border-box;
  transform: translateX(-50%);
  border: 1px solid #1f2933;
  background: #fff;
  background-image: none;
  overflow: hidden;
}
#unity-progress-bar-full {
  width: 0%;
  height: 100%;
  background: #000;
  background-image: none;
  margin: 0;
}
#qb-loading-rdd-logo {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 230px;
  height: 58px;
  max-width: none;
  max-height: none;
  object-fit: contain;
  transform: translateX(-50%);
}
.unity-mobile #unity-loading-bar {
  width: 100%;
  height: 100%;
}
.unity-mobile #qb-loading-logo {
  top: 34%;
}
.unity-mobile #qb-loading-status {
  top: 49%;
  width: min(420px, 72vw);
}
.unity-mobile #unity-progress-bar-empty {
  top: 55%;
  width: min(422px, 72vw);
}
.unity-mobile #qb-loading-rdd-logo {
  bottom: 10%;
}
/* QB_WEB_LOADING_SCREEN_END */

#unity-fullscreen-button.qb-enter-vr-button { width: auto; min-width: 96px; padding: 0 14px; background: #000 }

#unity-webgl-logo { display: none }

.unity-mobile #unity-build-title { float: left; margin: 0; line-height: 38px; font-family: arial; font-size: 18px }
.unity-mobile #unity-logo-title-footer { display: none }
.unity-mobile #unity-fullscreen-button { cursor: pointer; float: right; display: none; width: 38px; height: 38px; border: 0; background: #000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M4 4h6v2H7.41l4.3 4.29-1.42 1.42L6 7.41V10H4V4zm10 0h6v6h-2V7.41l-4.29 4.3-1.42-1.42L16.59 6H14V4zM6 16.59l4.29-4.3 1.42 1.42L7.41 18H10v2H4v-6h2v2.59zM18 16.59V14h2v6h-6v-2h2.59l-4.3-4.29 1.42-1.42L18 16.59z'/%3E%3C/svg%3E") no-repeat center / 20px 20px; color: #fff; font-family: arial; font-size: 14px; line-height: 38px; text-align: center }
