:root{font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;color:#18332e;background:#f3f6f5;font-synthesis:none;--green:#087d65;--line:#dde5e1;--muted:#6d7f79;--header:82px;--footer:82px}*{box-sizing:border-box;letter-spacing:0}body{margin:0;height:100vh;height:100dvh;overflow:hidden}button,input,a{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button,input{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button{border:0;background:none;color:inherit}button:disabled{opacity:.25;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #d37a44;outline-offset:3px}.masthead{height:var(--header);display:flex;align-items:center;justify-content:space-between;padding:0 30px;background:#fff;border-bottom:1px solid var(--line);gap:20px}.identity{display:flex;align-items:center;gap:12px}.identity img{border-radius:50%;object-fit:cover}.identity b{display:block;font-size:14px}.identity small{display:block;color:var(--muted);margin-top:6px;font-size:11px}.modes{display:flex;align-items:center;gap:5px;background:#eff4f1;padding:4px;border-radius:6px}.modes a{padding:10px 18px;font-size:13px;white-space:nowrap;border-radius:4px}.modes a[aria-current]{background:var(--green);color:white}.head-actions{display:flex;gap:9px}.icon-button{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:5px;flex-shrink:0}.icon-button svg{width:19px;height:19px;stroke-width:1.7}.icon-button:hover{background:#e4eeea}.icon-button[aria-pressed=true]{background:#d7ebe4}.workspace{height:calc(100% - var(--header) - var(--footer));display:grid;grid-template-columns:260px minmax(0,1fr)}.sidebar{display:flex;flex-direction:column;background:#fff;border-right:1px solid var(--line);min-height:0;padding:26px 16px 0}.sidebar-heading{display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:700;padding:0 8px;margin-bottom:19px}.total{color:var(--green);font-size:12px}.search-box{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:5px;padding:10px 12px;background:#f8faf9}.search-box svg{width:16px;height:16px;flex-shrink:0;color:var(--muted)}.search-box input{width:100%;background:none;border:0;outline:0;min-width:0;font-size:12px;color:#25473d}.side-list{overflow:auto;flex:1;margin-top:17px;scrollbar-width:thin}.side-item{display:flex;align-items:flex-start;width:100%;text-align:left;gap:12px;padding:13px 10px;border-radius:5px;border:1px solid transparent;margin-bottom:3px}.side-item>span{font-size:11px;color:#8b9993;line-height:1.8;font-variant-numeric:tabular-nums}.side-item div{min-width:0}.side-item b{font-size:12px;line-height:1.7;font-weight:500;display:block;overflow-wrap:anywhere}.side-item small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.side-item:hover{background:#f3f7f5}.side-item.active{background:#eaf4ef;border-color:#d4e8dd}.side-item.active>span,.side-item.active b{color:var(--green);font-weight:700}.sidebar-foot{padding:17px 8px;border-top:1px solid var(--line);font-size:10px;color:var(--muted);display:flex;gap:8px;align-items:center}.status-dot{width:5px;height:5px;border-radius:50%;background:#cf784c}.stage{min-width:0;min-height:0;overflow:auto;position:relative;overscroll-behavior:contain;touch-action:pan-y pinch-zoom;scrollbar-width:thin}.page-content{min-height:100%}.poster-view{height:100%;min-height:100%;display:flex;align-items:center;justify-content:center;padding:24px 36px;background:#eaf0ed}.poster-wrap{height:100%;position:relative;display:flex;align-items:center;justify-content:center;width:100%}.poster-image{max-width:100%;max-height:100%;width:auto;height:auto;display:block;box-shadow:0 12px 34px #15392a18;cursor:zoom-in;object-fit:contain}.stage.original .page-content{height:100%}.poster-error{padding:24px;text-align:center}.reading-view{max-width:1000px;margin:0 auto;background:white;min-height:100%;padding:46px 58px 64px}.article-kicker{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;color:var(--green);font-size:11px;font-weight:700}.article-kicker .article-number{font-size:13px;font-variant-numeric:tabular-nums;color:#be6544}.reading-view h1{font-size:32px;line-height:1.5;max-width:850px;margin:0 0 25px;overflow-wrap:anywhere;font-weight:700}.article-rule{height:1px;background:var(--line);margin-bottom:28px;position:relative}.article-rule:before{content:"";position:absolute;left:0;top:-1px;width:40px;height:3px;background:var(--green)}.photo-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 30px;align-items:center}.photo-gallery.single{grid-template-columns:minmax(0,1fr)}.photo-gallery button{display:flex;padding:0;align-items:center;justify-content:center;min-width:0;background:#f3f7f5;border-radius:4px;overflow:hidden;cursor:zoom-in}.photo-gallery img{width:100%;max-height:350px;object-fit:contain;display:block}.photo-gallery.single img{max-height:450px}.text-section{padding:0 0 19px;margin:0 0 18px;border-bottom:1px solid #edf1ee}.text-section:last-child{border-bottom:0}.text-section h2{font-size:18px;line-height:1.7;margin:0 0 13px;color:var(--green);overflow-wrap:anywhere}.text-section p{font-size:16px;line-height:2;color:#314b43;margin:0 0 14px;text-align:justify;overflow-wrap:anywhere}.article-end{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:var(--muted);padding-top:20px}.article-end button{font-size:11px;display:flex;align-items:center;gap:6px}.article-end svg{width:14px;height:14px}.reader-footer{height:var(--footer);background:white;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 30px;position:relative;gap:25px}.footer-topic{width:35%;min-width:0}.footer-topic span{color:var(--green);display:block;font-size:10px;margin-bottom:6px}.footer-topic b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;font-weight:500}.pagination{display:flex;align-items:center;gap:16px;flex-shrink:0}.turn{border:1px solid var(--line)}.page-counter{display:flex;gap:7px;align-items:baseline;width:80px;justify-content:center;white-space:nowrap;padding:8px}.page-counter strong{font-size:22px;font-variant-numeric:tabular-nums;font-weight:500}.page-counter span{font-size:11px;color:var(--muted)}.footer-tools{display:flex;align-items:center;gap:18px;justify-content:flex-end;width:35%}input[type=range]{width:130px;accent-color:var(--green);height:20px;cursor:pointer}.progress{height:3px;position:absolute;bottom:0;left:0;right:0;background:#edf2ef}.progress span{display:block;height:100%;background:var(--green);transition:width .2s}dialog{border:1px solid var(--line);border-radius:8px;padding:0;color:#18332e;box-shadow:0 20px 100px #15362935}dialog::backdrop{background:#0a241c88;backdrop-filter:blur(3px)}dialog header{display:flex;align-items:center;justify-content:space-between;gap:15px}.catalogue{width:min(1040px,calc(100% - 40px));max-height:calc(100dvh - 60px);padding:25px;overflow:auto}.catalogue header{margin-bottom:22px}.eyebrow{color:var(--green);font-size:9px;font-weight:700}.catalogue h2{font-size:24px;margin:6px 0 0}.catalogue h2 small{font-size:13px;color:var(--muted);font-weight:400;margin-left:10px}.catalogue .search-box{margin-bottom:15px}.filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px}.filters button{font-size:11px;padding:7px 10px;border-bottom:2px solid transparent}.filters button.active{border-color:var(--green);color:var(--green);font-weight:700}.catalogue-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:23px 18px}.catalogue-item{text-align:left;min-width:0;padding:0}.catalogue-item img{width:100%;aspect-ratio:3/4;object-fit:contain;background:#edf2ef;border-radius:4px;display:block}.catalogue-item.active img{outline:3px solid var(--green);outline-offset:3px}.catalogue-item b{font-size:11px;line-height:1.6;font-weight:500;display:block;margin-top:9px;overflow-wrap:anywhere}.catalogue-item small{color:var(--green);font-size:10px;display:block;margin-top:7px}.empty{text-align:center;font-size:13px;padding:50px 5px;color:var(--muted);grid-column:1/-1}.zoom-dialog{width:min(1100px,calc(100% - 24px));height:calc(100dvh - 32px);max-height:calc(100dvh - 32px);background:#eaf0ed;overflow:hidden}.zoom-dialog header{height:60px;background:#fff;border-bottom:1px solid var(--line);padding:0 14px}.zoom-dialog header b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.zoom-dialog header>div{display:flex;align-items:center;flex-shrink:0;gap:2px}.zoom-percent{font-size:11px;width:48px;padding:8px 0}.zoom-viewport{width:100%;height:calc(100% - 60px);overflow:auto;touch-action:pan-x pan-y pinch-zoom;overscroll-behavior:contain;padding:20px}.zoom-viewport img{display:block;max-width:none;margin:0 auto;object-fit:contain}.toast{position:fixed;bottom:110px;left:50%;transform:translate(-50%,10px);background:#183d31;color:white;border-radius:5px;font-size:12px;padding:11px 18px;z-index:10;opacity:0;transition:.2s;pointer-events:none;max-width:90%;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}.page-enter{animation:page-in .24s ease both}@keyframes page-in{from{opacity:.35;transform:translateX(var(--direction,16px))}to{opacity:1;transform:translateX(0)}}@media(min-width:1500px){.poster-view{padding:30px 50px}.reading-view{padding:48px 70px}}@media(max-width:950px){.identity b{font-size:12px}.masthead{padding:0 18px;gap:12px}.modes a{padding:10px 12px}.workspace{grid-template-columns:215px minmax(0,1fr)}.sidebar{padding:22px 11px 0}.reading-view{padding:32px 30px 50px}.reading-view h1{font-size:28px}.footer-topic{width:32%}.footer-tools{width:25%}.footer-tools input{width:85px}.head-actions{gap:0}}@media(max-width:700px){:root{--header:112px;--footer:77px}.masthead{padding:12px 16px 10px;display:grid;grid-template-columns:1fr auto;grid-template-rows:42px 36px;gap:10px 8px}.identity{gap:8px;min-width:0}.identity img{width:32px;height:32px}.identity b{font-size:11px;line-height:1.6;white-space:normal}.identity small{font-size:9px;margin-top:2px}.modes{grid-row:2;grid-column:1/-1;justify-self:stretch;justify-content:center;padding:3px;height:36px}.modes a{text-align:center;flex:1;padding:7px 10px;font-size:12px}.head-actions{grid-row:1;grid-column:2;gap:0}.head-actions .icon-button{width:32px;height:34px}.head-actions .icon-button svg{width:17px;height:17px}#fullscreenButton{display:none}.workspace{display:block}.sidebar{display:none}.stage{height:100%}.poster-view{padding:14px 12px}.reading-view{padding:27px 22px 45px}.reading-view h1{font-size:26px;line-height:1.55;margin-bottom:20px}.article-kicker{font-size:10px;margin-bottom:14px}.article-rule{margin-bottom:22px}.photo-gallery{gap:8px;margin-bottom:24px}.photo-gallery img{max-height:230px}.text-section h2{font-size:17px}.text-section p{font-size:16px;line-height:1.95;text-align:left}.reader-footer{padding:0 16px;gap:10px;padding-bottom:env(safe-area-inset-bottom)}.footer-topic{width:auto;flex:1;max-width:calc(100% - 212px)}.footer-topic span{font-size:9px}.footer-topic b{font-size:10px}.pagination{gap:7px}.pagination .icon-button{width:34px;height:36px}.page-counter{width:65px;gap:5px}.page-counter strong{font-size:21px}.footer-tools{width:32px;flex-shrink:0}.footer-tools input{display:none}.footer-tools .icon-button{width:32px}.catalogue{width:calc(100% - 20px);max-height:calc(100dvh - 30px);padding:20px 16px}.catalogue-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:21px 12px}.catalogue-item b{font-size:10px}.filters{gap:2px;margin-bottom:17px}.filters button{padding:7px 9px;font-size:10px}.catalogue h2{font-size:23px}.zoom-dialog{width:calc(100% - 12px);height:calc(100dvh - 20px);max-height:calc(100dvh - 20px)}.zoom-dialog header{padding:0 8px}.zoom-dialog .icon-button{width:32px}.zoom-dialog header b{font-size:10px}.zoom-viewport{padding:10px}.toast{bottom:98px}}@media(max-width:370px){.identity b{font-size:10px}.identity img{width:27px;height:27px}.masthead{padding-left:10px;padding-right:10px}.head-actions .icon-button{width:29px}.footer-topic{max-width:calc(100% - 192px)}.reader-footer{padding-left:10px;padding-right:10px}.pagination{gap:4px}.reading-view{padding:24px 18px 40px}.reading-view h1{font-size:24px}.catalogue-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
