.podcast-page {
  --podcast-ink: #173f73;
  --podcast-ink-deep: #102d52;
  --podcast-slate: #536779;
  --podcast-orange: #e76f3c;
  --podcast-gold: #f2ad3f;
  --podcast-cream: #fff9ed;
  --podcast-paper: #fffdf8;
  --podcast-mist: #e7f0f2;
  --podcast-line: rgba(23, 63, 115, 0.16);
  --podcast-shadow: 0 24px 64px rgba(22, 55, 91, 0.12);
  background: #fbfaf7;
  color: #263748;
}

.podcast-page.has-podcast-player {
  padding-bottom: 184px;
}

.podcast-page [hidden] {
  display: none !important;
}

.podcast-page main {
  overflow: clip;
}

.podcast-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 7.5rem) clamp(1.25rem, 5vw, 4.5rem);
  isolation: isolate;
}

.podcast-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 8% -18% 4% 34%;
  border-radius: 50%;
  background: radial-gradient(circle at 46% 46%, rgba(242, 173, 63, 0.2), rgba(231, 111, 60, 0.03) 58%, transparent 72%);
}

.podcast-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 44%;
  height: 10px;
  left: -5%;
  bottom: 18%;
  border-radius: 999px;
  transform: rotate(-8deg);
  background: linear-gradient(90deg, transparent, var(--podcast-gold), var(--podcast-orange), transparent);
  opacity: 0.68;
}

.podcast-kicker {
  margin: 0 0 0.7rem;
  color: var(--podcast-orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.podcast-hero h1 {
  margin: 0;
  color: var(--podcast-ink);
  font-size: clamp(3.2rem, 8vw, 7.2rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.podcast-room-name {
  display: inline-flex;
  margin: 1rem 0 1.75rem;
  padding: 0.45rem 0.85rem;
  border-left: 5px solid var(--podcast-gold);
  color: var(--podcast-slate);
  font-size: clamp(1.15rem, 2.3vw, 1.65rem);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.podcast-hero-lead {
  max-width: 740px;
  margin: 0 0 0.8rem;
  color: var(--podcast-ink-deep);
  font-size: clamp(1.14rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.75;
}

.podcast-hero-description {
  max-width: 720px;
  margin: 0;
  color: var(--podcast-slate);
  line-height: 1.85;
}

.podcast-language-picker {
  display: grid;
  grid-template-columns: auto minmax(150px, 220px);
  gap: 0.35rem 0.75rem;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-top: 1.35rem;
  color: var(--podcast-ink);
  font-weight: 800;
}

.podcast-language-picker select {
  min-height: 44px;
  padding: 0.55rem 2.2rem 0.55rem 0.75rem;
  border: 1px solid var(--podcast-line);
  border-radius: 12px;
  background: #fff;
  color: var(--podcast-ink);
  font: inherit;
}

.podcast-language-picker small {
  grid-column: 1 / -1;
  color: var(--podcast-slate);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.55;
}

.podcast-hero-art {
  position: relative;
  margin: 0;
  transform: rotate(2deg);
}

.podcast-hero-art::before {
  content: "";
  position: absolute;
  inset: 9% 10% -5% -6%;
  z-index: -1;
  border-radius: 36px;
  background: var(--podcast-ink);
  opacity: 0.13;
  transform: rotate(-5deg);
}

.podcast-hero-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: clamp(24px, 4vw, 52px);
  box-shadow: var(--podcast-shadow);
}

.podcast-hero-art figcaption {
  position: absolute;
  right: -1rem;
  bottom: 2rem;
  max-width: 15rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--podcast-paper);
  box-shadow: 0 12px 36px rgba(22, 55, 91, 0.16);
  color: var(--podcast-ink);
  font-size: 0.88rem;
  font-weight: 700;
  transform: rotate(-2deg);
}

.podcast-platforms {
  display: block;
  margin-top: 1.6rem;
}

.podcast-platform-directory {
  width: min(100%, 35rem);
  padding: 0.9rem;
  border: 1px solid rgba(23, 63, 115, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 34px rgba(23, 63, 115, 0.08);
  backdrop-filter: blur(10px);
}

.podcast-platform-directory-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
  color: var(--podcast-ink);
}

.podcast-platform-directory-heading strong {
  font-size: 0.92rem;
}

.podcast-platform-directory-heading span {
  color: var(--podcast-slate);
  font-size: 0.78rem;
  font-weight: 700;
}

.podcast-platform-live {
  display: flex;
  gap: 0.55rem;
  max-width: 100%;
  padding: 0.15rem 0.1rem 0.45rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-color: rgba(23, 63, 115, 0.28) transparent;
  scrollbar-width: thin;
}

.podcast-platform-card {
  --platform-accent: var(--podcast-ink);
  display: grid;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  padding: 0.55rem;
  place-items: center;
  border: 1px solid rgba(23, 63, 115, 0.18);
  border-top: 3px solid var(--platform-accent);
  border-radius: 8px;
  background: #fff;
  color: var(--podcast-ink);
  box-shadow: 0 5px 16px rgba(23, 63, 115, 0.07);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.podcast-platform-logo {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
  transition: transform 160ms ease;
}

.podcast-platform-card[data-platform="spotify"] { --platform-accent: #176b45; }
.podcast-platform-card[data-platform="applePodcasts"] { --platform-accent: #6b4aa2; }
.podcast-platform-card[data-platform="youtube"] { --platform-accent: #b3342d; }
.podcast-platform-card[data-platform="castbox"] { --platform-accent: #e05a32; }
.podcast-platform-card[data-platform="pocketCasts"] { --platform-accent: #df3b36; }
.podcast-platform-card[data-platform="amazonMusic"] { --platform-accent: #2474a7; }
.podcast-platform-card[data-platform="goodpods"] { --platform-accent: #e5bd00; }
.podcast-platform-card[data-platform="overcast"] { --platform-accent: #fc7e0f; }

.podcast-platform-card[data-platform="amazonMusic"] .podcast-platform-logo,
.podcast-platform-card[data-platform="goodpods"] .podcast-platform-logo {
  border-radius: 7px;
}

.podcast-platform-card:hover {
  border-color: color-mix(in srgb, var(--platform-accent) 45%, #fff);
  box-shadow: 0 9px 22px rgba(23, 63, 115, 0.12);
  transform: translateY(-2px);
}

.podcast-platform-card:hover .podcast-platform-logo {
  transform: scale(1.06);
}

.podcast-platform-name-fallback {
  max-width: 100%;
  color: var(--podcast-ink);
  font-size: 0.64rem;
  font-weight: 800;
  line-height: 1.1;
  overflow-wrap: anywhere;
  text-align: center;
}

.podcast-platform-progress {
  margin-top: 0.6rem;
  border-top: 1px solid rgba(23, 63, 115, 0.12);
}

.podcast-platform-progress > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0.55rem 0.1rem 0;
  color: var(--podcast-ink);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
  list-style: none;
}

.podcast-platform-progress > summary::-webkit-details-marker { display: none; }

.podcast-platform-progress > summary::after {
  content: "+";
  display: grid;
  flex: 0 0 1.55rem;
  width: 1.55rem;
  height: 1.55rem;
  place-items: center;
  border-radius: 50%;
  background: var(--podcast-mist);
  color: var(--podcast-ink);
  font-size: 1rem;
  line-height: 1;
}

.podcast-platform-progress[open] > summary::after { content: "−"; }

.podcast-platform-progress > summary small {
  margin-left: auto;
  color: var(--podcast-slate);
  font-size: 0.74rem;
  font-weight: 700;
}

.podcast-platform-pending-list {
  display: flex;
  gap: 0.45rem;
  max-width: 100%;
  margin-top: 0.55rem;
  padding: 0.05rem 0.1rem 0.25rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
}

.podcast-platform-pending-item {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  padding: 0.5rem;
  place-items: center;
  border: 1px solid rgba(23, 63, 115, 0.12);
  border-radius: 8px;
  background: rgba(238, 243, 248, 0.62);
  color: var(--podcast-ink);
  filter: grayscale(0.7);
  opacity: 0.72;
}

.podcast-platform-link,
.podcast-action,
.podcast-clear-filters,
.podcast-back-button,
.podcast-player-close,
.podcast-chapter-button {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.podcast-platform-link,
.podcast-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.68rem 1rem;
  background: var(--podcast-ink);
  color: #fff;
  box-shadow: 0 8px 24px rgba(23, 63, 115, 0.16);
}

.podcast-platform-link[data-platform="youtube"] {
  background: #b3342d;
}

.podcast-platform-link[data-platform="spotify"] {
  background: #176b45;
}

.podcast-platform-link[data-platform="applePodcasts"] {
  background: #6b4aa2;
}

.podcast-platform-link.is-disabled {
  opacity: 0.48;
  cursor: not-allowed;
  filter: saturate(0.35);
}

.podcast-action.is-secondary {
  background: var(--podcast-mist);
  color: var(--podcast-ink);
  box-shadow: none;
}

.podcast-platform-link:hover,
.podcast-action:hover,
.podcast-clear-filters:hover,
.podcast-back-button:hover,
.podcast-chapter-button:hover {
  transform: translateY(-2px);
}

.podcast-platform-link:focus-visible,
.podcast-platform-card:focus-visible,
.podcast-platform-progress > summary:focus-visible,
.podcast-action:focus-visible,
.podcast-clear-filters:focus-visible,
.podcast-back-button:focus-visible,
.podcast-player-close:focus-visible,
.podcast-player-controls button:focus-visible,
.podcast-player-controls a:focus-visible,
.podcast-player-controls select:focus-visible,
.podcast-player-timeline input:focus-visible,
.podcast-volume-control input:focus-visible,
.podcast-share-control:focus-visible,
.podcast-chapter-button:focus-visible,
.podcast-episode-link:focus-visible,
.podcast-filters input:focus-visible,
.podcast-filters select:focus-visible {
  outline: 3px solid rgba(242, 173, 63, 0.58);
  outline-offset: 3px;
}

.podcast-runtime-status {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem 1rem;
  color: var(--podcast-slate);
  text-align: center;
}

.podcast-runtime-status:empty {
  display: none;
}

.podcast-section,
.podcast-detail {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6.5rem) 1.25rem;
}

.podcast-latest-section {
  border-top: 1px solid var(--podcast-line);
}

.podcast-archive-section {
  max-width: none;
  padding-right: max(1.25rem, calc((100vw - 1180px) / 2));
  padding-left: max(1.25rem, calc((100vw - 1180px) / 2));
  background: linear-gradient(180deg, rgba(231, 240, 242, 0.62), rgba(255, 253, 248, 0.18));
}

.podcast-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.podcast-section-heading h2 {
  margin: 0;
  color: var(--podcast-ink);
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.035em;
}

.podcast-section-heading > p {
  max-width: 34rem;
  margin: 0;
  color: var(--podcast-slate);
  line-height: 1.65;
  text-align: right;
}

.podcast-archive-summary {
  display: grid;
  gap: 0.75rem;
  justify-items: end;
  max-width: 38rem;
}

.podcast-archive-summary p {
  margin: 0;
  color: var(--podcast-slate);
  line-height: 1.65;
  text-align: right;
}

.podcast-play-all {
  display: inline-flex;
  min-height: 44px;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border: 0;
  border-radius: 999px;
  background: var(--podcast-ink);
  box-shadow: 0 10px 24px rgba(23, 63, 115, 0.18);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.podcast-play-all svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
}

.podcast-play-all svg .is-fill {
  fill: currentColor;
  stroke: none;
}

.podcast-play-all:disabled {
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.5;
}

.podcast-latest-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.4fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  min-height: 320px;
  padding: clamp(1.25rem, 3vw, 2.2rem);
  border: 1px solid var(--podcast-line);
  border-radius: 32px;
  background: var(--podcast-paper);
  box-shadow: var(--podcast-shadow);
}

.podcast-latest-card > img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 24px;
}

.podcast-latest-copy h3,
.podcast-detail h1 {
  margin: 0.4rem 0 1rem;
  color: var(--podcast-ink);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.podcast-latest-copy h3 {
  font-size: clamp(1.65rem, 4vw, 3rem);
}

.podcast-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  color: var(--podcast-slate);
  font-size: 0.92rem;
}

.podcast-summary {
  color: #405262;
  line-height: 1.85;
  white-space: pre-line;
}

.podcast-summary-rich {
  display: grid;
  gap: 0.75rem;
  white-space: normal;
}

.podcast-summary-rich > * {
  margin: 0;
}

.podcast-summary-rich ul,
.podcast-summary-rich ol {
  padding-left: 1.4rem;
}

.podcast-summary-rich a {
  color: var(--podcast-ink);
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-color: var(--podcast-gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.podcast-summary-rich a:hover,
.podcast-summary-rich a:focus-visible {
  color: var(--podcast-orange);
}

.podcast-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.podcast-filters {
  display: grid;
  grid-template-columns: minmax(230px, 1.5fr) repeat(5, minmax(145px, 1fr)) auto;
  gap: 0.8rem;
  align-items: end;
  margin-bottom: 2rem;
  padding: 1rem;
  border: 1px solid var(--podcast-line);
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.9);
}

.podcast-filters label {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.podcast-filters label > span {
  color: var(--podcast-slate);
  font-size: 0.78rem;
  font-weight: 750;
}

.podcast-filters input,
.podcast-filters select {
  width: 100%;
  min-height: 46px;
  padding: 0.62rem 0.72rem;
  border: 1px solid rgba(23, 63, 115, 0.22);
  border-radius: 12px;
  background: #fff;
  color: #263748;
  font: inherit;
}

.podcast-clear-filters,
.podcast-back-button,
.podcast-chapter-button {
  padding: 0.65rem 0.95rem;
  background: #fff;
  color: var(--podcast-ink);
  box-shadow: inset 0 0 0 1px var(--podcast-line);
}

.podcast-episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.podcast-episode-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--podcast-line);
  border-radius: 24px;
  background: var(--podcast-paper);
  box-shadow: 0 12px 34px rgba(22, 55, 91, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.podcast-episode-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 42px rgba(22, 55, 91, 0.13);
}

.podcast-episode-card > img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--podcast-cream);
}

.podcast-episode-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.15rem;
}

.podcast-episode-card h3 {
  margin: 0.7rem 0;
  color: var(--podcast-ink);
  font-size: 1.28rem;
  line-height: 1.45;
}

.podcast-episode-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.podcast-episode-link::after {
  content: "";
  position: absolute;
  inset: 0;
}

.podcast-episode-card .podcast-summary {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 1rem;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  font-size: 0.92rem;
}

.podcast-card-footer {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.7rem;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--podcast-line);
}

.podcast-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  margin: 0.9rem 0;
}

.podcast-tag,
.podcast-upcoming-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.28rem 0.58rem;
  border-radius: 999px;
  background: var(--podcast-mist);
  color: var(--podcast-ink);
  font-size: 0.74rem;
  font-weight: 750;
}

.podcast-upcoming-label {
  background: #fff0d4;
  color: #854518;
}

.podcast-empty {
  grid-column: 1 / -1;
  padding: 3rem 1.5rem;
  border: 1px dashed rgba(23, 63, 115, 0.3);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.7);
  color: var(--podcast-slate);
  text-align: center;
}

.podcast-detail {
  min-height: 70vh;
}

.podcast-back-button {
  margin-bottom: 2rem;
}

.podcast-detail-hero {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.5fr);
  gap: clamp(1.7rem, 5vw, 4.5rem);
  align-items: start;
}

.podcast-detail-cover {
  position: sticky;
  top: 6.5rem;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: var(--podcast-shadow);
}

.podcast-detail h1 {
  font-size: clamp(2.15rem, 5vw, 4.7rem);
}

.podcast-detail-section {
  margin-top: 2.6rem;
  padding-top: 2rem;
  border-top: 1px solid var(--podcast-line);
}

.podcast-detail-section h2 {
  margin: 0 0 1rem;
  color: var(--podcast-ink);
  font-size: 1.45rem;
}

.podcast-guest-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.podcast-guest-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  border-radius: 18px;
  background: var(--podcast-mist);
}

.podcast-guest-card.no-image {
  grid-template-columns: 1fr;
}

.podcast-guest-card img {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
}

.podcast-guest-card h3,
.podcast-guest-card p {
  margin: 0;
}

.podcast-guest-card p {
  margin-top: 0.3rem;
  color: var(--podcast-slate);
  font-size: 0.88rem;
  line-height: 1.55;
}

.podcast-chapter-list,
.podcast-link-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.podcast-transcript-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin-bottom: 0.9rem;
}

.podcast-transcript-language {
  min-height: 44px;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--podcast-line);
  border-radius: 999px;
  background: #fff;
  color: var(--podcast-ink);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.podcast-transcript-language[aria-pressed="true"] {
  border-color: var(--podcast-ink);
  background: var(--podcast-ink);
  color: #fff;
}

.podcast-transcript-status {
  margin: 0.35rem 0 0.8rem;
  color: var(--podcast-slate);
  font-size: 0.88rem;
}

.podcast-transcript-cues {
  display: grid;
  gap: 0.45rem;
  max-height: min(62vh, 620px);
  margin: 0;
  padding: 0.45rem;
  overflow: auto;
  border: 1px solid var(--podcast-line);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.76);
  list-style: none;
  scroll-padding: 1rem;
}

.podcast-transcript-cue {
  display: grid;
  width: 100%;
  min-height: 48px;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  padding: 0.7rem;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #263748;
  font: inherit;
  line-height: 1.65;
  text-align: left;
  cursor: pointer;
}

.podcast-transcript-cue:hover,
.podcast-transcript-cue:focus-visible {
  background: var(--podcast-mist);
}

.podcast-transcript-cue.is-active {
  background: #fff0d4;
  box-shadow: inset 4px 0 0 var(--podcast-orange);
}

.podcast-transcript-time {
  color: var(--podcast-orange);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.podcast-chapter-button {
  display: grid;
  width: 100%;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 0.8rem;
  text-align: left;
}

.podcast-chapter-button span:first-child {
  color: var(--podcast-orange);
  font-variant-numeric: tabular-nums;
}

.podcast-link-list a,
.podcast-episode-navigation a {
  display: flex;
  min-height: 44px;
  align-items: center;
  color: var(--podcast-ink);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.podcast-episode-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.podcast-episode-navigation a {
  padding: 1rem;
  border: 1px solid var(--podcast-line);
  border-radius: 16px;
  background: var(--podcast-paper);
}

.podcast-episode-navigation a:last-child {
  justify-content: flex-end;
  text-align: right;
}

.podcast-resource-section,
.podcast-community-section {
  border-top: 1px solid rgba(23, 63, 115, 0.14);
}

.podcast-resource-toolbar {
  display: flex;
  gap: 1rem;
  align-items: end;
  justify-content: space-between;
  margin: 1.4rem 0 1.2rem;
}

.podcast-resource-toolbar label {
  display: grid;
  gap: 0.4rem;
  min-width: min(100%, 310px);
  color: var(--podcast-ink, #173f73);
  font-weight: 760;
}

.podcast-resource-toolbar select,
.podcast-community-form input,
.podcast-community-form select,
.podcast-community-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(23, 63, 115, 0.24);
  border-radius: 12px;
  background: #fff;
  color: #18324f;
  font: inherit;
}

.podcast-resource-toolbar select,
.podcast-community-form input,
.podcast-community-form select {
  padding: 0.65rem 0.75rem;
}

.podcast-community-form textarea {
  min-height: 150px;
  padding: 0.8rem;
  resize: vertical;
}

.podcast-resource-toolbar p {
  margin: 0;
  color: #617187;
}

.podcast-resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.podcast-resource-card {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: clamp(1.1rem, 2vw, 1.5rem);
  border: 1px solid rgba(23, 63, 115, 0.14);
  border-radius: 20px;
  background: linear-gradient(145deg, #fff, #f7f4ed);
  box-shadow: 0 12px 34px rgba(12, 43, 79, 0.07);
}

.podcast-resource-card-head {
  display: grid;
  gap: 0.35rem;
}

.podcast-resource-card h3,
.podcast-detail-resources h3 {
  margin: 0;
  color: #173f73;
  font-size: 1.2rem;
}

.podcast-resource-card p,
.podcast-resource-card dl,
.podcast-resource-episodes,
.podcast-detail-resources p {
  margin: 0;
}

.podcast-resource-category,
.podcast-detail-resources article > span {
  width: fit-content;
  padding: 0.28rem 0.58rem;
  border-radius: 999px;
  background: rgba(239, 167, 45, 0.16);
  color: #7f4e08;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.podcast-resource-card-head p {
  color: #657184;
  font-size: 0.9rem;
}

.podcast-resource-card dl {
  display: grid;
  gap: 0.7rem;
}

.podcast-resource-card dl div {
  display: grid;
  gap: 0.2rem;
}

.podcast-resource-card dt {
  color: #173f73;
  font-size: 0.8rem;
  font-weight: 800;
}

.podcast-resource-card dd {
  margin: 0;
  color: #46596e;
}

.podcast-resource-episodes {
  padding-top: 0.85rem;
  border-top: 1px dashed rgba(23, 63, 115, 0.18);
}

.podcast-resource-episodes ul {
  display: grid;
  gap: 0.5rem;
  margin: 0.55rem 0 0;
  padding-left: 1.2rem;
}

.podcast-resource-episodes li small {
  display: block;
  color: #697789;
}

.podcast-resource-episodes a,
.podcast-detail-resources a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.podcast-resource-official {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
  background: #173f73;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.podcast-detail-resources {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.podcast-detail-resources article {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
  border: 1px solid rgba(23, 63, 115, 0.14);
  border-radius: 16px;
  background: #fff;
}

.podcast-share-tools {
  display: grid;
  width: fit-content;
  max-width: 100%;
  grid-template-columns: repeat(7, 48px);
  gap: 0.55rem;
  margin-top: 1rem;
  padding: 0.8rem 0.9rem 0.9rem;
  border: 1px solid rgba(23, 63, 115, 0.12);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 253, 248, 0.98), rgba(231, 240, 242, 0.7));
  box-shadow: 0 12px 32px rgba(16, 45, 82, 0.08);
}

.podcast-share-tools::before {
  content: "分享本集";
  grid-column: 1 / -1;
  color: #66758a;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.podcast-share-tools a,
.podcast-share-tools button {
  display: inline-grid;
  width: 48px;
  height: 48px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  place-items: center;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(23, 63, 115, 0.18);
  border-radius: 50%;
  background: #fff;
  color: #173f73;
  font: inherit;
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 7px 18px rgba(16, 45, 82, 0.1);
  transition: transform 150ms ease, box-shadow 150ms ease, filter 150ms ease;
}

.podcast-share-tools a:hover,
.podcast-share-tools button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(16, 45, 82, 0.16);
  filter: saturate(1.08);
}

.podcast-share-control svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.podcast-share-control svg .is-fill {
  fill: currentColor;
  stroke: none;
}

.podcast-share-control svg.podcast-brand-icon-x {
  width: 20px;
  height: 21px;
  overflow: visible;
  fill: currentColor;
  stroke: none;
}

.podcast-share-control .podcast-brand-logo {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.podcast-share-control.is-native {
  background: #173f73;
  color: #fff;
}

.podcast-share-control.is-copy {
  background: #fff6e3;
  color: #8b5414;
}

.podcast-share-control.is-line {
  border-color: rgba(6, 199, 85, 0.34);
  background: #fff;
  color: #06c755;
}

.podcast-share-control.is-facebook {
  border-color: rgba(8, 102, 255, 0.34);
  background: #fff;
  color: #0866ff;
}

.podcast-share-control.is-instagram {
  border-color: rgba(228, 64, 95, 0.34);
  background: #fff;
  color: #e4405f;
}

.podcast-share-control.is-threads {
  border-color: rgba(16, 16, 16, 0.34);
  background: #fff;
  color: #101010;
}

.podcast-share-control.is-x {
  border-color: #111;
  background: #111;
  color: #fff;
}

.podcast-share-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.podcast-community-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: 1.4rem;
}

.podcast-community-note,
.podcast-community-form {
  padding: clamp(1.1rem, 2.4vw, 1.7rem);
  border-radius: 22px;
}

.podcast-community-note {
  align-self: start;
  background: #173f73;
  color: #fff;
}

.podcast-community-note strong {
  font-size: 1.15rem;
}

.podcast-community-note ul {
  display: grid;
  gap: 0.65rem;
  padding-left: 1.2rem;
}

.podcast-community-note p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.podcast-community-form {
  border: 1px solid rgba(23, 63, 115, 0.14);
  background: #fff;
  box-shadow: 0 18px 52px rgba(12, 43, 79, 0.08);
}

.podcast-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.podcast-form-grid label {
  display: grid;
  gap: 0.4rem;
  color: #173f73;
  font-weight: 760;
}

.podcast-form-grid .full {
  grid-column: 1 / -1;
}

.podcast-consent {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  color: #455a70 !important;
  font-size: 0.9rem;
  font-weight: 500 !important;
}

.podcast-consent input {
  width: 22px;
  min-height: 22px;
  margin-top: 0.1rem;
}

.podcast-form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
}

.podcast-turnstile {
  min-height: 70px;
  margin-top: 1rem;
}

.podcast-turnstile-preview {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  padding: 0.65rem 0.8rem;
  border: 1px dashed #4d7958;
  border-radius: 12px;
  background: #eff8f0;
  color: #285a36;
  font-weight: 700;
}

.podcast-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.podcast-form-actions p {
  flex: 1 1 260px;
  margin: 0;
  color: #5a6b80;
}

.podcast-playlist-scrim {
  display: none;
}

.podcast-playlist-panel {
  position: fixed;
  z-index: 62;
  right: max(0.8rem, calc((100vw - 1180px) / 2 + 0.8rem));
  bottom: calc(max(0.8rem, env(safe-area-inset-bottom)) + 168px);
  width: min(570px, calc(100vw - 1.6rem));
  max-height: min(620px, calc(100vh - 180px));
  overflow: hidden;
  border: 1px solid rgba(23, 63, 115, 0.18);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.985);
  box-shadow: 0 28px 82px rgba(5, 24, 47, 0.34);
  color: #263748;
}

.podcast-playlist-panel:focus {
  outline: none;
}

.podcast-playlist-panel::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--podcast-gold), var(--podcast-orange), var(--podcast-ink));
}

.podcast-playlist-drag-handle {
  display: none;
}

.podcast-playlist-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 44px;
  gap: 0.75rem;
  align-items: center;
  padding: 1.15rem 1.1rem 0.85rem;
  border-bottom: 1px solid var(--podcast-line);
}

.podcast-playlist-kicker {
  margin: 0 0 0.15rem;
  color: var(--podcast-orange);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.podcast-playlist-header h2 {
  margin: 0;
  color: var(--podcast-ink-deep);
  font-family: "Noto Serif TC", serif;
  font-size: 1.35rem;
  line-height: 1.25;
}

.podcast-continuous-switch {
  display: flex;
  min-height: 44px;
  gap: 0.45rem;
  align-items: center;
  cursor: pointer;
}

.podcast-continuous-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.podcast-continuous-switch > span {
  display: flex;
  width: 42px;
  height: 24px;
  align-items: center;
  padding: 3px;
  border-radius: 999px;
  background: #aab5c0;
  transition: background-color 150ms ease;
}

.podcast-continuous-switch i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(4, 24, 46, 0.25);
  transition: transform 150ms ease;
}

.podcast-continuous-switch input:checked + span {
  background: var(--podcast-ink);
}

.podcast-continuous-switch input:checked + span i {
  transform: translateX(18px);
}

.podcast-continuous-switch strong {
  color: var(--podcast-ink);
  font-size: 0.78rem;
  white-space: nowrap;
}

.podcast-playlist-close {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--podcast-line);
  border-radius: 50%;
  background: #fff;
  color: var(--podcast-ink);
  cursor: pointer;
}

.podcast-playlist-close svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.podcast-playlist-summary {
  margin: 0;
  padding: 0.72rem 1.1rem;
  background: #f1f5f5;
  color: #596b7c;
  font-size: 0.78rem;
}

.podcast-playlist-items {
  max-height: min(400px, calc(100vh - 340px));
  margin: 0;
  padding: 0.45rem 0.6rem 0.7rem;
  overflow: auto;
  overscroll-behavior: contain;
  list-style: none;
}

.podcast-playlist-item {
  margin: 0.2rem 0;
}

.podcast-playlist-item > button {
  display: grid;
  width: 100%;
  min-height: 64px;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.45rem 0.55rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #263748;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.podcast-playlist-item > button:hover {
  border-color: var(--podcast-line);
  background: #f3f7f7;
}

.podcast-playlist-item.is-current > button {
  border-color: rgba(23, 70, 143, 0.24);
  background: #edf3fb;
  box-shadow: inset 3px 0 0 var(--podcast-ink);
}

.podcast-playlist-cover {
  position: relative;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border-radius: 7px;
  background: var(--podcast-mist);
}

.podcast-playlist-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.podcast-playlist-cover i {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--podcast-orange) 0 var(--queue-progress), rgba(255, 255, 255, 0.72) var(--queue-progress) 100%);
}

.podcast-playlist-copy {
  min-width: 0;
}

.podcast-playlist-copy small,
.podcast-playlist-copy strong {
  display: block;
}

.podcast-playlist-copy small {
  margin-bottom: 0.12rem;
  color: #697b8b;
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
}

.podcast-playlist-copy strong {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--podcast-ink-deep);
  font-size: 0.86rem;
  line-height: 1.35;
}

.podcast-playlist-state {
  padding: 0.28rem 0.45rem;
  border-radius: 999px;
  background: #e8edef;
  color: #596b7c;
  font-size: 0.66rem;
  font-weight: 800;
  white-space: nowrap;
}

.podcast-playlist-item.is-playing .podcast-playlist-state {
  background: #fff0d4;
  color: #8a4a15;
}

.podcast-playlist-item.is-completed .podcast-playlist-state {
  background: #e5f2e7;
  color: #2f6840;
}

.podcast-playlist-complete {
  padding: 1rem 1.1rem 1.1rem;
  border-top: 1px solid var(--podcast-line);
  background: #fff8e9;
}

.podcast-playlist-complete strong {
  color: var(--podcast-ink-deep);
}

.podcast-playlist-complete p {
  margin: 0.3rem 0 0.8rem;
  color: #5b6c7d;
  font-size: 0.82rem;
}

.podcast-playlist-complete > div,
.podcast-player-feedback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.podcast-playlist-complete button,
.podcast-player-feedback-actions button {
  min-height: 44px;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(23, 63, 115, 0.22);
  border-radius: 8px;
  background: #fff;
  color: var(--podcast-ink);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
}

.podcast-player-dock {
  --podcast-range-progress: 0%;
  position: fixed;
  z-index: 60;
  right: max(0.8rem, env(safe-area-inset-right));
  bottom: max(0.8rem, env(safe-area-inset-bottom));
  left: max(0.8rem, env(safe-area-inset-left));
  display: grid;
  grid-template-columns: minmax(210px, 0.55fr) minmax(0, 1.65fr) 44px;
  grid-template-areas:
    "now timeline close"
    "now controls close"
    "status status close";
  gap: 0.18rem 1rem;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.8rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  background:
    radial-gradient(circle at 8% -35%, rgba(242, 173, 63, 0.26), transparent 36%),
    linear-gradient(112deg, rgba(18, 49, 86, 0.99), rgba(8, 29, 55, 0.99) 72%);
  box-shadow: 0 28px 76px rgba(5, 24, 47, 0.4), 0 0 0 1px rgba(23, 63, 115, 0.08);
  color: #fff;
  backdrop-filter: blur(18px);
}

.podcast-player-dock::before {
  content: "";
  position: absolute;
  top: 0;
  right: 22px;
  left: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 173, 63, 0.86) 22%, rgba(231, 111, 60, 0.62) 64%, transparent);
  pointer-events: none;
}

.podcast-player-now {
  grid-area: now;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 0.82rem;
  align-items: center;
  min-width: 0;
}

.podcast-player-now > img {
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 13px;
  box-shadow: 0 10px 26px rgba(3, 20, 39, 0.34);
  object-fit: cover;
}

.podcast-player-copy {
  min-width: 0;
}

.podcast-player-copy strong,
.podcast-player-copy small {
  display: block;
}

.podcast-player-eyebrow {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 0.15rem;
  color: #ffd78b;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.podcast-player-eyebrow i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--podcast-gold);
  box-shadow: 0 0 0 4px rgba(242, 173, 63, 0.12);
  opacity: 0.58;
}

.podcast-player-dock.is-playing .podcast-player-eyebrow i {
  opacity: 1;
  animation: podcast-player-signal 1.8s ease-out infinite;
}

.podcast-player-copy strong {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #fffdf8;
  font-size: 0.95rem;
  line-height: 1.32;
}

.podcast-player-copy small {
  overflow: hidden;
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.68rem;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.podcast-player-timeline {
  grid-area: timeline;
  display: grid;
  grid-template-columns: 54px minmax(120px, 1fr) 54px;
  gap: 0.65rem;
  align-items: center;
  min-width: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.73rem;
  font-variant-numeric: tabular-nums;
}

.podcast-player-time {
  display: grid;
  line-height: 1.12;
}

.podcast-player-time-total {
  text-align: right;
}

.podcast-player-time-label {
  margin-bottom: 0.15rem;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
}

.podcast-player-timeline input,
.podcast-volume-control input {
  --podcast-range-progress: 0%;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 0;
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.podcast-player-timeline input::-webkit-slider-runnable-track,
.podcast-volume-control input::-webkit-slider-runnable-track {
  height: 5px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--podcast-gold) 0 var(--podcast-range-progress), rgba(255, 255, 255, 0.2) var(--podcast-range-progress) 100%);
  box-shadow: inset 0 1px 2px rgba(2, 17, 33, 0.4);
}

.podcast-player-timeline input::-moz-range-track,
.podcast-volume-control input::-moz-range-track {
  height: 5px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 2px rgba(2, 17, 33, 0.4);
}

.podcast-player-timeline input::-moz-range-progress,
.podcast-volume-control input::-moz-range-progress {
  height: 5px;
  border-radius: 999px;
  background: var(--podcast-gold);
}

.podcast-player-timeline input::-webkit-slider-thumb,
.podcast-volume-control input::-webkit-slider-thumb {
  width: 17px;
  height: 17px;
  margin-top: -7px;
  appearance: none;
  border: 3px solid #fff9ed;
  border-radius: 50%;
  background: var(--podcast-orange);
  box-shadow: 0 3px 12px rgba(2, 17, 33, 0.48);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.podcast-player-timeline input::-moz-range-thumb,
.podcast-volume-control input::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 3px solid #fff9ed;
  border-radius: 50%;
  background: var(--podcast-orange);
  box-shadow: 0 3px 12px rgba(2, 17, 33, 0.48);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.podcast-player-timeline input:hover::-webkit-slider-thumb,
.podcast-volume-control input:hover::-webkit-slider-thumb,
.podcast-player-timeline input:focus-visible::-webkit-slider-thumb,
.podcast-volume-control input:focus-visible::-webkit-slider-thumb {
  transform: scale(1.12);
  box-shadow: 0 0 0 5px rgba(242, 173, 63, 0.18), 0 3px 12px rgba(2, 17, 33, 0.48);
}

.podcast-player-timeline input:disabled {
  cursor: wait;
  opacity: 0.46;
}

.podcast-player-controls {
  grid-area: controls;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.55rem;
  align-items: center;
  min-width: 0;
}

.podcast-player-source {
  display: none;
  gap: 0.4rem;
  align-items: center;
  justify-self: start;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
}

.podcast-player-source svg {
  width: 20px;
  height: 20px;
  color: #ffd78b;
}

.podcast-player-transport,
.podcast-player-tools,
.podcast-volume-control {
  display: flex;
  align-items: center;
}

.podcast-player-transport {
  gap: 0.38rem;
  justify-self: start;
}

.podcast-player-tools {
  gap: 0.35rem;
  justify-self: end;
}

.podcast-player-mode {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0.25rem 0.48rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffd78b;
  font-size: 0.64rem;
  font-weight: 800;
  white-space: nowrap;
}

.podcast-player-controls button,
.podcast-player-download,
.podcast-rate-label select {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
  font-weight: 750;
  transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.podcast-player-controls button {
  display: inline-grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
}

.podcast-player-controls button:hover,
.podcast-player-download:hover,
.podcast-rate-label select:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.14);
}

.podcast-player-controls button:disabled,
.podcast-player-controls button:disabled:hover {
  cursor: not-allowed;
  opacity: 0.38;
  transform: none;
}

.podcast-player-controls svg,
.podcast-player-close svg,
.podcast-action svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.podcast-action svg {
  width: 17px;
  height: 17px;
}

.podcast-player-controls svg .is-fill,
.podcast-action svg .is-fill {
  fill: currentColor;
  stroke: none;
}

.podcast-player-controls svg text {
  fill: currentColor;
  stroke: none;
  font-size: 7px;
  font-weight: 850;
  text-anchor: middle;
}

.podcast-player-controls .podcast-player-toggle {
  min-width: 52px;
  min-height: 52px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--podcast-gold), var(--podcast-orange));
  box-shadow: 0 8px 24px rgba(231, 111, 60, 0.34), inset 0 1px rgba(255, 255, 255, 0.44);
  color: #102d52;
}

.podcast-player-controls .podcast-player-toggle:hover {
  background: linear-gradient(145deg, #ffc45f, #f17a47);
  box-shadow: 0 10px 28px rgba(231, 111, 60, 0.44);
}

.podcast-player-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  text-decoration: none;
}

.podcast-volume-control {
  min-width: 44px;
  padding-right: 0.28rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.podcast-volume-control input {
  width: 70px;
}

.podcast-rate-label {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
}

.podcast-rate-label select {
  width: 68px;
  padding: 0 0.3rem;
}

.podcast-rate-label option {
  color: #173f73;
}

#podcast-player {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.podcast-player-close {
  grid-area: close;
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  align-self: start;
  justify-self: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.podcast-player-close:hover {
  transform: rotate(4deg) scale(1.04);
  border-color: rgba(255, 255, 255, 0.5);
  background: var(--podcast-orange);
  color: #fff;
}

.podcast-player-feedback {
  grid-area: status;
  min-width: 0;
}

.podcast-player-status {
  min-height: 1.1em;
  margin: 0.15rem 0 0;
  padding-left: 0.2rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  line-height: 1.4;
}

.podcast-player-status:empty {
  min-height: 0;
}

.podcast-player-status[data-tone="error"] {
  color: #ffd0c2;
}

.podcast-player-status[data-tone="loading"] {
  color: #ffe1a8;
}

.podcast-player-feedback-actions {
  margin-top: 0.45rem;
}

.podcast-player-feedback-actions button {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.podcast-play-all:focus-visible,
.podcast-playlist-close:focus-visible,
.podcast-continuous-switch input:focus-visible + span,
.podcast-playlist-item > button:focus-visible,
.podcast-playlist-complete button:focus-visible,
.podcast-player-feedback-actions button:focus-visible {
  outline: 3px solid rgba(242, 173, 63, 0.64);
  outline-offset: 3px;
}

@keyframes podcast-player-signal {
  0% { box-shadow: 0 0 0 0 rgba(242, 173, 63, 0.52); }
  70% { box-shadow: 0 0 0 7px rgba(242, 173, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(242, 173, 63, 0); }
}

.podcast-server-preview {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}

@media (max-width: 1120px) {
  .podcast-player-controls {
    grid-template-columns: auto minmax(244px, 1fr);
  }

  .podcast-player-source {
    display: none;
  }

  .podcast-volume-control input {
    width: 52px;
  }

  .podcast-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .podcast-filter-search {
    grid-column: span 2;
  }

  .podcast-episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .podcast-community-layout {
    grid-template-columns: 1fr;
  }

  .podcast-community-note {
    position: static;
  }
}

@media (min-width: 821px) and (max-width: 920px) {
  .podcast-volume-control input {
    display: none;
  }

  .podcast-volume-control {
    padding-right: 0;
    border: 0;
    background: transparent;
  }
}

@media (max-width: 820px) {
  .podcast-page.has-podcast-player {
    padding-bottom: 252px;
  }

  .podcast-hero,
  .podcast-latest-card,
  .podcast-detail-hero {
    grid-template-columns: 1fr;
  }

  .podcast-hero-copy {
    order: 2;
  }

  .podcast-hero-art {
    width: min(82vw, 520px);
    margin: 0 auto;
  }

  .podcast-hero h1 {
    font-size: clamp(3rem, 15vw, 5.2rem);
  }

  .podcast-section-heading {
    display: block;
  }

  .podcast-section-heading > p {
    margin-top: 0.8rem;
    text-align: left;
  }

  .podcast-archive-summary {
    justify-items: start;
    margin-top: 0.8rem;
  }

  .podcast-archive-summary p {
    text-align: left;
  }

  .podcast-playlist-panel {
    bottom: calc(max(0.8rem, env(safe-area-inset-bottom)) + 216px);
    max-height: calc(100vh - 245px);
  }

  .podcast-latest-card > img {
    width: min(100%, 430px);
  }

  .podcast-detail-cover {
    position: static;
    width: min(100%, 540px);
  }

  .podcast-player-dock {
    grid-template-columns: minmax(0, 1fr) 44px;
    grid-template-areas:
      "now close"
      "timeline timeline"
      "controls controls"
      "status status";
    gap: 0.24rem 0.75rem;
  }

  .podcast-player-now {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 0.7rem;
  }

  .podcast-player-now > img {
    width: 56px;
    height: 56px;
    border-radius: 11px;
  }

  .podcast-player-controls {
    width: 100%;
    grid-template-columns: minmax(150px, 1fr) minmax(244px, 1fr);
  }

  .podcast-player-close {
    align-self: center;
  }
}

@media (max-width: 620px) {
  .podcast-page.has-podcast-player {
    padding-bottom: 304px;
  }

  .podcast-page.has-podcast-playlist {
    overflow: hidden;
  }

  .podcast-playlist-scrim {
    position: fixed;
    z-index: 70;
    inset: 0;
    display: block;
    background: rgba(5, 24, 47, 0.58);
    backdrop-filter: blur(3px);
  }

  .podcast-playlist-panel {
    z-index: 71;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: min(82dvh, 720px);
    padding-bottom: env(safe-area-inset-bottom);
    border-width: 1px 0 0;
    border-radius: 20px 20px 0 0;
    transition: transform 180ms ease;
  }

  .podcast-playlist-drag-handle {
    display: grid;
    height: 32px;
    place-items: center;
    touch-action: pan-y;
  }

  .podcast-playlist-drag-handle span {
    width: 46px;
    height: 5px;
    border-radius: 999px;
    background: #a9b3bd;
  }

  .podcast-playlist-header {
    padding-top: 0.45rem;
  }

  .podcast-playlist-items {
    max-height: calc(min(82dvh, 720px) - 210px);
  }

  .podcast-detail {
    padding: 1.5rem max(1rem, env(safe-area-inset-right)) 3.5rem max(1rem, env(safe-area-inset-left));
  }

  .podcast-back-button {
    width: 100%;
    margin-bottom: 1.25rem;
  }

  .podcast-detail-copy {
    min-width: 0;
  }

  .podcast-detail h1 {
    font-size: clamp(1.9rem, 9.5vw, 2.65rem);
    line-height: 1.18;
    overflow-wrap: anywhere;
  }

  .podcast-hero {
    padding-top: 2rem;
  }

  .podcast-hero-art figcaption {
    right: 0.5rem;
    bottom: 1rem;
    max-width: calc(100% - 1rem);
    font-size: 0.76rem;
  }

  .podcast-filters,
  .podcast-episode-grid,
  .podcast-resource-grid,
  .podcast-detail-resources,
  .podcast-guest-grid,
  .podcast-episode-navigation {
    grid-template-columns: 1fr;
  }

  .podcast-filter-search {
    grid-column: auto;
  }

  .podcast-language-picker {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .podcast-language-picker small {
    grid-column: auto;
  }

  .podcast-platform-directory {
    padding: 0.78rem;
  }

  .podcast-platform-live {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.55rem;
    padding: 0.15rem 0 0.45rem;
    overflow: visible;
  }

  .podcast-platform-card {
    justify-self: center;
  }

  .podcast-transcript-cue {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 0.55rem;
    padding: 0.65rem 0.55rem;
  }

  .podcast-resource-toolbar {
    display: grid;
    align-items: stretch;
  }

  .podcast-form-grid {
    grid-template-columns: 1fr;
  }

  .podcast-form-grid .full {
    grid-column: auto;
  }

  .podcast-player-controls {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.4rem;
  }

  .podcast-player-source {
    display: none;
  }

  .podcast-player-transport {
    justify-self: center;
  }

  .podcast-player-tools {
    width: 100%;
    gap: 0.3rem;
    justify-content: center;
    justify-self: stretch;
  }

  .podcast-share-tools {
    width: 100%;
    grid-template-columns: repeat(4, minmax(44px, 1fr));
    gap: 0.3rem;
    padding: 0.65rem;
    border-radius: 18px;
  }

  .podcast-share-tools a,
  .podcast-share-tools button {
    width: 44px;
    height: 44px;
    justify-self: center;
  }

  .podcast-player-dock {
    right: max(0.45rem, env(safe-area-inset-right));
    bottom: max(0.45rem, env(safe-area-inset-bottom));
    left: max(0.45rem, env(safe-area-inset-left));
    padding: 0.68rem;
    border-radius: 19px;
  }

  .podcast-player-now {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 0.62rem;
  }

  .podcast-player-now > img {
    width: 52px;
    height: 52px;
  }

  .podcast-player-copy strong {
    font-size: 0.9rem;
  }

  .podcast-player-copy small {
    display: none;
  }

  .podcast-player-timeline {
    grid-template-columns: 40px minmax(80px, 1fr) 40px;
    gap: 0.45rem;
  }

  .podcast-player-time-label {
    display: none;
  }

  .podcast-volume-control input {
    display: none;
  }

  .podcast-volume-control {
    padding-right: 0;
    border: 0;
    background: transparent;
  }

  .podcast-rate-label {
    gap: 0;
  }

  .podcast-rate-label > span {
    display: none;
  }

  .podcast-latest-card,
  .podcast-episode-card,
  .podcast-detail-cover {
    border-radius: 20px;
  }

  .podcast-actions > * {
    flex: 1 1 145px;
  }

  .podcast-chapter-button {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .podcast-episode-navigation a:last-child {
    justify-content: flex-start;
    text-align: left;
  }
}

@media (max-width: 360px) {
  .podcast-page.has-podcast-player {
    padding-bottom: 298px;
  }

  .podcast-player-controls .podcast-volume-control {
    display: none;
  }

  .podcast-player-controls .podcast-player-toggle {
    min-width: 48px;
    min-height: 48px;
  }

  .podcast-player-transport,
  .podcast-player-tools {
    gap: 0.2rem;
  }

  .podcast-rate-label select {
    width: 62px;
  }

  .podcast-player-copy strong {
    font-size: 0.84rem;
  }

  .podcast-playlist-header {
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .podcast-continuous-switch {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .podcast-playlist-close {
    grid-column: 2;
    grid-row: 1;
  }

  .podcast-playlist-item > button {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .podcast-playlist-cover {
    width: 48px;
    height: 48px;
  }

  .podcast-playlist-state {
    grid-column: 2;
    justify-self: start;
  }

}

@media (prefers-reduced-motion: reduce) {
  .podcast-page *,
  .podcast-page *::before,
  .podcast-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
