.post-author-identity {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    vertical-align: middle;
}

.post-author-avatar {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #d9dde3;
    border-radius: 50%;
    background: #fff;
    cursor: zoom-in;
}

.post-author-avatar--list {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
}

.post-author-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-author-avatar--default {
    background: #f2f4f6;
    cursor: default;
}

.post-author-avatar:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--main-color) 45%, transparent);
    outline-offset: 2px;
}

.comment-avatar [data-profile-image] {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.comment-avatar [data-profile-image]:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--main-color) 45%, transparent);
    outline-offset: 2px;
}

.profile-image-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    margin: 0;
    transform: translate(-50%, -50%);
    width: fit-content;
    max-width: min(92vw, 1100px);
    max-height: 92vh;
    padding: 42px 20px 20px;
    overflow: visible;
    border: 0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
}

.profile-image-dialog::backdrop {
    background: rgba(10, 14, 20, .72);
}

.profile-image-dialog__image {
    display: block;
    min-width: min(320px, calc(92vw - 40px));
    max-width: min(calc(92vw - 40px), 1060px);
    max-height: calc(92vh - 62px);
    margin: 0 auto;
    border-radius: 10px;
    object-fit: contain;
}

.profile-image-dialog__close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #eef0f3;
    color: #20242a;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}
