/* Players thumbnail-to-enlarge feature. Isolated from shared site CSS. */
.players-page .thumb.has-photo { padding: 0; overflow: hidden; }
.players-page .player-photo-open { display: block; width: 100%; height: 100%; min-height: 136px; padding: 0; background: transparent; color: inherit; border: 0; cursor: zoom-in; }
.players-page .player-photo-open img { display: block; width: 100%; height: 100%; min-height: 136px; object-fit: cover; }
.players-page .player-photo-open:focus-visible { outline: 3px solid var(--gold, #b98b39); outline-offset: -3px; }
.player-lightbox { box-sizing: border-box; width: min(95vw, 770px); max-width: min(95vw, 770px); max-height: 94vh; padding: 12px; margin: auto; border: 1px solid #8b734a; border-radius: 12px; background: #1c1a18; color: #fff; box-shadow: 0 18px 70px #0009; }
.player-lightbox::backdrop { background: rgba(0,0,0,.82); }
.player-lightbox-content { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.player-lightbox img { display: block; max-width: 100%; width: auto; height: auto; max-height: calc(94vh - 85px); object-fit: contain; }
.player-lightbox p { margin: 0; font: 500 14px/1.4 system-ui, sans-serif; text-align: center; }
.player-lightbox-close { position: absolute; z-index: 1; right: 3px; top: 3px; width: 40px; height: 40px; border: 1px solid #fff6; border-radius: 50%; background: #151515e8; color: #fff; cursor: pointer; font-size: 29px; line-height: 1; }
.player-lightbox-close:focus-visible { outline: 3px solid #f5bb62; outline-offset: 2px; }
@media (max-width: 600px) {
  .players-page .player-photo-open, .players-page .player-photo-open img { min-height: 98px; }
}
