* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  color: #181818;
  font-family: Microsoft YaHei, Helvetica Neue, Helvetica, STHeiTi, Arial, sans-serif;
  max-width: 769px;
  min-width: 320px;
  margin: 0 auto;
  touch-action: manipulation;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
a {
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
li {
  list-style: none;
}
em,
i {
  font-style: normal;
}
input {
  -webkit-appearance: none;
}
body.dialog-open {
  position: fixed;
  width: 100%;
}
article {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 3.833rem;
  padding: 0 1rem;
  background: #ee0a24;
}
header h1,
header h1 img {
  display: block;
  width: 6.833rem;
  height: 1.75rem;
}
header .search {
  width: 69%;
  height: 2.667rem;
  border: 0.083rem solid #47b69d;
}
header .search span {
  background: #47b69d;
}
header .back {
  display: flex;
  align-items: center;
}
header .back img {
  width: 1.833rem;
  height: 1.833rem;
}
header .back p {
  font-weight: bold;
  font-size: 1.5rem;
  color: #ffffff;
}
.search {
  width: 100%;
  height: 3.5rem;
  display: flex;
  align-items: center;
  border: 0.083rem solid #ee0a24;
  border-radius: 0.5rem;
  background-color: #ffffff;
}
.search input {
  flex: 1;
  height: 100%;
  padding: 1rem;
  outline: none;
  border: none;
  color: #333333;
  font-size: 1.167rem;
  border-radius: 0.5rem;
  background-color: #ffffff;
}
.search span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.667rem;
  height: 100%;
  font-size: 1.333rem;
  color: #ffffff;
  background-color: #ee0a24;
  border-radius: 0.5rem;
}
.article {
  margin-top: 1rem;
}
.article .item {
  display: block;
  padding: 1.333rem 1rem 0.833rem;
  margin-top: 1rem;
  background: #ffffff;
  border-radius: 0.5rem;
}
.article .item p {
  display: -webkit-box;
  font-size: 1.333rem;
  font-weight: bold;
  color: #000000;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-all;
}
.article .item .bot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
  padding: 0 0.5rem;
  background: #fffaf7;
}
.article .item .bot .left {
  font-size: 1.083rem;
  color: #9e7171;
}
.article .item .bot .left span {
  margin-right: 0.667rem;
}
.article .item .bot .left .new {
  padding: 0.083rem 0.5rem;
  font-size: 1rem;
  color: #ee0a24;
  border-radius: 0.167rem;
  border: 0.083rem solid #ee0a24;
}
.article .item .bot .right {
  display: flex;
  color: #ee0a24;
  font-size: 1.167rem;
  font-weight: bold;
  align-items: baseline;
}
.article .item .bot .right span {
  font-size: 1.5rem;
}
.article .item.past .right {
  color: #9e9e9e;
  text-decoration: line-through;
}
.home .banner,
.home .banner img {
  display: block;
  width: 100%;
  height: 12.417rem;
}
.home section {
  flex: 1;
  padding: 1rem 1rem 4.667rem;
  background: #f1f3f4;
}
.home section .lottery {
  display: flex;
  justify-content: space-around;
  height: 2.917rem;
}
.home section .lottery a {
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 1.333rem;
  color: #181818;
}
.home section .lottery a.active {
  color: #ee0a24;
  font-weight: bold;
  border-bottom: 0.167rem solid #ee0a24;
}
.purchase section {
  flex: 1;
  padding: 1rem;
  background: #f1f3f4;
}
.purchase section .card {
  padding: 1.333rem;
  margin-bottom: 0.833rem;
  background: #ffffff;
  border-radius: 0.5rem;
}
.purchase section .card .title {
  font-weight: bold;
  font-size: 1.333rem;
  color: #000000;
}
.purchase section .card .bottom {
  margin-top: 0.833rem;
}
.purchase section .card .bottom span {
  font-size: 1rem;
  color: #9e9e9e;
  margin-right: 0.833rem;
}
.purchase section .card .lottery_info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 0.083rem solid #f1f3f4;
}
.purchase section .card .lottery_info .left {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 1.333rem;
  color: #333333;
}
.purchase section .card .lottery_info .left::before {
  display: inline-block;
  content: "";
  width: 0.417rem;
  height: 1.5rem;
  margin-right: 0.5rem;
  background: #ee2d1f;
  border-radius: 3.083rem;
}
.purchase section .card .lottery_info .right {
  font-size: 1rem;
  color: #ee0a24;
}
.purchase section .card .scheme {
  margin-top: 1rem;
  max-width: 100%;
  overflow: hidden;
  word-break: break-all;
  font-size: 1.333rem;
  line-height: 2.333rem;
  color: #4a4a4a;
}
.bought section {
  flex: 1;
  padding: 1rem 1rem 5.667rem;
  background: #f1f3f4;
}
.bought section .text {
  font-size: 1.167rem;
  color: #333333;
  margin-top: 1rem;
  text-align: center;
}
.bought section .text a {
  color: #e13737;
  text-decoration: underline;
}
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10rem auto 2.5rem;
}
.empty img {
  max-width: 100%;
}
.empty p {
  font-size: 1.167rem;
  color: #999999;
  margin-top: 1.583rem;
}
.tabbar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  height: 4.667rem;
  background: #ffffff;
  position: fixed;
  bottom: 0;
  max-width: 769px;
  min-width: 320px;
  margin: 0 auto;
  box-shadow: 0 0.167rem 0.333rem 0 rgba(0, 0, 0, 0.5);
}
.tabbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.167rem;
  color: #9e9e9e;
}
.tabbar a::before {
  display: inline-block;
  content: "";
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.167rem;
}
.tabbar a.active {
  font-weight: bold;
  color: #ee0a24;
}
.tabbar a.home::before {
  background: url(/images/m23/home.png) no-repeat center center / 2rem 2rem;
}
.tabbar a.home.active::before {
  background: url(/images/m23/a_home.png) no-repeat center center / 2rem 2rem;
}
.tabbar a.purchase::before {
  background: url(/images/m23/article.png) no-repeat center center / 2rem 2rem;
}
.tabbar a.purchase.active::before {
  background: url(/images/m23/a_article.png) no-repeat center center / 2rem 2rem;
}
.tabbar a.kf::before {
  background: url(/images/m23/kf.png) no-repeat center center / 2rem 2rem;
}
.tabbar a.kf.active::before {
  background: url(/images/m23/a_kf.png) no-repeat center center / 2rem 2rem;
}
.popup,
.popup_confirm {
  position: fixed;
  width: 100%;
  height: 100vh;
  max-width: 769px;
  min-width: 320px;
  display: none;
  background-color: rgba(0, 0, 0, 0.5);
}
.popup .pop,
.popup_confirm .pop {
  width: 24.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 1.333rem 1.333rem;
  background: #ffffff;
  border-radius: 0.333rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.popup .pop .close,
.popup_confirm .pop .close {
  display: block;
  width: 2rem;
  height: 2rem;
  position: absolute;
  top: 1rem;
  right: 0.833rem;
}
.popup .pop .mobile,
.popup_confirm .pop .mobile {
  display: block;
  width: 2.667rem;
  height: 3.417rem;
}
.popup .pop .text,
.popup_confirm .pop .text {
  font-weight: bold;
  font-size: 1.167rem;
  color: #181818;
  margin-top: 1rem;
}
.popup .pop .hint,
.popup_confirm .pop .hint {
  font-size: 1rem;
  color: #4a4a4a;
  line-height: 1.417rem;
  margin-top: 1rem;
  text-align: center;
}
.popup .pop .hint a,
.popup_confirm .pop .hint a {
  color: #e24939;
}
.popup .pop .input,
.popup_confirm .pop .input {
  width: 21.833rem;
  height: 3.333rem;
  display: flex;
  margin-top: 1.333rem;
  background: #f0f0f0;
  overflow: hidden;
  border-radius: 1.667rem;
  border: 0.083rem solid #e0e0e0;
}
.popup .pop .input span,
.popup_confirm .pop .input span {
  min-width: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.167rem;
  color: #181818;
  position: relative;
}
.popup .pop .input span::after,
.popup_confirm .pop .input span::after {
  display: inline-block;
  content: "";
  width: 0.083rem;
  height: 1.333rem;
  background: #979797;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.popup .pop .input input,
.popup_confirm .pop .input input {
  flex: 1;
  padding: 0 1.25rem;
  border: none;
  outline: none;
  font-size: 1.167rem;
  border-radius: 1.667rem;
  background: #f0f0f0;
  overflow: hidden;
}
.popup .pop .type .item,
.popup_confirm .pop .type .item {
  width: 21.833rem;
  height: 3.333rem;
  font-weight: bold;
  font-size: 1.333rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #618df5;
  border-radius: 1.667rem;
  margin-top: 2rem;
}
.popup .pop .type .item img,
.popup_confirm .pop .type .item img {
  display: block;
  width: 2.333rem;
  height: 2.333rem;
  margin-right: 0.667rem;
}
.popup .pop .type .item.wechat,
.popup_confirm .pop .type .item.wechat {
  background: #38ca3a;
}
.popup .pop .type .item:nth-of-type(2),
.popup_confirm .pop .type .item:nth-of-type(2) {
  margin-top: 1rem;
}
.popup .pop .tip,
.popup_confirm .pop .tip {
  font-size: 1rem;
  color: #999999;
  margin-top: 0.5rem;
}
.popup .pop .tip span,
.popup_confirm .pop .tip span {
  color: #e24939;
  margin-right: 0.083rem;
}
.popup .pop .btn,
.popup_confirm .pop .btn {
  width: 100%;
  height: 3.333rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.333rem;
  border-radius: 1.667rem;
}
.popup .pop .btn.cancel,
.popup_confirm .pop .btn.cancel {
  margin-top: 2.167rem;
  color: #181818;
  background: #f0f0f0;
  border: 0.083rem solid #e0e0e0;
}
.popup .pop .btn.confirm,
.popup_confirm .pop .btn.confirm {
  margin-top: 1.5rem;
  color: #ffffff;
  background: #38ca3a;
  border: 0.083rem solid #38ca3a;
}
.popup .pop .apple,
.popup_confirm .pop .apple {
  font-size: 1rem;
  color: #999999;
  margin-top: 1.167rem;
  text-decoration: underline;
}
.popup .pop .confirm,
.popup_confirm .pop .confirm {
  width: 21.833rem;
  height: 3.333rem;
  text-align: center;
  line-height: 3.333rem;
  font-weight: bold;
  font-size: 1.333rem;
  color: #ffffff;
  background: #47b69d;
  border-radius: 1.667rem;
  margin-top: 1.667rem;
}
.popup .pop .remind,
.popup_confirm .pop .remind {
  display: flex;
  font-size: 0.833rem;
  margin-top: 0.25rem;
}
.popup .pop .remind span,
.popup_confirm .pop .remind span {
  display: block;
  color: #e24939;
}
.popup .pop .remind span i,
.popup_confirm .pop .remind span i {
  color: #e24939;
}
.popup .pop .remind div,
.popup_confirm .pop .remind div {
  flex: 1;
  color: #181818;
}
.popup .pop .zfcg,
.popup_confirm .pop .zfcg {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.333rem;
  margin-top: 1rem;
  background: #fcefe8;
  border-radius: 0.5rem;
}
.popup .pop .zfcg p,
.popup_confirm .pop .zfcg p {
  display: flex;
  align-items: center;
  font-size: 1.083rem;
  color: #e37930;
}
.popup.popup_confirm .text,
.popup_confirm.popup_confirm .text {
  font-size: 1.333rem;
}
.popup.popup_confirm .hint,
.popup_confirm.popup_confirm .hint {
  font-size: 1.167rem;
}
.qr_pop,
.wx_pop {
  position: fixed;
  width: 100%;
  height: 100vh;
  max-width: 769px;
  min-width: 320px;
  display: none;
  background-color: rgba(0, 0, 0, 0.5);
}
.qr_pop .content,
.wx_pop .content {
  width: 37.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 1.333rem 1.333rem;
  background: #ffffff;
  border-radius: 0.333rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.qr_pop .content .close,
.wx_pop .content .close {
  display: block;
  width: 2rem;
  height: 2rem;
  position: absolute;
  top: 1rem;
  right: 0.833rem;
}
.qr_pop .content .qr img,
.wx_pop .content .qr img {
  display: block;
  width: 15rem;
  height: 15rem;
}
.qr_pop .content .qr .money,
.wx_pop .content .qr .money {
  display: flex;
  justify-content: center;
  align-items: baseline;
  margin-top: 1rem;
  color: #c60000;
  font-size: 1rem;
}
.qr_pop .content .qr .money span,
.wx_pop .content .qr .money span {
  font-size: 1.333rem;
}
.qr_pop .content .qr p,
.wx_pop .content .qr p {
  text-align: center;
  font-size: 1.083rem;
  color: #181818;
  margin-top: 0.2rem;
}
.qr_pop .content .qr a,
.wx_pop .content .qr a {
  font-size: 1rem;
  display: block;
  text-align: center;
  color: #c60000;
  margin-top: 0.5rem;
}
.to_bottom {
  display: flex;
  justify-content: center;
}
.to_bottom img {
  display: block;
  width: 6.833rem;
  height: 6.833rem;
}
.popalert {
  width: 23rem;
  padding: 0.833rem 2rem;
  position: fixed;
  bottom: -55rem;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  background-color: #ffffff;
  border-radius: 0.6rem;
  transition: all 0.3s;
  box-shadow: 0 0.167rem 0.833rem 0 rgba(207, 207, 207, 0.39), 0 -0.167rem 0.833rem 0 rgba(207, 207, 207, 0.39);
  z-index: 99999;
}
.popalert.show {
  bottom: 12.5rem;
  transition: all 0.3s;
}
.popalert > div {
  display: flex;
}
.popalert > div .be {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  color: #5398fd;
  border: 0.167rem solid #5398fd;
  margin-right: 0.667rem;
  font-size: 1.167rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}
.popalert > div.error .be {
  color: #c60000;
  border: 0.167rem solid #c60000;
}
.popalert > div.success > .be {
  color: #80c957;
  border: 0.167rem solid #80c957;
}
.popalert > div.warn > .be {
  color: #e0a444;
  border: 0.167rem solid #e0a444;
}
.popalert > div .mes {
  flex: 1;
  font-size: 1.167rem;
  display: flex;
  align-items: center;
}
@media screen and (max-width: 373px) {
  html {
    font-size: 11px;
  }
}
@media screen and (min-width: 374px) {
  html {
    font-size: 12px;
  }
}
@media screen and (min-width: 413px) {
  html {
    font-size: 13px;
  }
}
@media screen and (min-width: 540px) {
  html {
    font-size: 14px;
  }
}
@media screen and (min-width: 580px) {
  html {
    font-size: 15px;
  }
}
