:root{font-family:Microsoft YaHei,PingFang SC,Arial,sans-serif;color:#30343a;background:#f2f2f2;font-synthesis:none}*{box-sizing:border-box}html{min-width:320px;background:#f2f2f2;scroll-behavior:smooth}body{margin:0;min-height:100vh}button{border:0;background:none;font:inherit;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.58}a{color:inherit}.page-width{width:min(1600px,calc(100% - 32px));margin:0 auto}.site-header{background:#fff;box-shadow:0 3px 10px #0000001f}.notice-bar{height:34px;background:#414b56;color:#8cc5ff}.notice-content{height:34px;display:flex;align-items:center;gap:14px;font-size:13px}.notice-content strong{flex:0 0 auto}.speaker{display:inline-grid;place-items:center;width:18px;height:18px;margin-right:4px;border:2px solid #64a7e9;border-radius:50%;font-size:10px}.ticker{flex:1;min-width:0;overflow:hidden;white-space:nowrap}.ticker-track{display:inline-flex;gap:8px;align-items:center;min-width:max-content;animation:ticker 28s linear infinite}.ticker:hover .ticker-track{animation-play-state:paused}.ticker a{text-decoration:none}.ticker a:hover{text-decoration:underline}.notice-content time{flex:0 0 auto;color:#fff;font-size:12px;font-variant-numeric:tabular-nums}.brand-row{height:108px;display:flex;align-items:center;position:relative}.brand-logo{width:270px;height:auto;object-fit:contain}.brand-tagline{width:min(440px,45vw);height:auto;margin:auto;object-fit:contain;opacity:.84}.main-nav{background:#b81417;box-shadow:0 3px 5px #0003}.nav-list{display:grid;grid-template-columns:repeat(4,1fr);height:52px}.nav-list button{color:#fff;font-size:17px;font-weight:600;transition:.18s}.nav-list button:hover,.nav-list button.active{background:#eb2028}.main-area{min-height:600px;padding:28px 0 50px;background:#f2f2f2}.content-wrap{min-height:500px}.home-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;padding:14px 18px;background:#fff;border-radius:4px;box-shadow:0 2px 8px #00000010}.home-toolbar>div{display:flex;align-items:center;gap:12px}.home-toolbar b{font-size:18px}.home-toolbar span{font-size:12px;color:#8b929c}.home-toolbar button{padding:8px 13px;border-radius:4px;background:#414b56;color:#fff;font-size:13px}.home-toolbar i{display:inline-block;margin-right:5px;font-style:normal}.lottery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 18px;align-items:start}.lottery-card{--accent:#f1321f;--soft:#fff0eb;overflow:hidden;background:#fff;border-radius:4px;box-shadow:0 3px 12px #0000001f}.theme-orange{--accent:#ff9918;--soft:#fff6df}.theme-blue{--accent:#2786d9;--soft:#eaf5ff}.theme-green{--accent:#20a36b;--soft:#e9f8f1}.theme-purple{--accent:#8057b8;--soft:#f3edfb}.lottery-card h2{height:46px;margin:0;display:grid;place-items:center;background:var(--accent);color:#fff;font-size:18px}.latest-panel{padding:14px 14px 0}.latest-line{display:flex;align-items:center;gap:7px;min-height:40px}.latest-line strong{font-size:14px}.latest-line span{margin-left:auto;color:var(--accent);font-size:12px}.latest-line button{margin-left:4px;padding:7px 9px;border-radius:4px;background:var(--soft);color:var(--accent);font-size:12px}.latest-line i{display:inline-block;font-style:normal}.latest-result{min-height:62px;display:flex;align-items:center;justify-content:center;gap:7px;color:var(--accent)}.ball,.sum-ball{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:var(--accent);color:#fff;font-size:18px;font-weight:700;font-style:normal}.sum-ball{background:#fff;color:var(--accent);border:2px solid var(--accent)}.latest-result em{font-size:18px;font-style:normal;font-weight:700}.quick-links{display:grid;grid-template-columns:repeat(2,1fr);border-top:1px solid #eee}.quick-links button{padding:11px 2px;color:#25282d;font-weight:600;font-size:12px}.quick-links button:hover{color:var(--accent)}.results-scroll{height:650px;overflow:auto;border-top:1px solid var(--accent);scrollbar-color:var(--accent) #eee;scrollbar-width:thin}.results-scroll table{width:100%;border-collapse:collapse;table-layout:fixed;text-align:center}.results-scroll thead{position:sticky;top:0;z-index:2;background:var(--accent);color:#fff}.results-scroll th{height:38px;font-size:13px}.results-scroll th:nth-child(1){width:27%}.results-scroll th:nth-child(2){width:30%}.results-scroll td{height:41px;padding:4px;border:1px solid color-mix(in srgb,var(--accent) 25%,#ddd);font-size:12px;font-variant-numeric:tabular-nums}.results-scroll tbody tr:nth-child(odd){background:var(--soft)}.results-scroll tbody tr:hover{filter:brightness(.97)}.expression{color:var(--accent);font-weight:600}.number-row{display:flex;justify-content:center;gap:4px}.number-row i{width:24px;height:24px;display:grid;place-items:center;border:1px solid var(--accent);border-radius:50%;color:var(--accent);font-style:normal}.lottery-card>footer{height:34px;display:flex;align-items:center;justify-content:space-between;padding:0 10px;background:#fafafa;color:#999;font-size:10px}.card-state,.catalog-state{min-height:300px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#8d949d;background:#fff}.catalog-state{min-height:420px;border-radius:4px}.card-state i,.catalog-state i{width:30px;height:30px;border:3px solid #ddd;border-top-color:#d02024;border-radius:50%;animation:spin .8s linear infinite}.card-state button,.catalog-state button{padding:8px 14px;border-radius:4px;background:#c51c20;color:#fff}.error{color:#c4383d}.site-footer{padding:18px 20px 24px;text-align:center;background:#2b2e33;color:#95a5b7}.footer-links{display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:12px;color:#fff}.footer-links button{color:#fff;font-size:13px}.site-footer p{margin:8px 0;font-size:12px}.site-footer small{font-size:11px}.back-top{position:fixed;right:24px;bottom:28px;width:52px;height:52px;border-radius:4px;background:#c82924;color:#fff;font-size:30px;box-shadow:0 4px 14px #0003}.toast{position:fixed;left:50%;bottom:36px;z-index:20;transform:translate(-50%);padding:11px 18px;border-radius:4px;background:#222d;color:#fff;font-size:13px}.spinning{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes ticker{0%{transform:translate(18%)}to{transform:translate(-100%)}}.inner-page{min-height:520px}.inner-title{display:flex;align-items:end;justify-content:space-between;padding:14px 20px;background:#cf4238;color:#fff}.inner-title h1{margin:0;font-size:20px}.inner-title span{font-size:12px;opacity:.9}.lottery-tabs{display:flex;gap:1px;padding:14px 18px;background:#fff;border-bottom:1px solid #eee}.lottery-tabs button{min-width:140px;padding:10px 18px;background:#f1f1f1;color:#555;font-weight:600}.lottery-tabs button.active,.lottery-tabs button:hover{background:#d2382c;color:#fff}.record-panel,.article-panel{background:#fff;box-shadow:0 3px 10px #0000001a}.record-summary{display:flex;align-items:center;justify-content:space-between;padding:14px 20px}.record-summary button{padding:8px 14px;border-radius:3px;background:#414b56;color:#fff}.record-table-wrap{overflow:auto}.record-table{width:100%;border-collapse:collapse;text-align:center}.record-table th{height:44px;background:#d2382c;color:#fff}.record-table td{height:44px;border:1px solid #ead2cf;font-size:13px}.record-table tbody tr:nth-child(odd){background:#fff4f2}.article-panel{padding:0 36px 28px;color:#535353}.article-panel>h2{margin:0 -36px 18px;padding:11px 36px;background:#cf4238;color:#fff;font-size:18px}.article-panel section+section{margin-top:24px}.article-panel h3{color:#333;font-size:16px}.article-panel p{line-height:1.9;font-size:13px}.article-panel a{color:#d6453b}.help-page{display:grid;grid-template-columns:264px minmax(0,1fr);gap:16px}.help-menu{background:#fff}.help-menu h2{margin:0;padding:13px 16px;background:#d2382c;color:#fff;text-align:center;font-size:18px}.help-menu button{display:block;width:100%;height:48px;color:#666;font-weight:700;position:relative}.help-menu button.active,.help-menu button:hover{font-size:15px;background:#fafafa}.help-menu button.active:after,.help-menu button:hover:after{content:"";position:absolute;right:36px;top:18px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid #979797}.help-content{min-height:440px}.help-content h3{margin-top:24px}.help-content>template+h3{margin-top:24px}@media(max-width:1200px){.lottery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.page-width{width:min(100% - 24px,700px)}.notice-content{gap:8px}.notice-content time{display:none}.brand-row{height:90px}.brand-logo{width:220px}.brand-tagline{width:42vw}.nav-list{width:100%;height:48px;overflow-x:auto;display:flex}.nav-list button{flex:1 0 120px;font-size:15px}.lottery-grid{grid-template-columns:1fr}.results-scroll{height:560px}.main-area{padding-top:18px}.help-page{grid-template-columns:1fr}.help-menu{display:grid;grid-template-columns:repeat(4,1fr)}.help-menu h2{grid-column:1/-1}.help-menu button.active:after,.help-menu button:hover:after{display:none}}@media(max-width:560px){.page-width{width:100%}.notice-content{padding:0 10px}.notice-content strong{font-size:12px}.brand-row{height:auto;min-height:104px;padding:14px 15px;flex-direction:column;justify-content:center;gap:10px}.brand-logo{width:230px;max-width:90%}.brand-tagline{width:330px;max-width:90%}.main-area{padding:12px 8px 30px}.home-toolbar{align-items:flex-start;gap:10px;padding:12px}.home-toolbar>div{align-items:flex-start;flex-direction:column;gap:5px}.home-toolbar>div:last-child{align-items:flex-end}.lottery-grid{gap:16px}.lottery-card h2{height:44px;font-size:18px}.latest-panel{padding:12px 10px 0}.latest-line{flex-wrap:wrap}.latest-line strong{font-size:14px}.latest-line span{font-size:11px}.latest-result{gap:6px}.ball,.sum-ball{width:35px;height:35px;font-size:17px}.quick-links button{font-size:12px}.results-scroll{height:520px}.results-scroll th,.results-scroll td{font-size:12px}.number-row{gap:3px}.number-row i{width:23px;height:23px}.lottery-card>footer{padding:0 8px}.back-top{right:12px;bottom:15px;width:44px;height:44px}.site-footer{padding-left:10px;padding-right:10px}.inner-title{align-items:start;flex-direction:column;gap:5px;padding:12px}.lottery-tabs{overflow-x:auto;padding:10px}.lottery-tabs button{min-width:110px;padding:9px}.article-panel{padding:0 18px 24px}.article-panel>h2{margin:0 -18px 16px;padding:10px 18px}.help-menu{grid-template-columns:repeat(2,1fr)}.record-table{min-width:560px}}
