.story-prose { white-space:normal; overflow-wrap:anywhere; line-height:inherit; color:inherit; }
.story-prose > p { margin:0 0 .45em; white-space:pre-wrap; font:inherit; line-height:inherit; color:inherit; }
.story-prose .story-effect { display:inline; vertical-align:baseline; font-family:inherit; font-style:normal; }
.story-prose .story-effect-blood { color:#a31323; font-size:1.18em; font-weight:750; }
html[data-appearance="dark"] .story-prose .story-effect-blood { color:#ff9eaa; }
.story-prose .story-effect-impact { color:var(--ink); font-size:1.15em; font-weight:750; }
.story-prose .story-effect-whisper { color:var(--ink-light); }
.story-prose .story-effect-glitch { color:var(--story-accent,var(--accent-dark)); font-weight:700; }
.story-prose .story-effect-emphasis { color:var(--accent-dark,var(--accent)); font-weight:750; background:color-mix(in srgb,var(--accent) 9%,transparent); border-radius:.18em; box-decoration-break:clone;-webkit-box-decoration-break:clone; }
.story-prose .story-effect-thought { color:var(--ink-light); }
.story-prose .story-effect-romance { color:var(--story-accent,#a34d70); font-weight:600; }
.story-prose .story-effect-memory { color:var(--ink-light); }
.story-prose .story-effect-magic { color:var(--story-accent,#516da8); font-weight:650; }
.story-prose .story-effect-classic { color:var(--story-accent,#72583c); font-weight:650; }
.story-prose .story-effect-terminal { color:var(--story-accent,#17636b); font-weight:600; background:color-mix(in srgb,var(--story-accent,#17636b) 8%,transparent); padding:.06em .24em; border-radius:3px; }
html[data-narrative-effects="off"] .story-effect { all:unset; color:inherit; font:inherit; text-shadow:none; background:none; padding:0; border:0; border-radius:0; opacity:1; }
.story-prose > :last-child { margin-bottom:0; }
.story-prose .story-chapter { margin:1.5em 0 .95em; padding:0; font-family:inherit; font-size:1.08em; font-weight:600; line-height:1.7; color:var(--ink,inherit); letter-spacing:.05em; overflow-wrap:anywhere; }
.story-prose > .story-chapter:first-child { margin-top:0; }
.story-prose .story-work-title { font-size:.85em; color:var(--ink-light,inherit); letter-spacing:.1em; }
.story-prose .story-scene-break { width:48px; max-width:30%; margin:1.8em auto; border:0; border-top:1px solid var(--accent,var(--border,#888)); opacity:.6; }
.story-prose .story-literal { max-width:100%; overflow-x:auto; white-space:pre; font: .85em/1.9 ui-monospace,monospace; color:inherit; background:transparent; border:0; padding:0; margin:1em 0; tab-size:4; overscroll-behavior-x:contain; }
.narrative-preview { margin:10px 0 18px; border:1px solid var(--border,#d9dedb); border-radius:12px; background:var(--card,transparent); color:var(--ink,inherit); }
.narrative-preview > summary { padding:12px 14px; min-height:44px; box-sizing:border-box; cursor:pointer; font-size:13px; }
.narrative-preview > summary:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
.narrative-preview-body { padding:16px 20px 22px; max-height:420px; overflow:auto; font-family:var(--font-story,inherit); font-size:16px; line-height:2; }
.narrative-preview > small { display:block; padding:0 14px 12px; color:var(--ink-light,inherit); font-size:12px; line-height:1.8; }
@media(max-width:600px){.narrative-preview-body{padding:14px 16px 18px;max-height:55dvh}.story-prose .story-chapter{letter-spacing:.025em}}
