/* Highlighter-style lines have black text and the same exact foreground
   backgrounds in all Modus light and dark themes. Each highlighted chunk
   contains only text/inline styles: post references are separate siblings,
   never children of a painted span, so no highlighter color can leak around
   their glyphs, decorations, or edges. */
.post-body-line {
  color: #000;
  padding: 0 0.12em;
  border-radius: 2px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.post-body-gt { background-color: #ff6b55; }
.post-body-lt { background-color: #79a8ff; }
.post-body-at { background-color: #f4ffc6; }
.post-body-caret { background-color: #f78fe7; }
.post-body-bold { font-weight: 800; }
.post-body-underline { text-decoration: underline; text-underline-offset: .12em; }

/* Quotes are emitted outside the highlights and use the ordinary theme
   color/surface. This catalog-only styling preserves the usual link and
   unavailable-post appearance at the smaller excerpt size. */
.catalog-excerpt .post-quote-link {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.catalog-excerpt .post-quote-dead {
  color: var(--muted);
  text-decoration: line-through;
}
