:root{color-scheme:light;--ink:#122640;--muted:#51647c;--line:#dae4ee;--bg:#eef3f8;--card:#fff;--accent:#137b6c;--blue:#225aa9;--radius:14px;font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font-size:15px}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit}
button,a,input,select{-webkit-tap-highlight-color:transparent}
:focus-visible{outline:3px solid #147cf2;outline-offset:3px}
.masthead{background:#142943;color:#fff;border-bottom:4px solid #2da798}
.masthead-inner{max-width:1350px;min-height:76px;margin:auto;padding:12px 24px;display:flex;gap:28px;align-items:center}
.masthead p{font-size:13px;color:#c6d6e9;margin:0}
.brand{display:flex;align-items:center;gap:12px;font-size:22px;font-weight:750;line-height:1.15;white-space:nowrap}
.brand small{font-size:9px;color:#c0e4df;letter-spacing:.12em;display:block;margin-top:4px}
.brand-mark{display:grid;place-items:center;width:43px;height:43px;background:#0d766c;border-radius:12px;font-size:25px}
.feed-state{margin-left:auto;font-size:13px;color:#c9e1ea;border:1px solid #45647a;border-radius:20px;padding:6px 11px;white-space:nowrap}
.layout{max-width:1350px;margin:auto;padding:24px;display:grid;grid-template-columns:218px minmax(0,1fr);gap:24px}
.rail{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);align-self:start;padding:15px}
.rail h2{font-size:15px;margin:3px 0 15px}
.series{display:block;color:var(--muted);font-weight:700;font-size:11px;letter-spacing:.08em;padding:11px 7px 5px}
.game-link{padding:9px 10px;border-radius:8px;display:block;margin:2px 0;border:1px solid transparent}
.game-link:hover{background:#eef6fb}
.game-link[aria-current=true]{color:#11645b;background:#e6f5f1;border-color:#b9e2da;font-weight:700}
.heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 13px;gap:10px}
.eyebrow{font-weight:650;font-size:12px;color:var(--accent);margin:0 0 5px}
h1{font-size:30px;margin:0;letter-spacing:.025em}
.mobile-games{display:none}
.current{background:linear-gradient(117deg,#153551,#174460);color:white;border-radius:var(--radius);padding:20px 24px;margin-bottom:16px;min-height:142px;display:grid;grid-template-columns:1fr auto;gap:14px;align-items:center}
.current p{margin:5px 0;color:#cce2ec;font-size:13px}
.current h2{margin:0;font-size:16px}
.draw-numbers{display:flex;align-items:center;flex-wrap:wrap;gap:5px;font-variant-numeric:tabular-nums}
.current .draw-numbers{margin-top:8px}
.ball{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:30px;padding:0 4px;border-radius:50%;background:#e6effa;color:#1a457e;font-weight:750}
.current .ball{background:#e5f8f4;color:#0b584e;min-width:37px;height:37px}
.symbol{padding:0 2px;font-weight:650}
.current .total{background:#37bbaa;color:#072e36}
.count{border-left:1px solid #4e7185;padding:5px 0 5px 21px;min-width:160px}
#clock{font-size:23px;font-weight:750;font-variant-numeric:tabular-nums;display:block;margin:6px 0}
.panel{background:var(--card);border:1px solid var(--line);border-radius:var(--radius)}
.tabs{display:flex;gap:8px;padding:10px 14px 0;border-bottom:1px solid var(--line)}
.tabs button{cursor:pointer;border:0;border-bottom:3px solid transparent;background:transparent;color:var(--muted);padding:11px 18px}
.tabs button[aria-pressed=true]{border-bottom-color:var(--accent);color:var(--accent);font-weight:750}
.toolbar{padding:12px 16px;display:flex;gap:12px;flex-wrap:wrap;justify-content:space-between;color:var(--muted);font-size:13px}
.toolbar label{display:flex;align-items:center;gap:7px}
input,select{background:#fff;border:1px solid #aabed0;border-radius:7px;color:var(--ink);padding:7px 9px}
input{width:154px}
#content{padding:0 16px 16px}
.scroll{overflow:auto;max-height:640px;border:1px solid var(--line);border-radius:9px}
table{width:100%;border-collapse:collapse;font-size:13px;text-align:left;white-space:nowrap;font-variant-numeric:tabular-nums}
th,td{padding:10px 12px;border-bottom:1px solid #e6edf3}
th{position:sticky;top:0;background:#eff5fa;z-index:1;color:#344e67}
tr:nth-child(even){background:#f8fbfd}
tbody tr:last-child td{border-bottom:0}
.chips{display:flex;gap:5px;flex-wrap:wrap}
.chip{display:inline-block;padding:3px 7px;border-radius:5px;background:#e7effa;color:#234f80;font-size:12px}
.chip.strong{background:#dff5eb;color:#14604b}
.chip.warn{background:#fff1de;color:#824b07}
.trend-svg{display:block;width:100%;min-width:450px;height:auto;background:#f6fafc}
.grid-line{stroke:#d7e4ef;stroke-width:1}
.axis-label{fill:#526a80;font-size:11px}
.trace{fill:none;stroke:#207d73;stroke-width:2.5}
.trace-dot{fill:#207d73}
.chart-caption,.hint,.empty{margin:9px 0 12px;color:var(--muted);font-size:13px}
.empty{padding:18px 2px}
.forecast-card{background:#ecf7f4;border:1px solid #b4ded5;padding:13px 15px;border-radius:9px;margin:0 0 14px}
.forecast-card strong{display:block;margin-bottom:6px}
.heat{color:#184977;font-weight:700}
.omission{color:#728398}
footer{padding:17px 2px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;color:var(--muted);font-size:12px}
@media(max-width:740px){.layout{display:block;padding:12px}.rail{display:none}.masthead-inner{padding:10px 12px;min-height:64px;gap:10px}.masthead p{display:none}.brand{font-size:18px}.brand-mark{height:36px;width:36px}.feed-state{font-size:11px}.mobile-games{display:block}.mobile-games select{max-width:140px;font-size:13px}.heading{margin-top:4px}h1{font-size:24px}.current{padding:14px;gap:9px}.count{min-width:0;padding-left:9px}.current .ball{min-width:28px;height:28px}.count #clock{font-size:16px}.current p{font-size:11px}.tabs button{padding:9px 13px}.toolbar{padding:10px;gap:8px}#content{padding:0 9px 9px}th,td{padding:8px}.scroll{max-height:58vh}.current .draw-numbers{gap:4px}input{width:124px}}
@media(max-width:395px){.current{grid-template-columns:1fr}.count{padding:8px 0 0;border-left:0;border-top:1px solid #4e7185;display:flex;gap:10px;align-items:center}.count #clock{margin:0}}
