/* Podcasts section (/podcasts) - see /js/podcasts.js */

.pod-app,
.pod-player,
.pod-video-panel,
.pod-toast {
  --pod-navy: #0a3161;
  --pod-navy-deep: #061c38;
  --pod-navy-soft: #e8eef6;
  --pod-red: #b31942;
  --pod-red-hover: #95133580;
  --pod-gold: #fdc600;
  --pod-text: #111827;
  --pod-muted: #6b7280;
  --pod-faint: #9ca3af;
  --pod-border: #e5e7eb;
  --pod-card: #ffffff;
  --pod-radius: 14px;
  --pod-radius-sm: 10px;
  --pod-shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.08);
  --pod-shadow-lg: 0 12px 32px rgba(6, 28, 56, 0.18);
  font-family: Helveticanowdisplay, Arial, sans-serif;
}

.pod-section {
  padding-top: 20px;
  padding-bottom: 64px;
}

body.pod-player-open .pod-section {
  padding-bottom: 140px;
}

.pod-app {
  color: var(--pod-text);
  font-size: 15px;
  line-height: 1.5;
  min-height: 60vh;
}

.pod-app a {
  color: inherit;
  text-decoration: none;
}

.pod-app h1,
.pod-app h2,
.pod-app h3 {
  font-family: Helveticanowdisplay, Arial, sans-serif;
  margin: 0;
  color: inherit;
}

.pod-app button,
.pod-player button,
.pod-video-panel button {
  font-family: inherit;
}

.pod-app :focus-visible,
.pod-player :focus-visible,
.pod-video-panel :focus-visible {
  outline: 3px solid var(--pod-gold);
  outline-offset: 2px;
}

.pod-ico {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: none;
}

.pod-app svg,
.pod-player svg,
.pod-video-panel svg,
.pod-toast svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

/* ── Masthead ──────────────────────────────────────────────────────────── */

.pod-masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.pod-masthead-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pod-masthead-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--pod-navy);
  color: var(--pod-gold);
  padding: 10px;
  box-sizing: border-box;
  flex: none;
}

.pod-masthead h1,
.pod-masthead-name {
  font-size: 30px;
  line-height: 1.1;
  font-weight: 700;
}

a.pod-masthead-title {
  color: var(--pod-text) !important;
  text-decoration: none;
}

a.pod-masthead-title:hover .pod-masthead-name {
  text-decoration: underline;
}

.pod-search {
  position: relative;
  flex: 0 1 360px;
  min-width: 220px;
}

.pod-search input {
  width: 100%;
  box-sizing: border-box;
  height: 44px;
  border: 1px solid var(--pod-border);
  border-radius: 999px;
  padding: 0 16px 0 42px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: var(--pod-text);
  box-shadow: var(--pod-shadow);
}

.pod-search input:focus {
  outline: none;
  border-color: var(--pod-navy);
  box-shadow: 0 0 0 3px rgba(10, 49, 97, 0.15);
}

.pod-search-icon {
  position: absolute;
  left: 14px;
  top: 12px;
  width: 20px;
  height: 20px;
  color: var(--pod-faint);
  pointer-events: none;
}

.pod-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--pod-navy) !important;
  font-weight: 500;
  margin-bottom: 16px;
}

.pod-back span {
  width: 18px;
  height: 18px;
}

/* ── Featured hero ─────────────────────────────────────────────────────── */

/* All slides share one grid cell, so the carousel is always as tall as its tallest slide instead of changing height
   from slide to slide. The hidden slides are only transparent, they still take up their space. */
.pod-hero {
  position: relative;
  display: grid;
  border-radius: 20px;
  overflow: hidden;
  background: var(--pod-navy-deep);
  color: #fff;
  min-height: 340px;
  margin-bottom: 36px;
  box-shadow: var(--pod-shadow-lg);
}

.pod-hero-slide {
  position: relative;
  grid-area: 1 / 1;
  display: grid;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s;
}

.pod-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.pod-blur-bg {
  position: absolute;
  inset: -40px;
  background-size: cover;
  background-position: center;
  filter: blur(48px) saturate(1.4);
  opacity: 0.75;
  transform: scale(1.1);
}

.pod-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(6, 28, 56, 0.96) 0%, rgba(6, 28, 56, 0.82) 45%, rgba(6, 28, 56, 0.45) 100%);
}

.pod-hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  align-items: center;
  padding: 44px 56px 56px;
  min-height: 340px;
  box-sizing: border-box;
}

.pod-hero-art {
  width: 240px;
  height: 240px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.pod-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pod-gold);
  margin-bottom: 10px;
}

/* Clamped, so that one very long title can't make the whole carousel tall */
.pod-hero h2 {
  font-size: 38px;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 8px;
  max-width: 720px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pod-hero-by {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  margin-bottom: 14px;
}

.pod-hero-by a:hover {
  text-decoration: underline;
}

.pod-hero-summary {
  color: rgba(255, 255, 255, 0.86);
  max-width: 640px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 22px;
}

.pod-hero-dots {
  position: absolute;
  left: 56px;
  bottom: 22px;
  display: flex;
  gap: 8px;
}

.pod-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: width 0.3s, background 0.3s;
}

.pod-hero-dot.is-active {
  width: 26px;
  background: var(--pod-gold);
}

.pod-hero-nav {
  position: absolute;
  right: 20px;
  bottom: 16px;
  display: flex;
  gap: 8px;
}

.pod-intro {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(120deg, var(--pod-navy-deep), var(--pod-navy) 60%, #16457f);
  color: #fff;
  padding: 44px 56px;
  margin-bottom: 36px;
}

.pod-intro h2 {
  font-size: 34px;
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 10px;
  max-width: 640px;
}

.pod-intro p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin: 0;
}

.pod-intro-waves {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  height: 180px;
  color: rgba(253, 198, 0, 0.18);
}

/* ── Buttons ───────────────────────────────────────────────────────────── */

.pod-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
  text-decoration: none;
}

.pod-btn:active {
  transform: scale(0.98);
}

.pod-btn .pod-ico {
  width: 18px;
  height: 18px;
}

.pod-btn-primary {
  background: var(--pod-red);
  color: #fff !important;
}

.pod-btn-primary:hover {
  background: #9a1538;
}

.pod-btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.35);
}

.pod-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

.pod-btn-ghost.is-on {
  background: #fff;
  color: var(--pod-navy) !important;
  border-color: #fff;
}

.pod-btn-outline {
  background: #fff;
  color: var(--pod-navy) !important;
  border-color: #cbd5e1;
}

.pod-btn-outline:hover {
  border-color: var(--pod-navy);
}

.pod-btn-outline.is-on {
  background: var(--pod-navy-soft);
  border-color: var(--pod-navy-soft);
}

.pod-btn-small {
  height: 36px;
  padding: 0 14px;
  font-size: 14px;
}

.pod-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.pod-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  padding: 9px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  box-sizing: border-box;
  flex: none;
}

.pod-icon-btn:hover {
  background: rgba(127, 127, 127, 0.16);
}

.pod-icon-btn.is-dark {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.pod-icon-btn.is-dark:hover {
  background: rgba(255, 255, 255, 0.26);
}

.pod-link {
  color: var(--pod-navy) !important;
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
}

.pod-link:hover {
  text-decoration: underline !important;
}

/* ── Sign-in banner ────────────────────────────────────────────────────── */

.pod-signin {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--pod-radius);
  background: var(--pod-navy-soft);
  margin-bottom: 36px;
}

.pod-signin-icon {
  width: 36px;
  height: 36px;
  color: var(--pod-navy);
  flex: none;
}

.pod-signin-text {
  flex: 1;
  color: var(--pod-navy);
}

.pod-signin-text strong {
  display: block;
  font-weight: 700;
}

/* ── Rows and grids ────────────────────────────────────────────────────── */

.pod-block {
  margin-bottom: 40px;
}

.pod-block-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.pod-block-head h2 {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
}

.pod-block-head p {
  margin: 2px 0 0;
  color: var(--pod-muted);
  font-size: 14px;
}

.pod-block-tools {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pod-block-tools .pod-link {
  margin-left: 10px;
}

.pod-scroll-btn {
  width: 34px;
  height: 34px;
  padding: 7px;
  border: 1px solid var(--pod-border);
  background: #fff;
  color: var(--pod-text);
}

.pod-scroll-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.pod-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 184px;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 10px;
  margin: -4px -2px 0;
  scrollbar-width: none;
}

.pod-scroller::-webkit-scrollbar {
  display: none;
}

.pod-scroller > * {
  scroll-snap-align: start;
}

.pod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 28px 20px;
}

/* ── Cards (an episode or a podcast) ───────────────────────────────────── */

.pod-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pod-art {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--pod-radius-sm);
  overflow: hidden;
  background: linear-gradient(135deg, #dbe4f0, #c3d0e2);
  box-shadow: var(--pod-shadow);
}

.pod-art > a {
  display: block;
  width: 100%;
  height: 100%;
}

.pod-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.pod-card:hover .pod-art img {
  transform: scale(1.04);
}

.pod-art-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pod-navy);
  opacity: 0.4;
  padding: 30%;
}

.pod-card-play {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  padding: 12px;
  background: var(--pod-red);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s;
  box-sizing: border-box;
}

.pod-card:hover .pod-card-play,
.pod-card-play:focus-visible,
.pod-card-play.is-playing,
.w-mod-touch .pod-card-play {
  opacity: 1;
  transform: none;
}

.pod-card-badge {
  position: absolute;
  left: 8px;
  top: 8px;
}

.pod-card-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: rgba(0, 0, 0, 0.35);
}

.pod-card-progress span {
  display: block;
  height: 100%;
  background: var(--pod-gold);
}

.pod-card-title {
  margin-top: 10px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pod-card-title a:hover {
  text-decoration: underline;
}

.pod-card-sub {
  color: var(--pod-muted);
  font-size: 13px;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pod-card-sub a:hover {
  text-decoration: underline;
}

.pod-card-meta {
  color: var(--pod-faint);
  font-size: 12px;
  margin-top: 2px;
}

.pod-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 20px;
  padding: 0 7px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(6, 28, 56, 0.85);
  color: #fff;
  vertical-align: middle;
}

.pod-badge .pod-ico {
  width: 12px;
  height: 12px;
}

.pod-badge-light {
  background: var(--pod-navy-soft);
  color: var(--pod-navy);
}

.pod-badge-explicit {
  background: #e5e7eb;
  color: #374151;
}

/* ── Categories ────────────────────────────────────────────────────────── */

.pod-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pod-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--pod-border);
  background: #fff;
  color: var(--pod-text) !important;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.pod-chip:hover {
  border-color: var(--pod-navy);
}

.pod-chip.is-active {
  background: var(--pod-navy);
  border-color: var(--pod-navy);
  color: #fff !important;
}

.pod-chip small {
  color: var(--pod-faint);
  font-size: 12px;
}

.pod-chip.is-active small {
  color: rgba(255, 255, 255, 0.7);
}

.pod-chip.is-dark {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff !important;
  height: 28px;
  font-size: 13px;
}

/* ── Show and episode headers ──────────────────────────────────────────── */

.pod-header {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--pod-navy-deep);
  color: #fff;
  margin-bottom: 32px;
  box-shadow: var(--pod-shadow-lg);
}

.pod-header-inner {
  position: relative;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 36px 40px;
  align-items: end;
}

.pod-header-art {
  width: 220px;
  height: 220px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.pod-header h1 {
  font-size: 36px;
  line-height: 1.12;
  font-weight: 700;
  margin-bottom: 6px;
}

.pod-header-by {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
}

.pod-header-by a {
  color: #fff;
  font-weight: 500;
}

.pod-header-by a:hover {
  text-decoration: underline;
}

.pod-header-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  margin-bottom: 18px;
}

.pod-header-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.pod-about {
  margin-top: 4px;
}

.pod-about-text {
  color: var(--pod-text);
  max-width: 820px;
}

.pod-about-text.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pod-more-link {
  background: none;
  border: 0;
  padding: 0;
  margin-top: 6px;
  color: var(--pod-navy);
  font-weight: 500;
  cursor: pointer;
  font-size: 14px;
}

.pod-rich p {
  margin: 0 0 12px;
}

.pod-rich a {
  color: var(--pod-navy) !important;
  text-decoration: underline !important;
  word-break: break-word;
}

.pod-rich ul,
.pod-rich ol {
  margin: 0 0 12px;
  padding-left: 22px;
}

/* ── Episode lists ─────────────────────────────────────────────────────── */

.pod-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}

.pod-panel {
  background: var(--pod-card);
  border: 1px solid var(--pod-border);
  border-radius: var(--pod-radius);
  padding: 20px;
}

.pod-panel + .pod-panel {
  margin-top: 20px;
}

.pod-panel h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.pod-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.pod-tabs {
  display: inline-flex;
  background: #eef1f5;
  border-radius: 999px;
  padding: 4px;
}

.pod-tab {
  border: 0;
  background: transparent;
  height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--pod-muted);
  cursor: pointer;
}

.pod-tab.is-active {
  background: #fff;
  color: var(--pod-navy);
  box-shadow: var(--pod-shadow);
}

.pod-toolbar-right {
  display: flex;
  gap: 8px;
  align-items: center;
}

.pod-select,
.pod-input {
  height: 38px;
  border: 1px solid var(--pod-border);
  border-radius: 10px;
  padding: 0 12px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: var(--pod-text);
}

.pod-input {
  width: 200px;
}

.pod-episode-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pod-episode {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--pod-border);
}

.pod-episode:last-child {
  border-bottom: 0;
}

.pod-episode-art {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  background: #dbe4f0;
}

.pod-episode-meta {
  color: var(--pod-muted);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: center;
}

.pod-episode-meta a:hover {
  text-decoration: underline;
}

.pod-episode-title {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  margin: 2px 0 3px;
}

.pod-episode-title a:hover {
  text-decoration: underline;
}

.pod-episode-summary {
  color: var(--pod-muted);
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pod-episode-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  min-width: 96px;
}

.pod-episode-status {
  font-size: 12px;
  color: var(--pod-muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}

.pod-episode-status .pod-ico {
  width: 16px;
  height: 16px;
  color: #15803d;
}

.pod-mini-progress {
  width: 96px;
  height: 4px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

.pod-mini-progress span {
  display: block;
  height: 100%;
  background: var(--pod-red);
}

.pod-round-play {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1.5px solid var(--pod-navy);
  background: #fff;
  color: var(--pod-navy);
  padding: 12px;
  cursor: pointer;
  box-sizing: border-box;
  transition: background 0.15s, color 0.15s;
  flex: none;
}

.pod-round-play:hover,
.pod-round-play.is-playing {
  background: var(--pod-navy);
  color: #fff;
}

.pod-compact .pod-episode {
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
}

.pod-compact .pod-episode-art {
  width: 48px;
  height: 48px;
}

.pod-compact .pod-episode-title {
  font-size: 14px;
}

.pod-list-footer {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

/* ── Empty / loading / error states ────────────────────────────────────── */

.pod-empty {
  text-align: center;
  padding: 64px 20px;
  color: var(--pod-muted);
}

.pod-empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  color: #cbd5e1;
}

.pod-empty h2,
.pod-empty h3 {
  color: var(--pod-text);
  font-size: 22px;
  margin-bottom: 6px;
}

.pod-empty p {
  max-width: 440px;
  margin: 0 auto 18px;
}

.pod-skel {
  background: linear-gradient(90deg, #eceff3 25%, #f5f7fa 37%, #eceff3 63%);
  background-size: 400% 100%;
  animation: pod-shimmer 1.4s ease infinite;
  border-radius: var(--pod-radius-sm);
}

@keyframes pod-shimmer {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

.pod-skel-hero {
  height: 340px;
  border-radius: 20px;
  margin-bottom: 36px;
}

.pod-skel-line {
  height: 14px;
  margin-top: 10px;
}

/* ── Player bar ────────────────────────────────────────────────────────── */

.pod-player {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 950;
  background: var(--pod-navy-deep);
  color: #fff;
  box-shadow: 0 -8px 24px rgba(6, 28, 56, 0.25);
  animation: pod-slide-up 0.3s ease;
}

.pod-player[hidden] {
  display: none;
}

@keyframes pod-slide-up {
  from { transform: translateY(100%); }
  to { transform: none; }
}

/* The bar sits just inside the top of the player, so it's always on the dark background (on the page above, the gold
   and the unplayed part were hard to see). The handle is always shown, so it's clear the bar can be dragged. */
.pod-player-progress {
  position: absolute;
  left: 0;
  right: 0;
  top: -4px;
  height: 14px;
}

.pod-seek {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 14px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  --pct: 0%;
}

.pod-seek::-webkit-slider-runnable-track {
  height: 6px;
  background: linear-gradient(to right, var(--pod-gold) var(--pct), rgba(255, 255, 255, 0.3) var(--pct));
  border-radius: 0;
}

.pod-seek::-moz-range-track {
  height: 6px;
  background: linear-gradient(to right, var(--pod-gold) var(--pct), rgba(255, 255, 255, 0.3) var(--pct));
}

.pod-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  margin-top: -4px;
  border-radius: 999px;
  background: var(--pod-gold);
  border: 0;
  box-shadow: 0 0 0 3px var(--pod-navy-deep);
}

.pod-seek::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--pod-gold);
  border: 0;
  box-shadow: 0 0 0 3px var(--pod-navy-deep);
}

.pod-player-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px 20px;
  box-sizing: border-box;
  min-height: 76px;
}

.pod-player-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: #fff !important;
  text-decoration: none;
}

.pod-player-art {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.1);
  flex: none;
}

.pod-player-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pod-player-title {
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pod-player-sub {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pod-player-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pod-play-btn {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 0;
  padding: 14px;
  background: #fff;
  color: var(--pod-navy-deep);
  cursor: pointer;
  box-sizing: border-box;
  transition: transform 0.1s;
}

.pod-play-btn:active {
  transform: scale(0.94);
}

.pod-play-btn.is-loading {
  background: rgba(255, 255, 255, 0.85);
}

.pod-player-time {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  display: none;
}

.pod-player-extra {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.pod-speed-btn,
.pod-mode-btn {
  height: 32px;
  min-width: 48px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Back 15 / forward 30: bigger than the other icon buttons so the numbers in them are readable */
.pod-skip-btn {
  width: 44px;
  height: 44px;
  padding: 6px;
}

.pod-mode-btn[hidden] {
  display: none;
}

.pod-mode-btn .pod-ico {
  width: 16px;
  height: 16px;
}

.pod-speed-btn:hover,
.pod-mode-btn:hover {
  border-color: #fff;
}

.pod-volume {
  display: inline-flex;
  align-items: center;
}

.pod-volume input {
  width: 90px;
  accent-color: var(--pod-gold);
}

/* ── Video panel ───────────────────────────────────────────────────────── */

.pod-video-panel {
  position: fixed;
  right: 20px;
  bottom: 96px;
  width: 480px;
  max-width: calc(100vw - 40px);
  z-index: 951;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
}

.pod-video-panel[hidden] {
  display: none;
}

.pod-video-frame {
  aspect-ratio: 16 / 9;
  background: #000;
}

.pod-video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

.pod-video-actions {
  position: absolute;
  right: 8px;
  top: 8px;
  display: flex;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.2s;
}

.pod-video-panel:hover .pod-video-actions,
.pod-video-actions:focus-within,
.w-mod-touch .pod-video-actions {
  opacity: 1;
}

.pod-video-actions .pod-icon-btn {
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  width: 36px;
  height: 36px;
  padding: 8px;
}

.pod-video-actions .pod-icon-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.pod-video-actions .pod-icon-btn[hidden] {
  display: none;
}

/* ── Toast ─────────────────────────────────────────────────────────────── */

.pod-toast {
  position: fixed;
  left: 50%;
  bottom: 104px;
  transform: translateX(-50%);
  z-index: 960;
  background: #111827;
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 14px;
  box-shadow: var(--pod-shadow-lg);
  max-width: calc(100vw - 32px);
  box-sizing: border-box;
}

.pod-toast[hidden] {
  display: none;
}

/* ── Responsive ────────────────────────────────────────────────────────── */

@media (min-width: 992px) {
  .pod-player-time {
    display: block;
    min-width: 96px;
    margin-left: 6px;
  }
}

@media (max-width: 991px) {
  .pod-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .pod-hero-content {
    grid-template-columns: 180px 1fr;
    padding: 36px 32px 52px;
    gap: 28px;
  }

  .pod-hero-art {
    width: 180px;
    height: 180px;
  }

  .pod-hero h2 {
    font-size: 30px;
  }

  .pod-hero-dots {
    left: 32px;
  }

  .pod-volume {
    display: none;
  }
}

@media (max-width: 767px) {
  .pod-section {
    padding-top: 12px;
  }

  .pod-masthead h1,
  .pod-masthead-name {
    font-size: 26px;
  }

  .pod-search {
    flex: 1 1 100%;
  }

  .pod-hero,
  .pod-hero-content {
    min-height: 0;
  }

  .pod-hero-content {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 20px 48px;
  }

  .pod-hero-art {
    width: 128px;
    height: 128px;
  }

  .pod-hero h2 {
    font-size: 24px;
  }

  .pod-hero-summary {
    -webkit-line-clamp: 2;
    margin-bottom: 16px;
  }

  .pod-hero-dots {
    left: 20px;
    bottom: 18px;
  }

  .pod-hero-nav {
    display: none;
  }

  .pod-intro {
    padding: 28px 22px;
  }

  .pod-intro h2 {
    font-size: 26px;
  }

  .pod-intro-waves {
    display: none;
  }

  .pod-header-inner {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    gap: 18px;
    align-items: start;
  }

  .pod-header-art {
    width: 140px;
    height: 140px;
  }

  .pod-header h1 {
    font-size: 26px;
  }

  /* The rows run through the page's side margin (.container-element has 16px of padding on phones), so tiles aren't
     cut off at the margin while scrolling. At rest and when snapping, the first tile still lines up with the page. */
  .pod-scroller {
    --pod-gutter: 16px;
    grid-auto-columns: 148px;
    gap: 14px;
    margin-left: calc(-1 * var(--pod-gutter));
    margin-right: calc(-1 * var(--pod-gutter));
    padding-left: var(--pod-gutter);
    padding-right: var(--pod-gutter);
    scroll-padding-left: var(--pod-gutter);
    scroll-padding-right: var(--pod-gutter);
  }

  .pod-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 22px 14px;
  }

  .pod-block-tools .pod-scroll-btn {
    display: none;
  }

  .pod-signin {
    flex-wrap: wrap;
  }

  .pod-episode {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
  }

  .pod-episode-art {
    width: 52px;
    height: 52px;
  }

  .pod-episode-side {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
  }

  .pod-toolbar-right {
    width: 100%;
  }

  .pod-input {
    flex: 1;
    width: auto;
  }

  .pod-player-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    padding: 10px 12px;
    min-height: 68px;
  }

  .pod-player-art {
    width: 44px;
    height: 44px;
  }

  .pod-play-btn {
    width: 44px;
    height: 44px;
    padding: 12px;
  }

  .pod-hide-mobile {
    display: none !important;
  }

  .pod-video-panel {
    left: 8px;
    right: 8px;
    bottom: 76px;
    width: auto;
    max-width: none;
  }

  .pod-toast {
    bottom: 84px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pod-hero-slide,
  .pod-art img,
  .pod-card-play,
  .pod-player {
    transition: none;
    animation: none;
  }

  .pod-scroller {
    scroll-behavior: auto;
  }
}
