html {
    -ms-touch-action: none;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
p,
blockquote,
dl,
dt,
dd,
ul,
ol,
li,
pre,
form,
fieldset,
legend,
button,
input,
textarea,
th,
td {
    margin: 0;
    padding: 0
}

body,
button,
input,
select,
textarea {
    font: 12px/1.5 "PingFang SC", "Source Han Sans CN", Arial sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%
}

em {
    font-style: normal
}

ul,
ol {
    list-style: none
}

a {
    text-decoration: none
}

a:hover {
    text-decoration: underline
}

fieldset,
img {
    border: 0
}

button,
input,
select,
textarea {
    font-size: 100%;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden
}

.clearfix {
    zoom: 1;
}

.htxt {
    height: 0;
    display: block;
    overflow: hidden;
}

body {
    font-family: "PingFang SC", "Source Han Sans CN", Arial sans-serif;
}

img {
    width: 100%;
    max-width: 100%;
}

body,
html,
.wrap {
    width: 100%;
    height: 100%;
    /*max-width: 7.5rem;*/
    background-color: #000000;
}

body {
    padding: 0;
    margin: 0;
}

.none {
    display: none;
}

.warp-err,
.warpper,
.wrap,
.mod {
    position: absolute;
    z-index: 8 !important;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0;
}

.warpper {
    top: 0;
    left: 0;
    margin: auto 0;
    opacity: 1;
    display: block;
}

.warp-err {
    width: 10.80rem;
    left: 50%;
    margin-left: -5.4rem;
    z-index: 999;
    opacity: 0;
    background-color: #ffffff;
    display: none;
}

.errBox {
    position: absolute;
    width: 4rem;
    height: 5rem;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    margin-top: -1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.screen-end {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    background: transparent;
    z-index: 1999;
    display: none;
}

.screen-end {
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0);
}

.btnsBox {
    position: absolute;
    width: 100%;
    height: 1rem;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 4.4rem;
    z-index: 999;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.btnShare {
    position: relative;
    width: 52%;
    height: 100%;
    /* border: 1px solid green; */
}

.btnReplay {
    position: relative;
    width: 42%;
    height: 100%;
    /* border: 1px solid green; */
}

.wrap {
    min-height: 12.06rem;
    z-index: 99 !important;
    color: #000;
    background-color: #ffffff;
}

.btnCloseMusic {
    position: absolute;
    width: .46rem;
    height: .4rem;
    right: .3rem;
    top: .3rem;
    opacity: 0;
    z-index: 99;
}

.btnCloseMusic {
    background: url("../res/btnMusicOn.png?v=2024031001") no-repeat center;
    background-size: 100% 100%;
}

.musicPause {
    background: url("../res/btnMusicOff.png?v=2024031001") no-repeat center;
    background-size: 100% 100%;
}

.btnCloseMusic:after {
    background: url("../res/btnMusicOff.png?v=2024031001") no-repeat center;
    background-size: 100% 100%;
}

.shareContent {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999;
    display: none;
}

.shareImg {
    position: absolute;
    width: 1.5rem;
    height: 1.51rem;
    top: .3rem;
    right: .3rem;

    animation: shareTipsAnimate 1.0s infinite;
    -webkit-animation: shareTipsAnimate 1.0s infinite;
}

@keyframes shareTipsAnimate {
    0% {
        opacity: 1;
        transform: scale(1);
        -webkit-transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.1);
        -webkit-transform: scale(1.1);
    }

    100% {
        opacity: 1;
        transform: scale(1);
        -webkit-transform: scale(1);
    }
}

.screen-ipt {
    position: absolute;
    width: 100%;
    height: 3.62rem;
    top: 50%;
    transform: translateY(-50%);
    margin-top: -3rem;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    background: transparent;
    z-index: 1999;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
}

.nameBox {
    position: relative;
    width: 5.4rem;
    height: 1.4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.iptText {
    position: relative;
    width: 3rem;
    height: .32rem;
    background: transparent url(../res/div/iptText.png) no-repeat center;
    background-size: 100% 100%;
}

.iptBox {
    position: relative;
    width: 5.4rem;
    height: .87rem;
    margin-top: 0.15rem;
    background: transparent url(../res/div/iptBox.png) no-repeat center;
    background-size: 100% 100%;
    /* border: 1px solid red; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.btnBox,
.btnOK {
    position: relative;
    width: 2.82rem;
    height: 1.45rem;
}


.btnOK {
    border: none;
    background: url("../res/div/btnOK.png") no-repeat center;
    background-size: 100% 100%;
    animation: tipsAnimate 1.0s infinite;
    -webkit-animation: tipsAnimate 1.0s infinite;
}

.btnOK:active {
    background: url("../res/div/btnOK.png") no-repeat center;
    background-size: 100% 100%;
}

.btnOK:active:after {
    background: url("../res/div/btnOK.png") no-repeat center;
    background-size: 100% 100%;
}

input:checked {
    border: none;
}

::input-placeholder {
    color: #fffadc;
}

::-webkit-input-placeholder {
    color: #fffadc;
}

::-moz-placeholder {
    color: #fffadc;
}

:-ms-input-placeholder {
    color: #fffadc;
}

.nameIpt {
    width: 4.6rem;
    height: .5rem;
    /* border: 1px solid gray; */
}

.ipt {
    border: none !important;
    outline: none;
    background: transparent;
    color: #000;
    font-size: .4rem;
    font-weight: bold;
    text-align: center;
    overflow: hidden;
}

.saveImgBox {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    opacity: 0;
    z-index: 10;
}

@keyframes tipsAnimate {
    0% {
        transform: scale(1);
        -webkit-transform: scale(1);
    }

    50% {
        transform: scale(0.95);
        -webkit-transform: scale(0.95);
    }

    100% {
        transform: scale(1);
        -webkit-transform: scale(1);
    }
}

.btnBonus {
    animation: tipsAnimate2 1.0s infinite;
    -webkit-animation: tipsAnimate2 1.0s infinite;
}

@keyframes tipsAnimate2 {
    0% {
        transform: scale(0.95);
        -webkit-transform: scale(0.95);
    }

    50% {
        transform: scale(1);
        -webkit-transform: scale(1);
    }

    100% {
        transform: scale(0.95);
        -webkit-transform: scale(0.95);
    }
}