/* Powered by Onyxia Digital: the footer tag. Canonical: Core-OS/_Templates/powered-by-onyxia.md.
   Mark: The Threshold, Variant A (Chris approved 2026-08-13). Ring: the Onyxia neon ramp.
   Pure CSS, no images, no JS. Hover or focus turns the light around the ring and lights the doorway. */
@property --onyxia-turn { syntax: '<angle>'; inherits: true; initial-value: 0deg; }
.onyxia-tag {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 12px 0 10px; border-radius: 999px;
  font: 500 12px/1 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: inherit; text-decoration: none;
}
.onyxia-tag__name { font-size: 11px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; }
.onyxia-tag__mark {
  position: relative; flex: none; width: 24px; height: 24px; /* the mark closes up below 24px (approval note) */
  filter: drop-shadow(0 0 var(--onyxia-glow, 3px) rgb(122 51 224 / .6));
  transition: filter .4s ease;
}
.onyxia-tag__mark::before, .onyxia-tag__mark::after {
  content: ''; position: absolute; inset: 0;
  -webkit-mask: var(--onyxia-m) center / contain no-repeat; mask: var(--onyxia-m) center / contain no-repeat;
}
.onyxia-tag__mark::before {
  --onyxia-m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill-rule='evenodd' d='M50 5a45 45 0 1 1 0 90 45 45 0 0 1 0-90Zm0 18c-14.91 0-27 12.09-27 27v24h54V50c0-14.91-12.09-27-27-27Z'/%3E%3C/svg%3E");
  background: conic-gradient(from calc(200deg + var(--onyxia-turn)), #1CE3C8, #22B4F2, #3B7AF6, #7A33E0, #9B30DC, #C92EC2, #1CE3C8);
  transition: --onyxia-turn 1.4s cubic-bezier(.2, .7, .2, 1);
}
.onyxia-tag__mark::after {
  --onyxia-m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M23 50c0-14.91 12.09-27 27-27s27 12.09 27 27v24H23Z'/%3E%3C/svg%3E");
  background: linear-gradient(to top, #1CE3C8, #3B7AF6 60%, transparent);
  opacity: 0; transition: opacity .4s ease;
}
.onyxia-tag:is(:hover, :focus-visible) .onyxia-tag__mark { --onyxia-glow: 7px; --onyxia-turn: 240deg; }
.onyxia-tag:is(:hover, :focus-visible) .onyxia-tag__mark::after { opacity: .4; }
.onyxia-tag--on-light .onyxia-tag__mark { filter: none; } /* neon glow is for dark surfaces (brand colour system) */
@media (prefers-reduced-motion: reduce) { .onyxia-tag__mark, .onyxia-tag__mark::before, .onyxia-tag__mark::after { transition: none; } }
