/* ---------- intro credit toast ---------- */
.intro-credit {
  position: fixed;
  z-index: 999;
  left: 50%;
  bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%) translateY(24px);

  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;

  background:
    linear-gradient(135deg, rgba(122, 63, 184, 0.4), rgba(155, 108, 255, 0.2)),
    rgba(35, 12, 58, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.28),
    inset 0 1px 1px rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);

  font-size: 12px;
  color: rgba(255, 246, 233, 0.78);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.4s ease;
}

.intro-credit.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.intro-credit-link {
  font-family: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff6e9;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}

.intro-credit-link:hover,
.intro-credit-link:focus-visible {
  color: var(--marigold);
  border-color: var(--marigold);
}