/* ============================================================================
   SHOT INDEX — scrolling strip (v32)
   Frames keep their size and the strip gets longer, instead of squeezing every
   shot into the fixed 550px window. Loaded last, so it only overrides.
   ========================================================================= */
#idxBay .filmstrip{
  justify-content:flex-start;
  gap:8px;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;           /* reaching the end doesn't fling the page */
  scroll-snap-type:y proximity;
  scrollbar-width:none;
  /* The perforations are painted on the scrolling content
     (background-attachment: local), so they travel with the frames the way
     real stock does, rather than sitting still while pictures slide past. */
  background:
    repeating-linear-gradient(180deg,transparent 0 7px,#dbd7c5 7px 18px,transparent 18px 22px)
      left 5px top 4px / 10px 22px repeat-y local,
    repeating-linear-gradient(180deg,transparent 0 7px,#dbd7c5 7px 18px,transparent 18px 22px)
      right 5px top 4px / 10px 22px repeat-y local;
  --fade-up:0px; --fade-down:0px;
  -webkit-mask-image:linear-gradient(transparent, #000 var(--fade-up), #000 calc(100% - var(--fade-down)), transparent);
          mask-image:linear-gradient(transparent, #000 var(--fade-up), #000 calc(100% - var(--fade-down)), transparent);
}
#idxBay .filmstrip::-webkit-scrollbar{display:none}
#idxBay .filmstrip::before,
#idxBay .filmstrip::after{display:none}   /* replaced by the scrolling perforations above */

/* fade an edge only when there is more film past it */
#idxBay .filmstrip[data-up="true"]{--fade-up:26px}
#idxBay .filmstrip[data-down="true"]{--fade-down:26px}

#idxBay .shot{flex:none; scroll-snap-align:start; scroll-margin-top:6px}
