/* Shared Following carousel. Same cards on phone and desktop. */

html body[data-zuto-vertical="classified"] .zf-band {
  margin: 0;
  padding: 14px 0 6px;
  background: transparent;
}

html body[data-zuto-vertical="classified"] .zf-inner {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
}

html body[data-zuto-vertical="classified"] .zf-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

html body[data-zuto-vertical="classified"] .zf-title {
  margin: 0;
  color: #172033;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

html body[data-zuto-vertical="classified"] .zf-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

html body[data-zuto-vertical="classified"] .zf-tab {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 999px;
  background: #fff;
  color: #172033;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

html body[data-zuto-vertical="classified"] .zf-tab[aria-selected="true"] {
  border-color: transparent;
  background: linear-gradient(120deg, #38bdf8 0%, #6366f1 48%, #f472b6 100%);
  color: #fff;
}

html body[data-zuto-vertical="classified"] .zf-tab:focus-visible,
html body[data-zuto-vertical="classified"] .zf-card:focus-visible,
html body[data-zuto-vertical="classified"] .zf-follow:focus-visible,
html body[data-zuto-vertical="classified"] .zf-close:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

html body[data-zuto-vertical="classified"] .zf-scroller {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

html body[data-zuto-vertical="classified"] .zf-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 96px;
  min-width: 96px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #172033;
  font: inherit;
  text-align: center;
  scroll-snap-align: start;
  cursor: pointer;
}

html body[data-zuto-vertical="classified"] .zf-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 999px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(#e2e8f0, #e2e8f0) border-box;
  border: 3px solid transparent;
  overflow: hidden;
}

html body[data-zuto-vertical="classified"] .zf-card.is-story .zf-avatar {
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(140deg, #38bdf8, #6366f1 45%, #f472b6 75%, #f59e0b) border-box;
}

html body[data-zuto-vertical="classified"] .zf-card.is-viewed .zf-avatar {
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(#cbd5e1, #cbd5e1) border-box;
}

html body[data-zuto-vertical="classified"] .zf-card.is-live .zf-avatar {
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(#e11d48, #e11d48) border-box;
}

html body[data-zuto-vertical="classified"] .zf-avatar img,
html body[data-zuto-vertical="classified"] .zf-letter {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  object-fit: cover;
}

html body[data-zuto-vertical="classified"] .zf-letter {
  display: grid;
  place-items: center;
  background: #eef2ff;
  color: #312e81;
  font-weight: 800;
}

html body[data-zuto-vertical="classified"] .zf-live {
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%);
  padding: 2px 6px;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

html body[data-zuto-vertical="classified"] .zf-name {
  max-width: 96px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body[data-zuto-vertical="classified"] .zf-meta {
  color: #64748b;
  font-size: 11px;
  line-height: 1.2;
}

html body[data-zuto-vertical="classified"] .zf-empty {
  margin: 0;
  padding: 8px 0 16px;
  color: #475569;
  font-size: 14px;
}

html body[data-zuto-vertical="classified"] .zf-sign {
  min-height: 44px;
  margin-left: 8px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: #172033;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

html body[data-zuto-vertical="classified"] .zf-dialog {
  width: min(440px, calc(100% - 24px));
  margin: auto;
  padding: 18px;
  border: 0;
  border-radius: 18px;
  color: #172033;
}

html body[data-zuto-vertical="classified"] .zf-dialog::backdrop {
  background: rgba(15, 23, 42, 0.46);
}

html body[data-zuto-vertical="classified"] .zf-dialog h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

html body[data-zuto-vertical="classified"] .zf-dialog p {
  margin: 0 0 10px;
  color: #475569;
}

html body[data-zuto-vertical="classified"] .zf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

html body[data-zuto-vertical="classified"] .zf-follow,
html body[data-zuto-vertical="classified"] .zf-close {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

html body[data-zuto-vertical="classified"] .zf-follow {
  border: 0;
  background: linear-gradient(120deg, #38bdf8, #6366f1 50%, #f472b6);
  color: #fff;
}

html body[data-zuto-vertical="classified"] .zf-close {
  border: 1px solid rgba(23, 32, 51, 0.16);
  background: #fff;
  color: #172033;
}

html body[data-zuto-vertical="classified"] .zf-list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

html body[data-zuto-vertical="classified"] .zf-list a {
  color: #1d4ed8;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  html body[data-zuto-vertical="classified"] .zf-scroller {
    scroll-behavior: auto;
  }
}
