/* web/css/podview.css: a podcast's view inside the shell (web/js/views/podcast.js: na.js's own view, mounted without a
   page load) looks as the server's page for that URL draws it (app/web/pages.py: public/assets/theme.css, head.css,
   na.css, na-podcast.css; GOALS ruling 8). While it is mounted html has pa-in-pod, and these rules undo what the shell's
   own CSS (base.css, views.css, player.css) does differently from that page; nothing here reaches the shell's views. */

/* the view takes the page's whole width as on its own page (#view is the shell's centred, padded column) */
html.pa-in-pod #view{display:block;max-width:none;padding:0;min-height:0}
/* theme.css .wrap (na.css widens .na-wrap to 1480 px and keeps its right gutter on desktops) */
.pa-podview .wrap{max-width:1080px;margin:0 auto;padding:0 20px}
/* head.css: the header does not stick over the podcast view (na.js scrolls its big player to the window's top; rules
   B7 and B8 of docs/player-rules.md) */
html.pa-in-pod .pa-head{position:relative}
/* theme.css's body (60 px at the foot; na.css: none on desktops, the bar's room on phones) */
html.pa-in-pod body{padding-bottom:60px}
@media (min-width:901px){html.pa-in-pod body,html.pa-in-pod body.na-mini-on{padding-bottom:0}}
/* the bar's room on phones is kept while anything is loaded (na-np-has), so the bar hiding over the big player of its own
   episode and coming back when that scrolls away never changes the page's height (operator 2026-11-10) */
@media (max-width:900px){html.pa-in-pod body.na-mini-on,html.pa-in-pod body.na-np-has{padding-bottom:84px}}
/* base.css gives every button the page's font; the page leaves na.css's buttons the browser's own where na.css sets
   none (the tabs' line height). At no weight, so every na.css rule still wins */
:where(html.pa-in-pod .pa-podview, html.pa-in-pod #na-players) button{font:revert;color:revert}
/* na.css scrolls the page smoothly (player.css sets the shell's views back to at once) */
@media (prefers-reduced-motion:no-preference){html.pa-in-pod{scroll-behavior:smooth}}
/* theme.css's dim ink on the dark page (base.css's is a step lighter), in the view and in the players over it; the
   header keeps its own (head.css) */
html.pa-in-pod:not(.pa-light) .pa-podview,html.pa-in-pod:not(.pa-light) #na-players{--ink-dim:#67767d}
/* theme.css's thin dark scrollbars */
html.pa-in-pod *{scrollbar-width:thin}
html.pa-in-pod ::-webkit-scrollbar{width:10px;height:10px;background:#0f1318}
html.pa-in-pod ::-webkit-scrollbar-track{background:#0f1318}
html.pa-in-pod ::-webkit-scrollbar-thumb{background:#2a3640;border:2px solid #0f1318;border-radius:6px}
html.pa-in-pod ::-webkit-scrollbar-thumb:hover{background:#9a6519}
html.pa-in-pod ::-webkit-scrollbar-corner{background:#0f1318}
/* the podcast's own search (na.js .na-gs, at the trail's right, todo 29) owns the / key while the view is mounted, so
   the header's search box does not show the key */
html.pa-in-pod .pa-head .pa-key{display:none}
/* the header on a podcast's page (WEBHDR1, operator 2026-11-17 09:55: "The search bar should always show if there is
   room"): the same header as every page (css/header.css), the podcast search field included where it fits; the
   podcast's own search (the collapsed top's SEARCH, na.js) stays in the page */

/* SHOW ALL (na.js saOpen; operator 2026-11-14 22:15, the iPhone's alike; web/README.md "Show all"): the button at the
   LATEST line's right end (the line's note under it on phones, so LATEST and SHOW ALL keep one line), and the sheet:
   a large panel over the page on desktops, the whole room under the header on phones (DA: the header's navigation lit
   and live above it; the queue drawer, 1040, and the gear's menu, 1200, open over it); the year rows scroll with the
   rows (the year large in amber, its count small and dim). Every close slides it off to the left (.na-sa-swiped) */
.na-panel-h>.na-sa-open{margin-left:auto;align-self:center;text-transform:uppercase;letter-spacing:.08em}
.na-panel-h>.na-sa-open[hidden]{display:none}
@media (max-width:560px){.na-panel-h:has(>.na-sa-open:not([hidden]))>.na-note{order:3;flex-basis:100%}}
html.na-sa-on{overflow:hidden}
.na-sa-back{position:fixed;inset:0;z-index:710;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.55);
  opacity:0;transition:opacity .2s ease}
.na-sa-back.na-sa-in{opacity:1}
.na-sa{display:flex;flex-direction:column;width:min(880px,94vw);height:min(calc(100% - 32px),1100px);background:var(--panel);color:var(--ink);
  border:1px solid var(--edge);border-radius:10px;box-shadow:0 30px 80px -20px rgba(0,0,0,.6);transform:translateY(14px);
  transition:transform .22s ease;touch-action:pan-y}
.na-sa-in>.na-sa{transform:none}
.na-sa.na-sa-drag{transition:none}
.na-sa-back.na-sa-swiped{opacity:0;transition:opacity .25s ease-in}
.na-sa-swiped>.na-sa{transform:translateX(calc(-100% - 60px)) !important;transition:transform .25s ease-in}
.na-sa-h{display:flex;align-items:baseline;gap:4px 12px;flex-wrap:wrap;padding:16px 18px 11px;border-bottom:1px solid var(--edge)}
.na-sa-h>.na-sa-t{margin:0;font-size:20px}
.na-sa-x{margin-left:auto;align-self:center}
.na-sa-sc{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 14px 14px}
html .na-items.na-sa-list{overflow:visible;contain:none;max-height:none;margin:0 -4px;padding:0;min-height:0;flex:none}
.na-sa-y{font-family:var(--cond);font-weight:700;color:var(--amber);font-size:26px;line-height:1.1;padding:14px 8px 4px;margin:0;list-style:none;white-space:nowrap}
.na-sa-yn{font-family:var(--sans,inherit);font-weight:400;font-size:12px;letter-spacing:0;color:var(--ink-dim)}
.na-sa-foot{margin:16px 0 6px;text-align:center;font-size:12px;color:var(--ink-dim)}
.na-sa-foot .na-b{margin-left:8px}
@media (max-width:700px){
  .na-sa-back{align-items:stretch}
  .na-sa{width:100%;height:100%;border:0;border-radius:0;box-shadow:none}
  .na-sa-h{padding:12px 14px 10px}
  .na-sa-sc{padding:0 8px max(14px,env(safe-area-inset-bottom))}
}
/* THE BREADCRUMB, ONE LINE (WEBPL2 d, operator 2026-11-17 11:00; views/podcast.js trail): '‹ Home / <the podcast>', the
   back link bold in the link blue, then the trail's own dim slash and the podcast; at every width (the header keeps
   its wordmark: css/views.css data-head=pod, WEBHDR2 b) */
.na-trail.pa-crumbs{flex-wrap:nowrap;min-width:0;gap:8px;font-size:12.5px}
.na-trail.pa-crumbs a.pa-crumb-back{flex:none;gap:2px;margin-left:-5px;color:var(--link);font-family:var(--cond);font-weight:700;font-size:15px;letter-spacing:.02em}
.na-trail.pa-crumbs a.pa-crumb-back:hover{color:var(--link);text-decoration:underline;text-underline-offset:3px}
.na-trail.pa-crumbs .pa-crumb-back svg{width:18px;height:18px}
.na-trail.pa-crumbs .pa-crumb-cur{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.na-toprow > .pa-crumbs{flex:1 1 0;max-width:100%}
html.pa-deep #view .pa-crumbs a.pa-crumb-back{display:inline-flex}  /* (every width: the header keeps its wordmark, WEBHDR2 b) */
/* PRIVACY REPORT and SHARE left of the podcast's gear (WEBPL2 f; views/podcast.js podButtons): the gear's round look */
.na-toprow .pa-pbtn{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border-radius:999px;
  border:1px solid var(--edge);background:var(--panel);color:var(--ink-dim);cursor:pointer;flex:none}
.na-toprow .pa-pbtn:hover{color:var(--amber-soft);border-color:var(--amber-bd)}
.na-toprow .pa-pbtn svg{width:18px;height:18px;fill:currentColor}
.na-toprow .pa-pbtn:first-of-type{margin-left:auto}
.na-toprow .pa-pbtn + .pa-pbtn,.na-toprow .pa-pbtn + .pa-pset{margin-left:0}
.na-toprow:has(> .pa-pbtn){column-gap:8px}
.na-toprow:has(> .pa-pbtn) > .pa-crumbs{margin-right:10px}

/* AUDIO & VIDEO STREAMS (R252; js/views/podcast.js avTag): right under the page player's cover, at its left edge, on the
   player's grid (na.css .na-now-top): 1200 px and up the cover's column (the lines beside it span both rows), 901 to
   1199 px in the rows the cover spans, hung the cover's height down (views/podcast.js measures it), 900 and under next
   in the one column */
.na-now-top[data-pl-kind=view]>.pa-avt{grid-column:1;justify-self:start;align-self:start}
@media (min-width:1200px){
  .na-now-top[data-pl-kind=view]:has(>.pa-avt){grid-template-rows:auto 1fr}
  .na-now-top[data-pl-kind=view]:has(>.pa-avt)>.na-now-info{grid-column:2;grid-row:1 / span 2}
  .na-now-top[data-pl-kind=view]>.pa-avt{grid-row:2;margin-top:-12px}
}
@media (min-width:901px) and (max-width:1199px){
  .na-now-top[data-pl-kind=view]>.pa-avt{grid-row:1 / span 4;margin-top:calc(var(--pa-art-h,150px) + 8px)}
}
@media (max-width:900px){.na-now-top[data-pl-kind=view]>.pa-avt{margin-top:-6px}}
/* WIDE ON TOP (na.css: a wide picture over the title, one column at every width): the tag right under the picture */
.na-now-top[data-pl-kind=view][data-shape=wide]:has(>.pa-avt){grid-template-rows:none}
.na-now-top[data-pl-kind=view][data-shape=wide]>.pa-avt{grid-column:1;grid-row:auto;margin-top:-8px}
.na-now-top[data-pl-kind=view][data-shape=wide]:has(>.pa-avt)>.na-now-info{grid-column:1;grid-row:auto}
/* HELD FEEDS (2026-12-02): the admin preview's amber bar (views/podcast.js previewBar) */
.pa-admin-preview{margin:12px 0;padding:10px 14px;border-radius:10px;background:#f5a524;color:#1a1200;font-size:14px;line-height:1.4}
.pa-admin-preview a{color:#1a1200;font-weight:700;text-decoration:underline}
.pa-admin-preview .pa-admin-warn{display:block;margin-top:4px;font-size:13px}

/* THE SHOW CARD (R584, js/views/showcard.js): a card of its own right above the Archive / Favorites / Bookmarks /
   Clips card, in its look (na.css .na-panel: border, radius, background, padding, shadow). R591, the iPhone's layout:
   the title is the header across the card; the square cover (140 px; 92 px on phones) floats left in the body
   (flow-root) and the facts flow around it, each row a box of its own beside it (a flex row: a formatting context of its
   own never runs under a float) and ONE line, cut with an ellipsis where it is longer (.pa-sc-text; the whole text in its
   title). THE IPHONE'S RULE (R591 polish): a row stays beside the cover while it ends within the cover's height; the
   first row that would end lower goes under it, across the whole width (.pa-sc-under: clear, set by showcard.js fit()),
   and every row after it. Phones space the rows as the iPhone does, so the 92 px cover holds three (author, categories,
   website) and how often goes under; the 140 px cover of wider cards holds every row. Each fact after a small icon
   stroked as the Archive card's (na.css .na-tb svg). The footer under a hairline: the stars (js/stars.js) at the left,
   the page's Subscribe, small, at the right */
.pa-showcard{display:block}
.pa-showcard[hidden]{display:none}
.pa-showcard h2.pa-sc-title{margin:0 0 12px;font-size:18px;line-height:1.2;letter-spacing:.05em;color:var(--ink-hi);overflow-wrap:anywhere}
.pa-sc-body{display:flow-root}
.pa-sc-body>.pa-sc-art{float:left;width:140px;margin:0 16px 6px 0;border-radius:6px}
.pa-sc-facts{list-style:none;margin:0;padding:0;font-size:12.5px;line-height:1.4}
.pa-sc-fact{display:flex;align-items:flex-start;gap:7px;min-width:0;max-width:100%;min-height:1.4em}
.pa-sc-fact+.pa-sc-fact{margin-top:7px}
.pa-sc-fact[hidden]{display:none}
.pa-sc-fact>span,.pa-sc-fact>a{min-width:0}
.pa-sc-fact.pa-sc-under{clear:left}
.pa-sc-text{display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pa-sc-wrap{display:block;min-width:0;overflow-wrap:break-word}  /* (how often: wraps, never cut; at most 2 lines beside the cover, js fit()) */  /* (one line, cut at its end: whole in its title) */
.pa-sc-fact svg{width:15px;height:15px;flex:none;margin-top:1px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round;color:var(--ink-dim)}
.pa-sc-cats{display:flex;align-items:center;color:var(--ink-dim)}
.pa-sc-cats .pa-x-mark{flex:none;margin-left:7px}  /* (after the words, on their line: never over them, never cut) */
.pa-sc-cats a,.pa-sc-facts a{color:var(--link);text-decoration:none}
.pa-sc-cats a:hover,.pa-sc-cats a:focus-visible,.pa-sc-facts a:hover,.pa-sc-facts a:focus-visible{text-decoration:underline}
.pa-sc-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding-top:8px;border-top:1px solid var(--line)}
.pa-sc-rate{min-width:0;flex:1 1 auto}
.pa-sc-follow{flex:none;margin-left:auto}
@media (max-width:560px){
  .pa-showcard h2.pa-sc-title{font-size:16px;margin-bottom:10px}
  .pa-sc-body>.pa-sc-art{width:92px;margin-right:12px}
  .pa-sc-facts{line-height:1.5}
  .pa-sc-fact+.pa-sc-fact{margin-top:10px}
  .pa-sc-fact svg{margin-top:2px}
}
/* THE STARS (js/stars.js): own = bright gold, the average = a muted gold filling the stars by its fraction, none = grey;
   a slider 44 px tall to touch, dragged sideways (touch-action pan-y: a vertical swipe still scrolls the page). On
   release: "Thank you!" (or "Rating removed") where the stars were (they keep their place, invisible), then the fill
   runs from none like a loading bar, star by star (prefers-reduced-motion: none). The x (Remove) shows on hover or
   focus with a mouse, always on touch screens, and only while there is an own rating */
.pa-rate{--pa-gold:#f5b301;--pa-gold-dim:#a58a4e;--pa-star-off:#4a5059;display:flex;align-items:center;gap:6px;min-width:0}
:root.pa-light .pa-rate{--pa-gold:#d99a00;--pa-gold-dim:#b59a5e;--pa-star-off:#c4c8ce}
.pa-rate-box{position:relative;flex:none}
.pa-stars{display:flex;gap:2px;height:44px;align-items:center;padding:0 2px;margin-left:-2px;cursor:pointer;touch-action:pan-y;user-select:none;-webkit-user-select:none;border-radius:6px;outline-offset:2px}
.pa-stars:focus-visible{outline:2px solid var(--link)}
.pa-st{position:relative;display:block;width:24px;height:24px}
.pa-st>svg,.pa-st-fg>svg{position:absolute;left:0;top:0;width:24px;height:24px;fill:var(--pa-star-off);stroke:none}
.pa-st-fg{position:absolute;left:0;top:0;height:24px;overflow:hidden;width:0}
.pa-st-fg>svg{fill:var(--pa-gold)}
.pa-rate[data-kind=avg] .pa-st-fg>svg{fill:var(--pa-gold-dim)}
.pa-rate[data-state=fill] .pa-st-fg{transition:width 120ms linear;transition-delay:calc(var(--i) * 120ms)}
.pa-rate[data-state=say] .pa-stars{opacity:0}
.pa-rate-say{position:absolute;left:0;top:0;bottom:0;display:flex;align-items:center;white-space:nowrap;font-size:14px;font-weight:700;letter-spacing:.03em;color:var(--pa-gold);pointer-events:none}
.pa-rate:not([data-state=say]) .pa-rate-say{visibility:hidden}
.pa-rate-avg{font-size:12.5px;color:var(--ink-dim);white-space:nowrap}
.pa-rate-avg:empty{display:none}
.pa-rate-x{flex:none;display:inline-grid;place-items:center;width:28px;height:28px;padding:0;margin:0;border:1px solid var(--edge);border-radius:50%;background:transparent;color:var(--ink-dim);cursor:pointer;opacity:0;transition:opacity .15s}
.pa-rate-x svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.pa-rate-x:hover,.pa-rate-x:focus-visible{color:var(--ink-hi);border-color:var(--ink-dim)}
.pa-rate:hover .pa-rate-x,.pa-rate:focus-within .pa-rate-x{opacity:1}
.pa-rate:not([data-own]) .pa-rate-x,.pa-rate[data-state] .pa-rate-x{visibility:hidden}
@media (hover:none){.pa-rate-x{opacity:1;position:relative}.pa-rate-x::after{content:"";position:absolute;inset:-8px}}
@media (prefers-reduced-motion:reduce){.pa-rate[data-state=fill] .pa-st-fg,.pa-rate-x{transition:none}}
