:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-2: #0b1628;
  --panel: #101c2f;
  --panel-2: #12263b;
  --line: rgba(148, 163, 184, .22);
  --text: #e7f3ff;
  --muted: #9fb2c9;
  --cyan: #22d3ee;
  --cyan-2: #0891b2;
  --orange: #f97316;
  --green: #22c55e;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(0, 0, 0, .32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(34, 211, 238, .07), transparent 360px),
    linear-gradient(90deg, rgba(249, 115, 22, .05), transparent 45%),
    var(--bg);
  color: var(--text);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

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

h1,
h2,
h3,
p {
  margin: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 17, 31, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
}

.brand span {
  display: grid;
  gap: 1px;
}

.brand b {
  font-size: 20px;
  line-height: 1.1;
}

.brand small {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.primary-nav a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: #d6e2f0;
  border-radius: 6px;
  font-weight: 700;
}

.primary-nav a:hover {
  color: var(--cyan);
  background: rgba(34, 211, 238, .08);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  color: var(--white);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
  border-radius: 99px;
}

.hero-section {
  position: relative;
  padding: 72px 0 44px;
  background:
    linear-gradient(135deg, rgba(34, 211, 238, .16), rgba(7, 17, 31, 0) 48%),
    linear-gradient(180deg, #0b1628 0%, #07111f 100%);
  border-bottom: 1px solid var(--line);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent 86%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, .62);
  animation: pulse 1.5s ease-out infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.hero-copy h1,
.page-hero h1,
.article-hero h1 {
  margin-top: 16px;
  max-width: 860px;
  font-size: 54px;
  line-height: 1.08;
  font-weight: 900;
}

.hero-text,
.page-hero p,
.article-hero p,
.section-head p,
.split-panel p {
  color: var(--muted);
}

.hero-text {
  max-width: 760px;
  margin-top: 18px;
  font-size: 18px;
}

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

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-weight: 900;
}

.btn-primary {
  background: linear-gradient(90deg, var(--cyan), var(--cyan-2));
  border-color: rgba(34, 211, 238, .6);
  color: #04111c;
}

.btn-ghost {
  background: rgba(255, 255, 255, .05);
  color: var(--text);
}

.match-console {
  border: 1px solid rgba(34, 211, 238, .35);
  background: linear-gradient(180deg, rgba(16, 28, 47, .94), rgba(10, 22, 37, .94));
  border-radius: 8px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.console-head,
.score-row small,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.console-head {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.console-head span,
.score-row small,
.list-item small,
.news-card small {
  color: var(--muted);
  font-size: 13px;
}

.console-head strong {
  color: var(--orange);
}

.score-row {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
}

.score-row div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  font-weight: 800;
}

.score-row b {
  color: var(--cyan);
  font-size: 24px;
}

.is-live {
  border-color: rgba(239, 68, 68, .42);
}

.ticker-band {
  border-block: 1px solid var(--line);
  background: #0a1424;
}

.ticker-list {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}

.ticker-list span {
  flex: 0 0 auto;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #cfe8f5;
  background: rgba(255, 255, 255, .04);
  font-size: 14px;
  font-weight: 800;
}

.section {
  padding: 66px 0;
}

.section-ink {
  background: linear-gradient(180deg, #081323, #0f1b2f);
  border-block: 1px solid var(--line);
}

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

.section-head h2,
.split-panel h2 {
  margin-top: 8px;
  font-size: 34px;
  line-height: 1.18;
}

.section-head p {
  max-width: 460px;
}

.feature-grid,
.news-grid,
.gallery-grid,
.channel-grid {
  display: grid;
  gap: 18px;
}

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

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

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

.feature-card,
.news-card,
.channel-card,
.side-panel,
.list-item,
.article-main,
.gallery-grid figure {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .045);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
}

.feature-card,
.channel-card,
.side-panel {
  padding: 18px;
}

.feature-card img,
.news-card img,
.gallery-grid img,
.list-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  background: var(--panel);
}

.feature-card h3,
.news-card h3,
.channel-card strong,
.list-item h2 {
  margin-top: 14px;
  font-size: 20px;
  line-height: 1.3;
}

.feature-card p,
.news-card p,
.channel-card span,
.list-item p,
.side-panel p {
  margin-top: 8px;
  color: var(--muted);
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: center;
}

.visual-frame {
  display: block;
  border: 1px solid rgba(34, 211, 238, .28);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.visual-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 12px 14px;
  border-left: 3px solid var(--cyan);
  background: rgba(255, 255, 255, .045);
  border-radius: 8px;
}

.channel-card {
  min-height: 156px;
  display: grid;
  align-content: start;
}

.channel-card small {
  color: var(--orange);
  font-weight: 900;
}

.news-card a {
  display: block;
  padding: 12px;
}

.news-card div {
  padding: 4px 4px 8px;
}

.gallery-grid figure {
  margin: 0;
  padding: 10px;
}

.gallery-grid figcaption {
  padding: 10px 2px 0;
  color: var(--text);
  font-weight: 900;
}

.page-hero,
.article-hero {
  padding: 58px 0;
  background: linear-gradient(135deg, rgba(34, 211, 238, .14), rgba(249, 115, 22, .08)), #0a1424;
  border-bottom: 1px solid var(--line);
}

.page-hero h1,
.article-hero h1 {
  font-size: 44px;
}

.page-hero p,
.article-hero p {
  max-width: 860px;
  margin-top: 14px;
  font-size: 18px;
}

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

.main-column,
.article-list {
  display: grid;
  gap: 16px;
}

.list-item a {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  padding: 14px;
}

.list-item img {
  aspect-ratio: 1 / 1;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.pagination a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .045);
}

.sidebar {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 98px;
}

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

.side-link {
  min-height: 56px;
  display: grid;
  gap: 2px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.side-link span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
}

.breadcrumbs a {
  color: var(--cyan);
}

.article-main {
  padding: 28px;
  background: #0f1b2d;
}

.summary {
  display: block;
  padding: 16px 18px;
  border-left: 4px solid var(--orange);
  border-radius: 8px;
  background: rgba(249, 115, 22, .09);
  color: #fff4e7;
}

.lead-media,
.body-media-grid figure {
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, .04);
}

.lead-media img,
.body-media-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.lead-media figcaption,
.body-media-grid figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 14px;
}

.article-body {
  color: #dbe8f7;
}

.article-body :where(p, ul, ol, blockquote, h2, h3) {
  margin: 18px 0 0;
}

.article-body a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(34, 211, 238, .42);
}

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

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

.neighbor-links div {
  min-height: 112px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .045);
}

.neighbor-links h2 {
  font-size: 16px;
  color: var(--orange);
}

.neighbor-links a {
  display: block;
  margin-top: 8px;
  color: var(--text);
}

.page-layout {
  grid-template-columns: minmax(0, 1fr) 300px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #060e1a;
  padding: 44px 0 24px;
}

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

.footer-grid h2 {
  margin-bottom: 12px;
  font-size: 18px;
}

.footer-grid p,
.footer-bottom {
  color: var(--muted);
}

.footer-brand p {
  margin-top: 14px;
  max-width: 520px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  min-height: 36px;
  color: #cfe8f5;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

@media (max-width: 1023px) {
  .hero-grid,
  .split-panel,
  .content-layout,
  .page-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .news-grid,
  .gallery-grid,
  .channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sidebar {
    position: static;
  }
}

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

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

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    inset: 72px 14px auto 14px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(8, 17, 31, .98);
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: grid;
    gap: 4px;
  }

  .primary-nav a {
    width: 100%;
  }

  .hero-section {
    padding: 46px 0 34px;
  }

  .hero-copy h1,
  .page-hero h1,
  .article-hero h1 {
    font-size: 34px;
  }

  .hero-text,
  .page-hero p,
  .article-hero p {
    font-size: 16px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section {
    padding: 42px 0;
  }

  .section-head {
    display: grid;
    gap: 10px;
    align-items: start;
  }

  .section-head h2,
  .split-panel h2 {
    font-size: 26px;
  }

  .feature-grid,
  .news-grid,
  .gallery-grid,
  .channel-grid,
  .body-media-grid,
  .neighbor-links {
    grid-template-columns: 1fr;
  }

  .list-item a {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
  }

  .list-item h2 {
    font-size: 18px;
  }

  .article-main {
    padding: 18px;
  }

  .footer-bottom {
    display: grid;
  }
}
