:root {
    --zca-member-name-color: #e61929;
    --zca-vip-deep: #bc1045;
    --zca-vip-light: #d93830;
}
.dark-theme {
    --zca-member-name-color: #ff747d;
    --zca-vip-deep: #ff556e;
    --zca-vip-light: #ffb2a4;
}

@keyframes zca-vip-red-sheen {
    from { background-position-x: -4em; }
    to { background-position-x: 0; }
}

a.display-name.zca-vip-name,
name:has(> .zca-vip-name-marker) > a.text-ellipsis.font-bold,
.header-info > .flex1:has(> .user-identity > .zca-vip-name-marker) > .name > .display-name,
.meta-author:has(.zca-vip-name-marker) > .ml6.hide-sm,
.zca-post-list-author-only .meta-author:has(.zca-vip-name-marker) > span.ml6:not([title]),
.private-window-header > .text-center:has(> .avatar-img .zca-vip-name-marker) {
    color: var(--zca-member-name-color);
    @supports ((background-clip: text) or (-webkit-background-clip: text)) and (-webkit-text-fill-color: transparent) {
        @media screen and (forced-colors: none) {
            --zca-vip-stops: var(--zca-vip-deep), var(--zca-member-name-color) 36%, var(--zca-vip-light) 53%, var(--zca-member-name-color) 70%, var(--zca-vip-deep);
            background-image: linear-gradient(90deg, var(--zca-vip-stops));
            background-image: linear-gradient(90deg in oklab, var(--zca-vip-stops));
            background-size: 4em 100%;
            background-repeat: repeat-x;
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            /* Keep the native foreground ink of badges nested beside the nickname. */
            & > * { -webkit-text-fill-color: currentColor; }

            @media (prefers-reduced-motion: no-preference) {
                animation: zca-vip-red-sheen 3.6s linear infinite;
            }
        }
    }
}
