:root {
    --nbh-text: #151725;
    --nbh-muted: #6b7280;
    --nbh-line: rgba(15, 23, 42, .08);
    --nbh-accent: #6654ff;
    --nbh-accent-dark: #5140ee;
    --nbh-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    --nbh-surface:
        radial-gradient(140% 180% at 0% 0%, rgba(111, 86, 255, .17) 0%, rgba(111, 86, 255, .065) 36%, transparent 59%),
        radial-gradient(140% 180% at 100% 0%, rgba(105, 181, 255, .17) 0%, rgba(105, 181, 255, .06) 38%, transparent 61%),
        linear-gradient(90deg, #f3f1ff 0%, #fcfbff 49%, #eef6ff 100%);
}

body.nbpc-page .nbh-hero {
    position: relative;
    width: min(1760px, calc(100% - clamp(32px, 5vw, 96px)));
    margin-right: auto;
    margin-bottom: 20px;
    margin-left: auto;
    padding: clamp(28px, 3vw, 44px) clamp(24px, 2.4vw, 36px);
    overflow: hidden;
    overflow: clip;
    background: var(--nbh-surface);
    border: 1px solid rgba(91, 75, 255, .12);
    border-radius: 18px;
    box-shadow: 0 5px 22px rgba(35, 31, 75, .05);
    box-sizing: border-box;
    isolation: isolate;
}

.nbh-hero::before { display: none; content: ""; }

.nbh-hero__top {
    display: block;
    min-width: 0;
    max-width: 720px;
}

.nbh-hero--live .nbh-hero__top {
    max-width: none;
}

.nbh-hero__offer {
    display: block;
    min-width: 0;
}

.nbh-hero--live .nbh-hero__offer {
    display: grid;
    grid-template-columns: minmax(0, 26rem) minmax(0, 1fr);
    align-items: start;
    gap: clamp(10px, 1.2vw, 18px);
}

.nbh-copy__intro { min-width: 0; }
.nbh-hero__aside {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 14px;
}

.nbh-title {
    max-width: 18em;
    margin: 0;
    color: var(--nbh-text);
    font-size: clamp(24px, 2.1vw, 32px);
    font-weight: 650;
    line-height: 1.22;
    letter-spacing: -.02em;
    text-wrap: pretty;
}

.nbh-hero--live .nbh-title { max-width: 18em; }

.nbh-title span { color: var(--nbh-text); background: none; }

.nbh-description {
    max-width: 42ch;
    margin: 14px 0 0;
    color: var(--nbh-muted);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: -.01em;
}

.nbh-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.nbh-button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.nbh-button--primary {
    color: #fff;
    background: linear-gradient(135deg, #715fff, #5945ed);
    border-color: #6554f5;
    box-shadow: 0 8px 20px rgba(91, 75, 255, .24);
}
.nbh-button--secondary {
    color: #303343;
    background: #fff;
    border-color: #e4e5ee;
    box-shadow: 0 3px 10px rgba(26, 24, 61, .025);
}
@media (hover:hover) {
    .nbh-button:hover { text-decoration: none; }
    .nbh-button--primary:hover {
        color: #fff;
        background: linear-gradient(135deg, #7a69ff, #5140ee);
        box-shadow: 0 10px 25px rgba(91, 75, 255, .32);
        transform: translateY(-1px);
    }
    .nbh-button--secondary:hover {
        color: #4c3be0;
        background: #f5f3ff;
        border-color: #d5d1ff;
    }
}
.nbh-button--primary:active {
    color: #fff;
    background: linear-gradient(135deg, #5945ed, #4634d8);
    box-shadow: 0 4px 12px rgba(91, 75, 255, .22);
    transform: none;
}
.nbh-button--secondary:active {
    background: #efeaff;
    border-color: #cfc8ff;
}
.nbh-button:focus-visible { outline: 2px solid rgba(102, 84, 255, .35); outline-offset: 2px; }

.nbh-copy__meta {
    display: grid;
    gap: 12px;
    margin-top: 16px;
    min-width: 0;
}
.nbh-copy__rule {
    width: 100%;
    max-width: 220px;
    height: 1px;
    background: linear-gradient(90deg, rgba(102, 84, 255, .28), rgba(102, 84, 255, 0));
}
.nbh-copy__rule--soft {
    max-width: 160px;
    background: linear-gradient(90deg, rgba(15, 23, 42, .12), rgba(15, 23, 42, 0));
}

.nbh-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 0;
}
.nbh-social__invite {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4a4e63;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
}
.nbh-social__invite-arrow {
    color: #229ed9;
    font-size: 15px;
    line-height: 1;
}
.nbh-social__invite:hover {
    color: #151725;
    text-decoration: none;
}

.nbh-plus {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--nbh-text);
    cursor: pointer;
    font: inherit;
}
.nbh-plus__mark {
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    border-radius: 999px;
    background: #151725;
    color: #fff;
    font-size: 42px;
    font-weight: 500;
    line-height: 1;
}
.nbh-plus__label {
    font-size: 14px;
    font-weight: 650;
    line-height: 1.2;
}
.nbh-plus:hover .nbh-plus__mark,
.nbh-plus:focus-visible .nbh-plus__mark { background: #2a2d42; }
.nbh-plus:focus-visible { outline: none; }
.nbh-plus:focus-visible .nbh-plus__mark { outline: 2px solid rgba(102, 84, 255, .35); outline-offset: 3px; }

html.nbh-quick-open { overflow: hidden; }
.nbh-quick:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: 10000;
}
.nbh-quick__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(21, 23, 37, .46);
}
.nbh-quick__panel {
    position: relative;
    width: min(440px, calc(100% - 32px));
    max-height: min(720px, calc(100% - 32px));
    margin: 48px auto;
    padding: 22px 22px 18px;
    overflow: auto;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(21, 23, 37, .18);
    box-sizing: border-box;
}
.nbh-quick__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #4a4e63;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
}
.nbh-quick__panel h2 {
    margin: 0 36px 14px 0;
    color: var(--nbh-text);
    font-size: 22px;
    font-weight: 680;
    letter-spacing: -.02em;
    line-height: 1.2;
}
.nbh-quick__lead {
    margin: 0 0 16px;
    color: var(--nbh-muted);
    font-size: 15px;
    line-height: 1.45;
}
.nbh-quick__form,
.nbh-quick__auth { display: grid; gap: 12px; }
.nbh-quick__drop {
    display: grid;
    min-height: 120px;
    place-items: center;
    padding: 16px;
    border: 1px dashed rgba(102, 84, 255, .45);
    border-radius: 14px;
    background: #f7f6ff;
    color: var(--nbh-text);
    text-align: center;
    cursor: pointer;
}
.nbh-quick__drop input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nbh-quick__drop span { font-size: 14px; font-weight: 650; }
.nbh-quick__preview img,
.nbh-quick__preview video {
    display: block;
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 12px;
    background: #f3f4f6;
}
.nbh-quick__field { display: grid; gap: 6px; }
.nbh-quick__field span { color: #4a4e63; font-size: 13px; font-weight: 650; }
.nbh-quick__hint {
    margin: -4px 0 0;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.35;
}
.nbh-quick__field input,
.nbh-quick__field textarea,
.nbh-quick__field select {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #e4e5ee;
    border-radius: 10px;
    padding: 10px 12px;
    color: var(--nbh-text);
    background: #fff;
    font: inherit;
    font-size: 14px;
}
.nbh-quick__submit,
.nbh-quick__ghost {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    padding: 0 16px;
    font: inherit;
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
    cursor: pointer;
}
.nbh-quick__submit { background: #151725; color: #fff; }
.nbh-quick__submit:hover { background: #2a2d42; }
.nbh-quick__ghost { background: #fff; color: #151725; border: 1px solid #e4e5ee; }
.nbh-quick .nbps-alert {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f6f7f9;
    color: var(--nbh-text);
    font-size: 14px;
    line-height: 1.4;
}
.nbh-quick .nbps-alert strong { display: block; margin-bottom: 4px; }
.nbh-quick .nbps-alert a { color: #5140ee; }
.nbh-social__list {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}
.nbh-social__btn {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    color: #4a4e63;
    background: #fff;
    border: 1px solid #e4e5ee;
    border-radius: 9px;
    text-decoration: none;
    transition: transform .16s ease, color .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.nbh-social__btn svg {
    width: 15px;
    height: 15px;
}
.nbh-social__vc {
    display: inline-block;
    font-family: Georgia, "Times New Roman", "PT Serif", serif;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1;
}
@media (hover:hover) {
    .nbh-social__btn:hover {
        text-decoration: none;
        transform: translateY(-1px);
    }
    .nbh-social__btn--telegram:hover {
        color: #fff;
        background: #229ed9;
        border-color: #1e8fc4;
        box-shadow: 0 6px 14px rgba(34, 158, 217, .28);
    }
    .nbh-social__btn--instagram:hover {
        color: #fff;
        background: linear-gradient(145deg, #f58529, #dd2a7b 48%, #8134af);
        border-color: transparent;
        box-shadow: 0 6px 14px rgba(221, 42, 123, .26);
    }
    .nbh-social__btn--youtube:hover {
        color: #fff;
        background: #ff0000;
        border-color: #e00000;
        box-shadow: 0 6px 14px rgba(255, 0, 0, .24);
    }
    .nbh-social__btn--vc:hover {
        color: #111;
        background: #fdf1f2;
        border-color: rgba(15, 23, 42, .12);
        box-shadow: 0 6px 14px rgba(15, 23, 42, .08);
    }
}
.nbh-social__btn:focus-visible {
    outline: 2px solid rgba(102, 84, 255, .35);
    outline-offset: 2px;
}

.nbh-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 0;
    min-width: 0;
}
.nbh-tool-chip {
    display: inline-flex;
    min-height: 30px;
    max-width: 100%;
    align-items: center;
    gap: 6px;
    padding: 0 11px 0 8px;
    color: #303343;
    background: #fff;
    border: 1px solid #e4e5ee;
    border-radius: 9px;
    box-shadow: 0 2px 8px rgba(26, 24, 61, .02);
    box-sizing: border-box;
    font-size: 12px;
    font-weight: 650;
    line-height: 1;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.nbh-tool-chip__logo {
    display: block;
    flex: 0 0 15px;
    width: 15px;
    height: 15px;
    object-fit: contain;
    border-radius: 4px;
}
.nbh-tool-chip__logo.is-generic {
    color: #70778a;
}
.nbh-tool-chip__name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
@media (hover:hover) {
    .nbh-tool-chip:hover {
        color: #4c3be0;
        background: #f5f3ff;
        border-color: #d5d1ff;
        text-decoration: none;
    }
}
.nbh-tool-chip:focus-visible {
    outline: 2px solid rgba(102, 84, 255, .35);
    outline-offset: 2px;
}

/* Горизонтальная бесконечная полоска справа от заголовка и описания. */
.nbh-live {
    position: relative;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    box-sizing: border-box;
}
.nbh-live::before,
.nbh-live::after {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: 22px;
    pointer-events: none;
    content: "";
}
.nbh-live::before {
    left: 0;
    background: linear-gradient(90deg, #f7f5ff 0%, rgba(247, 245, 255, 0) 100%);
}
.nbh-live::after {
    right: 0;
    background: linear-gradient(270deg, #eef6ff 0%, rgba(238, 246, 255, 0) 100%);
}
.nbh-live__stage {
    overflow: hidden;
    width: 100%;
}
.nbh-live__track {
    display: flex;
    width: max-content;
    align-items: stretch;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    animation: nbh-live-left 48s linear infinite;
}
.nbh-live__set {
    display: flex;
    flex: 0 0 auto;
    align-items: stretch;
    gap: 10px;
    padding-right: 10px;
    box-sizing: content-box;
}
.nbh-live.is-paused .nbh-live__track,
.nbh-live__stage:hover .nbh-live__track {
    animation-play-state: paused;
}

@keyframes nbh-live-left {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

.nbh-showcase-card {
    display: block;
    flex: 0 0 118px;
    width: 118px;
    min-width: 118px;
    color: inherit;
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--nbh-line);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none;
    transition: border-color .15s ease;
}
.nbh-showcase-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #eef0f4;
}
.nbh-showcase-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.nbh-showcase-card__text {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding: 8px;
    color: #5b6172;
    font-size: 10px;
    font-weight: 560;
    line-height: 1.3;
    text-align: center;
    box-sizing: border-box;
}
.nbh-showcase-card__hover {
    display: none;
}
@media (hover: hover) {
    .nbh-showcase-card:hover {
        border-color: rgba(102, 84, 255, .24);
        text-decoration: none;
    }
}
.nbh-showcase-card:focus-visible {
    outline: 2px solid rgba(102, 84, 255, .35);
    outline-offset: 2px;
}

.nbh-section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.nbh-section-head > div { min-width: 0; }
.nbh-section-head h2,
.nbh-section-title { margin: 0; color: var(--nbh-text); font-size: 20px; font-weight: 680; line-height: 1.15; letter-spacing: -.025em; }

.nbh-title-link {
    display: inline-grid;
    justify-items: start;
    align-items: baseline;
    max-width: 100%;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: color .16s ease;
}
.nbh-title-link__default,
.nbh-title-link__action {
    grid-area: 1 / 1;
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    white-space: nowrap;
    transition: opacity .16s ease;
}
.nbh-title-link__action {
    opacity: 0;
    pointer-events: none;
    color: #5f49ee;
}
.nbh-title-link__arrow {
    display: inline-block;
    flex: 0 0 auto;
    color: #5f49ee;
    font-weight: 650;
    opacity: .38;
    transform: translateX(0);
    transition: opacity .16s ease, transform .16s ease, color .16s ease;
}
@media (hover: hover) {
    .nbh-title-link:hover,
    .nbh-title-link:focus-visible { color: #5f49ee; }
    .nbh-title-link:hover .nbh-title-link__default,
    .nbh-title-link:focus-visible .nbh-title-link__default { opacity: 0; }
    .nbh-title-link:hover .nbh-title-link__action,
    .nbh-title-link:focus-visible .nbh-title-link__action { opacity: 1; }
    .nbh-title-link:hover .nbh-title-link__action .nbh-title-link__arrow,
    .nbh-title-link:focus-visible .nbh-title-link__action .nbh-title-link__arrow {
        opacity: 1;
        transform: translateX(2px);
        color: #5140ee;
    }
}
.nbh-title-link:focus-visible {
    outline: 2px solid rgba(101, 84, 245, .28);
    outline-offset: 4px;
    border-radius: 4px;
}
@media (hover: none) {
    .nbh-title-link__action { display: none; }
    .nbh-title-link__arrow { opacity: .72; }
}

.nbh-learn {
    margin-top: clamp(22px, 2.4vw, 32px);
    padding-top: clamp(18px, 1.8vw, 26px);
    border-top: 1px solid var(--nbh-line);
}
.nbh-section-head--learn { margin-bottom: 14px; }

.nbh-author-card__avatar-inner.nbh-learn-card__badge {
    color: #fff;
    background: linear-gradient(135deg, #4285f4 0%, #34a853 52%, #fbbc05 100%);
    font-size: 18px;
    font-weight: 700;
}

.nbh-authors { margin-top: clamp(22px, 2.4vw, 32px); padding-top: clamp(18px, 1.8vw, 26px); border-top: 1px solid var(--nbh-line); }
.nbh-hero__aside .nbh-authors {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--nbh-line);
}
.nbh-section-head--authors { margin-bottom: 14px; }
.nbh-hero__aside .nbh-section-head--authors { margin-bottom: 10px; }
.nbh-hero__aside .nbh-author-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 260px));
    justify-content: start;
}
.nbh-hero__aside .nbh-authors-empty {
    max-width: 360px;
}
.nbh-authors-empty {
    display: grid;
    min-height: 96px;
    place-items: center;
    align-content: center;
    padding: 22px 18px;
    color: var(--nbh-muted);
    background: #fafafa;
    border: 1px dashed rgba(102, 84, 255, .18);
    border-radius: 12px;
    text-align: center;
    box-sizing: border-box;
}
.nbh-authors-empty__title {
    margin: 0;
    color: var(--nbh-text);
    font-size: 14px;
    font-weight: 650;
    line-height: 20px;
}
.nbh-authors-empty__text {
    margin: 6px 0 0;
    max-width: 36ch;
    font-size: 13px;
    font-weight: 500;
    line-height: 19px;
}
.nbh-author-card--join {
    background: #fff;
    border-style: dashed;
    border-color: rgba(102, 84, 255, .22);
}
.nbh-author-card--join .nbh-author-card__avatar-inner {
    color: #6654ff;
    background: rgba(102, 84, 255, .1);
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}
@media (hover:hover) {
    a.nbh-author-card--join:hover,
    button.nbh-author-card--join:hover {
        background: rgba(102, 84, 255, .04);
        border-color: rgba(102, 84, 255, .32);
    }
}
button.nbh-author-card--join {
    width: min(100%, 280px);
    margin: 0;
    appearance: none;
    cursor: pointer;
    font: inherit;
    text-align: left;
}
.nbh-author-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.nbh-author-grid > div { min-width: 0; }
.nbh-author-card { display: flex; min-width: 0; min-height: 80px; align-items: center; gap: 10px; padding: 10px; color: inherit; background: #fafafa; border: 1px solid var(--nbh-line); border-radius: 12px; box-sizing: border-box; text-decoration: none; transition: background .15s ease, border-color .15s ease; }
@media (hover:hover) { a.nbh-author-card:hover { background: #fff; border-color: rgba(102, 84, 255, .2); text-decoration: none; } }
.nbh-author-card__avatar {
    position: relative;
    display: inline-flex;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    padding: 0;
    align-items: center;
    justify-content: center;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 13px;
    box-sizing: border-box;
}
.nbh-author-card__avatar::after {
    position: absolute;
    inset: -2px;
    border: 2px solid #fff;
    border-radius: 15px;
    box-shadow: 0 0 0 1px rgba(16, 24, 40, .08);
    content: "";
    pointer-events: none;
}
.nbh-author-card__avatar.is-online::after {
    inset: -2px;
    border: 2px solid #fff;
    border-radius: 15px;
    box-shadow: 0 0 0 1px rgba(16, 24, 40, .08);
}
.nbh-author-card__avatar .nb-author-presence-dot {
    width: 8px;
    height: 8px;
    border-width: 1.5px;
}
/* Как в предпросмотре: мягкий полу-квадрат (~11px на 42px → 13px на 48px). */
.nbh-author-card__avatar-inner { display: inline-flex; width: 100%; height: 100%; align-items: center; justify-content: center; overflow: hidden; color: #fff; background: #6654ff; border: 1px solid rgba(16, 24, 40, .08); border-radius: 13px; box-shadow: 0 2px 7px rgba(16, 24, 40, .08); font-size: 15px; font-weight: 700; letter-spacing: -.02em; box-sizing: border-box; }
.nbh-author-card__avatar-inner img { display: block; width: 100%; height: 100%; border-radius: 12px; object-fit: cover; }
.nbh-author-card__badges { display: flex; flex: 0 0 auto; align-self: flex-start; align-items: center; flex-direction: column; gap: 4px; }
.nbh-author-card__verified,
.nbh-author-card__editor-pick {
    display: inline-flex;
    width: 20px;
    min-width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    box-sizing: border-box;
}
.nbh-author-card__verified {
    color: #6654ff;
    background: rgba(102, 84, 255, .08);
    border: 1px solid rgba(102, 84, 255, .14);
}
.nbh-author-card__editor-pick {
    color: #825510;
    background: rgba(255, 247, 218, .96);
    border: 1px solid rgba(206, 150, 45, .16);
}
.nbh-author-card__verified svg,
.nbh-author-card__editor-pick svg { display: block; width: 11px; height: 11px; flex: 0 0 11px; }
.nbh-author-card__editor-pick svg { fill: currentColor; }
.nbh-author-card.is-blue .nbh-author-card__avatar-inner { background: #3e86f5; }
.nbh-author-card.is-rose .nbh-author-card__avatar-inner { background: #e7679b; }
.nbh-author-card.is-amber .nbh-author-card__avatar-inner { background: #e89535; }
.nbh-author-card.is-mint .nbh-author-card__avatar-inner { background: #20a985; }
.nbh-author-card.is-indigo .nbh-author-card__avatar-inner { background: #4c5be8; }
.nbh-author-card__copy { display: flex; min-width: 0; flex: 1 1 auto; flex-direction: column; }
.nbh-author-card__name-row { display: flex; min-width: 0; align-items: center; gap: 6px; }
.nbh-author-card__copy strong { min-width: 0; flex: 1 1 auto; overflow: hidden; color: var(--nbh-text); font-size: 12.5px; font-weight: 650; line-height: 16px; text-overflow: ellipsis; white-space: nowrap; }
.nbh-author-card__specialization { margin-top: 2px; overflow: hidden; color: var(--nbh-muted); font-size: 10.5px; font-weight: 540; line-height: 14px; text-overflow: ellipsis; white-space: nowrap; }
.nbh-author-card__copy small { margin-top: 5px; color: #8c91a2; font-size: 9.5px; font-weight: 580; line-height: 13px; }

.nbh-button:focus-visible,
.nbh-author-card:focus-visible,
.nbh-title-link:focus-visible { outline: 2px solid rgba(102,84,255,.35); outline-offset: 2px; }

body.nbpc-page #prompt-catalog { scroll-margin-top: 86px; }

@media (max-width: 1500px) {
    .nbh-author-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .nbh-hero__aside .nbh-author-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 260px));
        justify-content: start;
    }
}

@media (max-width: 980px) {
    .nbh-hero--live .nbh-hero__offer {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
    .nbh-hero__aside { gap: 12px; }
    .nbh-live::before,
    .nbh-live::after { width: 28px; }
    .nbh-showcase-card {
        flex: 0 0 112px;
        width: 112px;
        min-width: 112px;
    }
}

@media (max-width: 760px) {
    body.nbpc-page .nbh-hero { width: calc(100% - 24px); padding: 22px 16px; border-radius: 14px; }
    body.nbpc-page .nbh-hero__top, body.nbpc-page .nbh-copy, body.nbpc-page .nbh-actions { min-width: 0; max-width: 100%; box-sizing: border-box; }
    .nbh-title { font-size: clamp(22px, 6.2vw, 28px); max-width: none; }
    .nbh-hero--live .nbh-title { max-width: none; }
    .nbh-description { max-width: none; }
    .nbh-actions { display: grid; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nbh-button { width: 100%; min-width: 0; padding: 0 12px; min-height: 40px; }
    .nbh-section-head h2 { font-size: 18px; }
    .nbh-showcase-card {
        flex-basis: 104px;
        width: 104px;
        min-width: 104px;
    }
    .nbh-live::before,
    .nbh-live::after { width: 24px; }
    .nbh-author-grid { grid-auto-columns: minmax(210px, 72vw); grid-auto-flow: column; grid-template-columns: none; padding: 2px 2px 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .nbh-author-grid::-webkit-scrollbar { display: none; }
    .nbh-author-grid > div { scroll-snap-align: start; }
}

@media (max-width: 520px) {
    .nbh-actions { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 430px) {
    .nbh-section-head__more { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .nbh-button, .nbh-author-card, .nbh-tool-chip, .nbh-title-link, .nbh-title-link__default, .nbh-title-link__action, .nbh-title-link__arrow, .nbh-showcase-card { transition: none; }
    .nbh-live__track {
        animation: none !important;
        transform: none !important;
    }
}