/* pages/scout.css - 球探页面 Premium */
.scout-header {
  text-align: center; padding: var(--sp-4) var(--sp-3);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  margin-bottom: var(--sp-3);
  box-shadow: var(--shadow-xs);
  border: 1px solid rgba(0,0,0,0.04);
}
.scout-header h2 { font-size: 20px; font-weight: 800; }
.scout-regions { margin-bottom: var(--sp-4); }
.region-list {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-xs);
}
.region-item { display: flex; align-items: center; padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--gray-100); gap: var(--sp-3); transition: background var(--duration-fast); }
.region-item:last-child { border-bottom: none; }
.region-item.disabled { opacity: 0.5; pointer-events: none; }
.scout-daily-tip { display: flex; align-items: center; gap: var(--sp-2); padding: 10px var(--sp-3); margin-bottom: var(--sp-2); background: #fff8e1; border-radius: var(--radius-md); font-size: 13px; color: #e65100; font-weight: 600; border: 1px solid #ffe0b2; }
.scout-daily-icon { font-size: 16px; }
.region-info { flex: 1; }
.region-name { font-weight: 700; font-size: 15px; }
.region-detail { font-size: 12px; color: var(--gray-500); margin-top: 3px; }
.region-action { text-align: right; }
.region-cost { display: block; font-size: 12px; color: var(--gray-500); margin-bottom: 6px; font-weight: 600; }

/* 报告区头部 */
.scout-reports-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-2);
}
.scout-clear-all {
  font-size: 11px !important;
  padding: 4px 10px !important;
  color: var(--gray-500) !important;
  border-color: var(--gray-300) !important;
}

/* 空状态提示 */
.empty-hint {
  text-align: center;
  padding: 24px var(--sp-3);
  color: var(--gray-400);
  font-size: 13px;
  line-height: 1.6;
}

/* 球探报告卡片 */
.scout-reports { }
.report-item {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  margin-bottom: var(--sp-2);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-xs);
}
.scout-report .report-header { display: flex; justify-content: space-between; margin-bottom: var(--sp-3); align-items: center; }
.report-region { font-weight: 700; color: var(--green-primary); font-size: 14px; }
.report-time { font-size: 12px; color: var(--gray-500); background: var(--gray-100); padding: 2px 8px; border-radius: var(--radius-full); }
.report-players { }

/* 球员列表项 - 可点击 */
.report-player {
  display: flex;
  flex-wrap: wrap;
  padding: var(--sp-3);
  margin: 0 calc(var(--sp-2) * -1);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--duration-fast);
  border-bottom: 1px solid var(--gray-100);
  gap: var(--sp-2);
}
.report-player:last-child { border-bottom: none; }
.report-player:hover { background: var(--gray-50); }
.report-player:active {
  background: rgba(76,175,80,0.06);
  transform: scale(0.99);
}

/* 球员左侧：位置badge + 信息 */
.rp-left {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex: 1;
  min-width: 0;
}
.rp-pos-badge {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 11px; font-weight: 800;
  flex-shrink: 0;
}
.rp-pos-badge.common { background: var(--gray-100); color: var(--gray-600); }
.rp-pos-badge.good { background: #e3f2fd; color: #1565c0; }
.rp-pos-badge.rare { background: #f3e5f5; color: #7b1fa2; }
.rp-pos-badge.legend { background: linear-gradient(135deg, #fff8e1, #ffecb3); color: #e65100; }

/* 球员右侧：评分 + 价格 */
.rp-right {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}

.rp-info { min-width: 0; }
.rp-name { font-weight: 700; font-size: 14px; display: block; }
.rp-meta { font-size: 12px; color: var(--gray-500); display: block; margin-top: 1px; }
.rp-data { display: flex; gap: var(--sp-4); align-items: center; }
.rp-rating { font-weight: 800; font-size: 18px; }
.rp-value { color: var(--green-primary); font-weight: 700; font-size: 13px; }
.rp-summary { font-size: 12px; color: var(--gray-600); margin-top: var(--sp-1); line-height: 1.5; width: 100%; }

/* ==================== Modal 内的球探详情 ==================== */
.scout-detail { }

.scout-detail-header {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: var(--sp-3);
}
.scout-detail-pos {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  font-size: 14px; font-weight: 900;
  flex-shrink: 0;
}
.scout-detail-pos.common { background: var(--gray-100); color: var(--gray-600); }
.scout-detail-pos.good { background: #e3f2fd; color: #1565c0; }
.scout-detail-pos.rare { background: #f3e5f5; color: #7b1fa2; }
.scout-detail-pos.legend { background: linear-gradient(135deg, #fff8e1, #ffecb3); color: #e65100; }

.scout-detail-info { flex: 1; min-width: 0; }
.scout-detail-name { font-size: 16px; font-weight: 800; margin: 0; }
.scout-detail-meta { font-size: 12px; color: var(--gray-500); margin: 2px 0 0; }

.scout-detail-rating {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-lg);
  font-size: 18px; font-weight: 900;
  flex-shrink: 0;
}

/* 评语区 */
.scout-detail-summary {
  display: flex;
  gap: var(--sp-2);
  padding: var(--sp-3);
  background: var(--gray-50);
  border-radius: var(--radius-md);
  margin-bottom: var(--sp-3);
  border-left: 3px solid var(--green-primary);
}
.scout-summary-icon { flex-shrink: 0; font-size: 16px; margin-top: 1px; }
.scout-detail-summary p {
  margin: 0; font-size: 13px; color: var(--gray-700); line-height: 1.6;
}

/* 数据行 */
.scout-detail-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--sp-3);
}
.scout-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px var(--sp-3);
  background: var(--bg-card);
}
.scout-stat-label { font-size: 12px; color: var(--gray-500); font-weight: 500; }
.scout-stat-value { font-size: 14px; font-weight: 700; }
.scout-stat-value.affordable { color: var(--green-primary); }
.scout-stat-value.expensive { color: #e53935; }

/* 属性条 */
.scout-attrs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--sp-3);
}
.scout-attr-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.scout-attr-name {
  width: 40px;
  font-size: 11px;
  color: var(--gray-600);
  font-weight: 600;
  text-align: right;
  flex-shrink: 0;
}
.scout-attr-bar {
  flex: 1;
  height: 6px;
  background: var(--gray-100);
  border-radius: 3px;
  overflow: hidden;
}
.scout-attr-fill {
  display: block;
  height: 100%;
  border-radius: 3px;
  transition: width 0.3s ease;
}
.scout-attr-fill.color-high { background: linear-gradient(90deg, #43a047, #66bb6a); }
.scout-attr-fill.color-mid { background: linear-gradient(90deg, #fb8c00, #ffa726); }
.scout-attr-fill.color-low { background: linear-gradient(90deg, #e53935, #ef5350); }

.scout-attr-val {
  width: 22px;
  font-size: 12px;
  font-weight: 800;
  text-align: right;
  flex-shrink: 0;
}
.scout-attr-val.color-high { color: #2e7d32; }
.scout-attr-val.color-mid { color: #e65100; }
.scout-attr-val.color-low { color: #c62828; }

/* 优势/劣势标签 */
.scout-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--sp-2);
}
.scout-tags-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-500);
  margin-right: 4px;
}
.scout-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
}
.scout-tag.strength {
  background: rgba(76,175,80,0.1);
  color: #2e7d32;
  border: 1px solid rgba(76,175,80,0.2);
}
.scout-tag.weakness {
  background: rgba(244,67,54,0.08);
  color: #c62828;
  border: 1px solid rgba(244,67,54,0.15);
}
