#fondo-jugados{
    display: none; 
    position: fixed;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo oscuro semi-transparente */  
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

#div-jugados{
    position: absolute;
    top:5%;
    overflow: hidden;
    font-size: 30px;
    background-color: rgb(92, 6, 6);
    border-radius: 40px;
    box-shadow: 0px 0px 40px white;
    width: 90%;
    left: 5%;
    height: 90%;
    padding: 0px;
    margin: 0px;
    border: 0px;            
}


#div-barra-jugados{
    display: flex;
    height: 5%;
    align-items: center;
    background-color: rgb(0, 0, 0);
    justify-content: space-between;
}

#nombre-barra-jugados{
    display: flex;
    height: 100%;
    font-family: poppins;
    font-size: 45px;
    color: white;
    align-items: center;
    margin-left: 20px;
    justify-content: center;
}

#div-cruz-jugados{
    display: flex;
    align-items: center;
    width: 6%;
    height: 100%;
    padding-right: 10px;
}

#cruz-jugados{
    width: 100%;
    height: 80%;
}

#div-cuadros-jugados{
    display: flex;
    position: absolute;
    left: 2%;
    width: 96%;
    height: 73%;
    bottom:2%;
}

#div-plantel-jugados{
    /*display: flex;*/
    position: absolute;
    width: 44%;
    height: 92%;
    background-color: rgba(0, 0, 0, 0.2);  
    overflow: hidden;    
}

#div-convocados-jugados{
    /*display: flex;*/
    position: absolute;
    left:46%;
    width: 54%;
    height: 92%;
    background-color: rgba(0, 0, 0, 0.2);      
    overflow: hidden;   
}

#botones-jugados{
    position: absolute; 
    display: flex;
    left:2%;
    top:92%;
    width: 96%;
    height: 6%;   
}


#boton-limpiar-jugados{
    display: flex;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.2);
    justify-content: center;   
    left:0px; 
    width: 49%;
    height: 100%;
    align-items: center;
    border-radius: 15px;
    font-family: poppins;
    font-size: 40px;
    border: 3px, solid white;    
    color: white;    
}

#boton-limpiar-jugados:hover{
    box-shadow: 0px 0px 40px white; 
}

#boton-confirmar-jugados{
    display: flex;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.2);
    justify-content: center;
    align-items: center;
    left: 51%;
    width: 48%;    
    height: 100%;
    border-radius: 15px;
    font-family: poppins;
    font-size: 40px;
    border: 3px, solid white;        
    color: white;    
}

#boton-confirmar-jugados:hover{
    box-shadow: 0px 0px 40px white; 
}

.li-plantel-jugados{
    display: flex;
    font-family: poppins;
    color: white;
    font-size: 35px;
    align-items: center;
    justify-content: left; 
    width: 100%;   
    height: 4.4%;    
}

#titulo-ul-plantel-jugados,
#titulo-ul-convocados-jugados{
    display: flex;
    position: absolute;
    height: 4%;
    left: 2%;
    font-size: 40px;
    width: 98%;
    font-family: poppins;
    color: white;
    font-size: 40px;    
    background-color: rgba(255, 255, 255, 0.2);
    justify-content: center;
    align-items: center;
}


#ul-plantel-jugados{
    position: absolute;    
    list-style: none;
    width: 98%;
    top: 4.5%;
    height: 98%;    
    left: 2%;
    padding: 0px;    
    margin: 0px;    
}

#ul-convocados-jugados{
    position: absolute;
    list-style: none;
    width: 98%;
    height: 98%;
    left: 2%;
    top: 4.5%;    
    padding: 0px;
    margin: 0px;
}

/*----------------------------------------------------------*/

#div-resultado-jugados{
    display: flex;
    position: absolute;  
    width: 100%;
    height: 20%;
    top: 5%;
}

#div-jugados-izq{ 
    display: flex;
    position: absolute;
    width: 40%;
    height: 100%;
    justify-content: center;
}

#div-jugados-der{
    display: flex;
    position: absolute;
    width: 40%;
    left:40%;
    height: 100%;
    justify-content: center;
}


#div-nombre-resultado-jugados-izq{
    display: flex;     
    position: absolute;
    height: 25%;
    width: 100%;
    font-family: poppins;
    font-size: 35px;
    color: white;      
    justify-content: center;
    align-items: center;      
    background-color: rgba(255, 255, 255, 0.2);      
}

#div-nombre-resultado-jugados-der{
    display: flex;     
    position: absolute;
    height: 25%;
    width: 100%;
    font-family: poppins;
    font-size: 35px;
    color: white;      
    justify-content: center;
    align-items: center;    
    background-color: rgba(255, 255, 255, 0.2);          
}


#div-escudo-resultado-jugados-izq{    
    position: absolute;
    display: flex; 
    top:20%;
    height: 55%;
    width: 100%;
    justify-content: center;
    align-items: center;      
}

#div-escudo-resultado-jugados-der{    
    position: absolute;
    display: flex;    
    top:20%;
    height: 55%;
    width: 100%;
    justify-content: center;
    align-items: center;        
}

#escudo-resultado-jugados-izq,
#escudo-resultado-jugados-der{
    display: flex;
    justify-content: center;
    align-items: center; 
    height: 80%;
    object-fit: cover;
}

#div-resultado-jugados-izq{    
    display: flex;  
    position: absolute;      
    top:70%;
    height: 20%;
    width: 25%;
    justify-content: center;
    align-items: center;
    font-size: 60px;    
    color: black;
    text-align: center;    
    align-items: center;    
}

#div-resultado-jugados-der{    
    display: flex;
    position: absolute;
    align-items: center;
    top:70%;
    height: 20%;
    width: 25%;
    font-size: 60px;    
    color: black;
    text-align: center;    
    justify-content: center;
    align-items: center; 
}

#div-resultado-jugados-izq option{    
    font-family: poppins;
    font-size: 80px;    
    color: black;
    text-align: center;
}

#div-resultado-jugados-der option{    
    font-family: poppins;
    font-size: 80px;
    color: black;
    text-align: center;
}

/*------------------------------------------------------------------------------------*/

#opciones-jugados{
    position: absolute;
    left:80%;
    width: 20%;
    height: 100%;
}

#opciones-gol-jugados {
    background-image: url("img/pelota.png");
    background-repeat: no-repeat;
    background-size: contain; 
    background-position: center; 
    width: auto; 
    height: 25%; 
    background-size: 35%; 
}

#opciones-roja-jugados {
    background-image: url("img/roja.png");
    background-repeat: no-repeat;
    background-size: contain; 
    background-position: center;
    width: auto; 
    height: 25%; 
    background-size: 35%; 
}

#opciones-ingreso-jugados {
    background-image: url("img/ingreso.png");
    background-repeat: no-repeat; 
    background-size: contain; 
    background-position: center; 
    width: auto; 
    height: 25%; 
    background-size: 35%;
}

#opciones-salida-jugados {
    background-image: url("img/salida.png");
    background-repeat: no-repeat; 
    background-size: contain; 
    background-position: center;
    width: auto; 
    height: 25%; 
    background-size: 35%;
}

.roja-adjunto,
.ingreso-adjunto,
.salida-adjunto,
.gol-adjunto{
    display: flex;
    height: 75%;
    object-fit: cover;
    padding-left: 10px;
    justify-content: center;
    align-items: center; 
    text-align: left;
}

.drag-over-jugados{
    background-color: rgba(255, 255, 255, 0.2) !important;
}

/*--------------------------------------------------------------------------------*/
/*----------- AFICHE RESULTADO ---------------------------------------------------*/
/*--------------------------------------------------------------------------------*/

#afiche-resultado{
    display: none;
    position: fixed;
    top: 0px;
    width: 100%;
    height: 150svw;   
    aspect-ratio: 2 / 3; 
    background-image: url('img/festejo.jpg');
    background-size: cover; 
    background-repeat: no-repeat;
    background-color: rgb(92, 6, 6);
    z-index: 200000;
}

#afiche-resultado-categoria{
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0px;
    width: 100%;
    font-family: poppins;
    font-size: 75px;
    color: white;
    text-shadow: 4px 4px 3px black;
}

#afiche-resultado-marcador{    
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top:10%;
    width: 100%;
    height: 8%;
}

#afiche-resultado-marcador-izq{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 49%;
    height: 100%;
}

#afiche-separador{
    position: absolute;
    display: flex;    
    justify-content: center;
    align-items: center;    
    top: 0px;
    left: 49%;
    width: 2%;
    height: 100%;
    font-family: poppins;
    font-size: 120px;    
    color: white;    
    text-shadow: 4px 4px 3px black;    
}

#afiche-resultado-marcador-der{
    position: absolute;
    top: 0px;
    left: 51%;
    width: 49%;
    height: 100%;
}

#afiche-resultado-marcador-escudo-izq{
    position: absolute;
    display: flex;
    width: 30%;    
    height: 100%;
    left: 40%;
    justify-content: center;
    align-items: center;
}

#afiche-resultado-marcador-escudo-der{
    position: absolute;
    display: flex;
    width: 30%;
    height: 100%;    
    right: 40%;    
    justify-content: center;
    align-items: center;
}

#img-afiche-resultado-marcador-escudo-der{
    position: absolute;
    display: flex;
    width: 100%;
    height: auto;       
    justify-content: center;
    align-items: center;
    object-fit: cover;
}

#img-afiche-resultado-marcador-escudo-izq{
    position: absolute;
    display: flex;
    width: 100%;
    height: auto;       
    justify-content: center;
    align-items: center;
    object-fit: cover;
}

#afiche-resultado-marcador-goles-izq{
    position: absolute;
    display: flex;
    width: 30%;
    height: 100%;    
    left:70%;
    justify-content: center;
    align-items: center;
    font-family: poppins;
    font-size: 120px;    
    color: white;    
    text-shadow: 4px 4px 3px black;
}

#afiche-resultado-marcador-goles-der{
    position: absolute;
    display: flex;
    width: 30%;
    height: 100%;    
    left:0px;    
    justify-content: center;
    align-items: center;
    font-family: poppins;
    font-size: 120px;    
    color: white;
    text-shadow: 4px 4px 3px black;
}

#div-afiches{
    position: absolute;
    display: flex;
    height: 70%;
    width: 70%;
    top: 25%;
    left: 20%;
    bottom:5%;
}

#afiche-ul{
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 0px;    
    height: 100%;
    width: 55%;
    list-style-type: none; /* quita las viñetas */
    justify-content:space-between;
    align-items: center;
    font-family: poppins;
    font-size: calc(0.6 * var(--x));      
    color: white;
    padding: 0px;
    text-shadow: 2px 2px 4px black;
    margin: 0px;
}

#afiche-ul-elementos{
    display: flex;
    flex-direction: column;
    position: absolute;
    list-style-type: none; /* quita las viñetas */
    justify-content:space-between;    
    left: 55%;
    bottom: 0px;    
    height: 100%;
    width: 45%;
    margin: 0px;
    padding: 0px;
}


#afiche-ul li,
#afiche-ul-elementos li{
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;  
    justify-content: left;    
    text-align: left;    
    border: 0px;
    margin: 0px;
    padding: 0px;  
    flex:1;
    box-sizing: border-box;
}

#afiche-ul li:nth-child(odd),
#afiche-ul-elementos li:nth-child(odd){
    background-color: rgba(255, 255, 255, 0.2); /* Color para impares */
}

.afiche-li-texto{
    padding-right: 30px;
    text-align: left;
}
