/* Long song titles and long artist lists never pile up (Daniel, 17 Nov 2026).
   Loaded after site.css. Only limits lines: the full text stays in the element's tooltip. */

/* On air card: at most 3 lines of title (a smaller size when it is long), 2 of artists */
.x-card h2#t0n{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;overflow-wrap:anywhere}
.x-card h2#t0n.x-long{font-size:clamp(32px,3.4vw,50px)}
.x-card h2#t0n.x-xlong{font-size:clamp(26px,2.8vw,40px)}
.x-card #t0a{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}

/* Just played: 2 lines of title, 1 of artists */
.x-just b,.x-just span{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;min-width:0}
.x-just b{-webkit-line-clamp:2}
.x-just span{-webkit-line-clamp:1}

/* Bottom player: title already 2 lines; artists on one line */
.top-player .tp-title{overflow-wrap:anywhere}
.top-player .tp-artist{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
