/* Generated from web/frontend/css/v1-topic-detail.css by node scripts/build-web.mjs. Do not edit. */
/* Batch 162: user-approved composition of topic list and author page styles. */
.v1-topic-header{overflow:hidden;border:1px solid #2a2a2e;border-radius:14px;background:#151516}
.v1-topic-detail .v1-topic-hero{display:block;width:100%;height:260px;object-fit:cover;object-position:center}
.v1-topic-intro{padding:24px;display:flex;flex-direction:column;gap:12px}
.v1-topic-intro p{margin:0;color:#ffffffb3;font-size:14px;font-weight:400;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.v1-topic-detail .v1-tag-tabs{flex-wrap:wrap}
.v1-topic-card-copy{position:absolute;inset:auto 12px 12px;display:flex;flex-direction:column;gap:9px;pointer-events:none}
.v1-topic-card-copy a{pointer-events:auto}
.v1-topic-detail .v1-topic-card-copy h3{position:static;margin:0}
.v1-topic-detail .v1-author-meta{flex-wrap:wrap;gap:8px 12px}
.v1-topic-detail .v1-author-meta:empty{display:none}
.v1-topic-detail .v1-creator-card-meta{color:#ffffffb3}
.v1-topic-detail .v1-creator-duration{bottom:auto;top:12px;right:12px}
.v1-topic-badge{position:absolute;top:12px;left:12px;padding:4px 8px;border-radius:6px;background:linear-gradient(#ff7a2f,#ff6b8a);font-size:11px;line-height:15px;color:#fff;font-weight:600;pointer-events:none}
.v1-topic-views{display:flex;align-items:center;gap:6px}
.v1-topic-detail .v1-topic-views img{display:block;width:12px;height:12px;flex:none}
.v1-topic-detail .v1-author-grid--video .v1-topic-card-copy{position:static;gap:10px}
.v1-topic-detail .v1-author-grid--video .v1-creator-duration{top:auto;bottom:10px;right:10px}
.v1-topic-detail .v1-author-grid--video .v1-author-meta{order:0}
.v1-topic-empty{grid-column:1/-1;min-width:0}
.v1-topic-detail .v1-topic-count{margin:24px 0;color:#ffffff80;font-size:13px;font-weight:400;line-height:20px}
.v1-topic-related,.v1-topic-detail .v1-topic-faq{margin:8px 0 0}
.v1-topic-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}
.v1-topic-detail .v1-topic-heading{margin:0;display:flex;align-items:center;gap:12px;font-size:24px;line-height:34px;font-weight:600}
.v1-topic-detail .v1-topic-heading:before{content:'';width:4px;height:26px;border-radius:99px;background:#ff7d00;flex:none}
.v1-topic-section-head>a{font-size:13px;color:#ff7d00;flex:none}
.v1-topic-related-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.v1-topic-related-card{display:block;overflow:hidden;min-width:0;border:1px solid #2a2a2e;border-radius:14px;background:#151516}
.v1-topic-detail .v1-topic-related-card>img{display:block;width:100%;height:224px;object-fit:cover}
.v1-topic-related-card>div{padding:20px}
.v1-topic-related-card h3{margin:0;font-size:20px;line-height:28px;font-weight:600;overflow-wrap:anywhere}
.v1-topic-related-card p{margin:12px 0 0;color:#ffffff80;font-size:14px;line-height:22px;overflow-wrap:anywhere}
.v1-topic-related-card .v1-topic-related-meta{margin-top:8px;font-size:13px;color:#ffffff4d}
.v1-topic-detail .v1-topic-faq .v1-topic-heading{margin-bottom:24px}
.v1-topic-detail .v1-topic-faq p{overflow-wrap:anywhere}
@media(max-width:1023px){
 .v1-topic-detail .v1-topic-hero{height:140px}
 .v1-topic-intro{padding:16px;gap:8px}
 .v1-topic-detail .v1-topic-heading{font-size:20px;line-height:28px}
 .v1-topic-section-head{gap:12px;margin-bottom:16px}
 .v1-topic-related-grid{grid-template-columns:1fr;gap:16px}
 .v1-topic-detail .v1-topic-related-card>img{height:auto;aspect-ratio:715/224}
 .v1-topic-related-card>div{padding:16px}
 .v1-topic-related-card h3{font-size:17px;line-height:24px}
 .v1-topic-detail .v1-author-meta{gap:4px 8px;font-size:11px}
 .v1-topic-card-copy{gap:6px}
}
/* 专题帖子右上角分类：桌面与首页封面卡同款。窄屏样式在 v1-h5-collections.css。 */
@media(min-width:1024px){
 .hg-page--topic-detail .v1-topic-card[data-content-kind="post"]>.v1-topic-category{display:block;position:absolute;z-index:2;top:16px;right:16px;max-width:calc(100% - 32px);overflow:hidden;padding:0 9px;border:1px solid var(--color-primary,#ff7d00);border-radius:999px;background:#2f1905;color:var(--color-primary,#ff7d00);font-size:11px;line-height:23px;white-space:nowrap;text-overflow:ellipsis}
}
/* 无封面时不用发黑的占位大图。灰底 + 居中标识，并留出 1px 边，避免底部和页面融在一起。 */
.hg-page--topic-detail .v1-author-cover:has(>img[src*="cover-placeholder.png"]:not([data-src])){background:#262523 url("../images/figma/brand-muted.png") center/min(34%,243px) auto no-repeat;box-shadow:inset 0 0 0 1px #3a3a3e}
.hg-page--topic-detail .v1-author-cover:has(>img[src*="cover-placeholder.png"]:not([data-src]))>img{visibility:hidden}
.hg-page--topic-detail .v1-topic-card:has(.v1-author-cover>img[src*="cover-placeholder.png"]:not([data-src])){box-shadow:0 0 0 1px #3a3a3e}
@media(min-width:1024px){
 .hg-page--topic-detail .v1-author-cover:has(>img[src*="cover-placeholder.png"]:not([data-src]))::after{background:linear-gradient(180deg,transparent 58%,rgba(14,14,15,.45))}
}
