#info-content:has(.faith-reference) { word-break: keep-all; overflow-wrap: anywhere; }

:root { --faith-reference-color: #853b21; }
:root[data-theme="dark"] { --faith-reference-color: #f4b68d; }

.faith-reference {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--faith-reference-color);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: .18em;
  white-space: nowrap;
  cursor: pointer;
}
.faith-reference:hover,
.faith-reference:focus-visible { background: var(--active); }
.faith-verse-preview {
  position: fixed;
  z-index: 20;
  width: min(27rem, calc(100vw - 20px));
  max-height: min(45dvh, 22rem);
  overflow: auto;
  overscroll-behavior: contain;
  padding: .65rem .8rem;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
  font-size: .92rem;
  line-height: 1.55;
}
.faith-verse-preview strong { display: block; margin-bottom: .35rem; color: var(--faith-reference-color); }
.faith-verse-preview p + p { margin-top: .4rem; }
.faith-verse-preview sup { margin-inline-end: .35rem; color: var(--muted); }
