* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  /*height: 100%;*/
  padding-bottom: 0.44rem;
  background-color: #f6f6f6;
  font-family: -apple-system, "Helvetica";
}

#fontsize {
  position: absolute;
  left: -9999em;
}

.main-top {
  height: calc(100% - 1.36rem);
  overflow-y: auto;
  overflow-x: hidden;
}
.story{
  width: 100%;
  position: relative;
}
.story .story-img{
  width: 100%;
  display: block;
  border: 0;
}
.story .story-title{
  position: absolute;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 2;
  padding: 0.2667rem;
  color: #ffc557;
  font-size: 0.56rem;
  font-weight: bold;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .5),
  0 1px 1px  rgba(0, 0, 0, .5),
  0 1px 1px  rgba(0, 0, 0, .5),
  0 1px 1px  rgba(0, 0, 0, .5),
  0 1px 1px  rgba(0, 0, 0, .5),
  0 1px 1px  rgba(0, 0, 0, .5),
  0 1px 1px  rgba(0, 0, 0, .5),
  0 1px 1px  rgba(0, 0, 0, .5),
  0 1px 1px  rgba(0, 0, 0, .5);
}
.story .story-mask{
  height:2.6667rem;
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  z-index: 3;
  background-image: linear-gradient(to bottom,transparent,rgba(255,255,255,.95));
}
.header {
  padding:0 0.4rem 0;
}

.header h4 p{
  font-size:0.3733rem;
  font-weight: 600;
  color: #27292a;
  line-height: 0.6rem;
  /* font-family: normal; */
  font-family: -apple-system;
}

.header .chapter-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 0.32rem;
  font-weight: 500;
  color: #00C3A9;
  /* line-height: 0.3rem; */
  font-family: PingFangSC-Medium, PingFang SC;
}

.chapter-info i {
  width: 0.52rem;
  height: 0.52rem;
  background-image: url("../img/logo.png");
  background-size: cover;
}

.chapter-info span:first-of-type a {
  color: #00C3A9;
  text-decoration: none;
  font-family: PingFangSC-Regular, PingFang SC;
}

.chapter-info span:last-of-type {
  color: #909399;
  font-family: PingFangSC-Regular, PingFang SC;
  font-size: 0.26rem;
  line-height: 0.32rem;
  font-weight: normal;
}

.chapter-img {
  font-size: 0;
}

.chapter-img img {
  width: 100%;
  object-fit: cover;
}

.chapter-img p {
  font-size: 0.24rem;
  font-family: ArialMT;
  color: #636465;
  line-height: 0.32rem;
  text-align: center;
  margin: 0.16rem;
}

.chapter-txt {
  font-size: 0.36rem;
  font-weight: 400;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
  color: #32343A;
  line-height: 0.5rem;
  padding: 0.4rem 0.36rem 0.4rem 0.4rem;
  word-spacing: normal;
  word-break: break-word;
}

.chapter-txt p {
  margin-top: 0.32rem;
}

.chapter-link {
  font-size: 0.32rem;
  line-height: 0.3rem;
  font-family: SFProText-Regular, SFProText;
  font-weight: 400;
  text-align: center;
  margin: 0.26rem 0;
  /* padding-bottom: 0.8rem; */
}

.chapter-link a {
  display: inline-block;
  line-height: 0.38rem;
  position: relative;
  text-decoration: none;
  color: #00C3A9;
}

.chapter-link a::after {
  content: " ";
  left: 0;
  bottom: -0.04rem;
  position: absolute;
  border: 0.01rem solid #00C3A9;
  width: 100%;
}

.tip{
  font-size: 0.26rem;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
  color: #909399;
  line-height: 0.26rem;
  text-align: center;
  margin-bottom: 1.06rem;
}

footer {
  height: 1.36rem;
  background: #ffffff;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  box-shadow: 0px 1px 0px 0px #ececec;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  align-items: center;
}

footer a {
  width: 6.6rem;
  height: 0.92rem;
  background: linear-gradient(131deg, #ff166f 0%, #ff3f05 100%);
  border-radius: 0.16rem;
  display: inline-block;
  font-size: 0.36rem;
  color: #ffffff;
  font-family: normal;
  font-weight: 600;
  line-height: 0.92rem;
  text-align: center;
  text-decoration: none;
  font-family: -apple-system;
}