.video-container {
    width: 100%;
    /* max-width: 90%; */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    background-color: #000;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

video {
    width: 100%;
    display: block;
}

.controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 15px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s;
}

.video-container:hover .controls {
    opacity: 1;
}

.progress-container {
    width: 100%;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.2);
    margin-bottom: 10px;
    cursor: pointer;
    border-radius: 3px;
}

.progress-bar {
    height: 100%;
    background-color: #ff5722;
    width: 0%;
    border-radius: 3px;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: #ff5722;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s;
}

.progress-container:hover .progress-bar::after {
    opacity: 1;
}

.buttons {
    display: flex;
    align-items: center;
}

.play-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    margin-right: 15px;
}

.time {
    color: white;
    font-size: 14px;
    font-family: monospace;
}

/* 播放/暂停图标 */
.icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.play-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M8 5v14l11-7z"/></svg>');
}

.pause-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M6 19h4V5H6v14zm8-14v14h4V5h-4z"/></svg>');
    display: none;
}

.play-btn{
    background:transparent !important;
}

.player_mask{
    position:absolute;background:rgba(0,0,0,.8);display:flex;justify-content:center;align-items:center;top:0;left:0;right:0;bottom:0;cursor:pointer;
}