.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: #4caf50;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    display: none;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    display: block;
}


.header {
    background-color: #3762fe;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 60px;
    z-index: 99;
   
}
.header .wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    height: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding-right: 10px;
   
    

}
.header .right-bar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}


.logo{  
     display: flex; 
     align-items: center; /* 图片底部对齐 */
     height: 60px;
     padding-left: 8px;
}
.logo img{ height: 45px;}
.site-menu.open {
    left: 0;
    opacity: 1;
    -webkit-transition: opacity .5s;
    transition: opacity .5s;
}
.site-menu {
    margin-left: 0;
    position: fixed;
    top: 48px;
    left: -100%;
    z-index: 96;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    background-color: #292929;
    padding: 0;
    -webkit-transition: top .5s;
    transition: top .5s;
    line-height: 2.5rem;
    opacity: 0;
    -webkit-transition: opacity .5s;
    transition: opacity .5s;
}

.site-menu a {
    height: auto;
    width: 25%;
    border-right: none;
    margin: 0;
    text-align: center;
    border-bottom: .01rem solid #333;
    font-size: .8125rem;
    color: #fff !important;
    margin: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #202125;
}

.header #nav-btn  {
    height: 100%;
    display: none;
    width: 24px;
}
.header #nav-btn img,.header .share img {
    display: block;
    width: 100%;
    height: auto;
    margin: auto;
    -webkit-filter: brightness(100);
    filter: brightness(100);
}
 
.header .login {

    color: #fff;
    padding: 0 .125rem;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-left: 10px;
    white-space: nowrap;
    line-height: 18px;
     background: rgba(255, 255, 255, 0.05) !important;
     padding: 2px 7px;
     border-radius: 10px;
}
.header .login i,.header .userinfo i{ font-size:16px;;}
.header .userinfo{color: #fff; margin-left: 10px;font-size: 15px;;
     background: rgba(255, 255, 255, 0.05) !important;
     padding: 2px 7px;
     border-radius: 10px;
     line-height: 18px;

}
.header .userinfo a{color: #fff; text-decoration: none;}
.header .share-btn{
    display: flex;
     width: 60px;; 
     color: #fff;
     cursor: pointer;
     background: rgba(255, 255, 255, 0.05) !important;
     padding: 0;
     border-radius: 10px;
     margin: 0;

 }
 .header .share{
    display: -webkit-box;
    display: -ms-flexbox;  
    margin-left: 5px;
    margin-right: 2px;;
    width: 18px;
   
}

/* 响应式设计 */
@media (max-width: 768px) { 
    .header #nav-btn{
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        margin-left: 12px;
        height: 50px;
    }

    .header,.logo{ height: 48px;} 
    .logo img{height: 36px;}

     .header .share-btn{
        padding: 0;
     }


}