/* Portraits only; preserve the existing cards, carousel and theme controls. */
.team-track .avatar.team-portrait { overflow: hidden; padding: 0; }
.team-track .team-portrait img {
  width: 100%;
  height: 100%;
  aspect-ratio: 6 / 7;
  object-fit: cover;
  display: block;
}
.team-track .team-portrait .portrait-dark { display: none; }
:root[data-theme=dark] .team-track .team-portrait .portrait-light { display: none; }
:root[data-theme=dark] .team-track .team-portrait .portrait-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .team-track .team-portrait .portrait-light { display: none; }
  :root:not([data-theme=light]) .team-track .team-portrait .portrait-dark { display: block; }
}
