/* ============================================
   球队首页样式
   ============================================ */

/* 比赛列表容器 */
.game-list {
  margin-top: 20px;
}

/* 比赛卡片 */
.game-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 16px;
  margin: 12px 0;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px; /* 触摸目标 */
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.game-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

.game-card:active {
  transform: translateY(0);
}

/* 比赛日期 */
.game-date {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

/* 比赛标题 */
.game-title {
  font-size: 15px;
  color: #444;
  font-weight: 500;
  margin-top: 4px;
  line-height: 1.4;
}

/* 球队对阵 */
.game-teams {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.game-teams .game-score {
  font-size: 20px;
  color: #667eea;
  font-weight: bold;
  margin: 0 8px;
}

/* 场地信息 */
.game-venue {
  font-size: 13px;
  color: #999;
  margin-top: 4px;
}

/* 比赛结果 */
.game-result {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 4px;
  align-self: flex-start;
}

.game-result.win {
  background: #d4edda;
  color: #155724;
}

.game-result.lose {
  background: #f8d7da;
  color: #721c24;
}

/* 比分差 */
.game-score-diff {
  font-size: 14px;
  color: #666;
  margin-top: 4px;
}

.game-score-diff.positive {
  color: #28a745;
}

.game-score-diff.negative {
  color: #dc3545;
}

/* 响应式布局 - 平板 */
@media (min-width: 768px) {
  .game-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .game-card {
    margin: 0;
  }

  .game-teams {
    font-size: 20px;
  }
}

/* 响应式布局 - 桌面 */
@media (min-width: 1024px) {
  .game-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .game-card {
    padding: 20px;
  }
}
