/* 正式业务补充样式仅用于新交互和补充页，源站结构与采集CSS保持原样。 */
body[data-duanju-preview="false"] [hidden]{display:none!important}
/* 正式视频封面按原比例居中裁切，避免不同来源图片被固定卡片宽高拉伸。 */
body[data-duanju-runtime="true"] img[data-duanju-cover-fallback]{object-fit:cover;object-position:center}
/* 卡片保留各断点的原宽度，封面统一为9:16；图片脱离文档流，避免原始尺寸撑高比例容器。 */
body[data-duanju-runtime="true"] .FeaturedList_featuredItem__w9Jy0 .FeaturedList_itemImg__kq6zA,
body[data-duanju-runtime="true"] .BrowseList_listItem__h7lD4 .BrowseList_itemImg__LvPXr,
body[data-duanju-runtime="true"] .SliderList_browseItem__t2kyC .SliderList_imgBox__LXf8q,
body[data-duanju-runtime="true"] .MTagBookList_tagBookItem__C_038 .MTagBookList_bookImageBox__HvB__{aspect-ratio:9/16;height:auto}
body[data-duanju-runtime="true"] :is(.FeaturedList_itemImg__kq6zA,.BrowseList_itemImg__LvPXr,.SliderList_imgBox__LXf8q,.MTagBookList_bookImageBox__HvB__)>img{position:absolute;inset:0}
/* 首页集数角标与封面共享网格行，封面变高后仍贴底，标题和标签依次排列。 */
body[data-duanju-runtime="true"] .FeaturedList_featuredItem__w9Jy0{display:grid;grid-template-columns:100%}
body[data-duanju-runtime="true"] .FeaturedList_featuredItem__w9Jy0 .FeaturedList_itemImg__kq6zA{grid-area:1/1}
body[data-duanju-runtime="true"] .FeaturedList_featuredItem__w9Jy0 .FeaturedList_lastChapter__XbMSI{grid-area:1/1;align-self:end;position:relative;top:auto}
/* 横排卡片随封面自然增高，集数角标沿原封面底部显示。 */
body[data-duanju-runtime="true"] .MTagBookList_tagBookBox__kkWHF .MTagBookList_tagBookItem__C_038{height:auto}
body[data-duanju-runtime="true"] .SliderList_browseItem__t2kyC .SliderList_totalChapterNum__NKZpl,
body[data-duanju-runtime="true"] .MTagBookList_tagBookItem__C_038 .MTagBookList_totalChapterNum__vjOW4{top:auto;bottom:0}
/* 搜索复用列表卡片时，内容区域与上方既有栏目导航保持同宽。 */
body[data-duanju-runtime="true"] .search_searchWrap__4tSPy .BrowseList_listBox__MyeBa{max-width:1200px;margin:0 auto;padding:0 20px;box-sizing:border-box}
/* 栏目行使用明确的深底浅字，避免正文背景变暗后原深灰文字失去对比度。 */
body[data-duanju-runtime="true"] .duanju-channel-row{gap:12px;padding:8px 12px;background:#1c2027;border-bottom-color:#343b46;border-radius:8px}
body[data-duanju-runtime="true"] .duanju-channel-row .duanju-channel{display:inline-flex;align-items:center;flex-shrink:0;min-height:40px;padding:6px 12px;border-radius:6px;color:#f3f4f6;font-weight:600}
body[data-duanju-runtime="true"] .duanju-channel-row .duanju-channel:hover{color:#ff8a65;background:#292e37}
body[data-duanju-runtime="true"] .duanju-channel-row .duanju-channel:focus-visible{outline:2px solid #ff8a65;outline-offset:2px}
body[data-duanju-runtime="true"] .duanju-channel-row .duanju-channel-active{color:#ff8a65;background:#3b2927}
.duanju-button:disabled{cursor:wait;opacity:.55}
.duanju-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0}
.duanju-product{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:130px;padding:20px 14px;border:1px solid #eee;border-radius:12px;background:#fff;color:#333;cursor:pointer;font:inherit;line-height:1.5}
.duanju-product-active{border-color:#ff4614;background:#fff4ef}
.duanju-product-amount{font-size:26px;font-weight:600}.duanju-product-unit{font-size:13px;color:#888}.duanju-product-price{font-size:19px;color:#ff4614;margin-top:8px}.duanju-product-bonus{font-size:12px;color:#ff4614;min-height:18px}.duanju-product-bonus-empty{visibility:hidden}
.duanju-pay-channels{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.duanju-pay-channel{font:inherit;padding:10px 22px;background:#fff;border:1px solid #ddd;border-radius:8px;color:#555;cursor:pointer}.duanju-channel-active{color:#ff4614;border-color:#ff4614;background:#fff4ef}
.duanju-pay-status{color:#777;font-size:14px;line-height:1.7;overflow-wrap:anywhere;margin:15px 0}.duanju-pay-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:20px 0}
.duanju-avatar-image{width:76px;height:76px;object-fit:cover;border-radius:50%}.duanju-avatar-colors{display:flex;flex-wrap:wrap;gap:10px;margin:15px 0}.duanju-avatar-colors label{display:flex;align-items:center;gap:5px}.duanju-avatar-colors input{width:auto;height:auto;margin:0}
.duanju-profile-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.duanju-profile-card{min-width:0;color:#333;font-size:14px;line-height:1.6}.duanju-profile-card img{display:block;width:100%;aspect-ratio:9/16;object-fit:cover;border-radius:8px}.duanju-profile-card h3{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:8px;font-weight:400}
.duanju-orders{width:100%;overflow-x:auto}.duanju-orders table{width:100%;border-collapse:collapse;font-size:13px;white-space:nowrap}.duanju-orders th,.duanju-orders td{text-align:left;padding:12px 10px;border-bottom:1px solid #eee}
.duanju-identity-status{color:#999;text-align:center}.duanju-vip-badge{font-size:12px;color:#ff4614;background:#fff1ec;border-radius:4px;padding:2px 5px;margin-left:6px}
/* 头像尺寸保持不变，VIP仅覆盖头像边缘；未确认资格时沿hidden隐藏。 */
.duanju-avatar{position:relative}.duanju-avatar>span{display:inline-flex;align-items:center;justify-content:center;width:100%;height:100%;border-radius:50%}.duanju-avatar-vip{position:absolute;right:-4px;bottom:-4px;z-index:1;margin:0;line-height:1.2;white-space:nowrap}.duanju-account-avatar{position:relative;display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%}.duanju-account-avatar .duanju-avatar-image,.duanju-account-avatar>span{width:32px;height:32px;border-radius:50%}.duanju-account-avatar>span{display:inline-flex;align-items:center;justify-content:center;font-size:15px;color:#fff}.duanju-account-avatar .duanju-avatar-vip{font-size:10px;padding:1px 3px;right:-5px}.duanju-mobile-account{display:inline-flex;align-items:center;gap:8px}@media(min-width:769px){.duanju-account-link{display:inline-flex;align-items:center;gap:8px}}
[data-duanju-player]{position:relative;background:#000;isolation:isolate}[data-duanju-player] video{display:block;width:100%;height:100%;object-fit:contain}[data-duanju-player-state]{position:absolute;z-index:4;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;padding:18px;text-align:center;background:rgba(0,0,0,.8);color:#fff;font-size:14px;line-height:1.6}[data-duanju-player-loading]{position:absolute;z-index:3;inset:0;display:flex;align-items:center;justify-content:center;color:#fff;font-size:14px;pointer-events:none}
@media(max-width:768px){.duanju-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.duanju-product{padding:16px 8px;min-height:115px}.duanju-profile-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.duanju-pay-channel{padding:9px 16px}.duanju-orders{max-width:100%}}

/* 权限角标使用既有分集投影，不改变选集格子的原尺寸和排列；当前集颜色需覆盖原CSS多层选择器。 */
a[data-duanju-episode]{position:relative}a[data-duanju-episode][aria-current="true"]{color:#ff4614!important;background-color:#fff1ec!important}a[data-duanju-episode][data-access-badge]:not([data-access-type="free"]):after{content:attr(data-access-badge);position:absolute;right:0;top:0;font-size:10px;line-height:1.2;color:#ff4614;background:#fff1ec;border-radius:3px;padding:1px 2px;pointer-events:none}

/* 正式桌面舞台高度沿原布局；媒体与操作栏分配剩余空间，竖版poster不能撑破舞台。 */
@media(min-width:769px){
body[data-duanju-runtime="true"] .pcEpisode_videoBox__658Je{display:grid;grid-template-rows:minmax(0,1fr) auto;min-height:0}
body[data-duanju-runtime="true"] .pcEpisode_videoBox__658Je>[data-duanju-player]{width:100%;height:100%;min-width:0;min-height:0;overflow:hidden}
/* 后台栏目数量可变：左区只占剩余宽度，菜单从左侧滚动，搜索和账号保留原尺寸。 */
body[data-duanju-runtime="true"] .PcHeader_navWrap__kKVZ8 .PcHeader_navContent__xHEx3 .PcHeader_navLeft__T8GeY{flex:1 1 0;min-width:0;justify-content:flex-start}
/* 桌面Logo固定为138×46，并为导航预留同宽空间，避免flex压缩。 */
body[data-duanju-runtime="true"] .PcHeader_navWrap__kKVZ8 .PcHeader_navContent__xHEx3 .PcHeader_navLeft__T8GeY .PcHeader_logoTxtBox__MVh19{flex:0 0 138px;width:138px;height:46px}
body[data-duanju-runtime="true"] .PcHeader_navWrap__kKVZ8 .PcHeader_navContent__xHEx3 .PcHeader_navLeft__T8GeY .PcHeader_navBox__ZpLDU{flex:1 1 0;min-width:0;overflow-x:auto;justify-content:flex-start}
body[data-duanju-runtime="true"] .PcHeader_navWrap__kKVZ8 .PcHeader_navContent__xHEx3 .PcHeader_rightBox__73eso{flex:0 0 auto}
}
