/* MAIS TUNER 24.200.61 — no app, nome de música, artista, rádio e podcast nunca corta: quebra linha.
   Só vale com html.mt-app; o site segue com as próprias regras. */
html.mt-app :is(
  .pa-artist,.pa-mini-where,.pa-mini-copy strong,.pa-mini-artist,.pa-up strong,.pa-up small,.pa-m-copy strong,.pa-m-copy small,
  .mtr-live-station,.mtr-live-track,.mtr-strip-item>span:last-child,.mtr-card-copy small,.mtr-sheet-item>span:last-child,
  .mtr-pn-copy small,.mtr-recent-name,.mtr-strip-item>.mtr-strip-name,.mtr-compact-copy strong,.mtr-compact-copy small,
  .mtr-history-copy .history-title,.mtr-history-copy .history-artist,.mt-app-now-station,.mini-track,
  #miniPlayer .mt-mini-title,#miniPlayer .mt-mini-sub,.mtr-tab-now p,.rg-slot-name,
  .mtst-who strong,.mtst-who small,.mtst-tops strong,.mtst-tops small,.mtfan-top strong,.mtfan-top small,
  .pod-resume-copy strong,.pod-card-copy small,.pod-player-copy strong,.pod-now-from strong,.pod-now-copy small,
  .rqi-title,.rqi-artist
){white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere}
html.mt-app :is(
  .pa-title,.mtr-card-copy strong,.mtr-strip-now small,.mt-app-now-track,.mt-app-now-station,.mtr-tab-now h2,.mtr-pn-copy strong,
  .pod-card-copy strong,.pod-now-copy strong,.pod-ep-copy strong
){display:block!important;-webkit-line-clamp:unset!important;line-clamp:unset!important;white-space:normal!important;overflow:visible!important;overflow-wrap:anywhere}

/* título do player: quanto mais longo, menor a letra, para caber inteiro sem empurrar os controles */
html.pa-on:not(.mt-tab) .pa-title[data-len="l"]{font-size:clamp(20px,6.2vw,25px)}
html.pa-on:not(.mt-tab) .pa-title[data-len="x"]{font-size:clamp(18px,5.2vw,21px)}
@media (max-height:520px) and (orientation:landscape){
  html.pa-on:not(.mt-tab) .pa-title{font-size:clamp(20px,6.6dvh,27px);line-height:1.12}
  html.pa-on:not(.mt-tab) .pa-title[data-len="l"]{font-size:clamp(18px,5.6dvh,22px)}
  html.pa-on:not(.mt-tab) .pa-title[data-len="x"]{font-size:clamp(16px,4.6dvh,18px)}
}
/* cabeçalho pequeno do painel: o painel desce o que for preciso (--pa-mini-extra, medido no player) */
html.pa-on .pa-mini-copy strong{line-height:1.14}
html.pa-on:not(.mt-tab) .pa-mini-copy strong{font-size:17px}
html.pa-on .pa-mini-artist{line-height:1.2}
html.pa-on .pa-mini-copy small{align-items:flex-start}
html.pa-on .pa-mini-copy small i{margin-top:4px}
/* faixa de próximas: cada cartão cresce até 150 px, e o nome quebra em vez de cortar */
html.pa-on .pa-strip-row{align-items:flex-start}
html.pa-on .pa-up{width:auto;min-width:88px;max-width:150px}
html.pa-on .pa-up strong{line-height:1.15}
html.pa-on .pa-up small{margin-top:1px;line-height:1.15}
html.pa-on .pa-strip{min-height:112px}
/* Linha do tempo: a linha acompanha o nome inteiro */
html.pa-on .replay-queue-item{height:auto!important;min-height:64px}
/* sem anúncio, o botão do codec fica na mesma linha do artista: o nome quebra antes dele, sem passar por baixo */
html.pa-on .pa-main.no-ad .pa-artist{padding-right:calc(var(--pa-codec-w,135px) - 48px)}
/* celular estreito: as 4 abas numa linha só, sem nome pela metade */
@media (max-width:380px) and (orientation:portrait){
  html.pa-on:not(.mt-tab) .pa:not(.is-talk) .pa-tabs:has([data-pa="tab-ped"]:not([hidden])){gap:9px;font-size:13.5px}
  html.pa-on:not(.mt-tab) .pa:not(.is-talk) .pa-tabs .pa-count{min-width:18px;height:18px;font-size:11px}
}
