/* ai页面公共样式 */

@font-face {
    font-family: "MiSans";
    src: url(./font/MiSans-Regular.ttf);
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Bebas";
    src: url(./font/Bebas.ttf);
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: "MiSans";
}
.logo {
    position: absolute;
    left: 1rem;
    top: 0.2rem;
}

.logo a {
    position: relative;
    transition: all 0.5s;
    top: 0;
    z-index: 999;
}

.logo a {
    display: block;
}

.logo a img {
    vertical-align: middle;
    height: .48rem;
}

.aipages {
    height: 100vh;
    height: 100dvh;
    background: #ECF3FC;
    backdrop-filter: blur(0.92rem) saturate(100%);
    z-index: 99999;
    overflow: hidden;
    opacity: 0;
    transition: all .5s;
    pointer-events: none;
}

.goback {
    position: absolute;
    right: 0.3rem;
    top: 0.3rem;
    border: 0.01rem solid #4465FC;
    box-shadow: 0rem 0.04rem 0.14rem 0rem rgba(164, 151, 222, 0.58);
    
    cursor: pointer;
    border-radius: 0.55rem;
    opacity: 0;
    transition: all .5s;
    transform: translateY(2rem);
    transition: opacity .5s, transform .5s, background .5s;
}
.goback a{
width: 1.17rem;
    height: 0.49rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.goback b {
    background: url(../images/goback.png) no-repeat;
    background-position: center center;
    background-size: 100% 100%;
    width: 0.23rem;
    height: 0.23rem;
    margin-right: .07rem;
    transition: all .5s;
}


.goback span {
    font-size: 0.16rem;
    font-weight: normal;
    line-height: 0.2rem;
    letter-spacing: normal;
    color: #4465FC;
    transition: all .5s;
}

.aipages::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: #ECF3FC;
    z-index: -2;
    opacity: 0;
    transition: all .5s;
}

.aipages::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2.23rem;
    background: linear-gradient(0deg, #ecf3fc 75%, #ecf3fc00 100%);
    z-index: -1;
    opacity: 0;
    transition: all .5s;
    transform: translateY(2rem);
}


.aitit {}

.aitit h3 {
    font-size: 0.24rem;
    font-weight: 600;
    line-height: 0.28rem;
    letter-spacing: normal;
    color: #4465FC;
}


.aitit h3 img {
    display: block;
    width: 100%;
}

.w100 {
    display: block;
    width: 100%;
}

.page-c {
    height: 100%;
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: .5rem;
    opacity: 0;
    transition: all .5s;
}

.page-l {
    flex: 1;
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: visible !important;
}

.page-main {
    flex: 1;
    min-width: 0;
    overflow: hidden auto;
    padding-right: .7rem;
}



.plscroll {
    flex: 1;
    min-width: 0;
    /* overflow-y: auto; */
    position: relative;
    z-index: 2;
}







.page-r {
    width: 3.95rem;
    display: flex;
    flex-direction: column;
    margin-left: 0.75rem;
}

.page-r .pager-box {
    overflow-y: auto;
    width: 100%;
    flex: 1;
    min-width: 0;
    padding-right: .1rem;
}

.page-r .pager-box img {
    margin-top: .25rem;
}



.psearch2 {
    /* position: absolute; */
    /* left: 1.9rem; */
    /* bottom: 0.5rem; */
    /* width: 10.64rem; */
    border-radius: 2.4rem;
    box-sizing: border-box;
    margin-top: .2rem;
}




.aipages.show {
    opacity: 1;
    pointer-events: auto;
}

.aipages.show::before {
    transform: translateY(0);
    opacity: 1;
    transition-delay: .3s;
}

.aipages.show::after {
    transform: translateY(0);
    opacity: 1;
    transition-delay: .3s;
}

.aipages.show .page-c {
    transform: translateY(0);
    opacity: 1;
    transition-delay: .3s;
}

.aipages.show .goback {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.3s, .3s, 0s;
}

@media screen and (min-width:1025px) {
    .goback:hover {
        background: #4465FC;
        color: #fff;
        border-color: transparent;
    }

    .goback:hover b {
        background: url(../images/goback2.png) no-repeat;
        background-position: center center;
        background-size: 100% 100%;
    }

    .goback:hover span {
        color: #fff;
    }

}

@media screen and (max-width:1024px) {
    .logo {
        left: .15rem;
        top: 0.1rem;
        right: .8rem;
    }

    .logo a {
        display: flex;
        align-items: center;
        height: 0.4rem;
    }

    .logo a img {
        height: auto;
        max-height: .4rem;
        max-width: 100%;
    }

    .page-main {
        padding: 8px;
    }

    .aipages {
        height: 100vh;
        height: 100dvh;
        padding-top: 1px;
        padding-top: .8rem;
        padding-bottom: env(safe-area-inset-bottom);
    }

    .page-c {
        display: block;
        overflow-y: auto;
        height: 100%;
        padding-top: 0;
        padding-bottom: .3rem;
    }

    .aipages::before {
        top: 0;
    }

    .goback {
        top: 0.1rem;
        right: 0.1rem;

    }
   .goback a{
         height: 0.4rem;
        width: .85rem;
}
    .goback b {
        width: 0.15rem;
        height: 0.15rem;
    }

    .goback span {
        font-size: .14rem;
    }

    .page-l {
        width: auto;
    }

    .page-r {
        width: auto;
        padding-top: 0;
        border-radius: 0.14rem;
        background: linear-gradient(134deg, rgba(255, 255, 255, 0.28) 3%, rgba(255, 255, 255, 0) 103%);
        box-sizing: border-box;
        border: 0.01rem solid;
        border-image: radial-gradient(63% 63% at 81% 45%, rgba(145, 111, 245, 0.28) 0%, rgba(145, 111, 245, 0.27) 100%);
        backdrop-filter: blur(0.42rem) saturate(100%);
        box-shadow: inset 0rem 0.04rem 0.19rem 0rem rgba(255, 255, 255, 0.14);
        padding: .15rem .1rem;
        margin-top: .1rem;
        display: none;
    }



 


    .aitit {
        position: relative;
    }

    .aitit::before {
        content: "";
        position: absolute;
        right: 0.1rem;
        top: 0.14rem;
        width: 0.12rem;
        height: 0.02rem;
        border-radius: 0.4rem;
        background: linear-gradient(270deg, #A363CD 0%, #5828F3 100%), #A262CD;
        transition: all .5s;
    }

    .aitit::after {
        content: "";
        position: absolute;
        right: 0.1rem;
        top: 0.14rem;
        width: 0.12rem;
        height: 0.02rem;
        border-radius: 0.4rem;
        background: linear-gradient(270deg, #A363CD 0%, #5828F3 100%), #A262CD;
        transform: rotateZ(-90deg);
        transition: all .5s;
    }




    .aitit.on::after {
        transform: rotateZ(-90deg) scale(0);
    }




    .page-r .pager-box {
        display: none;
        overflow: visible;
    }

    .psearch2 {
        left: 0.2rem;
        right: 0.2rem;
        bottom: 0.3rem;
        width: auto;
    }



}