/* 主容器样式 */
.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  /* min-width: 750px !important; */
}

.content-box {
  width: 100%;
  position: relative;
  /* box-shadow: #dbdbdb 0px 0px 10px; */
}

/* PC端(>1330px): 内容居中固定宽度 */
@media screen and (min-width: 1331px) {
}

/* 小于1300 */
@media screen and (max-width: 1300px) {
  .video-nav {
    margin-right: 15px;
  }

  .post-item::after{
    display: none;
  }
}

/* (1080px-1300px)*/
@media screen and (max-width: 1300px) and (min-width: 1080px) {
  .container {
    width: 100%;
  }

  .hero-box .hero {
    right: -100px;
  }

  .content-box.content-box2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-box.content-box3 .game-wanfa-box {
    width: calc(66% - 0px);
  }

  .content-box.content-box3 .game-box,
  .content-box.content-box3 .wanfa-box {
    width: calc(50% - 7px);
  }

  .content-box.content-box3 .feiyi-box {
    width: calc(33% - 7px);
  }
}

/* 小于1080 */
@media screen and (max-width: 1080px) {
  .content-section .video-list.on {
    grid-template-columns: repeat(3, 1fr);
  }
  .video-list.on .video-wrapper:nth-child(7),
  .video-list.on .video-wrapper:nth-child(8) {
    display: none;
  }
}

/* 750px - 1080 */
@media screen and (max-width: 1080px) and (min-width: 750px) {
  .content-box1 .banner-swiper-box {
    width: calc(60% - 15px);
  }

  .content-box1 .news-box {
    width: calc(40% - 15px);
  }

  .content-section .post-item {
    width: calc(25% - 5px);
  }
  /* .content-section .post-item:hover {
    width: 66%;
  } */

  .content-section .post-user-meta {
    width: calc(100% - 57px);
    white-space: nowrap;
  }
}

@media screen and (max-width: 1080px) and (min-width: 820px) {
  .content-box.content-box3 .game-wanfa-box {
    width: calc(66% - 0px);
  }

  .content-box.content-box3 .game-box,
  .content-box.content-box3 .wanfa-box {
    width: calc(50% - 7px);
    height: 480px;
  }

  .content-box.content-box3 .feiyi-box {
    width: calc(33% - 5px);
  }
}

@media screen and (max-width: 1080px) {
  .content-box.content-box2 {
    display: block;
    height: 975px;
  }

  .content-box.content-box2 > div {
    width: 100%;
  }

  .content-box.content-box2 .tongren-box {
    margin-top: 15px;
    min-width: auto;
  }

  .wanfa1 {
    background: url(/assets/img/h5/wanfa1.jpg) 0.4rem center no-repeat;
    background-size: cover;
  }

  .wanfa2 {
    background: url(/assets/img/h5/wanfa2.jpg) 0.4rem center no-repeat;
    background-size: cover;
  }

  .wanfa3 {
    background: url(/assets/img/h5/wanfa3.jpg) 0.4rem center no-repeat;
    background-size: cover;
  }

  .wanfa4 {
    background: url(/assets/img/h5/wanfa4.jpg) 0.4rem center no-repeat;
    background-size: cover;
  }
}

@media screen and (max-width: 1080px) and (min-width: 970px) {
  .hero-box .hero {
    right: -200px;
  }

  .hero-box .character-left-panel {
    margin-left: 40px;
  }
}

@media screen and (max-width: 970px) and (min-width: 820px) {
  .hero-box .hero {
    right: -250px;
  }

  .hero-box .character-left-panel {
    margin-left: 20px;
  }

  .hero-box .character-right-panel {
    right: 10px;
    top: 150px;
  }

  .hero-box .character-tab-content {
    margin-left: -30px;
    scale: 0.8;
    transform-origin: 0 0;
  }

  .post-meta-info > div{
    margin-left: 5px;
  }
}

@media screen and (max-width: 820px) {
  .content-box {
    width: calc(100% - 76px);
    margin-left: 38px;
  }
  .content-box1 .banner-swiper-box {
    width: 100%;
  }

  .content-box1 .news-box {
    width: 100%;
    margin-top: 15px;
  }
  .content-box.content-box1 {
    display: block;
  }

  .hero-box .hero {
    width: 100%;
    background-position: center 170px;
    background-size: 100%;
  }

  .hero-box .hero .hero-img {
    height: auto;
    width: 100%;
    margin-top: calc(630px - 400px);
    margin-left: 50px;
  }

  .hero-box .character-left-panel {
    margin-left: 20px;
  }

  .hero-box .character-tab-content,
  .hero-box .character-tabs {
    display: none;
  }

  .hero-box .character-name h1 {
    font-size: 60px;
  }

  .hero-box .character-rating {
    display: none;
  }

  .hero-box .character-right-panel {
    right: 10px;
    top: 160px;
  }

  .content-box.hot-box {
    min-height: 750px;
    height: auto;
  }

  .hot-content .hot-list.on {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .content-box.hot-box .hot-content {
    height: 670px;
  }

  .hot-list.on .post-item {
    width: calc(100% - 10px);
  }

  .hot-list.on .post-item .post-image-container {
    width: calc(100% - 15px);
  }

  .hot-list.on .post-item:hover .post-image-container {
    width: calc(50% - 15px);
  }

  .content-box.content-box3 {
    display: block;
    height: 973px;
    position: relative;
  }
  .content-box.content-box3 .game-wanfa-box {
    width: 100%;
    vertical-align: top;
    margin-top: 0px;
    position: absolute;
    left: 0px;
    top: 0px;
  }

  .content-box.content-box3 .game-box,
  .content-box.content-box3 .wanfa-box {
    width: calc(50% - 7px);
    height: 480px;
  }

  .content-box.content-box3 .feiyi-box {
    width: 100%;
    height: 480px;
    position: absolute;
    left: 0px;
    bottom: 0px;
    background: url(/assets/img/h5/feiyi.jpg) left top no-repeat;
    background-size: cover;
  }

  .container .bottom-share {
    padding-bottom: 50px;
  }
}

/* 移动适配 */
@media screen and (max-width: 750px) {
  .content-section{
    min-height: auto;
  }
  .content-box {
    width: calc(100% - 0.76rem);
    margin-left: 0.38rem;
  }
  .line-title {
    /* font-size: 0.42rem; */
    height: 0.6rem;
  }
  .more {
    line-height: 0.38rem;
    height: 0.38rem;
    font-size: 0.22rem;
    padding: 0px;
    width: 0.8rem;
    padding-left: 0.06rem;
  }

  .more span {
    line-height: 0.38rem !important;
    height: 0.38rem !important;
    font-size: 0.22rem !important;
    transform-origin: center center !important;
    margin-top: 0px !important;
  }

  .more span:nth-child(2){
    margin-left: -0.04rem;
  }

  .line-title .title {
    font-size: 0.37rem;
    line-height: 0.42rem;
    font-weight: bold;
    font-family: "SOURCEHANSANSCN-MEDIUM"
  }
  .line-title::after {
    height: 0.02rem;
    width: 1.50rem;
  }

  .rank-box .line-title::after{
    width: 1.1rem;
  }

  .video-btn {
    display: none !important;
  }
  .huojiang {
    display: none;
  }

  .slogan {
    width: 4.93rem;
    height: 0.25rem;
    background: url(/assets/img/h5/slogan.png) center center no-repeat;
    background-size: contain;
    bottom: 5.9rem;
    z-index: 2;
  }

  .down{
    display: block;
    animation: footerDown 1.5s infinite ease-in-out;
    z-index: 2;
    position: absolute;
    bottom: 2.6rem;
  }
  @keyframes footerDown {
    0% {
        margin-bottom: 0rem ;
    }

    50% {
      margin-bottom: -0.6rem ;
    }

    100% {
      margin-bottom: 0rem ;
    }
}

  /* banner */
  .play-btn:hover,
  .play-btn {
    background: url(/assets/img/h5/play.png) center center no-repeat;
    background-size: contain;
    width: 4.8rem;
    height: 1.7rem;
    margin-left: -2.4rem;
    bottom: 3.8rem;
    z-index: 9;
  }

  .content-box.content-box1 {
    margin-top: 0.6rem;
  }

  .banner-swiper-box {
    height: 3.3rem;
  }

  .bannerSwiper .swiper-slide {
    height: 100%;
  }

  .banner-go {
    width: 1.5rem;
    height: 0.42rem;
    left: 0.0rem;
    bottom: 0.6rem;
  }

  .bannerSwiper .swiper-slide-active .banner-go{
    left: 0.5rem;
  }

  .banner-go span {
    font-size: 0.24rem !important;
    line-height: 0.42rem !important;
  }

  /* 新闻 */

  .content-box1 .news-box {
    margin-top: 0rem;
    padding: 0.3rem;
    height: 4.2rem;
  }

  .news-list {
    margin-top: 0.3rem;
  }

  .news-list li {
    margin-bottom: 0.2rem;
    font-size: 0.22rem;
  }

  .news-type{
    font-size: 0.2rem;
    width: 0.52rem;
    height: 0.26rem;
    line-height: 0.26rem;
    margin-right: 0.2rem;
    margin-top: 0.02rem;
    border-radius: 0.04rem;
  }

  .news-content {
    line-height: 0.24rem;
    width: calc(100% - 2.3rem);
    line-height: 0.3rem;
  }

  .news-date{
    line-height: 0.3rem;
  }

  .video-title {
    margin-left: 0px;
    font-size: 0.42rem;
  }

  .bannerSwiper {
    height: 100%;
  }

  .banner-swiper-box .swiper-pagination span{
    width: 0.16rem;
    height: 0.16rem;
  }

  .video-nav {
    /* display: block; */
    position: relative;
    width: 100%;
    margin-right: 0px;
    height: 0.3rem;
    margin-top: 0.3rem;
    right: 0;
  }
  .video-nav li {
    width: 22%;
    font-size: 0.26rem;
    /* overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis; */
    line-height: 0.26rem;
  }
  .video-nav li span {
    /* display: none; */
    margin: 0 0.05rem;
  }

  .video-part {
    margin-top: 0.6rem;
  }
  .content-section .video-list.on {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.2rem;
  }
  .video-list > div:nth-child(5),
  .video-list > div:nth-child(6) {
    display: none;
  }
  .video-container {
    height: 1.8rem;
  }

  .video-item-title {
    font-size: 0.24rem;
    line-height: 0.3rem;
    height: 0.6rem;
  }

  .play-count::before{
    margin-top: 0.02rem;
  }

  .hero-box .more {
    right: 0.3rem;
    top: 0.6rem;
  }

  .hero-box .character-name h1 {
    font-size: 0.9rem;
    line-height: 0.9rem;
  }
  .character-left-panel {
    margin-top: 0.5rem;
    width: 100%;
  }

  .faction-icon {
    top: 0.2rem;
    right: -0.5rem;
    width: 0.44rem;
  }
  .character-intro img {
    display: none;
  }
  .character-intro p {
    width: calc(100% - 40px);
    font-size: 0.24rem;
    line-height: 0.36rem;
    height: 0.72rem;
    -webkit-line-clamp: 2;
  }

  /* 武将 */
  .hero-box {
    height: 9.2rem;
    margin-top: 0.6rem;
  }

  .hero-container::after{
    height: 3.0rem;
  }

  .hero-box .character-right-panel {
    width: 100%;
    bottom: 0px;
    top: auto;
    height: 5.8rem;
  }
  .avatar-swiper .swiper-slide img {
    width: 0.9rem;
    border: 0.02rem solid white;
  }

  .avatar-swiper .swiper-slide > div {
    width: 1.2rem;
    height: 1.2rem;
  }

  .avatar-swiper .avatar-slide.swiper-slide:hover img,
  .avatar-swiper .avatar-slide.swiper-slide-active img {
    width: 1.2rem;
    border: 0.04rem solid #baa67f;
  }

  .category-buttons div img {
    width: 0.8rem;
  }
  .hero-box .hero {
    background: url(/assets/img/hero-bg.png) center 3rem no-repeat;
    background-size: contain;
  }
  .hero-box .hero .hero-img {
    margin-top: auto;
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 125%;
    margin-left: -0.20rem;
  }
  .character-select {
    width: 6.5rem;
    bottom: 0.6rem;
  }
  .avatar-swiper {
    width: 5rem;
    margin-left: 0.8rem;
  }

  .avatar-swiper .avatar-slide p {
    font-size: 0.24rem;
  }

  .character-tag {
    font-size: 0.2rem;
    line-height: 0.3rem;
    width: 0.98rem;
    height: 0.3rem;
    vertical-align: top;
    margin: 0px;
    margin-right: 8px;
  }

  .character-tags {
    margin-bottom: 0.4rem;
    height: 0.3rem;
  }

  /* 排行榜 */

  .rank-box {
    padding: 0.4rem;
    min-width: auto;
    height: 5.8rem;
  }

  .content-box2-nav {
    top: 0.04rem;
  }

  .content-box2-nav li {
    line-height: 0.34rem;
    font-size: 0.24rem;
  }

  .content-box2-nav span:nth-child(1){
    padding: 0 0.1rem;
  }

  .content-box2-nav li.on::before {
    border-top: 0.29rem solid transparent !important;
    border-bottom: 0px solid transparent !important;
    border-right: 0.18rem solid #b39273 !important;
    left: -0.176rem !important;
    top: 0.02rem !important;
  }

  .content-box2-nav li.on::after {
    border-bottom: 0.29rem solid transparent !important;
    border-top: 0px solid transparent !important;
    border-left: 0.19rem solid #b39273 !important;
    right: -0.110rem !important;
    top: 0.02rem !important;
  }

  .rank-table {
    margin-top: 0.1rem;
  }

  .rank-table {
    font-size: 0.2rem;
    line-height: 0.3rem;
  }

  .rank-item {
    font-size: 0.24rem;
    line-height: 0.65rem;
  }

  .text-more {
    font-size: 0.2rem;
    color: #b39273;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0.12rem;
  }

  /* 同人 */
  .tongren-box {
    padding: 0.4rem;
    height: 5rem;
  }

  .tongren-list {
    margin-top: 0.3rem;
  }

  .art-item,
  .tongren-item {
    width: 2.88rem;
    height: 1.35rem;
  }

  .tongren-grid {
    overflow: auto;
    gap: 0.2rem 0.2rem;
    padding-bottom: 0.24rem;
  }

  .art-container,
  .tongren-container {
    height: 1.35rem;
  }

  .art-overlay,
  .post-image-overlay,
  .video-overlay,
  .tongren-overlay{
    background-color: rgba(0,0,0,0);
  }

  .art-title,
  .tongren-title {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 0.3rem;
    line-height: 0.3rem;
    font-size: 0.2rem;
    text-align: center;
    background-color: rgba(0, 0, 0, 1);
    color: white;
    opacity: 0.5;
    width: 100%;
    padding: 0 0.1rem;
  }

  .content-box.content-box2 {
    height: 11.1rem;
  }

  /* 热帖 */
  .content-box.hot-box {
    padding: 0.4rem;
    min-height: auto;
  }

  .content-box.hot-box {
    height: 9.25rem;
  }

  .hot-box .line-title::before {
    left: 1.6rem;
  }

  .art-nav,
  .hot-nav {
    width: 100%;
    left: 0;
    top: 0.9rem;
    height: 0.3rem;
  }

  .content-box.hot-box .hot-content {
    height: 6.9rem;
  }

  .art-nav li,
  .hot-nav li {
    font-size: 0.26rem;
    line-height: 0.3rem;
    text-align: left;
    text-align: center;
    position: relative;
    padding-top: 0.02rem;
  }

  .art-nav li:nth-child(1),
  .hot-nav li:nth-child(1){
    text-align: left;
    width: 56px;
  }

  .art-nav li::after,
  .hot-nav li::after{
    display: inline-block;
    content: '/';
    color: #9e9e9e;
    position: absolute;
    right: -4px;
    font-size: 0.3rem;
  }

  .art-nav li:last-child:after,
  .hot-nav li:last-child:after{
    display: none;
  }

  .art-nav li.on,
  .hot-nav li.on {
    font-size: 0.32rem;
    padding-top: 0px;
  }

  .content-box.art-box .art-list,
  .content-box.hot-box .hot-content {
    margin-top: 1rem;
  }

  .post-avatar {
    width: 0.56rem;
    max-height: 0.56rem;
  }

  .post-user-meta {
    font-size: 0.22rem;
    width: calc(100% - 0.7rem);
  }

  .post-level {
    width: 1.02rem;
    height: 0.26rem;
    vertical-align: top;
    margin-top: 3px;
    margin-right: 0px;
  }

  .post-user-meta > div:last-child {
    line-height: 0.35rem !important;
    white-space: nowrap;
  }

  .post-topic {
    font-size: 0.24rem;
    line-height: 0.3rem;
    height: 0.6rem;
    margin-bottom: 0.14rem;
    margin-top: 0.1rem;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: wrap;
    padding-bottom: 0.1rem;
  }

  .post-image-wrapper {
    /* width: 2.83rem; */
    height: 1.32rem;
  }

  .hot-list:nth-child(2) .post-description p{
    overflow: hidden;
    height: 1.17rem;
  }

  .hot-list:nth-child(2) .post-meta-info{
    margin-top: 0.35rem;
  }

  .post-image{
    border-radius: 0.1rem;
  }

  .post-play-button{
    display: none;
  }

  .post-meta-info {
    margin-top: 0.2rem;
    font-size: 0.16rem;
    margin-right: 0.15rem;
  }

  .post-meta-info img {
    height: 0.16rem;
  }

  .post-meta-info > div {
    margin-right: 0.1rem;
  }

  .post-description {
    font-size: 0.24rem;
    line-height: 0.3rem;
    height: 1.45rem;
  }
  .hot-list.on .post-item .post-image-container{
    width: 100%;
  }

  .hot-content .hot-list {
    gap: 0.1rem 0;
  }

  /* 赛事广场 */

  .content-box.content-box3{
    height: 8.3rem;
  }

  .game-wanfa-box{
    height: 4.8rem;
  }

  .content-box.content-box3 .game-box,
  .content-box.content-box3 .wanfa-box {
    height: 4.8rem;
  }

  .saishi-icon {
    width: 2.5rem;
    margin-right: -0.3rem;
  }

  .game-wanfa-box .game-go{
    width: 0.46rem;
    height: 0.1rem;
    background-size: contain;
  }
  .wanfaSwiper .swiper-slide::after{
    min-width: 2.7rem;
  }
  .wanfa-content p:nth-child(1),
  .game-title p:nth-child(1) {
    font-size: 0.41rem;
    line-height: 0.6rem;
    font-weight: bold;
  }

  .wanfa-content,
  .game-title {
    margin-left: 0.4rem;
    margin-top: 0.4rem;
  }
  .wanfa-content p:nth-child(2),
  .game-title p:nth-child(2) {
    font-size: 0.24rem;
    height: 3.2rem;
    line-height: 0.3rem;
  }

  .wanfa-head li{
    width: 0.6rem;
    height: 0.6rem;
  }

  .wanfa-head li img{
    width: 100%;
  }

  .wanfa-head{
    right: 0.3rem;
    top: auto;
    bottom: 0.4rem;
  }

  
  .content-box.content-box3 .feiyi-box {
    height: 3.30rem;
  }

  .feiyi-box p{
    font-size: 0.24rem;
    height: 0.4rem;
    line-height: 0.4rem;
    min-width: auto;
    width: 1.0rem;
    left: 0.4rem;
    bottom: 0.6rem;
  }

  .feiyi-box:hover p{
    min-width: 0.9rem;
  }
  .feiyi-box p span{
    margin-left: 0.05rem;
    padding-left: 0.02rem;
    margin-top: 0.14rem;
  }

  .feiyi-box:hover span{
    margin-left: 0.1rem;
  }

  .game-box:hover .game-go, .wanfa-box:hover .game-go {
     left: 26px;
  }

  /* 原画 */
  /* .content-box .art-box{
    padding: 0.4rem 0rem;
  } */

  .art-box .line-title{
    margin-left: 0.4rem;
    width: calc(100% - 0.8rem);
  }

  .art-nav li:nth-child(1),
  .art-nav li.on{
    width: 1.9rem;
  }

  .art-nav li{
    width: 1.6rem;
  }

  .art-grid{
    overflow: auto;
    padding-bottom: 0.3rem;
  }
  
  .art-box{
    height: 5.7rem;
  }

  .bottom-share li,
  .bottom-share li a {
    zoom: 0.7;
    margin: 0;
  }

  .bottom-share li:nth-child(2){
    background: url(/assets/img/bottom-share-icon.png) -74px 0 no-repeat;
    background-size: 456px  32px;
    overflow: hidden;
  }

  .bottom-share li:nth-child(2):hover{
    overflow: visible;
  }
  .container .bottom-share{
    margin-top: 0.8rem;
    padding-bottom: 0.8rem;
  }

}

@media screen and (max-width: 750px) and (min-width: 600px) {
  .hero-box .hero .hero-img {
    width: 105%;
    margin-left: 0.5rem;
  }
}
