/* 顶栏快捷菜单（flex-fill 与 header-tools 之间） */
.topgj_r {
    margin-right: 15px;
    display: flex;
    align-items: center;
    height: 100%;
}

.topgj_r .menu-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.topgj_r .menu-item a {
    padding: 8px;
    color: #282a2d;
    display: flex;
    align-items: center;
    font-size: 13px;
    transition: all 0.3s ease;
}

.io-black-mode .topgj_r .menu-item a {
    color: #c6c9cf;
}

.topgj_r .sub-menu-z {
    position: absolute;
    top: 100%;
    right: 50%;
    transform: translateX(50%);
    min-width: 90px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform-origin: top center;
    transition: all 0.25s cubic-bezier(0.3, 0, 0.3, 1);
    z-index: 1000;
    padding: 8px 0;
    margin: 0;
    list-style-type: none;
}

.io-black-mode .topgj_r .sub-menu-z {
    background: #2c2e2f;
}

.topgj_r .menu-item:hover .sub-menu-z {
    opacity: 1;
    visibility: visible;
    transform: translateX(50%) translateY(0);
}

.sub-menu-z .menu-item-z {
    list-style: none;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    text-align: center;
}

.sub-menu-z .menu-item-z a {
    padding: 8px 16px;
    color: #666 !important;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    text-decoration: none;
    width: 100%;
}

.sub-menu-z .menu-item-z span {
    display: inline-block;
    text-align: center;
    width: 100%;
}

.io-black-mode .sub-menu-z .menu-item-z a {
    color: #c6c9cf !important;
}

.sub-menu-z .menu-item-z a:hover {
    background: rgba(0, 0, 0, 0.04);
    color: #333 !important;
}

.io-black-mode .sub-menu-z .menu-item-z a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
}

.navbar-menu .menu-item i {
    margin-right: 5px;
}

@media (max-width: 992px) {
    .topgj_r {
        display: none;
    }
}
