/* ValleyWeaponRecovery: native-step swing recovery on the existing Light
 * (data-action="4") and Heavy (data-action="15") attack buttons.
 * Active-class only: a thin warm progress ring plus a subdued tint painted
 * behind the key and icon. No text, no size change, no animation. */
[data-action="4"].weapon-recovering,
[data-action="15"].weapon-recovering {
  position: relative;
  isolation: isolate;
}
[data-action="4"].weapon-recovering::before,
[data-action="15"].weapon-recovering::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 3px;
  background: #2a211a66;
  pointer-events: none;
  animation: none;
  transition: none;
}
[data-action="4"].weapon-recovering::after,
[data-action="15"].weapon-recovering::after {
  content: "";
  position: absolute;
  inset: 1px;
  box-sizing: border-box;
  padding: 2px;
  border-radius: 3px;
  background: conic-gradient(
    #d99a5ccc calc(var(--weapon-recovery-progress, 0) * 360deg),
    #8b9aa63d 0
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box exclude,
    linear-gradient(#000 0 0);
  pointer-events: none;
  animation: none;
  transition: none;
}
