.podcasts-page {
    --podcast-panel: rgba(9, 18, 32, 0.78);
    --podcast-panel-strong: rgba(9, 18, 32, 0.9);
    --podcast-border: rgba(157, 223, 255, 0.18);
    --podcast-muted: rgba(226, 239, 255, 0.72);
}

.podcast-hero,
.podcast-section,
.podcast-show-hero {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    box-sizing: border-box;
}

.podcast-hero {
    min-height: 32vh;
    display: flex;
    align-items: end;
    padding: 56px 0 28px;
}

.podcast-hero-panel,
.podcasts-page .section-heading,
.podcast-explorer-panel {
    max-width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--podcast-border);
    border-radius: 8px;
    background: var(--podcast-panel);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

.podcast-hero-panel {
    width: min(860px, 100%);
    padding: 24px;
}

.podcast-hero h1,
.podcast-show-hero h1 {
    max-width: 780px;
    margin: 0;
    line-height: 0.96;
    overflow-wrap: normal;
    word-break: normal;
}

.podcast-show-hero h1 {
    font-size: clamp(2.7rem, 6vw, 5.4rem);
}

.podcast-hero p,
.podcast-show-hero-copy > p,
.podcast-description p,
.podcast-context-card p {
    color: var(--podcast-muted);
}

.podcast-hero-stats,
.podcast-episode-meta-line,
.podcast-card-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.podcast-hero-stats {
    margin-top: 18px;
}

.podcast-hero-stats span,
.podcast-episode-meta-line span,
.podcast-card-meta-row span {
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(244, 249, 255, 0.9);
}

.podcast-hero-stats span {
    display: grid;
    gap: 2px;
    min-width: 120px;
    padding: 10px 12px;
}

.podcast-hero-stats strong {
    font-size: 1.16rem;
}

.podcast-hero-stats small,
.podcast-stats small {
    color: var(--podcast-muted);
    text-transform: uppercase;
    letter-spacing: 0;
}

.podcast-episode-meta-line {
    margin: 12px 0;
}

.podcast-episode-meta-line span,
.podcast-card-meta-row span {
    padding: 6px 9px;
    font-size: 0.9rem;
}

.podcast-section {
    padding: 28px 0;
}

.podcasts-page .section-heading {
    padding: 16px;
    margin-bottom: 16px;
}

.podcast-explorer-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: end;
    padding: 16px;
    margin-bottom: 16px;
}

.podcast-explorer-panel label,
.podcast-search-field {
    min-width: 0;
    display: grid;
    gap: 6px;
}

.podcast-explorer-panel input,
.podcast-explorer-panel select {
    width: 100%;
    min-width: 0;
}

.podcast-search-field {
    flex: 1 1 360px;
}

.podcast-explorer-panel label:not(.podcast-search-field) {
    flex: 0 1 180px;
}

.podcast-explorer-panel .button {
    flex: 0 0 auto;
    white-space: nowrap;
}

.podcast-category-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 100%;
    margin: 0 0 18px;
}

.podcast-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid var(--podcast-border);
    border-radius: 999px;
    background: rgba(9, 18, 32, 0.72);
    color: inherit;
    text-decoration: none;
}

.podcast-chip small {
    display: inline-grid;
    min-width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--podcast-muted);
}

.podcast-chip.is-active {
    border-color: rgba(139, 216, 255, 0.58);
    background: rgba(139, 216, 255, 0.14);
}

.podcast-show-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 320px));
    gap: 18px;
    justify-content: start;
}

.podcast-show-card {
    min-width: 0;
    border: 1px solid var(--podcast-border);
    border-radius: 8px;
    background: var(--podcast-panel-strong);
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.podcast-show-cover,
.podcast-episode-thumb,
.podcast-show-hero-cover {
    display: block;
    background: rgba(255, 255, 255, 0.05);
}

.podcast-show-cover {
    aspect-ratio: 1;
}

.podcast-show-cover img,
.podcast-episode-thumb img,
.podcast-show-hero-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.podcast-card-copy {
    padding: 16px;
}

.podcast-card-host-credit {
    font-weight: 700;
}

.podcast-card-host-credit a,
.podcast-card-link {
    color: #f3fbff;
}

.podcast-card-link {
    display: inline-flex;
    margin-top: 12px;
    font-weight: 800;
    text-decoration: none;
}

.podcast-host-mini-row {
    display: flex;
    gap: 6px;
    margin-top: 12px;
}

.podcast-host-mini-row a {
    display: block;
    border-radius: 50%;
}

.podcast-host-mini-row img {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    object-fit: cover;
}

.podcast-card-copy h3,
.podcast-episode-row h3,
.podcast-context-card h3 {
    margin: 4px 0 8px;
}

.podcast-card-copy a,
.podcast-episode-row a,
.podcast-show-hero a,
.podcast-context-card a {
    color: inherit;
}

.podcast-show-card.is-locked .podcast-show-cover img,
.podcast-episode-row.is-locked img {
    filter: saturate(0.72) brightness(0.78);
}

.podcast-show-hero {
    display: grid;
    grid-template-columns: minmax(220px, 420px) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    margin-top: 32px;
    padding: 22px;
    border: 1px solid var(--podcast-border);
    border-radius: 8px;
    background: var(--podcast-panel);
}

.podcast-host-profile-hero {
    align-items: center;
}

.podcast-show-hero-cover {
    aspect-ratio: 1;
    border: 1px solid var(--podcast-border);
    border-radius: 8px;
    overflow: hidden;
}

.podcast-show-hero-copy {
    min-width: 0;
}

.podcast-hosts {
    font-weight: 700;
}

.podcast-host-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
    margin: 16px 0;
}

.podcast-host-card {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: inherit;
    text-decoration: none;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.podcast-host-card:hover,
.podcast-host-card:focus-visible {
    border-color: rgba(139, 216, 255, 0.46);
    background: rgba(139, 216, 255, 0.1);
    transform: translateY(-1px);
}

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

.podcast-host-card strong,
.podcast-host-card small {
    display: block;
}

.podcast-host-card small {
    color: var(--podcast-muted);
}

.podcast-stats {
    margin: 20px 0;
}

.podcasts-page .podcast-stats span {
    min-width: min(100%, 138px);
}

.podcasts-page .podcast-stats strong {
    overflow-wrap: anywhere;
}

.podcast-feedback {
    margin: 12px 0 0;
    color: var(--podcast-muted);
}

.podcast-host-category-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 18px;
}

.podcast-host-profile-photo {
    max-width: 360px;
}

.podcast-description {
    max-width: 860px;
    padding: 18px;
    border: 1px solid var(--podcast-border);
    border-radius: 8px;
    background: var(--podcast-panel);
}

.podcast-episode-list {
    display: grid;
    gap: 12px;
}

.podcast-episode-row {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--podcast-border);
    border-radius: 8px;
    background: var(--podcast-panel-strong);
}

.podcast-episode-thumb {
    width: 112px;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
}

.podcast-row-actions {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 8px;
    flex-wrap: wrap;
}

.podcasts-page .podcast-favorite-button.is-active {
    border-color: rgba(139, 216, 255, 0.58);
    background: rgba(139, 216, 255, 0.16);
    color: #f3fbff;
}

.podcast-chapter-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.podcast-chapter-list li,
.podcast-context-card {
    border: 1px solid var(--podcast-border);
    border-radius: 8px;
    background: var(--podcast-panel);
    padding: 14px;
}

.podcast-chapter-list li {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.podcast-chapter-list span {
    color: #8bd8ff;
    font-variant-numeric: tabular-nums;
}

.podcast-chapter-list small {
    grid-column: 2;
    color: var(--podcast-muted);
}

.podcast-context-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.podcast-transcript {
    max-width: 860px;
}

.podcast-transcript-body {
    padding: 20px;
    border: 1px solid var(--podcast-border);
    border-radius: 8px;
    background: rgba(4, 10, 20, 0.62);
    color: rgba(236, 246, 255, 0.88);
    line-height: 1.75;
}

.podcast-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.podcasts-page .empty-state {
    padding: 18px;
    border: 1px solid var(--podcast-border);
    border-radius: 8px;
    background: var(--podcast-panel);
}

@media (max-width: 760px) {
    .podcast-hero,
    .podcast-section,
    .podcast-show-hero {
        width: 100%;
        max-width: 1160px;
    }

    .podcast-show-hero {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 16px;
    }

    .podcast-show-hero h1 {
        font-size: clamp(2.35rem, 12vw, 4.2rem);
    }

    .podcast-explorer-panel {
        align-items: stretch;
    }

    .podcast-search-field,
    .podcast-explorer-panel label:not(.podcast-search-field),
    .podcast-explorer-panel .button {
        flex-basis: 100%;
    }

    .podcast-show-hero-cover {
        width: min(100%, 360px);
    }

    .podcast-hero-stats span {
        flex: 1 1 120px;
    }

    .podcast-episode-row {
        grid-template-columns: 84px minmax(0, 1fr);
    }

    .podcast-episode-thumb {
        width: 84px;
    }

    .podcast-row-actions {
        grid-column: 1 / -1;
        justify-content: start;
    }

    .podcast-host-card {
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .podcast-host-card img {
        width: 52px;
        height: 52px;
    }

    .podcast-chapter-list li {
        grid-template-columns: 1fr;
    }

    .podcast-chapter-list small {
        grid-column: 1;
    }
}

@media (max-width: 560px) {
    .podcast-show-grid {
        grid-template-columns: 1fr;
        justify-content: stretch;
    }

    .podcast-card-meta-row span,
    .podcast-episode-meta-line span {
        flex: 1 1 auto;
    }
}
