body {
    background: black;
    width: 100%;
    max-width: 7.5rem;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

* {
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

#main-container {
    width: 100%;
    height: 100%;
    position: relative;
}

#main-container .slide-container:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: block;
    background: url(/images/top/phb31.png) no-repeat center top;
    height: 1.8rem;
    background-size: 100% 100%;
    z-index: 2;
}

#main-container .slide-container .rank-name {
    font-size: 0.32rem;
    line-height: 0.6rem;
    height: 0.8rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 1);
    left: 2%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    border-bottom: 0.01rem solid rgba(255, 255, 255, 0.2);
}

.ranks-container {
    height: 100%;
    width: 100%;
}

.top-nav-container {
    z-index: 10;
    width: 100%;
    padding: 0.2rem 0.2rem 0;
    box-sizing: border-box;
    max-width: 7.5rem;
    position: fixed;
    top: 0;
    margin: auto;
    left: 0;
    right: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    font-size: 0.3rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 1);
    background: url(/images/top/phb32.png) no-repeat center top;
    height: 1.8rem;
    background-size: 100% 100%;
}

.top-nav-container .go-youxia {
    width: 1.23rem;
    height: 0.7rem;
    background: url(/images/top/xin5.png) no-repeat;
    background-size: 100% 100%;
    float: left;
    position: relative;
    z-index: 2;
}

.top-nav-container .page-title {
    width: 5rem;
    margin: auto;
    line-height: 0.3rem;
    left: 0;
    right: 0;
    text-align: center;
    height: 0.7rem;
    background-size: 100% 100%;
    position: absolute;
}

.top-nav-container .page-title span {
    font-size: 0.2rem;
    font-weight: normal;
    color: #cccccc;
}

.top-nav-container .show-toggle-btn {
    width: 1.5rem;
    height: 0.56rem;
    box-sizing: border-box;
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid white;
    float: right;
    position: relative;
    z-index: 2;
}

.top-nav-container .share-page {
    width: 0.6rem;
    height: 0.6rem;
    background: url(/images/top/xin7.png) no-repeat center center;
    background-size: 0.35rem 0.32rem;
    float: right;
    margin-right: 0.1rem;
    position: relative;
    z-index: 2;
}

.top-nav-container .show-toggle-btn i {
    width: 0.23rem;
    height: 0.19rem;
    display: block;
    background: url(/images/top/xin6.png) no-repeat;
    background-size: 100% 100%;
    margin: 0.04rem 0.1rem 0 0;
}

.top-nav-container .go-back {
    display: block;
    width: 0.4rem;
    height: 0.4rem;
    background: url(/images/top/goback.png) no-repeat;
    background-size: 100% 100%;
    cursor: pointer;
}

.top-nav-container .index-share {
    display: block;
    width: 0.4rem;
    height: 0.4rem;
    background: url(/images/top/share.png) no-repeat;
    background-size: 100% 100%;
    cursor: pointer;
}

.slide-container {
    position: relative;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
}

.game-info {
    width: 5.1rem;
    position: absolute;
    top: 18%;
    left: 0;
    padding: 0.2rem 0.22rem 0.34rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    background: rgba(65, 80, 57, 0.8);
}

.game-top {
    width: 100%;
    height: 2.1rem;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.game-info .game-pic {
    max-width: 2.5rem;
    height: 2.1rem;
    position: relative;
    margin-right: 0.15rem;
}

.ranks-toggle-li div,
.game-info .game-pic div {
    background: white;
    border-radius: 50%;
    width: 0.32rem;
    height: 0.32rem;
    text-align: center;
    line-height: 0.32rem;
    background-size: 100% 100%;
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    top: -0.2rem;
    font-size: 0.2rem;
}

.ranks-toggle-li .ranks-num1,
.game-info .game-pic .ranks-num1 {
    width: 0.42rem;
    height: 0.58rem;
    background: url(/images/top/phb1.png) no-repeat;
    background-size: 100% 100%;
    top: -0.4rem;
}

.ranks-toggle-li .ranks-num1 {
    top: -0.28rem;
}

.ranks-toggle-li .ranks-num2,
.game-info .game-pic .ranks-num2 {
    width: 0.38rem;
    height: 0.54rem;
    background: url(/images/top/phb2.png) no-repeat;
    background-size: 100% 100%;
    top: -0.36rem;
}

.ranks-toggle-li .ranks-num2 {
    top: -0.28rem;
}

.ranks-toggle-li .ranks-num3,
.game-info .game-pic .ranks-num3 {
    width: 0.34rem;
    height: 0.48rem;
    background: url(/images/top/phb3.png) no-repeat;
    background-size: 100% 100%;
    top: -0.32rem;
}

.ranks-toggle-li .ranks-num3 {
    top: -0.28rem;
}

.game-info .game-pic img {
    width: 1.58rem;
    height: 2.1rem;
}

.game-info .game-content {
    height: 2.1rem;
    width: 3.2rem;
}

.game-info .game-content .game-c-name {
    height: 0.32rem;
    line-height: 0.32rem;
    letter-spacing: 0.02rem;
    font-weight: bold;
    color: #ffffff;
    width: 100%;
    font-size: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.game-info .game-c-name span {
    display: block;
    max-width: 3rem;
    height: 0.32rem;
    line-height: 0.32rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.24rem;
}

.game-info .game-c-name i {
    display: block;
    margin-left: 0.05rem;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.game-info .game-c-name .rank-up {
    width: 0.2rem;
    height: 0.22rem;
    background-image: url(/images/top/phb34.png);
}

.game-info .game-c-name .rank-down {
    width: 0.2rem;
    height: 0.22rem;
    background-image: url(/images/top/phb36.png);
}

.game-info .game-c-name .rank-new {
    width: 0.32rem;
    height: 0.18rem;
    background-image: url(/images/top/phb35.png);
}

.game-info .game-c-name .rank-no-change {
    width: 0.3rem;
    height: 0.08rem;
    background-image: url(/images/top/phb33.png);
}

.game-info .game-e-name {
    height: 0.32rem;
    width: 100%;
    line-height: 0.32rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.2rem;
    letter-spacing: 0.01rem;
    padding: 0.06rem 0 0.08rem;
    color: #cccccc;
    border-bottom: 0.01rem solid rgba(255, 255, 255, 0.2);
}

.game-info .game-content > span {
    display: block;
    font-size: 0.2rem;
    height: 0.3rem;
    line-height: 0.3rem;
    letter-spacing: 0.01rem;
    color: #ffffff;
    margin-top: 0.1rem;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.game-btn-container {
    width: 100%;
    padding-top: 0.23rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 0.23rem;
    border-top: 0.01rem solid rgba(255, 255, 255, 0.2);
}

.game-btn-container a {
    display: block;
    width: 1.18rem;
    height: 0.48rem;
    border-radius: 0.03rem;
    border: solid 1px #ffffff;
    line-height: 0.48rem;
    color: white;
    text-align: center;
    margin-left: 0.16rem;
    font-size: 0.2rem;
    cursor: pointer;
}

.game-btn-container a:first-child {
    margin-left: 0;
}

.game-btn-container a.no-click {
    background: #999;
    border-color: #999;
    color: white;
}

/*切换*/
.ranks-toggle-container {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    position: absolute;
    left: 0.16rem;
    bottom: 0.8rem;
    z-index: 100;
}

.ranks-toggle-ul {
    white-space: nowrap;
    font-size: 0;
    overflow: auto;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}

.ranks-toggle-container .ranks-toggle-li {
    display: inline-block;
    width: 1.58rem;
    position: relative;
    cursor: pointer;
    margin-right: 0.17rem;
}

.ranks-toggle-container .ranks-toggle-li img {
    width: 1.58rem;
    height: 2.1rem;
}

.ranks-toggle-container .ranks-toggle-li p {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0.42rem;
    width: 100%;
    height: 2.1rem;
    background: rgba(0, 0, 0, 0.5);
}

.ranks-toggle-container .ranks-toggle-li span {
    display: block;
    width: 100%;
    height: 0.4rem;
    line-height: 0.4rem;
    color: white;
    left: 0;
    bottom: 0;
    text-align: left;
    text-overflow: ellipsis;
    overflow-x: hidden;
    white-space: nowrap;
    font-size: 0.2rem;
}

.ranks-toggle-container .ranks-toggle-li.checked p {
    background: rgba(0, 0, 0, 0);
}

.swiper-container {
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}

.swiper-slide {
    text-align: center;
    background: #fff;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    background-size: cover;
    background-position: 65% center;
}

#next-page {
    display: block;
    width: 0.4rem;
    height: 0.4rem;
    background: url(/images/top/goback.png) no-repeat;
    background-size: 100% 100%;
    cursor: pointer;
    position: fixed;
    bottom: 0.1rem;
    left: 0;
    right: 0;
    margin: auto;
    transform: rotate(270deg);
    z-index: 8;
    opacity: 0.6;
}

/*手游相关*/
.mobile-type .game_info img {
    width: 1.58rem;
    height: 1.58rem;
    margin-top: 0.52rem;
    border-radius: 0.16rem;
}

.mobile-type .game_info .ranks-num {
    top: -0.02rem;
}

/*.mobile-type .shadow {*/
/*height: 1.58rem;*/
/*top: 0.52rem;*/
/*padding-top: 0.08rem;*/
/*border-radius: 0.16rem;*/
/*}*/

/*.mobile-type .game_left, .mobile-type .game_right {*/
/*top: 1.32rem;*/
/*}*/

.mobile-type .game-info .game-pic img {
    width: 1.58rem;
    height: 1.58rem;
    border-radius: 0.32rem;
    margin-top: 0.5rem;

}

.mobile-type .game-info .game-pic div {
    top: 0.2rem;
}

.mobile-type .game-info .game-pic .ranks-num1 {
    top: 0.1rem;
}

.mobile-type .game-info .game-pic .ranks-num2 {
    top: 0.1rem;
}

.mobile-type .game-info .game-pic .ranks-num3 {
    top: 0.1rem;
}

.mobile-type .game-btn-container {
    bottom: 0.38rem;
}

.mobile-type .ranks-toggle-container .ranks-toggle-li {
    height: 1.58rem;
}

.mobile-type .ranks-toggle-container .ranks-toggle-li p,
.mobile-type .ranks-toggle-container .ranks-toggle-li img {
    border-radius: 0.32rem;
    width: 1.58rem;
    height: 1.58rem;
}

.mobile-type .game-info .game-pic {
    margin-top: -0.2rem;
}

/*弹窗*/
#shadow-container {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9;
    box-sizing: border-box;
    padding-top: 1.1rem;
    display: none;
}

#shadow-container .type-title {
    height: 0.64rem;
    line-height: 0.64rem;
    padding-left: 0.3rem;
    border-top: 1px solid #000000;
    border-bottom: 1px solid #000000;
    box-sizing: border-box;
    font-size: 0.2rem;
    letter-spacing: 1px;
    color: #888888;
    text-align: left;
}

#shadow-container .type-title:first-child {
    border-top: 2px solid #000000;
}

#shadow-container .index-choose {
    height: 0.6rem;
    line-height: 0.6rem;
    padding-left: 0.5rem;
    box-sizing: border-box;
    letter-spacing: 1px;
    color: #cccccc;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 0.3rem;
}

#shadow-container .index-choose:before {
    content: "";
    width: 0.14rem;
    height: 0.25rem;
    background: url(/images/top/xin4.png) no-repeat;
    background-size: 100% 100%;
    display: none;
    margin-right: 0.16rem;
}

#shadow-container .index-choose.checked {
    color: white;
}

#shadow-container .index-choose.checked:before {
    display: block;
}

.close-window {
    left: 0;
    width: 100%;
    height: 1rem;
    background: url(/images/top/xin1.png) no-repeat center center;
    background-size: 0.4rem 0.4rem;
}

#last-container {
    position: absolute;
    top: 0;
    left: 0;
    margin: auto;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
}

#last-container .last-p1 {
    font-size: 0.48rem;
    letter-spacing: 0.04rem;
    color: #ffffff;
    margin-top: 2rem;
    margin-bottom: 0.6rem;
}

#last-container .last-p2 {
    font-size: 0.24rem;
    letter-spacing: 0.02rem;
    color: #ffffff;
    text-align: center;
    width: 85%;
    margin-bottom: 0.6rem;
}

#go-game {
    width: 3.6rem;
    height: 0.8rem;
    background-color: #56bfeb;
    border-radius: 0.05rem;
    text-align: center;
    font-size: 0.24rem;
    letter-spacing: 0.02rem;
    color: #ffffff;
    line-height: 0.8rem;
    margin-bottom: 0.3rem;
}

#go-index {
    width: 3.6rem;
    height: 0.8rem;
    border-radius: 0.05rem;
    border: solid 1px #ffffff;
    font-size: 0.24rem;
    letter-spacing: 0.02rem;
    text-align: center;
    color: #ffffff;
    line-height: 0.8rem;
    box-sizing: border-box;
    margin-bottom: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo img:nth-child(1) {
    width: 1.54rem;
    height: 0.88rem;
}

.footer-logo img:nth-child(2) {
    width: 0.18rem;
    height: 0.18rem;
    margin: 0 0.2rem;
}

.footer-logo img:nth-child(3) {
    width: 0.82rem;
    height: 0.84rem;
}

#play-music {
    position: absolute;
    top: 0;
    right: 0.6rem;
    z-index: 101;
    cursor: pointer;
}

#play-music img {
    width: 0.5rem;
    height: 0.5rem;
}
