/* Listening first, while keeping the cassette's visual identity. */
.episode-page .episode-breadcrumb{flex-wrap:wrap;margin:10px 0 16px;line-height:1.7}
.episode-page .episode-intro{grid-template-columns:minmax(0,1fr) 90px;gap:22px;padding:22px;margin-bottom:16px;box-shadow:none}
.episode-page .episode-intro h1{font-size:clamp(22px,2.3vw,32px);line-height:1.6;margin-bottom:10px}
.episode-page .episode-intro-art img{width:90px;max-height:128px;transform:none;box-shadow:none}
.episode-page .episode-bookline{font-size:13px;line-height:1.8}.episode-page .episode-eyebrow{margin-bottom:8px}
.episode-facts{display:flex;flex-wrap:wrap;gap:8px 16px;color:#e8d2a8;font-size:13px;margin:12px 0 0}
.episode-page .tape-player{margin:0 0 20px;padding:18px 24px;border-radius:16px}
.episode-page .tape-deck{grid-template-columns:minmax(180px,.65fr) minmax(0,1.35fr);gap:24px;padding:16px 0}
.episode-page .tape-top{padding-bottom:10px}.episode-page .tape-bottom{padding-top:8px}
.episode-page .cassette-door{padding:14px;max-width:290px;justify-self:center;width:100%;box-sizing:border-box}
.episode-page .cassette-window{padding:18px 8px}.episode-page .podcast-reel{width:58px}
.episode-page .cassette-caption{margin-top:10px}.episode-page .cassette-grille{display:none}
.episode-page .tape-display p{display:none}.episode-page .tape-display{padding:8px 12px}
.episode-page .tape-display-label{font-size:11px}.episode-page .tape-clock{font-size:20px}
.episode-page .tape-progress{margin:10px 0}.episode-page .tape-progress label{font-size:12px}
.episode-page .tape-transport{gap:16px}.episode-page .tape-transport .tape-play{display:flex;align-items:center;justify-content:center;gap:8px;width:auto;min-width:150px;height:52px;border-radius:10px;padding:8px 14px;direction:rtl;font:600 14px 'Vazirmatn',Tahoma,sans-serif}
.episode-page .tape-settings{display:flex;flex-wrap:wrap;gap:12px;margin-top:14px;align-items:center}
.episode-page .tape-settings label{font-size:12px}.episode-page .tape-settings select{min-height:44px;margin:0}
.episode-page .tape-settings>label:first-child{display:flex;align-items:center;gap:8px}
.episode-page .tape-autonext{width:auto;min-height:44px;font-size:12px}.episode-page .tape-volume{order:3;flex-basis:100%;max-width:230px;opacity:.85}
.episode-page .tape-status{font-size:12px;margin-top:8px}.episode-page .tape-bottom{font-size:10px}
.episode-sequence{padding:18px;border:1px solid #bda16b60;border-radius:12px;background:#1a3025;margin:20px 0}
.episode-chapter-nav{display:flex;flex-wrap:wrap;align-items:stretch;gap:12px}.episode-chapter-nav a{display:flex;flex:1 1 180px;flex-direction:column;justify-content:center;gap:6px;min-height:44px;padding:12px;border:1px solid #bda16b60;border-radius:8px;color:#f2dfb7;text-decoration:none;font-size:14px;line-height:1.8}
.episode-chapter-nav small{font-size:12px;color:#d2b77e}.episode-chapter-nav .episode-all-chapters{flex:0 1 auto;border:0}.episode-chapter-nav .episode-next-chapter{background:#304c3b}
.episode-chapter-list{margin-top:14px}.episode-chapter-list summary,.episode-full-notes summary{min-height:44px;cursor:pointer;color:#eed5a6;line-height:1.8;padding:8px 0;box-sizing:border-box}
.episode-chapter-list ol{list-style:none;padding:0;max-height:320px;overflow:auto}.episode-chapter-list a{display:flex;justify-content:space-between;gap:12px;padding:12px;min-height:44px;box-sizing:border-box;color:#e4ebdf;text-decoration:none;border-bottom:1px solid #bda16b30;font-size:14px;line-height:1.8}
.episode-chapter-list a[aria-current]{background:#304c3b;border-inline-start:3px solid #e8ce9e}.episode-chapter-list small{white-space:nowrap;color:#f0d39c}
.episode-page .episode-sleeve{margin-top:20px}.episode-page .liner-notes{max-width:760px;margin-inline:auto}.episode-notes-summary{font-size:16px;line-height:2;color:#283b2e}
.episode-page .episode-full-notes summary{color:#334931}.episode-page .notes-heading>span,.episode-page .sleeve-spine,.episode-page .paper-footer{display:none}
.episode-page :is(.episode-chapter-nav,.episode-chapter-list,.episode-full-notes) :focus-visible{outline:3px solid #d9b77c;outline-offset:3px}
@media(max-width:600px){
 .episode-page #main{padding-inline:16px}.episode-page .episode-intro{display:grid;grid-template-columns:minmax(0,1fr) 64px;gap:12px;padding:14px;align-items:start}
 .episode-page .episode-intro h1{font-size:20px;line-height:1.7}.episode-page .episode-intro-art img{width:64px;max-height:96px}.episode-page .episode-bookline{font-size:12px}.episode-page .episode-eyebrow{font-size:11px}.episode-facts{font-size:12px;gap:6px 12px}
 .episode-page .tape-player{padding:14px}.episode-page .tape-deck{display:flex;flex-direction:column;gap:12px;padding:12px 0}
 .episode-page .tape-controls{order:0;width:100%}.episode-page .cassette-door{order:1;width:130px;padding:6px;align-self:center;max-height:74px;overflow:hidden;opacity:.8}
 .episode-page .cassette-label,.episode-page .cassette-caption{display:none}.episode-page .cassette-window{padding:6px;border-radius:6px}.episode-page .podcast-reel{width:28px;border-width:3px}.episode-page .tape-bridge{margin-inline:4px;height:16px}
 .episode-page .tape-transport{gap:10px}.episode-page .tape-transport button[data-skip]{width:44px;height:44px}.episode-page .tape-transport .tape-play{min-width:0;flex:1;max-width:190px;font-size:13px;padding-inline:8px}
 .episode-page .tape-top,.episode-page .tape-bottom{display:none}.episode-page .tape-volume{max-width:none;margin-top:0}.episode-page .tape-settings{gap:10px}.episode-page .tape-autonext{font-size:11px;padding-inline:6px;gap:6px}
 .episode-chapter-nav{gap:8px}.episode-chapter-nav .episode-all-chapters{flex-basis:100%;order:3;text-align:center}.episode-sequence{padding:12px}.episode-chapter-list a{font-size:13px;flex-wrap:wrap;gap:3px}
}
/* Primary transport has fixed positions: previous, play, next. Seeking is separate. */
.episode-page .tape-transport{display:grid;grid-template-columns:72px minmax(0,190px) 72px;justify-content:center;gap:12px}
.episode-page .tape-transport .tape-track{display:flex;flex-direction:column;justify-content:center;gap:5px;width:72px;height:72px;border-radius:12px;font:600 12px 'Vazirmatn',Tahoma,sans-serif}
.episode-page .tape-transport .tape-play{width:100%;min-width:0;max-width:none;height:80px;flex-direction:column;gap:5px;box-sizing:border-box;font-size:14px}
.episode-page .tape-transport .tape-play svg{width:30px;height:30px}
.episode-page .tape-controls{display:flex;flex-direction:column}.episode-page .tape-display{order:0}.episode-page .tape-transport{order:1;margin-top:12px}.episode-page .tape-progress{order:2}.episode-page .tape-seek-row{order:3}.episode-page .tape-extra-settings{order:4}.episode-page .tape-status{order:5}
.tape-seek-row{display:flex;justify-content:center;gap:20px}.tape-seek-row button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:56px;padding:8px 12px;background:#304331;border:1px solid #9e8a60;border-radius:10px;color:#f2dfb7;font:12px 'Vazirmatn',Tahoma,sans-serif;cursor:pointer}.tape-seek-row button:disabled{opacity:.45;cursor:default}.tape-seek-row svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2}.tape-seek-row .tape-seek-number{display:none}.tape-extra-settings{margin-top:12px}.tape-extra-settings summary{min-height:44px;padding:10px 0;box-sizing:border-box;color:#dfc99f;font-size:13px;cursor:pointer}
@media(max-width:600px){.episode-page .tape-transport{grid-template-columns:64px minmax(0,1fr) 64px;gap:10px}.episode-page .tape-transport .tape-track{width:64px;height:72px}.episode-page .tape-transport .tape-play{height:80px;font-size:12px;padding-inline:4px}.episode-page .tape-seek-row{gap:12px}.episode-page .tape-seek-row button{flex:1;padding-inline:6px}.episode-page .cassette-door{display:none}}
