[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;
}

ul{
    list-style: none;
}


body {
    line-height: 1;
    font-family: PingFang SC, '微软雅黑', 'Microsoft YaHei', '黑体', 'SimHei';
    font-size: 12px;

    background-color: #fff;
    color: #333;

    --backcolor: #272840;
    --margin: .2rem;
}
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;
}

.color-white{
    color: #fff;
}

.pic img{
    width: 100%;
    height: 100%;
}


.container{
    max-width: 10.2rem;
    margin-left: auto;
    margin-right: auto;
}

.mt-10 {
    margin-top: .1rem;
}

.mt-20 {
    margin-top: .2rem;
}

.mt-30 {
    margin-top: .3rem;
}

.mt-40 {
    margin-top: .4rem;
}

.mt-50 {
    margin-top: .5rem;
}

.mt-60 {
    margin-top: .6rem;
}

.mt-80 {
    margin-top: .8rem;
}
.mt-120 {
    margin-top: 1.2rem;
}
.mt-auto{
    margin-top: auto;
}
.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;
}



.topbar{
    background-color: var(--backcolor);
}
.topbar .container{
    display: flex;
    align-items: center;
    height: .4rem;
}
.topbar .icon-menu{
    width: .24rem;
    height: .24rem;
}
.topbar .btn{
    line-height: .26rem;
    font-size: .14rem;
    color: #fff;
    position: relative;
    cursor: pointer;
}
.topbar .btn .text{
    opacity: .5;
}
.topbar .btn.active .text{
    opacity: 1;
}
.topbar .btn input{
    opacity: 0;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    cursor: pointer;
}
.topbar .line{
    width: 1px;
    height: .2rem;
    margin: 0 .2rem;
    background-color: #fff;
}


.header{
    position: fixed;
    top: .6rem;
    left: 50%;
    margin-left: -5.1rem;
    z-index: 99;

    display: flex;
    align-items: center;
    width: 10.2rem;
    height: 1.2rem;
    padding: 0 .3rem;

    background: rgba(255,255,255,0.8);
    box-shadow: 0 .04rem .2rem 0 rgba(29,33,134,0.5);
    border-radius: .16rem;

    transition: top .2s;
}
.header.sticky{
    top: .2rem;
}
.header .logo{
    flex: 0 0 .8rem;
    width: .8rem;
    height: .8rem;
    margin-right: .3rem;
}
.navbar{
    display: flex;
    align-items: center;

    height: 100%;
}
.navbar-item{
    display: flex;
    align-items: center;
    
    height: 100%;
    position: relative;
}
/* .navbar-item.active::after, */
.navbar-item:hover:after{
    content: '';
    height: .02rem;
    background-color: #333;

    position: absolute;
    left: 0;
    right: 0;
    bottom: .04rem;
}
.navbar-item .text{
    white-space: pre-line;
    line-height: .3rem;
    font-weight: 600;
    font-size: .16rem;
}
.language-en .navbar-item{
    font-weight: 400;
}
.language-en .navbar-item:nth-child(n+3){
    /* 英文下 */
    max-width: 1.1rem;
}
.menu{
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;

    width: 1.7rem;
    margin-left: -.85rem;
    padding-top: .04rem;

    border-radius: 0 0 .16rem .16rem;
    overflow: hidden;
}
.menu-item{
    display: flex;
    align-items: center;
    justify-content: center;
    
    height: .6rem;
    background-color: rgba(255,255,255,0.8);
}
.menu-item .menu-item-text{
    text-align: center;
    line-height: .26rem;
    font-weight: 600;
    font-size: .14rem;
}
.navbar-item:hover .menu{
    display: block;
}


.header > .line,.navbar .line{
    width: 1px;
    height: .2rem;
    margin: 0 .2rem;
    background-color: #fff;
}
.header .btn{
    width: 1.4rem;
    height: .4rem;
    font-size: .2rem;
    font-weight: bold;
    color: #fff;
    background: #1D2186;
    border-radius: .08rem;
}



.footer{
    padding: .8rem 0;
    background-color: var(--backcolor);
}
.footer-logo{
    flex: 0 0 2.4rem;
    margin-right: auto;
}
.footer .logo{
    width: 2.4rem;
    height: 1.8rem;
    background-color: #fff;
    border-radius: .16rem;
}
.footer .logo img{
    width: 1.8rem;
    height: 1.6rem;
}
.footer .content{
    display: flex;
}
.footer .footer-main{
    flex: 0 0 2.4rem;
    width: 2.4rem;
    margin-left: .8rem;

    color: #fff;
}
.footer .footer-main .title{
    line-height: .38rem;
    font-weight: bold;
    font-size: .2rem;
}
.footer .footer-main .link{
    line-height: .3rem;
    font-size: .16rem;
}
.footer .share-group{
    display: flex;
}
.footer .share-group img{
    width: .4rem;
    height: .4rem;
    margin: 0 .2rem;
}
.footer .line{
    height: 1px;
    background-color: #fff;
}
.footer .copyright{
    line-height: .3rem;
    font-size: .16rem;
    font-weight: 600;
    color: #fff;
}

.mobile-show{
    display: none;
}
@media screen and (max-width: 751px) {
    body{
        overflow-x: hidden;

        --margin: .2rem;
    }
    .mobile-show{
        display: block;
    }
    .mobile-hide{
        display: none!important;
    }
    .container{
        padding: 0 var(--margin);
    }
    
    .topbar{
        position: sticky;
        top: 0;
        z-index: 9;
    }

    .header{
        width: auto;
        left: var(--margin);
        right: var(--margin);
        margin-left: 0;
    }
    .header.sticky{
        top: .6rem;
    }

    .navbar.open{
        --top: .6rem;

        display: block!important;
        
        padding-top: var(--top);
        background-color: #fff;

        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
    }
    .navbar-item{
        flex: 0 0 50%;
        width: 50%;
        height: .6rem;
        padding: 0 .2rem;

        justify-content: center;
    }
    .language-en .navbar-item:nth-child(n+2){
        max-width: none;
    }
    .navbar-item:hover:after{
        bottom: 0;
    }
    .navbar .line{
        display: none;
    }
    .navbar-item .text{
        text-align: center;
    }
    .navbar-item:hover .menu{
        position: fixed;
        top: var(--top);
        right: 0;
        left: unset;
    }
    .navbar .icon-close{
        position: absolute;
        top: var(--margin);
        right: var(--margin);

        width: .36rem;
        height: .36rem;
    }


    .footer{
        padding: .4rem 0;
    }
    .footer .content{
        flex-direction: column;
        align-items: center;
    }
    .footer .footer-logo{
        margin-right: 0;
    }
    .footer .footer-main{
        flex: 0;
        margin-top: .4rem;
        margin-left: 0;
        text-align: center;
    }
    .footer .line, .footer .copyright{
        margin-top: .4rem;
    }
    .footer .copyright{
        text-align: center;
    }
}