:root{--paper:#f7f6f0;--ink:#263b32;--muted:#7b8279;--green:#50785b;--line:#dddEd4;--soft:#eeeee4}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:15px;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button{cursor:pointer}button,a,input,textarea{outline-offset:5px}button:focus-visible,a:focus-visible{outline:2px solid var(--green)}[hidden]{display:none!important}.site-header{height:112px;max-width:1320px;padding:0 60px;margin:auto;display:flex;align-items:center;border-bottom:1px solid var(--line);gap:32px}.brand{display:flex;align-items:center;gap:12px}.brand-symbol{font:54px Georgia;line-height:1;margin-top:-9px;color:var(--green)}.brand strong{font-size:23px;letter-spacing:4px;display:block}.brand strong span{font-size:9px;display:block;letter-spacing:3px;margin-top:4px;font-weight:500}.header-note{color:var(--muted);font-size:12px;margin-left:23px;letter-spacing:1px}.admin-link{margin-left:auto;color:#657261;font-size:12px}.admin-link span{margin-left:8px}.layout{max-width:1200px;padding:66px 0 0;margin:auto;display:grid;grid-template-columns:320px minmax(0,1fr);gap:76px}.sidebar{display:flex;flex-direction:column;min-height:780px;padding-top:8px}.eyebrow{font-size:10px;font-weight:600;letter-spacing:2.1px;display:flex;gap:9px;align-items:center}.eyebrow i{width:6px;height:6px;border-radius:50%;background:#7c9675}.intro h1{font-size:46px;line-height:1.48;letter-spacing:1px;margin:25px 0 21px;font-weight:550}.intro h1 span,.admin-main h1 span{color:#8d9c78}.intro p{color:#6d776b;line-height:2.1;font-size:14px;letter-spacing:.4px}.intro-line{width:34px;height:1px;background:#b6c0a8;margin:30px 0}.intro .small-note{font-size:12px;color:#8b9084;line-height:2}.sidebar-bottom{margin-top:125px;color:#919785;font-size:11px;letter-spacing:1px}.wave{font:36px Georgia;color:#a8b396;letter-spacing:-5px}.sidebar-bottom p{margin-top:18px}.feed-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:28px}.muted{color:#9a9d8f;letter-spacing:2px;font-size:9px}.feed-heading h2{font-weight:550;font-size:26px;letter-spacing:1px;margin:9px 0 0}.post-count{font-size:11px;color:#919787;padding-bottom:4px}.filters{display:flex;gap:9px;padding-bottom:26px;border-bottom:1px solid var(--line)}.filters button{border:1px solid transparent;background:transparent;color:#7d8478;padding:9px 15px;font-size:12px;border-radius:5px}.filters button:hover{background:var(--soft)}.filters .active{background:var(--ink);color:var(--paper)}.filters button span{margin-left:21px}.demo-notice{font-size:11px;line-height:1.8;color:#85917b;background:#eeefe5;padding:10px 14px;margin-top:22px;border-radius:5px}.post{padding:31px 0 30px;border-bottom:1px solid var(--line)}.post-meta{display:flex;align-items:center;gap:10px;margin-bottom:18px;font-size:10px;color:#909687;letter-spacing:.5px}.post-kind{color:#6e8063;background:#e9eddf;border:1px solid #e0e5d6;padding:4px 7px;border-radius:3px;font-size:10px}.post-kind.meme{background:#f0eade;color:#968264;border-color:#e9e2d2}.post-text{font-size:16px;line-height:1.95;margin:0 0 16px;white-space:pre-wrap;overflow-wrap:anywhere;letter-spacing:.2px}.post-text:last-child{margin-bottom:0}.post-image-button{display:block;width:100%;max-width:580px;padding:0;border:0;background:#e9eadf;border-radius:7px;overflow:hidden;text-align:left;cursor:zoom-in}.post-image-button img{display:block;max-width:100%;width:100%;max-height:620px;object-fit:contain}.image-hint{color:#979b8d;font-size:10px;margin:9px 0 0;display:flex;align-items:center;gap:7px}.post-footer{display:flex;justify-content:space-between;gap:15px;margin-top:22px;color:#a3a799;font-size:10px}.post-footer button{border:0;background:none;padding:0;color:#87947d;font-size:11px}.feed-footer{display:flex;flex-direction:column;align-items:center;gap:10px;padding:39px 0 55px;color:#909783;font-size:11px}.feed-footer span:last-child{font-size:10px;color:#adb19f}.empty{padding:50px 0;text-align:center;line-height:2;color:#8a927e}.error{color:#a44535}dialog{border:0;padding:55px 20px 20px;border-radius:12px;background:var(--paper);max-width:94vw;max-height:94vh}dialog::backdrop{background:#17231fdd}dialog img{display:block;max-width:85vw;max-height:72vh;margin:auto}dialog p{font-size:12px;text-align:center;max-width:600px;margin:16px auto;white-space:pre-wrap;overflow-wrap:anywhere}.close-lightbox{position:absolute;right:15px;top:8px;font-size:30px;background:none;border:0;color:var(--ink)}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;border-radius:6px;padding:12px 20px;font-size:13px;z-index:20;max-width:90vw;min-width:180px;text-align:center}.admin-main{max-width:700px;margin:65px auto;padding:0 24px}.admin-main h1{font-size:32px;font-weight:550;margin-bottom:12px}.admin-subtitle{color:var(--muted);margin-bottom:35px}.admin-card{background:#fffefa;border:1px solid var(--line);border-radius:10px;padding:28px;margin-bottom:30px}.admin-card h2{font-size:20px;margin:0 0 24px}label{display:block;font-size:12px;color:#6e7c65;margin-bottom:10px}input:not([type=file]),textarea{display:block;border:1px solid #d8dece;border-radius:5px;padding:12px;width:100%;background:#fcfcf7;color:var(--ink);margin-bottom:20px}textarea{line-height:1.9;resize:vertical}textarea:focus,input:focus{outline:1px solid var(--green)}.primary{background:var(--ink);color:#fff;border:0;padding:12px 22px;border-radius:5px;font-size:13px}.primary:disabled{opacity:.5;cursor:wait}.upload-field{border:1px dashed #bdc8ad;padding:20px;border-radius:6px;background:#f4f6ec}.upload-field label{font-size:14px}.upload-field small{display:block;margin-top:12px;color:#929a87;font-size:10px}.upload-field input{max-width:100%;font-size:12px}#image-preview{margin-top:20px}#image-preview img{max-height:250px;max-width:100%;display:block;margin-bottom:10px}#image-preview label{margin-top:18px}.text-button{color:#6e8063;font-size:12px;background:none;border:0;padding:5px 0}.editor-actions{display:flex;gap:15px;justify-content:space-between;align-items:center;margin-top:24px}.editor-actions span{font-size:10px;color:#929a87}.form-message{font-size:12px;line-height:1.8;color:#946148;margin-bottom:0}.manage-heading{display:flex;justify-content:space-between;align-items:center}.manage-heading h2{font-size:20px;font-weight:500}.manage-row{padding:18px 0;border-bottom:1px solid var(--line);display:flex;gap:20px;align-items:center;justify-content:space-between}.manage-row p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font-size:13px}.manage-row small{color:#8a927e;font-size:10px}.manage-row button{flex-shrink:0;color:#a05d4b}.manage-row img{max-height:80px;max-width:120px;display:block}.admin-card input:disabled{opacity:.5}
@media(min-width:1500px){.layout{padding-top:85px}}@media(max-width:1300px){.layout{margin:0 60px;grid-template-columns:280px minmax(0,1fr);gap:55px}}@media(max-width:900px){.layout{margin:0 32px;gap:35px;grid-template-columns:220px minmax(0,1fr)}.site-header{padding:0 32px;height:95px}.intro h1{font-size:35px}.header-note{margin-left:0;font-size:11px}.intro p{font-size:12px}.post-text{font-size:15px}}@media(max-width:650px){.site-header{padding:0 22px;height:86px;gap:15px}.brand strong{font-size:20px}.brand-symbol{font-size:45px}.header-note{display:none}.layout{display:block;margin:0 22px;padding-top:36px}.sidebar{min-height:0;padding:0}.eyebrow{font-size:9px}.intro h1{font-size:34px;line-height:1.5;margin:16px 0 13px;letter-spacing:0}.intro h1 br{display:none}.intro p{font-size:12px;line-height:1.9}.intro p br{display:none}.intro-line,.intro .small-note,.sidebar-bottom{display:none}.feed-section{margin-top:38px}.feed-heading h2{font-size:23px}.filters{padding-bottom:20px}.filters button{padding:9px 12px;font-size:11px}.post{padding:26px 0}.post-text{font-size:15px}.demo-notice{font-size:10px}.admin-main{margin:40px auto}.admin-main h1{font-size:27px}.admin-card{padding:20px}.editor-actions{align-items:flex-end}.editor-actions span{max-width:120px;line-height:1.8}.post-count{font-size:10px}}
.login-intro{font-size:13px;color:var(--muted);line-height:1.8;margin:0 0 22px}#google-login-panel{margin-bottom:25px}#google-signin-button{min-height:44px}#password-login summary{font-size:12px;color:#738168;cursor:pointer;margin-bottom:20px}#password-login[open] summary{margin-bottom:22px}
.stitcher{margin-top:16px;border:1px solid var(--line);border-radius:7px;padding:17px;background:#f7f8f0}.stitcher>summary{cursor:pointer;color:#536d4c;font-size:13px}.stitch-intro{font-size:11px;color:var(--muted);line-height:1.9;margin:18px 0}.stitcher input[type=file]{font-size:12px;max-width:100%}.stitch-list-heading{display:flex;justify-content:space-between;align-items:center;margin:16px 0 8px;color:var(--muted);font-size:11px}.stitch-list{list-style:none;margin:0 0 20px;padding:0;display:grid;gap:8px}.stitch-row{display:flex;align-items:center;gap:10px;background:#fffefa;padding:10px;border:1px solid var(--line);border-radius:5px;cursor:grab}.stitch-row.dragging{opacity:.4}.stitch-row>img{width:45px;height:56px;object-fit:contain;background:var(--soft);border-radius:3px;flex-shrink:0}.stitch-row-detail{flex:1;min-width:0}.stitch-filename{display:block;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:9px}.stitch-crops{display:flex;gap:12px}.stitch-crops label{display:flex;align-items:center;gap:3px;margin:0;font-size:10px;white-space:nowrap}.stitch-crops input[type=number]{display:inline-block;width:47px;margin:0;padding:5px 3px;font-size:11px}.stitch-row-actions{display:flex;gap:4px;flex-shrink:0}.stitch-icon{background:none;border:1px solid #dce2d3;border-radius:4px;width:28px;height:30px;color:#657a59;font-size:15px;padding:0}.stitch-icon:disabled{opacity:.3;cursor:default}.stitch-settings{display:grid;grid-template-columns:1fr 1fr;gap:18px 14px;padding-top:16px;border-top:1px solid var(--line)}.stitch-settings select{width:100%;padding:10px 8px;border:1px solid #d8dece;background:#fcfcf7;border-radius:5px;font:inherit;font-size:12px;color:var(--ink)}.stitch-settings input[type=color]{width:100%;height:34px;padding:3px;margin:0}.stitch-settings input[type=range]{width:100%;accent-color:var(--green);padding:0;margin:10px 0}.stitch-spacing small{font-size:10px;color:var(--muted)}.stitch-spacing label{display:flex;justify-content:space-between;gap:5px}.stitch-spacing output{color:#8b967e;white-space:nowrap;font-size:10px}.stitch-preview-heading{display:flex;flex-wrap:wrap;justify-content:space-between;gap:9px;font-size:12px;margin:24px 0 12px}.stitch-preview-heading small{font-size:10px;color:var(--muted)}.stitch-preview-wrap{max-height:470px;overflow:auto;background:#e4e6dc;border:1px solid var(--line);border-radius:6px;padding:16px;overscroll-behavior:contain}.stitch-preview-wrap canvas{display:block;max-width:100%;height:auto;margin:auto;box-shadow:0 2px 10px #00000012}.stitch-placeholder{text-align:center;font-size:11px;line-height:1.9;color:var(--muted);padding:25px 10px;border:1px dashed #cdd5bf;border-radius:6px}.stitch-actions{display:flex;justify-content:space-between;gap:12px;margin-top:19px}.secondary{font:inherit;font-size:12px;padding:10px 14px;border:1px solid #cbd5c0;background:#fcfcf7;color:#617753;border-radius:5px}.secondary:disabled{opacity:.4;cursor:default}@media(max-width:500px){.stitcher{padding:12px}.stitch-row{flex-wrap:wrap;gap:8px}.stitch-row-actions{margin-left:auto}.stitch-crops{gap:7px}.stitch-row>img{width:36px;height:48px}.stitch-actions .primary{font-size:11px;padding:11px 12px}.stitch-actions .secondary{font-size:11px;padding:10px}.stitch-settings{gap:16px 10px}.stitch-spacing label{flex-wrap:wrap}.stitch-preview-wrap{padding:8px}}
.post-image-button.long-image{max-height:560px;position:relative}.post-image-button.long-image img{max-height:none;height:auto;object-fit:initial}.post-image-button.long-image:after{content:'点击展开完整长图 ↓';position:absolute;bottom:0;left:0;right:0;padding:40px 16px 17px;text-align:center;background:linear-gradient(transparent,#f7f6f0f5);color:#465e3e;font-size:12px}dialog.long-image{width:min(850px,94vw);overflow:auto}dialog.long-image img{width:100%;height:auto;max-width:100%;max-height:none}dialog.long-image .close-lightbox{position:sticky;display:block;top:0;margin:-40px 0 8px auto;width:34px;height:34px;border-radius:50%;line-height:30px;background:var(--paper);z-index:2}

.post-source{margin:0 0 14px;font-size:12px;color:#5f7359}.post-source a{text-decoration:underline;text-underline-offset:3px}
.collections-main{max-width:1160px;margin:48px auto;padding:0 28px}
.collections-top{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:28px}
.collections-top h1{font-size:34px;font-weight:550;margin:12px 0 0}.collections-top h1 span{color:#8d9c78}
.collections-toolbar{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin-bottom:24px}
.collections-toolbar input[type=search]{flex:1;min-width:240px;margin:0;max-width:420px}
.collections-filters{border-bottom:0;padding-bottom:0}
.collections-list{display:grid;gap:14px}
.collection-card{display:block;padding:22px 24px;margin:0;transition:border-color .15s}
.collection-card:hover{border-color:#9fb196}
.collection-card-top{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted);margin-bottom:10px}
.collection-card-title{margin:0 0 8px;font-size:18px;font-weight:550;color:var(--ink)}
.collection-card-meta{margin:0 0 10px;font-size:12px;color:#6e7c65}
.collection-card-preview{margin:0;font-size:13px;line-height:1.8;color:#5a6258;white-space:pre-line;overflow-wrap:anywhere}
.status-badge{display:inline-block;padding:3px 9px;border-radius:4px;font-size:11px;background:#e9eddf;color:#4f6845}
.status-partial{background:#f5ead6;color:#8a6220}.status-unconfirmed{background:#eef0e8;color:#697263}.status-link_only{background:#e7edf0;color:#486675}
.pair-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.pair-header h2{margin:0}
.pair-desc{font-size:13px;color:var(--muted);line-height:1.7;margin:0 0 18px}
.pair-form{display:flex;gap:10px;align-items:center;margin-bottom:16px}.pair-form input{margin:0;flex:1}.pair-form button{flex-shrink:0}
.pair-created{background:#f1f5ea;border:1px solid #c9d6bc;border-radius:6px;padding:14px;margin-bottom:18px;font-size:13px}
.pair-token-row{display:flex;gap:10px;align-items:center;margin-top:8px}.pair-token-row code{flex:1;word-break:break-all;background:#fff;padding:8px 10px;border-radius:4px;border:1px solid var(--line);font-size:12px}
.pair-tokens-list{display:grid;gap:10px}.pair-token-item{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border:1px solid var(--line);border-radius:6px;background:#fcfcf7}
.pair-token-item small{display:block;color:var(--muted);font-size:11px;margin-top:3px}
.detail-nav{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;flex-wrap:wrap}
.detail-actions{display:flex;gap:10px;align-items:center}
.danger-text{color:#a44535!important}
.detail-header h1{margin:10px 0 8px;font-size:26px;font-weight:550;line-height:1.4}
.detail-meta-row{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.detail-dates{font-size:11px;color:var(--muted)}
.detail-author,.detail-source{margin:6px 0 0;font-size:13px;color:#5e6c59;word-break:break-all}
.detail-source a{text-decoration:underline;text-underline-offset:3px}
.detail-published-links{margin-top:12px;display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:12px;color:#5c6f55}
.pub-link{background:#eef3e6;padding:3px 9px;border-radius:4px;border:1px solid #d4dec7}
.status-select{display:block;width:100%;padding:11px;border:1px solid #d8dece;border-radius:5px;background:#fcfcf7;color:var(--ink);margin-bottom:20px}
.edit-existing-images{display:flex;flex-wrap:wrap;gap:12px;margin-top:14px}
.edit-img-item{border:1px solid var(--line);padding:6px;border-radius:6px;text-align:center}.edit-img-item img{height:70px;display:block;margin-bottom:4px}.edit-img-item.marked-remove{opacity:.4}
.detail-workspace{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}
.reading-header{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:16px}.reading-header h2{margin:0}.reading-header small{color:var(--muted);font-size:11px}
.detail-content{white-space:pre-wrap;overflow-wrap:anywhere;line-height:2;font-size:15px;color:var(--ink);user-select:text}
.hl-mark{background:#f6e69f;color:var(--ink);padding:1px 2px;border-radius:3px;cursor:pointer}
.hl-mark.pulse,.annotation-card.pulse{outline:2px solid var(--green);background:#f3dc79}
.selection-bar{position:sticky;top:14px;z-index:10;background:#fffefa;border:1px solid var(--green);border-radius:8px;padding:12px 14px;margin-bottom:14px;box-shadow:0 6px 20px #00000014}
.selection-preview{display:block;font-size:12px;color:#4f6845;margin-bottom:8px}
.selection-bar input{margin-bottom:10px;padding:8px 10px;font-size:13px}
.selection-bar-actions{display:flex;gap:10px;align-items:center}
.annotations-card{position:sticky;top:14px}.hl-count{font-size:13px;color:var(--muted);font-weight:400}
.annotations-list{display:grid;gap:12px}
.annotation-card{border:1px solid var(--line);border-radius:7px;padding:12px;background:#fcfcf7}
.annotation-unanchored{border-color:#d8b47c;background:#fdf8ee}
.annotation-quote{margin:0 0 8px;padding-left:10px;border-left:3px solid #d7c774;font-size:13px;line-height:1.7;color:#465245;white-space:pre-wrap}
.annotation-note{margin:0 0 8px;font-size:13px;line-height:1.7;color:var(--ink);white-space:pre-wrap}
.annotation-warning{margin:0 0 8px;font-size:11px;color:#9b5b21;line-height:1.6}
.annotation-actions{display:flex;gap:12px;flex-wrap:wrap;font-size:12px}
.reanchor-hint{font-size:12px;color:#8a6220;background:#fdf5e6;padding:8px 10px;border-radius:5px;margin:0 0 12px}
.detail-note-text{white-space:pre-wrap;line-height:1.8;margin:0;font-size:14px}
.archived-comment-thread+.archived-comment-thread{border-top:1px solid var(--line);margin-top:12px;padding-top:12px}
.archived-comment-author{font-size:13px;color:var(--muted)}
.archived-comment-text{white-space:pre-wrap;overflow-wrap:anywhere;margin:3px 0 0;line-height:1.7;font-size:14px}
.archived-comment-replies{margin:8px 0 0 12px;padding-inline-start:12px;border-inline-start:2px solid var(--line)}
.archived-comment-replies .archived-comment+.archived-comment{margin-top:8px}
.detail-images{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px}
.detail-image-btn{padding:0;border:1px solid var(--line);border-radius:6px;overflow:hidden;background:#eef0e6}
.detail-image-btn img{display:block;width:100%;height:160px;object-fit:cover}
.publish-dialog{width:min(680px,94vw);padding:26px;border-radius:10px}
.publish-dialog-inner{text-align:left}
.publish-hl-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.hl-chip{background:#f6e69f;border:1px solid #dfd07f;border-radius:5px;padding:5px 10px;font-size:12px;text-align:left}
.checkbox-label{display:flex;align-items:center;gap:8px;margin:0 0 16px;font-size:13px;cursor:pointer}
.checkbox-label input{width:auto;margin:0}
.publish-images-grid{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}
.pub-img-option{display:flex;flex-direction:column;align-items:center;gap:4px;border:1px solid var(--line);padding:6px;border-radius:6px;cursor:pointer;margin:0}
.pub-img-option input{width:auto;margin:0}.pub-img-option img{height:76px;width:auto;display:block}
.publish-preview-box{border:1px solid var(--line);border-radius:8px;padding:14px;background:#fcfcf7;margin-bottom:12px}
.publish-preview-card{margin-top:10px}.pub-preview-img{max-width:100%;max-height:220px;display:block;margin-top:10px;border-radius:5px}
.small-muted{font-size:12px;color:var(--muted);line-height:1.7;margin:0}
@media(max-width:900px){.detail-workspace{grid-template-columns:1fr}.annotations-card{position:static}}
