/* Original icon/rim remains the fixed fallback. Only the approved moving interior is drawn. */
.element-emblem { position:relative; display:block; width:100%; height:100%; aspect-ratio:1; flex:none; border-radius:50%; isolation:isolate; pointer-events:none; }
.element-emblem > img, #game.active .hud-hero .element-emblem > img,
#lobby .element-emblem > img, #tribeSelect .element-emblem > img {
 position:absolute !important; inset:0 !important; width:100% !important; height:100% !important;
 max-width:none !important; margin:0 !important; object-fit:contain !important; object-position:center !important;
 border-radius:50% !important; display:block !important; transform:none !important;
}
.element-emblem > canvas { position:absolute; inset:0; width:100%; height:100%; border-radius:50%; clip-path:circle(44.5% at 50% 50%); opacity:0; pointer-events:none; }
.element-emblem.element-motion-ready > canvas { opacity:1; }
.element-media-bank { position:fixed; width:1px; height:1px; bottom:0; right:0; overflow:hidden; opacity:0; pointer-events:none; z-index:-1; }
.element-media-bank video { position:absolute; width:1px; height:1px; }
/* The measured circle centers belong to the unchanged 1672x941 portal background. */
#title .title-elements { position:absolute; inset:0; pointer-events:none; }
#title .title-element { position:absolute; left:var(--element-x); top:var(--element-y); width:6.6cqw; height:6.6cqw; transform:translate(-50%,-50%); }
#lobby .lobby-deck-icon > .element-emblem { width:100%; height:100%; }
#lobby .lobby-sel-icon > .element-emblem { width:100%; height:100%; }
#tribeSelect .tsel-icon > .element-emblem { width:100%; height:100%; }
/* Preserve C's original 8px icon inset while sharing the approved moving interior. */
.starter-c-icon > .element-emblem { width:calc(100% - 16px); height:calc(100% - 16px); margin:8px; }
#game.active .hud-hero .hero-slot > .element-emblem {
 position:absolute; width:100%; height:auto; aspect-ratio:1; left:50%; top:50%; transform:translate(-50%,-50%);
}
@media (prefers-reduced-motion:reduce) { .element-emblem > canvas { display:none; } }
