/* 赛事独立页面样式 - 预言家 YUYANJIA.CC */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #E53935;
  --primary-dark: #C62828;
  --bg: #f5f6f8;
  --card: #ffffff;
  --text: #1a1a1a;
  --text-light: #666;
  --border: #e8e8e8;
  --win: #E53935;
  --draw: #F57C00;
  --lose: #2E7D32;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}
.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header { background: var(--primary); color: #fff; padding: 12px 0; box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.site-header .logo { color: #fff; font-size: 20px; font-weight: 700; text-decoration: none; }
.site-header .logo span { font-size: 12px; font-weight: 400; opacity: .8; }
.site-header nav { display: flex; gap: 16px; flex-wrap: wrap; }
.site-header nav a { color: #fff; text-decoration: none; font-size: 14px; opacity: .9; }
.site-header nav a:hover { opacity: 1; }

/* Breadcrumb */
.breadcrumb { padding: 16px 0 8px; font-size: 13px; color: var(--text-light); }
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* Match page */
.match-page { background: var(--card); border-radius: 12px; padding: 28px 24px; margin-bottom: 20px; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.match-page h1 { font-size: 28px; text-align: center; margin-bottom: 8px; }
.match-page .vs { color: var(--primary); font-size: 20px; padding: 0 8px; }
.match-meta { text-align: center; color: var(--text-light); font-size: 14px; margin-bottom: 24px; }

/* Teams card */
.teams-card { display: flex; align-items: center; justify-content: space-around; padding: 20px; background: linear-gradient(135deg, #fff5f5, #fff); border-radius: 10px; margin-bottom: 24px; }
.teams-card .team { text-align: center; flex: 1; }
.teams-card .team h3 { font-size: 22px; color: var(--text); }
.teams-card .team .rank { font-size: 13px; color: var(--text-light); margin-top: 4px; }
.vs-circle { width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }

/* Sections */
.match-page section { margin-bottom: 28px; }
.match-page h2 { font-size: 20px; border-left: 4px solid var(--primary); padding-left: 12px; margin-bottom: 16px; }

/* Odds table */
.odds-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.odds-table th, .odds-table td { padding: 12px 10px; text-align: center; border-bottom: 1px solid var(--border); }
.odds-table th { background: #fafafa; font-weight: 600; color: var(--text-light); }
.odds-table td:first-child { text-align: left; font-weight: 600; }
.odds-table .win { color: var(--win); font-weight: 700; }
.odds-table .draw { color: var(--draw); font-weight: 700; }
.odds-table .lose { color: var(--lose); font-weight: 700; }
.odds-table .bqc { font-size: 13px; text-align: left; color: var(--text-light); line-height: 1.8; }
.odds-note { font-size: 12px; color: var(--text-light); margin-top: 10px; }

/* AI prediction */
.ai-prediction .ai-card { background: #fff8f0; border: 1px solid #ffe0b2; border-radius: 10px; padding: 16px; }
.ai-row { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px dashed #ffe0b2; }
.ai-row:last-child { border-bottom: none; }
.ai-label { font-weight: 600; color: var(--primary-dark); min-width: 72px; }
.ai-val { flex: 1; color: var(--text); }
.ai-note { font-size: 12px; color: var(--text-light); margin-top: 10px; }

/* Related */
.related-list { list-style: none; }
.related-list li { padding: 10px 0; border-bottom: 1px solid var(--border); }
.related-list li a { color: var(--text); text-decoration: none; font-size: 15px; }
.related-list li a:hover { color: var(--primary); }

/* Disclaimer */
.disclaimer { background: #f9f9f9; border-radius: 10px; padding: 16px; font-size: 14px; color: var(--text-light); }
.disclaimer h2 { font-size: 16px; }
.disclaimer strong { color: var(--primary-dark); }

/* Footer */
.site-footer { background: #222; color: #aaa; padding: 24px 0; margin-top: 40px; text-align: center; font-size: 13px; }
.site-footer a { color: #ccc; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer p { margin: 4px 0; }

@media (max-width: 600px) {
  .match-page h1 { font-size: 22px; }
  .teams-card .team h3 { font-size: 18px; }
  .odds-table { font-size: 13px; }
  .odds-table .bqc { font-size: 11px; }
  .site-header nav { gap: 10px; font-size: 12px; }
}
