/* feature:alola-totems (Work-ID 20261014-alola-totems-a602). Loaded after tera.css and before hover-geometry.css.

   A trial's Totem Pokémon is drawn larger (its own width and height, kept on the same feet: the `scale` / `transform` of the picture belong to the idle breathing and the battle effects) and, once its aura is lit,
   with a red glow. The "Totem" tag sits in the HP box's trait row; it is not a control (no hover or press state). Nothing here is a button. */
#battle-dialog .battle-stage.hgss .battle-sprite.enemy.totem{--totem-px:calc(80 * var(--dp) * var(--totem-scale,1.35));width:var(--totem-px);height:var(--totem-px);
 left:calc(50% + 8 * var(--dp) - (var(--totem-px) - 80 * var(--dp)) / 2);bottom:calc(60 * var(--dp) - (var(--totem-px) - 80 * var(--dp)) * .3)}
#battle-dialog .battle-stage:not(.hgss) .battle-sprite.enemy.totem{max-height:calc(50% * var(--totem-scale,1.35));max-width:calc(42% * var(--totem-scale,1.35))}
#battle-dialog .battle-sprite.totem-aura{filter:drop-shadow(0 0 6px #734448) drop-shadow(0 0 12px rgba(255,157,46,.8))}
#battle-dialog .totem-tag{display:inline-flex;align-items:center;flex:0 0 auto;margin-left:4px;padding:0 5px;height:16px;box-sizing:border-box;border:1px solid #ff9d2e;border-radius:3px;
 background:linear-gradient(180deg,#a23f42,#212c45);color:#ffe3b0;font-size:9px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;line-height:1}
/* the float-up word and the flames of the `totem` event (Client/app/totem.js) */
#battle-dialog .battle-float.totem>strong{color:#fff;text-shadow:0 0 6px #734448,0 0 14px #ff9d2e}
#battle-dialog .fx.totem-flash{background:radial-gradient(circle at 50% 60%,rgba(255,200,120,.9) 0,var(--fx) 55%,transparent 100%);opacity:.5}
#battle-dialog .fx.totem-flame{width:14px;height:22px;margin:-11px 0 0 -7px;border-radius:50% 50% 50% 50%/70% 70% 30% 30%;background:linear-gradient(180deg,#fff2c0,var(--fx) 60%,transparent)}
@media (prefers-reduced-motion:reduce){#battle-dialog .fx.totem-flame{display:none}}
