body { 
    padding: 0;
    margin: 0;
    background: #151821 
}
#unity-container { 
    position: absolute 
}
#unity-container.unity-desktop {
    /*
    left: 50%;
    top: 55%;
    transform: translate(-50%, -50%)
     */
}

#unity-container.unity-mobile {
    width: 100%;
    height: 100% 
}
#unity-canvas {
background: #231F20;
display: block
}
.unity-mobile #unity-canvas {
    width: 100%; height: 100%
}
.unity-gate {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    background: rgba(9, 12, 18, 0.78);
    backdrop-filter: blur(14px)
}
.unity-gate.is-hidden {
    display: none
}
.unity-gate-card {
    width: min(420px, 100%);
    padding: 28px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(31, 37, 50, 0.96) 0%, rgba(17, 22, 31, 0.96) 100%);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
    font-family: arial;
    color: white
}
.unity-gate-kicker {
    margin: 0 0 10px;
    color: #97a2b8;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.16em;
    text-transform: uppercase
}
.unity-gate-title {
    margin: 0;
    font-size: 30px;
    line-height: 1.15
}
.unity-gate-copy {
    margin: 12px 0 0;
    color: #c4cede;
    line-height: 1.5
}
.unity-password-form {
    display: grid;
    gap: 12px;
    margin-top: 22px
}
.unity-gate-label {
    font-size: 14px;
    font-weight: bold;
    color: #dde5f0
}
.unity-password-input {
    width: 100%;
    padding: 12px 14px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.24);
    color: white;
    font-size: 16px
}
.unity-password-input:focus {
    outline: none;
    border-color: #7fb2ff;
    box-shadow: 0 0 0 3px rgba(127, 178, 255, 0.2)
}
.unity-password-button {
    padding: 12px 16px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #6ca6ff 0%, #396ecc 100%);
    color: white;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer
}
.unity-password-button:disabled {
    opacity: 0.65;
    cursor: wait
}
.unity-password-error {
    min-height: 1.25em;
    margin: 14px 0 0;
    color: #ffadad;
    font-family: arial;
    font-size: 14px
}
#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: 30px;
    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
}
#unity-footer::after {
    content: "";
    display: block;
    clear: both
}
.unity-mobile #unity-footer { 
    display: none 
}
#unity-webgl-logo { 
    float:left; 
    width: 204px;
    height: 38px; 
    background: url('webgl-logo.png') no-repeat center
}
#unity-build-title { 
    float: right;
    margin-right: 10px;
    line-height: 38px; 
    font-family: arial;
    font-size: 18px 
}
#unity-fullscreen-button { 
    float: right;
    width: 38px; 
    height: 38px; 
    background: url('fullscreen-button.png') no-repeat center 
}
#unity-mobile-warning { 
    position: absolute;
    left: 50%; 
    top: 5%; 
    transform: translate(-50%); 
    background: white; 
    padding: 10px; 
    display: none 
}

.report_bug{
    position: absolute;
    border:none;
    bottom: -41px;
    right: 50px;
    z-index: 1;
    background-color: #272c3c;
    color: grey;
    padding: 11px;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    font-family: arial;
}

.load_warning{
    font-family: arial;
    color: white;
    margin-left: auto;
    margin-right: auto;
    width: 12em;
    text-align: center;
}

@media (max-width: 640px) {
    .unity-gate {
        padding: 16px
    }

    .unity-gate-card {
        padding: 22px
    }

    .unity-gate-title {
        font-size: 24px
    }
}
