.rebrand-scenes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1.2vw, 18px);
}
.rebrand-scenes a {
  display: block;
  background: #000;
  cursor: zoom-in;
}
.rebrand-scenes img { width: 100%; }
.rebrand-scenes figcaption {
  padding-block: 12px;
  color: var(--muted);
  font: 500 11px/1.5 var(--mono);
  letter-spacing: .045em;
  text-transform: none;
}
.render-dialog img[src*="/rebrand-"] { background: #000; }
@media (max-width: 760px) {
  .rebrand-scenes {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 90%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
  }
  .rebrand-scenes figure { scroll-snap-align: start; }
  .rebrand-scenes a:focus-visible { outline-offset: -3px; }
}
