.jewel-medal{position:relative;display:inline-block;isolation:isolate;vertical-align:middle;flex:none;pointer-events:none;line-height:1;}
.jewel-medal::before,.jewel-medal::after{content:'';position:absolute;inset:0;pointer-events:none;}
.jewel-medal::before{background:var(--medal-image) center/contain no-repeat;filter:drop-shadow(0 1px 1px #0007) drop-shadow(0 0 2px color-mix(in srgb,var(--medal-color) 30%,transparent));animation:jewel-breathe 4s ease-in-out infinite;}
.jewel-medal::after{background:linear-gradient(115deg,transparent 38%,#fff5d900 43%,#fffae9aa 50%,#fff5d900 57%,transparent 64%);background-size:300% 100%;mask:var(--medal-image) center/contain no-repeat;animation:jewel-sheen 4.8s ease-in-out infinite;opacity:.6;}
.vm-avatar>.bd-emblem.jewel-medal,
body.soft-ui .mic-strip .vm-avatar>.bd-emblem.jewel-medal{position:absolute;width:28px;height:28px;right:-7px;bottom:-7px;z-index:12;font-size:0;animation:none;filter:none;}
#bpModal .bp-stage-avatar>.bd-emblem.jewel-medal{width:34px;height:34px;right:-8px;bottom:-7px;}
#bpModal .bm-emblem.jewel-medal{position:absolute;width:28px;height:28px;right:-6px;bottom:-6px;font-size:0;}
#bpModal .bp-preview-medal.jewel-medal{width:108px;height:108px;min-width:108px;min-height:108px;border:0;border-radius:0;background:none;font-size:0;}
@keyframes jewel-breathe{0%,100%{filter:drop-shadow(0 1px 1px #0007) drop-shadow(0 0 1px color-mix(in srgb,var(--medal-color) 20%,transparent));}50%{filter:drop-shadow(0 1px 1px #0007) drop-shadow(0 0 3px color-mix(in srgb,var(--medal-color) 45%,transparent));}}
@keyframes jewel-sheen{0%,20%{background-position:140% 0;opacity:0;}32%{opacity:.65;}65%,100%{background-position:-40% 0;opacity:0;}}
@media(prefers-reduced-motion:reduce){.jewel-medal::before,.jewel-medal::after{animation:none;}.jewel-medal::after{display:none;}}
