/* Pixel3DLab: fix uploaded contact avatars only on index.php?page=chat.
   Every selector is scoped to body.pxh-page-chat so other pages keep their current sizing. */
body.pxh-page-chat .pxh-chat-contacts .pxh-chat-avatar {
    position: relative !important;
    display: inline-grid !important;
    place-items: center !important;
    flex: 0 0 34px !important;
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding: 0 !important;
    line-height: 0 !important;
    border-radius: 50% !important;
    isolation: isolate;
}

body.pxh-page-chat .pxh-chat-contacts .pxh-chat-avatar > img {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: inherit !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
}
