/* Public transcript pages (src/transcripts.ts), on top of style.css. */

.tr-account { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.tr-account a { text-decoration: none; }

.tr { max-width: 760px; margin: 0 auto; padding: 20px var(--gutter) 0; }
.tr h1 { font-size: clamp(24px, 4vw, 32px); line-height: 1.2; margin: 6px 0 8px; }
.tr h2 { font-size: 18px; margin: 28px 0 8px; }
.tr a { color: var(--accent); }
.tr a.btn { color: var(--bg); text-decoration: none; display: inline-block; }
.tr a.btn.quiet { color: var(--text); }

.tr-crumbs { font-size: 13px; color: var(--muted); }
.tr-crumbs a { color: var(--muted); }
.tr-meta { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.tr-lede { font-size: 16px; line-height: 1.55; margin: 0 0 16px; }
.tr-archive { margin: 0 0 16px; }
.tr-names { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 0 0 16px; }
.tr-names b { color: var(--text); font-weight: 600; }

.tr-episodes ul { list-style: none; padding: 0; margin: 0; columns: 2 220px; font-size: 15px; }
.tr-episodes li { padding: 3px 0; break-inside: avoid; }

.tr-text { font-size: 17px; line-height: 1.65; }
.tr-text p { margin: 0 0 14px; }
.tr-text time { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-right: 4px; }
.tr-text a:has(time) { text-decoration: none; }

.tr-wall, .tr-cta {
  margin: 8px 0 24px; padding: 18px 20px; border-radius: 12px;
  background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
}
.tr-wall { position: relative; }
/* The lead fades into the paywall. */
.tr-lead:has(+ .tr-wall) { -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.tr-wall h2, .tr-cta h2 { margin-top: 0; }
.tr-wall p, .tr-cta p { margin: 0 0 10px; line-height: 1.5; }
.tr-wall p:last-child, .tr-cta p:last-child { margin-bottom: 0; }
.tr-wall .btn, .tr-cta .btn { margin-right: 10px; }

.tr-around { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin: 24px 0 8px; font-size: 14px; }
.tr-credit { margin-top: 24px; line-height: 1.5; }

.tr-list { list-style: none; padding: 0; margin: 0; }
.tr-list li { padding: 8px 0; border-bottom: 1px solid var(--line); line-height: 1.4; }
.tr-list a { font-weight: 600; text-decoration: none; }
.tr-list a:hover { text-decoration: underline; }
.tr-list time { display: inline-block; min-width: 4.5em; color: var(--muted); font-weight: 400; font-variant-numeric: tabular-nums; }
.tr-list .muted { display: block; margin-left: 4.5em; font-size: 13px; }
.tr-days { list-style: none; padding: 0; margin: 0; columns: 2 220px; font-size: 15px; }
.tr-days li { padding: 3px 0; }

/* Aired without captions: transcribed automatically (src/transcripts.ts paragraphHtml). */
.tr-auto { font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); border: 1px solid currentColor; border-radius: 3px; padding: 0 4px; margin-right: 2px; position: relative; cursor: help; font-style: normal; }
.tr-auto[data-tip]:hover::after, .tr-auto[data-tip]:focus::after {
  content: attr(data-tip); position: absolute; left: 0; top: calc(100% + 6px); z-index: 30;
  width: max-content; max-width: min(20rem, calc(100vw - 32px)); padding: 8px 10px; border-radius: 8px;
  background: var(--text, #222); color: var(--bg, #fff); font: 400 13px/1.4 system-ui, sans-serif; letter-spacing: normal; text-transform: none;
  box-shadow: 0 4px 14px rgb(0 0 0 / 0.18); pointer-events: none;
}
.tr-auto:focus { outline: none; }
.tr-auto-p { font-style: italic; }
