.topgame {
    padding: 0px 0 10px 0;
    font-size: 20px;
    background-color: #ffff;
}

.topgame .topgame-left {
    display: flex;
    width: 100%;
    height: 100%
}

.topgame .topgame-left .maingame {
    max-height: var(--card_height);
    overflow: hidden;
    padding-right: 15px;
}

.topgame .topgame-left .maingame .topgame__new_1 {
    overflow: hidden
}

.topgame .topgame-left .maingame .topgame__info {
    width: 100%;
    height: 30%;
    bottom: 0
}

.topgame .topgame-left .maingame .topgame__info__title {
    height: 30%
}

.topgame .topgame-left .maingame .topgame__info__title a {
    color: #54b046;
    text-decoration: none
}

.topgame .topgame-left .maingame .topgame__info__slogan {
    height: 25%
}

.topgame .topgame-left .maingame .topgame__info__more {
    height: 45%
}

.topgame .topgame-left .subgame {
    max-height: var(--card_height);
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    padding-right: 15px;
}

.topgame .topgame-left .subgame .topgame__new_2,
.topgame .topgame-left .subgame .topgame__new_3 {
    max-height: 48%;
    overflow: hidden
}

.topgame .topgame-left .subgame .topgame__info {
    width: 50%;
    height: 100%;
    right: 0;
    top: 0
}

.topgame .topgame-left .subgame .topgame__info__title {
    height: 30%;
    text-transform: uppercase
}

.topgame .topgame-left .subgame .topgame__info__title a {
    color: #54b046;
    text-decoration: none
}

.topgame .topgame-left .subgame .topgame__info__slogan {
    height: 40%
}

.topgame .topgame-left .subgame .topgame__info__more {
    height: 30%
}

.topgame .topgame-left .gamecard {
    position: relative;
    height: 100%;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .2)
}

.topgame .topgame-left .gamecard .topgame__info {
    position: absolute;
    background-color: rgba(255, 255, 255, .75);
    display: flex;
    flex-direction: column
}

.topgame .topgame-left .gamecard .topgame__info__thumbnail {
    border-radius: 5px;
    height: 100%;
    background-size: cover !important;
}

.topgame .topgame-left .gamecard .topgame__info__thumbnail img {
    height: 100%
}

.topgame .topgame-left .gamecard .topgame__info__thumbnail img:hover {
    transform: scale(1.08);
    transition: transform 1s, filter 3s ease-in-out
}

.topgame .topgame-left .gamecard .topgame__info__title {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bolder;
    color: #54b046;
    font-family: sans-serif;
    font-size: var(--medium_title);
    text-align: center
}



.topgame .topgame-left .gamecard .topgame__info__title span {
    text-transform: uppercase
}

.topgame .topgame-left .gamecard .topgame__info__slogan {
    text-align: center;
    font-size: var(--large_text);
    line-height: 1.5
}


.topgame .topgame-left .gamecard .topgame__info__more {
    text-align: center
}

.topgame .topgame-right {
    max-height: var(--card_height);
    height: 100%
}

.topgame .topgame-right .topgame-card {
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
    background-color: #fff;
    overflow: hidden;
    height: 100%
}

.topgame .topgame-right .topgame-card .topgame-1 {
    background-color: red
}

.topgame .topgame-right .topgame-card__title {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-weight: 700;
    color: #fff;
    background-color: #333;
    border-bottom: 5px solid #54b046;
    font-size: var(--large_title);
    margin-bottom: 5px
}



.topgame .topgame-right .topgame-card__item {
    display: flex;
    padding: 21px 15px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, .1)
}


.topgame .topgame-right .topgame-card__item:last-child {
    border-bottom: 0
}

.topgame .topgame-right .topgame-card__item__stt {
    width: 10%;
    font-size: var(--medium_text)
}

.topgame .topgame-right .topgame-card__item__stt div {
    border-radius: 4px;
    background-color: #333;
    width: 22px;
    height: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff
}

.topgame .topgame-right .topgame-card__item__avatar {
    width: 18%
}

.topgame .topgame-right .topgame-card__item__info {
    width: 70%;
    height: 100%;
    display: flex;
    padding-left: 5%;
    flex-direction: column;
    line-height: 2;
    justify-content: space-between
}

.topgame .topgame-right .topgame-card__item__info__gamename {
    font-weight: 700;
    font-size: var(--small_title);
    text-transform: uppercase
}

.topgame .topgame-right .topgame-card__item__info__gamename a {
    color: #000;
    text-decoration: unset
}

.topgame .topgame-right .topgame-card__item__info__gamename :hover {
    color: #54b046
}

.topgame .topgame-right .topgame-card__item__info__playercount {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: var(--medium_text)
}

.topgame .topgame-right .topgame-card__item__info__playercount img {
    width: 16px
}

.topgame .topgame-right .topgame-card__item__info__playercount span {
    padding-left: 5px
}


@media only screen and (min-width:768px) and (max-width: 998px) {
    .topgame .topgame-left .maingame {
        padding-right: 10px;
    }

    .topgame .topgame-left .maingame .topgame__info {
        height: 30%;
    }

    .topgame .topgame-left .gamecard .topgame__info__thumbnail img {
        object-fit: cover;
    }

    .topgame__info__more button {
        min-width: 100px;
    }

    .topgame .topgame-left .gamecard .topgame__info__title {
        font-size: 12px;

    }

    .topgame .topgame-left .gamecard .topgame__info__slogan {
        font-size: 12px;
        height: 40%;
    }


    .topgame .topgame-right .topgame-card__title {
        font-size: var(--small_title);
        height: 40px;
        margin-bottom: 0
    }

    .topgame .topgame-right .topgame-card__item {
        padding: 10px 0 10px 15px;
    }

    .topgame .topgame-right .topgame-card__item__info__gamename {
        font-size: 12px;
    }

    .topgame .topgame-right .topgame-card__item__info__playercount img {
        width: 10px;
    }

    .topgame .topgame-right .topgame-card__item__info__playercount {
        font-size: var(--small_text)
    }

    .topgame .topgame-right .topgame-card__item__stt div {
        width: 16px;
        height: 16px
    }
}



@media only screen and (max-width:480px) {
    .topgame {
        padding: 20px 0
    }

    .topgame .topgame-left .maingame {
        padding-right: 0px !important;
    }

    .topgame .topgame-left .subgame {
        padding-right: calc(var(--bs-gutter-x) / 2);
    }

    .topgame .topgame-left .subgame .topgame__new_2,
    .topgame .topgame-left .subgame .topgame__new_3 {
        max-height: 48.5%
    }

    .topgame .topgame-left .gamecard .topgame__info__title {
        font-size: var(--tiny_title)
    }

    .topgame .topgame-left .gamecard .topgame__info__slogan {
        font-size: var(--tiny_text)
    }
}