/* MAIS TUNER 24.41 — Podcasts revisados (celular primeiro).
   "Continuar ouvindo", capas reserva na cor da marca, selo de episódios fora da
   capa e a página do programa refeita (capa grande sobre a cor da marca,
   apresentadores, horários agrupados, episódios com progresso). */

/* ================================================================ capa reserva */
.pod-fallback{position:relative;display:grid;place-items:center;width:100%;height:100%;aspect-ratio:1;overflow:hidden;border-radius:inherit;box-sizing:border-box;padding:16%;color:#fff;isolation:isolate}
.pod-fallback::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,transparent 40%,rgba(3,14,30,.55))}
.pod-fallback img{position:absolute;inset:18% 18% 34%;width:64%;height:48%;object-fit:contain;filter:drop-shadow(0 8px 16px rgba(0,0,0,.35))}
.pod-fallback b{position:absolute;left:10%;bottom:8%;font:900 clamp(14px,22%,40px)/1 "NRK Sans","Reddit Sans",sans-serif;letter-spacing:-.03em;text-shadow:0 2px 10px rgba(0,0,0,.45)}

/* ================================================================ lista de programas */
#podcastsPage .podcast-copy .podcast-episodes-badge{position:static!important;display:inline-flex!important;margin-top:6px;padding:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:#ff6b7a!important;font-size:11px!important;font-weight:850!important;letter-spacing:.02em!important}
#podcastsPage .podcast-cover-fallback::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(3,14,30,.6))}
#podcastsPage .podcast-cover-fallback strong{z-index:1}
.podcasts-feature-art.is-fallback{display:grid;place-items:center}
.podcasts-feature-logo{position:absolute;inset:16% 16% 32%;width:68%!important;height:52%!important;object-fit:contain!important;filter:drop-shadow(0 8px 16px rgba(0,0,0,.35))}
.podcasts-feature-initials{position:absolute;left:10px;bottom:8px;color:#fff;font:900 22px/1 "NRK Sans","Reddit Sans",sans-serif;text-shadow:0 2px 10px rgba(0,0,0,.5)}

/* "Continuar ouvindo" */
.pod-resume[hidden]{display:none!important}
.pod-resume{position:relative;isolation:isolate;display:grid;grid-template-columns:72px minmax(0,1fr) 46px;align-items:center;gap:14px;width:100%;margin:0 0 16px;padding:12px;overflow:hidden;
  border:1px solid rgba(255,255,255,.12);border-radius:22px;background:#0b2340;color:#fff;text-align:left;cursor:pointer;font-family:"NRK Sans","Reddit Sans",sans-serif;-webkit-tap-highlight-color:transparent}
.pod-resume::before{content:'';position:absolute;inset:0;z-index:-1;background:var(--pod-brand,#173b63);opacity:.38}
.pod-resume::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(6,20,40,.25),rgba(6,20,40,.82))}
.pod-resume:active{transform:scale(.99)}
.pod-resume-art{display:block;width:72px;height:72px;border-radius:14px;overflow:hidden;box-shadow:0 12px 24px -14px rgba(0,0,0,.9)}
.pod-resume-art img{display:block;width:100%;height:100%;object-fit:cover}
.pod-resume-copy{min-width:0}
.pod-resume-copy small{display:block;color:#5fffc0;font-size:11px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
.pod-resume-copy strong{display:-webkit-box;margin-top:3px;font-size:16px;font-weight:850;line-height:1.2;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pod-resume-copy>span{display:block;margin-top:3px;color:#a9bfd9;font-size:12.5px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pod-resume-bar{display:block;height:4px;margin-top:8px;border-radius:4px;background:rgba(255,255,255,.16);overflow:hidden}
.pod-resume-bar b{display:block;width:var(--p,0%);height:100%;border-radius:4px;background:#5fffc0}
.pod-resume-play{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#ff4d5e;box-shadow:0 10px 20px -10px rgba(255,77,94,.9)}
.pod-resume-play svg{width:20px;height:20px;fill:#fff}
html[data-site-theme="light"] .pod-resume{background:#fff;color:#0d2640;border-color:rgba(13,38,64,.1)}
html[data-site-theme="light"] .pod-resume::after{background:linear-gradient(90deg,rgba(255,255,255,.2),rgba(255,255,255,.9))}
html[data-site-theme="light"] .pod-resume-copy>span{color:#566d86}
html[data-site-theme="light"] .pod-resume-copy small{color:#0f9d74}

/* ================================================================ página do programa (todas as larguras) */
.podcast-detail-overlay.pod-v2 .podcast-detail-visual{background:var(--pod-brand,#132f52)!important}
.podcast-detail-overlay.pod-v2 .podcast-detail-visual img[hidden]{display:none!important}
.podcast-detail-overlay.pod-v2 .podcast-detail-visual .pod-fallback{position:absolute;inset:0;aspect-ratio:auto;padding:8% 30%}
@media (max-width:760px){
.podcast-detail-overlay.pod-v2 .podcast-detail-visual{position:relative;isolation:isolate;display:grid;place-items:center;overflow:hidden}
.podcast-detail-overlay.pod-v2 .podcast-detail-visual::before{content:'';position:absolute;inset:-40px;z-index:-1;background-image:var(--pod-art,none);background-size:cover;background-position:center;filter:blur(40px) saturate(1.4);opacity:.55}
.podcast-detail-overlay.pod-v2 .podcast-detail-visual::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(4,16,34,.12),rgba(4,16,34,.7))}
.podcast-detail-overlay.pod-v2 .podcast-detail-visual img#podcastDetailImage,
.podcast-detail-overlay.pod-v2 .podcast-detail-visual .pod-fallback{position:relative;inset:auto;width:min(240px,46%)!important;height:auto!important;aspect-ratio:1;object-fit:cover;border-radius:22px;box-shadow:0 26px 50px -22px rgba(0,0,0,.9);margin:28px 0;padding:16%}
.podcast-detail-overlay.pod-v2 .podcast-detail-visual img#podcastDetailImage{padding:0}
}
.podcast-detail-overlay.pod-v2 .pod-desc:not(.is-open){display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.pod-more{margin:6px 0 0;padding:0;border:0;background:none;color:#5fffc0;font:800 13px "NRK Sans","Reddit Sans",sans-serif;cursor:pointer}
.pod-hosts{margin:18px 0 4px}
.pod-hosts-label{display:block;margin-bottom:10px;color:#8fa8c9;font-size:11px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
.pod-hosts-row{display:flex;flex-wrap:wrap;gap:14px}
.pod-host{display:flex;align-items:center;gap:9px;min-width:0;font-size:14px;font-weight:800}
.pod-host-photo{position:relative;display:grid;place-items:center;width:46px;height:46px;flex:none;border-radius:50%;overflow:hidden;background:linear-gradient(145deg,#1b4f9c,#0b2a58);box-shadow:0 0 0 2px rgba(95,255,192,.55)}
.pod-host-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:var(--pos,center)}
.pod-host-photo b{color:#fff;font-size:15px;font-weight:900}
.pod-host-photo img+b{display:none}
.podcast-detail-overlay.pod-v2.pod-has-episodes .podcast-availability,.podcast-detail-overlay.pod-v2.pod-no-source .podcast-availability{display:none}
.podcast-detail-copy .pod-hosts-label{font-size:11px!important;color:#8fa8c9!important}
.pod-sched{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
.pod-sched-row{position:relative;padding:12px 14px;border-radius:18px;background:#0f2c4d;overflow:hidden}
.pod-sched-row::before{content:'';position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--pod-brand,#5fffc0)}
.pod-sched-head{display:flex;align-items:center;gap:11px;min-width:0}
.pod-sched-logo{display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:10px;overflow:hidden;padding:5px;box-sizing:border-box;background:var(--pod-brand,#173b63)}
.pod-sched-logo img{width:100%;height:100%;object-fit:contain}
.pod-sched-head div{min-width:0}
.pod-sched-head strong{display:block;color:#fff;font-size:15px;font-weight:850}
.podcast-detail-copy .pod-sched-head small,.pod-sched-head small{display:block!important;margin-top:3px!important;color:#93abc8!important;font-size:12.5px!important;font-weight:650!important;line-height:1.4!important;letter-spacing:0!important;text-transform:none!important}
.pod-sched-slots{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.pod-sched-slots span{display:inline-flex;align-items:baseline;gap:7px;padding:6px 10px;border-radius:999px;background:rgba(95,255,192,.1)}
.pod-sched-slots b{color:#65efc4;font-size:13px;font-weight:900;font-variant-numeric:tabular-nums}
.pod-sched-slots em{color:#b7c8dc;font-size:12px;font-style:normal;font-weight:700}
.podcast-episode-item{position:relative}
.podcast-episode-item .pod-fallback{width:52px;height:52px;border-radius:12px;padding:8px}
.podcast-episode-item .pod-fallback b{font-size:13px}
.pod-ep-bar{display:block;text-decoration:none;position:absolute;left:72px;right:56px;bottom:7px;height:3px;border-radius:3px;background:rgba(255,255,255,.12);overflow:hidden}
.pod-ep-bar::after{content:'';position:absolute;inset:0 auto 0 0;width:var(--p,0%);background:#5fffc0}
.podcast-episode-item.is-done{opacity:.7}
.podcast-native-art.is-broken{visibility:hidden}

/* ================================================================ página do programa no celular (site e app) */
@media (max-width:760px){
  html body .podcast-detail-overlay.pod-v2{place-items:stretch!important;align-items:stretch!important;padding:0!important;background:#06162a!important;overflow:auto!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
  html body .podcast-detail-overlay.pod-v2 .podcast-detail{width:100%!important;max-width:none!important;max-height:none!important;min-height:100dvh;border-radius:0!important;overflow:visible!important;background:#06162a!important;box-shadow:none!important}
  html body .podcast-detail-overlay.pod-v2 .podcast-detail-visual{aspect-ratio:auto!important;min-height:0;border-radius:0!important;padding:calc(env(safe-area-inset-top) + 44px) 0 34px}
  html body .podcast-detail-overlay.pod-v2 .podcast-detail-visual img#podcastDetailImage,
  html body .podcast-detail-overlay.pod-v2 .podcast-detail-visual .pod-fallback{width:min(62vw,250px)!important;margin:0}
  html body .podcast-detail-overlay.pod-v2 .podcast-detail-close{position:fixed!important;left:14px!important;right:auto!important;top:calc(10px + env(safe-area-inset-top))!important;z-index:5;width:44px!important;height:44px!important;border-radius:50%!important;background:rgba(4,20,40,.62)!important;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);font-size:0!important}
  html body .podcast-detail-overlay.pod-v2 .podcast-detail-close::before{content:'';width:12px;height:12px;border:solid #fff;border-width:0 2.5px 2.5px 0;transform:translateY(-3px) rotate(45deg)}
  html body .podcast-detail-overlay.pod-v2 .podcast-detail-copy{position:relative;margin-top:-18px;padding:22px 18px 0!important;border-radius:24px 24px 0 0;background:#06162a}
  html body .podcast-detail-overlay.pod-v2 .podcast-detail-copy small#podcastDetailStation{display:inline-block;padding:5px 10px;border-radius:999px;background:rgba(95,255,192,.12);font-size:10.5px!important;letter-spacing:.1em!important}
  html body .podcast-detail-overlay.pod-v2 .podcast-detail-copy h2{margin:10px 0 10px!important;font-size:clamp(28px,8.5vw,38px)!important;line-height:1.05!important}
  html body .podcast-detail-overlay.pod-v2 #podcastDetailDescription{font-size:15px!important;line-height:1.55!important;color:#b9c9dc!important}
  html body .podcast-detail-overlay.pod-v2 .podcast-availability{margin:16px 0!important;padding:12px 14px!important;border-radius:16px!important;font-size:13px!important;line-height:1.45!important}
  html body .podcast-detail-overlay.pod-v2 .podcast-schedule{margin:18px 0!important;padding:14px!important;border-radius:22px!important}
  html body .podcast-detail-overlay.pod-v2 .podcast-schedule-head strong{font-size:17px!important}
  html body .podcast-detail-overlay.pod-v2 .podcast-schedule-head span{font-size:10px!important}
  html body .podcast-detail-overlay.pod-v2 .podcast-episode-base{margin:18px 0!important;padding:14px!important;border-radius:22px!important}
  html body .podcast-detail-overlay.pod-v2 .podcast-episode-head{flex-direction:column;align-items:flex-start;gap:3px}
  html body .podcast-detail-overlay.pod-v2 .podcast-episode-head strong{font-size:17px!important}
  html body .podcast-detail-overlay.pod-v2 .podcast-episode-head span{font-size:10px!important}
  html body .podcast-detail-overlay.pod-v2 .podcast-native-copy strong{font-size:15px!important}
  html body .podcast-detail-overlay.pod-v2 .podcast-native-copy span,html body .podcast-detail-overlay.pod-v2 .podcast-native-copy small{font-size:11px!important}
  html body .podcast-detail-overlay.pod-v2 .podcast-episode-list{max-height:none!important;overflow:visible!important}
  html body .podcast-detail-overlay.pod-v2 .podcast-episode-item{font-size:14px!important}
  html body .podcast-detail-overlay.pod-v2 .podcast-episode-status{font-size:13px!important}
  /* ação principal presa embaixo */
  html body .podcast-detail-overlay.pod-v2 .podcast-actions{position:sticky;bottom:0;z-index:4;display:grid!important;grid-auto-flow:column;grid-auto-columns:1fr;gap:10px;margin:14px -18px 0!important;padding:12px 18px calc(12px + env(safe-area-inset-bottom))!important;background:linear-gradient(180deg,rgba(6,22,42,0),#06162a 30%)}
  html body .podcast-detail-overlay.pod-v2 .podcast-action{min-height:50px!important;border-radius:999px!important;font-size:15px!important;font-weight:850!important;display:grid!important;place-items:center;text-align:center;line-height:1.15!important;padding:0 12px!important}
  html body .podcast-detail-overlay.pod-v2 .podcast-action[hidden]{display:none!important}
  html body .podcast-detail-overlay.pod-v2 #podcastDetailDismiss{display:none!important}
  html body .podcast-detail-overlay.pod-v2 #podcastOfficialLink{font-size:13px!important;text-decoration:none!important;background:rgba(255,255,255,.08)!important;color:#fff!important;border:1px solid rgba(255,255,255,.18)!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;padding:8px 12px!important;align-content:center}
  /* no app, o mini player e as abas não cobrem a página */
  html.mt-app body .podcast-detail-overlay.pod-v2{z-index:1260!important}
}
html[data-site-theme="light"] .pod-sched-row{background:#eef3f9}
html[data-site-theme="light"] .pod-sched-head strong{color:#0d2640}
@media (prefers-reduced-motion:reduce){.pod-resume:active{transform:none}}

/* 24.41.1: a faixa de filtros do app ia até a borda da tela e era cortada pela
   moldura da página (o "Todos" ficava torto, colado à esquerda) */
html.mt-app body #podcastsPage .podcasts-filters{padding-left:24px!important;padding-right:24px!important;scroll-padding-inline:24px}
.podcasts-feature-initials{position:absolute;left:10px;bottom:8px;padding:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:#fff;font:900 22px/1 "NRK Sans","Reddit Sans",sans-serif;text-shadow:0 2px 10px rgba(0,0,0,.5);min-height:0!important}


/* 24.42.1: o título "Podcasts" do cabeçalho do app ficava empurrado para a
   direita (uma regra antiga põe margin-left:auto). Agora fica no centro da tela. */
html.mt-app body #podcastsPage .podcasts-topbar .podcasts-topbrand{justify-self:center!important;justify-content:center!important;margin:0!important;text-align:center!important}
html.mt-app body #podcastsPage .podcasts-topbar .podcasts-topbrand > div{text-align:center!important}
