/* A restrained violet sheen. The status text and true upload percentage remain intact. */
.activity-shimmer {
  color: #62458e;
  font-weight: 600;
  width: fit-content;
  max-width: 100%;
}
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .activity-shimmer {
    background-image: linear-gradient(105deg, #604584 0%, #604584 34%, #8151b8 44%, #3f2677 51%, #8151b8 58%, #604584 68%, #604584 100%);
    background-size: 260% 100%;
    background-position: 130% 50%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: activity-sheen 3.4s ease-in-out infinite;
  }
}
.activity-surface {
  border-color: #d8c8f1;
  background-color: #fcfaff;
}
/* A badge keeps its colored surface. Its status must stay readable when the
   more-specific badge background overrides text-gradient clipping. */
.badge.activity-shimmer {
  background-image: none;
  background-clip: border-box;
  -webkit-background-clip: border-box;
  -webkit-text-fill-color: currentColor;
  animation: none;
}
progress.activity-progress {
  accent-color: #7959bd;
}
progress.activity-progress::-webkit-progress-value {
  background: linear-gradient(100deg, #7556b7 10%, #a78cdb 40%, #7957bf 65%, #7556b7 100%);
  background-size: 240% 100%;
  animation: activity-sheen 3.4s ease-in-out infinite;
}
progress.activity-progress::-moz-progress-bar {
  background: linear-gradient(100deg, #7556b7 10%, #a78cdb 40%, #7957bf 65%, #7556b7 100%);
  background-size: 240% 100%;
  animation: activity-sheen 3.4s ease-in-out infinite;
}
@keyframes activity-sheen {
  0%, 10% { background-position: 130% 50%; }
  85%, 100% { background-position: -30% 50%; }
}
html[data-motion-paused="true"] .activity-shimmer,
.activity-shimmer.activity-offscreen {
  animation-play-state: paused;
}
html[data-motion-paused="true"] progress.activity-progress::-webkit-progress-value,
progress.activity-progress.activity-offscreen::-webkit-progress-value {
  animation-play-state: paused;
}
html[data-motion-paused="true"] progress.activity-progress::-moz-progress-bar,
progress.activity-progress.activity-offscreen::-moz-progress-bar {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .activity-shimmer {
    animation: none;
    background: none;
    -webkit-text-fill-color: currentColor;
  }
  progress.activity-progress::-webkit-progress-value {
    animation: none;
    background: #7959bd;
  }
  progress.activity-progress::-moz-progress-bar {
    animation: none;
    background: #7959bd;
  }
}
@media (forced-colors: active) {
  .activity-shimmer {
    animation: none;
    background: none;
    -webkit-text-fill-color: currentColor;
  }
}
