*, *:before, *:after {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    font-size: 0;
    box-sizing: inherit;
}

html, body {
    height: 100%;
    background-color: black;
    /* REMOVE SCROLL BAR */
    overflow: hidden;
    /* REMOVE IOS LONG TAP */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    background-position: center center;
    background-size: cover;
    background-image: url('https://s3.ru1.storage.beget.cloud/ba28235064e2-gamematerial/LoadScreen/LoadScreen_DiadeMuertos.png'); 
}

img {
    /* PREVENT IMAGE DRAG AND DROP */
    pointer-events: none;
}

#unity-container {
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
}

#unity-canvas {
    display: flex;
    width: 100%;
    height: 100%;
    background: none;
}

#diagnostics-icon {
    position: fixed;
    bottom: 10px;
    right: 0px;
}

#diagnostics-icon, #diagnostics-overlay * {
    font-size: 16px;
    pointer-events: all;
}

#diagnostics-btn {
    min-width: 40px;
    min-height: 40px;
}

#unity-loading-bar {
    position: absolute;
    left: 50%;
    bottom: 2%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90vw;
    box-sizing: border-box;
}

#unity-progress-bar-empty {
    width: 100%;
    height: 13px;
    background-size: 100% 100%;
    position: relative;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.2);
}

#unity-progress-bar-full {
    width: 0%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
    box-sizing: border-box;
}

/* Domain protection - removed (теперь используется бесконечная загрузка вместо сообщения об ошибке) */
