.video-player {
    width: 1010px;
    height: auto;
    aspect-ratio: 16 / 9;
    background-color: #000;
    user-select: none;
    margin: auto;
    overflow: hidden;
}
.video-js {
    width: auto;
    height: 100%;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}
.video-js .vjs-big-play-button {
    position: absolute;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    font-size: 7.5em !important;
    line-height: 1.5em !important;
    height: 1.5em !important;
    width: 1.5em !important;
    border-radius: 50% !important;
    background-color: rgba(43, 51, 63, 0.7) !important;
}
.video-js .vjs-big-play-button:hover {
    background-color: rgba(0, 0, 0, 0.7) !important;
}
.video-js .vjs-skip-button {
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    padding: 0 10px;
}
.video-js .vjs-skip-forward::after {
    content: ">";
}
.video-js .vjs-skip-backward::after {
    content: "<";
}
.mp4-player-in-photo {
    width: 100%;
    height: auto;
}
.mp4-player-in-photo > video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background-color: #000;
}
.mp4-player-in-photo > .controls {
    border-radius: 5px 5px 0 0;
    padding: 5px 0 10px 0;
    box-sizing: border-box;
    background-color: #000;
    color: #fff;
    text-align: center;
}
.mp4-player-in-photo > .controls > div {
    display: inline-block;
    margin: 0 10px;
    padding: 5px;
}
.mp4-player-in-photo > .controls > .btn {
    height: 30px;
    line-height: 30px;
    padding: 0 20px;
    font-size: 14px;
    cursor: pointer;
    background-color: #3498db;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    outline: none;
    margin: 0 5px;
}
.mp4-player-in-photo > .controls > .btn:hover {
    background-color: #06c;
}
.mp4-player-in-photo > .controls > .btn[disabled] {
    background-color: #c0c0c0;
    color: #fff;
    cursor: default;
}

/* 新增：播放速度按钮样式 */
.video-js .vjs-playback-speed-button {
    font-weight: bold;
    font-size: 14px;
    padding: 0 10px;
    cursor: pointer;
}

.video-js .vjs-playback-speed-button .vjs-icon-placeholder:before {
    content: attr(data-speed);
}

@media only screen and (max-width: 1024px) {
    .video-player {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        position: relative;
    }
    .video-player.fixed {
        width: 100vw;
        position: fixed;
        z-index: 2;
    }
    .video-js .vjs-big-play-button {
        font-size: 5em !important;
    }
    .mp4-player-in-photo > .controls > .btn {
        height: 25px;
        line-height: 25px;
    }
    .video-js .vjs-skip-button {
        font-size: 12px;
        padding: 0 5px;
        width: 24px;
        text-align: center;
    }
    .video-js .vjs-skip-forward::before,
    .video-js .vjs-skip-backward::before {
        content: none;
    }
    .video-js .vjs-remaining-time {
        display: none !important;
    }
    .video-js .vjs-playback-speed-button {
        font-size: 12px;
        padding: 0 5px;
        width: auto;
        min-width: 30px;
    }
}