        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
            background-color: #111827; /* 更纯粹的深灰色 */
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        
        /* 顶部进度条 - 极简版 */
        #progress-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: #1f2937;
            z-index: 1000;
        }
        
        #progress-bar {
            height: 100%;
            background: #60a5fa; /* 柔和的蓝色 */
            width: 0%;
            transition: width 0.2s ease;
            will-change: width;
        }
        /* 自定义滚动条样式 - 优化触摸设备 */
        ::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }
        ::-webkit-scrollbar-track {
            background: #1f2937;
        }
        ::-webkit-scrollbar-thumb {
            background: #6b7280;
            border-radius: 4px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: #4b5563;
        }
        
        /* iOS 平滑滚动 */
        * {
            -webkit-overflow-scrolling: touch;
        }

        /* 加载指示器 - 简化版 */
        .loader {
            border: 3px solid #374151;
            border-radius: 50%;
            border-top: 3px solid #60a5fa;
            width: 36px;
            height: 36px;
            animation: spin 0.8s linear infinite;
        }
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        /* 模态框动画 - 简化版 */
        #video-modal, #about-modal {
            transition: opacity 0.2s ease;
            backdrop-filter: blur(2px);
        }
        #modal-content, #about-modal > div {
            transition: transform 0.2s ease, opacity 0.2s ease;
        }
        
        /* 表单元素 - 简洁版 */
        select, input[type="text"], input[type="search"] {
            background-color: #1f2937;
            border: 1px solid #374151;
            border-radius: 6px;
            padding: 8px 12px;
            color: #f1f5f9;
            transition: border-color 0.2s ease;
        }
        
        select:focus, input[type="text"]:focus, input[type="search"]:focus {
            outline: none;
            border-color: #60a5fa;
            box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.1);
        }
        
        select:hover, input[type="text"]:hover, input[type="search"]:hover {
            border-color: #4b5563;
        }
        
        /* 工具提示 */
        .tooltip {
            position: relative;
        }
        
        .tooltip::after {
            content: attr(data-tooltip);
            position: absolute;
            bottom: 125%;
            left: 50%;
            transform: translateX(-50%);
            background-color: #1e293b;
            color: #f8fafc;
            padding: 4px 8px;
            border-radius: 6px;
            font-size: 12px;
            white-space: nowrap;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        }
        
        .tooltip::before {
            content: '';
            position: absolute;
            bottom: 115%;
            left: 50%;
            transform: translateX(-50%);
            border-width: 5px;
            border-style: solid;
            border-color: transparent transparent #1e293b transparent;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
            z-index: 1000;
        }
        
        .tooltip:hover::after,
        .tooltip:hover::before {
            opacity: 1;
            visibility: visible;
        }
        
        /* 响应式调整 - 增强移动端体验 */
        @media (max-width: 640px) {
            .video-grid {
                grid-template-columns: 1fr;
            }
            
            .header-content {
                flex-direction: column;
                gap: 15px;
                padding: 15px;
            }
            
            .search-container {
                width: 100%;
            }
            
            #modal-content, #about-modal > div {
                margin: 10px;
                max-width: calc(100vw - 20px);
                max-height: 95vh;
            }
            
            #filters-container {
                flex-direction: column;
                gap: 10px;
            }
            
            #filters-container select {
                width: 100%;
            }
            
            /* 增大移动端触摸目标 */
            button, .btn-ripple, .favorite-btn {
                min-height: 44px;
                min-width: 44px;
            }
            
            /* 优化移动端输入框 */
            input, select {
                font-size: 16px; /* 防止 iOS 自动缩放 */
            }
        }
        
        /* 性能优化 */
        .animate-fade-in {
            animation: fadeIn 0.3s ease-out forwards;
            opacity: 0;
        }
        
        /* 减少动画复杂度 */
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }
        /* 视频卡片 - 极简版 */
        .video-card {
            transition: transform 0.15s ease, box-shadow 0.15s ease;
            border: 1px solid #1f2937;
            will-change: transform;
        }
        
        @media (hover: hover) {
            .video-card:hover {
                transform: translateY(-2px);
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
                border-color: #374151;
            }
        }
        
        /* 触摸设备优化 */
        @media (hover: none) {
            .video-card:active {
                transform: scale(0.98);
                opacity: 0.95;
            }
        }
        
        /* 标题样式 - 纯色版 */
        .title-gradient {
            color: #f1f5f9;
            position: relative;
            transition: color 0.2s ease;
        }
        
        .title-gradient:hover {
            color: #60a5fa;
        }
        /* 按钮交互 - 简化版，优化触摸 */
        .btn-ripple {
            position: relative;
            transition: transform 0.1s ease, opacity 0.2s ease;
            -webkit-tap-highlight-color: transparent;
            touch-action: manipulation;
        }
        .btn-ripple:active {
            transform: scale(0.96);
            opacity: 0.8;
        }
        
        /* 动态岛 - 简化版 */
        #dynamic-island-counter {
            transition: opacity 0.3s ease, transform 0.3s ease;
            opacity: 0;
            transform: translateY(-10px);
        }
        #dynamic-island-counter.active {
            opacity: 1;
            transform: translateY(0);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
        }
        .favorite-btn.favorited svg {
            fill: #fbbf24; /* 柔和的黄色 */
            stroke: #fbbf24;
        }

        /* 辅助文本 */
        .sr-only {
          position: absolute;
          width: 1px;
          height: 1px;
          padding: 0;
          margin: -1px;
          overflow: hidden;
          clip: rect(0, 0, 0, 0);
          white-space: nowrap;
          border-width: 0;
        }
        /* 卡片进入动画 - 简化版 */
        .animate-fade-in {
            animation: fadeIn 0.3s ease-out forwards;
            opacity: 0;
        }
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        /* 骨架屏样式 - 简化版 */
        .skeleton {
            background: #1f2937;
            animation: pulse 1.5s ease-in-out infinite;
        }
        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.6; }
        }
        /* 移除重复的滚动条和标题样式 */
        
        /* 动态岛样式 - 简洁版 */
        .dynamic-island {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            background-color: rgba(31, 41, 55, 0.95);
            backdrop-filter: blur(8px);
            border-radius: 20px;
            padding: 0.75rem 1.25rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
            color: #e5e7eb;
            font-size: 0.875rem;
            border: 1px solid #374151;
            transition: transform 0.3s ease, opacity 0.3s ease;
            transform: translateY(100%);
            opacity: 0;
            z-index: 100;
        }
        .dynamic-island.active {
            transform: translateY(0);
            opacity: 1;
        }
        
        /* 视频容器 - iOS 优化 */
        #video-container {
            width: 100%;
            height: 0;
            padding-bottom: 56.25%; /* 16:9 比例 */
            position: relative;
            background: #000;
        }
        #video-container video, #video-container iframe, #video-container > div {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
        
        /* iOS 视频播放优化 */
        #video-container video {
            object-fit: contain;
            -webkit-playsinline: true;
            playsinline: true;
        }
        
        body .filter-item {
            border: 1px solid var(--border-color);
            color: var(--text-primary);
        }
        
        body .filter-item.selected {
            background-color: #eef2ff;
            border-color: #818cf8;
        }

/* 额外的性能和触摸优化 */

/* 统一配色方案 */
:root {
    --primary-blue: #60a5fa;
    --primary-blue-hover: #3b82f6;
    --bg-primary: #111827;
    --bg-secondary: #1f2937;
    --bg-tertiary: #374151;
    --border-color: #374151;
    --text-primary: #f1f5f9;
    --text-secondary: #e5e7eb;
    --text-muted: #9ca3af;
}

/* 图片懒加载优化 */
img[loading="lazy"] {
    content-visibility: auto;
}

/* 减少重绘 */
.video-card, .btn-ripple, button {
    contain: layout style paint;
}

/* 触摸反馈优化 */
@media (hover: none) and (pointer: coarse) {
    /* 移动设备触摸优化 */
    button, a, .favorite-btn, .video-card {
        -webkit-tap-highlight-color: rgba(96, 165, 250, 0.2);
        touch-action: manipulation;
    }
    
    /* 增大触摸目标 */
    .favorite-btn {
        padding: 0.75rem;
    }
    
    /* 移除悬停效果 */
    .video-card:hover {
        transform: none;
        box-shadow: none;
        border-color: #374151;
    }
}

/* iOS 特定优化 */
@supports (-webkit-touch-callout: none) {
    /* iOS Safari */
    body {
        -webkit-text-size-adjust: 100%;
    }
    
    input, textarea, select {
        font-size: 16px; /* 防止 iOS 缩放 */
    }
    
    /* 修复 iOS 滚动问题 */
    .overflow-y-auto, .overflow-auto {
        -webkit-overflow-scrolling: touch;
    }
}

/* 减少动画在低性能设备上的影响 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 优化模态框性能 */
#video-modal, #about-modal {
    will-change: opacity;
}

#modal-content, #about-modal > div {
    will-change: transform;
}

/* 视频播放器容器优化 */
#video-container {
    contain: strict;
    isolation: isolate;
}

/* 加载动画优化 */
.loader {
    will-change: transform;
}

/* 网格布局优化 */
#video-grid {
    contain: layout style;
}

/* 按钮统一样式 */
button, .btn-ripple {
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* 链接样式 */
a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-blue-hover);
}

/* 卡片统一边框 */
.bg-gray-800 {
    border: 1px solid var(--border-color);
}

/* 输入框统一样式 */
input:focus, select:focus, textarea:focus {
    border-color: var(--primary-blue) !important;
}
