div.videoTitle {
    margin-top: 2%;
}
div.videoTitle h3 {
    margin-top: 4%;
}
div.videoTitle p {
    font-size: 18px;
    columns: #ad1212;
}
video#mainVideo {
    margin-left: 2%;
    margin-top: 50px;
    max-height: 500px;
    width: 100%;
    height: auto;
}
div.videoArea {
    flex: 1;
    margin-left: 10%;             
    min-width: 0;           /* 修复视频溢出问题 */
}
.playSpeed {
    position: relative;
    width: 40px;
    text-align: center;
}
.playSpeed a {
    font-size: 20px;
    color: #fff;
    font-weight: bold;
}
.mask {
    position: absolute;
    background-color: #000;
    opacity: 0.7;
    display: none;
    padding-bottom: 200px;
    height: 100px;
}
.playSpeed .mask {
    width: 50px;
    height: 90px;
    float: left;
    bottom: 21px;
}
.playSpeed ul {
    position: absolute;
    left: 0px;
    bottom: 21px;
    list-style:none;
    width: 50px;
    font-size: 14px;
    display: none;
    padding-bottom: 9px;
}
.playSpeed li {
    width: 100%;
    color: #fff;
    opacity: 1;
    height: 30px;
}
.playSpeed:hover ul,
.playSpeed:hover .mask{
    display: block;
}
.playSpeed li a {
    font-size: 12px;
    font-weight: normal;
    line-height: 30px;
}
.playSpeed li a:hover {
    font-weight: bold;
}
.playSpeed li:hover {
    background-color: blue;
}
#controller .vdbtn {
    padding: 0px 15px;
}
#controller .vdbtn img {
    margin: 0px 10px 8px;
}
#controller .vdtime span {
    font-size: 20px;
}
#controller {
    position: absolute;
    opacity: 0.8;
    background-color: #ad121288;
    margin-left: 12px;
    margin-top: -5px;
    width: 62%;
    display: none;
}
.videoPlay:hover #controller {
    display: block;
}
#controller #videoProgress {
    float: left;
    width: 100%;
    height: 18px;
    margin-bottom: 16px;
}
#controller div {
    float: left;
}
progress::-webkit-progress-bar {
    background-color: #797f83;
}
progress::-webkit-progress-value {
    background-color: #0078d7;
}
#controller .volumeBar {
    position: relative;
    float: right;
    margin-right: 15px;
    display: flex;
}
.volumeBar .volumeControl {
    position: absolute;
    display: none;
    height: 30px;
    width: 130px;
    padding: 0px 10px;
}
.volumeBar .mask1 {
    width: 140px;

}
.volumeBar:hover .mask1, .volumeBar:hover div {
    display: block;
    bottom: 21px;
    right: -10px;
}
.volumeBar progress {
    width: 80px;
    margin: 0px 4px;
}
.mask1 {
    position: absolute;
    background-color: #000;
    opacity: 0.7;
    display: none;
    height: 70px; /* 总高度直接设为230px */
    padding-bottom: 0; /* 移除padding-bottom */
}
@media (max-width: 600px) {
    video#mainVideo {
        width: 100%;
        height: auto;
    }
    div.videoArea {
        margin-left: 25%;             
    }
    #controller {
        margin-left: 5px;
        width: 48%;
    }
    .videoPlay:hover #controller {
        display: none;
    }
}