/* Transcript pages (/transcripts/<show>/<n>/). Base tokens, player and footer come from styles.css. */
.tx-body { background: var(--black); }
.tx-header {
  width: min(820px, 100%);
  margin: 0 auto;
  padding: 20px clamp(16px, 4vw, 32px) 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.tx-logo img { display: block; width: 48px; height: 48px; object-fit: contain; }
.tx-back {
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--white-a20);
  background: var(--white-a06);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tx-back:hover { background: var(--white-a12); }
.tx-main {
  width: min(820px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 5vh, 48px) clamp(16px, 4vw, 32px) 56px;
  box-sizing: border-box;
  direction: rtl;
  text-align: right;
}
.tx-show { margin: 0 0 8px; color: var(--muted); font-size: 14px; font-weight: 600; }
.tx-show a { color: inherit; text-decoration: none; }
.tx-show a:hover { color: var(--sign-in-text); text-decoration: underline; text-underline-offset: 3px; }
.tx-title {
  margin: 0;
  font-size: clamp(26px, 4.4vw, 40px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.tx-note {
  margin: 20px 0 0;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid var(--rss-a45);
  background: var(--rss-a08);
  color: var(--c-e9e9e9);
  font-size: 15px;
  line-height: 1.6;
}
.tx-note i { color: var(--rss); margin-left: 4px; }
.tx-player-wrap {
  position: sticky;
  top: 0;
  z-index: 5;
  margin: 20px calc(-1 * clamp(16px, 4vw, 32px)) 0;
  padding: 12px clamp(16px, 4vw, 32px);
  background: var(--black-a88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--white-a08);
}
.tx-player-wrap .player { margin-top: 0; }
.tx-text { margin-top: 20px; }
.tx-p {
  max-width: 68ch;
  margin: 0 0 20px;
  font-size: 17px;
  line-height: 1.85;
  color: var(--c-e4e4e4);
  padding: 4px 12px;
  margin-inline: -12px;
  border-radius: 12px;
  transition: background 0.2s ease;
}
.tx-p.is-current { background: var(--white-a06); color: var(--white); }
.tx-ts {
  display: inline-block;
  unicode-bidi: isolate;
  font-family: var(--font-latin);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 600;
  color: var(--amber);
  text-decoration: none;
  margin-left: 8px;
  padding: 1px 4px;
  border-radius: 6px;
  position: relative;
}
.tx-ts::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: max(100%, 44px);
  height: max(100%, 44px);
  transform: translate(-50%, -50%);
}
.tx-ts:hover, .tx-ts:focus-visible { background: var(--amber-a15); text-decoration: underline; }
.tx-meta { margin-top: 32px; color: var(--muted); font-size: 15px; }
@media (max-width: 480px) {
  .tx-p { font-size: 16px; line-height: 1.8; }
  .tx-back { padding: 8px 12px; font-size: 13px; }
}
