/* The mock-up's navy play circles and slim gold track, backed by HTML5 audio. */
.talk-podcast-player { width: 100%; min-width: 0; }
.talk-native-audio { display: block; width: 100%; min-width: 240px; height: 48px; border-radius: 24px; color-scheme: light; }
.talk-podcast-player [hidden] { display: none !important; }
.talk-custom-controls .talk-play-toggle { cursor: pointer; transition: background-color .15s; }
.talk-custom-controls .bi-play-fill { margin-left: 2px; }
.talk-custom-controls button:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.talk-featured-controls { gap: 17px; }
.talk-player-panel { display: flex; align-items: center; gap: 17px; min-width: 0; flex: 1; }
.talk-player-seek { --talk-progress: 0%; appearance: none; -webkit-appearance: none; display: block; width: 100%; height: 22px; margin: 0; background: transparent; cursor: pointer; }
.talk-player-seek::-webkit-slider-runnable-track { height: 4px; border-radius: 5px; background: linear-gradient(to right, var(--gold) 0 var(--talk-progress), #dddcd7 var(--talk-progress) 100%); }
.talk-player-seek::-moz-range-track { height: 4px; border-radius: 5px; background: #dddcd7; }
.talk-player-seek::-moz-range-progress { height: 4px; border-radius: 5px; background: var(--gold); }
.talk-player-seek::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 10px; height: 10px; margin-top: -3px; border: 0; border-radius: 50%; background: var(--gold); opacity: 0; }
.talk-player-seek::-moz-range-thumb { width: 10px; height: 10px; border: 0; border-radius: 50%; background: var(--gold); opacity: 0; }
.talk-player-seek:hover::-webkit-slider-thumb, .talk-player-seek:focus-visible::-webkit-slider-thumb { opacity: 1; }
.talk-player-seek:hover::-moz-range-thumb, .talk-player-seek:focus-visible::-moz-range-thumb { opacity: 1; }
.talk-player-seek:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px; }
.talk-player-seek:disabled { cursor: default; }
.talk-custom-controls .audio-time { margin-top: 0; font-variant-numeric: tabular-nums; }
.talk-volume-control { position: relative; flex: 0 0 32px; }
.talk-mute-toggle { display: inline-flex; justify-content: center; align-items: center; width: 32px; height: 40px; padding: 0; border: 0; border-radius: 4px; background: transparent; cursor: pointer; }
.talk-mute-toggle:hover { color: var(--navy); }
.talk-volume-panel { position: absolute; z-index: 5; right: 0; bottom: 100%; width: 132px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px; background: #fff; box-shadow: 0 4px 14px rgb(16 43 67 / 10%); visibility: hidden; opacity: 0; }
.talk-volume-control:hover .talk-volume-panel, .talk-volume-control:focus-within .talk-volume-panel { visibility: visible; opacity: 1; }
.talk-volume-slider { display: block; width: 100%; accent-color: var(--gold); }
.talk-compact-controls { position: relative; justify-content: center; gap: 0; padding: 0; border: 0; }
.talk-compact-controls .mini-play { width: 40px; height: 40px; flex: 0 0 40px; font-size: 22px; }
.talk-compact-controls .talk-player-panel { display: none; position: absolute; z-index: 10; right: 0; top: calc(100% + 8px); width: 320px; max-width: calc(100vw - 60px); padding: 13px 16px; border: 1px solid var(--line); border-radius: 4px; background: var(--warm); box-shadow: 0 4px 14px rgb(16 43 67 / 12%); }
.talk-compact-controls:focus-within .talk-player-panel, .talk-episode-row.is-playing .talk-player-panel { display: flex; }
.talk-episode-row.is-playing { background: var(--warm); }
.talk-episode-row.is-playing .lesson-title { color: var(--gold); }
.talk-custom-controls.is-loading .talk-play-toggle { box-shadow: 0 0 0 3px rgb(177 139 66 / 20%); }
.talk-source-sheets .pdf-link { display: inline-flex; align-items: center; gap: 7px; color: var(--gold); text-decoration: none; font-size: 14px; margin-right: 14px; }
.talk-source-sheets .pdf-link:hover { text-decoration: underline; }
.talk-audio-unavailable { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 0; }
.talk-episode-table { table-layout: fixed; }
.talk-episode-table thead th:nth-child(1) { width: 30px; }
.talk-episode-table thead th:nth-child(2) { width: auto; }
.talk-episode-table thead th:nth-child(3) { width: 270px; text-align: center; }
.talk-episode-table.talk-players-ready thead th:nth-child(3) { width: 66px; }
.talk-episode-table thead th:nth-child(4) { width: 90px; text-align: right; }
.talk-episode-table tbody th.lesson-name { padding: 16px 9px; font-weight: 400; line-height: 1.65; }
.talk-episode-table .lesson-title { text-decoration: none; font-size: 16px; overflow-wrap: anywhere; }
.talk-episode-table .lesson-number { font-size: 14px; }
.talk-episode-description { color: var(--muted); font-size: 14px; font-weight: 400; margin-top: 7px; }
.talk-episode-description p:last-child { margin-bottom: 0; }
.talk-episode-row { scroll-margin-top: 110px; }
.talk-episode-table .lesson-sheet .pdf-link { text-decoration: none; }
@media (max-width: 767.98px) {
 .talk-native-audio { min-width: 0; }
 .talk-episode-table tbody tr { grid-template-columns: 25px minmax(0, 1fr) 48px 66px; }
 .talk-episode-table tbody th.lesson-name { display: block; padding: 0; border: 0; grid-area: 1 / 2 / 2 / 5; }
 .talk-episode-table .lesson-number { grid-area: 1 / 1 / 3 / 2; }
 .talk-episode-table .lesson-listen { grid-area: 2 / 3 / 3 / 4; }
 .talk-episode-table .lesson-sheet { grid-area: 2 / 4 / 3 / 5; }
 .talk-compact-controls .mini-play { width: 44px; height: 44px; flex-basis: 44px; }
 .talk-featured-controls { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
 .talk-custom-controls .talk-play-toggle { transition: none; }
}
