/** A20 CCTV体育视觉覆盖。保留 a1.css 的布局与响应式结构。 */

:root {
  --cctv-ink: #17130f;
  --cctv-red: #b5121b;
  --cctv-red-dark: #861018;
  --cctv-gold: #c8a45d;
  --cctv-paper: #f6f3ed;
  --cctv-white: #ffffff;
}

body {
  background: var(--cctv-paper);
  color: var(--cctv-ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
}

.header {
  background: linear-gradient(90deg, #100d0b 0%, var(--cctv-ink) 58%, #2b1713 100%);
  border-bottom: 2px solid var(--cctv-gold);
}

.header_logo a {
  display: inline-flex;
  align-items: center;
  height: 64px;
  color: var(--cctv-white);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand-cctv {
  padding: 2px 7px 3px;
  border: 1px solid rgba(200, 164, 93, 0.9);
  border-right: 0;
  color: var(--cctv-white);
  line-height: 25px;
  transform: skewX(-8deg);
}

.brand-sport {
  padding: 3px 8px 4px;
  background: var(--cctv-red);
  color: var(--cctv-white);
  line-height: 25px;
  letter-spacing: 0.08em;
}

.header_menu a { color: #d8d1c7; }
.header_menu a:hover { color: var(--cctv-white); }
.header_menu a.active::before { background: var(--cctv-red); }

.second-header {
  border-bottom: 1px solid #ded5c6;
  box-shadow: 0 3px 12px rgba(43, 28, 18, 0.06);
}
.second-header a:hover { color: var(--cctv-red); }

.lmtit { border-bottom-color: #e8dfd1; }
.lmname { position: relative; }
.lmname::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 44px;
  height: 2px;
  background: linear-gradient(90deg, var(--cctv-red) 0 72%, var(--cctv-gold) 72%);
}

.lmsenav a.on,
.lmsenav a:hover,
.ny_newslist_leftside .senav2 a.on { color: var(--cctv-red); }

.match-item .info_right.start a,
.match-item .info_right a:hover {
  border-color: var(--cctv-red);
  background: var(--cctv-red);
  color: var(--cctv-white);
}
.match-item .info_right.end a {
  border-color: var(--cctv-red);
  color: var(--cctv-red);
}

.team_rank_main .team_rank_match span.on,
.team_rank_main .team_rank_match_saishi span.on,
.team_rank_main .team_rank_match_saishi_east_west span.on,
.fenye ul li.active a {
  background-color: var(--cctv-red);
  color: var(--cctv-white);
}

.channel-page-heading {
  margin: 0 0 10px;
  padding: 0 0 9px 14px;
  border-bottom: 1px solid #e8dfd1;
  border-left: 4px solid var(--cctv-red);
  color: var(--cctv-ink);
  font-size: 22px;
  line-height: 1.35;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--cctv-gold);
  outline-offset: 2px;
}

.footer-wrapper {
  border-top: 2px solid var(--cctv-gold);
  background: var(--cctv-ink);
}

/*
 * 左侧「热门赛事」当前选中项。
 * a1.css 第 272 行为 .ny_leftside .navlist li a.on 写的是
 *   color:fff;background:#DD0100;
 * 其中 color:fff 缺少 #，浏览器会整条丢弃，实际效果是整块红底 + 灰字。
 * Reference 页面本身从不给这些链接加 .on，所以线上看不到这个红块。
 * 本站需要标出当前赛事，按 Reference 的主色只改文字颜色，不加背景。
 */
.ny_leftside .navlist li a.on {
  color: var(--cctv-red);
  background: none;
}
.ny_leftside .navlist li a:hover {
  color: var(--cctv-red);
}

/* A20 第二轮首页内容模块：延续 A6 双栏与信息密度，只补充模块自身样式。 */
.home-seo-intro .lmname h2,
.faq-module .lmname h2 {
  display: inline;
  font-size: 16px;
}

.home-seo-intro p {
  padding-top: 14px;
  color: #57514a;
  line-height: 1.9;
}

.hot-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 14px;
}

.hot-tag {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 8px 14px;
  border: 1px solid #ece7df;
  border-radius: 20px;
  background: #f7f6f3;
  color: #302a25;
  line-height: 1.4;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease;
}

.hot-tag:hover {
  border-color: var(--cctv-red);
  background: #fff4f3;
  color: var(--cctv-red);
  transform: translateY(-1px);
}

.faq-list {
  display: grid;
  gap: 12px;
  padding-top: 16px;
}

.faq-item {
  padding: 16px 18px;
  border: 1px solid #eee8df;
  border-left: 3px solid var(--cctv-red);
  border-radius: 6px;
  background: #fbfaf7;
}

.faq-item:last-child {
  padding-bottom: 16px;
}

.faq-item h3 {
  color: #2b2520;
  font-size: 16px;
  line-height: 1.65;
}

.faq-item p {
  padding-top: 8px;
  color: #6c645b;
  line-height: 2;
}

.tag-page-layout { align-items: flex-start; }
.tag-summary { width: 100%; }
.tag-page-heading {
  padding-bottom: 14px;
  border-bottom: 1px solid #e8dfd1;
  font-size: 24px;
  line-height: 1.45;
}
.tag-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  color: #938b82;
}
.tag-summary > p {
  padding: 16px 0;
  color: #4e4740;
  font-size: 15px;
  line-height: 2;
}
.bing-search-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--cctv-red);
  border-radius: 4px;
  color: var(--cctv-red);
  font-weight: 600;
}
.bing-search-link:hover { background: var(--cctv-red); color: #fff; }
.tag-sidebar { margin-top: 0; }

.empty-state {
  display: block;
  width: 100%;
  padding: 18px 0;
  color: #888078;
  text-align: center;
}

.premier-team-list .team-entry-static {
  width: 76px;
  margin: 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.premier-team-list .team-entry-static .pic {
  padding: 10px;
  border: 1px solid #f2f2f2;
}

.premier-team-list .team-entry-static img {
  width: 48px;
  height: 48px;
}

.premier-team-list .team-entry-static p {
  max-width: 76px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.match-detail-panel .lmname h2,
.popular-team-module .lmname h2 {
  display: inline;
  font-size: 18px;
}

.match-detail-copy {
  color: #4e4740;
  line-height: 1.9;
}

.match-detail-copy p + p { margin-top: 3px; }
.match-detail-copy a { color: var(--cctv-red); }

.popular-team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 8px;
  padding-top: 16px;
}

.popular-team-list a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #ece8e2;
  border-radius: 10px;
  background: #f2f1ef;
  color: #35302b;
  line-height: 1.3;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.popular-team-list a:hover {
  border-color: var(--cctv-red);
  background: #fff4f3;
  color: var(--cctv-red);
}

@media (max-width: 1200px) {
  .header_logo a { height: 50px; font-size: 18px; }
  .header_menu a.active { background: var(--cctv-red); }
}

@media (max-width: 780px) {
  .channel-page-heading { margin-top: 0; font-size: 19px; }
  .brand-cctv, .brand-sport { line-height: 22px; }
  .match-item .info_left { flex: 0 0 18%; min-width: 0; }
  .match-item .info_center { flex: 1 1 auto; width: auto; min-width: 0; }
  .match-item .info_right { flex: 0 0 74px; min-width: 0; }
  .match-item .info_center .home,
  .match-item .info_center .away { min-width: 0; }
  .hot-tag-list { gap: 8px; }
  .hot-tag { padding: 6px 9px; }
  .faq-item { padding: 14px; }
  .faq-item p { line-height: 1.9; }
  .tag-page-heading { font-size: 20px; }
  .tag-meta { flex-direction: column; gap: 4px; }
  .match-detail-panel .lmname h2,
  .popular-team-module .lmname h2 { font-size: 17px; }
  .match-detail-copy { line-height: 1.8; }
  .popular-team-list { gap: 8px 6px; }
  .popular-team-list a { min-height: 34px; padding: 0 10px; border-radius: 8px; }
}

/* Permanent article live entry, matching this site's primary colour. */
.article-signal{margin:18px 0 22px;text-align:center;clear:both}.article-signal .article-signal-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;box-sizing:border-box;max-width:100%;min-height:44px;padding:11px 24px;border:1px solid var(--cctv-red);border-radius:6px;background:var(--cctv-red);color:#fff;font-size:16px;font-weight:700;line-height:1.5;text-decoration:none}.article-signal .article-signal-button:hover{color:#fff;filter:brightness(.92)}.article-signal .article-signal-button:focus-visible{outline:3px solid var(--cctv-red);outline-offset:3px}@media(max-width:600px){.article-signal .article-signal-button{padding:10px 18px;font-size:15px}}
