@charset "UTF-8";

html {
    width: 100%;
    height: 100%;
    position: relative;
    background-color: #000;
    font-size: 16px;
}

body {
    background-color: #2A1923;
}
@media all and (min-width: 400px) {
    html {
        font-size: 22px;
    }
}
//268 568  320 504
@media all and (min-width: 600px) {
    html {
        font-size: 25px;
    }
}
.landscape-mask {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #000000;
    left: 0;
    top: 0;
    color: #fff;
    display: none;
    z-index: 1000;
    div {
        width: 100%;
        height: 100%;
        text-align: center;
        vertical-align: middle;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
}
img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -moz-touch-callout: none;
    -ms-touch-callout: none;
    touch-callout: none;
    -webkit-pointer-events: none;
    -moz-pointer-events: none;
    -ms-pointer-events: none;
    pointer-events: none;
}

body {
    width: 100%;
    height: 100%;
    position: relative;
}

.header {
    position: absolute;
    width: 100%;
    z-index: 1;
    top: 0;
    left: 0;
    img {
        width: 100%;
    }
}
.mask {
    background-color: black;
    opacity: 0.5;
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}


.card {
    display: none;
    width: 100%;
    height: 100%;
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0;
}
.share {
    position: absolute;
    top: 0;
    right: 0;
    width: 15%;
    z-index: 6;
    display: none;
}
.tip-card {
    display: block;
    .des {
        position: absolute;
        top: 30%;
        left: 10%;
        width: 80%;
    }
    .gesture {
        position: absolute;
        width: 60%;
        left: 20%;
        bottom: 10%;
    }
}
.code-card {
    .code {
        position: absolute;
        width: 70%;
        top: 20%;
        left: 15%;
        -webkit-user-select: text;
        -moz-user-select: text;
        -ms-user-select: text;
        user-select: text;
        -webkit-pointer-events: auto;
        -moz-pointer-events: auto;
        -ms-pointer-events: auto;
        pointer-events: auto;
    }

    div {
        position: absolute;
        bottom: 10%;
        width: 100%;
    }
    p {
        color: white;
        text-align: center;
        margin: 6px;
        font-family: "微软雅黑", "黑体";
    }
}
.wrong-card {
    .fix-tip {
        width: 45%;
        display: block;
        margin: 20% auto 10%;
    }
    .tool-slot {
        img {
            width: 60%;
            display: block;
            margin: auto;
        }
    }
    .word-slot {
        margin: 6% auto 0;
        width: 60%;
        img {
            width: 100%;
            display: block;
        }
    }
    .tip-slot {
        color: lightcyan;
        position: absolute;
        bottom: 3%;
        width: 100%;
        text-align: center;
        font-size: 1.1rem;
        img {
            width: 30%;
            vertical-align: middle;
        }
        span {
            margin-left: 8px;
            vertical-align: middle;
        }
    }
}


.right-card {
    .ice-word {
        margin: 28% auto 0;
        display: block;
        width: 56% !important;
    }
    .word-adjust {
        width: 70%!important;
        display: block;
        margin: auto;
    }
    .mobile-word {
        width: 40% !important;
        margin: 5% auto 0;
    }
    .tel-word {
        width: 50% !important;
        margin: 22% auto 0;
    }
    .clue-adjust {
        margin-top: 40%;
    }
    .fix-tip {
        width: 45%;
        display: block;
        visibility: hidden;
        opacity: 0;
        margin: 20% auto 10%;
    }
    .clue-tool-slot {
        position: relative;
        width: 60%;
        margin: auto;
        min-height: 35%;
        img {
            width: 100%;
            display: block;
        }
        .clue-slot {
            width: 100%;
            position: relative;
            z-index: 4;
            opacity: 1;
        }
        .tool-slot {
            width: 100%;
            position: absolute;
            opacity: 0;
            z-index: 3;
            top: 0;
            left: 0;
        }
    }
    .word-password-slot {
        width: 60%;
        margin: 14% auto 0;
        position: relative;
        height: 25%;
        .word-slot {
            opacity: 1;
            width: 100%;
            position: relative;
            height: 100%;
            z-index: 4;
            img {
                width: 100%;
                display: block;
            }
            div {
                background-repeat: no-repeat;
                background-size: 100%;
                height: 100%;
            }
        }
        .password-slot {
            width: 100%;
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            z-index: 3;
            opacity: 0;
            img {
                width: 100%;
                display: block;
            }
            div {
                background-repeat: no-repeat;
                background-size: 100%;
                height: 100%;
            }
        }
    }

    .tip-slot {
        color: lightcyan;
        position: absolute;
        opacity: 0;
        bottom: 3%;
        width: 100%;
        text-align: center;
        font-size: 1.1rem;
        img {
            width: 30%;
            vertical-align: middle;
        }
        span {
            margin-left: 8px;
            vertical-align: middle;
        }
    }
}
.state-animated {
    .fix-tip {
        transition: opacity linear 1s;
    }
    .clue-slot {
        transition: all linear 1s;
    }
    .tool-slot {
        transition: opacity 1s linear 0.2s ;
    }
    .tip-slot {
        transition: opacity linear 1s;
    }
    .word-slot {
        transition: opacity linear 1s;
    }
    .password-slot {
        transition: opacity 1s linear 0.2s;
    }
}
.state-two {
    .fix-tip {
        opacity: 1;
        visibility: visible;
    }
    .clue-tool-slot {
        .clue-slot {
            opacity: 0;
        }
        .tool-slot {
            opacity: 1;
        }
    }
    .word-password-slot {
        .word-slot {
            opacity: 0;
        }
        .password-slot {
            opacity: 1;
            z-index: 5;
        }
    }
    .tip-slot {
        opacity: 1;
    }
}
.state-two-mobile {
    overflow: hidden;
    .fix-tip {
        opacity: 1;
        visibility: visible;
    }
    .clue-tool-slot {
        .clue-slot {
            opacity: 0;
            transform: scale(2);
        }
        .tool-slot {
            opacity: 1;
        }
    }
    .word-password-slot {
        .word-slot {
            opacity: 0;
        }
        .password-slot {
            opacity: 1;
            z-index: 5;
        }
    }
    .tip-slot {
        opacity: 1;
    }
}