[v-cloak]{
    display: none;
}
* {
    margin: 0;
    padding: 0;
    border: none;
    outline: 0;
    box-sizing: border-box;
    
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10+ and Edge */
    user-select: none; /* Standard syntax */
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}
input[type="number"]{
    -moz-appearance: textfield;
}
video::-internal-media-controls-download-button {
    display: none;
}
video::-webkit-media-controls-enclosure {
    overflow: hidden;
}


body {
    line-height: 1;
    font-family: PingFangSC-Medium, PingFang SC, '微软雅黑', 'Microsoft YaHei', '黑体', 'SimHei';
    font-size: 12px;

    background-color: #FAFAFA;
    color: #333;

    --color: #8E43E7;
    --margin: .4rem;
}
body::-webkit-scrollbar ,.modal-body::-webkit-scrollbar, .scrollbar-no::-webkit-scrollbar{
    width: 0;
    background: transparent;
}

.safe-area-inset-bottom{
	padding-bottom: 0;
	padding-bottom: constant(safe-area-inset-bottom);
	padding-bottom: env(safe-area-inset-bottom);
}

.pointer-events-none{
    pointer-events: none!important;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.text-right {
    text-align: right;
}

.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    
    -webkit-user-select: text; /* Safari */
    -ms-user-select: text; /* IE 10+ and Edge */
    user-select: text; /* Standard syntax */
}
.text-line-2{
    word-break: break-all;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.pic img{
    width: 100%;
    height: 100%;
}

.mt-10 {
    margin-top: .1rem;
}

.mt-20 {
    margin-top: .2rem;
}

.mt-30 {
    margin-top: .3rem;
}

.mt-40 {
    margin-top: .4rem;
}

.mt-60 {
    margin-top: .6rem;
}

.mt-80 {
    margin-top: .8rem;
}
.mt-120 {
    margin-top: 1.2rem;
}
.ml-auto{
    margin-left: auto;
}
.mx-auto{
    margin-left: auto;
    margin-right: auto;
}

.pt-40 {
    padding-top: .4rem;
}
.pt-80 {
    padding-top: .8rem;
}
.pb-100{
    padding-bottom: 1rem;
}



.tabbar{
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    padding-bottom: constant(safe-area-inset-bottom);
    padding-bottom: env(safe-area-inset-bottom);
    background-color: #fff;
}
.tabbar-content{
    display: flex;
}
.tabbar-item{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    min-width: 0;
    height: 1.04rem;
}
.tabbar-item-icon{
    width: .48rem;
    height: .48rem;
}
.tabbar-item-text{
    margin-top: .12rem;
    font-size: .24rem;
    font-weight: bold;
    color: #ccc;
    
    transform: scale(calc( 20 / 24 ));
}
.tabbar-item.active .tabbar-item-text{
    color: var(--color);
}


.page{
    min-height: 100vh;
}
.container{
    margin-left: var(--margin);
    margin-right: var(--margin);
}

.van-toast{
    width: 6rem;
    padding: .16rem .4rem;
    background-color: rgba(0,0,0,.5);
    border-radius: .16rem;
}
.van-toast.van-toast--loading{
    width: 88px;
}
.van-toast__text{
    line-height: .46rem;
    font-size: .28rem;
    color: #fafafa;
}

.van-dialog{
    border-radius: .16rem;
}
.van-dialog__content{
    min-height: 2rem;
}
.van-dialog__message{
    line-height: .46rem;
    font-size: .28rem;
    font-weight: bold;
    color: #333;
}
.van-dialog__cancel, .van-dialog__confirm{
    height: 1.2rem;
    font-size: .28rem;
    font-weight: bold;
}
.van-dialog__cancel{
    color: #999;
}
.van-dialog__confirm{
    color: #333;
}