@import url("xp-overlay.css");

.xp-badge {
  font: 600 13px/1 "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #6ee7e7;
  background: rgba(110, 231, 231, 0.1);
  border: 1px solid rgba(110, 231, 231, 0.35);
  border-radius: 999px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  position: relative;
  overflow: visible;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.xp-badge__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.xp-badge--loading {
  color: rgba(182, 200, 242, 0.96);
  background: rgba(148, 163, 184, 0.18);
  border-color: rgba(148, 163, 184, 0.35);
}

.xp-badge--loading::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-top-color: transparent;
  margin-left: 4px;
  animation: xp-badge-spin 0.75s linear infinite;
}

@keyframes xp-badge-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
