.latest-copy h2 a, .episode-row h3 a { color: inherit; text-decoration: none; }
.latest-copy h2 a { display: block; }
.latest-copy h2 a:hover, .episode-row h3 a:hover { color: var(--accent); }
.episode-detail-link { display: inline-block; margin-top: 14px; color: var(--accent); font-size: .82rem; font-weight: 800; text-decoration: none; text-transform: uppercase; letter-spacing: .06em; }
.episode-detail-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.episode-page { min-height: 80vh; }
.episode-hero { padding: 70px 0 110px; }
.episode-back { display: inline-block; margin-bottom: 42px; color: var(--muted); font-size: .82rem; font-weight: 800; text-decoration: none; text-transform: uppercase; letter-spacing: .06em; }
.episode-back:hover { color: var(--accent); }
.episode-layout { display: grid; grid-template-columns: minmax(280px, 460px) minmax(0, 1fr); align-items: center; gap: clamp(55px, 9vw, 125px); }
.episode-art { position: relative; }
.episode-art img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line); box-shadow: var(--shadow); }
.episode-intro h1 { margin: 0; font-family: "Nodesignal Display", "Arial Narrow", sans-serif; font-size: clamp(3.4rem, 5vw, 4.75rem); font-weight: 800; letter-spacing: normal; line-height: .94; text-transform: uppercase; hyphens: none; word-break: normal; overflow-wrap: normal; }
.episode-meta { display: flex; gap: 12px 24px; flex-wrap: wrap; margin: 25px 0 8px; color: var(--muted); font-size: .85rem; font-weight: 700; }
.episode-intro audio { width: 100%; margin-top: 20px; accent-color: var(--accent); }
.episode-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.episode-notes { background: var(--surface); }
.episode-notes-grid { display: grid; grid-template-columns: .55fr 1.45fr; gap: clamp(50px, 10vw, 145px); align-items: start; }
.episode-notes h2 { margin: 0; font-family: "Nodesignal Display", "Arial Narrow", sans-serif; font-size: clamp(3rem, 6vw, 5.5rem); letter-spacing: normal; line-height: .94; text-transform: uppercase; }
.episode-copy { min-width: 0; color: var(--muted); font-size: 1.02rem; line-height: 1.75; overflow-wrap: anywhere; }
.episode-copy > :first-child { margin-top: 0; }
.episode-copy h2, .episode-copy h3 { margin: 2em 0 .5em; color: var(--ink); font-family: inherit; font-size: 1.3rem; letter-spacing: 0; line-height: 1.3; text-transform: none; }
.episode-copy a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.episode-copy strong { color: var(--ink); }
.episode-copy blockquote { margin: 1.5em 0; padding: 0 0 0 20px; border-left: 3px solid var(--accent); }

.episode-boost-dialog { width: min(620px, calc(100% - 30px)); max-height: calc(100dvh - 30px); padding: 0; border: 0; background: transparent; color: var(--ink); overflow: visible; }
.episode-boost-dialog::backdrop { background: rgba(5, 6, 6, .72); backdrop-filter: blur(5px); }
.boost-dialog-card { position: relative; max-height: calc(100dvh - 30px); overflow-y: auto; padding: clamp(24px, 5vw, 42px); border: 1px solid var(--line); background: var(--surface); box-shadow: 10px 10px 0 var(--accent); }
.boost-dialog-close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 1.5rem; cursor: pointer; }
.boost-dialog-card h2 { max-width: 500px; margin: 0; padding-right: 44px; font-size: clamp(2.5rem, 7vw, 4.1rem); text-transform: uppercase; }
.boost-dialog-intro { margin: 15px 0 22px; color: var(--muted); }
.episode-boost-form { display: grid; gap: 14px; }
.boost-field { display: grid; gap: 7px; font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.boost-field span { color: var(--muted); font-weight: 600; text-transform: none; }
.boost-field input, .boost-field textarea { width: 100%; padding: 12px 13px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: 1rem; font-weight: 500; letter-spacing: normal; text-transform: none; }
.boost-field input:focus, .boost-field textarea:focus { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 1px; }
.boost-presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.boost-presets button { min-height: 42px; padding: 7px 11px; border: 1px solid var(--accent); background: transparent; color: var(--accent); font-weight: 850; cursor: pointer; }
.boost-presets button:hover, .boost-presets button:focus-visible { background: var(--accent); color: var(--accent-ink); outline: none; }
.boost-amount-input { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; border: 1px solid var(--line); background: var(--bg); }
.boost-amount-input input { min-width: 0; border: 0; background: transparent; }
.boost-amount-input b { padding: 0 13px; color: var(--muted); font-size: .78rem; text-transform: none; }
.boost-amount-input:focus-within { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 1px; }
.boost-amount-input input:focus { outline: 0; }
.boost-options { border-block: 1px solid var(--line); }
.boost-options summary { min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 14px; cursor: pointer; font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.boost-options summary::marker { content: ''; }
.boost-options summary::after { content: '+'; color: var(--accent); font-size: 1.25rem; line-height: 1; }
.boost-options[open] summary::after { content: '−'; }
.boost-options summary span { margin-left: auto; color: var(--muted); font-weight: 600; letter-spacing: normal; text-transform: none; }
.boost-options-fields { display: grid; grid-template-columns: .75fr 1.25fr; gap: 12px; padding: 2px 0 14px; }
.boost-split-preview { padding: 15px; border: 1px solid var(--line); background: var(--surface-2); }
.boost-split-preview > strong { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.boost-split-preview ul { display: grid; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.boost-split-preview li { display: flex; justify-content: space-between; gap: 18px; }
.boost-split-preview li strong { color: var(--accent); white-space: nowrap; }
.boost-invoice { min-width: 0; display: grid; gap: 12px; padding: 15px; border: 2px solid var(--accent); background: var(--bg); }
.boost-invoice[hidden] { display: none; }
.boost-invoice-notice { display: grid; gap: 4px; margin: 0; font-size: .82rem; line-height: 1.45; }
.boost-invoice-notice strong { color: var(--ink); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.boost-invoice-notice span { color: var(--muted); }
.boost-invoice-qr { justify-self: center; max-width: 320px; width: 100%; height: auto; padding: 8px; background: #fff; }
.boost-invoice-value { display: block; min-width: 0; padding: 9px; overflow-x: auto; border: 1px solid var(--line); background: var(--surface); font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .68rem; line-height: 1.4; white-space: nowrap; }
.boost-invoice-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.boost-wallet-link, .boost-copy-invoice { min-height: 44px; }
.boost-invoice-done { grid-column: 1 / -1; width: 100%; }
.boost-copy-invoice { border-color: var(--ink); background: var(--surface); color: var(--ink); }
.boost-submit[hidden] { display: none; }
.boost-submit:disabled, .boost-presets button:disabled, .boost-field input:disabled, .boost-field textarea:disabled { cursor: not-allowed; opacity: .58; }
.boost-status { min-height: 1.5em; margin: 0; color: var(--muted); font-size: .85rem; }
.boost-status.is-success { position: fixed; top: 50%; left: 50%; z-index: 2; width: min(520px, calc(100vw - 48px)); max-height: calc(100dvh - 100px); overflow-y: auto; padding: clamp(22px, 5vw, 38px); border: 2px solid var(--ink); background: var(--accent); box-shadow: 0 0 0 100vmax rgba(5, 6, 6, .52), 8px 8px 0 var(--ink); color: var(--accent-ink); cursor: pointer; font-family: "Nodesignal Display", "Arial Narrow", sans-serif; font-size: clamp(1.65rem, 5vw, 2.5rem); font-weight: 800; letter-spacing: normal; line-height: 1.02; text-transform: uppercase; transform: translate(-50%, -50%); }
.episode-boost-form > small { color: var(--muted); line-height: 1.45; }

@media (max-width: 850px) {
  .episode-layout { grid-template-columns: minmax(0, 1fr); }
  .episode-art { width: min(100%, 520px); }
  .episode-intro { max-width: 680px; }
  .episode-notes-grid { grid-template-columns: 1fr; gap: 42px; }
}

@media (max-width: 620px) {
  .episode-hero { padding: 42px 0 75px; }
  .episode-back { margin-bottom: 28px; }
  .episode-layout { gap: 42px; }
  .episode-intro h1 { font-size: clamp(2.25rem, 10vw, 4.1rem); }
  .episode-actions { align-items: stretch; flex-direction: column; }
  .episode-actions .button { width: 100%; }
  .episode-notes h2 { font-size: 3.4rem; }
  .episode-boost-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); }
  .boost-dialog-card { max-height: calc(100dvh - 20px); padding: 22px 18px; box-shadow: 5px 5px 0 var(--accent); }
  .boost-dialog-card h2 { font-size: clamp(2.15rem, 11vw, 3rem); }
  .boost-options-fields { grid-template-columns: 1fr; }
  .boost-invoice-actions { grid-template-columns: 1fr; }
  .boost-copy-invoice { width: 100%; }
}
