*{box-sizing:border-box} :root{--blue:#3478f6;--red:#ee4b5d;--ink:#182033;--muted:#8790a1;--line:#e8ebf1;--bg:#f4f6fa} body{margin:0;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;background:var(--bg)} button,a,input,select{font:inherit} a{color:inherit;text-decoration:none}.topbar{height:58px;background:#fff;border-bottom:1px solid var(--line);display:grid;grid-template-columns:58px 1fr 58px;align-items:center;position:sticky;top:0;z-index:30}.icon-button{border:0;background:none;color:#545d70;font-size:24px;width:58px;height:58px;cursor:pointer}.brand{justify-self:center;display:flex;align-items:center;gap:8px;font-size:18px;font-weight:800}.brand-mark{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#ff665e,#df3c56);color:white;font-size:15px;box-shadow:0 5px 12px #ed6b7144}#app{width:min(980px,100%);min-height:calc(100vh - 118px);margin:0 auto;padding-bottom:92px}.page{padding:18px 14px}.page-head{height:30px;display:flex;align-items:center}.page-head h1{font-size:22px;margin:0}.banner{height:150px;margin-top:4px;border-radius:18px;background:linear-gradient(120deg,#4387fb,#7b5eea);padding:24px;color:white;display:flex;align-items:flex-end;justify-content:space-between;box-shadow:0 14px 35px #4d72bf33}.banner-tag{font-size:12px;background:#ffffff26;border-radius:20px;padding:5px 9px}.banner h2{font-size:21px;margin:18px 0 5px}.banner p{font-size:12px;margin:0;opacity:.85}.banner button{border:0;border-radius:20px;background:white;color:#4e70d4;font-weight:700;padding:9px 13px}.quick-categories{display:grid;grid-template-columns:repeat(3,1fr);background:#fff;border-radius:16px;margin-top:12px;padding:14px 4px}.quick-categories a{display:flex;flex-direction:center;align-items:center;gap:7px;justify-content:center;font-size:13px}.quick-icon{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#edf4ff;color:#3478f6;font-weight:800}.quick-icon.q1{background:#fff1f1;color:#ee4b5d}.quick-icon.q2{background:#fff4df;color:#f29432}.section-title{display:flex;justify-content:space-between;align-items:center;margin:20px 2px 10px}.section-title h2{font-size:17px;margin:0}.section-title a{font-size:13px;color:var(--muted)}.list{display:grid;gap:10px}.lottery-card{background:white;border-radius:15px;padding:16px;border:1px solid #edf0f5}.card-head{display:flex;justify-content:space-between;align-items:center}.card-head>div{display:flex;align-items:center;gap:8px}.card-head a{font-size:12px;color:var(--muted)}.lottery-dot{width:10px;height:10px;border-radius:50%;background:#ef5a62}.balls{display:flex;gap:8px;flex-wrap:wrap;margin:17px 0}.ball{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:13px;font-weight:800;box-shadow:inset 0 -3px 7px #00000018}.ball.red{background:var(--red)}.ball.blue{background:#357cf6}.card-meta{display:flex;justify-content:space-between;color:#949baa;font-size:12px}.status{color:#32a66a}.tabs{display:flex;gap:6px;overflow:auto;margin:12px 0 16px}.tabs a{white-space:nowrap;padding:9px 14px;border-radius:18px;background:white;color:#747e91;font-size:13px}.tabs a.active{background:var(--blue);color:white}.lottery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.lottery-entry{height:118px;background:white;border-radius:15px;display:flex;flex-direction:column;align-items:center;justify-content:center}.lottery-logo{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#fff0f1;color:var(--red);font-weight:800;margin-bottom:8px}.lottery-entry strong{font-size:13px}.lottery-entry small{font-size:11px;color:var(--muted);margin-top:4px}.search-field{height:44px;display:flex;align-items:center;gap:8px;background:white;border:1px solid var(--line);border-radius:12px;padding:0 13px;margin:12px 0}.search-field input{border:0;outline:0;width:100%;background:none}.filter-row{display:flex;gap:8px;margin-bottom:12px;overflow:auto}.filter-row button{border:0;border-radius:16px;padding:8px 12px;background:white;color:#747e91}.filter-row button.active{background:#eaf1ff;color:var(--blue)}.detail-card{background:white;border-radius:18px;padding:18px;margin-top:12px}.detail-meta{display:flex;justify-content:space-between;font-size:13px;color:var(--muted)}.detail-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.detail-actions a{text-align:center;padding:11px;border-radius:10px;background:#edf3ff;color:var(--blue);font-size:13px}.detail-actions a:first-child{color:white;background:var(--blue)}.history-list{background:white;border-radius:15px;overflow:hidden}.history-list a{min-height:58px;padding:0 15px;border-bottom:1px solid #eef0f5;display:grid;grid-template-columns:95px 1fr 20px;align-items:center;font-size:13px}.history-list span{color:var(--muted)}.history-list strong{font-weight:600;overflow:hidden;text-overflow:ellipsis}.history-list b{color:#b0b5c1}.trend-tools{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.trend-tools label{font-size:12px;color:var(--muted)}.trend-tools select{width:100%;border:1px solid var(--line);border-radius:10px;background:white;padding:11px;margin-top:5px;color:var(--ink)}.trend-card{background:white;border-radius:16px;margin-top:12px;padding:17px}.trend-card-head{display:flex;justify-content:space-between}.trend-card-head div{display:flex;flex-direction:column}.trend-card-head small{color:var(--muted);margin-top:4px}.trend-card-head>span{font-size:12px;color:#f08a37;background:#fff4e8;border-radius:12px;height:24px;padding:5px 8px}.trend-chart{height:230px;margin-top:20px;border-bottom:1px solid #edf0f4;display:flex;align-items:flex-end;gap:3px;overflow-x:auto}.trend-bar-wrap{height:100%;min-width:18px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center}.trend-bar-wrap i{width:8px;border-radius:5px 5px 0 0;background:#f16c72}.trend-bar-wrap small{height:18px;font-size:9px;color:var(--muted)}.trend-note{font-size:12px;color:var(--muted);padding:12px 3px}.more-list,.content-card{background:white;border-radius:16px;overflow:hidden;margin-top:12px}.more-list a{height:52px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 16px}.content-card{padding:18px}.content-card h2{font-size:18px}.content-card p{color:#687186;line-height:1.8}.drawer{position:fixed;z-index:60;left:0;top:0;width:min(280px,80vw);height:100dvh;background:white;transform:translateX(-105%);transition:.25s;box-shadow:15px 0 40px #18203322}.drawer.open{transform:none}.drawer-head{height:58px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding-left:18px}.drawer nav a{height:52px;border-bottom:1px solid #f0f2f6;display:flex;align-items:center;justify-content:space-between;padding:0 18px}.drawer-mask{display:none;position:fixed;z-index:55;inset:0;background:#19203366}.drawer-mask.open{display:block}.bottom-nav{position:fixed;z-index:40;left:0;right:0;bottom:0;height:68px;background:#fff;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(5,1fr);align-items:center;padding-bottom:env(safe-area-inset-bottom)}.bottom-nav a{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#9299a7;font-size:20px}.bottom-nav small{font-size:11px;margin-top:3px}.bottom-nav a.active{color:var(--blue)}.bottom-nav .nav-feature{position:relative}.bottom-nav .nav-feature span{width:50px;height:50px;margin-top:-25px;border-radius:50%;background:linear-gradient(145deg,#ff7072,#ef3e59);display:grid;place-items:center;color:white;border:5px solid white;font-size:20px}.bottom-nav .nav-feature small{margin-top:-2px}.toast{position:fixed;left:50%;bottom:85px;transform:translate(-50%,30px);background:#1d2537;color:white;border-radius:20px;padding:8px 14px;font-size:12px;opacity:0;pointer-events:none;transition:.2s}@media(max-width:600px){.banner{height:170px;align-items:flex-start;flex-direction:column}.banner button{align-self:flex-end}.lottery-grid{grid-template-columns:repeat(3,1fr)}.ball{width:34px;height:34px;font-size:12px}.history-list a{grid-template-columns:84px 1fr 20px}.trend-chart{gap:1px}.page{padding-bottom:80px}}.category-strip{height:44px;position:sticky;top:58px;z-index:29;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:0;overflow-x:auto;padding:0 10px;white-space:nowrap}.category-strip a{height:44px;display:flex;align-items:center;padding:0 13px;color:#687186;font-size:14px;border-bottom:2px solid transparent}.category-strip a.active{color:var(--red);border-bottom-color:var(--red)}#app{padding-top:0}
@media(max-width:600px){.lottery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.lottery-entry{min-width:0;height:112px;padding:8px}.lottery-entry strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
.hall-summary{margin:12px 2px 0;color:var(--muted);font-size:13px}.hall-section{margin-bottom:4px}.hall-section .section-title{margin-top:16px}.hall-section .section-title span{font-size:12px;color:var(--muted)}
@media(min-width:980px){.topbar{grid-template-columns:70px 1fr 70px}.page{padding:24px}.bottom-nav{width:980px;left:50%;transform:translateX(-50%)}}
