/* V14: Fix the actual reward halo. V11 used overflow:hidden and an !important
   box-shadow, preventing V13's animation from being visible. */
.reward.glass:not([hidden]) {
  overflow: visible !important;
  animation: kgRewardEnterV14 .7s ease-out both, kgRewardHaloV14 6.4s ease-in-out .7s infinite !important;
  will-change: box-shadow;
}
@keyframes kgRewardEnterV14 {
  from { opacity:0; transform:translateY(16px); }
  to { opacity:1; transform:translateY(0); }
}
@keyframes kgRewardHaloV14 {
  0%,100% {
    border-color:rgba(255,201,115,.56);
    box-shadow:0 20px 70px rgba(8,7,35,.40),inset 0 1px 0 rgba(255,231,196,.15),
      0 0 10px 2px rgba(255,196,99,.22),0 0 32px 7px rgba(255,185,87,.13),
      0 0 65px 14px rgba(225,138,164,.055);
  }
  50% {
    border-color:rgba(255,228,162,1);
    box-shadow:0 24px 78px rgba(8,7,35,.42),inset 0 1px 0 rgba(255,239,198,.30),
      0 0 18px 5px rgba(255,203,112,.67),0 0 58px 16px rgba(255,185,87,.35),
      0 0 105px 31px rgba(225,138,164,.18);
  }
}
/* Keep decorative stars and bottom gleam, but allow light beyond card edges. */
.reward.glass::before {border-radius:inherit;}
@media(prefers-reduced-motion:reduce) {
  .reward.glass:not([hidden]) {animation:none!important;will-change:auto;
    box-shadow:0 20px 70px rgba(8,7,35,.4),0 0 36px 10px rgba(255,196,99,.26)!important;}
}
