/* 狮醒体育 — 专家分析页组件（需配合 base.css） */
:root {
  --bg: var(--pitch-deep);
  --bg-elevated: rgba(8, 28, 18, 0.82);
  --bg-card: var(--glass);
  --bg-input: rgba(0, 0, 0, 0.35);
  --line: rgba(212, 175, 55, 0.18);
  --line-gold: rgba(212, 175, 55, 0.35);
  --text-2: var(--text-dim);
  --text-3: rgba(156, 184, 168, 0.72);
  --home: #3b82f6;
  --away: #f97316;
  --ok: #22c55e;
  --warn: #f59e0b;
  --danger: #ef4444;
  --radius-sm: 10px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  --max: 1280px;
}

.team-panel,
.result-card,
.groups-overview,
.results-header,
.analysis-box,
.live-section {
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-color: rgba(212, 175, 55, 0.22);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.live-odds-bar {
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(212, 175, 55, 0.25);
}

/* ── 主内容区 ── */
.dashboard {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 20px 56px;
}

.panel {
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.panel-head::before {
  content: '';
  width: 3px;
  height: 18px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}

.panel-head h2,
.panel-head h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

.disclaimer-box {
  background: rgba(201, 162, 39, 0.06);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.75rem;
  color: var(--text-2);
  margin-bottom: 20px;
  line-height: 1.65;
}

.disclaimer-box strong { color: var(--gold-bright); }

/* ── 赛程选择 ── */
.fixture-panel { margin-bottom: 20px; }
.fixture-panel .panel-head h2 { color: var(--gold-bright); }

.fixture-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px;
  align-items: end;
}

.fixture-meta {
  margin-top: 12px;
  padding: 10px 14px;
  background: var(--bg-input);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold);
  font-size: 0.8rem;
  color: var(--text-2);
  display: none;
}

.fixture-meta.visible { display: block; }
.fixture-meta strong { color: var(--gold-bright); }

/* ── 对阵区 ── */
.match-arena {
  margin-bottom: 20px;
}

.match-hub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 16px;
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: var(--radius);
  flex-wrap: wrap;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.match-hub-team {
  flex: 1;
  min-width: 120px;
  text-align: center;
}

.match-hub-team .side-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.match-hub-team.home .side-label { color: var(--home); }
.match-hub-team.away .side-label { color: var(--away); }

.match-hub-team .team-display {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
}

.match-hub-team .team-display .team-with-flag {
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6em;
}

.match-hub-team .team-flag-img--lg {
  width: 60px;
  height: 42px;
}

.match-title .team-with-flag {
  vertical-align: baseline;
  gap: 0.5em;
}

.match-title .team-flag-img--lg {
  width: 44px;
  height: 30px;
}

.group-team-chip .team-flag-img--lg,
.standings-table .team-flag-img--lg {
  width: 44px;
  height: 30px;
}

.match-hub-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ── 场次实时赔率 ── */
.live-odds-bar {
  margin-bottom: 16px;
  padding: 16px 18px;
  background: var(--bg-input);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
}

.live-odds-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.live-odds-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px var(--ok);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.live-odds-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  color: var(--text-3);
}

.btn-odds-refresh {
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-bright);
  background: transparent;
  border: 1px solid var(--line-gold);
  border-radius: 6px;
  cursor: pointer;
}

.btn-odds-refresh:hover {
  background: rgba(201, 162, 39, 0.1);
}

.live-odds-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.live-odds-table th,
.live-odds-table td {
  padding: 10px 8px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.live-odds-table th {
  font-size: 0.72rem;
  color: var(--text-3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.live-odds-table .row-label {
  text-align: left;
  color: var(--text-2);
  font-size: 0.78rem;
  font-weight: 600;
  width: 48px;
}

.live-odds-table .row-current td {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold-bright);
}

.live-odds-table .row-current td:first-child { font-size: 0.78rem; }

.live-odds-table .row-move td {
  font-size: 0.78rem;
}

.mv-down { color: var(--ok); font-weight: 700; }
.mv-up { color: var(--danger); font-weight: 700; }
.mv-flat { color: var(--text-3); }

.live-odds-implied {
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--text-2);
  text-align: center;
}

.live-odds-implied strong {
  color: var(--text);
  font-weight: 700;
}

.vs-badge {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold-dim);
  letter-spacing: 0.15em;
}

.btn-analyze {
  padding: 12px 36px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold), var(--gold-dim));
  color: #0a0800;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: 0.12em;
  transition: transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
  box-shadow: 0 4px 24px rgba(212, 175, 55, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-analyze:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.5);
}

.btn-analyze:active { transform: translateY(0); }

.error-msg {
  color: var(--danger);
  font-size: 0.8rem;
  text-align: center;
  display: none;
  max-width: 280px;
}

.error-msg.visible { display: block; }

.input-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.team-panel {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.team-panel.home { border-top: 3px solid var(--home); }
.team-panel.away { border-top: 3px solid var(--away); }

.team-panel h2 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.team-panel.home h2 { color: var(--home); }
.team-panel.away h2 { color: var(--away); }

/* ── 表单 ── */
.form-group { margin-bottom: 12px; }

.form-group label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-3);
  margin-bottom: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 8px 10px;
  background: var(--bg-input);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.88rem;
  transition: border-color 0.15s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.form-hint {
  font-size: 0.68rem;
  color: var(--text-3);
  margin-top: 3px;
}

.team-info-bar {
  margin-bottom: 12px;
  padding: 8px 10px;
  background: var(--bg-input);
  border-radius: var(--radius-sm);
  font-size: 0.74rem;
  color: var(--text-2);
  line-height: 1.65;
  display: none;
  border: 1px solid var(--line);
}

.team-info-bar.visible { display: block; }

.team-info-bar .tag {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 4px;
  background: rgba(201, 162, 39, 0.12);
  color: var(--gold);
  font-size: 0.68rem;
  margin-right: 4px;
}

/* ── 赔率 & 环境 双栏 ── */
.config-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.panel-odds { border-top: 3px solid var(--home); }
.panel-env { border-top: 3px solid var(--gold); }

.panel-odds h2 { color: var(--home); font-size: 0.88rem; margin-bottom: 14px; font-weight: 700; }
.panel-env h2 { color: var(--gold-bright); font-size: 0.88rem; margin-bottom: 14px; font-weight: 700; }

.odds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

/* ── 分组概览 ── */
.groups-overview {
  margin-bottom: 20px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
}

.groups-overview summary {
  cursor: pointer;
  color: var(--gold-bright);
  font-size: 0.85rem;
  font-weight: 600;
  list-style: none;
}

.groups-overview summary::-webkit-details-marker { display: none; }

.groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.group-mini {
  background: var(--bg-input);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 0.72rem;
}

.group-mini h4 {
  color: var(--gold);
  margin-bottom: 4px;
  font-size: 0.75rem;
}

.group-mini span {
  display: block;
  color: var(--text-2);
  padding: 2px 0;
  cursor: pointer;
}

.group-mini span:hover { color: var(--gold-bright); }

/* ── 分析结果 ── */
.results-section { display: none; }
.results-section.visible { display: block; }

.results-header {
  text-align: center;
  margin-bottom: 20px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-top: 3px solid var(--gold);
}

.results-header h2 {
  font-size: 1.1rem;
  color: var(--gold-bright);
  font-weight: 800;
}

.match-title {
  font-size: 1rem;
  margin-top: 6px;
  color: var(--text);
}

.index-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.index-display { text-align: center; padding: 8px; }

.index-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-bright);
}

.index-label {
  font-size: 0.72rem;
  color: var(--text-3);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.xg-display {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.xg-item { text-align: center; }
.xg-item .label { font-size: 0.72rem; color: var(--text-3); }
.xg-item .value { font-size: 1.4rem; font-weight: 800; color: var(--gold); }

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.result-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.result-card.span-full { grid-column: 1 / -1; }

.result-card h3 {
  font-size: 0.75rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.prob-bars { display: flex; flex-direction: column; gap: 8px; }

.prob-item { display: flex; align-items: center; gap: 8px; }

.prob-label {
  width: 40px;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: right;
  flex-shrink: 0;
}

.prob-bar-track {
  flex: 1;
  height: 22px;
  background: var(--bg-input);
  border-radius: 4px;
  overflow: hidden;
}

.prob-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  min-width: 32px;
}

.prob-bar-fill.home { background: linear-gradient(90deg, #1d4ed8, var(--home)); }
.prob-bar-fill.draw { background: linear-gradient(90deg, #4b5563, #9ca3af); }
.prob-bar-fill.away { background: linear-gradient(90deg, #c2410c, var(--away)); }

.score-list { list-style: none; }

.score-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}

.score-list li:last-child { border-bottom: none; }

.score-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
}

.score-rank { font-size: 0.7rem; color: var(--text-3); margin-right: 6px; }
.score-pct { font-size: 0.9rem; font-weight: 600; }

.metric-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}

.metric-row:last-child { border-bottom: none; }
.metric-label { color: var(--text-2); }
.metric-value { font-weight: 700; }
.metric-value.high { color: var(--ok); }
.metric-value.medium { color: var(--warn); }
.metric-value.low { color: var(--danger); }

.panel-empty {
  font-size: 0.78rem;
  color: var(--text-3);
  text-align: center;
  padding: 16px 8px;
  line-height: 1.6;
}

.odds-sum-src {
  font-size: 0.68rem;
  color: var(--gold);
  margin-bottom: 10px;
  text-align: center;
}

.odds-src-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.odds-src-badge--api {
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.35);
  background: rgba(74, 222, 128, 0.08);
}

.odds-src-badge--model {
  color: var(--text-3);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.odds-sum-head,
.odds-sum-row {
  display: grid;
  grid-template-columns: 52px 1fr 72px;
  gap: 8px;
  align-items: center;
  padding: 6px 0;
  font-size: 0.78rem;
}

.odds-sum-head {
  color: var(--text-3);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  margin-bottom: 4px;
}

.odds-sum-label { color: var(--text-2); font-weight: 600; }

.odds-sum-odd {
  font-weight: 800;
  color: var(--gold-bright);
  font-size: 0.92rem;
}

.odds-sum-imp {
  text-align: right;
  color: var(--text);
  font-weight: 600;
}

.odds-sum-open {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  font-size: 0.72rem;
  color: var(--text-3);
  text-align: center;
}

.edge-item { margin-bottom: 12px; }

.edge-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-bottom: 4px;
}

.edge-head span:first-child { color: var(--text-2); font-weight: 600; }

.edge-val { font-weight: 800; font-size: 0.85rem; }
.edge-val.edge-pos { color: var(--ok); }
.edge-val.edge-neg { color: var(--danger); }
.edge-val.edge-neutral { color: var(--text-3); }

.edge-bar-track {
  height: 6px;
  background: var(--bg-input);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 4px;
}

.edge-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.4s ease;
}

.edge-bar-fill.edge-pos { background: linear-gradient(90deg, #15803d, var(--ok)); }
.edge-bar-fill.edge-neg { background: linear-gradient(90deg, #b91c1c, var(--danger)); }
.edge-bar-fill.edge-neutral { background: var(--text-3); }

.edge-detail {
  font-size: 0.68rem;
  color: var(--text-3);
}

.edge-detail em {
  font-style: normal;
  color: var(--text-2);
}

.edge-pick {
  margin-top: 10px;
  padding: 10px;
  background: rgba(201, 162, 39, 0.08);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--text-2);
  text-align: center;
  line-height: 1.55;
}

.edge-pick strong { color: var(--gold-bright); }
.edge-pick small { color: var(--text-3); font-size: 0.65rem; }

.risk-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.risk-low { background: rgba(34, 197, 94, 0.12); color: var(--ok); }
.risk-medium { background: rgba(245, 158, 11, 0.12); color: var(--warn); }
.risk-high { background: rgba(239, 68, 68, 0.12); color: var(--danger); }

.analysis-box {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}

.analysis-box h3 {
  font-size: 0.75rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  font-weight: 700;
}

.analysis-box p {
  color: var(--text-2);
  font-size: 0.88rem;
  margin-bottom: 8px;
  line-height: 1.75;
}

.analysis-box p:last-child { margin-bottom: 0; }
.analysis-box strong { color: var(--text); }

.focus-scores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
  gap: 6px;
}

.focus-score-item {
  text-align: center;
  padding: 7px 4px;
  background: var(--bg-input);
  border-radius: 6px;
  border: 1px solid var(--line);
}

.focus-score-item.top {
  border-color: var(--gold);
  background: rgba(201, 162, 39, 0.08);
}

.focus-score-item .fs { font-weight: 800; color: var(--gold-bright); font-size: 0.9rem; }
.focus-score-item .fp { font-size: 0.68rem; color: var(--text-3); margin-top: 2px; }

.data-source {
  text-align: center;
  font-size: 0.68rem;
  color: var(--text-3);
  margin-top: 12px;
}

.expert-score-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.expert-team-scores {
  background: var(--bg-input);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 0.76rem;
  border: 1px solid var(--line);
}

.expert-team-scores h4 { color: var(--gold); margin-bottom: 6px; font-size: 0.82rem; }

.score-line {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  color: var(--text-2);
  border-bottom: 1px solid var(--line);
}

.score-line.total {
  font-weight: 700;
  color: var(--text);
  border-bottom: none;
  margin-top: 4px;
}

.model-table {
  width: 100%;
  font-size: 0.76rem;
  border-collapse: collapse;
}

.model-table th,
.model-table td {
  padding: 8px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.model-table th { color: var(--gold); font-weight: 600; }
.model-table tr.final td { font-weight: 700; color: var(--gold-bright); }

/* ── 全盘口分析 ── */
.markets-panel { margin-top: 8px; }

.markets-intro {
  font-size: 0.78rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 16px;
  padding: 12px 14px;
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: var(--radius-sm);
}

.markets-summary-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.markets-summary-item {
  text-align: center;
  padding: 10px 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.markets-summary-item .val {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-bright);
}

.markets-summary-item .lbl {
  font-size: 0.68rem;
  color: var(--text-3);
  margin-top: 4px;
}

.markets-models {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.markets-model-tag {
  font-size: 0.68rem;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--text-2);
}

.markets-category {
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.markets-category summary {
  list-style: none;
  cursor: pointer;
}

.markets-category summary::-webkit-details-marker {
  display: none;
}

.markets-cat-toggle {
  margin-left: auto;
  font-size: 0.65rem;
  color: var(--text-3);
  letter-spacing: 0.06em;
}

.markets-core-picks {
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.05);
}

.markets-core-picks h4 {
  margin: 0 0 10px;
  font-size: 0.82rem;
  color: var(--gold-bright);
}

.markets-core-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
}

.markets-core-item {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  grid-template-rows: auto auto;
  gap: 2px 8px;
  padding: 8px 10px;
  background: var(--bg-elevated);
  border-radius: 8px;
  font-size: 0.72rem;
}

.markets-core-rank {
  grid-row: 1 / 3;
  color: var(--gold);
  font-weight: 800;
  align-self: center;
}

.markets-core-name {
  color: var(--text);
  font-weight: 600;
}

.markets-core-pick {
  color: var(--gold-bright);
  font-weight: 700;
}

.markets-core-prob {
  grid-column: 2;
  color: var(--text-2);
}

.markets-core-cat {
  grid-column: 3;
  grid-row: 1 / 3;
  color: var(--text-3);
  font-size: 0.62rem;
  align-self: center;
  text-align: right;
}

.edge-extra-title {
  margin: 14px 0 8px;
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 600;
}

.edge-item--static {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.74rem;
  border-bottom: 1px solid var(--line);
}

.markets-category-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.markets-category-head h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.markets-cat-icon {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 3px 7px;
  border-radius: 4px;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold);
}

.markets-table {
  width: 100%;
  font-size: 0.72rem;
  border-collapse: collapse;
}

.markets-table th,
.markets-table td {
  padding: 8px 6px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.markets-table th {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.68rem;
  white-space: nowrap;
}

.markets-table .pick-cell {
  font-weight: 700;
  color: var(--gold-bright);
}

.markets-table .prob-cell {
  font-weight: 600;
  color: var(--text);
}

.markets-table .conf-high { color: #4ade80; }
.markets-table .conf-mid { color: var(--text-2); }
.markets-table .conf-low { color: var(--text-3); }

.markets-table .stats-cell {
  color: var(--text-3);
  font-size: 0.66rem;
  line-height: 1.45;
  max-width: 220px;
}

.markets-table tr.markets-row-api {
  background: rgba(212, 175, 55, 0.08);
}

.markets-table tr.markets-row-api td:first-child {
  color: var(--gold-bright, #ffe08a);
  font-weight: 600;
}

.markets-summary-item--api .val {
  color: var(--gold-bright, #ffe08a);
}

.markets-summary-item--api .lbl {
  color: var(--gold, #d4af37);
}

@media (max-width: 640px) {
  .markets-table .stats-cell { max-width: none; }
  .markets-table th:nth-child(3),
  .markets-table td:nth-child(3) { display: none; }
}

/* ── 直播 ── */
.live-section {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--danger);
  border-radius: var(--radius);
  padding: 20px;
}

.live-section h3 {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 4px;
  font-weight: 700;
}

.live-disclaimer {
  font-size: 0.72rem;
  color: var(--text-3);
  margin-bottom: 14px;
}

.live-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  transition: border-color 0.15s, background 0.15s;
}

.live-pill:hover {
  border-color: var(--home);
  background: rgba(8, 28, 18, 0.9);
}

.live-pill .pill-badge {
  font-size: 0.62rem;
  margin-left: 6px;
  padding: 1px 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.live-pill.recommend {
  background: rgba(201, 162, 39, 0.15);
  border-color: var(--gold);
  color: var(--gold-bright);
}

.live-official-note { font-size: 0.68rem; color: var(--text-3); margin-top: 6px; }

.live-empty {
  text-align: center;
  padding: 24px;
  color: var(--text-2);
  font-size: 0.85rem;
  background: var(--bg-input);
  border-radius: var(--radius-sm);
  border: 1px dashed var(--line);
}

.live-loading { color: var(--text-3); font-size: 0.82rem; }

/* ── 响应式 ── */
@media (max-width: 900px) {
  .input-grid,
  .config-row {
    grid-template-columns: 1fr;
  }

  .fixture-row {
    grid-template-columns: 1fr;
  }

  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .odds-grid {
    grid-template-columns: 1fr 1fr;
  }

  .match-hub {
    flex-direction: column;
    gap: 12px;
  }

  .match-hub-team { width: 100%; }
}

@media (max-width: 480px) {
  .dashboard { padding: 16px 14px 40px; }
  .form-row, .form-row-3, .odds-grid { grid-template-columns: 1fr; }
  .live-pill { width: 100%; justify-content: center; }
  .results-grid { grid-template-columns: 1fr; }
}
