/* 页面整体布局 */
.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;
    padding-top: 80px;
    background-color: #fff;
}

/* 视频区域样式 */
.video-section {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px 0;
}

/* 视频标题样式 */
.video-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

/* 视频播放器容器样式 */
.video-player {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    position: relative;
    aspect-ratio: 16 / 9;
}

#player-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.breadcrumb {
    font-size: 14px;
    margin-bottom: 20px;
    color: #666;
}

.breadcrumb a {
    color: #1E90FF;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}
.prism-player {
    width: 100%;
    height: 100%;
    background-color: #fff;
}

/* 加载状态样式 */
.loading {
    text-align: center;
    padding: 20px;
    color: #666;
}

/* 错误提示样式 */
.error-message {
    text-align: center;
    color: #ff4444;
    padding: 20px;
}

/* 推荐视频区域样式 */
.recommend-section {
    margin-top: 30px;
    background-color: #fff;
    border-radius: 8px;
    padding: 0;
}

.recommend-section h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
}

.recommend-list {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 10px 0;
    cursor: grab;
    user-select: none;
}

.recommend-list:active {
    cursor: grabbing;
}

/* 隐藏滚动条但保持功能 */
.recommend-list::-webkit-scrollbar {
    height: 6px;
}

.recommend-list::-webkit-scrollbar-thumb {
    background-color: #ddd;
    border-radius: 3px;
}

.recommend-list::-webkit-scrollbar-track {
    background-color: #f5f5f5;
}

/* 推荐视频项样式 */
.recommend-item {
    flex: 0 0 300px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
    position: relative;
}

.recommend-item:hover {
    transform: translateY(-5px);
}

.recommend-thumbnail {
    position: relative;
    width: 100%;
    height: 168px;
    overflow: hidden;
}

.recommend-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.recommend-thumbnail:hover .play-icon {
    opacity: 1;
}

.recommend-info {
    padding: 10px;
}

.recommend-title {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    height: 40px;
}

.recommend-date {
    font-size: 12px;
    color: #999;
}

/* 确保链接样式正确 */
.recommend-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* 拖拽图标样式 */
.drag-handle {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s;
    cursor: grab;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recommend-item:hover .drag-handle {
    opacity: 1;
}

.drag-handle:active {
    cursor: grabbing;
} 