* {
  margin: 0;
  padding: 0;
}

body {
  padding: 2rem 0;
}

a {
  text-decoration: none;
}

#main * {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

#main {
  font-size: 0.7rem;
  font-family: "Microsoft YaHei";
  position: relative;
  margin: 0 auto;
  width: 100%;
  height: calc(100vh - 4rem);
  overflow: hidden;
}

#main input,
#main select,
#main textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  outline: none;
}

#main i,
#main em {
  font-style: normal;
}

table {
  width: 100%;
  text-align: center;
  /*文本居中*/
  border-collapse: collapse;
  /*表格的边框合并，如果相邻，则共用一个边框*/
  border-spacing: 0;
  /*设置行与单元格边框的间距。当表格边框独立（即border-collapse:separate;）此属性才起作用*/
}

table td {
  word-break: break-all;
  /*允许在字内换行,即单词可分*/
  word-wrap: break-word;
  /*允许长单词或URL地址换行*/
  border-right: 1px solid #939598;
  border-bottom: 1px solid #939598;
}

/* 滚动槽 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  display: none;
}

::-webkit-scrollbar-track {
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.06);
  -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.08);
}

/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.12);
  -webkit-box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}

.dis-f {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.dis-b {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dis-c {
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn {
  cursor: pointer;
  text-align: center;
}
.tc {
  text-align: center;
}
.pr {
  position: relative;
}
.po {
  position: absolute;
}
.po-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
}
#main article {
  overflow: hidden;
  height: 100%;
}
#main article .n-top {
  padding: 0.7rem 0.45rem 0.45rem;
  font-size: 0.6rem;
  height: 4rem;
}
#main article .n-top .n-title {
  font-weight: bold;
  line-height: 0.8rem;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  /* 几行后显示不开省略 */
  -webkit-line-clamp: 2;
  margin-bottom: 0.4rem;
  height: 1.6rem;
}

#main article .n-top .Newtag span {
  font-size: 0.45rem;
  padding: 0 0.3rem;
  border-radius: 0.2rem;
  margin-right: 0.2rem;
  color: #838383;
  border: 1px solid #e5e5e5;
  line-height: 0.8rem;
}
#main article .n-top .createdAt {
  font-size: 0.5rem;
  color: #adadad;
}

#main article .posterPreview {
  background: #ffffff;
  height: 100%;
  position: relative;
  overflow: hidden;
}
#main article .posterPreview .swiper-container {
  height: 100%;
  position: relative;
}
#main article .posterPreview .details {
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
  z-index: 5;
  padding: 2rem 0.4rem 0.6rem;
  font-size: 0.5rem;
  line-height: 1rem;
  color: #ffffff;
  height: 8.5rem;
  background: linear-gradient(to bottom, transparent, #5f5f5f 100%);
}

#main article .posterPreview .details span {
  font-size: 0.5rem !important;
  background: none !important;
  color: #ffffff !important;
}
#main article .posterPreview .details .n-content {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  /* 几行后显示不开省略 */
  -webkit-line-clamp: 4;
}
#main article .posterPreview .swiper-slide {
  overflow-y: auto;
}
#main article .posterPreview .yuyue {
}
#main article .posterPreview .yuyue p {
  background: rgba(0, 0, 0, 0.5);
  margin-bottom: 0.5rem;
  padding: 0.1rem 0.7rem 0.1rem 0.3rem;
  line-height: 1rem;
  border-radius: 0.2rem;
}
#main article .posterPreview .yuyue img {
  width: 0.8rem;
  margin-right: 0.6rem;
}

#main article .posterPreview .swiper-container .idxs {
  position: absolute;
  top: .5rem;
  right: .5rem;
  background: rgba(255, 255, 255, 0.22);
  padding: 0 0.4rem;
  height: 1.1rem;
  border-radius: 0.2rem;
  z-index: 10;
  font-size: .55rem;
  color: #ffffff;
}
