/* Emerald League — fondo vivo unificado. No modifica lógica. */
html{background:#edf6f0}
body{background:transparent!important}
.emerald-global-video{position:fixed!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;z-index:0!important;pointer-events:none!important;display:block!important;opacity:1!important}
.emerald-global-veil{position:fixed!important;inset:0!important;background:rgba(255,255,255,.18)!important;z-index:1!important;pointer-events:none!important;opacity:1!important}
body > :not(.emerald-global-video):not(.emerald-global-veil):not(script):not(style){position:relative;z-index:2}
/* Una sola transparencia suave: el video no se corta al cambiar de sección. */
#emMatchSpotlight,.em-stage-strip,.emerald-stage-destination,
body .section:not(.dark):not(.section-dark),body section.section:not(.dark),
body main:not(.dark),body .light-section{background-color:rgba(249,253,250,.80)!important;background-image:none!important}
#emMatchSpotlight{background:rgba(246,252,248,.80)!important;backdrop-filter:none!important}
.em-stage-strip{background:rgba(250,253,251,.80)!important;border-top:0!important;border-bottom:1px solid rgba(1,91,63,.13)!important}
/* Conservar paneles oscuros y tarjetas: nada de transparencias sobre textos */
body .section.dark,body .section-dark,body .em-stage-card,
body .em-spot-card,body .em-direct-panel,body .em-swiss-info-panel{background-image:revert-layer}
@media(prefers-reduced-motion:reduce){.emerald-global-video{display:none!important}html{background:#f4faf6}}


/* V5: tarjetas con fondos propios, video solamente detrás de las secciones */
.em-stage-strip .em-stage-grid .em-stage-card,
body .em-stage-strip .em-stage-card{
 background:#064a38!important;
 background-image:linear-gradient(120deg,#063d2e,#006c50)!important;
 border:1px solid #0b9069!important;
 color:#fff!important;
 opacity:1!important;
 -webkit-text-fill-color:initial!important;
}
.em-stage-strip .em-stage-grid .em-stage-card:nth-child(even){
 background:#fff!important;
 background-image:linear-gradient(130deg,#fff,#eef8f2)!important;
 border:1px solid #00865e!important;
 color:#083e2d!important;
}
.em-stage-strip .em-stage-card .em-stage-info strong,
.em-stage-strip .em-stage-card .em-stage-info small{color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important}
.em-stage-strip .em-stage-card:nth-child(even) .em-stage-info strong{color:#063b2c!important;-webkit-text-fill-color:#063b2c!important}
.em-stage-strip .em-stage-card:nth-child(even) .em-stage-info small{color:#3d6c5b!important;-webkit-text-fill-color:#3d6c5b!important}
.em-stage-strip .em-stage-card .em-stage-num,
.em-stage-strip .em-stage-card .em-stage-arrow{color:#4ce2ae!important;-webkit-text-fill-color:#4ce2ae!important;opacity:1!important}
.em-stage-strip .em-stage-card:nth-child(even) .em-stage-num,
.em-stage-strip .em-stage-card:nth-child(even) .em-stage-arrow{color:#008e65!important;-webkit-text-fill-color:#008e65!important}
.em-stage-strip .em-stage-card:hover{box-shadow:0 10px 25px rgba(0,54,38,.15)!important;transform:translateY(-2px)}
/* Paneles de tres pasos en otras páginas que reutilicen estas clases */
.emerald-stage-destination .em-stage-card:nth-child(odd){background:#064a38!important;color:white!important}
.emerald-stage-destination .em-stage-card:nth-child(even){background:#fff!important;color:#073d2d!important}
