/*
 * Mana rank badges and custom badge FX for the community pages (board, post,
 * My Zone, Super X). Copied verbatim from assets/anikoto/css/comments.css
 * (its "Mana rank badges" block), because the community pages no longer load
 * the old community.min.css that carried the same rules. Pushed by the
 * community views and by frontend/watch (its comment list).
 */
.badg-level{display:inline-block;width:16px;height:16px;min-width:16px;min-height:16px;margin-right:5px;vertical-align:sub;flex-shrink:0;padding:0;border:0;border-radius:0;object-fit:contain;background:transparent}
img.badg-level{font-size:inherit;line-height:normal;color:inherit;overflow:visible}
.badg-level.level-admin{width:28px;height:28px;min-width:28px;min-height:28px;margin-right:6px;vertical-align:middle}
.badg-level.level-custom{
  width:22px;height:22px;min-width:22px;min-height:22px;margin-right:6px;border-radius:4px;vertical-align:middle;
  border:0!important;padding:0!important;background:transparent!important;box-shadow:none;object-fit:contain;
}

/* Custom badge FX — effects sit outside the icon; no box/border chrome */
.badg-aura{
  display:inline-flex;align-items:center;justify-content:center;
  width:28px;height:28px;margin-right:6px;vertical-align:middle;
  position:relative;flex-shrink:0;overflow:visible;
  border:0!important;padding:0!important;background:transparent!important;
  box-shadow:none!important;border-radius:0!important;text-transform:none!important;
  font-size:0!important;line-height:0!important;letter-spacing:0!important;color:inherit!important;
}
.badg-aura .badg-level{margin-right:0!important;position:relative;z-index:2;border-radius:4px}
.badg-aura::before,
.badg-aura::after{
  content:"";position:absolute;pointer-events:none;z-index:1;
  border-style:solid;box-sizing:border-box;
}

@keyframes badg-slash-a{
  0%{transform:translate(-14px,10px) rotate(-38deg) scaleX(.2);opacity:0}
  35%{opacity:1}
  100%{transform:translate(14px,-10px) rotate(-38deg) scaleX(1.1);opacity:0}
}
@keyframes badg-slash-b{
  0%{transform:translate(12px,12px) rotate(42deg) scaleX(.15);opacity:0}
  40%{opacity:1}
  100%{transform:translate(-12px,-12px) rotate(42deg) scaleX(1);opacity:0}
}
@keyframes badg-sweep{
  0%{transform:translateX(-120%) skewX(-18deg);opacity:0}
  30%{opacity:1}
  100%{transform:translateX(120%) skewX(-18deg);opacity:0}
}
@keyframes badg-orbit{
  0%{transform:rotate(0deg)}
  100%{transform:rotate(360deg)}
}
@keyframes badg-rise{
  0%{transform:translateY(6px) scaleY(.4);opacity:0}
  40%{opacity:1}
  100%{transform:translateY(-10px) scaleY(1.1);opacity:0}
}
@keyframes badg-flash{
  0%,100%{opacity:.25}
  50%{opacity:1}
}
@keyframes badg-spin-slow{to{transform:rotate(360deg)}}
@keyframes badg-pulse-frame{
  0%,100%{opacity:.55;transform:scale(.92) rotate(0deg)}
  50%{opacity:1;transform:scale(1.08) rotate(3deg)}
}
@keyframes badg-spark-twinkle{
  0%,100%{opacity:.2;transform:scale(.6)}
  50%{opacity:1;transform:scale(1.2)}
}
@keyframes badg-wave{
  0%{clip-path:polygon(0 60%,20% 45%,40% 62%,60% 40%,80% 58%,100% 42%,100% 100%,0 100%);opacity:.3}
  50%{clip-path:polygon(0 45%,20% 60%,40% 40%,60% 58%,80% 38%,100% 55%,100% 100%,0 100%);opacity:.85}
  100%{clip-path:polygon(0 55%,20% 38%,40% 58%,60% 42%,80% 60%,100% 40%,100% 100%,0 100%);opacity:.3}
}

/* 1 Soft glow — outer bloom (no frame box) */
.badg-aura--soft-glow::before{
  inset:-6px;border-radius:50%;border:0;
  background:radial-gradient(circle,rgba(147,197,253,.55) 0%,transparent 68%);
  animation:badg-pulse-frame 2.4s ease-in-out infinite;
}
/* 2 Neon glow */
.badg-aura--neon-glow::before{
  inset:-5px;border-radius:6px;border:0;
  box-shadow:0 0 8px 2px #22d3ee,0 0 14px 1px #a855f7;
  animation:badg-flash 1.4s ease-in-out infinite;
}
.badg-aura--neon-glow::after{
  inset:-2px;border-radius:4px;border:0;
  box-shadow:0 0 6px 1px #e879f9;opacity:.7;
  animation:badg-flash 1.4s ease-in-out infinite .35s;
}
/* 3 Magical energy — orbiting sparks */
.badg-aura--magical-energy::before{
  width:4px;height:4px;left:50%;top:50%;margin:-2px 0 0 -2px;border-radius:50%;border:0;
  background:#c084fc;box-shadow:12px 0 0 #60a5fa,-12px 0 0 #f472b6,0 12px 0 #34d399,0 -12px 0 #fbbf24;
  animation:badg-orbit 2.2s linear infinite;
}
.badg-aura--magical-energy::after{
  width:3px;height:3px;left:50%;top:50%;margin:-1.5px 0 0 -1.5px;border-radius:50%;border:0;
  background:#fff;box-shadow:8px 8px 0 #a78bfa,-8px -8px 0 #38bdf8,8px -8px 0 #fb7185,-8px 8px 0 #4ade80;
  animation:badg-orbit 1.6s linear infinite reverse;
}
/* 4 Pulsing glow */
.badg-aura--pulsing-glow::before{
  inset:-6px;border-radius:50%;border:0;
  box-shadow:0 0 0 2px rgba(96,165,250,.35),0 0 12px rgba(96,165,250,.55);
  animation:badg-pulse-frame 1.5s ease-in-out infinite;
}
/* 5 Breathing light — vertical light pillars */
.badg-aura--breathing-light::before,
.badg-aura--breathing-light::after{
  width:2px;height:26px;top:50%;left:50%;margin-top:-13px;border:0;
  background:linear-gradient(180deg,transparent,rgba(255,255,255,.95),transparent);
  filter:blur(.4px);
}
.badg-aura--breathing-light::before{margin-left:-14px;animation:badg-flash 2.2s ease-in-out infinite}
.badg-aura--breathing-light::after{margin-left:12px;animation:badg-flash 2.2s ease-in-out infinite .4s}
/* 6 Divine aura — cross rays */
.badg-aura--divine-aura::before{
  width:30px;height:2px;left:50%;top:50%;margin:-1px 0 0 -15px;border:0;
  background:linear-gradient(90deg,transparent,#fde68a,#fff,#fde68a,transparent);
  box-shadow:0 0 6px #fbbf24;animation:badg-flash 2s ease-in-out infinite;
}
.badg-aura--divine-aura::after{
  width:2px;height:30px;left:50%;top:50%;margin:-15px 0 0 -1px;border:0;
  background:linear-gradient(180deg,transparent,#fde68a,#fff,#fde68a,transparent);
  box-shadow:0 0 6px #fbbf24;animation:badg-flash 2s ease-in-out infinite .25s;
}
/* 7 Dark shadow — corner claws */
.badg-aura--dark-shadow::before{
  width:10px;height:10px;left:-4px;top:-4px;border:0;
  border-top:2px solid #111;border-left:2px solid #111;
  box-shadow:-2px -2px 6px rgba(0,0,0,.8);animation:badg-pulse-frame 2s ease-in-out infinite;
}
.badg-aura--dark-shadow::after{
  width:10px;height:10px;right:-4px;bottom:-4px;border:0;
  border-bottom:2px solid #111;border-right:2px solid #111;
  box-shadow:2px 2px 6px rgba(0,0,0,.8);animation:badg-pulse-frame 2s ease-in-out infinite .3s;
}
/* 8 Holy light — ascending beams */
.badg-aura--holy-light::before,
.badg-aura--holy-light::after{
  width:3px;bottom:2px;left:50%;
  background:linear-gradient(180deg,rgba(255,255,240,.95),transparent);
  filter:blur(.5px);
}
.badg-aura--holy-light::before{height:16px;margin-left:-8px;transform:rotate(-18deg);animation:badg-rise 1.8s ease-out infinite}
.badg-aura--holy-light::after{height:18px;margin-left:5px;transform:rotate(16deg);animation:badg-rise 1.8s ease-out infinite .35s}
/* 9 Infernal flames — rising flame tongues */
.badg-aura--infernal-flames::before,
.badg-aura--infernal-flames::after{
  width:5px;bottom:0;left:50%;border-radius:40% 40% 20% 20%;
  background:linear-gradient(180deg,#fbbf24,#ef4444 55%,transparent);
}
.badg-aura--infernal-flames::before{height:14px;margin-left:-9px;animation:badg-rise 1.1s ease-out infinite}
.badg-aura--infernal-flames::after{height:16px;margin-left:4px;animation:badg-rise 1.1s ease-out infinite .25s}
/* 10 Arcane energy — soft violet bloom + spin tint */
.badg-aura--arcane-energy::before{
  inset:-7px;border:0;border-radius:50%;
  background:conic-gradient(from 0deg,rgba(167,139,250,.55),transparent 40%,rgba(196,181,253,.45),transparent 75%,rgba(167,139,250,.55));
  filter:blur(2px);animation:badg-spin-slow 4s linear infinite;
}
.badg-aura--arcane-energy::after{
  inset:-3px;border:0;border-radius:50%;
  box-shadow:0 0 10px rgba(139,92,246,.65);animation:badg-pulse-frame 2s ease-in-out infinite;
}
/* 11 Ice frost — crystal shards */
.badg-aura--ice-frost::before{
  width:8px;height:8px;left:-5px;top:2px;
  background:linear-gradient(135deg,rgba(224,242,254,.95),rgba(56,189,248,.4));
  clip-path:polygon(50% 0%,100% 100%,0% 100%);animation:badg-spark-twinkle 1.6s ease-in-out infinite;
}
.badg-aura--ice-frost::after{
  width:7px;height:7px;right:-4px;bottom:1px;
  background:linear-gradient(225deg,rgba(186,230,253,.95),rgba(14,165,233,.35));
  clip-path:polygon(50% 0%,100% 100%,0% 100%);transform:rotate(180deg);
  animation:badg-spark-twinkle 1.6s ease-in-out infinite .4s;
}
/* 12 Electric spark — lightning bolts */
.badg-aura--electric-spark::before{
  width:14px;height:14px;left:-6px;top:-2px;
  background:linear-gradient(135deg,transparent 40%,#fde047 42%,#38bdf8 55%,transparent 57%);
  clip-path:polygon(40% 0%,70% 0%,45% 40%,75% 40%,30% 100%,40% 55%,15% 55%);
  filter:drop-shadow(0 0 3px #38bdf8);animation:badg-flash .45s steps(2,end) infinite;
}
.badg-aura--electric-spark::after{
  width:12px;height:12px;right:-5px;bottom:-1px;
  background:#7dd3fc;
  clip-path:polygon(55% 0%,80% 0%,50% 45%,85% 45%,25% 100%,40% 55%,10% 55%);
  opacity:.75;animation:badg-flash .45s steps(2,end) infinite .2s;
}
/* 13 Poison mist — drifting blobs */
.badg-aura--poison-mist::before{
  width:10px;height:7px;left:-6px;top:4px;border-radius:60% 40% 50% 50%;
  background:rgba(74,222,128,.55);filter:blur(1.5px);animation:badg-sweep 2.8s ease-in-out infinite;
}
.badg-aura--poison-mist::after{
  width:8px;height:6px;right:-5px;bottom:3px;border-radius:50% 60% 40% 50%;
  background:rgba(21,128,61,.5);filter:blur(1.5px);animation:badg-sweep 2.8s ease-in-out infinite .6s reverse;
}
/* 14 Golden radiance — crown tips + sweep */
.badg-aura--golden-radiance::before{
  width:18px;height:6px;left:50%;top:-5px;margin-left:-9px;
  background:linear-gradient(90deg,transparent,#f59e0b,#fde68a,#f59e0b,transparent);
  clip-path:polygon(0 100%,20% 0,40% 100%,50% 20%,60% 100%,80% 0,100% 100%);
  animation:badg-flash 1.8s ease-in-out infinite;
}
.badg-aura--golden-radiance::after{
  width:120%;height:140%;left:-10%;top:-20%;
  background:linear-gradient(105deg,transparent 40%,rgba(253,230,138,.85) 50%,transparent 60%);
  animation:badg-sweep 2.2s ease-in-out infinite;
}
/* 15 Cosmic shimmer — corner stars */
.badg-aura--cosmic-shimmer::before{
  width:6px;height:6px;left:-5px;top:-4px;background:#e879f9;
  clip-path:polygon(50% 0%,61% 35%,100% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,0 35%,39% 35%);
  animation:badg-spark-twinkle 1.3s ease-in-out infinite;
}
.badg-aura--cosmic-shimmer::after{
  width:5px;height:5px;right:-4px;bottom:-3px;background:#22d3ee;
  clip-path:polygon(50% 0%,61% 35%,100% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,0 35%,39% 35%);
  animation:badg-spark-twinkle 1.3s ease-in-out infinite .45s;
}
/* 16 Blood crimson — diagonal slash */
.badg-aura--blood-crimson::before{
  width:28px;height:3px;left:50%;top:50%;margin:-1.5px 0 0 -14px;
  background:linear-gradient(90deg,transparent,#7f1d1d,#ef4444,#7f1d1d,transparent);
  transform-origin:center;animation:badg-slash-a 1.5s ease-in-out infinite;
}
.badg-aura--blood-crimson::after{
  width:22px;height:2px;left:50%;top:50%;margin:-1px 0 0 -11px;
  background:linear-gradient(90deg,transparent,#991b1b,#fca5a5,transparent);
  animation:badg-slash-b 1.5s ease-in-out infinite .2s;
}
/* 17 Emerald pulse */
.badg-aura--emerald-pulse::before{
  inset:-6px;border:0;border-radius:50%;
  box-shadow:0 0 0 2px rgba(52,211,153,.4),0 0 12px rgba(16,185,129,.55);
  animation:badg-pulse-frame 1.7s ease-in-out infinite;
}
/* 18 Void ripple — water slash / wave */
.badg-aura--void-ripple::before{
  left:-8px;right:-8px;bottom:-4px;height:12px;
  background:linear-gradient(180deg,rgba(56,189,248,.55),transparent);
  animation:badg-wave 1.4s ease-in-out infinite;
}
.badg-aura--void-ripple::after{
  width:26px;height:2.5px;left:50%;top:40%;margin-left:-13px;
  background:linear-gradient(90deg,transparent,#67e8f9,#fff,#67e8f9,transparent);
  animation:badg-slash-a 1.8s ease-out infinite;
}
/* 19 Storm crackle — X slash bolts */
.badg-aura--storm-crackle::before{
  width:26px;height:2px;left:50%;top:50%;margin:-1px 0 0 -13px;
  background:linear-gradient(90deg,transparent,#e2e8f0,#38bdf8,#e2e8f0,transparent);
  animation:badg-slash-a 1.1s linear infinite;
}
.badg-aura--storm-crackle::after{
  width:26px;height:2px;left:50%;top:50%;margin:-1px 0 0 -13px;
  background:linear-gradient(90deg,transparent,#fde047,#fff,transparent);
  animation:badg-slash-b 1.1s linear infinite .15s;
}
/* 20 Celestial shimmer — wing sweeps */
.badg-aura--celestial-shimmer::before,
.badg-aura--celestial-shimmer::after{
  width:10px;height:14px;top:50%;margin-top:-7px;
  background:linear-gradient(180deg,rgba(255,255,255,.9),rgba(196,181,253,.35),transparent);
  filter:blur(.3px);
}
.badg-aura--celestial-shimmer::before{
  left:-8px;clip-path:polygon(100% 50%,0 0,20% 50%,0 100%);
  animation:badg-flash 2s ease-in-out infinite;
}
.badg-aura--celestial-shimmer::after{
  right:-8px;clip-path:polygon(0 50%,100% 0,80% 50%,100% 100%);
  animation:badg-flash 2s ease-in-out infinite .3s;
}

@keyframes badg-fall{
  0%{transform:translate(0,-8px) rotate(0deg);opacity:0}
  20%{opacity:1}
  100%{transform:translate(4px,14px) rotate(40deg);opacity:0}
}
@keyframes badg-fall-b{
  0%{transform:translate(0,-6px) rotate(0deg);opacity:0}
  25%{opacity:1}
  100%{transform:translate(-5px,12px) rotate(-35deg);opacity:0}
}
@keyframes badg-arc-slash{
  0%{transform:rotate(-50deg) scaleX(.2);opacity:0}
  40%{opacity:1}
  100%{transform:rotate(40deg) scaleX(1.05);opacity:0}
}
@keyframes badg-rift{
  0%,100%{transform:scaleY(.35);opacity:.35}
  50%{transform:scaleY(1.15);opacity:1}
}
@keyframes badg-ribbon{
  0%{transform:translateX(-100%) skewX(-12deg);opacity:0}
  40%{opacity:.9}
  100%{transform:translateX(100%) skewX(-12deg);opacity:0}
}
@keyframes badg-step{
  0%{opacity:0;transform:translate(6px,0)}
  30%{opacity:.7}
  100%{opacity:0;transform:translate(-8px,0)}
}

/* 21 Sakura petal fall */
.badg-aura--sakura-petals::before{
  width:7px;height:5px;left:2px;top:-6px;border-radius:60% 0 60% 0;
  background:linear-gradient(135deg,#fda4af,#fb7185);animation:badg-fall 1.8s ease-in infinite;
}
.badg-aura--sakura-petals::after{
  width:6px;height:4px;right:1px;top:-4px;border-radius:0 60% 0 60%;
  background:linear-gradient(225deg,#fecdd3,#f472b6);animation:badg-fall-b 1.8s ease-in infinite .45s;
}
/* 22 Blade arc slash */
.badg-aura--blade-arc::before{
  width:28px;height:28px;left:50%;top:50%;margin:-14px 0 0 -14px;
  border:2px solid transparent;border-top-color:#e2e8f0;border-right-color:rgba(148,163,184,.7);
  border-radius:50%;transform-origin:center;animation:badg-arc-slash 1.4s ease-out infinite;
  box-shadow:0 0 4px rgba(226,232,240,.5);
}
.badg-aura--blade-arc::after{
  width:22px;height:2px;left:50%;top:50%;margin:-1px 0 0 -11px;
  background:linear-gradient(90deg,transparent,#94a3b8,#fff,transparent);
  animation:badg-slash-a 1.4s ease-out infinite .15s;
}
/* 23 Phoenix ember rise */
.badg-aura--phoenix-ember::before{
  width:4px;height:4px;left:2px;bottom:0;border-radius:50%;
  background:#fb923c;box-shadow:0 0 4px #f97316;animation:badg-rise 1.3s ease-out infinite;
}
.badg-aura--phoenix-ember::after{
  width:3px;height:3px;right:3px;bottom:1px;border-radius:50%;
  background:#fde047;box-shadow:0 0 4px #ef4444;animation:badg-rise 1.3s ease-out infinite .35s;
}
/* 24 Abyss vertical rift */
.badg-aura--abyss-rift::before{
  width:2px;height:26px;left:50%;top:50%;margin:-13px 0 0 -1px;
  background:linear-gradient(180deg,transparent,#7c3aed,#c084fc,#7c3aed,transparent);
  box-shadow:0 0 6px #6d28d9;animation:badg-rift 1.6s ease-in-out infinite;
}
.badg-aura--abyss-rift::after{
  width:8px;height:26px;left:50%;top:50%;margin:-13px 0 0 -4px;
  background:linear-gradient(90deg,transparent,rgba(76,29,149,.45),transparent);
  animation:badg-rift 1.6s ease-in-out infinite .2s;
}
/* 25 Lunar crescent */
.badg-aura--lunar-crescent::before{
  width:18px;height:18px;left:50%;top:50%;margin:-9px 0 0 -9px;border-radius:50%;
  box-shadow:4px -2px 0 1px #e2e8f0;animation:badg-flash 2.4s ease-in-out infinite;
}
.badg-aura--lunar-crescent::after{
  width:3px;height:3px;right:-2px;top:2px;border-radius:50%;background:#f8fafc;
  box-shadow:0 0 4px #fff;animation:badg-spark-twinkle 1.5s ease-in-out infinite;
}
/* 26 Solar flare beams */
.badg-aura--solar-flare::before{
  width:30px;height:2px;left:50%;top:50%;margin:-1px 0 0 -15px;
  background:linear-gradient(90deg,transparent,#fbbf24,#fff7ed,#fbbf24,transparent);
  transform:rotate(-28deg);animation:badg-flash 1.2s ease-in-out infinite;
}
.badg-aura--solar-flare::after{
  width:24px;height:2px;left:50%;top:50%;margin:-1px 0 0 -12px;
  background:linear-gradient(90deg,transparent,#f59e0b,#fde68a,transparent);
  transform:rotate(32deg);animation:badg-flash 1.2s ease-in-out infinite .25s;
}
/* 27 Dragon scale tips */
.badg-aura--dragon-scale::before{
  width:9px;height:8px;left:-5px;top:4px;
  background:linear-gradient(180deg,#4ade80,#166534);clip-path:polygon(50% 0%,100% 40%,80% 100%,20% 100%,0 40%);
  animation:badg-pulse-frame 2s ease-in-out infinite;
}
.badg-aura--dragon-scale::after{
  width:8px;height:7px;right:-4px;bottom:3px;
  background:linear-gradient(180deg,#86efac,#14532d);clip-path:polygon(50% 0%,100% 40%,80% 100%,20% 100%,0 40%);
  animation:badg-pulse-frame 2s ease-in-out infinite .35s;
}
/* 28 Spectral aftertrail */
.badg-aura--spectral-trail::before{
  width:22px;height:22px;left:6px;top:3px;border:0;border-radius:4px;
  background:rgba(167,139,250,.25);animation:badg-step 1.5s ease-out infinite;
}
.badg-aura--spectral-trail::after{
  width:22px;height:22px;left:10px;top:3px;border:0;border-radius:4px;
  background:rgba(196,181,253,.15);animation:badg-step 1.5s ease-out infinite .25s;
}
/* 29 Quartz prism shards */
.badg-aura--quartz-prism::before{
  width:9px;height:10px;left:-6px;top:-2px;
  background:linear-gradient(135deg,#e0e7ff,#a5b4fc 50%,#6366f1);
  clip-path:polygon(50% 0%,100% 100%,0 100%);animation:badg-spark-twinkle 1.7s ease-in-out infinite;
}
.badg-aura--quartz-prism::after{
  width:8px;height:9px;right:-5px;bottom:-1px;
  background:linear-gradient(225deg,#fae8ff,#e879f9 50%,#a21caf);
  clip-path:polygon(0 0,100% 0,50% 100%);animation:badg-spark-twinkle 1.7s ease-in-out infinite .4s;
}
/* 30 Cherry dual slash */
.badg-aura--cherry-blade::before{
  width:28px;height:2.5px;left:50%;top:50%;margin:-1px 0 0 -14px;
  background:linear-gradient(90deg,transparent,#be123c,#fb7185,#be123c,transparent);
  animation:badg-slash-a 1.3s ease-in-out infinite;
}
.badg-aura--cherry-blade::after{
  width:24px;height:2px;left:50%;top:50%;margin:-1px 0 0 -12px;
  background:linear-gradient(90deg,transparent,#9f1239,#fda4af,transparent);
  animation:badg-slash-b 1.3s ease-in-out infinite .18s;
}
/* 31 Tsunami crest */
.badg-aura--tsunami-crest::before{
  left:-10px;right:-10px;top:-6px;height:14px;
  background:linear-gradient(180deg,rgba(56,189,248,.7),transparent);
  clip-path:polygon(0 80%,15% 30%,30% 70%,50% 10%,70% 65%,85% 25%,100% 75%,100% 100%,0 100%);
  animation:badg-wave 1.5s ease-in-out infinite;
}
.badg-aura--tsunami-crest::after{
  width:20px;height:2px;left:50%;bottom:0;margin-left:-10px;
  background:linear-gradient(90deg,transparent,#67e8f9,#fff,transparent);
  animation:badg-sweep 2s ease-in-out infinite;
}
/* 32 Magma ground rift */
.badg-aura--magma-rift::before{
  left:-6px;right:-6px;bottom:-3px;height:8px;
  background:linear-gradient(90deg,#7f1d1d,#f97316,#fbbf24,#ef4444,#7f1d1d);
  clip-path:polygon(0 100%,10% 40%,25% 90%,40% 20%,55% 85%,70% 30%,85% 95%,100% 50%,100% 100%);
  animation:badg-flicker-lite 1.1s ease-in-out infinite;
}
.badg-aura--magma-rift::after{
  width:3px;height:10px;left:50%;bottom:2px;margin-left:-1px;
  background:linear-gradient(180deg,#fde047,#ef4444,transparent);animation:badg-rise 1.2s ease-out infinite;
}
@keyframes badg-flicker-lite{0%,100%{opacity:.55;filter:brightness(1)}40%{opacity:1;filter:brightness(1.3)}70%{opacity:.7}}
/* 33 Aurora ribbon flow */
.badg-aura--aurora-ribbon::before{
  width:140%;height:5px;left:-20%;top:2px;
  background:linear-gradient(90deg,transparent,#34d399,#22d3ee,#a78bfa,transparent);
  filter:blur(1px);animation:badg-ribbon 2.4s ease-in-out infinite;
}
.badg-aura--aurora-ribbon::after{
  width:140%;height:4px;left:-20%;bottom:2px;
  background:linear-gradient(90deg,transparent,#c084fc,#38bdf8,#4ade80,transparent);
  filter:blur(1px);animation:badg-ribbon 2.4s ease-in-out infinite .5s reverse;
}
/* 34 Shadow step afterimage */
.badg-aura--shadow-step::before{
  width:16px;height:16px;left:8px;top:4px;border-radius:2px;
  background:rgba(15,15,20,.55);animation:badg-step 1.2s ease-out infinite;
}
.badg-aura--shadow-step::after{
  width:16px;height:16px;left:12px;top:4px;border-radius:2px;
  background:rgba(15,15,20,.3);animation:badg-step 1.2s ease-out infinite .2s;
}
/* 35 Crystal lattice corners */
.badg-aura--crystal-lattice::before{
  width:8px;height:8px;left:-4px;top:-4px;
  border-top:1.5px solid #67e8f9;border-left:1.5px solid #67e8f9;
  box-shadow:-1px -1px 0 #a5f3fc;animation:badg-pulse-frame 1.8s ease-in-out infinite;
}
.badg-aura--crystal-lattice::after{
  width:8px;height:8px;right:-4px;bottom:-4px;
  border-bottom:1.5px solid #67e8f9;border-right:1.5px solid #67e8f9;
  box-shadow:1px 1px 0 #a5f3fc;animation:badg-pulse-frame 1.8s ease-in-out infinite .3s;
}
/* 36 Wind multi-cut */
.badg-aura--wind-slash::before{
  width:30px;height:1.5px;left:50%;top:40%;margin-left:-15px;
  background:linear-gradient(90deg,transparent,#cbd5e1,#fff,transparent);
  animation:badg-sweep 1.1s ease-out infinite;
}
.badg-aura--wind-slash::after{
  width:26px;height:1.5px;left:50%;top:58%;margin-left:-13px;
  background:linear-gradient(90deg,transparent,#94a3b8,#e2e8f0,transparent);
  animation:badg-sweep 1.1s ease-out infinite .2s;
}
/* 37 Royal crest crown */
.badg-aura--royal-crest::before{
  width:22px;height:7px;left:50%;top:-7px;margin-left:-11px;border:0;
  background:linear-gradient(180deg,#fde68a,#b45309);
  clip-path:polygon(0 100%,12% 35%,25% 100%,37% 0,50% 100%,63% 0,75% 100%,88% 35%,100% 100%);
  animation:badg-flash 2s ease-in-out infinite;
}
.badg-aura--royal-crest::after{
  inset:-4px;border:0;border-radius:50%;
  box-shadow:0 0 10px rgba(251,191,36,.45);
  animation:badg-pulse-frame 2.2s ease-in-out infinite;
}
/* 38 Nebula dust orbit */
.badg-aura--nebula-dust::before{
  width:3px;height:3px;left:50%;top:50%;margin:-1.5px 0 0 -1.5px;border-radius:50%;
  background:#f0abfc;box-shadow:11px 0 0 #818cf8,-8px 6px 0 #22d3ee,5px -9px 0 #fb7185,-6px -7px 0 #a3e635;
  animation:badg-orbit 3s linear infinite;
}
.badg-aura--nebula-dust::after{
  width:2px;height:2px;left:50%;top:50%;margin:-1px 0 0 -1px;border-radius:50%;
  background:#fff;box-shadow:8px 5px 0 #c084fc,-9px -3px 0 #38bdf8,0 10px 0 #e879f9;
  animation:badg-orbit 2.2s linear infinite reverse;
}
/* 39 Frost blade slash */
.badg-aura--frost-blade::before{
  width:28px;height:3px;left:50%;top:50%;margin:-1.5px 0 0 -14px;
  background:linear-gradient(90deg,transparent,#bae6fd,#fff,#7dd3fc,transparent);
  animation:badg-slash-a 1.4s ease-out infinite;
}
.badg-aura--frost-blade::after{
  width:6px;height:6px;right:-3px;top:0;
  background:#e0f2fe;clip-path:polygon(50% 0%,100% 100%,0 100%);
  animation:badg-spark-twinkle 1.4s ease-in-out infinite .2s;
}
/* 40 Venom fang tips */
.badg-aura--venom-fang::before{
  width:7px;height:10px;left:0;top:-5px;
  background:linear-gradient(180deg,#86efac,#166534);clip-path:polygon(50% 100%,0 0,100% 0);
  animation:badg-pulse-frame 1.5s ease-in-out infinite;
}
.badg-aura--venom-fang::after{
  width:7px;height:10px;right:0;top:-5px;
  background:linear-gradient(180deg,#4ade80,#14532d);clip-path:polygon(50% 100%,0 0,100% 0);
  animation:badg-pulse-frame 1.5s ease-in-out infinite .25s;
}
/* 41 Thunder flash */
.badg-aura--thunder-ring::before{
  inset:-6px;border:0;border-radius:50%;
  box-shadow:0 0 8px 2px #fde047,0 0 14px #38bdf8;
  animation:badg-flash .55s steps(2,end) infinite;
}
.badg-aura--thunder-ring::after{
  width:10px;height:10px;left:50%;top:-4px;margin-left:-5px;background:#fef08a;border:0;
  clip-path:polygon(40% 0%,70% 0%,45% 40%,80% 40%,25% 100%,35% 55%,10% 55%);
  animation:badg-flash .55s steps(2,end) infinite .15s;
}
/* 42 Spirit orbit rings */
.badg-aura--spirit-orbits::before{
  inset:-8px;border:1.5px solid rgba(167,139,250,.55);border-radius:50%;
  border-bottom-color:transparent;border-left-color:transparent;
  animation:badg-spin-slow 2.5s linear infinite;
}
.badg-aura--spirit-orbits::after{
  inset:-5px;border:1.5px solid rgba(56,189,248,.5);border-radius:50%;
  border-top-color:transparent;border-right-color:transparent;
  animation:badg-spin-slow 1.8s linear infinite reverse;
}
/* 43 Ash fall drift */
.badg-aura--ash-fall::before{
  width:3px;height:3px;left:4px;top:-6px;border-radius:50%;background:#a8a29e;
  box-shadow:6px -2px 0 #78716c,-2px 2px 0 #57534e;animation:badg-fall 2s linear infinite;
}
.badg-aura--ash-fall::after{
  width:2px;height:2px;right:3px;top:-4px;border-radius:50%;background:#d6d3d1;
  animation:badg-fall-b 2s linear infinite .5s;
}
/* 44 Moonlight veil sweep */
.badg-aura--moonlight-veil::before{
  width:8px;height:28px;left:50%;top:50%;margin:-14px 0 0 -4px;
  background:linear-gradient(90deg,transparent,rgba(226,232,240,.85),transparent);
  filter:blur(.6px);animation:badg-ribbon 2.8s ease-in-out infinite;
}
.badg-aura--moonlight-veil::after{
  width:4px;height:20px;left:50%;top:50%;margin:-10px 0 0 -2px;
  background:linear-gradient(180deg,transparent,rgba(255,255,255,.7),transparent);
  animation:badg-flash 2.8s ease-in-out infinite .4s;
}
/* 45 Crimson X-mark */
.badg-aura--crimson-mark::before{
  width:24px;height:2.5px;left:50%;top:50%;margin:-1px 0 0 -12px;
  background:#dc2626;transform:rotate(45deg);box-shadow:0 0 4px #991b1b;
  animation:badg-flash 1.6s ease-in-out infinite;
}
.badg-aura--crimson-mark::after{
  width:24px;height:2.5px;left:50%;top:50%;margin:-1px 0 0 -12px;
  background:#b91c1c;transform:rotate(-45deg);box-shadow:0 0 4px #7f1d1d;
  animation:badg-flash 1.6s ease-in-out infinite .2s;
}
/* 46 Jade corner brackets */
.badg-aura--jade-brackets::before{
  width:9px;height:9px;left:-5px;top:-5px;
  border-top:2px solid #34d399;border-left:2px solid #34d399;
  animation:badg-pulse-frame 2.1s ease-in-out infinite;
}
.badg-aura--jade-brackets::after{
  width:9px;height:9px;right:-5px;bottom:-5px;
  border-bottom:2px solid #10b981;border-right:2px solid #10b981;
  animation:badg-pulse-frame 2.1s ease-in-out infinite .35s;
}
/* 47 Starfall rain */
.badg-aura--starfall-rain::before{
  width:5px;height:5px;left:3px;top:-8px;background:#fde68a;
  clip-path:polygon(50% 0%,61% 35%,100% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,0 35%,39% 35%);
  animation:badg-fall 1.6s linear infinite;
}
.badg-aura--starfall-rain::after{
  width:4px;height:4px;right:2px;top:-6px;background:#e0e7ff;
  clip-path:polygon(50% 0%,61% 35%,100% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,0 35%,39% 35%);
  animation:badg-fall-b 1.6s linear infinite .4s;
}
/* 48 Void diagonal tear */
.badg-aura--void-tear::before{
  width:3px;height:28px;left:50%;top:50%;margin:-14px 0 0 -1.5px;
  background:linear-gradient(180deg,transparent,#4c1d95,#c084fc,#2e1065,transparent);
  transform:rotate(-28deg);box-shadow:0 0 8px #6d28d9;animation:badg-rift 1.4s ease-in-out infinite;
}
.badg-aura--void-tear::after{
  width:22px;height:22px;left:50%;top:50%;margin:-11px 0 0 -11px;
  background:radial-gradient(circle,rgba(76,29,149,.35) 0%,transparent 70%);
  clip-path:polygon(0 45%,100% 20%,100% 55%,0 80%);animation:badg-flash 1.4s ease-in-out infinite;
}
/* 49 Mirror glass shards */
.badg-aura--mirror-shard::before{
  width:8px;height:10px;left:-5px;top:1px;
  background:linear-gradient(135deg,rgba(255,255,255,.9),rgba(148,163,184,.4));
  clip-path:polygon(20% 0%,100% 15%,70% 100%,0 80%);animation:badg-spark-twinkle 1.5s ease-in-out infinite;
}
.badg-aura--mirror-shard::after{
  width:7px;height:9px;right:-4px;bottom:0;
  background:linear-gradient(225deg,rgba(226,232,240,.95),rgba(100,116,139,.35));
  clip-path:polygon(0 20%,90% 0,100% 90%,30% 100%);animation:badg-spark-twinkle 1.5s ease-in-out infinite .35s;
}
/* 50 Elite sigil */
.badg-aura--elite-sigil::before{
  inset:-7px;border:0;border-radius:50%;
  box-shadow:0 0 0 1.5px rgba(251,191,36,.55),0 0 12px rgba(245,158,11,.45);
  animation:badg-spin-slow 5s linear infinite;
}
.badg-aura--elite-sigil::after{
  width:16px;height:16px;left:50%;top:50%;margin:-8px 0 0 -8px;border:0;
  background:radial-gradient(circle,rgba(253,230,138,.35) 0%,transparent 70%);
  animation:badg-pulse-frame 2s ease-in-out infinite;
}
.badg-aura--celestial-shimmer::before{
  left:-8px;clip-path:polygon(100% 50%,0 0,20% 50%,0 100%);
  animation:badg-flash 2s ease-in-out infinite;
}
.badg-aura--celestial-shimmer::after{
  right:-8px;clip-path:polygon(0 50%,100% 0,80% 50%,100% 100%);
  animation:badg-flash 2s ease-in-out infinite .3s;
}
