/* Navegación global Entiende el Dinero v2 · Igual en todas las secciones */
body > nav.nav, body > header.nav, body > header.topbar { display:none !important; }
.ed-header, .ed-header * { box-sizing:border-box; }
.ed-header { position:sticky;top:0;z-index:10000;background:#070b0e; color:#f6fafb; border-bottom:1px solid #243845; box-shadow:0 8px 26px rgba(0,0,0,.28); font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;line-height:1.25; }
.ed-header a { text-decoration:none;color:inherit; }
.ed-header .ed-shell { max-width:1360px;margin:0 auto;padding:0 23px; }
.ed-top {min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px;}
.ed-brand {display:flex;align-items:center;flex:0 0 auto;min-width:0;}
.ed-brand img{width:205px;height:69px;max-width:100%;object-fit:contain;object-position:left center;display:block;}
.ed-promise{color:#a6b8c0;font-size:12px;letter-spacing:.02em;text-align:right;}
.ed-promise strong{color:#ffda48;font-weight:650;}
.ed-links{display:flex;flex-wrap:wrap;gap:4px;align-items:center;justify-content:space-between;border-top:1px solid #1b2a32;padding:6px 0 9px;}
.ed-links a{white-space:nowrap;font-size:12.8px;font-weight:640;color:#cedbe1;border:1px solid transparent;border-radius:8px;padding:8px 7px;transition:color .15s,background .15s,border-color .15s;}
.ed-links a:hover,.ed-links a:focus-visible{color:#fff;background:#152631;border-color:#466176;outline:none;}
.ed-links a[aria-current=page]{color:#ffe080;background:#18212a;border-color:#8d783e;}
.ed-mobile-toggle{display:none;align-items:center;justify-content:center;gap:8px;border:1px solid #38515f;border-radius:10px;background:#111f29;color:#fff;font:700 13px Inter,system-ui,sans-serif;min-height:44px;padding:7px 13px;cursor:pointer;}
.ed-mobile-toggle:focus-visible{outline:2px solid #ffe080;outline-offset:2px;}
@media(max-width:990px){
 .ed-top{min-height:67px;}
 .ed-header .ed-shell{padding:0 16px;}
 .ed-brand img{width:173px;height:62px;}
 .ed-promise{display:none;}
 .ed-mobile-toggle{display:inline-flex;}
 .ed-links{display:none;position:relative; flex-direction:column;align-items:stretch;gap:2px;border-top:1px solid #213643;padding:10px 0 14px;}
 .ed-links.ed-open{display:flex;}
 .ed-links a{font-size:14px;padding:11px 13px;white-space:normal;}
}
@media(max-width:390px){.ed-header .ed-shell{padding:0 12px;}.ed-brand img{width:152px;height:60px;}}

/* Juegos: barra corporativa independiente, sin solapar la barra de la partida. */
body:has(> .app) .sitebar{top:var(--ed-game-header-height,119px)}
.ed-route-nav{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:flex-start}
.ed-chapter-progress{border:1px solid #254451;background:linear-gradient(130deg,#101f27,#0b1318);border-radius:14px;padding:15px 18px;margin:18px 0 24px;color:#dce7eb}
.ed-progress-row{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:.88rem}
.ed-progress-row strong{color:#ffe080}.ed-progress-row span{color:#b0c8d1}
.ed-progress-rail{height:6px;background:#25323a;border-radius:999px;margin-top:13px;overflow:hidden}
.ed-progress-fill{height:100%;background:linear-gradient(90deg,#47b8d8,#ffce44);border-radius:999px}
.ed-route-finish{padding:18px 20px;margin-top:30px;border-left:4px solid #ffce44;border-radius:0 14px 14px 0;background:#101c23}
.ed-route-finish h2{font-size:1.35rem;margin:0 0 7px;color:#ffdd6d}.ed-route-finish p{margin:0;color:#c1ced3}
@media(max-width:680px){.ed-route-nav>.btn{width:100%;justify-content:center;text-align:center}.ed-progress-row{flex-direction:column;gap:3px}}
