@font-face{font-family:"Inter";src:url("fonts/inter-latin.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
:root{
  --azul:#0E3E72;--accion:#1577BA;--celeste:#E6F1FA;--cielo:#1A8CD8;--naranja:#E07A3A;--cta:#E07A3A;--cta-hover:#C9652C;
  --texto:#0F1923;--texto2:#2E3B47;--mut:#5A6774;--linea:rgba(14,62,114,.08);--fbg:#F5F7FA;--ok:#0F7A55;--mal:#C01B2E;
  --sh1:0 1px 1px rgba(14,62,114,.04),0 2px 6px rgba(14,62,114,.04),0 14px 34px -10px rgba(14,62,114,.12);
  --sh2:0 1px 2px rgba(14,62,114,.05),0 8px 20px rgba(14,62,114,.06),0 30px 60px -20px rgba(14,62,114,.22);
  --fglass:rgba(255,255,255,.72);--radio:26px;--on-cta:#fff;
}
*,*:before,*:after{box-sizing:border-box}
html,body{margin:0}
body{min-height:100vh;font-family:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--texto);letter-spacing:-.011em;line-height:1.45;background:radial-gradient(600px 380px at 85% -5%,rgba(26,140,216,.14),transparent 70%),radial-gradient(500px 400px at -10% 40%,rgba(21,119,186,.06),transparent 70%),var(--fbg) fixed;-webkit-font-smoothing:antialiased}
button,input{font:inherit;color:inherit}
button{cursor:pointer;border:0;background:none;padding:0}
a{color:inherit;text-decoration:none}
h1,h2,p{margin:0}
.top{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:12px;padding:calc(10px + env(safe-area-inset-top)) 16px 10px;background:var(--fglass);-webkit-backdrop-filter:blur(26px) saturate(180%);backdrop-filter:blur(26px) saturate(180%);border-bottom:.5px solid rgba(14,62,114,.07)}
.brand{display:flex;align-items:center;gap:10px;color:var(--azul);font-size:20px;font-weight:780;letter-spacing:-.03em}
.brand svg,.brand .logo{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:linear-gradient(160deg,var(--azul),var(--accion));box-shadow:0 6px 14px -6px rgba(14,62,114,.6)}
.top-spacer{flex:1}
.btn-cuenta{display:inline-flex;align-items:center;height:36px;padding:0 14px;border-radius:999px;font-size:13px;font-weight:680;color:var(--azul);background:#fff;box-shadow:inset 0 0 0 1px rgba(14,62,114,.10)}
.btn-cuenta.on{background:var(--celeste)}
.wrap{width:min(100%,720px);margin:0 auto;padding:20px 16px calc(48px + env(safe-area-inset-bottom))}
.hero{position:relative;overflow:hidden;border-radius:28px;padding:22px 22px 20px;color:#fff;background:linear-gradient(160deg,#0E3E72 0%,#1577BA 58%,#1A8CD8 130%);box-shadow:var(--sh2),inset 0 1px 0 rgba(255,255,255,.18);margin-bottom:16px}
.hero:before{content:"";position:absolute;right:-40px;top:-50px;width:180px;height:180px;border-radius:50%;background:rgba(255,255,255,.08)}
.hero>*{position:relative;z-index:1}
.hero h1{font-size:26px;font-weight:780;letter-spacing:-.03em}
.hero .sub{margin-top:6px;color:rgba(255,255,255,.82);font-size:14px}
.search{display:flex;gap:8px;margin-top:16px}
.search input{flex:1;min-width:0;border:0;border-radius:14px;padding:12px 14px;font-size:16px;color:var(--texto)}
.search input:focus{outline:2px solid #fff;outline-offset:1px}
.search button{flex:none;height:46px;padding:0 16px;border-radius:14px;background:var(--cta);color:var(--on-cta);font-weight:720;font-size:14.5px}
.search button:hover{background:var(--cta-hover)}
.cats{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.cats a{display:inline-flex;align-items:center;height:34px;padding:0 12px;border-radius:999px;background:#fff;color:var(--azul);font-size:13px;font-weight:650;box-shadow:var(--sh1)}
.card{background:#fff;border-radius:var(--radio);box-shadow:var(--sh1);padding:22px 20px}
.empty{text-align:center}
.empty h2{font-size:18px;font-weight:720;color:var(--azul);letter-spacing:-.02em}
.empty p{margin-top:8px;color:var(--mut);font-size:14px}
.mut{color:var(--mut);font-size:13px}
.grid{display:grid;gap:14px;margin-top:4px;grid-template-columns:1fr}
@media (min-width:640px){.grid{grid-template-columns:1fr 1fr}}
.mod{display:flex;flex-direction:column;gap:8px;background:#fff;border-radius:26px;box-shadow:var(--sh1);padding:18px;color:inherit;min-width:0}
.mod h2{font-size:17px;font-weight:720;letter-spacing:-.025em;color:var(--azul)}
.mod p{font-size:13.5px;color:var(--mut);flex:1}
.mod .ir{display:inline-flex;align-items:center;align-self:flex-start;height:36px;padding:0 14px;border-radius:999px;background:var(--azul);color:#fff;font-size:13px;font-weight:700}
.mod .ir:hover{background:var(--accion);text-decoration:none}
.ses{margin:0 0 16px;padding:16px 18px;border-radius:22px;background:#fff;box-shadow:var(--sh1);display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.ses b{display:block;color:var(--azul);font-size:15px}
.ses .mut{margin:0}
.ses .btn{display:inline-flex;align-items:center;height:38px;padding:0 16px;border-radius:999px;background:var(--cta);color:#fff;font-weight:720;font-size:14px}
.ses .btn:hover{background:var(--cta-hover)}
.ses.on{background:var(--celeste)}
/* 0.3.0 · Mercados hoy */
.mercados{margin:18px 0}.mercados h2{font-size:15px;color:var(--mut);margin:0 0 8px;font-weight:650}.mercados-fila{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none;padding-bottom:4px}
.mercado{flex:none;display:flex;flex-direction:column;gap:2px;padding:12px 16px;border-radius:16px;background:#fff;box-shadow:var(--sh1);text-decoration:none;color:var(--texto);min-width:120px}
.mercado small{font-size:12px;font-weight:650;color:var(--mut)}.mercado b{font-size:17px;color:var(--azul);font-variant-numeric:tabular-nums}
.mercado em{font-style:normal;font-size:12px;font-weight:700}.mercado em.up{color:var(--ok,#0F7A55)}.mercado em.down{color:var(--mal,#C01B2E)}.mercados h2 small{font-size:13px;font-weight:600}










/* Cóndor UI · modo oscuro automático (sigue al sistema): tokens de Ronda en oscuro y cada fondo claro o texto oscuro de esta hoja, por luminosidad. */
@media (prefers-color-scheme:dark){
:root,html[data-host]{--azul:#9CC7F0;--accion:#6FB4EA;--celeste:#16314A;--celeste2:#1D3D5A;--cielo:#5DB2F0;--calido:#F0A273;--texto:#E6EDF4;--texto2:#C4D0DB;--mut:#93A3B2;--linea:rgba(156,199,240,.14);--bg:#0A1622;--fbg:#0A1622;--ok:#5FD3A2;--mal:#FF8A8A;--glass:rgba(15,30,45,.72);--fglass:rgba(15,30,45,.72);--sh1:0 1px 2px rgba(0,0,0,.35),0 12px 30px -12px rgba(0,0,0,.6);--sh2:0 2px 4px rgba(0,0,0,.35),0 30px 60px -20px rgba(0,0,0,.7);color-scheme:dark}
html body{color:var(--texto)}
html body input,html body select,html body textarea{background:#0F1E2D;color:var(--texto);border-color:rgba(156,199,240,.22)}
html body .btn-cuenta{background:#0F1E2D}
html body .cats a{background:#0F1E2D}
html body .card{background:#0F1E2D}
html body .mod{background:#0F1E2D}
html body .ses{background:#0F1E2D}
html body .mercado{background:#0F1E2D}
}
