* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        html, body {
            height: 100%;
            width: 100%;
            font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
            background-color: #ffffff;
            color: #333;
            line-height: 1.6;
            overflow-x: hidden;
        }
        
        body {
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }
        
        header {
            position: sticky;
            top: 0;
            left: 0;
            width: 100%;
            background-color: #ffffff;
            padding: 15px 24px;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
            z-index: 100;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-shrink: 0;
        }
        
        .logo {
            display: flex;
            align-items: center;
            text-decoration: none;
            cursor: pointer;
        }
        
        .logo-icon {
            color: #ff6b6b;
            font-size: 28px;
            margin-right: 10px;
        }
        
        .logo-text {
            font-size: 22px;
            font-weight: 700;
            color: #333;
        }
        
        .logo-subtext {
            font-size: 12px;
            color: #666;
            margin-left: 8px;
        }
        
        main {
            padding: 20px 24px;
            flex: 1;
            width: 100%;
            display: flex;
            flex-direction: column;
        }
        
        /* 列表页内容头部样式 */
        .content-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid #f0f0f0;
            flex-shrink: 0;
        }
        
        .header-left {
            display: flex;
            align-items: center;
            gap: 20px;
            flex: 1;
        }
        
        .section-title {
            display: flex;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
        }
        
        .title-text {
            font-size: 22px;
            font-weight: 600;
            color: #222;
            white-space: nowrap;
        }
        
        .video-parse-box {
            display: flex;
            gap: 10px;
            align-items: center;
            flex: 1;
            max-width: 600px;
            min-width: 300px;
        }
        
        .video-parse-input {
            flex: 1;
            padding: 10px 15px;
            border: 2px solid #e0e0e0;
            border-radius: 6px;
            font-size: 14px;
            transition: all 0.3s ease;
            outline: none;
            height: 40px; /* 固定高度 */
        }
        
        .video-parse-input:focus {
            border-color: #4a6cf7;
            box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.1);
        }
        
        .video-parse-btn {
            background: linear-gradient(90deg, #4a6cf7, #6a8cff);
            color: white;
            border: none;
            padding: 0 20px;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s ease;
            white-space: nowrap;
            height: 40px; /* 固定高度，与输入框一致 */
        }
        
        .video-parse-btn:hover {
            background: linear-gradient(90deg, #3a5ce5, #5a7cff);
            box-shadow: 0 4px 12px rgba(74, 108, 247, 0.25);
        }
        
        /* 缓存日期选择器 */
        .cache-date-selector {
            display: flex;
            align-items: center;
            gap: 10px;
            background: #f8f9fa;
            padding: 8px 12px;
            border-radius: 6px;
            border: 1px solid #e0e0e0;
            margin-bottom: 15px;
            flex-shrink: 0;
            flex-wrap: wrap;
        }
        
        .cache-date-selector label {
            font-size: 13px;
            color: #666;
            white-space: nowrap;
        }
        
        .cache-date-selector select {
            background: white;
            border: 1px solid #ddd;
            border-radius: 4px;
            padding: 6px 10px;
            font-size: 13px;
            min-width: 120px;
            cursor: pointer;
            outline: none;
        }
        
        .cache-date-selector select:focus {
            border-color: #4a6cf7;
        }
        
        .cache-date-info {
            font-size: 12px;
            color: #888;
            white-space: nowrap;
            flex: 1;
            margin: 0 10px;
        }
        
        .back-btn {
            background: linear-gradient(90deg, #4a6cf7, #6a8cff);
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 6px;
            font-size: 14px;
            cursor: pointer;
            display: flex;
            align-items: center;
            transition: all 0.3s ease;
        }
        
        .back-btn:hover {
            background: linear-gradient(90deg, #3a5ce5, #5a7cff);
            box-shadow: 0 4px 12px rgba(74, 108, 247, 0.25);
        }
        
        .back-btn i {
            margin-right: 6px;
        }
        
        .stats-info {
            display: flex;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
        }
        
        .stat-item {
            font-size: 14px;
            color: #666;
            white-space: nowrap;
        }
        
        .stat-item strong {
            color: #ff6b6b;
            font-weight: 600;
        }
        
        .nav-tabs {
            display: flex;
            gap: 5px;
            margin-bottom: 25px;
            border-bottom: 1px solid #f0f0f0;
            padding-bottom: 15px;
            overflow-x: auto;
            scrollbar-width: none;
            flex-shrink: 0;
        }
        
        .nav-tabs::-webkit-scrollbar {
            display: none;
        }
        
        .tab-btn {
            background: none;
            border: none;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 13px;
            color: #666;
            cursor: pointer;
            white-space: nowrap;
            transition: all 0.3s ease;
        }
        
        .tab-btn.active {
            background-color: #4a6cf7;
            color: white;
            font-weight: 600;
        }
        
        .tab-btn:hover:not(.active) {
            background-color: #f5f5f5;
            color: #333;
        }
        
        .content-wrapper {
            flex: 1;
            display: flex;
            flex-direction: column;
            min-height: 0;
        }
        
        .video-grid-container {
            flex: 1;
            display: flex;
            flex-direction: column;
            min-height: 0;
        }
        
        .video-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 20px;
            flex: 1;
            min-height: 0;
            overflow-y: auto;
            padding-right: 5px;
            margin-bottom: 20px;
        }
        
        /* 视频卡片样式 */
        .video-card {
            background: #ffffff;
            border-radius: 8px;
            overflow: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
            border: 1px solid #f0f0f0;
            cursor: pointer;
            position: relative;
            display: flex;
            flex-direction: column;
        }
        
        .video-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
            border-color: #e0e0e0;
        }
        
        .thumbnail-container {
            position: relative;
            width: 100%;
            height: 0;
            padding-bottom: 56.25%; /* 16:9 比例 */
            background-color: #f8f9fa;
            overflow: hidden;
        }
        
        .thumbnail {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }
        
        .video-card:hover .thumbnail {
            transform: scale(1.05);
        }
        
        .duration {
            position: absolute;
            bottom: 8px;
            right: 8px;
            background-color: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 2px 6px;
            border-radius: 4px;
            font-size: 11px;
            font-weight: 500;
            z-index: 2;
        }
        
        .title-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
            color: white;
            padding: 40px 12px 12px;
            z-index: 2;
        }
        
        .video-title {
            font-size: 14px;
            font-weight: 600;
            line-height: 1.4;
            margin: 0;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            color: white;
        }
        
        .video-info {
            padding: 12px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        
        .video-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 12px;
            color: #666;
            margin-top: auto;
            padding-top: 8px;
            border-top: 1px solid #f5f5f5;
        }
        
        .play-count {
            display: flex;
            align-items: center;
            color: #ff6b6b;
            font-weight: 500;
        }
        
        .play-count i {
            margin-right: 4px;
            font-size: 12px;
        }
        
        .author-name {
            font-size: 12px;
            color: #666;
            display: flex;
            align-items: center;
            gap: 5px;
            margin-bottom: 5px;
        }
        
        .loading-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100%;
            min-height: 400px;
        }
        
        .spinner {
            width: 50px;
            height: 50px;
            border: 4px solid rgba(0, 0, 0, 0.1);
            border-radius: 50%;
            border-top-color: #4a6cf7;
            animation: spin 1s ease-in-out infinite;
            margin-bottom: 20px;
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        .loading-text {
            color: #666;
            font-size: 15px;
        }
        
        .error-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100%;
            min-height: 400px;
            text-align: center;
            padding: 20px;
        }
        
        .error-icon {
            font-size: 56px;
            color: #ff6b6b;
            margin-bottom: 20px;
            opacity: 0.8;
        }
        
        .error-title {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 12px;
            color: #333;
        }
        
        .error-message {
            font-size: 15px;
            color: #666;
            margin-bottom: 24px;
            max-width: 500px;
        }
        
        .retry-btn {
            background: linear-gradient(90deg, #4a6cf7, #6a8cff);
            color: white;
            border: none;
            padding: 12px 28px;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            transition: all 0.3s ease;
        }
        
        .retry-btn:hover {
            background: linear-gradient(90deg, #3a5ce5, #5a7cff);
            box-shadow: 0 5px 15px rgba(74, 108, 247, 0.25);
        }
        
        .retry-btn i {
            margin-right: 8px;
        }
        
        .load-more-container {
            text-align: center;
            padding: 20px 0;
            flex-shrink: 0;
        }
        
        .load-more-btn {
            background-color: #fff;
            color: #4a6cf7;
            border: 1px solid #e0e0e0;
            padding: 12px 30px;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            transition: all 0.3s ease;
        }
        
        .load-more-btn:hover {
            background-color: #f8f9fa;
            border-color: #4a6cf7;
        }
        
        .load-more-btn i {
            margin-right: 8px;
        }
        
        /* 自定义滚动条 */
        .video-grid::-webkit-scrollbar {
            width: 6px;
        }
        
        .video-grid::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 4px;
        }
        
        .video-grid::-webkit-scrollbar-thumb {
            background: #c1c1c1;
            border-radius: 4px;
        }
        
        .video-grid::-webkit-scrollbar-thumb:hover {
            background: #a8a8a8;
        }
        
        /* 响应式设计 */
        @media (max-width: 1400px) {
            .video-grid {
                grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
                gap: 18px;
            }
        }
        
        @media (max-width: 1200px) {
            .video-grid {
                grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
                gap: 16px;
            }
        }
        
        @media (max-width: 1024px) {
            .video-grid {
                grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
                gap: 14px;
            }
            
            main {
                padding: 15px;
            }
            
            .content-header {
                gap: 15px;
            }
        }
        
        @media (max-width: 900px) {
            .video-grid {
                grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
                gap: 12px;
            }
            
            .content-header {
                flex-wrap: wrap;
                gap: 10px;
                margin-bottom: 15px;
            }
            
            .header-left {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
            }
            
            .section-title {
                width: 100%;
            }
            
            .title-text {
                font-size: 20px;
            }
            
            .video-parse-box {
                width: 100%;
                max-width: 100%;
                margin-top: 5px;
            }
        }
        
        @media (max-width: 768px) {
            .video-grid {
                grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
                gap: 10px;
            }
            
            .video-title {
                font-size: 13px;
            }
            
            .video-info {
                padding: 10px;
            }
            
            .title-text {
                font-size: 18px;
            }
            
            .content-header {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .stats-info {
                width: 100%;
                justify-content: flex-start;
                margin-top: 10px;
            }
        }
        
        @media (max-width: 600px) {
            .video-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }
            
            header {
                padding: 12px 15px;
            }
            
            .logo-icon {
                font-size: 24px;
            }
            
            .logo-text {
                font-size: 18px;
            }
            
            .stats-info {
                gap: 10px;
                font-size: 12px;
            }
            
            .video-parse-box {
                flex-direction: column;
                gap: 8px;
            }
            
            .video-parse-input {
                width: 100%;
            }
            
            .video-parse-btn {
                width: 100%;
                justify-content: center;
            }
            
            .title-text {
                font-size: 16px;
            }
        }
        
        @media (max-width: 480px) {
            .video-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 8px;
            }
            
            .thumbnail-container {
                padding-bottom: 60%; /* 手机端调整比例 */
            }
            
            .video-title {
                font-size: 12px;
                -webkit-line-clamp: 2;
            }
            
            .nav-tabs {
                gap: 3px;
            }
            
            .tab-btn {
                padding: 6px 12px;
                font-size: 12px;
            }
            
            .content-header {
                margin-bottom: 15px;
            }
        }
        
        @media (max-width: 360px) {
            .video-grid {
                grid-template-columns: 1fr;
                max-width: 280px;
                margin: 0 auto;
                width: 100%;
            }
        }
        
        /* 全局滚动条 */
        body::-webkit-scrollbar {
            width: 8px;
        }
        
        body::-webkit-scrollbar-track {
            background: #f1f1f1;
        }
        
        body::-webkit-scrollbar-thumb {
            background: #c1c1c1;
            border-radius: 4px;
        }
        
        body::-webkit-scrollbar-thumb:hover {
            background: #a8a8a8;
        }
        
        /* 隐藏元素 */
        .hidden {
            display: none !important;
        }
        
        /* 调试信息 */
        .debug-info {
            font-size: 11px;
            color: #888;
            background: #f8f9fa;
            padding: 8px;
            border-radius: 4px;
            margin-top: 10px;
            border-left: 3px solid #ff6b6b;
            display: none;
        }
        
/* 隐藏调试信息 */
.debug-info {
    display: none !important;
}

/* 在现有的CSS中添加 */
.video-grid {
    display: grid;
    gap: 15px;
    transition: grid-template-columns 0.3s ease;
}

.video-card {
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .date-selector-container {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}



/* 直接在您原有的.date-selector-container上覆盖样式 */
.date-selector-container {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 15px !important;
    background: #f8f9fa !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    margin-left: 0px !important;
    flex-wrap: wrap !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
}

/* 标签样式 */
.date-selector-container label {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #333 !important;
    white-space: nowrap !important;
    margin: 0 !important;
}

.date-selector-container label i {
    color: #4a6cf7 !important;
}

/* 选择框样式 */
#date-select {
    min-width: 160px !important;
    padding: 8px 30px 8px 12px !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    background: white !important;
    font-size: 14px !important;
    color: #333 !important;
    cursor: pointer !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 16px !important;
}

#date-select:focus {
    border-color: #4a6cf7 !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(74,108,247,0.2) !important;
}

/* 缓存信息样式 */
.cache-info-display {
    background: #fff !important;
    padding: 6px 12px !important;
    border-radius: 4px !important;
    border-left: 3px solid #4a6cf7 !important;
    font-size: 13px !important;
    color: #666 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    flex: 1 !important;
    min-width: 200px !important;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .content-header {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    
    .header-left {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }
    
    .date-selector-container {
        margin-left: 0 !important;
        width: 100% !important;
    }
    
    .section-title {
        width: 100% !important;
        justify-content: center !important;
    }
}

@media (max-width: 768px) {
    .date-selector-container {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
        padding: 12px !important;
    }
    
    #date-select {
        width: 100% !important;
        min-width: unset !important;
    }
    
    .cache-info-display {
        width: 100% !important;
        min-width: unset !important;
    }
}