:root {
  --black: #0c0c0e;
  --black-2: #16161a;
  --black-3: #1d1d23;
  --red: #e10600;
  --red-2: #ff2a2a;
  --yellow: #ffd200;
  --white: #f5f5f5;
  --gray: #a0a0a8;
  --line: #2a2a32;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, input { font-family: inherit; }
.container { width: min(1180px, calc(100% - 28px)); margin: 0 auto; }
.site-top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(22, 22, 26, .96);
  border-bottom: 3px solid var(--red);
  backdrop-filter: blur(8px);
}
.site-top::before {
  content: "";
  display: block;
  height: 6px;
  background: repeating-linear-gradient(-45deg, var(--red) 0 10px, var(--black) 10px 20px);
}
.top-inner { display: flex; align-items: center; gap: 18px; padding: 12px 0; flex-wrap: wrap; }
.logo {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 1px;
  background: var(--red);
  color: #fff;
  padding: 6px 18px 6px 14px;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
}
.main-nav { display: flex; flex-wrap: wrap; gap: 4px; }
.main-nav a {
  padding: 7px 12px;
  font-weight: 700;
  font-size: 14px;
  clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%);
}
.main-nav a:hover, .main-nav a.on { background: var(--red); color: #fff; }
.main-nav a.nav-focus { color: var(--yellow); }
.main-nav a.nav-focus.on, .main-nav a.nav-focus:hover { color: #fff; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; padding: 18px 0 36px; }
.hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
  background:
    linear-gradient(115deg, rgba(225, 6, 0, .95) 0 42%, rgba(22, 22, 26, .2) 42.2%),
    var(--black-2);
  border: 1px solid var(--line);
}
.hero-inner { padding: 28px 26px 24px; max-width: 640px; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; color: var(--yellow); font-weight: 800; letter-spacing: 1px; font-size: 13px; }
h1 { font-size: 40px; line-height: 1.15; margin: 0 0 10px; }
h2, h3 { margin: 0; }
.hero p { margin: 0; color: #ffe8e6; }
.hero-links { display: flex; gap: 10px; margin-top: 16px !important; }
.sec-title { display: flex; align-items: center; gap: 10px; margin: 22px 0 10px; font-size: 20px; }
.sec-title::before { content: ""; width: 6px; height: 18px; background: var(--red); transform: skewX(-18deg); }
.sec-title a { margin-left: auto; font-size: 13px; color: var(--yellow); }
.lead { color: var(--gray); margin: 0 0 12px; }
.board { margin-bottom: 8px; }
.match-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.match-tabs button {
  background: var(--black-2);
  color: var(--white);
  border: 1px solid var(--line);
  padding: 7px 12px;
  font-weight: 800;
  cursor: pointer;
}
.match-tabs button i { margin-left: 6px; color: var(--yellow); font-style: normal; }
.match-tabs button.on { background: var(--red); border-color: var(--red); }
.lg-group { background: var(--black-2); border: 1px solid var(--line); margin-bottom: 12px; }
.lg-head, .sb-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: linear-gradient(90deg, var(--red), #9d0400);
  font-weight: 800;
}
.lg-head h2 { font-size: 16px; }
.lg-head span, .sb-head span { font-size: 12px; background: rgba(255,255,255,.16); padding: 2px 8px; border-radius: 99px; }
.mhead, .mrow {
  display: grid;
  grid-template-columns: minmax(148px, 188px) minmax(0, 1.15fr) 64px minmax(0, 1.15fr) 84px 68px;
  gap: 8px;
  align-items: center;
  padding: 9px 12px;
}
.mhead { color: var(--gray); font-size: 12px; border-bottom: 1px solid var(--line); }
.mrow { border-bottom: 1px solid var(--line); }
.mrow:last-child { border-bottom: 0; }
.m-time b { display: block; color: var(--yellow); font-size: 13px; line-height: 1.35; }
.m-time span { color: var(--gray); font-size: 12px; }
.team { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 700; }
.team span, .card b, .sb-list b { overflow: hidden; text-overflow: ellipsis; }
.m-away { justify-content: flex-end; text-align: right; }
.m-score { text-align: center; font-weight: 900; }
.m-score.live { color: var(--red-2); }
.m-score.soon { color: var(--yellow); }
.m-score.fin { color: var(--gray); }
.m-league { color: var(--gray); font-size: 13px; }
.crest { width: 36px; height: 36px; object-fit: contain; background: #fff; border-radius: 50%; flex: none; }
.go-live, .ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.go-live:hover { background: var(--red-2); }
.ghost { background: transparent; border: 1px solid #fff; }
.sidebar { display: flex; flex-direction: column; gap: 14px; align-self: start; position: sticky; top: 78px; }
.sb-panel { background: #fff; color: #1c1c22; border-radius: 8px; overflow: hidden; }
.sb-links a, .sb-list a { display: block; padding: 10px 12px; border-top: 1px solid #eee; }
.sb-links a:hover, .sb-list a:hover { background: #fff6f5; }
.sb-list a { display: flex; flex-direction: column; gap: 2px; }
.sb-list span, .card span { color: #888; font-size: 12px; }
.sb-list b { font-weight: 700; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.card { display: flex; flex-direction: column; background: var(--black-2); border: 1px solid var(--line); min-height: 100%; }
.card-cover { aspect-ratio: 16/9; background: #111; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.card-cover img { width: 100%; height: 100%; object-fit: cover; }
.card-body, .video-card { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; }
.card b { font-size: 15px; line-height: 1.45; }
.video-card .vs-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.video-card em { font-style: normal; color: var(--yellow); font-weight: 900; }
.ph { color: var(--yellow); }
.ico { width: 18px; height: 18px; fill: currentColor; vertical-align: -3px; }
.info-card { background: var(--black-2); border: 1px solid var(--line); padding: 8px 16px 16px; margin-top: 18px; }
.faq details { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 12px 0; font-weight: 800; }
.faq details p { margin: 0 0 12px; color: var(--gray); }
.about h3 { margin: 14px 0 6px; font-size: 16px; }
.about ul { margin: 0; padding-left: 18px; color: var(--gray); }
.about .note { color: var(--gray); font-size: 13px; }
.scoreboard {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  background: var(--black-2);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  padding: 18px;
  margin-bottom: 14px;
}
.sb-side { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 18px; }
.sb-side .crest { width: 64px; height: 64px; }
.sb-mid { text-align: center; }
.sb-mid strong { display: block; font-size: 32px; }
.sb-mid strong.live { color: var(--red-2); }
.sb-mid strong.soon { color: var(--yellow); }
.sb-mid em { display: block; margin-top: 4px; color: var(--yellow); font-style: normal; font-weight: 800; }
.sb-mid span { color: var(--gray); font-size: 13px; }
.signals { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 16px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; color: var(--gray); font-size: 13px; margin-bottom: 10px; }
.crumbs a { color: var(--yellow); }
.date-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.date-nav a { padding: 6px 10px; background: var(--black-2); border: 1px solid var(--line); font-weight: 700; }
.date-nav a.on { background: var(--yellow); color: #111; }
.meta-list { list-style: none; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.meta-list li { background: var(--black-2); border: 1px solid var(--line); padding: 8px 10px; font-size: 14px; }
.meta-list span { display: block; color: var(--gray); font-size: 12px; }
.meta-list a { color: var(--yellow); word-break: break-all; }
.article { font-size: 16px; }
.article p { margin: 0 0 12px; }
.article img { display: block; margin: 12px auto; height: auto; }
.article-turn { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.article-turn a, .article-turn span { background: var(--black-2); border: 1px solid var(--line); padding: 10px 12px; min-height: 72px; }
.article-turn small { display: block; color: var(--yellow); }
.pager { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 16px; }
.pager a, .pager .off { min-width: 72px; text-align: center; padding: 6px 10px; background: var(--black-2); border: 1px solid var(--line); }
.pager .off { color: #666; }
.empty-tip { color: var(--gray); padding: 16px 12px; }
.is-hide { display: none !important; }
.site-footer { background: var(--black-2); border-top: 3px solid var(--red); text-align: center; padding: 26px 0 22px; }
.foot-desc, .foot-links { color: var(--gray); font-size: 13px; }
.foot-copy { font-weight: 800; }
.foot-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 16px; }
.foot-links a:hover { color: var(--yellow); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
@media (max-width: 980px) {
  .layout, .card-grid, .article-turn, .meta-list { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  h1 { font-size: 32px; }
}
@media (max-width: 760px) {
  .mhead { display: none; }
  .mrow {
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: "time time time" "home score away" "league league live";
  }
  .m-time { grid-area: time; }
  .m-home { grid-area: home; }
  .m-score { grid-area: score; }
  .m-away { grid-area: away; }
  .m-league { grid-area: league; }
  .go-live { grid-area: live; justify-self: end; }
  .scoreboard { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
