.op13-ad {
    width: 100%;
    min-width: 0;
    min-height: 96px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--card);
}

.op13-ad-top {
    margin: 0 0 10px;
}

.op13-ad-browser,
.op13-ad-footer {
    min-height: 96px;
}

.op13-ad-footer {
    background: var(--panel);
}

.op13-footer-ads {
    display: grid;
    gap: 8px;
    margin: 0 0 9px;
}

.op13-ad ins.adsbygoogle {
    width: min(728px, 100%) !important;
    min-width: 0 !important;
    min-height: 96px !important;
    display: block !important;
}

.op13-ad.is-hidden,
html.op13-ads-unavailable .op13-ad {
    display: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    border: 0 !important;
}

@media (max-width: 760px) {
    .op13-ad,
    .op13-footer-ads {
        display: none !important;
        min-height: 0 !important;
        margin: 0 !important;
        border: 0 !important;
    }
}

.op13-ad-side {
    display: none;
}

@media (min-width: 1600px) and (min-height: 680px) {
    .op13-ad-side {
        position: fixed;
        top: 132px;
        z-index: 5;
        width: 160px;
        min-height: 600px;
        max-height: calc(100vh - 164px);
        display: grid;
        place-items: center;
        border-radius: 12px;
        background: var(--panel);
    }

    .op13-ad-side-left {
        left: max(12px, calc((100vw - 1240px) / 2 - 176px));
    }

    .op13-ad-side-right {
        right: max(12px, calc((100vw - 1240px) / 2 - 176px));
    }

    .op13-ad-side ins.adsbygoogle {
        width: 160px !important;
        min-height: 600px !important;
    }
}
