:root{--width:720px;--blue:#268bed;--red:#f10c04;--green:#16b718;--ink:#162c3a;--muted:#647782;--line:#dbe3e8}*{box-sizing:border-box}body{margin:0;background:#fff;color:var(--ink);font-family:Arial,'Microsoft YaHei','PingFang SC',sans-serif;font-size:15px}a{color:#146997;text-decoration:none}a:hover{text-decoration:underline}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a:focus-visible,button:focus-visible{outline:3px solid #168ce0;outline-offset:3px}.container{width:calc(100% - 16px);max-width:var(--width);margin:6px auto 0}.draw-board{border:2px solid #6bbaf0;border-radius:4px;padding:0 8px;background:white}.draw-module{padding:6px 0 5px;border-bottom:2px dotted #d3d3d3}.draw-module:last-child{border-bottom:0}.draw-heading{display:flex;align-items:center;justify-content:space-between;position:relative;font-family:'Times New Roman','SimSun',serif;font-size:18px;line-height:23px;margin-bottom:4px;color:#052336}.draw-heading .issue,.draw-heading a{color:#ff1717}.countdown{position:absolute;left:50%;transform:translateX(-50%);font-family:Arial,sans-serif;color:#17202a;font-size:18px}.balls{display:grid;grid-template-columns:repeat(6,minmax(0,1fr)) 27px minmax(0,1fr);gap:6px;align-items:center}.ball{height:61px;border-radius:3px;display:flex;align-items:center;justify-content:center;flex-direction:column;background:var(--blue);color:white;min-width:0}.ball b{font-size:30px;font-weight:800;line-height:33px}.ball>span{font-family:'SimSun',serif;font-weight:bold;background:white;color:#121d24;font-size:21px;line-height:21px;min-width:25px;text-align:center}.ball.red{background:var(--red)}.ball.blue{background:var(--blue)}.ball.green{background:var(--green)}.ball.unknown{background:#eaf0f4;color:#78919f;box-shadow:inset 0 0 0 1px #dbe5ec}.ball.unknown>span{color:#698391;background:transparent;font-weight:400;font-size:16px}.plus{text-align:center;font-size:30px;font-weight:bold;color:#22333c}.next-line{display:flex;justify-content:space-between;gap:5px;align-items:center;margin-top:8px;font-family:'Times New Roman','SimSun',serif;font-size:17px;min-height:22px}.refresh{background:#ff9500;color:#fff;padding:0 3px;border:0;border-radius:3px;font-size:16px;white-space:nowrap}.data-note{font:11px/1.5 Arial,'Microsoft YaHei',sans-serif;color:#7d8d96;margin-top:2px;overflow-wrap:anywhere}.notice{padding:10px 8px;display:flex;align-items:center;gap:6px;font-size:12px;color:#6f818b}.status-dot{width:6px;height:6px;border-radius:50%;background:#2986a7;flex:none}.columns{display:grid;grid-template-columns:1fr 1fr;gap:6px;border:2px solid #6bbaf0;padding:7px 3px}.column-link{grid-column:span 2;min-height:36px;padding:3px 7px;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #d8d8d8;border-radius:9px;background:linear-gradient(#fff 0%,#f0f0f0 56%,#fafafa 100%);box-shadow:0 2px 4px #00000012;color:#030303;font-size:23px;font-weight:700;line-height:1.2;text-align:center}.column-link.half{grid-column:span 1;gap:0}.column-link.half strong{color:#078306}.column-link:not(.half) strong{color:#f51c0b}.column-link:hover{background:linear-gradient(#fff,#e7f4fc);text-decoration:none}.column-link .subtitle{font-size:21px}.seal{color:#188936;border:1px solid #188936;border-radius:50%;width:20px;height:20px;display:inline-flex;justify-content:center;align-items:center;font-size:18px;flex:none}.panel{border:1px solid var(--line);border-radius:6px;padding:18px;margin-top:14px;background:#fff}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e9eef1;padding-bottom:12px;margin-bottom:12px}.section-heading h1,.section-heading h2{margin:0;font-size:19px}.section-heading>span{color:var(--muted);font-size:12px;white-space:nowrap}h2{font-size:20px}.muted{font-size:13px;color:var(--muted);line-height:1.8}.pending-rules>div{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #edf0f2}.pending-rules>div:last-child{border:0}.pending-rules small{color:#87969e;font-size:12px}.rule-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.rule-grid>div{background:#f5f8fa;padding:10px;display:flex;gap:10px;overflow-wrap:anywhere}.rule-grid b{white-space:nowrap}.references summary{cursor:pointer;padding:10px 0}.article-list>a{display:flex;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid #edf0f2;color:inherit}.article-list>a:last-child{border:0}.article-list>a>div{flex:1;min-width:0}.article-list img{width:90px;height:70px;object-fit:cover;border-radius:4px}.article-list h3{font-size:17px;margin:0 0 7px}.article-list p{margin:0 0 8px;color:var(--muted);font-size:13px;line-height:1.7}.article-list time{font-size:12px;color:#8d9da5}.article-list em{color:#e35527;font-size:12px;font-style:normal}footer{padding:24px 4px 28px;color:#7d8c95;text-align:center;font-size:12px;line-height:1.8}footer nav{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;margin-bottom:12px}.site-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 0 20px;font-size:12px}.brand{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:bold;color:#17354a}.brand-mark{display:grid;place-items:center;border-radius:7px;background:#1681bd;color:white;width:34px;height:34px;font-size:21px}.brand img{max-width:120px;max-height:40px}.tabs{display:flex;gap:8px}.tabs a{flex:1;padding:11px;text-align:center;border:1px solid #cddde6;border-radius:4px;background:#f5f9fb}.tabs .active{color:white;background:#2587be;border-color:#2587be}.filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;background:#f5f8fa;padding:14px;border-radius:5px}.filter-grid label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:bold;color:#526977}.filter-grid input,.filter-grid select{width:100%;height:37px;border:1px solid #cad6df;border-radius:4px;padding:7px;background:white;min-width:0;color:#213846}.search-label{grid-column:span 2}.filter-actions{grid-column:span 2;display:flex;gap:8px;align-items:end}button,.primary{border:1px solid #cbd7df;border-radius:4px;padding:8px 14px;background:white;color:#254b62;display:inline-block}.primary{background:#187db3;border-color:#187db3;color:white}.result-bar{display:flex;justify-content:space-between;font-size:12px;padding:18px 0 10px}.result-bar>span{color:#81919b}.history-row{padding:14px 0;border-top:1px solid #e0e7ec}.history-meta{display:flex;justify-content:space-between;gap:8px;font-size:13px;margin-bottom:9px}.history-meta time{color:#7e909d}.history-row .ball{height:49px}.history-row .ball b{font-size:24px;line-height:27px}.history-row .ball span{font-size:16px;line-height:18px;min-width:21px}.history-source{font-size:11px;color:#87949b;margin-top:8px;overflow-wrap:anywhere}.empty{padding:46px 12px;text-align:center;color:#7e8f99;line-height:1.8}.empty strong{display:block;font-size:18px;color:#34576d}.pagination{display:flex;justify-content:center;align-items:center;gap:12px;font-size:13px;padding-top:18px}.pagination a{padding:8px 12px;border:1px solid #ccdbe5;border-radius:4px}.breadcrumb{padding:5px 0 10px;color:#8d9ba3;font-size:13px}.article{padding:24px}.article h1{font-size:27px;line-height:1.5;margin:0 0 14px;overflow-wrap:anywhere}.article-meta{font-size:12px;color:#82939e}.article .lead{font-size:15px;line-height:1.8;color:#607785;border-left:3px solid #58a8d5;padding-left:14px;margin:22px 0}.prose{line-height:1.95;overflow-wrap:anywhere;font-size:16px}.prose h2{margin:28px 0 8px}.prose img,.cover{max-width:100%;height:auto}.prose table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse}.prose td,.prose th{padding:7px;border:1px solid #ccd7dd}.prose pre{white-space:pre-wrap;overflow-wrap:anywhere}.prose iframe{max-width:100%}.tags{display:flex;gap:8px;margin-top:20px}.tags span{padding:3px 9px;background:#eff5f8;font-size:12px;border-radius:4px}.related{list-style:none;padding:0;line-height:2}.related li{border-bottom:1px solid #edf1f3;padding:6px 0}.preview-banner{background:#fff0cd;padding:10px;margin-bottom:15px;color:#775f1d}.error-code{font-size:72px!important;color:#3b90be!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}@media(max-width:520px){.container{width:calc(100% - 12px)}.draw-board{padding:0 5px}.draw-heading{font-size:14px;line-height:20px}.countdown{font-size:14px}.balls{gap:3px;grid-template-columns:repeat(6,minmax(0,1fr)) 15px minmax(0,1fr)}.ball{height:48px}.ball b{font-size:24px;line-height:27px}.ball>span{font-size:16px;line-height:18px;min-width:19px}.ball.unknown>span{font-size:13px}.plus{font-size:23px}.next-line{font-size:13px;margin-top:6px}.refresh{font-size:13px;padding:1px 3px}.data-note{font-size:10px}.column-link{font-size:18px;gap:5px;min-height:35px}.column-link .subtitle{font-size:17px}.seal{width:17px;height:17px;font-size:15px}.notice{font-size:10px;padding:9px 3px}.panel{padding:13px}.section-heading h1,.section-heading h2{font-size:17px}.section-heading>span{font-size:10px}.filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:10px;gap:10px}.search-label{grid-column:span 1}.filter-actions{grid-column:span 1}.filter-actions button{padding:8px;font-size:12px}.article h1{font-size:23px}.article{padding:17px}.prose{font-size:15px}.rule-grid{grid-template-columns:1fr}.history-row .ball{height:44px}.history-row .ball b{font-size:21px}.history-row .ball span{font-size:14px}.brand{font-size:16px}.result-bar{font-size:11px}.history-meta{font-size:11px}footer nav{gap:10px}}

.reference-table summary{font-size:18px;color:#132f3c;cursor:pointer;padding:12px 0}.reference-table summary small{font-size:11px;color:#70838d;font-weight:normal;margin-left:8px}.reference-rows{border:1px solid #dce6e9;border-radius:4px;overflow:hidden}.reference-row{display:flex;align-items:stretch;border-bottom:1px solid #e1e8ed;min-height:44px}.reference-row:last-child{border-bottom:0}.reference-label{flex:0 0 72px;display:flex;align-items:center;justify-content:center;background:#f0f6f8;color:#16638e;font-size:17px;border-right:1px solid #dce6e9}.reference-values{padding:8px;display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0;line-height:1.7;font-size:16px}.number-chip{display:inline-flex;width:30px;height:30px;justify-content:center;align-items:center;border-radius:50%;background:#e6edf0;color:white;font:bold 16px Arial;flex:none}.number-chip.red{background:var(--red)}.number-chip.blue{background:var(--blue)}.number-chip.green{background:var(--green)}.reference-label.red{color:var(--red)}.reference-label.green{color:#159820}.reference-label.blue{color:#237dd0}.attributes .reference-label{flex-basis:72px}.reference-table .muted{font-size:10px}.references .section-heading{flex-wrap:wrap;gap:4px}@media(max-width:520px){.reference-label{flex-basis:56px;font-size:15px}.reference-values{gap:5px;padding:7px;font-size:14px}.number-chip{width:26px;height:26px;font-size:14px}.reference-table summary{font-size:16px}.reference-table summary small{display:block;margin:4px 0 0 18px}.attributes .reference-label{flex-basis:56px}}

.zodiac .reference-rows{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.zodiac .reference-row{min-width:0;border-right:1px solid #dce6e9;border-bottom:1px solid #dce6e9;min-height:44px}
.zodiac .reference-row:nth-child(3n){border-right:0}.zodiac .reference-row:nth-last-child(-n+3){border-bottom:0}
.zodiac .reference-label{flex-basis:28px}.zodiac .reference-values{gap:3px;padding:7px 5px;flex-wrap:nowrap}
.zodiac .number-chip{width:26px;height:26px;font-size:14px}
.attribute-bands{border:1px solid #dce6e9;border-radius:4px;overflow:hidden}
.attribute-band{display:grid;border-bottom:1px solid #dce6e9}.attribute-band:last-child{border-bottom:0}
.attribute-band.count-2{grid-template-columns:repeat(2,minmax(0,1fr))}.attribute-band.count-3{grid-template-columns:repeat(3,minmax(0,1fr))}.attribute-band.count-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.attribute-band .reference-row{min-width:0;border-bottom:0;border-right:1px solid #dce6e9;min-height:40px}.attribute-band .reference-row:last-child{border-right:0}
.attributes .attribute-band .reference-label{flex-basis:45px;font-size:15px}.attributes .attribute-band .reference-values{padding:6px 8px;font-size:15px;overflow-wrap:anywhere}
.attributes .count-4 .reference-label{flex-basis:28px}
@media(max-width:600px){
.zodiac .reference-rows{grid-template-columns:repeat(2,minmax(0,1fr))}.zodiac .reference-row:nth-child(3n){border-right:1px solid #dce6e9}.zodiac .reference-row:nth-child(2n){border-right:0}.zodiac .reference-row:nth-last-child(-n+3){border-bottom:1px solid #dce6e9}.zodiac .reference-row:nth-last-child(-n+2){border-bottom:0}
.zodiac .reference-label{flex-basis:24px;font-size:15px}.zodiac .reference-values{gap:2px;padding:6px 4px}.zodiac .number-chip{width:22px;height:22px;font-size:12px}
.attributes .attribute-band .reference-label{flex-basis:34px;font-size:13px}.attributes .attribute-band .reference-values{padding:5px;font-size:13px}
.attributes .count-3 .reference-row,.attributes .count-4 .reference-row{flex-direction:column}
.attributes .count-3 .reference-label,.attributes .count-4 .reference-label{flex-basis:auto;border-right:0;border-bottom:1px solid #dce6e9;padding:4px 0}
.attributes .count-3 .reference-values,.attributes .count-4 .reference-values{justify-content:center;padding:5px 2px}
}
@media(max-width:360px){.zodiac .number-chip{width:18px;height:20px;font-size:11px}.zodiac .reference-values{gap:2px;padding:6px 3px}.zodiac .reference-label{flex-basis:22px}.attributes .attribute-band .reference-values{font-size:12px;padding:4px}.attributes .attribute-band .reference-label{flex-basis:30px;font-size:12px}.attributes .count-3 .reference-label,.attributes .count-4 .reference-label{flex-basis:auto}}
/* Alternating bands keep paired attributes on the same visual row. */
.attribute-band:nth-child(even){background:#f1f7fb}
.attribute-band:nth-child(even) .reference-label{background:#e6f0f6}
.attribute-band:nth-child(odd){background:#fff}

.top-announcement{background:#fff;border:1px solid #cbdce6;border-radius:6px;padding:14px 16px;margin-bottom:10px;line-height:1.7;overflow-wrap:anywhere;overflow-x:auto}.top-announcement>:first-child{margin-top:0}.top-announcement>:last-child{margin-bottom:0}.top-announcement img{max-width:100%;height:auto}.top-announcement table{max-width:100%}

[hidden]{display:none!important}.lottery-switcher{position:sticky;top:0;z-index:50;background:white;padding-bottom:3px}.lottery-buttons{display:flex;gap:1px;padding:2px 0}.lottery-buttons button{position:relative;flex:1;display:flex;align-items:center;justify-content:center;gap:5px;border:0;border-radius:22px;background:#eee;color:red;font-size:23px;font-weight:bold;line-height:30px;padding:2px 4px;white-space:nowrap}.lottery-buttons button[aria-pressed=true]{background:#60beed;color:#fff}.lottery-buttons img{width:21px;height:21px;object-fit:contain}.lottery-buttons sup{font-size:10px;line-height:12px;color:white;background:#ff641c;position:absolute;top:-3px;margin-left:83px}.compact-draw{position:relative;display:grid;grid-template-columns:140px minmax(0,1fr);gap:4px;background:#fff;height:42px}.compact-meta{display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:14px;line-height:18px}.compact-history{color:red;background:#ff0;font-weight:bold}.compact-balls{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.compact-balls .ball{height:40px;border-radius:0;background:white!important;border:1px solid #e2e2e2;justify-content:flex-start}.compact-balls .ball b{display:block;width:100%;text-align:center;font-size:23px;line-height:21px;color:white;background:var(--blue)}.compact-balls .ball.red b{background:var(--red)}.compact-balls .ball.green b{background:var(--green)}.compact-balls .ball span{font-size:17px;line-height:17px;background:white;width:100%}.compact-balls .ball:last-child{margin-left:16px}.compact-refresh{position:absolute;right:calc((100% - 144px)/7 - 13px);top:1px;padding:0;width:15px;height:39px;white-space:normal;font-size:12px;line-height:15px;color:#ff6500;background:#ff0;border:0;border-radius:0}.lottery-empty{grid-column:1/-1;padding:12px;color:#6f818b;font-size:14px}
@media(max-width:520px){.lottery-buttons button{font-size:19px;line-height:27px}.lottery-buttons img{width:19px;height:19px}.compact-draw{grid-template-columns:72px minmax(0,1fr);gap:3px;height:39px}.compact-meta{font-size:11px;line-height:16px}.compact-balls{gap:2px}.compact-balls .ball{height:37px}.compact-balls .ball b{font-size:18px;line-height:19px}.compact-balls .ball span{font-size:14px;line-height:16px}.compact-balls .ball:last-child{margin-left:12px}.compact-refresh{right:calc((100% - 75px)/7 - 10px);width:12px;height:36px;font-size:10px;line-height:14px}.lottery-buttons sup{margin-left:74px}}

.pinned-label{display:inline-block;background:#e83c32;color:#fff;border-radius:3px;padding:1px 5px;font-size:12px;line-height:1.5;vertical-align:middle;margin-right:3px}

.home-articles{padding:6px 18px}.home-articles .article-list>a{padding:9px 0;gap:10px;color:#185a87}.home-articles .article-list h3{font-size:20px;line-height:1.5;margin:0}.home-articles .article-list p:empty{display:none}.home-articles .article-list p:not(:empty){margin:4px 0 0}.home-articles .article-list>a:hover{color:#087cb4}@media(max-width:520px){.home-articles{padding:5px 12px}.home-articles .article-list>a{padding:8px 0}.home-articles .article-list h3{font-size:19px}}

.columns{margin-top:10px}
