.drama-nav{display:flex;gap:28px;align-items:center;padding:20px max(16px,calc((100% - 1200px)/2));border-bottom:1px solid #32323f}.drama-nav span{margin-left:auto;color:#aaa}.drama-page{max-width:1200px;margin:32px auto;padding:0 24px 60px}.drama-page h1{font-size:32px;line-height:1.3}.drama-page h2{font-size:21px;margin:24px 0 16px}.drama-muted,.drama-card p,.drama-page small{color:#aaa7b0}.drama-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:24px 16px}.drama-card{min-width:0;display:block}.drama-cover{position:relative;background:#15151d;aspect-ratio:9/16;border-radius:10px;overflow:hidden}.drama-cover img{width:100%;height:100%;object-fit:cover}.drama-cover span{position:absolute;bottom:0;left:0;right:0;padding:8px;background:#111c;font-size:12px}.drama-card h3{font-size:16px;margin:10px 0 6px;overflow-wrap:anywhere}.drama-card p{font-size:12px}.drama-summary{display:grid;grid-template-columns:210px minmax(0,1fr);gap:32px;margin:32px 0}.drama-poster{width:100%;aspect-ratio:9/16;object-fit:cover;background:#15151d;border-radius:12px}.drama-summary h1{margin:16px 0}.drama-summary p{margin:12px 0}.drama-panel{background:#23232e;padding:24px;border-radius:12px;margin:24px 0}.drama-synopsis{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9}.drama-controls,.drama-episodes,.drama-tags,.drama-pagination{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.drama-controls a,.drama-controls button,.drama-episodes a,.drama-episodes button,.drama-pagination a,.drama-tags a,.drama-filters button{padding:12px 16px;background:#32323f;border-radius:7px;color:#f3f3f5;border:1px solid transparent;cursor:pointer}.drama-episodes small{display:block;font-size:11px;margin-top:5px}.drama-episodes [aria-current=true]{border-color:#eee;background:#4a4a58}.drama-filters{display:flex;gap:14px;align-items:end;flex-wrap:wrap;margin:28px 0}.drama-filters label{display:grid;gap:8px;flex:1;min-width:130px}.drama-filters input,.drama-filters select,dialog select{padding:12px;background:#181820;color:#fff;border:1px solid #555562;border-radius:6px;font:inherit;max-width:100%}.drama-player-top{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px;background:#23232e}.drama-player-top strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#drama-stage{height:min(70dvh,640px);background:#08080c;touch-action:pan-x;position:relative}#drama-media{width:100%;height:100%}#drama-media .dplayer-video{object-fit:contain}#drama-media .dplayer-controller{display:none}#drama-media .dplayer-mask{display:none}#player-status{min-height:24px;color:#c9c6d1;margin-top:10px}.drama-seek{display:flex;align-items:center;gap:12px}.drama-seek input{flex:1;min-width:40px}.drama-seek output{font-size:12px;white-space:nowrap}.drama-page dialog{background:#23232e;color:#fff;border:1px solid #555562;border-radius:14px;width:min(500px,calc(100% - 32px));max-height:80dvh;padding:24px}.drama-page dialog::backdrop{background:#080810c9}.drama-page dialog label{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:20px 0}.drama-page button{font:inherit;min-height:42px}.drama-page dialog button,.drama-player-top button{background:#3d3d4b;color:#fff;padding:10px 16px;border:0;border-radius:6px;cursor:pointer}.drama-related{margin-top:40px}[hidden]{display:none!important}.drama-featured{max-width:1200px;margin:24px auto;padding:24px;background:#23232e;border-radius:12px}.drama-featured .drama-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.drama-featured [aria-current=true]{outline:2px solid #e8e5ee;outline-offset:5px}.drama-featured button{margin:12px 8px 0 0;padding:10px}.drama-page a:focus-visible,.drama-page button:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media(max-width:800px){.drama-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.drama-summary{grid-template-columns:140px minmax(0,1fr);gap:20px}.drama-page{padding:0 16px 40px;margin-top:20px}.drama-page h1{font-size:26px}.drama-featured .drama-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.drama-featured .drama-card:nth-child(n+4){display:none}}
@media(max-width:480px){.drama-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.drama-summary{grid-template-columns:100px minmax(0,1fr);gap:16px}.drama-summary h1{font-size:23px}.drama-summary .drama-controls{grid-column:1/-1}.drama-controls{gap:6px}.drama-controls button,.drama-controls a{font-size:13px;padding:10px}.drama-seek{flex-wrap:wrap}.drama-page dialog{padding:18px}.drama-featured .drama-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.drama-featured .drama-card:nth-child(n+3){display:none}#drama-stage{height:58dvh;min-height:280px}.drama-player-top strong{font-size:13px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.drama-featured .drama-grid{display:flex;overflow-x:auto;gap:20px;padding:8px;scroll-snap-type:x mandatory}.drama-featured .drama-card{display:block!important;flex:0 0 calc((100% - 80px)/5);scroll-snap-align:start}@media(max-width:800px){.drama-featured .drama-card{flex-basis:calc((100% - 40px)/3)}}@media(max-width:480px){.drama-featured .drama-card{flex-basis:65%}}
.drama-page h1,.drama-summary p{overflow-wrap:anywhere}.drama-player-top strong{min-width:0}@media(max-width:480px){.drama-page{padding-bottom:calc(40px + env(safe-area-inset-bottom))}.drama-nav{padding-top:calc(20px + env(safe-area-inset-top))}}
.drama-nav{flex-wrap:wrap}.drama-nav a{white-space:nowrap}.drama-page form label{display:grid;gap:8px;margin:12px 0}.drama-page input,.drama-page textarea,.drama-page select{max-width:100%;font:inherit;background:#181820;color:#fff;border:1px solid #555562;border-radius:6px;padding:10px}.drama-page textarea{width:100%;min-height:100px;resize:vertical}.drama-page form button,.drama-page section>button{padding:10px 16px;background:#3d3d4b;color:#fff;border:0;border-radius:6px;cursor:pointer}.drama-search-list article,.drama-comment{padding:16px;border-bottom:1px solid #393946;overflow-wrap:anywhere}.drama-search-list p,.drama-comment p{white-space:pre-wrap;line-height:1.7;color:#ccc}.drama-comment-wall{max-height:360px;overflow-y:auto;scroll-behavior:smooth}.drama-nav button{font:inherit;background:#32323f;color:#fff;padding:8px;border:0;border-radius:6px}#drama-library{background:#23232e;color:#fff;border:1px solid #555562;border-radius:14px;width:min(600px,calc(100% - 32px));max-height:80dvh;padding:20px}#drama-library::backdrop{background:#080810c9}#drama-library button{font:inherit;min-height:42px;padding:10px;background:#3d3d4b;color:#fff;border:0;border-radius:6px}button:disabled{opacity:.55;cursor:wait}.drama-comment-wall[data-paused=true]{scroll-behavior:auto}@media(prefers-reduced-motion:reduce){.drama-comment-wall{scroll-behavior:auto}}
/* Align real channel/detail controls with the current MVP at the shared content width. */
.rd-header a,.drama-page a{text-decoration:none}
.drama-page input,.drama-page select,.drama-page textarea{min-width:0;box-sizing:border-box}
.drama-filters label input,.drama-filters label select{width:100%}
.drama-page h1{font-size:30px;line-height:1.3;font-weight:800}
.drama-channel .drama-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 18px}
.drama-card{min-width:0}.drama-card h3{font-size:16px;line-height:1.5;margin:12px 0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.drama-channel .drama-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto auto;gap:12px;margin:24px 0}
.drama-channel .drama-filters label{min-width:0;margin:0;gap:8px}
.drama-page .drama-detail-title{font-size:26px;line-height:1.3;margin:8px 0 20px}
.drama-summary{grid-template-columns:297px minmax(0,1fr);gap:28px;align-items:start;margin:0 0 32px}
.drama-poster{width:100%;aspect-ratio:9/16;object-fit:cover;border-radius:12px;box-shadow:0 16px 36px #0007}
.drama-info{min-width:0}.drama-info h2{font-size:17px;font-weight:800;display:flex;align-items:center;gap:10px;margin:0 0 10px;line-height:1.5}.drama-info h2:not(:first-child){margin-top:22px}
.drama-info h2:before{content:"";width:4px;height:16px;flex:none;border-radius:2px;background:linear-gradient(180deg,#7c5cff,#e04fd8)}
.drama-intro{font-size:14px;line-height:1.85;color:#c9c8cc}.drama-intro summary{list-style:none;cursor:pointer}.drama-intro summary::-webkit-details-marker{display:none}.drama-intro-preview{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.drama-intro-expand{display:inline-block;font-size:12px;color:#c9b5ff;margin-top:6px}.drama-intro[open] .drama-intro-preview{display:none}.drama-intro[open] .drama-intro-expand{font-size:0}.drama-intro[open] .drama-intro-expand:after{content:"收起简介";font-size:12px}.drama-intro p{margin:8px 0 0}
.drama-facts{display:grid;grid-template-columns:70px minmax(0,1fr);gap:10px 12px;font-size:14px;margin:0}.drama-facts dt{color:#aaa9aa}.drama-facts dd{margin:0;color:#ddd}
.drama-info .drama-tags a{border-radius:999px;padding:6px 12px;font-size:13px;border:1px solid #a078ff33;background:#7c5cff20;color:#c9b5ff}.drama-info .drama-controls{margin-top:22px}.drama-info .drama-controls a{border-radius:999px;padding:11px 24px;background:transparent;border:1px solid #ffffff26;font-size:14px;font-weight:700}.drama-info .drama-controls a:first-child{background:linear-gradient(110deg,#7c5cff,#cf4cd1);border-color:transparent}.drama-info #resume-note{display:block;margin-top:12px;color:#aaa;font-size:12px}
.drama-related .drama-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 16px}
@media(min-width:768px) and (max-width:1250px){.drama-summary{grid-template-columns:245px minmax(0,1fr);gap:24px}}
@media(max-width:767px){.drama-page h1{font-size:23px}.drama-channel .drama-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 10px}.drama-channel .drama-card h3{font-size:13px;margin-top:8px}.drama-channel .drama-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.drama-channel .drama-filters input,.drama-channel .drama-filters select{font-size:16px}.drama-summary{grid-template-columns:minmax(0,1fr);gap:20px}.drama-summary .drama-poster{width:62%;margin:0 auto}.drama-page .drama-detail-title{font-size:21px;margin-bottom:14px}.drama-info .drama-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.drama-info .drama-controls a{text-align:center;padding:11px 14px}.drama-info .drama-controls a:first-child{grid-column:1/-1}.drama-related .drama-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.drama-page .drama-detail-title{margin-top:0}
body.rd-immersive{--wv-player-width:min(100vw,56.25dvh);overflow:hidden!important;background:#000!important}
.rd-immersive>.rd-header,.rd-immersive>.drama-library-entry,.rd-immersive .drama-watching>section:not(#drama-player),.rd-immersive .drama-watching>.rd-crumb,.rd-immersive .drama-watching>h1{display:none!important}
.rd-immersive #drama-player{position:fixed;inset:0;z-index:40;background:#000;isolation:isolate}
.rd-immersive #drama-stage{position:absolute;inset:0;margin:0 auto;width:min(100%,56.25dvh);height:100%!important;min-height:0;z-index:-1}
.rd-immersive .drama-player-top{position:absolute;top:0;left:0;right:0;padding:12px 16px;background:linear-gradient(#000a,transparent);min-height:52px}
.rd-immersive #drama-player>.drama-controls{position:absolute;left:16px;right:16px;bottom:44px;justify-content:center;margin:0;gap:6px}
.rd-immersive #drama-player>.drama-controls button{min-height:40px;padding:8px 12px;background:#19191bbc;border:1px solid #ffffff29;color:white;font-size:12px;border-radius:999px}
.rd-immersive #player-status{position:absolute;left:16px;right:16px;bottom:100px;text-align:center;font-size:12px;pointer-events:none;color:#eee;text-shadow:0 1px 4px #000}
.rd-immersive .drama-seek{position:absolute;bottom:max(8px,env(safe-area-inset-bottom));left:16px;right:16px;margin:0;font-size:11px;color:#ddd;display:flex;flex-wrap:nowrap}
@media(max-width:767px){.rd-immersive #player-status{bottom:146px}.rd-immersive #drama-player>.drama-controls{bottom:44px}.rd-immersive #drama-player>.drama-controls button{min-height:40px;padding:8px 11px}.rd-immersive .drama-player-top{padding-top:max(12px,env(safe-area-inset-top))}}
.drama-search-page h1{font-size:26px}
@media(max-width:767px){.drama-search-page h1{font-size:21px}}
@media(max-width:767px){.drama-page.rd-directory h1{font-size:23px!important}}
/* Reserve the first recent-search row before local history is restored. */
.drama-search-page #recent-searches{min-height:42px}
body.rd-site .sp-hotlist#hot-drama-list img{flex-basis:42px;width:42px;height:56px}
body.rd-site .drama-search-page .drama-pagination{align-items:center;flex-wrap:wrap}
.drama-search-page .search-page-jump{display:flex;align-items:center;gap:8px;margin:0}
.drama-search-page .search-page-jump span{white-space:nowrap}
.drama-search-page .search-page-jump input[name=p]{width:72px;padding:6px 8px;text-align:center}
.drama-search-page .search-page-jump button{padding:6px 10px;white-space:nowrap}

/* Keep the remaining player controls at opposite edges without a breadcrumb. */
body.rd-site.rd-immersive .drama-player-top.wv-top{justify-content:space-between}

/* Speed controls stay beside the rail without pausing playback. */
body.rd-site.rd-immersive .wv-rate{position:relative}
body.rd-site.rd-immersive .wv-rate-menu{position:absolute;right:calc(100% + 12px);top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:2px;padding:8px;background:#14141bf2;border:1px solid #ffffff30;border-radius:12px;min-width:82px;box-shadow:0 8px 24px #0005}
body.rd-site.rd-immersive .wv-rate-menu button{width:100%;height:38px;min-height:38px;padding:6px 12px;border-radius:6px;color:#fff;background:transparent;font-size:16px}
body.rd-site.rd-immersive .wv-rate-menu button[aria-pressed=true]{color:#ffdb65;background:#ffffff15;font-weight:700}
body.rd-site.rd-immersive .wv-rate-menu button:hover{background:#ffffff20}

/* A bounded icon size and consistent hit area for the player action rail. */
body.rd-site.rd-immersive .wv-rail{--wv-icon:36px;--wv-glyph:22px;--wv-hit:54px;right:10px;bottom:64px;gap:8px}
body.rd-site.rd-immersive .wv-rail>button,body.rd-site.rd-immersive .wv-rate>button{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:48px;min-height:var(--wv-hit);height:var(--wv-hit);padding:0;border:0;border-radius:8px;background:transparent;font-size:var(--wv-glyph);line-height:1}
body.rd-site.rd-immersive .wv-rail>button>span,body.rd-site.rd-immersive .wv-rate>button>span{box-sizing:border-box;display:grid;place-items:center;flex:none;width:var(--wv-icon);height:var(--wv-icon);border-radius:50%;font-size:var(--wv-glyph);line-height:1;background:#0006}
body.rd-site.rd-immersive #like-player>span svg,body.rd-site.rd-immersive .wv-rail>button>span svg,body.rd-site.rd-immersive .wv-rate>button>span svg{display:block;width:var(--wv-glyph);height:var(--wv-glyph)}
body.rd-site.rd-immersive .wv-rail small{font-size:11px;line-height:14px;white-space:nowrap}
body.rd-site.rd-immersive .wv-mute-slash{display:none}
body.rd-site.rd-immersive .wv-mute[aria-pressed=true] .wv-mute-slash{display:block}
body.rd-site.rd-immersive .wv-rate-menu{box-sizing:border-box;min-width:76px;gap:0;padding:6px;right:calc(100% + 6px)}
body.rd-site.rd-immersive .wv-rate-menu button{min-height:36px;height:36px;font-size:14px;line-height:1.2}
@media(max-width:767px){body.rd-site.rd-immersive .wv-rail{--wv-icon:32px;--wv-glyph:20px;--wv-hit:50px;right:6px;gap:6px;bottom:62px}}
@media(max-height:640px){body.rd-site.rd-immersive .wv-rail{--wv-icon:28px;--wv-glyph:18px;--wv-hit:44px;gap:2px;bottom:54px}body.rd-site.rd-immersive .wv-rate-menu button{min-height:32px;height:32px}}
@media(max-height:440px){body.rd-site.rd-immersive .wv-rail{right:4px;gap:0;bottom:44px}}

/* Resume stays over the current player while the viewer chooses a starting point. */
body.rd-site.rd-immersive .wv-resume{position:absolute;inset:0;z-index:8;display:flex;align-items:center;justify-content:center;padding:24px;background:#000c;text-align:center;box-sizing:border-box}
body.rd-site.rd-immersive .wv-resume h2{margin:0 0 12px;font-size:20px;color:#fff}
body.rd-site.rd-immersive .wv-resume p{margin:0 0 22px;font-size:13px;color:#c6c4cc}
body.rd-site.rd-immersive .wv-resume-actions{display:flex;justify-content:center;gap:12px}
body.rd-site.rd-immersive .wv-resume-actions button{min-height:44px;padding:10px 18px;border:1px solid #ffffff30;border-radius:8px;background:#ffffff12;color:#fff;font-size:14px}
body.rd-site.rd-immersive #resume-watch{background:#fff;color:#17171d}

/* The recommendation feed and series player have distinct mobile layouts. */
body.rd-site.rd-immersive #drama-player .wv-top{z-index:8;gap:8px;padding:12px 14px;align-items:center;background:linear-gradient(#0005,transparent)}
body.rd-site.rd-immersive #drama-player .wv-back{display:grid;place-items:center;width:32px;height:40px;min-height:40px;padding:0;border:0;background:none;color:#fff;font-size:36px;line-height:1}
body.rd-site.rd-immersive #drama-player .wv-current-episode{font-size:18px;font-weight:600;white-space:nowrap}
body.rd-site.rd-immersive #drama-player .wv-rate{margin-left:auto;position:relative}
body.rd-site.rd-immersive #drama-player #playback-rate-toggle{display:flex;flex-direction:row;gap:6px;align-items:center;background:none;border:0;padding:4px;color:#fff;min-height:40px}
body.rd-site.rd-immersive #drama-player #playback-rate-toggle>span{display:block;width:21px;height:21px}
body.rd-site.rd-immersive #drama-player #playback-rate-toggle svg{width:100%;height:100%}
body.rd-site.rd-immersive #drama-player #playback-rate-label{font-size:16px;color:#fff;white-space:nowrap}
body.rd-site.rd-immersive #drama-player .wv-rate-menu{right:0;left:auto;top:48px;transform:none}
body.rd-site.rd-immersive #drama-player .wv-top .wv-mute{display:grid;place-items:center;width:32px;height:40px;min-height:40px;padding:6px;background:none;border:0;color:#fff}
body.rd-site.rd-immersive #drama-player .wv-mute>span{width:20px;height:20px}
body.rd-site.rd-immersive #drama-player .wv-mute svg{width:100%;height:100%}
body.rd-site.rd-immersive #drama-player .wv-mute small{display:none}
body.rd-site.rd-immersive #drama-player[data-watch-mode=feed] .wv-rate{display:none}
body.rd-site.rd-immersive #drama-player[data-watch-mode=feed] .wv-mute{margin-left:auto}
body.rd-site.rd-immersive #drama-player .wv-info{left:16px;right:72px;bottom:82px;padding:0;text-shadow:0 1px 3px #0009}
body.rd-site.rd-immersive #drama-player .wv-author{font-size:17px;font-weight:600;margin:0 0 8px}
body.rd-site.rd-immersive #drama-player .wv-title-link{display:flex;align-items:center;gap:6px;color:#fff;max-width:100%}
body.rd-site.rd-immersive #drama-player .wv-title-link h1{margin:0!important;font-size:17px!important;line-height:1.45!important;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
body.rd-site.rd-immersive #drama-player .wv-title-link>span{font-size:25px;line-height:1}
body.rd-site.rd-immersive #drama-player .wv-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
body.rd-site.rd-immersive #drama-player .wv-tags:empty{display:none}
body.rd-site.rd-immersive #drama-player .wv-tags .tag{padding:0;background:none;border:0;font-size:13px;color:#d7d7d7}
body.rd-site.rd-immersive #drama-player .wv-description{display:flex;align-items:flex-end;gap:6px;margin-top:8px}
body.rd-site.rd-immersive #drama-player .wv-synopsis{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:0;color:#c8c8c8;font-size:13px;line-height:1.65}
body.rd-site.rd-immersive #drama-player .wv-synopsis.is-expanded{-webkit-line-clamp:6;max-height:9.9em;overflow:auto;overscroll-behavior:contain}
body.rd-site.rd-immersive #drama-player #player-intro-toggle{flex:none;padding:0;border:0;background:none;color:#fff;font-size:13px;min-height:22px;line-height:22px}
body.rd-site.rd-immersive #drama-player .wv-rail{right:12px;bottom:104px;top:auto;gap:16px}
body.rd-site.rd-immersive #drama-player .wv-rail button{display:flex;flex-direction:column;align-items:center;gap:5px;width:42px;min-height:50px;padding:0;border:0;background:none;color:#fff}
body.rd-site.rd-immersive #drama-player .wv-rail button>span{display:grid;place-items:center;width:34px;height:34px;padding:0;background:none;border:0}
body.rd-site.rd-immersive #drama-player .wv-rail svg{width:31px;height:31px;fill:#fff;stroke:#fff;stroke-width:1.2;stroke-linejoin:round}
body.rd-site.rd-immersive #drama-player .wv-rail button[data-panel=player-comments] circle{fill:#181c1c;stroke:none}
body.rd-site.rd-immersive #drama-player .wv-rail small{color:#eee;font-size:12px;line-height:1.4}
body.rd-site.rd-immersive #drama-player #favorite-player[aria-pressed=true] svg{fill:#ffd66b;stroke:#ffd66b}
body.rd-site.rd-immersive #drama-player .wv-bottom{z-index:7;padding:0 0 env(safe-area-inset-bottom,0px);background:transparent}
body.rd-site.rd-immersive #drama-player .wv-progress{position:relative;display:flex;gap:0;margin:0 14px 10px;height:12px}
body.rd-site.rd-immersive #drama-player .wv-progress output{position:absolute;right:0;bottom:15px;font-size:11px;opacity:0;pointer-events:none}
body.rd-site.rd-immersive #drama-player .wv-progress:focus-within output,body.rd-site.rd-immersive #drama-player .wv-progress:hover output{opacity:1}
body.rd-site.rd-immersive #drama-player .wv-collection-bar{display:flex;align-items:center;gap:10px;width:100%;height:52px;min-height:52px;padding:0 16px;border:0;border-radius:0;background:#242626;color:#fff;font:inherit;font-size:14px;text-align:left;cursor:pointer}
body.rd-site.rd-immersive #drama-player .wv-collection-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
body.rd-site.rd-immersive #drama-player .wv-collection-bar>span:last-child{margin-left:auto;font-size:24px;line-height:1;flex:none}
body.rd-site.rd-immersive #drama-player .wv-collection-play{font-size:14px;flex:none}
body.rd-site.rd-immersive #drama-player .wv-fullscreen{position:absolute;z-index:7;top:calc(50% - 56px + min(28vw,110px) + 8px);left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:6px;min-height:32px;padding:5px 10px;border:0;border-radius:8px;background:#242626d9!important;color:#fff;font-size:13px;white-space:nowrap}
body.rd-site.rd-immersive #drama-player .wv-fullscreen>span:first-child{font-size:21px;line-height:1}
body.rd-site.rd-immersive #drama-player[data-watch-mode=series] #drama-stage{background:#151e1c}
body.rd-site.rd-immersive #drama-player[data-watch-mode=series] #drama-media,body.rd-site.rd-immersive #drama-player[data-watch-mode=series] .dplayer,body.rd-site.rd-immersive #drama-player[data-watch-mode=series] .dplayer-video-wrap{background:transparent}
body.rd-site.rd-immersive #drama-player[data-watch-mode=series] .wv-author{display:none}
body.rd-site.rd-immersive #drama-player[data-watch-mode=series] .wv-info{bottom:110px}
body.rd-site.rd-immersive #drama-player[data-watch-mode=series] .wv-bottom{padding:0 14px calc(12px + env(safe-area-inset-bottom,0px))}
body.rd-site.rd-immersive #drama-player[data-watch-mode=series] .wv-progress{margin:0 0 8px}
body.rd-site.rd-immersive #drama-player[data-watch-mode=series] #series-episodes{width:calc(100% - 50px);border-radius:8px;background:#2b3432;height:44px;min-height:44px;padding:0 12px}
body.rd-site.rd-immersive #drama-player[data-watch-mode=series] .wv-fullscreen{left:auto;right:12px;top:auto;bottom:calc(12px + env(safe-area-inset-bottom,0px));transform:none;width:38px;height:44px;justify-content:center;padding:0;background:none!important}
body.rd-site.rd-immersive #drama-player[data-watch-mode=series] .wv-fullscreen>span:last-child{display:none}
body.rd-site.rd-immersive #drama-player [hidden]{display:none!important}
body.rd-site.rd-immersive #player-comments{box-sizing:border-box;position:fixed;inset:auto auto 0 50%;transform:translateX(-50%);width:min(560px,100vw);max-width:100vw;margin:0;padding:16px;max-height:80dvh;overflow:auto;overscroll-behavior:contain;border-radius:16px 16px 0 0;background:#1c2020}
body.rd-site.rd-immersive #player-comments .dd-comments{margin:12px 0 0;padding:0;background:none;border:0}
body.rd-site.rd-immersive #player-comments .dd-cmt-form{flex-wrap:wrap}
body.rd-site.rd-immersive #player-comments .dd-cmt-form .dd-cmt-text{min-width:140px}
body.rd-site.rd-immersive #player-comments .detail-comment-tools{flex-wrap:wrap}
@media(max-height:600px){body.rd-site.rd-immersive #drama-player .wv-rail{gap:6px;bottom:95px}body.rd-site.rd-immersive #drama-player .wv-rail button{min-height:40px}body.rd-site.rd-immersive #drama-player .wv-description{display:none}body.rd-site.rd-immersive #drama-player .wv-fullscreen{top:54%}}

body.rd-site.rd-immersive #drama-player[data-watch-mode=series] #drama-media video{background:transparent}

body.rd-site.rd-immersive #drama-player #drama-media{height:calc(100% - 112px)}
body.rd-site.rd-immersive #drama-player[data-player-status=playing] #player-status{opacity:0}

/* Work introduction is a readable bottom sheet over a compact video preview. */
body.rd-site.rd-immersive #work-info{box-sizing:border-box;position:fixed;inset:auto auto 0 50%;transform:translateX(-50%);margin:0;width:var(--wv-player-width);max-width:100vw;height:72dvh;max-height:72dvh;overflow:auto;overscroll-behavior:contain;border:0;border-radius:20px 20px 0 0;background:#fff;color:#191919;padding:14px 20px 24px;text-align:left}
@media(max-width:767px){body.rd-immersive{--wv-player-width:100vw}}
body.rd-site.rd-immersive #work-info::backdrop{background:transparent}
body.rd-site.rd-immersive #work-info .wv-sheet-grip{width:38px;height:4px;border-radius:4px;background:#e8e8e8;margin:0 auto 24px}
body.rd-site.rd-immersive #work-info .wv-info-close{position:absolute;right:12px;top:8px;border:0;background:none;color:#777;font-size:24px;padding:0;width:32px;min-height:32px}
body.rd-site.rd-immersive #work-info .wv-info-heading{display:flex;gap:14px;align-items:center;margin-bottom:20px;padding-right:16px}
body.rd-site.rd-immersive #work-info .wv-info-heading img{width:48px;height:68px;object-fit:cover;border-radius:6px;flex:none}
body.rd-site.rd-immersive #work-info h2{font-size:18px;line-height:1.45;margin:0 0 8px;color:#151515}
body.rd-site.rd-immersive #work-info .wv-info-heading p{margin:0;font-size:13px;color:#999}
body.rd-site.rd-immersive #work-info .wv-info-tabs{display:flex;gap:24px;border-bottom:1px solid #eee;margin-bottom:18px}
body.rd-site.rd-immersive #work-info [role=tab]{border:0;border-bottom:2px solid transparent;padding:0 0 10px;background:none;color:#999;border-radius:0;font-size:16px;min-height:38px}
body.rd-site.rd-immersive #work-info [role=tab][aria-selected=true]{color:#111;border-bottom-color:#111;font-weight:600}
body.rd-site.rd-immersive #work-info .wv-info-fulltext{font-size:15px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;color:#222;margin:0 0 16px}
body.rd-site.rd-immersive #work-info .wv-info-tags{display:flex;gap:8px;flex-wrap:wrap}
body.rd-site.rd-immersive #work-info .wv-info-tags a{padding:5px 9px;border-radius:4px;background:#f5f5f5;color:#666;font-size:12px}
body.rd-site.rd-immersive #work-info .wv-info-recommend{margin-top:24px}
body.rd-site.rd-immersive #work-info .wv-info-recommend>h3{font-size:14px;font-weight:400;text-align:center;color:#999;margin:0 0 18px}
body.rd-site.rd-immersive #work-info .drama-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
body.rd-site.rd-immersive #work-info .wv-info-recommend .drama-cover{aspect-ratio:9/16;border-radius:8px;background:#151820}
body.rd-site.rd-immersive #work-info .wv-info-recommend .drama-cover img{object-fit:contain}
body.rd-site.rd-immersive #work-info .drama-card h3{font-size:12px;line-height:1.5;color:#222;margin:6px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.rd-site.rd-immersive #work-info .drama-card p{display:none}
body.rd-site.rd-immersive #work-info .wv-info-eps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:0}
body.rd-site.rd-immersive #work-info .wv-info-eps button{padding:0;min-height:40px;background:#f4f4f4;color:#222;border:1px solid transparent}
body.rd-site.rd-immersive #work-info .wv-info-eps [aria-current=true]{background:#eee5ff;border-color:#a984e2;color:#68429b}
body.rd-site.rd-immersive #drama-player[data-info-open=true] #drama-media{height:28dvh}
body.rd-site.rd-immersive #drama-player[data-info-open=true] .wv-top,body.rd-site.rd-immersive #drama-player[data-info-open=true] .wv-info,body.rd-site.rd-immersive #drama-player[data-info-open=true] .wv-rail,body.rd-site.rd-immersive #drama-player[data-info-open=true] .wv-bottom,body.rd-site.rd-immersive #drama-player[data-info-open=true] .wv-fullscreen,body.rd-site.rd-immersive #drama-player[data-info-open=true] .player-notice{opacity:0;pointer-events:none}

body.rd-site.rd-immersive #drama-player .wv-danmaku{position:absolute;z-index:3;overflow:hidden;pointer-events:none;contain:layout paint}
body.rd-site.rd-immersive #drama-player .wv-danmaku-text{position:absolute;left:100%;display:block;white-space:nowrap;font-size:14px;font-weight:600;line-height:28px;color:#fff;text-shadow:1px 1px 2px #000,-1px -1px 2px #000;animation:wv-comment-flight 8s linear forwards;will-change:transform}
body.rd-site.rd-immersive #drama-player .wv-danmaku[data-paused=true] .wv-danmaku-text{animation-play-state:paused}
@keyframes wv-comment-flight{from{transform:translateX(0)}to{transform:translateX(calc(-100% - var(--danmaku-width,100vw)))}}
body.rd-site.rd-immersive #drama-player .wv-danmaku-toggle{position:absolute;z-index:7;left:16px;bottom:190px;min-height:30px;width:32px;padding:0;border:0;border-radius:7px;background:#ffffff1c;color:#fff;font-size:16px}
body.rd-site.rd-immersive #drama-player .wv-danmaku-toggle[aria-pressed=false]{opacity:.5;text-decoration:none}
body.rd-site.rd-immersive #drama-player[data-info-open=true] .wv-danmaku,body.rd-site.rd-immersive #drama-player[data-info-open=true] .wv-danmaku-toggle{display:none}
@media(prefers-reduced-motion:reduce){body.rd-site.rd-immersive #drama-player .wv-danmaku-text{left:8px;animation:wv-comment-fade 5s linear forwards;max-width:calc(100% - 16px);overflow:hidden;text-overflow:ellipsis}}
@keyframes wv-comment-fade{0%,85%{opacity:1}100%{opacity:0}}

/* The immersive player owns playback controls; suppress DPlayer's duplicate play overlays. */
#drama-player #drama-media .dplayer-mobile-play,#drama-player #drama-media .dplayer-bezel-icon{display:none!important}
#drama-player[data-info-open=true] .wv-bigplay{visibility:hidden}
body.rd-site.rd-immersive #work-info .wv-sheet-prefs{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #eee;margin-top:16px;padding-top:12px;color:#555}
body.rd-site.rd-immersive #work-info .wv-sheet-prefs label{display:flex;align-items:center;gap:8px;margin:0;color:#555}
body.rd-site.rd-immersive #work-info .wv-sheet-prefs button{background:#f4f4f4;color:#555}

/* Keep the feed CTA purple through touch, visited and keyboard focus states. */
body.rd-site .drama-channel a.drama-feed-button,
body.rd-site .drama-channel a.drama-feed-button:visited{background:#ecebed;color:#14141b;border-color:transparent;filter:none;-webkit-tap-highlight-color:transparent}
body.rd-site .drama-channel a.drama-feed-button:hover,
body.rd-site .drama-channel a.drama-feed-button:focus{background:#fff;color:#14141b;filter:none}
body.rd-site .drama-channel a.drama-feed-button:active{background:#d6d5d8;color:#14141b;filter:none}
body.rd-site .drama-channel a.drama-feed-button:focus-visible{outline:2px solid #ecebed;outline-offset:3px}

body.rd-site .drama-card .drama-card-tags{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Label collections have a dedicated editorial cover and topic navigation. */
.drama-topic .topic-hero{position:relative;display:grid;grid-template-columns:1.2fr 1fr;min-height:330px;padding:42px 46px;overflow:hidden;border:1px solid #6f538d;border-radius:24px;background:radial-gradient(ellipse at 80% 20%,#604063 0,transparent 60%),linear-gradient(125deg,#28203c,#211b30 65%,#352638);isolation:isolate}
.topic-eyebrow{margin:0 0 18px;color:#d7b7f0;font-size:12px;letter-spacing:.16em;font-weight:700}.topic-eyebrow span{margin-left:14px;color:#b6a4c7;font-size:10px;letter-spacing:.12em}
body.rd-site .drama-topic .topic-hero h1{margin:0 0 18px;font-size:clamp(36px,5vw,64px)!important;line-height:1.15!important;letter-spacing:.02em;color:#fff}.topic-hero h1>span{margin-right:10px;color:#bf8bdf;font-weight:400}
.topic-description{color:#d4c7de;font-size:14px;line-height:1.9;margin:0 0 24px}.topic-actions{display:flex;align-items:center;gap:22px}.topic-back{color:#d7c7e3;font-size:13px}.topic-copy{position:relative;z-index:2;min-width:0;overflow-wrap:anywhere}
.topic-art{position:relative;min-height:240px}.topic-art-hash{position:absolute;right:-12px;top:-55px;color:#ffffff09;font-size:350px;font-weight:900;line-height:1}.topic-poster{position:absolute;top:15px;width:128px;height:188px;border-radius:12px;overflow:hidden;border:3px solid #b6a0c27a;box-shadow:0 18px 35px #0b071c70}.topic-poster img{width:100%;height:100%;object-fit:cover}.topic-poster-0{left:8%;transform:rotate(-13deg);z-index:1}.topic-poster-1{left:36%;top:-3px;transform:rotate(3deg);z-index:3}.topic-poster-2{left:64%;transform:rotate(15deg);z-index:2}.topic-art-caption{position:absolute;bottom:-5px;right:0;color:#b5a0c1;font-size:11px;letter-spacing:.13em;text-transform:uppercase}
.topic-explore{display:flex;gap:20px;align-items:baseline;padding:24px 0;border-bottom:1px solid #ffffff12;margin-bottom:28px}.topic-explore>strong{white-space:nowrap;font-size:13px;color:#b3a4c3}.topic-explore>div{min-width:0;display:flex;gap:8px;overflow-x:auto;padding:4px 0 8px;scrollbar-width:thin}.topic-explore a{display:block;white-space:nowrap;border:1px solid #ffffff14;padding:7px 13px;border-radius:100px;color:#bfb2cb;font-size:13px;background:#ffffff04}.topic-explore a:hover,.topic-explore a[aria-current]{background:#473154;color:#efd8ff;border-color:#88609e}.topic-works-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;scroll-margin-top:90px;margin:32px 0 22px}.topic-works-heading .topic-eyebrow{margin:0 0 8px;font-size:10px}.topic-works-heading h2{font-size:22px;margin:0;color:#f2e8fa}.topic-play{color:#cfadf4;font-size:13px;white-space:nowrap}.drama-topic .channel-filter{background:#ffffff03;border-color:#ffffff12}.drama-topic .channel-count{color:#a99bb7}body.rd-site .drama-channel .channel-topics{margin:8px 0 14px;padding:4px 0 12px}
@media(max-width:700px){.drama-topic .topic-hero{padding:28px 24px;min-height:300px;grid-template-columns:1fr;border-radius:18px}.topic-art{position:absolute;inset:45px -110px 30px 52%;opacity:.24;z-index:-1}.topic-poster{width:110px;height:170px}.topic-art-caption{display:none}.topic-hero h1{max-width:100%;overflow-wrap:anywhere}.topic-description{font-size:13px}.topic-eyebrow span{display:block;margin:8px 0 0}.topic-explore{display:block;padding:18px 0;margin-bottom:24px}.topic-explore>strong{display:block;margin-bottom:8px}.topic-works-heading h2{font-size:19px}.topic-works-heading{gap:8px}.topic-play{font-size:12px}.topic-actions{gap:18px}.topic-art-hash{right:30px}}

body.rd-site .drama-topic .channel-filter{display:block;border:1px solid #ffffff14;border-radius:10px;padding:13px 16px;margin:16px 0}body.rd-site .drama-topic .channel-count{display:block;margin:18px 0 12px;color:#b4a5c1}

body.rd-site.rd-immersive #drama-player #like-player.is-liked svg{fill:#ff4d6d;stroke:#ff4d6d}body.rd-site.rd-immersive #drama-player #like-player.is-liked small{color:#ff8fa3}

/* Desktop overlays share the centred portrait stage instead of separate fixed widths. */
@media(min-width:768px){
body.rd-site.rd-immersive :is(#work-info,#player-comments,#comment-detail,#drama-feedback,#drama-library.pd-hist,#drama-assistant){box-sizing:border-box;width:var(--wv-player-width);max-width:var(--wv-player-width)}
body.rd-site.rd-immersive :is(#drama-library.pd-hist,#drama-assistant){left:50%;right:auto;margin-left:0;margin-right:0;transform:translateX(-50%)}
}

/* Popular topics fit the available row; overflow never creates a scroller. */
.topic-explore>div{overflow:hidden;flex-wrap:wrap;max-height:42px;padding:0;row-gap:12px}
.channel-sort{display:flex;gap:8px;margin:18px 0}.channel-sort a{padding:8px 20px;border-radius:6px;color:#bfb2cb;border:1px solid #ffffff18}.channel-sort a.is-active{color:#fff;background:#8052af;border-color:#8052af}
