html,body {
    height: 100%;
    width: 100%;
}
body{
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Microsoft Yahei", sans-serif;
    font-size: 16px;
    max-width: 768px;
    margin: 0 auto;
}
*{
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}
.indexBg{
    background: #d4d1ff linear-gradient(180deg,#7cbdff 5%, #ceceff 39%, #ebd4ff 72%, #d4d1ff 96%) no-repeat;
    height: auto;
}
.indexHeader{
    color: #ffffff;
    text-align: center;
    padding: 40px 20px 20px 20px;
}
.indexAppName {
    font-size: 36px;
    font-weight: bolder;
}
.indexAppDesc{
    font-size: 18px;
    margin-top: 10px;
}
.indexAppIcon{
    width: 260px;
    height: 244px;
    margin-top: 36px;
}
.indexAppTips{
    display: flex;
    align-items: center;
    margin: 0 16px;
    padding-top: 32px;
}
.indexAppTipsItem{
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    color: #ffffff;
    margin: 0 auto;
}
.indexAppTipsItem img{
    width: 44px;
    margin-bottom: 10px;
}
.indexContent{
    padding: 0 0 20px 0;
}
.indexContent img{
    display: block;
    width: 100%;
    height: auto;
}
.ruleWrap{
    padding: 0 12px;
}
.ruleTitle{
    height: 20px;
    line-height: 20px;
    background: url("https://21443023.s21i.faimallusr.com/4/ABUIABAEGAAgrdu0uwYogMTJlwEwzwQ4Gg.png") no-repeat center;
    background-size: 296px auto;
    font-size: 18px;
    color: #515151;
    text-align: center;
}
.ruleBody{
    margin-top: 16px;
    background: #fff4f8;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 13px;
    color: #484848;
    line-height: 1.6;
}
.footer{
    text-align: center;
    font-size: 12px;
    padding: 20px;
    color: #f5f5f5;
}
.footer a{
    text-decoration: none;
    color: inherit;
}
.toolbarWrap {
    height: calc(44px + 48px + env(safe-area-inset-bottom));
}
.uploadButton{
    position: fixed;
    left: 48px;
    right: 48px;
    bottom: calc(24px + env(safe-area-inset-bottom));
    height: 44px;
    text-align: center;
    line-height: 44px;
    border-radius: 22px;
    background: #c20000;
    color: #ffffff;
    animation: scaleButton 3s infinite;
    cursor: pointer;
    font-size: 20px;
}

@keyframes scaleButton {
    0% {
        transform: scale(1)
    }
    25% {
        transform: scale(1.1)
    }
    50% {
        transform: scale(1)
    }
    75% {
        transform: scale(1.1)
    }
}

/*loading页*/
.loadingPage{
    width: 100%;
    height: 100%;
    background: #131535;
    color: #ffffff;
    padding-top: 60px;
    font-size: 12px;
}
.loadingBody{
    width: 320px;
    height: 320px;
    margin: 0 auto;
    position: relative;
}
.loadingIn{
    width: 320px;
    height: 320px;
    display: block;
    animation: rotate 5s infinite linear;
}
.loadingOut{
    width: 320px;
    height: 320px;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    animation: rotateBack 3s infinite linear;
}
.loadingImg{
    object-fit: cover;
    border-radius: 50%;
    position: absolute;
    width: 250px;
    height: 250px;
    left: 35px;
    top: 35px;
}
.loadingScan{
    border-radius: 50%;
    position: absolute;
    width: 250px;
    height: 250px;
    left: 35px;
    top: 35px;
    overflow: hidden;
}
.loadingScanImg{
    display: block;
    width: 100%;
    position: absolute;
    left: 0;
    top: -44px;
    animation: scan 2s infinite linear;
}
.loadingFooter{
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 32px;
    display: flex;
    align-items: center;
}
.loadingFooterBody{
    flex: 1;
}
.loadingProgressWrap{
    height: 40px;
    color: #a7a7a7;
}
.loadingProgress{
    margin-bottom: 4px;
}
.loadingProgress span{
    color: #ff7cb2;
    margin: 0 4px;
}
.loadingFooterGif{
    width: 80px;
    height: 80px;
    display: block;
}
@keyframes scan{
    0%{
        top: -44px;
    }
    100%{
        top: 235px;
    }
}
@keyframes rotate{
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}
@keyframes rotateBack{
    0%{
        transform: rotate(360deg);
    }
    100%{
        transform: rotate(0deg);
    }
}
/*支付页面*/
.resultHeader{
    width: 100%;
    height: 352px;
    background: url("https://21443023.s21i.faimallusr.com/4/ABUIABAEGAAgqJfDuwYo8LzI6AIwoAY48AU.png") no-repeat center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}
.resultHeaderBody{
    width: 250px;
    height: 250px;
    background: url("https://21443023.s21i.faimallusr.com/4/ABUIABAEGAAgqJfDuwYo5J363wYwpAQ4pAQ.png") no-repeat center;
    background-size: cover;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.beautyTitle{
    text-align: center;
    font-size: 12px;
    color: #ffffff;
    line-height: 20px;
    margin-top: -20px;
}
.beautyScore{
    font-size: 72px;
    text-align: center;
    font-weight: bolder;
    color: #ffffff;
    line-height: 1;
}
.resultHeaderFooter{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.resultHeaderTitle {
    width: 185px;
    height: 40px;
    box-sizing: border-box;
    background: #ff7cb2;
    border: 2px solid #ffffff;
    border-radius: 20px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.resultHeaderDate{
    text-align: center;
    color: #ffffff;
    font-size: 12px;
    margin-top: 12px;
}
.resultBaseWrap{
    position: relative;
    margin-top: -40px;
    margin-bottom: 40px;
}
.resultBase{
    margin: 0 18px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 0 5px 0 rgba(255,124,178,0.24);
    height: 86px;
    display: flex;
    align-items: center;
}
.resultBaseItem{
    flex: 1;
    text-align: center;
}
.resultBaseLine{
    width: 1px;
    background: #ffd6e7;
    height: 24px;
}
.baseResult{
    font-size: 16px;
    color: #ff3a8b;
}
.baseName{
    font-size: 14px;
    color: #404040;
    margin-top: 4px;
}
.resultTitle{
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff3a8b;
    gap: 12px;
}
.resultTitle:before,
.resultTitle:after{
    display: block;
    height: 1px;
    content: '';
    width: 60px;
    background: #ff3a8b;
}
.exampleWrap{
    margin-top: 20px;
    text-align: center;
    position: relative;
}
.exampleImg{
    width: 294px;
    height: 150px;
}
.exampleWrap:after {
    display: block;
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(to bottom,rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
}
.resultPayWrap{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 0;
}
.resultPayTips{
    display: flex;
    align-items: center;
    color: #333333;
    font-size: 18px;
}
.resultPayLock{
    display: block;
    width: 18px;
    height: 18px;
    margin-right: 8px;
}
.resultPayButton{
    font-size: 18px;
    height: 50px;
    color: #ffffff;
    background: #50a2e6;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    width: 186px;
    animation: payHot 1s ease-in infinite reverse;
}
@keyframes payHot {
    0%{
        transform: scale(0.95);
    }
    50%{
        transform: scale(1);
    }
    100%{
        transform: scale(0.95);
    }
}
/*结果页面*/
.radarWrap{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 0;
}
#radarChart{
    width: 300px;
    height: 300px;
}
.card {
    padding: 20px;
}
.cardHeader {
    margin-bottom: 20px;
}
.cardTitle {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}
.cardTitleText {
    display: block;
    font-size: 18px;
    font-weight: bold;
    line-height: 40px;
    color: #0a0a0a;
}
.cardTitleScore {
    font-size: 18px;
    box-sizing: border-box;
    width: 70px;
    height: 32px;
    border-radius: 16px;
    border: 2px solid #ff7cb2;
    color: #ff7cb2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}
.cardSubtitle {
    font-size: 16px;
    color: #484848;
}
.cardSubtitle span {
    margin: 0 5px;
    color: #ff7cb2;
}
.spotItems {
    display: flex;
    align-items: center;
}
.spotItem {
    flex: 1;
    text-align: center;
}
.spotItemLine {
    width: 1px;
    background-color: #f2f2f2;
    height: 32px;
}
.spotItemNumber {
    font-size: 18px;
    font-weight: bolder;
    color: #ff7cb2;
}
.spotItemName {
    font-size: 14px;
    color: #aeaeae;
}
.resultImageWrap {
    padding: 24px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.resultImage {
    display: block;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    background: url("https://21443023.s21i.faimallusr.com/3/ABUIABADGAAgyfzDuwYo0M7kwgIwmgM4mgM.gif") no-repeat center;
    background-size: cover;
}
.spotCls {
    position: absolute;
    left: 0;
    top: 24px;
}
.spotClsItem {
    display: flex;
    align-items: center;
    margin-bottom: 2px;
}
.spotClsColor {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.spotClsName {
    display: block;
    font-size: 12px;
    color: #222222;
    margin-left: 6px;
}
.chiWrap {
    display: flex;
    align-items: center;
}
.chiName {
    width: 45px;
    text-align: right;
    margin-right: 10px;
    color: rgb(255, 58, 128);
    font-size: 12px;
}
.chiBody {
    flex: 1;
    box-sizing: border-box;
    padding: 0 8px;
}
.chiTitle {
    display: flex;
    line-height: 30px;
    text-align: center;
    font-size: 14px;
    color: #9e9e9e;
}
.chiTitleColumn {
    flex: 1;
}
.chiLine {
    display: flex;
    height: 5px;
    border-right: 1px dashed rgba(255, 58, 128, 0.2);
}
.chiLineColumn {
    flex: 1;
    border-left: 1px dashed rgba(255, 58, 128, 0.2);
    border-bottom: 1px dashed rgba(255, 58, 128, 0.2);
}
.chiProgress {
    display: flex;
    align-items: center;
    position: relative;
    border-right: 1px dashed rgba(255, 58, 128, 0.2);
}
.chiProgressColumn {
    flex: 1;
    height: 30px;
    border-left: 1px dashed rgba(255, 58, 128, 0.2);
}
.chiProgressBar {
    height: 10px;
    background: rgba(255, 58, 128, 0.2);
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
}
.chiProgressBarOn {
    height: 10px;
    background: linear-gradient(90deg, rgba(255, 58, 128, 0.1), rgb(255, 58, 128));
    position: absolute;
    top: 10px;
    left: 0;
}
.chiProgressPoint {
    width: 16px;
    height: 16px;
    border: 3px solid rgb(255, 58, 128);
    border-radius: 50%;
    background: #ffffff;
    box-sizing: border-box;
    position: absolute;
    top: 7px;
    left: calc(0% - 8px);
}
.resultTips {
    color: rgb(51, 51, 51);
    background: rgba(255, 58, 128, 0.05);
    padding: 16px;
    font-size: 13px;
    border-radius: 6px;
    margin-top: 10px;
}
.colorItems {
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.colorItem {
    text-align: center;
}
.colorItemCircle {
    width: 32px;
    height: 32px;
    border: 2px solid #ffffff;
    border-radius: 50%;
}
.colorItemName {
    font-size: 14px;
    color: #aeaeae;
    margin-top: 6px;
}
.colorItem.on .colorItemCircle {
    box-shadow: 0 0 3px 0 #ff7cb2;
}
.colorItem.on .colorItemName {
    color: #ff3a8b;
}
.darkCircleItems {
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.darkCircleItem {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    position: relative;
    font-size: 14px;
    color: #ff3a8b;
    background-color: #ffddeb;
    display: flex;
    align-items: center;
    justify-content: center;
}
.darkCircleItem.on {
    color: #ffffff;
    background-color: #ff7cb2;
}
.darkCircleItem.on::after {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    position: absolute;
    right: 0;
    bottom: 0;
    background: #ffffff url("https://21443023.s21i.faimallusr.com/4/ABUIABAEGAAgxP7DuwYouL3D5wQwfjh_.png")
    no-repeat center;
    background-size: cover;
}