/* ==================== 模板C 电竞霓虹 · 全局变量 ==================== */
:root {
    --bg-body: #0b0e14;
    --bg-header: #11151f;
    --bg-card: #141926;
    --bg-hover: #1a2138;
    --neon-cyan: #00e5ff;
    --neon-green: #39ff88;
    --neon-pink: #ff2d75;
    --neon-purple: #a855f7;
    --gradient-main: linear-gradient(135deg, #00e5ff 0%, #a855f7 100%);
    --gradient-hot: linear-gradient(135deg, #ff2d75 0%, #a855f7 100%);
    --gradient-live: linear-gradient(90deg, #39ff88, #00e5ff);
    --text-main: #dce3f1;
    --text-muted: #7a86a3;
    --border-color: #232b40;
    --glow-cyan: 0 0 14px rgba(0, 229, 255, 0.45);
    --glow-pink: 0 0 14px rgba(255, 45, 117, 0.45);
    --glow-green: 0 0 12px rgba(57, 255, 136, 0.4);
    --radius-md: 10px;
    --radius-sm: 6px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body, html {
    width: 100%;
    overflow-x: hidden;
    background-color: var(--bg-body);
    background-image:
        radial-gradient(circle at 12% 0%, rgba(168, 85, 247, 0.10), transparent 42%),
        radial-gradient(circle at 88% 6%, rgba(0, 229, 255, 0.10), transparent 42%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: "Rajdhani", "Orbitron", "PingFang SC", "Segoe UI", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: color 0.2s, text-shadow 0.2s; }
a:hover { color: var(--neon-cyan); text-shadow: var(--glow-cyan); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }

.container { max-width: 1400px; margin: 0 auto; padding: 0 15px; width: 100%; }

/* ==================== 顶部导航 ==================== */
.header { background-color: rgba(17, 21, 31, 0.92); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--border-color); }
.header-inner { display: flex; align-items: center; height: 60px; min-width: 0; }
.logo {
    font-size: 22px; font-weight: 900; margin-right: 30px; flex-shrink: 0;
    background: var(--gradient-main); -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; letter-spacing: 1px; text-transform: uppercase;
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.4));
}

.nav-menu { display: flex; gap: 4px; white-space: nowrap; width: 100%; align-items: center; }
.nav-item { position: relative; height: 60px; }
.nav-menu .nav-item>a { display: flex; align-items: center; font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; padding: 0 14px; height: 60px; color: var(--text-main); border-bottom: 2px solid transparent; }
.nav-menu .nav-item>a.active, .nav-menu .nav-item:hover>a { color: var(--neon-cyan); border-bottom-color: var(--neon-cyan); text-shadow: var(--glow-cyan); }

.arrow { display: inline-block; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid var(--text-muted); margin-left: 6px; transition: transform 0.3s; }
.has-dropdown:hover .arrow { transform: rotate(180deg); border-top-color: var(--neon-cyan); }

.dropdown-menu { position: absolute; top: 60px; left: 50%; transform: translateX(-50%) translateY(10px); background: #141926; border-radius: 0 0 8px 8px; box-shadow: var(--glow-cyan); min-width: 100px; padding: 5px 0; opacity: 0; visibility: hidden; transition: all 0.2s ease; z-index: 200; border: 1px solid var(--neon-cyan); border-top: none; }
.has-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu a { display: block; height: 38px; line-height: 38px; padding: 0 20px; font-size: 14px; text-align: center; color: var(--text-main); }
.dropdown-menu a:hover { background: var(--bg-hover); color: var(--neon-cyan); text-shadow: var(--glow-cyan); }

/* ==================== 布局与通用组件 ==================== */
.breadcrumb { display: flex; align-items: center; font-size: 13px; color: var(--text-muted); padding: 15px 0; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--neon-cyan); }
.breadcrumb span.sep { margin: 0 8px; color: #3a445f; }
.breadcrumb span.current { color: var(--text-main); font-weight: 600; }

.main-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 25px; margin-top: 5px; }
main, aside { min-width: 0; }

.section-title {
    display: flex; align-items: center; font-size: 18px; font-weight: 800; text-transform: uppercase;
    letter-spacing: 1px; margin-bottom: 15px; position: relative; padding-left: 16px; color: var(--text-main);
}
.section-title::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 5px; height: 18px; background: var(--gradient-main); border-radius: 2px; box-shadow: var(--glow-cyan); }

.card-panel { background: var(--bg-card); border-radius: var(--radius-md); padding: 20px; margin-bottom: 25px; border: 1px solid var(--border-color); min-width: 0; box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.04); }

/* ==================== 首页：焦点轮播 ==================== */
.top-section { margin-top: 25px; }
.news-swiper { width: 100%; max-width: 100%; height: 380px; border-radius: var(--radius-md); margin-bottom: 15px; overflow: hidden; position: relative; background: #000; border: 1px solid var(--neon-cyan); box-shadow: var(--glow-cyan); }
.news-swiper .swiper-slide { position: relative; width: 100%; height: 100%; }
.news-swiper .swiper-slide img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.news-swiper .slide-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 14, 20, 0.95) 0%, transparent 55%); display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; pointer-events: none; }
.news-swiper .slide-title { font-size: 26px; font-weight: 800; color: #fff; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-shadow: var(--glow-pink); white-space: normal; word-wrap: break-word; }
.news-swiper .slide-meta { font-size: 14px; color: var(--neon-cyan); }
.news-swiper .swiper-pagination { text-align: right; padding-right: 30px; bottom: 20px; }
.news-swiper .swiper-pagination-bullet { background: rgba(255, 255, 255, 0.4); opacity: 1; transition: all 0.3s; }
.news-swiper .swiper-pagination-bullet-active { background: var(--neon-cyan); width: 24px; border-radius: 4px; box-shadow: var(--glow-cyan); }

.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 30px; min-width: 0; }
.news-card-h { display: flex; gap: 15px; background: var(--bg-card); padding: 15px; border-radius: var(--radius-md); transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s; min-width: 0; border: 1px solid var(--border-color); }
.news-card-h:hover { border-color: var(--neon-cyan); box-shadow: var(--glow-cyan); transform: translateY(-2px); }
.news-card-h img { width: 140px; height: 85px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; background: #1a2138; }

.news-card-h-info { display: flex; flex-direction: column; justify-content: space-between; padding: 2px 0; min-width: 0; flex: 1; }
.news-card-h-title { font-size: 15px; color: var(--text-main); font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; white-space: normal; }
.news-card-h-summary { font-size: 13px; color: var(--text-muted); margin-top: 6px; margin-bottom: 6px; line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.news-card-h-meta { font-size: 13px; color: var(--text-muted); }

/* ==================== 列表页：分类标签 ==================== */
.tab-group { width: 100%; min-width: 0; }
.category-tabs { display: flex; gap: 10px; border-bottom: 1px solid var(--border-color); margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.category-tabs::-webkit-scrollbar { display: none; }
.category-tab { padding: 10px 15px; font-size: 16px; cursor: pointer; color: var(--text-muted); white-space: nowrap; border-bottom: 2px solid transparent; flex-shrink: 0; text-transform: uppercase; }
.category-tab.active, .category-tab:hover { color: var(--neon-cyan); border-bottom-color: var(--neon-cyan); font-weight: 800; text-shadow: var(--glow-cyan); }

.news-list { display: flex; flex-direction: column; gap: 20px; }
.news-item-v { display: flex; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border-color); transition: background 0.3s; }
.news-item-v:last-child { border-bottom: none; padding-bottom: 0; }
.news-item-v:hover .news-item-v-title { color: var(--neon-cyan); text-shadow: var(--glow-cyan); }
.news-item-v:hover .news-item-v-img img { transform: scale(1.05); }

.news-item-v-img { width: 220px; height: 140px; flex-shrink: 0; border-radius: var(--radius-sm); overflow: hidden; position: relative; background: #1a2138; }
.news-item-v-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.news-item-v-tag { position: absolute; top: 8px; left: 8px; background: var(--gradient-hot); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 4px; z-index: 2; box-shadow: var(--glow-pink); }

.news-item-v-content { display: flex; flex-direction: column; justify-content: space-between; flex: 1; min-width: 0; padding: 2px 0; }
.news-item-v-title { font-size: 20px; font-weight: 800; color: var(--text-main); line-height: 1.4; text-transform: uppercase; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color 0.2s; }
.news-item-v-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 10px; }
.news-item-v-meta { display: flex; justify-content: space-between; align-items: center; color: var(--text-muted); font-size: 13px; margin-top: 15px; }
.news-item-v-meta-left span { margin-right: 15px; }
.news-item-v-meta-left span i { margin-right: 4px; font-style: normal; color: var(--text-muted); }

/* ==================== 分页 ==================== */
.pagination-container { display: flex; justify-content: center; align-items: center; margin: 30px 0 15px 0; width: 100%; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; padding-left: 0; margin: 0; list-style: none !important; }
.pagination .page-item { list-style: none !important; margin: 0; padding: 0; }
.pagination .page-link {
    display: flex; align-items: center; justify-content: center;
    min-width: 36px; height: 36px; padding: 0 14px;
    font-size: 14px; font-weight: 600;
    color: var(--text-main); background-color: var(--bg-card);
    border: 1px solid var(--border-color); border-radius: 6px;
    text-decoration: none; transition: all 0.2s ease-in-out;
}
.pagination .page-link:hover { color: var(--neon-cyan); background: var(--bg-hover); border-color: var(--neon-cyan); box-shadow: var(--glow-cyan); }
.pagination .page-item.active .page-link {
    color: #0b0e14 !important; background: var(--gradient-main) !important;
    border-color: var(--neon-cyan) !important; font-weight: 800; box-shadow: var(--glow-cyan); cursor: default;
}
.pagination .page-item.disabled .page-link { color: #3a445f !important; background-color: var(--bg-card) !important; border-color: var(--border-color) !important; cursor: not-allowed; opacity: 0.6; }
@media (max-width: 576px) {
    .pagination .page-link { min-width: 32px; height: 32px; padding: 0 10px; font-size: 13px; }
}

/* ==================== 首页：比赛列表 ==================== */
.tabs { display: flex; gap: 10px; border-bottom: 1px solid var(--border-color); margin-bottom: 15px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tabs::-webkit-scrollbar { display: none; }
.tab-item { padding: 8px 15px; cursor: pointer; color: var(--text-muted); white-space: nowrap; border-bottom: 2px solid transparent; flex-shrink: 0; font-size: 15px; text-transform: uppercase; }
.tab-item.active { color: var(--neon-cyan); border-bottom-color: var(--neon-cyan); font-weight: 800; text-shadow: var(--glow-cyan); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.match-list { display: flex; flex-direction: column; min-width: 0; }
.match-row { display: grid; grid-template-columns: 60px 80px 80px 1fr 60px 1fr 100px; align-items: center; padding: 14px 10px; border-bottom: 1px solid var(--border-color); transition: background 0.2s; min-width: 0; }
.match-row:hover { background: var(--bg-hover); }
.match-row:last-child { border-bottom: none; }
.m-status { padding: 4px 0; text-align: center; border-radius: var(--radius-sm); font-size: 12px; color: #fff; background: #2c3550; text-transform: uppercase; }
.m-status.live { background: var(--gradient-live); color: #0b0e14; font-weight: 800; animation: pulse 2s infinite; }
.m-time, .m-league { color: var(--text-muted); font-size: 13px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-team { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; overflow: hidden; min-width: 0; color: var(--text-main); }
.m-team.home { justify-content: flex-end; }
.m-team.away { justify-content: flex-start; }
.m-team img { width: 24px; height: 24px; background: #fff; border-radius: 50%; padding: 2px; flex-shrink: 0; }
.m-team span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-score { text-align: center; font-size: 16px; font-weight: 800; color: var(--neon-cyan); background: #1a2138; border-radius: 6px; padding: 4px 0; }
.m-action { text-align: right; }
.btn-live { display: inline-block; padding: 6px 15px; background: var(--gradient-hot); color: #fff; font-size: 12px; font-weight: 800; text-transform: uppercase; border-radius: 4px; box-shadow: var(--glow-pink); transition: transform 0.2s; white-space: nowrap; }
.btn-live:hover { transform: translateY(-2px); color: #fff; }

/* ==================== 右侧边栏 ==================== */
.side-widget { background: var(--bg-card); border-radius: var(--radius-md); padding: 20px; margin-bottom: 25px; border: 1px solid var(--border-color); min-width: 0; }
.side-list li { border-bottom: 1px dashed var(--border-color); }
.side-list li:last-child { border-bottom: none; }
.side-list a { display: block; padding: 10px 0; font-size: 13px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-list a:hover { color: var(--neon-cyan); padding-left: 5px; text-shadow: var(--glow-cyan); }

/* 排行榜 */
.rank-list { display: flex; flex-direction: column; gap: 12px; }
.rank-item { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.rank-num { flex-shrink: 0; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; background: #2c3550; color: var(--text-muted); font-size: 13px; font-weight: 800; border-radius: 4px; }
.rank-item:nth-child(1) .rank-num { background: var(--neon-pink); color: #0b0e14; box-shadow: var(--glow-pink); }
.rank-item:nth-child(2) .rank-num { background: var(--neon-purple); color: #fff; box-shadow: 0 0 10px rgba(168, 85, 247, 0.5); }
.rank-item:nth-child(3) .rank-num { background: var(--neon-cyan); color: #0b0e14; box-shadow: var(--glow-cyan); }
.rank-info { flex: 1; min-width: 0; }
.rank-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; color: var(--text-main); line-height: 1.5; transition: color 0.2s; }
.rank-item:hover .rank-title { color: var(--neon-cyan); text-shadow: var(--glow-cyan); }

/* 视频网格 */
.side-video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.video-card { display: flex; flex-direction: column; gap: 5px; min-width: 0; position: relative; }
.video-card-img { position: relative; width: 100%; height: 80px; border-radius: var(--radius-sm); overflow: hidden; background: #1a2138; }
.video-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.video-card:hover .video-card-img img { transform: scale(1.05); }
.video-play-icon { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 28px; height: 28px; background: rgba(0, 0, 0, 0.5); border-radius: 50%; border: 1.5px solid #fff; display: flex; align-items: center; justify-content: center; }
.video-play-icon::after { content: ''; border-left: 8px solid #fff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; margin-left: 3px; }
.video-card span { font-size: 12px; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; white-space: normal; }
.video-card:hover span { color: var(--neon-cyan); }

/* 标签云 */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-cloud a { background: #1a2138; padding: 5px 12px; border-radius: 4px; font-size: 12px; color: var(--text-main); border: 1px solid var(--border-color); white-space: nowrap; }
.tag-cloud a:hover { background: var(--bg-hover); color: var(--neon-cyan); border-color: var(--neon-cyan); box-shadow: var(--glow-cyan); }

/* ==================== 底部横向版块 ==================== */
.bottom-section { margin-top: 5px; }
.bottom-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 15px; margin-bottom: 25px; min-width: 0; }
.data-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 10px; text-align: center; transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; min-width: 0; }
.data-card:hover { transform: translateY(-3px); border-color: var(--neon-cyan); box-shadow: var(--glow-cyan); }
.data-card img { width: 100%; height: 110px; object-fit: cover; margin-bottom: 10px; border-radius: var(--radius-sm); background: #1a2138; }
.data-card span { font-size: 13px; color: var(--text-main); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.avatar-row { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
.avatar-row::-webkit-scrollbar { display: none; }
.avatar-item { flex: 0 0 80px; text-align: center; min-width: 0; }
.avatar-item img { width: 66px; height: 66px; border-radius: 50%; background: #fff; padding: 5px; margin: 0 auto 8px; border: 2px solid var(--border-color); transition: border-color 0.2s; }
.avatar-item:hover img { border-color: var(--neon-cyan); box-shadow: var(--glow-cyan); }
.avatar-item span { font-size: 13px; color: var(--text-muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.footer { background: var(--bg-header); text-align: center; padding: 25px 0; color: var(--text-muted); font-size: 13px; border-top: 1px solid var(--border-color); margin-top: 40px; }

/* ==================== 移动端自适应 ==================== */
@media (max-width: 992px) {
    .main-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .news-grid { grid-template-columns: minmax(0, 1fr); }
    .bottom-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .nav-menu { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .nav-menu::-webkit-scrollbar { display: none; }
    .dropdown-menu, .arrow { display: none !important; }

    .news-swiper { height: 220px; }
    .news-swiper .slide-title { font-size: 16px; line-height: 1.4; }
    .news-card-h img { width: 110px; height: 80px; }
    .news-card-h-title { font-size: 13px; }

    .news-item-v { flex-direction: column; gap: 12px; padding-bottom: 15px; }
    .news-item-v-img { width: 100%; height: 180px; }
    .news-item-v-title { font-size: 17px; }
    .news-item-v-desc { font-size: 13px; -webkit-line-clamp: 3; }

    .match-row {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        grid-template-areas:
            "status time league"
            "team1 score team2"
            "action action action";
        gap: 12px 5px;
        padding: 15px;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        margin-bottom: 12px;
        background: var(--bg-card);
    }
    .m-status { grid-area: status; justify-self: start; width: 60px; margin: 0; }
    .m-time { grid-area: time; text-align: center; }
    .m-league { grid-area: league; text-align: right; color: var(--neon-cyan); }
    .m-team.home { grid-area: team1; justify-content: flex-end; text-align: right; }
    .m-score { grid-area: score; background: transparent; font-size: 18px; }
    .m-team.away { grid-area: team2; justify-content: flex-start; text-align: left; }
    .m-team img { display: none; }
    .m-team span { font-size: 15px; width: 100%; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
    .m-action { grid-area: action; justify-self: center; margin-top: 5px; }
}

/* ===== fix4 2026-11-18 第二轮：空块隐藏/相关推荐卡片/信号源横向/直播列表居中 ===== */
/* 1) 空相关块整块隐藏（ul 内含空白文本节点，:empty 失效，改用 :has(ul):not(:has(li))） */
.side-box:has(ul):not(:has(li)),
.v41-side-card:has(ul):not(:has(li)),
.side-box:has(.side-list):not(:has(li)),
.zb-related-group:has(ul):not(:has(li)),
.zb-related:not(:has(.zb-related-group)),
.related-box:not(:has(li)),
.signal-source-box:has(ul):not(:has(li)){display:none!important;}
/* 2) 相关推荐卡片式美化 */
.zb-related{margin:18px 0 0;}
.zb-related-group{background:var(--bg-card,#fff);border:1px solid var(--border-color,#e6ebf2);border-radius:12px;padding:14px 16px 12px;margin:0 0 14px;box-shadow:0 1px 2px rgba(15,23,42,.04);}
.zb-rel-sub{font-size:15px;font-weight:700;color:var(--text-main,#1f2937);margin:0 0 10px;padding-left:9px;border-left:3px solid var(--primary-blue,var(--neon-cyan,#2563eb));line-height:1.2;}
.zb-related-group ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px;}
.zb-related-group li{margin:0;}
.zb-related-group li a{display:flex;align-items:center;gap:8px;padding:9px 11px;background:var(--bg-hover,#f7f9fc);border:1px solid var(--border-color,#edf1f7);border-radius:9px;color:var(--text-main,#334155);font-size:13px;line-height:1.45;text-decoration:none;transition:background .15s,border-color .15s;}
.zb-related-group li a:hover{background:var(--bg-hover,#eef4ff);border-color:var(--border-color,#c7d8fe);color:var(--primary-blue,var(--neon-cyan,#1d4ed8));}
.zb-related-group .rel-tag{flex:0 0 auto;font-style:normal;font-size:11px;padding:2px 6px;border-radius:5px;background:var(--bg-hover,#e0e7ff);color:var(--text-muted,#3730a3);}
.zb-related-group .zb-rel-text{flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;}
.zb-related-group .zb-rel-date{flex:0 0 auto;font-style:normal;font-size:11px;color:var(--text-muted,#94a3b8);}
/* 3) 信号源/选集 PC 横向排列（flex wrap），控制上下左右间距；窄屏回退竖排 */
.signal-source-list{display:flex;flex-direction:row;flex-wrap:wrap;gap:10px 12px;list-style:none;margin:12px 0 4px;padding:0;}
.signal-source-list li{margin:0;flex:0 1 auto;min-width:0;}
.signal-source-list li a,.signal-source-list li .zb-ep-off{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:9px;background:#f4f7fb;border:1px solid #e3e9f2;color:#334155;font-size:13px;line-height:1.3;text-decoration:none;white-space:nowrap;}
.signal-source-list li a:hover{background:#e8f0fe;border-color:#bcd9f5;color:#1d4ed8;}
.signal-source-list li:first-child a{background:#2563eb;border-color:#2563eb;color:#fff;font-weight:600;}
.signal-source-box{margin:14px 0;padding:12px 14px;background:#fbfcfe;border:1px solid #e6ebf2;border-radius:12px;}
.signal-source-box .vs-chlt-3b80-1{margin:0 0 4px;}
@media(max-width:768px){.signal-source-list{flex-direction:column;align-items:stretch;}.signal-source-list li a,.signal-source-list li .zb-ep-off{width:100%;justify-content:center;white-space:normal;}}
/* 4) 直播列表主客队垂直居中 + 队徽尺寸统一 */
.t-cell-3b80-outer{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.t-cell-3b80.team{display:flex;align-items:center;gap:8px;min-width:0;flex:1 1 0;}
.t-cell-3b80.team._left{justify-content:flex-end;text-align:right;}
.t-cell-3b80.team p{margin:0;font-size:14px;font-weight:600;color:#1f2937;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.t-cell-3b80.team img{width:34px;height:34px;object-fit:contain;flex:0 0 auto;border-radius:50%;background:#fff;}
.sc-mid{flex:0 0 auto;display:flex;align-items:center;justify-content:center;min-width:56px;}
/* 5) 球员/球队/赛事列表卡片图统一 contain，避免随机图拉伸 */
.player-card-pic img,.qiudui_item img{object-fit:contain;background:#fff;}
/* ===== fix4b 2026-11-18 F/G/H 直播列表主客队垂直居中+队徽统一 ===== */
.v41-mteams{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.v41-mteam{display:flex;align-items:center;gap:8px;min-width:0;flex:1 1 0;}
.v41-mteam.home{justify-content:flex-end;text-align:right;}
.v41-mteam .mt-name{margin:0;font-size:14px;font-weight:600;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.v41-mteam .mt-logo{width:34px;height:34px;object-fit:contain;flex:0 0 auto;border-radius:50%;background:#fff;}

/* ===== fix10 (2026-11-19 round8) ===== */
.player-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;}
.lm-tab-h1{display:inline;font-size:inherit;font-weight:inherit;margin:0;line-height:inherit;}
.zb-related{display:flex;flex-direction:column;gap:14px;margin:14px 0;}
.zb-related-group{background:var(--bg-card,#fff);border:1px solid var(--border-color,#e5e7eb);border-radius:12px;padding:14px 16px;margin-bottom:0;}
.sc-card:not(:has(li)):not(:has(a)),.side-box:not(:has(li)):not(:has(a)){display:none;}
.news-swiper:not(:has(.swiper-slide)){display:none;}
.side-video-grid:not(:has(.video-card)){display:none;}
.tab-panel:not(:has(a)){display:none;}
.news-list:not(:has(a)){display:none;}
.card-panel:has(> .swiper.news-swiper):not(:has(.swiper-slide)){display:none;}
.zb-episode-fallback{display:inline-block;padding:8px 18px;border-radius:8px;background:var(--brand,#1677ff);color:#fff;font-weight:600;}
