/* Fallback before JS measures the fixed navigation. One target offset only:
   do not add scroll-padding to both the document and the scrolling articles. */
:root { --woof-anchor-offset: 144px; }
html body [id],
#content [id],
#content a[name],
html body a[name] {
    scroll-margin-top: var(--woof-anchor-offset);
}
a[id]:not([href]):empty,
a[name]:not([href]):empty {
    display: block;
}
/* The outgoing screen stays in the DOM during its fade. It must not intercept
   clicks intended for the new active screen, including immediately after Back. */
#content > article[id]:not(.active1) {
    pointer-events: none;
}
