.tv-box,
.tv-wrap{
display:flex;
background:#000;
border:1px solid #222;
border-radius:4px;
overflow:hidden;
height:520px;
max-width:100%;
font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
} .tv-main,
.tv-player{
flex:2.3;
background:#000;
position:relative;
min-height:1px; }
.tv-main iframe,
.tv-player iframe{
width:100%;
height:100%;
position:absolute;
top:0;
left:0;
border:0;
} .tv-list{
flex:1;
background:#111;
overflow-y:auto;
border-left:1px solid #222;
display:flex;
flex-direction:column;
}
.tv-header{
background:#1a1a1a;
color:#fff;
padding:15px;
font-size:13px;
font-weight:700;
text-transform:uppercase;
border-bottom:1px solid #282828;
position:sticky;
top:0;
z-index:10;
}
.tv-item{
display:flex;
padding:12px;
border-bottom:1px solid #1f1f1f;
cursor:pointer;
transition:background .2s;
align-items:center;
}
.tv-item:hover,.tv-item.active{background:#222;}
.tv-number{
color:#666;
font-size:12px;
font-weight:700;
width:25px;
text-align:center;
flex-shrink:0;
}
.tv-thumb{
width:110px;
height:62px;
position:relative;
flex-shrink:0;
margin-right:12px;
}
.tv-thumb img{
width:100%;
height:100%;
object-fit:cover;
border-radius:3px;
display:block;
}
.tv-duration{
position:absolute;
bottom:3px;
right:3px;
background:rgba(0,0,0,.8);
color:#fff;
font-size:10px;
padding:2px 4px;
border-radius:2px;
line-height:1;
}
.tv-info h4{
margin:0;
color:#eee;
font-size:13px;
line-height:1.35;
font-weight:500;
display:-webkit-box;
-webkit-line-clamp:2;
-webkit-box-orient:vertical;
overflow:hidden;
} @media (max-width:900px){
.tv-box,
.tv-wrap{
flex-direction:column;
height:auto;
}
.tv-main,
.tv-player{
height:250px; width:100%;
position:relative;
}
.tv-main iframe,
.tv-player iframe{
position:relative; height:250px;
}
.tv-list{
max-height:400px;
border-left:none;
border-top:1px solid #222;
}
}