Land the "+N more" chip where the entries land, and raise the cap to nine
Three things on the header chips.
The "+N more" chip pointed at the References heading, which had no landing
offset of its own, while the entries had one. Starlight's scroll-padding
clears the sticky chrome for both, so neither was hidden, but the heading came
to rest hard against the sticky bar while an entry came to rest a comfortable
way below it, and on a phone, where the mobile table of contents is part of
that chrome, the difference is the whole gap. The offset is now one custom
property in one rule covering the entries, the heading and its wrapper, so
the two targets cannot drift apart again. Both land at 168 px on a 1440 px
desktop and 200 px on a 390 px phone, EN and ES, with and without the
language bar.
The cap is nine chips for the run as a whole, with a tenth slot for the
"+N more" link, replacing five standards plus three works. The budget is not
split per category any more, with one guard: the named works hold a
reservation of up to three slots when the page has any, the standards take
the rest, and whatever the standards do not use goes back to the works. Nine
standards on a standards-only page, nine papers on a paper-only page, and a
page with fourteen standards and three papers shows six and three rather than
nine and none. The `primary: true` flag still orders the run first: flagging a
work that was past the old cap on the underwater page brings it to the front
of its run and into the visible nine.
Worth knowing: nine chips no longer fit the one line the run was designed
around. The densest page is four rows at 1440 px and six at 390 px. It reads
as a block under the H1 rather than a dateline, which is the trade the higher
cap buys.
scripts/check-page-chips.mjs is the new gate: the cap on seven pages in both
locales, and the landing of an entry chip against the more chip at four
viewport sizes, both themes, both locales and with the language bar up.