Task
Build `detective_score(clues_found, clues_total, time_seconds)` β a Code Detective scoring helper for the in-game UI:
1. Base score = `int(100 * clues_found / clues_total)` (percent of clues found).
2. `time_seconds <= 30` β bonus +20 (sleuth speed).
3. `30 < time_seconds <= 90` β no bonus.
4. `time_seconds > 90` β penalty -10 (overthinking).
5. Clamp final score to `[0, 100]`.
6. `clues_total == 0` β return 0 (defensive β no puzzle to solve).