.dm-core-player {
	position: fixed;
	inset: auto 0 0;
	z-index: 100;
	border-top: 1px solid #46734c;
	background: linear-gradient(165deg, #17251b, #101912 75%);
	color: #f6f1e4;
	box-shadow: 0 -14px 40px #0009;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
.dm-core-player * { box-sizing: border-box; }
.dm-core-player__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) 60px minmax(0, 1.5fr) minmax(0, .7fr) auto;
	grid-template-areas: "identity transport timeline volume live";
	align-items: center;
	gap: 15px 20px;
	max-width: 1280px;
	min-height: 118px;
	margin: auto;
	padding: 18px 27px;
}
.dm-core-player__brand { grid-area: identity; display: flex; align-items: center; gap: 15px; min-width: 0; }
.dm-core-player__art { flex: 0 0 72px; width: 72px; height: 72px; overflow: hidden; border: 1px solid #51704d; border-radius: 7px; background: #0b130e; }
.dm-core-player__art--live { display: grid; place-items: center; background: radial-gradient(circle at 50% 38%, #254e28, #08120c 72%); }
.dm-core-player__art--live svg { width: 45px; height: 45px; color: #28d65b; }
.dm-core-player__art--podcast { display: block; object-fit: cover; }
.dm-core-player[data-mode="live"] .dm-core-player__art--podcast,
.dm-core-player[data-mode="podcast"] .dm-core-player__art--live { display: none; }
.dm-core-player__identity { min-width: 0; }
.dm-core-player__eyebrow { display: flex; align-items: center; gap: 7px; margin-bottom: 5px; color: #f1d178; font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.dm-core-player__live-eq { display: flex; flex: 0 0 17px; align-items: end; justify-content: space-between; width: 17px; height: 12px; margin-inline-start: 1px; opacity: .38; }
.dm-core-player__live-eq span { display: block; width: 2px; height: 7px; border-radius: 2px; background: #28d65b; transform-origin: bottom; }
.dm-core-player__live-eq span:nth-child(2) { height: 11px; }
.dm-core-player__live-eq span:nth-child(3) { height: 8px; }
.dm-core-player__live-eq span:nth-child(4) { height: 10px; }
.dm-core-player__live-eq span:nth-child(5) { height: 6px; }
.dm-core-player[data-mode="podcast"] .dm-core-player__live-eq { display: none; }
.dm-core-player[data-mode="live"][data-state="playing"] .dm-core-player__live-eq { opacity: 1; }
.dm-core-player[data-mode="live"][data-state="playing"] .dm-core-player__live-eq span { animation: dm-core-live-eq 1.3s ease-in-out infinite; }
.dm-core-player__live-eq span:nth-child(2) { animation-delay: -.65s; }
.dm-core-player__live-eq span:nth-child(3) { animation-delay: -.25s; }
.dm-core-player__live-eq span:nth-child(4) { animation-delay: -.9s; }
.dm-core-player__live-eq span:nth-child(5) { animation-delay: -.4s; }
@keyframes dm-core-live-eq { 0%, 100% { transform: scaleY(.45); } 45% { transform: scaleY(1); } 70% { transform: scaleY(.65); } }
.dm-core-player__dot { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: #28d65b; }
.dm-core-player[data-state="paused"] .dm-core-player__dot,
.dm-core-player[data-state="ended"] .dm-core-player__dot { background: #d6a73f; }
.dm-core-player[data-state="loading"] .dm-core-player__dot { background: #b9c5b9; }
.dm-core-player[data-state="error"] .dm-core-player__dot { background: #f18b75; }
.dm-core-player__identity strong { display: -webkit-box; overflow: hidden; color: #f6f1e4; font: 700 16px/1.28 Georgia, serif; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow-wrap: anywhere; }
.dm-core-player__identity small { display: block; overflow: hidden; margin-top: 5px; color: #b9c5b9; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.dm-core-player__toggle { position: relative; grid-area: transport; display: grid; place-items: center; width: 60px; height: 60px; padding: 0; border: 2px solid #28d65b; border-radius: 50%; background: #11251a; color: #f6f1e4; box-shadow: 0 0 0 4px #28d65b14, 0 0 19px #28d65b36, inset 0 0 0 1px #28d65b1a; cursor: pointer; transition: background .15s ease, box-shadow .15s ease; }
.dm-core-player__toggle:hover { background: #1a3824; box-shadow: 0 0 0 4px #28d65b1e, 0 0 23px #28d65b52; }
.dm-core-player__toggle svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dm-core-player__toggle .dm-core-icon-pause,
.dm-core-player__toggle .dm-core-icon-replay,
.dm-core-player__toggle .dm-core-icon-loading { display: none; }
.dm-core-player[data-state="playing"] .dm-core-icon-play,
.dm-core-player[data-state="loading"] .dm-core-icon-play,
.dm-core-player[data-state="ended"] .dm-core-icon-play,
.dm-core-player[data-state="error"] .dm-core-icon-play { display: none; }
.dm-core-player[data-state="playing"] .dm-core-icon-pause,
.dm-core-player[data-state="loading"] .dm-core-icon-loading,
.dm-core-player[data-state="ended"] .dm-core-icon-replay,
.dm-core-player[data-state="error"] .dm-core-icon-replay { display: block; }
.dm-core-player[data-state="paused"] .dm-core-player__toggle,
.dm-core-player[data-state="error"] .dm-core-player__toggle { box-shadow: 0 0 0 4px #28d65b0c, 0 0 11px #28d65b24; }
.dm-core-player[data-state="loading"] .dm-core-player__toggle { border-color: #7fc991; color: #d8edda; box-shadow: 0 0 0 4px #28d65b0c; }
.dm-core-player[data-state="ended"] .dm-core-player__toggle { color: #f1d178; }
.dm-core-player[data-state="error"] .dm-core-player__toggle::after { content: "!"; position: absolute; right: -4px; bottom: -3px; display: grid; place-items: center; width: 18px; height: 18px; border: 2px solid #11251a; border-radius: 50%; background: #d47d65; color: #15100e; font-size: 12px; font-weight: 900; }
.dm-core-player__timeline { grid-area: timeline; min-width: 0; }
.dm-core-player__progress { display: grid; gap: 7px; min-width: 0; }
.dm-core-player__timeline-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 11px; }
.dm-core-player__status { min-width: 0; overflow: hidden; margin: 0; color: #b9c5b9; font-size: 11px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.dm-core-player__times { color: #e6ecdf; font-size: 11px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dm-core-player__live-status { display: flex; align-items: center; gap: 10px; min-height: 29px; }
.dm-core-player__live-pill { padding: 6px 8px; border: 1px solid #477a50; border-radius: 5px; color: #82ed9c; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.dm-core-player[data-mode="podcast"] .dm-core-player__live-status,
.dm-core-player[data-mode="live"] .dm-core-player__progress { display: none; }
.dm-core-player input[type="range"] { display: block; width: 100%; height: 36px; margin: 0; appearance: none; -webkit-appearance: none; background: transparent; cursor: pointer; }
.dm-core-player input[type="range"]::-webkit-slider-runnable-track { height: 5px; border-radius: 5px; background: linear-gradient(to right, #28d65b 0 var(--fill, 0%), #435147 var(--fill, 0%) 100%); }
.dm-core-player input[type="range"]::-moz-range-track { height: 5px; border-radius: 5px; background: #435147; }
.dm-core-player input[type="range"]::-moz-range-progress { height: 5px; border-radius: 5px; background: #28d65b; }
.dm-core-player input[type="range"]::-webkit-slider-thumb { width: 17px; height: 17px; margin-top: -6px; appearance: none; -webkit-appearance: none; border: 3px solid #102016; border-radius: 50%; background: #28d65b; box-shadow: 0 0 0 1px #28d65b; }
.dm-core-player input[type="range"]::-moz-range-thumb { width: 17px; height: 17px; border: 3px solid #102016; border-radius: 50%; background: #28d65b; }
.dm-core-player input[type="range"]:disabled { cursor: not-allowed; opacity: .42; }
.dm-core-player__volume-panel { grid-area: volume; min-width: 0; }
.dm-core-player__volume { display: flex; align-items: center; gap: 9px; min-width: 0; }
.dm-core-player__volume-toggle { display: none; grid-area: volume-toggle; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #477a50; border-radius: 8px; background: #172b1e; color: #e6ecdf; cursor: pointer; }
.dm-core-player__volume-toggle[aria-expanded="true"] { border-color: #f1d178; color: #f1d178; }
.dm-core-player__volume-toggle svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dm-core-player__volume svg { flex: 0 0 18px; width: 18px; height: 18px; fill: none; stroke: #b9c5b9; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dm-core-player__volume input { min-width: 45px; }
.dm-core-player__volume output { flex: 0 0 32px; color: #b9c5b9; font-size: 11px; font-variant-numeric: tabular-nums; text-align: right; }
.dm-core-player__live { grid-area: live; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 11px; border: 1px solid #ab8534; border-radius: 7px; background: #211d13; color: #f1d178; font-size: 11px; font-weight: 750; white-space: nowrap; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.dm-core-player__live:hover { border-color: #f1d178; background: #302717; }
.dm-core-player__live svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dm-core-player [hidden] { display: none !important; }
.dm-core-player[data-state="error"] .dm-core-player__status { color: #ffc0af; }
.dm-core-player[data-state="ended"] .dm-core-player__status { color: #f1d178; }
.dm-core-player[data-state="loading"] .dm-core-icon-loading { animation: dm-core-turn 2s linear infinite; }
@keyframes dm-core-turn { to { transform: rotate(360deg); } }
.dm-core-player__sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.dm-core-player :focus-visible, [data-dm-core-listen]:focus-visible, [data-dm-core-episode]:focus-visible { outline: 3px solid #f1d178; outline-offset: 3px; }
html:has(#dm-core-player) { --dm-player-clearance: 150px; scroll-padding-bottom: var(--dm-player-clearance); }
body:has(#dm-core-player) { padding-bottom: var(--dm-player-clearance); }
.dm-episode-listen { margin-block: 1.5rem; }
.dm-episode-audio-unavailable { margin-block: 1.5rem; color: #f1d178; }
[data-dm-core-listen] { cursor: pointer !important; opacity: 1 !important; }
@media (max-width: 1000px) {
	.dm-core-player__inner { grid-template-columns: minmax(0, 1fr) 60px auto; grid-template-areas: "identity transport live" "timeline timeline volume"; gap: 12px 18px; padding: 16px 22px; }
	.dm-core-player__volume-panel { width: 155px; }
	html:has(#dm-core-player) { --dm-player-clearance: 200px; }
}
@media (max-width: 600px) {
	.dm-core-player__inner { grid-template-columns: minmax(0, 1fr) 48px 44px; grid-template-areas: "identity transport volume-toggle" "timeline timeline live" "volume volume volume"; gap: 7px 8px; min-height: 0; padding: 9px 12px calc(9px + env(safe-area-inset-bottom)); }
	.dm-core-player__inner:has(.dm-core-player__volume-panel[hidden]) { grid-template-areas: "identity transport volume-toggle" "timeline timeline live"; }
	.dm-core-player__brand { gap: 8px; }
	.dm-core-player__art { flex-basis: 38px; width: 38px; height: 38px; }
	.dm-core-player__art--live svg { width: 26px; height: 26px; }
	.dm-core-player__eyebrow { margin-bottom: 2px; }
	.dm-core-player__identity strong { font-size: 13px; }
	.dm-core-player__identity small { display: none; }
	.dm-core-player__toggle { width: 48px; height: 48px; }
	.dm-core-player__volume-toggle { display: grid; }
	.dm-core-player__timeline-top { gap: 4px; }
	.dm-core-player__status { font-size: 10px; }
	.dm-core-player__times { font-size: 10px; }
	.dm-core-player__live-status { gap: 6px; }
	.dm-core-player__live-pill { padding: 5px; font-size: 9px; }
	.dm-core-player__live { width: 44px; min-height: 44px; padding: 0; }
	.dm-core-player__live span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
	.dm-core-player__volume-panel { width: 100%; }
	.dm-core-player__volume { width: 100%; }
	.dm-core-player[data-mode="live"] .dm-core-player__timeline { grid-column: 1 / -1; }
	html:has(#dm-core-player) { --dm-player-clearance: 220px; }
}
@media (max-width: 350px) {
	.dm-core-player__inner { padding-inline: 10px; }
	.dm-core-player__eyebrow { gap: 4px; letter-spacing: .08em; }
	.dm-core-player__times { font-size: 9px; }
	.dm-core-player__live { gap: 5px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
	.dm-core-player__toggle, .dm-core-player__live { transition: none; }
	.dm-core-player[data-state="loading"] .dm-core-icon-loading { animation: none; }
	.dm-core-player__live-eq span { animation: none !important; }
}
