#sidebar{
    z-index:997;
    top: 50%; /* 使元素位于视口顶部居中 */
    right: 10px;
    transform: translateY(-50%);
}
#sidebar>div{
    background-color: rgba(255,255,255,0.6);
    border-radius: 5px;
    padding: 10px;
}
#sidebar>div i{
    color: #00c097;
    font-size: 25px;
}
#sidebar>div .bi-indent{
    transform: rotate(-90deg);
    font-size: 35px;
    line-height: 25px;
}
#sidebar>div:nth-child(1) .bi-x{
    transform: rotate(45deg);
    line-height: 35px;
    font-size: 30px;
}
#sidebar>div:nth-child(1)>a:nth-child(2){
    margin: 10px 0;
}
#sidebar>#sidebarInfo{
    background-color: #fff;
    border-radius: 5px;
    display: none;
    bottom: 0;
    right: 0;
    border: 1px solid #EAEAEA;
    box-shadow: 0 0 4px rgba(0, 0, 0, .14);
    animation: sider-info .4s ease-out forwards;
}
@keyframes sider-info {
    from{
        transform: translate(10px,10px);
        opacity: 0;
    }

    to{
        transform: translate(0,0);
        opacity: 1;
    }
}
#sidebar>#sidebarInfo span{
    font-size: 1.2rem;
    font-weight: 500;
    color: #00c097;
    text-align: center;
    white-space: nowrap;
}
#sidebar>#sidebarInfo .bi-x{
    font-size: 30px;
    transform:rotate(360deg);
    animation: sider-info-bi-x .4s ease-out forwards;
}
@keyframes sider-info-bi-x {
    from{
        transform: rotate(0);
    }
    to{
        transform: rotate(360deg);
    }
}
#sidebar>#sidebarInfo a{
    margin-top: 10px;
}
#sidebar .bi-star-fill>span{
    width: 12px;
    height: 12px;
    text-align: center!important;
    line-height: 12px;
    border-radius: 50%;
    background-color: #fed460;
    color: #fff!important;
    display: inline-block;
    font-size: 8px!important;
    font-weight: 500!important;
    right: -3px;
    top: 3px;
    display: none;
}
#sidebar #web-chat{
    display: none;
    padding: 10px;
    font-size: 1.3rem;
    background-color: #fff;
    border-radius: 5px;
    width: 120px;
    position: absolute;
    right: calc(100% + 24px);
    top: 0;
}
#sidebar #web-chat>img{
    width: 96px;
    height: 96px;
}
#sidebar #web-chat>div{
    text-align: center;
    margin-top: 10px;
}
#sidebar #web-chat>div:last-child{
    width: 15px;
    height: 15px;
    background-color: #fff;
    position: absolute;
    top: 10px;
    right: -8px;
    transform: rotate(45deg);
    border-top:1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
}