/* El reproductor de videos.griky.co (V3_VIDEO_STREAMING_S3.md §5): ocupa todo el iframe, fondo negro, controles del
   navegador (accesibles con teclado y lector de pantalla) y un selector de calidad discreto con el color de la marca. */
:root {
    --acento: #e85d4a;
}
/* `hidden` manda sobre el display de cada clase (si no, el aviso negro tapa el video). */
[hidden] {
    display: none !important;
}
html,
body {
    margin: 0;
    height: 100%;
    background: #000;
    color: #c9cfdb;
    font: 14px/1.4 system-ui, -apple-system, 'Segoe UI', sans-serif;
}
.reproductor {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
video {
    display: block;
    width: 100%;
    height: 100%;
    background: #000;
    accent-color: var(--acento);
}
video:focus-visible,
select:focus-visible {
    outline: 3px solid var(--acento);
    outline-offset: 2px;
}
.calidad {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 6px;
    align-items: center;
    padding: 4px 8px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    transition: opacity 0.2s;
}
.reproductor:hover .calidad,
.calidad:focus-within {
    opacity: 1;
}
.calidad label {
    font-size: 12px;
}
.calidad select {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 6px;
    font: inherit;
    font-size: 12px;
    padding: 2px 4px;
}
.calidad option {
    color: #000;
}
.aviso {
    position: absolute;
    inset: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
    background: #000;
}
