/* ============================================================
   Public Local News — Components
   ============================================================ */

/* Skeleton feed card */
.skeleton-card { background: #fff; border-radius: var(--jv-radius); box-shadow: var(--jv-shadow); border: 1px solid var(--jv-border); overflow: hidden; margin-bottom: 14px; }
.skeleton-card .sk-head { display: flex; gap: 10px; padding: 14px; align-items: center; }
.skeleton-card .sk-line { height: 12px; border-radius: 6px; }
.skeleton-card .sk-img { aspect-ratio: 16/9; width: 100%; border-radius: 0; }
.skeleton-card .sk-body { padding: 14px; }
.skeleton-card .sk-body .sk-line { margin-bottom: 8px; }

.avatar-stack { display: flex; }
.avatar-stack .avatar { border: 2px solid #fff; margin-left: -8px; }
.avatar-stack .avatar:first-child { margin-left: 0; }

/* Trending item */
.trend-item { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--jv-border); }
.trend-item:last-child { border-bottom: none; }
.trend-rank { font-size: 1.2rem; font-weight: 800; color: #CBD5E1; width: 26px; }
.trend-item:hover .trend-title { color: var(--jv-primary); }
.trend-title { font-weight: 600; font-size: 14px; line-height: 1.3; cursor: pointer; }
.trend-meta { font-size: 12px; color: var(--jv-muted); }

/* Suggested user */
.sugg-user { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--jv-border); }
.sugg-user:last-child { border-bottom: none; }
.sugg-user .u-name { font-weight: 600; font-size: 14px; line-height: 1.2; }
.sugg-user .u-loc { font-size: 12px; color: var(--jv-muted); }

/* Section title */
.sec-title { font-size: 15px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.sec-title i { color: var(--jv-primary); }

/* Tabs underline */
.nav-underline-style .nav-link { border: none; font-weight: 600; color: var(--jv-muted); padding: 10px 14px; border-radius: 10px; }
.nav-underline-style .nav-link.active { background: var(--jv-primary-soft); color: var(--jv-primary); }

/* Modal header */
.modal-header { border-bottom: 1px solid var(--jv-border); }
.modal-content { border-radius: 16px; border: none; }
.modal.show .modal-dialog { transform: none; }

/* bottom sheet modal */
.modal-bottom .modal-dialog { margin: 0 8px 8px; }
.modal-bottom .modal-content { border-radius: 16px; }

/* Toast */
.toast { border: none; border-radius: 12px; box-shadow: var(--jv-shadow-lg); }

/* Category color dot */
.cat-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

/* Points earn chip */
.pts-chip { display: inline-flex; align-items: center; gap: 5px; background: #FEF3E2; color: #B45309; font-size: 12px; font-weight: 700; border-radius: 20px; padding: 3px 10px; }

/* verified badge next to name */
.u-name-row { display: flex; align-items: center; gap: 5px; }

/* divider in auth */
.auth-divider { display: flex; align-items: center; gap: 10px; color: var(--jv-muted); font-size: 12px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--jv-border); }

/* soft shadow hover for cards */
.jv-card.hoverable { transition: box-shadow 0.2s, transform 0.2s; }
.jv-card.hoverable:hover { box-shadow: var(--jv-shadow-lg); transform: translateY(-2px); }

/* interest selection summary pill */
.sel-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--jv-primary-soft); color: var(--jv-primary); border-radius: 20px; padding: 5px 12px; font-size: 13px; font-weight: 600; }
.sel-pill button { border: none; background: none; color: inherit; display: flex; align-items: center; padding: 0; }

/* login send-otp button loader */
.btn .ms-spin { display: none; }
.btn.loading .ms-spin { display: inline-block; }
.btn.loading .ms-label { display: none; }