/* Screenshot thumbnails and the full-size viewer (Tim, 11/22/2026). */
.bma-shot-thumbs { display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 2; }
.bma-shot { padding: 0; border: 1px solid var(--bma-hairline, #DDE1E6); border-radius: 4px; background: #fff;
  width: 84px; aspect-ratio: 16 / 10; overflow: hidden; cursor: zoom-in; }
.bma-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.bma-shot:hover, .bma-shot:focus-visible, .bma-shot.is-on { outline: 2px solid var(--brand, #306CC0); outline-offset: 1px; }
.bma-shot-thumbs.is-large .bma-shot { width: 160px; }
.bma-shot-viewer { border: 0; border-radius: 10px; padding: 0; width: min(1000px, calc(100vw - 32px));
  max-height: calc(100vh - 32px); overflow: hidden; }
.bma-shot-viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.bma-shot-viewer::backdrop { background: rgba(20, 24, 29, .82); }
.bma-shot-top { display: flex; gap: 12px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--bma-hairline, #DDE1E6); }
.bma-shot-cap { flex: 1; min-width: 0; font-weight: 600; }
.bma-shot-num { font-size: 12px; color: #5A6478; }
.bma-shot-close { border: 0; background: none; font-size: 26px; line-height: 1; padding: 0 4px; cursor: pointer; }
.bma-shot-body { overflow: auto; background: #EEF0F2; }
.bma-shot-body img { display: block; width: 100%; height: auto; }
.bma-shot-nav { display: flex; justify-content: space-between; padding: 10px 14px; border-top: 1px solid var(--bma-hairline, #DDE1E6); }
/* The listing card's link back to /built, above the card's stretched link. */
.bma-built-tag { position: relative; z-index: 2; display: inline-block; margin-bottom: 8px; font-family: var(--bma-font-mono, monospace);
  font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: #24548F; background: #EAF0F9;
  border-radius: 4px; padding: 2px 8px; text-decoration: none; }
.bma-built-tag:hover, .bma-built-tag:focus-visible { text-decoration: underline; }
