/* Stable hierarchy, varied narrative rhythms. CSS controls work without scripts. */
.reader .story-prose{max-width:68ch;font-family:Georgia,serif;line-height:1.65;text-align:left}
.reader .story-prose p{margin:0 0 .9em;line-height:inherit;white-space:normal}
.reader[data-rhythm="worldbuilding"] .story-prose .scene-action,.reader .written-note p{white-space:pre-line}
header,footer{position:relative;z-index:2;background:#151314}
.reader .story-prose .scene-action{font-size:.94em;font-style:italic;opacity:1;margin:1.2em 0;color:inherit}
.reader .story-prose .scene-transition{margin:2em 0 1.25em}
.reader .story-heading h3{font-size:1.05em!important;line-height:1.4}
.reader .story-heading .story-metadata{font:14px/1.5 Arial,sans-serif;letter-spacing:.02em}
.reader .story-heading .story-timestamp{font:14px/1.5 Arial,sans-serif!important;margin:.6em 0;letter-spacing:.02em}
.reader .story-heading .narrator-label{font:14px/1.6 Arial,sans-serif;padding:.5em 0;letter-spacing:.035em}
.reader .reader-tools{font:13px/1.5 Arial,sans-serif;border-bottom:1px solid #98796c50;margin:1em 0 1.8em;padding-bottom:1.2em}
.reader .reader-tools fieldset{min-inline-size:0;flex-wrap:wrap;max-width:100%}
.reader .reader-tools label{min-height:44px}
.reader .story-prose .dialogue{padding-inline-start:.65em;text-indent:-.35em;margin-bottom:.65em}
.reader .story-prose .dialogue.same-speaker{text-indent:0}
.reader[data-rhythm="rapid-dialogue"] .dialogue{margin-bottom:.48em;padding-inline-start:.8em;text-indent:-.5em}
.reader[data-rhythm="rapid-dialogue"] .prose:not(.dialogue),.reader[data-rhythm="conversation"] .prose:not(.dialogue){margin-top:1.3em;margin-bottom:1.3em}
.reader[data-rhythm="romantic"] .story-prose p{margin-bottom:1.12em}
.reader[data-rhythm="romantic"] .dialogue,.reader[data-rhythm="diary"] .dialogue,.reader[data-rhythm="memory"] .dialogue,.reader[data-rhythm="montage"] .dialogue,.reader[data-rhythm="longform"] .dialogue{padding-inline-start:0;text-indent:0}
.reader[data-rhythm="confession"] .story-prose .scene-action{margin-bottom:1.7em}
.reader[data-rhythm="confession"] .story-prose p{margin-bottom:1em}
.reader[data-rhythm="confession"] .scene-break{margin-block:2.7em}
.reader[data-rhythm="observational"] .story-prose{max-width:64ch}
.reader[data-rhythm="light-dialogue"] .dialogue{margin-bottom:.5em}
.reader[data-rhythm="branch"] .story-prose p{margin-bottom:.75em}
.reader[data-rhythm="reckoning"] .story-prose{line-height:1.6}
.reader[data-rhythm="reckoning"] .story-prose p{margin-bottom:.75em}
.reader[data-rhythm="reckoning"] .story-prose a{color:inherit;text-decoration:underline;text-decoration-color:#94786b;text-underline-offset:3px;border:0}
.reader .story-prose .inner-thought{padding-inline-start:0;text-indent:0;font-style:italic}
.reader .story-prose .story-signature{margin-top:1.8em;font-style:italic}
.reader .story-prose .emotional-pivot{margin-top:1.8em}
.reader .story-prose .landing-beat{margin-top:1.9em;margin-bottom:1.5em}
.reader .story-prose .final-beat{margin-bottom:2.6em}
.reader .story-prose .evidence-transcript{font-family:Arial,sans-serif;font-size:.94em;border-inline-start:1px solid #98796c70;padding-inline-start:1em;text-indent:0;margin-bottom:.45em}
.reader .story-prose .live-conversation{border:0}
.reader .scene-break-holder{border:0;border-top:1px solid #98796c70;width:4rem;margin:2em auto}
.formatting-marker{display:none}
.reader .sequence-navigation{display:grid;grid-template-columns:1fr 1fr;gap:14px;font:14px/1.5 Arial,sans-serif;margin-top:20px}
.reader .sequence-navigation a{padding:12px 0;min-height:44px;color:inherit;border:0;text-decoration:underline;text-underline-offset:4px}
.sequence-next{text-align:right}.sequence-collection{grid-column:1/-1;font-size:13px}
.reader .reading-end{margin-top:3em}
.reader .story-choice{display:block;min-height:52px;padding:16px 20px;line-height:1.5;margin:12px 0;font:inherit;white-space:normal}
.reader .story-navigation{font:13px/1.5 Arial,sans-serif;background:transparent;color:inherit;min-height:44px}
.reader .terminal-navigation{border-top:1px solid #98796c70;padding-top:1.5em}
.narrator-selector .content{max-width:1050px;margin:auto}
.narrator-selector .grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
#copy-of-proposal-character.narrator-selector .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.narrator-selector .card .rich h3{font-size:24px;line-height:1.3}
.narrator-selector .card img.narrator-portrait{width:100%;margin:0 0 16px;height:220px;object-fit:contain;filter:none}
.narrator-switch{margin-top:2em;border-top:1px solid #98796c70;padding-top:1em;font:14px/1.6 Arial,sans-serif}
.narrator-switch summary{cursor:pointer;min-height:44px}
.narrator-switch .image-link{display:inline-block;width:100px;margin:15px}.narrator-switch img{width:100%;height:135px;object-fit:contain}
.narrator-switch h3{font:15px/1.6 Arial,sans-serif}
#throne-of-lies .retrospective-thumbnail{display:inline-block;width:110px;max-width:24%;margin:14px 6px 12px 0;vertical-align:middle}
#throne-of-lies .retrospective-thumbnail img{width:100%;height:70px;object-fit:cover}
#throne-of-lies .tale-reference{display:inline-block;font:inherit;font-size:.9em;color:inherit;padding:0;margin:0 .8em .7em 0;background:none;border:0;text-decoration:underline;text-underline-offset:4px}
/* Artwork surrounds a high-contrast surface; it never replaces the text's backing. */
section.reader[data-art-reader]>.content,#copy-of-the-great-turnover>.content{background:rgba(242,235,225,.94)!important;color:#282126;border:1px solid #ffffff25;border-top:3px solid #995a50;max-width:820px}
section.reader[data-art-reader]>.content:has(.night-choice:checked),section.reader[data-art-reader]>.content.night,#copy-of-the-great-turnover>.content:has(.night-choice:checked){background:rgba(20,19,23,.94)!important;color:#f2e9df}
section.reader[data-rhythm="worldbuilding"]>.content,section.reader[data-rhythm="longform"]>.content{background:rgba(242,235,225,.97)!important}
section.reader[data-rhythm="worldbuilding"]>.content:has(.night-choice:checked),section.reader[data-rhythm="longform"]>.content:has(.night-choice:checked){background:rgba(20,19,23,.97)!important}
.approved-scene img{filter:brightness(1.12);object-fit:cover}
section[data-art-reader]>.crumb{margin-bottom:80px;line-height:1.5}
section.narrator-selector[data-art-reader]>.content{background:#171417e8;padding:28px;color:#efe6dc}
.content>figure:has(.approved-cover){max-width:none;margin:24px auto 32px}
.content>figure img.approved-cover{width:100%;height:auto;max-height:none;object-fit:contain}
.reader .content.night{background:#201c20;color:#eee5dc}
@media(max-width:600px){
 .reader .content{padding:26px 22px}.reader .story-prose{line-height:1.65;max-width:100%}
 .reader-tools{width:100%}.reader-tools fieldset{gap:5px}.reader-tools label{padding:7px 6px}
 .reader .sequence-navigation{grid-template-columns:1fr;gap:8px}.sequence-next{text-align:left}
 .narrator-selector .grid,#copy-of-proposal-character.narrator-selector .grid{grid-template-columns:1fr}
 .narrator-selector .card img.narrator-portrait{height:180px}
 section[data-art-reader]>.crumb{margin-bottom:100px}
 .approved-scene img{object-fit:cover;object-position:center top}
 .reader .story-prose .dialogue{padding-inline-start:.4em;text-indent:-.25em}
 .reader[data-rhythm="rapid-dialogue"] .dialogue{margin-bottom:.5em}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* V14.2.1: Align retrospective cover and title pairs in A Throne of Lies only. */
#throne-of-lies .throne-tale-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:18px 14px;margin:18px 0 26px;align-items:start}
#throne-of-lies .throne-tale-card{display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;gap:9px}
#throne-of-lies .throne-tale-card .retrospective-thumbnail{display:block;width:100%;max-width:155px;margin:0}
#throne-of-lies .throne-tale-card .retrospective-thumbnail img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;border-radius:4px}
#throne-of-lies .throne-tale-card .tale-reference{display:block;margin:0;line-height:1.4;overflow-wrap:anywhere}
@media(max-width:520px){#throne-of-lies .throne-tale-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}}
