/* ===== 详情页主图清晰度优化：小图不再被拉满整屏 ===== */
.sk-dt-page .sk-dt-ph{max-width:640px;margin-left:auto;margin-right:auto}
.sk-dt-v1 .sk-dt-ph{max-width:520px}
.sk-dt-v2 .sk-dt-fullimg{height:auto!important;max-height:520px;display:flex;align-items:center;justify-content:center;background:#151210!important}
.sk-dt-v2 .sk-dt-fullimg>img{width:min(100%,600px)!important;height:auto!important;max-height:520px!important;object-fit:contain!important;display:block!important}
.sk-dt-v2 .sk-dt-fullmask{padding-bottom:26px}
.sk-dt-v3 .sk-dt-gal > .sk-dt-ph{max-width:500px}
.sk-dt-v5 .sk-dt-gal{justify-content:center;align-items:flex-start}
.sk-dt-v5 .sk-dt-gal > .sk-dt-ph{flex:0 1 420px!important;width:420px!important;max-width:420px!important;aspect-ratio:auto!important;min-height:300px;margin:0!important;display:flex;align-items:center;justify-content:center;background:#f7f4ee!important}
.sk-dt-v5 .sk-dt-gal > .sk-dt-ph img{width:min(100%,360px)!important;height:auto!important;max-height:360px!important;object-fit:contain!important;display:block!important}
.sk-dt-v6 .sk-dt-cphoto{display:flex;align-items:center;justify-content:center;background:#f7f4ee!important}
.sk-dt-v6 .sk-dt-cphoto > img{width:min(100%,600px)!important;height:auto!important;max-height:480px!important;aspect-ratio:auto!important;object-fit:contain!important}
.sk-dt-v10 .sk-dt-ph{max-width:700px}
.sk-dt-v11 .sk-dt-gbox{max-width:820px;margin-left:auto;margin-right:auto}
.sk-dt-v11 .sk-dt-gbox .sk-dt-ph{max-width:788px}
.sk-dt-v16 .sk-dt-nar .sk-dt-ph{max-width:700px}
.sk-dt-v17 .sk-dt-gal-17 .sk-dt-ph{max-width:500px}
.sk-dt-v18 .sk-dt-fig18{height:auto!important;max-height:520px;display:flex;align-items:center;justify-content:center;background:#f7f4ee!important}
.sk-dt-v18 .sk-dt-fig18 img{width:min(100%,680px)!important;height:auto!important;max-height:500px!important;object-fit:contain!important}
.sk-dt-v18 .sk-dt-fc{margin-top:-70px}
.sk-dt-v25 .sk-dt-big25{height:auto!important;max-height:520px;display:flex;align-items:center;justify-content:center;background:#f7f4ee!important}
.sk-dt-v25 .sk-dt-big25 img{width:min(100%,680px)!important;height:auto!important;max-height:500px!important;object-fit:contain!important}
.sk-dt-v28 .sk-dt-full28{height:auto!important;max-height:520px;display:flex;align-items:center;justify-content:center;background:#f7f4ee!important}
.sk-dt-v28 .sk-dt-full28 img{width:min(100%,680px)!important;height:auto!important;max-height:500px!important;object-fit:contain!important}
@media(max-width:640px){
 .sk-dt-page .sk-dt-ph,.sk-dt-v1 .sk-dt-ph,.sk-dt-v3 .sk-dt-gal > .sk-dt-ph,.sk-dt-v10 .sk-dt-ph,.sk-dt-v16 .sk-dt-nar .sk-dt-ph,.sk-dt-v17 .sk-dt-gal-17 .sk-dt-ph{max-width:100%}
 .sk-dt-v5 .sk-dt-gal > .sk-dt-ph{width:100%!important;max-width:100%!important;flex:1 1 auto!important}
 .sk-dt-v2 .sk-dt-fullimg>img,.sk-dt-v18 .sk-dt-fig18 img,.sk-dt-v25 .sk-dt-big25 img,.sk-dt-v28 .sk-dt-full28 img{max-height:320px!important}
}

/* 低清主图氛围背景（通用） */
[style*="--dt-cover"]{position:relative;overflow:hidden}
[style*="--dt-cover"]::before{content:"";position:absolute;inset:-24px;background-image:var(--dt-cover);background-position:center;background-size:cover;filter:blur(24px) saturate(.95);opacity:.5;transform:scale(1.06);z-index:0}
[style*="--dt-cover"]>img{position:relative;z-index:1}
[style*="--dt-cover"]>.sk-dt-fullmask,[style*="--dt-cover"]>.sk-dt-cphoto-t{position:absolute;z-index:2}

/* 详情页统一普通滚动，避免局部粘滞 */
.sk-dt-page .sk-dt-nav,
.sk-dt-page .sk-dt-buy,
.sk-dt-page .sk-dt-side,
.sk-dt-page .sk-dt-gal,
.sk-dt-page .sk-dt-gal-17,
.sk-dt-page .sk-dt-lr-buy,
.sk-dt-page .sk-dt-bar{position:static!important;top:auto!important}

/* 详情正文自适应：禁止只有正文区域横向滑动 */
#J-detail-content{overflow-x:visible!important;max-width:100%!important}
#J-detail-content img{max-width:100%!important;height:auto!important}
#J-detail-content video,#J-detail-content iframe{max-width:100%!important}
#J-detail-content table{width:100%!important;max-width:100%!important;table-layout:fixed!important}
#J-detail-content th,#J-detail-content td{white-space:normal!important;word-break:break-word!important}
#J-detail-content pre{white-space:pre-wrap!important;word-break:break-word!important}
#J-detail-content *{max-width:100%!important;box-sizing:border-box}

/* 正文表格/图片自适应，防止整页横向溢出 */
.sk-content{max-width:100%!important;overflow-x:visible!important}
.sk-content img{max-width:100%!important;height:auto!important}
.sk-content table{width:100%!important;max-width:100%!important;table-layout:fixed!important}
.sk-content th,.sk-content td{white-space:normal!important;word-break:break-word!important}
.sk-content *{max-width:100%!important;box-sizing:border-box}

/* 详情网格项允许收缩，避免表格撑破整页 */
.sk-dt-page .sk-dt-main,
.sk-dt-page .sk-dt-blk,
.sk-dt-page .sk-dt-card,
.sk-dt-page .sk-dt-buy,
.sk-dt-page .sk-dt-info,
.sk-dt-page .sk-dt-gal,
.sk-dt-page .sk-dt-below,
.sk-dt-page .sk-dt-hero{min-width:0!important}

/* 覆盖正文表格自带的固定单元格宽度 */
.sk-content table td,
.sk-content table th,
.sk-content table col{width:auto!important;min-width:0!important}
