:root{--bg: #ffffff;--sidebar: #f8fafc;--text: #111827;--muted: #64748b;--faint: #94a3b8;--line: #e2e8f0;--line-soft: #edf2f7;--active: #020617;--link: #2563eb;--content: 46rem;--sidebar-width: 24.25rem;--font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;--font-mono: "SF Mono", "Menlo", "Cascadia Code", ui-monospace, monospace}*{box-sizing:border-box}html{font-size:16px;-webkit-text-size-adjust:100%}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font-sans);line-height:1.65;letter-spacing:0;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}a{color:inherit;text-decoration:none}a:hover{color:var(--text)}img{max-width:100%}.archive-shell{min-height:100vh;display:grid;grid-template-columns:var(--sidebar-width) minmax(0,1fr)}.archive-sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;border-right:1px solid var(--line);background:var(--sidebar);overflow:hidden}.sidebar-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:3.15rem;padding:0 1.25rem;border-bottom:1px solid var(--line)}.sidebar-title{color:var(--text);font-size:.92rem;font-weight:700}.sidebar-header span{color:var(--faint);font-size:.78rem;white-space:nowrap}.post-list{flex:1;overflow-y:auto;padding:.85rem}.post-item{display:block;padding:.72rem .8rem;border-radius:7px;color:var(--text)}.post-item+.post-item{margin-top:.16rem}.post-item:hover{background:#eef2f7}.post-item.is-active{background:var(--active);color:#fff}.post-item-title{display:-webkit-box;overflow:hidden;color:inherit;font-size:.9rem;font-weight:650;line-height:1.38;-webkit-box-orient:vertical;-webkit-line-clamp:2}.post-item-meta{display:block;margin-top:.3rem;color:var(--muted);font-size:.78rem;line-height:1.35}.post-item.is-active .post-item-meta{color:#ffffff9e}.reader-pane{min-width:0;padding:clamp(3rem,8vw,6rem) clamp(1.5rem,8vw,7rem)}.article-view{max-width:var(--content);margin:0 auto}.article-header{margin-bottom:1.85rem}.article-header h1{margin:0;color:#030712;font-size:clamp(2rem,4vw,3rem);font-weight:760;line-height:1.12;letter-spacing:-.02em}.article-meta-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:.85rem}.article-meta{margin:0;color:var(--faint);font-size:.96rem;line-height:1.5}.article-actions{flex:0 0 auto;display:inline-flex;align-items:center;gap:.5rem}.source-button{flex:0 0 auto;display:inline-flex;align-items:center;min-height:2rem;padding:.32rem .72rem;border:1px solid var(--line);border-radius:7px;background:#fff;color:#334155;font-family:inherit;font-size:.86rem;font-weight:600;line-height:1;cursor:pointer;-webkit-appearance:none;appearance:none}.source-button:hover{border-color:#cbd5e1;background:#f8fafc;color:#0f172a}.article-summary{margin:1.35rem 0 0;padding:.85rem 1rem;border-left:3px solid #cbd5e1;background:#f8fafc;color:#475569;font-size:1rem;line-height:1.72}.article-summary p{margin:0}.empty-state{max-width:var(--content);margin:0 auto}.empty-state h1{margin:0 0 .65rem;font-size:2rem;line-height:1.2}.empty-state p{margin:0;color:var(--muted)}.prose{color:var(--text);font-size:1.04rem;line-height:1.78}.prose>*:first-child{margin-top:0}.prose p{margin:0 0 1.05rem}.prose h1,.prose h2,.prose h3,.prose h4{color:#030712;font-weight:720;line-height:1.28;letter-spacing:-.01em}.prose h1{margin:2.4rem 0 .85rem;font-size:1.75rem}.prose h2{margin:2.35rem 0 .75rem;font-size:1.36rem}.prose h3{margin:1.8rem 0 .55rem;font-size:1.14rem}.prose h4{margin:1.35rem 0 .45rem;font-size:1rem}.prose a{color:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.18em}.prose strong,.prose b{font-weight:720}.prose ul,.prose ol{margin:.55rem 0 1.05rem;padding-left:1.45rem}.prose li{margin:.25rem 0;padding-left:.1rem}.prose blockquote{margin:1.3rem 0;padding:.2rem 0 .2rem 1rem;border-left:3px solid var(--line);color:#475569}.prose blockquote p:last-child{margin-bottom:0}.prose .bi-zh{margin:.5rem 0 1.15rem;padding:.7rem .95rem;border-left:3px solid #dc2626;border-radius:0 6px 6px 0;background:#fef4f4;color:#3f3f46;font-size:.97rem;line-height:1.85}.prose .bi-zh>*:first-child{margin-top:0}.prose .bi-zh>*:last-child{margin-bottom:0}html.hide-zh .bi-zh{display:none}.prose img{display:block;max-width:100%;height:auto;margin:1.6rem auto;border-radius:8px}.prose hr{height:1px;margin:2.2rem 0;border:0;background:var(--line)}.prose code{padding:.12em .32em;border:1px solid var(--line);border-radius:4px;background:#f8fafc;color:#0f172a;font-family:var(--font-mono);font-size:.86em}.prose pre{margin:1.45rem 0;padding:1rem 1.1rem;overflow-x:auto;border:1px solid var(--line);border-radius:8px;background:#f8fafc!important;font-size:.88rem;line-height:1.65}.prose pre code{padding:0;border:0;background:transparent;font-size:inherit}.prose table{display:block;width:100%;margin:1.45rem 0;overflow-x:auto;border-collapse:collapse;font-size:.9rem}.prose th,.prose td{min-width:9rem;padding:.55rem .7rem;border:1px solid var(--line);text-align:left;vertical-align:top}.prose th{background:#f8fafc;color:#0f172a;font-weight:650}@media(max-width:900px){.archive-shell{grid-template-columns:1fr}.archive-sidebar{position:relative;height:auto;max-height:22rem;border-right:0;border-bottom:1px solid var(--line)}.post-list{padding:.65rem}.reader-pane{padding:2.25rem 1.25rem 4rem}}@media(max-width:560px){.sidebar-header{padding:0 1rem}.article-header h1{font-size:1.85rem}.article-meta{font-size:.88rem}.article-meta-row{align-items:flex-start;flex-direction:column;gap:.7rem}.prose{font-size:1rem}}
