@charset "utf-8";
html, body {
  max-width: 750px;
  min-width: 320px;
  overflow-x: hidden;
}
::-webkit-scrollbar {
  width: 0;
  background: none;
}
::-webkit-scrollbar-thumb {
  background: none;
}
/* root */
.root {
  position: fixed;
  max-width: 750px;
  min-width: 320px;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: 0 auto;
  background-color: #ffe0d5;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 1000000;
}
.root .back {
  position: absolute;
  width: 0.18rem;
  height: 0.34rem;
  margin: 0.33rem;
  background-image: url(../image/newyear/icon_back.png);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  z-index: 2;
}
.root > header {
  position: relative;
  height: 3.34rem;
  background-image: url(../image/newyear/banner.png);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}
.root > header h3 {
  position: absolute;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 2.36rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 0.34rem;
  height: 0.39rem;
  font-size: 0.25rem;
  color: #FFEFBE;
  background-color: rgba(165,52,25,0.7);
  border-radius: 0.2rem;
  white-space: nowrap;
}
.root > nav {
  position: absolute;
  left: 0;
  top: 2.91rem;
  display: -webkit-box;
  display: box;
  width: 100%;
  height: 1.54rem;
  background-image: url(../image/newyear/nav_1.png?v=190929);
  background-repeat: no-repeat;
  background-size: cover;
  animation: run 0.8s steps(4) infinite;
  -webkit-animation: run 0.8s steps(4) infinite;
}
@keyframes run{
    from{
        background-position: 0 0;
    }
    to{
        background-position: left -7.1175rem;
    }
}
@-webkit-keyframes run
{
    from{
        background-position: 0 0;
    }
    to{
        background-position: left -7.1175rem;
    }
}
.root > nav.sw {
  background-image: url(../image/newyear/nav_2.png?v=190929);
  animation: run .8s steps(1) infinite forwards
}
.root > nav.sw2 {
  background-image: url(../image/newyear/nav_3.png?v=190929);
  animation: run .1s steps(1) infinite forwards
}
.root > nav a {
  display: block;
  -webkit-box-flex: 1;
  box-flex: 1;
  width: 50%;
  height: 1.64rem;
  font-size: 0;
}

.root > section {
  position: absolute;
  left: 0;
  width: 100%;
  height: auto;
  padding-bottom: 1rem;
  z-index: 1;
}
/* 中奖规则 */
.root > section .rules {
  padding: 0 .3rem;
  position: relative;
  /*margin-top: -.1rem;*/
}
.root > section .rules > header {
  position: relative;
  top: .41rem;
  width: 2.96rem;
  height: 0.84rem;
  margin: 0 auto;
  background-image: url(../image/newyear/rule_bg.png?v=19092801);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}
.root > section .rules > .rules-boder {
  background-color: #FFC4BA;
  padding: 0.1rem;
  border-radius: 0.1rem;
}
.root > section .rules > .rules-boder section {
  padding: .54rem .3rem .4rem .3rem;
  border: .03rem solid #FF8773;
  border-radius: 0.06rem;
}
.root > section .rules > .rules-boder section p {
  margin-bottom: .16rem;
  font-size: .24rem;
  color: #541111;
}
.root > section .rules > .rules-boder section p:last-child {
  margin-bottom: 0;
}
/* 推荐游戏 */
.root > section .game {
  padding: 0 .3rem;
  position: relative;
  /*margin-top: -.1rem;*/
}
.root > section .game > header {
  position: relative;
  top: .41rem;
  width: 2.96rem;
  height: 0.84rem;
  margin: 0 auto;
  background-image: url(../image/newyear/game_bg.png?v=19092801);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}
.root > section .game > .game-boder {
  background-color: #FFC4BA;
  padding: 0.1rem;
  border-radius: 0.1rem;
}
.root > section .game > .game-boder section {
  padding: .5rem .2rem .0rem .2rem;
  border: .03rem solid #FF8773;
  border-radius: 0.06rem;
}
.root > section .game > .game-boder section p {
  margin-bottom: .16rem;
  font-size: .24rem;
  color: #541111;
}
.root > section .game > .game-boder section p:last-child {
  margin-bottom: 0;
}
.root .game-boder ul {
  display: inline-flex;
  display: -webkit-flex;
  flex-wrap: wrap;
}
.root .game-boder li {
    display: block;
    width: 1.56rem;
    height: 1.04rem;
    /*margin-left: 0.38rem;*/
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 0.8rem;
}
.root .game-boder li:first-child {
   /*margin-left: 0rem;*/
}
.root .game-boder li:nth-child(4n+1) {
   /*margin-left: 0rem;*/
}
.root .game ul li:after {
  display: block;
  text-align: center;
  content: attr(data-label);
  color: #541111;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.root .game ul li a {
  display: block;
  width: 1.04rem;
  height: 1.04rem;
  /*margin: .1rem .1rem .04rem .1rem;*/
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1.04rem 1.04rem;
  margin: 0 auto;
}
/* 活动一 */
.lottery {
  top: 4.68rem;
}
.lottery > header {
  position: absolute;
  top: -.66rem;
  left: 50%;
  margin-left: -1.51rem;
  width: 3.02rem;
  height: .66rem;
  background-image: url(../image/national/pond_header.png?v=190828);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}
.lottery > header h3 {
  padding-top: .2rem;
  text-align: center;
  font-size: .24rem;
  color: #fff;
}
.lottery .neat {
  width: 6.9rem;
  margin: 0 auto;
}
.lottery .neat-title {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3.6rem;
  height: 0.68rem;
  background: #FFBBAD;
  border-radius: 1rem;
  color: #541111;
  font-size: 0.3rem;
  margin: 0 auto;
  position: relative;
}
.lottery .my_prize {
  width: 0.94rem;
  height: 0.94rem;
  background-image: url(../image/newyear/my_prize.png?v=190828);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  position: absolute;
  top: -0.28rem;
  right: 0.3rem;
}
.lottery .pond {
  width: 100%;
  height: 3.42rem;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: cover;
  overflow: hidden;
  position: relative;
  margin-bottom: 0.4rem;
}
.lottery .pond ul {
  padding: .93rem 0 0 .0rem;
}
.lottery .pond ul li {
  width: 2.02rem;
  height: 2.42rem;
  float: left;
}
.lottery .pond-bg-egg {
  background-image: url(../image/newyear/egg_1.png?v=190928);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}
.lottery .pond-bg-egg2 {
  background-image: url(../image/newyear/egg_2.png?v=190928);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  margin-left: .41rem;
}
.lottery .pond-bg-egg3 {
  background-image: url(../image/newyear/egg_3.png?v=190928);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  margin-left: .41rem;
}
.lottery .lotteryAnim {
  background-image: url(../image/newyear/egg_4.png?v=190928);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}
.lottery .hammer {
  background-image: url(../image/newyear/hammer.png?v=190928);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  width: 0.84rem;
  height: .86rem;
  position: absolute;
  top: 0.3rem;
  left: 1.27rem;
  animation: hammer .4s steps(1) infinite;
  -webkit-animation: hammer .4s steps(2) infinite;
}

@keyframes hammer{
    from{
        background-position: 0 0;
    }
    to{
        background-position: left -1.72rem;
    }
}
  
}
@-webkit-keyframes hammer
{
    from{
        background-position: 0 0;
    }
    to{
        background-position: left 1.72rem;
    }
}
.lottery .pond-tips {
  width: 5.96rem;
  height: 0.32rem;
  background-image: url(../image/newyear/pic_6.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  margin-bottom: 0.26rem;
}
.lottery .changes {
  box-sizing: border-box;
  margin-top: 6px;
  width: 100%;
  padding: 0.28rem 0.4rem 0.3rem;
  border-radius: 0.1rem;
  background-color: #FFC4BA;
}
.lottery .changes li{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.2rem;
}
.lottery .changes li:nth-last-child(1) {
  margin-bottom: 0rem;
}
.lottery .changes li p{
  color: #541111;
  font-size: 0.24rem;
}
.lottery .changes li p:nth-child(1) {
  width: 36%;
}
.lottery .changes li p:nth-child(2) {
  flex: 1;
  text-align: center;
  color: #C41616;
}
.lottery .changes li p:nth-child(3) {
  width: 38%;
  white-space: nowrap;
  text-align: center;
}
.lottery .pond ul li.cur {
  background-color: #fff3c5;
}
.lottery .record {
  display: block;
  margin-top: .32rem;
  text-align: center;
  cursor: pointer;
}
.lottery .record em {
  text-align: center;
  font-size: .26rem;
  color: #9b2212;
  text-decoration: underline;
}
.lottery .prizeList {
  position: relative;
  margin-top: .4rem;
  height: 1.98rem;
  overflow: hidden;
  background-color: #FFC4BA;
  z-index: 1;
  margin-left: 0.74rem;
  /*pointer-events: none;*/
}
.lottery .prizeList .inner {
  /*padding-left: 1rem;*/
  z-index: 1;
  position: absolute;
}
.lottery .prize-img-bg {
  position: absolute;
  top: 0;
  width: 0.74rem;
  height: 1.98rem;
  background-image: url(../image/newyear/prize_bg.png?v=19092801);
  background-repeat: no-repeat;
  background-position: left top;
  background-size: auto 100%;
  background-color: #FFC4BA;
  z-index: 9;
}
.lottery .prizeList ul {
  font-size: 0;
  position: absolute;
  left: 0;
  top: 0;
  white-space:nowrap;
}
.lottery .prizeList .inner-slide {
  width: 1.4rem;
  height: 1.8rem;
  display: inline-block;
  margin-right: .3rem;
  font-size: .24rem;
  border-radius: .16rem;
  white-space: nowrap;
  z-index: 1;
}
.lottery .prizeList .inner div:after {
  display: block;
  text-align: center;
  content: attr(data-label);
  color: #541111;
  /*overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;*/
}
.lottery .prizeList .inner-slide a {
  display: block;
  width: 1.2rem;
  height: 1.2rem;
  margin: .2rem .1rem .04rem .1rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1.2rem 1.2rem;
}
/* 中奖弹窗 */
.prizepop {
  opacity: 0;
  transform: scale(0, 0);
  transition: all .3s;
}
.prizepop.fadein {
  pointer-events: auto!important;
  opacity: 1;
  transform: scale(1, 1);
}
.prizepop .central {
  width: 5.7rem;
  height: auto;
  background-color: #FFC4BA;
  border: .1rem solid #FFC4BA;
  border-radius: .1rem;
}
.prizepop .central > header {
  display: block;
  position: absolute;
  top: -1.66rem;
  left: 50%;
  margin-left: -2.7rem;
  width: 5.4rem;
  height: 1.66rem;
  content: '';
  background-image: url(../image/newyear/prize_header_bg.png?v=190928);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.prizepop .central > header:before {
  display: block;
  position: absolute;
  left: calc(51% - 1.68rem);
  bottom: -.25rem;
  width: 3.36rem;
  height: 0.84rem;
  content: '';
  background-image: url(../image/newyear/prize_header.png?v=19092802);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.prizepop .central > section {
  display: none;
  padding: .74rem 0 .5rem 0;
  border: 1px solid #FF8773;
}
.prizepop .prize,.vouch {
  display: block;
  width: 1.2rem;
  height: 1.2rem;
  margin: 0 auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.prizepop .code {
  width: 4.2rem;
  height: .7rem;
  margin: .1rem auto 0 auto;
  line-height: .7rem;
  text-align: center;
  color: #531113;
  font-size: .32rem;
  background-color: #ffe681;
  border-radius: .7rem;
  user-select: all;
  -webkit-user-select: all;
}
.prizepop .code:before {
  content: '兑换码：';
}
.prizepop ol {
  margin-top: .4rem;
  padding: 0 .4rem;
  counter-reset: section;
}
.prizepop ol li {
  position: relative;
  margin-bottom: .16rem;
  padding-left: .28rem;
  line-height: 1.4;
  font-size: .26rem;
  color: #531113;
}
.prizepop ol li:last-child {
  margin-bottom: 0;
}
.prizepop ol li:before {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  content: counter(section)'.';
  counter-increment: section;
}
.prizepop .qrcode {
  margin-top: .3rem;
  text-align: center;
}
.prizepop .qrcode img {
  display: block;
  width: 1.58rem;
  height: 1.58rem;
  max-width: 158px;
  margin: 0 auto;
}
.prizepop .qrcode:after {
  display: block;
  margin-top: .1rem;
  color: #531113;
  content: '客服微信号：huimo77';
}
.prizepop, .prize-name, .vouch-name {
  text-align: center;
  font-size: 0.24rem;
  color: #541111;
  font-weight: bold;
  padding: 0.18rem 0 .2rem 0;
}
.records .prize-name {
  text-align: center;
  font-size: 0.24rem;
  color: #541111;
}
.prizepop .note,.vouch-note {
  margin-top: .16rem;
  padding: 0 .2rem;
  text-align: center;
  font-size: .26rem;
  color: #541111;
  font-weight: normal;
}
.prizepop .close {
  display: block;
  position: absolute;
  left: 50%;
  bottom: -.95rem;
  margin-left: -.3rem;
  width: .6rem;
  height: .6rem;
  background-image: url(../image/national/close_btn.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: .5rem .5rem;
  cursor: pointer;
}
/* 活动二 */
.present {
  display: none;
  top: 4.4rem;
}
/* 充值游戏送代金券 */
.present > .voucher {
  padding: 0 .3rem;
  position: relative;
  margin-top: -.1rem;
}
.present > .voucher > header {
  position: relative;
  top: .41rem;
  width: 4.5rem;
  height: 0.84rem;
  margin: 0 auto;
  background-image: url(../image/newyear/present_voucher.png?v=19092801);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}
/*.present > .voucher > .voucher-boder .voucher-span {
  position: absolute;
  left: 3.9rem;
}*/
.present > .voucher > .voucher-boder {
  background-color: #FFC4BA;
  padding: 0.1rem;
  border-radius: 0.1rem;
}
.present > .voucher > .voucher-boder section {
  padding-top: .25rem;
  border: .03rem solid #FF8773;
  border-radius: 0.06rem;
  overflow: hidden;
}
.present > .voucher > .voucher-boder section .title {
  font-weight: bold;
  height: 0.74rem;
}
.present > .voucher > .voucher-boder section p {
  display: flex;
  font-size: .24rem;
  color: #541111;
  height: 0.52rem;
  align-items: center;
}
.present > .voucher > .voucher-boder section p:nth-child(2n) {
  background-color: #FFD7D0;
}
.present > .voucher > .voucher-boder section p span {
  text-align: center;
}
.present > .voucher > .voucher-boder section p span:nth-child(1) {
  width: 20%;
}
.present > .voucher > .voucher-boder section p span:nth-child(2) {
  width: 30%;
}
.present > .voucher > .voucher-boder section p span:nth-child(3) {
  flex: 1;
}
.present > .voucher > .voucher-boder section p:last-child {
  margin-bottom: 0;
}
.present > .voucher p span:first-child {
  margin-left: 0.36rem;
  margin-right: 0.33rem;
}
.present .glist {
  margin-top: 0.5rem;
  padding: 0 0.33rem;
}
.present .glist-title {
  text-align: center;
  color: #541111;
  margin: 0.5rem 0.58rem 0.3rem;
  font-size: .25rem;
}
.present .glist-tips {
  font-size: .24rem;
  color: #541111;
  line-height: 0.32rem;
  padding: 0.3rem 0 0.3rem 0.6rem;
}
.present .glist-bg {
  background-color: #FFC4BA;
  padding: 0.1rem;
  border-radius: .1rem;
}
.present .glist-bg ul {
    border: .03rem solid #FF8773;
    border-radius: .06rem;
}
.present .glist li {
  position: relative;
  box-sizing: border-box;
  height: 1.66rem;
  margin: 0 auto;
  padding: .3rem 0 0 2.52rem;
  background-repeat: no-repeat;
  background-position: .7rem .3rem;
  background-size: 1.4rem 1rem;
}
.present .glist li:nth-child(1):after {
  border: none;
}
.present .glist li:after {
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  /*height: .04rem;*/
  content: '';
  border: 0.02rem dashed #F9B2A6;
  /*background-image: url(../image/national/gifts_dashed.png);*/
  /*background-size: 100% auto;*/
  /*background-position: 0 0;*/
}
.present .glist li > div {
  display: flex;
  height: 1rem;
  align-items: center;
  color: #521210;
  font-size: .26rem;
}
.present .glist li:last-child {
  margin-bottom: 0;
}
.present .glist .note {
  padding: .3rem 0 .4rem 0;
  color: #521210;
  font-size: .24rem;
}

.present .rules {
  width: 6.9rem;
  margin-top: .16rem !important;
  margin-left: auto;
  margin-right: auto;
}

/* 页脚版权 */
.copyright {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: .5rem;
  line-height: .5rem;
  text-align: center;
  background-color: #FF8D31;
}
.copyright:before {
  display: block;
  font-size: .44rem;
  transform: scale(.5,.5);
  content: '活动最终解释权归X游网所有';
  color: #C45213;
}
/* 中奖记录 */
.records {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  max-width: 750px;
  margin: 0 auto;
  background-color: #eee;
  opacity: 0;
  transform: translateX(-100%);
  transition: all .2s;
  z-index: 1000001;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.records.show {
  opacity: 1;
  transform: translateX(0);
}
.records header {
  position: relative;
  height: .9rem;
  line-height: .9rem;
  text-align: center;
  background-color: #ff393a;
}
.records header:after {
  content: '我的奖品';
  font-size: .32rem;
  color: #fff;
}
.records header a {
  display: block;
  position: absolute;
  width: .9rem;
  height: .9rem;
  background-image: url(../image/national/back_btn.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: .34rem .34rem;
  cursor: pointer;
}
.records section {
  position: relative;
  min-height: calc(100% - .45rem);
}
.records section ul {
  padding: .2rem .3rem;
  font-size: 0;
  overflow: hidden;
}
.records section ul li {
  display: inline-block;
  box-sizing: border-box;
  width: calc(50% - .1rem);
  /*height: 3rem;*/
  margin-bottom: .2rem;
  padding: 0.4rem 0;
  background-color: #fff;
}
.records section ul li:nth-of-type(odd) {
  margin-right: .1rem;
}
.records section ul li:nth-of-type(even) {
  margin-left: .1rem;
}
.records section ul li i {
  display: block;
  width: 1.2rem;
  height: 1.2rem;
  margin: 0 auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.records section ul li em {
  display: block;
  text-align: center;
  font-size: .24rem;
  color: #666;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.records section ul li em:before {
  content: '已发放至您账户';
}
.records section ul li em.code:before {
  content: '兑换码：';
}
.records section ul li em.voucher:before {
  content: '已发放至您账户';
}