# Horizontal widget frame/caption correction

2026-10-28. Fixes the white widget focus in Normal Horizont and captions touching
the lower focus-frame corners in both horizontal skins. Sources are generated
from `scripts/skin_harness/gen_flat.py`; Modern Horizont reuses that layout.

- Focus frames use the chosen `button_focus` token throughout the generated pages.
- The complete card includes the poster and a padded caption; focus and unfocused
  layouts share the same content template. Longer titles truncate within the inset.
- The rows moved 40px towards the hero to retain the bottom TV safe area after
  making room for the caption. Hero buttons and their progress bar are unchanged.
- Composition changes only the two horizontal skins; sidebar trees remain unchanged.

Validation:

- Real Kodi 21.3 native 2560×1440 frames in `after/`: all four skins plus horizontal
  For you, Continue, Movies, Series and Vinyl rows. `four-skins.json`, `pages.json`.
- All ten accent themes were applied temporarily in real Kodi. Each selected card
  edge contained the exact configured RGB (over 200 pixels per theme), recorded
  in `accent-palette.json`. Original Normal Horizont and lime theme were restored.
- 73 targeted tests: shared styles 17, Flat 10, Glass 14, cinema/detail/commands 32.
  New checks guard selected-accent binding, caption insets, artwork separation,
  frame containment and the focused card's TV bottom margin.
- Changed XML parses; generator/test Python compiles; the local runtime ZIP was
  checked against the six generated section/detail/genre XML files.

`before/normal-horizont-poster.png` records the original title/frame defect.
The initial Modern screenshot was captured during the first regeneration and
is not used as a before reference. This directory's `after/` captures are the
final layout; the sidebar captures retain their existing geometry.

Publication was authorized together with the native dialog padding correction.
The release result and version are in `.agents/state/release.json`.
