/* Zero-height internal destinations; existing typography and Bible hyperlinks remain unchanged. */
.tgf-scripture-anchor { display:block; height:0; width:0; scroll-margin-top:clamp(96px, 15vh, 180px); }
@supports selector(p:has(> span:target)) {
  :is(p,h1,h2,h3,h4,h5,h6,li,figcaption,td,th):has(> .tgf-scripture-anchor:target) { animation:tgf-scripture-arrival 6s ease-out both; }
  @keyframes tgf-scripture-arrival { 0%,55% { outline:2px solid currentColor; outline-offset:4px; } 100% { outline:2px solid transparent; outline-offset:4px; } }
  @media (prefers-reduced-motion:reduce) {
    :is(p,h1,h2,h3,h4,h5,h6,li,figcaption,td,th):has(> .tgf-scripture-anchor:target) { animation:none; outline:2px solid currentColor; outline-offset:4px; }
  }
}
