.nba-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:24px}.nba-photo-tile{display:block;padding:0;border:1px solid #254367;border-radius:12px;overflow:hidden;background:#071629;cursor:zoom-in;width:100%}.nba-photo-tile img{display:block;width:100%;height:auto}.nba-photo-tile:focus-visible{outline:3px solid #f9c52b;outline-offset:4px}.nba-photo-viewer{padding:16px;max-width:96vw;width:1100px;max-height:95dvh;background:#071629;color:#fff;border:1px solid #254367;border-radius:14px}.nba-photo-viewer::backdrop{background:rgba(0,0,0,.88)}.nba-photo-toolbar{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:12px;flex-wrap:wrap}.nba-photo-toolbar button{font:inherit;font-size:1rem;padding:10px 14px;color:#fff;background:#14365c;border:1px solid #42678f;border-radius:8px;cursor:pointer}.nba-photo-toolbar [data-close]{margin-left:auto}.nba-photo-main{display:block;margin:auto;width:100%;height:calc(95dvh - 115px);object-fit:contain}.nba-photo-open{overflow:hidden}@media(max-width:700px){.nba-photo-grid{grid-template-columns:1fr;gap:16px}.nba-photo-viewer{padding:10px}.nba-photo-toolbar{gap:8px}.nba-photo-toolbar button{padding:10px}.nba-photo-main{height:calc(95dvh - 125px)}}

/* Small branding follows each photograph in the grid and enlarged viewer. */
.nba-photo-tile,.nba-photo-stage{position:relative}.nba-photo-tile .nba-photo-brand,.nba-photo-stage .nba-photo-brand{position:absolute;right:12px;bottom:12px;width:clamp(48px,18%,80px);height:auto;pointer-events:none;filter:drop-shadow(0 1px 3px #000)}.nba-photo-stage{width:fit-content;max-width:100%;margin:auto}.nba-photo-main{width:auto;max-width:100%;height:auto;max-height:calc(95dvh - 115px);object-fit:contain}@media(max-width:700px){.nba-photo-main{width:auto;height:auto;max-height:calc(95dvh - 125px)}}

.nba-photo-caption{display:block;text-align:left;padding:12px 16px;color:#fff;font-size:1rem;font-weight:700;background:#082751}.nba-photo-tile:has(.nba-photo-caption) .nba-photo-brand{bottom:56px}
