body[data-view="podcast"]{background:#f5f7fb;color:#21334d}
body[data-view="podcast"] .mode-sidebar{display:flex!important;background:#fff;color:#253e62;box-shadow:none;border:1px solid #e5eaf3;left:24px;top:24px;bottom:24px;width:180px;padding:22px 16px}
body[data-view="podcast"] .mode-link{color:#62718b}
body[data-view="podcast"] .mode-podcast,body[data-view="podcast"] .mode-link.active,body[data-view="podcast"] .mode-link:hover{background:#eaf0fc;color:#2b60b5}
body[data-view="podcast"] .page-corner-nav{display:none}
body[data-view="podcast"] .account-launcher{position:absolute;top:24px;right:36px}
#podcast-view{padding:0!important;min-height:100vh}
.podcast-page{max-width:1260px;margin:0 auto;padding:72px 64px 100px 252px}
.podcast-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 36px}
.podcast-eyebrow{font-size:10px!important;font-weight:700;letter-spacing:.2em;color:#6681ab!important;margin:0 0 9px!important}
.podcast-heading h1{font-size:38px;letter-spacing:-.04em;line-height:1.2;margin:0 0 12px;font-weight:750}
.podcast-heading p{font-size:14px;color:#8190a6;margin:0}
#podcast-view button{cursor:pointer;font-family:inherit}
#podcast-view button:focus-visible,#podcast-search:focus-visible{outline:3px solid #8eb5ee;outline-offset:4px}
.podcast-import{border:1px solid #dae3f1;border-radius:24px;background:#fff;padding:11px 20px;color:#345b91;font-size:13px}
.podcast-resume{display:flex;align-items:center;gap:28px;padding:28px;background:#e9eff9;border:1px solid #e0e7f3;border-radius:24px;margin-bottom:44px}
.podcast-cover{flex:none;width:64px;height:64px;border-radius:12px;overflow:hidden;background:#dfe7f5}
.podcast-cover img{width:100%;height:100%;object-fit:cover}
.podcast-cover-audio{background:#2e5d9b;display:flex;align-items:center;justify-content:center;gap:5px}
.podcast-cover-audio i{display:block;width:4px;height:18px;border-radius:3px;background:#c6d9f4}
.podcast-cover-audio i:nth-child(2),.podcast-cover-audio i:nth-child(4){height:32px}
.podcast-cover-audio i:nth-child(3){height:46px;background:#fff}
.podcast-resume>.podcast-cover{width:112px;height:112px;border-radius:18px;box-shadow:0 8px 18px #25447815}
.podcast-resume-copy{flex:1;min-width:0}
.podcast-resume small{font-size:11px;color:#5c79a1;font-weight:600}
.podcast-resume h2{font-size:23px;line-height:1.4;margin:8px 0;letter-spacing:-.02em}
.podcast-resume p{font-size:12px;color:#75849a;margin:0}
.podcast-resume progress{display:block;height:3px;width:min(100%,240px);margin-top:18px;border:0;border-radius:3px;accent-color:#396bb3}
.podcast-resume progress::-webkit-progress-bar{background:#d5e0f0;border-radius:3px}
.podcast-resume progress::-webkit-progress-value{background:#396bb3;border-radius:3px}
.podcast-primary{background:#2e60a7;color:#fff;border:0;border-radius:24px;padding:13px 22px;font-size:13px;white-space:nowrap}
.podcast-library>header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}
.podcast-library h2{font-size:20px;margin:0;letter-spacing:-.02em}
#podcast-count{font-size:13px;font-weight:400;color:#94a0b2;margin-left:8px}
.podcast-search{display:flex;align-items:center;gap:10px;font-size:12px;color:#8593a8}
#podcast-search{width:190px;border:0;background:#edf1f7;border-radius:20px;font:inherit;color:#233d64;padding:10px 14px;outline-offset:2px}
.podcast-filters{display:flex;gap:8px;padding-bottom:20px;border-bottom:1px solid #e2e7f0}
.podcast-filters button{border:0;color:#8390a5;background:transparent;border-radius:18px;padding:9px 17px;font-size:12px}
.podcast-filters button[aria-pressed="true"]{color:#315c9c;background:#e5ecf8;font-weight:650}
.podcast-row{display:flex;align-items:center;gap:18px;padding:20px 0;border-bottom:1px solid #e4e9f1}
.podcast-row-copy{min-width:0;flex:1}
.podcast-row small{font-size:10px;color:#8294ad}
.podcast-row h3{font-size:15px;font-weight:650;margin:6px 0;line-height:1.5}
.podcast-row p{font-size:11px;color:#98a2b2;margin:0}
.podcast-row-play{border:1px solid #d9e2f0;border-radius:20px;background:transparent;color:#40679c;padding:8px 16px;font-size:12px;white-space:nowrap}
.podcast-row-play:disabled{border:0;color:#9ba6b7;cursor:default!important;padding-right:0}
.podcast-empty,#podcast-message{font-size:13px;color:#7e8ca2;line-height:1.8}
#podcast-message:empty{display:none}
#podcast-transcript{margin-top:32px;border-radius:18px;background:white;padding:22px}
#podcast-transcript summary{cursor:pointer;font-size:14px;color:#416396}
#podcast-sentences{margin-top:16px;max-height:360px;overflow:auto}
.podcast-sentence{display:block;border:0;border-radius:8px;background:transparent;text-align:left;padding:12px;color:#5f718a;font-size:15px;line-height:1.7;width:100%}
.podcast-sentence.active{background:#edf3fd;color:#245ca4}
.listen-options{position:relative;font-size:13px}
.listen-options summary{cursor:pointer;color:#496789;padding:8px;list-style:none}
.listen-options>div{position:absolute;bottom:44px;right:0;min-width:230px;display:grid;gap:14px;padding:20px;background:white;border:1px solid #dce5f1;box-shadow:0 12px 40px #20365520;border-radius:18px}
#listen-dock{padding:14px 28px max(14px,env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:space-between;gap:20px}
.listen-title{flex:1;max-width:360px;font-size:13px}
.listen-title b{font-size:10px;color:#8b9bb2;font-weight:500}
#listen-dock [data-listen="play"]{background:#2e60a7;color:white;border-color:#2e60a7;border-radius:22px;min-width:64px}
#listen-status:empty{display:none}
#listen-seek{position:absolute;top:-7px;left:0;width:100%;height:14px;margin:0;accent-color:#396bb3;cursor:pointer}
@media(max-width:1000px){.podcast-page{padding:80px 28px 80px 234px}.podcast-resume{gap:18px;padding:22px}.podcast-resume>.podcast-cover{width:88px;height:88px}.podcast-resume h2{font-size:19px}.podcast-resume{flex-wrap:wrap}.podcast-primary{margin-left:auto}.listen-title{max-width:220px}}
@media(max-width:700px){
 body[data-view="podcast"] .mode-sidebar{position:relative!important;left:auto!important;top:auto!important;bottom:auto!important;width:auto!important;margin:70px 20px 0;padding:8px;border-radius:16px;background:#fff!important;color:#62718b!important}
 body[data-view="podcast"] .sidebar-brand,body[data-view="podcast"] .sidebar-foot{display:none}
 body[data-view="podcast"] .mode-link small,body[data-view="podcast"] .mode-link>span{display:none}
 body[data-view="podcast"] .sidebar-nav{display:flex!important;flex-direction:row!important}
 body[data-view="podcast"] .mode-link{padding:9px 3px;min-height:36px;text-align:center}
 body[data-view="podcast"] .mode-link b{font-size:12px}
 body[data-view="podcast"] .account-launcher{top:14px;right:20px}
 .podcast-page{padding:32px 22px 60px}.podcast-heading{margin-bottom:25px}.podcast-heading h1{font-size:30px}.podcast-heading p{font-size:12px}
 .podcast-resume{display:grid;grid-template-columns:72px minmax(0,1fr);padding:20px;gap:16px;margin-bottom:32px}.podcast-resume>.podcast-cover{width:72px;height:72px;border-radius:13px}.podcast-resume h2{font-size:17px}.podcast-primary{grid-column:2;justify-self:start;margin:0;padding:10px 18px}.podcast-library>header{align-items:flex-start;flex-direction:column;gap:16px}
 .podcast-search{width:100%}.podcast-search span{display:none}#podcast-search{width:100%}
 .podcast-row{gap:13px;padding:18px 0}.podcast-row h3{font-size:13px}.podcast-cover{width:52px;height:52px;border-radius:10px}.podcast-row-play{font-size:11px;padding:7px 10px}.podcast-row-play:disabled{white-space:normal;max-width:48px}
 #listen-dock{display:grid;gap:8px;padding:12px 18px max(12px,env(safe-area-inset-bottom))}.listen-title{max-width:100%}.listen-controls{justify-content:space-between;gap:3px}#listen-dock button{font-size:11px;padding:7px 8px}.listen-options summary{font-size:11px;padding:7px 0}#listen-position{font-size:10px}
}
/* The listening surface owns lyrics and the existing player controls. */
#podcast-transcript{width:min(1000px,calc(100vw - 48px));max-width:none;height:min(740px,calc(100dvh - 48px));max-height:none;margin:auto;padding:28px 36px 0;border:1px solid #dde6f4;border-radius:28px;background:#f6f8fc;color:#233e64;overflow:hidden;box-sizing:border-box;box-shadow:0 32px 100px #182d4d30}
#podcast-transcript::backdrop{background:#24354a66;backdrop-filter:blur(12px)}
#podcast-transcript[open]{display:flex;flex-direction:column}
.podcast-now-header{display:flex;justify-content:space-between;align-items:center;flex:none;color:#8293ac;font-size:12px}
.podcast-now-header button{font:inherit;border:1px solid #dbe4f1;border-radius:20px;padding:10px 16px;background:#fff;color:#466794;cursor:pointer}
.podcast-now-layout{display:grid;grid-template-columns:36% minmax(0,1fr);gap:56px;flex:1;min-height:0;align-items:center;padding:26px 0}
#podcast-now-info .podcast-cover{width:100%;height:auto;aspect-ratio:1;border-radius:22px;box-shadow:0 18px 40px #23416a1a}
#podcast-now-info h2{font-size:24px;line-height:1.5;margin:22px 0 10px}
#podcast-now-info p{font-size:13px;color:#8595ac;margin:0}
.podcast-lyrics-area{height:100%;min-height:0;position:relative;overflow:hidden}
#podcast-sentences{position:relative;height:100%;max-height:none;box-sizing:border-box;margin:0;padding:40% 0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;mask-image:linear-gradient(transparent,#000 12%,#000 88%,transparent)}
#podcast-sentences .podcast-sentence{font-size:23px;font-weight:600;line-height:1.75;padding:16px 10px;color:#9ba9bd;background:transparent;text-align:left;transition:color .2s}
#podcast-sentences .podcast-sentence.active{color:#2c507e;background:transparent}
#podcast-sentences .spoken-word{color:#1d62bd;background:#e3edfc;border-radius:6px;box-shadow:none}
#podcast-follow{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);white-space:nowrap;border:1px solid #dae4f1;border-radius:20px;padding:10px 17px;background:#fff;color:#3d659b;box-shadow:0 4px 20px #283f5c15;cursor:pointer}
#podcast-follow[hidden]{display:none}
#podcast-now-controls{flex:none;margin:0 -36px}
#podcast-now-controls #listen-dock{position:relative;left:auto;right:auto;bottom:auto;border-radius:0 0 28px 28px;box-shadow:none;display:block;padding:22px 30px}
#podcast-now-controls .listen-title{display:none}
#podcast-now-controls .listen-controls{justify-content:center;gap:18px}
#podcast-now-controls [data-listen=transcript]{display:none}
#listen-dock button.listen-title{display:flex;text-align:left;background:transparent;border:0;padding:0;min-width:0;border-radius:8px}
.podcast-no-lyrics{font-size:15px;color:#8c9db4;text-align:center}
@media(max-width:700px){
 #podcast-transcript{width:100%;height:100dvh;margin:0;border:0;border-radius:0;padding:18px 22px 0}
 .podcast-now-layout{display:flex;flex-direction:column;align-items:stretch;gap:16px;padding:24px 0 8px}
 #podcast-now-info{display:grid;grid-template-columns:64px minmax(0,1fr);column-gap:16px;flex:none;align-items:center}
 #podcast-now-info .podcast-cover{width:64px;grid-row:1/3;border-radius:12px}
 #podcast-now-info h2{font-size:17px;margin:0 0 6px}#podcast-now-info p{font-size:11px}
 .podcast-lyrics-area{flex:1}#podcast-sentences .podcast-sentence{font-size:21px;padding:18px 6px}
 #podcast-now-controls{margin:0 -22px}#podcast-now-controls #listen-dock{border-radius:0;padding:22px 16px max(24px,env(safe-area-inset-bottom))}
 #podcast-now-controls .listen-controls{gap:9px}#podcast-now-controls #listen-position{font-size:12px}
}
#podcast-now-controls #listen-dock .listen-title{display:none}
.podcast-download{border:0;background:transparent;color:#6e86a7;font:inherit;font-size:11px;cursor:pointer;max-width:140px;padding:8px}
@media(max-width:700px){.podcast-row{flex-wrap:wrap}.podcast-row-copy{flex-basis:calc(100% - 70px)}.podcast-row-play{margin-left:65px}.podcast-download{margin-left:auto;max-width:180px}}

/* Keep row controls aligned regardless of download labels. */
.podcast-row{display:grid;grid-template-columns:64px minmax(0,1fr) 244px}
.podcast-row-actions{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:12px}
.podcast-row-play{margin:0;width:100%}
.podcast-download-box{min-width:0;display:grid;justify-items:center;gap:5px}
.podcast-download{margin:0;max-width:none;width:100%;padding:8px 0}
.podcast-download-progress{display:block;width:90px;height:4px;border:0;border-radius:4px;accent-color:#396bb3}
.podcast-download-progress::-webkit-progress-bar{background:#dce5f3;border-radius:4px}
.podcast-download-progress::-webkit-progress-value{background:#396bb3;border-radius:4px}
#listen-dock .listen-close{flex:none;border:0;background:transparent;color:#496789;order:3}
@media(max-width:700px){
 .podcast-row{grid-template-columns:52px minmax(0,1fr)}
 .podcast-row-actions{grid-column:2;grid-template-columns:76px minmax(0,1fr);width:100%;max-width:290px}
 .podcast-row-play{margin:0}.podcast-download{margin:0;max-width:none}
 #listen-dock{grid-template-columns:minmax(0,1fr) auto}
 #listen-dock .listen-title{grid-column:1;grid-row:1}
 #listen-dock .listen-close{grid-column:2;grid-row:1}
 #listen-dock .listen-controls,#listen-status{grid-column:1/-1}
 #podcast-now-controls #listen-dock{display:grid}
 #podcast-now-controls .listen-close{justify-self:end}
 #podcast-now-controls .listen-controls{gap:6px;flex-wrap:wrap}
}
