/* ============================================================
   Skyler Network — Podcast Module Styles
   themes/sunshine/stylesheet/podcast.css
   ============================================================ */

/* ---------- Layout wrapper ---------- */
.sn-podcasts-wrap { max-width: 860px; margin: 0 auto; }

/* ---------- Podcast show topbar (back link) ---------- */
.sn-podcast-topbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

/* ---------- Podcast show header ---------- */
.sn-podcast-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: var(--bg-card, #fff);
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
    position: relative;
}
.sn-share-corner {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    color: var(--text-muted, #999);
    line-height: 0;
    border-radius: 50%;
    transition: background .15s, color .15s;
}
.sn-share-corner:hover { background: var(--border-color, #eee); color: var(--text-main, #1a1a1a); }
.sn-podcast-header .sn-show-art {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}
.sn-podcast-header .sn-show-info { flex: 1; }
.sn-podcast-header h2            { font-size: 24px; font-weight: 600; margin: 0 0 6px; }
.sn-podcast-header .sn-show-desc { font-size: 16px; color: var(--text-muted, #666); margin: 0 0 10px; }
.sn-podcast-header .sn-show-stats {
    /* font-size: 8px; */
    color: var(--text-muted, #666);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}
.sn-podcast-header .sn-show-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

/* ---------- Podcast show cards (list page) ---------- */
.sn-show-cards {
    display: flex;
    flex-direction: column;
    background: var(--bg-card, #fff);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .07);
}
.sn-show-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color, #eee);
    background: var(--bg-card, #fff);
    transition: background .15s;
    color: inherit;
}
.sn-show-card:last-child { border-bottom: none; }
.sn-show-card:hover { background: var(--bg-hover, #f7f7f7); }
.sn-show-card > a:first-child { flex-shrink: 0; line-height: 0; }
.sn-show-card-cover {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    margin-bottom: auto;
    margin-top: 8px;
}
.sn-show-card-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.sn-show-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.sn-show-card-title { font-size: 16px; font-weight: 500; margin: 0 0 2px; color: var(--text-main, #1a1a1a); }
.sn-show-card-desc  { font-size: 16px; color: var(--text-muted, #666); margin: 0 0 4px; }
.sn-show-card-meta  { font-size: 14px; color: var(--text-muted, #666); }
.sn-show-card-foot  { display: flex; gap: 8px; align-items: center; margin-top: 6px; }

/* ---------- Episode card ---------- */
.sn-episode-card {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color, #eee);
}
.sn-episode-card:last-child { border-bottom: none; }

.sn-ep-artwork {
    position: relative;
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
}
.sn-ep-artwork img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sn-ep-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 90, 45, 0.88);
    color: #fff;
    border: none;
    cursor: pointer;
    clip-path: circle(22px at 50% 50%);
    opacity: 1;
    transition: clip-path .25s ease;
    border-radius: 8px;
}
.sn-ep-play-btn svg { width: 24px; height: 24px; }
.sn-episode-card:hover .sn-ep-play-btn,
.sn-ep-play-btn.playing { clip-path: circle(150% at 50% 50%); }

.sn-ep-body { flex: 1; min-width: 0; }
.sn-ep-meta {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted, #666);
    margin-bottom: 4px;
    flex-wrap: wrap;
    align-items: center;
}
.sn-ep-num    { font-weight: 600; color: var(--main-color, #1a1a1a); }
.sn-ep-date   { display: none; }
.sn-ep-draft-badge { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; background: #f59e0b; color: #fff; padding: 1px 7px; border-radius: 4px; }
.sn-ep-scheduled-badge { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; background: #6366f1; color: #fff; padding: 1px 7px; border-radius: 4px; }
.sn-ep-title  { font-size: 20px; font-weight: 400; margin: 0 0 4px; }
.sn-ep-title a { color: var(--text-main, #1a1a1a); text-decoration: none; }
.sn-ep-title a:hover { text-decoration: underline; }
.sn-ep-desc   { font-size: 16px; color: var(--text-muted, #666); margin: 0 0 8px; line-height: 1.5; }
.sn-ep-actions {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 14px;
}
.sn-ep-link         { color: var(--main-color, #1a1a1a); font-weight: 600; text-decoration: none; }
.sn-ep-link:hover   { text-decoration: underline; }
.sn-like-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-muted, #888);
    padding: 0;
}
.sn-like-btn.liked  { color: #e53935; }
.sn-like-btn svg    { transition: transform .15s; }
.sn-like-btn:hover svg { transform: scale(1.2); }
.sn-play-count {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-muted, #888);
}
.sn-ep-edit {
    color: var(--text-muted, #888);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}
.sn-ep-delete {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    color: #e53935;
}
.sn-ep-share {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-muted, #888);
    font-size: 14px;
    font-family: var(--main-font);
}
.sn-ep-share:hover { color: var(--main-color, #1a1a1a); }

/* ---------- Inline audio player ---------- */
.sn-podcast-player {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--bg-card, #fff);
    border: 1px solid var(--border-color, #e8e8e8);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}
.sn-player-art     { width: 80px; height: 80px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.sn-player-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sn-player-inner   { flex: 1; min-width: 0; }
.sn-player-meta    { display: flex; gap: 10px; font-size: 14px; color: var(--text-muted, #666); margin-bottom: 8px; align-items: center; }
.sn-player-show    { font-weight: 600; }
.sn-player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
}
.sn-btn-play {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: var(--text-main, #1a1a1a);
    line-height: 0;
}
.sn-btn-skip {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--text-muted, #666);
    line-height: 0;
}
.sn-btn-skip:hover { color: var(--text-main, #1a1a1a); }
.sn-player-track   { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.sn-time-current,
.sn-time-total     { font-size: 14px; color: var(--text-muted, #666); white-space: nowrap; min-width: 36px; }
.sn-progress-wrap  {
    flex: 1;
    position: relative;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    cursor: pointer;
}
.sn-progress-fill  {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: var(--main-color, #1a1a1a);
    border-radius: 2px;
    width: 0;
    pointer-events: none;
    transition: width .1s linear;
}
.sn-seeker         { position: absolute; inset: -8px 0; width: 100%; opacity: 0; cursor: pointer; margin: 0; }
.sn-player-extras  { display: flex; align-items: center; gap: 12px; }
.sn-speed-select   {
    border: 1px solid var(--border-color, #ddd);
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 16px;
    background: var(--bg-main, #f9f9f9);
    cursor: pointer;
    color: var(--text-main, #1a1a1a);
}
.sn-btn-download   { color: var(--text-muted, #888); text-decoration: none; line-height: 0; }
.sn-btn-download:hover { color: var(--text-main, #1a1a1a); }

/* ---------- Single episode page ---------- */
.sn-episode-page      { max-width: 720px; margin: 0 auto; }
.sn-episode-page h1   { font-size: 20px; font-weight: 800; margin: 0 0 8px; }
.sn-episode-page .sn-ep-page-meta { color: var(--text-muted, #666); margin-bottom: 20px; display: flex; gap: 14px; flex-wrap: wrap; }
.sn-episode-page .sn-ep-page-meta > span{ border-radius: 5px; padding: 2px 8px; background: #1f6aa112; font-size: 12px;font-weight: 700; }
.sn-episode-shownotes { line-height: 1.75; color: var(--text-main, #1a1a1a); margin-top: 24px; }
.sn-episode-shownotes p { margin: 0 0 14px; }
.sn-episode-actions   { display: flex; gap: 14px; align-items: center; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border-color, #eee); }
.sn-back-link         { font-size: 16px; color: var(--text-muted, #666); text-decoration: none; display: flex; align-items: center; gap: 4px; }
.sn-back-link:hover   { color: var(--text-main, #1a1a1a); }

/* ---------- Forms ---------- */
.sn-form-wrap        { margin: 0 auto; background: var(--bg-card, #fff); border-radius: 12px; padding: 28px; box-shadow: 0 1px 4px rgba(0, 0, 0, .07); }
.sn-form-wrap h2     { font-size: 18px; font-weight: 500; font-family: var(--main-font); margin: 0 0 22px; }
.sn-form-row         { margin-bottom: 18px; }
.sn-form-row label   { display: block; font-size: 16px; font-weight: 600; font-family: var(--main-font); margin-bottom: 6px; }
.sn-form-row input[type="text"],
.sn-form-row input[type="url"],
.sn-form-row input[type="datetime-local"],
.sn-form-row input[type="number"],
.sn-form-row select,
.sn-form-row textarea {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--border-color, #ddd);
    border-radius: 8px;
    font-size: 16px;
    background: var(--bg-main, #fff);
    color: var(--text-main, #1a1a1a);
    box-sizing: border-box;
    font-family: var(--main-font);
}
.sn-form-row textarea { min-height: 110px; resize: vertical; }
#ep_audio_url:placeholder-shown { border-color: #e53935; }
.sn-form-row input:focus,
.sn-form-row select:focus,
.sn-form-row textarea:focus {
    outline: none;
    border-color: var(--main-color, #333);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, .05);
}
.sn-form-hint { font-size: 14px; font-family: var(--main-font); color: var(--text-muted, #888); margin-top: 4px; }
.sn-form-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* File upload zones */
.sn-upload-zone {
    border: 2px dashed var(--border-color, #ccc);
    border-radius: 10px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    background: var(--bg-main, #fafafa);
}
.sn-upload-zone:hover,
.sn-upload-zone.drag-over {
    border-color: var(--main-color, #333);
    background: rgba(0, 0, 0, .02);
}
.sn-upload-zone input[type="file"] { display: none; }
.sn-upload-icon  { font-size: 20px; margin-bottom: 8px; line-height: 1; }
.sn-upload-label { font-size: 14px; font-weight: 600; display: block; }
.sn-upload-hint  { font-size: 12px; color: var(--text-muted, #888); margin-top: 4px; display: block; }
.sn-file-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    padding: 10px 14px;
    background: var(--bg-main, #f0f0f0);
    border-radius: 8px;
}
.sn-file-name  { font-size: 16px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sn-file-clear { cursor: pointer; color: var(--text-muted, #888); font-size: 20px; line-height: 1; }
.sn-cover-preview { margin-top: 10px; }
.sn-cover-preview img { max-width: 160px; border-radius: 8px; display: block; }

/* Explicit toggle */
.sn-toggle-row          { display: flex; align-items: center; gap: 12px; }
.sn-toggle-row label    { margin: 0; font-weight: 400; cursor: pointer; }

/* ---------- Misc ---------- */
.sn-empty-state { text-align: center; padding: 48px 20px; color: var(--text-muted, #888); }
.sn-empty-state svg { margin-bottom: 12px; opacity: .4; display: block; margin-left: auto; margin-right: auto; }
.sn-load-more   { display: block; margin: 20px auto 0; }
.sn-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color, #eee);
}
.sn-section-head h3 { margin: 0; font-size: 20px; font-weight: 700; }

/* RSS badge */
.sn-rss-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    color: #f26522;
    border: 1px solid #f26522;
    border-radius: 20px;
    padding: 3px 10px;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.sn-rss-badge:hover { background: #f26522; color: #fff; }

/* Follow button */
.sn-follow-btn {
    padding: 6px 18px;
    border-radius: 20px;
    border: 2px solid var(--main-color, #1a1a1a);
    background: transparent;
    color: var(--main-color, #1a1a1a);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.sn-follow-btn:hover,
.sn-follow-btn.sn-following {
    background: var(--main-color, #1a1a1a);
    color: #fff;
}

/* ---------- Tab bar ---------- */
.sn-tab-bar {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: var(--bg-secondary, #f0f0f0);
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 16px;
}
.sn-tab {
    padding: 6px 18px;
    border-radius: 8px;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-muted, #666);
    cursor: pointer;
    transition: background .15s, color .15s, box-shadow .15s;
    white-space: nowrap;
}
.sn-tab:hover  { color: var(--text-main, #1a1a1a); }
.sn-tab.active {
    background: var(--bg-card, #fff);
    color: var(--text-main, #1a1a1a);
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
    border: 1px solid rgba(0, 0, 0, .06);
}

/* ---------- Distribution panel ---------- */
.sn-distro-panel  { border-radius: 12px; box-shadow: 0 1px 4px rgba(0, 0, 0, .06); }

.sn-distro-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color, #eee);
    transition: background .1s;
}
.sn-distro-row:last-child { border-bottom: none; }
.sn-distro-row:hover      { background: var(--bg-secondary, #fafafa); }
.sn-distro-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sn-distro-info  { flex: 1; min-width: 0; }
.sn-distro-name  { font-size: 18px; font-weight: 600; color: var(--text-main, #1a1a1a); margin-bottom: 2px; }
.sn-distro-desc  { font-size: 16px; color: var(--text-muted, #888); }
.sn-distro-btn {
    padding: 7px 16px;
    border: 1px solid var(--border-color, #ddd);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-main, #1a1a1a);
    background: var(--bg-card, #fff);
    text-decoration: none;
    white-space: nowrap;
    transition: border-color .15s, box-shadow .15s;
    flex-shrink: 0;
}
.sn-distro-btn:hover {
    border-color: var(--main-color, #333);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
    color: var(--text-main, #1a1a1a);
    text-decoration: none;
}
.sn-distro-section-label {
    padding: 10px 24px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-muted, #888);
    text-transform: uppercase;
    letter-spacing: .06em;
    background: var(--bg-secondary, #f9f9f9);
    border-top: 1px solid var(--border-color, #eee);
    border-bottom: 1px solid var(--border-color, #eee);
}

/* ---------- Analytics ---------- */
.sn-analytics-section       { padding: 20px; border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.sn-analytics-section-title { font-size: 18px; font-weight: 600; margin: 0 0 16px; color: var(--text-main, #1a1a1a); }
.sn-analytics-empty         { color: var(--text-muted, #aaa); font-size: 16px; text-align: center; padding: 24px 0; }
.sn-analytics-row-2col      { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Performance cards */
.sn-perf-cards     { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sn-perf-card      { border: 1px solid var(--border-color, #eee); border-radius: 10px; padding: 14px 16px; }
.sn-perf-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.sn-perf-label     { font-size: 16px; color: var(--text-muted, #888); }
.sn-perf-dot       { width: 10px; height: 10px; border-radius: 50%; }
.sn-perf-value     { font-size: 20px; font-weight: 800; color: var(--text-main, #1a1a1a); line-height: 1; }

/* Summary grid */
.sn-summary-grid   { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sn-summary-val    { font-size: 18px; font-weight: 800; color: var(--text-main, #1a1a1a); margin-top: 2px; }

/* Episode ranking table */
.sn-analytics-table   { display: flex; flex-direction: column; gap: 10px; }
.sn-analytics-ep-row  { display: flex; align-items: center; gap: 12px; }
.sn-analytics-rank {
    width: 20px; text-align: right; font-size: 14px; font-weight: 700;
    color: var(--text-muted, #bbb); flex-shrink: 0;
}
.sn-analytics-thumb   { width: 38px; height: 38px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.sn-analytics-meta    { flex: 1; min-width: 0; }
.sn-analytics-title {
    display: block; font-size: 16px; font-weight: 600;
    color: var(--text-main, #1a1a1a); text-decoration: none;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 5px;
}
.sn-analytics-title:hover { text-decoration: underline; }
.sn-analytics-bar-wrap { height: 4px; background: var(--bg-secondary, #eee); border-radius: 2px; overflow: hidden; }
.sn-analytics-bar   { height: 100%; background: #e91e8c; border-radius: 2px; transition: width .5s ease; }
.sn-analytics-plays { text-align: right; flex-shrink: 0; min-width: 52px; }
.sn-analytics-plays span  { display: block; font-size: 16px; font-weight: 700; }
.sn-analytics-plays small { font-size: 14px; color: var(--text-muted, #888); }

/* ---------- Transcript panel ---------- */
.sn-transcript-panel { border-radius: 12px; box-shadow: 0 1px 4px rgba(0, 0, 0, .06); }
.sn-transcript-panel summary::-webkit-details-marker { display: none; }
.sn-transcript-panel[open] summary { border-bottom: 1px solid var(--border-color, #eee); padding-bottom: 14px; margin-bottom: 0; }

/* ---------- Distribution connected badge + linked URL ---------- */
.sn-distro-connected-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    background: #d1fae5;
    color: #065f46;
    border-radius: 20px;
    padding: 1px 8px;
    vertical-align: middle;
    letter-spacing: .02em;
}
.sn-distro-linked-url {
    font-size: 14px;
    color: var(--primary-color, #e91e8c);
    word-break: break-all;
    text-decoration: none;
}
.sn-distro-linked-url:hover { text-decoration: underline; }
.sn-distro-btn-update {
    border-color: #065f46 !important;
    color: #065f46 !important;
}

/* ---------- Distribution setup modal ---------- */
.sn-distro-modal-card {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 520px;
    box-shadow: 0 24px 64px rgba(0,0,0,.22);
    overflow: hidden;
}
.sn-dm-step {
    background: #f9f9f9;
    border: 1px solid #ebebeb;
    border-radius: 10px;
    padding: 16px;
}
.sn-dm-step-title {
    font-size: 16px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 10px;
}
.sn-dm-open-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 600;
    color: #444;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 7px 14px;
    text-decoration: none;
    background: #fff;
    transition: border-color .15s, color .15s;
}
.sn-dm-open-btn:hover { border-color: #888; color: #111; text-decoration: none; }
.sn-dm-bullets {
    margin: 0 0 12px 0;
    padding-left: 18px;
    font-size: 16px;
    color: #444;
    line-height: 1.6;
}
.sn-dm-rss-row {
    display: flex;
    gap: 8px;
    align-items: center;
}
.sn-dm-rss-input {
    flex: 1;
    min-width: 0;
    font-family: monospace;
    font-size: 14px;
    padding: 7px 10px;
    border: 1px solid #ddd;
    border-radius: 7px;
    background: #fff;
    color: #333;
}
.sn-dm-copy-btn {
    flex-shrink: 0;
    font-size: 16px;
    font-weight: 600;
    color: #5b4cdb;
    background: #eeebff;
    border: none;
    border-radius: 7px;
    padding: 7px 14px;
    cursor: pointer;
    transition: background .15s;
}
.sn-dm-copy-btn:hover { background: #ddd9ff; }
.sn-dm-hint {
    font-size: 16px;
    color: #888;
    margin: 0 0 10px;
}
.sn-dm-url-input {
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
    padding: 9px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: #333;
}
.sn-dm-url-input:focus { outline: none; border-color: #a0a0ff; }

/* ---------- Discover feed card (home page inline card) ---------- */
.podcast-feed-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 16px;
    border-bottom: none !important;
    flex-direction: row !important;
}
.pfc-cover-link { flex-shrink: 0; line-height: 0; }
.pfc-cover {
    width: 86px;
    height: 86px;
    border-radius: 10px;
    object-fit: cover;
    display: block;
}
.pfc-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.pfc-label {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-muted, #888);
}
.pfc-label svg { color: var(--main-color, #1a1a1a); flex-shrink: 0; }
.pfc-label-text {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--text-muted, #999);
}
.pfc-title {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.35;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    margin: 1px 0;
}
.pfc-title a { color: var(--text-main, #1a1a1a); text-decoration: none; }
.pfc-title a:hover { text-decoration: underline; }
.pfc-desc {
    font-size: 12px;
    color: var(--text-muted, #888);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pfc-owner-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
}
.pfc-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.pfc-meta-label {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    white-space: nowrap;
}
.pfc-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: #f1f5f9;
    border-radius: 20px;
    padding: 2px 8px 2px 5px;
}
.pfc-chip-check { flex-shrink: 0; display: block; }
.pfc-chip-link,
.pfc-chip-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-main, #1a1a1a);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
    display: inline-block;
}
.pfc-chip-link:hover { text-decoration: underline; color: var(--text-main, #1a1a1a); }
.pfc-category-tag {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--main-color, #1a1a1a);
    background: #f1f5f9;
    border-radius: 20px;
    padding: 2px 9px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
}
.pfc-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
}
.pfc-eps {
    font-size: 12px;
    color: var(--text-muted, #888);
}
.pfc-listen {
    font-size: 12px;
    font-weight: 600;
    color: var(--main-color, #1a1a1a);
    text-decoration: none;
    border: 1.5px solid var(--main-color, #1a1a1a);
    border-radius: 20px;
    padding: 3px 12px;
    transition: background .15s, color .15s;
    white-space: nowrap;
}
.pfc-listen:hover {
    background: var(--main-color, #1a1a1a);
    color: #fff;
    text-decoration: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 700px) {
    .sn-analytics-row-2col { grid-template-columns: 1fr; }
    .sn-perf-cards         { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .sn-podcast-header       { flex-direction: column; }
    .sn-podcast-header .sn-show-art { width: 80px; height: 80px; }
    .sn-show-card-cover      { width: 52px; height: 52px; }
    .sn-podcast-player       { flex-direction: column; }
    .sn-player-art           { width: 56px; height: 56px; }
    .sn-form-cols            { grid-template-columns: 1fr; }
    .sn-episode-page h1      { font-size: 20px; }
    .sn-analytics-row-2col   { grid-template-columns: 1fr; }
    .sn-summary-grid         { grid-template-columns: 1fr 1fr; }
    .sn-distro-row           { padding: 14px 16px; gap: 12px; }
    .sn-distro-desc          { display: none; }
    .sn-tab                  { padding: 6px 12px; font-size: 16px; }
    .sn-show-card {
        flex-wrap: wrap;
        align-items: flex-start;
    }
    
    .sn-show-card-body {
        flex: 1;
        min-width: 0;
    }
    
    .sn-show-card-foot {
        flex: 0 0 100%;
        width: 100%;
        margin-top: 10px;
        padding-top: 8px;
        border-top: 1px solid var(--border-color, #eee);
        align-items: flex-end !important;
        justify-content: flex-end !important;
    }
    .sn-show-card-foot .btn {
        flex: 0 !important;
        font-size: 14px !important;
    }
    /* .sn-show-card-title{
        font-size: 20px !important;
    } */
    .sn-show-card-desc{
        font-size: 14px !important;
    }
    .sn-show-card-meta{
        font-size: 12px !important;
    }
    .sn-show-card-foot .btn {
        font-size: 14px !important;
    }
}
