/* Hoja de estilos única v8 — Cero Iframes + Selector Multipantallas */
:root {
  --c-primario: #16a34a;
  --c-primarioOscuro: #15803d;
  --c-acento: #bbf7d0;
  --c-fondo: #f4f7f5;
  --c-fondoSuave: #eaf0ec;
  --c-superficie: #ffffff;
  --c-texto: #16211b;
  --c-textoSuave: #4a5a51;
  --c-vivo: #e11d48;

  --bg: var(--c-fondo);
  --bg-soft: var(--c-fondoSuave);
  --surface: var(--c-superficie);
  --surface-2: #f1f5f2;
  --border: #d9e3dc;
  --border-soft: #e7eee9;
  --text: var(--c-texto);
  --text-dim: var(--c-textoSuave);
  --text-mute: #74847a;
  --brand: var(--c-primario);
  --brand-strong: var(--c-primario);
  --brand-dark: var(--c-primarioOscuro);
  --brand-soft: rgba(22, 163, 74, .09);
  --live: var(--c-vivo);
  --agenda-text: #010101;
  --r-sm: 6px;
  --r: 10px;
  --shadow: 0 2px 10px rgba(20, 50, 30, .07);
  --ring: 0 0 0 3px rgba(22, 163, 74, .25);
  color-scheme: light;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--text);
  font: 400 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
ul { list-style: none; }

header.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 24px;
  background: linear-gradient(to right, var(--brand-strong), var(--brand-dark));
  box-shadow: 0 2px 8px rgba(20, 50, 30, .15);
}
.logo { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-size: 21px; font-weight: 800; letter-spacing: .3px; white-space: nowrap; flex: none; }
.logo:hover { color: #fff; }
.logo svg { width: 27px; height: 27px; flex: none; }
.logo i { font-style: normal; opacity: .88; font-weight: 700; }
.logo .logo-punto { fill: var(--c-acento); }

.navbar { display: flex; flex: 0 1 auto; min-width: 0; gap: .9rem; flex-wrap: nowrap; margin-left: auto; overflow: hidden; align-items: center; }
.navbar a { white-space: nowrap; color: #fff; font-size: 14px; font-weight: 600; opacity: .92; padding-bottom: 2px; border-bottom: 2px solid transparent; transition: opacity .2s, border-color .2s; }
.navbar a:hover, .navbar a[aria-current="page"] { color: #fff; opacity: 1; border-bottom-color: #fff; }
.navbar a.nav-multi { background: rgba(255, 255, 255, .18); padding: 5px 11px; border-radius: 6px; border-bottom: 0; opacity: 1; }
.navbar a.nav-multi:hover { background: rgba(255, 255, 255, .28); }

#menu-toggle { display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 2px; }
#menu-toggle svg { width: 1.6rem; height: 1.6rem; }
header.site-header.menu-compacto .navbar { display: none; }
header.site-header.menu-compacto #menu-toggle { display: flex; }

#menu-modal { display: none; position: fixed; inset: 0; z-index: 100; background: rgba(15, 30, 20, .45); }
#menu-modal.open { display: block; }
.modal-content { position: relative; width: 290px; max-width: 82%; height: 100%; padding: 22px; background: var(--surface); border-right: 1px solid var(--border); overflow-y: auto; }
#menu-close { position: absolute; top: 14px; right: 14px; background: none; border: 0; color: var(--text-mute); cursor: pointer; }
#menu-close svg { width: 1.5rem; height: 1.5rem; }
.modal-nav { display: flex; flex-direction: column; margin-top: 2.2rem; }
.modal-nav a { padding: 11px 2px; color: var(--text-dim); font-size: 15px; font-weight: 600; border-bottom: 1px solid var(--border-soft); }
.modal-nav a:hover { color: var(--brand); }

main { width: 94%; max-width: 1280px; margin: .6rem auto; padding: 20px 0 42px; flex: 1 0 auto; }
@media (max-width: 768px) { main { width: 100%; max-width: 96%; padding: 12px 0 32px; } }

.migas { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; margin: 0 0 8px; color: var(--text-mute); font-size: 13px; }
.migas a { color: var(--text-dim); font-weight: 600; }
.migas a:hover { color: var(--brand); }

h1 { color: var(--brand); text-align: center; font-size: 28px; font-weight: 800; line-height: 1.25; margin: .4rem 0 14px; }
h2 { font-size: 20px; font-weight: 700; line-height: 1.3; }
h3 { font-size: 16px; font-weight: 700; line-height: 1.35; }
.section-title { color: var(--text); text-align: center; margin: 34px 0 16px; font-size: 21px; font-weight: 800; }

.description { padding: 18px 22px; margin-bottom: 20px; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); color: var(--text-dim); font-size: 15px; line-height: 1.72; box-shadow: var(--shadow); }
.description strong { color: var(--text); }
.description p + p { margin-top: .75em; }

/* AGENDA */
#wraper { width: 100%; margin-bottom: 1.5rem; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.agenda-header { display: flex; align-items: center; justify-content: center; gap: 10px; padding: .65rem .8rem; background: linear-gradient(to right, var(--brand-strong), var(--brand-dark)); color: #fff; text-align: center; }
#title-agenda { font-size: 1rem; font-weight: 700; margin: 0; }
.agenda-search { position: relative; padding: 10px 14px; border-bottom: 1px solid var(--border-soft); background: var(--surface-2); }
.agenda-search svg { position: absolute; top: 50%; left: 26px; width: 18px; height: 18px; transform: translateY(-50%); color: var(--text-mute); pointer-events: none; }
#agenda-q { width: 100%; padding: 10px 14px 10px 42px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text); font: inherit; font-size: 15px; }
#agenda-q:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); }

#menu { margin: 0; padding: 0; }
.agenda-item { padding: 10px 16px; border-bottom: 1px solid var(--border-soft); cursor: pointer; transition: background-color .15s; }
.agenda-item:last-child { border-bottom: 0; }
.agenda-item:hover { background: #f9fbfc; }
.agenda-item.is-hidden { display: none; }

.agenda-toggle { display: block; width: 100%; margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.agenda-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.agenda-info { display: flex; align-items: center; flex: 1; min-width: 0; }
.agenda-time { flex: none; width: 3.6rem; text-align: center; font-variant-numeric: tabular-nums; font-weight: 700; font-size: 15px; color: var(--agenda-text); }
.agenda-item.is-live .agenda-time { color: var(--live); }
.agenda-flag { flex: none; width: 1.55rem; height: 1.55rem; margin-left: .5rem; border-radius: 3px; object-fit: contain; background: var(--surface-2); }
.agenda-title { flex: 1; min-width: 0; margin-left: .75rem; font-weight: 600; font-size: 15.5px; color: var(--agenda-text); }
.agenda-league-sub { display: block; font-size: 12.5px; font-weight: 500; color: var(--text-mute); }

.tag { flex: none; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--text-dim); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.tag--live { background: rgba(225, 29, 72, .12); color: var(--live); }
.tag--next { background: var(--brand-soft); color: var(--brand-dark); }
.agenda-chevron { flex: none; color: var(--text-mute); transition: transform .25s ease; }
.agenda-item.is-open .agenda-chevron { transform: rotate(180deg); color: var(--brand); }

.agenda-submenu { height: 0; opacity: 0; overflow: hidden; visibility: hidden; margin-left: 3.8rem; transition: height .32s ease, opacity .28s ease, margin-top .32s ease, visibility 0s linear .32s; }
.agenda-submenu.open { opacity: 1; margin-top: 8px; visibility: visible; transition: height .32s ease, opacity .28s ease, margin-top .32s ease, visibility 0s; }
.agenda-submenu li + li { border-top: 1px solid #e5e7eb; }
.submenu-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 6px; color: #334155; font-size: 15px; font-weight: 600; transition: color .15s; }
.submenu-item:hover { color: var(--brand); }
.submenu-left { display: inline-flex; align-items: center; gap: 9px; }
.submenu-dot { flex: none; width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent #010101; }
.submenu-item:hover .submenu-dot { border-left-color: var(--brand); }
.submenu-item small { color: var(--text-mute); font-size: 12px; font-weight: 600; }
.agenda-msg { padding: 26px 14px; text-align: center; color: var(--text-mute); font-size: 14px; }

/* PANEL SIN IFRAME (LANZADOR LIMPIO PARA CANALES 24/7 Y PARTIDOS) */
.launch-stage {
  max-width: 1060px; margin: 0 auto 24px;
  background: radial-gradient(circle at 50% 0%, rgba(22, 163, 74, .22) 0%, rgba(15, 23, 42, 0) 65%), #0f172a;
  border: 1px solid rgba(255, 255, 255, .1); border-top: 4px solid var(--brand);
  border-radius: 14px; padding: 30px 24px; text-align: center; color: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .22);
}
.launch-pill {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(22, 163, 74, .2);
  border: 1px solid rgba(74, 222, 128, .4); color: #86efac; font-size: 12px; font-weight: 800;
  padding: 5px 14px; border-radius: 999px; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 12px;
}
.launch-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.launch-title { font-size: 23px; font-weight: 800; margin-bottom: 8px; color: #fff; }
.launch-sub { color: #cbd5e1; font-size: 14.5px; max-width: 680px; margin: 0 auto 20px; }

.player-btns-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.btn-opcion {
  display: inline-flex; align-items: center; gap: 7px; padding: 11px 18px; border-radius: 8px;
  background: var(--brand); color: #fff !important; font-size: 14px; font-weight: 700;
  border: 2px solid var(--brand); transition: background .15s, transform .12s, box-shadow .15s; white-space: nowrap; cursor: pointer;
}
.btn-opcion:hover { background: var(--brand-dark); border-color: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(22, 163, 74, .35); }
.btn-opcion-dot { width: 7px; height: 7px; border-radius: 50%; background: #bbf7d0; flex: none; }
.btn-mas-opciones { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .25); padding: 11px 16px; border-radius: 8px; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.btn-mas-opciones:hover { background: rgba(255, 255, 255, .2); }
.btn-opcion.is-extra-hidden { display: none; }
.btn-sec { display: inline-flex; align-items: center; background: #fff; border: 1px solid var(--border); color: var(--text); padding: 8px 15px; border-radius: var(--r-sm); font-weight: 700; font-size: 13.5px; }
.btn-sec:hover { border-color: var(--brand); color: var(--brand-dark); }

/* MULTIPANTALLAS BUILDER (SIN IFRAME EN DOMINIO PRINCIPAL) */
.multi-grid {
  display: grid; gap: 14px; margin: 18px 0 22px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 720px) { .multi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.multi-slot {
  background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--brand);
  border-radius: var(--r); padding: 16px; box-shadow: var(--shadow);
}
.multi-slot label { display: block; font-size: 13px; font-weight: 800; color: var(--brand-dark); text-transform: uppercase; margin-bottom: 8px; letter-spacing: .5px; }
.multi-slot select {
  width: 100%; padding: 11px 12px; border: 1px solid var(--border); border-radius: 8px;
  background: var(--bg); color: var(--text); font: inherit; font-size: 14.5px; font-weight: 600;
}
.multi-slot select:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); }
.multi-launch-bar { text-align: center; margin-bottom: 30px; }

/* WIDGET COMPACTO 5 PARTIDOS EN VIVO */
.live-mini-box { max-width: 1060px; margin: 0 auto 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.live-mini-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 18px; background: var(--surface-2); border-bottom: 1px solid var(--border); font-size: 14px; font-weight: 800; color: var(--text); }
.live-mini-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 18px; border-bottom: 1px solid var(--border-soft); color: var(--text); font-size: 14px; font-weight: 600; }
.live-mini-row:last-child { border-bottom: 0; }
.live-mini-row:hover { background: #f2f9f4; color: var(--brand-dark); }
.live-mini-left { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.live-mini-time { font-weight: 800; color: var(--live); font-variant-numeric: tabular-nums; flex: none; }

/* CANALES & LIGAS */
.canales-mini { display: grid; gap: 11px; margin: 10px 0 30px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 600px) { .canales-mini { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .canales-mini { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.canal-mini { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--border); color: var(--text); font-size: 14px; font-weight: 700; box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.canal-mini:hover { border-color: var(--brand); transform: translateY(-2px); color: var(--brand-dark); }
.canal-ico { width: 32px; height: 32px; border-radius: 7px; background: var(--bg-soft); color: var(--brand-dark); display: flex; align-items: center; justify-content: center; flex: none; }
.canal-ico svg { width: 17px; height: 17px; }

.ligas-grid { display: grid; gap: 11px; margin: 10px 0 30px; grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 560px) { .ligas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .ligas-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.liga-card { display: flex; flex-direction: column; gap: 2px; padding: 13px 15px; background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--brand); border-radius: var(--r); color: var(--text); box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
.liga-card:hover { transform: translateY(-2px); border-color: var(--brand); }
.liga-card strong { font-size: 14.5px; color: var(--text); }
.liga-card span { font-size: 12.5px; color: var(--text-mute); }

.club-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 8px 0 20px; }
.club-pill { background: var(--surface); border: 1px solid var(--border); color: var(--text); padding: 6px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: all .15s; }
.club-pill:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* SEO, BLOG & FAQ */
.texto-seo { margin: 28px 0; color: var(--text-dim); font-size: 15px; line-height: 1.78; }
.texto-seo h2 { color: var(--text); margin: 1.6em 0 .55em; font-size: 20px; border-left: 4px solid var(--brand); padding-left: 11px; }
.texto-seo h2:first-child { margin-top: 0; }
.texto-seo h3 { color: var(--text); margin: 1.15em 0 .4em; font-size: 16.5px; }
.texto-seo p { margin-bottom: 1em; }
.texto-seo strong { color: var(--text); }
.texto-seo ul, .texto-seo ol { margin: 0 0 1.1em; padding-left: 1.4em; }
.texto-seo ul { list-style: disc; }
.texto-seo ol { list-style: decimal; }
.texto-seo li { margin-bottom: .4em; }

.blog-grid { display: grid; gap: 12px; margin: 12px 0 30px; grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.blog-card { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 16px 18px; color: var(--text); box-shadow: var(--shadow); }
.blog-card:hover { border-color: var(--brand); }
.blog-card h3 { font-size: 16px; margin-bottom: 6px; color: var(--text); }
.blog-card p { font-size: 14px; color: var(--text-dim); }

.faq { display: grid; gap: 10px; margin-top: 28px; }
.faq > h2 { color: var(--text); text-align: center; margin: 4px 0 10px; }
.faq details { padding: 13px 16px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface); }
.faq summary { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; list-style: none; font-size: 15px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; color: var(--brand); font-weight: 900; font-size: 17px; line-height: 1.2; }
.faq details[open] summary::before { content: "−"; }
.faq details > div { margin-top: 9px; color: var(--text-dim); font-size: 14px; line-height: 1.65; }

footer.site-footer { margin-top: auto; padding: 18px 24px; background: var(--bg-soft); border-top: 1px solid var(--border-soft); color: var(--text-mute); display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; font-size: .875rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }

@media (max-width: 900px) { .navbar { display: none; } #menu-toggle { display: flex; } header.site-header { padding: 8px 16px; } }
@media (max-width: 768px) { h1 { font-size: 22px; } .agenda-submenu { margin-left: 1rem; } }


/* ================= MODO MULTIPANTALLA MODERNO (v9 — SIN IFRAMES EN SITIO PRINCIPAL) ================= */
.mp-hero {
  text-align: center;
  margin-bottom: 18px;
}
.mp-hero h1 {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -.5px;
  color: #0f172a;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.mp-hero h1 span {
  color: var(--brand);
}
.mp-hero p {
  color: var(--text-dim);
  font-size: 15px;
  margin: 0 auto;
  max-width: 620px;
}

.mp-dock-wrap {
  position: sticky;
  top: 66px;
  z-index: 30;
  display: flex;
  justify-content: center;
  margin: 18px 0 22px;
}
.mp-dock {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 14px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .09);
}
.mp-counter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  transition: background .2s, color .2s;
}
.mp-counter.is-ready {
  background: #dcfce7;
  color: #15803d;
}
.mp-btn-cine {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 0;
  background: #e2e8f0;
  color: #64748b;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .4px;
  cursor: not-allowed;
  transition: all .2s ease;
}
.mp-btn-cine.is-active {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 20px -4px rgba(22, 163, 74, .5);
}
.mp-btn-cine.is-active:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}
.mp-btn-clear {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.mp-btn-clear.show { display: inline-flex; }
.mp-btn-clear:hover { border-color: #ef4444; color: #dc2626; background: #fef2f2; }

.mp-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.mp-tabs {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
}
.mp-tab {
  border: 0;
  background: transparent;
  color: var(--text-dim);
  padding: 7px 14px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s;
}
.mp-tab.active {
  background: var(--brand);
  color: #fff;
}
.mp-search-wrap {
  position: relative;
  flex: 1;
  min-width: 220px;
  max-width: 380px;
}
.mp-search-wrap svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-mute);
  pointer-events: none;
}
#mp-search {
  width: 100%;
  padding: 9px 14px 9px 36px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 14px;
}
#mp-search:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); }

.mp-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 34px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 640px) { .mp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .mp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .mp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.mp-card {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 15px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.mp-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
}
.mp-card.is-selected {
  background: #f0fdf4;
  border-color: #16a34a;
  box-shadow: 0 10px 24px -6px rgba(22, 163, 74, .2);
}
.mp-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.mp-card-title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
}
.mp-card-flag {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  margin-top: 2px;
  background: #fff;
  border: 1px solid #e2e8f0;
}
.mp-card-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}
.mp-card-meta {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-mute);
  margin-top: 2px;
}
.mp-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: all .18s ease;
}
.mp-check svg { width: 14px; height: 14px; color: #fff; opacity: 0; transform: scale(.6); transition: all .18s ease; }
.mp-card.is-selected .mp-check {
  background: #16a34a;
  border-color: #16a34a;
}
.mp-card.is-selected .mp-check svg { opacity: 1; transform: scale(1); }

.mp-servers {
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-height: 230px;
  overflow-y: auto;
  padding-right: 2px;
}
.mp-srv-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #1e293b;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  transition: all .15s ease;
}
.mp-srv-btn:hover {
  border-color: #16a34a;
  background: #f7fee7;
}
.mp-srv-btn.is-active {
  background: #16a34a;
  border-color: #16a34a;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(22, 163, 74, .28);
}
.mp-srv-num {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  flex: none;
}
.mp-srv-btn.is-active .mp-srv-num {
  background: rgba(255, 255, 255, .22);
  color: #ffffff;
}

.mp-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #0f172a;
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  z-index: 200;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .25);
  transition: opacity .2s ease, transform .2s ease;
}
.mp-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 640px) {
  .mp-hero h1 { font-size: 24px; }
  .mp-dock { border-radius: 16px; width: 100%; }
  .mp-btn-cine { width: 100%; justify-content: center; }
}


/* ================= BOTÓN FLOTANTE DE TELEGRAM (ESTILO FUTBOLIBRE-2) ================= */
.tg-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #2aabee 0%, #229ed9 100%);
  color: #fff !important;
  font-size: 14px;
  font-weight: 800;
  padding: 11px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(34, 158, 217, .42);
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease;
}
.tg-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(34, 158, 217, .55);
}
.tg-float svg { width: 19px; height: 19px; flex: none; fill: currentColor; }

/* ================= CONTENEDORES DE ANUNCIOS LIMPIOS ================= */
.ad-slot {
  width: 100%;
  max-width: 970px;
  margin: 18px auto;
  text-align: center;
  min-height: 0;
}

/* ================= SEPARADOR MULTIPANTALLA (PARTIDOS ARRIBA / CANALES ABAJO) ================= */
.mp-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}
.mp-section-head h2 {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}
.mp-section-badge {
  font-size: 12px;
  font-weight: 800;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
}
.mp-card.is-channel {
  background: #ffffff;
  border-color: #d9e3dc;
}
.mp-card.is-channel.is-selected {
  background: #f0fdf4;
  border-color: #16a34a;
}
