*, *:after, *:before{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1;
}

::-webkit-scrollbar {
    width: 0;
}

input:focus {
    outline: none;
}
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 100px white inset;
}
input[type=button], input[type=submit], input[type=file], button {
    cursor: pointer;
    -webkit-appearance: none;
}

ul, ol{
    list-style-type: none;
}
em{
    font-weight: normal;
    font-style: normal;
}
img{
    width: 100%;
    height: auto;
    display: block;
}
/*-----flex-----*/
.flex-center {
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    -webkit-justify-content: center;
    align-items: center;
    -webkit-align-items: center;
}
.flex-row {
    display: flex;
    display: -webkit-flex;
    flex-direction: row;
    -webkit-flex-direction: row;
    align-items: center;
    -webkit-align-items: center;
    justify-content: space-between;
    -webkit-justify-content: space-between;
}
.flex-column {
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    -webkit-flex-direction: column;
    align-items: center;
    -webkit-align-items: center;
    justify-content: flex-start;
    -webkit-justify-content: flex-start;
}
/*-----flex-----*/

.translate{
    display: none;
    animation: translate 1s linear;
}
.preview{
    opacity: 0;
}
.delay{
    opacity: 0;
}
.float{
    opacity: 0;
}
@-webkit-keyframes translate {
    from{
        -webkit-transform: translateY(100vh);
        opacity: 0;
    }
    to{
        -webkit-transform: translateY(0);
        opacity: 1;
    }
}


@keyframes translate {
    from{
        transform: translateY(100vh);
        opacity: 0;
    }
    to{
        transform: translateY(0);
        opacity: 1;
    }
}

@-webkit-keyframes circle {
    to{
        -webkit-transform: rotate(360deg);
    }
    from{
        -webkit-transform: rotate(0deg);
    }
}


@keyframes circle {
    to{
        transform: rotate(360deg);
    }
    from{
        transform: rotate(0deg);
    }
}

@-webkit-keyframes circle {
    to{
        -webkit-transform: rotate(360deg);
    }
    from{
        -webkit-transform: rotate(0deg);
    }
}

@keyframes fadeY {
    to{
        transform: translateY(-100%);
        opacity: 0;
    }
    from{
        transform: translateY(1rem);
        opacity: 1;
    }
}

@-webkit-keyframes fadeY {
    to{
        -webkit-transform: translateY(-100%);
        opacity: 0;
    }
    from{
        -webkit-transform: translateY(1rem);
        opacity: 1;
    }
}
@keyframes card {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@-webkit-keyframes card {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.scrollUp{
    animation: scrollUp 500ms linear forwards;
}
@keyframes scrollUp {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-2rem);
    }
}

@-webkit-keyframes scrollUp {
    from {
        -webkit-transform: translateY(0);
    }
    to {
        -webkit-transform: translateY(-2rem);
    }
}

html{
    width: 100vw;
    height: 100vh;
    background: #FFFFFF;
}
body{
    width: 100%;
    max-width: 640px;
    height: 100vh;
    margin: 0 auto;
    background: #131217;
    font-size: 16px;
    overflow-x: hidden;
    font-family: sans-serif;
}
div.chat-wrap{
    position: fixed;
    left: 0;
    bottom: 1.1rem;
    width: 100%;
    display: none;
    z-index: 10099;
}
div.chat-wrap div.chat-box{
    margin: 0 auto;
    max-width: 640px;
    padding: 0.2rem;
    background: #e7e7e8;
}
div.chat-wrap div.chat-box input.chat{
    flex-grow: 1;
    height: 0.8rem;
    border: none;
    background: #FFFFFF;
    color: #323232;
    padding: 0 0.2rem;
    border-radius: 0.06rem;
    font-size: 0.3rem;
}
div.chat-wrap div.chat-box span.submit{
    margin-left: 0.2rem;
    height: 0.8rem;
    padding: 0 0.4rem;
    border-radius: 0.06rem;
    background: #77d384;
    color: #323232;
    font-size: 0.3rem;
    cursor: pointer;
}
div.result-wrap{
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 10099;
}
div.result-wrap div.result-box{
    width: 100%;
    margin: 0 auto;
    max-width: 640px;
    padding: 0.2rem 0.1rem;
    background: #e7e7e8;
}
div.result-wrap div.result-box label.pic-wrap{
    width: 50%;
    padding: 0 0.1rem;
}
div.result-wrap div.result-box img{
    width: 100%;
    display: block;
    height: auto;
    cursor: pointer;
}
div.toast{
    display: none;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 995;
    font-size: 0.3rem;
    color: #FFFFFF;
    padding: 0.1rem 0.2rem;
    background: #323232;
    border-radius: 0.08rem;
}
.my-toast{
	background-color: rgba(0,0,0,0.6);
	min-width: 3rem;
	min-height: 1rem;
	text-align: center;
	font-size: .32rem;
	position: fixed;
	top: 50%;
	left: 50%;
	white-space: nowrap;
	transform: translate(-50%,-50%);
	color: #EEEEEE;
	padding: .3rem .4rem;
	z-index: 999;
}