Two critical fixes:
1. **Increase sampling density from 5×5 to 11×11 grid**
- Previous: 25 sample points across 50px box = ~12.5px spacing
- New: 121 sample points across 50px box = ~5px spacing
- Problem: Tiny regions like San Marino (1-2px) were falling between sample
points and not being detected unless cursor was directly on them
- Solution: Denser sampling ensures we don't miss sub-5px regions
2. **Show all detected regions in debug panel, not just first 5**
- Removed .slice(0, 5) limit
- Added region count to header
- Needed to see full detection list to diagnose sampling issues
The geometry-based detection introduced this regression because bounding box
detection was catching everything (including empty space), while precise
geometry detection with sparse sampling was missing tiny regions.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>