/* ============================================
   视频播放器外挂字幕系统 - 完整样式
   Author: PHP Video Player System
   Version: 2.0
============================================ */

/* ================ 基础样式 ================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 25px;
    background-color: rgba(255, 255, 255, 0.98);
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

/* ================ 头部样式 ================ */
.header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 18px;
    border-bottom: 2px solid #eaeaea;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
    background: linear-gradient(135deg, #43A047, #1B5E20);
}

.header h2 {
    font-size: 24px;
    color: #333;
    flex: 1;
    margin: 0;
}

.subtitle-indicator {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 3px 8px rgba(76, 175, 80, 0.3);
}

/* ================ 视频列表页面 ================ */
h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 32px;
    font-weight: 600;
    background: linear-gradient(135deg, #2196F3, #0D47A1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.video-list h3 {
    margin-bottom: 20px;
    color: #555;
    font-size: 20px;
    font-weight: 500;
    padding-left: 10px;
    border-left: 4px solid #2196F3;
}

/* 视频网格布局 */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
    margin: 25px 0;
}

.video-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
    position: relative;
}

.video-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    border-color: #2196F3;
}

.video-thumbnail {
    position: relative;
    height: 160px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
}

.play-icon {
    position: absolute;
    font-size: 56px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 2;
    transition: transform 0.3s;
}

.video-item:hover .play-icon {
    transform: scale(1.1);
}

.video-form {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.play-btn {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    transition: all 0.3s;
    padding: 0;
}

.play-btn span {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: white;
    font-weight: 600;
    font-size: 15px;
    background: rgba(0, 0, 0, 0.65);
    padding: 8px 12px;
    border-radius: 6px;
    max-width: calc(100% - 30px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-info {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    border-top: 1px solid #eaeaea;
}

.video-name {
    font-weight: 600;
    color: #444;
    font-size: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.subtitle-badge {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    margin-left: 10px;
    box-shadow: 0 2px 5px rgba(76, 175, 80, 0.3);
}

.no-subtitle-badge {
    background: linear-gradient(135deg, #f44336, #c62828);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    margin-left: 10px;
    box-shadow: 0 2px 5px rgba(244, 67, 54, 0.3);
}

/* ================ 视频播放器容器 ================ */
.video-player-container {
    position: relative;
    background-color: #000;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* 自动播放覆盖层 */
.autoplay-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    z-index: 100;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    padding: 30px;
    text-align: center;
}

.autoplay-overlay.hidden {
    display: none;
}

.autoplay-overlay h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 500;
}

.autoplay-overlay p {
    font-size: 16px;
    margin-bottom: 30px;
    text-align: center;
    max-width: 80%;
    color: #ddd;
    line-height: 1.6;
}

.autoplay-btn {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    border: none;
    padding: 16px 45px;
    font-size: 18px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
    font-weight: 500;
    letter-spacing: 1px;
}

.autoplay-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(33, 150, 243, 0.6);
}

.autoplay-btn:active {
    transform: translateY(0);
}

.autoplay-tip {
    margin-top: 25px;
    font-size: 14px;
    color: #aaa;
    max-width: 80%;
}

/* 视频播放器 */
video {
    width: 100%;
    height: auto;
    display: block;
    max-height: 70vh;
    border-radius: 8px;
}

/* ================ 字幕容器 ================ */
.subtitle-container {
    background: rgba(0, 0, 0, 0.85);
    padding: 20px;
    border-top: 2px solid #333;
    border-radius: 0 0 12px 12px;
}

.subtitle-display {
    min-height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    margin-bottom: 2px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.subtitle-display.active {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(33, 150, 243, 0.3);
}

.subtitle-line {
    color: #ffffff;
    font-size: 22px;
    font-weight: 500;
    text-align: center;
    line-height: 1.5;
    text-shadow:
        1px 1px 0 #000,
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 0 10px rgba(0, 0, 0, 0.5);
    padding: 2px 2px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.6);
    max-width: 90%;
    margin: 0 auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* 字幕控制栏 */
.subtitle-controls {
    margin-top: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.control-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.subtitle-controls label {
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    min-width: 40px;
}

.subtitle-controls select {
    padding: 8px 15px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 14px;
    min-width: 100px;
    cursor: pointer;
    transition: all 0.2s;
}

.subtitle-controls select:hover {
    border-color: rgba(33, 150, 243, 0.7);
    background: rgba(0, 0, 0, 0.8);
}

.subtitle-controls select:focus {
    outline: none;
    border-color: #2196F3;
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.2);
}

/* 按钮通用样式 */
.btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 14px;
    box-shadow: 0 3px 8px rgba(33, 150, 243, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.4);
    background: linear-gradient(135deg, #1976D2, #1565C0);
}

.btn:active {
    transform: translateY(0);
}

/* 同步控制 */
.sync-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.delay-label {
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.sync-controls .btn {
    padding: 6px 12px;
    font-size: 13px;
    min-width: 70px;
}

/* 无字幕提示 */
.no-subtitle {
    background: linear-gradient(135deg, #ff5252, #d32f2f);
    color: white;
    padding: 25px;
    text-align: center;
    border-top: 2px solid #ff8a80;
    border-radius: 0 0 12px 12px;
}

.no-subtitle p {
    margin: 8px 0;
    font-size: 15px;
}

.no-subtitle p:first-child {
    font-weight: 600;
    font-size: 18px;
}

/* ================ 时间轴和状态栏 ================ */
.status-bar {
    background: linear-gradient(135deg, #f8fafc, #eef2f7);
    padding: 20px;
    border-radius: 12px;
    margin-top: 25px;
    border: 1px solid #e0e7ff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.timeline-container {
    margin-bottom: 20px;
}

.timeline-bar {
    width: 100%;
    height: 6px;
    background-color: #e0e7ff;
    border-radius: 3px;
    position: relative;
    margin-bottom: 12px;
    cursor: pointer;
    overflow: hidden;
}

.timeline-bar:hover {
    height: 8px;
}

.timeline-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #2196F3, #0D47A1);
    border-radius: 3px;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(33, 150, 243, 0.5);
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    font-size: 15px;
    color: #555;
    font-weight: 500;
}

/* 视频信息 */
.video-info {
    display: flex;
    gap: 30px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    padding: 8px 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e7ff;
}

.info-item .label {
    font-weight: 600;
    color: #666;
    min-width: 50px;
}

/* ================ 播放控制条 ================ */
.playback-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc, #eef2f7);
    border-radius: 12px;
    flex-wrap: wrap;
    border: 1px solid #e0e7ff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.control-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 18px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.control-btn:hover {
    background: #f5f7ff;
    border-color: #2196F3;
    color: #2196F3;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(33, 150, 243, 0.1);
}

.control-btn:active {
    transform: translateY(0);
}

.play-icon,
.pause-icon {
    font-size: 16px;
    font-weight: bold;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    max-width: 220px;
    padding: 8px 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #ddd;
}

#volumeSlider {
    flex: 1;
    height: 6px;
    -webkit-appearance: none;
    background: #e0e7ff;
    border-radius: 3px;
    outline: none;
}

#volumeSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #2196F3, #0D47A1);
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

#volumeSlider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #2196F3, #0D47A1);
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ================ 快捷键提示 ================ */
.shortcuts {
    background: linear-gradient(135deg, #e8f4fd, #d4e7fa);
    padding: 22px;
    border-radius: 12px;
    margin-top: 25px;
    border-left: 5px solid #2196F3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.shortcuts h4 {
    color: #2196F3;
    margin-bottom: 18px;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.shortcuts h4::before {
    content: "🎮";
    font-size: 20px;
}

.shortcuts ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
    padding: 0;
}

.shortcuts li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #555;
    padding: 10px 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e7ff;
}

.shortcuts kbd {
    background: linear-gradient(135deg, #f5f7ff, #e0e7ff);
    border: 1px solid #c5d1e9;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 13px;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    font-weight: 600;
    color: #2196F3;
    min-width: 70px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* ================ 使用说明和功能特色 ================ */
.instructions,
.features {
    padding: 25px;
    border-radius: 12px;
    margin-top: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.instructions {
    background: linear-gradient(135deg, #fff8e1, #ffecb3);
    border-left: 5px solid #ffc107;
}

.instructions h3 {
    color: #ff9800;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.instructions h3::before {
    content: "🎯";
    font-size: 22px;
}

.instructions ul {
    list-style-type: none;
    padding-left: 0;
}

.instructions li {
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
    color: #666;
    line-height: 1.6;
}

.instructions li::before {
    content: "•";
    color: #ff9800;
    font-size: 20px;
    position: absolute;
    left: 0;
    top: -2px;
}

.features {
    background: linear-gradient(135deg, #f1f8e9, #e6f2d8);
    border-left: 5px solid #8bc34a;
}

.features h3 {
    color: #689f38;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features h3::before {
    content: "✨";
    font-size: 22px;
}

.features ul {
    list-style-type: none;
    padding-left: 0;
}

.features li {
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
    color: #555;
}

.features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
    font-size: 18px;
}

/* ================ 其他组件 ================ */
.no-videos {
    text-align: center;
    padding: 50px 30px;
    color: #666;
    font-size: 18px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 2px dashed #ddd;
}

.no-videos p:first-child {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #555;
}

.upload-hint {
    background: linear-gradient(135deg, #e8f4fd, #d4e7fa);
    padding: 22px;
    border-radius: 12px;
    margin: 25px 0;
    border-left: 5px solid #2196F3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.upload-hint p {
    font-weight: 600;
    color: #2196F3;
    margin-bottom: 15px;
    font-size: 16px;
}

.upload-hint ul {
    list-style-type: none;
    padding-left: 0;
}

.upload-hint li {
    margin-bottom: 10px;
    padding-left: 24px;
    position: relative;
    color: #555;
}

.upload-hint li::before {
    content: "📁";
    position: absolute;
    left: 0;
}

.upload-hint code {
    background: rgba(33, 150, 243, 0.1);
    color: #2196F3;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 14px;
    border: 1px solid rgba(33, 150, 243, 0.2);
}

.error-message {
    background: linear-gradient(135deg, #ffebee, #ffcdd2);
    border: 2px solid #f44336;
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
    text-align: center;
    color: #c62828;
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.1);
}

.error-message p {
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 500;
}

.error-message .btn {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
    padding: 12px 25px;
    font-size: 15px;
}

.error-message .btn:hover {
    background: linear-gradient(135deg, #e53935, #b71c1c);
}

/* ================ 响应式设计 ================ */
@media (max-width: 1024px) {
    .container {
        margin: 15px;
        padding: 20px;
    }

    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .container {
        margin: 10px;
        padding: 15px;
    }

    h1 {
        font-size: 28px;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .header h2 {
        font-size: 22px;
    }

    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }

    .video-thumbnail {
        height: 140px;
    }

    .subtitle-line {
        font-size: 20px;
        padding: 1px 2px;
    }

    .subtitle-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .control-group {
        width: 100%;
        justify-content: space-between;
    }

    .sync-controls {
        margin-left: 0;
        justify-content: center;
        flex-wrap: wrap;
    }

    .playback-controls {
        justify-content: center;
        gap: 10px;
    }

    .control-btn {
        padding: 8px 14px;
        font-size: 13px;
    }

    .volume-control {
        max-width: 180px;
    }

    .shortcuts ul {
        grid-template-columns: 1fr;
    }

    .video-info {
        flex-direction: column;
        gap: 15px;
    }

    .info-item {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    .container {
        margin: 8px;
        padding: 12px;
    }

    h1 {
        font-size: 24px;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .video-thumbnail {
        height: 130px;
    }

    .subtitle-line {
        font-size: 18px;
        padding: 2px 2px;
    }

    .autoplay-overlay h3 {
        font-size: 24px;
    }

    .autoplay-overlay p {
        font-size: 14px;
    }

    .autoplay-btn {
        padding: 14px 35px;
        font-size: 16px;
    }

    .playback-controls {
        gap: 8px;
    }

    .control-btn {
        padding: 6px 10px;
        font-size: 12px;
    }

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

    .sync-controls .btn {
        min-width: 60px;
        padding: 5px 10px;
        font-size: 12px;
    }

    .instructions,
    .features,
    .shortcuts,
    .upload-hint {
        padding: 18px;
    }
}

/* ================ 动画效果 ================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    animation: fadeIn 0.5s ease-out;
}

.video-item {
    animation: fadeIn 0.6s ease-out;
}

.subtitle-display.active {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(33, 150, 243, 0.2);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(33, 150, 243, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(33, 150, 243, 0);
    }
}

/* ================ 滚动条样式 ================ */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #2196F3, #0D47A1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #1976D2, #0D2A52);
}

/* ================ 打印样式 ================ */
@media print {
    .container {
        box-shadow: none;
        background: white;
    }

    .video-player-container,
    .playback-controls,
    .shortcuts,
    .instructions,
    .features,
    .upload-hint {
        display: none;
    }
}