/* ===== AI 足球分析 · 赛博霓虹仪表盘 v6 ===== */
:root {
  /* 背景层 */
  --bg: #04050c;
  --bg-2: #0a0d1a;
  --bg-3: #111628;
  --card: rgba(14, 18, 36, 0.85);
  --card-2: rgba(20, 26, 50, 0.7);
  /* 科技边框 */
  --border: rgba(0, 229, 255, 0.12);
  --border-hover: rgba(0, 229, 255, 0.35);
  --border-red: rgba(255, 45, 106, 0.25);
  --border-yellow: rgba(255, 214, 0, 0.22);
  /* 文字 */
  --white: #eef4ff;
  --gtext: #8a97bd;
  --gdim: #4d5985;
  /* 霓虹主色 */
  --cyan: #00e5ff;
  --cyan-dim: rgba(0, 229, 255, 0.1);
  --cyan-glow: 0 0 8px rgba(0, 229, 255, 0.5), 0 0 20px rgba(0, 229, 255, 0.25);
  --red: #ff2d6a;
  --red-dim: rgba(255, 45, 106, 0.12);
  --red-glow: 0 0 8px rgba(255, 45, 106, 0.5), 0 0 20px rgba(255, 45, 106, 0.25);
  --purple: #a855f7;
  --purple-dim: rgba(168, 85, 247, 0.12);
  --yellow: #ffd600;
  --yellow-glow: 0 0 6px rgba(255, 214, 0, 0.5);
  --green: #00ff88;
  --green-dim: rgba(0, 255, 136, 0.1);
  /* 兼容旧变量 */
  --accent: var(--cyan);
  --accent-l: var(--cyan);
  --accent-d: #0099aa;
  --orange: var(--yellow);
  --gold: var(--yellow);
  --blue: var(--cyan);
  --lotto-red: var(--red);
  --lotto-blue: var(--cyan);
  --font-mono: "JetBrains Mono", "Fira Code", ui-monospace, SFMono-Regular, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { font-size: 14px; }
body {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0, 229, 255, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 10% 100%, rgba(255, 45, 106, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #060812 0%, #04050c 50%, #050715 100%);
  background-attachment: fixed;
  color: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  min-height: 100vh;
  padding-bottom: 50px;
  position: relative;
}
/* 背景网格装饰 */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 0%, transparent 80%);
}

.hidden { display: none !important; }

/* 滚动条（霓虹高级感） */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0, 229, 255, 0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0, 229, 255, 0.5); }

/* ===== 动画 Keyframes ===== */
@keyframes neonPulse {
  0%, 100% { box-shadow: var(--cyan-glow); }
  50% { box-shadow: 0 0 14px rgba(0, 229, 255, 0.8), 0 0 35px rgba(0, 229, 255, 0.4); }
}
@keyframes scanline {
  0% { transform: translateY(-100%); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(1000%); opacity: 0; }
}
@keyframes dataLoad {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes numberFlip {
  0% { transform: translateY(-100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes glowText {
  0%, 100% { text-shadow: 0 0 4px currentColor; }
  50% { text-shadow: 0 0 10px currentColor, 0 0 20px currentColor; }
}
@keyframes borderGlow {
  0%, 100% { border-color: var(--border); }
  50% { border-color: rgba(0, 229, 255, 0.5); }
}
@keyframes radarSweep {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes barFill {
  0% { width: 0; }
}
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.neon-text-cyan { color: var(--cyan); animation: glowText 2.5s ease-in-out infinite; }
.neon-text-red { color: var(--red); animation: glowText 2.5s ease-in-out infinite; }
.neon-border { animation: borderGlow 3s ease-in-out infinite; }
.animate-load { animation: dataLoad 0.4s ease-out both; }
.animate-bar { animation: barFill 1.2s cubic-bezier(.22,1,.36,1) both; }

/* 科技感 4 角装饰 */
.corners { position: relative; }
.corners::before, .corners::after,
.corners > .c-bl, .corners > .c-br {
  content: ''; position: absolute; width: 10px; height: 10px;
  border-color: var(--cyan); border-style: solid; pointer-events: none;
}
.corners::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.corners::after { top: -1px; right: -1px; border-width: 1px 1px 0 0; }
.corners > .c-bl { bottom: -1px; left: -1px; border-width: 0 0 1px 1px; }
.corners > .c-br { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(4, 5, 12, 0.92);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(0, 229, 255, 0.15);
  box-shadow: 0 1px 0 rgba(0, 229, 255, 0.08), 0 8px 24px rgba(0, 0, 0, 0.5);
}
.header::after {
  content: ''; position: absolute; bottom: -1px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.6;
}
.header-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px 8px;
  max-width: 680px; margin: 0 auto;
  position: relative;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  font-size: 22px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(0,229,255,0.15), rgba(168,85,247,0.15));
  border-radius: 10px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  box-shadow: inset 0 0 12px rgba(0,229,255,0.1), var(--cyan-glow);
  animation: neonPulse 3s ease-in-out infinite;
}
.logo-text h1 {
  font-size: 16px; font-weight: 800; letter-spacing: 0.5px;
  color: var(--white);
  background: linear-gradient(90deg, #eef4ff, var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.subtitle { font-size: 10px; color: var(--gdim); margin-top: 2px; letter-spacing: 0.8px; text-transform: uppercase; }
.date-bar { display: flex; align-items: center; gap: 8px; }
.date-btn {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--bg-2); border: 1px solid var(--border);
  color: var(--cyan); font-size: 18px; font-weight: 300;
  cursor: pointer; transition: all 0.25s;
  flex-shrink: 0;
}
.date-btn:hover {
  background: rgba(0,229,255,0.1);
  border-color: var(--cyan);
  box-shadow: var(--cyan-glow);
}
.date-text {
  font-family: var(--font-mono); font-size: 12px; color: var(--cyan);
  min-width: 110px; text-align: center; letter-spacing: 0.8px;
  padding: 4px 8px; background: var(--bg-2); border-radius: 6px;
  border: 1px solid var(--border);
}

/* Tab Bar */
.tab-bar {
  display: flex; gap: 4px;
  padding: 0 16px 10px;
  max-width: 680px; margin: 0 auto;
  position: relative;
}
.tab {
  flex: 1; padding: 9px 0; font-size: 12px; font-weight: 600; letter-spacing: 0.5px;
  background: transparent; border: 1px solid transparent; color: var(--gdim);
  cursor: pointer; border-radius: 8px;
  transition: all 0.25s;
  font-family: var(--font-mono);
  position: relative; overflow: hidden;
}
.tab:hover { color: var(--gtext); }
.tab.active {
  background: linear-gradient(135deg, rgba(0,229,255,0.15), rgba(168,85,247,0.1));
  color: var(--cyan);
  border: 1px solid rgba(0,229,255,0.4);
  box-shadow: inset 0 0 12px rgba(0,229,255,0.1), 0 0 12px rgba(0,229,255,0.15);
}
.tab.active::before {
  content: ''; position: absolute; top: 0; left: 15%; right: 15%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

/* ===== Container ===== */
.container { max-width: 640px; margin: 0 auto; padding: 14px 16px; }

/* 日期分组 */
.day-group {
  margin-bottom: 14px; border-radius: 12px;
  background: linear-gradient(180deg, rgba(14,18,36,0.95) 0%, rgba(8,10,22,0.92) 100%);
  border: 1px solid rgba(0, 229, 255, 0.12);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4), inset 0 1px 0 rgba(0,229,255,0.05);
}
.day-header {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; cursor: pointer; user-select: none;
  transition: all 0.25s;
  background: linear-gradient(90deg, rgba(0,229,255,0.06), transparent);
  border-bottom: 1px solid rgba(0, 229, 255, 0.08);
}
.day-header:hover { background: linear-gradient(90deg, rgba(0,229,255,0.12), transparent); }
.day-name { font-size: 13px; font-weight: 700; color: var(--cyan); letter-spacing: 0.5px; }
.day-date { font-size: 11px; color: var(--gdim); font-family: var(--font-mono); }
.day-count {
  font-family: var(--font-mono); font-size: 10px; color: var(--cyan);
  margin-left: auto; padding: 2px 8px;
  background: rgba(0,229,255,0.1); border: 1px solid rgba(0,229,255,0.2);
  border-radius: 10px;
}
.day-arrow { font-size: 14px; color: var(--cyan); transition: transform 0.25s ease; transform: rotate(90deg); }
.day-group:not(.open) .day-arrow { transform: rotate(0deg); }
.day-matches {
  display: flex; flex-direction: column; gap: 0;
  padding: 4px 14px 12px;
  max-height: none; overflow: visible;
  transition: max-height 0.3s ease, padding 0.25s ease, opacity 0.25s ease;
  opacity: 1;
}
.day-group:not(.open) .day-matches {
  max-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; gap: 0;
}

/* ===== 比赛卡片 ===== */
.match-list { display: flex; flex-direction: column; gap: 8px; }

.match-card {
  background: linear-gradient(135deg, rgba(16,22,46,0.8) 0%, rgba(10,14,30,0.95) 100%);
  border: 1px solid rgba(0, 229, 255, 0.15);
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(.22,1,.36,1);
  position: relative;
  margin-top: 8px;
  overflow: hidden;
}
.match-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,0.5), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.match-card:hover {
  border-color: rgba(0,229,255,0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.5), 0 0 16px rgba(0,229,255,0.12), inset 0 0 20px rgba(0,229,255,0.04);
}
.match-card:hover::before { opacity: 1; }
.match-card[data-status="待开售"] { opacity: 0.55; }

/* 科技感 4 角 (纯 CSS, 不依赖额外元素) */
.match-card::after {
  content: ''; position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(var(--cyan), var(--cyan)) top left/10px 1px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) top left/1px 10px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) top right/10px 1px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) top right/1px 10px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) bottom left/10px 1px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) bottom left/1px 10px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) bottom right/10px 1px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) bottom right/1px 10px no-repeat;
  background-size: 10px 1px, 1px 10px, 10px 1px, 1px 10px, 10px 1px, 1px 10px, 10px 1px, 1px 10px;
  background-position: top left, top left, top right, top right, bottom left, bottom left, bottom right, bottom right;
  background-repeat: no-repeat;
  opacity: 0; transition: opacity 0.3s;
}
.match-card:hover::after { opacity: 0.5; }

/* 历史/已完赛 */
.match-hist { opacity: 0.45; filter: saturate(0.6); background: rgba(8,10,20,0.9); }
.match-hist .team-name { color: var(--gtext); }
.match-hist .ai-pick { color: var(--gtext) !important; }

.card-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
}
.card-meta { display: flex; align-items: center; gap: 8px; }
.card-league { font-size: 10px; color: var(--gdim); font-weight: 600; letter-spacing: 0.4px; text-transform: uppercase; }
.card-time { font-family: var(--font-mono); font-size: 10px; color: var(--gdim); }
.card-status {
  font-size: 10px; padding: 3px 10px; border-radius: 4px; font-weight: 700; letter-spacing: 0.5px;
  font-family: var(--font-mono); text-transform: uppercase;
}
.card-status.on-sale {
  background: rgba(0,229,255,0.12); color: var(--cyan);
  border: 1px solid rgba(0,229,255,0.3);
  box-shadow: 0 0 8px rgba(0,229,255,0.15);
}
.card-status.pending {
  background: rgba(255,214,0,0.1); color: var(--yellow);
  border: 1px solid rgba(255,214,0,0.3);
}
.card-status.done {
  background: rgba(255,45,106,0.1); color: var(--red);
  border: 1px solid rgba(255,45,106,0.25);
}

/* 主体 */
.card-main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}
.card-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 6px;
}
.team { text-align: center; min-width: 0; }
.team-name {
  font-size: 14px; font-weight: 700; color: var(--white);
  display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  letter-spacing: 0.2px;
}
.vs-area { display: flex; align-items: center; justify-content: center; }
.vs-badge {
  font-family: var(--font-mono); font-size: 10px; font-weight: 700; color: var(--cyan);
  padding: 3px 8px; background: rgba(0,229,255,0.1); border-radius: 4px;
  border: 1px solid rgba(0,229,255,0.2);
  letter-spacing: 0.5px;
}
.match-score {
  font-family: var(--font-mono);
  font-size: 20px; font-weight: 800;
  background: linear-gradient(135deg, var(--yellow), #ff8800);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
  animation: numberFlip 0.5s ease-out both;
}

/* 赔率 */
.card-odds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  min-width: 138px;
}
.odd-box {
  background: linear-gradient(180deg, rgba(10,14,30,0.9), rgba(6,8,18,0.95));
  border-radius: 6px;
  padding: 7px 4px;
  text-align: center;
  border: 1px solid rgba(0,229,255,0.1);
  transition: all 0.2s;
}
.odd-box:hover { border-color: rgba(0,229,255,0.3); }
.odd-val {
  font-family: var(--font-mono);
  font-size: 14px; font-weight: 800; color: var(--white);
  letter-spacing: 0.5px;
}
.odd-label { display: none; }

/* 让球 */
.card-handicap {
  display: flex; align-items: center; gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(0,229,255,0.15);
  font-size: 10px;
}
.hc-label { color: var(--gtext); font-weight: 700; }
.hc-item { color: var(--cyan); font-family: var(--font-mono); }

/* AI 推荐 */
.card-ai {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(0,229,255,0.15);
}
.ai-label {
  font-family: var(--font-mono); font-size: 9px; font-weight: 700;
  color: var(--cyan); letter-spacing: 1px; text-transform: uppercase;
  padding: 3px 8px;
  background: linear-gradient(135deg, rgba(0,229,255,0.15), rgba(168,85,247,0.1));
  border: 1px solid rgba(0,229,255,0.35);
  border-radius: 4px; flex-shrink: 0;
  box-shadow: 0 0 8px rgba(0,229,255,0.1);
  position: relative;
}
.ai-label::before {
  content: ''; position: absolute; left: 3px; top: 50%;
  transform: translateY(-50%); width: 4px; height: 4px;
  background: var(--cyan); border-radius: 50%;
  animation: neonPulse 2s ease-in-out infinite;
}
.ai-pick {
  font-family: var(--font-mono); font-size: 13px; font-weight: 800; color: var(--white);
  text-shadow: 0 0 6px rgba(0,229,255,0.3);
}
.ai-goals {
  font-family: var(--font-mono); font-size: 11px; color: var(--yellow); font-weight: 700;
  text-shadow: 0 0 4px rgba(255,214,0,0.3);
}
.ai-score {
  font-family: var(--font-mono); font-size: 11px; color: var(--gtext);
}
.ai-confidence {
  font-family: var(--font-mono); font-size: 10px; color: var(--yellow);
  padding: 1px 6px; border-radius: 3px;
  background: rgba(255,214,0,0.08); border: 1px solid rgba(255,214,0,0.2);
}
.ai-hf {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--purple); background: rgba(168,85,247,0.1);
  border: 1px solid rgba(168,85,247,0.25);
  padding: 2px 7px; border-radius: 4px; font-weight: 700;
  letter-spacing: 0.5px;
}

.ai-spinner {
  width: 12px; height: 12px; flex-shrink: 0;
  border: 2px solid rgba(0,229,255,0.15);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: ai-spin 0.7s linear infinite;
  will-change: transform;
  box-shadow: 0 0 8px rgba(0,229,255,0.3);
}
@keyframes ai-spin { to { transform: rotate(360deg); } }
.ai-loading-bar { opacity: 0.85; }

.loading, .empty { text-align: center; padding: 40px 0; color: var(--gtext); font-size: 13px; }

/* 骨架屏 */
.skeleton-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 10px;
  height: 100px;
  position: relative;
  overflow: hidden;
}
.skeleton-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(139,134,255,0.05), transparent);
  animation: skeleton-shimmer 1.5s infinite;
  will-change: transform;
}
@keyframes skeleton-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ===== Modal ===== */
.modal { position: fixed; inset: 0; z-index: 1000; }
.modal-mask {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(2, 3, 10, 0.92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  z-index: 1;
}
.modal-content {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 16px); max-width: 600px;
  max-height: calc(100vh - 32px); overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  background: linear-gradient(180deg, rgba(10,14,30,0.98) 0%, rgba(6,8,18,0.98) 100%);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 14px; padding: 20px;
  z-index: 2;
  box-shadow:
    0 0 0 1px rgba(0,229,255,0.05),
    0 20px 60px rgba(0,0,0,0.7),
    0 0 40px rgba(0,229,255,0.08);
  animation: fadeSlideIn 0.3s cubic-bezier(.22,1,.36,1);
}
/* Modal 4 角科技感 */
.modal-content::before, .modal-content::after {
  content: ''; position: absolute; width: 18px; height: 18px;
  pointer-events: none;
}
.modal-content::before {
  top: -1px; left: -1px;
  border-top: 2px solid var(--cyan); border-left: 2px solid var(--cyan);
  border-top-left-radius: 14px;
}
.modal-content::after {
  bottom: -1px; right: -1px;
  border-bottom: 2px solid var(--cyan); border-right: 2px solid var(--cyan);
  border-bottom-right-radius: 14px;
}
.modal-close {
  position: sticky; top: 0; float: right;
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.3);
  color: var(--cyan); font-size: 18px; cursor: pointer;
  z-index: 10; touch-action: manipulation;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px; transition: all 0.2s;
  font-family: var(--font-mono);
}
.modal-close:hover {
  background: rgba(255,45,106,0.15); border-color: var(--red);
  color: var(--red); box-shadow: var(--red-glow);
}

.modal-title {
  font-size: 20px; font-weight: 900; text-align: center; margin-bottom: 4px;
  background: linear-gradient(90deg, var(--white), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.5px;
}
.modal-sub {
  font-family: var(--font-mono); font-size: 11px; color: var(--cyan);
  text-align: center; margin-bottom: 16px; letter-spacing: 1px;
  padding-bottom: 12px; border-bottom: 1px dashed rgba(0,229,255,0.2);
}

.actual-score-bar {
  background: linear-gradient(135deg, rgba(255,214,0,0.12), rgba(255,136,0,0.08));
  border: 1px solid rgba(255,214,0,0.3);
  border-radius: 10px; padding: 12px 16px; font-size: 14px;
  color: var(--yellow); font-weight: 600; text-align: center; margin-bottom: 12px;
  box-shadow: 0 0 12px rgba(255,214,0,0.1);
}
.actual-score-bar b {
  font-family: var(--font-mono);
  font-size: 22px; font-weight: 800;
  background: linear-gradient(135deg, var(--yellow), #ff6600);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
}

.summary-bar {
  background: linear-gradient(135deg, rgba(0,229,255,0.08), rgba(168,85,247,0.05));
  border: 1px solid rgba(0,229,255,0.25);
  border-radius: 10px; padding: 14px 16px; font-size: 13px;
  color: var(--cyan); font-weight: 600; line-height: 1.7; margin-bottom: 14px;
}

.final-pick {
  display: flex; gap: 14px;
  background: linear-gradient(135deg, rgba(0,229,255,0.08), rgba(168,85,247,0.06));
  border: 1px solid rgba(0,229,255,0.3);
  border-radius: 12px; padding: 16px; margin-bottom: 14px;
  box-shadow: inset 0 0 20px rgba(0,229,255,0.04);
}
.fp-left { flex-shrink: 0; text-align: center; min-width: 90px; }
.fp-label { font-family: var(--font-mono); font-size: 9px; color: var(--gdim); letter-spacing: 1px; text-transform: uppercase; }
.fp-pick {
  font-family: var(--font-mono);
  font-size: 26px; font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 6px 0; letter-spacing: 2px;
}
.fp-score { font-family: var(--font-mono); font-size: 11px; color: var(--gtext); }
.fp-score b { color: var(--cyan); font-size: 15px; }
.fp-right { flex: 1; font-size: 11px; color: var(--gtext); line-height: 1.8; }
.fp-why { margin-bottom: 6px; }
.fp-conf { font-family: var(--font-mono); font-size: 10px; color: var(--yellow); }

.pbar { display: flex; height: 22px; border-radius: 6px; overflow: hidden; margin: 6px 0; }
.pseg { display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.9); min-width: 40px; }
.pseg.ph { background: var(--accent); }
.pseg.pd { background: var(--orange); }
.pseg.pa { background: var(--red); }
.plabels { display: grid; grid-template-columns: 1fr 1fr 1fr; font-size: 9px; color: var(--gdim); text-align: center; }

.block { margin-bottom: 14px; }
.btitle { font-size: 12px; font-weight: 700; color: var(--gtext); margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--border); letter-spacing: 0.5px; }

.odds-row { display: flex; gap: 10px; }
.odds-item { flex: 1; text-align: center; padding: 8px 0; background: rgba(139,134,255,0.04); border-radius: 6px; font-size: 11px; color: var(--gtext); }
.odds-item b { display: block; font-size: 16px; color: var(--white); margin-top: 2px; font-weight: 700; font-family: monospace; }

/* 半全场9选项赔率网格 */
.hf-odds-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
.hf-odds-item { text-align: center; padding: 6px 2px; background: rgba(139,134,255,0.04); border: 1px solid var(--border); border-radius: 6px; font-size: 11px; color: var(--gtext); transition: all .2s; }
.hf-odds-item b { display: block; font-size: 14px; color: var(--white); margin-top: 2px; font-weight: 700; font-family: monospace; }

.case-card { background: rgba(139,134,255,0.03); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; }
.case-card.case-pick { border-color: rgba(124,108,255,0.3); background: rgba(124,108,255,0.04); }
.case-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; padding-bottom: 5px; border-bottom: 1px solid var(--border); }
.case-title { font-size: 13px; font-weight: 700; color: var(--white); }
.case-head.home .case-title { color: var(--accent-l); }
.case-head.draw .case-title { color: var(--orange); }
.case-head.away .case-title { color: var(--blue); }
.case-prob { font-size: 12px; font-weight: 700; color: var(--white); background: rgba(139,134,255,0.08); padding: 2px 8px; border-radius: 10px; }
.case-conf { margin-left: auto; font-size: 10px; font-weight: 600; }
.case-reason { font-size: 11px; line-height: 1.7; color: var(--gtext); margin-bottom: 4px; }
.case-reason b { color: var(--accent-l); font-weight: 600; }
.case-against { font-size: 10px; line-height: 1.6; color: var(--red); opacity: 0.8; margin-bottom: 6px; padding-left: 6px; border-left: 2px solid rgba(224,86,91,0.3); }
.case-against b { color: #f0a5a7; }
.case-points { display: flex; flex-wrap: wrap; gap: 4px; }
.dp { font-size: 9px; padding: 2px 6px; background: rgba(139,134,255,0.05); border-radius: 3px; color: var(--gtext); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-col { background: rgba(139,134,255,0.03); border-radius: 8px; padding: 10px; }
.form-col-wide { width: 100%; }
.form-team { font-size: 12px; font-weight: 700; color: var(--white); text-align: center; margin-bottom: 4px; }
.form-team.home { color: var(--accent-l); }
.form-team.away { color: var(--blue); }
.form-summary { font-size: 9px; font-weight: 400; color: var(--gtext); margin-left: 4px; }
.form-meta { font-size: 10px; color: var(--gtext); text-align: center; }
.form-trend { font-size: 10px; color: var(--gtext); text-align: center; margin-top: 3px; }
.form-ha { font-size: 10px; color: var(--gdim); text-align: center; margin-top: 2px; }

/* 主客场 */
.ha-split { display: flex; flex-direction: column; gap: 6px; }
.has-item { display: flex; justify-content: space-between; align-items: center; background: rgba(8,9,16,0.4); border-radius: 8px; padding: 8px 12px; }
.has-team { font-size: 12px; font-weight: 700; }
.has-team.home { color: var(--accent-l); }
.has-team.away { color: var(--blue); }
.has-val { font-size: 11px; color: var(--gtext); }
.h2h-summary { font-size: 11px; color: var(--gdim); margin-bottom: 6px; }
.h2h-table .ft-head, .h2h-table .ft-row { grid-template-columns: 1fr 1fr 1fr 60px; }

.form-table { background: rgba(8,9,16,0.4); border-radius: 6px; overflow: hidden; margin-top: 6px; }
.ft-head { display: grid; grid-template-columns: 70px 40px 1fr 42px 30px; gap: 4px; padding: 5px 8px; font-size: 9px; color: var(--gdim); background: rgba(139,134,255,0.04); font-weight: 600; }
.ft-row { display: grid; grid-template-columns: 70px 40px 1fr 42px 30px; gap: 4px; padding: 5px 8px; font-size: 10px; color: var(--gtext); border-top: 1px solid var(--border); align-items: center; }
.ft-row:hover { background: rgba(139,134,255,0.03); }
.ft-date { font-size: 9px; color: var(--gdim); }
.ft-league { font-size: 9px; color: var(--gdim); }
.ft-match { font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ft-score { font-size: 11px; font-weight: 700; color: var(--white); text-align: center; }
.ft-result { font-size: 10px; font-weight: 700; text-align: center; border-radius: 3px; padding: 1px 0; }
.ft-result.w { background: rgba(124,108,255,0.12); color: var(--accent-l); }
.ft-result.d { background: rgba(232,165,69,0.12); color: var(--orange); }
.ft-result.l { background: rgba(224,86,91,0.12); color: var(--red); }

.ana-text { background: rgba(8,9,16,0.4); border-radius: 7px; padding: 11px 13px; font-size: 12px; line-height: 1.8; color: var(--gtext); white-space: pre-wrap; }
.risks { display: flex; flex-direction: column; gap: 3px; }
.risk-item { font-size: 10px; color: var(--orange); padding: 4px 8px; background: rgba(232,165,69,0.06); border-radius: 4px; line-height: 1.5; }
.disclaimer { margin-top: 20px; padding: 10px; background: rgba(224,86,91,0.04); border-radius: 6px; font-size: 10px; color: var(--gdim); text-align: center; }

/* ===== Footer ===== */
.footer { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(11,12,20,0.95); padding: 7px 12px; text-align: center; font-size: 10px; color: var(--gdim); border-top: 1px solid var(--border); z-index: 5; }

/* ===== 联系方式 ===== */
.contact-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px; margin-bottom: 14px;
}
.contact-card h2 { font-size: 16px; margin-bottom: 8px; color: var(--accent-l); }
.contact-desc { font-size: 12px; color: var(--gdim); margin-bottom: 14px; line-height: 1.5; }
.contact-form { display: flex; flex-direction: column; gap: 12px; }
.cf-group { display: flex; flex-direction: column; gap: 5px; }
.cf-group label { font-size: 11px; color: var(--gtext); font-weight: 600; }
.cf-group input, .cf-group textarea {
  background: var(--bg-2); border: 1px solid var(--border);
  color: var(--white); border-radius: 8px; padding: 10px 12px;
  font-size: 14px; font-family: inherit; resize: vertical;
}
.cf-group input:focus, .cf-group textarea:focus {
  outline: none; border-color: var(--accent);
}
.cf-submit {
  background: var(--accent);
  color: #0b0c14; border: none; border-radius: 8px;
  padding: 12px; font-size: 14px; font-weight: 700;
  cursor: pointer; transition: all 0.2s;
}
.cf-submit:hover { background: var(--accent-l); }
.cf-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.cf-result { font-size: 13px; text-align: center; padding: 10px; border-radius: 8px; }
.cf-result.success { background: rgba(124,108,255,0.08); color: var(--accent-l); }
.cf-result.error { background: rgba(224,86,91,0.08); color: var(--red); }

/* ===== 大乐透 ===== */
.lotto-types {
  display: flex; gap: 6px; padding: 12px 16px 0;
  max-width: 640px; margin: 0 auto;
  flex-wrap: wrap;
}
.lotto-type-btn {
  flex: 1; min-width: 70px; padding: 8px 4px;
  font-size: 11px; font-weight: 600;
  background: var(--card); border: 1px solid var(--border);
  color: var(--gtext); border-radius: 8px;
  cursor: pointer; transition: all 0.2s;
}
.lotto-type-btn.active {
  background: var(--card-2); color: var(--accent-l);
  border-color: rgba(124,108,255,0.3);
}
.lotto-header { text-align: center; padding: 14px 0; }
.lotto-header h2 { font-size: 20px; font-weight: 800; }
.lotto-desc { font-size: 11px; color: var(--gdim); margin-top: 6px; }

.lotto-controls { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.lc-group label { font-size: 11px; color: var(--gtext); font-weight: 600; display: block; margin-bottom: 6px; }
.lc-btns { display: flex; gap: 6px; }
.count-btn {
  flex: 1; padding: 8px 0; font-size: 12px; font-weight: 600;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 8px; color: var(--gtext); cursor: pointer;
  transition: all 0.2s;
}
.count-btn.active {
  background: var(--lotto-red); color: #fff; border-color: var(--lotto-red);
}
.lotto-controls input[type="text"] {
  width: 100%; padding: 10px 12px; font-size: 12px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 8px; color: var(--white);
  outline: none; transition: border-color 0.2s;
}
.lotto-controls input[type="text"]:focus { border-color: var(--accent); }

.lotto-gen-btn {
  width: 100%; padding: 14px 0; font-size: 14px; font-weight: 700;
  background: var(--lotto-red);
  border: none; border-radius: 10px; color: #fff;
  cursor: pointer; transition: all 0.2s;
}
.lotto-gen-btn:hover { opacity: 0.9; }
.lotto-gen-btn:active { transform: translateY(1px); }

.lotto-result { min-height: 100px; margin-top: 16px; }
.lotto-placeholder { text-align: center; padding: 30px 0; color: var(--gdim); font-size: 12px; }

.lotto-ticket {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px; margin-bottom: 10px;
  animation: fadeIn 0.3s ease-out;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.lotto-row {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 6px;
}
.lotto-row-num {
  font-size: 11px; color: var(--gdim); font-weight: 600;
  min-width: 24px;
}

.lotto-ball {
  width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: #fff;
  flex-shrink: 0;
}
.lotto-ball.red {
  background: var(--lotto-red);
}
.lotto-ball.blue {
  background: var(--lotto-blue);
}
.lotto-sep {
  width: 12px; height: 1px; background: rgba(139,134,255,0.18);
  margin: 0 2px;
}

.lotto-total {
  text-align: right; font-size: 10px; color: var(--gdim);
  margin-top: 8px;
}
.lotto-total b { color: var(--orange); font-size: 12px; }

/* ===== 串关推荐 ===== */
.parlay-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  padding: 16px;
  margin-top: 16px;
  margin-bottom: 12px;
}
.parlay-title {
  font-size: 16px;
  color: var(--gold);
}
.parlay-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 12px;
}
.parlay-card:last-child { margin-bottom: 0; }
.parlay-label {
  display: inline-block;
  background: var(--gold);
  color: #0b0c14;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.parlay-matches {
  font-size: 13px;
  color: var(--gtext);
  margin-bottom: 8px;
  line-height: 1.6;
}
.parlay-matches .pm-item {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  border-bottom: 1px dashed var(--border);
}
.parlay-matches .pm-item:last-child { border-bottom: none; }
.parlay-matches .pm-odd { color: var(--accent-l); font-weight: 600; }
.parlay-total {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  margin: 8px 0;
  text-align: right;
}
.parlay-total b { font-size: 16px; }
.parlay-reason {
  font-size: 12px;
  color: var(--gtext);
  line-height: 1.5;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

/* ===== 首页联系方式 ===== */
.home-contact {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}

/* ===== 可折叠区块 ===== */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.section-header h3 { margin: 0; }
.fold-arrow {
  font-size: 12px;
  color: var(--gtext);
  transition: transform 0.2s;
}
.section-header:active .fold-arrow { transform: scale(0.9); }
#parlayContent.collapsed,
#hcFormWrap.collapsed {
  display: none;
}
.hc-title {
  font-size: 15px;
  color: var(--accent-l);
}
.hc-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hc-form input,
.hc-form textarea {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--white);
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.hc-form input:focus,
.hc-form textarea:focus {
  border-color: var(--accent);
}
.hc-form textarea { resize: vertical; min-height: 40px; }
.hc-form button {
  background: var(--accent);
  border: none;
  border-radius: 8px;
  padding: 11px;
  color: #0b0c14;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.hc-form button:disabled { opacity: 0.5; cursor: not-allowed; }

/* ===== 胜平负推荐标签 ===== */
.rec-pick-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  margin-top: 8px;
}
.rec-pick-badge.win { background: rgba(124,108,255,0.1); color: var(--accent-l); border: 1px solid rgba(124,108,255,0.25); }
.rec-pick-badge.draw { background: rgba(232,165,69,0.1); color: var(--orange); border: 1px solid rgba(232,165,69,0.25); }
.rec-pick-badge.lose { background: rgba(224,86,91,0.1); color: var(--red); border: 1px solid rgba(224,86,91,0.25); }
.rec-pick-badge .rec-odd { font-size: 11px; opacity: 0.8; }

.odd-box.odd-rec {
  background: rgba(124,108,255,0.08);
  border: 1px solid rgba(124,108,255,0.25);
}
.odd-box.odd-rec .odd-label { color: var(--accent-l); font-weight: 700; }
.odd-box.odd-rec .odd-val { color: var(--accent-l); }

.lotto-last {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 14px; margin-top: 14px;
}
.last-title { font-size: 11px; color: var(--gdim); font-weight: 600; margin-bottom: 8px; }
.last-body { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

.lotto-tip {
  margin-top: 16px; padding: 12px; font-size: 11px; line-height: 1.7;
  background: rgba(232,165,69,0.06); border: 1px solid rgba(232,165,69,0.15);
  border-radius: 8px; color: var(--orange);
}

/* 大乐透历史 + AI 推荐 */
.lotto-ai-section { margin-top: 20px; }
.lotto-ai-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.lotto-ai-header h3 { font-size: 14px; color: var(--accent-l); margin: 0; }
.lotto-ai-ts { font-size: 10px; color: var(--gdim); }
.lotto-loading { text-align: center; padding: 20px; color: var(--gdim); font-size: 12px; }

/* 冷热号 */
.lotto-hotcold { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 12px; margin-bottom: 14px; }
.hc-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.hc-row:last-child { margin-bottom: 0; }
.hc-label { font-size: 11px; color: var(--gtext); min-width: 70px; flex-shrink: 0; }

/* AI 推荐 */
.lotto-ai-recommend { background: linear-gradient(135deg, rgba(124,108,255,0.08), rgba(232,165,69,0.05)); border: 1px solid rgba(124,108,255,0.2); border-radius: 12px; padding: 14px; margin-bottom: 14px; }
.lotto-ai-recommend h4 { font-size: 13px; color: var(--purple); margin: 0 0 10px; }
.lotto-ai-tickets { display: flex; flex-direction: column; gap: 10px; }
.lotto-ai-ticket { background: rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; padding: 10px 12px; }
.ai-ticket-label { font-size: 11px; color: var(--purple); font-weight: 700; margin-bottom: 6px; }
.ai-ticket-balls { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-bottom: 5px; }
.ai-ticket-reason { font-size: 11px; color: var(--gtext); }
.lotto-disclaimer { font-size: 10px; color: var(--gdim); text-align: center; margin-top: 10px; }

/* 历史开奖表 */
.lotto-history-table h4 { font-size: 12px; color: var(--gtext); margin: 0 0 8px; }
.lh-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.lh-table th { text-align: left; padding: 6px 4px; color: var(--gdim); font-weight: 500; border-bottom: 1px solid var(--border); }
.lh-table td { padding: 6px 4px; border-bottom: 1px solid rgba(255,255,255,0.04); }
.lh-table tr:last-child td { border-bottom: none; }

/* 关于页 */
.about-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px; line-height: 1.8;
}
.about-card h2 { font-size: 16px; margin-bottom: 10px; color: var(--accent-l); }
.about-card p { font-size: 12px; color: var(--gtext); margin-bottom: 8px; }
.about-card ul { padding-left: 18px; }
.about-card li { font-size: 11px; color: var(--gtext); margin-bottom: 6px; }
.about-card b { color: var(--white); }
.about-risks {
  margin-top: 14px; padding: 12px; font-size: 11px; line-height: 1.7;
  background: rgba(224,86,91,0.04); border: 1px solid rgba(224,86,91,0.15);
  border-radius: 8px; color: var(--red);
}

/* ===== 串关空状态 ===== */
.parlay-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--gdim);
  font-size: 13px;
}

/* ===== 串关AI分析 ===== */
.parlay-ai-analysis {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.pai-header {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
}
.pai-conf {
  font-size: 11px;
  margin-left: 8px;
  font-weight: 600;
}
.pai-section {
  font-size: 12px;
  color: var(--gtext);
  line-height: 1.6;
  margin-bottom: 6px;
}
.pai-section b {
  color: var(--white);
}

/* ===== 网红单推荐 ===== */
.influencer-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  padding: 16px;
  margin-top: 16px;
  margin-bottom: 12px;
}
.influencer-header {
  text-align: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.influencer-header h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--gold);
}
.influencer-sub {
  font-size: 11px;
  color: var(--gdim);
  margin-top: 4px;
}
.influencer-retention-badge {
  display: inline-block;
  font-size: 10px;
  color: var(--orange);
  background: rgba(232,165,69,0.08);
  border: 1px solid rgba(232,165,69,0.15);
  padding: 2px 8px;
  border-radius: 10px;
  margin-top: 6px;
}
.influencer-item {
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
}
.influencer-img-item img {
  width: 100%;
  border-radius: 8px;
  display: block;
}
.influencer-text {
  font-size: 14px;
  color: var(--white);
  line-height: 1.7;
  white-space: pre-wrap;
}
.influencer-caption {
  font-size: 11px;
  color: var(--gdim);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
/* 多板块网红单 */
.influencer-section-title {
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 12px;
}
.influencer-sec-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(214,179,108,0.15);
}
.influencer-sec-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
}
.influencer-cover {
  margin-bottom: 8px;
}
.influencer-cover img {
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
/* 封面网格 */
.influencer-cover-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 6px;
}
/* 板块3列网格 */
.influencer-section-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.influencer-sec-block {
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 6px;
  cursor: pointer;
}
.influencer-sec-name-center {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sec-more-hint {
  font-size: 10px;
  color: var(--gdim);
  text-align: center;
  margin-top: 4px;
}
.inf-sec-detail-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--gold);
  text-align: center;
  margin-bottom: 12px;
}
@media (max-width: 480px) {
  .influencer-section-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .influencer-cover-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .influencer-sec-block {
    padding: 10px 8px;
  }
  .influencer-cover-card .cover-name {
    font-size: 11px;
  }
  .influencer-cover-card .cover-time {
    font-size: 10px;
  }
  .influencer-sec-name-center {
    font-size: 13px;
  }
}
.influencer-cover-card {
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s;
}
.influencer-cover-card:active {
  transform: scale(0.95);
}
.influencer-cover-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.influencer-cover-card .cover-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: rgba(139,134,255,0.04);
}
.influencer-cover-card .cover-name {
  font-size: 10px;
  font-weight: 600;
  color: var(--gdim);
  text-align: center;
  padding: 4px 3px 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
}
.influencer-cover-card .cover-time {
  font-size: 9px;
  color: var(--gdim);
  text-align: center;
  padding: 0 2px 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* 网红单详情弹窗 */
.inf-detail {
  padding: 4px 0;
}
.inf-detail-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 10px;
  text-align: center;
}
.inf-detail-cover img,
.inf-detail-image img {
  width: 100%;
  border-radius: 10px;
  display: block;
  margin-bottom: 10px;
}
.inf-detail-text {
  font-size: 14px;
  color: var(--white);
  line-height: 1.7;
  white-space: pre-wrap;
  margin-bottom: 10px;
  padding: 10px;
  background: rgba(139,134,255,0.04);
  border-radius: 8px;
}
.inf-detail-caption {
  font-size: 12px;
  color: var(--gdim);
  margin-bottom: 8px;
}
.inf-detail-time {
  font-size: 11px;
  color: var(--gdim);
  text-align: right;
}
.inf-detail-disclaimer {
  font-size: 11px;
  color: var(--gdim);
  line-height: 1.6;
  margin-top: 12px;
  padding: 10px;
  background: rgba(224,86,91,0.04);
  border: 1px solid rgba(224,86,91,0.1);
  border-radius: 8px;
}
.influencer-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
}
.influencer-time {
  font-size: 11px;
  color: var(--gdim);
  margin-top: 6px;
}
/* 下拉选择框 */
select {
  width: 100%;
  padding: 10px 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  font-size: 14px;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%237a78a6'%3E%3Cpath d='M2 4l4 4 4-4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
select option {
  background: #1c1e31;
  color: var(--white);
}

/* Responsive */
@media (max-width:480px) {
  .header-inner { flex-direction: column; align-items: stretch; gap: 8px; }
  .date-bar { justify-content: center; }
  .form-grid { grid-template-columns: 1fr; }
  .teams span { font-size: 12px; }
  .form-table { font-size: 9px; }
  .ft-head, .ft-row { grid-template-columns: 60px 36px 1fr 36px 26px; font-size: 9px; }
  .lotto-ball { width: 26px; height: 26px; font-size: 12px; }
  .card-odds { min-width: 100px; gap: 3px; }
  .odd-val { font-size: 12px; }
  .team-name { font-size: 13px; }
}

/* ===== 球队队标 ===== */
.team { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.team-logo-wrap { display: inline-flex; }
.team-logo {
  width: 38px; height: 38px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  padding: 3px;
}
.team-logo-sm { width: 24px; height: 24px; padding: 2px; }
.team-logo-fallback {
  display: flex; align-items: center; justify-content: center;
  background: var(--card-2);
  color: var(--accent-l);
  font-size: 15px; font-weight: 800;
  border: 1px solid var(--border);
}
.team:last-child .team-logo-fallback { color: var(--purple); }
.team-logo-sm.team-logo-fallback { font-size: 12px; }
.modal-title { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.modal-title-team { display: inline-flex; align-items: center; gap: 6px; }
.modal-vs { font-size: 12px; color: var(--gdim); font-weight: 700; }
@media (max-width: 600px) {
  .team-logo { width: 32px; height: 32px; }
}

/* ========================================
   仪表盘 Modal v6 —— 对标参考图
   ======================================== */

/* --- 1. 综合指数对比卡（参考图3） --- */
.dash-overview {
  background: linear-gradient(135deg, rgba(10,14,30,0.95), rgba(6,8,18,0.98));
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: 14px;
  padding: 18px 16px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}
.dash-overview::before {
  content: 'OVERALL INDEX';
  position: absolute; top: 8px; right: 12px;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 1px;
  color: var(--gdim); opacity: 0.6;
}
.dash-teams-row {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.dash-team-block { text-align: center; }
.dash-team-logo {
  width: 44px; height: 44px; margin: 0 auto 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,229,255,0.2), rgba(168,85,247,0.15));
  border: 1px solid rgba(0,229,255,0.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; color: var(--cyan);
  box-shadow: var(--cyan-glow);
}
.dash-team-name {
  font-size: 13px; font-weight: 700; color: var(--white);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 100px; margin: 0 auto;
}
.dash-team-rank {
  font-family: var(--font-mono); font-size: 9px; color: var(--gdim);
  letter-spacing: 0.5px;
}
.dash-vs-center {
  text-align: center;
}
.dash-vs-big {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  color: var(--gdim); letter-spacing: 2px;
}
.dash-score-big {
  font-family: var(--font-mono); font-size: 24px; font-weight: 900;
  margin-top: 2px;
}
.dash-score-home {
  background: linear-gradient(135deg, var(--cyan), #0099aa);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.dash-score-away {
  background: linear-gradient(135deg, var(--red), #aa0044);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 综合指数大数字 */
.dash-index-row {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 8px; align-items: center;
  margin-bottom: 12px;
}
.dash-index-num {
  font-family: var(--font-mono);
  font-size: 36px; font-weight: 900;
  letter-spacing: -1px; line-height: 1;
}
.dash-index-home { color: var(--cyan); text-shadow: 0 0 12px rgba(0,229,255,0.4); text-align: right; }
.dash-index-away { color: var(--red); text-shadow: 0 0 12px rgba(255,45,106,0.4); text-align: left; }
.dash-index-gap {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--gdim); text-align: center; padding-top: 6px;
}

/* 评分条 */
.dash-gauge {
  height: 8px; border-radius: 4px; overflow: hidden;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(0,229,255,0.15);
  position: relative;
}
.dash-gauge-fill {
  position: absolute; top: 0; bottom: 0; left: 0;
  background: linear-gradient(90deg, var(--cyan), var(--red));
  border-radius: 4px;
  animation: barFill 1.2s cubic-bezier(.22,1,.36,1) both;
}
.dash-gauge-marker {
  position: absolute; top: -2px; bottom: -2px; width: 2px;
  background: var(--yellow); box-shadow: var(--yellow-glow);
}

/* 底部数据点 */
.dash-stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 6px; margin-top: 10px;
}
.dash-stat {
  background: rgba(0,229,255,0.05);
  border: 1px solid rgba(0,229,255,0.12);
  border-radius: 6px;
  padding: 6px 4px; text-align: center;
}
.dash-stat-label {
  font-family: var(--font-mono); font-size: 8px; color: var(--gdim);
  letter-spacing: 0.5px; text-transform: uppercase;
}
.dash-stat-val {
  font-family: var(--font-mono); font-size: 14px; font-weight: 800;
  color: var(--white); margin-top: 1px;
}
.dash-stat-gap { color: var(--yellow); }

/* --- 2. 雷达图仪表盘（参考图1） --- */
.dash-radar-section {
  background: linear-gradient(135deg, rgba(10,14,30,0.95), rgba(6,8,18,0.98));
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
  position: relative;
}
.dash-radar-title {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
}
.dash-radar-title h3 {
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  color: var(--cyan); letter-spacing: 1px;
}
.dash-radar-canvas-wrap {
  display: flex; justify-content: center;
  margin: 0 auto;
  max-width: 280px;
  aspect-ratio: 1 / 1;
}
.dash-radar-canvas-wrap canvas { width: 100%; height: 100%; }

/* 雷达图周围的小数据卡片（2x2网格） */
.dash-radar-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px; margin-top: 12px;
}
.dash-mini-card {
  background: rgba(0,229,255,0.04);
  border: 1px solid rgba(0,229,255,0.12);
  border-radius: 8px;
  padding: 10px 12px;
}
.dash-mini-title {
  font-family: var(--font-mono); font-size: 9px; font-weight: 700;
  color: var(--cyan); letter-spacing: 1px;
  margin-bottom: 6px;
}
.dash-mini-row {
  display: flex; justify-content: space-between;
  font-size: 11px; color: var(--gtext);
  padding: 2px 0;
}
.dash-mini-row b { color: var(--white); font-family: var(--font-mono); font-weight: 700; }
.dash-mini-row.home b { color: var(--cyan); }
.dash-mini-row.away b { color: var(--red); }

/* --- 3. 回合制条形对比（参考图2） --- */
.dash-round-section {
  background: linear-gradient(135deg, rgba(10,14,30,0.95), rgba(6,8,18,0.98));
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
}
.dash-round-title {
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  color: var(--cyan); letter-spacing: 1px;
  margin-bottom: 12px;
}
.dash-metric {
  margin-bottom: 12px;
}
.dash-metric-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 4px;
}
.dash-metric-name {
  font-size: 11px; font-weight: 600; color: var(--gtext);
}
.dash-metric-bars {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.dash-metric-side {
  height: 20px;
  border-radius: 4px; overflow: hidden;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(0,229,255,0.1);
  position: relative;
}
.dash-metric-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1.2s cubic-bezier(.22,1,.36,1);
  animation: barFill 1.2s cubic-bezier(.22,1,.36,1) both;
}
.dash-metric-fill.home {
  background: linear-gradient(90deg, rgba(0,229,255,0.6), var(--cyan));
}
.dash-metric-fill.away {
  background: linear-gradient(90deg, rgba(255,45,106,0.6), var(--red));
}
.dash-metric-label {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  color: white; padding: 0 8px;
  white-space: nowrap;
}
.dash-metric-vs {
  display: flex; justify-content: center; gap: 10px;
  font-family: var(--font-mono); font-size: 10px;
  color: var(--gdim); margin-top: 4px;
}
.dash-metric-vs .home-v { color: var(--cyan); font-weight: 700; }
.dash-metric-vs .away-v { color: var(--red); font-weight: 700; }
.dash-metric-vs .winner { color: var(--yellow); }

/* --- 4. AI 最终推荐高亮卡 --- */
.dash-pick-card {
  background: linear-gradient(135deg, rgba(0,229,255,0.12), rgba(168,85,247,0.08));
  border: 1px solid rgba(0,229,255,0.4);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 14px;
  box-shadow: inset 0 0 30px rgba(0,229,255,0.06), var(--cyan-glow);
  position: relative;
  overflow: hidden;
}
.dash-pick-card::before {
  content: 'AI FINAL PICK';
  position: absolute; top: 8px; right: 12px;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 1px;
  color: var(--cyan); opacity: 0.7;
}
.dash-pick-row {
  display: flex; align-items: center; gap: 14px;
}
.dash-pick-num {
  font-family: var(--font-mono);
  font-size: 32px; font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
  flex-shrink: 0;
}
.dash-pick-info {
  flex: 1; min-width: 0;
}
.dash-pick-why {
  font-size: 12px; line-height: 1.7; color: var(--gtext);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.dash-pick-meta {
  display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap;
}
.dash-pick-tag {
  font-family: var(--font-mono); font-size: 10px;
  padding: 2px 8px; border-radius: 3px;
  border: 1px solid rgba(0,229,255,0.3);
  color: var(--cyan);
}
.dash-pick-tag.score { color: var(--yellow); border-color: rgba(255,214,0,0.3); }
.dash-pick-tag.conf { color: var(--purple); border-color: rgba(168,85,247,0.3); }

/* --- 5. 段落标题 --- */
.dash-block-title {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  color: var(--cyan); letter-spacing: 1px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.dash-block-title::before {
  content: ''; width: 2px; height: 12px; background: var(--cyan);
}
.dash-block-title::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(0,229,255,0.3), transparent);
}

/* --- 响应式（手机端适配） --- */
@media (max-width: 480px) {
  .dash-team-logo { width: 36px; height: 36px; font-size: 18px; }
  .dash-team-name { font-size: 11px; max-width: 80px; }
  .dash-index-num { font-size: 28px; }
  .dash-score-big { font-size: 20px; }
  .dash-pick-num { font-size: 26px; }
  .dash-radar-canvas-wrap { max-width: 240px; }
  .dash-stats-row { grid-template-columns: repeat(2, 1fr); }
}
