/* Advertising only; existing page, card, header and footer styles are not changed. */
html body .chd30-wide{box-sizing:border-box;display:block;width:100%;max-width:100%;min-width:0;margin:16px auto;padding:0;clear:both;overflow:clip}
html body .chd30-wide>.inner{box-sizing:border-box;max-width:100%;min-width:0;margin-inline:auto}
/* Native .inner defines the container; fallback for old views without a native stylesheet. */
html body:not(.chidane-v2) .chd30-wide>.inner{width:min(1360px,calc(100% - 32px))}
html body .chd30-wide .chd30-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0;width:100%;max-width:100%;align-items:start}
html body .chd30-wide .chd30-grid>.ad-banner{display:block;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;aspect-ratio:970/250;box-sizing:border-box;overflow:hidden!important;position:relative!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important;background:transparent!important}
html body .chd30-banner_f .chd30-grid>.ad-banner{aspect-ratio:728/90}
html body .chd30-wide .chd30-grid>.ad-banner picture,html body .chd30-wide .chd30-grid>.ad-banner img{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;border-radius:0!important;margin:0!important;padding:0!important}
html body .chd30-f-pool .ad-banner{order:var(--chd30-d-order,0)}
html body .chd30-f-pool .ad-banner[data-chd30-d="0"],html body .chd30-wide .ad-banner.chd-v3-ad-device-mobile{display:none!important}
html body [data-chd-ad-place="article_rail"].chd8211-rail{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;grid-template-columns:minmax(0,1fr)!important;gap:8px}
html body [data-chd-ad-place="article_rail"].chd8211-rail>.ad-banner,html body [data-chd-ad-place="article_rail"].chd8211-rail>.ad-banner img{width:100%!important;max-width:100%!important;height:auto!important;min-width:0!important;display:block!important;object-fit:contain!important;border-radius:0!important;margin:0!important;padding:0!important;border:0!important}
html body .article-template-content [data-chd-ad-place]:not(.chd8211-sponsor-links){width:100%!important;max-width:100%!important;min-width:0!important;margin:16px 0!important;padding:0!important;box-sizing:border-box}
html body .article-template-content [data-chd-ad-place]>.inner{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}
html body .article-template-content [data-chd-ad-place] .ad-pair-grid{grid-template-columns:minmax(0,1fr)!important;width:100%!important;min-width:0!important}
html body .article-template-content [data-chd-ad-place] .ad-banner,html body .article-template-content [data-chd-ad-place] .ad-banner picture,html body .article-template-content [data-chd-ad-place] .ad-banner img{width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;object-fit:contain!important;margin:0!important;border-radius:0!important}
/* Correct only the lower home ad wrapper's existing placements. */
html body .chd825-home-lower-ads [data-chd-ad-place]>.inner{width:min(1360px,calc(100% - 104px))!important;max-width:100%!important;margin-inline:auto!important}
html body .chd30-a-mobile,html body .chd30-sticky-top,html body .chd30-sticky-bottom{display:none!important}
html body .chd30-sticky-top .chd8216-float-item,html body .chd30-sticky-bottom .chd8216-float-item{border-radius:0!important;min-width:0}
html body .chd30-sticky-top .chd8216-float-item button,html body .chd30-sticky-bottom .chd8216-float-item button{width:17px!important;height:17px!important;border-radius:0!important;font-size:13px!important;top:2px!important;right:2px!important;line-height:1!important;box-shadow:none!important;padding:0!important}
html body .chd30-sticky-top .ad-banner,html body .chd30-sticky-bottom .ad-banner{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:728/90;position:relative;overflow:hidden;border-radius:0!important}
html body .chd30-sticky-top .ad-banner img,html body .chd30-sticky-bottom .ad-banner img,html body .chd30-sticky-top .ad-banner picture,html body .chd30-sticky-bottom .ad-banner picture{position:absolute!important;inset:0!important;display:block;width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;border-radius:0!important}
html body .chd30-sticky-top[hidden],html body .chd30-sticky-bottom[hidden]{display:none!important}
@media(max-width:980px){html body .chd825-home-lower-ads [data-chd-ad-place]>.inner{width:calc(100% - 40px)!important}}
@media(max-width:767px){
 html body .chd30-wide .chd30-grid{grid-template-columns:minmax(0,1fr);gap:8px}
 html body .chd30-f-pool .ad-banner{order:var(--chd30-m-order,0)}
 html body .chd30-f-pool .ad-banner[data-chd30-d="0"]{display:block!important}
 html body .chd30-wide .ad-banner.chd-v3-ad-device-mobile{display:block!important}
 html body .chd30-wide .ad-banner.chd-v3-ad-device-desktop,html body .chd30-f-pool .ad-banner[data-chd30-m="0"]{display:none!important}
 html body .chd30-a-mobile{display:block!important;box-sizing:border-box;width:100%;max-width:100%;min-width:0;margin:16px 0;clear:both}
 html body .chd30-a-mobile>.ad-banner{display:block!important;position:relative!important;width:100%!important;aspect-ratio:970/250;overflow:hidden;border-radius:0!important}
 html body .chd30-a-mobile>.ad-banner img{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important;border-radius:0!important}
 html body .chd30-sticky-top{display:block!important;position:sticky;top:0;z-index:115;box-sizing:border-box;width:min(100%,728px);margin-inline:auto;pointer-events:none}
 html body .chd30-sticky-top .chd8216-float-item{pointer-events:auto}
 html body .chd30-sticky-bottom{display:flex!important;position:fixed;left:50%;transform:translateX(-50%);flex-direction:column;gap:4px;width:min(728px,calc(100vw - 24px));max-width:100%;bottom:var(--chd30-nav-offset,calc(78px + env(safe-area-inset-bottom)));max-height:30vh;z-index:120;pointer-events:none}
 html body .chd30-sticky-bottom .chd8216-float-item{pointer-events:auto;flex:0 0 auto}
 html body .chd30-sticky-bottom .chd8216-float-item[hidden],html body .chd30-sticky-top .chd8216-float-item[hidden]{display:none!important}
 html body .chd30-sticky-top[hidden],html body .chd30-sticky-bottom[hidden]{display:none!important}
 html body .chd825-home-lower-ads [data-chd-ad-place]>.inner{width:calc(100% - 24px)!important}
}
/* More specific than generic group styles, prevents hidden groups leaving whitespace. */
@media(min-width:768px){html body .chd30-wide.chd8217-mobile-slot{display:none!important}}
@media(max-width:767px){html body .chd30-wide.chd8217-desktop-slot{display:none!important}}

/* Top-level F aligns with the same configured page width. */
html body>.chd30-wide{max-width:var(--chd-content-width,100%)}
@media(max-width:767px){
 html body.article-mobile-reader .article-page-template .chd30-article_sponsors[data-chd-ad-place]>.inner{width:calc(100% - 24px)!important;margin-inline:auto!important}
 html body .article-template-content .chd30-a-mobile[data-chd-ad-place]>.ad-banner img{height:100%!important}
}
