/* 前台共用视觉层；不影响后台。 */
html{scroll-padding-top:100px}body{font-family:system-ui,-apple-system,"Noto Sans SC",sans-serif}a,button,input,select,textarea{touch-action:manipulation}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #b86c47;outline-offset:5px}.muted{color:var(--muted,#777b75)}.row{display:flex;align-items:center;gap:15px;flex-wrap:wrap}.spread{justify-content:space-between}
.shell{max-width:1240px;padding-left:48px;padding-right:48px}.topbar{position:sticky;top:0;z-index:20;background:#f5f3eef2;backdrop-filter:blur(16px);height:80px}.brand{font-size:24px}.brandmark{width:40px;height:40px;border-radius:12px}.nav{gap:26px}.nav a{position:relative}.nav a:hover:after{color:var(--accent)}
.hero{padding-top:85px;padding-bottom:76px;gap:70px}.hero h1{font-size:clamp(44px,5.8vw,76px);letter-spacing:-.065em}.hero .lede{font-size:16px}.hero-art{min-height:400px;background:linear-gradient(145deg,#dbe2d5,#bfcdbb);border-radius:90px 12px 12px 12px;box-shadow:18px 20px 0 #eae8de}.art-card{border-radius:48px 4px 4px 4px}.art-card .glyph{font-size:160px}.journal-strip{display:flex;justify-content:space-between;gap:16px;padding-top:16px;padding-bottom:24px;font-size:12px;color:var(--muted);letter-spacing:.03em}.journal-strip div span{font-size:19px;color:var(--dark);font-weight:650}.journal-strip i{font-style:normal;margin:0 14px;color:#c5c9bf}.journal-strip a{color:var(--dark)}
.section{padding-top:68px;padding-bottom:68px}.section-head h2{font-size:34px}.section-head .muted{font-size:13px}.featured{grid-template-columns:.72fr 1.28fr;min-height:310px;border-radius:20px;box-shadow:0 8px 32px #22332206}.featured-visual{background:#e8e2d4;text-align:left;justify-content:flex-start;padding:34px 42px}.featured-visual div{position:relative;z-index:1}.featured-visual small,.featured-visual b{display:block;font-size:10px;letter-spacing:.18em;color:#796f5c;font-weight:500}.featured-visual span{display:block;font:italic 64px/.95 Georgia,serif;letter-spacing:-.06em;margin:35px 0}.featured h3{font-size:28px}.featured-text{padding:36px 42px}.featured p{font-size:14px}.featured-text small{font-size:12px}.featured a:hover{color:var(--accent)}
.article-controls{align-items:flex-start;gap:24px}.search-tools{display:flex;gap:10px;flex-shrink:0}.search{width:240px;padding:10px 12px;border-radius:10px}.search-tools select{font:inherit;font-size:12px;border:1px solid var(--line);border-radius:10px;color:var(--ink);background:var(--surface);padding:8px}.filter{padding:9px 15px}.results-note{font-size:12px;color:var(--muted);margin:22px 0 12px}.article-row{grid-template-columns:115px 1fr 44px;padding:28px 8px;transition:background .2s}.article-row:hover{background:#eeeee6}.article-row h3{font-size:21px;margin:6px 0 9px}.article-row p{max-width:750px;line-height:1.8}.row-category{font-size:11px;color:var(--accent)}.row-reads{display:block;color:var(--muted);font-size:11px;margin-top:12px}.row-arrow{border:1px solid var(--line);height:38px;width:38px;display:grid;place-items:center;border-radius:50%;color:var(--dark)}.empty{text-align:center;padding:40px 20px}.empty strong{color:var(--ink);font-size:19px}
.archive-section{display:grid;grid-template-columns:1fr;gap:24px;border-top:1px solid var(--line)}.archive-section h2{font-size:30px;line-height:1.5;margin:20px 0}.archive-section p{font-size:14px}.archive-month{border-bottom:1px solid var(--line);padding:16px 0}.archive-month summary{cursor:pointer;font-size:20px;font-weight:650}.archive-month summary span{font-size:12px;font-weight:400;color:var(--muted);margin-left:12px}.archive-month a{display:flex;justify-content:space-between;gap:20px;padding:14px 4px;font-size:14px}.archive-month a span{color:var(--accent)}.archive-month a:hover{color:var(--accent)}
.about-inner{padding-top:70px;padding-bottom:70px;gap:80px}.about p{font-size:15px}.contact-section{padding-top:80px;padding-bottom:86px;gap:64px;align-items:start}.contact-intro h2{font-size:40px;line-height:1.35;letter-spacing:-.05em;margin:24px 0}.contact-intro>p{font-size:14px}.contact-email{font-size:21px;border-bottom:1px solid #bec5b9;padding-bottom:10px;margin:20px 0 25px}.contact-channels{display:flex;gap:20px;font-size:11px;color:var(--accent)}.contact-note{border-top:1px solid var(--line);padding-top:20px}.contact-form{padding:34px;border-radius:20px;box-shadow:0 16px 60px #1f332d06}.form-heading{border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:24px}.form-heading .eyebrow{font-size:9px}.form-heading h3{font-size:22px;margin:12px 0 4px}.form-heading p{font-size:13px;color:var(--muted);margin:0}.contact-form label{font-size:12px}.contact-form input,.contact-form textarea{background:#f8f9f5;border-radius:10px;font-size:14px;padding:13px}.contact-form textarea{line-height:1.8}.contact-submit small{font-size:11px}#contact-notice{font-size:13px}#contact-notice.error{color:#a44435}.footer{border-top:1px solid var(--line);padding-top:28px;padding-bottom:34px}.footer-links{flex-wrap:wrap;gap:20px}
.skip-link{position:fixed;top:-100px;left:16px;background:var(--dark);color:white;padding:12px;z-index:50}.skip-link:focus{top:10px}#back-top{position:fixed;bottom:24px;right:24px;width:42px;height:42px;border:1px solid #bbc6b6;background:#fffefa;color:#264b3a;border-radius:50%;z-index:25;box-shadow:0 4px 18px #1f332d14;font-size:20px}#back-top[hidden]{display:none}#reading-progress{position:fixed;top:0;left:0;width:0;height:3px;background:#ce603e;z-index:40}.reading-end{border-top:1px solid var(--line,#deded6);margin:45px 0 26px;padding-top:24px;display:flex;justify-content:space-between;gap:20px;font-size:14px;color:#777b75}.reading-end a{color:#ce603e}.article-view{max-width:880px}.article-view h1{font-size:clamp(30px,4.3vw,48px);letter-spacing:-.045em;line-height:1.4}.article-body{font-size:16px;line-height:2}:is(.article-body,main>article) :is(h1,h2,h3,h4,h5,h6){scroll-margin-top:110px}.reading-tools{padding:18px 20px;margin:22px 0 30px;border:1px solid #deded6;border-radius:12px;background:#fffefa;font:13px/1.8 system-ui;color:#626861}.reading-tools summary{cursor:pointer;color:#1f332d;font-weight:650}.reading-tools nav{display:grid;gap:6px;padding:14px 0 8px}.reading-tools nav a{color:#626861;text-decoration:none}.reading-tools nav a:hover{color:#ce603e}.reading-tools button{border:0;background:transparent;color:#ce603e;padding:6px 0;font:inherit;cursor:pointer}.reading-tools .toc-sub{padding-left:16px}
@media(max-width:1000px){.shell{padding-left:30px;padding-right:30px}.nav{gap:18px}.hero{gap:38px}.hero-art{min-height:340px}.article-controls{flex-direction:column}.search-tools{width:100%}.search{flex:1;width:auto}.contact-section{gap:36px}}
@media(max-width:700px){html{scroll-padding-top:85px}.shell{padding-left:22px;padding-right:22px}.topbar{height:72px}.brand{font-size:20px;gap:8px}.brandmark{width:30px;height:30px}.nav{gap:14px;font-size:12px}.nav a:nth-child(n){display:inline}.nav a[href="#archive"],.nav a.external{display:none}.hero{padding-top:44px;padding-bottom:42px;grid-template-columns:1fr;gap:36px}.hero h1{font-size:48px}.hero-art{min-height:235px;box-shadow:8px 9px 0 #eae8de}.art-card{top:24px;bottom:24px;left:24px;right:24px}.art-card .glyph{font-size:100px}.journal-strip{flex-wrap:wrap;gap:8px;font-size:11px}.journal-strip>span{width:100%}.section{padding-top:44px;padding-bottom:46px}.section-head{align-items:start}.section-head h2{font-size:27px}.section-head>.muted{display:none}.small-link{font-size:11px}.featured{grid-template-columns:1fr}.featured-visual{min-height:170px;padding:25px 30px}.featured-visual span{font-size:42px;margin:15px 0}.featured-visual br{display:none}.featured-text{padding:27px}.featured h3{font-size:23px}.article-row{grid-template-columns:1fr 36px;gap:8px;padding:24px 0}.article-row time{grid-column:1/-1}.article-row h3{font-size:18px}.article-row p{display:block;font-size:12px}.row-arrow{width:32px;height:32px}.archive-section{grid-template-columns:1fr;gap:12px}.about-inner{grid-template-columns:1fr;gap:16px;padding-top:45px;padding-bottom:45px}.about h2{font-size:30px}.contact-section{grid-template-columns:1fr;gap:24px}.contact-intro h2{font-size:32px}.contact-form{padding:24px}.contact-fields{grid-template-columns:1fr;gap:0}.footer{display:block}.footer-links{margin-top:12px}.article-view{padding-top:36px}.reading-end{flex-direction:column;gap:8px}#back-top{right:16px;bottom:16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}.button:hover{transform:none}}

.post-topbar{display:flex;align-items:center;gap:24px;border-bottom:1px solid #deded6;padding-top:24px;padding-bottom:20px;font-size:13px}.post-topbar>a:first-child{font-size:23px;font-weight:750;margin-right:auto}.post-topbar~main{padding-top:46px}

.article-pagination{display:flex;justify-content:center;align-items:center;gap:20px;padding:28px 0}.article-pagination[hidden]{display:none}.article-pagination button:disabled{opacity:.4;cursor:default}.article-pagination span{color:var(--muted);font-size:14px}@media(max-width:480px){.article-pagination{gap:12px}.article-pagination .button{padding:12px 14px}}

.post-neighbors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;border-top:1px solid #deded6;padding:28px 0}.post-neighbors small{display:block;color:#777b75}.post-neighbors a,.post-related a{display:block;color:#1f332d;text-decoration:none;overflow-wrap:anywhere}.post-related{padding-bottom:24px}.post-related a{padding:10px 0}.code-copy{display:block;margin:8px 0 0 auto;border:1px solid #deded6;border-radius:7px;background:#fff;color:#1f332d;padding:7px 12px;cursor:pointer}@media(max-width:600px){.post-neighbors{grid-template-columns:1fr}}

.reading-tools nav a{padding-left:calc(var(--toc-depth,0)*14px);overflow-wrap:anywhere}.reading-tools nav a[aria-current="location"]{color:#ce603e;font-weight:650}

/* 文章级评论：与正文目录和私密留言分开 */
.article-comments{border-top:1px solid #deded6;margin-top:48px;padding-top:24px}
.comments-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.comments-heading h2{margin:0}
.article-comments button{font:inherit;font-size:14px;min-height:42px;border:1px solid #d0d9cf;border-radius:9px;background:#fff;color:#234737;padding:8px 15px;cursor:pointer}
.article-comments button:disabled{opacity:.45;cursor:default}.article-comments button:focus-visible,.comment-form input:focus-visible,.comment-form textarea:focus-visible{outline:2px solid #315146;outline-offset:3px}
.comment-muted{color:#747c75;font-size:13px}.comment-item{padding:20px 0;border-bottom:1px solid #e1e3da;min-width:0}
.comment-meta{display:flex;flex-wrap:wrap;gap:12px;align-items:center;overflow-wrap:anywhere}.comment-meta time{font-size:12px;color:#747c75}
.comment-text{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0}.comment-reply{background:#eaf0e8;border-left:3px solid #315146;padding:12px 16px;border-radius:8px;margin-top:14px}
.comments-pagination{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin:20px 0;font-size:13px}
.comment-form{display:grid;gap:14px;position:relative}.comment-form label{display:grid;gap:6px;font-size:14px}.comment-form input,.comment-form textarea{font:inherit;width:100%;min-width:0;box-sizing:border-box;background:#fff;color:#242722;border:1px solid #d0d9cf;border-radius:9px;padding:12px}.comment-form textarea{resize:vertical}.comment-form button[type=submit]{justify-self:start;background:#234737;color:#fff}.comment-form [role=status]{margin:0;overflow-wrap:anywhere}.comment-form .comment-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
@media(max-width:620px){.comments-heading{gap:8px}.comments-heading h2{font-size:23px}.comments-pagination{justify-content:center;flex-wrap:wrap}}

/* 讨论串采用固定缩进，回复再多也不会压窄正文。 */
.comment-actions{display:flex;align-items:center;gap:1rem;color:var(--muted);font-size:.85rem}
.comment-actions button,.comment-thread>button,.comment-item>button{padding:.35rem .65rem;background:transparent;border:0;color:var(--green);cursor:pointer}
.comment-thread{margin:1rem 0 0 1.25rem;border-left:2px solid #e8ede7;padding-left:1rem}
.comment-thread-item{padding:1rem 0;border-bottom:1px solid #eef0ed}
.comment-reply-context{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.comment-reply-context:empty{display:none}
.comment-item .comment-form{margin-top:1rem}
@media(max-width:600px){.comment-thread{margin-left:.3rem;padding-left:.7rem}.comment-meta{flex-wrap:wrap}}

/* 文章页以时间浏览为主，合集仅作为收起的筛选条件。 */
.collection-filter-label{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:13px}.collection-filter-label select{font:inherit;min-height:42px;max-width:260px;padding:10px 32px 10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink)}.collection-discovery{font-size:13px;color:var(--muted);margin:18px 0 0}.collection-discovery a{color:var(--accent);margin-left:8px}.section-head .muted{margin:12px 0 0}@media(max-width:520px){.collection-filter-label{width:100%}.collection-filter-label select{flex:1;min-width:0;max-width:none}.search-tools{flex-wrap:wrap}.search-tools .search{min-width:160px}.collection-discovery a{display:inline-block}.section-head .muted{display:block}}

/* 2026-10：统一前台阅读布局，所有规则仅作用于公开页面。 */
:root{--muted:#626b63}
body{font-size:16px;-webkit-font-smoothing:antialiased}
.shell{max-width:1160px;padding-left:32px;padding-right:32px}
.topbar{height:76px;gap:24px}
.nav{gap:6px;font-size:14px}
.nav a{padding:9px 14px;border-radius:9px;white-space:nowrap}
.nav a:hover{background:#eaece4}
.topbar .nav a[aria-current=page]{background:#e7ede4;color:#294d3f}
.section,.collections-main{padding-top:48px;padding-bottom:64px}
.section-head{margin-bottom:24px;align-items:center}
.section-head .page-title,.collections-main .page-title{font-size:clamp(30px,3.5vw,40px);letter-spacing:-.04em}
.section-head .muted,.collection-intro p{font-size:15px;line-height:1.8}
.small-link:after{content:none}
.hero{padding-top:60px;padding-bottom:52px;gap:56px;grid-template-columns:1.2fr .8fr}
.hero h1{font-size:clamp(42px,5vw,64px);line-height:1.2}
.hero .lede{max-width:540px;line-height:1.9;font-size:17px}
.hero-art{min-height:320px;border-radius:64px 18px 18px 18px;box-shadow:10px 12px 0 #eae8de}
.art-card .glyph{font-size:130px}
.journal-strip{padding-top:20px;padding-bottom:24px;font-size:14px}
.journal-strip div span{font-size:21px}
.section-head h2{font-size:30px}
.featured{min-height:260px;grid-template-columns:.6fr 1.4fr}
.featured-text{padding:30px}
.featured h3{font-size:26px;line-height:1.5}
.featured p{font-size:15px}
.featured-visual{padding:26px}
.featured-visual span{font-size:52px}
.article-controls{margin:24px 0 12px;padding:18px;background:var(--surface);border:1px solid var(--line);border-radius:14px;align-items:center;gap:16px}
.search-tools{flex:1;justify-content:flex-end;min-width:0}
.search-tools .search{width:min(100%,360px);min-width:0;min-height:44px;font-size:14px;margin:0}
.search-tools select,.collection-filter-label select{min-height:44px;font-size:14px}
.search:focus-visible,select:focus-visible,textarea:focus-visible,input:focus-visible{outline:2px solid #315146;outline-offset:3px}
.collection-discovery{margin:12px 0;font-size:14px}
.results-note{font-size:14px;margin:22px 0 14px}
.article-list{border:0;display:grid;gap:14px}
.article-row{grid-template-columns:92px minmax(0,1fr) 44px;gap:20px;border:1px solid var(--line);border-radius:14px;background:var(--surface);padding:24px;align-items:start}
.article-row:hover{background:#fff; border-color:#bbc8b8}
.article-row time{font-size:13px;padding-top:4px}
.article-row h3{font-size:22px;line-height:1.55;margin:9px 0}
.article-row p{font-size:15px;line-height:1.85}
.row-category{font-size:12px;color:#9c462e}
.row-reads{font-size:12px;margin-top:12px}
.row-arrow{align-self:center}
.archive-section{grid-template-columns:1fr;gap:24px;align-content:start;border-top:0}
.archive-month{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:20px 24px;margin-bottom:14px}
.archive-month summary{font-size:21px;line-height:1.5}
.archive-month a{font-size:15px;line-height:1.8;border-top:1px solid #e8e9e1;margin-top:12px;padding:12px 0 0}
.archive-month a:first-of-type{margin-top:16px}
.about-inner{padding-top:52px;padding-bottom:52px;gap:56px}
.about p{font-size:16px}
.contact-section{padding-top:48px;padding-bottom:64px;gap:40px}
.contact-form{box-shadow:none}
.contact-form label{font-size:14px}
.contact-form input,.contact-form textarea{font-size:16px}
.contact-email{font-size:20px}
.footer{font-size:13px}
.footer-links{gap:18px}
.post-page .post-topbar{max-width:1160px;position:sticky;top:0;z-index:20;min-height:76px;padding:16px 32px;background:#f5f3eef5;backdrop-filter:blur(16px);gap:20px}
.post-page main{max-width:860px;margin:32px auto 64px;padding:36px 48px 48px;background:#fffefa;border:1px solid #deded6;border-radius:18px}
.post-page main>h1{font-size:clamp(28px,3.5vw,42px);line-height:1.5;overflow-wrap:anywhere}
.post-page .meta{font-size:13px;line-height:1.9;color:#8f452f;overflow-wrap:anywhere}
.post-page .summary{font-size:17px;line-height:1.9;color:#626b63}
.post-page main>article{font-size:17px;line-height:1.95;overflow-wrap:anywhere}
.post-page main>article :is(h1,h2,h3,h4,h5,h6){line-height:1.5;color:#1f332d}
.post-page main>article h2{font-size:26px;margin:40px 0 16px}
.post-page main>article h3{font-size:22px;margin:32px 0 12px}
.post-page main>article p{margin:0 0 22px}
.post-page main>article li{margin:8px 0}
.post-page main>article :is(ul,ol){padding-left:1.5em}
.post-page main>article pre{font-size:14px;line-height:1.8;overflow-wrap:normal}
.post-page main>article :not(pre)>code{background:#edf0e8;padding:2px 5px;border-radius:4px;font-size:.9em}
.post-page .reading-tools{background:#f0f3eb;border-color:#dce3d5;font-size:14px}
.post-page .comment-form{padding:20px;background:#f1f4ec;border-radius:12px}
.post-page .comment-form .comment-trap{padding:0}
.post-page .comment-item{padding:24px 0}
.post-page .comment-text{font-size:16px;line-height:1.9}
.post-page .comment-muted{color:#626b63}
@media(max-width:1000px){
 .article-controls{flex-direction:row;flex-wrap:wrap}
 .hero{gap:32px}
}
@media(max-width:700px){
 .shell{padding-left:20px;padding-right:20px}
 .topbar{height:auto;min-height:106px;flex-direction:column;align-items:flex-start;gap:12px;padding-top:16px;padding-bottom:12px}
 .topbar .nav{width:100%;gap:3px;justify-content:space-between;flex-wrap:nowrap;font-size:13px}
 .nav a{padding:8px 9px}
 .hero{grid-template-columns:1fr;padding-top:36px;padding-bottom:36px;gap:28px}
 .hero h1{font-size:44px}
 .hero .lede{font-size:16px}
 .hero-art{display:none}
 .art-card .glyph{font-size:92px}
 .journal-strip{font-size:13px}
 .section,.collections-main{padding-top:32px;padding-bottom:44px}
 .section-head{flex-wrap:wrap;gap:12px}
 .section-head .page-title{font-size:30px}
 .section-head h2{font-size:26px}
 .small-link{font-size:13px}
 .featured{grid-template-columns:1fr}
 .featured-visual{min-height:130px;padding:20px 24px}
 .featured-visual span{font-size:38px;margin:10px 0}
 .featured-text{padding:24px}
 .featured h3{font-size:23px}
 .article-controls{padding:14px;gap:12px;flex-direction:column;align-items:stretch}
 .collection-filter-label{width:100%;font-size:14px}
 .collection-filter-label select{flex:1;max-width:none;min-width:0}
 .search-tools{width:100%;flex-wrap:nowrap}
 .search-tools .search{flex:1;width:0;font-size:16px}
 .search-tools select{max-width:116px}
 .article-row{grid-template-columns:minmax(0,1fr);padding:20px;gap:10px}
 .article-row time{grid-column:1/-1;padding-top:0}
 .article-row h3{font-size:20px}
 .article-row p{font-size:15px}
 .article-row .row-arrow{display:none}
 .archive-section{grid-template-columns:1fr;gap:16px}
 .archive-month{padding:18px 20px}
 .archive-month a{gap:12px}
 .about-inner{grid-template-columns:1fr;gap:18px;padding-top:36px;padding-bottom:36px}
 .contact-section{grid-template-columns:1fr;gap:24px}
 .contact-form{padding:22px}
 .post-page .post-topbar{flex-wrap:wrap;gap:10px 16px;padding:14px 20px;font-size:13px;position:static}
 .post-page .post-topbar>a:first-child{flex-basis:100%;margin:0}
 .post-page main{margin:20px 12px 36px;padding:24px 20px 32px;border-radius:14px}
 .post-page main>article{font-size:16px;line-height:1.95}
 .post-page main>article h2{font-size:24px}
 .post-page main>article h3{font-size:21px}
 .post-page main>article pre{font-size:13px;padding:16px}
 .post-page .summary{font-size:16px}
 .post-page .comment-form{padding:16px}
}
@media(prefers-reduced-motion:reduce){.article-row{transition:none}}

.comments-pagination[hidden]{display:none}
/* 评论区：独立于正文排版，紧凑元信息与固定层级。 */
.post-page .article-comments{margin-top:32px;padding-top:28px;line-height:1.6}
.post-page .comments-heading h2{font-size:24px;line-height:1.5;margin:0}
.comments-heading [data-comments-count]{font-size:13px;font-weight:400;color:#626b63}
.post-page .comments-intro{margin:8px 0 20px}
.post-page .comment-form{padding:18px;gap:12px;background:#f1f4ec;border:1px solid #dce3d5;margin:0 0 24px}
.post-page .comment-form textarea{min-height:112px;line-height:1.7;background:#fffefa}
.comment-compose-bottom{display:flex;align-items:flex-end;gap:12px;min-width:0}
.comment-compose-bottom label{flex:1;max-width:280px;min-width:0}
.comment-compose-bottom [data-comment-length]{margin-left:auto;white-space:nowrap;padding-bottom:12px}
.comment-compose-bottom button{flex-shrink:0}
.post-page .comment-form p{margin:0;font-size:12px;line-height:1.6}
.post-page .comment-form [data-comment-notice]:empty{display:none}
[data-comment-notice][data-state=error]{color:#a44432}
[data-comment-notice][data-state=success]{color:#234737}
.post-page .comment-item{position:relative;padding:20px 0 20px 50px;border-bottom:1px solid #e2e5dc}
.comment-avatar{position:absolute;top:20px;left:0;width:36px;height:36px;display:grid;place-items:center;background:#e9eee4;color:#315146;border:1px solid #dce3d5;border-radius:50%;font-size:15px;font-weight:650}
.post-page .comment-meta{gap:8px 12px;line-height:1.5;font-size:14px}
.post-page .comment-meta strong{font-size:14px;color:#234737}
.post-page .comment-meta time{font-size:12px;color:#626b63;font-weight:400}
.post-page .comment-meta span{font-size:12px;color:#626b63}
.post-page .comment-text{margin:8px 0;font-size:15px;line-height:1.75}
.post-page .comment-actions{gap:8px;line-height:1.4}
.post-page .comment-actions button{min-height:32px;padding:4px 0;color:#315146;font-size:13px}
.post-page .comment-item>button,.post-page .comment-thread>button{font-size:13px;color:#315146}
.post-page .comment-thread{margin:10px 0 0;padding-left:14px;border-color:#dce3d5}
.post-page .comment-thread-item{padding:14px 0 14px 40px}
.comment-thread-item .comment-avatar{top:14px;width:28px;height:28px;font-size:12px}
.post-page .comment-item .comment-form{margin:12px 0 0;padding:14px}
.comment-reply-context{background:#e5ecdf;padding:8px 10px;border-radius:6px;font-size:13px;overflow-wrap:anywhere}
.post-page .comment-reply-context button{min-height:32px;white-space:nowrap;border:0;background:transparent;padding:4px}
.comment-empty{text-align:center;margin:0;padding:28px 12px;color:#626b63;font-size:14px;border-bottom:1px solid #e2e5dc}
.article-comments [hidden]{display:none!important}
@media(max-width:620px){
 .post-page .comments-heading h2{font-size:21px}
 .comments-heading [data-comments-count]{display:block}
 .comment-compose-bottom{flex-wrap:wrap}
 .comment-compose-bottom label{flex-basis:100%;max-width:none}
 .comment-compose-bottom [data-comment-length]{margin-left:0;flex:1;padding-bottom:0}
 .post-page .comment-item{padding-left:42px}
 .comment-avatar{width:30px;height:30px}
 .post-page .comment-thread-item{padding-left:34px}
 .post-page .comment-thread{padding-left:8px}
 .post-page .comment-item .comment-form{margin-left:-42px}
 .post-page .comment-thread-item .comment-form{margin-left:-34px}
 .comment-reply-context{gap:6px}
}

/* 阅读中的目录入口，与回到顶部分开，照顾手机安全区域。 */
.reading-toc-trigger{position:fixed;right:24px;bottom:calc(78px + env(safe-area-inset-bottom,0px));z-index:26;min-height:44px;padding:9px 13px;border:1px solid #bbc6b6;border-radius:22px;background:#fffefa;color:#264b3a;font:600 14px/1.4 system-ui;box-shadow:0 4px 18px #1f332d14;cursor:pointer}
.reading-toc-trigger[hidden]{display:none}
.reading-toc-dialog{box-sizing:border-box;width:min(520px,calc(100vw - 32px));max-height:75vh;max-height:75dvh;padding:0;border:1px solid #d2dbcd;border-radius:16px;background:#fffefa;color:#243b30;box-shadow:0 20px 80px #14251d33}
.reading-toc-dialog::backdrop{background:#17271e66}
.reading-toc-header{position:sticky;top:0;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 18px;background:#fffefa;border-bottom:1px solid #e2e5dc}
.reading-toc-header button{font:inherit;font-size:14px;min-height:44px;padding:8px 14px;border:1px solid #d0d9cf;border-radius:8px;color:#264b3a;background:#fff;cursor:pointer}
.reading-toc-dialog nav{display:grid;padding:10px 14px 16px}
.reading-toc-dialog nav a{padding:11px 10px 11px calc(10px + var(--toc-depth,0)*14px);font:15px/1.6 system-ui;color:#315146;text-decoration:none;overflow-wrap:anywhere;border-radius:8px}
.reading-toc-dialog nav a:hover,.reading-toc-dialog nav a[aria-current=location]{background:#eaf0e4;color:#254b38}
@media(max-width:620px){.post-page .comment-form input,.post-page .comment-form textarea{font-size:16px}.reading-toc-trigger{right:16px}}
