/* Instant Ads – front-end */
.iads-slot { text-align: center; max-width: 100%; }
.iads-slot[hidden], .iads-sticky[hidden] { display: none !important; }
.iads-slot--ready { margin: 16px auto; }
.iads-slot--sidebar_topo.iads-slot--ready,
.iads-slot--sidebar_meio.iads-slot--ready { margin: 0 auto 20px; }

.iads-wrap { display: block; }
.iads-label { display: block; font: 11px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #8a8f98; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; }

.iads-ad { margin: 0 auto; max-width: 100%; position: relative; overflow: hidden; }
.iads-ad__link { display: block; line-height: 0; }
.iads-ad__media { display: block; width: 100%; height: auto; max-width: 100%; }
.iads-ad--video .iads-ad__media { background: #000; }

/* Sticky mobile */
.iads-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 99990; background: rgba(255,255,255,.96); box-shadow: 0 -2px 10px rgba(0,0,0,.15); padding: 4px 0 calc(4px + env(safe-area-inset-bottom)); text-align: center; }
.iads-sticky .iads-slot--ready { margin: 0 auto; }
.iads-sticky__close { position: absolute; top: -26px; right: 8px; width: 26px; height: 26px; border: 0; border-radius: 6px 6px 0 0; background: rgba(255,255,255,.96); color: #333; font-size: 20px; line-height: 24px; cursor: pointer; box-shadow: 0 -2px 6px rgba(0,0,0,.12); padding: 0; }
@media (min-width: 768px) { .iads-sticky { display: none !important; } }

/* Pré-roll no player */
.iads-pr { position: absolute; z-index: 99980; background: rgba(0,0,0,.94); overflow: hidden; display: block; box-sizing: border-box; }
.iads-pr__box { position: absolute; left: 50%; top: 50%; transform-origin: center center; background: #111; }
.iads-pr__box .iads-ad { max-width: none; width: 100%; height: 100%; margin: 0; }
.iads-pr__box .iads-ad__link { height: 100%; }
.iads-pr__box .iads-ad__media { height: 100%; }
.iads-pr__box .iads-ad__box { width: 100%; height: 100%; }
.iads-pr__badge { position: absolute; top: 8px; right: 8px; left: 8px; display: flex; justify-content: space-between; gap: 8px; font: 600 12px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #fff; pointer-events: none; }
.iads-pr__label, .iads-pr__count { background: rgba(0,0,0,.65); padding: 4px 8px; border-radius: 4px; }
.iads-pr__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.2); }
.iads-pr__fill { height: 100%; width: 0; background: #ffcc00; }

/* Capa do YouTube (pré-roll) */
.iads-yt { position: absolute; z-index: 99970; display: block; padding: 0; border: 0; cursor: pointer; background: #000 center/cover no-repeat; }
.iads-yt__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); line-height: 0; opacity: .92; transition: opacity .15s; }
.iads-yt:hover .iads-yt__play, .iads-yt:focus-visible .iads-yt__play { opacity: 1; }
