Bug Fix
Crafting and enhancement stop failing mid-session
Crafting and enhancement were throwing authentication errors after a session had been open for a while. The game's auth token was expiring in the background and server operations — the ones that actually matter — would fail silently or show a generic error. You'd tap Craft, see an error, and have to reopen the app to fix it.
The fix: before any server operation, the client now checks whether your token is close to expiring and refreshes it automatically. If the token is fresh, no network call is made and the operation runs immediately. If it's stale, it refreshes first, then proceeds. You shouldn't see auth errors from normal in-session play anymore.