* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background-color: #f5f5f5;
}

.player-container {
    width: 1200px;
    height: 477px;
    margin: 30px auto;
    display: flex;
    overflow: hidden;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	
}

.video-wrapper {
    width: 848px;
    height: 447px;
    background-color: #000;
    position: relative;
    margin-left: 25px;
    margin-top: 16px;
}

video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#center-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: none;
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: none;
}

video[poster] + #center-play {
    display: block;
}

.controls {
    padding: 10px 15px;
    background-color: rgba(0, 0, 0, 0.8);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background-color: #555;
    border-radius: 2px;
}

.progress {
    height: 100%;
    background-color: #4CAF50;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.time-display {
    color: #fff;
    font-size: 0.9em;
    min-width: 100px;
}

#volume-control {
    width: 80px;
}

.playlist {
    width: 328px;
    height: 467px;
    padding: 0;
    margin-top: 10px;
	 
}

.playlist ul {
    height: 100%;
    overflow-y: auto;
    padding: 15px;
    scrollbar-width: thin;
    scrollbar-color: #4CAF50 rgba(0,0,0,0.1);
}
.playlist ul::-webkit-scrollbar {
    width: 8px;
}

.playlist ul::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.1);
    border-radius: 4px;
}

.playlist ul::-webkit-scrollbar-thumb {
    background-color: #4CAF50;
    border-radius: 4px;
}


.playlist li {
    cursor: pointer;
    margin: 0 10px 15px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: transform 0.2s;
    height: 130px;
}

.playlist li:hover {
    transform: translateY(-3px);
}

.playlist img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.video-info {
    padding: 8px 10px;
    background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.7));
    color: white;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.video-info h4 {
    font-size: 0.95em;
    margin: 0;
    line-height: 1.3;
}

.active {
    box-shadow: 0 0 0 2px #4CAF50;
}


