What clicking a topic actually does
Figure 14. Answer 1 has been unlocked and expanded under its topic.
The topic Button expands or collapses the answers that are already available. Clicking it does not unlock the next answer. That separation lets you decide whether hints are earned through exploration, requested with a More help Button or made available from the start.
An unlock or another dynamic refresh rebuilds the topic rows in this version. Expanded answers can collapse again. The unlocked count remains; click the topic again to reopen it. The fold-open state is presentation, not puzzle progress.
An unlock count of zero is a special case: the topic can appear because its ID exists in the dictionary, but it has no answer text to show. Use 1 for the first useful answer. Remove the topic’s dictionary entry if you want it to disappear entirely.
A Hint List can be empty for several reasons: no unlocks, a topic-ID mismatch, invalid JSON or an empty topic array. Check those in that order before changing colors or moving the element.
