/* Five real wrapped lines, with the spoken row centred in a stable window. */
.aka-story-body:has(.aka-follow-host){min-height:0!important}
.aka-follow-window{--follow-line:36px;position:relative;height:calc(var(--follow-line)*5);overflow:hidden;font:18px/var(--follow-line) 'Libre Baskerville',Georgia,serif;isolation:isolate;mask-image:linear-gradient(transparent,#000 12%,#000 88%,transparent);-webkit-mask-image:linear-gradient(transparent,#000 12%,#000 88%,transparent)}
.aka-follow-track{position:relative;padding-top:calc(var(--follow-line)*2);padding-bottom:calc(var(--follow-line)*2);will-change:transform;transition:transform .42s cubic-bezier(.22,.61,.36,1);line-height:var(--follow-line)}
.aka-follow-word{color:#c6b2cd;opacity:.52;transition:color .3s ease,opacity .3s ease}.aka-follow-word.is-near{opacity:.78}.aka-follow-word.is-current{color:#fff5df;opacity:1}
@media(max-width:700px){.aka-follow-window{--follow-line:32px;font-size:16px}}
@media(prefers-reduced-motion:reduce){.aka-follow-track,.aka-follow-word{transition:none;will-change:auto}}

/* Keep the story close to its title and give its controls their own breathing room. */
.nancy-page .aka-explorer .aka-paper h3{margin-bottom:10px}
.nancy-page .aka-explorer .aka-reading-actions{margin-top:24px}
.nancy-page .aka-explorer .aka-paper .aka-story-footer{padding-top:4px}
@media(max-width:700px){.nancy-page .aka-explorer .aka-reading-actions{margin-top:18px}}
