
    /* ============================================ */
    /* 自定义右键菜单样式（ctx- 前缀防冲突） */
    /* ============================================ */
    .ctx-menu {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 2147483000;
        min-width: 160px;
        padding: 6px;
        background: rgba(255, 255, 255, 0.92);
        -webkit-backdrop-filter: blur(16px);
        backdrop-filter: blur(16px);
        border: 1px solid rgba(255, 255, 255, 0.7);
        border-radius: 14px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.16), 0 2px 8px rgba(0, 0, 0, 0.08);
        opacity: 0;
        visibility: hidden;
        transform: scale(0.9) translateY(-6px);
        transform-origin: top left;
        transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
        user-select: none;
    }

    .ctx-menu.ctx-show {
        opacity: 1;
        visibility: visible;
        transform: scale(1) translateY(0);
    }

    .ctx-menu-item {
        display: flex;
        align-items: center;
        gap: 11px;
        padding: 9px 14px;
        border-radius: 10px;
        font-size: 13.5px;
        font-weight: 600;
        color: #334155;
        cursor: pointer;
        transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
    }

    .ctx-menu-item + .ctx-menu-item {
        position: relative;
    }

    /* 菜单项之间的细分隔线 */
    .ctx-menu-item + .ctx-menu-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 14px;
        right: 14px;
        height: 1px;
        background: rgba(0, 0, 0, 0.05);
    }

    .ctx-menu-item:hover {
        background: var(--grad-primary, linear-gradient(135deg, #6366f1, #a855f7));
        color: #fff;
        padding-left: 17px;
    }

    /* 悬浮时隐藏分隔线，视觉更整体 */
    .ctx-menu-item:hover::before,
    .ctx-menu-item:hover + .ctx-menu-item::before {
        opacity: 0;
    }

    .ctx-menu-item i {
        width: 16px;
        text-align: center;
        font-size: 13px;
        color: var(--color-primary, #6366f1);
        transition: color 0.15s ease;
    }

    .ctx-menu-item:hover i {
        color: #fff;
    }

    /* 复制成功提示 */
    .ctx-toast {
        position: fixed;
        bottom: 40px;
        left: 50%;
        z-index: 2147483001;
        padding: 10px 22px;
        background: rgba(30, 41, 59, 0.92);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        color: #fff;
        font-size: 13.5px;
        font-weight: 600;
        border-radius: 25px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
        transition: opacity 0.25s ease, transform 0.25s ease;
        pointer-events: none;
    }

    .ctx-toast.ctx-toast-show {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

