/* 全局重置和基础样式 - 采用手机优先设计 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 密码验证覆盖层样式 */
.password-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #1a1a2e 0%, #16213e 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(8px);
    animation: gradientBackground 8s ease infinite;
}

@keyframes gradientBackground {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.password-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    width: 90%;
    max-width: 400px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.3s ease;
}

.password-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.45);
}

.password-container h2 {
    color: #ffffff;
    margin-bottom: 30px;
    font-size: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-weight: 300;
    letter-spacing: 1px;
}

#passwordInput {
    width: 100%;
    padding: 15px 25px;
    margin-bottom: 25px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    font-size: 1.2rem;
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.2);
}

#passwordInput::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#passwordInput:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.12);
    border-color: #6a11cb;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.2), 0 0 20px rgba(106, 17, 203, 0.3);
    transform: translateY(-2px);
}

.submit-button {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(106, 17, 203, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(106, 17, 203, 0.6);
}

.submit-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(106, 17, 203, 0.4);
}

.error-message {
    color: #ff6b6b;
    margin-top: 20px;
    font-size: 0.95rem;
    min-height: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-10px); }
}

/* 响应式设计 - 手机屏幕适配 */
@media (max-width: 480px) {
    .password-container {
        padding: 30px 25px;
        width: 95%;
        margin: 20px;
    }
    
    .password-container h2 {
        font-size: 1.7rem;
        margin-bottom: 25px;
    }
    
    #passwordInput {
        font-size: 1.1rem;
        padding: 12px 20px;
        margin-bottom: 20px;
    }
    
    .submit-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

html, body {
    font-family: 'Rajdhani', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #121212 0%, #1e1e1e 50%, #121212 100%);
    color: #ffffff;
    line-height: 1.6;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    background-attachment: fixed;
}

/* 容器 - 基础样式为手机设计 */
.container {
    width: 100%;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 头部样式 */
.header {
    text-align: center;
    margin: 0;
    padding: 15px 10px;
    background: linear-gradient(135deg, #121212 0%, #1e1e1e 100%);
    border-bottom: 1px solid rgba(0, 180, 219, 0.3);
    box-shadow: 0 2px 20px rgba(0, 180, 219, 0.1);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 180, 219, 0.05), transparent);
    animation: scanning 5s ease-in-out infinite;
}

@keyframes scanning {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.header-icon {
    color: #00b4db;
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.title {
    font-size: 1.8rem;
    color: #ffffff;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 180, 219, 0.5);
    line-height: 1.3;
    letter-spacing: 1px;
}

.header-badge {
    background-color: #00b4db;
    color: #121212;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* 主内容区 - 优化深色主题 */
.main-content {
    background: linear-gradient(135deg, #181818 0%, #0a0a0a 100%);
    padding: 0;
    margin: 0;
    box-shadow: none;
    flex: 1;
}

/* 视频和选集布局容器 - 默认垂直布局（手机优先）*/
.video-and-episodes {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 20px;
    padding: 20px 15px;
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(10px);
}

/* 视频部分 */
.video-section {
    width: 100%;
    order: 1;
    background: linear-gradient(135deg, #1e1e1e 0%, #252525 100%);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid rgba(0, 180, 219, 0.2);
    box-shadow: 0 5px 30px rgba(0, 180, 219, 0.1);
}

/* 视频容器 - 标准16:9比例 - 深色主题优化 */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 标准视频比例 */
    margin-bottom: 20px;
    background-color: #0a0a0a;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(0, 180, 219, 0.2);
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 180, 219, 0.2);
}

.video-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid transparent;
    border-radius: 14px;
    background: linear-gradient(45deg, #00b4db, transparent, #00b4db) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderRotate 4s linear infinite;
}

@keyframes borderRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 视频播放器样式 - 确保正确显示和原生控制功能 */
#videoPlayer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
    background-color: #000;
}

/* 视频信息 - 优化深色主题 */
.video-info {
    padding: 15px;
    background-color: rgba(16, 16, 16, 0.9);
    border: 1px solid rgba(0, 180, 219, 0.1);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.video-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #00b4db, #0083b0);
}

.video-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.video-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: #b0b0b0;
}

.video-meta-item i {
    color: #00b4db;
    font-size: 0.9rem;
}

#videoTitle {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 0 0 5px rgba(0, 180, 219, 0.3);
    font-weight: 600;
}

#videoDescription {
    font-size: 0.95rem;
    color: #b0b0b0;
    line-height: 1.6;
}

/* 视频日志区域 - 优化深色主题 */
.episode-container {
    width: 100%;
    padding: 15px;
    background: rgba(16, 16, 16, 0.9);
    border-radius: 12px;
    border: 1px solid rgba(0, 180, 219, 0.1);
    box-shadow: 0 5px 30px rgba(0, 180, 219, 0.1);
    order: 2;
    backdrop-filter: blur(10px);
}

.episode-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.section-title {
    font-size: 1.4rem;
    margin-bottom: 0;
    color: #ffffff;
    display: flex;
    align-items: center;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(0, 180, 219, 0.3);
}

.section-title::before {
    content: '🎥';
    margin-right: 8px;
}

.episode-filter {
    background-color: rgba(0, 180, 219, 0.1);
    border: 1px solid rgba(0, 180, 219, 0.3);
    border-radius: 6px;
    padding: 5px 10px;
}

#videoFilter {
    background-color: rgba(26, 26, 26, 0.7);
    color: #ffffff;
    border: 1px solid rgba(0, 180, 219, 0.3);
    outline: none;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
}

/* 设置下拉选项的样式，确保文字在下拉时可见 */
#videoFilter option {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 5px;
}

/* 视频日志列表 - 优化深色主题 */
.episode-list {
    max-height: none;
    overflow-y: visible;
    padding: 10px;
    background-color: rgba(0, 180, 219, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(0, 180, 219, 0.2);
}

/* 日历样式 */
.video-calendar {
    background-color: rgba(26, 26, 26, 0.7);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid rgba(0, 180, 219, 0.2);
    box-shadow: 0 2px 10px rgba(0, 180, 219, 0.1);
}

.calendar-header {
    margin-bottom: 15px;
}

.month-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.nav-btn {
    background-color: rgba(0, 180, 219, 0.1);
    border: 1px solid rgba(0, 180, 219, 0.3);
    color: #00b4db;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background-color: rgba(0, 180, 219, 0.2);
    transform: scale(1.1);
}

.current-month {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    flex: 1;
}

.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 5px;
}

.weekday {
    text-align: center;
    padding: 5px;
    font-size: 0.8rem;
    color: #b0b0b0;
    font-weight: 600;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.date-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: default;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: #ffffff;
    position: relative;
}

.date-cell.other-month {
    color: #666;
    opacity: 0.6;
}

/* 有视频的日期样式 */
.date-cell.has-video {
    background-color: rgba(0, 180, 219, 0.2);
    font-weight: bold;
    cursor: pointer;
    position: relative;
    padding-bottom: 8px;
}

/* 选中日期的样式 - 金黄色边框 */
.date-cell.selected-date {
    background-color: transparent;
    border: 3px solid #ffd700;
    color: #ffffff;
    font-weight: bold;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    z-index: 10;
}

/* 默认日期的蓝色边框样式 */
.date-cell.default-date {
    border: 2px solid #00b4db;
    font-weight: bold;
}

/* 2025-09-02日期的高亮样式 */
.date-cell.date-2-highlight {
    border: 2px solid #00b4db;
    font-weight: bold;
}

.date-cell.playing-date {
    background-color: #4caf50;
    color: white;
    font-weight: bold;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.5);
    z-index: 10;
}

.date-cell.has-video.selected-date {
    background-color: rgba(0, 180, 219, 0.2);
    border: 3px solid #ffd700;
    color: #ffffff;
}

.date-cell.has-video:hover {
    background-color: rgba(0, 180, 219, 0.3);
    transform: scale(1.05);
    transition: all 0.2s ease;
}

/* 视频指示器样式 */
.video-indicator {
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background-color: #00b4db;
    border-radius: 50%;
}

.date-cell.has-video:hover {
    background-color: rgba(0, 180, 219, 0.3);
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 180, 219, 0.4);
}

.date-cell.has-video::after {
    content: '';
    position: absolute;
    bottom: 4px;
    width: 6px;
    height: 6px;
    background-color: #00b4db;
    border-radius: 50%;
}

.date-cell.today {
    border: 2px solid #00b4db;
    font-weight: bold;
}

.date-cell.has-video.today {
    background-color: rgba(0, 180, 219, 0.2);
}

/* 日期标题样式 */
.date-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    padding: 10px 15px;
    margin: 15px 0 10px 0;
    background-color: rgba(0, 180, 219, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-left: 3px solid #00b4db;
}

/* 排序按钮样式 */
.sort-button {
    background-color: rgba(0, 180, 219, 0.2);
    color: #00b4db;
    border: 1px solid rgba(0, 180, 219, 0.3);
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sort-button:hover {
    background-color: rgba(0, 180, 219, 0.3);
    border-color: #00b4db;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 180, 219, 0.3);
}

.sort-button:active {
    background-color: rgba(0, 180, 219, 0.4);
    transform: translateY(0);
}

.date-title:first-child {
    margin-top: 0;
}



/* 视频日志列表项 - 优化深色主题 */
.episode-item {
    display: flex;
    align-items: flex-start;
    padding: 16px;
    margin: 8px 5px;
    background-color: rgba(26, 26, 26, 0.7);
    border: 1px solid rgba(0, 180, 219, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 180, 219, 0.1);
    position: relative;
    overflow: hidden;
    gap: 16px;
}

/* 按日期高亮的视频项 */
.episode-item.highlight-date {
    background-color: rgba(0, 180, 219, 0.2);
    border-color: #00b4db;
    box-shadow: 0 0 20px rgba(0, 180, 219, 0.3);
    animation: pulseHighlight 1s ease-in-out;
}

@keyframes pulseHighlight {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 180, 219, 0.3); }
    50% { box-shadow: 0 0 30px rgba(0, 180, 219, 0.5); }
}

.episode-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 180, 219, 0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.episode-item:hover {
    background-color: rgba(0, 180, 219, 0.1);
    border-color: #00b4db;
    transform: translateX(2px);
    box-shadow: 0 2px 10px rgba(0, 180, 219, 0.2);
}

.episode-item:hover::before {
    transform: translateX(100%);
}

.episode-item.active {
    background-color: rgba(0, 180, 219, 0.15);
    border-color: #00b4db;
    box-shadow: 0 2px 15px rgba(0, 180, 219, 0.3);
}

/* 选中标记 */
.episode-checkmark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-right: 12px;
    border-radius: 50%;
    background-color: rgba(0, 180, 219, 0.2);
    border: 1px solid rgba(0, 180, 219, 0.3);
    color: transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.episode-item.active .episode-checkmark {
    background-color: #00b4db;
    border-color: #0083b0;
    color: #121212;
    box-shadow: 0 0 10px rgba(0, 180, 219, 0.5);
}

/* 视频日志内容 */
.episode-content {
    flex: 1;
    overflow: hidden;
    min-width: 0;
}

.episode-title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
    white-space: normal;
    text-shadow: 0 0 5px rgba(0, 180, 219, 0.2);
}

.episode-description {
    font-size: 0.85rem;
    color: #b0b0b0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 2px;
}

/* 滚动条样式 - 优化深色主题 */
.episode-list::-webkit-scrollbar {
    width: 8px;
}

.episode-list::-webkit-scrollbar-track {
    background: rgba(0, 180, 219, 0.1);
    border-radius: 4px;
}

.episode-list::-webkit-scrollbar-thumb {
    background: #0083b0;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.episode-list::-webkit-scrollbar-thumb:hover {
    background: #00b4db;
}

/* 页脚样式 */
.footer {
    margin-top: auto;
    padding: 20px;
    background: linear-gradient(135deg, #1e1e1e 0%, #121212 100%);
    border-top: 1px solid rgba(0, 180, 219, 0.3);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-left {
    color: #b0b0b0;
    font-size: 0.9rem;
}

.footer-right {
    display: flex;
    gap: 15px;
}

.footer-link {
    color: #00b4db;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #0083b0;
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(0, 180, 219, 0.5);
}

/* 平板和桌面设备响应式设计 */
@media (min-width: 769px) {
    /* 容器样式调整 - 增加最大宽度并减少内边距 */
    .container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 10px;
    }
    
    /* 标题样式调整 */
    .title {
        font-size: 2.5rem;
    }
    
    /* 主内容区样式 - 减少内边距 */
    .main-content {
        border-radius: 12px;
        padding: 15px;
        box-shadow: 0 4px 20px rgba(0, 180, 219, 0.1);
        background: linear-gradient(135deg, #1a1a1a 0%, #1e1e1e 100%);
    }
    
    /* 视频和选集水平布局 - 减少间距 */
    .video-and-episodes {
        flex-direction: row;
        gap: 20px;
        align-items: flex-start;
    }
    
    /* 视频部分占据主要空间 */
    .video-section {
        flex: 1;
        min-width: 0;
    }
    
    /* 选集区域宽度调整 - 增加宽度避免出现横向滚动条 */
    .episode-container {
        width: 400px;
        flex-shrink: 0;
        padding: 15px;
    }
    
    /* 视频容器样式调整 - 调整视频比例让视频更大 */
    .video-container {
        padding-bottom: 56.25%; /* 16:9 标准视频比例 */
        margin-bottom: 15px;
        background-color: #000;
        border-radius: 12px;
        border: 1px solid rgba(0, 180, 219, 0.3);
        box-shadow: 0 5px 30px rgba(0, 180, 219, 0.1);
    }
    
    /* 桌面端视频播放器样式 */
    #videoPlayer {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
        border-radius: 10px;
    }
    
    /* 视频信息样式 */
    .video-info {
        margin-bottom: 20px;
        padding: 20px;
        background: linear-gradient(135deg, #1e1e1e 0%, #252525 100%);
        border-radius: 8px;
        border-bottom: none;
        box-shadow: 0 2px 8px rgba(0, 180, 219, 0.1);
    }
    
    /* 标题和描述样式 */
    #videoTitle {
        font-size: 1.8rem;
        color: #ffffff;
        text-shadow: 0 0 10px rgba(0, 180, 219, 0.5);
    }
    
    /* 选集列表高度调整 - 桌面端限制高度并显示滚动条 */
    .episode-list {
        max-height: calc(100vh - 250px);
        overflow-y: auto;
        padding: 10px;
        background-color: rgba(0, 180, 219, 0.05);
    }
    
    /* 桌面端单元标题样式增强 */
    .unit-title {
        padding: 10px 15px;
        background: linear-gradient(90deg, #00b4db 0%, #00b4db 5px, transparent 5px);
    }
    
    /* 桌面端选集项样式增强 */
    .episode-item {
        padding: 12px 15px;
        transition: all 0.3s ease;
        background-color: rgba(0, 180, 219, 0.05);
    }
    
    .episode-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(0, 180, 219, 0.2);
        background-color: rgba(0, 180, 219, 0.1);
    }
    
    /* 桌面端选中状态增强 */
    .episode-item.active {
        background-color: rgba(0, 180, 219, 0.15);
        border-color: #00b4db;
        box-shadow: 0 2px 10px rgba(0, 180, 219, 0.3);
    }
    
    /* 单元标题样式 */
    .unit-title {
        font-size: 1.2rem;
    }
    
    /* 选集列表项样式 */
    .episode-item {
        padding: 12px;
        margin-bottom: 8px;
        margin-left: 0;
        margin-right: 0;
    }
}

/* 平板设备进一步优化 */
@media (max-width: 1024px) and (min-width: 769px) {
    .episode-container {
        width: 350px;
    }
    
    .episode-list {
        max-height: 400px;
    }
}

/* 小屏幕手机优化 */
@media (max-width: 480px) {
    .title {
        font-size: 1.5rem;
    }
    
    #videoTitle {
        font-size: 1.2rem;
    }
    
    /* 确保小屏幕手机上选集列表也不限制高度 */
    .episode-list {
        max-height: none;
    }
}