/* Shared paw artwork and loading pulse used throughout doll.gg. */
.loading-paw-print {
    display: block;
    --paw-rotation: 74deg;
    position: relative;
    justify-self: center;
    width: 23px;
    height: 27px;
    margin-top: 3px;
    opacity: 0;
    transform: translateY(-2px) rotate(var(--paw-rotation)) scale(0.62);
    transform-origin: center;
    will-change: opacity, transform;
    /* drop-shadow lives here, not on ::after — applying it to a pseudo-element
       that also has a mask + gradient background renders a visible square
       edge on older iOS/WebKit (the shadow is composited against the
       unmasked box instead of the masked shape). */
    filter:
        drop-shadow(-1px -1px 0 rgba(255, 255, 255, 0.76))
        drop-shadow(1px 1px 0 rgba(171, 91, 130, 0.12));
}

.loading-paw-print:nth-child(even) {
    --paw-rotation: 106deg;
    margin-top: 28px;
}

.loading-paw-print::before,
.loading-paw-print::after {
    content: '';
    position: absolute;
    inset: 0;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 54'%3E%3Cellipse cx='7.5' cy='20' rx='5.5' ry='8' transform='rotate(-22 7.5 20)'/%3E%3Cellipse cx='18' cy='11.5' rx='5.8' ry='8.5' transform='rotate(-8 18 11.5)'/%3E%3Cellipse cx='30' cy='11.5' rx='5.8' ry='8.5' transform='rotate(8 30 11.5)'/%3E%3Cellipse cx='40.5' cy='20' rx='5.5' ry='8' transform='rotate(22 40.5 20)'/%3E%3Cpath d='M24 25c-8.5 0-14.5 7.2-13 14.8 1.3 6.6 7.8 8.9 12.5 4.9.3-.3.7-.3 1 0 4.7 4 11.2 1.7 12.5-4.9C38.5 32.2 32.5 25 24 25Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 54'%3E%3Cellipse cx='7.5' cy='20' rx='5.5' ry='8' transform='rotate(-22 7.5 20)'/%3E%3Cellipse cx='18' cy='11.5' rx='5.8' ry='8.5' transform='rotate(-8 18 11.5)'/%3E%3Cellipse cx='30' cy='11.5' rx='5.8' ry='8.5' transform='rotate(8 30 11.5)'/%3E%3Cellipse cx='40.5' cy='20' rx='5.5' ry='8' transform='rotate(22 40.5 20)'/%3E%3Cpath d='M24 25c-8.5 0-14.5 7.2-13 14.8 1.3 6.6 7.8 8.9 12.5 4.9.3-.3.7-.3 1 0 4.7 4 11.2 1.7 12.5-4.9C38.5 32.2 32.5 25 24 25Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.loading-paw-print::before {
    background: rgba(171, 91, 130, 0.2);
    transform: translate(1.2px, 1.2px);
    filter: blur(0.35px);
}

.loading-paw-print::after {
    background: linear-gradient(145deg, rgba(140, 77, 108, 0.42), rgba(208, 125, 165, 0.18) 55%, rgba(255, 255, 255, 0.8));
}

.posts-fetch-paw.loading-paw-print {
    --paw-rotation: 0deg;
    width: 19px;
    height: 22px;
    margin: 0;
    opacity: 0.58;
    transform: rotate(0deg) scale(0.78);
    animation: postsFetchPaw 1.05s ease-in-out infinite;
}

@keyframes postsFetchPaw {
    0%, 100% { opacity: 0.34; transform: translateY(1px) scale(0.72); }
    50% { opacity: 0.72; transform: translateY(-1px) scale(0.84); }
}

@media (prefers-reduced-motion: reduce) {
    .posts-fetch-paw.loading-paw-print {
        animation: none;
        opacity: 0.58;
        transform: none;
    }
}
