.ad-slot{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.ad-slot[hidden]{display:none!important}
.ad-slot a{min-width:0}
.ad-slot img{display:block;max-width:100%;height:auto;border-radius:6px}
.ad-slot iframe{display:block;width:100%;min-height:100px;border:0}
.ad-slot--slide{display:flex;flex-wrap:nowrap;overflow:auto;scroll-snap-type:x mandatory}
.ad-slot--slide a{flex:0 0 100%;scroll-snap-align:start}
.ad-slot--slide img{width:100%}
.ad-slot--icon a{display:grid;gap:4px;justify-items:center;text-align:center;width:76px}
.ad-slot--icon img{width:52px;height:52px;object-fit:cover}
.ad-slot--feed{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr))}
.ad-slot--feed img{width:100%;aspect-ratio:16/9;object-fit:cover}
.ad-slot--catlink a,.ad-slot--navtop a,.ad-slot--navfoot a{padding:4px 8px;border:1px solid currentColor;border-radius:5px}
.ad-slot--floating,.ad-slot--popup{position:fixed;z-index:90;left:50%;transform:translateX(-50%);width:min(92vw,var(--ad-width,480px));max-height:52vh;overflow:auto;margin:0;padding:10px;background:#171a20;color:#fff;border-radius:8px}
.ad-slot--floating{bottom:8px}
.ad-slot--popup{top:20vh;box-shadow:0 0 0 100vmax #05070a80}
.ad-dismiss{margin-left:auto;background:#fff;color:#222;border:0;border-radius:5px;padding:4px 8px;cursor:pointer}
.ad-slot--couplet{position:fixed;inset:20vh 8px auto;z-index:50;display:grid;grid-template-columns:min(35vw,var(--ad-width,80px)) 1fr min(35vw,var(--ad-width,80px));pointer-events:none}
.ad-slot--couplet>.ad-dismiss{grid-column:3;pointer-events:auto}
.ad-slot--couplet>.ad-couplet-left,.ad-slot--couplet>.ad-couplet-right{grid-row:2;pointer-events:auto}
.ad-slot--couplet>.ad-couplet-left{grid-column:1}
.ad-slot--couplet>.ad-couplet-right{grid-column:3}
@media(max-width:1099px){.ad-slot--couplet{display:none!important}}

.network-ad{position:fixed;z-index:90;margin:0;padding:0;background:transparent;border:0;max-width:100vw}
.network-ad[hidden]{display:none}
.network-ad--network_top,.network-ad--network_bottom{left:50%;transform:translateX(-50%);width:min(100vw,var(--ad-width,100vw));height:min(75vh,var(--ad-height,100px))}
.network-ad--network_top{top:0}
.network-ad--network_bottom{bottom:0}
.network-ad--network_float{right:0;bottom:0;width:min(100vw,var(--ad-width,320px));height:min(75vh,var(--ad-height,220px))}
.network-ad:not(.is-code-controlled)>iframe{display:block;width:100%;height:100%;border:0;background:transparent}

.network-ad:not(.is-transparent){background:#171a20;color:#fff}
.network-ad>.ad-dismiss{position:absolute;z-index:1;top:4px;right:4px}
.network-ad:not(.is-code-controlled)>a{display:grid;place-items:center;width:100%;height:100%}
.network-ad:not(.is-code-controlled) img{display:block;max-width:100%;max-height:100%;object-fit:contain}
.network-ad.is-code-controlled{display:contents}
:is(.ad-slot--floating,.ad-slot--popup,.ad-slot--couplet)>iframe{height:min(48vh,var(--ad-height,150px));min-height:0}
:is(.ad-slot--floating,.ad-slot--popup,.ad-slot--couplet)>a{max-width:100%}
:is(.ad-slot--floating,.ad-slot--popup,.ad-slot--couplet) img{max-height:min(48vh,var(--ad-height,48vh));object-fit:contain}
:is(.ad-slot--floating,.ad-slot--popup).is-transparent{background:transparent;box-shadow:none;padding:0}
.ad-slot--couplet:not(.is-transparent)>:is(.ad-couplet-left,.ad-couplet-right){background:#171a20;color:#fff;border-radius:6px}
