:root {
  /* —— 足球主题：深蓝金属系（导航 / 标题 / 按钮 / 卡片头部） —— */
  --navy-deep: #0a1f3d;
  --navy-mid: #0f3d6e;
  --navy-light: #1e5fa8;
  --navy-glow: #4a9eff;
  /* —— 足球主题：球场绿茵系（主背景 / Hero 底纹） —— */
  --pitch-dark: #0d3d22;
  --pitch-mid: #1a5c33;
  --pitch-light: #2a7a47;
  --pitch-line: rgba(255,255,255,0.08);
  /* —— 足球主题：金属高光（标题 / VS 徽章 / 主队描边） —— */
  --metal-silver: #c8d4e0;
  --metal-gold: #ffd24a;
  --metal-gold-dark: #c89a1a;

  /* —— 兼容旧变量名（保留语义，让旧规则继续工作） —— */
  --bg: var(--pitch-dark);
  --card-bg: rgba(15,61,110,0.85);
  --border: rgba(74,158,255,0.4);
  --text: #e2e8f0;
  --muted: #9fb4ce;
  --primary: #2ecc71;
  --primary-light: #27ae60;
  --green: #4ade80;
  --red: #ef4444;
  --orange: #f59e0b;
  --a-tier: rgba(46,204,113,0.08);
  --b-tier: rgba(41,128,185,0.08);
  --radius: 10px;
  --shadow: 0 1px 4px rgba(0,0,0,0.3);
  --shadow-lg: 0 4px 16px rgba(0,0,0,0.4);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background:
    /* 1. 星点装饰（散布的微小白点 / 蓝点，模拟夜空星辰） */
    radial-gradient(1.5px 1.5px at 20% 18%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 78% 12%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 35% 8%, rgba(255,255,255,0.35), transparent),
    radial-gradient(1px 1px at 88% 45%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 12% 60%, rgba(255,255,255,0.25), transparent),
    radial-gradient(1.5px 1.5px at 65% 75%, rgba(255,255,255,0.3), transparent),
    radial-gradient(2px 2px at 55% 25%, rgba(170,200,255,0.4), transparent),
    radial-gradient(1px 1px at 92% 82%, rgba(170,200,255,0.3), transparent),
    /* 2. 顶部聚光灯朦胧光晕（从顶部中央往下散射的冷蓝光） */
    radial-gradient(ellipse 90% 40% at 50% 0%, rgba(74,158,255,0.18) 0%, transparent 60%),
    /* 3. 看台横向暗纹（取代原草坪条纹，淡淡的横向分隔感） */
    repeating-linear-gradient(0deg,
      transparent 0,
      transparent 119px,
      rgba(255,255,255,0.025) 119px,
      rgba(255,255,255,0.025) 120px),
    /* 4. 深蓝夜空主底（顶部稍亮 → 底部更深，模拟体育馆夜景） */
    linear-gradient(180deg,
      #0a1f3d 0%,
      #08182f 35%,
      #050f24 70%,
      #030a1a 100%);
  background-attachment: fixed;
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}

/* ── Navbar （足球主题：深蓝金属横幅） ──────────────────────────── */
.navbar {
  background:
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy-mid) 55%, var(--navy-deep) 100%);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow:
    0 4px 20px rgba(74,158,255,0.25),
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0 -2px 0 rgba(0,0,0,0.35);
  border-bottom: 2px solid var(--navy-glow);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  height: 56px;
}
.brand {
  text-decoration: none;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-right: auto;
  background: linear-gradient(180deg, #fff 0%, var(--metal-silver) 60%, #8da8c8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  /* 兜底（不支持 background-clip 的浏览器） */
  color: #fff;
}
.nav-links {
  display: flex;
  gap: 22px;
}
.nav-links a {
  color: rgba(232,240,255,0.82);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 4px 2px;
  position: relative;
  transition: color 0.2s, text-shadow 0.2s;
}
.nav-links a:hover {
  color: #fff;
  text-shadow: 0 0 8px var(--navy-glow);
}
.nav-links a:hover::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--navy-glow), transparent);
  box-shadow: 0 0 6px var(--navy-glow);
}
.nav-toggle { display: none; }
.btn-lang {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.78);
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  margin-left: 8px;
  transition: all 0.2s;
}
.btn-lang:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* ── Container ──────────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 20px auto;
  padding: 0 16px;
}

/* ── Footer ─────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding: 20px 16px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

/* ── Ad slots ───────────────────────────────────────────────────── */
.ad-slot {
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 16px;
  text-align: center;
}
.ad-placeholder {
  background: rgba(255,255,255,0.03);
  border: 1px dashed var(--border);
  border-radius: 4px;
  padding: 12px;
  color: var(--muted);
  font-size: 12px;
}
.ad-inline {
  margin: 16px 0;
}

/* ── Typography （足球主题：金属渐变 + 蓝色发光） ───────────── */
h1 {
  font-size: 24px;
  margin-bottom: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(180deg, #ffffff 0%, var(--metal-silver) 55%, #8da8c8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 8px rgba(74,158,255,0.35);
  /* 兜底色 */
  color: #fff;
}
h2 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--metal-silver);
  font-weight: 700;
  letter-spacing: 0.5px;
  border-left: 4px solid var(--navy-glow);
  padding-left: 10px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  box-shadow: -2px 0 8px -4px var(--navy-glow);
}
h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #e2ecff;
  border-bottom: 2px solid var(--navy-glow);
  padding-bottom: 6px;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  box-shadow: 0 2px 0 -1px rgba(74,158,255,0.3);
}

a { color: #7ab9ff; text-decoration: none; }
a:hover { color: #a8d0ff; text-shadow: 0 0 6px rgba(74,158,255,0.5); }

.muted { color: var(--muted); }
.small { font-size: 12px; }
.green { color: var(--green); }
.red { color: var(--red); }

/* ── Cards （足球主题 v2：深蓝夜空底色下的高对比玻璃卡） ──── */
.card {
  background: linear-gradient(180deg, rgba(20,55,95,0.92), rgba(12,32,60,0.95));
  border: 1px solid rgba(120,180,255,0.45);
  border-radius: 12px;
  padding: 16px 20px;
  position: relative;
  box-shadow:
    0 6px 20px rgba(0,0,0,0.55),               /* 更深的外阴影：浮在夜空之上 */
    0 0 0 1px rgba(74,158,255,0.15),           /* 蓝色光晕一圈：增强分离感 */
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0 0 30px rgba(74,158,255,0.06);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.card:hover {
  border-color: var(--navy-glow);
  box-shadow:
    0 10px 28px rgba(0,0,0,0.6),
    0 0 0 1px rgba(74,158,255,0.4),
    0 0 24px rgba(74,158,255,0.3),
    inset 0 1px 0 rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

/* ── Summary cards (metrics) ────────────────────────────────────── */
.summary-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.card-label { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.card-value { font-size: 24px; font-weight: 700; }
.card-green { border-left: 4px solid var(--green); }
.card-red { border-left: 4px solid var(--red); }

/* ── Date navigation ────────────────────────────────────────────── */
.page-header { margin-bottom: 20px; }
.date-nav { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.date-nav h1 { margin: 0; flex: 1; text-align: center; }
.today-tag {
  /* v2 修复：h1 用了金属渐变 + text-fill-color: transparent，子元素 span 会继承导致文字变透明只剩椭圆背景。
     这里强制重置文字填充色 + 改用蓝色盾牌徽章风格，与全站主题一致 */
  display: inline-block;
  background: linear-gradient(180deg, var(--navy-light), var(--navy-mid));
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 10px;
  border: 1px solid var(--navy-glow);
  border-radius: 12px;
  vertical-align: middle;
  text-shadow: 0 1px 2px rgba(0,0,0,0.45);
  box-shadow: 0 2px 6px rgba(74,158,255,0.4), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-sm {
  padding: 7px 16px;
  background: linear-gradient(180deg, var(--navy-light) 0%, var(--navy-mid) 100%);
  border: 1px solid var(--navy-glow);
  border-radius: 6px;
  text-decoration: none;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.45);
  box-shadow:
    0 2px 6px rgba(74,158,255,0.35),
    inset 0 1px 0 rgba(255,255,255,0.22),
    inset 0 -2px 0 rgba(0,0,0,0.25);
  transition: all 0.2s;
}
.btn-sm:hover {
  background: linear-gradient(180deg, var(--navy-glow) 0%, var(--navy-light) 100%);
  border-color: #7ab9ff;
  box-shadow:
    0 4px 12px rgba(74,158,255,0.55),
    inset 0 1px 0 rgba(255,255,255,0.3),
    inset 0 -2px 0 rgba(0,0,0,0.25);
  transform: translateY(-1px);
}

/* ── Tier sections ──────────────────────────────────────────────── */
.tier-section {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.tier-a { border-left: 4px solid var(--green); background: var(--a-tier); }
.tier-b { border-left: 4px solid var(--primary); background: var(--b-tier); }
.tier-b-optional { border-left: 4px solid #6b7280; }
.tier-watch { border-left: 4px solid var(--orange); background: rgba(245,158,11,0.06); }

.no-reco {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 20px;
}

/* ── Pick cards ─────────────────────────────────────────────────── */
.pick-card {
  background: rgba(17,34,64,0.8);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 10px;
  transition: all 0.2s;
}
.pick-card:hover { box-shadow: 0 2px 12px rgba(46,204,113,0.12); border-color: rgba(46,204,113,0.3); }
.pick-card:last-child { margin-bottom: 0; }
.pick-header { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.kickoff { font-weight: 700; font-size: 14px; min-width: 44px; color: var(--green); }
.match-num { color: var(--muted); font-size: 12px; }
.league { font-size: 12px; color: var(--primary); background: rgba(46,204,113,0.08); padding: 1px 6px; border-radius: 4px; }
.match-title { font-weight: 600; flex: 1; text-decoration: none; color: var(--text); }
.match-title:hover { color: var(--green); }

/* 桌面端：.pick-teams-row 默认表现为紧凑一行，与原 header 内嵌效果接近 */
.pick-teams-row {
  display: inline-flex;
  align-items: center;
  margin: -4px 0 8px;
}
.pick-teams-row .match-title {
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}
.pick-teams-row .match-title:hover { color: var(--green); }

.badge { font-size: 11px; padding: 2px 8px; border-radius: 10px; font-weight: 500; }
.badge-single { background: rgba(74,222,128,0.15); color: var(--green); border: 1px solid rgba(74,222,128,0.3); }
.badge-cold { background: rgba(245,158,11,0.1); color: var(--orange); border: 1px solid rgba(245,158,11,0.3); }
.badge-correct { background: rgba(74,222,128,0.15); color: var(--green); border: 1px solid rgba(74,222,128,0.3); }
.badge-wrong { background: rgba(239,68,68,0.1); color: var(--red); border: 1px solid rgba(239,68,68,0.3); }

.pick-decision { font-size: 15px; margin-bottom: 4px; }
.pick-decision strong { color: var(--green); }
.pick-stats { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.pick-odds { font-size: 13px; margin-bottom: 4px; color: var(--muted); }
.pick-reason { font-size: 12px; color: var(--muted); }

/* ── Tables ─────────────────────────────────────────────────────── */
.table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
th, td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
th { background: rgba(0,0,0,0.2); font-weight: 600; color: var(--muted); font-size: 12px; }
tr:last-child td { border-bottom: none; }
tr.row-bet { background: rgba(46,204,113,0.06); }
tr.row-bet:hover { background: rgba(46,204,113,0.12); }
tr.row-skip:hover { background: rgba(255,255,255,0.03); }
td a { color: var(--primary); text-decoration: none; }
td a:hover { text-decoration: underline; }

/* ── Chart ──────────────────────────────────────────────────────── */
.chart-container {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

/* ── Match detail ───────────────────────────────────────────────── */
.match-hero {
  background: linear-gradient(135deg, #0d2818 0%, #1e6b42 40%, #0d4f4f 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px 20px;
  margin-bottom: 20px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(46,204,113,0.2);
}
.match-hero-meta { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 12px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.match-id-tag { font-family: monospace; background: rgba(255,255,255,0.1); padding: 1px 8px; border-radius: 4px; font-size: 11px; }
.teams { display: flex; align-items: center; justify-content: center; gap: 20px; font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.vs { font-size: 14px; color: rgba(255,255,255,0.4); font-weight: 400; }
.result-banner {
  font-size: 20px;
  font-weight: 700;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.detail-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.detail-card.wide { grid-column: 1 / -1; }
#decision-card { border-left: 3px solid var(--green); }

.kv-table { width: 100%; }
.kv-table th { width: 40%; color: var(--muted); font-weight: 400; font-size: 13px; padding: 5px 8px; background: transparent; border-bottom: 1px solid rgba(255,255,255,0.05); }
.kv-table td { font-size: 13px; padding: 5px 8px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.kv-table td.highlight { color: var(--green); font-weight: 700; }

/* ── 详情页：赔率网格（HHAD/TTQ）& 比分徽章（CRS）通用样式 ───── */
.odds-line {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}
.odds-line strong {
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  margin-left: 6px;
}
.odds-grid {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}
.odds-grid-3 { grid-template-columns: repeat(3, 1fr); }
.odds-grid-2 { grid-template-columns: repeat(2, 1fr); }
.odds-cell {
  background: rgba(74,158,255,0.06);
  border: 1px solid rgba(74,158,255,0.2);
  border-radius: 8px;
  padding: 8px 6px;
  text-align: center;
}
.odds-cell-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}
.odds-cell-sp {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  font-family: 'Menlo', 'Monaco', monospace;
}

.crs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.crs-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(46,204,113,0.08);
  border: 1px solid rgba(46,204,113,0.25);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  font-family: 'Menlo', 'Monaco', monospace;
}
.crs-chip[data-rank="1"] {
  background: rgba(255,210,74,0.12);
  border-color: rgba(255,210,74,0.45);
}
.crs-chip-rank {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  font-family: inherit;
}

.ai-summary { font-size: 14px; line-height: 1.7; white-space: pre-wrap; }
.ai-risk { font-size: 13px; margin-top: 8px; }
.article-preview, .article-full { font-size: 14px; line-height: 1.8; white-space: pre-wrap; color: var(--text); }
.btn-article-toggle {
  margin-top: 10px;
  padding: 5px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: transparent;
  color: var(--primary);
  font-size: 13px;
  cursor: pointer;
}

.back-link { margin-top: 20px; }
.back-link a { color: var(--primary); text-decoration: none; font-size: 14px; }

/* ── Home page ──────────────────────────────────────────────────── */
.hero-section {
  background: linear-gradient(135deg, #0d2818 0%, #1e6b42 40%, #0d4f4f 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  margin-bottom: 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(46,204,113,0.2);
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 240px;
  height: 240px;
  border: 2px solid rgba(255,255,255,0.06);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero-section h1 { color: #fff; font-size: 26px; margin-bottom: 8px; position: relative; }
.hero-section p { color: rgba(255,255,255,0.7); font-size: 15px; position: relative; }
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 20px;
  position: relative;
}
.hero-stat { text-align: center; }
.hero-stat-value { font-size: 28px; font-weight: 700; }
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,0.6); }

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.section-header a { font-size: 13px; color: var(--primary); text-decoration: none; }

/* ── Record page ────────────────────────────────────────────────── */
.record-list { display: flex; flex-direction: column; gap: 8px; }
.record-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
}
.record-result {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.result-win { background: var(--green); }
.result-loss { background: var(--red); }
.result-pending { background: #6b7280; }
.record-match { flex: 1; }
.record-match a { color: var(--text); text-decoration: none; }
.record-match a:hover { color: var(--green); }
.record-odds { color: var(--muted); font-size: 12px; }

/* ── Admin ──────────────────────────────────────────────────────── */
.admin-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  min-height: 60vh;
}
.admin-sidebar {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 0;
  box-shadow: var(--shadow);
  height: fit-content;
  position: sticky;
  top: 72px;
}
.admin-sidebar a {
  display: block;
  padding: 10px 20px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  border-left: 3px solid transparent;
}
.admin-sidebar a:hover { background: rgba(255,255,255,0.03); }
.admin-sidebar a.active { border-left-color: var(--primary); color: var(--primary); font-weight: 600; background: rgba(46,204,113,0.06); }
.admin-content { min-width: 0; }

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}
.status-ok { background: var(--green); }
.status-warn { background: var(--orange); }
.status-err { background: var(--red); }

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

/* ── Mobile responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
  }
  .nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: transform 0.2s;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    background: #0d2818;
    flex-direction: column;
    padding: 8px 0;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 20px; }

  .container { padding: 0 12px; margin: 12px auto; }

  h1 { font-size: 18px; }
  .hero-section { padding: 24px 16px; }
  .hero-section h1 { font-size: 20px; }
  .hero-stats { gap: 16px; }
  .hero-stat-value { font-size: 22px; }

  .date-nav { justify-content: space-between; }
  .date-nav h1 { font-size: 16px; }

  .summary-cards { grid-template-columns: repeat(2, 1fr); }

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

  .teams { font-size: 18px; gap: 12px; }

  /* ── 详情页 H5 适配：detail-card kv-table 转堆叠 + 赔率/CRS 微调 ── */
  .detail-card {
    padding: 18px;
  }
  .detail-card h3 {
    font-size: 16px;
    margin: 0 0 14px;
    padding: 0;
  }

  /* kv-table 在 H5 下转为"标签上、值下"的堆叠卡 */
  .detail-card .kv-table,
  .detail-card .kv-table tbody {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
  }
  .detail-card .kv-table tr {
    display: block;
    width: 100%;
    padding: 10px 0;
    margin: 0;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    white-space: normal;
    text-align: left;
  }
  .detail-card .kv-table tr:first-child { padding-top: 0; }
  .detail-card .kv-table tr:last-child { border-bottom: 0; padding-bottom: 0; }
  .detail-card .kv-table th,
  .detail-card .kv-table td {
    display: block;
    width: 100%;
    padding: 0 8px;
    margin: 0;
    border: 0;
    white-space: normal;
    text-align: left;
    box-sizing: border-box;
  }
  .detail-card .kv-table th {
    font-size: 12px;
    color: var(--muted);
    font-weight: 400;
    margin-bottom: 6px;
    line-height: 1.4;
    letter-spacing: 0.5px;
  }
  .detail-card .kv-table td {
    font-size: 15px;
    color: var(--text);
    font-weight: 600;
    line-height: 1.6;
    word-break: break-word;
  }
  .detail-card .kv-table td.muted,
  .detail-card .kv-table td.small {
    font-size: 13px;
    font-weight: 400;
  }

  /* 赔率网格：H5 下更紧凑 */
  .detail-card-odds .odds-grid {
    gap: 6px;
  }
  .detail-card-odds .odds-cell {
    padding: 8px 4px;
  }
  .detail-card-odds .odds-cell-sp {
    font-size: 15px;
  }

  /* 让球/大小球决策按钮全宽居中 */
  .hhad-decision {
    text-align: center;
    padding: 8px;
  }

  /* CRS 比分徽章在窄屏上稍大、间距更舒适 */
  .detail-card-crs .crs-chips {
    gap: 6px;
  }
  .detail-card-crs .crs-chip {
    padding: 7px 12px;
    font-size: 15px;
  }

  /* H5 推荐卡：分行布局 */
  .pick-card .pick-header {
    gap: 6px;
    margin-bottom: 10px;
  }
  /* 收藏按钮推到最右 */
  .pick-card .pick-header .btn-fav {
    margin-left: auto;
  }

  /* 第2行 队名三栏：主队左 / VS 灰字居中 / 客队右 */
  .pick-teams-row {
    display: block;
    margin: 0 0 10px;
  }
  .pick-teams-row .match-title {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 12px;
    width: 100%;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
  }
  .pick-teams-row .match-title .team-name {
    /* 中文队名禁止单字竖排 */
    word-break: keep-all;
    overflow-wrap: break-word;
    line-height: 1.25;
  }
  .pick-teams-row .match-title .team-name:first-of-type {
    text-align: left;
  }
  .pick-teams-row .match-title .team-name:last-of-type {
    text-align: right;
  }

  /* 第3行 建议块：保持现状结构，仅微调字号与间距适配窄屏 */
  .pick-card .pick-body { font-size: 14px; }
  .pick-card .pick-decision { font-size: 15px; }
  .pick-card .pick-odds { font-size: 13px; }

  table { font-size: 12px; }
  th, td { padding: 8px 6px; }
  /* 仅 record/leaderboard 等横向数据表禁止换行；detail-card 的 kv-table 已通过 display:block 转堆叠不受此影响 */
  table:not(.kv-table) th,
  table:not(.kv-table) td { white-space: nowrap; }
  .col-hide-mobile { display: none; }

  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar {
    position: static;
    display: flex;
    overflow-x: auto;
    padding: 8px;
    gap: 4px;
  }
  .admin-sidebar a { padding: 8px 14px; white-space: nowrap; border-left: none; border-bottom: 2px solid transparent; }
  .admin-sidebar a.active { border-bottom-color: var(--primary); border-left: none; }

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

  .ad-slot { padding: 4px 12px; }
}

@media (max-width: 480px) {
  .hero-stats { flex-wrap: wrap; gap: 12px; }
  .summary-cards { grid-template-columns: 1fr; }
  .pick-stats { font-size: 11px; }
}

/* ── League filter tabs ────────────────────────────────────────── */
.league-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding: 10px 12px;
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.league-tab {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.league-tab:hover { border-color: var(--navy-glow); color: #fff; background: rgba(74,158,255,0.1); }
.league-tab.active {
  background: linear-gradient(180deg, var(--navy-light), var(--navy-mid));
  color: #fff;
  border-color: var(--navy-glow);
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,0.45);
  box-shadow:
    0 2px 8px rgba(74,158,255,0.45),
    inset 0 1px 0 rgba(255,255,255,0.25),
    inset 0 -2px 0 rgba(0,0,0,0.25);
}

/* ── Confidence badges （足球主题：盾牌徽章风格） ──────────── */
.badge-strong {
  background: linear-gradient(180deg, var(--metal-gold), var(--metal-gold-dark));
  color: var(--navy-deep);
  font-weight: 800;
  letter-spacing: 0.5px;
  border: 1px solid var(--metal-gold);
  text-shadow: 0 1px 1px rgba(255,255,255,0.4);
  box-shadow: 0 2px 6px rgba(255,210,74,0.4), inset 0 1px 0 rgba(255,255,255,0.4);
}
.badge-value {
  background: linear-gradient(180deg, rgba(59,130,246,0.85), rgba(29,78,216,0.95));
  color: #fff;
  font-weight: 700;
  border: 1px solid rgba(96,165,250,0.6);
  text-shadow: 0 1px 1px rgba(0,0,0,0.4);
  box-shadow: 0 1px 4px rgba(59,130,246,0.4), inset 0 1px 0 rgba(255,255,255,0.2);
}
.badge-watch {
  background: linear-gradient(180deg, var(--navy-light), var(--navy-mid));
  color: #fff;
  font-weight: 700;
  border: 1px solid var(--navy-glow);
  text-shadow: 0 1px 1px rgba(0,0,0,0.4);
  box-shadow: 0 1px 4px rgba(74,158,255,0.4), inset 0 1px 0 rgba(255,255,255,0.18);
}
.badge-observe {
  background: linear-gradient(180deg, rgba(245,158,11,0.85), rgba(180,83,9,0.95));
  color: #fff;
  font-weight: 700;
  border: 1px solid var(--metal-gold);
  text-shadow: 0 1px 1px rgba(0,0,0,0.4);
  box-shadow: 0 1px 4px rgba(245,158,11,0.4), inset 0 1px 0 rgba(255,255,255,0.2);
}
.badge-hhad {
  background: linear-gradient(180deg, rgba(139,92,246,0.85), rgba(91,33,182,0.95));
  color: #fff;
  font-weight: 700;
  border: 1px solid #a78bfa;
  text-shadow: 0 1px 1px rgba(0,0,0,0.4);
  box-shadow: 0 1px 4px rgba(139,92,246,0.4), inset 0 1px 0 rgba(255,255,255,0.18);
}
.badge-ttq {
  background: linear-gradient(180deg, rgba(34,211,238,0.85), rgba(6,148,170,0.95));
  color: #fff;
  font-weight: 700;
  border: 1px solid #67e8f9;
  text-shadow: 0 1px 1px rgba(0,0,0,0.4);
  box-shadow: 0 1px 4px rgba(34,211,238,0.4), inset 0 1px 0 rgba(255,255,255,0.18);
}
.hhad-decision {
  margin-top: 10px;
  font-size: 14px;
  padding: 8px 10px;
  background: rgba(0,0,0,0.15);
  border-radius: 6px;
}
.edge-bar {
  display: inline-block;
  height: 6px;
  border-radius: 3px;
  background: var(--primary);
  vertical-align: middle;
  margin-left: 4px;
  min-width: 8px;
  max-width: 80px;
  transition: width 0.3s;
}
.edge-bar.high { background: var(--green); }
.edge-bar.medium { background: var(--primary); }
.edge-bar.low { background: var(--orange); }
.pick-card-watch { border-left: 3px solid var(--orange); opacity: 0.9; }

/* ── Probability bars (match detail) ───────────────────────────── */
.prob-bars { margin: 12px 0; }
.prob-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.prob-bar-label { width: 50px; font-size: 12px; color: var(--muted); text-align: right; flex-shrink: 0; }
.prob-bar-track {
  flex: 1;
  height: 20px;
  background: rgba(0,0,0,0.2);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.prob-bar-fill {
  height: 100%;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  min-width: 28px;
  transition: width 0.5s ease;
}
.prob-bar-fill.model { background: var(--primary); }
.prob-bar-fill.implied { background: #6b7280; }
.prob-bar-fill.highlight { background: var(--green); }
.prob-bar-value { width: 44px; font-size: 12px; text-align: left; flex-shrink: 0; }

/* ── Factor radar (match detail) ───────────────────────────────── */
.factor-chart { text-align: center; margin: 16px 0; }
.factor-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 12px; }
.factor-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(0,0,0,0.15);
  border-radius: 6px;
  font-size: 12px;
}
.factor-bar-bg {
  flex: 1;
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.factor-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--primary);
  transition: width 0.3s;
}
.factor-bar-fill.positive { background: var(--green); }
.factor-bar-fill.negative { background: var(--red); }
.factor-name { width: 60px; flex-shrink: 0; color: var(--muted); }
.factor-val { width: 36px; flex-shrink: 0; text-align: right; font-weight: 600; font-size: 11px; }

/* ── Share button ──────────────────────────────────────────────── */
.share-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-share {
  padding: 7px 18px;
  border: 1px solid var(--navy-glow);
  border-radius: 6px;
  background: linear-gradient(180deg, var(--navy-light), var(--navy-mid));
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(0,0,0,0.45);
  box-shadow:
    0 2px 6px rgba(74,158,255,0.35),
    inset 0 1px 0 rgba(255,255,255,0.22),
    inset 0 -2px 0 rgba(0,0,0,0.25);
  transition: all 0.2s;
}
.btn-share:hover {
  background: linear-gradient(180deg, var(--navy-glow), var(--navy-light));
  border-color: #7ab9ff;
  box-shadow: 0 4px 12px rgba(74,158,255,0.55), inset 0 1px 0 rgba(255,255,255,0.3);
  transform: translateY(-1px);
}
.btn-share.copied {
  background: linear-gradient(180deg, var(--green), #16a34a);
  color: #fff;
  border-color: var(--green);
  box-shadow: 0 2px 8px rgba(74,222,128,0.5), inset 0 1px 0 rgba(255,255,255,0.25);
}

/* ── Favorites ─────────────────────────────────────────────────── */
.btn-fav {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  padding: 2px 4px;
  opacity: 0.4;
  transition: opacity 0.2s;
  color: var(--text);
}
.btn-fav:hover { opacity: 0.7; }
.btn-fav.active { opacity: 1; color: var(--orange); }
.fav-section { margin-bottom: 24px; }

/* ── Live odds indicator ───────────────────────────────────────── */
.odds-live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--muted);
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ── World Cup page ────────────────────────────────────────────── */
.wc-hero {
  background: linear-gradient(135deg, #7c2d12 0%, #dc2626 50%, #1e40af 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  margin-bottom: 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.wc-hero h1 { color: #fff; font-size: 28px; }
.wc-hero p { color: rgba(255,255,255,0.85); }
.wc-countdown {
  font-size: 22px;
  font-weight: 700;
  margin-top: 16px;
  letter-spacing: 2px;
}
.wc-group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.wc-group-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.wc-group-card h3 { border-bottom-color: var(--red); }

@media (max-width: 768px) {
  .league-filter { gap: 4px; padding: 8px; }
  .league-tab { padding: 4px 10px; font-size: 12px; }
  .factor-list { grid-template-columns: 1fr; }
  .prob-bar-label { width: 36px; font-size: 11px; }
  .share-row { justify-content: flex-start; }
  .wc-group-grid { grid-template-columns: 1fr; }
}

/* ── Feedback FAB ─────────────────────────────────────────────── */
.feedback-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(46,204,113,0.4);
  z-index: 200;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feedback-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(46,204,113,0.5);
}

.feedback-panel {
  position: fixed;
  bottom: 84px;
  right: 24px;
  width: 320px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  padding: 16px;
  display: none;
}
.feedback-panel.open { display: block; }
.feedback-panel h4 {
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--text);
}
.feedback-panel textarea {
  width: 100%;
  height: 80px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px;
  font-size: 13px;
  resize: vertical;
  font-family: inherit;
  margin-bottom: 8px;
  background: rgba(0,0,0,0.2);
  color: var(--text);
}
.feedback-panel textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.feedback-panel input[type="text"] {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 13px;
  margin-bottom: 10px;
  font-family: inherit;
  background: rgba(0,0,0,0.2);
  color: var(--text);
}
.feedback-panel input[type="text"]:focus {
  outline: none;
  border-color: var(--primary);
}
.feedback-panel .fb-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.feedback-panel .fb-btn {
  padding: 6px 16px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.feedback-panel .fb-btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.feedback-panel .fb-btn-primary:hover {
  background: var(--primary-light);
}

/* ── Toast notification ───────────────────────────────────────── */
.toast {
  position: fixed;
  top: 64px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: var(--green);
  color: #fff;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  z-index: 300;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast.error { background: var(--red); }

/* ── QR code grid ─────────────────────────────────────────────── */
.qr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 12px;
}
.qr-card {
  text-align: center;
  padding: 20px 16px;
  background: rgba(0,0,0,0.15);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.qr-card img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
}
.qr-card .qr-label {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.qr-card .qr-desc {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.qr-placeholder {
  width: 160px;
  height: 160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.1);
  border: 2px dashed var(--border);
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
}

/* ── Donate widget ─────────────────────────────────────────── */
.donate-widget {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 28px;
  box-shadow: var(--shadow);
  text-align: center;
}
.donate-widget h3 { margin-bottom: 4px; }

/* ── Footer enhanced ─────────────────────────────────────────── */
.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--primary);
  text-decoration: none;
  font-size: 13px;
}
.footer-links a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .feedback-panel { width: calc(100vw - 32px); right: 16px; }
  .feedback-fab { bottom: 16px; right: 16px; width: 44px; height: 44px; font-size: 20px; }
  .qr-grid { grid-template-columns: 1fr; }
  .qr-card img, .qr-placeholder { width: 140px; height: 140px; }
}

/* ════════════════════════════════════════════════════════════════
   足球主题专属组件类（Football Theme Components）
   命名前缀：.fb-*  （保留旧类不被破坏）
   ════════════════════════════════════════════════════════════════ */

/* ── 球场聚光区（用于 hero 容器） ──────────────────────────────
   v2 升级：聚光灯 + 中圈聚光 + 草坪 + 暗角 vignette + 蓝色发光外边
   ──────────────────────────────────────────────────────────── */
.fb-pitch-bg {
  position: relative;
  background:
    /* 草坪条纹（深浅绿交替，干净的球场效果） */
    repeating-linear-gradient(90deg,
      var(--pitch-mid) 0,
      var(--pitch-mid) 40px,
      var(--pitch-light) 40px,
      var(--pitch-light) 80px);
  border: 2px solid rgba(170,210,255,0.35);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 12px 40px rgba(0,0,0,0.7),               /* 外阴影：浮在夜空之上 */
    0 0 30px rgba(74,158,255,0.25),            /* 蓝色发光外边 */
    inset 0 0 80px rgba(0,0,0,0.4),            /* 内 vignette：四周暗角 */
    inset 0 0 0 1px rgba(255,255,255,0.08);    /* 内细高光线 */
}

/* 中圈装饰已移除（用户反馈白色圆圈干扰视觉，下掉以保持球场干净） */
.fb-pitch-bg::before {
  content: none;
}

/* v3：左侧闪电斜线已按用户反馈移除（保留 ::after 占位为 none，避免遗留伪元素干扰） */
.fb-pitch-bg::after {
  content: none;
}

/* hero 内容必须在闪电/中圈之上 */
.fb-hero-overlay,
.fb-hero > h1,
.fb-hero > p,
.fb-hero > .fb-shield-row,
.fb-vs-row,
.fb-bracket-grid,
.match-hero-meta,
.match-hero > .result-banner {
  position: relative;
  z-index: 2;
}

/* ── Hero 区（首页 / 世界杯） ─────────────────────────────────── */
.fb-hero {
  position: relative;
  padding: 36px 24px 32px;
  margin-bottom: 24px;
  text-align: center;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 1;
}
.fb-hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
}
.fb-hero-title {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 4px;
  margin: 0 0 8px;
  background: linear-gradient(180deg, #ffffff 0%, var(--metal-silver) 50%, #6e8aab 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 12px rgba(74,158,255,0.5);
  /* 兜底 */
  color: #fff;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}
.fb-hero-sub {
  color: rgba(232,240,255,0.92);
  font-size: 15px;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  margin-bottom: 8px;
}
.fb-hero-ball {
  position: absolute;
  left: 16px; bottom: 12px;
  opacity: 0.85;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
  z-index: 1;
}

/* ── 数据盾牌（hero 内三宫格） ───────────────────────────────── */
.fb-shield-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 18px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.fb-shield {
  position: relative;
  min-width: 110px;
  background: linear-gradient(180deg, var(--navy-light) 0%, var(--navy-mid) 60%, var(--navy-deep) 100%);
  border: 2px solid var(--navy-glow);
  clip-path: polygon(50% 0%, 100% 18%, 100% 70%, 50% 100%, 0% 70%, 0% 18%);
  padding: 18px 16px 28px;
  text-align: center;
  /* v2: 加强外发光 + 顶部高光，让盾牌在夜空底色下浮起 */
  box-shadow:
    0 8px 24px rgba(0,0,0,0.55),
    0 0 30px rgba(74,158,255,0.55),
    inset 0 2px 0 rgba(255,255,255,0.35),
    inset 0 -3px 0 rgba(0,0,0,0.3);
  filter: drop-shadow(0 4px 8px rgba(74,158,255,0.35));
}
.fb-shield-value {
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 1px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.55), 0 0 12px rgba(74,158,255,0.5);
  line-height: 1.1;
}
.fb-shield-value.green { color: #6ef296; text-shadow: 0 2px 6px rgba(0,0,0,0.55), 0 0 12px rgba(74,222,128,0.6); }
.fb-shield-value.red   { color: #ff7a7a; text-shadow: 0 2px 6px rgba(0,0,0,0.55), 0 0 12px rgba(239,68,68,0.6); }
.fb-shield-label {
  font-size: 12px;
  color: var(--metal-silver);
  margin-top: 6px;
  letter-spacing: 1.5px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

/* ── VS 对阵区（比赛详情页） ─────────────────────────────────── */
.fb-vs-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 28px 16px;
  gap: 12px;
  position: relative;
  z-index: 2;
}
.fb-team-shield {
  flex: 1;
  max-width: 220px;
  text-align: center;
  background: linear-gradient(180deg, var(--navy-light) 0%, var(--navy-mid) 55%, var(--navy-deep) 100%);
  border: 2px solid var(--navy-glow);
  clip-path: polygon(50% 0%, 100% 15%, 100% 75%, 50% 100%, 0% 75%, 0% 15%);
  padding: 22px 12px 32px;
  position: relative;
  /* v2: 强化外发光，盾牌像舞台主角浮在球场上 */
  box-shadow:
    0 10px 30px rgba(0,0,0,0.6),
    0 0 36px rgba(74,158,255,0.55),
    inset 0 2px 0 rgba(255,255,255,0.3),
    inset 0 -3px 0 rgba(0,0,0,0.3);
  filter: drop-shadow(0 6px 10px rgba(74,158,255,0.4));
}
.fb-team-shield.home {
  border-color: var(--metal-gold);
  box-shadow:
    0 10px 30px rgba(0,0,0,0.6),
    0 0 36px rgba(255,210,74,0.55),
    inset 0 2px 0 rgba(255,255,255,0.32),
    inset 0 -3px 0 rgba(0,0,0,0.3);
  filter: drop-shadow(0 6px 10px rgba(255,210,74,0.45));
}
.fb-team-icon {
  display: block;
  margin: 0 auto 8px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}
.fb-team-name {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.55);
  margin-top: 4px;
}
.fb-team-side {
  font-size: 12px;
  color: var(--metal-silver);
  margin-top: 4px;
  letter-spacing: 2px;
}
.fb-vs-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 4px;
}
.fb-vs-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: radial-gradient(circle at 50% 35%, var(--metal-gold) 0%, var(--metal-gold-dark) 100%);
  color: var(--navy-deep);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 1px;
  border-radius: 50%;
  border: 2px solid #fff3c4;
  box-shadow:
    0 0 24px rgba(255,210,74,0.65),
    inset 0 -3px 0 rgba(0,0,0,0.25),
    inset 0 2px 0 rgba(255,255,255,0.5);
  text-shadow: 0 1px 1px rgba(255,255,255,0.5);
}
.fb-vs-score {
  font-size: 28px;
  font-weight: 900;
  color: var(--metal-gold);
  letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(255,210,74,0.55), 0 0 16px rgba(255,210,74,0.35);
}

/* ── 世界杯：summary-cards 盾牌化（追加修饰类） ───────────── */
.fb-shield-card {
  background: linear-gradient(180deg, var(--navy-light) 0%, var(--navy-mid) 60%, var(--navy-deep) 100%) !important;
  border: 2px solid var(--navy-glow) !important;
  text-align: center;
  position: relative;
  /* v2: 加强外发光，世界杯页 4 张盾牌卡更突出 */
  box-shadow:
    0 8px 24px rgba(0,0,0,0.55),
    0 0 24px rgba(74,158,255,0.5),
    inset 0 2px 0 rgba(255,255,255,0.28),
    inset 0 -3px 0 rgba(0,0,0,0.3) !important;
}
.fb-shield-card:hover {
  box-shadow:
    0 12px 30px rgba(0,0,0,0.6),
    0 0 32px rgba(74,158,255,0.7),
    inset 0 2px 0 rgba(255,255,255,0.35) !important;
  transform: translateY(-2px);
}
.fb-shield-card .card-label { color: var(--metal-silver); letter-spacing: 1px; }
.fb-shield-card .card-value { color: #fff; text-shadow: 0 2px 8px rgba(74,158,255,0.55); }

/* ── 世界杯：赛程树骨架（参考样式3） ─────────────────────── */
.fb-bracket-skeleton {
  margin-top: 20px;
  padding: 24px 16px;
}
.fb-bracket-skeleton h2 {
  color: var(--metal-silver);
  text-align: center;
  border-left: none;
  padding-left: 0;
  margin-bottom: 20px;
}
.fb-bracket-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.fb-bracket-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.fb-bracket-cell {
  min-width: 80px;
  padding: 8px 14px;
  background: linear-gradient(180deg, var(--navy-light), var(--navy-deep));
  border: 2px solid var(--navy-glow);
  border-radius: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 1px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.45);
  box-shadow: 0 2px 8px rgba(74,158,255,0.35), inset 0 1px 0 rgba(255,255,255,0.2);
}
.fb-bracket-cell.champion {
  background: linear-gradient(180deg, var(--metal-gold), var(--metal-gold-dark));
  border-color: #fff3c4;
  color: var(--navy-deep);
  font-size: 16px;
  font-weight: 900;
  padding: 12px 28px;
  text-shadow: 0 1px 1px rgba(255,255,255,0.5);
  box-shadow: 0 0 24px rgba(255,210,74,0.65), inset 0 -3px 0 rgba(0,0,0,0.2);
}

/* ── pick-card 左侧蓝色发光条（增强足球主题） ─────────────── */
.pick-card {
  position: relative;
  overflow: hidden;
}
.pick-card::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 3px;
  background: linear-gradient(180deg, var(--navy-glow), var(--navy-light));
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 8px var(--navy-glow);
}

/* ── footer / feedback-fab 主题化覆盖 ──────────────────────── */
footer {
  /* v2: 柔化顶边为渐变发光线（避免在深蓝夜空上硬切） */
  border-top: 1px solid transparent !important;
  background:
    linear-gradient(90deg,
      transparent 0%,
      rgba(74,158,255,0.5) 30%,
      rgba(170,210,255,0.7) 50%,
      rgba(74,158,255,0.5) 70%,
      transparent 100%) top / 100% 1px no-repeat,
    linear-gradient(180deg, rgba(10,31,61,0.5), rgba(5,15,36,0.85)) !important;
  box-shadow: 0 -8px 24px rgba(74,158,255,0.12) !important;
}
.footer-links a {
  color: #7ab9ff !important;
}
.footer-links a:hover {
  color: #a8d0ff !important;
  text-shadow: 0 0 6px var(--navy-glow);
}
.feedback-fab {
  background: linear-gradient(180deg, var(--navy-light), var(--navy-mid)) !important;
  border: 2px solid var(--navy-glow) !important;
  box-shadow:
    0 4px 16px rgba(74,158,255,0.55),
    inset 0 1px 0 rgba(255,255,255,0.25),
    inset 0 -2px 0 rgba(0,0,0,0.25) !important;
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.45);
}
.feedback-fab:hover {
  background: linear-gradient(180deg, var(--navy-glow), var(--navy-light)) !important;
  box-shadow: 0 6px 22px rgba(74,158,255,0.7), inset 0 1px 0 rgba(255,255,255,0.3) !important;
}

/* ── 移动端响应式微调 ────────────────────────────────────── */
@media (max-width: 768px) {
  .fb-hero { padding: 24px 16px 22px; min-height: 180px; }
  .fb-hero-title { font-size: 26px; letter-spacing: 2px; }
  .fb-hero-sub { font-size: 13px; }
  .fb-shield-row { gap: 10px; }
  .fb-shield { min-width: 90px; padding: 14px 10px 22px; }
  .fb-shield-value { font-size: 20px; }
  .fb-vs-row { padding: 18px 8px; gap: 6px; }
  .fb-team-shield { padding: 16px 8px 24px; }
  .fb-team-name { font-size: 14px; letter-spacing: 0.5px; }
  .fb-vs-badge { width: 44px; height: 44px; font-size: 16px; }
  .fb-vs-score { font-size: 22px; }
  .fb-bracket-cell { min-width: 60px; padding: 6px 10px; font-size: 12px; }
  .fb-bracket-cell.champion { font-size: 14px; padding: 10px 20px; }
  .fb-hero-ball { width: 50px; height: 50px; }
}

/* ────────────────────────────────────────────────────────────────────────
   Admin · 用户反馈管理页 (.admin-feedback)
   ──────────────────────────────────────────────────────────────────────── */

/* ── 通用 admin 工具类（首次定义，谨慎扩散使用） ─────────────────────── */
.admin-page-header { margin-bottom: 16px; }
.admin-page-header h1 { font-size: 22px; margin: 0 0 4px; color: var(--text); }
.admin-page-header p.muted { font-size: 13px; margin: 0; }

.center { text-align: center; }
.danger { color: var(--red, #ef4444); }
.warn   { color: var(--orange, #f59e0b); }

/* 按钮 */
.btn-primary, .btn-secondary, .btn-danger {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 13px;
  cursor: pointer;
  line-height: 1.4;
  transition: opacity .15s, background .15s;
  font-family: inherit;
}
.btn-primary { background: var(--green, #22c55e); color: #fff; border-color: var(--green, #22c55e); }
.btn-primary:hover:not(:disabled) { opacity: .88; }
.btn-secondary {
  background: rgba(255,255,255,0.06);
  color: var(--text, #e5e7eb);
  border-color: rgba(255,255,255,0.15);
}
.btn-secondary:hover:not(:disabled) { background: rgba(255,255,255,0.12); }
.btn-danger { background: var(--red, #ef4444); color: #fff; border-color: var(--red, #ef4444); }
.btn-danger:hover:not(:disabled) { opacity: .88; }
.btn-primary:disabled, .btn-secondary:disabled, .btn-danger:disabled {
  opacity: .5; cursor: not-allowed;
}
.btn-link {
  background: none;
  border: none;
  color: var(--green, #22c55e);
  cursor: pointer;
  font-size: 12px;
  padding: 2px 4px;
  font-family: inherit;
}
.btn-link:hover:not(:disabled) { text-decoration: underline; }
.btn-link:disabled { opacity: .4; cursor: not-allowed; }

/* 统计卡 */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 12px 16px;
}
.stat-card .stat-label {
  font-size: 12px;
  color: var(--muted, #9ca3af);
  margin-bottom: 6px;
}
.stat-card .stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--text, #e5e7eb);
  line-height: 1.2;
}
.stat-card .stat-value.warn { color: var(--orange, #f59e0b); }
.stat-card .stat-value.danger { color: var(--red, #ef4444); }
.stat-card .stat-sep { color: var(--muted, #9ca3af); margin: 0 4px; font-weight: 400; }

/* ── 筛选栏 ──────────────────────────────────────────────────────────── */
.admin-feedback .fb-filter {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 14px;
}
.admin-feedback .fb-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}
.admin-feedback .fb-filter label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted, #9ca3af);
}
.admin-feedback .fb-filter select,
.admin-feedback .fb-filter input[type="text"],
.admin-feedback .fb-filter input[type="date"] {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text, #e5e7eb);
  padding: 5px 8px;
  border-radius: 4px;
  font-size: 13px;
  font-family: inherit;
  min-width: 100px;
}
.admin-feedback .fb-filter input[type="text"] { min-width: 160px; }

/* ── 列表 ────────────────────────────────────────────────────────────── */
.admin-feedback .fb-list-wrapper {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  overflow: hidden;
}
.admin-feedback .fb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.admin-feedback .fb-table th,
.admin-feedback .fb-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  vertical-align: middle;
  word-break: break-all;
}
.admin-feedback .fb-table th {
  background: rgba(255,255,255,0.04);
  color: var(--muted, #9ca3af);
  font-weight: 600;
  font-size: 12px;
  white-space: nowrap;
}
.admin-feedback .fb-table tbody tr:hover { background: rgba(255,255,255,0.03); }
.admin-feedback .fb-text-cell {
  max-width: 480px;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--text, #e5e7eb);
}

/* 来源徽章 */
.admin-feedback .badge-web,
.admin-feedback .badge-miniprogram {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  white-space: nowrap;
}
.admin-feedback .badge-web {
  background: rgba(59,130,246,0.15);
  color: #60a5fa;
  border: 1px solid rgba(59,130,246,0.3);
}
.admin-feedback .badge-miniprogram {
  background: rgba(34,197,94,0.15);
  color: #4ade80;
  border: 1px solid rgba(34,197,94,0.3);
}

/* 状态徽章 */
.admin-feedback .status-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  white-space: nowrap;
  border: 1px solid transparent;
}
.admin-feedback .status-new {
  background: rgba(245,158,11,0.15);
  color: #f59e0b;
  border-color: rgba(245,158,11,0.3);
}
.admin-feedback .status-read {
  background: rgba(99,102,241,0.15);
  color: #a5b4fc;
  border-color: rgba(99,102,241,0.3);
}
.admin-feedback .status-handled {
  background: rgba(34,197,94,0.15);
  color: #4ade80;
  border-color: rgba(34,197,94,0.3);
}
.admin-feedback .status-ignored {
  background: rgba(156,163,175,0.15);
  color: #9ca3af;
  border-color: rgba(156,163,175,0.3);
}

/* 分页 */
.admin-feedback .fb-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
  color: var(--muted, #9ca3af);
}
.admin-feedback .fb-pager button {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text, #e5e7eb);
  padding: 4px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
}
.admin-feedback .fb-pager button:disabled { opacity: .4; cursor: not-allowed; }
.admin-feedback .fb-pager button:hover:not(:disabled) { background: rgba(255,255,255,0.12); }

/* ── 弹窗 ────────────────────────────────────────────────────────────── */
.fb-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fb-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(2px);
}
.fb-modal-body {
  position: relative;
  z-index: 1;
  background: #1f2937;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  width: min(720px, 92vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.fb-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.fb-modal-header h3 { margin: 0; font-size: 16px; color: var(--text, #e5e7eb); }
.fb-modal-header h3 .muted { font-size: 13px; margin-left: 6px; font-weight: 400; }
.fb-modal-close {
  background: none;
  border: none;
  color: var(--muted, #9ca3af);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 0 6px;
}
.fb-modal-close:hover { color: var(--text, #e5e7eb); }
.fb-modal-content {
  padding: 16px 18px;
  overflow-y: auto;
}

.fb-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 18px;
  font-size: 13px;
  color: var(--text, #e5e7eb);
  margin-bottom: 14px;
  word-break: break-all;
}
.fb-meta-grid b { color: var(--muted, #9ca3af); font-weight: 500; }
.fb-meta-grid code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  background: rgba(0,0,0,0.3);
  padding: 1px 5px;
  border-radius: 3px;
}
.fb-meta-grid .fb-meta-full { grid-column: 1 / -1; }

.fb-section { margin-bottom: 14px; }
.fb-section-label {
  font-size: 12px;
  color: var(--muted, #9ca3af);
  margin-bottom: 6px;
  font-weight: 600;
}
.fb-text {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 13px;
  color: var(--text, #e5e7eb);
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 240px;
  overflow-y: auto;
  margin: 0;
}
.fb-section textarea {
  width: 100%;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text, #e5e7eb);
  border-radius: 6px;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 13px;
  resize: vertical;
  box-sizing: border-box;
}
.fb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ── H5 视口适配（375x667） ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .admin-feedback .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .admin-feedback .stat-card { padding: 10px 12px; }
  .admin-feedback .stat-card .stat-value { font-size: 18px; }
  .admin-feedback .fb-filter-row { flex-direction: column; align-items: stretch; }
  .admin-feedback .fb-filter label { width: 100%; justify-content: space-between; }
  .admin-feedback .fb-filter select,
  .admin-feedback .fb-filter input[type="text"],
  .admin-feedback .fb-filter input[type="date"] {
    flex: 1;
    min-width: 0;
  }
  /* 表格转横向滚动避免溢出 */
  .admin-feedback .fb-list-wrapper { overflow-x: auto; }
  .admin-feedback .fb-table { min-width: 760px; }
  .fb-modal-body { width: 96vw; max-height: 88vh; }
  .fb-meta-grid { grid-template-columns: 1fr; }
}
