@media (max-width: 760px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .top-ad-frame {
        width: min(728px, calc(100vw - 2rem));
        height: calc((100vw - 2rem) * 90 / 728);
        max-height: 90px;
        overflow: hidden;
        justify-content: flex-start !important;
        margin-inline: auto;
    }

    .top-ad-scale {
        width: 728px !important;
        height: 90px !important;
        transform: scale(1);
        transform-origin: top left;
    }

    .top-ad-scale iframe[data-aa="2418682"] {
        display: block;
        width: 728px !important;
        height: 90px !important;
        max-width: none !important;
    }

    main .flex.items-start.space-x-4 {
        gap: 0.75rem;
    }
}

@media (max-width: 430px) {
    .top-ad-scale {
        transform: scale(0.5467);
    }
}

@media (max-width: 414px) {
    .top-ad-scale {
        transform: scale(0.5247);
    }
}

@media (max-width: 390px) {
    .top-ad-scale {
        transform: scale(0.4918);
    }
}

@media (max-width: 380px) {
    .top-ad-scale {
        transform: scale(0.4712);
    }
}

@media (max-width: 360px) {
    .top-ad-scale {
        transform: scale(0.4505);
    }
}

@media (max-width: 340px) {
    .top-ad-scale {
        transform: scale(0.4231);
    }
}
