/* ===== 详情页主图清晰度优化：小图不再被拉满整屏 ===== */
.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}
}

/* v5 桌面端：左图右信息，去掉大面积空白 */
@media(min-width:901px){
 .sk-dt-v5 > section.sk-sec > .sk-wrap{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:28px;align-items:start;max-width:1080px}
 .sk-dt-v5 .sk-dt-gal{grid-column:1;grid-row:1;position:sticky;top:20px;background:#fff;border:1px solid var(--sk-line);border-radius:var(--sk-r-lg);padding:14px;display:flex;gap:14px;align-items:flex-start}
 .sk-dt-v5 .sk-dt-hero{grid-column:2;grid-row:1;display:flex;flex-direction:column;gap:18px;margin:0;background:#fff;border:1px solid var(--sk-line);border-radius:var(--sk-r-lg);padding:20px;position:sticky;top:20px}
 .sk-dt-v5 .sk-dt-info,.sk-dt-v5 .sk-dt-buy{position:static;top:auto;padding:0;border:0;background:transparent}
 .sk-dt-v5 .sk-dt-below{grid-column:1 / -1;grid-row:2;margin-top:30px}
}
@media(max-width:900px){
 .sk-dt-v5 > section.sk-sec > .sk-wrap{display:block;max-width:100%}
 .sk-dt-v5 .sk-dt-gal{position:static;padding:0;border:0;background:transparent}
 .sk-dt-v5 .sk-dt-hero{display:block;padding:0;border:0;background:transparent}
}

/* 详情页统一普通滚动，避免局部粘滞 */
.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}

.sk-dt-v5 .sk-dt-hero{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}

/* 8000：左图右信息等高合并卡片 */
@media(min-width:901px){
 .sk-dt-v5 > section.sk-sec > .sk-wrap{grid-template-columns:minmax(0,1fr) 400px;gap:0;align-items:stretch;max-width:1080px}
 .sk-dt-v5 .sk-dt-gal{grid-column:1;grid-row:1;position:relative!important;border-radius:var(--sk-r-lg) 0 0 var(--sk-r-lg);border-right:0;padding:16px;display:flex;gap:14px;align-items:center;justify-content:center;min-height:100%;background:#f3f5f8}
 .sk-dt-v5 .sk-dt-gal::before{content:"";position:absolute;inset:-24px;background-image:var(--dt-cover);background-position:center;background-size:cover;filter:blur(26px) saturate(.9);opacity:.38;transform:scale(1.06);z-index:0}
 .sk-dt-v5 .sk-dt-gal>*{position:relative;z-index:1}
 .sk-dt-v5 .sk-dt-hero{grid-column:2;grid-row:1;border-radius:0 var(--sk-r-lg) var(--sk-r-lg) 0;border-left:0;margin:0;padding:22px;display:flex;flex-direction:column;gap:16px;min-height:100%}
 .sk-dt-v5 .sk-dt-below{grid-column:1 / -1;grid-row:2;margin-top:30px}
}
@media(max-width:900px){.sk-dt-v5 .sk-dt-gal::before{display:none}}
