:root{--bg:#f6f5f0;--paper:#fffef9;--ink:#273c32;--muted:#899087;--line:#e5e7df;--green:#345a48;--soft:#e8ece3;--read-bg:#f6f2e8;--read-ink:#343a31;--font:20px;--leading:1.95;color-scheme:light}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans CJK SC",sans-serif;font-size:14px}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{border:0;cursor:pointer;color:inherit;background:none;min-height:44px}button:disabled{opacity:.35;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #699b78;outline-offset:3px}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}h1,h2,h3,p{margin:0}.shelf{max-width:780px;margin:auto;padding:18px 24px 0}.topbar{display:flex;align-items:center;justify-content:space-between;height:54px}.brand{text-decoration:none;display:flex;gap:10px;align-items:center;color:var(--ink);font-size:24px;font-weight:650;letter-spacing:3px}.brand small{display:block;font-size:8px;letter-spacing:2px;font-weight:500;margin-top:1px;color:#8b9389}.brand-icon{display:grid;place-items:center;width:40px;height:44px;background:var(--green);border-radius:13px 13px 13px 3px;color:#e9e9d2}.brand-icon svg{width:25px;height:25px;stroke-width:1.3}.icon-button{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;flex-shrink:0}.icon-button:active{background:var(--soft)}.greeting{position:relative;isolation:isolate;margin:33px 0 28px;min-height:200px;padding-top:3px;overflow:hidden}.eyebrow{font-size:8px;letter-spacing:2.3px;color:#8a9487;font-weight:650}.greeting h1{font-family:"Noto Serif CJK SC","Songti SC",SimSun,serif;font-size:40px;font-weight:500;line-height:1.42;letter-spacing:3px;margin:13px 0 12px}.greeting h1 span{color:#6c8168}.subtitle{font-size:12px;color:#8a9085;letter-spacing:1px}.greeting-art{position:absolute;width:135px;height:180px;right:0;bottom:19px;z-index:-1}.sun{position:absolute;width:94px;height:94px;border-radius:50%;background:#e6e8d9;right:1px;top:5px}.vase{position:absolute;bottom:0;right:27px;width:48px;height:60px;border-radius:5px 5px 22px 22px;background:linear-gradient(100deg,#d5c4a7,#e4d7bf 60%,#c8b799);box-shadow:inset 3px 0 0 #eee4d142}.plant{position:absolute;background:#7b8e75;border-radius:0 90% 0 90%;width:28px;height:60px;transform-origin:bottom right;bottom:53px;right:50px}.plant:after{content:"";position:absolute;width:1px;background:#536f51;height:75px;transform:rotate(-19deg);right:1px;top:15px}.p1{transform:rotate(-32deg);bottom:61px;right:50px}.p2{transform:rotate(39deg) scale(.85);bottom:58px;right:45px;background:#98a58c}.p3{transform:rotate(-7deg) scale(.8);bottom:83px;right:38px;background:#5e7a60}.table-line{position:absolute;height:1px;width:135px;bottom:0;right:0;background:#d3d6c9}.continue-card{background:#e9ede3;border:1px solid #e0e5d9;border-radius:17px;padding:19px;display:flex;align-items:center;gap:17px;margin-bottom:30px;cursor:pointer}.continue-info{min-width:0;flex:1}.continue-label{font-size:10px;letter-spacing:1.8px;color:#7e8b75;margin-bottom:8px;display:flex;align-items:center;gap:6px}.continue-label:before{content:"";width:5px;height:5px;border-radius:50%;background:#73866b}.continue-info h3{font-size:17px;font-family:serif;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-bottom:7px}.continue-info p{font-size:10px;color:#85907c}.continue-line{height:3px;background:#d8dfcf;border-radius:3px;margin-top:12px;overflow:hidden}.continue-line span{display:block;background:#7b9270;height:100%}.continue-card>.icon-button{width:34px;height:34px;background:var(--green);color:#fff}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:8px}h2{font-size:22px;font-weight:600;letter-spacing:1px}.section-heading h2 span{font-size:12px;vertical-align:middle;background:#e9ece3;border-radius:8px;min-width:23px;padding:3px 7px;letter-spacing:0;color:#7d8a75;margin-left:5px}.section-heading p{font-size:10px;color:#999f93;margin-top:5px;letter-spacing:1.2px}.primary{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 17px;min-height:43px;background:var(--green);border-radius:11px;color:#f5f6ed;font-size:12px;white-space:nowrap}.primary svg{width:18px;height:18px}.primary:active{filter:brightness(.9)}.search-row{display:flex;align-items:center;gap:10px}.search{flex:1;display:flex;align-items:center;gap:9px;background:#eeeee7;border-radius:10px;padding:0 13px;height:43px;color:#959d90;min-width:0}.search svg{width:17px;height:17px}.search input{border:0;outline:0;background:transparent;color:var(--ink);min-width:0;width:100%;font-size:12px;height:43px}.search input::placeholder{color:#9ca295}.view-toggle{border-radius:10px;background:#eeeee7;width:43px}.view-toggle svg{width:19px;height:19px;stroke-width:1.4}.filter-row{display:flex;align-items:center;justify-content:space-between;margin:16px 0 21px;gap:6px}.tabs{display:flex;gap:19px}.tabs button{padding:0;font-size:12px;color:#949b8d;min-height:37px;position:relative;white-space:nowrap}.tabs button.active{color:var(--green);font-weight:600}.tabs .active:after{content:"";position:absolute;bottom:1px;left:calc(50% - 7px);width:14px;height:2px;background:var(--green);border-radius:2px}select{border:0;background:transparent;color:#92998c;font-size:10px;min-height:44px;max-width:100px}.books{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px 19px}.book-item{position:relative;min-width:0}.book-open{text-align:left;width:100%;padding:0;display:block}.cover{aspect-ratio:.71;position:relative;overflow:hidden;border-radius:3px 9px 9px 3px;padding:17px 12px;color:#f3f0dc;box-shadow:3px 6px 13px #273c3215,inset 4px 0 0 #ffffff12,inset 6px 0 0 #0000000c;background:#556a57;display:flex;flex-direction:column;isolation:isolate}.cover:after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,#fff1,transparent 30%,#00000008);pointer-events:none}.cover:before{content:"";position:absolute;z-index:-1;width:110%;aspect-ratio:1;border-radius:50%;bottom:-30%;left:25%;border:1px solid #c3d0a655;box-shadow:0 0 0 11px #c3d0a611,0 0 0 24px #c3d0a611,0 0 0 37px #c3d0a611,0 0 0 50px #c3d0a611}.cover-title{font-family:"Noto Serif CJK SC",SimSun,serif;font-size:21px;line-height:1.5;letter-spacing:2px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;font-weight:400;overflow-wrap:anywhere}.cover-label{font-size:5px;letter-spacing:1.6px;margin-top:8px;opacity:.55}.cover-author{margin-top:auto;font-size:7px;letter-spacing:1px;opacity:.7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-top:8px}.cover[data-palette="1"]{background:#c0ac8c;color:#453f34}.cover[data-palette="1"]:before{border-radius:50% 50% 0 0;left:17%;bottom:-7%;width:75%;height:60%;background:#e4dac433;box-shadow:0 0 0 12px #e4dac422,0 0 0 25px #e4dac422}.cover[data-palette="2"]{background:#677c85;color:#f0e8d8}.cover[data-palette="2"]:before{border-radius:0;transform:rotate(35deg);bottom:-35%;left:35%;background:#c5d2c122}.cover[data-palette="3"]{background:#9e6c58}.cover[data-palette="4"]{background:#555b72}.cover[data-palette="5"]{background:#a2ab8c;color:#364735}.book-title{font-size:12px;font-weight:550;line-height:1.6;margin-top:10px;padding-right:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.book-meta{font-size:9px;color:#979e90;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.book-status{font-size:8px;color:#78866d;margin-top:8px;display:flex;align-items:center;gap:5px}.book-status:before{content:"";width:4px;height:4px;border-radius:50%;background:#9fac91}.book-menu{position:absolute;right:-7px;bottom:-10px;width:35px;height:35px;min-height:35px;color:#9b9f94}.book-menu svg{width:17px;height:17px}.mini-cover{width:55px;min-width:55px;height:77px;padding:9px 7px;border-radius:2px 5px 5px 2px;aspect-ratio:auto}.mini-cover .cover-title{font-size:11px;letter-spacing:1px;-webkit-line-clamp:3}.mini-cover .cover-label,.mini-cover .cover-author{display:none}.books.list{grid-template-columns:1fr;gap:18px}.books.list .book-open{display:flex;gap:17px;align-items:center}.books.list .cover{width:75px;min-width:75px;height:106px;aspect-ratio:auto;padding:12px 9px}.books.list .cover-title{font-size:16px}.books.list .book-title{font-size:16px;max-width:calc(100vw - 190px);margin-top:0}.books.list .book-meta{font-size:11px;margin-top:8px}.books.list .book-status{font-size:10px;margin-top:12px}.books.list .book-menu{bottom:28px;right:0}.shelf-footer{text-align:center;padding:37px 0 25px;color:#a9ae9e;display:flex;align-items:center;justify-content:center;gap:6px;font-size:9px;letter-spacing:1.4px;flex-wrap:wrap}.shelf-footer svg{width:13px;height:13px}.shelf-footer small{display:block;width:100%;font-size:8px;margin-top:2px;color:#b1b6a8;letter-spacing:1px}.empty{text-align:center;padding:35px 8px}.empty-icon{width:67px;height:67px;border-radius:50%;display:grid;place-items:center;background:var(--soft);margin:0 auto 18px;color:#7e9575}.empty-icon svg{width:29px;height:29px}.empty h3{font-size:16px;font-weight:500;margin-bottom:10px}.empty p{font-size:11px;color:var(--muted);line-height:1.8}.empty button{margin-top:20px}.reader{position:fixed;inset:0;display:flex;flex-direction:column;background:var(--read-bg);color:var(--read-ink)}.reader-header{display:flex;align-items:center;gap:5px;padding:8px 13px;border-bottom:1px solid #8f97831b;flex-shrink:0;min-height:66px}.reader-header>div{flex:1;min-width:0;text-align:center}.reader-header strong{font-weight:500;font-size:13px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reader-header span{font-size:9px;opacity:.45;display:block;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reader-header .marked svg{fill:#6e886b55;color:#65805f}.reading-area{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:28px 25px 20px;scrollbar-width:none}.reading-area::-webkit-scrollbar{display:none}article{max-width:680px;margin:auto;font-size:var(--font);line-height:var(--leading);font-family:"Noto Serif CJK SC","Songti SC",SimSun,serif;overflow-wrap:anywhere;word-break:break-word}article h1{font-size:1.35em;font-weight:500;line-height:1.6;margin:8px 0 32px;letter-spacing:1px}article p{white-space:pre-wrap;text-indent:2em;margin:0 0 .9em;letter-spacing:.04em}article p.no-indent{text-indent:0}.chapter-navigation{display:flex;justify-content:space-between;max-width:680px;margin:35px auto 10px;gap:15px}.subtle{padding:0 17px;border:1px solid #8a958533;border-radius:11px;font-size:12px}.end-note{text-align:center;font-size:10px;opacity:.45;padding:12px 0 20px}.reader-progress{display:flex;justify-content:space-between;opacity:.5;font-size:9px;padding:8px 25px;letter-spacing:.8px;flex-shrink:0}.reader-toolbar{display:flex;border-top:1px solid #8f978326;padding:6px 10px 9px;flex-shrink:0}.reader-toolbar button{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:48px}.reader-toolbar svg{width:20px;height:20px}.reader-toolbar button>span:last-child{font-size:9px;opacity:.65}.type-icon{font:21px Georgia,serif;height:22px}.overlay{position:fixed;inset:0;background:#15271e65;z-index:10;display:flex;align-items:flex-end;justify-content:center;backdrop-filter:blur(3px)}.sheet{width:100%;max-width:780px;max-height:82%;display:flex;flex-direction:column;border-radius:24px 24px 0 0;background:var(--bg);padding:10px 24px 28px;color:var(--ink);box-shadow:0 -10px 60px #0001;animation:slide .2s ease-out}.sheet-handle{width:31px;height:4px;background:#d9ded3;border-radius:3px;margin:0 auto 8px}.sheet-heading{display:flex;justify-content:space-between;align-items:center;flex-shrink:0;margin-bottom:12px}.sheet-heading h2{font-size:19px}.sheet-heading button{margin-right:-10px}#sheetBody{overflow:auto;overscroll-behavior:contain}.sheet p{font-size:13px;color:#7e897b;line-height:1.95}.sheet .sheet-caption{font-size:10px;color:#96a08f;margin:0 0 17px}.sheet-row{display:flex;align-items:center;gap:10px;padding:15px 0;border-bottom:1px solid var(--line);width:100%;text-align:left;font-size:13px;line-height:1.7}.sheet-row .number{font:10px Georgia,serif;color:#a6af9c;min-width:27px}.sheet-row.active{color:var(--green);font-weight:650}.sheet-row span:last-child{overflow-wrap:anywhere}.settings-row{display:flex;align-items:center;justify-content:space-between;margin:15px 0 23px;font-size:13px;gap:14px}.stepper{display:flex;align-items:center;gap:16px}.stepper button{border:1px solid var(--line);border-radius:10px;width:44px;font-size:19px}.stepper output{min-width:25px;text-align:center;font-size:13px;color:#7e897b}.themes{display:flex;gap:10px;margin:13px 0 25px}.theme-chip{height:67px;min-height:67px;border:1px solid #a6ae9e55;border-radius:13px;flex:1;display:flex;flex-direction:column;gap:7px;align-items:center;justify-content:center;font-size:10px}.theme-chip>span{font:19px Georgia,serif}.theme-chip.selected{outline:2px solid #5d7a56;outline-offset:2px}.settings-row input[type="range"]{accent-color:var(--green);min-width:0;flex:1;max-width:180px}.danger{color:#ad6252}.sheet-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:23px}.bookmark-row{display:flex;align-items:center;border-bottom:1px solid var(--line)}.bookmark-row>.sheet-row{border:0;flex:1;min-width:0}.bookmark-row>.icon-button{color:#9aa38f}.about-logo{display:flex;align-items:center;gap:14px;font-size:30px;letter-spacing:4px;margin:8px 0 22px}.about-logo small{font-size:10px;color:#99a28f;letter-spacing:1px}.about-note{background:var(--soft);padding:15px;border-radius:12px;margin:18px 0}.toast{position:fixed;bottom:95px;left:50%;transform:translateX(-50%);background:#263c32ed;color:#f8f8ef;padding:13px 19px;max-width:88vw;width:max-content;border-radius:13px;z-index:30;font-size:12px;line-height:1.7;box-shadow:0 7px 25px #0002;text-align:center}.loading{position:fixed;inset:0;display:grid;place-items:center;background:#f6f5f0eF;z-index:40;text-align:center}.loading p{margin:22px 0 10px;font-size:15px}.loading small{color:var(--muted);font-size:11px}.spinner{display:inline-block;width:29px;height:29px;border-radius:50%;border:2px solid #d9e0d1;border-top-color:var(--green);animation:spin .8s linear infinite}body.night{--bg:#202823;--paper:#202823;--ink:#d1d9c9;--muted:#81907e;--line:#354033;--green:#8ca383;--soft:#2e392d;color-scheme:dark}body.night .primary{background:#6f8668;color:#eef3e9}body.night .reader{--read-bg:#202823;--read-ink:#bfc9b8}body.night .toast{background:#dde5d6;color:#253426}@keyframes spin{to{transform:rotate(360deg)}}@keyframes slide{from{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}@media(min-width:600px){.shelf{padding:26px 42px 0}.greeting{margin:40px 0 35px}.greeting h1{font-size:48px}.greeting-art{right:30px;width:180px;transform:scale(1.2);transform-origin:bottom}.books{grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}.cover{padding:23px 15px}.cover-title{font-size:24px}.reading-area{padding:35px 45px 20px}.cover-label{font-size:6px}}@media(max-width:350px){.shelf{padding-left:18px;padding-right:18px}.greeting h1{font-size:35px}.greeting-art{right:-18px;opacity:.7}.books{gap:21px 13px}.cover{padding:13px 9px}.cover-title{font-size:18px}.tabs{gap:15px}.section-heading h2{font-size:20px}.primary{padding:0 13px}.reading-area{padding-left:20px;padding-right:20px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}
