/* Adapt existing Typecho renderers to the reference classes without changing content. */
body.rd-site{margin:0;--cover-w:var(--rd-width);font-weight:400}
body.rd-site .mvp-page{width:min(var(--cover-w),calc(100% - 64px));max-width:none;padding:20px 0 40px;margin:0 auto;min-height:60vh}
body.rd-site .mvp-page p,body.rd-site .mvp-page h1,body.rd-site .mvp-page h2,body.rd-site .mvp-page h3{margin:0}
body.rd-site .mvp-page h1{font-size:26px;font-weight:800;line-height:1.3}
body.rd-site .mvp-page .cat-crumb{margin-bottom:6px;line-height:1.4}
body.rd-site .original-header.rd-header{position:sticky;top:0;z-index:30}
body.rd-site .original-header .rd-bar{height:72px;min-height:72px}
body.rd-site .original-header .rd-brand{margin:0;line-height:0}
body.rd-site .original-header .rd-nav{display:flex;gap:0;flex:1;align-items:center;justify-content:space-between}
body.rd-site .original-header .rd-more{position:relative;font-size:14px;font-weight:600}
body.rd-site .original-header .rd-more>summary{padding:8px 0;list-style:none;display:flex;align-items:center}
body.rd-site .original-header .rd-more>summary::-webkit-details-marker{display:none}
body.rd-site .original-header .rd-more>summary:after{content:'⌄';margin-left:5px}
body.rd-site .original-header .rd-more nav{top:48px;width:320px;max-height:75vh;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;gap:4px}
body.rd-site .original-header .rd-search{display:grid;place-items:center;min-height:40px;padding:0;width:40px;height:40px}
body.rd-site .original-header .rd-search svg{width:20px;height:20px}
body.rd-site .original-header .rd-mobile-label{display:none}
body.rd-site .rd-hot{margin-bottom:38px}
body.rd-site .rd-hot-list.hot-list{background:#1f1f29;border:1px solid #ffffff14;padding:12px 16px!important;gap:2px 24px;grid-template-rows:repeat(5,auto)}
body.rd-site .rd-hot-list.hot-list .hot-item{min-height:48px;gap:12px;font-size:14px}
body.rd-site .rd-hot-list.hot-list .hot-rank{display:grid;place-items:center;width:22px;height:22px;flex:0 0 22px;border-radius:6px;font-style:normal;background:#ffffff12;color:#aaa;font-size:13px}
body.rd-site .rd-hot-list.hot-list li:nth-child(1) .hot-rank{background:linear-gradient(135deg,#ff5269,#ffb56b);color:#fff}
body.rd-site .rd-hot-list.hot-list li:nth-child(2) .hot-rank{background:linear-gradient(135deg,#9c60ff,#ef5fa4);color:#fff}
body.rd-site .rd-hot-list.hot-list li:nth-child(3) .hot-rank{background:linear-gradient(135deg,#7c5cff,#ab7cff);color:#fff}
body.rd-site .rd-hot-list.hot-list .hot-title{font-weight:600}
body.rd-site .drama-card .drama-cover{aspect-ratio:9/16;border-radius:8px;box-shadow:0 6px 18px #0006}
body.rd-site .drama-cover img{display:block;object-fit:cover;width:100%;height:100%}
body.rd-site .drama-cover>span{left:8px;bottom:8px;right:auto;padding:3px 7px;border-radius:5px;background:#0009;font-size:11px}
body.rd-site .drama-channel h1{margin:0}
body.rd-site .channel-intro{margin-top:8px;font-size:14px;line-height:1.7;color:#a5a4a9}
body.rd-site .channel-filter{margin:12px 0;font-size:12px;color:#aaa}
body.rd-site .channel-filter summary{cursor:pointer;width:max-content}
body.rd-site .channel-count{font-size:12px;color:#aaa;margin-bottom:14px}
body.rd-site .drama-channel .drama-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 18px}
body.rd-site .drama-channel .drama-card h3{font-size:16px;margin:12px 0 4px}
body.rd-site .drama-channel .drama-card p{font-size:12px;line-height:1.6}
body.rd-site .rd-directory h1{font-size:30px;margin-top:0;line-height:1.3}
body.rd-site .rd-directory .directory-intro{margin-top:8px;font-size:14px;color:#a5a4a9}
body.rd-site .rd-directory .allcat-wrap{margin-top:28px}
body.rd-site .rd-directory .allcat-wrap+.allcat-wrap{margin-top:40px}
body.rd-site .rd-directory .section-heading h2{margin:0;font-size:22px}
body.rd-site .rd-directory .section-heading p{margin-top:4px}
body.rd-site .drama-detail-page .drama-detail-title{font-size:26px;margin:0 0 20px;line-height:1.3}
body.rd-site .dd-main.drama-summary{margin:0;gap:28px}
body.rd-site .dd-main .dd-poster .drama-poster{border-radius:0;box-shadow:none;margin:0;display:block;width:100%;height:100%;object-fit:cover}
body.rd-site .dd-main .dd-info h2{margin:0 0 10px;font-size:17px;line-height:1.3}
body.rd-site .dd-info h2:before{content:none}
body.rd-site .dd-info .dd-block h2:before{content:''}
body.rd-site .dd-info .dd-tags{margin:0;gap:8px}
body.rd-site .dd-info .dd-tags .dd-tag{padding:4px 12px;font-size:12px}
body.rd-site .dd-info .dd-facts{line-height:1.6}
body.rd-site .dd-info .dd-facts dt{min-width:76px}
body.rd-site .dd-info .dd-facts dd{font-weight:400}
body.rd-site .dd-info .dd-intro{margin:0}
body.rd-site .dd-actions .dd-btn{height:44px;min-height:44px;line-height:1.6}
body.rd-site .dd-section{margin-top:40px}
body.rd-site .dd-section .dd-head h2{margin:0 0 10px}
body.rd-site .dd-episodes.drama-episodes{display:grid;margin:0;gap:10px}
body.rd-site .dd-episodes a{padding:0;border-color:#ffffff14;font-size:16px;font-weight:700}
body.rd-site .dd-comments{margin-top:40px;background:#ffffff0a;padding:20px 24px}
body.rd-site .dd-comments h2{font-size:17px;margin:0 0 16px}
body.rd-site .dd-cmt-form{position:relative}
body.rd-site .dd-cmt-form input{width:auto;flex-shrink:1}
body.rd-site .dd-cmt-form .dd-cmt-nick{width:110px}
body.rd-site .dd-cmt-form .dd-cmt-text{width:0}
body.rd-site #comment-status:empty,body.rd-site #interaction-status:empty,body.rd-site #search-status:empty{display:none}
body.rd-site #comment-status{position:absolute;top:100%;font-size:12px}
body.rd-site .danmaku-stage.drama-comment-wall{height:200px;max-height:none;border:0;overflow:hidden;padding:0;margin:0}
body.rd-site .danmaku-stage:hover .danmaku-item,body.rd-site .danmaku-stage[data-paused=true] .danmaku-item{animation-play-state:paused}
body.rd-site .detail-comment-tools{display:flex;gap:10px;justify-content:flex-end;margin-top:8px}
body.rd-site .detail-comment-tools button{min-height:24px;padding:0;background:none;font-size:11px;color:#8f8e94}
body.rd-site .dd-rel.drama-grid{margin-top:8px;gap:24px 16px;grid-template-columns:repeat(4,minmax(0,1fr))}
body.rd-site .dd-rel .drama-card h3{font-size:14px;margin:9px 0 3px}
body.rd-site .dd-rel .drama-card p{font-size:12px}
body.rd-site .sp-wrap .sp-h1{font-size:26px;margin:4px 0 16px}
body.rd-site .sp-wrap .sp-sec-head h2{font-size:18px;margin:0}
body.rd-site .sp-wrap .sp-hotlist{margin:0;padding:6px;list-style:none}
body.rd-site .sp-wrap .sp-hotlist li{margin:0;padding:0;min-width:0}
body.rd-site .sp-wrap .sp-hot-t{white-space:nowrap;display:block;overflow:hidden;text-overflow:ellipsis}
body.rd-site .sp-wrap .sp-hot-t small{display:block;font-size:11px}
body.rd-site .sp-wrap .sp-form input{border:0;border-radius:0;padding:0;box-shadow:none;background:transparent}
body.rd-site .sp-wrap .sp-form button{font-size:16px}
body.rd-site .sp-wrap #recent-searches{min-height:0;margin:0}
body.rd-site .sp-wrap #search-status{font-size:12px;color:#aaa;margin-top:12px}
body.rd-site .drama-search-list.original-posts article{padding:0;margin-bottom:26px;border:0;background:transparent}
body.rd-site .cat-links-grid article{background:#14141b;border:1px solid #ffffff14;border-radius:14px;padding:16px 18px}
body.rd-site.rd-immersive #drama-player{display:flex;justify-content:center}
body.rd-site.rd-immersive #drama-stage{position:relative;inset:auto;width:var(--wv-player-width);max-width:100%;height:100%!important;aspect-ratio:9/16;z-index:auto;outline:0}
body.rd-site.rd-immersive #drama-media{position:absolute;inset:0;width:100%;height:100%}
body.rd-site.rd-immersive .drama-player-top.wv-top{padding:12px 12px 28px;min-height:0;background:linear-gradient(180deg,#000a,transparent)}
body.rd-site.rd-immersive .wv-top button{padding:0;min-height:0;font-size:17px;background:#0005;border-radius:50%}
body.rd-site.rd-immersive .wv-crumb strong{font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.rd-site.rd-immersive .wv-info h1{font-size:18px;margin:8px 0 6px}
body.rd-site.rd-immersive .wv-info p{margin:0}
body.rd-site.rd-immersive .wv-progress.drama-seek{position:static;inset:auto;margin:0;gap:10px}
body.rd-site.rd-immersive .wv-progress input{min-width:0;width:0}
body.rd-site.rd-immersive .wv-progress output{font-size:11px}
body.rd-site.rd-immersive .player-notice{position:absolute;z-index:5;top:22%;left:8%;right:8%;text-align:center;pointer-events:none}
body.rd-site.rd-immersive .player-notice #player-status{position:static;inset:auto;font-size:12px;text-shadow:0 1px 4px #000}
body.rd-site.rd-immersive .player-notice button{pointer-events:auto}
body.rd-site.rd-immersive .wv-sheet{margin:0 0 0 50%;width:min(560px,100%);max-height:60vh;padding:16px 20px 22px;border:0;background:#14141b;color:#fff;top:auto;bottom:0;border-radius:16px 16px 0 0}
body.rd-site.rd-immersive .wv-sheet .wv-sheet-eps{display:grid;margin:0;gap:10px}
body.rd-site .mvp-fab{z-index:25}
@media(max-width:1023px){
body.rd-site .original-header .rd-nav{display:none}
body.rd-site .original-header .rd-brand{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}
body.rd-site .original-header .rd-more{position:static;order:-1}
body.rd-site .original-header .rd-mobile-label{display:flex;flex-direction:column;align-items:center;gap:3px}
body.rd-site .original-header .rd-more-label{display:none}
body.rd-site .original-header .rd-more>summary{height:48px;width:44px;justify-content:center}
body.rd-site .original-header .rd-more>summary:after{display:none}
body.rd-site .original-header .rd-more nav{position:absolute;top:100%;left:0;right:0;width:100%;max-height:70dvh}
body.rd-site .original-header .rd-more[open] nav{display:grid}
body.rd-site .original-header .rd-search{display:flex;flex-direction:column;gap:3px;width:44px;height:48px;background:none;border:0;border-radius:10px}
body.rd-site .original-header .rd-search .hd-lbl{display:block}
}
@media(max-width:767px){
body.rd-site .mvp-page{width:calc(100% - 32px);padding-top:14px;padding-bottom:28px}
body.rd-site .original-header .rd-bar{width:calc(100% - 32px)!important;height:64px;min-height:64px}
body.rd-site .mvp-page h1,body.rd-site .rd-directory h1{font-size:23px!important}
body.rd-site .drama-detail-page .drama-detail-title,body.rd-site .sp-wrap .sp-h1{font-size:21px!important}
body.rd-site .dd-main .dd-poster{width:62%;margin:auto}
body.rd-site .dd-main .dd-poster .drama-poster{width:100%;margin:0}
body.rd-site .dd-main.drama-summary{gap:20px}
body.rd-site .dd-section,body.rd-site .dd-comments{margin-top:30px}
body.rd-site .dd-episodes.drama-episodes{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
body.rd-site .dd-episodes a{height:36px;min-width:0;font-size:13px;border-radius:5px}
body.rd-site .dd-comments{padding:16px 12px}
body.rd-site .dd-cmt-form .dd-cmt-nick{flex-basis:72px;width:72px;padding:0 10px}
body.rd-site .dd-cmt-form button{padding:0 14px}
body.rd-site .dd-rel.drama-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}
body.rd-site .drama-channel .drama-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 10px}
body.rd-site .drama-channel .drama-card h3{font-size:13px;margin-top:8px}
body.rd-site .drama-channel .drama-card p{font-size:11px}
body.rd-site .rd-hot-list.hot-list{grid-auto-flow:row;grid-template-rows:none;padding:8px!important}
body.rd-site .rd-hot-list.hot-list .hot-item{font-size:13px;min-height:42px}
body.rd-site .rd-directory .allcat-wrap+.allcat-wrap{margin-top:28px}
body.rd-site.rd-immersive #drama-stage{width:100%;aspect-ratio:auto}
body.rd-site.rd-immersive .wv-sheet{width:100%;margin:0;left:0;transform:none}
}
body.rd-site>.drama-library-entry{display:none}
body.rd-site.rd-immersive .mvp-fab,body.rd-site.rd-immersive .assistant-entry{display:none}
body.rd-site .original-header .rd-bar{padding:0!important}
body.rd-site .channel-filter,body.rd-site .channel-count{display:none}
body.rd-site .drama-channel h1{font-size:30px}
body.rd-site .drama-channel>.drama-grid{margin-top:24px}
body.rd-site .sp-wrap .sp-form input[type=search]{appearance:none;-webkit-appearance:none;border:0!important;outline:none;box-shadow:none!important}
body.rd-site #index>article.original-post-card,body.rd-site #archive>article.original-post-card{margin:0 0 36px!important;padding:0!important;border:0!important;background:transparent!important}
body.rd-site #archive,body.rd-site #index{width:100%!important;padding:0!important}
body.rd-site #index>article.original-post-card>div.original-post-visual,body.rd-site #archive>article.original-post-card>div.original-post-visual{height:280px;padding:28px;border-radius:10px}
body.rd-site #index .original-post-copy,body.rd-site #archive .original-post-copy{max-width:100%}
body.rd-site #index .original-post-copy h2,body.rd-site #archive .original-post-copy h2{font-size:23px!important;line-height:1.4!important;font-weight:800!important;margin:0 0 10px!important;text-align:left!important;padding:0!important}
body.rd-site .original-post-copy .post-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;text-align:left;font-size:12px!important;color:#ccc!important;line-height:1.6!important;margin:0!important}
body.rd-site .original-post-copy .post-meta a{font-size:inherit!important;color:inherit!important;font-weight:inherit!important}
body.rd-site .original-post-copy .post-meta i{font-size:10px;font-style:normal;color:#888}
body.rd-site .original-post-copy .post-meta span{font-size:inherit!important;color:inherit!important}
body.rd-site .original-post-copy .post-meta .post-author{font-weight:700!important}
body.rd-site .fix_breadcrumb{display:flex!important;align-items:center;gap:8px;justify-content:flex-start!important;text-align:left!important;font-size:13px!important;line-height:1.4!important;padding:0!important;margin:0 0 6px!important;color:#8f8e94!important}
body.rd-site .fix_breadcrumb a{color:#b9b8bd!important}
body.rd-site .fix_breadcrumb .fix_breadcrumb-current{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.rd-site .fix_breadcrumb-sep{margin:0!important}
body.rd-site #masthead .inner{margin:0!important}
body.rd-site #masthead h1.blog-title{font-size:30px!important;line-height:1.3!important}
@media(max-width:767px){
body.rd-site #index>article.original-post-card,body.rd-site #archive>article.original-post-card{margin-bottom:24px!important}
body.rd-site #index>article.original-post-card>div.original-post-visual,body.rd-site #archive>article.original-post-card>div.original-post-visual{height:220px;padding:20px}
body.rd-site #index .original-post-copy h2,body.rd-site #archive .original-post-copy h2{font-size:19px!important;margin-bottom:8px!important}
body.rd-site .original-post-copy .post-meta{font-size:11px!important;gap:6px}
body.rd-site .fix_breadcrumb{font-size:12px!important}
body.rd-site #masthead h1.blog-title{font-size:23px!important}
}
body.rd-site #post.pd-wrap{padding-top:0!important;padding-bottom:40px!important;margin:0!important;width:100%!important;max-width:none!important}
body.rd-site #post.pd-wrap>article.post{padding:0!important;margin:0!important}
body.rd-site #post .post-content{padding:0!important;margin-top:20px!important}
body.rd-site #post .pd-sections img:not(.pd-app-icon){max-width:800px!important;max-height:none!important;object-fit:initial!important;height:auto!important;margin-left:auto;margin-right:auto;display:block;border-radius:10px}
body.rd-site #post .post-content video,body.rd-site #post .post-content iframe{max-width:100%;border-radius:10px}
body.rd-site #post .post-content .pd-endbar{margin-top:28px;padding:16px 0;border-top:1px solid #ffffff14;border-bottom:1px solid #ffffff14}
body.rd-site #post .pd-endbar .pd-tags{margin:0;padding:0;display:flex;align-items:center;gap:8px 12px;border:0;background:none}
body.rd-site #post .pd-endbar .pd-tags h3{font-size:13px!important;font-weight:600;color:#9e9da2!important;margin:0!important;padding:0!important;border:0}
body.rd-site #post .pd-endbar .pd-tags .pd-tag-list{display:flex;flex-wrap:wrap;gap:8px}
body.rd-site #post .pd-endbar .pd-tag-list a{padding:3px 10px!important;border-radius:6px!important;background:#ffffff0f!important;border:0!important;font-size:13px;color:#c9c8cc!important}
body.rd-site #post .pd-endbar .pd-copyright{font-size:12px;line-height:1.9;color:#8f8e94;margin:12px 0 0;padding:0;background:none;border:0}
body.rd-site #post .fix_recommend-section{padding:0;margin:32px 0 0;background:none;border:0}
body.rd-site #post .fix_recommend-title{padding:0!important;border:0!important;margin:0 0 12px!important;font-size:20px!important;font-weight:800;color:#fff!important}
body.rd-site #post .fix_recommend-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;list-style:none;padding:0!important;margin:0!important;counter-reset:none}
body.rd-site #post .fix_recommend-list li{position:relative;display:grid;grid-template-columns:120px minmax(0,1fr);gap:4px 12px;align-content:start;padding:10px!important;margin:0!important;border:1px solid #ffffff12;border-radius:12px;background:#1f1f29}
body.rd-site #post .fix_recommend-list li:before{content:none}
body.rd-site #post .fix_recommend-cover-link{grid-row:span 2;display:block;width:120px;aspect-ratio:16/10;overflow:hidden;border-radius:8px}
body.rd-site #post .fix_recommend-cover{width:100%!important;height:100%!important;object-fit:cover!important;aspect-ratio:16/10;margin:0!important;border-radius:0!important}
body.rd-site #post .fix_recommend-post-title{font-size:14px!important;font-weight:700!important;line-height:1.5!important;color:#fff!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;padding:0!important;border:0!important}
body.rd-site #post .fix_recommend-meta{font-size:12px;line-height:1.6;grid-column:2;display:flex;flex-direction:column;align-items:flex-start;gap:0}
body.rd-site #post .post-near{margin:20px 0 0}
body.rd-site #post .post-near a{min-height:68px;padding:12px 16px;border:1px solid #ffffff12;background:#1f1f29;border-radius:12px;font-size:14px;line-height:1.6}
body.rd-site #post .fix_faq{margin:28px 0 0;border:0;background:none;padding:0}
body.rd-site #post .fix_faq-title{font-size:20px!important;font-weight:800!important;padding:0!important;border:0!important;margin:0 0 12px!important;color:#fff!important}
body.rd-site #post .fix_faq-title-icon,body.rd-site #post .fix_faq-badge{display:none}
body.rd-site #post .fix_faq-item{border:1px solid #ffffff12;background:#1f1f29;border-radius:10px;padding:0;margin:0 0 10px;overflow:hidden}
body.rd-site #post .fix_faq-question{margin:0!important;padding:0!important;border:0!important;font-size:14px!important}
body.rd-site #post .fix_faq-toggle{padding:14px 16px;width:100%;min-height:48px;text-align:left;background:transparent;color:#e2e1e5;font-size:14px;font-weight:700}
body.rd-site #post .fix_faq-answer{padding:0 16px 14px;background:none;color:#aaa;font-size:14px;line-height:1.8}
body.rd-site #post .fix_faq-answer p{margin:0}
body.rd-site #post .horizontal-banner{width:100%;border-radius:12px;overflow:hidden}
body.rd-site #post .horizontal-banner img{width:100%;max-width:none!important;aspect-ratio:950/110;object-fit:cover!important;border-radius:12px}
body.rd-site #post .article-bottom-apps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px 10px;padding:16px;margin:0;background:#ffffff05;border:1px solid #ffffff0d;border-radius:12px}
body.rd-site #post .article-bottom-apps a.btn-app{display:flex;flex-direction:column;align-items:center;gap:8px;padding:4px 0 10px;margin:0;border:0;background:none;min-width:0;font-size:13px;color:#d4d3d7}
body.rd-site #post .article-bottom-apps img{width:70px!important;height:70px!important;max-width:100%!important;aspect-ratio:1/1;border-radius:16px;object-fit:cover!important;margin:0!important}
body.rd-site #post .article-bottom-apps span{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:767px){
body.rd-site #post .post-title{font-size:21px!important;line-height:1.4!important}
body.rd-site #post .fix_recommend-list{grid-template-columns:minmax(0,1fr)}
body.rd-site #post .fix_recommend-list li{grid-template-columns:104px minmax(0,1fr)}
body.rd-site #post .fix_recommend-cover-link{width:104px}
body.rd-site #post .article-bottom-apps{gap:10px 8px;padding:12px}
body.rd-site #post .article-bottom-apps img{width:45px!important;height:45px!important;border-radius:11px}
body.rd-site #post .article-bottom-apps a.btn-app{font-size:12px;gap:6px}
}
/* The legacy Bootstrap row is a page stack, not the prototype's inline control row. */
body.rd-site #body>.container>.row{display:block!important;width:100%!important;margin:0!important;padding:0!important}
body.rd-site #index,body.rd-site #archive{flex:none!important;min-width:0!important}
body.rd-site .original-post-copy h2 a{color:#fff!important;font-size:inherit!important;font-weight:inherit!important;line-height:inherit!important;text-decoration:none!important;box-shadow:none!important;display:block!important}
body.rd-site #index .original-post-visual,body.rd-site #archive .original-post-visual{height:279px!important}
@media(max-width:1023px){body.rd-site #index .original-post-visual,body.rd-site #archive .original-post-visual{height:225px!important}body.rd-site #index .original-post-copy h2,body.rd-site #archive .original-post-copy h2{font-size:18px!important}}
/* Keep the two floating tools separate from the retired theme back-to-top control. */
body.rd-site #backtop{display:none!important}
body.rd-site .original-header .rd-mobile-label .hd-ico{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
body.rd-site .wv-rail button span{border:0}
body.rd-site.rd-immersive .wv-progress input[type=range]{height:4px;padding:0;border:0;background:linear-gradient(90deg,#c9b5ff var(--p,0%),#ffffff40 var(--p,0%));box-shadow:none;border-radius:2px}
body.rd-site.rd-immersive .wv-info h1{font-size:18px!important;line-height:1.35!important;font-weight:800!important}
body.rd-site .invalid-home{display:inline-flex;margin-top:18px;min-height:44px;align-items:center;padding:10px 20px;border-radius:5px}
body.rd-site .rd-header .rd-brand img{height:48px}
@media(max-width:767px){body.rd-site .rd-header .rd-brand img{height:42px}}
/* Isolate old theme margins from the new page frame. */
html.rd-root{display:flow-root}
body.rd-site{display:flow-root!important}
body.rd-site .original-header .rd-bar{margin:0 auto!important}
body.rd-site{background:radial-gradient(1100px 520px at 50% -180px,#7c5cff24,transparent 70%) fixed,radial-gradient(900px 600px at 100% 0,#e04fd80f,transparent 60%),#0f0f14!important}
body.rd-site .rd-home-heading p{margin:4px 0 0;padding-left:14px;font-size:12px;line-height:1.6}
body.rd-site .rd-home-heading{margin-bottom:18px}
body.rd-site .rd-feature .rd-home-heading{margin-bottom:14px}
body.rd-site .rd-hot-list.hot-list{padding:8px!important;row-gap:0;column-gap:8px;border-radius:12px;border-color:#ffffff0f}
body.rd-site .rd-hot-list.hot-list .hot-item{padding:10px 12px}
body.rd-site .rd-hot-list.hot-list .hot-rank{font-size:12px}
body.rd-site .rd-hot-list.hot-list li:nth-child(1) .hot-rank{background:linear-gradient(135deg,#ff5f6d,#ffc371);color:#14141b}
body.rd-site .rd-hot-list.hot-list li:nth-child(2) .hot-rank{background:linear-gradient(135deg,#e04fd8,#ff7aa8)}
body.rd-site .rd-hot-list.hot-list li:nth-child(3) .hot-rank{background:linear-gradient(135deg,#7c5cff,#b18cff)}
body.rd-site .original-header .rd-nav{font-size:15px}
@media(min-width:768px){
body.rd-site #masthead{padding-bottom:32px!important}
body.rd-site #masthead h1{margin-bottom:8px!important}
body.rd-site .rd-banner{height:auto;aspect-ratio:2.1}
body.rd-site .rd-feature{margin-bottom:48px}
body.rd-site .rd-hot{margin-bottom:54px}
}
@media(max-width:767px){
body.rd-site .rd-hot-list.hot-list{padding:4px!important}
body.rd-site .rd-hot-list.hot-list .hot-item{min-height:44px;font-size:13px;padding:8px 10px}
}
body.rd-site dialog:not([open]){display:none!important}
body.rd-site #library-status{font-size:12px;color:#8f8e94;margin:0;padding:0 16px 10px}
body.rd-site .pd-adc .pd-adc-track{height:100%;width:100%}
body.rd-site #post .pd-adc img{width:100%;height:100%!important;max-width:none!important;border-radius:0;object-fit:cover!important}
body.rd-site #post .line{display:none}
body.rd-site .rd-more>summary[aria-current=page]{position:relative;color:#fff}
body.rd-site .rd-more>summary[aria-current=page]:before{content:'';position:absolute;bottom:2px;left:0;right:14px;height:3px;border-radius:3px;background:linear-gradient(90deg,#7c5cff,#e04fd8)}
body.rd-site dialog::backdrop{background:#0008}
body.rd-site .drama-detail-page .dd-crumb{margin-bottom:8px}
@media(max-width:767px){
body.rd-site .mvp-page .cat-crumb{margin-bottom:4px}
body.rd-site .drama-detail-page .dd-crumb{margin-bottom:8px}
body.rd-site .drama-detail-page .drama-detail-title{margin-bottom:14px}
body.rd-site .drama-channel h1,body.rd-site .rd-directory h1,body.rd-site #masthead h1{line-height:1.35!important}
}
body.rd-site .rd-banner-dots button{display:grid;place-items:center;width:24px;height:32px;min-height:32px;padding:0;border:0;background:transparent;border-radius:0}
body.rd-site .rd-banner-dots button:hover:not(:disabled){background:transparent}
body.rd-site .rd-banner-dots i{height:6px;width:6px;border-radius:3px;background:#ffffff73}
body.rd-site .rd-banner-dots [aria-pressed=true] i{width:22px;background:#fff}
body.rd-site .rd-banner-pause{min-height:0;padding:5px 8px;border:0;border-radius:4px;background:#0006;font-size:11px;opacity:0}
body.rd-site .rd-banner:hover .rd-banner-pause,body.rd-site .rd-banner-pause:focus-visible{opacity:1}
body.rd-site .rd-banner-arrow{min-height:38px;padding:0;background:#0006}
body.rd-site #foot-menu.rd-footer{margin-top:56px;padding:56px 0 0!important;background:#0b0b10!important}
body.rd-site #foot-menu .footer-top{grid-template-columns:minmax(0,1.15fr) minmax(0,1.6fr);gap:56px;padding:0 0 40px}
body.rd-site #foot-menu .footer-logo{width:150px;height:56px;margin:0;object-position:left center}
body.rd-site #foot-menu .footer-desc{margin:14px 0 20px;padding:0;border:0;font-size:13px;line-height:1.85;color:#a5a4a9}
body.rd-site #foot-menu .footer-desc p{font:inherit;color:inherit;margin:0;padding:0;line-height:inherit}
body.rd-site #foot-menu .rd-footer-name,body.rd-site #foot-menu .rd-footer-quick{display:none}
body.rd-site #foot-menu .footer-social{margin-top:20px;gap:10px}
body.rd-site #foot-menu .footer-social a{width:40px;height:40px;padding:0;border-radius:50%;background:#ffffff0f;border:1px solid #ffffff14}
body.rd-site #foot-menu .footer-social svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.rd-site #foot-menu .footer-cols{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
body.rd-site #footer{margin-top:0!important}
@media(max-width:1023px){body.rd-site #foot-menu .footer-top{grid-template-columns:minmax(0,1fr);gap:36px}}
@media(max-width:767px){body.rd-site #foot-menu.rd-footer{margin-top:36px;padding-top:40px!important}body.rd-site #foot-menu .footer-logo{width:124px;height:46px}body.rd-site #foot-menu .footer-cols{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px}
body.rd-site #foot-menu .footer-col:last-child{display:flex}
}
body.rd-site .page-nav:not(.page-nav-ajax){display:grid!important;grid-template-columns:1fr auto 1fr;gap:16px;align-items:center;margin:32px 0 8px!important}
body.rd-site .page-nav:not(.page-nav-ajax)>.page-jump{grid-column:2;grid-row:1;justify-self:center}
body.rd-site .page-nav:not(.page-nav-ajax)>.page-navigator{display:contents!important}
body.rd-site .page-nav:not(.page-nav-ajax)>.page-navigator>li{margin:0!important;padding:0!important;list-style:none}
body.rd-site .page-nav:not(.page-nav-ajax)>.page-navigator>li:not(.prev):not(.next){display:none!important}
body.rd-site .page-nav:not(.page-nav-ajax)>.page-navigator>.prev{grid-column:1;grid-row:1;justify-self:start;display:block!important}
body.rd-site .page-nav:not(.page-nav-ajax)>.page-navigator>.next{grid-column:3;grid-row:1;justify-self:end;display:block!important}
body.rd-site .page-nav .page-jump form{display:flex;align-items:center;flex-wrap:nowrap;gap:10px}
body.rd-site .page-nav .page-info{font-size:17px;color:#fff;font-variant-numeric:tabular-nums;margin-right:2px}
body.rd-site .page-nav .page-jump input{width:72px;max-width:none;height:40px;padding:0 10px;border:1.5px solid #e8e7ea;border-radius:6px;background:transparent;color:#fff;font-size:15px;text-align:center;appearance:textfield}
body.rd-site .page-nav .page-jump input::-webkit-inner-spin-button,body.rd-site .page-nav .page-jump input::-webkit-outer-spin-button{appearance:none;margin:0}
body.rd-site .page-nav .page-jump button,body.rd-site .page-nav .page-navigator a{height:40px;min-height:40px;padding:0 16px;border:1.5px solid #e8e7ea;border-radius:6px;background:transparent;font-size:16px;color:#fff;line-height:37px;white-space:nowrap}
body.rd-site .page-nav .page-navigator a{padding:0 22px}
@media(max-width:767px){body.rd-site .page-nav:not(.page-nav-ajax){grid-template-columns:auto 1fr auto;gap:8px}body.rd-site .page-nav .page-jump form{gap:6px}body.rd-site .page-nav .page-info{font-size:14px}body.rd-site .page-nav .page-jump input{width:52px;height:36px;font-size:14px}body.rd-site .page-nav .page-jump button,body.rd-site .page-nav .page-navigator a{height:36px;min-height:36px;padding:0 10px;font-size:14px;line-height:33px}}
@media(max-width:359px){body.rd-site .page-nav:not(.page-nav-ajax){grid-template-columns:1fr 1fr;row-gap:10px}body.rd-site .page-nav:not(.page-nav-ajax)>.page-jump{grid-column:1/-1;grid-row:2}body.rd-site .page-nav:not(.page-nav-ajax)>.page-navigator>.next{grid-column:2}}
body.rd-site .rd-more .rd-mobile-only,body.rd-site .rd-more .rd-primary-menu-item,body.rd-site .original-header .rd-mobile-label .hd-ico-close{display:none}
@media(max-width:1023px){body.rd-site .rd-more .rd-mobile-only,body.rd-site .rd-more .rd-primary-menu-item{display:block}body.rd-site .rd-more[open] .rd-mobile-label .hd-ico-open{display:none}body.rd-site .rd-more[open] .rd-mobile-label .hd-ico-close{display:block}body.rd-site .rd-more[open] .rd-mobile-label{color:#c9b5ff}}
@media(max-width:767px){body.rd-site #masthead h1.blog-title{line-height:1.35!important}}
/* The final reference uses four recommendation tiles and a single FAQ panel. */
body.rd-site #post .fix_recommend-section{margin-top:40px}
body.rd-site #post .fix_recommend-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
body.rd-site #post .fix_recommend-list li{display:flex;flex-direction:column;gap:0;padding:0!important;overflow:hidden;background:#1c1c25;border-radius:12px}
body.rd-site #post .fix_recommend-cover-link{width:100%;aspect-ratio:16/10;border-radius:0;flex:none}
body.rd-site #post .fix_recommend-cover{width:100%!important;height:100%!important}
body.rd-site #post .fix_recommend-post-title{padding:10px 12px 0!important;min-height:52px;font-size:14px!important;line-height:1.5!important}
body.rd-site #post .fix_recommend-meta{padding:8px 12px 12px;margin-top:auto;display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;gap:6px}
body.rd-site #post .fix_recommend-enter{font-size:12px!important;color:#c9b5ff!important}
body.rd-site #post .fix_faq{margin-top:40px}
body.rd-site #post .fix_faq-title{display:flex;align-items:center;gap:10px}
body.rd-site #post .fix_faq-title:before{content:'';width:4px;height:18px;border-radius:2px;background:linear-gradient(180deg,#7c5cff,#e04fd8)}
body.rd-site #post .fix_faq-list{border:1px solid #ffffff12;border-radius:14px;overflow:hidden;background:#1c1c25}
body.rd-site #post .fix_faq-item{margin:0;padding:0;border:0;border-radius:0;background:none}
body.rd-site #post .fix_faq-item+.fix_faq-item{border-top:1px solid #ffffff12}
body.rd-site #post .fix_faq-item.is-open{background:#7c5cff12}
body.rd-site #post .fix_faq-toggle{display:flex;align-items:center;gap:10px;min-height:56px;padding:14px 18px;font-size:15px}
body.rd-site #post .fix_faq-badge{display:grid;place-items:center;width:24px;height:24px;flex:0 0 24px;border-radius:6px;background:linear-gradient(135deg,#7c5cff,#e04fd8);font-size:12px;font-weight:800;color:#fff}
body.rd-site #post .fix_faq-answer{padding:0 18px 16px 52px}
body.rd-site #post .post-content .pd-endbar{margin-top:32px;border-bottom:0;padding:18px 0 0}
body.rd-site #post .post-near{margin-top:24px}
@media(max-width:1023px){body.rd-site #post .fix_recommend-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){
body.rd-site #masthead h1{margin-bottom:4px!important}
body.rd-site #masthead{padding-bottom:20px!important}
body.rd-site .rd-feature{margin-bottom:32px}
body.rd-site .rd-hot{margin-bottom:50px}
body.rd-site #index>article.original-post-card,body.rd-site #archive>article.original-post-card,body.rd-site .drama-search-list.original-posts article{margin-bottom:18px!important}
body.rd-site #post .fix_recommend-list{gap:10px}
body.rd-site #post .fix_recommend-post-title{font-size:13px!important}
body.rd-site #post .fix_recommend-meta{flex-direction:column;align-items:flex-start;gap:2px}
body.rd-site #post .fix_faq-toggle{padding:12px 14px;font-size:14px}
body.rd-site #post .fix_faq-answer{padding:0 14px 14px 48px}
body.rd-site #post .post-near nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body.rd-site #post .post-near a{min-height:60px;padding:10px 12px;font-size:13px}
}
@media(min-width:768px){body.rd-site #index>article.original-post-card,body.rd-site #archive>article.original-post-card,body.rd-site .drama-search-list.original-posts article{margin-bottom:37px!important}}
body.rd-site .drama-channel .drama-cover>span,body.rd-site .sp-drama-grid .drama-cover>span{left:0;right:0;bottom:0;padding:4px 6px;border-radius:0;font-size:10px;background:#171717d9}
body.rd-site .drama-card p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.rd-site .dd-rel .drama-card>.drama-card-catchline{display:none}
body.rd-site .dd-rel .drama-card-tags,body.rd-site .dd-rel .drama-card-heat{margin:3px 0 0;line-height:1.5;color:#a6a6ad}
body.rd-site .dd-rel .drama-card-tags a{color:#c9b5ff}
body.rd-site #body>.fix_breadcrumb--center{margin-bottom:6px!important}
body.rd-site #body:has(#archive) #masthead{padding-bottom:4px!important}
body.rd-site #body #archive{margin-top:18px!important}
@media(max-width:767px){body.rd-site #body>.fix_breadcrumb--center{margin-bottom:4px!important}body.rd-site #body:has(#archive) #masthead{padding-bottom:0!important}}
body.rd-site #body:has(.fix_flink--page) #masthead{display:none!important}
body.rd-site #post .fix_flink-title{font-size:22px!important;line-height:1.4!important;font-weight:800!important}
body.rd-site .wv-sheet-prefs input[type=checkbox]{width:16px;height:16px;padding:0;accent-color:#c9b5ff}
body.rd-site .wv-sheet-prefs button{min-height:24px;padding:0;background:transparent;border:0;font-size:12px;color:#aaa}
body.rd-site.rd-immersive .player-notice:has(#retry:not([hidden])){inset:0;display:grid;place-content:center;gap:16px;padding:24px;background:#1c1c1cea;pointer-events:auto}
body.rd-site.rd-immersive .player-notice #retry{background:#ecebed;color:#14141b;font-size:14px;border-radius:6px;justify-self:center}
/* Overlay parity: keep the prototype's anchored assistant and centred feedback dialog. */
body.rd-site #drama-assistant::backdrop,body.rd-site #drama-feedback::backdrop{background:rgba(20,20,20,.72)}
body.rd-site #drama-assistant .input-row{margin:0}
body.rd-site #drama-assistant .search-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}
body.rd-site #drama-feedback{width:min(460px,calc(100% - 32px));padding:0;border:0;border-radius:12px;background:#0f0f14;color:#f5f5f7;max-height:85dvh;box-shadow:0 24px 80px #0006}
body.rd-site #drama-feedback h2{font-size:18px;margin:0;line-height:1.3}
body.rd-site #drama-feedback .dialog-body label{display:block;margin:14px 0 8px;font-size:13px;line-height:1.6}
body.rd-site #drama-feedback select,body.rd-site #drama-feedback textarea{display:block;width:100%;padding:11px;background:#14141b;border:1px solid #827c75;border-radius:5px;font-size:16px;line-height:1.6}
body.rd-site #drama-feedback textarea{min-height:100px;resize:vertical}
body.rd-site #drama-feedback .feedback-submit{width:100%;margin-top:16px;font-size:16px;min-height:44px}
body.rd-site #drama-feedback .dialog-head button{padding:10px;width:44px;height:44px;min-height:44px;background:transparent;font-size:16px}
@media(max-width:767px){body.rd-site #drama-feedback{max-height:88dvh}}
/* The native dialog follows the reference's small non-modal history panel. */
body.rd-site #drama-library.pd-hist{position:fixed;inset:auto 24px 92px auto;display:flex;flex-direction:column;width:min(380px,calc(100vw - 32px));height:auto;max-height:min(560px,calc(100dvh - 120px));margin:0;padding:0;transform:none;border-radius:16px;border:1px solid #ffffff1a;background:#181820;color:#e6e5e8;overflow:hidden;box-shadow:0 20px 50px #0009}
body.rd-site #drama-library::backdrop{background:#00000059}
body.rd-site #drama-library .pd-hist-head{padding:14px 16px;border-bottom:1px solid #ffffff12;gap:8px;justify-content:initial}
body.rd-site #library-title{font:700 15px/1.3 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",Arial,sans-serif;appearance:none;min-width:0;width:72px;margin:0;padding:0;border:0;background:transparent;color:#fff}
body.rd-site #library-count{flex:1;font-size:12px;color:#8f8e94}
body.rd-site #drama-library .pd-hist-head button{font-size:12px;min-height:0;height:30px;padding:0 10px;border-radius:8px;background:#ffffff0f;color:#c9c8cc}
body.rd-site #drama-library .pd-hist-head [data-close]{width:30px;padding:0}
body.rd-site #drama-library .pd-hist-types{display:flex;align-self:flex-start;flex-shrink:0;gap:4px;margin:12px 16px 6px;padding:4px;border-radius:999px;background:#ffffff0a}
body.rd-site #drama-library .pd-hist-types button{min-height:36px;padding:6px 14px;border:0;border-radius:999px;background:transparent;color:#99989f;font-family:inherit;font-size:14px;font-weight:600;line-height:1.4;cursor:pointer}
body.rd-site #drama-library .pd-hist-types button[aria-pressed=true]{background:#ffffff16;color:#fff}
body.rd-site #drama-library .pd-hist-types button:focus-visible{outline:2px solid #bda2ef;outline-offset:2px}
body.rd-site #drama-library .pd-hist-list{padding:6px;margin:0;overflow:auto;list-style:none}
body.rd-site #drama-library .pd-hist-list li{margin:0;padding:0;list-style:none}
body.rd-site #drama-library .pd-hist-list img.pd-hist-drama-cover{flex:0 0 54px;width:54px;height:96px;aspect-ratio:9/16;object-fit:cover}
body.rd-site #drama-library .pd-hist-list .pd-hist-empty{padding:30px 16px;text-align:center;font-size:13px;line-height:1.6;color:#8f8e94}
body.rd-site #library-status:not(:empty){display:block;margin:0;padding:10px 16px;font-size:12px;color:#aaa}
@media(max-width:767px){body.rd-site #drama-library.pd-hist{inset:auto 16px 78px auto}}
/* Computed-style audit: match reference primitives after the legacy theme cascade. */
body.rd-site #masthead h1,body.rd-site .drama-channel h1,body.rd-site .rd-directory h1{letter-spacing:-.01em!important;color:#fff!important}
body.rd-site .rd-home-heading h2{letter-spacing:-.01em}
body.rd-site .rd-home-heading p{color:#aaa9aa}
body.rd-site .rd-search{text-align:center}
body.rd-site .rd-brand img{line-height:1.6;text-align:center}
body.rd-site .rd-banner{background:#14141b;border-radius:16px}
body.rd-site .rd-banner-copy{max-width:min(560px,58%);padding-left:clamp(28px,5vw,64px)}
body.rd-site .rd-banner-kicker{letter-spacing:.08em}
body.rd-site .rd-banner-copy h3{line-height:1.15;letter-spacing:-.02em;color:#f5f5f7}
body.rd-site .rd-banner-meta{color:#aaa9aa}
body.rd-site .rd-banner-intro{line-height:1.6}
body.rd-site .rd-banner-watch{gap:8px;background:#ecebed;color:#14141b;text-align:center}
body.rd-site .rd-banner-watch svg{width:16px;height:16px;fill:currentColor}
body.rd-site .rd-banner-poster{right:clamp(28px,6vw,90px);box-shadow:0 20px 45px #0000008c}
body.rd-site .rd-banner-dots{bottom:12px}
body.rd-site .rd-banner-dots button{border-radius:5px}
body.rd-site .rd-banner-arrow{width:46px;height:46px;min-height:0;display:grid;place-items:center;backdrop-filter:blur(6px)}
body.rd-site .rd-banner-prev{left:14px}body.rd-site .rd-banner-next{right:14px}
body.rd-site .rd-banner-arrow svg{width:22px;height:22px;fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
body.rd-site .hot-title{font-weight:400}
body.rd-site #index .original-post-copy h2,body.rd-site #archive .original-post-copy h2,body.rd-site .original-post-copy h2 a{font-weight:700!important;color:#f5f5f7!important}
body.rd-site .original-post-copy .post-meta{font-size:13px!important;color:#d6d5d9!important;gap:4px 8px}
body.rd-site .original-post-copy .post-meta a.post-author{font-weight:600!important;color:#fff!important;border:0!important}
body.rd-site .page-nav{line-height:1.6}
body.rd-site .drama-cover{background:#14141b}
body.rd-site .drama-channel .drama-cover>span,body.rd-site .sp-drama-grid .drama-cover>span{left:8px;right:auto;bottom:8px;padding:3px 7px;border-radius:5px;font-size:11px;line-height:1.3;background:#0000009e;color:#fff}
body.rd-site .drama-channel .drama-card h3{color:#fff}
body.rd-site #search-query{color:#fff;background:transparent!important;border:0!important;padding:1px 2px!important}
body.rd-site .dd-cmt-form input{color:#fff!important;background:#ffffff0f!important;border:1px solid #ffffff1a!important}
body.rd-site .dd-comments{position:relative}
body.rd-site .detail-comment-tools{position:absolute;right:16px;bottom:16px;margin:0;padding:4px 8px;background:#14141be6;border-radius:5px;opacity:0;pointer-events:none}
body.rd-site .dd-comments:hover .detail-comment-tools,body.rd-site .detail-comment-tools:focus-within{opacity:1;pointer-events:auto}
body.rd-site .dd-rel .drama-card h3{line-height:1.3;color:#fff}
body.rd-site #post .post-content.pd-content{font-size:16px;line-height:1.6;letter-spacing:normal;text-align:start;color:#f5f5f7}
body.rd-site #post .post-content .pd-lead{color:#d4d3d7;line-height:1.9}
body.rd-site #post .pd-sections p{color:#c9c8cc;line-height:1.9}
body.rd-site #post .pd-sections h2{padding:0 0 0 12px!important;border-bottom:0!important}
body.rd-site #post>.post>.post-meta{color:#a5a4a9!important}
body.rd-site #post .pd-toc .index-menu{padding:0;margin:0;background:none;border:0}
body.rd-site #post .pd-toc ul{margin:0!important;padding-left:20px!important;display:grid;gap:4px;list-style:decimal}
body.rd-site #post .pd-toc li{margin:0!important;padding:0!important;font-size:14px;line-height:1.6;color:#8f8e94}
body.rd-site #post .pd-toc li::marker{color:#a07bff;font-weight:700}
body.rd-site #post .pd-toc a{color:#c9c8cc!important;font-weight:400!important;border:0!important}
body.rd-site #post .fix_recommend-post-title{padding:0!important;min-height:42px}
body.rd-site #post .fix_recommend-meta{padding:0;margin:0}
body.rd-site #post .fix_recommend-cover-link{font-weight:400;line-height:1.6;letter-spacing:normal;color:#f5f5f7;background:#111;border:0!important}
body.rd-site.rd-immersive .wv-stage{background:#000}
body.rd-site.rd-immersive .wv-icon{background:#0000004d}
body.rd-site.rd-immersive .wv-rail small{color:#fff}
body.rd-site.rd-immersive .wv-progress{font-size:16px;line-height:1.6;color:#f5f5f7}
body.rd-site.rd-immersive #seek{border:0!important;background:transparent!important;font-size:16px;line-height:1.6}
@media(max-width:1023px){
body.rd-site:has(.rd-more[open])::before{content:'';position:fixed;inset:0;z-index:14;background:#0000008c}
body.rd-site .rd-more[open] .nav-more-menu{border-radius:16px;padding:12px;gap:6px;background:#1f1f29;border:1px solid #ffffff14;box-shadow:0 20px 50px #0008}
body.rd-site .rd-more[open] .nav-more-menu>a{display:flex;align-items:center;min-height:44px;padding:0 14px;border-radius:10px;background:#ffffff0a;font-size:15px;color:#e2e1e5}
body.rd-site .rd-more[open] .nav-more-menu>a[aria-current=page]{background:linear-gradient(135deg,#7c5cff59,#e04fd840);color:#fff;font-weight:700}
}
@media(max-width:767px){
body.rd-site .rd-search{padding:0 4px}
body.rd-site .rd-banner{border-radius:12px}
body.rd-site .rd-banner-copy{max-width:48%;padding-left:18px}
body.rd-site .rd-banner-meta{font-size:12px;gap:8px}
body.rd-site .rd-banner-meta span{padding:2px 9px}
body.rd-site .rd-banner-watch{min-height:38px}
body.rd-site .rd-banner-poster{right:14px;top:46%;height:74%!important}
body.rd-site .rd-banner-arrow{display:none}
body.rd-site .rd-banner-dots{bottom:2px;left:auto;right:10px}
body.rd-site .rd-banner-dots button{width:16px;height:22px;min-height:22px}
body.rd-site .rd-banner-dots i{width:5px;height:5px}
body.rd-site .rd-banner-dots [aria-pressed=true] i{width:14px}
body.rd-site .original-post-copy .post-meta{font-size:11px!important;gap:2px 6px}
body.rd-site .channel-intro{font-size:13px;line-height:1.7}
body.rd-site .allcat-wrap .section-heading h2{font-size:19px}
body.rd-site .dd-comments{padding:14px}
body.rd-site .dd-cmt-form .dd-cmt-nick{flex-basis:70px;width:70px;padding:0 12px}
body.rd-site .dd-comments .danmaku-stage{height:160px}
body.rd-site .dd-rel .drama-card h3{font-size:13px}
body.rd-site #post .pd-toc li{font-size:13px}
}
body.rd-site .rd-banner-watch{color:#14141b!important}
body.rd-site .rd-hot-list .hot-title{font-weight:400!important}
body.rd-site #foot-menu,body.rd-site #foot-menu .footer-top,body.rd-site #foot-menu .footer-address{color:#aaa9aa}
body.rd-site #foot-menu .footer-social a{font-size:14px;font-weight:400;line-height:1.6;color:#d4d3d7}
body.rd-site #search-query{color:#fff!important}
body.rd-site #post .post-content.pd-content,body.rd-site #post .post-content.pd-content .pd-adc,body.rd-site #post .post-content.pd-content .pd-endbar,body.rd-site #post .fix_recommend-list li{color:#f5f5f7!important;text-align:start!important}
body.rd-site #post .post-content.pd-content p,body.rd-site #post .fix_recommend-post-title,body.rd-site #post .fix_recommend-cover-link{text-align:start!important}
body.rd-site #post .fix_recommend-cover-link{color:#f5f5f7!important}
body.rd-site.rd-immersive #drama-stage{background:#000}
body.rd-site.rd-immersive #fullscreen{background:#0000004d}
body.rd-site #drama-assistant .input-row input{background:#14141b!important}
@media(max-width:767px){
body.rd-site .rd-search.header-assistant{padding:0 4px!important}
body.rd-site .rd-banner-copy{max-width:64%}
body.rd-site #foot-menu .footer-desc{line-height:1.8}
}
body.rd-site #post .fix_recommend-enter{order:2;white-space:nowrap}
body.rd-site #post .fix_recommend-stars{font-size:11px;color:#8f8e94;white-space:nowrap;gap:4px}
body.rd-site #post .fix_recommend-stars-icons{font-size:11px;color:#ffb547;letter-spacing:0}
body.rd-site #post .fix_faq-answer{position:relative}
body.rd-site #post .fix_faq-answer .pd-faq-badge{position:absolute;left:18px;top:0}
body.rd-site #post .fix_faq-arrow{border:0!important;transform:none!important;margin-left:auto;font-size:15px;color:#8f8e94;width:auto;height:auto}
body.rd-site #post .fix_faq-title-icon{display:none}
body.rd-site #post .pd-portal p{line-height:1.6;text-align:start}
body.rd-site #post .pd-portal .pd-h2{font-size:18px!important;font-weight:800;color:#fff!important;margin:0 0 12px}
body.rd-site #post .pd-portal a{border:0!important;font-weight:400;box-shadow:none!important}
body.rd-site #post .pd-feat-links a{display:flex;align-items:center;justify-content:center;color:#d4d3d7!important}
body.rd-site #post .pd-addr-head h3{margin:0;padding:0;font-size:14px;font-weight:800;color:#fff}
body.rd-site #post .pd-addr-head p{font-size:12px;color:#8f8e94;margin:2px 0 0}
body.rd-site #post .pd-addr-links a{color:#c9b5ff!important}
body.rd-site #post .pd-apps-title{line-height:1.6!important;color:#fff!important}
body.rd-site #post .pd-app{border:0!important;color:#d4d3d7!important;font-weight:400;box-shadow:none!important;line-height:1.6}
body.rd-site #post .pd-app-icon{width:45px!important;height:45px!important;aspect-ratio:1/1;object-fit:cover;margin:0!important;border-radius:11px}
@media(max-width:767px){body.rd-site #post .fix_faq-answer .pd-faq-badge{left:14px}}
body.rd-site .rd-hot-list{row-gap:normal}
body.rd-site #foot-menu{color:#aaa9aa!important}
body.rd-site #foot-menu .footer-social a{color:#d4d3d7!important}
body.rd-site #post .fix_faq-list{gap:0}
body.rd-site #post .fix_faq-toggle{line-height:1.3;color:#fff;border-radius:0}
body.rd-site #post .fix_faq-badge{line-height:1.3}
body.rd-site #post .fix_faq-answer .pd-faq-badge{display:none}
body.rd-site #post .pd-portal .pd-feat-links a{font-weight:700;color:#fff!important;border:1px solid #ffffff14!important}
body.rd-site #post .pd-addr-head h3{color:#fff!important}
body.rd-site #post .pd-portal p.pd-save-tip{text-align:center!important}
body.rd-site #drama-assistant #assist-query{background:#0c0c11!important;color:#f5f5f5!important;border:1px solid #555!important}
body.rd-site #drama-assistant #assist-query:focus-visible{border-color:#d5d5d5!important}
body.rd-site #drama-library.pd-hist{color:#f5f5f7}
body.rd-site .rd-more .nav-more-menu{font-size:15px;font-weight:400;line-height:1.6;padding:10px;gap:2px}
body.rd-site #drama-feedback .dialog-body label{gap:normal}
body.rd-site #drama-feedback select,body.rd-site #drama-feedback textarea{background:#14141b!important;border-color:#827c75!important}
body.rd-site.rd-immersive .wv-sheet,body.rd-site.rd-immersive .wv-sheet-eps{color:#f5f5f7}
body.rd-site.rd-immersive .wv-sheet-eps [aria-current=true]{font-weight:600}
@media(max-width:1023px){body.rd-site .rd-more[open] .nav-more-menu{padding:12px;gap:6px}}
@media(max-width:767px){body.rd-site #drama-feedback .dialog-head h2{font-size:17px}body.rd-site #drama-assistant .search-results:not(:empty){gap:18px 14px}}
body.rd-site #settings{width:min(460px,calc(100% - 32px));padding:0;border:0;border-radius:12px;background:#0f0f14;color:#f5f5f7}
body.rd-site #settings .dialog-head h2{margin:0;font-size:18px}
body.rd-site #settings .dialog-head button{width:44px;height:44px;padding:10px;background:transparent}
body.rd-site #settings .dialog-body label{display:block;font-size:13px;margin:14px 0 8px}
body.rd-site #settings .dialog-body select{background:#14141b;border:1px solid #827c75}
body.rd-site #settings .dialog-body input[type=range]{padding:0;background:transparent;border:0}
body.rd-site #settings .dialog-body p{margin-top:12px}
body.rd-site #copy-diagnostic{margin-top:16px;width:100%;font-size:14px}
body.rd-site #post .fix_recommend-cover-link{position:relative}
body.rd-site .rd-hot-list{gap:normal 8px!important}
body.rd-site #post .pd-apps-title{font-size:16px;line-height:1.9!important;color:#c9c8cc!important}
body.rd-site #post .pd-app-icon{border-radius:11px!important;object-fit:cover!important}
body.rd-site #post a.pd-near-item{font-weight:400!important;color:#f5f5f7!important;border:1px solid #ffffff12!important;box-shadow:none!important}
body.rd-site #drama-library.pd-hist{max-width:calc(100vw - 32px)}
body.rd-site.rd-immersive dialog.wv-sheet{inset:auto auto 0 50%;margin:0;transform:translateX(-50%);width:min(560px,100vw);max-width:100vw}
body.rd-site.rd-immersive .wv-sheet-eps.drama-episodes{margin:0}
body.rd-site.rd-immersive .wv-sheet-prefs button{height:20.8px;min-height:0;line-height:20.8px}
body.rd-site.rd-immersive .wv-sheet-prefs input[type=checkbox]{width:13px;height:13px;margin:3px 3px 3px 4px}
@media(min-width:1024px){body.rd-site .nav-more-menu>a.rd-mobile-more{display:none!important}}
@media(min-width:1024px){body.rd-site .original-header .rd-more nav{width:300px;top:46px;left:0;right:auto;padding:10px;gap:2px;font-size:15px;font-weight:400}}
@media(max-width:1023px){
body.rd-site .original-header .rd-more[open] nav{left:16px;right:16px;top:calc(100% + 8px);width:calc(100% - 32px);font-size:14px;line-height:1.6}
body.rd-site .nav-more-menu>a:not(:is(.rd-mobile-only,.rd-primary-menu-item,.rd-celebrity-menu-item,.rd-mobile-more)){display:none!important}
body.rd-site .nav-more-menu>a.rd-mobile-more{grid-column:1/-1;justify-content:space-between}
body.rd-site .rd-mobile-more svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5}
}
@media(max-width:767px){body.rd-site #post .pd-apps-title{font-size:15px}body.rd-site.rd-immersive dialog.wv-sheet{inset:auto auto 0 0;transform:none}}
body.rd-site #drama-feedback .dialog-head button{height:auto}
body.rd-site #drama-feedback select,body.rd-site #drama-feedback textarea{display:inline-block}
body.rd-site.rd-immersive .wv-sheet-prefs label{margin:0}
/* Keep content-image sizing out of ads, app icons and recommendation covers. */
body.rd-site #post .post-content img.pd-app-icon{width:45px!important;height:45px!important;max-width:45px!important;border-radius:11px!important;object-fit:cover!important;margin:0!important}
body.rd-site #post .post-content .pd-adc-slide img{width:100%!important;height:100%!important;max-width:100%!important;max-height:none!important;object-fit:cover!important;border-radius:0!important;margin:0!important}
body.rd-site #post .post-content img.fix_recommend-cover{width:100%!important;height:100%!important;max-width:100%!important;max-height:none!important;object-fit:cover!important;border-radius:0!important;margin:0!important}
body.rd-site .rd-search.header-assistant{display:flex;align-items:center;justify-content:center}
body.rd-site .rd-banner{box-shadow:0 18px 40px #00000059;aspect-ratio:21/10}
body.rd-site .rd-banner-bg{z-index:0;object-position:center 30%;filter:blur(26px) saturate(1.15) brightness(.55);transform:scale(1.08)}
body.rd-site .rd-banner-slide:after{z-index:1;background:linear-gradient(90deg,#121212eb 0%,#121212b3 42%,#1212121a 75%),linear-gradient(0deg,#1212128c,transparent 40%)}
body.rd-site .rd-banner-copy,body.rd-site .rd-banner-poster{z-index:2}
body.rd-site .rd-banner-kicker{backdrop-filter:blur(6px)}
body.rd-site .rd-banner-catch{font-size:clamp(14px,1.4vw,18px)}
body.rd-site .drama-channel .drama-cover{box-shadow:0 6px 18px #00000059}
body.rd-site .drama-channel .drama-card p{white-space:normal;overflow:visible;text-overflow:clip}
body.rd-site .dd-rel .drama-cover{box-shadow:none}
body.rd-site #post>.post>.post-meta{align-items:center}
body.rd-site #post .fix_faq-list{display:grid;flex-direction:row}
body.rd-site #post .fix_faq-badge{justify-content:normal}
body.rd-site #post .fix_faq-title{line-height:1.3!important}
body.rd-site #post .fix_faq-answer{display:flex;gap:10px;font-size:16px;line-height:1.6;color:#f5f5f7}
body.rd-site #post .fix_faq-answer p{font-size:14px!important;line-height:1.8!important;color:#c9c8cc!important}
body.rd-site #post .fix_recommend-list li{grid-template-columns:none}
body.rd-site #post .pd-portal .pd-feat-links a{display:grid;justify-content:normal;place-items:center}
body.rd-site .page-nav{justify-content:normal!important}
body.rd-site .page-nav .page-navigator a{display:inline-flex;align-items:center;justify-content:center;padding:0 22px!important;line-height:1.6;box-shadow:none!important}
body.rd-site.rd-immersive .wv-top{justify-content:normal}
@media(max-width:767px){
body.rd-site .rd-banner{aspect-ratio:16/10}
body.rd-site .rd-banner-copy h3{display:block;overflow:visible;-webkit-line-clamp:unset}
body.rd-site .rd-banner-catch{font-size:13px}
body.rd-site .page-nav .page-navigator a{padding:0 10px!important;font-size:14px!important}
}
body.rd-site .rd-brand img{aspect-ratio:auto}
body.rd-site #body>.fix_breadcrumb{justify-content:normal;overflow:visible}
body.rd-site .fix_breadcrumb{justify-content:normal!important}
@media(prefers-reduced-motion:reduce){body.rd-site .danmaku-stage.drama-comment-wall{padding:10px}}
@media(prefers-reduced-motion:reduce) and (min-width:768px){body.rd-site .danmaku-stage.drama-comment-wall{height:auto}}
/* Preserve the prototype's spacing on both sides of each module. */
body.rd-site #masthead h1{margin:0!important}
body.rd-site #masthead .blog-description,body.rd-site .channel-intro{margin:8px 0 0!important}
body.rd-site .rd-banner-intro{margin:12px 0 0}
body.rd-site #index .original-post-copy h2,body.rd-site #archive .original-post-copy h2{margin:10px 0 8px!important}
body.rd-site .rd-directory .allcat-body p{margin:6px 0 0}
body.rd-site #post>.post>.post-meta{margin:0!important}
body.rd-site #post .post-content.pd-content{margin:18px 0 0!important}
body.rd-site #post .post-content .pd-lead{margin:0!important}
body.rd-site #post .fix_recommend-post-title{margin:0!important}
body.rd-site #post .pd-portal p.pd-h2{margin:0 0 14px}
@media(max-width:767px){
body.rd-site #masthead .blog-description,body.rd-site .channel-intro{margin:4px 0 0!important}
body.rd-site #index .original-post-copy h2,body.rd-site #archive .original-post-copy h2{margin:7px 0!important}
}
/* Desktop interaction states must survive the legacy theme's !important links. */
body.rd-site .rd-banner-watch:hover{filter:brightness(1.08);transform:translateY(0)}
body.rd-site .original-post-copy .post-meta a.post-author:hover{color:#c9b5ff!important;text-decoration:underline!important}
body.rd-site #foot-menu .footer-social a:hover{color:#fff!important;background:transparent;border-color:transparent;transform:translateY(-2px)}
body.rd-site .drama-channel .drama-cover img{transition:transform .3s}
body.rd-site .drama-channel .drama-card:hover .drama-cover img{transform:scale(1.04)}
body.rd-site .dd-info .dd-tags .dd-tag:hover{color:#d9ccff!important}
body.rd-site #post .fix_recommend-enter{border:0!important;box-shadow:none!important;text-decoration:none!important}
body.rd-site #post .fix_recommend-enter:hover{color:#fff!important}
body.rd-site #post .fix_recommend-post-title:hover{color:#c9b5ff!important}
body.rd-site #post .pd-portal .pd-addr-links a:hover{color:#fff!important;text-decoration:underline!important}
body.rd-site #post .fix_faq-toggle:hover:not(:disabled){background:#ffffff0a}
body.rd-site #foot-menu .footer-social a{transition:background .2s,color .2s,transform .2s}
body.rd-site #foot-menu .footer-social a:hover{background:linear-gradient(135deg,#7c5cff,#e04fd8)}
body.rd-site .rd-banner-watch{transition:background .18s,transform .18s}
body.rd-site #post .fix_recommend-post-title{transition:all 0s ease}
body.rd-site.rd-immersive .drama-player-top.wv-top{background:linear-gradient(180deg,rgba(0,0,0,.65),transparent)}
body.rd-site.rd-immersive #seek{background-image:linear-gradient(90deg,#c9b5ff var(--p,0%),rgba(255,255,255,.25) var(--p,0%))!important}
body.rd-site #post .pd-tag-list a{line-height:1.6!important}
@media(min-width:1024px){
body.rd-site .original-header .rd-more{font-size:15px}
body.rd-site .original-header .rd-more>summary{position:relative;display:inline-flex;align-items:center;gap:4px;height:38px;min-height:0;padding:0 9px;border-radius:999px;color:#c9c8cc;font-weight:500;white-space:nowrap;transition:color .18s,background .18s}
body.rd-site .original-header .rd-more>summary:after{content:none;display:none}
body.rd-site .original-header .rd-more>summary:hover{color:#fff;background:#ffffff12}
body.rd-site .original-header .rd-more>summary[aria-current=page]{color:#fff;font-weight:700}
body.rd-site .original-header .rd-more>summary[aria-current=page]:before{left:9px;right:24px}
}
@media(min-width:1024px) and (max-width:1250px){body.rd-site .original-header .rd-more{font-size:14px}body.rd-site .original-header .rd-more>summary{padding:0 5px}}
@media(max-width:1023px){body.rd-site .rd-more-chevron{display:none}}

/* Reset the legacy desktop footer expansion inside the redesigned layout. */
body.rd-site #footer{width:100%!important;max-width:100%}
@media(min-width:768px){body.rd-site .rd-banner-copy h3{font-size:clamp(24px,2vw,28px)!important}}
@media(min-width:768px) and (max-width:1023px){body.rd-site #index .original-post-copy h2{font-size:23px!important}}

/* Match master post-card geometry without changing the other redesigned modules.
 * master: container - 2rem; mobile container - .5rem; mask heights 15.5/12.5/10.5rem.
 */
body.rd-site{--rd-post-container:720px}
@media(min-width:1302px){body.rd-site{--rd-post-container:864px}}
@media(min-width:1600px){body.rd-site{--rd-post-container:896px}}
@media(min-width:1800px){body.rd-site{--rd-post-container:960px}}
@media(min-width:2000px){body.rd-site{--rd-post-container:992px}}
@media(min-width:2400px){body.rd-site{--rd-post-container:1024px}}
body.rd-site #body:has(#index>article.original-post-card),body.rd-site #body:has(#archive>article.original-post-card),body.rd-site #index,body.rd-site #archive{overflow:visible}
body.rd-site #index>article.original-post-card,body.rd-site #archive>article.original-post-card{position:relative;left:50%;transform:translateX(-50%);width:calc(min(100vw,var(--rd-post-container)) - 2rem)!important;max-width:none}
body.rd-site #index>article.original-post-card>div.original-post-visual,body.rd-site #archive>article.original-post-card>div.original-post-visual{width:100%;height:auto!important;min-height:15.5rem;padding:2rem;border-radius:.3125rem}
body.rd-site #index .original-post-visual img,body.rd-site #archive .original-post-visual img{object-position:center}
@media(max-width:767px){body.rd-site{--rd-post-container:710px}body.rd-site #index>article.original-post-card,body.rd-site #archive>article.original-post-card{width:calc(min(100vw,var(--rd-post-container)) - .5rem)!important}body.rd-site #index>article.original-post-card>div.original-post-visual,body.rd-site #archive>article.original-post-card>div.original-post-visual{min-height:12.5rem;padding:1rem}}
@media(max-width:336px){body.rd-site #index>article.original-post-card>div.original-post-visual,body.rd-site #archive>article.original-post-card>div.original-post-visual{min-height:10.5rem}}

/* Existing assistant dialog, restyled to the supplied discovery prototype. */
body.rd-site #drama-assistant.ai-search-dialog,body.rd-site.rd-immersive #drama-assistant.ai-search-dialog{position:fixed;inset:auto 20px 20px auto;margin:0;transform:none;box-sizing:border-box;display:block;width:min(440px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:min(560px,calc(100dvh - 40px));padding:0;overflow:auto;overscroll-behavior:contain;background:#1a1a24;color:#f5f4f7;border:1px solid #373543;border-radius:18px;box-shadow:0 28px 100px #0008;text-align:left}
body.rd-site #drama-assistant.ai-search-dialog .dialog-head{position:sticky;top:0;z-index:2;display:flex;align-items:flex-start;padding:20px 20px 16px;background:#1a1a24;border-bottom:1px solid #333341}
body.rd-site #drama-assistant.ai-search-dialog .assist-eyebrow{margin-bottom:10px;font-size:12px;letter-spacing:2px;font-weight:700;color:#f5c46b}
body.rd-site #drama-assistant.ai-search-dialog .dialog-head h2{font-size:22px;line-height:1.3;letter-spacing:-.5px;margin:0 32px 10px 0;color:#f5f4f7}
body.rd-site #drama-assistant.ai-search-dialog .dialog-head p{margin:0;color:#a5a3af;font-size:14px;line-height:1.6}
body.rd-site #drama-assistant.ai-search-dialog .dialog-head [data-close]{position:absolute;right:10px;top:14px;width:44px;height:44px;min-height:44px;border:0;background:none;color:#999;font-size:28px}
body.rd-site #drama-assistant.ai-search-dialog .dialog-body{padding:20px}
body.rd-site #drama-assistant.ai-search-dialog .dialog-body label{display:block;margin:0 0 12px;font-size:15px;font-weight:650}
body.rd-site #drama-assistant.ai-search-dialog .input-row{display:flex;align-items:stretch;gap:8px;margin:0}
body.rd-site #drama-assistant.ai-search-dialog .assist-searchbox{display:flex;align-items:center;gap:12px;flex:1;min-width:0;padding:0 18px;border:1px solid #484652;border-radius:14px;background:#101016}
body.rd-site #drama-assistant.ai-search-dialog .assist-searchbox:focus-within{border-color:#f5c46b;box-shadow:0 0 0 3px #f5c46b16}
body.rd-site #drama-assistant.ai-search-dialog .assist-searchbox svg{flex:none;color:#777}
body.rd-site #drama-assistant.ai-search-dialog #assist-query{box-sizing:border-box;height:48px;width:100%;min-width:0;padding:0;border:0!important;border-radius:0;outline:0;background:transparent!important;color:#fff;font:inherit;font-size:16px;box-shadow:none}
body.rd-site #drama-assistant.ai-search-dialog #assist-query::placeholder{color:#777581}
body.rd-site #drama-assistant.ai-search-dialog .input-row>.primary{flex:none;width:auto;max-width:none;padding:0 16px;min-height:48px;border:0;border-radius:14px;background:#f0f0f2;color:#17171d;font-size:14px;font-weight:800;white-space:nowrap}
body.rd-site #drama-assistant.ai-search-dialog .field-note{display:flex;justify-content:space-between;gap:10px;margin-top:10px;color:#888895;font-size:12px;line-height:1.6}
body.rd-site #drama-assistant.ai-search-dialog .assist-section{margin-top:24px}
body.rd-site #drama-assistant.ai-search-dialog :is(.assist-section,.assist-examples)>h3{font-size:14px;line-height:1.6;font-weight:400;color:#aaa8b5;margin:0 0 13px}
body.rd-site #drama-assistant.ai-search-dialog .search-hints{display:flex;flex-wrap:wrap;gap:9px;margin:0}
body.rd-site #drama-assistant.ai-search-dialog .search-hints button{border:1px solid #3b3949;border-radius:10px;background:#23232f;color:#dddce5;padding:8px 11px;min-height:40px;font-size:14px;line-height:1.5}
body.rd-site #drama-assistant.ai-search-dialog :is(.search-hints,.assist-examples) button:hover{border-color:#a68555;background:#302a2b}
body.rd-site #drama-assistant.ai-search-dialog .assist-topics a{display:flex;align-items:center;min-height:40px;padding:5px 12px;border:1px solid #3b3949;border-radius:999px;background:#23232f;color:#dddce5;font-size:14px}
body.rd-site #drama-assistant.ai-search-dialog .assist-topics a:hover{border-color:#a68555;background:#302a2b}
body.rd-site #drama-assistant.ai-search-dialog .assist-examples{margin-top:22px;padding-top:20px;border-top:1px solid #34323e}
body.rd-site #drama-assistant.ai-search-dialog .assist-examples>div{display:grid;gap:10px}
body.rd-site #drama-assistant.ai-search-dialog .assist-examples button{padding:11px 14px;border:1px solid #363541;border-radius:11px;background:#20202b;color:#d7d4df;text-align:left;font-size:14px;line-height:1.6}
body.rd-site #drama-assistant.ai-search-dialog .assist-examples button span{margin-right:8px;color:#cba96e}
body.rd-site #drama-assistant.ai-search-dialog #assist-status{min-height:20px;margin:18px 0 0;color:#e9c17b;font-size:14px;line-height:1.6}
body.rd-site #drama-assistant.ai-search-dialog #assist-status.error-text{color:#f4aaa5}
body.rd-site #drama-assistant.ai-search-dialog #assist-result-section{margin-top:24px;padding-top:23px;border-top:1px solid #333341}
body.rd-site #drama-assistant.ai-search-dialog #assist-result-title{font-size:19px;line-height:1.5;margin:0 0 9px}
body.rd-site #drama-assistant.ai-search-dialog .assist-result-sub{font-size:13px;color:#9e9ca9;margin:0 0 14px;line-height:1.6}
body.rd-site #drama-assistant.ai-search-dialog #assist-filters{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:17px}
body.rd-site #drama-assistant.ai-search-dialog #assist-filters button{padding:7px 10px;border:1px solid #755d3b;border-radius:20px;background:#403426;color:#f5d29b;font-size:12px;line-height:1.5;min-height:32px;overflow-wrap:anywhere}
body.rd-site #drama-assistant.ai-search-dialog #assist-filters>span{color:#999;font-size:13px}
body.rd-site #drama-assistant.ai-search-dialog #assist-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:0}
body.rd-site #drama-assistant.ai-search-dialog .assist-card{min-width:0;background:#22222e;border:1px solid #363542;border-radius:12px;overflow:hidden}
body.rd-site #drama-assistant.ai-search-dialog .assist-card .drama-cover{height:auto;aspect-ratio:9/16;border-radius:0;background:#14141b}
body.rd-site #drama-assistant.ai-search-dialog .assist-card .drama-cover img{object-fit:contain}
body.rd-site #drama-assistant.ai-search-dialog .assist-card-info{padding:12px}
body.rd-site #drama-assistant.ai-search-dialog .assist-card h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:normal;overflow-wrap:anywhere;font-size:14px;font-weight:700;line-height:20px;margin:0 0 4px;color:#f5f4f7}
body.rd-site #drama-assistant.ai-search-dialog .assist-card-tags{margin:0;font-size:11px;line-height:1.6;overflow-wrap:anywhere}
body.rd-site #drama-assistant.ai-search-dialog .assist-card-tags span{display:inline-block;max-width:100%;padding:3px 6px;margin:0 3px 5px 0;border-radius:5px;background:#333240;color:#b8b5c4}
body.rd-site #drama-assistant.ai-search-dialog .assist-empty{padding:14px;margin:0 0 14px;border-radius:10px;background:#25232b;color:#bfb9c3;font-size:13px;line-height:1.7}
body.rd-site #drama-assistant.ai-search-dialog #assist-similar:not(:empty){margin-top:18px}
body.rd-site #drama-assistant.ai-search-dialog .assist-footer{margin:24px 0 0;text-align:center;font-size:12px;line-height:1.6;color:#777380}
body.rd-site #drama-assistant.ai-search-dialog button:focus-visible{outline:2px solid #f5c46b;outline-offset:3px}
@media(min-width:768px){body.rd-site.rd-immersive #drama-assistant.ai-search-dialog #assist-results{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
body.rd-site #drama-assistant.ai-search-dialog,body.rd-site.rd-immersive #drama-assistant.ai-search-dialog{inset:auto 12px 12px auto;margin:0;width:calc(100% - 24px);max-width:calc(100% - 24px);max-height:80dvh;border-radius:16px}
body.rd-site #drama-assistant.ai-search-dialog .dialog-head{padding:20px 18px 18px}
body.rd-site #drama-assistant.ai-search-dialog .dialog-head h2{font-size:22px}
body.rd-site #drama-assistant.ai-search-dialog .dialog-head [data-close]{right:12px;top:17px}
body.rd-site #drama-assistant.ai-search-dialog .dialog-body{padding:20px 18px 24px}
/* Keep focused inputs at 16px to avoid iOS automatic page zoom. */
body.rd-site #drama-assistant.ai-search-dialog #assist-query{height:54px;font-size:16px}
body.rd-site #drama-assistant.ai-search-dialog .assist-searchbox{gap:8px;padding:0 12px}
body.rd-site #drama-assistant.ai-search-dialog .input-row>.primary{padding:0 14px;font-size:14px}
body.rd-site #drama-assistant.ai-search-dialog #assist-results{grid-template-columns:repeat(2,minmax(0,1fr))}
}

body.rd-site #drama-assistant.ai-search-dialog #assist-hints::before{display:none;content:none}

/* Published episode progress in the player recommendation sheet. */
body.rd-site .wv-info-recommend .drama-cover>.drama-update-badge{left:auto;right:8px;bottom:8px;color:#fff;line-height:1.4}

/* 11.5: semantic headings, independent tag links and contained portrait playback. */
body.rd-site .assist-section-title{margin:0 0 10px;font-size:16px;font-weight:700;line-height:1.5}
body.rd-site #assist-title{font-size:22px;margin:0 0 8px;font-weight:800}
body.rd-site .hot-title{font-size:inherit;font-weight:inherit;margin:0}
body.rd-site .drama-card>a{display:block;color:inherit;text-decoration:none}
body.rd-site .drama-card h2{font-size:16px;line-height:1.4;margin:10px 0 6px}
body.rd-site .drama-card-tags a{display:inline;color:inherit}
body.rd-site .original-post-copy h3{font-size:23px!important;line-height:1.4!important;font-weight:800!important;margin:0 0 10px!important;text-align:left;padding:0}
body.rd-site .original-post-copy h3 a{color:#fff;font-size:inherit;display:block}
body.rd-site .wv-stage #drama-media,body.rd-site .wv-stage #drama-media .dplayer,body.rd-site .wv-stage #drama-media .dplayer-video-wrap{position:absolute;inset:0;width:100%;height:100%;margin:0;overflow:hidden}
body.rd-site .wv-stage #drama-media video{width:100%;height:100%;object-fit:contain;object-position:center}
body.rd-site .player-breadcrumb{position:absolute;top:8px;left:16px;right:16px;z-index:6;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff;text-shadow:0 1px 4px #000}
body.rd-site .player-breadcrumb a{color:inherit}
body.rd-site .wv-top{top:34px}
body.rd-site .wv-info-tabs h2{font:inherit;margin:0;color:inherit}
body.rd-site #work-info-title{font-size:20px;font-weight:800;margin:0 0 8px}
body.rd-site .wv-info-recommend>h2{font-size:16px;margin:18px 0 12px}
body.rd-site .error-recommendations{text-align:left;width:100%;margin:28px auto;max-width:700px}
body.rd-site .error-drama-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
body.rd-site .error-drama-grid img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:10px}
body.rd-site .error-recommendations li{margin:10px 0}
@media(max-width:767px){body.rd-site .original-post-copy h3{font-size:19px!important}}

body.rd-site .drama-card{position:relative;min-width:0}

body.rd-site .footer-group-title{font-size:14px;font-weight:700;color:#fff;margin:0 0 14px}
body.rd-site .pd-rec-body h3{font:inherit;margin:0}

body.rd-site.rd-immersive #drama-player #drama-media{height:100%;inset:0}

body.rd-site.rd-immersive #work-info .wv-info-tabs h2{font-size:16px;font-weight:400;margin:0}
body.rd-site.rd-immersive #work-info .wv-info-recommend>h2{font-size:14px;font-weight:400;text-align:center;color:#999;margin:0 0 18px}

body.rd-site .invalid-state>.sp-form{max-width:700px;margin:24px auto}
body.rd-site .invalid-state>.sp-form input{min-width:0}

body.rd-site.rd-immersive #work-info .wv-info-heading #work-info-title{font-size:18px;line-height:1.45;font-weight:700;color:#151515;margin:0 0 8px}

body.rd-site #index .rd-home-heading>a.rd-latest-more{padding:6px 12px;border-radius:999px;background:linear-gradient(110deg,#7544e6,#9134ce);color:#fff;font-weight:700}
body.rd-site #drama-library .pd-hist-foot{display:flex;justify-content:flex-end;flex-shrink:0;padding:8px 16px;border-top:1px solid #ffffff12}
body.rd-site #drama-library #library-all{padding:5px 0;background:transparent;border:0;color:#c9b5ff;font:inherit;font-size:13px;cursor:pointer}
body.rd-site #drama-library #library-all[hidden]{display:none}

/* Operations acceptance: text links, current navigation and readable cards. */
body.rd-site .rd-home-heading>a.rd-all-drama,body.rd-site #index .rd-home-heading>a.rd-latest-more{background:none;box-shadow:none;color:#bd89f5;border:0;padding:6px 0;border-radius:0}
body.rd-site .rd-hot-update{color:#92909b;font-size:12px;white-space:nowrap}
body.rd-site .nav-more-menu a[aria-current=page]{color:#d6adff;background:#a354e522;border-radius:8px;font-weight:700}
body.rd-site .original-post-copy :is(h2,h3) a{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal!important;overflow:hidden;text-overflow:ellipsis}
body.rd-site .original-post-copy .post-card-title{white-space:normal!important}
body.rd-site .cat-link-card strong{display:flex;align-items:center;justify-content:flex-start;gap:8px}
@media(max-width:767px){
 body.rd-site #post .post-near{padding-right:56px}
 body.rd-site #post .post-near nav{grid-template-columns:minmax(0,1fr)}
 body.rd-site #post .post-near a{white-space:normal;overflow-wrap:anywhere;height:auto}
}

@media(max-width:767px){body.rd-site.rd-category .blog-description{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}}

@media(max-width:767px){
 body.rd-site #post .post-near nav>:is(.prev,.next){width:auto;min-width:0;padding:0;text-align:left}
 body.rd-site #post .post-near .prev:after{display:none}
 body.rd-site #post .post-near .post-near-span{display:block;white-space:normal;overflow:visible}
 body.rd-site #post .post-near .post-near-span>span:last-child{display:block;white-space:normal;overflow-wrap:anywhere;text-overflow:clip;max-height:none}
}

/* The redesigned article renders pd-near instead of the legacy post-near block. */
@media(max-width:767px){
 body.rd-site #post .pd-near{grid-template-columns:minmax(0,1fr);padding-right:72px;box-sizing:border-box}
 body.rd-site #post .pd-near-item.right{text-align:left}
 body.rd-site #post .pd-near-item span{display:block;white-space:normal;overflow-wrap:anywhere;-webkit-line-clamp:unset;overflow:visible}
}
