/* Page-specific styles extracted from html/vod/play.html; kept separate to allow browser caching. */
/* --- extracted styles from html/vod/play.html --- */
/* 关键词统一外框 */
.play-keywords {
    margin: 16px 0;
    padding: 16px;
    border: 1px solid rgba(22, 163, 74, .16);
    border-radius: 12px;
    background: linear-gradient(
        135deg,
        rgba(22, 163, 74, .06),
        rgba(22, 163, 74, .015)
    );
    box-sizing: border-box;
}

/* 标题 */
.play-keywords-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 13px;
    color: var(--zy-color, #222);
    font-size: 14px;
    font-weight: 700;
}

.play-keywords-title::before {
    content: "";
    width: 4px;
    height: 16px;
    flex-shrink: 0;
    border-radius: 4px;
    background: #16a34a;
}

/* 标签排列 */
.play-keywords-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.play-keywords-list a {
    display: inline-flex;
    align-items: center;
    padding: 6px 11px;
    border: 1px solid rgba(22, 163, 74, .18);
    border-radius: 6px;
    background: rgba(22, 163, 74, .07);
    color: #16803d;
    font-size: 12px;
    line-height: 1.5;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: all .2s ease;
}

.play-keywords-list a:hover {
    border-color: #16a34a;
    background: #16a34a;
    color: #fff;
}

/* 当前分类突出显示 */
.play-keywords-list a.play-category-tag {
    border-color: #16a34a;
    background: #16a34a;
    color: #fff;
    font-weight: 600;
}

.play-keywords-list a.play-category-tag:hover {
    border-color: #15803d;
    background: #15803d;
    color: #fff;
}

/* 分享按钮 */
.play-keywords-share {
    display: flex;
    align-items: center;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(22, 163, 74, .14);
}

.play-keywords-share .share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 7px 14px;
    border: 1px solid rgba(22, 163, 74, .22);
    border-radius: 7px;
    background: rgba(22, 163, 74, .09);
    color: #16803d;
    text-decoration: none;
    transition: all .2s ease;
}

.play-keywords-share .share a:hover {
    border-color: #16a34a;
    background: #16a34a;
    color: #fff;
}

.play-keywords-share .share i {
    font-size: 16px;
}

.play-keywords-share .share h3 {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
}

/* 手机适配 */
@media (max-width: 600px) {
    .play-keywords {
        margin: 12px 0;
        padding: 12px;
        border-radius: 9px;
    }

    .play-keywords-title {
        margin-bottom: 11px;
        font-size: 13px;
    }

    .play-keywords-list {
        gap: 7px;
    }

    .play-keywords-list a {
        padding: 5px 9px;
    }

    .play-keywords-share {
        margin-top: 11px;
        padding-top: 10px;
    }
}

/* 跟随系统深色模式 */
@media (prefers-color-scheme: dark) {
    .play-keywords {
        border-color: rgba(74, 222, 128, .18);
        background: rgba(22, 163, 74, .07);
    }

    .play-keywords-title {
        color: var(--zy-color, #eee);
    }

    .play-keywords-title::before {
        background: #22c55e;
    }

    .play-keywords-title::after {
        color: #4ade80;
    }

    .play-keywords-list a {
        border-color: rgba(74, 222, 128, .22);
        background: rgba(22, 163, 74, .12);
        color: #4ade80;
    }

    .play-keywords-list a.play-category-tag {
        border-color: #16a34a;
        background: #16a34a;
        color: #fff;
    }

    .play-keywords-list a:hover {
        border-color: #16a34a;
        background: #16a34a;
        color: #fff;
    }

    .play-keywords-share {
        border-top-color: rgba(74, 222, 128, .18);
    }

    .play-keywords-share .share a {
        border-color: rgba(74, 222, 128, .22);
        background: rgba(22, 163, 74, .12);
        color: #4ade80;
    }

    .play-keywords-share .share a:hover {
        background: #16a34a;
        color: #fff;
    }
}

.native-video-comments {
                    margin: 28px 0 36px;
                    padding: 22px;
                    border: 1px solid var(--zy-border, rgba(128,128,128,.2));
                    border-radius: 12px;
                    background: var(--zy-card, transparent);
                    box-sizing: border-box;
                    width: 100%;
                }
                .native-video-comments__heading {
                    margin: 0 0 18px;
                    padding-bottom: 14px;
                    border-bottom: 1px solid var(--zy-border, rgba(128,128,128,.2));
                }
                .native-video-comments__heading h2 {
                    margin: 0 0 7px;
                    font-size: 20px;
                    line-height: 1.5;
                    font-weight: 700;
                    color: var(--zy-color, inherit);
                }
                .native-video-comments__heading p {
                    margin: 0;
                    font-size: 13px;
                    line-height: 1.6;
                    color: var(--zy-muted, #888);
                }
                .native-video-comments .mac_comment { width: 100%; min-width: 0; color: var(--zy-color, inherit); }
                .native-video-comments .native-comment-composer { display:flex; align-items:flex-start; gap:12px; margin-bottom:24px; }
                .native-video-comments .native-comment-composer__avatar { flex:0 0 42px; width:42px; height:42px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:linear-gradient(135deg,#22c55e,#15803d); color:#fff; font-size:15px; font-weight:800; box-shadow:0 5px 14px rgba(22,163,74,.18); }
                .native-video-comments .native-comment-form { flex:1; min-width:0; }
                .native-video-comments .native-comment-editor { padding:14px; border:1px solid var(--zy-border, rgba(128,128,128,.22)); border-radius:12px; background:var(--zy-card, transparent); transition:border-color .2s,box-shadow .2s; }
                .native-video-comments .native-comment-editor:focus-within { border-color:rgba(22,160,93,.55); box-shadow:0 5px 20px rgba(22,160,93,.08); }
                .native-video-comments .comment_content { display:block; width:100%; min-height:108px; box-sizing:border-box; resize:vertical; padding:13px 14px; border:1px solid var(--zy-border, rgba(128,128,128,.18)); border-radius:9px; outline:none; background:var(--zy-bg, transparent); color:var(--zy-color, inherit); font:inherit; line-height:1.75; transition:border-color .2s,box-shadow .2s; }
                .native-video-comments .comment_content:focus { border-color:#16a05d; box-shadow:0 0 0 3px rgba(22,160,93,.1); }
                .native-video-comments .native-comment-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-top:12px; }
                .native-video-comments .native-comment-limit { color:var(--zy-muted, #888); font-size:12px; }
                .native-video-comments .native-comment-actions { display:flex; align-items:center; gap:8px; }
                .native-video-comments .native-comment-verify { width:100px; min-width:0; padding:10px; border:1px solid var(--zy-border, rgba(128,128,128,.22)); border-radius:8px; background:transparent; color:inherit; }
                .native-video-comments .comment_submit { border:0; border-radius:8px; padding:10px 18px; background:linear-gradient(135deg,#22c55e,#15803d); color:#fff; font-weight:700; cursor:pointer; box-shadow:0 4px 10px rgba(22,160,93,.16); transition:transform .18s,filter .18s; }
                .native-video-comments .comment_submit:hover { filter:brightness(.96); transform:translateY(-1px); }
                .native-video-comments .native-comment-list-heading { display:flex; align-items:baseline; justify-content:space-between; gap:10px; margin:22px 0 4px; }
                .native-video-comments .native-comment-list-title { font-size:16px; font-weight:800; }
                .native-video-comments .native-comment-list-caption { color:var(--zy-muted, #888); font-size:12px; }
                .native-video-comments .native-comment-item { display:flex; gap:12px; padding:17px 2px; border-bottom:1px solid var(--zy-border, rgba(128,128,128,.12)); }
                .native-video-comments .native-comment-avatar { flex:0 0 42px; width:42px; height:42px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:linear-gradient(135deg,rgba(34,197,94,.16),rgba(21,128,61,.1)); border:1px solid rgba(22,160,93,.18); color:#15803d; font-size:16px; font-weight:800; }
                .native-video-comments .native-comment-body { min-width:0; flex:1; }
                .native-video-comments .native-comment-meta { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin:1px 0 8px; }
                .native-video-comments .native-comment-name { font-size:13px; font-weight:800; }
                .native-video-comments .native-comment-author-tag { padding:2px 6px; border-radius:4px; background:rgba(40,120,240,.09); color:#2878f0; font-size:10px; line-height:1.4; }
                .native-video-comments .native-comment-meta time { margin-left:auto; color:var(--zy-muted, #888); font-size:11px; }
                .native-video-comments .native-comment-text { font-size:14px; line-height:1.85; overflow-wrap:anywhere; padding:10px 12px; border-radius:0 9px 9px 9px; background:rgba(128,128,128,.045); }
                .native-video-comments .native-comment-empty { padding:26px 0; color:var(--zy-muted, #888); text-align:center; font-size:13px; }
                .native-video-comments .mac_pages { margin-top:14px; }
                @media (max-width:600px) { .native-video-comments .native-comment-composer { gap:8px; } .native-video-comments .native-comment-composer__avatar,.native-video-comments .native-comment-avatar { flex-basis:34px; width:34px; height:34px; font-size:13px; } .native-video-comments .native-comment-editor { padding:10px; } .native-video-comments .native-comment-limit { width:100%; } .native-video-comments .native-comment-meta time { margin-left:0; } .native-video-comments .native-comment-text { padding:9px 10px; } }
                @media (max-width: 600px) {
                    .native-video-comments {
                        margin: 20px 0 26px;
                        padding: 14px;
                        border-radius: 9px;
                    }
                    .native-video-comments__heading h2 { font-size: 18px; }
                }

/* 回到原版播放页结构；标题绿杠改用真实边框，避免伪元素代码 before 被显示 */
.playbox .play-title::before {
    content: none !important;
    display: none !important;
}
.playbox .play-title {
    border-left: 4px solid #16a34a !important;
    padding-left: 12px !important;
    box-sizing: border-box;
}

/* 播放页去掉最外层大框，保留播放器本身及内部控件样式 */
    .main .container > .playbox {
        border: 0 !important;
        outline: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
        padding: 0 !important;
        border-radius: 0 !important;
    }

/* 播放页：按要求彻底隐藏评论区及其占位 */
.native-video-comments, .mac_comment { display: none !important; }
