.saved-mode-tabs .saved-tab-count { font-size: .74em; font-weight: 500; color: #777; margin-left: 3px; }
.toast[data-tone="saved"] { top: var(--saved-toast-top, calc(100dvh - 150px)); bottom: auto; pointer-events: none; }
.toast[data-tone="saved"],.toast[data-tone="follow"] { width: max-content; max-width: min(calc(100vw - 32px),340px); }
#user-profile-auth-feedback { margin: 10px 0 0; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
/* Only the intended direction exists visually, including during collapse. */
.saved-swipe-row .saved-action { visibility: hidden; pointer-events: none; }
.saved-swipe-row[data-swipe-direction="right"] .saved-action-move,
.saved-swipe-row[data-swipe-direction="left"] .saved-action-remove { visibility: visible; pointer-events: auto; }
.saved-swipe-row:not(.is-committing) .saved-swipe-content { touch-action: pan-y; }
.saved-swipe-row.is-committing .saved-action { transition: none; }
/* Revisit uses the existing move layer for Pin, not the retired pin layer.
   Keep its label visible even when legacy is-pin-threshold rules run. */
.saved-swipe-row[data-saved-mode="revisit"][data-swipe-direction="right"] { background: #f2c56b; }
.saved-swipe-row[data-saved-mode="revisit"][data-swipe-direction="right"] .saved-action-move { background: #f2c56b; opacity: 1 !important; }
.saved-swipe-row[data-saved-mode="revisit"] .saved-action-move button { color: #452900; }
/* A persistent marker travels with the content; it never covers controls. */
.saved-swipe-row[data-saved-mode="revisit"].is-pinned .saved-swipe-content::after { content: ""; position: absolute; z-index: 3; right: 0; top: 16px; bottom: 16px; width: 5px; border-radius: 4px 0 0 4px; background: #b97913; pointer-events: none; }
/* Hidden reveal layers cannot leave a green seam outside an active swipe. */
.map-list-save-reveal { visibility: hidden; pointer-events: none; }
.map-list-row.is-map-swiping .map-list-save-reveal { visibility: visible; }
.map-list-row.is-map-pressed:not(.is-map-selected) .map-list-content { background: #fafafc; }
