
        .user-favorites-wrapper { max-width:2000px; margin:0 auto; padding:0; box-sizing:border-box; width:100%; }
        .user-favorites-wrapper * { box-sizing:border-box; }
        .section-title { font-size:20px; font-weight:600; margin:24px 0 16px 0; color:#333; }
        .my-categories-section, .favorites-categories-section { margin-bottom:30px; padding-bottom:20px; border-bottom:2px solid #f0f0f0; }
        .category-block { margin-bottom:30px; border-bottom:2px solid #eee; padding-bottom:15px; }
        .cat-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; padding:8px 12px; background:#fafafa; border-radius:6px; gap:10px; cursor:grab; }
        .cat-header:active { cursor:grabbing; }
        .cat-header .cat-left { display:flex; align-items:center; gap:12px; flex:1; min-width:0; flex-wrap:nowrap; }
        .cat-header .cat-avatar-wrap { width:80px; aspect-ratio:16/9; border-radius:6px; overflow:hidden; background:#e0e0e0; flex-shrink:0; display:flex; align-items:center; justify-content:center; cursor:pointer; }
        .cat-header .cat-avatar-wrap img { width:100%; height:100%; object-fit:cover; }
        .cat-header .cat-avatar-wrap .avatar-placeholder { font-size:24px; color:#999; }
        .cat-header .cat-stats { display:flex; flex-direction:column; font-size:13px; color:#555; line-height:1.4; flex-shrink:0; }
        .cat-header .cat-title { font-size:18px; font-weight:bold; padding:2px 4px; border-radius:3px; flex:1; min-width:80px; word-break:break-word; max-width:100%; outline:none; cursor:text; }
        .cat-header .cat-title:focus { background:#fff; box-shadow:0 0 0 2px #0073aa; }
        .cat-header .cat-actions { display:flex; gap:8px; flex-shrink:0; }
        .cat-header .cat-actions .action-btn { background:#fff; border:1px solid #ccc; border-radius:40px; padding:4px 12px; cursor:pointer; font-size:14px; color:#000; white-space:nowrap; transition:0.2s; }
        .cat-header .cat-actions .action-btn:hover { background:#f1f5f9; }
        .cat-header .cat-actions .action-btn.danger { color:#d32f2f; border-color:#d32f2f; }
        .cat-header .cat-actions .action-btn.fav { color:#f5a623; }
        .cat-posts-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:15px; width:100%; box-sizing:border-box; min-width:0; }
        .cat-posts-grid .cat-post-card { display:flex; flex-direction:column; height:100%; min-width:0; overflow:hidden; border-radius:8px; background:#fff; box-shadow:0 1px 3px rgba(0,0,0,0.08); position:relative; }
        .cat-posts-grid .cat-post-card.vertical-card { grid-row:span 2; }
        .cat-posts-grid .cat-post-card .thumb-link { display:block; background:#e0e0e0; border-radius:8px; overflow:hidden; margin-bottom:8px; flex-shrink:0; }
        .cat-posts-grid .cat-post-card .thumb-link:not(.vertical-thumb) { aspect-ratio:16/9; }
        .cat-posts-grid .cat-post-card .thumb-link.vertical-thumb { flex:1; aspect-ratio:3/4; min-height:0; }
        .cat-posts-grid .cat-post-card .thumb-link img { width:100%; height:100%; object-fit:cover; display:block; }
        .cat-posts-grid .cat-post-card .cat-post-title { margin:6px 6px 0 6px; font-size:15px; line-height:1.4; height:2.8em; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; word-break:break-word; flex-shrink:0; }
        .cat-posts-grid .cat-post-card .cat-post-title a { text-decoration:none !important; color:#333; }
        .cat-posts-grid .cat-post-card .cat-post-meta { display:flex; align-items:center; gap:10px; margin:6px 6px 6px 6px; height:32px; flex-shrink:0; overflow:hidden; font-size:13px; color:#666; }
        .cat-posts-grid .cat-post-card .cat-post-meta .meta-stats { display:flex; align-items:center; gap:4px; color:#999; font-size:14px; flex-shrink:0; }
        .cat-posts-grid .cat-post-card .cat-post-meta .meta-stats svg { width:1.1em; height:auto; flex-shrink:0; }
        .cat-posts-grid .cat-post-card .cat-post-meta .post-time { color:#999; font-size:14px; flex-shrink:0; white-space:nowrap; }
        .cat-posts-grid .cat-post-card .remove-btn { position:absolute; top:4px; right:4px; background:rgba(255,255,255,0.9); border:none; border-radius:50%; width:26px; height:26px; font-size:16px; line-height:26px; text-align:center; cursor:pointer; color:#000; font-weight:bold; z-index:2; opacity:0; transition:opacity 0.2s; box-shadow:0 1px 3px rgba(0,0,0,0.1); padding:0; }
        .cat-posts-grid .cat-post-card:hover .remove-btn { opacity:1; }
        .post-card { position:relative; }
        .post-card .cat-icon { position:absolute; top:8px; right:8px; background:rgba(255,255,255,0.85); border-radius:50%; width:28px; height:28px; display:flex; align-items:center; justify-content:center; cursor:pointer; box-shadow:0 1px 3px rgba(0,0,0,0.2); z-index:2; opacity:0; transition:opacity 0.2s; }
        .post-card:hover .cat-icon { opacity:1; }
        .post-card .cat-icon svg { width:18px; height:18px; fill:#555; }
        .post-card .cat-dropdown { display:none; position:absolute; top:36px; right:0; background:#fff; border:1px solid #ccc; border-radius:4px; padding:4px 0; min-width:160px; box-shadow:0 2px 8px rgba(0,0,0,0.15); z-index:10; max-height:250px; overflow-y:auto; }
        .post-card .cat-dropdown.active { display:block; }
        .post-card .cat-dropdown .dropdown-item { padding:4px 12px; cursor:pointer; font-size:13px; white-space:nowrap; }
        .post-card .cat-dropdown .dropdown-item:hover { background:#f0f0f0; }
        .post-card .cat-dropdown .dropdown-item.empty { color:#999; pointer-events:none; }
        .post-card .cat-dropdown .dropdown-divider { border-top:1px solid #ddd; margin:4px 0; }
        .post-card .cat-dropdown .dropdown-item.danger { color:#d32f2f; }
        .post-card .cat-dropdown .cat-search { padding:4px 8px; border:1px solid #ddd; border-radius:4px; font-size:13px; width:100%; box-sizing:border-box; background:#f9f9f9; }
        .post-card .cat-dropdown .cat-search:focus { border-color:#4338ca; outline:none; background:#fff; }
        .post-card .cat-dropdown .cat-items-wrapper { max-height:150px; overflow-y:auto; }
        .user-favorites-container { display:grid; grid-template-columns:repeat(5,1fr); gap:20px 15px; width:100% !important; max-width:100% !important; margin:0 !important; padding:0 !important; box-sizing:border-box !important; transition:min-height 0.2s; }
        .user-favorites-container .post-card { display:flex; flex-direction:column; height:100%; min-width:0; overflow:hidden; }
        .user-favorites-container .post-card:has(.vertical-thumb) { grid-row:span 2; }
        .user-favorites-container .thumb-link { display:block; background:#e0e0e0; border-radius:8px; overflow:hidden; margin-bottom:8px; flex-shrink:0; }
        .user-favorites-container .thumb-link:not(.vertical-thumb) { aspect-ratio:16/9; }
        .user-favorites-container .thumb-link.vertical-thumb { flex:1; aspect-ratio:3/4; min-height:0; }
        .user-favorites-container .thumb-link img { width:100%; height:100%; object-fit:cover; display:block; }
        .user-favorites-container .post-card h3 { margin:6px 0 0 0; font-size:15px; line-height:1.4; height:2.8em; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; word-break:break-word; flex-shrink:0; }
        .user-favorites-container .post-card h3 a { text-decoration:none !important; color:#333; }
        .user-favorites-container .post-meta { display:flex; align-items:center; gap:10px; margin-top:6px; height:32px; flex-shrink:0; overflow:hidden; font-size:13px; color:#666; }
        .user-favorites-container .author-info { display:flex; align-items:center; gap:5px; overflow:hidden; white-space:nowrap; font-size:14px; flex-shrink:1; min-width:0; }
        .user-favorites-container .author-info img { border-radius:50%; width:28px; height:28px; object-fit:cover; flex-shrink:0; }
        .user-favorites-container .author-info a { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; text-decoration:none; }
        .user-favorites-container .meta-stats { display:flex; align-items:center; gap:4px; color:#999; font-size:14px; flex-shrink:0; }
        .user-favorites-container .meta-stats svg { width:1.1em; height:auto; flex-shrink:0; }
        .user-favorites-container .post-time { color:#999; font-size:14px; flex-shrink:0; white-space:nowrap; }
        .category-block.dragging { opacity:0.4; cursor:grabbing; }
        .category-block.drag-over { border-top:3px solid #0073aa; }
        .uf-filter-btn.active-btn { background:#eef2ff !important; color:#4338ca !important; border-color:#4338ca !important; font-weight:600 !important; }
        .uf-filter-btn:hover { background:#f1f5f9; color:#0f172a; }
        #uf-add-category-btn { white-space:nowrap; }
        #uf-new-cat-name { white-space:nowrap; }
        .load-more-btn { padding:8px 24px; background:#eef2ff; border:1px solid #4338ca; border-radius:40px; color:#4338ca; cursor:pointer; font-size:14px; }
        .load-more-btn:hover { background:#dbeafe; }
        @media (max-width:1200px) { .user-favorites-container { grid-template-columns:repeat(4,1fr) !important; } .cat-posts-grid { grid-template-columns:repeat(4,1fr) !important; } }
        @media (max-width:992px) { .user-favorites-container { grid-template-columns:repeat(3,1fr) !important; } .cat-posts-grid { grid-template-columns:repeat(3,1fr) !important; } }
        @media (max-width:600px) { .user-favorites-container { grid-template-columns:repeat(2,1fr) !important; } .cat-posts-grid { grid-template-columns:repeat(2,1fr) !important; } }
		.member-icon {
			display: inline-block;
			width: 15px;
			height: 15px;
			border-radius: 50%;
			background-color: #ffd700;
			color: #b8860b;
			text-align: center;
			line-height: 15px;
			font-weight: bold;
			font-size: 14px;
			font-family: Arial, sans-serif;
		}

		.public-icon {
			display: inline-block;
			width: 15px;
			height: 15px;
			border-radius: 50%;
			background-color: #4caf50;
			color: #fff;
			text-align: center;
			line-height: 15px;
			font-weight: bold;
			font-size: 14px;
			font-family: Arial, sans-serif;
		}	


        /* 收藏的合集 - 新样式（只读） */
        .category-block.is-fav-collection .cat-header {
            display: flex;
            align-items: stretch;
            gap: 16px;
            padding: 8px 12px;
            background: #fafafa;
            border-radius: 6px;
            position: relative;
        }
        .category-block.is-fav-collection .cat-avatar-wrap {
            width: 80px;
            height: 80px;
            flex-shrink: 0;
            border-radius: 8px;
            overflow: hidden;
            background: #e0e0e0;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .category-block.is-fav-collection .cat-avatar-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .category-block.is-fav-collection .cat-avatar-wrap .avatar-placeholder {
            font-size: 32px;
            color: #999;
        }
        .category-block.is-fav-collection .cat-info {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-height: 80px;
        }
        .category-block.is-fav-collection .cat-title-row {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: nowrap;
        }
        .category-block.is-fav-collection .cat-title {
            font-size: 18px;
            font-weight: bold;
            padding: 2px 4px;
            border-radius: 3px;
            flex: 1;
            min-width: 0;
            color: #333;
            cursor: default;
        }
        .category-block.is-fav-collection .cat-stats-row {
            display: flex;
            gap: 20px;
            font-size: 14px;
            color: #555;
        }
        .category-block.is-fav-collection .cat-desc-row {
            font-size: 14px;
            color: #333;
            display: flex;
            align-items: center;
            gap: 6px;
            cursor: default;
        }
        .category-block.is-fav-collection .cat-desc-row .cat-desc-text {
            word-break: break-word;
            max-height: 1.5em;
            overflow: hidden;
            transition: max-height 0.3s ease;
            flex: 1;
        }
        .category-block.is-fav-collection .cat-desc-row .cat-desc-text.expanded {
            max-height: 200px;
        }
        .category-block.is-fav-collection .cat-desc-row .cat-desc-text:empty::before {
            content: '暂无简介';
            color: #aaa;
        }
        .category-block.is-fav-collection .cat-desc-row .cat-desc-more {
            color: #0073aa;
            cursor: pointer;
            font-size: 13px;
            white-space: nowrap;
            flex-shrink: 0;
        }
        .category-block.is-fav-collection .cat-desc-row .cat-desc-more:hover {
            text-decoration: underline;
        }
        .category-block.is-fav-collection .cat-title-row .action-btn {
            background: #fff;
            border: 1px solid #ccc;
            border-radius: 40px;
            padding: 2px 10px;
            cursor: pointer;
            font-size: 14px;
            color: #000;
            white-space: nowrap;
            transition: 0.2s;
            line-height: 1.5;
        }
        .category-block.is-fav-collection .cat-title-row .action-btn:hover {
            background: #f1f5f9;
        }
        .category-block.is-fav-collection .cat-title-row .action-btn.fav {
            color: #f5a623;
        }	








		/* 三点菜单 */
		.cat-actions .three-dot-btn {
			line-height: 1;
		}
		.cat-actions .three-dot-menu {
			display: none;
			position: absolute;
			right: 0;
			top: 100%;
			background: #fff;
			border: 1px solid #ccc;
			border-radius: 4px;
			padding: 4px 0;
			min-width: 100px;
			box-shadow: 0 2px 8px rgba(0,0,0,0.15);
			z-index: 10;
		}
		.cat-actions .three-dot-menu .menu-item {
			padding: 6px 16px;
			cursor: pointer;
			font-size: 13px;
			white-space: nowrap;
		}
		.cat-actions .three-dot-menu .menu-item:hover {
			background: #f0f0f0;
		}
