/* Ministerio TV: solo el reproductor radio y su maqueta de vista previa.
   Todas las combinaciones mantienen la tipografía y los controles legibles. */
.mtv-radio-v2[data-radio-theme="cielo"],.mtv-radio-theme-preview[data-radio-theme="cielo"],.mtv-radio-embed[data-radio-theme="cielo"]{--rt-bg1:#eff9ff;--rt-bg2:#c5e7ff;--rt-bg3:#b6dbf9;--rt-al1:#b7ddff;--rt-al2:#63b5f0;--rt-al3:#238bdb;--rt-ink:#123459;--rt-muted:#416988;--rt-accent:#116aca;--rt-accent2:#4ac1ed;--rt-disc:#134b85;--rt-disc2:#3076b3;--rt-disc-label:#e9f7ff;--rt-line:#93bee2}
.mtv-radio-v2[data-radio-theme="turquesa"],.mtv-radio-theme-preview[data-radio-theme="turquesa"],.mtv-radio-embed[data-radio-theme="turquesa"]{--rt-bg1:#effffe;--rt-bg2:#c1f2ec;--rt-bg3:#a0e3e0;--rt-al1:#a8f2ec;--rt-al2:#45c9bf;--rt-al3:#178d9b;--rt-ink:#103f48;--rt-muted:#387077;--rt-accent:#087f89;--rt-accent2:#45d1c5;--rt-disc:#116572;--rt-disc2:#21878b;--rt-disc-label:#e5fffa;--rt-line:#82cbc6}
.mtv-radio-v2[data-radio-theme="menta"],.mtv-radio-theme-preview[data-radio-theme="menta"],.mtv-radio-embed[data-radio-theme="menta"]{--rt-bg1:#f4fff7;--rt-bg2:#d6f5e1;--rt-bg3:#b6e8cb;--rt-al1:#caefd5;--rt-al2:#73cfa7;--rt-al3:#26896d;--rt-ink:#164338;--rt-muted:#437466;--rt-accent:#16755d;--rt-accent2:#61d0a3;--rt-disc:#176449;--rt-disc2:#389476;--rt-disc-label:#ecfff2;--rt-line:#8fceb1}
.mtv-radio-v2[data-radio-theme="lavanda"],.mtv-radio-theme-preview[data-radio-theme="lavanda"],.mtv-radio-embed[data-radio-theme="lavanda"]{--rt-bg1:#fbf9ff;--rt-bg2:#e8dcfc;--rt-bg3:#d3c5f4;--rt-al1:#e3d5fd;--rt-al2:#ab87e8;--rt-al3:#7655bd;--rt-ink:#302653;--rt-muted:#635680;--rt-accent:#6946ba;--rt-accent2:#af8deb;--rt-disc:#54408f;--rt-disc2:#8468c4;--rt-disc-label:#faf6ff;--rt-line:#baa7e7}
.mtv-radio-v2[data-radio-theme="coral"],.mtv-radio-theme-preview[data-radio-theme="coral"],.mtv-radio-embed[data-radio-theme="coral"]{--rt-bg1:#fffaf5;--rt-bg2:#ffe1d5;--rt-bg3:#ffc6bb;--rt-al1:#ffe2ce;--rt-al2:#ffa089;--rt-al3:#df6575;--rt-ink:#5a313b;--rt-muted:#875b62;--rt-accent:#b64c59;--rt-accent2:#ff9e7f;--rt-disc:#8d4555;--rt-disc2:#c36c71;--rt-disc-label:#fff5ec;--rt-line:#efada7}
.mtv-radio-v2[data-radio-theme="dorado"],.mtv-radio-theme-preview[data-radio-theme="dorado"],.mtv-radio-embed[data-radio-theme="dorado"]{--rt-bg1:#fffcf5;--rt-bg2:#f9edca;--rt-bg3:#f1dcae;--rt-al1:#fbe7b4;--rt-al2:#dbb46f;--rt-al3:#ac7c44;--rt-ink:#493b2c;--rt-muted:#75634e;--rt-accent:#906120;--rt-accent2:#d8a653;--rt-disc:#815d32;--rt-disc2:#b28545;--rt-disc-label:#fff6da;--rt-line:#dac08a}
.mtv-radio-v2[data-radio-theme="rosa"],.mtv-radio-theme-preview[data-radio-theme="rosa"],.mtv-radio-embed[data-radio-theme="rosa"]{--rt-bg1:#fffbfe;--rt-bg2:#fae2f3;--rt-bg3:#f2cae7;--rt-al1:#fce0f1;--rt-al2:#e9a2d4;--rt-al3:#be68a9;--rt-ink:#53304f;--rt-muted:#825f7a;--rt-accent:#a13d88;--rt-accent2:#dd8dc8;--rt-disc:#814b79;--rt-disc2:#b376a9;--rt-disc-label:#fff4fb;--rt-line:#ddaecf}
.mtv-radio-v2[data-radio-theme="grafito"],.mtv-radio-theme-preview[data-radio-theme="grafito"],.mtv-radio-embed[data-radio-theme="grafito"]{--rt-bg1:#f6f8fa;--rt-bg2:#dde5eb;--rt-bg3:#c9d7df;--rt-al1:#e0e9ee;--rt-al2:#a8c0ce;--rt-al3:#527e96;--rt-ink:#213747;--rt-muted:#586c79;--rt-accent:#23678b;--rt-accent2:#77b5cc;--rt-disc:#395766;--rt-disc2:#5e8290;--rt-disc-label:#f3fbff;--rt-line:#b4c5d0}
/* Si falta un valor de la BD, se usa el tema claro original por defecto. */
.mtv-channel-page .mtv-player-card .radio-player-shell.mtv-radio-v2[data-radio-theme]{
 color:var(--rt-ink);border-color:var(--rt-line);
 background:linear-gradient(125deg,var(--rt-bg1) 0%,var(--rt-bg2) 58%,var(--rt-bg3) 100%);
 box-shadow:0 14px 34px rgba(34,62,91,.11);
}
.mtv-channel-page .mtv-radio-v2[data-radio-theme] .mtv-radio-album{
 background:linear-gradient(145deg,var(--rt-al1),var(--rt-al2) 54%,var(--rt-al3));
 box-shadow:inset 0 1px 1px #fff9,0 12px 25px #344e6230;
}
.mtv-radio-v2[data-radio-theme] .mtv-radio-record{background:repeating-radial-gradient(circle,var(--rt-disc) 0 3px,var(--rt-disc2) 4px 6px,var(--rt-disc) 7px 9px)}
.mtv-radio-v2[data-radio-theme] .mtv-radio-record span{color:var(--rt-accent);background:var(--rt-disc-label)}
.mtv-radio-v2[data-radio-theme] .mtv-radio-kicker,.mtv-radio-v2[data-radio-theme] .mtv-radio-track-label{color:var(--rt-accent)}
.mtv-radio-v2[data-radio-theme] .mtv-radio-kicker-dot{background:var(--rt-accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--rt-accent) 17%,transparent)}
.mtv-radio-v2[data-radio-theme] .mtv-radio-heading,.mtv-radio-v2[data-radio-theme] .mtv-radio-song-title,.mtv-radio-v2[data-radio-theme] .mtv-radio-state-label{color:var(--rt-ink)!important}
.mtv-radio-v2[data-radio-theme] .mtv-radio-artist,.mtv-radio-v2[data-radio-theme] .mtv-radio-status,.mtv-radio-v2[data-radio-theme] .mtv-radio-volume-wrap label,.mtv-radio-v2[data-radio-theme] .mtv-radio-visual-label{color:var(--rt-muted)!important}
.mtv-radio-v2[data-radio-theme] .mtv-radio-play{background:linear-gradient(140deg,var(--rt-accent2),var(--rt-accent));box-shadow:0 8px 18px #24476030}
.mtv-radio-v2[data-radio-theme] .mtv-radio-play:focus-visible,.mtv-radio-v2[data-radio-theme] .mtv-radio-volume:focus-visible{outline-color:var(--rt-accent)}
.mtv-radio-v2[data-radio-theme] .mtv-radio-volume{accent-color:var(--rt-accent)}
.mtv-radio-v2[data-radio-theme] .mtv-radio-equalizer{border-color:var(--rt-line);background:#ffffff5c}
.mtv-radio-v2[data-radio-theme] .mtv-radio-equalizer span{background:linear-gradient(0deg,var(--rt-accent),var(--rt-accent2))}
.mtv-radio-v2[data-radio-theme] .mtv-radio-album-caption{text-shadow:0 1px 5px #15394b}
.mtv-radio-v2[data-radio-theme] .mtv-radio-art-credit{color:var(--rt-accent)}
/* La carátula real se conserva en sus colores originales. Los temas cambian el marco y el marcador de ausencia. */


/* Ministerio TV: tema de TODA la pagina publica de una RADIO.
   Una unica paleta elegida en Mi canal / Reproductor y Embed. CSS puro.
   No modifica radio, metadatos, caratula real, video, URLs ni base de datos.
   :has() delimita rigurosamente las reglas a las paginas con reproductor de radio;
   televisiones y resto del portal conservan sus estilos previos. */
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme="cielo"]){--mrt-page1:#f4faff;--mrt-page2:#e2f2ff;--mrt-card:#fafdff;--mrt-card2:#dbeeff;--mrt-hero1:#eaf7ff;--mrt-hero2:#cde7fc;--mrt-accent:#135d9c;--mrt-ink:#173b61;--mrt-muted:#506f8a;--mrt-border:#b7d8f2;--mrt-surface:#d6eafa}
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme="turquesa"]){--mrt-page1:#f0fdfa;--mrt-page2:#d9f4ef;--mrt-card:#fafffd;--mrt-card2:#cff2ec;--mrt-hero1:#e9fcf8;--mrt-hero2:#bdebe4;--mrt-accent:#087b84;--mrt-ink:#124249;--mrt-muted:#426f70;--mrt-border:#9bd9d3;--mrt-surface:#cdf1e9}
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme="menta"]){--mrt-page1:#f3fcf5;--mrt-page2:#e2f6e7;--mrt-card:#fcfffd;--mrt-card2:#d8f2e1;--mrt-hero1:#effaf2;--mrt-hero2:#cbebd6;--mrt-accent:#177459;--mrt-ink:#184536;--mrt-muted:#4b6e5c;--mrt-border:#afdac0;--mrt-surface:#d9f0df}
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme="lavanda"]){--mrt-page1:#f9f7ff;--mrt-page2:#ede6fb;--mrt-card:#fdfbff;--mrt-card2:#e8dcfa;--mrt-hero1:#f5f0ff;--mrt-hero2:#dfd0f6;--mrt-accent:#6848b2;--mrt-ink:#352653;--mrt-muted:#6a5c80;--mrt-border:#c6b5e8;--mrt-surface:#eee4fa}
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme="coral"]){--mrt-page1:#fff7f4;--mrt-page2:#ffe7df;--mrt-card:#fffcf9;--mrt-card2:#ffe0d4;--mrt-hero1:#fff1eb;--mrt-hero2:#fbd1c4;--mrt-accent:#a94a58;--mrt-ink:#562f3b;--mrt-muted:#8a5a61;--mrt-border:#eec1b6;--mrt-surface:#fce2d7}
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme="dorado"]){--mrt-page1:#fffaf0;--mrt-page2:#f8eccf;--mrt-card:#fffef8;--mrt-card2:#f5e7bf;--mrt-hero1:#fff7e4;--mrt-hero2:#ecdcaf;--mrt-accent:#8b601e;--mrt-ink:#4c3b29;--mrt-muted:#7a6852;--mrt-border:#d9bf86;--mrt-surface:#f7eacd}
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme="rosa"]){--mrt-page1:#fff8fc;--mrt-page2:#f9e6f3;--mrt-card:#fffdff;--mrt-card2:#f3d9e9;--mrt-hero1:#fff1f9;--mrt-hero2:#ebc6df;--mrt-accent:#9e4085;--mrt-ink:#56304d;--mrt-muted:#806478;--mrt-border:#dfbad1;--mrt-surface:#f7deec}
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme="grafito"]){--mrt-page1:#f4f8fa;--mrt-page2:#e3ebef;--mrt-card:#fcfefe;--mrt-card2:#d7e4eb;--mrt-hero1:#edf4f7;--mrt-hero2:#cbdce4;--mrt-accent:#24698b;--mrt-ink:#243b4a;--mrt-muted:#597481;--mrt-border:#b7ccd6;--mrt-surface:#dce8ef}

/* Fondo general hasta el pie de pagina: solo radios. */
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) {
  background:linear-gradient(180deg,var(--mrt-page1) 0%,var(--mrt-page2) 54%,var(--mrt-page1) 100%);
  color:var(--mrt-ink);
}
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-channel-page {color:var(--mrt-ink);}

/* Franja del logo de la emisora, nombre, descripcion y Espanol/English.
   No se cambia la barra global de Ministerio TV ni se pinta la imagen del logo. */
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-channel-profile {
  background:var(--mrt-card);
  border-color:var(--mrt-border);
  box-shadow:0 14px 30px rgba(18,43,64,.09);
}
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-channel-identity {
  background:linear-gradient(112deg,var(--mrt-hero1),var(--mrt-hero2));
  border-top:1px solid var(--mrt-border);
}
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-channel-banner {background-color:var(--mrt-hero2);border-bottom-color:var(--mrt-border);}
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-channel-copy h1 {color:var(--mrt-ink);}
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-channel-copy p,
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-channel-meta,
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-language>span {color:var(--mrt-muted);}
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-channel-meta a {color:var(--mrt-accent);}
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-type-pill {
  color:var(--mrt-accent);background:var(--mrt-card);border-color:var(--mrt-border);
}
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-language a {
  background:var(--mrt-card);color:var(--mrt-ink);border-color:var(--mrt-border);
}
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-language a.active {
  background:var(--mrt-accent);border-color:var(--mrt-accent);color:#fff;
}
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-channel-profile .mtv-channel-logo {
  background:transparent!important;background-image:none!important;
  border:0!important;box-shadow:none!important;
}

/* Fondo de los paneles, titulos y chat: no se modifica el player/audio. */
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-channel-card,
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-announcement-card {
  background:linear-gradient(150deg,var(--mrt-card),var(--mrt-surface));
  border-color:var(--mrt-border);
}
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-card-title h2,
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-channel-vod-head h2,
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-announcements-head h2 {
  color:var(--mrt-ink);
}
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-chat-messages {
  background:var(--mrt-page1);border-color:var(--mrt-border);
  scrollbar-color:var(--mrt-border) var(--mrt-page1);
}
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-chat-item {border-bottom-color:var(--mrt-border);}
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-chat-item b {color:var(--mrt-accent);}
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-chat-item span,
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-chat-empty {color:var(--mrt-ink);}
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-chat-form input {
  background:var(--mrt-card);border-color:var(--mrt-border);color:var(--mrt-ink);
}
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-chat-form button,
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-announcement-link {
  background:var(--mrt-accent);color:#fff;
}
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-announcement-copy h3 {color:var(--mrt-ink);}
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-announcement-copy p {color:var(--mrt-muted);}

/* Versiculo biblico del dia: tarjeta, simbolo, texto, referencia y enlaces. */
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-verse-card {
  background:linear-gradient(135deg,var(--mrt-hero1),var(--mrt-hero2))!important;
  border-color:var(--mrt-border)!important;
  color:var(--mrt-ink)!important;
  box-shadow:0 9px 26px rgba(17,45,65,.08);
}
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-verse-symbol {
  background:var(--mrt-card);color:var(--mrt-accent);
}
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-verse-top h2 {color:var(--mrt-ink);}
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-verse-top p {color:var(--mrt-muted);}
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-verse-body {
  background:var(--mrt-card);border-color:var(--mrt-border);color:var(--mrt-ink);
}
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-verse-body *,
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-verse-body .mtv-verse-quotation {
  color:var(--mrt-ink)!important;
}
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-verse-body .mtv-verse-reference,
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-verse-body a {
  color:var(--mrt-accent)!important;
}
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-verse-credit {color:var(--mrt-muted);}
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-verse-credit a {color:var(--mrt-accent);}

/* Videos recientes: titulo, contador, zona de tarjetas y tarjetas individuales.
   No se borran ni ocultan los videos asociados con las radios. */
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-channel-vod-head {
  background:linear-gradient(120deg,var(--mrt-hero1),var(--mrt-hero2));
  border:1px solid var(--mrt-border);border-radius:16px;padding:15px 18px;
}
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-channel-vod-head span {
  background:var(--mrt-card);color:var(--mrt-accent);border:1px solid var(--mrt-border);
}
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-channel-videos {
  background:var(--mrt-surface);border:1px solid var(--mrt-border);
  padding:14px;border-radius:18px;
}
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-video-card {
  background:var(--mrt-card);color:var(--mrt-ink);
  border-color:var(--mrt-border);
}
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-video-card:hover {
  border-color:var(--mrt-accent);
}
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-video-thumb {background:var(--mrt-hero2);}
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-video-card small {color:var(--mrt-muted);}
body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-channel-empty {
  background:var(--mrt-surface);border-color:var(--mrt-border);color:var(--mrt-muted);
}
@media (max-width:720px) {
  body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-channel-vod-head {padding:12px;}
  body:has(.mtv-channel-page .mtv-radio-v2[data-radio-theme]) .mtv-channel-videos {padding:10px;}
}
