/* Shared reading pages: the same quiet, personal visual language as the feed. */
:root{color-scheme:light;--bg:#fff;--text:#262626;--muted:#595959;--soft:#f5f5f5;--line:#ededed;--accent:#d33b34;--avatar:#f1e8e0;--avatar-ink:#906149}
:root[data-theme=dark]{color-scheme:dark;--bg:#191919;--text:#f1f1f1;--muted:#c0c0c0;--soft:#262626;--line:#383838;--accent:#ff8d83;--avatar:#46372e;--avatar-ink:#f0c9ae}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Arial,'Noto Sans CJK SC','Microsoft YaHei',sans-serif;-webkit-text-size-adjust:100%;line-height:1.65}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer;color:inherit}button,a,input{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--accent)}button{border:0}svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}img{max-width:100%}[hidden]{display:none!important}
.site-shell{margin-left:210px;padding:0 42px 0 22px;max-width:1350px}.sidebar{position:fixed;inset:0 auto 0 0;width:210px;padding:30px 24px;display:flex;flex-direction:column;background:var(--bg);z-index:10}.wordmark{font-size:32px;font-weight:900;letter-spacing:-1px;padding:0 10px;color:var(--accent);line-height:1.2}.wordmark>span,.mobile-logo>span{font-size:12px;letter-spacing:0;color:var(--muted);margin-left:7px;font-weight:400}.sidebar nav{display:grid;gap:10px;margin-top:47px}.sidebar nav a{padding:15px 17px;border-radius:28px;display:flex;align-items:center;gap:14px;font-size:15px;white-space:nowrap}.sidebar nav a:hover,.sidebar nav .selected{background:var(--soft)}.sidebar nav .selected{font-weight:600}.sidebar nav svg{width:22px;height:22px;flex-shrink:0}.sidebar-bottom{display:flex;gap:10px;align-items:center;margin-top:auto;font-size:14px}.sidebar-bottom small{display:block;color:var(--muted);font-size:12px}.author-avatar{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:var(--avatar);color:var(--avatar-ink);font:bold italic 26px Georgia;padding-bottom:4px;flex-shrink:0}
.topbar{height:100px;display:flex;align-items:center;justify-content:space-between;gap:20px}.topbar-search{display:flex;align-items:center;gap:12px;background:var(--soft);color:var(--muted);font-size:14px;border-radius:24px;padding:10px 18px;width:min(420px,80%)}.topbar-search svg{width:20px;height:20px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:var(--soft)}.icon-button svg{width:19px;height:19px}.mobile-logo{display:none}.skip-link{position:fixed;left:230px;top:-90px;background:var(--bg);padding:12px;z-index:30}.skip-link:focus{top:6px}
main{min-height:65vh}.page-intro{margin:18px 0 28px}.eyebrow{font-size:12px;letter-spacing:1px;color:var(--muted);font-weight:500;margin:0 0 12px}.page-intro h1,.about-layout h1{font-size:34px;letter-spacing:-1px;line-height:1.4;margin:0 0 12px;font-weight:700}.accent{color:var(--accent)}.page-intro>p:last-child{font-size:15px;color:var(--muted);margin:0}.search-panel{margin-bottom:20px}.search-panel>label{display:block;font-size:13px;font-weight:600;margin-bottom:8px}.search-field{max-width:520px;display:flex;align-items:center;gap:12px;border-radius:12px;background:var(--soft);padding:0 15px}.search-field>span{font-size:25px;color:var(--muted)}.search-field input{height:46px;min-width:0;width:100%;border:0;background:transparent;color:var(--text);font-size:15px}.search-field input::placeholder{color:var(--muted);opacity:1}.search-field kbd{color:var(--muted);font-size:13px}.filter-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:23px 0 15px}.filter-tabs button{padding:9px 18px;border-radius:25px;font-size:14px;background:transparent;color:var(--muted)}.filter-tabs button.selected,.filter-tabs button:hover{background:var(--soft);color:var(--text);font-weight:600}.tag-filters{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:12px;color:var(--muted)}.tag-filters>span{margin-right:5px}.tag-filters button{background:transparent;border:1px solid var(--line);border-radius:20px;padding:5px 11px;font-size:12px;color:var(--muted)}.tag-filters button[aria-pressed=true]{border-color:var(--accent);color:var(--accent)}.tag-filters button:disabled{opacity:.65;cursor:default}.result-count{font-size:13px;color:var(--muted);margin:25px 0 17px}
.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 22px}.post-card{min-width:0}.post-cover{display:block;position:relative;aspect-ratio:1.35;border-radius:13px;overflow:hidden;background:var(--soft)}.post-cover img{width:100%;height:100%;object-fit:cover;display:block}.post-cover>span{position:absolute;right:10px;top:10px;border-radius:20px;background:#fffffff0;color:#444;padding:3px 9px;font-size:12px}.post-card-copy{padding:14px 7px 3px}.post-top{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:12px}.post-number{font-size:12px}.post-card h3{font-size:17px;line-height:1.65;margin:8px 0;font-weight:600}.post-card h3 a:hover{color:var(--accent)}.post-card p{font-size:14px;line-height:1.85;color:var(--muted);margin:0 0 14px}.post-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);font-size:12px}.post-bottom i{font-style:normal;margin:0 4px}.arrow-link{font-size:20px;width:30px;text-align:center}.empty-state{text-align:center;background:var(--soft);border-radius:16px;padding:45px 20px;margin:30px 0}.empty-state h2{font-size:22px}.empty-state p{color:var(--muted);font-size:14px}.primary-link{display:inline-flex;align-items:center;gap:24px;background:var(--accent);color:var(--bg);border-radius:24px;padding:10px 20px;font-weight:600;font-size:14px;margin-top:14px}
.article{max-width:760px;margin:15px auto 50px}.back-link{font-size:13px;color:var(--muted)}.article-header{margin:30px 0 34px;padding-bottom:28px;border-bottom:1px solid var(--line)}.article-header .eyebrow{color:var(--accent)}.article-header h1{font-size:36px;line-height:1.5;letter-spacing:-.7px;margin:12px 0 15px;overflow-wrap:anywhere}.article-deck{font-size:17px;color:var(--muted);line-height:1.9;margin:0 0 22px}.article-meta{display:flex;align-items:center;flex-wrap:wrap;gap:13px;font-size:13px;color:var(--muted)}.article-meta .author-avatar{width:30px;height:30px;font-size:23px}.article-body{font-size:17px;line-height:2;color:var(--text);overflow-wrap:anywhere}.article-body p{margin:0 0 24px}.article-body h2{font-size:24px;line-height:1.6;margin:40px 0 17px}.article-body h3{font-size:20px;line-height:1.6;margin:30px 0 14px}.article-body ul,.article-body ol{padding-left:26px;margin:0 0 25px}.article-body li{padding-left:4px;margin-bottom:7px}.article-body a{color:var(--accent);text-decoration:underline;text-underline-offset:4px}.article-body blockquote{margin:28px 0;padding:18px 22px;border-left:3px solid var(--accent);background:var(--soft);border-radius:0 12px 12px 0;color:var(--muted)}.article-body pre{overflow-x:auto;max-width:100%;padding:22px;border-radius:12px;background:var(--soft);line-height:1.8;font-size:14px;white-space:pre}.article-body code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;background:var(--soft);border-radius:4px;padding:2px 5px;font-size:.88em}.article-body pre code{padding:0;background:none;font-size:inherit}.article-body img{display:block;border-radius:12px;margin:24px auto;height:auto}.article-tags{display:flex;gap:10px;flex-wrap:wrap;margin:35px 0}.article-tags a{font-size:13px;color:var(--muted);background:var(--soft);padding:6px 13px;border-radius:20px}.article-tags a:hover{color:var(--accent)}.article-navigation{border-top:1px solid var(--line);padding-top:24px;display:flex;justify-content:space-between;gap:25px;font-size:14px}.article-navigation a:last-child{text-align:right;max-width:65%}
.about-layout{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:55px;max-width:950px;margin:25px auto 60px}.about-layout h1{font-size:36px;line-height:1.5}.about-lead{font-size:17px;color:var(--muted);margin:0 0 36px}.about-body h2{font-size:20px;margin:30px 0 12px}.about-body p{font-size:16px;line-height:2;margin:0 0 20px}.demo-note{font-size:13px!important;color:var(--muted);line-height:1.85}.about-aside{background:var(--soft);align-self:start;border-radius:18px;padding:30px 24px;text-align:center;margin-top:32px}.monogram{width:104px;height:104px;border-radius:50%;background:var(--avatar);color:var(--avatar-ink);font:bold italic 81px Georgia;margin:0 auto 23px;padding-bottom:12px;display:flex;align-items:center;justify-content:center}.about-aside>p{font-size:14px;color:var(--muted)}.about-aside>span{font-size:14px;font-weight:600}.about-aside hr{border:0;border-top:1px solid var(--line);margin:23px 0}
footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:14px;border-top:1px solid var(--line);padding:23px 0 32px;margin-top:55px;font-size:12px;color:var(--muted)}footer>div{display:flex;gap:20px}footer a:hover{color:var(--accent)}
@media(min-width:1500px){.site-shell{margin-right:auto;padding-right:65px}}
@media(max-width:1050px){.sidebar{width:175px;padding:30px 15px}.sidebar nav a{font-size:13px;padding:14px;gap:12px}.site-shell{margin-left:175px;padding:0 25px 0 15px}.post-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px}.about-layout{gap:30px;grid-template-columns:minmax(0,1fr) 180px}.about-aside{padding:25px 15px}.about-layout h1{font-size:32px}}
@media(max-width:650px){.site-shell{margin:0;padding:0 18px}.sidebar{position:static;width:auto;display:block;padding:0;margin:0 -3px;background:var(--bg)}.sidebar>.wordmark,.sidebar-bottom{display:none}.sidebar nav{margin:0;display:flex;gap:3px;justify-content:space-between;padding:0 0 14px;overflow-x:auto}.sidebar nav a{font-size:13px;gap:7px;padding:9px 11px}.sidebar nav svg{width:17px;height:17px}.topbar{height:74px;gap:12px}.mobile-logo{display:block;font-size:26px;font-weight:900;color:var(--accent);letter-spacing:-1px;white-space:nowrap}.mobile-logo>span{font-size:11px;margin-left:5px}.topbar-search{margin-left:auto;width:38px;height:38px;justify-content:center;overflow:hidden;font-size:0;padding:9px;flex-shrink:0}.topbar-search svg{flex-shrink:0}.icon-button{width:36px;height:36px}.site-shell{display:flex;flex-direction:column}.topbar{order:-2}.sidebar{order:-1}.skip-link{left:15px}.page-intro{margin:18px 0 25px}.page-intro h1{font-size:28px}.page-intro>p:last-child{font-size:14px}.filter-tabs{gap:3px}.filter-tabs button{padding:8px 12px;font-size:13px}.search-field input{font-size:15px}.post-grid{gap:27px 14px}.post-cover{aspect-ratio:1.1;border-radius:11px}.post-cover>span{right:7px;top:7px;font-size:12px;padding:2px 6px}.post-card-copy{padding:11px 2px 0}.post-card h3{font-size:15px;line-height:1.7;margin:7px 0}.post-card p{font-size:13px;line-height:1.8}.post-bottom{font-size:12px;flex-wrap:wrap;gap:2px}.arrow-link{font-size:18px;width:22px}.post-number{display:none}.result-count{margin-top:24px}.article{margin:18px auto 35px}.article-header{margin:24px 0 27px;padding-bottom:24px}.article-header h1{font-size:27px;line-height:1.55;letter-spacing:-.4px}.article-deck{font-size:16px}.article-meta{font-size:12px;gap:10px}.article-body{font-size:16px;line-height:2}.article-body h2{font-size:22px;margin-top:32px}.article-body h3{font-size:19px}.article-body pre{font-size:13px;padding:16px}.article-navigation{font-size:13px;gap:18px}.about-layout{display:flex;flex-direction:column;gap:25px;margin-top:20px}.about-layout h1{font-size:29px}.about-lead{font-size:16px;margin-bottom:28px}.about-aside{margin:0;width:100%;display:none}footer{margin-top:40px;padding-bottom:25px;line-height:1.8}.primary-link{font-size:14px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
/* Keep all four destinations visible, including 320px reading screens. */
@media(max-width:650px){.sidebar nav svg{display:none}.sidebar nav a{justify-content:center;flex:1;padding:9px 7px}.sidebar nav{overflow:visible}}
