#vs-juego-seguro {
    /* With a 408:288 image, 24% of width + height covers at least 16% of the viewport. */
    width: min(calc(100vw - 1rem), calc(122vh - 3.5rem), calc(24vw + 24vh));
    width: min(calc(100dvw - 1rem), calc(122dvh - 3.5rem), calc(24dvw + 24dvh));
    max-width: none;
    max-height: none;
    height: fit-content;
    inset: 0;
    margin: auto;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    color-scheme: light;
}

#vs-juego-seguro::backdrop {
    background: rgb(0 0 0 / 45%);
}

#vs-juego-seguro a,
#vs-juego-seguro img {
    display: block;
    width: 100%;
    height: auto;
}

#vs-juego-seguro button {
    position: absolute;
    bottom: calc(100% + .35rem);
    right: 0;
    min-height: 2.5rem;
    padding: .35rem 1rem;
    border: 1px solid #444;
    border-radius: .5rem;
    background: white;
    color: #141414;
    font: 600 1rem/1.2 system-ui, sans-serif;
    cursor: pointer;
}

#vs-juego-seguro :focus-visible {
    outline: 3px solid #007751;
    outline-offset: 2px;
}

/* A first-time visitor sees the cookie choice immediately after the warning. */
body:has(#vs-juego-seguro[open]) #vs-cookie-consent {
    visibility: hidden;
}
