/* Ad data/markup remains recoverable: remove data-source-ad-hidden from a chosen wrapper to restore it. */
[data-source-ad-hidden="1"]{display:none!important;margin:0!important;padding:0!important;height:0!important;min-height:0!important;border:0!important;overflow:hidden!important}
.bundle-site-brand{display:block!important;width:auto!important;max-width:100%!important;height:48px!important;object-fit:contain!important;visibility:visible!important}
/* Empty hidden blocks must not leave spacing. */
.mac-flink-native:empty,.dynamic-flink:empty,.engine-flink:empty,[data-friend-group]:empty{display:none!important;margin:0!important;padding:0!important;border:0!important;min-height:0!important}
a,button{cursor:pointer}a[aria-disabled="true"]{cursor:default}
@media(max-width:600px){.bundle-site-brand{height:38px!important;max-width:65vw!important}}

.search-icon:before{content:"⌕"!important;font:25px Arial!important}.more-icon:before{content:"›"!important;font:22px Arial!important}

.bundle-empty-collapse{display:none!important;margin:0!important;padding:0!important;min-height:0!important;height:0!important;border:0!important}

/* Search controls use real paging data and stay in the template's color scheme. */
.bundle-search-pagination{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;clear:both;width:100%;margin:20px 0;padding:0;list-style:none}
.bundle-search-pagination>a,.bundle-search-pagination>span{display:inline-flex!important;position:static!important;align-items:center;justify-content:center;float:none!important;width:auto!important;min-width:62px;max-width:100%;height:auto!important;min-height:36px;padding:6px 12px;line-height:1.5!important;border:1px solid currentColor;border-radius:5px;font-size:14px;box-sizing:border-box;white-space:nowrap}
.bundle-search-pagination>[aria-disabled=true]{opacity:.45;cursor:default}
.bundle-related-section{clear:both;margin-top:24px}.bundle-related-section>h2{font-size:20px;line-height:1.5;margin:0 0 12px}

/* Restore the existing real-category links in normal flow below the original fixed header. */
.bundle-categories.source-nav{position:static;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:calc(100% - 30px);max-width:1200px;margin:82px auto 12px;padding:0;box-sizing:border-box}
.bundle-categories.source-nav>a{display:flex;align-items:center;justify-content:center;min-width:0;padding:8px 6px;line-height:1.5;text-align:center;color:#eee;background:#333;border:1px solid #444;border-radius:5px;white-space:normal;overflow-wrap:anywhere}
.bundle-categories.source-nav>a:hover{color:#fff;background:#414141}
@media(max-width:1200px){.bundle-categories.source-nav{margin-top:72px}}
