/* ── Rhyme Finder · SEO-page additions ────────────────────────────
   Loaded AFTER the app's styles.css on /rhymes/{word}/ pages only.
   The results themselves reuse the app's own classes; this file styles
   just (a) the h1 kicker in the source summary and (b) the .sp-extra
   section below the results (corpus quotes, tier explainers, related
   page links — the crawlable text the app keeps behind popovers).
   All color/type tokens come from styles.css :root. */

/* The static snapshot promotes the source word to <h1> (the app's own
   render uses a <span> and takes over on hydration) — zero the UA
   heading margins so the flex row lays out identically. */
h1.rf-source-word { margin: 0; }

/* "WORDS THAT RHYME WITH" — small mono label inline before the big
   source word, sharing its baseline so the tag row alignment is
   untouched. Replaced by the app's own render on hydration. */
.sp-kicker {
  font-family: var(--mono);
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faded);
  margin-right: 12px;
}

/* ── Extras section ──────────────────────────────────────────────── */

.sp-extra {
  width: 100%;
  margin-top: 40px;
  padding-bottom: 48px;
}

/* (main.js runSearch hides .sp-extra when the user searches a word
   other than the path word — stale prose never sits under fresh
   results.) */

.sp-block {
  border-top: 1px solid var(--hair-soft);
  padding: 22px 0 6px;
  margin-top: 10px;
}

.sp-block h2 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  font-size: 24px;
  color: var(--ink);
  margin: 0 0 14px;
}

/* Quotes — vermilion-rule figures, same voice as the app's corpus tab */
.sp-quotes figure {
  margin: 0 0 18px;
  padding-left: 16px;
  border-left: 2px solid var(--vermilion);
}
.sp-quotes blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 17.5px;
  font-style: italic;
  color: var(--ink-soft);
}
.sp-quotes .ql { display: block; }
.sp-quotes .rw { font-style: normal; font-weight: 700; color: var(--vermilion-deep); }
.sp-quotes figcaption {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-faded);
}

/* Legend + tier definitions */
.sp-note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 68ch;
  margin: 0 0 16px;
}
.sp-strike { text-decoration: line-through; text-decoration-color: rgba(138, 42, 30, 0.6); }
.sp-flag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  color: var(--vermilion);
  vertical-align: super;
}

.sp-defs { margin: 0; }
.sp-def { margin: 0 0 10px; }
.sp-def dt {
  display: inline;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 15px;
}
.sp-def .sp-def-n {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 11px;
  color: var(--vermilion-deep);
}
.sp-def dd {
  display: inline;
  margin: 0 0 0 8px;
  font-size: 14px;
  color: var(--ink-faded);
}

/* Related page links */
.sp-related ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 14px;
}
.sp-related a { color: var(--vermilion-deep); text-decoration-color: rgba(138, 42, 30, 0.35); }
.sp-related a:hover { color: var(--vermilion); }
