.gam-top-ad-shell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 90px;
    padding: 0;
    overflow: hidden;
    background: transparent;
    border: 0;
}

.gam-top-ad-slot {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    width: 100%;
}

.gam-top-ad-shell.gam-ad-filled {
    background: transparent;
}

.gam-anchor {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 70;
    width: 100%;
    padding: 2px 0;
    background: #eeeeee;
    text-align: center;
}

.gam-anchor[hidden] {
    display: none;
}

.gam-anchor__close {
    position: absolute;
    top: -22px;
    left: 0;
    min-width: 36px;
    min-height: 22px;
    padding: 1px 12px;
    border: 0;
    border-radius: 3px 3px 0 0;
    background: #eeeeee;
    color: #4b5563;
    font-family: sans-serif;
    font-size: 14px;
    line-height: 20px;
    cursor: pointer;
}

.gam-anchor__ad {
    position: relative;
    width: max-content;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.gam-anchor__slot {
    display: flex;
    justify-content: center;
}

body.gam-anchor-visible {
    padding-bottom: 110px;
}

.desktop-sticky-ads {
    position: relative;
}

.desktop-sticky-ads__rail {
    position: fixed;
    top: 140px;
    z-index: 60;
    display: none;
    width: 160px;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
}

.desktop-sticky-ads__rail--left {
    left: max(16px, calc(50% - 704px));
}

.desktop-sticky-ads__rail--right {
    right: max(16px, calc(50% - 704px));
}

.desktop-sticky-ads__chrome {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    width: 160px;
    min-height: 636px;
    padding: 1.4rem 0 0.55rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08);
}

.desktop-sticky-ads__label {
    position: absolute;
    top: 0.35rem;
    left: 50%;
    color: #6b7280;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transform: translateX(-50%);
}

.desktop-sticky-ads__slot-wrap,
.desktop-sticky-ads__slot {
    display: flex;
    justify-content: center;
    width: 100%;
}

.desktop-sticky-ads__slot {
    min-width: 120px;
    min-height: 600px;
}

@media (min-width: 728px) {
    .gam-top-ad-shell {
        min-height: 90px;
    }

    body.gam-anchor-visible {
        padding-bottom: 100px;
    }
}

@media (min-width: 1440px) {
    .desktop-sticky-ads__rail {
        display: block;
    }

    .desktop-sticky-ads--active .desktop-sticky-ads__rail--filled {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
}
