* { 
    margin:0;
    padding: 0;
}
ul
{
    list-style-type:none;
}
body{
    position: relative;
    --font-size: calc(100vw / 16);
    font-family: "等线" ;
}
#top_bar h1.title {
    font-size: 28px;
    color: #000;
    cursor: pointer;
}
.switch_language_wrpa {
    margin-left: 40px;
}
.switch_language{
    color: #666;
    text-decoration: none;
    font-size: 14px;
}
.switch_language.active{
    color: #333;
    font-weight: 600;
    text-decoration: underline;
}
/* top_bar */
#top_bar{
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1020;
    box-sizing: border-box;
    background-color: #fff;
    color:#666;
    background-image: linear-gradient(to top,#eee ,transparent);
    font-size: 16px;
}
#top_bar nav {
    position: relative;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    height: 60px;
}
#top_bar .fold_nav{
    position: relative;
    display: none;
    z-index: 10;
    margin-left: auto;
    margin-right: 40px;
    width: 48px;
    height: 48px;
    cursor: pointer;
    user-select: none;
}
#top_bar nav .close{
    opacity: 0;
}
#top_bar nav.active .logo{
    background-color: transparent;
}
#top_bar nav.active .fold{
    opacity: 0;
}
#top_bar nav.active .close{
    opacity: 1;
}
#top_bar nav .logo{
    height: 100%;
    padding-left: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}
#top_bar nav .logo img{
    height: 37px;
}
#top_bar_register.active.focus,
#top_bar_login.active.focus{
    color: #036cd6;
    font-weight: bolder;
}
#top_bar nav .tab {
    height: 100%;
    margin-left: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
#top_bar nav .tab li{
    display: flex;
    height: 100%;
    padding: 8px;
    justify-content: center;
    align-items: center;
    margin-left: calc(var(--font-size) * .26);
    cursor: pointer;
    box-sizing: border-box;
    transition: color .6s;
}
#top_bar nav .tab li.active{
    color: #036cd6;
    font-weight: 600;
    border-bottom: 2px solid #036cd6;
}
#top_bar nav .tab li #top_bar_self{
    margin-left: 16px;
    font-size: 14px;
}
#top_bar nav .tab li #workbench{
    margin-left: 16px;
    font-size: 14px;
}
#top_bar_user{
    display: flex;
    align-items: center;
    margin-right: 3vw;
    font-size: 14px;
    cursor: pointer;
}
#top_bar_user span{
    margin-left: 14px;
}
#top_bar_user span:hover{
    color: #aaa;
}
#top_bar_user span.active{
    color: #036cd6;
    font-weight: 600;
}
#top_bar nav .tab li #top_bar_logout{
    color: #aaa;
    font-size: 14px;
    font-weight: 600;
}
#user_message{
    position: relative;
    display: inline-block;
    background-image: url(./images/ui-icons_444444_256x240.png);
    background-position: -114px -137px;
    background-size: 360px;
    height: 20px;
    width: 20px;
}
#user_message #message_red_dot{
    position: absolute;
    left: 100%;
    top: 0;
    color: red;
    transform: scale(3.5);
}

.version_upgrade_prompt{
    position: fixed;
    z-index: 9999;
    display: flex;
    padding: 12px;
    width: 98%;
    left: 1%;
    align-items: center;
    margin-top: 1%;
    border-radius: 4px;
    border: 1px solid #fff;
    background-color: #fff;
    font-size: 14px;
    box-sizing: border-box;
    box-shadow: 0 0 3px 0px #333;
}
.upgrade_title{
    padding: 10px 20px;
}
.upgrade_content{
    margin: auto;
}
.upgrade_date_wrpa{
    display: flex;
}
.upgrade_conform_button{
    padding: 7px 18px;
    background-image: linear-gradient(30deg,#2E84DA,#8156A4);
    border: 0;
    color: #fff;
    outline: none;
    font-size: 12px;
    margin: 0 10px 0 auto;
    cursor: pointer;
}
.upgrade_conform_button:active{
    background-image: linear-gradient(70deg,#2E84DA,#8156A4);
}
.login_and_register_wrap{
    position: relative;
    display: flex;
    margin-left: 40px;
    height: 100%;
    align-items: center;
}
#top_bar nav #top_bar_login.active,
#top_bar nav #top_bar_register.active{
    display: block;
    border-radius: 16px;
    width: 60px;
    height: 32px;
    margin-right: 20px;
    line-height: 32px;
    text-align: center;
    font-size: 14px;
    box-sizing: border-box;
    cursor: pointer;
}
#top_bar nav #top_bar_login,
#top_bar nav #top_bar_register{
    display: none;
}
#top_bar nav #top_bar_login{
    border: 1px solid #333;
}
#top_bar nav #top_bar_register{
    background-color: #0055FF;
    color: #fff;
}

@media screen and (max-width:980px) {
    body{
        padding-top: 88px;
    }
    #top_bar{
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9999;
    }
    #top_bar nav {
        min-height: 88px;
        height: 88px;
        overflow: hidden;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        background: linear-gradient(28deg, #0055FF 0%, #00AAFF 104%);
    }
    #top_bar nav.active{
        width: 100%;
        height: 100vh;
        overflow: auto;
    }
    #top_bar nav .logo{
        display: flex;
        top: 0;
        width: 100%;
        min-height: 88px;
        height: 88px;
        align-items: center;
        justify-content: space-between;
        background-color: #fff;
    }
    #top_bar nav .logo img{
        height: 48px !important;
    }
    #top_bar nav:not(.active)~*{
        display: none !important;
    }
    #top_bar .fold_nav{
        display: block !important;
    }
    #top_bar .fold_nav svg{
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
    }
    #top_bar .tab{
        display: flex;
        justify-content: flex-start !important;;
        align-items: flex-start !important;;
        flex-direction: column;
        width: 100%;
        height: auto !important;
        box-sizing: border-box;
        color: #fff;
        order: 2;
    }
    #top_bar .tab li{
        height: 100px !important;
        font-size: 72px;
        line-height: 100px;
        margin: 30px 20px;
    }
    .login_and_register_wrap{
        height: auto;
        flex-direction: column-reverse;
    }
    #top_bar_user{
        width: 100%;
        height: auto;
        flex-direction: column;
    }
    .login_and_register_wrap{
        width: 100%;
        order: 1;
    }
    #top_bar_user >*,
    #top_bar_login.active,
    #top_bar_register.active{
        display: flex !important;
        justify-content: center;
        align-items: center;
        height: 80px !important;
        border-radius: 40px !important;
        width: calc(100% - 80px) !important;
        margin: 40px !important;
        border: 2px solid #fff !important;
        border-radius: 40px;
        box-sizing: border-box;
        font-size: 32px !important;
        color: #fff;
    }
    #top_bar_register.active{
        background-color: #fff !important;
        color: #00aaff !important;
    }
    .switch_language_wrpa{
        position: absolute;
        right: 120px;
        top: 0;
        line-height: 88px;
        font-size: 32px;
    }
}
.route_link{
    text-decoration: none;
    color: inherit;
}

.nickname-tip {
    font-size: 13px;
    color: #666;
}

.self_page {
    display: flex;
    align-items: center;
    gap: 1rem;
}