.ubex-vast-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

.ubex-vast-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    cursor: pointer;
}

.ubex-vast-topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 12px 16px;

    background: linear-gradient(
        to bottom,
        rgba(0,0,0,.8),
        rgba(0,0,0,0)
    );

    color: #fff;
}

.ubex-vast-label {
    font-weight: 600;
}

.ubex-vast-timer {
    opacity: .9;
}

.ubex-vast-visit {
    margin-left: 4px;
    border: 0;
    background: transparent;
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.ubex-vast-controls {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 20;

    display: flex;
    gap: 10px;
}

.ubex-vast-controls button {
    border: 1px solid rgba(255,255,255,.7);
    background: rgba(0,0,0,.65);
    color: #fff;

    padding: 8px 12px;

    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 700px) {

    .ubex-vast-topbar {
        padding: 10px 12px;
        gap: 8px;
        font-size: 13px;
    }

    .ubex-vast-controls {
        left: 12px;
        bottom: 12px;
    }

    .ubex-vast-controls button {
        padding: 8px 10px;
    }
}