/* Tanro Music — bù CSS cho nhóm trang: lists (so với bản cũ) */

/* ---- Thẻ playlist / chi tiết playlist: số bài = số thứ tự của bài cuối trong vòng lặp related (các số trước ẩn đi) ---- */
.pl-cnt b { font-weight: inherit; }
.pl-cnt b:not(:last-of-type) { display: none; }
.pl-cnt:not(:has(b)) { display: none; }
.pl-cnt:not(:has(b)) + .pl-cnt__sep { display: none; }

/* ---- Danh sách playlist lọc theo tâm trạng (lọc trong vòng lặp): lưới rỗng → hiện thông báo trống ---- */
.pl-moodgrid:not(:has(.card)) { display: none; }
.pl-moodempty { display: none; }
.pl-moodgrid:not(:has(.card)) + .pl-moodempty { display: block; }
.grid--pl:not(:has(.card)) { display: none; }

/* ---- Tìm kiếm khi đang lọc thể loại / ngôn ngữ ---- */
[data-srch-results] .srch-sec--off,
[data-srch-results] .srch-sec:not(:has(.card)) { display: none; }
[data-srch-results] .srch-sec--lim .grid--search > .card:nth-child(n+6) { display: none; }
[data-srch-results] .srch-none { display: none; }
[data-srch-results]:not(:has(.srch-sec:not(.srch-sec--off) .card)) .srch-none { display: block; }

/* ---- Yêu thích: hàng chip thể loại / ngôn ngữ (ẩn bằng thuộc tính hidden do tanro-music.js đặt) ---- */
.favfilters[hidden], .favfilters [hidden] { display: none !important; }
.favfilters .chip .gi { width: 16px; height: 16px; flex: none; }
