.wrap {
  overflow-x: hidden;
}

.swiper {
  width: 100%;
  height: 100%;
}

body {
  background: #000;
  color: #000;
}

.wallpaper-part,
.video-part {
  width: 100%;
  height: 100vh;
  display: none;
}

.wallpaper-part.on,
.video-part.on {
  display: block;
}

.swiper {
  width: 100%;
  height: 300px;
  margin-left: auto;
  margin-right: auto;
}

.video-control-swiper {
  width: 1038px;
  height: 196px;
  position: absolute;
  right: -30px;
  bottom: 80px;
}

.video-control-swiper .swiper-slide {
  width: 346px !important;
  height: 196px;
  transition: all 0.3s ease;
}

.video-control-swiper .swiper-slide > div {
  /* background-color: white; */
  width: 216px;
  height: 122px;
  position: absolute;
  top: 38px;
  border-radius: 6px;
  overflow: hidden;
}

.video-control-swiper .swiper-slide > div::after {
  width: 100%;
  height: 100%;
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.video-control-swiper .swiper-slide-active {
  width: 346px !important;
  height: 196px;
  opacity: 1;
}

.video-control-swiper .swiper-slide-next > div {
  left: 32px;
}

.video-control-swiper .swiper-slide-prev > div {
  right: 32px;
}

.video-control-swiper .swiper-slide-active > div {
  width: 100%;
  height: 100%;
  left: 0px;
  top: 0px;
}

.video-control-swiper .swiper-slide-active > div::after {
  display: none;
}

.video-control-swiper .swiper-slide-active:hover > div::after{
  display: block;
}

.video-control-swiper .video-control-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-control-swiper p {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 28px;
  color: #dedede;
  font-size: 16px;
  line-height: 27px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 0 15px;
}

.video-play-btn:hover{
  background: url(/assets/img/251517/pc/media/play-btn-hl.png);
  display: inline-block;
}

.video-play-btn {
  cursor: pointer;
  width: 77px;
  height: 76px;
  background: url(/assets/img/251517/pc/media/play-btn.png);
  display: inline-block;
  margin-right: 15px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -38px;
  margin-top: -38px;
  z-index: 1;
  display: none;
  transition: 0.3s;
  opacity: 0;
}

.video-control-swiper .swiper-slide-active .video-play-btn {
  display: block;
}

.video-control-swiper .swiper-slide-active:hover .video-play-btn {
  opacity: 1;
}

.video-control-next,
.video-control-prev {
  width: 50px;
  height: 50px;
  background: url(/assets/img/251517/pc/media/right.png) center center no-repeat;
  background-size: contain;
  cursor: pointer;
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  margin-left: 175px;
  display: inline-block;
}

/* .video-control-next::after,
.video-control-prev::after{
  display: none;
} */

.video-control-prev {
  margin-left: -175px;
  background: url(/assets/img/251517/pc/media/left.png) center center no-repeat;
  background-size: contain;
}

.wallpaper-next:hover,
.video-control-next:hover {
  background: url(/assets/img/251517/pc/media/right-hl.png) center center
    no-repeat;
  background-size: contain;
}

.wallpaper-last:hover,
.video-control-prev:hover {
  background: url(/assets/img/251517/pc/media/left-hl.png) center center
    no-repeat;
  background-size: contain;
}

.video-view-swiper {
  height: 100%;
  width: 100%;
}

.video-view-swiper .swiper-slide {
  background-color: black;
}

.video-view-swiper .swiper-slide:after {
  width: 100%;
  height: 100%;
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
}

.video-view-swiper .swiper-slide.night:after {
  /* background: url(/assets/img/251517/pc/media/media-cover-night.png) center
    center no-repeat; */
  background-size: 100% 100%;
}

.video-view-swiper .swiper-slide.light:after {
  /* background: url(/assets/img/251517/pc/media/media-cover-light.png) center
    center no-repeat; */
  background-size: 100% 100%;
}

.video-control-next::before,
.video-control-prev::before,
.video-control-next::after,
.video-control-prev::after {
  display: none;
}

.wallpaper-pre,
.video-pre {
  width: 0;
  height: 0;
  transition: 0.6s;
  position: absolute;
  right: 509px;
  bottom: 307px;
  transition-delay: 0.6s;
}

.swiper-slide-active .wallpaper-pre,
.swiper-slide-active .video-pre {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  right: auto;
  bottom: auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition-delay: 0s;
}

.wallpaper-more,
.video-more {
  color: #a8896c;
  font-size: 16px;
  line-height: 20px;
  cursor: pointer;
  position: absolute;
  right: 66px;
  bottom: 248px;
  z-index: 3;
  line-height: 21px;
}

.wallpaper-more span,
.video-more span {
  width: 21px;
  height: 21px;
  display: inline-block;
  background: url(/assets/img/251517/pc/media/more-video.png) center center
    no-repeat;
  background-size: contain;
  cursor: pointer;
  vertical-align: top;
  /* 添加过渡效果 */
  transition: transform 0.3s ease;
}

.wallpaper-nav-box,
.video-nav-box {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 150px;
  z-index: 2;
  width: 1280px;
  border-bottom: 1px solid rgba(141, 115, 91, 0.3);
}

.wallpaper-nav,
.video-nav {
  line-height: 40px;
  font-size: 20px;
  /* padding: 0 5px; */
  display: inline-block;
  margin-bottom: -1px;
}

.video-nav li {
  display: inline-block;
  margin-right: 30px;
  color: #9a9a9a;
  cursor: pointer;
}

.video-nav li:hover,
.video-nav li.on {
  border-bottom: 2px solid #b39273;
  color: #b39273;
}

.wallpaper-alert,
.video-alert {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 99;
  display: none;
}

.alert-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  left: 0;
  top: 0;
  display: none;
}

.video-alert .video-close {
  position: absolute;
  right: 20px;
  top: 20px;
  cursor: pointer;
  zoom: 0.7;
}

.wallpaper-list-box,
.video-list-box {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 20;
  display: none;
}

.wallpaper-list-back,
.video-list-back {
  position: absolute;
  left: 50%;
  margin-left: 530px;
  top: 150px;
  text-align: center;
  width: 110px;
  height: 34px;
  color: #7a6850;
  border-radius: 5px;
  border: 1px solid #7a6850;
  cursor: pointer;
  overflow: hidden;
  z-index: 3;
}

.wallpaper-list-back::before,
.video-list-back::before {
  width: 100%;
  height: 100%;
  position: absolute;
  left: -100%;
  top: 0;
  transition: 0.25s;
  content: "";
  background: url(/assets/img/251517/pc/media/media-btn-back.png) center center
    no-repeat;
  background-size: 45px 10px;
}

.wallpaper-list-back::after,
.video-list-back::after {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0%;
  top: 0;
  transition: 0.25s;
  content: "返回";
  color: #7a6850;
  font-size: 20px;
  line-height: 30px;
}

.wallpaper-list-back:hover::before,
.video-list-back:hover::before {
  left: 0px;
}

.wallpaper-list-back:hover::after,
.video-list-back:hover::after {
  left: 100%;
}

.wallpaper-list-wrap,
.video-list-wrap {
  overflow-y: auto;
  overflow-x: hidden;
  height: calc(100vh - 207px);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -0px;
  padding: 30px 5px;
}

.video-list {
  width: 1280px;
  /* background-color: white; */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  overflow: visible;
  /* padding: 0 24px; */
  /* padding-bottom: 50px; */
}

/* 修改滚动条整体宽度为3px */
.wallpaper-list-wrap::-webkit-scrollbar,
.video-list-wrap::-webkit-scrollbar {
  width: 3px;
  height: 3px; /* 如果需要调整垂直滚动条的宽度，可以这样设置 */
}

/* 修改滚动条轨道颜色 */
.wallpaper-list-wrap::-webkit-scrollbar-track,
.video-list-wrap::-webkit-scrollbar-track {
  background: #383531;
}

/* 修改滑块颜色 */
.wallpaper-list-wrap::-webkit-scrollbar-thumb,
.video-list-wrap::-webkit-scrollbar-thumb {
  background: #8b857c;
  border-radius: 1px; /* 可选，使滑块更圆润 */
}

.wallpaper-item,
.video-list li {
  width: 410px;
  height: 288px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.1s;
  overflow: hidden;
  position: relative;
  border: 1px solid #545454;
  background-color: #282828;
  /* margin-bottom: 25px; */
}

.wallpaper-item{
  margin-bottom: 25px;
}

.wallpaper-item-inner,
.video-post-box{
  width: 410px;
  height: 220px;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
}

.wallpaper-post,
.video-post {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50% , -50%);
  object-fit: cover;
  transition: 0.3s;
  transform-origin: center center;
}

.wallpaper-list .wallpaper-list-cover .wallpaper-item-inner::after,
.video-list li.video-list-cover::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  top: 0;
  left: 0;
  z-index: 1;
}

.wallpaper-item:hover,
.video-list li:hover {
  border: 1px solid #b39273;
  z-index: 5;
}

.video-list li:hover::after {
  display: none;
}

.video-list-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  /* opacity: 0; */
  opacity: 1;
  transition: 0.3s;
  width: 50px;
  margin-top: -24px;
}

.wallpaper-item-title,
.video-list-date,
.video-list-title {
  padding: 0 14px;
  line-height: 34px;
  width: 100%;
  color: #9f9f9f;
  font-size: 16px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  vertical-align: top;
  /* margin-top: 3px; */
}

.wallpaper-list.jieqi .wallpaper-item-title{
  line-height: 68px;
}

.video-list-date{
  line-height: 20px;
  color: #686868;
}

.wallpaper-item-tab{
  padding: 0 14px;
  line-height: 20px;
  width: 100%;
  color: #cccac7;
  font-size: 14px;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: top;
  /* margin-top: 3px; */
}

.wallpaper-item-tab span{
  padding: 1px 10px;
  border-radius: 2px;
  background-color: #404040;
  margin-right: 10px;
  display: inline-block;
  color: #797979;
}

.wallpaper-item:hover .wallpaper-item-tab span{
  color: #988b68;
}

.wallpaper-item:hover .wallpaper-post,
.video-list li:hover .video-post{
  transform: translate(-50%, -50%) scale(1.2);
}

.wallpaper-item:hover .wallpaper-item-title,
.video-list li:hover .video-list-title{
  color: #fae3a5;
}

.video-list li:hover .video-list-date{
  color: #988b68;
}

.video-list li:hover.video-list-title {
  font-size: 21px;
}

.videoShowAll,
.wallpaperShowAll {
  color: white;
  text-align: center;
  display: none;
}

.videoShowAll.on,
.wallpaperShowAll.on {
  display: block;
}

/* 导航 */
.media-nav-list {
  position: absolute;
  left: 71px;
  top: 207px;
  z-index: 15;
  zoom: 0.9;
}

.media-nav {
  width: 328px;
  height: 62px;
  background: url(/assets/img/251517/pc/media/media-nav-btn.png) left center
    no-repeat;
  background-size: contain;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.media-nav span {
  color: #a3a3a3;
  font-size: 22px;
  display: inline-block;
  height: 62px;
  line-height: 62px;
  position: absolute;
  top: 0;
  left: 30px;
  transition: 0.3s;
  z-index: 1;
  transition-delay: 0.1s;
}

.media-nav:nth-child(2) {
  margin-top: 30px;
}

.media-nav::after {
  width: 0px;
  height: 73px;
  content: "";
  position: absolute;
  top: 0;
  left: 0px;
  background: url(/assets/img/251517/pc/media/media-nav-btn-hl.png) left center
    no-repeat;
  background-size: 100% 100%;
  transition: 0.25s;
}

.media-nav.on::after {
  width: 386px;
}

.media-nav.on span {
  left: 73px;
  font-size: 30px;
  color: #cfab87;
}

.media-nav:hover span {
  color: #cfab87;
}

.media-nav::before {
  width: 45px;
  height: 46px;
  content: "";
  position: absolute;
  top: 8px;
  left: -54px;
  background: url(/assets/img/251517/pc/media/video-icon.png) left center
    no-repeat;
  background-size: 100% 100%;
  transition: 0.3s;
  z-index: 1;
  opacity: 0;
  transition-delay: 0.1s;
}

.media-nav:nth-child(2)::before{
  background: url(/assets/img/251517/pc/media/wallpaper-icon.png) left center
    no-repeat;
  background-size: 100% 100%;
}

.media-nav.on::before {
  left: 14px;
  opacity: 1;
}

/* 原画部分 */
.wallpaper-view-swiper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.wallpaper-view-swiper::after {
  width: 100%;
  height: 100%;
  content: "";
  position: absolute;
  /* background: url(/assets/img/251517/pc/media/wallpaper-cover.png) center bottom
    no-repeat; */
  background-size: 100% 100%;
  z-index: 1;
  left: 0;
  top: 0;
}

.wallpaper-view-swiper .wallpaper-view {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.wallpaper-control-swiper {
  position: absolute;
  right: 25px;
  bottom: 80px;
  width: 960px;
  height: 136px;
}

/* .wallpaper-control-swiper .swiper-slide{
  width: 202px !important;
} */

.wallpaper-control-swiper .swiper-slide > div {
  width: 202px;
  height: 114px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin-top: 0px;
  transition: 0.3s;
  cursor: pointer;
  border-radius: 6px;
  overflow: hidden;
  overflow: hidden;
  zoom: 0.9;
}

.wallpaper-control-swiper .swiper-slide > div::after {
  width: 100%;
  height: 100%;
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.2);
}

.wallpaper-control-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}

.wallpaper-control-swiper .swiper-slide-active > div {
  width: 240px;
  height: 136px;
  transition: 0.3s;
  border: 2px solid #b39273;
  zoom: 1;
}

.wallpaper-control-swiper .swiper-slide-active > div::after {
  background-color: rgba(0, 0, 0, 0);
}

.wallpaper-control-swiper .swiper-slide p {
  width: 100%;
  padding: 0 10px;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  height: 24px;
  line-height: 24px;
  color: #eeeeee;
  font-size: 14px;
  position: absolute;
  left: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.wallpaper-control-prev,
.wallpaper-control-next {
  width: 37px;
  height: 37px;
}
.wallpaper-control-prev::after,
.wallpaper-control-next::after {
  display: none;
}

.wallpaper-control-prev {
  left: 229px;
  background: url(/assets/img/251517/pc/media/left.png) center center no-repeat;
  background-size: contain;
  cursor: pointer;
}

.wallpaper-control-prev:hover {
  background: url(/assets/img/251517/pc/media/left-hl.png) center center
    no-repeat;
  background-size: contain;
}

.wallpaper-control-next {
  background: url(/assets/img/251517/pc/media/right.png) center center no-repeat;
  background-size: contain;
  cursor: pointer;
  left: 454px;
}

.wallpaper-control-next:hover {
  background: url(/assets/img/251517/pc/media/right-hl.png) center center
    no-repeat;
  background-size: contain;
}

.wallpaper-more {
  bottom: 210px !important;
  right: 55px !important;
  width: 125px;
  background-color: rgba(0, 0, 0, 0.35);
  border-radius: 5px;
  color: #a8896c;
  line-height: 20px;
  text-align: center;
  line-height: 32px;
}

.wallpaper-more span {
  margin-top: 6px;
}

/* .wallpaper-more {
  color: #a8896c;
  font-size: 16px;
  line-height: 20px;
  cursor: pointer;
  position: absolute;
  text-align: center;
  right: 20px;
  bottom: 70px;
  z-index: 3;
} */

/* 鼠标悬浮到 wallpaper-more 时，span 旋转180° */
.video-more:hover span,
.wallpaper-more:hover span {
  transform: rotate(90deg);
  background: url(/assets/img/251517/pc/media/more-video-hl.png) center center
    no-repeat;
  background-size: contain;
}
.video-more:hover,
.wallpaper-more:hover {
  color: #f0caa6;
}

.wallpaper-nav li {
  display: inline-block;
  margin-right: 60px;
  color: #afafaf;
  cursor: pointer;
}

.wallpaper-nav li:hover,
.wallpaper-nav li.on {
  border-bottom: 2px solid #cba682;
  color: #cba682;
}

/* .wallpaper-list-box{
  display: block;
} */

.wallpaper-list {
  width: 1280px;
  display: flex;
  justify-content: space-between;
}

.wallpaper-waterfall {
  width: 410px;
}

.wallpaper-alert-inner {
  /* max-height: 750px;
  max-width: calc(100% - 160px); */
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.wallpaper-img {
  max-height: 750px;
  max-width: calc(100vw - 200px);
  object-fit: contain;
}

.wallpaper-close {
  position: absolute;
  top: 0;
  right: -70px;
  cursor: pointer;
  width: 56px;
}

.wallpaper-next,
.wallpaper-last {
  width: 35px;
  height: 59px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.wallpaper-next {
  right: -40px;
  background: url(/assets/img/251517/pc/media/wallpaper-right.png) center center
    no-repeat;
  background-size: contain;
}

.wallpaper-last {
  left: -40px;
  background: url(/assets/img/251517/pc/media/wallpaper-left.png) center center
    no-repeat;
  background-size: contain;
}

.wallpaper-next:hover {
  background: url(/assets/img/251517/pc/media/wallpaper-right-hl.png) center
    center no-repeat;
  background-size: contain;
}

.wallpaper-last:hover {
  background: url(/assets/img/251517/pc/media/wallpaper-left-hl.png) center
    center no-repeat;
  background-size: contain;
}

@media screen and (max-width: 1290px) {
  .wallpaper-nav-box,
  .wallpaper-list-wrap,
  .video-nav-box,
  .video-list-wrap .video-list{
    width: calc(100vw - 20px);
  }

  .wallpaper-list-back,
  .video-list-back{
    right: 10px;
    left: auto;
    margin-left: 0px;
  }

  .video-list li{
    width: auto;
  }
}

@media screen and (max-width: 920px){
  .video-list{
    grid-template-columns: repeat(2, 1fr);
  }
}