/* The advert is a sibling of the canvas, never part of its export surface. */
.pw-preview-stage{display:flex;flex:1;min-height:0;min-width:0;overflow:hidden;container-type:inline-size}
.pw-preview-stage>.pw-canvas{min-width:0;flex:1}
.pw-preview-ad{display:none;flex:0 0 334px;width:334px;align-self:center;box-sizing:border-box;padding:16px;margin:32px 32px 48px 64px;border-left:1px solid #3a515e;background:#172731;color:#adbec6;text-align:center}
.pw-preview-ad>span{display:block;font-size:10px;line-height:16px;margin-bottom:12px;font-weight:400}
.pw-ad-unit,.pw-preview-ad .adsbygoogle{display:block;width:300px;height:250px}
@media(min-width:1500px){.pw-preview-stage.pw-ad-visible>.pw-preview-ad:not([hidden]){display:block}}
.pw-preview:fullscreen .pw-preview-ad,.pw-preview-stage:fullscreen .pw-preview-ad{display:none!important}
@media(max-width:700px){.pw-preview-stage{min-height:350px;overflow:auto;flex:1}.pw-preview-stage>.pw-canvas{min-height:320px}}

/* Center preview and ad together; preserve the canvas height and timeline layout. */
@media(min-width:1500px){
 .pw-preview-stage.pw-ad-visible{justify-content:center;gap:80px}
 .pw-preview-stage.pw-ad-visible>.pw-canvas{flex:0 1 auto}
 .pw-preview-stage.pw-ad-visible>.pw-preview-ad{margin:32px 0 48px}
}
