/* ============================================
   天空体育台 - 全局样式 v3.0（钓鱼网门户风格）
   设计参考：diaoyuren.com 门户网站布局
   ============================================ */
:root {
  --c-primary: #2196F3;
  --c-primary-dark: #1976D2;
  --c-primary-light: #E3F2FD;
  --c-accent: #42A5F5;
  --c-accent2: #64B5F6;
  --c-dark: #1565C0;
  --c-dark2: #0D47A1;
  --c-dark3: #1E88E5;
  --c-text: #1a1a2e;
  --c-text2: #2d3748;
  --c-muted: #718096;
  --c-light: #a0aec0;
  --c-bg: #f5f6fa;
  --c-card: #ffffff;
  --c-line: #e2e8f0;
  --c-line2: #edf2f7;
  --radius: 6px;
  --radius-sm: 4px;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 2px 8px rgba(0,0,0,.04);
  --shadow-hover: 0 4px 12px rgba(33,150,243,.12), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 4px 20px rgba(0,0,0,.08);
  --font: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.6;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: all .2s ease; }
a:hover { color: var(--c-primary-dark); }
ul, ol { list-style: none; }
h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; }

.container { max-width: 1220px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 20px; }

/* ================= 顶部导航（白色+蓝色主题） ================= */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }

.logo { display: flex; align-items: center; gap: 10px; color: var(--c-dark2); flex-shrink: 0; text-decoration: none; }
.logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--c-primary);
  color: #fff; font-weight: 800; font-size: 15px;
  box-shadow: 0 2px 8px rgba(33,150,243,.3);
}
.logo-text { font-size: 18px; font-weight: 800; color: var(--c-dark2); line-height: 1.1; letter-spacing: .5px; }
.logo-text small { display: block; font-size: 10px; font-weight: 400; color: var(--c-muted); letter-spacing: 1px; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.main-nav a {
  color: #555; padding: 7px 14px; border-radius: 4px;
  font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: all .2s ease;
}
.main-nav a:hover { color: var(--c-primary); background: var(--c-primary-light); }
.main-nav a.active { color: #fff; background: var(--c-primary); }

.nav-toggle {
  display: none; background: none; border: 1.5px solid #ddd;
  color: var(--c-dark2); font-size: 18px; border-radius: 8px;
  width: 40px; height: 40px; cursor: pointer;
  align-items: center; justify-content: center;
}

/* ================= 主内容区 ================= */
.site-main { min-height: 62vh; padding: 20px 0 40px; }

/* ================= 焦点大图轮播区（左大右小） ================= */
.hero-zone { margin-bottom: 20px; }
.hero-zone-inner { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; height: 360px; }

/* ---- 左侧大图轮播 ---- */
.hero-carousel {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--c-dark2); height: 100%;
}
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.hero-slide.active { opacity: 1; pointer-events: auto; z-index: 1; }
.hero-slide-img {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1); transition: transform 6s ease;
}
.hero-slide.active .hero-slide-img { transform: scale(1.08); }
.hero-slide-img--bg { background: linear-gradient(135deg, var(--c-dark) 0%, var(--c-primary) 100%); }
.hero-slide-mask {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,71,161,.05) 0%, rgba(13,71,161,.2) 40%, rgba(13,71,161,.75) 100%);
}
.hero-slide-link { position: relative; display: block; width: 100%; height: 100%; }
.hero-slide-info {
  position: absolute; left: 28px; right: 28px; bottom: 28px; color: #fff; z-index: 2;
}
.hero-slide-cat {
  display: inline-block; background: var(--c-primary); color: #fff;
  font-size: 11px; font-weight: 600; padding: 2px 10px; border-radius: 2px; margin-bottom: 10px;
  letter-spacing: .5px;
}
.hero-slide-info h2 { font-size: 24px; font-weight: 700; line-height: 1.35; margin-bottom: 8px; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.hero-slide-info p { font-size: 13px; color: rgba(255,255,255,.85); max-width: 580px; line-height: 1.6; text-shadow: 0 1px 4px rgba(0,0,0,.3); }
.hero-dots { position: absolute; right: 24px; bottom: 16px; display: flex; gap: 6px; z-index: 3; }
.hero-dot { width: 8px; height: 8px; border-radius: 100px; background: rgba(255,255,255,.4); cursor: pointer; transition: all .25s ease; }
.hero-dot.active { width: 22px; background: #fff; }

/* ---- 右侧小图列表 ---- */
.hero-spotlight { height: 100%; }
.spotlight-list { display: flex; flex-direction: column; gap: 8px; height: 100%; }
.spotlight-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  flex: 1; min-height: 0; display: block;
}
.spotlight-thumb { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .4s ease; }
.spotlight-thumb--bg { background: linear-gradient(135deg, var(--c-dark3), var(--c-primary)); }
.spotlight-item:hover .spotlight-thumb { transform: scale(1.06); }
.spotlight-mask {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,71,161,0) 20%, rgba(13,71,161,.7) 100%);
  transition: background .3s ease;
}
.spotlight-item:hover .spotlight-mask {
  background: linear-gradient(180deg, rgba(13,71,161,.1) 20%, rgba(13,71,161,.85) 100%);
}
.spotlight-item.active .spotlight-mask {
  background: linear-gradient(180deg, rgba(13,71,161,.2) 20%, rgba(13,71,161,.9) 100%);
}
.spotlight-item.active { box-shadow: 0 0 0 2px var(--c-primary); }
.spotlight-title {
  position: absolute; left: 12px; right: 12px; bottom: 10px; color: #fff;
  font-size: 13px; font-weight: 500; line-height: 1.4;
  text-shadow: 0 1px 6px rgba(0,0,0,.5); z-index: 2;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ================= 即时比分条 ================= */
.scorebar {
  display: flex; align-items: stretch; background: #fff; border-radius: var(--radius);
  overflow: hidden; margin-bottom: 20px; border: 1px solid #eee;
}
.scorebar-title {
  display: flex; align-items: center; background: var(--c-primary);
  color: #fff; font-size: 13px; font-weight: 700; padding: 0 16px; white-space: nowrap; letter-spacing: .5px;
}
.scorebar-list { display: flex; gap: 0; overflow-x: auto; flex: 1; }
.scorebar-item {
  display: flex; align-items: center; gap: 7px; padding: 11px 16px; white-space: nowrap;
  border-right: 1px solid #f0f0f0; font-size: 12.5px; cursor: default;
}
.scorebar-item:last-child { border-right: none; }
.scorebar-item b { font-weight: 600; color: var(--c-text2); }
.scorebar-item i { font-style: normal; font-weight: 800; color: var(--c-primary); min-width: 13px; text-align: center; }
.scorebar-item em { font-style: normal; font-size: 10.5px; color: var(--c-muted); background: #f5f6fa; padding: 1px 6px; border-radius: 2px; margin-left: 4px; }

/* ================= 主体两栏布局 ================= */
.home-body { display: grid; grid-template-columns: 1fr 320px; gap: 20px; align-items: start; }
.home-main { min-width: 0; }

/* ================= 分类板块（钓鱼网风格：左大图+右列表） ================= */
.portal-block {
  background: #fff; border: 1px solid #eee; border-radius: var(--radius);
  margin-bottom: 16px; overflow: hidden;
}
.portal-block-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-bottom: 2px solid var(--c-primary);
  background: #fafbfc;
}
.portal-block-head h3 { font-size: 16px; font-weight: 700; }
.portal-block-head h3 a { color: var(--c-dark2); display: flex; align-items: center; gap: 8px; }
.portal-block-head h3 a:hover { color: var(--c-primary); }
.portal-block-icon {
  display: inline-block; width: 4px; height: 18px;
  background: var(--c-primary); border-radius: 2px;
}
.portal-block-subs { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.portal-block-subs a { color: #888; font-size: 12px; padding: 3px 8px; border-radius: 2px; }
.portal-block-subs a:hover { color: var(--c-primary); background: var(--c-primary-light); }
.portal-block-subs a.more { color: var(--c-primary); font-weight: 600; }

.portal-block-body { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.portal-block-left { padding: 16px; border-right: 1px solid #f0f0f0; }
.portal-block-left .portal-big-img {
  display: block; width: 100%; height: 170px; overflow: hidden; border-radius: var(--radius-sm); margin-bottom: 12px;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e0);
}
.portal-block-left .portal-big-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.portal-block-left .portal-big-img:hover img { transform: scale(1.05); }
.portal-block-left h4 { font-size: 15px; font-weight: 600; line-height: 1.5; margin-bottom: 8px; }
.portal-block-left h4 a { color: var(--c-text); }
.portal-block-left h4 a:hover { color: var(--c-primary); }
.portal-block-left .portal-summary { color: var(--c-muted); font-size: 13px; line-height: 1.7; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.portal-block-left .portal-meta { display: flex; align-items: center; gap: 10px; color: var(--c-muted); font-size: 12px; flex-wrap: wrap; }
.portal-block-left .portal-meta .tag { background: var(--c-primary-light); color: var(--c-primary); font-size: 11px; padding: 1px 8px; border-radius: 2px; }

.portal-block-right { padding: 12px 16px; }
.portal-list { list-style: none; }
.portal-list li {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 10px 0; border-bottom: 1px dashed #f0f0f0;
}
.portal-list li:last-child { border-bottom: none; }
.portal-list li a { color: var(--c-text2); font-size: 14px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.portal-list li a:hover { color: var(--c-primary); }
.portal-list-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--c-primary-light); flex-shrink: 0; }
.portal-list li a:hover .portal-list-dot { background: var(--c-primary); }
.portal-list li time { color: #bbb; font-size: 12px; flex-shrink: 0; }

/* ================= 侧栏 ================= */
.home-side { min-width: 0; }
.side-card {
  background: #fff; border: 1px solid #eee; border-radius: var(--radius); padding: 14px 16px; margin-bottom: 16px;
}
.side-card h3 {
  font-size: 15px; margin-bottom: 12px; color: var(--c-dark2);
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 10px; border-bottom: 1px solid #f0f0f0;
}
.side-card h3 .side-card-icon { display: inline-block; width: 4px; height: 16px; background: var(--c-primary); border-radius: 2px; }
.side-card--flat { padding: 0; border: none; background: transparent; }
.side-card--flat h3 { display: none; }

/* ---- 焦点幻灯 ---- */
.mini-slider { position: relative; height: 160px; border-radius: var(--radius-sm); overflow: hidden; }
.mini-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.mini-slide.active { opacity: 1; pointer-events: auto; z-index: 1; }
.mini-slide img { width: 100%; height: 100%; object-fit: cover; }
.mini-slide-mask { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,71,161,0) 30%, rgba(13,71,161,.8) 100%); }
.mini-slide-title {
  position: absolute; left: 12px; right: 12px; bottom: 10px; color: #fff;
  font-size: 13px; font-weight: 600; line-height: 1.4;
  text-shadow: 0 1px 6px rgba(0,0,0,.5); z-index: 2;
}
.mini-slider-dots { display: flex; justify-content: center; gap: 5px; margin-top: 8px; }
.mini-dot { width: 7px; height: 7px; border-radius: 100px; background: #ddd; cursor: pointer; transition: all .25s ease; }
.mini-dot.active { width: 18px; background: var(--c-primary); }

/* ---- 热门排行 ---- */
.hot-list { list-style: none; counter-reset: none; }
.hot-list li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px dashed #f0f0f0; }
.hot-list li:last-child { border-bottom: none; }
.hot-list li a { color: var(--c-text2); font-size: 13.5px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.hot-list li a:hover { color: var(--c-primary); }
.hot-num { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; font-size: 11px; font-weight: 700; color: #fff; background: #ccc; border-radius: 3px; flex-shrink: 0; }
.hot-list li:nth-child(-n+3) .hot-num { background: var(--c-primary); }
.hot-list em { font-style: normal; font-size: 11px; color: #bbb; flex-shrink: 0; }

/* ---- 侧栏图文列表 ---- */
.side-thumb-list { display: flex; flex-direction: column; gap: 10px; }
.side-thumb-item {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 8px; border-radius: 4px;
  transition: background .2s; text-decoration: none;
}
.side-thumb-item:hover { background: #f8f9fa; }
.side-thumb-item img {
  width: 70px; height: 52px; object-fit: cover; border-radius: 4px; flex-shrink: 0;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e0);
}
.side-thumb-body { flex: 1; min-width: 0; }
.side-thumb-body h5 { font-size: 12.5px; font-weight: 600; line-height: 1.5; color: var(--c-text); margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.side-thumb-item:hover h5 { color: var(--c-primary); }
.side-thumb-meta { font-size: 11px; color: var(--c-muted); }

/* ---- 迷你积分榜 ---- */
.mini-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.mini-table th { color: var(--c-muted); font-weight: 600; font-size: 11.5px; text-align: left; padding: 6px 4px; border-bottom: 1px solid #eee; }
.mini-table td { padding: 7px 4px; border-bottom: 1px solid #f5f5f5; color: var(--c-text2); }
.mini-table tr:last-child td { border-bottom: none; }
.mini-table td:first-child { color: var(--c-muted); width: 34px; text-align: center; }
.rank-top { color: var(--c-primary); font-weight: 700; }

/* ---- 快捷入口 ---- */
.quick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.quick-item {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  background: #fff; border-radius: var(--radius-sm); padding: 12px 6px;
  color: var(--c-text2); font-size: 13px; font-weight: 500;
  border: 1px solid #eee; transition: all .2s ease;
}
.quick-item:hover { background: var(--c-primary-light); color: var(--c-primary); border-color: var(--c-primary-light); }

/* ================= 友情链接 ================= */
.friend-links {
  background: #fff; border-top: 2px solid var(--c-primary);
  margin-top: 10px; padding: 16px 20px;
}
.friend-links-inner { max-width: 1220px; margin: 0 auto; }
.friend-links h4 { font-size: 15px; color: var(--c-dark2); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid #f0f0f0; }
.friend-links-list { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.friend-links-list a { color: #666; font-size: 13px; }
.friend-links-list a:hover { color: var(--c-primary); }

/* ================= 页脚 ================= */
.site-footer {
  background: #0d47a1; color: rgba(255,255,255,.7);
  padding: 28px 0 20px; font-size: 13px; margin-top: 0;
}
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer a:hover { color: #fff; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; margin-bottom: 14px; }
.site-footer p { text-align: center; color: rgba(255,255,255,.5); }
.site-footer .icp { margin-top: 8px; font-size: 12px; }

/* ================= 列表页（兼容保留） ================= */
.two-col { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
.page-head {
  background: var(--c-card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px 26px; margin-bottom: 20px;
}
.page-head h1 { font-size: 24px; color: var(--c-dark2); }
.sub-tabs { display: flex; gap: 6px; margin-top: 14px; flex-wrap: wrap; }
.sub-tabs a {
  color: var(--c-muted); font-size: 13px; padding: 5px 14px;
  border-radius: 2px; background: var(--c-bg); font-weight: 500;
}
.sub-tabs a:hover { color: var(--c-primary); background: var(--c-primary-light); }
.sub-tabs a.on { background: var(--c-primary); color: #fff; }

.news-list { background: var(--c-card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px 26px; }
.news-item { padding: 18px 0; border-bottom: 1px solid var(--c-line2); }
.news-item:last-child { border-bottom: none; }
.news-item h2 { font-size: 17px; font-weight: 600; line-height: 1.4; }
.news-item h2 a { color: var(--c-dark2); }
.news-item h2 a:hover { color: var(--c-primary); }
.news-item .news-summary { color: var(--c-muted); font-size: 13.5px; margin-top: 6px; line-height: 1.6; }

.pager { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 20px 0 8px; }
.pg {
  background: var(--c-card); border: 1px solid var(--c-line);
  color: var(--c-text2); padding: 8px 16px; border-radius: 4px;
  font-size: 13px; font-weight: 500;
}
.pg:hover { border-color: var(--c-primary); color: var(--c-primary); background: var(--c-primary-light); }
.pg-info { color: var(--c-muted); font-size: 13px; }

.empty-tip {
  background: var(--c-card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 60px 20px;
  text-align: center; color: var(--c-muted); font-size: 14px;
}

/* ================= 详情页（兼容保留） ================= */
.article-page {
  background: var(--c-card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 32px 40px 24px; max-width: 900px; margin: 0 auto;
}
.crumb { font-size: 13px; color: var(--c-muted); margin-bottom: 14px; }
.crumb a { color: var(--c-muted); }
.crumb a:hover { color: var(--c-primary); }
.article-head { border-bottom: 2px solid var(--c-line2); padding-bottom: 18px; margin-bottom: 22px; }
.article-head h1 { font-size: 28px; color: var(--c-dark2); line-height: 1.3; }
.article-meta {
  display: flex; gap: 18px; color: var(--c-muted);
  font-size: 13px; margin-top: 12px; flex-wrap: wrap; align-items: center;
}
.article-body { font-size: 16px; line-height: 1.9; color: #2d3748; white-space: pre-line; }
.article-body p { margin: 14px 0; }
.article-tags { margin-top: 24px; display: flex; gap: 8px; flex-wrap: wrap; }
.article-tags a {
  background: var(--c-bg); color: var(--c-text2); font-size: 12.5px;
  padding: 4px 12px; border-radius: 2px; font-weight: 500;
}
.article-tags a:hover { background: var(--c-primary-light); color: var(--c-primary); }
.article-pn {
  margin-top: 24px; padding-top: 16px;
  border-top: 1px dashed var(--c-line); font-size: 14px;
}
.article-pn p { margin: 6px 0; color: var(--c-muted); }
.article-pn a { font-weight: 600; }
.related-section {
  margin: 24px auto 0; max-width: 900px;
  background: var(--c-card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px 24px;
}
.related-section h3 { font-size: 16px; margin-bottom: 14px; color: var(--c-dark2); }

/* ================= 体育百科（兼容保留） ================= */
.col-layout { display: grid; gap: 24px; align-items: start; }
.side-panel {
  background: var(--c-card); border-radius: var(--radius);
  padding: 18px 20px; margin-bottom: 18px; box-shadow: var(--shadow);
}
.side-panel h3 {
  font-size: 15px; margin: 0 0 14px; padding-bottom: 10px;
  border-bottom: 2px solid var(--c-line2); color: var(--c-dark2);
}
.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list li a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 8px; color: var(--c-text2); font-size: 14px;
  border-bottom: 1px dashed var(--c-line2); font-weight: 500;
  transition: all .2s ease;
}
.cat-list li a:hover, .cat-list li a.on { color: var(--c-primary); background: var(--c-primary-light); border-radius: 4px; }
.cat-list li a em {
  font-style: normal; font-size: 11px; color: var(--c-muted);
  background: var(--c-bg); border-radius: 2px; padding: 1px 8px;
}
.search-bar { display: flex; gap: 8px; margin: 16px 0; }
.search-bar input {
  flex: 1; padding: 11px 16px; border: 2px solid var(--c-line);
  border-radius: 4px; font-size: 14px; outline: none;
  transition: border-color .2s;
}
.search-bar input:focus { border-color: var(--c-primary); }
.search-bar button {
  background: var(--c-primary); color: #fff; border: none;
  border-radius: 4px; padding: 0 24px; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all .2s;
}
.search-bar button:hover { background: var(--c-primary-dark); }
.filter-tip { color: var(--c-muted); font-size: 13px; margin: 12px 2px; }
.filter-tip a { color: var(--c-primary); margin-left: 6px; font-weight: 600; }

.ency-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ency-card {
  background: var(--c-card); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow);
  display: block; transition: all .25s ease; border: 1px solid var(--c-line2);
}
.ency-card:hover {
  transform: translateY(-2px); box-shadow: var(--shadow-hover);
  border-color: var(--c-primary-light);
}
.ency-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ency-card-head strong { font-size: 16px; color: var(--c-dark2); }
.ency-card-sum { color: var(--c-text2); font-size: 13px; line-height: 1.7; margin: 10px 0 12px; min-height: 44px; }
.ency-card-meta { color: var(--c-muted); font-size: 12px; }
.ency-detail { padding: 30px 36px; }
.breadcrumb { font-size: 13px; color: var(--c-muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--c-muted); }
.breadcrumb a:hover { color: var(--c-primary); }
.ency-summary {
  background: var(--c-primary-light);
  border-left: 4px solid var(--c-primary); border-radius: 4px;
  padding: 14px 18px; color: var(--c-text2); font-size: 15px;
  line-height: 1.8; margin: 16px 0;
}
.ency-body { font-size: 15.5px; line-height: 2; }
.ency-body p { margin: 12px 0; }
.related-block { margin-top: 30px; padding-top: 20px; border-top: 2px solid var(--c-line2); }
.related-block h3 { font-size: 16px; margin: 0 0 14px; color: var(--c-dark2); }
.related-list { display: flex; flex-wrap: wrap; gap: 8px; }
.related-list a {
  background: var(--c-bg); color: var(--c-text2); border-radius: 2px;
  padding: 6px 16px; font-size: 13px; font-weight: 500;
  transition: all .2s;
}
.related-list a:hover { background: var(--c-primary); color: #fff; }

/* ================= 体育 AI 问答（兼容保留） ================= */
.qa-page { max-width: 880px; margin: 0 auto; }
.qa-hero {
  background: linear-gradient(135deg, #1565c0 0%, #0d47a1 60%, #1a237e 100%);
  color: #fff; border-radius: 6px; padding: 40px 36px; text-align: center;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.qa-hero::before {
  content: ''; position: absolute; top: -50%; right: -20%; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(33,150,243,.2) 0%, transparent 70%);
}
.qa-hero h1 { font-size: 28px; margin: 0 0 8px; position: relative; z-index: 1; }
.qa-hero p { color: #a0aec0; font-size: 14.5px; margin: 0 0 24px; position: relative; z-index: 1; }
.qa-form { display: flex; gap: 10px; max-width: 680px; margin: 0 auto; position: relative; z-index: 1; }
.qa-form input {
  flex: 1; padding: 14px 18px; border: 2px solid rgba(255,255,255,.15);
  border-radius: 4px; font-size: 15px; outline: none;
  background: rgba(255,255,255,.08); color: #fff;
  transition: all .2s;
}
.qa-form input::placeholder { color: #90caf9; }
.qa-form input:focus { border-color: var(--c-primary); background: rgba(255,255,255,.12); }
.qa-form button {
  background: var(--c-primary); color: #fff; border: none;
  border-radius: 4px; padding: 0 30px; font-size: 15px; font-weight: 700;
  cursor: pointer; box-shadow: 0 4px 15px rgba(33,150,243,.4);
  transition: all .2s;
}
.qa-form button:hover { background: var(--c-primary-dark); }
.qa-samples {
  margin-top: 16px; display: flex; flex-wrap: wrap;
  gap: 8px; justify-content: center; align-items: center;
  font-size: 12.5px; color: #90caf9; position: relative; z-index: 1;
}
.qa-samples a {
  background: rgba(255,255,255,.1); color: #bbdefb;
  border-radius: 2px; padding: 4px 14px; font-size: 12px;
  transition: all .2s;
}
.qa-samples a:hover { background: var(--c-primary); color: #fff; }

.qa-answer-wrap { margin-top: 24px; }
.qa-answer {
  background: var(--c-card); border-radius: 6px; padding: 28px 30px;
  box-shadow: var(--shadow); border: 1px solid var(--c-line2);
}
.qa-answer-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.qa-ai-badge {
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  color: var(--c-dark2); border-radius: 2px; padding: 4px 14px;
  font-size: 12px; font-weight: 700;
}
.qa-q { font-size: 19px; margin: 0 0 14px; color: var(--c-dark2); font-weight: 700; }
.qa-a { font-size: 15.5px; line-height: 2; color: var(--c-text2); white-space: normal; }
.qa-a.muted { color: var(--c-muted); }
.qa-tip { color: var(--c-muted); font-size: 13px; margin-top: 18px; }
.qa-tip a { color: var(--c-primary); font-weight: 600; }
.qa-more {
  background: var(--c-card); border-radius: 6px; padding: 18px 24px;
  margin-top: 14px; box-shadow: var(--shadow); border: 1px solid var(--c-line2);
}
.qa-more h3 { font-size: 14px; margin: 0 0 12px; color: var(--c-dark2); }
.qa-more ul { list-style: none; margin: 0; padding: 0; }
.qa-more li { padding: 8px 0; border-bottom: 1px dashed var(--c-line2); }
.qa-more li a { color: var(--c-text2); font-size: 14px; font-weight: 500; }
.qa-more li a:hover { color: var(--c-primary); }
.suggest-block { margin-top: 18px; }
.suggest-block h4 { font-size: 14px; color: var(--c-text2); margin: 0 0 12px; }
.suggest-news { list-style: none; margin: 0; padding: 0; }
.suggest-news li { padding: 6px 0; }
.suggest-news li a { color: var(--c-text2); font-size: 14px; }
.suggest-news li a:hover { color: var(--c-primary); }
.qa-news-side {
  background: var(--c-card); border-radius: 6px; padding: 18px 22px;
  margin-top: 18px; box-shadow: var(--shadow); border: 1px solid var(--c-line2);
}
.qa-news-side h3 { font-size: 14px; margin: 0 0 12px; color: var(--c-dark2); }
.news-line { list-style: none; margin: 0; padding: 0; }
.news-line li { padding: 7px 0; border-bottom: 1px dashed var(--c-line2); }
.news-line li:last-child { border-bottom: none; }
.news-line li a { color: var(--c-text2); font-size: 13.5px; font-weight: 500; }
.news-line li a:hover { color: var(--c-primary); }

/* ================= 旧版首页兼容（保留，避免404） ================= */
.home-top { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.carousel {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); margin-bottom: 24px; background: var(--c-dark2);
  height: 380px;
}
.carousel-item { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; pointer-events: none; }
.carousel-item.active { opacity: 1; pointer-events: auto; z-index: 1; }
.carousel-cover { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.02); transition: transform 6s ease; }
.carousel-item.active .carousel-cover { transform: scale(1.12); }
.carousel-cover--bg { background: linear-gradient(135deg, var(--c-dark), var(--c-accent)); }
.carousel-mask {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,71,161,.05) 0%, rgba(13,71,161,.15) 40%, rgba(13,71,161,.75) 100%);
}
.carousel-link { position: relative; display: block; width: 100%; height: 100%; }
.carousel-caption { position: absolute; left: 34px; right: 34px; bottom: 34px; color: #fff; }
.carousel-cat {
  display: inline-block; background: var(--c-primary); color: #fff;
  font-size: 12px; font-weight: 600; padding: 3px 14px; border-radius: 2px; margin-bottom: 12px;
  letter-spacing: .5px;
}
.carousel-title { font-size: 27px; font-weight: 800; line-height: 1.35; margin-bottom: 10px; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.carousel-summary { font-size: 14px; color: rgba(255,255,255,.88); max-width: 640px; line-height: 1.7; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.carousel-dots { position: absolute; right: 30px; bottom: 20px; display: flex; gap: 8px; z-index: 3; }
.carousel-dot { width: 9px; height: 9px; border-radius: 100px; background: rgba(255,255,255,.45); cursor: pointer; transition: all .25s ease; }
.carousel-dot.active { width: 26px; background: var(--c-primary); }
.carousel-arrows { position: absolute; top: 50%; left: 0; right: 0; z-index: 3; display: flex; justify-content: space-between; padding: 0 16px; transform: translateY(-50%); pointer-events: none; }
.carousel-arrow {
  pointer-events: auto; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(13,71,161,.45); color: #fff; font-size: 22px; line-height: 42px;
  text-align: center; cursor: pointer; opacity: 0; transition: all .25s ease; user-select: none;
}
.carousel:hover .carousel-arrow { opacity: 1; }
.carousel-arrow:hover { background: var(--c-primary); }

.cat-block {
  background: var(--c-card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px 24px 12px; margin-bottom: 24px;
}
.cat-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; margin-bottom: 16px; position: relative;
}
.cat-head h3 { font-size: 18px; color: var(--c-dark2); }
.cat-head h3 a { color: var(--c-dark2); }
.cat-head h3 a::before {
  content: ""; display: inline-block; width: 5px; height: 20px;
  background: var(--c-primary);
  border-radius: 2px; margin-right: 10px; vertical-align: -3px;
}
.cat-head h3 a:hover { color: var(--c-primary); }
.cat-subs { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.cat-subs a { color: var(--c-muted); font-size: 12.5px; padding: 4px 10px; border-radius: 2px; font-weight: 500; }
.cat-subs a:hover { color: var(--c-primary); background: var(--c-primary-light); }
.cat-subs a.more { color: var(--c-primary); font-weight: 600; }

.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-bottom: 12px; }
.news-card {
  background: var(--c-card); border-radius: var(--radius-sm);
  overflow: hidden; transition: all .25s ease;
  border: 1px solid var(--c-line2);
}
.news-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}
.news-card .news-img {
  width: 100%; height: 140px; background: linear-gradient(135deg, #e2e8f0, #cbd5e0);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-muted); font-size: 13px;
}
.news-card h4 {
  font-size: 14.5px; font-weight: 600; line-height: 1.5;
  padding: 12px 14px 8px; min-height: 52px;
}
.news-card h4 a { color: var(--c-text); }
.news-card h4 a:hover { color: var(--c-primary); }
.news-card .news-summary { color: var(--c-muted); font-size: 12.5px; padding: 0 14px; line-height: 1.6; }
.news-meta {
  display: flex; align-items: center; gap: 10px;
  color: var(--c-muted); font-size: 11.5px;
  padding: 10px 14px 14px; flex-wrap: wrap;
}
.tag {
  display: inline-block; background: var(--c-primary-light); color: var(--c-primary);
  font-size: 11px; padding: 2px 8px; border-radius: 2px; font-weight: 500;
}
.views { color: var(--c-muted); }

/* ================= 响应式 ================= */
@media (max-width: 1100px) {
  .home-body { grid-template-columns: 1fr 280px; }
  .hero-zone-inner { height: 320px; }
  .hero-slide-info h2 { font-size: 20px; }
  .portal-block-body { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .home-body { grid-template-columns: 1fr; }
  .hero-zone-inner { grid-template-columns: 2fr 1fr; height: 280px; }
  .hero-slide-info h2 { font-size: 18px; }
  .hero-slide-info p { display: none; }
  .two-col { grid-template-columns: 1fr; }
  .main-nav a { padding: 7px 10px; font-size: 13.5px; }
}

@media (max-width: 768px) {
  .hero-zone-inner { grid-template-columns: 1fr; height: auto; }
  .hero-carousel { height: 280px; }
  .hero-spotlight { height: 140px; }
  .spotlight-list { flex-direction: row; }
  .spotlight-item { min-width: 0; }
  .portal-block-body { grid-template-columns: 1fr; }
  .portal-block-left { border-right: none; border-bottom: 1px solid #f0f0f0; }
  .portal-block-left .portal-big-img { height: 200px; }
  .scorebar { flex-direction: column; }
  .scorebar-title { padding: 9px 16px; }
  .article-page { padding: 24px 28px; }
  .article-head h1 { font-size: 24px; }
  .home-side { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 640px) {
  body { font-size: 14px; }
  .container { padding: 0 14px; }
  .header-inner { height: 54px; }
  .logo-mark { width: 34px; height: 34px; font-size: 13px; }
  .logo-text { font-size: 16px; }
  .logo-text small { display: none; }
  .main-nav {
    position: absolute; top: 54px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 8px 16px 16px; display: none; max-height: 78vh; overflow-y: auto;
    box-shadow: 0 8px 20px rgba(0,0,0,.1); border-top: 1px solid #eee;
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    padding: 12px 12px; font-size: 15px; color: #444;
    border-bottom: 1px solid #f5f5f5; border-radius: 0;
  }
  .main-nav a:hover { background: var(--c-primary-light); }
  .main-nav a.active { color: #fff; }
  .nav-toggle { display: inline-flex; }
  .site-main { padding: 14px 0 30px; }
  .hero-carousel { height: 220px; }
  .hero-slide-info { left: 16px; right: 16px; bottom: 16px; }
  .hero-slide-info h2 { font-size: 17px; }
  .hero-dots { right: 16px; bottom: 12px; }
  .hero-spotlight { display: none; }
  .portal-block-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .portal-block-left { padding: 12px; }
  .portal-block-left .portal-big-img { height: 170px; }
  .portal-block-left h4 { font-size: 14px; }
  .portal-block-right { padding: 8px 12px; }
  .portal-list li a { font-size: 13px; }
  .home-side { grid-template-columns: 1fr; gap: 14px; }
  .news-item h2 { font-size: 15px; }
  .article-page { padding: 18px 16px 14px; }
  .article-head h1 { font-size: 21px; }
  .article-body { font-size: 15px; }
  .qa-hero { padding: 28px 20px; }
  .qa-hero h1 { font-size: 22px; }
  .qa-form { flex-direction: column; }
  .qa-form button { padding: 12px; }
  .qa-answer { padding: 20px 18px; }
  .ency-grid { grid-template-columns: 1fr; }
  .ency-detail { padding: 20px 18px; }
  .site-footer { padding: 24px 0 18px; }
  .friend-links { padding: 12px 14px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .news-card h4 { min-height: 0; font-size: 13.5px; padding: 10px 12px 6px; }
  .news-card .news-summary { padding: 0 12px; font-size: 12px; }
  .news-meta { padding: 8px 12px 12px; }
}

@media (max-width: 380px) {
  .news-grid { grid-template-columns: 1fr; }
  .logo-text { font-size: 15px; }
}
