/* =========================================================================
   AI 预测页样式
   ========================================================================= */
.ai-hero {
  text-align: center; padding: 40px 0 20px;
}
.ai-hero h1 {
  font-size: 34px; font-weight: 900;
  background: linear-gradient(120deg, var(--gold), var(--gold-2) 60%, #fff 110%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-flex; align-items: center; gap: 10px;
}
.ai-hero h1 .ai-badge {
  font-size: 12px; padding: 4px 12px; border-radius: 999px; color: var(--bg);
  background: linear-gradient(120deg, var(--gold), var(--gold-2));
  -webkit-background-clip: initial; color: var(--bg);
  letter-spacing: 1px; box-shadow: 0 6px 18px rgba(232,181,73,.35);
}
.ai-hero p { color: var(--text-2); margin-top: 10px; }

.ai-card {
  max-width: 620px; margin: 20px auto; background: linear-gradient(180deg, #131a2f, #0d1325);
  border: 1px solid rgba(255,255,255,.09); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.06); position: relative; overflow: hidden;
}
.ai-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(232,181,73,.5), transparent);
  pointer-events: none;
}
.ai-card .form-title { font-weight: 800; font-size: 18px; margin-bottom: 6px; }
.ai-card .form-desc { color: var(--text-3); font-size: 13px; margin-bottom: 20px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; color: var(--text-2); margin-bottom: 8px; }
.field label b { color: var(--gold); }
.field input {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font-size: 16px; font-family: var(--font);
  letter-spacing: 1px; transition: border-color .2s ease;
}
.field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232,181,73,.12); }
.field .hint { font-size: 12px; color: var(--text-3); margin-top: 8px; }
.field .hint .lock { color: var(--accent-2); }

.agree { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text-3); margin-bottom: 18px; }
.agree input { margin-top: 3px; accent-color: var(--gold); }
.agree a { color: var(--gold); }

#ai-result {
  margin-top: 22px; border-top: 1px dashed var(--line); padding-top: 20px;
}
#ai-result .rs-title { font-weight: 800; font-size: 16px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.pred-item {
  background: linear-gradient(180deg, #141c2f, #0e1424);
  border: 1px solid rgba(255,255,255,.09); border-radius: 16px;
  padding: 18px; margin-bottom: 14px; position: relative; overflow: hidden;
  box-shadow: 0 14px 38px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.05);
}
.pred-item::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(232,181,73,.5), transparent);
  pointer-events: none;
}
.pred-item .pi-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.pred-item .pi-league-tag {
  font-size: 12px; font-weight: 700; color: var(--gold);
  padding: 4px 12px; border-radius: 999px; background: rgba(232,181,73,.1); border: 1px solid rgba(232,181,73,.28);
}
.pred-item .pi-conf { font-size: 12px; color: var(--accent-2); font-weight: 700; }
/* 对阵行 */
.pred-item .pi-match {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  font-weight: 800; font-size: 19px; color: var(--text); margin-bottom: 4px;
}
.pred-item .pi-team { max-width: 40%; text-align: center; }
.pred-item .pi-vs { color: var(--text-3); font-size: 14px; font-weight: 600; }
.pred-item .pi-time { text-align: center; color: var(--text-3); font-size: 12px; margin-bottom: 14px; }
/* 玩法列表 */
.pred-item .pi-plays { display: grid; gap: 8px; }
.pred-item .pi-play {
  display: grid; grid-template-columns: 92px 1fr 96px 34px; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 11px; font-size: 13px;
  background: linear-gradient(180deg, #121a2d, #0e1424); border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.pred-item .pp-name { color: var(--text-3); font-size: 12px; font-weight: 600; white-space: nowrap; }
.pred-item .pp-pick { color: var(--gold); font-weight: 700; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pred-item .pp-bar { height: 6px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; }
.pred-item .pp-bar-fill { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); box-shadow: 0 0 8px rgba(232,181,73,.4); }
.pred-item .pp-pct { color: var(--accent-2); font-style: normal; font-size: 12px; font-weight: 800; text-align: right; }
.pred-item .pi-reason { font-size: 13px; color: var(--text-2); }
@media (max-width: 560px) {
  .pred-item .pi-play { grid-template-columns: 74px 1fr 30px; }
  .pred-item .pp-bar { display: none; }
  .pred-item .pi-match { font-size: 16px; }
}

.error-text { color: var(--accent); font-size: 13px; margin-top: 12px; }
