:root{color-scheme:light;--ink:#282b27;--muted:#6d756b;--line:#dddcd3;--paper:#faf9f5;--accent:#275a45;--wash:#eaf0e9;--serif:Georgia,'Noto Serif CJK SC','Songti SC','Writer CJK',serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.6 system-ui,-apple-system,'Segoe UI','Writer CJK',sans-serif}header{height:86px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(28px,calc((100vw - 1200px)/2))}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:var(--ink);font:600 23px var(--serif)}.mark{background:var(--accent);color:white;padding:5px 11px;border-radius:4px;font-size:23px}.account{display:flex;align-items:center;gap:18px;font-size:14px}main{max-width:1200px;margin:auto;padding:0 28px 70px;min-height:calc(100vh - 157px)}nav{display:flex;gap:10px;align-items:center;padding:24px 0;border-bottom:1px solid var(--line);margin-bottom:38px}.nav-note{margin-left:auto;color:var(--muted);font-size:12px}h1{font:400 clamp(28px,3vw,40px)/1.3 var(--serif);letter-spacing:-.5px;margin:8px 0 12px}h2{font:500 25px/1.5 var(--serif);margin:0 0 18px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:2px;color:var(--accent);margin:0}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:20px 0 30px}.actions{display:flex;gap:10px;flex-wrap:wrap}button,select,input,textarea{font:inherit}button{cursor:pointer;background:transparent;border:1px solid #c9cbbf;padding:10px 17px;border-radius:5px;color:var(--ink);line-height:1.4}button:hover{background:#efeee6;border-color:#7b8b78}button:disabled{cursor:wait;opacity:.5}button.primary{background:var(--accent);border-color:var(--accent);color:white}button.primary:hover{background:#1c4333}.active{background:var(--wash);border-color:#8ba58a;color:var(--accent)}.quiet,.back{border:0;padding-left:0}.back{color:var(--muted);margin-bottom:6px}.muted{color:var(--muted);font-size:13px}.book-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.book-card{border:1px solid var(--line);border-radius:8px;background:#fff;overflow:hidden;display:flex;flex-direction:column}.book-cover{height:102px;background:#e7e9df;padding:22px 24px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #d9ddcf;color:#526448;font:28px var(--serif)}.book-cover .book-spine{font-size:11px;letter-spacing:3px;writing-mode:vertical-rl}.book-card:nth-child(3n+2) .book-cover{background:#f0e6d8;color:#936b46}.book-card:nth-child(3n+3) .book-cover{background:#e2e8e8;color:#4e6f73}.book-body{padding:24px;flex:1;display:flex;flex-direction:column}.book-body h2{flex:1;font-size:22px}.book-body button{width:100%;margin-top:18px}.book-meta{font-size:12px;color:var(--muted)}.toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:22px 0}.toolbar label{display:flex;gap:10px;align-items:center}.toolbar select{width:auto;max-width:290px}.chapter-list{border-top:1px solid var(--line)}.chapter-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:21px 0;border-bottom:1px solid var(--line)}.chapter-row strong{font:500 20px var(--serif)}.chapter-row small{display:block;margin-top:6px;color:var(--muted)}.badge{font-size:12px;background:var(--wash);color:var(--accent);padding:5px 11px;border-radius:20px;white-space:nowrap}.pager{display:flex;gap:16px;align-items:center;justify-content:flex-end;margin-top:26px;font-size:13px}.pager button{font-size:13px}label{display:block;font-weight:550;margin-bottom:8px}input,textarea,select{display:block;width:100%;border:1px solid #cbcec3;border-radius:5px;background:#fff;color:var(--ink);padding:12px 14px;outline:none}input:focus,textarea:focus,select:focus{border-color:var(--accent);box-shadow:0 0 0 3px #275a4514}input{margin-bottom:24px}textarea{resize:vertical;line-height:1.85;margin-bottom:12px}#chapter-title{font:500 24px/1.5 var(--serif)}#chapter-text{min-height:480px;padding:26px;font:18px/2 var(--serif)}.editor-footer{display:flex;justify-content:space-between;gap:16px}.editor-options{margin-top:28px}.publish-bar{border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:28px;padding-top:22px}.publish-bar p{font-size:13px;color:var(--muted);max-width:500px}.book-form{max-width:720px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:24px}.two-col select{margin-top:8px}.book-form textarea{margin-bottom:24px}#notice{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);width:min(850px,calc(100vw - 36px));background:#203c30;color:#fff;padding:17px 22px;border-radius:7px;box-shadow:0 6px 28px #0002;z-index:5;white-space:pre-wrap}#notice.error{background:#783e35}.welcome{padding:100px 0;max-width:720px}.welcome h1{font-size:52px}.empty{padding:40px 0;color:var(--muted)}.history-item{padding:18px 0;border-bottom:1px solid var(--line)}.history-item summary{cursor:pointer}.history-item pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.7 ui-monospace,monospace;max-height:350px;overflow:auto;background:#efeee8;padding:18px}footer{border-top:1px solid var(--line);padding:22px max(28px,calc((100vw - 1144px)/2));font-size:12px;color:var(--muted);display:flex;justify-content:space-between}[hidden]{display:none!important}@media(max-width:850px){.book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.section-heading{align-items:flex-start;flex-direction:column}.publish-bar{align-items:flex-start;flex-direction:column}.editor-footer{flex-direction:column;gap:0}}@media(max-width:540px){.book-grid{grid-template-columns:1fr}header{padding:0 20px}.brand{font-size:19px}.account{font-size:12px}main{padding:0 18px 70px}.nav-note{display:none}.two-col{grid-template-columns:1fr}.toolbar{align-items:flex-start}.chapter-row{align-items:flex-start}.chapter-row strong{font-size:18px}#chapter-text{padding:16px;font-size:17px}.welcome h1{font-size:40px}footer span{display:none}.pager{justify-content:space-between;gap:6px}}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.search-form{display:flex;gap:12px;margin:30px 0 18px;max-width:920px}.search-form input{margin:0;min-width:0;font-size:17px}.search-form button{white-space:nowrap}.open-id{color:var(--muted);font-size:13px;margin-bottom:38px}.open-id summary{cursor:pointer}.open-id form{margin-top:16px;max-width:600px}.open-id input{margin:0;width:320px}.abstract{font-size:13px;line-height:1.8;color:var(--muted);display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.book-summary{white-space:pre-line;max-width:850px;line-height:1.9;margin:25px 0}.jump-form{display:flex;align-items:center;gap:10px;font-size:13px}.jump-form input{width:95px;margin:0}.jump-form label{margin:0}.reader-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding-bottom:18px}.reader-toolbar label{display:flex;align-items:center;gap:10px;font-size:12px;white-space:nowrap;margin:0}.reader-toolbar select{width:auto;padding:6px}.reading-page{max-width:790px;margin:60px auto 40px}.reading-page h1{font-size:32px;margin-bottom:44px}.prose{font-family:Georgia,'Songti SC','Writer CJK',serif;line-height:2.15;color:#30362e}.prose p{text-indent:2em;margin:1em 0;overflow-wrap:anywhere}.prose.small{font-size:18px}.prose.medium{font-size:21px}.prose.large{font-size:25px}.reader-nav{max-width:790px;margin:50px auto;display:flex;justify-content:space-between;gap:14px}.download-link{display:inline-block;padding:12px 18px;background:var(--accent);color:#fff;border-radius:5px;text-decoration:none;margin:15px 0}.book-body .quiet{margin-top:0;font-size:12px}.book-body .abstract{flex:1}.book-body h2{flex:initial}#export-result{padding:20px 0}#chapter-text{padding:0;min-height:0}#chapter-title{font-family:var(--serif)}@media(max-width:600px){.search-form{flex-direction:column}.jump-form{flex-wrap:wrap}.reader-toolbar{flex-wrap:wrap}.reading-page{margin-top:35px}.reading-page h1{font-size:26px}.prose.medium{font-size:19px}.prose.large{font-size:23px}.reader-nav button{font-size:13px}.open-id input{width:100%}}

#chapter-text.prose{font-family:Georgia,"Writer CJK",serif;line-height:2.15}#chapter-text.small{font-size:18px}#chapter-text.medium{font-size:21px}#chapter-text.large{font-size:25px}@media(max-width:600px){#chapter-text.medium{font-size:19px}#chapter-text.large{font-size:23px}}
.feed-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0}.feed-section{margin:32px 0}.book-metrics{font-size:13px;color:var(--accent);line-height:1.8}.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px;margin:28px 0}.stat{padding:17px;background:var(--wash);border-radius:7px;overflow-wrap:anywhere}.stat small{display:block;color:var(--muted);font-size:12px}.stat strong{display:block;font-size:19px;margin-top:7px;font-weight:600}.book-tabs{border-top:1px solid var(--line);padding-top:28px;margin-top:35px}.review-card{padding:24px 0;border-bottom:1px solid var(--line)}.review-heading{display:flex;gap:14px;align-items:center}.review-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.95}.replies{margin-left:20px;border-left:2px solid var(--line);padding-left:20px}.replies:empty{display:none}.reply-card{font-size:14px}.review-card summary{cursor:pointer;color:var(--accent)}#reviews-panel{max-width:900px}@media(max-width:540px){nav{gap:5px;flex-wrap:wrap}nav button{padding:9px 12px}.feed-tabs button{padding:10px 13px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.replies{margin-left:5px;padding-left:12px}}
