/* ==========================================================================
   podcast.css — /podcast/, the podcast player (js/podcast.js). The mini
   player's base styles are in pages.css; what's here builds on them.
   ========================================================================== */

.pc { --pc-card: rgba(255,255,255,.72); --pc-line: rgba(47,74,114,.14); --pc-gold: #ffd98a; --pc-navy: #21395c; }

/* While an episode plays, pulling down doesn't reload the page (js/podcast.js). */
html.pc-playing, html.pc-playing body { overscroll-behavior-y: none; }

/* ----------------------------------------------------------------- tabs -- */
.pc__tabs {
  position: sticky;
  top: calc(var(--topbar-h) + env(safe-area-inset-top, 0px) + .5rem);
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .2rem;
  margin: 0 auto 1.4rem;
  max-width: 44rem;
  padding: .3rem;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--pc-line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.pc__tabs button {
  position: relative;
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  min-width: 0;
  padding: .55rem .5rem;
  border: 0; border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: .88rem; font-weight: 700;
  cursor: pointer;
  transition: background 200ms var(--ease), color 200ms var(--ease);
}
/* Radio and TV stand a little apart from the podcast tabs. */
.pc__tabs .pc__tab--apart { margin-left: .55rem; }
.pc__tabs .pc__tab--apart::before {
  content: ""; position: absolute; left: calc(-.375rem - .5px); top: 22%; bottom: 22%;
  width: 1px; background: var(--pc-line);
}
.pc__tabs button span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc__tabs svg { width: 1.1rem; height: 1.1rem; flex: 0 0 auto; }
.pc__tabs button:hover { background: rgba(47,74,114,.08); }
.pc__tabs button[aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.pc__badge {
  position: absolute; top: .05rem; right: .35rem;
  min-width: 1.1rem; height: 1.1rem; padding: 0 .28rem;
  border-radius: 999px; background: var(--c-bad); color: #fff;
  font-size: .66rem; font-weight: 800; line-height: 1.1rem; text-align: center;
  box-shadow: 0 0 0 2px #fff;
}
.pc__badge[hidden] { display: none; }
@media (max-width: 40rem) {
  .pc__tabs { border-radius: 20px; }
  .pc__tabs button { flex-direction: column; gap: .15rem; padding: .45rem .2rem; font-size: .7rem; border-radius: 16px; }
  .pc__tabs svg { width: 1.2rem; height: 1.2rem; }
  .pc__badge { right: calc(50% - 1.5rem); }
}
/* The narrowest phones: two-word labels a size down, and less room around the divider. */
@media (max-width: 24rem) {
  .pc__tabs { gap: .1rem; padding: .25rem; }
  .pc__tabs button { padding: .45rem .05rem; font-size: .62rem; letter-spacing: -.01em; }
  .pc__tabs .pc__tab--apart { margin-left: .35rem; }
  .pc__tabs .pc__tab--apart::before { left: calc(-.225rem - .5px); }
}

/* While feeds are being fetched, a thin bar runs under the tabs. */
.pc.is-refreshing .pc__tabs::after {
  content: '';
  position: absolute; left: 1.2rem; right: 1.2rem; bottom: -.45rem; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--ink), transparent);
  background-size: 40% 100%; background-repeat: no-repeat;
  animation: pc-sweep 1.2s linear infinite;
  opacity: .5;
}
@keyframes pc-sweep { from { background-position: -40% 0; } to { background-position: 140% 0; } }
@media (prefers-reduced-motion: reduce) { .pc.is-refreshing .pc__tabs::after { animation: none; } }

/* ------------------------------------------------------------- headings -- */
/* each tab's section heading (an h2 under the page's h1) */
.pc__h1 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 1rem;
}
/* a heading within a tab (h3) */
.pc__h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.25;
  color: var(--ink);
  margin: 1.6rem 0 .7rem;
}
.pc__headrow { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.pc__headrow .pc__h1, .pc__headrow .pc__h2 { margin-bottom: .7rem; }
.pc__headrow .pc__h2 { margin-top: 1.6rem; }
.pc__fine { font-size: .8rem; color: var(--ink-soft); line-height: 1.55; }
.pc__credit { margin-top: .9rem; text-align: center; }
.pc__syncnote { margin-top: 2rem; text-align: center; max-width: 30rem; margin-left: auto; margin-right: auto; }
/* the page's plain status line (.status tones) */
.pc__status { margin: -.6rem 0 1rem; text-align: center; }

.pc__textbtn {
  padding: .3rem .1rem;
  border: 0; background: none;
  color: var(--ink);
  font-size: .82rem; font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
  cursor: pointer;
}
.pc__textbtn[hidden] { display: none; }
.pc__textbtn[data-sure="true"] { color: var(--c-bad); }
.pc__danger { color: var(--c-bad); }
.pc__tidy { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; justify-content: flex-end; margin-top: 1rem; }

.pc__chips { justify-content: flex-start; gap: .35rem; }
.pc__listchips { margin-bottom: .9rem; }


.pc__empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--ink-soft);
  font-size: .92rem;
  line-height: 1.65;
}
.pc__empty strong { color: var(--ink); font-size: 1.02rem; }
.pc__empty p + p { margin-top: .4rem; }
.pc__empty .btn { margin-top: 1rem; }
.pc__empty[hidden] { display: none; }
.pc__inlineicon { display: inline-grid; place-items: center; width: 1.2em; height: 1.2em; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; line-height: 1; }
.pc__more { display: block; margin: 1.25rem auto 0; }
.pc__more[hidden] { display: none; }

.pc__list { display: grid; gap: .7rem; }

/* -------------------------------------------------------- episode cards -- */
.ep {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .3rem .9rem;
  align-items: start;
  padding: .95rem 1rem;
  background: var(--pc-card);
  border: 1px solid var(--pc-line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.ep--withshow { grid-template-columns: auto minmax(0, 1fr) auto; }
.ep[data-current="true"] { border-color: var(--ink); box-shadow: var(--shadow-md); }
.ep { scroll-margin-top: calc(var(--topbar-h) + 6.5rem); }
.ep.is-target { animation: pc-glow 2.2s var(--ease) 1; }
@keyframes pc-glow { 0%, 40% { box-shadow: 0 0 0 3px var(--pc-gold), var(--shadow-md); } 100% { box-shadow: var(--shadow-sm); } }
.ep.is-played .ep__title { color: var(--ink-soft); }

.ep__thumb {
  width: 3.6rem; height: 3.6rem;
  padding: 0; border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(47,74,114,.1);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.ep__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ep__body { min-width: 0; }
.ep__kicker {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ep__title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.25;
  color: var(--ink);
  margin: .12rem 0 .25rem;
  overflow-wrap: anywhere;
}
.ep__titlebtn {
  font: inherit; color: inherit; text-align: left;
  background: none; border: 0; padding: 0; margin: 0;
  cursor: pointer;
  /* It opens the notes: a long press shouldn't select it instead. */
  -webkit-user-select: none; user-select: none;
  -webkit-touch-callout: none;
}
.ep__caret {
  display: inline-block;
  font-size: .8em;
  color: var(--ink-soft);
  transition: transform .15s ease;
}
.ep__titlebtn[aria-expanded="true"] .ep__caret { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .ep__caret { transition: none; } }
.ep__meta {
  display: flex; flex-wrap: wrap; gap: .1rem .45rem;
  font-size: .76rem;
  color: var(--ink-soft);
}
.ep__meta > span + span:not(:empty):not([hidden])::before { content: '·'; margin-right: .45rem; }
.ep__meta [hidden] { display: none; }
.ep__saved { font-weight: 700; color: var(--ink); }
.ep__progress {
  margin-top: .45rem;
  height: 3px;
  border-radius: 3px;
  background: rgba(47,74,114,.14);
  overflow: hidden;
  max-width: 16rem;
}
.ep__progress[hidden] { display: none; }
.ep__progress span { display: block; height: 100%; background: var(--ink); border-radius: 3px; }

.ep__acts { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .55rem; }
.pc__act {
  display: inline-flex; align-items: center; gap: .28rem;
  padding: .26rem .55rem .26rem .45rem;
  border: 1px solid rgba(47,74,114,.2);
  border-radius: 999px;
  background: rgba(255,255,255,.6);
  color: var(--ink);
  font-size: .74rem; font-weight: 700;
  cursor: pointer;
  transition: background 160ms var(--ease), border-color 160ms var(--ease);
}
.pc__act svg { width: .95rem; height: .95rem; flex: 0 0 auto; }
.pc__act:hover { background: #fff; border-color: rgba(47,74,114,.4); }
.pc__act[aria-pressed="true"] { background: rgba(47,74,114,.12); border-color: transparent; }
.pc__act[aria-expanded="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.ep__play {
  width: 2.9rem; height: 2.9rem;
  border: 0; border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 160ms var(--ease), background 160ms var(--ease);
}
.ep__play:hover { background: var(--ink-deep); transform: scale(1.06); }
.ep__play svg { width: 1.1rem; height: 1.1rem; }
.ep__play[disabled] { opacity: .35; cursor: default; transform: none; }
.ep[data-current="true"] .ep__play { background: var(--pc-gold); color: var(--pc-navy); }

.ep__notes {
  grid-column: 1 / -1;
  margin-top: .7rem;
  padding-top: .8rem;
  border-top: 1px solid var(--pc-line);
  font-size: .86rem;
  line-height: 1.65;
  color: #40567a;
  overflow-wrap: anywhere;
}
.ep__notes[hidden] { display: none; }
.ep__notes a { text-decoration: underline; text-underline-offset: 2px; }
.ep__notes p + p { margin-top: .25rem; }
.ep__hero {
  display: block;
  width: 100%; max-width: 20rem;
  aspect-ratio: 1; object-fit: cover;
  margin: 0 auto .9rem;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.ep__notesfoot { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: .8rem !important; font-weight: 700; font-size: .8rem; }

/* clickable chapter timestamps (the same as the old page's) */
.ep__notes .chapter {
  display: inline-block;
  min-width: 3.4rem;
  margin-right: .25rem;
  padding: .1rem .45rem;
  border: 1px solid rgba(47,74,114,.22);
  border-radius: 6px;
  background: rgba(255,255,255,.7);
  color: var(--ink);
  font-size: .76rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
  cursor: pointer;
}
.ep__notes .chapter:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

@media (max-width: 30rem) {
  .ep { padding: .85rem .85rem; gap: .25rem .7rem; }
  .ep__thumb { width: 3.1rem; height: 3.1rem; border-radius: 10px; }
  .ep__title { font-size: 1.04rem; }
  .ep__play { width: 2.6rem; height: 2.6rem; }
  /* The actions run under everything, the width of the card. */
  .ep--withshow .ep__acts { margin-left: calc(-3.1rem - .7rem); margin-right: calc(-2.6rem - .7rem); }
  .pc__act { font-size: .7rem; padding: .24rem .5rem .24rem .4rem; }
  .pc__act svg { width: .85rem; height: .85rem; }
  .ep__acts { gap: .25rem; }
}

/* -------------------------------------------------------------- Up Next -- */
.pc__queue { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.q {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .6rem;
  padding: .55rem .6rem .55rem .3rem;
  background: var(--pc-card);
  border: 1px solid var(--pc-line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
  touch-action: pan-y;
}
.is-sorting .q { transition: transform 180ms var(--ease); }
.q.is-dragging { transition: none; z-index: 2; position: relative; box-shadow: var(--shadow-lg); background: #fff; }
.q__grip {
  width: 2.2rem; height: 2.6rem;
  border: 0; background: none;
  color: var(--ink-soft);
  display: grid; place-items: center;
  cursor: grab;
  touch-action: none;
}
.q__grip:active { cursor: grabbing; }
.q__grip svg { width: 1.15rem; height: 1.15rem; }
.q__art { width: 3rem; height: 3rem; border-radius: 9px; object-fit: cover; background: rgba(47,74,114,.1); }
.q__text {
  display: grid; gap: .05rem;
  min-width: 0;
  padding: .1rem 0;
  border: 0; background: none;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
}
.q__show { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q__title { font-family: var(--font-display); font-size: 1rem; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.q__meta { font-size: .74rem; color: var(--ink-soft); }
.q__rm {
  width: 2.2rem; height: 2.2rem;
  border: 0; border-radius: 50%;
  background: rgba(47,74,114,.08);
  color: var(--ink);
  display: grid; place-items: center;
  cursor: pointer;
}
.q__rm:hover { background: color-mix(in srgb, var(--c-bad) 12%, transparent); color: var(--c-bad); }
.q__rm svg { width: .9rem; height: .9rem; }
#queue-now .ep { margin-bottom: .2rem; }

/* -------------------------------------------------------------- Library -- */
.pc__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8.2rem, 1fr));
  gap: 1rem .85rem;
}
@media (max-width: 30rem) { .pc__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem .6rem; } }
.tile {
  position: relative;
  display: grid; gap: .2rem;
  align-content: start;
  min-width: 0;
  padding: 0; border: 0; background: none;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
}
.tile__art {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  background: rgba(47,74,114,.12);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
}
.tile:hover .tile__art { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.tile__title { margin-top: .35rem; font-size: .82rem; font-weight: 700; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tile__by { font-size: .72rem; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile__badge {
  position: absolute; top: -.35rem; right: -.35rem;
  min-width: 1.4rem; height: 1.4rem; padding: 0 .35rem;
  border-radius: 999px; background: var(--c-bad); color: #fff;
  font-size: .72rem; font-weight: 800; line-height: 1.4rem; text-align: center;
  box-shadow: 0 0 0 2px #fff;
}
.tile__plus { display: grid; place-items: center; background: rgba(255,255,255,.55); border: 2px dashed rgba(47,74,114,.3); box-shadow: none; color: var(--ink); }
.tile__plus svg { width: 2rem; height: 2rem; }

.pc__lock {
  margin: -.6rem 0 1rem;
  padding: .7rem .9rem;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--c-warn) 12%, #fff);
  font-size: .85rem;
  line-height: 1.5;
  color: var(--c-warn);
  text-align: center;
}
.pc__lock[hidden] { display: none; }
.pc__lock .pc__textbtn { color: var(--c-warn); }
.pc__alerts {
  display: grid; gap: .6rem;
  margin-top: 1.6rem;
  padding: .9rem 1rem;
  background: var(--pc-card);
  border: 1px solid var(--pc-line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
}
.pc__alerthead { display: flex; align-items: center; gap: .85rem; }
.pc__alertlist { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.pc__alertlist li { display: flex; align-items: center; gap: .7rem; padding: .4rem 0; border-top: 1px solid var(--pc-line); }
.pc__alertlist img { width: 2.3rem; height: 2.3rem; border-radius: 8px; object-fit: cover; background: rgba(47,74,114,.1); flex: 0 0 auto; }
.pc__alertname { flex: 1; min-width: 0; font-size: .88rem; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcs__bell svg { width: 1rem; height: 1rem; }
.pcs__bell.is-on { background: rgba(47,74,114,.12); }
.pcs__bell[hidden] { display: none; }
.pc__alerticon { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: rgba(47,74,114,.1); color: var(--ink); flex: 0 0 auto; }
.pc__alerticon svg { width: 1.2rem; height: 1.2rem; }
.pc__alerttext { display: grid; gap: .1rem; flex: 1; min-width: 0; font-size: .82rem; color: var(--ink-soft); line-height: 1.45; }
.pc__alerttext strong { color: var(--ink); font-size: .92rem; }
/* --------------------------------------------------------------- Search -- */
.pc__searchbox {
  display: flex; align-items: center; gap: .5rem;
  padding: .25rem .4rem .25rem 1rem;
  background: #fff;
  border: 1px solid rgba(47,74,114,.22);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.pc__searchbox:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.pc__searchbox > svg { width: 1.15rem; height: 1.15rem; color: var(--ink-soft); flex: 0 0 auto; }
.pc__searchbox input {
  flex: 1; min-width: 0;
  border: 0; outline: 0; background: transparent;   /* the box shows the ring */
  font: inherit; font-size: 1rem;
  color: var(--ink-deep);
  padding: .55rem 0;
}
.pc__searchbox input::-webkit-search-cancel-button { display: none; }
.pc__qclear { width: 2rem; height: 2rem; border: 0; border-radius: 50%; background: rgba(47,74,114,.08); color: var(--ink); font-size: 1.2rem; line-height: 1; cursor: pointer; }
.pc__qclear[hidden] { display: none; }
#search-results { margin-top: 1rem; }
.pc__searching { text-align: center; padding: 1rem; }
.pc__results { display: grid; gap: .5rem; }
.res {
  display: flex; align-items: center; gap: .6rem;
  padding: .5rem .6rem .5rem .5rem;
  background: var(--pc-card);
  border: 1px solid var(--pc-line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
}
.res__open {
  display: flex; align-items: center; gap: .8rem;
  flex: 1; min-width: 0;
  padding: 0; border: 0; background: none;
  text-align: left; color: var(--ink);
  cursor: pointer;
}
.res__art { width: 3.6rem; height: 3.6rem; border-radius: 11px; object-fit: cover; background: rgba(47,74,114,.1); flex: 0 0 auto; }
.res__text { display: grid; gap: .1rem; min-width: 0; }
.res__title { font-weight: 700; font-size: .95rem; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.res__by { font-size: .76rem; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.res__sub {
  width: 2.5rem; height: 2.5rem;
  flex: 0 0 auto;
  border: 1.5px solid var(--ink); border-radius: 50%;
  background: #fff; color: var(--ink);
  display: grid; place-items: center;
  cursor: pointer;
}
.res__sub svg { width: 1.1rem; height: 1.1rem; }
.res__sub[aria-pressed="true"] { background: var(--ink); color: #fff; }
#search-top[hidden] { display: none; }

/* ----------------------------------------------------------------- Show -- */
.pc__back {
  display: inline-flex; align-items: center; gap: .2rem;
  margin: -.4rem 0 .6rem -.4rem;
  padding: .35rem .7rem .35rem .4rem;
  border: 0; border-radius: 999px;
  background: none;
  color: var(--ink);
  font-weight: 700; font-size: .88rem;
  cursor: pointer;
}
.pc__back:hover { background: rgba(47,74,114,.08); }
.pc__back svg { width: 1.2rem; height: 1.2rem; }
.pcs {
  display: grid;
  grid-template-columns: minmax(0, 12rem) 1fr;
  gap: 1.4rem;
  align-items: start;
  margin-bottom: 1.4rem;
}
@media (max-width: 34rem) {
  .pcs { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 1rem; }
}
.pcs__art {
  width: 100%; max-width: 12rem;
  aspect-ratio: 1; object-fit: cover;
  border-radius: 20px;
  background: rgba(47,74,114,.12);
  box-shadow: var(--shadow-md);
}
.pcs__art--wait { animation: pc-pulse 1.4s ease-in-out infinite; }
@keyframes pc-pulse { 50% { opacity: .55; } }
.pcs__text { min-width: 0; }
.pcs__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 6.5vw, 2.8rem);
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}
.pcs__by { margin-top: .35rem; font-size: .95rem; font-style: italic; color: var(--ink-soft); }
.pcs__buttons { display: flex; gap: .5rem; margin-top: .9rem; justify-content: inherit; flex-wrap: wrap; }
@media (max-width: 34rem) { .pcs__buttons, .pcs__links { justify-content: center; } }
.pcs__sub svg { width: 1rem; height: 1rem; }
.pcs__desc { margin-top: .9rem; font-size: .9rem; line-height: 1.65; color: #40567a; white-space: pre-line; overflow-wrap: anywhere; }
.pcs__desc.is-clamped { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.pcs__more { margin-top: .2rem; }
.pcs__links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin-top: .8rem; }
.pcs__links a { display: inline-flex; align-items: center; gap: .25rem; font-size: .8rem; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.pcs__links svg { width: .8rem; height: .8rem; opacity: .7; }
.pcs__tools { display: grid; gap: .6rem; margin: 0 0 1rem; }
.pcs__search {
  width: 100%;
  padding: .6rem 1rem;
  border: 1px solid rgba(47,74,114,.25);
  border-radius: 999px;
  background: rgba(255,255,255,.8);
  font: inherit; font-size: .95rem;
  color: var(--ink-deep);
}
.pcs__sort { margin-left: auto; }
.pcs__foot { display: flex; flex-direction: column; align-items: center; gap: .6rem; margin-top: 1rem; }
.pcs__foot .pc__more { margin-top: .25rem; }

/* ----------------------------------------------------------- mini player -- */
.player { padding: .6rem .75rem .75rem; }
.player__top { gap: .5rem; }
@media (max-width: 30rem) { .player__top .player__btn { width: 2.25rem; height: 2.25rem; } .player__art { width: 2.5rem; height: 2.5rem; } }
.player__art {
  width: 2.7rem; height: 2.7rem;
  flex: 0 0 auto;
  padding: 0; border: 0;
  border-radius: 9px;
  overflow: hidden;
  background: rgba(255,255,255,.12);
  cursor: pointer;
}
.player__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.player__art.is-empty img { visibility: hidden; }
.player__titlebtn {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  padding: 0; border: 0; background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.player__show { font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; opacity: .7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__show:empty { display: none; }
.player__titlebtn .player__title { font-size: .86rem; }
@media (max-width: 21rem) {
  .player__top .player__btn:not(.player__btn--main) { display: none; }
}
.np-open .player { visibility: hidden; }

/* ------------------------------------------------------------ toasts --- */
.pc__toast {
  position: fixed;
  left: 50%;
  bottom: calc(max(.75rem, env(safe-area-inset-bottom, 0px)) + 6.6rem);
  transform: translate(-50%, 1rem);
  z-index: 95;
  padding: .55rem 1rem;
  border-radius: 999px;
  background: #23385c;
  color: #eef4ff;
  font-size: .87rem; font-weight: 600;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms var(--ease), transform 200ms var(--ease);
  max-width: calc(100vw - 2rem);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pc__toast[data-open="true"] { opacity: 1; transform: translate(-50%, 0); }
body:not(.has-player-open) .pc__toast { bottom: calc(max(.75rem, env(safe-area-inset-bottom, 0px)) + 1rem); }

/* ------------------------------------------------------- Now Playing --- */
.np {
  position: fixed; inset: 0;
  z-index: 100;
  display: flex; align-items: flex-end; justify-content: center;
  background: rgba(12,22,40,0);
  transition: background 300ms var(--ease);
}
.np[hidden] { display: none; }
.np[data-open="true"] { background: rgba(12,22,40,.45); }
.np__panel {
  width: min(32rem, 100%);
  max-height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: calc(.9rem + env(safe-area-inset-top, 0px)) 1.4rem calc(1.6rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, #2a4a74 0%, #1b3050 70%);
  color: #eaf1fb;
  border-radius: 26px 26px 0 0;
  box-shadow: var(--shadow-lg);
  transform: translateY(100%);
  transition: transform 320ms var(--ease);
}
.np[data-open="true"] .np__panel { transform: translateY(0); }
@media (min-width: 40rem) {
  .np { align-items: center; }
  .np__panel { border-radius: 26px; max-height: calc(100% - 3rem); transform: translateY(2rem) scale(.98); opacity: 0; transition: transform 300ms var(--ease), opacity 300ms var(--ease); }
  .np[data-open="true"] .np__panel { transform: none; opacity: 1; }
}
@media (max-width: 39.99rem) { .np__panel { min-height: 100%; border-radius: 0; } }
@media (prefers-reduced-motion: reduce) { .np__panel, .np { transition: none; } }

.np__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.np__label { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.np__close {
  width: 2.5rem; height: 2.5rem;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: inherit;
  display: grid; place-items: center;
  cursor: pointer;
}
.np__close:hover { background: rgba(255,255,255,.22); }
.np__close svg { width: 1.25rem; height: 1.25rem; }
.np__art {
  display: block;
  width: min(100%, 20rem, 42vh);
  aspect-ratio: 1; object-fit: cover;
  margin: .4rem auto 1.3rem;
  border-radius: 20px;
  background: rgba(255,255,255,.08);
  box-shadow: 0 24px 48px rgba(0,0,0,.35);
}
.np__art.is-empty { visibility: hidden; }
/* Radio's picture is cut to its own rounded corners, so the shadow follows them. */
.np__art[src$="/img/radio-art.webp"] { border-radius: 0; background: none; box-shadow: none; filter: drop-shadow(0 18px 22px rgba(0,0,0,.4)); }
.np__show {
  display: block;
  margin: 0 auto;
  padding: .15rem .4rem;
  border: 0; background: none;
  color: var(--pc-gold, #ffd98a);
  font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  max-width: 100%;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.np__show:hover { text-decoration: underline; }
.np__title {
  margin: .35rem 0 1.2rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.25;
  text-align: center;
  overflow-wrap: anywhere;
}
.np__bar { margin-bottom: 1rem; }
.np__scrub {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.2);
  cursor: pointer;
  touch-action: none;
}
.np__scrub::before { content: ''; position: absolute; inset: -16px 0; }
.np__fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 999px; background: #ffd98a; }
.np__knob {
  position: absolute; top: 50%; left: 0;
  width: 16px; height: 16px; margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 5px rgba(0,0,0,.45);
  transition: transform 120ms var(--ease);
}
.np__scrub.is-dragging .np__knob { transform: scale(1.35); }
.np__times { display: flex; justify-content: space-between; margin-top: .55rem; font-size: .76rem; font-variant-numeric: tabular-nums; opacity: .8; }
.np__controls { display: flex; align-items: center; justify-content: center; gap: 1.6rem; margin: .4rem 0 1.4rem; }
.np__btn {
  position: relative;
  width: 3.4rem; height: 3.4rem;
  border: 0; border-radius: 50%;
  background: none;
  color: inherit;
  display: grid; place-items: center;
  cursor: pointer;
}
.np__btn:hover { background: rgba(255,255,255,.1); }
.np__btn svg { width: 2.3rem; height: 2.3rem; }
.np__btn b { position: absolute; font-size: .62rem; font-weight: 800; top: 50%; left: 50%; transform: translate(-50%, -42%); }
.np__btn--main { width: 4.6rem; height: 4.6rem; background: #ffd98a; color: #21395c; box-shadow: 0 10px 24px rgba(0,0,0,.3); }
.np__btn--main:hover { background: #ffe4a8; }
.np__btn--main svg { width: 1.8rem; height: 1.8rem; }
.np__extras { display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; }
.np__pill {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem .9rem;
  border: 0; border-radius: 999px;
  background: rgba(255,255,255,.13);
  color: inherit;
  font-size: .82rem; font-weight: 700;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}
.np__pill:hover { background: rgba(255,255,255,.22); }
.np__pill svg { width: 1rem; height: 1rem; }
.np__pill.is-on { background: #ffd98a; color: #21395c; }
.np__sleepmenu {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem;
  margin-top: .8rem;
  padding: .7rem;
  border-radius: 16px;
  background: rgba(0,0,0,.2);
}
.np__sleepmenu[hidden] { display: none; }
.np__sleepmenu button {
  padding: .4rem .8rem;
  border: 1px solid rgba(255,255,255,.25); border-radius: 999px;
  background: none; color: inherit;
  font-size: .8rem; font-weight: 700;
  cursor: pointer;
}
.np__sleepmenu button:hover { background: rgba(255,255,255,.14); }
.np__next {
  display: grid; gap: .1rem;
  margin-top: 1.3rem;
  padding: .75rem 1rem;
  border-radius: 16px;
  background: rgba(255,255,255,.08);
}
.np__next[hidden] { display: none; }
.np__nextlabel { font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.np__nexttitle { font-size: .9rem; font-weight: 600; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.np__chapters { margin-top: 1.3rem; }
.np__chapters[hidden] { display: none; }
.np__h3 { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .7; margin-bottom: .5rem; }
.np__chapters ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.np__chapter {
  display: flex; gap: .8rem; align-items: baseline;
  width: 100%;
  padding: .45rem .6rem;
  border: 0; border-radius: 10px;
  background: none; color: inherit;
  text-align: left;
  font-size: .86rem;
  cursor: pointer;
}
.np__chapter:hover { background: rgba(255,255,255,.08); }
.np__chapter[aria-current="true"] { background: rgba(255,217,138,.16); color: #ffe4a8; }
.np__ctime { font-variant-numeric: tabular-nums; opacity: .7; min-width: 3.2rem; font-size: .78rem; }
.np-open { overflow: hidden; }

/* -------------------------------------------------------------- the log -- */
.podlog {
  white-space: pre-wrap;
  font-size: .75rem;
  max-height: 50vh;
  overflow: auto;
  padding: .75rem;
  margin: 0 0 1rem;
  border-radius: 10px;
  background: rgba(0,0,0,.06);
}
.podlog[hidden] { display: none; }

/* ------------------------------------------- show settings, bookmarks --- */
.pc__tidy--top { margin-top: 0; align-items: center; }
.pc__opmlnote { margin-top: .6rem; }
.pc__keyshint { margin-top: .4rem; display: none; }
@media (hover: hover) and (pointer: fine) { .pc__keyshint { display: block; } }
.pc__keyshint kbd { font-family: inherit; font-weight: 800; }
.pcs__setbtn svg { width: 1rem; height: 1rem; }
.pcset__show { margin: 0 0 .8rem; padding-right: 2rem; color: var(--ink-soft); font-weight: 700; }
.pcset__rows { display: grid; gap: .55rem; }
.pcset__row { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }
.pcset__label { font-size: .9rem; font-weight: 700; color: var(--ink); }
.pcset__select {
  flex: 1 1 9rem; max-width: 12rem;
  padding: .45rem .6rem;
  border: 1px solid var(--pc-line); border-radius: 10px;
  background: #fff; color: var(--ink-deep);
  font: inherit; font-size: .88rem;
}
.pcset__select:disabled { opacity: .55; }
.pcset__hint { margin-top: -.35rem; }

.bm { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.bm__row {
  display: flex; align-items: center; gap: .5rem;
  padding: .45rem .5rem;
  background: var(--pc-card);
  border: 1px solid var(--pc-line);
  border-radius: 14px;
}
.bm__time {
  flex: 0 0 auto;
  padding: .3rem .55rem;
  border: 1px solid var(--ink); border-radius: 999px;
  background: none; color: var(--ink);
  font: inherit; font-size: .78rem; font-weight: 800; font-variant-numeric: tabular-nums;
  cursor: pointer;
}
.bm__time:hover { background: var(--ink); color: #fff; }
.bm__mid { flex: 1; min-width: 0; display: grid; gap: .1rem; }
.bm__ep { display: grid; border: 0; background: none; padding: 0; text-align: left; color: var(--ink); cursor: pointer; font: inherit; }
.bm__show { font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bm__title { font-size: .88rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bm__note { border: 0; background: none; padding: .1rem 0; text-align: left; font: inherit; font-size: .84rem; color: var(--ink); cursor: text; overflow-wrap: anywhere; }
.bm__note.is-empty { color: var(--ink-soft); font-style: italic; }
.bm__input { width: 100%; padding: .3rem .5rem; border: 1px solid var(--pc-line); border-radius: 8px; font: inherit; font-size: .84rem; color: var(--ink); background: #fff; }
.bm__icon {
  flex: 0 0 auto;
  width: 2rem; height: 2rem;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: none; color: var(--ink-soft);
  cursor: pointer;
}
.bm__icon:hover { background: rgba(47,74,114,.1); color: var(--ink); }
.bm__icon svg { width: 1rem; height: 1rem; }

/* ------------------------------------------------------ listening stats -- */
.st {
  margin-top: .2rem;
  padding: 1rem;
  background: var(--pc-card);
  border: 1px solid var(--pc-line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
}
.st__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.st__tile { display: grid; gap: .1rem; }
.st__num { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink-deep); line-height: 1.2; }
.st__lbl { font-size: .74rem; color: var(--ink-soft); }
.st__bars { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; height: 6.5rem; margin: 1rem 0 .3rem; }
.st__col { display: grid; grid-template-rows: 1fr auto; gap: .3rem; min-width: 0; }
.st__track { position: relative; display: flex; align-items: flex-end; justify-content: center; border-bottom: 1px solid var(--pc-line); }
.st__bar { display: block; width: min(1.6rem, 70%); background: var(--ink); border-radius: 4px 4px 0 0; }
.st__col:hover .st__bar { background: var(--ink-deep); }
.st__day { font-size: .66rem; color: var(--ink-soft); text-align: center; white-space: nowrap; overflow: hidden; }
.st__h3 { margin: 1rem 0 .4rem; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.st__top { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.st__top li { display: flex; justify-content: space-between; gap: .8rem; font-size: .88rem; color: var(--ink); }
.st__show { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.st__val { flex: 0 0 auto; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.st__saved { margin-top: .8rem; }

/* -------------------------------------------------- keyboard shortcuts -- */
/* the ? key's shortcut list and the help's: a <dialog class="helpdlg"> */
.pc__keylist { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; margin: .5rem 0 0; }
.pc__keylist dt { font-weight: 800; }
.pc__keylist dd { margin: 0; }

/* ------------------------------------- Now Playing: speed, marks, text -- */
.np__pill[hidden] { display: none; }
.np__pill.is-own::after { content: ' · show'; font-weight: 600; opacity: .75; }
.np__rates { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.np__ratemenu { flex-direction: column; align-items: stretch; }
.np__ratemenu .np__rates button[aria-pressed="true"] { background: #ffd98a; border-color: #ffd98a; color: #21395c; }
.np__rateown { display: flex; align-items: center; justify-content: center; gap: .7rem; font-size: .82rem; font-weight: 700; padding-top: .3rem; }
.np__rateown .switch { background: rgba(255,255,255,.25); }
.np__rateown .switch[aria-checked="true"] { background: #ffd98a; }
.np__marks { margin-top: 1.3rem; }
.np__marks[hidden] { display: none; }
.bm--np .bm__row { background: rgba(255,255,255,.08); border-color: transparent; }
.bm--np .bm__row.is-new { box-shadow: 0 0 0 2px #ffd98a; }
.bm--np .bm__time { border-color: rgba(255,255,255,.5); color: inherit; }
.bm--np .bm__time:hover { background: rgba(255,255,255,.18); }
.bm--np .bm__note, .bm--np .bm__icon { color: inherit; }
.bm--np .bm__note.is-empty { color: inherit; opacity: .6; }
.bm--np .bm__input { color: #fff; background: rgba(0,0,0,.25); border-color: rgba(255,255,255,.35); }
.bm--np .bm__input::placeholder { color: rgba(255,255,255,.55); }
.bm--np .bm__input:focus { outline: none; border-color: #ffd98a; }
.bm--np .bm__icon:hover { background: rgba(255,255,255,.14); color: inherit; }
.np__transcript { margin-top: 1.1rem; padding: .7rem; border-radius: 16px; background: rgba(0,0,0,.2); }
.np__transcript[hidden] { display: none; }
.np__txhead { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; }
.np__txhead input {
  flex: 1; min-width: 0;
  padding: .45rem .7rem;
  border: 1px solid rgba(255,255,255,.25); border-radius: 999px;
  background: rgba(255,255,255,.1); color: inherit;
  font: inherit; font-size: .85rem;
}
.np__txhead input::placeholder { color: inherit; opacity: .6; }
.np__txcount { font-size: .75rem; opacity: .75; white-space: nowrap; }
.np__txlist { position: relative; max-height: min(45vh, 22rem); overflow-y: auto; overscroll-behavior: contain; display: grid; gap: .1rem; }
.np__cue {
  display: block; width: 100%;
  margin: 0; padding: .4rem .5rem;
  border: 0; border-radius: 10px;
  background: none; color: inherit;
  text-align: left; font: inherit; font-size: .9rem; line-height: 1.5;
  opacity: .8;
}
button.np__cue { cursor: pointer; }
.np__cue[hidden] { display: none; }
.np__cue:hover { background: rgba(255,255,255,.07); }
.np__cue[aria-current="true"] { background: rgba(255,217,138,.16); color: #ffe4a8; opacity: 1; }
.np__cue mark { background: #ffd98a; color: #21395c; border-radius: 3px; padding: 0 .1em; }
.np__cue .np__ctime { margin-right: .5rem; }
.np__who { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #ffd98a; margin-bottom: .1rem; }
.np__txnote { font-size: .85rem; opacity: .75; padding: .4rem .5rem; }

/* ---------------------------------------------------------------- Radio -- */
.pcr__own {
  display: grid; gap: .7rem;
  margin: 0 0 1.2rem;
  padding: 1rem;
  background: var(--pc-card);
  border: 1px solid var(--pc-line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
}
.pcr__own[hidden] { display: none; }
.pcr__field { display: grid; gap: .3rem; font-size: .82rem; font-weight: 700; color: var(--ink); }
.pcr__field input {
  width: 100%; padding: .6rem .75rem;
  border: 1px solid rgba(47,74,114,.25); border-radius: 12px;
  background: #fff; color: var(--ink);
  font: inherit; font-size: 1rem; font-weight: 500;
}
.pcr__ownacts { display: flex; gap: .5rem; flex-wrap: wrap; }
.pcr__err { margin: 0; color: var(--c-bad); font-size: .85rem; }
.pcr__err[hidden] { display: none; }
.pcr__cats { margin: .9rem 0 .6rem; }
.pcr__filters { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .4rem; }
.pcr__filters select {
  max-width: 100%;
  padding: .38rem 1.8rem .38rem .75rem;
  border: 1px solid rgba(47,74,114,.25); border-radius: 999px;
  background: rgba(255,255,255,.75); color: var(--ink);
  font: inherit; font-size: .8rem; font-weight: 700;
}
.pcr__blurb { margin: -.3rem 0 .6rem; }
.pcr__list { display: grid; gap: .5rem; }
.pcr__about { margin-top: 2rem; }
.pc__view.is-dropping { outline: 2px dashed var(--ink); outline-offset: 6px; border-radius: var(--radius); }

.rs {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: .5rem;
  padding: .5rem .6rem .5rem .5rem;
  background: var(--pc-card);
  border: 1px solid var(--pc-line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
}
.rs[data-current="true"] { box-shadow: 0 0 0 2px var(--pc-gold), var(--shadow-sm); }
.rs--sort { grid-template-columns: auto minmax(0, 1fr) auto auto; padding-left: .2rem; touch-action: pan-y; transition: transform 180ms var(--ease), box-shadow 180ms var(--ease); }
.rs--sort .q__grip { width: 1.9rem; }
.rs.is-dragging { transition: none; z-index: 2; position: relative; box-shadow: var(--shadow-lg); }
.rs__open {
  display: flex; align-items: center; gap: .75rem;
  min-width: 0;
  padding: 0; border: 0; background: none;
  text-align: left; color: var(--ink);
  cursor: pointer;
}
.rs__art {
  --rs: #546e7a;
  width: 3rem; height: 3rem; flex: 0 0 auto;
  display: grid; place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--rs), #14202e);
  color: #fff; font-weight: 800; font-size: .95rem; letter-spacing: .02em;
}
.rs__art--radio { background: #14263d url('/img/radio-thumb.webp') center / cover no-repeat; }
.rs__text { display: grid; gap: .1rem; min-width: 0; }
.rs__name { font-weight: 700; font-size: .95rem; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rs__sub { font-size: .76rem; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rs__icon {
  width: 2.4rem; height: 2.4rem;
  border: 0; border-radius: 50%;
  background: transparent; color: var(--ink-soft);
  display: grid; place-items: center;
  cursor: pointer;
}
.rs__icon:hover { background: rgba(47,74,114,.08); }
.rs__icon svg { width: 1.15rem; height: 1.15rem; }
.rs__star[aria-pressed="true"] { color: #b7791f; }
.rs__star[aria-pressed="true"] svg { fill: #f2b84b; }
.rs__play {
  width: 2.6rem; height: 2.6rem;
  border: 0; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.rs__play:hover { background: var(--ink-deep); }
.rs__play svg { width: 1rem; height: 1rem; }
.rs[data-current="true"] .rs__play { background: var(--pc-gold); color: var(--pc-navy); }
.rs__more { grid-column: 1 / -1; padding: .2rem .3rem .3rem 3.75rem; }
.rs__more[hidden] { display: none; }
.rs__about { margin: 0 0 .3rem; font-size: .88rem; color: var(--ink); }
.rs__more .pc__fine { margin: .1rem 0; }
.rs__url { word-break: break-all; }
.rs__acts { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: .3rem; }
.rs__more .bm__input { margin-bottom: .4rem; }
@media (max-width: 30rem) { .rs__more { padding-left: .3rem; } .rs__art { width: 2.6rem; height: 2.6rem; font-size: .85rem; } }

/* The player with a live station in it. */
.player__live { display: none; flex: 1 1 auto; align-items: center; gap: .5rem; min-width: 0; font-size: .74rem; }
.player__live b, .np__live b {
  flex: 0 0 auto;
  padding: .08rem .45rem; border-radius: 999px;
  background: var(--c-bad); color: #fff;
  font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.player__live span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: .85; }
.player.is-live .player__live { display: flex; grid-column: 1 / -1; }
.player.is-live #player-now, .player.is-live #player-dur, .player.is-live .player__scrub,
.player.is-live #player-back, .player.is-live #player-fwd { display: none; }
.np__live { display: none; align-items: center; justify-content: center; gap: .55rem; margin: 0 0 1.2rem; font-size: .9rem; text-align: center; }
.np.is-live .np__live { display: flex; }
.np.is-live .np__bar, .np.is-live #np-back, .np.is-live #np-fwd, .np.is-live #np-rate, .np.is-live #np-queue,
.np.is-live #np-mark, .np.is-live #np-share, .np.is-live #np-friend, .np.is-tv #np-boost, .np.is-live #np-text, .np.is-live #np-sleepend,
.np.is-live .np__transcript, .np.is-reel #np-share, .np.is-reel #np-friend { display: none; }
.np__pill#np-star[aria-pressed="true"] svg { fill: currentColor; }
/* TV: the picture in place of the artwork, wider where there's room. */
.np__screen { display: none; }
.np.is-tv .np__art { display: none; }
.np.is-tv .np__screen {
  display: block;
  margin: .4rem 0 1.1rem;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 48px rgba(0,0,0,.35);
}
.np__screen video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
@media (min-width: 40rem) { .np.is-tv .np__panel { width: min(52rem, calc(100% - 3rem)); } }
.np.is-file #np-rate, .np.is-file #np-queue, .np.is-file #np-mark, .np.is-file #np-share, .np.is-file #np-friend, .np.is-file #np-boost,
.np.is-file #np-text, .np.is-file #np-sleepend, .np.is-file .np__transcript { display: none; }
.np:not(.is-tv) #np-full, .np:not(.is-tv) #np-pip, .np:not(.is-tv) #np-cc { display: none; }
a.np__pill { text-decoration: none; }
/* Casting: the TV has it. A channel shows its tile in place of the
   (empty) picture, and a line says where it's playing. */
#np-cast span { max-width: 11rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.np__castnote { margin: -.4rem 0 .9rem; font-size: .85rem; font-weight: 700; text-align: center; color: var(--pc-gold, #ffd98a); }
.np__castnote[hidden] { display: none; }
.np.is-casting.is-tv .np__screen { display: none; }
.np.is-casting.is-tv .np__art { display: block; }
/* Boost works on this device's sound only: greyed while a TV plays it. */
.np__credit { margin: .2rem 0 1rem; font-size: .76rem; text-align: center; opacity: .75; }
.np__credit[hidden] { display: none; }

/* ----------------------------------------------- other pages over this -- */
/* While something plays, the site's other pages open in a frame over this
   one, above the mini player (js/podcast.js, away). */
.pcaway {
  position: fixed;
  top: env(safe-area-inset-top, 0px);
  left: 0;
  width: 100%;
  height: calc(100% - env(safe-area-inset-top, 0px) - var(--pc-away-bottom, 0px));
  border: 0;
  z-index: 70;
  background: transparent;
}
body.pc-away { overflow: hidden; }
body.pc-away .topbar, body.pc-away #main, body.pc-away .sitefoot, body.pc-away #particles { visibility: hidden; }
