﻿/**单行缩进*/
.z-over-ellipsis {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    position: relative;
}

.mrcfbox-title {
    padding: 2px 3%;
    text-overflow: ellipsis;
    overflow: hidden;
}

.mrcfbox-title, .mrcfbox-title > a {
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.mrcfbox-title > a {
    display: inline-block;
    word-break: keep-all;
}

.carousel-full {
    width: 100%;
    height: 100%;
    position: relative;
    aspect-ratio: 16 / 9;
}

@media only screen and (max-width: 960px) {
    .carousel-full {
        min-height: auto;
    }
}

@media only screen and (max-width: 959px) {
    .carousel-full {
        min-height: 42vw;
    }
}

.aspect16-9 {
    width: 100%;
    height: 100%;
    position: relative;
    aspect-ratio: 16 / 9;
}

.aspect4-3 {
    width: 100%;
    height: 100%;
    position: relative;
    aspect-ratio: 4 / 3;
}

@supports not (aspect-ratio: 16 / 9) {
    aspect16-9::before {
        float: left;
        padding-top: 56.25%;
        content: "";
    }

    aspect4-3::before {
        float: left;
        padding-top: 75%;
        content: "";
    }

    aspect16-9::after, aspect4-3::after {
        display: block;
        content: "";
        clear: both;
    }
}

.adv-overbuttom {
    position: absolute;
    bottom: 5%;
    right: 5%;
    z-index: 10;
}

.small-gridbox {
    margin: -4px;
    width: calc(100% + 8px);
}

.rolling-box {
    background-image: linear-gradient(#BDBDBD,#E7E7E7,#EFEFEF);
    border-top: 1px solid #000000;
    width: 100%;
}

.rolling-container {
    width: 100%;
    position: relative;
}

.rolling-lrbuttom {
    background-color: dimgray;
    width: 36px;
}

    .rolling-lrbuttom > div {
        color: white;
        font-size: 36px;
    }

.rolling-content {
    background-color: transparent;
    overflow: hidden;
    width: 100%;
    min-height: 268px;
}

    .rolling-content > ul {
        overflow-x: scroll;
        overflow-y: hidden;
        white-space: nowrap;
        line-height: 0px;
        display: inline-block;
        width: 100%;
    }

        .rolling-content > ul > li {
            max-width: 9.7777777778rem;
            display: inline-block;
            line-height: normal;
            width: 15%;
            margin: 0.3%;
        }

.rolling-cardbox, .rolling-cardbox-flex {
    width: 100%;
    background-color: #FEFEFE;
}

.ul-mini-img {
    display: block;
}

    .ul-mini-img > li {
        width: 15%;
        margin: 2px;
        display: inline-block;
    }

@media only screen and (max-width: 960px) {
    .rolling-content > ul > li {
        width: 15%;
        margin: 0.3%;
    }
}

@media only screen and (max-width: 959px) {
    .rolling-content > ul > li {
        width: 10%;
        margin: 0.3%;
    }

    .ul-mini-img > li {
        width: 10%;
    }
}

@media only screen and (max-width: 798px) {
    .rolling-content > ul > li {
        width: 28%;
        margin: 0.3%;
    }

    .ul-mini-img > li {
        width: 31%;
    }
}

@media only screen and (max-width: 558px) {
    .rolling-content > ul > li {
        width: 46%;
        margin: 0.3%;
    }

    .ul-mini-img > li {
        width: 47%;
    }
}

.rolling-cardbox-flex {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /*height: 100%;*/
    justify-content: space-between;
    align-content: center;
    align-items: stretch;
}

.rolling-cardbox-box {
    width: 100%;
    box-sizing: border-box;
    position: relative;
    min-height: 32px;
}

.rolling-cardbox-img {
    width: 100%;
    height: 228px;
}

.rolling-cardbox-fbox {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-height: 32px;
    max-height: 32px;
    bottom: 0px;
    position: absolute;
    z-index: 4;
}



.rcfbox-top {
    background-color: #BDBDBD;
    z-index: 6;
}

.rcfbox-bottom {
    background-color: #E0E0E0;
    z-index: 8;
}

    .rcfbox-bottom:hover {
        text-overflow: initial;
        white-space: normal;
        max-height: 128px;
        transition: all 300ms ease-in-out;
    }

.rcfbox-icon {
    height: 32px;
    width: 42px;
    padding: 6px;
    display: inline-block;
}

    .rcfbox-icon:hover {
        background-color: #BDBDBD;
        transition: all 300ms ease-in-out;
    }

.rating-offect {
    padding-top: 3px;
    margin-bottom: -3px;
}

.sources-box > li {
    display: inline-block;
    position: relative;
    background-color: #FEFEFE;
    overflow: visible;
    width: 18.1%;
    margin: 0 0.8% 1.6%;
}

@media only screen and (max-width: 960px) {
    .sources-box > li {
        width: 18.1%;
        margin: 0 0.8% 1.6%;
    }

    .home-imgbox {
        height: 28vh;
    }
}

@media only screen and (max-width: 959px) {
    .sources-box > li {
        width: 31%;
        margin: 0 1% 2%;
    }
}

@media only screen and (max-width: 575px) {
    .sources-box > li {
        width: 48%;
        margin: 0 1% 2%;
    }
}

.imgviewer-imgbox {
    display: flex;
    max-height: 100%;
    max-width: 100%;
    align-content: center;
    align-items: center;
    justify-content: center;
}

    .imgviewer-imgbox > img {
        max-height: 100%;
        max-width: 100%;
    }

.home-imgbox {
    height: 34vh;
}

    .home-imgbox > div {
        justify-items: center;
        align-items: center;
    }

        .home-imgbox > div > img {
            width: 100%;
            height: 100%;
        }
.zmj-game-cover {
    left: 0px;
    top: 0px;
    width: 100%;
    height: 380px;
    opacity: 42%;
}

.zmj-game-name {
    color: white;
    font-size: 32px;
    line-height: 36px;
    margin-left: 12px;
}

.zmj-game-subname {
    font-size: 24px;
    line-height: 36px;
    margin-left: 12px;
}

.zmj-game-card-cover {
    width: 100%;
    height: 380px;
}

.zmj-game-qrcode {
    width: 100%;
    height: 410px;
}

.d-autofontsize-h4 {
    font-size: 30px;
}

.d-autofontsize-h6 {
    font-size: 22px;
}

@media only screen and (max-width: 768px) {
    .zmj-game-cover {
        height: 270px;
    }

    .zmj-game-name {
        font-size: 24px;
        line-height: 28px;
        margin-left: 8px;
    }

    .zmj-game-subname {
        font-size: 18px;
        line-height: 28px;
        margin-left: 8px;
    }

    .zmj-game-card-cover {
        width: 100%;
        height: 280px;
    }

    .mud-container {
        padding-left: 0px;
        padding-right: 0px;
    }
}

@media only screen and (max-width: 540px) {
    .zmj-game-cover {
        height: 160px;
    }

    .zmj-game-name {
        color: white;
        font-size: 14px;
        line-height: 16px;
        margin-left: 4px;
    }

    .zmj-game-subname {
        font-size: 12px;
        line-height: 16px;
        margin-left: 4px;
    }

    .zmj-game-card-cover {
        width: 100%;
        height: 180px;
    }

    .mud-container {
        padding-left: 0px;
        padding-right: 0px;
    }

    .d-autofontsize-h4 {
        font-size: 18px;
    }

    .d-autofontsize-h6 {
        font-size: 14px;
    }
}

.smbox-title, .rcfbox-title, .zmj-nowarp, .smbox-title > a, .rcfbox-title > a {
    white-space: nowrap;
    overflow: hidden;
}

    .rcfbox-title, .rcfbox-title > a {
        font-size: 18px;
        text-overflow: ellipsis;
        display: inline-flex;
    }

.sminline-pd {
    margin-left: -12px;
    margin-right: -12px;
}

.smbox-title, .smbox-title > a {
    font-size: 24px;
    text-overflow: clip;
    display: inline-block;
    width: 100%;
    overflow-x: visible;
}

    .smbox-title > a, .rcfbox-title > a {
        word-break: keep-all;
    }

.auto-scroll-x {
    scrollbar-width: none; /* firefox */
    -ms-overflow-style: none; /* IE 10+ */
    overflow-x: auto;
}

    .auto-scroll-x::-webkit-scrollbar {
        display: none; /* Chrome Safari */
    }
