/* ================================================
   OneNav 顶部快捷菜单样式
   （与子主题中的“六、顶部快捷导航菜单”一致）
   ================================================ */
.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 6px;
    color: #282a2d;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.topgj_r .menu-item a .menu-ico {
    font-size: 14px;
    opacity: .85;
    display: inline-flex;
    align-items: center;
}

.topgj_r .menu-item a .menu-arrow {
    font-size: 10px;
    opacity: .45;
    display: inline-flex;
    align-items: center;
    transition: transform .25s ease, opacity .25s ease;
    margin-left: 1px;
}

.topgj_r .menu-item:hover a .menu-arrow {
    transform: rotate(180deg);
    opacity: .9;
}

.topgj_r .menu-item:hover a {
    color: #4f8ff7;
}

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

.io-black-mode .topgj_r .menu-item:hover a {
    color: #7aa7ff;
}

.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;
}

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