.video-player-container {
    margin: 0;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    max-width: 100%;
}

.video-player-title {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 18px;
    color: #333;
}

.video-player-wrapper {
    position: relative;
    margin-bottom: 0;
    overflow: hidden;
    border-radius: 0;
    width: 100%;
    max-width: 100%;
    min-height: 200px; /* 确保即使在小屏幕上也有最小高度 */
    padding-top: 56.25%; /* 16:9 比例 */
}

.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 100%;
    box-sizing: border-box;
    display: block;
}

.episode-display {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    z-index: 10;
    pointer-events: none;
}

.audio-player {
    width: 100%;
    margin-top: 0;
}

.video-player-container .video-player-episodes {
    margin-top: 5px !important;
    padding-top: 5px !important;
    clear: both;
}

.video-player-container .video-player-episodes h4 {
    margin-top: 0 !important;
    margin-bottom: 5px !important;
    font-size: 14px !important;
    color: #666 !important;
}

.video-player-episodes ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.video-player-episodes li {
    margin: 0;
}

.video-player-episodes a {
    display: inline-block;
    padding: 5px 10px;
    background-color: #e0e0e0;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.video-player-episodes a:hover {
    background-color: #d0d0d0;
}

.video-player-episodes a:active {
    background-color: #c0c0c0;
}

.video-player-episodes a.active {
    background-color: #2196F3;
    color: white;
    font-weight: bold;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .video-player-container {
        margin: 5px 0;
    }
    
    .video-player-title {
        margin-bottom: 8px;
    }
    
    .video-player-wrapper {
        height: auto !important;
        padding-top: 56.25%; /* 16:9 比例 */
    }
    
    .video-player {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    .episode-display {
        position: absolute;
        top: 10px;
        left: 10px;
        background-color: rgba(0, 0, 0, 0.7);
        color: white;
        padding: 5px 10px;
        border-radius: 4px;
        font-size: 14px;
        font-weight: bold;
        z-index: 1000;
        pointer-events: none;
        box-sizing: border-box;
    }
    
    .current-episode {
        position: absolute;
        left: 5px;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(0, 0, 0, 0.7);
        color: white;
        padding: 8px 12px;
        border-radius: 4px;
        font-size: 16px;
        font-weight: bold;
        z-index: 1000;
        pointer-events: none;
        box-sizing: border-box;
        writing-mode: horizontal-tb;
        text-orientation: mixed;
    }
    
    .video-player-episodes ul {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }
}
