:root {
    /* NABIZ Brand v1 — institutional pulse */
    --nb-brand: #BE123C;
    --nb-brand-soft: #FFF1F2;
    --nb-brand-muted: rgba(190, 18, 60, 0.12);
    --nb-brand-glow: rgba(190, 18, 60, 0.20);
    --nb-accent: var(--nb-brand);
    --nb-accent-soft: var(--nb-brand-soft);
    --nb-accent-glow: var(--nb-brand-glow);

    --nb-trust: #1D4ED8;
    --nb-trust-hover: #1E40AF;
    --nb-trust-soft: #EFF6FF;
    --nb-trust-ring: rgba(29, 78, 216, 0.14);

    --nb-bg: #F7F8FA;
    --nb-surface: #FFFFFF;
    --nb-border: #E4E7EC;
    --nb-border-strong: #CDD5DF;
    --nb-text: #0F1419;
    --nb-text-secondary: #475467;
    --nb-text-muted: #667085;

    /* Legacy aliases (scoped to NABIZ) */
    --tw-blue: var(--nb-trust);
    --tw-blue-soft: var(--nb-trust-soft);
    --hs-brand: var(--nb-brand);
    --hs-brand-soft: var(--nb-brand-soft);
    --hs-bg: var(--nb-bg);
    --hs-surface: var(--nb-surface);
    --hs-border: var(--nb-border);
    --hs-border-strong: var(--nb-border-strong);
    --hs-text: var(--nb-text);
    --hs-text-soft: var(--nb-text-secondary);
    --hs-text-muted: var(--nb-text-muted);
    --hs-primary: var(--nb-trust);

    --nb-shadow-xs: 0 1px 2px rgba(15, 20, 25, 0.03);
    --nb-shadow-sm: 0 1px 3px rgba(15, 20, 25, 0.04), 0 1px 2px rgba(15, 20, 25, 0.03);
    --nb-shadow-md: 0 4px 12px rgba(15, 20, 25, 0.06);
    --nb-radius-card: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body.nb-app {
    font-family: "IBM Plex Sans", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--hs-bg);
    color: var(--hs-text);
    -webkit-font-smoothing: antialiased;
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
}

.nb-icon {
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
    display: block;
}
.nb-icon--sm { width: 1rem; height: 1rem; }
.nb-icon--nav { width: 1.375rem; height: 1.375rem; }
.nb-icon--empty { width: 1.625rem; height: 1.625rem; }
.nb-icon--pulse { color: var(--nb-brand); stroke-width: 2; }
.nb-icon--verified { width: 0.875rem; height: 0.875rem; stroke-width: 2; }

.is-hidden { display: none !important; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Platform header */
.nb-header--platform .nb-header__row {
    height: 52px;
    justify-content: space-between;
}
.nb-header__avatar-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    border-radius: 50%;
}
.nb-header__avatar-btn--ghost { visibility: hidden; pointer-events: none; }
.nb-header__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--nb-brand), #E11D48);
}
.nb-header__logo {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
    font-weight: 700;
    letter-spacing: 0.06em;
    font-size: 1.0625rem;
}
.nb-header__logo-text--brand { font-family: inherit; }
.nb-header__pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--nb-accent);
    box-shadow: 0 0 0 4px var(--nb-accent-glow);
    animation: nb-pulse-dot 2s ease-in-out infinite;
}
@keyframes nb-pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.85; }
}
.nb-header__hs-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 28px;
    padding: 0 0.45rem;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-decoration: none;
    color: var(--hs-primary);
    background: #eff6ff;
    border: 1px solid #dbeafe;
}
.nb-header__hs-chip--ghost { visibility: hidden; }

.nb-header__actions {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.nb-header__icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-size: 1rem;
    cursor: pointer;
    font-family: inherit;
}
.nb-header__icon-btn:hover { background: rgba(15, 20, 25, 0.06); }
.nb-header__badge-count {
    position: absolute;
    top: 2px;
    right: 0;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.58rem;
    font-weight: 800;
    line-height: 16px;
    text-align: center;
}
.nb-header__badge-count[hidden] { display: none; }

.nb-verified {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    margin-left: 0.2rem;
    color: var(--nb-trust);
    vertical-align: middle;
    flex-shrink: 0;
}

.nb-feed-tabs {
    display: flex;
    border-top: 1px solid var(--hs-border);
}
.nb-feed-tabs__item {
    flex: 1;
    padding: 0.7rem 0.5rem;
    border: none;
    background: transparent;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--hs-text-muted);
    cursor: pointer;
    position: relative;
}
.nb-feed-tabs__item.is-active {
    color: var(--hs-text);
    font-weight: 800;
}
.nb-feed-tabs__item.is-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--nb-trust);
}

/* People rail */
.nb-people-rail {
    padding: 0.75rem 0 0.35rem;
    background: var(--hs-surface);
    border-bottom: 1px solid var(--hs-border);
}
.nb-people-rail__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.85rem 0.45rem;
}
.nb-people-rail__title {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 800;
}
.nb-people-rail__more {
    border: none;
    background: none;
    font: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--nb-accent);
    cursor: pointer;
}
.nb-people-rail__scroll {
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    padding: 0 0.85rem 0.65rem;
    scrollbar-width: none;
}
.nb-people-rail__scroll::-webkit-scrollbar { display: none; }

.nb-person-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    min-width: 4.5rem;
    max-width: 5rem;
    border: none;
    background: transparent;
    cursor: pointer;
    font: inherit;
    padding: 0;
}
.nb-person-chip--rail { min-width: 4rem; }
.nb-person-chip__avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: #fff;
    border: 2px solid var(--hs-surface);
    box-shadow: 0 0 0 2px var(--nb-accent-soft);
}
.nb-person-chip__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.nb-person-chip__name {
    font-size: 0.68rem;
    font-weight: 700;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nb-person-chip__meta {
    font-size: 0.6rem;
    color: var(--hs-text-muted);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Slim composer */
.nb-composer-wrap--slim { padding: 0.55rem 0.85rem; background: var(--hs-surface); border-bottom: 1px solid var(--hs-border); }
.nb-composer-trigger--slim {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}
.nb-composer-trigger__main {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border: 1px solid var(--hs-border);
    border-radius: 999px;
    padding: 0.45rem 0.85rem 0.45rem 0.45rem;
    background: var(--hs-bg);
    cursor: pointer;
    font: inherit;
    text-align: left;
}
.nb-composer-trigger__prompt {
    font-size: 0.88rem;
    color: var(--hs-text-muted);
    font-weight: 500;
}
.nb-composer__guest-pill {
    border: none;
    border-radius: 999px;
    padding: 0.45rem 0.75rem;
    font: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    background: var(--nb-accent);
    cursor: pointer;
    flex-shrink: 0;
}

/* Social vs bridge cards */
.nb-card__eyebrow {
    display: inline-flex;
    align-items: center;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--nb-brand);
    background: var(--nb-brand-soft);
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    margin-bottom: 0.55rem;
}
.nb-card--social { border-left: none; }
.nb-card--bridge {
    background: linear-gradient(180deg, var(--nb-trust-soft) 0%, var(--hs-surface) 72%);
    border-color: rgba(29, 78, 216, 0.14);
}
.nb-bridge-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--nb-trust);
    background: rgba(29, 78, 216, 0.08);
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    margin-bottom: 0.55rem;
}
.nb-bridge-badge__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--hs-primary);
}

/* Discover + polls views */
.nb-discover-view,
.nb-polls-view {
    padding-bottom: 1rem;
}
.nb-discover-search-wrap {
    padding: 0.75rem 0.85rem;
    background: var(--hs-surface);
    border-bottom: 1px solid var(--hs-border);
}
.nb-search--discover { margin: 0; }
.nb-discover-section {
    padding: 1rem 0.85rem 0.25rem;
}
.nb-discover-section__title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
}
.nb-discover-section__sub {
    margin: 0.2rem 0 0.65rem;
    font-size: 0.78rem;
    color: var(--hs-text-muted);
}
.nb-discover-people {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}
.nb-discover-people .nb-person-chip {
    flex-direction: row;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    max-width: none;
    padding: 0.55rem 0.65rem;
    border-radius: 14px;
    background: var(--hs-surface);
    border: 1px solid var(--hs-border);
    text-align: left;
}
.nb-discover-people .nb-person-chip__avatar { width: 2.5rem; height: 2.5rem; flex-shrink: 0; }
.nb-discover-loading,
.nb-discover-empty {
    font-size: 0.82rem;
    color: var(--hs-text-muted);
    padding: 0.5rem 0;
}
.nb-filters--discover { margin-bottom: 0.5rem; }
.nb-polls-view__lead {
    padding: 0.75rem 0.85rem 0.25rem;
    font-size: 0.78rem;
    color: var(--hs-text-muted);
    line-height: 1.45;
}

/* Platform bottom nav + FAB */
.nb-bottom-nav--platform {
    padding-bottom: calc(0.25rem + env(safe-area-inset-bottom));
    align-items: flex-end;
    gap: 0;
}
.nb-bottom-nav--platform .nb-bottom-nav__item {
    flex: 1;
    font-size: 0.6875rem;
    font-weight: 500;
    padding-bottom: 0.15rem;
}
.nb-bottom-nav__label { line-height: 1.1; }
.nb-bottom-nav__fab {
    width: 52px;
    height: 52px;
    margin: -18px 0.15rem 0;
    border: none;
    border-radius: 50%;
    background: var(--nb-brand);
    color: #fff;
    font-size: 1.65rem;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 20px var(--nb-brand-glow);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.nb-bottom-nav--platform .nb-bottom-nav__item.is-active {
    color: var(--nb-trust);
}
.nb-profile-open-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}


body.nb-app.is-compose-open,
body.nb-app.is-sheet-open,
body.nb-app.nb-profile-open { overflow: hidden; }

.nb-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--hs-border);
}

.nb-header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
    padding: 0 0.85rem;
    gap: 0.65rem;
}
.nb-header__row--centered {
    justify-content: center;
    height: 56px;
    position: relative;
}

.nb-header__profile-btn {
    position: absolute;
    right: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    border-radius: 50%;
    font-size: 1.05rem;
    cursor: pointer;
    color: var(--hs-text-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}
.nb-header__profile-btn:hover { background: rgba(15, 20, 25, 0.06); }
.nb-header__profile-btn[hidden] { display: none; }

.nb-header__menu,
.nb-header__bell,
.nb-header__back {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    border-radius: 50%;
    font-size: 1.15rem;
    cursor: pointer;
    color: var(--hs-text);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.nb-header__menu:hover,
.nb-header__bell:hover,
.nb-header__back:hover { background: rgba(15, 20, 25, 0.06); }

.nb-header__brand { text-align: center; line-height: 1.2; flex: 1; }
.nb-header__parent { font-size: 0.56rem; font-weight: 800; letter-spacing: 0.1em; color: var(--hs-primary); }
.nb-header__title { font-size: 0.98rem; font-weight: 800; letter-spacing: 0.06em; margin-top: 1px; }
.nb-header__sub { font-size: 0.98rem; font-weight: 800; letter-spacing: 0.06em; }
.nb-header__motto { font-size: 0.56rem; font-weight: 500; color: var(--hs-text-muted); margin-top: 2px; }
.nb-header__bell-wrap { position: relative; }
.nb-header__badge {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--tw-blue);
    border: 2px solid #fff;
}

.nb-tabs { display: flex; border-bottom: 1px solid var(--hs-border); }
.nb-tabs__scroll { flex: 1; display: flex; }
.nb-tab {
    flex: 1;
    position: relative;
    padding: 0.85rem 0.5rem;
    border: none;
    background: transparent;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--hs-text-soft);
    cursor: pointer;
    font-family: inherit;
}
.nb-tab.is-active { font-weight: 700; color: var(--hs-text); }
.nb-tab__line {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 4px;
    border-radius: 4px 4px 0 0;
    background: var(--tw-blue);
    opacity: 0;
}
.nb-tab.is-active .nb-tab__line { opacity: 1; }

.nb-composer-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 1rem 0;
    background: var(--hs-surface);
    border-bottom: 1px solid var(--hs-border);
}
.nb-composer-trigger {
    display: flex;
    gap: 0.75rem;
    flex: 1;
    padding: 0.35rem 0;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    min-width: 0;
}
.nb-composer-trigger:hover { opacity: 0.92; }
.nb-composer__avatar--guest {
    background: #e2e8f0;
    color: #64748b;
}
.nb-composer__guest-icon { font-size: 1.1rem; line-height: 1; }
.nb-composer__guest-label {
    flex-shrink: 0;
    border: none;
    background: transparent;
    color: #0f766e;
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
    padding: 0.45rem 0.5rem;
    font-family: inherit;
}
.nb-composer__guest-label:hover { text-decoration: underline; }
.nb-composer__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1D4ED8, #1DA1F2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
}
.nb-composer__avatar img { width: 100%; height: 100%; object-fit: cover; }
.nb-composer__meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.12rem;
}
.nb-composer__identity {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem;
    line-height: 1.2;
}
.nb-composer__display-name {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--hs-text);
}
.nb-composer__handle {
    font-size: 0.78rem;
    color: var(--hs-text-muted);
}
.nb-composer__placeholder { font-size: 0.95rem; color: var(--hs-text-muted); padding: 0; }
.nb-composer__note {
    padding: 0.4rem 1rem 0.6rem;
    font-size: 0.66rem;
    color: var(--hs-text-muted);
    background: var(--hs-surface);
}

.nb-feed {
    background: var(--hs-bg);
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem 1rem;
}
.nb-feed.is-hidden { display: none; }
.nb-composer-wrap.is-hidden { display: none; }

.nb-feed__status {
    padding: 1rem;
    text-align: center;
    font-size: 0.82rem;
    color: var(--hs-text-muted);
}
.nb-feed__status.is-hidden { display: none; }
.nb-feed__status--error { color: #dc2626; }
.nb-feed__retry {
    margin-top: 0.5rem;
    padding: 0.45rem 1rem;
    border: none;
    border-radius: 999px;
    background: var(--nb-trust);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

.nb-feed__sentinel { height: 1px; }

.nb-card,
.nb-hs-nabiz-card {
    background: var(--hs-surface);
    border: 1px solid var(--nb-border);
    border-radius: var(--nb-radius-card);
    padding: 0.95rem 1rem;
    box-shadow: var(--nb-shadow-sm);
    transition: background-color 0.4s ease, box-shadow 0.2s ease;
}
@media (hover: hover) {
    .nb-card:hover,
    .nb-hs-nabiz-card:hover {
        box-shadow: var(--nb-shadow-md);
    }
}
.nb-card.is-new-arrival { animation: newCardHighlight 5s ease-out forwards; }
@keyframes newCardHighlight {
    0% { background-color: var(--nb-trust-soft); box-shadow: 0 0 0 1px rgba(29, 78, 216, 0.2); }
    70% { background-color: #F8FAFF; }
    100% { background-color: #ffffff; box-shadow: var(--nb-shadow-sm); }
}

.nb-hs-nabiz-card {
    border-color: rgba(29, 78, 216, 0.14);
    background: linear-gradient(180deg, var(--nb-trust-soft) 0%, var(--hs-surface) 80%);
}
.nb-hs-nabiz-card__label {
    display: inline-flex;
    align-items: center;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--nb-trust);
    background: rgba(29, 78, 216, 0.08);
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    margin-bottom: 0.55rem;
}
.nb-hs-nabiz-card__lead {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--hs-text-soft);
    margin-bottom: 0.4rem;
}
.nb-hs-nabiz-card__list { list-style: none; margin-bottom: 0.55rem; }
.nb-hs-nabiz-card__list li {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--hs-text);
    padding: 0.22rem 0;
    line-height: 1.35;
}
.nb-hs-nabiz-card__list li::before { content: "• "; color: var(--hs-text-muted); font-weight: 400; }
.nb-hs-nabiz-card__stats {
    font-size: 0.68rem;
    color: var(--hs-text-muted);
    margin-bottom: 0.7rem;
    line-height: 1.4;
}
.nb-hs-nabiz-card__btn {
    display: inline-flex;
    padding: 0.52rem 1.15rem;
    border: 1.5px solid var(--hs-primary);
    border-radius: 999px;
    background: transparent;
    color: var(--hs-primary);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
}

.nb-post { display: flex; gap: 0.7rem; }
.nb-post__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    overflow: hidden;
}
.nb-post__avatar img { width: 100%; height: 100%; object-fit: cover; }
.nb-post__body { flex: 1; min-width: 0; }
.nb-post__name { font-size: 0.875rem; font-weight: 600; }
.nb-post__handle,
.nb-post__time { font-size: 0.78rem; color: var(--hs-text-muted); }
.nb-post__head {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 0.35rem;
    margin-bottom: 0.35rem;
    align-items: baseline;
}
.nb-post__text { font-size: 0.9375rem; line-height: 1.5; margin-bottom: 0.55rem; word-break: break-word; }
.nb-post__actions { display: flex; gap: 1.25rem; max-width: 320px; }
.nb-post__action {
    border: none;
    background: none;
    font-size: 0.75rem;
    color: var(--hs-text-muted);
    cursor: pointer;
    font-family: inherit;
    padding: 0.35rem 0.15rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
.nb-post__action-inner {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    line-height: 1;
}
.nb-post__action-label { font-variant-numeric: tabular-nums; }
.nb-post__action--nabizla {
    color: var(--nb-brand);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transform-origin: center;
}
.nb-post__action--nabizla.is-bouncing { animation: nabizlaBounce 0.42s cubic-bezier(0.34, 1.4, 0.64, 1); }
.nb-post__action--nabizla.is-nabizladim { color: #9F1239; }
.nb-post__action--like.is-liked { color: #DC2626; }
.nb-post__action--like.is-liked .nb-icon { fill: currentColor; stroke: currentColor; }
.nb-post__action--save.is-saved { color: var(--nb-trust); }
.nb-post__action--save.is-saved .nb-icon { fill: currentColor; }
.nb-post__action--report { margin-left: auto; opacity: 0.7; }
.nb-post__action--report:hover { opacity: 1; color: #B45309; }
.nb-nabiz-count {
    display: inline-block;
    min-width: 1.1em;
    text-align: center;
    font-variant-numeric: tabular-nums;
}
.nb-nabiz-count.is-ticking { animation: countTick 0.35s ease; }
@keyframes nabizlaBounce {
    0% { transform: scale(1); }
    35% { transform: scale(1.18); }
    65% { transform: scale(0.94); }
    100% { transform: scale(1); }
}
@keyframes countTick {
    0% { transform: translateY(0); opacity: 1; }
    40% { transform: translateY(-3px); opacity: 0.7; }
    100% { transform: translateY(0); opacity: 1; }
}

.nb-news__tag {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #64748b;
    margin-bottom: 0.4rem;
    display: block;
}
.nb-news__title { font-size: 0.95rem; font-weight: 700; line-height: 1.35; margin-bottom: 0.4rem; }
.nb-news__summary { font-size: 0.82rem; line-height: 1.45; color: var(--hs-text-soft); margin-bottom: 0.5rem; }
.nb-news__source { font-size: 0.72rem; color: var(--hs-text-muted); margin-bottom: 0.45rem; }
.nb-link-cta { font-size: 0.82rem; font-weight: 600; color: var(--nb-trust); text-decoration: none; }

.nb-poll__tag {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--hs-primary);
    margin-bottom: 0.45rem;
    display: block;
}
.nb-poll__question { font-size: 0.95rem; font-weight: 700; line-height: 1.35; margin-bottom: 0.65rem; }
.nb-poll__option {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.68rem 0.85rem;
    margin-bottom: 0.4rem;
    border: 1px solid var(--hs-border-strong);
    border-radius: 0.75rem;
    background: var(--hs-surface);
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    font-family: inherit;
    color: var(--hs-text);
}
.nb-poll__option.is-selected { border-color: var(--hs-primary); background: #eff6ff; }
.nb-poll__cta {
    display: inline-flex;
    margin-top: 0.25rem;
    padding: 0.55rem 1.2rem;
    border: none;
    border-radius: 999px;
    background: var(--hs-primary);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}
.nb-poll__cta:disabled { opacity: 0.45; cursor: default; }

.nb-poll__cta-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.nb-poll__hint {
    margin: 0.35rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--nb-muted, #64748b);
}
.nb-poll__voted-note { font-size: 0.72rem; color: var(--hs-text-muted); margin-top: 0.55rem; }
.nb-poll__error { font-size: 0.72rem; color: #dc2626; margin-top: 0.45rem; }

.nb-result__tag {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #059669;
    margin-bottom: 0.4rem;
    display: block;
}
.nb-result__bar-row { margin-bottom: 0.5rem; }
.nb-result__bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.76rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    gap: 0.5rem;
}
.nb-result__bar-label span:last-child { font-variant-numeric: tabular-nums; flex-shrink: 0; }
.nb-result__bar-track { height: 7px; border-radius: 4px; background: #eff3f4; overflow: hidden; }
.nb-result__bar-fill {
    height: 100%;
    border-radius: 4px;
    width: 0;
    transition: width 0.85s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.nb-result__total { font-size: 0.72rem; color: var(--hs-text-muted); margin: 0.55rem 0 0; }
.nb-result__cta {
    display: inline-flex;
    margin-top: 0.55rem;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    background: var(--hs-primary);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
}

.nb-empty {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 1.5rem 2rem;
    background: var(--hs-surface);
}
.nb-empty.is-visible { display: flex; }
.nb-empty__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--nb-trust-soft);
    color: var(--nb-trust);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.nb-empty__icon--brand {
    background: var(--nb-brand-soft);
    color: var(--nb-brand);
}
.nb-empty__title { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.5rem; }
.nb-empty__sub {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--hs-text-soft);
    max-width: 280px;
    margin-bottom: 1.25rem;
}

.nb-welcome {
    display: none;
    position: relative;
    margin: 0 0 0.75rem;
    padding: 1rem 1rem 1.1rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.08) 0%, rgba(220, 38, 38, 0.06) 100%);
    border: 1px solid var(--hs-border);
}
.nb-welcome.is-visible { display: block; }
.nb-welcome.is-visible ~ .nb-empty.is-visible { display: none; }
.nb-welcome__dismiss {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--hs-text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    font-family: inherit;
}
.nb-welcome__icon { margin-bottom: 0.35rem; width: auto; height: auto; border-radius: 0; background: transparent; }
.nb-welcome__title {
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 0.35rem;
    padding-right: 1.75rem;
}
.nb-welcome__sub {
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--hs-text-soft);
    margin: 0 0 0.85rem;
    max-width: 32rem;
}
.nb-welcome__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.55rem 1.25rem;
    border: none;
    border-radius: 999px;
    background: var(--hs-primary);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

.nb-empty__cta {
    padding: 0.65rem 1.5rem;
    border: none;
    border-radius: 999px;
    background: var(--tw-blue);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

.nb-compose-screen {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--hs-surface);
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
}
.nb-compose-screen.is-open { transform: translateY(0); }
.nb-compose-screen__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.85rem;
    border-bottom: 1px solid var(--hs-border);
}
.nb-compose-screen__title { font-size: 0.95rem; font-weight: 800; }
.nb-compose-screen__submit {
    padding: 0.45rem 1rem;
    border: none;
    border-radius: 999px;
    background: var(--tw-blue);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}
.nb-compose-screen__submit:disabled { opacity: 0.45; cursor: default; }
.nb-compose-screen__body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.nb-compose-screen__row {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}
.nb-compose-context {
    padding: 0.85rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(13, 148, 136, 0.22);
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfeff 100%);
}
.nb-compose-context__label {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0f766e;
    margin-bottom: 0.35rem;
}
.nb-compose-context__title {
    font-size: 0.92rem;
    font-weight: 800;
    color: #134e4a;
    line-height: 1.35;
    margin: 0 0 0.35rem;
}
.nb-compose-context__ref {
    font-size: 0.72rem;
    font-weight: 700;
    color: #0f766e;
    margin: 0 0 0.25rem;
}
.nb-compose-context__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.55rem;
}
.nb-compose-context__return {
    font-size: 0.78rem;
    font-weight: 700;
    color: #0f766e;
    text-decoration: none;
}
.nb-compose-context__return:hover { text-decoration: underline; }
.nb-compose-context.is-loading .nb-compose-context__title::after {
    content: ' …';
    color: var(--hs-text-muted);
    font-weight: 600;
}
.nb-compose-context.is-error {
    border-color: rgba(245, 158, 11, 0.35);
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}
.nb-compose-bridge-hint {
    margin: 0;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    background: #f0fdfa;
    border: 1px solid rgba(13, 148, 136, 0.18);
    font-size: 0.78rem;
    font-weight: 600;
    color: #0f766e;
    line-height: 1.4;
}
.nb-compose-bridge-return {
    margin-bottom: 0.45rem;
}
.nb-compose-bridge-return__link {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    font-size: 0.82rem;
    font-weight: 800;
    color: #0f766e;
    text-decoration: none;
}
.nb-compose-bridge-return__link:hover { text-decoration: underline; }
.nb-compose-screen.is-bridge .nb-compose-screen__scope {
    color: #0f766e;
}
.nb-compose-context__vote {
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
    margin: 0 0 0.35rem;
}
.nb-compose-context__link {
    font-size: 0.78rem;
    font-weight: 700;
    color: #0d9488;
    text-decoration: none;
}
.nb-compose-context__link:hover { text-decoration: underline; }
.nb-compose-guest-hint {
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
    line-height: 1.4;
    margin: 0;
}
.nb-compose-guest-hint__link {
    border: none;
    background: transparent;
    color: #0f766e;
    font-weight: 800;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
}
.nb-compose-guest-hint__link:hover { text-decoration: underline; }
.nb-compose-screen__textarea {
    flex: 1;
    border: none;
    outline: none;
    resize: none;
    font-size: 1.15rem;
    line-height: 1.45;
    font-family: inherit;
    color: var(--hs-text);
    min-height: 140px;
    background: transparent;
}
.nb-compose-screen__footer {
    border-top: 1px solid var(--hs-border);
    padding: 0.75rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
}
.nb-compose-screen__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nb-compose-screen__scope {
    font-size: 0.68rem;
    color: var(--hs-text-muted);
    line-height: 1.35;
    flex: 1;
    padding-right: 0.75rem;
}
.nb-compose-screen__counter { font-size: 0.75rem; font-weight: 600; color: var(--hs-text-muted); }
.nb-compose-screen__counter.is-warn { color: #f59e0b; }
.nb-compose-screen__counter.is-over { color: #ef4444; }

.nb-compose-screen--studio .nb-compose-studio__head {
    justify-content: space-between;
    padding: 0.65rem 1rem;
}
.nb-compose-studio__cancel {
    border: none;
    background: transparent;
    color: var(--hs-text);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    padding: 0.35rem 0;
}
.nb-compose-studio__submit {
    min-width: 72px;
}
.nb-compose-studio__body {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding-top: 0.25rem;
}
.nb-compose-studio__author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.nb-compose-studio__author-text { min-width: 0; }
.nb-compose-studio__author-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--hs-text);
}
.nb-compose-studio__author-handle {
    font-size: 0.82rem;
    color: var(--hs-text-muted);
    margin-top: 0.1rem;
}
.nb-compose-studio__textarea {
    min-height: 140px;
    font-size: 1.15rem;
    line-height: 1.45;
    border: none;
    resize: none;
    padding: 0;
    background: transparent;
}
.nb-compose-studio__textarea:focus { outline: none; }
.nb-compose-studio__footer {
    border-top: 1px solid var(--hs-border);
    padding-top: 0.75rem;
}
.nb-compose-studio__scope {
    font-size: 0.72rem;
    color: var(--hs-text-muted);
    margin: 0;
}
.nb-compose-studio__tools {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}
.nb-compose-studio__media-btn {
    border: none;
    background: #f1f5f9;
    border-radius: 999px;
    width: 34px;
    height: 34px;
    font-size: 1rem;
    cursor: pointer;
    font-family: inherit;
    flex-shrink: 0;
}
.nb-compose-studio__media-btn:hover { background: #e2e8f0; }
.nb-compose-studio__media {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--hs-border);
    max-width: 100%;
}
.nb-compose-studio__media-preview {
    display: block;
    width: 100%;
    max-height: 240px;
    object-fit: cover;
}
.nb-compose-studio__media-remove {
    position: absolute;
    top: 0.45rem;
    right: 0.45rem;
    border: none;
    border-radius: 999px;
    width: 28px;
    height: 28px;
    background: rgba(15, 23, 42, 0.72);
    color: #fff;
    cursor: pointer;
    font-family: inherit;
}

.nb-compose-studio__media-grid {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.nb-compose-studio__media-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--hs-border);
}
.nb-compose-studio__media-item img {
    display: block;
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.nb-post__media-grid {
    display: grid;
    gap: 0.35rem;
    margin: 0.35rem 0 0.5rem;
}
.nb-post__media-grid--2,
.nb-post__media-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.nb-post__media-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.nb-post__media-grid--3 .nb-post__media:first-child {
    grid-column: span 2;
}

.nb-profile-verify {
    margin-top: 1rem;
    padding: 0.85rem 0 0;
    border-top: 1px solid var(--hs-border);
}
.nb-profile-verify__title {
    font-size: 0.92rem;
    font-weight: 800;
    margin: 0 0 0.35rem;
}
.nb-profile-verify__lead {
    font-size: 0.82rem;
    color: var(--hs-text-muted);
    margin: 0 0 0.75rem;
}
.nb-profile-screen__note--muted {
    color: var(--hs-text-muted);
    font-size: 0.78rem;
}

.nb-post__media {
    display: block;
    width: 100%;
    margin: 0.35rem 0 0.5rem;
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}
.nb-post__media img {
    display: block;
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}

.nb-post__text--link {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    text-align: left;
    font: inherit;
    color: inherit;
    cursor: pointer;
}
.nb-post__text--link:hover { opacity: 0.92; }

.nb-post-detail {
    position: fixed;
    inset: 0;
    z-index: 240;
    background: var(--hs-surface);
    display: flex;
    flex-direction: column;
}
.nb-post-detail__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.85rem;
    border-bottom: 1px solid var(--hs-border);
    gap: 0.5rem;
}
.nb-post-detail__title {
    font-size: 0.95rem;
    font-weight: 800;
    flex: 1;
    text-align: center;
    margin: 0;
}
.nb-post-detail__spacer { width: 36px; flex-shrink: 0; }
.nb-post-detail__post {
    border-bottom: 1px solid var(--hs-border);
    padding-bottom: 0.25rem;
}
.nb-post-detail__post .nb-card {
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0.85rem 1rem;
    background: transparent;
}
.nb-post-detail__loading,
.nb-post-detail__error {
    padding: 1rem;
    color: var(--hs-text-muted);
    font-size: 0.9rem;
}
.nb-post-detail__thread {
    flex: 1;
    overflow-y: auto;
    padding: 0.75rem 0.85rem 1rem;
}
.nb-post-detail__thread-title {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--hs-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 0.65rem;
}
.nb-thread-empty {
    font-size: 0.88rem;
    color: var(--hs-text-muted);
    margin: 0;
}
.nb-thread-comment {
    display: flex;
    gap: 0.65rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--hs-border);
}
.nb-thread-comment__avatar { flex-shrink: 0; }
.nb-thread-comment__body { min-width: 0; flex: 1; }
.nb-thread-comment__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem;
    margin-bottom: 0.2rem;
}
.nb-thread-comment__name { font-weight: 800; font-size: 0.88rem; }
.nb-thread-comment__handle {
    border: none;
    background: transparent;
    padding: 0;
    font-size: 0.78rem;
    color: var(--hs-text-muted);
    cursor: pointer;
    font-family: inherit;
}
.nb-thread-comment__time { font-size: 0.72rem; color: var(--hs-text-muted); }
.nb-thread-comment__text {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.4;
    white-space: pre-wrap;
    word-break: break-word;
}
.nb-post-detail__composer {
    display: flex;
    gap: 0.5rem;
    padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0));
    border-top: 1px solid var(--hs-border);
    background: var(--hs-surface);
}
.nb-post-detail__input {
    flex: 1;
    border: 1px solid var(--hs-border);
    border-radius: 999px;
    padding: 0.55rem 0.85rem;
    font-size: 0.9rem;
    font-family: inherit;
}
.nb-post-detail__submit {
    border: none;
    border-radius: 999px;
    padding: 0.55rem 0.95rem;
    min-height: 44px;
    background: var(--tw-blue);
    color: #fff;
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    font-family: inherit;
}
.nb-post-detail__submit:disabled { opacity: 0.45; cursor: default; }
.nb-post-detail__status {
    font-size: 0.82rem;
    color: #ef4444;
    margin: 0.35rem 0 0;
}
body.nb-post-detail-open { overflow: hidden; }

.nb-notifications-panel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 260;
    max-height: 75vh;
    background: var(--hs-surface);
    border-radius: 16px 16px 0 0;
    transform: translateY(100%);
    transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
    display: flex;
    flex-direction: column;
}
.nb-notifications-panel.is-open { transform: translateY(0); }
.nb-notifications-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--hs-border);
}
.nb-notifications-panel__title {
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
}
.nb-notifications-panel__mark-all {
    margin-left: auto;
    margin-right: 0.25rem;
    border: none;
    background: none;
    font: inherit;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--hs-accent);
    cursor: pointer;
    padding: 0.25rem 0.35rem;
    white-space: nowrap;
}
.nb-notifications-panel__close {
    border: none;
    background: transparent;
    font-size: 1.1rem;
    cursor: pointer;
    font-family: inherit;
    color: var(--hs-text-muted);
}
.nb-notifications-panel__body {
    overflow-y: auto;
    padding: 0.5rem 0 1rem;
    flex: 1;
}
.nb-notifications-panel__hint,
.nb-notifications-panel__empty {
    padding: 1rem;
    font-size: 0.88rem;
    color: var(--hs-text-muted);
    text-align: center;
    margin: 0;
}
.nb-notification-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.88rem;
    color: var(--hs-text);
}
.nb-notification-item:hover { background: rgba(15, 20, 25, 0.04); }
.nb-notification-item.is-unread { background: #f0f9ff; }
.nb-notification-item__icon {
    font-size: 1rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 0.1rem;
}
.nb-notification-item__dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #1d9bf0;
    margin-top: 0.35rem;
    flex-shrink: 0;
}
.nb-notification-item:not(.is-unread) .nb-notification-item__dot { visibility: hidden; }
.nb-notification-item__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.nb-notification-item__time {
    font-size: 0.72rem;
    color: var(--hs-text-muted);
}
body.nb-notifications-open { overflow: hidden; }

.nb-result-item--person {
    width: 100%;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.nb-profile-screen {
    position: fixed;
    inset: 0;
    z-index: 210;
    background: var(--hs-surface);
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
}
.nb-profile-screen.is-open { transform: translateY(0); }
.nb-profile-screen__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.85rem;
    border-bottom: 1px solid var(--hs-border);
    gap: 0.5rem;
}
.nb-profile-screen__title { font-size: 0.95rem; font-weight: 800; flex: 1; text-align: center; }
.nb-profile-screen__save {
    padding: 0.45rem 1rem;
    border: none;
    border-radius: 999px;
    background: var(--tw-blue);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}
.nb-profile-screen__save:disabled { opacity: 0.45; cursor: default; }
.nb-profile-screen__body {
    padding: 0.85rem 1rem 1.25rem;
    overflow-y: auto;
    flex: 1;
}
.nb-profile-identity {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    padding: 0.85rem 1rem;
    margin-bottom: 0.85rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid var(--hs-border);
}
.nb-profile-identity__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1D4ED8, #1DA1F2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
}
.nb-profile-identity__text { min-width: 0; }
.nb-profile-identity__name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--hs-text);
    line-height: 1.25;
}
.nb-profile-identity__handle {
    font-size: 0.82rem;
    color: var(--hs-text-muted);
    margin-top: 0.1rem;
}
.nb-profile-identity__meta {
    font-size: 0.78rem;
    color: var(--hs-text-muted);
    margin-top: 0.2rem;
}
.nb-profile-field--readonly { margin-bottom: 0.75rem; }
.nb-profile-field__readonly {
    margin: 0.25rem 0 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--hs-text);
}
.nb-profile-screen__lead {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--hs-text-soft);
    margin-bottom: 1.25rem;
}
.nb-profile-field { display: block; margin-bottom: 0.75rem; }
.nb-profile-field__label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--hs-text-soft);
    margin-bottom: 0.45rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.nb-profile-field__optional {
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: var(--hs-text-muted);
}
.nb-profile-field__select,
.nb-profile-field__input {
    width: 100%;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--hs-border-strong);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
    color: var(--hs-text);
}
.nb-profile-field__input:focus,
.nb-profile-field__select:focus {
    outline: none;
    border-color: var(--hs-primary);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}
.nb-profile-field__select {
    width: 100%;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--hs-border-strong);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
    color: var(--hs-text);
}
.nb-profile-screen__note {
    font-size: 0.8rem;
    color: var(--hs-text-muted);
    line-height: 1.45;
}
.nb-profile-screen__status {
    margin-top: 1rem;
    font-size: 0.82rem;
    color: var(--hs-text-soft);
}
.nb-profile-screen__status--error { color: #ef4444; }

.nb-complete-sheet {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 305;
    pointer-events: none;
    padding: 0 0.75rem calc(0.75rem + env(safe-area-inset-bottom));
}
.nb-complete-sheet.is-open { pointer-events: auto; }
.nb-complete-sheet.hidden { display: none; }
.nb-complete-sheet__panel {
    max-width: 28rem;
    margin: 0 auto;
    padding: 1.15rem 1rem 1rem;
    border-radius: 20px 20px 16px 16px;
    background: var(--hs-surface);
    border: 1px solid var(--hs-border-strong);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18);
}
.nb-complete-sheet__title {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.nb-complete-sheet__lead {
    margin: 0 0 1rem;
    font-size: 0.84rem;
    line-height: 1.45;
    color: var(--hs-text-soft);
}
.nb-complete-sheet__status {
    min-height: 1.1rem;
    margin: 0 0 0.65rem;
    font-size: 0.78rem;
    color: var(--hs-text-soft);
}
.nb-complete-sheet__panel .nb-auth-btn { margin-top: 0.25rem; }
.nb-complete-sheet__later {
    display: block;
    width: 100%;
    margin-top: 0.65rem;
    padding: 0.55rem;
    text-align: center;
    font-size: 0.82rem;
}

.nb-sheet-backdrop {
    position: fixed;
    inset: 0;
    z-index: 150;
    background: rgba(15, 20, 25, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}
.nb-sheet-backdrop.is-open { opacity: 1; pointer-events: auto; }
.nb-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 160;
    max-height: 85vh;
    background: #fff;
    border-radius: 1.25rem 1.25rem 0 0;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 -8px 40px rgba(15, 20, 25, 0.12);
}
.nb-sheet.is-open { transform: translateY(0); }
.nb-sheet__handle { width: 36px; height: 4px; border-radius: 2px; background: #e2e8f0; margin: 0.65rem auto 0; }
.nb-sheet__head {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--hs-border);
}
.nb-sheet__title { font-size: 1rem; font-weight: 800; }
.nb-sheet__close {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    font-size: 1.2rem;
    color: #64748b;
    cursor: pointer;
    border-radius: 50%;
    font-family: inherit;
}
.nb-sheet__body { overflow-y: auto; padding: 0 1rem 1rem; flex: 1; }
.nb-sheet__footer {
    padding: 0.75rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--hs-border);
    display: flex;
    gap: 0.5rem;
}
.nb-sheet__input {
    flex: 1;
    border: 1px solid var(--hs-border-strong);
    border-radius: 999px;
    padding: 0.65rem 1rem;
    font-size: 0.88rem;
    font-family: inherit;
    outline: none;
}
.nb-sheet__submit {
    padding: 0.65rem 1rem;
    min-height: 44px;
    border: none;
    border-radius: 999px;
    background: var(--tw-blue);
    color: #fff;
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    font-family: inherit;
}
.nb-sheet__submit:disabled { opacity: 0.45; cursor: default; }

.nb-comment {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    gap: 0.65rem;
}
.nb-comment__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
}
.nb-comment__name { font-size: 0.82rem; font-weight: 700; }
.nb-comment__meta { font-size: 0.72rem; color: var(--hs-text-muted); margin-bottom: 0.2rem; }
.nb-comment__text { font-size: 0.85rem; line-height: 1.4; word-break: break-word; }
.nb-comment__report {
    margin-top: 0.35rem;
    border: none;
    background: none;
    padding: 0;
    font-size: 0.68rem;
    color: var(--hs-text-muted);
    cursor: pointer;
    font-family: inherit;
}
.nb-comment__report:hover { color: #b45309; }
.nb-comment__report:disabled,
.nb-comment__report.is-reported { color: #94a3b8; cursor: default; }
.nb-post__action--report.is-reported { opacity: 0.45; }
.nb-report-sheet__body { display: flex; flex-direction: column; gap: 1rem; }
.nb-report-sheet__lead {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.45;
    color: var(--hs-text-muted);
}
.nb-report-reasons {
    margin: 0;
    padding: 0;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.nb-report-reasons__legend {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--hs-text);
    margin-bottom: 0.35rem;
}
.nb-report-reason {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--hs-text);
    cursor: pointer;
}
.nb-report-detail { display: block; }
.nb-report-detail__label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--hs-text-muted);
    margin-bottom: 0.35rem;
}
.nb-report-detail__input {
    width: 100%;
    border: 1px solid var(--hs-border);
    border-radius: 12px;
    padding: 0.65rem 0.75rem;
    font-family: inherit;
    font-size: 0.88rem;
    resize: vertical;
    min-height: 72px;
}
.nb-report-sheet__footer {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    justify-content: flex-end;
}
.nb-report-sheet__cancel {
    border: none;
    background: transparent;
    color: var(--hs-text-muted);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    padding: 0.55rem 0.75rem;
}
.nb-report-sheet__submit { flex: 0 0 auto; min-width: 7rem; }
body.nb-report-open { overflow: hidden; }
.nb-comment { display: flex; gap: 0.55rem; }
.nb-comment__empty { padding: 1.5rem 0; text-align: center; color: var(--hs-text-muted); font-size: 0.85rem; }

.nb-header.is-hidden { display: none; }
.nb-feed-view.is-hidden { display: none; }

.nb-following-empty { display: none; }
.nb-following-empty.is-visible { display: flex; }

.nb-person-chip-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}
.nb-person-chip-wrap--rail {
    flex-direction: column;
    min-width: 4.75rem;
    max-width: 5.25rem;
}
.nb-person-chip-wrap--rail .nb-follow-btn--compact {
    font-size: 0.62rem;
    padding: 0.25rem 0.45rem;
    min-height: 28px;
}
.nb-discover-people .nb-person-chip-wrap {
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--hs-border);
    border-radius: 14px;
    background: var(--hs-surface);
}
.nb-discover-people .nb-person-chip {
    flex: 1;
    flex-direction: row;
    align-items: center;
    max-width: none;
    min-width: 0;
    text-align: left;
    gap: 0.65rem;
}

.nb-follow-btn {
    border: none;
    border-radius: 999px;
    padding: 0.45rem 0.95rem;
    min-height: 36px;
    background: var(--tw-blue);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    flex-shrink: 0;
}
.nb-follow-btn--compact {
    padding: 0.35rem 0.65rem;
    min-height: 32px;
    font-size: 0.72rem;
}
.nb-follow-btn.is-following {
    background: transparent;
    color: var(--hs-text-muted);
    border: 1px solid var(--hs-border);
}
.nb-follow-btn:disabled { opacity: 0.55; cursor: default; }
.nb-public-profile__follow { margin-top: 0.65rem; width: 100%; max-width: 220px; }

.nb-profile-stat {
    font-size: 0.82rem;
    color: var(--hs-text-muted);
}
.nb-profile-stat strong {
    color: var(--hs-text);
    font-weight: 800;
}
.nb-profile-stat--link {
    border: none;
    background: transparent;
    padding: 0;
    font: inherit;
    cursor: pointer;
    color: inherit;
}
.nb-public-profile__stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 0.5rem;
}

.nb-follow-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid #f1f5f9;
}
.nb-follow-list-item__profile {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border: none;
    background: transparent;
    padding: 0;
    flex: 1;
    min-width: 0;
    text-align: left;
    cursor: pointer;
    font: inherit;
}
.nb-follow-list-item__avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}
.nb-follow-list-item__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.nb-follow-list-item__name {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
}
.nb-follow-list-item__handle {
    display: block;
    font-size: 0.75rem;
    color: var(--hs-text-muted);
}
.nb-follow-list-loading,
.nb-follow-list-empty {
    padding: 1.25rem 0;
    text-align: center;
    color: var(--hs-text-muted);
    font-size: 0.85rem;
}
body.nb-follow-list-open { overflow: hidden; }
#nb-follow-list-sheet.is-open { transform: translateY(0); }

#nb-feed-status.is-hidden { display: none; }
.nb-search-view { display: none; }
.nb-search-view.is-active { display: block; }
.nb-feed-view.is-hidden { display: none; }

.nb-search-wrap { padding: 0.65rem 1rem; background: var(--hs-surface); border-bottom: 1px solid var(--hs-border); }
.nb-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    background: var(--hs-bg);
    border: 1px solid var(--hs-border);
    border-radius: 999px;
}
.nb-search__icon { color: var(--hs-text-muted); font-size: 0.95rem; }
.nb-search__input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.92rem;
    font-family: inherit;
    color: var(--hs-text);
}
.nb-search__clear {
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    background: var(--tw-blue);
    color: #fff;
    font-size: 0.7rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-family: inherit;
}
.nb-search__clear.is-visible { display: flex; }

.nb-filters {
    display: flex;
    gap: 0.4rem;
    padding: 0.65rem 1rem;
    overflow-x: auto;
    scrollbar-width: none;
    background: var(--hs-surface);
    border-bottom: 1px solid var(--hs-border);
}
.nb-filters::-webkit-scrollbar { display: none; }
.nb-filter {
    flex: 0 0 auto;
    padding: 0.4rem 0.85rem;
    border: 1px solid var(--hs-border-strong);
    border-radius: 999px;
    background: var(--hs-surface);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--hs-text-soft);
    cursor: pointer;
    font-family: inherit;
}
.nb-filter.is-active { background: var(--tw-blue); border-color: var(--tw-blue); color: #fff; }

.nb-results-meta { padding: 0.65rem 1rem 0.35rem; font-size: 0.72rem; color: var(--hs-text-muted); }
.nb-section { margin-bottom: 0.5rem; }
.nb-section.is-hidden { display: none; }
.nb-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1rem 0.45rem;
    background: var(--hs-surface);
    border-bottom: 1px solid var(--hs-border);
}
.nb-section__title { font-size: 0.88rem; font-weight: 800; color: var(--hs-text); }

.nb-result-item {
    display: flex;
    gap: 0.7rem;
    padding: 0.85rem 1rem;
    background: var(--hs-surface);
    border-bottom: 1px solid var(--hs-border);
    text-decoration: none;
    color: inherit;
}
.nb-result-item:hover { background: #fafbfc; }
.nb-result-item__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
}
.nb-result-item__body { flex: 1; min-width: 0; }
.nb-result-item__type {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--hs-text-muted);
    margin-bottom: 0.2rem;
}
.nb-result-item__title { font-size: 0.88rem; font-weight: 700; line-height: 1.35; margin-bottom: 0.2rem; }
.nb-result-item__title mark { background: var(--tw-blue-soft); color: var(--tw-blue); padding: 0 2px; border-radius: 2px; }
.nb-result-item__meta { font-size: 0.75rem; color: var(--hs-text-muted); }
.nb-result-item__snippet {
    font-size: 0.8rem;
    color: var(--hs-text-soft);
    line-height: 1.4;
    margin-top: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.nb-result-item--poll .nb-result-item__avatar,
.nb-result-item--news .nb-result-item__avatar { border-radius: 10px; font-size: 1.1rem; background: #eff6ff; }
.nb-result-item--news .nb-result-item__avatar { background: #fef3c7; }

.nb-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 60;
    display: flex;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--hs-border);
    padding: 0.35rem 0 calc(0.35rem + env(safe-area-inset-bottom));
}
.nb-bottom-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    padding: 0.35rem;
    border: none;
    background: transparent;
    text-decoration: none;
    color: var(--hs-text-muted);
    font-size: 0.58rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}
.nb-bottom-nav__item.is-active { color: var(--tw-blue); }
.nb-bottom-nav--dual .nb-bottom-nav__item {
    flex: 1;
    max-width: none;
    font-size: 0.78rem;
}
.nb-bottom-nav__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.375rem;
    height: 1.375rem;
}
.nb-header__icon-btn .nb-icon { width: 1.25rem; height: 1.25rem; }
.nb-composer__guest-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--nb-text-muted);
}

.nb-toast {
    position: fixed;
    left: 50%;
    bottom: calc(80px + env(safe-area-inset-bottom));
    transform: translateX(-50%) translateY(12px);
    z-index: 300;
    background: rgba(15, 20, 25, 0.92);
    color: #fff;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    max-width: calc(100vw - 2rem);
    text-align: center;
}
.nb-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.nb-toast a { color: #7dd3fc; margin-left: 0.35rem; }

.av-1 { background: linear-gradient(135deg, #6366f1, #818cf8); }
.av-2 { background: linear-gradient(135deg, #0ea5e9, #38bdf8); }
.av-3 { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.av-4 { background: linear-gradient(135deg, #dc2626, #f87171); }
.av-5 { background: linear-gradient(135deg, #059669, #34d399); }
.av-6 { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.av-7 { background: linear-gradient(135deg, #db2777, #f472b6); }
.av-8 { background: linear-gradient(135deg, #1D4ED8, #1DA1F2); }

@media (prefers-reduced-motion: reduce) {
    .nb-post__action--nabizla.is-bouncing,
    .nb-nabiz-count.is-ticking,
    .nb-card.is-new-arrival { animation: none; }
    .nb-result__bar-fill { transition: none; }
    .nb-card.is-new-arrival { background-color: #F4FAFE; }
    .nb-compose-screen,
    .nb-sheet,
    .nb-sheet-backdrop { transition: none; }
}

/* ── Trends — premium data product UI ───────────────────── */
.nb-trends-card {
    margin: 0.5rem 0.75rem 0;
    padding: 0.95rem 1rem;
    background: var(--hs-surface);
    border: 1px solid var(--nb-border);
    border-radius: var(--nb-radius-card);
    box-shadow: var(--nb-shadow-sm);
}
.nb-trends-card--demo {
    box-shadow: var(--nb-shadow-sm), inset 0 0 0 1px rgba(190, 18, 60, 0.08);
}
.nb-trends-demo-note {
    margin: 0 0.75rem 0.5rem;
    padding: 0.45rem 0.65rem;
    border-radius: 10px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #9F1239;
    background: linear-gradient(90deg, rgba(255, 241, 242, 0.95), rgba(239, 246, 255, 0.9));
    border: 1px solid rgba(190, 18, 60, 0.14);
}
.nb-trends-view--demo .nb-trends-view__sub::after {
    content: " · Demo";
    color: var(--nb-brand);
    font-weight: 600;
}
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 0.65rem;
}
.nb-trends-card__title {
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--hs-text);
}
.nb-trends-card__sub {
    font-size: 0.75rem;
    color: var(--hs-text-muted);
    margin-top: 0.2rem;
    line-height: 1.4;
}
.nb-trends-card__map-btn {
    border: 1px solid var(--nb-border-strong);
    background: var(--hs-surface);
    border-radius: 999px;
    padding: 0.38rem 0.75rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--nb-trust);
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
}
.nb-trends-card__map-btn:hover { background: var(--nb-trust-soft); }

.nb-trends-card__hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(118px, 42%);
    gap: 0.65rem;
    align-items: stretch;
    margin-bottom: 0.15rem;
}
.nb-trends-card__content { min-width: 0; }
.nb-trends-card__map-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid rgba(29, 78, 216, 0.12);
    border-radius: 14px;
    padding: 0.45rem 0.45rem 0.5rem;
    background:
        radial-gradient(120% 90% at 18% 8%, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0) 58%),
        linear-gradient(155deg, rgba(255, 251, 252, 0.98) 0%, rgba(248, 250, 252, 0.96) 46%, rgba(239, 246, 255, 0.98) 100%);
    cursor: pointer;
    overflow: hidden;
    font: inherit;
    color: inherit;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 1px 2px rgba(15, 20, 25, 0.04);
    transition: box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1), transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease;
}
.nb-trends-card__map-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, transparent 38%, transparent 72%, rgba(29, 78, 216, 0.03) 100%);
}
.nb-trends-card__map-visual:hover {
    border-color: rgba(29, 78, 216, 0.22);
    box-shadow:
        var(--nb-shadow-sm),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
}
.nb-trends-card__map-inner {
    flex: 1;
    min-height: 108px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}
.nb-trends-card__map-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    align-self: center;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--nb-brand);
    margin-top: 0.2rem;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(190, 18, 60, 0.12);
    position: relative;
    z-index: 1;
}
.nb-trends-card__map-badge::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--nb-brand);
    box-shadow: 0 0 0 3px rgba(190, 18, 60, 0.14);
    animation: nb-live-dot 2.8s ease-in-out infinite;
}
@keyframes nb-live-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.88); }
}
.nb-turkey-map__svg {
    width: 100%;
    height: auto;
    max-height: 118px;
    display: block;
}
.nb-turkey-map__svg--full {
    max-height: min(48vw, 340px);
}
.nb-turkey-map__land { transition: fill 0.4s ease; }
.nb-turkey-map__sheen { pointer-events: none; mix-blend-mode: soft-light; opacity: 0.85; }
.nb-turkey-map__vignette { pointer-events: none; }
.nb-turkey-map__silhouette { isolation: isolate; }
.nb-turkey-map__border--base {
    stroke: rgba(29, 78, 216, 0.18);
    stroke-width: 1.6;
    stroke-linejoin: round;
    stroke-linecap: round;
}
.nb-turkey-map__border--glow {
    stroke: rgba(29, 78, 216, 0.12);
    stroke-width: 4.5;
    stroke-linejoin: round;
    opacity: 0.55;
    filter: blur(1.5px);
}
.nb-turkey-map__border--flow {
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 40 28 12 32;
    animation: nb-map-border-flow 16s linear infinite;
    opacity: 0.78;
}
.nb-turkey-map__flow-fill {
    opacity: 0.72;
    animation: nb-map-fill-shimmer 9s ease-in-out infinite alternate;
}
.nb-turkey-map__flow-drift {
    animation: nb-map-drift 11s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
}
.nb-turkey-map__stream {
    stroke-width: 1.1;
    stroke-linecap: round;
    stroke-dasharray: 48 72 24 88;
    opacity: 0.22;
    animation: nb-map-stream 18s linear infinite;
}
.nb-turkey-map--mini .nb-turkey-map__stream { opacity: 0.16; animation-duration: 20s; }
.nb-turkey-map--full .nb-turkey-map__stream { opacity: 0.24; }
.nb-turkey-map__stream--1 {
    animation-duration: 21s;
    animation-delay: -4s;
}
.nb-turkey-map__stream--2 {
    animation-duration: 16s;
    animation-delay: -8s;
}
@keyframes nb-map-border-flow {
    to { stroke-dashoffset: -280; }
}
@keyframes nb-map-stream {
    to { stroke-dashoffset: -520; }
}
@keyframes nb-map-drift {
    from { transform: translate(-4px, 1px); }
    to { transform: translate(6px, -2px); }
}
@keyframes nb-map-fill-shimmer {
    from { opacity: 0.58; }
    to { opacity: 0.82; }
}
@media (prefers-reduced-motion: reduce) {
    .nb-turkey-map__border--flow,
    .nb-turkey-map__stream,
    .nb-turkey-map__flow-drift,
    .nb-turkey-map__flow-fill,
    .nb-turkey-map__dot--pulse,
    .nb-turkey-map__halo,
    .nb-trends-card__map-badge::before {
        animation: none !important;
    }
}
.nb-turkey-map__dot--idle { pointer-events: none; }
.nb-trends-card__map-visual .nb-turkey-map__dot { pointer-events: none; }
.nb-turkey-map__dot--hot {
    cursor: pointer;
    transition: r 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}
.nb-turkey-map__dot--hot:hover,
.nb-turkey-map__dot--hot:focus-visible {
    outline: none;
    stroke: rgba(190, 18, 60, 0.75);
    stroke-width: 1.6;
    filter: drop-shadow(0 0 4px rgba(190, 18, 60, 0.25));
}
.nb-turkey-map__dot--pulse,
.nb-turkey-map__halo {
    animation: nb-map-pulse-premium 3.4s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    transform-origin: center;
    transform-box: fill-box;
}
.nb-turkey-map__dot--pulse-0,
.nb-turkey-map__halo.nb-turkey-map__dot--pulse-0 { animation-delay: 0s; }
.nb-turkey-map__dot--pulse-1,
.nb-turkey-map__halo.nb-turkey-map__dot--pulse-1 { animation-delay: 0.55s; }
.nb-turkey-map__dot--pulse-2,
.nb-turkey-map__halo.nb-turkey-map__dot--pulse-2 { animation-delay: 1.1s; }
.nb-turkey-map__dot--pulse-3,
.nb-turkey-map__halo.nb-turkey-map__dot--pulse-3 { animation-delay: 1.65s; }
.nb-turkey-map__dot--pulse-4,
.nb-turkey-map__halo.nb-turkey-map__dot--pulse-4 { animation-delay: 2.2s; }
@keyframes nb-map-pulse-premium {
    0%, 100% { opacity: 0.92; transform: scale(1); }
    50% { opacity: 0.58; transform: scale(1.05); }
}
.nb-turkey-map__halo {
    pointer-events: none;
    animation-name: nb-map-halo-premium;
}
@keyframes nb-map-halo-premium {
    0%, 100% { opacity: 0.48; transform: scale(1); }
    50% { opacity: 0.14; transform: scale(1.22); }
}
.nb-trends-card__topics .nb-trends-topic:first-child {
    background: transparent;
    border: none;
    padding: 0.15rem 0;
}
.nb-trends-card__topics .nb-trends-topic:first-child .nb-trends-topic-label {
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--hs-text);
}
.nb-trends-card__topics .nb-trends-topic:not(:first-child) {
    padding: 0.35rem 0.5rem;
}
@media (max-width: 380px) {
    .nb-trends-card__hero {
        grid-template-columns: 1fr;
    }
    .nb-trends-card__map-visual {
        min-height: 100px;
    }
}

.nb-trends-card__topics,
.nb-trends-panel__topics,
.nb-trends-city-detail__topics {
    list-style: none;
    display: grid;
    gap: 0.45rem;
}
.nb-trends-topic {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    padding: 0.45rem 0.55rem;
    border-radius: 10px;
    background: var(--nb-bg);
    border: 1px solid var(--nb-border);
}
.nb-trends-card__topics li,
.nb-trends-panel__topics li,
.nb-trends-city-detail__topics li {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--hs-text);
}
.nb-trends-topic-label { flex: 1; min-width: 0; }
.nb-trends-topic-count {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--hs-text-muted);
    font-variant-numeric: tabular-nums;
}
.nb-trends-rising {
    font-size: 0.625rem;
    font-weight: 600;
    color: #B45309;
    background: #FFF7ED;
    padding: 0.12rem 0.4rem;
    border-radius: 999px;
}
.nb-trends-card__cities-label {
    font-size: 0.6875rem;
    color: var(--hs-text-muted);
    margin: 0.65rem 0 0.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.nb-trends-card__cities { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.nb-trends-city-chip {
    border: 1px solid var(--nb-border);
    background: var(--hs-surface);
    border-radius: 999px;
    padding: 0.28rem 0.6rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--hs-text-soft);
    cursor: pointer;
    font-family: inherit;
}
.nb-trends-city-chip:hover { border-color: var(--nb-trust); color: var(--nb-trust); }
.nb-trends-card__disclaimer,
.nb-trends-view__disclaimer {
    margin-top: 0.65rem;
    font-size: 0.75rem;
    color: var(--hs-text-muted);
    line-height: 1.45;
}
.nb-trends-view.is-hidden { display: none; }
.nb-trends-view {
    padding-bottom: 5rem;
    background: var(--hs-bg);
    min-height: 100%;
}
.nb-trends-view__head {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.85rem 0.75rem;
    border-bottom: 1px solid var(--hs-border);
    background: var(--hs-surface);
}
.nb-trends-view__title {
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--hs-text);
}
.nb-trends-view__sub {
    font-size: 0.75rem;
    color: var(--hs-text-muted);
    margin-top: 0.2rem;
    line-height: 1.4;
}
.nb-trends-view__controls {
    display: flex;
    gap: 0.45rem;
    padding: 0.65rem 0.75rem;
}
.nb-trends-period {
    border: 1px solid var(--nb-border);
    background: var(--hs-surface);
    border-radius: 999px;
    padding: 0.38rem 0.75rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--hs-text-soft);
    cursor: pointer;
    font-family: inherit;
}
.nb-trends-period.is-active {
    background: var(--nb-trust);
    color: #fff;
    border-color: var(--nb-trust);
}
.nb-trends-view__turkey { padding: 0 0.75rem 0.65rem; }
.nb-trends-panel {
    padding: 0.85rem 0.95rem;
    background: var(--hs-surface);
    border: 1px solid var(--nb-border);
    border-radius: var(--nb-radius-card);
    box-shadow: var(--nb-shadow-sm);
}
.nb-trends-panel__title {
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 0.55rem;
    color: var(--hs-text);
}
.nb-trends-map-wrap {
    padding: 0 0.75rem;
    display: grid;
    gap: 0.5rem;
}
.nb-trends-map {
    padding: 1rem 0.75rem 0.65rem;
    background:
        radial-gradient(110% 85% at 12% 0%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 55%),
        linear-gradient(165deg, rgba(255, 251, 252, 0.98) 0%, rgba(248, 250, 252, 0.97) 50%, rgba(239, 246, 255, 0.98) 100%);
    border: 1px solid rgba(29, 78, 216, 0.1);
    border-radius: var(--nb-radius-card);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        var(--nb-shadow-sm);
}
.nb-trends-map-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(42px, 1fr));
    gap: 0.35rem;
    padding: 0.85rem;
    background: var(--hs-surface);
    border: 1px solid var(--nb-border);
    border-radius: var(--nb-radius-card);
    box-shadow: var(--nb-shadow-sm);
}
.nb-trends-map-cell {
    border: 1px solid rgba(190, 18, 60, calc(0.08 + var(--heat) * 0.2));
    border-radius: 8px;
    padding: 0.45rem 0;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--nb-text);
    background: rgba(190, 18, 60, calc(0.05 + var(--heat) * 0.28));
    cursor: pointer;
    font-family: inherit;
}
.nb-trends-map-cell:hover { border-color: var(--nb-brand); }
.nb-trends-map.is-hidden { display: none; }
.nb-trends-map-list { list-style: none; display: grid; gap: 0.45rem; }
.nb-trends-map-list--solo .nb-trends-map-item { width: 100%; }
.nb-trends-map-item {
    width: 100%;
    text-align: left;
    border: 1px solid var(--nb-border);
    border-radius: 12px;
    padding: 0.65rem 0.75rem;
    background: var(--hs-surface);
    box-shadow: var(--nb-shadow-xs);
    cursor: pointer;
    font-family: inherit;
    border-left: 3px solid rgba(190, 18, 60, calc(0.25 + var(--heat) * 0.55));
}
.nb-trends-map-item:hover { box-shadow: var(--nb-shadow-sm); }
.nb-trends-map-item__name { display: block; font-size: 0.8125rem; font-weight: 600; }
.nb-trends-map-item__topic {
    display: block;
    font-size: 0.72rem;
    color: var(--hs-text-muted);
    margin-top: 0.15rem;
}
.nb-trends-city-detail { padding: 0.75rem; }
.nb-trends-city-detail.is-hidden { display: none; }
.nb-trends-city-detail__back {
    border: none;
    background: none;
    color: var(--nb-trust);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 0.65rem;
    font-family: inherit;
}
.nb-trends-city-detail__title {
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 0.9375rem;
    font-weight: 600;
}
.nb-trends-city-detail__sub {
    font-size: 0.72rem;
    color: var(--hs-text-muted);
    margin: 0.25rem 0 0.65rem;
    line-height: 1.4;
}
.nb-trends-empty-card {
    padding: 1.25rem 1rem;
    text-align: center;
    background: var(--hs-surface);
    border: 1px solid var(--nb-border);
    border-radius: var(--nb-radius-card);
    box-shadow: var(--nb-shadow-sm);
}
.nb-trends-empty-card__icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 0.65rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nb-trust-soft);
    color: var(--nb-trust);
}
.nb-trends-empty-card__title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--hs-text);
    margin: 0 0 0.35rem;
}
.nb-trends-empty-card__text {
    font-size: 0.78rem;
    color: var(--hs-text-muted);
    line-height: 1.45;
    margin: 0;
    max-width: 18rem;
    margin-inline: auto;
}
.nb-trends-empty { font-size: 0.78rem; color: var(--hs-text-muted); padding: 0.5rem 0; }

/* Search result icon avatars */
.nb-result-item__avatar--icon {
    border-radius: 10px;
    background: var(--nb-trust-soft);
    color: var(--nb-trust);
    font-size: 1rem;
}
.nb-result-item__avatar--icon .nb-icon { width: 1.125rem; height: 1.125rem; }
.nb-result-item--news .nb-result-item__avatar--icon {
    background: #FEF3C7;
    color: #B45309;
}
.hidden { display: none !important; }

body.nb-auth-modal-open { overflow: hidden; }

/* ── NABIZ auth sheet (HalkSeçiyor / NABIZ tokens) ── */
.nb-auth-sheet {
    position: fixed;
    inset: 0;
    z-index: 320;
    display: none;
}

.nb-auth-sheet.is-open { display: block; }

.nb-auth-sheet__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 20, 25, 0.42);
}

.nb-auth-sheet__panel {
    position: relative;
    z-index: 1;
    height: 100%;
    max-width: 28rem;
    margin: 0 auto;
    background: var(--hs-surface);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.nb-auth-sheet__head {
    position: relative;
    text-align: center;
    padding: max(0.85rem, env(safe-area-inset-top)) 1rem 1rem;
    border-bottom: 1px solid var(--hs-border);
    background: var(--hs-surface);
}

.nb-auth-sheet__close {
    position: absolute;
    top: max(0.65rem, env(safe-area-inset-top));
    right: 0.85rem;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--hs-text-soft);
    font-size: 1.05rem;
    cursor: pointer;
}

.nb-auth-sheet__close:hover { background: var(--hs-bg); }

.nb-auth-sheet__badge {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: var(--hs-brand-soft);
    color: var(--hs-brand);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.nb-auth-sheet__brand { margin-top: 0.85rem; }

.nb-auth-sheet__parent {
    font-size: 0.56rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--hs-primary);
}

.nb-auth-sheet__logo {
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    color: var(--hs-text);
    line-height: 1.1;
}

.nb-auth-sheet__headline {
    margin-top: 0.75rem;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--hs-text);
}

.nb-auth-sheet__tagline {
    margin-top: 0.3rem;
    font-size: 0.84rem;
    color: var(--hs-text-soft);
}

.nb-auth-sheet__body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom));
}

.nb-auth-tabs {
    display: flex;
    gap: 0.35rem;
    padding: 0.25rem;
    margin-bottom: 1rem;
    background: var(--hs-bg);
    border: 1px solid var(--hs-border);
    border-radius: 999px;
}

.nb-auth-tabs.hidden { display: none; }

.nb-auth-tabs__btn {
    flex: 1;
    min-height: 44px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--hs-text-soft);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
}

.nb-auth-tabs__btn.is-active {
    background: var(--hs-brand);
    color: #fff;
}

.nb-auth-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.nb-auth-form__row {
    display: flex;
    justify-content: flex-end;
    margin-top: -0.35rem;
}

.nb-auth-field { display: block; }

.nb-auth-field__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--hs-text-soft);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.nb-auth-field__optional {
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: var(--hs-text-muted);
}

.nb-auth-field__control {
    position: relative;
    display: block;
}

.nb-auth-field__input {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--hs-border-strong);
    border-radius: 12px;
    padding: 0.75rem 0.85rem;
    font: inherit;
    font-size: 1rem;
    color: var(--hs-text);
    background: var(--hs-surface);
}

.nb-auth-field__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238899a6' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    padding-right: 2rem;
}

.nb-auth-field--password .nb-auth-field__input { padding-right: 4.5rem; }

.nb-auth-field__input::placeholder { color: var(--hs-text-muted); }

.nb-auth-field__input:focus {
    outline: none;
    border-color: var(--hs-primary);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

.nb-auth-field--invalid .nb-auth-field__input,
.nb-auth-field--invalid .nb-auth-field__select {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.nb-auth-field__error {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.75rem;
    line-height: 1.35;
    color: #ef4444;
}

.nb-auth-trust--kvkk {
    margin-top: 0.25rem;
    color: var(--hs-text-soft);
}

.nb-auth-field__toggle {
    position: absolute;
    top: 50%;
    right: 0.35rem;
    transform: translateY(-50%);
    min-width: 44px;
    min-height: 44px;
    padding: 0 0.5rem;
    border: none;
    background: transparent;
    color: var(--hs-primary);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}

.nb-auth-trust {
    font-size: 0.72rem;
    line-height: 1.45;
    color: var(--hs-text-muted);
    margin: 0;
}

.nb-auth-btn {
    width: 100%;
    min-height: 48px;
    border-radius: 999px;
    padding: 0.75rem 1rem;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
}

.nb-auth-btn--primary {
    border: none;
    background: var(--hs-brand);
    color: #fff;
}

.nb-auth-btn--primary:hover { filter: brightness(0.96); }

.nb-auth-btn--secondary {
    border: 1px solid var(--hs-border-strong);
    background: var(--hs-surface);
    color: var(--hs-text);
}

.nb-auth-btn--secondary:hover { background: var(--hs-bg); }

.nb-auth-btn--google {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    border: 1px solid var(--hs-border-strong);
    background: #fff;
    color: var(--hs-text);
    font-weight: 600;
}

.nb-auth-btn--google:hover { background: var(--hs-bg); }

.nb-auth-google__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.nb-auth-divider--oauth {
    margin: 0.85rem 0 0.75rem;
}

.nb-auth-btn--ghost {
    border: 1px solid var(--hs-border-strong);
    background: transparent;
    color: var(--hs-text-soft);
    font-weight: 600;
    opacity: 0.85;
}

.nb-auth-btn--ghost:hover { background: var(--hs-bg); color: var(--hs-text); }

.nb-auth-divider {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--hs-text-muted);
    font-size: 0.75rem;
}

.nb-auth-divider::before,
.nb-auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--hs-border);
}

.nb-auth-social {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.nb-auth-footer {
    text-align: center;
    font-size: 0.82rem;
    color: var(--hs-text-soft);
}

.nb-auth-sheet__guest {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--hs-border);
}

.nb-auth-guest-hint {
    margin: 0.5rem 0 0;
    font-size: 0.75rem;
    color: var(--hs-text-soft);
    text-align: center;
    line-height: 1.4;
}

.nb-discover-retry {
    display: inline-block;
    margin-top: 0.65rem;
    padding: 0.45rem 1rem;
    border: none;
    border-radius: 999px;
    background: var(--tw-blue);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

.nb-auth-link {
    border: none;
    background: transparent;
    color: var(--hs-brand);
    font: inherit;
    font-size: inherit;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
}

.nb-auth-link--inline {
    display: inline;
    font-size: inherit;
}

.nb-auth-forgot__title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--hs-text);
    margin-bottom: 0.35rem;
}

.nb-auth-forgot__hint {
    font-size: 0.84rem;
    color: var(--hs-text-soft);
    margin-bottom: 0.85rem;
    line-height: 1.45;
}

.nb-auth-feedback {
    font-size: 0.82rem;
    color: #dc2626;
    line-height: 1.4;
}

.nb-auth-feedback.text-emerald-600 { color: #059669; }

.nb-auth-form__grid {
    display: grid;
    grid-template-columns: minmax(0, 5.5rem) minmax(0, 1fr);
    gap: 0.65rem;
}

/* Kayıt sekmesi — tek ekran, minimal üst alan */
.nb-auth-sheet__panel--register {
    max-width: 22.5rem;
    height: auto;
    max-height: 100dvh;
}

.nb-auth-sheet__panel--register .nb-auth-sheet__head {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 2;
    border: none;
    padding: 0;
    background: transparent;
    pointer-events: none;
}

.nb-auth-sheet__panel--register .nb-auth-sheet__close {
    pointer-events: auto;
    top: max(0.35rem, env(safe-area-inset-top));
    right: 0.35rem;
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
}

.nb-auth-sheet__panel--register .nb-auth-sheet__badge,
.nb-auth-sheet__panel--register .nb-auth-sheet__brand,
.nb-auth-sheet__panel--register .nb-auth-sheet__headline,
.nb-auth-sheet__panel--register .nb-auth-sheet__tagline {
    display: none;
}

.nb-auth-sheet__panel--register .nb-auth-sheet__body {
    flex: 0 1 auto;
    overflow: visible;
    padding: max(0.45rem, env(safe-area-inset-top)) 0.75rem calc(0.65rem + env(safe-area-inset-bottom));
}

.nb-auth-sheet__panel--register .nb-auth-tabs {
    margin-bottom: 0.5rem;
    padding: 0.2rem;
}

.nb-auth-sheet__panel--register .nb-auth-tabs__btn {
    min-height: 36px;
    font-size: 0.8rem;
}

.nb-auth-sheet__panel--register .nb-auth-form--register {
    gap: 0.4rem;
}

.nb-auth-sheet__panel--register .nb-auth-form--register .nb-auth-field__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.nb-auth-sheet__panel--register .nb-auth-form--register .nb-auth-field__input {
    min-height: 38px;
    padding: 0.45rem 0.7rem;
    font-size: 0.88rem;
    border-radius: 9px;
}

.nb-auth-sheet__panel--register .nb-auth-form--register .nb-auth-field--password .nb-auth-field__input {
    padding-right: 4rem;
}

.nb-auth-sheet__panel--register .nb-auth-form--register .nb-auth-field__toggle {
    min-width: 36px;
    min-height: 36px;
    font-size: 0.72rem;
}

.nb-auth-sheet__panel--register .nb-auth-form__grid {
    gap: 0.4rem;
    grid-template-columns: minmax(0, 4.75rem) minmax(0, 1fr);
}

.nb-auth-sheet__panel--register .nb-auth-btn {
    min-height: 40px;
    margin-top: 0.15rem;
    padding: 0.5rem 0.85rem;
    font-size: 0.86rem;
}

.nb-auth-sheet__panel--register .nb-auth-trust {
    margin-top: 0.15rem;
    font-size: 0.62rem;
    line-height: 1.3;
    text-align: center;
}

.nb-auth-sheet__panel--register .nb-auth-feedback {
    font-size: 0.75rem;
    margin: 0;
}

@media (min-width: 640px) {
    .nb-auth-sheet.is-open {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1.5rem;
    }

    .nb-auth-sheet__panel {
        height: auto;
        max-height: min(92vh, 720px);
        border-radius: 16px;
        border: 1px solid var(--hs-border);
        box-shadow: 0 16px 48px rgba(15, 20, 25, 0.14);
    }

    .nb-auth-sheet__panel--register {
        max-height: none;
        overflow: visible;
    }

    .nb-auth-sheet__panel--register .nb-auth-sheet__body {
        overflow: visible;
    }
}

/* Profile identity extras */
.nb-profile-field__hint {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.75rem;
    color: var(--hs-text-muted);
    line-height: 1.4;
}
.nb-profile-field__textarea {
    width: 100%;
    min-height: 4.5rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--hs-border);
    border-radius: 12px;
    font: inherit;
    font-size: 0.92rem;
    resize: vertical;
    background: var(--hs-surface);
    color: var(--hs-text);
}
.nb-profile-field__textarea:focus {
    outline: none;
    border-color: var(--hs-accent);
    box-shadow: 0 0 0 3px rgba(29, 155, 240, 0.15);
}
.nb-profile-field--checkbox {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.88rem;
    color: var(--hs-text);
    cursor: pointer;
}
.nb-profile-field--checkbox input {
    width: 1rem;
    height: 1rem;
    accent-color: var(--hs-accent);
}
.nb-profile-handle-input-wrap {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.nb-profile-handle-input__prefix {
    font-size: 0.92rem;
    color: var(--hs-text-muted);
    font-weight: 600;
}
.nb-profile-handle-input {
    flex: 1;
}

/* Public profile */
body.nb-public-profile-open { overflow-x: hidden; }
.nb-public-profile.is-hidden { display: none; }
.nb-public-profile__head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.75rem;
    border-bottom: 1px solid var(--hs-border);
    background: var(--hs-surface);
    position: sticky;
    top: 0;
    z-index: 20;
}
.nb-public-profile__head-title {
    flex: 1;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    text-align: center;
}
.nb-public-profile__head-spacer { width: 36px; }
.nb-public-profile__hero {
    display: flex;
    gap: 0.85rem;
    padding: 1rem 0.85rem 0.5rem;
}
.nb-public-profile__avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #1d9bf0, #7856ff);
    color: #fff;
    flex-shrink: 0;
}
.nb-public-profile__info { min-width: 0; }
.nb-public-profile__name {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.25;
}
.nb-public-profile__handle {
    margin: 0.15rem 0 0;
    font-size: 0.88rem;
    color: var(--hs-text-muted);
}
.nb-public-profile__meta {
    margin: 0.25rem 0 0;
    font-size: 0.82rem;
    color: var(--hs-text-soft);
}
.nb-public-profile__bio {
    margin: 0.45rem 0 0;
    font-size: 0.9rem;
    line-height: 1.45;
    white-space: pre-wrap;
}
.nb-public-profile__status {
    padding: 0 0.85rem 0.5rem;
    font-size: 0.82rem;
    color: var(--hs-text-soft);
}
.nb-public-profile__status--error { color: #ef4444; }
.nb-public-profile__posts { padding-top: 0.25rem; }
.nb-post__handle-link {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: var(--hs-text-muted);
    cursor: pointer;
}
.nb-post__handle-link:hover { color: var(--hs-accent); text-decoration: underline; }

/* Feed skeleton */
.nb-card--skeleton {
    display: flex;
    gap: 0.75rem;
    padding: 0.95rem 1rem;
    pointer-events: none;
    background: var(--hs-surface);
    border: 1px solid var(--nb-border);
    border-radius: var(--nb-radius-card);
    box-shadow: var(--nb-shadow-sm);
}
.nb-skeleton {
    background: linear-gradient(90deg, #eef2f6 25%, #f8fafc 50%, #eef2f6 75%);
    background-size: 200% 100%;
    animation: nb-skeleton-shimmer 1.2s ease-in-out infinite;
    border-radius: 8px;
}
.nb-skeleton--avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    flex-shrink: 0;
}
.nb-skeleton-lines { flex: 1; display: flex; flex-direction: column; gap: 0.45rem; }
.nb-skeleton--line { height: 0.75rem; width: 100%; }
.nb-skeleton--short { width: 45%; }
@keyframes nb-skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* PR-M — quote embed, save, drafts, saved sheet */
.nb-composer-trigger__draft {
    margin-left: 0.35rem;
    padding: 0.1rem 0.45rem;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--hs-accent);
    background: rgba(59, 130, 246, 0.12);
    border-radius: 999px;
}
.nb-compose-quote {
    margin: 0.75rem 0 0;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--hs-border);
    border-radius: 12px;
    background: var(--hs-surface-muted, #f8fafc);
}
.nb-compose-quote__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.45rem;
}
.nb-compose-quote__label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--hs-text-muted);
}
.nb-compose-quote__remove {
    border: none;
    background: none;
    font: inherit;
    font-size: 0.75rem;
    color: var(--hs-accent);
    cursor: pointer;
    padding: 0.15rem 0.25rem;
}
.nb-compose-quote__card .nb-post__quote {
    width: 100%;
    text-align: left;
}
.nb-post__quote {
    display: block;
    width: 100%;
    margin: 0.55rem 0 0;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--hs-border);
    border-left: 3px solid var(--hs-accent);
    border-radius: 10px;
    background: var(--hs-surface-muted, #f8fafc);
    cursor: pointer;
    text-align: left;
}
.nb-post__quote--compact {
    margin: 0;
    padding: 0.55rem 0.65rem;
}
.nb-post__quote-head {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--hs-text);
    margin-bottom: 0.25rem;
}
.nb-post__quote-text {
    margin: 0;
    font-size: 0.85rem;
    color: var(--hs-text-muted);
    line-height: 1.35;
}
.nb-post__action--quote,
.nb-post__action--save {
    font-size: 1rem;
    line-height: 1;
}
.nb-post__action--save.is-saved {
    color: var(--hs-accent);
}
.nb-profile-saved-link {
    display: block;
    width: 100%;
    margin-top: 0.65rem;
    padding: 0.55rem 0;
    border: none;
    border-top: 1px solid var(--hs-border);
    background: none;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--hs-text);
    text-align: left;
    cursor: pointer;
}
.nb-profile-saved-link:hover { color: var(--hs-accent); }
.nb-saved-sheet__body { padding: 0; }
.nb-saved-loading,
.nb-saved-empty {
    padding: 1rem;
    text-align: center;
    color: var(--hs-text-muted);
    font-size: 0.9rem;
}
body.nb-saved-open { overflow: hidden; }

/* PR-N — catch-up banner, notification depth */
.nb-catchup {
    position: relative;
    margin: 0.65rem 0.85rem 0;
    padding: 0.75rem 0.85rem;
    border-radius: 14px;
    border: 1px solid rgba(29, 155, 240, 0.25);
    background: linear-gradient(135deg, #f0f9ff 0%, #eef6ff 100%);
}
.nb-catchup__dismiss {
    position: absolute;
    top: 0.45rem;
    right: 0.45rem;
    border: none;
    background: transparent;
    font-size: 0.85rem;
    color: var(--hs-text-muted);
    cursor: pointer;
    padding: 0.2rem 0.35rem;
}
.nb-catchup__title {
    margin: 0 0 0.25rem;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--hs-accent);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.nb-catchup__text {
    margin: 0 1.5rem 0.55rem 0;
    font-size: 0.88rem;
    line-height: 1.4;
    color: var(--hs-text);
}
.nb-catchup__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.nb-catchup__btn {
    border: none;
    border-radius: 999px;
    padding: 0.4rem 0.75rem;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    background: var(--hs-accent);
    color: #fff;
}
.nb-catchup__btn--secondary {
    background: rgba(29, 155, 240, 0.12);
    color: var(--hs-accent);
}

/* PR-O — mentions, linked poll, comment replies */
.nb-mention {
    border: none;
    background: none;
    padding: 0;
    font: inherit;
    color: var(--hs-accent);
    cursor: pointer;
}
.nb-mention:hover { text-decoration: underline; }
.nb-post__linked-poll {
    display: inline-block;
    margin-top: 0.45rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--hs-accent);
    text-decoration: none;
}
.nb-post__linked-poll:hover { text-decoration: underline; }
.nb-comment--reply { margin-left: 1.25rem; }
.nb-comment__reply-to {
    display: block;
    font-size: 0.72rem;
    color: var(--hs-text-muted);
    margin-bottom: 0.15rem;
}
.nb-comment__actions {
    display: flex;
    gap: 0.65rem;
    margin-top: 0.25rem;
}
.nb-comment__reply,
.nb-comment__report {
    border: none;
    background: none;
    font: inherit;
    font-size: 0.72rem;
    color: var(--hs-text-muted);
    cursor: pointer;
    padding: 0;
}
.nb-comment__reply:hover { color: var(--hs-accent); }
.nb-comment-reply-banner {
    margin: 0;
    padding: 0.45rem 1rem;
    font-size: 0.78rem;
    color: var(--hs-accent);
    background: #f0f9ff;
    border-top: 1px solid var(--hs-border);
}
.nb-comment-reply-banner button {
    margin-left: 0.5rem;
    border: none;
    background: none;
    font: inherit;
    color: var(--hs-text-muted);
    cursor: pointer;
}
.nb-result-item--post {
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--hs-border);
}

/* Arena — threads, mentions, city people, profile banner */
.nb-compose-thread {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0.5rem 0 0;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.2);
    font-size: 0.82rem;
}
.nb-compose-thread__cancel {
    border: none;
    background: none;
    color: var(--hs-accent);
    font: inherit;
    cursor: pointer;
}
.nb-compose-mentions {
    position: relative;
    z-index: 2;
    margin-top: -0.25rem;
    border: 1px solid var(--hs-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}
.nb-compose-mentions__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 0.55rem 0.75rem;
    border: none;
    background: #fff;
    text-align: left;
    cursor: pointer;
    font: inherit;
}
.nb-compose-mentions__item:hover { background: #f8fafc; }
.nb-compose-mentions__handle { font-size: 0.75rem; color: var(--hs-text-muted); }
.nb-post__thread-badge {
    display: inline-flex;
    margin: 0.35rem 0 0;
    padding: 0.2rem 0.55rem;
    border: none;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.12);
    color: var(--hs-accent);
    font: inherit;
    font-size: 0.75rem;
    cursor: pointer;
}
.nb-post-detail__chain { padding: 0 1rem; }
.nb-post-detail__chain-part { border-top: 1px solid var(--hs-border); padding-top: 0.5rem; }
.nb-trends-city-people { margin: 1rem 0; }
.nb-trends-city-people__title { margin: 0 0 0.5rem; font-size: 0.9rem; }
.nb-trends-city-people__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.nb-trends-city-people__btn {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.55rem 0.65rem;
    border: 1px solid var(--hs-border);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    font: inherit;
    text-align: left;
}
.nb-trends-city-people__meta { font-size: 0.75rem; color: var(--hs-text-muted); }
.nb-trends-city-people__demo { font-size: 0.65rem; color: #94a3b8; text-transform: uppercase; }
.nb-public-profile__banner {
    height: 120px;
    margin: -0.5rem -1rem 0.75rem;
    background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
    background-size: cover;
    background-position: center;
    border-radius: 0 0 16px 16px;
}
.nb-public-profile__pinned { padding: 0 1rem 0.5rem; }
.nb-public-profile__pinned-label { margin: 0 0 0.35rem; font-size: 0.78rem; color: var(--hs-text-muted); }
.nb-public-profile__dm,
.nb-public-profile__block,
.nb-public-profile__mute { margin-left: 0.5rem; }
.nb-post__repost-line {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0 1rem 0.35rem;
    font-size: 0.78rem;
    color: var(--hs-text-muted);
}
.nb-post__repost-link {
    border: 0;
    background: none;
    padding: 0;
    color: var(--hs-primary);
    font-weight: 600;
    cursor: pointer;
}
.nb-post__edited { color: var(--hs-text-muted); font-size: 0.78rem; }
.nb-post__head { position: relative; }
.nb-post__menu-wrap { margin-left: auto; position: relative; }
.nb-post__menu-btn {
    border: 0;
    background: none;
    color: var(--hs-text-muted);
    font-size: 1.1rem;
    line-height: 1;
    padding: 0 0.25rem;
    cursor: pointer;
}
.nb-post__menu {
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 5;
    min-width: 8rem;
    background: var(--hs-surface);
    border: 1px solid var(--hs-border);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}
.nb-post__menu button {
    display: block;
    width: 100%;
    border: 0;
    background: none;
    text-align: left;
    padding: 0.6rem 0.85rem;
    font-size: 0.88rem;
    cursor: pointer;
}
.nb-post__menu button:hover { background: var(--hs-surface-muted, rgba(0, 0, 0, 0.04)); }
.nb-community-feed-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0 1rem 0.5rem;
    padding: 0.65rem 0.85rem;
    border-radius: 12px;
    background: var(--hs-surface-muted, rgba(0, 0, 0, 0.04));
    font-size: 0.88rem;
}
.nb-readonly-banner {
    margin: 0 1rem 0.75rem;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.18);
    font-size: 0.88rem;
    line-height: 1.45;
}
.nb-readonly-banner[hidden] { display: none; }
.nb-readonly-banner__text { margin: 0 0 0.35rem; }
.nb-readonly-banner__link {
    display: inline-block;
    font-weight: 600;
    color: var(--hs-accent, #2563eb);
    text-decoration: none;
}
.nb-readonly-banner__link:hover { text-decoration: underline; }
.nb-community-feed-banner__close {
    border: 0;
    background: none;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    color: var(--hs-text-muted);
}
.nb-communities-list__name-link {
    border: 0;
    background: none;
    padding: 0;
    text-align: left;
    cursor: pointer;
}
.nb-public-profile__tabs {
    display: flex;
    gap: 0.25rem;
    padding: 0 1rem 0.5rem;
    border-bottom: 1px solid var(--hs-border);
}
.nb-public-profile__tab {
    border: 0;
    background: none;
    padding: 0.55rem 0.75rem;
    font-size: 0.88rem;
    color: var(--hs-text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
}
.nb-public-profile__tab.is-active {
    color: var(--hs-primary);
    border-bottom-color: var(--hs-primary);
    font-weight: 600;
}
.nb-profile-prefs__title,
.nb-profile-mutes .nb-profile-prefs__title {
    margin: 1rem 0 0.5rem;
    font-size: 0.95rem;
}
.nb-profile-mutes__add {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.5rem;
}
.nb-profile-mutes__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.35rem;
}
.nb-profile-mutes__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 0.65rem;
    border: 1px solid var(--hs-border);
    border-radius: 8px;
    font-size: 0.88rem;
}
.nb-profile-mutes__item button {
    border: 0;
    background: none;
    color: var(--hs-text-muted);
    cursor: pointer;
}
.nb-hashtag {
    border: 0;
    background: none;
    padding: 0;
    color: var(--hs-primary);
    font-weight: 600;
    cursor: pointer;
}
.nb-compose-community {
    padding: 0 1rem 0.5rem;
}
.nb-compose-community__label {
    display: block;
    font-size: 0.78rem;
    color: var(--hs-text-muted);
    margin-bottom: 0.25rem;
}
.nb-compose-community__select {
    width: 100%;
    padding: 0.5rem 0.65rem;
    border: 1px solid var(--hs-border);
    border-radius: 10px;
    background: var(--hs-surface);
    font-size: 0.88rem;
}
.nb-communities-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.nb-communities-list__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 1px solid var(--hs-border);
    border-radius: 12px;
    background: #fff;
}
.nb-communities-list__desc { margin: 0.2rem 0 0; font-size: 0.78rem; color: var(--hs-text-muted); }
.nb-communities-list__meta { font-size: 0.72rem; color: var(--hs-text-muted); }
.nb-communities-list__join {
    flex-shrink: 0;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--hs-accent);
    background: #fff;
    color: var(--hs-accent);
    font: inherit;
    font-size: 0.78rem;
    cursor: pointer;
}
.nb-communities-list__join.is-member { opacity: 0.7; }

/* DM full screen */
.nb-dm-screen {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    flex-direction: column;
    background: var(--hs-bg, #f8fafc);
}
.nb-dm-screen.is-open { display: flex; }
body.nb-dm-open { overflow: hidden; }
.nb-dm-screen__head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.75rem;
    border-bottom: 1px solid var(--hs-border);
    background: #fff;
}
.nb-dm-screen__head-text { flex: 1; min-width: 0; }
.nb-dm-screen__title { margin: 0; font-size: 1rem; }
.nb-dm-screen__sub { margin: 0; font-size: 0.75rem; color: var(--hs-text-muted); }
.nb-dm-layout { flex: 1; display: flex; min-height: 0; }
.nb-dm-inbox {
    width: 100%;
    max-width: 360px;
    border-right: 1px solid var(--hs-border);
    background: #fff;
    overflow-y: auto;
}
.nb-dm-inbox__item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-bottom: 1px solid var(--hs-border);
    background: #fff;
    text-align: left;
    cursor: pointer;
    font: inherit;
}
.nb-dm-inbox__item.is-active { background: #f0f9ff; }
.nb-dm-inbox__name { display: block; font-weight: 600; font-size: 0.88rem; }
.nb-dm-inbox__preview { display: block; font-size: 0.78rem; color: var(--hs-text-muted); }
.nb-dm-inbox__time { font-size: 0.68rem; color: var(--hs-text-muted); flex-shrink: 0; }
.nb-dm-chat {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #f8fafc;
}
.nb-dm-chat.is-empty .nb-dm-composer,
.nb-dm-chat.is-empty .nb-dm-messages { display: none; }
.nb-dm-chat__head { padding: 0.75rem 1rem; border-bottom: 1px solid var(--hs-border); background: #fff; }
.nb-dm-chat__title { margin: 0; font-size: 0.95rem; }
.nb-dm-messages { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.nb-dm-msg { max-width: 82%; align-self: flex-start; background: #fff; border: 1px solid var(--hs-border); border-radius: 14px 14px 14px 4px; padding: 0.5rem 0.75rem; }
.nb-dm-msg--mine { align-self: flex-end; background: #e0f2fe; border-color: #bae6fd; border-radius: 14px 14px 4px 14px; }
.nb-dm-msg__text { margin: 0; font-size: 0.88rem; white-space: pre-wrap; }
.nb-dm-msg__time { display: block; margin-top: 0.2rem; font-size: 0.65rem; color: var(--hs-text-muted); }
.nb-dm-composer {
    display: flex;
    gap: 0.5rem;
    padding: 0.65rem;
    border-top: 1px solid var(--hs-border);
    background: #fff;
}
.nb-dm-composer__input {
    flex: 1;
    resize: none;
    border: 1px solid var(--hs-border);
    border-radius: 12px;
    padding: 0.55rem 0.75rem;
    font: inherit;
    max-height: 120px;
}
.nb-dm-composer__send {
    flex-shrink: 0;
    border: none;
    border-radius: 999px;
    padding: 0.5rem 1rem;
    background: var(--hs-accent, #0ea5e9);
    color: #fff;
    font: inherit;
    cursor: pointer;
}
.nb-dm-composer__send:disabled { opacity: 0.5; cursor: not-allowed; }
.nb-dm__avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; flex-shrink: 0; font-size: 0.85rem; font-weight: 600; }
.nb-dm__avatar img { width: 100%; height: 100%; object-fit: cover; }
.nb-dm__empty { margin: 1rem; color: var(--hs-text-muted); font-size: 0.85rem; text-align: center; }
@media (max-width: 768px) {
    .nb-dm-inbox.is-hidden-mobile { display: none; }
    .nb-dm-inbox { max-width: none; width: 100%; }
    .nb-dm-chat:not(.is-empty) { display: flex; }
}
@media (min-width: 769px) {
    .nb-dm-chat.is-empty { align-items: center; justify-content: center; }
    .nb-dm-chat.is-empty .nb-dm-chat__head { display: none; }
    .nb-dm-inbox.is-hidden-mobile { display: block; }
}

/* Profile banner editor */
.nb-profile-banner-preview {
    height: 100px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0ea5e9, #6366f1);
    background-size: cover;
    background-position: center;
    margin: 0.35rem 0 0.65rem;
}
.nb-profile-banner-preview.has-image { border: 1px solid var(--hs-border); }
.nb-profile-banner-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.nb-post__action--pin { color: var(--hs-accent); }
.nb-bottom-nav__item--dm { flex: 0.85; }
