﻿:root {
  --orange: #f57622;
  --orange-dark: #e06515;
  --green: #18a058;
  --red: #e63a2b;
  --blue: #1c6fc4;
  --text: #2b2b2b;
  --text-2: #666666;
  --text-3: #999999;
  --border: #ececec;
  --bg: #f5f6f8;
  --card: #ffffff;
  --radius: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.6;
}

img {
  max-width: 100%;
  border: 0;
  display: block;
}

a {
  text-decoration: none;
  color: var(--blue);
}

a:hover {
  color: var(--orange);
}

ul,
ol {
  list-style: none;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 15px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 15px;
}

.logo img {
  height: 42px;
  width: auto;
}

.main-nav {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
  white-space: nowrap;
}

.main-nav a {
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--orange);
}
.sub-nav {
  background: var(--card);
  border-bottom: 1px solid var(--border);
}

.sub-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 12px 15px;
  max-width: 1080px;
  margin: 0 auto;
}

.sub-nav a {
  color: var(--text-2);
  font-size: 14px;
}

.sub-nav a:hover {
  color: var(--orange);
}
.intro-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: center;
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  max-width: 1080px;
  margin: 20px auto;
}

.intro-text h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.intro-text p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.9;
}

.intro-poster img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 15px;
}

.panel {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}

.panel:last-child {
  margin-bottom: 0;
}
.sec-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.sec-title {
  background: var(--orange);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  padding: 7px 22px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  white-space: nowrap;
}

.sec-head::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--orange);
  opacity: 0.85;
}
.date-group {
  background: #f2f3f5;
  color: var(--text-2);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 6px;
  margin: 14px 0 6px;
}

.date-group:first-of-type {
  margin-top: 0;
}
.match-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 6px;
  border-bottom: 1px dashed var(--border);
}

.match-row:last-child {
  border-bottom: 0;
}
.m-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.m-time {
  color: var(--orange);
  font-size: 14px;
  font-weight: 600;
}

.m-league {
  margin-left: auto;
  color: var(--text-2);
  font-size: 13px;
}

.m-league:hover {
  color: var(--orange);
}
.m-middle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.m-team {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.m-team.home {
  justify-content: flex-end;
}

.m-team img {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}

.m-team span {
  overflow: visible;
}

.m-vs {
  text-align: center;
  color: var(--text-3);
  font-weight: 700;
  font-size: 14px;
}
.m-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
}

.m-status {
  font-size: 14px;
  font-weight: 600;
}

.m-status.live {
  color: var(--red);
}

.m-status.soon {
  color: var(--text-3);
}
.list-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px 6px;
  border-bottom: 1px dashed var(--border);
}

.list-row:last-child {
  border-bottom: 0;
}

.list-date {
  color: var(--text-3);
  font-size: 14px;
}

.list-title a {
  color: var(--blue);
  font-size: 15px;
}

.list-title a:hover {
  color: var(--orange);
}
.sidebar .widget {
  background: var(--card);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 20px;
}

.sidebar .widget:last-child {
  margin-bottom: 0;
}
.league-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px 8px;
}

.league-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 6px 2px;
  text-align: center;
}

.league-item img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.league-name {
  color: var(--text);
  font-size: 12px;
  line-height: 1.4;
}

.league-item:hover .league-name {
  color: var(--orange);
}
.news-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--border);
}

.news-item:last-child {
  border-bottom: 0;
}

.news-item img {
  width: 84px;
  height: 56px;
  border-radius: 6px;
  object-fit: cover;
  flex: 0 0 84px;
}

.news-item .league-name {
  line-height: 1.5;
}
.side-link-list a {
  display: block;
  padding: 9px 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  border-bottom: 1px dashed var(--border);
}

.side-link-list a:last-child {
  border-bottom: 0;
}

.side-link-list a:hover {
  color: var(--orange);
}
.crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #ffffff;
  font-size: 14px;
  padding: 8px 22px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  margin-bottom: 18px;
}

.crumb a {
  color: #ffffff;
}

.crumb a:hover {
  color: #ffe9d8;
}
.article-head {
  text-align: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.article-head h1 {
  font-size: 26px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.article-meta {
  color: var(--text-3);
  font-size: 13px;
}

.article-body p {
  color: var(--text);
  font-size: 15px;
  line-height: 2;
  margin-bottom: 16px;
  text-align: justify;
}

.article-body strong {
  color: var(--text);
}
.stat-panel {
  background: #f5f6f8;
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 20px;
}

.stat-panel .stat-label {
  color: var(--text-2);
  font-size: 14px;
  margin-bottom: 12px;
}

.stat-row {
  background: var(--card);
  border-radius: 6px;
  padding: 13px 16px;
  margin-bottom: 10px;
}

.stat-row:last-child {
  margin-bottom: 0;
}

.stat-row a {
  color: var(--orange);
  font-size: 14px;
}
.matchup {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  text-align: center;
  padding: 24px 0;
}

.matchup .badge img {
  width: 64px;
  height: 64px;
  margin: 0 auto 10px;
}

.matchup .team-name {
  font-weight: 700;
  font-size: 16px;
}

.matchup .mid {
  padding: 0 30px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.9;
}

.matchup .mid .vs-text {
  color: var(--text);
  font-weight: 700;
  font-size: 16px;
}
.stream-panel {
  background: var(--orange);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 18px 0;
}

.stream-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 6px;
}

.stream-btn.alt {
  background: #222222;
}

.stream-btn:hover {
  opacity: 0.9;
  color: #ffffff;
}

.stream-pill {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  font-size: 12px;
  padding: 2px 10px;
}
.info-line {
  margin: 12px 0;
  color: var(--text-2);
  font-size: 15px;
}

.info-line strong {
  color: var(--text);
}

.tag-links {
  margin: 16px 0;
  font-size: 14px;
}

.tag-links a {
  color: var(--orange);
  margin-right: 16px;
}
.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px 0 4px;
}

.page-btn {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #dddddd;
  background: var(--card);
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 14px;
}

.page-btn.current,
.page-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.site-footer {
  background: var(--orange);
  color: #ffe9d8;
  margin-top: 30px;
  padding: 26px 15px;
  text-align: center;
  font-size: 13px;
  line-height: 1.9;
}

.site-footer p {
  max-width: 1080px;
  margin: 0 auto 8px;
}
.mobile-tabbar {
  display: none;
}
@media (max-width: 767px) {
  .header-inner {
    padding: 12px 15px;
  }

  .logo img {
    height: 34px;
  }

  .main-nav ul {
    gap: 18px;
  }

  .main-nav a {
    font-size: 14px;
  }
  .sub-nav {
    display: none;
  }
  .intro-banner {
    display: none;
  }
  .sidebar {
    display: none;
  }

  .layout {
    grid-template-columns: minmax(0, 1fr);
    padding: 14px 0;
  }

  .panel {
    padding: 14px;
  }

  .list-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .article-head h1 {
    font-size: 20px;
  }

  .matchup {
    grid-template-columns: 1fr auto 1fr;
    gap: 10px;
  }

  .matchup .mid {
    padding: 0 6px;
  }

  .stream-panel {
    flex-direction: column;
  }

  .stream-btn {
    justify-content: center;
  }
  .mobile-tabbar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--card);
    border-top: 1px solid var(--border);
    z-index: 50;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .mobile-tabbar a {
    flex: 1;
    text-align: center;
    padding: 8px 0 10px;
    font-size: 12px;
    color: var(--text-2);
  }

  .tab-icon {
    width: 22px;
    height: 22px;
    margin: 0 auto 4px;
    background: var(--orange);
    border-radius: 6px;
    position: relative;
  }

  .tab-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 9px;
    height: 9px;
    margin: -4.5px 0 0 -4.5px;
    border-radius: 50%;
    background: #ffffff;
  }

  body {
    padding-bottom: 64px;
  }
}