/* Pages statiques générées (histoires/, genres) : lecture sans compte, sans JavaScript. */
:root { --rose: #b76e6e; --rose-deep: #7a3e3e; --rose-light: #e2bcbc; --ink: #2e2323; --ink-muted: #6b5b5b; --paper: #fbf6f4; --border: rgba(183, 110, 110, 0.18); }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'DM Sans', system-ui, sans-serif; line-height: 1.65; }
a { color: var(--rose-deep); }
h1, h2, h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; line-height: 1.15; margin: 0 0 12px; }
.sp-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 5vw; border-bottom: 1px solid var(--border); }
.sp-brand { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.5rem; text-decoration: none; color: var(--rose-deep); }
.sp-header nav { display: flex; gap: 18px; align-items: center; font-size: 0.95rem; }
.sp-header nav a { text-decoration: none; }
.sp-cta { display: inline-block; background: var(--rose); color: #fff !important; padding: 10px 18px; border-radius: 999px; text-decoration: none; }
.sp-cta:hover { background: var(--rose-deep); }
.sp-link { margin-left: 14px; }
.sp-main { max-width: 720px; margin: 0 auto; padding: 48px 20px 72px; }
.sp-kicker { font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--rose); font-weight: 600; margin: 0 0 8px; }
.sp-kicker a { text-decoration: none; color: inherit; }
.sp-story h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.sp-meta { color: var(--ink-muted); font-size: 0.95rem; margin: 0 0 28px; }
.sp-content { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.25rem; line-height: 1.75; }
.sp-content p { margin: 0 0 1.1em; }
.sp-content > p:first-child::first-letter { font-size: 3.2em; float: left; line-height: 0.85; margin: 6px 8px 0 0; color: var(--rose-deep); }
.sp-react { margin-top: 44px; padding: 24px; border: 1px solid var(--border); border-radius: 16px; background: #fff; }
.sp-react p { margin: 0 0 14px; }
.sp-lead { color: var(--ink-muted); max-width: 60ch; }
.sp-list { margin-top: 36px; }
.sp-list h2 { font-size: 1.6rem; border-bottom: 1px solid var(--border); padding-bottom: 8px; }
.sp-list h2 a { text-decoration: none; }
.sp-list ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.sp-card a { display: block; padding: 18px 20px; background: #fff; border: 1px solid var(--border); border-radius: 14px; text-decoration: none; color: inherit; transition: transform 0.2s, box-shadow 0.2s; }
.sp-card a:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -16px rgba(183, 110, 110, 0.5); }
.sp-card h3 { font-size: 1.35rem; margin-bottom: 4px; }
.sp-card .sp-meta { margin-bottom: 8px; font-size: 0.85rem; }
.sp-card p { margin: 0; color: var(--ink-muted); font-size: 0.95rem; }
.sp-footer { text-align: center; padding: 28px 20px 40px; font-size: 0.85rem; color: var(--ink-muted); border-top: 1px solid var(--border); }
.sp-footer p { margin: 6px 0; }
.li-made-by em { font-family: 'Pinyon Script', cursive; font-style: normal; font-size: 1.9em; line-height: 0; color: var(--rose); margin: 0 7px; position: relative; top: 3px; }
.li-made-by a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; }
@media (prefers-color-scheme: dark) {
    :root { --ink: #f1e6e6; --ink-muted: #c9b4b4; --paper: #241b1b; --border: rgba(226, 188, 188, 0.2); --rose-deep: #e2bcbc; }
    .sp-react, .sp-card a { background: #2e2323; }
}
