
.custom-video-container {
    position: relative;
    width: 100%;
    color: #ffffff;
    margin-bottom: 20px;
    height: 473px;
}
.mobile-custom-video-container {
    margin-bottom: 11px;
    height: 212px;
}
.custom-video-container video {
    width: 100%;
    height: 473px;
    cursor: pointer;
}
.custom-video-container .mobile-video {
    height: 212px;
}
.custom-video-container .mask-stop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}
.custom-video-container .mask-stop .video-play-btn {
    width: 57px;
    height: 57px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}
.custom-video-container .mask-stop .video-play-btn .video-play-icon {
    width: 35px;
}
.custom-video-container .mask-top {
    position: absolute;
    top: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient( 0deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
    display: none;
}
.custom-video-container .mask-top .video-return-btn {
    display: inline-block;
    background-image: url(../images/custom-video/back.svg?v=a347fdf649);
    background-size: cover;
    width: 22px;
    height: 22px;
    margin: 8px 10px;
}
.custom-video-container:hover .mask-top {
    display: flex;
}
.custom-video-container .custom-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 57px;
    width: 100%;
    background: linear-gradient( 180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.5) 100%);
    display: none;
    flex-direction: column;
    z-index: 3;
}
.custom-video-container .mobile-custom-controls {
    height: 35px;
}
.custom-video-container:hover .custom-controls {
    display: flex;
}
.custom-video-container .controls-bottom {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    flex: 1;
    box-sizing: border-box;
    font-size: 12px;
    color: #ffffff;
}
.custom-video-container .mobile-controls-bottom {
    padding: 0 10px;
}
.custom-video-container .controls-bottom .controls-bottom-left {
    display: flex;
    gap: 18px;
    align-items: center;
}
.custom-video-container .controls-bottom .controls-bottom-left-mobile {
    gap: 8px;
}
.custom-video-container .controls-bottom .controls-bottom-left .play-btn {
    cursor: pointer;
    width: 20px;
    height: 20px;
    background-size: cover;
    background-image: url(../images/custom-video/play.svg?v=6f532f3031);
}
.custom-video-container .controls-bottom .controls-bottom-left .play-btn-mobile {
    width: 24px;
    height: 24px;
}
.custom-video-container .controls-bottom .controls-bottom-left .pause-btn {
    background-image: url(../images/custom-video/pause.svg?v=a6af56bf7d);
}
.custom-video-container .controls-bottom .controls-bottom-right {
    display: flex;
    gap: 20px;
    align-items: center;
}
.custom-video-container .controls-bottom .controls-bottom-right-mobile {
    gap: 12px;
}
.custom-video-container .controls-bottom-right .auto-play-container {
    cursor: pointer;
}
.controls-bottom-right .speed-container {
    position: relative;
}
.controls-bottom-right .speed-container .selected-speed {
    cursor: pointer;
}
.controls-bottom-right .speed-container .speed-list {
    position: absolute;
    top: -90px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    padding: 3px 5px;
    cursor: pointer;
    display: none;
}
.controls-bottom-right .speed-container .speed-list-visible {
    display: flex;
    gap: 4px;
    flex-direction: column;
}
.controls-bottom-right .speed-container .speed-list .selected-speed-item {
    color: #0a6dff;
    font-weight: bold;
}
.controls-bottom-right .quality-container {
    position: relative;
}
.controls-bottom-right .quality-container .selected-quality {
    cursor: pointer;
}
.controls-bottom-right .quality-container .quality-list {
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    padding: 3px 5px;
    cursor: pointer;
    display: none;
}
.controls-bottom-right .quality-container .quality-list-visible {
    display: flex;
    gap: 4px;
    flex-direction: column;
}
/* 控件按钮样式 */
.control-btn {
    cursor: pointer;
}
/* 进度条样式 */
.progress-container {
    height: 2px;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}
.progress-bar {
    width: 100%;
    height: 100%;
}
.progress-fill {
    position: relative;
    height: 100%;
    background: #ffffff;
    width: 0%;
}
.progress-fill::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -6px;
    width: 6px;
    height: 6px;
    background-color: #ffffff;
    border-radius: 50%;
}
/* 时间显示样式 */
.time-display {
    min-width: 80px;
}
/* 音量控制样式 */
.voice-container {
    position: relative;
}
.voice-container .voice-icon {
    cursor: pointer;
    width: 16px;
    height: 16px;
    background-size: cover;
    background-image: url(../images/custom-video/voice.svg?v=ff12895ff3);
}
.voice-container .voice-slider-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -90px;
    padding: 5px 10px;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
}
.voice-container .voice-controls-visible {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.voice-slider-container .current-voice {
    display: inline-block;
    width: 1.5em;
    text-align: center;
}
.voice-slider-container .voice-slider-bg {
    position: relative;
    cursor: pointer;
    height: 60px;
    width: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}
.voice-slider-bg .voice-slider-progress {
    position: absolute;
    bottom: 0;
    width: 4px;
    max-height: 60px;
    background-color: #ffffff;
    border-radius: 2px;
    height: 50%;
}
.controls-bottom-right .fullscreen-btn {
    cursor: pointer;
    width: 16px;
    height: 16px;
    background-size: cover;
    background-image: url(../images/custom-video/fullscreen.svg?v=38a6b8ecec);
}
.controls-bottom-right .fullscreen-btn-exit {
    background-image: url(../images/custom-video/fullscreen-exit.svg?v=43ae4b2c4a);
}
