        :root {
            --primary-color: #00a0e9;
            --bg-color: #f9f9f9;
            --text-color: #333;
            --modal-bg: rgba(0, 0, 0, 0.9);
        }

        .new_year_scsection {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            background-color: #fff;
            overflow-x: hidden;
        }

        /* 顶部标题 */
        main header {
            text-align: center;
            padding: 40px 20px;
            font-size: 24px;
            font-weight: bold;
            margin-top: 30px;
        }

        main header span {
            color: var(--primary-color);
            border-bottom: 2px solid var(--primary-color);
            cursor: pointer;
        }

        /* 整个标题区域 */
.hero-section {
    text-align: center;
    padding: 60px 20px 40px;
    background: linear-gradient(to bottom, #fffcfc, #ffffff);
}

/* 主标题 */
.hero-title {
    font-size: 42px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

/* 强调文字 - 红色更有新年氛围 */
.hero-title span {
    color: #e60012; /* 新年红 */
    position: relative;
    white-space: nowrap;
}

/* 标题下方的装饰线 */
.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(230, 0, 18, 0.1);
    z-index: -1;
}

/* 副标题 */
.hero-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

/* 标签组 */
.hero-tag-wrapper {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-tag {
    background: #f5f5f7;
    color: #333;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #eee;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 15px 30px;
    }
    .hero-title {
        font-size: 28px;
    }
    .hero-subtitle {
        font-size: 15px;
    }
}

        /* 瀑布流布局 */
        /* 修改后的瀑布流容器 */
        .gallery-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px 50px;
            display: flex;
            /* 改为 Flex 布局 */
            gap: 15px;
            /* 列间距 */
            align-items: flex-start;
        }

        /* 新增：列容器样式 */
        .gallery-column {
            flex: 1;
            /* 每一列平分宽度 */
            display: flex;
            flex-direction: column;
            /* 纵向排列图片 */
            gap: 15px;
            /* 行间距 */
        }

        /* 新增：图片标题样式 */
.gallery-item-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /* 使用深色渐变背景，确保在浅色图片上文字也清晰 */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
    color: #ffffff;
    padding: 20px 10px 8px 10px; /* 顶部留高一点让渐变自然 */
    font-size: 14px;
    text-align: left;
    box-sizing: border-box;
    pointer-events: none; /* 点击文字时也能穿透到图片，不影响图片点击事件 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 400;
}


        /* 移除旧的属性 */
        .gallery-item {
    position: relative; /* 必须设置，让标题相对于图片定位 */
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f0f0f0;
    cursor: pointer;
    transition: 0.3s;
}

.gallery-item:hover .gallery-item-title {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
}
        .gallery-item:hover {
            transform: translateY(-5px);
        }

        .gallery-item img {
            width: 100%;
            display: block;
            height: auto;
        }

        /* 弹窗样式 */
        .modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--modal-bg);
            display: none;
            z-index: 1000;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .modal.active {
            display: flex;
        }

        .close-btn {
            position: absolute;
            top: 20px;
            right: 30px;
            color: white;
            font-size: 35px;
            cursor: pointer;
        }

        .modal-content-wrapper {
            position: relative;
            max-width: 90%;
            display: flex;
            align-items: center;
        }

        .modal-img {
            max-width: 100%;
            max-height: 70vh;
            border-radius: 12px;
        }

        /* 切换按钮 */
        .nav-buttons {
            position: absolute;
            right: -60px;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .nav-btn {
            background: rgba(255, 255, 255, 0.15);
            border: 1px solid rgba(255, 255, 255, 0.3);
            color: white;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* --- 重点：重构后的底部输入区域 --- */
        .modal-footer {
            position: absolute;
            bottom: 40px;
            min-width: 250px;
            max-width: 900px;
        }

        .input-bar {
            background: white;
            border-radius: 50px;
            padding: 8px 10px 8px 15px;
            display: flex;
            align-items: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            gap: 10px;
        }

        /* 上传按钮 (+号) */
        .upload-trigger {
            width: 40px;
            height: 40px;
            background: #f2f2f2;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 20px;
            border: none;
            flex-shrink: 0;
        }

        /* 缩略图展示区 */
        #thumbnail-container {
            display: none;
            /* 默认隐藏 */
            position: relative;
            width: 100px;
            height: 100px;
            flex-shrink: 0;
        }

        #thumbnail-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 8px;
            border: 1px solid #ddd;
        }

        .remove-thumb {
            position: absolute;
            top: 5px;
            right: 5px;
            background: rgba(0, 0, 0, 0.6);
            color: white;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            font-size: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
        }

        /* 文字输入 */
        .input-bar input {
            flex: 1;
            border: none;
            outline: none;
            font-size: 16px;
            background: transparent;
        }

        /* 复刻按钮 */
        .duplicate-btn {
            background: #eef7ff;
            color: #007bff;
            border: none;
            padding: 8px 18px;
            border-radius: 20px;
            font-weight: 600;
            cursor: pointer;
            white-space: nowrap;
            transition: 0.2s;
        }

        .duplicate-btn:hover {
            background: #ddecff;
        }

        /* 发送/上传图标按钮 */
        .send-btn {
            width: 40px;
            height: 40px;
            background: #e0e0e0;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            border: none;
            flex-shrink: 0;
        }

        /* 隐藏文件输入 */
        #file-input {
            display: none;
        }

        /* 响应式适配 */
        @media (max-width: 768px) {
            .gallery-container {
                column-count: 2;
            }

            .nav-buttons {
                right: 10px;
                bottom: 100px;
                flex-direction: row;
            }

            .duplicate-btn {
                padding: 8px 12px;
                font-size: 13px;
            }

            .modal-footer {
                bottom: 20px;
                width: 95%;
            }
        }

        /* 任务中心基础样式 */
        .task-panel {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: #fff;
            border-radius: 16px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            z-index: 999;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
            font-family: sans-serif;
        }

        /* 折叠状态 */
        .task-panel.collapsed {
            height: 50px;
        }

        .task-header {
            height: 50px;
            padding: 0 15px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            cursor: pointer;
            background: #fff;
            border-bottom: 1px solid #f0f0f0;
        }

        .task-left {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .task-header .title {
            font-weight: bold;
            color: #333;
        }

        .task-header .count {
            background: #f0f2f5;
            color: #666;
            padding: 2px 8px;
            border-radius: 10px;
            font-size: 12px;
        }

        .task-header .all-link {
            font-size: 13px;
            color: #999;
            text-decoration: none;
            margin-left: 10px;
        }

        .arrow-icon {
            transition: transform 0.3s;
            color: #ccc;
        }

        .collapsed .arrow-icon {
            transform: rotate(180deg);
        }

        /* 列表滚动区域 */
        .task-body {
            max-height: 400px;
            overflow-y: auto;
            padding: 10px;
        }

        /* 隐藏滚动条但保持功能 (Chrome/Safari) */
        .task-body::-webkit-scrollbar {
            width: 5px;
        }

        .task-body::-webkit-scrollbar-thumb {
            background: #eee;
            border-radius: 10px;
        }

        /* 任务单项 */
        .task-item {
            display: flex;
            gap: 12px;
            padding: 12px;
            border-bottom: 1px solid #f9f9f9;
        }

        .task-thumb {
            width: 80px;
            height: 80px;
            border-radius: 8px;
            overflow: hidden;
            position: relative;
            flex-shrink: 0;
        }

        .task-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            cursor: pointer;
        }

        .task-thumb.bg-gray {
            background: #f5f5f5;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .duration {
            position: absolute;
            bottom: 4px;
            right: 4px;
            background: rgba(0, 0, 0, 0.6);
            color: #fff;
            font-size: 10px;
            padding: 1px 4px;
            border-radius: 4px;
        }

        .task-info {
            flex: 1;
        }

        .task-name {
            font-size: 15px;
            font-weight: 500;
            margin-bottom: 4px;
        }

        .task-time {
            font-size: 12px;
            color: #bbb;
            margin-bottom: 10px;
        }

        .task-status.error {
            color: #ff4d4f;
            font-size: 13px;
            margin-bottom: 8px;
        }

        /* 按钮组 */
        .task-actions {
            display: flex;
            gap: 8px;
        }

        .task-actions button {
            border: 1px solid #e8e8e8;
            background: #fff;
            padding: 4px 12px;
            border-radius: 6px;
            font-size: 13px;
            cursor: pointer;
            transition: 0.2s;
        }

        .task-actions .btn-view {
            background: #181818;
            color: #fff;
            border: none;
        }

        .task-actions button:hover {
            opacity: 0.8;
        }

        /* 适配移动端 */
        @media (max-width: 768px) {
            .task-panel {
                width: calc(100% - 40px);
                left: 20px;
            }
        }

        /* 适配移动端：任务列表横向展示 */
@media (max-width: 768px) {
    .task-panel {
        width: 94%;
        left: 3%;
        right: 3%;
        bottom: 15px;
    }

    /* 核心修改：让列表容器变成弹性盒模型，支持横向滚动 */
    .task-body {
        padding: 10px;
        max-height: none; /* 移除高度限制 */
        overflow-y: hidden; 
        overflow-x: auto; /* 开启横向滚动 */
        -webkit-overflow-scrolling: touch; /* iOS 滚动丝滑 */
    }

    .task-list {
        display: flex; /* 横向排列 */
        flex-direction: row;
        gap: 12px; /* 项与项之间的间距 */
    }

    .task-item {
        display: flex;
        flex-direction: column; /* 单个任务内部改为纵向布局（图在上，按钮在下） */
        width: 100px; /* 固定的宽度 */
        flex-shrink: 0; /* 禁止被压缩 */
        padding: 0;
        border-bottom: none;
        align-items: center;
        gap: 8px;
    }

    .task-thumb {
        width: 100px; /* 移动端略微调大缩略图 */
        height: 100px;
        border-radius: 12px;
    }

    /* 隐藏移动端不重要的文字信息，节省空间 */
    .task-info {
        display: none; 
    }

    /* 按钮组样式调整 */
    .task-actions {
        width: 100%;
        justify-content: center;
    }

    .task-actions button {
        padding: 4px 0;
        width: 100%;
        font-size: 12px;
        text-align: center;
    }

    /* 自定义横向滚动条样式（可选，美化） */
    .task-body::-webkit-scrollbar {
        height: 4px;
    }
    .task-body::-webkit-scrollbar-thumb {
        background: #eee;
        border-radius: 10px;
    }
}