.tv-box {
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 { flex: 2.3; background: #000; position: relative; }
.tv-main iframe { width: 100%; height: 100%; position: absolute; top: 0; left: 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 0.2s; align-items: center; }
.tv-item:hover, .tv-item.active { background: #222; } .tv-number { color: #666; font-size: 12px; font-weight: bold; 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,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; }
.tv-list::-webkit-scrollbar { width: 6px; }
.tv-list::-webkit-scrollbar-track { background: #111; }
.tv-list::-webkit-scrollbar-thumb { background: #333; border-radius: 10px; }
@media (max-width: 900px) {
.tv-box { flex-direction: column; height: auto; }
.tv-main { height: 250px; position: relative; padding-bottom: 56.25%; }
.tv-list { max-height: 350px; }
}