/* Figma 4659 desktop families. Scope every rule to its active page. */
.hg-51-page{background:#0f1416}
.hg-51-page .hg-list-page,.hg-51-legal .hg-site-info,.hg-51-brand .hg-site-info,.hg-51-post .hg-post-detail{
  box-sizing:border-box;width:100%;max-width:none;margin:0;padding:24px var(--hg-page-gutter) 48px;min-width:0
}
.hg-51-page .hg-breadcrumb{margin:0 0 12px;min-height:20px;gap:8px;font-family:"PingFang SC","Microsoft YaHei",sans-serif;font-size:13px;font-weight:400;line-height:20px;color:#62777f}
.hg-51-page .hg-breadcrumb a,.hg-51-page .hg-breadcrumb__current{color:#62777f}
.hg-51-page .hg-breadcrumb a:hover,.hg-51-page .hg-breadcrumb a:focus-visible{color:var(--color-primary)}
.hg-51-page .hg-page-header__text h1,.hg-51-page .hg-channel-page__head h1,.hg-51-community .hg-community-page__title{
  font-size:28px;line-height:37.8px;font-weight:500;letter-spacing:0;margin:0;color:#f6f8f8
}
.hg-51-page .hg-page-header__text>p,.hg-51-page .hg-channel-page__geo,.hg-51-page .hg-community-page__geo{
  max-width:none;font-size:14px;line-height:30px;color:rgba(255,255,255,.65);margin:8px 0 20px
}
.hg-51-page .hg-channel-tabs{display:flex;align-items:stretch;gap:24px;border:0;border-bottom:1px solid #252f32;border-radius:0;background:transparent;padding:0;margin:16px 0 0;overflow-x:auto}
.hg-51-page .hg-channel-tabs__item{position:relative;flex:none;height:41px;min-width:0;padding:8px 0;border:0;border-radius:0;background:transparent;color:#97a9af;font-size:14px;line-height:22.4px;white-space:nowrap}
.hg-51-page .hg-channel-tabs__item.is-active{background:transparent!important;color:var(--color-primary)!important}
.hg-51-page .hg-channel-tabs__item.is-active::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--color-primary);border-radius:2px}
.hg-51-page .hg-section-title h2{font-size:22px;line-height:30px;font-weight:500}
.hg-51-page .hg-channel-page>.hg-section-title{margin:24px 0 20px}
.hg-51-page .hg-card-grid{margin-top:20px}
.hg-51-page .hg-pager{margin-top:40px}
.hg-51-page .hg-faq{margin-top:40px}
.hg-51-page .hg-faq__item{border-radius:8px;background:#181e20;border-color:#252f32}
.hg-51-page .hg-faq__item[open]{background:#181e20;border-color:rgba(171,239,59,.2)}
.hg-51-page .hg-faq__item summary{padding:16px 20px;font-size:16px;line-height:23px}
.hg-51-page .hg-faq__item[open] summary{color:var(--color-primary)}

/* Search: the video wall and the post rows have distinct geometry. */
.hg-51-search .hg-search-page{max-width:none;padding-top:20px}
.hg-51-search .hg-search-page>.hg-breadcrumb{display:flex}
.hg-51-search .hg-search-page__head{margin-bottom:0}
.hg-51-search .hg-search-page__head h1{font-size:28px;line-height:37.8px;font-weight:500;color:#f6f8f8}
.hg-51-search .hg-search-page__head h1 span{font-size:inherit;font-weight:inherit;color:inherit}
.hg-51-search .hg-search-page__intro{max-width:none;font-size:13px;line-height:20.8px;color:#97a9af;margin:8px 0 24px}
.hg-51-search .hg-search-page__meta{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.hg-51-search .hg-search-page__meta strong{color:var(--color-primary)}
.hg-51-search .hg-search-page__retry{background:var(--color-primary);border:1px solid var(--color-primary);color:#0d0d0d}
.hg-51-search .hg-search-stage{margin-bottom:24px}
.hg-51-search .hg-search-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:160px;border:1px dashed #303c40;border-radius:6px;background:transparent}
.hg-51-search .hg-search-empty__title{font-size:16px;line-height:24px;font-weight:500;color:#f6f8f8;margin:0 0 8px}
.hg-51-search .hg-search-empty__tip{font-size:13px;line-height:21px;font-weight:400;color:#97a9af}
.hg-51-search .hg-search-hot__item{height:50px;padding:12px 16px;gap:16px;border-radius:6px;background:#181e20;border:1px solid #252f32}
.hg-51-search .hg-search-hot__item:hover{border-color:rgba(var(--color-primary-rgb),.35)}
.hg-51-search .hg-search-hot__item:hover .hg-search-hot__name,.hg-51-search .hg-search-hot__rank.is-top{color:var(--color-primary)}
.hg-51-search .hg-search-hot__rank{min-width:17px;font-size:14px;line-height:22px}
.hg-51-search .hg-search-hot__item:nth-child(2) .hg-search-hot__rank{color:#3b9eef}
.hg-51-search .hg-search-hot__item:nth-child(3) .hg-search-hot__rank{color:#efbf3b}
.hg-51-search .hg-search-hot__name{font-size:14px;line-height:22px}
.hg-51-search .hg-search-hot__plays{font-size:12px;line-height:19px;color:#97a9af}
.hg-51-search .hg-search-results .hg-card-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:32px 16px;margin-top:24px}
.hg-51-search .hg-search-results .hg-card-grid .hg-drama-card{display:flex;flex-direction:column;min-width:0;min-height:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;gap:0}
.hg-51-search .hg-search-results .hg-drama-card__cover{box-sizing:border-box;width:100%;height:auto;aspect-ratio:332/444;margin:0;border:1px solid #303c40;border-radius:8px}
.hg-51-search .hg-search-results .hg-drama-card__body{padding:12px 0 0}
.hg-51-search .hg-search-results .hg-drama-card__title{font-size:15px;line-height:22.5px;font-weight:500}
.hg-51-search .hg-search-results .hg-drama-card__desc{font-size:13px;line-height:20.8px;margin:8px 0 0;color:#97a9af}
.hg-51-search .hg-search-results .hg-drama-card__tags{margin-top:8px;padding-top:0;gap:8px}
.hg-51-search .hg-search-guess-block .hg-card-grid>.hg-ssp-slot[data-ssp-format="feed"]{box-sizing:border-box;padding:16px 13.4px}
@media (max-width:1023px){
  .hg-51-search .hg-search-guess-block .hg-card-grid>.hg-ssp-slot[data-ssp-format="feed"]{padding:1px;--hg-ssp-radius:8px}
  .hg-51-search .hg-search-guess-block .hg-card-grid>.hg-ssp-slot [data-ssp-feed-media]{padding-top:133.333%!important}
}
.hg-51-search .hg-search-posts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));min-width:0;width:100%;gap:16px;margin-top:24px}
.hg51-search-post{position:relative;display:block;box-sizing:border-box;min-width:0;width:100%;aspect-ratio:332/444;overflow:hidden;border:1px solid #252f32;border-radius:8px;background:#181e20;text-decoration:none}
.hg51-search-post:hover{border-color:rgba(171,239,59,.3)}
.hg51-search-post__cover{position:absolute;inset:0;display:block;overflow:hidden}
.hg51-search-post__cover img{display:block;width:100%;height:100%;object-fit:cover}
.hg51-search-post__body{position:absolute;left:0;right:0;bottom:0;box-sizing:border-box;min-height:77px;padding:12px 16px;background:#181e20}
.hg51-search-post__meta{display:flex;align-items:center;gap:4px;min-width:0;margin:0 0 4px;color:#97a9af;font-size:10px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hg51-search-post h3{min-width:0;margin:0;color:#f6f8f8;font-size:14px;line-height:21px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hg51-search-post--nocover .hg51-search-post__body{top:0;bottom:auto}

/* The topic directory follows the five-column portrait covers in the new design. */
.hg-51-topics .hg-page-header__text h1{font-size:28px;line-height:38px}
.hg-51-topics .hg-page-header__text h1::before{display:none}
.hg-51-topics .hg-topic-intro{box-sizing:border-box;margin:24px 0 32px;padding:16px 24px;min-height:73px;border:1px solid #303c40;border-radius:8px;background:#181e20}
.hg-51-topics .hg-topic-intro__bg{display:none}
.hg-51-topics .hg-topic-intro__body p{margin:0;color:#97a9af;font-size:13px;line-height:20px}
.hg-51-topics .hg-topic-grid,.hg-51-topic-detail .hg-topic-related .hg-topic-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin-top:20px}
.hg-51-topics .hg-topic-card,.hg-51-topic-detail .hg-topic-related .hg-topic-card{box-sizing:border-box;height:auto;aspect-ratio:332/444;overflow:hidden;border:1px solid #303c40;border-radius:8px;background:#181e20}
.hg-51-topics .hg-topic-card::after,.hg-51-topic-detail .hg-topic-card::after{display:none}
.hg-51-topics .hg-topic-card img,.hg-51-topic-detail .hg-topic-card img{width:100%;height:100%;object-fit:cover}
.hg-51-topics .hg-topic-card__body,.hg-51-topic-detail .hg-topic-card__body{left:0;right:0;bottom:0;box-sizing:border-box;padding:12px 16px;background:#181e20}
.hg-51-topics .hg-topic-card__meta,.hg-51-topic-detail .hg-topic-card__meta{font-size:12px;line-height:19px;margin-bottom:4px;color:#97a9af}
.hg-51-topics .hg-topic-card__title,.hg-51-topic-detail .hg-topic-card__title{font-size:15px;line-height:22.5px;font-weight:500;color:#f6f8f8}
.hg-51-topic-detail .hg-topic-banner{min-height:169px;margin:24px 0 28px;border-radius:12px}
.hg-51-topic-detail .hg-topic-banner__body p{font-size:14px;line-height:30px}
.hg-51-topic-detail .hg-topic-related{margin-top:40px}
.hg-51-topic-detail .hg-topic-related .hg-page-header__text h2{font-size:24px;line-height:30px}

/* Each ranking remains a real, independently selected backend list. */
.hg-51-rank .hg-rank-hero{box-sizing:border-box;min-height:174px;border-radius:8px;background:#101416 url('/static/web/images/huanggua/rank-banner.png') center/cover no-repeat;padding:28px 310px 28px 28px}
.hg-51-rank .hg-rank-hero__mask{display:none}
.hg-51-rank .hg-rank-hero__icon{background:rgba(171,239,59,.12);border-color:rgba(171,239,59,.25)}
.hg-51-rank .hg-rank-hero__title--image{position:relative;width:236px;height:60px;flex:0 0 auto;overflow:hidden;font-size:0;line-height:0}
.hg-51-rank .hg-rank-hero__title--image>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.hg-51-rank .hg-rank-hero__title--image>img{display:block;width:236px!important;height:60px!important;max-width:none!important;object-fit:contain}
.hg-51-rank .hg-rank-hero__desc{font-size:14px;line-height:22px}
.hg-51-rank .hg-rank-head>.hg-pill-tabs{right:28px;gap:8px}
.hg-51-rank .hg-pill-tabs__item{height:40px;padding:0 16px;border-radius:6px;background:#181e20;border:1px solid transparent;color:#d1d9dc;font-size:13px;line-height:20.8px}
.hg-51-rank .hg-pill-tabs__item.is-active{background:var(--color-primary)!important;border-color:var(--color-primary);color:#000!important}
.hg-51-rank .hg-rank-list{gap:12px}
.hg-51-rank .hg-rank-item{min-height:90px;padding:16px 24px;border-radius:8px;background:#181e20;border-color:#252f32}
.hg-51-rank .hg-rank-item:hover{border-color:rgba(171,239,59,.25)}
.hg-51-rank .hg-rank-item__title{font-size:18px;line-height:24px;font-weight:500}
.hg-51-rank .hg-rank-num{min-width:52px;font-size:28px;font-weight:600;line-height:28px;color:rgba(255,255,255,.45)}
.hg-51-rank .hg-rank-metric-badge{font-weight:400}
.hg-51-rank [data-rank="1"] .hg-rank-num,.hg-51-rank [data-rank="2"] .hg-rank-num,.hg-51-rank [data-rank="3"] .hg-rank-num{font-weight:700}
.hg-51-rank [data-rank="1"] .hg-rank-num{color:#abef3b}
.hg-51-rank [data-rank="2"] .hg-rank-num{color:#f2b65d}
.hg-51-rank [data-rank="3"] .hg-rank-num{color:#f25d94}
.hg-51-rank .hg-rank-metric-badge{border-color:rgba(171,239,59,.2);background:rgba(171,239,59,.1);color:var(--color-primary)}
.hg-51-rank .hg-rank-state--error{background:rgba(171,239,59,.05);border-color:rgba(171,239,59,.2)}

/* Community cards occupy five portrait slots and carry a compact caption strip. */
.hg-51-community .hg-community-page__title{padding:0}
.hg-51-community .hg-community-page__geo{max-width:100%;color:#97a9af}
.hg-51-community .hg-gossip-tabs{height:41px;margin:24px 0 24px;padding:0;border:0;border-bottom:1px solid #252f32;border-radius:0;background:transparent;gap:32px}
.hg-51-community .hg-gossip-tabs__item{flex:0 0 auto;align-items:flex-start;padding:0;color:#97a9af;background:transparent;font-size:14px}
.hg-51-community .hg-gossip-tabs__item.is-active{color:var(--color-primary);background:transparent!important;font-size:14px}
.hg-51-community .hg-gossip-tabs__item.is-active::after{width:100%;height:3px;background:var(--color-primary)}
.hg-51-community .hg-community-toolbar{margin:0 0 20px}
.hg-51-community .hg-community-toolbar h2{display:flex;align-items:center;gap:16px;font-size:22px;line-height:30px;font-weight:500}
.hg-51-community .hg-community-toolbar h2::before{content:"";display:block;width:4px;height:20px;border-radius:2px;background:var(--color-primary)}
.hg-51-community .hg-community-toolbar>span{color:#97a9af;font-size:12px;font-weight:400}
.hg-51-community .hg-post-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.hg-51-community .hg-post-card{box-sizing:border-box;overflow:hidden;border:1px solid #252f32!important;border-radius:8px;background:#181e20}
.hg-51-community .hg-post-card__gallery{aspect-ratio:332/444!important;border-radius:8px}
.hg-51-community .hg-post-card:not(.hg-post-card--nocover) .hg-post-card__body{box-sizing:border-box;bottom:0;min-height:77px;padding:12px 16px;border-radius:0;background:#181e20}
.hg-51-community .hg-post-card__meta,.hg-51-community .hg-post-card__cat{font-size:10px;line-height:16px;color:#97a9af}
.hg-51-community .hg-post-card__meta{margin-bottom:4px;gap:4px;flex-wrap:nowrap;opacity:1;white-space:nowrap;overflow:hidden}
.hg-51-community .hg-post-card__category{display:inline-flex;align-items:center;gap:4px;min-width:0}
.hg-51-community .hg-post-card__user,.hg-51-community .hg-post-card__cat{font-weight:500}
.hg-51-community .hg-post-card__date,.hg-51-community .hg-post-card__dot{font-weight:400}
.hg-51-community .hg-post-card__body h3{font-size:14px;line-height:21px;font-weight:500;letter-spacing:0;color:#f6f8f8}
.hg-51-community .hg-post-card--nocover{min-height:220px}
.hg-51-community .hg-post-card--nocover .hg-post-card__body{padding:16px}
.hg-51-community .hg-post-card--nocover .hg-post-card__meta{margin:12px 0 0}
.hg-51-community .hg-faq{box-sizing:border-box;margin-top:48px;padding:24px;border:1px solid #252f32;border-radius:8px;background:#181e20}
.hg-51-community .hg-faq__title{margin:0 0 24px;color:#f6f8f8;font-size:22px;line-height:32px}
.hg-51-community .hg-faq__list{gap:20px}
.hg-51-community .hg-faq__item,.hg-51-community .hg-faq__item[open]{border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}
.hg-51-community .hg-faq__item summary,.hg-51-community .hg-faq__item[open] summary{padding:0;color:#d1d9dc;font-size:13px;line-height:21px;font-weight:500}
.hg-51-community .hg-faq__item summary img{display:none}
.hg-51-community .hg-faq__body{padding:8px 0 0;border:0;color:#97a9af;font-size:13px;line-height:21px}
.hg-51-community .hg-faq__body p{margin:0;color:inherit;line-height:21px}

/* 正文与评论共用阅读列；相关推荐仍可使用页面的宽内容区。 */
.hg-51-post .hg-post-detail__main,.hg-51-post .hg-post-detail__nav{width:100%;max-width:1090px;margin-left:auto;margin-right:auto}
.hg-51-post .hg-post-detail__comments{width:100%;max-width:1090px;margin-left:auto;margin-right:auto}
.hg-51-post .hg-post-detail__main{margin-top:30px}
.hg-51-post .hg-post-detail__title{font-size:26px;line-height:39px;font-weight:500}
.hg-51-post .hg-post-detail__subtitle{font-size:16px;line-height:23px;margin-top:8px}
.hg-51-post .hg-post-detail__tags a,.hg-51-post .hg-post-detail__tags span{border-color:rgba(171,239,59,.1);background:rgba(171,239,59,.04);color:var(--color-primary)}
.hg-51-post .hg-post-detail__tags a:hover{border-color:rgba(171,239,59,.35);background:rgba(171,239,59,.1)}
.hg-51-post .hg-post-detail__action:hover{border-color:rgba(var(--color-primary-rgb),.35)}
.hg-51-post button.hg-post-detail__follow.following{background:rgba(var(--color-primary-rgb),.1)}
.hg-51-post .hg-post-detail__nav-item{min-height:121px;justify-content:center}
.hg-51-post .hg-post-detail__nav-bg{z-index:0}
.hg-51-post .hg-post-detail__nav-item::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(0,0,0,.38),rgba(0,0,0,.62));pointer-events:none}
.hg-51-post .hg-post-detail__nav-label,.hg-51-post .hg-post-detail__nav-title{z-index:2}
.hg-51-post .hg-post-detail__related-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.hg-51-post .hg-post-detail__rel-card{padding:16px;gap:12px;background:transparent;border:0;border-radius:16px}
.hg-51-post .hg-post-detail__rel-cover{aspect-ratio:374/288;border-radius:14px}
.hg-51-post .hg-post-detail__rel-badge{top:12px;left:12px;bottom:auto}
.hg-51-post .hg-post-detail__rel-body h3{-webkit-line-clamp:3;font-size:16px;line-height:24px;font-weight:500}
.hg-51-post .hg-post-detail__rel-cat{font-size:14px;line-height:24px}
.hg-51-post .pd-ava,.hg-51-post .hg-post-detail__comment-list .cm-comment .avatar{background:linear-gradient(135deg,#95e3ba,#549e82);color:#113525}

/* The static information pages use full-width, compact cards. */
.hg-51-legal .hg-site-info__head{margin:12px 0 20px}
.hg-51-legal .hg-site-info__head h1{font-size:26px;line-height:39px;font-weight:500}
.hg-51-legal .hg-site-info__head h1{margin-bottom:4px}
.hg-51-legal .hg-site-info__head p{font-size:14px;line-height:20px;color:rgba(255,255,255,.65)}
.hg-51-legal .hg-site-info>.hg-faq{margin:0}
.hg-51-legal .hg-site-info>.hg-faq>h2{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.hg-51-legal .hg-site-info__grid{grid-template-columns:1fr;gap:24px}
.hg-51-legal .hg-site-info__card{position:relative;box-sizing:border-box;min-height:114px;padding:24px 32px;border:1px solid #252f32;border-radius:8px;background:#181e20}
.hg-51-legal .hg-site-info__no{display:none}
.hg-51-legal .hg-site-info__card h2,.hg-51-legal .hg-site-info__card h3{margin:0 0 8px;font-family:"PingFang SC","Microsoft YaHei",sans-serif;font-size:18px;line-height:27px;font-weight:500;color:#f6f8f8}
.hg-51-legal .hg-site-info__card p{margin:0;font-family:"PingFang SC","Microsoft YaHei",sans-serif;font-weight:400;color:#97a9af;font-size:13px;line-height:20px;overflow-wrap:anywhere}
.hg-51-legal .hg-site-info__body{font-size:18px;line-height:1.7;overflow-wrap:anywhere}
.hg-51-legal--faq .hg-breadcrumb__current{color:#62777f}
.hg-51-legal--faq .hg-site-info__head{margin-bottom:24px}
.hg-51-legal--faq .hg-site-info__head h1{font-size:28px;line-height:38px}
.hg-51-legal--faq .hg-site-info__card{border-color:#303c40}
.hg-51-legal--faq .hg-site-info__card h3{margin-bottom:12px;line-height:26px}
.hg-51-legal--faq .hg-site-info__card p{color:#d1d9dc;line-height:25px}
.hg-51-legal--faq .hg-page__updated{margin:12px 0 0;padding:0;border:0;background:transparent;color:#7a9199;font-size:12px;line-height:18px;text-align:right}

/* Footer information pages: Figma 2:9289, 2:9112, 2:14155, 2:14332. */
.hg-51-legal:not(.hg-51-legal--faq) .hg-site-info__head{margin:12px 0 24px}
.hg-51-legal:not(.hg-51-legal--faq) .hg-site-info__head h1{margin:0;color:#f6f8f8;font-size:28px;line-height:38px;font-weight:500}
.hg-51-legal:not(.hg-51-legal--faq) .hg-site-info__head p{margin:8px 0 0;color:#97a9af;font-size:14px;line-height:22px}
.hg-51-legal:not(.hg-51-legal--faq) .hg-site-info__card{border-color:#303c40}
.hg-51-legal:not(.hg-51-legal--faq) .hg-site-info__card p{color:#d1d9dc;line-height:25px}
.hg-51-legal .hg-site-info__notice{display:flex;align-items:center;gap:12px;box-sizing:border-box;min-height:56px;margin:0 0 24px;padding:16px;border:1px dashed #303c40;border-radius:6px;background:#181e20;color:#97a9af;font-size:13px;line-height:21px}
.hg-51-legal .hg-site-info__notice span{flex:none;color:#abef3b;font-size:18px;line-height:20px}
.hg-51-legal--contact .hg-site-info__card h2{display:flex;gap:8px}

/* About and official declarations use the real brand template and long-form flow. */
.hg-51-brand .hg-site-info__head h1{font-size:32px;line-height:48px;font-weight:500}
.hg-51-brand .off-hero{min-height:239px;margin:24px 0 34px;padding:28px 30px;background:linear-gradient(172deg,#1c1b17,#141414 60%)}
.hg-51-brand .off-hero{border-color:rgba(var(--color-primary-rgb),.16)}
.hg-51-brand .hg-site-info code{background:rgba(var(--color-primary-rgb),.1)}
.hg-51-brand .hg-site-info>p.off-note{border-left-color:rgba(var(--color-primary-rgb),.38)}
.hg-51-brand .off-toc a:hover{border-color:rgba(var(--color-primary-rgb),.4);background:#15211b}
.hg-51-brand .off-social a:hover{border-color:rgba(var(--color-primary-rgb),.42);background:#15211b}
.hg-51-brand .off-tl li::before{box-shadow:0 0 0 4px rgba(var(--color-primary-rgb),.1)}
.hg-51-brand .off-hero__badge{font-size:16px;line-height:18px;font-weight:400;padding:5px 12px;margin-bottom:22px;background:rgba(171,239,59,.12);border-color:rgba(171,239,59,.28)}
.hg-51-brand .off-hero__domain{font-size:36px;line-height:36px;margin-bottom:24px}
.hg-51-brand .off-hero__lead{font-size:18px;line-height:27px}
.hg-51-brand .off-toc{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:34px 0 8px}
.hg-51-brand .off-toc a{display:flex;align-items:center;min-height:54px;padding:12px 14px;font-size:16px;line-height:20px;overflow-wrap:anywhere}
.hg-51-brand .off-toc a>span{flex:none;white-space:nowrap}
.hg-51-brand .hg-site-info>h2{font-size:32px;line-height:40px;padding-bottom:22px;margin:52px 0 18px}
.hg-51-brand .hg-site-info>h2:first-of-type{margin-top:38px}
.hg-51-brand .hg-site-info>p{font-size:18px;line-height:27px}
.hg-51-brand--about .hg-site-info>p{font-size:20px;line-height:30px}
.hg-51-brand .off-list li{font-size:18px;line-height:27px}
.hg-51-brand .off-note{font-size:16px!important;line-height:26px!important}
.hg-51-brand .off-stat b{font-size:32px;line-height:40px}
.hg-51-brand .off-stat span{font-size:16px;line-height:24px}
.hg-51-brand .off-tbl{font-size:18px;line-height:27px}
.hg-51-brand .off-tbl th{font-size:16px}
.hg-51-brand .off-box b,.hg-51-brand .off-tl b{font-size:20px;line-height:30px}
.hg-51-brand .off-box p,.hg-51-brand .off-tl p,.hg-51-brand .hg-site-info__card .off-a{font-size:18px;line-height:27px}
.hg-51-brand .hg-site-info__card h3{font-size:26px;line-height:36px}
.hg-51-brand .off-tl .d,.hg-51-brand .off-social__txt span{font-size:16px;line-height:24px}
.hg-51-brand .off-social__txt b{font-size:18px;line-height:27px}

@media(min-width:1024px){
  .hg-51-brand .hg-site-info{max-width:none;padding:24px var(--hg-page-gutter) 48px}
  .hg-51-search.has-query .hg-search-stage{display:none}
  .hg-51-search .hg-search-hot__grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
  .hg-51-search .hg-search-hot__item{min-width:0}
  .hg-51-rank .hg-rank-item.is-expanded{min-height:226px}
  .hg-51-rank .hg-rank-item.is-expanded .hg-rank-item__main{min-height:192px}
  .hg-51-rank .hg-rank-item__tags{display:flex;gap:4px;flex-wrap:nowrap;margin-top:12px;max-height:18px;overflow:hidden;color:rgba(255,255,255,.4);font-size:14px;line-height:18px}
  .hg-51-rank .hg-rank-item__score{flex:0 0 auto;white-space:nowrap}
  .hg-51-rank .hg-rank-item__metric{display:block;font-size:14px;line-height:20px;color:var(--color-primary)}
  .hg-51-rank .hg-rank-item.is-expanded .hg-rank-item__metric{display:none}
  .hg-51-rank .hg-rank-item.is-expanded .hg-rank-item__tags{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:12px;font-size:14px;line-height:20px}
  .hg-51-rank .hg-rank-item.is-expanded .hg-rank-item__tags>span:first-child{padding:3px 8px;border-radius:4px;background:rgba(171,239,59,.1);border:1px solid rgba(171,239,59,.2);color:var(--color-primary)}
}
@media(min-width:1024px) and (max-width:1399px){
  .hg-51-brand .off-toc{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hg-51-post .hg-post-detail__related-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hg-51-community .hg-post-list{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:1023px){
  .hg-51-page .hg-list-page,.hg-51-legal .hg-site-info,.hg-51-brand .hg-site-info,.hg-51-post .hg-post-detail{padding:16px 16px 32px}
  .hg-51-page .hg-page-header__text h1,.hg-51-page .hg-channel-page__head h1,.hg-51-community .hg-community-page__title{font-size:22px;line-height:30px}
  .hg-51-search .hg-search-results .hg-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}
  .hg-51-search .hg-search-results .hg-card-grid .hg-drama-card{padding:0;border-radius:10px;gap:0}
  .hg-51-search .hg-search-results .hg-drama-card__cover{aspect-ratio:3/4;border-radius:10px}
  .hg-51-search .hg-search-results .hg-drama-card__body{padding:8px 0 0}
  .hg-51-search .hg-search-results .hg-drama-card__title{font-size:14px;line-height:20px}
  .hg-51-search .hg-search-results .hg-drama-card__desc{font-size:12px}
  .hg-51-page .hg-channel-tabs{margin:16px 0 20px;gap:24px}
  /* 2:19390: keep the complete GEO copy in the document, after the artwork list on H5. */
  .hg-51-channel .hg-channel-page--channels{display:flex;flex-direction:column}
  .hg-51-channel .hg-channel-page--channels>*{order:10}
  .hg-51-channel .hg-channel-page--channels>.hg-breadcrumb{order:0}
  .hg-51-channel .hg-channel-page--channels>.hg-channel-page__head{display:contents}
  .hg-51-channel .hg-channel-page--channels .hg-channel-page__head>h1{order:1}
  .hg-51-channel .hg-channel-page--channels .hg-channel-page__head>.hg-channel-tabs{order:2}
  .hg-51-channel .hg-channel-page--channels>.hg-section-title{order:3}
  .hg-51-channel .hg-channel-page--channels>.hg-card-grid{order:4}
  .hg-51-channel .hg-channel-page--channels>.hg-channel-pager{order:5}
  .hg-51-channel .hg-channel-page--channels .hg-channel-page__head>.hg-channel-page__geo{order:6;margin:20px 0 0}
  .hg-51-search .hg-search-posts{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .hg51-search-post__body{padding:8px}
  .hg51-search-post__meta{font-size:9px;gap:3px}
  .hg51-search-post h3{font-size:12px;line-height:18px}
  .hg-51-topics .hg-topic-intro{padding:16px;min-height:0;margin:20px 0}
  .hg-51-topics .hg-topic-grid,.hg-51-topic-detail .hg-topic-related .hg-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}
  .hg-51-topics .hg-topic-card,.hg-51-topic-detail .hg-topic-related .hg-topic-card{height:auto;border-radius:8px}
  .hg-51-topics .hg-topic-card__body,.hg-51-topic-detail .hg-topic-card__body{left:0;right:0;bottom:0;padding:8px}
  .hg-51-topics .hg-topic-card__title,.hg-51-topic-detail .hg-topic-card__title{font-size:14px;line-height:20px}
  .hg-51-rank .hg-rank-head{position:relative}
  .hg-51-rank .hg-rank-hero{box-sizing:border-box;height:196px;min-height:196px;margin-bottom:0;padding:20px 16px 64px;background-size:cover;background-position:center}
  .hg-51-rank .hg-rank-hero__content{align-self:flex-start;max-width:100%}
  .hg-51-rank .hg-rank-hero__desc{display:block;max-height:18px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
  .hg-51-rank .hg-rank-hero__title--image{width:200px;height:51px;aspect-ratio:auto}
  .hg-51-rank .hg-rank-hero__title--image>img{width:236px!important;height:60px!important;transform:scale(.84745763);transform-origin:left top}
  .hg-51-rank .hg-rank-head>.hg-pill-tabs{position:absolute;left:16px;right:16px;bottom:16px;z-index:2;transform:none;display:flex;flex-wrap:nowrap;justify-content:space-between;margin:0;padding:0;gap:8px;overflow:visible}
  .hg-51-rank .hg-pill-tabs__item{flex:1 1 0;min-width:0;padding:0 6px;justify-content:center}
  .hg-51-rank .hg-rank-item,.hg-51-rank .hg-rank-item.is-expanded{min-height:0;padding:12px 10px;gap:10px}
  .hg-51-rank .hg-rank-num{min-width:28px;font-size:18px;line-height:24px}
  .hg-51-rank .hg-rank-item__title{font-size:14px;line-height:20px}
  /* Figma 2:17283: 375px 内容宽 343px，双列 165.5px + 12px 间距。 */
  .hg-51-community .hg-post-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}
  .hg-51-community .hg-post-card,.hg-51-community .hg-post-card__gallery{border-radius:8px}
  .hg-51-community .hg-post-card:not(.hg-post-card--nocover) .hg-post-card__body{bottom:0;height:auto;padding:12px;border-radius:0}
  .hg-51-community .hg-post-card__meta{flex-wrap:wrap;white-space:normal;max-height:32px;overflow:hidden;gap:0 4px}
  .hg-51-community .hg-post-card__meta,.hg-51-community .hg-post-card__cat{font-size:10px;line-height:16px;margin-bottom:4px}
  .hg-51-community .hg-post-card__body h3{font-size:13px;line-height:19.5px}
  .hg-51-community .hg-post-card--nocover{min-height:0;aspect-ratio:332/444}
  .hg-51-community .hg-community-page__title{font-size:20px;line-height:30px}
  .hg-51-community .hg-community-page__geo{font-size:12px;line-height:19.2px}
  .hg-51-community .hg-gossip-tabs__item,.hg-51-community .hg-gossip-tabs__item.is-active{font-size:13px}
  .hg-51-community .hg-community-toolbar h2{gap:8px;font-size:18px;line-height:26px}
  .hg-51-community .hg-community-toolbar h2::before{height:18px}
  .hg-51-community .hg-gossip-tabs{padding:0;margin:16px 0}
  .hg-51-community .hg-gossip-tabs__item.is-active::after{width:100%}
  .hg-51-community .hg-faq{padding:18px;margin-top:32px}
  .hg-51-community .hg-faq__title{font-size:18px;line-height:26px}
  .hg-51-post .hg-post-detail__main{margin-top:20px}
  .hg-51-post .hg-post-detail__title{font-size:20px;line-height:30px}
  .hg-51-post .hg-post-detail__related-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .hg-51-post .hg-post-detail__rel-card{padding:0}
  .hg-51-post .hg-post-detail__rel-cover{aspect-ratio:4/3}
  .hg-51-post .hg-post-detail__rel-body h3{font-size:14px;line-height:20px}
  .hg-51-post .hg-post-detail__nav{gap:12px}
  .hg-51-post .hg-post-detail__nav-item{padding:16px;min-height:121px}
  .hg-51-legal .hg-site-info__grid{grid-template-columns:1fr;gap:16px}
  .hg-51-legal .hg-site-info__card{padding:18px;min-height:0}
  .hg-51-legal .hg-site-info__card h2,.hg-51-legal .hg-site-info__card h3{font-size:16px;line-height:24px;margin-bottom:8px}
  .hg-51-legal .hg-site-info__card p{font-size:13px;line-height:20px}
  .hg-51-brand .hg-site-info__head h1{font-size:24px;line-height:36px}
  .hg-51-brand .off-hero{min-height:0;padding:22px 20px}
  .hg-51-brand .off-hero__badge{font-size:13px;margin-bottom:18px}
  .hg-51-brand .off-hero__domain{font-size:26px;line-height:34px;margin-bottom:16px}
  .hg-51-brand .off-hero__lead,.hg-51-brand .hg-site-info>p,.hg-51-brand--about .hg-site-info>p,.hg-51-brand .off-list li{font-size:16px;line-height:26px}
  .hg-51-brand .off-toc{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hg-51-brand .off-toc a{font-size:14px;line-height:20px}
  .hg-51-brand .hg-site-info>h2{font-size:24px;line-height:32px;margin-top:38px;padding-bottom:14px}
  .hg-51-brand .off-box b,.hg-51-brand .off-tl b{font-size:18px;line-height:28px}
  .hg-51-brand .off-box p,.hg-51-brand .off-tl p,.hg-51-brand .hg-site-info__card .off-a{font-size:16px;line-height:26px}
  .hg-51-brand .hg-site-info__card h3{font-size:20px;line-height:30px}
}

/* About and official pages share the footer-page composition (2:9909, 2:9666). */
.hg-51-brand .hg-site-info__head{margin:12px 0 24px}
.hg-51-brand .hg-site-info__head h1{margin:0;color:#f6f8f8;font-size:28px;line-height:38px;font-weight:500}
.hg-51-brand .off-hero{box-sizing:border-box;min-height:0;margin:0;padding:24px 32px;border:1px solid #303c40;border-radius:8px;background:#20282b}
.hg-51-brand .off-hero__badge{display:inline-block;margin:0;padding:2px 8px;border:1px solid #252f32;border-radius:4px;background:#20282b;color:#d1d9dc;font-size:12px;line-height:19px}
.hg-51-brand .off-hero__domain{margin:16px 0 8px;color:#f6f8f8;font-size:22px;line-height:32px}
.hg-51-brand .off-hero__lead{margin:0;color:#f6f8f8;font-size:14px;line-height:23px}
.hg-51-brand .off-toc{display:flex;flex-wrap:wrap;gap:12px;margin:32px 0;padding:0}
.hg-51-brand .off-toc a{display:inline-flex;align-items:center;box-sizing:border-box;min-height:38px;padding:8px 16px;border:0;border-radius:6px;background:#181e20;color:#abef3b;font-size:14px;line-height:22px}
.hg-51-brand .off-toc a:hover,.hg-51-brand .off-toc a:focus-visible{background:#20282b;color:#abef3b}
.hg-51-brand .off-section-list{display:grid;gap:24px}
.hg-51-brand .off-section{scroll-margin-top:90px;box-sizing:border-box;min-height:114px;padding:24px 32px;border:1px solid #303c40;border-radius:8px;background:#181e20}
.hg-51-brand .off-section h2{margin:0 0 12px;color:#f6f8f8;font-size:18px;line-height:26px;font-weight:500}
.hg-51-brand .off-section h3{margin:18px 0 6px;color:#f6f8f8;font-size:15px;line-height:23px;font-weight:500}
.hg-51-brand .off-section p,.hg-51-brand--about .off-section p{margin:0;color:#d1d9dc;font-size:13px;line-height:25px;overflow-wrap:anywhere}
.hg-51-brand .off-section a{color:#abef3b}
.hg-51-brand .off-section .off-social{margin:12px 0}
@media(max-width:1023px){
  .hg-51-brand .off-hero,.hg-51-brand .off-section{padding:20px}
  .hg-51-brand .off-toc{gap:8px;margin:24px 0}
  .hg-51-brand .off-toc a{font-size:13px;padding:8px 12px}
  .hg-51-brand .hg-site-info__head h1{font-size:24px;line-height:34px}
}

/* Bottom FAQ: one visible question-and-answer card across category, search, community and topic pages. */
.hg-51-page:not(.hg-51-legal) .hg-faq{box-sizing:border-box;width:100%;padding:24px;border:1px solid #252f32;border-radius:8px;background:#181e20;font-family:"PingFang SC","Microsoft YaHei",sans-serif}
.hg-51-page:not(.hg-51-legal) .hg-faq__title{margin:0;color:#f6f8f8;font-size:22px;font-weight:500;line-height:31.9px}
.hg-51-page:not(.hg-51-legal) .hg-faq__list{display:flex;flex-direction:column;gap:20px;margin-top:24px}
.hg-51-page:not(.hg-51-legal) .hg-faq__item{min-width:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}
.hg-51-page:not(.hg-51-legal) .hg-faq__question{margin:0;color:#f6f8f8;font-size:14px;font-weight:500;line-height:21px;overflow-wrap:anywhere}
.hg-51-page:not(.hg-51-legal) .hg-faq__body{margin-top:8px;padding:0;border:0;color:#d1d9dc;font-size:13px;line-height:20.8px}
.hg-51-page:not(.hg-51-legal) .hg-faq__body p{margin:0;color:inherit;font-size:inherit;line-height:inherit;overflow-wrap:anywhere}
@media(max-width:767px){.hg-51-page:not(.hg-51-legal) .hg-faq{padding:16px}.hg-51-page:not(.hg-51-legal) .hg-faq__title{font-size:20px;line-height:29px}}
