/* gzshsc template - exact replica of 24直播网 (gzshsc.cn) */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: #f2f4f8; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; color: #0b1a2e; line-height: 1.5; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* ===== Header ===== */
.header { background: #0b1a2e; border-radius: 0 0 28px 28px; padding: 0 30px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06); }
.header-inner { max-width: 1380px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; height: 72px; }
.logo h2 { font-weight: 700; font-size: 1.8rem; color: #facc15; letter-spacing: -0.5px; }
.nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.nav-links a { color: #e2e8f0; padding: 8px 18px; border-radius: 40px; font-weight: 500; font-size: 0.95rem; transition: 0.2s; }
.nav-links a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.nav-links a:first-child { background: #facc15; color: #0b1a2e; }
.nav-links a:first-child:hover { background: #fbbf24; }

/* ===== Breadcrumb ===== */
.breadcrumb { max-width: 1380px; margin: 18px auto 0; padding: 0 26px; font-size: 0.9rem; color: #475569; }
.breadcrumb a { color: #2563eb; font-weight: 500; }
.breadcrumb span { color: #0f172a; font-weight: 600; }

/* ===== Live Links ===== */
.live-links { display: flex; flex-wrap: wrap; gap: 12px; padding: 20px; justify-content: center; max-width: 1200px; margin: 0 auto; background-color: #f0f2f5; border-radius: 12px; }
.live-link { text-decoration: none; padding: 14px 28px; border-radius: 8px; border: 1px solid transparent; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; font-size: 15px; font-weight: 500; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); text-align: center; flex: 1; min-width: 140px; max-width: 200px; box-sizing: border-box; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04); font-weight: bold; }
.live-link:nth-child(1) { background-color: #e6f7ff; color: #1890ff; border-color: #91d5ff; }
.live-link:nth-child(1):hover { background-color: #1890ff; color: white; box-shadow: 0 6px 12px rgba(24, 144, 255, 0.25); transform: translateY(-2px); }
.live-link:nth-child(2) { background-color: #f6ffed; color: #52c41a; border-color: #b7eb8f; }
.live-link:nth-child(2):hover { background-color: #52c41a; color: white; box-shadow: 0 6px 12px rgba(82, 196, 26, 0.25); transform: translateY(-2px); }
.live-link:nth-child(3) { background-color: #fff7e6; color: #fa8c16; border-color: #ffd591; }
.live-link:nth-child(3):hover { background-color: #fa8c16; color: white; box-shadow: 0 6px 12px rgba(250, 140, 22, 0.25); transform: translateY(-2px); }
.live-link:nth-child(4) { background-color: #f9f0ff; color: #722ed1; border-color: #d3adf7; }
.live-link:nth-child(4):hover { background-color: #722ed1; color: white; box-shadow: 0 6px 12px rgba(114, 46, 209, 0.25); transform: translateY(-2px); }
.live-link:active { transform: translateY(0); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08); }

/* ===== Layout ===== */
.container { max-width: 1380px; margin: 0 auto; display: grid; grid-template-columns: 1fr 340px; gap: 28px; padding: 20px 0 40px; }
.main-content { background: #ffffff; border-radius: 28px; padding: 28px 32px; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.03); }

/* ===== Article ===== */
.article-title { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; color: #0b1a2e; }
.article-meta { color: #64748b; font-size: 0.9rem; border-bottom: 1px solid #edf2f7; padding-bottom: 14px; margin-bottom: 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.tag { padding: 6px 20px; border-radius: 60px; font-size: 0.8rem; font-weight: 600; background: #f1f4f9; color: #1e293b; }
.tag.green { background: #dcfce7; color: #166534; }
.tag.red { background: #fee2e2; color: #991b1b; }
.tag.cyan { background: #cffafe; color: #0e7490; }
.tag.orange { background: #ffedd5; color: #9a3412; }
.article-desc { background: #f8fafc; padding: 20px 24px; border-radius: 20px; margin-bottom: 32px; border-left: 5px solid #facc15; line-height: 1.8; }
.article-desc p { margin-bottom: 12px; }
.highlight { background: #fef9c3; padding: 2px 12px; border-radius: 16px; font-weight: 600; }

/* ===== Timeline ===== */
.timeline-title { font-size: 1.5rem; font-weight: 650; margin: 28px 0 16px; }
.timeline-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; list-style: none; }
.timeline-item { background: #fafcff; border-radius: 20px; padding: 14px 16px; display: flex; gap: 14px; border: 1px solid #edf2f7; transition: 0.15s; align-items: flex-start; }
.timeline-item:hover { border-color: #cbd5e1; background: #ffffff; }
.timeline-thumb { flex-shrink: 0; width: 100px; height: 70px; border-radius: 16px; overflow: hidden; background: #e2e8f0; }
.timeline-thumb img { width: 100%; height: 100%; object-fit: cover; }
.timeline-content h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; color: #0f172a; line-height: 1.3; }
.timeline-content p { font-size: 0.82rem; color: #475569; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.timeline-date { font-size: 0.7rem; color: #94a3b8; margin-top: 6px; }

/* ===== Sidebar ===== */
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.widget { background: #ffffff; border-radius: 28px; padding: 20px 22px 18px; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.03); }
.widget-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; border-bottom: 1px solid #edf2f7; padding-bottom: 10px; }
.widget-header h3 { font-weight: 650; font-size: 1.1rem; color: #0b1a2e; }
.widget-header a { color: #2563eb; font-size: 0.85rem; font-weight: 500; }

/* Match list in sidebar */
.match-list-sidebar { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.match-list-sidebar li { background: #f8fafc; border-radius: 18px; padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; border: 1px solid transparent; transition: 0.1s; }
.match-list-sidebar li:hover { background: #f1f5f9; border-color: #dbeafe; }
.match-info-left { display: flex; align-items: center; gap: 10px; }
.team-logo-big { width: 32px; height: 32px; object-fit: contain; border-radius: 50%; background: #fff; padding: 2px; box-shadow: 0 2px 6px rgba(0,0,0,0.04); }
.match-names-wrapper { display: flex; align-items: center; gap: 6px; font-weight: 500; font-size: 0.9rem; }
.vs-text-badge { background: #dbeafe; color: #1e4f8a; padding: 0 10px; border-radius: 30px; font-size: 0.6rem; font-weight: 700; }
.match-info-right { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex-shrink: 0; }
.status-live { background: #dc2626; color: #fff; padding: 2px 12px; border-radius: 30px; font-size: 0.65rem; font-weight: 700; }
.match-time { font-size: 0.7rem; color: #64748b; }

/* Rank list */
.rank-list { list-style: none; }
.rank-list li { padding: 8px 0; border-bottom: 1px solid #f1f5f9; display: flex; align-items: center; gap: 12px; font-size: 0.9rem; }
.rank-list li:last-child { border-bottom: none; }
.rank-num { width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; background: #eef2f6; border-radius: 30px; font-weight: 700; font-size: 0.7rem; color: #1e293b; flex-shrink: 0; }
.rank-list li:first-child .rank-num { background: #facc15; color: #0b1a2e; }
.rank-list li:nth-child(2) .rank-num { background: #cbd5e1; color: #1e293b; }
.rank-list li:nth-child(3) .rank-num { background: #fca5a5; color: #7f1d1d; }

/* Team cloud */
.team-cloud { display: flex; flex-wrap: wrap; gap: 8px 10px; padding-top: 6px; }
.team-cloud span { background: #f1f4f9; padding: 4px 16px; border-radius: 30px; font-size: 0.8rem; transition: 0.1s; cursor: default; font-weight: 500; color: #1e293b; }
.team-cloud span:hover { background: #dbeafe; color: #1e3a8a; }

/* ===== Footer ===== */
.footer { max-width: 1380px; margin: 40px auto 24px; background: #ffffff; border-radius: 32px; padding: 24px 20px; text-align: center; color: #475569; font-size: 0.9rem; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.02); }
.footer p { margin: 6px 0; }
.footer a { color: #2563eb; margin: 0 10px; font-weight: 500; }

/* ===== Home Page Specific ===== */
.home-swiper { width: 100%; border-radius: 28px; overflow: hidden; margin-bottom: 28px; box-shadow: 0 6px 24px rgba(0,0,0,0.04); }
.home-swiper img { width: 100%; height: 340px; object-fit: cover; display: block; }
.news-grid-home { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 28px; }
.news-card-home { background: #ffffff; border-radius: 20px; padding: 16px; display: flex; gap: 14px; box-shadow: 0 4px 16px rgba(0,0,0,0.03); transition: 0.15s; }
.news-card-home:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.06); }
.news-card-home img { width: 120px; height: 80px; object-fit: cover; border-radius: 14px; flex-shrink: 0; }
.news-card-home-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; }
.news-card-home-title { font-size: 0.95rem; font-weight: 600; color: #0f172a; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.news-card-home-summary { font-size: 0.82rem; color: #475569; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-top: 4px; }
.news-card-home-meta { font-size: 0.75rem; color: #94a3b8; margin-top: 6px; }

/* Category page list */
.cat-news-list { display: flex; flex-direction: column; gap: 16px; }
.cat-news-item { background: #ffffff; border-radius: 20px; padding: 18px; display: flex; gap: 16px; box-shadow: 0 4px 16px rgba(0,0,0,0.03); transition: 0.15s; }
.cat-news-item:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.06); }
.cat-news-item img { width: 160px; height: 110px; object-fit: cover; border-radius: 14px; flex-shrink: 0; }
.cat-news-item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; }
.cat-news-item-title { font-size: 1.05rem; font-weight: 600; color: #0f172a; line-height: 1.4; margin-bottom: 6px; }
.cat-news-item-desc { font-size: 0.88rem; color: #475569; line-height: 1.6; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cat-news-item-meta { font-size: 0.8rem; color: #94a3b8; margin-top: 8px; display: flex; justify-content: space-between; }

/* Pagination */
.pagination-container { display: flex; justify-content: center; padding: 24px 0; }
.pagination { display: flex; gap: 8px; list-style: none; }
.pagination li a { display: block; padding: 8px 16px; background: #f1f4f9; border-radius: 10px; font-size: 0.9rem; color: #475569; font-weight: 500; transition: 0.15s; }
.pagination li a:hover { background: #dbeafe; color: #1e3a8a; }
.pagination li.active a { background: #0b1a2e; color: #facc15; }
.pagination li.disabled a { opacity: 0.4; pointer-events: none; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .container { grid-template-columns: 1fr; }
  .timeline-list { grid-template-columns: 1fr; }
  .news-grid-home { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { padding: 0 12px; }
  .header-inner { flex-wrap: wrap; height: auto; padding: 14px 0; gap: 10px; }
  .nav-links a { padding: 6px 14px; font-size: 0.85rem; }
  .main-content { padding: 18px; }
  .article-title { font-size: 1.6rem; }
  .match-info-left { flex-wrap: wrap; }
  .timeline-thumb { width: 80px; height: 60px; }
  .match-list-sidebar li { flex-wrap: wrap; }
  .match-info-right { align-items: flex-start; margin-top: 6px; width: 100%; flex-direction: row; justify-content: space-between; }
  .live-link { min-width: calc(50% - 10px); padding: 12px 20px; font-size: 14px; }
  .cat-news-item { flex-direction: column; }
  .cat-news-item img { width: 100%; height: auto; }
}
@media (max-width: 400px) {
  .live-link { min-width: 100%; padding: 10px 16px; }
}
