﻿.main-container {
    max-width: 1200px;
    min-height: 75vh;
    margin: auto;
}

@media screen and (max-width: 1600px) {
    .main-container {
        max-width: 1000px;
    }
}

.video-section {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 5%;
    margin-bottom: 30px;
}

.video-player {
    flex: 1 1 70%;
}

    .video-player player {
        width: 100%;
        height: auto;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

.video-wrapper {
    width: 100%;
    height: 500px; /* 你可以修改这个值 */
    background: black;
    position: relative;
}

    .video-wrapper div.player {
        position: absolute;
        width: 100%;
        height: 100%;
    }

#ts {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

.video-info {
    flex: 1 1 25%;
    display: flex;
    flex-direction: column;
}

.video-title {
    width: 100%;
    border-bottom: 1px solid #D5D5D1;
    color: #ef4b0c;
}

.video-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* 播放器底部工具栏 */
.video-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding: 2px 0;
}

/* 播放次数 */
.play-count {
    font-size: 14px;
    color: #666;
}

/* 按钮组 */
.video-actions {
    display: flex;
    gap: 10px; /* 按钮之间间距 */
}

    .video-actions .layui-btn {
        display: flex;
        align-items: center;
        gap: 5px;
    }

/* 相关视频区域 */
.related-videos {
    min-height: 280px;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* 相关视频标题栏 */
.related-header {
    display: flex;
    justify-content: space-between; /* 左右对齐 */
    align-items: center;
    padding: 10px 0;
}

/* 标题整体容器 */
.related-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px; /* 中文标题和英文标题之间的间距 */
}

.related-title {
    font-size: 20px;
    font-weight: bold;
}

/* 换一批按钮 */
.refresh-btn {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 视频卡片 */
.video-card {
    background: #f8f8f8;
    overflow: hidden;
    text-align: center;
    padding: 5px;
    transition: transform 0.2s;
}

    .video-card:hover {
        transform: scale(1.05);
    }

    /* 视频封面 */
    .video-card img {
        width: 100%;
        height: 120px;
        border-radius: 8px;
        object-fit: cover;
    }

/* 视频信息 */
.video-info {
    padding: 5px;
}

.video-name {
    font-size: 16px;
    font-weight: bold;
    margin: 5px 0;
}

    .video-name a {
        color: #ee4c0c;
    }

.video-time {
    font-size: 14px;
    color: gray;
}

.video-clipPlayer {
    width: 710px;
    height: 396px;
    background: black;
    position: relative;
    text-align: center;
    margin-bottom: 15px;
}

#clipPlayer {
    position: absolute;
    width: 100%;
    height: 100%;
}
