{ if (e.target === backdropRef.current) onClose() }}
+ className="fixed inset-0 z-[9999] flex items-center justify-center bg-black/60 backdrop-blur-sm p-4"
+ role="dialog"
+ aria-modal="true"
+ aria-label="Share this artwork"
+ >
+ {/* Modal container — glassmorphism */}
+
+ {/* Header */}
+
+
Share this artwork
+
+
+
+ {/* Artwork preview */}
+ {thumbMdUrl && (
+
+

+
+
{title}
+ {artwork?.user?.username && (
+
by {artwork.user.username}
+ )}
+
+
+ )}
+
+ {/* Share buttons grid */}
+
+ {SHARE_OPTIONS.map((opt) => (
+
+ ))}
+
+
+ {/* Embed section */}
+
+
+
+ {showEmbed && (
+
+
+ )}
+
+