:root{
  --begainIconBg: linear-gradient(90deg, #4097F4 0%, rgba(255,255,255,0) 100%);
  --begainBtnBg:#4097F4;
  --itemBg:rgba(64, 151, 244, 0.50);
  --itemTopColor:#5AB221;
  --answerBg:#4097F4;
  --toptextColor:#E78110;
}



body,html{
  padding: 0;
  margin: 0;
  background: #f5f5f5;
}

.img-item{
  position: relative;
}
.img-item img{
  width: 100%;
  margin-top: 12px;
}

.top{
  display: block;
  width: 93.6%;
  margin: 12px auto 0;
}

.top-text{
  font-size: 20px;
  font-family: Source Han Sans CN;
  font-weight: bold;
  line-height: 30px;
  color: var(--toptextColor);
  text-align: center;
  margin-top: 20px;
  margin-bottom: 15px;
}

.begain-text{
  width: 93.6%;
  margin: 12px auto 50px;
  background: #fff;
  border-radius: 8px;
  padding: 16px 12px;
}


.begain-icon{
  width: 60px;
  height: 12px;
  background: var(--begainIconBg);
  border-radius: 4px;
  margin-bottom: 8px;
}

.begain-p{
  font-size: 18px;
  font-family: Source Han Sans CN;
  font-weight: 400;
  line-height: 32px;
  color: #555555;
}

.p2{
  margin-top: 14px;
}

.begain-btn{
  width: 275px;
  height: 50px;
  background: var(--begainBtnBg);
  border-radius: 8px;
  margin: 0 auto;
  font-size: 22px;
  font-family: Source Han Sans CN;
  font-weight: bold;
  line-height: 50px;
  color: #FFFFFF;
  text-align: center;
  cursor: pointer;
}

.item{
  width: 93.6%;
  margin: 0 auto;
  background: var(--itemBg);
  border-radius: 8px;
  padding: 16px 12px;
  display: none;
}

.item-in{
  background: #FFFFFF;
  border-radius: 8px;
  padding: 20px 16px 8px;
}

.item-title{
  font-size: 38px;
  font-family: Source Han Sans CN;
  font-weight: bold;
  line-height: 38px;
  color: var(--itemTopColor);
  text-align: center;
  position: relative;
}

.item-title::before{
  content: '';
  width: 30%;
  height: 2px;
  background: var(--itemTopColor);
  position: absolute;
  top: 50%;
  left: 0;
}

.item-title::after{
  content: '';
  width: 30%;
  height: 2px;
  background: var(--itemTopColor);
  position: absolute;
  top: 50%;
  right: 0;
}

.text{
  font-size: 20px;
  font-family: Source Han Sans CN;
  font-weight: bold;
  line-height: 32px;
  color: #333333;
  margin-top: 18px;
  margin-bottom: 30px;
  min-height: 64px;
}

.answer{
  padding: 7px 20px;
  background: var(--answerBg);
  font-size: 16px;
  font-family: Source Han Sans CN;
  font-weight: 400;
  line-height: 32px;
  color: #FFFFFF;
  border-radius: 4px;
  margin-bottom: 12px;
  cursor: pointer;
}

.textbox{
  display: none;
}

.result{
  display: none;
  background: rgba(64, 151, 244, 0.50);
  border-radius: 8px;
  padding: 16px 12px;
  width: 93.6%;
  margin: 12px auto 0;
  position: relative;
}

.topitem{
  position: relative;
}

.topitem::before{
  content: '';
  background: url('../img/loveicon.png') no-repeat;
  background-size: 100% 100%;
  width: 10px;
  height: 38px;
  display: block;
  position: absolute;
  top: -24px;
  left: 32px;
}

.topitem::after{
  content: '';
  background: url('../img/loveicon.png') no-repeat;
  background-size: 100% 100%;
  width: 10px;
  height: 38px;
  display: block;
  position: absolute;
  top: -24px;
  right: 32px;
}

.result-top{
  position: relative;
  width: 100%;
  height: 70px;
  background: #348DED;
  border-radius: 8px;
  font-size: 22px;
  font-family: Source Han Sans CN;
  font-weight: bold;
  line-height: 70px;
  color: #FFFFFF;
  text-align: center;
}

.result-top img{
  height: 57px;
  margin: 0 auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

.ENPLbox{
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  column-gap: 27px;
  row-gap: 16px;
}

.E,.N,.P,.L{
  display: flex;
  border: 1px solid #4097F4;
  border-radius: 8px;
  overflow: hidden;
}

.N{
  border: 1px solid #F36161;
}

.P{
  border: 1px solid #5AB221;
}

.L{
  border: 1px solid #E7A018;
}

 .textp{
  width: 30%;
  background: #4097F4;
  font-size: 28px;
  font-family: Source Han Sans CN;
  font-weight: bold;
  line-height: 40px;
  color: #FFFFFF;
  text-align: center;
}

.N .num{
  color: #F36161;
}

.P .num{
  color: #5AB221;
}

.L .num{
  color: #E7A018;
}


 .num{
  width: 70%;
  line-height: 40px;
  text-align: center;
  font-size: 24px;
  font-family: Source Han Sans CN;
  font-weight: bold;
  color: #4097F4;
}

.N .textp{
  background: #F36161;
}

.P .textp{
  background: #5AB221;
}

.L .textp{
  background: #E7A018;
}

.ewm{
  width: 120px;
  height: 120px;
  margin: 34px auto 0;
}

.text{
  display: flex;
  justify-content: center;
}

.text span{
  font-size: 14px;
  font-family: Source Han Sans CN;
  font-weight: 400;
  line-height: 26px;
  color: #999999;
  padding: 0 6px;
}

.result-item-top{
  font-size: 18x;
  font-family: Source Han Sans CN;
  font-weight: bold;
  line-height: 30px;
  color: #333333;
  margin-bottom: 14px;
  padding-left: 18px;
  position: relative;
}


.result-item:nth-of-type(3) .result-item-top{
  color: #4097F4;
}
.result-item:nth-of-type(4) .result-item-top{
  color: #F36161;
}
.result-item:nth-of-type(5) .result-item-top{
  color: #5AB221;
}
.result-item:nth-of-type(6) .result-item-top{
  color: #E7A018;
}

.result-item-top::before{
  content: '';
  display: block;
  width: 6px;
  height: 18px;
  background: #4097F4;
  border-radius: 3px;
  position: absolute;
  top: 6px;
  left: 0px;
}

.result-item-top2{
  font-size: 18px;
  font-family: Source Han Sans CN;
  font-weight: bold;
  line-height: 30px;
  color: #F36161;
  margin-bottom: 14px;
}

.result-item-top3{
  font-size: 18px;
  font-family: Source Han Sans CN;
  font-weight: bold;
  line-height: 30px;
  color: #8277F2;
  margin-bottom: 14px;
}

.blue{
  color: #4097F4;
}

.allnum{
width: 40%;
font-size: 60px;
line-height: 60px;
font-family: Source Han Sans CN;
font-weight: bold;
color: #F6EE76;
position: absolute;
bottom: 18px;
left: 5%;
text-align: center;
}

.result-item{
  background: #fff;
  border-radius: 8px;
  padding: 20px 16px 13px;
  margin: 12px 0;
}

/* .result-item-top{
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
} */

.result-num,.result-type{
  width: 130px;
  height: 40px;
  background: #0DB498;
  opacity: 1;
  border-radius: 8px;
  font-size: 20px;
  font-family: Source Han Sans CN;
  font-weight: bold;
  line-height: 40px;
  color: #FFFFFF;
  text-align: center;
}

.result-type{
  background: #E88E2B;
}

.result-p{
  font-size: 16px;
  font-family: Source Han Sans CN;
  font-weight: 400;
  line-height: 30px;
  color: #333333;
}

.result-pi{
  padding-left: 16px;
  font-size: 16px;
  font-family: Source Han Sans CN;
  font-weight: 400;
  line-height: 26px;
  color: #555;
  position: relative;
  margin-bottom: 14px;
}

.result-pi::before{
  content: '';
  display: block;
  width: 4px;
  height: 16px;
  background: rgba(243, 97, 97, 0.60);
  border-radius: 2px;
  position: absolute;
  top: 7px;
  left: 0;
}

.two::before{
  content: '';
  display: block;
  width: 4px;
  height: 16px;
  background: rgba(130, 119, 242, 0.60);
  border-radius: 2px;
  position: absolute;
  top: 7px;
  left: 0;
}



.result-tp{
  padding-left: 16px;
  font-size: 16px;
  font-family: Source Han Sans CN;
  font-weight: bold;
  line-height: 30px;
  color: #009BB6;
  position: relative;
  margin-bottom: 5px;
}

.result-tp::before{
  content: '';
  display: block;
  width: 4px;
  height: 16px;
  background: #009BB6;
  border-radius: 2px;
  position: absolute;
  top: 7px;
  left: 0;
}

.result-p2{
  font-size: 16px;
  font-family: Source Han Sans CN;
  font-weight: 400;
  line-height: 30px;
  color: #555555;
  margin-bottom: 16px;
}

@media (min-width:500px) {
  .img-item{
    width: 500px;
    margin: 0 auto;
  }
  .top{
    width: 500px;
  }

  .begain-text{
    width: 500px;
  }

  .item{
    width: 500px;
  }

  .result{
    width: 500px;
    margin: 12px auto;
  }
}