:root {
  --bg0: #f4f7f0;
  --bg1: #e8f0e2;
  --bg2: #dce8d4;
  --panel: rgba(255, 255, 255, 0.78);
  --panel-solid: #fbfdF8;
  --line: rgba(76, 125, 68, 0.18);
  --text: #2a3b28;
  --muted: #6a7d64;
  --accent: #3d8b4a;
  --accent2: #5a9e48;
  --accent-deep: #2e6b38;
  --earth: #8b7355;
  --sky: #a8c9b0;
  --warn: #c48a3a;
  --danger: #c45a4a;
  --radius: 14px;
  --shadow: 0 10px 28px rgba(46, 90, 50, 0.1);
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "ZCOOL XiaoWei", "Noto Sans SC", serif;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(900px 480px at 6% -6%, rgba(129, 199, 132, 0.35), transparent 55%),
    radial-gradient(800px 420px at 96% 2%, rgba(168, 201, 176, 0.4), transparent 50%),
    radial-gradient(700px 380px at 50% 100%, rgba(220, 232, 212, 0.7), transparent 60%),
    linear-gradient(168deg, var(--bg0), var(--bg1) 46%, var(--bg2));
  min-height: 100vh;
  line-height: 1.7;
  font-size: 15px;
  background-attachment: fixed;
}

a { color: var(--accent-deep); text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.container {
  width: min(var(--container), calc(100% - 28px));
  margin: 0 auto;
}

/* Header — 参考站 header + flex-between */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(251, 253, 248, 0.9);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(46, 90, 50, 0.05);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px; gap: 14px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); flex-shrink: 0; }
.brand img {
  width: 46px; height: 46px; border-radius: 50%;
  box-shadow: 0 6px 16px rgba(61, 139, 74, 0.28), inset 0 0 0 2px rgba(255,255,255,.75);
  object-fit: cover;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong {
  font-family: var(--display);
  font-size: 1.5rem; letter-spacing: 0.06em; color: var(--accent-deep); font-weight: 400;
}
.brand-text em {
  font-style: normal; font-size: 0.76rem; color: var(--muted);
}

.main-nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.main-nav a {
  color: var(--muted); padding: 8px 14px; border-radius: 999px;
  border: 1px solid transparent; transition: .22s ease; white-space: nowrap;
  font-weight: 500;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--accent-deep);
  background: linear-gradient(135deg, rgba(129,199,132,.35), rgba(168,201,176,.28));
  border-color: var(--line);
}

.nav-toggle {
  display: none; background: transparent; border: 0; padding: 6px; cursor: pointer;
}
.nav-toggle img { width: 28px; height: 28px; opacity: .75; }

.site-main { padding: 22px 0 48px; }

/* Hero 自然风 */
.hero-nature {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  padding: 42px 36px 38px;
  margin-bottom: 28px;
  background:
    linear-gradient(125deg, rgba(46, 107, 56, 0.92), rgba(90, 158, 72, 0.85) 55%, rgba(139, 115, 85, 0.75)),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  color: #f5fbf4;
  box-shadow: var(--shadow);
}
.hero-nature .hero-title {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.55rem);
  margin: 0 0 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  position: relative; z-index: 1;
}
.hero-nature .hero-desc {
  margin: 0 0 22px;
  max-width: 640px;
  opacity: .92;
  font-size: 1.02rem;
  position: relative; z-index: 1;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 22px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  transition: .2s ease; border: 1px solid transparent;
}
.btn-primary {
  background: #fff; color: var(--accent-deep);
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
}
.btn-primary:hover { background: #f0faf0; color: var(--accent); }
.btn-ghost {
  background: rgba(255,255,255,.14); color: #fff;
  border-color: rgba(255,255,255,.35);
}
.btn-ghost:hover { background: rgba(255,255,255,.26); color: #fff; }

.leaf {
  position: absolute; width: 48px; height: 48px; opacity: .22; pointer-events: none;
  background: radial-gradient(circle at 30% 30%, #c8e6c9, #2e7d32 70%);
  border-radius: 60% 40% 55% 45% / 50% 55% 45% 50%;
}
.leaf.l1 { top: 18px; right: 12%; }
.leaf.l2 { bottom: 24px; right: 28%; width: 36px; height: 36px; }
.leaf.l3 { top: 40%; right: 6%; width: 28px; height: 28px; }

.section { margin-bottom: 32px; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 12px; margin-bottom: 16px;
}
.section-head h2 {
  font-family: var(--display);
  margin: 0 0 4px; font-size: 1.45rem; color: var(--accent-deep); font-weight: 400;
}
.section-head p { margin: 0; color: var(--muted); font-size: .9rem; }
.section-head > a {
  flex-shrink: 0; color: var(--accent); font-weight: 500; font-size: .9rem;
}
.page-title {
  font-family: var(--display);
  font-size: 1.7rem; margin: 0 0 18px; color: var(--accent-deep); font-weight: 400;
}

/* 联赛 chips */
.league-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
}
.league-chip {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--text);
  transition: .2s ease;
}
.league-chip:hover {
  transform: translateY(-3px);
  border-color: rgba(61, 139, 74, 0.4);
  color: var(--accent-deep);
}
.league-chip img {
  width: 48px; height: 48px; object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(46,90,50,.12));
}
.league-chip span { font-size: .9rem; font-weight: 600; }

/* 比赛列表 — 仿参考站 match-item 三栏 */
.match-list {
  display: flex; flex-direction: column; gap: 10px;
}
.match-item {
  display: grid;
  grid-template-columns: 180px 1fr 120px;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(46, 90, 50, 0.06);
  transition: .2s ease;
}
.match-item:hover {
  border-color: rgba(61, 139, 74, 0.35);
  box-shadow: var(--shadow);
}
.info_left .league {
  display: flex; align-items: center; gap: 6px;
  font-size: .86rem; color: var(--muted); margin-bottom: 4px;
}
.info_left .league a { color: var(--muted); }
.info_left .league a:hover { color: var(--accent); }
.league-ico { width: 18px; height: 18px; object-fit: contain; border-radius: 3px; }
.info_left .time { font-size: .88rem; color: var(--earth); font-weight: 500; }

.info_center {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}
.info_center .home, .info_center .away {
  display: flex; align-items: center; gap: 8px; min-width: 0;
}
.info_center .home { justify-content: flex-end; }
.info_center .away { justify-content: flex-start; }
.info_center img {
  width: 36px; height: 36px; object-fit: contain; flex-shrink: 0;
}
.info_center .text {
  font-weight: 600; font-size: .95rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.info_center .score {
  min-width: 64px; text-align: center;
  font-weight: 700; font-size: 1.05rem; color: var(--muted);
  padding: 4px 8px; border-radius: 8px;
  background: rgba(220, 232, 212, 0.65);
}
.info_center .score.vscore { color: var(--accent-deep); background: rgba(129, 199, 132, 0.35); }

.info_right {
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
}
.badge {
  display: inline-block; font-size: .75rem; padding: 3px 10px;
  border-radius: 999px; font-weight: 600;
}
.badge-upcoming { background: rgba(168, 201, 176, 0.45); color: var(--accent-deep); }
.badge-live { background: rgba(196, 90, 74, 0.18); color: var(--danger); }
.badge-finished { background: rgba(139, 115, 85, 0.18); color: var(--earth); }
.enter {
  display: inline-flex; padding: 6px 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff !important; border-radius: 999px; font-size: .82rem; font-weight: 600;
}
.enter:hover { filter: brightness(1.06); color: #fff !important; }

.empty {
  padding: 36px; text-align: center; color: var(--muted);
  background: var(--panel); border-radius: var(--radius); border: 1px dashed var(--line);
}

/* 新闻 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.news-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(46, 90, 50, 0.06);
  transition: .2s ease;
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.news-card a { color: inherit; display: block; }
.news-card .cover {
  height: 88px;
  display: flex; align-items: flex-end; padding: 12px 14px;
  background: linear-gradient(135deg, #4c8c56, #7cb342 60%, #a1887f);
  color: #fff; font-size: .8rem; font-weight: 600;
}
.news-card .body { padding: 14px 16px 16px; }
.news-card h3 {
  margin: 0 0 8px; font-size: 1rem; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card p {
  margin: 0 0 8px; color: var(--muted); font-size: .86rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card .meta { font-size: .78rem; color: var(--earth); }

/* FAQ / About */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.faq-item h3 { margin: 0 0 8px; font-size: 1.02rem; color: var(--accent-deep); }
.faq-item p { margin: 0; color: var(--muted); font-size: .92rem; }

.about-box {
  padding: 28px 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
}
.about-box h2, .about-box h1 {
  font-family: var(--display);
  margin: 0 0 14px; color: var(--accent-deep); font-weight: 400;
}
.about-box h3 { margin: 20px 0 10px; color: var(--accent); font-size: 1.05rem; }
.about-box ul { margin: 0; padding-left: 1.2em; color: var(--muted); }
.about-box li { margin-bottom: 6px; }
.about-box p { color: var(--muted); }

/* 文章详情 */
.article {
  max-width: 860px; margin: 0 auto;
  padding: 28px 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
}
.article h1 {
  font-family: var(--display);
  margin: 0 0 14px; font-size: 1.55rem; color: var(--accent-deep); font-weight: 400; line-height: 1.4;
}
.article-meta {
  display: flex; flex-wrap: wrap; gap: 10px 18px;
  font-size: .84rem; color: var(--muted);
  padding-bottom: 14px; margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.article-content { color: var(--text); font-size: 1.02rem; }
.article-content p { margin: 0 0 14px; }
.article-content img { margin: 12px auto; border-radius: 8px; }
.article-nav {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: .9rem;
}
.video-links { display: flex; flex-direction: column; gap: 8px; margin: 16px 0; }
.video-links a {
  display: block; padding: 12px 16px;
  background: rgba(129, 199, 132, 0.2);
  border: 1px solid var(--line); border-radius: 10px;
  color: var(--accent-deep); font-weight: 500;
}
.video-links a:hover { background: rgba(129, 199, 132, 0.35); }

.match-teams-detail {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 16px;
  max-width: 520px; margin: 24px auto;
}
.match-teams-detail .team {
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
}
.match-teams-detail img { width: 56px; height: 56px; object-fit: contain; }
.match-teams-detail .vs {
  font-size: 1.3rem; font-weight: 700; color: var(--accent-deep);
  min-width: 72px; text-align: center;
}

/* Footer — 无栏目超链接，仅友情链接 nofollow */
.site-footer {
  background: linear-gradient(180deg, #2e4a32, #1e3322);
  color: rgba(245, 251, 244, 0.82);
  padding: 32px 0 28px;
  margin-top: 20px;
}
.site-footer a { color: #b8d9b0; }
.site-footer a:hover { color: #e8f5e4; }
.footer-about { margin-bottom: 14px; font-size: .9rem; }
.friend-links {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  font-size: .88rem; margin-bottom: 14px;
}
.friend-links span { color: rgba(245, 251, 244, 0.55); }
.copyright { margin: 0; font-size: .8rem; color: rgba(245, 251, 244, 0.45); }

/* 响应式 */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute; left: 14px; right: 14px; top: 68px;
    flex-direction: column; background: var(--panel-solid);
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 10px; box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { text-align: center; }
  .site-header { position: sticky; }
  .header-inner { position: relative; }

  .match-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .info_center {
    grid-template-columns: 1fr auto 1fr;
  }
  .info_center .text { font-size: .88rem; }
  .info_right {
    flex-direction: row; justify-content: space-between; align-items: center;
  }
  .hero-nature { padding: 32px 20px 28px; }
  .section-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .info_center img { width: 28px; height: 28px; }
  .info_center .score { min-width: 48px; font-size: .95rem; }
  .league-row { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .league-chip { padding: 10px 4px; }
  .league-chip img { width: 36px; height: 36px; }
  .league-chip span { font-size: .75rem; }
  .brand-text em { display: none; }
}
