/* mv-vast.css — Outstream VAST (IMA) – v2 debug */
.mv-vast-slot {
    position: relative;
    width: 100%;
    max-width: 640px;
    margin: 16px auto;
}

.mv-vast-aspect {
    width: 100%;
    padding-top: 56.25%;
    position: relative;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .20);
}

.mv-vast-container {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mv-vast-click-shield {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* NEW: collapse visual area until ad LOADED, without removing root from flow */
.mv-collapsed {
    height: 0 !important;
    overflow: visible;
}

.mv-collapsed .mv-vast-aspect {
    display: none !important;
}

/* Sticky mode */
.mv-sticky {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 2147483000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
    border-radius: 16px;
}

.mv-sticky .mv-vast-aspect {
    padding-top: 56.25%;
    border-radius: 16px;
}

/* Controls */
.mv-close {
    display: none
}

.mv-badge {
    position: absolute;
    left: 8px;
    bottom: 8px;
    font: 12px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial;
    padding: 6px 8px;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
}

/* Visual state */
.mv-hidden {
    visibility: hidden;
    opacity: 0;
    transition: opacity .25s ease;
}

.mv-shown {
    visibility: visible;
    opacity: 1;
}

/* NEW: load sentinel (1px) to trigger IO while slot is collapsed */
.mv-sentinel {
    display: block;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    background: transparent;
}

@media (max-width: 420px) {
    .mv-sticky {
        width: 88vw;
        right: 6vw;
        bottom: 12px;
    }
}
