﻿:root {
  --teal: #1e4d4b;
  --teal-light: #2a6562;
  --red: #e60012;
  --green: #22c55e;
  --blue: #3b82f6;
  --yellow: #eab308;
  --bg: #f5f5f5;
  --paper: #ffffff;
  --text: #333333;
  --text-muted: #666666;
  --border: #e5e5e5;
  --radius: 6px;
  --shadow: 0 1px 3px rgba(0,0,0,0.06);
  --max: 1280px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--border); }
.header-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 20px; }
.logo { font-size: 28px; font-weight: 900; }
.logo span:nth-child(1) { color: var(--red); }
.logo span:nth-child(2) { color: var(--green); }
.logo span:nth-child(3) { color: var(--blue); }
.logo span:nth-child(4) { color: var(--yellow); }
.search { display: flex; width: 320px; }
.search input { flex: 1; padding: 8px 12px; border: 1px solid var(--border); border-right: 0; border-radius: var(--radius) 0 0 var(--radius); outline: none; font-size: 14px; }
.search button { padding: 8px 18px; background: var(--teal); color: #fff; border: 0; border-radius: 0 var(--radius) var(--radius) 0; cursor: pointer; font-size: 14px; }
.main-nav { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 10px; font-size: 14px; }
.main-nav a { padding: 6px 12px; border-radius: var(--radius); }
.main-nav a:hover, .main-nav a.active { background: var(--teal); color: #fff; }
.sub-nav { background: #fff; border-bottom: 1px solid var(--border); padding: 10px 0; }
.sub-nav-inner { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; }
.sub-nav-inner a:hover { color: var(--teal); }
.main { padding: 16px 0 40px; }
.layout { display: grid; grid-template-columns: 1fr 300px; gap: 16px; }
.page-title h1 { margin: 0 0 14px; font-size: 22px; color: var(--teal); }
.panel { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.panel-head { display: flex; align-items: center; background: var(--teal); color: #fff; }
.panel-head span { padding: 12px 20px; font-size: 15px; font-weight: 700; cursor: pointer; }
.panel-head span.active { background: var(--red); }
.match-list { padding: 0 16px; }
.match { display: grid; grid-template-columns: 160px 80px 1fr 100px; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.match:last-child { border-bottom: 0; }
.match-time, .match-league, .match-vs { color: var(--text-muted); }
.match-league { text-align: center; }
.match-teams { display: flex; align-items: center; justify-content: center; gap: 16px; font-weight: 500; min-width: 0; }
.match-team { display: flex; align-items: center; gap: 8px; min-width: 0; }
.match-team span:last-child { min-width: 80px; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px; }
.match-logo { width: 28px; height: 28px; border-radius: 50%; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--text-muted); flex: 0 0 auto; }
.match-btn { display: inline-flex; align-items: center; justify-content: center; padding: 7px 14px; background: #222; color: #fff; border-radius: 20px; font-size: 13px; }
.match-btn:hover { background: var(--teal); }
.sidebar { display: flex; flex-direction: column; gap: 16px; }
.side-head { background: var(--teal); color: #fff; padding: 12px 16px; font-size: 15px; font-weight: 700; border-left: 4px solid var(--red); }
.live-list { padding: 8px; }
.live-item { display: flex; flex-direction: column; gap: 4px; padding: 10px; border-bottom: 1px dashed var(--border); font-size: 13px; }
.live-item:last-child { border-bottom: 0; }
.live-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-meta, .newsline-date, .list-meta, .breadcrumb, .section-more, .article-meta { color: var(--text-muted); font-size: 12px; }
.teams { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; }
.team { padding: 6px 12px; background: var(--bg); border-radius: var(--radius); font-size: 13px; }
.team:hover { background: var(--teal); color: #fff; }
.section { margin-bottom: 18px; }
.section-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--paper); border-bottom: 1px solid var(--border); }
.section-title { margin: 0; font-size: 16px; font-weight: 800; color: var(--teal); }
.newsline { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px dashed var(--border); font-size: 14px; }
.newsline:hover { color: var(--teal); }
.list { display: flex; flex-direction: column; gap: 12px; }
.list-item { display: grid; grid-template-columns: 170px 1fr; gap: 14px; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.list-media { min-height: 108px; background: linear-gradient(135deg, var(--teal), #344b61); color: #fff; display: flex; align-items: center; justify-content: center; padding: 12px; text-align: center; font-weight: 800; }
.list-content { padding: 14px; display: flex; flex-direction: column; justify-content: center; }
.list-title { margin: 0 0 6px; font-size: 15px; font-weight: 700; }
.list-desc { margin: 0 0 8px; font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 18px; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 6px 12px; border-radius: var(--radius); background: var(--paper); color: var(--text); font-size: 13px; border: 1px solid var(--border); }
.pagination .current, .pagination a:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.breadcrumb { margin-bottom: 14px; }
.article { background: var(--paper); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.article-header { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.article-title { margin: 0 0 10px; font-size: 26px; line-height: 1.3; font-weight: 800; }
.article-intro { background: var(--bg); padding: 14px; border-radius: var(--radius); margin: 14px 0; color: var(--text-muted); font-size: 14px; }
.article-content { font-size: 15px; line-height: 1.85; }
.article-content h2 { margin: 24px 0 10px; }
.article-content p { margin: 0 0 14px; }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.prevnext a { display: block; padding: 12px; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--border); }
.prevnext span { display: block; font-size: 11px; color: var(--text-muted); margin-bottom: 4px; }
.footer { background: var(--teal); color: rgba(255,255,255,0.85); padding: 24px 0; margin-top: 30px; font-size: 13px; }
.footer-inner { text-align: center; }
.footer-links { display: flex; justify-content: center; gap: 16px; margin-bottom: 8px; flex-wrap: wrap; }
.footer-links a:hover { color: #fff; }
@media (max-width: 1024px) { .layout { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .match { grid-template-columns: 1fr; gap: 6px; } .match-league { text-align: left; } .match-teams { justify-content: flex-start; } }
@media (max-width: 700px) { .header-top { align-items: stretch; flex-direction: column; } .search { width: 100%; } .logo { font-size: 24px; } .list-item, .prevnext { grid-template-columns: 1fr; } .article { padding: 18px; } .article-title { font-size: 22px; } .newsline { align-items: flex-start; flex-direction: column; gap: 4px; } }
