body {
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    text-align: center;
    background: #000000;
    overflow: hidden;
}

/* Контейнер на весь экран */
#full-screen-container {
    width: 100%;
    height: 100%;
    position: relative;
    background: #000000;
}

/* Фоновый контейнер */
#background-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#background {
    width: 100%;
    height: 100%;
    background: #000000;
}

/* Unity контейнер - мобильная версия (портретная) */
#unity-container.unity-mobile {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

#unity-canvas.unity-mobile {
    width: 100%;
    height: 100%;
}

/* Unity контейнер - десктопная версия (растягивается) */
#unity-container.unity-desktop {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#unity-canvas.unity-desktop {
    width: 100%;
    height: 100%;
}

/* Экран загрузки */
#ui-root {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000000;
  z-index: 999999;
  pointer-events: none;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loading-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000000;
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Запрет выделения текста */
.noselect {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
