/* Verified profile head — avatar glare via ::before (no extra DOM inside Vue tree) */
.profile .card.head {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.profile .card.head.head--verified::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 6px;
  width: 150px;
  height: 88px;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 42%,
    color-mix(in srgb, var(--dxd-glow-a, #5ee7ff) 70%, transparent) 0%,
    color-mix(in srgb, var(--dxd-glow-b, #2b6cff) 45%, transparent) 38%,
    transparent 72%
  );
  filter: blur(14px);
  opacity: 0.85;
  animation: dxd-avatar-glow-breathe 4.2s ease-in-out infinite;
}

.profile .card.head.head--verified {
  border-color: color-mix(
    in srgb,
    var(--dxd-glow-a, #4fc3f7) 28%,
    rgba(255, 255, 255, 0.08)
  );
  background:
    radial-gradient(
      120% 90% at 50% -10%,
      color-mix(in srgb, var(--dxd-glow-a, #4fc3f7) 16%, transparent) 0%,
      transparent 55%
    ),
    #171717;
}

.profile .card.head .avatar,
.profile .card.head .nick,
.profile .card.head .tid {
  position: relative;
  z-index: 2;
}

.profile .card.head.head--verified .avatar {
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--dxd-glow-a, #5ee7ff) 55%, transparent),
    0 6px 18px color-mix(in srgb, var(--dxd-glow-b, #2b6cff) 35%, transparent);
}

.profile .card.head .nick,
.profile .card.head .tid {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

@keyframes dxd-avatar-glow-breathe {
  0%,
  100% {
    opacity: 0.72;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 0.95;
    transform: translateX(-50%) scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .profile .card.head.head--verified::before {
    animation: none;
  }
}
