/* =========================================
   看球吧 全站公共样式
   ========================================= */

/* ===== 全局变量与基础 ===== */
:root {
  --primary: #10893e;
  --primary-dark: #0c6b30;
  --accent: #f59e0b;
  --bg: #f4f6f8;
  --card-bg: #fff;
  --text: #1a202c;
  --text-muted: #64748b;
  --border: #e2e8f0;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.75;
}
a { transition: all .2s ease; }

/* ===== 顶部公告栏 ===== */
.notice-bar {
  background: var(--primary-dark); color: #fff; text-align: center;
  font-size: .85rem; padding: .4rem 1rem;
}

/* ===== 页头与导航 ===== */
header { background: #0f172a; color: #fff; padding: 1rem 2rem; border-bottom: 3px solid var(--primary); }
.header-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.logo h1 { font-size: 1.4rem; }
.logo span { color: var(--primary); font-size: 1rem; }
.logo p { font-size: .75rem; color: #94a3b8; }
nav a { color: #cbd5e1; text-decoration: none; margin-left: 1.2rem; font-size: .95rem; }
nav a:hover, nav a[aria-current="page"] { color: #fff; font-weight: 600; }

/* ===== 主体容器与面包屑 ===== */
.container { max-width: 1100px; margin: 1.5rem auto; padding: 0 1rem; }
.breadcrumb { font-size: .82rem; color: var(--text-muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); }

/* ===== 首页导语区 ===== */
.page-intro { background: var(--card-bg); border-radius: 8px; padding: 1.5rem; margin-bottom: 1.5rem; border: 1px solid var(--border); }
.page-intro h2 { font-size: 1.35rem; margin-bottom: .6rem; }
.page-intro .meta { font-size: .8rem; color: var(--text-muted); margin-bottom: .8rem; }
.page-intro p { font-size: .95rem; color: #475569; }

/* ===== 分类页主标题区 ===== */
.page-hero { background: var(--card-bg); border-radius: 8px; padding: 1.75rem; margin-bottom: 1.5rem; border: 1px solid var(--border); }
.page-hero h1 { font-size: 1.5rem; margin-bottom: .5rem; }
.page-hero .meta { font-size: .8rem; color: var(--text-muted); margin-bottom: .8rem; }
.page-hero p { font-size: .95rem; color: #475569; }

/* ===== 筛选条 ===== */
.filter-bar { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.filter-bar a { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: .35rem 1rem; font-size: .85rem; color: #475569; text-decoration: none; }
.filter-bar a:hover, .filter-bar a.on { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ===== 赛事卡片 ===== */
.match-card { background: var(--card-bg); border-radius: 8px; padding: 1.5rem; margin-bottom: 1.5rem; border: 1px solid var(--border); box-shadow: 0 2px 4px rgba(0,0,0,.03); }
.match-header { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; border-bottom: 1px solid #edf2f7; padding-bottom: .75rem; margin-bottom: 1.25rem; font-size: .9rem; color: var(--text-muted); }
.match-body { display: flex; justify-content: space-around; align-items: center; text-align: center; margin-bottom: 1.25rem; }
.team { flex: 1; }
.team .emblem { font-size: 2.4rem; }
.team h3 { font-size: 1.25rem; margin-top: .4rem; }
.team .form { font-size: .78rem; color: var(--text-muted); margin-top: .2rem; }
.vs-box { flex: 0 0 150px; }
.vs-box .status { display: inline-block; background: #eef9f2; color: var(--primary); padding: .2rem .7rem; border-radius: 12px; font-size: .8rem; font-weight: 700; }
.vs-box .time { font-size: 1.5rem; font-weight: 700; margin: .3rem 0; }
.vs-box small { color: #94a3b8; }

/* ===== 播放按钮 ===== */
.action-row { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; border-top: 1px dashed var(--border); padding-top: 1.25rem; }
.play-btn { display: inline-flex; align-items: center; gap: .4rem; padding: .6rem 1.4rem; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: .95rem; }
.btn-cctv { background: #d32f2f; color: #fff; }
.btn-cctv:hover { background: #b71c1c; }
.btn-migu { background: #0288d1; color: #fff; }
.btn-migu:hover { background: #01579b; }
.btn-tx { background: #00897b; color: #fff; }
.btn-tx:hover { background: #00695c; }

/* ===== 内容专区 ===== */
.seo-content { background: var(--card-bg); border-radius: 8px; padding: 1.75rem; margin-bottom: 1.5rem; border: 1px solid var(--border); }
.seo-content h2 { font-size: 1.25rem; margin-bottom: .9rem; border-left: 4px solid var(--primary); padding-left: .6rem; }
.seo-content h3 { font-size: 1.05rem; margin: 1.1rem 0 .5rem; color: #0f172a; }
.seo-content p { font-size: .95rem; color: #475569; margin-bottom: .8rem; }
.seo-content ul { padding-left: 1.4rem; margin-bottom: .8rem; font-size: .95rem; color: #475569; }

/* ===== 数据对比表 ===== */
table.data { width: 100%; border-collapse: collapse; font-size: .88rem; margin: .8rem 0 1rem; }
table.data th { background: #f1f5f9; text-align: left; }
table.data th, table.data td { border: 1px solid var(--border); padding: .55rem .8rem; }
table.data caption { caption-side: top; font-size: .82rem; color: var(--text-muted); text-align: left; padding-bottom: .4rem; }

/* ===== 赛程表专用 ===== */
.schedule-day { font-size: 1.05rem; font-weight: 700; margin: 1.5rem 0 .6rem; padding-left: .6rem; border-left: 4px solid var(--primary); }
table.sched { width: 100%; border-collapse: collapse; font-size: .88rem; background: #fff; border-radius: 8px; overflow: hidden; }
table.sched th { background: #0f172a; color: #fff; padding: .6rem .8rem; text-align: left; font-size: .82rem; }
table.sched td { border-bottom: 1px solid var(--border); padding: .6rem .8rem; }
table.sched tr:hover td { background: #f8fafc; }
.tag { display: inline-block; padding: .1rem .5rem; border-radius: 4px; font-size: .75rem; font-weight: 600; }
.tag-free { background: #eef9f2; color: var(--primary); }
.tag-vip { background: #fff7ed; color: #c2410c; }
.tag-live { background: #fef2f2; color: #dc2626; }

/* ===== 前瞻文章列表 ===== */
.article-item { background: var(--card-bg); border: 1px solid var(--border); border-radius: 8px; padding: 1.4rem; margin-bottom: 1.2rem; }
.article-item h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.article-item h3 a { color: var(--text); text-decoration: none; }
.article-item h3 a:hover { color: var(--primary); }
.article-item .a-meta { font-size: .78rem; color: var(--text-muted); margin-bottom: .5rem; }
.article-item p { font-size: .92rem; color: #475569; }
.read-more { font-size: .85rem; color: var(--primary); text-decoration: none; font-weight: 600; }

/* ===== FAQ 折叠区 ===== */
details.faq { border: 1px solid var(--border); border-radius: 6px; margin-bottom: .6rem; padding: .7rem 1rem; background: #fafbfc; }
details.faq summary { font-weight: 600; cursor: pointer; font-size: .95rem; }
details.faq p { margin-top: .5rem; font-size: .9rem; }

/* ===== 页脚 ===== */
footer { background: #fff; border-top: 1px solid var(--border); padding: 2rem 1rem; text-align: center; font-size: .85rem; color: var(--text-muted); }
footer a { color: var(--text-muted); text-decoration: none; margin: 0 .5rem; }
footer a:hover { color: var(--primary); }

/* ===== 移动端适配 ===== */
@media (max-width: 640px) {
  .match-body { flex-direction: column; gap: .8rem; }
  .vs-box { order: -1; }
}
