(level) + node.title;
                    folderSelect.appendChild(option);
                    if (node.children) {
                        populateFolders(node.children, level + 1);
                    }
                }
            });
        }
        
        // 查找现有书签的父文件夹ID
        function findParentFolderId(nodes, bookmarkId, parentId = 'root') {
             for (const node of nodes) {
                if (node.id === bookmarkId) return parentId;
                if (node.typ