html,
body {
  width: 100%;
  height: 100%;
  min-height: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

body {
  background:
    radial-gradient(circle at center, rgba(255, 180, 86, 0.08), rgba(0, 0, 0, 0.34) 48%, rgba(0, 0, 0, 0.72) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.58)),
    linear-gradient(rgba(4, 3, 2, 0.42), rgba(4, 3, 2, 0.82)),
    url("page-bg.webp") center / cover no-repeat fixed,
    #070504;
}

#unity-container {
  position: absolute;
  z-index: 1;
}

#unity-container.unity-desktop {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.78);
}

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

#unity-canvas {
  display: block;
  background: #231F20;
}

.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;
  height: 38px;
  background: rgba(7, 5, 4, 0.94);
  color: #f4ead0;
}

.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;
  filter: sepia(0.18) brightness(1.22);
}

#unity-build-title {
  float: right;
  margin-right: 10px;
  line-height: 38px;
  font-family: Arial, sans-serif;
  font-size: 18px;
  color: #f4ead0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

#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%);
  display: none;
  padding: 10px;
  max-width: min(720px, calc(100vw - 40px));
  color: #120d08;
  background: #fff3cf;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
}
