/* Podcastme player. Mobile first: everything below is the phone layout.
   The look (2026-10-05 redesign, "Podcastme -- app redesign" canvas): night
   ground, one ember accent, Instrument Serif for titles and Figtree for the
   rest -- both self-hosted under fonts/, because the CSP allows nothing
   from another origin. The redesign's own rules are the last section of
   this file and override the older ones above them. */

@font-face { font-family: "Figtree"; font-weight: 400; font-display: swap;
  src: url("/fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 500; font-display: swap;
  src: url("/fonts/figtree-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-display: swap;
  src: url("/fonts/figtree-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-display: swap;
  src: url("/fonts/figtree-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-weight: 400; font-display: swap;
  src: url("/fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-weight: 400; font-style: italic; font-display: swap;
  src: url("/fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); }

:root {
  --bg: #0d0f12; --panel: #16191e; --panel-2: #1d2128; --line: #262b33; --line-2: #333944;
  --ink: #ece8e2; --ink-dim: #a0a6ae; --ink-faint: #7a818a;
  --accent: #e8833f; --accent-dim: #4a2f1b; --on-accent: #1a0f07;
  --good: #6fbf8e; --warn: #d4a84a; --bad: #e5534b;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --tabbar: calc(64px + var(--safe-b, 0px));
  --tap: 44px;                       /* Apple's minimum touch target */
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--bg); color: var(--ink); font: 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%;
}
a { color: var(--accent); text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0;
         cursor: pointer; min-height: var(--tap); }
input { font: inherit; }
[hidden] { display: none !important; }

.dim { color: var(--ink-dim); }
.faint { color: var(--ink-faint); }
.center { text-align: center; }
.pad { padding: 24px 16px; }

/* ---- shell ---------------------------------------------------------- */
.app { min-height: 100vh; display: flex; flex-direction: column; }
.bar {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(8px + env(safe-area-inset-top, 0px)) 16px 8px;
  background: rgba(14,16,19,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { font-family: var(--serif); font-size: 21px; color: var(--ink);
         letter-spacing: .2px; }
.ghost { color: var(--ink-dim); font-size: 14px; padding: 0 4px; }
main { flex: 1; width: 100%; max-width: 680px; margin: 0 auto;
       padding-bottom: calc(88px + var(--safe-b)); }

/* ---- login ---------------------------------------------------------- */
.login { padding: 48px 20px; }
.login h1 { font-family: var(--serif); font-weight: normal; font-size: 30px;
            margin: 0 0 6px; }
.login form { display: flex; flex-direction: column; gap: 12px;
              margin-top: 28px; }
.login input {
  height: 50px; padding: 0 14px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--panel); color: var(--ink);
}
.login input:focus { outline: 2px solid var(--accent-dim); border-color: transparent; }
.primary {
  height: 50px; border-radius: 10px; background: var(--accent);
  color: #1a0f07; font-weight: 600;
}
.primary:disabled { opacity: .5; }
.note { margin-top: 18px; padding: 14px; border-radius: 10px;
        background: var(--panel); border: 1px solid var(--line); }

/* ---- library -------------------------------------------------------- */
.list { list-style: none; margin: 0; padding: 8px 0; }
.ep {
  display: block; padding: 14px 16px; border-bottom: 1px solid var(--line);
  color: inherit;
}
.ep:active { background: var(--panel); }
.ep .show { font-size: 12px; text-transform: uppercase; letter-spacing: .8px;
            color: var(--ink-faint); }
.ep .title { font-family: var(--serif); font-size: 19px; line-height: 1.3;
             margin: 2px 0 4px; }
.ep .meta { font-size: 13px; color: var(--ink-dim); display: flex;
            gap: 10px; align-items: center; flex-wrap: wrap; }
.pill { font-size: 11px; padding: 2px 8px; border-radius: 99px;
        border: 1px solid currentColor; text-transform: uppercase;
        letter-spacing: .6px; }
.pill.ready { color: var(--good); } .pill.failed { color: var(--bad); }
.pill.building, .pill.queued { color: var(--warn); }
.done-mark { color: var(--ink-faint); }

/* ---- episode -------------------------------------------------------- */
.episode { padding: 18px 16px; }
.back { color: var(--ink-dim); font-size: 14px; display: inline-flex;
        align-items: center; min-height: var(--tap); }
.episode h1 { font-family: var(--serif); font-weight: normal; font-size: 26px;
              line-height: 1.25; margin: 6px 0 8px; }
.blurb { color: var(--ink-dim); margin: 0 0 18px; }

.player { background: var(--panel); border: 1px solid var(--line);
          border-radius: 14px; padding: 16px; }
.controls { display: flex; align-items: center; justify-content: center;
            gap: 18px; margin-top: 6px; }
.big {
  width: 64px; height: 64px; border-radius: 50%; background: var(--accent);
  color: #1a0f07; font-size: 24px; display: grid; place-items: center;
}
.skip { width: var(--tap); color: var(--ink-dim); font-size: 13px; }
.scrub { width: 100%; accent-color: var(--accent); height: 28px; margin: 0; }
.times { display: flex; justify-content: space-between; font-size: 12px;
         color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.speed { color: var(--ink-dim); font-size: 13px; min-width: var(--tap); }

h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px;
     color: var(--ink-faint); font-weight: 600; margin: 28px 0 8px; }

.chapter { padding: 12px 0; border-bottom: 1px solid var(--line); }
.chapter button.jump { display: flex; width: 100%; text-align: left;
                       align-items: baseline; gap: 10px; padding: 0; }
.chapter .at { font-size: 13px; color: var(--accent);
               font-variant-numeric: tabular-nums; min-width: 42px; }
.chapter .name { font-weight: 600; }
.chapter.now .name { color: var(--accent); }
.badge { font-size: 12px; color: var(--ink-faint); margin: 2px 0 0 52px; }
.stories { list-style: none; margin: 6px 0 0 52px; padding: 0; }
.stories li { font-size: 14px; padding: 3px 0; color: var(--ink-dim); }
.stories .src { color: var(--ink-faint); font-size: 12px; }

details { margin-top: 8px; }
summary { cursor: pointer; color: var(--ink-dim); min-height: var(--tap);
          display: flex; align-items: center; }
.transcript p { margin: 0 0 10px; }
.transcript .who { color: var(--ink-faint); font-size: 12px;
                   text-transform: uppercase; letter-spacing: .6px;
                   display: block; }
.sources ol { padding-left: 22px; margin: 6px 0 14px; }
.sources li { font-size: 14px; padding: 2px 0; }

.progress { margin-top: 10px; font-size: 14px; color: var(--ink-dim); }
.error { color: var(--bad); }

/* ---- the dock: what is playing, from any screen ---------------------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 6;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px calc(10px + var(--safe-b));
  background: var(--panel-2); border-top: 1px solid var(--line);
}
.dock-play { width: var(--tap); height: var(--tap); border-radius: 50%;
             background: var(--accent); color: #1a0f07; }
.dock-meta { flex: 1; min-width: 0; font-size: 14px; white-space: nowrap;
             overflow: hidden; text-overflow: ellipsis; color: inherit; }

@media (min-width: 720px) {
  .episode h1 { font-size: 32px; }
  .ep { padding: 16px 20px; }
}

/* ---- ring in --------------------------------------------------------
   Carried over from the stage-1 prototype's call overlay. */
.ring {
  display: flex; align-items: center; gap: 8px; padding: 0 16px;
  border-radius: 99px; font-size: 14px; font-weight: 600;
  background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line);
}
.ring .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--bad); }
.ring.live { background: var(--accent); color: #151515; box-shadow: none; }
.ring.live .dot { background: #151515; animation: pulse 1.1s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.ring-row { display: flex; justify-content: center; margin-top: 14px; }

.callwrap {
  position: fixed; inset: 0; z-index: 40; padding: 16px;
  display: grid; place-items: center;
  background: rgba(8,10,12,.8); backdrop-filter: blur(6px);
}
.call {
  width: min(560px, 100%); background: var(--panel); border-radius: 16px;
  box-shadow: 0 30px 70px rgba(0,0,0,.55), inset 0 0 0 1px var(--line);
  overflow: hidden;
}
.call header {
  display: flex; align-items: center; gap: 10px; padding: 14px 20px;
  background: var(--panel-2); border-bottom: 1px solid var(--line);
}
.call header b { font-family: var(--serif); font-size: 16px; }
.call .ctx { margin-left: auto; font-size: 12px; color: var(--ink-faint); }
.call .body { padding: 20px; }
.mic {
  width: 78px; height: 78px; border-radius: 50%; margin: 4px auto 16px;
  display: grid; place-items: center; font-size: 28px;
  background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line);
}
.mic.rec { background: var(--accent); color: #151515; animation: ringpulse 1.5s infinite; }
@keyframes ringpulse {
  0% { box-shadow: 0 0 0 0 rgba(224,128,63,.4); }
  70% { box-shadow: 0 0 0 22px rgba(224,128,63,0); }
  100% { box-shadow: 0 0 0 0 rgba(224,128,63,0); }
}
.mic.dialling { animation: dial 2s infinite; }
@keyframes dial { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
.heard {
  font-family: var(--serif); font-size: 19px; line-height: 1.45;
  text-align: center; min-height: 2.6em;
}
.heard.dim { color: var(--ink-faint); font-style: italic; }
.count { text-align: center; font-variant-numeric: tabular-nums;
         font-size: 13px; color: var(--ink-faint); margin: 4px 0 0; }
.count.low { color: var(--red, #c0392b); font-weight: 600; }
.typed {
  width: 100%; margin-top: 12px; padding: 11px 13px; border-radius: 9px;
  background: var(--bg); color: var(--ink); border: 1px solid var(--line);
  font-family: var(--serif); font-size: 16px;
}
.typed:focus { outline: none; border-color: var(--accent-dim); }
.answer {
  display: none; margin-top: 16px; padding: 14px 16px; border-radius: 11px;
  background: var(--panel-2); font-family: var(--serif); font-size: 16px;
  line-height: 1.6;
}
.answer.on { display: block; }
.answer .tag {
  margin-bottom: 8px; font-family: var(--sans); font-size: 10.5px;
  font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--ink-dim);
}
.answer.grounded .tag { color: var(--good); }
.answer.ungrounded .tag { color: var(--warn); }
.answer.elsewhere .tag { color: var(--accent); }
.answer.unclear .tag, .answer.error .tag { color: var(--bad); }
.call-acts { display: flex; gap: 10px; margin-top: 16px; }
.btn {
  flex: 1; border-radius: 9px; font-size: 14px; font-weight: 600;
  background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line);
}
.btn.hang { color: var(--bad); }
.call-left { margin: 12px 0 0; font-size: 12px; text-align: center; }

/* ---- navigation, Browse, publishing (step 43) ----------------------- */
a.ghost { display: inline-flex; align-items: center; min-height: var(--tap); }

.browse { padding: 20px 16px 40px; }
.browse h1 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 0 0 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.chip {
  min-height: 34px; padding: 0 12px; border-radius: 99px; font-size: 13px;
  background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink-dim);
}
.chip.on { background: var(--accent); color: #151515; box-shadow: none; }
.creator-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin: 10px 0; color: var(--ink-dim); font-size: 14px;
}
.ep.pub > .meta { margin-top: 6px; flex-wrap: wrap; }
.creator { min-height: 32px; color: var(--accent); font-size: 13px; padding: 0; }
.tag {
  font-size: 11px; padding: 2px 8px; border-radius: 99px; color: var(--ink-dim);
  box-shadow: inset 0 0 0 1px var(--line);
}
.follow {
  min-height: 30px; padding: 0 10px; border-radius: 99px; font-size: 12px;
  color: var(--ink-faint); box-shadow: inset 0 0 0 1px var(--line);
}
.follow:disabled { cursor: not-allowed; }
.follow:disabled::after { content: " · soon"; }
.byline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 6px 0 12px; color: var(--ink-dim); font-size: 14px;
}
.pill.public { color: var(--good); }
.share {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin: 14px 0 4px;
}
.share .btn { flex: 0 0 auto; padding: 0 16px; min-height: var(--tap); }
.share.confirm {
  display: block; padding: 14px 16px; border-radius: 12px;
  background: var(--panel); box-shadow: inset 0 0 0 1px var(--line);
}
.share.confirm p { margin: 0 0 6px; line-height: 1.5; }
.btn.primary { background: var(--accent); color: #151515; box-shadow: none; }

/* ---- My podcasts (step 45) ------------------------------------------ */
.lib { padding: 8px 16px 40px; }
.sect {
  margin: 22px 0 8px; font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-faint);
}
.shows { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.show-card {
  padding: 14px; border-radius: 12px; background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
}
.show-card .name { font-family: var(--serif); font-size: 18px; }
.show-card .make { margin-top: 10px; padding: 0 14px; flex: none; }
.small { font-size: 13px; }
.make-form { margin-top: 10px; }
.make-form .chip { display: inline-flex; align-items: center; gap: 6px; }
.make-form .chip input { position: absolute; opacity: 0; pointer-events: none; }
.lib .list { padding: 0; }
.lib .ep { padding-left: 0; padding-right: 0; }
.coming { padding: 12px 0; border-bottom: 1px solid var(--line); }
.coming .meta { display: flex; gap: 10px; align-items: center; color: var(--ink-dim); font-size: 13px; }

/* ---- the creation chat (step 46) ------------------------------------ */
.create { padding: 20px 16px 40px; max-width: 720px; margin: 0 auto; }
.create h1 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 0 0 14px; }
.c-log { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; line-height: 1.45; }
.msg.me { align-self: flex-end; background: var(--accent); color: #151515; }
.msg.them { align-self: flex-start; background: var(--panel-2); }
.c-card {
  padding: 14px; border-radius: 12px; background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 12px;
}
.c-card .btn { padding: 0 18px; margin-top: 10px; flex: none; }
.c-group { margin-bottom: 10px; }
.chip .why { display: block; font-size: 11px; color: var(--ink-faint); }
.chip.on .why { color: #3a2a1c; }
.c-form { display: flex; gap: 8px; align-items: center; }
.c-form .typed { margin-top: 0; }
.c-form .btn { flex: none; padding: 0 16px; min-height: var(--tap); }
.summary h2 { font-family: var(--serif); font-weight: 500; margin: 4px 0 8px; }
.agreed { margin: 0 0 10px; padding-left: 18px; line-height: 1.6; }
.new-pod { display: inline-flex; align-items: center; padding: 0 16px; min-height: var(--tap); margin-top: 10px; }

.c-card.summary h2 {
  font-family: var(--serif); font-size: 22px; font-weight: 500;
  text-transform: none; letter-spacing: 0; color: var(--ink); margin: 4px 0 8px;
}

/* ---- hosts and sound (step 47) -------------------------------------- */
.sound { margin: 12px 0; padding-top: 12px; border-top: 1px solid var(--line); }
.host { display: grid; gap: 6px; margin: 8px 0; }
.voice-row { display: flex; gap: 8px; align-items: center; }
.voice-row .typed { margin-top: 0; }
.voice-row .btn { flex: none; width: var(--tap); padding: 0; margin-top: 0; }
select.typed { appearance: none; -webkit-appearance: none; }
.chip:disabled { opacity: .5; cursor: not-allowed; }

/* ---- music styles (step 70) ------------------------------------------ */
.music-styles { margin: 6px 0 10px; }
.m-style { border-top: 1px solid var(--line); padding: 8px 0; }
.m-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-height: var(--tap); cursor: pointer; }
.m-head .m-role { flex-basis: 100%; padding-left: 26px; }
.m-tracks { display: grid; gap: 4px; padding: 4px 0 0 26px; }
.m-track { display: flex; gap: 8px; align-items: center; justify-content: space-between; min-height: var(--tap); }
.m-track label, label.m-track { display: flex; gap: 8px; align-items: center; cursor: pointer; }
.m-track .btn { flex: none; width: var(--tap); padding: 0; margin-top: 0; }

/* ---- regular shows (step 50) ---------------------------------------- */
.repeat { margin: 12px 0; padding-top: 12px; border-top: 1px solid var(--line); }
.r-at { display: block; margin-top: 6px; }
.show-card .regular { margin-top: 10px; margin-left: 6px; padding: 0 14px; flex: none; }

/* Your questions and feedback (step 51) */
.asked li { display: block; }
.q-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.q-acts .add-show { width: auto; min-width: 0; padding: 6px 8px; }

/* Followed stories (step 52) */
.nav .badge, .story .badge { display: inline-block; min-width: 18px; padding: 0 5px;
  margin-left: 6px; border-radius: 9px; background: #d63a2f; color: #fff;
  font-size: 11px; line-height: 18px; text-align: center; font-weight: 600; }
.badge.pulse { animation: nc-pulse 1.6s ease-in-out infinite; }
@keyframes nc-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(214, 58, 47, .55); }
                      50% { box-shadow: 0 0 0 6px rgba(214, 58, 47, 0); } }
@media (prefers-reduced-motion: reduce) { .badge.pulse { animation: none; } }
.following { padding: 20px 16px 40px; }
.following h1 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 0 0 14px; }
.following .story { border: 1px solid var(--line, #2a2f36); border-radius: 12px;
  margin: 0 0 12px; overflow: hidden; }
.story-head { width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px;
  padding: 14px 16px; background: none; border: 0; color: inherit; text-align: left;
  font: inherit; cursor: pointer; }
.story-head .title { font-weight: 600; flex: 1 1 60%; min-width: 0; }
.story-head .when { flex-basis: 100%; }
.story-body { padding: 0 16px 14px; }
.updates { list-style: none; margin: 0; padding: 0; max-height: 50vh; overflow-y: auto; }
.update { padding: 10px 0; border-top: 1px solid var(--line, #2a2f36); }
.update.new > div:first-child { font-weight: 600; }
.plus { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--accent);
  background: none; color: var(--accent); font-size: 18px; line-height: 1; cursor: pointer; }
.plus-menu { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.plus-menu[hidden] { display: none; }
.story-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.story-acts select { width: auto; }

/* Your own document (step 53) */
.c-doc { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.doc-card h2 { font-family: var(--serif); font-weight: 500; font-size: 20px; margin: 4px 0 6px;
  text-transform: none; letter-spacing: 0; color: var(--ink);
  overflow-wrap: anywhere; }
.doc-card label { display: block; margin: 10px 0; }

/* Browse extras (step 56) */
.follow { margin: 6px 6px 0 0; padding: 6px 12px; border-radius: 16px;
  border: 1px solid var(--accent); background: none; color: var(--accent);
  font: inherit; font-size: 13px; cursor: pointer; }
.follow.on { background: var(--accent); color: #111; }
.comments { margin-top: 24px; }
.c-new { display: grid; gap: 8px; margin: 8px 0 14px; }
.c-new textarea { resize: vertical; }
.comment { display: block; padding: 10px 0; border-top: 1px solid var(--line); }
.comment .who { font-weight: 600; margin-bottom: 2px; }
.show-card.pub { display: block; color: inherit; text-decoration: none; }
.b-sort { margin-top: 8px; }
.byline > span { flex-basis: 100%; }

/* Build progress and notifications (step 62) */
.building-card .steps { list-style: none; padding: 0; margin: 10px 0; }
.step { display: flex; gap: 10px; align-items: baseline; padding: 4px 0; color: var(--ink-faint); }
.step .mark { width: 1em; text-align: center; }
.step.done { color: var(--ink-dim); } .step.done .mark { color: var(--good); }
.step.active { color: var(--ink); } .step.active .mark { color: var(--accent); }
.step.failed { color: var(--bad); }
.warn { color: var(--warn); }
.bell { position: relative; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: 84px;
  z-index: 50; max-width: calc(100vw - 32px); padding: 10px 16px; border-radius: 10px;
  background: var(--panel); border: 1px solid var(--line); color: var(--ink);
  box-shadow: 0 6px 24px rgba(0,0,0,.35); font-size: 14px; }
.toast a { color: var(--ink); }
.notes { padding: 20px 16px 40px; }
.notes h1 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 0 0 14px; }
.notes-head { display: flex; align-items: baseline; justify-content: space-between; }
.note a { display: block; color: var(--ink); padding: 12px 0; }
.note.unread .title { font-weight: 600; }
.note.unread .show::before { content: ""; display: inline-block; width: 7px; height: 7px;
  border-radius: 50%; background: var(--accent); margin-right: 6px; vertical-align: middle; }
.toggle { display: flex; gap: 10px; align-items: center; padding: 10px 0; }
.note-body { white-space: pre-line; }

/* Privacy, terms and deleting things (step 65) */
.legal { padding: 20px 16px 48px; max-width: 680px; }
.legal h1 { font-family: var(--serif); font-weight: 500; font-size: 28px; margin: 0 0 4px; }
.legal h2 { font-size: 17px; margin: 22px 0 6px; }
.legal p, .legal li { color: var(--ink-dim); }
.legal b { color: var(--ink); }
.btn.danger { background: transparent; border: 1px solid var(--bad); color: var(--bad); }
.confirm { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.doc-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; }
#del-account input { display: block; width: 100%; margin: 6px 0 10px; padding: 10px;
  border-radius: 8px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); }
.del-slot { display: block; margin-top: 6px; }

/* Your list and Autoplay (step 69) */
.dock-next, .dock-auto { color: var(--ink-dim); font-size: 13px; padding: 0 6px;
  min-height: var(--tap); background: none; border: 0; }
.dock-auto.on { color: var(--accent); }
.addq { font-size: 12px; padding: 4px 10px; border-radius: 99px; background: none;
  border: 1px solid var(--line); color: var(--ink-dim); white-space: nowrap; }
.addq-menu { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.addq-menu .btn { font-size: 12px; padding: 4px 10px; min-height: 0; height: auto; width: auto; }
.list > li { position: relative; }
.list > li > .addq, .list > li > .addq-menu { margin: 0 0 10px; }
.addq-row { margin: 10px 0; }
.q-row { display: flex; align-items: center; gap: 8px; }
.q-row .q-main { flex: 1; min-width: 0; display: block; color: var(--ink); padding: 10px 0; }
.q-acts { display: flex; gap: 2px; }
.q-acts .ghost { min-width: 34px; min-height: 34px; }
/* (Until 2026-10-05 an unclosed "@media (max-width: 480px) {" stood here,
   which quietly put every rule below it -- the creation chat's included --
   inside a phone-only media query. The tab bar replaced what it styled.) */

/* ---- the creation chat, rebuilt (step 63) ----------------------------- */
.c-form { align-items: flex-end; }
.c-form textarea.typed {
  resize: none; min-height: var(--tap); max-height: 320px; line-height: 1.45;
  padding-top: 11px; padding-bottom: 11px; font: inherit; overflow-y: auto;
}
.c-send { display: flex; gap: 6px; flex: none; }
.mic-btn { min-width: var(--tap); padding: 0 !important; }
.mic-btn.on { background: var(--accent); color: #151515; }
.msg.thinking { color: var(--ink-faint); font-style: italic; }
.msg.error { color: var(--bad, #e57373); }
.msg .c-q { margin-top: 10px; }
.msg .c-q .chips { margin: 6px 0 0; }
.msg .proposal { margin: 10px 0 0; background: var(--panel); }
.msg .proposal ul { margin: 6px 0 0; padding-left: 18px; line-height: 1.6; }
.msg .proposal s { text-decoration: line-through; }
.msg .proposal.done { opacity: .8; }
.msg .c-ready { margin: 8px 0 0; }
.c-settings {
  margin-top: 18px; padding: 14px; border-radius: 12px; background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
}
.c-settings .sect { margin-top: 0; }
.c-settings label.small { display: block; margin: 8px 0 10px; }
.c-len input[type=range] { width: 100%; accent-color: var(--accent); }
.c-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.c-tag {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px 4px 4px 10px;
  border-radius: 99px; background: var(--panel-2); font-size: 14px;
}
.c-tag .x {
  border: 0; background: none; color: var(--ink-faint); font-size: 16px;
  min-width: 28px; min-height: 28px; cursor: pointer;
}

/* ---- listings, listens, filters (step 74) -------------------------- */
.labels { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 2px 0 4px; }
.labels:empty { display: none; }
.pill.type { color: var(--accent); }
.pill.cat { color: var(--ink); }
.pill.mood { color: var(--ink-dim); }
.listens { color: var(--ink-dim); font-size: 13px; }
.about { color: var(--ink-dim); font-size: 14px; line-height: 1.45; margin: 2px 0 6px; }
.ep.card .about { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
                  overflow: hidden; }
button.tag { min-height: 28px; cursor: pointer; }
.filter { margin: 10px 0 0; }
.filter .chips { margin: 4px 0 0; flex-wrap: nowrap; overflow-x: auto;
                 scrollbar-width: none; padding-bottom: 2px; }
.filter .chips::-webkit-scrollbar { display: none; }
.filter .chip { flex: none; }
.flabel { font-size: 11px; font-weight: 700; letter-spacing: .1em;
          text-transform: uppercase; color: var(--ink-faint); }
.chip .n { color: var(--ink-faint); font-size: 11px; margin-left: 2px; }
.chip.on .n { color: #3a2a1c; }
.more-filters { margin: 12px 0 0; }
.more-filters summary { cursor: pointer; color: var(--ink-dim); font-size: 14px;
                        min-height: var(--tap); display: flex; align-items: center; }
.listing-edit, .listing-preview { margin: 10px 0; }
.listing-edit { padding: 14px; border-radius: 12px; background: var(--panel);
                box-shadow: inset 0 0 0 1px var(--line); }
.listing-edit label.small { display: block; margin: 0 0 10px; }
.listing-edit .typed { width: 100%; margin-top: 4px; }
.counts { display: flex; gap: 14px; margin: -4px 0 10px; }
.bio { margin: 0 0 10px; line-height: 1.55; }
.bio p { margin: 0 0 8px; }
#bio-form textarea { width: 100%; margin-top: 6px; resize: vertical; }

/* ---- cast (step 75) ---------------------------------------------------- */
.cast { margin: 10px 0; }
.cast-row { display: grid; gap: 6px; padding: 8px 0; border-top: 1px solid var(--line); }
.cast .add-cast { margin-top: 6px; }

/* ======================================================================
   Podcastme redesign (2026-10-05)
   Everything below overrides the older rules above it. Class names the
   tests and app.js rely on are unchanged; this section only restyles.
   ====================================================================== */

body { font-family: var(--sans); background: var(--bg); }
h1, h2.serif, .brand, .episode h1, .browse h1, .notes h1, .following h1,
.create h1, .legal h1, .login h1, .show-card .name, .c-card.summary h2,
.doc-card h2, .summary h2 { font-weight: 400; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
::selection { background: rgba(232,131,63,.35); }

/* icons: inline SVG, coloured by currentColor */
.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8;
     stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i.fill { fill: currentColor; stroke: none; }
.inline-i .i { width: 16px; height: 16px; vertical-align: -3px; }

/* ---- top bar --------------------------------------------------------- */
.bar { flex-wrap: nowrap; padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 10px 16px;
       background: rgba(13,15,18,.9); border-bottom: 1px solid rgba(38,43,51,.6); }
.brand { display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); }
.brand-mark { width: 30px; height: 30px; }
.wordmark { font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--ink);
            letter-spacing: -.2px; }
.wordmark i { color: var(--accent); }
.bar-acts { display: flex; align-items: center; gap: 4px; }
.icon-btn { position: relative; width: var(--tap); height: var(--tap); border-radius: 50%;
            display: grid; place-items: center; color: var(--ink-dim); }
.icon-btn:hover { color: var(--ink); background: var(--panel); }
.icon-btn.on { color: var(--ink); background: var(--panel); }
.icon-btn .badge, .tabs .badge { position: absolute; top: 4px; right: 2px; margin: 0;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--bad);
  color: #fff; font-size: 11px; line-height: 18px; text-align: center; font-weight: 700; }
.bar .signin { color: var(--accent); font-weight: 600; padding: 0 8px; }

main { padding-bottom: calc(var(--tabbar) + 24px); }
body:has(#dock:not([hidden])) main { padding-bottom: calc(var(--tabbar) + 96px); }

/* ---- the tab bar ----------------------------------------------------- */
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 7;
  display: flex; justify-content: space-around; align-items: flex-start;
  height: var(--tabbar); padding: 6px 4px var(--safe-b);
  background: rgba(13,15,18,.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--panel-2); margin: 0; }
.tabs a { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center;
  gap: 2px; padding: 4px 0; min-height: 48px; color: var(--ink-faint); font-size: 11px;
  font-weight: 500; white-space: nowrap; box-shadow: none; }
.tabs a .i { width: 24px; height: 24px; }
.tabs a.on { color: var(--ink); font-weight: 600; }
.tabs a.on .i { stroke-width: 2.1; }
.tabs .badge { top: 0; right: auto; left: calc(50% + 6px); }
.tabs .tab-create { flex: 0 0 72px; }
.create-dot { width: 54px; height: 54px; margin-top: -18px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: var(--on-accent);
  border: 4px solid var(--bg); box-shadow: 0 6px 18px rgba(232,131,63,.25); }
.create-dot .i { width: 26px; height: 26px; stroke-width: 2.4; }
.tabs .tab-create.on .create-dot { box-shadow: 0 0 0 3px rgba(232,131,63,.35); }

/* ---- covers: generated art, one of eight colours per show ------------- */
.cover { position: relative; overflow: hidden; flex: none; display: flex; flex-direction: column;
  justify-content: space-between; box-sizing: border-box; border-radius: 12px;
  background: var(--cv-bg); color: var(--cv-ink); }
.cover::after { content: ""; position: absolute; right: -28%; bottom: -28%; width: 78%;
  height: 78%; border-radius: 50%; background: rgba(255,255,255,.16); pointer-events: none; }
.cv-1::after, .cv-5::after { right: auto; left: -24%; top: -24%; bottom: auto; }
.cv-2::after, .cv-6::after { background: none; border: 10px solid rgba(255,255,255,.15);
  box-sizing: border-box; top: -24%; bottom: auto; }
.cv-0 { --cv-bg: #e8833f; --cv-ink: #1a0f07; }
.cv-1 { --cv-bg: #2f6f6b; --cv-ink: #eaf4f2; }
.cv-2 { --cv-bg: #7a3f6e; --cv-ink: #f8eaf3; }
.cv-3 { --cv-bg: #d4a84a; --cv-ink: #221704; }
.cv-4 { --cv-bg: #33598c; --cv-ink: #eaf0f8; }
.cv-5 { --cv-bg: #5e7044; --cv-ink: #f1f4ea; }
.cv-6 { --cv-bg: #b5545c; --cv-ink: #fbeeee; }
.cv-7 { --cv-bg: #3d4f66; --cv-ink: #e9eef5; }
.cv-kind { position: relative; z-index: 1; font-size: 9px; font-weight: 700; letter-spacing: .9px;
  text-transform: uppercase; opacity: .75; }
/* "Read aloud" / "Podcast style" under "From a document" (step 122). */
.cv-style { display: block; margin-top: 2px; font-weight: 600; letter-spacing: .5px; opacity: .9; }
.cv-name { position: relative; z-index: 1; margin-top: auto; font-family: var(--serif);
  line-height: .95; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.cv-initial { display: none; position: relative; z-index: 1; font-family: var(--serif); }
.cover-xs, .cover-s { align-items: center; justify-content: center; border-radius: 9px; }
.cover-xs { width: 40px; height: 40px; border-radius: 8px; }
.cover-s { width: 48px; height: 48px; }
.cover-xs .cv-name, .cover-s .cv-name, .cover-xs .cv-kind, .cover-s .cv-kind { display: none; }
.cover-xs .cv-initial, .cover-s .cv-initial { display: block; font-size: 24px; line-height: 1; }
.cover-m { width: 72px; height: 72px; padding: 7px; }
.cover-m .cv-name { font-size: 15px; }
.cover-m .cv-kind { font-size: 7px; }
.cover-l { width: 104px; height: 104px; padding: 10px; border-radius: 14px; }
.cover-l .cv-name { font-size: 21px; }

/* ---- lists of episodes ----------------------------------------------- */
.ep { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px;
      border-bottom: 1px solid var(--panel-2); }
.ep-text { display: block; min-width: 0; flex: 1; }
.ep .show { font-size: 11px; letter-spacing: .7px; color: var(--ink-faint); font-weight: 600; }
.ep .title { font-size: 20px; line-height: 1.2; margin: 2px 0 4px; }
.ep .meta { gap: 8px; font-size: 13px; }
.lib .ep { padding: 12px 0; }
.list > li.ep-row { display: flex; flex-wrap: wrap; align-items: center; }
.list > li.ep-row > .ep { flex: 1 1 0; min-width: 0; }
.list > li.ep-row > .addq, .list > li.ep-row > .addq-menu { margin: 0 0 0 8px; }
.list > li.ep-row > .addq-menu { flex-basis: 100%; margin: 0 0 10px 60px; }
.pill { font-size: 10.5px; padding: 3px 9px; border: 0; font-weight: 700; letter-spacing: .6px;
        background: var(--panel-2); }
.pill.ready, .pill.public { color: var(--good); background: rgba(111,191,142,.12); }
.pill.building, .pill.queued { color: var(--warn); background: rgba(212,168,74,.12); }
.pill.failed { color: var(--bad); background: rgba(229,83,75,.12); }
.pill.type { color: var(--accent); background: rgba(232,131,63,.12); }
.sect { margin: 28px 0 8px; font-size: 17px; font-weight: 600; letter-spacing: 0;
        text-transform: none; color: var(--ink); }

/* ---- Today ----------------------------------------------------------- */
.lib { padding: 4px 16px 40px; }
.today-head { padding: 14px 0 16px; }
.greet { font-family: var(--serif); font-size: 36px; line-height: 1.05; margin: 0; }
.today-head p { margin: 6px 0 0; font-size: 15px; }
.hero { padding: 14px; border-radius: 22px; background: var(--panel);
        box-shadow: inset 0 0 0 1px var(--line); }
.hero-main { display: flex; gap: 14px; color: var(--ink); }
.hero-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.kicker { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--accent);
          font-weight: 700; }
.hero-title { font-family: var(--serif); font-size: 23px; line-height: 1.1; }
.hero-meta { font-size: 13px; color: var(--ink-dim); }
.hero-acts { display: flex; gap: 8px; margin-top: 14px; align-items: center; }
.hero-acts .btn { flex: 1; height: 46px; border-radius: 23px; display: inline-flex;
  align-items: center; justify-content: center; gap: 8px; font-size: 15px; }
.hero-acts .hero-play { flex: 1.3; font-weight: 700; }
.hero-acts .hero-play .i { width: 18px; height: 18px; }
.ring-link { color: var(--accent); background: transparent;
  box-shadow: inset 0 0 0 1px var(--accent-dim); }
.ring-link .i { width: 18px; height: 18px; }
.hero-acts .addq { width: 46px; height: 46px; padding: 0; border-radius: 50%;
  display: grid; place-items: center; }
.hero-acts .addq-menu { flex-basis: 100%; }
.hero-acts:has(.addq-menu) { flex-wrap: wrap; }
.new-pod { display: flex; flex-wrap: wrap; align-items: center; column-gap: 10px; row-gap: 0;
  margin-top: 12px; padding: 12px 16px; min-height: 56px; border-radius: 16px;
  background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink);
  font-weight: 600; }
.new-pod .i { color: var(--accent); }
.new-pod .faint { flex-basis: 100%; padding-left: 32px; font-weight: 400; }

/* your shows */
.shows { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.show-card { padding: 12px; border-radius: 16px; background: var(--panel);
             box-shadow: inset 0 0 0 1px var(--line); }
.show-top { display: flex; gap: 12px; align-items: center; }
.show-info { min-width: 0; }
.show-card .name { font-family: var(--serif); font-size: 21px; line-height: 1.1; }
.show-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.show-card .make, .show-card .regular { margin: 0; padding: 0 14px; height: 38px; min-height: 38px;
  flex: none; border-radius: 19px; font-size: 13px; }
.show-card .del-slot { display: inline-block; margin: 0 0 0 auto; }
.show-card .del-show { color: var(--ink-faint); font-size: 13px; padding: 0 6px; }
.coming { border-bottom-color: var(--panel-2); }

/* ---- generic buttons, chips ------------------------------------------ */
.btn { border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line-2); background: var(--panel-2); }
.btn.primary, .primary { background: var(--accent); color: var(--on-accent); box-shadow: none; }
.chip { min-height: 36px; padding: 0 14px; font-size: 13.5px; color: var(--ink-dim);
        box-shadow: inset 0 0 0 1px var(--line-2); background: transparent; }
.chip.on { background: var(--accent); color: var(--on-accent); font-weight: 600; }
.addq { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink-dim); }
.addq .i { width: 19px; height: 19px; }
.addq:hover { color: var(--ink); border-color: var(--ink-faint); }
.follow { border-radius: 99px; min-height: 36px; padding: 0 14px; font-weight: 600; }

/* ---- the episode page: Now playing ------------------------------------ */
.episode { padding: 8px 16px 24px; }
.back { gap: 2px; font-size: 15px; }
.back .i { width: 20px; height: 20px; }
.ep-head { display: flex; gap: 14px; align-items: center; margin: 6px 0 12px; }
.ep-head-text { min-width: 0; }
.episode h1, .ep-head h1 { font-family: var(--serif); font-size: 28px; line-height: 1.1;
  margin: 4px 0 0; }
.browse .ep-head h1 { margin: 0; }
.seal { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px;
  margin: 0 8px 8px 0; border-radius: 17px; background: rgba(111,191,142,.12); color: var(--good);
  font-size: 13px; font-weight: 600; }
.seal .i { width: 16px; height: 16px; }
.blurb { color: var(--ink-dim); font-size: 15px; line-height: 1.5; margin: 6px 0 16px; }
.player { padding: 18px 16px 16px; border-radius: 22px; background: var(--panel);
          box-shadow: inset 0 0 0 1px var(--line); border: 0; }
.scrub { height: 24px; }
.controls { justify-content: space-between; gap: 6px; margin-top: 8px; padding: 0 4px; }
.big { width: 72px; height: 72px; background: var(--accent); color: var(--on-accent); }
.big .i { width: 28px; height: 28px; }
.skip { position: relative; width: 48px; height: 48px; display: grid; place-items: center;
        color: var(--ink); }
.skip .i { width: 30px; height: 30px; }
.skip span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -38%);
             font-size: 9px; font-weight: 700; }
.q-jump { color: var(--ink-dim); }
.q-jump .i { width: 22px; height: 22px; }
.speed { width: 48px; font-weight: 600; font-size: 14px; }
.ring-row { margin-top: 16px; }
.ring { width: 100%; min-height: 62px; padding: 0 16px; gap: 14px; justify-content: flex-start;
  border-radius: 18px; background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--accent);
  text-align: left; }
.ring-icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--on-accent); flex: none; }
.ring-icon .i { width: 19px; height: 19px; stroke-width: 2.1; }
.ring-text { display: flex; flex-direction: column; flex: 1; }
.ring-text b { font-size: 16px; }
.ring-text span { font-size: 13px; color: var(--ink-dim); font-weight: 400; }
.ring .dot { display: none; }
.ring.live { background: var(--accent); color: var(--on-accent); }
.ring.live .ring-text span { color: var(--on-accent); }
.ring.live .ring-icon { background: var(--on-accent); color: var(--accent); }
.ring.live .dot { display: block; background: var(--on-accent); }
.addq-row { margin: 12px 0 0; }
.chapter { border-bottom-color: var(--panel-2); }
.chapter .at { color: var(--accent); }
.chapter .name { font-weight: 600; }
.chapter .badge { color: var(--good); }
.stories a { color: var(--ink); }
.stories li { padding: 4px 0; }
details { border-top: 1px solid var(--panel-2); }
summary { font-weight: 600; color: var(--ink); }
.transcript p { font-family: var(--serif); font-size: 19px; line-height: 1.4; }
.transcript .who { font-family: var(--sans); font-weight: 700; color: var(--accent); }
.building-card .steps { margin: 12px 0; }

/* ---- the dock: a mini player above the tab bar ------------------------ */
.dock { left: 10px; right: 10px; bottom: calc(var(--tabbar) + 8px); z-index: 6;
  height: 60px; gap: 8px; padding: 0 6px 0 10px; border-radius: 16px; overflow: hidden;
  background: var(--panel-2); border: 1px solid #2a2f38; border-top-color: #2a2f38;
  box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.dock-cover { width: 40px; height: 40px; }
.dock-meta { display: flex; flex-direction: column; line-height: 1.25; }
.dock-meta a { color: var(--ink); font-weight: 600; font-size: 14px; overflow: hidden;
  text-overflow: ellipsis; }
.dock-meta .faint { font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
.dock-play { background: none; color: var(--ink); width: 44px; height: 44px; }
.dock-play .i { width: 24px; height: 24px; }
.dock-next { width: 40px; padding: 0; color: var(--ink-dim); }
.dock-next .i { width: 20px; height: 20px; }
.dock-next .i path:first-child { fill: currentColor; stroke: none; }
.dock-auto { font-size: 11px; padding: 0 4px; max-width: 64px; white-space: normal;
  line-height: 1.15; text-align: center; }
.dock-progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--accent); }

.toast { bottom: calc(var(--tabbar) + 80px); border-radius: 14px; background: var(--panel-2); }

/* ---- Ring in: a full-screen call ------------------------------------- */
.callwrap { padding: 0; background: rgba(8,10,12,.92); }
.call { width: min(520px, 100%); height: 100%; max-height: 100dvh; border-radius: 0;
  display: flex; flex-direction: column; background: #0b0d10; box-shadow: none; }
@media (min-width: 560px) { .call { height: auto; max-height: 92vh; border-radius: 24px;
  box-shadow: 0 30px 70px rgba(0,0,0,.55), inset 0 0 0 1px var(--line); } }
.call header { padding: calc(18px + env(safe-area-inset-top, 0px)) 20px 14px;
  background: transparent; border: 0; }
.call header b { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans);
  font-size: 14px; }
.onair { width: 8px; height: 8px; border-radius: 50%; background: var(--bad);
  animation: pulse 1.1s infinite; }
.call .ctx { color: var(--ink-dim); font-size: 13px; }
.call .body { flex: 1; display: flex; flex-direction: column; padding: 8px 20px
  calc(24px + var(--safe-b)); overflow-y: auto; }
.call-hosts { display: flex; justify-content: center; padding: 12px 0 18px; }
.host-ring { width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center;
  background: var(--panel); box-shadow: 0 0 0 8px rgba(232,131,63,.10), 0 0 0 16px rgba(232,131,63,.05); }
.heard { font-size: 24px; line-height: 1.3; min-height: 2.6em; }
.answer { background: transparent; padding: 0; font-size: 20px; line-height: 1.4; }
.answer .tag { font-size: 11px; }
#call-form { margin-top: auto; }
.typed { font-family: var(--sans); border-radius: 14px; background: var(--panel);
         border-color: var(--line-2); }
.call-acts { align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.call-acts #call-send { flex: none; width: 64px; height: 56px; border-radius: 28px; }
.mic { width: 88px; height: 88px; margin: 0; background: var(--ink); color: #0b0d10;
       box-shadow: none; flex: none; }
.mic .i { width: 34px; height: 34px; stroke-width: 2; }
.mic.rec { background: var(--accent); color: var(--on-accent); }
@keyframes ringpulse {
  0% { box-shadow: 0 0 0 0 rgba(232,131,63,.45); }
  70% { box-shadow: 0 0 0 24px rgba(232,131,63,0); }
  100% { box-shadow: 0 0 0 0 rgba(232,131,63,0); } }
.btn.hang { flex: none; width: 64px; height: 56px; border-radius: 28px; background: #c9473f;
  color: #fff; box-shadow: none; display: grid; place-items: center; }
.btn.hang span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---- sign in --------------------------------------------------------- */
.login { padding: 40px 20px; }
.login-mark { width: 88px; height: 88px; border-radius: 22px; display: block; margin-bottom: 22px; }
.login h1 { font-family: var(--serif); font-size: 44px; line-height: 1; margin: 0 0 10px; }
.lede { font-size: 18px; color: var(--ink); margin: 0 0 14px; line-height: 1.45; }
.login input { height: 52px; border-radius: 14px; }
.primary { height: 52px; border-radius: 14px; font-weight: 700; }

/* ---- Browse, creators, shows ------------------------------------------ */
.browse h1, .notes h1, .following h1, .create h1, .legal h1 { font-size: 34px; line-height: 1.05; }
.card-main { display: flex; gap: 12px; color: inherit; }
.card-text { display: block; min-width: 0; flex: 1; }
.ep.card { display: block; }
.show-card.pub { display: flex; gap: 12px; align-items: flex-start; }
.pub-text { min-width: 0; flex: 1; }
.pub-cover { flex: none; }
.show-card.pub .name { display: block; color: var(--ink); }

/* ---- Up next ---------------------------------------------------------- */
.q-row .q-main { display: flex; gap: 12px; align-items: center; }
.q-acts .ghost { display: grid; place-items: center; min-width: 38px; min-height: 38px;
  border-radius: 50%; color: var(--ink-dim); }
.q-acts .ghost .i { width: 19px; height: 19px; }
.q-acts .q-play { color: var(--accent); }
.q-acts .ghost:disabled { opacity: .35; }

/* ---- creation chat ----------------------------------------------------- */
.msg.me { background: #2a1d14; color: var(--ink); box-shadow: inset 0 0 0 1px #4a2f1b;
          border-radius: 20px 20px 6px 20px; }
.msg.them { background: transparent; padding-left: 0; }
.c-settings, .c-card { border-radius: 18px; }

@media (min-width: 720px) {
  .dock { left: 50%; right: auto; width: 640px; transform: translateX(-50%); }
  .greet { font-size: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .onair, .mic.rec, .mic.dialling, .ring.live .dot { animation: none; }
}
.browse .ep, .following .ep { padding-left: 0; padding-right: 0; }
.q-main .show { font-size: 11px; letter-spacing: .7px; color: var(--ink-faint); font-weight: 600; }
.q-main .title { font-family: var(--serif); font-size: 19px; line-height: 1.2; }
.q-main .meta { font-size: 13px; color: var(--ink-dim); }
.answer .tag { box-shadow: none; padding: 0; border-radius: 0; font-size: 11px; }

/* ======================================================================
   Sidebar, Browse rows, Library, samples (2026-10-05, second step)
   ====================================================================== */

/* ---- the sidebar: a drawer on a phone, always open from 960 px -------- */
.menu-btn { margin-left: -6px; }
.bar { gap: 6px; }
.bar .brand { margin-right: auto; }
.side { position: fixed; top: 0; bottom: 0; left: 0; z-index: 30; width: 264px;
  display: flex; flex-direction: column; gap: 6px; padding: calc(16px + env(safe-area-inset-top, 0px)) 14px 20px;
  background: #101216; border-right: 1px solid var(--panel-2); overflow-y: auto;
  transform: translateX(-102%); transition: transform .22s ease; visibility: hidden; }
body.side-open .side { transform: none; visibility: visible; box-shadow: 0 0 60px rgba(0,0,0,.6); }
.side-scrim { position: fixed; inset: 0; z-index: 29; background: rgba(0,0,0,.55); }
.side-brand { padding: 0 6px 10px; }
.side a, .side-out { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px;
  border-radius: 12px; color: var(--ink-dim); font-size: 15px; font-weight: 500; width: 100%;
  text-align: left; position: relative; box-shadow: none; }
.side a:hover, .side-out:hover { background: var(--panel); color: var(--ink); }
.side a.on { background: var(--panel-2); color: var(--ink); font-weight: 600; }
.side a.on .i { color: var(--accent); }
.side .badge { position: static; margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 10px; background: var(--bad); color: #fff; font-size: 11px; line-height: 20px;
  text-align: center; font-weight: 700; }
.side-create { background: var(--accent) !important; color: var(--on-accent) !important;
  font-weight: 700 !important; margin: 4px 0 10px; justify-content: center; }
.side-create .i { stroke-width: 2.4; }
.side-label { margin: 14px 12px 2px; font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 700; }
.side-group { display: flex; flex-direction: column; gap: 2px; }

@media (min-width: 960px) {
  .side { transform: none; visibility: visible; box-shadow: none; }
  .side-scrim, .menu-btn, .bar .brand, .tabs { display: none !important; }
  .app { padding-left: 264px; }
  .bar { background: rgba(13,15,18,.85); border-bottom-color: transparent; justify-content: flex-end; }
  main { max-width: none; padding-bottom: 40px; }
  body:has(#dock:not([hidden])) main { padding-bottom: 110px; }
  main > section, main > article, main > .pad { max-width: 760px; margin-left: auto; margin-right: auto; }
  main > .browse.wide { max-width: 1240px; padding-left: 32px; padding-right: 32px; }
  .dock { left: calc(264px + 50% - 132px); bottom: 16px; width: min(720px, calc(100% - 300px)); }
  .toast { bottom: 96px; left: calc(50% + 132px); }
}

/* ---- Browse: tabs, filters, rows --------------------------------------- */
.b-tabs { display: inline-flex; gap: 4px; padding: 4px; margin: 4px 0 18px; border-radius: 99px;
  background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.b-tabs a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 20px;
  border-radius: 99px; color: var(--ink-dim); font-weight: 600; font-size: 15px; }
.b-tabs a.on { background: var(--ink); color: var(--bg); }
.browse form .typed { height: 50px; border-radius: 16px; font-size: 16px; padding-left: 16px; }
.b-filterbar { margin-top: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--panel-2); }
.b-sortline { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 10px 0 6px; }
.b-sortline .chips { margin: 0; }
#b-clear { color: var(--accent); font-weight: 600; margin-left: auto; }
.filter .chip { white-space: nowrap; }

.g-row { margin: 30px 0 6px; }
.g-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.g-head h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 27px;
  letter-spacing: 0; text-transform: none; color: var(--ink); }
.g-head .small-btn, .g-head > a { margin-left: auto; }
.g-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 152px; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.g-strip::-webkit-scrollbar { display: none; }
.g-strip > * { scroll-snap-align: start; }
.g-strip .tile.extra { display: none; }
.g-row.open .g-strip, .g-strip.wrap { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  overflow: visible; row-gap: 22px; }
.g-row.open .g-strip .tile.extra { display: flex; }
.g-foot { display: flex; justify-content: flex-end; margin-top: 6px; }
.see-more { color: var(--accent); font-weight: 600; font-size: 14px; padding: 0 4px; }
.see-more::after { content: " ›"; }
@media (min-width: 700px) {
  .g-row:not(.open) .g-strip { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible; }
  .g-row:not(.open) .g-strip > :nth-child(n+5) { display: none; }
  .g-row.open .g-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .g-row:not(.open) .g-strip { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .g-row:not(.open) .g-strip > :nth-child(5), .g-row:not(.open) .g-strip > :nth-child(6) { display: flex; }
  .g-row.open .g-strip { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.sample-word { color: #e9d39b; }
.samples-on { margin: 18px 0 -8px; }
.browse .filter { margin-top: 8px; }
.browse .filter .chips { margin-top: 4px; }

/* a frame: a podcast or a creator */
.tile { display: flex; flex-direction: column; gap: 3px; min-width: 0; color: var(--ink); }
.tile-art { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden;
  background: var(--panel); box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); margin-bottom: 6px; }
.tile-art > img, .cover.has-img > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile-art.round { border-radius: 50%; }
.tile:hover .tile-art img { transform: scale(1.03); }
.tile-art img { transition: transform .25s ease; }
.cover-t { width: 100%; height: 100%; padding: 12px; border-radius: 0; }
.cover-t .cv-name { font-size: 24px; }
.cover-t .cv-kind { font-size: 9px; }
.cover-t .cv-initial { display: block; margin: auto; font-size: 54px; }
.cover-t .cv-name + .cv-initial { display: none; }
.cover.has-img { padding: 0; background: var(--panel); }
.cover.has-img::after { display: none; }
.tile-badge { position: absolute; top: 8px; left: 8px; padding: 2px 8px; border-radius: 99px;
  background: rgba(10,11,13,.72); color: #f1d9a6; font-size: 10px; font-weight: 700; letter-spacing: .6px;
  text-transform: uppercase; backdrop-filter: blur(4px); }
.tile-play { position: absolute; right: 8px; bottom: 8px; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: var(--on-accent);
  opacity: 0; transform: translateY(6px); transition: opacity .18s, transform .18s;
  box-shadow: 0 6px 16px rgba(0,0,0,.4); }
.tile-play .i { width: 18px; height: 18px; }
.tile:hover .tile-play, .tile:focus-visible .tile-play { opacity: 1; transform: none; }
@media (hover: none) { .tile-play { opacity: 1; transform: none; width: 36px; height: 36px; } }
.tile-title { font-weight: 600; font-size: 15px; line-height: 1.25; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile-sub { font-size: 13px; color: var(--ink-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-line { font-size: 12px; color: var(--ink-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.creator-tile { text-align: center; align-items: center; }
.creator-tile .tile-art { width: 100%; }
.tile-pic { align-self: flex-start; color: var(--accent); font-size: 13px; font-weight: 600; min-height: 32px; }
.own-show .tile-art { display: block; }

/* the sample note, on sample pages */
.sample-note { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0 14px; padding: 10px 12px;
  border-radius: 12px; background: rgba(212,168,74,.10); color: #e9d39b; font-size: 13.5px; line-height: 1.45; }
.sample-note .i { width: 18px; height: 18px; margin-top: 1px; }
.byline-link { display: inline-block; margin-top: 6px; font-size: 14px; font-weight: 600; }
.demo-eps { display: flex; flex-direction: column; }
.demo-ep { display: flex; gap: 10px; align-items: baseline; width: 100%; text-align: left; padding: 12px 0;
  min-height: 0; flex-wrap: wrap; }
.demo-ep .faint { margin-left: auto; }
.demo-ep.now .name { color: var(--accent); }

/* a creator's page */
.creator-head { display: flex; gap: 22px; align-items: center; margin: 6px 0 14px; flex-wrap: wrap; }
.creator-photo { width: 132px; height: 132px; border-radius: 50%; overflow: hidden; flex: none;
  background: var(--panel); box-shadow: 0 0 0 4px var(--panel-2); }
.creator-photo img { width: 100%; height: 100%; object-fit: cover; }
.creator-head h1 { margin: 2px 0 6px; }
.creator-head .counts { margin: 0 0 10px; }

/* the Library */
.lib-filter { margin: 4px 0 6px; }
.lib-sec { margin-top: 10px; }
.lib-sec .g-head { margin-top: 24px; }
.small-btn { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; min-height: 38px;
  padding: 0 14px; border-radius: 19px; font-size: 13px; }
.small-btn .i { width: 16px; height: 16px; }
.g-head > a.small { display: inline-flex; align-items: center; gap: 4px; }
.g-head > a.small .i { width: 16px; height: 16px; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px;
  width: 100%; height: 100%; }
.mosaic img, .mosaic span { width: 100%; height: 100%; object-fit: cover; background: var(--panel-2); display: block; }
.show-acts .change-cover { color: var(--ink-dim); font-size: 13px; padding: 0 6px; }

/* frames with (+) and play on the picture (step 80) */
.tile { position: relative; }
.tile-cover { display: block; width: 100%; height: 100%; }
.tile-link { display: flex; flex-direction: column; gap: 3px; min-width: 0; color: var(--ink); }
.tile-acts { position: absolute; right: 8px; bottom: 8px; display: flex; gap: 8px; align-items: center; }
.tile-acts .tile-play { position: static; }
.tile-acts .addq { width: 38px; height: 38px; min-height: 38px; border-radius: 50%; padding: 0;
  display: grid; place-items: center; background: rgba(10,11,13,.72); color: #fff;
  border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(4px);
  opacity: 0; transform: translateY(6px); transition: opacity .18s, transform .18s; }
.tile-acts .addq .i { width: 18px; height: 18px; }
.tile:hover .tile-acts .addq, .tile:focus-within .tile-acts .addq,
.tile:focus-within .tile-play { opacity: 1; transform: none; }
@media (hover: none) { .tile-acts .addq { opacity: 1; transform: none; width: 34px; height: 34px; } }
.tile-acts .addq-menu { position: absolute; right: 0; bottom: 46px; display: flex; flex-direction: column;
  gap: 4px; padding: 6px; border-radius: 12px; background: var(--panel-2); z-index: 3;
  box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.tile-acts .addq-menu .btn { white-space: nowrap; font-size: 13px; padding: 8px 12px; }
.fold { margin-top: 4px; }
.fold > summary { font-size: 16px; gap: 8px; }
.fold > summary .faint { font-weight: 400; font-size: 13px; }
.fold[open] > summary { color: var(--accent); }

/* ======================================================================
   Library, playlists, the (+) sheet, You (step 81)
   ====================================================================== */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lib-head { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin: 6px 0 18px; }
.lib-head h1 { margin: 0; font-size: 40px; }
.lib-tabs { margin: 0; }
.lib-tabs a { gap: 8px; }
.lib-tabs .badge { position: static; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px;
  background: var(--bad); color: #fff; font-size: 11px; line-height: 20px; text-align: center; font-weight: 700; margin: 0; }
.lib-note { margin: -6px 0 16px; }
.library .g-head { margin-top: 30px; }
.lib-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
@media (min-width: 1100px) { .lib-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* Up next, pinned */
.upnext { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; padding: 18px 20px;
  border-radius: 22px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 760px) { .upnext { grid-template-columns: 1fr; gap: 14px; } }
.upnext-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 4px; }
.upnext-head h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 28px; color: var(--ink);
  text-transform: none; letter-spacing: 0; }
.un-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; color: var(--ink);
  border-bottom: 1px solid var(--panel-2); }
.un-n { width: 18px; text-align: center; color: var(--ink-faint); font-size: 13px; }
.un-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.un-text b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.see-all { display: inline-block; margin-top: 8px; font-weight: 600; }
.upnext-acts { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.upnext-acts .btn { min-height: 46px; border-radius: 23px; display: inline-flex; align-items: center;
  justify-content: center; gap: 8px; font-size: 15px; }
.upnext-acts .btn .i { width: 18px; height: 18px; }
.un-two { display: flex; gap: 10px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* switches */
.switch-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px;
  background: var(--panel-2); cursor: pointer; }
.switch-row > span { display: flex; flex-direction: column; }
.switch { appearance: none; -webkit-appearance: none; width: 42px; height: 26px; border-radius: 13px; flex: none;
  background: var(--line-2); position: relative; cursor: pointer; transition: background .15s; margin: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 10px;
  background: var(--ink-faint); transition: transform .15s, background .15s; }
.switch:checked { background: var(--accent); }
.switch:checked::after { transform: translateX(16px); background: var(--on-accent); }

/* playlist frames */
.pl-tile .tile-art { background: var(--panel-2); }
.pl-tile .mosaic .cover-t, .pl-tile .tile-art > .cover-t { padding: 6px; }
.pl-tile .mosaic .cv-name { font-size: 13px; }
.pl-empty { width: 100%; height: 100%; display: grid; place-items: center; color: var(--accent); }
.pl-empty .i { width: 46px; height: 46px; stroke-width: 1.5; }
.pl-empty.pl-plus .i { width: 34px; height: 34px; stroke-width: 2.2; }
.tile-count { position: absolute; top: 8px; right: 8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  background: var(--bad); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.tile-line .i { width: 13px; height: 13px; vertical-align: -2px; margin-right: 4px; }
.new-list { text-align: left; min-height: 0; }
.new-list .tile-art { box-shadow: inset 0 0 0 2px var(--line-2); background: transparent; }
.new-list-form { margin-top: 14px; padding: 14px; border-radius: 16px; background: var(--panel); max-width: 560px; }
.nl-row { display: flex; gap: 8px; margin-top: 6px; align-items: center; }
.nl-row .typed { margin: 0; flex: 1; }
.nl-row .btn { flex: none; padding: 0 18px; min-height: 46px; }

/* one playlist */
.pl-hero { display: flex; gap: 26px; align-items: flex-end; margin: 14px 0 18px; flex-wrap: wrap; }
.pl-art { width: 220px; height: 220px; border-radius: 22px; overflow: hidden; flex: none; background: var(--panel-2);
  box-shadow: 0 20px 50px rgba(0,0,0,.45); position: relative; }
.pl-art > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pl-art .cover-t { padding: 14px; }
.pl-art .mosaic .cv-name { font-size: 16px; }
.pl-head { min-width: 0; flex: 1; }
.pl-head h1 { font-size: 48px; line-height: 1; margin: 6px 0 8px; }
.pl-head p { margin: 0 0 8px; max-width: 640px; }
.pl-suggest:empty { display: none; }
@media (max-width: 600px) {
  .pl-hero { flex-direction: column; align-items: center; text-align: center; }
  .pl-art { width: 180px; height: 180px; }
  .pl-head h1 { font-size: 34px; }
}
.pl-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.pl-play { width: 58px; height: 58px; border-radius: 29px; background: var(--accent); color: var(--on-accent);
  display: grid; place-items: center; }
.pl-play .i { width: 24px; height: 24px; }
.pl-play:disabled { opacity: .45; }
.pl-acts .btn { flex: none; min-height: 44px; padding: 0 16px; border-radius: 22px; display: inline-flex; align-items: center; gap: 8px; }
.pl-acts .btn .i { width: 18px; height: 18px; }
.pl-acts .follow { margin: 0; min-height: 44px; }
.pl-settings { display: grid; gap: 10px; padding: 16px; border-radius: 18px; background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line); max-width: 640px; margin-bottom: 16px; }
.pl-settings label.small { display: grid; gap: 4px; }
.pl-settings .typed { margin: 0; width: 100%; }
.ps-acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ps-acts .btn { flex: none; padding: 0 18px; min-height: 42px; }
.danger-text { color: var(--bad); }
.pl-list { list-style: none; margin: 0; padding: 0; }
.pl-row { display: grid; grid-template-columns: 22px 26px minmax(0, 1fr) 130px 150px 60px auto; align-items: center;
  gap: 12px; padding: 8px 10px; border-radius: 14px; }
.pl-row:not([draggable]) { grid-template-columns: 26px minmax(0, 1fr) 130px 150px 60px; }
.pl-row:hover { background: var(--panel); }
.pl-row.dragging { opacity: .5; }
.pl-row.drop { box-shadow: inset 0 2px 0 var(--accent); }
.pl-grip { color: #5c636c; cursor: grab; display: grid; place-items: center; }
.pl-grip .i { stroke-width: 3; width: 18px; height: 18px; }
.pl-n { color: var(--ink-faint); font-size: 13px; text-align: center; }
.pl-main { display: flex; align-items: center; gap: 12px; min-width: 0; color: var(--ink); }
.pl-text { display: flex; flex-direction: column; min-width: 0; }
.pl-text b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-text .faint { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-cat { justify-self: start; }
.pl-heard { color: var(--good); display: inline-flex; align-items: center; gap: 4px; }
.pl-heard .i { width: 15px; height: 15px; }
.pl-left { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-dim); }
.pl-left .pl-bar { width: 52px; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; display: inline-block; }
.pl-left .pl-bar span { display: block; height: 100%; background: var(--accent); width: 0; }
.pl-len { text-align: right; }
.pl-move { display: flex; gap: 2px; }
.pl-move .ghost { min-width: 34px; min-height: 34px; border-radius: 17px; display: grid; place-items: center; color: var(--ink-dim); }
.pl-move .ghost .i { width: 17px; height: 17px; }
.pl-move .ghost:disabled { opacity: .3; }
@media (max-width: 760px) {
  .pl-row, .pl-row:not([draggable]) { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; padding: 8px 0; }
  .pl-grip, .pl-n, .pl-cat, .pl-len { display: none; }
  .pl-status { grid-column: 1; grid-row: 2; padding-left: 60px; }
  .pl-move { grid-column: 2; grid-row: 1 / span 2; }
}
.pl-suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 22px; padding: 16px 18px;
  border-radius: 18px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.sg-list { display: flex; flex-wrap: wrap; gap: 10px; flex: 1; }
.sg { display: inline-flex; align-items: center; gap: 10px; padding: 6px 8px 6px 6px; border-radius: 12px; background: var(--panel-2); }
.sg-t { font-size: 14px; font-weight: 600; max-width: 220px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-add { width: 32px; height: 32px; min-height: 32px; border-radius: 16px; display: grid; place-items: center;
  color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.sg-add .i { width: 16px; height: 16px; stroke-width: 2.4; }

/* the (+) sheet: a bottom sheet on a phone, a centred panel on a laptop */
.sheet-scrim { position: fixed; inset: 0; z-index: 44; background: rgba(0,0,0,.55); }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; max-height: 86vh; overflow-y: auto;
  padding: 10px 20px calc(22px + var(--safe-b)); border-radius: 24px 24px 0 0; background: var(--panel);
  box-shadow: 0 -20px 60px rgba(0,0,0,.5); display: flex; flex-direction: column; gap: 2px; }
@media (min-width: 700px) {
  .sheet { left: 50%; right: auto; bottom: auto; top: 50%; transform: translate(-50%, -50%); width: 440px;
    border-radius: 22px; padding: 14px 22px 22px; }
  .sheet-grab { display: none; }
}
.sheet-grab { width: 40px; height: 5px; border-radius: 3px; background: var(--line-2); margin: 0 auto 10px; flex: none; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 10px;
  border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.sheet-head b { font-size: 16px; }
.sheet-x { min-width: 40px; min-height: 40px; border-radius: 20px; display: grid; place-items: center; color: var(--ink-dim); }
.sheet-opt { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 52px; text-align: left; font-size: 16px;
  border-radius: 12px; padding: 0 6px; }
.sheet-opt:hover { background: var(--panel-2); }
.sheet-opt .i { width: 20px; height: 20px; }
.sheet-label { margin: 10px 0 2px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--ink-faint); font-weight: 700; }
.sheet-lists { display: flex; flex-direction: column; }
.sheet-pl { display: flex; align-items: center; gap: 12px; min-height: 58px; cursor: pointer; border-radius: 12px; padding: 0 6px; }
.sheet-pl:hover { background: var(--panel-2); }
.sheet-art { width: 44px; height: 44px; border-radius: 9px; overflow: hidden; flex: none; background: var(--panel-2); }
.sheet-art > img { width: 100%; height: 100%; object-fit: cover; }
.sheet-art .cover-t { padding: 2px; }
.sheet-art .cv-name, .sheet-art .cv-kind { display: none; }
.sheet-art .pl-empty .i { width: 22px; height: 22px; }
.sheet-pl-t { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.tick { appearance: none; -webkit-appearance: none; width: 26px; height: 26px; border-radius: 13px; margin: 0; flex: none;
  box-shadow: inset 0 0 0 2px var(--line-2); display: grid; place-items: center; cursor: pointer; }
.tick:checked { background: var(--accent); box-shadow: none; }
.tick:checked::after { content: ""; width: 10px; height: 6px; border-left: 2.6px solid var(--on-accent);
  border-bottom: 2.6px solid var(--on-accent); transform: rotate(-45deg) translate(1px, -1px); }
.sheet-new { display: flex; gap: 8px; margin-top: 10px; }
.sheet-new .typed { margin: 0; flex: 1; }
.sheet-new .btn { flex: none; padding: 0 18px; min-height: 46px; }

/* You */
.tab-you .you-dot { width: 26px; height: 26px; border-radius: 13px; display: grid; place-items: center;
  background: #2F6F6B; color: #EAF4F2; font-size: 13px; font-weight: 700; }
.you-head { display: flex; align-items: center; gap: 16px; margin: 6px 0 18px; }
.you-head h1 { margin: 0; }
.you-big { width: 64px; height: 64px; border-radius: 32px; display: grid; place-items: center; background: #2F6F6B;
  color: #EAF4F2; font-family: var(--serif); font-size: 32px; flex: none; }
.you-links { display: flex; flex-direction: column; gap: 2px; }
.you-links a, .you-links button { display: flex; align-items: center; gap: 14px; min-height: 54px; padding: 0 12px;
  border-radius: 14px; color: var(--ink); font-size: 16px; width: 100%; text-align: left; }
.you-links a:hover, .you-links button:hover { background: var(--panel); }
.you-links .badge { position: static; margin-left: auto; min-width: 20px; height: 20px; border-radius: 10px;
  background: var(--bad); color: #fff; font-size: 11px; line-height: 20px; text-align: center; font-weight: 700; padding: 0 6px; }
.following .story { margin-bottom: 10px; }

/* ---- pictures (step 82) ---------------------------------------------------- */
.linkish { color: var(--ink-faint); text-decoration: underline; text-underline-offset: 3px; padding: 4px 0; }
.linkish:hover { color: var(--ink-dim); }
.pic-review { color: var(--warn, var(--ink-dim)); margin: 6px 0 0; }
.report-slot { display: inline-block; margin-top: 6px; }

/* ---- the live transcript (step 83) ----------------------------------------- */
.transcript.timed { position: relative; max-height: 55vh; overflow-y: auto;
  padding: 4px 4px 30vh; scroll-padding: 20px; overscroll-behavior: contain; }
.transcript.timed .tl { color: var(--ink-dim); transition: color .2s; }
.transcript.timed .tl.now { color: var(--ink); }
.transcript.timed .w { cursor: pointer; border-radius: 4px; transition: background-color .12s, color .12s; }
.transcript.timed .w:hover { text-decoration: underline; text-decoration-color: var(--line-2); }
.transcript.timed .w.now { background: var(--accent-dim); color: #fff; box-shadow: 0 0 0 2px var(--accent-dim); }
.follow-along { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 8px;
  justify-content: flex-end; padding: 6px 0; background: var(--bg); color: var(--ink-dim); }
@media (prefers-reduced-motion: reduce) {
  .transcript.timed .tl, .transcript.timed .w { transition: none; }
}

/* ---- searching your library (step 84) -------------------------------------- */
.lib-tabs { order: 2; }
.lib-search-btn { order: 1; margin-left: auto; width: 44px; height: 44px; border-radius: 22px; display: grid;
  place-items: center; background: var(--panel); color: var(--ink-dim); }
.lib-search-btn:hover, .lib-search-btn.on { color: var(--ink); background: var(--panel-2); }
.lib-search-btn .i { width: 20px; height: 20px; }
.lib-search { position: relative; margin: 0 0 18px; }
.lib-search input { width: 100%; height: 48px; padding: 0 16px 0 44px; border-radius: 24px; font-size: 16px; }
.lib-search-icon { position: absolute; left: 15px; top: 14px; color: var(--ink-faint); pointer-events: none; }
.lib-search-icon .i { width: 20px; height: 20px; }
.sr-list { margin-bottom: 18px; }
.sr-row { display: flex; align-items: center; gap: 12px; padding: 8px 6px; border-radius: 12px; color: var(--ink); }
.sr-row:hover { background: var(--panel); }
.sr-art { width: 48px; height: 48px; flex: none; border-radius: 10px; overflow: hidden; display: grid; }
.sr-art img, .sr-art .cover, .sr-art .mosaic { width: 48px; height: 48px; }
.sr-art .mosaic { display: grid; grid-template-columns: 1fr 1fr; }
.sr-art .mosaic .cover { width: 24px; height: 24px; }
.sr-text { display: flex; flex-direction: column; min-width: 0; }
.sr-title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
mark { background: var(--accent-dim); color: var(--ink); border-radius: 3px; padding: 0 1px; }
@media (min-width: 960px) { .lib-tabs { order: 1; } .lib-search-btn { order: 2; } }
.lib-search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }

/* ---- stars, listens, comments (step 85) ------------------------------------ */
svg.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.stars { display: inline-flex; align-items: center; gap: 2px; color: var(--accent); white-space: nowrap; }
.stars .star { width: 17px; height: 17px; stroke: var(--accent); stroke-width: 1.4; fill: none; }
.stars .star.full { fill: var(--accent); }
.stars .star.half { fill: url(#star-half); }
.stars .star.empty { stroke: var(--line-2); }
.stars b { color: var(--ink); font-weight: 700; margin-left: 6px; }
.stars .faint { margin-left: 3px; }
.stars.sm .star { width: 13px; height: 13px; }
.stars.sm b { margin-left: 4px; font-size: 13px; }
.stars.new { gap: 4px; color: var(--ink-dim); font-size: 13px; }
.stars.new .star { fill: none; stroke: var(--ink-faint); }
.stats { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--ink-dim); margin-top: 4px; }
.stat { display: inline-flex; align-items: center; gap: 4px; }
.stat .i { width: 14px; height: 14px; }
.tile-stats { display: block; }
.tile-stats .stats { gap: 2px 8px; font-size: 12px; }
.tile-stats .stars.sm .star { width: 11px; height: 11px; }
.ep-stats { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; margin: 8px 0 4px; font-size: 14px; }
.rating { margin: 10px 0; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
.rate-row { display: inline-flex; align-items: center; gap: 8px; }
.rate { display: inline-flex; gap: 2px; }
.rate button { padding: 4px; border-radius: 8px; color: var(--ink-faint); line-height: 0; }
.rate button .star { width: 26px; height: 26px; stroke: currentColor; stroke-width: 1.4; fill: none; transition: transform .1s; }
.rate button.on, .rate button.hov { color: var(--accent); }
.rate button.on .star, .rate button.hov .star { fill: var(--accent); }
.rate button:hover .star { transform: scale(1.12); }
.rate button:focus-visible { outline: 2px solid var(--accent); }
#demo-rate .rate button .star { width: 22px; height: 22px; }
@media (prefers-reduced-motion: reduce) { .rate button .star { transition: none; } }

/* ---- your profile (step 87) ------------------------------------------ */
.you-big.has-pic, .you-dot.has-pic { overflow: hidden; padding: 0; background: var(--panel-2); }
.you-big.has-pic img, .you-dot.has-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile form label.small { display: block; margin: 14px 0 0; }
.profile form .typed { width: 100%; margin-top: 4px; }
.profile textarea.typed { resize: vertical; }
.pf-pic { display: flex; align-items: center; gap: 16px; margin: 8px 0 4px; }
.pf-pic .btn { flex: none; padding: 0 16px; }
.pf-themes { border: 0; padding: 0; margin: 16px 0 0; }
.pf-themes legend { padding: 0; }
.pf-themes .chips { margin-top: 6px; }
.profile .call-acts { margin-top: 18px; }
.profile .call-acts .btn { padding: 0 18px; }
.creator-head { margin-top: 4px; }
.creator-head h1 { font-family: var(--serif); font-weight: 500; }
.creator-themes { margin: 4px 0 12px; gap: 6px; }
#creator-first { text-align: center; }
#creator-first .btn { display: inline-flex; align-items: center; padding: 0 18px; margin-top: 4px; }
.small-btn { font-size: 12px; min-height: 28px; padding: 0 10px; border-radius: 99px;
  box-shadow: inset 0 0 0 1px var(--line); display: inline-flex; align-items: center; }

/* ======================================================================
   The Create page (step 92, "Podcastme -- Create page" canvas): type
   cards, the chat, and a summary that is a sheet on a phone and a column
   beside the chat from 960 px.
   ====================================================================== */
.create { padding-bottom: calc(var(--tabbar) + 132px); }
.create h1 i { color: var(--accent); font-style: italic; }
.c-lede { margin: -6px 0 14px; font-size: 14px; }
.c-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 6px; }
.c-card-type { display: flex; gap: 10px; align-items: flex-start; text-align: left;
  min-height: 74px; padding: 11px 12px; border-radius: 16px; background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.c-card-type:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.c-ti { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  background: #2a1d14; color: var(--accent); }
.c-ti .i { width: 18px; height: 18px; }
.c-tt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.c-tt b { font-size: 14px; font-weight: 600; line-height: 1.2; }
.c-tt span { font-size: 12px; line-height: 1.3; color: var(--ink-faint); }
.c-types.strip .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 12px; padding: 0 16px;
  scrollbar-width: none; }
.c-types.strip .chips::-webkit-scrollbar { display: none; }
.c-types.strip .chip { flex: none; white-space: nowrap; }
.c-ideas { margin: 8px 0 0; }
.c-form { align-items: flex-end; background: var(--panel); border-radius: 22px; padding: 6px 6px 6px 14px;
  box-shadow: inset 0 0 0 1px var(--line-2); }
.c-form textarea.typed { background: transparent; border: 0; box-shadow: none; padding: 8px 0; }
.c-form textarea.typed:focus { outline: none; }
.c-icon { width: 40px; min-height: 40px; height: 40px; padding: 0 !important; border-radius: 50%;
  display: grid; place-items: center; box-shadow: none; background: transparent; color: var(--ink-dim); }
.c-icon.primary { background: var(--ink); color: var(--bg); }
.c-icon .i { width: 19px; height: 19px; }
.c-icon.on { background: var(--accent); color: var(--on-accent); }

.c-updated { margin: 10px 0 0; background: var(--panel); padding: 10px 12px; }
.c-updated ul { margin: 6px 0 0; padding-left: 18px; line-height: 1.6; font-size: 14px; }
.c-upd-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.c-upd-t { display: inline-flex; align-items: center; gap: 6px; color: var(--good); font-weight: 600; }
.c-upd-t .i { width: 15px; height: 15px; stroke-width: 2.4; }
.c-updated.undone { opacity: .75; }
.c-updated.undone .c-upd-t { color: var(--ink-dim); }

/* The summary */
.c-settings { background: transparent; box-shadow: none; padding: 0; }
.c-ident { display: grid; gap: 4px; margin-bottom: 10px; }
.c-cover { display: flex; gap: 14px; align-items: center; margin-bottom: 6px; }
.c-cover-acts { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.small-btn { min-height: 38px; padding: 0 14px; font-size: 14px; }
.c-count { display: block; text-align: right; margin-top: 2px; }
.c-ident textarea.typed { resize: vertical; }
.c-sec { border-top: 1px solid var(--line); }
.c-sec:last-child { border-bottom: 1px solid var(--line); }
.c-sec > summary { display: flex; align-items: center; gap: 12px; min-height: 52px; list-style: none;
  color: var(--ink); }
.c-sec > summary::-webkit-details-marker { display: none; }
.c-sec > summary::after { content: ""; flex: none; width: 8px; height: 8px; margin-right: 4px;
  border-right: 1.8px solid var(--ink-faint); border-bottom: 1.8px solid var(--ink-faint);
  transform: rotate(-45deg); transition: transform .15s; }
.c-sec[open] > summary::after { transform: rotate(45deg); }
.c-sec-t { flex: none; width: 104px; font-size: 13px; color: var(--ink-faint); }
.c-sec-v { flex: 1; min-width: 0; font-size: 14px; line-height: 1.3; overflow: hidden;
  text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.c-sec-b { padding: 0 0 14px; }
.c-sec-b .sound { margin-top: 0; padding-top: 0; border-top: 0; }

/* The bar at the bottom: summary, cost, Make it */
.c-foot { position: fixed; z-index: 8; left: 10px; right: 10px; bottom: calc(var(--tabbar) + 8px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 8px; align-items: center;
  padding: 8px; border-radius: 18px; background: var(--panel-2); box-shadow: 0 10px 30px rgba(0,0,0,.45),
  inset 0 0 0 1px var(--line); }
body:has(#dock:not([hidden])) .c-foot { bottom: calc(var(--tabbar) + 76px); }
.c-sum { display: grid; grid-template-columns: minmax(0, 1fr) auto; text-align: left; gap: 0 8px;
  min-height: 48px; padding: 4px 8px; border-radius: 12px; color: var(--ink); }
.c-sum .faint { grid-column: 1; }
.c-sum #c-sum { grid-column: 1; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-sum .i { grid-column: 2; grid-row: 1 / 3; align-self: center; width: 18px; height: 18px; color: var(--ink-faint); }
.c-foot-r { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.c-foot-r #c-est { font-size: 11px; white-space: nowrap; }
.c-foot #c-make { min-height: 48px; padding: 0 22px; border-radius: 14px; }
.c-foot .error { grid-column: 1 / -1; margin: 0; font-size: 13px; }
.c-foot .error:empty { display: none; }

/* "Adjust podcast settings" (step 117): every setting opens in place,
   under the chat box. The right-hand column (wide screens only) is a
   summary whose lines open their part here. */
.c-adjust { width: 100%; display: flex; align-items: center; gap: 12px; margin: 10px 0 4px; padding: 12px 14px;
  border-radius: 14px; background: var(--panel); color: var(--ink); text-align: left;
  box-shadow: inset 0 0 0 1px var(--line); min-height: 56px; }
.c-adjust > .i:first-child { color: var(--accent); flex: none; }
.c-adjust > .i:last-child { color: var(--ink-faint); flex: none; transition: transform .15s; }
.c-adjust[aria-expanded="true"] > .i:last-child { transform: rotate(180deg); }
.c-adjust-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.c-adjust-t .faint { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-inline { margin: 6px 0 10px; padding: 4px 14px 14px; border-radius: 16px; background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--accent-dim); scroll-margin-top: 76px; }
.c-inline .c-sec { scroll-margin-top: 76px; }
.c-sheet-bar { display: flex; align-items: center; justify-content: space-between; min-height: 52px;
  font-family: var(--serif); font-size: 22px; }
.c-sheet-bar b { font-weight: normal; }
.c-side { display: none; }
.c-explain { font-size: 14px; }
.c-explain ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.c-explain .c-price { margin: 8px 0 0; color: var(--ink-dim); }
.c-sum-head { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 10px; }
.c-sum-head b { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.15; }
.c-sum-head p { margin: 4px 0 0; }
.c-sum-row { width: 100%; display: flex; gap: 10px; align-items: baseline; padding: 11px 2px; text-align: left;
  border-top: 1px solid var(--line); background: transparent; color: var(--ink); min-height: 44px; }
.c-sum-row:hover .c-sec-v { color: var(--accent); }

/* 960-1279 px (a tablet held sideways, a small laptop): the sidebar takes
   264 px, which left the chat column too narrow for the type cards beside
   the settings column (step 111). Here the settings stay a sheet, as on a
   phone, and the bar sits at the bottom of the page area. */
@media (min-width: 960px) and (max-width: 1279px) {
  .c-foot { left: calc(264px + 24px); right: 24px; bottom: 16px; max-width: 760px; margin: 0 auto; }
  body:has(#dock:not([hidden])) .c-foot { bottom: 92px; }
  .create { padding-bottom: 150px; }
}
/* A phone on its side: under 500 px tall, the fixed top bar, the Create
   bar, the player and the tab bar left almost nothing to type in. The top
   bar scrolls away and the Create bar sits under the chat instead. */
@media (max-width: 959px) and (max-height: 500px) {
  .bar { position: static; }
  .c-foot { position: static; margin-top: 16px; }
  .create { padding-bottom: calc(var(--tabbar) + 90px); }
}

@media (min-width: 1280px) {
  main > section.create { max-width: 1180px; padding-left: 32px; padding-right: 32px; }
  .create { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 0 36px; align-items: start;
    padding-bottom: 40px; }
  .c-main { grid-column: 1; grid-row: 1 / span 2; }
  .c-side { grid-column: 2; grid-row: 1; }
  .c-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .c-side { display: block; position: sticky; top: 76px; max-height: calc(100vh - 210px); overflow-y: auto;
    padding: 0 4px 0 0; }
  .c-side-head { font-family: var(--serif); font-size: 26px; margin: 6px 0 12px; }
  .c-side-head b { font-weight: normal; }
  .c-foot { position: sticky; grid-column: 2; left: auto; right: auto; bottom: 16px; margin-top: 12px; }
  .c-sum .i { display: none; }
}
.c-sec-b .sound > .faint.small:first-child { display: none; }
.pill.fiction { color: var(--warn); }

/* ---- when an episode can't be finished (step 103) --------------------------- */
.failure { display: grid; gap: 8px; margin-top: 6px; }
.fail-reason { margin: 0; font-size: 16px; color: var(--ink); }
.fail-next { margin: 0; }
.fail-acts { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-top: 4px; }
.fail-detail summary { cursor: pointer; }
.fail-detail pre { white-space: pre-wrap; word-break: break-word; max-height: 220px; overflow: auto;
  background: var(--panel); border-radius: 10px; padding: 10px 12px; margin: 6px 0 0; }
.ep-failed .ep { border-left: 3px solid var(--bad); }
.ep-failed .fail-line { color: var(--ink-dim); margin-top: 4px; }
.ep-failed .row-acts { padding: 0 12px 12px 12px; }
.btn.small { min-height: 32px; padding: 0 12px; font-size: 13px; }
.ep-row.ep-failed { flex-wrap: wrap; }
.ep-row.ep-failed > .ep { flex: 1 1 100%; }
.ep-row.ep-failed .row-acts { flex: 1 1 100%; padding: 0 12px 12px 16px; }

/* Your document, two ways (step 105) */
.c-doc-ways .chip { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.c-num { width: 5em; display: inline-block; }
.owns-text { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0; }

/* ---- covers: chosen for you (step 109) ------------------------------------ */
#s-cover-choose { margin: 4px 0 10px; }
#s-cover-choose .chip { display: inline-flex; flex-direction: column; align-items: flex-start; text-align: left; }
.cv-choices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 6px; }
.cv-choice { padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden;
  background: none; cursor: pointer; aspect-ratio: 1; }
.cv-choice img { display: block; width: 100%; height: 100%; }
.cv-choice.on { border-color: var(--accent); }
.cv-draft { width: min(240px, 100%); aspect-ratio: 1; border-radius: 14px; overflow: hidden; margin: 6px 0; }
.cv-draft img { display: block; width: 100%; height: 100%; }

/* ======================================================================
   Step 111: signed in or not, the top bar on a laptop, invite codes,
   the admin page
   ====================================================================== */

/* The sidebar's You group is for someone signed in; a visitor gets
   "Sign in" instead. */
body.signed-out .side-you { display: none !important; }
.side-signin { display: none !important; }
body.signed-out .side-signin { display: flex !important; color: var(--accent); font-weight: 700; }

/* From 960 px the sidebar holds every place, the bell and signing out:
   the top bar had nothing left that the sidebar did not already show. */
@media (min-width: 960px) {
  .bar { display: none; }
  main { padding-top: 24px; }
}

/* Sign-in: the invite code. */
.login .code-slot { display: flex; flex-direction: column; gap: 6px; text-align: left; }
.login .code-slot input { text-transform: uppercase; letter-spacing: 2px; }
.login .code-toggle { margin-top: 10px; }

/* Settings: what you have left. */
.credit-box { display: flex; flex-direction: column; gap: 10px; }
.credit-num { font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--ink); }
.credit-bar { height: 8px; border-radius: 99px; background: var(--panel-2); overflow: hidden; }
.credit-bar > span { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.credit-low .credit-bar > span { background: var(--bad); }
.redeem-form { display: flex; gap: 8px; flex-wrap: wrap; }
.redeem-form input { flex: 1 1 160px; min-width: 0; text-transform: uppercase; letter-spacing: 2px; }

/* The admin page. */
.admin h2 { margin-top: 28px; }
.admin-make { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; }
.usd-in { display: flex; align-items: center; gap: 6px; }
.usd-in .usd-sign { font-size: 18px; font-weight: 600; color: var(--ink); }
.usd-in input { width: 90px; }
.invite-gift, .welcome-credit { padding: 10px 14px; border-radius: 12px; background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.admin-made { margin-top: 10px; padding: 12px 14px; border-radius: 14px; background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 8px; }
.admin-made code { font-size: 22px; letter-spacing: 3px; color: var(--ink); user-select: all; }
.admin-made .link { word-break: break-all; color: var(--ink-dim); user-select: all; }
.admin-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.admin-list li { padding: 12px 0; border-bottom: 1px solid var(--panel-2); display: flex;
  flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
.admin-list .who { flex: 1 1 220px; min-width: 0; overflow-wrap: anywhere; }
.admin-list .money { font-variant-numeric: tabular-nums; color: var(--ink-dim); }
.admin-list .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-deploy { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
@media (max-width: 520px) { .admin-make { grid-template-columns: 1fr; } }
/* The credit bar's width, in steps of 5 % (the CSP allows no style attribute). */
.credit-bar > .w-0 { width: 0%; } .credit-bar > .w-5 { width: 5%; } .credit-bar > .w-10 { width: 10%; } .credit-bar > .w-15 { width: 15%; } .credit-bar > .w-20 { width: 20%; } .credit-bar > .w-25 { width: 25%; } .credit-bar > .w-30 { width: 30%; } .credit-bar > .w-35 { width: 35%; } .credit-bar > .w-40 { width: 40%; } .credit-bar > .w-45 { width: 45%; } .credit-bar > .w-50 { width: 50%; } .credit-bar > .w-55 { width: 55%; } .credit-bar > .w-60 { width: 60%; } .credit-bar > .w-65 { width: 65%; } .credit-bar > .w-70 { width: 70%; } .credit-bar > .w-75 { width: 75%; } .credit-bar > .w-80 { width: 80%; } .credit-bar > .w-85 { width: 85%; } .credit-bar > .w-90 { width: 90%; } .credit-bar > .w-95 { width: 95%; } .credit-bar > .w-100 { width: 100%; }
.c-leave { position: sticky; top: 8px; z-index: 6; display: flex; flex-wrap: wrap; gap: 10px;
  align-items: center; justify-content: space-between; margin-bottom: 12px; }
@media (max-width: 959px) {
  body.typing .c-foot, body.typing .tabs, body.typing .dock { display: none !important; }
}
.side-admin { display: none !important; }
body.is-admin .side-admin { display: flex !important; }
.admin-list .acts .btn { white-space: nowrap; }

/* ---- an episode waiting for you (step 112) ------------------------------- */
.pill.needs { color: var(--accent); }
.ep-needs .ep { border-left: 3px solid var(--accent); }
.needs { display: grid; gap: 8px; padding: 4px 12px 12px; }
.building-card .needs { padding: 6px 0 0; }
.needs-reason { margin: 0; font-size: 15px; color: var(--ink); }
.needs-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.needs-head { color: var(--accent); font-weight: 600; }
.c-editing { margin-bottom: 14px; }
.needs-acts .btn { flex: none; white-space: nowrap; min-height: 40px; height: 40px; padding: 0 16px; }
.needs-acts a.btn { color: var(--ink); display: inline-flex; align-items: center; }

/* What we'll look for (step 113): each news topic's searches, and the test. */
.c-look { display: grid; gap: 10px; }
.c-plan { display: grid; gap: 6px; padding: 10px 12px; border-radius: 12px; background: var(--panel-2); }
.c-plan .c-tags { min-height: 0; }
.c-found { margin: 0; color: var(--ink-dim, inherit); }
.c-found.thin { color: var(--warn, #e0a85a); }
.msg.c-tested .c-test-h { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-faint); }
.msg.c-tested .c-test-h svg { width: 14px; height: 14px; }
.c-test { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 6px; }
.c-test > li.thin { color: var(--warn, #e0a85a); }
.c-test ul { margin: 4px 0 0; padding-left: 16px; font-size: 13px; }
/* ---- downloads: listening offline (step 114) ------------------------------- */
.btn.dl { display: inline-flex; align-items: center; gap: 6px; }
.btn.dl .i, .btn.dl svg { width: 16px; height: 16px; }
.btn.dl.on { color: var(--accent); border-color: var(--accent-dim); }
#dl-slot { display: inline-flex; align-items: center; gap: 10px; margin-left: 8px; }
.dl-list { display: grid; gap: 6px; margin-top: 10px; }
.dl-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px;
  background: var(--panel); }
.dl-main { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; color: inherit; }
.dl-main .ep-text { display: flex; flex-direction: column; min-width: 0; }
.dl-main .ep-text b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.offline-note { padding: 10px 12px; border-radius: 10px; background: var(--accent-dim); }
.ring.off { opacity: .45; cursor: not-allowed; }
.ring-row:has(.ring-off:not([hidden])) { flex-wrap: wrap; }
.ring-off { margin: 6px 0 0; flex-basis: 100%; }

/* ---- Tracking (step 115) ---------------------------------------------- */
.tracking { padding: 20px 16px 48px; position: relative; overflow-x: clip; }
.tr-head { position: relative; padding: 6px 0 4px; }
.tr-radar { position: absolute; right: -40px; top: -30px; width: 210px; height: 210px; fill: none;
  stroke: var(--accent); stroke-width: .35; opacity: .45; pointer-events: none; }
.tr-radar circle:last-child { fill: var(--accent); stroke: none; }
.tr-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 4px; color: var(--accent);
  font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.tr-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(232,131,63,.22); }
.tracking h1 { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent);
  font-size: 46px; line-height: 1; margin: 0 0 8px; position: relative; }
.tr-sub { color: var(--ink-dim); margin: 0 0 18px; font-size: 16px; position: relative; max-width: 30em; }
.tr-find { position: relative; padding: 14px; border-radius: 18px; background: var(--panel);
  box-shadow: inset 0 0 0 1.5px var(--accent), 0 10px 40px rgba(232,131,63,.10); margin: 0 0 26px; }
.tr-find textarea { width: 100%; border: 0; background: transparent; resize: none; font-size: 17px;
  line-height: 1.45; padding: 4px; min-height: 30px; box-shadow: none; overflow: hidden; }
.tr-find textarea:focus { outline: none; }
.tr-find-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.tr-find-foot .btn { display: inline-flex; align-items: center; gap: 6px; flex: none; }
.tr-answer { margin-top: 12px; padding: 14px; border-radius: 12px; background: var(--panel-2); }
.tr-answer > p { margin: 0 0 10px; line-height: 1.5; }
.tr-heads { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.tr-heads li { position: relative; padding-left: 16px; }
.tr-heads li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 6px; height: 6px;
  border-radius: 50%; background: var(--good); }
.tr-heads a { color: var(--ink); }
.tr-follow-row { margin: 4px 0 8px; align-items: center; }
.tr-follow-row .btn, .tr-acts .btn { display: inline-flex; align-items: center; gap: 6px; }
.tr-broad { color: var(--warn); }
.tr-h { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 8px 0 12px; }
.tr-h .faint { font-family: var(--sans, inherit); font-size: 13px; margin-left: 6px; }
/* The sections of today's big stories (step 125): one scrolling row. */
.tr-secs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 4px 0 12px;
  padding-bottom: 2px; }
.tr-secs::-webkit-scrollbar { display: none; }
.tr-secs .chip { flex: none; }
/* Trending stories (step 130): a grid, two across on a phone, three on a
   tablet, four on a laptop -- all of them in view, not a row to swipe. */
.tr-big { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
  padding: 2px 0 10px; margin: 0 0 22px; }
.tr-card { display: flex; flex-direction: column; gap: 6px; padding: 12px; min-width: 0;
  border-radius: 12px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.tr-card.on { box-shadow: inset 0 0 0 1.5px var(--accent); }
.tr-sec { font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink-faint); font-weight: 700; }
.tr-card-t { font-family: var(--serif); font-size: 16px; line-height: 1.22; color: var(--ink); flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tr-card-f { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tr-tick { width: 28px; height: 28px; min-height: 0; border-radius: 8px; background: transparent; flex: none;
  box-shadow: inset 0 0 0 1.5px var(--line-2); display: inline-grid; place-items: center; color: var(--on-accent); }
.tr-tick[aria-pressed="true"] { background: var(--accent); box-shadow: none; }
.tr-tick .i { width: 15px; height: 15px; stroke-width: 2.6; }
.tr-panels { display: grid; gap: 12px; }
.tr-list { display: grid; gap: 10px; align-content: start; }
.tr-item { border-radius: 14px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.tr-item.on { box-shadow: inset 0 0 0 1.5px var(--accent-dim); }
.tr-row { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; text-align: left;
  background: transparent; color: var(--ink); min-height: 64px; }
.tr-row.fresh { box-shadow: inset 3px 0 0 var(--accent); }
.tr-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--panel-2); display: grid;
  place-items: center; color: var(--ink-faint); flex: none; }
.tr-row.fresh .tr-ico { background: var(--accent-dim); color: var(--accent); }
.tr-row-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tr-row-t b { font-weight: 600; overflow-wrap: anywhere; }
.tr-row .badge { margin: 0; }
.tr-chev { color: var(--ink-faint); flex: none; transition: transform .15s; }
.tr-item.on .tr-chev { transform: rotate(90deg); }
.tr-body { padding: 0 14px 16px; }
.tr-detail:empty { display: none; }
.tr-story h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; margin: 0 0 6px; }
.tr-kick, .tr-label { font-size: 11px; letter-spacing: 1.3px; text-transform: uppercase; font-weight: 700; margin: 12px 0 6px; }
.tr-kick { color: var(--accent); }
.tr-label { color: var(--accent); margin-top: 14px; }
.tr-added, .tr-in { display: flex; align-items: center; gap: 6px; color: var(--good); font-size: 13px; margin: 2px 0; }
.tr-added .i, .tr-in .i { width: 15px; height: 15px; stroke-width: 2.4; flex: none; }
.tr-in a { color: var(--good); }
.tr-about { margin: 0 0 14px; line-height: 1.55; }
.tr-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.tr-pop { padding: 14px; border-radius: 14px; background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line-2), 0 18px 50px rgba(0,0,0,.45);
  margin: 0 0 14px; }
.tr-pop > p { margin: 2px 0 8px; }
.tr-targets { list-style: none; padding: 0; margin: 8px 0; }
.tr-targets li { border-bottom: 1px solid var(--line); }
.tr-targets label { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.tr-targets label span:nth-child(2) { flex: 1; }
.tr-targets input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; }
.tr-targets .made { opacity: .5; }
.tr-pop-acts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.tr-timeline { list-style: none; margin: 4px 0 16px; padding: 0 0 0 18px; border-left: 2px solid var(--line); }
.tr-timeline > li { position: relative; padding: 0 0 16px 4px; line-height: 1.45; }
.tr-timeline > li::before { content: ""; position: absolute; left: -24px; top: 4px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--line-2); }
.tr-timeline > li.new::before { background: var(--accent); }
.tr-new { color: var(--accent); text-transform: uppercase; font-size: 11px; letter-spacing: 1px; }
.tr-every { border-top: 1px solid var(--line); padding-top: 12px; }
.tr-every .c-group .faint { margin-bottom: 6px; }
@media (min-width: 640px) {
  .tr-big { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  main > .tracking.wide { max-width: 1240px; padding-left: 32px; padding-right: 32px; }
  .tracking h1 { font-size: 72px; }
  .tr-radar { width: 320px; height: 320px; right: 20px; top: -40px; }
  .tr-find { max-width: 860px; }
  .tr-big { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .tr-card { padding: 14px; gap: 8px; min-height: 140px; }
  .tr-card-t { font-size: 19px; }
  .tr-panels { grid-template-columns: minmax(280px, 360px) 1fr; align-items: start; gap: 20px; }
  .tr-detail { border-radius: 18px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); padding: 8px 26px 22px;
    position: sticky; top: 76px; }
  .tr-story h2 { font-size: 40px; }
  .tr-item .tr-body { display: none; }
}
.tr-h, .tr-story h2 { text-transform: none; letter-spacing: normal; color: var(--ink); }
.tr-h .faint { text-transform: none; letter-spacing: normal; }
.tr-radar { opacity: .28; }
@media (max-width: 959px) {
  .tr-acts { display: grid; grid-template-columns: 1fr; }
  .tr-acts .btn { justify-content: center; min-height: 46px; }
  .tr-radar { width: 170px; height: 170px; right: -36px; top: -14px; }
}
.tr-acts .btn, .tr-follow-row .btn { white-space: nowrap; }
.tr-acts .btn .i, .tr-follow-row .btn .i, .tr-find-foot .btn .i { width: 16px; height: 16px; flex: none; }
@media (max-width: 959px) { .tr-radar { right: 0; width: 140px; height: 140px; top: -6px; } }
/* ---- "Add to Home Screen" (step 116) --------------------------------------- */
.a2hs { position: fixed; left: 10px; right: 10px; z-index: 20; max-width: 520px; margin: 0 auto;
  bottom: calc(var(--tabbar) + 76px); padding: 14px 14px 10px; border-radius: 16px;
  background: var(--panel-2); border: 1px solid #2a2f38; box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.a2hs-head { display: flex; gap: 12px; align-items: center; padding-right: 30px; }
.a2hs-head img { border-radius: 10px; flex: none; }
.a2hs-head div { display: flex; flex-direction: column; gap: 2px; }
.a2hs-x { position: absolute; top: 6px; right: 6px; }
.a2hs-steps { margin: 10px 0 4px; padding-left: 20px; font-size: 14px; line-height: 1.5; }
.a2hs-icon { display: inline-flex; vertical-align: -3px; color: var(--accent); }
.a2hs-icon svg { width: 18px; height: 18px; }
.a2hs .call-acts { margin-top: 10px; }
.a2hs-acts { display: flex; gap: 16px; justify-content: flex-end; margin-top: 6px; }
/* ---- sharing (step 118) ------------------------------------------------------ */
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.share-top { color: var(--ink); flex: none; }
.share-top:hover { background: var(--panel-2); }
.share-top .i { width: 20px; height: 20px; }
.share-sheet { gap: 14px; }
.share-h { font-family: var(--serif); font-weight: 400; font-size: 28px; }
.share-preview { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 16px;
  background: var(--bg); border: 1px solid var(--line); }
.share-preview .cover { width: 64px; height: 64px; flex: none; }
.share-preview-text { min-width: 0; }
.share-title { font-family: var(--serif); font-size: 18px; line-height: 1.15; }
.share-open { color: var(--good); margin-top: 2px; }
.share-at { padding: 4px 2px; }
.share-at input { width: 22px; height: 22px; accent-color: var(--accent); }
.share-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 8px; }
.share-target { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px;
  color: var(--ink-dim); min-height: 0; text-align: center; }
.share-ico { width: 54px; height: 54px; border-radius: 27px; background: var(--panel-2); color: var(--ink);
  display: grid; place-items: center; font-size: 14px; }
.share-ico.hot { background: var(--accent); color: var(--on-accent); }
.share-ico .i { width: 22px; height: 22px; }
.share-target:hover .share-ico { box-shadow: 0 0 0 2px var(--line-2); }
.share-note { margin: 0; }
.publish-first p { margin: 0 0 12px; }
.publish-first .typed { width: 100%; margin-bottom: 10px; }

/* The shared page, for a guest: the episode, the rest greyed out, and a card. */
.guest-shared .dock, .guest-shared .tabs { opacity: .3; pointer-events: none; }
.guest-shared .dock { display: none; }
.guest-shared .bar .signin { background: var(--accent); color: var(--on-accent); border-radius: 18px;
  padding: 0 14px; min-height: 36px; display: inline-flex; align-items: center; font-weight: 700; }
.shared-view .fold, .shared-view .byline, .shared-view .rating, .shared-view .addq-row,
.shared-view .labels, .shared-view .seal { opacity: .38; pointer-events: none; }
.shared-view { padding-bottom: 210px; }
.shared-with { color: var(--ink-dim); }
.guest-card { position: fixed; left: 10px; right: 10px; bottom: calc(var(--tabbar) + 10px); z-index: 8;
  max-width: 560px; margin: 0 auto; padding: 14px 14px 12px; border-radius: 20px; background: var(--panel-2);
  border: 1px solid var(--accent); box-shadow: 0 -10px 40px rgba(0,0,0,.55); display: flex; flex-direction: column; gap: 10px; }
.guest-card-top { display: flex; gap: 12px; align-items: flex-start; }
.guest-card-top img { border-radius: 11px; flex: none; }
.guest-card-top b { font-size: 15px; }
.guest-acts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.guest-acts .btn { min-height: 40px; border-radius: 20px; font-size: 13px; font-weight: 600; padding: 0 6px;
  display: grid; place-items: center; color: var(--ink); text-align: center; }
.guest-acts .btn.primary { color: var(--on-accent); font-weight: 700; }
@media (min-width: 960px) {
  .guest-card { left: calc(264px + 24px); right: 24px; bottom: 18px; }
}
.guest-end { position: fixed; left: 0; right: 0; bottom: 0; top: 18vh; z-index: 46; overflow-y: auto;
  border-radius: 26px 26px 0 0; background: var(--panel); padding: 22px 20px calc(28px + var(--safe-b));
  display: flex; flex-direction: column; gap: 16px; box-shadow: 0 -10px 50px rgba(0,0,0,.6); }
@media (min-width: 700px) {
  .guest-end { left: 50%; right: auto; top: 50%; bottom: auto; transform: translate(-50%, -50%);
    width: 440px; max-height: 92vh; border-radius: 24px; }
}
.guest-done { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--good); }
.guest-done .i { width: 18px; height: 18px; stroke-width: 2.2; flex: none; }
.guest-end h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.02; }
.guest-end p { margin: 0; line-height: 1.45; }
.guest-big { min-height: 52px; border-radius: 26px; font-weight: 700; font-size: 16px; }
.guest-next { display: flex; flex-direction: column; gap: 8px; }
.guest-next-ep { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 14px;
  background: var(--bg); text-align: left; width: 100%; }
.guest-next-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.guest-next-text .title { font-family: var(--serif); font-size: 17px; line-height: 1.15; }
.guest-next-ep .lock .i { width: 16px; height: 16px; color: var(--ink-faint); }
.guest-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.guest-two .btn { min-height: 46px; border-radius: 23px; display: grid; place-items: center; color: var(--ink); font-weight: 600; }
.guest-again { align-self: center; }

/* "Listen on" -- once a show is on the podcast apps. */
.listen-on { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0; }
.app-badge { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border-radius: 17px;
  border: 1px solid var(--line-2); color: var(--ink); font-size: 13px; font-weight: 600; }
.app-badge:hover { border-color: var(--ink-faint); }

/* Publish to podcast apps. */
.pod-apps { padding: 16px; max-width: 640px; display: flex; flex-direction: column; gap: 14px; }
.pod-apps h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.05; }
.pod-apps > p { margin: 0; }
.pa-head { display: flex; gap: 14px; align-items: center; }
.pa-step { margin: 8px 0 0; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; font-weight: 700;
  color: var(--ink-faint); }
.pa-list { border-radius: 16px; background: var(--panel); padding: 4px 14px; }
.pa-item { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.pa-item:last-child { border-bottom: 0; }
.pa-text { flex: 1; display: flex; flex-direction: column; font-size: 14px; }
.pa-ok { color: var(--good); } .pa-todo { color: var(--warn); }
.pa-ok .i, .pa-todo .i { width: 20px; height: 20px; }
.pa-ok .i { stroke-width: 2.2; }
.pa-contact { align-items: flex-start; }
.pa-fields { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.pa-fields .typed { flex: 1 1 160px; margin: 0; min-height: 40px; }
.pa-feed { display: flex; gap: 8px; align-items: center; padding: 6px 6px 6px 14px; border-radius: 14px;
  background: var(--panel); border: 1px solid var(--line); }
.pa-url { flex: 1; min-width: 0; font-size: 13px; color: var(--ink-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pa-app { border-radius: 16px; background: var(--panel); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.pa-app-head { display: flex; align-items: center; gap: 10px; }
.pa-app-head b { flex: 1; }
.app-logo { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; font-weight: 700; color: #fff; }
.app-logo.app-apple { background: #8e44ad; }
.app-logo.app-spotify { background: #1db954; color: var(--bg); border-radius: 18px; }
.app-logo.app-youtube { background: #e5534b; }
.app-logo .i { width: 16px; height: 16px; }
.pa-status { font-size: 12px; padding: 4px 8px; border-radius: 10px; }
.pa-status.live { color: var(--good); background: rgba(111,191,142,.12); }
.pa-status.not { color: var(--warn); background: rgba(212,168,74,.12); }
.pa-app ol { margin: 0; padding-left: 18px; line-height: 1.5; }
.pa-open { align-self: flex-start; display: inline-flex; align-items: center; color: var(--ink); }
.pa-link { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
.pa-link label { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; }
.pa-link .typed { margin: 0; min-height: 42px; }
.pod-apps-link { display: inline-flex; align-items: center; }
.pa-item .btn, .pa-feed .btn, .pa-link .btn, .pa-fields .btn { flex: none; padding: 0 14px; min-height: 38px; }
.sheet-head .share-h { font-family: var(--serif); font-weight: 400; font-size: 28px; }
.guest-end .btn { flex: none; }
.pa-text { display: block; }
.pa-text > .small { display: block; }
.pa-text > .faint:not(.small) { display: inline; }
/* ---- remove a notification; your comments (step 119) ------------------------ */
.notes li.note { position: relative; transition: opacity .2s ease, transform .2s ease; }
.notes li.note > a { padding-bottom: 30px; }
.notes li.note.going { opacity: 0; transform: translateX(24px); }
.note-remove { position: absolute; right: 0; bottom: 4px; min-height: 32px; padding: 0 6px;
  font-size: 13px; color: var(--ink-faint); }
.note-remove:hover, .note-remove:active, .note-remove:focus-visible { color: var(--bad); }
.toast-undo { min-height: 0; padding: 0 2px; font-weight: 700; color: var(--accent); text-decoration: underline;
  text-underline-offset: 3px; }
.c-first { margin-left: 8px; font-weight: 400; }
.comment .c-act { display: block; margin-top: 2px; }

/* ---- Make it: Making… (step 120) ------------------------------------------ */
#c-make.busy { opacity: 1; display: inline-flex; align-items: center; gap: 8px; }
#c-make .spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor;
  border-right-color: transparent; animation: c-spin .8s linear infinite; }
@keyframes c-spin { to { transform: rotate(360deg); } }
.c-about { margin: 6px 0 10px; }

/* ---- your documents (step 121) ----------------------------------------- */
.doc-row { align-items: flex-start; border-bottom: 1px solid var(--line); padding: 12px 0; }
.doc-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.doc-main b { overflow-wrap: anywhere; }
.doc-main a { color: var(--accent); }
.doc-expiry { color: var(--warn); }
.doc-slot { display: flex; gap: 6px; align-items: center; flex: none; }
.made-from { display: flex; gap: 8px; align-items: flex-start; color: var(--ink-dim); }
.made-from .i { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.made-from a { color: var(--accent); }
.msg.c-doc-notice .chips { margin-top: 10px; }
@media (max-width: 520px) { .doc-row { flex-direction: column; } }
/* ---- Library rows: Following and Downloads (step 133) ----------------------- */
/* minmax(0, 1fr) and min-width: 0, or a long name stretches the row past a
   phone's edge (step 136: it did, on the live app, at 511 px of 375). */
.lib-rows { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin: 8px 0 18px; }
.lib-row { min-width: 0; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px;
  background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.lib-main { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; color: inherit; }
.lib-main .cover { flex: none; }
.lib-text { display: flex; flex-direction: column; min-width: 0; }
.lib-text b, .lib-text .small { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; overflow-wrap: anywhere; }
.lib-text b { font-weight: 600; line-height: 1.25; }
.lib-text .small { line-height: 1.35; margin-top: 2px; }
.lib-row .dl-remove { flex: none; }
/* Four Library tabs inside a phone's width (step 133: they ran off the
   side once Downloads joined, and the page scrolled sideways). */
@media (max-width: 559px) {
  .lib-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
  .lib-tabs a { padding: 0 4px; justify-content: center; font-size: 13px; white-space: nowrap; gap: 4px; }
  .lib-tabs .badge { min-width: 16px; height: 16px; font-size: 10px; padding: 0 4px; }
}
/* ---- unpublishing (step 134) -------------------------------------------------- */
.own-pub { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 10px 0; }
.own-pub .btn, .own-show-acts .btn { flex: none; padding: 0 16px; min-height: 40px; }
.own-show-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.gone-player { opacity: .35; pointer-events: none; margin-top: 14px; }
.gone-player .controls { display: flex; justify-content: center; align-items: center; gap: 28px; }
.gone-player .big { width: 64px; height: 64px; border-radius: 32px; background: var(--ink-faint);
  display: grid; place-items: center; color: var(--bg); }
.gone-player .skip .i, .gone-player .big .i { width: 24px; height: 24px; }
.gone-note { margin: 14px 0 6px; line-height: 1.5; color: var(--ink-dim); }
.gone-note b { color: var(--ink); display: block; }
.gone-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.gone-acts .btn { flex: none; padding: 0 18px; min-height: 44px; display: inline-flex; align-items: center; }

/* Step 139: edit a show; your unpublished shows on your own page. */
#c-edit-show label { display: block; margin: 8px 0 4px; }
#c-edit-show select { max-width: 100%; }
.edit-remake-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 12px 0; }
.show-card.not-pub { opacity: .85; border-style: dashed; }
.not-pub-tag { background: var(--chip, rgba(127,127,127,.15)); }

/* Step 141: Mature and Explicit. */
.pill.rating.mature { background: #6b4a1a; color: #fff; }
.pill.rating.explicit { background: #8a1c1c; color: #fff; }
.explicit-gate { max-width: 520px; margin: 32px auto; text-align: center; }

/* Step 144: a show's episodes on its card in My shows. */
.show-eps { list-style: none; margin: 10px 0 4px; padding: 0; border-top: 1px solid var(--line, rgba(127,127,127,.2)); }
.show-eps li a { display: grid; grid-template-columns: auto 1fr auto; gap: 2px 10px; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--line, rgba(127,127,127,.2)); color: inherit; text-decoration: none; }
.show-eps .se-num { grid-row: span 2; color: var(--dim, #999); font-variant-numeric: tabular-nums; min-width: 2.2em; }
.show-eps .se-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.show-eps .se-meta { grid-column: 2; }
.show-eps .se-tag { grid-column: 3; grid-row: 1 / span 2; padding: 2px 8px; border-radius: 999px;
  background: var(--chip, rgba(127,127,127,.15)); white-space: nowrap; }
.show-eps .se-tag.pub { color: var(--ok, #3fb37f); }
.show-all-eps { margin: 4px 0 8px; }
