.ss-profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    z-index: 2;
}
.ss-profile-photo img.is-hidden {
    display: none;
}
.ss-profile-initial-fallback {
    position: relative;
    z-index: 1;
}
.ss-profile-arrow {
    color: #5e6a86;
    font-size: 1.1rem;
}
.ss-profile-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.85rem);
    right: 0;
    width: min(280px, calc(100vw - 2rem));
    padding: 0.75rem;
    background: #ffffff;
    border: 1px solid #e6ecfb;
    border-radius: 1.1rem;
    box-shadow: 0 22px 56px rgba(31, 45, 90, 0.16);
    z-index: 120;
}
.ss-profile-menu.is-open {
    display: block;
}
.ss-profile-menu-head {
    padding: 0.75rem 0.75rem 0.85rem;
    border-bottom: 1px solid #edf1fb;
    margin-bottom: 0.45rem;
}
.ss-profile-menu-head strong,
.ss-profile-menu-head small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ss-profile-menu-head small {
    margin-top: 0.25rem;
    color: #66728f;
    font-size: 0.84rem;
}
.ss-profile-menu a,
.ss-profile-menu button {
    width: 100%;
    display: block;
    border: 0;
    border-radius: 0.75rem;
    background: transparent;
    color: #17213d;
    text-align: left;
    text-decoration: none;
    font-weight: 800;
    padding: 0.7rem 0.75rem;
}
.ss-profile-menu a:hover,
.ss-profile-menu button:hover,
.ss-profile-menu a:focus-visible,
.ss-profile-menu button:focus-visible {
    background: #eef3ff;
    color: #3159f5;
    outline: none;
}
.ss-profile-menu button {
    color: #df4052;
    margin-top: 0.25rem;
}
.ss-menu-disabled {
    opacity: 0.55;
}
.ss-header-pill {
    padding: 0.65rem 1rem;
    border-radius: 0.9rem;
    color: #3159f5;
    background: #ffffff;
}
.ss-header-primary {
    background: #3159f5;
    color: #ffffff;
    border-color: #3159f5;
}
.ss-mobile-search-btn,
.ss-mobile-search-panel,
.ss-mobile-menu-trigger {
    display: none;
}
@media (max-width: 1199.98px) {
    .ss-global-header {
        grid-template-columns: minmax(210px, 260px) minmax(220px, 1fr) auto auto;
        gap: 0.75rem;
        padding-inline: 1rem;
    }
    .ss-brand-copy small {
        display: none;
    }
    .ss-global-search {
        max-width: 520px;
    }
    .ss-icon-btn {
        width: 43px;
        height: 43px;
    }
}
@media (max-width: 991.98px) {
    .ss-top-new-post,
    .ss-top-nav-feed,
    .ss-top-nav-network,
    .ss-top-nav-notifications,
    .ss-profile-menu-wrap {
        display: none !important;
    }
    .ss-top-nav-messages,
    .ss-mobile-menu-trigger {
        display: grid !important;
    }
}
@media (max-width: 767.98px) {
    .ss-global-header {
        min-height: 68px;
        grid-template-columns: auto 1fr auto;
        gap: 0.7rem;
    }
    .ss-brand-logo-img {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        border-radius: 13px;
    }
    .ss-brand-copy strong {
        font-size: 1.05rem;
    }
    .ss-brand-copy small,
    .ss-global-search {
        display: none;
    }
    .ss-mobile-search-btn {
        width: 43px;
        height: 43px;
        display: grid;
        place-items: center;
        justify-self: end;
        border: 1px solid #dfe7f5;
        border-radius: 0.9rem;
        background: #f8faff;
        color: #2f3a59;
        font-size: 1.2rem;
    }
    .ss-header-actions {
        gap: 0.45rem;
    }
    .ss-new-post-btn,
    .ss-profile-photo {
        width: 43px;
        height: 43px;
    }
    .ss-profile-arrow {
        display: none;
    }
    .ss-mobile-search-panel.is-open {
        display: block;
        padding: 0.75rem 1rem;
        background: #ffffff;
        border-bottom: 1px solid #e7edf8;
        position: sticky;
        top: 68px;
        z-index: 70;
    }
    .ss-mobile-search-panel form {
        height: 44px;
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: center;
        gap: 0.65rem;
        padding: 0 0.9rem;
        border: 1px solid #dce4f3;
        border-radius: 0.9rem;
        background: #fbfcff;
    }
    .ss-mobile-search-panel input {
        border: 0;
        outline: 0;
        background: transparent;
        width: 100%;
    }
}
