/* Videos and Compare tabs (js/tabs/videos.js, js/tabs/compare.js) */

/* --- Videos: filter row, the table (no box, like the app), the picked video's badges and growth chart */
.vd-top { flex-shrink: 0; gap: 10px; white-space: nowrap; }
.vd-top .rf-seg { margin-right: 14px; }
.vd-top [data-count] { margin-left: 10px; }
.vd-table { flex: 1.5; min-height: 0; overflow-y: auto; }
.vd-table thead th { position: sticky; top: 0; z-index: 1; background: var(--bg); }
.vd-table thead th:hover { background: var(--panel-2); }
.vd-table thead th .arrow { color: var(--green); }
.vd-badges { flex-shrink: 0; min-height: 17px; }
.vd-detail { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 2px; padding: 6px 10px 4px; }
.vd-chart { flex: 1; min-height: 0; }

/* --- Compare: the episode list on the left, scoreboard bars and four small charts on the right */
.cp { flex: 1; min-height: 0; display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 10px; margin-top: 4px; }
.cp-list { display: flex; flex-direction: column; padding: 10px 6px 6px; }
.cp-list > .bt.muted { color: var(--muted); }
.cp-items { flex: 1; min-height: 0; overflow-y: auto; }
.cp-item { display: flex; gap: 10px; padding: 1px 6px; cursor: pointer; white-space: nowrap; }
.cp-item:hover { background: #141922; }
.cp-item.on { background: #1d5e3d; }
.cp-item.on .green { color: var(--bright); }
.cp-right { display: flex; flex-direction: column; gap: 10px; min-height: 0; min-width: 0; }
.cp-board { flex-shrink: 0; display: flex; flex-direction: column; gap: 8px; padding: 8px 12px 10px; }
.cp-group { display: flex; flex-direction: column; gap: 3px; }
.cp-board .hb { cursor: default; }
.cp-board .hb:hover .hb-t i { filter: brightness(1.2); }
.cp-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; }
.cp-cell { display: flex; flex-direction: column; gap: 2px; padding: 6px 10px 4px; min-height: 0; min-width: 0; }
.cp-chart { flex: 1; min-height: 0; }
