/* unifycomments1 (08-11-2026): one way to reach a comment box and to see a new comment arrive, in the BASC News, the Ape
   Sites, The Jungle and the DAOs (static/js/compose-go.js). The colour is the one of where it is: the news source
   (--origin), the Ape Site (--a1), The Jungle (lime) or the DAO (--da). */
.cg-go, .cg-arrive { --cg-c: var(--cg, var(--origin, var(--a1, #00ddeb))); }
.cg-go { animation: cg-go 1.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.cg-arrive { animation: cg-arrive 1.4s ease-in-out 2; }
@keyframes cg-go {
    0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--cg-c) 0%, transparent); }
    25% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--cg-c) 55%, transparent), 0 0 26px color-mix(in srgb, var(--cg-c) 30%, transparent); }
    100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--cg-c) 0%, transparent); }
}
@keyframes cg-arrive {
    0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--cg-c) 0%, transparent); }
    35% { box-shadow: 0 0 0 2px color-mix(in srgb, var(--cg-c) 60%, transparent), 0 0 34px color-mix(in srgb, var(--cg-c) 28%, transparent); }
}
[data-jg] { --cg: #d6f54c; }
.dao-post { --cg: var(--da, #00ddeb); }
@media (prefers-reduced-motion: reduce) { .cg-go, .cg-arrive { animation: none; } }
.jg-r.is-new.cg-arrive { animation: jg-in 0.45s cubic-bezier(.2,.9,.3,1), cg-arrive 1.4s ease-in-out 2; }
@media (prefers-reduced-motion: reduce) { .jg-r.is-new.cg-arrive { animation: none; } }
