:root{font-family:PingFang SC,Microsoft YaHei,system-ui,sans-serif;font-size:16px;color-scheme:light;--paper:#f4f0e5;--ink:#393e34;--muted:#716f61;--line:#d6d0bf;--accent:#4f624d;--surface:#eee9dc;--font-size:20px;--line-height:1.95;--paragraph-gap:.9em;--text-width:720px;background:var(--paper);color:var(--ink)}:root[data-theme=white]{--paper:#fff;--ink:#303731;--muted:#667166;--line:#dce1db;--surface:#f3f5f1;--accent:#3e5d49}:root[data-theme=dark]{color-scheme:dark;--paper:#242824;--ink:#deded1;--muted:#b0b4a6;--line:#454d43;--surface:#2d342c;--accent:#bfd0ac}*{box-sizing:border-box}body{margin:0;background:var(--paper)}button,input{font:inherit}a{color:inherit}button{color:inherit;background:none;border:1px solid var(--line);cursor:pointer;min-height:44px;padding:9px 14px;border-radius:4px}button:hover{background:var(--surface)}button:disabled{opacity:.38;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button,a{-webkit-tap-highlight-color:transparent}.skip{position:fixed;top:-100px;left:16px;z-index:20;padding:14px;background:var(--paper)}.skip:focus{top:12px}.reader-masthead{max-width:1280px;margin:auto;padding:30px 48px;display:flex;align-items:center;justify-content:space-between;gap:24px}.wordmark{font:19px/1.4 Georgia,serif;letter-spacing:2px;text-decoration:none;color:var(--accent)}.wordmark small{display:block;margin-top:6px;font:14px/1.5 Songti SC,SimSun,serif;letter-spacing:6px}.reader-masthead nav{display:flex;gap:24px;font-size:14px;align-items:center}.reader-masthead nav a{text-decoration:none;padding:8px 0;color:var(--muted)}.reader-masthead nav a[aria-current]{color:var(--accent);border-bottom:1px solid var(--accent)}.reader-bar{position:sticky;top:0;z-index:5;background:var(--paper);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.bar-inner{max-width:1184px;margin:auto;display:flex;gap:12px;align-items:center;padding:9px 24px}.bar-inner button{border:0;font-size:14px;white-space:nowrap}.bar-inner #chapter-label{flex:1;color:var(--muted);font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.progress-track{height:2px;position:absolute;bottom:-1px;left:0;right:0}.progress-track div{height:100%;background:var(--accent);width:0}#reading-main{max-width:calc(var(--text-width) + 64px);padding:0 32px;margin:0 auto;min-height:55vh}#load-status{font-size:14px;color:var(--muted);padding:28px 0}#load-status:empty{display:none}#novel{padding:64px 0 36px;outline-offset:12px;font:var(--font-size)/var(--line-height) "Songti SC","Noto Serif CJK SC","Source Han Serif SC",SimSun,serif;overflow-wrap:anywhere;line-break:strict;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}#novel:focus{outline:none}#novel p{margin:0 0 var(--paragraph-gap);text-indent:2em;white-space:pre-wrap;-moz-tab-size:4;tab-size:4;scroll-margin-top:90px}#novel h1{font-family:inherit;font-weight:500;font-size:1.4em;line-height:1.65;margin:0 0 2.5em;letter-spacing:.07em;white-space:pre-wrap;scroll-margin-top:90px}#novel .center{text-align:center;text-indent:0}#novel .right{text-align:right;text-indent:0}#novel .scene-break{height:5.5em;margin:0;padding:0;border:0;pointer-events:none}#novel p.before-scene-break{margin-bottom:0}#novel[data-section=section-00]{min-height:50vh;display:flex;flex-direction:column;justify-content:center}#novel[data-section=section-00] p{font-size:1.1em;line-height:2.25;letter-spacing:.05em}#novel strong{font-weight:700}#novel em{font-style:italic}.chapter-pagination{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:32px 0 44px;border-top:1px solid var(--line);font-size:14px}.chapter-pagination span{color:var(--muted);font-size:13px}.reader-footer{max-width:1000px;margin:auto;padding:8px 32px 32px;color:var(--muted);font-size:13px;line-height:1.9;text-align:center}.reader-footer .reading-notice{max-width:580px;margin:0 auto 10px}.reader-footer>a{display:inline-block;min-height:44px;color:var(--accent);font-size:14px;text-underline-offset:4px;padding:8px}dialog{color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:28px;max-height:88vh;max-height:88dvh;width:min(460px,calc(100% - 32px));overflow-y:auto;overscroll-behavior:contain;box-shadow:0 16px 60px #15261526}dialog::backdrop{background:#17251d66}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.dialog-heading h2{font:26px Songti SC,SimSun,serif;font-weight:400;margin:8px 0 0}.dialog-heading button{font-size:26px;border:0;line-height:1}.overline{font:11px Georgia,serif;letter-spacing:2px;color:var(--muted)}.quiet{font-size:14px;color:var(--muted);line-height:1.8}#chapter-list{display:flex;flex-direction:column;gap:2px;margin-top:20px}#chapter-list a{text-decoration:none;font:17px/1.65 Songti SC,SimSun,serif;padding:12px 16px;border-left:2px solid transparent;border-radius:2px}#chapter-list a[aria-current]{background:var(--surface);border-left-color:var(--accent);color:var(--accent)}#chapter-list a:hover{background:var(--surface)}.range-label{display:flex;justify-content:space-between;margin:24px 0 6px;font-size:15px}.range-label output{font-size:14px;color:var(--muted)}input[type=range]{width:100%;min-height:30px;accent-color:var(--accent);cursor:pointer}fieldset{border:0;margin:24px 0;padding:0}legend{font-size:15px;margin-bottom:12px}.themes{display:flex;gap:10px}.themes button{flex:1}.themes button[aria-pressed=true]{outline:2px solid var(--accent);outline-offset:2px}.themes button[data-theme=paper]{background:#f4f0e5;color:#393e34}.themes button[data-theme=white]{background:#fff;color:#303731}.themes button[data-theme=dark]{background:#242824;color:#deded1}#reset-settings{font-size:14px;width:100%}.storage-hint{text-align:center;margin-bottom:0}[hidden]{display:none!important}@media (max-width:640px){.reader-masthead{padding:22px 20px;align-items:flex-start;gap:14px}.wordmark{font-size:14px;letter-spacing:1px}.wordmark small{font-size:13px;letter-spacing:4px}.reader-masthead nav{font-size:13px;gap:8px;flex-direction:column;align-items:flex-end}.reader-masthead nav a{padding:2px 0}.bar-inner{padding:6px 10px;gap:2px}.bar-inner button{padding:10px 8px}.bar-inner #chapter-label{font-size:13px}.bar-inner #settings-open span{display:none}#reading-main{padding:0 22px}#novel{padding-top:42px}#novel h1{font-size:1.25em;margin-bottom:2em}.chapter-pagination{gap:8px}.reader-footer{padding:4px 24px 28px}#toc-dialog{position:fixed;inset:0 auto 0 0;margin:0;width:min(340px,90vw);height:100%;height:100dvh;max-height:100%;border-radius:0;padding:24px 20px;padding-top:max(24px,env(safe-area-inset-top));padding-bottom:max(24px,env(safe-area-inset-bottom))}#settings-dialog{padding:22px}#resume{font-size:12px}}@media (prefers-reduced-motion:no-preference){button,a{transition:background-color .15s}}html{scrollbar-gutter:stable}html{overflow-anchor:none}
