.mrf-private-preview .mrf-ad-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(336px,100%),336px));justify-content:space-between;align-items:start;gap:24px;margin:16px 0 36px;clear:both;max-width:100%;}
.mrf-private-preview .mrf-ad-dummy{box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;background:#f3f5f7;border:1px dashed #9ba4ad;color:#52606d;font:14px/1.5 Helvetica,Verdana,sans-serif;max-width:100%;padding:8px;overflow-wrap:anywhere;}
/* Responsive dimensions apply only to dummy HTML. Real creatives need matching inventory sizes. */
.mrf-private-preview .mrf-ad-square{width:336px;height:280px;}
.mrf-private-preview .mrf-ad-wide{width:100%;height:280px;margin:16px 0;}
.mrf-private-preview #ld-ad-top,.mrf-private-preview #ld-ad-after-popular{width:100%;height:auto;min-height:0;display:flex;justify-content:center;}
.mrf-private-preview .mrf-sidebar-ad-follow{display:flex;flex-direction:column;align-items:center;gap:16px;padding:20px 0;flex:none;}
.mrf-private-preview .mrf-sidebar-ad-follow .ld-widget-title{width:100%;margin:0;}
@media(min-width:1024px){
 .mrf-private-preview #sidebar{display:flex;flex-direction:column;align-self:stretch;}
 .mrf-private-preview .ld-pc-sidebar{display:flex;flex-direction:column;flex:1;min-height:0;}
 .mrf-private-preview .ld-widget{flex:none;}
}
/* Keep both slots together. Short viewports use ordinary document flow. */
@media(min-width:1024px) and (min-height:720px){
 .mrf-private-preview .mrf-sidebar-ad-follow{position:sticky;top:48px;}
}
@media(max-width:1100px){.mrf-private-preview .mrf-ad-row{justify-content:center;}}
@media(max-width:1023px){.mrf-private-preview .mrf-sidebar-ad-follow{position:static;}}

/* Each ad owns half the main column: preserve the left edge, center the right slot. */
.mrf-private-preview .mrf-ad-row{grid-template-columns:repeat(auto-fit,minmax(min(336px,100%),1fr));column-gap:0;row-gap:24px;}
.mrf-private-preview .mrf-ad-row .mrf-ad-dummy:first-child{justify-self:start;}
.mrf-private-preview .mrf-ad-row .mrf-ad-dummy:last-child{justify-self:center;}
@media(max-width:1023px){.mrf-private-preview .mrf-ad-row .mrf-ad-dummy:first-child{justify-self:center;}}

/* Shift only the right dummy on wide PC rows; narrow rows retain safe placement. */
.mrf-private-preview .mrf-ad-row{container-type:inline-size;}
@media(min-width:1024px){
 @container(min-width:740px){
  .mrf-private-preview .mrf-ad-row .mrf-ad-dummy:last-child{transform:translateX(-34px);}
 }
}

