/* Shared Pulse marks: Reunion / Cat 6-7 / Super Rare (Live Gossip + Gossip Pulse) */

@keyframes ao-marker-glow {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55));
  }
  50% {
    transform: scale(1.1);
    filter: drop-shadow(0 0 5px rgba(232, 195, 90, 0.55));
  }
}

.ao-busy-marker-reunion,
.ao-busy-reunion-mark {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cdefs%3E%3CradialGradient id='g' cx='50%25' cy='45%25' r='55%25'%3E%3Cstop offset='0%25' stop-color='%23fff4c8'/%3E%3Cstop offset='55%25' stop-color='%23e8c35a'/%3E%3Cstop offset='100%25' stop-color='%238a6a18'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='16' cy='16' r='15' fill='%231a1208' stroke='%23f0d078' stroke-width='1.5'/%3E%3Cpath d='M20.5 7.2c-4.8.2-8.6 4.2-8.6 9.1 0 5 3.9 9.1 8.8 9.1-5.6.2-10.2-4.3-10.2-9.9S14.8 5.7 20.5 7.2z' fill='url(%23g)'/%3E%3Cpath d='M23.2 10.2l.7 1.5 1.6.2-1.2 1.1.3 1.6-1.4-.8-1.4.8.3-1.6-1.2-1.1 1.6-.2z' fill='%23fff8e0'/%3E%3C/svg%3E");
}

.ao-busy-marker-boss,
.ao-busy-high-boss-mark {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cdefs%3E%3CradialGradient id='p' cx='50%25' cy='40%25' r='60%25'%3E%3Cstop offset='0%25' stop-color='%23f0e0ff'/%3E%3Cstop offset='45%25' stop-color='%23b57cff'/%3E%3Cstop offset='100%25' stop-color='%234a1878'/%3E%3C/radialGradient%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0%25' stop-color='%23ffe9a0'/%3E%3Cstop offset='100%25' stop-color='%23c9a84c'/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx='16' cy='16' r='15' fill='%23140820' stroke='%23d8ba76' stroke-width='1.5'/%3E%3Cpath d='M7 13.5l3.2-4.2 2.8 2.6L16 8.2l3 3.7 2.8-2.6 3.2 4.2-1.4 9.3H8.4z' fill='url(%23g)' stroke='%238a6a18' stroke-width='.7'/%3E%3Cellipse cx='16' cy='17.8' rx='3.2' ry='2.6' fill='url(%23p)' stroke='%23fff' stroke-width='.5'/%3E%3C/svg%3E");
}

.ao-busy-marker-super-rare,
.ao-busy-super-rare-mark {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cdefs%3E%3CradialGradient id='c' cx='50%25' cy='38%25' r='62%25'%3E%3Cstop offset='0%25' stop-color='%23ffe8f2'/%3E%3Cstop offset='40%25' stop-color='%23e8457a'/%3E%3Cstop offset='100%25' stop-color='%235a1028'/%3E%3C/radialGradient%3E%3ClinearGradient id='r' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0%25' stop-color='%23ffd4a0'/%3E%3Cstop offset='100%25' stop-color='%23c9783a'/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx='16' cy='16' r='15' fill='%231a080c' stroke='%23e8a060' stroke-width='1.5'/%3E%3Cpath d='M16 5.2L24.2 14 16 26.8 7.8 14z' fill='url(%23c)' stroke='url(%23r)' stroke-width='1'/%3E%3Cpath d='M16 9.2L20.6 14 16 22.2 11.4 14z' fill='%23fff5fa' opacity='.38'/%3E%3Ccircle cx='16' cy='14' r='1.6' fill='%23fff8e8'/%3E%3C/svg%3E");
}

.ao-busy-marker-artificer,
.ao-busy-artificer-mark {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cdefs%3E%3CradialGradient id='b' cx='50%25' cy='40%25' r='60%25'%3E%3Cstop offset='0%25' stop-color='%23ffe8c8'/%3E%3Cstop offset='55%25' stop-color='%23c9783a'/%3E%3Cstop offset='100%25' stop-color='%235a3010'/%3E%3C/radialGradient%3E%3ClinearGradient id='m' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0%25' stop-color='%23e8eef8'/%3E%3Cstop offset='100%25' stop-color='%238a96a8'/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx='16' cy='16' r='15' fill='%23141008' stroke='%23d8a060' stroke-width='1.5'/%3E%3Cpath d='M8 22h16v2.2H8z' fill='url(%23b)'/%3E%3Cpath d='M11 22v-3.2h10V22' fill='%238a5a28'/%3E%3Cpath d='M18.2 7.5l2.2 2.2-7.4 7.4-2.2-2.2z' fill='url(%23m)' stroke='%23405060' stroke-width='.6'/%3E%3Cpath d='M20.2 9.2l2.6-1.2.8 1.8-2.2 1z' fill='%23c9a84c'/%3E%3Ccircle cx='12.2' cy='18.2' r='1.3' fill='%23f0d078'/%3E%3C/svg%3E");
}

.ao-busy-reunion-mark,
.ao-busy-high-boss-mark,
.ao-busy-super-rare-mark,
.ao-busy-artificer-mark {
  display: inline-block;
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  animation: ao-marker-glow 1.6s ease-in-out infinite;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
  vertical-align: middle;
}

.ao-gossip-pulse-marks {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: 0.25rem;
  vertical-align: middle;
}

.ao-gossip-pulse-marks .ao-busy-reunion-mark,
.ao-gossip-pulse-marks .ao-busy-high-boss-mark,
.ao-gossip-pulse-marks .ao-busy-super-rare-mark,
.ao-gossip-pulse-marks .ao-busy-artificer-mark {
  width: 1.05rem;
  height: 1.05rem;
}

.ao-player-kill-badges {
  display: inline-flex;
  align-items: center;
  gap: 0.08rem;
  margin-left: 0.12rem;
  margin-right: 0.02rem;
  vertical-align: -0.05em;
  line-height: 1;
}

.ao-player-kill-badges .ao-busy-high-boss-mark,
.ao-player-kill-badges .ao-busy-super-rare-mark,
.ao-player-kill-badges .ao-busy-artificer-mark {
  width: 0.72rem;
  height: 0.72rem;
  animation: none;
  filter: drop-shadow(0 0.5px 1px rgba(0, 0, 0, 0.28));
  vertical-align: middle;
}

.ao-gossip-text .ao-player-kill-badges {
  margin-left: 0.1rem;
}

.ao-gossip-text .ao-player-kill-badges .ao-busy-high-boss-mark,
.ao-gossip-text .ao-player-kill-badges .ao-busy-super-rare-mark,
.ao-gossip-text .ao-player-kill-badges .ao-busy-artificer-mark {
  width: 0.7rem;
  height: 0.7rem;
}

a.ao-busy-high-boss-mark,
a.ao-busy-super-rare-mark,
a.ao-busy-artificer-mark {
  text-decoration: none;
}

.ao-player-kill-badges a.ao-busy-high-boss-mark:hover,
.ao-player-kill-badges a.ao-busy-super-rare-mark:hover,
.ao-player-kill-badges a.ao-busy-artificer-mark:hover,
.ao-player-kill-badges a.ao-busy-high-boss-mark:focus-visible,
.ao-player-kill-badges a.ao-busy-super-rare-mark:focus-visible,
.ao-player-kill-badges a.ao-busy-artificer-mark:focus-visible {
  transform: scale(1.12);
  filter: drop-shadow(0 0 2px rgba(232, 195, 90, 0.45));
}

.ao-gossip-player {
  color: var(--ao-link, #1a4a8a);
  font-weight: 600;
  text-decoration: none;
}

.ao-gossip-player:hover,
.ao-gossip-player:focus-visible {
  text-decoration: underline;
}

.ao-credits-player {
  color: var(--ao-link, #1a4a8a);
  font-weight: 600;
  text-decoration: none;
  scroll-margin-top: 5rem;
}

.ao-credits-player:hover,
.ao-credits-player:focus-visible {
  text-decoration: underline;
}

.ao-credits-roll-call .ao-player-kill-badges,
.ao-credits-featured .ao-player-kill-badges {
  margin-left: 0.12rem;
}

.ao-credits-roll-call .ao-player-kill-badges .ao-busy-high-boss-mark,
.ao-credits-roll-call .ao-player-kill-badges .ao-busy-super-rare-mark,
.ao-credits-roll-call .ao-player-kill-badges .ao-busy-artificer-mark,
.ao-credits-featured .ao-player-kill-badges .ao-busy-high-boss-mark,
.ao-credits-featured .ao-player-kill-badges .ao-busy-super-rare-mark,
.ao-credits-featured .ao-player-kill-badges .ao-busy-artificer-mark {
  width: 0.75rem;
  height: 0.75rem;
}

.ao-gossip-highlights .ao-player-kill-badges {
  margin-left: 0.08rem;
  vertical-align: -0.08em;
}

.ao-gossip-highlights .ao-player-kill-badges .ao-busy-high-boss-mark,
.ao-gossip-highlights .ao-player-kill-badges .ao-busy-super-rare-mark,
.ao-gossip-highlights .ao-player-kill-badges .ao-busy-artificer-mark {
  width: 0.65rem;
  height: 0.65rem;
}

.ao-tk-player .ao-player-kill-badges .ao-busy-high-boss-mark,
.ao-tk-player .ao-player-kill-badges .ao-busy-super-rare-mark,
.ao-tk-player .ao-player-kill-badges .ao-busy-artificer-mark {
  width: 0.8rem;
  height: 0.8rem;
}

@media (prefers-reduced-motion: reduce) {
  .ao-busy-reunion-mark,
  .ao-busy-high-boss-mark,
  .ao-busy-super-rare-mark,
  .ao-busy-artificer-mark {
    animation: none !important;
  }

  .ao-player-kill-badges a.ao-busy-high-boss-mark:hover,
  .ao-player-kill-badges a.ao-busy-super-rare-mark:hover,
  .ao-player-kill-badges a.ao-busy-artificer-mark:hover,
  .ao-player-kill-badges a.ao-busy-high-boss-mark:focus-visible,
  .ao-player-kill-badges a.ao-busy-super-rare-mark:focus-visible,
  .ao-player-kill-badges a.ao-busy-artificer-mark:focus-visible {
    transform: none;
  }
}
