:root{--bg:#f3f5fa;--ink:#111827;--muted:#4b5563;--card:#fff;--line:#d9dee8;--brand:#0b3d91;--ok:#0a7d32;--wa:#128c4a;--gold:#f2b705}
*{box-sizing:border-box}
html{font-size:20px;-webkit-text-size-adjust:100%}
html.xl{font-size:24px}
body{margin:0;background:var(--bg);color:var(--ink);font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;line-height:1.45}
a{color:var(--brand)}
.wrap{max-width:1100px;margin:0 auto;padding:0 14px}
.skip{position:absolute;left:-999px}.skip:focus{left:8px;top:8px;background:#fff;padding:8px;z-index:9}
.top{background:var(--brand);color:#fff;position:sticky;top:0;z-index:5;box-shadow:0 2px 8px rgba(0,0,0,.2)}
.topin{display:flex;align-items:center;justify-content:space-between;min-height:56px}
.brand{color:#fff;text-decoration:none;font-size:1.35rem;font-weight:800;letter-spacing:.2px}.brand b{color:var(--gold)}
.aplus{background:#fff;color:var(--brand);border:0;border-radius:12px;font-weight:900;font-size:1rem;min-width:56px;min-height:48px;cursor:pointer}
.today{font-size:1.05rem;font-weight:700;padding-bottom:6px}
.tabs{display:flex;gap:6px;overflow-x:auto;padding:6px 10px 10px;max-width:1100px;margin:0 auto;scrollbar-width:none}
.tabs::-webkit-scrollbar{display:none}
.tabs a{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:76px;min-height:64px;padding:4px 10px;border-radius:14px;background:rgba(255,255,255,.14);color:#fff;text-decoration:none;font-weight:700;font-size:.8rem}
.tabs a .flag{font-size:1.6rem;line-height:1.1}
.tabs a.on{background:#fff;color:var(--brand)}
main{padding:12px 14px 24px}
.h1{font-size:1.5rem;line-height:1.2;margin:10px 0 6px}
.lead{font-size:1.05rem;color:var(--muted);margin:0 0 12px}
.ctitle{font-size:1.35rem;margin:22px 0 4px}
.sec{font-size:1.15rem;margin:16px 0 8px;padding:8px 12px;border-radius:12px}
.sec.ok{background:#e3f6e8;color:#064e1f}.sec.wait{background:#fff4d6;color:#6b4a00}
.grid{display:grid;grid-template-columns:1fr;gap:12px}
@media(min-width:720px){.grid{grid-template-columns:1fr 1fr}}
@media(min-width:1040px){.grid{grid-template-columns:1fr 1fr 1fr}}
.card{background:var(--card);border-radius:18px;padding:14px;border:2px solid var(--line);border-top:8px solid var(--c,#0b3d91);box-shadow:0 1px 3px rgba(0,0,0,.06)}
.card.fresh{border-color:var(--c);box-shadow:0 0 0 3px color-mix(in srgb,var(--c) 22%,transparent)}
.card header{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.card h3{margin:0;font-size:1.15rem;flex:1;min-width:0}.card h3 a{color:var(--ink);text-decoration:none}
.logo{width:44px;height:44px;border-radius:50%;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:900;font-size:.8rem;flex:0 0 auto;border:3px solid rgba(255,255,255,.7);box-shadow:0 0 0 2px var(--c,#0b3d91)}
.badge{font-size:.8rem;font-weight:800;padding:4px 10px;border-radius:999px;background:#e5e7eb;color:#374151}
.badge.hoy{background:var(--ok);color:#fff}
.balls{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:12px 0 6px}
.ball{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff 0,#fff 45%,#e9edf5 100%);border:5px solid var(--c,#0b3d91);color:#0b0f19;font-weight:900;font-size:1.65rem;font-variant-numeric:tabular-nums;box-shadow:0 2px 4px rgba(0,0,0,.18)}
.ball.big{width:84px;height:84px;font-size:2.1rem}
.ball.gold{border-color:var(--gold);background:radial-gradient(circle at 35% 30%,#fff7d1 0,#ffe27a 70%)}
.ball.hit{background:#ffe600;border-color:#b45309}
.digits{display:inline-flex;gap:4px}.digits .ball{width:54px;height:54px;font-size:1.5rem}
.trip{display:inline-flex;flex-direction:column;align-items:flex-start;gap:2px;margin-right:6px}.trip small{font-weight:800;color:var(--muted)}
.bonus{display:inline-flex;flex-direction:column;align-items:center;font-size:.7rem;font-weight:800;color:var(--muted)}
.balls.sm{gap:6px;margin:4px 0}.balls.sm .ball,.ball.sm{width:42px;height:42px;font-size:1.05rem;border-width:3px}
.balls.sm .digits .ball{width:36px;height:36px;font-size:.95rem}.balls.sm .ball.big{width:46px;height:46px;font-size:1.1rem}
.animal{font-size:1.3rem;font-weight:800}
.balls.sm .animal{font-size:.9rem}
.tags{display:flex;gap:8px;flex-wrap:wrap}.tag{background:#eef2ff;border-radius:10px;padding:3px 10px;font-size:.9rem}
.lastlbl{margin:8px 0 0;color:var(--muted);font-weight:700;font-size:.9rem}
.next{margin:10px 0 0;font-size:1rem;background:#f8fafc;border-radius:12px;padding:8px 10px}
.next .cd{display:block;font-weight:900;color:#b42318;font-size:1.1rem}
.slots{list-style:none;padding:0;margin:10px 0 0;display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:6px}
.slots li{border-radius:10px;padding:6px 8px;background:#f3f4f6;display:flex;flex-direction:column;font-size:.9rem}
.slots li.done{background:#ecfdf3}.slots .t{font-weight:700;color:var(--muted);font-size:.8rem}.slots .v{font-weight:900;font-size:1.05rem}
.slots.inline{grid-template-columns:repeat(auto-fill,minmax(110px,1fr))}
.muted{color:var(--muted)}.small{font-size:.8rem}
.actions{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:10px 16px;border-radius:14px;background:var(--brand);color:#fff;text-decoration:none;font-weight:800;font-size:1rem;border:0}
.btn.wa{background:var(--wa);flex:1}.btn.ghost{background:#fff;color:var(--brand);border:2px solid var(--brand);flex:1}
.btn.more{width:100%;margin-top:10px}
.btn.tg{background:#229ed9;width:100%;margin:6px 0 12px}.btn.tg.off{opacity:.75}
.box{background:#fff;border-radius:18px;padding:14px;margin:14px 0;border:2px solid var(--line)}
.box h2{font-size:1.2rem;margin:0 0 8px}
.search label{display:block;font-size:1.15rem;margin-bottom:8px}
.search .row{display:flex;gap:8px;flex-wrap:wrap}
.search input,.search select,.dfilter{font-size:1.3rem;min-height:56px;border:3px solid var(--line);border-radius:14px;padding:6px 12px;font-weight:800}
.search input{flex:1 1 120px;min-width:0;letter-spacing:2px}.search select{flex:0 1 auto;font-size:1rem}
.search button{min-height:56px;padding:0 20px;font-size:1.1rem;font-weight:900;border:0;border-radius:14px;background:var(--ok);color:#fff;cursor:pointer;flex:1 1 100px}
.dfilter{width:100%;margin-top:6px}
.hotlist{list-style:none;padding:0;margin:0;display:grid;gap:8px}
.hotlist li{display:flex;align-items:center;gap:10px;font-size:.95rem}.hotlist .ball{width:48px;height:48px;font-size:1.2rem;border-color:#d92d20}
.bar{flex:1;height:14px;background:#f1f5f9;border-radius:8px;overflow:hidden}.bar i{display:block;height:100%;background:linear-gradient(90deg,#f59e0b,#d92d20)}
.others{display:grid;gap:12px}@media(min-width:720px){.others{grid-template-columns:1fr 1fr}}
.other h2 a{color:var(--ink);text-decoration:none}
.mini{list-style:none;padding:0;margin:0}.mini li a{display:flex;flex-direction:column;padding:8px 0;border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none}
.mname{font-weight:800}.mname small{font-weight:600;color:var(--muted);margin-left:8px}
.dlist{list-style:none;padding:0;margin:0;display:grid;gap:8px}.dlist li{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.dlist b{min-width:110px}
.tblwrap{overflow-x:auto}.tbl{width:100%;border-collapse:collapse;font-size:.95rem}.tbl td,.tbl th{border-bottom:1px solid var(--line);padding:8px 6px;text-align:left;vertical-align:middle}
.tbl.hist td:first-child{width:34%;font-weight:700}
.seen{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(5,1fr);gap:4px}
@media(min-width:600px){.seen{grid-template-columns:repeat(10,1fr)}}
.seen li{border-radius:8px;text-align:center;padding:4px 0;display:flex;flex-direction:column}.seen b{font-size:1.05rem}.seen small{font-size:.7rem}
.seen .h,.legend .h{background:#fecaca}.seen .m,.legend .m{background:#fde68a}.seen .l,.legend .l{background:#dbeafe}.seen .c,.legend .c{background:#e5e7eb}.seen .n,.legend .n{background:#f9fafb;color:#9ca3af}
.legend{display:flex;gap:6px;flex-wrap:wrap;font-size:.75rem}.legend span{padding:2px 8px;border-radius:6px}
.wrapb{gap:8px}.cold{display:inline-flex;flex-direction:column;align-items:center;font-size:.75rem}.cold .ball{border-color:#2563eb}
.chips{display:flex;flex-wrap:wrap;gap:8px}.chip{min-height:48px;display:inline-flex;align-items:center;padding:6px 14px;border-radius:999px;border:3px solid var(--c);color:var(--ink);text-decoration:none;font-weight:700;font-size:.9rem}
.crumbs{font-size:.85rem;margin:6px 0}.crumbs a{color:var(--muted)}
.text p{margin:.4em 0 .8em}.text h3{font-size:1.05rem;margin:14px 0 4px}
.faq details{border-bottom:1px solid var(--line);padding:10px 0}.faq summary{font-weight:800;cursor:pointer;min-height:40px}
.answer{font-size:1.2rem;padding:14px;border-radius:14px;margin:12px 0}.answer.yes{background:#dcfce7}.answer.no{background:#fee2e2}
.pager{display:flex;gap:10px;justify-content:space-between;margin:14px 0}
.letters{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.letters a{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;background:#fff;border:2px solid var(--line);border-radius:10px;font-weight:800;text-decoration:none}
.dreams{list-style:none;padding:0;margin:0;display:grid;gap:10px}@media(min-width:720px){.dreams{grid-template-columns:1fr 1fr}}
.dreams li{background:#fff;border:2px solid var(--line);border-radius:14px;padding:10px 12px}.dreams .dw{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}.dreams .dw b{font-size:1.15rem}.dreams p{margin:6px 0 0;color:var(--muted);font-size:.95rem}
.dreams .ball{--c:#7c3aed;margin-left:4px}
.ad-slot{display:none}.ad-slot.on{display:block;min-height:100px;margin:14px 0}
.foot{background:#0f172a;color:#e5e7eb;padding:20px 0 30px;margin-top:20px}.foot a{color:#fff}.disc{font-size:.9rem}
.flinks{display:flex;flex-wrap:wrap;gap:4px 16px;margin:10px 0}.flinks a{min-height:44px;display:inline-flex;align-items:center}
.big{font-size:1.2rem}
.src{margin-top:14px}
