* {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    color: #333;
    font-family: PingFangSC-Regular;
}

html {
    width: 100%;
    height: 100%;
}

body {
    width: 100%;
    padding-bottom: 3rem;
    /* direction: rtl; */
}

.fl {
    float: left;
}

.fr {
    float: right;
}

img {
    width: 100%;
}

#app #header {
    width: 100%;
    height: 3.25rem;
    background: rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0;
    /* padding-top: 0.5rem; */
    z-index: 1;
    display: flex;
    align-items: center;
}

#app #header .logo {
    display: inline-block;
    vertical-align: middle;
    margin: 0 0.5rem 0 1rem;
}

#app #header .logo img {
    width: 2.25rem;
    height: 90;
}

#app #header .name {
    width: 8.5rem;
    display: inline-block;
    vertical-align: middle;
}

#app #header .name p:nth-of-type(1) {
    color: #fff;
    font-size: 0.9rem;
}

#app #header .name p:nth-of-type(2) {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
}

#app #header .download {
    width: 6rem;
    height: 1.4rem;
    line-height: 1.4rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0.25rem;
    font-size: 0.8rem;
    color: #fff;
    /* position: absolute;
    top: 50%;
    margin-top: -0.7rem;
    right: 1rem; */
}

#app .bg {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    max-width: 540px;
    overflow: hidden;
}

#app .bg i {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(135deg, #5340d2 0%, #0e5d95 34%, #902fab 100%);
    background-attachment: fixed;
    opacity: 1;
}

#app .content {
    padding-top: 4rem;
}

#app .content .type {
    text-align: center;
}

#app .content .type>div {
    display: inline-block;
    vertical-align: middle;
}

#app .content .type .type_pic img {
    width: 11.375rem;
    height: 9.35rem;
}

#app .content .type .avatar>img {
    width: 5rem;
    height: 5rem;
    border: 0.1rem solid #fff;
    border-radius: 50%;
}

#app .content .type .avatar>p {
    color: #fff;
    font-size: 1rem;
    padding-top: 0.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 5rem;
}

#app .content .tips {
    width: 14rem;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 0.5rem;
    padding-bottom: 0.75rem;
}

#app .content .tips>p {
    color: #333;
    font-size: 0.8rem;
    padding: 0.75rem 1rem 1rem;
}

#app .content .tips .room_info_box {
    padding-left: 1rem;
    padding-bottom: 1.1rem;
}

#app .content .tips .room_info_box>div {
    display: inline-block;
    vertical-align: middle;
}

#app .content .tips .room_info_box .room_avatar {
    margin-right: 0.25rem;
}

#app .content .tips .room_info_box .room_avatar img {
    width: 2.475rem;
    height: 2.475rem;
    border-radius: .2rem;
}

#app .content .tips .room_info_box .room_info .room_name {
    color: #000;
    font-size: 1rem;
}

#app .content .tips .room_info_box .room_info .room_id {
    color: #000;
    font-size: 0.7rem;
}

#app .content .tips .slogan {
    margin-left: 1rem;
    font-size: 0.8rem;
    width: 11rem;
    height: 2.3rem;
    line-height: 2.3rem;
    text-align: center;
    background: #ffdd00;
    border-radius: 0.5rem;
    position: relative;
}

#app .content .tips .slogan span {
    color: #000;
}

#app .content .tips .slogan .triangle {
    position: absolute;
    width: 0;
    height: 0;
    top: -0.35rem;
    left: 0.7rem;
    border-right: 0.5rem solid transparent;
    border-left: 0.5rem solid transparent;
    border-bottom: 0.5rem solid #ffdd00;
}

#app .content .btn {
    margin: 1.35rem auto 0;
    color: #fff;
    font-size: 0.9rem;
    width: 13rem;
    padding: 0 1.5rem;
    height: 2.2rem;
    text-align: center;
    background: #7258FE;
    box-shadow: 0px 0.075rem 0.15rem rgba(0, 0, 0, 0.16);
    border-radius: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1rem;
}

#app .maskBox {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
    display: none;
}

#app .maskBox i {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.6;
    z-index: -1;
}

#app .maskBox img {
    position: absolute;
    left: 50%;
    top: 0;
    width: 93.87%;
    margin-left: -46.935%;
    /*display: none;*/
}

@-webkit-keyframes zoomIn {
    0% {
        opacity: 0;
        -webkit-transform: scale3d(0.3, 0.3, 0.3);
        transform: scale3d(0.3, 0.3, 0.3);
    }

    50% {
        opacity: 1;
    }
}

@keyframes zoomIn {
    0% {
        opacity: 0;
        -webkit-transform: scale3d(0.3, 0.3, 0.3);
        transform: scale3d(0.3, 0.3, 0.3);
    }

    50% {
        opacity: 1;
    }
}

.zoomIn {
    -webkit-animation-name: zoomIn;
    animation-name: zoomIn;
    -webkit-transform-origin: 0 22.5%;
    transform-origin: 0 22.5%;
    -webkit-animation-delay: 1.1s;
    animation-delay: 1.1s;
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes slideInUp {

    0%,
    20%,
    40%,
    60%,
    80%,
    100% {
        -webkit-animation-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
        animation-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
    }

    0% {
        -webkit-transform: translate3d(0, 300%, 0);
        transform: translate3d(0, 300%, 0);
        visibility: visible;
    }

    100% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slideInUp {

    0%,
    20%,
    40%,
    60%,
    80%,
    100% {
        -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }

    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, 20rem, 0);
        transform: translate3d(0, 20rem, 0);
    }

    20% {
        opacity: 0.2;
    }

    40% {
        opacity: 0.4;
    }

    60% {
        opacity: 0.6;
    }

    80% {
        opacity: 0.8;
    }

    100% {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

.slideInUp {
    -webkit-animation-name: slideInUp;
    animation-name: slideInUp;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.loading {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: #000;
    opacity: 0.4;
    z-index: 0;
    text-align: center;
    display: none;
}

.loading img {
    width: 1.75rem;
    height: 0.95rem;
    margin-top: 15rem;
}