/*
Theme Name: StreamForge V6.0 (Full Color Control)
Description: 深度变量化，修复了幻灯片、详情页、评分等所有文字颜色无法跟随后台的问题。
*/

:root {
    --nav-height: 72px;
    --container: 1450px;
    /* 默认兜底变量，会被后台设置覆盖 */
    --accent: #E50914;
    --bg-body: #282828;
    --bg-header: #0a0a0a;
    --bg-surface: #141414;
    --bg-footer: #141414;
    --text-main: #ffffff;
    --text-sub: #a3a3a3;
    --border: #333333;
}

/* 0. 基础重置 */
* { box-sizing: border-box; margin: 0; padding: 0; outline: none; -webkit-tap-highlight-color: transparent; }
body { background: var(--bg-body); color: var(--text-main); font-family: -apple-system, sans-serif; line-height: 1.6; padding-top: var(--nav-height); overflow-x: hidden; margin: 0; }
a { text-decoration: none; color: inherit; transition: all 0.2s ease; } 
a:hover { color: var(--accent); }
ul, li { list-style: none !important; margin: 0; padding: 0; }
img { max-width: 100%; display: block; border: 0; }
button, input { font-family: inherit; border-radius: 0; background: transparent; }
.container-830e3e { max-width: var(--container); width: 100%; margin: 0 auto; padding: 0 20px; position: relative; }

/* ==========================================================================
   ★ 幻灯片样式 (颜色修复)
   ========================================================================== */
.sf-slider-section-830e3e {
    margin-bottom: 50px;
    width: 100%;
    height: 380px; 
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: var(--bg-surface); 
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}
.sf-slider-wrapper-830e3e { width: 100%; height: 100%; position: relative; }
.sf-slide-item-830e3e { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease; z-index: 1; display: flex; overflow: hidden; visibility: hidden; }
.sf-slide-item-830e3e.active { opacity: 1; z-index: 5; visibility: visible; }
.sf-slide-bg-830e3e { position: absolute; inset: -20px; background-size: cover; background-position: center top; filter: blur(50px) brightness(0.6); z-index: 1; transform: scale(1.1); }
.sf-slide-mask-830e3e { position: absolute; inset: 0; background: linear-gradient(90deg, #000 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0) 100%); z-index: 2; }
.sf-slide-inner-830e3e { position: relative; z-index: 10; width: 100%; height: 100%; display: flex; justify-content: space-between; align-items: center; padding: 0 80px; }

/* 幻灯片内容颜色变量化 */
.sf-slide-left-830e3e { flex: 1; padding-right: 60px; display: flex; flex-direction: column; justify-content: center; text-shadow: 0 2px 10px rgba(0,0,0,0.8); }
.sf-slide-tag-830e3e { display: inline-block; background: var(--accent); color: #fff; padding: 4px 12px; border-radius: 4px; font-size: 13px; font-weight: bold; width: fit-content; margin-bottom: 20px; }
.sf-slide-title-830e3e { font-size: 42px; margin: 0 0 20px; font-weight: 900; line-height: 1.2; color: var(--text-main); } /* 修复标题颜色 */
.sf-slide-title-830e3e a { color: var(--text-main); }
.sf-slide-meta-830e3e { margin-bottom: 25px; font-size: 15px; color: var(--text-main); opacity: 0.9; display: flex; gap: 15px; } /* 修复Meta颜色 */
.sf-slide-desc-830e3e { color: var(--text-sub); font-size: 16px; margin-bottom: 35px; max-width: 650px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } /* 修复简介颜色 */
.sf-slide-desc-830e3e strong { color: var(--accent); }
.sf-slide-btn-830e3e { display: inline-flex; align-items: center; background: var(--accent); color: #fff; padding: 12px 35px; border-radius: 50px; font-weight: 800; font-size: 16px; width: fit-content; }

.sf-slide-right-830e3e { flex-shrink: 0; width: 220px; height: 320px; position: relative; z-index: 20; transform: perspective(1000px) rotateY(-8deg); transition: transform 0.5s; display: block; }
.active .sf-slide-right-830e3e { transform: perspective(1000px) rotateY(0); }
.sf-poster-card-830e3e { width: 100%; height: 100%; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 50px rgba(0,0,0,0.8); border: 3px solid rgba(255,255,255,0.2); background: var(--bg-surface); }
.sf-poster-card-830e3e img { width: 100%; height: 100%; object-fit: cover; }

.sf-slider-nav-830e3e button { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); color: #fff; border: none; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; z-index: 30; opacity: 0; transition: 0.3s; }
.sf-slider-section-830e3e:hover .sf-slider-nav-830e3e button { opacity: 1; }
.sf-prev-830e3e { left: 20px; } .sf-next-830e3e { right: 20px; }
.sf-slider-dots-830e3e { position: absolute; bottom: 25px; left: 80px; z-index: 30; display: flex; gap: 12px; }
.sf-slider-dots-830e3e span { width: 12px; height: 12px; background: rgba(255,255,255,0.3); border-radius: 50%; cursor: pointer; }
.sf-slider-dots-830e3e span.active { background: var(--accent); width: 30px; border-radius: 12px; }

/* ==========================================================================
   ★ 头部导航
   ========================================================================== */
#id-830e3e-header-default { height: var(--nav-height); background: var(--bg-header); border-bottom: 1px solid var(--border); position: fixed !important; top: 0; left: 0; width: 100%; z-index: 99999; box-shadow: 0 2px 15px rgba(0,0,0,0.5); overflow: visible !important; }
#id-830e3e-header-default .container-830e3e { height: 100%; display: flex; align-items: center; justify-content: space-between; position: relative; overflow: visible !important; }
.logo-area-830e3e { flex-shrink: 0; margin-right: 100px; } 
.logo-area-830e3e a { display: flex; align-items: center; font-size: 1.5rem; font-weight: 900; color: var(--text-main); white-space: nowrap; } 
.logo-area-830e3e svg { width: 30px; height: 30px; color: var(--accent); margin-right: 10px; }
.desktop-nav-830e3e { flex: 1; height: 100%; display: flex; align-items: center; }
.sf-menu-830e3e { display: flex !important; align-items: center; height: 100%; margin: 0 !important; list-style: none !important; } 
.sf-menu-830e3e > li { position: relative; height: 100%; display: flex; align-items: center; margin-right: 25px; } 
.sf-menu-830e3e > li > a { font-size: 15px; font-weight: 600; color: var(--text-sub); padding: 0 5px; white-space: nowrap; } 
.sf-menu-830e3e > li > a:hover { color: var(--text-main); }
.sf-menu-830e3e .sub-menu, .sf-menu-830e3e .children { display: none; position: absolute; top: 100%; left: -15px; min-width: 180px; background: var(--bg-surface); border-top: 2px solid var(--accent); box-shadow: 0 10px 30px rgba(0,0,0,0.8); padding: 10px 0; z-index: 99999; border-radius: 0 0 4px 4px; } 
.sf-menu-830e3e li:hover > .sub-menu, .sf-menu-830e3e li:hover > .children { display: block !important; animation: sfFadeIn 0.2s; } 
.sf-menu-830e3e .sub-menu a, .sf-menu-830e3e .children a { display: block; padding: 10px 20px; color: var(--text-sub); border-bottom: 1px solid var(--border); font-size: 14px; } 
.sf-menu-830e3e .sub-menu a:hover, .sf-menu-830e3e .children a:hover { background: var(--bg-body); color: var(--accent); padding-left: 25px; }
.header-right-830e3e { display: flex; align-items: center; } 
/* ==========================================================================
   ★ 搜索框终极美化 (UI + 颜色同步)
   ========================================================================== */
.pc-search-830e3e { 
    width: 260px; /* 稍微加宽一点 */
    margin-left: 20px; 
} 

.pc-search-830e3e form { 
    display: flex; 
    align-items: center;
    background: var(--bg-surface); /* 同步：卡片背景色 */
    border: 1px solid var(--border); /* 同步：边框颜色 */
    border-radius: 50px; /* 美化：胶囊圆角 */
    overflow: hidden; 
    transition: all 0.3s ease; /* 增加丝滑动画 */
    position: relative;
} 

/* 核心交互：点击输入框时，边框变色 */
.pc-search-830e3e form:focus-within {
    border-color: var(--accent); /* 变色！ */
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05); /* 微光效果 */
}

.pc-search-830e3e input { 
    flex: 1; 
    background: transparent; 
    border: none; 
    color: var(--text-main); /* 同步：主文字色 */
    padding: 8px 15px; 
    font-size: 13px; 
    height: 36px;
    outline: none; /* 去除默认蓝框 */
}

/* 修复 placeholder 颜色 */
.pc-search-830e3e input::placeholder {
    color: var(--text-sub);
    opacity: 0.6;
}

.pc-search-830e3e button {
    background: transparent;
    border: none;
    padding: 0 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-sub); /* 平时是灰色 */
    transition: color 0.3s;
}

.pc-search-830e3e button:hover {
    color: var(--accent); /* 鼠标放上去变强调色 */
}

.pc-search-830e3e button svg {
    width: 18px;
    height: 18px;
    fill: currentColor; /* 确保图标跟随文字颜色变化 */
}
.mobile-toggle-830e3e { display: none; cursor: pointer; padding: 5px; margin-left: 15px; color: var(--text-main); } 
#id-830e3e-mobile-drawer { display: none; } 

/* ==========================================================================
   ★ 视频网格 & 列表
   ========================================================================== */
[class*="video-grid"], .archive-grid-830e3e, .related-grid-830e3e, .sidebar-list-830e3e { display: grid; gap: 20px 15px; margin-bottom: 40px; width: 100%; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); } 
.grid-4-830e3e { grid-template-columns: repeat(4, 1fr) !important; } .grid-5-830e3e { grid-template-columns: repeat(5, 1fr) !important; } .grid-6-830e3e { grid-template-columns: repeat(6, 1fr) !important; }
.video-card-830e3e { position: relative; display: flex; flex-direction: column; overflow: hidden; transition: transform 0.2s; } 
.video-card-830e3e:hover { transform: translateY(-4px); z-index: 2; }
.video-thumb-830e3e { position: relative; width: 100%; aspect-ratio: 2/3; background: var(--bg-surface); border-radius: 4px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.3); } 
.video-thumb-830e3e img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; } 
.video-card-830e3e:hover .video-thumb-830e3e img { transform: scale(1.05); }
.duration-830e3e, .note-830e3e { position: absolute; bottom: 5px; right: 5px; background: rgba(0,0,0,0.8); color: #fff; padding: 2px 6px; font-size: 11px; border-radius: 4px; pointer-events: none; } 
.play-overlay-830e3e { position: absolute; inset: 0; background: rgba(0,0,0,0.3); display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.2s; pointer-events: none; } 
.video-card-830e3e:hover .play-overlay-830e3e { opacity: 1; } 
.play-overlay-830e3e svg { width: 48px; height: 48px; color: #fff; fill: #fff; }
.video-content-830e3e { padding-top: 10px; } 
.video-title-830e3e { margin: 0 0 5px; font-size: 14px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } 
.video-title-830e3e a { color: var(--text-main); }
.video-title-830e3e a:hover { color: var(--accent); }
.video-meta-830e3e { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-sub); } 
/* 修复评分颜色，使其跟随主题色或保持金色 */
.rating-830e3e { color: var(--accent); font-weight: bold; } 

/* 首页版块 */
.home-section-830e3e { margin-bottom: 40px; } 
.section-header-830e3e { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-left: 4px solid var(--accent); padding-left: 15px; } 
/* 修复 H1 标题颜色 */
.section-title-830e3e { font-size: 1.4rem; font-weight: 800; color: var(--text-main); margin: 0; }
.section-more-830e3e { color: var(--text-sub); font-size: 14px; }
.section-more-830e3e:hover { color: var(--accent); }

/* ==========================================================================
   ★ 详情页 (Single) - 关键修复区
   ========================================================================== */
.watch-layout-830e3e { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; } 
.player-wrapper-830e3e { width: 100%; aspect-ratio: 16/9; background: #000; margin-bottom: 20px; border-radius: 8px; overflow: hidden; } 
.video-header-830e3e .entry-title-830e3e { color: var(--text-main); } /* 修复详情页大标题 */

/* 影视信息盒 (去除硬编码背景) */
.sf-vod-info-box-830e3e { display: flex; gap: 20px; background: var(--bg-surface); border: 1px solid var(--border); padding: 20px; border-radius: 8px; margin: 20px 0; } 
.sf-info-poster-830e3e { width: 150px; flex-shrink: 0; border-radius: 4px; overflow: hidden; } 
.sf-info-poster-830e3e img { width: 100%; height: auto; aspect-ratio: 2/3; object-fit: cover; } 
.sf-info-data-830e3e { flex: 1; } 
.sf-info-data-830e3e ul { display: flex; flex-wrap: wrap; gap: 10px; } 
.sf-info-data-830e3e li { width: 48%; font-size: 14px; color: var(--text-sub); }
.sf-info-data-830e3e .label-830e3e { color: var(--text-sub); opacity: 0.7; }
.sf-info-data-830e3e strong { color: var(--text-main); }

/* 热门搜索/标签/简介/上下篇 (修复背景和文字) */
.sf-seo-keywords-matrix-830e3e, .sf-tags-box-830e3e, .sf-content-section-830e3e div[itemprop="description"], .sf-post-navigation-830e3e {
    background: var(--bg-surface) !important;
    border: 1px solid var(--border) !important;
    color: var(--text-sub) !important;
}
.sf-seo-keywords-matrix-830e3e h4 { color: var(--text-main) !important; }
.sf-seo-keywords-matrix-830e3e a { color: var(--text-sub) !important; border-color: var(--border) !important; }
.sf-seo-keywords-matrix-830e3e a:hover { color: var(--accent) !important; }

/* 标签云 */
.sf-tags-box-830e3e a { 
    background: var(--bg-body) !important; 
    color: var(--text-sub) !important; 
    border-color: var(--border) !important; 
}
.sf-tags-box-830e3e a:hover { 
    background: var(--accent) !important; 
    color: #fff !important; 
    border-color: var(--accent) !important; 
}

/* 剧情简介 */
.sf-content-section-830e3e h2, .related-section-830e3e h2, .comments-area-830e3e h2 { 
    color: var(--text-main) !important; 
    border-left-color: var(--accent) !important; 
}
.sf-content-section-830e3e strong { color: var(--text-main) !important; }

/* 选集 */
.sf-playlist-box-830e3e { margin-top: 20px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: 8px; padding: 15px; } 
.sf-playlist-header-830e3e { color: var(--text-main); border-bottom: 1px solid var(--border); padding-bottom: 10px; margin-bottom: 15px; }
.sf-playlist-grid-830e3e { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; } 
.sf-ep-btn-830e3e { background: var(--bg-body); border: 1px solid var(--border); color: var(--text-sub); padding: 8px 5px; border-radius: 4px; cursor: pointer; text-align: center; font-size: 13px; } 
.sf-ep-btn-830e3e:hover { background: var(--bg-header); color: var(--text-main); }
.sf-ep-btn-830e3e.active { background: var(--accent); color: #fff; border-color: var(--accent); } 

/* 评论区修复 */
.comments-area-830e3e .comment-item { color: var(--text-sub); }
.comments-area-830e3e .comment-author { color: var(--text-main); }

/* 分页 */
.pagination-830e3e { margin: 50px 0; width: 100%; text-align: center; display: flex; justify-content: center; } 
.pagination-830e3e a, .pagination-830e3e span { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; background: var(--bg-surface); color: var(--text-sub); border: 1px solid var(--border); margin: 0 2px; border-radius: 4px; } 
.pagination-830e3e .current { background: var(--accent); border-color: var(--accent); color: #fff; } 

/* ==========================================================================
   ★ 页脚 & 手机适配
   ========================================================================== */
.site-footer-830e3e { margin-top: 40px; padding: 60px 0 30px; background: var(--bg-footer); border-top: 1px solid var(--border); font-size: 14px; color: var(--text-sub); } 
.footer-widgets-830e3e { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 40px; } 
.footer-logo-830e3e a { display: flex; align-items: center; font-size: 1.5rem; font-weight: 900; color: var(--text-main); margin-bottom: 15px; } 
.footer-title-830e3e { color: var(--text-main); font-size: 16px; margin-bottom: 15px; font-weight: bold; }
.tag-cloud-style-830e3e a { display: inline-block; padding: 4px 10px; background: rgba(255,255,255,0.05); margin: 0 5px 8px 0; border-radius: 4px; font-size: 12px; border: 1px solid var(--border); color: var(--text-sub); } 
.tag-cloud-style-830e3e a:hover { color: #fff; background: var(--accent); border-color: var(--accent); }
.footer-copyright-830e3e { text-align: center; padding-top: 30px; border-top: 1px solid var(--border); color: var(--text-sub); }

@media (max-width: 900px) {
    .desktop-nav-830e3e, .pc-search-830e3e { display: none !important; }
    .mobile-toggle-830e3e { display: block !important; margin-left: auto; color: var(--text-main); }
    body { padding-top: 60px; }
    #id-830e3e-header-default { height: 60px; }
    .sf-slider-section-830e3e { margin-top: 20px !important; margin-bottom: 25px !important; height: 190px !important; box-shadow: none !important; }
    .sf-slide-bg-830e3e { filter: none !important; opacity: 0.6 !important; transform: scale(1) !important; }
    .sf-slide-mask-830e3e { background: linear-gradient(to top, #000 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.4) 100%) !important; }
    .sf-slide-inner-830e3e { padding: 0 15px !important; justify-content: flex-end !important; align-items: flex-start !important; padding-bottom: 35px !important; }
    .sf-slide-left-830e3e { width: 100%; padding: 0 !important; text-shadow: 0 1px 2px rgba(0,0,0,1); }
    .sf-slide-title-830e3e { font-size: 18px !important; line-height: 1.3 !important; margin: 0 0 5px !important; color: #fff !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal !important; }
    .sf-slide-desc-830e3e, .sf-slide-meta-830e3e, .sf-slide-btn-830e3e, .sf-slide-tag-830e3e, .sf-slide-right-830e3e { display: none !important; }
    .sf-slider-dots-830e3e { left: 50% !important; transform: translateX(-50%) !important; bottom: 10px !important; }
    .container-830e3e { padding: 0 12px !important; }
    [class*="video-grid"], .archive-grid-830e3e, .related-grid-830e3e, .grid-4-830e3e, .grid-5-830e3e, .grid-6-830e3e, .sidebar-list-830e3e { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
    .video-title-830e3e { font-size: 13px !important; }
    .video-meta-830e3e { display: none !important; }
    .duration-830e3e, .note-830e3e { font-size: 10px !important; padding: 1px 4px !important; bottom: 3px !important; right: 3px !important; max-width: 85%; }
    #id-830e3e-mobile-drawer { display: block; position: fixed; top: 0; right: 0; bottom: 0; width: 280px; background: var(--bg-surface); z-index: 99999; transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); border-left: 1px solid var(--border); box-shadow: -10px 0 50px rgba(0,0,0,0.8); visibility: hidden; overflow-y: auto; padding-bottom: 50px; }
    #id-830e3e-mobile-drawer.active { transform: translateX(0); visibility: visible; }
    .drawer-header-830e3e { padding: 20px; text-align: right; border-bottom: 1px solid var(--border); color: var(--text-main); }
    .drawer-search-830e3e { padding: 20px; } 
    .drawer-search-830e3e input { width: 100%; background: var(--bg-body); border: 1px solid var(--border); color: var(--text-main); padding: 12px; border-radius: 4px; }
    .drawer-menu-830e3e ul { list-style: none; } 
    .drawer-menu-830e3e li { position: relative; border-bottom: 1px solid var(--border); } 
    .drawer-menu-830e3e li a { display: block; padding: 15px 20px; color: var(--text-main); font-size: 15px; font-weight: 500; }
    .drawer-menu-830e3e ul ul { display: none; background: rgba(0,0,0,0.3); border-top: 1px solid var(--border); } 
    .drawer-menu-830e3e ul ul li a { padding-left: 35px; color: var(--text-sub); font-size: 14px; }
    .mobile-arrow-830e3e { position: absolute; top: 0; right: 0; width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; color: var(--text-sub); cursor: pointer; transition: 0.3s; background: rgba(255,255,255,0.05); } 
    .mobile-arrow-830e3e.open { transform: rotate(180deg); color: var(--accent); }
    .footer-widgets-830e3e { grid-template-columns: 1fr; text-align: center; gap: 30px; } 
    .watch-layout-830e3e { grid-template-columns: 1fr !important; display: flex !important; flex-direction: column !important; } 
    .sf-vod-info-box-830e3e { flex-direction: column; } 
    .sf-info-poster-830e3e { width: 120px; margin: 0 auto; } 
    .sf-info-data-830e3e li { width: 100%; }
}
/* =================================================================
   SF H1 SEO 区域样式库 (三合一)
   ================================================================= */

/* --- 公共基础 --- */
.sf-seo-wrapper { margin-bottom: 20px; }
.sf-seo-wrapper h1 { margin: 0; color: var(--text-main); }
.sf-seo-wrapper .content-area { color: var(--text-sub); font-size: 13px; line-height: 1.6; }

/* -----------------------------------------------------------------
   方案 A: 折叠公告模式 (.style-fold)
   ----------------------------------------------------------------- */
.style-fold {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    position: relative;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.style-fold .header-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 20px;
}
.style-fold h1 {
    font-size: 15px; font-weight: bold; color: var(--accent);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    display: flex; align-items: center; gap: 8px;
}
.style-fold h1::before { content: '📢'; font-size: 14px; }
.style-fold .toggle-icon { font-size: 12px; color: var(--text-sub); transition: transform 0.3s; opacity: 0.7; }
.style-fold .content-area {
    max-height: 0; opacity: 0; padding: 0 20px; overflow: hidden;
    transition: all 0.3s ease;
}
/* 激活态 */
.style-fold.active .toggle-icon { transform: rotate(180deg); }
.style-fold.active .content-area { max-height: 300px; padding-bottom: 15px; opacity: 1; }

/* -----------------------------------------------------------------
   方案 B: 磨砂玻璃模式 (.style-glass)
   ----------------------------------------------------------------- */
.style-glass {
    background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-header) 100%);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
}
.style-glass::after {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 60%);
    pointer-events: none;
}
.style-glass h1 {
    font-size: 18px; font-weight: 800; margin-bottom: 10px;
    background: linear-gradient(to right, var(--text-main), var(--text-sub));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.style-glass .content-area { max-width: 700px; margin: 0 auto; opacity: 0.8; }

/* -----------------------------------------------------------------
   方案 C: 简约方框模式 (.style-box)
   ----------------------------------------------------------------- */
.style-box {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 20px;
    text-align: center;
}
.style-box h1 { font-size: 16px; font-weight: bold; margin-bottom: 8px; }
.style-box .content-area { max-width: 800px; margin: 0 auto; opacity: 0.9; }

/* --- 手机端通用微调 --- */
@media (max-width: 768px) {
    .style-fold { margin-bottom: 10px; }
    .style-fold h1 { font-size: 13px; }
    .style-glass, .style-box { padding: 15px; text-align: left; }
    .style-glass h1, .style-box h1 { font-size: 15px; }
    .style-glass .content-area, .style-box .content-area {
        font-size: 12px; 
        display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    }
}
/* ==========================================================================
   📱 5. 手机端布局专用库 (V907.0 Mobile Layouts)
   注意：配合后台 "手机端布局" 选项使用，无需修改 functions.php 也能生效
   ========================================================================== */
@media (max-width: 900px) {
    
    /* 1. 标准双列 (m-grid-2) */
    .m-grid-2-830e3e { 
        display: grid !important; 
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: 10px !important; 
    }

    /* 2. 密集三列 (m-grid-3) */
    .m-grid-3-830e3e { 
        display: grid !important; 
        grid-template-columns: repeat(3, 1fr) !important; 
        gap: 5px !important; 
    }
    .m-grid-3-830e3e .video-title-830e3e { font-size: 11px !important; } /* 字体改小 */
    .m-grid-3-830e3e .video-meta-830e3e { display: none !important; } /* 隐藏评分 */

    /* 3. 大图单列 (m-list) */
    .m-list-830e3e { 
        display: grid !important; 
        grid-template-columns: 1fr !important; 
        gap: 15px !important; 
    }
    .m-list-830e3e .video-thumb-830e3e { aspect-ratio: 16/9 !important; } /* 宽屏大图 */

    /* 4. 左图右文 (m-list-row) */
    .m-list-row-830e3e { 
        display: grid !important; 
        grid-template-columns: 1fr !important; 
        gap: 12px !important; 
    }
    .m-list-row-830e3e .video-card-830e3e { 
        flex-direction: row !important; 
        align-items: center !important; 
        border-bottom: 1px solid var(--border);
        padding-bottom: 10px;
    }
    .m-list-row-830e3e .video-thumb-830e3e { 
        width: 120px !important; 
        height: 75px !important; 
        flex-shrink: 0 !important; 
        margin-right: 12px !important; 
        aspect-ratio: auto !important;
    }
    .m-list-row-830e3e .video-title-830e3e { 
        margin-bottom: 5px !important; 
        font-size: 15px !important; 
        white-space: normal !important; /* 允许换行 */
        display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    }
    .m-list-row-830e3e .video-excerpt { display: none !important; }

    /* 5. 纯文列表 (m-text-list) */
    .m-text-list-830e3e { 
        display: grid !important; 
        grid-template-columns: 1fr !important; 
        gap: 8px !important; 
    }
    .m-text-list-830e3e .video-thumb-830e3e { display: none !important; } /* 隐藏图片 */
    .m-text-list-830e3e .video-card-830e3e { 
        flex-direction: row !important; 
        justify-content: space-between !important;
        align-items: center !important;
        border-bottom: 1px dashed var(--border);
        padding-bottom: 8px;
    }
    .m-text-list-830e3e .video-title-830e3e { font-size: 14px !important; margin: 0 !important; }
    .m-text-list-830e3e .video-meta-830e3e { font-size: 12px !important; }

    /* 6. 横向滑动 (m-scroll) */
    .m-scroll-830e3e { 
        display: flex !important; 
        overflow-x: auto !important; 
        padding-bottom: 10px !important; 
        scroll-snap-type: x mandatory; 
        gap: 10px !important;
    }
    .m-scroll-830e3e .video-card-830e3e { 
        min-width: 140px !important; 
        scroll-snap-align: start; 
        flex-shrink: 0; 
    }
    .m-scroll-830e3e::-webkit-scrollbar { display: none; } /* 隐藏滚动条 */
}
:root { --accent: #E50914 !important; --bg-body: #282828 !important; --bg-header: #ffffff !important; --bg-header-rgb: 255, 255, 255 !important; --bg-surface: #141414 !important; --bg-footer: #ffffff !important; --text-main: #000000 !important; --text-sub: #000000 !important; --border: #333333 !important; --radius: 7px !important; --gap: 23px !important; }
html, body { width: 100% !important; max-width: 100% !important; overflow-x: hidden !important; margin: 0 !important; padding: 0 !important; position: relative !important; }
body { padding-top: 80px !important; }
.sf-player-aspect-ratio-830e3e { position: relative !important; width: 100% !important; height: 0 !important; padding-bottom: 56.25% !important; background: #000 !important; overflow: hidden !important; border-radius: 4px; }
.sf-player-aspect-ratio-830e3e iframe { position: absolute !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; border: none !important; }
.container-830e3e { max-width: 1450px; width: 100%; padding: 0 20px; margin: 0 auto; box-sizing: border-box !important; }
.video-grid-830e3e { gap: var(--gap); }
.logo-area-830e3e { margin: 0 40px 0 0 !important; padding: 0 !important; flex-shrink: 0; }
.desktop-nav-830e3e, .site-header-830e3e { overflow: visible !important; }
.sf-menu-830e3e > li { position: relative; z-index: 100; }
.sf-menu-830e3e .sub-menu { z-index: 1000 !important; }
.site-header-830e3e { position: fixed !important; top: 0 !important; left: 0 !important; width: 100% !important; z-index: 99999 !important; transition: all 0.3s ease !important; }
.sf-breadcrumb-830e3e { display: block !important; position: relative !important; z-index: 50 !important; margin-bottom: 20px !important; font-size: 13px !important; color: var(--text-sub) !important; padding: 10px 0 !important; line-height: 1.5 !important; }
.sf-breadcrumb-830e3e a { color: var(--text-sub) !important; margin: 0 5px !important; display: inline-block !important; }
.sf-breadcrumb-830e3e a:hover { color: var(--accent) !important; text-decoration: underline !important; }
@media (min-width: 901px) {  .header-style-default-830e3e { border-bottom: 1px solid var(--border) !important; background: var(--bg-header) !important; }  .header-style-default-830e3e .container-830e3e { display: flex !important; justify-content: flex-start !important; align-items: center !important; }  .header-style-default-830e3e .header-right-830e3e { margin-left: auto !important; }  .header-style-center-830e3e { border-bottom: 1px solid var(--border) !important; background: var(--bg-header) !important; }  .header-style-center-830e3e .container-830e3e { position: relative !important; display: flex !important; justify-content: space-between !important; }  .header-style-center-830e3e .logo-area-830e3e { position: absolute !important; left: 50% !important; top: 50% !important; transform: translate(-50%, -50%) !important; margin: 0 !important; }  .header-style-center-830e3e .desktop-nav-830e3e { margin-right: auto !important; }  .header-style-glass-830e3e { background: rgba(var(--bg-header-rgb), 0.75) !important; backdrop-filter: blur(20px) !important; border-bottom: 1px solid rgba(255,255,255,0.05) !important; }  .header-style-glass-830e3e .container-830e3e { display: flex !important; justify-content: flex-start !important; align-items: center !important; }  .header-style-glass-830e3e .header-right-830e3e { margin-left: auto !important; }  .header-style-float-830e3e { top: 0 !important; left: 0 !important; width: 100% !important; margin: 0 !important; border-radius: 0 0 25px 25px !important; border-bottom: 1px solid rgba(255,255,255,0.1) !important; box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important; background: rgba(var(--bg-header-rgb), 0.95) !important; backdrop-filter: blur(15px); }  .header-style-float-830e3e .container-830e3e { padding: 0 40px !important; display: flex !important; justify-content: flex-start !important; align-items: center !important; height: 100%; }  .header-style-float-830e3e .header-right-830e3e { margin-left: auto !important; }  body.admin-bar .site-header-830e3e { top: 32px !important; }  .single-layout-classic-830e3e .watch-layout-830e3e { display: grid !important; grid-template-columns: 1fr 340px !important; gap: 40px !important; }  .single-layout-classic-830e3e .sf-vod-info-box-830e3e { display: flex !important; background: var(--bg-surface) !important; border: 1px solid var(--border) !important; padding: 20px !important; border-radius: 8px !important; }  .single-layout-theater-830e3e .player-full-width-830e3e { width: 100vw !important; max-width: 100vw !important; background: #000 !important; margin-left: calc(-50vw + 50%) !important; margin-right: calc(-50vw + 50%) !important; margin-bottom: 40px !important; padding: 40px 0 !important; display: flex !important; justify-content: center !important; align-items: center !important; }  .single-layout-theater-830e3e .player-wrapper-830e3e { width: 100% !important; max-width: 1200px !important; margin: 0 auto !important; box-shadow: 0 0 50px rgba(0,0,0,0.5) !important; }  .single-layout-theater-830e3e .watch-layout-830e3e { display: grid !important; grid-template-columns: 1fr 340px !important; gap: 40px !important; }  .single-layout-theater-830e3e .sf-vod-info-box-830e3e { display: flex !important; background: linear-gradient(145deg, rgba(30,30,30,0.9), rgba(20,20,20,0.95)) !important; border: none !important; border-left: 5px solid var(--accent) !important; padding: 30px !important; box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important; }  .single-layout-theater-830e3e .sf-info-poster-830e3e { width: 130px !important; transform: translateY(-40px) !important; box-shadow: 0 10px 20px rgba(0,0,0,0.7) !important; border: 2px solid #fff !important; }  .single-layout-theater-830e3e .sf-info-data-830e3e ul { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 12px !important; }  .single-layout-focus-830e3e .watch-layout-830e3e { display: block !important; max-width: 900px !important; margin: 0 auto !important; }  .single-layout-focus-830e3e .right-col-830e3e { display: none !important; }  .single-layout-focus-830e3e .player-wrapper-830e3e { margin-bottom: 40px !important; border-radius: 12px !important; box-shadow: 0 20px 60px rgba(0,0,0,0.5) !important; }  .single-layout-focus-830e3e .sf-vod-info-box-830e3e { display: flex !important; flex-direction: column !important; align-items: center !important; text-align: center !important; background: transparent !important; border: none !important; padding: 0 !important; }  .single-layout-focus-830e3e .sf-info-poster-830e3e { width: 180px !important; margin-bottom: 20px !important; box-shadow: 0 10px 30px rgba(0,0,0,0.4) !important; border-radius: 8px !important; }  .single-layout-focus-830e3e .sf-info-data-830e3e ul { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; gap: 10px !important; }  .single-layout-focus-830e3e .sf-info-data-830e3e li { width: auto !important; background: rgba(255,255,255,0.05) !important; padding: 6px 16px !important; border-radius: 50px !important; border: 1px solid rgba(255,255,255,0.1) !important; }  .single-layout-focus-830e3e .video-header-830e3e { text-align: center !important; }  .single-layout-focus-830e3e .video-meta-row-830e3e { justify-content: center !important; }}
@media (max-width: 900px) {  body { padding-top: 70px !important; }  .site-header-830e3e .container-830e3e { padding: 0 15px !important; display: flex !important; align-items: center !important; justify-content: space-between !important; overflow: visible !important; height: 60px !important; }  .logo-area-830e3e { margin-right: auto !important; margin-left: 0 !important; flex: 1 !important; }  .desktop-nav-830e3e, .pc-search-830e3e { display: none !important; }  .mobile-toggle-830e3e { display: flex !important; align-items: center !important; justify-content: center !important; width: 40px !important; height: 40px !important; margin-left: 10px !important; cursor: pointer !important; z-index: 999999 !important; position: relative !important; }  .mobile-toggle-830e3e svg { width: 28px !important; height: 28px !important; fill: var(--text-main) !important; color: var(--text-main) !important; }  .header-style-default-830e3e, .header-style-center-830e3e { top: 0 !important; width: 100% !important; margin: 0 !important; border-radius: 0 !important; border-bottom: 1px solid var(--border) !important; background: var(--bg-header) !important; }  .header-style-glass-830e3e { top: 0 !important; width: 100% !important; margin: 0 !important; border-radius: 0 !important; background: rgba(var(--bg-header-rgb), 0.85) !important; backdrop-filter: blur(15px) !important; border-bottom: 1px solid rgba(255,255,255,0.05) !important; }  .header-style-float-830e3e { top: 0 !important; width: 100% !important; left: 0 !important; margin: 0 !important; border-radius: 0 0 20px 20px !important; background: rgba(var(--bg-header-rgb), 0.95) !important; border-bottom: 1px solid rgba(255,255,255,0.1) !important; box-shadow: 0 5px 20px rgba(0,0,0,0.4) !important; }  body.admin-bar .site-header-830e3e { top: 46px !important; }  .footer-widgets-830e3e { display: flex !important; flex-direction: column !important; gap: 30px !important; text-align: center !important; }  .footer-style-modern-830e3e .footer-widgets-830e3e { display: block !important; border: 1px solid var(--border) !important; border-radius: 12px !important; background: rgba(0,0,0,0.2) !important; overflow: hidden !important; }  .footer-style-modern-830e3e .footer-col-1-830e3e { padding: 30px 20px !important; border-bottom: 1px solid var(--border) !important; text-align: center !important; border-right: none !important; }  .footer-style-modern-830e3e .footer-col-2-830e3e { padding: 30px 20px !important; border-bottom: 1px solid var(--border) !important; margin: 0 !important; text-align: center !important; border-right: none !important; }  .footer-style-modern-830e3e .footer-col-3-830e3e { padding: 30px 20px !important; margin: 0 !important; text-align: center !important; }  .footer-logo-830e3e a { justify-content: center !important; }  .footer-style-glass-830e3e { margin: 15px !important; padding: 30px 20px !important; border-radius: 15px !important; background: rgba(30,30,30,0.7) !important; backdrop-filter: blur(15px) !important; border: 1px solid rgba(255,255,255,0.05) !important; }  .watch-layout-830e3e { flex-direction: column !important; display: flex !important; }  .right-col-830e3e { width: 100% !important; margin-top: 30px !important; order: 10 !important; }  .player-wrapper-830e3e, .sf-player-aspect-ratio-830e3e { width: calc(100% + 30px) !important; margin-left: -15px !important; border-radius: 0 !important; aspect-ratio: 16/9 !important; padding-bottom: 56.25% !important; height: 0 !important; }  .player-full-width-830e3e { width: 100% !important; height: auto !important; margin: 0 !important; background: transparent !important; box-shadow: none !important; }  .sf-vod-info-box-830e3e { flex-direction: column !important; align-items: flex-start !important; }  .sf-info-poster-830e3e { width: 100px !important; margin-bottom: 15px !important; }  .sf-info-data-830e3e ul { display: flex !important; flex-direction: column !important; gap: 5px !important; }  .sf-info-data-830e3e li { width: 100% !important; background: none !important; padding: 0 !important; border: none !important; }  .single-layout-focus-830e3e .sf-vod-info-box-830e3e { align-items: center !important; }  .single-layout-focus-830e3e .sf-info-data-830e3e ul { flex-direction: row !important; flex-wrap: wrap !important; justify-content: center !important; }  .single-layout-focus-830e3e .right-col-830e3e { display: none !important; }  .m-list-row-830e3e { display: grid !important; grid-template-columns: 1fr !important; gap: 15px !important; }  .m-list-row-830e3e .video-card-830e3e { flex-direction: row !important; align-items: flex-start !important; text-align: left !important; }  .m-list-row-830e3e .video-thumb-830e3e { width: 100px !important; aspect-ratio: 2/3 !important; flex-shrink: 0; margin-right: 15px; border-radius: 4px; }  .m-list-row-830e3e .video-content-830e3e { flex: 1; padding-top: 0 !important; display: flex; flex-direction: column; justify-content: center; }  .m-list-row-830e3e .video-title-830e3e { font-size: 15px !important; font-weight: 600; margin-bottom: 6px !important; text-align: left !important; white-space: normal !important; line-height: 1.4; max-height: 2.8em; overflow: hidden; }  .m-list-row-830e3e .video-excerpt-830e3e { display: none !important; }  .m-list-row-830e3e .video-meta-830e3e { font-size: 12px; opacity: 0.6; margin-top: 5px; }  .m-text-list-830e3e { display: flex !important; flex-direction: column !important; gap: 0 !important; background: transparent !important; }  .m-text-list-830e3e .video-card-830e3e { flex-direction: row !important; justify-content: space-between !important; align-items: center !important; width: 100% !important; padding: 12px 5px !important; margin: 0 !important; border-bottom: 1px solid rgba(255,255,255,0.08) !important; background: transparent !important; box-shadow: none !important; border-radius: 0 !important; }  .m-text-list-830e3e .video-thumb-830e3e, .m-text-list-830e3e .video-excerpt-830e3e, .m-text-list-830e3e .rank-badge-830e3e { display: none !important; }  .m-text-list-830e3e .video-content-830e3e { width: 100% !important; padding: 0 !important; display: flex !important; justify-content: space-between !important; align-items: center !important; }  .m-text-list-830e3e .video-title-830e3e { margin: 0 !important; font-size: 15px !important; font-weight: normal !important; text-align: left !important; flex: 1 !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; padding-right: 15px !important; }  .m-text-list-830e3e .video-meta-830e3e { display: block !important; flex-shrink: 0 !important; font-size: 12px !important; color: #666 !important; margin: 0 !important; width: auto !important; }  .m-text-list-830e3e .rating-830e3e { color: #888 !important; font-weight: normal !important; }  .m-grid-2-830e3e { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }  .m-grid-2-830e3e .video-title-830e3e { font-size: 13px !important; text-align: center !important; }  .m-list-830e3e { display: grid !important; grid-template-columns: 1fr !important; gap: 20px !important; }  .m-list-830e3e .video-thumb-830e3e { aspect-ratio: 16/9 !important; }  .m-scroll-830e3e { display: flex !important; overflow-x: auto !important; flex-wrap: nowrap !important; padding: 0 5px 20px 5px !important; gap: 12px !important; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }  .m-scroll-830e3e .video-card-830e3e { flex: 0 0 130px !important; width: 130px !important; min-width: 130px !important; max-width: 130px !important; scroll-snap-align: start; margin-bottom: 0 !important; }  .m-scroll-830e3e .video-thumb-830e3e { width: 100% !important; aspect-ratio: 2/3 !important; height: auto !important; }  .m-scroll-830e3e .video-title-830e3e { font-size: 13px !important; text-align: center !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; margin-top: 8px !important; }  .m-scroll-830e3e .video-excerpt-830e3e, .m-scroll-830e3e .video-meta-830e3e { display: none !important; }  .m-scroll-830e3e::-webkit-scrollbar { display: none; }}
@media (min-width: 901px) {  .list-row-830e3e { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 20px !important; }  .list-row-830e3e .video-card-830e3e { flex-direction: row !important; background: var(--bg-surface); border: 1px solid var(--border); padding: 15px; border-radius: 8px; align-items: flex-start !important; text-align: left !important; transition: transform 0.3s; }  .list-row-830e3e .video-card-830e3e:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 5px 15px rgba(0,0,0,0.3); }  .list-row-830e3e .video-thumb-830e3e { width: 110px !important; aspect-ratio: 2/3 !important; flex-shrink: 0; margin-right: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.5); }  .list-row-830e3e .video-content-830e3e { padding-top: 0 !important; flex: 1; }  .list-row-830e3e .video-title-830e3e { font-size: 16px !important; font-weight: bold; margin-bottom: 8px !important; text-align: left !important; }  .list-row-830e3e .video-meta-830e3e { margin-top: 10px; border-top: 1px dashed var(--border); padding-top: 8px; }  .text-list-830e3e { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 10px 40px !important; }  .text-list-830e3e .video-card-830e3e { flex-direction: row !important; align-items: center !important; border-bottom: 1px dashed var(--border); padding: 8px 0; background: none !important; box-shadow: none !important; }  .text-list-830e3e .video-thumb-830e3e, .text-list-830e3e .video-excerpt-830e3e { display: none !important; }  .text-list-830e3e .video-content-830e3e { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 0 !important; }  .text-list-830e3e .video-title-830e3e { font-size: 14px !important; margin: 0 !important; text-align: left !important; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }  .text-list-830e3e .video-title-830e3e::before { content: '•'; margin-right: 8px; color: var(--accent); font-weight: bold; }  .text-list-830e3e .video-meta-830e3e { font-size: 12px; color: var(--text-sub); margin-left: 10px; flex-shrink: 0; }}