72ffe9a806
Onboarding overlay: on DOMContentLoaded the dashboard calls GET /auth/status. If no profile exists, a full-screen setup card replaces the normal UI (header, nav, and main are hidden). The user enters a username and clicks Start Playing — POST /auth/local is called, then the overlay hides and the Club tab loads normally. Pressing Enter in the username field also submits. Validation: minimum 2 characters, error message inline below the button. Danger Zone in Settings tab: a red-bordered section with a Reset All Progress button. Clicking opens a confirmation modal that requires the user to type the word RESET before the action is enabled. On confirm, POST /auth/reset is called, a toast is shown, and the page reloads after 1.5 s — which triggers the onboarding flow again since the profile was deleted. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>