/* Только стык принятой вёрстки с общим new.php. Геометрия профиля остаётся прежней. */
/* В PHP отсутствие Pro включает и аккаунты, у которых подписки ещё не было. */
html[data-profile-view="visitor"][data-profile-pro="inactive"] .public-profile-cms [data-profile-contacts-unavailable] {
    display: flex;
}

.public-profile-cms__account {
    float: right;
    max-width: 140px;
    margin-left: 16px;
}

.public-profile-cms .container > header { position: relative; }
.public-profile-cms .header-row .public-profile-cms__account { float: none; margin-left: 0; }
.public-profile-cms .header-row .right-block {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}
.public-profile-cms .header-row .right-block .burger { margin: 0; }

@media (max-width: 768px) {
    /* new.php использует float; кнопка аккаунта должна оставаться в той же строке. */
    .public-profile-cms .header-row { display: flex; align-items: center; }
    .public-profile-cms .header-row .right-block {
        flex-direction: row-reverse;
    }
}
/* Пустое портфолио не означает пустую шапку/описание. Геометрия из принятого блока. */
html[data-profile-content="filled"] .public-profile-cms .public-profile-cms__empty { display: flex; }
