/* ai-advice.css — 独立新增：AI 买卖指导意见卡片样式 */
.ai-advice-card { border-left: 3px solid #7c5cff; }
.ai-advice-meta { color: #999; font-size: 11px; }
.ai-advice-loading, .ai-advice-empty { color: #999; font-size: 13px; padding: 18px 4px; text-align: center; }
.ai-advice-top { display: flex; gap: 14px; align-items: center; padding: 4px 0 12px; border-bottom: 1px solid var(--line); }
.ai-advice-stance { flex: 0 0 auto; padding: 6px 16px; border-radius: 20px; font-weight: 700; font-size: 14px; }
.ai-advice-stance.good { background: #fff0ee; color: #f0342c; }
.ai-advice-stance.warn { background: #fff6e6; color: #d98a00; }
.ai-advice-stance.flat { background: #eef7f1; color: #2f9d5c; }
.ai-advice-narrative { min-width: 0; }
.ai-advice-narrative .mkt { font-size: 13px; color: var(--text); }
.ai-advice-narrative .sum { font-size: 12px; color: #888; margin-top: 3px; }
.ai-advice-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; padding-top: 12px; }
.adv-item { border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: #fcfcfc; }
.adv-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.adv-head b { font-size: 14px; }
.adv-head small { color: #aaa; font-size: 11px; }
.adv-action { margin-left: auto; padding: 2px 10px; border-radius: 12px; font-size: 12px; font-weight: 650; }
.adv-action.buy { background: #fff0ee; color: #f0342c; }
.adv-action.sell { background: #eef7f1; color: #2f9d5c; }
.adv-action.flat { background: #f0f0f0; color: #888; }
.adv-conf { font-size: 11px; padding: 2px 8px; border-radius: 10px; }
.adv-conf.high { background: #fff0ee; color: #f0342c; }
.adv-conf.mid { background: #fff6e6; color: #d98a00; }
.adv-conf.low { background: #f0f0f0; color: #999; }
.adv-timing { font-size: 12px; color: #7c5cff; margin-top: 8px; }
.adv-prices { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: #888; margin-top: 8px; }
.adv-prices b { color: var(--text); }
.adv-prices b.up { color: #f0342c; }
.adv-prices b.down { color: #2f9d5c; }
.adv-reason { font-size: 12px; color: #666; margin-top: 8px; line-height: 1.5; }
.ai-advice-risk { font-size: 11px; color: #aaa; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); }
@media (max-width: 720px) {
  .ai-advice-list { grid-template-columns: 1fr; }
  .ai-advice-top { flex-direction: column; align-items: flex-start; gap: 8px; }
}
