/* Marketplace listing infinite scroll (pages/dashboard.php + assets/js/dashboard.js): the quiet end-of-list line.
 * Batches are appended ahead of the viewport with no loading state of their own (dashboard.js, bindMobileObserver).
 * Colours are the v5 tokens on body.mkt-v5, which exist at every width, so phone and desktop share one rule set
 * in both themes. */

/* Scroll anchoring would pin a viewport parked below the grid (End / a fling into the footer) to the footer
 * while batches are appended above it, so the sentinel never leaves the fold and loading chains forever.
 * Opting these out lets the new cards land in view instead. */
body.mkt-v5 :is(#mobileScrollSentinel, #listEnd, .site-footer) { overflow-anchor: none; }

.dash-list-end {
    display: flex; align-items: center; gap: 14px; margin: 0; padding: 4px 0 24px;
    font-size: 12.5px; font-weight: 500; color: rgb(var(--mk-fg) / calc(0.45 * var(--mk-tk)));
}
.dash-list-end::before, .dash-list-end::after { content: ''; flex: 1; height: 1px; background: rgb(var(--mk-fg) / 0.08); }
.dash-list-end[hidden] { display: none; }
