:root {
    --box-shadow: 0 2px 40px rgb(53 39 185 / 15%);
}

[data-theme=dark] {
    --box-shadow: 0 2px 40px rgb(23 0 241 / 15%);
}

.hidden-search {
    display: none;
}

/* ================================== header-game - game-full-rate */

/* game-full-rate */

.game-full-rate {
    padding-left: 10px;
}

#append-rate .rating img {
    display: unset;
    margin-bottom: 0;
    width: 22px;
    height: 22px;
}

.font-rate {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    line-height: 0.5;
}

.iframe-default {
    display: block;
    /* border-radius: var(--border-radius); */
}

.margin-left {
    margin-left: -10px;
}

/* end */

.play-game {
    margin-top: 32px;
}

.header-game {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-height: 48px;
    height: auto;
    overflow: hidden;
    color: var(--primary-title);
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 4px 10px;
    /* margin-top: 16px; */
    /* border-radius: var(--border-radius); */
    /* border: 1px solid rgba(0, 0, 0, .125); */
    background: var(--light-gray);
}

.box-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.box-header h1 {
    font-size: 20px;
    white-space: nowrap;
    text-transform: uppercase;
}

.header-game-extend {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.header-game-extend>span {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 44px;
    /* min-height: 44px; */
    min-height: 40px;
    margin-left: 5px;
    cursor: pointer;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    /* border-radius: var(--border-radius); */
    -webkit-transition: cubic-bezier(.32, 1.2, .54, 1.17);
    -o-transition: cubic-bezier(.32, 1.2, .54, 1.17);
    transition: cubic-bezier(.32, 1.2, .54, 1.17)
}

.expand {
    margin-right: -5px;
}

.hidden {
    display: none;
}

.header-game-extend>span>svg {
    fill: var(--primary-title);
}

/* .header-game-extend>span:hover {
  background: linear-gradient(90deg, #3d63cd, #6424db);
  -webkit-transform: rotate(-5deg);
  -ms-transform: rotate(-5deg);
  transform: rotate(-5deg);
} */

.share-btn:hover>svg,
.comment-btn:hover>svg,
.theatemode:hover>svg,
.expand-btn:hover>svg {
    fill: #6424db;
    color: #6424db;
}

/* fullscreen.php */

.exit-fullscreen {
    width: 36px;
    height: 36px;
    position: fixed;
    top: 5px;
    right: 5px;
    z-index: 999999;
    padding: 6px;
    background-color: rgba(0, 0, 0, 0.65);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    cursor: pointer;
}

#expand {
    cursor: pointer !important;
}

.force_full_screen {
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 999999;
    top: 0px !important;
    border: 0px !important;
    left: 0px !important;
    right: 0px !important;
    cursor: pointer !important;
}

@media (max-width: 576px) {
    .header-game {
        max-height: unset;
    }
    .box-header {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .header-game-extend {
        -webkit-box-ordinal-group: 0;
        -ms-flex-order: -1;
        order: -1;
        width: 100%;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }
    .game-full-rate {
        margin: 10px 0;
    }
}

.hidden_theatemode {
    display: none;
}

/* =================================== comments ================================= */

.comments-wrap {
    color: var(--primary-title);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #615c6c;
    box-shadow: var(--box-shadow);
}

/* =================================== pagination ================================= */

.pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    /* justify-content: center; */
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    /* margin: 30px auto 0; */
    /* padding: 0 20px; */
    width: 100%;
    /* height: 60px; */
    /* border-radius: 20px; */
    /* background-color: var(--black2); */
}

.pagination .btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-width: 50px;
    padding: 15px;
    /* border-radius: 20px; */
    border-radius: 50%;
    background-color: transparent;
    font-size: 16px;
    color: var(--purple);
    font-weight: 700;
    margin: 0 6px;
    -webkit-transition: 0.5s ease;
    -o-transition: 0.5s ease;
    transition: 0.5s ease;
}

.pagination .btn:hover {
    cursor: pointer;
    color: white;
    background-color: var(--purple);
}

.pagination .active {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-width: 50px;
    padding: 15px;
    /* border-radius: 20px; */
    border-radius: 50%;
    background: linear-gradient(94.63deg, #3d63cd 10.2%, #6424db 89.98%);
    font-size: 16px;
    color: white;
    font-weight: 700;
    cursor: default;
    font-weight: 700;
    margin: 0 5px;
}

.pagination>span:nth-child(1) {
    margin-left: 0;
}

/*============================== loading_mask ==============================*/

.hidden-load {
    display: none;
}

.loading_mask {
    background: rgba(0, 0, 0, 0.7);
    text-align: center;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.loading_mask>svg {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.action .loading_mask>svg {
    left: 50%;
}

/*============================== breadcrumbs ==============================*/

.breadcrumbs {
    margin: 0 0 20p;
    text-transform: capitalize;
    font-weight: 700;
}

.breadcrumbs a {
    color: var(--main-color-links);
    text-decoration: none;
    font-size: 16px
}

.breadcrumbs__delimiter {
    padding: 0 4px;
}

/* ========================== game__content - Use the footer======================== */

.game__content {
    font-size: 16px;
    line-height: 1.5;
    color: var(--main-color-text);
    word-wrap: break-word;
}

.game__content strong,
.game__content em {
    color: var(--main-color-text);
}

.game__content ul,
.game__content ol {
    padding-left: 21px;
    margin-bottom: 26px;
}

.game__content ul:last-child,
.game__content ol:last-child {
    margin-bottom: 0;
}

.game__content li {
    line-height: 26px;
    padding-left: 3px;
    position: relative;
}

.game__content li:hover {
    color: #000;
    cursor: pointer;
    background: #d04444;
}

.game__content p {
    line-height: 26px;
    margin-bottom: 26px;
    letter-spacing: 0.4px;
}

.game__content a {
    font-style: italic;
    color: var(--main-color-links);
}

.game__content a:hover,
.game__content a:focus {
    color: #e53f71;
}

.game__content h1,
.game__content h2,
.game__content h3,
.game__content h4,
.game__content h5,
.game__content h6 {
    font-weight: bold;
    margin-bottom: 12px;
}

.game__content h1:last-child,
.game__content h2:last-child,
.game__content h3:last-child,
.game__content h4:last-child,
.game__content h5:last-child,
.game__content h6:last-child {
    margin-bottom: 0;
}