Build a native mobile app that functions as a "Breaking Bad" style logo generator. The app should be designed around a single screen for simplicity.
The core features are:
1. **Main Screen UI:**
* A text input field at the top for the user to enter their desired name or phrase.
* A live preview area below the input field that displays the generated logo in real-time.
* A "Save to Photos" button.
2. **Logo Generation Logic:**
* As the user types text into the input field, the same text should appear in the live preview area.
* The user must be able to tap on individual letters or pairs of letters within the preview text to select them. Tapping a selected letter/pair should deselect it.
* Selected letters should be styled to mimic a chemical element from the periodic table: enclosed in a solid green square with white text. For example, if the user types "Michael" and selects "Ch", the preview should show Mi**ch**ael.
* Unselected letters should remain as plain white or black text (choose a color that contrasts well with the background).
3. **Export Functionality:**
* When the "Save to Photos" button is tapped, the app should convert the final logo from the live preview area into a high-resolution PNG image with a transparent background.
* The app must request the necessary permissions to save the image to the device's photo gallery and then save it.
Build a native mobile app that functions as a "Breaking Bad" style logo generator. The app should be designed around a single screen for simplicity.
The core features are:
1. **Main Screen UI:**
...