
        /* ===== 基础样式 ===== */
        .collection-wrapper {
            max-width: 1800px;
				  min-width: 900px;
			
            margin: 0 auto;
            padding: 0 20px;
            box-sizing: border-box;
        }
        .collection-wrapper * { box-sizing: border-box; }

		.collection-wrapper .cat-subscription-time {
			font-size: 13px;
			color: #666;
			margin-right: 12px;
			white-space: nowrap;
		}

        /* ---- 顶部：切换按钮 + 搜索框 ---- */
        .collection-top-bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 12px;
            margin-bottom: 20px;
            border-bottom: 1px solid #e5e7eb;
            padding-bottom: 8px;
        }
        .collection-tabs {
            display: flex;
            gap: 0;
        }
        .collection-tabs .tab-btn {
            padding: 8px 24px;
            background: transparent;
            border: none;
            font-size: 16px;
            font-weight: 500;
            color: #6b7280;
            cursor: pointer;
            transition: 0.2s;
            position: relative;
        }
        .collection-tabs .tab-btn:hover { color: #111827; }
        .collection-tabs .tab-btn.active {
            color: #4338ca;
            font-weight: 600;
        }
        .collection-tabs .tab-btn.active::after {
            content: '';
            position: absolute;
            bottom: -9px;
            left: 20%;
            width: 60%;
            height: 3px;
            background: #4338ca;
            border-radius: 2px;
        }

        .collection-search-box {
            display: flex;
            align-items: center;
            gap: 6px;
            flex-shrink: 0;
        }
        .collection-search-box input {
            padding: 6px 14px;
            border: 1px solid #d1d5db;
            border-radius: 6px;
            font-size: 14px;
            outline: none;
            width: 220px;
            background: #f9fafb;
            transition: 0.2s;
        }
        .collection-search-box input:focus {
            border-color: #4338ca;
            background: #fff;
        }
        .collection-search-box input::placeholder {
            color: #9ca3af;
        }
        .collection-search-box .search-clear-btn {
            background: transparent;
            border: none;
            font-size: 18px;
            color: #888;
            cursor: pointer;
            padding: 0 4px;
            display: none;
        }
        .collection-search-box .search-clear-btn:hover { color: #333; }

        /* ---- 作品视图网格 ---- */
        .collection-works-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 20px 15px;
            width: 100%;
        }
        .collection-works-grid .post-card {
            display: flex;
            flex-direction: column;
            height: 100%;
            min-width: 0;
            overflow: hidden;
            position: relative;
        }
        .collection-works-grid .post-card:has(.vertical-thumb) { grid-row: span 2; }
        .collection-works-grid .thumb-link {
            display: block;
            background: #e0e0e0;
            border-radius: 8px;
            overflow: hidden;
            margin-bottom: 8px;
            flex-shrink: 0;
        }
        .collection-works-grid .thumb-link:not(.vertical-thumb) { aspect-ratio: 16 / 9; }
        .collection-works-grid .thumb-link.vertical-thumb {
            flex: 1;
            aspect-ratio: 3 / 4;
            min-height: 0;
        }
        .collection-works-grid .thumb-link img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        .collection-works-grid .post-card h3 {
            margin: 6px 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;
        }
        .collection-works-grid .post-card h3 a { text-decoration: none !important; color: #333; }

        /* ---- 作品视图元数据（头像+作者名+浏览量+时间） ---- */
        .collection-works-grid .post-meta {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-top: 6px;
            height: 32px;
            flex-shrink: 0;
            overflow: hidden;
            font-size: 13px;
            color: #666;
        }
        .collection-works-grid .post-meta .post-meta-author {
            display: flex;
            align-items: center;
            flex-shrink: 0;
            text-decoration: none;
        }
        .collection-works-grid .post-meta .post-author-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            object-fit: cover;
            border: 1px solid #e5e7eb;
            transition: 0.2s;
        }
        .collection-works-grid .post-meta .post-author-avatar:hover {
            transform: scale(1.05);
            border-color: #4338ca;
        }
        .collection-works-grid .post-meta .post-author-name {
            color: #555;
            font-size: 13px;
            white-space: nowrap;
            max-width: 80px;
            overflow: hidden;
            text-overflow: ellipsis;
            flex-shrink: 0;
        }
        .collection-works-grid .post-meta .meta-stats {
            display: flex;
            align-items: center;
            gap: 4px;
            color: #999;
            font-size: 14px;
            flex-shrink: 0;
            margin-left: auto;
        }
        .collection-works-grid .post-meta .meta-stats svg { width: 1.1em; height: auto; flex-shrink: 0; }
        .collection-works-grid .post-meta .post-time {
            color: #999;
            font-size: 13px;
            flex-shrink: 0;
            white-space: nowrap;
        }

        /* ---- 合集视图 ---- */
        .collection-wrapper .category-block {
            margin-bottom: 30px;
            border-bottom: 2px solid #eee;
            padding-bottom: 15px;
            cursor: grab;
            user-select: none;
        }
        .collection-wrapper .category-block.dragging { opacity: 0.4; cursor: grabbing; }
        .collection-wrapper .category-block.drag-over { border-top: 3px solid #0073aa; }

        .collection-wrapper .cat-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 8px 12px;
            background: #fafafa;
            border-radius: 6px;
            gap: 10px;
            position: relative;
        }
        .collection-wrapper .cat-left {
            display: flex;
            align-items: center;
            gap: 12px;
            flex: 1;
            min-width: 0;
            flex-wrap: nowrap;
        }
        /* 作者头像区域 */
        .collection-wrapper .cat-author-wrap {
            flex-shrink: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-right: 4px;
        }
        .collection-wrapper .cat-author-wrap a {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            color: inherit;
        }
        .collection-wrapper .cat-author-wrap img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid #fff;
            box-shadow: 0 1px 4px rgba(0,0,0,0.1);
            transition: 0.2s;
        }
        .collection-wrapper .cat-author-wrap img:hover { transform: scale(1.05); }
        .collection-wrapper .cat-author-wrap .cat-author-name {
            font-size: 12px;
            color: #555;
            margin-top: 2px;
            max-width: 50px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            text-align: center;
        }

        .collection-wrapper .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;
        }
        .collection-wrapper .cat-avatar-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .collection-wrapper .cat-avatar-wrap .avatar-placeholder { font-size: 24px; color: #999; }
        .collection-wrapper .cat-stats {
            display: flex;
            flex-direction: column;
            font-size: 13px;
            color: #555;
            line-height: 1.4;
            flex-shrink: 0;
        }
        .collection-wrapper .cat-title {
            font-size: 18px;
            font-weight: bold;
            padding: 2px 4px;
            flex: 1;
            min-width: 80px;
            word-break: break-word;
        }
        .collection-wrapper .cat-actions {
            display: flex;
            gap: 8px;
            flex-shrink: 0;
            align-items: center;
        }
        .collection-wrapper .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;
        }
        .collection-wrapper .action-btn:hover { background: #f1f5f9; }

        .collection-wrapper .cat-posts-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 15px;
            width: 100%;
            box-sizing: border-box;
            transition: max-height 0.3s ease;
            overflow: hidden;
        }
        .collection-wrapper .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;
        }
        .collection-wrapper .cat-posts-grid .cat-post-card.vertical-card { grid-row: span 2; }
        .collection-wrapper .cat-posts-grid .cat-post-card .thumb-link {
            display: block;
            background-color: #e0e0e0;
            border-radius: 8px;
            overflow: hidden;
            margin-bottom: 8px;
            flex-shrink: 0;
        }
        .collection-wrapper .cat-posts-grid .cat-post-card .thumb-link:not(.vertical-thumb) { aspect-ratio: 16 / 9; }
        .collection-wrapper .cat-posts-grid .cat-post-card .thumb-link.vertical-thumb {
            flex: 1;
            aspect-ratio: 3 / 4;
            min-height: 0;
        }
        .collection-wrapper .cat-posts-grid .cat-post-card .thumb-link img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        .collection-wrapper .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;
        }
        .collection-wrapper .cat-posts-grid .cat-post-card .cat-post-title a { text-decoration: none !important; color: #333; }
        .collection-wrapper .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;
        }
        .collection-wrapper .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;
        }
        .collection-wrapper .cat-posts-grid .cat-post-card .cat-post-meta .meta-stats svg { width: 1.1em; height: auto; flex-shrink: 0; }
        .collection-wrapper .cat-posts-grid .cat-post-card .cat-post-meta .post-time {
            color: #999;
            font-size: 14px;
            flex-shrink: 0;
            white-space: nowrap;
        }
        .collection-wrapper .cat-posts-grid .cat-post-card .remove-btn { display: none; }
        .collection-wrapper .no-posts { color: #bbb; font-size: 14px; padding: 8px; }

        /* 加载提示 */
        .collection-loading { text-align: center; padding: 20px; color: #999; display: none; }
        .collection-no-more { text-align: center; padding: 20px; color: #ccc; display: none; }

        /* 搜索无结果提示 */
        .collection-no-results {
            text-align: center;
            padding: 40px 20px;
            color: #999;
            font-size: 15px;
            display: none;
        }
