# Python
__pycache__/
*.pyc
*.pyo
*.pyd
.Python
.pytest_cache/
.mypy_cache/
.ruff_cache/
.coverage
htmlcov/

# Build artifacts
dist/
build/
*.egg-info/

# Virtual environment
.venv/
env/
ENV/

# IDE
.vscode/
.idea/
*.swp
*.swo
*~
*.code-workspace

# AI tooling
CLAUDE.md
.claude/

# OS
.DS_Store
Thumbs.db

# FFmpeg temp
.video_temp/

# Logs
*.log

# ──────────────────────────────────────────────
# Theme & Web archives: .7z files ARE tracked.
# Extracted dirs are regenerated at runtime via on-demand download.
# ──────────────────────────────────────────────

# Extracted theme dirs (from theme*.7z archives)
src/trcc/data/theme*/Theme[1-5]/
src/trcc/data/theme*/Custom_*/
src/trcc/data/theme*/[0-9]*/
src/trcc/data/theme*/Theme.zt
src/trcc/data/theme*/Theme.dc
src/trcc/data/theme*/01.png

# Extracted Web dirs (from *.7z and zt*.7z archives)
src/trcc/data/web/[0-9]*/
src/trcc/data/web/zt*/[0-9]*/
src/trcc/data/web/**/*.mp4
src/trcc/data/web/**/*.png

# Keep all .7z archives tracked
!src/trcc/data/theme*.7z
!src/trcc/data/web/*.7z

# Runtime data
src/trcc/data/web_cache/
src/trcc/data/themes/
src/trcc/data/images/
src/trcc/data/settings.json
src/trcc/data/ui_*.json

# ──────────────────────────────────────────────
# Dev / reference files (not for distribution)
# ──────────────────────────────────────────────

# Dev scripts at root
/test_*.py
/probe_*.py
/*.sh
!install.sh
!setup.sh

# Dev tooling
tools/

# Large binary docs
doc/*.pdf

# C# audit docs (reference only, not for distribution)
doc/audit/
