/* Neirobase Author Profile */
:root {
    --nb-author-accent: var(--nb-fl-accent, #6654ff);
    --nb-author-accent-dark: var(--nb-fl-accent-dark, #5140ee);
    --nb-author-text: #121421;
    --nb-author-muted: #6b7280;
    --nb-author-line: rgba(15, 23, 42, .09);
    --nb-author-surface: #ffffff;
    --nb-author-shadow: none;
    --nb-author-shadow-soft: none;
}

body.neirobase-author-profile-page {
    overflow-x: clip;
    color: var(--nb-author-text);
    background: #f6f7f9 !important;
}

body.neirobase-author-profile-page .wp-site-blocks {
    padding-left: 0;
    padding-right: 0;
}

.nb-author-profile,
.nb-author-profile *,
.nb-author-profile *::before,
.nb-author-profile *::after {
    box-sizing: border-box;
}

.nb-author-profile {
    width: 100%;
    padding: 34px 0 96px;
    overflow: clip;
}

.nb-author-profile__container {
    width: min(var(--nb-author-profile-max-width, 1760px), calc(100% - clamp(32px, 5vw, 96px)));
    max-width: 1760px;
    margin: 0 auto;
    box-sizing: border-box;
}


.nb-author-profile__hero {
    position: relative;
}

.nb-author-profile__banner {
    position: relative;
    height: auto;
    aspect-ratio: var(--nb-author-banner-aspect, 1800 / 182);
    overflow: hidden;
    background: #e5e7eb;
    border: 0;
    border-radius: 14px 14px 0 0;
    box-shadow: none;
}

.nb-author-profile__banner-image {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: var(--nb-author-profile-image-position, center);
}

.nb-author-profile__banner::after {
    position: absolute;
    inset: 0;
    content: "";
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .38);
    pointer-events: none;
}

.nb-author-profile__banner-grid {
    display: none;
}

.nb-author-profile__identity-card {
    position: relative;
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr) 132px minmax(380px, 460px);
    align-items: start;
    gap: 24px;
    padding: 20px 24px 22px 28px;
    background: #fff;
    border: 1px solid var(--nb-author-line);
    border-top: 0;
    border-radius: 0 0 14px 14px;
    box-shadow: none;
    backdrop-filter: none;
}

.nb-author-profile__avatar {
    position: relative;
    z-index: 3;
    width: 120px;
    height: 120px;
    margin-top: -60px;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 16px;
    box-shadow: none;
}

.nb-author-profile__avatar::after {
    position: absolute;
    inset: -2px;
    border: 2px solid #fff;
    border-radius: 18px;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, .1), 0 10px 28px rgba(15, 23, 42, .08);
    content: "";
    pointer-events: none;
}

.nb-author-profile__avatar-image {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: var(--nb-author-profile-image-position, center);
    border-radius: 16px;
}

.nb-author-profile__identity {
    min-width: 0;
    padding-top: 1px;
}

.nb-author-profile__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 9px;
}

.nb-author-profile__level {
    display: inline-flex;
    min-height: 27px;
    align-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 780;
    line-height: 15px;
}


.nb-author-profile__verified-chip {
    display: inline-flex;
    width: 27px;
    min-width: 27px;
    height: 27px;
    align-items: center;
    justify-content: center;
    color: #6654ff;
    background: linear-gradient(145deg, #f5f3ff, #ece9ff);
    border: 1px solid rgba(102, 84, 255, .16);
    border-radius: 9px;
    box-shadow: 0 4px 12px rgba(74, 57, 185, .08);
}

.nb-author-profile__verified-chip svg {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
}

.nb-author-profile__tenure-inline {
    position: relative;
    display: inline-flex;
    min-width: 0;
}

.nb-author-profile__tenure-inline > summary {
    display: inline-flex;
    min-height: 27px;
    align-items: center;
    gap: 4px;
    padding: 5px 8px;
    color: #747a8f;
    background: #f7f7fb;
    border: 1px solid rgba(76, 61, 168, .08);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 680;
    line-height: 15px;
    list-style: none;
    white-space: nowrap;
    cursor: help;
}

.nb-author-profile__tenure-inline > summary::-webkit-details-marker {
    display: none;
}

.nb-author-profile__tenure-inline > summary svg {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
}

.nb-author-profile__tenure-inline > span {
    position: absolute;
    z-index: 30;
    top: calc(100% + 7px);
    left: 50%;
    width: max-content;
    max-width: 220px;
    padding: 6px 8px;
    color: #fff;
    background: #242738;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(20, 23, 38, .16);
    font-size: 10px;
    font-weight: 650;
    line-height: 1.35;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -3px);
    transition: opacity .14s ease, transform .14s ease;
}

.nb-author-profile__tenure-inline[open] > span,
.nb-author-profile__tenure-inline:hover > span,
.nb-author-profile__tenure-inline:focus-within > span {
    opacity: 1;
    transform: translate(-50%, 0);
}

.nb-author-profile__level {
}

.nb-author-profile__identity h1 {
    display: -webkit-box;
    max-width: 100%;
    margin: 0 !important;
    overflow: hidden;
    overflow-wrap: anywhere;
    color: #111221 !important;
    font-size: clamp(30px, 3vw, 44px) !important;
    font-weight: 850 !important;
    line-height: 1.04 !important;
    letter-spacing: -.045em !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.nb-author-profile__bio {
    max-width: 660px;
    margin: 10px 0 0 !important;
    color: #606679 !important;
    font-size: 14px !important;
    line-height: 1.58 !important;
}

.nb-author-profile__tenure-meta {
    margin: 6px 0 0 !important;
    color: #9297a8 !important;
    font-size: 12px !important;
    font-weight: 650;
    line-height: 1.45 !important;
}

.nb-author-profile__avatar .nb-author-presence-dot {
    right: -2px;
    bottom: -2px;
    width: 16px;
    height: 16px;
    border-width: 2.5px;
}

.nb-author-profile__specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 13px;
}

.nb-author-profile__specialties span {
    display: inline-flex;
    min-height: 27px;
    align-items: center;
    padding: 4px 9px;
    color: #5f6478;
    background: #f7f7fb;
    border: 1px solid rgba(76, 61, 168, .085);
    border-radius: 8px;
    font-size: 10px;
    font-weight: 680;
    line-height: 15px;
}

.nb-author-profile__side {
    display: grid;
    min-width: 0;
    gap: 12px;
}

.nb-author-profile__actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.nb-author-profile__actions > a,
.nb-author-profile__actions > button:not(.nb-author-profile__share) {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 12px;
    color: var(--nb-author-action-color, #484e62) !important;
    background: #fff;
    border: 1px solid var(--nb-author-line);
    border-radius: 10px;
    box-shadow: none;
    font-size: 11px;
    font-weight: 650;
    line-height: 16px;
    text-decoration: none !important;
    font-family: inherit;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}

.nb-author-profile__actions > a:hover,
.nb-author-profile__actions > button:not(.nb-author-profile__share):hover {
    border-color: rgba(102, 84, 255, .22);
    box-shadow: none;
    transform: none;
    background: #fafafa;
}

.nb-author-profile__actions > a.nb-author-profile__follow:not(.is-following) {
    color: #fff !important;
    background: var(--nb-author-accent);
    border-color: transparent;
    box-shadow: none;
}

.nb-author-profile__actions > a.nb-author-profile__follow.is-following {
    color: var(--nb-author-accent-dark) !important;
    background: rgba(102, 84, 255, .08);
    border-color: rgba(102, 84, 255, .16);
}


.nb-author-profile__share-wrap {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
}

.nb-author-profile__share-menu {
    position: absolute;
    right: 0;
    bottom: calc(100% + 8px);
    z-index: 40;
    display: grid;
    width: min(220px, 72vw);
    gap: 2px;
    padding: 6px;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, .16);
}

.nb-author-profile__share-menu[hidden] {
    display: none !important;
}

.nb-author-profile__share-menu a,
.nb-author-profile__share-menu button {
    display: flex;
    width: 100%;
    min-height: 40px;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0 10px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #303343;
    font: inherit;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.2;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

.nb-author-profile__share-menu a:hover,
.nb-author-profile__share-menu button:hover,
.nb-author-profile__share-menu a:focus-visible,
.nb-author-profile__share-menu button:focus-visible {
    background: #f5f3ff;
    color: #5140ee;
    outline: none;
}

.nb-author-profile__share {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    padding: 0;
    place-items: center;
    color: var(--nb-author-accent);
    background: #fff;
    border: 1px solid var(--nb-author-line);
    border-radius: 10px;
    box-shadow: none;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}

.nb-author-profile__share:hover {
    background: #fafafa;
    border-color: rgba(102, 84, 255, .22);
    box-shadow: none;
    transform: none;
}

.nb-author-profile__share:focus-visible {
    outline: 2px solid rgba(102, 84, 255, .48);
    outline-offset: 2px;
}

.nb-author-profile__share svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nb-author-profile__share-check {
    display: none;
}

.nb-author-profile__share.is-copied .nb-author-profile__share-icon {
    display: none;
}

.nb-author-profile__share.is-copied .nb-author-profile__share-check {
    display: block;
}

.nb-author-profile__actions > a.is-support {
    display: inline-flex;
    min-height: 38px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 12px;
    --nb-author-action-color: #484e62;
    background: #fff;
    border: 1px solid var(--nb-author-line);
    border-radius: 10px;
    box-shadow: none;
    font-family: inherit;
    font-size: 11px;
    font-weight: 650;
    line-height: 16px;
    text-decoration: none;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}

.nb-author-profile__actions > a.is-support:hover {
    --nb-author-action-color: #353948;
    background: #fafafa;
    border-color: rgba(102, 84, 255, .22);
    box-shadow: none;
    transform: none;
}

.nb-author-profile__actions > a.is-support:focus-visible {
    outline: 2px solid rgba(102, 84, 255, .32);
    outline-offset: 2px;
}

.nb-author-profile__support-icon {
    display: grid;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    place-items: center;
    color: #b54b79;
    background: rgba(255, 239, 246, .92);
    border: 0;
    border-radius: 7px;
    box-shadow: none;
}

.nb-author-profile__support-icon svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.nb-author-profile__support-label {
    color: inherit;
    font: inherit;
    line-height: inherit;
}

.nb-author-profile__tenure {
    padding: 16px 17px;
    background:
        radial-gradient(circle at 100% 0, rgba(111, 203, 255, .12), transparent 10rem),
        linear-gradient(145deg, #fff, #fafaff);
    border: 1px solid rgba(76, 61, 168, .11);
    border-radius: 17px;
    box-shadow: 0 10px 26px rgba(44, 35, 99, .055);
}

.nb-author-profile__tenure-label {
    display: block;
    color: #35384a;
    font-size: 11px;
    font-weight: 760;
    line-height: 15px;
}

.nb-author-profile__tenure-value {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 9px;
}

.nb-author-profile__tenure-value > i {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    color: #5d4bf0;
    background: #efecff;
    border: 1px solid rgba(102, 84, 255, .12);
    border-radius: 11px;
}

.nb-author-profile__tenure-value svg,
.nb-author-profile__metric svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nb-author-profile__tenure-value strong {
    color: #161827;
    font-size: 25px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: -.035em;
}

.nb-author-profile__tenure-value strong em {
    font-size: 15px;
    font-style: normal;
    font-weight: 760;
    letter-spacing: -.015em;
}

.nb-author-profile__tenure > small {
    display: block;
    margin-top: 9px;
    color: #969bad;
    font-size: 10px;
    font-weight: 590;
    line-height: 14px;
}

.nb-author-profile__metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 0;
}

.nb-author-profile__metric {
    --nb-author-metric-color: #5b49ee;
    --nb-author-metric-chip: rgba(239, 236, 255, .92);
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    overflow: visible;
    padding: 0 10px 1px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-sizing: border-box;
    box-shadow: none;
}

.nb-author-profile__metric + .nb-author-profile__metric {
    border-left: 1px solid rgba(76, 61, 168, .09);
}

.nb-author-profile__metric.is-uses {
    --nb-author-metric-color: #14896b;
    --nb-author-metric-chip: rgba(234, 249, 244, .94);
}

.nb-author-profile__metric.is-views {
    --nb-author-metric-color: #306bc8;
    --nb-author-metric-chip: rgba(235, 244, 255, .94);
}

.nb-author-profile__metric.is-followers {
    --nb-author-metric-color: #b54b79;
    --nb-author-metric-chip: rgba(255, 239, 246, .94);
}

.nb-author-profile__metric-label {
    display: inline-flex;
    max-width: 100%;
    min-width: 0;
    min-height: 18px;
    align-self: stretch;
    align-items: center;
    gap: 5px;
    padding: 0;
    color: #777d90;
    background: transparent;
    border-radius: 0;
}

.nb-author-profile__metric-label > i {
    display: grid;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    place-items: center;
    color: var(--nb-author-metric-color);
    background: var(--nb-author-metric-chip);
    border-radius: 6px;
    font-style: normal;
}

.nb-author-profile__metric-label small {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: currentColor;
    font-size: 8.25px;
    font-weight: 740;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nb-author-profile__metric-value {
    display: grid;
    min-width: 0;
    gap: 3px;
    margin-top: 4px;
}

.nb-author-profile__metric-value > strong {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    overflow: visible;
    color: #171927;
    font-size: clamp(20px, 1.5vw, 26px);
    font-weight: 880;
    line-height: 1;
    letter-spacing: -.05em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.nb-author-profile__metric-change {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    min-height: 14px;
    align-items: center;
    gap: 3px;
    padding: 2px 5px;
    overflow: hidden;
    color: #178365;
    background: rgba(229, 247, 240, .9);
    border-radius: 999px;
    line-height: 1;
    white-space: nowrap;
}

.nb-author-profile__metric-change b {
    font-size: 8.5px;
    font-weight: 820;
    font-variant-numeric: tabular-nums;
}

.nb-author-profile__metric-change small {
    overflow: hidden;
    color: #6f8f84;
    font-size: 7.25px;
    font-weight: 680;
    text-overflow: ellipsis;
}

.nb-author-profile__metric-change.is-negative {
    color: #b54b67;
    background: rgba(255, 237, 242, .92);
}

.nb-author-profile__metric-change.is-negative small {
    color: #a47887;
}

.nb-author-profile__metric-change.is-neutral {
    color: #73798d;
    background: rgba(241, 242, 248, .94);
}

.nb-author-profile__metric-change.is-neutral small {
    color: #9297a8;
}

.nb-author-profile__metric-change.is-neutral.is-quiet {
    color: #9aa0b0;
    background: transparent;
    padding-left: 0;
    padding-right: 0;
}

.nb-author-profile__metric-change.is-neutral.is-quiet small {
    color: #b0b5c3;
}

.nb-author-profile__metric-label svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nb-author-profile__summary {
    width: 100%;
    max-width: 460px;
    height: 132px;
    align-self: start;
    min-width: 0;
    padding: 11px 10px 10px;
    background:
        radial-gradient(circle at 96% 5%, rgba(106, 200, 231, .09), transparent 42%),
        linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(247, 247, 253, .9));
    border: 0;
    border-radius: 24px;
    box-shadow: 0 14px 34px rgba(44, 35, 99, .09), inset 0 1px 0 rgba(255, 255, 255, .9);
}

.nb-author-profile__rating-card {
    position: relative;
    display: flex;
    width: 132px;
    max-width: 100%;
    aspect-ratio: 1;
    align-self: start;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    padding: 13px;
    background: #fff;
    border: 1px solid var(--nb-author-line);
    border-radius: 14px;
    box-shadow: none;
}

.nb-author-profile__rating-card > * {
    position: relative;
    z-index: 2;
}

.nb-author-profile__rating-label-row.nb-author-profile__reputation-help {
    display: inline-flex;
    width: auto;
    height: auto;
    max-width: 100%;
    min-width: 0;
    min-height: 28px;
    flex: 0 0 auto;
    align-self: center;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 4px 6px 4px 8px;
    color: #5d6277;
    background: rgba(255, 255, 255, .62);
    border: 1px solid rgba(76, 61, 168, .1);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
    font-family: inherit;
    text-transform: none;
    appearance: none;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.nb-author-profile__rating-label {
    display: block;
    min-width: 0;
    color: currentColor;
    font-size: 9px;
    font-weight: 780;
    line-height: 1.25;
    letter-spacing: -.01em;
    white-space: nowrap;
}

.nb-author-profile__rating-label-row.nb-author-profile__reputation-help:hover,
.nb-author-profile__rating-label-row.nb-author-profile__reputation-help:focus-visible {
    color: #5140ee;
    background: rgba(255, 255, 255, .92);
    border-color: rgba(102, 84, 255, .2);
    box-shadow: 0 5px 14px rgba(81, 64, 238, .08), inset 0 1px 0 rgba(255, 255, 255, .9);
}

.nb-author-profile__rating-label-row.nb-author-profile__reputation-help svg {
    width: 11px;
    height: 11px;
    flex: 0 0 11px;
    color: #8b90a3;
    transition: color .18s ease;
}

.nb-author-profile__rating-label-row.nb-author-profile__reputation-help:hover svg,
.nb-author-profile__rating-label-row.nb-author-profile__reputation-help:focus-visible svg {
    color: currentColor;
}

.nb-author-profile__rating-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin: auto 0;
}

.nb-author-profile__rating-value strong {
    color: #171927;
    font-size: 40px;
    font-weight: 880;
    line-height: .92;
    letter-spacing: -.055em;
}

.nb-author-profile__rating-value span {
    color: #767c90;
    font-size: 10px;
    font-weight: 730;
}

.nb-author-profile__rating-meta {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

.nb-author-profile__rating-meta em {
    display: inline-flex;
    width: 100%;
    min-width: 0;
    min-height: 24px;
    align-items: center;
    justify-content: center;
    padding: 5px 8px;
    overflow: hidden;
    border-radius: 999px;
    font-size: 8.5px;
    font-style: normal;
    font-weight: 780;
    line-height: 1;
    color: #8b6213;
    background: linear-gradient(135deg, rgba(246, 198, 92, .18), rgba(232, 135, 189, .1));
    border: 1px solid rgba(199, 146, 39, .14);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nb-author-profile__achievement-badges {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin-top: 6px;
    padding: 6px 2px 0;
    background: transparent;
    border: 0;
    border-top: 1px solid rgba(76, 61, 168, .08);
    border-radius: 0;
    box-shadow: none;
}

.nb-author-profile__achievement-badges-head {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.nb-author-profile__achievement-badges-head strong {
    color: #4f5569;
    font-size: 9px;
    font-weight: 790;
    line-height: 1.1;
    letter-spacing: -.01em;
    white-space: nowrap;
}

.nb-author-profile__achievement-badges-head span {
    color: #9297a8;
    font-size: 8px;
    font-weight: 690;
    line-height: 1;
    white-space: nowrap;
}

.nb-author-profile__achievement-badges-list {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 5px;
}

.nb-author-profile__achievement-badge {
    --nb-achievement-color: #6654ff;
    --nb-achievement-bg: #f0edff;
    position: relative;
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    place-items: center;
    padding: 0;
    color: var(--nb-achievement-color);
    background: var(--nb-achievement-bg);
    border: 0;
    border-radius: 10px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.86);
    font: inherit;
    cursor: help;
    transition: transform .16s ease, box-shadow .16s ease;
}

.nb-author-profile__achievement-more {
    display: inline-flex;
    min-width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    color: #6f7488;
    background: #f3f4f8;
    border-radius: 8px;
    font-size: 9px;
    font-weight: 780;
    line-height: 1;
    white-space: nowrap;
}

.nb-author-profile__social-row {
    display: flex;
    margin-top: 10px;
}

.nb-author-profile__achievement-badges-empty {
    display: flex;
    min-height: 28px;
    align-items: center;
    justify-self: end;
    color: #9297a8;
    font-size: 8.5px;
    font-weight: 680;
    line-height: 1.2;
    white-space: nowrap;
}

.nb-author-profile__achievement-badge > i {
    display: grid;
    place-items: center;
    font-style: normal;
}

.nb-author-profile__achievement-badge > i svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nb-author-profile__achievement-badge.is-first_use,
.nb-author-profile__achievement-badge.is-useful,
.nb-author-profile__achievement-badge.is-demanded {
    --nb-achievement-color: #0d8a68;
    --nb-achievement-bg: #ecfaf5;
}

.nb-author-profile__achievement-badge.is-first_hit {
    --nb-achievement-color: #a87414;
    --nb-achievement-bg: #fff8e8;
}

.nb-author-profile__achievement-badge.is-noticed,
.nb-author-profile__achievement-badge.is-visible {
    --nb-achievement-color: #306bc8;
    --nb-achievement-bg: #eff6ff;
}

.nb-author-profile__achievement-badge.is-first_follower,
.nb-author-profile__achievement-badge.is-audience,
.nb-author-profile__achievement-badge.is-community {
    --nb-achievement-color: #b54b79;
    --nb-achievement-bg: #fff1f6;
}

.nb-author-profile__achievement-badge.is-multitool,
.nb-author-profile__achievement-badge.is-versatile {
    --nb-achievement-color: #247f8d;
    --nb-achievement-bg: #edf9fb;
}

.nb-author-profile__achievement-badge.is-profile,
.nb-author-profile__achievement-badge.is-verified {
    --nb-achievement-color: #6654ff;
    --nb-achievement-bg: #f0edff;
}

.nb-author-profile__achievement-badge.is-level_practitioner,
.nb-author-profile__achievement-badge.is-level_specialist,
.nb-author-profile__achievement-badge.is-level_expert,
.nb-author-profile__achievement-badge.is-level_master {
    --nb-achievement-color: #8b6213;
    --nb-achievement-bg: #fff8e8;
}

.nb-author-profile__achievement-badge:hover,
.nb-author-profile__achievement-badge:focus-visible {
    z-index: 20;
    background: var(--nb-achievement-bg);
    color: var(--nb-achievement-color);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
    outline: none;
    transform: none;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badge::after,
body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badge::before,
body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badge:hover::after,
body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badge:focus-visible::after {
    content: none;
    display: none;
}


.nb-author-profile__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
    gap: 26px;
    margin-top: 48px;
}

.nb-author-profile__portfolio {
    min-width: 0;
}

.nb-author-profile__section-head {
    margin-bottom: 20px;
}

.nb-author-profile__section-head h2 {
    margin: 0 !important;
    color: #161728 !important;
    font-size: 30px !important;
    font-weight: 850 !important;
    line-height: 1.1 !important;
    letter-spacing: -.04em !important;
}


.nb-author-profile__fallback-card {
    min-height: 150px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--nb-author-line);
    border-radius: 18px;
}

.nb-author-profile__sidebar {
    position: sticky;
    display: grid;
    gap: 16px;
}

.nb-author-profile__progress-card,
.nb-author-profile__achievements {
    padding: 20px;
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(76, 61, 168, .105);
    border-radius: 21px;
    box-shadow: var(--nb-author-shadow-soft);
    backdrop-filter: blur(14px);
}

.nb-author-profile__progress-card {
    background:
        radial-gradient(circle at 95% 0, rgba(119, 215, 255, .14), transparent 15rem),
        radial-gradient(circle at 0 100%, rgba(102, 84, 255, .10), transparent 14rem),
        rgba(255, 255, 255, .88);
}

.nb-author-profile__progress-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.nb-author-profile__progress-top span {
    display: flex;
    flex-direction: column;
}

.nb-author-profile__progress-top small {
    color: #858a9d;
    font-size: 9px;
    font-weight: 680;
    line-height: 13px;
}

.nb-author-profile__progress-top strong {
    margin-top: 3px;
    color: #25273a;
    font-size: 20px;
    font-weight: 840;
    line-height: 23px;
}

.nb-author-profile__progress-top b {
    color: #5140ee;
    font-size: 25px;
    font-weight: 860;
    letter-spacing: -.04em;
}

.nb-author-profile__progress-bar,
.nb-author-profile__achievement-progress {
    height: 7px;
    overflow: hidden;
    background: rgba(102, 84, 255, .10);
    border-radius: 999px;
}

.nb-author-profile__progress-bar {
    margin: 16px 0 9px;
}

.nb-author-profile__progress-bar i,
.nb-author-profile__achievement-progress i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #6654ff, #8d7fff, #6ac8e7);
    border-radius: inherit;
}

.nb-author-profile__progress-bar i {
    width: var(--nb-profile-progress, 0%);
}

.nb-author-profile__achievement-progress i {
    width: var(--nb-achievement-progress, 0%);
}

.nb-author-profile__progress-card > p {
    margin: 0 !important;
    color: #898ea1 !important;
    font-size: 9.5px !important;
    line-height: 14px !important;
}

.nb-author-profile__progress-card details {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(76, 61, 168, .09);
}

.nb-author-profile__progress-card summary {
    color: #62677a;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
}

.nb-author-profile__progress-card ul {
    display: grid;
    gap: 5px;
    margin: 10px 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.nb-author-profile__progress-card li {
    display: flex;
    justify-content: space-between;
    margin: 0 !important;
    color: #898ea0;
    font-size: 9.5px;
}

.nb-author-profile__progress-card li strong {
    color: #414458;
}

.nb-author-profile__aside-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.nb-author-profile__aside-head small {
    color: #6654ff;
    font-size: 9px;
    font-weight: 810;
    line-height: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.nb-author-profile__aside-head h2 {
    margin: 4px 0 0 !important;
    color: #161728 !important;
    font-size: 23px !important;
    font-weight: 840 !important;
    line-height: 1.1 !important;
    letter-spacing: -.035em !important;
}

.nb-author-profile__aside-head > span {
    display: inline-flex;
    min-height: 27px;
    align-items: center;
    padding: 5px 8px;
    color: #5140ee;
    background: #efecff;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 780;
}

.nb-author-profile__achievement-progress {
    margin-top: 14px;
}

.nb-author-profile__achievement-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
}

.nb-author-profile__achievement-grid article {
    display: grid;
    min-width: 0;
    min-height: 62px;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 9px;
    border-radius: 12px;
}

.nb-author-profile__achievement-grid article.is-earned {
    background: linear-gradient(135deg, rgba(239, 236, 255, .80), rgba(244, 251, 255, .78));
    border: 1px solid rgba(102, 84, 255, .10);
}

.nb-author-profile__achievement-grid article.is-locked {
    opacity: .56;
    background: #f7f7fa;
    border: 1px solid rgba(16, 24, 40, .045);
    filter: grayscale(.65);
}

.nb-author-profile__achievement-grid article > i {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, #7564ff, #5140ee);
    border-radius: 10px;
    box-shadow: 0 7px 16px rgba(102, 84, 255, .16);
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.nb-author-profile__achievement-grid article.is-locked > i {
    color: #858a9b;
    background: #e5e6ec;
    box-shadow: none;
}

.nb-author-profile__achievement-grid article > span {
    min-width: 0;
}

.nb-author-profile__achievement-grid strong,
.nb-author-profile__achievement-grid small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nb-author-profile__achievement-grid strong {
    color: #393b4e;
    font-size: 9.5px;
    font-weight: 770;
    line-height: 13px;
}

.nb-author-profile__achievement-grid small {
    margin-top: 3px;
    color: #9296a7;
    font-size: 8px;
    font-weight: 620;
    line-height: 11px;
}

.nb-author-profile__empty {
    padding: 60px 24px;
    text-align: center;
    background: rgba(255, 255, 255, .72);
    border: 1px dashed rgba(102, 84, 255, .2);
    border-radius: 22px;
}

.nb-author-profile__empty > span {
    display: grid;
    width: 46px;
    height: 46px;
    margin: 0 auto 14px;
    place-items: center;
    color: #6654ff;
    background: #efecff;
    border-radius: 14px;
}

.nb-author-profile__empty h3 {
    margin: 0 !important;
    color: #222436 !important;
    font-size: 20px !important;
}

.nb-author-profile__empty p {
    margin: 7px 0 0 !important;
    color: #858a9e !important;
}

.nb-author-profile__empty a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    margin-top: 16px;
    padding: 8px 13px;
    color: #fff !important;
    background: #6654ff;
    border-radius: 11px;
    font-size: 11px;
    font-weight: 720;
    text-decoration: none !important;
}

@media (max-width: 1120px) {
    .nb-author-profile__identity-card {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 20px;
        padding: 22px 24px 24px 28px;
    }

    .nb-author-profile__avatar {
        grid-column: 1;
        grid-row: 1;
        width: 112px;
        height: 112px;
        margin-top: -54px;
        border-radius: 25px;
    }

    .nb-author-profile__avatar::after,
    .nb-author-profile__avatar.is-online::after {
        border-radius: 27px;
    }

    .nb-author-profile__avatar-image {
        border-radius: 20px;
    }

    .nb-author-profile__avatar .nb-author-presence-dot {
        width: 14px;
        height: 14px;
    }

    .nb-author-profile__identity {
        grid-column: 2;
        grid-row: 1;
    }

    .nb-author-profile__summary {
        grid-column: 2;
        grid-row: 2;
        width: 100%;
        height: 124px;
        margin-top: 2px;
        padding: 9px 10px 8px;
        border-radius: 22px;
    }

    .nb-author-profile__metric {
        padding: 0 8px 1px;
    }

    .nb-author-profile__metric-label {
        min-height: 18px;
        gap: 5px;
    }

    .nb-author-profile__metric-label > i {
        width: 18px;
        height: 18px;
        flex-basis: 18px;
        border-radius: 6px;
    }

    .nb-author-profile__metric-label small {
        font-size: 8px;
    }

    .nb-author-profile__metric-value {
        gap: 2px;
        margin-top: 3px;
    }

    .nb-author-profile__metric-value > strong {
        font-size: 24px;
    }

    .nb-author-profile__metric-change {
        min-height: 13px;
        padding: 2px 4px;
    }

    .nb-author-profile__metric-change b {
        font-size: 8px;
    }

    .nb-author-profile__metric-change small {
        font-size: 7px;
    }

    .nb-author-profile__achievement-badges {
        gap: 8px;
        margin-top: 5px;
        padding: 5px 0 0;
    }

    .nb-author-profile__achievement-badges-head {
        gap: 2px;
    }

    .nb-author-profile__achievement-badges-head strong {
        font-size: 8px;
    }

    .nb-author-profile__achievement-badges-head span {
        font-size: 7px;
    }

    .nb-author-profile__achievement-badges-list {
        gap: 4px;
    }

    .nb-author-profile__achievement-badge {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
        border-radius: 8px;
    }

    .nb-author-profile__achievement-badge > i svg {
        width: 14px;
        height: 14px;
    }

    .nb-author-profile__rating-card {
        grid-column: 1;
        grid-row: 2;
        width: 112px;
        padding: 9px;
        border-radius: 25px;
    }

    .nb-author-profile__rating-label-row.nb-author-profile__reputation-help {
        min-height: 21px;
        gap: 3px;
        padding: 3px 5px 3px 6px;
    }

    .nb-author-profile__rating-label {
        font-size: 7.5px;
    }

    .nb-author-profile__rating-label-row.nb-author-profile__reputation-help svg {
        width: 9px;
        height: 9px;
        flex-basis: 9px;
    }

    .nb-author-profile__rating-value strong {
        font-size: 31px;
    }

    .nb-author-profile__rating-value span {
        font-size: 9px;
    }

    .nb-author-profile__rating-meta {
        gap: 0;
    }

    .nb-author-profile__rating-meta em {
        min-height: 20px;
        padding: 4px 5px;
        font-size: 7px;
    }
}

@media (max-width: 760px) {
    .nb-author-profile {
        padding: 20px 0 68px;
    }

    .nb-author-profile__banner {
        height: clamp(96px, calc((100vw - 32px) / 3.1), 132px);
        aspect-ratio: auto;
        border-radius: 21px 21px 0 0;
    }

    .nb-author-profile__identity-card {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 14px;
        padding: 18px 16px 18px;
        border-radius: 0 0 21px 21px;
    }

    .nb-author-profile__avatar {
        width: 88px;
        height: 88px;
        margin-top: -44px;
        padding: 0;
        border-radius: 21px;
    }

    .nb-author-profile__avatar::after,
    .nb-author-profile__avatar.is-online::after {
        border-radius: 23px;
    }

    .nb-author-profile__avatar .nb-author-presence-dot {
        width: 13px;
        height: 13px;
    }

    .nb-author-profile__avatar-image {
        border-radius: 17px;
    }

    .nb-author-profile__badges {
        gap: 5px;
        margin-bottom: 7px;
    }

    .nb-author-profile__identity .nb-author-profile__nameplate h1 {
        font-size: 29px !important;
    }

    .nb-author-profile__summary {
        grid-column: 2;
        grid-row: 2;
        height: auto;
        margin-top: 4px;
    }

    .nb-author-profile__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nb-author-profile__metric {
        padding: 7px 12px 8px;
    }

    .nb-author-profile__metric + .nb-author-profile__metric {
        border-left: 0;
    }

    .nb-author-profile__metric:nth-child(even) {
        border-left: 1px solid rgba(76, 61, 168, .09);
    }

    .nb-author-profile__metric:nth-child(n + 3) {
        padding-top: 9px;
        border-top: 1px solid rgba(76, 61, 168, .08);
    }

    .nb-author-profile__metric-value {
        gap: 3px;
        margin-top: 4px;
    }

    .nb-author-profile__metric-value > strong {
        font-size: 25px;
    }

    .nb-author-profile__rating-card {
        grid-column: 1;
        grid-row: 2;
        width: 88px;
        padding: 9px;
        border-radius: 21px;
    }

    .nb-author-profile__rating-label-row.nb-author-profile__reputation-help,
    .nb-author-profile__rating-meta {
        display: none;
    }

    .nb-author-profile__rating-value strong {
        font-size: 27px;
    }

    .nb-author-profile__actions {
        width: 100%;
    }

    .nb-author-profile__actions > a:not(.is-support),
    .nb-author-profile__actions > button:not(.nb-author-profile__share) {
        flex: 1 1 150px;
    }

}

@media (max-width: 520px) {
    .nb-author-profile__identity-card {
        grid-template-columns: 1fr;
    }

    .nb-author-profile__avatar {
        grid-column: 1;
        grid-row: 1;
        margin-top: -48px;
    }

    .nb-author-profile__identity {
        grid-column: 1;
        grid-row: 2;
        width: 100%;
    }

    .nb-author-profile__rating-card {
        grid-column: 1;
        grid-row: 3;
        width: 112px;
        padding: 9px;
        border-radius: 25px;
    }

    .nb-author-profile__rating-label-row.nb-author-profile__reputation-help,
    .nb-author-profile__rating-meta {
        display: inline-flex;
    }

    .nb-author-profile__rating-label {
        font-size: 8px;
    }

    .nb-author-profile__summary {
        grid-column: 1;
        grid-row: 4;
        width: 100%;
        height: auto;
        padding: 11px 10px;
    }

    .nb-author-profile__identity .nb-author-profile__nameplate h1 {
        font-size: 28px !important;
    }

    .nb-author-profile__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
    }

    .nb-author-profile__metric {
        padding: 7px 10px 8px;
    }

    .nb-author-profile__metric:nth-child(n + 3) {
        padding-top: 9px;
    }

    .nb-author-profile__metric-label {
        min-height: 18px;
        gap: 5px;
        padding: 0;
    }

    .nb-author-profile__metric-label > i {
        width: 18px;
        height: 18px;
        flex-basis: 18px;
    }

    .nb-author-profile__metric-label small {
        font-size: 7.5px;
    }

    .nb-author-profile__metric-value {
        gap: 3px;
        margin-top: 4px;
    }

    .nb-author-profile__metric-value > strong {
        font-size: 25px;
    }

    .nb-author-profile__achievement-badges {
        grid-template-columns: 1fr;
        gap: 7px;
        margin-top: 9px;
        padding: 9px 0 0;
    }

    .nb-author-profile__achievement-badges-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nb-author-profile__achievement-badges-list {
        justify-content: flex-start;
        gap: 5px;
    }

    .nb-author-profile__achievement-badges-empty {
        justify-self: start;
    }

    .nb-author-profile__achievement-badge {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }

    .nb-author-profile__achievement-badge > i svg {
        width: 15px;
        height: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nb-author-profile__actions > a,
    .nb-author-profile__actions > button,
    .nb-author-profile__rating-label-row.nb-author-profile__reputation-help,
    .nb-author-profile__achievement-badge {
        transition: none !important;
    }
}

/* 2.5.6 — premium author name + reputation continuation */
.nb-author-profile__nameplate {
    position: relative;
    width: min(100%, 780px);
    padding: 2px 8px 4px 18px;
}

.nb-author-profile__nameplate::before {
    position: absolute;
    top: 5px;
    bottom: 7px;
    left: 0;
    width: 4px;
    content: "";
    background: linear-gradient(to top, #6ac8e7 0%, #6654ff var(--nb-author-level-progress, 0%), #ececf7 var(--nb-author-level-progress, 0%), #ececf7 100%);
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(102, 84, 255, .22);
}

.nb-author-profile__identity .nb-author-profile__nameplate h1 {
    display: block;
    max-width: 100%;
    margin: 0 !important;
    overflow: visible;
    overflow-wrap: anywhere;
    word-break: normal;
    color: #111221 !important;
    font-size: clamp(34px, 2.65vw, 46px) !important;
    font-weight: 880 !important;
    line-height: 1.035 !important;
    letter-spacing: -.047em !important;
    text-wrap: balance;
    -webkit-box-orient: initial;
    -webkit-line-clamp: initial;
}

.nb-author-profile__rank {
    margin: 0;
    color: #6b7280;
    font-size: 13px;
    font-weight: 560;
    line-height: 1.3;
    letter-spacing: -.01em;
    text-align: center;
}
.nb-author-profile__rank a {
    color: inherit;
    text-decoration: none;
    transition: color .15s ease;
}
@media (hover: hover) {
    .nb-author-profile__rank a:hover {
        color: #5140ee;
        text-decoration: underline;
        text-underline-offset: 3px;
    }
}
.nb-author-profile__rank a:focus-visible {
    outline: 2px solid rgba(101, 84, 245, .28);
    outline-offset: 3px;
    border-radius: 4px;
}

.nb-author-profile__nameplate.is-name-long h1 {
    font-size: clamp(31px, 2.25vw, 40px) !important;
    line-height: 1.055 !important;
    letter-spacing: -.041em !important;
}

.nb-author-profile__nameplate.is-name-extra-long h1 {
    font-size: clamp(28px, 1.95vw, 35px) !important;
    line-height: 1.08 !important;
    letter-spacing: -.034em !important;
}

.nb-author-profile__status-stack {
    overflow: hidden;
    background:
        radial-gradient(circle at 100% 0, rgba(111, 203, 255, .14), transparent 11rem),
        radial-gradient(circle at 0 100%, rgba(102, 84, 255, .08), transparent 12rem),
        linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(249, 249, 255, .95));
    border: 1px solid rgba(76, 61, 168, .115);
    border-radius: 18px;
    box-shadow: 0 13px 32px rgba(44, 35, 99, .07);
}

.nb-author-profile__status-stack .nb-author-profile__tenure {
    padding: 15px 16px 14px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.nb-author-profile__hero-reputation {
    position: relative;
    padding: 14px 16px 15px;
    border-top: 1px solid rgba(76, 61, 168, .095);
}

.nb-author-profile__hero-reputation::before {
    position: absolute;
    top: -1px;
    left: 16px;
    width: 46px;
    height: 2px;
    content: "";
    background: linear-gradient(90deg, #6654ff, #6ac8e7);
    border-radius: 999px;
}

.nb-author-profile__hero-reputation-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.nb-author-profile__hero-reputation-head span {
    color: #35384a;
    font-size: 11px;
    font-weight: 760;
    line-height: 15px;
}

.nb-author-profile__hero-reputation-head b {
    color: #5140ee;
    font-size: 22px;
    font-weight: 880;
    line-height: 1;
    letter-spacing: -.04em;
}

.nb-author-profile__hero-reputation-level {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 9px;
}

.nb-author-profile__hero-reputation-level > i {
    display: grid;
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    place-items: center;
    color: #5d4bf0;
    background: #efecff;
    border: 1px solid rgba(102, 84, 255, .12);
    border-radius: 10px;
}

.nb-author-profile__hero-reputation-level svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nb-author-profile__hero-reputation-level strong {
    color: #202234;
    font-size: 16px;
    font-weight: 830;
    line-height: 1.1;
}

.nb-author-profile__hero-reputation .nb-author-profile__progress-bar {
    height: 6px;
    margin: 11px 0 8px;
}

.nb-author-profile__hero-reputation > small {
    display: block;
    overflow: hidden;
    color: #8d92a4;
    font-size: 9px;
    font-weight: 610;
    line-height: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nb-author-profile__sidebar {
    top: 92px;
}

@media (max-width: 1120px) {
    .nb-author-profile__side {
        grid-template-columns: minmax(0, 1fr) 286px;
    }
}

@media (max-width: 650px) {
    .nb-author-profile__nameplate {
        width: 100%;
        padding-left: 14px;
    }

    .nb-author-profile__nameplate::before {
        top: 4px;
        bottom: 5px;
        width: 3px;
    }

    .nb-author-profile__identity .nb-author-profile__nameplate h1 {
        font-size: 31px !important;
        line-height: 1.05 !important;
    }

    .nb-author-profile__nameplate.is-name-long h1 {
        font-size: 27px !important;
        line-height: 1.07 !important;
    }

    .nb-author-profile__nameplate.is-name-extra-long h1 {
        font-size: 24px !important;
        line-height: 1.1 !important;
    }

    .nb-author-profile__side,
    .nb-author-profile__status-stack {
        width: 100%;
    }
}


@media (max-width: 1120px) {
    .nb-author-profile__side {
        align-items: start;
    }
}

@media (max-width: 900px) {
    .nb-author-profile__sidebar {
        grid-template-columns: 1fr;
    }
}


/* 2.13.60 — author library uses the same responsive card grid as the native catalog */
.nb-author-profile__library {
    width: 100%;
    margin-top: 30px;
}

.nb-author-profile__panel[data-author-panel="prompts"] {
    padding-top: 22px;
}

.nb-author-profile__library-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 54px;
}

.nb-author-profile__tabs {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 30px;
    overflow-x: auto;
    scrollbar-width: none;
}

.nb-author-profile__tabs::-webkit-scrollbar {
    display: none;
}

.nb-author-profile__tabs button {
    position: relative;
    display: inline-flex;
    min-height: 52px;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    padding: 0 2px;
    color: #777c8e;
    background: transparent;
    border: 0;
    font: inherit;
    font-size: 13px;
    font-weight: 690;
    line-height: 18px;
    white-space: nowrap;
    cursor: pointer;
    transition: color .16s ease;
}

.nb-author-profile__tabs button::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    content: "";
    background: linear-gradient(90deg, #6654ff, #8a78ff);
    border-radius: 999px;
    opacity: 0;
    transform: scaleX(.6);
    transition: opacity .16s ease, transform .16s ease;
}

.nb-author-profile__tabs button:hover,
.nb-author-profile__tabs button.is-active {
    color: #191b2b;
}

.nb-author-profile__tabs button.is-active {
    font-weight: 820;
}

.nb-author-profile__tabs button.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.nb-author-profile__tabs button span {
    display: inline-flex;
    min-width: 23px;
    min-height: 21px;
    align-items: center;
    justify-content: center;
    padding: 2px 7px;
    color: #797e91;
    background: #f0f1f6;
    border-radius: 7px;
    font-size: 9px;
    font-weight: 760;
    line-height: 13px;
}

.nb-author-profile__tabs button.is-active span {
    color: #5544e8;
    background: #efecff;
}

.nb-author-profile__search {
    position: relative;
    display: flex;
    width: clamp(320px, 31vw, 430px);
    min-width: 270px;
    min-height: 42px;
    flex: 0 1 430px;
    align-items: center;
    overflow: hidden;
    background: #f7f7fb;
    border: 1px solid #e4e5ee;
    border-radius: 12px;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.nb-author-profile__search:focus-within {
    background: #fff;
    border-color: rgba(91, 75, 255, .65);
    box-shadow: 0 0 0 4px rgba(91, 75, 255, .10);
}

.nb-author-profile__search input {
    width: 100%;
    min-width: 0;
    height: 40px;
    min-height: 40px;
    flex: 1 1 auto;
    padding: 0 12px 0 15px;
    color: #141626;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    outline: 0;
    font: inherit;
    font-size: 14px;
}

.nb-author-profile__search input::placeholder {
    color: #9aa0af;
}

.nb-author-profile__search input:focus {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.nb-author-profile__search > button {
    display: inline-grid;
    width: 44px;
    min-width: 44px;
    max-width: 44px;
    height: 44px;
    flex: 0 0 44px;
    margin-right: 3px;
    padding: 0;
    place-items: center;
    color: #777b8e;
    background: transparent;
    border: 0;
    border-radius: 9px;
    box-shadow: none;
    cursor: pointer;
    transition: color .16s ease, transform .16s ease;
}

.nb-author-profile__search > button:hover,
.nb-author-profile__search > button:focus-visible {
    color: #6554f5;
    background: transparent;
    box-shadow: none;
    outline: none;
}

.nb-author-profile__search > button:active {
    transform: translateY(1px);
}

.nb-author-profile__search > button svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nb-author-profile__library-line {
    height: 1px;
    background: rgba(76,61,168,.10);
}

.nb-author-profile__filters {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 22px;
}

.nb-author-profile__filters label {
    position: relative;
    display: block;
}

.nb-author-profile__filters select {
    min-width: 180px;
    height: 42px;
    padding: 0 42px 0 14px;
    color: #4d5265;
    background-color: rgba(255,255,255,.91);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23787d90' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    border: 1px solid rgba(76,61,168,.12);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(44,35,99,.035);
    outline: none;
    appearance: none;
    font: inherit;
    font-size: 11px;
    font-weight: 690;
    cursor: pointer;
}

.nb-author-profile__filters select:focus {
    border-color: rgba(102,84,255,.36);
    box-shadow: 0 0 0 4px rgba(102,84,255,.07);
}

.nb-author-profile__panel[hidden],
.nb-author-profile__search[hidden],
.nb-author-profile__filters[hidden] {
    display: none !important;
}

.nb-author-profile__panel[data-author-panel="followers"],
.nb-author-profile__panel[data-author-panel="following"] {
    padding-top: clamp(18px, 1.5vw, 24px);
}

.nb-author-profile__prompt-item[hidden] {
    display: none !important;
}

.nb-author-profile__filter-empty {
    padding: 64px 24px;
    text-align: center;
    color: #858a9e;
}

.nb-author-profile__filter-empty > span {
    display: grid;
    width: 46px;
    height: 46px;
    margin: 0 auto 13px;
    place-items: center;
    color: #6654ff;
    background: #efecff;
    border-radius: 14px;
    font-size: 22px;
}

.nb-author-profile__filter-empty h3 {
    margin: 0 !important;
    color: #242638 !important;
    font-size: 19px !important;
}

.nb-author-profile__filter-empty p {
    margin: 6px 0 0 !important;
    color: #8b90a2 !important;
    font-size: 12px !important;
}

.nb-author-profile__empty.is-compact {
    margin-top: 22px;
    padding: 46px 24px;
}

@media (max-width: 720px) {
    .nb-author-profile > .nb-author-profile__container {
        width: calc(100% - 24px);
    }
}

@media (max-width: 1020px) {
    .nb-author-profile__library-top {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .nb-author-profile__tabs {
        width: 100%;
    }

    .nb-author-profile__search {
        width: min(430px, 100%);
        min-width: 0;
        flex-basis: auto;
    }
}

@media (max-width: 760px) {
    .nb-author-profile__tabs {
        gap: 21px;
    }

    .nb-author-profile__filters {
        align-items: stretch;
        flex-direction: column;
    }

    .nb-author-profile__filters label,
    .nb-author-profile__filters select {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .nb-author-profile__tabs button {
        min-height: 48px;
        font-size: 12px;
    }
}



/* 2.6.9 — twenty achievements and reputation explainer */
.nb-author-profile__reputation-help {
    display: inline-grid;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    margin: -6.5px;
    padding: 0;
    place-items: center;
    color: #a87414;
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.nb-author-profile__reputation-help svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nb-author-profile__reputation-help:hover,
.nb-author-profile__reputation-help:focus-visible {
    color: #6f4d0f;
}

html.nb-reputation-modal-open {
    overflow: hidden;
}

.nb-author-profile__reputation-modal[hidden] {
    display: none !important;
}

.nb-author-profile__reputation-modal {
    position: fixed;
    z-index: 100005;
    inset: 0;
    display: grid;
    padding: 22px;
    place-items: center;
    opacity: 0;
    transition: opacity .17s ease;
}

.nb-author-profile__reputation-modal.is-open {
    opacity: 1;
}

.nb-author-profile__reputation-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(15, 18, 35, .48);
    backdrop-filter: blur(8px);
    cursor: default;
}

.nb-author-profile__reputation-dialog {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    max-height: min(84vh, 760px);
    padding: 24px;
    overflow: auto;
    border: 1px solid rgba(15, 23, 42, .09);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 48px rgba(15, 23, 42, .16);
    transform: translateY(8px) scale(.99);
    transition: transform .17s ease;
    scrollbar-width: thin;
    scrollbar-color: rgba(102, 112, 133, .34) transparent;
}

.nb-author-profile__reputation-dialog::-webkit-scrollbar {
    width: 7px;
}

.nb-author-profile__reputation-dialog::-webkit-scrollbar-track {
    background: transparent;
}

.nb-author-profile__reputation-dialog::-webkit-scrollbar-thumb {
    background: rgba(102, 112, 133, .28);
    border: 2px solid transparent;
    border-radius: 999px;
    background-clip: padding-box;
}

.nb-author-profile__reputation-modal.is-open .nb-author-profile__reputation-dialog {
    transform: none;
}

.nb-author-profile__reputation-close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    width: 34px;
    height: 34px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 10px;
    color: #596077;
    background: #fafafa;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.nb-rep-modal__head {
    padding-right: 36px;
}

.nb-author-profile__reputation-kicker {
    color: #6654ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.nb-author-profile__reputation-dialog h2 {
    margin: 0;
    color: #151725;
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -.025em;
}

.nb-rep-modal__lead {
    margin: 10px 0 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.55;
}

.nb-rep-modal__section {
    margin-top: 22px;
}

.nb-rep-modal__section > h3 {
    margin: 0 0 10px;
    color: #151725;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.nb-author-profile__reputation-formula {
    display: grid;
    margin-top: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.nb-author-profile__reputation-formula article {
    display: grid;
    min-height: 0;
    padding: 12px 13px;
    align-content: start;
    gap: 4px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 10px;
    background: #fafafa;
}

.nb-author-profile__reputation-formula strong {
    color: #151725;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.nb-author-profile__reputation-formula span {
    margin-top: 0;
    color: #667085;
    font-size: 12.5px;
    line-height: 1.45;
}

.nb-rep-modal__footer {
    display: grid;
    margin-top: 22px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.nb-rep-modal__panel {
    margin-top: 0;
}

.nb-author-profile__reputation-impact {
    padding: 14px 15px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 10px;
    background: #fafafa;
}

.nb-author-profile__reputation-impact h3 {
    margin: 0 0 8px;
    color: #151725;
    font-size: 13px;
    font-weight: 700;
}

.nb-author-profile__reputation-impact ul {
    margin: 0;
    padding-left: 16px;
    color: #667085;
    font-size: 12.5px;
    line-height: 1.5;
}

.nb-author-profile__reputation-impact small {
    display: none;
}

@media (max-width: 650px) {
    .nb-author-profile__achievement-badges-list {
        max-width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .nb-author-profile__achievement-badges-list::-webkit-scrollbar { display: none; }
    .nb-author-profile__reputation-modal { padding: 12px; align-items: end; }
    .nb-author-profile__reputation-dialog { max-height: calc(100dvh - 24px); padding: 20px 16px 18px; border-radius: 14px 14px 0 0; }
    .nb-author-profile__reputation-formula { grid-template-columns: 1fr; }
    .nb-rep-modal__footer { grid-template-columns: 1fr; }
    .nb-author-profile__levels-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        gap: 8px;
        padding-bottom: 2px;
    }
    .nb-author-profile__levels-grid::-webkit-scrollbar { display: none; }
    .nb-author-profile__levels-grid article {
        flex: 0 0 min(220px, 78vw);
        scroll-snap-align: start;
    }
}


/* 2.7.0 — level guide and public social links */
.nb-author-profile__level {
    gap: 5px;
    padding: 0;
    border: 0;
    color: inherit;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.nb-author-profile__level > span {
    display: grid;
    width: 15px;
    height: 15px;
    place-items: center;
    border: 1px solid rgba(22, 141, 102, .16);
    border-radius: 50%;
    font-size: 9px;
    line-height: 1;
}

.nb-author-profile__socials {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    min-height: 34px;
    margin: 0;
    padding: 0;
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.nb-author-profile__socials-links {
    display: flex;
    min-width: 0;
    align-items: center;
    flex-wrap: nowrap;
    gap: 4px;
}

.nb-author-profile__socials a {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #73798d;
    background: transparent;
    border: 0;
    border-radius: 10px;
    box-shadow: none;
    transition: color .18s ease, background-color .18s ease, transform .18s ease;
}

.nb-author-profile__socials a:hover,
.nb-author-profile__socials a:focus-visible {
    color: #6552ef;
    background: #f0edff;
    box-shadow: none;
    outline: none;
    transform: translateY(-1px);
}

.nb-author-profile__socials svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nb-author-profile__levels-guide {
    margin-top: 0;
}

.nb-author-profile__levels-guide-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.nb-author-profile__levels-guide-head h3 {
    margin: 0;
    color: #151725;
    font-size: 14px;
    font-weight: 700;
}

.nb-author-profile__levels-guide-head p {
    max-width: 520px;
    margin: 6px 0 0;
    color: #667085;
    font-size: 12.5px;
    line-height: 1.45;
}

.nb-author-profile__levels-guide-head > span {
    flex: none;
    padding: 5px 10px;
    border: 1px solid rgba(102, 84, 255, .16);
    border-radius: 999px;
    color: #5140ee;
    background: rgba(102, 84, 255, .06);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.nb-author-profile__levels-grid {
    display: grid;
    margin-top: 10px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.nb-author-profile__levels-grid article {
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 10px;
    background: #fff;
}

.nb-author-profile__levels-grid article.is-current {
    border-color: rgba(102, 84, 255, .24);
    background: rgba(102, 84, 255, .04);
    box-shadow: inset 0 0 0 1px rgba(102, 84, 255, .06);
}

.nb-author-profile__levels-grid article > span {
    display: block;
    color: #98a2b3;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.nb-author-profile__levels-grid strong,
.nb-author-profile__levels-grid b {
    display: block;
}

.nb-author-profile__levels-grid strong {
    margin-top: 4px;
    color: #151725;
    font-size: 13px;
    font-weight: 700;
}

.nb-author-profile__levels-grid b {
    margin-top: 3px;
    color: #6654ff;
    font-size: 11px;
    font-weight: 600;
}

.nb-author-profile__levels-grid p {
    margin: 6px 0 0;
    color: #667085;
    font-size: 11.5px;
    line-height: 1.4;
}

.neirobase-field--socials {
    min-width: 0;
    margin: 18px 0 0;
    padding: 18px;
    border: 1px solid #e8e9f3;
    border-radius: 18px;
}

.neirobase-field--socials legend {
    padding: 0 7px;
    font-weight: 800;
}

.neirobase-field__hint {
    margin: 0 0 12px;
    color: #858b9e;
    font-size: 12px;
}

.neirobase-social-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.neirobase-social-fields-grid label {
    display: grid;
    gap: 6px;
}

.neirobase-social-fields-grid label > span {
    color: #555c71;
    font-size: 12px;
    font-weight: 700;
}

.neirobase-social-fields-grid input {
    width: 100%;
}

@media (max-width: 760px) {
    .nb-author-profile__levels-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nb-author-profile__levels-guide-head {
        display: grid;
    }

    .nb-author-profile__levels-guide-head > span {
        width: fit-content;
    }
}

@media (max-width: 560px) {
    .nb-author-profile__socials {
        flex-wrap: nowrap;
    }

    .nb-author-profile__levels-grid,
    .neirobase-social-fields-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 761px) {
    .nb-author-profile__reputation-dialog {
        width: min(880px, 100%);
    }
}


/* 2.7.1 — restored level capsule and clean reputation help */
.nb-author-profile__level {
    display: inline-flex;
    min-height: 27px;
    align-items: center;
    padding: 5px 9px;
    color: #087f5b;
    background: rgba(32, 185, 129, .08);
    border: 1px solid rgba(32, 185, 129, .14);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 780;
    line-height: 15px;
    cursor: default;
}

.nb-author-profile__reputation-protection {
    margin-top: 0;
    padding: 14px 15px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 10px;
    background: #fafafa;
}

.nb-author-profile__reputation-protection h3 {
    margin: 0 0 8px;
    color: #151725;
    font-size: 13px;
    font-weight: 700;
}

.nb-author-profile__reputation-protection ul {
    margin: 0;
    padding-left: 16px;
    color: #667085;
    font-size: 12.5px;
    line-height: 1.5;
}


/* 2.13.84 — компактные метрики без карточки промпта и закреплений */
body.neirobase-author-profile-page .nb-author-profile__identity-card {
    grid-template-columns: 132px minmax(0, 1fr) auto;
    grid-template-rows: auto;
    column-gap: 20px;
    row-gap: 0;
    align-items: start;
}

body.neirobase-author-profile-page .nb-author-profile__identity {
    max-width: none;
    grid-column: 2;
    grid-row: 1;
}

body.neirobase-author-profile-page .nb-author-profile__insights {
    grid-column: auto;
    grid-row: auto;
    justify-self: center;
    align-self: center;
    width: 100%;
    min-width: 0;
}

.nb-author-profile__insights {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    min-width: 0;
    align-self: center;
    gap: 0;
}

.nb-author-profile__insights .nb-author-profile__rating-card,
.nb-author-profile__insights .nb-author-profile__summary {
    grid-column: auto;
    grid-row: auto;
    margin: 0;
}

body.neirobase-author-profile-page .nb-author-profile__avatar {
    grid-column: 1;
    grid-row: 1;
    transition: box-shadow .2s ease;
}

.nb-author-profile__social-proof {
    display: inline-flex;
    min-height: 27px;
    max-width: 190px;
    align-items: center;
    gap: 5px;
    padding: 5px 9px 5px 7px;
    color: #825510;
    background: linear-gradient(135deg, rgba(255, 247, 218, .96), rgba(255, 238, 247, .94));
    border: 1px solid rgba(206, 150, 45, .16);
    border-radius: 999px;
    font-size: 9.5px;
    font-weight: 780;
    line-height: 15px;
    white-space: nowrap;
}

.nb-author-profile__social-proof.is-weekly-top {
    color: #5745dc;
    background: linear-gradient(135deg, #f1eeff, #eef8ff);
    border-color: rgba(102, 84, 255, .14);
}

.nb-author-profile__social-proof svg {
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    fill: currentColor;
}

.nb-author-profile__insights > .nb-author-profile__summary {
    position: relative;
    width: 100%;
    max-width: none;
    height: 144px;
    padding: 11px 12px 10px;
    background:
        radial-gradient(circle at 96% 4%, rgba(106, 200, 231, .12), transparent 42%),
        radial-gradient(circle at 5% 100%, rgba(122, 101, 255, .06), transparent 44%),
        linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(247, 248, 255, .94));
    border-radius: 25px;
    box-shadow: 0 14px 34px rgba(44, 35, 99, .09), inset 0 1px 0 rgba(255, 255, 255, .94);
}

.nb-author-profile__summary .nb-author-profile__metric {
    padding: 0 10px 2px;
}

.nb-author-profile__summary .nb-author-profile__metric-label {
    min-height: 21px;
    gap: 6px;
}

.nb-author-profile__summary .nb-author-profile__metric-label > i {
    width: 21px;
    height: 21px;
    flex-basis: 21px;
    border-radius: 7px;
}

.nb-author-profile__summary .nb-author-profile__metric-label svg {
    width: 14px;
    height: 14px;
}

.nb-author-profile__summary .nb-author-profile__metric-label small {
    font-size: 10px;
    font-weight: 760;
}

.nb-author-profile__summary .nb-author-profile__metric-value {
    gap: 4px;
    margin-top: 5px;
}

.nb-author-profile__summary .nb-author-profile__metric-value > strong {
    font-size: clamp(24px, 1.55vw, 28px);
}

.nb-author-profile__summary .nb-author-profile__metric-change {
    min-height: 21px;
    gap: 4px;
    padding: 4px 8px;
}

.nb-author-profile__summary .nb-author-profile__metric-change b {
    font-size: 11px;
}

.nb-author-profile__summary .nb-author-profile__metric-change small {
    font-size: 8.5px;
}

.nb-author-profile__summary .nb-author-profile__achievement-badges {
    gap: 10px;
    margin-top: 7px;
    padding-top: 7px;
}

.nb-author-profile__summary .nb-author-profile__achievement-badges-head strong {
    font-size: 9.5px;
}

.nb-author-profile__summary .nb-author-profile__achievement-badges-head span {
    font-size: 8.25px;
}

.nb-author-profile__insights .nb-author-profile__rating-card {
    width: 132px;
    height: 132px;
    aspect-ratio: 1;
    padding: 11px 12px 10px;
}

.nb-author-profile__insights .nb-author-profile__rating-label-row.nb-author-profile__reputation-help {
    min-height: 28px;
    gap: 4px;
    padding: 3px 6px 3px 7px;
}

.nb-author-profile__insights .nb-author-profile__rating-label {
    font-size: 8.25px;
}

.nb-author-profile__insights .nb-author-profile__rating-label-row.nb-author-profile__reputation-help svg {
    width: 10px;
    height: 10px;
    flex-basis: 10px;
}

.nb-author-profile__insights .nb-author-profile__rating-value {
    margin: 7px 0 5px;
}

.nb-author-profile__insights .nb-author-profile__rating-value strong {
    font-size: 35px;
}

.nb-author-profile__insights .nb-author-profile__rating-value span {
    font-size: 9px;
}

.nb-author-profile__rating-level {
    display: grid;
    gap: 3px;
}

.nb-author-profile__rating-level-copy {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    color: #6f7488;
    font-size: 8px;
    font-weight: 720;
    line-height: 1;
}

.nb-author-profile__rating-level-copy span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nb-author-profile__rating-level-copy b {
    flex: 0 0 auto;
    color: #5544e8;
    font-size: 8px;
    font-weight: 850;
    font-variant-numeric: tabular-nums;
}

.nb-author-profile__rating-level-track {
    display: block;
    height: 4px;
    overflow: hidden;
    background: rgba(102, 84, 255, .11);
    border-radius: 999px;
}

.nb-author-profile__rating-level-track i {
    display: block;
    width: var(--nb-author-level-progress, 0%);
    height: 100%;
    background: linear-gradient(90deg, #7664ff, #6aaef4, #39bea0);
    border-radius: inherit;
    box-shadow: 0 0 10px rgba(102, 84, 255, .24);
}

.nb-author-profile__insights .nb-author-profile__rating-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    margin-top: 5px;
}

.nb-author-profile__insights .nb-author-profile__rating-meta em {
    width: auto;
    min-height: 14px;
    padding: 2px 5px;
    font-size: 7px;
}

.nb-author-profile__rating-meta small {
    margin-left: auto;
    overflow: hidden;
    color: #858a9e;
    font-size: 7px;
    font-weight: 760;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 1280px) {
    body.neirobase-author-profile-page .nb-author-profile__identity-card {
        grid-template-columns: 132px minmax(0, 1fr);
    }

    .nb-author-profile__insights {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
    }
}

@media (max-width: 1120px) {
    body.neirobase-author-profile-page .nb-author-profile__identity-card {
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .nb-author-profile__insights {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
    }

    .nb-author-profile__insights .nb-author-profile__rating-card,
    .nb-author-profile__insights > .nb-author-profile__summary {
        grid-column: auto;
        grid-row: auto;
    }

    .nb-author-profile__insights > .nb-author-profile__summary {
        height: 144px;
        padding: 11px 12px 10px;
    }
}

@media (max-width: 760px) {
    body.neirobase-author-profile-page .nb-author-profile__identity-card {
        grid-template-columns: 88px minmax(0, 1fr);
    }

    .nb-author-profile__insights {
        grid-column: 1 / -1;
        grid-row: 2;
        grid-template-columns: 112px minmax(0, 1fr);
        margin-top: 2px;
    }

    .nb-author-profile__insights .nb-author-profile__rating-card,
    .nb-author-profile__insights > .nb-author-profile__summary {
        grid-column: auto;
        grid-row: auto;
    }

    .nb-author-profile__insights .nb-author-profile__rating-card {
        width: 112px;
        height: 112px;
        padding: 9px;
        border-radius: 24px;
    }

    .nb-author-profile__insights .nb-author-profile__rating-label-row.nb-author-profile__reputation-help {
        display: inline-flex;
        min-height: 28px;
    }

    .nb-author-profile__insights .nb-author-profile__rating-value {
        margin: 5px 0 4px;
    }

    .nb-author-profile__insights .nb-author-profile__rating-value strong {
        font-size: 29px;
    }

    .nb-author-profile__insights .nb-author-profile__rating-level-copy {
        font-size: 6.7px;
    }

    .nb-author-profile__insights .nb-author-profile__rating-meta {
        display: flex;
        margin-top: 4px;
    }

    .nb-author-profile__insights > .nb-author-profile__summary {
        grid-column: auto;
        grid-row: auto;
        height: auto;
        min-height: 144px;
        margin-top: 0;
    }

    .nb-author-profile__summary .nb-author-profile__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nb-author-profile__summary .nb-author-profile__metric {
        padding: 7px 10px 8px;
    }
}

@media (max-width: 520px) {
    body.neirobase-author-profile-page .nb-author-profile__identity-card {
        grid-template-columns: 1fr;
    }

    .nb-author-profile__insights {
        grid-column: 1;
        grid-row: 3;
    }

    .nb-author-profile__summary .nb-author-profile__metric-label small {
        font-size: 8px;
    }

    .nb-author-profile__summary .nb-author-profile__metric-value > strong {
        font-size: 24px;
    }

    .nb-author-profile__social-proof {
        max-width: 100%;
    }
}

@media (max-width: 430px) {
    .nb-author-profile__insights {
        grid-template-columns: 1fr;
    }

    .nb-author-profile__insights .nb-author-profile__rating-card {
        width: 132px;
        height: 132px;
        padding: 11px 12px 10px;
    }

    .nb-author-profile__insights .nb-author-profile__rating-value strong {
        font-size: 35px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nb-author-profile__avatar {
        transition: none;
    }
}

/*
 * Финальные размеры действий профиля. Раньше их задавал плагин Styles через
 * !important; правила перенесены владельцу без изменения значений.
 */
body.neirobase-author-profile-page .nb-author-profile__identity .nb-author-profile__actions > a {
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 13px;
    font-size: 13px;
    line-height: 18px;
}

body.neirobase-author-profile-page .nb-author-profile__actions .nb-author-profile__socials a {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 10px;
}

body.neirobase-author-profile-page .nb-author-profile__achievement-badge {
    width: 34px;
    height: 34px;
    border-radius: 11px;
}

/* Refresh 2.34.6 — flat panels aligned with homepage/account */
body.neirobase-author-profile-page .nb-author-profile__rating-card,
body.neirobase-author-profile-page .nb-author-profile__progress-card,
body.neirobase-author-profile-page .nb-author-profile__sidebar-card,
body.neirobase-author-profile-page .nb-author-profile__achievements-card,
body.neirobase-author-profile-page .nb-author-profile__portfolio {
    background: #fff;
    border: 1px solid var(--nb-author-line);
    border-radius: 14px;
    box-shadow: none;
    backdrop-filter: none;
}

body.neirobase-author-profile-page .nb-author-profile__verified,
body.neirobase-author-profile-page .nb-author-profile__editor-pick {
    background: rgba(102, 84, 255, .08);
    border-color: rgba(102, 84, 255, .14);
    box-shadow: none;
}

body.neirobase-author-profile-page .nb-author-profile__metric,
body.neirobase-author-profile-page .nb-author-profile__summary-card {
    background: #fafafa;
    border-color: var(--nb-author-line);
    box-shadow: none;
}

body.neirobase-author-profile-page .nb-author-profile__level-track > span,
body.neirobase-author-profile-page .nb-author-profile__reputation-track > span {
    background: var(--nb-author-accent);
}

body.neirobase-author-profile-page .nb-author-profile__reputation-dialog {
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(15, 23, 42, .16);
}

/*
 * 2.34.17 — шапка профиля: flat-панель статистики (Linear/GitHub).
 * Одна белая карточка, крупные цифры, дельты текстом без «таблеток».
 */
.nb-author-profile__insights {
    gap: 14px;
}

.nb-author-profile__insights .nb-author-profile__rating-card {
    width: 118px;
    height: auto;
    min-height: 118px;
    aspect-ratio: auto;
    padding: 12px 13px;
    overflow: visible;
    background: #fff;
    border: 1px solid var(--nb-author-line);
    border-radius: 14px;
    box-shadow: none;
}

.nb-author-profile__insights .nb-author-profile__rating-label-row.nb-author-profile__reputation-help {
    min-height: 0;
    padding: 0;
    color: #6b7280;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: 11px;
    font-weight: 650;
}

.nb-author-profile__insights .nb-author-profile__rating-label {
    font-size: 11px;
    font-weight: 650;
}

.nb-author-profile__insights .nb-author-profile__rating-label-row.nb-author-profile__reputation-help svg {
    width: 12px;
    height: 12px;
    flex-basis: 12px;
    opacity: .55;
}

.nb-author-profile__insights .nb-author-profile__rating-value {
    margin: 8px 0 6px;
}

.nb-author-profile__insights .nb-author-profile__rating-value strong {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.04em;
}

.nb-author-profile__insights .nb-author-profile__rating-value span {
    display: block;
    margin-top: 2px;
    color: #9297a8;
    font-size: 10px;
    font-weight: 650;
}

.nb-author-profile__insights .nb-author-profile__rating-level-copy {
    font-size: 10px;
}

.nb-author-profile__insights .nb-author-profile__rating-level-track {
    height: 4px;
    background: #eef0f4;
    border-radius: 999px;
}

.nb-author-profile__insights .nb-author-profile__rating-level-track > i {
    display: block;
    height: 100%;
    background: var(--nb-author-accent, #6654ff);
    border-radius: inherit;
}

.nb-author-profile__insights .nb-author-profile__rating-meta em {
    min-height: 0;
    padding: 2px 7px;
    color: #6654ff;
    background: rgba(102, 84, 255, .08);
    border: 1px solid rgba(102, 84, 255, .12);
    border-radius: 999px;
    font-size: 9px;
    font-style: normal;
    font-weight: 720;
}

.nb-author-profile__insights .nb-author-profile__rating-meta small {
    font-size: 10px;
    font-weight: 650;
}

.nb-author-profile__insights > .nb-author-profile__summary {
    height: auto;
    min-height: 0;
    padding: 14px 16px 12px;
    background: #fff;
    border: 1px solid var(--nb-author-line);
    border-radius: 14px;
    box-shadow: none;
}

.nb-author-profile__insights .nb-author-profile__metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px 14px;
}

.nb-author-profile__insights .nb-author-profile__metric + .nb-author-profile__metric {
    border-left: 0;
}

.nb-author-profile__insights .nb-author-profile__metric {
    padding: 0;
    gap: 2px;
}

.nb-author-profile__insights .nb-author-profile__metric-label > i {
    display: none;
}

.nb-author-profile__insights .nb-author-profile__metric-label {
    min-height: 0;
}

.nb-author-profile__insights .nb-author-profile__metric-label small {
    color: #6b7280;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.25;
}

.nb-author-profile__insights .nb-author-profile__metric-value {
    gap: 2px;
    margin-top: 2px;
}

.nb-author-profile__insights .nb-author-profile__metric-value > strong {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.03em;
}

.nb-author-profile__insights .nb-author-profile__metric-change {
    display: block;
    width: auto;
    max-width: none;
    min-height: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    color: #9297a8;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.3;
    white-space: normal;
}

.nb-author-profile__insights .nb-author-profile__metric-change b {
    font-size: inherit;
    font-weight: inherit;
}

.nb-author-profile__insights .nb-author-profile__metric-change small {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.nb-author-profile__insights .nb-author-profile__metric-change small::before {
    content: " · ";
}

.nb-author-profile__insights .nb-author-profile__metric-change.is-positive {
    color: #14896b;
}

.nb-author-profile__insights .nb-author-profile__metric-change.is-negative {
    color: #c44569;
}

.nb-author-profile__insights .nb-author-profile__metric-change.is-neutral.is-quiet small {
    display: none;
}

.nb-author-profile__insights .nb-author-profile__achievement-badges {
    gap: 10px 14px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--nb-author-line);
}

.nb-author-profile__insights .nb-author-profile__achievement-badges-head strong {
    color: #34394d;
    font-size: 11px;
    font-weight: 720;
}

.nb-author-profile__insights .nb-author-profile__achievement-badges-head span {
    color: #9297a8;
    font-size: 10px;
    font-weight: 650;
}

.nb-author-profile__insights .nb-author-profile__achievement-badge {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    border-radius: 9px;
    box-shadow: none;
}

.nb-author-profile__insights .nb-author-profile__achievement-more {
    height: 30px;
    font-size: 10px;
}

@media (max-width: 1120px) {
    .nb-author-profile__insights > .nb-author-profile__summary {
        height: auto;
    }
}

@media (max-width: 760px) {
    .nb-author-profile__insights .nb-author-profile__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 16px;
    }

    .nb-author-profile__insights .nb-author-profile__rating-value strong {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .nb-author-profile__insights {
        grid-template-columns: 1fr;
    }

    .nb-author-profile__insights .nb-author-profile__rating-card {
        width: 100%;
        min-height: 0;
    }

    .nb-author-profile__insights .nb-author-profile__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/*
 * 2.36.3 — правая панель: репутация + компактные блоки метрик.
 */
body.neirobase-author-profile-page .nb-author-profile__insights {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-width: 0;
    width: 100%;
    overflow: visible;
}

body.neirobase-author-profile-page .nb-author-profile__insights-panel {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 256px;
    max-width: 100%;
    padding: 11px 11px 10px;
    background: #fff;
    border: 1px solid var(--nb-author-line);
    border-radius: 14px;
    box-sizing: border-box;
}

body.neirobase-author-profile-page .nb-author-profile__reputation-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
    padding: 0 0 10px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--nb-author-line);
    box-sizing: border-box;
    text-align: center;
}

body.neirobase-author-profile-page .nb-author-profile__reputation-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
}

body.neirobase-author-profile-page .nb-author-profile__reputation-kicker {
    color: #6b7280;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.neirobase-author-profile-page .nb-author-profile__reputation-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

body.neirobase-author-profile-page .nb-author-profile__reputation-ring {
    position: relative;
    display: inline-flex;
    width: 76px;
    height: 76px;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--nb-author-line);
    border-radius: 50%;
    background: #fff;
    color: inherit;
    cursor: pointer;
    appearance: none;
    transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

body.neirobase-author-profile-page .nb-author-profile__reputation-ring:hover {
    transform: scale(1.05);
    border-color: rgba(102, 84, 255, 0.28);
}

body.neirobase-author-profile-page .nb-author-profile__reputation-ring:focus-visible {
    outline: 2px solid rgba(102, 84, 255, 0.35);
    outline-offset: 4px;
}

body.neirobase-author-profile-page .nb-author-profile__reputation-ring strong {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    font-size: 24px;
    font-weight: 750;
    line-height: 1;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
    pointer-events: none;
    transition: color 0.18s ease;
}

body.neirobase-author-profile-page .nb-author-profile__reputation-ring:hover strong,
body.neirobase-author-profile-page .nb-author-profile__reputation-ring:focus-visible strong {
    color: #5140ee;
}

body.neirobase-author-profile-page .nb-author-profile__reputation-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(102, 84, 255, 0.08);
    color: #5745dc;
    font-size: 9px;
    font-weight: 650;
    line-height: 1.3;
    white-space: nowrap;
}

body.neirobase-author-profile-page .nb-author-profile__insights-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}

body.neirobase-author-profile-page .nb-author-profile__metric-block {
    --nb-author-metric-color: #5b49ee;
    --nb-author-metric-chip: rgba(239, 236, 255, 0.92);
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 0 8px;
    min-height: 0;
    padding: 8px 9px;
    background: #f8f9fb;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 10px;
    box-sizing: border-box;
    transition: border-color 0.15s ease, background 0.15s ease;
}

body.neirobase-author-profile-page .nb-author-profile__metric-block:hover {
    background: #fff;
    border-color: rgba(102, 84, 255, 0.18);
}

body.neirobase-author-profile-page .nb-author-profile__metric-block.is-uses {
    --nb-author-metric-color: #14896b;
    --nb-author-metric-chip: rgba(234, 249, 244, 0.94);
}

body.neirobase-author-profile-page .nb-author-profile__metric-block.is-views {
    --nb-author-metric-color: #306bc8;
    --nb-author-metric-chip: rgba(235, 244, 255, 0.94);
}

body.neirobase-author-profile-page .nb-author-profile__metric-block.is-followers {
    --nb-author-metric-color: #b54b79;
    --nb-author-metric-chip: rgba(255, 239, 246, 0.94);
}

body.neirobase-author-profile-page .nb-author-profile__metric-block.is-comments {
    --nb-author-metric-color: #5b46e8;
    --nb-author-metric-chip: rgba(241, 238, 255, 0.94);
}

body.neirobase-author-profile-page .nb-author-profile__metric-block-icon {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: var(--nb-author-metric-color);
    background: var(--nb-author-metric-chip);
    border-radius: 8px;
}

body.neirobase-author-profile-page .nb-author-profile__metric-block-icon svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.neirobase-author-profile-page .nb-author-profile__metric-block-body {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

body.neirobase-author-profile-page .nb-author-profile__metric-block-label {
    color: #6b7280;
    font-size: 9px;
    font-weight: 650;
    line-height: 1.25;
}

body.neirobase-author-profile-page .nb-author-profile__metric-block-value {
    color: #111827;
    font-size: 17px;
    font-weight: 750;
    line-height: 1;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}

/*
 * 2.37.1 — достижения: ровная сетка и всплывающая подсказка без чёрного блока.
 */
body.neirobase-author-profile-page .nb-author-profile__identity-card {
    overflow: visible;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-self: flex-start;
    width: auto;
    min-width: 0;
    max-width: none;
    padding: 11px 12px 12px;
    background: #fff;
    border: 1px solid var(--nb-author-line);
    border-radius: 14px;
    box-sizing: border-box;
    overflow: visible;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badges,
body.neirobase-author-profile-page .nb-author-profile__insights .nb-author-profile__achievements-panel .nb-author-profile__achievement-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badges-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    margin: 0;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badges-title {
    display: grid;
    gap: 2px;
    min-width: 0;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badges-head strong {
    color: #34394d;
    font-size: 10px;
    font-weight: 720;
    letter-spacing: 0.06em;
    line-height: 1.1;
    text-transform: uppercase;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-count {
    color: #6b7280;
    font-size: 11px;
    font-weight: 680;
    line-height: 1.1;
    white-space: nowrap;
}

body.neirobase-author-profile-page .nb-author-profile__achievement-open {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0 8px;
    border: 1px solid rgba(102, 84, 255, 0.14);
    border-radius: 999px;
    color: #6654ff;
    background: rgba(102, 84, 255, 0.06);
    font: inherit;
    font-size: 10px;
    font-weight: 720;
    line-height: 1;
    cursor: pointer;
    appearance: none;
    transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

body.neirobase-author-profile-page .nb-author-profile__achievement-open:hover,
body.neirobase-author-profile-page .nb-author-profile__achievement-open:focus-visible {
    color: #5140ee;
    background: rgba(102, 84, 255, 0.1);
    border-color: rgba(102, 84, 255, 0.22);
    outline: none;
}

body.neirobase-author-profile-page .nb-author-profile__achievement-open.is-secondary {
    width: 100%;
    margin-top: 4px;
    min-height: 30px;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-progress {
    height: 4px;
    margin: 0;
    overflow: hidden;
    background: rgba(102, 84, 255, 0.1);
    border-radius: 999px;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-progress > i {
    display: block;
    width: var(--nb-achievement-progress, 0%);
    height: 100%;
    background: linear-gradient(90deg, #6654ff, #8d7fff);
    border-radius: inherit;
    transition: width 0.24s ease;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badges-grid {
    display: grid;
    grid-template-columns: repeat(4, 32px);
    gap: 5px;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    overflow: visible;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badge-wrap {
    --nb-achievement-color: #6654ff;
    --nb-achievement-bg: #f0edff;
    position: relative;
    display: block;
    width: 32px;
    height: 32px;
    overflow: visible;
    z-index: 1;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badge-wrap:hover,
body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badge-wrap:focus-within {
    z-index: 12;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badge-wrap.is-first_use,
body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badge-wrap.is-useful,
body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badge-wrap.is-demanded {
    --nb-achievement-color: #0d8a68;
    --nb-achievement-bg: #ecfaf5;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badge-wrap.is-first_hit {
    --nb-achievement-color: #a87414;
    --nb-achievement-bg: #fff8e8;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badge-wrap.is-noticed,
body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badge-wrap.is-visible {
    --nb-achievement-color: #306bc8;
    --nb-achievement-bg: #eff6ff;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badge-wrap.is-first_follower,
body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badge-wrap.is-audience,
body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badge-wrap.is-community {
    --nb-achievement-color: #b54b79;
    --nb-achievement-bg: #fff1f6;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badge-wrap.is-multitool,
body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badge-wrap.is-versatile {
    --nb-achievement-color: #247f8d;
    --nb-achievement-bg: #edf9fb;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badge-wrap.is-profile,
body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badge-wrap.is-verified {
    --nb-achievement-color: #6654ff;
    --nb-achievement-bg: #f0edff;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badge-wrap.is-level_practitioner,
body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badge-wrap.is-level_specialist,
body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badge-wrap.is-level_expert,
body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badge-wrap.is-level_master {
    --nb-achievement-color: #8b6213;
    --nb-achievement-bg: #fff8e8;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badge {
    position: relative;
    z-index: 2;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 10px;
    background-color: var(--nb-achievement-bg);
    background-image: none;
    color: var(--nb-achievement-color);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
    font: inherit;
    cursor: help;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    transition: border-color 0.14s ease, box-shadow 0.14s ease, transform 0.14s ease;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badge::after,
body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badge::before,
body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badge:hover::after,
body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badge:focus-visible::after {
    content: none;
    display: none;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badge:hover,
body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badge:focus,
body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badge:focus-visible,
body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badge:active {
    background-color: var(--nb-achievement-bg);
    background-image: none;
    color: var(--nb-achievement-color);
    border-color: rgba(102, 84, 255, 0.24);
    box-shadow: 0 4px 12px rgba(102, 84, 255, 0.12);
    outline: none;
    transform: translateY(-1px);
    filter: none;
    opacity: 1;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badge > i svg {
    width: 15px;
    height: 15px;
    stroke-width: 2;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-tooltip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    top: auto;
    z-index: 20;
    display: grid;
    gap: 1px;
    width: max-content;
    min-width: 112px;
    max-width: 148px;
    padding: 6px 8px;
    color: #34394d;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 9px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 4px);
    transition: opacity 0.14s ease, transform 0.14s ease, visibility 0.14s ease;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-tooltip::after {
    content: none;
    display: none;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-tooltip strong,
body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-tooltip > span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-tooltip strong {
    color: #25273a;
    font-size: 10px;
    font-weight: 760;
    line-height: 1.25;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-tooltip > span {
    color: #6b7280;
    font-size: 9px;
    font-weight: 560;
    line-height: 1.3;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badge-wrap:hover .nb-author-profile__achievement-tooltip,
body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badge-wrap:focus-within .nb-author-profile__achievement-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-more {
    display: inline-flex;
    width: 32px;
    height: 32px;
    min-width: 32px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px dashed rgba(102, 84, 255, 0.24);
    border-radius: 10px;
    color: #6654ff;
    background: rgba(102, 84, 255, 0.05);
    font: inherit;
    font-size: 10px;
    font-weight: 780;
    line-height: 1;
    cursor: pointer;
    appearance: none;
    transition: background 0.14s ease, border-color 0.14s ease, transform 0.14s ease;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-more:hover,
body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-more:focus-visible {
    background: rgba(102, 84, 255, 0.1);
    border-color: rgba(102, 84, 255, 0.34);
    outline: none;
    transform: translateY(-1px);
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badges-empty {
    margin: 0;
    color: #9297a8;
    font-size: 10px;
    font-weight: 650;
    line-height: 1.45;
    text-align: center;
}

html.nb-achievements-modal-open {
    overflow: hidden;
}

.nb-author-profile__achievements-modal[hidden] {
    display: none !important;
}

.nb-author-profile__achievements-modal {
    position: fixed;
    z-index: 100006;
    inset: 0;
    display: grid;
    padding: 22px;
    place-items: center;
    opacity: 0;
    transition: opacity 0.17s ease;
}

.nb-author-profile__achievements-modal.is-open {
    opacity: 1;
}

.nb-author-profile__achievements-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(15, 18, 35, 0.48);
    backdrop-filter: blur(8px);
    cursor: default;
}

.nb-author-profile__achievements-dialog {
    position: relative;
    z-index: 1;
    width: min(680px, 100%);
    max-height: min(780px, calc(100vh - 44px));
    padding: 26px;
    overflow: auto;
    border: 1px solid rgba(92, 74, 212, 0.13);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 34px 90px rgba(18, 22, 48, 0.25);
    transform: translateY(10px) scale(0.985);
    transition: transform 0.17s ease;
    scrollbar-width: thin;
    scrollbar-color: rgba(102, 112, 133, .34) transparent;
}

.nb-author-profile__achievements-dialog::-webkit-scrollbar {
    width: 7px;
}

.nb-author-profile__achievements-dialog::-webkit-scrollbar-track {
    background: transparent;
}

.nb-author-profile__achievements-dialog::-webkit-scrollbar-thumb {
    background: rgba(102, 112, 133, .28);
    border: 2px solid transparent;
    border-radius: 999px;
    background-clip: padding-box;
}

.nb-author-profile__achievements-modal.is-open .nb-author-profile__achievements-dialog {
    transform: none;
}

.nb-author-profile__achievements-close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    width: 36px;
    height: 36px;
    padding: 0;
    place-items: center;
    border: 1px solid #e8e8f2;
    border-radius: 12px;
    color: #596077;
    background: #f8f8fc;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.nb-author-profile__achievements-kicker {
    color: #6553ef;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nb-author-profile__achievements-dialog h2 {
    margin: 0 42px 8px 0;
    color: #151827;
    font-size: 28px;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.nb-author-profile__achievements-lead {
    margin: 0;
    color: #747b90;
    font-size: 13px;
    line-height: 1.55;
}

.nb-author-profile__achievements-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid #ececf4;
    border-radius: 14px;
    background: linear-gradient(145deg, #fafaff, #f7f7fc);
}

.nb-author-profile__achievements-summary .nb-author-profile__achievement-progress {
    flex: 1 1 auto;
    margin: 0;
}

.nb-author-profile__achievements-summary > span {
    flex: 0 0 auto;
    color: #6654ff;
    font-size: 12px;
    font-weight: 780;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.nb-author-profile__achievement-catalog {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
}

.nb-author-profile__achievement-card {
    --nb-achievement-color: #6654ff;
    --nb-achievement-bg: #f0edff;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 2px 10px;
    align-items: start;
    min-height: 72px;
    padding: 10px 11px;
    border: 1px solid rgba(16, 24, 40, 0.06);
    border-radius: 14px;
    background: #fafafa;
}

.nb-author-profile__achievement-card.is-earned {
    background: linear-gradient(135deg, rgba(239, 236, 255, 0.72), rgba(244, 251, 255, 0.72));
    border-color: rgba(102, 84, 255, 0.12);
}

.nb-author-profile__achievement-card.is-locked {
    opacity: 0.78;
    filter: grayscale(0.18);
}

.nb-author-profile__achievement-card.is-first_use,
.nb-author-profile__achievement-card.is-useful,
.nb-author-profile__achievement-card.is-demanded {
    --nb-achievement-color: #0d8a68;
    --nb-achievement-bg: #ecfaf5;
}

.nb-author-profile__achievement-card.is-first_hit {
    --nb-achievement-color: #a87414;
    --nb-achievement-bg: #fff8e8;
}

.nb-author-profile__achievement-card.is-noticed,
.nb-author-profile__achievement-card.is-visible {
    --nb-achievement-color: #306bc8;
    --nb-achievement-bg: #eff6ff;
}

.nb-author-profile__achievement-card.is-first_follower,
.nb-author-profile__achievement-card.is-audience,
.nb-author-profile__achievement-card.is-community {
    --nb-achievement-color: #b54b79;
    --nb-achievement-bg: #fff1f6;
}

.nb-author-profile__achievement-card.is-multitool,
.nb-author-profile__achievement-card.is-versatile {
    --nb-achievement-color: #247f8d;
    --nb-achievement-bg: #edf9fb;
}

.nb-author-profile__achievement-card.is-profile,
.nb-author-profile__achievement-card.is-verified {
    --nb-achievement-color: #6654ff;
    --nb-achievement-bg: #f0edff;
}

.nb-author-profile__achievement-card.is-level_practitioner,
.nb-author-profile__achievement-card.is-level_specialist,
.nb-author-profile__achievement-card.is-level_expert,
.nb-author-profile__achievement-card.is-level_master {
    --nb-achievement-color: #8b6213;
    --nb-achievement-bg: #fff8e8;
}

.nb-author-profile__achievement-card-icon {
    display: grid;
    grid-row: 1 / span 2;
    width: 40px;
    height: 40px;
    place-items: center;
    color: var(--nb-achievement-color);
    background: var(--nb-achievement-bg);
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.nb-author-profile__achievement-card.is-locked .nb-author-profile__achievement-card-icon {
    color: #858a9b;
    background: #ececf2;
    box-shadow: none;
}

.nb-author-profile__achievement-card-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nb-author-profile__achievement-card-copy {
    min-width: 0;
}

.nb-author-profile__achievement-card-copy strong,
.nb-author-profile__achievement-card-copy small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nb-author-profile__achievement-card-copy strong {
    color: #2f3345;
    font-size: 12px;
    font-weight: 760;
    line-height: 1.25;
}

.nb-author-profile__achievement-card-copy small {
    margin-top: 2px;
    color: #8b91a3;
    font-size: 10px;
    font-weight: 620;
    line-height: 1.3;
}

.nb-author-profile__achievement-card-status {
    grid-column: 2;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 0 7px;
    border-radius: 999px;
    color: #0d8a68;
    background: rgba(13, 138, 104, 0.1);
    font-size: 9px;
    font-weight: 780;
    line-height: 1;
    font-style: normal;
}

.nb-author-profile__achievement-card-progress {
    grid-column: 2;
    display: grid;
    gap: 4px;
    width: 100%;
    min-width: 0;
}

.nb-author-profile__achievement-card-progress > i {
    display: block;
    width: var(--nb-achievement-card-progress, 0%);
    height: 4px;
    overflow: hidden;
    background: linear-gradient(90deg, #6654ff, #8d7fff);
    border-radius: 999px;
}

.nb-author-profile__achievement-card-progress em {
    color: #8b91a3;
    font-size: 9px;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 720px) {
    .nb-author-profile__achievements-modal {
        padding: 12px;
        align-items: end;
    }

    .nb-author-profile__achievements-dialog {
        max-height: calc(100vh - 24px);
        padding: 22px 16px 18px;
        border-radius: 18px;
    }

    .nb-author-profile__achievement-catalog {
        grid-template-columns: 1fr;
    }
}

body.neirobase-author-profile-page .nb-author-profile__feed {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
}

body.neirobase-author-profile-page .nb-author-profile__feed-section {
    min-width: 0;
}

body.neirobase-author-profile-page .nb-author-profile__feed-section + .nb-author-profile__feed-section {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--nb-author-line);
}

body.neirobase-author-profile-page .nb-author-profile__feed-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 14px;
    padding: 0 2px;
    box-sizing: border-box;
}

body.neirobase-author-profile-page .nb-author-profile__feed-copy {
    min-width: 0;
}

body.neirobase-author-profile-page .nb-author-profile__feed-title {
    margin: 0;
    color: #151725;
    font-size: clamp(18px, 1.2vw, 22px);
    font-weight: 680;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

body.neirobase-author-profile-page .nb-author-profile__feed-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;
}

body.neirobase-author-profile-page .nb-author-profile__feed-title-default,
body.neirobase-author-profile-page .nb-author-profile__feed-title-action {
    grid-area: 1 / 1;
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    white-space: nowrap;
    transition: opacity .16s ease;
}

body.neirobase-author-profile-page .nb-author-profile__feed-title-action {
    opacity: 0;
    pointer-events: none;
    color: #5f49ee;
}

body.neirobase-author-profile-page .nb-author-profile__feed-title-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;
}

body.neirobase-author-profile-page .nb-author-profile__feed-description {
    margin: 5px 0 0;
    color: #6b7280;
    font-size: 13px;
    font-weight: 520;
    line-height: 1.4;
}

@media (hover: hover) {
    body.neirobase-author-profile-page .nb-author-profile__feed-title-link:hover,
    body.neirobase-author-profile-page .nb-author-profile__feed-title-link:focus-visible {
        color: #5f49ee;
    }
    body.neirobase-author-profile-page .nb-author-profile__feed-title-link:hover .nb-author-profile__feed-title-default,
    body.neirobase-author-profile-page .nb-author-profile__feed-title-link:focus-visible .nb-author-profile__feed-title-default {
        opacity: 0;
    }
    body.neirobase-author-profile-page .nb-author-profile__feed-title-link:hover .nb-author-profile__feed-title-action,
    body.neirobase-author-profile-page .nb-author-profile__feed-title-link:focus-visible .nb-author-profile__feed-title-action {
        opacity: 1;
    }
    body.neirobase-author-profile-page .nb-author-profile__feed-title-link:hover .nb-author-profile__feed-title-action .nb-author-profile__feed-title-arrow,
    body.neirobase-author-profile-page .nb-author-profile__feed-title-link:focus-visible .nb-author-profile__feed-title-action .nb-author-profile__feed-title-arrow {
        opacity: 1;
        transform: translateX(2px);
        color: #5140ee;
    }
}

body.neirobase-author-profile-page .nb-author-profile__feed-title-link:focus-visible {
    outline: 2px solid rgba(101, 84, 245, .28);
    outline-offset: 4px;
    border-radius: 4px;
}

@media (hover: none) {
    body.neirobase-author-profile-page .nb-author-profile__feed-title-action { display: none; }
    body.neirobase-author-profile-page .nb-author-profile__feed-title-arrow { opacity: .72; }
}

body.neirobase-author-profile-page .nb-author-profile__feed-back {
    display: inline-flex;
    align-items: center;
    margin: 0 0 6px;
    color: #6b7280;
    font-size: 12.5px;
    font-weight: 560;
    line-height: 1.2;
    text-decoration: none;
}

body.neirobase-author-profile-page .nb-author-profile__feed-back:hover {
    color: #5140ee;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.neirobase-author-profile-page .nb-author-profile__feed-section.is-expanded + .nb-author-profile__feed-section {
    display: none;
}

body.neirobase-author-profile-page .nb-author-profile__feed-viewport {
    position: relative;
    min-width: 0;
}

body.neirobase-author-profile-page .nb-author-profile__feed-grid.nb-author-profile__prompt-grid,
body.neirobase-author-profile-page .nb-author-profile__feed-grid.nbpc-prompt-grid,
body.neirobase-author-profile-page [data-author-prompt-grid].nb-author-profile__feed-grid {
    display: grid;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 2px 2px 8px;
    gap: var(--nbpc-card-gap, 24px);
    align-items: start;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, auto);
    grid-auto-columns: calc((100% - 7 * var(--nbpc-card-gap, 24px)) / 8);
    grid-template-columns: none;
}

body.neirobase-author-profile-page .nb-author-profile__feed-grid::-webkit-scrollbar {
    display: none;
}

body.neirobase-author-profile-page .nb-author-profile__feed-grid > .nbpc-card {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: none;
    scroll-snap-align: start;
}

/* Как на главной: названия карточек скрыты. */
body.neirobase-author-profile-page .nbpc-card .nbpc-title {
    display: none;
}
body.neirobase-author-profile-page .nbpc-card .nbpc-content {
    padding-top: 8px;
}

@media (max-width: 1450px) {
    body.neirobase-author-profile-page .nb-author-profile__feed-grid.nb-author-profile__prompt-grid,
    body.neirobase-author-profile-page .nb-author-profile__feed-grid.nbpc-prompt-grid,
    body.neirobase-author-profile-page [data-author-prompt-grid].nb-author-profile__feed-grid {
        grid-auto-columns: calc((100% - 6 * var(--nbpc-card-gap, 24px)) / 7);
    }
}

@media (max-width: 1180px) {
    body.neirobase-author-profile-page .nb-author-profile__feed-grid.nb-author-profile__prompt-grid,
    body.neirobase-author-profile-page .nb-author-profile__feed-grid.nbpc-prompt-grid,
    body.neirobase-author-profile-page [data-author-prompt-grid].nb-author-profile__feed-grid {
        grid-auto-columns: calc((100% - 5 * var(--nbpc-card-gap, 24px)) / 6);
    }
}

body.neirobase-author-profile-page .nb-author-profile__feed-viewport .nbpc-home-feed__arrow {
    position: absolute;
    top: 0;
    bottom: 12px;
    z-index: 3;
    display: flex;
    width: 64px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    color: #151727;
    background: transparent;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
}

body.neirobase-author-profile-page .nb-author-profile__feed-viewport .nbpc-home-feed__arrow--prev {
    left: 0;
    background: linear-gradient(90deg, rgba(246, 247, 249, .96) 28%, rgba(246, 247, 249, 0));
    justify-content: flex-start;
    padding-left: 4px;
}

body.neirobase-author-profile-page .nb-author-profile__feed-viewport .nbpc-home-feed__arrow--next {
    right: 0;
    background: linear-gradient(270deg, rgba(246, 247, 249, .96) 28%, rgba(246, 247, 249, 0));
    justify-content: flex-end;
    padding-right: 4px;
}

body.neirobase-author-profile-page .nb-author-profile__feed-viewport .nbpc-home-feed__arrow span {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    color: #151727;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 999px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, .08);
    font-size: 28px;
    font-weight: 500;
    line-height: 1;
}

body.neirobase-author-profile-page .nb-author-profile__feed-viewport .nbpc-home-feed__arrow:hover span {
    border-color: rgba(102, 84, 255, .28);
    color: #5140ee;
}

body.neirobase-author-profile-page .nb-author-profile__feed-viewport .nbpc-home-feed__arrow:focus-visible {
    opacity: 1;
    pointer-events: auto;
    outline: none;
}

@media (hover: hover) and (pointer: fine) {
    body.neirobase-author-profile-page .nb-author-profile__feed-viewport.is-scrollable .nbpc-home-feed__arrow:not([hidden]) {
        pointer-events: auto;
    }

    body.neirobase-author-profile-page .nb-author-profile__feed-section:hover .nb-author-profile__feed-viewport.is-scrollable .nbpc-home-feed__arrow:not([hidden]),
    body.neirobase-author-profile-page .nb-author-profile__feed-viewport.is-scrollable .nbpc-home-feed__arrow:not([hidden]):hover,
    body.neirobase-author-profile-page .nb-author-profile__feed-viewport.is-scrollable .nbpc-home-feed__arrow:not([hidden]):focus-visible {
        opacity: 1;
    }
}

@media (hover: none), (pointer: coarse) {
    body.neirobase-author-profile-page .nb-author-profile__feed-viewport .nbpc-home-feed__arrow {
        display: none;
    }

    body.neirobase-author-profile-page .nb-author-profile__feed-grid > .nbpc-card {
        touch-action: pan-x;
    }
}

body.neirobase-author-profile-page .nb-author-profile__feed-section.is-filter-empty {
    display: none;
}

@media (max-width: 920px) {
    body.neirobase-author-profile-page .nb-author-profile__feed-grid.nb-author-profile__prompt-grid,
    body.neirobase-author-profile-page .nb-author-profile__feed-grid.nbpc-prompt-grid,
    body.neirobase-author-profile-page [data-author-prompt-grid].nb-author-profile__feed-grid {
        display: grid;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
        gap: var(--nbpc-card-gap, 24px);
        align-items: start;
        overflow: visible;
        scroll-snap-type: none;
        grid-auto-flow: row;
        grid-template-rows: none;
        grid-template-columns: minmax(0, 1fr);
        grid-auto-columns: unset;
    }

    body.neirobase-author-profile-page .nb-author-profile__feed-grid > .nbpc-card {
        width: 100%;
        max-width: none;
        min-width: 0;
        scroll-snap-align: unset;
        touch-action: manipulation;
    }

    body.neirobase-author-profile-page .nb-author-profile__feed-grid .nbpc-media,
    body.neirobase-author-profile-page .nb-author-profile__feed-grid .nbpc-media-host.nbpc-media {
        height: auto;
        min-height: 0;
        max-height: none;
        aspect-ratio: var(--nbpc-card-media-ratio, 3 / 2);
    }

    body.neirobase-author-profile-page .nb-author-profile__feed-grid .nbpc-media img:not(.nbpc-tool-logo),
    body.neirobase-author-profile-page .nb-author-profile__feed-grid .nbpc-media picture img {
        height: 100%;
        min-height: 0;
        max-height: none;
    }
}

@media (max-width: 720px) {
    body.neirobase-author-profile-page .nb-author-profile__feed-section + .nb-author-profile__feed-section {
        margin-top: 28px;
        padding-top: 22px;
    }

    body.neirobase-author-profile-page .nb-author-profile__feed-header {
        margin-bottom: 12px;
        gap: 12px;
    }

    body.neirobase-author-profile-page .nb-author-profile__feed-title {
        font-size: 18px;
    }

    body.neirobase-author-profile-page .nb-author-profile__feed-description {
        font-size: 12px;
    }
}

@media (max-width: 1280px) {
    body.neirobase-author-profile-page .nb-author-profile__identity-card {
        grid-template-columns: 132px minmax(0, 1fr);
    }

    body.neirobase-author-profile-page .nb-author-profile__insights {
        grid-column: 1 / -1;
        grid-row: 2;
        align-items: stretch;
        align-self: stretch;
        width: 100%;
        max-width: none;
        margin-top: 12px;
    }

    body.neirobase-author-profile-page .nb-author-profile__insights-panel {
        width: 100%;
        max-width: 360px;
    }

    body.neirobase-author-profile-page .nb-author-profile__achievements-panel {
        width: auto;
        max-width: 100%;
    }
}

@media (max-width: 760px) {
    body.neirobase-author-profile-page .nb-author-profile__insights {
        flex-direction: column;
        align-items: center;
    }

    body.neirobase-author-profile-page .nb-author-profile__insights-panel {
        width: 100%;
        max-width: 320px;
    }

    body.neirobase-author-profile-page .nb-author-profile__achievements-panel {
        width: 100%;
        min-width: 0;
        max-width: 320px;
    }

    body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badges-grid {
        margin-inline: auto;
    }
}

/*
 * 2.40.7 — компактная шапка в стиле сайта: меньше аватар,
 * имя с уровнем в одну строку, цифры и кнопки ближе.
 * 2.40.8 — имя строго по центру; уровень («Новичок») справа от имени,
 * без сдвига блока «имя + бейдж».
 */
body.neirobase-author-profile-page .nb-author-profile__identity-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0 24px 16px;
    overflow: visible;
}

body.neirobase-author-profile-page .nb-author-profile__avatar {
    grid-column: auto;
    grid-row: auto;
    justify-self: center;
    align-self: center;
    width: 112px;
    height: 112px;
    margin-top: -56px;
    border-radius: 16px;
}

body.neirobase-author-profile-page .nb-author-profile__avatar::after,
body.neirobase-author-profile-page .nb-author-profile__avatar.is-online::after {
    border-radius: 18px;
}

body.neirobase-author-profile-page .nb-author-profile__avatar-image {
    border-radius: 14px;
}

body.neirobase-author-profile-page .nb-author-profile__avatar .nb-author-presence-dot {
    width: 13px;
    height: 13px;
}

body.neirobase-author-profile-page .nb-author-profile__identity {
    grid-column: auto;
    grid-row: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: center;
    width: 100%;
    max-width: 720px;
    min-width: 0;
    padding-top: 2px;
    text-align: center;
}

body.neirobase-author-profile-page .nb-author-profile__identity-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: 8px;
    row-gap: 6px;
    width: 100%;
}

body.neirobase-author-profile-page .nb-author-profile__nameplate {
    grid-column: 2;
    justify-self: center;
    width: auto;
    max-width: min(100%, 22em);
    padding: 0;
}

body.neirobase-author-profile-page .nb-author-profile__badges {
    grid-column: 3;
    justify-self: start;
    align-self: center;
    justify-content: flex-start;
    margin: 0;
    gap: 6px;
}

body.neirobase-author-profile-page .nb-author-profile__rank {
    grid-column: 1 / -1;
    justify-self: center;
    margin: 0;
}

body.neirobase-author-profile-page .nb-author-profile__identity-head .nb-author-profile__level {
    min-height: 24px;
    padding: 3px 8px;
    font-size: 10px;
    line-height: 14px;
}

@media (max-width: 520px) {
    body.neirobase-author-profile-page .nb-author-profile__identity-head {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    body.neirobase-author-profile-page .nb-author-profile__nameplate,
    body.neirobase-author-profile-page .nb-author-profile__badges,
    body.neirobase-author-profile-page .nb-author-profile__rank {
        grid-column: 1;
        justify-self: center;
        max-width: 100%;
    }

    body.neirobase-author-profile-page .nb-author-profile__badges {
        justify-content: center;
    }
}

body.neirobase-author-profile-page .nb-author-profile__specialties,
body.neirobase-author-profile-page .nb-author-profile__actions,
body.neirobase-author-profile-page .nb-author-profile__social-row {
    justify-content: center;
}

body.neirobase-author-profile-page .nb-author-profile__bio-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0 8px;
    margin-top: 4px;
}

body.neirobase-author-profile-page .nb-author-profile__bio {
    max-width: 440px;
    margin: 0 auto !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
}

body.neirobase-author-profile-page .nb-author-profile__tenure-meta {
    margin: 0 !important;
}

body.neirobase-author-profile-page .nb-author-profile__tenure-meta.is-founder {
    letter-spacing: .01em;
}

body.neirobase-author-profile-page .nb-author-profile__tenure-meta::before {
    content: "·";
    margin-right: 8px;
    color: #c5c9d4;
}

body.neirobase-author-profile-page .nb-author-profile__specialties {
    margin-top: 8px;
    gap: 5px;
}

body.neirobase-author-profile-page .nb-author-profile__specialties span {
    min-height: 22px;
    padding: 2px 8px;
    font-size: 10px;
}

body.neirobase-author-profile-page .nb-author-profile__nameplate::before {
    display: none;
}

body.neirobase-author-profile-page .nb-author-profile__identity .nb-author-profile__nameplate h1 {
    font-size: clamp(22px, 1.8vw, 28px) !important;
}

body.neirobase-author-profile-page .nb-author-profile__identity .nb-author-profile__actions > a {
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 16px;
}

body.neirobase-author-profile-page .nb-author-profile__actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
    margin-top: 10px;
}

body.neirobase-author-profile-page .nb-author-profile__share {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
}

body.neirobase-author-profile-page .nb-author-profile__actions .nb-author-profile__socials {
    min-height: 34px;
    margin-left: 2px;
}

body.neirobase-author-profile-page .nb-author-profile__actions .nb-author-profile__socials a {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
}

body.neirobase-author-profile-page .nb-author-profile__insights {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    align-self: center;
    gap: 0;
    width: 100%;
    max-width: 720px;
    min-width: 0;
    margin: 8px auto 0;
    padding: 8px 0 0;
    overflow: visible;
    background: transparent;
    border: 0;
    border-top: 1px solid var(--nb-author-line);
    border-radius: 0;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel,
body.neirobase-author-profile-page .nb-author-profile__reputation-panel {
    position: relative;
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-self: center;
    gap: 3px;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 6px 28px;
    background: transparent;
    border: 0;
    border-right: 1px solid var(--nb-author-line);
    border-radius: 0;
    box-shadow: none;
    text-align: center;
}

body.neirobase-author-profile-page .nb-author-profile__metrics-more {
    position: relative;
    flex: 0 0 auto;
    align-self: stretch;
    padding: 0;
    border-right: 0;
    overflow: visible;
    cursor: default;
}

body.neirobase-author-profile-page .nb-author-profile__metrics-more-trigger {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 100%;
    height: 100%;
    min-height: 20px;
    margin: 0;
    padding: 6px 22px;
    border: 0;
    border-right: 1px solid var(--nb-author-line);
    background: transparent;
    color: inherit;
    cursor: default;
    appearance: none;
    font: inherit;
    box-sizing: border-box;
    transition: color 0.2s ease;
}

body.neirobase-author-profile-page .nb-author-profile__metrics-more-trigger:hover,
body.neirobase-author-profile-page .nb-author-profile__metrics-more-trigger:focus {
    background: transparent;
    color: inherit;
}

body.neirobase-author-profile-page .nb-author-profile__metrics-more-expand {
    position: absolute;
    top: 0;
    left: 100%;
    z-index: 4;
    display: grid;
    grid-template-columns: 0fr;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    pointer-events: none;
    background: #fff;
    transition: grid-template-columns 0.46s cubic-bezier(0.22, 1, 0.36, 1);
}

body.neirobase-author-profile-page .nb-author-profile__metrics-more-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    width: auto;
    min-width: 0;
    height: 100%;
    overflow: hidden;
}

body.neirobase-author-profile-page .nb-author-profile__insights.is-stats-open .nb-author-profile__metrics-more-grid {
    width: max-content;
    min-width: max-content;
}

body.neirobase-author-profile-page .nb-author-profile__metrics-more-expand .nb-author-profile__metric-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex: 0 0 auto;
    min-width: 0;
    margin: 0;
    padding: 6px 20px;
    background: transparent;
    border: 0;
    border-right: 1px solid var(--nb-author-line);
    border-radius: 0;
    box-shadow: none;
    text-align: center;
    opacity: 0;
    transform: translateX(10px);
    transition:
        opacity 0.28s ease,
        transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

body.neirobase-author-profile-page .nb-author-profile__reputation-panel {
    margin: 0;
    padding: 6px 28px;
    border: 0;
    border-right: 1px solid var(--nb-author-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.neirobase-author-profile-page .nb-author-profile__reputation-panel::before {
    inset: 0;
    border-radius: inherit;
}

body.neirobase-author-profile-page .nb-author-profile__reputation-panel:hover::before,
body.neirobase-author-profile-page .nb-author-profile__reputation-panel:focus-within::before {
    background: rgba(15, 23, 42, 0.06);
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel,
body.neirobase-author-profile-page .nb-author-profile__reputation-panel {
    cursor: pointer;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel::before,
body.neirobase-author-profile-page .nb-author-profile__reputation-panel::before {
    content: '';
    position: absolute;
    z-index: 0;
    inset: 0 6px;
    border-radius: 10px;
    background: transparent;
    pointer-events: none;
    transition: background-color 0.15s ease;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel:hover::before,
body.neirobase-author-profile-page .nb-author-profile__achievements-panel:focus-within::before {
    background: rgba(15, 23, 42, 0.06);
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel > *:not(.nb-author-profile__achievements-open),
body.neirobase-author-profile-page .nb-author-profile__reputation-panel > *:not(.nb-author-profile__reputation-open),
body.neirobase-author-profile-page .nb-author-profile__metrics-more-trigger {
    position: relative;
    z-index: 1;
}

body.neirobase-author-profile-page .nb-author-profile__metrics-more-expand .nb-author-profile__metric-block:last-child {
    border-right: 0;
    padding-right: 6px;
}

body.neirobase-author-profile-page .nb-author-profile__metrics-more-expand .nb-author-profile__metric-block-icon {
    display: none;
}

body.neirobase-author-profile-page .nb-author-profile__metrics-more-expand .nb-author-profile__metric-block-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    min-width: 0;
}

body.neirobase-author-profile-page .nb-author-profile__metrics-more-expand .nb-author-profile__metric-block-value {
    color: #111827;
    font-size: 17px;
    font-weight: 750;
    line-height: 1;
    letter-spacing: -0.04em;
    white-space: nowrap;
}

body.neirobase-author-profile-page .nb-author-profile__metrics-more-expand .nb-author-profile__metric-block-label {
    color: #6b7280;
    font-size: 11px;
    font-weight: 550;
    line-height: 1.25;
    white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
    body.neirobase-author-profile-page .nb-author-profile__insights.is-stats-open .nb-author-profile__metrics-more-expand .nb-author-profile__metric-block:nth-child(1) {
        transition-delay: 0.04s;
    }

    body.neirobase-author-profile-page .nb-author-profile__insights.is-stats-open .nb-author-profile__metrics-more-expand .nb-author-profile__metric-block:nth-child(2) {
        transition-delay: 0.08s;
    }

    body.neirobase-author-profile-page .nb-author-profile__insights.is-stats-open .nb-author-profile__metrics-more-expand .nb-author-profile__metric-block:nth-child(3) {
        transition-delay: 0.12s;
    }

    body.neirobase-author-profile-page .nb-author-profile__insights.is-stats-open .nb-author-profile__metrics-more-expand .nb-author-profile__metric-block:nth-child(4) {
        transition-delay: 0.16s;
    }

    body.neirobase-author-profile-page .nb-author-profile__insights.is-stats-open .nb-author-profile__metrics-more-expand .nb-author-profile__metric-block:nth-child(5) {
        transition-delay: 0.2s;
    }
}

body.neirobase-author-profile-page .nb-author-profile__insights.is-stats-open .nb-author-profile__metrics-more-expand {
    grid-template-columns: 1fr;
    pointer-events: auto;
}

body.neirobase-author-profile-page .nb-author-profile__insights.is-stats-open .nb-author-profile__metrics-more-expand .nb-author-profile__metric-block {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0s;
}

body.neirobase-author-profile-page .nb-author-profile__metrics-more-trigger:focus-visible {
    outline: 2px solid rgba(102, 84, 255, 0.35);
    outline-offset: 2px;
    border-radius: 8px;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel:hover .nb-author-profile__achievement-count,
body.neirobase-author-profile-page .nb-author-profile__achievements-panel:focus-within .nb-author-profile__achievement-count,
body.neirobase-author-profile-page .nb-author-profile__reputation-panel:hover .nb-author-profile__reputation-ring strong,
body.neirobase-author-profile-page .nb-author-profile__reputation-panel:focus-within .nb-author-profile__reputation-ring strong {
    color: #000;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel:hover .nb-author-profile__achievement-badges-head strong,
body.neirobase-author-profile-page .nb-author-profile__achievements-panel:focus-within .nb-author-profile__achievement-badges-head strong,
body.neirobase-author-profile-page .nb-author-profile__reputation-panel:hover .nb-author-profile__reputation-kicker,
body.neirobase-author-profile-page .nb-author-profile__reputation-panel:focus-within .nb-author-profile__reputation-kicker {
    color: #374151;
}

body.neirobase-author-profile-page .nb-author-profile__metrics-more-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 20px;
    color: #111827;
    transition: color 0.15s ease;
}

body.neirobase-author-profile-page .nb-author-profile__metrics-more-value svg {
    width: 28px;
    height: 6px;
    fill: currentColor;
}

body.neirobase-author-profile-page .nb-author-profile__metrics-more-label {
    color: #6b7280;
    font-size: 11px;
    font-weight: 550;
    line-height: 1.25;
    transition: color 0.15s ease;
}

body.neirobase-author-profile-page .nb-author-profile__insights:has(.nb-author-profile__metrics-more:hover),
body.neirobase-author-profile-page .nb-author-profile__insights:has(.nb-author-profile__metrics-more:focus-within),
body.neirobase-author-profile-page .nb-author-profile__insights:has(.nb-author-profile__metrics-more-expand:hover),
body.neirobase-author-profile-page .nb-author-profile__insights.is-stats-open {
    z-index: 8;
}

body.neirobase-author-profile-page .nb-author-profile__reputation-visual {
    position: relative;
    order: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 0;
    pointer-events: none;
}

body.neirobase-author-profile-page .nb-author-profile__reputation-head {
    order: 1;
    justify-content: center;
    pointer-events: none;
}

body.neirobase-author-profile-page .nb-author-profile__reputation-open {
    position: absolute;
    inset: 0;
    z-index: 2;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: transparent;
    font-size: 0;
    cursor: pointer;
    appearance: none;
}

body.neirobase-author-profile-page .nb-author-profile__reputation-open:hover,
body.neirobase-author-profile-page .nb-author-profile__reputation-open:focus-visible {
    background: transparent;
    border: 0;
    color: transparent;
}

body.neirobase-author-profile-page .nb-author-profile__reputation-open:focus-visible {
    outline: 2px solid rgba(102, 84, 255, 0.35);
    outline-offset: -2px;
}

body.neirobase-author-profile-page .nb-author-profile__reputation-kicker {
    font-size: 11px;
    font-weight: 550;
    letter-spacing: 0;
    text-transform: none;
}

body.neirobase-author-profile-page .nb-author-profile__reputation-badge {
    display: none;
}

body.neirobase-author-profile-page .nb-author-profile__reputation-ring {
    position: relative;
    inset: auto;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    pointer-events: none;
}

body.neirobase-author-profile-page .nb-author-profile__reputation-ring:hover {
    transform: none;
}

body.neirobase-author-profile-page .nb-author-profile__reputation-ring strong {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    font-size: 17px;
    font-weight: 750;
    letter-spacing: -0.04em;
    text-align: center;
    pointer-events: none;
    transition: color 0.15s ease;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badges,
body.neirobase-author-profile-page .nb-author-profile__insights .nb-author-profile__achievements-panel .nb-author-profile__achievement-badges {
    align-items: center;
    gap: 3px;
}

body.neirobase-author-profile-page .nb-author-profile__insights .nb-author-profile__achievements-panel .nb-author-profile__achievement-badges {
    pointer-events: none;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badges-head {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badges-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-count {
    order: -1;
    color: #111827;
    font-size: 17px;
    font-weight: 750;
    letter-spacing: -0.04em;
    white-space: nowrap;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badges-head strong {
    color: #6b7280;
    font-size: 11px;
    font-weight: 550;
    letter-spacing: 0;
    text-transform: none;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-progress,
body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badges-grid,
body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badges-empty,
body.neirobase-author-profile-page .nb-author-profile__insights .nb-author-profile__achievements-panel .nb-author-profile__achievement-badges-head .nb-author-profile__achievement-open {
    display: none;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-open {
    position: absolute;
    inset: 0;
    z-index: 2;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: transparent;
    font-size: 0;
    cursor: pointer;
    appearance: none;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-open:hover,
body.neirobase-author-profile-page .nb-author-profile__achievements-open:focus-visible {
    background: transparent;
    border: 0;
    color: transparent;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-open:focus-visible {
    outline: 2px solid rgba(102, 84, 255, 0.35);
    outline-offset: -2px;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-count {
    transition: color 0.15s ease;
}

body.neirobase-author-profile-page .nb-author-profile__achievements-panel .nb-author-profile__achievement-badges-head strong,
body.neirobase-author-profile-page .nb-author-profile__reputation-kicker {
    transition: color 0.15s ease;
}

@media (max-width: 1280px) {
    body.neirobase-author-profile-page .nb-author-profile__identity-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        grid-template-columns: none;
    }

    body.neirobase-author-profile-page .nb-author-profile__insights {
        grid-column: auto;
        grid-row: auto;
        width: 100%;
        max-width: 720px;
        margin: 8px auto 0;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    body.neirobase-author-profile-page .nb-author-profile__achievements-panel {
        width: auto;
        max-width: none;
    }
}

@media (max-width: 720px) {
    body.neirobase-author-profile-page .nb-author-profile__identity-card {
        padding: 0 16px 14px;
        gap: 4px;
    }

    body.neirobase-author-profile-page .nb-author-profile__avatar {
        width: 96px;
        height: 96px;
        margin-top: -48px;
        border-radius: 14px;
    }

    body.neirobase-author-profile-page .nb-author-profile__avatar::after,
    body.neirobase-author-profile-page .nb-author-profile__avatar.is-online::after {
        border-radius: 16px;
    }

    body.neirobase-author-profile-page .nb-author-profile__avatar-image {
        border-radius: 12px;
    }

    body.neirobase-author-profile-page .nb-author-profile__identity,
    body.neirobase-author-profile-page .nb-author-profile__insights {
        max-width: none;
        width: 100%;
    }

    body.neirobase-author-profile-page .nb-author-profile__insights {
        display: flex;
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
        padding-top: 8px;
    }

    body.neirobase-author-profile-page .nb-author-profile__achievements-panel,
    body.neirobase-author-profile-page .nb-author-profile__reputation-panel {
        padding: 8px 14px;
        border-bottom: 0;
    }

    body.neirobase-author-profile-page .nb-author-profile__metrics-more {
        padding: 0;
    }

    body.neirobase-author-profile-page .nb-author-profile__metrics-more-trigger {
        padding: 8px 14px;
    }

    body.neirobase-author-profile-page .nb-author-profile__metrics-more-expand .nb-author-profile__metric-block {
        padding: 8px 12px;
    }

    body.neirobase-author-profile-page .nb-author-profile__insights {
        max-width: calc(100vw - 32px);
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
    }

    body.neirobase-author-profile-page .nb-author-profile__identity .nb-author-profile__nameplate h1 {
        font-size: clamp(24px, 7vw, 32px) !important;
    }
}

/* Категории на профиле автора — плоские чипы, как на главной */
.nb-author-profile__categories {
    display: flex;
    width: 100%;
    min-width: 0;
    gap: 8px;
    margin: 0 0 16px;
    padding: 2px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.nb-author-profile__categories::-webkit-scrollbar { display: none; }
.nb-author-profile__categories[hidden] {
    display: none !important;
}
.nb-author-profile__categories .nbpc-home-categories__item {
    display: inline-flex;
    min-height: 32px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border: 1px solid rgba(15, 23, 42, .09);
    border-radius: 999px;
    color: #50586a;
    background: rgba(255, 255, 255, .82);
    box-shadow: none;
    font: inherit;
    font-size: 12.5px;
    font-weight: 620;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}
.nb-author-profile__categories .nbpc-home-categories__item:hover {
    border-color: rgba(95, 73, 238, .28);
    color: #5140d8;
    background: #fff;
}
.nb-author-profile__categories .nbpc-home-categories__item.is-active {
    border-color: #5f49ee;
    color: #fff;
    background: #5f49ee;
    box-shadow: none;
}
.nb-author-profile__categories .nbpc-home-categories__item.is-active:hover {
    border-color: #5140d8;
    color: #fff;
    background: #5140d8;
}
.nb-author-profile__categories .nbpc-home-categories__item:focus-visible {
    outline: 2px solid rgba(95, 73, 238, .3);
    outline-offset: 2px;
}
@media (max-width: 720px) {
    .nb-author-profile__categories {
        gap: 7px;
        margin-bottom: 12px;
    }
    .nb-author-profile__categories .nbpc-home-categories__item {
        min-height: 31px;
        padding: 0 12px;
        font-size: 12px;
    }
}

.nb-author-profile__filters-stack {
    display: flex;
    width: 100%;
    min-width: 0;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 16px;
}
.nb-author-profile__filters-stack[hidden] {
    display: none !important;
}
.nb-author-profile__filters-stack .nb-author-profile__categories {
    margin: 0;
}
