html {
  background-color: #d72c34;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  min-width: 320px;
  max-width: 440px;
  margin: 0 auto;
  background-color: inherit;
  font-size: .28rem;
}

.dialog {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, .8);
  z-index: 10000;
}

.dialog .window {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 75%;
  /* height: 5.8rem; */
  background-color: #fff;
  border-radius: .2rem;
  text-align: center;
  font-size: .36rem;
  font-weight: bold;
  box-sizing: border-box;
  padding: .5rem;
}

.dialog .window>img {
  width: 80%;
  margin: .2rem;
}

.bg {
  width: 100%;
  background-repeat: no-repeat, repeat-x, no-repeat;
  background-size: 2.3rem auto, auto 2rem, contain;
  background-position: center bottom .5rem, top 9.4rem center, top center;
  position: relative;
  display: none;
}

.index {
  /*background-color: #d72c34;*/
  background-image: url(https://image2.vipc.cn/zt/20190717/0/home.jpg), url(https://image2.vipc.cn/zt/20190717/0/logo.png);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: 100% auto, 139px 30px;
  background-position: top center, bottom 20px center;
}

.index .startBtn {
  position: absolute;
  display: block;
  width: 3rem;
  height: .9rem;
  line-height: .9rem;
  border-radius: .9rem;
  background-color: #ffffff;
  color: #d72c34;
  font-size: .42rem;
  text-align: center;
  margin: auto;
  left: 0;
  right: 0;
  bottom: 1.8rem;
  z-index: 9;
}

#loading {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: .24rem;
  width: 1rem;
  height: 2rem;
  z-index: 999;
}

#loading>p {
  position: absolute;
  bottom: 0;
  text-align: center;
  width: 100%;
}

#select {
  background-color: #2e3044;
  background-image: url(https://image2.vipc.cn/zt/20190717/0/select_top.jpg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top center;
}

#select .background {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
}

#select .background.comment {
  width: 5.4rem;
  top: 1rem;
}

.playground {
  width: 100%;
  height: 9.2rem;
  background-image: url(https://image2.vipc.cn/zt/20190717/0/playground.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom center;
  position: relative;
}

.playground .total {
  display: inline-block;
  box-sizing: border-box;
  padding: .05rem .4rem .05rem .3rem;
  width: 1.9rem;
  height: .9rem;
  position: absolute;
  left: 0;
  bottom: .3rem;
  font-size: .28rem;
  color: #fee6bf;
  background-color: rgba(0, 0, 0, .8);
  border-top-right-radius: .9rem;
  border-bottom-right-radius: .9rem;
}

.playground .finishBtn {
  position: absolute;
  right: .3rem;
  bottom: .35rem;
  display: inline-block;
  width: .8rem;
  height: .8rem;
  line-height: .8rem;
  color: #ffffff;
  background-color: #e8292e;
  text-align: center;
  border-radius: 100%;
  z-index: 1000;
}

.selectBar {
  width: 100%;
  background-color: #2e3044;
  color: #a7a7a7;
}

.selectBar .tabs {
  width: 100%;
  height: .8rem;
  border-bottom: 1px solid #353535;
}

.selectBar .tabs .tab {
  width: 20%;
  height: .8rem;
  float: left;
  text-align: center;
  line-height: .8rem;
}

.tabs .tab>a {
  color: inherit;
  padding: .05rem;
}

.tabs .tab.selected>a {
  color: #fff2cc;
  border-bottom: 2px solid #fff2cc;
}

.selectBar .content {
  box-sizing: border-box;
  padding: .4rem 0 .5rem;
  width: 100%;
  height: 3.3rem;
  overflow: hidden;
}

.selectBar .content .playerList {
  box-sizing: border-box;
  padding: .2rem .3rem;
  width: 100%;
  height: 100%;
  background-color: #191b28;
  display: flex;
  display: -webkit-flex;
  flex-direction: row;
  -webkit-flex-direction: row;
  flex-wrap: nowrap;
  -webkit-flex-wrap: nowrap;
  justify-content: flex-start;
  -webkit-justify-content: flex-start;
  overflow-x: scroll;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.selectBar .content .playerList::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.content .playerList .warp {
  height: 2rem;
  display: none;
  /* display: flex;
    display: -webkit-flex; */
  flex-direction: row;
  -webkit-flex-direction: row;
  flex-wrap: nowrap;
  -webkit-flex-wrap: nowrap;
  justify-content: flex-start;
  -webkit-justify-content: flex-start;
  align-content: center;
  padding-right: 1rem;
}

.content .playerList .warp.selected {
  display: flex;
}

.content .playerList .playerItem {
  position: relative;
  width: 1.5rem;
  min-width: 1.5rem;
  height: 100%;
  background-color: #fff;
  transform-origin: 0 100%;
  transform: skew(-20deg);
  overflow: hidden;
}

.content .playerList .playerItem.selected::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  content: "";
  background-color: rgba(0, 0, 0, .8);
  z-index: 10;
}

.content .playerList .playerItem+.playerItem,
.content .playerList .warp+.warp {
  margin-left: .1rem;
}

/* .content .playerList .warp:last-child {
    padding-right: 1rem;
} */

.playerItem .avatar {
  width: 100%;
  height: 1.26rem;
  transform: skew(20deg);
  text-align: center;
  overflow: hidden;
}

.playerItem .avatar>img {
  height: 100%;
  border-radius: 100%;
}

.playerItem .desc {
  width: 100%;
  text-align: center;
  line-height: 1.3;
  position: absolute;
  bottom: 0;
  background-color: #fff2cc;
}

.playerItem .desc>p {
  color: #000000;
  transform: skew(20deg);
  /* padding: 0 .05rem; */
}

.playground .content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 2.1rem .45rem .8rem;
}

.playground .content .pos {
  display: flex;
  justify-content: space-around;
  width: 100%;
  height: 1.8rem;
}

.pos[data-pos="row1"] .onPlayer:first-child {
  margin-left: 1rem;
}

.pos[data-pos="row1"] .onPlayer:last-child {
  margin-right: 1rem;
}

.pos[data-pos="row2"] .onPlayer:first-child {
  margin-right: 1rem;
}

.pos[data-pos="row2"] .onPlayer:last-child {
  margin-left: 1rem;
}

.pos[data-pos="row3"] .onPlayer {
  margin-top: -0.5rem;
}

.content .pos .onPlayer {
  width: 1.2rem;
  height: 100%;
  font-size: 0.24rem;
  color: #fff;
  text-align: center;
  position: relative;
}

.pos .onPlayer .value {
  display: none;
  position: absolute;
  background-color: rgba(0, 0, 0, .7);
  text-align: center;
  height: .4rem;
  line-height: .4rem;
  color: #fee6bf;
  padding: 0 .2rem;
  border-radius: .4rem;
  top: .7rem;
  z-index: 10;
  left: 0;
  right: 0;
  margin: 0 auto;
  font-size: .20rem;
}

.pos .onPlayer.selected .value {
  display: inline-block;
}

.pos .onPlayer .avatar {
  width: 1.08rem;
  height: 1.08rem;
  margin: 0 auto;
  border-radius: 100%;
  border: 3px solid #fff2cc;
  background-color: #fff;
  position: relative;
  z-index: 10;
}

.onPlayer .avatar>img {
  width: 100%;
  height: 100%;
  border-radius: 100%;
}

.onPlayer .avatar::after {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  bottom: -.3rem;
  z-index: -1;
  display: block;
  content: "";
  width: 0;
  height: 0;
  border-width: .15rem;
  border-style: solid;
  border-color: #fff2cc transparent transparent transparent;
}

.onPlayer.selected .avatar {
  transform-origin: 50% 100%;
  transform: scale(1.1);
  border-color: #e8292e;
}

.onPlayer.selected .avatar::after {
  border-color: #e8292e transparent transparent transparent;
}

.onPlayer .name {
  margin-top: .15rem
}

#result {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background-color: #000; */
  z-index: 999;
  display: none;
}

#result .top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 50px;
  line-height: 50px;
  background-color: rgba(0, 0, 0, 0.6);
  font-size: 18px;
  color: #fff;
  text-align: center;
  z-index: 99;
}

#result .bottom {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding-top: 9.2rem;
  position: absolute;
  bottom: 0;
  z-index: 1;
}

#result .bottom .qrcode {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #2e3044;
}

.bottom .qrcode>a {
  display: inline-block;
  width: 2.92rem;
  height: .82rem;
  line-height: .82rem;
  border-radius: .82rem;
  border: 2px solid #fff3ca;
  color: #fff3ca;
  text-align: center;
  font-size: .42rem;
  position: relative;
  z-index: 1000;
}

.bottom .qrcode .date {
  color: #a7a7a7;
}

.qrcode .date>img {
  width: 1.9rem;
  margin-top: .2rem;
}

#result .share {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  /*opacity: 0;*/
}

#result .share>img {
  display: block;
  width: 100%;
  height: 100%;
}

.loader,
.loader:before,
.loader:after {
  background: #ffffff;
  -webkit-animation: load1 1s infinite ease-in-out;
  animation: load1 1s infinite ease-in-out;
  width: .25rem;
  height: 2rem;
}

.loader {
  color: #ffffff;
  text-indent: -9999em;
  font-size: 11px;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%)
}

.loader:before,
.loader:after {
  position: absolute;
  top: 0;
  content: '';
}

.loader:before {
  left: -1.5em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.loader:after {
  left: 1.5em;
}

@-webkit-keyframes load1 {
  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 4em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}

@keyframes load1 {
  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 4em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}

.animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translate3d(100%, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.fadeInRight {
  animation-name: fadeInRight;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translate3d(-100%, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.fadeInLeft {
  animation-name: fadeInLeft;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.fadeInDown {
  animation-name: fadeInDown;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.fadeInUp {
  animation-name: fadeInUp;
}

@keyframes fadeOutDown {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }
}

.fadeOutDown {
  animation-name: fadeOutDown;
}

@keyframes fadeOutLeft {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translate3d(-100%, 0, 0);
  }
}

.fadeOutLeft {
  animation-name: fadeOutLeft;
}

@keyframes fadeOutRight {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translate3d(100%, 0, 0);
  }
}

.fadeOutRight {
  animation-name: fadeOutRight;
}

@keyframes fadeOutUp {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
}

.fadeOutUp {
  animation-name: fadeOutUp;
}

#loading.withoutProgress .progress {
  display: none;
}