*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}


body{

    background:#050505;
    color:white;
    font-family:system-ui,-apple-system,sans-serif;
    min-height:100vh;

}


/* HEADER */

.watch-header{

    height:70px;
    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:0 25px;

    background:rgba(0,0,0,.85);

    border-bottom:1px solid rgba(255,255,255,.08);

}



.logo{

    font-size:28px;
    font-weight:900;
    text-decoration:none;

    background:linear-gradient(
        90deg,
        #00aaff,
        #00ff88
    );

    -webkit-background-clip:text;
    color:transparent;

}



.telegram-btn{

    background:#0088ff;

    color:white;

    padding:10px 18px;

    border-radius:30px;

    text-decoration:none;

    font-weight:700;

    font-size:13px;

}





/* MAIN */

main{

    padding:25px;

}






/* MATCH */

.match-header{

    max-width:1200px;

    margin:auto;

    display:flex;

    align-items:center;

    gap:20px;

    margin-bottom:25px;

}



#match-image{

    width:180px;

    height:100px;

    object-fit:cover;

    border-radius:15px;

}




.live-badge{

    display:inline-block;

    background:#ff0033;

    padding:6px 14px;

    border-radius:20px;

    font-size:12px;

    font-weight:800;

}




.match-info h1{

    font-size:32px;

    margin:12px 0;

}





#favorite-btn{

    background:#111;

    color:white;

    border:1px solid #333;

    padding:10px 18px;

    border-radius:25px;

}








/* PLAYER */


.player-box{

    position:relative;

    width:100%;

    max-width:1200px;

    margin:auto;

    background:black;

    border-radius:18px;

    overflow:hidden;

}





/* SHAKA */

.shaka-video-container{

    width:100%;

    aspect-ratio:16/9;

    background:black;

}





.shaka-video-container video{

    width:100%;

    height:100%;

    background:#000;

    object-fit:contain;

}





/* HLS */


#ios-container{

    display:none;

    width:100%;

    aspect-ratio:16/9;

    background:#000;

}



#ios-video{

    width:100%;

    height:100%;

    background:#000;

    object-fit:contain;

}







/* IFRAME */


#iframe-container{

    display:none;

    width:100%;

    aspect-ratio:16/9;

    background:black;

}



#stream-frame{

    width:100%;

    height:100%;

    border:0;

}








/* LOADER */


#loader{

    display:none;

    position:absolute;

    z-index:999;

    top:50%;

    left:50%;


    transform:translate(-50%,-50%);


    background:rgba(0,0,0,.85);


    padding:15px 25px;


    border-radius:30px;


    font-weight:700;


}







/* CHANNELS */


.channels{

    max-width:1200px;

    margin:35px auto;

}




#channel-list{

    display:flex;

    flex-wrap:wrap;

    gap:15px;

}




.channel-btn{

    padding:14px 25px;

    border-radius:30px;

    cursor:pointer;


    background:#111;

    color:white;


    border:1px solid #333;


    font-weight:700;

}




.channel-btn.active{

    background:linear-gradient(
        90deg,
        #0088ff,
        #00cc88
    );

    border:none;

}







/* SHAKA CONTROLS FIX */


.shaka-controls-container{

    z-index:10;

}



.shaka-video-container .shaka-spinner-container{

    display:none!important;

}







/* MOBILE */


@media(max-width:600px){


.watch-header{

    padding:0 15px;

}



.logo{

    font-size:22px;

}



main{

    padding:15px;

}



.match-header{

    flex-direction:column;

    align-items:flex-start;

}



#match-image{

    width:100%;

    height:180px;

}



.match-info h1{

    font-size:24px;

}



.channel-btn{

    width:100%;

}



}
