/* 仅电脑展示广告；配置在 /templates/js/ads/，手机完全隐藏广告。 */
.site-ad-slot { display: none !important; }
.site-ad-slot[data-ad-state="active"] {
    display: block !important;
    box-sizing: border-box;
    width: var(--ad-width, 100%);
    max-width: 100%;
    margin: 12px auto;
    clear: both;
}
.site-ad-label {
    display: block;
    margin-bottom: 3px;
    color: #786c60;
    font: 11px/1.5 "Microsoft YaHei", sans-serif;
    text-align: left;
}
.site-ad-body {
    min-height: var(--ad-height, 0px);
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}
.site-ad-body > iframe { display: block; width: 100%; border: 0; }
.site-ad-body img { max-width: 100%; height: auto; }
[data-ad-slot="headerMobile"][data-ad-state="active"],
[data-ad-slot="contentMobile"][data-ad-state="active"] { display: none !important; }
html[data-ads-mobile="true"] .site-ad-slot { display: none !important; }
@media (max-width: 990px) {
    .site-ad-slot, .site-ad-slot[data-ad-state="active"] { display: none !important; }
}
