
/* V141: fit complete affiliate creative; never crop product or CTA. */
.card .partnerPic .affiliateVisualCrop.affiliateProductImageOnly,
.photoMode .detailAffiliateVisual.affiliateProductImageOnly {
 position:relative!important;width:100%!important;height:100%!important;min-height:0!important;
 margin:0!important;overflow:hidden!important;background:#fff!important;
}
.photoMode .detailAffiliateVisual.affiliateProductImageOnly {height:360px!important;min-height:0!important}
.nextShort.photoMode .detailAffiliateVisual.affiliateProductImageOnly {height:280px!important}
.card .partnerPic .affiliateVisualCrop.affiliateProductImageOnly iframe,
.photoMode .detailAffiliateVisual.affiliateProductImageOnly iframe {
 position:absolute!important;left:50%!important;top:50%!important;width:120px!important;height:240px!important;
 max-width:none!important;margin:0!important;border:0!important;
 transform:translate(-50%,-50%) scale(var(--affiliate-fit, .5))!important;transform-origin:center!important;
}
#detail {z-index:1000;padding:12px;overflow:hidden}
#detail .detailpanel {width:min(1120px,100%)!important;max-width:100%!important;min-width:0;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}
#detail .videoDetail {grid-template-columns:minmax(0,1.3fr) minmax(0,.85fr) minmax(0,1.3fr)!important}
#detail .videoDetail>section {min-width:0!important;max-width:100%;overflow-wrap:anywhere}
#detail .freeInfo {min-width:0!important}
@media(max-width:900px){
 #detail .videoDetail {grid-template-columns:minmax(0,1fr)!important;gap:18px!important}
 #detail .detailpanel {padding:12px!important}
 #detail .freeInfo {min-height:0!important;max-height:none!important;overflow:visible!important;grid-column:auto!important}
 #detail .mainShort,#detail .nextShort {width:100%!important;max-width:100%!important}
 #detail .detailTop {top:-12px}
 #detail .productInfoFixed {padding:16px}
 #detail .affiliateBuyBox {position:static;margin:16px}
}
