/* Figma 45831:22815: original glow geometry behind the API-provided icons. */
.profile-activity-glow {
  --activity-glow-icon-scale: 1;
  position: absolute;
  z-index: 0;
  top: 17px;
  left: 50%;
  width: 64px;
  height: 64px;
  opacity: 1;
  transform: translateX(-50%) scale(var(--activity-glow-icon-scale));
  transform-origin: top center;
  pointer-events: none;
}

.profile-activity-glow::before,
.profile-activity-glow::after {
  position: absolute;
  content: "";
  background-repeat: no-repeat;
  transform: none;
}

.profile-activity-glow::before {
  top: 2px;
  left: 1.17px;
  width: 60px;
  height: 57px;
  transform-origin: 30.83px 30px;
  background-image: url("/static/images/profile-activity-glow/common-core.svg");
}

.profile-activity-glow::after {
  top: -9px;
  left: -9.76px;
  width: 82px;
  height: 79px;
  transform-origin: 41.76px 41px;
  background-image: url("/static/images/profile-activity-glow/common-halo.svg");
}

[data-activity-id="1"] > .profile-activity-glow::before {
  top: -13px;
  left: -12.86px;
  width: 88px;
  height: 88px;
  background-image: url("/static/images/profile-activity-glow/lucky-background.svg");
}

[data-activity-id="1"] > .profile-activity-glow::after {
  content: none;
}

[data-activity-id="2"] > .profile-activity-glow::before {
  top: 1px;
  left: -.81px;
  width: 62px;
  height: 59px;
  transform-origin: 32.81px 31px;
  background-image: url("/static/images/profile-activity-glow/daily-core.svg");
}

[data-activity-id="2"] > .profile-activity-glow::after {
  top: -10px;
  left: -11.74px;
  width: 84px;
  height: 81px;
  transform-origin: 43.74px 42px;
  background-image: url("/static/images/profile-activity-glow/daily-halo.svg");
}

.mobile-profile-activities__large .profile-activity-glow { top: 14px; }
.mobile-profile-activities__small .profile-activity-glow {
  --activity-glow-icon-scale: .8125;
  top: 9px;
}
