.select-team-page {
  width: min(800px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 112px;
}

.page-back {
  display: inline-block;
  margin-bottom: 24px;
  color: #7c92ff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.page-back:hover {
  text-decoration: underline;
}

.select-team-header {
  margin-bottom: 32px;
  text-align: center;
}

.select-team-header h1 {
  margin: 0 0 8px;
  color: #f4f5f7;
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 800;
}

.select-team-header p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@keyframes playerStatIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.team-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  --team-color: #ffffff;
  
  /* 애니메이션 기본값 */
  opacity: 0;
  animation: playerStatIn 360ms ease both;
}

.team-card:hover {
  background: rgba(255, 255, 255, 0.08);
}

.team-card.is-selected {
  background: linear-gradient(180deg, color-mix(in srgb, var(--team-color) 20%, transparent), color-mix(in srgb, var(--team-color) 5%, transparent));
  border-color: var(--team-color);
  box-shadow: 0 0 20px -5px color-mix(in srgb, var(--team-color) 40%, transparent);
}

.team-card-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.team-card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.team-card-name {
  margin: 0;
  color: #f4f5f7;
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-card-division {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

@media (max-width: 700px) {
  .select-team-page {
    width: 100%;
    padding: 16px 12px 112px;
  }
  
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .team-card {
    padding: 12px;
    gap: 10px;
    border-radius: 16px;
  }

  .team-card-logo {
    width: 36px;
    height: 36px;
  }

  .team-card-name {
    font-size: 14px;
  }

  .team-card-division {
    font-size: 11px;
  }
}