/* VersaPlay v3.7.5 — apresentação uniforme das capas */

.vp-cover {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 0;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 85% 5%, rgba(79,197,255,.15), transparent 36%),
        linear-gradient(145deg, #0b1b2e, #102b43);
}

.vp-cover .vp-app-cover-image {
    position: absolute !important;
    z-index: 1;
    inset: 0;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0;
    opacity: 1 !important;
    visibility: visible !important;
    object-fit: contain;
    object-position: center center;
    background: #091727;
}

.vp-cover .vp-app-cover-image[hidden] {
    display: none !important;
}

.vp-cover .vp-cover-fallback {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}

.vp-cover .vp-cover-fallback[hidden] {
    display: none !important;
}

.vp-cover .vp-cover-fallback:not([hidden]) {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    padding: clamp(12px, 3vw, 24px);
    text-align: center;
    background:
        radial-gradient(circle at 50% 25%, rgba(79,197,255,.18), transparent 36%),
        linear-gradient(145deg, #10243a, #0a1728);
}

.vp-cover .vp-cover-fallback span {
    font-size: clamp(2rem, 7vw, 4rem);
    line-height: 1;
}

.vp-cover .vp-cover-fallback strong {
    max-width: 92%;
    color: #eef9ff;
    font-size: clamp(.9rem, 2vw, 1.3rem);
    line-height: 1.22;
    overflow-wrap: anywhere;
}

/* Mantém os controles/selos sempre acima da capa. */
.vp-card-type,
.vp-premium-badge,
.vp-play {
    z-index: 4 !important;
}

/*
 * O gradiente original do card não pode esconder imagens claras ou SVGs
 * transparentes.
 */
.vp-cover::after {
    z-index: 2;
    pointer-events: none;
}

/* Desktop: cards proporcionais, imagem inteira, sem esticar. */
@media (min-width: 901px) {
    .vp-cover {
        aspect-ratio: 16 / 9;
    }
}

/* Tablet. */
@media (min-width: 621px) and (max-width: 900px) {
    .vp-cover {
        aspect-ratio: 16 / 9;
    }
}

/* Celular: mesma proporção para não cortar nem ocultar a capa. */
@media (max-width: 620px) {
    .vp-cover {
        width: 100%;
        aspect-ratio: 16 / 9;
        min-height: 150px;
    }

    .vp-cover .vp-app-cover-image {
        object-fit: contain;
    }
}
