/* Hide partial image paints and reveal decoded media across the whole site. */
img[data-progressive-image="true"] {
    background-color: #eef2f7;
    transition: opacity .44s ease-out, filter .44s ease-out;
}

html img[data-progressive-image="true"].progressive-image-loading {
    opacity: 0;
    filter: blur(16px);
}

html img[data-progressive-image="true"].progressive-image-error {
    opacity: .82;
    filter: none;
}

html[data-theme="dark"] img[data-progressive-image="true"] {
    background-color: #242424;
}

@media (prefers-reduced-motion: reduce) {
    img[data-progressive-image="true"] { transition: none !important; }
}
