/* ============================================
   申花分析档案馆 v4 — 全新视觉设计
   深蓝金主题 · 毛玻璃卡片 · 分层信息架构
   ============================================ */

:root {
  /* Brand Colors */
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-300: #93c5fd;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e3a8a;
  --blue-900: #0f1d44;
  --blue-950: #0a1128;
  --gold-500: #f59e0b;
  --gold-600: #d97706;
  --gold-700: #b45309;
  --gold-400: #fbbf24;

  /* Semantic */
  --success: #22c55e;
  --danger: #ef4444;
  --warning: #f59e0b;

  /* Surface */
  --bg-primary: #060b18;
  --bg-secondary: #0c1530;
  --bg-card: rgba(15, 24, 50, 0.75);
  --bg-card-hover: rgba(20, 30, 60, 0.85);
  --bg-glass: rgba(12, 21, 48, 0.6);
  --border-subtle: rgba(59, 130, 246, 0.15);
  --border-card: rgba(59, 130, 246, 0.12);
  --border-card-hover: rgba(59, 130, 246, 0.35);

  /* Text */
  --text-primary: #f0f4fc;
  --text-secondary: #94a3c4;
  --text-muted: #5a6a8a;
  --text-accent: var(--blue-300);
}

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

body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Source Han Sans CN", sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 15px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   导航栏 — 极简毛玻璃
   ============================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 11, 24, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 32px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-logo {
  height: 32px;
  width: 32px;
  object-fit: contain;
  border-radius: 6px;
  filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.3));
}

.brand-text {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, var(--blue-400), var(--gold-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
  color: var(--blue-400);
  background: rgba(59, 130, 246, 0.1);
}

/* 赞赏支持 TAB：顶部 TAB 组最右侧的强调入口，链接到 /skills/sponsor.html */
.nav-link.nav-support {
  color: #F1DA8A;
  background: rgba(212, 175, 55, 0.10);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.34);
  margin-left: 6px;
}
.nav-link.nav-support:hover {
  color: #FFF3C4;
  background: rgba(212, 175, 55, 0.20);
  box-shadow: inset 0 0 0 1px rgba(241, 218, 138, 0.62);
}

.nav-new-btn {
  margin-left: 8px;
  padding: 6px 16px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: #fff;
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: none;
}

.nav-new-btn:hover {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  border-color: var(--blue-400);
}

/* ============================================
   Hero — 大气背景 + 光晕
   ============================================ */
.hero {
  position: relative;
  padding: 80px 20px 60px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(29, 78, 216, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 60%, rgba(245, 158, 11, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 100% 100% at 50% 50%, rgba(6, 11, 24, 0.5) 0%, var(--bg-primary) 70%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: var(--gold-400);
  padding: 5px 18px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.hero-logo {
  height: 20px;
  width: 20px;
  border-radius: 3px;
}

.hero h1 {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 12px;
  color: #fff;
  text-shadow: 0 0 40px rgba(59, 130, 246, 0.15);
}

.hero-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   赛季数据横栏 — 3 卡片式
   ============================================ */
.hero-stats-bar {
  background: transparent;
  padding: 0 20px 30px;
}

.hero-stats-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}

/* 赛季排名快捷入口：首页常驻，不依赖顶部导航 */
.season-entry {
  max-width: 1280px;
  margin: 0 auto 6px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.season-entry-card {
  display: block;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(245,158,11,0.10));
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 20px 22px;
  transition: all 0.25s ease;
}
.season-entry-card:hover {
  border-color: rgba(59,130,246,0.45);
  background: linear-gradient(135deg, rgba(59,130,246,0.20), rgba(245,158,11,0.16));
  transform: translateY(-2px);
}
.se-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.se-year { font-size: 26px; font-weight: 900; color: #fff; letter-spacing: 1px; }
.se-status { font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.se-live { color: #22c55e; background: rgba(34,197,94,0.14); }
.se-done { color: #94a3c4; background: rgba(148,163,196,0.14); }
.se-title { font-size: 15px; font-weight: 800; color: var(--gold-400); margin-bottom: 4px; }
.se-desc { font-size: 12.5px; color: var(--text-secondary); line-height: 1.6; }
.se-go { margin-top: 10px; font-size: 12.5px; font-weight: 700; color: var(--blue-400); }

@media (max-width: 640px) {
  .season-entry { grid-template-columns: 1fr; padding: 0 16px; }
}


.stat-block {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 20px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-block:hover {
  border-color: var(--border-card-hover);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.stat-value {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.stat-value.blue { color: var(--blue-400); }
.stat-value.gold { color: var(--gold-500); }

.wdl-row {
  display: flex;
  gap: 4px;
  margin-top: 10px;
  justify-content: center;
}

.wdl-block {
  flex: 1;
  text-align: center;
  padding: 6px 0;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
}

.wdl-block.w { background: rgba(34, 197, 94, 0.12); color: #4ade80; }
.wdl-block.d { background: rgba(245, 158, 11, 0.12); color: #fbbf24; }
.wdl-block.l { background: rgba(239, 68, 68, 0.12); color: #f87171; }

.stat-bar {
  display: flex;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.stat-bar-segment {
  height: 100%;
  transition: width 1s ease;
}

.stat-bar-w { background: #4ade80; }
.stat-bar-d { background: #fbbf24; }
.stat-bar-l { background: #f87171; }

.stat-sub {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* 积分走势图 */
.point-chart-container {
  margin-top: 10px;
  position: relative;
}

.point-chart-canvas {
  width: 100%;
  height: 56px;
  display: block;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.15));
}

.point-chart-legend {
  display: flex;
  gap: 14px;
  margin-top: 4px;
  justify-content: center;
}

.point-chart-legend span {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.point-chart-legend .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

/* 进度环 */
.progress-ring-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-top: 4px;
}

.progress-ring-svg {
  transform: rotate(-90deg);
  filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.2));
}

.ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 4;
}

.ring-fill {
  fill: none;
  stroke: var(--blue-500);
  stroke-width: 4;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s ease;
  filter: drop-shadow(0 0 4px rgba(59, 130, 246, 0.4));
}

.ring-info-main {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.ring-info-sub {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
}

/* ============================================
   筛选栏
   ============================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px 60px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 40px 0 20px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title::before {
  content: '';
  width: 3px;
  height: 22px;
  background: linear-gradient(180deg, var(--blue-500), var(--gold-500));
  border-radius: 2px;
}

.section-count {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
}

.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 16px;
}

/* 季节 tab */
.season-tabs {
  display: flex;
  gap: 3px;
  background: var(--bg-glass);
  border-radius: 12px;
  padding: 3px;
  border: 1px solid var(--border-subtle);
}

.season-btn {
  padding: 7px 18px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.season-btn.active {
  background: var(--blue-700);
  color: #fff;
  box-shadow: 0 2px 8px rgba(29, 78, 216, 0.3);
}

/* 分类筛选 */
.category-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 6px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--blue-400);
  color: var(--text-primary);
}

.filter-btn.active {
  background: var(--blue-700);
  border-color: var(--blue-600);
  color: #fff;
}

.sort-btn {
  background: var(--bg-glass) !important;
  border: 1px solid var(--border-subtle) !important;
  font-size: 11px !important;
  min-width: 100px;
}

/* ============================================
   搜索框 — 显眼圆角
   ============================================ */
.search-bar {
  position: relative;
  margin-bottom: 24px;
}

.search-bar input {
  width: 100%;
  padding: 12px 44px 12px 44px;
  border-radius: 14px;
  border: 1px solid var(--border-card);
  background: var(--bg-glass);
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.search-bar input:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1), 0 4px 16px rgba(0, 0, 0, 0.2);
  background: rgba(12, 21, 48, 0.85);
}

.search-bar input::placeholder {
  color: var(--text-muted);
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 16px;
  pointer-events: none;
}

.search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--text-muted);
  font-size: 14px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.search-clear:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

/* ============================================
   卡片网格 — 毛玻璃卡片
   ============================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 18px;
}

.report-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border-card);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  overflow: hidden;
}

.report-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border-color: var(--border-card-hover);
  background: var(--bg-card-hover);
}

/* 左侧装饰条 */
.report-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  border-radius: 16px 0 0 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.report-card:hover::before {
  opacity: 1;
}

/* 主客场类型色 */
.card-home-gradient::before { background: linear-gradient(180deg, var(--blue-500), var(--blue-700)); }
.card-away-gradient::before { background: linear-gradient(180deg, var(--danger), #dc2626); }
.card-cup-gradient::before { background: linear-gradient(180deg, #f59e0b, #d97706); }
.card-special-gradient::before { background: linear-gradient(180deg, var(--gold-500), var(--gold-700)); }
.card-pdf-gradient::before { background: linear-gradient(180deg, #8b5cf6, #7c3aed); }
.card-pre-gradient::before { background: linear-gradient(180deg, #10b981, #059669); }

/* 标签 */
.report-card .card-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.tag-match { background: rgba(59, 130, 246, 0.12); color: var(--blue-300); }
.tag-数据供应商 { background: rgba(139, 92, 246, 0.12); color: #c4b5fd; }
.tag-cup { background: rgba(245, 158, 11, 0.12); color: var(--gold-400); }
.tag-cup-type { background: rgba(234, 179, 8, 0.15); color: #facc15; }
.tag-pre { background: rgba(16, 185, 129, 0.12); color: #6ee7b7; }

.card-venue {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-left: 6px;
  margin-bottom: 10px;
}

.tag-home { background: rgba(59, 130, 246, 0.1); color: var(--blue-300); }
.tag-away { background: rgba(239, 68, 68, 0.1); color: #fca5a5; }
.tag-round { background: rgba(100, 116, 139, 0.12); color: var(--text-secondary); }

/* 标题 */
.report-card .card-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.45;
  color: var(--text-primary);
}

/* 描述 */
.report-card .card-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 徽章 */
.card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
}

.card-badge.xg { border-left: 2px solid var(--gold-500); }
.card-badge.goal { border-left: 2px solid #4ade80; }
.card-badge.concede { border-left: 2px solid #f87171; }
.card-badge.rating { border-left: 2px solid var(--blue-400); }
.card-badge.pdf { border-left: 2px solid #a78bfa; }

/* Meta */
.report-card .card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 11px;
  color: var(--text-muted);
}

.card-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* NEW 标签 */
.card-new-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
  animation: new-pulse 2s ease-in-out infinite;
  z-index: 2;
}

@keyframes new-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* 入场动画 */
.report-card-enter {
  animation: card-enter 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
}

@keyframes card-enter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   骨架屏
   ============================================ */
.skeleton-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border-card);
  overflow: hidden;
}

.skeleton-line {
  height: 12px;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.05) 25%, rgba(59, 130, 246, 0.12) 50%, rgba(59, 130, 246, 0.05) 75%);
  background-size: 200% 100%;
  border-radius: 6px;
  animation: shimmer 1.8s infinite;
  margin-bottom: 10px;
}

.skeleton-line:nth-child(1) { width: 55%; height: 16px; margin-bottom: 14px; }
.skeleton-line:nth-child(2) { width: 100%; }
.skeleton-line:nth-child(3) { width: 80%; }
.skeleton-line:nth-child(4) { width: 40%; height: 10px; margin-top: 14px; border-top: 1px solid rgba(255,255,255,0.04); padding-top: 10px; }

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ============================================
   空状态 / 无搜索结果
   ============================================ */
.empty-state,
.no-results {
  text-align: center;
  padding: 70px 20px;
}

.empty-icon,
.no-results-icon {
  font-size: 52px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-text,
.no-results-text {
  font-size: 15px;
  color: var(--text-secondary);
}

.no-results-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ============================================
   公众号弹窗
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: modal-fade-in 0.25s ease;
}

@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 36px;
  max-width: 340px;
  width: 90%;
  text-align: center;
  position: relative;
  animation: modal-slide-up 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@keyframes modal-slide-up {
  from { transform: translateY(24px) scale(0.96); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  cursor: pointer;
  font-size: 16px;
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.modal-close:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

.modal-content h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.qr-code svg {
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  border: 1px solid var(--border-card);
}

.qr-caption {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 14px;
}

.qr-note {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
}
.qr-show {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.qr-img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  image-rendering: pixelated;
  background: #ffffff;
  border-radius: 12px;
  padding: 8px;
  border: 1px solid var(--border-card);
}


/* ============================================
   页脚
   ============================================ */
footer {
  text-align: center;
  padding: 30px 20px;
  color: var(--text-muted);
  font-size: 12px;
  border-top: 1px solid var(--border-subtle);
  line-height: 2;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 32px;
  text-align: left;
  margin-bottom: 16px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.footer-col p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 960px) {
  .hero-stats-inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stat-block {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }

  .hero h1 {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .navbar-inner {
    padding: 0 16px;
  }

  /* 移动端收起部分 TAB，但保留赛季排名入口与赞赏入口 */
  .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .nav-links .nav-link:not(.nav-support):not([href*="season-"]) {
    display: none;
  }

  .hero {
    padding: 60px 16px 40px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .container {
    padding: 0 16px 40px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }
}

/* PDF 分组折叠 */
.pdf-group-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(139, 92, 246, 0.06);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  margin-bottom: 8px;
}

.pdf-group-header:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.25);
}

.pdf-group-toggle {
  font-size: 12px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.pdf-group-toggle.open {
  transform: rotate(90deg);
}

.pdf-group-list {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.pdf-group-list.open {
  max-height: 2000px;
}
