body.lock {
    overflow: hidden;
    touch-action: none;
    overscroll-behavior: none;
}


.game-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background-color: #0A090C;
}

.game-container.full-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50;
    border-radius: 0;
}

.game-container.full-screen.desktop {
    padding-bottom: 52px;
}

.game-iframe {
    position: relative;
    height: 100%;
}

.game-iframe #playframe {
    width: 100%;
    height: 56.25vw;
    max-height: 72vh;
    min-height: 350px;
}

.game-container.full-screen #playframe {
    height: 100vh;
    max-height: 100%;
    min-height: 100%;
}

.game-iframe__exit {
    position: absolute;
    top: 50px;
    left: 0;
    display: none;
    align-items: center;
    gap: 4px;
    max-width: 50px;
    padding: 4px;
    border-radius: 0 50px 50px 0;
    background-color: #fff;
    cursor: pointer;
    z-index: 100;
}

.game-iframe__exit.show {
    display: flex;
}

.game-iframe__exit svg {
    width: 16px;
    height: 16px;
}

.game-iframe__exit img {
    width: 24px;
    height: 24px;
}

.game-iframe__rotate {
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.game-iframe__rotate.show {
    display: flex;
}

.game-iframe__rotate::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background-color: #1C1C1C;
    z-index: -1;
}

.game-iframe__rotate-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 216px;
    margin: 0 auto;
    color: #fff;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    line-height: 24px;
    font-weight: 700;
}

.game-iframe__rotate-content svg {
    max-width: 120px;
    max-height: 120px;
}

.game-iframe__preview {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: #1C1C1C;
    z-index: 50;
}

.game-iframe__preview.hide {
    display: none;
}

.game-iframe__preview-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 50px;
    text-align: center;
}

.game-iframe__preview-img {
    max-width: 240px;
}

body .game-iframe__preview-img img {
    width: 100%;
    height: 100%;
    min-width: 240px;
    border-radius: 25px;
    object-fit: cover;
}

.game-iframe__preview-title {
    width: 100%;
    margin: 12px 0 24px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    line-height: 24px;
    font-weight: 700;
    color: #fff;
}

.game-iframe__preview-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 240px;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    line-height: 20px;
    font-weight: 700;
    background-color: #fff;
    color: #2155CD;
    transition: all 0.3s;
}

.game-iframe__preview-btn p {
    margin: 0;
}

.game-iframe__preview-btn svg {
    width: 18px;
    height: 18px;
}

.game-iframe__preview-btn svg path {
    transition: all 0.3s;
}

.game-iframe__preview-btn:hover,
.game-iframe__preview-btn:focus {
    background-color: #2155CD;
    color: #fff;
    outline: none;
}

.game-iframe__preview-btn:hover svg path,
.game-iframe__preview-btn:focus svg path {
    stroke: #fff;
}

.game-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    min-height: 52px;
    padding: 0 24px;
    background-color: #0A090C;
}

.game-container.full-screen.desktop .game-toolbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.game-container.full-screen.mobile .game-toolbar {
    display: none;
}

.game-toolbar__col {
    position: relative;
}

.game-toolbar__col:nth-child(1) {
    display: flex;
    align-items: center;
    flex: 1 1 85%;
}

.game-toolbar__col:nth-child(2) {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.game-toolbar__col:not(:last-child) {
    padding-right: 24px;
}

.game-toolbar__col:nth-child(3) {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.game-toolbar__col:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    display: block;
    width: 1px;
    height: 50%;
    transform: translate(0, -50%);
    background-color: #4C4949;
}

.game-container.mobile .game-toolbar__col:nth-child(1) {
    padding-right: 24px;
}

.game-container.mobile .game-toolbar__col:nth-child(2) {
    padding-right: 0;
}

.game-container.mobile .game-toolbar__col:nth-child(2)::before {
    display: none;
}

.game-container.mobile .game-toolbar__col:nth-child(3) {
    display: none;
}

.game-toolbar__title {
    width: 50%;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    line-height: 24px;
    font-weight: 700;
    color: #fff;
}

.game-toolbar__rating {
    width: 50%;
    height: 100%;
}

.game-toolbar__rating._mobile {
    display: none;
}

.game-toolbar__rating .kodex_buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    padding: 0;
}

.game-toolbar__rating .kodex_buttons .kodex_button {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 100%;
    padding: 14px 8px;
    border: none;
    background: transparent;
    outline: none;
    color: #fff;
    opacity: 1;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 1;
}

.game-toolbar__rating .kodex_buttons .kodex_button:hover,
.game-toolbar__rating .kodex_buttons .kodex_button:active {
    color: #0AA1DD;
}

.game-toolbar__rating .kodex_buttons .kodex_button.kodex_button_loading {
    opacity: 0.5;
}

.game-toolbar__rating .kodex_buttons .kodex_button .icon {
    padding: 0;
    float: none;
}

.game-toolbar__rating .kodex_buttons .kodex_button .icon::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: all 0.3s;
}

.game-toolbar__rating .kodex_buttons .kodex_like_button .icon::before {
    background-image: url(../images/like.svg);
}

.game-toolbar__rating .kodex_buttons .kodex_dislike_button .icon::before {
    transform: rotate(-180deg);
    background-image: url(../images/like.svg);
}

.game-toolbar__rating .kodex_buttons .kodex_like_button:hover .icon::before {
    background-image: url(../images/like-hover.svg) !important;
}

.game-toolbar__rating .kodex_buttons .kodex_dislike_button:hover .icon::before {
    background-image: url(../images/like-hover.svg) !important;
}

.game-toolbar__rating .kodex_buttons .kodex_button:active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background-color: #0AA1DD;
    opacity: 0.5;
    z-index: -1;
}

.game-toolbar__rating .kodex_buttons .kodex_like_button:active .icon::before {
    background-image: url(../images/like-hover.svg) !important;
}

.game-toolbar__rating .kodex_buttons .kodex_dislike_button:active .icon::before {
    background-image: url(../images/like-hover.svg) !important;
}

.game-toolbar__rating .kodex_buttons .kodex_like_button.kodex_button_active .icon::before {
    background-image: url(../images/like-active.svg);
}

.game-toolbar__rating .kodex_buttons .kodex_dislike_button.kodex_button_active .icon::before {
    background-image: url(../images/like-active.svg);
}

.game-toolbar__rating .kodex_buttons .counter {
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 16px;
    font-weight: 400;
}

.game-toolbar__plays {
    display: flex;
    align-items: center;
    gap: 10px;
}

.game-toolbar__plays svg {
    width: 24px;
    height: 24px;
}

.game-toolbar__plays .count-plays {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 16px;
    font-weight: 400;
    color: #fff;
}

.game-toolbar__full-screen {
    opacity: 0.5;
    cursor: pointer;
    transition: all 0.3s;
}

.game-toolbar__full-screen:hover {
    opacity: 1;
}

.game-iframe__loading {
    display: none;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 240px;
}

.game-iframe__loading.show {
    display: flex;
}

.game-iframe__loading-progress-container {
    width: 100%;
    height: 14px;
    border-radius: 16px;
    background-color: #0A090C;
}

.game-iframe__loading-progress-bar {
    width: 0;
    height: 14px;
    border-radius: 16px;
    background-color: #2155CD;
    transition: width 0.3s ease;
}

.game-iframe__loading-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 14px;
    font-weight: 700;
    color: #fff;
}

.game-iframe__loading-item p {
    margin: 0;
}

@media (max-width: 991px) {
    .game-iframe__preview-img {
        max-width: 130px;
    }
    
    body .game-iframe__preview-img img {
        min-width: 130px;
        border-radius: 12px;
    }

    .game-iframe__preview-title {
        font-size: 16px;
        line-height: 18px;
    }
    
    .game-iframe__preview-btn {
        padding: 12px;
        font-size: 16px;
        line-height: 18px;
    }

    .game-toolbar__col:nth-child(1) {
        padding-right: 24px;
    }

    .game-toolbar__col:nth-child(2) {
        padding-right: 0;
    }

    .game-toolbar__col:nth-child(2)::before {
        display: none;
    }

    .game-toolbar__col:nth-child(3) {
        display: none;
    }

    .game-toolbar__title {
        width: 100%;
        margin: 0;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 16px;
        line-height: 18px;
        color: #fff;
    }

    .game-toolbar__plays .count-plays {
        font-size: 14px;
        line-height: 14px;
    }

    .game-toolbar__plays svg {
        width: 20px;
        height: 20px;
    }

    .game-toolbar__plays {
        gap: 8px;
    }
}

@media (max-width: 767px) {
    .game-toolbar {
        flex-direction: column;
        gap: 16px;
        padding: 14px 16px;
    }

    .game-toolbar__rating._mobile {
        display: block;
    }

    .game-toolbar__rating._desktop {
        display: none;
    }

    .game-toolbar__col:nth-child(2) {
        justify-content: space-between;
        gap: 32px;
    }
    
    .game-toolbar__col:not(:last-child)::before {
        display: none;
    }

    .game-toolbar__rating {
        padding-right: 32px;
        border-right: 1px solid #4C4949;
    }

    .game-toolbar__rating .kodex_buttons {
        justify-content: flex-start;
        gap: 18px;
    }

    .game-toolbar__rating .kodex_buttons .kodex_button {
        gap: 5px;
        padding: 0;
    }
}

@media (max-width: 479px) {
    .game-iframe__preview-title {
        margin: 10px 0;
        font-size: 14px;
        line-height: 16px;
    }
    
    .game-iframe__preview-btn {
        font-size: 14px;
        line-height: 16px;
    }

    .game-toolbar__col:nth-child(2) {
        gap: 16px;
    }

    .game-toolbar__rating {
        padding-right: 16px;
    }

    .game-toolbar__rating .kodex_buttons {
        gap: 10px;
    }
}