/* ============================================================================
   SISTEMA VISUAL DUAL DE ALTO CONTRASTE (MODO CLARO & MODO OSCURO)
   + MOTOR RESPONSIVE INTEGRAL (iPhone 16 Pro Max · iPad Pro M4 · Escritorio)
   + TIPOGRAFÍA PLUS JAKARTA SANS & NEWSREADER + ICONOS SF PRECISION
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,500;0,6..72,600;0,6..72,700;1,6..72,400;1,6..72,600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* Tipografía base común a ambos modos */
body, button, input, select, textarea {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", system-ui, sans-serif !important;
  -webkit-font-smoothing: antialiased !important;
  text-rendering: optimizeLegibility !important;
}

.mod600-title,
.section-head-clean h2,
.wide-card-quote,
.hero-fb-quote,
.strip-inner-box h2,
blockquote {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Inter', sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: -0.015em !important;
}

/* ============================================================================
   1. MODO CLARO DE ALTO CONTRASTE (html[data-apple-theme="apple-light"])
   Fondo Alabastro #F5F5F7 · Tarjetas #FFFFFF · Texto Negro Nítido #0F172A
   ============================================================================ */
html[data-apple-theme="apple-light"] {
  --apple-bg-canvas: #F5F5F7;
  --apple-bg-elevated: #FBFBFD;
  --apple-bg-card: #FFFFFF;
  --apple-bg-subtle: #EEF2F6;
  --apple-bg-glass: rgba(255, 255, 255, 0.92);
  --apple-text-primary: #0F172A;
  --apple-text-secondary: #334155;
  --apple-text-muted: #475569;
  --apple-border: rgba(15, 23, 42, 0.12);
  --apple-border-strong: rgba(0, 113, 227, 0.35);
  --apple-blue: #0071E3;
  --apple-coral: #FA2D48;
  --apple-emerald: #00805A;
  --apple-gold: #B45309;
  --apple-shadow-card: 0 4px 20px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.03);

  /* Variables heredadas en páginas del ecosistema (SOLO en modo claro) */
  --bg-base: #F5F5F7 !important;
  --bg-deep: #F5F5F7 !important;
  --bg-dark: #F5F5F7 !important;
  --bg-light: #F5F5F7 !important;
  --bg-sidebar: #FFFFFF !important;
  --bg-card: #FFFFFF !important;
  --bg-panel: #FFFFFF !important;
  --bg-input: #F1F5F9 !important;
  --text-main: #0F172A !important;
  --text-primary: #0F172A !important;
  --text-secondary: #334155 !important;
  --text-muted: #475569 !important;
  --ink: #0F172A !important;
  --ink-soft: #334155 !important;
  --ink-muted: #475569 !important;
  --gold: #0071E3 !important;
  --gold-light: #0051A8 !important;
  --primary-orange: #FA2D48 !important;
  --primary-gold: #B45309 !important;
  --accent-purple: #0071E3 !important;
  --purple: #0071E3 !important;
  --emerald: #00805A !important;
  --green: #00805A !important;
  --cyan: #0284C7 !important;
  --border: rgba(15, 23, 42, 0.12) !important;
  --border-color: rgba(15, 23, 42, 0.12) !important;
  --border-gold: rgba(15, 23, 42, 0.14) !important;
}

html[data-apple-theme="apple-light"] body {
  background: #F5F5F7 !important;
  color: #0F172A !important;
}

/* Todas las tarjetas, paneles y contenedores en Modo Claro -> Fondo Blanco / Perla y Texto Negro #0F172A */
html[data-apple-theme="apple-light"] .mod600-nav-pills,
html[data-apple-theme="apple-light"] .nav-tabs,
html[data-apple-theme="apple-light"] .master-switcher-bar,
html[data-apple-theme="apple-light"] .mod600-panel,
html[data-apple-theme="apple-light"] .mod600-card,
html[data-apple-theme="apple-light"] .hero-command,
html[data-apple-theme="apple-light"] .hero-bar,
html[data-apple-theme="apple-light"] .master-btn,
html[data-apple-theme="apple-light"] .visual-card,
html[data-apple-theme="apple-light"] .net-card,
html[data-apple-theme="apple-light"] .strategy-panel,
html[data-apple-theme="apple-light"] .pillar-card,
html[data-apple-theme="apple-light"] .device-pill,
html[data-apple-theme="apple-light"] .card,
html[data-apple-theme="apple-light"] .panel,
html[data-apple-theme="apple-light"] .crm-card,
html[data-apple-theme="apple-light"] .template-card,
html[data-apple-theme="apple-light"] .country-pill,
html[data-apple-theme="apple-light"] .module-card,
html[data-apple-theme="apple-light"] .stat-card,
html[data-apple-theme="apple-light"] .kpi-card,
html[data-apple-theme="apple-light"] .video-card,
html[data-apple-theme="apple-light"] .urn-wide-box,
html[data-apple-theme="apple-light"] .wide-session-card,
html[data-apple-theme="apple-light"] .glance-btn,
html[data-apple-theme="apple-light"] .quick-fill-wrap,
html[data-apple-theme="apple-light"] .criteria-box,
html[data-apple-theme="apple-light"] .obs-live-dock,
html[data-apple-theme="apple-light"] aside {
  background: var(--ecc-light-card, #F7F5F0) !important;
  color: #0F172A !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05) !important;
}

/* Sub-tarjetas con gris perla suave para diferenciarlas del panel blanco */
html[data-apple-theme="apple-light"] .mod600-card,
html[data-apple-theme="apple-light"] .pillar-card,
html[data-apple-theme="apple-light"] .crm-card,
html[data-apple-theme="apple-light"] .template-card,
html[data-apple-theme="apple-light"] .country-pill,
html[data-apple-theme="apple-light"] .glance-btn,
html[data-apple-theme="apple-light"] .quick-fill-wrap,
html[data-apple-theme="apple-light"] .criteria-box,
html[data-apple-theme="apple-light"] .obs-live-dock {
  background: var(--ecc-light-bg, #ECE9E2) !important;
  border-radius: 16px !important;
}

html[data-apple-theme="apple-light"] .glance-btn.active,
html[data-apple-theme="apple-light"] .master-btn.active {
  background: #EFF6FF !important;
  border: 2px solid #0071E3 !important;
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.15) !important;
}

html[data-apple-theme="apple-light"] .glance-title,
html[data-apple-theme="apple-light"] .glance-count,
html[data-apple-theme="apple-light"] .hero-title,
html[data-apple-theme="apple-light"] .mod600-title,
html[data-apple-theme="apple-light"] .panel-title,
html[data-apple-theme="apple-light"] .master-btn-title,
html[data-apple-theme="apple-light"] .kpi-val,
html[data-apple-theme="apple-light"] h1,
html[data-apple-theme="apple-light"] h2,
html[data-apple-theme="apple-light"] h3,
html[data-apple-theme="apple-light"] h4,
html[data-apple-theme="apple-light"] strong {
  color: #0F172A !important;
  -webkit-text-fill-color: initial !important;
  background: none !important;
}

/* Excepción: Textos sobre fotos de portada o reproductor de vídeo en oscuro mantienen blanco */
html[data-apple-theme="apple-light"] .hero-fullbleed h1,
html[data-apple-theme="apple-light"] .hero-fullbleed .hero-fb-title,
html[data-apple-theme="apple-light"] .hero-fullbleed .hero-fb-quote,
html[data-apple-theme="apple-light"] .fullbleed-photo-strip h2,
html[data-apple-theme="apple-light"] .fullbleed-photo-strip p,
html[data-apple-theme="apple-light"] #artistaDirectoActuando,
html[data-apple-theme="apple-light"] .obs-mini-frame * {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

/* Tablas en Modo Claro (.quick-table, .score-table, .strat-table) */
html[data-apple-theme="apple-light"] table th,
html[data-apple-theme="apple-light"] .quick-table th,
html[data-apple-theme="apple-light"] .score-table th,
html[data-apple-theme="apple-light"] .strat-table th {
  background: #E2E8F0 !important;
  color: #0F172A !important;
  border-bottom: 2px solid #CBD5E1 !important;
  font-weight: 800 !important;
}

html[data-apple-theme="apple-light"] table td,
html[data-apple-theme="apple-light"] .quick-table td,
html[data-apple-theme="apple-light"] .score-table td,
html[data-apple-theme="apple-light"] .strat-table td,
html[data-apple-theme="apple-light"] table tr {
  background: var(--ecc-light-card, #F7F5F0) !important;
  color: #0F172A !important;
  border-bottom: 1px solid #E2E8F0 !important;
}

html[data-apple-theme="apple-light"] .quick-table tr:first-child td {
  background: #EFF6FF !important;
}

/* Inputs, Cajas de Plantillas (.template-box), .qf-input y Textareas en Modo Claro */
html[data-apple-theme="apple-light"] .copy-area,
html[data-apple-theme="apple-light"] .input,
html[data-apple-theme="apple-light"] .select,
html[data-apple-theme="apple-light"] .textarea,
html[data-apple-theme="apple-light"] .qf-input,
html[data-apple-theme="apple-light"] .template-box,
html[data-apple-theme="apple-light"] .checkbox-list,
html[data-apple-theme="apple-light"] .mod600-input,
html[data-apple-theme="apple-light"] .mod600-select,
html[data-apple-theme="apple-light"] .mod600-textarea,
html[data-apple-theme="apple-light"] textarea,
html[data-apple-theme="apple-light"] input[type="text"],
html[data-apple-theme="apple-light"] input[type="search"],
html[data-apple-theme="apple-light"] input[type="url"],
html[data-apple-theme="apple-light"] input[type="email"],
html[data-apple-theme="apple-light"] input[type="number"] {
  background: var(--ecc-light-card, #F7F5F0) !important;
  color: #0F172A !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
}

html[data-apple-theme="apple-light"] .template-box {
  background: #F1F5F9 !important;
  color: #0F172A !important;
  border: 1px solid #CBD5E1 !important;
}

/* Botones en Modo Claro */
html[data-apple-theme="apple-light"] .mod600-tab-btn,
html[data-apple-theme="apple-light"] .tab-btn,
html[data-apple-theme="apple-light"] .ms-btn,
html[data-apple-theme="apple-light"] .btn,
html[data-apple-theme="apple-light"] .mod600-btn-elegante,
html[data-apple-theme="apple-light"] .wide-vote-btn {
  background: #F1F5F9 !important;
  color: #0F172A !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 980px !important;
  font-weight: 700 !important;
}

html[data-apple-theme="apple-light"] .mod600-tab-btn.activo,
html[data-apple-theme="apple-light"] .tab-btn.active,
html[data-apple-theme="apple-light"] .ms-btn.active,
html[data-apple-theme="apple-light"] .btn-gold,
html[data-apple-theme="apple-light"] .mod600-btn-oro {
  background: #0071E3 !important;
  color: #FFFFFF !important;
  border-color: transparent !important;
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.25) !important;
}

html[data-apple-theme="apple-light"] .btn-emerald,
html[data-apple-theme="apple-light"] .btn-whatsapp {
  background: #00805A !important;
  color: #FFFFFF !important;
  border-color: transparent !important;
}

/* Mini-etiquetas y chips en Modo Claro */
html[data-apple-theme="apple-light"] .tag-chip {
  background: var(--ecc-light-card, #F7F5F0) !important;
  color: #334155 !important;
  border: 1px solid #CBD5E1 !important;
}
html[data-apple-theme="apple-light"] .tag-chip.active-org {
  background: #E0F2FE !important;
  color: #0369A1 !important;
  border-color: #0284C7 !important;
}
html[data-apple-theme="apple-light"] .tag-chip.active-rol {
  background: #FEF3C7 !important;
  color: #92400E !important;
  border-color: #D97706 !important;
}
html[data-apple-theme="apple-light"] .tag-chip.active-600m-si {
  background: #D1FAE5 !important;
  color: #065F46 !important;
  border-color: #059669 !important;
}
html[data-apple-theme="apple-light"] .pt-600m { background: #D1FAE5 !important; color: #065F46 !important; border-color: #059669 !important; }
html[data-apple-theme="apple-light"] .pt-hdc { background: #E0F2FE !important; color: #0369A1 !important; border-color: #0284C7 !important; }
html[data-apple-theme="apple-light"] .pt-ipeg { background: #DBEAFE !important; color: #1E40AF !important; border-color: #2563EB !important; }
html[data-apple-theme="apple-light"] .pt-fil { background: #FFE4E6 !important; color: #9F1239 !important; border-color: #E11D48 !important; }
html[data-apple-theme="apple-light"] .pt-otro,
html[data-apple-theme="apple-light"] .pt-rol { background: #FEF3C7 !important; color: #92400E !important; border-color: #D97706 !important; }

/* Forzar texto negro en cualquier elemento inline con color claro dentro de paneles/tablas en Modo Claro */
html[data-apple-theme="apple-light"] .panel [style*="color:#fff"],
html[data-apple-theme="apple-light"] .panel [style*="color: #fff"],
html[data-apple-theme="apple-light"] .panel [style*="color:#ffffff"],
html[data-apple-theme="apple-light"] .panel [style*="color:#f8fafc"],
html[data-apple-theme="apple-light"] .panel [style*="color:#cbd5e1"],
html[data-apple-theme="apple-light"] .panel [style*="color:#fde68a"],
html[data-apple-theme="apple-light"] .panel [style*="color:var(--gold-light)"],
html[data-apple-theme="apple-light"] .quick-table [style*="color:#fff"],
html[data-apple-theme="apple-light"] .quick-table [style*="color:var(--gold-light)"],
html[data-apple-theme="apple-light"] .score-table [style*="color:#fff"] {
  color: #0F172A !important;
}

/* ============================================================================
   2. MODO OSCURO DE ALTO CONTRASTE (html[data-apple-theme="classic-antes"])
   Fondo Noche Profundo #060913 · Tarjetas #0D1526 · Texto Blanco Puro #FFFFFF
   ============================================================================ */
html[data-apple-theme="classic-antes"] {
  --bg-base: #060913 !important;
  --bg-deep: #060913 !important;
  --bg-dark: #060913 !important;
  --bg-sidebar: #0A0F1D !important;
  --bg-panel: #0D1526 !important;
  --bg-card: #131E36 !important;
  --bg-input: #080D1A !important;
  --text-main: #FFFFFF !important;
  --text-primary: #FFFFFF !important;
  --text-secondary: #E2E8F0 !important;
  --text-muted: #CBD5E1 !important;
  --gold: #F59E0B !important;
  --gold-light: #FDE68A !important;
  --cyan: #38BDF8 !important;
  --emerald: #10B981 !important;
  --green: #10B981 !important;
  --border: rgba(245, 158, 11, 0.35) !important;
  --border-color: rgba(255, 255, 255, 0.14) !important;
  --border-gold: rgba(245, 158, 11, 0.40) !important;
}

html[data-apple-theme="classic-antes"] body {
  background: #060913 !important;
  color: #FFFFFF !important;
}

html[data-apple-theme="classic-antes"] .panel,
html[data-apple-theme="classic-antes"] .hero-command,
html[data-apple-theme="classic-antes"] .hero-bar,
html[data-apple-theme="classic-antes"] .strategy-panel,
html[data-apple-theme="classic-antes"] .mod600-panel,
html[data-apple-theme="classic-antes"] .mod600-nav-pills,
html[data-apple-theme="classic-antes"] .nav-tabs,
html[data-apple-theme="classic-antes"] .quick-fill-wrap {
  background: var(--ecc-dark-elev, #23252C) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
}

html[data-apple-theme="classic-antes"] .crm-card,
html[data-apple-theme="classic-antes"] .template-card,
html[data-apple-theme="classic-antes"] .net-card,
html[data-apple-theme="classic-antes"] .visual-card,
html[data-apple-theme="classic-antes"] .pillar-card,
html[data-apple-theme="classic-antes"] .country-pill,
html[data-apple-theme="classic-antes"] .kpi-card,
html[data-apple-theme="classic-antes"] .glance-btn,
html[data-apple-theme="classic-antes"] .criteria-box,
html[data-apple-theme="classic-antes"] .obs-live-dock,
html[data-apple-theme="classic-antes"] .mod600-card {
  background: #131E36 !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

html[data-apple-theme="classic-antes"] .template-box,
html[data-apple-theme="classic-antes"] .copy-area,
html[data-apple-theme="classic-antes"] .input,
html[data-apple-theme="classic-antes"] .select,
html[data-apple-theme="classic-antes"] .textarea,
html[data-apple-theme="classic-antes"] .qf-input,
html[data-apple-theme="classic-antes"] input[type="text"],
html[data-apple-theme="classic-antes"] input[type="search"],
html[data-apple-theme="classic-antes"] input[type="url"],
html[data-apple-theme="classic-antes"] input[type="email"],
html[data-apple-theme="classic-antes"] textarea {
  background: var(--ecc-dark-card, #1C1D22) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(56, 189, 248, 0.4) !important;
}

html[data-apple-theme="classic-antes"] h1,
html[data-apple-theme="classic-antes"] h2,
html[data-apple-theme="classic-antes"] h3,
html[data-apple-theme="classic-antes"] h4,
html[data-apple-theme="classic-antes"] strong,
html[data-apple-theme="classic-antes"] .panel-title,
html[data-apple-theme="classic-antes"] .glance-title,
html[data-apple-theme="classic-antes"] .hero-title,
html[data-apple-theme="classic-antes"] td {
  color: #FFFFFF !important;
}

html[data-apple-theme="classic-antes"] p,
html[data-apple-theme="classic-antes"] .panel-sub,
html[data-apple-theme="classic-antes"] label {
  color: #E2E8F0 !important;
}

/* ============================================================================
   3. ICONOGRAFÍA VECTORIAL DE PRECISIÓN (SF SYMBOLS / LUCIDE STUDIO)
   ============================================================================ */
.sf-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  vertical-align: -3px;
  margin-right: 3px;
  color: #0071E3;
  flex-shrink: 0;
}

html[data-apple-theme="classic-antes"] .sf-icon-badge {
  color: #38BDF8;
}

.ecc-nav-btn.ecc-active .sf-icon-badge,
.mod600-tab-btn.activo .sf-icon-badge,
.tab-btn.active .sf-icon-badge,
.ms-btn.active .sf-icon-badge,
.btn-gold .sf-icon-badge,
.btn-emerald .sf-icon-badge,
.btn:hover .sf-icon-badge {
  color: currentColor !important;
}

.sf-svg-icon {
  width: 15.5px;
  height: 15.5px;
  stroke-width: 1.9;
}

.sf-live-dot {
  color: #FA2D48 !important;
  display: inline-flex;
  align-items: center;
}

/* ============================================================================
   4. SISTEMA 100% RESPONSIVE PARA MÓVIL (iPhone 16 Pro Max) E iPAD PRO M4
   (Tanto en Vertical como en Horizontal)
   ============================================================================ */
html, body {
  max-width: 100vw;
  overflow-x: clip;
}

/* Envoltorios de tablas con scroll horizontal táctil suave para que nunca se corten */
.quick-fill-wrap,
.panel,
.strategy-panel,
.card,
.mod600-card {
  max-width: 100%;
  overflow-x: visible;
  -webkit-overflow-scrolling: touch;
}

img, video, canvas, svg {
  max-width: 100%;
}

/* --- iPAD PRO M4 EN HORIZONTAL Y VERTICAL (<= 1194px) --- */
@media (max-width: 1194px) {
  /* Barra maestra superior con desplazamiento táctil horizontal en una sola línea limpia */
  #ecc-master-AdminBar {
    padding: 8px 12px !important;
    gap: 6px !important;
  }
  #ecc-master-AdminBar .ecc-bar-center {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }
  #ecc-master-AdminBar .ecc-nav-btn {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  /* Cuadrículas de 2 columnas fijas pasan a adaptables */
  .grid-2,
  .mod600-grid-2,
  .obs-live-dock {
    grid-template-columns: 1fr !important;
  }
  .obs-mini-frame {
    width: 100% !important;
    max-width: 480px !important;
    margin: 0 auto;
  }
  .kpi-grid,
  .master-switch-grid,
  .mod600-grid-4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .ecc-8fases-workspace {
    grid-template-columns: 260px 1fr !important;
  }
}

/* --- iPAD EN VERTICAL Y MÓVILES GRANDES (<= 900px) --- */
@media (max-width: 900px) {
  body {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .container,
  .main-wrap,
  .mod600-wrap,
  .vault-container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .grid-3,
  .mod600-grid-3,
  .visuals-grid,
  .wide-sessions-grid,
  .bento-grid,
  .compare-cols,
  .urn-slots-3 {
    grid-template-columns: 1fr !important;
  }
  .hero-fullbleed-content {
    grid-template-columns: 1fr !important;
    margin-top: 120px !important;
    padding: 24px 18px !important;
  }
  .fullbleed-nav {
    padding: 10px 16px !important;
  }
  /* Centro de Control 8 Fases apilable en vertical */
  body:has(.ecc-8fases-workspace) {
    overflow: auto !important;
    height: auto !important;
  }
  .ecc-8fases-workspace {
    grid-template-columns: 1fr !important;
    height: auto !important;
    overflow: visible !important;
  }
  #panelAutorizarPersonasKit > div:first-child {
    grid-template-columns: 1fr !important;
  }
}

/* --- iPHONE 16 PRO MAX Y MÓVILES EN VERTICAL (<= 640px) --- */
@media (max-width: 640px) {
  .kpi-grid,
  .master-switch-grid,
  .mod600-grid-4,
  .networks-grid,
  .pillars-grid {
    grid-template-columns: 1fr !important;
  }
  .topbar,
  .hero-command,
  .hero-bar,
  .sticky-dock {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 14px !important;
  }
  .nav-tabs,
  .mod600-nav-pills {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    justify-content: flex-start !important;
    -webkit-overflow-scrolling: touch;
    padding: 10px !important;
  }
  .nav-tabs .tab-btn,
  .mod600-nav-pills .mod600-tab-btn {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
  #liveRankingContainer > div {
    grid-template-columns: 40px 1fr auto !important;
    gap: 8px !important;
    padding: 10px 12px !important;
  }
  #liveRankingContainer > div > img,
  #liveRankingContainer > div > div:nth-child(4),
  #liveRankingContainer > div > div:nth-child(5) {
    display: none !important;
  }
}


/* ============================================================================
   COBERTURA TOTAL DE ESTILOS INLINE EN MODO CLARO Y MODO OSCURO (CSS PURO)
   Se aplica automáticamente incluso a filas y tarjetas creadas por JavaScript
   ============================================================================ */
html[data-apple-theme="apple-light"] [style*="background:rgba(15,23,42"],
html[data-apple-theme="apple-light"] [style*="background: rgba(15, 23, 42"],
html[data-apple-theme="apple-light"] [style*="background:rgba(9,14,26"],
html[data-apple-theme="apple-light"] [style*="background: rgba(9, 14, 26"],
html[data-apple-theme="apple-light"] [style*="background:rgba(5,8,17"],
html[data-apple-theme="apple-light"] [style*="background: rgba(5, 8, 17"],
html[data-apple-theme="apple-light"] [style*="background:#050811"],
html[data-apple-theme="apple-light"] [style*="background:#060a15"],
html[data-apple-theme="apple-light"] [style*="background:#080d1a"],
html[data-apple-theme="apple-light"] [style*="background:#090d16"],
html[data-apple-theme="apple-light"] [style*="background:#0c1324"] {
  background: var(--ecc-light-bg, #ECE9E2) !important;
  color: #0F172A !important;
  border-color: #CBD5E1 !important;
}

html[data-apple-theme="apple-light"] [style*="color:#fff"],
html[data-apple-theme="apple-light"] [style*="color: #fff"],
html[data-apple-theme="apple-light"] [style*="color:#ffffff"],
html[data-apple-theme="apple-light"] [style*="color: #ffffff"],
html[data-apple-theme="apple-light"] [style*="color:#f8fafc"],
html[data-apple-theme="apple-light"] [style*="color:#f1f5f9"],
html[data-apple-theme="apple-light"] [style*="color:#e2e8f0"],
html[data-apple-theme="apple-light"] [style*="color:#cbd5e1"],
html[data-apple-theme="apple-light"] [style*="color:#94a3b8"] {
  color: #0F172A !important;
}

html[data-apple-theme="apple-light"] [style*="color:#fde68a"],
html[data-apple-theme="apple-light"] [style*="color:#fef08a"],
html[data-apple-theme="apple-light"] [style*="color:#fcd34d"],
html[data-apple-theme="apple-light"] [style*="color:#fde047"],
html[data-apple-theme="apple-light"] [style*="color:#f5d77f"],
html[data-apple-theme="apple-light"] [style*="color:#f9e27d"] {
  color: #92400E !important;
}

html[data-apple-theme="apple-light"] [style*="color:#6ee7b7"],
html[data-apple-theme="apple-light"] [style*="color:#34d399"],
html[data-apple-theme="apple-light"] [style*="color:#a7f3d0"] {
  color: #065F46 !important;
}

html[data-apple-theme="apple-light"] [style*="color:#7dd3fc"],
html[data-apple-theme="apple-light"] [style*="color:#93c5fd"],
html[data-apple-theme="apple-light"] [style*="color:#bae6fd"],
html[data-apple-theme="apple-light"] [style*="color:#38bdf8"],
html[data-apple-theme="apple-light"] [style*="color:#e9d5ff"] {
  color: #0369A1 !important;
}

html[data-apple-theme="apple-light"] [style*="color:#fecdd3"],
html[data-apple-theme="apple-light"] [style*="color:#fca5a5"],
html[data-apple-theme="apple-light"] [style*="color:#fda4af"] {
  color: #9F1239 !important;
}

/* Excepción en Modo Claro: dentro de portadas fotográficas oscuras o botones azules/verdes mantener texto blanco */
html[data-apple-theme="apple-light"] .hero-fullbleed [style*="color"],
html[data-apple-theme="apple-light"] .fullbleed-photo-strip [style*="color"],
html[data-apple-theme="apple-light"] .obs-mini-frame [style*="color"],
html[data-apple-theme="apple-light"] .btn-gold,
html[data-apple-theme="apple-light"] .btn-emerald,
html[data-apple-theme="apple-light"] .ecc-nav-btn.ecc-active {
  color: #FFFFFF !important;
}

/* MODO OSCURO (classic-antes): Garantía de que todas las cajas y textos tengan contraste blanco/dorado sobre fondo oscuro */
html[data-apple-theme="classic-antes"] .glance-title,
html[data-apple-theme="classic-antes"] .glance-count {
  color: #FFFFFF !important;
}
html[data-apple-theme="classic-antes"] .quick-table td,
html[data-apple-theme="classic-antes"] .score-table td,
html[data-apple-theme="classic-antes"] .strat-table td {
  background: var(--ecc-dark-elev, #23252C) !important;
  color: #FFFFFF !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}
html[data-apple-theme="classic-antes"] .quick-table th,
html[data-apple-theme="classic-antes"] .score-table th,
html[data-apple-theme="classic-antes"] .strat-table th {
  background: var(--ecc-dark-card, #1C1D22) !important;
  color: #FDE68A !important;
  border-bottom: 2px solid #F59E0B !important;
}


/* ============================================================================
   5. CORRECCIÓN INTEGRAL DE CONTRASTE EN STREAM DECK +, MAPA ARQUITECTURA,
      REALIZACIÓN OBS, LABORATORIO FORENSE Y BOTS (MODO CLARO & MODO OSCURO)
   ============================================================================ */

/* --- MODO CLARO (apple-light): Paneles principales blancos con texto negro #0F172A --- */
html[data-apple-theme="apple-light"] .inspector-panel,
html[data-apple-theme="apple-light"] .flow-filter-bar,
html[data-apple-theme="apple-light"] .hero-banner,
html[data-apple-theme="apple-light"] .panel-card,
html[data-apple-theme="apple-light"] .how-it-works-box {
  background: var(--ecc-light-card, #F7F5F0) !important;
  color: #0F172A !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06) !important;
}

/* Sub-tarjetas internas en Modo Claro: Gris perla nítido (#F8FAFC) con borde visible (#CBD5E1) y texto negro (#0F172A) */
html[data-apple-theme="apple-light"] .level-card,
html[data-apple-theme="apple-light"] .insp-section,
html[data-apple-theme="apple-light"] .step-card,
html[data-apple-theme="apple-light"] .tomorrow-card,
html[data-apple-theme="apple-light"] .chat-box,
html[data-apple-theme="apple-light"] .dropzone,
html[data-apple-theme="apple-light"] #rodeInfoPanel > div {
  background: var(--ecc-light-bg, #ECE9E2) !important;
  color: #0F172A !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 16px !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

html[data-apple-theme="apple-light"] .level-card:hover {
  background: #EFF6FF !important;
  border-color: #0071E3 !important;
}

/* Títulos dentro de Stream Deck, Mapa de Arquitectura, OBS y Bots en Modo Claro */
html[data-apple-theme="apple-light"] .level-card-title,
html[data-apple-theme="apple-light"] .insp-title,
html[data-apple-theme="apple-light"] .insp-sec-title,
html[data-apple-theme="apple-light"] .kpi-value,
html[data-apple-theme="apple-light"] .step-card strong,
html[data-apple-theme="apple-light"] .tomorrow-card div {
  color: #0F172A !important;
  font-weight: 800 !important;
}

html[data-apple-theme="apple-light"] .level-card-title,
html[data-apple-theme="apple-light"] .insp-sec-title {
  color: #0051A8 !important;
}

/* Descripciones, listas y párrafos en Modo Claro -> Gris pizarra oscuro de máxima lectura (#1E293B) */
html[data-apple-theme="apple-light"] .level-card-desc,
html[data-apple-theme="apple-light"] .insp-desc,
html[data-apple-theme="apple-light"] .insp-list,
html[data-apple-theme="apple-light"] .insp-list li,
html[data-apple-theme="apple-light"] .step-card p,
html[data-apple-theme="apple-light"] .tomorrow-card p,
html[data-apple-theme="apple-light"] .panel p,
html[data-apple-theme="apple-light"] .panel-card p,
html[data-apple-theme="apple-light"] .hero-sub,
html[data-apple-theme="apple-light"] .kpi-sub {
  color: #1E293B !important;
  font-weight: 500 !important;
}

html[data-apple-theme="apple-light"] .insp-badge {
  background: #DBEAFE !important;
  color: #1E40AF !important;
  border: 1px solid #93C5FD !important;
}

/* Botones de filtro y capas en Mapa de Arquitectura y OBS (Modo Claro) */
html[data-apple-theme="apple-light"] .flow-btn,
html[data-apple-theme="apple-light"] .layer-btn,
html[data-apple-theme="apple-light"] .sd-btn {
  background: #F1F5F9 !important;
  color: #0F172A !important;
  border: 1.5px solid #CBD5E1 !important;
  font-weight: 700 !important;
}

html[data-apple-theme="apple-light"] .flow-btn.active,
html[data-apple-theme="apple-light"] .layer-btn.active,
html[data-apple-theme="apple-light"] .sd-btn.active {
  background: #0071E3 !important;
  color: #FFFFFF !important;
  border-color: #0051A8 !important;
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.25) !important;
}

html[data-apple-theme="apple-light"] .sd-btn-sub,
html[data-apple-theme="apple-light"] .layer-state {
  color: #334155 !important;
}

html[data-apple-theme="apple-light"] .sd-btn.active .sd-btn-sub,
html[data-apple-theme="apple-light"] .layer-btn.active .layer-state {
  color: #E0F2FE !important;
}

html[data-apple-theme="apple-light"] .btn-launch-big {
  background: #0071E3 !important;
  color: #FFFFFF !important;
  box-shadow: 0 6px 18px rgba(0, 113, 227, 0.28) !important;
}

/* EXCEPCIÓN HARDWARE FÍSICO Y LIENZO INTERACTIVO OSCURO:
   Dentro del chasis negro del Stream Deck + (.sd-plus-chassis), Røde Streamer X (.rodex-chassis),
   Mapa de Nodos (.map-stage-wrap) y Monitor de Programa OBS (.program-monitor-wrap),
   los fondos son pantallas negras de hardware y sus textos deben ser SIEMPRE blancos/claros */
html[data-apple-theme="apple-light"] .sd-plus-chassis,
html[data-apple-theme="apple-light"] .rodex-chassis,
html[data-apple-theme="apple-light"] .map-stage-wrap,
html[data-apple-theme="apple-light"] .program-monitor-wrap {
  background: var(--ecc-dark-card, #1C1D22) !important;
  color: #FFFFFF !important;
}

html[data-apple-theme="apple-light"] .sd-plus-chassis .sd-key-main,
html[data-apple-theme="apple-light"] .sd-plus-chassis .sd-strip-val,
html[data-apple-theme="apple-light"] .rodex-chassis .smart-pad,
html[data-apple-theme="apple-light"] .rodex-chassis .rodex-knob-box div,
html[data-apple-theme="apple-light"] .map-stage-wrap .node-title,
html[data-apple-theme="apple-light"] .map-stage-wrap .legend-pills,
html[data-apple-theme="apple-light"] .map-stage-wrap .legend-pills span,
html[data-apple-theme="apple-light"] .program-monitor-wrap div,
html[data-apple-theme="apple-light"] .program-monitor-wrap span {
  color: #FFFFFF !important;
}

html[data-apple-theme="apple-light"] .sd-plus-chassis .sd-key-sub,
html[data-apple-theme="apple-light"] .sd-plus-chassis .sd-dial-lbl,
html[data-apple-theme="apple-light"] .map-stage-wrap .node-sub {
  color: #CBD5E1 !important;
}

html[data-apple-theme="apple-light"] .sd-plus-chassis .sd-key-top,
html[data-apple-theme="apple-light"] .sd-plus-chassis .sd-strip-slot,
html[data-apple-theme="apple-light"] .map-stage-wrap .node-badge {
  color: #FDE047 !important;
}

html[data-apple-theme="apple-light"] .rodex-chassis .rodex-knob-box {
  background: #0F172A !important;
  border: 1px solid #334155 !important;
}

html[data-apple-theme="apple-light"] .map-stage-wrap .arch-node {
  background: rgba(13, 21, 38, 0.96) !important;
  color: #FFFFFF !important;
}

/* --- MODO OSCURO (classic-antes): Contraste total en StreamDeck, Mapa, OBS y Bots --- */
html[data-apple-theme="classic-antes"] .inspector-panel,
html[data-apple-theme="classic-antes"] .flow-filter-bar,
html[data-apple-theme="classic-antes"] .hero-banner,
html[data-apple-theme="classic-antes"] .panel-card,
html[data-apple-theme="classic-antes"] .how-it-works-box {
  background: var(--ecc-dark-elev, #23252C) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
}

html[data-apple-theme="classic-antes"] .level-card,
html[data-apple-theme="classic-antes"] .insp-section,
html[data-apple-theme="classic-antes"] .step-card,
html[data-apple-theme="classic-antes"] .tomorrow-card {
  background: #131E36 !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
}

html[data-apple-theme="classic-antes"] .level-card-title,
html[data-apple-theme="classic-antes"] .insp-sec-title {
  color: #FDE68A !important;
}

html[data-apple-theme="classic-antes"] .insp-title {
  color: #FFFFFF !important;
}

html[data-apple-theme="classic-antes"] .level-card-desc,
html[data-apple-theme="classic-antes"] .insp-desc,
html[data-apple-theme="classic-antes"] .insp-list,
html[data-apple-theme="classic-antes"] .insp-list li {
  color: #E2E8F0 !important;
}


/* ============================================================================
   6. SOLUCIÓN DEFINITIVA DE CONTRASTE EN PORTAL WEB (CABECERA, TARJETAS DE
      CANCIONES, URNA, BOLETÍN Y REDES) EN MODO CLARO Y MODO OSCURO
   ============================================================================ */

/* --- MODO OSCURO (classic-antes): Cabecera .fullbleed-nav y Tarjetas .wide-session-card --- */
html[data-apple-theme="classic-antes"] .fullbleed-nav {
  background: rgba(8, 12, 24, 0.96) !important;
  border-bottom: 1.5px solid rgba(212, 175, 55, 0.45) !important;
}

html[data-apple-theme="classic-antes"] .fb-brand,
html[data-apple-theme="classic-antes"] .fb-brand-title {
  color: #FFFFFF !important;
}

html[data-apple-theme="classic-antes"] .fb-brand-sub {
  color: #FDE68A !important;
}

html[data-apple-theme="classic-antes"] .fb-nav-links a {
  color: #F8FAFC !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
}

html[data-apple-theme="classic-antes"] .fb-nav-links a:hover {
  background: #D4AF37 !important;
  color: #050811 !important;
  border-color: #D4AF37 !important;
}

/* Urna y Tarjetas de las 20 Canciones en Modo Oscuro -> Fondo #0D1526 y Texto Blanco #FFFFFF */
html[data-apple-theme="classic-antes"] .urn-wide-box,
html[data-apple-theme="classic-antes"] .wide-session-card,
html[data-apple-theme="classic-antes"] #liveRankingContainer {
  background: var(--ecc-dark-elev, #23252C) !important;
  color: #FFFFFF !important;
  border: 1.5px solid rgba(212, 175, 55, 0.38) !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55) !important;
}

html[data-apple-theme="classic-antes"] .wide-card-body {
  background: var(--ecc-dark-elev, #23252C) !important;
  color: #FFFFFF !important;
}

html[data-apple-theme="classic-antes"] .wide-card-title {
  color: #FFFFFF !important;
}

html[data-apple-theme="classic-antes"] .wide-card-quote {
  color: #FDE68A !important;
  border-left-color: #F59E0B !important;
}

html[data-apple-theme="classic-antes"] .wide-card-body p {
  color: #E2E8F0 !important;
}

html[data-apple-theme="classic-antes"] .wide-card-body div {
  color: #7DD3FC !important;
}

html[data-apple-theme="classic-antes"] .wide-card-footer {
  background: #080D1A !important;
  border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #FFFFFF !important;
}

html[data-apple-theme="classic-antes"] .wide-vote-btn {
  background: #131E36 !important;
  color: #FFFFFF !important;
  border: 1.5px solid rgba(212, 175, 55, 0.45) !important;
}

html[data-apple-theme="classic-antes"] .wide-vote-btn.selected,
html[data-apple-theme="classic-antes"] .wide-vote-btn:hover {
  background: #D4AF37 !important;
  color: #050811 !important;
  border-color: #D4AF37 !important;
}

html[data-apple-theme="classic-antes"] .urn-slot-item {
  background: #131E36 !important;
  border: 1.5px dashed rgba(212, 175, 55, 0.5) !important;
  color: #FFFFFF !important;
}

html[data-apple-theme="classic-antes"] .urn-slot-item div {
  color: #E2E8F0 !important;
}

html[data-apple-theme="classic-antes"] #buscadorCancionesInput {
  background: var(--ecc-dark-card, #1C1D22) !important;
  color: #FFFFFF !important;
  border: 1.5px solid #38BDF8 !important;
}

/* Inputs, Selects y Placeholders en Modo Oscuro y Modo Claro (Boletín, FAQ, Contacto) */
html[data-apple-theme="classic-antes"] .mod600-input,
html[data-apple-theme="classic-antes"] .mod600-select,
html[data-apple-theme="classic-antes"] .mod600-textarea {
  background: var(--ecc-dark-card, #1C1D22) !important;
  color: #FFFFFF !important;
  border: 1.5px solid rgba(212, 175, 55, 0.55) !important;
  font-weight: 600 !important;
}

html[data-apple-theme="classic-antes"] input::placeholder,
html[data-apple-theme="classic-antes"] textarea::placeholder {
  color: #CBD5E1 !important;
  opacity: 1 !important;
}

html[data-apple-theme="apple-light"] input::placeholder,
html[data-apple-theme="apple-light"] textarea::placeholder {
  color: #64748B !important;
  opacity: 1 !important;
}

/* Acordeones de Bases y FAQ en Modo Claro y Modo Oscuro */
html[data-apple-theme="apple-light"] .mod600-acordeon-item {
  background: var(--ecc-light-card, #F7F5F0) !important;
  border: 1.5px solid #CBD5E1 !important;
}

html[data-apple-theme="apple-light"] .mod600-acordeon-head {
  background: #F1F5F9 !important;
  color: #0F172A !important;
}

html[data-apple-theme="apple-light"] .mod600-acordeon-body,
html[data-apple-theme="apple-light"] .mod600-acordeon-body p,
html[data-apple-theme="apple-light"] .mod600-acordeon-body li {
  background: var(--ecc-light-card, #F7F5F0) !important;
  color: #1E293B !important;
}

/* Tarjetas de Redes Sociales con Logos SVG de Marca Oficial */
.social-brand-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  padding: 12px 16px !important;
  border-radius: 14px !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease !important;
  border: 1.5px solid rgba(15, 23, 42, 0.12) !important;
  background: var(--ecc-light-bg, #ECE9E2) !important;
  color: #0F172A !important;
}

html[data-apple-theme="classic-antes"] .social-brand-btn {
  background: #131E36 !important;
  color: #FFFFFF !important;
  border: 1.5px solid rgba(255, 255, 255, 0.16) !important;
}

.social-brand-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(0, 113, 227, 0.18) !important;
  border-color: #0071E3 !important;
}

.social-brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF !important;
  flex-shrink: 0;
}

.social-brand-icon svg {
  width: 18px;
  height: 18px;
}


/* ============================================================================
   7. BLOQUE INSTITUCIONAL "NOSOTROS: ENTIDAD ORGANIZADORA, COMITÉS, JURADOS
      Y ÁMBITOS DEL CERTAMEN" (TIPOGRAFÍA MODERNA Y CAJETINES LIMPIOS)
   ============================================================================ */

.ecc-institucional-footer-panel {
  margin-top: 32px;
  border-radius: 24px;
  padding: 36px 38px 32px;
  background: var(--ecc-light-card, #F7F5F0) !important;
  color: #0F172A !important;
  border: 1.5px solid #CBD5E1 !important;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06) !important;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

html[data-apple-theme="classic-antes"] .ecc-institucional-footer-panel {
  background: #0B1120 !important;
  color: #F8FAFC !important;
  border: 1.5px solid rgba(212, 175, 55, 0.42) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55) !important;
}

/* Cabecera explicativa de "Quién Organiza (Nosotros)" */
.ecc-inst-intro {
  padding-bottom: 24px;
  margin-bottom: 26px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: center;
}

html[data-apple-theme="classic-antes"] .ecc-inst-intro {
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

/* Cuadrícula de 4 Cajetines Limpios (como los de Contacto Oficial arriba) */
.ecc-inst-4cols {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1.1fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}

.ecc-inst-cajetin {
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(0, 113, 227, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

html[data-apple-theme="classic-antes"] .ecc-inst-cajetin {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(212, 175, 55, 0.28);
}

.ecc-inst-col-kicker {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #0071E3 !important;
  margin-bottom: 12px !important;
  display: block;
}

html[data-apple-theme="classic-antes"] .ecc-inst-col-kicker {
  color: #F5D77F !important;
}

.ecc-inst-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 13.8px !important;
  line-height: 1.5 !important;
  color: #0F172A !important;
}

html[data-apple-theme="classic-antes"] .ecc-inst-list,
html[data-apple-theme="classic-antes"] .ecc-inst-list li {
  color: #E2E8F0 !important;
}

.ecc-inst-list li strong {
  font-weight: 800 !important;
  color: #0F172A !important;
}

html[data-apple-theme="classic-antes"] .ecc-inst-list li strong {
  color: #FFFFFF !important;
}

.ecc-inst-role {
  color: #475569 !important;
  font-weight: 500;
}

html[data-apple-theme="classic-antes"] .ecc-inst-role {
  color: #CBD5E1 !important;
}

/* Enlaces limpios y modernos como en los cajetines de Contacto */
.ecc-inst-link {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #0071E3 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  transition: color 0.18s ease;
}

.ecc-inst-link:hover {
  color: #0284C7 !important;
}

html[data-apple-theme="classic-antes"] .ecc-inst-link {
  color: #60A5FA !important;
  text-decoration-color: rgba(96, 165, 250, 0.55) !important;
}

html[data-apple-theme="classic-antes"] .ecc-inst-link:hover {
  color: #FDE68A !important;
}

@media (max-width: 1100px) {
  .ecc-inst-intro {
    grid-template-columns: 1fr;
  }
  .ecc-inst-4cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .ecc-institucional-footer-panel {
    padding: 24px 18px;
  }
  .ecc-inst-4cols {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}


/* ============================================================================
   CONTRASTE NÍTIDO EN MODO CLARO PARA TODOS LOS TEXTOS, BOLETINES, ACORDEONES Y BASES
   ============================================================================ */
html[data-apple-theme="apple-light"] .mod600-kicker {
  color: #B45309 !important;
  font-weight: 800 !important;
  opacity: 1 !important;
}
html[data-apple-theme="apple-light"] .mod600-title {
  color: #0F172A !important;
  font-weight: 800 !important;
}
html[data-apple-theme="apple-light"] .mod600-sub {
  color: #1E293B !important;
  font-weight: 500 !important;
  opacity: 1 !important;
}
html[data-apple-theme="apple-light"] .mod600-card {
  background: var(--ecc-light-bg, #ECE9E2) !important;
  border: 1.5px solid #CBD5E1 !important;
  color: #0F172A !important;
}
html[data-apple-theme="apple-light"] .mod600-card h4 {
  color: #0F172A !important;
  font-weight: 800 !important;
}
html[data-apple-theme="apple-light"] .mod600-card p,
html[data-apple-theme="apple-light"] .mod600-card li,
html[data-apple-theme="apple-light"] .mod600-card label,
html[data-apple-theme="apple-light"] .mod600-card span:not(.social-brand-icon) {
  color: #1E293B !important;
  opacity: 1 !important;
}
html[data-apple-theme="apple-light"] .mod600-acordeon-item {
  background: var(--ecc-light-card, #F7F5F0) !important;
  border: 1.5px solid #CBD5E1 !important;
}
html[data-apple-theme="apple-light"] .mod600-acordeon-head {
  background: #F1F5F9 !important;
  color: #0F172A !important;
  font-weight: 800 !important;
  border-bottom: 1px solid #E2E8F0 !important;
}
html[data-apple-theme="apple-light"] .mod600-acordeon-head span {
  color: #0F172A !important;
}
html[data-apple-theme="apple-light"] .mod600-acordeon-item.abierto .mod600-acordeon-head {
  background: #EFF6FF !important;
  color: #0051A8 !important;
}
html[data-apple-theme="apple-light"] .mod600-acordeon-item.abierto .mod600-acordeon-head span {
  color: #0051A8 !important;
}
html[data-apple-theme="apple-light"] .mod600-acordeon-body,
html[data-apple-theme="apple-light"] .mod600-acordeon-body p,
html[data-apple-theme="apple-light"] .mod600-acordeon-body li,
html[data-apple-theme="apple-light"] .mod600-acordeon-body div,
html[data-apple-theme="apple-light"] .mod600-acordeon-body span {
  background: var(--ecc-light-card, #F7F5F0) !important;
  color: #0F172A !important;
  opacity: 1 !important;
}
html[data-apple-theme="apple-light"] .social-brand-btn {
  background: var(--ecc-light-card, #F7F5F0) !important;
  color: #0F172A !important;
  border: 1.5px solid #CBD5E1 !important;
  font-weight: 700 !important;
}
html[data-apple-theme="apple-light"] .social-brand-btn span:not(.social-brand-icon) {
  color: #0F172A !important;
}
html[data-apple-theme="apple-light"] .ecc-inst-cajetin,
html[data-apple-theme="apple-light"] .ecc-inst-list li,
html[data-apple-theme="apple-light"] .ecc-inst-role {
  color: #1E293B !important;
  opacity: 1 !important;
}
html[data-apple-theme="apple-light"] .ecc-inst-col-kicker {
  color: #B45309 !important;
  font-weight: 800 !important;
}

html[data-apple-theme="apple-light"] .mod600-btn-oro,
html[data-apple-theme="apple-light"] .mod600-btn-oro * {
  color: #FFFFFF !important;
}


/* ============================================================================
   8. CONTRASTE DUAL (MODO CLARO Y MODO OSCURO) PARA LAS 6 SUBPÁGINAS INTERNAS
      (Vídeos y Multimedia, Blog Boletines, Quiénes Somos, Bases/Hacienda, FAQ, Contacto)
   ============================================================================ */

/* --- MODO OSCURO (classic-antes): Tarjetas oscuras #0D1526 con texto blanco nítido --- */
html[data-apple-theme="classic-antes"] .subpage-top-nav {
  background: rgba(8, 12, 24, 0.96) !important;
  border-bottom: 1.5px solid rgba(212, 175, 55, 0.45) !important;
}
html[data-apple-theme="classic-antes"] .subpage-brand,
html[data-apple-theme="classic-antes"] .subpage-brand span {
  color: #FFFFFF !important;
}
html[data-apple-theme="classic-antes"] .filter-pills-bar,
html[data-apple-theme="classic-antes"] .toolbar-faq,
html[data-apple-theme="classic-antes"] .media-card,
html[data-apple-theme="classic-antes"] .blog-card,
html[data-apple-theme="classic-antes"] .card-quienes,
html[data-apple-theme="classic-antes"] .card-blanca,
html[data-apple-theme="classic-antes"] .card-plano,
html[data-apple-theme="classic-antes"] .subscribe-banner-box {
  background: var(--ecc-dark-elev, #23252C) !important;
  color: #FFFFFF !important;
  border: 1.5px solid rgba(212, 175, 55, 0.42) !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55) !important;
}
html[data-apple-theme="classic-antes"] .media-card-body,
html[data-apple-theme="classic-antes"] .blog-card-body {
  background: var(--ecc-dark-elev, #23252C) !important;
  color: #FFFFFF !important;
}
html[data-apple-theme="classic-antes"] .media-card-footer,
html[data-apple-theme="classic-antes"] .blog-card-footer,
html[data-apple-theme="classic-antes"] .cajetin-miembro {
  background: #131E36 !important;
  color: #FFFFFF !important;
  border-color: rgba(212, 175, 55, 0.32) !important;
}
html[data-apple-theme="classic-antes"] .media-card h3,
html[data-apple-theme="classic-antes"] .blog-card h3,
html[data-apple-theme="classic-antes"] .card-quienes h2,
html[data-apple-theme="classic-antes"] .card-quienes h3,
html[data-apple-theme="classic-antes"] .card-blanca h2,
html[data-apple-theme="classic-antes"] .card-blanca h3,
html[data-apple-theme="classic-antes"] .card-plano h2,
html[data-apple-theme="classic-antes"] .cajetin-miembro h3,
html[data-apple-theme="classic-antes"] .cajetin-miembro h4 {
  color: #FFFFFF !important;
}
html[data-apple-theme="classic-antes"] .media-card p,
html[data-apple-theme="classic-antes"] .blog-card p,
html[data-apple-theme="classic-antes"] .card-quienes p,
html[data-apple-theme="classic-antes"] .card-quienes li,
html[data-apple-theme="classic-antes"] .card-blanca p,
html[data-apple-theme="classic-antes"] .card-blanca li,
html[data-apple-theme="classic-antes"] .card-plano p,
html[data-apple-theme="classic-antes"] .card-plano li,
html[data-apple-theme="classic-antes"] .cajetin-miembro p {
  color: #E2E8F0 !important;
}
html[data-apple-theme="classic-antes"] .media-card span,
html[data-apple-theme="classic-antes"] .blog-card span {
  color: #FDE68A !important;
}
html[data-apple-theme="classic-antes"] .media-card div,
html[data-apple-theme="classic-antes"] .blog-card div {
  color: #7DD3FC !important;
}
html[data-apple-theme="classic-antes"] .filter-pill-btn,
html[data-apple-theme="classic-antes"] .btn-faq-tool {
  background: #131E36 !important;
  color: #F8FAFC !important;
  border: 1.5px solid rgba(212, 175, 55, 0.42) !important;
}
html[data-apple-theme="classic-antes"] .filter-pill-btn.active,
html[data-apple-theme="classic-antes"] .filter-pill-btn:hover,
html[data-apple-theme="classic-antes"] .btn-faq-tool:hover {
  background: #D4AF37 !important;
  color: #050811 !important;
  border-color: #D4AF37 !important;
}

/* --- MODO CLARO (apple-light): Tarjetas blancas #FFFFFF con títulos #0F172A y texto #1E293B --- */
html[data-apple-theme="apple-light"] .media-card,
html[data-apple-theme="apple-light"] .blog-card,
html[data-apple-theme="apple-light"] .card-quienes,
html[data-apple-theme="apple-light"] .card-blanca,
html[data-apple-theme="apple-light"] .card-plano,
html[data-apple-theme="apple-light"] .filter-pills-bar,
html[data-apple-theme="apple-light"] .toolbar-faq,
html[data-apple-theme="apple-light"] .subscribe-banner-box {
  background: var(--ecc-light-card, #F7F5F0) !important;
  color: #0F172A !important;
  border: 1.5px solid #CBD5E1 !important;
}
html[data-apple-theme="apple-light"] .media-card-body,
html[data-apple-theme="apple-light"] .blog-card-body {
  background: var(--ecc-light-card, #F7F5F0) !important;
  color: #0F172A !important;
}
html[data-apple-theme="apple-light"] .media-card-footer,
html[data-apple-theme="apple-light"] .blog-card-footer,
html[data-apple-theme="apple-light"] .cajetin-miembro {
  background: var(--ecc-light-bg, #ECE9E2) !important;
  color: #0F172A !important;
  border-color: #CBD5E1 !important;
}
html[data-apple-theme="apple-light"] .media-card h3,
html[data-apple-theme="apple-light"] .blog-card h3,
html[data-apple-theme="apple-light"] .card-quienes h2,
html[data-apple-theme="apple-light"] .card-quienes h3,
html[data-apple-theme="apple-light"] .card-blanca h2,
html[data-apple-theme="apple-light"] .card-blanca h3,
html[data-apple-theme="apple-light"] .card-plano h2,
html[data-apple-theme="apple-light"] .cajetin-miembro h3,
html[data-apple-theme="apple-light"] .cajetin-miembro h4 {
  color: #0F172A !important;
  font-weight: 800 !important;
}
html[data-apple-theme="apple-light"] .media-card p,
html[data-apple-theme="apple-light"] .blog-card p,
html[data-apple-theme="apple-light"] .card-quienes p,
html[data-apple-theme="apple-light"] .card-quienes li,
html[data-apple-theme="apple-light"] .card-blanca p,
html[data-apple-theme="apple-light"] .card-blanca li,
html[data-apple-theme="apple-light"] .card-plano p,
html[data-apple-theme="apple-light"] .card-plano li,
html[data-apple-theme="apple-light"] .cajetin-miembro p {
  color: #1E293B !important;
  font-weight: 500 !important;
  opacity: 1 !important;
}
html[data-apple-theme="apple-light"] .media-card-footer span,
html[data-apple-theme="apple-light"] .blog-card-footer span {
  color: #334155 !important;
  font-weight: 700 !important;
}
html[data-apple-theme="apple-light"] .btn-primary-pill,
html[data-apple-theme="apple-light"] .btn-gold-pill {
  color: #FFFFFF !important;
}


/* ============================================================================
   BLINDAJE TOTAL DE CONTRASTE EN SUBPÁGINAS (MODO OSCURO Y MODO CLARO)
   Sobrescribe cualquier estilo inline de cajas claras u oscuras
   ============================================================================ */
html[data-apple-theme="classic-antes"] .subpage-top-nav {
  background: #080D1A !important;
  border-bottom: 1.5px solid #D4AF37 !important;
}
html[data-apple-theme="classic-antes"] .subpage-brand,
html[data-apple-theme="classic-antes"] .subpage-brand span {
  color: #FFFFFF !important;
}
html[data-apple-theme="classic-antes"] .card-quienes,
html[data-apple-theme="classic-antes"] .card-blanca,
html[data-apple-theme="classic-antes"] .card-plano,
html[data-apple-theme="classic-antes"] .media-card,
html[data-apple-theme="classic-antes"] .blog-card,
html[data-apple-theme="classic-antes"] .filter-pills-bar,
html[data-apple-theme="classic-antes"] .toolbar-faq,
html[data-apple-theme="classic-antes"] .subscribe-banner-box {
  background: var(--ecc-dark-elev, #23252C) !important;
  color: #FFFFFF !important;
  border: 1.5px solid rgba(212, 175, 55, 0.45) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6) !important;
}
html[data-apple-theme="classic-antes"] .cajetin-miembro,
html[data-apple-theme="classic-antes"] .media-card-footer,
html[data-apple-theme="classic-antes"] .blog-card-footer,
html[data-apple-theme="classic-antes"] .card-quienes [style*="background:#F8FAFC"],
html[data-apple-theme="classic-antes"] .card-blanca [style*="background:#F8FAFC"],
html[data-apple-theme="classic-antes"] .card-plano [style*="background:#F8FAFC"] {
  background: #131E36 !important;
  color: #FFFFFF !important;
  border-color: rgba(212, 175, 55, 0.38) !important;
}
html[data-apple-theme="classic-antes"] .card-quienes h1,
html[data-apple-theme="classic-antes"] .card-quienes h2,
html[data-apple-theme="classic-antes"] .card-quienes h3,
html[data-apple-theme="classic-antes"] .card-quienes h4,
html[data-apple-theme="classic-antes"] .card-quienes strong,
html[data-apple-theme="classic-antes"] .card-blanca h1,
html[data-apple-theme="classic-antes"] .card-blanca h2,
html[data-apple-theme="classic-antes"] .card-blanca h3,
html[data-apple-theme="classic-antes"] .card-blanca h4,
html[data-apple-theme="classic-antes"] .card-blanca strong,
html[data-apple-theme="classic-antes"] .card-plano h2,
html[data-apple-theme="classic-antes"] .card-plano h3,
html[data-apple-theme="classic-antes"] .card-plano strong,
html[data-apple-theme="classic-antes"] .media-card h3,
html[data-apple-theme="classic-antes"] .blog-card h3 {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}
html[data-apple-theme="classic-antes"] .card-quienes p,
html[data-apple-theme="classic-antes"] .card-quienes li,
html[data-apple-theme="classic-antes"] .card-quienes ol,
html[data-apple-theme="classic-antes"] .card-quienes ul,
html[data-apple-theme="classic-antes"] .card-quienes div:not(.kicker-tag),
html[data-apple-theme="classic-antes"] .card-blanca p,
html[data-apple-theme="classic-antes"] .card-blanca li,
html[data-apple-theme="classic-antes"] .card-blanca ul,
html[data-apple-theme="classic-antes"] .card-plano p,
html[data-apple-theme="classic-antes"] .card-plano li,
html[data-apple-theme="classic-antes"] .card-plano div,
html[data-apple-theme="classic-antes"] .media-card p,
html[data-apple-theme="classic-antes"] .blog-card p,
html[data-apple-theme="classic-antes"] .subscribe-banner-box p {
  color: #E2E8F0 !important;
}
html[data-apple-theme="classic-antes"] .kicker-tag {
  color: #FDE68A !important;
}

/* --- MODO CLARO (apple-light) --- */
html[data-apple-theme="apple-light"] .subpage-top-nav {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1.5px solid #CBD5E1 !important;
}
html[data-apple-theme="apple-light"] .subpage-brand,
html[data-apple-theme="apple-light"] .subpage-brand span {
  color: #0F172A !important;
}
html[data-apple-theme="apple-light"] .card-quienes,
html[data-apple-theme="apple-light"] .card-blanca,
html[data-apple-theme="apple-light"] .card-plano,
html[data-apple-theme="apple-light"] .media-card,
html[data-apple-theme="apple-light"] .blog-card,
html[data-apple-theme="apple-light"] .filter-pills-bar,
html[data-apple-theme="apple-light"] .toolbar-faq,
html[data-apple-theme="apple-light"] .subscribe-banner-box {
  background: var(--ecc-light-card, #F7F5F0) !important;
  color: #0F172A !important;
  border: 1.5px solid #CBD5E1 !important;
}
html[data-apple-theme="apple-light"] .cajetin-miembro,
html[data-apple-theme="apple-light"] .media-card-footer,
html[data-apple-theme="apple-light"] .blog-card-footer {
  background: var(--ecc-light-bg, #ECE9E2) !important;
  color: #0F172A !important;
  border-color: #CBD5E1 !important;
}
html[data-apple-theme="apple-light"] .card-quienes h1,
html[data-apple-theme="apple-light"] .card-quienes h2,
html[data-apple-theme="apple-light"] .card-quienes h3,
html[data-apple-theme="apple-light"] .card-quienes h4,
html[data-apple-theme="apple-light"] .card-quienes strong,
html[data-apple-theme="apple-light"] .card-blanca h1,
html[data-apple-theme="apple-light"] .card-blanca h2,
html[data-apple-theme="apple-light"] .card-blanca h3,
html[data-apple-theme="apple-light"] .card-blanca h4,
html[data-apple-theme="apple-light"] .card-blanca strong,
html[data-apple-theme="apple-light"] .card-plano h2,
html[data-apple-theme="apple-light"] .card-plano h3,
html[data-apple-theme="apple-light"] .card-plano strong,
html[data-apple-theme="apple-light"] .media-card h3,
html[data-apple-theme="apple-light"] .blog-card h3 {
  color: #0F172A !important;
  -webkit-text-fill-color: #0F172A !important;
}
html[data-apple-theme="apple-light"] .card-quienes p,
html[data-apple-theme="apple-light"] .card-quienes li,
html[data-apple-theme="apple-light"] .card-quienes ol,
html[data-apple-theme="apple-light"] .card-quienes ul,
html[data-apple-theme="apple-light"] .card-blanca p,
html[data-apple-theme="apple-light"] .card-blanca li,
html[data-apple-theme="apple-light"] .card-blanca ul,
html[data-apple-theme="apple-light"] .card-plano p,
html[data-apple-theme="apple-light"] .card-plano li,
html[data-apple-theme="apple-light"] .media-card p,
html[data-apple-theme="apple-light"] .blog-card p,
html[data-apple-theme="apple-light"] .subscribe-banner-box p {
  color: #1E293B !important;
}


/* --- REFUERZO ADICIONAL DE ELEMENTOS INTERNOS, BOTONES, INPUTS Y ETIQUETAS --- */
html[data-apple-theme="classic-antes"] .card-quienes [style*="#B45309"],
html[data-apple-theme="classic-antes"] .card-blanca [style*="#B45309"],
html[data-apple-theme="classic-antes"] .card-plano [style*="#B45309"],
html[data-apple-theme="classic-antes"] .media-card [style*="#B45309"],
html[data-apple-theme="classic-antes"] .blog-card [style*="#B45309"] {
  color: #FDE68A !important;
}
html[data-apple-theme="classic-antes"] .card-quienes [style*="color:#0071E3"],
html[data-apple-theme="classic-antes"] .card-blanca [style*="color:#0071E3"],
html[data-apple-theme="classic-antes"] .card-plano [style*="color:#0071E3"],
html[data-apple-theme="classic-antes"] .media-card [style*="color:#0071E3"],
html[data-apple-theme="classic-antes"] .blog-card [style*="color:#0071E3"],
html[data-apple-theme="classic-antes"] .subscribe-banner-box [style*="color:#0071E3"] {
  color: #7DD3FC !important;
}
html[data-apple-theme="classic-antes"] .card-blanca button:not(.btn-gold-pill):not(.btn-primary-pill) {
  background: #131E36 !important;
  color: #FFFFFF !important;
}
html[data-apple-theme="apple-light"] .card-blanca button:not(.btn-gold-pill):not(.btn-primary-pill) {
  background: var(--ecc-light-bg, #ECE9E2) !important;
  color: #0F172A !important;
}
html[data-apple-theme="classic-antes"] .filter-pills-bar input,
html[data-apple-theme="classic-antes"] .toolbar-faq input,
html[data-apple-theme="classic-antes"] .subscribe-banner-box input,
html[data-apple-theme="classic-antes"] .subscribe-banner-box select {
  background: #070C18 !important;
  color: #FFFFFF !important;
  border: 1.5px solid rgba(212, 175, 55, 0.45) !important;
}
html[data-apple-theme="apple-light"] .filter-pills-bar input,
html[data-apple-theme="apple-light"] .toolbar-faq input,
html[data-apple-theme="apple-light"] .subscribe-banner-box input,
html[data-apple-theme="apple-light"] .subscribe-banner-box select {
  background: var(--ecc-light-card, #F7F5F0) !important;
  color: #0F172A !important;
  border: 1.5px solid #CBD5E1 !important;
}
html[data-apple-theme="classic-antes"] a[style*="background:#F1F5F9"] {
  background: #131E36 !important;
  color: #FFFFFF !important;
  border-color: rgba(212, 175, 55, 0.45) !important;
}
html[data-apple-theme="apple-light"] a[style*="background:#F1F5F9"] {
  background: #F1F5F9 !important;
  color: #0F172A !important;
  border-color: #CBD5E1 !important;
}
html[data-apple-theme="classic-antes"] a[style*="background:#0F172A"] {
  background: #131E36 !important;
  color: #FDE68A !important;
  border: 1.5px solid rgba(212, 175, 55, 0.55) !important;
}


/* ============================================================================
   9. UNIFICACIÓN ESTÉTICA TOTAL CON EL SISTEMA .mod600-section / .mod600-card
      (Misma anchura 1280px, mismos bordes dorados/pizarra, mismos fondos y radios)
   ============================================================================ */
.subpage-container,
.container-quienes,
.container-bases,
.container-faq,
.container-contacto {
  max-width: 1280px !important;
  margin: 28px auto !important;
  padding: 0 20px !important;
}

.subpage-hero-inner,
.hero-quienes-inner,
.hero-bases-inner,
.hero-faq-inner,
.hero-contacto-inner {
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
}

/* En Modo Oscuro (classic-antes): Idéntico a #mod600-nosotros-institucional */
html[data-apple-theme="classic-antes"] body {
  background: var(--ecc-dark-bg, #141518) !important;
  color: #F8FAFC !important;
}

html[data-apple-theme="classic-antes"] .card-quienes,
html[data-apple-theme="classic-antes"] .card-blanca,
html[data-apple-theme="classic-antes"] .card-plano,
html[data-apple-theme="classic-antes"] .subscribe-banner-box,
html[data-apple-theme="classic-antes"] .filter-pills-bar,
html[data-apple-theme="classic-antes"] .toolbar-faq {
  background: linear-gradient(155deg, rgba(16, 23, 42, 0.94), rgba(8, 12, 24, 0.98)) !important;
  border: 1px solid rgba(212, 175, 55, 0.34) !important;
  border-radius: 26px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55) !important;
  color: #FFFFFF !important;
}

html[data-apple-theme="classic-antes"] .cajetin-miembro,
html[data-apple-theme="classic-antes"] .media-card,
html[data-apple-theme="classic-antes"] .blog-card {
  background: rgba(15, 23, 42, 0.88) !important;
  border: 1px solid rgba(212, 175, 55, 0.28) !important;
  border-radius: 18px !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45) !important;
  color: #FFFFFF !important;
}

html[data-apple-theme="classic-antes"] .media-card-body,
html[data-apple-theme="classic-antes"] .blog-card-body {
  background: transparent !important;
  color: #FFFFFF !important;
}

html[data-apple-theme="classic-antes"] .media-card-footer,
html[data-apple-theme="classic-antes"] .blog-card-footer {
  background: rgba(8, 12, 24, 0.78) !important;
  border-top: 1px solid rgba(212, 175, 55, 0.24) !important;
  color: #E2E8F0 !important;
}

/* En Modo Claro (apple-light): Idéntico a .mod600-section en modo claro */
html[data-apple-theme="apple-light"] body {
  background: #F4F6FA !important;
  color: #0F172A !important;
}

html[data-apple-theme="apple-light"] .card-quienes,
html[data-apple-theme="apple-light"] .card-blanca,
html[data-apple-theme="apple-light"] .card-plano,
html[data-apple-theme="apple-light"] .subscribe-banner-box,
html[data-apple-theme="apple-light"] .filter-pills-bar,
html[data-apple-theme="apple-light"] .toolbar-faq {
  background: var(--ecc-light-card, #F7F5F0) !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 26px !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05) !important;
  color: #0F172A !important;
}

html[data-apple-theme="apple-light"] .cajetin-miembro,
html[data-apple-theme="apple-light"] .media-card,
html[data-apple-theme="apple-light"] .blog-card {
  background: var(--ecc-light-bg, #ECE9E2) !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 18px !important;
  color: #0F172A !important;
}


/* --- UNIFICACIÓN TIPOGRÁFICA Y DE CÓDIGOS CON .mod600-title / .mod600-kicker --- */
.card-quienes h2,
.card-blanca h2,
.card-plano h2,
.subscribe-banner-box h2 {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Inter', sans-serif !important;
  letter-spacing: -0.01em !important;
}
html[data-apple-theme="classic-antes"] .card-quienes code,
html[data-apple-theme="classic-antes"] .card-blanca code,
html[data-apple-theme="classic-antes"] .card-plano code,
html[data-apple-theme="classic-antes"] .hero-contacto code {
  color: #FDE68A !important;
  background: rgba(212, 175, 55, 0.14) !important;
  padding: 2px 6px !important;
  border-radius: 6px !important;
}
html[data-apple-theme="apple-light"] .card-quienes code,
html[data-apple-theme="apple-light"] .card-blanca code,
html[data-apple-theme="apple-light"] .card-plano code {
  color: #0F172A !important;
  background: #F1F5F9 !important;
  padding: 2px 6px !important;
  border-radius: 6px !important;
}


/* ============================================================================
   10. BLINDAJE INTEGRAL DE CONTRASTE EN MODO CLARO (WCAG AAA · apple-light)
       Corrige negritas oscuras en héroes, textos pálidos sobre fondo blanco,
       cajas mixtas y ajuste de botones en barra superior.
   ============================================================================ */

/* 10.1 Héroes y Cabeceras Oscuras (.hero-quienes, .subpage-hero, .hero-contacto, .hero-fullbleed):
   En Modo Claro conservan su estética de portada institucional oscura, por lo que
   TODOS sus títulos, párrafos, enlaces y negritas (<strong>) deben ser blancos y dorados brillantes,
   NUNCA oscuros (#0F172A). Además, la columna de texto lleva un respaldo cristalino oscuro. */
.hero-quienes,
.subpage-hero,
.hero-contacto {
  background: linear-gradient(135deg, #040814 0%, #0A152C 55%, #111F38 100%) !important;
  position: relative !important;
}

.hero-quienes .apple-subpage-hero-bg,
.subpage-hero .apple-subpage-hero-bg,
.hero-contacto .apple-subpage-hero-bg {
  opacity: 0.16 !important;
  filter: brightness(0.55) contrast(1.15) saturate(1.1) !important;
}

.hero-quienes-inner > div:first-child,
.hero-contacto-inner > div:first-child,
.subpage-hero-inner {
  background: rgba(5, 9, 20, 0.82) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1.5px solid rgba(212, 175, 55, 0.52) !important;
  border-radius: 22px !important;
  padding: 28px 32px !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45) !important;
}

html[data-apple-theme="apple-light"] .hero-quienes h1,
html[data-apple-theme="apple-light"] .hero-quienes h2,
html[data-apple-theme="apple-light"] .hero-quienes h3,
html[data-apple-theme="apple-light"] .subpage-hero h1,
html[data-apple-theme="apple-light"] .subpage-hero h2,
html[data-apple-theme="apple-light"] .subpage-hero h3,
html[data-apple-theme="apple-light"] .hero-contacto h1,
html[data-apple-theme="apple-light"] .hero-contacto h2,
html[data-apple-theme="apple-light"] .hero-contacto h3,
html[data-apple-theme="apple-light"] .hero-fullbleed h1,
html[data-apple-theme="apple-light"] .hero-fullbleed h2,
html[data-apple-theme="apple-light"] .hero-fullbleed h3,
html[data-apple-theme="apple-light"] .fullbleed-photo-strip h2,
html[data-apple-theme="apple-light"] .fullbleed-photo-strip h3,
html[data-apple-theme="apple-light"] .sticky-dock h4,
html[data-apple-theme="apple-light"] .sticky-dock div {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65) !important;
}

html[data-apple-theme="apple-light"] .hero-quienes p,
html[data-apple-theme="apple-light"] .subpage-hero p,
html[data-apple-theme="apple-light"] .hero-contacto p,
html[data-apple-theme="apple-light"] .hero-fullbleed p,
html[data-apple-theme="apple-light"] .fullbleed-photo-strip p {
  color: #F8FAFC !important;
  -webkit-text-fill-color: #F8FAFC !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.65) !important;
  opacity: 1 !important;
}

/* ¡CRÍTICO!: Las palabras en negrita (<strong>) y enlaces dentro de cabeceras oscuras
   en Modo Claro se ven en Dorado Luminoso #FDE68A para lectura instantánea */
html[data-apple-theme="apple-light"] .hero-quienes strong,
html[data-apple-theme="apple-light"] .hero-quienes a,
html[data-apple-theme="apple-light"] .Hero-quienes b,
html[data-apple-theme="apple-light"] .subpage-hero strong,
html[data-apple-theme="apple-light"] .subpage-hero a:not([style*="background"]),
html[data-apple-theme="apple-light"] .hero-contacto strong,
html[data-apple-theme="apple-light"] .hero-contacto code,
html[data-apple-theme="apple-light"] .hero-fullbleed strong,
html[data-apple-theme="apple-light"] .fullbleed-photo-strip strong,
html[data-apple-theme="apple-light"] .sticky-dock strong {
  color: #FDE68A !important;
  -webkit-text-fill-color: #FDE68A !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.75) !important;
}

html[data-apple-theme="apple-light"] .hero-quienes a[style*="background:#0071E3"],
html[data-apple-theme="apple-light"] .subpage-hero a[style*="background:#0071E3"],
html[data-apple-theme="apple-light"] .hero-contacto a[style*="background:#0071E3"] {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  text-shadow: none !important;
}

html[data-apple-theme="apple-light"] .hero-quienes span[style*="rgba(212,175,55"],
html[data-apple-theme="apple-light"] .subpage-hero span[style*="rgba(212,175,55"],
html[data-apple-theme="apple-light"] .hero-contacto span[style*="rgba(212,175,55"] {
  background: rgba(5, 8, 17, 0.92) !important;
  color: #FDE68A !important;
  -webkit-text-fill-color: #FDE68A !important;
  border: 1.5px solid #D4AF37 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
}

/* 10.2 Cajas con gradiente oscuro embebidas dentro de páginas en Modo Claro:
   En Modo Claro se transforman en tarjetas claras de alto contraste (#F8FAFC / #EFF6FF)
   con borde azul/dorado y texto oscuro nítido (#0F172A), evitando bloques negros con letras negras */
html[data-apple-theme="apple-light"] .ecc-launch-bento-panel div[style*="#090E1C"],
html[data-apple-theme="apple-light"] .card-blanca div[style*="#0B1120"],
html[data-apple-theme="apple-light"] .media-card div[style*="#0B1120"] {
  background: linear-gradient(155deg, #F8FAFC 0%, #EFF6FF 100%) !important;
  color: #0F172A !important;
  border: 2px solid #0071E3 !important;
  box-shadow: 0 10px 28px rgba(0, 113, 227, 0.08) !important;
}

html[data-apple-theme="apple-light"] .ecc-launch-bento-panel div[style*="#090E1C"] h3,
html[data-apple-theme="apple-light"] .ecc-launch-bento-panel div[style*="#090E1C"] span,
html[data-apple-theme="apple-light"] .card-blanca div[style*="#0B1120"] h3,
html[data-apple-theme="apple-light"] .card-blanca div[style*="#0B1120"] p,
html[data-apple-theme="apple-light"] .media-card div[style*="#0B1120"] h3,
html[data-apple-theme="apple-light"] .media-card div[style*="#0B1120"] p {
  color: #0F172A !important;
  -webkit-text-fill-color: #0F172A !important;
}

html[data-apple-theme="apple-light"] .ecc-launch-bento-panel div[style*="#090E1C"] strong[style*="#FDE68A"] {
  color: #92400E !important;
  -webkit-text-fill-color: #92400E !important;
}
html[data-apple-theme="apple-light"] .ecc-launch-bento-panel div[style*="#090E1C"] strong[style*="#7DD3FC"] {
  color: #0369A1 !important;
  -webkit-text-fill-color: #0369A1 !important;
}
html[data-apple-theme="apple-light"] .ecc-launch-bento-panel div[style*="#090E1C"] strong[style*="#6EE7B7"] {
  color: #065F46 !important;
  -webkit-text-fill-color: #065F46 !important;
}

/* 10.3 Textos con colores pálidos inline (#FDE68A, #7DD3FC, #6EE7B7, #E2E8F0, #CBD5E1)
   dentro de tarjetas blancas (.mod600-section, .mod600-card, .card-quienes, .card-blanca, .card-plano, tablas):
   En Modo Claro pasan a tonos oscuros saturados de alto contraste (WCAG AAA > 7:1 sobre blanco) */
html[data-apple-theme="apple-light"] .mod600-section [style*="color:#FDE68A"],
html[data-apple-theme="apple-light"] .mod600-section [style*="color: #FDE68A"],
html[data-apple-theme="apple-light"] .card-quienes [style*="color:#FDE68A"],
html[data-apple-theme="apple-light"] .card-blanca [style*="color:#FDE68A"],
html[data-apple-theme="apple-light"] .card-plano [style*="color:#FDE68A"],
html[data-apple-theme="apple-light"] table td [style*="color:#FDE68A"],
html[data-apple-theme="apple-light"] table td[style*="color:#FDE68A"] {
  color: #92400E !important;
  -webkit-text-fill-color: #92400E !important;
}

html[data-apple-theme="apple-light"] .mod600-section [style*="color:#7DD3FC"],
html[data-apple-theme="apple-light"] .mod600-section [style*="color:#38BDF8"],
html[data-apple-theme="apple-light"] .card-quienes [style*="color:#7DD3FC"],
html[data-apple-theme="apple-light"] .card-blanca [style*="color:#7DD3FC"],
html[data-apple-theme="apple-light"] .card-plano [style*="color:#7DD3FC"],
html[data-apple-theme="apple-light"] table td [style*="color:#7DD3FC"],
html[data-apple-theme="apple-light"] table td[style*="color:#7DD3FC"] {
  color: #0369A1 !important;
  -webkit-text-fill-color: #0369A1 !important;
}

html[data-apple-theme="apple-light"] .mod600-section [style*="color:#6EE7B7"],
html[data-apple-theme="apple-light"] .mod600-section [style*="color:#34D399"],
html[data-apple-theme="apple-light"] .card-quienes [style*="color:#6EE7B7"],
html[data-apple-theme="apple-light"] .card-blanca [style*="color:#6EE7B7"],
html[data-apple-theme="apple-light"] .card-plano [style*="color:#6EE7B7"],
html[data-apple-theme="apple-light"] table td [style*="color:#6EE7B7"],
html[data-apple-theme="apple-light"] table td[style*="color:#6EE7B7"] {
  color: #065F46 !important;
  -webkit-text-fill-color: #065F46 !important;
}

html[data-apple-theme="apple-light"] .mod600-section [style*="color:#E2E8F0"],
html[data-apple-theme="apple-light"] .mod600-section [style*="color:#CBD5E1"],
html[data-apple-theme="apple-light"] .mod600-section [style*="color:#94A3B8"],
html[data-apple-theme="apple-light"] .card-quienes [style*="color:#E2E8F0"],
html[data-apple-theme="apple-light"] .card-quienes [style*="color:#CBD5E1"],
html[data-apple-theme="apple-light"] .card-blanca [style*="color:#E2E8F0"],
html[data-apple-theme="apple-light"] .card-blanca [style*="color:#CBD5E1"],
html[data-apple-theme="apple-light"] .card-plano [style*="color:#E2E8F0"],
html[data-apple-theme="apple-light"] .card-plano [style*="color:#CBD5E1"] {
  color: #1E293B !important;
  -webkit-text-fill-color: #1E293B !important;
}

/* Excepción: Píldoras con fondo oscuro explícito (#050811 / #0F172A) mantienen su texto claro */
html[data-apple-theme="apple-light"] [style*="background:#050811"],
html[data-apple-theme="apple-light"] [style*="background: #050811"] {
  color: #FDE68A !important;
  -webkit-text-fill-color: #FDE68A !important;
}
html[data-apple-theme="apple-light"] a[style*="background:#0F172A"] {
  background: #0F172A !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

/* ============================================================================
   11. BLINDAJE MAESTRO DE CONTRASTE DUAL WCAG AAA (>7:1) EN MODO OSCURO Y CLARO
       Cubre variables --ink en oscuro, botones dorados con texto negro #050811,
       enlaces brillantes en tarjetas oscuras, héroes (.hero-bases, .hero-faq, .lab-hero),
       escenario en directo y modales internos.
   ============================================================================ */

/* 11.1 Variables --ink en Modo Oscuro (classic-antes) */
html[data-apple-theme="classic-antes"] {
  --ink: #FFFFFF !important;
  --ink-soft: #E2E8F0 !important;
  --ink-muted: #CBD5E1 !important;
}

/* 11.2 Todos los botones dorados (.btn-gold-pill, .btn-gold, .btn-fb-gold, .mod600-btn-oro)
   tanto en Modo Oscuro como en Modo Claro usan fondo dorado luminoso y texto negro #050811 (>11:1 AAA) */
.btn-gold-pill,
.btn-fb-gold,
html[data-apple-theme="apple-light"] .btn-gold-pill,
html[data-apple-theme="classic-antes"] .btn-gold-pill,
html[data-apple-theme="apple-light"] .btn-fb-gold,
html[data-apple-theme="classic-antes"] .btn-fb-gold,
html[data-apple-theme="apple-light"] .mod600-btn-oro,
html[data-apple-theme="classic-antes"] .mod600-btn-oro {
  background: linear-gradient(135deg, #D4AF37 0%, #F5D77F 100%) !important;
  color: #050811 !important;
  -webkit-text-fill-color: #050811 !important;
  border: 1.5px solid #FDE68A !important;
  font-weight: 900 !important;
  text-shadow: none !important;
}

/* 11.3 Héroes adicionales (.hero-bases, .hero-faq, .lab-hero) y enlaces en TODOS los héroes oscuros */
.hero-bases,
.hero-faq,
.lab-hero {
  background: linear-gradient(135deg, #040814 0%, #0A152C 55%, #111F38 100%) !important;
  position: relative !important;
}

.hero-bases-inner,
.hero-faq-inner {
  background: rgba(5, 9, 20, 0.82) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1.5px solid rgba(212, 175, 55, 0.52) !important;
  border-radius: 22px !important;
  padding: 28px 32px !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45) !important;
}

html[data-apple-theme="apple-light"] .hero-bases h1,
html[data-apple-theme="apple-light"] .hero-bases h2,
html[data-apple-theme="apple-light"] .hero-bases h3,
html[data-apple-theme="apple-light"] .hero-faq h1,
html[data-apple-theme="apple-light"] .hero-faq h2,
html[data-apple-theme="apple-light"] .hero-faq h3,
html[data-apple-theme="apple-light"] .lab-hero h1,
html[data-apple-theme="apple-light"] .branch-box h3,
html[data-apple-theme="apple-light"] .proto-card h4,
html[data-apple-theme="apple-light"] .viewer-bar strong {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

html[data-apple-theme="apple-light"] .hero-bases p,
html[data-apple-theme="apple-light"] .hero-faq p,
html[data-apple-theme="apple-light"] .lab-hero p,
html[data-apple-theme="apple-light"] .branch-box p,
html[data-apple-theme="apple-light"] .proto-card p {
  color: #F8FAFC !important;
  -webkit-text-fill-color: #F8FAFC !important;
}

html[data-apple-theme="apple-light"] .hero-bases strong,
html[data-apple-theme="apple-light"] .hero-faq strong,
html[data-apple-theme="apple-light"] .lab-hero strong,
html[data-apple-theme="apple-light"] .branch-box strong {
  color: #FDE68A !important;
  -webkit-text-fill-color: #FDE68A !important;
}

/* Enlaces inline dentro de CUALQUIER cabecera oscura (.subpage-hero, .hero-quienes, .hero-bases, .hero-faq, .hero-contacto)
   tanto en Modo Oscuro como en Modo Claro brillan en Dorado #FDE68A o Celeste #7DD3FC */
.subpage-hero p a:not(.btn-gold-pill):not(.btn-primary-pill),
.hero-quienes p a:not(.btn-gold-pill):not(.btn-primary-pill),
.hero-bases p a:not(.btn-gold-pill):not(.btn-primary-pill),
.hero-faq p a:not(.btn-gold-pill):not(.btn-primary-pill),
.hero-contacto p a:not(.btn-gold-pill):not(.btn-primary-pill) {
  color: #FDE68A !important;
  -webkit-text-fill-color: #FDE68A !important;
  text-decoration: underline !important;
  font-weight: 800 !important;
}

/* 11.4 En Modo Oscuro (classic-antes): Cualquier texto o enlace con color oscuro inline
   (#0071E3, #B45309, #00805A, #065F46, #92400E, #D97706, #475569, #334155, #1E293B)
   dentro de paneles y tarjetas oscuras pasa automáticamente a su versión luminosa AAA */
html[data-apple-theme="classic-antes"] .trophies-vault [style*="color:#B45309"],
html[data-apple-theme="classic-antes"] .prize-finalist-card [style*="color:#B45309"],
html[data-apple-theme="classic-antes"] .urn-wide-box [style*="color:#B45309"],
html[data-apple-theme="classic-antes"] .wide-session-card [style*="color:#B45309"],
html[data-apple-theme="classic-antes"] .mod600-panel [style*="color:#B45309"]:not([style*="background"]),
html[data-apple-theme="classic-antes"] .mod600-card [style*="color:#B45309"]:not([style*="background"]),
html[data-apple-theme="classic-antes"] .mod600-acordeon-body [style*="color:#B45309"]:not([style*="background"]),
html[data-apple-theme="classic-antes"] .ecc-launch-bento-panel [style*="color:#B45309"],
html[data-apple-theme="classic-antes"] .ecc-reel-launch-card [style*="color:#B45309"],
html[data-apple-theme="classic-antes"] .ecc-step-box [style*="color:#B45309"],
html[data-apple-theme="classic-antes"] .cajetin-miembro [style*="color:#B45309"],
html[data-apple-theme="classic-antes"] .cajetin-miembro [style*="color:#D97706"],
html[data-apple-theme="classic-antes"] .card-quienes [style*="color:#B45309"] {
  color: #FDE68A !important;
  -webkit-text-fill-color: #FDE68A !important;
}

html[data-apple-theme="classic-antes"] .prize-finalist-card [style*="color:#0071E3"],
html[data-apple-theme="classic-antes"] .urn-wide-box [style*="color:#0071E3"],
html[data-apple-theme="classic-antes"] .wide-session-card [style*="color:#0071E3"],
html[data-apple-theme="classic-antes"] #liveRankingContainer [style*="color:#0071E3"],
html[data-apple-theme="classic-antes"] .mod600-panel [style*="color:#0071E3"]:not([style*="background"]),
html[data-apple-theme="classic-antes"] .mod600-card [style*="color:#0071E3"]:not([style*="background"]),
html[data-apple-theme="classic-antes"] .mod600-acordeon-body [style*="color:#0071E3"]:not([style*="background"]),
html[data-apple-theme="classic-antes"] .ecc-launch-bento-panel [style*="color:#0071E3"],
html[data-apple-theme="classic-antes"] .ecc-reel-launch-card [style*="color:#0071E3"],
html[data-apple-theme="classic-antes"] .ecc-step-box [style*="color:#0071E3"],
html[data-apple-theme="classic-antes"] .cajetin-miembro [style*="color:#0071E3"],
html[data-apple-theme="classic-antes"] .card-quienes [style*="color:#0071E3"] {
  color: #7DD3FC !important;
  -webkit-text-fill-color: #7DD3FC !important;
}

html[data-apple-theme="classic-antes"] .ecc-launch-bento-panel [style*="color:#00805A"],
html[data-apple-theme="classic-antes"] .ecc-step-box [style*="color:#00805A"],
html[data-apple-theme="classic-antes"] .cajetin-miembro [style*="color:#00805A"],
html[data-apple-theme="classic-antes"] .cajetin-miembro [style*="color:#059669"],
html[data-apple-theme="classic-antes"] .mod600-panel [style*="color:#00805A"]:not([style*="background"]),
html[data-apple-theme="classic-antes"] .mod600-card [style*="color:#00805A"]:not([style*="background"]) {
  color: #6EE7B7 !important;
  -webkit-text-fill-color: #6EE7B7 !important;
}

html[data-apple-theme="classic-antes"] .card-blanca div:not(.kicker-tag) {
  color: #E2E8F0 !important;
}

html[data-apple-theme="classic-antes"] #voteReceiptBanner,
html[data-apple-theme="classic-antes"] #subBlogEstado {
  background: rgba(16, 185, 129, 0.18) !important;
  border-color: #10B981 !important;
  color: #6EE7B7 !important;
}

/* 11.5 Protección de escenario en directo (.mod600-stage-player), cronómetros (#050811) y modales oscuros en Modo Claro */
html[data-apple-theme="apple-light"] [style*="background:#050811"],
html[data-apple-theme="apple-light"] [style*="background: #050811"] {
  background: var(--ecc-dark-bg, #141518) !important;
  color: #FDE68A !important;
  -webkit-text-fill-color: #FDE68A !important;
}

html[data-apple-theme="apple-light"] .mod600-stage-player,
html[data-apple-theme="apple-light"] .mod600-stage-player * {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

html[data-apple-theme="apple-light"] .media-card div[style*="#0B1120"] span {
  background: #FEF3C7 !important;
  color: #92400E !important;
  -webkit-text-fill-color: #92400E !important;
  border-color: #D97706 !important;
}

html[data-apple-theme="apple-light"] #eccModalAuth2FARoot h3,
html[data-apple-theme="apple-light"] #eccEstudioPrivadoModalRoot h3,
html[data-apple-theme="apple-light"] #eccEstudioPrivadoModalRoot h4,
html[data-apple-theme="apple-light"] #eccModalAdminUrnasRoot h3,
html[data-apple-theme="apple-light"] #eccModalAdminUrnasRoot h4 {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

html[data-apple-theme="apple-light"] #eccModalAuth2FARoot strong,
html[data-apple-theme="apple-light"] #eccEstudioPrivadoModalRoot strong,
html[data-apple-theme="apple-light"] #eccModalAdminUrnasRoot strong {
  color: #FDE68A !important;
  -webkit-text-fill-color: #FDE68A !important;
}

/* 11.6 Hito 60 — Protección de Estética Editorial 600M (#mod600-redes, #mod600-nosotros-institucional, #mod600-directo y Cabecera Cristal) en Modo Claro y Oscuro */
html[data-apple-theme="apple-light"] #mod600-redes.mod600-panel,
html[data-apple-theme="classic-antes"] #mod600-redes.mod600-panel {
  background: var(--ecc-dark-card, #1C1D22) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55) !important;
}

html[data-apple-theme="apple-light"] #mod600-nosotros-institucional.mod600-panel,
html[data-apple-theme="classic-antes"] #mod600-nosotros-institucional.mod600-panel {
  background: var(--ecc-dark-card, #1C1D22) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-top: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-radius: 24px !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65) !important;
}

html[data-apple-theme="apple-light"] #mod600-redes h3.tml-social-brand-title,
html[data-apple-theme="apple-light"] #mod600-nosotros-institucional h4.tml-footer-col-title,
html[data-apple-theme="apple-light"] #mod600-nosotros-institucional strong,
html[data-apple-theme="apple-light"] #mod600-directo .mod600-title,
html[data-apple-theme="apple-light"] #mod600-directo h3,
html[data-apple-theme="apple-light"] #mod600-directo h4,
html[data-apple-theme="apple-light"] #mod600-directo strong {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

html[data-apple-theme="apple-light"] #mod600-directo.mod600-panel {
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.12) 0%, rgba(6, 7, 10, 0.98) 70%), #06070A !important;
  color: #F8FAFC !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

html[data-apple-theme="apple-light"] #mod600-directo .mod600-card {
  background: rgba(255, 255, 255, 0.04) !important;
  color: #F8FAFC !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

html[data-apple-theme="apple-light"] #mod600-directo .mod600-sub,
html[data-apple-theme="apple-light"] #mod600-directo p,
html[data-apple-theme="apple-light"] #mod600-directo div {
  color: #E2E8F0 !important;
}

html[data-apple-theme="apple-light"] #mod600-redes a.tml-social-icon-link {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  text-decoration: none !important;
  background: transparent !important;
  border: none !important;
}

html[data-apple-theme="apple-light"] #mod600-redes a.tml-social-icon-link:hover {
  color: #D4AF37 !important;
  -webkit-text-fill-color: #D4AF37 !important;
}

html[data-apple-theme="apple-light"] #mod600-nosotros-institucional .tml-footer-links a {
  color: rgba(255, 255, 255, 0.72) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.72) !important;
  text-decoration: none !important;
  font-weight: 400 !important;
}

html[data-apple-theme="apple-light"] #mod600-nosotros-institucional .tml-footer-links a:hover {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

html[data-apple-theme="apple-light"] #mod600-nosotros-institucional .tml-footer-legal-links a {
  color: rgba(255, 255, 255, 0.65) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.65) !important;
  text-decoration: none !important;
}


/* ==========================================================================
   12. HITO 61 — ARQUITECTURA MINIMALISTA INTEGRAL ESTILO Editorial 600M
   Elimina el efecto "cajas dentro de cajas" en todo el cuerpo de la web y en
   las 6 subpáginas, sustituyendo recuadros pesados por líneas de 1px y
   columnas abiertas tanto en Modo Oscuro (classic-antes) como en Modo Claro (apple-light).
   ========================================================================== */

/* Botones minimalistas arquitectónicos Editorial 600M */
.tml-minimal-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 10px 20px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  background: transparent !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: border-color 0.22s ease, background-color 0.22s ease, transform 0.22s ease !important;
}
.tml-minimal-btn:hover {
  border-color: #D4AF37 !important;
  background: rgba(212, 175, 55, 0.12) !important;
  transform: translateY(-1px) !important;
}
.tml-minimal-btn.tml-minimal-btn-gold {
  border-color: rgba(212, 175, 55, 0.65) !important;
  color: #FDE68A !important;
  -webkit-text-fill-color: #FDE68A !important;
  background: rgba(212, 175, 55, 0.08) !important;
}
.tml-minimal-btn.tml-minimal-btn-gold:hover {
  background: #D4AF37 !important;
  color: #05060A !important;
  -webkit-text-fill-color: #05060A !important;
}

html[data-apple-theme="apple-light"] .tml-minimal-btn {
  border-color: rgba(15, 23, 42, 0.22) !important;
  color: #0F172A !important;
  -webkit-text-fill-color: #0F172A !important;
}
html[data-apple-theme="apple-light"] .tml-minimal-btn.tml-minimal-btn-gold {
  border-color: #B45309 !important;
  color: #92400E !important;
  -webkit-text-fill-color: #92400E !important;
  background: rgba(212, 175, 55, 0.10) !important;
}
html[data-apple-theme="apple-light"] #mod600-directo .tml-minimal-btn {
  border-color: rgba(212, 175, 55, 0.55) !important;
  color: #FDE68A !important;
  -webkit-text-fill-color: #FDE68A !important;
}

/* Lienzo general obsidiana Editorial 600M en Modo Oscuro */
html[data-apple-theme="classic-antes"] body {
  background: var(--ecc-dark-card, #1C1D22) !important;
  color: #F8FAFC !important;
}

/* DESMANTELAR CONTENEDORES EXTERIORES ("CAJAS MADRE") -> SECCIONES ARQUITECTÓNICAS CON AIRE LATERAL */
html[data-apple-theme="classic-antes"] .trophies-vault,
html[data-apple-theme="apple-light"] .trophies-vault,
html[data-apple-theme="classic-antes"] .ecc-launch-bento-panel,
html[data-apple-theme="apple-light"] .ecc-launch-bento-panel,
html[data-apple-theme="classic-antes"] .urn-wide-box,
html[data-apple-theme="apple-light"] .urn-wide-box {
  background: transparent !important;
  border: none !important;
  border-top: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: clamp(32px, 3.6vw, 48px) clamp(32px, 3.8vw, 52px) !important;
  box-sizing: border-box !important;
}

html[data-apple-theme="apple-light"] .trophies-vault,
html[data-apple-theme="apple-light"] .ecc-launch-bento-panel,
html[data-apple-theme="apple-light"] .urn-wide-box {
  border-top: 1px solid rgba(15, 23, 42, 0.10) !important;
}

html[data-apple-theme="apple-light"] #mod600-directo.mod600-panel {
  background: var(--ecc-dark-card, #1C1D22) !important;
  padding: 56px 36px !important;
  border-radius: 20px !important;
}

/* VITRINA DE 5 PREMIOS (CAPTURA 2): DE 5 CAJAS PESADAS A RETÍCULA ARQUITECTÓNICA DE 1PX */
.trophies-grid-5 {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
  margin-top: 16px !important;
}
html[data-apple-theme="apple-light"] .trophies-grid-5 {
  border-top-color: rgba(15, 23, 42, 0.10) !important;
  border-bottom-color: rgba(15, 23, 42, 0.10) !important;
}

html[data-apple-theme="classic-antes"] .prize-finalist-card,
html[data-apple-theme="classic-antes"] .prize-finalist-card.podium-gold,
html[data-apple-theme="apple-light"] .prize-finalist-card,
html[data-apple-theme="apple-light"] .prize-finalist-card.podium-gold {
  background: transparent !important;
  border: none !important;
  border-right: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 32px 24px !important;
  text-align: left !important;
  align-items: flex-start !important;
}
html[data-apple-theme="apple-light"] .prize-finalist-card,
html[data-apple-theme="apple-light"] .prize-finalist-card.podium-gold {
  border-right-color: rgba(15, 23, 42, 0.10) !important;
}
.prize-finalist-card:last-child {
  border-right: none !important;
}
.prize-finalist-card.podium-gold {
  border-top: 1.5px solid rgba(212, 175, 55, 0.65) !important;
}
.prize-badge-top {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 9.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  color: #D4AF37 !important;
  margin-bottom: 10px !important;
  display: block !important;
}
html[data-apple-theme="apple-light"] .prize-badge-top {
  color: #B45309 !important;
}
.prize-amount-big {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Inter', sans-serif !important;
  font-size: clamp(28px, 2.6vw, 38px) !important;
  font-weight: 600 !important;
  margin: 4px 0 8px !important;
}

/* TIPOGRAFÍA Y ELEMENTOS DE LAS SECCIONES ABIERTAS EN FASE 1 (CAPTURAS 2 Y 3) */
.tml-section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 18px;
  padding-bottom: 24px;
}
.tml-kicker-line {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #D4AF37 !important;
  margin-bottom: 8px;
}
html[data-apple-theme="apple-light"] .tml-kicker-line {
  color: #B45309 !important;
}
.tml-editorial-h2 {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Inter', sans-serif !important;
  font-size: clamp(24px, 2.6vw, 34px) !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em !important;
  line-height: 1.22 !important;
  margin: 0 !important;
}
.tml-editorial-lead {
  font-size: 14.5px;
  line-height: 1.65;
  opacity: 0.82;
  margin: 10px 0 22px;
}
.tml-subtle-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #D4AF37;
}

/* Galerías de vídeos 16:9 y 9:16 sin recuadros pesados */
.tml-video-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
html[data-apple-theme="classic-antes"] .ecc-reel-launch-card,
html[data-apple-theme="apple-light"] .ecc-reel-launch-card {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}
.tml-video-frame-clean {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #05060A;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
html[data-apple-theme="apple-light"] .tml-video-frame-clean {
  border-color: rgba(15, 23, 42, 0.12);
}
.tml-video-frame-clean video {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center center !important;
  background: #000000 !important;
  display: block;
}
.tml-video-meta-clean {
  padding: 16px 2px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tml-meta-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #D4AF37 !important;
}
html[data-apple-theme="apple-light"] .tml-meta-num {
  color: #B45309 !important;
}
.tml-meta-title {
  font-size: 16.5px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  margin: 0 !important;
}
.tml-meta-desc {
  font-size: 13px !important;
  line-height: 1.55 !important;
  opacity: 0.76 !important;
  margin: 0 !important;
}
.tml-meta-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #D4AF37 !important;
  text-decoration: none !important;
}
html[data-apple-theme="apple-light"] .tml-meta-link {
  color: #0071E3 !important;
}

/* Retícula arquitectónica de 2 columnas (Pasaporte e Información de Premios - Captura 3) */
.tml-architectural-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.tml-arch-col-right {
  border-left: 1px solid rgba(255, 255, 255, 0.10);
  padding-left: 48px;
}
html[data-apple-theme="apple-light"] .tml-arch-col-right {
  border-left-color: rgba(15, 23, 42, 0.10);
}
.tml-hairline-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}
html[data-apple-theme="apple-light"] .tml-hairline-list {
  border-top-color: rgba(15, 23, 42, 0.10);
}
.tml-hairline-row {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  align-items: baseline;
}
html[data-apple-theme="apple-light"] .tml-hairline-row {
  border-bottom-color: rgba(15, 23, 42, 0.10);
}
.tml-row-idx {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #D4AF37 !important;
}
html[data-apple-theme="apple-light"] .tml-row-idx {
  color: #B45309 !important;
}
.tml-row-title {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 4px;
}
.tml-row-sub {
  display: block;
  font-size: 13px;
  line-height: 1.55;
  opacity: 0.76;
}

/* Pasos de Hoja de Ruta en 4 columnas con líneas 1px */
.ecc-steps-grid-4 {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
}
html[data-apple-theme="apple-light"] .ecc-steps-grid-4 {
  border-color: rgba(15, 23, 42, 0.10) !important;
}
html[data-apple-theme="classic-antes"] .ecc-step-box,
html[data-apple-theme="apple-light"] .ecc-step-box {
  background: transparent !important;
  border: none !important;
  border-right: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 28px 22px !important;
}
html[data-apple-theme="apple-light"] .ecc-step-box {
  border-right-color: rgba(15, 23, 42, 0.10) !important;
}
.ecc-step-box:last-child {
  border-right: none !important;
}

/* SALA DE EMISIÓN EN DIRECTO (#mod600-directo - CAPTURA 4): SIN CAJAS RECARGADAS */
html[data-apple-theme="classic-antes"] #mod600-directo .mod600-card:last-child,
html[data-apple-theme="apple-light"] #mod600-directo .mod600-card:last-child {
  background: transparent !important;
  border: none !important;
  border-left: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 0 0 28px !important;
}
#listaVotoDirectoGala > div {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-radius: 0 !important;
  padding: 12px 0 !important;
}

/* SUBPÁGINAS: ELIMINAR CAJAS ANIDADAS EN LAS 6 SUBPÁGINAS */
html[data-apple-theme="classic-antes"] .card-quienes,
html[data-apple-theme="classic-antes"] .card-blanca,
html[data-apple-theme="classic-antes"] .card-plano,
html[data-apple-theme="apple-light"] .card-quienes,
html[data-apple-theme="apple-light"] .card-blanca,
html[data-apple-theme="apple-light"] .card-plano {
  background: transparent !important;
  border: none !important;
  border-top: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: clamp(28px, 3.4vw, 44px) clamp(28px, 3.8vw, 48px) !important;
}
html[data-apple-theme="apple-light"] .card-quienes,
html[data-apple-theme="apple-light"] .card-blanca,
html[data-apple-theme="apple-light"] .card-plano {
  border-top-color: rgba(15, 23, 42, 0.10) !important;
}

@media (max-width: 1024px) {
  .trophies-grid-5,
  .ecc-steps-grid-4,
  .tml-video-grid-3,
  .tml-architectural-2col {
    grid-template-columns: 1fr 1fr !important;
  }
  .tml-arch-col-right {
    border-left: none !important;
    padding-left: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    padding-top: 28px;
  }
}
@media (max-width: 680px) {
  .trophies-grid-5,
  .ecc-steps-grid-4,
  .tml-video-grid-3,
  .tml-architectural-2col {
    grid-template-columns: 1fr !important;
  }
  .prize-finalist-card,
  .ecc-step-box {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
  }
}


/* ==========================================================================
   13. HITO 62 — SISTEMA INTEGRAL 600millones.com:
   - Tipografía Editorial Desahogada (Plus Jakarta Sans en Title Case, cero letras amontonadas)
   - Menos es Más: Cero Rayas Divisorias y Cero Cajas Azules/Doradas
   - Tarjetas con Fundido Suave estilo Editorial 600M Captura 3 (.tml-fade-card)
   - 2 Webs Perfectas y Responsivas en Móvil/Tablet (Web Oscura #06070A y Web Clara #F5F5F7)
   - Administración y Botones Flotantes Monocromos (Cero Colorines)
   ========================================================================== */

/* 13.1 ESTUDIO TIPOGRÁFICO: Sustituir Cinzel en mayúsculas apretadas por Plus Jakarta Sans desahogada */
h1, h2, h3, h4,
.hero-fb-title,
.tml-editorial-h2,
.mod600-title,
.prize-amount-big,
.section-title {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Inter', sans-serif !important;
  text-transform: none !important;
  letter-spacing: -0.015em !important;
  line-height: 1.28 !important;
  font-weight: 600 !important;
  text-wrap: balance;
}

p, li, .tml-editorial-lead, .tml-fade-card-desc, .mod600-sub, .faq-a {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Inter', sans-serif !important;
  line-height: 1.74 !important;
  letter-spacing: 0.01em !important;
}

.tml-editorial-h2 {
  font-size: clamp(26px, 2.8vw, 36px) !important;
  font-weight: 600 !important;
  margin: 6px 0 10px !important;
}

.tml-editorial-lead {
  font-size: 15px !important;
  max-width: 68ch !important;
  opacity: 0.78 !important;
  margin: 0 !important;
}

.tml-kicker-line {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.56) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.56) !important;
  margin-bottom: 6px !important;
}
html[data-apple-theme="apple-light"] .tml-kicker-line {
  color: #64748B !important;
  -webkit-text-fill-color: #64748B !important;
}

/* 13.2 MENOS ES MÁS: CERO RAYAS DIVISORIAS EN LAS SECCIONES Y GRIDS */
html[data-apple-theme="classic-antes"] .trophies-vault,
html[data-apple-theme="apple-light"] .trophies-vault,
html[data-apple-theme="classic-antes"] .ecc-launch-bento-panel,
html[data-apple-theme="apple-light"] .ecc-launch-bento-panel,
html[data-apple-theme="classic-antes"] .urn-wide-box,
html[data-apple-theme="apple-light"] .urn-wide-box,
html[data-apple-theme="classic-antes"] .card-quienes,
html[data-apple-theme="apple-light"] .card-quienes,
html[data-apple-theme="classic-antes"] .card-blanca,
html[data-apple-theme="apple-light"] .card-blanca,
html[data-apple-theme="classic-antes"] .card-plano,
html[data-apple-theme="apple-light"] .card-plano {
  background: transparent !important;
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: clamp(28px, 3.4vw, 44px) clamp(28px, 3.8vw, 48px) !important;
}

.trophies-grid-5 {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 20px !important;
  border: none !important;
  margin-top: 24px !important;
}

.tml-video-grid-3 {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  margin-top: 24px !important;
}

/* 13.3 TARJETAS CON FUNDIDO SUAVE ESTILO Editorial 600M CAPTURA 3 (.tml-fade-card) */
html[data-apple-theme="classic-antes"] .prize-finalist-card,
html[data-apple-theme="classic-antes"] .prize-finalist-card.podium-gold,
html[data-apple-theme="classic-antes"] .ecc-reel-launch-card,
html[data-apple-theme="classic-antes"] .ecc-step-box,
html[data-apple-theme="classic-antes"] .tml-fade-card,
html[data-apple-theme="classic-antes"] .wide-session-card,
html[data-apple-theme="classic-antes"] .media-card,
html[data-apple-theme="classic-antes"] .blog-card,
html[data-apple-theme="classic-antes"] .cajetin-miembro {
  background: var(--ecc-dark-card, #1C1D22) !important;
  border: none !important;
  border-right: none !important;
  border-top: none !important;
  border-bottom: none !important;
  border-radius: 12px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55) !important;
  padding: 28px 24px !important;
  overflow: hidden !important;
}

html[data-apple-theme="apple-light"] body {
  background: #F5F5F7 !important;
  color: #0F172A !important;
}

html[data-apple-theme="apple-light"] .prize-finalist-card,
html[data-apple-theme="apple-light"] .prize-finalist-card.podium-gold,
html[data-apple-theme="apple-light"] .ecc-reel-launch-card,
html[data-apple-theme="apple-light"] .ecc-step-box,
html[data-apple-theme="apple-light"] .tml-fade-card,
html[data-apple-theme="apple-light"] .wide-session-card,
html[data-apple-theme="apple-light"] .media-card,
html[data-apple-theme="apple-light"] .blog-card,
html[data-apple-theme="apple-light"] .cajetin-miembro {
  background: var(--ecc-light-card, #F7F5F0) !important;
  border: none !important;
  border-right: none !important;
  border-top: none !important;
  border-bottom: none !important;
  border-radius: 12px !important;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06) !important;
  padding: 28px 24px !important;
  overflow: hidden !important;
}

/* Tarjetas que llevan vídeo/imagen arriba: padding 0 en el contenedor y padding en .tml-fade-card-body */
html[data-apple-theme="classic-antes"] .ecc-reel-launch-card,
html[data-apple-theme="apple-light"] .ecc-reel-launch-card {
  padding: 0 !important;
}

.tml-fade-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #05060A;
  overflow: hidden;
}
.tml-fade-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tml-fade-card-media video {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center center !important;
  background: #000000 !important;
  display: block;
}
/* Degradado inferior de fundido estilo Editorial 600M Captura 3 */
html[data-apple-theme="classic-antes"] .tml-fade-card-media::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  background: linear-gradient(180deg, transparent 0%, #0D0E12 100%);
  pointer-events: none;
}

.tml-fade-card-body {
  padding: 22px 24px 26px !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  flex: 1;
}
.prize-finalist-card .tml-fade-card-body {
  padding: 0 !important;
}

.tml-fade-card-title {
  font-size: 17.5px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.01em !important;
  margin: 0 !important;
}
.tml-fade-card-desc {
  font-size: 13.8px !important;
  line-height: 1.68 !important;
  opacity: 0.74 !important;
  margin: 0 !important;
}
.tml-fade-card-more {
  display: inline-block;
  margin-top: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  text-decoration: none !important;
  opacity: 0.88;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.tml-fade-card-more:hover {
  opacity: 1;
  transform: translateX(3px);
}
html[data-apple-theme="apple-light"] .tml-fade-card-more {
  color: #0F172A !important;
  -webkit-text-fill-color: #0F172A !important;
}

.prize-badge-top {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  color: rgba(255, 255, 255, 0.56) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.56) !important;
  margin-bottom: 4px !important;
}
html[data-apple-theme="apple-light"] .prize-badge-top {
  color: #64748B !important;
  -webkit-text-fill-color: #64748B !important;
}

/* Botones minimalistas monocromos Editorial 600M (Cero Colorines) */
.tml-minimal-btn,
.tml-minimal-btn.tml-minimal-btn-gold {
  border-radius: 3px !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  background: transparent !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  padding: 10px 18px !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: none !important;
}
.tml-minimal-btn:hover,
.tml-minimal-btn.tml-minimal-btn-gold:hover {
  background: var(--ecc-light-card, #F7F5F0) !important;
  color: #06070A !important;
  -webkit-text-fill-color: #06070A !important;
  border-color: #FFFFFF !important;
}
html[data-apple-theme="apple-light"] .tml-minimal-btn,
html[data-apple-theme="apple-light"] .tml-minimal-btn.tml-minimal-btn-gold {
  border-color: rgba(15, 23, 42, 0.35) !important;
  color: #0F172A !important;
  -webkit-text-fill-color: #0F172A !important;
}
html[data-apple-theme="apple-light"] .tml-minimal-btn:hover,
html[data-apple-theme="apple-light"] .tml-minimal-btn.tml-minimal-btn-gold:hover {
  background: #0F172A !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  border-color: #0F172A !important;
}

/* 13.4 BARRA SUPERIOR INTERNA DE ADMINISTRACIÓN (#ecc-master-AdminBar) MONOCROMA */
#ecc-master-AdminBar,
html[data-apple-theme="apple-light"] #ecc-master-AdminBar,
html[data-apple-theme="classic-antes"] #ecc-master-AdminBar {
  background: var(--ecc-dark-card, #1C1D22) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65) !important;
}
#ecc-master-AdminBar .ecc-nav-btn,
#ecc-master-AdminBar select {
  background: #12141A !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 4px !important;
  box-shadow: none !important;
}
#ecc-master-AdminBar .ecc-nav-btn:hover,
#ecc-master-AdminBar .ecc-nav-btn.ecc-active {
  background: linear-gradient(135deg, #C89B3C 0%, #A67B27 100%) !important;
  color: #0E1015 !important;
  -webkit-text-fill-color: #0E1015 !important;
  border-color: #FDE68A !important;
}

/* 13.5 RESPONSIVIDAD INTEGRAL EN MÓVILES Y TABLETS PARA LAS 2 WEBS (CLARA Y OSCURA) */
@media (max-width: 1120px) {
  .trophies-grid-5 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .tml-video-grid-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 680px) {
  .trophies-grid-5,
  .tml-video-grid-3 {
    grid-template-columns: 1fr !important;
  }
  .trophies-showcase-section {
    padding: 0 18px !important;
  }
}


/* ============================================================================
   HITO 63 — SISTEMA ÓPTICO Diseño Editorial 600M (CAPTURA 5):
   FLOTACIÓN SUAVE AL TOCAR/PASAR EL RATÓN, HALO LUMINOSO DELICADO EXTERIOR
   E INTERIOR, PUNTAS MUY BIEN REDONDEADAS (18px) Y FUNDIDO CONTINUO DE IMAGEN
   ============================================================================ */

:root,
html[data-apple-theme="classic-antes"] {
  --tml-card-radius: 18px;
  --tml-card-radius-inner: 14px;
  --tml-float-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --tml-float-duration: 0.58s;
  --tml-card-bg: #0A0B0F;
  --tml-card-border-rest: rgba(255, 255, 255, 0.075);
  --tml-card-border-hover: rgba(255, 255, 255, 0.22);
  --tml-shadow-rest:
    0 12px 30px -10px rgba(0, 0, 0, 0.78),
    0 0 0 1px var(--tml-card-border-rest);
  --tml-shadow-float:
    0 0 34px 3px rgba(255, 255, 255, 0.115),
    0 0 74px 10px rgba(218, 228, 255, 0.068),
    0 0 116px 20px rgba(212, 175, 55, 0.038),
    0 24px 54px -12px rgba(0, 0, 0, 0.92),
    0 0 0 1px var(--tml-card-border-hover);
  --tml-inner-corner-sheen:
    radial-gradient(circle at 92% 94%, rgba(255, 255, 255, 0.095) 0%, rgba(255, 255, 255, 0.03) 34%, transparent 64%),
    radial-gradient(circle at 8% 94%, rgba(255, 255, 255, 0.06) 0%, transparent 54%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08) 0%, transparent 58%);
  --tml-pointer-sheen-color: rgba(255, 255, 255, 0.095);
}

html[data-apple-theme="apple-light"] {
  --tml-card-bg: #FFFFFF;
  --tml-card-border-rest: rgba(15, 23, 42, 0.08);
  --tml-card-border-hover: rgba(180, 145, 70, 0.36);
  --tml-shadow-rest:
    0 10px 28px -8px rgba(15, 23, 42, 0.075),
    0 0 0 1px var(--tml-card-border-rest);
  --tml-shadow-float:
    0 0 36px 5px rgba(255, 250, 238, 0.95),
    0 0 70px 12px rgba(212, 175, 55, 0.19),
    0 22px 48px -12px rgba(15, 23, 42, 0.14),
    0 0 0 1px var(--tml-card-border-hover);
  --tml-inner-corner-sheen:
    radial-gradient(circle at 92% 94%, rgba(212, 175, 55, 0.11) 0%, transparent 62%),
    radial-gradient(circle at 8% 94%, rgba(255, 245, 220, 0.5) 0%, transparent 54%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.75) 0%, transparent 58%);
  --tml-pointer-sheen-color: rgba(212, 175, 55, 0.095);
}

/* 1. Liberar todos los contenedores y rejillas padre para que NUNCA se recorte el brillo suave exterior ni la flotación */
.tml-video-grid-3,
.ecc-reels-grid-6,
.ecc-steps-grid-4,
.trophies-grid-5,
.trophies-showcase-section,
.trophies-vault,
.wide-sessions-grid,
.ecc-launch-bento-panel,
#eccBloqueVivoFase1Lanzamiento,
#eccBloqueVivoFase5GalaFinal,
#sesiones-amplias,
#videos-hispanidad-paises,
.main-wrap,
.mod600-wrap,
.mod600-grid-2,
.mod600-grid-3,
.mod600-grid-4,
.ecc-tml-ov-stage,
.subpage-container,
.media-grid,
.blog-grid {
  overflow: visible !important;
}

/* 2. Puntas muy bien redondeadas (18px), superficie sedosa y transición de levitación en todas las tarjetas */
.tml-fade-card,
.tml-glow-card,
.ecc-reel-launch-card,
.ecc-step-box,
.prize-finalist-card,
.wide-session-card,
.song-card,
.session-block,
.phase-card,
.bento-card,
.media-card,
.blog-card,
.cajetin-miembro,
.mod600-card,
.mod600-acordeon-item,
.ecc-hero-launch-video-card,
.hero-fb-selector-panel,
.ecc-tml-feature-col,
.urn-slot-item {
  position: relative !important;
  border-radius: var(--tml-card-radius, 18px) !important;
  overflow: hidden !important;
  background-color: var(--tml-card-bg) !important;
  border: 1px solid var(--tml-card-border-rest) !important;
  box-shadow: var(--tml-shadow-rest) !important;
  transform: translate3d(0, 0, 0) scale(1);
  transition:
    transform var(--tml-float-duration, 0.58s) var(--tml-float-ease, cubic-bezier(0.16, 1, 0.3, 1)),
    box-shadow var(--tml-float-duration, 0.58s) var(--tml-float-ease, cubic-bezier(0.16, 1, 0.3, 1)),
    border-color 0.45s ease,
    filter 0.45s ease !important;
  will-change: transform, box-shadow;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
}

/* Redondeo concéntrico suave en marcos multimedia internos */
.tml-fade-card-media,
.wide-photo-header,
.media-card-thumb,
.blog-card-thumb,
.ecc-tml-feature-img-box {
  position: relative !important;
  border-radius: 18px 18px 0 0 !important;
  overflow: hidden !important;
}

.ecc-hero-video-frame,
.hero-thumb-btn,
.ecc-cd-box {
  border-radius: 14px !important;
  overflow: hidden !important;
}

/* 3. Brillo Esmerilado Interior en Esquinas + Seguimiento del Cursor/Dedo (::after) */
.tml-fade-card::after,
.tml-glow-card::after,
.ecc-reel-launch-card::after,
.ecc-step-box::after,
.prize-finalist-card::after,
.wide-session-card::after,
.media-card::after,
.blog-card::after,
.cajetin-miembro::after,
.mod600-card::after,
.ecc-tml-feature-col::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: inherit !important;
  pointer-events: none !important;
  z-index: 3 !important;
  background:
    radial-gradient(
      420px circle at var(--tml-glow-x, 82%) var(--tml-glow-y, 86%),
      var(--tml-pointer-sheen-color),
      transparent 64%
    ),
    var(--tml-inner-corner-sheen) !important;
  opacity: 0;
  transition: opacity var(--tml-float-duration, 0.58s) var(--tml-float-ease, cubic-bezier(0.16, 1, 0.3, 1)) !important;
}

/* 4. Filete Perimetral de Luz Delicada en las Puntas Redondeadas (::before) */
.tml-fade-card::before,
.tml-glow-card::before,
.ecc-reel-launch-card::before,
.ecc-step-box::before,
.prize-finalist-card::before,
.wide-session-card::before,
.media-card::before,
.blog-card::before,
.cajetin-miembro::before,
.mod600-card::before,
.ecc-tml-feature-col::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: inherit !important;
  padding: 1px !important;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.28) 0%,
    rgba(255, 255, 255, 0.06) 42%,
    rgba(255, 255, 255, 0.02) 72%,
    rgba(255, 255, 255, 0.18) 100%
  ) !important;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none !important;
  z-index: 4 !important;
  opacity: 0.32;
  transition: opacity var(--tml-float-duration, 0.58s) var(--tml-float-ease, cubic-bezier(0.16, 1, 0.3, 1)) !important;
}

/* 5. Estado Activo (Al pasar el ratón, enfocar o tocar en móvil/tableta): Flotar + Salir el Brillo Suave */
.tml-fade-card:hover,
.tml-fade-card:focus-visible,
.tml-fade-card.is-tml-floating,
.tml-glow-card:hover,
.tml-glow-card.is-tml-floating,
.ecc-reel-launch-card:hover,
.ecc-reel-launch-card.is-tml-floating,
.ecc-step-box:hover,
.ecc-step-box.is-tml-floating,
.prize-finalist-card:hover,
.prize-finalist-card.is-tml-floating,
.wide-session-card:hover,
.wide-session-card.is-tml-floating,
.song-card:hover,
.song-card.is-tml-floating,
.media-card:hover,
.media-card.is-tml-floating,
.blog-card:hover,
.blog-card.is-tml-floating,
.cajetin-miembro:hover,
.cajetin-miembro.is-tml-floating,
.mod600-card:hover,
.mod600-card.is-tml-floating,
.ecc-hero-launch-video-card:hover,
.ecc-hero-launch-video-card.is-tml-floating,
.ecc-tml-feature-col:hover,
.ecc-tml-feature-col.is-tml-floating,
.urn-slot-item:hover,
.urn-slot-item.is-tml-floating {
  transform: translate3d(0, -7px, 0) scale(1.012) !important;
  border-color: var(--tml-card-border-hover) !important;
  box-shadow: var(--tml-shadow-float) !important;
}

.tml-fade-card:hover::after,
.tml-fade-card.is-tml-floating::after,
.tml-glow-card:hover::after,
.tml-glow-card.is-tml-floating::after,
.ecc-reel-launch-card:hover::after,
.ecc-reel-launch-card.is-tml-floating::after,
.ecc-step-box:hover::after,
.ecc-step-box.is-tml-floating::after,
.prize-finalist-card:hover::after,
.prize-finalist-card.is-tml-floating::after,
.wide-session-card:hover::after,
.wide-session-card.is-tml-floating::after,
.media-card:hover::after,
.media-card.is-tml-floating::after,
.blog-card:hover::after,
.blog-card.is-tml-floating::after,
.cajetin-miembro:hover::after,
.cajetin-miembro.is-tml-floating::after,
.mod600-card:hover::after,
.mod600-card.is-tml-floating::after,
.ecc-tml-feature-col:hover::after,
.ecc-tml-feature-col.is-tml-floating::after {
  opacity: 1 !important;
}

.tml-fade-card:hover::before,
.tml-fade-card.is-tml-floating::before,
.tml-glow-card:hover::before,
.tml-glow-card.is-tml-floating::before,
.ecc-reel-launch-card:hover::before,
.ecc-reel-launch-card.is-tml-floating::before,
.ecc-step-box:hover::before,
.ecc-step-box.is-tml-floating::before,
.prize-finalist-card:hover::before,
.prize-finalist-card.is-tml-floating::before,
.wide-session-card:hover::before,
.wide-session-card.is-tml-floating::before,
.media-card:hover::before,
.media-card.is-tml-floating::before,
.blog-card:hover::before,
.blog-card.is-tml-floating::before,
.cajetin-miembro:hover::before,
.cajetin-miembro.is-tml-floating::before,
.mod600-card:hover::before,
.mod600-card.is-tml-floating::before,
.ecc-tml-feature-col:hover::before,
.ecc-tml-feature-col.is-tml-floating::before {
  opacity: 1 !important;
}

/* 6. Realce luminoso suave de las imágenes dentro de las tarjetas al flotar (sin transition:transform ni transform !important para no pelear con el motor 60fps Apple Spatial) */
.tml-fade-card img,
.tml-fade-card video,
.wide-session-card img,
.prize-finalist-card img,
.media-card img,
.blog-card img,
.ecc-tml-feature-col img {
  transition: filter 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease !important;
}

.tml-fade-card:hover img,
.tml-fade-card.is-tml-floating img,
.wide-session-card:hover .wide-photo-header img,
.wide-session-card.is-tml-floating .wide-photo-header img,
.prize-finalist-card:hover img,
.prize-finalist-card.is-tml-floating img,
.media-card:hover img,
.media-card.is-tml-floating img,
.blog-card:hover img,
.blog-card.is-tml-floating img,
.ecc-tml-feature-col:hover img {
  filter: brightness(1.04) contrast(1.02) !important;
}

/* 7. Fundido Continuo entre Fotografía Superior y Cuerpo de Tarjeta (Diseño Editorial 600M Fade) */
html[data-apple-theme="classic-antes"] .tml-fade-card-media::after,
html[data-apple-theme="classic-antes"] .wide-photo-header::after,
html[data-apple-theme="classic-antes"] .media-card-thumb::after,
html[data-apple-theme="classic-antes"] .blog-card-thumb::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 30%;
  background: linear-gradient(
    180deg,
    rgba(30, 32, 40, 0) 0%,
    rgba(30, 32, 40, 0.42) 60%,
    rgba(30, 32, 40, 0.88) 100%
  ) !important;
  pointer-events: none;
  z-index: 1;
}

html[data-apple-theme="apple-light"] .tml-fade-card-media::after,
html[data-apple-theme="apple-light"] .wide-photo-header::after,
html[data-apple-theme="apple-light"] .media-card-thumb::after,
html[data-apple-theme="apple-light"] .blog-card-thumb::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 50%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.45) 48%,
    #FFFFFF 100%
  ) !important;
  pointer-events: none;
  z-index: 1;
}

/* 8. Imágenes independientes (fuera de tarjetas) también con puntas redondeadas de 18px, flotación y brillo suave */
img.tml-standalone-img {
  border-radius: 18px !important;
  box-shadow: var(--tml-shadow-rest) !important;
  transition:
    transform var(--tml-float-duration, 0.58s) var(--tml-float-ease, cubic-bezier(0.16, 1, 0.3, 1)),
    box-shadow var(--tml-float-duration, 0.58s) var(--tml-float-ease, cubic-bezier(0.16, 1, 0.3, 1)),
    filter 0.5s ease !important;
}

img.tml-standalone-img:hover,
img.tml-standalone-img.is-tml-floating {
  transform: translate3d(0, -6px, 0) scale(1.015) !important;
  box-shadow: var(--tml-shadow-float) !important;
  filter: brightness(1.04) !important;
}


/* ============================================================================
   HITO 64 — UNIFICACIÓN DE LAS 6 SUBPÁGINAS AL ESTILO DE LA PORTADA PRINCIPAL:
   - Cero raya amarilla bajo el hero y cero cajas con borde dorado en cabeceras
   - Barras de filtros limpias sin caja exterior ni píldoras amarillas
   - Botones monocromos elegantes (blanco sobre negro / cristal ahumado 1px)
   - Tarjetas (.blog-card, .media-card, .cajetin-miembro) con imagen superior a
     sangre, puntas redondeadas 18px, fundido continuo sin corte recto y halo suave
   ============================================================================ */

/* Blindaje monocromo para el botón flotante Subir (#eccFloatingScrollTopBtn) */
#eccFloatingScrollTopBtn {
  background: rgba(10, 11, 14, 0.88) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 999px !important;
  padding: 9px 16px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65) !important;
  backdrop-filter: blur(16px) !important;
}

/* 1. HERO DE LAS 6 SUBPÁGINAS: Cero raya amarilla inferior y cero caja dorada interior */
.subpage-hero,
.hero-quienes,
.hero-bases,
.hero-faq,
.hero-contacto {
  position: relative !important;
  background: radial-gradient(ellipse 80% 90% at 50% 0%, rgba(22, 26, 38, 0.72) 0%, #06070A 86%) !important;
  border-bottom: none !important;
  padding: 64px 32px 40px !important;
  overflow: hidden !important;
}

html[data-apple-theme="apple-light"] .subpage-hero,
html[data-apple-theme="apple-light"] .hero-quienes,
html[data-apple-theme="apple-light"] .hero-bases,
html[data-apple-theme="apple-light"] .hero-faq,
html[data-apple-theme="apple-light"] .hero-contacto {
  background: radial-gradient(ellipse 80% 90% at 50% 0%, #121722 0%, #0A0C12 100%) !important;
  border-bottom: none !important;
}

.subpage-hero-inner,
.hero-quienes-inner,
.hero-quienes-inner > div:first-child,
.hero-bases-inner,
.hero-faq-inner,
.hero-contacto-inner,
.hero-contacto-inner > div:first-child {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
}

.subpage-hero span[style*="rgba(212,175,55"],
.hero-quienes span[style*="rgba(212,175,55"],
.hero-bases span[style*="rgba(212,175,55"],
.hero-faq span[style*="rgba(212,175,55"],
.hero-contacto span[style*="rgba(212,175,55"],
.subpage-kicker-clean {
  display: inline-block !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-bottom: 10px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.58) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.58) !important;
}

.subpage-hero h1,
.hero-quienes h1,
.hero-bases h1,
.hero-faq h1,
.hero-contacto h1 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: clamp(28px, 3.2vw, 42px) !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.22 !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  margin-bottom: 14px !important;
  text-transform: none !important;
}

.subpage-hero p,
.hero-quienes p,
.hero-bases p,
.hero-faq p,
.hero-contacto p {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 15.5px !important;
  line-height: 1.72 !important;
  color: rgba(255, 255, 255, 0.76) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.76) !important;
}

/* 2. BOTONES MONOCROMOS ELEGANTES EN SUBPÁGINAS (Cero amarillo/azul chillón) */
.btn-gold-pill,
html[data-apple-theme="classic-antes"] .btn-gold-pill,
html[data-apple-theme="apple-light"] .btn-gold-pill,
.mod600-btn-oro {
  background: var(--ecc-light-card, #F7F5F0) !important;
  color: #06070A !important;
  -webkit-text-fill-color: #06070A !important;
  border: 1px solid #FFFFFF !important;
  border-radius: 999px !important;
  padding: 11px 22px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}
.btn-gold-pill:hover,
.mod600-btn-oro:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.28) !important;
}

.btn-primary-pill,
html[data-apple-theme="classic-antes"] .btn-primary-pill,
html[data-apple-theme="apple-light"] .btn-primary-pill,
.mod600-btn-elegante,
.quick-jump-pills a,
.quick-jump-pills button {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 999px !important;
  padding: 10px 20px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  box-shadow: none !important;
  backdrop-filter: blur(12px) !important;
  transition: all 0.25s ease !important;
}
.btn-primary-pill:hover,
.mod600-btn-elegante:hover,
.quick-jump-pills a:hover,
.quick-jump-pills button:hover {
  background: var(--ecc-light-card, #F7F5F0) !important;
  color: #06070A !important;
  -webkit-text-fill-color: #06070A !important;
  border-color: #FFFFFF !important;
}

html[data-apple-theme="apple-light"] main .btn-primary-pill,
html[data-apple-theme="apple-light"] main .mod600-btn-elegante {
  background: rgba(15, 23, 42, 0.05) !important;
  color: #0F172A !important;
  -webkit-text-fill-color: #0F172A !important;
  border: 1px solid rgba(15, 23, 42, 0.18) !important;
}
html[data-apple-theme="apple-light"] main .btn-primary-pill:hover,
html[data-apple-theme="apple-light"] main .mod600-btn-elegante:hover {
  background: #0F172A !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  border-color: #0F172A !important;
}

/* 3. BARRAS DE FILTROS ABIERTAS SIN CAJA EXTERIOR NI PÍLDORAS AMARILLAS */
.filter-pills-bar,
.toolbar-faq,
html[data-apple-theme="classic-antes"] .filter-pills-bar,
html[data-apple-theme="classic-antes"] .toolbar-faq,
html[data-apple-theme="apple-light"] .filter-pills-bar,
html[data-apple-theme="apple-light"] .toolbar-faq {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 0 20px 0 !important;
  margin-bottom: 32px !important;
}
html[data-apple-theme="apple-light"] .filter-pills-bar,
html[data-apple-theme="apple-light"] .toolbar-faq {
  border-bottom-color: rgba(15, 23, 42, 0.10) !important;
}

.filter-pill-btn,
.btn-faq-tool,
html[data-apple-theme="classic-antes"] .filter-pill-btn,
html[data-apple-theme="classic-antes"] .btn-faq-tool {
  background: rgba(255, 255, 255, 0.04) !important;
  color: rgba(255, 255, 255, 0.72) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 999px !important;
  padding: 8px 16px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  transition: all 0.22s ease !important;
}
.filter-pill-btn.active,
.filter-pill-btn:hover,
.btn-faq-tool:hover,
html[data-apple-theme="classic-antes"] .filter-pill-btn.active,
html[data-apple-theme="classic-antes"] .filter-pill-btn:hover,
html[data-apple-theme="classic-antes"] .btn-faq-tool:hover {
  background: var(--ecc-light-card, #F7F5F0) !important;
  color: #06070A !important;
  -webkit-text-fill-color: #06070A !important;
  border-color: #FFFFFF !important;
  font-weight: 600 !important;
}

html[data-apple-theme="apple-light"] .filter-pill-btn,
html[data-apple-theme="apple-light"] .btn-faq-tool {
  background: rgba(15, 23, 42, 0.04) !important;
  color: #334155 !important;
  -webkit-text-fill-color: #334155 !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
}
html[data-apple-theme="apple-light"] .filter-pill-btn.active,
html[data-apple-theme="apple-light"] .filter-pill-btn:hover,
html[data-apple-theme="apple-light"] .btn-faq-tool:hover {
  background: #0F172A !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  border-color: #0F172A !important;
}

.filter-pills-bar input,
.toolbar-faq input,
html[data-apple-theme="classic-antes"] .filter-pills-bar input,
html[data-apple-theme="classic-antes"] .toolbar-faq input {
  background: rgba(255, 255, 255, 0.04) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 999px !important;
  padding: 9px 16px !important;
  font-size: 12.5px !important;
}
html[data-apple-theme="apple-light"] .filter-pills-bar input,
html[data-apple-theme="apple-light"] .toolbar-faq input {
  background: var(--ecc-light-card, #F7F5F0) !important;
  color: #0F172A !important;
  border: 1px solid rgba(15, 23, 42, 0.15) !important;
}

/* 4. TARJETAS DE SUBPÁGINAS (.blog-card, .media-card) CON IMAGEN A SANGRE, PUNTAS 18px Y FUNDIDO CONTINUO */
html[data-apple-theme="classic-antes"] .blog-card,
html[data-apple-theme="classic-antes"] .media-card,
html[data-apple-theme="apple-light"] .blog-card,
html[data-apple-theme="apple-light"] .media-card {
  padding: 0 !important;
  border-radius: 18px !important;
  background-color: var(--tml-card-bg) !important;
  border: 1px solid var(--tml-card-border-rest) !important;
  box-shadow: var(--tml-shadow-rest) !important;
  overflow: hidden !important;
}

.blog-card-img {
  width: 100% !important;
  height: 225px !important;
  object-fit: cover !important;
  display: block !important;
  border: none !important;
  border-bottom: none !important;
  border-radius: 18px 18px 0 0 !important;
}

.blog-card .apple-photo-window,
.media-card .apple-photo-window,
.blog-card-thumb,
.media-card-thumb {
  position: relative !important;
  width: 100% !important;
  border-radius: 18px 18px 0 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  border: none !important;
  overflow: hidden !important;
}

html[data-apple-theme="classic-antes"] .blog-card .apple-photo-window::after,
html[data-apple-theme="classic-antes"] .media-card .apple-photo-window::after,
html[data-apple-theme="classic-antes"] .blog-card-thumb::after,
html[data-apple-theme="classic-antes"] .media-card-thumb::after {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: -1px !important;
  height: 28% !important;
  background: linear-gradient(
    180deg,
    rgba(30, 32, 40, 0) 0%,
    rgba(30, 32, 40, 0.42) 60%,
    rgba(30, 32, 40, 0.86) 100%
  ) !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

html[data-apple-theme="apple-light"] .blog-card .apple-photo-window::after,
html[data-apple-theme="apple-light"] .media-card .apple-photo-window::after,
html[data-apple-theme="apple-light"] .blog-card-thumb::after,
html[data-apple-theme="apple-light"] .media-card-thumb::after {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: -1px !important;
  height: 54% !important;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.48) 48%,
    #FFFFFF 100%
  ) !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

.blog-card-body,
.media-card-body,
html[data-apple-theme="classic-antes"] .blog-card-body,
html[data-apple-theme="classic-antes"] .media-card-body,
html[data-apple-theme="apple-light"] .blog-card-body,
html[data-apple-theme="apple-light"] .media-card-body {
  padding: 20px 26px 18px !important;
  background: transparent !important;
}

.blog-card-footer,
.media-card-footer,
html[data-apple-theme="classic-antes"] .blog-card-footer,
html[data-apple-theme="classic-antes"] .media-card-footer,
html[data-apple-theme="apple-light"] .blog-card-footer,
html[data-apple-theme="apple-light"] .media-card-footer {
  padding: 14px 26px 24px !important;
  background: transparent !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}
html[data-apple-theme="apple-light"] .blog-card-footer,
html[data-apple-theme="apple-light"] .media-card-footer {
  border-top-color: rgba(15, 23, 42, 0.06) !important;
}

html[data-apple-theme="classic-antes"] .blog-card h3,
html[data-apple-theme="classic-antes"] .media-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 18.5px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.015em !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  text-transform: none !important;
}

html[data-apple-theme="classic-antes"] .blog-card p,
html[data-apple-theme="classic-antes"] .media-card p {
  font-size: 14px !important;
  line-height: 1.68 !important;
  color: rgba(255, 255, 255, 0.72) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.72) !important;
}

html[data-apple-theme="classic-antes"] .subscribe-banner-box,
html[data-apple-theme="classic-antes"] .card-quienes,
html[data-apple-theme="classic-antes"] .card-blanca,
html[data-apple-theme="classic-antes"] .card-plano {
  background: var(--ecc-dark-card, #1C1D22) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  box-shadow: var(--tml-shadow-rest) !important;
}
html[data-apple-theme="apple-light"] .subscribe-banner-box,
html[data-apple-theme="apple-light"] .card-quienes,
html[data-apple-theme="apple-light"] .card-blanca,
html[data-apple-theme="apple-light"] .card-plano {
  background: var(--ecc-light-card, #F7F5F0) !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 18px !important;
  box-shadow: var(--tml-shadow-rest) !important;
}


/* ============================================================================
   HITO 65 — TIPOGRAFÍA ÚNICA «PLUS JAKARTA SANS» EN TODA LA WEB (CAPTURA 1):
   Erradicación 100 % de fuentes con serifa antiguas (Newsreader, Cinzel,
   Playfair Display, Georgia) en todos los títulos, subtítulos, citas y tarjetas.
   ============================================================================ */

body,
h1, h2, h3, h4, h5, h6,
p, span, a, button, input, select, textarea, label, li, blockquote,
.hero-fb-title,
.hero-fb-quote,
.fb-brand-title,
.tml-editorial-h2,
.tml-fade-card-title,
.prize-amount-big,
.prize-title-clean,
.strip-inner-box h2,
.section-head-clean h2,
.wide-card-title,
.wide-card-quote,
.mod600-title,
.mod600-subtitle,
.subpage-hero h1,
.hero-quienes h1,
.hero-bases h1,
.hero-faq h1,
.hero-contacto h1,
.blog-card h3,
.media-card h3,
.cajetin-miembro h3,
.cajetin-miembro h4 {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Inter', system-ui, sans-serif !important;
  font-style: normal !important;
}

/* Proporción exacta de los grandes titulares de sección como en la Captura 1 ("Premios Oficiales y Diplomas de Honor (Cap. X)") */
.tml-editorial-h2,
.strip-inner-box h2,
.section-head-clean h2,
.mod600-title,
.subpage-hero h1,
.hero-quienes h1,
.hero-bases h1,
.hero-faq h1,
.hero-contacto h1 {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Inter', sans-serif !important;
  font-size: clamp(26px, 3vw, 38px) !important;
  font-weight: 700 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.18 !important;
  text-transform: none !important;
}

/* Eliminar cualquier raya amarilla inferior en cabeceras antiguas (.section-head-clean) */
.section-head-clean {
  border-bottom: none !important;
  padding-bottom: 18px !important;
}

/* Asegurar que las tarjetas de vídeo (.wide-session-card.tml-fade-card) tengan padding: 0 para que el vídeo llegue hasta el borde redondeado superior de 18px como en la Captura 1 */
.wide-session-card.tml-fade-card,
html[data-apple-theme="classic-antes"] .wide-session-card.tml-fade-card,
html[data-apple-theme="apple-light"] .wide-session-card.tml-fade-card {
  padding: 0 !important;
}

.wide-session-card.tml-fade-card .tml-fade-card-body {
  padding: 18px 24px 24px !important;
}


/* ============================================================================
   HITO 66 — DESAHOGO TOTAL DE TEXTOS Y MÁRGENES EN TODAS LAS PÁGINAS:
   - Erradicación del letter-spacing negativo que apelotonaba las palabras
   - Restauración de padding amplio interior en todas las cajas y tarjetas
     (.card-quienes, .card-blanca, .card-plano, .cajetin-miembro, .tml-fade-card-body,
     .blog-card-body, .media-card-body, .mod600-card, .faq-item, .cap-item)
     para que ningún texto vuelva a verse pegado al borde del recuadro.
   ============================================================================ */

/* 1. Espaciado natural y aireado entre letras y palabras en toda la web */
h1, h2, h3, h4, h5, h6,
.hero-fb-title,
.tml-editorial-h2,
.mod600-title,
.prize-amount-big,
.prize-title-clean,
.strip-inner-box h2,
.section-head-clean h2,
.subpage-hero h1,
.hero-quienes h1,
.hero-bases h1,
.hero-faq h1,
.hero-contacto h1,
.blog-card h3,
.media-card h3,
.tml-fade-card-title,
.wide-card-title {
  letter-spacing: 0.002em !important;
  word-spacing: 0.035em !important;
  line-height: 1.32 !important;
  text-transform: none !important;
}

p, li, blockquote,
.tml-editorial-lead,
.tml-fade-card-desc,
.mod600-sub,
.faq-a {
  letter-spacing: 0.012em !important;
  word-spacing: 0.028em !important;
  line-height: 1.74 !important;
}

/* 2. Contenedores principales de subpáginas con márgenes laterales amplios */
.main-wrap,
.subpage-container,
.container-quienes,
.container-bases,
.container-faq,
.container-contacto,
.mod600-wrap {
  max-width: 1340px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: clamp(24px, 4vw, 56px) !important;
  padding-right: clamp(24px, 4vw, 56px) !important;
  box-sizing: border-box !important;
}

/* 3. Cajas de sección en subpáginas (.card-quienes, .card-blanca, .card-plano, .subscribe-banner-box):
      Corregir el antiguo padding: 44px 0 !important que pegaba el texto a los bordes izquierdo y derecho */
.card-quienes,
.card-blanca,
.card-plano,
.subscribe-banner-box,
html[data-apple-theme="classic-antes"] .card-quienes,
html[data-apple-theme="classic-antes"] .card-blanca,
html[data-apple-theme="classic-antes"] .card-plano,
html[data-apple-theme="classic-antes"] .subscribe-banner-box,
html[data-apple-theme="apple-light"] .card-quienes,
html[data-apple-theme="apple-light"] .card-blanca,
html[data-apple-theme="apple-light"] .card-plano,
html[data-apple-theme="apple-light"] .subscribe-banner-box {
  padding: clamp(32px, 3.6vw, 48px) clamp(30px, 3.8vw, 52px) !important;
  border-radius: 20px !important;
  box-sizing: border-box !important;
  margin-bottom: 32px !important;
}

/* 4. Tarjetas de miembros, jurados y módulos (.cajetin-miembro, .mod600-card) */
.cajetin-miembro,
.mod600-card,
html[data-apple-theme="classic-antes"] .cajetin-miembro,
html[data-apple-theme="classic-antes"] .mod600-card,
html[data-apple-theme="apple-light"] .cajetin-miembro,
html[data-apple-theme="apple-light"] .mod600-card {
  padding: 28px 30px !important;
  border-radius: 18px !important;
  box-sizing: border-box !important;
}

/* 5. Tarjetas con imagen superior a sangre (.tml-fade-card, .blog-card, .media-card, .wide-session-card):
      La tarjeta tiene padding: 0 para que la imagen toque el borde superior redondeado,
      pero su cuerpo interior (.tml-fade-card-body, .blog-card-body, .media-card-body, .wide-card-body)
      lleva un margen interior holgado de 26px a 30px para que el texto jamás se acerque al borde */
.tml-fade-card-body,
.wide-card-body,
.wide-session-card.tml-fade-card .tml-fade-card-body,
.blog-card-body,
.media-card-body,
html[data-apple-theme="classic-antes"] .blog-card-body,
html[data-apple-theme="classic-antes"] .media-card-body,
html[data-apple-theme="apple-light"] .blog-card-body,
html[data-apple-theme="apple-light"] .media-card-body {
  padding: 24px 28px 26px !important;
  box-sizing: border-box !important;
}

.blog-card-footer,
.media-card-footer,
.wide-card-footer,
html[data-apple-theme="classic-antes"] .blog-card-footer,
html[data-apple-theme="classic-antes"] .media-card-footer,
html[data-apple-theme="apple-light"] .blog-card-footer,
html[data-apple-theme="apple-light"] .media-card-footer {
  padding: 16px 28px 26px !important;
  box-sizing: border-box !important;
}

/* 6. Tarjetas de los 5 premios finalistas (.prize-finalist-card) y pasos (.ecc-step-box):
      Como no llevan foto superior a sangre, el propio contenedor o su cuerpo lleva padding amplio */
.prize-finalist-card,
html[data-apple-theme="classic-antes"] .prize-finalist-card,
html[data-apple-theme="apple-light"] .prize-finalist-card {
  padding: 30px 28px !important;
  box-sizing: border-box !important;
}

.prize-finalist-card .tml-fade-card-body {
  padding: 6px 4px 4px !important;
}

.ecc-step-box.tml-fade-card .tml-fade-card-body {
  padding: 28px 30px !important;
}

/* 7. Desplegables de Preguntas Frecuentes y Capítulos de Bases (.faq-item, .cap-item, .mod600-acordeon-item) */
.mod600-acordeon-head,
.faq-head,
.cap-head {
  padding: 20px 28px !important;
  letter-spacing: 0.008em !important;
  word-spacing: 0.03em !important;
  line-height: 1.42 !important;
}

.mod600-acordeon-body,
.faq-body,
.cap-body {
  padding: 24px 30px 28px !important;
  letter-spacing: 0.012em !important;
  word-spacing: 0.028em !important;
  line-height: 1.74 !important;
}

/* === HITO 67 START: ESTUDIO TECNICO GRIS GRAFITO 600M === */
:root {
  --ecc-studio-slate-canvas: #1E1F22;
  --ecc-studio-slate-canvas-alt: #222326;
  --ecc-studio-slate-panel: #26282C;
  --ecc-studio-slate-panel-elevated: #282A2E;
  --ecc-studio-slate-card: #2E3035;
  --ecc-studio-slate-card-hover: #35373C;
  --ecc-studio-slate-control: #363940;
  --ecc-studio-slate-control-hover: #42464F;
  --ecc-studio-slate-border: rgba(255, 255, 255, 0.08);
  --ecc-studio-slate-border-strong: rgba(255, 255, 255, 0.16);
  --ecc-studio-slate-text-primary: #F2F2F4;
  --ecc-studio-slate-text-secondary: #B8BBC2;
  --ecc-studio-slate-text-muted: #8A8E96;
}

/* Unificación visual en Gris Grafito Técnico de toda la barra interna,
   paneles de control de fases, estudio de ticks, urnas y deliberación */
#ecc-master-AdminBar,
#eccAdminQuickTicksBar,
.ecc-viva-control-dock,
#eccEstudioPrivadoModalRoot,
#eccModalAuth2FARoot,
#eccModalAdminUrnasRoot,
#eccSecAuditModal,
#mod600-coordinacion,
#mod600-automatismos {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Inter', sans-serif !important;
  font-variant-numeric: tabular-nums !important;
  -webkit-font-smoothing: antialiased !important;
}

/* Evitar barras duplicadas en portada cuando el Administrador está dentro:
   las fases ya se controlan desde el Centro de Mando (hombrecito) y desde el
   Estudio Técnico, dejando una sola barra rápida limpia */
body.ecc-staff-bar-open #eccVivaSelectorMontajesBar {
  display: none !important;
}

#mod600-coordinacion.mod600-panel,
#mod600-automatismos.mod600-panel {
  background: #26282C !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-radius: 16px !important;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.38) !important;
  color: #F2F2F4 !important;
}

#mod600-coordinacion .mod600-card,
#mod600-automatismos .mod600-card {
  background: #2E3035 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  color: #F2F2F4 !important;
}

#mod600-coordinacion h3,
#mod600-coordinacion h4,
#mod600-automatismos h3,
#mod600-automatismos h4 {
  color: #F2F2F4 !important;
}

#mod600-coordinacion .mod600-kicker,
#mod600-automatismos .mod600-kicker,
#mod600-coordinacion label,
#mod600-automatismos label {
  color: #B8BBC2 !important;
}

#mod600-coordinacion .mod600-input,
#mod600-coordinacion .mod600-select,
#mod600-automatismos .mod600-input,
#mod600-automatismos .mod600-select {
  background: #1E1F22 !important;
  color: #F2F2F4 !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 8px !important;
}

#mod600-coordinacion .mod600-btn-oro,
#mod600-automatismos .mod600-btn-oro {
  background: #ECEEEF !important;
  color: #18191C !important;
  -webkit-text-fill-color: #18191C !important;
  border: 1px solid #FFFFFF !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

#mod600-coordinacion .mod600-btn-elegante,
#mod600-automatismos .mod600-btn-elegante {
  background: #363940 !important;
  color: #F2F2F4 !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 8px !important;
}
/* === HITO 67 END === */

/* ============================================================================
   HITO 68 — ICONOGRAFÍA VECTORIAL MONOCROMA Y BOTONES MINIMALISTAS
   (Estética limpia estilo Capturas 2 y 3: Cero colorines, bordes suaves 6px,
   iconos monocromos en currentColor que crecen suavemente en :hover)
   ============================================================================ */

/* 1. Iconos vectoriales 100 % monocromos (sin azules, rojos ni amarillos) con escala suave en :hover */
.sf-icon-badge,
.ecc-mono-icon,
.sf-live-dot,
html[data-apple-theme="classic-antes"] .sf-icon-badge,
html[data-apple-theme="apple-light"] .sf-icon-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 17px !important;
  height: 17px !important;
  margin-right: 6px !important;
  vertical-align: -3px !important;
  color: currentColor !important;
  -webkit-text-fill-color: currentColor !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  opacity: 0.88;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease !important;
}

.sf-icon-badge svg,
.ecc-mono-icon svg,
.sf-svg-icon {
  width: 15.5px !important;
  height: 15.5px !important;
  stroke: currentColor !important;
  stroke-width: 1.6 !important;
  fill: none !important;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), stroke-width 0.2s ease !important;
}

/* Al pasar por encima del botón, pestaña, enlace o icono, la forma crece suavemente sin cambiar a colores */
a:hover .sf-icon-badge,
button:hover .sf-icon-badge,
a:hover .ecc-mono-icon,
button:hover .ecc-mono-icon,
.ecc-hero-vid-tab:hover .sf-icon-badge,
.ecc-hero-vid-tab:hover .ecc-mono-icon,
.tml-fade-card:hover .sf-icon-badge,
.media-card:hover .sf-icon-badge,
.sf-icon-badge:hover,
.ecc-mono-icon:hover {
  transform: scale(1.22) !important;
  opacity: 1 !important;
  color: currentColor !important;
}

/* 2. Botones Minimalistas Rectangulares con Esquinas Suaves (6px) — Cero Píldoras Amarillas/Azules */
/* Botón Primario Plata / Blanco Mate (como "Listen now" en Captura 2) */
.btn-fb-gold,
.btn-gold-pill,
.mod600-btn-oro,
.fb-cta-inscribir,
html[data-apple-theme="classic-antes"] .btn-fb-gold,
html[data-apple-theme="classic-antes"] .btn-gold-pill,
html[data-apple-theme="classic-antes"] .mod600-btn-oro,
html[data-apple-theme="classic-antes"] .fb-cta-inscribir {
  border-radius: 6px !important;
  background: #D8DADF !important;
  color: #0A0B0E !important;
  -webkit-text-fill-color: #0A0B0E !important;
  border: 1px solid #E5E7EB !important;
  padding: 11px 20px !important;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.24) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
}

.btn-fb-gold:hover,
.btn-gold-pill:hover,
.mod600-btn-oro:hover,
.fb-cta-inscribir:hover,
html[data-apple-theme="classic-antes"] .btn-fb-gold:hover,
html[data-apple-theme="classic-antes"] .btn-gold-pill:hover,
html[data-apple-theme="classic-antes"] .mod600-btn-oro:hover,
html[data-apple-theme="classic-antes"] .fb-cta-inscribir:hover {
  background: var(--ecc-light-card, #F7F5F0) !important;
  color: #06070A !important;
  -webkit-text-fill-color: #06070A !important;
  border-color: #FFFFFF !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35) !important;
}

/* Botón Secundario Gris Carbón Translúcido (como "Order CD" / "Order Vinyl" en Captura 2) */
.btn-fb-white,
.btn-fb-glass,
.btn-primary-pill,
.mod600-btn-elegante,
.quick-jump-pills a,
.quick-jump-pills button,
.wide-play-overlay-btn,
html[data-apple-theme="classic-antes"] .btn-fb-white,
html[data-apple-theme="classic-antes"] .btn-fb-glass,
html[data-apple-theme="classic-antes"] .btn-primary-pill,
html[data-apple-theme="classic-antes"] .mod600-btn-elegante {
  border-radius: 6px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #F2F2F4 !important;
  -webkit-text-fill-color: #F2F2F4 !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  padding: 11px 19px !important;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease !important;
}

.btn-fb-white:hover,
.btn-fb-glass:hover,
.btn-primary-pill:hover,
.mod600-btn-elegante:hover,
.quick-jump-pills a:hover,
.quick-jump-pills button:hover,
.wide-play-overlay-btn:hover,
html[data-apple-theme="classic-antes"] .btn-fb-white:hover,
html[data-apple-theme="classic-antes"] .btn-fb-glass:hover,
html[data-apple-theme="classic-antes"] .btn-primary-pill:hover,
html[data-apple-theme="classic-antes"] .mod600-btn-elegante:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  transform: translateY(-1px) !important;
}

/* Adaptación en Web Diurna (Clara) para botones secundarios fuera del Hero */
html[data-apple-theme="apple-light"] .subpage-container .btn-primary-pill,
html[data-apple-theme="apple-light"] .subpage-container .btn-gold-pill,
html[data-apple-theme="apple-light"] .main-wrap .btn-primary-pill {
  background: #14161B !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  border: 1px solid #14161B !important;
}
html[data-apple-theme="apple-light"] .subpage-container .btn-primary-pill:hover,
html[data-apple-theme="apple-light"] .subpage-container .btn-gold-pill:hover {
  background: #272B35 !important;
  border-color: #272B35 !important;
}

/* Botones de contorno fino (como "Accept" / "Use necessary cookies only" en Capturas 2 y 3) */
.tml-minimal-btn,
.filter-pill-btn,
.nation-flag-pill {
  border-radius: 5px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  padding: 9px 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

/* Pestañas del reproductor del Hero (1. Manifiesto, 2. Naciones, 3. Himno) */
.ecc-hero-vid-tab {
  border-radius: 6px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: rgba(255, 255, 255, 0.80) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.80) !important;
  padding: 10px 12px !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
}
.ecc-hero-vid-tab.activo,
.ecc-hero-vid-tab:hover {
  background: #D8DADF !important;
  color: #0A0B0E !important;
  -webkit-text-fill-color: #0A0B0E !important;
  border-color: #E5E7EB !important;
  font-weight: 600 !important;
}

/* Eliminar amarillos chillones (#FDE68A / #B45309) en kickers, cabeceras de vídeo y pies de tarjeta */
.hero-fb-kicker,
.hero-fb-selector-title,
.media-card-footer span,
.media-card-body div[style*="#B45309"],
.media-card-body span[style*="#0071E3"] {
  color: rgba(255, 255, 255, 0.72) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.72) !important;
}
html[data-apple-theme="apple-light"] .media-card-footer span,
html[data-apple-theme="apple-light"] .media-card-body div[style*="#B45309"],
html[data-apple-theme="apple-light"] .media-card-body span[style*="#0071E3"] {
  color: #4B5563 !important;
  -webkit-text-fill-color: #4B5563 !important;
}

/* === HITO 71 START: PIE UNIFICADO CON EMBLEMA 600M + 13 REDES SOCIALES EN TODAS LAS PÁGINAS === */
#mod600-redes.mod600-panel,
html[data-apple-theme="apple-light"] #mod600-redes.mod600-panel,
html[data-apple-theme="classic-antes"] #mod600-redes.mod600-panel {
  display: block !important;
  background: var(--ecc-dark-card, #1C1D22) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 24px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55) !important;
  padding: 56px 32px 44px !important;
  margin-top: 36px !important;
  margin-bottom: 24px !important;
  text-align: center !important;
}

#mod600-nosotros-institucional.mod600-panel,
html[data-apple-theme="apple-light"] #mod600-nosotros-institucional.mod600-panel,
html[data-apple-theme="classic-antes"] #mod600-nosotros-institucional.mod600-panel {
  display: block !important;
  background: var(--ecc-dark-card, #1C1D22) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 24px !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65) !important;
  padding: 36px 56px 52px !important;
  margin-top: 0 !important;
}

@media (max-width: 768px) {
  #mod600-redes.mod600-panel,
  html[data-apple-theme="apple-light"] #mod600-redes.mod600-panel,
  html[data-apple-theme="classic-antes"] #mod600-redes.mod600-panel {
    padding: 40px 20px 32px !important;
  }
  #mod600-nosotros-institucional.mod600-panel,
  html[data-apple-theme="apple-light"] #mod600-nosotros-institucional.mod600-panel,
  html[data-apple-theme="classic-antes"] #mod600-nosotros-institucional.mod600-panel {
    padding: 28px 22px 38px !important;
  }
}

@media print {
  #moduloIntegral600M {
    display: none !important;
  }
}
/* === HITO 71 END === */


/* === HITO 79: NIVELACIÓN SIMÉTRICA DE CONTENEDORES, BARRA 48PX Y MÁRGENES LATERALES FASE 5 === */
body.ecc-staff-bar-open header.fullbleed-nav,
body.ecc-staff-bar-open header.subpage-top-nav {
  top: 48px !important;
}

.hero-metrics-ribbon {
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 22px 36px !important;
}

.hero-metrics-inner {
  max-width: 1380px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 20px !important;
  align-items: center !important;
  text-align: center !important;
}

.trophies-showcase-section,
#eccBloqueVivoFase1Lanzamiento,
#eccBloqueVivoFase5GalaFinal,
.main-wrap {
  max-width: 1380px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: clamp(24px, 3.5vw, 44px) !important;
  padding-right: clamp(24px, 3.5vw, 44px) !important;
  box-sizing: border-box !important;
}

#eccBloqueVivoFase5GalaFinal .ecc-launch-bento-panel {
  padding: 44px 48px !important;
  border-radius: 24px !important;
  box-sizing: border-box !important;
}


/* ============================================================================
   HITO 84 — SISTEMA CROMÁTICO CALIBRADO POR CABEZA PENSANTE (3 OSCUROS + 3 CLAROS)
   - Oscuro 1 (Por defecto): Carbón de Sala de Conciertos 35mm (#141518 / #212328 / #F0EFEA)
   - Oscuro 2: Terciopelo de Gran Teatro de Ópera (#171615 / #252321 / #F2ECE1)
   - Oscuro 3: Pizarra Nocturna Atlántica (#131720 / #1F2633 / #EDF0F5)
   - Claro 1 (Por defecto): Marfil de Galería y Piedra Caliza (#ECE9E2 / #F7F5F0 / #1C1B18)
   - Claro 2: Perla Satinada de Estudio (#E6E6E3 / #F3F3F0 / #18191B)
   - Claro 3: Pergamino Cervantino y Arena Suave (#EAE3D5 / #F5F0E6 / #211D17)
   ============================================================================ */
:root,
html[data-ecc-dark-tone="oscuro_1"] {
  --ecc-dark-bg: #141518;
  --ecc-dark-deep: #191B1F;
  --ecc-dark-card: #212328;
  --ecc-dark-elev: #2A2D34;
  --ecc-dark-ink: #F0EFEA;
  --ecc-dark-muted: #C6C8CE;
  --ecc-dark-border: rgba(255, 255, 255, 0.12);
  --ecc-dark-glass: rgba(20, 21, 24, 0.88);
}
html[data-ecc-dark-tone="oscuro_2"] {
  --ecc-dark-bg: #171615;
  --ecc-dark-deep: #1D1B1A;
  --ecc-dark-card: #252321;
  --ecc-dark-elev: #2F2C29;
  --ecc-dark-ink: #F2ECE1;
  --ecc-dark-muted: #CCC4B8;
  --ecc-dark-border: rgba(255, 248, 235, 0.13);
  --ecc-dark-glass: rgba(23, 22, 21, 0.88);
}
html[data-ecc-dark-tone="oscuro_3"] {
  --ecc-dark-bg: #131720;
  --ecc-dark-deep: #181D28;
  --ecc-dark-card: #1F2633;
  --ecc-dark-elev: #283142;
  --ecc-dark-ink: #EDF0F5;
  --ecc-dark-muted: #BDC5D1;
  --ecc-dark-border: rgba(255, 255, 255, 0.13);
  --ecc-dark-glass: rgba(19, 23, 32, 0.88);
}

:root,
html[data-ecc-light-tone="claro_1"] {
  --ecc-light-bg: #ECE9E2;
  --ecc-light-card: #F7F5F0;
  --ecc-light-elev: #E4E0D7;
  --ecc-light-ink: #1C1B18;
  --ecc-light-muted: #44423C;
  --ecc-light-border: rgba(28, 27, 24, 0.13);
  --ecc-light-glass: rgba(247, 245, 240, 0.90);
}
html[data-ecc-light-tone="claro_2"] {
  --ecc-light-bg: #E6E6E3;
  --ecc-light-card: #F3F3F0;
  --ecc-light-elev: #DDDDD9;
  --ecc-light-ink: #18191B;
  --ecc-light-muted: #3F4246;
  --ecc-light-border: rgba(24, 25, 27, 0.13);
  --ecc-light-glass: rgba(243, 243, 240, 0.90);
}
html[data-ecc-light-tone="claro_3"] {
  --ecc-light-bg: #EAE3D5;
  --ecc-light-card: #F5F0E6;
  --ecc-light-elev: #DFD7C7;
  --ecc-light-ink: #211D17;
  --ecc-light-muted: #4A4339;
  --ecc-light-border: rgba(33, 29, 23, 0.14);
  --ecc-light-glass: rgba(245, 240, 230, 0.90);
}

/* Aplicación universal en MODO OSCURO (classic-antes) */
html[data-apple-theme="classic-antes"] {
  background: var(--ecc-dark-bg) !important;
  --bg-base: var(--ecc-dark-bg) !important;
  --bg-deep: var(--ecc-dark-deep) !important;
  --bg-dark: var(--ecc-dark-bg) !important;
  --bg-sidebar: var(--ecc-dark-deep) !important;
  --bg-panel: var(--ecc-dark-card) !important;
  --bg-card: var(--ecc-dark-card) !important;
  --bg-input: var(--ecc-dark-deep) !important;
  --text-main: var(--ecc-dark-ink) !important;
  --text-primary: var(--ecc-dark-ink) !important;
  --text-secondary: var(--ecc-dark-muted) !important;
}
html[data-apple-theme="classic-antes"] body {
  background: var(--ecc-dark-bg) !important;
  color: var(--ecc-dark-ink) !important;
}
html[data-apple-theme="classic-antes"] .fullbleed-nav,
html[data-apple-theme="classic-antes"] .subpage-top-nav {
  background: var(--ecc-dark-glass) !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.32) !important;
}
html[data-apple-theme="classic-antes"] .trophies-vault,
html[data-apple-theme="classic-antes"] .urn-wide-box,
html[data-apple-theme="classic-antes"] .wide-session-card,
html[data-apple-theme="classic-antes"] .wide-card-body,
html[data-apple-theme="classic-antes"] .nations-filter-bar,
html[data-apple-theme="classic-antes"] .panel,
html[data-apple-theme="classic-antes"] .hero-command,
html[data-apple-theme="classic-antes"] .hero-bar,
html[data-apple-theme="classic-antes"] .strategy-panel,
html[data-apple-theme="classic-antes"] .mod600-panel,
html[data-apple-theme="classic-antes"] .blog-card,
html[data-apple-theme="classic-antes"] .media-card,
html[data-apple-theme="classic-antes"] .faq-item,
html[data-apple-theme="classic-antes"] .subpage-card {
  background: var(--ecc-dark-card) !important;
  color: var(--ecc-dark-ink) !important;
  border-color: var(--ecc-dark-border) !important;
}
html[data-apple-theme="classic-antes"] .prize-finalist-card,
html[data-apple-theme="classic-antes"] .urn-slot-item,
html[data-apple-theme="classic-antes"] .wide-card-footer,
html[data-apple-theme="classic-antes"] .nation-flag-pill,
html[data-apple-theme="classic-antes"] .crm-card,
html[data-apple-theme="classic-antes"] .template-card,
html[data-apple-theme="classic-antes"] .net-card,
html[data-apple-theme="classic-antes"] .visual-card,
html[data-apple-theme="classic-antes"] .pillar-card,
html[data-apple-theme="classic-antes"] .country-pill,
html[data-apple-theme="classic-antes"] .kpi-card,
html[data-apple-theme="classic-antes"] .glance-btn,
html[data-apple-theme="classic-antes"] .criteria-box,
html[data-apple-theme="classic-antes"] .mod600-card {
  background: var(--ecc-dark-elev) !important;
  color: var(--ecc-dark-ink) !important;
}
html[data-apple-theme="classic-antes"] .apple-scroll-veil {
  background: radial-gradient(circle at 50% 42%, rgba(20, 21, 24, 0.56) 0%, var(--ecc-dark-bg) 90%) !important;
}

/* Aplicación universal en MODO CLARO (apple-light) sin blanco deslumbrante */
html[data-apple-theme="apple-light"] {
  background: var(--ecc-light-bg) !important;
  --apple-bg-canvas: var(--ecc-light-bg) !important;
  --apple-bg-elevated: var(--ecc-light-card) !important;
  --apple-bg-card: var(--ecc-light-card) !important;
  --apple-bg-subtle: var(--ecc-light-elev) !important;
  --apple-bg-glass: var(--ecc-light-glass) !important;
  --apple-text-primary: var(--ecc-light-ink) !important;
  --apple-text-secondary: var(--ecc-light-muted) !important;
  --bg-base: var(--ecc-light-bg) !important;
  --bg-deep: var(--ecc-light-bg) !important;
  --bg-dark: var(--ecc-light-bg) !important;
  --bg-light: var(--ecc-light-bg) !important;
  --bg-white: var(--ecc-light-card) !important;
  --bg-sidebar: var(--ecc-light-card) !important;
  --bg-card: var(--ecc-light-card) !important;
  --bg-panel: var(--ecc-light-card) !important;
  --bg-input: var(--ecc-light-elev) !important;
  --text-main: var(--ecc-light-ink) !important;
  --text-primary: var(--ecc-light-ink) !important;
  --text-secondary: var(--ecc-light-muted) !important;
  --ink: var(--ecc-light-ink) !important;
  --ink-soft: var(--ecc-light-muted) !important;
  --border: var(--ecc-light-border) !important;
}
html[data-apple-theme="apple-light"] body {
  background: var(--ecc-light-bg) !important;
  color: var(--ecc-light-ink) !important;
}
html[data-apple-theme="apple-light"] .fullbleed-nav,
html[data-apple-theme="apple-light"] .subpage-top-nav {
  background: var(--ecc-light-glass) !important;
  border-bottom: 1px solid var(--ecc-light-border) !important;
}
html[data-apple-theme="apple-light"] .trophies-vault,
html[data-apple-theme="apple-light"] .urn-wide-box,
html[data-apple-theme="apple-light"] .wide-session-card,
html[data-apple-theme="apple-light"] .wide-card-body,
html[data-apple-theme="apple-light"] .nations-filter-bar,
html[data-apple-theme="apple-light"] .mod600-panel,
html[data-apple-theme="apple-light"] .panel,
html[data-apple-theme="apple-light"] .card,
html[data-apple-theme="apple-light"] .blog-card,
html[data-apple-theme="apple-light"] .media-card,
html[data-apple-theme="apple-light"] .faq-item,
html[data-apple-theme="apple-light"] .subpage-card,
html[data-apple-theme="apple-light"] aside {
  background: var(--ecc-light-card) !important;
  color: var(--ecc-light-ink) !important;
  border-color: var(--ecc-light-border) !important;
}
html[data-apple-theme="apple-light"] .prize-finalist-card,
html[data-apple-theme="apple-light"] .urn-slot-item,
html[data-apple-theme="apple-light"] .wide-card-footer,
html[data-apple-theme="apple-light"] .nation-flag-pill,
html[data-apple-theme="apple-light"] .mod600-card,
html[data-apple-theme="apple-light"] .pillar-card,
html[data-apple-theme="apple-light"] .crm-card,
html[data-apple-theme="apple-light"] .template-card,
html[data-apple-theme="apple-light"] .country-pill,
html[data-apple-theme="apple-light"] .glance-btn,
html[data-apple-theme="apple-light"] .quick-fill-wrap,
html[data-apple-theme="apple-light"] .criteria-box {
  background: var(--ecc-light-elev) !important;
  color: var(--ecc-light-ink) !important;
}
html[data-apple-theme="apple-light"] .apple-scroll-veil {
  background: radial-gradient(circle at 50% 42%, rgba(236, 233, 226, 0.78) 0%, var(--ecc-light-bg) 92%) !important;
}


/* ============================================================================
   HITO 87 — AUDITORÍA INTEGRAL DE NITIDEZ WCAG AAA (MODO CLARO + MODO OSCURO),
   BOTONES JUVENILES ARMÓNICOS (CERO ESTRIDENCIA) Y UNIDAD EN TODAS LAS PÁGINAS
   ============================================================================ */

/* 1. COMPENSACIÓN AUTOMÁTICA DE CABECERA EN TODAS LAS PÁGINAS INTERNAS Y DOCUMENTOS
      Evita que #ecc-master-AdminBar (48px fixed) tape la mitad superior de los títulos */
body.ecc-staff-bar-open:not(:has(header.fullbleed-nav)):not(:has(header.subpage-top-nav)) {
  padding-top: 68px !important;
}

/* 2. CABECERA PRINCIPAL (.fullbleed-nav y .subpage-top-nav) EN MODO CLARO:
      Texto carbón nítido (#1C1B18) sobre fondo marfil (#F7F5F0), jamás blanco sobre marfil */
html[data-apple-theme="apple-light"] header.fullbleed-nav,
html[data-apple-theme="apple-light"] header.subpage-top-nav,
html[data-apple-theme="apple-light"] header.fullbleed-nav.ecc-header-scrolled,
html[data-apple-theme="apple-light"] header.subpage-top-nav.ecc-header-scrolled {
  background: rgba(247, 245, 240, 0.96) !important;
  border-bottom: 1px solid rgba(28, 27, 24, 0.14) !important;
  box-shadow: 0 6px 24px rgba(28, 27, 24, 0.08) !important;
}

html[data-apple-theme="apple-light"] header .ecc-nav-multinivel .ecc-nav-btn {
  color: #26221E !important;
  -webkit-text-fill-color: #26221E !important;
  font-weight: 600 !important;
}

html[data-apple-theme="apple-light"] header .ecc-nav-multinivel .ecc-nav-btn-himno {
  color: #8C5A16 !important;
  -webkit-text-fill-color: #8C5A16 !important;
  font-weight: 700 !important;
}

html[data-apple-theme="classic-antes"] header .ecc-nav-multinivel .ecc-nav-btn-himno {
  color: #F5D77F !important;
  -webkit-text-fill-color: #F5D77F !important;
  font-weight: 700 !important;
}

html[data-apple-theme="apple-light"] header .ecc-nav-multinivel .ecc-nav-btn:hover,
html[data-apple-theme="apple-light"] header .ecc-nav-multinivel .ecc-nav-btn.activo {
  color: #7C4D10 !important;
  -webkit-text-fill-color: #7C4D10 !important;
}

html[data-apple-theme="apple-light"] header .ecc-nav-multinivel .ecc-nav-btn::after {
  background: #8C5A16 !important;
  box-shadow: none !important;
}

html[data-apple-theme="apple-light"] header .ecc-tml-launcher-btn,
html[data-apple-theme="apple-light"] header .ecc-tml-icon-btn {
  color: #1C1B18 !important;
  border: 1px solid rgba(28, 27, 24, 0.24) !important;
  background: rgba(28, 27, 24, 0.06) !important;
}

html[data-apple-theme="apple-light"] header .ecc-tml-launcher-btn:hover,
html[data-apple-theme="apple-light"] header .ecc-tml-icon-btn:hover {
  color: #FFFFFF !important;
  background: #1C1B18 !important;
  border-color: #1C1B18 !important;
}

html[data-apple-theme="apple-light"] header .fb-brand-title,
html[data-apple-theme="apple-light"] header:hover .fb-brand-title {
  color: #1C1B18 !important;
  -webkit-text-fill-color: #1C1B18 !important;
}
html[data-apple-theme="apple-light"] header .fb-brand-sub,
html[data-apple-theme="apple-light"] header:hover .fb-brand-sub,
html[data-apple-theme="apple-light"] header .fb-brand-motto,
html[data-apple-theme="apple-light"] header:hover .fb-brand-motto {
  color: #8C5A16 !important;
  -webkit-text-fill-color: #8C5A16 !important;
}

/* 3. PANEL DERECHO DEL HERO (LOS 5 GRANDES FINALISTAS OFICIALES):
      Evitar que en Modo Claro las filas #02 a #05 se vuelvan blancas con texto blanco */
.hero-fullbleed .hero-fb-selector-panel,
html[data-apple-theme="apple-light"] .hero-fullbleed .hero-fb-selector-panel {
  background: rgba(16, 18, 24, 0.90) !important;
  border: 1px solid rgba(212, 175, 55, 0.38) !important;
  color: #FFFFFF !important;
  backdrop-filter: blur(20px) !important;
}

.ecc-finalista-row-item,
html[data-apple-theme="apple-light"] .hero-fullbleed .ecc-finalista-row-item,
html[data-apple-theme="apple-light"] .hero-fullbleed [style*="background:rgba(15,23,42"],
html[data-apple-theme="apple-light"] .hero-fullbleed [style*="background: rgba(15, 23, 42"] {
  background: rgba(22, 26, 36, 0.92) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(212, 175, 55, 0.32) !important;
}

.ecc-finalista-row-item.es-activo,
html[data-apple-theme="apple-light"] .hero-fullbleed .ecc-finalista-row-item.es-activo {
  background: linear-gradient(90deg, rgba(200, 155, 60, 0.30), rgba(22, 26, 36, 0.96)) !important;
  border: 1.5px solid #E5B85B !important;
}

/* 4. BOTONES JUVENILES, ELEGANTES Y PROPORCIONADOS (ADIÓS A LOS BLOQUES BLANCOS CEGADORES) */
.btn,
.tab-btn,
.ms-btn,
.flow-btn,
.layer-btn,
.mod600-tab-btn,
.mod600-btn-elegante {
  padding: 7px 14px !important;
  min-height: 35px !important;
  font-size: 12.8px !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  line-height: 1.25 !important;
  letter-spacing: 0.01em !important;
  width: auto;
}

/* Botón de acción principal en Modo Oscuro: Ámbar Bronce Satinado Juvenil (no blanco cegador) */
.btn-gold,
.btn-primary,
.btn-fb-gold,
.btn-gold-pill,
.mod600-btn-oro,
.fb-cta-inscribir,
html[data-apple-theme="classic-antes"] .btn-gold,
html[data-apple-theme="classic-antes"] .btn-primary,
html[data-apple-theme="classic-antes"] .btn-fb-gold,
html[data-apple-theme="classic-antes"] .btn-gold-pill,
html[data-apple-theme="classic-antes"] .mod600-btn-oro,
html[data-apple-theme="classic-antes"] .fb-cta-inscribir {
  background: linear-gradient(135deg, #C89B3C 0%, #A67B27 100%) !important;
  color: #0E1015 !important;
  -webkit-text-fill-color: #0E1015 !important;
  border: 1px solid rgba(245, 215, 127, 0.48) !important;
  border-radius: 8px !important;
  padding: 8px 16px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.24) !important;
}

.btn-gold:hover,
.btn-primary:hover,
.btn-fb-gold:hover,
.btn-gold-pill:hover,
.mod600-btn-oro:hover,
.fb-cta-inscribir:hover,
html[data-apple-theme="classic-antes"] .btn-gold:hover,
html[data-apple-theme="classic-antes"] .btn-fb-gold:hover {
  background: linear-gradient(135deg, #DAB050 0%, #B88B32 100%) !important;
  color: #07080B !important;
  -webkit-text-fill-color: #07080B !important;
  border-color: #FDE68A !important;
  transform: translateY(-1px) !important;
}

/* Botón de acción principal en Modo Claro: Terracota / Bronce Real con texto blanco nítido */
html[data-apple-theme="apple-light"] .btn-gold,
html[data-apple-theme="apple-light"] .btn-primary,
html[data-apple-theme="apple-light"] .btn-gold-pill,
html[data-apple-theme="apple-light"] .mod600-btn-oro {
  background: linear-gradient(135deg, #9A6B19 0%, #7C530D 100%) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  border: 1px solid #6E470B !important;
  box-shadow: 0 3px 10px rgba(154, 107, 25, 0.18) !important;
}

html[data-apple-theme="apple-light"] .hero-fullbleed .btn-fb-gold {
  background: linear-gradient(135deg, #C89B3C 0%, #A67B27 100%) !important;
  color: #0E1015 !important;
  -webkit-text-fill-color: #0E1015 !important;
  border: 1px solid rgba(245, 215, 127, 0.55) !important;
}

/* Botones dentro de tarjetas de plantillas (.template-card .btn-gold):
   Proporcionados, juveniles y sin ocupar el 100% como ladrillos blancos */
.template-card .btn-gold,
html[data-apple-theme="classic-antes"] .template-card .btn-gold {
  width: auto !important;
  min-width: 185px !important;
  display: inline-flex !important;
  padding: 7px 15px !important;
  font-size: 12.5px !important;
  background: rgba(200, 155, 60, 0.18) !important;
  color: #F5D77F !important;
  -webkit-text-fill-color: #F5D77F !important;
  border: 1px solid rgba(200, 155, 60, 0.45) !important;
  box-shadow: none !important;
}
.template-card .btn-gold:hover,
html[data-apple-theme="classic-antes"] .template-card .btn-gold:hover {
  background: #C89B3C !important;
  color: #0E1015 !important;
  -webkit-text-fill-color: #0E1015 !important;
}
html[data-apple-theme="apple-light"] .template-card .btn-gold {
  width: auto !important;
  min-width: 185px !important;
  display: inline-flex !important;
  padding: 7px 15px !important;
  font-size: 12.5px !important;
  background: #EFE8D8 !important;
  color: #6E470B !important;
  -webkit-text-fill-color: #6E470B !important;
  border: 1px solid #9A6B19 !important;
}
html[data-apple-theme="apple-light"] .template-card .btn-gold:hover {
  background: #8C5A16 !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

/* Pestañas activas (.tab-btn.active, .ms-btn.active, .flow-btn.active):
   Tono Ámbar Translúcido Elegante en lugar de bloque blanco #ECEEEF */
.tab-btn.active,
.ms-btn.active,
.flow-btn.active,
.mod600-tab-btn.activo,
html[data-apple-theme="classic-antes"] .tab-btn.active,
html[data-apple-theme="classic-antes"] .ms-btn.active,
html[data-apple-theme="classic-antes"] .flow-btn.active,
html[data-apple-theme="classic-antes"] .mod600-tab-btn.activo {
  background: rgba(200, 155, 60, 0.20) !important;
  color: #FDE68A !important;
  -webkit-text-fill-color: #FDE68A !important;
  border: 1.5px solid #C89B3C !important;
  font-weight: 700 !important;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.20) !important;
}
.tab-btn.active *,
.ms-btn.active *,
.flow-btn.active * {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}

html[data-apple-theme="apple-light"] .tab-btn.active,
html[data-apple-theme="apple-light"] .ms-btn.active,
html[data-apple-theme="apple-light"] .flow-btn.active,
html[data-apple-theme="apple-light"] .mod600-tab-btn.activo {
  background: #EFE8D8 !important;
  color: #6E470B !important;
  -webkit-text-fill-color: #6E470B !important;
  border: 1.5px solid #9A6B19 !important;
  box-shadow: 0 3px 10px rgba(154, 107, 25, 0.12) !important;
}

/* 5. RECUADROS CONTADORES (.glance-btn, TODOS LOS CONTACTOS 52) EN CRM Y CENTROS INTERNOS:
      Nitidez absoluta del número (52) y del título tanto en Modo Oscuro como en Modo Claro */
html[data-apple-theme="classic-antes"] .glance-btn,
.glance-btn {
  background: #252830 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #F2F2F4 !important;
}
html[data-apple-theme="classic-antes"] .glance-btn .glance-title,
html[data-apple-theme="classic-antes"] .glance-btn span,
.glance-btn .glance-title,
.glance-btn span {
  color: #E2E8F0 !important;
  -webkit-text-fill-color: #E2E8F0 !important;
}
html[data-apple-theme="classic-antes"] .glance-btn .glance-count,
html[data-apple-theme="classic-antes"] .glance-btn strong,
.glance-btn .glance-count,
.glance-btn strong {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}
html[data-apple-theme="classic-antes"] .glance-btn.active,
.glance-btn.active {
  background: rgba(200, 155, 60, 0.22) !important;
  border: 1.5px solid #D4A853 !important;
  color: #FDE68A !important;
}
html[data-apple-theme="classic-antes"] .glance-btn.active .glance-title,
html[data-apple-theme="classic-antes"] .glance-btn.active .glance-count,
html[data-apple-theme="classic-antes"] .glance-btn.active *,
.glance-btn.active .glance-title,
.glance-btn.active .glance-count,
.glance-btn.active * {
  color: #FDE68A !important;
  -webkit-text-fill-color: #FDE68A !important;
}

html[data-apple-theme="apple-light"] .glance-btn {
  background: var(--ecc-light-card, #F7F5F0) !important;
  border: 1px solid rgba(28, 27, 24, 0.15) !important;
  color: #1C1B18 !important;
}
html[data-apple-theme="apple-light"] .glance-btn .glance-title,
html[data-apple-theme="apple-light"] .glance-btn span {
  color: #3F3B34 !important;
  -webkit-text-fill-color: #3F3B34 !important;
}
html[data-apple-theme="apple-light"] .glance-btn .glance-count,
html[data-apple-theme="apple-light"] .glance-btn strong {
  color: #181613 !important;
  -webkit-text-fill-color: #181613 !important;
}
html[data-apple-theme="apple-light"] .glance-btn.active {
  background: #EFE8D8 !important;
  border: 1.5px solid #9A6B19 !important;
  color: #6E470B !important;
}
html[data-apple-theme="apple-light"] .glance-btn.active .glance-title,
html[data-apple-theme="apple-light"] .glance-btn.active .glance-count,
html[data-apple-theme="apple-light"] .glance-btn.active * {
  color: #6E470B !important;
  -webkit-text-fill-color: #6E470B !important;
}

/* 6. INSIGNIAS DE ESTADO (.badge-status: AUTORIZADO / SIN ACCESO):
      Siempre en 1 sola línea (nowrap) y con contraste AAA en ambos modos */
.badge-status {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}
.badge-status.is-auth,
html[data-apple-theme="classic-antes"] .badge-status.is-auth {
  background: rgba(16, 185, 129, 0.18) !important;
  color: #6EE7B7 !important;
  -webkit-text-fill-color: #6EE7B7 !important;
  border: 1px solid rgba(52, 211, 153, 0.45) !important;
}
html[data-apple-theme="apple-light"] .badge-status.is-auth {
  background: #D1FAE5 !important;
  color: #065F46 !important;
  -webkit-text-fill-color: #065F46 !important;
  border: 1px solid #059669 !important;
}
.badge-status.is-noauth,
html[data-apple-theme="classic-antes"] .badge-status.is-noauth {
  background: rgba(148, 163, 184, 0.16) !important;
  color: #E2E8F0 !important;
  -webkit-text-fill-color: #E2E8F0 !important;
  border: 1px solid rgba(148, 163, 184, 0.38) !important;
}
html[data-apple-theme="apple-light"] .badge-status.is-noauth {
  background: #E2E8F0 !important;
  color: #334155 !important;
  -webkit-text-fill-color: #334155 !important;
  border: 1px solid #94A3B8 !important;
}

/* 7. ADAPTACIÓN DE #eccBloqueVivoFase5GalaFinal EN MODO CLARO Y OSCURO */
html[data-apple-theme="apple-light"] #eccBloqueVivoFase5GalaFinal .ecc-launch-bento-panel {
  background: var(--ecc-light-card, #F7F5F0) !important;
  color: var(--ecc-light-ink, #1C1B18) !important;
  border: 1px solid var(--ecc-light-border, rgba(28,27,24,0.14)) !important;
  box-shadow: 0 16px 40px rgba(28, 27, 24, 0.08) !important;
}
html[data-apple-theme="apple-light"] #eccBloqueVivoFase5GalaFinal .ecc-launch-bento-panel h2,
html[data-apple-theme="apple-light"] #eccBloqueVivoFase5GalaFinal .ecc-launch-bento-panel h3 {
  color: #1C1B18 !important;
  -webkit-text-fill-color: #1C1B18 !important;
}
html[data-apple-theme="apple-light"] #eccBloqueVivoFase5GalaFinal .ecc-launch-bento-panel p {
  color: #3F3B34 !important;
  -webkit-text-fill-color: #3F3B34 !important;
}

/* ==========================================================================
   HITO 89 — SELLO Y MOSCA SUAVE DEL LOGO OFICIAL «600 MILLONES»
   En las 20 canciones semifinalistas, los 5 finalistas y la Gran Gala Final
   ========================================================================== */
@keyframes eccLogoSoftFadeIn {
  from { opacity: 0; transform: scale(0.92) translateY(3px); }
  to   { opacity: 0.90; transform: scale(1) translateY(0); }
}

.ecc-song-logo-watermark {
  position: absolute !important;
  bottom: 12px !important;
  left: 14px !important;
  z-index: 4 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 4px 10px 4px 5px !important;
  border-radius: 999px !important;
  background: rgba(14, 16, 21, 0.72) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(212, 175, 55, 0.42) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.38) !important;
  pointer-events: none !important;
  opacity: 0.90 !important;
  animation: eccLogoSoftFadeIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both !important;
}

.ecc-song-logo-watermark img {
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  object-fit: contain !important;
  display: block !important;
  filter: drop-shadow(0 2px 6px rgba(212, 175, 55, 0.35)) !important;
}

.ecc-song-logo-watermark span {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 9.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.09em !important;
  text-transform: uppercase !important;
  color: #F4F1EA !important;
  white-space: nowrap !important;
}

.ecc-gala-tv-logo-bug {
  position: absolute !important;
  bottom: 16px !important;
  right: 18px !important;
  z-index: 5 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 5px 12px 5px 6px !important;
  border-radius: 999px !important;
  background: rgba(14, 16, 21, 0.74) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(212, 175, 55, 0.48) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45) !important;
  pointer-events: none !important;
  opacity: 0.90 !important;
}

.ecc-gala-tv-logo-bug img {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  object-fit: contain !important;
  display: block !important;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.4)) !important;
}

.ecc-gala-tv-logo-bug .ecc-bug-txt {
  display: flex !important;
  flex-direction: column !important;
  line-height: 1.15 !important;
}

.ecc-gala-tv-logo-bug .ecc-bug-title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 0.10em !important;
  color: #F7F4EC !important;
  text-transform: uppercase !important;
}

.ecc-gala-tv-logo-bug .ecc-bug-sub {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 8.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  color: #E5B85B !important;
  text-transform: uppercase !important;
}

.ecc-mini-logo-corner {
  position: absolute !important;
  top: 4px !important;
  right: 4px !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  object-fit: contain !important;
  background: rgba(14, 16, 21, 0.75) !important;
  padding: 1.5px !important;
  border: 1px solid rgba(212, 175, 55, 0.55) !important;
  pointer-events: none !important;
  opacity: 0.90 !important;
  z-index: 3 !important;
}

/* ============================================================================
   HITO 90 — DESAHOGO TOTAL DE BORDES EN TODAS LAS CAJAS (.urn-wide-box,
   .trophies-vault, .ecc-launch-bento-panel, .mod600-panel, #liveRankingContainer)
   Y SISTEMA RESPONSIVE INTEGRAL (ESCRITORIO · IPAD PRO · TABLET · IPHONE)
   ============================================================================ */

/* 1. CABECERA SUPERIOR (.fullbleed-nav y .subpage-top-nav):
      Evitar que el emblema «600 MILLONES / UN CANTO A LA HISPANIDAD» se corte a la izquierda */
header.fullbleed-nav,
header.subpage-top-nav {
  max-width: 100vw !important;
  box-sizing: border-box !important;
  padding: 0 clamp(16px, 2.2vw, 32px) !important;
  gap: clamp(10px, 1.3vw, 18px) !important;
}

.ecc-tml-brand-cluster,
.fb-brand,
.subpage-brand {
  flex: 0 0 auto !important;
  min-width: max-content !important;
}

header .ecc-nav-multinivel {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  gap: clamp(12px, 1.4vw, 24px) !important;
  padding: 0 6px !important;
}
header .ecc-nav-multinivel::-webkit-scrollbar {
  display: none !important;
}

@media (max-width: 1360px) {
  header .ecc-nav-multinivel {
    justify-content: flex-start !important;
  }
}

/* 2. RESTAURACIÓN DE PADDING HOLGADO EN GRANDES CONTENEDORES CON FONDO
      (Corrige el antiguo padding: 44px 0 !important que pegaba el texto a 0px del borde) */
.urn-wide-box,
.trophies-vault,
.ecc-launch-bento-panel,
.mod600-panel,
.card-quienes,
.card-blanca,
.card-plano,
.subscribe-banner-box,
.subpage-card,
.panel,
html[data-apple-theme="classic-antes"] .urn-wide-box,
html[data-apple-theme="apple-light"] .urn-wide-box,
html[data-apple-theme="classic-antes"] .trophies-vault,
html[data-apple-theme="apple-light"] .trophies-vault,
html[data-apple-theme="classic-antes"] .ecc-launch-bento-panel,
html[data-apple-theme="apple-light"] .ecc-launch-bento-panel,
html[data-apple-theme="classic-antes"] .mod600-panel,
html[data-apple-theme="apple-light"] .mod600-panel,
html[data-apple-theme="classic-antes"] .card-quienes,
html[data-apple-theme="apple-light"] .card-quienes,
html[data-apple-theme="classic-antes"] .card-blanca,
html[data-apple-theme="apple-light"] .card-blanca,
html[data-apple-theme="classic-antes"] .card-plano,
html[data-apple-theme="apple-light"] .card-plano,
html[data-apple-theme="classic-antes"] .subscribe-banner-box,
html[data-apple-theme="apple-light"] .subscribe-banner-box {
  padding: clamp(28px, 3.4vw, 44px) clamp(28px, 3.8vw, 48px) !important;
  border-radius: 22px !important;
  box-sizing: border-box !important;
}

/* 3. URNA OFICIAL (.urn-wide-box), BUSCADORES Y SLOTS DE 12, 10 Y 8 PUNTOS:
      Aire amplio en los 4 costados y buscador completo sin cortar «instrumento» */
#buscadorCancionesInput,
#buscadorFaqInput,
#buscadorMultimediaInput,
#buscadorBlogInput {
  width: 100% !important;
  min-width: min(370px, 100%) !important;
  max-width: 460px !important;
  padding: 11px 18px !important;
  border-radius: 999px !important;
  font-size: 13.2px !important;
  box-sizing: border-box !important;
}

.urn-slots-3 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto !important;
  gap: 16px !important;
  margin-top: 20px !important;
  align-items: stretch !important;
}

.urn-slot-item,
html[data-apple-theme="classic-antes"] .urn-slot-item,
html[data-apple-theme="apple-light"] .urn-slot-item {
  padding: 16px 20px !important;
  border-radius: 14px !important;
  box-sizing: border-box !important;
}

#voteReceiptBanner {
  margin-top: 18px !important;
  padding: 16px 22px !important;
  border-radius: 14px !important;
  box-sizing: border-box !important;
  word-break: break-word !important;
}

/* 4. BARRA DE BANDERAS (.nations-filter-bar) Y MARCADOR EN VIVO (#liveRankingContainer) */
.nations-filter-bar,
html[data-apple-theme="classic-antes"] .nations-filter-bar,
html[data-apple-theme="apple-light"] .nations-filter-bar {
  padding: 20px clamp(20px, 2.6vw, 32px) !important;
  border-radius: 18px !important;
  box-sizing: border-box !important;
}

#liveRankingContainer {
  padding: 14px clamp(16px, 2.2vw, 26px) !important;
  border-radius: 20px !important;
  box-sizing: border-box !important;
}

#liveRankingContainer > div {
  padding: 16px clamp(16px, 2.2vw, 24px) !important;
  border-radius: 12px !important;
  margin-bottom: 6px !important;
  box-sizing: border-box !important;
}

/* 5. SALA DE EMISIÓN EN DIRECTO (#mod600-directo) Y TARJETAS INTERNAS (.mod600-card) */
html[data-apple-theme="classic-antes"] #mod600-directo .mod600-card:last-child,
html[data-apple-theme="apple-light"] #mod600-directo .mod600-card:last-child,
.mod600-card {
  padding: clamp(22px, 2.5vw, 30px) clamp(22px, 2.8vw, 32px) !important;
  box-sizing: border-box !important;
}

/* 6. CUERPOS Y PIES DE TODAS LAS TARJETAS (.wide-session-card, .tml-fade-card, .blog-card, .media-card, .ecc-step-box) */
.wide-card-body,
.tml-fade-card-body,
.wide-session-card.tml-fade-card .tml-fade-card-body,
.blog-card-body,
.media-card-body {
  padding: 24px clamp(22px, 2.6vw, 30px) 24px !important;
  box-sizing: border-box !important;
}

.wide-card-footer,
.blog-card-footer,
.media-card-footer {
  padding: 16px clamp(22px, 2.6vw, 30px) 24px !important;
  box-sizing: border-box !important;
}

.ecc-step-box,
html[data-apple-theme="classic-antes"] .ecc-step-box,
html[data-apple-theme="apple-light"] .ecc-step-box,
.prize-finalist-card,
html[data-apple-theme="classic-antes"] .prize-finalist-card,
html[data-apple-theme="apple-light"] .prize-finalist-card {
  padding: 28px 26px !important;
  box-sizing: border-box !important;
}

/* ============================================================================
   7. MATRIZ RESPONSIVE MULTIDISPOSITIVO (IPAD PRO · TABLET · IPHONE · MÓVIL)
   ============================================================================ */

/* --- A. iPAD PRO Y TABLETS HORIZONTALES (<= 1180px) --- */
@media (max-width: 1180px) {
  .urn-slots-3 {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .urn-slots-3 > button,
  .urn-slots-3 > .fb-cta-inscribir {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    justify-content: center !important;
  }
  .trophies-grid-5 {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  #eccBloqueVivoFase5GalaFinal [style*="grid-template-columns:1.08fr 1.12fr"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  #eccBloqueVivoFase5GalaFinal [style*="grid-template-columns:repeat(5, 1fr)"] {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* --- B. iPAD VERTICAL Y TABLETS MEDIANAS (<= 960px) --- */
@media (max-width: 960px) {
  .main-wrap,
  .trophies-showcase-section,
  #eccBloqueVivoFase1Lanzamiento,
  #eccBloqueVivoFase5GalaFinal,
  .subpage-container,
  .container-quienes,
  .container-bases,
  .container-faq,
  .container-contacto,
  .mod600-wrap {
    padding-left: 22px !important;
    padding-right: 22px !important;
  }
  .urn-wide-box,
  .trophies-vault,
  .ecc-launch-bento-panel,
  .mod600-panel,
  .card-quienes,
  .card-blanca,
  .card-plano {
    padding: 28px 26px !important;
    border-radius: 20px !important;
  }
  .hero-fullbleed-content {
    grid-template-columns: 1fr !important;
    margin-top: 110px !important;
    padding: 24px 22px 28px !important;
    gap: 22px !important;
  }
  .wide-sessions-grid,
  .trophies-grid-5,
  .ecc-steps-grid-4,
  .tml-video-grid-3 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px !important;
  }
  .urn-slots-3 {
    grid-template-columns: 1fr !important;
  }
  #eccBloqueVivoFase5GalaFinal [style*="grid-template-columns:repeat(5, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* --- C. iPHONE 16 PRO MAX Y MÓVILES (<= 680px) --- */
@media (max-width: 680px) {
  .main-wrap,
  .trophies-showcase-section,
  #eccBloqueVivoFase1Lanzamiento,
  #eccBloqueVivoFase5GalaFinal,
  .subpage-container,
  .container-quienes,
  .container-bases,
  .container-faq,
  .container-contacto,
  .mod600-wrap {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  /* Garantizar mínimo 20px-22px de margen lateral interior en todas las cajas en móvil */
  .urn-wide-box,
  .trophies-vault,
  .ecc-launch-bento-panel,
  .mod600-panel,
  .card-quienes,
  .card-blanca,
  .card-plano,
  .subscribe-banner-box,
  .subpage-card,
  .panel {
    padding: 24px 20px !important;
    border-radius: 18px !important;
  }
  .wide-card-body,
  .tml-fade-card-body,
  .blog-card-body,
  .media-card-body,
  .ecc-step-box,
  .prize-finalist-card,
  .mod600-card {
    padding: 20px 20px !important;
  }
  .wide-card-footer,
  .blog-card-footer,
  .media-card-footer {
    padding: 14px 20px 20px !important;
  }
  .wide-sessions-grid,
  .trophies-grid-5,
  .ecc-steps-grid-4,
  .tml-video-grid-3,
  #eccBloqueVivoFase5GalaFinal [style*="grid-template-columns:repeat(5, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  #buscadorCancionesInput,
  #buscadorFaqInput,
  #buscadorMultimediaInput,
  #buscadorBlogInput {
    min-width: 100% !important;
    width: 100% !important;
  }
  .hero-metrics-inner {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .hero-metrics-inner > div:last-child {
    grid-column: 1 / -1 !important;
  }
}


/* === HITO 92: ARQUITECTURA PANORÁMICA FLUIDA LIBRE Y 3 MODOS DE ANCHURA RESPONSIVE === */
:root {
  --ecc-canvas-max: 1720px;
  --ecc-canvas-vw: 94vw;
}

html[data-ecc-width-mode="anchura_panoramica"] {
  --ecc-canvas-max: 1720px;
  --ecc-canvas-vw: 94vw;
}

html[data-ecc-width-mode="anchura_cine_total"] {
  --ecc-canvas-max: 1880px;
  --ecc-canvas-vw: 97vw;
}

html[data-ecc-width-mode="anchura_editorial"] {
  --ecc-canvas-max: 1520px;
  --ecc-canvas-vw: 90vw;
}

/* 1. Unificación total de anchura entre Cabecera Hero, Estudio Admin y Contenedores de Página */
.subpage-hero-inner,
.hero-quienes-inner,
.hero-bases-inner,
.hero-faq-inner,
.hero-contacto-inner,
.subpage-container,
.container-quienes,
.container-bases,
.container-faq,
.container-contacto,
.main-wrap,
.mod600-wrap,
.hero-metrics-inner,
.trophies-showcase-section,
#eccBloqueVivoFase1Lanzamiento,
#eccBloqueVivoFase5GalaFinal,
#eccQuickTicksPortadaBar,
.ecc-omni-wrap {
  width: min(var(--ecc-canvas-vw, 94vw), var(--ecc-canvas-max, 1720px)) !important;
  max-width: var(--ecc-canvas-max, 1720px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

/* Evitar que .ecc-omni-wrap dentro de .subpage-container sufra doble encajonamiento */
.subpage-container > .ecc-omni-wrap,
.main-wrap > .ecc-omni-wrap,
#ecc-marketing-omnicanal-600m > .ecc-omni-wrap {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.subpage-container,
.container-quienes,
.container-bases,
.container-faq,
.container-contacto,
.main-wrap,
.mod600-wrap,
.trophies-showcase-section,
#eccBloqueVivoFase1Lanzamiento,
#eccBloqueVivoFase5GalaFinal {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* En Modo 2 («Gran Escenario Cine Total · Sin Ataduras»): libera los bordes exteriores para sensación abierta */
html[data-ecc-width-mode="anchura_cine_total"] .ecc-omni-wrap,
html[data-ecc-width-mode="anchura_cine_total"] .mod600-panel,
html[data-ecc-width-mode="anchura_cine_total"] .urn-wide-box,
html[data-ecc-width-mode="anchura_cine_total"] .trophies-vault {
  border-left: none !important;
  border-right: none !important;
  border-radius: 16px !important;
}

/* Responsive fluido en iPad Pro, iPad Air/Mini e iPhone */
@media (max-width: 1180px) {
  :root,
  html[data-ecc-width-mode="anchura_panoramica"],
  html[data-ecc-width-mode="anchura_cine_total"],
  html[data-ecc-width-mode="anchura_editorial"] {
    --ecc-canvas-vw: 95vw;
  }
}

@media (max-width: 960px) {
  :root,
  html[data-ecc-width-mode="anchura_panoramica"],
  html[data-ecc-width-mode="anchura_cine_total"],
  html[data-ecc-width-mode="anchura_editorial"] {
    --ecc-canvas-vw: 96vw;
  }
}

@media (max-width: 680px) {
  :root,
  html[data-ecc-width-mode="anchura_panoramica"],
  html[data-ecc-width-mode="anchura_cine_total"],
  html[data-ecc-width-mode="anchura_editorial"] {
    --ecc-canvas-vw: 94vw;
  }
}
/* === HITO 92 END === */


/* === HITO 93: CONTRASTE TOTAL CABECERAS CLARO/OSCURO, ENLACES Y BOTONES DORADO SATINADO + GRIS === */

/* 1. BARRA SUPERIOR MAESTRA (#ecc-master-AdminBar):
      Sus botones (.ecc-nav-btn, ← Regresar, Inscripciones, Pasar a Claro/Oscuro) SIEMPRE tienen
      fondo gris grafito #2E3138 con texto blanco #F2F2F4, y al pasar el ratón pasan a Doradito Satinado #C89B3C con texto oscuro #0E1015 */
#ecc-master-AdminBar .ecc-nav-btn,
html[data-apple-theme="apple-light"] #ecc-master-AdminBar .ecc-nav-btn,
html[data-apple-theme="classic-antes"] #ecc-master-AdminBar .ecc-nav-btn {
  background: #2E3138 !important;
  color: #F2F2F4 !important;
  -webkit-text-fill-color: #F2F2F4 !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 7px !important;
  font-weight: 600 !important;
}

#ecc-master-AdminBar .ecc-nav-btn:hover,
#ecc-master-AdminBar .ecc-nav-btn:focus-visible,
#ecc-master-AdminBar .ecc-nav-btn.ecc-active,
html[data-apple-theme="apple-light"] #ecc-master-AdminBar .ecc-nav-btn:hover,
html[data-apple-theme="classic-antes"] #ecc-master-AdminBar .ecc-nav-btn:hover {
  background: linear-gradient(135deg, #C89B3C 0%, #A67B27 100%) !important;
  color: #0E1015 !important;
  -webkit-text-fill-color: #0E1015 !important;
  border-color: #FDE68A !important;
}

/* 2. CABECERAS Y PANELES DE PÁGINAS INTERNAS EN MODO CLARO (apple-light):
      Corrige .topbar, .hero-bar, .hero-command, .hero-banner y todas las cajas de #eccStudioSlateInternalTheme
      para que nunca queden oscuras (#26282C) con letras negras/azules encima */
html[data-apple-theme="apple-light"] .topbar,
html[data-apple-theme="apple-light"] .hero-bar,
html[data-apple-theme="apple-light"] .hero-command,
html[data-apple-theme="apple-light"] .hero-banner,
html[data-apple-theme="apple-light"] .panel,
html[data-apple-theme="apple-light"] .strategy-panel,
html[data-apple-theme="apple-light"] .inspector-panel,
html[data-apple-theme="apple-light"] .panel-card,
html[data-apple-theme="apple-light"] .how-it-works-box,
html[data-apple-theme="apple-light"] .flow-filter-bar,
html[data-apple-theme="apple-light"] .nav-tabs,
html[data-apple-theme="apple-light"] .quick-fill-wrap,
html[data-apple-theme="apple-light"] .obs-live-dock,
html[data-apple-theme="apple-light"] .ecc-omni-wrap,
html[data-apple-theme="apple-light"] #mod600-coordinacion.mod600-panel,
html[data-apple-theme="apple-light"] #mod600-automatismos.mod600-panel {
  background: var(--ecc-light-card, #F7F5F0) !important;
  color: var(--ecc-light-ink, #1C1B18) !important;
  border: 1px solid rgba(28, 27, 24, 0.15) !important;
  box-shadow: 0 8px 26px rgba(28, 27, 24, 0.06) !important;
}

html[data-apple-theme="apple-light"] .topbar h1,
html[data-apple-theme="apple-light"] .hero-bar h1,
html[data-apple-theme="apple-light"] .hero-command h1,
html[data-apple-theme="apple-light"] .hero-banner h1,
html[data-apple-theme="apple-light"] .hero-title,
html[data-apple-theme="apple-light"] .panel-title,
html[data-apple-theme="apple-light"] .ecc-omni-wrap h2,
html[data-apple-theme="apple-light"] .ecc-omni-wrap h3,
html[data-apple-theme="apple-light"] .ecc-omni-wrap h4,
html[data-apple-theme="apple-light"] #mod600-coordinacion h3,
html[data-apple-theme="apple-light"] #mod600-coordinacion h4,
html[data-apple-theme="apple-light"] #mod600-automatismos h3,
html[data-apple-theme="apple-light"] #mod600-automatismos h4 {
  color: #181613 !important;
  -webkit-text-fill-color: #181613 !important;
}

html[data-apple-theme="apple-light"] .topbar .brand p,
html[data-apple-theme="apple-light"] .hero-bar .kicker,
html[data-apple-theme="apple-light"] .hero-command .kicker,
html[data-apple-theme="apple-light"] .kicker {
  color: #8C5A16 !important;
  -webkit-text-fill-color: #8C5A16 !important;
  font-weight: 800 !important;
}

html[data-apple-theme="apple-light"] .topbar p,
html[data-apple-theme="apple-light"] .hero-bar p,
html[data-apple-theme="apple-light"] .hero-sub,
html[data-apple-theme="apple-light"] .panel-sub,
html[data-apple-theme="apple-light"] .ecc-omni-wrap p {
  color: #3A3630 !important;
  -webkit-text-fill-color: #3A3630 !important;
}

/* Sub-tarjetas internas en Modo Claro */
html[data-apple-theme="apple-light"] .card,
html[data-apple-theme="apple-light"] .crm-card,
html[data-apple-theme="apple-light"] .template-card,
html[data-apple-theme="apple-light"] .net-card,
html[data-apple-theme="apple-light"] .visual-card,
html[data-apple-theme="apple-light"] .pillar-card,
html[data-apple-theme="apple-light"] .country-pill,
html[data-apple-theme="apple-light"] .module-card,
html[data-apple-theme="apple-light"] .stat-card,
html[data-apple-theme="apple-light"] .kpi-card,
html[data-apple-theme="apple-light"] .criteria-box,
html[data-apple-theme="apple-light"] .level-card,
html[data-apple-theme="apple-light"] .insp-section,
html[data-apple-theme="apple-light"] .step-card,
html[data-apple-theme="apple-light"] .weapon-card,
html[data-apple-theme="apple-light"] .ecc-omni-card-red,
html[data-apple-theme="apple-light"] .ecc-omni-step-guide,
html[data-apple-theme="apple-light"] .ecc-omni-step-box,
html[data-apple-theme="apple-light"] #mod600-coordinacion .mod600-card,
html[data-apple-theme="apple-light"] #mod600-automatismos .mod600-card {
  background: var(--ecc-light-elev, #EFECE4) !important;
  color: #1C1B18 !important;
  border: 1px solid rgba(28, 27, 24, 0.14) !important;
}

html[data-apple-theme="apple-light"] .ecc-omni-step-box,
html[data-apple-theme="apple-light"] .ecc-omni-step-box * {
  color: #1C1B18 !important;
  -webkit-text-fill-color: #1C1B18 !important;
}

/* Inputs y buscadores en Modo Claro (excepto dentro de barras oscuras de Admin) */
html[data-apple-theme="apple-light"] body input[type="text"]:not([id^="eccAuth"]),
html[data-apple-theme="apple-light"] body input[type="search"],
html[data-apple-theme="apple-light"] body input[type="url"],
html[data-apple-theme="apple-light"] body input[type="email"],
html[data-apple-theme="apple-light"] body input[type="number"],
html[data-apple-theme="apple-light"] body select:not(#eccRoleSelector):not(#eccSelectToneQuickBar):not(#eccSelectQuickMotionCine):not(#eccSelectWidthModeQuickBar),
html[data-apple-theme="apple-light"] body textarea {
  background: var(--ecc-light-card, #F7F5F0) !important;
  color: #181613 !important;
  border: 1px solid rgba(28, 27, 24, 0.22) !important;
}

/* Tablas en Modo Claro */
html[data-apple-theme="apple-light"] table th,
html[data-apple-theme="apple-light"] .score-table th {
  background: #E6E1D6 !important;
  color: #6E470B !important;
  -webkit-text-fill-color: #6E470B !important;
  border-bottom: 1.5px solid rgba(154, 107, 25, 0.35) !important;
}
html[data-apple-theme="apple-light"] table td,
html[data-apple-theme="apple-light"] .score-table td {
  color: #1C1B18 !important;
  border-bottom: 1px solid rgba(28, 27, 24, 0.10) !important;
}

/* 3. SISTEMA UNIFICADO DE BOTONES: «DORADITO SATINADO (#C89B3C) + GRIS GRAFITO/PIEDRA»
      Tal como el usuario destacó en la captura de «Sedes en España (+44 Sedes HdC)» y «5 Continentes» */

/* A) Botones en Modo Oscuro: Gris Grafito (#363940) por defecto y Doradito Satinado (#C89B3C) cuando están activos o son principales */
html[data-apple-theme="classic-antes"] .btn:not(.btn-gold):not(.btn-primary):not(.btn-fb-gold),
html[data-apple-theme="classic-antes"] .tab-btn:not(.active),
html[data-apple-theme="classic-antes"] .ms-btn:not(.active),
html[data-apple-theme="classic-antes"] .flow-btn:not(.active),
html[data-apple-theme="classic-antes"] .layer-btn:not(.active),
html[data-apple-theme="classic-antes"] .filter-pill-btn:not(.active),
html[data-apple-theme="classic-antes"] .ecc-omni-tab-btn:not(.activo) {
  background: #363940 !important;
  color: #F2F2F4 !important;
  -webkit-text-fill-color: #F2F2F4 !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 9px !important;
  font-weight: 600 !important;
}

html[data-apple-theme="classic-antes"] .btn:not(.btn-gold):not(.btn-primary):hover,
html[data-apple-theme="classic-antes"] .tab-btn:not(.active):hover,
html[data-apple-theme="classic-antes"] .ms-btn:not(.active):hover,
html[data-apple-theme="classic-antes"] .flow-btn:not(.active):hover,
html[data-apple-theme="classic-antes"] .filter-pill-btn:not(.active):hover,
html[data-apple-theme="classic-antes"] .ecc-omni-tab-btn:not(.activo):hover {
  background: #434750 !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  border-color: rgba(200, 155, 60, 0.55) !important;
}

/* Botones Activos y Principales en AMBOS Modos: El «Doradito Satinado» exacto de la captura 3 */
.btn-gold,
.btn-primary,
.btn-fb-gold,
.btn-gold-pill,
.mod600-btn-oro,
.fb-cta-inscribir,
.flow-btn.active,
.tab-btn.active,
.ms-btn.active,
.layer-btn.active,
.filter-pill-btn.active,
.ecc-omni-tab-btn.activo,
.mod600-tab-btn.activo,
html[data-apple-theme="classic-antes"] .btn-gold,
html[data-apple-theme="classic-antes"] .btn-primary,
html[data-apple-theme="classic-antes"] .flow-btn.active,
html[data-apple-theme="classic-antes"] .tab-btn.active,
html[data-apple-theme="classic-antes"] .ms-btn.active,
html[data-apple-theme="classic-antes"] .filter-pill-btn.active,
html[data-apple-theme="classic-antes"] .ecc-omni-tab-btn.activo,
html[data-apple-theme="apple-light"] .btn-gold,
html[data-apple-theme="apple-light"] .btn-primary,
html[data-apple-theme="apple-light"] .flow-btn.active,
html[data-apple-theme="apple-light"] .tab-btn.active,
html[data-apple-theme="apple-light"] .ms-btn.active,
html[data-apple-theme="apple-light"] .filter-pill-btn.active,
html[data-apple-theme="apple-light"] .ecc-omni-tab-btn.activo,
html[data-apple-theme="apple-light"] .mod600-tab-btn.activo {
  background: linear-gradient(135deg, #C89B3C 0%, #A67B27 100%) !important;
  color: #121316 !important;
  -webkit-text-fill-color: #121316 !important;
  border: 1px solid #E5C168 !important;
  border-radius: 9px !important;
  font-weight: 700 !important;
  box-shadow: 0 3px 12px rgba(166, 123, 39, 0.22) !important;
}

.flow-btn.active *,
.tab-btn.active *,
.ms-btn.active *,
.filter-pill-btn.active *,
.ecc-omni-tab-btn.activo *,
.btn-gold *,
.btn-primary * {
  color: #121316 !important;
  -webkit-text-fill-color: #121316 !important;
}

/* B) Botones Secundarios / Inactivos en Modo Claro: Gris Piedra Suave (#E4DFD3) con texto carbón nítido (#1C1B18) */
html[data-apple-theme="apple-light"] .btn:not(.btn-gold):not(.btn-primary):not(.btn-fb-gold),
html[data-apple-theme="apple-light"] .tab-btn:not(.active),
html[data-apple-theme="apple-light"] .ms-btn:not(.active),
html[data-apple-theme="apple-light"] .flow-btn:not(.active),
html[data-apple-theme="apple-light"] .layer-btn:not(.active),
html[data-apple-theme="apple-light"] .filter-pill-btn:not(.active),
html[data-apple-theme="apple-light"] .ecc-omni-tab-btn:not(.activo),
html[data-apple-theme="apple-light"] .mod600-tab-btn:not(.activo) {
  background: #E4DFD3 !important;
  color: #1C1B18 !important;
  -webkit-text-fill-color: #1C1B18 !important;
  border: 1px solid rgba(28, 27, 24, 0.18) !important;
  border-radius: 9px !important;
  font-weight: 600 !important;
}

html[data-apple-theme="apple-light"] .btn:not(.btn-gold):not(.btn-primary):hover,
html[data-apple-theme="apple-light"] .tab-btn:not(.active):hover,
html[data-apple-theme="apple-light"] .ms-btn:not(.active):hover,
html[data-apple-theme="apple-light"] .flow-btn:not(.active):hover,
html[data-apple-theme="apple-light"] .filter-pill-btn:not(.active):hover,
html[data-apple-theme="apple-light"] .ecc-omni-tab-btn:not(.activo):hover {
  background: #D6CFC0 !important;
  color: #121316 !important;
  -webkit-text-fill-color: #121316 !important;
  border-color: #9A6B19 !important;
}

/* 4. CONTRASTE UNIVERSAL DE ENLACES DE TEXTO (<a>) EN MODO OSCURO Y MODO CLARO:
      Evita enlaces azules oscuros sobre fondo oscuro o enlaces amarillos pálidos sobre fondo claro */
html[data-apple-theme="classic-antes"] p a:not(.btn):not(.ecc-nav-btn),
html[data-apple-theme="classic-antes"] li a:not(.btn):not(.ecc-nav-btn),
html[data-apple-theme="classic-antes"] td a:not(.btn):not(.ecc-nav-btn),
html[data-apple-theme="classic-antes"] .subpage-hero a:not(.btn) {
  color: #F3D068 !important;
  -webkit-text-fill-color: #F3D068 !important;
  text-decoration-color: rgba(243, 208, 104, 0.45) !important;
  font-weight: 600 !important;
}

html[data-apple-theme="apple-light"] p a:not(.btn):not(.ecc-nav-btn),
html[data-apple-theme="apple-light"] li a:not(.btn):not(.ecc-nav-btn),
html[data-apple-theme="apple-light"] td a:not(.btn):not(.ecc-nav-btn) {
  color: #7C4D10 !important;
  -webkit-text-fill-color: #7C4D10 !important;
  text-decoration-color: rgba(124, 77, 16, 0.45) !important;
  font-weight: 700 !important;
}

/* Excepción: dentro de banners hero oscuros (.subpage-hero, .hero-fullbleed) en Modo Claro, los enlaces siguen siendo dorados claros */
html[data-apple-theme="apple-light"] .subpage-hero p a:not(.btn),
html[data-apple-theme="apple-light"] .hero-fullbleed p a:not(.btn) {
  color: #FDE68A !important;
  -webkit-text-fill-color: #FDE68A !important;
}
/* === HITO 93 END === */


/* === HITO 94: BLINDAJE DE CONTRASTE DE LA MEGA-PANTALLA DE FECHAS Y FASES (#01-#07) === */
#eccGiantStageOverlayRoot .ecc-giant-tl-node:not(.activo) {
  background: rgba(30, 35, 46, 0.94) !important;
  color: #F8FAFC !important;
  -webkit-text-fill-color: #F8FAFC !important;
  border: 1.5px solid rgba(255, 255, 255, 0.24) !important;
}
#eccGiantStageOverlayRoot .ecc-giant-tl-node.pasado:not(.activo) {
  background: linear-gradient(180deg, rgba(16, 62, 48, 0.95) 0%, rgba(11, 42, 33, 0.96) 100%) !important;
  border: 1.5px solid rgba(52, 211, 153, 0.72) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}
#eccGiantStageOverlayRoot .ecc-giant-tl-node.activo {
  background: linear-gradient(180deg, #D8AE48 0%, #B38428 100%) !important;
  color: #090B10 !important;
  -webkit-text-fill-color: #090B10 !important;
  border: 1.5px solid #FFF3C4 !important;
}
#eccGiantStageOverlayRoot .ecc-giant-telemetry-grid div {
  color: #F8FAFC !important;
  -webkit-text-fill-color: #F8FAFC !important;
}
#eccGiantStageOverlayRoot .ecc-giant-telemetry-grid strong {
  color: #F5D77F !important;
  -webkit-text-fill-color: #F5D77F !important;
}


/* ==========================================================================
   HITO 96 — BLINDAJE DEL LOGO 600M EN VÍDEOS AL HACER GRANDE LA PANTALLA O
   ENTRAR EN PANTALLA COMPLETA (OBJECT-FIT: CONTAIN + SIN RECORTE LATERAL)
   ========================================================================== */
video:not(#fbHeroCinemaBgVideo),
video:fullscreen,
video:-webkit-full-screen,
video:-moz-full-screen,
.ecc-tml-feature-img-box video,
.tml-fade-card-media video,
.tml-video-frame-clean video,
.ecc-hero-video-frame video {
  object-fit: contain !important;
  object-position: center center !important;
  background-color: #000000 !important;
  transform: none !important;
}

.tml-fade-card-media:has(video)::after,
.ecc-tml-feature-img-box:has(video)::after {
  display: none !important;
}

html[data-apple-theme="apple-light"] #eccTmlFullOverlayMenu h4,
html[data-apple-theme="classic-antes"] #eccTmlFullOverlayMenu h4,
#eccTmlFullOverlayMenu #eccTmlOvFeatureTitle,
#eccTmlFullOverlayMenu .ecc-tml-feature-title {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}



/* ==========================================================================
   HITO 97 — CALIBRACIÓN GLOBAL ANTI-NEGRO ABSOLUTO Y ANTI-BLANCO CEGADOR
   - Modo Oscuro (classic-antes): Grafito Cálido (#141518 lienzo / #1C1D22 tarjetas / #23252C elevación)
   - Modo Claro (apple-light): Marfil y Piedra Cálida (#ECE9E2 lienzo / #F7F5F0 tarjetas / #E4E0D7 elevación)
   - Elimina bloques #06070A, #08090C, #050811, #070B14, #0A0B0F y blancos puros #FFFFFF en todas las páginas y modales.
   ========================================================================== */

/* 1. Pie institucional (#mod600-redes, #mod600-nosotros-institucional) y #mod600-directo:
      Grafito cálido en Modo Oscuro y Piedra Marfil en Modo Claro + Padding Lateral Blindado */
#mod600-redes.mod600-panel,
#mod600-nosotros-institucional.mod600-panel,
#mod600-directo.mod600-panel,
html[data-apple-theme="classic-antes"] #mod600-redes.mod600-panel,
html[data-apple-theme="classic-antes"] #mod600-nosotros-institucional.mod600-panel,
html[data-apple-theme="classic-antes"] #mod600-directo.mod600-panel {
  background: var(--ecc-dark-card, #1C1D22) !important;
  color: var(--ecc-dark-ink, #ECEEEF) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.38) !important;
  padding: clamp(32px, 3.6vw, 48px) clamp(36px, 4vw, 54px) !important;
  border-radius: 24px !important;
  box-sizing: border-box !important;
}

html[data-apple-theme="apple-light"] #mod600-redes.mod600-panel,
html[data-apple-theme="apple-light"] #mod600-nosotros-institucional.mod600-panel,
html[data-apple-theme="apple-light"] #mod600-directo.mod600-panel {
  background: var(--ecc-light-card, #F7F5F0) !important;
  color: var(--ecc-light-ink, #1C1B18) !important;
  border: 1px solid rgba(28, 27, 24, 0.14) !important;
  box-shadow: 0 16px 40px rgba(28, 27, 24, 0.08) !important;
  padding: clamp(32px, 3.6vw, 48px) clamp(36px, 4vw, 54px) !important;
  border-radius: 24px !important;
  box-sizing: border-box !important;
}

html[data-apple-theme="apple-light"] #mod600-redes h3.tml-social-brand-title,
html[data-apple-theme="apple-light"] #mod600-nosotros-institucional h4.tml-footer-col-title,
html[data-apple-theme="apple-light"] #mod600-nosotros-institucional strong,
html[data-apple-theme="apple-light"] #mod600-directo .mod600-title,
html[data-apple-theme="apple-light"] #mod600-directo h3,
html[data-apple-theme="apple-light"] #mod600-directo h4,
html[data-apple-theme="apple-light"] #mod600-directo strong {
  color: #1C1B18 !important;
  -webkit-text-fill-color: #1C1B18 !important;
}

html[data-apple-theme="apple-light"] #mod600-directo .mod600-sub,
html[data-apple-theme="apple-light"] #mod600-directo p,
html[data-apple-theme="apple-light"] #mod600-directo div:not(.btn):not(.mod600-badge) {
  color: #38352E !important;
}

html[data-apple-theme="apple-light"] #mod600-directo .mod600-card {
  background: var(--ecc-light-elev, #E4E0D7) !important;
  color: #1C1B18 !important;
  border: 1px solid rgba(28, 27, 24, 0.14) !important;
}

html[data-apple-theme="apple-light"] #mod600-redes a.tml-social-icon-link {
  color: #2A2823 !important;
  -webkit-text-fill-color: #2A2823 !important;
}
html[data-apple-theme="apple-light"] #mod600-redes a.tml-social-icon-link:hover {
  color: #9A6B19 !important;
  -webkit-text-fill-color: #9A6B19 !important;
}
html[data-apple-theme="apple-light"] #mod600-nosotros-institucional .tml-footer-links a,
html[data-apple-theme="apple-light"] #mod600-nosotros-institucional .tml-footer-legal-links a,
html[data-apple-theme="apple-light"] #mod600-nosotros-institucional p,
html[data-apple-theme="apple-light"] #mod600-nosotros-institucional span {
  color: #3A3730 !important;
  -webkit-text-fill-color: #3A3730 !important;
}
html[data-apple-theme="apple-light"] #mod600-nosotros-institucional .tml-footer-links a:hover,
html[data-apple-theme="apple-light"] #mod600-nosotros-institucional .tml-footer-legal-links a:hover {
  color: #8A5A10 !important;
  -webkit-text-fill-color: #8A5A10 !important;
}

/* En Modo Claro, el emblema del pie se invierte suavemente para leerse sobre marfil */
/* Emblema oficial 600M conserva sus colores originales sin invertirse en Modo Claro */

/* 2. Neutralización de estilos inline con negros abisales (#050811, #06070A, #070B14, #08090C, #0A0B0F, #0B1120)
      en todas las páginas y modales (preservando únicamente el telón monumental #eccTmlPageCurtain y los <video>) */
html[data-apple-theme="classic-antes"] div:not(#eccTmlPageCurtain)[style*="#050811"],
html[data-apple-theme="classic-antes"] div:not(#eccTmlPageCurtain)[style*="#06070A"],
html[data-apple-theme="classic-antes"] div:not(#eccTmlPageCurtain)[style*="#060a15"],
html[data-apple-theme="classic-antes"] div:not(#eccTmlPageCurtain)[style*="#060A15"],
html[data-apple-theme="classic-antes"] div:not(#eccTmlPageCurtain)[style*="#070B14"],
html[data-apple-theme="classic-antes"] div:not(#eccTmlPageCurtain)[style*="#08090C"],
html[data-apple-theme="classic-antes"] div:not(#eccTmlPageCurtain)[style*="#0A0B0F"],
html[data-apple-theme="classic-antes"] div:not(#eccTmlPageCurtain)[style*="#0B1120"],
html[data-apple-theme="classic-antes"] section[style*="#050811"],
html[data-apple-theme="classic-antes"] section[style*="#06070A"],
html[data-apple-theme="classic-antes"] section[style*="#070B14"],
html[data-apple-theme="classic-antes"] article[style*="#050811"],
html[data-apple-theme="classic-antes"] article[style*="#06070A"] {
  background-color: var(--ecc-dark-card, #1C1D22) !important;
}

/* 3. Neutralización de blancos puros cegadores (#FFFFFF, #fff, #F8FAFC) en contenedores grandes de Modo Claro */
html[data-apple-theme="apple-light"] div[style*="background:#fff"],
html[data-apple-theme="apple-light"] div[style*="background: #fff"],
html[data-apple-theme="apple-light"] div[style*="background:#FFF"],
html[data-apple-theme="apple-light"] div[style*="background: #FFF"],
html[data-apple-theme="apple-light"] section[style*="background:#fff"],
html[data-apple-theme="apple-light"] section[style*="background: #fff"],
html[data-apple-theme="apple-light"] article[style*="background:#fff"],
html[data-apple-theme="apple-light"] article[style*="background: #fff"] {
  background: var(--ecc-light-card, #F7F5F0) !important;
  color: var(--ecc-light-ink, #1C1B18) !important;
}


/* HITO 99 — MESA DE REALIZACIÓN OBS HORIZONTAL 3 COLUMNAS PARA MONITORES DE 27 Y 30 PULGADAS */
html body .container.ecc-obs-horizontal-studio,
html[data-ecc-width-mode] body .container.ecc-obs-horizontal-studio {
  width: 98vw !important;
  max-width: 2480px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 18px !important;
  padding-right: 18px !important;
}


/* ==========================================================================
   HITO 100 — BOTONES DE SEÑAL MULTICANAL CON LOGOS OFICIALES (YOUTUBE, TWITCH, KICK)
   Y MOSCA «600 MILLONES · GALA FINAL · EN DIRECTO» ABAJO A LA DERECHA
   ========================================================================== */
.ecc-canal-signal-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 7px 13px !important;
  border-radius: 999px !important;
  background: rgba(34, 37, 45, 0.88) !important;
  color: #F4F5F7 !important;
  -webkit-text-fill-color: #F4F5F7 !important;
  border: 1px solid rgba(255, 255, 255, 0.20) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 11.8px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  backdrop-filter: blur(10px) !important;
  transition: all 0.18s ease !important;
}
.ecc-canal-signal-btn:hover {
  background: rgba(52, 56, 68, 0.95) !important;
  border-color: #DFB968 !important;
  transform: translateY(-1px) !important;
}
.ecc-canal-signal-btn.active {
  background: linear-gradient(135deg, #C89B3C 0%, #A67B27 100%) !important;
  color: #121316 !important;
  -webkit-text-fill-color: #121316 !important;
  border-color: #F3D48B !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(200, 155, 60, 0.35) !important;
}
.ecc-canal-signal-btn.active span {
  color: #121316 !important;
  -webkit-text-fill-color: #121316 !important;
}

.ecc-canal-open-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 9px 15px !important;
  border-radius: 9px !important;
  background: rgba(42, 45, 54, 0.92) !important;
  color: #F4F5F7 !important;
  -webkit-text-fill-color: #F4F5F7 !important;
  border: 1px solid rgba(255, 255, 255, 0.20) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 12.2px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all 0.18s ease !important;
}
.ecc-canal-open-link:hover {
  background: rgba(58, 62, 74, 0.98) !important;
  border-color: #DFB968 !important;
  transform: translateY(-1px) !important;
}
.ecc-canal-open-link.primary {
  background: linear-gradient(135deg, #C89B3C 0%, #A67B27 100%) !important;
  color: #121316 !important;
  -webkit-text-fill-color: #121316 !important;
  border-color: #F3D48B !important;
  font-weight: 800 !important;
}
.ecc-canal-open-link.primary span {
  color: #121316 !important;
  -webkit-text-fill-color: #121316 !important;
}


/* === BLINDAJE DEFINITIVO DE CONTRASTE, PAPEL IMPRESO, TARJETAS E IFRAMES (VIGILANTE VISUAL 600M) === */
.panel,
.strategy-panel,
.card,
.mod600-card {
  overflow-x: visible !important;
  overflow-y: visible !important;
}

/* En Modo Oscuro (classic-antes), las tarjetas que tenían fondo #FFFFFF pasan a grafito oscuro con texto claro legible */
html[data-apple-theme="classic-antes"] .card,
html[data-apple-theme="classic-antes"] .hero,
html[data-apple-theme="classic-antes"] .card-blanca,
html[data-apple-theme="classic-antes"] .card-plano,
html[data-apple-theme="classic-antes"] .doc-wrap,
html[data-apple-theme="classic-antes"] .cap-card {
  background: #22252A !important;
  color: #F2F2F7 !important;
  border-color: rgba(229, 184, 66, 0.32) !important;
}
html[data-apple-theme="classic-antes"] .card h1,
html[data-apple-theme="classic-antes"] .card h2,
html[data-apple-theme="classic-antes"] .card h3,
html[data-apple-theme="classic-antes"] .hero h1,
html[data-apple-theme="classic-antes"] .hero h2,
html[data-apple-theme="classic-antes"] .doc-wrap h1,
html[data-apple-theme="classic-antes"] .doc-wrap h2,
html[data-apple-theme="classic-antes"] .cap-card h2,
html[data-apple-theme="classic-antes"] .cap-card h3 {
  color: #F5D061 !important;
}
html[data-apple-theme="classic-antes"] .card p,
html[data-apple-theme="classic-antes"] .hero p,
html[data-apple-theme="classic-antes"] .doc-wrap p,
html[data-apple-theme="classic-antes"] .doc-wrap li,
html[data-apple-theme="classic-antes"] .cap-card p,
html[data-apple-theme="classic-antes"] .cap-card li {
  color: #E5E7EB !important;
}
html[data-apple-theme="classic-antes"] .doc-wrap th,
html[data-apple-theme="classic-antes"] .cap-card th {
  background: #1A1C20 !important;
  color: #F5D061 !important;
}

/* BLINDAJE DEL ACTA OFICIAL IMPRIMIBLE (.sheet / #documentoActaPrintable) — Imagen 1:
   El papel oficial marfil (#FAF7F0) mantiene SIEMPRE tinta negra nítida (#0F172A) y casillas claras legibles */
.sheet,
#documentoActaPrintable,
html[data-apple-theme="classic-antes"] .sheet,
html[data-apple-theme="classic-antes"] #documentoActaPrintable {
  background: #FAF7F0 !important;
  color: #0F172A !important;
  border: 2px solid #0F172A !important;
}
.sheet h1,
.sheet h2,
.sheet h3,
.sheet h4,
.sheet strong,
.sheet td,
.sheet th,
#documentoActaPrintable h1,
#documentoActaPrintable h2,
#documentoActaPrintable h3,
#documentoActaPrintable h4,
#documentoActaPrintable strong,
#documentoActaPrintable td,
#documentoActaPrintable th,
html[data-apple-theme="classic-antes"] .sheet h1,
html[data-apple-theme="classic-antes"] .sheet h2,
html[data-apple-theme="classic-antes"] .sheet h3,
html[data-apple-theme="classic-antes"] .sheet h4,
html[data-apple-theme="classic-antes"] .sheet strong,
html[data-apple-theme="classic-antes"] .sheet td,
html[data-apple-theme="classic-antes"] .sheet th,
html[data-apple-theme="classic-antes"] #documentoActaPrintable h1,
html[data-apple-theme="classic-antes"] #documentoActaPrintable h2,
html[data-apple-theme="classic-antes"] #documentoActaPrintable h3,
html[data-apple-theme="classic-antes"] #documentoActaPrintable h4,
html[data-apple-theme="classic-antes"] #documentoActaPrintable strong,
html[data-apple-theme="classic-antes"] #documentoActaPrintable td,
html[data-apple-theme="classic-antes"] #documentoActaPrintable th {
  color: #0F172A !important;
  -webkit-text-fill-color: #0F172A !important;
}
html[data-apple-theme="classic-antes"] .sheet p,
html[data-apple-theme="classic-antes"] .sheet label,
html[data-apple-theme="classic-antes"] .sheet div,
html[data-apple-theme="classic-antes"] .sheet span,
html[data-apple-theme="classic-antes"] #documentoActaPrintable p,
html[data-apple-theme="classic-antes"] #documentoActaPrintable label,
html[data-apple-theme="classic-antes"] #documentoActaPrintable div,
html[data-apple-theme="classic-antes"] #documentoActaPrintable span {
  color: #1E293B !important;
}
html[data-apple-theme="classic-antes"] .sheet .field,
html[data-apple-theme="classic-antes"] #documentoActaPrintable .field {
  background: #FFFFFF !important;
  border: 1.5px solid #94A3B8 !important;
}
html[data-apple-theme="classic-antes"] .sheet input,
html[data-apple-theme="classic-antes"] .sheet select,
html[data-apple-theme="classic-antes"] .sheet textarea,
html[data-apple-theme="classic-antes"] #documentoActaPrintable input,
html[data-apple-theme="classic-antes"] #documentoActaPrintable select,
html[data-apple-theme="classic-antes"] #documentoActaPrintable textarea {
  background: #F8FAFC !important;
  color: #0F172A !important;
  -webkit-text-fill-color: #0F172A !important;
  border: 1px solid #CBD5E1 !important;
  padding: 6px 8px !important;
  border-radius: 6px !important;
}
html[data-apple-theme="classic-antes"] .sheet h2,
html[data-apple-theme="classic-antes"] #documentoActaPrintable h2,
html[data-apple-theme="classic-antes"] .sheet table.liq-table th,
html[data-apple-theme="classic-antes"] #documentoActaPrintable table.liq-table th {
  background: #E2E8F0 !important;
  color: #0F172A !important;
}

/* Banners esmeralda (#ECFDF5) con texto verde oscuro legible siempre */
#voteReceiptBanner,
#subBlogEstado,
#voteReceiptBanner *,
#subBlogEstado * {
  color: #065F46 !important;
}



/* === FIX ALINEACION HERO PUBLICO SIN RECORTE SUPERIOR === */
.hero-fullbleed-content {
  margin-top: auto !important;
  padding-top: 68px !important;
}
body:not(.ecc-staff-bar-open) #ecc-master-AdminBar,
body:not(.ecc-staff-bar-open) #eccAdminQuickTicksBar,
body:not(.ecc-staff-bar-open) #eccVivaSelectorMontajesBar,
body:not(.ecc-staff-bar-open) #eccPublicHeaderCleanPreviewBtn {
  display: none !important;
}

/* === ESCUADRON AUTONOMO 8 AGENTES WCAG 2.1 AAA START === */
/* ----------------------------------------------------------------------------
   AGENTE 1 Y 6: BLINDAJE INTEGRAL DE PIE INSTITUCIONAL (#mod600-redes y
   #mod600-nosotros-institucional) Y CABECERA SUPERIOR EN MODO CLARO Y OSCURO
   ---------------------------------------------------------------------------- */

/* 0. Variables Globales Sincronizadas en Modo Oscuro (classic-antes) y Modo Claro (apple-light) */
html[data-apple-theme="classic-antes"] {
  --bg-page: #141518 !important;
  --bg-card: #1C1D22 !important;
  --ink-main: #F2F2F7 !important;
  --ink-soft: #E2E8F0 !important;
  --ink-muted: #CBD5E1 !important;
}
html[data-apple-theme="apple-light"] {
  --bg-page: #ECE9E2 !important;
  --bg-card: #F7F5F0 !important;
  --ink-main: #1C1B18 !important;
  --ink-soft: #2C2A25 !important;
  --ink-muted: #4A463E !important;
}

/* 1. En Modo Claro (apple-light): Fondo Piedra Marfil (#F7F5F0) y textos/enlaces/iconos
      en Carbón Editorial (#141518 / #1C1B18) y Oro Bronce (#7C4D10) con contraste > 8.5:1 */
html[data-apple-theme="apple-light"] #mod600-redes.mod600-panel,
html[data-apple-theme="apple-light"] #mod600-nosotros-institucional.mod600-panel {
  background: #F7F5F0 !important;
  color: #1C1B18 !important;
  border: 1px solid rgba(28, 27, 24, 0.16) !important;
  box-shadow: 0 18px 44px rgba(28, 27, 24, 0.08) !important;
}

/* El emblema oficial NUNCA se invierte de color en Modo Claro */
html[data-apple-theme="apple-light"] #mod600-redes img,
html[data-apple-theme="apple-light"] #mod600-nosotros-institucional img,
html[data-apple-theme="apple-light"] img[src*="logo_oficial_600millones"],
html[data-apple-theme="apple-light"] img[src*="logo_600m"] {
  filter: drop-shadow(0 6px 18px rgba(28, 27, 24, 0.18)) !important;
}

html[data-apple-theme="apple-light"] #mod600-redes .tml-brand-emblem-kicker,
html[data-apple-theme="apple-light"] #mod600-redes .tml-brand-emblem-block span,
html[data-apple-theme="apple-light"] #mod600-redes .tml-brand-emblem-sub,
html[data-apple-theme="apple-light"] #mod600-redes p.tml-brand-emblem-sub {
  color: #7C4D10 !important;
  -webkit-text-fill-color: #7C4D10 !important;
  font-weight: 800 !important;
}

html[data-apple-theme="apple-light"] #mod600-redes .tml-brand-emblem-title,
html[data-apple-theme="apple-light"] #mod600-redes h3 {
  color: #141518 !important;
  -webkit-text-fill-color: #141518 !important;
}

html[data-apple-theme="apple-light"] #mod600-redes .tml-social-hairline-row::before,
html[data-apple-theme="apple-light"] #mod600-redes .tml-social-hairline-row::after {
  background: rgba(28, 27, 24, 0.22) !important;
}

html[data-apple-theme="apple-light"] #mod600-redes a.tml-social-pure-icon,
html[data-apple-theme="apple-light"] #mod600-redes a.tml-social-icon-link {
  color: #1C1B18 !important;
  -webkit-text-fill-color: #1C1B18 !important;
}

html[data-apple-theme="apple-light"] #mod600-redes a.tml-social-pure-icon svg,
html[data-apple-theme="apple-light"] #mod600-redes a.tml-social-pure-icon path {
  fill: currentColor !important;
  color: inherit !important;
}

html[data-apple-theme="apple-light"] #mod600-redes a.tml-social-pure-icon:hover,
html[data-apple-theme="apple-light"] #mod600-redes a.tml-social-icon-link:hover {
  color: #8A5A10 !important;
  -webkit-text-fill-color: #8A5A10 !important;
  filter: drop-shadow(0 2px 8px rgba(138, 90, 16, 0.35)) !important;
}

html[data-apple-theme="apple-light"] #mod600-nosotros-institucional .tml-footer-col-title,
html[data-apple-theme="apple-light"] #mod600-nosotros-institucional h4 {
  color: #141518 !important;
  -webkit-text-fill-color: #141518 !important;
  font-weight: 800 !important;
}

html[data-apple-theme="apple-light"] #mod600-nosotros-institucional a.tml-footer-link,
html[data-apple-theme="apple-light"] #mod600-nosotros-institucional .tml-footer-text,
html[data-apple-theme="apple-light"] #mod600-nosotros-institucional span.tml-footer-text,
html[data-apple-theme="apple-light"] #mod600-nosotros-institucional .tml-footer-bottom-bar,
html[data-apple-theme="apple-light"] #mod600-nosotros-institucional .tml-footer-bottom-bar div,
html[data-apple-theme="apple-light"] #mod600-nosotros-institucional .tml-footer-legal-btn {
  color: #24221E !important;
  -webkit-text-fill-color: #24221E !important;
  font-weight: 500 !important;
  opacity: 1 !important;
}

html[data-apple-theme="apple-light"] #mod600-nosotros-institucional a.tml-footer-link:hover,
html[data-apple-theme="apple-light"] #mod600-nosotros-institucional .tml-footer-legal-btn:hover {
  color: #0055B3 !important;
  -webkit-text-fill-color: #0055B3 !important;
  text-decoration: underline !important;
}

html[data-apple-theme="apple-light"] #mod600-nosotros-institucional .tml-footer-bottom-bar {
  border-top: 1px solid rgba(28, 27, 24, 0.16) !important;
}

/* 2. Cabecera Superior (header.fullbleed-nav y header.subpage-top-nav) en Modo Claro:
      Siempre legible tanto en reposo como en :hover y .ecc-header-scrolled */
html[data-apple-theme="apple-light"] header.fullbleed-nav,
html[data-apple-theme="apple-light"] header.subpage-top-nav,
html[data-apple-theme="apple-light"] header.fullbleed-nav:hover,
html[data-apple-theme="apple-light"] header.subpage-top-nav:hover,
html[data-apple-theme="apple-light"] header.fullbleed-nav.ecc-header-scrolled,
html[data-apple-theme="apple-light"] header.subpage-top-nav.ecc-header-scrolled {
  background: rgba(247, 245, 240, 0.95) !important;
  border-bottom: 1px solid rgba(28, 27, 24, 0.14) !important;
  box-shadow: 0 8px 28px rgba(28, 27, 24, 0.08) !important;
}

html[data-apple-theme="apple-light"] header .fb-brand-title,
html[data-apple-theme="apple-light"] header:hover .fb-brand-title {
  color: #141518 !important;
  -webkit-text-fill-color: #141518 !important;
}

html[data-apple-theme="apple-light"] header .fb-brand-sub,
html[data-apple-theme="apple-light"] header:hover .fb-brand-sub,
html[data-apple-theme="apple-light"] header .fb-brand-motto,
html[data-apple-theme="apple-light"] header:hover .fb-brand-motto {
  color: #7C4D10 !important;
  -webkit-text-fill-color: #7C4D10 !important;
}

html[data-apple-theme="apple-light"] header .ecc-nav-multinivel .ecc-nav-btn {
  color: #1C1B18 !important;
  -webkit-text-fill-color: #1C1B18 !important;
  font-weight: 600 !important;
}

html[data-apple-theme="apple-light"] header .ecc-nav-multinivel .ecc-nav-btn:hover,
html[data-apple-theme="apple-light"] header .ecc-nav-multinivel .ecc-nav-btn.activo {
  color: #7C4D10 !important;
  -webkit-text-fill-color: #7C4D10 !important;
}

html[data-apple-theme="apple-light"] header .ecc-nav-multinivel .ecc-nav-btn::after {
  background: #8A5A10 !important;
  box-shadow: none !important;
}

html[data-apple-theme="apple-light"] header .ecc-tml-launcher-btn,
html[data-apple-theme="apple-light"] header .ecc-tml-icon-btn {
  background: rgba(28, 27, 24, 0.06) !important;
  border: 1px solid rgba(28, 27, 24, 0.24) !important;
  color: #1C1B18 !important;
  -webkit-text-fill-color: #1C1B18 !important;
}

html[data-apple-theme="apple-light"] header .ecc-tml-launcher-btn:hover,
html[data-apple-theme="apple-light"] header .ecc-tml-icon-btn:hover {
  background: rgba(28, 27, 24, 0.14) !important;
  border-color: #1C1B18 !important;
  color: #141518 !important;
}

/* 3. Botón .ecc-tml-icon-btn dentro del Gran Menú Overlay (#eccTmlFullOverlayMenu) */
#eccTmlFullOverlayMenu .ecc-tml-icon-btn {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: #FFFFFF !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
}

/* ----------------------------------------------------------------------------
   AGENTE 3 Y 4: PROTECCIÓN DE CONTENEDORES OSCUROS FIJOS, BOTONES CON FONDO
   DE COLOR Y MODALES EN MODO CLARO + ADAPTACIÓN DE SUBPÁGINAS EN AMBOS TEMAS
   ---------------------------------------------------------------------------- */

/* 4.0 Botones con fondo azul (#0071E3), esmeralda (#059669), oro (#B8860B) o pizarra
       (#0F172A, #1E293B, #334155) mantienen SIEMPRE su texto blanco #FFFFFF en Modo Claro */
html[data-apple-theme="apple-light"] [style*="background:#0071E3"],
html[data-apple-theme="apple-light"] [style*="background: #0071E3"],
html[data-apple-theme="apple-light"] [style*="background:#059669"],
html[data-apple-theme="apple-light"] [style*="background: #059669"],
html[data-apple-theme="apple-light"] [style*="background:#B8860B"],
html[data-apple-theme="apple-light"] [style*="background: #B8860B"],
html[data-apple-theme="apple-light"] [style*="background:#0F172A"],
html[data-apple-theme="apple-light"] [style*="background: #0F172A"],
html[data-apple-theme="apple-light"] [style*="background:#1E293B"],
html[data-apple-theme="apple-light"] [style*="background:#334155"] {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

/* 4.1 Cabeceras oscuras de modales (.ecc-dark-modal-header-fixed), cajas monumentales
       (.ecc-empty-monumental-box), visor de urnas (#eccModalAdminUrnasRoot) y visor BOE
       mantienen sus textos claros en Modo Claro */
html[data-apple-theme="apple-light"] .ecc-dark-modal-header-fixed,
html[data-apple-theme="apple-light"] .ecc-dark-modal-header-fixed h3,
html[data-apple-theme="apple-light"] .ecc-dark-modal-header-fixed h4,
html[data-apple-theme="apple-light"] .ecc-dark-modal-header-fixed div,
html[data-apple-theme="apple-light"] .ecc-empty-monumental-box h4,
html[data-apple-theme="apple-light"] .ecc-empty-monumental-box div,
html[data-apple-theme="apple-light"] #eccModalAdminUrnasRoot h3,
html[data-apple-theme="apple-light"] #eccModalAdminUrnasRoot h4 {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

html[data-apple-theme="apple-light"] .ecc-dark-modal-header-fixed span,
html[data-apple-theme="apple-light"] #eccModalAdminUrnasRoot strong {
  color: #FDE68A !important;
  -webkit-text-fill-color: #FDE68A !important;
}

/* Tablas dentro de #eccModalAdminUrnasRoot mantienen fondo oscuro para leer sus textos claros */
html[data-apple-theme="apple-light"] #eccModalAdminUrnasRoot table th {
  background: #181A20 !important;
  color: #FDE68A !important;
  -webkit-text-fill-color: #FDE68A !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16) !important;
}
html[data-apple-theme="apple-light"] #eccModalAdminUrnasRoot table td,
html[data-apple-theme="apple-light"] #eccModalAdminUrnasRoot table tr {
  background: #20232B !important;
  color: #F1F5F9 !important;
  -webkit-text-fill-color: #F1F5F9 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* 4.2 Formulario .sis600-wrap en Modo Claro: se adapta a tarjeta clara Marfil con texto carbón */
html[data-apple-theme="apple-light"] .sis600-wrap {
  background: #F7F5F0 !important;
  color: #1C1B18 !important;
  border: 1.5px solid rgba(28, 27, 24, 0.16) !important;
  box-shadow: 0 18px 44px rgba(28, 27, 24, 0.08) !important;
}
html[data-apple-theme="apple-light"] .sis600-header {
  background: #EAE5DA !important;
  border-bottom: 1px solid rgba(28, 27, 24, 0.14) !important;
}
html[data-apple-theme="apple-light"] .sis600-title,
html[data-apple-theme="apple-light"] .sis600-wrap h3,
html[data-apple-theme="apple-light"] .sis600-wrap h4,
html[data-apple-theme="apple-light"] .sis600-wrap strong,
html[data-apple-theme="apple-light"] .sis600-label {
  color: #141518 !important;
  -webkit-text-fill-color: #141518 !important;
}
html[data-apple-theme="apple-light"] .sis600-sub,
html[data-apple-theme="apple-light"] .sis600-check-row,
html[data-apple-theme="apple-light"] .sis600-check-row span {
  color: #2C2A25 !important;
  -webkit-text-fill-color: #2C2A25 !important;
}
html[data-apple-theme="apple-light"] .sis600-check-row,
html[data-apple-theme="apple-light"] .sis600-receipt-box {
  background: #EFECE4 !important;
  border: 1px solid rgba(28, 27, 24, 0.15) !important;
  color: #1C1B18 !important;
}
html[data-apple-theme="apple-light"] .sis600-cand-table td span,
html[data-apple-theme="apple-light"] .sis600-cand-table td div {
  color: #1C1B18 !important;
  -webkit-text-fill-color: #1C1B18 !important;
}

/* 4.3 Bloques de Web Viva (.ecc-launch-bento-panel, #eccBloqueVivoFase3Criba, #eccBloqueVivoFase5GalaFinal, avisoCustodiaFase2)
       en Modo Claro: superficie clara Marfil con textos carbón de alto contraste */
html[data-apple-theme="apple-light"] .ecc-launch-bento-panel,
html[data-apple-theme="apple-light"] #eccBloqueVivoFase3Criba .ecc-launch-bento-panel,
html[data-apple-theme="apple-light"] #eccBloqueVivoFase5GalaFinal .ecc-launch-bento-panel,
html[data-apple-theme="apple-light"] #avisoCustodiaFase2 {
  background: #F7F5F0 !important;
  color: #1C1B18 !important;
  border: 1.5px solid rgba(28, 27, 24, 0.16) !important;
}
html[data-apple-theme="apple-light"] .ecc-launch-bento-panel .ecc-step-box,
html[data-apple-theme="apple-light"] #eccBloqueVivoFase3Criba .ecc-step-box,
html[data-apple-theme="apple-light"] #eccBloqueVivoFase5GalaFinal .ecc-step-box {
  background: #EFECE4 !important;
  color: #1C1B18 !important;
  border: 1px solid rgba(28, 27, 24, 0.14) !important;
}
html[data-apple-theme="apple-light"] .ecc-launch-bento-panel h2,
html[data-apple-theme="apple-light"] .ecc-launch-bento-panel h3,
html[data-apple-theme="apple-light"] .ecc-launch-bento-panel h4,
html[data-apple-theme="apple-light"] .ecc-launch-bento-panel p,
html[data-apple-theme="apple-light"] .ecc-launch-bento-panel strong,
html[data-apple-theme="apple-light"] #avisoCustodiaFase2 h4,
html[data-apple-theme="apple-light"] #avisoCustodiaFase2 p,
html[data-apple-theme="apple-light"] #avisoCustodiaFase2 strong {
  color: #141518 !important;
  -webkit-text-fill-color: #141518 !important;
}
html[data-apple-theme="apple-light"] .ecc-launch-bento-panel .tml-minimal-btn {
  color: #1C1B18 !important;
  -webkit-text-fill-color: #1C1B18 !important;
  border-color: rgba(28, 27, 24, 0.35) !important;
  background: #EFECE4 !important;
}
html[data-apple-theme="apple-light"] .ecc-launch-bento-panel .tml-subtle-pill {
  color: #065F46 !important;
  -webkit-text-fill-color: #065F46 !important;
  border-color: rgba(6, 95, 70, 0.35) !important;
}

/* 4.4 Validador Previo Pasarela (#validador-previo-pasarela-com-600m) y Cajas de Inscripción
       en inscripcion_bases_y_hacienda.html en Modo Claro y Modo Oscuro */
html[data-apple-theme="apple-light"] #validador-previo-pasarela-com-600m {
  background: #F7F5F0 !important;
  color: #1C1B18 !important;
  border: 2px solid #C89B3C !important;
  box-shadow: 0 16px 40px rgba(28, 27, 24, 0.08) !important;
}
html[data-apple-theme="apple-light"] #validador-previo-pasarela-com-600m h2,
html[data-apple-theme="apple-light"] #validador-previo-pasarela-com-600m h3,
html[data-apple-theme="apple-light"] #validador-previo-pasarela-com-600m p,
html[data-apple-theme="apple-light"] #validador-previo-pasarela-com-600m div,
html[data-apple-theme="apple-light"] #validador-previo-pasarela-com-600m label,
html[data-apple-theme="apple-light"] #validador-previo-pasarela-com-600m span:not([style*="background:#10B981"]) {
  color: #1C1B18 !important;
  -webkit-text-fill-color: #1C1B18 !important;
}
html[data-apple-theme="apple-light"] #validador-previo-pasarela-com-600m label {
  background: #EFECE4 !important;
  border-color: rgba(28, 27, 24, 0.16) !important;
}

/* Botones de descarga con background:#F1F5F9 en Modo Oscuro (classic-antes) */
html[data-apple-theme="classic-antes"] a[style*="background:#F1F5F9"] {
  background: #2A2D35 !important;
  color: #F8FAFC !important;
  -webkit-text-fill-color: #F8FAFC !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
}

/* 4.5 Urna Fase 4 (#eccBannerEstadoUrnaFase4) y Fase 5 (#eccBannerEstadoUrnaFase5) */
html[data-apple-theme="apple-light"] #eccBannerEstadoUrnaFase4 [style*="background:#1B1D24"],
html[data-apple-theme="apple-light"] #eccBannerEstadoUrnaFase4 a[style*="background:#1B1D24"] {
  background: #1B1D24 !important;
  color: #FDE68A !important;
  -webkit-text-fill-color: #FDE68A !important;
}
html[data-apple-theme="apple-light"] #eccBannerEstadoUrnaFase4 [style*="color:#FCA5A5"] {
  color: #9F1239 !important;
  -webkit-text-fill-color: #9F1239 !important;
}
html[data-apple-theme="apple-light"] #eccBannerEstadoUrnaFase5 [style*="color:#D4AF37"] {
  color: #7C4D10 !important;
  -webkit-text-fill-color: #7C4D10 !important;
}

/* 4.6 Modal Legal AEPD/RGPD (.ecc-legal-modal y #modalFichaFiscalPaisBox) */
html[data-apple-theme="classic-antes"] .ecc-legal-modal a[style*="color:#0071E3"],
html[data-apple-theme="classic-antes"] .ecc-legal-modal label[style*="color:#0071E3"],
html[data-apple-theme="classic-antes"] .ecc-legal-modal div[style*="color:#0071E3"] {
  color: #7DD3FC !important;
  -webkit-text-fill-color: #7DD3FC !important;
}
html[data-apple-theme="apple-light"] .ecc-legal-modal label[style*="color:#F59E0B"] {
  color: #92400E !important;
  -webkit-text-fill-color: #92400E !important;
}
html[data-apple-theme="apple-light"] #modalFichaFiscalPaisBox span[style*="color:#38BDF8"],
html[data-apple-theme="apple-light"] #modalFichaFiscalPaisBox a[style*="color:#38BDF8"] {
  color: #0369A1 !important;
  -webkit-text-fill-color: #0369A1 !important;
  border-color: #0369A1 !important;
}
html[data-apple-theme="apple-light"] #modalFichaFiscalPaisBox span[style*="color:#34D399"] {
  color: #065F46 !important;
  -webkit-text-fill-color: #065F46 !important;
}

/* 4.7 Banners #voteReceiptBanner y #subBlogEstado en Modo Oscuro vs Modo Claro */
html[data-apple-theme="classic-antes"] #voteReceiptBanner,
html[data-apple-theme="classic-antes"] #subBlogEstado,
html[data-apple-theme="classic-antes"] #voteReceiptBanner *,
html[data-apple-theme="classic-antes"] #subBlogEstado * {
  color: #6EE7B7 !important;
  -webkit-text-fill-color: #6EE7B7 !important;
}
html[data-apple-theme="apple-light"] #voteReceiptBanner,
html[data-apple-theme="apple-light"] #subBlogEstado,
html[data-apple-theme="apple-light"] #voteReceiptBanner *,
html[data-apple-theme="apple-light"] #subBlogEstado * {
  color: #065F46 !important;
  -webkit-text-fill-color: #065F46 !important;
}

/* 4.8 Tarjetas de Subpáginas (.card-quienes, .card-blanca, .card-plano, .cajetin-miembro,
       .media-card, .blog-card, .filter-pills-bar, .toolbar-faq, .subscribe-banner-box, .dossier)
       Sincronización 100% limpia en Modo Oscuro (classic-antes) y Modo Claro (apple-light) */
html[data-apple-theme="classic-antes"] .card-quienes,
html[data-apple-theme="classic-antes"] .card-blanca,
html[data-apple-theme="classic-antes"] .card-plano,
html[data-apple-theme="classic-antes"] .cajetin-miembro,
html[data-apple-theme="classic-antes"] .media-card,
html[data-apple-theme="classic-antes"] .blog-card,
html[data-apple-theme="classic-antes"] .filter-pills-bar,
html[data-apple-theme="classic-antes"] .toolbar-faq,
html[data-apple-theme="classic-antes"] .subscribe-banner-box {
  background: #1C1D22 !important;
  color: #F2F2F7 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}
html[data-apple-theme="classic-antes"] .media-card-footer,
html[data-apple-theme="classic-antes"] .blog-card-footer {
  background: #16181D !important;
  color: #CBD5E1 !important;
  border-top-color: rgba(255, 255, 255, 0.08) !important;
}
html[data-apple-theme="apple-light"] .card-quienes,
html[data-apple-theme="apple-light"] .card-blanca,
html[data-apple-theme="apple-light"] .card-plano,
html[data-apple-theme="apple-light"] .cajetin-miembro,
html[data-apple-theme="apple-light"] .media-card,
html[data-apple-theme="apple-light"] .blog-card,
html[data-apple-theme="apple-light"] .filter-pills-bar,
html[data-apple-theme="apple-light"] .toolbar-faq,
html[data-apple-theme="apple-light"] .subscribe-banner-box,
html[data-apple-theme="apple-light"] .dossier,
html[data-apple-theme="apple-light"] .kpi-box,
html[data-apple-theme="apple-light"] .press-release-box,
html[data-apple-theme="apple-light"] .asset-card {
  background: #F7F5F0 !important;
  color: #1C1B18 !important;
  border-color: rgba(28, 27, 24, 0.15) !important;
}
html[data-apple-theme="apple-light"] .media-card-footer,
html[data-apple-theme="apple-light"] .blog-card-footer {
  background: #EFECE4 !important;
  color: #3A3730 !important;
  border-top-color: rgba(28, 27, 24, 0.10) !important;
}

/* Ocultar por defecto frases negras superiores en Hero y cartel Efecto Apple Spatial 3D salvo tick activo en Estudio */
html:not([data-ecc-show-hero-meta="true"]) .hero-fullbleed-top-meta,
html:not([data-ecc-show-hero-meta="true"]) .hero-glass-badge,
html:not([data-ecc-show-hero-meta="true"]) #fbHeroCode,
html:not([data-ecc-show-apple-badge="true"]) #btnActivarGyroApple,
html:not([data-ecc-show-apple-badge="true"]) .apple-gyro-pill-btn,
html:not([data-ecc-show-apple-badge="true"]) .spatial-badge,
html:not([data-ecc-show-apple-badge="true"]) #eccSpatialStatusBadge {
  display: none !important;
}
html[data-ecc-show-hero-meta="true"] .hero-fullbleed-top-meta {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  overflow: visible !important;
  pointer-events: auto !important;
}
html[data-ecc-show-apple-badge="true"] #eccSpatialStatusBadge,
html[data-ecc-show-apple-badge="true"] .spatial-badge {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  overflow: visible !important;
  pointer-events: auto !important;
}

/* === ESCUADRON AUTONOMO 8 AGENTES WCAG 2.1 AAA END === */

/* ECC_LIGHT_DARK_CARDS_SAFEGUARD */
html[data-apple-theme="apple-light"] #validador-previo-pasarela-com-600m [style*="color:#fff"],
html[data-apple-theme="apple-light"] #validador-previo-pasarela-com-600m [style*="color: #fff"],
html[data-apple-theme="apple-light"] .hero-bases [style*="color:#fff"],
html[data-apple-theme="apple-light"] .hero-quienes [style*="color:#fff"],
html[data-apple-theme="apple-light"] .subpage-hero [style*="color:#fff"] {
  color: #F8FAFC !important;
}
