:root {
    --podcast-primary: #2563eb;
    --podcast-primary-dark: #1d4ed8;
    --podcast-secondary: #7c3aed;
    --podcast-bg: #f5f8fc;
    --podcast-card: #ffffff;
    --podcast-text: #162033;
    --podcast-muted: #718096;
    --podcast-border: #e3eaf4;
    --podcast-danger: #ef4444;
    --podcast-warning: #f59e0b;
}

.podcast-list-page,
.podcast-detail-page {
    direction: rtl;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 16px 95px;
    color: var(--podcast-text);
}

.podcast-hero {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 34px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 85% 10%, rgba(255,255,255,.2), transparent 25%),
        linear-gradient(135deg, #0f4fd6 0%, #2563eb 48%, #6d5dfc 100%);
    color: #fff;
    box-shadow: 0 24px 55px rgba(37, 99, 235, .22);
}

.podcast-hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.podcast-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    margin-bottom: 14px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    font-size: 12px;
    font-weight: 800;
}

.podcast-hero h1 {
    margin: 0 0 10px;
    font-size: clamp(26px, 4vw, 43px);
    font-weight: 950;
    line-height: 1.45;
}

.podcast-hero p {
    max-width: 620px;
    margin: 0 0 24px;
    color: rgba(255,255,255,.84);
    font-size: 14px;
    line-height: 2;
}

.podcast-search {
    min-height: 56px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px 6px 6px;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 15px 30px rgba(10, 35, 95, .15);
}

.podcast-search > i {
    color: var(--podcast-primary);
    margin-right: 7px;
}

.podcast-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--podcast-text);
    font-size: 13px;
}

.podcast-search button {
    height: 44px;
    border: 0;
    border-radius: 13px;
    padding: 0 18px;
    background: var(--podcast-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.podcast-hero-art {
    position: relative;
    width: 220px;
    height: 220px;
    flex: 0 0 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.podcast-hero-art > i {
    position: relative;
    z-index: 2;
    font-size: 85px;
    color: #fff;
    filter: drop-shadow(0 15px 22px rgba(0,0,0,.18));
}

.podcast-orbit {
    position: absolute;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 50%;
}

.orbit-one {
    width: 160px;
    height: 160px;
}

.orbit-two {
    width: 215px;
    height: 215px;
}

.podcast-category-section,
.podcast-results-section,
.podcast-content-card,
.related-podcasts-section,
.podcast-comments-section {
    margin-top: 26px;
}

.podcast-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.podcast-section-heading span {
    color: var(--podcast-primary);
    font-size: 10px;
    font-weight: 900;
}

.podcast-section-heading h2 {
    margin: 4px 0 0;
    color: var(--podcast-text);
    font-size: 19px;
    font-weight: 950;
}

.podcast-category-slider {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    padding: 2px 1px 8px;
    scrollbar-width: none;
}

.podcast-category-slider::-webkit-scrollbar {
    display: none;
}

.podcast-category-chip {
    flex: 0 0 auto;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 15px;
    border: 1px solid var(--podcast-border);
    border-radius: 14px;
    background: #fff;
    color: #526175;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 850;
    transition: .2s ease;
}

.podcast-category-chip.active {
    border-color: var(--podcast-primary);
    background: var(--podcast-primary);
    color: #fff;
    box-shadow: 0 9px 20px rgba(37,99,235,.2);
}

.podcast-category-count {
    opacity: .75;
    font-size: 9px;
}

.podcast-results-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 15px;
}

.podcast-results-header h2 {
    margin: 4px 0 0;
    font-size: 20px;
    font-weight: 950;
}

.podcast-results-count {
    color: var(--podcast-muted);
    font-size: 10px;
}

.podcast-results-header select {
    min-width: 145px;
    height: 42px;
    border: 1px solid var(--podcast-border);
    border-radius: 13px;
    background: #fff;
    color: #526175;
    padding: 0 12px;
    font-size: 11px;
    font-weight: 800;
    outline: none;
}

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

.podcast-card-item {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--podcast-border);
    border-radius: 21px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(16, 40, 80, .05);
    transition: transform .2s ease, box-shadow .2s ease;
}

.podcast-card-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 17px 38px rgba(16, 40, 80, .1);
}

.podcast-card-cover {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background:
        linear-gradient(135deg, #dbeafe, #ede9fe);
}

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

.podcast-card-play {
    position: absolute;
    right: 14px;
    bottom: 13px;
    width: 44px;
    height: 44px;
    border: 4px solid rgba(255,255,255,.75);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--podcast-primary);
    color: #fff;
    box-shadow: 0 8px 18px rgba(37,99,235,.3);
}

.podcast-card-duration {
    position: absolute;
    left: 11px;
    bottom: 11px;
    padding: 5px 8px;
    border-radius: 9px;
    background: rgba(15,23,42,.8);
    color: #fff;
    font-size: 9px;
}

.podcast-card-body {
    padding: 15px;
}

.podcast-card-category {
    color: var(--podcast-primary);
    font-size: 9px;
    font-weight: 900;
}

.podcast-card-title {
    min-height: 50px;
    margin: 7px 0 5px;
    color: var(--podcast-text);
    font-size: 14px;
    font-weight: 950;
    line-height: 1.8;
}

.podcast-card-excerpt {
    display: -webkit-box;
    min-height: 42px;
    overflow: hidden;
    margin: 0;
    color: var(--podcast-muted);
    font-size: 10px;
    line-height: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.podcast-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    margin-top: 13px;
    padding-top: 12px;
    border-top: 1px solid #edf2f7;
    color: #718096;
    font-size: 9px;
}

.podcast-card-stats {
    display: flex;
    align-items: center;
    gap: 10px;
}

.podcast-card-stats span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.podcast-card-link {
    color: var(--podcast-primary);
    font-weight: 900;
    text-decoration: none;
}

.podcast-loading-state,
.podcast-empty-state,
.podcast-detail-loading {
    grid-column: 1 / -1;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    border: 1px dashed #d8e1ed;
    border-radius: 20px;
    background: #fff;
    color: var(--podcast-muted);
    font-size: 12px;
}

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

.podcast-page-button {
    min-width: 37px;
    height: 37px;
    border: 1px solid var(--podcast-border);
    border-radius: 11px;
    background: #fff;
    color: #526175;
    font-size: 10px;
    font-weight: 900;
}

.podcast-page-button.active {
    border-color: var(--podcast-primary);
    background: var(--podcast-primary);
    color: #fff;
}

/* Detail */
.podcast-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    color: var(--podcast-muted);
    font-size: 10px;
}

.podcast-breadcrumb a {
    color: var(--podcast-primary);
    text-decoration: none;
}

.podcast-player-hero {
    display: grid;
    grid-template-columns: minmax(270px, 360px) minmax(0, 1fr);
    gap: 26px;
    padding: 24px;
    border: 1px solid var(--podcast-border);
    border-radius: 28px;
    background:
        radial-gradient(circle at 95% 10%, rgba(37,99,235,.09), transparent 30%),
        #fff;
    box-shadow: 0 18px 45px rgba(24, 52, 100, .07);
}

.podcast-cover-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: 23px;
    background: linear-gradient(135deg, #dbeafe, #ede9fe);
}

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

.podcast-duration-badge {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 7px 10px;
    border-radius: 10px;
    background: rgba(15,23,42,.82);
    color: #fff;
    font-size: 10px;
}

.podcast-main-info {
    min-width: 0;
    align-self: center;
}

.podcast-category-name {
    display: inline-flex;
    align-items: center;
    min-height: 29px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eef4ff;
    color: var(--podcast-primary);
    font-size: 10px;
    font-weight: 900;
    text-decoration: none;
}

.podcast-main-info h1 {
    margin: 13px 0 8px;
    color: var(--podcast-text);
    font-size: clamp(24px, 4vw, 37px);
    line-height: 1.65;
    font-weight: 950;
}

.podcast-main-info > p {
    margin: 0;
    color: var(--podcast-muted);
    font-size: 12px;
    line-height: 2;
}

.podcast-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 16px;
}

.podcast-meta-row span {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 10px;
    border: 1px solid var(--podcast-border);
    border-radius: 11px;
    background: #fff;
    color: #637083;
    font-size: 9px;
}

.podcast-meta-row i {
    color: var(--podcast-primary);
}

.custom-audio-player {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
    padding: 14px;
    border-radius: 19px;
    background: #f4f7fc;
}

.audio-main-button {
    width: 53px;
    height: 53px;
    border: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--podcast-primary);
    color: #fff;
    box-shadow: 0 10px 22px rgba(37,99,235,.26);
}

.audio-center {
    min-width: 0;
}

.audio-time-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 7px;
    color: #68768a;
    font-size: 9px;
}

#audioProgress {
    width: 100%;
    accent-color: var(--podcast-primary);
}

.audio-actions {
    display: flex;
    align-items: center;
    gap: 5px;
}

.audio-actions button {
    min-width: 38px;
    height: 38px;
    border: 1px solid #dce5f1;
    border-radius: 11px;
    background: #fff;
    color: #526175;
    font-size: 9px;
    font-weight: 900;
}

.audio-actions button small {
    margin-right: 2px;
    font-size: 7px;
}

.podcast-share-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.podcast-share-row button {
    min-height: 39px;
    border: 1px solid var(--podcast-border);
    border-radius: 12px;
    padding: 0 12px;
    background: #fff;
    color: #526175;
    font-size: 10px;
    font-weight: 850;
}

.podcast-content-card,
.related-podcasts-section,
.podcast-comments-section {
    padding: 21px;
    border: 1px solid var(--podcast-border);
    border-radius: 23px;
    background: #fff;
}

.podcast-description {
    color: #364152;
    font-size: 13px;
    line-height: 2.25;
}

.podcast-description img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}

.podcast-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 18px;
}

.podcast-tag {
    padding: 7px 10px;
    border-radius: 999px;
    background: #f1f5fb;
    color: #526175;
    font-size: 9px;
    text-decoration: none;
}

.related-podcast-slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(210px, 270px);
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 7px;
    scrollbar-width: thin;
}

.related-card {
    overflow: hidden;
    border: 1px solid var(--podcast-border);
    border-radius: 17px;
    background: #fff;
    text-decoration: none;
}

.related-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #e8eef8;
}

.related-card-body {
    padding: 11px;
}

.related-card-title {
    display: block;
    color: var(--podcast-text);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.8;
}

.related-card-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    color: var(--podcast-muted);
    font-size: 8px;
}

.podcast-comment-form {
    padding: 16px;
    border-radius: 17px;
    background: #f7f9fd;
}

.comment-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.podcast-comment-form input,
.podcast-comment-form textarea {
    width: 100%;
    border: 1px solid #dce5f1;
    border-radius: 12px;
    background: #fff;
    padding: 11px 12px;
    color: var(--podcast-text);
    font-size: 11px;
    outline: none;
}

.podcast-comment-form textarea {
    min-height: 120px;
    margin-top: 10px;
    resize: vertical;
}

.podcast-rating-input {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-top: 12px;
    color: #68768a;
    font-size: 10px;
}

.podcast-rating-input button {
    border: 0;
    background: transparent;
    color: #f59e0b;
    padding: 3px;
}

.comment-submit-button {
    min-height: 42px;
    margin-top: 10px;
    border: 0;
    border-radius: 12px;
    padding: 0 16px;
    background: var(--podcast-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}

.comment-form-message {
    margin-top: 9px;
    font-size: 10px;
}

.comment-form-message.success {
    color: #15803d;
}

.comment-form-message.error {
    color: #b91c1c;
}

.podcast-comment-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.podcast-comment-item {
    padding: 14px;
    border: 1px solid var(--podcast-border);
    border-radius: 16px;
    background: #fff;
}

.podcast-comment-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.podcast-comment-user {
    font-size: 11px;
    font-weight: 900;
}

.podcast-comment-date {
    color: var(--podcast-muted);
    font-size: 8px;
}

.podcast-comment-rating {
    margin-top: 5px;
    color: var(--podcast-warning);
    font-size: 9px;
}

.podcast-comment-text {
    margin: 10px 0 0;
    color: #4a5568;
    font-size: 11px;
    line-height: 2;
}

.podcast-admin-reply {
    margin-top: 11px;
    padding: 11px;
    border-right: 3px solid var(--podcast-primary);
    border-radius: 10px;
    background: #f4f7fc;
    color: #526175;
    font-size: 10px;
    line-height: 2;
}

@media (max-width: 900px) {
    .podcast-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .podcast-player-hero {
        grid-template-columns: minmax(220px, 290px) minmax(0, 1fr);
    }

    .podcast-hero-art {
        display: none;
    }
}

@media (max-width: 640px) {
    .podcast-list-page,
    .podcast-detail-page {
        padding: 12px 10px 88px;
    }

    .podcast-hero {
        min-height: auto;
        padding: 24px 17px;
        border-radius: 22px;
    }

    .podcast-hero h1 {
        font-size: 25px;
    }

    .podcast-search {
        min-height: 52px;
    }

    .podcast-search button {
        padding: 0 13px;
    }

    .podcast-results-header {
        align-items: flex-start;
    }

    .podcast-results-header select {
        min-width: 120px;
    }

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

    .podcast-player-hero {
        display: block;
        padding: 13px;
        border-radius: 22px;
    }

    .podcast-cover-wrap {
        aspect-ratio: 16 / 10;
        margin-bottom: 17px;
    }

    .podcast-main-info h1 {
        font-size: 23px;
    }

    .custom-audio-player {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .audio-actions {
        grid-column: 1 / -1;
        justify-content: center;
    }

    .podcast-content-card,
    .related-podcasts-section,
    .podcast-comments-section {
        padding: 15px;
        border-radius: 19px;
    }

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


/* =========================================================
   Professional Podcast V3
   ========================================================= */

.featured-podcast-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(310px, 54%);
    gap: 14px;
    overflow-x: auto;
    padding: 2px 2px 10px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
}

.featured-podcast-card {
    --featured-cover: none;
    position: relative;
    min-height: 245px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    padding: 22px;
    border-radius: 25px;
    background:
        linear-gradient(110deg, rgba(10, 19, 43, .97), rgba(30, 64, 175, .88)),
        var(--featured-cover) center/cover;
    color: #fff;
    text-decoration: none;
    scroll-snap-align: start;
    box-shadow: 0 18px 45px rgba(15, 35, 75, .15);
}

.featured-podcast-card > img {
    width: 190px;
    height: 190px;
    object-fit: cover;
    border-radius: 19px;
    box-shadow: 0 16px 35px rgba(0, 0, 0, .3);
}

.featured-podcast-content span {
    color: #bfdbfe;
    font-size: 10px;
    font-weight: 900;
}

.featured-podcast-content strong {
    display: block;
    margin-top: 8px;
    color: #fff;
    font-size: 19px;
    font-weight: 950;
    line-height: 1.8;
}

.featured-podcast-content p {
    display: -webkit-box;
    overflow: hidden;
    margin: 8px 0 16px;
    color: rgba(255,255,255,.72);
    font-size: 10px;
    line-height: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.featured-podcast-content > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.featured-podcast-content b {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 39px;
    padding: 0 13px;
    border-radius: 12px;
    background: #fff;
    color: #1d4ed8;
    font-size: 10px;
}

.featured-podcast-content small {
    color: rgba(255,255,255,.7);
}

.hero-sound-bar {
    position: absolute;
    bottom: 57px;
    width: 9px;
    border-radius: 999px;
    background: rgba(255,255,255,.32);
    animation: heroSound 1.25s ease-in-out infinite alternate;
}

.bar-1 { right: 25px; height: 36px; }
.bar-2 { right: 48px; height: 72px; animation-delay: .15s; }
.bar-3 { right: 71px; height: 104px; animation-delay: .3s; }
.bar-4 { right: 94px; height: 65px; animation-delay: .45s; }
.bar-5 { right: 117px; height: 42px; animation-delay: .6s; }

@keyframes heroSound {
    to { transform: scaleY(.55); opacity: .55; }
}

.podcast-skeleton {
    padding-bottom: 15px;
    overflow: hidden;
    border: 1px solid var(--podcast-border);
    border-radius: 21px;
    background: #fff;
}

.skeleton-cover,
.skeleton-line,
.comment-skeleton span,
.comment-skeleton b,
.comment-skeleton i {
    background: linear-gradient(90deg, #edf2f7 25%, #f8fafc 50%, #edf2f7 75%);
    background-size: 200% 100%;
    animation: skeletonMove 1.25s infinite linear;
}

.skeleton-cover {
    aspect-ratio: 16/10;
}

.skeleton-line {
    width: 65%;
    height: 11px;
    margin: 12px 14px 0;
    border-radius: 99px;
}

.skeleton-line.wide { width: 82%; margin-top: 17px; }
.skeleton-line.small { width: 40%; }

@keyframes skeletonMove {
    to { background-position: -200% 0; }
}

.podcast-player-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.podcast-hero-backdrop {
    position: absolute;
    inset: -30px;
    z-index: -2;
    background-position: center;
    background-size: cover;
    filter: blur(45px);
    opacity: .12;
    transform: scale(1.15);
}

.podcast-player-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(110deg, rgba(255,255,255,.9), rgba(255,255,255,.98));
}

.pix-wave-player {
    position: relative;
    overflow: hidden;
    margin-top: 20px;
    padding: 16px;
    border: 1px solid #dbe6f5;
    border-radius: 22px;
    background: rgba(248, 251, 255, .94);
    box-shadow: inset 0 1px 0 #fff;
}

.wave-status {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(248, 251, 255, .94);
    color: #64748b;
    font-size: 10px;
    transition: opacity .25s ease, visibility .25s ease;
}

.wave-status.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.wave-status.is-error {
    color: #b91c1c;
}

.player-loader-ring {
    width: 31px;
    height: 31px;
    display: inline-block;
    border: 3px solid #dbe6f5;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: playerSpin .8s linear infinite;
}

.player-loader-ring.small {
    width: 19px;
    height: 19px;
    border-width: 2px;
}

@keyframes playerSpin {
    to { transform: rotate(360deg); }
}

.wave-main-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 15px;
}

.wave-play-button {
    width: 60px;
    height: 60px;
    border: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb, #6d5dfc);
    color: #fff;
    font-size: 18px;
    box-shadow: 0 12px 26px rgba(37, 99, 235, .3);
    transition: transform .2s ease;
}

.wave-play-button:hover {
    transform: scale(1.06);
}

.wave-play-button:disabled {
    opacity: .45;
}

.waveform-column {
    min-width: 0;
}

.podcast-waveform {
    min-height: 88px;
    cursor: pointer;
}

.wave-time-row {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
    color: #64748b;
    font-size: 9px;
    font-variant-numeric: tabular-nums;
}

.wave-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e3ebf5;
}

.wave-skip-actions,
.wave-volume {
    display: flex;
    align-items: center;
    gap: 7px;
}

.wave-toolbar button {
    height: 36px;
    min-width: 40px;
    border: 1px solid #dce5f1;
    border-radius: 11px;
    background: #fff;
    color: #4b5b72;
    font-size: 9px;
    font-weight: 900;
}

.wave-skip-actions button {
    position: relative;
}

.wave-skip-actions small {
    margin-right: 2px;
    font-size: 7px;
}

.wave-volume {
    flex: 1;
    justify-content: center;
    color: #64748b;
}

.wave-volume input {
    width: min(180px, 30vw);
    accent-color: #2563eb;
}

.wave-speed-button {
    padding: 0 12px;
}

.comments-heading-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.comments-total-badge {
    min-height: 31px;
    display: inline-flex;
    align-items: center;
    padding: 0 11px;
    border-radius: 999px;
    background: #eef4ff;
    color: #2563eb;
    font-size: 9px;
    font-weight: 900;
}

.comments-layout {
    display: grid;
    grid-template-columns: minmax(300px, .82fr) minmax(0, 1.3fr);
    gap: 20px;
    align-items: start;
}

.podcast-comment-form {
    position: sticky;
    top: 18px;
}

.comment-form-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.comment-form-title > i {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #eaf1ff;
    color: #2563eb;
}

.comment-form-title strong,
.comment-form-title small {
    display: block;
}

.comment-form-title strong {
    font-size: 12px;
    color: #1e293b;
}

.comment-form-title small {
    margin-top: 4px;
    color: #7b8798;
    font-size: 8px;
    line-height: 1.8;
}

.comment-form-grid label,
.comment-text-label {
    display: block;
}

.comment-form-grid label > span,
.comment-text-label > span {
    display: block;
    margin-bottom: 6px;
    color: #536176;
    font-size: 9px;
    font-weight: 850;
}

.comment-text-label {
    margin-top: 10px;
}

.comment-text-label > small {
    display: block;
    margin-top: 5px;
    color: #8a96a8;
    font-size: 8px;
    text-align: left;
}

.rating-buttons {
    display: flex;
    direction: ltr;
}

.podcast-rating-input button {
    font-size: 17px;
    transition: transform .15s ease;
}

.podcast-rating-input button:hover,
.podcast-rating-input button.active {
    transform: scale(1.12);
}

.podcast-comment-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 11px;
}

.comment-avatar {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #dbeafe, #ede9fe);
    color: #2563eb;
    font-size: 15px;
    font-weight: 950;
}

.comment-content {
    min-width: 0;
}

.podcast-comment-head > div:first-child {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.podcast-comment-rating {
    margin: 0;
    white-space: nowrap;
}

.podcast-admin-reply span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #2563eb;
    font-weight: 900;
}

.podcast-admin-reply p {
    margin: 5px 0 0;
}

.load-more-comments {
    width: 100%;
    min-height: 42px;
    margin-top: 12px;
    border: 1px solid #dce5f1;
    border-radius: 13px;
    background: #fff;
    color: #2563eb;
    font-size: 10px;
    font-weight: 900;
}

.comment-skeleton {
    display: grid;
    grid-template-columns: 43px 1fr;
    gap: 12px;
    padding: 14px;
    border: 1px solid #e3eaf4;
    border-radius: 16px;
}

.comment-skeleton > span {
    width: 43px;
    height: 43px;
    border-radius: 14px;
}

.comment-skeleton div {
    display: grid;
    gap: 7px;
}

.comment-skeleton b,
.comment-skeleton i {
    display: block;
    height: 9px;
    border-radius: 999px;
}

.comment-skeleton b { width: 34%; }
.comment-skeleton i:first-of-type { width: 90%; }
.comment-skeleton i:last-of-type { width: 65%; }

.related-card-cover {
    position: relative;
}

.related-card-cover > span {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255,255,255,.75);
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    font-size: 10px;
}

.sticky-mini-player {
    position: fixed;
    right: 50%;
    bottom: 18px;
    z-index: 999;
    width: min(520px, calc(100% - 24px));
    min-height: 65px;
    transform: translateX(50%);
    display: grid;
    grid-template-columns: 45px minmax(0, 1fr) 43px;
    align-items: center;
    gap: 10px;
    padding: 9px;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 19px;
    background: rgba(15, 23, 42, .94);
    color: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,.28);
    backdrop-filter: blur(14px);
}

.sticky-mini-player[hidden] {
    display: none !important;
}

.sticky-mini-player img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 12px;
}

.sticky-player-info {
    min-width: 0;
}

.sticky-player-info strong {
    display: block;
    overflow: hidden;
    color: #fff;
    font-size: 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.sticky-progress-track {
    height: 4px;
    overflow: hidden;
    margin-top: 8px;
    border-radius: 99px;
    background: rgba(255,255,255,.18);
}

.sticky-progress-track span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: #60a5fa;
}

.sticky-mini-player button {
    width: 43px;
    height: 43px;
    border: 0;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
}

.podcast-empty-state.compact {
    min-height: 170px;
}

@media (max-width: 900px) {
    .featured-podcast-track {
        grid-auto-columns: minmax(330px, 78%);
    }

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

    .podcast-comment-form {
        position: static;
    }
}

@media (max-width: 640px) {
    .featured-podcast-track {
        grid-auto-columns: 89%;
    }

    .featured-podcast-card {
        min-height: 210px;
        grid-template-columns: 105px minmax(0, 1fr);
        gap: 13px;
        padding: 14px;
        border-radius: 20px;
    }

    .featured-podcast-card > img {
        width: 105px;
        height: 145px;
        border-radius: 15px;
    }

    .featured-podcast-content strong {
        font-size: 14px;
    }

    .featured-podcast-content p {
        margin-bottom: 9px;
    }

    .wave-main-row {
        grid-template-columns: 1fr;
    }

    .wave-play-button {
        width: 54px;
        height: 54px;
        margin: 0 auto;
    }

    .wave-toolbar {
        flex-wrap: wrap;
    }

    .wave-volume {
        order: 3;
        width: 100%;
        flex-basis: 100%;
    }

    .wave-volume input {
        width: 70%;
    }

    .comments-heading-row {
        align-items: center;
    }

    .podcast-comment-item {
        grid-template-columns: 36px minmax(0, 1fr);
        padding: 12px;
    }

    .comment-avatar {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
        border-radius: 11px;
        font-size: 12px;
    }

    .podcast-comment-head {
        align-items: flex-start;
    }

    .podcast-comment-rating {
        font-size: 8px;
    }
}


/* Local like/save actions + RSS */
.podcast-hero-rss {
    display: inline-flex; align-items: center; gap: 7px; margin: 14px 0 2px;
    padding: 9px 13px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
    background: rgba(255,255,255,.12); color: #fff; text-decoration: none;
    font-size: 9px; font-weight: 900; backdrop-filter: blur(8px);
}
.podcast-hero-rss i,.podcast-rss-button i { color: #f97316; }
.podcast-primary-actions { flex-wrap: wrap; }
.podcast-primary-actions button,.podcast-primary-actions a {
    min-height: 42px; display: inline-flex; align-items: center; justify-content: center;
    gap: 7px; padding: 0 13px; border: 1px solid #dce5f1; border-radius: 13px;
    background: #fff; color: #475569; text-decoration: none; font-size: 9px; font-weight: 900;
}
.podcast-primary-actions .podcast-local-action.active {
    border-color: #fecaca; background: #fff1f2; color: #e11d48;
}
#podcastSaveButton.active { border-color: #bfdbfe; background: #eff6ff; color: #2563eb; }
#podcastLikeButton b { min-width: 20px; padding: 2px 5px; border-radius: 999px; background: rgba(225,29,72,.09); }
.podcast-rss-button { color: #c2410c !important; background: #fff7ed !important; border-color: #fed7aa !important; }
@media (max-width:640px){
 .podcast-primary-actions{display:grid;grid-template-columns:1fr 1fr;}
 .podcast-primary-actions a,.podcast-primary-actions button{width:100%;}
}


.bottom-nav{
    display:none;
}
.header {
    display: none;
}
.podcast-detail-page{
    overflow:auto;
}
.podcast-list-page {
    overflow: auto;
}

.detail-header {
    height: 64px;
    padding: 10px 14px;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,82,212,.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 700;
}

.detail-header-btn {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(0,82,212,.09);
    color: #0052D4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.detail-header-title {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

    .detail-header-title strong {
        font-size: 14px;
        color: #0f172a;
    }

    .detail-header-title span {
        font-size: 11px;
        color: #64748b;
    }

body.dark .detail-header {
    background: rgba(15,23,42,.96);
    border-bottom-color: rgba(255,255,255,.08);
}

body.dark .detail-header-title strong {
    color: #f8fafc;
}

.detail-header {
    transition: transform .55s cubic-bezier(.22,1,.36,1), opacity .35s ease, filter .35s ease;
    will-change: transform, opacity, filter;
}

    .detail-header.header-hidden {
        transform: translateY(-110%);
        opacity: 0;
        filter: blur(4px);
    }

.detail-header-wrapper {
    height: 70px;
    transition: height .55s cubic-bezier(.22,1,.36,1);
}

    .detail-header-wrapper.hide {
        height: 0;
    }

.detail-header {
    height: 70px;
}