/* ============================================================
   边线 SIDELINE · 首页版式（设计稿 `边线体育.html`）
   只给首页用（layout_sideline_top.php 加载）；页头页脚在 sideline-chrome.css。

   和设计稿的差别都是「接口没有的字段不编」：
     · 观众人数 / 场馆 / 比赛分钟 → 开赛时间、日期、接口给的状态（第X节 / 中场）；
     · 集锦时长 / 播放量         → data-cms 集锦是图文，角标写「图文」；
     · 球队效率 / 主场胜率圆环   → 没有技术统计，数据看板只留三个真实排行榜；
     · 本周升温 +182%            → 右栏换成「热门栏目 + 篇数」。
   队徽用的是接口给的队徽图（透明 PNG），取不到时退回队名首字色块。
   ============================================================ */
:root {
  --bg: #f1f4f9;
  --bg2: #f6f9fc;
  --panel: #fdfefe;
  --panel2: #f8fafc;
  --panel3: #e6e9ef;
  --ink: #0b1020;
  --ink-rgb: 11 16 32;
  --ink2: #1a233c;
  --muted: #5c6884;
  --muted2: #8b95ac;
  --line: #dadde3;
  --line2: #c6cbd6;
  --blue: #2b4eff;
  --blue-rgb: 43 78 255;
  --blue-d: #173bd6;
  --on-accent: #ffffff;
  --orange: #f57c3f;
  --orange-rgb: 245 124 63;
  --mint: #0fbd96;
  --violet: #9a3ff5;
  --violet-rgb: 154 63 245;
  --pink: #ff3d7f;
  --live: #ff2d55;
  --live-rgb: 255 45 85;
  --amber: #ffd84d;
  --accent-lt: #7d84ff;
  --band: #0b1020;
  --band-ink: #ffffff;
  --r: 18px;
  --page: 1200px;
  --gutter: clamp(16px, 3.6vw, 32px);
  --font-d: "Space Grotesk", "Noto Sans SC", system-ui, sans-serif;
  --font-b: "Noto Sans SC", system-ui, -apple-system, "Microsoft YaHei", sans-serif;
  --num: "Barlow Condensed", "Space Grotesk", sans-serif;
  --sh: 0 1px 2px rgb(11 16 32 / .05), 0 14px 34px -22px rgb(11 16 32 / .28);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  background-color: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body.is-sideline {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-b);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-sideline a { color: inherit; text-decoration: none; }
body.is-sideline button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
body.is-sideline svg { display: block; }
body.is-sideline img { max-width: 100%; }

.wrap {
  width: min(var(--page), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

body.is-sideline main section[id] { scroll-margin-top: 84px; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .45; }
}

/* ========== 直播条 ========== */
.livebar {
    background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.livebar__in {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 44px;
  overflow-x: auto;
  scrollbar-width: none;
}

.livebar__in::-webkit-scrollbar { display: none; }

.livebar__label {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--live);
}

.livebar__label i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--live);
}

/* 没有直播时这一条报的是「即将开赛」，用蓝色，别和直播红混 */
.livebar__label--next { color: var(--blue); }
.livebar__label--next i { background: var(--blue); }

.lpill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
  font-size: 12px;
    color: var(--ink2);
  padding-right: 16px;
  border-right: 1px solid var(--line);
  transition: color .16s;
}

.lpill:hover { color: var(--blue); }

.lpill em {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
    color: var(--ink2);
    background: var(--panel2);
  padding: 2px 6px;
  border-radius: 5px;
}

.lpill b {
  font-family: var(--num);
  font-size: 15px;
  letter-spacing: .04em;
  color: var(--ink);
}

.lpill.more {
  color: var(--blue);
  font-weight: 700;
  border-right: 0;
  padding-right: 0;
}

.lpill__vs {
  font-size: 11px;
  color: var(--muted2);
  letter-spacing: .02em;
}

/* ========== Hero ========== */
.hero-wrap { padding-top: 22px; }

.hero {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: 470px;
  box-shadow: 0 30px 60px -34px rgba(23, 59, 214, .55);
  isolation: isolate;
  background: var(--ink);
}

.hero__stage {
  position: absolute;
  inset: 0;
}

.hslide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: opacity .55s ease, transform .55s ease, visibility .55s;
  color: #fff;
  display: block;
}

.hslide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  z-index: 2;
}

.hslide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, .055) 0 1px, transparent 1px 22px);
  pointer-events: none;
}

.s1 { background: radial-gradient(120% 130% at 84% 14%, #8b5cff 0, #2b4eff 46%, #173bd6 100%); }
.s2 { background: radial-gradient(120% 130% at 84% 14%, #22d6aa 0, #0b8f79 46%, #055044 100%); }
.s3 { background: radial-gradient(120% 130% at 84% 14%, #ff6ad5 0, #7c3bff 46%, #4318c9 100%); }

/* 后台 banner 并进 Hero：整张图原样打底（2026-11-19 口径：去掉图前的压暗滤镜） */
.hslide.sb {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 斜纹纹理也压在图上，banner 图不要，去掉 */
.hslide.sb::before {
  content: none;
}

/* 图上压后台「标题」：抬到底部操作条（hero__nav 高约 70px）上方（2026-11-19 口径：不带文字阴影） */
.hslide-cap {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 88px;
  z-index: 3;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.4;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  pointer-events: none;
}

.hero__art {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: min(48vw, 600px);
  height: auto;
  opacity: .9;
  pointer-events: none;
}

.hero__ghost {
  position: absolute;
  right: 32px;
  top: 8px;
  font-family: var(--num);
  font-size: clamp(110px, 16vw, 210px);
  line-height: .82;
  font-weight: 700;
  letter-spacing: -.02em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, .2);
  pointer-events: none;
}

.hero__copy {
  position: absolute;
  left: clamp(22px, 3.4vw, 44px);
  top: clamp(24px, 3.6vw, 44px);
  max-width: min(54%, 640px);
  color: #fff;
  z-index: 3;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-d);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 12px;
}

.kicker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffb2c4;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .18);
}

.hero h1 {
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -.03em;
  margin: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.hero h1 em {
  font-style: normal;
  color: var(--amber);
}

.hero__sub {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .84);
  max-width: 32em;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.hfact {
  padding: 5px 11px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .24);
  font-size: 11.5px;
  color: #fff;
  font-weight: 600;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.hfact--live {
  background: rgba(255, 45, 85, .3);
  border-color: rgba(255, 255, 255, .35);
}

.hero__board {
  position: absolute;
  right: clamp(22px, 3.4vw, 44px);
  bottom: 96px;
  width: 300px;
  padding: 16px 18px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .3);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  color: #fff;
  z-index: 3;
}

.hb__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  letter-spacing: .05em;
  color: rgba(255, 255, 255, .72);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.hb__top .l {
  color: #ffc2d1;
  font-weight: 700;
  white-space: nowrap;
}

.hb__top .l.up { color: #d7e0ff; }

.hb__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 9px;
}

.hb__row span {
  font-size: 14px;
  font-weight: 600;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hb__row b {
  font-family: var(--num);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .02em;
  flex: none;
}

.hb__row b.dim { color: rgba(255, 255, 255, .66); }

.hb__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: 11px;
  color: rgba(255, 255, 255, .72);
}

.hb__foot > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hb__cta {
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .5);
  padding-bottom: 1px;
  white-space: nowrap;
}

.hero__nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px clamp(18px, 3.4vw, 44px);
  background: linear-gradient(180deg, rgba(4, 8, 24, 0), rgba(4, 8, 24, .58));
  color: #fff;
}

.hero__idx {
  font-family: var(--num);
  font-size: 22px;
  letter-spacing: .06em;
  flex: none;
}

.hero__idx b { font-size: 30px; }

.hero__segs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  overflow: hidden;
}

.seg {
  height: 3px;
  flex: 0 0 34px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .3);
  transition: .3s;
  padding: 0;
}

.seg.on {
  flex: 0 0 56px;
  background: #fff;
}

.hero__arrows {
  display: flex;
  gap: 8px;
  flex: none;
}

.arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .36);
  display: grid;
  place-items: center;
  color: #fff;
  transition: .18s;
}

.arrow:hover {
  background: #fff;
  color: var(--ink);
}

.arrow svg {
  width: 15px;
  height: 15px;
}

.hero--empty {
  display: grid;
  place-items: center;
  text-align: center;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  padding: 30px;
}

/* ========== 区块头 ========== */
.sec { padding-block: clamp(34px, 4.6vw, 60px); }

.head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-d);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--blue);
  text-transform: uppercase;
  margin: 0 0 8px;
}

.eyebrow i {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.head h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.14;
  margin: 0;
}

.head__sub {
  font-size: 12.5px;
  color: var(--muted2);
  margin-left: 10px;
  font-weight: 500;
  letter-spacing: 0;
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
}

.link svg {
  width: 14px;
  height: 14px;
  transition: .18s;
}

.link:hover svg { transform: translateX(3px); }

.round {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line2);
    background: var(--panel);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: .18s;
}

.round:hover {
    background: var(--blue);
    color: var(--on-accent);
    border-color: var(--blue);
}

.round:disabled {
  opacity: .4;
  cursor: default;
}

.round svg {
  width: 15px;
  height: 15px;
}

.head__tools {
  display: flex;
  gap: 8px;
}

/* ========== 赛程 ========== */
.tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.days {
  display: flex;
  gap: 4px;
    background: var(--panel3);
  padding: 4px;
  border-radius: 99px;
}

.day {
  padding: 6px 13px;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 600;
    color: var(--muted);
  white-space: nowrap;
  transition: .18s;
}

.day.on {
    background: var(--panel);
  color: var(--ink);
    box-shadow: 0 2px 6px rgb(var(--ink-rgb) / .09);
}

.sports {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-left: auto;
}

.sport {
  padding: 7px 13px;
  border-radius: 99px;
  border: 1px solid var(--line);
    background: var(--panel);
  font-size: 12.5px;
  font-weight: 600;
    color: var(--muted);
  transition: .18s;
}

.sport.on {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--on-accent);
}

.sched__count {
  font-size: 12px;
  color: var(--muted2);
  flex: none;
}

.sched__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.match {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 11px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 15px 17px 13px;
  box-shadow: var(--sh);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  color: inherit;
}

.match::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
    background: var(--ac, var(--blue));
}

.match[data-sport="basketball"] { --ac: var(--orange); }
.match[data-sport="football"] { --ac: var(--blue); }

.match:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px -20px rgba(11, 16, 32, .32);
}

.match__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.lg {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .06em;
  padding: 3px 8px;
  border-radius: 6px;
    background: var(--panel2);
    color: var(--ink2);
  max-width: 62%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.st {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 700;
    color: var(--muted);
  white-space: nowrap;
}

.st i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.st--live { color: var(--live); }
.st--live i { animation: pulse 1.5s infinite; }
.st--up { color: var(--blue); }
.st--end { color: var(--muted2); }

.teams {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.team {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.badge {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: var(--bgc, #2b4eff);
  letter-spacing: 0;
  position: relative;
  overflow: hidden;
  flex: none;
}

.badge img {
  position: absolute;
  inset: 2px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  object-fit: contain;
}

/* 有队徽的格子：白底承托彩色徽标（徽标是透明 PNG，压在彩色块上会糊） */
.badge.has-img {
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--muted2);
}

.badge.has-img > span { opacity: 0; }

.team span.tname {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team b {
  font-family: var(--num);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
}

.team b.dim { color: var(--muted2); }

.match__meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: var(--muted2);
}

.match__meta span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 9px;
  border-top: 1px dashed var(--line);
  font-size: 11.5px;
  color: var(--muted);
}

.match__cta {
  color: var(--blue);
  font-weight: 800;
  font-size: 11.5px;
  white-space: nowrap;
}

/* ========== 资讯 ========== */
.news__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.leadcard {
  grid-column: span 5;
    background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--sh);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}

.leadcard:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px -24px rgba(11, 16, 32, .35);
}

.art {
  position: relative;
  overflow: hidden;
    background: linear-gradient(135deg, var(--blue), var(--violet) 60%, var(--orange) 130%);
  display: block;
}

.art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .26) 1px, transparent 1px);
  background-size: 9px 9px;
  opacity: .55;
  mix-blend-mode: overlay;
}

.art::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 18px);
}

.art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 有真实封面时关掉装饰纹理，别把照片糊成噪点 */
.art--photo::before,
.art--photo::after { display: none; }

.art__ghost {
  position: absolute;
  right: 10px;
  bottom: -10px;
  font-family: var(--num);
  font-size: clamp(56px, 6vw, 86px);
  line-height: .8;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, .28);
  letter-spacing: -.01em;
}

.art--a { background: linear-gradient(135deg, var(--blue), var(--violet) 58%, var(--orange) 135%); }
.art--b { background: linear-gradient(135deg, var(--mint), color-mix(in srgb, var(--mint) 62%, #fff) 62%, var(--amber) 140%); }
.art--c { background: linear-gradient(135deg, var(--orange), var(--pink) 66%, var(--violet) 140%); }
.art--d { background: linear-gradient(135deg, color-mix(in srgb, var(--blue) 55%, #000), var(--blue) 62%, var(--accent-lt) 140%); }
.art--e { background: linear-gradient(135deg, color-mix(in srgb, var(--violet) 55%, #000), var(--violet) 55%, var(--accent-lt) 135%); }

.leadcard .art { aspect-ratio: 16/9; }

.leadcard__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 4px 9px;
  border-radius: 6px;
  align-self: flex-start;
}

.chip--ball { background: color-mix(in srgb, var(--orange) 14%, var(--panel)); color: color-mix(in srgb, var(--orange) 78%, var(--ink)); }
.chip--foot { background: color-mix(in srgb, var(--blue) 12%, var(--panel)); color: color-mix(in srgb, var(--blue) 82%, var(--ink)); }
.chip--esp { background: color-mix(in srgb, var(--violet) 12%, var(--panel)); color: color-mix(in srgb, var(--violet) 82%, var(--ink)); }
.chip--live { background: color-mix(in srgb, var(--live) 14%, var(--panel)); color: color-mix(in srgb, var(--live) 78%, var(--ink)); }

.leadcard h3 {
  font-size: 22px;
  line-height: 1.32;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0;
}

.leadcard p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted2);
  flex-wrap: wrap;
}

.meta b {
  color: var(--ink2);
  font-weight: 600;
}

.news__minis {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mini {
    background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--sh);
  flex: 1;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease;
  min-height: 0;
}

.mini:hover { transform: translateY(-3px); }

.mini .art { aspect-ratio: 16/6; }
.mini .art__ghost { font-size: 40px; bottom: -6px; }

.mini__body {
  padding: 12px 15px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mini h4 {
  font-size: 15px;
  line-height: 1.45;
  font-weight: 800;
  margin: 0;
  letter-spacing: -.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mini .meta { font-size: 10.5px; }

.brief {
  grid-column: span 3;
    background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 16px 8px;
  box-shadow: var(--sh);
  display: flex;
  flex-direction: column;
}

.brief__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.brief__head h3 {
  font-size: 14px;
  font-weight: 800;
  margin: 0;
}

.brief__head span {
  font-size: 10px;
  font-weight: 700;
  color: var(--live);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.brief__head span i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--live);
  animation: pulse 1.6s infinite;
}

.brief__list {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.brief__item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 8px;
  padding: 9px 0;
    border-bottom: 1px solid var(--line);
}

.brief__item:last-child { border-bottom: 0; }

.brief__item time {
  font-family: var(--num);
  font-size: 12px;
  color: var(--muted2);
  padding-top: 1px;
}

.brief__item h5 {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 600;
  color: var(--ink2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.brief__item h5 span {
  color: var(--blue);
  font-weight: 800;
  margin-right: 4px;
}

.brief__more {
  margin-top: auto;
  padding: 10px 0 6px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  font-weight: 800;
  color: var(--blue);
  text-align: right;
}

/* ========== 集锦 ========== */
.reel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 2px 2px 10px;
  scrollbar-width: none;
}

.reel::-webkit-scrollbar { display: none; }

.reel__card {
  flex: 0 0 288px;
  scroll-snap-align: start;
    background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--sh);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease;
}

.reel__card:hover { transform: translateY(-3px); }

.reel__art {
  aspect-ratio: 16/9;
  position: relative;
}

.reel__art .art__ghost {
  font-size: 44px;
  right: 8px;
  bottom: -8px;
}

.reel__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  display: grid;
  place-items: center;
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
  transition: .18s;
  z-index: 2;
}

.reel__card:hover .reel__play { transform: translate(-50%, -50%) scale(1.08); }
.reel__play svg { width: 15px; height: 15px; }

.reel__dur {
  position: absolute;
  right: 8px;
  top: 8px;
  z-index: 2;
  background: rgba(11, 16, 32, .78);
  color: #fff;
  font-size: 11px;
  letter-spacing: .04em;
  padding: 2px 6px;
  border-radius: 5px;
}

.reel__body {
  padding: 11px 14px 13px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.reel__body h4 {
  font-size: 14px;
  line-height: 1.45;
  font-weight: 800;
  margin: 0;
  letter-spacing: -.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.9em;
}

.reel__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 10.5px;
  color: var(--muted2);
}

.reel__meta em {
  font-style: normal;
  font-weight: 700;
  color: var(--ink2);
}

.reel__meta em::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--rc, #2b4eff);
  margin-right: 5px;
  vertical-align: 1px;
}

/* ========== 标签 ========== */
.tags__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 292px;
  gap: 26px;
  align-items: start;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: flex-start;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 99px;
    background: var(--panel);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink2);
  transition: .18s;
}

.tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tc, var(--blue));
}

.tag em {
  font-style: normal;
  font-family: var(--num);
  font-size: 11.5px;
  color: var(--muted2);
  letter-spacing: .03em;
}

.tag:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--on-accent);
}

.tag:hover em { color: color-mix(in srgb, var(--on-accent) 62%, transparent); }

.tag--ball { --tc: var(--orange); }
.tag--foot { --tc: var(--blue); }
.tag--esp { --tc: var(--violet); }
.tag--hot { --tc: var(--pink); }

.tags__side {
    background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px 10px;
  box-shadow: var(--sh);
}

.tags__hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.tags__hd h4 {
  font-size: 13px;
  font-weight: 800;
  margin: 0;
}

.tags__hd span {
  font-family: var(--font-d);
  font-size: 9.5px;
  letter-spacing: .16em;
  color: var(--muted2);
}

.trend {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  transition: color .16s;
}

.trend:hover strong { color: var(--blue); }

.trend b {
  font-family: var(--num);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted2);
}

.trend strong {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trend span {
  display: block;
  font-size: 10.5px;
  color: var(--muted2);
  margin-top: 2px;
}

.trend em {
  font-style: normal;
  font-family: var(--num);
  font-size: 12px;
  font-weight: 700;
  color: var(--mint);
  white-space: nowrap;
}

.tags__more {
  display: block;
  text-align: right;
  font-size: 11px;
  font-weight: 800;
  color: var(--blue);
  padding: 10px 0 6px;
  border-top: 1px solid var(--line);
}

.tags__note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted2);
  margin-top: 16px;
}

/* ========== 电竞 ========== */
.esp {
  position: relative;
    background: var(--band);
    color: var(--band-ink);
  padding-block: clamp(44px, 6vw, 72px);
  overflow: hidden;
}

.esp::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 12% 0%, rgb(var(--violet-rgb) / .32), transparent 60%),
    radial-gradient(55% 70% at 88% 100%, rgb(var(--blue-rgb) / .18), transparent 62%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 72px);
  pointer-events: none;
}

.esp .wrap { position: relative; }
.esp .eyebrow { color: var(--accent-lt); }
.esp .head h2 { color: var(--band-ink); }
.esp .head__sub { color: #8a93b8; }
.esp .link { color: var(--accent-lt); }

.esp__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ecard {
  display: flex;
  flex-direction: column;
    background: color-mix(in srgb, var(--band) 84%, var(--blue));
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .18s, border-color .18s;
}

.ecard:hover {
    border-color: color-mix(in srgb, var(--accent-lt) 50%, transparent);
  transform: translateY(-3px);
}

.ecard__art {
  height: 112px;
  flex: none;
  position: relative;
  overflow: hidden;
    background: linear-gradient(135deg, var(--blue), var(--violet) 60%, var(--pink) 130%);
}

.ecard__art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ecard__tag {
  position: absolute;
  left: 12px;
  top: 10px;
  z-index: 2;
  font-family: var(--font-d);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 3px 7px;
  border-radius: 5px;
  background: rgba(6, 16, 24, .62);
  color: #fff;
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ecard__body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.ecard__kind {
  align-self: flex-start;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .05em;
  padding: 2px 7px;
  border-radius: 4px;
    background: rgb(var(--blue-rgb) / .18);
    color: var(--accent-lt);
}

.ecard h4 {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  color: #edf0fb;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ecard p {
  margin: 0;
  font-size: 11px;
  line-height: 1.65;
  color: #8a93b8;
}

.ecard__meta {
  display: flex;
  gap: 7px;
  font-size: 10px;
  color: #7e88ad;
  margin-top: auto;
  padding-top: 4px;
}

.esp__news {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 26px;
  margin-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 6px;
}

.enews {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.enews:hover h5 { color: #fff; }

.enews .idx {
  font-family: var(--num);
  font-size: 12px;
  color: #6e779b;
}

.enews h5 {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  font-weight: 500;
  color: #dce1f2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color .16s;
}

.enews h5 span {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 2px 6px;
  border-radius: 4px;
    background: rgb(var(--blue-rgb) / .18);
    color: var(--accent-lt);
  margin-right: 7px;
  white-space: nowrap;
}

.enews time {
  font-size: 10.5px;
  color: #7e88ad;
  white-space: nowrap;
}

.esp .empty {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .14);
  color: #8a93b8;
}

/* ========== 数据看板 ========== */
.board {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.bcard {
    background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--sh);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.bcard--wide { grid-column: span 5; }
.bcard--mid { grid-column: span 4; }
.bcard--slim { grid-column: span 3; }

.bcard__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.bcard__head h3 {
  font-size: 14px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -.01em;
}

.bcard__head span {
  font-size: 10.5px;
  color: var(--muted2);
  white-space: nowrap;
}

.rankrow {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding-top: 2px;
}

.rankrow .rk {
  font-family: var(--num);
  font-size: 12px;
  color: var(--muted2);
}

.rankrow .nm {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.4;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rankrow .nm i {
  font-style: normal;
  font-size: 10px;
  color: var(--muted2);
  font-weight: 500;
  margin-left: 5px;
}

.rankrow .vl {
  font-family: var(--num);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.rankrow .vl small {
  font-size: .62em;
  font-weight: 600;
  color: var(--muted2);
  margin-left: 1px;
}

.rankrow .vl.first { color: var(--blue); }

.rankrow .bar {
  grid-column: 2/4;
  height: 4px;
  border-radius: 2px;
    background: var(--panel3);
  overflow: hidden;
  margin: -2px 0 4px;
}

.rankrow .bar s {
  display: block;
  height: 100%;
  border-radius: 2px;
    background: linear-gradient(90deg, var(--blue), var(--violet));
  text-decoration: none;
  width: var(--w);
}

.rankrow .bar s.alt { background: linear-gradient(90deg, var(--orange), var(--amber)); }

.stand {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.standrow {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) 34px 32px;
  gap: 6px;
  align-items: center;
  padding: 6px 0;
    border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.standrow:last-child { border-bottom: 0; }

.standrow .rk {
  font-family: var(--num);
  color: var(--muted2);
  font-size: 11.5px;
}

.standrow .tm {
  font-weight: 700;
  font-size: 12.5px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.standrow .wdl {
  font-size: 10.5px;
  color: var(--muted2);
  text-align: right;
}

.standrow .pts {
  font-family: var(--num);
  font-size: 16px;
  font-weight: 700;
  text-align: right;
}

.standrow.top .tm { color: var(--blue); }

/* ========== 空态 ========== */
.empty {
  padding: 36px;
  text-align: center;
  color: var(--muted2);
    background: var(--panel);
  border: 1px dashed var(--line2);
  border-radius: 16px;
  font-size: 13px;
  grid-column: 1 / -1;
}

.sec-empty {
  margin: 0;
  padding: 26px;
  text-align: center;
  color: var(--muted2);
    background: var(--panel);
  border: 1px dashed var(--line2);
  border-radius: 16px;
  font-size: 13px;
}

.esp .sec-empty {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .14);
  color: #8a93b8;
}

/* ========== 响应式 ========== */
@media (max-width: 1080px) {
  .hero { height: 480px; }
  .hero__copy { max-width: 52%; }
  .hero__board { width: 270px; right: 24px; }
  .news__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .leadcard { grid-column: span 6; flex-direction: row; min-height: 250px; }
  .leadcard .art { flex: 0 0 42%; aspect-ratio: auto; }
  .leadcard__body { flex: 1; justify-content: center; padding: 18px 22px; }
  .news__minis { grid-column: span 3; }
  .brief { grid-column: span 3; }
  .bcard--wide { grid-column: span 12; }
  .bcard--mid { grid-column: span 6; }
  .bcard--slim { grid-column: span 6; }
  .esp__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .hero { height: 560px; }
  .hero__copy { left: 22px; right: 22px; top: 26px; max-width: none; }
  .hero h1 { font-size: 34px; }
  .hero__sub { font-size: 13.5px; }
  .hero__board { left: 20px; right: 20px; bottom: 72px; width: auto; padding: 13px 15px 12px; }
  .hero__ghost { top: auto; bottom: 130px; right: 18px; font-size: 96px; opacity: .6; }
  .hero__art { right: -80px; opacity: .55; width: 80vw; }
  .sched__grid { grid-template-columns: 1fr; }
  .tags__grid { grid-template-columns: 1fr; }
  .news__grid { grid-template-columns: 1fr; }
  .leadcard,
  .news__minis,
  .brief { grid-column: span 1; }
  .news__minis { display: grid; grid-template-columns: 1fr 1fr; }
  .esp__grid { grid-template-columns: 1fr; }
  .esp__news { grid-template-columns: 1fr; }
  .board { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .bcard--wide,
  .bcard--mid,
  .bcard--slim { grid-column: span 6; }
}

@media (max-width: 640px) {
  .hero-wrap { padding-top: 14px; }
  .hero { height: 540px; border-radius: 20px; }
  .hero__copy { left: 18px; right: 18px; top: 22px; }
  .hero h1 { font-size: clamp(26px, 7vw, 31px); }
  .hero__sub { display: none; }
  .hero__facts { margin-top: 12px; gap: 6px; }
  .hfact { font-size: 10.5px; padding: 4px 9px; }
  .hero__ghost { font-size: 72px; bottom: 150px; right: 12px; }
  .hero__board { bottom: 66px; left: 16px; right: 16px; padding: 11px 13px; }
  .hb__row b { font-size: 26px; }
  .hero__nav { padding: 12px 16px; gap: 12px; }
  .hero__idx { font-size: 16px; }
  .hero__idx b { font-size: 22px; }
  .seg { flex-basis: 24px; }
  .seg.on { flex-basis: 40px; }
  .arrow { width: 32px; height: 32px; }
  .head { align-items: flex-start; }
  .head__sub { display: block; margin: 6px 0 0; }
  .days { overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .days::-webkit-scrollbar { display: none; }
  .day { padding: 6px 11px; font-size: 12px; }
  .sports { margin-left: 0; width: 100%; }
  .sched__count { margin-left: auto; }
  .match { padding: 13px 14px 12px; }
  .team b { font-size: 23px; }
  .leadcard h3 { font-size: 19px; }
  .leadcard { flex-direction: column; min-height: 0; }
  .leadcard .art { flex: none; aspect-ratio: 16/9; }
  .leadcard__body { justify-content: flex-start; padding: 14px 16px 16px; }
  .news__minis { grid-template-columns: 1fr; }
  .reel__card { flex-basis: 82%; }
  .esp__grid { grid-template-columns: 1fr; }
  .esp__news { gap: 0; }
  .enews { grid-template-columns: 24px minmax(0, 1fr); gap: 8px; }
  .enews time { display: none; }
  .board { grid-template-columns: 1fr; }
  .bcard--wide,
  .bcard--mid,
  .bcard--slim { grid-column: span 1; }
  .tag { font-size: 12px; padding: 8px 12px; }
}

@media (max-width: 400px) {
  .hero { height: 520px; }
  .hero__ghost { font-size: 62px; bottom: 146px; }
  .hero__board { bottom: 62px; }
  .day { padding: 6px 9px; font-size: 11.5px; }
  .rankrow .vl { font-size: 15px; }
}

@media (max-width: 360px) {
  .hero__facts .hfact:nth-child(3) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hslide,
  .seg,
  .arrow,
  .match,
  .leadcard,
  .mini,
  .ecard,
  .reel__card { transition: none; }
  .brief__head span i,
  .st--live i { animation: none; }
}
