/* 详情   */
.info-title {
    font-size: 20px;
    font-weight: bold;
    padding: 0 10px 20px 10px;
}

.info-detail {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.64);
    padding: 0 10px 10px 10px;
    width: 100vw;
    
}



/* 标签广告 */
.tags-ads {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 10px;
}

.tags-ads .tags-ad {
    text-decoration: none;
    margin-bottom: 10px;
    width: 23.5%;
    color: #bbb;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border: 1px solid #444;
    height: 35px;
    border-radius: 4px;
    padding: 0 6px;
    line-height: 35px;
    text-align: center;
    margin-right: 2%;
    font-size: 14px;
}

.tags-ads .tags-ad:nth-child(4n) {
    margin-right: 0;
}


/* 联系我们 */
.contact-us {
    margin: 0 10px;
    border-radius: 12px;
    border: 1px solid #444;
}


/* 详情 */
.detail {
    padding: 20px 10px;
    overflow: hidden;
    max-width: 600px;
}

.detail .detail-text {
    line-height: 1.4;
    font-size: 15px;
    color: #bbb;
    margin-bottom: 6px;
}

.detail .detail-img {
    margin-bottom: 5px;
    width: 100%;
    height: auto;
}

.detail .detail-videos {
    width: 100%;
    height: 55vw;
    max-height: 300px;
    border: 1px solid #222;
}
.detail img {
    width: 100%;
    height: auto;
}
/* 视频播放器容器 */
.dplayer {
    position: relative !important;
}

/* 视频广告遮罩层 */
.video-ad-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.9) !important;
    z-index: 50 !important; /* 降低 z-index，确保播放器控制栏在上层 */
    display: block !important; /* 改为 block，避免 flex 布局影响按钮定位 */
    pointer-events: auto !important;
    overflow: visible !important; /* 确保按钮不被裁剪 */
}

/* 确保播放器控制栏在广告遮罩层上方 */
.dplayer-controller,
.dplayer-controller-wrap,
.dplayer-play,
.dplayer-pause,
.dplayer-bezel,
.dplayer-bezel-icon,
.dplayer-start {
    z-index: 100 !important;
    position: relative !important;
}

/* DPlayer 中间的播放按钮（bezel）默认隐藏，关闭广告后显示 */
.dplayer-video-wrap .dplayer-bezel {
    z-index: 100 !important;
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    background: transparent !important;
    background-color: transparent !important;
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    cursor: pointer !important;
}

/* 关闭广告后显示 bezel */
.dplayer-video-wrap .dplayer-bezel.bezel-visible {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}
/* 移除 bezel 内可能的黑色背景元素 */
.dplayer-video-wrap .dplayer-bezel > * {
    background: transparent !important;
    background-color: transparent !important;
}

.dplayer-video-wrap .dplayer-bezel-icon {
    z-index: 100 !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    font-size: 48px !important;
    width: 80px !important;
    height: 80px !important;
    line-height: 80px !important;
    text-align: center !important;
    background: transparent !important;
    background-color: transparent !important;
}

/* 确保 bezel 内的所有元素都没有黑色背景 */
/* 覆盖 DPlayer 的 bezel.less 中的样式 */
.dplayer-video-wrap .dplayer-bezel .dplayer-bezel-icon,
.dplayer-bezel .dplayer-bezel-icon {
    background: transparent !important;
    background-color: transparent !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* 确保 .dplayer-bezel .dplayer-bezel-icon 背景色透明 */
.dplayer-bezel .dplayer-bezel-icon {
    background: transparent !important;
    background-color: transparent !important;
}

/* 确保 .dplayer-bezel .dplayer-bezel-icon 背景色透明 */
.dplayer-bezel .dplayer-bezel-icon {
    background: transparent !important;
    background-color: transparent !important;
}

/* 更具体的选择器，确保覆盖 bezel.less 的样式 */
.dplayer .dplayer-bezel .dplayer-bezel-icon {
    background: transparent !important;
    background-color: transparent !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}


.dplayer-video-wrap .dplayer-bezel-icon-play::before,
.dplayer-video-wrap .dplayer-bezel-icon.dplayer-bezel-icon-play::before,
.dplayer-bezel .dplayer-bezel-icon-play::before,
.dplayer-bezel .dplayer-bezel-icon.dplayer-bezel-icon-play::before {
    content: '\25B6' !important; /* 播放三角形符号 ▶ */
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-size: 24px !important; /* 统一大小，与暂停按钮一致 */
    color: #fff !important;
    text-align: center !important;
    line-height: 1 !important;
    width: 24px !important; /* 统一大小 */
    height: 24px !important; /* 统一大小 */
    /* 移除背景，去掉大黑点 */
    background: transparent !important;
    background-color: transparent !important;
    /* 居中显示 */
    margin: 0 auto !important;
}

.dplayer-video-wrap .dplayer-bezel-icon-pause::before,
.dplayer-video-wrap .dplayer-bezel-icon.dplayer-bezel-icon-pause::before,
.dplayer-bezel .dplayer-bezel-icon-pause::before,
.dplayer-bezel .dplayer-bezel-icon.dplayer-bezel-icon-pause::before {
    content: '\23F8' !important; /* 暂停符号 ⏸ */
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-size: 24px !important; /* 统一大小，与播放按钮一致 */
    color: #fff !important;
    text-align: center !important;
    line-height: 1 !important;
    width: 24px !important; /* 统一大小 */
    height: 24px !important; /* 统一大小 */
    /* 移除背景，去掉大黑点 */
    background: transparent !important;
    background-color: transparent !important;
    /* 居中显示 */
    margin: 0 auto !important;
}

/* 如果 DPlayer 使用其他方式显示图标，确保可见 */
.dplayer-video-wrap .dplayer-bezel-icon::before {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    font-size: 48px !important;
    color: #fff !important;
    width: 80px !important;
    height: 80px !important;
    line-height: 80px !important;
    text-align: center !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

/* 如果 bezel-icon 没有类名，默认显示播放图标 */
.dplayer-video-wrap .dplayer-bezel-icon:not(.dplayer-bezel-icon-pause)::before {
    content: '\25B6' !important; /* 默认显示播放图标 */
}

.dplayer-video-wrap .dplayer-start {
    z-index: 100 !important;
}

.video-ad-overlay .video-ad-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain; /* 默认使用 contain，保持图片比例并上下居中 */
    z-index: 0 !important;
    /* 图片加载失败时不显示破损图标 */
    background-color: #000;
    display: block;
}

/* 图片加载失败时的样式 */
.video-ad-overlay .video-ad-image[src=""],
.video-ad-overlay .video-ad-image:not([src]) {
    display: none;
}

.video-ad-close-btn {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    width: auto !important;
    max-width: 200px !important;
    background-color: rgba(0, 0, 0, 0.9) !important;
    border: 2px solid #ff0000 !important;
    border-radius: 4px !important;
    padding: 8px 12px !important;
    cursor: not-allowed !important;
    z-index: 100000 !important;
    min-width: 100px !important;
    min-height: 36px !important;
    height: auto !important;
    text-align: center !important;
    pointer-events: auto !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.8) !important;
    line-height: 20px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    flex: none !important;
    font-size: 14px !important; /* 必须设置，覆盖父元素 dplayer-video-wrap 的 font-size: 0px */
    font-family: Arial, sans-serif !important; /* 确保字体正常显示 */
}

.video-ad-close-btn .ad-countdown {
    color: #fff !important;
    font-size: 14px !important; /* 必须设置，覆盖父元素的 font-size: 0px */
    font-weight: bold !important;
    display: block !important;
    white-space: nowrap !important;
    line-height: 20px !important;
    height: 20px !important;
    font-family: Arial, sans-serif !important; /* 确保字体正常显示 */
}


.video-ad-close-btn.ad-ready {
    cursor: pointer;
}

.video-ad-close-btn.ad-ready .ad-countdown {
    color: #fff;
}
.detail img {
    width: 100%;
    height: auto;
}

/* app广告 */
.app-title {
    padding: 20px 10px;
    text-align: center;
}

.app-title-text {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.app-title-tags {
    padding: 20px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.app-tag {
    flex: 1;
    color: #f79003;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
}

.apps {
    margin: 0 10px;
    border: solid 1px #333;
    background-color: #151515;
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding-top: 10px;
}

.apps .app {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 20%;
    margin-bottom: 10px;
}

.apps .app img {
    width: 13vw;
    height: 13vw;
    max-width: 115px;
    max-height: 115px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 5px;
}

.apps .app span {
    font-size: 13px;
    text-decoration: none;
    color: #bbb;
}

/* 覆盖 DPlayer 的 bezel.less 中的背景样式 */
.dplayer-bezel .dplayer-bezel-icon {
    background: transparent !important;
    background-color: transparent !important;
    /* 居中显示 */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    /* 内边距设为10 */
    padding: 10px !important;
    /* 确保按钮大小一致 */
    width: 52px !important;
    height: 52px !important;
    box-sizing: border-box !important;
    /* 确保可见 */
    opacity: 1 !important;
    pointer-events: auto !important;
    /* 居中定位 */
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    margin: -26px 0 0 -26px !important; /* 52px / 2 = 26px */
}