.platform-ad { color:#2a3541; margin:0 0 32px; display:flex; flex-direction:column; align-items:center; gap:16px; }
.platform-ad-frame { width:100%; background:#fff; border:1px solid #c0ccda; border-radius:12px; overflow:hidden; box-sizing:border-box; }
.platform-ad-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:44px; padding:8px 16px; font:14px/1.5 system-ui,sans-serif; color:#45505c; }
.platform-ad-slot { margin:0 auto; max-width:100%; text-align:center; }
.platform-ad-unit { display:block; width:300px; max-width:100%; height:250px; margin:0 auto; }
.platform-ad .remove-ads-strip { display:block; align-self:center; padding:12px 20px; border-radius:8px; color:#2e63a0; background:#e9f1fa; font:600 16px/1.5 system-ui,sans-serif; text-align:center; text-decoration:underline; text-underline-offset:3px; min-height:48px; }
.platform-ad .remove-ads-strip:hover { background:#d9e7f6; }
.platform-ad-sticky { background:#f7f9fc; position:fixed; bottom:0; left:0; right:0; width:100%; margin:0; padding:0 0 max(8px,env(safe-area-inset-bottom)); border:0; z-index:20; }
.platform-ad-sticky .platform-ad-frame { border-radius:0; box-shadow:0 -2px 10px #1f2f4118; }
.platform-ad-sticky .platform-ad-heading { justify-content:space-between; max-width:1000px; margin:0 auto; padding:8px 16px; gap:16px; }
.platform-ad-sticky .platform-ad-slot { padding-bottom:8px; }
.platform-ad .platform-ad-close { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; min-height:44px; border:1px solid #c0ccda; background:#fff; color:#2a3541; border-radius:8px; padding:0; cursor:pointer; font:24px/1 system-ui,sans-serif; }
.platform-ad-sticky .platform-ad-unit { width:320px; height:50px; }
.platform-ad-spacer { pointer-events:none; }
.platform-ad a:focus-visible,.platform-ad button:focus-visible { outline:3px solid #3d77ba; outline-offset:-3px; }
@media(min-width:992px) { .platform-ad-top .platform-ad-unit { width:728px; height:90px; } .platform-ad-sticky .platform-ad-unit { width:728px; height:90px; } }
@media(min-width:1200px) { .platform-ad-top .platform-ad-unit { width:970px; height:250px; } }
@media(max-width:359px) { .platform-ad-sticky .platform-ad-unit { width:300px; } }
@media print { [data-platform-ad],[data-platform-ad-spacer] { display:none!important; } }

/* Sticky compacto: controles juntos e separados do criativo. */
.platform-ad-sticky{gap:0;padding-top:4px;background:#fff;box-shadow:0 -2px 10px #1f2f4118}
.platform-ad-sticky .platform-ad-controls{width:100%;max-width:1000px;box-sizing:border-box;display:flex;align-items:center;gap:8px;margin:0 auto;padding:0 12px 16px;min-height:44px}
.platform-ad-sticky .platform-ad-controls [data-ad-label]{flex:1;font-size:14px;line-height:1.4}
.platform-ad-sticky .remove-ads-strip{display:inline-flex;align-items:center;justify-content:center;align-self:center;min-height:44px;padding:4px 6px;background:transparent;font-size:14px;line-height:1.4;border-radius:6px;white-space:nowrap;flex-shrink:0}
.platform-ad-sticky .remove-ads-strip:hover{background:#edf4fc}
.platform-ad-sticky .platform-ad-frame{border:0;border-radius:0;box-shadow:none}
.platform-ad-sticky .platform-ad-slot{padding:0}
.platform-ad-sticky .platform-ad-close{display:grid;place-items:center;flex-shrink:0;margin:0;padding:0;box-sizing:border-box;width:44px;height:44px;min-height:44px;line-height:1}
.platform-ad-close svg{display:block;pointer-events:none}
.platform-ad-sticky.platform-ad-unfilled .platform-ad-controls{padding-bottom:0}
