/* ============================================================
   小洋子主题 - 鼠标右键菜单美化（样式一 / 样式二）
   ============================================================ */

#b2child-right-menu {
    position: fixed;
    z-index: 999999;
    display: none;
    min-width: 150px;
    padding: 6px 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14);
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    user-select: none;
    -webkit-user-select: none;
    animation: b2child-menu-fade-in 0.15s ease-out;
}

@keyframes b2child-menu-fade-in {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

#b2child-right-menu .b2child-menu-item,
#b2child-right-menu .b2child-menu-top-item {
    display: flex;
    align-items: center;
    padding: 9px 18px;
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
}

#b2child-right-menu .b2child-menu-item:hover,
#b2child-right-menu .b2child-menu-top-item:hover {
    background: #f5f7fa;
}

#b2child-right-menu .b2child-menu-item i,
#b2child-right-menu .b2child-menu-top-item i {
    margin-right: 10px;
    width: 18px;
    text-align: center;
    color: #888;
    font-size: 15px;
}

#b2child-right-menu .b2child-menu-divider {
    height: 1px;
    background: #eee;
    margin: 6px 0;
}

/* ============================================================
   样式二：顶部三图标 + 分组虚线分隔
   ============================================================ */
#b2child-right-menu.b2child-style-2 .b2child-menu-top-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0 10px;
    border-bottom: 1px dashed #d9ecff;
    margin-bottom: 6px;
}

#b2child-right-menu.b2child-style-2 .b2child-menu-top-item {
    justify-content: center;
    padding: 4px 14px;
    border-radius: 6px;
}

#b2child-right-menu.b2child-style-2 .b2child-menu-top-item i {
    margin-right: 0;
    font-size: 18px;
    color: #666;
}

#b2child-right-menu.b2child-style-2 .b2child-menu-divider {
    height: 1px;
    background: transparent;
    border-top: 1px dashed #d9ecff;
    margin: 6px 12px;
}

/* ============================================================
   深色模式适配
   ============================================================ */
.night #b2child-right-menu {
    background: #2c2c2c;
    color: #e0e0e0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.night #b2child-right-menu .b2child-menu-item:hover,
.night #b2child-right-menu .b2child-menu-top-item:hover {
    background: #3a3a3a;
}

.night #b2child-right-menu .b2child-menu-divider,
.night #b2child-right-menu.b2child-style-2 .b2child-menu-top-bar,
.night #b2child-right-menu.b2child-style-2 .b2child-menu-divider {
    border-color: #444;
    background: #444;
}
