/* ============================================================
   看台 KANTAI · 体育赛事 CMS 静态首页
   设计语言：赛事转播 / 记分牌 / 运动海报
   深炭黑底 · 荧光青柠 + 炽橙 · 压缩粗斜体 · 切角硬边 · 巨型描边水印
   说明：本站不新增任何图片，全部沿用 assets/img 下占位图，后期直接替换 src
   ============================================================ */

/* 通用工具类 */
.is-hidden { display: none !important; }

:root {
  /* 色板 —— 夜场球场 */
  --bg:        #0A0D13;
  --bg-2:      #10151E;
  --panel:     #151C27;
  --panel-2:   #1B2431;
  --line:      #283241;
  --line-2:    #3A4859;

  --txt:       #F2F5FA;
  --txt-2:     #98A5B8;
  --txt-3:     #5C6A7D;

  --lime:      #D8FF3E;   /* 主强调：荧光青柠 */
  --orange:    #FF5A28;   /* LIVE / 比分 / 进行中 */
  --cyan:      #35D6E8;   /* 次级强调 */
  --ink:       #0A0D13;   /* 荧光底上的字 */

  /* 字体 */
  --cond: "Barlow Condensed", "Arial Narrow", Impact, "PingFang SC", sans-serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --mono: "Barlow Condensed", "SF Mono", Consolas, monospace;

  --container: 1280px;
  --radius: 0px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--txt);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 场地网格纹理 —— 纯 CSS，不用图片 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 64px 64px;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; position: relative; }

/* 图片统一处理：高对比硬调，占位感，后期直接换文件 */
.media {
  overflow: hidden;
  background: var(--panel-2);
  position: relative;
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  filter: saturate(1.22) contrast(1.14) brightness(.86);
  transition: transform .55s cubic-bezier(.2,.7,.2,1), filter .4s;
  transform: scale(1.01);
}
a:hover .media img,
.slide:hover .media img { transform: scale(1.075); filter: saturate(1.35) contrast(1.18) brightness(.95); }

::selection { background: var(--lime); color: var(--ink); }

/* 通用：右上切角 */
.cut { position: relative; }
.cut::after {
  content: "";
  position: absolute;
  top: -1px; right: -1px;
  width: 20px; height: 20px;
  background: var(--bg);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  z-index: 4;
  pointer-events: none;
}

/* 通用：荧光斜纹 */
.stripes {
  background-image: repeating-linear-gradient(-45deg,
    rgba(10,13,19,.22) 0 6px, rgba(10,13,19,0) 6px 12px);
}

/* 区块巨型描边水印 */
.has-mark { position: relative; }
.has-mark::before {
  content: attr(data-mark);
  position: absolute;
  right: -10px; top: -6px;
  font-family: var(--cond);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(90px, 13vw, 190px);
  line-height: .9;
  letter-spacing: -.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.055);
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}
.has-mark > .container { z-index: 1; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .3; transform: scale(.7); }
}
@keyframes blink { 0%, 45% { opacity: 1; } 50%, 100% { opacity: .25; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ------------------------------------------------------------
   报头 Masthead + 主导航
------------------------------------------------------------ */
.masthead { background: var(--bg); border-bottom: 2px solid var(--line); position: relative; z-index: 60; }
.masthead::after {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--lime) 0 22%, var(--orange) 22% 34%, var(--line) 34%);
}
.masthead .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 20px;
  padding-bottom: 0;
}

.brand { display: flex; align-items: center; gap: 13px; padding-bottom: 16px; }
.brand-seal {
  width: 48px; height: 48px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 27px;
  font-weight: 900;
  display: grid;
  place-items: center;
  line-height: 1;
  transform: skewX(-9deg);
  box-shadow: 5px 5px 0 var(--orange);
}
.brand-name {
  font-family: var(--sans);
  font-size: 32px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -.04em;
  line-height: 1;
  display: block;
}

/* PC 端导航：靠右展示、单项加宽（2026-11-12 用户口径），菜单整体离边界留一点空隙 */
.mainnav { display: flex; gap: 8px; align-self: stretch; align-items: stretch; padding: 0 12px; margin-left: auto; }
.mainnav a {
  display: flex;
  align-items: center;
  padding: 0 26px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--txt-2);
  position: relative;
  transition: color .18s, background .18s;
  white-space: nowrap;
}
.mainnav a::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 0;
  height: 4px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s;
}
.mainnav a:hover { color: var(--txt); background: var(--bg-2); }
.mainnav a.active { color: var(--ink); background: var(--lime); }
.mainnav a.active::after { transform: scaleX(1); background: var(--orange); }

.mh-tools { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; }
.burger { display: none; font-size: 20px; padding: 7px 12px; border: 1px solid var(--line-2); color: var(--txt); }

/* ------------------------------------------------------------
   快讯跑马灯 Ticker
------------------------------------------------------------ */
.ticker {
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
}
.ticker-inner { display: flex; align-items: center; height: 42px; }
.ticker-label {
  flex: none;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 22px;
  height: 100%;
  background: var(--orange);
  color: #fff;
  font-family: var(--cond);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  z-index: 2;
}
.ticker-label i {
  width: 8px; height: 8px;
  background: #fff;
  animation: blink 1.2s infinite;
}
.ticker-label span { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.ticker-view { flex: 1; overflow: hidden; }
.ticker-track {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee 46s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span {
  font-size: 13px;
  color: var(--txt-2);
  padding: 0 34px;
  position: relative;
  letter-spacing: .02em;
}
.ticker-track span b { color: var(--lime); font-weight: 800; margin-right: 8px; }
.ticker-track span::after {
  content: "/";
  position: absolute;
  right: -4px;
  color: var(--line-2);
  font-family: var(--cond);
  font-size: 16px;
  top: -1px;
}

/* ------------------------------------------------------------
   今日比分条 Scoreboard Strip（纯 CSS 模块，无图片）
------------------------------------------------------------ */
.scorebar {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.sb-inner { display: flex; align-items: stretch; min-height: 74px; }
.sb-label {
  flex: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 26px 0 0;
  border-right: 1px solid var(--line);
}
.sb-label span {
  font-family: var(--cond);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .3em;
  color: var(--orange);
}
.sb-label b { font-size: 16px; font-weight: 900; letter-spacing: .04em; line-height: 1.3; }
.sb-list { flex: 1; display: flex; overflow: hidden; }
.sb-match {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-right: 1px solid var(--line);
  transition: background .2s;
}
.sb-match:hover { background: var(--panel-2); }
.sb-lg {
  font-family: var(--cond);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--txt-3);
  text-transform: uppercase;
  white-space: nowrap;
}
.sb-team { font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: right; }
.sb-team.away { text-align: left; }
.sb-score {
  font-family: var(--cond);
  font-size: 30px;
  font-weight: 800;
  font-style: italic;
  line-height: 1;
  color: var(--txt);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.sb-score span { color: var(--txt-3); padding: 0 3px; font-size: 22px; }
.sb-match.is-live .sb-score { color: var(--lime); }
.sb-match.is-final .sb-score { color: var(--txt-2); }
.sb-state {
  font-family: var(--cond);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--txt-3);
  white-space: nowrap;
  text-align: right;
}
.sb-state.live { color: var(--orange); }
.sb-state.live::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--orange);
  margin-right: 6px;
  vertical-align: 2px;
  animation: pulse 1.3s infinite;
}
.sb-all {
  flex: none;
  display: flex;
  align-items: center;
  padding: 0 22px;
  font-family: var(--cond);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--lime);
  white-space: nowrap;
  transition: background .2s;
}
.sb-all:hover { background: var(--lime); color: var(--ink); }

/* ------------------------------------------------------------
   首屏：轮播 + 直播面板
------------------------------------------------------------ */
.hero { padding: 30px 0 44px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 22px;
  align-items: stretch;
}

/* —— 轮播 —— */
.carousel {
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
  background: var(--panel);
}
.car-track { display: flex; transition: transform .65s cubic-bezier(.7,0,.2,1); }
.slide { position: relative; flex: 0 0 100%; min-height: 530px; }
.slide .media { position: absolute; inset: 0; }
.slide .media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(6,9,14,.96) 0%, rgba(6,9,14,.62) 40%, rgba(6,9,14,.06) 78%),
    linear-gradient(105deg, rgba(6,9,14,.5) 0%, transparent 55%);
}
/* 荧光斜纹角标 */
.carousel::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 150px; height: 7px;
  background: var(--lime);
  z-index: 5;
}
.slide-body {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 530px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 42px 48px 50px;
}
.slide-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--cond);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--txt-2);
  margin-bottom: 16px;
}
.slide-kicker em {
  font-style: normal;
  background: var(--lime);
  color: var(--ink);
  padding: 3px 14px;
  font-weight: 800;
  letter-spacing: .16em;
  transform: skewX(-10deg);
}
.slide h2, .slide h2 a {
  font-family: var(--sans);
  font-size: clamp(28px, 3.1vw, 41px);
  font-weight: 900;
  font-style: italic;
  line-height: 1.28;
  letter-spacing: -.02em;
  max-width: 680px;
  text-shadow: 0 3px 24px rgba(0,0,0,.6);
}
.slide h2 a:hover { color: var(--lime); }
.slide p {
  margin-top: 14px;
  max-width: 570px;
  font-size: 14.5px;
  color: #C2CBDA;
  border-left: 3px solid var(--orange);
  padding-left: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.slide-meta {
  margin-top: 20px;
  display: flex;
  gap: 24px;
  font-family: var(--cond);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8B97A9;
}
.slide-meta span::before { content: "— "; color: var(--orange); }
.slide-ghost {
  position: absolute;
  right: 34px; top: 22px;
  z-index: 2;
  font-family: var(--cond);
  font-size: 130px;
  font-weight: 800;
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 2px rgba(216,255,62,.35);
  line-height: .9;
  letter-spacing: -.04em;
}

/* 轮播控制 */
.car-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 44px; height: 44px;
  background: var(--lime);
  color: var(--ink);
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity .2s, background .2s, transform .2s;
}
.carousel:hover .car-btn { opacity: 1; }
.car-btn:hover { background: var(--orange); color: #fff; }
.car-btn.prev { left: 0; }
.car-btn.next { right: 0; }
.car-btn.prev:hover { transform: translateY(-50%) translateX(-3px); }
.car-btn.next:hover { transform: translateY(-50%) translateX(3px); }

.car-dots {
  position: absolute;
  right: 44px; bottom: 46px;
  z-index: 6;
  display: flex;
  gap: 3px;
  font-family: var(--cond);
  font-size: 17px;
  font-weight: 800;
}
.car-dots button {
  padding: 2px 9px;
  font-variant-numeric: tabular-nums;
  color: rgba(255,255,255,.42);
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
}
.car-dots button.on { color: var(--lime); border-bottom-color: var(--lime); }

/* —— 直播侧栏（记分牌） —— */
.live {
  background: var(--panel);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  position: relative;
}
.live::before {
  content: "";
  position: absolute;
  left: 0; top: 0; right: 0;
  height: 5px;
  background: repeating-linear-gradient(-45deg, var(--orange) 0 9px, #6B2411 9px 18px);
}
.live-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px 22px 15px;
  border-bottom: 1px solid var(--line);
}
.live-head h3 {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: .02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.live-head h3 i {
  width: 9px; height: 9px;
  background: var(--orange);
  animation: pulse 1.3s infinite;
}
.live-head a {
  font-family: var(--cond);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--lime);
  text-transform: uppercase;
}
.live-head a:hover { color: var(--orange); }

.match {
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  transition: background .2s, padding-left .2s;
  position: relative;
}
.match:hover { background: var(--panel-2); padding-left: 27px; }
.match-league {
  display: flex;
  justify-content: space-between;
  font-family: var(--cond);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--txt-3);
  margin-bottom: 9px;
}
.match-league .m-time { color: var(--orange); font-weight: 800; }
.match.winning::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--lime);
}
.match-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.match-teams .t {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .01em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.match-teams .t.home { justify-content: flex-start; }
.match-teams .t.away { justify-content: flex-end; text-align: right; }
/* 队徽：数据源没给图时整块不渲染，这里只管有图时的尺寸 */
.match-teams .team-logo {
  width: 22px;
  height: 22px;
  flex: none;
  object-fit: contain;
}
.match-teams .score {
  font-family: var(--cond);
  font-size: 34px;
  font-weight: 800;
  font-style: italic;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  color: var(--txt);
  background: var(--bg);
  border: 1px solid var(--line-2);
  padding: 0 14px;
  line-height: 1.25;
  white-space: nowrap;
}
.match.winning .score { border-color: var(--lime); color: var(--lime); }
.kit-dot { width: 9px; height: 9px; flex: none; transform: skewX(-12deg); }

.live-foot { padding: 18px 22px 20px; background: var(--bg-2); }
.live-foot h4 {
  font-family: var(--cond);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .26em;
  color: var(--txt-3);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.next-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 600;
  transition: color .2s;
}
.next-item:hover { color: var(--lime); }
.next-item .n-league {
  font-family: var(--cond);
  color: var(--cyan);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1em;
  margin-right: 10px;
}
.next-item .n-time { font-family: var(--cond); color: var(--lime); font-weight: 800; font-size: 17px; letter-spacing: .06em; }

/* ------------------------------------------------------------
   区块标题
------------------------------------------------------------ */
section { padding: 14px 0 48px; }
.sec-head {
  display: flex;
  align-items: baseline;
  gap: 20px;
  border-bottom: 2px solid var(--line-2);
  padding-bottom: 12px;
  margin-bottom: 28px;
  position: relative;
  flex-wrap: wrap;
}
.sec-head::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 92px; height: 4px;
  background: var(--lime);
}
.sec-head h2 {
  font-family: var(--sans);
  font-size: 30px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -.02em;
  line-height: 1;
}
.sec-head::before {
  content: "";
  width: 11px;
  height: 25px;
  background: var(--lime);
  transform: skewX(-14deg);
  align-self: center;
  flex: none;
}
.sec-head .en {
  font-family: var(--cond);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--txt-3);
}
.sec-head .more {
  margin-left: auto;
  font-family: var(--cond);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--lime);
  text-transform: uppercase;
  transition: color .2s;
}
.sec-head .more:hover { color: var(--orange); }

/* ------------------------------------------------------------
   足球 / 篮球 双栏资讯
------------------------------------------------------------ */
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.duo-col { min-width: 0; }
.duo-col + .duo-col { border-left: 1px solid var(--line); padding-left: 40px; margin-left: 40px; }

.news-lead {
  position: relative;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: start;
}
.news-lead .media { aspect-ratio: 4/3; border: 1px solid var(--line); }
.news-lead .media::after {
  content: "MATCH";
  position: absolute;
  right: 0; bottom: 0;
  background: var(--orange);
  color: #fff;
  font-family: var(--cond);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  padding: 4px 10px;
  z-index: 2;
}
.news-lead .lead-body { min-width: 0; }
.news-lead h3 {
  font-size: 21px;
  font-weight: 900;
  font-style: italic;
  line-height: 1.38;
  letter-spacing: -.01em;
  margin: 0 0 10px;
}
.news-lead h3 a:hover { color: var(--lime); }
.news-lead p {
  color: var(--txt-2);
  font-size: 13.5px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-lead .meta, .news-item .meta {
  margin-top: 12px;
  font-family: var(--cond);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--txt-3);
  display: flex;
  gap: 16px;
}
.news-lead .meta .cat, .news-item .meta .cat {
  color: var(--ink);
  background: var(--lime);
  font-weight: 800;
  padding: 0 9px;
  letter-spacing: .08em;
}

.news-list { margin-top: 24px; }

/* 篮球资讯通栏两列（2026-11-12：首页去掉足球栏，篮球资讯独占一行，2 列 10 条） */
.news-grid2 { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 36px; margin-top: 22px; }
@media (max-width: 899px) { .news-grid2 { grid-template-columns: 1fr; } }
.news-item {
  display: flex;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  align-items: flex-start;
  transition: padding-left .2s;
}
.news-item:hover { padding-left: 8px; }
.news-item .thumb { flex: none; width: 108px; aspect-ratio: 4/3; border: 1px solid var(--line); }
.news-item h4 {
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.45;
}
.news-item h4 a:hover { color: var(--lime); }
.news-item .meta { margin-top: 7px; }

/* ------------------------------------------------------------
   数据榜 Standings
------------------------------------------------------------ */
.standings {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 48px 0 54px;
}
.board-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.board {
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.board:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--lime); }
.board-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 22px;
  border-bottom: 2px solid var(--lime);
  background: var(--bg);
}
.board-head h3 { font-size: 20px; font-weight: 900; font-style: italic; letter-spacing: .01em; }
.board-head span {
  font-family: var(--cond);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--txt-3);
  text-transform: uppercase;
}

table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th {
  font-family: var(--cond);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--txt-3);
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line-2);
  white-space: nowrap;
  text-transform: uppercase;
}
table.data td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data tr:last-child td { border-bottom: none; }
table.data tbody tr { transition: background .15s; }
table.data tbody tr:hover { background: var(--panel-2); }
table.data .num { font-family: var(--cond); font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rank {
  font-family: var(--cond);
  font-size: 28px;
  font-weight: 800;
  font-style: italic;
  color: var(--txt-3);
  width: 40px;
  line-height: 1;
}
tr:nth-child(1) .rank { color: var(--lime); }
tr:nth-child(2) .rank, tr:nth-child(3) .rank { color: var(--txt); }
table.data .strong { font-weight: 800; }
table.data .sub { color: var(--txt-3); font-size: 13px; }
table.data .hi { color: var(--lime); font-weight: 800; font-size: 22px; }

/* NBA 球员得分榜（2026-11-12：足球进球榜换成球员得分榜，行首是球员头像）：
   头像 34px 圆形，真图铺满、姓名首字垫在下面；图挂了 onerror 移除，退回首字圆牌 */
table.data.scorers td { padding-top: 10px; padding-bottom: 10px; }
.scorer-cell { display: flex; align-items: center; gap: 10px; min-width: 0; }
.scorer-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scorer-face {
  position: relative;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--panel-2);
  border: 1px solid var(--line);
  font-family: var(--cond);
  font-size: 14px;
  font-weight: 800;
  font-style: normal;
  color: var(--txt-3);
  line-height: 1;
}
.scorer-face img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.streak {
  font-family: var(--cond);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--ink);
  background: var(--lime);
  padding: 2px 9px;
  white-space: nowrap;
  text-transform: uppercase;
}
.streak.cold { color: var(--txt-2); background: var(--panel-2); border: 1px solid var(--line-2); }

/* ------------------------------------------------------------
   视频 / 集锦
------------------------------------------------------------ */
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font-family: var(--cond);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 7px 18px;
  border: 1px solid var(--line-2);
  color: var(--txt-2);
  transition: all .18s;
}
.chip:hover { border-color: var(--lime); color: var(--lime); }
.chip.on { background: var(--lime); border-color: var(--lime); color: var(--ink); font-weight: 800; }

.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 36px; margin-top: 22px; }
.video-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.video-card .thumb { flex: none; width: 168px; aspect-ratio: 16/9; border: 1px solid var(--line); }
.dur {
  position: absolute;
  right: 0; bottom: 0;
  z-index: 3;
  font-family: var(--cond);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink);
  background: var(--lime);
  padding: 1px 8px;
  letter-spacing: .06em;
}
.video-card h4 {
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.5;
  margin: 0 0 9px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-card h4 a:hover { color: var(--lime); }
.video-card .vmeta {
  font-family: var(--cond);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--txt-3);
  display: flex;
  gap: 12px;
}
.video-card .vmeta .cat { color: var(--cyan); font-weight: 800; }
.video-card.hidden { display: none; }

/* 集锦卡片 hover（2026-11-12 用户口径）：整卡上浮 + 浅青柠底色，
   标题和分类跟着变色；缩略图放大是全局 a:hover .media img 已有的，不用重复 */
.video-card { transition: transform .25s ease, background-color .25s ease; }
.video-card:hover { transform: translateY(-3px); background: color-mix(in srgb, var(--lime) 7%, transparent); }
.video-card:hover h4 a { color: var(--lime); }
.video-card:hover .vmeta .cat { color: var(--lime); }

/* ------------------------------------------------------------
   赛事回顾 Match Reviews
------------------------------------------------------------ */
.reviews { border-top: 1px solid var(--line); padding: 48px 0 56px; }
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.review-item {
  padding: 20px 32px 22px;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .2s;
}
.review-item:hover { background: var(--bg-2); }
.review-item:nth-child(2n-1) { border-left: none; padding-left: 0; }
.review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.review-item .cat {
  background: var(--lime);
  color: var(--ink);
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  transform: skewX(-9deg);
}
.review-item .cat.is-bk { background: var(--orange); color: #fff; }
.review-item .r-time {
  font-family: var(--cond);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--txt-3);
}
.review-item h4 {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -.005em;
}
.review-item h4 a:hover { color: var(--lime); }

/* ------------------------------------------------------------
   赛事预告 Fixtures
------------------------------------------------------------ */
.fixtures { border-top: 1px solid var(--line); padding: 48px 0 52px; }
.fixture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.fixture {
  display: block;
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 18px 22px 16px;
  position: relative;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.fixture::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 4px; height: 100%;
  background: var(--lime);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .25s;
}
.fixture:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: 0 6px 22px rgba(0,0,0,.35); }
.fixture:hover::before { transform: scaleY(1); }
.fx-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--cond);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}
.fx-league { color: var(--lime); }
.fx-date { color: var(--txt-3); }
.fx-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 0 14px;
}
.fx-team {
  font-size: 16.5px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -.01em;
  line-height: 1.3;
}
.fx-vs {
  font-family: var(--cond);
  font-size: 13px;
  font-weight: 800;
  color: var(--txt-3);
  letter-spacing: .16em;
  flex: none;
}
.fx-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.fx-time {
  font-family: var(--cond);
  font-size: 24px;
  font-weight: 800;
  font-style: italic;
  color: var(--orange);
  letter-spacing: .02em;
  line-height: 1;
}
.fx-state {
  font-family: var(--cond);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--txt-3);
  border: 1px solid var(--line-2);
  padding: 3px 10px;
}
.fixture.hidden { display: none; }

/* 赛事预告通栏列表（2026-11-12 用户口径）：正在直播在前 + 预告在后，
   一行一场从上往下。卡片内部改成「联赛/日期 | 对阵 | 时间/状态」三段横排。 */
.fixture-grid--list { grid-template-columns: 1fr; gap: 10px; }
.fixture-grid--list .fixture {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 12px 22px 12px 26px;
}
.fixture-grid--list .fx-top {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding-bottom: 0;
  border-bottom: 0;
}
.fixture-grid--list .fx-teams { padding: 0; justify-content: flex-start; gap: 14px; }
.fixture-grid--list .fx-team { font-size: 15px; }
.fixture-grid--list .fx-foot { gap: 14px; }
.fixture-grid--list .fx-time { font-size: 18px; }
@media (max-width: 899px) {
  .fixture-grid--list .fixture { grid-template-columns: 1fr; gap: 8px; }
  .fixture-grid--list .fx-top { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* 直播中的场次：状态徽标和左边的强调条一起变红，扫一眼能认出正在打 */
.fixture-grid--list .fixture:has(.fx-state.is-live)::before { background: #ff5c5c; transform: scaleY(1); }
.fx-state.is-live { color: #ff5c5c; border-color: rgba(255, 92, 92, .45); }
/* 进行中的场次把 VS 换成实时比分（2026-11-12 用户口径） */
.fx-score {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 18px;
  font-weight: 800;
  color: #ff5c5c;
  font-variant-numeric: tabular-nums;
  min-width: 52px;
  justify-content: center;
}
.fx-score span { font-size: 14px; opacity: .7; }

/* ------------------------------------------------------------
   热门标签 Hot Tags
------------------------------------------------------------ */
.tags { border-top: 1px solid var(--line); padding: 44px 0 50px; }
.tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  font-size: 14px;
  font-weight: 700;
  color: var(--txt-2);
  letter-spacing: .02em;
  transform: skewX(-8deg);
  transition: border-color .18s, color .18s, background .18s, transform .18s;
}
.tag-chip em {
  font-style: normal;
  color: var(--lime);
  font-weight: 800;
  margin-right: 3px;
}
.tag-chip:hover {
  border-color: var(--lime);
  color: var(--lime);
  background: rgba(216, 255, 62, .06);
  transform: skewX(-8deg) translateY(-2px);
}

/* ------------------------------------------------------------
   赛事入口 CTA
------------------------------------------------------------ */
.subscribe {
  background: var(--lime);
  color: var(--ink);
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}
.subscribe .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.subscribe h3 {
  font-size: 27px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -.02em;
  line-height: 1.3;
}
.subscribe p { font-size: 14px; font-weight: 600; margin-top: 6px; opacity: .72; }
.sub-cta { display: flex; align-items: center; gap: 20px; position: relative; z-index: 2; }
.sub-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--ink);
  color: var(--lime);
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: .02em;
  padding: 15px 32px;
  border: 2px solid var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 93% 100%, 0 100%);
  transition: background .2s, color .2s, transform .2s;
}
.sub-btn svg { flex: none; transition: transform .22s; }
.sub-btn:hover { background: var(--orange); color: #fff; transform: translate(-3px, -3px); }
.sub-btn:hover svg { transform: translateX(5px); }
.sub-note {
  font-family: var(--cond);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(10,13,19,.52);
}

/* ------------------------------------------------------------
   页脚 Footer
------------------------------------------------------------ */
footer { background: var(--bg-2); color: var(--txt-2); border-top: 2px solid var(--line); }
.foot-main {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 40px;
  padding: 50px 0 42px;
}
/* 页脚左栏：logo 与站名同一行（和报头一致），介绍另起一行、完整不截断 */
.foot-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.foot-brand .brand-seal {
  width: 52px;
  height: 52px;
  font-size: 28px;
  margin-bottom: 0;
  box-shadow: 4px 4px 0 var(--orange);
}
.foot-brand .foot-logo-img { height: 52px; width: auto; display: block; }
.foot-brand .foot-logo {
  font-size: 34px;
  font-weight: 900;
  font-style: italic;
  color: var(--txt);
  line-height: 1;
  letter-spacing: -.04em;
  display: block;
  margin-bottom: 0;
}
.foot-brand .foot-logo span { color: var(--lime); }
.foot-brand p {
  flex: 0 0 100%;
  font-size: 13px;
  line-height: 1.9;
  max-width: 620px;
  color: var(--txt-3);
  margin-top: 6px;
}
.foot-col h5 {
  font-family: var(--cond);
  color: var(--lime);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .24em;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.foot-col a { display: block; font-size: 13.5px; padding: 5px 0; transition: color .2s, padding-left .2s; }
.foot-col a:hover { color: var(--lime); padding-left: 6px; }
/* 底栏的「网站地图」：就一条普通文字链接，不做加粗 / 荧光下划线 */
.foot-entry {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
.foot-entry:hover { color: var(--lime); text-decoration: underline; }
.foot-bottom {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  font-family: var(--cond);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .08em;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--txt-3);
  text-transform: uppercase;
}

/* 回到顶部 */
.to-top {
  position: fixed;
  right: 26px; bottom: 30px;
  width: 46px; height: 46px;
  background: var(--lime);
  color: var(--ink);
  font-size: 21px;
  font-weight: 900;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all .25s;
  box-shadow: 5px 5px 0 var(--orange);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--orange); color: #fff; box-shadow: 5px 5px 0 var(--lime); }

/* 滚动进场 */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------
   响应式
------------------------------------------------------------ */
@media (max-width: 1200px) {
  .sb-match { grid-template-columns: auto 1fr auto 1fr; }
  .sb-state { display: none; }
  .hero-grid { grid-template-columns: 1fr 340px; }
}
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .slide { min-height: 440px; }
  .slide-body { min-height: 440px; }
  .video-grid { grid-template-columns: 1fr; }
  .video-card .thumb { width: 150px; }
  .fixture-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-main { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .mainnav { display: none; }
  .burger { display: block; }
  .mainnav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    padding: 0;
    background: var(--bg);
    border-bottom: 2px solid var(--lime);
    z-index: 50;
    box-shadow: 0 18px 30px rgba(0,0,0,.5);
  }
  .mainnav.open a { padding: 14px 28px; border-top: 1px solid var(--line); }
  .mainnav.open a::after { display: none; }
  .sb-list { overflow-x: auto; }
  .sb-match { flex: 0 0 330px; }
}
@media (max-width: 820px) {
  .duo-grid { grid-template-columns: 1fr; }
  .duo-col + .duo-col { border-left: none; padding-left: 0; margin-left: 0; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 34px; }
  .board-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .review-item { border-left: none; padding-left: 0; }
  .fixture-grid { grid-template-columns: 1fr; }
  .news-lead { grid-template-columns: 150px 1fr; gap: 16px; }
  .news-lead h3 { font-size: 19px; }
  .subscribe .container { flex-direction: column; align-items: flex-start; }
  .sub-cta { flex-wrap: wrap; gap: 12px; }
  .slide h2 { font-size: 27px; }
  .sec-head h2 { font-size: 25px; }
  .sb-label { display: none; }
  .sb-all { display: none; }
  .has-mark::before { font-size: 90px; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .video-grid { grid-template-columns: 1fr; }
  .video-card .thumb { width: 122px; }
  .tag-chip { padding: 8px 14px; font-size: 13px; }
  .fixture { padding: 16px 18px 14px; }
  .foot-main { grid-template-columns: 1fr; }
  .slide-body { padding: 26px 24px 34px; }
  .slide-ghost { font-size: 84px; right: 20px; }
  .car-dots { right: 24px; bottom: 28px; }
  .match-teams .t { font-size: 13px; }
  .match-teams .score { font-size: 27px; padding: 0 9px; }
  .sub-btn { width: 100%; justify-content: center; }
  .sub-note { display: none; }
  .board:hover { transform: none; box-shadow: none; }
  .foot-brand .foot-logo { font-size: 32px; }
  .news-lead { grid-template-columns: 96px 1fr; gap: 12px; }
  .news-lead h3 { font-size: 16.5px; }
  .news-lead p { -webkit-line-clamp: 2; }
  /* 球员得分榜：窄屏收紧内边距和头像，四列（# / 球员 / 球队 / 场均）在 360px 上也放得下 */
  table.data.scorers th,
  table.data.scorers td { padding-left: 9px; padding-right: 9px; }
  .scorer-cell { gap: 8px; }
  .scorer-face { flex-basis: 30px; width: 30px; height: 30px; font-size: 13px; }
  .scorer-name { font-size: 13px; }
}

/* ============================================================
   php-cms 接入补充（KANTAI 版式在 CMS 里的少量适配）
   —— 原 style.css 是静态页，这里只补「数据驱动后才会出现」的状态
   ============================================================ */

/* 报头站标：后台配了 logo 就用图片，没配就沿用方块字标 */
.brand-logo { height: 46px; width: auto; display: block; }

/* 跑马灯：静态页里是 <span>，CMS 里每条要能点，改成 <a> */
.ticker-track a {
  display: inline-block;
  font-size: 13px;
  color: var(--txt-2);
  padding: 0 34px;
  position: relative;
  letter-spacing: .02em;
}
.ticker-track a:hover { color: var(--lime); }
.ticker-track a b { color: var(--lime); font-weight: 800; margin-right: 8px; }
.ticker-track a::after {
  content: "/";
  position: absolute;
  right: -4px;
  color: var(--line-2);
  font-family: var(--cond);
  font-size: 16px;
  top: -1px;
}

/* 没有封面时的占位：色块 + 标题首字，别让版式塌掉 */
.media.ph {
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 120% at 20% 0%, rgba(216,255,62,.14), transparent 60%),
    linear-gradient(135deg, var(--panel-2), var(--bg));
  border: 1px solid var(--line);
}
.media.ph .ph-mark {
  font-family: var(--sans);
  font-size: 44px;
  font-weight: 900;
  font-style: italic;
  color: rgba(242,245,250,.22);
  letter-spacing: -.04em;
  line-height: 1;
}
.news-item .media.ph .ph-mark { font-size: 26px; }
.slide .media.ph .ph-mark { font-size: 120px; color: rgba(242,245,250,.10); }
.video-card .media.ph .ph-mark { font-size: 32px; }

/* 比分条 / 卡片为空时的说明 */
.empty-line {
  font-family: var(--cond);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--txt-3);
  padding: 14px 0;
}

/* 直播面板里「下一场」列表为空时的说明 */
.live-empty { padding: 14px 22px 18px; }
.live-empty .empty-line { padding: 0; }

/* 数据榜单元格里的数字（场均得分带一位小数） */
table.data .num.hi { white-space: nowrap; }

/* 集锦卡片上没有时长角标时，影格保持比例 */
.video-card .media.thumb { position: relative; }

/* 页脚友情链接（后台可增删，条数不定） */
.foot-col a.foot-link { font-size: 13.5px; }
.foot-col .foot-empty { font-size: 13px; color: var(--txt-3); }

/* 顶部导航指向站内锚点时的高亮 */
.mainnav a.is-anchor { color: var(--txt-2); }

/* CMS 后台注入的统计脚本占位不掉版 */
body > script { display: none; }

/* 比分条：队名叫「拜仁慕尼黑」「北京国安」时，5 格等分会把名字截成「拜」「北」。
   改成每格定宽 + 横向滚动（scrollbar 隐藏），队名不再被吃掉。 */
.sb-list { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.sb-list::-webkit-scrollbar { display: none; }
.sb-match {
  flex: 0 0 268px;
  grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr) auto;
  gap: 9px;
  padding: 12px 14px;
}
.sb-team { min-width: 0; }

@media (max-width: 820px) {
  .sb-match { flex-basis: 100%; }
}

/* 比分条每格再放宽一点：5 个字以内的队名能整名显示 */
.sb-match { flex-basis: 300px; }

/* 窄屏报头：站名收到 24px，汉堡留在可视区里 */
@media (max-width: 560px) {
  .masthead .container { gap: 12px; }
  .brand-name { font-size: 24px; }
  .brand-seal { width: 40px; height: 40px; font-size: 23px; }
  .brand { padding-bottom: 12px; }
  .mh-tools { padding-bottom: 12px; }
  .burger { padding: 6px 10px; font-size: 17px; }
  .sb-match { flex-basis: 88%; }
}

/* 比分条最终形态：5 格等分（design 原样），队名超长用省略号，右侧「全部赛程」不被挤掉 */
.sb-match { flex: 1 1 0; min-width: 0; flex-basis: auto; }

/* 队名长度不一时（拜仁慕尼黑 / 北京国安），5 格等分只能截成两个字。
   改成每格 320px + 横向滚动（带 scroll-snap），名字完整、右边「全部赛程」还在。 */
.sb-list { scroll-snap-type: x proximity; }
.sb-match { flex: 0 0 320px; scroll-snap-align: start; }
.sb-score { font-size: 27px; }
.sb-score span { font-size: 19px; }

/* 没有 JS 时（脚本被拦 / 用户关掉了）不要让 .reveal 的元素永远透明 */
.no-js .reveal { opacity: 1; transform: none; }

/* 用户偏好减少动效：去掉进场位移、轮播自动播（JS 里也判断了） */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* 比分条可横向滚动时，右缘淡出，避免「半张卡片」突然被切断 */
.sb-list {
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
          mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
}
@media (max-width: 820px) {
  .sb-list { -webkit-mask-image: none; mask-image: none; }
}

/* ============================================================
   浅色主题（纸感米白 / 冷灰白）：深色下成立的装饰在浅底上要调淡
   ============================================================ */
body[data-kantai-mode="light"]::before {
  background-image:
    linear-gradient(rgba(10,13,19,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,13,19,.035) 1px, transparent 1px);
}
body[data-kantai-mode="light"] .has-mark::before { -webkit-text-stroke: 1px rgba(10,13,19,.07); }
body[data-kantai-mode="light"] .subscribe::before { color: rgba(10,13,19,.07); }
body[data-kantai-mode="light"] .slide p { color: #E6ECF5; }
body[data-kantai-mode="light"] .slide-meta { color: #D8E0EA; }
body[data-kantai-mode="light"] .car-dots button { color: rgba(255,255,255,.55); }
body[data-kantai-mode="light"] .car-dots button.on { color: #fff; border-bottom-color: #fff; }
body[data-kantai-mode="light"] .ticker-label { color: #fff; }

/* 浅色主题下轮播文字压在照片上，不能跟着正文变成深色 */
body[data-kantai-mode="light"] .slide h2,
body[data-kantai-mode="light"] .slide h2 a { color: #FFFFFF; }
body[data-kantai-mode="light"] .slide h2 a:hover { color: #FFD9A8; }
body[data-kantai-mode="light"] .slide-kicker { color: #E9EEF6; }

/* 右栏直播面板比轮播高时（待赛场次多），轮播会被拉长但幻灯片不跟随，底部露出一条面板底。
   让 track / slide 撑满轮播高度（min-height 仍然保底 530）。 */
.carousel .car-track { height: 100%; }
.carousel .slide { height: 100%; }

/* ============================================================
   有背景图时（body.has-site-bg）：顶部 / 底部透明，文字板块加半透明底
   ============================================================ */
body.has-site-bg .masthead {
  background: color-mix(in srgb, var(--bg) 68%, transparent);
  border-bottom-color: color-mix(in srgb, var(--line) 70%, transparent);
}
body.has-site-bg .ticker { background: color-mix(in srgb, var(--bg-2) 74%, transparent); }
body.has-site-bg .scorebar { background: color-mix(in srgb, var(--panel) 76%, transparent); }

/* 足球 / 篮球资讯、数据榜、赛事预告、精彩集锦、赛事回顾、热门标签：
   半透明底只罩住内容那一列（max-width 1280 的 .container），不铺满整行，
   这样两侧留白处还能看到背景图，正文又不会糊在图上。 */
body.has-site-bg #football > .container,
body.has-site-bg .fixtures > .container,
body.has-site-bg #clips > .container,
body.has-site-bg .reviews > .container,
body.has-site-bg .tags > .container,
body.has-site-bg .standings > .container {
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  border-radius: 18px;
  padding: 30px 28px;
}
body.has-site-bg .standings > .container {
  background: color-mix(in srgb, var(--bg-2) 86%, transparent);
}

/* 页脚透明；底栏那条分隔线继续留着 */
body.has-site-bg footer { background: color-mix(in srgb, var(--bg-2) 74%, transparent); }
body.has-site-bg footer .foot-bottom { background: transparent; }

/* ------------------------------------------------------------
   长队名截断（2026-11-06）
   「正在直播」「今日重点」里队名过长时用省略号，不再把比分/时间挤出去。
   队名都包在 <span class="tn"> / <span class="n-teams"> 里（home.php 里加的），
   这里只管「撑不下就截断」：flex 容器给 min-width:0，文字块给 nowrap + ellipsis。
------------------------------------------------------------ */
.match-teams .t { min-width: 0; }
.match-teams .t .tn {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* 客队在右边，截断方向和主队相反 */
.match-teams .t.away .tn { text-align: right; }
.match-teams .t .team-logo { flex: none; }

.next-item { min-width: 0; }
.next-item .n-main {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}
.next-item .n-league { flex: none; }
.next-item .n-teams {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.next-item .n-time { flex: none; }
