/* ===== Draft History page =====
   Year cards, pick rows and the team filter come from draft-picks.css; trade cards from draft-trades.css. */

/* Picks | Trades switch */
.view-switch {
  display: inline-flex;
  gap: .25rem;
  margin-bottom: 1rem;
  padding: .25rem;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
}
.view-switch button {
  min-width: 110px;
  padding: .5rem 1.1rem;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
}
.view-switch button:hover { color: var(--ink); }
.view-switch button[aria-selected="true"] {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}
@media (max-width: 600px) {
  .view-switch { display: flex; }
  .view-switch button { flex: 1; min-width: 0; }
}

/* Team names in trade cards link to the team page */
a.side-team { display: block; color: inherit; text-decoration: none; }
a.side-team:hover { color: var(--red); text-decoration: underline; }
