/* On-DemanEQ – estilos del reproductor */

.odp, .odp-modal, .odp-mini {
	--odp-accent: #ff092f;
	--odp-accent2: #fb0019;
	--odp-grad: linear-gradient(45deg, var(--odp-accent) 0%, var(--odp-accent2) 100%);
	--odp-radius: 6px;
	/* Claro (por defecto): blanco con los grises azulados y el rojo de eqradio.net. */
	--odp-bg: #ffffff;
	--odp-surface: #f3f5f7;
	--odp-surface2: #e4e9ed;
	--odp-text: #111618;
	--odp-muted: #5c6b76;
	--odp-border: rgba(17, 22, 24, .09);
	--odp-shadow: 0 14px 40px rgba(17, 22, 24, .10);
	--odp-ease: cubic-bezier(.2, .8, .2, 1);
	--odp-on-accent: #fff;
	--odp-r-sm: calc(var(--odp-radius) * .6);
	font-family: inherit;
	color: var(--odp-text);
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
}

/* Oscuro: misma paleta que ProRadio / eqradio.net (#111618 → #2e3f4c). */
.odp-theme-dark {
	--odp-bg: #111618;
	--odp-surface: #1a2328;
	--odp-surface2: #2e3f4c;
	--odp-text: #ffffff;
	--odp-muted: #9fb0bc;
	--odp-border: rgba(255, 255, 255, .08);
	--odp-shadow: 0 12px 34px rgba(0, 0, 0, .45);
}

@media (prefers-color-scheme: dark) {
	.odp-theme-auto {
		--odp-bg: #111618;
		--odp-surface: #1a2328;
		--odp-surface2: #2e3f4c;
		--odp-text: #ffffff;
		--odp-muted: #9fb0bc;
		--odp-border: rgba(255, 255, 255, .08);
		--odp-shadow: 0 12px 34px rgba(0, 0, 0, .45);
	}
}

/* ---------- Reseteo defensivo frente al tema de WordPress ---------- */
.odp *, .odp-modal *, .odp-mini * { box-sizing: border-box; }
.odp button, .odp-modal button, .odp-mini button {
	-webkit-appearance: none; appearance: none;
	background: none; border: 0; margin: 0; padding: 0;
	font: inherit; color: inherit; line-height: 1.2;
	text-transform: none; letter-spacing: normal; box-shadow: none;
	min-height: 0; min-width: 0; width: auto; height: auto;
	cursor: pointer; text-align: inherit; border-radius: 0;
}
.odp button:focus-visible, .odp a:focus-visible, .odp [tabindex]:focus-visible,
.odp-modal button:focus-visible, .odp-modal a:focus-visible, .odp-mini button:focus-visible {
	outline: 2px solid var(--odp-accent); outline-offset: 2px;
}
.odp h2, .odp h3, .odp h4, .odp p, .odp ul, .odp ol, .odp li { margin: 0; padding: 0; }
.odp ul { list-style: none; }
.odp img { max-width: 100%; display: block; border: 0; box-shadow: none; }
.odp svg, .odp-modal svg, .odp-mini svg { width: 1.25em; height: 1.25em; fill: currentColor; display: block; flex: none; }
.odp a { text-decoration: none; color: inherit; box-shadow: none; }
.odp [hidden], .odp-modal [hidden], .odp-mini [hidden] { display: none !important; }

.odp {
	display: flex; flex-direction: column; gap: 18px;
	margin: 1.5em 0; font-size: 15px; line-height: 1.45;
}
.odp-section-title { margin-top: 2em; }
.odp-loading { height: 180px; border-radius: var(--odp-radius); background: linear-gradient(90deg, var(--odp-surface) 25%, var(--odp-surface2) 50%, var(--odp-surface) 75%); background-size: 200% 100%; animation: odp-shimmer 1.4s infinite; }
@keyframes odp-shimmer { to { background-position: -200% 0; } }
.odp-notice { padding: 12px 16px; border-left: 4px solid #d63638; background: #fff4f4; color: #50575e; font-size: 14px; }

/* ---------- Botones genéricos ---------- */
.odp-btn {
	display: inline-flex !important; align-items: center; justify-content: center;
	width: 40px !important; height: 40px !important; border-radius: 50% !important;
	color: var(--odp-text); transition: background .15s, color .15s, transform .1s;
}
.odp-btn:hover { background: var(--odp-surface2); }
.odp-btn:active { transform: scale(.94); }

.odp-pill {
	display: inline-flex !important; align-items: center; gap: 8px;
	padding: 10px 16px !important; border-radius: var(--odp-r-sm) !important;
	background: var(--odp-grad) !important; color: var(--odp-on-accent) !important;
	font-weight: 700 !important; font-size: 12px !important; line-height: 1 !important;
	text-transform: uppercase !important; letter-spacing: .06em !important;
	transition: filter .15s, background .15s;
}
.odp-pill:hover { filter: brightness(1.08); }
.odp-pill--ghost { background: var(--odp-surface) !important; color: var(--odp-text) !important; }
.odp-pill--ghost:hover { background: var(--odp-surface2) !important; filter: none; }
.odp-pill svg { width: 18px; height: 18px; }

/* ---------- Cabecera ---------- */
.odp-head {
	position: relative; overflow: hidden;
	display: flex; gap: 22px; align-items: center;
	padding: 22px; border-radius: var(--odp-radius);
	background: var(--odp-surface);
	border-left: 4px solid var(--odp-accent);
}
.odp-head::after {
	content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
	background: radial-gradient(circle, color-mix(in srgb, var(--odp-accent) 18%, transparent), transparent 70%);
	pointer-events: none; animation: odp-float 9s ease-in-out infinite;
}
@keyframes odp-float { 50% { transform: translate(-30px, 24px) scale(1.08); } }
.odp .odp-head-title { text-transform: uppercase; letter-spacing: -.01em; }
.odp-head-art { width: 120px; height: 120px; object-fit: cover; border-radius: var(--odp-r-sm); flex: none; box-shadow: var(--odp-shadow); }
.odp-head-body { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.odp-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--odp-accent); }
.odp .odp-head-title { font-size: clamp(20px, 3vw, 28px); line-height: 1.15; font-weight: 800; color: var(--odp-text); }
.odp-head-host { color: var(--odp-muted); font-size: 14px; }
.odp-head-desc { color: var(--odp-muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.odp-head-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }

/* ---------- Escenario de audio ---------- */
.odp-astage {
	display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center;
	padding: 22px; border-radius: var(--odp-radius);
	background: var(--odp-bg); border: 1px solid var(--odp-border); box-shadow: var(--odp-shadow);
	position: relative; overflow: hidden;
}
.odp-astage::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(120% 120% at 0% 0%, color-mix(in srgb, var(--odp-accent) 14%, transparent), transparent 55%);
}
.odp-art {
	position: relative; aspect-ratio: 1; border-radius: var(--odp-r-sm); overflow: hidden;
	background: linear-gradient(135deg, var(--odp-accent), color-mix(in srgb, var(--odp-accent) 40%, #000));
	box-shadow: var(--odp-shadow);
}
.odp-art img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.odp-art-ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .85); }
.odp-art-ph svg { width: 40%; height: 40%; }
.is-playing .odp-art { animation: odp-breathe 4s ease-in-out infinite; }
@keyframes odp-breathe { 50% { transform: scale(1.015); } }

.odp-main { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.odp-kicker { font-size: 13px; color: var(--odp-muted); font-weight: 500; }
.odp .odp-title { font-size: clamp(18px, 2.4vw, 24px); line-height: 1.2; font-weight: 800; color: var(--odp-text); }

/* Barra de progreso */
.odp-seek { padding: 10px 0; cursor: pointer; touch-action: none; }
.odp-track { position: relative; height: 6px; border-radius: 6px; background: var(--odp-surface2); }
.odp-buf, .odp-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; }
.odp-buf { background: color-mix(in srgb, var(--odp-text) 14%, transparent); }
.odp-fill { background: var(--odp-grad); }
.odp-knob {
	position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%;
	background: #fff; border: 3px solid var(--odp-accent); box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
	transform: scale(0); transition: transform .15s;
}
.odp-seek:hover .odp-knob, .odp-seek:focus-visible .odp-knob, .is-playing .odp-knob { transform: scale(1); }
.odp-times { display: flex; justify-content: space-between; font-size: 12px; color: var(--odp-muted); font-variant-numeric: tabular-nums; margin-top: -4px; }

/* Controles */
.odp-controls { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 2px; }
.odp-play {
	width: 64px !important; height: 64px !important; background: var(--odp-grad) !important; color: var(--odp-on-accent) !important;
	box-shadow: 0 8px 20px color-mix(in srgb, var(--odp-accent) 45%, transparent); margin: 0 6px;
}
.odp-play:hover { filter: brightness(1.08); }
.odp-play svg { width: 30px; height: 30px; }
.odp-skip { position: relative; }
.odp-skip small { position: absolute; font-size: 8px; font-weight: 800; top: 50%; left: 50%; transform: translate(-50%, -38%); }
.odp-skip svg { width: 26px; height: 26px; }
.odp-speed { font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; width: 46px !important; border-radius: 999px !important; }
.odp-vol { display: flex; align-items: center; margin-left: auto; }
.odp-vol input { width: 80px; accent-color: var(--odp-accent); }
.odp-controls .odp-speed { margin-right: auto; }
.odp-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }

/* Indicador de carga */
.is-buffering .odp-play svg, .is-buffering .odp-vbig svg { animation: odp-pulse .9s ease-in-out infinite; }
@keyframes odp-pulse { 50% { opacity: .35; } }

/* ---------- Escenario de video ---------- */
.odp-vstage { display: flex; flex-direction: column; gap: 14px; }
.odp-vbox { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--odp-radius); overflow: hidden; box-shadow: var(--odp-shadow); }
.odp-vbox video { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; }
.odp-vbox.is-fs { border-radius: 0; }
.odp-vbig {
	position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
	width: 76px !important; height: 76px !important; border-radius: 50% !important;
	display: grid !important; place-items: center; background: var(--odp-grad) !important; color: #fff !important;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .4); transition: opacity .2s, transform .2s;
}
.odp-vbig svg { width: 34px; height: 34px; }
.is-playing .odp-vbig { opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(.85); }
.odp-vbar {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 12px 8px; color: #fff;
	background: linear-gradient(transparent, rgba(0, 0, 0, .75)); transition: opacity .25s;
}
.odp-vbar .odp-track { background: rgba(255, 255, 255, .25); }
.odp-vbar .odp-buf { background: rgba(255, 255, 255, .35); }
.odp-vbar .odp-btn { color: #fff; }
.odp-vbar .odp-btn:hover { background: rgba(255, 255, 255, .15); }
.odp-vrow { display: flex; align-items: center; gap: 2px; }
.odp-time { font-size: 13px; font-variant-numeric: tabular-nums; margin-left: 6px; white-space: nowrap; }
.odp-spacer { flex: 1; }
.odp-vbar .odp-vol { margin-left: 0; }
.odp-vbar .odp-vol input { width: 70px; }
.odp-vbox.is-idle { cursor: none; }
.odp-vbox.is-idle .odp-vbar { opacity: 0; }
.odp-vinfo { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
.odp-vinfo-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1 1 280px; }
.odp-vinfo .odp-actions { margin-top: 0; }

/* ---------- Chips de programas ---------- */
.odp-chips {
	display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: thin;
	scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
}
.odp-chip {
	display: inline-flex !important; align-items: center; gap: 8px; flex: none; scroll-snap-align: start;
	padding: 6px 14px 6px 6px !important; border-radius: 999px !important;
	background: var(--odp-surface) !important; color: var(--odp-text) !important;
	font-size: 14px !important; font-weight: 600 !important; white-space: nowrap; border: 1px solid transparent !important;
}
.odp-chip:first-child { padding-left: 14px !important; }
.odp-chip img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.odp-chip:hover { background: var(--odp-surface2) !important; }
.odp-chip.is-on { background: var(--odp-grad) !important; color: var(--odp-on-accent) !important; }

/* ---------- Barra de filtros ---------- */
.odp-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.odp-search {
	flex: 1 1 240px; display: flex; align-items: center; gap: 8px;
	padding: 0 14px; height: 44px; border-radius: 999px; background: var(--odp-surface); color: var(--odp-muted);
}
.odp .odp-search input {
	flex: 1; min-width: 0; border: 0 !important; background: none !important; box-shadow: none !important; outline: 0;
	font: inherit; font-size: 15px; color: var(--odp-text); padding: 0 !important; margin: 0; height: 100%;
}
.odp .odp-toolbar select {
	height: 44px; padding: 0 36px 0 16px !important; border-radius: 999px !important; border: 0 !important; margin: 0;
	background: var(--odp-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23888'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 12px center / 18px !important;
	-webkit-appearance: none; appearance: none; color: var(--odp-text); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; box-shadow: none !important;
}
.odp-count { font-size: 13px; color: var(--odp-muted); margin-left: auto; }
.odp-clear { font-size: 13px !important; font-weight: 600 !important; color: var(--odp-accent) !important; text-decoration: underline !important; }

/* ---------- Lista de audio ---------- */
.odp-month-head {
	font-size: 12px !important; font-weight: 800 !important; letter-spacing: .1em; text-transform: uppercase;
	color: var(--odp-muted) !important; margin: 14px 0 6px !important; padding-left: 4px !important;
}
.odp-month-head:first-child { margin-top: 0 !important; }
.odp-eps { display: flex; flex-direction: column; gap: 4px; }
.odp-ep {
	display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 8px;
	border-radius: var(--odp-r-sm); transition: background .15s;
}
.odp-ep:hover { background: var(--odp-surface); }
.odp-ep.is-active { background: color-mix(in srgb, var(--odp-accent) 10%, var(--odp-bg)); }
.odp-ep-play {
	position: relative; width: 56px !important; height: 56px !important; flex: none; border-radius: var(--odp-r-sm) !important; overflow: hidden;
	background: linear-gradient(135deg, var(--odp-accent), color-mix(in srgb, var(--odp-accent) 40%, #000)) !important;
}
.odp-ep-play img { width: 100%; height: 100%; object-fit: cover; }
.odp-ep-ic, .odp-eq {
	position: absolute; inset: 0; display: grid; place-items: center; color: #fff;
	background: rgba(0, 0, 0, .35); opacity: 0; transition: opacity .15s;
}
.odp-ep:hover .odp-ep-ic, .odp-ep.is-active .odp-ep-ic { opacity: 1; }
.odp-ep.is-playing .odp-ep-ic { opacity: 0; }
.odp-ep.is-playing:hover .odp-ep-ic { opacity: 1; }
.odp-ep.is-playing .odp-eq { opacity: 1; display: flex; align-items: flex-end; justify-content: center; gap: 3px; padding-bottom: 16px; }
.odp-ep.is-playing:hover .odp-eq { opacity: 0; }
.odp-eq i { display: block; width: 4px; height: 14px; background: #fff; border-radius: 2px; animation: odp-eq 1s ease-in-out infinite; }
.odp-eq i:nth-child(2) { animation-delay: -.4s; }
.odp-eq i:nth-child(3) { animation-delay: -.7s; }
@keyframes odp-eq { 0%, 100% { height: 5px; } 50% { height: 22px; } }

.odp-ep-body { flex: 1; min-width: 0; display: flex !important; flex-direction: column; gap: 3px; }
.odp-ep-title { font-weight: 700; font-size: 15px; color: var(--odp-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.odp-ep.is-active .odp-ep-title { color: var(--odp-accent); }
.odp-ep-meta { font-size: 13px; color: var(--odp-muted); }
.odp-new, .odp-done {
	display: inline-block; font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
	padding: 2px 7px; border-radius: 999px; margin-left: 4px; vertical-align: 1px;
}
.odp-new { background: var(--odp-accent); color: #fff; }
.odp-done { background: var(--odp-surface2); color: var(--odp-muted); }
.odp-ep-prog { display: block; height: 3px; border-radius: 3px; background: var(--odp-surface2); overflow: hidden; max-width: 220px; margin-top: 3px; }
.odp-ep-prog span { display: block; height: 100%; background: var(--odp-accent); }
.odp-ep-actions { display: flex; gap: 2px; flex: none; color: var(--odp-muted); }
.odp-ep-actions .odp-btn { color: var(--odp-muted); }
.odp-ep-actions .odp-btn:hover { color: var(--odp-text); }

/* ---------- Grilla de video ---------- */
.odp-grid .odp-eps { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.odp-grid .odp-ep { padding: 0; display: block; background: none !important; }
.odp-card { display: flex !important; flex-direction: column; gap: 6px; width: 100% !important; }
.odp-thumb {
	position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--odp-r-sm); overflow: hidden;
	background: linear-gradient(135deg, var(--odp-surface2), var(--odp-surface));
}
.odp-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.odp-card:hover .odp-thumb img { transform: scale(1.04); }
.odp-thumb-play {
	position: absolute; inset: 0; display: grid; place-items: center; color: #fff;
	background: rgba(0, 0, 0, .3); opacity: 0; transition: opacity .2s;
}
.odp-thumb-play svg { width: 44px; height: 44px; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .5)); }
.odp-card:hover .odp-thumb-play, .odp-ep.is-active .odp-thumb-play { opacity: 1; }
.odp-badge {
	position: absolute; right: 8px; bottom: 8px; padding: 2px 7px; border-radius: 6px;
	background: rgba(0, 0, 0, .78); color: #fff; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.odp-thumb .odp-new { position: absolute; left: 8px; top: 8px; margin: 0; }
.odp-thumb-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .3); }
.odp-thumb-prog span { display: block; height: 100%; background: var(--odp-accent); }
.odp-card-title { font-weight: 700; font-size: 15px; line-height: 1.3; color: var(--odp-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.odp-ep.is-active .odp-card-title { color: var(--odp-accent); }
.odp-card-meta { font-size: 13px; color: var(--odp-muted); }

.odp-noresults { text-align: center; color: var(--odp-muted); padding: 24px; }
.odp-more {
	align-self: center; padding: 12px 24px !important; border-radius: 999px !important;
	background: var(--odp-surface) !important; color: var(--odp-text) !important; font-weight: 700 !important; font-size: 14px !important;
}
.odp-more:hover { background: var(--odp-surface2) !important; }

/* Vista compacta */
.odp--compacta .odp-astage { grid-template-columns: 120px 1fr; padding: 16px; gap: 18px; }
.odp--compacta .odp-ep-play { width: 44px !important; height: 44px !important; }
.odp--compacta .odp-ep { padding: 6px; }

/* ---------- Modal (compartir / suscribirse) ---------- */
.odp-modal { position: fixed; inset: 0; z-index: 999999; display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .2s; }
.odp-modal.is-open { opacity: 1; }
.odp-modal-bg { position: absolute; inset: 0; background: rgba(10, 10, 20, .55); backdrop-filter: blur(4px); }
.odp-modal-box {
	position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow: auto;
	background: var(--odp-bg); color: var(--odp-text); border-radius: var(--odp-radius); box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
	transform: translateY(12px); transition: transform .2s;
}
.odp-modal.is-open .odp-modal-box { transform: none; }
.odp-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 0 20px; font-size: 17px; }
.odp-modal-body { padding: 12px 20px 20px; }
.odp-share { display: flex; flex-direction: column; gap: 14px; }
.odp-share-title { margin: 0; color: var(--odp-muted); font-size: 14px; }
.odp-share-time { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.odp-share-time input { accent-color: var(--odp-accent); width: 18px; height: 18px; margin: 0; }
.odp-copy { display: flex; gap: 8px; }
.odp-copy input {
	flex: 1; min-width: 0; height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--odp-border);
	background: var(--odp-surface); color: var(--odp-text); font-size: 13px; margin: 0;
}
.odp-copy-btn {
	display: inline-flex !important; align-items: center; gap: 6px; padding: 0 16px !important; height: 44px !important;
	border-radius: 10px !important; background: var(--odp-accent) !important; color: #fff !important; font-weight: 700 !important; font-size: 14px !important; white-space: nowrap;
}
.odp-copy-btn.is-done { background: #1a9a52 !important; }
.odp-share-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.odp-net {
	display: flex !important; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px !important;
	border-radius: 12px !important; font-size: 12px !important; font-weight: 600 !important; color: var(--odp-text) !important;
	text-decoration: none !important; text-align: center !important; transition: background .15s;
}
.odp-net:hover { background: var(--odp-surface); }
.odp-net-ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #777; }
.odp-net-ic svg { width: 24px; height: 24px; }
.odp-net--whatsapp .odp-net-ic { background: #25d366; }
.odp-net--facebook .odp-net-ic { background: #1877f2; }
.odp-net--x .odp-net-ic { background: #000; }
.odp-net--telegram .odp-net-ic { background: #29a9eb; }
.odp-net--linkedin .odp-net-ic { background: #0a66c2; }
.odp-net--email .odp-net-ic { background: #6b6b78; }
.odp-net--more .odp-net-ic { background: var(--odp-surface2); color: var(--odp-text); }
.odp-embed { border-top: 1px solid var(--odp-border); padding-top: 12px; }
.odp-embed summary { cursor: pointer; font-weight: 700; font-size: 14px; list-style: none; display: flex; align-items: center; gap: 6px; }
.odp-embed summary::-webkit-details-marker { display: none; }
.odp-embed summary::after { content: "▾"; margin-left: auto; color: var(--odp-muted); transition: transform .2s; }
.odp-embed[open] summary::after { transform: rotate(180deg); }
.odp-embed p { margin: 10px 0 8px; font-size: 13px; color: var(--odp-muted); }
.odp-embed textarea {
	width: 100%; resize: none; border-radius: 10px; border: 1px solid var(--odp-border); background: var(--odp-surface);
	color: var(--odp-text); font: 12px/1.45 ui-monospace, Menlo, Consolas, monospace; padding: 10px; margin: 0 0 8px;
}
.odp-embed .odp-copy-btn { width: 100% !important; justify-content: center; }
.odp-feed-steps { margin: 0; padding-left: 20px; font-size: 14px; color: var(--odp-muted); display: flex; flex-direction: column; gap: 6px; }

/* ---------- Mini reproductor ---------- */
.odp-mini {
	position: fixed; left: 50%; bottom: 16px; z-index: 99999; width: min(560px, calc(100% - 24px));
	display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 10px;
	background: var(--odp-bg); color: var(--odp-text); border-radius: var(--odp-radius);
	box-shadow: 0 16px 50px rgba(0, 0, 0, .25); border: 1px solid var(--odp-border);
	transform: translate(-50%, 150%); transition: transform .3s cubic-bezier(.2, .9, .3, 1.2); overflow: hidden;
}
.odp-mini.is-visible { transform: translate(-50%, 0); }
.odp-mini-bar { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--odp-surface2); }
.odp-mini-bar span { display: block; height: 100%; background: var(--odp-accent); }
.odp-mini-art { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: none; }
.odp-mini-info { flex: 1; min-width: 0; display: flex !important; flex-direction: column; gap: 2px; text-align: left !important; }
.odp-mini-info strong { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.odp-mini-info span { font-size: 12px; color: var(--odp-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.odp-mini-play { background: var(--odp-accent) !important; color: #fff !important; }
.odp-mini .odp-btn { display: inline-flex !important; align-items: center; justify-content: center; width: 40px !important; height: 40px !important; border-radius: 50% !important; flex: none; }
.odp-mini-x { color: var(--odp-muted) !important; }

/* ---------- Celulares ---------- */
@media (max-width: 680px) {
	.odp { gap: 14px; }
	.odp-head { flex-direction: column; text-align: center; padding: 18px; }
	.odp-head-art { width: 110px; height: 110px; }
	.odp-head-actions { justify-content: center; }

	.odp-astage, .odp--compacta .odp-astage { grid-template-columns: 1fr; padding: 18px; gap: 16px; text-align: center; }
	.odp-art { width: min(260px, 72%); margin: 0 auto; }
	.odp--compacta .odp-art { width: 120px; }
	.odp-vol { display: none !important; }
	.odp-controls { gap: 2px; }
	.odp-controls .odp-speed { margin-right: 0; }
	.odp-actions { justify-content: center; }
	.odp-play { width: 68px !important; height: 68px !important; }

	.odp-vbox { border-radius: var(--odp-r-sm); margin: 0 -4px; }
	.odp-vbar .odp-skip, .odp-vbar .odp-vol { display: none !important; }
	.odp-vbig { width: 64px !important; height: 64px !important; }
	.odp-vinfo .odp-actions { justify-content: flex-start; }

	.odp-toolbar select { flex: 1 1 40%; }
	.odp-count { width: 100%; margin: 0; }

	.odp-ep { gap: 12px; padding: 8px 4px; }
	.odp-ep-play { width: 52px !important; height: 52px !important; }
	.odp-ep-title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
	.odp-ep-actions a.odp-btn { display: none !important; }

	.odp-grid .odp-eps { grid-template-columns: 1fr 1fr; gap: 14px 10px; }
	.odp-card-title { font-size: 14px; }

	.odp-share-grid { grid-template-columns: repeat(3, 1fr); }
	.odp-mini { bottom: 10px; }
}

@media (max-width: 380px) {
	.odp-grid .odp-eps { grid-template-columns: 1fr; }
}

/* ---------- Animaciones ---------- */
/* Entrada: todo arranca visible (sin JS que lo espere), la animación sólo lo acompaña. */
@keyframes odp-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes odp-pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.odp-ready > .odp-head { animation: odp-rise .6s var(--odp-ease) both; }
.odp-ready > .odp-stage { animation: odp-rise .6s .08s var(--odp-ease) both; }
.odp-ready > .odp-chips, .odp-ready > .odp-toolbar { animation: odp-rise .6s .16s var(--odp-ease) both; }
.odp-in { animation: odp-rise .5s calc(.12s + var(--i, 0) * 45ms) var(--odp-ease) both; }
.odp-head-art { animation: odp-pop .7s .1s var(--odp-ease) both; }

/* Cambio de episodio */
@keyframes odp-swap { from { opacity: .2; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes odp-swap-art { from { opacity: .3; transform: scale(.94) rotate(-1deg); } to { opacity: 1; transform: none; } }
.odp-stage.is-swap .odp-title, .odp-stage.is-swap .odp-kicker { animation: odp-swap .45s var(--odp-ease) both; }
.odp-stage.is-swap .odp-art { animation: odp-swap-art .55s var(--odp-ease) both; }

/* Botón de play: halo mientras suena */
.odp-play { position: relative; }
.odp-play::after {
	content: ""; position: absolute; inset: 0; border-radius: 50%;
	box-shadow: 0 0 0 0 color-mix(in srgb, var(--odp-accent) 55%, transparent); pointer-events: none;
}
.is-playing .odp-play::after { animation: odp-halo 2s ease-out infinite; }
@keyframes odp-halo { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--odp-accent) 50%, transparent); } 100% { box-shadow: 0 0 0 18px transparent; } }

/* Relieve al pasar el mouse */
@media (hover: hover) {
	.odp-ep { transition: background .2s, transform .25s var(--odp-ease), box-shadow .25s; }
	.odp-ep:hover { transform: translateX(4px); }
	.odp-grid .odp-ep:hover { transform: translateY(-4px); }
	.odp-thumb { transition: box-shadow .3s var(--odp-ease); }
	.odp-card:hover .odp-thumb { box-shadow: var(--odp-shadow); }
	.odp-chip { transition: transform .2s var(--odp-ease), background .2s; }
	.odp-chip:hover { transform: translateY(-2px); }
	.odp-pill { transition: transform .2s var(--odp-ease), filter .15s, background .15s; }
	.odp-pill:hover { transform: translateY(-2px); }
}
.odp-fill, .odp-knob { transition: width .15s linear, left .15s linear, transform .15s; }

@media (prefers-reduced-motion: reduce) {
	.odp *, .odp-modal *, .odp-mini { animation: none !important; transition: none !important; }
}

/* Botones claros sobre la cabecera gris: fondo blanco para que se vean. */
.odp-head .odp-pill--ghost { background: var(--odp-bg) !important; box-shadow: 0 1px 2px rgba(17, 22, 24, .08); }
.odp-head .odp-pill--ghost:hover { background: var(--odp-surface2) !important; }

/* ---------- Me gusta ---------- */
.odp-like.is-on, .odp-ep-like.is-on { color: var(--odp-accent) !important; }
.odp-like.is-on svg, .odp-ep-like.is-on svg { fill: var(--odp-accent); }
@keyframes odp-heart { 0% { transform: scale(1); } 30% { transform: scale(1.35); } 60% { transform: scale(.92); } 100% { transform: scale(1); } }
.odp-like.is-pop svg, .odp-ep-like.is-pop svg { animation: odp-heart .45s var(--odp-ease); }
.odp-ep-like { width: auto !important; min-width: 40px; padding: 0 8px !important; border-radius: 999px !important; gap: 4px; }
.odp-ep-like small { font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.odp-grid .odp-ep { position: relative; }
.odp-card-like { position: absolute; top: 8px; right: 8px; z-index: 2; }
.odp-card-like .odp-ep-like { background: rgba(255, 255, 255, .92) !important; color: #111618; height: 34px !important; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }

/* Ranking (orden Populares / Más gustados) */
.odp-rank {
	position: absolute; left: 4px; top: 4px; z-index: 3; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
	display: grid; place-items: center; font-size: 12px; font-weight: 900; color: #fff; background: var(--odp-grad); box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}
.odp-thumb .odp-rank { left: 8px; top: 8px; min-width: 30px; height: 30px; font-size: 15px; }
.odp-rank--2, .odp-rank--3 { background: #111618; }
.odp .odp-toolbar .odp-sort { font-weight: 700; }

/* ---------- Editor de recortes ---------- */
.odp-clip {
	display: flex; flex-direction: column; gap: 14px; padding: 18px 20px; border-radius: var(--odp-radius);
	background: var(--odp-bg); border: 2px solid var(--odp-accent); box-shadow: var(--odp-shadow);
}
.odp-clip-head { display: flex; align-items: center; gap: 12px; }
.odp-clip-head > div { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.odp-clip-head strong { font-size: 16px; }
.odp-clip-head small { color: var(--odp-muted); font-size: 13px; }
.odp-clip-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--odp-grad); color: #fff; flex: none; }
.odp-clip-track { position: relative; height: 64px; border-radius: 8px; background: var(--odp-surface); cursor: pointer; touch-action: none; user-select: none; overflow: visible; }
.odp-clip-ticks i { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--odp-surface2); }
.odp-clip-sel { position: absolute; top: 0; bottom: 0; background: color-mix(in srgb, var(--odp-accent) 22%, transparent); border-top: 3px solid var(--odp-accent); border-bottom: 3px solid var(--odp-accent); }
.odp-clip-h { position: absolute; top: -6px; bottom: -6px; width: 22px; margin-left: -11px; cursor: ew-resize; z-index: 2; outline: none; }
.odp-clip-h i { position: absolute; left: 7px; top: 0; bottom: 0; width: 8px; border-radius: 4px; background: var(--odp-accent); box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.odp-clip-h i::after { content: ""; position: absolute; left: 3px; top: 40%; height: 20%; width: 2px; background: rgba(255, 255, 255, .8); border-radius: 1px; }
.odp-clip-h:focus-visible i { outline: 3px solid color-mix(in srgb, var(--odp-accent) 40%, transparent); outline-offset: 2px; }
.odp-clip-head-pos { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--odp-text); opacity: .55; pointer-events: none; }
.odp-clip-scale { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--odp-muted); font-variant-numeric: tabular-nums; margin-top: -6px; }
.odp-clip-zoom { font-size: 12px !important; font-weight: 700 !important; color: var(--odp-accent) !important; text-decoration: underline !important; }
.odp-clip-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: start; }
.odp-clip-field { display: flex; flex-direction: column; gap: 6px; }
.odp-clip-field label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--odp-muted); }
.odp-clip-time { display: flex; align-items: center; gap: 4px; }
.odp-clip-time button { min-width: 34px !important; height: 34px !important; border-radius: 8px !important; background: var(--odp-surface) !important; font-size: 12px !important; font-weight: 800 !important; text-align: center !important; }
.odp-clip-time button:hover { background: var(--odp-surface2) !important; }
.odp .odp-clip-time input { width: 82px; height: 34px; text-align: center; border-radius: 8px; border: 1px solid var(--odp-border); background: var(--odp-bg); color: var(--odp-text); font: 700 15px/1 ui-monospace, Menlo, Consolas, monospace; padding: 0; margin: 0; }
.odp-clip-now { font-size: 12px !important; color: var(--odp-accent) !important; font-weight: 700 !important; text-align: left !important; }
.odp-clip-len { display: flex; flex-direction: column; align-items: center; gap: 2px; padding-top: 18px; }
.odp-clip-len small { font-size: 12px; color: var(--odp-muted); }
.odp-clip-len b { font-size: 22px; font-variant-numeric: tabular-nums; }
.odp-clip-len b.is-bad { color: #c62828; }
.odp-clip-field:last-child { align-items: flex-end; }
.odp-clip-field:last-child .odp-clip-now { text-align: right !important; }
.odp-clip-name { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--odp-muted); }
.odp .odp-clip-name input { height: 42px; border-radius: 8px; border: 1px solid var(--odp-border); padding: 0 12px; font: 600 15px/1 inherit; text-transform: none; letter-spacing: 0; color: var(--odp-text); background: var(--odp-bg); margin: 0; }
.odp-clip-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.odp-clip-err { color: #c62828; font-weight: 600; font-size: 14px; }
.odp-pill.is-busy { opacity: .7; pointer-events: none; }
.odp-clip-done { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 10px; background: color-mix(in srgb, #1a9a52 8%, var(--odp-bg)); }
.odp-clip-ok { display: flex; gap: 10px; align-items: center; }
.odp-clip-ok svg { width: 28px; height: 28px; fill: #1a9a52; }
.odp-clip-ok div { display: flex; flex-direction: column; }
.odp-clip-ok small { color: var(--odp-muted); }
.odp-clip-done .odp-copy input { background: var(--odp-bg); }

/* ---------- Imagen para redes ---------- */
.odp-social { border-top: 1px solid var(--odp-border); padding-top: 12px; }
.odp-social summary { cursor: pointer; font-weight: 700; font-size: 14px; list-style: none; display: flex; align-items: center; gap: 6px; }
.odp-social summary::-webkit-details-marker { display: none; }
.odp-social summary::after { content: "▾"; margin-left: auto; color: var(--odp-muted); transition: transform .2s; }
.odp-social[open] summary::after { transform: rotate(180deg); }
.odp-social-fmts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 12px 0; }
.odp-social-fmts button { display: flex !important; flex-direction: column; gap: 2px; padding: 8px 6px !important; border-radius: 10px !important; background: var(--odp-surface) !important; border: 2px solid transparent !important; text-align: center !important; }
.odp-social-fmts b { font-size: 12px; }
.odp-social-fmts small { font-size: 10px; color: var(--odp-muted); line-height: 1.2; }
.odp-social-fmts button.is-on { border-color: var(--odp-accent) !important; background: var(--odp-bg) !important; }
.odp-social-prev { display: grid; place-items: center; min-height: 220px; background: var(--odp-surface); border-radius: 12px; padding: 12px; }
.odp-social-prev img { max-height: 340px; width: auto; max-width: 100%; border-radius: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.odp-social-wait { color: var(--odp-muted); font-size: 13px; }
.odp-social-btns { display: flex; gap: 8px; margin-top: 10px; }
.odp-social-btns > * { flex: 1; justify-content: center; text-decoration: none !important; }
.odp-social-tip { font-size: 12px; color: var(--odp-muted); margin: 8px 0 0; }

@media (max-width: 680px) {
	.odp-clip { padding: 14px; }
	.odp-clip-row { grid-template-columns: 1fr 1fr; }
	.odp-clip-len { grid-column: 1 / -1; grid-row: 1; flex-direction: row; justify-content: center; gap: 8px; padding-top: 0; }
	.odp-clip-field:last-child { align-items: flex-start; }
	.odp-clip-time button[data-c$="5"] { display: none !important; }
	.odp-social-fmts { grid-template-columns: repeat(2, 1fr); }
	.odp-actions .odp-pill span { display: inline; }
}

/* =====================================================================
   Blindaje frente al tema + piel prolija.
   ProRadio pinta todos los <button> del sitio (fondo celeste, texto blanco
   con !important, bordes de 50px y un ::after encima). ":not(#odp_)" suma
   peso de ID a cada regla para que manden los estilos del reproductor.
   ===================================================================== */

:is(.odp, .odp-modal, .odp-mini) [hidden]:not(#odp_):not(#odp__) { display: none !important; }

/* Reseteo fuerte de botones y enlaces-botón */
:is(.odp, .odp-modal, .odp-mini) button:not(#odp_),
:is(.odp, .odp-modal, .odp-mini) a.odp-btn:not(#odp_),
:is(.odp, .odp-modal, .odp-mini) a.odp-pill:not(#odp_) {
	background: none !important; background-image: none !important; color: inherit !important;
	border: 0 !important; border-radius: 0 !important; box-shadow: none !important; text-shadow: none !important;
	padding: 0 !important; margin: 0 !important; min-width: 0 !important; min-height: 0 !important; max-width: none !important;
	font-family: inherit !important; font-size: inherit !important; font-weight: inherit !important;
	line-height: 1.2 !important; letter-spacing: normal !important; text-transform: none !important;
	text-decoration: none !important; vertical-align: middle !important; transform: none;
	-webkit-appearance: none !important; appearance: none !important; opacity: 1;
}
:is(.odp, .odp-modal, .odp-mini) button:not(#odp_)::before,
:is(.odp, .odp-modal, .odp-mini) button:not(#odp_):not(.odp-play)::after,
:is(.odp, .odp-modal, .odp-mini) a.odp-pill:not(#odp_)::before,
:is(.odp, .odp-modal, .odp-mini) a.odp-pill:not(#odp_)::after { content: none !important; display: none !important; }

/* Campos de texto y listas desplegables */
.odp input:not(#odp_), .odp select:not(#odp_), .odp textarea:not(#odp_),
.odp-modal input:not(#odp_), .odp-modal textarea:not(#odp_) {
	font-family: inherit !important; text-transform: none !important; letter-spacing: normal !important; box-shadow: none !important;
}

/* ---------- Botones redondos de control ---------- */
:is(.odp, .odp-modal, .odp-mini) :is(a, button).odp-btn:not(#odp_) {
	display: inline-flex !important; align-items: center; justify-content: center; flex: none;
	width: 40px !important; height: 40px !important; border-radius: 50% !important;
	color: var(--odp-text) !important; transition: background .15s, color .15s, transform .1s;
}
:is(.odp, .odp-modal, .odp-mini) :is(a, button).odp-btn:not(#odp_):hover { background: var(--odp-surface) !important; }
.odp .odp-btn:not(#odp_):active { transform: scale(.94); }

.odp .odp-speed:not(#odp_) {
	width: auto !important; min-width: 46px !important; height: 32px !important; padding: 0 10px !important;
	border-radius: 999px !important; border: 1px solid var(--odp-surface2) !important;
	font-size: 13px !important; font-weight: 700 !important; font-variant-numeric: tabular-nums;
}
.odp .odp-skip:not(#odp_) small { font-size: 8px; font-weight: 800; line-height: 1; }

/* Play grande */
.odp .odp-play:not(#odp_) {
	width: 60px !important; height: 60px !important; margin: 0 8px !important;
	background: var(--odp-grad) !important; color: var(--odp-on-accent) !important;
	box-shadow: 0 8px 22px color-mix(in srgb, var(--odp-accent) 38%, transparent) !important;
}
.odp .odp-play:not(#odp_):hover { background: var(--odp-grad) !important; filter: brightness(1.07); }
.odp .odp-play:not(#odp_)::after {
	content: "" !important; display: block !important; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
	background: none !important; border: 0 !important; opacity: 1 !important; transform: none !important;
}
.odp .odp-play:not(#odp_) svg { position: relative; z-index: 1; }

/* ---------- Botones con texto (pills) ---------- */
:is(.odp, .odp-modal) :is(a, button).odp-pill:not(#odp_) {
	display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
	height: 38px !important; padding: 0 16px !important; border-radius: 999px !important;
	background: var(--odp-grad) !important; color: var(--odp-on-accent) !important;
	border: 1px solid transparent !important;
	font-size: 13px !important; font-weight: 700 !important; line-height: 1 !important; white-space: nowrap;
	transition: background .15s, border-color .15s, color .15s, transform .2s var(--odp-ease);
}
:is(.odp, .odp-modal) :is(a, button).odp-pill:not(#odp_):hover { filter: brightness(1.06); }
:is(.odp, .odp-modal) :is(a, button).odp-pill--ghost:not(#odp_) {
	background: var(--odp-bg) !important; color: var(--odp-text) !important;
	border-color: var(--odp-surface2) !important;
}
:is(.odp, .odp-modal) :is(a, button).odp-pill--ghost:not(#odp_):hover {
	filter: none; border-color: var(--odp-accent) !important; color: var(--odp-accent) !important;
}
.odp .odp-pill:not(#odp_) svg { width: 17px; height: 17px; }
.odp .odp-like.is-on:not(#odp_) { color: var(--odp-accent) !important; border-color: color-mix(in srgb, var(--odp-accent) 45%, transparent) !important; }

/* ---------- Escenario de audio ---------- */
.odp .odp-astage { grid-template-columns: 200px 1fr; gap: 28px; padding: 24px; }
.odp .odp-astage::before { background: radial-gradient(90% 90% at 0% 0%, color-mix(in srgb, var(--odp-accent) 8%, transparent), transparent 60%); }
.odp .odp-controls { justify-content: flex-start; gap: 4px; margin-top: 4px; }
.odp .odp-controls .odp-speed { margin-right: 6px !important; }
.odp .odp-actions { gap: 8px; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--odp-border); }
.odp .odp-kicker { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--odp-accent); }

/* ---------- Programas: pestañas con miniatura ---------- */
.odp .odp-chips {
	flex-wrap: wrap; overflow: visible; gap: 8px; padding: 2px 0 4px;
	-webkit-mask-image: none; mask-image: none;
}
.odp .odp-chips::-webkit-scrollbar { display: none; }
.odp .odp-chip:not(#odp_) {
	display: inline-flex !important; align-items: center; gap: 9px; flex: none;
	height: 40px !important; padding: 4px 14px 4px 4px !important; border-radius: 999px !important;
	background: var(--odp-bg) !important; color: var(--odp-text) !important;
	border: 1px solid var(--odp-surface2) !important;
	font-size: 14px !important; font-weight: 600 !important; white-space: nowrap;
	transition: border-color .15s, background .15s, color .15s, transform .2s var(--odp-ease);
}
.odp .odp-chip:not(#odp_):first-child { padding: 4px 18px !important; }
.odp .odp-chip:not(#odp_) img {
	width: 32px; height: 32px; border-radius: 50%; object-fit: cover; object-position: center top; flex: none;
	box-shadow: 0 0 0 1px var(--odp-border);
}
.odp .odp-chip[hidden]:not(#odp_) { display: none !important; }
.odp .odp-chip.odp-chip-more:not(#odp_) {
	padding: 4px 16px !important; color: var(--odp-muted) !important; border-style: dashed !important; font-weight: 700 !important;
}
.odp .odp-chip.odp-chip-more:not(#odp_):hover { color: var(--odp-accent) !important; border-color: var(--odp-accent) !important; }
.odp .odp-chip:not(#odp_):hover { border-color: color-mix(in srgb, var(--odp-accent) 50%, transparent) !important; background: var(--odp-bg) !important; }
.odp .odp-chip.is-on:not(#odp_) {
	background: color-mix(in srgb, var(--odp-accent) 7%, var(--odp-bg)) !important;
	border-color: var(--odp-accent) !important; color: var(--odp-accent) !important;
	box-shadow: 0 0 0 1px var(--odp-accent) inset !important;
}

/* ---------- Buscador y filtros ---------- */
.odp .odp-toolbar { gap: 8px; }
.odp label.odp-search:not(#odp_) {
	display: flex !important; flex-direction: row !important; align-items: center; gap: 10px; margin: 0 !important;
	height: 44px; padding: 0 16px !important; border-radius: 12px !important;
	background: var(--odp-bg) !important; border: 1px solid var(--odp-surface2) !important; color: var(--odp-muted) !important;
	font-size: 15px !important; font-weight: 400 !important; text-transform: none !important; letter-spacing: normal !important;
}
.odp label.odp-search:not(#odp_):focus-within { border-color: var(--odp-accent) !important; }
.odp label.odp-search:not(#odp_) svg { width: 18px; height: 18px; }
.odp .odp-search input:not(#odp_) {
	flex: 1 !important; width: auto !important; min-width: 0 !important; height: 100% !important; margin: 0 !important; padding: 0 !important;
	border: 0 !important; border-radius: 0 !important; background: none !important; outline: 0 !important;
	color: var(--odp-text) !important; font-size: 15px !important; line-height: normal !important;
}
.odp .odp-toolbar select:not(#odp_) {
	width: auto !important; height: 44px !important; margin: 0 !important; padding: 0 38px 0 16px !important;
	border-radius: 12px !important; border: 1px solid var(--odp-surface2) !important;
	background: var(--odp-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235c6b76'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 12px center / 18px !important;
	color: var(--odp-text) !important; font-size: 14px !important; font-weight: 600 !important;
}
.odp .odp-clear:not(#odp_) { font-size: 13px !important; font-weight: 600 !important; color: var(--odp-accent) !important; text-decoration: underline !important; }

/* ---------- Lista de audio ---------- */
.odp .odp-month-head { margin: 18px 0 6px !important; }
.odp .odp-eps { gap: 2px; }
.odp .odp-ep { padding: 8px 10px; gap: 14px; border-radius: 12px; border: 1px solid transparent; }
.odp .odp-ep:hover { background: var(--odp-surface); }
.odp .odp-ep.is-active { background: color-mix(in srgb, var(--odp-accent) 6%, var(--odp-bg)); border-color: color-mix(in srgb, var(--odp-accent) 25%, transparent); }
@media (hover: hover) { .odp .odp-ep:hover { transform: none; } }
.odp .odp-ep-play:not(#odp_) {
	position: relative; display: block !important; width: 56px !important; height: 56px !important; flex: none;
	border-radius: 10px !important; overflow: hidden;
	background: linear-gradient(135deg, var(--odp-accent), color-mix(in srgb, var(--odp-accent) 40%, #000)) !important;
}
.odp .odp-ep-play:not(#odp_) img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.odp .odp-ep-body:not(#odp_) {
	flex: 1 !important; min-width: 0; display: flex !important; flex-direction: column; align-items: flex-start; gap: 3px;
	text-align: left !important; color: var(--odp-text) !important; white-space: normal !important;
}
.odp .odp-ep-body:not(#odp_):hover { background: none !important; }
.odp .odp-ep-title { max-width: 100%; }
.odp .odp-ep-actions :is(a, button).odp-btn:not(#odp_) { color: var(--odp-muted) !important; width: 38px !important; height: 38px !important; }
.odp .odp-ep-actions :is(a, button).odp-btn:not(#odp_):hover { color: var(--odp-text) !important; background: var(--odp-bg) !important; }
.odp .odp-ep-like:not(#odp_) { width: auto !important; min-width: 38px !important; padding: 0 8px !important; border-radius: 999px !important; gap: 4px; }
.odp .odp-ep-like.is-on:not(#odp_) { color: var(--odp-accent) !important; }
.odp .odp-more:not(#odp_) {
	display: inline-flex !important; align-self: center; height: 42px !important; padding: 0 24px !important; border-radius: 999px !important;
	background: var(--odp-bg) !important; border: 1px solid var(--odp-surface2) !important;
	color: var(--odp-text) !important; font-weight: 700 !important; font-size: 14px !important; align-items: center;
}
.odp .odp-more:not(#odp_):hover { border-color: var(--odp-accent) !important; color: var(--odp-accent) !important; }

/* ---------- Video: reproductor ---------- */
.odp .odp-vstage { gap: 16px; }
.odp .odp-vbox { width: 100%; max-width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; }
.odp .odp-vbox video:not(#odp_) {
	position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important;
	margin: 0 !important; object-fit: contain; background: #000;
}
.odp .odp-vbox.is-fs { border-radius: 0; }
.odp .odp-vbig:not(#odp_) {
	position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
	display: grid !important; place-items: center; width: 72px !important; height: 72px !important; border-radius: 50% !important;
	background: var(--odp-grad) !important; color: #fff !important; box-shadow: 0 10px 30px rgba(0, 0, 0, .4) !important;
	transition: opacity .2s, transform .2s;
}
.odp.is-playing .odp-vbig:not(#odp_) { opacity: 0 !important; pointer-events: none; transform: translate(-50%, -50%) scale(.85) !important; }
.odp .odp-vbar { z-index: 2; }
.odp .odp-vbar .odp-btn:not(#odp_) { color: #fff !important; width: 38px !important; height: 38px !important; }
.odp .odp-vbar .odp-btn:not(#odp_):hover { background: rgba(255, 255, 255, .16) !important; }
.odp .odp-vbar .odp-speed:not(#odp_) { border-color: rgba(255, 255, 255, .35) !important; width: auto !important; height: 30px !important; }
.odp .odp-vinfo { align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--odp-border); }
.odp .odp-vinfo .odp-actions { border-top: 0; padding-top: 0; margin-top: 0; }

/* ---------- Video: grilla de episodios ---------- */
.odp .odp-grid .odp-eps { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px 18px; }
.odp .odp-grid .odp-ep { padding: 0; border: 0; border-radius: 0; background: none !important; }
.odp .odp-card:not(#odp_) {
	display: flex !important; flex-direction: column; align-items: stretch; gap: 8px; width: 100% !important;
	text-align: left !important; color: var(--odp-text) !important; white-space: normal !important;
}
.odp .odp-card:not(#odp_):hover { background: none !important; }
.odp .odp-thumb { border-radius: 12px; }
.odp .odp-thumb img { object-position: center; }
.odp .odp-ep.is-active .odp-thumb { box-shadow: 0 0 0 3px var(--odp-accent); }
.odp .odp-card-title { font-size: 15px; }
.odp .odp-card-like .odp-ep-like:not(#odp_) {
	height: 32px !important; background: rgba(255, 255, 255, .94) !important; color: #111618 !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .15) !important;
}

/* ---------- Modal y mini reproductor ---------- */
.odp-modal .odp-copy-btn:not(#odp_) {
	display: inline-flex !important; align-items: center; gap: 6px; height: 44px !important; padding: 0 16px !important;
	border-radius: 10px !important; background: var(--odp-accent) !important; color: #fff !important;
	font-weight: 700 !important; font-size: 14px !important; white-space: nowrap;
}
.odp-modal .odp-copy-btn.is-done:not(#odp_) { background: #1a9a52 !important; }
.odp-modal .odp-modal-head .odp-btn:not(#odp_) { color: var(--odp-muted) !important; }
.odp-mini .odp-mini-play:not(#odp_) { background: var(--odp-accent) !important; color: #fff !important; }
.odp-mini .odp-mini-x:not(#odp_) { color: var(--odp-muted) !important; }
.odp-mini .odp-mini-info:not(#odp_) { display: flex !important; flex: 1; min-width: 0; flex-direction: column; gap: 2px; text-align: left !important; }

/* ---------- Celulares ---------- */
@media (max-width: 680px) {
	.odp .odp-astage { grid-template-columns: 1fr; gap: 16px; padding: 18px; }
	.odp .odp-controls { justify-content: center; }
	.odp .odp-controls .odp-speed { margin-right: 0 !important; }
	.odp .odp-actions { justify-content: center; }
	.odp .odp-play:not(#odp_) { width: 64px !important; height: 64px !important; }
	.odp .odp-toolbar select:not(#odp_) { flex: 1 1 40%; }
	.odp label.odp-search:not(#odp_) { flex: 1 1 100%; }
	.odp .odp-chip:not(#odp_) { height: 38px !important; font-size: 13px !important; }
	.odp .odp-chip:not(#odp_) img { width: 30px; height: 30px; }
	.odp .odp-ep { padding: 8px 6px; gap: 12px; }
	.odp .odp-ep-play:not(#odp_) { width: 52px !important; height: 52px !important; }
	.odp .odp-ep-actions a.odp-btn:not(#odp_) { display: none !important; }
	.odp .odp-vbox { border-radius: 10px; margin: 0; }
	.odp .odp-vbar .odp-skip:not(#odp_), .odp .odp-vbar .odp-vol { display: none !important; }
	.odp .odp-vbig:not(#odp_) { width: 62px !important; height: 62px !important; }
	.odp .odp-vinfo .odp-actions { justify-content: flex-start; }
	.odp .odp-grid .odp-eps { grid-template-columns: 1fr 1fr; gap: 16px 10px; }
}
@media (max-width: 380px) {
	.odp .odp-grid .odp-eps { grid-template-columns: 1fr; }
}

/* ---------- Onda sonora del editor de recortes ---------- */
.odp .odp-clip-track { height: 72px; overflow: hidden; border-radius: 10px; }
.odp-clip-wave {
	position: absolute; inset: 8px 4px; display: flex; align-items: center; gap: 1px; pointer-events: none;
	transition: opacity .3s;
}
.odp-clip-wave i {
	flex: 1; height: 4%; min-height: 2px; border-radius: 2px;
	background: color-mix(in srgb, var(--odp-muted) 45%, transparent);
	transition: height .35s var(--odp-ease), background .15s;
}
.odp-clip-wave i.is-in { background: var(--odp-accent); }
.odp-clip-wave.is-loading { opacity: .45; animation: odp-pulse 1.2s ease-in-out infinite; }
.odp-clip-ticks i { opacity: .6; }
.odp .odp-clip-sel { background: color-mix(in srgb, var(--odp-accent) 12%, transparent); }

/* ---------- Vúmetro ---------- */
/* Todo el vúmetro queda oculto hasta que el nivelador arranca (si no hay Web Audio, no aparece). */
.odp:not(.has-vu) :is(.odp-vu-line, .odp-vu-dots, .odp-vu-spec) { display: none !important; }
.odp:not(.has-vu) .odp-vu-eq { width: 0; margin-right: -8px; opacity: 0; }

/* A · Línea fina */
.odp .odp-vu-line { position: relative; height: 2px; margin: 6px 0 -4px; }
.odp .odp-vu-line span { position: absolute; top: 0; height: 2px; width: 0; border-radius: 2px; background: var(--odp-accent); opacity: .85; }
.odp .odp-vu-line span:first-child { right: 50%; }
.odp .odp-vu-line span:last-child { left: 50%; }

/* B · Puntos */
.odp canvas.odp-vu-dots:not(#odp_) { display: block; width: 100% !important; height: 10px !important; max-width: none; margin: 8px 0 0 !important; }

/* C · Ecualizador mini */
.odp .odp-title-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.odp .odp-title-row .odp-title { min-width: 0; }
.odp .odp-vu-eq { display: inline-flex; align-items: flex-end; gap: 2px; width: 23px; height: 16px; flex: none; transition: opacity .3s, width .3s, margin .3s; }
.odp .odp-vu-eq i { width: 3px; height: 18%; border-radius: 1px; background: var(--odp-accent); }

/* E · Espectro de fondo */
.odp canvas.odp-vu-spec:not(#odp_) { position: absolute; left: 0; right: 0; bottom: 0; width: 100% !important; height: 45% !important; max-width: none; margin: 0 !important; pointer-events: none; }
.odp .odp-astage > :not(.odp-vu-spec) { position: relative; z-index: 1; }

@media (max-width: 680px) {
	.odp .odp-title-row { justify-content: center; }
}

/* ---------- Sobre el programa ---------- */
.odp .odp-about-btn.is-on:not(#odp_) { border-color: var(--odp-accent) !important; color: var(--odp-accent) !important; }
.odp .odp-about {
	grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: flex-start; justify-content: space-between;
	padding: 14px 16px; border-radius: 10px; background: var(--odp-surface); animation: odp-rise .35s var(--odp-ease) both;
}
.odp .odp-about[hidden] { display: none !important; }
.odp .odp-about-txt { display: flex; flex-direction: column; gap: 4px; flex: 1 1 320px; min-width: 0; }
.odp .odp-about-txt strong { font-size: 15px; }
.odp .odp-about-meta { font-size: 13px; color: var(--odp-muted); }
.odp .odp-about-txt p { margin: 4px 0 0; font-size: 14px; color: var(--odp-text); max-width: 70ch; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.odp .odp-about-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.odp .odp-about-more { margin-left: 6px; font-size: 13px; font-weight: 700; color: var(--odp-accent) !important; white-space: nowrap; }
.odp a.odp-soc:not(#odp_) {
	display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
	background: var(--odp-bg); color: var(--odp-muted) !important; border: 1px solid var(--odp-surface2); transition: color .15s, border-color .15s;
}
.odp a.odp-soc:not(#odp_):hover { color: var(--odp-accent) !important; border-color: var(--odp-accent); }
.odp a.odp-soc svg { width: 17px; height: 17px; }
.odp .odp-head-social { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.odp .odp-vstage .odp-about { margin-top: -4px; }
@media (max-width: 680px) {
	.odp .odp-about { text-align: left; }
	.odp .odp-head-social { justify-content: center; }
}

/* ---------- Comentarios ---------- */
.odp .odp-com { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; border-radius: var(--odp-radius); background: var(--odp-bg); border: 1px solid var(--odp-border); }
.odp .odp-com-head { margin: 0; font-size: 15px; font-weight: 800; color: var(--odp-text); font-family: inherit; text-transform: none; letter-spacing: 0; }
.odp .odp-com-n { color: var(--odp-muted); font-weight: 600; }
.odp .odp-com-form { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.odp .odp-com-row, .odp .odp-com-who, .odp .odp-com-code { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.odp .odp-com-who[hidden], .odp .odp-com-code[hidden], .odp .odp-com-msg[hidden] { display: none !important; }
.odp .odp-com input:not(#odp_) {
	flex: 1 1 220px; min-width: 0; height: 42px !important; margin: 0 !important; padding: 0 14px !important;
	border-radius: 12px !important; border: 1px solid var(--odp-surface2) !important; background: var(--odp-bg) !important;
	color: var(--odp-text) !important; font-size: 15px !important; box-shadow: none !important; outline: 0;
}
.odp .odp-com input:not(#odp_):focus { border-color: var(--odp-accent) !important; }
.odp .odp-com .odp-com-pin:not(#odp_) { flex: 0 0 130px; letter-spacing: .3em; text-align: center; font-variant-numeric: tabular-nums; }
.odp .odp-com-code-txt { flex-basis: 100%; font-size: 14px; color: var(--odp-text); }
.odp .odp-com-meta:not(#odp_) { display: block; width: 100%; margin: 0 !important; padding: 0 2px !important; font-size: 13px !important; line-height: 1.45 !important; color: var(--odp-muted) !important; }
.odp .odp-com-field { position: relative; display: flex; flex: 1 1 260px; min-width: 0; }
.odp .odp-com-field input:not(#odp_) { flex: 1 1 auto; width: 100% !important; padding-right: 64px !important; }
.odp .odp-com-count:not(#odp_) {
	position: absolute; right: 14px; top: 50%; transform: translateY(-50%); white-space: nowrap; pointer-events: none;
	font-size: 12px !important; font-weight: 700; color: var(--odp-muted) !important; font-variant-numeric: tabular-nums;
}
.odp .odp-com-count.is-near:not(#odp_) { color: var(--odp-accent) !important; }
.odp .odp-com input:not(#odp_)::placeholder { color: var(--odp-muted) !important; opacity: .85 !important; }
.odp button.odp-com-now:not(#odp_) { color: var(--odp-accent) !important; font-weight: 700 !important; text-decoration: underline !important; font-variant-numeric: tabular-nums; }
.odp .odp-com-msg { margin: 0; font-size: 14px; color: #1a7f45; }
.odp .odp-com-msg.is-bad { color: #c62828; }
.odp .odp-com-list { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; max-height: 320px; overflow-y: auto; }
.odp .odp-com-list:empty { display: none; }
.odp .odp-com-list li { display: flex; gap: 10px; align-items: baseline; padding: 6px 4px; border-top: 1px solid var(--odp-border); font-size: 14px; }
.odp .odp-com-list li:first-child { border-top: 0; }
.odp .odp-com-list b { color: var(--odp-text); }
.odp .odp-com-list small { color: var(--odp-muted); font-size: 12px; white-space: nowrap; }
.odp button.odp-com-t:not(#odp_) {
	flex: none; padding: 2px 8px !important; border-radius: 999px !important; background: color-mix(in srgb, var(--odp-accent) 10%, var(--odp-bg)) !important;
	color: var(--odp-accent) !important; font-size: 12px !important; font-weight: 800 !important; font-variant-numeric: tabular-nums;
}
.odp button.odp-com-t:not(#odp_):hover { background: var(--odp-accent) !important; color: #fff !important; }
.odp .odp-com-mark { position: absolute; top: -5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--odp-accent); opacity: .55; pointer-events: none; }
.odp .odp-vbar .odp-com-mark { background: #fff; opacity: .8; }
@media (max-width: 680px) {
	.odp .odp-com { padding: 14px; }
	.odp .odp-com-row .odp-pill { flex: 1 1 100%; }
}

/* Recortes: fundido */
.odp .odp-clip-fade { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--odp-muted); }
.odp .odp-clip-fade label { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--odp-text); }
.odp .odp-clip-fade select:not(#odp_) { height: 34px !important; padding: 0 30px 0 10px !important; border-radius: 8px !important; border: 1px solid var(--odp-surface2) !important; background-color: var(--odp-bg) !important; color: var(--odp-text) !important; font-size: 13px !important; margin: 0 !important; }
