span {
    font-family: Lilita One, sans-serif;
}

#unity-canvas {
    width: 100%;
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: Tahoma, Arial, serif;
    font-size: 11px;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
}

@media screen and (min-width: 1200px) {
    #backimage {
        position: relative;
    }

    #backimage:after {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        background-size: cover;
        background-position: 50% 50%;
        width: 100%;
        height: 100%;
        opacity: 0.4;
        z-index: -1;
    }
}

.align-outer {
    position: absolute;
    left: 50%;
}

.align-inner {
    position: relative;
    left: -50%;
}

#all {
    background:#fff;
    width:100%;
    text-align: center;
}

@media screen and (max-width: 250px) {
    #all {
        width:250px;
        text-align: center;
    }
}

@media screen and (min-width: 250px) and (max-width: 2500px) {
    #all {
        width:100%;
        text-align: center;
    }
}

@media screen and (min-width: 2500px) {
    #all {
        width:100%;
        margin-left: auto;
        margin-right: auto;
    }
}

#splash {
    position: absolute;
    top: 0;
    width:100%;
    height:100%;
}

#splash-back {
    position: relative;
    height: inherit;
    width: inherit;
    overflow-x: hidden;
    display: flex;
    justify-content: space-between;
}

#splash-back > img {
    max-height: 100%;
    height: 100%;
    position: absolute;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%);
    width: auto;
}

#splash-progress {
    position: absolute;
    left: 50%;
    width: 80%;
    bottom: 90px;
    transform: translateX(-50%);
}

#splash-progress > img:first-child {
    position: absolute;
    transform: translate(-50%);
    left: 50%;
}

#splash-progress-bar {
    position: absolute;
    top: 25px; /* Same as splash-progress-frame top */
    height: 37px; /* Same height as the image */
    width: 100%;
}

#splash-progress-bar > img:first-child {
    position: absolute;
    transform: translate(-50%);
    left: 50%;
    width: 100%;
    height: 100%;
}

#splash-progress-frame {
    top: 25px;
    height: 37px; /* Same height as the image */
    width: 100%;
}

#splash-progress-text {
    position: absolute;
    left: 50%;
    color: white;
    font-family: Lilita One, sans-serif;
    font-size: 25px;
    top: 26px;
    width: 240px;
    text-shadow: -1px -1px 0 black,
    1px -1px 0 black,
    -1px 3px 0 black,
    1px 3px 0 black;
    transform: translate(-50%);
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
}

#splash-random-text {
    position: absolute;
    left: 50%;
    color: white;
    font-family: Lilita One, sans-serif;
    font-size: 22px;
    top: -8px;
    width: 80%;
    transform: translate(-50%);
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
}

#user_id_div:hover {
    text-decoration: underline;
    cursor: pointer;
}

#age-gate-overlay {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: Arial, sans-serif;
    color: #fff;
}

.age-gate-content {
    width: min(800px, 90vw);
    z-index: 1; /* чтобы кнопки были поверх картинки */
    position: relative;
}

.age-gate-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 24px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.age-gate-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.age-btn {
    padding: 14px 28px;
    font-size: 24px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    min-width: 160px;
}

.age-btn-no {
    background: #222;
    color: #fff;
}
.age-btn-yes {
    background: #00d26a;
    color: #111;
}

