/* rem适配基础设置 */
html {
  font-size: 16px; /* 基准字体大小 */
  background: #000;
  color: #fff;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
  overflow-y: auto;
  padding-top: 48px;
}
a,a:link,a:visited,a:hover,a:active{
    text-decoration: none;
    color:inherit;
}
/* .topBox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: #212121;
} */
.navBtn {
  width: 51px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #E0E0E0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.10);
}
.navBtn .moreIcon {
  width: 16px;
  height: 16px;
  margin-right: 3px;
}
/* .logo {
  width: 94px;
  height: 32px;
}
.searchIcon {
  width: 24px;
  height: 24px;
  margin-left: 27px;
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
}
.header .connect {
  font-size: 12px;
  color: #fff;
} */
.topBox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: #212121;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  /* display: none; */
}
.navBtn {
  width: 51px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #E0E0E0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.10);
}
.navBtn .moreIcon {
  width: 16px;
  height: 16px;
  margin-right: 3px;
}
.logo {
  width: 94px;
  height: 32px;
}
.searchIcon {
  width: 24px;
  height: 24px;
  margin-left: 27px;
}
.header {
  width: 100%;
  /* height: 123px; */
  padding: 18px 16px;
  box-sizing: border-box;
  text-align: center;
  background: #212121;
}
.header .title{
  font-size: 28px;
  margin-bottom: 12px;
}
.header .desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.70);
}
.navBox {
  padding: 10px 16px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  /* gap: 14px; */
  width: 375px;
  overflow-x: auto;
  height: 48px;
  background: #212121;
  position: relative;
}
.navList {
  display: flex;
  align-items: center;
  gap: 14px;
  /* overflow-x: auto;
  height: 100%; */
}
.navItem {
  flex-shrink: 0;
  position: relative;
  color: #9E9E9E;
  font-size: 16px;
  /* height: 100%; */
  
}
.navItem:last-child {
  padding-right: 64px;
}
.navBox::-webkit-scrollbar{
	display: none;
}
.acitveNav {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  position: relative;
}
.acitveNav::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 13px;
  height: 3px;
  border-radius: 12px;
  background:linear-gradient(90deg, #FF813A 0%, #FE0032 56.73%, #F60077 100%);  
  transform: translateX(-50%);
}
.moreBox {
  width: 60px;
  height: 48px;
  background: #212121;
  position: fixed;
  top: 48px;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.moreBtn {
  width: 28px;
  height: 24px;
}
.main {
  padding-top: 18px;
  /* height: calc(100vh - 96px);
  overflow-y: auto; */
}
/* 视频列表 */
.videoList {
  margin-bottom: 40px;
}
.videoBox {
  width: 100%;
  height: 200px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  /* background: #2c2a2a; */
}
.videoMask {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  background: rgba(0,0,0,0.3);
}
.adv {
  width: 100%;
  height: 200px;
  margin-bottom: 18px;
  /* object-fit: contain; */
}
.videoBox .videoCover {
  width: 100%;
  height: 100%;
  /* object-fit: contain; */
}
.hot {
  position: absolute;
  top: 0;
  right: 0;
  width: 79px;
  height: 71px;
  z-index: 3;
}
.videoInfoBox {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 41.5px;
  box-sizing: border-box;
}
.videoTitle {
  color: #FAFAFA;
  font-size: 16px;
  margin-bottom: 16px;
  line-height: 22px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  text-overflow: ellipsis;
  overflow: hidden;
  font-weight: 400;
}
.videoInfo {
  font-size: 14px;
  color: #FAFAFA;
  line-height: 18px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  text-overflow: ellipsis;
  overflow: hidden;
}
/* 分页 */
.paginationBox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding:  0 13px;
  box-sizing: border-box;
  margin-bottom: 18px;
}
.pageBtn {
  width: 66px;
  height: 40px;
  border-radius: 5px;
  border: 1px solid  #BDBDBD;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #BDBDBD;
}
.placeholderBtn {
  width: 66px;
  height: 40px;
}
.paginationContent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.pageBox {
  font-size: 18px;
}
input:focus {
  outline: none;
  border: 1px solid #BDBDBD;
}
.paginationInp {
  width: 48px;
  height: 40px;
  border-radius: 3px;
  border: 1px solid #BDBDBD;
  background: #000;
  color: #fff;
  font-size: 16px;
  text-align: center;
}
.advList {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 13px;
  box-sizing: border-box;
}
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
}
.overlay.active {
    display: block;
}

.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10000;
 
}
.popup .closeBtn {
  width: 44px;
  height: 44px;
  margin: 0 auto 8px;
  display: block;
}
.popup.active {
  display: block;
}
.popImage {
  width: 300px;
  height: auto;
  /* object-fit: contain; */
}

@media screen and (min-width: 768px) {
  body {
    padding-top: 140px;
  }
  body main {
      max-width: 720px;
      margin: 0 auto;
  }
  .videoBox {
    height: 279px;
  }
  .adv {
    height: 279px;
  }
  .topBox {
    display: none;
  }
  .advList {
    padding: 0;
  }
  .bannerAdv {
    height: 90px !important;
  }
  .videoTitle {
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
  }
  .videoInfo {
    font-size: 18px;
  }
  .popImage {
    width: 600px;
  }
}