The CSS adjustments for the margins on the blockquote footnotes don’t match the numbers currently being for the blockquotes. Looking at the CSS presented for the blockquotes, you currently have:
blockquote { margin: 1rem 0rem 1rem 0rem; }
blockquote p { margin: 0.08rem 0rem 0.08rem 0rem; text-indent: 0.94rem; font-size: 0.83rem; }
but then further down you also have
/* Override block quotes to indent at either side and override top and bottom spacing. */
blockquote {
margin-top: 0rem;
margin-bottom: 0rem;
margin-left: 2rem;
margin-right: 2rem;
}
The second overrides the first for any properties defined in both, so the final blockquote margins are 0 on top and bottom, and 2rem on the left and right. Since you already have a 0 margin for the top and bottom of all blockquotes, you don’t need need these lines:
blockquote .footnotes:first-child { margin-top: -1rem; }
blockquote .footnotes:last-child { margin-bottom: -1rem; }
Those are both there to counteract the 1rem top and bottom margins that are in the default stylesheet so that blockquotes in the footnote section would be spaced the same as other paragraphs, without that extra top/bottom padding. In the original, it would be saying 1 - 1 = 0. Now you’ve got 0 - 1 = -1, creating negative line spacing that’s causing lines to overlap.
The appended blockquote style is also setting a 2rem margin on the right and left. Your current declaration for the footnotes within the blockquote counteracts that for the left margin but not for the right, so you’ll want to add that as well:
blockquote > .footnotes { margin-left: -2rem; margin-right: -2rem; }
Your current stylesheet also reduces the font size for paragraphs in the blockquote to 0.83rem; you can set the footnotes in blockquotes to the normal size by adding font-size: 1rem;
to the blockquote > .footnotes
declaration:
blockquote > .footnotes { margin-left: -2rem; margin-right: -2rem; font-size: 1rem; }
Or you might rather just create a separate footnotes line in the appended CSS so that the font setting will apply to all footnotes, in case you want to alter it later and be sure it applies to the notes in and out of blockquotes. For that, leave the font-size out of the blockquotes > .footnotes
line and instead create an additional line:
.footnotes { font-size: 1rem; }
Just note in either case that if you change the footnote size via a style in Scrivener’s compile format designer, that change would go into the default CSS and you’d need to remove your font-size addition in the appended CSS to avoid it overriding the change in the default.