:root{color-scheme:light;--paper:#f5f4ef;--ink:#27332e;--muted:#7a8079;--line:#dedfd6;--green:#315849;--canvas:#e9e8e1;--panel:#fffef9;--accent:#d8a352;--shadow:0 12px 36px #25352b0a;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink)}a{color:inherit;text-decoration:none}button,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.35}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #d7a65c;outline-offset:4px}[hidden]{display:none!important}.site-header{height:92px;max-width:1280px;margin:auto;padding:0 48px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:13px;font-size:23px;font-weight:700;letter-spacing:-.8px}.brand-icon{width:35px;height:35px;display:inline-flex;align-items:center;justify-content:center;position:relative;border:1.5px solid var(--green);border-radius:9px;color:var(--green);font-family:Georgia,serif;font-weight:400;font-size:27px}.brand-icon>span{position:absolute;right:1px;bottom:-5px;font-size:13px;background:var(--paper);padding:0 2px}.brand-sub{font-size:13px;font-weight:400;letter-spacing:2px;color:var(--muted);margin-left:14px}.header-right{display:flex;align-items:center;gap:22px}.demo-badge{display:flex;align-items:center;gap:7px;font-size:11px;letter-spacing:.6px;color:var(--green)}.demo-badge i,.reader-label i{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--green)}.icon-button{background:none;border:1px solid var(--line);color:var(--ink);border-radius:50%;width:36px;height:36px;font-size:22px}.icon-button:hover{background:var(--canvas)}main{max-width:1184px;margin:auto;padding:45px 32px 0}.book-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:31px}.eyebrow{font-size:10px;font-weight:500;letter-spacing:1.4px;color:var(--muted);margin:0 0 14px}.eyebrow span{margin:0 13px;color:#a8ada3}h1{font-size:36px;font-weight:600;line-height:1.3;letter-spacing:1px;margin:0 0 13px;display:flex;align-items:center;gap:19px}.chapter-tag{font-size:12px;color:var(--green);background:#e4e9df;border-radius:5px;letter-spacing:.4px;padding:6px 10px;font-weight:400}.book-meta{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:12px;margin:0}.book-meta>span:not(#total-description){color:#b6baaf}.source-link{font-size:11px;color:var(--muted);padding:12px 0}.source-link>span{margin-left:9px;font-size:17px}.source-link:hover{color:var(--green)}.notice{font-size:12px;line-height:1.7;background:#f5ecd9;color:#705b32;border:1px solid #e6d9bc;border-radius:6px;padding:12px 15px;margin:0 0 20px}.reader-layout{display:grid;grid-template-columns:225px minmax(0,1fr);gap:44px;align-items:start}.reading-note{padding:30px 0;position:sticky;top:30px}.note-mark{display:block;color:#dbdfd2;font-family:Georgia,serif;font-size:62px;font-style:italic;line-height:1;letter-spacing:-3px;margin-bottom:25px}.reading-note h2{font-size:26px;line-height:1.65;letter-spacing:2px;font-weight:400;margin:0 0 18px}.reading-note>p:not(.eyebrow){font-size:11px;line-height:2.1;color:var(--muted)}.note-divider{width:33px;height:1px;background:var(--line);margin:27px 0 20px}.note-small{line-height:2.2!important}.chapter-summary{display:flex;flex-direction:column;align-items:start;gap:10px;margin-top:36px;border-left:2px solid var(--accent);padding:1px 0 2px 15px;font-size:10px;color:var(--muted)}.chapter-summary strong{color:var(--ink);font-weight:500;font-size:14px}.local-note{font-size:10px!important;margin-top:25px}.reader-column{min-width:0;box-shadow:var(--shadow);border:1px solid #d6d9cf;border-radius:9px;background:var(--panel);overflow:hidden}.reader-top{height:43px;display:flex;align-items:center;justify-content:space-between;padding:0 21px;border-bottom:1px solid var(--line);font-size:11px;color:var(--muted)}.reader-label{display:flex;align-items:center;gap:8px;font-size:10px;letter-spacing:1px}.reader-label i{width:4px;height:4px}.stage{min-height:440px;background:var(--canvas);position:relative;display:flex;align-items:center;justify-content:center;touch-action:pan-y pinch-zoom;padding:20px;overflow:hidden}.stage img{display:block;max-width:100%;width:auto;height:auto;max-height:calc(100svh - 175px);object-fit:contain;box-shadow:0 4px 20px #131e1712;background:white}.loading{min-height:400px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;font-size:12px;color:var(--muted);width:100%}.spinner{width:24px;height:24px;border:2px solid #bec7ba;border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.reader-navigation{height:73px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 21px;border-top:1px solid var(--line)}.nav-button{min-width:108px;min-height:42px;padding:10px 16px;display:flex;align-items:center;justify-content:center;gap:18px;border:1px solid var(--line);background:transparent;border-radius:5px;color:var(--ink);font-size:12px}.nav-button:hover:not(:disabled){border-color:var(--green);background:#eef0e8}.next-button{background:var(--green);border-color:var(--green);color:#fffef5}.next-button:hover:not(:disabled){background:#234437;color:#fffef5}.page-control{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--muted);white-space:nowrap}.page-control select{min-height:44px;border:0;background:transparent;color:var(--ink);font-size:13px;padding:8px 16px 8px 5px;max-width:95px;cursor:pointer}.reader-status{padding:0 21px 15px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;color:var(--muted)}.text-button{color:var(--muted);background:none;border:0;padding:8px 0;font-size:10px;min-height:32px}.text-button:hover{color:var(--green)}.error-panel{padding:30px 20px;min-height:400px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;max-width:460px}.error-symbol{border:1px solid #b4baab;color:var(--muted);border-radius:50%;width:32px;height:32px;line-height:30px;font-family:Georgia,serif;font-size:20px}.error-panel h2{font-size:18px;font-weight:500;margin:20px 0 12px}.error-panel p{font-size:12px;line-height:1.9;margin:0 0 22px;color:var(--muted);overflow-wrap:anywhere}.primary-button{background:var(--green);border:0;border-radius:5px;min-height:44px;padding:10px 25px;color:white;font-size:12px}.error-panel a{font-size:11px;color:var(--muted);margin-top:19px;text-decoration:underline;text-underline-offset:4px}footer{max-width:1184px;display:flex;justify-content:space-between;gap:20px;margin:45px auto 0;padding:24px 32px 32px;border-top:1px solid var(--line);font-size:9px;color:var(--muted);letter-spacing:.3px}.footer-dot{margin:0 12px;color:#b0b6a7}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}body[data-theme=dark]{--paper:#202822;--ink:#e2e5dc;--muted:#a4ad9d;--line:#3a443b;--green:#88ae91;--canvas:#131916;--panel:#242e27;--shadow:none;color-scheme:dark}body[data-theme=dark] .chapter-tag{background:#35443a}body[data-theme=dark] .note-mark{color:#475444}body[data-theme=dark] .next-button,body[data-theme=dark] .primary-button{background:#547a60;color:#fff}body[data-theme=dark] .nav-button:hover:not(:disabled){background:#35443a}body[data-theme=dark] .notice{background:#3b3525;color:#dfd1ad;border-color:#5c5037}@media(min-width:1600px){.stage img{max-height:900px}}@media(max-width:900px){.reading-note{display:none}.reader-layout{grid-template-columns:1fr}.site-header{padding:0 30px;height:76px}main{padding-top:30px}.book-heading{margin-bottom:25px}.stage{min-height:380px}.stage img{max-height:calc(100svh - 190px)}footer{margin-top:30px}}@media(max-width:520px){.site-header{height:65px;padding:0 18px}.brand{font-size:20px;gap:10px}.brand-icon{width:29px;height:29px;font-size:23px;border-radius:7px}.brand-sub{font-size:11px;margin-left:10px}.header-right{gap:14px}.demo-badge{font-size:10px}.icon-button{width:33px;height:33px}main{padding:25px 12px 0}.book-heading{padding:0 6px;align-items:flex-end;gap:12px;margin-bottom:22px}.eyebrow{font-size:8px;letter-spacing:.8px;margin-bottom:12px}.eyebrow span{margin:0 6px}h1{font-size:28px;gap:11px;margin-bottom:11px;letter-spacing:.5px}.chapter-tag{font-size:10px;padding:5px 8px}.book-meta{font-size:9px;gap:7px;flex-wrap:wrap;line-height:1.8}.source-link{font-size:10px;white-space:nowrap;padding:0 0 3px}.source-link>span{margin-left:3px;font-size:14px}.reader-column{border-radius:7px;overflow:visible}.reader-top{height:38px;padding:0 13px;border-radius:7px 7px 0 0}.stage{padding:8px;min-height:340px;overflow:hidden}.stage img{max-height:calc(100svh - 165px);width:100%;object-fit:contain}.loading,.error-panel{min-height:340px}.reader-navigation{position:sticky;bottom:0;z-index:2;background:var(--panel);height:auto;min-height:71px;padding:10px 12px max(10px,env(safe-area-inset-bottom));gap:6px;border-radius:0 0 7px 7px}.nav-button{min-width:100px;min-height:44px;padding:10px 12px;gap:10px;font-size:12px}.page-control{gap:3px;font-size:11px}.page-control select{max-width:76px;font-size:12px;padding-right:6px}.reader-status{padding:0 13px 8px;font-size:9px;gap:8px;min-height:38px}.text-button{font-size:9px;white-space:nowrap}.notice{font-size:11px;margin-bottom:15px;padding:10px 12px}.error-panel{padding:25px 12px}.error-panel h2{font-size:17px}.error-panel p{font-size:11px}footer{padding:18px 18px 22px;margin-top:25px;font-size:8px;line-height:1.8;flex-wrap:wrap;gap:3px}.footer-dot{margin:0 6px}}@media(prefers-reduced-motion:reduce){.spinner{animation:none;border-style:dotted}}
