/* assets/styles/player.css */
.player-page {
  background: #f7f3ee;
}

.player-page__container {
  padding: 20px;
}

.breadcrumbs {
  max-width: 1200px;
  margin: 0 auto 10px auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: #666;
}
.breadcrumbs a {
  color: #2a5bd7;
  text-decoration: none;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.crumb-current {
  color: #111;
  font-weight: 600;
}

.card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 16px;
  margin: 0 auto 14px auto;
  max-width: 1200px;
}

.player-hero {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  align-items: center;
}
.player-hero__photo-wrap {
  width: 160px;
  height: 160px;
  border-radius: 16px;
  overflow: hidden;
  background: #f6f6f6;
}
.player-hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.player-hero__photo.placeholder {
  background: repeating-linear-gradient(45deg, #f0f0f0, #f0f0f0 10px, #e9e9e9 10px, #e9e9e9 20px);
}
.player-hero__main {
  min-width: 0;
}
.player-hero__name {
  margin: 0 0 6px 0;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 800;
}
.player-hero__meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0 10px 0;
}
.pill {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f2f6ff;
  border: 1px solid #e2eaff;
  font-size: 12px;
  color: #173e88;
}

.player-hero__club {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
}
.player-hero__clublogo {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.player-hero__clubname {
  color: #111;
  text-decoration: none;
  font-weight: 700;
}
.player-hero__clubname:hover {
  text-decoration: underline;
}

.player-hero__back {
  margin-top: 8px;
}
.back-link {
  color: #2a5bd7;
  text-decoration: none;
}
.back-link:hover {
  text-decoration: underline;
}

.player-details .card h2 {
  margin: 0 0 10px;
  font-size: 20px;
}

.facts-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 8px 16px;
}
.fact-row {
  display: contents;
}
.fact-label {
  color: #666;
}
.fact-value {
  font-weight: 600;
  color: #111;
}

.muted {
  color: #666;
}

@media (max-width: 900px) {
  .player-hero {
    grid-template-columns: 120px 1fr;
  }
  .player-hero__photo-wrap {
    width: 120px;
    height: 120px;
  }
}
@media (max-width: 640px) {
  .player-hero {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .player-hero__club {
    justify-content: center;
  }
  .facts-grid {
    grid-template-columns: 1fr;
  }
  .fact-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 6px 0;
    border-bottom: 1px solid #f3f3f3;
  }
  .fact-row:last-child {
    border-bottom: none;
  }
}
