.news-card.home-chat-open {
    position: relative;
    border-color: #51cfe1;
    box-shadow: 0 0 12px rgb(67 211 230 / 20%);
}

@property --rm-chat-glow-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

@supports (mask-composite: exclude) {
    .news-card.home-chat-open::after {
        content: "";
        position: absolute;
        inset: -1px;
        padding: 2px;
        border-radius: inherit;
        pointer-events: none;
        background: conic-gradient(from var(--rm-chat-glow-angle, 0deg),
            #51cfe1 0%, #51cfe1 66%, #8f75e8 77%, #f053d8 87%,
            #f69be8 92%, #51cfe1 100%);
        mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        mask-composite: exclude;
        animation: rm-chat-glow-orbit 5s linear infinite;
    }
}

@keyframes rm-chat-glow-orbit {
    to { --rm-chat-glow-angle: 360deg; }
}

@media (prefers-reduced-motion: reduce) {
    .news-card.home-chat-open::after { animation: none; }
}
