﻿#content {
    position: relative;
    z-index: 1;
    padding: 60px 0%;
    background: #fff;
}

.main-container {
    display: flex;
    gap: 24px;
    max-width: 1800px;
    margin: 0 auto;
    padding: 24px;
}

.video-section {
    flex: 1;
    max-width: 900px;
    background: linear-gradient( 180deg, rgba(58, 63, 71, 0.95) 0%, rgba(30, 34, 39, 0.95) 100% );
    border-radius: 16px;
    padding: 16px;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.video-player {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
}

    .video-player img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.video-info {
    padding: 20px;
    border-radius: 12px;
}

.video-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
    font-family: "Roboto", "Arial", sans-serif;
}

.channel-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.channel-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #3ea6ff;
    display: flex;
}

    .channel-avatar img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: #3ea6ff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
    }

.channel-details {
    flex: 1;
}

.channel-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
}

.video-stats {
    font-size: 12px;
    color: #555;
}

.action-buttons {
    display: flex;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #4b4b4b;
}

.btn-play {
    flex: 1;
    padding: 12px 24px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-icon {
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: none;
    border-radius: 50%;
    color: #000;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .btn-icon:hover {
        background-color: #eee;
    }

.playlist-section {
    width: 660px;
    flex-shrink: 0;
}

.playlist-item {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    cursor: pointer;
    padding: 8px 0;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
}

    .playlist-item:hover {
        background-color: #f2f2f2;
    }

.playlist-number {
    display: inline-flex; /* 或 display:flex */
    align-items: center; /* 垂直置中 */
    justify-content: center; /* 水平置中 */
    color: #555;
    font-size: 15px;
    font-weight: 600;
    width: 20px;
    flex-shrink: 0;
    font-family: Arial;
}

.playlist-thumbnail {
    position: relative;
    width: 200px;
    height: 113px;
    flex-shrink: 0;
    background-color: #eee;
    border-radius: 8px;
    overflow: hidden;
}

    .playlist-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.video-duration {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.playlist-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.playlist-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.playlist-channel {
    font-size: 11px;
    color: #555;
}

.playlist-stats {
    font-size: 12px;
    color: #555;
}

.playlist-menu {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: #000;
    cursor: pointer;
    font-size: 20px;
}

@media (max-width: 1090px) {
    .main-container {
        flex-direction: column;
    }

    .playlist-section {
        width: 100%;
    }

    .video-section {
        max-width: 100%;
    }
}

@media (max-width: 700px) {
    .main-container {
        padding: 12px 0;
    }

    .video-title {
        font-size: 20px;
    }

    .playlist-thumbnail {
        width: 120px;
        height: 68px;
    }

    .playlist-title {
        font-size: 15px;
    }
}

