.sam-ad-slot:empty {
    display: none;
}

.sam-ad-slot-below-toc,
.sam-ad-slot-inarticle {
    clear: both;
}

.sam-ad-preview-active .sam-ad-slot[data-sam-rendered="1"] {
    position: relative;
    outline: 2px dashed #dba617;
    outline-offset: 3px;
}

.sam-ad-preview-active .sam-ad-slot[data-sam-rendered="1"]::before {
    position: absolute;
    z-index: 2147483647;
    top: -20px;
    left: 0;
    padding: 2px 6px;
    color: #1d2327;
    background: #ffdc73;
    content: "SHUFUFU Ad Manager: " attr(data-sam-provider) " / " attr(data-sam-device);
    font: 11px/1.4 sans-serif;
    white-space: nowrap;
    pointer-events: none;
}

