/* 帖子页面独立样式：正文尺寸与卡片布局不影响软件模块。 */
.nav-links a[aria-current=page]{color:var(--text)}.posts-main{flex:1;padding-bottom:64px}.posts-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:67px 0 38px;position:relative}.posts-hero:before{content:"";position:absolute;inset:-20px 0 0;pointer-events:none;z-index:-1;background:radial-gradient(ellipse 360px 180px at 5% 0,color-mix(in srgb,var(--accent) 4.3%,transparent),transparent)}.posts-eyebrow{display:flex;align-items:center;gap:9px;font:500 10px Inter,sans-serif;letter-spacing:2px;color:var(--accent)}.posts-eyebrow:before{content:"";width:16px;height:1px;background:var(--accent)}.posts-hero h1{font-size:38px;letter-spacing:-1.6px;font-weight:600;line-height:1.45;margin:14px 0 11px}.posts-hero p{margin:0;font-size:13px;color:var(--text-2)}.post-filters{display:flex;gap:8px;align-items:center;flex-wrap:wrap;border-bottom:1px solid var(--line);padding:0 0 23px;margin-bottom:29px}.post-filter{border:1px solid transparent;background:none;border-radius:8px;color:var(--text-2);padding:7px 16px;font-size:12px;transition:color .2s,border-color .2s,background .2s}.post-filter:hover{color:var(--text)}.post-filter[aria-pressed=true]{border-color:color-mix(in srgb,var(--fg) 7.8%,transparent);background:color-mix(in srgb,var(--fg) 2.7%,transparent);color:var(--text)}.post-order-note{margin-left:auto;color:var(--muted);font-size:11px}.post-feed{min-height:260px}.post-feature{display:grid;grid-template-columns:1.05fr 1fr;overflow:hidden;margin-bottom:27px;transition:border-color .2s,transform .2s}.post-feature:hover{border-color:color-mix(in srgb,var(--fg) 15.7%,transparent);transform:translateY(-3px)}.post-cover-link{display:block;overflow:hidden;min-width:0}.post-cover{height:100%;min-height:150px;position:relative;overflow:hidden;display:grid;place-items:center;background:radial-gradient(ellipse at 18% 20%,color-mix(in srgb,var(--accent) 6.3%,transparent),transparent 65%),radial-gradient(ellipse at 100% 90%,color-mix(in srgb,var(--accent) 7.5%,transparent),transparent 60%),var(--surface)}.post-cover:before{content:"";position:absolute;inset:0;background-image:linear-gradient(color-mix(in srgb,var(--fg) 1.2%,transparent) 1px,transparent 1px),linear-gradient(90deg,color-mix(in srgb,var(--fg) 1.2%,transparent) 1px,transparent 1px);background-size:32px 32px;mask-image:linear-gradient(140deg,var(--bg),transparent)}.post-cover:after{content:"";position:absolute;width:80px;height:80px;border:1px solid color-mix(in srgb,var(--fg) 3.9%,transparent);transform:rotate(-16deg);border-radius:17px}.post-cover img{position:absolute;inset:0;height:100%;width:100%;object-fit:cover;z-index:1;transition:transform .4s}.post-cover-link:hover img{transform:scale(1.025)}.cover-placeholder{z-index:1;position:relative;letter-spacing:3px;font:500 9px Inter,sans-serif;color:var(--muted)}.post-card-body{min-width:0;padding:34px 35px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.post-tags{display:flex;flex-wrap:wrap;gap:7px}.post-tags:empty{display:none}.post-tag{font-size:10px;line-height:1.7;color:var(--text-2);border:1px solid color-mix(in srgb,var(--fg) 4.3%,transparent);background:color-mix(in srgb,var(--fg) 1.2%,transparent);border-radius:5px;padding:2px 8px}.post-tag:hover{border-color:color-mix(in srgb,var(--accent) 25.1%,transparent);color:var(--text-2)}.post-card-title{font-size:22px;line-height:1.65;font-weight:500;letter-spacing:-.5px;margin:15px 0 10px;overflow-wrap:anywhere}.post-card-title a:hover{color:var(--accent)}.post-card-excerpt{color:var(--text-2);font-size:12px;line-height:1.95;margin:0 0 23px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.post-card-meta{display:flex;align-items:center;gap:16px;flex-wrap:wrap;color:var(--muted);font-size:10px}.post-author{display:inline-flex;align-items:center;gap:8px;color:var(--text-2);font-size:11px;max-width:100%;min-width:0}.post-author>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:180px}.post-author:hover{color:var(--text)}.post-avatar{width:23px;height:23px;border-radius:50%;font-size:9px}.post-comment-count{margin-left:auto;white-space:nowrap}.post-stream-item{display:flex;gap:29px;align-items:center;padding:27px 0;border-bottom:1px solid var(--line)}.post-stream-item .post-cover-link{width:182px;flex-shrink:0;align-self:stretch;border:1px solid var(--line);border-radius:12px}.post-stream-item .post-cover{min-height:126px}.post-stream-item .post-card-body{padding:0;flex:1}.post-stream-item .post-card-title{font-size:17px;margin:9px 0 6px}.post-stream-item .post-card-excerpt{-webkit-line-clamp:2;margin-bottom:15px}.post-stream-item .post-card-meta{width:100%}.posts-more{text-align:center;margin-top:30px}.posts-loading{height:270px;margin-bottom:22px;border-radius:16px}.posts-loading-line{height:125px;margin-bottom:18px;border-radius:12px}.posts-empty{padding:62px 20px;text-align:center}.posts-empty h2{font-size:19px;font-weight:500;margin:0 0 12px}.posts-empty p{font-size:12px;color:var(--muted);margin:0 0 23px}.posts-retry{margin-top:14px}
.post-publish-main{padding:30px 0 60px;flex:1;max-width:1000px}.post-publish-heading{margin:33px 0 27px}.post-publish-heading h1{font-size:30px;line-height:1.5;letter-spacing:-1px;font-weight:600;margin:0 0 8px}.post-publish-heading p{font-size:12px;color:var(--text-2);margin:0}.post-publish-layout{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:25px;align-items:start}.post-editor-panel{padding:30px;min-width:0}.post-editor-panel fieldset{border:0;padding:0;margin:0;min-width:0}.post-title-input{font-size:16px;height:49px}.tag-options{display:flex;gap:9px;flex-wrap:wrap}.tag-option{position:relative;display:inline-flex}.tag-option input{position:absolute;opacity:0;width:1px;height:1px}.tag-option span{display:inline-flex;gap:7px;align-items:center;border:1px solid var(--line);border-radius:7px;padding:6px 13px;font-size:11px;color:var(--text-2);transition:all .2s;cursor:pointer}.tag-option span:before{content:"+";color:var(--muted)}.tag-option input:checked+span{border-color:color-mix(in srgb,var(--accent) 31.4%,transparent);background:color-mix(in srgb,var(--accent) 3.9%,transparent);color:var(--accent)}.tag-option input:checked+span:before{content:"✓";color:var(--accent)}.tag-option input:focus-visible+span{outline:2px solid var(--accent);outline-offset:3px}.post-editor-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}.post-editor-modes{display:flex;gap:2px;background:var(--bg);border:1px solid var(--line);border-radius:7px;padding:3px}.post-editor-modes button{border:0;background:none;border-radius:4px;padding:3px 11px;font-size:10px;color:var(--muted)}.post-editor-modes button[aria-pressed=true]{background:color-mix(in srgb,var(--fg) 3.9%,transparent);color:var(--text)}textarea.post-markdown-input{min-height:440px;max-height:none;font:12px/2 var(--font-mono);padding:18px;tab-size:2;white-space:pre-wrap}.post-editor-preview{min-height:440px;padding:10px 0}.post-editor-foot{display:flex;justify-content:space-between;gap:12px}.post-cover-picker{border:1px dashed color-mix(in srgb,var(--fg) 9.4%,transparent);border-radius:11px;overflow:hidden;background:var(--bg)}.post-cover-picker .post-cover{height:160px;min-height:0}.post-cover-picker .post-cover:after{display:none}.post-cover-actions{padding:13px 15px;display:flex;gap:14px;align-items:center;justify-content:space-between}.post-file{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.post-submit-row{border-top:1px solid var(--line);margin-top:26px;padding-top:23px;display:flex;align-items:center;justify-content:space-between;gap:18px}.post-submit-row p{font-size:10px;color:var(--muted);margin:0}.post-publish-aside{padding:23px;background:var(--surface)}.post-publish-aside h2{font-size:13px;font-weight:500;margin:0 0 16px}.post-publish-aside p{font-size:11px;line-height:2;color:var(--muted);margin:0 0 18px}.post-publish-aside p:last-child{margin-bottom:0}.post-publish-aside code{color:var(--text-2);font-size:10px}.post-publish-aside hr{border:0;border-top:1px solid var(--line);margin:20px 0}
.post-detail-main{flex:1;padding:30px 0 65px}.post-detail-wrap{width:min(100%,880px);margin-inline:auto}.post-heading{width:min(100%,720px);margin:47px auto 0}.post-heading h1{font-size:38px;font-weight:600;line-height:1.55;letter-spacing:-1.4px;overflow-wrap:anywhere;margin:18px 0 25px}.post-byline{display:flex;align-items:center;gap:17px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:28px;margin-bottom:35px;font-size:11px;color:var(--muted)}.post-byline .post-author{font-size:12px;color:var(--text-2);gap:10px}.post-byline .post-avatar{width:34px;height:34px;font-size:12px}.post-read-note{margin-left:auto;font-size:10px}.post-detail-cover{aspect-ratio:16/8.5;border:1px solid var(--line);border-radius:15px;overflow:hidden;margin:0 0 37px}.post-detail-cover .post-cover{min-height:100%;height:100%}.post-body{width:100%;max-width:720px;margin-inline:auto;font-size:15px;line-height:1.9;letter-spacing:.05px;color:var(--text-2);overflow-wrap:anywhere}.post-body>:first-child{margin-top:0}.post-body>:last-child{margin-bottom:0}.post-body p{margin:0 0 23px}.post-body h2,.post-body h3,.post-body h4,.post-body h5,.post-body h6{color:var(--text);font-weight:500;line-height:1.65;letter-spacing:-.5px;scroll-margin-top:28px}.post-body h2{font-size:25px;margin:48px 0 20px}.post-body h3{font-size:20px;margin:35px 0 17px}.post-body h4,.post-body h5,.post-body h6{font-size:17px;margin:28px 0 15px}.post-body strong{font-weight:600;color:var(--text)}.post-body em{color:var(--text-2)}.post-body a{color:var(--accent);text-decoration:underline;text-decoration-color:color-mix(in srgb,var(--accent) 25.1%,transparent);text-underline-offset:4px}.post-body a:hover{text-decoration-color:color-mix(in srgb,var(--accent) 66.7%,transparent)}.post-body ul,.post-body ol{padding-left:25px;margin:0 0 25px;list-style:revert}.post-body li{padding-left:4px;margin:8px 0}.post-body li>p{margin-bottom:11px}.post-body li ul,.post-body li ol{margin:10px 0 14px}.post-body blockquote{position:relative;margin:30px 0;padding:17px 23px;border:1px solid color-mix(in srgb,var(--fg) 2.7%,transparent);border-left:0;border-radius:0 10px 10px 0;background:color-mix(in srgb,var(--fg) 1.2%,transparent);color:var(--text-2);font-size:15px}.post-body blockquote:before{content:"";position:absolute;left:0;top:0;bottom:0;width:2px;background:linear-gradient(var(--accent),var(--accent))}.post-body blockquote p:last-child{margin-bottom:0}.post-body pre{position:relative;background:var(--surface);border:1px solid color-mix(in srgb,var(--fg) 6.3%,transparent);border-radius:12px;padding:45px 21px 21px;margin:28px 0;max-width:100%;overflow-x:auto;font:12px/1.85 ui-monospace,SFMono-Regular,Consolas,monospace;tab-size:2;letter-spacing:0;white-space:pre;overflow-wrap:normal}.post-body pre code{display:block;min-width:0;padding:0;border:0;background:none;color:var(--text);font:inherit;white-space:pre;overflow:visible}.post-body .code-language{position:absolute;left:21px;top:13px;font:10px/1.5 Inter,sans-serif;color:var(--muted)}.post-body :not(pre)>code{padding:2px 6px;font:12px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;background:color-mix(in srgb,var(--fg) 2.4%,transparent);border:1px solid color-mix(in srgb,var(--fg) 4.3%,transparent);border-radius:5px;color:var(--text-2);overflow-wrap:anywhere}.post-body img{display:block;max-width:100%;height:auto;margin:27px auto;border:1px solid var(--line);border-radius:10px}.post-body hr{border:0;border-top:1px solid var(--line);margin:39px 0}.post-table-scroll{overflow-x:auto;max-width:100%;margin:26px 0}.post-body table{border-collapse:collapse;min-width:100%;font-size:12px;line-height:1.9}.post-body th,.post-body td{border:1px solid var(--line);padding:11px 15px;text-align:left;min-width:95px}.post-body th{background:color-mix(in srgb,var(--fg) 1.6%,transparent);color:var(--text);font-weight:500}.post-body .hljs{background:none}
.post-afterword{max-width:720px;margin:52px auto 0;border-top:1px solid var(--line);padding-top:31px}.post-section-heading{display:flex;justify-content:space-between;gap:14px;align-items:center;margin:0 0 20px}.post-section-heading h2{font-size:16px;font-weight:500;margin:0;letter-spacing:-.3px}.post-section-heading>a{font-size:10px;color:var(--accent)}.post-software-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.post-software-card{border:1px solid var(--line);border-radius:13px;background:var(--card);padding:18px;min-width:0;transition:border-color .2s,transform .2s}.post-software-card:hover{border-color:color-mix(in srgb,var(--fg) 15.7%,transparent);transform:translateY(-3px)}.post-software-icon{width:36px;height:36px;border-radius:10px;font-size:14px;margin-bottom:15px}.post-software-card h3{font-size:13px;font-weight:500;margin:0 0 6px;overflow-wrap:anywhere}.post-software-card p{font-size:10px;line-height:1.9;color:var(--muted);overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0 0 16px;overflow-wrap:anywhere}.post-software-card>span:last-child{font-size:10px;color:var(--text-2)}.post-neighbors{display:grid;grid-template-columns:1fr 1fr;gap:14px;max-width:720px;margin:35px auto 0}.post-neighbor{border:1px solid var(--line);border-radius:12px;padding:18px 20px;min-width:0;transition:border-color .2s}.post-neighbor:hover{border-color:color-mix(in srgb,var(--fg) 15.7%,transparent);background:color-mix(in srgb,var(--fg) 0.8%,transparent)}.post-neighbor small{display:block;font-size:10px;color:var(--muted);margin-bottom:7px}.post-neighbor span{font-size:12px;line-height:1.9;color:var(--text-2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.post-neighbor.next{text-align:right;grid-column:2}.post-comments{max-width:720px;margin:46px auto 0;border-top:1px solid var(--line);padding-top:31px}.post-comments-title{font-size:17px;font-weight:500;margin:0}.post-comments-title span{font:11px Inter,sans-serif;color:var(--muted);margin-left:9px}.comment-sort{font-size:10px;color:var(--muted)}.comment-login{border:1px solid var(--line);background:color-mix(in srgb,var(--fg) 0.8%,transparent);padding:20px;text-align:center;border-radius:12px;color:var(--text-2);font-size:12px;margin:23px 0}.comment-login a{color:var(--accent)}.comment-form{padding:20px;border-radius:13px;border:1px solid var(--line);background:var(--surface);margin:22px 0 14px}.comment-form label{display:block;font-size:11px;margin-bottom:10px;color:var(--text-2)}.comment-form textarea{background:var(--bg);min-height:100px;max-height:320px;font-size:12px}.comment-submit-row{margin-top:13px;display:flex;justify-content:space-between;align-items:center;gap:10px}.comment-submit-row span{font-size:10px;color:var(--muted)}.comment-item{display:flex;gap:13px;padding:24px 0;border-bottom:1px solid var(--line);min-width:0}.comment-item>.avatar{width:31px;height:31px;border-radius:50%;font-size:11px}.comment-copy{flex:1;min-width:0}.comment-meta{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:7px}.comment-meta a{font-size:12px;font-weight:500;color:var(--text-2);overflow-wrap:anywhere}.comment-meta time{font-size:10px;color:var(--muted)}.comment-content{margin:0;font-size:12px;line-height:1.95;color:var(--text-2);white-space:pre-wrap;overflow-wrap:anywhere}.comments-empty{font-size:12px;line-height:1.9;padding:23px 0;color:var(--muted)}.post-inline-state{font-size:12px;color:var(--text-2);line-height:1.9}.post-detail-loading{max-width:720px;margin:45px auto;display:grid;gap:22px}.post-detail-loading .skeleton{height:19px}.post-detail-loading .skeleton:first-child{height:45px;width:85%}.post-detail-loading .skeleton:last-child{height:250px;margin-top:20px;border-radius:12px}.post-detail-error{text-align:center;padding:80px 20px}.post-detail-error h1{font-size:25px;font-weight:500}.post-detail-error p{font-size:12px;color:var(--text-2);margin-bottom:25px}.post-status-notice{max-width:720px;margin:25px auto 0}
@media(min-width:1024px){.post-feature .post-cover{min-height:315px}}@media(max-width:900px){.post-card-body{padding:26px}.post-card-title{font-size:19px}.post-card-meta{gap:11px}.post-comment-count{margin-left:0}.post-publish-layout{grid-template-columns:minmax(0,1fr)}.post-publish-aside{display:none}}
@media(max-width:640px){.posts-hero{padding:40px 0 28px;gap:18px;align-items:flex-start}.posts-hero h1{font-size:29px;margin-top:12px;letter-spacing:-1px}.posts-hero p{font-size:11px;max-width:235px}.posts-hero>.button{font-size:10px;min-height:36px;padding-inline:12px;margin-top:30px;flex-shrink:0}.posts-eyebrow{font-size:9px}.post-order-note{display:none}.post-filters{gap:4px;padding-bottom:19px;margin-bottom:23px}.post-filter{padding:6px 12px;font-size:11px}.post-feature{grid-template-columns:1fr;margin-bottom:7px}.post-feature .post-cover{aspect-ratio:16/8.5;min-height:0}.post-card-body{padding:23px}.post-card-title{font-size:19px;margin:13px 0 9px}.post-card-excerpt{font-size:11px;margin-bottom:20px}.post-card-meta{gap:12px;font-size:9px}.post-author{font-size:10px}.post-tag{font-size:9px;padding:2px 7px}.post-stream-item{gap:17px;padding:24px 0;align-items:flex-start}.post-stream-item .post-cover-link{width:92px;align-self:flex-start;border-radius:9px}.post-stream-item .post-cover{min-height:88px}.post-stream-item .cover-placeholder{font-size:6px;letter-spacing:.5px}.post-stream-item .post-card-title{font-size:14px;line-height:1.7;margin:8px 0}.post-stream-item .post-card-excerpt{font-size:10px;line-height:1.85;margin-bottom:12px}.post-stream-item .post-card-meta{gap:7px 12px}.post-stream-item .post-author{flex-basis:100%}.post-stream-item .post-avatar{width:19px;height:19px;font-size:8px}.post-stream-item .post-cover:after{width:44px;height:44px;border-radius:10px}.post-publish-main{padding-top:23px}.post-publish-heading{margin:25px 0 23px}.post-publish-heading h1{font-size:25px}.post-publish-heading p{font-size:11px}.post-editor-panel{padding:22px 19px}.post-title-input{font-size:14px}.post-editor-foot{flex-wrap:wrap;gap:0}.post-editor-foot .field-note{font-size:9px}textarea.post-markdown-input{min-height:370px;font-size:11px;padding:14px}.post-submit-row{align-items:flex-start;flex-direction:column}.post-submit-row .button{width:100%}.post-cover-actions{padding:12px;gap:7px}.post-detail-main{padding-top:22px}.post-heading{margin-top:32px}.post-heading h1{font-size:28px;line-height:1.6;letter-spacing:-.8px;margin:16px 0 21px}.post-byline{gap:13px;padding-bottom:24px;margin-bottom:28px}.post-read-note{margin-left:0}.post-detail-cover{margin-bottom:28px;border-radius:11px}.post-body{font-size:14px;line-height:1.9}.post-body p{margin-bottom:21px}.post-body h2{font-size:22px;margin-top:36px}.post-body h3{font-size:18px;margin-top:29px}.post-body blockquote{font-size:13px;padding:14px 18px;margin:25px 0}.post-body pre{font-size:11px;padding:40px 16px 17px;margin:23px 0}.post-body .code-language{left:16px;top:12px}.post-body :not(pre)>code{font-size:11px}.post-afterword{margin-top:37px;padding-top:26px}.post-section-heading h2{font-size:14px}.post-software-grid{grid-template-columns:1fr;gap:10px}.post-software-card{display:grid;grid-template-columns:36px minmax(0,1fr) auto;column-gap:13px;padding:16px;align-items:center}.post-software-icon{grid-column:1;grid-row:1/3;margin:0}.post-software-card h3{grid-column:2;margin:0 0 3px}.post-software-card p{grid-column:2;grid-row:2;margin:0;-webkit-line-clamp:1}.post-software-card>span:last-child{grid-column:3;grid-row:1/3}.post-neighbors{gap:10px;margin-top:26px}.post-neighbor{padding:14px}.post-neighbor span{font-size:11px}.post-comments{margin-top:33px;padding-top:26px}.comment-form{padding:16px}.comment-submit-row span{font-size:9px}.comment-sort{font-size:9px}.comment-item{padding:21px 0;gap:11px}.comment-item>.avatar{width:27px;height:27px;font-size:10px}.comment-content{font-size:11px}.comment-meta a{font-size:11px}.posts-main{padding-bottom:35px}}
