/* MAIS TUNER 24.30 — Podcasts e Top Charts com cara de aplicativo.
   Só vale no MAIS TUNER App (html.mt-app); no site nada muda. */

/* ================================================================ Podcasts */
html.mt-app #podcastsPage{background:var(--app-bg)!important}
/* barra fixa no topo: voltar · título · perfil, e a busca logo abaixo */
html.mt-app #podcastsPage .podcasts-topbar{position:sticky!important;top:0;z-index:20;display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px!important;
  grid-template-areas:"back brand user" "search search search";align-items:center;gap:10px 8px!important;min-height:0!important;margin:0 -12px!important;
  padding:calc(8px + env(safe-area-inset-top)) 14px 12px!important;background:color-mix(in srgb,var(--app-bg) 88%,transparent)!important;
  -webkit-backdrop-filter:blur(20px) saturate(150%);backdrop-filter:blur(20px) saturate(150%);border-bottom:1px solid var(--app-line)}
html.mt-app #podcastsPage .podcasts-back{grid-area:back;width:42px;height:42px;border-radius:50%!important}
html.mt-app #podcastsPage .podcasts-topbrand{grid-area:brand;justify-self:center;display:flex!important}
html.mt-app #podcastsPage .podcasts-topbar .mt-user-chip{grid-area:user;justify-self:end}
html.mt-app #podcastsPage .podcasts-topbar .language-trigger{display:none!important}
html.mt-app #podcastsPage .podcasts-search{grid-area:search;height:44px!important;border-radius:999px!important;background:var(--app-card)!important;border:1px solid var(--app-line)!important}
html.mt-app #podcastsPage .podcasts-main{padding:0 12px!important}
html.mt-app #podcastsPage .podcasts-shell{width:100%!important;padding-top:14px}
/* abertura curta */
html.mt-app #podcastsPage .podcasts-hero{padding:4px 2px 14px!important;min-height:0!important}
html.mt-app #podcastsPage .podcasts-hero h1{margin:6px 0 0!important;font-size:30px!important;line-height:1.02!important}
html.mt-app #podcastsPage .podcasts-hero p,html.mt-app #podcastsPage .podcasts-notice{display:none!important}
/* destaque em cartão largo, capa grande */
html.mt-app #podcastsPage .podcasts-feature{grid-template-columns:118px minmax(0,1fr)!important;gap:14px!important;padding:12px!important;margin:0 0 16px!important;border-radius:24px!important}
html.mt-app #podcastsPage .podcasts-feature-art{border-radius:18px!important}
/* filtros fixos logo abaixo da barra */
html.mt-app #podcastsPage .podcasts-filters{position:sticky;top:calc(118px + env(safe-area-inset-top));z-index:15;margin:0 -12px 6px!important;padding:8px 12px!important;
  background:color-mix(in srgb,var(--app-bg) 92%,transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:none}
html.mt-app #podcastsPage .podcasts-filters::-webkit-scrollbar{display:none}
html.mt-app #podcastsPage .podcasts-filter{flex:none;min-height:36px!important;padding:0 14px!important;border-radius:999px!important;font-size:13px!important}
/* trilhas no ritmo de app: capas quadradas de 150 px, título em 2 linhas */
html.mt-app #podcastsPage .podcasts-rails{gap:26px!important}
html.mt-app #podcastsPage .podcast-rail-head h2{font-size:20px!important;letter-spacing:-.02em}
html.mt-app #podcastsPage .podcast-rail-track{grid-auto-columns:150px!important;gap:12px!important;margin:0 -12px!important;padding:2px 12px 8px!important;scroll-padding-inline:12px}
html.mt-app #podcastsPage .podcast-card{border-radius:0!important;background:none!important;box-shadow:none!important;overflow:visible!important}
html.mt-app #podcastsPage .podcast-cover-wrap{width:150px!important;height:150px!important;border-radius:18px!important;overflow:hidden!important;box-shadow:0 14px 26px -18px rgba(0,0,0,.9)}
html.mt-app #podcastsPage .podcast-cover{width:100%!important;height:100%!important;object-fit:cover}
html.mt-app #podcastsPage .podcast-copy{padding:8px 2px 0!important;gap:3px!important}
html.mt-app #podcastsPage .podcast-card-title{font-size:14px!important;line-height:1.2!important;white-space:normal!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html.mt-app #podcastsPage :is(.podcast-card-description,.podcast-schedule-summary){display:none!important}
html.mt-app #podcastsPage .podcast-badge{font-size:9.5px!important;padding:3px 8px!important}
html.mt-app #podcastsPage .podcast-playhint{width:32px!important;height:32px!important;right:8px!important;bottom:8px!important}

/* ================================================================ Top Charts */
html.mt-app .charts-page{background:var(--app-bg)!important}
html.mt-app .charts-page .charts-backdrop{opacity:.7}
html.mt-app .charts-page .charts-shell{width:100%!important;padding:0 0 calc(var(--app-tabs-h) + var(--app-mini-h) + 20px)!important}
html.mt-app .charts-page .charts-topbar{margin:0;padding:calc(8px + env(safe-area-inset-top)) 14px 10px!important;min-height:0!important;grid-template-columns:44px 1fr 44px!important;
  background:color-mix(in srgb,var(--app-bg) 88%,transparent)!important;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-bottom:1px solid var(--app-line)}
html.mt-app .charts-page .charts-back{width:42px;height:42px;padding:0!important;justify-content:center;border-radius:50%}
html.mt-app .charts-page .charts-back span,html.mt-app .charts-page .charts-top-actions .language-trigger{display:none!important}
/* abertura vira um título curto */
html.mt-app .charts-page .charts-intro{padding:16px 16px 4px!important}
html.mt-app .charts-page .charts-intro h1{font-size:32px!important;margin:4px 0 0!important}
html.mt-app .charts-page .charts-intro p{display:none}
/* seletor: cubos menores numa faixa só */
html.mt-app .charts-page .charts-picker{padding:0 16px}
html.mt-app .charts-page .charts-picker-head h2{font-size:18px!important}
html.mt-app .charts-page .charts-tiles.grid.brand-view{grid-auto-columns:104px!important;gap:10px!important;margin:0 -16px!important;padding:6px 16px 12px!important}
html.mt-app .charts-page .charts-tiles .brand-tile-affiliate{min-height:26px;flex-basis:26px;font-size:13px}
/* palco: controles numa faixa rolável */
html.mt-app .charts-page .charts-stage{margin:6px 12px 0!important;padding:14px!important;border-radius:26px!important}
html.mt-app .charts-page .charts-controls{display:flex!important;flex-wrap:nowrap!important;gap:8px!important;overflow-x:auto;margin:0 -14px!important;padding:2px 14px 4px!important;scrollbar-width:none}
html.mt-app .charts-page .charts-controls::-webkit-scrollbar{display:none}
html.mt-app .charts-page :is(.charts-seg,.charts-by,.charts-days){flex:none!important;width:auto!important}
html.mt-app .charts-page :is(.charts-seg,.charts-by,.charts-days) button{padding:0 14px!important;min-height:36px!important;font-size:12.5px!important;white-space:nowrap}
/* estatísticas: cartões deslizáveis */
html.mt-app .charts-page .charts-stats{display:grid!important;grid-auto-flow:column;grid-template-columns:none!important;grid-auto-columns:138px;gap:10px!important;overflow-x:auto;margin:0 -14px 4px!important;padding:2px 14px 6px!important;scrollbar-width:none}
html.mt-app .charts-page .charts-stats::-webkit-scrollbar{display:none}
/* Top 5: o Nº 1 em destaque e do 2º ao 5º numa faixa de capas grandes */
html.mt-app .charts-page .charts-top5{display:block!important}
html.mt-app .charts-page .charts-top5>.charts-card.rank-1{margin-bottom:14px}
html.mt-app .charts-page .charts-top5-rest{display:grid!important;grid-auto-flow:column;grid-auto-columns:158px;gap:12px;overflow-x:auto;margin:0 -14px;padding:2px 14px 8px;scroll-snap-type:x proximity;scrollbar-width:none}
html.mt-app .charts-page .charts-top5-rest::-webkit-scrollbar{display:none}
html.mt-app .charts-page .charts-top5-rest>.charts-card{scroll-snap-align:start;min-width:0}
html.mt-app .charts-page .charts-top5-rest .charts-card-rank{font-size:64px!important}
html.mt-app .charts-page .charts-card.rank-1 .charts-card-rank{font-size:120px!important}
html.mt-app .charts-page .charts-top5-rest .charts-card-copy h4{font-size:15px!important}
html.mt-app .charts-page .charts-top5-rest .charts-card-copy p{font-size:12.5px!important}
/* 6–10 mais compacto */
html.mt-app .charts-page .charts-row{grid-template-columns:30px 52px minmax(0,1fr) 40px!important;gap:10px!important}
html.mt-app .charts-page .charts-row .charts-bar{display:none!important}
html.mt-app .charts-page .charts-row-rank{font-size:22px!important}
/* o .podcasts-main tinha overflow:hidden, que impede a barra de grudar no topo */
html.mt-app #podcastsPage .podcasts-main{overflow:visible!important;overflow-x:clip!important}
/* prévia do Nº 1: só o ícone no app */
html.mt-app .charts-page .charts-preview.is-big span{display:none}
html.mt-app .charts-page .charts-preview.is-big{width:52px!important;height:52px!important;padding:0!important;justify-content:center;border-radius:50%!important}
html.mt-app #podcastsPage .podcasts-topbar{background:var(--app-bg)!important}
html.mt-app #podcastsPage .podcasts-filters{background:var(--app-bg)!important;top:calc(116px + env(safe-area-inset-top))!important;box-shadow:0 10px 16px -14px rgba(0,0,0,.8)}
html.mt-app #podcastsPage :is(.podcasts-topbar,.podcasts-filters){margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;padding-left:14px!important;padding-right:14px!important}
html.mt-app #podcastsPage .podcasts-topbar{z-index:60!important}
html.mt-app #podcastsPage .podcasts-filters{z-index:55!important}
html.mt-app #podcastsPage .podcasts-shell{position:relative;z-index:1}
html.mt-app #podcastsPage :is(.podcasts-topbar,.podcasts-filters){width:auto!important;max-width:none!important;box-sizing:border-box}

/* 24.40: no app o perfil fica na aba Você; no topo do RadioVision o ícone quebrava linha e caía em cima do cartão */
html.mt-app .radiovision-topbar .mt-user-chip-radiovision{display:none!important}
