/* Integration rules bridge data-backed templates to the supplied final reference. */
:root{--accent:#ec237f;--cg-rail:184px;--global-header-height:76px}
html{background:#151014}body{background:#151014;color:#f3edf0;padding-top:76px}
[hidden]{display:none!important}.visually-hidden-51{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.site51 #site-sidebar{display:none!important}.site51 #global-site-header{position:fixed;top:0;z-index:120;margin:0}.site51 #global-site-header .top{display:flex}.site51 .hg-header-brand{display:block;flex:0 0 123px}.site51 .hg-header-brand img{width:123px}.site51 .header-actions{display:flex;align-items:center;gap:22px;margin-left:auto}.site51 .header-actions .jg-history-entry,.site51 .account-copy{display:none!important}.site51 #account-entry{padding:0}.site51 .account-avatar,.site51 .account-avatar img{width:38px;height:38px}.site51 .header-aurora-layer{display:none}
.site51 main.shell{margin-left:var(--cg-rail);width:calc(100% - var(--cg-rail));padding:24px 40px 0;max-width:none}.site51.cg-home main.shell{padding:0}.site51 .cg-navigation{position:fixed;z-index:100;display:flex;flex-direction:column}.site51 .cg-navigation .hg-desktop-nav{display:flex;flex-direction:column}.site51 .cg-navigation .nav-collection-icon{width:18px;height:18px;fill:currentColor;stroke:none}.site51 .cg-navigation a{display:flex!important}.site51 .mobile-pages{display:none}
.site51.cg-home .home-content{display:flex;flex-direction:column;gap:48px;width:100%;margin:0;padding:0}.site51.cg-home .home-content>.hero-grid{display:block;margin-left:calc(-1 * var(--cg-rail));width:calc(100% + var(--cg-rail))}.site51.cg-home .home-content>:not(.hero-grid){width:calc(100% - 80px);max-width:1480px;margin-left:auto!important;margin-right:auto!important}.site51 #hero .primary{display:flex;align-items:center;justify-content:center;gap:9px;background:#ec237f;color:white;border-radius:999px}.site51 .cg-arc-card{display:block}.site51 .cg-arc-card span{color:#f7e8ef}
.site51 .cards{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:28px 18px}.site51 .card{display:block;padding:0;min-width:0}.site51 .cover{display:block;position:relative;overflow:hidden;aspect-ratio:640/914;border-radius:9px}.site51 .poster-source{width:100%;height:100%;object-fit:cover;display:block}.site51 .drama-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#99909a;font-size:11px;line-height:1.7;margin-top:7px}.site51 .drama-meta{display:flex;justify-content:space-between;gap:6px;margin-top:8px;font-size:11px;color:#a398a1}.site51 .drama-tags{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.site51 .drama-episodes{position:absolute;right:8px;bottom:8px;color:white;text-shadow:0 1px 3px #000;font-size:11px}.site51 .card h3{font-size:14px;margin:12px 0 0}.site51 .section-head{display:flex;justify-content:space-between}.site51 .home-category{min-width:0}.site51 .hg-topic-art{display:block;aspect-ratio:16/10;overflow:hidden;border-radius:10px}.site51 .hg-topic-art img{width:100%;height:100%;object-fit:cover}.site51 .topic-recommendation-copy{display:flex;flex-direction:column}.site51 .hg-footer{margin:48px 0 0 var(--cg-rail);width:calc(100% - var(--cg-rail));padding:36px 40px}.site51 .hg-footer-brand img{height:auto}.site51 .search-discovery--popup{z-index:150}.site51 .primary{color:white}
@media(min-width:761px) and (max-width:1180px){:root{--cg-rail:160px}.site51 .cards{grid-template-columns:repeat(4,minmax(0,1fr))}.site51.cg-home .home-content>:not(.hero-grid){width:calc(100% - 52px)}}
@media(max-width:760px){:root{--cg-rail:0px;--global-header-height:68px}.site51 .cg-navigation{display:none}.site51 main.shell{margin:0;width:100%;padding:20px 18px 0}.site51.cg-home .home-content{gap:30px}.site51.cg-home .home-content>:not(.hero-grid){width:calc(100% - 36px)}.site51 .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}.site51 .hg-footer{width:100%;margin-left:0;padding:28px 18px}.site51 .header-actions{gap:10px}.site51 .mobile-navigation-drawer #site-sidebar{display:flex!important}.site51 .mobile-pages{display:flex}.site51 .mobile-pages a{min-width:0}}
html,body.site51{background:#101014}html::-webkit-scrollbar{width:15px}html::-webkit-scrollbar-thumb{background:#aaa;border:3px solid #f1f1f1;border-radius:10px}html::-webkit-scrollbar-track{background:#f1f1f1}
.site51 .header-actions .jg-history-wrap{display:none!important}.site51 #global-site-header .search-icon-solid{width:20px;height:20px;fill:none;stroke:#c3bbc5;stroke-width:1.6}.site51 .cg-navigation svg{fill:none;stroke:currentColor}.site51.cg-home .home-content>:not(.hero-grid){width:calc(100% - 88px)}
.site51.cg-home .home-category .section-head .topic-more{border:0;background:none;padding:0}.site51 .home-promotions .announcement-solid-icon{fill:none;stroke:currentColor}
@media(max-width:1180px) and (min-width:761px){.site51.cg-home .home-content>:not(.hero-grid){width:calc(100% - 52px)}}
@media(max-width:760px){.site51.cg-home .home-content>:not(.hero-grid){width:calc(100% - 36px)}}
/* The fixed navigation must not cover page content on secondary routes. */
html body.site51:not(.cg-home)>.page-shell,html body.site51:not(.cg-home)>main.shell{margin-left:var(--cg-rail)!important;width:calc(100% - var(--cg-rail))!important;max-width:none;padding:28px 40px!important;gap:26px}
html body.site51 .info-heading,html body.site51 .info-heading h1{display:block!important;visibility:visible!important;opacity:1!important;height:auto!important;color:#f6eff3;font-size:28px;line-height:1.4;margin:0 0 24px;position:static!important}
html body.site51 .topic-breadcrumb,html body.site51 .page-breadcrumb{display:flex;gap:8px;font-size:12px;color:#9a929c;margin:0 0 20px}
html body.site51 .detail-play-btn,html body.site51 .detail-h5-play,html body.site51 .auth-submit{background:#ec237f!important;color:white!important}
html body.site51 .detail-page{gap:24px}.site51 .detail-hero{background:#1b1c1b}.site51 .detail-action svg{fill:currentColor}.site51 .poster-card-heat,.site51 .heat-value{color:#cf8ba9}
html body.site51 .channel-tabs a{display:inline-flex;align-items:center;justify-content:center;padding:8px 16px;border-radius:999px;background:transparent;border:1px solid transparent;color:#a69ca7;font-size:13px}
html body.site51 .channel-tabs a[aria-current=page]{color:#ec237f;border-color:#ec237f55;background:#ec237f0d}.site51 .rank-tabs{margin-bottom:26px}
@media(max-width:760px){html body.site51:not(.cg-home)>.page-shell,html body.site51:not(.cg-home)>main.shell{margin-left:0!important;width:100%!important;padding:22px 18px!important}.site51 .info-heading h1{font-size:24px}.site51 .detail-page{gap:20px}}
.hg-rank-list{display:flex;flex-direction:column}.hg-rank-row{display:grid;grid-template-columns:38px 78px minmax(0,1fr) 100px;align-items:center;gap:20px;padding:24px 0;border-bottom:1px solid #ffffff0c}.hg-rank-position{font:italic 26px Georgia;color:#ec237f;text-align:center}.hg-rank-cover{position:relative;width:78px;height:112px}.hg-rank-cover img{width:100%;height:100%;object-fit:cover;border-radius:6px}.hg-rank-copy{display:flex;flex-direction:column;gap:12px;min-width:0}.hg-rank-copy strong{font-size:15px}.hg-rank-copy>span{font-size:12px;color:#9a929b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hg-rank-copy small{font-size:11px;color:#a1949e}.hg-rank-heat{text-align:right;color:#ce9ab2;font-size:14px}.hg-rank-row:hover strong{color:#ec237f}
@media(max-width:760px){.hg-rank-row{grid-template-columns:24px 60px minmax(0,1fr);gap:10px;padding:18px 0}.hg-rank-cover{width:60px;height:86px}.hg-rank-copy strong{font-size:13px}.hg-rank-copy>span{font-size:11px}.hg-rank-heat{grid-column:3;text-align:left;margin-top:-8px;font-size:11px}}
/* Preserve the reference's underline tabs on data-backed anchor navigation. */
html body.site51 #channel-page .channel-tabs{display:flex;align-items:flex-start;gap:36px;margin:0 0 28px!important;padding:0!important;border:0!important;background:transparent;overflow-x:auto;flex-wrap:nowrap}
html body.site51 #channel-page .channel-tabs a{position:relative;flex:0 0 auto;min-width:0!important;width:auto!important;height:auto!important;margin:0!important;padding:10px 0 18px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#aaa1ac!important;font:400 18px/1.5 var(--font-ui)!important;white-space:nowrap}
html body.site51 #channel-page .channel-tabs a[aria-current=page],html body.site51 #channel-page .channel-tabs a[aria-current=page] span{color:#ec237f!important;background:transparent!important;font-weight:500!important}
html body.site51 #channel-page .channel-tabs a[aria-current=page]:after{content:'';position:absolute;left:50%;bottom:2px;transform:translateX(-50%);width:24px;height:4px;border-radius:99px;background:#ec237f;box-shadow:0 0 10px #ec237f55}
html body.site51 .info-heading h1{margin:0!important}.site51 .heat-value{color:#cf8ba9}.site51 .coin-symbol img{object-fit:contain}
@media(max-width:760px){html body.site51 #channel-page .channel-tabs{gap:24px;margin-bottom:24px!important}html body.site51 #channel-page .channel-tabs a{font-size:15px!important;padding-bottom:15px!important}}
html body.site51 .channel-topic-grid .topic-card{display:flex!important;flex-direction:column;height:auto!important;min-height:0;aspect-ratio:auto!important;overflow:hidden;border-radius:8px;background:#281c24}
html body.site51 .channel-topic-grid .topic-card>img{position:static!important;display:block;width:100%;height:auto!important;aspect-ratio:16/10;object-fit:cover;flex:none}
html body.site51 .channel-topic-grid .topic-recommendation-copy{position:static!important;display:flex!important;flex-direction:column;flex:none;transform:none!important;opacity:1!important;padding:18px;gap:7px;background:#281c24;color:#f5edf2}
html body.site51 .channel-topic-grid .topic-recommendation-copy small{font-size:11px;color:#a69aa3}.site51 .coin-symbol{background:transparent!important;box-shadow:none!important;border:0!important}.site51 .coin-symbol img{width:100%!important;height:100%!important;filter:none!important}
@media(max-width:760px){html body.site51 .channel-topic-grid .topic-recommendation-copy{padding:12px}}
html body.site51 .register-dialog-submit,html body.site51 .login-dialog-submit{background:#ec237f!important;background-image:none!important;color:#fff!important;box-shadow:0 8px 24px #ec237f20}
.hg-home-ranking{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:28px 18px}.hg-rank-tile{display:grid;grid-template-columns:24px minmax(0,1fr);gap:0 7px;min-width:0;align-items:start}.hg-rank-tile .cover{grid-column:1/3;width:100%;margin-bottom:12px}.hg-tile-number{grid-column:1;grid-row:2/4;font:500 22px/1.1 Arial;color:#b9849d}.hg-rank-tile:nth-child(-n+3) .hg-tile-number{color:#f7a0c9}.hg-rank-tile h3{font-size:12px;min-height:37px;margin:0;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.hg-rank-tile .drama-meta{grid-column:2;font-size:10px;gap:5px}.hg-rank-tile .drama-tags{display:none}
@media(min-width:761px) and (max-width:1180px){.hg-home-ranking{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.hg-home-ranking{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 10px}.hg-rank-tile{grid-template-columns:17px minmax(0,1fr);gap:0 5px}.hg-tile-number{font-size:17px}.hg-rank-tile h3{font-size:10px;min-height:32px}.hg-rank-tile .drama-meta{font-size:9px;grid-column:1/3}}
/* Reference headings already provide vertical padding; avoid adding a second gap. */
html body.site51 .info-heading{margin-bottom:0!important}html body.site51 #info-page .page-breadcrumb{margin-bottom:0!important}
html body.site51 .feedback-breadcrumb>span:last-child{color:#ec237f}
html body.site51 .channel-topic-grid .topic-recommendation-copy small{color:#a69aa3!important}
html body.site51{background:#101014!important}
/* Keep the desktop content rail stable on both long and empty pages. */
html{overflow-y:scroll!important}html::-webkit-scrollbar{width:15px!important}
html{scrollbar-width:auto!important;scrollbar-color:auto!important}
html body::-webkit-scrollbar{width:15px!important}
.site51 .hg-footer .footer-addresses{display:flex;flex-wrap:wrap;gap:8px 24px;margin:22px 0;color:#a59aa3;font-size:12px}.site51 .hg-footer .footer-addresses p{margin:0}.site51 .hg-footer .footer-addresses a{color:#d394b1;overflow-wrap:anywhere}.site51 .hg-footer-social a{font-size:12px}
@media(max-width:760px){.site51 .hg-footer .footer-addresses{display:flex;flex-direction:column;gap:10px}}
/* Deep-page audit: override inherited 51 layout only at the reference surfaces. */
html body.site51 main.shell.channel-shell{padding:32px 40px 36px!important;display:block;min-height:0}
html body.site51 main.shell.info-shell{padding:32px 40px 40px!important;min-height:0}
html body.site51 main.shell :is(.page-breadcrumb,.topic-breadcrumb,.feedback-breadcrumb){font:400 16px/1.5 var(--font-ui)!important;gap:12px;margin:0!important}
html body.site51 main.shell :is(.page-breadcrumb,.topic-breadcrumb,.feedback-breadcrumb) :is(a,span){font:inherit!important}
html body.site51 main.shell>.info-heading{padding:30px 0 28px!important;margin:0!important}
html body.site51 main.shell>.info-heading h1{font:650 32px/1.3 var(--font-ui)!important;letter-spacing:0;margin:0!important}
html body.site51 .channel-shell #channel-content .drama-data-card>h3{font:400 13px/1.5 var(--font-ui)!important;margin:12px 0 7px!important}
html body.site51 .channel-shell #channel-content .drama-description{font:400 11px/1.75 var(--font-ui)!important;margin:0 0 9px!important}
html body.site51 .empty-btn--primary{background:#ec237f!important;color:#fff!important}
html body.site51 .deposit-package--active{border-color:#ec237f!important;box-shadow:0 0 0 1px #ec237f33!important}
html body.site51 .deposit-package--active:after{background:#ec237f!important}
html body.site51 .login-dialog-error,html body.site51 .register-dialog-error{color:#ff718b!important}
html body.site51 #loginDialog .login-dialog-card{display:block!important;gap:0!important}
html body.site51 #loginDialog .login-dialog-head{margin:0 0 24px}
html body.site51 #loginDialog .login-dialog-form{display:block!important}
html body.site51 #loginDialog .login-dialog-field-group{display:block;margin:0 0 20px}
html body.site51 #loginDialog .login-dialog-label{display:block;margin:0 0 10px}
html body.site51 #loginDialog .login-dialog-summary-error{min-height:20px;margin:0 0 12px;color:#ff718b;font-size:14px;line-height:21px}
html body.site51 #loginDialog[data-mode=switch] .login-dialog-error,html body.site51 #loginDialog[data-mode=switch] .login-dialog-register{display:none!important}
html body.site51 #loginDialog .login-dialog-register{margin-top:20px}
html body.site51 #loginDialog .login-dialog-legal{margin-top:20px}
@media(max-width:760px){
 html body.site51 main.shell.channel-shell{padding:22px 18px 36px!important}
 html body.site51 main.shell.info-shell{padding:22px 18px 40px!important}
 html body.site51 main.shell :is(.page-breadcrumb,.topic-breadcrumb,.feedback-breadcrumb){font-size:12px!important;line-height:1.6!important;gap:8px}
 html body.site51 main.shell>.info-heading{padding:24px 0!important}
 html body.site51 main.shell>.info-heading h1{font-size:26px!important}
 html body.site51 .channel-shell #channel-content .drama-data-card>h3{font-size:14px!important;margin-top:9px!important}
 html body.site51 .channel-shell #channel-content .drama-description{font-size:12px!important;line-height:1.6!important}
}
html body.site51 #search-results-page{padding:32px 40px 36px!important;min-height:0}
html body.site51 #search-results-page .search-inner{width:100%;max-width:none;margin:0;padding:0}
html body.site51 #search-results-page .search-results-heading{margin:26px 0 28px!important}
html body.site51 #search-results-page h1{font:650 28px/1.4 var(--font-ui)!important;margin:0 0 10px}
html body.site51 #search-results-page .search-result-count{margin:0;font-size:14px;color:#aaa}
html body.site51 .register-agreement-error{color:#ff718b;font-size:14px;margin:0 0 12px}
html body.site51 #registerDialog .auth-bind-agreement{margin:0 0 14px}
html body.site51 #registerDialog .register-dialog-submit{background:linear-gradient(110deg,#ff4085 0%,#ec237f 56%,#953c20 100%)!important}
@media(max-width:760px){html body.site51 #search-results-page{padding:22px 18px 36px!important}html body.site51 #search-results-page .search-results-heading{margin:20px 0 24px!important}html body.site51 #search-results-page h1{font-size:22px!important}}
@media(max-width:760px){html body.site51 .channel-shell #channel-content .drama-data-card>h3{font-size:13px!important;margin:12px 0 7px!important}html body.site51 .channel-shell #channel-content .drama-description{font-size:11px!important;line-height:1.75!important;margin:0 0 7px!important}}
html body.site51 #coinDialog .coin-dialog-card{width:min(560px,calc(100vw - 32px))!important;box-shadow:none}
html body.site51 #coinDialog .coin-dialog-symbol{background:transparent!important;border:0!important;box-shadow:none!important;width:64px;height:64px}
html body.site51 #coinDialog .coin-dialog-symbol img{width:100%;height:100%;filter:none}
html body.site51 #coinDialog :is(.coin-dialog-balance-cost,.coin-dialog-balance-cost span,.coin-dialog-recharge){color:#ec237f!important}
html body.site51 #coinDialog .coin-dialog-actions{display:grid;gap:16px}
html body.site51 #coinDialog .coin-dialog-actions.has-download{grid-template-columns:1.25fr 1fr}
html body.site51 #coinDialog .coin-dialog-cta{background:linear-gradient(135deg,#ffc19a,#ffe0b7)!important;color:#783517!important;min-height:60px;padding:16px 12px;font-size:16px}
html body.site51 #coinDialog .coin-dialog-cta span{color:inherit!important}
html body.site51 #coinDialog .coin-dialog-download{border:0;border-radius:20px;background:linear-gradient(115deg,#ff496e,#f51b87 55%,#a51e79);color:white;font-size:16px}
@media(max-width:760px){html body.site51 #coinDialog .coin-dialog-card{width:calc(100vw - 48px)!important;padding:28px 20px;border-radius:30px}html body.site51 #coinDialog .coin-dialog-actions.has-download{grid-template-columns:1fr}html body.site51 #coinDialog .coin-dialog-cta{min-height:52px;border-radius:16px}}

:root{--hg-empty-sheet:url('/static/huangguo/assets/2f60012528ea8cf0.png')}
html body.site51 .detail-sort-btn{padding:4px 8px!important;border-radius:999px!important;color:#929299!important;background:transparent!important}
html body.site51 .detail-sort-btn--active{color:#f2f2f4!important;background:#55555b!important}
html body.site51 .detail-official a{color:#ec237f!important}

html body.site51 #loginDialog .login-dialog-input:focus{outline:none!important;box-shadow:none!important}
html body.site51 .feedback-select-menu button[aria-selected=true]{background:#ec237f!important}

html body.site51 #search-results-page .search-inner{display:block;gap:0}
html body.site51 #registerDialog [data-register-error]{display:none!important}
html body.site51 #registerDialog .register-summary-error{min-height:20px;margin:0 0 12px;color:#ff718b;font-size:14px;line-height:20px}

html body.site51 .drama-contacts a{color:#ec237f!important}

/* Reference form uses four desktop/two phone choices, in the same section order. */
html body.site51 #feedback-form .feedback-section{order:0;gap:16px}
html body.site51 #feedback-form .feedback-section h2{margin:0;font-size:18px;line-height:27px;font-weight:600}
html body.site51 #feedback-form :is(.feedback-issues,.feedback-frequency)>.feedback-panel{padding:0;border:0;background:none;box-shadow:none}
html body.site51 #feedback-form .feedback-option span{white-space:normal}
html body.site51 .edit-password-page{background:#101014}
html body.site51 :is(.edit-password-submit,.edit-password-toggle){background:#ec237f;color:#fff}
html body.site51 .edit-password-field:focus-within{border-color:#ec237f}
html body.site51 #registerDialog .register-dialog-card{display:block!important;gap:0!important}
html body.site51 #registerDialog .register-summary-error:empty{display:none}
html body.site51 #registerDialog .register-agreement-error[hidden]{display:none!important}
html body.site51 #registerDialog .register-dialog-form{display:block!important;gap:0!important}
html body.site51 #registerDialog .register-dialog-field-group{display:block;margin:0 0 18px}
html body.site51 #registerDialog .register-dialog-label{display:block;margin:0 0 8px}
html body.site51 #registerDialog .register-dialog-login{margin:20px 0 0;line-height:21px}
@media(max-width:760px){html body.site51 #registerDialog .register-dialog-card,html body.site51 #loginDialog .login-dialog-card{max-width:calc(100vw - 48px)!important}}
/* User screenshot corrections: final reference age dialog and homepage metadata. */
html body #eightPop [data-entry-age]{width:760px;max-width:calc(100vw - 32px);padding:0;background:#1a1e24;border:1px solid #ffffff1c;border-radius:24px;overflow:hidden}
html body #eightPop .eight-pop-card{display:grid;grid-template-columns:180px minmax(0,1fr);min-height:310px;background:transparent;border:0;border-radius:0;padding:0;gap:0}
html body #eightPop .eight-pop-mark{display:grid;place-items:center;padding:28px;background:linear-gradient(145deg,#f57fb610,transparent)}
html body #eightPop .eight-pop-copy{display:flex;flex-direction:column;justify-content:center;padding:36px;gap:26px;min-width:0}
html body #eightPop .eight-pop-copy h2{font-size:23px;font-weight:550;line-height:32px;margin:0 0 16px;color:#fff}
html body #eightPop .eight-pop-copy p{font-size:14px;line-height:1.8;color:#aaadb4;margin:0}
html body #eightPop .eight-pop-copy p+p{margin-top:24px}
html body #eightPop .eight-pop-actions{display:flex;align-items:center;gap:12px;margin:0}
html body #eightPop .eight-pop-actions button{border-radius:14px;font-size:14px;line-height:24px;min-height:46px;cursor:pointer}
html body #eightPop .eight-pop-btn--confirm{width:220px;background:var(--brand-button);background-image:var(--brand-button);color:#fff;font-weight:550;border:0;padding:1px 6px}
html body #eightPop .eight-pop-btn--exit{width:auto;border:1px solid #ffffff20;background:#ffffff05;color:#b4b7be;padding:12px 16px}
html body #eightPop [data-entry-age]>.entry-dialog-close{display:none}
html body .cg-arc-meta{display:flex;align-items:center;gap:14px}
html body .announcement-label .cg-announcement-icon{display:block;width:18px;height:18px;fill:none;stroke:#f1a0c0;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html body.site51.cg-home .section-head .topic-more{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border:1px solid #ffffff10;background:#281d23;border-radius:99px;font-size:11px;line-height:16px}
html body.site51.cg-home .section-head .topic-more>span{font-size:18px;line-height:16px}
html body.site51 #romance-rows{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-rows:124px!important;gap:26px 22px!important}
html body.site51 #romance-rows>.card{min-width:0;text-align:left}
html body.site51 #romance-rows>.card:first-child{height:auto!important;grid-row:1/span 4!important}
html body.site51 #romance-rows>.card:first-child>.cover-status-badges{position:absolute;top:10px;right:10px}
html body.site51 #romance-rows .drama-tags{display:flex;gap:8px}
html body.site51 #romance-rows .drama-heat .heat-value{font-size:inherit;line-height:inherit}
html body.site51 .bottom-app-prompt{display:grid}
html body.site51 .bottom-app-download{display:inline-flex;align-items:center;gap:8px;border-radius:99px;padding:12px 18px;color:#fff;background:var(--brand-button);font-size:12px;font-weight:600;width:max-content}
html body.site51 .bottom-app-download svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8}
@media(max-width:760px){
 html body #eightPop [data-entry-age]{width:342px;background:#191d23}
 html body #eightPop .eight-pop-card{display:flex;flex-direction:column;gap:20px;padding:26px 22px;min-height:0}
 html body #eightPop .eight-pop-mark{padding:0;background:none}
 html body #eightPop .eight-pop-copy{padding:0;gap:22px}
 html body #eightPop .eight-pop-copy h2{font-size:19px;margin:0 0 14px;line-height:28px}
 html body #eightPop .eight-pop-copy p{font-size:13px;line-height:1.8;text-align:left}
 html body #eightPop .eight-pop-actions{gap:10px;flex-direction:column}
 html body #eightPop .eight-pop-actions button{height:46px;min-height:46px;width:100%;padding:0}
 html body.site51 #romance-rows{grid-template-columns:minmax(0,1fr)!important;grid-auto-rows:auto!important;gap:18px!important}
 html body.site51 #romance-rows>.card:first-child{height:222px!important;grid-row:auto!important}
}
html body.site51 #romance-rows>.card:first-child .drama-meta{justify-content:flex-start}
html body.site51 .section-head .topic-more{gap:7px}

html body #eightPop{width:100vw;max-width:none}
@media(max-width:760px){html body #eightPop .eight-pop-copy h2{line-height:24px}}

/* Reference correction: shared card badges and portal surfaces, 2026-10-27. */
html body.site51 .home-corner-badge{font-size:10px;line-height:18px;padding:2px 6px;min-width:0;min-height:0;border-radius:4px;box-sizing:border-box}
html body.site51 .home-corner-badge--hot{background:#ff942a;color:#fff}
html body.site51 .home-corner-badge--new{background:#ee58a4;color:#fff}
html body.site51 .member-avatar-controls .member-avatar-choose{display:inline-block;width:auto;padding:7px 14px;border:1px solid rgba(255,255,255,.12);border-radius:8px;background:rgba(255,255,255,.04);cursor:pointer}
html body.site51 .login-dialog-control.is-error{border-color:#eb2384!important}
html body.site51 .search-discovery--popup{background:#202127;padding:20px;border-radius:18px}
html body.site51 .search-hot-section{padding:16px 0;border-bottom:1px solid rgba(255,255,255,.08)}
html body.site51 .search-hot-list{gap:2px}
html body.site51 .search-hot-list li>a{min-height:34px;padding:4px 0}
html body.site51 .search-recommend-section{padding-top:16px}
html body.site51 .search-recommend-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
html body.site51 .search-pick{display:block;min-width:0;border-radius:9px;overflow:hidden;background:rgba(255,255,255,.035);text-decoration:none;color:inherit}
html body.site51 .search-pick-cover{display:block;position:relative;aspect-ratio:3/4;overflow:hidden}
html body.site51 .search-pick-cover>img{width:100%;height:100%;object-fit:cover}
html body.site51 .search-pick-body{display:grid;gap:5px;padding:9px 8px}
html body.site51 .search-pick-body strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}
html body.site51 .search-pick-body small{font-size:12px;color:#999}
@media(max-width:768px){html body.site51 .search-discovery--popup{padding:16px}html body.site51 .search-recommend-grid{gap:7px}html body.site51 .search-pick-body strong{font-size:10px}html body.site51 .search-pick-body small{display:none}}
/* Final reference states also override inherited rich-text and directory rules. */
html body.site51 .richtext-help #info-content{font-size:16px;line-height:24px}
html body.site51 .richtext-help #info-content details{padding:18px 0;margin:0}
html body.site51 .richtext-help #info-content summary{font-size:16px;line-height:24px}
html body.site51 .richtext-help #info-content p{margin:14px 0 0;font-size:14px;line-height:1.95}
html body.site51 #channel-page[data-channel="apps"] .channel-tabs{gap:36px;padding:0;margin:0 0 34px;background:transparent}
html body.site51 #channel-page[data-channel="apps"] .channel-tabs button{position:relative;background:transparent;border:0;border-radius:0;padding:10px 0 18px;font-size:18px;line-height:27px;color:#aaa1ac!important;font-weight:400;min-height:0}
html body.site51 #channel-page[data-channel="apps"] .channel-tabs button[aria-pressed="true"]{background:transparent;color:var(--accent)!important;font-weight:500}
html body.site51 #channel-page[data-channel="apps"] .channel-tabs button[aria-pressed="true"]::after{content:"";position:absolute;bottom:2px;left:50%;transform:translateX(-50%);width:24px;height:4px;border-radius:2px;background:var(--accent)}
@media(max-width:760px){html body.site51 #channel-page[data-channel="apps"] .channel-tabs{gap:24px;margin-bottom:24px}html body.site51 #channel-page[data-channel="apps"] .channel-tabs button{font-size:15px;line-height:22.5px;padding:10px 0 15px}}
html body.site51 #headerSearchPanel.search-discovery{background:#202027;padding:20px;border-radius:18px;border-color:#ffffff10}
html body.site51 #headerSearchPanel .search-recommend-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:0}
html body.site51 #headerSearchPanel .search-discovery-heading{margin-bottom:12px;min-height:24px}
html body.site51 #headerSearchPanel h2{font-size:16px;line-height:24px;font-weight:650;margin:0 0 12px}
html body.site51 #headerSearchPanel .search-discovery-heading h2{margin:0}
html body.site51 #headerSearchPanel [data-search-clear],html body.site51 #headerSearchPanel [data-search-refresh]{color:#ec237f;font-size:14px}
html body.site51 #headerSearchPanel .search-history-tags button{border-radius:6px;padding:6px 12px;font-size:12px;color:#eee;background:#ffffff04}
html body.site51 #headerSearchPanel .search-hot-section{padding:16px 0;margin:0}
html body.site51 #headerSearchPanel .search-suggestion-section{padding:16px 0;border-bottom:1px solid rgba(255,255,255,.08)}
html body.site51 #headerSearchPanel .search-suggestion-section>h2{margin:0 0 12px}
html body.site51 #headerSearchPanel .search-suggestion-list{display:flex;flex-direction:column;gap:2px}
html body.site51 #headerSearchPanel .search-suggestion-list button{display:flex;align-items:center;gap:10px;width:100%;min-height:34px;padding:4px 0;border:0;border-radius:8px;background:transparent;color:inherit;text-align:left}
html body.site51 #headerSearchPanel .search-suggestion-list button:hover{background:#ffffff0a}
html body.site51 #headerSearchPanel .search-suggestion-list .suggestion-number{display:grid;place-items:center;width:24px;height:24px;flex:0 0 24px;border-radius:50%;background:#282828;color:#969696;font-size:14px}
html body.site51 #headerSearchPanel .search-suggestion-list button:nth-child(1) .suggestion-number{background:linear-gradient(135deg,#ffd095,#ed9b3b);color:#fff}
html body.site51 #headerSearchPanel .search-suggestion-list button:nth-child(2) .suggestion-number{background:linear-gradient(135deg,#d3eaf7,#8aaebd);color:#fff}
html body.site51 #headerSearchPanel .search-suggestion-list button:nth-child(3) .suggestion-number{background:linear-gradient(135deg,#ffd0b5,#df9277);color:#fff}
html body.site51 #headerSearchPanel .suggestion-copy{min-width:0;flex:1}
html body.site51 #headerSearchPanel .suggestion-copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:400}
html body.site51 #headerSearchPanel .suggestion-heat{color:#888;font-size:12px;white-space:nowrap}
html body.site51 #headerSearchPanel .search-hot-list{margin:0;gap:2px}
html body.site51 #headerSearchPanel .search-hot-list a{min-height:34px;box-sizing:border-box;padding:4px 0;gap:10px;font-size:14px;line-height:21px}
html body.site51 #headerSearchPanel .search-hot-rank{width:24px;height:24px;flex:0 0 24px;font-size:14px}
html body.site51 #headerSearchPanel .search-hot-value{font-size:12px;color:#888}
html body.site51 #headerSearchPanel .search-hot-value .heat-value-icon{display:none}
html body.site51 #headerSearchPanel .search-hot-value .heat-value{color:inherit}
html body.site51 #headerSearchPanel .search-pick-cover{aspect-ratio:640/914}
@media(max-width:760px){html body.site51 #headerSearchPanel .search-recommend-grid{gap:7px}html body.site51 #headerSearchPanel .search-pick-body{padding:8px 5px}html body.site51.is-play-page .player-control-row button{padding-inline:4px}html body.site51.is-play-page .home-app-marquee{--app-size:52px;--app-gap:10px;padding:16px 0}html body.site51.is-play-page .home-app-item{gap:7px}html body.site51.is-play-page .home-app-item span{font-size:10px}}
html body.site51 #loginDialog [data-login-control].is-error{border-color:#eb2384!important}
html body.site51 #info-content #member-nickname-hint{margin-bottom:28px}
@media(max-width:760px){html body.site51.is-detail-page .detail-cover{object-fit:cover!important;background:#19191b}}
@media(max-width:760px){html body.site51 .play-advertisements{display:flex;gap:12px;overflow-x:auto;scrollbar-width:none;padding:18px 0 0}html body.site51 .play-advertisements>a{flex:0 0 52px;min-width:0}html body.site51 .play-advertisements img{width:52px;height:52px;border-radius:12px}html body.site51 .play-advertisements span{font-size:10px}}
html body.site51 #headerSearchPanel .search-recommend-section{margin:0;padding-top:16px;border-top:0}
html body.site51 #headerSearchPanel .search-hot-section{border-top:0}
html body.site51 #headerSearchPanel .search-discovery-heading{min-height:30px}
html body.site51 #headerSearchPanel [data-search-clear],html body.site51 #headerSearchPanel [data-search-refresh]{color:#ec237f!important}
html body.site51 #headerSearchPanel .search-pick-body small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(min-width:761px){html body.site51 #channel-page[data-channel="rank"],html body.site51 #info-page.deposit-page{box-sizing:border-box;width:min(1640px,calc(100vw - var(--cg-rail)))}}
/* Status variants have distinct border geometry in the final HTML reference. */
html body.site51 .home-corner-badge{font-size:10px;line-height:16px;padding:2px 6px;min-height:20px;min-width:0;font-weight:500;border:0}
html body.site51 .home-corner-badge--hot{background:#ff922e;color:#fff;border:1px solid #ffb86a;font-weight:600}
html body.site51 .home-corner-badge--original{background:#3b2c23ed;color:#f6d3ac;border:1px solid #caa77b73}
html body.site51 .home-corner-badge--new{background:#f262a5;color:#fff}
html body.site51 .home-corner-badge--free{background:#527f7b;color:#fff}
