body {
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    text-align: center;
}

.game-wrapper {
    width: 100%;
    background: #000000 !important;
    background-size: cover;
    margin: 0;
    min-height: 100%;
}

.game {
    position: relative;
    /* min-height: 100%; */
}

.webgl-content {
    border: none;
    bottom: 30%;
    height: 100vh;
    padding: 0;
}

#unityContainerCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

#logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: 50%;
}

#unityContainer {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
	min-height: calc(0.2 * 100vw);
	max-height: calc(3 / 4 * 100vw);
    background: no-repeat center url(../TemplateData/LoadingGameBackground.webp);
    background-size: cover;
}

#ui-root {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000000; /* ← Чёрный фон */
  z-index: 999999;
  pointer-events: none;

  display: flex;
  justify-content: center;
  align-items: center;
}

.ui-scaled {
  transform: scale(1);
  transform-origin: top center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 100px;
}

.spinner-inner {
  width: 300px;
  height: 300px;
  position: relative;
  pointer-events: none;
}

.dot {
  position: absolute;
  width: 100px;
  height: 100px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.center-image {
  position: absolute;
  width: 200px;
  height: 200px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.progress {
  width: 360px;
  height: 27px;
}

.box {
  width: 100%;
  height: 100%;
}

.empty {
  background: no-repeat center / cover url(../TemplateData/progress-bar-empty-dark.webp);
  width: 100%;
  height: 100%;
}

.full {
  background: no-repeat left / cover url(../TemplateData/progress-bar-full-dark.webp);
  width: 0%;
  height: 100%;
  transition: width 0.2s ease;
}

