html, body {
    background: #3a71a8;
}
body{max-width: 640px;margin: 0 auto !important;}
.head {
    width: 100%;
    height: 0.44rem;
    background: #fff;
    font-weight: 500;
    font-size: 0.17rem;
    text-align: center;
    line-height: 0.44rem;
}
.saoma-wrap {
    width: 100%;
    height: calc(100vh - 0.12rem - 0.08rem);
    background: #3a71a8;
}
.saoma-wrap .top-img{
    width: 100%;
    display: block;
}
.main-wrap {
    /* height: calc(100vh - 0.12rem - 0.08rem);  */
    margin-top: 0.08rem;
    /*padding:0.55rem 0.12rem 0;*/
    padding: 0 0.38rem;
    background: #3a71a8;
}
.channel-wrap {
    margin-top: 0.08rem;
    padding: 0 0.12rem 0;
}
.main-box {
    position: relative;
    /*height: 3.88rem;*/
    background: #e6e8e9;
    padding-bottom: .13rem;
    border-radius: 0.08rem;
}

.logo {
    position: absolute;
    width: 0.88rem;
    height: 0.88rem;
    left: 50%;
    top: -0.44rem;
    transform: translateX(-50%);
}
.channel {
    /*position: absolute;*/
    /*left: 50%;*/
    /*top: 0.08rem;*/
    /*transform: translateX(-50%);*/
    padding-top: 0.07rem;
    font-weight: 500;
    /*padding: 1%;*/
    text-align: center;
    font-family: PingFang SC;
    font-size: .18rem;
    line-height: .25rem;
}
.main-box h3 {
    /* text-align: center; */
    margin-bottom: .01rem;
    text-align: center;
    font-size: 0.2rem;
    font-family: PingFang SC;
    font-weight: 500;
    line-height: .28rem;
}

.amount-box {
     display: flex;
    align-items: center;
    justify-content: center;
    line-height: .26rem;
}
.amount {
    font-weight: 500;
    font-size: 0.3rem;
    color: #02318B;
    /*padding-left: 36%;*/
    /* padding-left: 15px; */
}
.unit {
    font-weight: 500;
    font-size: 0.15rem;
    color: rgba(83, 92, 102, 0.6);
}
.code-box {
    position: relative;
    width: 1.54rem;
    height: 1.54rem;
    margin: 0.11rem auto .09rem;
}
.code-box img {
    width: 100%;
    height: 100%;
}
.code-box span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    font-weight: 500;
    font-size: 0.18rem;
    color: #9C5E5C;
}
.downtime {
    text-align: center;
    font-weight: 500;
    font-size: 0.18rem;
    line-height: 0.25rem;
}
.timer {
    font-weight: 500;
    font-size: 0.18rem;
    line-height: 0.25rem;
    color: #DD0000;
}
.order-num {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.06rem;
    font-weight: 500;
    font-size: 0.13rem;
    line-height: 0.18rem;
}
.order-num img {
    display: block;
    width: 0.16rem;
    height: 0.16rem;
    margin-left: 5px;
    cursor: pointer;
}

.btn-wrapper {
    display: flex;
    column-gap: 10px;
}

.open-btn {
    display: block;
    flex: 1;
    height: 0.44rem;
    margin-top: .1rem;
    line-height: 0.44rem;
    text-align: center;
    border: 2px solid #02318B;
    /* background-color:#e6a23c; */
    border-radius: 0.08rem;
    font-weight: 500;
    font-size: 0.16rem;
    /* color: #02318B; */
    color: #fff;
}
.download-btn {
    flex: 1;
    display: block;
    height: 0.44rem;
    margin-top: .1rem;
    line-height: 0.44rem;
    background: linear-gradient(180deg, #144CB8 0%, #02318B 100%);
    text-align: center;
    border-radius: 0.08rem;
    font-weight: 500;
    font-size: 0.16rem;
    color: #fff;
}

.tips {
    padding-bottom: .1rem;
    margin-top: .13rem;
    color: #fff;
}

.tips p {
    margin-bottom: .05rem;
    font-size: 0.13rem;
}

.hide {
    display: none;
}

.show {
    display: block;
}

#paid {
    padding-top: 1.06rem;
}

.pay-success-img {
    display: block;
    margin: 0 auto .35rem;
    width: 1.82rem;
    height: 1.82rem;
}

.pay-success-text {
    font-family: PingFang SC;
    font-size: .18rem;
    font-weight: 500;
    line-height: .25rem;
    text-align: center;
    color: #535C66;
}
