html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: #f5f5f5;
}

body {
  margin: 0;
  font: 0.26rem/1.5 "PingFang SC", "Lantinghei SC", "Microsoft YaHei", "HanHei SC", "Helvetica Neue", Arial, sans-serif;
  color: #333;
  background: #f5f5f5;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

p,
ul,
ol {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

a {
  color: #666;
  text-decoration: none;
}

button {
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

img {
  max-width: 100%;
  border: 0;
  vertical-align: middle;
}

[hidden] {
  display: none !important;
}

.cl::before,
.cl::after {
  content: " ";
  display: table;
}

.cl::after {
  clear: both;
}

.contwAll {
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.wrappcont {
  height: auto;
  margin: 0 auto 1.4rem;
  padding: 0 0.25rem;
}

.banner,
.banner img {
  width: 100%;
  max-width: 1080px;
  height: auto;
  cursor: pointer;
}

.banner p,
.step p {
  margin: 0;
}

.mtw {
  margin-top: 0.35rem !important;
}

.mtm {
  margin-top: 0.25rem !important;
}

.mt-2 {
  margin-top: 0.2rem;
}

.Fbold {
  font-weight: 700;
}

.Ftitall {
  font-size: 0.35rem;
}

.dispflex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dispflex-l {
  display: flex;
  align-items: center;
}

.red-text {
  color: #f00;
}

.blue-text {
  color: #00f;
}

.lottery-widget {
  width: 100%;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  font-family: "Lantinghei SC", "Microsoft YaHei", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
}

.lottery-nav {
  overflow-x: hidden;
  background: #f8f8f8;
}

.lottery-nav ul {
  display: inline-flex;
  min-width: 100%;
  border-left: 1px solid #ff6c02;
  white-space: nowrap;
}

.lottery-nav li {
  flex: 1 1 auto;
  padding: 0.3rem 0.1rem;
  border: 1px solid #acacac;
  border-bottom-color: #ff6c02;
  margin-left: -1px;
  color: #9c9c9c;
  text-align: center;
  font-size: 0.24rem;
  line-height: 1.1;
}

.lottery-nav li.active {
  z-index: 1;
  border-color: #ff6c02;
  border-bottom-color: #fff;
  background: #fff;
  color: #ff6c02;
  font-weight: 800;
}

.lottery-title {
  min-height: 30px;
  padding: 5px 4px;
  border-top: 1px solid #ddd;
  background: #eee;
  text-align: center;
  line-height: 20px;
  font-size: 14px;
}

.lottery-title button,
.lottery-title .history-link {
  margin-left: 6px;
  color: green;
  font-size: 14px;
}

.lottery-box {
  display: flex;
  gap: 2%;
  padding: 5px 0;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #eee;
  background: #f8f8f8;
}

.lottery-main {
  width: 83%;
}

.lottery-special {
  width: 15%;
}

.ball-row,
.animal-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
}

.ball-row > span,
.animal-row > span {
  display: block;
  height: 35px;
  border: 1px solid #ddd;
  background: #fff;
  text-align: center;
  line-height: 35px;
}

.ball-row > span {
  color: #fff;
  font-weight: 700;
}

.ball-row .red {
  background: #f00;
}

.ball-row .blue {
  background: #00f;
}

.ball-row .green {
  background: #090;
}

.lottery-next {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 4px 8px;
  gap: 10px;
  background: #ffc;
  text-align: center;
  font-size: 14px;
}

.lottery-next button {
  color: #f00;
  white-space: nowrap;
}

.ad-banner {
  background: #fff;
}

.contbanner {
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}

.contbanner img {
  width: 100%;
  height: auto;
}

.contw {
  padding: 0.2rem;
  background: #fff;
  color: #333;
  font-size: 0.27rem;
}

table {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border-collapse: collapse;
}

table td,
table th {
  padding: 0.2rem 0.08rem;
  border: 1px solid #eee;
  text-align: center;
}

table th {
  background: #f5f7fb;
  font-weight: 800;
}

table tr td:nth-last-child(-n + 2) {
  color: red;
  font-weight: 700;
}

table tr td:nth-child(2) {
  white-space: nowrap;
}

table tbody tr:nth-child(even) {
  background: #f6f6f6;
}

table td a.mylink {
  display: block;
  padding: 0.04rem 0.05rem;
  border-radius: 4px;
  background: #000;
  background-image: linear-gradient(to right, #fc636a 0%, #fd7564 19%, #ff9b54 60%, #ff9750 100%);
  color: #fff;
}

.step {
  width: 100%;
  margin-top: 0.2rem;
}

.step img {
  display: block;
  width: 100%;
  height: auto;
}

.bookw {
  padding: 0.25rem;
  margin-top: 0.3rem;
  background: #fff;
}

.bookw p {
  margin: 0 0 0.25rem;
}

.bookw .tit {
  padding: 0 0.3rem;
}

.lyw {
  margin: 0 0 0.25rem;
  padding: 0.25rem;
  border: 1px solid #eee;
  font-size: 0.25rem;
}

.lyw .lybt {
  line-height: 1.8;
}

.lyw .listimg {
  flex: 0 0 auto;
  float: left;
  margin-right: 0.25rem;
}

.lyw .listimg img {
  width: 30px;
  height: 30px;
  margin: 5px 0;
  border-radius: 40px;
  object-fit: cover;
}

.lyw .rlist {
  flex: 0 0 auto;
  margin-left: 14px;
  color: #1073bf;
}

.lyw .list {
  float: left;
  margin-right: 14px;
}

.lyw .ltit {
  color: #f42225;
}

.lyw .lycont {
  margin: 0.2rem 0;
  line-height: 1.8;
}

.lyw .lyhuifu {
  padding: 0.35rem;
  margin-top: 0.2rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #f5f5f5;
  line-height: 1.6;
}

.xf-kefu {
  position: fixed;
  right: 0.3rem;
  bottom: 25%;
  z-index: 25;
  display: block;
  width: min(2.4rem, 120px);
  height: auto;
}

.xf-kefu img {
  display: block;
  width: 100%;
  height: auto;
}

.toastMsg {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: 80px;
  width: max-content;
  max-width: calc(100vw - 24px);
  transform: translateX(-50%);
  text-align: center;
}

.toast_text {
  display: inline-block;
  padding: 8px;
  border-radius: 32px;
  background: rgba(255, 0, 0, 0.9);
  color: yellow;
  font-size: 14px;
  line-height: 1.2;
}

.footbtn {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 30;
  width: 100%;
  min-height: 1.4rem;
  padding: 0.25rem 0;
  background: rgba(0, 0, 0, 0.8);
}

.footbtn .cent {
  padding: 0 0.25rem;
}

.footbtn p {
  color: #fff600;
}

.footbtn .wxright {
  display: block;
  padding: 0.2rem 0.25rem;
  border-radius: 100px;
  background: #fc636a;
  background-image: linear-gradient(to right, #fc636a 0%, #fd7564 19%, #ff9b54 60%, #ff9750 100%);
  color: #fff;
  font-size: 0.3rem;
  white-space: nowrap;
}

.pop-cpt {
  position: fixed;
  inset: 0;
  z-index: 999999999;
}

.pop-cpt.is-hidden {
  display: none;
}

.pop-cpt2 {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
}

.pop-cpt-bd {
  position: relative;
  width: 300px;
  padding: 0 5px;
  border-radius: 15px;
  background: #c30000;
  color: #333;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
}

.pop-cpt-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 5;
  display: inline-block;
  height: 36px;
  min-width: 78px;
  padding: 0 12px;
  background: rgba(195, 0, 0, 0.95);
  border-radius: 0 15px 0 8px;
  color: #fff;
  line-height: 36px;
}

.pop-cpt-tit {
  height: 36px;
  color: #fff;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 36px;
}

.pop-cpt-con {
  padding: 10px 0;
  border-radius: 15px;
  background: #fff;
}

.pop-cpt-con1 {
  text-align: center;
  font-size: 13px;
  line-height: 24px;
}

.pop-cpt-con2 {
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  line-height: 24px;
}

.pop-cpt-con2-tit {
  display: flex;
  justify-content: center;
  padding-bottom: 5px;
}

.pop-cpt-con2-tit span {
  display: inline-block;
  width: 26px;
  margin-left: -3px;
  border-radius: 50%;
  background: #04b783;
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 26px;
}

.pop-cpt-con2-logo {
  display: flex;
  justify-content: center;
  height: 20px;
  color: #fb2725;
}

.pop-cpt-con3 {
  padding: 10px;
  cursor: pointer;
}

.pop-cpt-con3 table {
  border-collapse: collapse;
  font-weight: 700;
}

.pop-cpt-con3 th {
  border: 1px solid #04b783;
  background: #04b783;
  color: #fff;
  text-align: center;
  font-size: medium;
  line-height: normal;
}

.pop-cpt-con4 {
  text-align: center;
  cursor: pointer;
}

.pop-cpt-con4 span {
  display: inline-block;
  width: 200px;
  height: 40px;
  border-radius: 10px;
  background: #c30000;
  color: #ff0;
  font-size: 20px;
  font-weight: 700;
  line-height: 40px;
}

.pop-cpt-footer {
  padding: 5px 0 !important;
  color: #fff;
  text-align: center;
}

.pop-cpt-footer2 {
  padding-top: 5px;
  color: #ff0;
  font-weight: 700;
}

@media screen and (max-width: 750px) {
  .wrappcont {
    margin: 0 0 1.4rem;
    padding: 0;
  }

  .lottery-widget {
    border-radius: 0;
  }
}

@media screen and (max-width: 380px) {
  .lottery-title,
  .lottery-next,
  .lottery-title button,
  .lottery-title .history-link {
    font-size: 12px;
  }

  .contw {
    padding: 0.14rem;
    font-size: 0.24rem;
  }

  table td,
  table th {
    padding: 0.16rem 0.04rem;
  }

  .lyw .list {
    margin-right: 8px;
  }
}
