.novel-page { --novel-border: rgba(113, 196, 255, .25); background: #000; }
.novel-shell { width: min(1080px, calc(100% - 2rem)); margin: 0 auto; padding: 3rem 0 4rem; }
.novel-back { display: inline-block; margin-bottom: 2.5rem; color: #8fcfff; font: .78rem/1.4 monospace; letter-spacing: .08em; text-decoration: none; }
.novel-back:hover, .novel-back:focus-visible { text-decoration: underline; }
.novel-hero { display: flex; flex-direction: column; align-items: center; text-align: center; }
.novel-cover-frame { width: min(420px, 100%); }
.novel-cover { display: block; width: 100%; height: auto; border: 1px solid var(--novel-border); border-radius: 4px; box-shadow: 0 14px 40px rgba(0, 0, 0, .28); }
.novel-chapter-number { color: #74c7ff; font: .78rem/1.4 monospace; letter-spacing: .14em; }
.novel-copy { display: flex; flex-direction: column; align-items: center; }
.novel-subtitle { margin: 2rem 0 0; color: #c9d5dd; font-size: clamp(1.05rem, 2vw, 1.3rem); }
.novel-intro { max-width: 59ch; margin: 1rem 0 0; color: #aebdc6; font-size: 1.05rem; line-height: 1.75; }
.novel-contents { margin-top: clamp(3.5rem, 8vw, 6rem); padding-top: 2rem; }
.novel-contents h2 { border-bottom: 1px solid var(--novel-border); display: inline-block; font: .85rem/1.4 monospace; letter-spacing: .14em; padding-bottom: .35rem; }
.novel-empty { margin-top: 1.4rem; padding: 1.5rem; border: 1px solid var(--novel-border); border-radius: 4px; }
.novel-empty strong { display: block; color: #dce8ee; font: .82rem/1.4 monospace; letter-spacing: .08em; }
.novel-empty p { margin: .65rem 0 0; color: #9eb0ba; }
.novel-toc { padding: 0; list-style: none; }
.novel-toc li + li { border-top: 1px solid var(--novel-border); }
.novel-toc a { display: flex; gap: 1rem; padding: 1rem 0; color: inherit; text-decoration: none; }
.novel-reader { width: min(72ch, calc(100% - 2rem)); margin: 0 auto; padding: 3rem 0 5rem; }
.novel-reader-header { margin: 1.5rem 0 3rem; }
.novel-reader-header h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.12; }
.novel-prose { color: #d3dadd; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.08rem, 2vw, 1.22rem); line-height: 1.8; }
.novel-prose p { margin: 0 0 1.35em; }
.novel-prose pre { max-width: 100%; margin: 0 0 1.65em; padding: 1rem; overflow-x: auto; border: 1px solid var(--novel-border); border-radius: 4px; background: #0b1217; color: #d8e9f2; font: .88rem/1.55 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; white-space: pre; }
.novel-prose pre code { padding: 0; background: transparent; color: inherit; font: inherit; white-space: inherit; }
.novel-prose code { padding: .12em .3em; border-radius: 3px; background: #17242c; color: #e1f2fa; font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; font-size: .88em; }
.novel-prose strong { color: #edf3f5; font-weight: 700; }
.novel-prose em { font-style: italic; }
.novel-prose hr { width: 4rem; margin: 2.8rem auto; border: 0; border-top: 1px solid #80909a; }
.novel-chapter-nav { display: flex; justify-content: space-between; gap: 2rem; margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--novel-border); }
.novel-final { width: min(1080px, calc(100% - 2rem)); margin: 0 auto; padding: 3rem 0 5rem; }
.novel-final-image { display: block; width: 100%; max-width: 100%; height: auto; margin: 0 auto; }
@media (max-width: 680px) { .novel-shell { padding-top: 2rem; } .novel-cover-frame { width: min(100%, 420px); } .novel-back { margin-bottom: 2rem; } }
@media print { #stars, .novel-page footer, .novel-back, .novel-chapter-nav { display: none !important; } .novel-reader { width: auto; padding: 0; } .novel-prose { color: #000; font-size: 12pt; } .novel-prose pre { border-color: #888; background: #fff; color: #000; } .novel-prose code, .novel-prose strong { background: transparent; color: #000; } body { background: #fff; } }
