@charset "utf-8";

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  padding: 0;
  margin: 0;
  border: 0;
  outline: 0;
  font-weight: inherit;
  font-style: inherit;
  font-family: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

html,
body {
  height: 100%;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

table {
  border-collapse: separate;
  border-spacing: 0;
  vertical-align: middle;
}

caption,
th,
td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

a img {
  border: none;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
main {
  display: block;
  padding: 0;
  margin: 0;
  border: 0;
  outline: 0;
  font-weight: inherit;
  font-style: inherit;
  font-family: inherit;
  font-size: 100%;
}

audio,
canvas,
video {
  display: inline-block;
}

audio:not([controls]),
[hidden] {
  display: none;
}

/* iPhone4/5 */
@media (max-width: 320px) {
  html {
    font-size: 42.66665px;
  }
}

/* iPhone 6 */
@media (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) {
  html {
    font-size: 50px;
  }
}

/* iPhone 6 + */
@media (min-device-width: 414px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3) {
  html {
    font-size: 55.2px;
  }
}

@media (min-width: 321px) and (max-device-width: 374px) {
  html {
    font-size: 47px;
  }
}

@media (min-width: 737px) and (max-device-width: 1024px) {
  html {
    font-size: 80px;
  }
}

body {
  font-family: PingFangSC-Regular, 'helvetica neue', 'hiragino sans gb', tahoma, 'microsoft yahei ui', 'microsoft yahei', simsun, sans-serif;
  font-size: 0.3rem;
  color: #333;
  -webkit-text-size-adjust: 100% !important;
}

a,
img,
div,
button,
input {
  -webkit-tap-highlight-color: transparent;
}

input,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

a {
  color: #333;
  text-decoration: none;
}

nav {
  list-style: none;
}

img {
  max-width: 100%;
}

.afterfix:after {
  content: '';
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

a {
  color: #fff;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
  outline: none;
}

a:focus {
  text-decoration: none;
  outline: none;
}

:focus {
  outline: 0;
}

form {
  height: 100%;
}
button{
  padding: 0;
  margin: 0;
  border: 0;
  background-color: transparent;
}

*{
  box-sizing: border-box;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

@keyframes spin {
  0% {
    /*bottom: 0.2rem;*/
    opacity: 0;
  }

  100% {
    /*bottom: 0.5rem;*/
    opacity: 0.75;
  }
}

@-webkit-keyframes spin {
  0% {
    /*bottom: 0.2rem;*/
    opacity: 0;
  }

  100% {
    /*bottom: 0.5rem;*/
    opacity: 0.75;
  }
}


/*//针对虚拟按键的手机*/
@media screen and (max-aspect-ratio:9/12) and (min-aspect-ratio:9/14) {}

.container{
  height: 100%;
  background-position: center top;
  background-size: contain;
}
.page{
  height: 100%;
  width: 100%;
  background: #f5f5f5;
  overflow: hidden;
  position: relative;
  max-width: 750px;
  margin: 0 auto;
}
.section{
  width: 100%;
  height: 100%; 
  position: absolute;
  left: 0;
  top: 0;
  background-position: center top;
  background-size: cover;
  background-image: url(../imgs/bg.webp);
  /* background: url("../imgs/bg.png") center top/cover no-repeat; */
} 
.btns button{
  display: block;
  width: 3.94rem;
  height: 1.12rem;
  cursor: pointer;
  margin: 0 auto;
  margin-bottom: 0.25rem;
}
.p1{
  background-position: center top;
  background-size: cover;
  background-image: url(../imgs/index.webp);
  /* background: url("../imgs/index.png") center top/cover no-repeat; */
}
.p1 .btns{
  padding-top: 14.66rem;
}
.p1 .btns button{
  width: 5.42rem;
  opacity: 0;
}

.rule{
  z-index: 10;
  background-position: center top;
  background-size: cover;
  background-image: url(../imgs/rule.webp);
  /* background: url("../imgs/rule.png") center top/cover no-repeat; */
}
.rule .btns{
  padding-top: 16.1rem;
}
.rule .btns button{
  width: 4rem;
  opacity: 0;
}

.select-img-border{
  z-index: 19;
}
.select-img-border .txt1{
  padding-top: 3rem;
}
.select-img-border .txt img{
  display: block;
  margin: 0 auto;
}
.select-img-border .txt1 img{
  width: 7.71rem;
}
.select-img-border .txt2{
  position: absolute;
  top: 3.3rem;
  left: 50%;
  margin-left: -3.3rem;
}
.select-img-border .txt2 img{
  width:6.6rem;
}


.select-img-border .touch-area{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  padding: 5.43rem 0 0;
}
.select-img-border .touch-area.active{
  background-color:rgba(0, 0, 0, 0.7);
}
.select-img-border .touch-area.result{
  padding-top: 3.8rem;
}
.select-img-border .img-wrap{
  margin: 0 auto;
  width: 7.16rem;
  height: 9.5rem;
  padding: 0;
  position: relative;
}
.select-img-border .close{
  position: absolute;
  top: 4.7rem;
  right: 0.73rem;
  width: 1rem;
  height: 1rem;
  background-size: 0.6rem auto;
  background-image: url(../imgs/close.png);
  cursor: pointer;
  z-index: 2;
}
.select-img-border .img-wrap .tmmask{
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 22;
}
.select-img-border .img-wrap .mask{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 12;
}
.select-img-border .img-wrap .mask i{
  display: block;
  width: 4.04rem;
  height: 2.65rem;
  position: absolute;
  right: 0;
  bottom: 0.2rem;
  z-index: 1;
}
/* .select-img-border .img-wrap .mask i.ico0,
.select-img-border .img-wrap .mask i.ico5{ 
  right: 0.1rem;
}
.select-img-border .img-wrap .mask i.ico1{
  right: 0.2rem;
}
.select-img-border .img-wrap .mask i.ico4{
  right: -0.05rem;
} */
.select-img-border .img-wrap .mask button{
  width: 0.94rem;
  height: 1.22rem;
  position: absolute;
  top: 50%;
  margin-top: -0.8rem;
  background-image: url(../imgs/btn-arrow.png);
  animation: arrowMove 1s ease 0s infinite;
}
.select-img-border .img-wrap .mask button.left{
  left: -1.32rem;
  --rotate:0deg;
  --x:-0.1rem;
}
.select-img-border .img-wrap .mask button.right{
  right: -1.32rem;
  --rotate:180deg;
  --x:0.1rem;
  transform: rotate(var(--rotate));
}
@keyframes arrowMove {
  from{
    transform: translate(0, 0) rotate(var(--rotate));
  }
  to{
    transform: translate(var(--x), 0) rotate(var(--rotate));
  }
}
.select-img-border .img-wrap .img{
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  background-color: #fff;
}
.select-img-border .img-wrap .mask img{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  transform-origin: center;
  user-select: none;
  -webkit-user-drag: none;
}
.select-img-border .img-wrap .mask img.img-border{
  opacity: 0;
  pointer-events: none;
  /* 额外保险：防止图片被重新布局 */
  will-change: opacity;
}
.select-img-border .img-wrap .mask img.img-border.show{
  opacity: 1;
}
.select-img-border .img-wrap .img  img{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  transform-origin: center;
  user-select: none;
  -webkit-user-drag: none;
}
.select-img-border .btns{
  position: absolute;
  top: calc( 11.11rem + 4.8rem);
  left: 0;
  width: 100%;
  z-index: 5;
}
.select-img-border .btns.btns-result{
  top: calc( 11.11rem + 3.4rem);
}
.select-img-border .btns .btn-select{
  background-image: url(../imgs/jiuxuanzhege.png);
}
.select-img-border .btns .btn-select.haspic{
  background-image: url(../imgs/shangchuan.png);
}
.select-img-border .btns input{ 
  visibility: hidden;
  opacity: 0;
  display: block;
  width: 0;
  height: 0;
}
.select-img-border .btns .btn-creat{
  background-image: url(../imgs/kaishizhizuo.png);
}
.select-img-border .btns .btn-result{
  width: 5.42rem;
  background-image: url(../imgs/shengchengshentu.png);
}
.select-img-border .btns .btn-reset{
  width: 5.42rem;
  background-image: url(../imgs/chognxin.png);
}
.select-img-border .btns .btn-save{
  width: 5.42rem;
  height: 1.12rem;
  margin: 0 auto 0.25rem;
  background-image: url(../imgs/changan.png);
}
.select-img-border .btns .btn-save img{
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
}
.select-img-border .btns .btn-link{
  display: block;
  width: 5.42rem;
  height: 1.12rem;
  margin: 0 auto 0.25rem;
  background-image: url(../imgs/lingqu.png);
}

.load-box{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}
.loading {
    width: 2rem;
    height: 2rem;
    position: relative;
}
.loading::before {
    position: absolute;
    content: "";
    top: 0px; left: 0px; right: 0px; bottom: 0px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top: 3px solid #00886f;
    border-left: 3px solid #00886f;
    animation: loadingrotate 1s infinite ease-out;
}
.loading::after {
    position: absolute;
    content: "";
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    border-radius: 50%;
    border: 7px solid transparent;
    border-bottom: 7px solid #66b8a9;
    border-right: 7px solid #66b8a9;
    animation: loadingrotate 2s infinite ease-in-out;
}
@keyframes loadingrotate {
    100% {
        transform: rotate(360deg);
    }
}

.loading-page{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.loading-page .box .img{
  margin: 0 auto;
  width: 5.5rem;
  margin-bottom: 0.25rem;
}
.loading-page .box .progress-bar{
  width: 5.86rem;
  height: 0.4rem;
  border-radius: 0.2rem;
  border: 0.03rem solid #00886f;
  padding: 0.05rem;
  margin-bottom: 0.5em;
}
.loading-page .box .progress-bar span{
  display: block;
  width: var(--width);
  height: 100%;
  background-color: #66b8a9;
  border-radius: 0.12rem;
}
.loading-page .box .txt p{
  text-align: center;
  font-size: 0.36rem;
  font-weight: 700;
  color: #66b8a9;
}