.MacPlayer {
    background: #000000;
    font-size: 14px;
    color: #F6F6F6;
    margin: 0px;
    padding: 0px;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    min-height: 100px;
}

.MacPlayer table {
    width: 100%;
    height: 100%;
}

.MacPlayer #playleft {
    position: inherit !important;
    width: 100%;
    height: 100%;
}
.share-pic img{
    height: 100%;
}
.hidden{
    display: none;
}

/* 0721xf H265 start: 续播提示、播放器内层容器、手势层三块样式已随播放器迁移下线 */
/* 0721xf H265 end */

/* 0721xf H265 start: 前置广告图解密期先显示 holder 占位图(竖版深灰 #4f4f4f),
   而广告位是 object-fit:contain,竖图放进横屏播放器左右留黑边,跟占位图灰底割裂。
   这里只把占位阶段的底色对齐占位图;解密完成后 image.js 摘掉 loading 类并补上 src,
   选择器自然失效,广告图仍按插件原本的黑底显示 */
.dplayer .dplayer-pre-img.loading,
.dplayer .dplayer-pre-img:not([src]) {
    background: #4f4f4f !important;
}
/* 0721xf H265 end */

/* 0721xf H265 start: 播放器控制条相关的自定义样式(隐藏原生按钮、弹幕面板、弹幕按钮、倍速按钮)整组下线,全走 DPlayer 默认 */
/* 0721xf H265 end */

/* 2026-08-13 督导质检问题整改 start: H5 倍速面板上移被 MacPlayer overflow 裁切,下移并略压缩行高让 0.5 完整可见 */
@media (max-width: 767px) {
    .dplayer .dplayer-controller .dplayer-icons .dplayer-setting .dplayer-setting-box {
        bottom: 32px;
    }
    .dplayer .dplayer-controller .dplayer-icons .dplayer-setting .dplayer-setting-box.dplayer-setting-box-speed {
        bottom: 8px;
    }
    .dplayer .dplayer-controller .dplayer-icons .dplayer-setting .dplayer-setting-speed-item {
        height: 26px;
        padding: 3px 8px;
        line-height: 20px;
    }
}
/* 2026-08-13 督导质检问题整改 end */


/* 搜索框宽度 / 返回箭头,原先误嵌在弹幕按钮的媒体查询里,跟播放器无关 */
@media (min-width: 767px) {
    .gen-search-container {
        width: 313px;
    }
    .top-back a.ds-jiantoushang {
        display: none !important;
    }
}

/* 0721xf H265 start: 状态 chip 已随 play.js 状态机一起下线,加载/失败提示由播放器插件自己出 */
/* 0721xf H265 end */

/* 2026-05-19 优化需求 start: 详情面板头部 标题 + 关闭图标按钮 */
.player-details-box-title{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px;
}
.player-details-title{
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: inherit;
}
.player-details-close{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    transition: background-color .15s ease;
}
.player-details-close:hover{
    background-color: rgba(255, 255, 255, 0.08);
}
.player-details-close-icon{
    width: 16px;
    height: 16px;
    display: block;
}
.theme1 .player-details-close:hover{
    background-color: rgba(0, 0, 0, 0.06);
}
@media (max-width: 992px){
    .player-details-title{
        font-size: 15px;
    }
    .player-details-close{
        width: 26px;
        height: 26px;
    }
    .player-details-close-icon{
        width: 14px;
        height: 14px;
    }
}
/* 2026-05-19 优化需求 end */
