/* html {
    box-sizing: border-box;
} */

.virtual-keyboard-fix {
    top: 0 !important;
    opacity: 0 !important;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

.gift-sticker canvas {
    width: 100px;
    height: 100px;
    z-index: 1;
    position: relative;
}

#gift-selection {
    pointer-events: all;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    gap: 15px;
    height: 350px;
}

.gift-selection__item {
    width: 75px;
    height: 75px;
    background-color: white;
}

.sign-in-with-telegram-container {
    bottom: 120px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sign-in-with-telegram-container>input {
    height: 35px;
}

.sign-in-with-telegram-container>button {
    height: 35px;
}

#unity-canvas {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    overflow: hidden;
    background: #231F20;
}

.orientation-blocker {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 32px;
    background: #05070B;
    color: #FFFFFF;
    text-align: center;
    pointer-events: all;
}

.orientation-blocker[hidden] {
    display: none !important;
}

.orientation-blocker__phone {
    width: 54px;
    height: 86px;
    border: 4px solid #FFFFFF;
    border-radius: 12px;
    position: relative;
    transform: rotate(90deg);
    animation: orientation-phone-rotate 1.6s ease-in-out infinite;
}

.orientation-blocker__phone::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FFFFFF;
    transform: translateX(-50%);
}

.orientation-blocker__title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
}

.orientation-blocker__message {
    max-width: 320px;
    color: #B7C0CC;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
}

@keyframes orientation-phone-rotate {
    0%,
    18% {
        transform: rotate(90deg);
    }

    58%,
    100% {
        transform: rotate(0deg);
    }
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    pointer-events: none;
    overflow: hidden;

    display: flex;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
}

.overlay-element {
    position: absolute;
    pointer-events: all;
}

#unity-container {}

#unity-loading-bar {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#unity-logo {
    text-align: center;
    transform-style: preserve-3d;
}

#progress-bar-full-container {
    overflow: hidden;
    height: 100%;
    border-radius: 100px;
}

.light #unity-progress-bar-empty {
    border-color: black;
}

.light #unity-progress-bar-full {
    background: black;
}

#unity-fullscreen-button {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 38px;
    height: 38px;
    background: url('fullscreen-button.png') no-repeat center;
    background-size: contain;
}

.spinner,
.spinner:after {
    border-radius: 50%;
    width: 5em;
    height: 5em;
}

.spinner {
    margin: 10px;
    font-size: 10px;
    position: relative;
    text-indent: -9999em;
    border-top: 1.1em solid rgba(255, 255, 255, 0.2);
    border-right: 1.1em solid rgba(255, 255, 255, 0.2);
    border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
    border-left: 1.1em solid #ffffff;
    transform: translateZ(0);
    animation: spinner-spin 1.1s infinite linear;
}

@keyframes spinner-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.tp-sign-in-button {
    display: flex;
    justify-content: center;
}
