.container {
  width: 7.5rem;
  height: 30rem;
  position: relative;
  margin: 0 auto;
  background: url('../img/bg.jpg') no-repeat;
  background-size: 100% 100%;
}
.head {
  width: 100%;
  height: 8.92rem;
  position: relative;
  padding-top: 3.36rem;
}
.login-box {
  position: absolute;
  top: 0.2rem;
  right: 0.2rem;
  font-size: 0.22rem;
  color: #fff6ca;
  font-weight: 600;
  display: flex;
  align-items: center;
}
.login-box .login {
  width: 1.53rem;
  height: 0.43rem;
  line-height: 0.43rem;
  background: url('../img/btn.png') no-repeat;
  margin-left: 0.1rem;
  background-size: 100% 100%;
  text-align: center;
}
.login-box .login span {
  display: block;
  font-weight: 600;
  color: #fff6ca;
}
.head .date {
  font-size: 0.2rem;
  color: #f6ea9f;
  line-height: 0.24rem;
  text-align: center;
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}
.head .click-btn {
  position: absolute;
  bottom: -0.3rem;
  left: 0.03rem;
  width: 4.88rem;
  height: 5.25rem;
  display: block;
  animation: pulse 1s infinite ease-in-out;
  transform-origin: center center;
}
.page1 {
  width: 100%;
  height: 8.6rem;
  position: relative;
  margin-bottom: 0.86rem;
}
.page1 .border-box {
  width: 100%;
  height: 9.56rem;
  background: url('../img/game_border.png') no-repeat;
  background-size: 100% 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding-top: 2rem;
  pointer-events: none;
}
.page1 .border-box .p {
  font-size: 0.22rem;
  color: #000;
  line-height: 0.3rem;
  text-align: center;
}
.page1 .game-box .hongbao {
  width: 100%;
  height: 100%;
  position: relative;
  display: none;
}
.page1 .game-box {
  width: 6.14rem;
  height: 8.59rem;
  overflow: hidden;
  padding-top: 2.66rem;
  margin: 0 auto;
  position: relative;
}
.page1 .game-box canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.page1 .game-box .start-btn {
  width: 2.54rem;
  height: 0.82rem;
  background: url('../img/startbtn.png') no-repeat;
  background-size: 100% 100%;
  position: absolute;
  top: 5.24rem;
  left: 1.77rem;
}
.twpop {
  position: relative;
  z-index: 100;
}
.page1 .game-box .hb_top {
  width: 100%;
  position: absolute;
  left: 0;
  top: 0.34rem;
  padding: 0 1.2rem;
  display: flex;
  font-size: 0.22rem;
  color: #e2bd88;
  line-height: 0.3rem;
  font-weight: 800;
  justify-content: space-between;
}
.page1 .game-box .tips-box {
  text-align: center;
  width: 100%;
  position: absolute;
  bottom: 0.42rem;
  left: 0;
  text-align: center;
  font-size: 0.22rem;
  color: #e2bd88;
  font-weight: 600;
}
.page2 {
  width: 100%;
  position: relative;
}
.page2 .title-img {
  width: 4.51rem;
  display: block;
  margin: 0 auto 0.18rem;
}
.page2 .tip-p {
  text-align: center;
  font-size: 0.22rem;
  color: #f6ea9f;
  line-height: 0.22rem;
  margin-bottom: 0.34rem;
}
.page2 .lottery {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: .34rem .65rem 0.45rem;
}
.page2 .lottery li {
  width: 2rem;
  height: 1.4rem;
  border-radius: 0.1rem;
  position: relative;
  background: url('../img/lottery_bg.png') no-repeat;
  background-size: 100% 100%;
  margin-bottom: 0.1rem;
}
.page2 .lottery .start {
  background: url('../img/gift_btn.png') no-repeat;
  background-size: 100% 100%;
  padding-top: 0.9rem;
}
.page2 .lottery li i {
  width: 100%;
  height: 100%;
  display: block;
}
.page2 .lottery li .g0 {
  background: url('../img/gift_1.png') no-repeat center;
  background-size: 0.97rem 0.95rem;
}
.page2 .lottery li .g1 {
  background: url('../img/gift_2.png') no-repeat center;
  background-size: 1.01rem 0.96rem;
}
.page2 .lottery li .g2 {
  background: url('../img/gift_3.png') no-repeat center;
  background-size: 1rem 1.01rem;
}
.page2 .lottery li .g7 {
  background: url('../img/gift_4.png') no-repeat center;
  background-size: 0.88rem 1.17rem;
}
.page2 .lottery li .g3 {
  background: url('../img/gift_5.png') no-repeat center;
  background-size: 1.14rem 1.09rem;
}
.page2 .lottery li .g6 {
  background: url('../img/gift_6.png') no-repeat center;
  background-size: 1.34rem 1.1rem;
}
.page2 .lottery li .g5 {
  background: url('../img/gift_7.png') no-repeat center;
  background-size: 1.03rem 1.16rem;
}
.page2 .lottery li .g4 {
  background: url('../img/gift_8.png') no-repeat center;
  background-size: 1.03rem 1.01rem;
}
.page2 .lottery2 li .g0 {
  background: url('../img/gift_1.png') no-repeat center;
  background-size: 1.04rem 0.86rem;
}
.page2 .lottery2 li .g1 {
  background: url('../img/gift_2.png') no-repeat center;
  background-size: 1.65rem 0.87rem;
}
.page2 .lottery2 li .g2 {
  background: url('../img/gift_3.png') no-repeat center;
  background-size: 1.88rem 0.87rem;
}
.page2 .lottery2 li .g3 {
  background: url('../img/gift_5.png') no-repeat center;
  background-size: 1.25rem 0.94rem;
}
.page2 .lottery2 li .g6 {
  background: url('../img/gift_6.png') no-repeat center;
  background-size: 1.13rem 1rem;
}
.page2 .lottery2 li .g5 {
  background: url('../img/gift_7.png') no-repeat center;
  background-size: 0.91rem 0.9rem;
}
.page2 .lottery .active {
  box-shadow: 0 0 0 0.06rem #fbbd44 inset;
}
.page2 .lottery .start .p {
  text-align: center;
  font-size: 0.22rem;
  color: #f6ea9f;
  line-height: 0.24rem;
}
.task-list .task-item {
  width: 6.2rem;
  height: 0.8rem;
  background-color: rgba(17, 17, 16, 0.5);
  border-radius: 0.4rem;
  margin: 0 auto 0.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0.36rem 0 0.3rem;
  font-size: 0.22rem;
  color: #f6ea9f;
}
.task-list .task-item .btn {
  width: 1.33rem;
  height: 0.43rem;
  line-height: 0.43rem;
  text-align: center;
  background: url('../img/btn.png') no-repeat;
  background-size: 100% 100%;
}
.task-list .task-item .btned {
  filter: grayscale(100%);
}
.fixed-box {
  position: fixed;
  top: 45%;
  right: 0;
  z-index: 3;
}
.fixed-box .rule-btn {
  width: 0.4rem;
  height: 1.2rem;
  background: url('../img/rulebtn.png') no-repeat;
  background-size: 100% 100%;
}
.fixed-box .mg-btn {
  width: 0.4rem;
  height: 1.2rem;
  background: url('../img/giftbtn.png') no-repeat;
  background-size: 100% 100%;
}
.twpop .twpop-main {
  width: 7.29rem;
  height: 7.54rem;
  background: url('../img/tcbg.png') no-repeat;
  background-size: 100% 100%;
  max-width: 7.29rem;
}
.twpop .twpop-main .twpop-title {
  padding-top: 1.72rem;
  font-size: 0.48rem;
  color: #fac565;
  text-shadow: 0rem 0.03rem 0.01rem #000000;
  border: 0;
}
.twpop .twpop-main .twpop-cont {
  height: 4.7rem;
  max-height: 4.7rem;
  overflow: auto;
  font-size: 0.22rem;
  color: #000;
  line-height: 0.3rem;
  padding: 0 0.55rem;
}
.twpop .twpop-alert-content {
  padding-top: 1rem;
}
.twpop .tal {
  text-align: left;
}
.twpop .twpop-close {
  width: 0.44rem;
  height: 0.44rem;
  top: auto;
  right: auto;
  background: url('../img/close.png') no-repeat;
  background-size: 100% 100%;
  bottom: -0.67rem;
  left: 50%;
  transform: translateX(-50%);
}
.select2-container {
  font-size: 0.22rem;
}
.select2-container--default .select2-selection--single {
  background-color: transparent!important;
  border: 0!important;
}
.twpop .twpop-btn {
  width: 1.74rem;
  height: 0.58rem;
  background: url('../img/btn.png') no-repeat;
  background-size: 100% 100%;
  text-align: center;
  font-size: 0.22rem;
  line-height: 0.58rem;
  color: #ffd259;
  padding: 0;
  border: 0;
}
.cell {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
}
.bd {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  flex: 1;
}
.gift .cell {
  height: 0.85rem;
  line-height: 0.85rem;
  text-align: left;
  color: #173e61;
}
.gift .cell .bd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.06rem;
}
.gift .btn {
  width: 1.33rem;
  height: 0.43rem;
  line-height: 0.43rem;
  text-align: center;
  background: url('../img/btn.png') no-repeat;
  background-size: 100% 100%;
  color: #f6ea9f;
}
.ti2 {
  text-indent: 2em;
}
.mb20 {
  margin-bottom: 0.2rem;
}
.rule-box img {
  display: block;
  width: 100%;
  margin: 0.1rem auto;
}