:root{--paper:#f4f1e9;--ink:#303a32;--muted:#7a7e72;--line:#d9dbcf;--green:#536249;--white:#fffef9;--accent:#b5b899}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.75 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft Yahei",sans-serif}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer;border:1px solid var(--line);border-radius:5px;background:var(--white);padding:10px 16px;color:var(--ink)}button:hover{background:#e9ecdf}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--green);outline-offset:4px}button.primary{background:var(--green);color:white;border-color:var(--green)}button:disabled{opacity:.5;cursor:wait}header{max-width:1280px;margin:auto;padding:24px 40px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);gap:16px}.brand{display:flex;align-items:center;gap:12px;font-size:11px;line-height:1.5;letter-spacing:2px}.brand b{font-size:14px;font-weight:500}.mark{border:1px solid var(--green);border-radius:50%;width:42px;height:42px;display:grid;place-items:center;font-family:serif;font-size:24px;transform:rotate(-10deg)}.header-note{color:var(--muted);font-size:11px;letter-spacing:4px}.quiet{background:transparent;border-color:transparent;font-size:12px}main{max-width:1200px;margin:auto;min-height:75vh;padding:42px 40px}footer{max-width:1200px;margin:20px auto 0;border-top:1px solid var(--line);padding:24px 40px;color:var(--muted);font-size:10px;letter-spacing:1px;display:flex;justify-content:space-between;gap:20px}.eyebrow{font-size:10px;letter-spacing:3px;color:var(--muted);text-transform:uppercase}.hero{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center;min-height:640px}.hero h1{font-family:Georgia,"Songti SC","SimSun",serif;font-size:clamp(36px,4.5vw,62px);font-weight:400;line-height:1.35;letter-spacing:4px;margin:25px 0}.hero p{max-width:360px;color:var(--muted);line-height:2.2}.hero .primary{margin:24px 0;padding:14px 28px}.hero .footnote{font-size:11px;margin-top:26px}.hero-art{position:relative;min-height:450px;display:grid;place-items:center;background:radial-gradient(ellipse,#dedfd0,transparent 70%)}.bigbook{width:300px;height:400px;transform:rotate(7deg);border-radius:3px 10px 10px 3px;background:#e4e5d8;border-left:16px solid #b9bfa8;box-shadow:18px 22px 35px #39402b22,3px 3px 0 #f8f8f2,6px 6px 0 #cdd1c0;padding:40px 28px;position:relative}.bigbook:before{content:'';position:absolute;inset:14px;border:1px solid #aab295;pointer-events:none}.bigbook h2{font-family:serif;font-weight:400;font-size:35px;letter-spacing:5px;line-height:1.6;margin:22px 0}.bigbook .stamp{border:1px solid #78836b;border-radius:50%;width:70px;height:70px;display:grid;place-items:center;font:32px serif;margin:25px 0}.margin-note{position:absolute;bottom:0;right:12px;font-size:10px;color:var(--muted);letter-spacing:2px}.shelf-layout{display:grid;grid-template-columns:185px 1fr;gap:45px}.sidebar{border-right:1px solid var(--line);padding-right:22px}.sidebar h3,#drawer h3{font-size:11px;letter-spacing:2px;color:var(--muted);margin:25px 0 12px}.topic{display:flex;justify-content:space-between;width:100%;background:transparent;border:0;text-align:left;font-size:13px;padding:10px;margin:3px 0}.topic.active{background:#e1e5d5;color:#34452b}.topic span{font-size:11px;color:var(--muted)}.page-title{font-family:serif;font-weight:400;letter-spacing:2px;font-size:32px;margin:8px 0}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:20px 0}.search{width:100%;background:transparent;border:0;border-bottom:1px solid var(--line);padding:12px 0;font-size:13px;border-radius:0}.mobile-menu{display:none}.count{font-size:11px;color:var(--muted)}.filter{background:#e6e8dc;padding:10px 14px;display:flex;justify-content:space-between;align-items:center;margin:16px 0;font-size:12px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}.book{min-width:0}.book-cover{height:290px;background:#e8e8df;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;padding:24px;border-radius:2px;transition:transform .2s}.book:hover .book-cover{transform:translateY(-4px)}.book-cover.warm{background:#e9dfcc}.mini-book{height:230px;width:165px;max-width:100%;padding:24px 20px;background:#cdd1c4;box-shadow:8px 10px 14px #3333;border-left:8px solid #a6ad9c;display:flex;flex-direction:column;justify-content:space-between;transform:rotate(-4deg)}.warm .mini-book{background:#e5c99d;border-left-color:#c4a679;transform:rotate(5deg)}.mini-book b{font-family:serif;font-size:24px;font-weight:400;letter-spacing:3px;line-height:1.6}.mini-book small{font-size:9px;letter-spacing:2px}.cover-caption{position:absolute;bottom:10px;right:12px;font-size:10px;color:#626658}.book-cover img{width:100%;height:100%;object-fit:contain}.book h3{font-family:serif;font-size:20px;font-weight:400;margin:17px 0 5px;overflow-wrap:anywhere}.tags{font-size:10px;color:var(--muted);letter-spacing:1px}.book p{font-size:12px;color:var(--muted);line-height:1.9;margin:9px 0}.status{display:inline-block;font-size:10px;border:1px solid var(--line);padding:2px 7px;border-radius:20px}.matches{margin:12px 0;border-top:1px solid var(--line);padding-top:8px}.matches a{display:block;font-size:12px;padding:5px 0}.matches small{display:block;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.empty{padding:50px 20px;border:1px dashed var(--line);text-align:center;color:var(--muted)}.reader-head{max-width:800px;margin-bottom:30px}.reader-head h1{font:36px/1.5 serif;margin:15px 0}.reader-head p{color:var(--muted);font-size:13px}.reader-layout{display:grid;grid-template-columns:240px 1fr;gap:45px}.chapter-nav a{display:block;padding:11px 14px;border-bottom:1px solid var(--line);font-size:13px}.chapter-nav a.active{background:#e2e6d7}.reading{background:var(--white);padding:32px;border:1px solid var(--line);min-width:0}.reading h2{font:26px serif;margin:10px 0 20px}.metadata{font-size:10px;color:var(--muted);overflow-wrap:anywhere}.prose{white-space:pre-wrap;overflow-wrap:anywhere;line-height:2.1;font-size:14px}.prose h3{font-size:19px;white-space:normal}.prose h4{font-size:16px;white-space:normal}.prose p{margin:12px 0}.evidence{border-top:1px solid var(--line);margin-top:25px;padding-top:16px}.assets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}.asset{background:#eee;padding:10px;text-align:left}.asset img{width:100%;height:130px;object-fit:contain}.asset small{display:block;font-size:10px;overflow-wrap:anywhere}.actions{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.actions button{font-size:12px}dialog{border:1px solid var(--line);border-radius:8px;padding:35px;max-width:700px;width:calc(100% - 32px);max-height:90dvh;background:var(--paper);color:var(--ink)}dialog::backdrop{background:#222a2366;backdrop-filter:blur(3px)}dialog h2{font:26px serif;margin:0 0 24px}.close{position:absolute;right:9px;top:8px;border:0;background:transparent;font-size:22px;padding:0 10px}label{display:block;font-size:12px;margin:12px 0 5px}input:not([type=checkbox]),textarea,select{width:100%;padding:10px;border:1px solid var(--line);background:var(--white);color:var(--ink);border-radius:4px;min-width:0}textarea{min-height:220px;resize:vertical;line-height:1.8}.checkboxes{display:flex;flex-wrap:wrap;gap:0 12px}.checkboxes label{display:flex;gap:5px}.help{font-size:11px;color:var(--muted)}.error{color:#9b4033;font-size:12px;white-space:pre-wrap}.original{max-width:100%;height:auto}.frame{position:relative}.frame img{display:block;width:100%}#drawer{margin:0;height:100dvh;max-height:100dvh;width:280px;border-radius:0;padding:40px 24px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:10px 20px;border-radius:5px;font-size:12px;display:none;z-index:10;max-width:90vw}.badge-line{display:flex;justify-content:space-between;gap:10px;align-items:center}.muted{color:var(--muted)}@media(max-width:800px){header{padding:18px 24px}.header-note{display:none}main{padding:30px 24px}.hero{gap:30px;min-height:auto}.hero-art{min-height:340px}.bigbook{width:220px;height:310px;padding:25px 20px}.bigbook h2{font-size:25px;margin:16px 0}.bigbook .stamp{height:50px;width:50px;font-size:24px;margin:15px 0}.shelf-layout{grid-template-columns:1fr}.sidebar{display:none}.mobile-menu{display:inline-block}.reader-layout{grid-template-columns:1fr;gap:20px}.chapter-nav{display:flex;gap:8px;overflow:auto;padding-bottom:10px}.chapter-nav a{flex-shrink:0;border:1px solid var(--line);border-radius:4px;padding:8px 12px}.book-cover{height:250px}.mini-book{height:200px;width:145px}.mini-book b{font-size:20px}.reading{padding:24px}footer{padding:20px 24px}}@media(max-width:520px){header{padding:16px 20px}.brand{font-size:9px}.brand b{font-size:12px}.mark{height:34px;width:34px;font-size:20px}main{padding:26px 20px}.hero{display:flex;flex-direction:column;gap:8px;align-items:stretch}.hero h1{font-size:39px;line-height:1.4;margin:20px 0 16px}.hero p{font-size:13px;line-height:2}.hero .primary{margin:15px 0}.hero .footnote{margin-top:10px}.hero-art{min-height:340px}.bigbook{transform:rotate(6deg);width:210px;height:280px}.bigbook h2{font-size:24px}.bigbook .stamp{margin:10px 0}.grid{gap:24px 16px}.book-cover{height:210px;padding:18px 12px}.mini-book{width:125px;height:166px;border-left-width:6px;padding:18px 12px}.mini-book b{font-size:18px;letter-spacing:2px}.mini-book small{font-size:8px;letter-spacing:1px}.book h3{font-size:17px}.book p{font-size:11px}.book .tags{font-size:9px}.cover-caption{font-size:8px;bottom:6px;right:8px}.page-title{font-size:28px}.toolbar{gap:8px}.toolbar button{padding:8px 10px;font-size:11px}.reader-head h1{font-size:28px}.reading{padding:20px 16px}.reading h2{font-size:23px}.assets{gap:10px}.asset img{height:100px}dialog{padding:30px 20px}.badge-line{align-items:flex-start;flex-direction:column}footer{font-size:9px;padding:20px;flex-direction:column;gap:4px}.margin-note{right:0}}@media(max-width:350px){.grid{grid-template-columns:1fr}.book-cover{height:260px}.mini-book{height:210px;width:150px}}

.region-overlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.region-overlay rect{fill:#dba24c22;stroke:#c26432;stroke-width:.006}
