.sidebar{overflow-y:auto;overscroll-behavior:contain}.sidebar>nav,.sidebar-bottom{flex-shrink:0}
.podcast-art{display:grid;place-items:center;width:54px;height:54px;border-radius:16px;background:var(--green-light);color:var(--green-dark);flex-shrink:0}.podcast-art .icon{width:28px;height:28px}
.podcast-section-card{display:flex;gap:18px;align-items:flex-start;margin:22px 0;padding:22px}.podcast-section-card>div{min-width:0;flex:1}.podcast-section-card h3{font-size:19px;line-height:1.4;margin:6px 0}.podcast-section-card p{font-size:13px;line-height:1.65;color:var(--muted);margin:8px 0 16px}.podcast-section-card .button-row{flex-wrap:wrap}
.page-podcasts{grid-template-columns:minmax(0,1fr)}.page-podcasts>.rightbar{display:none}.podcast-library{max-width:1200px;margin:auto}.podcast-library-heading{display:flex;align-items:flex-start;gap:20px;margin-bottom:22px}.podcast-library-heading h1{font-size:32px;line-height:1.25}.podcast-library-heading .page-description{line-height:1.7;margin:12px 0 0}.podcast-library-heading .podcast-art{width:72px;height:72px}
.podcast-library-tools{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:14px;align-items:end;padding:20px;margin-bottom:14px}.podcast-library-tools label{font-size:12px;font-weight:800;display:grid;gap:8px;min-width:0}.podcast-library-tools input,.podcast-library-tools select{width:100%;min-width:0;min-height:44px;border:1px solid var(--border);border-radius:10px;padding:10px 12px;font:inherit;font-size:13px;color:var(--ink);background:var(--surface)}
.podcast-library-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:22px;margin-top:22px;align-items:start}.podcast-episode-list{list-style:none;margin:12px 0;padding:0;display:grid;gap:9px}.podcast-episode{display:flex;align-items:center;gap:12px;width:100%;min-width:0;padding:17px 14px;border:1px solid var(--border);border-radius:14px;color:var(--ink);background:var(--surface);text-align:left;font:inherit;cursor:pointer}.podcast-episode:hover,.podcast-episode.is-selected{background:var(--green-light);border-color:var(--green-dark)}.podcast-episode>span:nth-child(2){min-width:0;flex:1}.podcast-episode small{display:block;font-size:10px;line-height:1.6;color:var(--muted);overflow-wrap:anywhere}.podcast-episode strong{display:block;font-size:14px;line-height:1.5;overflow-wrap:anywhere;margin:5px 0}.podcast-episode-number{color:var(--green-dark);font-size:12px;font-weight:900;width:23px;flex-shrink:0}.podcast-episode-play{color:var(--green-dark);font-size:13px;flex-shrink:0}.podcast-episode-play .icon{width:18px;height:18px}
.podcast-detail{min-width:0;min-height:0;padding:22px;position:sticky;top:var(--podcast-reader-top,110px);height:var(--podcast-reader-height,calc(100dvh - 250px));max-height:var(--podcast-reader-height,calc(100dvh - 250px));overflow-y:auto;overscroll-behavior-y:contain;touch-action:pan-y;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:var(--green-dark) var(--surface-alt);scroll-margin-top:var(--podcast-reader-top,110px);-webkit-overflow-scrolling:touch}.podcast-detail:has(.podcast-empty-detail){height:auto}.podcast-detail:focus-visible{outline:2px solid var(--green-dark);outline-offset:3px}.podcast-detail-heading h2{font-size:22px;line-height:1.4;margin:10px 0}.podcast-detail-heading p,.podcast-empty-detail p{font-size:13px;color:var(--muted);line-height:1.7}.podcast-preparing{padding:12px;background:var(--surface-alt);border-radius:10px}.podcast-empty-detail{text-align:center;padding:36px 8px}.podcast-empty-detail>.icon{width:42px;height:42px;color:var(--green-dark);margin-bottom:16px}.podcast-empty-detail h2{font-size:21px;margin-bottom:12px}.podcast-chapters{margin-top:22px}.podcast-chapters h3,.podcast-transcript-heading h3{font-size:15px}.podcast-chapters ol{list-style:none;margin:10px 0 20px;padding:0;max-height:230px;overflow:auto}.podcast-chapters button{display:flex;justify-content:space-between;gap:12px;width:100%;text-align:left;min-height:42px;padding:10px 0;border:0;border-bottom:1px solid var(--border);background:transparent;color:var(--ink);font:inherit;font-size:12px;line-height:1.5;cursor:pointer}.podcast-chapters button span{min-width:0;overflow-wrap:anywhere}.podcast-chapters time{font-size:11px;color:var(--muted);flex-shrink:0}.podcast-chapters button:disabled{cursor:default}
.podcast-transcript-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:12px}.podcast-transcript-heading label{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted)}.podcast-transcript{position:relative;max-height:440px;overflow-y:auto;overscroll-behavior:contain;scroll-behavior:auto;display:grid;gap:8px;padding:3px;scrollbar-gutter:stable}.podcast-turn{display:block;width:100%;padding:13px;text-align:left;border:1px solid transparent;border-radius:12px;font:inherit;font-size:13px;line-height:1.8;background:var(--surface-alt);color:var(--ink);cursor:pointer}.podcast-turn>span:first-child{display:flex;justify-content:space-between;gap:10px;margin-bottom:6px;font-size:11px;color:var(--muted)}.podcast-turn>span:last-child{display:block;overflow-wrap:anywhere}.podcast-turn.is-active{background:var(--green-light);border-color:var(--green-dark)}.podcast-turn:disabled{opacity:1;cursor:default}
.podcast-player{position:fixed;z-index:16;bottom:0;left:235px;right:0;display:grid;grid-template-columns:minmax(150px,1fr) minmax(230px,1.5fr) auto;align-items:center;gap:22px;padding:14px 24px max(14px,env(safe-area-inset-bottom));border-top:2px solid var(--border);background:var(--surface);box-shadow:0 -8px 28px #0000000a}.podcast-player[hidden]{display:none}.podcast-now{display:flex;align-items:center;gap:12px;min-width:0}.podcast-now>div{min-width:0}.podcast-now a{display:block;font-size:13px;font-weight:900;line-height:1.5;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.podcast-now small{display:block;font-size:10px;line-height:1.6;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.podcast-player .podcast-art{width:44px;height:44px;border-radius:12px}.podcast-player-middle{min-width:0}.podcast-transport{display:flex;align-items:center;justify-content:center;gap:15px}.podcast-control{display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;padding:0;border:0;border-radius:50%;background:transparent;color:var(--ink);font:inherit;font-size:16px;font-weight:900;cursor:pointer}.podcast-control:hover{background:var(--surface-alt)}.podcast-control:disabled{opacity:.4;cursor:default}.podcast-control.podcast-play{width:42px;height:42px;background:var(--green);color:var(--surface);font-size:18px}.podcast-control.podcast-play:hover{background:var(--green-dark)}.podcast-skip{font-size:11px;border:1px solid var(--border)}.podcast-control .icon{width:19px;height:19px}.podcast-seek{display:flex;align-items:center;gap:10px;margin-top:9px}.podcast-seek time{font-size:10px;color:var(--muted);min-width:30px;font-variant-numeric:tabular-nums}.podcast-seek time:last-child{text-align:right}.podcast-seek input{width:100%;min-width:0;accent-color:var(--green-dark);cursor:pointer}.podcast-player-tools{display:flex;gap:10px;align-items:center}.podcast-player-tools label{display:grid;gap:4px;font-size:10px;color:var(--muted)}.podcast-player-tools select{min-height:32px;border:1px solid var(--border);border-radius:8px;font:inherit;background:var(--surface);color:var(--ink);padding:3px 5px}.podcast-player-tools a{font-size:9px}.has-podcast-player .content-layout{padding-bottom:160px}.podcast-player button:focus-visible,.podcast-episode:focus-visible,.podcast-turn:focus-visible,.podcast-chapters button:focus-visible{outline:2px solid var(--green-dark);outline-offset:3px}
@media(max-width:1180px){.podcast-player{left:195px;gap:14px;padding-left:16px;padding-right:16px}.podcast-player-tools>a{display:none}.podcast-library-layout{grid-template-columns:1fr}.podcast-detail{position:relative;top:auto}.podcast-library-tools{grid-template-columns:1fr 1fr}.podcast-library-tools>.btn{grid-column:1/-1}}
@media(max-width:900px){.podcast-player{left:0}}
@media(max-width:650px){.podcast-player{bottom:calc(70px + env(safe-area-inset-bottom));grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:11px 14px}.podcast-now{gap:8px}.podcast-now .podcast-art{width:36px;height:36px}.podcast-player-middle{grid-column:1/-1;grid-row:2}.podcast-player-tools{grid-column:2;grid-row:1}.podcast-transport{gap:20px}.podcast-seek{margin-top:7px}.podcast-player-tools label{gap:1px}.podcast-player-tools .podcast-control{width:30px;height:30px}.has-podcast-player .content-layout{padding-bottom:270px}.podcast-library-heading{gap:12px}.podcast-library-heading h1{font-size:26px}.podcast-library-heading .podcast-art{width:48px;height:48px}.podcast-library-tools{grid-template-columns:1fr;padding:17px}.podcast-library-tools>.btn{grid-column:auto}.podcast-detail{padding:17px}.podcast-transcript{max-height:360px}.podcast-section-card{gap:12px;padding:18px}.podcast-section-card>.podcast-art{width:40px;height:40px}.podcast-section-card h3{font-size:17px}.podcast-section-card .btn{font-size:10px}.podcast-detail-heading h2{font-size:20px}.podcast-episode{padding:14px 11px;gap:9px}.podcast-library-layout{gap:16px}}
@media(max-width:650px){.podcast-library-layout>.podcast-detail{grid-row:1}.podcast-detail:has(.podcast-empty-detail){display:none}}
.podcast-chapters{margin:18px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.podcast-chapters summary{padding:14px 0;font-size:14px;font-weight:800;cursor:pointer}
.podcast-chapters summary:focus-visible{outline:2px solid var(--green-dark);outline-offset:3px}
.podcast-chapters ol{margin:0 0 12px;max-height:none;overflow:visible}
.podcast-transcript-hint{font-size:12px;line-height:1.6;color:var(--muted);margin:0 0 12px}
.podcast-transcript-heading{scroll-margin-top:130px}
.podcast-transcript{height:auto;max-height:none;min-height:0;grid-auto-rows:max-content;align-content:start;overflow:visible;overscroll-behavior:auto;border:1px solid var(--border);border-radius:12px;padding:6px}
.podcast-transcript:focus-visible{outline:2px solid var(--green-dark);outline-offset:3px}
.podcast-turn{flex-shrink:0;font-size:14px}
.podcast-player-tools>.podcast-transcript-link{display:flex;align-items:center;justify-content:center;gap:5px;min-width:34px;min-height:34px}
.podcast-transcript-link .icon{width:19px;height:19px;flex-shrink:0}
@media(max-width:1180px){.podcast-transcript-link span{display:none}}
@media(max-width:650px){.podcast-transcript-heading{scroll-margin-top:115px}.podcast-player-tools{gap:5px}}
@media(max-width:650px) and (max-height:700px){.podcast-transcript-hint{display:none}}

/* Keep the existing course palette, with one solid, tactile playback surface. */
.podcast-player{left:247px;right:12px;bottom:12px;border:1px solid var(--border);border-radius:22px;box-shadow:0 8px 30px #00000020;gap:20px;padding:16px 20px;isolation:isolate}
.podcast-player .podcast-art{width:52px;height:52px;border:1px solid var(--border);border-radius:16px}
.podcast-now a{font-size:14px;line-height:1.55}
.podcast-now small{font-size:11px;line-height:1.6}
[data-podcast-now-chapter]{color:var(--green-dark)!important}
.podcast-transport{gap:10px}
.podcast-control{position:relative;width:44px;height:44px;touch-action:manipulation;transition:background-color 140ms ease,color 140ms ease,transform 140ms ease}
.podcast-control:active:not(:disabled){transform:scale(.93);transition-duration:0ms}
.podcast-control:disabled{opacity:.35}
.podcast-control.podcast-play{width:50px;height:50px;box-shadow:0 3px 0 var(--green-dark)}
.podcast-control.podcast-play:active:not(:disabled){transform:translateY(2px) scale(.96);box-shadow:none}
.podcast-glyph{width:23px;height:23px;flex-shrink:0}
.podcast-skip{border:0}
.podcast-skip .podcast-glyph{width:32px;height:32px}
.podcast-skip-value{position:absolute;inset:17px 0 auto;font-size:9px;line-height:1;font-variant-numeric:tabular-nums}
.podcast-seek{margin-top:4px;gap:10px}
.podcast-seek time{font-size:11px;min-width:34px}
.podcast-seek input{appearance:none;-webkit-appearance:none;height:32px;margin:0;background:transparent;touch-action:pan-y}
.podcast-seek input::-webkit-slider-runnable-track{height:5px;border-radius:20px;background:linear-gradient(to right,var(--green-dark) var(--podcast-progress,0%),var(--border) var(--podcast-progress,0%))}
.podcast-seek input::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:16px;height:16px;margin-top:-5.5px;border:2px solid var(--surface);border-radius:50%;background:var(--green-dark);box-shadow:0 0 0 1px var(--green-dark)}
.podcast-seek input::-moz-range-track{height:5px;border-radius:20px;background:var(--border)}
.podcast-seek input::-moz-range-progress{height:5px;background:var(--green-dark)}
.podcast-seek input::-moz-range-thumb{width:13px;height:13px;border:2px solid var(--surface);border-radius:50%;background:var(--green-dark)}
.podcast-seek input:focus-visible{outline:2px solid var(--green-dark);outline-offset:3px;border-radius:6px}
.podcast-player-tools{gap:12px}
.podcast-player-tools select{min-height:40px;font-size:12px;padding:6px 8px;border-radius:10px}
.podcast-player-tools>.podcast-transcript-link{min-width:44px;min-height:44px;padding:0 8px;border-radius:12px}
.podcast-transcript-link:hover{background:var(--green-light)}
.podcast-player-tools a{font-size:10px}
.podcast-player-tools .podcast-control{width:44px;height:44px}
.podcast-transcript-heading{position:sticky;top:0;z-index:2;padding:12px 0;margin:0 0 12px;background:var(--surface);border-bottom:1px solid var(--border)}
.podcast-follow-button{min-height:36px;padding:7px 10px;border:1px solid var(--border);border-radius:20px;background:var(--surface-alt);color:var(--ink);font:inherit;font-size:11px;font-weight:800;cursor:pointer;touch-action:manipulation}
.podcast-follow-button[aria-pressed=true]{background:var(--green-light);border-color:var(--green-dark);color:var(--green-dark)}
.podcast-follow-button:active{transform:scale(.97)}
.podcast-follow-button:focus-visible{outline:2px solid var(--green-dark);outline-offset:3px}
.podcast-turn{transition:background-color 140ms ease,border-color 140ms ease}
.podcast-turn:active:not(:disabled){background:var(--green-light)}
@media(max-width:1180px){.podcast-player{left:207px;gap:12px;padding:14px 16px}.podcast-player-tools{gap:6px}}
@media(max-width:900px){.podcast-player{left:12px}}
@media(max-width:650px){
 .podcast-player{left:8px;right:8px;bottom:calc(78px + env(safe-area-inset-bottom));border-radius:18px;padding:10px 12px;gap:6px 8px}
 .podcast-now .podcast-art{width:36px;height:36px;border-radius:11px}
 .podcast-now a{font-size:12px}.podcast-now small{font-size:10px}
 [data-podcast-now-chapter]{display:none}
 .podcast-player-tools{gap:2px}.podcast-player-tools label{font-size:9px}
 .podcast-player-tools select{min-height:34px;padding:3px 4px;font-size:11px}
 .podcast-player-tools .podcast-control{width:36px;height:44px}
 .podcast-player-tools>.podcast-transcript-link{padding:0;min-width:36px}
 .podcast-transport{gap:10px}.podcast-control.podcast-play{width:46px;height:46px}
 .podcast-seek{margin:0}.podcast-seek time{font-size:10px}
 .podcast-transcript-heading{gap:8px}.podcast-transcript-heading h3{font-size:14px}
 .podcast-detail{scroll-padding-top:88px}.podcast-transcript-heading label{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.podcast-control,.podcast-turn{transition:none}.podcast-control:active:not(:disabled),.podcast-follow-button:active{transform:none}}
@media(prefers-reduced-transparency:reduce){.podcast-player,.podcast-transcript-heading{background:var(--surface);backdrop-filter:none}}
@media(prefers-contrast:more){.podcast-player,.podcast-turn,.podcast-control,.podcast-follow-button{border:2px solid var(--ink)}.podcast-control:disabled{opacity:.65}}
