* {
    padding: 0;
    margin: 0;
    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE 10+ */
    user-select: none;
    /* 标准语法 */
}

/* 自动换行 */
.overFlow {
    word-wrap: break-word;
    overflow: hidden;
}

/* 超过文本省略 */
.overFlowEllipsis {
    overflow: hidden;
    /*超出部分隐藏*/
    text-overflow: ellipsis;
    /* 超出部分显示省略号 */
    white-space: nowrap;
    /*规定段落中的文本不进行换行 */
}

html,
body {
    width: 100%;
    height: 100%;
    /* min-width: 1820px; */
    /* max-width: 1920px; */
    margin: 0 auto;
}

#zdjl_M body::-webkit-scrollbar {
    width: 0;
}

#zdjl_M body::-webkit-scrollbar-thumb {
    background-color: transparent
}

#zdjl_M body::-webkit-scrollbar-track {
    background: transparent;
}

.flex {
    display: flex;
}

.pointer {
    cursor: pointer;
}

.absolute {
    position: absolute;
}

#zdjl_M #mainBody {
    position: relative;
    margin: 0 auto;
}

#zdjl_M .Top {
    width: 100%;
    height: 9vh;
    /* height: 75px; */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 110;
    background: url("../img/indexM/top.png") no-repeat;
    background-size: 100% auto;
}

#zdjl_M .Top div {
    position: absolute;
    top: 15%;
    right: 4%;
    width: 22%;
    height: 44%;
    /* background-color: #fff; */
    border-radius: 20px;
}

#zdjl_M .indexMHome {
    width: 100%;
    height: 90vh;
    /* background: url('../img/indexM/home.png') no-repeat;
    background-size: 100% 100%; */
    position: relative;
}

#zdjl_M .indexMHomeImg {
    width: 44%;
    position: absolute;
    bottom: 8%;
    left: 28%;
}

/* 游戏资讯 */
#zdjl_M .news {
    width: 100%;
    height: 90vh;
    padding: 2% 6%;
    box-sizing: border-box;
    background: url(../img/indexM/consultingMBg.png) no-repeat;
    background-size: 100% 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#zdjl_M .news .content {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 68%;
    position: relative;
}

#zdjl_M .news .content .left-box,
#zdjl_M .right-box {
    width: 100%;
}

#zdjl_M .news .content .left-box {
    width: 100%;
    margin-right: 3%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#zdjl_M .news-swiper-container {
    width: 100%;
    height: 85%;
    overflow: hidden;
}

#zdjl_M .news-swiper-container .swiper-slide {
    height: 30vh;
    position: relative;
}

#zdjl_M .news-swiper-container .swiper-slide::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
    background: url(../img/home/news/new-swiper-bg.png);
    background-size: 100% 100%;
    border-radius: 10px;
}

#zdjl_M .news-swiper-container .swiper-slide img {
    width: 100%;
    height: 30vh;
    border-radius: 20px;
}

#zdjl_M .swiper-button-prev2,
#zdjl_M .swiper-button-next2 {
    width: 8%;
    top: 22%;
    z-index: 101;
}

#zdjl_M .swiper-button-prev2 {
    left: -4%;
}

#zdjl_M .swiper-button-next2 {
    right: -4%;
}

#zdjl_M .swiper-title {
    width: 90%;
    background-color: #fee434;
    margin-top: 5%;
    font-size: 18px;
    font-weight: 800;
    border-radius: 50px;
    padding: 1% 5%;
    text-align: center;
}

#zdjl_M .news .content .right-box {
    display: flex;
    flex-direction: column;
    /* gap: 3%; */
    position: absolute;
    top: 39.5vh;
    z-index: 101;
}

#zdjl_M .news-nav {
    margin-bottom: 3%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#zdjl_M .news-nav>div {
    width: auto;
    border-radius: 100px;
    text-align: center;
    padding: 1% 2%;
    font-weight: 700;
    font-size: 14px;
    font-style: italic;
}

#zdjl_M .newsNavBlock {
    background-color: #fee434;
}

#zdjl_M .news-nav>p {
    height: 15px;
    width: 2px;
    border-radius: 1px;
    background-color: #000;
}

#zdjl_M .news-list {
    width: 100%;
    height: 32vh;
    margin-top: 2%;
    overflow-y: auto;
    /* display: flex;
    flex-direction: column;
    justify-content: space-between; */
}

#zdjl_M .news-item {
    width: 100%;
    height: 5vh;
    border-radius: 100px;
    background: #fff;
    padding: 1.5%;
    margin-bottom: 2%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    color: #000;
}

#zdjl_M .news-item-status {
    width: 18%;
    height: 100%;
    background-color: #fee434;
    border-radius: 50px;
    clip-path: polygon(0% 0%, 80% 0%, 60% 100%, 0% 100%);
    font-size: 12px;
    font-weight: 700;
    position: relative;
    display: flex;
    align-items: center;
}

#zdjl_M .news-item-status span {
    position: absolute;
    left: 15%;
}

#zdjl_M .news-item-content {
    flex: 1;
    font-size: 14px;
    display: -webkit-box;
    /* 将对象作为弹性伸缩盒子模型显示 */
    -webkit-box-orient: vertical;
    /* 设置或检索伸缩盒对象的子元素的排列方式为垂直方向 */
    -webkit-line-clamp: 1;
    /* 显示的行数 */
    overflow: hidden;
    /* 隐藏超出部分 */
    text-overflow: ellipsis;
    /* 超出内容用省略号表示 */
}

#zdjl_M .news-item-date {
    font-size: 12px;
    margin-right: 2%;
    color: #AEAEAE;
}

/* 玩法介绍 */
#zdjl_M .playingMethod {
    width: 100%;
    height: 90vh;
    padding: 2% 6%;
    box-sizing: border-box;
    background: url(../img/indexM/playingMethodBg.png) no-repeat;
    background-size: 100% 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#zdjl_M .left-box3 {
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#zdjl_M .news-swiper-container3 {
    width: 100%;
    height: 70vh;
    margin-top: 5%;
    overflow: hidden;
}

#zdjl_M .news-swiper-container3 .swiper-slide img {
    height: 70vh;
    width: 100%;
}

#zdjl_M .swiper-button-prev3,
#zdjl_M .swiper-button-next3 {
    width: 12%;
    top: 50%;
    z-index: 101;
}

#zdjl_M .swiper-button-prev3 {
    left: -5%;
}

#zdjl_M .swiper-button-next3 {
    right: -5%;
}

/* 游戏特色 */
#zdjl_M .gameCharacteristic {
    width: 100%;
    height: 90vh;
    padding: 2% 6%;
    box-sizing: border-box;
    background: url(../img/indexM/gameFeatureBg.png) no-repeat;
    background-size: 100% 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#zdjl_M .left-box4 {
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#zdjl_M .news-swiper-container4 {
    width: 100%;
    height: 70vh;
    margin-top: 5%;
    overflow: hidden;
}

#zdjl_M .news-swiper-container4 .swiper-slide img {
    width: 100%;
    height: 35vh;
    margin-top: 18%;
}

#zdjl_M .swiper-button-prev4,
#zdjl_M .swiper-button-next4 {
    width: 12%;
    left: 45%;
    z-index: 101;
}

#zdjl_M .swiper-button-prev4 {
    top: 11%;
}

#zdjl_M .swiper-button-next4 {
    /* bottom: 11%; */
    top: 85%;
}

#zdjl_M .news-swiper-container4 .swiper-slide {
    transition: transform 0.3s ease, filter 0.3s ease;
}

#zdjl_M .news-swiper-container4 .swiper-slide-active {
    filter: none;
}

#zdjl_M .news-swiper-container4 .swiper-slide-prev,
#zdjl_M .swiper-slide-next {
    opacity: 0.6;
}

/* 游戏社区 */
#zdjl_M .gameCommunity {
    width: 100%;
    height: 80vh;
    padding: 2% 6%;
    box-sizing: border-box;
    background: url(../img/indexM/gameCommunityBg.png) no-repeat;
    background-size: 100% 100%;
    position: relative;
}

#zdjl_M .top-title1 {
    width: 11%;
    height: 28vh;
    background: url('../img/indexM/titles.png') no-repeat;
    background-size: 100% 100%;
    margin: 5% 0;
    margin-top: 10%;
    position: absolute;
    left: 9%;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#zdjl_M .newsTxt1 {
    width: 50%;
    height: 11vh;
    /* margin-top: 55px;
    margin-left: 30%; */
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

#zdjl_M .gameCommunityTop {
    width: 69%;
    height: 30vh;
    margin: 10% 9% 10% 21%;
    position: relative;
    display: flex;
    justify-content: space-between;
}

#zdjl_M .xhsM {
    width: 47%;
    background: url('../img/indexM/gameCommunity/lineBg.png') no-repeat;
    background-size: 100% 100%;
    position: relative;
}

#zdjl_M .xhsMQr {
    width: 55%;
    margin-left: 22.5%;
    height: 6.8vh;
    position: absolute;
    top: 2vh;
}

#zdjl_M .xhsMQrName {
    width: 80%;
    margin-left: 9%;
    color: #000;
    margin-top: 9.5vh;
    font-size: 2.5vw;
    font-weight: 700;
    text-align: center;
}

#zdjl_M .qqM {
    width: 45%;
    background: url('../img/indexM/gameCommunity/discordBg.png') no-repeat;
    background-size: 100% 100%;
    position: relative;
}

#zdjl_M .qqMQr {
    width: 55%;
    margin-left: 19%;
    height: 7.6vh;
    position: absolute;
    bottom: 1.6vh;
}

#zdjl_M .qqMQrName {
    width: 75%;
    margin-left: 7%;
    color: #000;
    position: absolute;
    /* bottom: 10.9vh; */
    top: 18.2vh;
    font-size: 2.5vw;
    font-weight: 700;
    text-align: center;
}

#zdjl_M .gameCommunityBtm {
    width: 100%;
    height: 30vh;
    /* margin-left: 5%; */
    display: flex;
    justify-content: space-between;
}

#zdjl_M .wxgzhM {
    width: 31%;
    background: url('../img/indexM/gameCommunity/facebookBg.png') no-repeat;
    background-size: 100% 100%;
    position: relative;
}

#zdjl_M .wxgzhMQr {
    width: 55%;
    margin-left: 26%;
    height: 7.2vh;
    position: absolute;
    top: 1.8vh;
}

#zdjl_M .wxgzhMQrName {
    width: 75%;
    margin-left: 17%;
    color: #000;
    margin-top: 9.7vh;
    font-size: 2.5vw;
    font-weight: 700;
    text-align: center;
}

#zdjl_M .hyM {
    width: 29%;
    background: url('../img/indexM/gameCommunity/kfBg.png') no-repeat;
    background-size: 100% 100%;
    position: relative;
}

#zdjl_M .hyMQr {
    width: 60%;
    margin-left: 18%;
    height: 7.2vh;
    position: absolute;
    bottom: 2vh;
}

#zdjl_M .hyMQrName {
    width: 80%;
    margin-left: 9%;
    color: #000;
    position: absolute;
    bottom: 10vh;
    font-size: 2.5vw;
    font-weight: 700;
    text-align: center;
}

#zdjl_M .kfM {
    width: 32%;
    background: url('../img/indexM/gameCommunity/16jinBg.png') no-repeat;
    background-size: 100% 100%;
    position: relative;
}

#zdjl_M .kfMQr {
    width: 58%;
    margin-left: 20%;
    height: 9.5vh;
    position: absolute;
    top: 2vh;
}

#zdjl_M .kfMQrName {
    width: 80%;
    margin-left: 5%;
    color: #000;
    margin-top: 10.7vh;
    font-size: 2.5vw;
    font-weight: 700;
    text-align: center;
}

/* 图片翻转动画 */
@keyframes flip {
    0% {
        transform: rotateY(0deg) scaleX(-1);
    }

    50% {
        transform: rotateY(180deg) scaleX(-1);
    }

    100% {
        transform: rotateY(180deg) scaleX(-1);
    }
}

@keyframes flipBack {
    0% {
        transform: rotateY(180deg);
    }

    50% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(0deg);
    }
}

#zdjl_M .flipped {
    animation: flip 1s forwards;
}

#zdjl_M .unflipped {
    animation: flipBack 1s forwards;
}

/* 隐私协议 */
#zdjl_M .privacy {
    width: 100%;
    height: 250px;
    padding: 2% 5%;
    box-sizing: border-box;
    background-color: #000;
    display: flex;
    align-items: center;
}

#zdjl_M .privacyLeft {
    width: 35%;
    height: 200px;
    margin-right: 5%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#zdjl_M .privacyLeftImg {
    width: 100%;
}

#zdjl_M .privacyRight {
    width: 60%;
    color: #fff;
    font-size: 10px;
}

#zdjl_M .privacyRight div:nth-child(1) {
    color: #FFEC94;
}

#zdjl_M .top-title {
    width: 60%;
    height: 40px;
    background: url('../img/indexM/title.png') no-repeat;
    background-size: 100% 100%;
    margin: 5% 0;
}

#zdjl_M .newsTxt {
    width: 50%;
    margin-left: 30%;
    font-size: 20px;
    line-height: 38px;
    font-weight: 700;
    text-align: center;
}

/* dialog */
#zdjl_M .layui-layer-dialog {
    width: 80vw;
    height: 40vh;
}

#zdjl_M body .home-dialog {
    background: none;
    box-shadow: unset;
}

#zdjl_M body .home-dialog .layui-layer-content {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: unset;
    box-sizing: border-box;
}

#zdjl_M body .home-dialog .layui-layer-content::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0%;
    left: 0%;
    background: url(../img/home/dialogBg2.png) no-repeat;
    background-size: 100% 100%;
    background-position: -10% -10%;
}

#zdjl_M body .home-dialog .dialog-content-self-title {
    position: absolute;
    z-index: 99;
    top: 5%;
    left: 50%;
    transform: translate(-50%, 0%);
    width: 240px;
    font-weight: 900;
    height: 40px;
    line-height: 40px;
    font-size: 40px;
}

#zdjl_M body .home-dialog .dialog-content-self {
    position: absolute;
    z-index: 99;
    top: 56%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 55%;
    overflow-y: auto;
}

#zdjl_M .home-dialog .dialog-content-self>img {
    width: 100%;
    height: 100%;
}

#zdjl_M .home-dialog .layui-layer-setwin {
    right: -6%;
    top: -3%;
}

#zdjl_M .home-dialog .layui-layer-setwin .layui-layer-close2 {
    border: unset;
    background: unset;
    width: 30px;
    height: 30px;
}

#zdjl_M .home-dialog .layui-layer-setwin .layui-layer-close2::before {
    position: absolute;
    font-size: 30px;
    top: 130%;
    left: -67%;
    transform: translate(-50%, -50%);
}

#zdjl_M body .home-dialog2 {
    width: 88% !important;
    height: 40%;
}

#zdjl_M body .home-dialog2 .layui-layer-content::before {
    background: url(../img/home/dialogBg3.png) no-repeat;
    background-size: 100% 100%;
}

#zdjl_M body .home-dialog2 .dialog-content-self {
    width: 83%;
    height: 70%;
    top: 55%;
    padding-right: 3%;
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
    overflow-y: auto;
}

#zdjl_M body .home-dialog2 .dialog-content-self-code {
    margin-top: 4%;
    font-size: 20px;
    font-weight: 900;
    display: flex;
    justify-content: space-between;
}

#zdjl_M body .home-dialog2 .dialog-content-self-copybtn {
    cursor: pointer;
    background: #ffdc40;
    height: 30px;
    line-height: 30px;
    text-align: center;
    width: 70px;
    border-radius: 100px;
}

#zdjl_M body .home-dialog2 .dialog-content-self-qq {
    font-size: 18px;
}

#zdjl_M body .home-dialog2 .dialog-bottom-title {
    width: 100%;
    font-size: 20px;
    font-weight: 900;
    height: 40px;
    line-height: 40px;
    text-align: center;
}

#zdjl_M .layui-layer-msg {
    width: 200px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffdc40;
    background-color: #fff;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #000;
}

.copyright-btn {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    position: fixed;
    z-index: 103;
    right: 5%;
    bottom: -1px;
    padding: 10px;
    padding-bottom: 5px;
    background: #000;
    border-radius: 20px 20px 0 0;
    transition: all .3s ease-in-out;
    overflow: hidden;
}

#zdjl_M .copyright-btn>img {
    transition: all .5s ease-in-out;
}

/* 右侧固定栏 */
#zdjl_M .rightBar {
    width: 50px;
    height: 160px;
    padding: 1% 0;
    padding-left: 1%;
    background-color: #FEE434;
    box-sizing: border-box;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    position: fixed;
    right: 0;
    top: 40%;
    z-index: 110;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

#zdjl_M .rightBar>img {
    width: 36px;
    height: 36px;
}

#zdjl_M #languageSwitchM {
    width: 150px;
    height: 153px;
    padding: 2% 1.5%;
    padding-right: 5%;
    box-sizing: border-box;
    position: fixed;
    right: 40px;
    top: 40%;
    z-index: 111;
    background: url(../img/indexM/translationBg.png) no-repeat;
    background-size: 100% 100%;
}

#zdjl_M .languageSwitchBox { 
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

#zdjl_M .languageSwitchItem { 
    width: 100%;
    font-size: 16px;
    line-height: 34px;
    text-align: center;
}

#zdjl_M .languageSwitchItemActive {
    background: url(../img/home/language/languageActive.png);
    background-size: 100% 100%;
}