/* Только технические стили базовых компонентов Core. */
.author-avatar-image,
.author-banner-img,
.neirobase-avatar-preview,
.neirobase-banner-preview {
    display: block;
    max-width: 100%;
    height: auto;
}

.neirobase-profile-form label {
    display: block;
}

.neirobase-profile-form input,
.neirobase-profile-form textarea,
.neirobase-profile-form button {
    box-sizing: border-box;
    max-width: 100%;
}

.neirobase-profile-notice[hidden] {
    display: none;
}

/* Состояние подписки определяется классом is-following. */
.neirobase-follow-button[aria-busy="true"] {
    cursor: wait;
}


/* Форма редактирования доступна только владельцу выбранного промпта. */
.neirobase-edit-prompt-access-denied .neirobase-edit-prompt-form {
    display: none !important;
}


/* Техническое скрытие защиты от ботов и форм для уже вошедшего пользователя. */
.neirobase-auth-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.logged-in .neirobase-login-form,
.logged-in .neirobase-register-form {
    display: none !important;
}

/* Форма заявки скрывается для гостей, авторов и при заявке на рассмотрении. */
.neirobase-author-application-unavailable .neirobase-author-application-form {
    display: none !important;
}



/* 2.7.1 — automatically visible social-network editor */
.neirobase-social-editor-card {
    width: min(980px, calc(100% - 28px));
    margin: 24px auto 42px;
    padding: 24px;
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(76,61,168,.11);
    border-radius: 24px;
    box-shadow: 0 18px 46px rgba(44,35,99,.08);
}
.neirobase-social-editor-card__head span {
    color: #6754ef;
    font-size: 10px;
    font-weight: 820;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.neirobase-social-editor-card__head h2 {
    margin: 5px 0 0;
    color: #171927;
    font-size: 24px;
    letter-spacing: -.035em;
}
.neirobase-social-editor-card__head p {
    margin: 7px 0 0;
    color: #7c8295;
    font-size: 12px;
}
.neirobase-social-editor-card .neirobase-field--socials {
    margin-top: 18px;
}
.neirobase-social-editor-card .neirobase-field--socials legend,
.neirobase-social-editor-card .neirobase-field__hint {
    display: none;
}
.neirobase-social-editor-card .neirobase-social-fields-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px;
}
.neirobase-social-editor-card .neirobase-social-fields-grid label {
    display: grid;
    gap: 7px;
    color: #555c71;
    font-size: 12px;
    font-weight: 720;
}
.neirobase-social-editor-card .neirobase-social-fields-grid input {
    width: 100%;
    min-height: 46px;
    padding: 0 13px;
    color: #171927;
    background: #fff;
    border: 1px solid #e3e5ef;
    border-radius: 13px;
    box-shadow: none;
}
.neirobase-social-editor-card .neirobase-social-fields-grid input:focus {
    border-color: #7662ff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(118,98,255,.10);
}
.neirobase-social-editor-form > button {
    min-height: 44px;
    margin-top: 16px;
    padding: 0 18px;
    color: #fff;
    background: linear-gradient(135deg,#765eff,#563cff);
    border: 0;
    border-radius: 13px;
    box-shadow: 0 10px 24px rgba(86,60,255,.22);
    font-weight: 780;
    cursor: pointer;
}
@media (max-width:680px) {
    .neirobase-social-editor-card { padding: 18px; border-radius: 19px; }
    .neirobase-social-editor-card .neirobase-social-fields-grid { grid-template-columns: 1fr; }
}
