:root {
  --ink: #14201f;
  --muted: #64706c;
  --line: #dfe7e1;
  --paper: #ffffff;
  --soft: #f4f7f5;
  --teal: #123b38;
  --teal-2: #1f7a5a;
  --gold: #d5a642;
  --red: #c23b32;
  --blue: #2563eb;
  --shadow: 0 18px 50px rgba(20, 32, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 59, 56, 0.96);
  color: #fff;
  box-shadow: 0 12px 36px rgba(18, 59, 56, 0.2);
}

.top-strip {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
}

.top-strip-inner,
.header-inner,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.top-strip-inner {
  min-height: 34px;
  color: rgba(255, 255, 255, 0.76);
}

.header-inner {
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}

.brand img {
  width: 44px;
  height: 44px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
  background: rgba(213, 166, 66, 0.2);
  outline: none;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: transparent;
  padding: 12px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.score-ticker {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #0e2f2d;
}

.ticker-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  overflow-x: auto;
}

.ticker-card {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  align-items: center;
  min-width: 220px;
  min-height: 54px;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.ticker-card span,
.match-card span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.ticker-card strong,
.ticker-card em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticker-card em {
  color: rgba(255, 255, 255, 0.7);
  font-style: normal;
  font-size: 13px;
}

.live-dot {
  background: var(--red) !important;
  animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(194, 59, 50, 0.45);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(194, 59, 50, 0);
  }
}

.hero {
  min-height: 560px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(10, 35, 33, 0.92), rgba(10, 35, 33, 0.68), rgba(10, 35, 33, 0.2)),
    url("../picture/hero.webp") center / cover no-repeat;
  color: #fff;
}

.hero-inner {
  padding: 96px 0 112px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1,
.sub-hero h1 {
  margin: 10px 0 18px;
  max-width: 760px;
  font-size: 56px;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero p,
.sub-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  background: var(--gold);
  color: #17211f;
  font-weight: 800;
}

.btn-light {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.section {
  padding: 58px 0;
}

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

.section-head h2,
.site-footer h2,
.side-panel h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: 0;
}

.focus-band,
.article-detail,
.side-panel,
.content-card,
.news-item,
.channel-card,
.faq-grid article,
.match-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.focus-band {
  margin-top: -44px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.focus-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  gap: 18px;
}

.focus-main {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) 1fr;
  gap: 22px;
  align-items: center;
}

.focus-main img {
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.focus-main span {
  color: var(--red);
  font-weight: 800;
}

.focus-main h3,
.content-card h3,
.news-item h2,
.news-item h3,
.faq-grid h3,
.match-card strong {
  margin: 8px 0;
  font-size: 21px;
  line-height: 1.35;
}

.focus-main p,
.content-card p,
.news-item p,
.faq-grid p,
.match-card p,
.side-panel span,
.channel-card span {
  margin: 0;
  color: var(--muted);
}

.focus-side {
  display: grid;
  gap: 12px;
}

.focus-side a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 92px;
  padding: 16px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: #f8fbfa;
}

.card-grid,
.channel-grid,
.faq-grid,
.match-grid,
.stat-grid {
  display: grid;
  gap: 18px;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-card {
  overflow: hidden;
}

.content-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.content-card h3,
.content-card p,
.content-card time {
  padding-left: 18px;
  padding-right: 18px;
}

.content-card h3 {
  padding-top: 8px;
}

.content-card p {
  padding-bottom: 20px;
}

.text-only-card {
  padding-top: 18px;
}

.stats-band {
  background:
    linear-gradient(90deg, rgba(18, 59, 56, 0.94), rgba(18, 59, 56, 0.76)),
    url("../picture/ticker.webp") center / cover no-repeat;
  color: #fff;
}

.stats-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 36px;
  align-items: center;
}

.stats-inner p {
  color: rgba(255, 255, 255, 0.78);
}

.stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-grid article {
  min-height: 116px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.stat-grid strong {
  display: block;
  color: var(--gold);
  font-size: 32px;
  line-height: 1.2;
}

.stat-grid span {
  color: rgba(255, 255, 255, 0.76);
}

.channel-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.channel-card {
  display: flex;
  flex-direction: column;
  min-height: 164px;
  padding: 20px;
  background: #fff;
}

.channel-card small,
.news-item time,
.content-card time,
.article-meta,
.breadcrumb {
  color: var(--muted);
  font-size: 13px;
}

.channel-card strong {
  margin: 8px 0;
  color: var(--teal);
  font-size: 20px;
}

.news-section {
  padding-top: 28px;
}

.news-list {
  display: grid;
  gap: 14px;
}

.news-item {
  padding: 20px;
}

.news-item h2,
.news-item h3 {
  margin: 6px 0 8px;
}

.news-item a:hover,
.side-link:hover,
.channel-card:hover {
  color: var(--teal-2);
}

.news-item.with-media {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  align-items: center;
}

.news-item.with-media img {
  width: 220px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

.faq-section {
  padding-top: 28px;
}

.faq-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq-grid article {
  padding: 20px;
}

.sub-hero {
  margin: 28px 0;
  padding: 62px 48px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(18, 59, 56, 0.9), rgba(18, 59, 56, 0.68)),
    url("../picture/sea.webp") center / cover no-repeat;
  color: #fff;
}

.sports-hero {
  background:
    linear-gradient(90deg, rgba(18, 59, 56, 0.9), rgba(18, 59, 56, 0.58)),
    url("../picture/sports.webp") center / cover no-repeat;
}

.entertainment-hero {
  background:
    linear-gradient(90deg, rgba(18, 59, 56, 0.9), rgba(18, 59, 56, 0.58)),
    url("../picture/service.webp") center / cover no-repeat;
}

.not-found {
  background:
    linear-gradient(90deg, rgba(18, 59, 56, 0.94), rgba(18, 59, 56, 0.62)),
    url("../picture/hero.webp") center / cover no-repeat;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.main-column,
.sidebar {
  display: grid;
  gap: 18px;
}

.side-panel {
  padding: 20px;
}

.side-panel h2 {
  margin-bottom: 14px;
  font-size: 20px;
}

.side-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 58px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.side-link strong {
  line-height: 1.4;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
}

.pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.match-center {
  padding-top: 16px;
}

.match-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.match-card {
  min-height: 146px;
  padding: 20px;
}

.match-card strong {
  display: block;
  margin-top: 12px;
}

.article-layout {
  margin-top: 28px;
  margin-bottom: 58px;
}

.article-detail {
  padding: 34px;
}

.article-head h1 {
  margin: 12px 0 10px;
  font-size: 38px;
  line-height: 1.25;
  letter-spacing: 0;
}

.article-head strong {
  display: block;
  margin-top: 14px;
  color: var(--teal);
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.breadcrumb a {
  color: var(--teal-2);
}

.lead-media {
  margin: 28px 0;
}

.lead-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}

figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.article-body {
  color: #283331;
  font-size: 17px;
}

.article-body p {
  margin: 0 0 18px;
}

.article-body h2,
.article-body h3 {
  margin: 28px 0 12px;
  line-height: 1.35;
}

.body-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.body-media-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

.related-section {
  padding-bottom: 0;
}

.site-footer {
  background: #102725;
  color: #fff;
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}

.site-footer p,
.footer-links a,
.footer-bottom {
  color: rgba(255, 255, 255, 0.72);
}

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

.footer-links a {
  min-height: 32px;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

@media (max-width: 1023px) {
  .hero h1,
  .sub-hero h1 {
    font-size: 42px;
  }

  .focus-grid,
  .stats-inner,
  .content-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .channel-grid,
  .faq-grid,
  .match-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .top-strip-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
    padding: 6px 0;
  }

  .header-inner {
    min-height: 66px;
  }

  .brand {
    font-size: 22px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 86vw);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 90px 18px 24px;
    background: #102725;
    box-shadow: -22px 0 44px rgba(0, 0, 0, 0.26);
    transform: translateX(100%);
    transition: transform 180ms ease;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav a {
    justify-content: flex-start;
    min-height: 52px;
  }

  .ticker-track {
    display: flex;
    gap: 10px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero {
    min-height: 520px;
  }

  .hero-inner {
    padding: 72px 0 88px;
  }

  .hero h1,
  .sub-hero h1 {
    font-size: 36px;
  }

  .hero p,
  .sub-hero p {
    font-size: 17px;
  }

  .section {
    padding: 40px 0;
  }

  .section-head {
    display: block;
  }

  .section-head h2 {
    font-size: 25px;
  }

  .focus-band {
    margin-top: -30px;
    padding: 20px;
  }

  .focus-main,
  .card-grid,
  .compact-grid,
  .channel-grid,
  .faq-grid,
  .match-grid,
  .stat-grid,
  .sidebar,
  .body-media-grid {
    grid-template-columns: 1fr;
  }

  .stats-inner {
    gap: 20px;
  }

  .news-item.with-media {
    grid-template-columns: 1fr;
  }

  .news-item.with-media img {
    width: 100%;
  }

  .sub-hero {
    padding: 44px 22px;
  }

  .article-detail {
    padding: 22px;
  }

  .article-head h1 {
    font-size: 30px;
  }

  .footer-grid {
    gap: 20px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
