/* All portrait slots use the design's 640 × 914 frame, independent of uploaded artwork. */
body .cover,body .media.portrait,body .poster-cover{display:block;position:relative;aspect-ratio:640/914!important;height:auto!important;overflow:hidden}
body .cover .poster-source,body .media.portrait .poster-source,body .poster-cover>img{display:block;width:100%!important;height:100%!important;position:absolute;inset:0;object-fit:cover;object-position:center}
body .media.landscape{aspect-ratio:16/9;overflow:hidden}
body .media.landscape img{width:100%;height:100%;object-fit:cover}
#profile-popover[hidden]{display:none!important}
#profile-popover .profile-count[hidden]{display:none}
#profile-popover .profile-avatar-link{padding:0;min-height:0}
body.is-detail-page .detail-actions{align-items:center;gap:12px;flex-wrap:wrap}
body.is-detail-page .detail-action-group{width:auto;flex:1;min-width:max-content;align-items:center;justify-content:flex-end;flex-wrap:nowrap}
.detail-download-btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 22px;border:1px solid #ffffff20;border-radius:999px;color:#ddd;white-space:nowrap;font-size:14px;min-height:46px}
body.is-detail-page .detail-action--active{background:var(--accent);border-color:var(--accent);color:white}
body.is-detail-page .detail-action--active img{filter:brightness(0) invert(1);opacity:1}
body.is-detail-page .detail-episode-coin{position:absolute;top:3px;left:3px;right:auto;bottom:auto;font-size:0;line-height:1;padding:0;background:none;width:14px;height:14px}
body.is-detail-page .detail-episode-coin img{width:14px;height:14px}
body.is-detail-page .detail-comments{background:#1a1a1a;padding:26px;border-radius:14px}
body.is-detail-page .detail-comment-composer{padding:14px;gap:14px}
body.is-detail-page .detail-comment-composer-input{background:#090909;border:0;border-radius:10px;min-height:66px;padding:14px;color:#eee}
body.is-detail-page .detail-comment-composer-logged,body.is-detail-page .detail-comment-composer-user{display:none}
body.is-detail-page .detail-comment-composer-submit{background:var(--accent);border-radius:999px}
body.is-home-road-page .home-road{max-width:none;padding:0;margin:0 32px 48px 272px;width:auto}
body.is-home-road-page .road-breadcrumb{display:flex;gap:14px;color:#85858d;margin:0 0 28px;font-size:16px}
body.is-home-road-page .road-breadcrumb [aria-current]{color:var(--accent)}
body.is-home-road-page .channel-title{font-size:34px;margin:0 0 28px}
html.sidebar-collapsed body.is-home-road-page .home-road{margin-left:136px}
.return-copy-status:empty{display:none}
@media(max-width:1000px){body.is-detail-page .detail-action-group{flex-basis:100%;justify-content:flex-start}}
@media(max-width:760px){body.is-home-road-page .home-road,html.sidebar-collapsed body.is-home-road-page .home-road{margin:0 19px 32px}body.is-home-road-page .channel-title{font-size:26px}body.is-detail-page .detail-comments{padding:16px}body.is-detail-page .detail-actions{min-width:0}body.is-detail-page .detail-action-group{min-width:0;flex-wrap:wrap}.detail-download-btn{padding:10px 13px;font-size:12px}}
.member-library-tabs a{position:relative;flex-shrink:0;padding:16px 0 20px;color:#929299;font-size:16px;font-weight:500;white-space:nowrap}
.member-library-tabs a[aria-current=page]{color:var(--accent)}
.member-library-tabs a[aria-current=page]::after{content:'';position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:26px;height:3px;border-radius:3px;background:var(--accent)}
.member-library-empty{grid-column:1/-1;text-align:center;color:#999;padding:70px 20px}.member-library-empty a{color:var(--accent)}
.member-library-pagination{display:flex;gap:20px;justify-content:center;margin:30px 0;color:#999}.member-library-pagination a{color:var(--accent)}
.library-selection{position:absolute;z-index:3;top:12px;left:12px;background:#17171bcc;padding:7px;border-radius:8px}.library-selection input{width:20px;height:20px;accent-color:var(--accent)}
.member-library.is-managing .card{pointer-events:none}
a.member-settings-action{display:flex;width:100%;align-items:center;justify-content:space-between;padding:22px 0;border-bottom:1px solid #ffffff12;color:#ddd}
a.member-settings-action strong,a.member-settings-action small{display:block}a.member-settings-action small{font-size:13px;color:#888;margin-top:6px}
label.member-avatar-preview{position:relative;display:block;overflow:hidden;cursor:pointer}label.member-avatar-choose{cursor:pointer;display:inline-block}
body .deposit-page{display:block;gap:0;color:#eee}body .deposit-page .deposit-breadcrumb{margin:0;gap:12px;font-size:16px}body .deposit-page .wallet-balance-card{margin-bottom:36px}
body .deposit-page .deposit-section-heading{margin:30px 0 20px}body .deposit-page .deposit-section-heading h2,body .deposit-page .deposit-transactions h2{font-size:22px}
body .deposit-page .deposit-mobile-banner{display:none!important}body .deposit-page .deposit-packages-panel{padding:24px;border:1px solid #ffffff16;border-radius:16px;background:#19191d}
body .deposit-page .deposit-packages-panel header{display:flex;align-items:center;gap:15px;margin-bottom:22px}body .deposit-page .deposit-packages-panel header h2{font-size:17px;margin:0}body .deposit-page .deposit-packages-panel header p{margin:0;color:#888;font-size:13px}
body .deposit-page .deposit-packages{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}body .deposit-page .deposit-package{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-width:0;min-height:180px;background:#ffffff04;border:1px solid #ffffff20;border-radius:12px;position:relative;color:#ddd;padding:22px 12px}
body .deposit-page .deposit-package--active{background:#ec20830d;border-color:var(--accent)}body .deposit-page .deposit-package-name{order:0;font-size:22px}body .deposit-page .deposit-price{order:1;font-size:26px;color:#eee}body .deposit-page .deposit-package small{order:2;font-size:12px;color:#aaa}body .deposit-page .deposit-package .deposit-coin-icon{display:none}
body .deposit-page .deposit-submit{border-radius:999px;background:var(--accent);min-width:240px;color:white}body .deposit-page .deposit-purchase{margin:30px 0;text-align:center}body .deposit-page .deposit-transactions{margin-top:38px}
@media(max-width:760px){.member-library-tabs a{font-size:14px}body .deposit-page .deposit-packages{grid-template-columns:repeat(2,minmax(0,1fr))}body .deposit-page .deposit-packages-panel{padding:18px}body .deposit-page .deposit-package{min-height:150px}body .deposit-page .deposit-packages-panel header{align-items:flex-start;flex-direction:column;gap:8px}}
body main.shell{max-width:none;width:auto}
body .richtext-page{display:block}body .richtext-page>.info-heading{padding:30px 0 28px}body .richtext-page .richtext-body{font-size:15px;color:#aaa;line-height:1.9;overflow-wrap:anywhere}body .richtext-page .richtext-body h2{color:#eee;font-size:20px;margin:28px 0 18px}body .richtext-page .richtext-body h2:first-child{margin-top:0}body .richtext-page .richtext-body p{margin:0 0 14px}
body #channel-page .content-section{padding:0;margin:0;border:0}body #channel-page .rank-tabs{gap:28px;margin:0 0 24px;border:0;justify-content:flex-start}body #channel-page .rank-tab{padding:8px 0;background:none;border:0;color:#888;font-size:17px;height:auto;min-width:0}body #channel-page .rank-tab--active,body #channel-page .rank-tab-text--active{color:var(--accent)}body #channel-page .rank-tab-text{background:none;font-size:inherit;padding:0}body .rank-layout .poster-card{background:transparent}body .rank-layout .poster-card-body{padding:12px 0 0}body .rank-layout .poster-card-tag{background:none;border:0;padding:0;color:#999}
body #channel-page .app-category-tabs{display:flex;justify-content:flex-start;gap:24px;padding:0;border:0;background:none;margin-bottom:28px}body #channel-page .app-category-tab{border:0;background:none;color:#999;font-size:16px;padding:8px 0}body #channel-page .app-category-tab--active{color:var(--accent)}body #channel-page .app-list-section{margin:0 0 36px;padding:0;background:none;border:0}body #channel-page .app-card-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:22px;max-height:none}body #channel-page .app-card{display:flex;flex-direction:column;align-items:center;padding:0;background:transparent;border:0;border-radius:0;gap:12px;min-width:0}body #channel-page .app-card__icon-wrap{width:100%;max-width:104px;height:auto;aspect-ratio:1;border-radius:22px;overflow:hidden}body #channel-page .app-card__icon{width:100%;height:100%;object-fit:cover}body #channel-page .benefit-copy{text-align:center}body #channel-page .app-card__title{display:block;color:#ddd;font-size:14px;font-weight:500}body #channel-page .app-card__desc{display:none}body #channel-page .app-list-section__title{font-size:21px}body #channel-page .app-list-section__subtitle{color:#888;font-size:14px}
@media(max-width:1180px){body #channel-page .app-card-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:760px){body #channel-page .app-card-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 14px}body #channel-page .app-card__icon-wrap{border-radius:15px}body #channel-page .app-category-tabs{gap:18px;overflow:auto;white-space:nowrap}body #channel-page .app-category-tab{font-size:13px}}
body>.footer-box{display:none}
body #channel-page.topic-layout{display:block;padding-top:0;gap:0;margin-top:0}
body #channel-page .topic-breadcrumb{margin:0;font-size:16px;gap:12px;line-height:24px}
body #channel-page .topic-recommendation-card{aspect-ratio:16/9}
body #channel-page .topic-recommendation-card .topic-recommendation-copy strong{font-size:16px}
body #channel-page .topic-recommendation-card .topic-recommendation-copy small{color:#e7c360}
@media(max-width:760px){body #channel-page .topic-breadcrumb{font-size:14px}body #channel-page .topic-recommendation-card .topic-recommendation-copy strong{font-size:14px}}
body{display:block}
body .home-corner-badge{position:absolute;z-index:2;top:8px;right:8px;padding:7px 10px;border-radius:6px;font-size:13px;line-height:1.3;color:white;background:#03b9ab}
body .home-corner-badge--new{background:#7557ff}body .home-corner-badge--hot{background:#ff476a}body .home-corner-badge--vip{background:#b88938}
body.is-detail-page .detail-comment{display:flex;align-items:flex-start;gap:12px;padding:22px 0;border:0}body.is-detail-page .detail-comment-avatar{width:40px;height:40px;border-radius:50%;object-fit:cover;flex-shrink:0}body.is-detail-page .detail-comment-body{flex:1;min-width:0}body.is-detail-page .detail-comment-text{margin:9px 0;color:#ddd;font-size:14px;line-height:1.8}body.is-detail-page .detail-comment-name,body.is-detail-page .detail-comment-meta{color:#888;font-size:13px}body.is-detail-page .detail-comment-replies{margin-top:20px;padding:0 18px;background:#ffffff03;border-radius:12px;gap:0}body.is-detail-page .detail-comment-replies .detail-comment-avatar{width:32px;height:32px}body.is-detail-page .detail-comment-replies .detail-comment{padding:18px 0}body.is-detail-page .detail-comment-reply-label:hover{color:var(--accent)}
body #channel-page.topic-layout{padding-top:32px;margin-bottom:0}
@media(max-width:760px){body #channel-page.topic-layout{padding-top:22px}body #channel-page .topic-recommendation-card{height:auto;min-width:0}body #channel-page .topic-recommendation-copy{max-width:100%;padding:12px}body .home-corner-badge{font-size:11px;padding:5px 7px}}
/* The reference player stays embedded on every viewport. */
body.is-play-page{height:auto!important;min-height:100vh;overflow:auto!important;--drama-accent:#ec2083}
body.is-play-page .play-page{height:auto;min-height:0;background:transparent}
body.is-play-page .play-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;height:auto}
body.is-play-page .play-main{display:flex;flex-direction:column;gap:24px;height:auto;min-width:0}
body.is-play-page .play-player{position:relative;inset:auto;width:100%;height:auto;aspect-ratio:16/9;border-radius:14px;overflow:hidden;background:#000}
body.is-play-page .play-player-cover{object-fit:contain!important;background:#000}
body.is-play-page .play-h5-top,body.is-play-page .play-h5-side,body.is-play-page .play-h5-meta,body.is-play-page .play-h5-bottom,body.is-play-page .play-player-gradient,body.is-play-page .play-landscape-fullscreen{display:none!important}
body.is-play-page .play-info{display:flex!important;flex-direction:column;gap:16px;padding:0 0 24px;border-bottom:0}
body.is-play-page .play-info-text{display:flex;flex-direction:column;gap:12px}
body.is-play-page .play-info-ep{display:block;color:var(--accent);font-size:13px}
body.is-play-page .play-info-title{font-size:24px;line-height:1.5;margin:0}
body.is-play-page .play-info .drama-metadata{font-size:14px;line-height:1.7;gap:8px 15px}
body.is-play-page .play-info .drama-description{display:block;line-height:1.9;font-size:14px;color:#aaa;white-space:normal;overflow:visible}
body.is-play-page .play-info-tags{gap:12px;order:1}body.is-play-page .play-info-tags-label{font-size:13px}body.is-play-page .play-info-tag{min-width:0;height:auto;font-size:12px;line-height:1.5;padding:5px 9px;border-radius:5px;background:#ec208310}
body.is-play-page .play-info-actions{display:flex;flex-wrap:wrap;gap:10px;min-height:0}
body.is-play-page .detail-action{display:flex;gap:7px;padding:9px 13px;min-width:0;width:auto;height:40px;border:1px solid #ffffff14;border-radius:999px;background:#ffffff03;font-size:13px;color:#bcbcbc}
body.is-play-page .detail-action-sep{display:none}body.is-play-page .detail-action-icon,body.is-play-page .detail-action-icon img{width:16px;height:16px;filter:grayscale(1)}
body.is-play-page .drama-download{order:5;margin-left:auto;border-radius:999px;background:var(--accent);height:40px;padding:10px 18px;font-size:13px}
body.is-play-page .play-episodes{display:flex!important;flex-direction:column;gap:20px}body.is-play-page .play-ep-ranges{display:flex;gap:32px;overflow:visible;flex-wrap:wrap;scrollbar-width:none}body.is-play-page .play-ep-ranges::-webkit-scrollbar{display:none}body.is-play-page .play-ep-range{font-size:18px;white-space:nowrap}
body.is-play-page .play-ep.is-range-hidden{display:none!important}body.is-play-page .play-ep{color:#ddd}body.is-play-page .play-ep--active{background:#ec208311}body.is-play-page .play-ep--active .play-ep-num{color:var(--accent)}
body.is-play-page .play-ep-coin{position:absolute;top:3px;left:3px;bottom:auto;right:auto;width:14px;height:14px;padding:0;background:none}body.is-play-page .play-ep-coin img{width:14px;height:14px}body.is-play-page .play-ep-coin span{display:none}
body.is-play-page .detail-comments{display:block!important;background:#1a1a1a;padding:26px;border-radius:14px}body.is-play-page .detail-comment-composer{background:#252527;border-radius:13px;padding:14px;gap:14px}body.is-play-page .detail-comment-composer-input{background:#090909;border:0;border-radius:10px;min-height:66px;padding:14px;color:#eee}body.is-play-page .detail-comment-composer-logged,body.is-play-page .detail-comment-composer-user{display:none}body.is-play-page .detail-comment-composer-submit{background:var(--accent);border-radius:999px}
body.is-play-page .play-player .dplayer-controller{opacity:1!important;transform:none!important;z-index:4}
body.is-play-page .play-player .dplayer-mask{z-index:3}
body.is-play-page .play-player-cover{pointer-events:none}
body.is-play-page .poster-like-badge{display:none}body.is-play-page .poster-card-tag{background:none;border:0;padding:0;color:#999}
@media(max-width:1000px){body.is-play-page .play-layout{grid-template-columns:1fr}body.is-play-page .play-sidebar{display:block;width:100%;border:0;padding:0}body.is-play-page .play-sidebar .drama-sidebar-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}}
@media(max-width:760px){body.is-play-page .site-breadcrumb,body.is-detail-page .site-breadcrumb{display:flex!important;flex-wrap:wrap;font-size:12px;line-height:1.6}body.is-play-page .play-page.page-shell{margin:0;padding:22px 19px;width:100%;max-width:100%;gap:24px}body.is-play-page .play-main{gap:22px}body.is-play-page .play-info-title{font-size:20px}body.is-play-page .play-info-actions{gap:7px}body.is-play-page .detail-action{padding:8px 10px;font-size:12px}body.is-play-page .drama-download{margin-left:0}body.is-play-page .play-ep-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:9px}body.is-play-page .play-ep-range{font-size:15px}body.is-play-page .detail-comments{padding:16px}body.is-detail-page .detail-related [data-related-grid]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;gap:12px}body.is-detail-page .detail-related .poster-card{width:auto;min-width:0}body.is-play-page .play-sidebar .poster-card{width:auto;min-width:0}body.is-play-page .play-player .dplayer-controller{display:block!important;bottom:0!important}body.is-play-page .play-player .dplayer-icons-right{display:flex!important}}
body .deposit-page .deposit-purchase{position:static;width:auto;padding:0;background:none;box-shadow:none;transform:none;border:0}
body .deposit-page .deposit-tabs button{color:#999;background:transparent;border:1px solid #ffffff20;border-radius:999px}
body .deposit-page .deposit-tabs button[aria-selected=true]{color:white;background:var(--accent);border-color:var(--accent)}body .deposit-page .deposit-package-check{background:var(--accent)}
#downloadAppDialog{box-sizing:border-box;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto;padding:34px;width:460px;text-align:center;border:1px solid #ffffff24;border-radius:20px;background:#1b1b20;color:#eee}
#downloadAppDialog::backdrop{background:#0009}#downloadAppDialog .app-download-code{display:grid;place-items:center;margin:24px auto;background:white;width:216px;height:216px;border-radius:12px;padding:12px}#downloadAppDialog .app-download-code img{max-width:192px}#downloadAppDialog .app-download-link{display:flex;gap:8px;min-width:0}#downloadAppDialog .app-download-link input{min-width:0;flex:1;padding:10px;background:#111;border:1px solid #ffffff20;border-radius:8px;color:#bbb}#downloadAppDialog .app-download-link button{flex-shrink:0}#downloadAppDialog .primary{margin-top:14px;padding:12px 20px;border-radius:999px}#downloadAppDialog .close{position:absolute;right:16px;top:12px;font-size:24px;background:transparent;color:#aaa}
#history-dialog .account-history-item{display:flex;align-items:center;gap:16px;padding:12px 0;border-bottom:1px solid #ffffff10;color:#ddd}#history-dialog .account-history-item img{width:56px;height:80px;object-fit:cover;border-radius:6px}#history-dialog .account-history-item>div{display:grid;gap:8px;min-width:0}#history-dialog .account-history-item strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#history-dialog .account-history-item small{color:#888}
body.is-detail-page .detail-title-row{display:flex;align-items:center;gap:20px;flex-wrap:wrap}body.is-detail-page .detail-title-heat{color:#999;font-size:14px;white-space:nowrap}body.is-detail-page .detail-tags{order:initial}body.is-detail-page .detail-tag--count{color:#d4a44d;background:#8f622422}body.is-detail-page .detail-tag--new{color:#ad9bff;background:#7557ff20}body.is-detail-page .detail-tag--hot{color:#ff819a;background:#ff476a20}.detail-genres{display:flex;flex-wrap:wrap;gap:7px;color:#999;font-size:14px}.detail-genres>*+*::before{content:'·';padding-right:7px}
body.richtext-layout{background-color:#131414;background-image:radial-gradient(79.79% 63.64% at 51.35% -3.04%,rgba(250,119,5,.1) 0%,rgba(250,119,5,0) 100%),radial-gradient(37.71% 88.68% at 111.22% -1.29%,rgba(58,227,221,.1) 0%,rgba(58,227,221,0) 100%);background-size:100% 920px;background-repeat:no-repeat}body .richtext-page{margin-top:0;margin-bottom:0}body .richtext-page .richtext-contacts{display:none}body .richtext-page .site-breadcrumb{display:flex!important;color:#888;font-size:16px}body .richtext-page .site-breadcrumb [aria-current]{color:var(--accent)}.richtext-body>.cms-section-heading{font-size:20px!important;color:#eee!important;font-weight:600!important;margin:28px 0 18px!important}.richtext-body details{background:#ffffff04;border:1px solid #ffffff16;border-radius:14px;margin-bottom:16px;padding:20px 24px}.richtext-body summary{cursor:pointer;color:#ddd;font-size:17px;font-weight:500}.richtext-body details p{margin-top:16px!important}
body .feedback-page{display:block;margin-top:0;gap:0}body .feedback-form>.feedback-title,body .feedback-form>.feedback-intro{display:none}body #feedback-form .feedback-section{order:initial;padding:0;margin:0;border:0;width:100%}body #feedback-form .feedback-section h2{font-size:18px;color:#eee;margin:0 0 16px}body #feedback-form .feedback-panel{border:0;background:transparent;padding:0}body #feedback-form .feedback-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}body #feedback-form .feedback-choice{min-width:0}body #feedback-form .feedback-choice span{border-radius:10px;min-height:48px;border:1px solid #ffffff16;background:#1c1c1c;color:#bbb;display:flex;justify-content:center;align-items:center;padding:10px 12px}body #feedback-form .feedback-choice input:checked+span{background:#ec208311;color:var(--accent);border-color:var(--accent)}body #feedback-form .feedback-submit{width:auto;min-width:240px;align-self:center;padding:16px 36px;background:var(--accent);color:white;border-radius:999px;border:0}body #feedback-form .feedback-required{color:var(--accent)}body #feedback-form .feedback-stack{display:flex;flex-direction:column;gap:14px}
@media(max-width:760px){body #feedback-form .feedback-choices{grid-template-columns:repeat(2,minmax(0,1fr))}body #feedback-form .feedback-submit{width:100%;min-width:0}body .feedback-breadcrumb{display:flex!important}body.is-detail-page .detail-title-row{gap:8px}body.is-detail-page .detail-title-heat{font-size:12px}body .rank-tabs.channel-tabs .rank-tab{padding:9px 15px;border-radius:999px;background:#ffffff06}body .rank-tabs.channel-tabs .rank-tab--active{background:var(--accent);color:white}body .rank-tabs.channel-tabs .rank-tab-text--active{color:white}}
#channel-page[data-channel=apps] .app-card-grid{--compact-app-columns:8;grid-template-columns:repeat(8,minmax(0,1fr))}#channel-page[data-channel=apps] .app-card{width:100%;height:auto;min-width:0}#channel-page[data-channel=apps] .benefit-icon::after{display:none}
@media(max-width:1100px){#channel-page[data-channel=apps] .app-card-grid{--compact-app-columns:4;grid-template-columns:repeat(4,minmax(0,1fr))}}
#loginDialog .login-dialog-card,#registerDialog .register-dialog-card{box-sizing:border-box;width:440px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 40px);overflow:auto;padding:34px;border:1px solid #ffffff20;border-radius:24px;background:#19191c;color:#eee;background-image:none}
#loginDialog .login-dialog-head,#registerDialog .register-dialog-head{display:block;margin:0 0 24px;text-align:left;padding:0;background:none}
#loginDialog .login-dialog-title,#registerDialog .register-dialog-title{font-size:24px;color:#eee;line-height:1.4}#loginDialog .login-dialog-desc,#registerDialog .register-dialog-desc{font-size:13px;color:#999;line-height:1.7;margin-top:10px}
#loginDialog .login-dialog-form,#registerDialog .register-dialog-form{display:flex;flex-direction:column;gap:18px;width:100%;padding:0}
#loginDialog .login-dialog-field,#registerDialog .register-dialog-field{height:48px;background:#101013;border:1px solid #ffffff20;border-radius:10px;padding:0 14px}
#loginDialog .login-dialog-input,#registerDialog .register-dialog-input{min-width:0;background:transparent;color:#ddd;font-size:14px}
#loginDialog .login-dialog-submit,#registerDialog .register-dialog-submit{width:100%;border-radius:999px;background:#ec2083;color:white;min-height:48px;border:0}
@media(max-width:520px){#loginDialog .login-dialog-card,#registerDialog .register-dialog-card{padding:30px 24px}#loginDialog .login-dialog-title-pc{display:inline}#loginDialog .login-dialog-title-h5{display:none}}

#loginDialog .login-dialog-card,#registerDialog .register-dialog-card{position:relative}#loginDialog .login-dialog-close,#registerDialog .register-dialog-close{position:absolute;top:12px;right:16px;bottom:auto;left:auto;transform:none;width:30px;height:30px;border:0;background:none;color:#aaa;font-size:26px;line-height:30px}#loginDialog .login-dialog-register-link,#registerDialog .register-dialog-login-link{color:var(--accent)}
@media(max-width:760px){body.is-detail-page .detail-related [data-related-grid],body.is-play-page .play-sidebar .drama-sidebar-grid{grid-auto-flow:row!important;grid-auto-columns:auto!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;width:100%;max-width:100%;min-width:0}body.is-detail-page .detail-related{min-width:0;max-width:100%}}
#channel-page[data-channel=apps] .app-list-section__head{display:flex;align-items:center;justify-content:flex-start;text-align:left;gap:16px;margin-bottom:24px}#channel-page[data-channel=apps] .app-list-section__title{color:#eee!important}#channel-page[data-channel=apps] .app-list-section__subtitle{margin:0;font-size:13px;font-weight:400}#channel-page[data-channel=apps] .app-card__desc{display:none}#channel-page[data-channel=apps] .app-list-section__more{background:#ec208311;color:var(--accent);border:1px solid #ec208344;border-radius:999px}#channel-page[data-channel=apps] .app-category-tab--active{background:var(--accent);color:white}
@media(max-width:760px){#channel-page[data-channel=apps] .app-list-section__head{align-items:flex-start;flex-direction:column;gap:8px}}
/* Give retained route templates the same fluid canvas as the reference shell. */
html body main.shell{box-sizing:border-box;width:calc(100% - 248px);max-width:none;margin-left:248px;margin-right:0;padding-left:24px;padding-right:32px;zoom:1}
html.sidebar-collapsed body main.shell{margin-left:112px;width:calc(100% - 112px)}
@media(min-width:761px) and (max-width:1180px){html body main.shell{margin-left:220px;width:calc(100% - 220px);padding-left:20px;padding-right:24px}}
@media(max-width:760px){html body main.shell,html.sidebar-collapsed body main.shell{margin-left:0;margin-right:0;width:100%;padding-left:19px;padding-right:19px}}
body .detail-sort,body .detail-comments-sort{display:flex;gap:4px;padding:4px;background:#252527;border:1px solid #ffffff08;border-radius:12px}
body .detail-sort-btn,body .play-comment-sort-btn{font-size:13px;min-width:56px;height:34px;padding:6px 12px;border-radius:8px;color:#999;background:transparent}body .detail-sort-btn--active,body .play-comment-sort-btn--active{background:var(--accent);color:white}
body .pagination .pagination-btn--active,body .pagination .pagination-jump-submit{background:var(--accent);border-color:var(--accent);color:white}
body #channel-page .rank-tab{padding:10px 20px;border-radius:999px;background:#ffffff06}body #channel-page .rank-tab--active{background:var(--accent);color:white}body #channel-page .rank-tab--active .rank-tab-text{color:white}
body .deposit-page .deposit-packages{grid-template-columns:repeat(4,minmax(0,1fr))}body .deposit-page .deposit-package-name{color:#efca75;font-size:30px;font-weight:700}body .deposit-page .deposit-package--active{box-shadow:none}body .deposit-page .deposit-package .deposit-coin-icon{display:inline-block;width:30px;height:30px}body .deposit-page .deposit-submit{width:420px;max-width:100%}
body .richtext-body details{background:none;border:0;border-bottom:1px solid #ffffff16;border-radius:0;padding:22px 0;margin:0}
body #feedback-form{width:100%;max-width:none}body #feedback-form textarea[name=contact]{min-height:48px;height:48px;resize:none}
body .info-heading h1,body .return-title{font-weight:700}
@media(max-width:760px){body .deposit-page .deposit-packages{grid-template-columns:repeat(2,minmax(0,1fr))}body .deposit-page .deposit-package-name{font-size:24px}}

html body{display:block}
@media(max-width:760px){html body.is-detail-page .detail-related [data-related-grid]{display:grid!important}html body.is-detail-page .detail-related .poster-card{width:100%!important;max-width:none;flex:initial}html body.is-detail-page .detail-related .poster-cover{width:100%!important;height:auto!important;aspect-ratio:640/914}}
#channel-page[data-channel=apps] .app-list-section__head{flex-direction:row;align-items:baseline;justify-content:flex-start;gap:16px}#channel-page[data-channel=apps] .app-list-section__title,#channel-page[data-channel=apps] .app-list-section__subtitle{width:auto;text-align:left}#channel-page[data-channel=apps] .app-category-tabs .app-category-tab{padding:10px 20px;border-radius:999px}#channel-page[data-channel=apps] .app-category-tabs .app-category-tab--active{background:var(--accent);color:#fff}
body .deposit-page .deposit-packages--coin .deposit-package{display:grid;grid-template-columns:30px minmax(0,1fr);align-content:start;align-items:center;justify-items:start;gap:12px;padding:24px;text-align:left}body .deposit-page .deposit-packages--coin .deposit-coin-icon{grid-column:1;grid-row:1}body .deposit-page .deposit-packages--coin .deposit-package-name{grid-column:2;grid-row:1;font-size:28px}body .deposit-page .deposit-packages--coin .deposit-price,body .deposit-page .deposit-packages--coin small,body .deposit-page .deposit-packages--coin del{grid-column:1/-1}body .deposit-breadcrumb [aria-current],body .deposit-breadcrumb span:last-child{color:var(--accent)}
body #feedback-form .feedback-network .feedback-panel,body #feedback-form .feedback-device .feedback-panel{padding:24px;border:1px solid #ffffff18;border-radius:14px;background:#ffffff02}body #feedback-form .feedback-device .feedback-panel{display:grid;grid-template-columns:1fr 1fr;gap:14px 22px}body #feedback-form .feedback-device .feedback-panel>span,body #feedback-form .feedback-device .feedback-choices{grid-column:1/-1}body #feedback-form label[for=feedback-model]{grid-column:1;grid-row:3}body #feedback-form label[for=feedback-version]{grid-column:2;grid-row:3}body #feedback-form #feedback-model{grid-column:1;grid-row:4}body #feedback-form #feedback-version{grid-column:2;grid-row:4}body #feedback-form .feedback-description-box{background:transparent;padding:0;border:0}body #feedback-form .feedback-description-box textarea{padding:16px 18px 40px;min-height:180px}
body .member-settings-card h2,body .member-settings-action strong,body .return-section h2,body .return-section-head h2,body #info-content h2,body #info-content h3{font-weight:700}
body.is-play-page .play-info-text .play-info-ep{order:-2}body.is-play-page .play-info-title{order:-1}body.is-play-page .play-info-tags{order:0}body.is-play-page .play-info-text .drama-metadata{order:1}body.is-play-page .play-info-text .drama-description{order:2}body.is-play-page .play-info-actions .drama-download{display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:8px;min-width:120px;line-height:20px;white-space:nowrap}body.is-play-page .play-info-actions .drama-download img{width:18px;height:18px;margin:0}
@media(max-width:760px){#channel-page[data-channel=apps] .app-list-section__head{flex-direction:column;gap:8px}body .deposit-page .deposit-packages--coin .deposit-package{padding:16px 12px;grid-template-columns:22px minmax(0,1fr);gap:8px}body .deposit-page .deposit-packages--coin .deposit-coin-icon{width:22px;height:22px}body .deposit-page .deposit-packages--coin .deposit-package-name{font-size:22px}body #feedback-form .feedback-device .feedback-panel{padding:16px;display:flex;flex-direction:column}}
@media(max-width:760px){body .deposit-page .deposit-packages--coin .deposit-package{height:auto;min-height:180px}body .deposit-page .deposit-packages--coin .deposit-package-name{font-size:16px;line-height:1.5;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;max-width:100%;min-width:0}body .deposit-page .deposit-packages--coin .deposit-package-check{position:absolute;top:4px;right:4px;bottom:auto;left:auto;width:16px;height:16px;line-height:16px;font-size:11px;background:var(--accent);color:white}}

body.is-user-center-page .library-selection{top:10px;left:10px;width:28px;height:28px;padding:0;background:none;display:grid;place-items:center;border-radius:0}
body.is-user-center-page .library-selection[hidden]{display:none}
body.is-user-center-page .library-selection input{appearance:none;width:24px;height:24px;margin:0;border:0;border-radius:50%;background:transparent url('/static/jgdj/assets/library-check-off.svg') center/24px no-repeat;cursor:pointer}
body.is-user-center-page .library-selection input:checked{background-image:url('/static/jgdj/assets/library-check-on.svg')}
body.is-user-center-page .library-selection input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
body.is-user-center-page .member-library-item.is-selected .cover{outline:3px solid var(--accent);outline-offset:-3px}
body.is-user-center-page .member-library-empty{padding:0}
body.is-user-center-page .ui-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:320px;padding:38px 20px;width:100%;text-align:center}
body.is-user-center-page .ui-empty-state>img{width:210px;height:210px;object-fit:contain;margin-bottom:8px}
body.is-user-center-page .ui-empty-state>h3{margin:0 0 10px;font-size:18px;font-weight:500;color:#d5d5da;line-height:1.5}
body.is-user-center-page .ui-empty-state>p{margin:0;max-width:360px;font-size:14px;color:#7e7e88;line-height:1.8}
body.is-user-center-page .ui-empty-state .ui-empty-action{margin-top:22px;padding:10px 22px;min-width:116px;border:1px solid #ffffff25;border-radius:999px;background:#ffffff06;color:#bfc0c8;line-height:1.5}
body.is-user-center-page .ui-empty-state .ui-empty-action:hover{border-color:var(--accent);color:#fff;background:#ec208316}
@media(max-width:600px){body.is-user-center-page .ui-empty-state{min-height:260px;padding:24px 12px}body.is-user-center-page .ui-empty-state>img{width:164px;height:164px}}
