0d65a134fd
Lightbox was previously a file-private component inside AttachmentImage (used for enlarging chat image attachments). Extracted to a standalone components/Lightbox.tsx so other surfaces can reuse the same dialog without duplicating Esc/backdrop/body-overflow plumbing. In SettingsPage's profile live-preview, the round avatar overlapping the banner is now wrapped in a transparent button that opens the Lightbox with the full-resolution avatar URL on click. Cursor switches to zoom-in. Disabled when the user only has the initial-letter placeholder (nothing meaningful to enlarge). Native button chrome (border, padding, button-face background) is reset to keep the avatar circle's appearance unchanged. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>