.anunciosplay-space {
    background: var(--anunciosplay-space-background, transparent);
    box-sizing: border-box;
    display: grid;
    font-family: var(--anunciosplay-font-family, inherit);
    gap: var(--anunciosplay-space-gap-desktop, 16px);
    margin-bottom: var(--anunciosplay-space-margin-bottom-desktop, 20px);
    margin-top: var(--anunciosplay-space-margin-top-desktop, 20px);
    padding: var(--anunciosplay-space-padding-desktop, 0);
}

.anunciosplay-space *,
.anunciosplay-space *::before,
.anunciosplay-space *::after {
    box-sizing: border-box;
}

.anunciosplay-layout-banner,
.anunciosplay-layout-card {
    grid-template-columns: 1fr;
}

.anunciosplay-layout-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.anunciosplay-ad {
    background: var(--anunciosplay-card-background, #fff);
    border: 1px solid var(--anunciosplay-border-color, #e5e7eb);
    border-radius: var(--anunciosplay-card-radius, 8px);
    color: var(--anunciosplay-text-color, #4b5563);
    display: grid;
    min-width: 0;
    overflow: hidden;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.anunciosplay-ad:hover {
    background: var(--anunciosplay-card-hover-background, var(--anunciosplay-card-background, #fff));
}

.anunciosplay-ad-banner {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
}

.anunciosplay-ad-media {
    background: var(--anunciosplay-media-background, #f3f4f6);
    border-radius: var(--anunciosplay-image-radius, 0);
    height: var(--anunciosplay-space-image-height-desktop, var(--anunciosplay-card-image-height-desktop, 220px));
    justify-self: stretch;
    max-width: 100%;
    min-height: 120px;
    overflow: hidden;
    width: var(--anunciosplay-space-image-width-desktop, 100%);
}

.anunciosplay-ad-banner .anunciosplay-ad-media {
    height: var(--anunciosplay-space-image-height-desktop, var(--anunciosplay-banner-image-height-desktop, 320px));
}

.anunciosplay-ad-media img {
    display: block;
    height: 100%;
    max-width: 100%;
    object-fit: var(--anunciosplay-image-fit, cover);
    width: 100%;
}

.anunciosplay-ad-body {
    align-content: center;
    display: grid;
    gap: 8px;
    min-width: 0;
    padding: 18px;
}

.anunciosplay-sponsored-label {
    align-self: start;
    background: var(--anunciosplay-label-background, #e7f6ef);
    border: 1px solid var(--anunciosplay-label-border-color, #b7e3ca);
    border-radius: 999px;
    color: var(--anunciosplay-label-text-color, #17633a);
    display: inline-flex;
    font-size: 12px;
    font-weight: var(--anunciosplay-label-weight, 700);
    line-height: 1;
    padding: 5px 8px;
    width: max-content;
}

.anunciosplay-store-line {
    align-items: center;
    display: flex;
    gap: 10px;
    min-width: 0;
}

.anunciosplay-store-logo {
    border-radius: var(--anunciosplay-logo-radius, 8px);
    display: block;
    flex: 0 0 auto;
    height: var(--anunciosplay-logo-height-desktop, 44px);
    object-fit: cover;
    width: var(--anunciosplay-logo-width-desktop, 44px);
}

.anunciosplay-store-name,
.anunciosplay-subtitle,
.anunciosplay-description,
.anunciosplay-ad h3 {
    margin: 0;
}

.anunciosplay-store-name {
    color: var(--anunciosplay-store-color, #566070);
    font-size: var(--anunciosplay-body-size-desktop, 14px);
    font-weight: var(--anunciosplay-store-weight, 600);
    min-width: 0;
    transition: color 0.18s ease;
}

.anunciosplay-ad h3 {
    color: var(--anunciosplay-title-color, #111827);
    font-size: var(--anunciosplay-title-size-desktop, 22px);
    font-weight: var(--anunciosplay-title-weight, 700);
    line-height: 1.2;
    transition: color 0.18s ease;
}

.anunciosplay-subtitle {
    color: var(--anunciosplay-subtitle-color, #2f3a4d);
    font-size: var(--anunciosplay-body-size-desktop, 14px);
    font-weight: var(--anunciosplay-subtitle-weight, 600);
    line-height: 1.35;
    transition: color 0.18s ease;
}

.anunciosplay-description {
    color: var(--anunciosplay-text-color, #4b5563);
    font-size: var(--anunciosplay-body-size-desktop, 14px);
    font-weight: var(--anunciosplay-body-weight, 400);
    line-height: 1.45;
    transition: color 0.18s ease;
}

.anunciosplay-ad:hover h3 {
    color: var(--anunciosplay-title-hover-color, var(--anunciosplay-title-color, #111827));
}

.anunciosplay-ad:hover .anunciosplay-subtitle {
    color: var(--anunciosplay-subtitle-hover-color, var(--anunciosplay-subtitle-color, #2f3a4d));
}

.anunciosplay-ad:hover .anunciosplay-description {
    color: var(--anunciosplay-text-hover-color, var(--anunciosplay-text-color, #4b5563));
}

.anunciosplay-ad:hover .anunciosplay-store-name {
    color: var(--anunciosplay-store-hover-color, var(--anunciosplay-store-color, #566070));
}

.anunciosplay-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.anunciosplay-cta,
.anunciosplay-share {
    align-items: center;
    border-radius: var(--anunciosplay-button-radius, 6px);
    display: inline-flex;
    font-size: var(--anunciosplay-cta-size-desktop, 14px);
    font-weight: var(--anunciosplay-cta-weight, 700);
    justify-content: center;
    line-height: 1;
    max-width: 100%;
    min-height: 40px;
    padding: 10px 14px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    white-space: normal;
    width: auto;
}

.anunciosplay-cta {
    background: var(--anunciosplay-button-background, #1457d9);
    color: var(--anunciosplay-button-text-color, #fff);
}

.anunciosplay-cta:hover,
.anunciosplay-cta:focus {
    background: var(--anunciosplay-button-hover-background, #0f46b4);
    color: var(--anunciosplay-button-hover-text-color, var(--anunciosplay-button-text-color, #fff));
    text-decoration: none;
}

.anunciosplay-share {
    background: transparent;
    border: 1px solid var(--anunciosplay-link-color, #1457d9);
    color: var(--anunciosplay-link-color, #1457d9);
    cursor: pointer;
    font-family: inherit;
    gap: 7px;
}

.anunciosplay-share:hover,
.anunciosplay-share:focus,
.anunciosplay-share.is-shared {
    background: var(--anunciosplay-share-hover-background, var(--anunciosplay-label-background, #e7f6ef));
    border-color: var(--anunciosplay-share-hover-text-color, var(--anunciosplay-label-text-color, #17633a));
    color: var(--anunciosplay-share-hover-text-color, var(--anunciosplay-label-text-color, #17633a));
    text-decoration: none;
}

.anunciosplay-share-icon,
.anunciosplay-share-icon svg {
    display: block;
    flex: 0 0 auto;
    height: var(--anunciosplay-icon-size-desktop, 18px);
    width: var(--anunciosplay-icon-size-desktop, 18px);
}

.anunciosplay-share-icon svg {
    fill: currentColor;
}

@media (max-width: 1200px) {
    .anunciosplay-space {
        gap: var(--anunciosplay-space-gap-tablet-landscape, var(--anunciosplay-space-gap-desktop, 16px));
        margin-bottom: var(--anunciosplay-space-margin-bottom-tablet-landscape, var(--anunciosplay-space-margin-bottom-desktop, 20px));
        margin-top: var(--anunciosplay-space-margin-top-tablet-landscape, var(--anunciosplay-space-margin-top-desktop, 20px));
        padding: var(--anunciosplay-space-padding-tablet-landscape, var(--anunciosplay-space-padding-desktop, 0));
    }

    .anunciosplay-ad-media {
        height: var(--anunciosplay-space-image-height-tablet-landscape, var(--anunciosplay-card-image-height-tablet-landscape, var(--anunciosplay-card-image-height-desktop, 220px)));
        width: var(--anunciosplay-space-image-width-tablet-landscape, var(--anunciosplay-space-image-width-desktop, 100%));
    }

    .anunciosplay-ad-banner .anunciosplay-ad-media {
        height: var(--anunciosplay-space-image-height-tablet-landscape, var(--anunciosplay-banner-image-height-tablet-landscape, var(--anunciosplay-banner-image-height-desktop, 320px)));
    }

    .anunciosplay-store-logo {
        height: var(--anunciosplay-logo-height-tablet-landscape, var(--anunciosplay-logo-height-desktop, 44px));
        width: var(--anunciosplay-logo-width-tablet-landscape, var(--anunciosplay-logo-width-desktop, 44px));
    }

    .anunciosplay-store-name,
    .anunciosplay-subtitle,
    .anunciosplay-description {
        font-size: var(--anunciosplay-body-size-tablet-landscape, var(--anunciosplay-body-size-desktop, 14px));
    }

    .anunciosplay-ad h3 {
        font-size: var(--anunciosplay-title-size-tablet-landscape, var(--anunciosplay-title-size-desktop, 22px));
    }

    .anunciosplay-cta,
    .anunciosplay-share {
        font-size: var(--anunciosplay-cta-size-tablet-landscape, var(--anunciosplay-cta-size-desktop, 14px));
    }

    .anunciosplay-share-icon,
    .anunciosplay-share-icon svg {
        height: var(--anunciosplay-icon-size-tablet-landscape, var(--anunciosplay-icon-size-desktop, 18px));
        width: var(--anunciosplay-icon-size-tablet-landscape, var(--anunciosplay-icon-size-desktop, 18px));
    }
}

@media (max-width: 1024px) {
    .anunciosplay-space {
        gap: var(--anunciosplay-space-gap-tablet-portrait, var(--anunciosplay-space-gap-tablet-landscape, 14px));
        margin-bottom: var(--anunciosplay-space-margin-bottom-tablet-portrait, var(--anunciosplay-space-margin-bottom-tablet-landscape, 18px));
        margin-top: var(--anunciosplay-space-margin-top-tablet-portrait, var(--anunciosplay-space-margin-top-tablet-landscape, 18px));
        padding: var(--anunciosplay-space-padding-tablet-portrait, var(--anunciosplay-space-padding-tablet-landscape, 0));
    }

    .anunciosplay-ad-banner {
        grid-template-columns: 1fr;
    }

    .anunciosplay-ad-media {
        height: var(--anunciosplay-space-image-height-tablet-portrait, var(--anunciosplay-card-image-height-tablet-portrait, var(--anunciosplay-card-image-height-mobile, 180px)));
        width: var(--anunciosplay-space-image-width-tablet-portrait, var(--anunciosplay-space-image-width-tablet-landscape, 100%));
    }

    .anunciosplay-ad-banner .anunciosplay-ad-media {
        height: var(--anunciosplay-space-image-height-tablet-portrait, var(--anunciosplay-banner-image-height-tablet-portrait, var(--anunciosplay-banner-image-height-mobile, 220px)));
    }

    .anunciosplay-store-logo {
        height: var(--anunciosplay-logo-height-tablet-portrait, var(--anunciosplay-logo-height-tablet-landscape, 40px));
        width: var(--anunciosplay-logo-width-tablet-portrait, var(--anunciosplay-logo-width-tablet-landscape, 40px));
    }

    .anunciosplay-store-name,
    .anunciosplay-subtitle,
    .anunciosplay-description {
        font-size: var(--anunciosplay-body-size-tablet-portrait, var(--anunciosplay-body-size-tablet-landscape, 14px));
    }

    .anunciosplay-ad h3 {
        font-size: var(--anunciosplay-title-size-tablet-portrait, var(--anunciosplay-title-size-tablet-landscape, 21px));
    }

    .anunciosplay-cta,
    .anunciosplay-share {
        font-size: var(--anunciosplay-cta-size-tablet-portrait, var(--anunciosplay-cta-size-tablet-landscape, 14px));
    }

    .anunciosplay-share-icon,
    .anunciosplay-share-icon svg {
        height: var(--anunciosplay-icon-size-tablet-portrait, var(--anunciosplay-icon-size-tablet-landscape, 18px));
        width: var(--anunciosplay-icon-size-tablet-portrait, var(--anunciosplay-icon-size-tablet-landscape, 18px));
    }
}

@media (max-width: 700px) {
    .anunciosplay-space {
        gap: var(--anunciosplay-space-gap-mobile, 12px);
        margin-bottom: var(--anunciosplay-space-margin-bottom-mobile, 16px);
        margin-top: var(--anunciosplay-space-margin-top-mobile, 16px);
        padding: var(--anunciosplay-space-padding-mobile, 0);
    }

    .anunciosplay-ad-banner {
        grid-template-columns: 1fr;
    }

    .anunciosplay-ad-media {
        height: var(--anunciosplay-space-image-height-mobile, var(--anunciosplay-card-image-height-mobile, 180px));
        width: var(--anunciosplay-space-image-width-mobile, 100%);
    }

    .anunciosplay-ad-banner .anunciosplay-ad-media {
        height: var(--anunciosplay-space-image-height-mobile, var(--anunciosplay-banner-image-height-mobile, 220px));
    }

    .anunciosplay-store-logo {
        height: var(--anunciosplay-logo-height-mobile, 38px);
        width: var(--anunciosplay-logo-width-mobile, 38px);
    }

    .anunciosplay-store-name,
    .anunciosplay-subtitle,
    .anunciosplay-description {
        font-size: var(--anunciosplay-body-size-mobile, 14px);
    }

    .anunciosplay-ad h3 {
        font-size: var(--anunciosplay-title-size-mobile, 19px);
    }

    .anunciosplay-cta,
    .anunciosplay-share {
        font-size: var(--anunciosplay-cta-size-mobile, 14px);
    }

    .anunciosplay-share-icon,
    .anunciosplay-share-icon svg {
        height: var(--anunciosplay-icon-size-mobile, 18px);
        width: var(--anunciosplay-icon-size-mobile, 18px);
    }
}
