.site-avatar {
    --avatar-size: 96px; position: relative; display: inline-flex; flex: 0 0 auto;
    width: var(--avatar-size); height: var(--avatar-size); align-items: center; justify-content: center;
    vertical-align: middle; isolation: isolate; color: #fff;
}
.site-avatar > .site-avatar-fallback, .site-avatar > .site-avatar-image {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 0;
}
.site-avatar > .site-avatar-fallback { background: linear-gradient(145deg,#ffc59f,#eb7340); font-size: calc(var(--avatar-size) * .36); font-weight: 600; }
.site-avatar > .site-avatar-image[hidden] { display: none; }
.site-avatar > .site-avatar-frame {
    position: absolute; left: 50%; top: 50%; width: 145%; height: 171.1%;
    transform: translate(-50%,-50%); pointer-events: none; z-index: 2;
}
.site-avatar > .site-avatar-frame > img {
    display: block; width: 100%; height: 100%; max-width: none; object-fit: contain;
    border: 0; border-radius: 0; box-shadow: none; pointer-events: none;
}
/* npTc: x stretch 60..62, y stretch 66..68; scale fixed edges by 1/2.
   Content padding (40,40,32,32) becomes 20px / 16px on the web. */
[data-bubble="chick"] {
    position: relative; isolation: isolate; display: block; width: fit-content;
    max-width: 100%; min-width: 96px; min-height: 56px; box-sizing: border-box;
    padding: 16px 20px; color: #3d3423; overflow-wrap: anywhere; white-space: pre-wrap;
}
[data-bubble="chick"]::before {
    content: ""; position: absolute; inset: 0; box-sizing: border-box; z-index: -1;
    border: solid transparent; border-width: 33px 33px 22px 30px;
    border-image: url('chick-bubble.png') 66 66 44 60 fill stretch; pointer-events: none;
}
