.header_bottom .header_bottom-right .js-header-member {
    flex: 1 1 auto;
    justify-content: flex-end;
    min-width: 84px;
    max-width: 190px;
    margin-left: 4px;
}

.header_bottom .header_bottom-right .js-header-member .js-header-member-icon,
.header_bottom .header_bottom-right .js-header-member .icon-header {
    flex-shrink: 0;
    padding: 2px 6px 2px 4px;
}

.js-header-member .title-builpc {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    line-height: 1.15;
}

.js-header-member .title-builpc span {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.js-header-member .title-builpc span:empty {
    display: none !important;
}

.header-member-avatar,
.account-block-avatar .header-member-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
}

.header_bottom .header_bottom-right .js-header-member.is-guest .header-member-avatar {
    opacity: 0.95;
}

.account-block-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 4px;
}

.hm-header-actions {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 2px;
}

.hm-btn-account {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 4px 4px;
    border-radius: 6px;
    min-width: 42px;
    transition: background .2s;
}

.hm-btn-account:hover,
.hm-btn-account:active {
    background: rgba(255, 255, 255, 0.15);
}

.hm-account-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px 4px;
}

.hm-account-icon i {
    font-size: 22px;
    color: #fff;
    line-height: 1;
}

.hm-account-icon .header-member-avatar {
    width: 26px;
    height: 26px;
    border-width: 1.5px;
}

.hm-btn-account .hm-label,
.hm-btn-account .js-header-member-mobile-label {
    font-size: 10px;
    color: #fff;
    margin-top: 2px;
    font-weight: 500;
    letter-spacing: 0.2px;
    white-space: nowrap;
    display: block;
    max-width: 56px;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 1023px) {
    .header_bottom .header_bottom-right .js-header-member:not(.js-header-member-mobile) {
        display: none !important;
    }
}

.footer-nav .js-footer-member-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 27px;
}

.footer-nav .header-member-avatar,
.footer-nav .footer-member-avatar {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    object-fit: cover;
    display: inline-block;
    vertical-align: middle;
    border: 1.5px solid rgba(255, 255, 255, 0.9);
}

.footer-nav .js-footer-member-label {
    display: block;
    font-size: 11px;
    line-height: 20px;
    color: #fff;
}
