span.proficient-star-animated-overlay {
  position: absolute;
  background: transparent;
  z-index: 1;
  overflow: visible;
  display: flex;
  justify-content: center;
  transform: translate(-49%, -51%);
}
span.proficient-star-animated-overlay > svg {
  display: block;
  margin: auto;
  width: auto !important;
  height: auto !important;
}

span.stp-streak-counter-number .streak-number-digit {
  display: inline-block;
  transition: transform 0.5s ease;
}
span.stp-streak-counter-number .streak-number-digit.animating {
  animation: stp-digit-roll 0.5s ease-out;
}
@keyframes stp-digit-roll {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0%);
  }
}

.stp-animated-banner {
  background-color: white;
}
.fraction-skills-to-proficient-label {
  color: rgba(33, 36, 44, 0.64);
}
.fraction-skills-to-proficient-numerator {
  color: #21242c;
}
.stp-animated-banner.streak-wipe {
  background: linear-gradient(to right, #ffb100 50%, white 67%);
  background-size: 300% 100%;
  animation: streak-wipe 0.75s linear forwards;
}
.stp-animated-banner.course-level-wipe {
  background: linear-gradient(to right, #9059ff 50%, white 67%);
  background-size: 300% 100%;
  animation: course-level-wipe 1s linear forwards, wipe-text 1s linear forwards;
}
.stp-animated-banner.course-level-wipe .fraction-skills-to-proficient-label,
.stp-animated-banner.course-level-wipe .fraction-skills-to-proficient-numerator {
  animation: wipe-text 1s linear forwards;
}
.stp-animated-banner.streak-fade {
  background-color: #ffb100;
  animation: fade-background 0.75s linear forwards;
}
.stp-animated-banner.course-level-fade {
  background-color: #9059ff;
  color: white;
  animation: fade-background 0.5s linear forwards, fade-text 0.5s linear forwards;
}
.stp-animated-banner.course-level-fade .fraction-skills-to-proficient-label,
.stp-animated-banner.course-level-fade .fraction-skills-to-proficient-numerator {
  color: white;
  animation: fade-text 0.5s linear forwards;
}
@keyframes streak-wipe {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: 0 0;
  }
}
@keyframes course-level-wipe {
  0% {
    background-position: 100% 0;
  }
  75% {
    background-position: 0 0;
  }
}
@keyframes wipe-text {
  75% {
    color: white;
  }
  100% {
    color: white;
  }
}
@keyframes fade-background {
  to {
    background-color: white;
  }
}
@keyframes fade-text {
  to {
    color: inherit;
  }
}
.stp-animated-banner > span.stp-banner-animated-overlay {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  background-color: transparent;
}
.stp-animated-banner > span.stp-banner-animated-overlay > svg {
  display: block;
  margin: 0 auto;
}
@keyframes overlay-fade-in {
  to {
    background-color: #9059ff;
  }
}
@keyframes overlay-fade-out {
  from {
    background-color: #9059ff;
  }
  to {
    background-color: transparent;
  }
}

