/* KneeDaily 公开网站样式（2026-09-11 整体改版）
   设计规则：一套版式令牌贯穿所有页面；宋体只用于标题与书名，界面与正文用系统黑体；
   浅色页面只用一个动作色（深绿），深色区块只用一个强调色（铜金）；
   同一网格、同一节距、同一组卡片与按钮，不做局部装饰。 */

:root{
  --paper:#f7f5f0;--paper-2:#efebe2;--card:#fdfcf9;
  --ink:#152129;--ink-2:#2f3d45;--muted:#66727a;--faint:#98a2a8;
  --line:#dcd7cc;--line-strong:#c4bdaf;
  --navy:#0c1c28;--navy-2:#13273a;--on-navy:#f4f0e7;--on-navy-muted:#a9b3b8;--on-navy-line:rgba(255,255,255,.14);
  --gold:#cba16a;--gold-2:#e0ba85;--gold-ink:#8a6127;
  --green:#0d665f;--green-2:#0a534d;--green-soft:#e7efe9;
  --serif:"Songti SC",STSong,"Noto Serif CJK SC","Source Han Serif SC","Noto Serif SC",Georgia,SimSun,serif;
  --sans:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans CJK SC",sans-serif;
  --reader-font:17px;
  color-scheme:light;
  font-family:var(--sans);color:var(--ink);background:var(--paper);
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
}
*{box-sizing:border-box}
body{margin:0;font-size:16px;line-height:1.7}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
button,a,input{touch-action:manipulation}
button{cursor:pointer}
button:disabled{cursor:default;opacity:.45}
a,button,input{-webkit-tap-highlight-color:transparent}
a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--green);outline-offset:4px}
img{display:block;max-width:100%;height:auto}
h1,h2,h3,p{margin-top:0}
h1,h2,h3{font-family:var(--serif);font-synthesis:none;font-weight:600;letter-spacing:.01em}
::selection{background:#d9e6df}
.wrap{width:min(1180px,calc(100% - 96px));margin-inline:auto}
.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
[hidden]{display:none!important}
.skip-link{position:fixed;z-index:100;top:-80px;left:20px;padding:12px;background:white}
.skip-link:focus{top:10px}

/* ---------- 通用元件 ---------- */
.eyebrow{font-family:var(--sans);font-size:11px;letter-spacing:.18em;font-weight:600;text-transform:uppercase;color:var(--green);margin:0 0 20px}
.button{display:inline-flex;gap:10px;align-items:center;justify-content:center;padding:0 24px;min-height:48px;font-size:15px;font-weight:500;line-height:1;border-radius:3px;border:1px solid transparent;white-space:nowrap;transition:background .18s,border-color .18s,color .18s}
.button span{color:inherit}
.button-green{background:var(--green);color:#fff}
.button-green:hover{background:var(--green-2)}
.button-outline{border-color:var(--line-strong);color:var(--ink)}
.button-outline:hover{border-color:var(--ink)}
.text-link{color:var(--green);font-size:14px;font-weight:500}
.text-link:hover{color:var(--green-2)}
.dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--green);margin-right:8px;vertical-align:2px}
.empty-state{color:var(--muted);font-size:15px;padding:28px 0 32px;border-top:1px solid var(--line);line-height:1.8}

/* ---------- 页头 ---------- */
.site-header{border-bottom:1px solid var(--line);background:var(--paper)}
.header-inner{height:84px;display:flex;align-items:center;gap:48px}
.wordmark{display:flex;align-items:center;gap:10px;font-family:var(--serif);font-size:22px;letter-spacing:0;font-weight:600;white-space:nowrap}
.brand-mark{font-family:var(--serif);background:var(--navy);color:var(--gold);width:34px;height:36px;display:inline-flex;align-items:center;justify-content:center;font-size:21px;font-weight:500}
.brand-mark span{color:inherit}
.header-inner>nav{display:flex;align-items:center;justify-content:flex-end;gap:34px;font-size:15px;flex:1;white-space:nowrap}
.wordmark-author{font-family:var(--sans);font-size:13px;font-weight:400;letter-spacing:0;color:var(--muted)}
.header-inner nav a{padding:10px 0;color:var(--muted);border-bottom:1px solid transparent;transition:color .18s,border-color .18s}
.header-inner nav a:hover{color:var(--ink)}
.header-inner nav a[aria-current]{color:var(--ink);border-bottom-color:var(--ink)}
.app-link{font-size:13px;font-weight:500;white-space:nowrap;padding:10px 18px;border:1px solid var(--line-strong);border-radius:999px;transition:border-color .18s}
.app-link:hover{border-color:var(--ink)}
.app-link span{margin-left:8px;color:var(--gold-ink)}


/* ---------- 首页：作者与作品（2026-10-01 个人主页） ---------- */
.home-intro{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:72px;padding:64px 0 56px;border-bottom:1px solid var(--line)}
.home-name{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 16px;margin:0 0 10px}
.home-author h1{font-size:58px;line-height:1.15;letter-spacing:.08em;margin:0}
.home-title{font-family:var(--serif);font-size:20px;line-height:1.2;color:var(--ink-2);padding-left:16px;border-left:1px solid var(--line-strong)}
.home-affiliation{font-size:15px;line-height:1.6;color:var(--muted);margin:0 0 22px}
.home-profession{font-family:var(--serif);font-size:20px;line-height:1.7;color:var(--ink-2);max-width:13em;margin:0 0 6px;text-wrap:balance}
.home-scope{font-size:14px;line-height:1.6;color:var(--muted);margin:0 0 22px}
.home-label{font-size:12px;letter-spacing:.08em;font-weight:600;color:var(--green);margin:0 0 16px}
.home-feature .home-label{padding-bottom:16px;border-bottom:1px solid var(--line)}
.home-feature h2{font-size:32px;line-height:1.4;margin:0 0 14px}
.home-feature h2 a:hover,.home-book h3 a:hover,.home-recent-item:hover h3,.home-literature a:hover strong{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
.home-feature-summary{font-size:15px;line-height:1.85;color:var(--muted);max-width:44em;margin:0 0 16px}
.home-heading{display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin:0 0 20px}
.home-heading h2{font-size:22px;margin:0}
.home-heading a{font-size:14px;font-weight:500;color:var(--green);white-space:nowrap}
.home-block{padding:44px 0 48px;border-bottom:1px solid var(--line)}
.home-recent{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;border-top:1px solid var(--line)}
.home-recent-item{display:block;padding-top:22px;min-width:0}
.home-recent-item h3{font-size:19px;line-height:1.6;margin:0;overflow-wrap:anywhere}
.home-books-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 48px}
.home-book{display:grid;grid-template-columns:calc(112px * 2 / 3) minmax(0,1fr);gap:24px;min-width:0;align-items:start}
.home-book img{display:block;width:calc(112px * 2 / 3);height:112px;object-fit:cover;object-position:center;border-radius:3px}
.home-book-copy{display:flex;flex-direction:column;grid-column:2;min-width:0;height:100%}
.home-book h3{font-size:26px;line-height:1.4;margin:0 0 8px;overflow-wrap:anywhere}
.home-book p{font-size:15px;color:var(--muted);margin:0 0 10px}
.home-book .text-link{margin-top:auto;align-self:flex-start}
.home-bottom{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:64px;padding:44px 0 80px}
.home-literature{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.home-literature a{display:block;padding:16px 0;border-bottom:1px solid var(--line)}
.home-literature strong{display:block;font-family:var(--serif);font-size:17px;line-height:1.6;font-weight:500;overflow-wrap:anywhere}
.home-literature span{display:block;margin-top:4px;font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-app{display:grid;grid-template-columns:150px minmax(0,1fr);gap:24px;align-items:start}
.home-app img{width:150px;border:1px solid var(--line);border-radius:18px;box-shadow:0 18px 36px -24px rgba(21,33,41,.35)}
.home-app h2{font-size:22px;margin:4px 0 10px}
.home-app p{font-size:14px;line-height:1.8;color:var(--muted);margin:0 0 14px}
.home-app .home-app-links{display:flex;flex-wrap:wrap;gap:8px 20px;margin:0}
.home-app-links a{font-size:14px;font-weight:500;color:var(--green)}

/* ---------- 书籍卡片与文章列表 ---------- */
.section-title{font-size:34px;line-height:1.25;margin:0}
.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin:0 0 36px}
.section-heading h2{margin:0}
.section-heading>a,.section-link{font-size:14px;font-weight:500;color:var(--green);white-space:nowrap;padding-bottom:6px}
.section-heading>a span{margin-left:6px}
.published-grid,.chapter-card-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:24px}
.chapter-card,.published-card{display:flex;flex-direction:column;gap:14px;background:var(--card);border:1px solid var(--line);padding:30px 30px 28px;transition:border-color .18s,box-shadow .18s}
.chapter-card:hover,.published-card:hover{border-color:var(--green);box-shadow:0 14px 36px rgba(21,33,41,.08)}
.chapter-label{font-size:12px;letter-spacing:.06em;font-weight:600;color:var(--green);margin:0}
.chapter-card h3,.published-card h3{font-size:23px;line-height:1.45;margin:0}
.chapter-card-meta{font-size:12.5px;letter-spacing:.02em;line-height:1.7;color:var(--muted);margin:0}
.chapter-card .text-link,.published-card .text-link{margin-top:auto;align-self:flex-start}
.chapter-card .text-link,.published-card .text-link{padding-top:6px}
.post-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:48px;border-top:1px solid var(--line)}
.post-card{border-bottom:1px solid var(--line);position:relative;min-width:0}
.post-card>a{display:flex;gap:20px;align-items:flex-start;padding:26px 0;height:100%}
.post-card-copy{flex:1;min-width:0}
.post-cover{width:108px;height:81px;flex:none;object-fit:cover;background:var(--paper-2);margin-top:32px}
.post-card a:hover h3{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
.post-card-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;font-size:12px;color:var(--muted);margin-bottom:10px;letter-spacing:.03em}
.post-card-meta>span{color:var(--green)}
.post-card h3{font-size:22px;line-height:1.55;margin-bottom:10px;overflow-wrap:anywhere}
.post-card p{font-size:14px;line-height:1.85;color:var(--muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:0}
.post-card h3:last-child{margin-bottom:0}
.card-arrow{margin-left:auto;color:var(--green);font-size:17px;line-height:1}

/* ---------- 历史记录 ---------- */
.site-history{max-width:940px;margin-top:72px;padding-top:42px;border-top:1px solid var(--line)}
.site-history h2{font-size:30px;margin-bottom:35px}
.history-list{list-style:none;padding:0;margin:0}
.history-event{display:grid;grid-template-columns:130px minmax(0,1fr);gap:35px;position:relative;padding-bottom:32px}
.history-event:last-child{padding-bottom:0}
.history-event time{font-size:13px;line-height:1.8;color:var(--muted);font-variant-numeric:tabular-nums;padding-top:3px}
.history-detail{position:relative;padding-left:30px;border-left:1px solid var(--line);padding-bottom:8px}
.history-detail::before{content:"";position:absolute;left:-4px;top:11px;width:7px;height:7px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 5px var(--paper)}
.history-detail h3{font-family:var(--sans);font-size:17px;line-height:1.7;font-weight:600;margin:0 0 8px}
.history-detail p{font-size:14px;line-height:1.9;color:var(--muted);margin:0;max-width:640px}
.history-detail a{color:var(--green);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.history-detail a:hover{color:var(--ink)}

/* ---------- 页脚 ---------- */
.site-footer{border-top:1px solid var(--line);padding-top:56px;background:var(--paper);color:var(--muted)}
.footer-grid{display:grid;grid-template-columns:minmax(0,1fr) 180px 180px;gap:64px}
.footer-about .wordmark{color:var(--ink)}
.footer-about p{margin:16px 0 0;font-size:14px;line-height:1.8}
.footer-grid nav{display:flex;flex-direction:column;gap:10px;font-size:14px}
.footer-grid nav a:hover{color:var(--green)}
.footer-label{font-size:11px;letter-spacing:.18em;color:var(--gold-ink);font-weight:600;margin-bottom:4px}
.footer-copyright{font-size:12px;padding:44px 0 8px}
.site-footer footer[aria-label="网站备案信息"]{background:transparent!important;padding-top:10px!important;padding-bottom:28px!important}
.site-footer footer[aria-label="网站备案信息"] a{color:var(--muted)!important}
.site-footer footer[aria-label="网站备案信息"] img{display:inline-block}

/* ---------- 列表页、简单页 ---------- */
.page-heading{padding:64px 0 40px;border-bottom:1px solid var(--line);margin-bottom:40px;position:relative}
.page-heading h1{font-size:44px;line-height:1.3;margin:0 0 10px}
.page-heading .eyebrow{margin-bottom:16px}
.page-heading>p:last-child:not(.eyebrow){color:var(--muted);font-size:16px;margin:18px 0 0}
.listing-page{min-height:580px;padding-bottom:80px}
.listing-page .empty-state{border-top:0;padding-top:0}
.filter-tabs{display:flex;flex-wrap:wrap;gap:6px 24px;margin-top:20px;font-size:14px}
.filter-tabs a{padding:6px 0;color:var(--muted);border-bottom:1px solid transparent}
.filter-tabs a:hover{color:var(--ink)}
.filter-tabs a[aria-current]{color:var(--ink);border-bottom-color:var(--ink)}
.search-form{position:absolute;right:0;bottom:44px;display:flex;border-bottom:1px solid var(--line-strong);gap:10px}
.search-form input{background:none;border:0;padding:12px 0;width:200px;color:var(--ink);font-size:14px}
.search-form button{border:0;background:none;color:var(--green);font-size:13px;flex-shrink:0;white-space:nowrap;min-width:44px}
.pagination{display:flex;justify-content:center;align-items:center;gap:24px;padding-top:50px;font-size:14px}
.pagination span{color:var(--muted)}
.simple-page{min-height:590px;padding-bottom:80px}
.simple-page .page-heading{max-width:940px}
.simple-links{display:flex;gap:30px;font-size:14px;color:var(--green);padding-top:35px}
.site-intro-name{font-family:var(--serif);font-size:34px;margin-top:42px}
.contact-copy{line-height:1.9;font-size:15px}
.contact-copy>p{color:var(--muted)}
.contact-email{font-family:var(--serif);font-size:26px;display:block;margin:24px 0;overflow-wrap:anywhere}
.profile-layout{display:flex;gap:48px;max-width:940px;font-size:15px;line-height:1.85}
.profile-layout>div{flex:1;min-width:0}
.profile-portrait{width:210px;height:270px;object-fit:cover}
.profile-role{color:var(--green);font-weight:600}
.profile-credentials{border-top:1px solid var(--line);padding-top:25px;margin-top:25px;color:var(--muted)}
.profile-links{display:flex;gap:22px;margin-top:30px;color:var(--green)}
.project-card{max-width:940px;display:flex;align-items:center;gap:38px;border-bottom:1px solid var(--line);padding:28px 0 35px}
.project-monogram{display:grid;place-items:center;width:138px;height:145px;flex-shrink:0;background:var(--navy);color:var(--gold);font-family:var(--serif);font-size:40px}
.project-card h2{font-size:27px;margin-bottom:12px}
.project-card p{font-size:15px;color:var(--muted);line-height:1.8}
.app-downloads{display:flex;gap:18px;margin:32px 0}
.policy-page{max-width:900px;padding-top:64px;padding-bottom:80px}
.policy-page h1{font-size:38px}

/* ---------- 书籍页 ---------- */
.book-page{padding-block:64px 96px}
.book-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:48px;align-items:end;border-bottom:1px solid var(--line);padding-bottom:40px}
.book-heading h1{font-size:48px;line-height:1.2;margin:0 0 18px}
.book-heading .eyebrow{margin-bottom:18px}
.book-lede{font-size:16px;line-height:1.8;color:var(--muted);max-width:36em;margin:0}
.book-heading-count{text-align:right;color:var(--muted);padding-bottom:4px}
.book-cover{display:block;width:144px;height:144px;margin:0 0 18px auto;border-radius:4px}
/* ACL 封面为白底方图中的 2:3 竖版画面，书页头部居中裁去两侧白边 */
.book-heading-count .book-cover{width:96px;object-fit:cover;object-position:center}
.book-heading-count strong{display:block;font-family:var(--serif);font-size:56px;font-weight:500;line-height:1;color:var(--ink);font-variant-numeric:tabular-nums lining-nums}
.book-heading-count span{display:block;margin-top:8px;font-size:11px;letter-spacing:.16em;white-space:nowrap}
.book-heading-count strong small{font-size:.34em;font-weight:400;color:var(--muted);margin-left:.15em}
.published-section{margin-top:48px}
.published-count{font-size:13px;color:var(--muted);letter-spacing:.04em;white-space:nowrap;font-variant-numeric:tabular-nums}
.published-card .chapter-label,.published-card .chapter-card-meta{margin:0}
.book-layout{display:grid;grid-template-columns:215px minmax(0,1fr);gap:64px;margin-top:40px}
.book-parts{align-self:start;position:sticky;top:32px;display:grid;gap:22px;padding-top:24px}
.book-parts a{font-size:14px;color:var(--muted);line-height:1.6;transition:color .18s}
.book-parts a:hover{color:var(--ink)}
.book-parts span{display:inline-block;color:var(--gold-ink);font-family:var(--serif);font-size:12px;width:28px}
.book-parts-published{color:var(--green)!important;font-weight:600}
.book-parts-published span{color:var(--green)!important;font-size:8px!important;vertical-align:2px}
.catalog-heading{margin-top:72px;margin-bottom:8px}
.catalog-legend{font-size:13px;color:var(--muted);white-space:nowrap}
.catalog-part{padding:16px 0 28px;scroll-margin-top:20px}
.catalog-part h2{font-size:26px;margin:0 0 18px;line-height:1.5}
.catalog-part h2 span{font-family:var(--sans);display:block;font-size:11px;color:var(--green);letter-spacing:.16em;margin-bottom:8px}
.catalog-part-subtitle{font-size:14px;color:var(--muted);margin:-6px 0 14px;line-height:1.7}
.chapter-row{display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:16px;align-items:baseline;border-top:1px solid var(--line);padding:18px 0;font-size:15px;line-height:1.7;color:var(--faint)}
.chapter-number{font-family:var(--serif);font-size:13px;color:var(--faint);font-variant-numeric:tabular-nums}
.chapter-title{display:block;min-width:0}
.chapter-row .chapter-facts{display:block;font-size:12px;color:var(--muted);margin-top:4px;white-space:normal;letter-spacing:.02em}
.chapter-row .chapter-state{font-size:12px;white-space:nowrap;color:var(--faint);justify-self:end}
.chapter-row.available{color:var(--ink)}
.chapter-row.available .chapter-number{color:var(--green)}
.chapter-row.available .chapter-title{font-weight:600}
.chapter-row.available .chapter-state{color:var(--green);font-weight:600;padding:6px 12px;border:1px solid #bcd5c8;border-radius:999px;transition:background .18s,color .18s,border-color .18s}
.chapter-row.available:hover .chapter-state{background:var(--green);color:#fff;border-color:var(--green)}
.book-disclosure{margin-top:56px}

/* ---------- 阅读器与文章页 ---------- */
.reader-toolbar{position:sticky;top:0;z-index:20;background:color-mix(in srgb,var(--paper) 96%,transparent);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.reader-toolbar-inner{height:48px;display:flex;justify-content:space-between;align-items:center;font-size:12px;position:relative}
.reader-toolbar-inner>a{color:var(--muted)}
.reader-tools{display:flex;align-items:center;gap:6px}
.reader-tools button,.reader-tools summary{border:0;border-radius:3px;background:none;color:var(--muted);padding:7px 10px;font-size:12px}
.reader-tools button:hover,.reader-tools summary:hover,.reader-tools button[aria-pressed=true]{background:var(--green-soft);color:var(--green)}
.reader-tools summary{cursor:pointer;list-style:none}
.reader-tools summary::-webkit-details-marker{display:none}
.reader-tools details{position:relative}
.reader-tools .reader-outline-jump{display:none}
.reader-search{position:absolute;right:0;top:38px;background:var(--paper);border:1px solid var(--line);padding:14px;width:310px;display:flex;flex-wrap:wrap;gap:8px;box-shadow:0 8px 20px #0001}
.reader-search input{width:195px;min-width:0;padding:8px;border:1px solid var(--line);background:var(--paper);color:var(--ink);font-size:13px}
.reader-search output{width:100%;font-size:12px;color:var(--muted)}
.reader-progress{position:absolute;bottom:-1px;left:0;right:0;height:2px}
.reader-progress span{display:block;width:0;height:100%;background:var(--green)}
.article-layout{display:grid;grid-template-columns:minmax(0,760px) minmax(160px,1fr);gap:64px;align-items:start;padding-top:56px;padding-bottom:88px;max-width:1100px}
.article-main{min-width:0}
.article-heading{padding-bottom:30px;border-bottom:1px solid var(--line);margin-bottom:32px}
.breadcrumb{font-size:12px;color:var(--green);font-weight:500}
.breadcrumb-trail{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:12px}
.chapter-book-heading{display:flex;align-items:center;gap:16px}
.chapter-book-cover{flex-shrink:0}
.chapter-book-cover img{display:block;width:calc(64px * 2 / 3);height:64px;object-fit:cover;object-position:center;border-radius:3px}
.breadcrumb-sep{color:var(--faint)}
.category{font-size:12px;color:var(--muted);margin-left:15px}
.article-heading h1{font-size:36px;line-height:1.5;margin:22px 0 18px;letter-spacing:.01em}
/* 标题折行均衡，避免窄屏末行只剩一个字 */
.article-heading h1,.post-card h3,.published-card h3,.home-feature h2,.home-recent-item h3{text-wrap:balance}
.article-meta{display:flex;gap:16px;flex-wrap:wrap;font-size:12px;color:var(--muted);letter-spacing:.02em}
.article-summary{color:var(--muted);font-size:16px;line-height:1.85;margin:26px 0 0}
.article-cover{width:100%;max-height:510px;object-fit:cover;margin:0 0 28px}
.chapter-ordinal{font-size:12px;color:var(--green);letter-spacing:.2em;font-weight:600;margin:26px 0 0}
.chapter-ordinal+h1{margin-top:10px}
.chapter-dates{margin-top:20px;font-size:12px;color:var(--muted);display:flex;flex-wrap:wrap;gap:8px 18px;letter-spacing:.02em}
.chapter-dates p{flex-basis:100%;margin:2px 0 0}
.mobile-outline{display:none;margin:0 0 28px;border:1px solid var(--line);background:var(--card)}
.mobile-outline[hidden]{display:none}
.mobile-outline summary{padding:12px 16px;font-size:14px;font-weight:500;color:var(--green);cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center}
.mobile-outline summary::-webkit-details-marker{display:none}
.mobile-outline summary::after{content:"＋";color:var(--muted)}
.mobile-outline[open] summary::after{content:"－"}
.mobile-outline nav{display:grid;gap:2px;padding:4px 16px 14px;border-top:1px solid var(--line)}
.mobile-outline nav a{font-size:14px;line-height:1.6;padding:6px 0;color:var(--ink)}
.reader-outline{position:sticky;top:80px;max-height:calc(100vh - 110px);overflow-y:auto;font-size:12px;scrollbar-width:thin;padding:4px 0 15px;border-left:1px solid var(--line);padding-left:24px}
.reader-outline>p{font-size:11px;color:var(--green);letter-spacing:.16em;font-weight:600;margin-bottom:18px}
.reader-outline nav{display:grid;gap:12px}
.reader-outline nav a{color:var(--muted);line-height:1.65}
.reader-outline nav a:hover,.reader-outline nav a[aria-current]{color:var(--green)}
.reader-outline .outline-level-3{padding-left:12px;font-size:11px}
.reader-outline .outline-level-4,.reader-outline .outline-level-5,.reader-outline .outline-level-6{padding-left:23px;font-size:11px}
.back-top{display:block;font-size:11px;color:var(--green);margin-top:26px}
.outline-chapters{margin-top:34px;padding-top:18px;border-top:1px solid var(--line);display:grid;gap:10px}
.outline-chapters>p{font-size:11px;color:var(--green);letter-spacing:.16em;font-weight:600;margin:0 0 6px}
.outline-chapters a{color:var(--muted);line-height:1.6}
.outline-chapters a[aria-current]{color:var(--ink);font-weight:600}
.outline-chapters .outline-all{color:var(--green);margin-top:4px}
.article-content{font-size:var(--reader-font);line-height:1.85;overflow-wrap:anywhere}
.article-content p{margin-block:0 1.15em}
.article-content h2{font-size:1.45em;margin:2.3em 0 1em;font-weight:600}
.article-content h3{font-size:1.15em;line-height:1.65;margin:1.9em 0 .8em}
.article-content h4{font-size:1.04em;margin:1.7em 0 .7em}
.article-content h2,.article-content h3,.article-content h4,.article-content [id]{scroll-margin-top:80px}
.article-content a{color:var(--green);text-underline-offset:4px;text-decoration:underline;text-decoration-color:#a9c4ba}
.article-content ul,.article-content ol{padding-left:1.6em;margin:1em 0 1.4em}
.article-content li{margin:.45em 0}
.article-content blockquote{margin:1.5em 0;padding:12px 22px;border-left:3px solid #74977f;background:var(--green-soft);color:#4b6054}
.article-content blockquote p:last-child{margin-bottom:0}
.article-content hr{border:0;border-top:1px solid var(--line);margin:2.5em 0}
.article-content img{max-width:100%;margin:1.6em auto}
.article-content pre{font-size:.8em;overflow-x:auto;white-space:pre;background:var(--paper-2);padding:18px;line-height:1.7}
.article-content code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.87em}
.article-content table{width:100%;border-collapse:collapse;font-size:.85em;margin:1.7em 0;display:block;overflow-x:auto}
.article-content th,.article-content td{padding:11px 13px;min-width:85px;vertical-align:top}
/* 表格只留横线；普通文章的主题样式追加在 head 末尾，选择器需高于 .graycat-article th */
.article-content table th,.article-content table td{border:0;border-bottom:1px solid var(--line)}
.article-content table th{border-bottom-color:var(--line-strong)}
.article-content th{background:#e8eee5;text-align:left;font-weight:600}
.article-content .references{margin-top:55px}
.article-content .references ol,.article-content .references ul{list-style:none;padding-left:0;font-size:13px;line-height:1.85}
.article-content .references li{display:flex;gap:14px;margin:0;padding:11px 0;border-bottom:1px solid var(--line)}
.article-content .references li>div{flex:1;min-width:0}
.article-content .references p{margin:0}
.reference-number{color:var(--muted);min-width:28px;font-variant-numeric:tabular-nums}
.article-content .graycat-article{padding:0!important;margin:0!important;width:100%!important;max-width:none!important;background:transparent!important;font-size:var(--reader-font)!important}
.article-sources{border-top:1px solid var(--line);padding-top:30px;margin-top:45px}
.article-sources h2{font-family:inherit;font-size:11px;font-weight:600;letter-spacing:.16em;color:var(--muted);margin-bottom:15px}
.article-sources a{font-size:13px;color:var(--green);margin-right:24px}
.chapter-navigation{display:grid;grid-template-columns:1fr auto 1fr;gap:20px;align-items:start;border-top:1px solid var(--line);margin-top:50px;padding-top:30px;color:var(--green);font-size:13px;line-height:1.9}
.chapter-nav-prev{grid-column:1}
.chapter-nav-index{grid-column:2;align-self:center;padding:8px 14px;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:12px;line-height:1.4}
.chapter-nav-index:hover{color:var(--green);border-color:var(--green)}
.chapter-nav-next{grid-column:3;text-align:right}
.reader-hit{background:#f8df85;color:#253328;scroll-margin-top:100px}
.reader-hit.current{background:#f6ba59;outline:1px solid #b58627}
.reader-bookmark-notice{position:fixed;left:50%;bottom:25px;transform:translateX(-50%);background:var(--navy);color:#f2eadc;font-size:13px;padding:13px 20px;border-radius:3px;z-index:40;box-shadow:0 4px 15px #0002}
html.reader-night{--paper:#12202a;--paper-2:#1a2c38;--card:#172935;--ink:#d4dcd9;--ink-2:#c3ccc9;--muted:#91a29e;--faint:#728480;--line:#2e403f;--line-strong:#3d5251;--green:#9ac8b7;--green-2:#b3d8ca;--green-soft:#203630;color-scheme:dark}
.reader-night .article-content .graycat-article{color:var(--ink)!important}
.reader-night .article-content .graycat-article :is(p,li,h1,h2,h3,h4,strong){color:inherit}
.reader-night .article-content pre,.reader-night .article-content blockquote,.reader-night .article-content th{background:#203630;color:var(--ink)}
.reader-night .article-content td,.reader-night .article-content th{border-color:var(--line)}
.reader-night .reader-tools button:hover,.reader-night .reader-tools button[aria-pressed=true]{background:#263f37;color:var(--green)}

/* ---------- 关于页与访问学者页 ---------- */
.about-intro{border-bottom:1px solid var(--line)}
.about-hero{display:flex;gap:36px;align-items:flex-start;padding:56px 0 40px}
.about-identity{flex:1;min-width:0}
.about-portrait{flex:none;width:80px;height:112px;object-fit:cover;border-radius:2px;margin-top:8px}
.about-identity .eyebrow{margin-bottom:16px}
.about-identity h1{font-size:52px;line-height:1.15;letter-spacing:.04em;margin:0 0 16px;color:var(--ink)}
.about-role{font-size:13px;letter-spacing:.12em;color:var(--green);margin:0 0 10px;font-weight:600}
.about-institution{font-size:17px;color:var(--ink-2);margin:0 0 18px}
.about-headline{font-family:var(--serif);font-size:22px;line-height:1.6;color:var(--ink);margin:0 0 24px;max-width:24em}
.about-links{display:flex;gap:24px;flex-wrap:wrap;font-size:13px;margin-top:0;color:var(--green)}
.about-links a{color:var(--green)}
.about-facts{border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 40px;padding:24px 0 36px;margin-top:0;font-size:13px;line-height:1.7;color:var(--muted)}
.about-facts .dot{background:var(--gold)}
.about-body{display:grid;grid-template-columns:220px minmax(0,760px);gap:80px;padding:72px 0 24px;align-items:start}
.about-rail{position:sticky;top:32px;font-size:14px;color:var(--muted);line-height:1.8}
.rail-label{font-size:11px;letter-spacing:.18em;font-weight:600;color:var(--gold-ink);margin:0 0 14px}
.about-rail>a{display:block;color:var(--green);padding:6px 0;border-top:1px solid var(--line)}
.about-rail>a:last-of-type{border-bottom:1px solid var(--line)}
.rail-note{margin:20px 0 0;font-size:13px;line-height:1.8}
.rail-inline{color:var(--green)}
.profile-bio{counter-reset:sec;font-size:16px;line-height:1.85}
.profile-bio>p:first-child{font-size:18px;line-height:1.8;margin-bottom:1.4em}
.profile-bio h3{counter-increment:sec;font-size:24px;line-height:1.4;font-weight:600;margin:2.4em 0 .9em;display:flex;align-items:baseline;gap:14px}
.profile-bio h3::before{content:counter(sec,decimal-leading-zero);font-family:var(--serif);font-size:12px;letter-spacing:.12em;color:var(--gold-ink)}
.profile-bio table{display:table;width:100%;font-size:14px;margin:1.2em 0 1.4em}
.profile-bio th,.profile-bio td{border:0;border-bottom:1px solid var(--line);padding:12px 12px 12px 0;min-width:0;vertical-align:top}
.profile-bio th{background:transparent;font-size:12px;letter-spacing:.06em;color:var(--muted);font-weight:600}
.profile-bio ul{padding-left:1.15em}
.profile-bio li::marker{color:var(--gold)}
.profile-bio a{color:var(--green)}
.about-history{padding-bottom:80px}
.about-history .site-history{margin-top:24px}
.fellowship-page .page-heading h1{font-size:40px}
.fellowship-intro{max-width:760px;margin-bottom:64px}
.mentor .section-title{font-size:30px;margin-bottom:28px}
.mentor-card{display:grid;grid-template-columns:138px minmax(0,1fr);gap:40px;max-width:940px;align-items:start}
.mentor-card .article-content{font-size:15px}
.fact-list{max-width:940px;margin:36px 0 0;border-top:1px solid var(--line)}
.fact-list>div{display:grid;grid-template-columns:96px minmax(0,1fr);gap:24px;padding:14px 0;border-bottom:1px solid var(--line);font-size:14px;line-height:1.7}
.fact-list dt{color:var(--muted)}
.fact-list dd{margin:0}
.fellowship-note{margin-top:40px;font-size:13px;color:var(--muted)}

/* ---------- 响应式 ---------- */
@media(max-width:1080px){
  .wrap{width:calc(100% - 64px)}
  .header-inner{gap:24px}
  .header-inner>nav{gap:24px}
  .home-intro{gap:48px}
  .home-bottom{gap:40px}
  .book-layout{grid-template-columns:180px minmax(0,1fr);gap:36px}
  .article-layout{gap:32px;grid-template-columns:minmax(0,1fr) 170px}
  .article-heading h1{font-size:32px}
  .reader-outline{padding-left:18px}
  .about-body{grid-template-columns:minmax(0,1fr);gap:40px}
  .about-rail{position:static}
  .about-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .wrap{width:calc(100% - 40px)}
  body{font-size:15px}
  .header-inner{height:auto;min-height:72px;flex-wrap:wrap;gap:0;padding-top:16px}
  .wordmark{font-size:20px}
  .header-inner>nav{width:100%;flex:0 0 100%;order:3;overflow-x:auto;gap:24px;padding:4px 0 6px;font-size:15px;scrollbar-width:none}
  .header-inner nav a{padding:12px 0}
  .header-inner>nav{justify-content:flex-start}
  .wordmark-author{display:none}
  .app-link{margin-left:auto;font-size:13px;padding:10px 16px}
  .button{padding:0 20px;font-size:15px}
  .section-title{font-size:28px}
  .section-heading{margin-bottom:26px;align-items:flex-end}
  .home-intro{grid-template-columns:minmax(0,1fr);gap:36px;padding:36px 0 40px}
  .home-author h1{font-size:44px}
  .home-title{font-size:17px;padding-left:14px}
  .home-affiliation{font-size:14px;margin-bottom:18px}
  .home-profession{font-size:18px}
  .home-feature h2{font-size:26px}
  .home-recent{grid-template-columns:minmax(0,1fr);gap:0}
  .home-recent-item{padding:18px 0;border-bottom:1px solid var(--line)}
  .home-recent-item:last-child{border-bottom:0}
  .home-books-grid{grid-template-columns:minmax(0,1fr);gap:28px}
  .home-book{grid-template-columns:56px minmax(0,1fr);gap:18px}
  .home-book img{width:56px;height:84px}
  .home-book h3{font-size:23px}
  .home-bottom{grid-template-columns:minmax(0,1fr);gap:44px;padding-bottom:56px}
  .home-app{grid-template-columns:110px minmax(0,1fr);gap:18px}
  .home-app img{width:110px;border-radius:14px}
  .published-grid,.chapter-card-list{grid-template-columns:1fr;gap:16px}
  .chapter-card,.published-card{padding:22px;gap:12px}
  .chapter-card h3,.published-card h3{font-size:20px}
  .post-grid{grid-template-columns:1fr}
  .post-card>a{padding:22px 0;gap:16px}
  .post-card h3{font-size:21px}
  .post-card p{font-size:14px;-webkit-line-clamp:3}
  .post-cover{width:84px;height:63px}
  .post-card-meta{font-size:12px;gap:8px 12px}
  .site-history{margin-top:48px;padding-top:30px}
  .site-history h2{font-size:26px;margin-bottom:28px}
  .history-event{grid-template-columns:1fr;gap:6px;padding-left:22px;padding-bottom:28px;border-left:1px solid var(--line)}
  .history-event time{font-size:12px;padding:0}
  .history-detail{border:0;padding:0}
  .history-detail::before{left:-26px;top:-22px}
  .history-detail h3{font-size:16px;margin-bottom:6px}
  .history-detail p{font-size:13px}
  .footer-grid{grid-template-columns:1fr;gap:28px}
  .site-footer{padding-top:40px}
  .footer-copyright{padding-top:28px}
  .page-heading{padding:40px 0 28px;margin-bottom:28px}
  .page-heading h1{font-size:34px}
  .listing-page{min-height:500px;padding-bottom:56px}
  .listing-page .page-heading{padding:28px 0 20px;margin-bottom:0;border-bottom:0}
  .listing-page .page-heading .eyebrow{margin-bottom:10px}
  .listing-page .page-heading h1{font-size:30px}
  .listing-page .page-heading .pagination{justify-content:flex-start;padding-top:14px}
  .listing-page .search-form{margin-top:18px}
  .search-form{position:static;margin-top:24px;width:100%}
  .search-form input{width:100%;min-width:0}
  .simple-page{min-height:540px;padding-bottom:56px}
  .profile-layout{gap:25px;flex-direction:column}
  .profile-portrait{width:160px;height:200px}
  .simple-links{gap:20px;flex-wrap:wrap}
  .project-card{gap:23px;padding-block:20px 28px}
  .project-monogram{width:87px;height:110px;font-size:28px}
  .project-card h2{font-size:23px}
  .project-card p{font-size:14px}
  .app-downloads{gap:12px;flex-wrap:wrap}
  .policy-page{padding-block:40px 60px}
  .book-page{padding-block:40px 64px}
  .book-heading{grid-template-columns:1fr;gap:20px;padding-bottom:28px}
  .book-heading h1{font-size:36px}
  .book-heading-count{text-align:left;display:flex;align-items:baseline;gap:12px}
  .book-heading-count strong{font-size:40px}
  .book-heading-count span{margin-top:0}
  .book-cover{width:96px;height:96px;margin:0 8px 0 0}
  .book-heading-count .book-cover{width:64px}
  .book-heading-count{align-items:center}
  .published-section{margin-top:32px}
  .book-layout{display:block;margin-top:12px}
  .book-parts{display:none}
  .catalog-heading{margin-top:48px}
  .catalog-legend{white-space:normal}
  .catalog-part{padding-top:24px}
  .catalog-part h2{font-size:24px}
  .chapter-row{font-size:14px;gap:10px;grid-template-columns:26px minmax(0,1fr) auto;padding:16px 0}
  .chapter-row.available .chapter-state{font-size:11px;padding:5px 9px}
  .article-layout{display:block;padding-top:32px;padding-bottom:60px}
  .reader-outline{display:none}
  .mobile-outline{display:block}
  .article-heading h1{font-size:28px;line-height:1.5;margin-top:18px}
  .article-summary{font-size:15px}
  .article-content{line-height:1.9}
  .article-content h2{font-size:1.35em}
  .article-content h3{font-size:1.12em}
  .article-content .references ol,.article-content .references ul{font-size:12px}
  .article-content .references li{gap:8px}
  .reader-toolbar-inner{height:46px}
  .reader-toolbar-inner>a{font-size:11px}
  .reader-tools{gap:1px}
  .reader-tools button,.reader-tools summary{font-size:11px;padding:7px}
  .reader-tools .reader-outline-jump:not([hidden]){display:inline-block}
  .article-meta{gap:10px;font-size:11px}
  .chapter-dates{font-size:11px;line-height:1.6}
  .chapter-ordinal{font-size:11px}
  .chapter-navigation{grid-template-columns:1fr;gap:12px}
  .chapter-nav-prev,.chapter-nav-index,.chapter-nav-next{grid-column:auto;text-align:left}
  .chapter-nav-index{justify-self:start}
  .reader-search{width:290px;right:-5px}
  .reader-search input{width:177px}
  .about-hero{flex-direction:column;gap:20px;padding:40px 0 28px}
  .about-portrait{width:80px;height:112px;margin-top:0}
  .about-identity h1{font-size:40px}
  .about-headline{font-size:19px}
  .about-facts{grid-template-columns:1fr;gap:12px;padding:20px 0 28px}
  .about-body{padding:48px 0 16px}
  .profile-bio{font-size:15px}
  .profile-bio>p:first-child{font-size:17px}
  .profile-bio h3{font-size:21px}
  .profile-bio table{display:table;font-size:13px}
  .profile-bio th,.profile-bio td{padding:10px 8px 10px 0}
  .about-history{padding-bottom:56px}
  .fellowship-page .page-heading h1{font-size:30px}
  .mentor-card{grid-template-columns:1fr;gap:20px}
  .fact-list>div{grid-template-columns:1fr;gap:4px}
}
@media(max-width:420px){
  .article-heading h1{font-size:26px}
  .reader-toolbar-inner>a{max-width:75px;white-space:nowrap;overflow:hidden}
  .reader-tools button,.reader-tools summary{padding-inline:6px}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media print{
  .site-header,.site-footer,.reader-toolbar,.reader-outline,.chapter-navigation,.mobile-outline{display:none!important}
  .wrap{width:100%}
  .article-layout{display:block;padding:0}
  .article-content{font-size:11pt}
  .article-heading h1{font-size:23pt}
  a{color:inherit!important;text-decoration:none!important}
  .article-content table{display:table}
  body{background:white;color:black}
  .article-content img{max-height:90vh}
}

/* Approved book chapters and independently published sections. */
.catalog-chapter {border-top:1px solid var(--line, #d9e0dd);padding:0;margin:0}
.catalog-chapter > summary {display:flex;align-items:center;gap:16px;padding:22px 0;cursor:pointer;list-style:none}
.catalog-chapter > summary::-webkit-details-marker {display:none}
.catalog-chapter > summary:focus-visible {outline:2px solid currentColor;outline-offset:4px}
.catalog-chapter .chapter-title {flex:1;min-width:0}
.catalog-toggle {font-size:24px;transition:transform .15s}
.catalog-chapter[open] .catalog-toggle {transform:rotate(180deg)}
.catalog-chapter-body {padding:0 0 22px 56px}
.catalog-chapter-link {display:inline-block;margin:0 0 16px;font-size:14px}
.catalog-sections {list-style:none;padding:0;margin:0}
.catalog-sections > li {padding:16px 0;border-top:1px solid var(--line, #d9e0dd)}
.catalog-section-line {display:grid;grid-template-columns:3.5em minmax(0,1fr);gap:12px;line-height:1.7}
.section-number {font-variant-numeric:tabular-nums;color:#667570}
.section-article {font-weight:650;text-decoration:underline;text-underline-offset:4px}
.section-planned {display:block;color:#6c7671;font-size:12px;margin-top:4px}
.catalog-subtopics {margin:10px 0 0;padding-left:1.3em;font-size:14px;color:#5f6a65}
.catalog-chapter-page {max-width:1000px}
@media(max-width:640px){.catalog-chapter > summary{gap:10px;padding:18px 0}.catalog-chapter-body{padding-left:0}.catalog-section-line{grid-template-columns:2.8em minmax(0,1fr);gap:8px}.catalog-sections>li{padding:14px 0}}
.catalog-chapter .chapter-title {font-size:18px;font-weight:600;line-height:1.55}
.catalog-chapter .chapter-number {font-size:16px;min-width:2em;font-variant-numeric:tabular-nums;color:#52645b}
.catalog-chapter .chapter-facts {display:block;font-size:13px;font-weight:400;line-height:1.65;margin:6px 0 0;color:#667570}

/* A single calm, scrolling entry for public updates. */
.home-notice{margin:0 0 24px;border:1px solid #dce5e1;background:#edf3ef;border-radius:12px;color:#244b42}
.home-notice[hidden]{display:none}
.home-notice-link{display:flex;align-items:center;gap:12px;min-height:48px;padding:12px 16px;color:inherit;text-decoration:none}
.home-notice-link:hover{background:rgba(255,255,255,.35);border-radius:12px}
.home-notice-link:focus-visible{outline:3px solid #3d7667;outline-offset:3px}
.home-notice-icon{flex:0 0 12px;font-size:24px;text-align:center}
.home-notice-copy{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:10px;row-gap:3px;min-width:0;flex:1}
.home-notice-label{font-size:.8em;font-weight:500;white-space:nowrap;opacity:.85}
.home-notice-title{font-size:.95em;font-weight:500;overflow-wrap:anywhere}
.home-notice-greeting{flex-basis:100%;font-size:.8em;opacity:.85}
.home-notice-arrow{font-size:24px;flex:none}
.home-notice--memorial{background:#efefec;border-color:#deded8;color:#414744}
.collection-date-filter{margin:0 0 24px;color:#56645d;font-size:.9rem}
@media(max-width:640px){.home-notice{margin-bottom:20px}.home-notice-link{padding:11px 12px;gap:8px}.home-notice-copy{display:block}.home-notice-label{display:block;margin-bottom:3px}.home-notice-greeting{display:block;margin-top:4px}}
