/*
 * 直播车 品牌层：只补充本站新增元素与少量品牌细节（白底 / 深色文字 / 红橙强调 / 浅灰辅助），
 * 不改动 24zhibo.css（Reference 结构）的布局比例与响应式规则。
 */
:root { --brand-red: #E8261C; --brand-red-light: #FDECEA; --ink: #111; --muted: #8A8A8A; --line: #EFEFEF; }

/* Logo */
.header_logo .logo { height: 48px; width: auto; }
/* A31 导航比 Reference 多一项「意甲直播」，收窄间距保证一行 */
@media (min-width: 1201px) {
  .header_menu { width: calc(100% - 230px); }
  .header_menu_item { padding: 0 8px; }
}

/* 模块标题里的 H1 与右侧「更多」 */
.section-tit { position: relative; }
.section-tit h1 { display: inline; font-size: inherit; font-weight: inherit; line-height: inherit; margin: 0; }
.section-tit .section-more { position: absolute; right: 0; bottom: 6px; font-size: 14px; color: var(--brand-red); }
.page-h1 h1 { font-size: 22px; font-weight: 700; color: var(--ink); margin: 16px 0 6px; }
.match_info .column_hd h1 { font-size: 20px; font-weight: 700; color: var(--ink); }

/* 轮播卡片：Reference 黄色卡片图 -> 直播车红色渐变 */
.match_top .match { background: linear-gradient(135deg, #F2544A 0%, #E8261C 55%, #C81D14 100%); }
.match_top .match .name { color: #fff; }
.match_top .match .liansai a { color: #333; }

/* 比赛详情：队名（Reference 用 h1 展示队名，本站页面只保留一个 H1） */
.score_name_left .team-title { font-size: 20px; font-weight: bold; line-height: 26px; color: #fff; }
.zhibo_btn a { background: var(--brand-red); color: #fff; }
.zhibo_btn .nosignal { display: inline-block; padding: 10px 15px; background: #F5F7F9; color: #666; border-radius: 6px; }
.ended-bar { background: #333; color: #fff; text-align: center; font-size: 16px; padding: 4px 0; margin-bottom: 6px; }
.ended-bar a { color: #FF8A80; }
@media (max-width: 780px) { .score_name_left .team-title { text-align: center; } }

/* 空状态 / 加载更多 / 说明 */
.empty-tip { padding: 30px 0; text-align: center; color: var(--muted); font-size: 14px; }
.empty-tip a, .loadmore a { color: var(--brand-red); }
.loadmore { text-align: center; padding: 16px 0 24px; font-weight: 700; }
.table-note { color: var(--muted); font-size: 12px; margin: 10px 0 0; line-height: 1.8; }
.luxianglist .nolink, .tags_list .nolink { color: #666; }
.tags_list li .nolink { display: inline-block; padding: 6px 12px; background: #F5F5F5; color: #999; }

/* 分页（Reference 内联样式） */
.fenye { display: flex; justify-content: center; align-items: center; padding: 20px 0; }
.fenye .epages { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; }
.fenye .epages a { display: inline-block; min-width: 36px; height: 36px; line-height: 36px; text-align: center; padding: 0 12px; border: 1px solid #ddd; border-radius: 6px; color: #333; box-sizing: border-box; }
.fenye .epages a:hover, .fenye .epages a.active { background: var(--brand-red); color: #fff; border-color: var(--brand-red); }

/* 详情页 */
.article_content h1.article_tit { font-size: 22px; font-weight: 700; line-height: 1.5; }
.clip-play { padding: 30px 0; text-align: center; }
.clip-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; background: var(--brand-red); color: #fff; border-radius: 24px; font-size: 16px; }
.clip-btn img { width: 26px; height: 26px; }
.article_content .report { margin-top: 16px; line-height: 1.9; }
.prenext { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 10px; line-height: 2; font-size: 14px; }
.prenext a { color: var(--brand-red); }

/* 意甲直播常见问题 */
.faq-block .faq-list { background: #fff; padding: 6px 0 10px; }
.faq-item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-q { font-size: 16px; font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.faq-q:before { content: "Q"; display: inline-block; width: 20px; height: 20px; line-height: 20px; text-align: center; margin-right: 8px; border-radius: 4px; background: var(--brand-red); color: #fff; font-size: 12px; }
.faq-a { font-size: 14px; color: #555; line-height: 1.8; padding-left: 28px; }

/* 页脚热门赛事链接 */
.friend-wrapper .container span { color: #fff; margin-right: 8px; }
.friend-wrapper .container a { color: #bbb; }

/* WAP：筛选图标展开全部赛事 */
@media (max-width: 780px) {
  .ny_leftside .navlist.m-open { display: block; }
  .section-tit .section-more { bottom: 10px; font-size: 12px; }
}

/* 内页左侧「全部赛事」（本站为可点击入口） */
.ny_leftside .navlist .all a { color: #fff; display: block; }

/* 资讯无配图时不留空白缩略图位（本站未配置正文图床） */
.section-news .news.nopic .text { width: 100%; padding-bottom: 20px; }

/* Reference 轮播左右箭头为黄色图片，色相偏移到直播车红 */
.match_top .swiper-button-prev, .match_top .swiper-button-next { filter: hue-rotate(-62deg) saturate(1.8); }

/* 赛事子页当前 Tab（Reference 无高亮），与悬停同为品牌红 */
.navs a.thisclass { background: var(--brand-red); color: #fff !important; }

/* 内页左侧赛事导航「更多赛事」 */
.ny_leftside .navlist dl dd.more a { color: var(--brand-red); }

/* 赛事页空状态（无当前比赛时仍保留页面与 SEO） */
.league-empty { background: #fff; text-align: center; padding: 36px 16px 30px; border-bottom: 1px solid var(--line); }
.league-empty-sub { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.league-empty-tip { color: var(--ink); font-size: 16px; font-weight: 700; margin: 0; }

/* 全部赛事：当前有比赛的赛事标红点 */
.tags_list .tag-live { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-red); margin-left: 5px; vertical-align: 2px; }

/* 电视频道详情 */
.tv-cover { text-align: center; padding: 10px 0 16px; }
.video_live_related li { list-style: none; font-size: 15px; margin-bottom: 12px; }
.video_live_related .nosignal { color: var(--muted); }

/* 录像详情：完场录像 / 精彩集锦 —— 播放图标在标题前，标题加大加粗 */
.article_content .reping-list { margin: 6px 0 16px; padding: 0; }
.article_content .reping-list .list-item { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); list-style: none; }
.article_content .reping-list .list-item:last-child { border-bottom: 0; }
.article_content .reping-avatar { flex: 0 0 auto; line-height: 0; }
.article_content .reping-avatar .video_splay { width: 30px; height: 30px; }
.article_content .contavatar { flex: 1; min-width: 0; }
.article_content .reping-content { font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.5; }
.article_content .contavatar a:hover .reping-content { color: var(--brand-red); }
@media (max-width: 780px) { .article_content .reping-content { font-size: 15px; } }

/* 首页顶部推荐赛事卡片：桌面端 1200px 容器一屏完整显示 5 张（5 × 232 + 4 × 10 = 1200） */
@media (min-width: 1201px) {
  .match_top .match { width: 232px; }
  .match_top .swiper-container .swiper-slide { width: 232px; }
}
.match_top .match .match_qiudui .qiudui .name { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; justify-content: flex-start; }
.match_top .match .match_qiudui .qiudui .name img { flex: 0 0 auto; }

/* ================= 直播观看入口（球吧导流） ================= */
/* 轻提示呼吸动画：100% -> 105% -> 100%，不闪烁、不跳动；悬停时轻微放大 */
@keyframes watch-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes live-dot { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

.watch-btn {
  display: inline-block; box-sizing: border-box; text-align: center; white-space: nowrap;
  background: var(--brand-red); color: #fff !important; font-weight: 700; border-radius: 4px;
  box-shadow: 0 2px 6px rgba(232, 38, 28, .28);
  animation: watch-pulse 2.4s ease-in-out infinite; transition: transform .15s ease, background-color .15s ease;
}
.watch-btn:hover { animation-play-state: paused; transform: scale(1.08); background: #CC1E15; }
.watch-btn.is-live::before, .match-item .info_right.is-live a::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #fff;
  margin-right: 5px; vertical-align: 1px; animation: live-dot 1.6s ease-in-out infinite;
}

/* 详情页：高清直播 / 观看直播 主按钮 + 「进入球吧观看」 */
.zhibo_btn.watch-main { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.zhibo_btn .watch-box { display: inline-flex; align-items: center; gap: 12px; margin: 4px 14px 4px 0; }
.zhibo_btn a.watch-btn-lg { width: 116px; height: 40px; line-height: 40px; padding: 0; margin: 0; font-size: 16px; }
.zhibo_btn .watch-tip { color: #666; font-size: 14px; }
.zhibo_btn .watch-tip::after { content: " ›"; color: var(--brand-red); }

/* 首页顶部推荐卡片：整张卡片直达球吧；「高清直播」按钮放在两队右侧（原比分位置），卡片保持原高度 */
.match_top a.match { display: block; position: relative; height: 158px; box-sizing: border-box; text-decoration: none; cursor: pointer; }
.match_top a.match .match_qiudui { padding-right: 92px; box-sizing: border-box; }
.match_top .card-watch { position: absolute; right: 15px; top: 84px; }
.match_top .card-watch .watch-btn { width: 82px; height: 30px; line-height: 30px; font-size: 13px; background: #fff; color: var(--brand-red) !important; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.match_top .card-watch .watch-btn.is-live::before { background: var(--brand-red); }
.match_top a.match:hover .watch-btn { animation-play-state: paused; transform: scale(1.08); }
.match_top a.match:hover { filter: brightness(1.04); }

@media (max-width: 780px) {
  .zhibo_btn a.watch-btn-lg { width: 140px; height: 40px; line-height: 40px; }
  .match-item .info_right a { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .watch-btn, .watch-btn.is-live::before, .match-item .info_right.is-live a::before { animation: none; }
}
