:root {
	--gold: #f6c848;
	--gold-bright: #ffe783;
	--gold-deep: #b48700;
	--gold-soft: rgba(246,200,72,.18);
	color-scheme: light dark;
	font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
	background: #181a23;
	color: #f7f7f8;
	font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #181a23; }
button, a { font: inherit; }
button:disabled { cursor: not-allowed; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: #fff; color: #111; padding: .7rem 1rem; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
.status-dot, .mini-dot { width: 7px; height: 7px; border-radius: 50%; background: #efb035; box-shadow: 0 0 0 4px rgba(239,176,53,.12); }
.app-shell { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 100vh; padding: 0 0 96px; }
.side-nav { position: fixed; top: 0; bottom: 96px; width: 220px; padding: 26px 18px; border-right: 1px solid #202024; background: #0c0c0f; }
.nav-item { display: flex; align-items: center; gap: 12px; margin-bottom: 5px; padding: 11px 13px; color: #a9a9b2; text-decoration: none; border-radius: 9px; font-weight: 650; font-size: 14px; }
@media (hover: hover) and (pointer: fine) {
.nav-item:hover { background: #1a1a1f; color: #fff; }
}
.nav-item.active { background: #1a1a1f; color: #fff; }
.nav-item.active { color: var(--gold-bright); }
.nav-item.muted { color: #73737d; }
.nav-rule { height: 1px; margin: 22px 12px; background: #25252b; }
.nav-label { margin: 0 12px 10px; color: #5f5f68; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
main { grid-column: 1; overflow: hidden; }
.live-launch { position: relative; display: grid; place-items: center; min-height: 250px; padding: 62px 24px; overflow: hidden; border-bottom: 1px solid #2c291f; background: radial-gradient(circle at 50% 45%, rgba(246,200,72,.16), transparent 45%), #0d0d0f; }
.live-launch::before { position: absolute; right: clamp(18px,8vw,120px); bottom: -95px; width: 285px; height: 285px; content: ""; background: url('/assets/kyle-portrait.png') center / contain no-repeat; opacity: .1; }
.live-launch .primary-button { position: relative; z-index: 1; min-width: min(78vw, 430px); min-height: 96px; justify-content: center; gap: 18px; padding: 18px 32px; border: 1px solid #4d421e; color: #8f7d46; background: #1d1a12; font-size: clamp(20px,3vw,28px); letter-spacing: .035em; transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.hero-live-icon { display: grid; place-items: center; flex: 0 0 58px; width: 58px; height: 58px; padding-left: 4px; border-radius: 50%; color: #7d6d3f; background: #0c0c0e; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); font-size: 25px; line-height: 1; transition: color .2s ease, background .2s ease, transform .2s ease; }
.hero-live-label { font-weight: 900; }
.hero { position: relative; min-height: 510px; padding: 92px clamp(32px, 7vw, 104px); overflow: hidden; background: radial-gradient(circle at 75% 25%, rgba(240,40,60,.22), transparent 32%), linear-gradient(145deg, #18181d 0%, #0b0b0e 72%); border-bottom: 1px solid #242429; }
.eyebrow, .section-kicker { margin: 0 0 16px; color: var(--gold-bright); font-size: 12px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { position: relative; z-index: 2; max-width: 720px; margin: 0; font-size: clamp(52px, 7.2vw, 104px); line-height: .91; letter-spacing: -.075em; }
.hero-copy { position: relative; z-index: 2; max-width: 570px; margin: 28px 0 0; color: #b7b7bf; font-size: clamp(17px, 2vw, 21px); line-height: 1.55; }
.hero-actions { position: relative; z-index: 2; display: flex; align-items: center; gap: 18px; margin-top: 32px; }
.primary-button { display: flex; align-items: center; gap: 10px; padding: 14px 21px; border: 0; border-radius: 999px; background: #3d2025; color: #a76e75; font-weight: 800; }
.primary-button.live-ready { color: #100e08; background: linear-gradient(135deg,var(--gold-bright),var(--gold)); cursor: pointer; box-shadow: 0 14px 42px rgba(246,200,72,.25); }
@media (hover: hover) and (pointer: fine) {
.primary-button.live-ready:hover { background: linear-gradient(135deg,#ffe08a,#dfba42); transform: translateY(-2px); }
}
.primary-button.live-ready .hero-live-icon { color: var(--gold-bright); background: #100e08; box-shadow: 0 8px 20px rgba(0,0,0,.28); }
@media (hover: hover) and (pointer: fine) {
.primary-button.live-ready:hover .hero-live-icon { transform: scale(1.04); }
}
.primary-button.live-playing { color: var(--gold-bright); border-color: rgba(240,195,69,.7); background: rgba(23,20,12,.94); box-shadow: 0 0 0 5px rgba(246,200,72,.08), 0 14px 42px rgba(0,0,0,.28); }
@media (hover: hover) and (pointer: fine) {
.primary-button.live-playing:hover { background: #211d11; }
}
.primary-button.live-playing .hero-live-icon { padding-left: 0; color: #100e08; background: var(--gold-bright); font-size: 21px; }
.preview-note { max-width: 280px; color: #6e6e77; font-size: 12px; line-height: 1.45; }
.hero-art { position: absolute; right: -60px; top: 42px; width: min(43vw, 530px); aspect-ratio: 1; border-radius: 50%; background: linear-gradient(145deg, #ef263c, #710d19 62%, #150407); box-shadow: -30px 40px 120px rgba(240,40,60,.2); }
.hero-monogram { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(70px, 10vw, 142px); font-weight: 950; letter-spacing: -.11em; transform: translateX(-.04em); }
.signal { position: absolute; inset: 50%; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; transform: translate(-50%,-50%); }
.signal-one { width: 68%; height: 68%; }.signal-two { width: 82%; height: 82%; }.signal-three { width: 96%; height: 96%; }
.content-section { padding: 64px clamp(32px, 6vw, 88px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-heading h2 { margin: 0; font-size: clamp(29px, 4vw, 44px); letter-spacing: -.045em; }
.section-kicker { margin-bottom: 9px; }
.coming-soon, .offline-pill { color: #9797a1; background: #1c1c21; border: 1px solid #2b2b31; border-radius: 999px; padding: 7px 11px; font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.live-card { display: grid; grid-template-columns: 112px 1fr auto; align-items: center; gap: 24px; padding: 20px; border: 1px solid #29292f; border-radius: 18px; background: linear-gradient(110deg, #17171c, #101013); }
.live-card-art, .now-playing-art { position: relative; display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: linear-gradient(145deg, #f0283c, #7a0e1a); font-weight: 950; letter-spacing: -.08em; }
.live-card-art img { position: absolute; inset: 0; display: none; width: 100%; height: 100%; object-fit: cover; }.live-card-art.has-art img { display: block; }
.live-card-copy h3 { margin: 12px 0 5px; font-size: 22px; }.live-card-copy p { margin: 0; color: #8d8d97; line-height: 1.5; }
.live-card-copy .live-duration { margin-top: 8px; color: #b2b2bb; font-size: 12px; font-weight: 750; }
.offline-pill { padding: 5px 8px; color: #b0b0b9; }
.offline-pill.on-air { border-color: rgba(78,215,131,.32); color: #a5e7c0; background: #14251c; }
.round-button { width: 50px; height: 50px; border: 0; border-radius: 50%; background: #2a171a; color: #8d545b; }
.round-button.live-ready { color: #fff; background: #ef3045; cursor: pointer; }
@media (hover: hover) and (pointer: fine) {
.round-button.live-ready:hover { background: #fa4053; transform: scale(1.04); }
}
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.episode-card { min-width: 0; padding: 16px; background: #141418; border: 1px solid #232329; border-radius: 15px; }
.episode-art { position: relative; display: flex; align-items: end; aspect-ratio: 1; padding: 18px; overflow: hidden; border-radius: 10px; font-size: clamp(27px, 3.6vw, 52px); font-weight: 950; line-height: .82; letter-spacing: -.065em; }
.episode-art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }.episode-art.has-art .episode-art-label { display: none; }.episode-art > .episode-play-button { position: relative; z-index: 1; margin-left: auto; }
.episode-art.red { background: linear-gradient(145deg,#e9c65a,#5f4610); }.episode-art.violet { background: linear-gradient(145deg,#caa43a,#40300d); }.episode-art.amber { background: linear-gradient(145deg,#f5d06a,#713f00); }
.episode-card h3 { margin: 17px 2px 7px; font-size: 18px; }.episode-card p { margin: 0 2px 5px; color: #85858f; font-size: 14px; line-height: 1.5; }
.archive-toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 22px; }
.filter-button, .load-more { border: 1px solid #303038; border-radius: 999px; background: #151519; color: #9b9ba5; font-size: 13px; font-weight: 750; }
.filter-button { padding: 8px 13px; }@media (hover: hover) and (pointer: fine) {.filter-button:hover { border-color: #565661; background: #24242a; color: #fff; }
}.filter-button.active { border-color: #565661; background: #24242a; color: #fff; }
.filter-button:focus-visible, .load-more:focus-visible { outline: none; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
.filter-button:hover { border-color: #76652d; background: #2c2718; color: var(--gold-bright); }
}
.filter-button.active { border-color: #76652d; background: #2c2718; color: var(--gold-bright); }
.archive-status { min-height: 24px; margin: 0 0 18px; color: #85858f; font-size: 14px; }
.archive-status[hidden] { display: none; }
.archive-card { display: flex; flex-direction: column; cursor: pointer; transition: border-color .16s ease, transform .16s ease, background .16s ease; }
@media (hover: hover) and (pointer: fine) {
.archive-card:hover { border-color: #66582d; background: #191712; transform: translateY(-2px); }
}
.archive-card.selected { border-color: #66582d; background: #191712; transform: translateY(-2px); }
.archive-card:focus-visible { outline: none; outline-offset: 3px; }
.archive-card .episode-art { align-items: end; justify-content: space-between; gap: 12px; }
.archive-card .episode-art span { max-width: 100%; overflow-wrap: anywhere; }
.episode-play-button { display: grid; flex: 0 0 48px; place-items: center; width: 48px; height: 48px; padding: 0 0 0 3px; border: 1px solid rgba(255,255,255,.34); border-radius: 50%; color: #fff; background: rgba(10,10,12,.72); cursor: pointer; font-size: 15px; box-shadow: 0 7px 22px rgba(0,0,0,.28); }
@media (hover: hover) and (pointer: fine) {
.episode-play-button:hover { border-color: #fff; background: #0a0a0c; transform: scale(1.04); }
}
.episode-play-button:focus-visible { outline: none; outline-offset: 3px; }
.episode-card .episode-meta { margin-top: 16px; color: var(--gold-bright); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.episode-card.archive-card h3 { margin-top: 8px; }
.episode-card .episode-description { display: -webkit-box; overflow: hidden; min-height: 42px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.member-label { align-self: flex-start; margin: 14px 2px 2px; color: #aaaab3; font-size: 11px; font-weight: 750; }
.episode-progress { margin-top: 14px; }
.episode-progress-label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 7px; color: #aaaab3; font-size: 11px; }
.episode-progress-track { height: 4px; overflow: hidden; border-radius: 999px; background: #303038; }
.episode-progress-track span { display: block; height: 100%; border-radius: inherit; background: var(--gold); }
.load-more { display: block; margin: 24px auto 0; padding: 10px 18px; cursor: pointer; }
.load-more[hidden] { display: none; }.load-more:disabled { opacity: .55; }
.library-note { display: flex; align-items: center; gap: 15px; margin-top: 30px; padding: 18px; border: 1px solid #29292f; border-radius: 15px; background: #111115; }
.library-note-mark { display: grid; flex: 0 0 52px; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: linear-gradient(145deg,#ffb52e,#713600); font-size: 12px; font-weight: 950; }
.library-note strong { font-size: 14px; }.library-note p { margin: 5px 0 0; color: #81818a; font-size: 13px; line-height: 1.45; }
.library-note { align-items: flex-start; }.library-note-content { min-width: 0; flex: 1; }
.podcast-feed-result { margin-top: 16px; }.podcast-feed-result label { display: block; margin-bottom: 7px; color: #d2d2d8; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.feed-url-row { display: flex; gap: 8px; }.feed-url-row input { min-width: 0; flex: 1; padding: 10px 11px; border: 1px solid #34343c; border-radius: 8px; color: #d7d7dd; background: #09090b; font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; }
.feed-url-row button, .feed-primary, .feed-secondary { border-radius: 8px; cursor: pointer; font-size: 12px; font-weight: 800; }
.feed-url-row button { padding: 0 13px; border: 1px solid #43434c; color: #fff; background: #24242a; }
.podcast-feed-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }.feed-primary, .feed-secondary { padding: 9px 13px; }
.feed-primary { border: 0; color: #100e08; background: var(--gold); }.feed-secondary { border: 1px solid #3a3a42; color: #b9b9c1; background: #1b1b20; }
@media (hover: hover) and (pointer: fine) {
.feed-primary:hover { background: var(--gold-bright); }
}@media (hover: hover) and (pointer: fine) {.feed-secondary:hover, .feed-url-row button:hover { border-color: #5c5c67; background: #27272d; }
}
.podcast-feed-status { min-height: 18px; color: #9c9ca6 !important; }.podcast-feed-actions button:disabled { cursor: wait; opacity: .55; }
.page-account-actions { display: flex; justify-content: center; margin-top: 22px; }
.sign-out-link { padding: 7px 10px; border: 0; color: #777781; background: transparent; cursor: pointer; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
.sign-out-link:hover { color: var(--gold-bright); }
}.sign-out-link[hidden] { display: none; }.sign-out-link:disabled { cursor: wait; opacity: .55; }
.personal-section { border-top: 1px solid #202024; background: #0c0c0f; }
.personal-list { display: grid; gap: 10px; }
.personal-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 18px; padding: 15px 17px; border: 1px solid #29292f; border-radius: 13px; background: #121216; }
.personal-row-main { min-width: 0; }
.personal-row-title { display: block; overflow: hidden; color: #f3f3f5; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.personal-row-meta { display: block; margin-top: 5px; color: #85858f; font-size: 12px; }
.personal-row-actions { display: flex; align-items: center; gap: 8px; }
.personal-row button { padding: 8px 11px; border: 1px solid #3b3b44; border-radius: 8px; color: #f5f5f7; background: #202025; cursor: pointer; font-size: 12px; font-weight: 750; }
@media (hover: hover) and (pointer: fine) {
.personal-row button:hover { border-color: #5b5b65; background: #29292f; }
}
.player { position: fixed; inset: auto 0 0 0; z-index: 30; height: 96px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 14px 28px; border-top: 1px solid #2b2b31; background: rgba(14,14,17,.97); backdrop-filter: blur(22px); }
.player.expandable { cursor: pointer; }.player.expandable .player-controls button { cursor: pointer; }
.player audio { display: none; }
.now-playing { min-width: 0; display: flex; align-items: center; justify-self: start; gap: 12px; padding: 0; border: 0; color: inherit; background: transparent; cursor: pointer; text-align: left; }.now-playing:disabled { cursor: default; }@media (hover: hover) and (pointer: fine) {.now-playing:not(:disabled):hover strong { text-decoration: none; }
}.now-playing-art { flex: 0 0 auto; width: 54px; background: linear-gradient(145deg,#2a2414,#0c0c0d); }.now-playing-art img { width: 92%; height: 92%; object-fit: contain; }.now-playing > span:nth-child(2) { min-width: 0; }.now-playing strong, .now-playing > span:nth-child(2) > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.now-playing strong { font-size: 13px; }.now-playing > span:nth-child(2) > span { margin-top: 4px; color: #6f6f79; font-size: 11px; }.open-player-hint { margin-left: 3px; color: #777781; font-size: 16px; }
.player-controls { display: flex; align-items: center; gap: 18px; }.player-controls button { border: 0; background: transparent; color: #d0d0d6; cursor: pointer; font-size: 18px; }.player-controls button:disabled { color: #5d5d66; cursor: default; }.player-controls .player-play { width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: #100e08; font-size: 14px; }.player-controls .player-play:disabled { background: #2b2b31; color: #707079; }.player-controls button:focus-visible { outline: none; outline-offset: 3px; }
.player-state { justify-self: end; display: flex; align-items: center; gap: 8px; color: #777781; font-size: 12px; }.mini-dot { width: 7px; height: 7px; border-radius: 50%; background: #55555e; box-shadow: none; }.player-state.active .mini-dot { background: #4ed783; box-shadow: 0 0 0 4px rgba(78,215,131,.12); }
.mobile-nav { display: none; }
.expanded-player { width: min(94vw, 960px); max-height: 92vh; padding: 0; overflow: auto; color: #f7f7f8; border: 1px solid #494024; border-radius: 24px; background: radial-gradient(circle at 20% 0%, rgba(246,200,72,.22), transparent 38%), #111115; box-shadow: 0 35px 110px rgba(0,0,0,.75); }
.expanded-player::backdrop { background: rgba(0,0,0,.8); backdrop-filter: blur(8px); }
.expanded-player-close { position: absolute; top: 18px; right: 18px; z-index: 2; }
.expanded-player-layout { display: grid; grid-template-columns: minmax(280px, 430px) minmax(300px, 1fr); align-items: center; gap: clamp(32px, 6vw, 72px); padding: clamp(50px, 7vw, 78px); }
.expanded-art-shell { position: relative; display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border-radius: 22px; background: #0b0b0d url('/assets/kyle-portrait.png') center / 86% no-repeat; box-shadow: 0 28px 70px rgba(0,0,0,.48); }
.expanded-art-shell::before { content: ""; }
.expanded-art-shell img { position: absolute; inset: 0; width: 100%; height: 100%; display: none; object-fit: cover; }.expanded-art-shell.has-art img { display: block; }
.expanded-player-copy { min-width: 0; }.expanded-player-copy h2 { margin: 8px 0 8px; font-size: clamp(32px, 5vw, 54px); line-height: .98; letter-spacing: -.055em; }.expanded-player-copy > #expanded-player-show { margin: 0; color: #d5d5da; font-weight: 750; }.expanded-player-description { display: -webkit-box; max-width: 54ch; margin: 22px 0 28px; overflow: hidden; color: #95959f; font-size: 14px; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.expanded-timeline input { width: 100%; accent-color: var(--gold); cursor: pointer; }.expanded-timeline input:disabled { cursor: default; }.expanded-timeline > div { display: flex; justify-content: space-between; margin-top: 5px; color: #85858f; font-size: 11px; font-variant-numeric: tabular-nums; }
.expanded-timeline[hidden], .expanded-live-indicator[hidden] { display: none; }
.expanded-live-indicator { display: flex; align-items: center; justify-content: center; min-height: 30px; color: var(--gold-bright); font-size: 13px; font-weight: 900; letter-spacing: .16em; }
.expanded-controls { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 3vw, 28px); margin: 25px 0 18px; }.expanded-controls button { position: relative; border: 0; color: #d8d8dd; background: transparent; cursor: pointer; font-size: 17px; }.expanded-controls button:disabled { color: #56565f; cursor: default; }.expanded-controls .expanded-play { width: 62px; height: 62px; border-radius: 50%; color: #100e08; background: var(--gold); font-size: 19px; }.expanded-controls .expanded-play:disabled { color: #777780; background: #2b2b31; }.expanded-controls small { position: absolute; left: 50%; top: 50%; font-size: 8px; font-weight: 900; transform: translate(-50%,-45%); }
.playback-tools { display: flex; align-items: flex-start; justify-content: center; gap: 22px; margin-top: 18px; }
.player-tool-menu { position: relative; }
.player-tool { min-width: 58px; display: grid; justify-items: center; gap: 6px; padding: 8px 7px; border: 0; border-radius: 12px; color: #b9b9c1; background: transparent; cursor: pointer; }
@media (hover: hover) and (pointer: fine) {
.player-tool:hover { color: var(--gold-bright); background: rgba(255,255,255,.055); }
}
.player-tool[aria-expanded="true"] { color: var(--gold-bright); background: rgba(255,255,255,.055); }
.player-tool.active { color: var(--gold-bright); }
.player-tool[hidden] { display: none; }
.player-tool:disabled { color: #55555e; cursor: default; background: transparent; }
.player-tool:focus-visible { outline: none; outline-offset: 2px; }
.player-tool-icon, .speed-symbol { width: 28px; height: 28px; display: grid; place-items: center; }
.player-tool-icon svg { width: 25px; height: 25px; overflow: visible; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.speed-symbol { border: 1.5px solid currentColor; border-radius: 50%; font-size: 11px; font-weight: 850; letter-spacing: -.03em; }
.player-tool-caption { max-width: 72px; overflow: hidden; font-size: 10px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.player-tool-popover { position: absolute; z-index: 5; left: 50%; bottom: calc(100% + 8px); width: 150px; padding: 6px; border: 1px solid #3a3a42; border-radius: 12px; background: #1b1b20; box-shadow: 0 16px 45px rgba(0,0,0,.5); transform: translateX(-50%); }
.player-tool-popover[hidden] { display: none; }
.player-tool-popover button { width: 100%; padding: 9px 10px; border: 0; border-radius: 7px; color: #d8d8de; background: transparent; cursor: pointer; font-size: 12px; text-align: left; }
@media (hover: hover) and (pointer: fine) {
.player-tool-popover button:hover { color: #100e08; background: var(--gold); }
}
.player-tool-popover button[aria-checked="true"] { color: #100e08; background: var(--gold); }
.airplay-button { margin: 0; }
.episode-navigation { grid-column: 1 / -1; min-width: 0; padding-top: 2px; border-top: 1px solid rgba(255,255,255,.1); }
.episode-navigation[hidden] { display: none; }
.episode-navigation-tabs { display: flex; gap: 8px; margin: 22px 0 14px; }
.episode-navigation-tabs button { padding: 9px 15px; border: 1px solid #3c3c44; border-radius: 999px; color: #aaaab3; background: #1a1a1f; cursor: pointer; font-size: 12px; font-weight: 800; }
.episode-navigation-tabs button[aria-selected="true"] { border-color: #777780; color: #100e08; background: var(--gold); }
.episode-navigation-panel { max-height: min(38vh, 360px); overflow: auto; padding: 4px 2px 2px; scrollbar-color: #55555e transparent; }
.chapter-list { display: grid; gap: 7px; }
.chapter-button { width: 100%; display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid #303038; border-radius: 11px; color: #dedee3; background: #18181d; cursor: pointer; text-align: left; }
@media (hover: hover) and (pointer: fine) {
.chapter-button:hover { border-color: #71612c; background: #272217; }
}
.chapter-button.active { border-color: #71612c; background: #272217; }
.chapter-button.active { color: var(--gold-bright); }
.chapter-time { color: #888892; font-size: 11px; font-variant-numeric: tabular-nums; }
.chapter-title { font-size: 13px; font-weight: 750; }
.transcript-search { position: sticky; z-index: 2; top: 0; display: block; padding: 4px 0 12px; color: #9b9ba5; background: #111115; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.transcript-search input { width: 100%; margin-top: 7px; padding: 11px 12px; border: 1px solid #3b3b43; border-radius: 9px; outline: none; color: #f3f3f5; background: #0d0d10; font: inherit; font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.transcript-search input:focus { border-color: #777780; box-shadow: none; }
.transcript-cues { display: grid; gap: 5px; }
.transcript-cue { width: 100%; display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 10px; padding: 11px 12px; border: 0; border-radius: 9px; color: #d2d2d8; background: transparent; cursor: pointer; text-align: left; }
@media (hover: hover) and (pointer: fine) {
.transcript-cue:hover { background: #22221c; }
}
.transcript-cue.active { background: #22221c; }
.transcript-cue.active { color: #fff; }
.transcript-time { color: #7f7f89; font-size: 10px; font-variant-numeric: tabular-nums; }
.transcript-copy { min-width: 0; font-size: 13px; line-height: 1.55; }
.transcript-speaker { display: block; margin-bottom: 3px; color: var(--gold-bright); font-size: 10px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.episode-content-status { margin: 8px 0; color: #898993; font-size: 13px; }
.account-dialog { width: min(92vw, 470px); padding: 0; color: #f7f7f8; border: 1px solid #34343c; border-radius: 20px; background: #141418; box-shadow: 0 28px 90px rgba(0,0,0,.65); }
.account-dialog::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(5px); }
.dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 25px 25px 17px; border-bottom: 1px solid #29292f; }
.dialog-header h2 { margin: 3px 0 0; font-size: 27px; letter-spacing: -.04em; }
.dialog-kicker { margin: 0; color: var(--gold-bright); font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.dialog-close { width: 36px; height: 36px; border: 1px solid #34343c; border-radius: 50%; color: #aaaab3; background: #1d1d22; cursor: pointer; font-size: 24px; line-height: 1; }
#signed-out-panel { padding: 23px 25px 7px; }
.dialog-copy { margin: 0 0 20px; color: #a2a2ac; font-size: 14px; line-height: 1.6; }
#password-sign-in-form, #magic-link-form { display: grid; gap: 10px; }
#password-sign-in-form label, #magic-link-form label { color: #d7d7dc; font-size: 13px; font-weight: 750; }
#member-email, #member-password, #magic-link-email { width: 100%; padding: 13px 14px; border: 1px solid #3a3a43; border-radius: 10px; outline: none; color: #fff; background: #0d0d10; }
#member-email:focus, #member-password:focus, #magic-link-email:focus { border-color: #777780; box-shadow: none; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: #71717b; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.auth-divider::before, .auth-divider::after { height: 1px; flex: 1; content: ""; background: #303037; }
#magic-link-form p { margin: 0 0 2px; color: #a2a2ac; font-size: 13px; }
.dialog-primary, .dialog-secondary { margin-top: 5px; padding: 13px 16px; border-radius: 10px; cursor: pointer; font-weight: 800; }
.dialog-primary { border: 0; color: #100e08; background: var(--gold); }
@media (hover: hover) and (pointer: fine) {
.dialog-primary:hover { background: var(--gold-bright); }
}
.dialog-secondary { width: 100%; border: 1px solid #3a3a43; color: #d3d3d9; background: #1b1b20; }
.member-summary { display: flex; align-items: center; gap: 13px; }
.member-avatar { display: grid; place-items: center; overflow: hidden; width: 48px; height: 48px; border-radius: 12px; background: #0a0a0c; }.member-avatar img { width: 94%; height: 94%; object-fit: contain; }
.member-summary strong, .member-summary span { display: block; }
.member-summary span { margin-top: 4px; color: #898993; font-size: 12px; }
.membership-state { margin: 18px 0 9px; padding: 12px 13px; border: 1px solid #3b3032; border-radius: 10px; color: #d0a3a8; background: #24171a; font-size: 13px; line-height: 1.45; }
.membership-state.active { border-color: #274737; color: #a5e7c0; background: #14251c; }
.auth-status { min-height: 20px; margin: 12px 25px 24px; color: #9d9da7; font-size: 13px; line-height: 1.45; }
.auth-status.success { color: #86d8a8; }.auth-status.error { color: #ff8d99; }
.dialog-primary:disabled, .dialog-secondary:disabled { cursor: wait; opacity: .6; }
.dialog-close:focus-visible, .dialog-primary:focus-visible, .dialog-secondary:focus-visible, .sign-out-link:focus-visible { outline: none; outline-offset: 3px; }
@media (max-width: 800px) {
	.app-shell { display: block; padding: 0 0 76px; }.side-nav { display: none; } main { display: block; }
	.hero { min-height: 540px; padding: 58px 22px 250px; }.hero h1 { font-size: clamp(49px, 15vw, 76px); }.hero-copy { font-size: 16px; }.hero-actions { align-items: flex-start; flex-direction: column; }.hero-art { width: 300px; right: -55px; top: auto; bottom: -70px; }
	.content-section { padding: 47px 18px; }.live-card { grid-template-columns: 72px 1fr; gap: 15px; padding: 15px; }.live-card .round-button { display: none; }.live-card-copy h3 { font-size: 18px; }.live-card-copy p { font-size: 13px; }
	.card-grid { grid-template-columns: 1fr 1fr; }.episode-art { font-size: clamp(27px, 8vw, 42px); }
	.live-launch { min-height: 220px; padding: 48px 18px; }.live-launch::before { right: -42px; bottom: -75px; width: 230px; height: 230px; }.live-launch .primary-button { min-width: min(88vw,380px); min-height: 88px; gap: 14px; padding: 15px 24px; }.hero-live-icon { flex-basis: 52px; width: 52px; height: 52px; font-size: 22px; }
	.player { height: 76px; grid-template-columns: 1fr auto; padding: 10px 15px; }.now-playing-art { width: 48px; }.player-controls { gap: 8px; }.player-controls #rewind-button, .player-controls #forward-button, .player-state { display: none; }.player-controls .player-play { width: 39px; height: 39px; }
	.open-player-hint { display: none; }.expanded-player { width: 100vw; max-width: none; height: 100dvh; max-height: none; border: 0; border-radius: 0; }.expanded-player-layout { grid-template-columns: 1fr; gap: 30px; min-height: 100%; padding: 72px 24px 34px; }.expanded-art-shell { width: min(68vw, 340px); margin: 0 auto; border-radius: 18px; }.expanded-player-copy { text-align: center; }.expanded-player-copy h2 { font-size: clamp(30px, 9vw, 46px); }.expanded-player-description { margin: 16px auto 24px; }.expanded-controls { gap: clamp(12px, 5vw, 24px); }
	.episode-navigation { text-align: left; }.episode-navigation-panel { max-height: 42vh; }.transcript-search { background: #111115; }
	.personal-row { grid-template-columns: 1fr; gap: 12px; }.personal-row-actions { justify-content: flex-start; }.playback-tools { gap: 14px; }
}
@media (max-width: 480px) { .card-grid { grid-template-columns: 1fr; }.episode-art { aspect-ratio: 16 / 10; }.coming-soon { display: none; } }
@media (prefers-color-scheme: light) {
	:root {
		--gold: #f6c848;
		--gold-bright: #d0a000;
		--gold-deep: #b48700;
		--gold-soft: rgba(246,200,72,.14);
		background: #f6f4ee;
		color: #171717;
	}
	body { background: #f6f4ee; }
	.skip-link { color: #fff; background: #171717; }
	.side-nav { border-right-color: #dedbd2; background: #eeece6; }
	.nav-item { color: #696760; }
	@media (hover: hover) and (pointer: fine) {
	.nav-item:hover { color: #171717; background: #dedbd3; }
	}
	.nav-item.active { color: #171717; background: #dedbd3; }
	.nav-item.active { color: var(--gold-deep); }
	.nav-rule { background: #d5d1c7; }
	.nav-label { color: #807d75; }
	.live-launch { border-bottom-color: #ddd6c3; background: radial-gradient(circle at 50% 45%, rgba(246,200,72,.2), transparent 46%), #f2efe6; }
	.live-launch::before { opacity: .08; }
	.live-launch .primary-button { border-color: #c9b776; color: #b48700; background: #f1e9d1; }
	.hero-live-icon { color: #b48700; background: #fffdf8; box-shadow: inset 0 0 0 1px rgba(50,40,10,.08); }
	.primary-button.live-ready { color: #17130a; background: linear-gradient(135deg,#e4c460,#c59a1e); box-shadow: 0 14px 38px rgba(126,91,0,.2); }
	@media (hover: hover) and (pointer: fine) {
	.primary-button.live-ready:hover { background: linear-gradient(135deg,#efd274,#caa127); }
	}
	.primary-button.live-ready .hero-live-icon { color: #ffe783; background: #17130a; }
	.primary-button.live-playing { color: #b48700; border-color: #b5953b; background: #fff9e8; box-shadow: 0 0 0 5px rgba(246,200,72,.08), 0 14px 36px rgba(60,45,0,.12); }
	@media (hover: hover) and (pointer: fine) {
	.primary-button.live-playing:hover { background: #f8efd7; }
	}
	.primary-button.live-playing .hero-live-icon { color: #17130a; background: #c9a02b; }
	.hero { color: #171717; border-bottom-color: #dedbd2; background: radial-gradient(circle at 75% 25%, rgba(246,200,72,.2), transparent 34%), linear-gradient(145deg,#fbfaf6 0%,#eeece6 72%); }
	.hero-copy, .preview-note { color: #66635d; }
	.coming-soon, .offline-pill { color: #68665f; border-color: #d4d0c7; background: #eae7e0; }
	.live-card { border-color: #d9d5cc; background: linear-gradient(110deg,#fff,#f0eee8); }
	.live-card-copy p, .live-card-copy .live-duration { color: #68665f; }
	.offline-pill.on-air { border-color: #8ecaa6; color: #1d693d; background: #e4f4ea; }
	.episode-card { border-color: #dcd8cf; background: #fff; box-shadow: 0 8px 28px rgba(38,31,15,.05); }
	.episode-card p, .archive-status, .personal-row-meta { color: #6b6861; }
	.filter-button, .load-more { border-color: #d3cfc6; color: #5f5c56; background: #efede7; }
	@media (hover: hover) and (pointer: fine) {
	.filter-button:hover { border-color: #b49949; color: #b48700; background: #eee4c8; }
	}
	.filter-button.active { border-color: #b49949; color: #b48700; background: #eee4c8; }
	@media (hover: hover) and (pointer: fine) {
	.archive-card:hover { border-color: #b49949; background: #fffaf0; }
	}
	.archive-card.selected { border-color: #b49949; background: #fffaf0; }
	.member-label, .episode-progress-label { color: #68665f; }
	.episode-progress-track { background: #ddd9d0; }
	.library-note { border-color: #d9d5cc; background: #fff; }
	.library-note p, .podcast-feed-status { color: #68665f !important; }
	.podcast-feed-result label { color: #3b3934; }
	.feed-url-row input { border-color: #ccc8be; color: #292721; background: #f7f5ef; }
	.feed-url-row button, .feed-secondary { border-color: #c9c5bc; color: #292721; background: #ece9e2; }
	@media (hover: hover) and (pointer: fine) {
	.feed-secondary:hover, .feed-url-row button:hover { border-color: #aaa59a; background: #e2ded5; }
	}
	.sign-out-link { color: #69665f; }
	.personal-section { border-top-color: #dedbd2; background: #eeece6; }
	.personal-row { border-color: #d9d5cc; background: #fff; }
	.personal-row-title { color: #24221e; }
	.personal-row button { border-color: #c9c5bc; color: #24221e; background: #ece9e2; }
	@media (hover: hover) and (pointer: fine) {
	.personal-row button:hover { border-color: #aaa59a; background: #e2ded5; }
	}
	.player { border-top-color: #d5d1c8; background: rgba(250,249,245,.97); box-shadow: 0 -10px 35px rgba(42,35,20,.06); }
	.now-playing-art { background: linear-gradient(145deg,#eee4c8,#d8d3c9); }
	.now-playing > span:nth-child(2) > span, .open-player-hint, .player-state { color: #68665f; }
	.player-controls button { color: #37342f; }
	.player-controls button:disabled { color: #aaa69d; }
	.player-controls .player-play:disabled { color: #8c887f; background: #ddd9d0; }
	.mini-dot { background: #aaa69d; }
	.expanded-player { color: #171717; border-color: #c7b77d; background: radial-gradient(circle at 20% 0%, rgba(246,200,72,.2), transparent 38%), #fbfaf6; box-shadow: 0 35px 110px rgba(45,36,15,.25); }
	.expanded-player::backdrop, .account-dialog::backdrop { background: rgba(32,29,22,.5); }
	.expanded-art-shell { background-color: #ece8df; box-shadow: 0 28px 70px rgba(45,36,15,.2); }
	.expanded-player-copy > #expanded-player-show { color: #3e3b35; }
	.expanded-player-description, .expanded-timeline > div { color: #68665f; }
	.expanded-controls button { color: #37342f; }
	.expanded-controls button:disabled { color: #aaa69d; }
	.expanded-controls .expanded-play:disabled { color: #8c887f; background: #ddd9d0; }
	.player-tool { color: #5d5a54; }
	@media (hover: hover) and (pointer: fine) {
	.player-tool:hover { color: var(--gold-deep); background: rgba(60,48,15,.07); }
	}
	.player-tool[aria-expanded="true"] { color: var(--gold-deep); background: rgba(60,48,15,.07); }
	.player-tool-popover { border-color: #ccc8be; background: #fff; box-shadow: 0 16px 45px rgba(45,36,15,.18); }
	.player-tool-popover button { color: #34312c; }
	.account-dialog { color: #171717; border-color: #d0ccc3; background: #fbfaf6; box-shadow: 0 28px 90px rgba(45,36,15,.25); }
	.dialog-header { border-bottom-color: #dcd8cf; }
	.dialog-close { border-color: #ccc8be; color: #5f5c56; background: #ece9e2; }
	.dialog-copy, #magic-link-form p, .auth-status { color: #65625c; }
	#password-sign-in-form label, #magic-link-form label { color: #34312c; }
	#member-email, #member-password, #magic-link-email { border-color: #c9c5bc; color: #171717; background: #fff; }
	.auth-divider { color: #77736b; }
	.auth-divider::before, .auth-divider::after { background: #d4d0c7; }
	.dialog-secondary { border-color: #c9c5bc; color: #292721; background: #ece9e2; }
	.auth-status.success { color: #247044; }
	.auth-status.error { color: #b52332; }
}
/* App-inspired catalogue styling, based on the KSL mobile experience. */
.side-nav { border-right-color: #30333c; background: #181a23; }
.nav-item { color: #b9bbc2; }
@media (hover: hover) and (pointer: fine) {
.nav-item:hover { color: #fff; background: #343842; }
}
.nav-item.active { color: #fff; background: #343842; }
.nav-item.active { color: #fff; }
.top-filter-shell { padding: 30px clamp(32px, 6vw, 88px) 18px; background: #181a23; }
.archive-toolbar.top-catalog-tabs { flex-wrap: nowrap; gap: 12px; margin: 0; overflow-x: auto; scrollbar-width: none; }
.archive-toolbar.top-catalog-tabs::-webkit-scrollbar { display: none; }
.top-catalog-tabs .filter-button { flex: 0 0 auto; padding: 12px 22px; border: 0; border-radius: 17px; color: #f2f2f4; background: #3b3f48; font-size: 16px; font-weight: 550; line-height: 1.15; }
@media (hover: hover) and (pointer: fine) {
.top-catalog-tabs .filter-button:hover { color: #fff; background: #4a4e58; }
}
.top-catalog-tabs .filter-button.active { color: #181a23; background: #fff; }
.live-launch { border-bottom-color: #30333c; background: radial-gradient(circle at 50% 45%, rgba(246,200,72,.13), transparent 46%), #181a23; }
.content-section { background: #181a23; }
.section-heading h2 { font-weight: 720; letter-spacing: -.025em; }
.section-kicker { font-weight: 760; letter-spacing: .11em; }
.episode-card { border-color: #2c3039; background: #20232c; }
@media (hover: hover) and (pointer: fine) {
.archive-card:hover { border-color: #565b66; background: #252933; }
}
.archive-card.selected { border-color: #565b66; background: #252933; }
.episode-card h3 { font-weight: 620; letter-spacing: -.015em; }
.library-note { border-color: #30333c; background: #20232c; }
.player { border-top-color: #30333c; background: rgba(24,26,35,.98); }
.account-dialog { border-color: #393d47; background: #20232c; }
.expanded-player { background: radial-gradient(circle at 20% 0%, rgba(246,200,72,.18), transparent 38%), #20232c; }

@media (max-width: 800px) {
	.top-filter-shell { padding: 24px 18px 14px; }
	.top-catalog-tabs .filter-button { padding: 11px 19px; border-radius: 16px; font-size: 15px; }
	.content-section { padding-top: 46px; }
}

@media (prefers-color-scheme: light) {
	:root, body { background: #fff; color: #171821; }
	.side-nav { border-right-color: #ececf0; background: #fff; }
	.nav-item { color: #63656d; }
	@media (hover: hover) and (pointer: fine) {
	.nav-item:hover { color: #171821; background: #f0f0f2; }
	}
	.nav-item.active { color: #171821; background: #f0f0f2; }
	.top-filter-shell { background: #fff; }
	.top-catalog-tabs .filter-button { color: #171821; background: #f0f0f2; }
	@media (hover: hover) and (pointer: fine) {
	.top-catalog-tabs .filter-button:hover { color: #171821; background: #e4e4e7; }
	}
	.top-catalog-tabs .filter-button.active { color: #fff; background: #181a23; }
	.live-launch { border-bottom-color: #eeeeF1; background: radial-gradient(circle at 50% 45%, rgba(246,200,72,.12), transparent 46%), #fff; }
	.content-section { background: #fff; }
	.episode-card { border-color: transparent; background: #f5f5f7; box-shadow: none; }
	@media (hover: hover) and (pointer: fine) {
	.archive-card:hover { border-color: #d7d7dc; background: #f0f0f2; }
	}
	.archive-card.selected { border-color: #d7d7dc; background: #f0f0f2; }
	.library-note { border-color: #e5e5e9; background: #f5f5f7; }
	.player { border-top-color: #e6e6ea; background: rgba(255,255,255,.98); box-shadow: 0 -8px 28px rgba(20,22,30,.06); }
	.account-dialog { border-color: #e0e0e4; background: #fff; }
	.expanded-player { background: radial-gradient(circle at 20% 0%, rgba(246,200,72,.13), transparent 38%), #fff; }
	.episode-navigation { border-top-color: #e1e1e5; }
	.episode-navigation-tabs button { border-color: #d5d5da; color: #5f6169; background: #f0f0f2; }
	.episode-navigation-tabs button[aria-selected="true"] { border-color: #181a23; color: #fff; background: #181a23; }
	.chapter-button { border-color: #e2e2e6; color: #272832; background: #f7f7f8; }
	@media (hover: hover) and (pointer: fine) {
	.chapter-button:hover { border-color: #c1ab65; background: #f5eedb; }
	}
	.chapter-button.active { border-color: #c1ab65; background: #f5eedb; }
	.chapter-time, .transcript-time, .episode-content-status { color: #73757d; }
	.transcript-search { color: #686a72; background: #fff; }
	.transcript-search input { border-color: #d5d5da; color: #171821; background: #f7f7f8; }
	.transcript-cue { color: #34353e; }
	@media (hover: hover) and (pointer: fine) {
	.transcript-cue:hover { background: #f2eee2; }
	}
	.transcript-cue.active { background: #f2eee2; }
	.transcript-cue.active { color: #171821; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Full-screen now-playing page */
.expanded-player { position: fixed; inset: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; overflow: clip; overscroll-behavior: none; color: #f7f7f8; border: 0; border-radius: 0; background: radial-gradient(circle at 28% 12%, rgba(246,200,72,.17), transparent 34%), #20232c; box-shadow: none; scrollbar-width: none; }
.expanded-player::-webkit-scrollbar { display: none; }
.expanded-player::backdrop { background: #20232c; backdrop-filter: none; }
.expanded-player-close { position: fixed; z-index: 12; top: max(16px, env(safe-area-inset-top)); left: 50%; width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; color: #f2f2f4; background: rgba(255,255,255,.1); cursor: pointer; transform: translateX(-50%); }
.expanded-player-close svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) {
.expanded-player-close:hover { background: rgba(255,255,255,.18); }
}
.expanded-player-close:focus-visible { outline: none; outline-offset: 3px; }
body.player-page-open { position: fixed; inset: 0; width: 100%; overflow: hidden; overscroll-behavior: none; }
.expanded-player-layout { position: relative; width: min(100%, 1120px); height: 100%; margin: 0 auto; display: grid; grid-template-columns: minmax(320px, 480px) minmax(340px, 1fr); grid-template-rows: 1fr; align-items: center; gap: clamp(44px, 7vw, 90px); padding: clamp(76px, 8vh, 100px) clamp(40px, 7vw, 88px) clamp(42px, 6vh, 70px); overflow: hidden; }
.expanded-art-shell { width: 100%; max-width: 480px; justify-self: end; border-radius: 22px; }
.expanded-player-copy { width: 100%; min-width: 0; max-width: 520px; }
.expanded-episode-heading { display: grid; grid-template-columns: 58px minmax(0,1fr); align-items: center; gap: 14px; min-width: 0; }
.expanded-show-art { display: block; width: 58px; aspect-ratio: 1; overflow: hidden; border-radius: 11px; background: #111; }
.expanded-show-art img { width: 100%; height: 100%; object-fit: cover; }
.expanded-episode-heading-copy { min-width: 0; }
.expanded-title-viewport { max-width: 100%; overflow: hidden; mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 24px), transparent 100%); }
.expanded-player-copy .expanded-title-viewport h2 { width: max-content; min-width: 100%; margin: 4px 0 3px; white-space: nowrap; font-size: clamp(25px, 3.2vw, 42px); line-height: 1.08; letter-spacing: -.035em; }
.expanded-player-copy .expanded-title-viewport h2.scrolling { animation: expanded-title-scroll var(--title-duration, 10s) ease-in-out 1.2s infinite alternate; }
@keyframes expanded-title-scroll { 0%, 12% { transform: translateX(0); } 88%, 100% { transform: translateX(var(--title-shift)); } }
.expanded-player-copy > .expanded-player-description { margin: 24px 0; }
.expanded-controls { min-height: 72px; gap: clamp(10px, 2vw, 22px); margin: 22px 0 10px; }
.expanded-controls > button:not(.expanded-play) { width: 50px; height: 50px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; color: inherit; background: transparent; font-size: 25px; transition: background .18s ease, transform .12s ease; }
@media (hover: hover) and (pointer: fine) {
.expanded-controls > button:not(.expanded-play):hover { background: rgba(255,255,255,.08); }
}
.expanded-controls .expanded-play { width: 70px; height: 70px; display: grid; place-items: center; padding: 0; font-size: 23px; }
.expanded-play::before { content: ""; width: 0; height: 0; margin-left: 4px; border-top: 11px solid transparent; border-bottom: 11px solid transparent; border-left: 17px solid currentColor; }
.expanded-play.is-playing::before { width: 18px; height: 23px; margin-left: 0; border: 0; border-right: 6px solid currentColor; border-left: 6px solid currentColor; }
.seek-symbol { position: relative; width: 36px; height: 36px; display: grid; place-items: center; }
.seek-symbol svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.seek-symbol b { position: relative; margin-top: 3px; font-size: 10px; font-weight: 800; letter-spacing: -.04em; }
.expanded-controls .player-tool { min-width: 50px; padding: 6px; }
.expanded-controls .player-tool-caption { display: none; }
.expanded-controls .speed-symbol, .expanded-controls .player-tool-icon { width: 34px; height: 34px; }
.expanded-controls .speed-symbol { border: 0; font-size: 16px; }
.expanded-controls .player-tool-icon svg { width: 29px; height: 29px; }
.expanded-controls .player-tool-menu { z-index: 7; }
#playback-speed-menu { left: 0; transform: none; }
#sleep-timer-menu { right: 0; left: auto; transform: none; }
.expanded-controls .player-tool-popover { width: 164px; max-height: min(300px, 44dvh); overflow-y: auto; overscroll-behavior: contain; }
.playback-actions { display: grid; grid-template-columns: repeat(3, minmax(72px, 1fr)); gap: 12px; margin-top: 16px; }
.player-action { min-width: 0; display: grid; justify-items: center; gap: 7px; padding: 10px 8px; border: 0; border-radius: 13px; color: #b9bbc2; background: transparent; cursor: pointer; }
.player-action > span:first-child { height: 27px; display: grid; place-items: center; font-size: 25px; line-height: 1; }
.player-action-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.player-action small, .player-action .player-tool-caption { font-size: 10px; font-weight: 750; }
@media (hover: hover) and (pointer: fine) {
.player-action:hover { color: var(--gold-bright); background: rgba(255,255,255,.06); }
}
.player-action:disabled { color: #5c5f68; cursor: default; background: transparent; }
.player-action[hidden] { display: grid; visibility: hidden; }
.episode-navigation { position: absolute; z-index: 10; inset: 0; grid-column: auto; display: flex; flex-direction: column; min-width: 0; padding: max(70px, calc(env(safe-area-inset-top) + 58px)) clamp(22px, 6vw, 72px) max(24px, env(safe-area-inset-bottom)); border: 0; background: #20232c; }
.episode-navigation[hidden] { display: none; }
.episode-navigation-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.episode-navigation-header h3 { margin: 0; font-size: clamp(24px, 4vw, 38px); letter-spacing: -.035em; }
.episode-navigation-header button { width: 40px; height: 40px; border: 0; border-radius: 50%; color: #dddfe4; background: rgba(255,255,255,.1); cursor: pointer; font-size: 25px; }
.episode-navigation-tabs { flex: 0 0 auto; }
.episode-navigation-panel { flex: 1 1 auto; min-height: 0; max-height: none; }

@media (max-width: 800px) {
	.expanded-player-layout { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: clamp(11px, 2.2vh, 18px); padding: max(58px, calc(env(safe-area-inset-top) + 46px)) 20px max(16px, env(safe-area-inset-bottom)); }
	.expanded-art-shell { flex: 0 0 auto; width: min(68vw, 34dvh, 300px); margin: 0 auto; border-radius: 17px; }
	.expanded-player-copy { flex: 0 0 auto; width: 100%; max-width: 520px; margin: 0 auto; text-align: left; }
	.expanded-episode-heading { grid-template-columns: 48px minmax(0,1fr); gap: 11px; }
	.expanded-show-art { width: 48px; border-radius: 9px; }
	.expanded-player-copy .expanded-title-viewport h2 { margin: 3px 0 2px; font-size: clamp(19px, 5.7vw, 27px); }
	.expanded-player-copy > #expanded-player-show { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
	.expanded-player-copy > .expanded-player-description { display: none; }
	.expanded-timeline { margin-top: clamp(12px, 2vh, 18px); }
	.expanded-controls { min-height: 62px; justify-content: space-between; gap: 5px; margin: clamp(10px, 1.8vh, 16px) 0 3px; }
	.expanded-controls > button:not(.expanded-play) { width: 44px; height: 44px; font-size: 23px; }
	.expanded-controls .expanded-play { width: 62px; height: 62px; }
	.expanded-controls .player-tool { min-width: 42px; padding: 4px; }
	.expanded-controls .speed-symbol, .expanded-controls .player-tool-icon { width: 30px; height: 30px; }
	.expanded-controls .player-tool-popover { bottom: calc(100% + 10px); }
	.playback-actions { gap: 5px; margin-top: clamp(8px, 1.6vh, 13px); }
	.player-action { padding: 7px 5px; }
	.episode-navigation { padding-right: 18px; padding-left: 18px; text-align: left; }
	.episode-navigation-panel { max-height: none; }
	.transcript-search { background: #20232c; }
}

@media (max-width: 800px) and (max-height: 700px) {
	.expanded-player-layout { gap: 8px; padding-top: max(50px, calc(env(safe-area-inset-top) + 40px)); }
	.expanded-art-shell { width: min(58vw, 28dvh, 210px); }
	.expanded-player-copy .expanded-title-viewport h2 { font-size: 19px; }
	.expanded-timeline { margin-top: 8px; }
	.expanded-controls { margin-top: 6px; }
	.playback-actions { margin-top: 4px; }
}

@media (prefers-color-scheme: light) {
	.expanded-player, .expanded-player::backdrop, .episode-navigation { color: #171821; background: #fff; }
	.expanded-player-close, .episode-navigation-header button { color: #30313a; background: #ececf0; }
	.player-action { color: #60626a; }
	@media (hover: hover) and (pointer: fine) {
	.player-action:hover { color: var(--gold-deep); background: #f0f0f2; }
	}
	.player-action:disabled { color: #aaaab0; }
	.transcript-search { background: #fff; }
}

@media (prefers-reduced-motion: reduce) {
	.expanded-player-copy .expanded-title-viewport h2.scrolling { animation: none; overflow: hidden; text-overflow: ellipsis; }
}

/* Prevent iOS and other touch browsers from flashing the mini player on tap. */
:root { --player-touch-surface: rgba(24,26,35,.98); }
.player, .player * { -webkit-tap-highlight-color: transparent; }
.now-playing, .player-controls button { appearance: none; -webkit-appearance: none; }

@media (prefers-color-scheme: light) {
	:root { --player-touch-surface: rgba(255,255,255,.98); }
}

@media (hover: none), (pointer: coarse) {
	@media (hover: hover) and (pointer: fine) {
	.now-playing:not(:disabled):hover strong { text-decoration: none; }
	}
}

/* iPhone Safari zooms the viewport when a focused text field is smaller than 16px. */
@media (max-width: 800px) {
	#member-email, #member-password, #magic-link-email, .transcript-search input, .feed-url-row input {
		font-size: 16px;
	}
}

/* Episode archive: compact rows with the episode artwork alongside the copy. */
#episode-grid { display: flex; flex-direction: column; gap: 0; }
#episode-grid .episode-card { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 14px 24px; padding: 25px 0; border: 0; border-bottom: 1px solid #343741; border-radius: 0; background: transparent; box-shadow: none; cursor: pointer; }
#episode-grid .episode-copy { min-width: 0; }
#episode-grid .episode-age { display: block; margin-bottom: 5px; color: #a0a3ad; font-size: 13px; font-weight: 600; }
#episode-grid h3 { margin: 0 0 7px; font-size: 19px; font-weight: 750; line-height: 1.35; }
#episode-grid .episode-description { min-height: 0; margin: 0; color: #a0a3ad; font-size: 14px; line-height: 1.5; }
#episode-grid .episode-thumbnail { width: 112px; height: 112px; object-fit: cover; border-radius: 9px; }
#episode-grid .episode-row-controls { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
#episode-grid .episode-play-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: auto; height: auto; min-height: 36px; flex: none; padding: 8px 14px; border: 0; border-radius: 999px; color: var(--gold-bright); background: rgba(255,255,255,.07); box-shadow: none; font-size: 13px; font-weight: 700; transform: none; }
@media (hover: hover) and (pointer: fine) {
#episode-grid .episode-play-button:hover { background: rgba(255,255,255,.14); }
}
#episode-grid .episode-played { color: #a0a3ad; font-size: 12px; }
#episode-grid .episode-card:focus-visible { outline: none; outline-offset: 4px; }
@media (max-width: 480px) {
 #episode-grid .episode-card { grid-template-columns: minmax(0, 1fr) 88px; gap: 12px 15px; padding: 22px 0; }
 #episode-grid .episode-thumbnail { width: 88px; height: 88px; }
 #episode-grid h3 { font-size: 16px; }
 #episode-grid .episode-description { font-size: 13px; }
}
@media (prefers-color-scheme: light) {
 #episode-grid .episode-card { border-bottom-color: #e1e1e5; }
 #episode-grid .episode-age, #episode-grid .episode-description, #episode-grid .episode-played { color: #73757d; }
 #episode-grid .episode-play-button { color: #b48700; background: #f0eef0; }
 @media (hover: hover) and (pointer: fine) {
 #episode-grid .episode-play-button:hover { background: #e5e2e6; }
	}
}
#episode-grid .episode-card.has-played h3 { font-weight: 400; }
#episode-grid .episode-button-progress { display: block; width: 32px; height: 5px; overflow: hidden; border-radius: 999px; background: #686972; }
#episode-grid .episode-button-progress[hidden] { display: none; }
#episode-grid .episode-button-progress > span { display: block; height: 100%; border-radius: inherit; background: currentColor; }
@media (prefers-color-scheme: light) { #episode-grid .episode-button-progress { background: #686972; } }
.transcript-cue { grid-template-columns: 34px minmax(0,1fr); gap: 12px; align-items: start; }
.transcript-avatar { position: relative; display: block; width: 34px; height: 34px; }
.transcript-avatar.visible { display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 50%; background: #484139; color: #f5e4b2; font-size: 12px; font-weight: 700; }
.transcript-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
@media (prefers-color-scheme: light) { .transcript-avatar.visible { background: #ebe5d5; color: #b48700; } }
/* Continuation cues flow tightly; only new speakers need avatar height. */
.transcript-cues { gap: 0; align-content: start; }
.transcript-cue { padding: 3px 12px; min-height: 0; }
.transcript-cue.speaker-start { padding-top: 12px; }
.transcript-avatar:not(.visible) { height: 0; }
/* Keep search outside the scrolling cue viewport, with a permanent scrub rail. */
#transcript-panel { display: flex; flex-direction: column; overflow: hidden; }
#transcript-panel[hidden] { display: none; }
#transcript-panel .transcript-search { position: static; z-index: auto; flex: none; }
#transcript-panel .episode-content-status { flex: none; }
#transcript-panel .episode-content-status:empty { display: none; }
.transcript-reader { display: flex; flex: 1 1 auto; min-height: 0; gap: 6px; overflow: hidden; }
.transcript-scroll { flex: 1 1 auto; min-width: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
@media (prefers-color-scheme: light) {
}
.expanded-timeline > .timeline-track { position: relative; display: block; margin: 0; }
.timeline-track input { display: block; position: relative; z-index: 1; margin: 0; height: 24px; }
.timeline-track .chapter-notches { position: absolute; z-index: 2; top: 8px; bottom: 8px; left: 8px; right: 8px; pointer-events: none; }
.chapter-notches span { position: absolute; top: 0; width: 2px; height: 100%; border-radius: 1px; background: #20232c; box-shadow: 0 0 0 1px rgba(255,255,255,.35); transform: translateX(-50%); }
.timeline-chapter { margin: 0 0 5px; min-height: 18px; color: var(--gold-bright); font-size: 12px; line-height: 1.4; }
@media (prefers-color-scheme: light) { .timeline-chapter { color: #b48700; }.chapter-notches span { background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.2); } }
/* Real cutouts in the track; the native input supplies an unmasked thumb. */
.expanded-timeline { position: relative; }
.timeline-track .chapter-notches { z-index: 0; top: 10px; bottom: auto; height: 4px; border-radius: 999px; background: linear-gradient(to right, var(--gold) 0 var(--played, 0%), #62636b var(--played, 0%) 100%); }
.timeline-track input { appearance: none; -webkit-appearance: none; background: transparent; }
.timeline-track input::-webkit-slider-runnable-track { height: 4px; background: transparent; }
.timeline-track input::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6px; border: 0; border-radius: 50%; background: var(--gold); }
.timeline-track input::-moz-range-track, .timeline-track input::-moz-range-progress { height: 4px; background: transparent; }
.timeline-track input::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: var(--gold); }
.timeline-chapter { position: absolute; z-index: 4; bottom: calc(100% + 7px); width: max-content; max-width: 80%; margin: 0; padding: 8px 12px; border-radius: 9px; color: #fff; background: #343640; box-shadow: 0 4px 16px rgba(0,0,0,.2); font-size: 12px; text-align: center; transform: translateX(-50%); pointer-events: none; }
.timeline-chapter[hidden] { display: none; }
@media (prefers-color-scheme: light) { .timeline-chapter { color: #fff; background: #343640; }.timeline-track .chapter-notches { background: linear-gradient(to right, var(--gold) 0 var(--played, 0%), #c6c6cc var(--played, 0%) 100%); } }
.timeline-chapter { box-sizing: border-box; white-space: normal; overflow-wrap: anywhere; }
.current-transcript { position: relative; min-height: 44px; margin: 12px 0 8px; perspective: 600px; overflow: hidden; }
.current-transcript[hidden] { display: none; }
.current-transcript-line { display: flex; align-items: flex-start; gap: 11px; width: 100%; padding: 3px 0; transform-origin: center center; backface-visibility: hidden; }
.current-transcript-line.outgoing { position: absolute; inset: 0; pointer-events: none; }
.current-transcript-line .transcript-avatar { flex: 0 0 30px; width: 30px; height: 30px; font-size: 10px; }
.current-transcript-text { min-width: 0; padding-top: 4px; font-size: 13px; line-height: 1.5; color: #d2d2d8; }
@media (prefers-color-scheme: light) { .current-transcript-text { color: #34353e; } }
/* Fixed two-line caption viewport; the speaker image has its own fade layer. */
.current-transcript { display: grid; grid-template-columns: 30px minmax(0,1fr); align-items: center; gap: 11px; height: 56px; min-height: 56px; max-height: 56px; flex-shrink: 0; perspective: none; }
.current-transcript-avatar-slot { position: relative; width: 30px; height: 30px; }
.current-transcript-avatar-slot .transcript-avatar { position: absolute; inset: 0; width: 30px; height: 30px; font-size: 10px; }
.current-transcript-viewport { position: relative; height: 39px; min-width: 0; overflow: hidden; perspective: 600px; }
.current-transcript-viewport .current-transcript-text { display: block; width: 100%; margin: 0; padding: 0; font-size: 13px; line-height: 19.5px; overflow-wrap: anywhere; transform-origin: center; backface-visibility: hidden; }
.current-transcript-viewport .current-transcript-text.outgoing { position: absolute; inset: 0; pointer-events: none; }
.current-transcript-viewport .transcript-measure { position: absolute; top: 0; left: 0; height: auto; visibility: hidden; pointer-events: none; }
/* Preserve one-finger scrolling without double-tap or pinch zoom. */
html { touch-action: pan-x pan-y; }
:root { --gold-gradient: radial-gradient(ellipse at 12% 0%, rgba(255,255,222,.92), transparent 58%), linear-gradient(180deg, #ffdf77 0%, #f6c848 100%); }
.player-controls .player-play:not(:disabled), .expanded-controls .expanded-play:not(:disabled), .primary-button.live-ready .hero-live-icon, .primary-button.live-playing .hero-live-icon { color: #111; background: var(--gold-gradient); box-shadow: inset 0 1px 1px rgba(255,255,230,.9), inset 0 0 0 1px rgba(255,230,135,.7), 0 3px 12px rgba(246,200,72,.18); }
@media (hover: hover) and (pointer: fine) {
.primary-button.live-ready:hover { color: #111; background: var(--gold-gradient); border-color: #777780; }
}
.primary-button.live-ready { color: #111; background: var(--gold-gradient); border-color: #777780; }
.primary-button.live-playing { border-color: #777780; }
#episode-grid .episode-play-button { color: #ffe783; }
@media (prefers-color-scheme: light) {
 #episode-grid .episode-play-button { color: var(--gold); background: #303137; }
 @media (hover: hover) and (pointer: fine) {
 #episode-grid .episode-play-button:hover { background: #404148; }
	}
 .transcript-avatar.visible { color: #3b3007; background: #fff0b3; }
}
#expanded-player-kicker { text-transform: none; }
#expanded-player-show[hidden] { display: none; }
/* Suppress browser tap flashes everywhere; keyboard focus remains visible. */
* { -webkit-tap-highlight-color: transparent; }
#expanded-seek { touch-action: none; }
#expanded-seek.pointer-scrubbing:focus { outline: none; box-shadow: none; }
#expanded-seek:focus-visible:not(.pointer-scrubbing) { outline: none; outline-offset: 3px; border-radius: 4px; }
#expanded-seek.chapter-snapped::-webkit-slider-thumb { transform: scale(1.25); box-shadow: 0 0 0 4px rgba(246,200,72,.25); }
#expanded-seek.chapter-snapped::-moz-range-thumb { transform: scale(1.25); box-shadow: 0 0 0 4px rgba(246,200,72,.25); }
.transcript-scroll { scrollbar-width: auto; }

/* Prevent page text selection while preserving normal text editing. */
html { -webkit-user-select: none; user-select: none; }
input, textarea, [contenteditable="true"], [contenteditable=""] { -webkit-user-select: text; user-select: text; }
.expanded-art-shell { transform: scale(.9); transition: transform 400ms cubic-bezier(.2,.7,.2,1); transform-origin: center; }
.expanded-art-shell.is-playing { transform: scale(1); }
@media (max-width: 800px) { .expanded-art-shell { margin-bottom: 22px; } }
@media (max-width: 800px) and (max-height: 700px) { .expanded-art-shell { margin-bottom: 14px; } }
@media (prefers-reduced-motion: reduce) { .expanded-art-shell { transition: none; } }
#expanded-player-kicker { color: #73757d; font-weight: 400; letter-spacing: normal; text-transform: none; }
@media (prefers-color-scheme: light) { #expanded-player-kicker { color: #555760; } }
@media (max-width: 800px) { .expanded-art-shell { margin-bottom: 40px; } }
@media (max-width: 800px) and (max-height: 700px) { .expanded-art-shell { margin-bottom: 28px; } }
@media (min-width: 801px) { .expanded-player-layout { column-gap: clamp(64px, 9vw, 110px); } }
/* Temporarily hide the landing-page live section. */
.live-launch[hidden] { display: none; }
/* Mobile sizing aligned with the supplied Apple Podcasts reference. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (max-width: 800px) {
 .top-filter-shell { padding-top: 20px; padding-bottom: 10px; }
 .top-catalog-tabs .filter-button { padding: 9px 16px; border-radius: 14px; font-size: 14px; line-height: 1.2; }
 .content-section { padding-top: 16px; }
 #episode-grid .episode-card { padding: 20px 0; gap: 10px 16px; }
 #episode-grid .episode-age { margin-bottom: 3px; font-size: 12px; line-height: 1.3; }
 #episode-grid h3 { margin-bottom: 4px; font-size: 15px; line-height: 1.3; letter-spacing: normal; }
 #episode-grid .episode-description { font-size: 12px; line-height: 1.4; }
 #episode-grid .episode-row-controls { gap: 9px; }
 #episode-grid .episode-play-button { position: relative; min-height: 28px; padding: 5px 10px; gap: 7px; font-size: 12px; line-height: 18px; }
 #episode-grid .episode-play-button::after { content: ''; position: absolute; inset: -8px 0; }
 #episode-grid .episode-button-progress { width: 26px; height: 4px; }
 #episode-grid .episode-played { font-size: 11px; }
 .now-playing strong { font-size: 12px; }
 .now-playing > span:nth-child(2) > span { font-size: 11px; }
 .now-playing-art { width: 42px; }
 .player-controls .player-play { width: 40px; height: 40px; }
}
.podcast-app-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.podcast-app-buttons[hidden], .existing-feed-entry[hidden] { display: none; }
.podcast-app-badge { display: flex; align-items: center; gap: 11px; min-width: 210px; padding: 10px 15px; border: 1px solid #333; border-radius: 11px; color: #fff; background: #000; text-decoration: none; cursor: pointer; }
.podcast-app-badge small { display: block; margin-bottom: 1px; font-size: 11px; font-weight: 400; line-height: 1.2; }
.podcast-app-badge strong { display: block; font-size: 20px; line-height: 1.15; font-weight: 500; letter-spacing: -.5px; white-space: nowrap; }
.podcast-app-icon { display: block; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 9px; }
.podcast-app-icon svg { width: 100%; height: 100%; fill: none; stroke: #fff; stroke-width: 2; }
.apple-icon { background: linear-gradient(#ed4af8,#8223c7); }.apple-icon .podcast-person { fill: #fff; stroke: #b936e3; stroke-width: 1.5; }
.overcast-icon svg { stroke: #ff8c00; stroke-width: 2.5; }
.pocket-icon { background: #f43e37; border-radius: 50%; }.pocket-icon svg { stroke-width: 3; }
.existing-feed-entry { margin-top: 14px; }.existing-feed-entry label { display: block; margin-bottom: 8px; font-size: 13px; line-height: 1.5; }
.existing-feed-entry input { box-sizing: border-box; width: 100%; padding: 10px 12px; border: 1px solid #777; border-radius: 8px; color: inherit; background: transparent; font-size: 16px; }
.existing-feed-entry p { font-size: 12px; line-height: 1.4; }
@media (max-width: 480px) { .podcast-app-badge { width: 100%; } }
#podcast-app-buttons { margin: 28px 0 12px; }
#podcast-feed-card { margin-top: 24px; border-top: 1px solid #444; padding-top: 24px; }
.podcast-app-badge[aria-busy="true"] { opacity: .65; cursor: progress; }
@media (prefers-color-scheme: light) { #podcast-feed-card { border-top-color: #e1e1e5; } }
.podcast-disconnect { margin-top: 16px; }
.podcast-disconnect:has(> button[hidden]) { display: none; }
.podcast-disconnect { display: flex; justify-content: center; margin-top: 6px; }
#podcast-app-buttons { margin-bottom: 6px; }
#podcast-app-status:empty { display: none; }
.player-topbar { position: absolute; z-index: 20; top: max(16px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; width: min(100% - 40px, 1020px); }
.player-topbar .expanded-player-close { position: static; flex: 0 0 36px; width: 36px; height: 36px; transform: none; }
.player-view-tabs { display: flex; align-items: center; gap: 5px; }
.player-view-tabs button { padding: 9px 12px; border: 0; border-radius: 999px; color: #9fa1ab; background: transparent; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.player-view-tabs button[aria-current="page"] { color: #fff; background: #353943; }
.player-view-tabs button:disabled { opacity: .4; }
.expanded-player[data-view="details"] .expanded-art-shell, .expanded-player[data-view="details"] .expanded-player-copy,
.expanded-player[data-view="chapters"] .expanded-art-shell, .expanded-player[data-view="chapters"] .expanded-player-copy,
.expanded-player[data-view="transcript"] .expanded-art-shell, .expanded-player[data-view="transcript"] .expanded-player-copy { visibility: hidden; pointer-events: none; }
#episode-navigation, #transcript-navigation { padding-top: max(82px, calc(env(safe-area-inset-top) + 66px)); }
#episode-navigation-title { margin: 0 0 20px; font-size: 24px; }
.episode-details-panel { padding-right: 8px; }
.episode-details-panel h2 { font-size: 22px; line-height: 1.35; margin: 0 0 18px; }
.episode-details-panel p { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; line-height: 1.6; margin: 0 0 24px; }
#transcript-navigation .episode-navigation-header { margin-bottom: 16px; }
@media (prefers-color-scheme: light) {
 .player-view-tabs button { color: #666873; }
 .player-view-tabs button[aria-current="page"] { color: #171821; background: #ececf0; }
}
@media (max-width: 380px) { .player-topbar { gap: 8px; width: calc(100% - 32px); }.player-view-tabs button { padding: 9px 10px; font-size: 13px; } }
.current-transcript { grid-template-columns: 30px minmax(0,1fr) 36px; gap: 10px; }
.transcript-preview-action { align-self: center; display: grid; place-items: center; width: 36px; min-width: 36px; height: 40px; padding: 6px; gap: 0; }
.transcript-preview-action[hidden] { display: none; }
.transcript-preview-action .player-action-icon { height: 24px; }
.transcript-preview-action svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.playback-actions > .player-tool-menu { display: flex; justify-content: center; min-width: 0; z-index: 7; }
.playback-actions .player-action { width: 100%; }
.playback-actions .speed-symbol { display: grid; place-items: center; height: 27px; border: 0; font-size: 18px; }
.playback-actions .player-tool-popover { bottom: calc(100% + 10px); }
/* Centre shorter captions within the fixed two-line preview. */
.current-transcript-viewport > .current-transcript-text:not(.transcript-measure) { position: absolute; top: 50%; left: 0; translate: 0 -50%; }
.current-transcript-viewport > .current-transcript-text.outgoing { inset: auto; top: 50%; left: 0; }
.episode-details-panel h2 { font-size: 18px; margin-bottom: 14px; }
.episode-details-panel p { font-size: 13px; line-height: 1.55; }
.chapter-button { position: relative; overflow: hidden; grid-template-columns: max-content minmax(0, 1fr); gap: 8px; }
.chapter-time { white-space: nowrap; }
.chapter-button::before { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--chapter-progress, 0%); background: var(--gold); pointer-events: none; }
.chapter-button > span { position: relative; z-index: 1; }
@media (prefers-color-scheme: light) {
 .chapter-button::before { background: var(--gold); }
 .chapter-button.active { color: #272832; }
}
.expanded-player, .expanded-player::backdrop { background: #20232c; }
.expanded-episode-heading[hidden], .expanded-player-copy > .expanded-player-description { display: none; }
.current-chapter-heading { display: grid; grid-template-columns: 40px minmax(0,1fr) 40px; align-items: center; gap: 14px; min-height: 82px; margin-bottom: 8px; text-align: center; }
.current-chapter-heading > div { min-width: 0; }
.current-chapter-heading strong { display: block; font-size: 18px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.current-chapter-heading span { display: block; margin-top: 7px; font-size: 12px; color: #9698a2; }
.current-chapter-heading span[hidden] { display: none; }
.current-chapter-heading button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0 0 4px; border: 0; border-radius: 50%; background: #383c46; color: #fff; font-size: 32px; line-height: 1; cursor: pointer; }
.current-chapter-heading button:disabled { opacity: .3; cursor: default; }
@media (prefers-color-scheme: light) { .expanded-player, .expanded-player::backdrop { background: #fff; }.current-chapter-heading button { background: #ececf0; color: #30313a; }.current-chapter-heading span { color: #73757d; } }
@media (max-width: 800px) { .current-chapter-heading strong { font-size: 17px; } }
/* Monochrome transport controls and a dedicated bottom utility bar. */
.current-transcript { grid-template-columns: 30px minmax(0,1fr); }
.expanded-controls { justify-content: space-evenly; margin: 20px 0 12px; gap: 22px; }
.expanded-controls .expanded-play:not(:disabled) { width: 104px; height: 104px; background: #fff; color: #111; box-shadow: none; }
.expanded-play::before { border-top-width: 17px; border-bottom-width: 17px; border-left-width: 26px; }
.expanded-play.is-playing::before { width: 24px; height: 34px; border-left-width: 8px; border-right-width: 8px; }
.expanded-controls > .seek-button { width: 60px; height: 60px; }
.expanded-controls .seek-symbol { width: 50px; height: 50px; }
.expanded-controls .seek-symbol b { font-size: 13px; }
.playback-actions { position: fixed; z-index: 8; bottom: max(18px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: min(520px, calc(100% - 40px)); display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 2px; margin: 0; padding: 9px 12px; border-radius: 999px; background: #30333b; }
.playback-actions .player-action { min-width: 0; padding: 5px 3px; gap: 3px; }
.playback-actions .player-tool-caption, .playback-actions small { font-size: 9px; }
@media (prefers-color-scheme: light) {
 .expanded-controls .expanded-play:not(:disabled) { background: #171821; color: #fff; }
 .playback-actions { background: #ececf0; }
}
@media (max-width: 800px) {
 .expanded-player-layout { padding-bottom: max(100px, calc(env(safe-area-inset-bottom) + 84px)); gap: 12px; }
 .expanded-art-shell { width: min(62vw, 27dvh, 260px); margin-bottom: 12px; }
 .current-chapter-heading { min-height: 64px; }
 .expanded-controls { margin: 14px 0 4px; }
 .expanded-controls .expanded-play:not(:disabled) { width: 96px; height: 96px; }
}
@media (max-width: 800px) and (max-height: 700px) {
 .expanded-art-shell { width: min(52vw, 21dvh, 190px); margin-bottom: 6px; }
 .expanded-controls .expanded-play:not(:disabled) { width: 82px; height: 82px; }
 .expanded-controls { margin-top: 10px; }
}
.playback-actions .player-tool-caption, .playback-actions small { display: none; }
.playback-actions .speed-symbol { font-weight: 400; }
.playback-actions .player-action { min-height: 40px; align-content: center; }
.expanded-play.is-playing::before { width: 20px; }
.expanded-controls .seek-symbol b { margin-top: 0; }
.expanded-play.is-playing::before { width: 18px; }
.expanded-controls .expanded-play:not(:disabled) { width: 124px; height: 124px; }
@media (max-width: 800px) { .expanded-controls .expanded-play:not(:disabled) { width: 116px; height: 116px; } }
@media (max-width: 800px) and (max-height: 700px) { .expanded-controls .expanded-play:not(:disabled) { width: 100px; height: 100px; } }
.expanded-controls > .seek-button.skip-flash { color: var(--gold); background: transparent; box-shadow: none; }
#episode-navigation > .episode-navigation-header { margin-bottom: 16px; }
#episode-navigation > .episode-navigation-header h3 { margin: 0; }
#chapters-page-close[hidden] { display: none; }

#episode-grid .episode-row-controls { grid-column: 1; grid-row: 2; }
#episode-grid .episode-more-button { grid-column: 2; grid-row: 2; justify-self: end; align-self: center; display: grid; place-items: center; width: 30px; height: 30px; min-width: 30px; min-height: 30px; padding: 0 0 0 1px; border: 0; border-radius: 50%; color: #a0a3ad; background: #30333b; font-size: 12px; letter-spacing: 1px; cursor: pointer; }
#episode-grid .episode-more-button:focus-visible { outline: none; outline-offset: 2px; }
@media (prefers-color-scheme: light) { #episode-grid .episode-more-button { color: #73757d; background: #f0f0f2; } }

/* Mini player uses the same monochrome circle and compact pause bars as the popup. */
.player-controls .player-play { display: grid; place-items: center; padding: 0; font-size: 0; }
.player-controls .player-play:not(:disabled) { background: #fff; color: #111; box-shadow: none; }
.player-controls .player-play::before { content: ''; width: 0; height: 0; margin-left: 2px; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 9px solid currentColor; }
.player-controls .player-play.is-playing::before { width: 8px; height: 13px; margin-left: 0; border: 0; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
@media (prefers-color-scheme: light) { .player-controls .player-play:not(:disabled) { background: #171821; color: #fff; } }

.player-controls .seek-button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; color: #fff; }
.player-controls .seek-symbol { width: 30px; height: 30px; }
.player-controls .seek-symbol b { margin-top: 0; font-size: 8px; }
@media (prefers-color-scheme: light) { .player-controls .seek-button { color: #171821; } }
.player-controls .seek-button.skip-flash { color: var(--gold); background: transparent; box-shadow: none; }

.playback-actions .airplay-button.is-connected { color: var(--gold); }

/* Constrain episode labels to their grid column so they cannot overlap controls. */
.player { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); column-gap: 18px; }
.now-playing { width: 100%; max-width: 100%; overflow: hidden; }
.now-playing > span:nth-child(2) { flex: 1 1 0; min-width: 0; overflow: hidden; }
.now-playing .open-player-hint { flex: 0 0 auto; }
.player-controls { flex-shrink: 0; }
.player-state { min-width: 0; max-width: 100%; overflow: hidden; }
.player-state > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 800px) { .player { grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; } }

.player-state { font-variant-numeric: tabular-nums; }

/* One backdrop layer blurs both the fade above and the full mini player. */
.player { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.player::before { content: ''; position: absolute; z-index: -1; inset: -36px 0 0; pointer-events: none; background: linear-gradient(to bottom, rgba(24,26,35,0), rgba(24,26,35,.9) 36px); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 36px); mask-image: linear-gradient(to bottom, transparent, #000 36px); }
@media (prefers-color-scheme: light) { .player::before { background: linear-gradient(to bottom, rgba(20,22,30,0), rgba(20,22,30,.16) 35px, rgba(255,255,255,.9) 36px); } }

/* Suppress browser focus rings, including focus restored after closing the player. */
*:focus, *:focus-visible { outline: none !important; }

.auth-method-switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 22px; padding: 4px; border-radius: 12px; background: #292b33; }
.auth-method-switch::before { content: ''; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 9px; background: var(--gold); transition: transform .2s ease; }
.auth-method-switch.email-selected::before { transform: translateX(100%); }
.auth-method-switch button { position: relative; z-index: 1; border: 0; border-radius: 9px; padding: 12px 8px; background: transparent; color: #bfc0c7; font: inherit; font-size: 12px; font-weight: 750; cursor: pointer; }
.auth-method-switch button[aria-selected="true"] { color: #171821; }
#password-sign-in-form[hidden], #magic-link-form[hidden] { display: none; }
#password-sign-in-form .dialog-copy, #magic-link-form .dialog-copy { margin: 0 0 8px; font-size: 14px; line-height: 1.6; }
.auth-status:empty { display: none; }
#signed-out-panel { padding-bottom: 25px; }
@media (prefers-color-scheme: light) { .auth-method-switch { background: #eeeef0; } .auth-method-switch button { color: #62636b; } .auth-method-switch button[aria-selected="true"] { color: #171821; } }
@media (prefers-reduced-motion: reduce) { .auth-method-switch::before { transition: none; } }

/* Sign-in dialog follows the dark, square KSL membership form in every theme. */
.account-dialog { border: 1px solid #555; border-radius: 0; background: #1a1a1a; color: #fff; font-family: Arial, Helvetica, sans-serif; box-shadow: 0 24px 70px rgba(0,0,0,.5); }
.account-dialog .dialog-header { align-items: center; padding: 18px 17px; border-bottom: 0; }
.account-dialog .dialog-header h2 { margin: 0; color: #fff; font-size: 19px; font-weight: 750; letter-spacing: -.03em; }
.account-dialog .dialog-close { border: 0; border-radius: 0; background: transparent; color: #b5b5b5; }
.account-dialog #signed-out-panel { padding: 0 17px 17px; }
.account-dialog .auth-method-switch { margin-bottom: 20px; padding: 3px; border: 1px solid #414141; border-radius: 0; background: #242424; }
.account-dialog .auth-method-switch::before { top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 0; background: #fff; }
.account-dialog .auth-method-switch button { padding: 10px 8px; border-radius: 0; color: #aaa; font-size: 12px; font-weight: 700; }
.account-dialog .auth-method-switch button[aria-selected="true"] { color: #111; }
.account-dialog #password-sign-in-form, .account-dialog #magic-link-form { gap: 10px; }
.account-dialog #password-sign-in-form .dialog-copy, .account-dialog #magic-link-form .dialog-copy { margin: 0 0 10px; color: #ddd; font-size: 14px; }
.account-dialog #password-sign-in-form label, .account-dialog #magic-link-form label { color: #ddd; font-size: 16px; font-weight: 400; }
.account-dialog #member-email, .account-dialog #member-password, .account-dialog #magic-link-email { min-height: 36px; padding: 7px 10px; border: 1px solid #414141; border-radius: 0; color: #fff; background: #202020; font-family: inherit; font-size: 16px; }
.account-dialog #member-email, .account-dialog #member-password { margin-bottom: 12px; }
.account-dialog .dialog-primary, .account-dialog .dialog-secondary { min-height: 40px; margin-top: 2px; padding: 9px 16px; border: 0; border-radius: 3px; background: #fff; color: #111; font-family: inherit; font-size: 16px; font-weight: 400; }
.account-dialog .auth-status { margin: 0 17px 17px; color: #ccc; }
.account-dialog .auth-status.error { color: #ff9a9a; }
.account-dialog .auth-status.success { color: #a9dfba; }
@media (hover: hover) and (pointer: fine) { .account-dialog .dialog-primary:hover, .account-dialog .dialog-secondary:hover { background: #e8e8e8; } }

.account-dialog #password-sign-in-form .dialog-copy { text-align: center; }

.account-dialog #magic-link-form .dialog-copy { text-align: center; }

.account-dialog .dialog-header { position: relative; justify-content: center; padding: 22px 60px; }
.account-dialog .account-show-heading { display: flex; justify-content: center; width: 100%; }
.account-dialog .account-show-heading img { display: block; width: 84px; height: 84px; object-fit: contain; }
.account-dialog .dialog-header .dialog-close { position: absolute; top: 14px; right: 14px; }

.account-dialog .account-show-heading img { mix-blend-mode: screen; }

/* Both forms share a grid cell; the invisible form still reserves its height. */
.account-dialog #signed-out-panel { display: grid; grid-template-columns: minmax(0, 1fr); }
.account-dialog .auth-method-switch { grid-area: 1 / 1; }
.account-dialog #password-sign-in-form, .account-dialog #magic-link-form { grid-area: 2 / 1; align-self: start; }
.account-dialog #password-sign-in-form[hidden], .account-dialog #magic-link-form[hidden] { display: grid; visibility: hidden; pointer-events: none; }

.account-dialog .dialog-primary, .account-dialog .dialog-secondary { font-weight: 400; }

@media (prefers-color-scheme: dark) {
 #transcript-panel .transcript-search,
 #transcript-panel .transcript-search input { background: #20232c; }
}

@media (prefers-color-scheme: dark) {
 .transcript-cue.active { background: var(--gold); color: #000; }
 .transcript-cue.active .transcript-speaker { color: #000; }
}

.chapter-button > .chapter-played-text { display: none; }
@media (prefers-color-scheme: dark) {
 .chapter-button > .chapter-played-text { position: absolute; z-index: 2; inset: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); align-items: center; gap: 8px; padding: inherit; color: #000; pointer-events: none; clip-path: inset(0 calc(100% - var(--chapter-progress, 0%)) 0 0); }
 .chapter-played-text .chapter-time, .chapter-played-text .chapter-title { color: #000; }
}
