/* Generated from web/frontend/css/v1-post.css by node scripts/build-web.mjs. Do not edit. */
.v1-post-ad[hidden],.v1-post-gallery [hidden]{display:none!important}
.hg-page--post-detail .pd-load-more[hidden]{display:none!important}
.v1-post-ad{margin:20px 0}
.v1-post-ssp{position:relative;margin:0 0 12px}
.v1-post-ssp:last-child{margin-bottom:0}
.v1-post-ssp>.hg-ssp-slot{display:block;width:100%;max-width:none;aspect-ratio:7/2;min-height:0;border-radius:10px;overflow:hidden}
.v1-post-ssp>.v1-post-ad-label{z-index:3;pointer-events:none}
/* 同轮播：SDK 已画 [data-ssp-label] 时藏掉站内右上角这枚。 */
.v1-post-ssp:has([data-ssp-label])>.v1-post-ad-label{display:none}
.v1-post-ad>button{position:relative;display:block;width:100%;padding:0;border:0;background:none;cursor:pointer;aspect-ratio:7/2;overflow:hidden;border-radius:10px}
.v1-post-ad img{display:block;width:100%;height:100%;object-fit:cover}
.v1-post-ad-label{position:absolute;right:8px;top:8px;padding:2px 6px;background:#000a;color:#fff;border-radius:4px;font-size:12px}
.v1-post-actions{display:flex;gap:16px;flex-wrap:wrap;margin:16px 0}
.v1-post-mobile{display:none}
.article-body img[role=button]{cursor:zoom-in}
.article-body img[role=button]:focus-visible{outline:2px solid var(--color-primary,#f43f8e);outline-offset:4px}
.v1-post-gallery{box-sizing:border-box;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border:0;padding:12px;background:#101116;color:#fff;overflow:hidden}
.v1-post-gallery::backdrop{background:#000e}
.v1-post-gallery-tools{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;min-height:56px}
.v1-post-gallery-tools button{padding:8px 12px;border:1px solid #ffffff60;border-radius:6px;color:inherit;background:#25262d;cursor:pointer;font:inherit}
.v1-post-gallery-tools button:disabled{opacity:.35;cursor:default}
.v1-post-gallery-stage{height:calc(100% - 90px);display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:none;user-select:none}
.v1-post-gallery-stage img{max-width:100%;max-height:100%;object-fit:contain;transform-origin:center;flex:none}
@media(max-width:1023px){
 body.hg-page--post-detail{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
 .hg-post-detail .v1-post-actions{display:none}
 .v1-post-mobile{position:fixed;left:0;right:0;bottom:0;z-index:1000;display:flex;align-items:center;gap:10px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:#18191f;border-top:1px solid #ffffff25;color:#fff}
 .v1-post-mobile>.v1-post-actions{display:flex!important;flex:1;flex-wrap:nowrap;justify-content:space-around;gap:8px;margin:0}
 .v1-post-mobile [data-post-comment]{min-width:72px;flex:1;border:1px solid #ffffff30;border-radius:18px;padding:8px;color:inherit;background:#ffffff0a;font:inherit;white-space:nowrap}
 .v1-post-mobile .hg-post-detail__action{padding:2px;font-size:12px;flex-direction:column;gap:2px}
 .v1-post-mobile .hg-post-detail__action .num{display:none}
 .v1-post-mobile details{position:relative}
 .v1-post-mobile summary{list-style:none;cursor:pointer;padding:10px 4px;font-size:20px;line-height:1}
 .v1-post-mobile summary::-webkit-details-marker{display:none}
 .v1-post-mobile details>button{position:absolute;bottom:42px;right:0;min-width:72px;background:#25262d;padding:12px;border-radius:8px}
 #postCommentInput{scroll-margin-bottom:100px}
}
/* P05 content structure; retain the existing theme. */
.hg-page--post-detail .hg-post-detail__tags .v1-post-tag-label{min-width:0;height:auto;padding:0;border:0;background:none;color:inherit;font-weight:400}
.hg-page--post-detail .hg-post-detail__nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.hg-page--post-detail .hg-post-detail__nav-item{min-height:0;aspect-ratio:auto;justify-content:flex-start;align-items:flex-start;padding:16px;gap:8px;overflow-wrap:anywhere}
.hg-page--post-detail .hg-post-detail__nav-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hg-page--post-detail .hg-post-detail__composer{display:flex;flex-wrap:wrap;flex-direction:row;align-items:center;gap:12px}
.hg-page--post-detail .hg-post-detail__composer>textarea{width:100%;box-sizing:border-box;padding:12px;min-height:120px;border-radius:0}
.hg-page--post-detail .pd-char-count{position:static;flex:1;pointer-events:auto}
.hg-page--post-detail .hg-post-detail__submit.hg-post-detail__submit{position:static;align-self:auto;margin:0;min-width:0;width:auto;flex:none;padding:0 20px}
.hg-page--post-detail .hg-post-detail__submit:disabled{opacity:.6;cursor:progress}
.hg-page--post-detail .v1-post-comment-footer{margin-top:8px;font-size:13px;color:#959595}
.hg-page--post-detail .hg-post-detail__comment-main{min-width:0;overflow-wrap:anywhere}
.hg-page--post-detail .hg-post-detail__body pre,.hg-page--post-detail .hg-post-detail__body table{display:block;max-width:100%;overflow:auto}
.hg-page--post-detail .hg-post-detail__body iframe,.hg-page--post-detail .hg-post-detail__body video{max-width:100%}
@media(max-width:1023px){
 .hg-page--post-detail .v1-post-mobile>.v1-post-actions{flex:0 1 auto;min-width:0}
 .hg-page--post-detail .v1-post-mobile [data-post-comment]{flex:1 1 0;min-width:0;overflow:hidden;text-overflow:ellipsis}
 .hg-page--post-detail .v1-post-mobile .hg-post-detail__action{min-width:32px;min-height:40px;height:auto}
 .hg-page--post-detail .v1-post-mobile details>button{min-height:44px}
}
/* Batch 148: PC post detail, Figma 210:9944. Scope excludes accepted feed pages. */
@media(min-width:1024px){
 .hg-page--post-detail .hg-body,.hg-page--post-detail .hg-main{width:100%;max-width:none;min-width:0;margin:0;padding:0}
 .hg-page--post-detail .hg-main>.main{box-sizing:border-box;width:min(1450px,calc(100% - 64px));max-width:none;margin:0 auto;padding:24px 0 80px}
 .hg-page--post-detail .hg-breadcrumb{margin:0 0 24px;padding:0;display:flex;gap:8px;font-size:13px;line-height:18px;color:#ffffff80}
 .hg-page--post-detail .hg-breadcrumb>*{min-width:0;color:inherit}
 .hg-page--post-detail .v1-post-columns{display:flex;align-items:flex-start;gap:34px}
 .hg-page--post-detail .hg-post-detail{display:flex;flex-direction:column;gap:22px;margin:0;padding:0;width:0;min-width:0;max-width:none}
 .hg-page--post-detail .hg-post-detail__main{margin:0;padding:0;display:flex;flex-direction:column;gap:22px}
 .hg-page--post-detail .hg-post-detail__title{margin:0;font-size:34px;font-weight:600;line-height:1.25}
 .hg-page--post-detail .hg-post-detail__meta{gap:12px;margin:0;min-height:38px;flex-wrap:wrap;font-size:12px;color:#ffffff80}
 .hg-page--post-detail .hg-post-detail__author{gap:12px;font-size:13px;color:#ffffffb3}
 .hg-page--post-detail .hg-post-detail__author .pd-ava{width:38px;height:38px}
 .hg-page--post-detail .hg-post-detail__follow{padding:6px 10px;min-height:0;height:auto;border-radius:999px;font-size:12px;line-height:17px}
 .hg-page--post-detail .hg-post-detail__rule{display:none}
 .hg-page--post-detail .hg-post-detail__body{margin:0;gap:22px;font-size:15px;line-height:1.8;color:#ffffffb3}
 .hg-page--post-detail .hg-post-detail__body p{margin:0;font-size:15px;line-height:1.8;color:inherit}
 .hg-page--post-detail .hg-post-detail__body img,.hg-page--post-detail .post-video-player{border-radius:14px}
 .hg-page--post-detail .hg-post-detail__keywords{margin:0;font-size:13px}
 .hg-page--post-detail .hg-post-detail__tags{margin:0;gap:8px}
 .hg-page--post-detail .hg-post-detail__tags a,.hg-page--post-detail .hg-post-detail__tags span:not(.v1-post-tag-label){min-width:0;height:auto;padding:6px 10px;font-size:12px;line-height:17px;font-weight:400;color:#ffffffb3;background:#ffffff0d;border:1px solid #ffffff1f}
 .hg-page--post-detail .v1-post-actions{margin:0;gap:12px}
 .hg-page--post-detail .hg-post-detail__action{height:auto;min-width:0;padding:10px 11px;gap:4px;border:1px solid #ffffff1f;border-radius:8px;background:#ffffff0d;color:#ffffffb3;font-size:13px;font-weight:400;line-height:17px}
 .hg-page--post-detail .hg-post-detail__nav{margin:0;gap:16px}
 .hg-page--post-detail .hg-post-detail__nav-item{min-height:0;padding:16px;gap:6px;background:#151516;border:1px solid #2a2a2e;border-radius:14px}
 .hg-page--post-detail .hg-post-detail__nav-label{font-size:11px;line-height:17px;color:#ffffff80}
 .hg-page--post-detail .hg-post-detail__nav-title{font-size:13px;line-height:20px;font-weight:600}
 .hg-page--post-detail .hg-post-detail__related,.hg-page--post-detail .hg-post-detail__comments{margin:0;display:flex;flex-direction:column;gap:18px}
 .hg-page--post-detail .hg-section-header{margin:0}
 .hg-page--post-detail .hg-section-title{gap:12px}
 .hg-page--post-detail .hg-section-title h2{font-size:26px;font-weight:600;line-height:36px}
 .hg-page--post-detail .hg-section-accent{width:4px;height:26px}
 .hg-page--post-detail .hg-post-detail__related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 18px;margin:0}
 .hg-page--post-detail .hg-post-detail__rel-card{display:flex;flex-direction:column;gap:12px;padding:0;background:none;border:0;border-radius:0;overflow:hidden}
 .hg-page--post-detail .hg-post-detail__rel-cover{height:auto;aspect-ratio:349/208;border-radius:12px;overflow:hidden}
 .hg-page--post-detail .hg-post-detail__rel-cover img{width:100%;height:100%;object-fit:cover}
 .hg-page--post-detail .hg-post-detail__rel-body{padding:0;display:flex;flex-direction:column;gap:12px}
 .hg-page--post-detail .hg-post-detail__rel-body h3{font-size:16px;line-height:1.45;font-weight:600;margin:0}
 .hg-page--post-detail .hg-post-detail__rel-meta{font-size:12px;line-height:17px;color:#ffffff80;margin:0;justify-content:space-between}
 .hg-page--post-detail #postCommentNickname:empty{display:none}
 .hg-page--post-detail .comment-nickname{margin:0!important;color:#ffffff80}
 .hg-page--post-detail .comment-nickname label{display:flex;gap:12px;align-items:center}
 .hg-page--post-detail .comment-nickname label[hidden]{display:none}
 .hg-page--post-detail .comment-nickname input{width:214px!important;height:36px;padding:8px!important;border:1px solid #2a2a2e!important;border-radius:5px!important;background:#ffffff1f!important;font-size:13px}
 .hg-page--post-detail .comment-nickname>span:empty{display:none}
 .hg-page--post-detail .hg-post-detail__composer{box-sizing:border-box;height:155px;min-height:155px;padding:18px;border:1px solid #2a2a2e;border-radius:14px;background:#151516;gap:0;align-content:space-between}
 .hg-page--post-detail .hg-post-detail__composer>textarea{height:64px;min-height:64px;resize:none;padding:0;border:0;border-radius:0;background:transparent;font-size:13px;line-height:20px;box-shadow:none}
 .hg-page--post-detail .hg-post-detail__composer>textarea::placeholder{color:#ffffff80;opacity:1}
 .hg-page--post-detail .pd-char-count{font-size:12px;color:#ffffff4d}
 .hg-page--post-detail .hg-post-detail__submit.hg-post-detail__submit{padding:9px 16px;height:auto;border-radius:8px;font-size:12px;line-height:17px}
 .hg-page--post-detail .hg-post-detail__comment{padding:16px 0;gap:14px;border-bottom:1px solid #2a2a2e}
 .hg-page--post-detail .hg-post-detail__comment-main p{font-size:14px;line-height:1.6}
 .hg-page--post-detail .pd-load-more{height:auto;line-height:20px;padding:10px 18px;border-radius:8px;font-size:13px}
 /* Keep both cards below the fixed 146px header; scroll within short viewports. */
 .hg-page--post-detail .v1-post-sidebar{width:330px;flex:none;margin:0;display:flex;flex-direction:column;gap:var(--v1-post-rank-gap,16px);position:sticky;top:162px;align-self:flex-start;max-height:calc(100dvh - 178px);overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin}
 .hg-page--post-detail .v1-post-sidebar>section{flex-shrink:0}
 .hg-page--post-detail .hg-post-detail__main>.article-body{margin-top:var(--v1-post-body-offset,0px)}
 .hg-page--post-detail .v1-post-author-card,.hg-page--post-detail .v1-post-sidebar .v1-post-rank{box-sizing:border-box;width:100%;margin:0;padding:20px;border:1px solid #2a2a2e;border-radius:14px;background:#151516}
 .hg-page--post-detail .v1-post-author-card{display:flex;flex-direction:column;gap:12px}
 .hg-page--post-detail .v1-post-author-card .pd-ava,.hg-page--post-detail .v1-post-author-card .pd-ava img{width:52px;height:52px}
 .hg-page--post-detail .v1-post-author-text{display:flex;flex-direction:column;gap:5px;min-width:0}
 .hg-page--post-detail .v1-post-author-text strong{font-size:16px;font-weight:600;color:#fff}
 .hg-page--post-detail .v1-post-author-text>span{font-size:12px;line-height:1.45;color:#ffffff80}
 .hg-page--post-detail .v1-post-author-links{display:flex;gap:8px;margin:0}
 .hg-page--post-detail .v1-post-author-links>a,.hg-page--post-detail .v1-post-author-links>button{padding:8px 14px;font-size:12px;border-radius:8px;line-height:17px}
 .hg-page--post-detail .v1-post-rank h2{font-size:17px;font-weight:600;margin:0 0 14px}
 .hg-page--post-detail .v1-post-rank ol{list-style:none;padding:0;margin:0;display:grid;gap:10px}
 .hg-page--post-detail .v1-post-rank li{display:flex;min-width:0;gap:10px;margin:0;font-size:13px;line-height:20px}
 .hg-page--post-detail .v1-post-rank li::before{content:attr(value);width:20px;height:20px;flex:none;text-align:center;border-radius:4px;background:#ffffff0d;color:#ffffff80}
 .hg-page--post-detail .v1-post-rank li a{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
}
body.hg-layout.hg-page--post-detail [data-api-notice]{width:min(1450px,calc(100% - 64px));margin:0 auto;border-radius:12px;overflow:hidden}
.hg-page--post-detail .hg-announce__tag{display:flex;align-items:center;gap:7px;flex:none;color:#ff7d00;border-right:1px solid #38383d;padding-right:14px;font-size:13px;white-space:nowrap}
.hg-page--post-detail .hg-announce__viewport{flex:1;min-width:0;overflow:hidden;white-space:nowrap}
.hg-page--post-detail .hg-announce__run{display:flex;width:max-content;gap:16px;animation:v1-announce-scroll var(--hg-announce-duration,22s) linear infinite}
.hg-page--post-detail .hg-announce__close{flex:none;color:#888;font-size:22px}
@media(max-width:1023px){body.hg-layout.hg-page--post-detail [data-api-notice]{width:calc(100% - 32px)}.hg-page--post-detail .hg-announce__tag span{display:none}}
@media(min-width:1024px){
 .hg-page--post-detail .hg-post-detail__comments>div{margin-top:0;margin-bottom:0}
 .hg-page--post-detail .comment-nickname input{display:block}
 .hg-page--post-detail .v1-post-rank li a{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .hg-page--post-detail .v1-post-rank>p:empty{display:none}
 .hg-page--post-detail .v1-post-rank>a{display:inline-block;margin-top:14px;font-size:12px;color:#ffffff80}
}
@media(min-width:1024px){
 .hg-page--post-detail .v1-post-actions [data-action="like"]::before,.hg-page--post-detail .v1-post-actions [data-action="collect"]::before,.hg-page--post-detail .v1-post-actions [data-action="share"]::before{content:"";width:16px;height:16px;flex:none;background:currentColor;mask:var(--post-action-icon) center/contain no-repeat}
 .hg-page--post-detail .v1-post-actions [data-action="like"]{--post-action-icon:url('/static/web/images/figma/post148/like.svg')}
 .hg-page--post-detail .v1-post-actions [data-action="collect"]{--post-action-icon:url('/static/web/images/figma/post148/collect.svg')}
 .hg-page--post-detail .v1-post-actions [data-action="share"]{--post-action-icon:url('/static/web/images/figma/post148/share.svg')}
 .hg-page--post-detail .v1-post-actions .v1-post-report::before{content:"";width:14.6px;height:14.6018px;flex:none;margin:0 .7px;background:currentColor;mask:url('/static/web/images/figma/post148-report.svg') center/contain no-repeat}
 .hg-page--post-detail .v1-post-actions .hg-post-detail__action>svg,.hg-page--post-detail .v1-post-actions .hg-post-detail__action>img{display:none}
}

@media(min-width:1024px){
 .hg-page--post-detail .comment-nickname label{margin:0}
 .hg-page--post-detail .hg-post-detail__composer>textarea:focus{outline:none;box-shadow:none}
 .hg-page--post-detail .hg-post-detail__composer:focus-within{border-color:#555}
 body.hg-layout.hg-page--post-detail .hg-post-detail__submit{background:#ff7d00;color:#fff}
}

/* Batch 151: author metadata and sidebar, Figma 210:9977 / 210:10121 / 210:10132. */
@media(min-width:1024px){
 .hg-page--post-detail .hg-post-detail__meta{font-weight:400}
 .hg-page--post-detail .hg-post-detail__meta,.hg-page--post-detail .v1-post-sidebar{font-family:"PingFang SC","Microsoft YaHei",sans-serif}
 .hg-page--post-detail .hg-post-detail__meta *,.hg-page--post-detail .v1-post-sidebar *{font-family:inherit}
 .hg-page--post-detail .hg-post-detail__follow{min-width:0}
 .hg-page--post-detail .hg-post-detail__meta .hg-post-detail__author-name{font-size:13px;font-weight:600;color:#ffffffb3}
 .hg-page--post-detail .hg-post-detail__meta .pd-ava{background:#262627 url('/static/web/images/figma/post151-avatar.svg') center no-repeat;font-size:0}
 .hg-page--post-detail .hg-post-detail__meta .hg-post-detail__follow{background:#ff7d00;border:1px solid #ffffff1f;color:#fff;font-weight:500;box-shadow:none}
 .hg-page--post-detail .v1-post-author-card>.hg-post-detail__author{display:flex;align-items:center;width:100%;min-width:0}
 .hg-page--post-detail .v1-post-author-card .pd-ava{background:#262627;flex:0 0 52px}
 .hg-page--post-detail .v1-post-author-card .pd-ava img{display:block;object-fit:cover}
 .hg-page--post-detail .v1-post-author-text{flex:1;overflow-wrap:anywhere}
 .hg-page--post-detail .v1-post-author-text>span{font-weight:400}
 .hg-page--post-detail .v1-post-author-links>button{background:#ff7d00;border:0;color:#fff;font-weight:600;box-shadow:none}
 .hg-page--post-detail .v1-post-author-links>a{border:1px solid #ffffff1f;color:#ffffffb3;font-weight:400}
 .hg-page--post-detail .hg-post-detail__follow.following{background:#ffffff0d;color:#ffffffb3}
 .hg-page--post-detail .v1-post-rank ol{gap:14px}
 .hg-page--post-detail .v1-post-rank li{align-items:center;font-size:12px;line-height:1.45}
 .hg-page--post-detail .v1-post-rank li::before{box-sizing:border-box;display:grid;place-items:center;background:#ffffff1f;color:#ffffff80;border:0;border-radius:5px;font-size:11px;font-weight:600;line-height:normal}
 .hg-page--post-detail .v1-post-rank li[value="1"]::before{background:#483d0b;color:#fdeb6f;border:.5px solid #fdeb6f;border-radius:4px;font-size:12px}
 .hg-page--post-detail .v1-post-rank li[value="2"]::before{background:#373c45;color:#717b91;border:.5px solid #797e88;border-radius:4px;font-size:12px}
 .hg-page--post-detail .v1-post-rank li[value="3"]::before{background:#4e2a08;color:#d49050;border:.5px solid #d49050;border-radius:4px;font-size:12px}
 .hg-page--post-detail .v1-post-rank li a,.hg-page--post-detail .v1-post-rank li a[aria-current]{color:#ffffffb3;font-weight:400}
 .hg-page--post-detail .v1-post-rank>a{display:inline-flex;align-items:center;gap:4px;color:#ff7d00;line-height:1.45}
 .hg-page--post-detail .v1-post-rank>a img{width:16px;height:16px;flex:none}
}
