/* Keep the page's content styles while removing all space reserved for ads.
   Scoped overrides win over the desktop/mobile ad-placement rules. */
body[data-ads-hidden="true"] > :is(.responsive-ads-shell, .site-ads-shell) {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    padding: 24px clamp(12px, 2vw, 28px) 48px !important;
    margin-inline: auto;
}
body[data-ads-hidden="true"] > :is(.responsive-ads-shell, .site-ads-shell)::before,
body[data-ads-hidden="true"] > :is(.responsive-ads-shell, .site-ads-shell)::after {
    content: none !important;
}
body[data-ads-hidden="true"] > :is(.responsive-ads-shell, .site-ads-shell) > .site-ads-content {
    width: 100%;
    /* Match the page's own panel width so capped desktop cards stay centered. */
    max-width: var(--desktop-content-width, var(--ads-hidden-content-width, 1100px));
    margin-inline: auto;
}
body.page-compare[data-ads-hidden="true"] { --ads-hidden-content-width: 1360px; }
body.page-leaderboard[data-ads-hidden="true"] { --ads-hidden-content-width: 1200px; }
body[data-ads-hidden="true"] :is([data-ad-anchor], [data-desktop-top-ad]) {
    display: none !important;
}
