/**
 * 比赛报告页样式
 * 用于显示球员统计数据
 */

/* 比赛信息头部 */
.game-info {
  text-align: center;
}

.game-info h1 {
  margin: 0;
  font-size: 1.5rem;
  color: #333;
}

.game-info p {
  margin: 0.5rem 0;
  font-size: 0.9rem;
  color: #666;
}

/* 球员列表 */
.player-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

/* 球员卡片 */
.player-card {
  position: relative;
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 44px; /* 触摸目标 */
}

/* 排名标识 */
.player-rank {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e0e0e0;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}

.player-rank.rank-gold {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

.player-rank.rank-silver {
  background: linear-gradient(135deg, #C0C0C0 0%, #A8A8A8 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(192, 192, 192, 0.4);
}

.player-rank.rank-bronze {
  background: linear-gradient(135deg, #CD7F32 0%, #B87333 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(205, 127, 50, 0.4);
}

.player-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.player-card:active {
  transform: translateY(0);
}

/* 球员头部信息 */
.player-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}

.player-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  background: #f0f0f0;
}

.player-info {
  flex: 1;
}

.player-name {
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
  margin: 0 0 4px 0;
}

.player-jersey {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

/* 球员统计数据 */
.player-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px;
  background: #f8f9fa;
  border-radius: 4px;
}

.stat-label {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 4px;
}

.stat-value {
  font-size: 1.3rem;
  font-weight: bold;
  color: #333;
}

.stat-value.highlight {
  color: #4CAF50;
}

/* 投篮数据 */
.shooting-stats {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-around;
  font-size: 0.85rem;
  color: #666;
}

.shooting-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.shooting-made-total {
  font-weight: bold;
  color: #333;
}

.shooting-percentage {
  color: #4CAF50;
  font-weight: bold;
}

/* 荣誉称号 */
.player-titles {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.title-badge {
  display: inline-block;
  padding: 4px 8px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: bold;
}

/* 平板及以上 */
@media (min-width: 768px) {
  .player-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .player-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* 桌面 */
@media (min-width: 1024px) {
  .player-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .player-card {
    padding: 20px;
  }

  .player-avatar {
    width: 80px;
    height: 80px;
  }
}

/* 空状态样式（继承自common.css，这里添加特定样式） */
.empty-state {
  margin-top: 40px;
}
