/* Geometry exists in HTML before the deferred renderer. The useful house link
   remains at the same size on no inventory, timeout or blocked network. */
.th-ad-slot[hidden]{display:none!important}
.th-ad-slot{--th-ad-height:90px;--th-ad-label-height:20px;box-sizing:border-box;position:relative;display:block;margin:18px auto;width:728px;max-width:100%;height:calc(var(--th-ad-height) + var(--th-ad-label-height));min-height:calc(var(--th-ad-height) + var(--th-ad-label-height));overflow:hidden;contain:layout paint;isolation:isolate}
.th-ad-slot--mobile-banner{--th-ad-height:100px;width:320px;margin:14px auto}
.th-ad-slot--compact{width:468px;height:86px;min-height:86px}
.th-ad-slot--no-fallback:not(.has-inventory){display:none}
.th-ad-fallback{box-sizing:border-box;position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;gap:7px;padding:12px 16px;border:1px solid var(--line,#252525);border-radius:4px;text-decoration:none;color:var(--ink,#eee);font:500 13px/1.4 var(--font-body,system-ui);background:var(--panel,#101010)}
.th-ad-fallback span:last-child{font-size:12px;color:var(--mute,#aaa)}
.th-ad-fallback:focus-visible{outline:2px solid var(--signal,#ffc46a);outline-offset:-3px}
.th-ad-slot.is-active>.th-ad-fallback{visibility:hidden}
.th-ad-creative{box-sizing:border-box;position:absolute;inset:0;display:flex;align-items:flex-start;justify-content:center;padding-top:var(--th-ad-label-height);visibility:hidden}
.th-ad-slot.is-active>.th-ad-creative{visibility:visible}
.th-ad-label{position:absolute;top:0;left:50%;width:100%;height:var(--th-ad-label-height);display:flex;align-items:center;justify-content:center;transform:translateX(-50%);margin:0;padding:0 4px;text-align:center;white-space:nowrap;color:var(--mute,#aaa);font:500 10px/var(--th-ad-label-height) var(--font-body,system-ui);pointer-events:none}
.th-ad{box-sizing:border-box;display:block;flex:none;position:relative;overflow:hidden;text-decoration:none}
.th-ad img{display:block;max-width:100%;width:100%;height:100%;object-fit:contain}
.th-ad-provider-frame{display:block;flex:none;border:0;padding:0;margin:0;background:transparent;overflow:hidden}
@media(max-width:980px){.th-ad-slot[data-ad-device="desktop"]{display:none!important}}
@media(min-width:981px){.th-ad-slot[data-ad-device="mobile"]{display:none!important}}
/* Preserve the native 320px creative on narrow phones by breaking out of
   the padded content column while staying inside the viewport. Only viewports
   physically narrower than the creative suppress the slot. */
@media(min-width:320px) and (max-width:343px){.th-ad-slot[data-ad-device="mobile"]{width:320px;max-width:none;left:50%;transform:translateX(-50%)}}
@media(max-width:319px){.th-ad-slot[data-ad-device="mobile"]{display:none!important}}
@media(min-width:981px){.page-home-doomer #main>.th-ad-slot--leaderboard{--th-ad-label-height:16px;margin:10px auto 8px;height:calc(var(--th-ad-height) + var(--th-ad-label-height));min-height:calc(var(--th-ad-height) + var(--th-ad-label-height));}}
