:fullscreen,
::backdrop {
    background-color: white;
}

.ga-game-screen {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.ga-game-screen * {
    box-sizing: border-box;
}

body.isfullscreen {
    height: 100%;
    overflow: hidden;
}

body.isfullscreen .ga-game-screen {
    height: 100%;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

@media only screen and (min-width: 768px) {
    .ga-game-screen .controls-right button:hover span {
        display: block;
    }
}

.ga-game-screen .hidden {
    display: none!important;
    visibility: hidden!important;
    width: 0!important;
    height: 0!important;
    padding: 0!important;
    margin: 0!important;
}

.ga-game-screen .game-controls {
    display: flex;
    height: 47px;
    width: 100%;
    padding: 4px;
    background-color: #fff;
    border-top: 1px solid #000;
    z-index: 9999;
}

.dark .ga-game-screen .game-controls {
    border: 0;
}

.ga-game-screen .controls-left {
    flex-grow: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.ga-game-screen .controls-left a {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    display: flex;
}

.ga-game-screen .controls-left a img {
    width: 36px;
    height: 36px;
    border-radius: 5px;
}

.ga-game-screen .controls-left a span {
    margin-left: 4px;
    line-height: 36px;
    overflow: hidden;
    white-space: nowrap;
}

.ga-game-screen .controls-right {
    display: flex;
    align-items: center;
}

.ga-game-screen .controls-right button {
    width: 42px;
    height: 42px;
    position: relative;
    border: 0;
    background-color: transparent;
}

.ga-game-screen .controls-right button span {
    display: none;
    position: absolute;
    top: -23px;
    left: -50px;
    width: 125px;
    background-color: #1f1f1f;
    padding: 3px;
    border-radius: 5px;
    opacity: .8;
    z-index: 100;
    color: #fff;
}

.ga-game-screen .likebtn.active svg {
    color: #5ed800;
}

.ga-game-screen .dislikebtn.active svg {
    color: #d80026;
}

.ga-game-screen .favoritebtn.active svg {
    color: #d31e51;
}

.ga-game-screen .favoritebtn.active svg path {
    fill: #d31e51;
    stroke: #d31e51;
}

.ga-game-screen .floating-button {
    position: absolute;
    padding: 5px;
    z-index: 1000;
}

.ga-game-screen .floating-button button {
    width: 32px;
    height: 32px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, .15);
    display: flex;
    justify-content: center;
    align-items: center;
}

.ga-game-screen .floating-button img {
    width: 20px;
    height: 20px;
}


@keyframes ww039qaOhb5Veu2mbHrA {
    0% {
        transform: translate(0);
        visibility: visible
    }

    90% {
        transform: translateY(150%);
        visibility: visible
    }

    to {
        transform: translateY(150%);
        visibility: hidden
    }
}

@keyframes seKqapJjAkQjXTrYoS9y {
    26% {
        transform: rotate(0deg)
    }

    28% {
        transform: rotate(14deg)
    }

    32% {
        transform: rotate(-6deg)
    }

    34% {
        transform: rotate(6deg)
    }

    36% {
        transform: rotate(-8deg)
    }

    39% {
        transform: rotate(2deg)
    }

    44% {
        transform: rotate(0deg)
    }
}


.ga-game-screen .rotation-icon {
    animation: seKqapJjAkQjXTrYoS9y 4s ease-in-out 2s infinite;
    flex-shrink: 0;
    height: 16px;
    margin: 0 8px 0 0;
    width: 23px
}

@media (orientation: landscape) {
    .ga-game-screen .rotation-icon {
        height: 24px;
        margin: 0 21px 0 6px;
        width: 18px
    }
}

.ga-game-screen .rotation-close {
    border: 3px solid #fff;
    border-radius: 30px;
    font-size: 21px;
    margin: 50px auto 0;
    padding: 1px 29px
}

.ga-game-screen .rotation-top {
    display: contents
}

.ga-game-screen .rotation-message-container {
    align-items: center;
    animation: ww039qaOhb5Veu2mbHrA .5s linear 15s forwards;
    background: #5d6b84;
    bottom: 0;
    color: #f9fbff;
    display: flex;
    font: 400 14px/140% "Torus","Noto Sans Arabic",sans-serif;
    justify-content: center;
    padding: 6px;
    pointer-events: none;
    position: absolute;
    right: 0;
    width: 100%;
    z-index: 2
}

@media (orientation: landscape) {
    .ga-game-screen .rotation-message-container {
        border-radius: 4px;
        margin: 20px;
        max-width: 230px;
        padding: 17px 14px 15px
    }
}

.ga-game-screen .rotation-message-container {
    animation: none;
    background: #0b2645;
    border-radius: 0;
    flex-direction: column;
    font-size: 28px;
    height: 100%;
    pointer-events: auto
}

@media (orientation: portrait) {
    .ga-game-screen .rotation-message-container .rotation-icon {
        height: 106px;
        margin: 0 0 32px;
        width: 102px
    }

    .ga-game-screen .rotation-message-container .rotation-message {
        max-width: 70%;
        text-align: center
    }
}

@media (orientation: landscape) {
    .ga-game-screen .rotation-message-container {
        margin: 0;
        max-width: 100%;
        padding: 20px
    }

    .ga-game-screen .rotation-message-container .rotation-top {
        align-items: center;
        display: flex;
        flex-direction: row;
        max-width: 370px
    }

    .ga-game-screen .rotation-message-container .rotation-icon {
        height: 64px;
        width: 61px
    }
}