        /* 页面容器 */
        .mysaved-page {
            padding: 24px;
            width: 100%;
            min-height: 100vh;
            background: #f5f6fa;
            box-sizing: border-box;
        }
        .mysaved-header {
            margin-bottom: 20px;
        }
        .mysaved-header h2 {
            font-size: 22px;
            font-weight: 600;
            color: #1a1a2e;
            margin: 0 0 6px 0;
        }
        .mysaved-header p {
            font-size: 13px;
            color: #999;
            margin: 0;
        }

        /* 一级选项卡 */
        .main-tabs {
            display: flex;
            gap: 0;
            background: #fff;
            border-radius: 10px 10px 0 0;
            overflow: hidden;
            box-shadow: 0 1px 6px rgba(0,0,0,0.06);
        }
        .main-tab-item {
            flex: 1;
            text-align: center;
            padding: 14px 0;
            cursor: pointer;
            font-size: 15px;
            font-weight: 500;
            color: #666;
            background: #fafafa;
            transition: all 0.25s;
            position: relative;
            user-select: none;
            border-bottom: 3px solid transparent;
        }
        .main-tab-item:hover {
            color: #3b6df0;
            background: #f0f3ff;
        }
        .main-tab-item.active {
            color: #3b6df0;
            background: #fff;
            font-weight: 600;
            border-bottom-color: #3b6df0;
        }

        /* 内容区 */
        .mysaved-content {
            background: #fff;
            border-radius: 0 0 10px 10px;
            padding: 20px 24px;
            min-height: 400px;
            box-shadow: 0 1px 6px rgba(0,0,0,0.06);
        }

        /* 分类标签 */
        .category-tabs {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 20px;
            padding-bottom: 16px;
            border-bottom: 1px solid #eee;
        }
        .category-tab-item {
            padding: 6px 16px;
            border-radius: 20px;
            cursor: pointer;
            font-size: 13px;
            color: #666;
            background: #f5f5f5;
            transition: all 0.2s;
            user-select: none;
            white-space: nowrap;
        }
        .category-tab-item:hover {
            color: #3b6df0;
            background: #eef1ff;
        }
        .category-tab-item.active {
            color: #fff;
            background: #3b6df0;
            font-weight: 500;
        }

        /* 作品网格 */
        .works-grid {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 20px;
        }
        .work-card {
            border-radius: 8px;
            overflow: hidden;
            cursor: pointer;
            background: #f9f9f9;
            transition: transform 0.2s, box-shadow 0.2s;
            aspect-ratio: 1 / 1;
            position: relative;
        }
        .work-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.12);
        }
        /* 生成中的任务卡片：无缩略图，显示提示文字，不可点击 */
        .work-card.generating-card {
            cursor: default;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f2f3f5;
        }
        .work-card.generating-card:hover {
            transform: none;
            box-shadow: none;
        }
        .work-card.generating-card .generating-text {
            color: #999;
            font-size: 14px;
        }
        .work-card img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
        }

        /* 空状态 & 加载中 */
        .works-empty {
            text-align: center;
            padding: 60px 0;
            color: #bbb;
            grid-column: 1 / -1;
        }
        .works-empty .empty-icon {
            font-size: 56px;
            margin-bottom: 12px;
        }
        .works-empty .empty-text {
            font-size: 14px;
        }
        .works-loading {
            text-align: center;
            padding: 20px 0;
            color: #999;
            font-size: 13px;
            grid-column: 1 / -1;
        }
        .load-more-hint {
            text-align: center;
            padding: 24px 0 8px;
            color: #bbb;
            font-size: 13px;
            cursor: pointer;
            transition: color 0.2s;
        }
        .load-more-hint:hover {
            color: #3b6df0;
        }
        .no-more {
            text-align: center;
            padding: 20px 0;
            color: #ccc;
            font-size: 12px;
        }

        /* 图片预览弹窗 */
        .preview-overlay {
            display: none;
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0,0,0,0.72);
            z-index: 9999;
            justify-content: center;
            align-items: center;
            flex-direction: column;
        }
        .preview-overlay.show {
            display: flex;
        }
        .preview-box {
            position: relative;
            max-width: 950px;
            max-height: 80vh;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .preview-images {
            display: flex;
            gap: 24px;
            align-items: flex-start;
            justify-content: center;
        }
        .preview-images img {
            max-width: 950px;
            max-height: 72vh;
            object-fit: contain;
            border-radius: 6px;
            box-shadow: 0 8px 40px rgba(0,0,0,0.35);
            background: #fff;
        }
        .preview-images.dual img {
            max-width: 440px;
            max-height: 72vh;
        }
        .preview-close {
            position: absolute;
            top: -40px;
            right: 0;
            width: 32px;
            height: 32px;
            cursor: pointer;
            color: #fff;
            font-size: 28px;
            line-height: 32px;
            text-align: center;
            opacity: 0.8;
            transition: opacity 0.2s;
        }
        .preview-close:hover {
            opacity: 1;
        }
        .preview-download {
            margin-top: 16px;
            padding: 10px 32px;
            background: #3b6df0;
            color: #fff;
            border: none;
            border-radius: 6px;
            font-size: 14px;
            cursor: pointer;
            transition: background 0.2s;
        }
        .preview-download:hover {
            background: #2b56d0;
        }

        /* 视频播放按钮覆盖层 */
        .video-play-btn {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: rgba(0, 0, 0, 0.35);
            border: 3px solid #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            pointer-events: none;
            transition: transform 0.2s, background 0.2s;
        }
        .video-play-btn::after {
            content: '';
            display: block;
            width: 0;
            height: 0;
            border-style: solid;
            border-width: 8px 0 8px 14px;
            border-color: transparent transparent transparent #fff;
            margin-left: 2px;
        }
        .work-card:hover .video-play-btn {
            transform: translate(-50%, -50%) scale(1.1);
            background: rgba(0, 0, 0, 0.55);
        }

        /* 视频预览弹窗 */
        .video-preview-overlay {
            display: none;
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0,0,0,0.78);
            z-index: 9999;
            justify-content: center;
            align-items: center;
        }
        .video-preview-overlay.show {
            display: flex;
        }
        .video-preview-box {
            position: relative;
            max-width: 90vw;
            max-height: 85vh;
        }
        .video-preview-box video {
            max-width: 90vw;
            max-height: 85vh;
            border-radius: 8px;
            box-shadow: 0 8px 40px rgba(0,0,0,0.5);
            outline: none;
        }
        .video-preview-close {
            position: absolute;
            top: -40px;
            right: 0;
            width: 32px;
            height: 32px;
            cursor: pointer;
            color: #fff;
            font-size: 28px;
            line-height: 32px;
            text-align: center;
            opacity: 0.8;
            transition: opacity 0.2s;
            z-index: 1;
        }
        .video-preview-close:hover {
            opacity: 1;
        }

        /* 图片预览弹窗中的视频容器 */
        .preview-images video {
            max-width: 950px;
            max-height: 72vh;
            border-radius: 6px;
            box-shadow: 0 8px 40px rgba(0,0,0,0.35);
            background: #000;
        }

        /* 分类标签展开/收起按钮 */
        .category-tabs-toggle {
            display: none;
            align-items: center;
            justify-content: center;
            gap: 4px;
            padding: 8px 0 4px;
            cursor: pointer;
            color: #999;
            font-size: 12px;
            user-select: none;
            transition: color 0.2s;
        }
        .category-tabs-toggle:hover {
            color: #3b6df0;
        }
        .category-tabs-toggle .toggle-arrow {
            display: inline-block;
            width: 0;
            height: 0;
            border-left: 5px solid transparent;
            border-right: 5px solid transparent;
            border-top: 7px solid #999;
            transition: transform 0.3s;
        }
        .category-tabs-toggle:hover .toggle-arrow {
            border-top-color: #3b6df0;
        }
        .category-tabs-toggle.expanded .toggle-arrow {
            transform: rotate(180deg);
        }

        /* 移动端适配 */
        @media (max-width: 639px) {
            .mysaved-page {
                padding: 4px;
            }
            .category-tabs {
                max-height: 5em;
                overflow: hidden;
            }
            .category-tabs.expanded {
                max-height: none;
                overflow: visible;
            }
            .category-tabs-toggle {
                display: flex;
            }
            .works-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }
        }
    