article,
aside,
audio,
blockquote,
body,
button,
dd,
div,
dl,
dt,
fieldset,
figcaption,
figure,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
input,
legend,
li,
menu,
nav,
ol,
p,
pre,
section,
td,
textarea,
th,
ul,
video {
    margin: 0;
    padding: 0;
    font-family: -apple-system-font, "helvetica neue", Helvetica, "PingFang SC", "Hiragino Sans GB", Arial, "Microsoft YaHei", "é»‘ä½“", "å®‹ä½“", sans-serif;
    -webkit-font-smoothing: subpixel-antialiased;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body,
button,
input,
select,
textarea {
    outline: 0;
    border: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    background-color: transparent;
    font-weight: normal;
}

:root {
    --com-rem: 25px;
    --rem: calc(50vw / 7.5);
    --wrapper: 15rem;
}

html {
    font-size: var(--com-rem);
    font-size: var(--rem);
}

body {
    background: linear-gradient(-22deg, #FDBAB6, #FEDFB8);
    transition: all 200ms ease 0s;
}

.body-blue-bg {
    background: url(../images/result/bg_square@2x.png) repeat #9DE5F8;
    background-size: .52rem;
}

canvas {
    display: none;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

img[mode="aspectFill"] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

img[mode="aspectFit"] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

li {
    list-style: none;
}

.flex-box {
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex
}

.flex-box-center {
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex {
    flex: auto;
    flex: 1
}

.rel {
    position: relative;
}

.abs {
    position: absolute;
}

.text-overflow {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block
}

.text-overflow-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical
}

.un-selectable {
    position: relative;
}

.un-selectable::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.wrapper {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.main {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.mask-wrapper {
    background-color: rgba(0, 0, 0, .9);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: 9;
}

.mask-container {
    height: 100%;
}

.mask-item {
    text-align: center;
}

.capture-img-container {
    width: 80vw;
    height: 80vh;
    margin-bottom: .5rem;
}

.capture-close {
    display: inline-block;
    color: #fff;
    font-size: .48rem;
    text-align: center;
    border: 1px #fff solid;
    line-height: 1;
    padding: .2rem .5rem;
    border-radius: 2px;
    cursor: pointer;
}

.toast-container {
    position: fixed;
    left: 0;
    right: 0;
    top: 50%;
    margin-top: -.7rem;
    z-index: 9;
    display: none;
}

.toast-container-mask {
    bottom: 0;
    top: 0;
    margin-top: 0;
    background-color: rgba(0, 0, 0, .5);
}

.toast-main {
    width: 100%;
    height: 100%;
}

.toast-text {
    max-width: 70%;
    display: inline-block;
    font-size: .56rem;
    color: #fff;
    background-color: #3e3e3e;
    line-height: 1.3;
    padding: .3rem .5rem;
    border-radius: .7rem;
}

/* style start */
.wrapper-bg-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.wrapper-bg-section {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.bg-corner-dots {
    width: 7.5rem;
    height: 7.5rem;
    background: url(../images/bg_dots@2x.png) center center no-repeat;
    background-size: cover;
    position: absolute;
}

.bg-corner-dots[data-dir="top-left"] {
    top: 0;
    left: 0;
}

.bg-corner-dots[data-dir="right-bottom"] {
    right: 0;
    bottom: 0;
    transform: rotate(180deg);
}

.bg-dots-ball {
    position: absolute;
    width: 9.96rem;
    height: 10.36rem;
}

.bg-dots-ball[data-posi="top"] {
    background: url(../images/bg_circle@2x.png) center center no-repeat;
    background-size: contain;
    top: -1.44rem;
    right: -2.06rem;
    z-index: 1;
}

.bg-dots-ball[data-posi="bottom"] {
    background: url(../images/bg_circle@2x.png) center center no-repeat;
    background-size: contain;
    bottom: -3.44rem;
    left: -3.06rem;
}

.bg-dashed-line {
    width: 8.58rem;
    height: 17.48rem;
    position: absolute;
    z-index: 0;
    background: url(../images/home/bg_dashed_line@2x.png) center no-repeat;
    background-size: contain;
}

.bg-dashed-line[data-dir="right-top"] {
    right: .34rem;
    top: .34rem;
}

.bg-dashed-line[data-dir="left-bottom"] {
    left: .34rem;
    bottom: .34rem;
    transform: rotate(180deg);
}

.main-section {
    width: 100%;
    height: 100%;
    position: relative;
}

.home-logo {
    position: absolute;
    width: 3.34rem;
    height: 1.62rem;
    top: .4rem;
    left: .4rem;
}

.home-title-container {
    width: 19.08rem;
    height: 17.8rem;
    background: url(../images/home/tips_bg@2x.png) center center no-repeat;
    background-size: contain;
    position: relative;
}

.home-title-1 {
    position: absolute;
    width: 7.72rem;
    height: 3.26rem;
    left: 2.3rem;
    top: 3.38rem;
    z-index: 2;
    animation-delay: 1s;
}

.home-title-2 {
    position: absolute;
    width: 14.52rem;
    height: 6.18rem;
    top: 5.9rem;
    left: 2.3rem;
    z-index: 2;
    animation-delay: 1.5s;
}

.home-image-container {
    width: 6.86rem;
    height: 9.9rem;
    position: absolute;
    bottom: 7.68rem;
    right: 2.1rem;
    z-index: 1;
    animation-delay: 2s;
}

.home-image-decorations {
    position: absolute;
    width: 6.98rem;
    height: 4.68rem;
    background: url(../images/home/home_image_decorations@2x.png) center no-repeat;
    background-size: contain;
    top: -.4rem;
    right: 2.1rem;
    animation-delay: 2.5s;
}

.home-image-laughing {
    position: absolute;
    width: 1.84rem;
    height: 2.24rem;
    background: url(../images/home/laughing@2x.gif) center no-repeat;
    background-size: contain;
    left: 9.6rem;
    top: -0.4rem;
    animation-delay: 2.5s;
}

.home-title-subtitle {
    width: 9.96rem;
    height: 2.46rem;
    position: absolute;
    left: 50%;
    margin-left: -4.98rem;
    bottom: 2.86rem;
    animation-delay: 2s;
}

.section-bg-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.section-content-container {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.section-home-container {
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.home-button-container {
    height: 2.8rem;
}

.home-button {
    width: 8.2rem;
    height: 2.8rem;
    margin: 0 auto;
    cursor: pointer;
    display: none;
    animation-delay: .5s;
}

.bg-dots-ball-small {
    width: 6.38rem;
    height: 6.38rem;
    position: absolute;
    top: -1.43rem;
    right: -1.43rem;
    background: url(../images/bg_dot_circle@2x.png) center no-repeat;
    background-size: contain;
}

.section-question-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.question-container {
    width: 16.12rem;
    height: 8.64rem;
    background: url(../images/questions/question_bg.png) center no-repeat;
    background-size: contain;
    padding: 1.7rem 1.4rem 1.5rem 1.3rem;
    position: relative;
    display: none;
}

.question-main {
    width: 100%;
    height: 100%;
}

.question-star {
    position: absolute;
    background: url(../images/questions/star@2x.png) center no-repeat;
    background-size: contain;
    /* filter: drop-shadow(0px 3px 0px rgba(233,173,144,0.71)); */
    animation: rolling 2s linear infinite;
}

.star-r-t {
    width: 1.24rem;
    height: 1.28rem;
    right: 0.9rem;
    top: 0.6rem;
}

.star-l-t {
    width: 0.76rem;
    height: 0.76rem;
    left: 0.6rem;
    bottom: 2.2rem;
}

.star-l-b {
    width: 1.24rem;
    height: 1.28rem;
    left: .7rem;
    bottom: .7rem;
}

.question-main-img {
    position: absolute;
    width: 100%;
    height: 7.7rem;
    left: 0;
    bottom: 1.5rem;
    display: none;
}

.wrapper[data-status="question_1"] .question-main-img[data-question="1"],
.wrapper[data-status="question_2"] .question-main-img[data-question="2"],
.wrapper[data-status="question_3"] .question-main-img[data-question="3"],
.wrapper[data-status="question_4"] .question-main-img[data-question="4"] {
    display: block;
}

.options.container {
    display: none;
}

.question-image-emoji {
    display: none;
    position: absolute;
}

.wrapper[data-status="question_1"] .question-image-emoji {
    width: 2.1rem;
    height: 2.02rem;
    background: url(../images/questions/question_deco_1@2x.png) center no-repeat;
    background-size: contain;
    top: 0.5rem;
    left: 8.3rem;
}

.wrapper[data-status="question_2"] .question-image-emoji {
    width: 1.54rem;
    height: 1.62rem;
    background: url(../images/questions/question_deco_2@2x.png) center no-repeat;
    background-size: contain;
    top: 0rem;
    left: 5.4rem;
}

.wrapper[data-status="question_3"] .question-image-emoji {
    width: 2.1rem;
    height: 2.04rem;
    background: url(../images/questions/question_deco_3@2x.png) center no-repeat;
    background-size: contain;
    top: 0.3rem;
    left: 7.8rem;
}

.wrapper[data-status="question_4"] .question-image-emoji {
    width: 1.82rem;
    height: 1.76rem;
    background: url(../images/questions/question_deco_4@2x.png) center no-repeat;
    background-size: contain;
    top: 0.6rem;
    left: 6.4rem;
}

.options-item {
    width: 14.3rem;
    height: 2.34rem;
    background: url(../images/questions/options_bg@2x.png) center no-repeat;
    background-size: contain;
    font-size: .56rem;
    line-height: 1.5;
    color: #5B3327;
    align-items: center;
    padding: 0 1rem;
    margin: 1rem 0;
    cursor: pointer;
    animation-delay: .5s;
}

.options-item:last-child{
    animation-delay: 1s;
}

.options-item-selected {
    background-image: url(../images/questions/options_selected_bg@2x.png);
    font-weight: bold;
}

.bg-circle-full {
    position: absolute;
    width: 7.88rem;
    height: 7.88rem;
    background: #FFFFFF;
    border-radius: 50%;
    opacity: 0.25;
    left: .4rem;
    bottom: 7.88rem;
    animation: floating 15s linear infinite;
}

.bg-circle-border {
    position: absolute;
    width: 4rem;
    height: 4rem;
    border: .4rem solid rgba(255, 255, 255, .5);
    border-radius: 50%;
    right: 6rem;
    top: 3.78rem;
    animation: floating 10s linear infinite;
}

.section-processing-container {
    flex-direction: column;
}

.processing-container {
    position: relative;
    width: 14.2rem;
    height: 2.2rem;
    background: url(../images/processing/processing_bar@2x.png) center no-repeat;
    background-size: contain;
    margin-bottom: .68rem;
    padding: .58rem .48rem;
}

.processing-bar {
    width: 100%;
    height: 100%;
    border: .12rem solid #5B3327;
    background-color: #5B3327;
    border-radius: 1rem;
    overflow: hidden;
}

.processing-bar-inner {
    width: 0%;
    height: 100%;
    background: url(../images/processing/processing_bar_inner@2x.png) repeat-x;
    background-size: 1.18rem;
    transition: width 200ms ease 0s;
}

.processing-container .star-r-t {
    right: 0;
    top: -.66rem;
}

.processing-container .star-l-b {
    left: 0;
    bottom: -.66rem;
}

.processing-text {
    width: 11.12rem;
    height: 1.5rem;
    margin-bottom: 2.2rem;
}

.processing-button-container {
    height: 2.8rem;
}

.processing-button {
    width: 8.2rem;
    height: 2.8rem;
    display: none;
}

.section-result-container {
    flex-direction: column;
}

.result-main {
    width: 14.32rem;
    height: 18rem;
    background: url(../images/result/container_bg@2x.png) center no-repeat;
    background-size: contain;
    margin-bottom: .5rem;
    position: relative;
    padding: 3.7rem 1.6rem 0 1.6rem;
}

.result-shine-title {
    width: 9.56rem;
    height: 4.04rem;
    position: absolute;
    top: -.46rem;
    left: 0;
}

.result-image-container {
    position: absolute;
    top: .3rem;
    right: -.34rem;
    width: 15rem;
    height: 16.8rem;
    z-index: 2;
}

.result-title {
    width: 6.98rem;
    height: 2.76rem;
    background: url(../images/result/badge@2x.png) center no-repeat;
    background-size: contain;
    padding:.5rem .57rem;
    margin-bottom: .15rem;
}

.result-trait-list {
    padding-left: .3rem;
}

.result-trait-item {
    width: 5.02rem;
    height: 1.58rem;
    box-sizing: content-box;
    margin-top: -.12rem;
}

.result-trait-item:first-child {
    margin-top: 0;
}

.result-trait-item:nth-child(even) {
    padding-left: 1.3rem;
}

.result-sentence-container {
    width: 11.82rem;
    height: 4.46rem;
    position: absolute;
    bottom: 1.6rem;
    left: 1.3rem;
}

.result-share-btn {
    width: 4.68rem;
    height: 1.9rem;
    background: url(../images/result/share_button@2x.png) center no-repeat;
    background-size: contain;
    bottom: -.3rem;
    left: 50%;
    margin-left: -2.34rem;
    position: absolute;
    z-index: 3;
}

.result-app-info {
    width: 14.2rem;
    height: 3.6rem;
}

.main-section {
    display: none;
}

.music-play-container {
    position: absolute;
    right: .4rem;
    top: .4rem;
    width: 1.32rem;
    height: 1.32rem;
    z-index: 3;
    background: url(../images/icon_music@2x.png) center no-repeat;
    background-size: contain;
    animation: rotating 5s linear infinite;
}

.music-play-container[status="stop"] {
    animation: none;
}

@keyframes rotating {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media screen and (min-width: 768px) {
    :root {
        --com-rem: 24px;
        --rem: 24px;
    }

    .wrapper {
        min-height: 28rem;
    }

    .main {
        width: var(--wrapper);
        height: 28rem;
    }
}

@media screen and (min-width: 2560px) {
    html {
        font-size: 33px;
    }
}

@media screen and (min-width: 3840px) {
    html {
        font-size: 50px;
    }
}

@keyframes rolling {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-1rem);
    }
}