/* Podcasts (Story 5690, 2026-11-04). The shelf wears the Vehicles / Houses board look
   (vehicles.css loads first) and the record pages the shared record look
   (entity-detail.css). This sheet adds the cards that fold, the badges and the stars. */

/* ---- the header: the trail over the title ---- */
.pc-titles { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.pc-titles h1 { flex: 0 0 auto; }
.pc-titles nav.pcr { --pcr-ink: #C9D3E0; --pcr-ink-hover: #fff; }
.ct-header .pc-head-title { color: #fff; margin: 0; font-size: 18px; }

/* ---- the shelf's filter rows ---- */
.pc-modes { display: flex; gap: 6px; flex-wrap: wrap; }
.pc-sep { width: 1px; align-self: stretch; background: #E2E2E6; margin: 0 4px; }
.pc-chip-n { opacity: .75; margin-left: 4px; font-size: 12px; }
.pc-statusrow { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.pc-statusrow .vh-status-line { margin: 0; flex: 1 1 auto; }

/* ---- cards ---- */
.pc-list { display: flex; flex-direction: column; gap: 8px; }
.pc-card { border: 1px solid #E7E7EC; border-left: 4px solid #7C3AED; border-radius: 8px; background: #fff; }
.pc-card.is-fav { border-left-color: #D97706; }
.pc-card.is-stopped { border-left-color: #9AA0A6; }
.pc-card.is-suggested { border-left-color: #0EA5E9; background: #F7FCFF; }
.pc-card-head {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; padding: 9px 12px;
    cursor: pointer; user-select: none;
}
.pc-chev { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent;
           border-top: 6px solid #7C3AED; transition: transform .15s; align-self: center; flex: 0 0 auto; }
.pc-card.collapsed .pc-chev { transform: rotate(-90deg); }
.pc-card.collapsed > .pc-card-body { display: none; }
.pc-card-title { font-size: 14px; font-weight: 600; color: #1B1B1F; flex: 1 1 180px; min-width: 0; overflow-wrap: anywhere; text-decoration: none; }
a.pc-card-title:hover { text-decoration: underline; color: #4C1D95; }
.pc-card-sub { font-size: 12px; color: #555; }
.pc-card-body { padding: 0 12px 10px 27px; }
.pc-card-rows { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 4px 16px; }
.pc-card-rows div { min-width: 0; }
.pc-card-rows dt { font-size: 11px; color: #667; text-transform: uppercase; letter-spacing: .3px; }
.pc-card-rows dd { margin: 0; font-size: 13px; color: #222; white-space: pre-wrap; overflow-wrap: anywhere; }
.pc-card-rows dd a { color: #4C1D95; }
.pc-card-btns { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; margin-top: 8px; }
.pc-card-btns .ed-btn { padding: 4px 10px; font-size: 11px; }
.pc-ext { text-decoration: none; display: inline-block; }

/* ---- badges and stars ---- */
.pc-badge { font-size: 11px; font-weight: 600; color: #4C1D95; background: #EDE9FE; border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
/* Story 5732: the site a show's channel or an episode lives on, and a show with no channel yet. */
.pc-site { font-size: 11px; font-weight: 600; color: #1E3A5F; background: #E0ECF8; border: 1px solid #BFD4EA; border-radius: 4px;
           padding: 0 6px; white-space: nowrap; max-width: 14em; overflow: hidden; text-overflow: ellipsis; }
.pc-badge.pc-channel { color: #14532D; background: #DCFCE7; }
.pc-missing { color: #92400E; font-style: italic; }
.pc-st-listened, .pc-st-listening { color: #15803D; background: #E3F5EA; }
.pc-st-suggested { color: #075985; background: #E0F2FE; }
.pc-st-stopped, .pc-st-skipped { color: #555; background: #EEEEF1; }
.pc-st-wanttotry, .pc-st-wanttolisten { color: #92400E; background: #FEF3C7; }
.pc-stars { color: #D97706; letter-spacing: 1px; font-size: 13px; white-space: nowrap; }
.pc-fav { color: #D97706; font-size: 14px; }
.pc-role { font-size: 11px; font-weight: 600; color: #1F4E8C; background: #E5F0FF; border-radius: 999px; padding: 1px 8px; }
.pc-role.guest { color: #6B21A8; background: #F3E8FF; }
.pc-time { font-family: Consolas, Menlo, monospace; font-size: 12px; color: #4C1D95; font-weight: 600; }
.pc-quote { white-space: pre-wrap; font-size: 13px; color: #222; }
.pc-star-on { color: #D97706; }

/* ---- a person's episodes on the People tab ---- */
.pc-eplist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.pc-eplist li { font-size: 13px; display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; }
.pc-eplist a { color: #4C1D95; }
.pc-eplist .pc-date { color: #777; font-size: 12px; }

/* ---- record pages: section headings inside a tab ---- */
.pc-section-title { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: #6D28D9; margin: 16px 0 6px; }
.pc-empty { font-size: 13px; color: #777; margin-top: 10px; }
.pc-more { margin: 12px auto 0; display: block; }
.pc-tools-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.pc-tools-row .vh-search { min-width: 140px; }
.pc-foldall { font-size: 15px; line-height: 1; padding: 4px 10px; }
.pc-foldall[hidden] { display: none; }
.pc-detail { margin-top: 10px; }
.pc-detail .vh-section h3 { color: #6D28D9; }
.pc-detail .vh-fold-chev { border-top-color: #6D28D9; }

/* the small label in front of a filter dropdown; its pencil renames / deletes the list's values */
.pc-flabel { font-size: 12px; color: #555; }
.pc-tools-row .ps-select { min-width: 150px; }
.vh-filters.ef-pane { display: block; }
/* the shelf's Category and Type side by side, the search on its own line, full width */
.pc-fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; margin-top: 8px; }
.pc-fcell { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pc-fcell .pc-flabel { display: flex; align-items: center; gap: 4px; }
.vh-filters .pc-search { display: block; width: 100%; box-sizing: border-box; margin-top: 8px; }
.vh-filters .voice-mic-wrap { display: block; }

/* Group by: a folding band per group, its cards inside */
.pc-group { border: 1px solid #DDD6FE; border-radius: 10px; background: #F8F6FF; }
.pc-group + .pc-group { margin-top: 8px; }
.pc-group-head { display: flex; align-items: baseline; gap: 8px; padding: 9px 12px; cursor: pointer; user-select: none; }
.pc-group-title { font-size: 15px; font-weight: 700; color: #1B1B1F; flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.pc-group.collapsed > .pc-group-head > .pc-chev { transform: rotate(-90deg); }
.pc-group.collapsed > .pc-group-body { display: none; }
.pc-group-body { display: flex; flex-direction: column; gap: 8px; padding: 0 10px 10px; }
.pc-groupby { display: flex; align-items: center; gap: 6px; }
.pc-groupby .ps-select { min-width: 190px; }

/* A show card's Episodes band on the shelf, and the folding episode rows in it (2026-11-17). */
.pc-showeps { margin-top: 10px; border-top: 1px solid #E5E7EB; padding-top: 6px; }
.pc-showeps-bar { display: flex; align-items: center; gap: 8px; }
.pc-showeps-head, .pc-sep-head { display: flex; align-items: center; gap: 8px; background: none; border: 0; padding: 6px 2px;
    font: inherit; font-size: 13px; font-weight: 600; color: #333; cursor: pointer; text-align: left; min-width: 0; }
.pc-showeps-head { flex: 1; }
.pc-showeps-all { padding: 2px 8px; font-size: 11px; }
.pc-showeps.collapsed > .pc-showeps-body { display: none; }
.pc-showeps.collapsed > .pc-showeps-bar .pc-chev { transform: rotate(-90deg); }
.pc-showeps-body { display: flex; flex-direction: column; align-items: stretch; gap: 6px; padding-left: 10px; }
.pc-sep { width: 100%; box-sizing: border-box; border: 1px solid #E5E7EB; border-left: 3px solid #A78BFA; border-radius: 6px; padding: 2px 10px; background: #FAFAFF; }
.pc-sep-head { width: 100%; font-weight: 500; }
.pc-sep-title { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.pc-sep-tag { font-size: 11px; color: #4C1D95; background: #EDE9FE; border-radius: 8px; padding: 1px 7px; }
.pc-sep.collapsed > .pc-sep-body { display: none; }
.pc-sep.collapsed > .pc-sep-head .pc-chev { transform: rotate(-90deg); }
.pc-sep-body { padding: 4px 0 8px 18px; }
