:root {
    --bg-dark: #000;
    --bg-darker: #111;
    --bg-gray: #222;
    --border-gray: #333;
    --text-white: #fff;
    --text-light: #ccc;
    --primary-blue: #007bff;
}

body {
    background-color: var(--bg-dark);
    color: #000000;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

.video-player-container {
    margin: 0 auto;
    display: flex;
    height: calc(100vh - 60px);
}

.video-header .breadcrumb {
    font-size: 14px;
    color: var(--text-light);
    padding: 20px;
}

.video-header .ceo-position-relative {
    position: relative !important;
    margin-right: 20px;
    margin-top: 10px;
}

.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--primary-blue);
}

.main-video-player {
    width: 100%;
    height: calc(100vh - 60px);
    min-height: 100%;
    background-color: var(--bg-darker);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    object-fit: cover;
}

.ceo-video-list-liebiao {
    width: 330px;
}

.main-video-player video {
    width: 100%;
    display: block;
}

.video-bottom-section {
    width: 360px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ceo-video-module {
    height: calc(100vh - 60px);
}

.video-sidebar {
    flex: 1;
    padding: 15px;
    background: #1b2128;
    border-top: 1px solid #14171a;
}

.video-sidebar-header {
    margin-bottom: 15px;
}

.video-sidebar-header h3 {
    font-size: 18px;
    margin: 0 0 10px 0;
    color: var(--text-white);
    padding-bottom: 10px;
}

.video-chapter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.video-chapter-list li {
    margin-bottom: 12px;
    padding-bottom: 12px;
}

.chapter-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.play-button {
    font-size: 13px;
    color: var(--primary-blue);
    text-decoration: none;
    border: 1px solid var(--primary-blue);
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s;
    background-color: transparent;
    cursor: pointer;
}

.play-button:hover {
    background-color: var(--primary-blue);
    color: var(--text-white);
}

.play-button.disabled {
    color: #666;
    border-color: #666;
    pointer-events: none;
    opacity: 0.6;
}

.video-comments {
    flex: 1;
    background-color: var(--bg-gray);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid var(--border-gray);
}

.comments-title {
    font-size: 18px;
    margin: 0 0 15px 0;
    color: var(--text-white);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-gray);
}

.video-header {
    display: flex;
    width: 100vw;
    justify-content: space-between;
    height: 60px;
    background: #1b2128;
    color: #8797a1;
}

.ceo-video-list {
    background: #131a20;
}

.ceo-video-list-author {
    background: #0f1419;
}

.ceo-video-list-liebiao-box .ceo-active {
    background: #0f1419;
    padding: 10px;
}

.ceo-video-list-liebiao-box li div a.ceo-video-list-liebiao-d {
    color: #2080f7 !important;
    font-size: 14px;
}

.ceo-video-list-liebiao-box li div a .icon-video {
    background-color: #2080f7;
}

.ceo-margin-left.ceo-users-lore {
    margin-right: 20px;
    margin-top: 16px;
}

.ceo-margin-left.ceo-users-lore a {
    color: #b7b7b7;
}

/* 响应式设计 - 移动设备 */
@media (max-width: 768px) {
    .video-bottom-section {
        flex-direction: column;
        width: 100%;
    }
    
    .ceo-video-list-liebiao {
        width: 100%;
    }
    
    .video-player-container {
        flex-direction: column;
        height: calc(100vh - 100px);
        background: #1b2128;
    }
    
    .ceo-video-list-liebiao-box {
        width: auto;
        height: 80%;
        max-height: 600px;
    }
    
    .ceo-video-list-liebiao-ad {
        display: none;
    }
    
    .main-video-player {
        overflow: initial;
    }
    
    .single-video {
        border-radius: 4px;
        overflow: hidden;
        height: auto;
        aspect-ratio: 16/9;
    }
    
    .video-header .breadcrumb {
        font-size: 14px;
        color: var(--text-light);
        padding: 20px;
        max-width: 200px;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }
    
    .main-video-player {
        height: auto;
        min-height: auto;
        aspect-ratio: 16 / 9;
    }
    
    .ceo-video-list-liebiao-d {
        flex-direction: column;
    }
}

/* H5端目录样式优化 */
@media (max-width: 768px) {
    .mobile-video-catalog {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9999;
        background: #181c22;
        border-top: 1px solid #222;
        max-height: 60vh;
        overflow-y: auto;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
        padding: 10px 0 10px 0;
    }
    
    .mobile-video-catalog .video-chapter-list {
        padding: 0 10px;
    }
    
    .mobile-video-catalog .video-item {
        display: flex;
        align-items: center;
        padding: 10px 0;
        border-bottom: 1px solid #222;
        color: #fff;
        font-size: 15px;
        cursor: pointer;
    }
    
    .mobile-video-catalog .video-item.active {
        color: #2080f7;
        font-weight: bold;
    }
    
    .mobile-video-catalog .video-item:last-child {
        border-bottom: none;
    }
    
    .mobile-catalog-toggle-btn {
        display: block;
        position: fixed;
        right: 16px;
        bottom: 70px;
        z-index: 10000;
        background: #2080f7;
        color: #fff;
        border-radius: 50%;
        width: 48px;
        height: 48px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        text-align: center;
        line-height: 48px;
        font-size: 22px;
        border: none;
        outline: none;
    }
}

@media (min-width: 769px) {
    .mobile-video-catalog, .mobile-catalog-toggle-btn {
        display: none !important;
    }
}
    