Frosted full-width banner shown when a buyer returns from checkout: pending polls every 3 s up to 8 times and turns into success once access is unlocked, success stays and links to the course, failed and error close themselves after 8 s. Uses role="status" for pending and success and role="alert" for failures, has a labelled close button, and the spinner stops under reduced motion.
pnpm dlx shadcn@latest add "https://sunui.synvize.com/r/payment-status-banner.json"