/* Layout repairs for the existing themes (2026-11-23). Geometry and legibility only, no restyling.
   1. Window themes (folio, reticle, playbill, sonar): windows.css put .toc (and reticle's .mu-player) in a position:relative
      group, so the Contents panel fell to the bottom of the page and widened phone pages. Restore the fixed position.
   2. Phones and desktops: the music player and pop-up messages sat partly under the bottom tab bar (3-row phone bar,
      floating docks). Place them above the bar's measured top edge (--tabs-top, set by fx.js; tablets already do this).
   3. TV page: style.css hard-coded light ink for the TV page, so light themes showed near-white text on a light page. */
html:is(.tm-folio,.tm-reticle,.tm-playbill,.tm-sonar) .toc{position:fixed}
html.tm-reticle .mu-player{position:fixed}
html.tabs-bottom body .mu-player{bottom:calc(var(--tabs-top) + 8px)}
html.tabs-bottom body #toast{bottom:calc(var(--tabs-top) + 12px)}
html body.tv-mode{--ink:var(--t-ink);--muted:var(--t-muted);--accent:var(--t-accent);--accent-ink:var(--t-accent-ink)}
