/* A centred, fluid Home dashboard. Its geometry depends on viewport space,
   never on which campaigns are active. Fixed provider units stay 160×600.
   The 720px reading width bounds the centre on intermediate screens; below
   that width it follows the viewport. Equal side tracks grow into the space
   left by the 1180px maximum, keeping banners off the viewport edges. */
.page-home-doomer .th-home-ad-layout{--th-home-content-width:1180px;--th-home-fluid-content:clamp(720px,calc(100% - 544px),1180px);--th-home-ad-width:160px;box-sizing:border-box;width:100%;max-width:none;min-width:0;margin:12px auto 0}
.page-home-doomer .th-home-ad-layout>.th-home-ad-content{width:100%;max-width:var(--th-home-fluid-content);min-width:0;margin:0 auto}
.page-home-doomer .th-home-ad-layout:not([data-th-home-ad-mode="side"])>.th-home-ad-side,.page-home-doomer .th-home-ad-layout:not([data-th-home-ad-mode="side"])>.th-home-ad-side>.th-ad-slot.has-inventory{display:none!important}
@media (min-width:761px){
 .page-home-doomer .th-home-ad-layout>.th-home-ad-content{container-type:inline-size;container-name:th-home-ad-content}
 @container th-home-ad-content (max-width:1000px){
  .page-home-doomer .th-home-ad-content #explore.hub--refined .hub-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .page-home-doomer .th-home-ad-content #home-tool-browser .tool-browser-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 }
}
 html:has(body.page-home-doomer .th-home-ad-layout[data-th-home-ad-mode="side"]),body.page-home-doomer:has(.th-home-ad-layout[data-th-home-ad-mode="side"]){overflow-x:clip}
 .page-home-doomer .th-home-ad-layout[data-th-home-ad-mode="side"]{display:grid;grid-template-columns:minmax(0,1fr) var(--th-home-fluid-content) minmax(0,1fr);align-items:start;column-gap:0}
 .page-home-doomer .th-home-ad-layout[data-th-home-ad-mode="side"]>.th-home-ad-content{grid-column:2;grid-row:1;max-width:var(--th-home-content-width)}
 .page-home-doomer .th-home-ad-layout[data-th-home-ad-mode="side"]>.th-home-ad-side:not([hidden]){display:block!important;position:sticky;top:calc(var(--site-header-h,64px) + 16px);align-self:start;justify-self:center;grid-row:1;width:var(--th-home-ad-width);min-width:0;z-index:4}
 .page-home-doomer .th-home-ad-layout[data-th-home-ad-mode="side"]>.th-home-ad-side--left{grid-column:1}
 .page-home-doomer .th-home-ad-layout[data-th-home-ad-mode="side"]>.th-home-ad-side--right{grid-column:3}
 .page-home-doomer .th-home-ad-layout[data-th-home-ad-mode="side"]>.th-home-ad-side:not([hidden])>.th-ad-slot.has-inventory{display:block!important;--th-ad-label-height:16px;width:var(--th-home-ad-width);max-width:none;margin:0}
@media (max-height:711px){
 .page-home-doomer .th-home-ad-layout[data-th-home-ad-mode="side"]>.th-home-ad-side:not([hidden]){position:relative;top:auto}
}
