/* PLATE FOCUS (2026-10-18; js/plate-focus.js sets --ps-fx = percent on the plate <img>). A portrait window draws the 16:9 plate cropped
   to a slice of its width; the slice sits where the shot's focus says (cam.act1.json focusX) so the people stay in frame. Only below
   aspect 6/5: desktop and landscape keep the centred crop (and play-stage.css's own 50% 50% rule above 1023/576). Console screens are
   drawn whole (contain), Wyeth plates and the camera track set their own position, so they are left out. No transition: the crop and
   the zone maths (play-stage.js, engine patches) must always agree. */
@media (max-aspect-ratio: 6/5) {
  html body.ps-on #panel > img:not([data-cam]):not([data-disp-key*="/plate-"]):not(:is([data-disp-key*="|dmg"],[data-disp-key*="|c64_multi"],[data-disp-key*="|zx"],[data-disp-key*="|playdate"])){
    object-position: calc(var(--ps-fx, 50) * 1%) 38%;
  }
}
/* the day-to-night grade layers (js/daycycle.js) are drawn as backgrounds over the img: same crop, so same anchor (--ps-pfx on #panel) */
@media (max-aspect-ratio: 6/5) {
  html body.ps-on #panel > .dc-layer{background-position: calc(var(--ps-pfx, 50) * 1%) 38%}
  html body.fit-whole #panel > .dc-layer{background-position:50% 50%}
}
