* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    height: 100%;
    position: relative;
    overflow-x: hidden;
    background: url(../images/bg.png) top center/100%;
    background-repeat: no-repeat;
}

.register {
    width: 100%;
    max-width: 7.5rem;
    margin: 0 auto;
    padding: .36rem .25rem 0 .25rem;
}

.register .title {
    font-size: .4rem;
    font-weight: 600;
    color: rgba(42, 51, 82, 1);
    margin-bottom: .3rem;
    text-align: center;
}

.register .form-group {
    margin-bottom: .2rem;
}

.register .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    border-radius: .2rem;
    overflow: hidden;
}

.register .form-group.code .input-wrapper {
    background: rgba(226, 233, 255, 1);
    height: .9rem;
    border-radius: 0;
    padding-left: .25rem;
    color: rgba(161, 183, 255, 1);
}

.register .form-group.code .input-wrapper span {
    font-size: .3rem;
}
        
.register .input-wrapper input {
    flex: 1;
    height: .9rem;
    border: none;
    outline: none;
    padding: 0 .25rem;
    font-size: .3rem;
    color: #2a3352;
}
        
.register .code-btn {
    background: transparent;
    color: rgba(161, 183, 255, 1);
    border: none;
    height: .9rem;
    font-size: .28rem;
    cursor: pointer;
    position: absolute;
    right: 0;
    padding-right: .2rem;
}
        
.register .register-btn {
    width: 100%;
    height: .9rem;
    background-color: #9bc3ff;
    color: #fff;
    border: none;
    border-radius: .1rem;
    font-size: .3rem;
    margin-top: .1rem;
}

.footer {
    margin-top: .4rem;
    font-size: .26rem;
    color: #2a3352;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer a {
    color: #a1b7ff;
    text-decoration: none;
}

.footer input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: .44rem;
    height: .44rem;
    position: relative;
    margin-right: .1rem;
    background: url(../images/check.png) center center/100%;
}

.footer input[type="checkbox"]:checked::before {
  content: "";
  appearance: none;
  position: absolute;
  top: 0;
  left: 0;
  width: .44rem;
  height: .44rem;
  background: url(../images/checked.png) center center/100%;
}

.success {
    position: relative;
    margin: 0 auto;
    height: 100%;
    text-align: center;
}

.mascot-image {
    width: 2.82rem;
    margin-top: 1.4rem;
}

.success-title {
    font-size: .38rem;
    color: rgba(42, 51, 82, 1);
    font-weight: 600;
    line-height: .68rem;
    margin-bottom: .3rem;
}

.description {
    font-size: .38rem;
    color: rgba(255, 160, 66, 1);
    font-weight: 600;
}

.download-btn {
    background-color: rgba(155, 195, 255, 1);
    color: #fff;
    border: none;
    border-radius: .1rem;
    font-size: .32rem;
    font-weight: 600;
    cursor: pointer;
    width: 6.8rem;
    height: .8rem;
    position: absolute;
    bottom: 1.2rem;
    left: 50%;
    transform: translate(-50%,0);
}

/* 桌面样式 */
@media (min-width: 768px) {
    .download-btn {
        position: relative;
        transform: none;
        left: auto;
        bottom: auto;
        margin-bottom: 1rem;
    }
}
@supports (min-height: 100dvh) {
  .success { min-height: 100dvh; }
}