/* nz_blog_feed — profile blog & feed. Klarna-clean: crisp 1px borders, monochrome icons, no tinted
   chips, pink (#ff3366) reserved for CTAs. Inherits the item page font (Söhne). Mobile-first, one
   769px breakpoint. */

.nzbf-feed,
.nzbf-profile-btn { font-family: inherit; box-sizing: border-box; }
.nzbf-feed *, .nzbf-feed *::before, .nzbf-feed *::after { box-sizing: border-box; }

/* Dashboard chrome fix (blog pages only, scoped via .nzbf-dash-bg on .esc-dashboard-bg):
   (1) flow-root establishes a BFC so the grey .esc-dashboard-bg contains the theme's float-only
       columns and spans the full page — otherwise the un-cleared floats collapse it to a stray band.
   (2) brand Söhne font on the blog dashboard content column (the dashboard default is Circular);
       scoped to .esc-dashboard-content so the shared left sidebar keeps the platform font. */
.nzbf-dash-bg { display: flow-root; }
.nzbf-dash-bg .esc-dashboard-content,
.nzbf-dash-bg .esc-page-title { font-family: "Söhne", sans-serif; }   /* title has its own font-family */

.nzbf-ic { width: 18px; height: 18px; flex: 0 0 auto; }
.nzbf-ic--chevron { width: 16px; height: 16px; opacity: .55; }

/* ---- entry button ("My blog and feed") ---- */
.nzbf-profile-btn {
    display: inline-flex; align-items: center; gap: 8px;
    text-decoration: none; color: #0D0808;
    border: 1px solid #e5e7eb; border-radius: 999px;
    background: #fff; line-height: 1;
    transition: border-color .15s ease, background .15s ease;
}
.nzbf-profile-btn:hover { border-color: #d1d5db; background: #fcfbfb; }
.nzbf-profile-btn-label { font-weight: 500; }
.nzbf-profile-btn-count {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 20px; height: 20px; padding: 0 6px;
    font-size: 12px; font-weight: 500; color: #6b7280;
    background: #f3f4f6; border-radius: 999px;
}
.nzbf-profile-btn--desktop {
    float: right; margin: 2px 0 0 12px; padding: 8px 14px; font-size: 14px;
}
/* inside the About-me flex header row: no float, pushed right, flex-centred on the h2 cap height.
   translateY(4px): flex-center measured 4px above the cap midpoint (the h2 line box carries its
   ascent above cap top) — paint-only nudge, layout untouched. */
.about-header .nzbf-profile-btn--desktop { float: none; margin: 0 0 0 auto; flex: 0 0 auto; transform: translateY(4px); }
.nzbf-profile-btn--mobile {
    display: flex; width: 100%; justify-content: center;
    min-height: 48px; padding: 12px 16px; margin: 12px 0 4px; font-size: 15px;
}
/* keep the About-me heading text clearing the floated desktop pill */
.item-airbnb-about-desktop-text { clear: right; }

/* ---- feed section shell ---- */
.nzbf-feed {
    display: block; margin: 16px 0; padding: 20px;
    background: #fcfbfb; border: 1px solid #f1e7ea; border-radius: 20px;
    scroll-margin-top: 16px; min-height: 420px;
}
.nzbf-feed-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.nzbf-feed-title { margin: 0; font-size: 20px; font-weight: 500; color: #0D0808; }
.nzbf-followers { font-size: 14px; color: #6b7280; }

/* inner feed column caps line length for readability */
/* Item-page feed section: NO card, NO backdrop — the section is full-bleed WHITE (so the page
   background stays one colour edge-to-edge, same as the content above) and the only marker where
   the feed begins is a hairline rule, the SAME divider that separates About me from The Basics
   (1px #ececec, 32px breathing room). Content is aligned to the shared 1200px column (the section's
   side padding centres it exactly like .middlecontent), posts capped at the 680px Threads width. */
.nzbf-feed.np-section--feed {
    max-width: none;
    margin: 0;
    background: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0 max(20px, calc((100% - 1200px) / 2)) 48px;
}
.nzbf-feed.np-section--feed::before {           /* the About→Basics hairline, spanning the column */
    content: ""; display: block;
    border-top: 1px solid #ececec;
    margin: 0 0 32px;
}
.nzbf-feed .nzbf-feed-head, .nzbf-feed .nzbf-more { max-width: 680px; }
/* header row: title on the shared left edge, the Follow/Following chip right-aligned on its
   baseline — the same header-row pattern as the "My blog and feed" pill above it. */
.nzbf-feed .nzbf-feed-head { align-items: center; flex-wrap: nowrap; }   /* pill stays ON the title row */
.nzbf-feed .nzbf-feed-head .nzbf-follow-btn { margin-left: auto; }
.nzbf-feed .nzbf-list { max-width: 680px; margin: 0; }   /* scoped: /user/feed reuses .nzbf-list/.nzbf-more */
/* manage page (/user/blog): the feed IS the post list — fill the dashboard column, no item-page cap */
.nzbf-feed--manage { max-width: none; margin: 4px 0 0; }
.nzbf-feed--manage .nzbf-list, .nzbf-feed--manage .nzbf-more { max-width: none; }

/* ---- Follow button (base = compact BLACK pill, house style; the --pill variants below refine it
   for the profile header). width:auto is load-bearing: the theme's global `button { width: 100% }`
   (dashboard chrome) otherwise stretches bare follow buttons to the full row — /user/feed rows. */
.nzbf-follow-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    width: auto; min-height: 34px; padding: 0 16px; font: inherit; font-weight: 400; font-size: 14px;
    color: #fff; background: #111; border: 1px solid #111; border-radius: 999px;
    white-space: nowrap; cursor: pointer;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.nzbf-follow-btn:hover { background: #000; border-color: #000; }
.nzbf-follow-btn.is-following { color: #0D0808; background: #fff; border-color: #e5e7eb; }
.nzbf-follow-btn.is-following:hover { background: #f9fafb; border-color: #d1d5db; color: #0D0808; }
.nzbf-follow-btn.is-disabled { color: #6b7280; background: #f3f4f6; border-color: #e5e7eb; cursor: pointer; }
/* black follow pill ("+ Follow | N") — profile header, desktop cluster + mobile head.
   EVERY state is grouped here (default / is-following / is-disabled and their hovers) so the legacy
   .nzbf-follow-btn state rules above can never bleed dark text or pale backgrounds into the pill:
   the pill is always black with WHITE 400-weight text. */
.nzbf-follow-btn--pill,
.nzbf-follow-btn--pill.is-following,
.nzbf-follow-btn--pill.is-disabled {
    display: inline-flex; align-items: center; gap: 7px;
    background: #111; color: #fff; border: 0; border-radius: 999px;
    padding: 11px 18px; font-family: inherit; font-size: 14.5px; font-weight: 400; line-height: 1;
    cursor: pointer; white-space: nowrap; flex: 0 0 auto;
}
.nzbf-follow-btn--pill:hover,
.nzbf-follow-btn--pill.is-following:hover,
.nzbf-follow-btn--pill.is-disabled:hover { background: #000; color: #fff; border: 0; }
.nzbf-follow-btn--pill .nzbf-fp-plus { font-size: 15px; line-height: 1; }
.nzbf-follow-btn--pill .nzbf-fp-count {
    border-left: 1px solid rgba(255, 255, 255, .3); padding-left: 10px; margin-left: 3px;
    font-weight: 400;
}
.nzbf-follow-pill--mobile {
    display: flex; width: max-content; max-width: 88%;         /* hug content — never stretch */
    margin: 12px auto 2px;                                     /* centered under name/city (mobile head) */
    padding: 12px 26px;
}
/* desktop header variant: tighter pill — fixed 34px, no vertical padding (flex centring handles it);
   min-height overrides the legacy .nzbf-follow-btn 38px floor; placed after the state groups so the
   geometry holds in every state. */
.nzbf-follow-btn--pill.nzbf-follow-pill--head {
    height: 34px; min-height: 34px; padding: 0 16px;
    /* flex-center lands 4.3px ABOVE the name's cap-height midpoint (the line box carries the font's
       full ascent above cap top), so nudge down — transform keeps layout/baselines untouched */
    transform: translateY(4px);
}
/* feed-section header variant: SMALL pill inline right of the "Blog & feed" title (mock) —
   compact 34px in every state, never full-width, never wrapping to its own line. */
.nzbf-follow-btn--pill.nzbf-follow-pill--feedhead {
    height: 34px; min-height: 34px; padding: 0 16px; width: auto; flex: 0 0 auto;
}
/* LAST: [hidden] must beat every display in the groups above */
.nzbf-follow-btn--pill[hidden], .nzbf-follow-pill--mobile[hidden] { display: none; }

/* ---- skeletons (shimmer) ---- */
.nzbf-skel {
    border: 1px solid #eef0f2; border-radius: 16px; background: #fff;
    padding: 16px; margin: 0 0 14px;
}
.nzbf-skel span {
    display: block; height: 12px; border-radius: 6px; margin: 0 0 10px;
    background: #eef0f2;
}
.nzbf-skel span:nth-child(1) { width: 40%; }
.nzbf-skel span:nth-child(2) { width: 92%; }
.nzbf-skel span:nth-child(3) { width: 66%; margin-bottom: 0; }
@media (prefers-reduced-motion: no-preference) {
    .nzbf-skel span {
        background: linear-gradient(90deg, #eef0f2 25%, #f6f7f8 37%, #eef0f2 63%);
        background-size: 400% 100%; animation: nzbf-shimmer 1.4s ease infinite;
    }
    @keyframes nzbf-shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
}

.nzbf-noscript { color: #6b7280; font-size: 14px; margin: 8px 0 0; }
.nzbf-more {
    display: none; width: 100%; min-height: 44px; margin: 8px 0 0; padding: 10px;
    font: inherit; font-weight: 500; color: #0D0808;
    background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; cursor: pointer;
}
.nzbf-more:hover { background: #fcfbfb; border-color: #d1d5db; }

/* ---- post card ---- */
.nzbf-post {
    border: 1px solid #eef0f2; border-radius: 16px; background: #fff;
    padding: 16px; margin: 0 0 14px;
}
.nzbf-post.nzbf-flash { animation: nzbf-flash 2s ease; }
@keyframes nzbf-flash { 0%, 60% { box-shadow: 0 0 0 2px #ff3366 inset; } 100% { box-shadow: none; } }
.nzbf-post-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.nzbf-post-time { font-size: 13px; color: #6b7280; }
.nzbf-pinned, .nzbf-edited {
    font-size: 11px; color: #6b7280; padding: 2px 7px; border: 1px solid #e5e7eb; border-radius: 999px;
}
.nzbf-pinned { color: #ff3366; border-color: #ffd6e0; }

/* owner Pin/Delete menu (three-dot, own posts) */
.nzbf-menu { position: relative; margin-left: 2px; }
.nzbf-menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: none; color: #6b7280; cursor: pointer; }
.nzbf-menu-btn:hover { background: #f3f4f6; color: #0D0808; }
.nzbf-menu-btn .nzbf-ic { width: 18px; height: 18px; }
.nzbf-menu-pop { position: absolute; top: 34px; right: 0; z-index: 20; min-width: 156px; padding: 6px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; box-shadow: 0 8px 24px rgba(13,8,8,.12); }
.nzbf-menu-item { display: block; width: 100%; text-align: left; padding: 9px 12px; font: inherit; font-size: 14px; color: #0D0808; background: none; border: 0; border-radius: 8px; cursor: pointer; }
.nzbf-menu-item:hover { background: #f3f4f6; }
.nzbf-menu-item--danger { color: #dc2626; }
.nzbf-menu-item--danger:hover { background: #fef2f2; }
.nzbf-post-body { font-size: 15px; line-height: 1.5; color: #0D0808; white-space: normal; word-wrap: break-word; }
.nzbf-link { color: #ff3366; text-decoration: none; }
.nzbf-link:hover { text-decoration: underline; }

/* author header (member feed) */
.nzbf-author { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: #0D0808; margin-right: auto; }
.nzbf-author-av { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.nzbf-author-meta { display: flex; flex-direction: column; line-height: 1.2; }
.nzbf-author-name { font-weight: 500; font-size: 14px; }
.nzbf-author-city { font-size: 12px; color: #6b7280; }

/* media grid */
.nzbf-media { display: grid; gap: 4px; margin: 10px 0 0; border-radius: 16px; overflow: hidden; }
/* minmax(0, 1fr), NOT bare 1fr: an fr track's implicit minimum is the cell's min-content — the
   image's intrinsic width — so multi-image grids blew out past the card and overflow:hidden
   clipped every image after the first ("only one shows", owner bug 2026-07-29). */
.nzbf-media--1 { grid-template-columns: minmax(0, 1fr); }
.nzbf-media--2, .nzbf-media--4 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.nzbf-media--3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.nzbf-media--3 .nzbf-media-cell:first-child { grid-row: span 2; }
.nzbf-media-cell { position: relative; background: #f3f4f6; aspect-ratio: 1 / 1; min-width: 0; }
/* single image = show the WHOLE image at its natural aspect, no grey letterbox behind it (Threads-style) */
.nzbf-media--1 .nzbf-media-cell { aspect-ratio: auto; max-height: none; background: transparent; }
.nzbf-media-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nzbf-media--1 .nzbf-media-img { height: auto; max-height: 80vh; object-fit: contain; }
.nzbf-media-cell:not(.nzbf-media-cell--video) .nzbf-media-img { cursor: zoom-in; }
.nzbf-media-play {
    position: absolute; inset: 0; margin: auto; width: 48px; height: 48px; display: flex;
    align-items: center; justify-content: center; color: #fff; font-size: 18px;
    background: rgba(0,0,0,.45); border-radius: 50%;
}
.nzbf-media-proc { position: absolute; top: 8px; right: 8px; color: #fff; background: rgba(0,0,0,.5); border-radius: 999px; padding: 2px 8px; font-size: 12px; }
.nzbf-media-cell--video.is-ready { cursor: pointer; }

/* poll */
.nzbf-poll { margin: 10px 0 0; display: flex; flex-direction: column; gap: 8px; }
.nzbf-poll-opt {
    position: relative; display: flex; align-items: center; gap: 8px; width: 100%;
    min-height: 42px; padding: 8px 14px; font: inherit; text-align: left;
    background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; cursor: pointer; overflow: hidden;
}
.nzbf-poll-opt[disabled] { cursor: default; }
.nzbf-poll-opt.is-mine { border-color: #ff3366; }
.nzbf-poll-bar { position: absolute; left: 0; top: 0; bottom: 0; background: #fdeef2; transition: width .5s ease; z-index: 0; }
.nzbf-poll-opt.is-mine .nzbf-poll-bar { background: #ffe0e8; }
.nzbf-poll-label, .nzbf-poll-pct { position: relative; z-index: 1; }
/* explicit dark colour: the option is a <button> whose text colour is otherwise inherited from the
   profile card's cascade (theme renders it white), which made labels invisible on the light poll bar. */
.nzbf-poll-label { flex: 1 1 auto; color: #0D0808; }
.nzbf-poll-pct { font-weight: 500; color: #6b7280; }
.nzbf-poll-foot { font-size: 13px; color: #6b7280; }
/* image poll — 2-col grid of image choices */
.nzbf-poll--img { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nzbf-poll-opt--img { flex-direction: column; align-items: stretch; min-height: 0; padding: 0; gap: 0; }
.nzbf-poll-opt-img { position: relative; z-index: 1; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; background: #f3f4f6; }
.nzbf-poll-opt--img .nzbf-poll-label { padding: 8px 12px 2px; }
.nzbf-poll-opt--img .nzbf-poll-pct { padding: 0 12px 8px; font-size: 13px; }
.nzbf-poll-opt--img .nzbf-poll-bar { top: auto; bottom: 0; height: 44px; }   /* fill only the label strip */

/* footer */
.nzbf-post-foot { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.nzbf-like {
    display: inline-flex; align-items: center; gap: 6px; padding: 4px; font: inherit; font-size: 14px;
    color: #6b7280; background: none; border: 0; cursor: pointer;
}
.nzbf-like .nzbf-ic { width: 20px; height: 20px; }
.nzbf-like.is-liked { color: #ff3366; }
.nzbf-like.is-liked .nzbf-ic { fill: #ff3366; stroke: #ff3366; }
.nzbf-views { font-size: 13px; color: #9ca3af; }
.nzbf-report { display: inline-flex; align-items: center; padding: 4px; background: none; border: 0; cursor: pointer; color: #9ca3af; margin-left: auto; }
.nzbf-report:hover { color: #dc2626; }

/* report modal */
.nzbf-modal-back { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.5); padding: 20px; }
.nzbf-modal { width: 100%; max-width: 360px; background: #fff; border-radius: 18px; padding: 20px; }
.nzbf-modal-title { margin: 0 0 14px; font-size: 17px; font-weight: 500; color: #0D0808; }
.nzbf-report-reasons { display: flex; flex-direction: column; gap: 8px; }
.nzbf-report-reason { width: 100%; min-height: 46px; padding: 10px 14px; text-align: left; font: inherit; font-size: 15px; color: #111827; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; cursor: pointer; }
.nzbf-report-reason:hover { border-color: #ff3366; background: #fef2f4; }
.nzbf-modal-cancel { width: 100%; min-height: 44px; margin-top: 12px; font: inherit; color: #6b7280; background: none; border: 0; cursor: pointer; }
.nzbf-toast { position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%); z-index: 10001; background: #0D0808; color: #fff; padding: 10px 20px; border-radius: 999px; font-size: 14px; box-shadow: 0 6px 20px rgba(0,0,0,.25); }

/* guest teaser */
.nzbf-gate { text-align: center; padding: 28px 16px; border: 1px dashed #e5e7eb; border-radius: 16px; background: #fff; }
.nzbf-gate-lock { width: 44px; height: 44px; margin: 0 auto 10px; color: #ff3366; }
.nzbf-gate-lock svg { width: 100%; height: 100%; }
.nzbf-gate-title { margin: 0 0 6px; font-size: 18px; font-weight: 500; color: #0D0808; }
.nzbf-gate-body { margin: 0 0 16px; color: #6b7280; font-size: 14px; }
.nzbf-gate-cta {
    display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 28px;
    font-weight: 500; color: #fff; background: #ff3366; border-radius: 999px; text-decoration: none;
}
.nzbf-gate-cta:hover { background: #e61e4d; }
.nzbf-gate-signin { display: block; margin-top: 12px; font-size: 14px; color: #6b7280; text-decoration: none; }
.nzbf-gate-signin:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .nzbf-feed { padding: 16px; border-radius: 16px; background: #fff; }
    .nzbf-profile-btn--desktop { display: none; }   /* .parameters is hidden < 769px anyway */
}

/* ================= empty blog (logged-in, zero posts) ================= */
.nzbf-empty2 { text-align: center; padding: 28px 16px; color: #6b7280; }
.nzbf-empty2-title { margin: 0 0 14px; font-size: 15px; }
.nzbf-empty2-cta { display: inline-flex; }

/* ================= auto activity event card ================= */
.nzbf-activity { margin: 2px 0 4px; }
.nzbf-activity-head { display: flex; align-items: center; gap: 8px; color: #374151; }
.nzbf-activity-ic { flex: 0 0 auto; width: 20px; height: 20px; color: #6b7280; }
.nzbf-activity-ic svg { width: 20px; height: 20px; }
.nzbf-activity-summary { font-size: 15px; font-weight: 500; color: #0D0808; }
.nzbf-activity-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
.nzbf-activity-thumb { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; border: 1px solid #eef0f2; background: #f3f4f6; }
.nzbf-activity-link { display: block; text-decoration: none; }

/* ================= member Feed page (/user/feed) ================= */
.nzbf-feedpage { max-width: 720px; margin: 0 auto; font-family: inherit; }   /* dashboard font (Inter) */
.nzbf-tabs { display: flex; gap: 6px; margin: 0 0 18px; border-bottom: 1px solid #eef0f2; }
.nzbf-tab {
    appearance: none; background: none; border: none; cursor: pointer;
    padding: 10px 4px; margin-right: 18px; font: inherit; font-size: 15px; font-weight: 500;
    color: #6b7280; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.nzbf-tab:hover { color: #0D0808; }
.nzbf-tab.is-active { color: #0D0808; border-bottom-color: #ff3366; }
.nzbf-tabpanel[hidden] { display: none; }
.nzbf-member-list { max-width: none; }   /* already inside the 720px page wrapper */

/* profile rows (Following list + suggestions) */
.nzbf-following { display: flex; flex-direction: column; }
.nzbf-suggest { display: flex; flex-direction: column; }
.nzbf-prow { display: flex; align-items: center; gap: 12px; padding: 12px 2px; border-bottom: 1px solid #f1f2f4; }
.nzbf-prow:last-child { border-bottom: none; }
.nzbf-prow-main { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #0D0808; flex: 1 1 auto; min-width: 0; }
.nzbf-prow-thumb { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; background: #f3f4f6; }
.nzbf-prow-thumb--blank { display: inline-block; }
.nzbf-prow-meta { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.nzbf-prow-name { font-weight: 500; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nzbf-prow-city { font-size: 13px; color: #6b7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nzbf-prow .nzbf-follow-btn { flex: 0 0 auto; }

/* empty feed + suggestions */
.nzbf-feed-empty { text-align: center; padding: 28px 16px; }
.nzbf-feed-empty__title { margin: 0 0 6px; font-size: 18px; font-weight: 500; color: #0D0808; }
.nzbf-feed-empty__text { margin: 0 0 18px; color: #6b7280; font-size: 14px; }
.nzbf-suggest-wrap { text-align: left; margin: 0 0 20px; }
.nzbf-suggest-title { margin: 0 0 4px; font-size: 14px; font-weight: 500; color: #6b7280; }
.nzbf-feed-empty__actions { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.nzbf-feed-empty__edit { font-size: 14px; color: #6b7280; text-decoration: none; }
.nzbf-feed-empty__edit:hover { color: #ff3366; text-decoration: underline; }
.nzbf-empty-note { color: #6b7280; font-size: 14px; padding: 20px 2px; text-align: center; }
.nzbf-empty-note .nzbf-retry { min-height: 36px; padding: 6px 16px; margin-left: 8px; font-size: 14px; }

.nzbf-btn {
    display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 22px;
    font: inherit; font-weight: 500; border-radius: 999px; text-decoration: none; cursor: pointer;
    border: 1px solid transparent;
}
.nzbf-btn--brand { color: #fff; background: #ff3366; border-color: #ff3366; }
.nzbf-btn--brand:hover { background: #e61e4d; border-color: #e61e4d; }
.nzbf-btn--ghost { color: #0D0808; background: #fff; border-color: #d1d5db; }
.nzbf-btn--ghost:hover { border-color: #ff3366; color: #ff3366; }

.nzbf-skel--row { display: flex; align-items: center; gap: 12px; }
.nzbf-skel--row span { height: 48px; }
.nzbf-skel--row span:nth-child(1) { width: 48px; border-radius: 50%; }
.nzbf-skel--row span:nth-child(2) { width: 60%; height: 16px; }

@media (max-width: 768px) {
    .nzbf-feedpage { padding: 0 2px; }
}

/* ================= member welcome / onboarding gate (/user/welcome) ================= */
.nzbf-welcome { position: relative; max-width: 560px; margin: 0 auto; padding: 8px 0 40px; font-family: inherit; }
.nzbf-welcome-skip { position: absolute; top: 0; right: 2px; font-size: 14px; color: #6b7280; text-decoration: none; }
.nzbf-welcome-skip:hover { color: #0D0808; text-decoration: underline; }
.nzbf-welcome-step[hidden] { display: none; }
.nzbf-welcome-title { margin: 24px 0 8px; font-size: 24px; font-weight: 500; color: #0D0808; line-height: 1.25; }
.nzbf-welcome-sub { margin: 0 0 20px; color: #6b7280; font-size: 15px; }
.nzbf-welcome-points { list-style: none; margin: 12px 0 28px; padding: 0; }
.nzbf-welcome-points li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; color: #0D0808; font-size: 15px; line-height: 1.4; }
.nzbf-welcome-ic { flex: 0 0 auto; width: 24px; height: 24px; color: #ff3366; }
.nzbf-welcome-ic svg { width: 24px; height: 24px; }
.nzbf-city-grid { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; min-height: 44px; }
.nzbf-chip {
    appearance: none; cursor: pointer; font: inherit; font-size: 15px;
    width: auto; padding: 10px 18px; min-height: 44px; border-radius: 999px;
    color: #0D0808; background: #fff; border: 1px solid #d1d5db;
}
.nzbf-chip:hover { border-color: #9ca3af; }
.nzbf-chip.is-selected { color: #fff; background: #ff3366; border-color: #ff3366; }
.nzbf-welcome-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
/* the theme's dashboard `button { width: 100% }` must not stretch the step CTAs into bars */
.nzbf-welcome .nzbf-btn { width: auto; }
.nzbf-welcome-err { margin: 0; color: #b91c1c; font-size: 14px; }
.nzbf-skel--chip { display: inline-block; }
.nzbf-skel--chip span { display: inline-block; width: 96px; height: 44px; border-radius: 999px; margin: 0; }

/* ================= locked state (logged-out viewers): skeleton feed + lock card =================
   Threads anatomy (40px avatar rail, 12px gap, 2px #ECEDEF thread line that stops at the last
   skeleton), fixed blurred text bars, static pre-blurred gradient tiles (shipped assets, no CSS
   blur), an eased multi-stop fade to page white, and the centred lock card. Crimson #D63A5A in
   exactly two places: the freshness chip and the lock icon. Fixed min-height => zero CLS. */
.nzbf-locked { position: relative; min-height: 900px; max-width: 680px; }
.nzbf-locked-skel { position: relative; }   /* anchors the white fade over its own lower half */
.nzbf-lk-post { display: flex; gap: 12px; position: relative; padding: 6px 0 26px; }
.nzbf-lk-rail { flex: 0 0 40px; position: relative; }
.nzbf-lk-av {
    width: 36px; height: 36px; border-radius: 50%; object-fit: cover; display: block;
}
.nzbf-lk-av--init {
    display: flex; align-items: center; justify-content: center;
    background: #FBEAEE; color: #D63A5A; font-size: 12px; font-weight: 500;
}
/* thread line: below each avatar down to the next post — NOT past the last skeleton */
.nzbf-lk-post:not(.nzbf-lk-last) .nzbf-lk-rail::after {
    content: ""; position: absolute; left: 17px; top: 44px; bottom: -6px; width: 2px; background: #ECEDEF;
}
.nzbf-lk-col { flex: 1 1 auto; min-width: 0; }
.nzbf-lk-name {
    display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
    font-size: 14px; font-weight: 500; color: #0D0808; padding-top: 8px;
}
.nzbf-lk-time { font-size: 13px; font-weight: 400; color: #9ca3af; }
/* word-segment lines: blurred WORD SHAPES (reads as hidden text, not a loader bar) */
.nzbf-lk-words { display: flex; gap: 6px; margin: 12px 0 0; }
.nzbf-lk-word { display: inline-block; height: 10px; border-radius: 5px; background: #E2E4E8; filter: blur(4px); }
.nzbf-lk-tiles { display: flex; gap: 6px; margin: 14px 0 0; }
.nzbf-lk-tile {
    flex: 1 1 0; height: 108px; border-radius: 12px; overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
    position: relative;
}
/* composition variants: post 1 = one wide full-column tile, post 2 = two square-ish tiles —
   heights capped so the skeleton stays feed-scaled, not hero-scaled */
.nzbf-lk-tile--wide { height: 210px; width: 100%; }
.nzbf-lk-tile--sq   { height: 150px; }
/* frosted veil over the pre-blurred photo tiles (locked look) */
.nzbf-lk-tile::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.16));
}
.nzbf-lk-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nzbf-lk-actions { display: flex; gap: 14px; margin-top: 14px; }
.nzbf-lk-act { color: #8E9198; opacity: .45; }              /* real feed chrome at low opacity */
.nzbf-lk-act svg { width: 15px; height: 15px; display: block; }
/* post 3 dissolves AS ONE UNIT (avatar + name + lines) — a visible ghost that fades to nothing,
   never a half-legible row under the card */
.nzbf-lk-last {
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.45) 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.45) 60%, transparent 100%);
    padding-bottom: 0;
}
/* page-white wash over the skeleton's lower half (behind, never over, the card) */
.nzbf-locked-fade {
    position: absolute; left: 0; right: 0; bottom: 0; height: 34%; pointer-events: none;
    background: linear-gradient(180deg,
        rgba(255,255,255,0) 0%, rgba(255,255,255,.25) 22%, rgba(255,255,255,.62) 45%,
        rgba(255,255,255,.92) 68%, #fff 82%);
}
/* lock card: in normal flow BELOW post 3 with 28px clearance — sits on effectively white */
.nzbf-locked-card {
    position: relative; margin: 28px auto 0;
    width: min(380px, 94%); text-align: center;
}
.nzbf-fresh-chip {
    display: inline-flex; align-items: center; gap: 7px; margin: 0 0 14px;
    background: #FBEAEE; color: #D63A5A; font-size: 12px; font-weight: 500;
    border-radius: 999px; padding: 6px 12px;
}
.nzbf-fresh-dot { width: 6px; height: 6px; border-radius: 50%; background: #D63A5A; animation: nzbf-pulse 2.4s ease infinite; }
@keyframes nzbf-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.nzbf-locked-title {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin: 0 0 6px; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; color: #0D0808;
}
.nzbf-locked-sub { margin: 0 0 16px; font-size: 13.5px; color: #5C5F66; }
.nzbf-locked-cta {
    display: inline-flex; align-items: center; justify-content: center;
    height: 46px; padding: 0 28px; border-radius: 999px;
    background: #111; color: #fff; font-size: 14px; font-weight: 500; text-decoration: none;
    transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.nzbf-locked-cta:hover { background: #000; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16); }
.nzbf-locked-cta:focus-visible { outline: 2px solid #D63A5A; outline-offset: 2px; }
.nzbf-locked-alt { margin: 12px 0 0; font-size: 12.5px; color: #5C5F66; }
.nzbf-locked-alt a { color: #5C5F66; text-decoration: underline; }
@media (prefers-reduced-motion: reduce) {
    .nzbf-fresh-dot { animation: none; }
    .nzbf-locked-cta:hover { transform: none; }
}
@media (max-width: 480px) {
    .nzbf-lk-tile--wide { height: 150px; }
    .nzbf-lk-tile--sq { height: 100px; }
    .nzbf-locked { min-height: 780px; }
}

/* ======================================================================================
   EMPTY-FEED DISCOVER VIEW (/user/feed, member with no follows) — mobile spec 2026-07-29.
   Scoped entirely under .nzbf-efpage (the page wrapper class set in feed_user.php);
   no global styles. One family (Söhne stack), weights 400/500 only, no shadows/gradients.
   ====================================================================================== */
.nzbf-efpage {
    --nzbf-canvas: #F6F5F7; --nzbf-card: #FFFFFF;
    --nzbf-line: #E9E8EC; --nzbf-line-in: #F1F0F3;
    --nzbf-ink: #17171B; --nzbf-ink2: #75747E; --nzbf-ink3: #8A8992;
    --nzbf-rose: #E8637A; --nzbf-rosetx: #D14D66;
    --nzbf-r-card: 16px; --nzbf-r-pill: 999px;
}
.nzbf-efpage.esc-dashboard-bg { background: var(--nzbf-canvas); }
/* Family must be declared ON the elements, not just inherited: the theme's global element rules
   (h3/p/button { font-family: Circular... }) beat inheritance no matter the container's specificity. */
.nzbf-efpage .nzbf-feedpage,
.nzbf-efpage .nzbf-tab,
.nzbf-efpage .nzbf-feed-empty,
.nzbf-efpage .nzbf-feed-empty h3,
.nzbf-efpage .nzbf-feed-empty p,
.nzbf-efpage .nzbf-feed-empty a,
.nzbf-efpage .nzbf-feed-empty span,
.nzbf-efpage .nzbf-feed-empty time,
.nzbf-efpage .nzbf-feed-empty button { font-family: "Söhne", -apple-system, BlinkMacSystemFont, sans-serif; }
/* tabs: active ink + 2px rose underline the width of the LABEL (padding-x 0), 9px below text.
   Top padding stands in for the removed page header (back arrow led to the dead member dashboard). */
.nzbf-efpage .nzbf-tabs { gap: 22px; padding: 14px 22px 0; margin: 0; border-bottom: 1px solid var(--nzbf-line); }
.nzbf-efpage .nzbf-tab {
    margin: 0; padding: 10px 0 9px; font-size: 14.5px; font-weight: 500;
    color: var(--nzbf-ink3); border: 0; position: relative;
    width: auto; flex: 0 0 auto;   /* theme button{width:100%} would split the row 50/50 and stretch the underline */
}
.nzbf-efpage .nzbf-tab.is-active { color: var(--nzbf-ink); }
.nzbf-efpage .nzbf-tab.is-active::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
    background: var(--nzbf-rose); border-radius: 1px;
}
.nzbf-efpage .nzbf-feedpage { padding: 0; }
/* the empty view itself (overrides the legacy centered block) */
.nzbf-efpage .nzbf-feed-empty { text-align: left; padding: 0; }
.nzbf-ef-intro { padding: 26px 22px 4px; }
.nzbf-ef-h {
    margin: 0 0 8px; font-size: 22px; font-weight: 500; line-height: 1.3;
    letter-spacing: -0.01em; color: var(--nzbf-ink);
}
.nzbf-ef-sub { margin: 0; font-size: 13px; font-weight: 400; line-height: 1.55; color: var(--nzbf-ink2); }
/* section header rows */
.nzbf-ef-shead {
    display: flex; align-items: baseline; justify-content: space-between;
    padding: 24px 22px 10px;
}
.nzbf-ef-slabel {
    font-size: 12px; font-weight: 500; letter-spacing: 0.04em; color: var(--nzbf-ink3);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.nzbf-ef-slink {
    font-size: 12px; font-weight: 500; color: var(--nzbf-rosetx); text-decoration: none;
    flex: 0 0 auto; margin-left: 12px; position: relative; padding: 8px 0;   /* >=44 effective with ::after */
}
.nzbf-ef-slink::after { content: ''; position: absolute; inset: -12px -8px; }
/* suggestions card */
.nzbf-ef-card {
    background: var(--nzbf-card); border: 0.5px solid var(--nzbf-line);
    border-radius: var(--nzbf-r-card); margin: 0 14px; overflow: hidden;
}
.nzbf-ef-row {
    display: flex; align-items: center; gap: 12px; padding: 13px 14px; min-height: 48px;
    border-bottom: 0.5px solid var(--nzbf-line-in);
}
.nzbf-ef-row:last-child { border-bottom: 0; }
.nzbf-ef-main { display: flex; align-items: center; gap: 12px; flex: 1 1 auto; min-width: 0; text-decoration: none; }
.nzbf-ef-avwrap { position: relative; flex: 0 0 auto; width: 46px; height: 46px; }
.nzbf-ef-av {
    display: block; width: 46px; height: 46px; border-radius: 50%; object-fit: cover;
    box-shadow: 0 0 0 0.5px var(--nzbf-line);   /* ring so dark photos keep an edge */
    background: #ECEBEF;
}
.nzbf-ef-av--blank {
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 500; color: #D14D66; background: #FBEAEE;
}
.nzbf-ef-dot {
    position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px;
    border-radius: 50%; background: var(--nzbf-rose);
    border: 2.5px solid var(--nzbf-card);   /* the surface BEHIND the dot — never hardcoded white */
}
.nzbf-ef-meta { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.nzbf-ef-name {
    font-size: 14px; font-weight: 500; color: var(--nzbf-ink);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nzbf-ef-line2 {
    font-size: 12px; font-weight: 400; color: var(--nzbf-ink3);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* follow pills (suggestions + grid) */
.nzbf-ef-pill {
    appearance: none; border: 1px solid var(--nzbf-ink); cursor: pointer;
    flex: 0 0 auto; width: auto; padding: 7px 16px; border-radius: var(--nzbf-r-pill);
    font: inherit; font-size: 12.5px; font-weight: 500; line-height: 1.2;
    color: #fff; background: var(--nzbf-ink); text-align: center;
    position: relative; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.nzbf-ef-pill::after { content: ''; position: absolute; inset: -7px 0; }   /* >=44px effective tap */
.nzbf-ef-pill.is-following { background: transparent; border-color: #DEDDE2; color: var(--nzbf-ink2); }
/* recommended post cards */
.nzbf-ef-posts { margin: 0 14px; display: flex; flex-direction: column; gap: 12px; }
.nzbf-efpage .nzbf-ef-posts .nzbf-post {
    background: var(--nzbf-card); border: 0.5px solid var(--nzbf-line);
    border-radius: var(--nzbf-r-card); padding: 14px; margin: 0;
}
.nzbf-efpage .nzbf-ef-posts .nzbf-post-body { font-size: 14.5px; font-weight: 400; line-height: 1.55; }
.nzbf-efpage .nzbf-ef-posts .nzbf-media-img { background: #ECEBEF; }
.nzbf-ph-disc { display: flex; align-items: flex-start; gap: 10px; }
.nzbf-ph-disc .nzbf-author { flex: 1 1 auto; min-width: 0; display: flex; gap: 10px; align-items: center; text-decoration: none; }
/* the WHOLE min-width:0 chain matters: without it the nowrap name/bio spans refuse to shrink and
   stretch the page sideways (533-660px cards at 320 viewport — measured before this fix) */
.nzbf-ph-disc .nzbf-author-meta { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.nzbf-av-42 { width: 42px !important; height: 42px !important; }
.nzbf-dh-nrow { display: flex; align-items: baseline; gap: 5px; min-width: 0; max-width: 100%; }
.nzbf-ph-disc .nzbf-author-name {
    font-size: 14px; font-weight: 500; color: var(--nzbf-ink);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nzbf-dh-time { font-size: 12px; font-weight: 400; color: var(--nzbf-ink3); flex: 0 0 auto; }
.nzbf-dh-bio {
    display: block; font-size: 12px; font-weight: 400; color: var(--nzbf-ink3);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px;
}
.nzbf-dfollow {
    appearance: none; background: none; border: 0; cursor: pointer; flex: 0 0 auto; width: auto;
    font: inherit; font-size: 13px; font-weight: 500; color: var(--nzbf-rosetx);
    padding: 12px 0 12px 8px; margin: -8px 0; position: relative; text-align: right;
}
.nzbf-dfollow::after { content: ''; position: absolute; inset: -6px -8px; }   /* >=44px hit */
.nzbf-dfollow.is-on { color: var(--nzbf-ink3); }
/* "New in {city}" two-up grid */
.nzbf-ef-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 14px; }
.nzbf-ef-pcard {
    background: var(--nzbf-card); border: 0.5px solid var(--nzbf-line);
    border-radius: var(--nzbf-r-card); overflow: hidden; display: flex; flex-direction: column;
}
.nzbf-ef-plink { display: block; text-decoration: none; min-width: 0; }
.nzbf-ef-photo { display: block; width: 100%; height: 128px; object-fit: cover; background: #ECEBEF; }
span.nzbf-ef-photo { display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 500; color: #D14D66; background: #FBEAEE; }
.nzbf-ef-pname {
    display: flex; align-items: center; gap: 5px; padding: 9px 12px 0;
    font-size: 12.5px; font-weight: 500; color: var(--nzbf-ink);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nzbf-ef-pdot { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--nzbf-rose); }
.nzbf-ef-ploc {
    display: block; padding: 1px 12px 0; font-size: 11px; font-weight: 400; color: var(--nzbf-ink3);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nzbf-ef-pcard .nzbf-ef-pill--wide { margin: 10px 12px 12px; width: auto; display: block; }
/* bottom action */
.nzbf-ef-bottom { display: flex; justify-content: center; padding: 20px 22px 26px; }
.nzbf-ef-browse {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 24px; border: 1px solid #DEDDE2; border-radius: var(--nzbf-r-pill);
    background: var(--nzbf-card); color: var(--nzbf-ink);
    font-size: 13.5px; font-weight: 500; text-decoration: none; min-height: 44px;
}
/* skeletons: grey blocks matching final geometry, no spinners */
.nzbf-ef-skel .nzbf-ef-av { background: #ECEBEF; box-shadow: none; }
.nzbf-ef-skel-b { background: #ECEBEF; border-radius: 6px; }
.nzbf-ef-skel-line { display: block; height: 12px; width: 130px; }
.nzbf-ef-skel-line--s { height: 10px; width: 90px; }
.nzbf-ef-skel--post { height: 180px; border: 0.5px solid var(--nzbf-line); background: var(--nzbf-card); margin-top: 24px; }
@media (prefers-reduced-motion: no-preference) {
    .nzbf-ef-skel-b, .nzbf-ef-skel--post { animation: nzbfEfPulse 1.4s ease-in-out infinite; }
    @keyframes nzbfEfPulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
}
