:root{color:#172033;font-synthesis:none;text-rendering:optimizelegibility;background:#f3f6fb;font-family:Inter,Microsoft YaHei,PingFang SC,system-ui,sans-serif}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}.app-shell{max-width:1220px;margin:0 auto;padding:28px 18px 48px}.hero{grid-template-columns:minmax(0,1fr);align-items:stretch;gap:18px;margin-bottom:18px;display:grid}.hero-copy,.refresh-card,.panel{background:#fffffff5;border:1px solid #e1e7f0;border-radius:8px;box-shadow:0 18px 44px #1b274014}.hero-copy{padding:28px;position:relative;overflow:hidden}.hero-copy:after{content:"";background:#e8f2ff;width:100%;height:4px;position:absolute;bottom:0;left:0}.eyebrow{color:#bf2441;letter-spacing:0;margin:0 0 8px;font-size:13px;font-weight:800}h1,h2,h3,p{margin-top:0}h1{margin-bottom:12px;font-size:clamp(30px,4vw,46px);line-height:1.08}h2{margin-bottom:6px;font-size:24px}h3{margin-bottom:12px;font-size:18px}.subtitle{color:#5e6b7e;max-width:680px;margin-bottom:0;line-height:1.7}.latest-draw{flex-wrap:wrap;align-items:center;gap:10px;margin-top:22px;display:flex}.latest-label{color:#34425b;background:#f7f9fc;border:1px solid #e1e7f0;border-radius:999px;padding:8px 12px;font-weight:800}.refresh-card{gap:14px;padding:18px;display:grid}.refresh-card-head{justify-content:space-between;align-items:center;display:flex}.refresh-card-head div{align-items:center;gap:9px;display:flex}.status-dot{background:#28a36a;border-radius:50%;width:10px;height:10px;animation:1.8s ease-in-out infinite pulse;box-shadow:0 0 0 6px #28a36a1f}.pill{color:#176344;background:#edf7f2;border:1px solid #cfeadf;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800}dl{gap:10px;margin:0;display:grid}dl div{border-top:1px solid #eef2f7;gap:2px;padding-top:10px;display:grid}dt{color:#768297;font-size:12px}dd{color:#172033;margin:0;font-weight:800}.refresh-result{border-radius:8px;margin:0;padding:10px 12px;font-size:13px;line-height:1.5}.refresh-result.ok{color:#176344;background:#edf7f2}.refresh-result.error,.error-state{color:#a32035;background:#fff1f2}.primary-action,.ghost-action,.tabs button,.segmented button,.pager button{border:1px solid #d6deea;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:10px 14px;transition:background .16s,border-color .16s,box-shadow .16s,color .16s,transform .16s;display:inline-flex}.primary-action{color:#fff;background:#194f82;border-color:#194f82;font-weight:800}.ghost-action,.tabs button,.segmented button,.pager button{color:#34425b;background:#fff}.primary-action:hover:not(:disabled),.ghost-action:hover:not(:disabled),.tabs button:hover,.segmented button:hover,.pager button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 10px 22px #194f8229}.primary-action:disabled,.ghost-action:disabled,.pager button:disabled{opacity:.55}.tabs{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px;display:grid}.tabs button{text-align:left;flex-direction:column;align-items:flex-start;gap:4px;min-height:72px;padding:14px}.tabs button span{color:#768297;font-size:12px}.tabs button.active,.segmented button.active{color:#fff;background:#194f82;border-color:#194f82}.tabs button.active span{color:#ffffffc7}.notice{color:#815b13;background:#fff8ea;border:1px solid #f1cf84;border-radius:8px;margin-bottom:16px;padding:12px 14px;line-height:1.6}.page-stage{animation:.28s both riseIn}.source-link{color:#194f82;font-weight:800;text-decoration:none}.source-link:hover{text-decoration:underline}.panel{padding:22px}.toolbar{justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;display:flex}.toolbar p,.section-toolbar p{color:#667287;margin-bottom:0}.actions,.segmented{flex-wrap:wrap;gap:10px;display:flex}input{color:#172033;background:#fff;border:1px solid #d6deea;border-radius:8px;min-width:230px;min-height:42px;padding:10px 12px;transition:border-color .16s,box-shadow .16s}input:focus{border-color:#194f82;outline:none;box-shadow:0 0 0 4px #194f821f}.table-wrap{border:1px solid #e4eaf2;border-radius:8px;overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:760px}th{color:#526074;text-align:left;background:#f4f7fb}th,td{white-space:nowrap;border-bottom:1px solid #edf1f6;padding:13px 14px}tbody tr{transition:background .14s}tbody tr:hover{background:#f8fbff}tr:last-child td{border-bottom:0}.balls{flex-wrap:wrap;align-items:center;gap:6px;display:inline-flex}.ball{color:#fff;letter-spacing:0;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;font-size:13px;font-weight:900;animation:.24s both ballPop;display:inline-flex;position:relative}.ball:after{content:"";background:#ffffff5c;border-radius:50%;width:9px;height:9px;position:absolute;top:6px;left:8px}.ball.red{background:#d33d4f;box-shadow:inset 0 -5px 8px #5b0b163d,0 5px 12px #d33d4f38}.ball.blue{background:#2368d4;box-shadow:inset 0 -5px 8px #0c2e6c3d,0 5px 12px #2368d438}.pager{justify-content:flex-end;align-items:center;gap:12px;margin-top:16px;display:flex}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px;display:grid}.metric-card{background:#f8fafc;border:1px solid #e4eaf2;border-radius:8px;gap:6px;padding:14px;display:grid}.metric-card span,.metric-card small{color:#667287}.metric-card strong{font-size:26px}.metric-card.red strong{color:#c82f47}.metric-card.blue strong{color:#2368d4}.metric-card.amber strong{color:#b66d09}.recommend-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:22px;display:grid}.recommend-card{background:#fff;border:1px solid #e4eaf2;border-radius:8px;gap:11px;padding:16px;transition:border-color .16s,box-shadow .16s,transform .16s;display:grid}.recommend-card:hover{border-color:#c9d6e8;transform:translateY(-2px);box-shadow:0 16px 28px #1c28401a}.recommend-title{justify-content:space-between;align-items:center;display:flex}.recommend-title span{color:#194f82;font-weight:900}.recommend-title small{color:#667287;cursor:help}.recommend-card p{color:#526074;white-space:normal;margin:0;font-size:13px;line-height:1.65}.info-strip,.error-state{border-radius:8px;margin-bottom:18px;padding:12px 14px;line-height:1.65}.info-strip{color:#24496e;background:#edf6ff;border:1px solid #cbdff8}.subsection{margin-top:22px}.section-toolbar{justify-content:space-between;align-items:center;gap:12px;margin:6px 0 12px;display:flex}.section-toolbar h3{margin-bottom:4px}.heat-grid{grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:10px;display:grid}.heat-cell{--alpha:calc(.1 + var(--heat) * .74);color:#172033;border:1px solid #17203314;border-radius:8px;gap:4px;padding:12px;transition:box-shadow .16s,transform .16s;display:grid}.heat-cell:hover{transform:translateY(-2px);box-shadow:0 12px 24px #1b27401f}.heat-grid.red .heat-cell{background:rgba(211, 61, 79, var(--alpha))}.heat-grid.blue .heat-cell{background:rgba(35, 104, 212, var(--alpha))}.heat-cell strong{font-size:20px}.heat-cell span,.heat-cell small{color:#172033c2}.prediction-line{background:#f8fbff;border:1px solid #e4eaf2;border-radius:8px;justify-content:space-between;align-items:center;gap:16px;padding:16px;display:flex}.prediction-line div{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.prediction-line span{font-weight:900}.prediction-line p{color:#667287;margin-bottom:0}.chart-wrap{background:#fff;border:1px solid #e4eaf2;border-radius:8px;margin-top:18px;overflow-x:auto}svg{width:100%;min-width:760px}svg text{fill:#667287;font-size:13px}.grid-line{stroke:#e4eaf2}.range-line{stroke:#9aa8bc;stroke-width:3px}.quartile{fill:#d33d4f2e;stroke:#d33d4f}.mean-dot{fill:#194f82}.prediction-poly{fill:none;stroke:#d89f18;stroke-linejoin:round;stroke-width:3px}.compact{margin-top:10px}.trend-scroller{background:#fff;border:1px solid #e4eaf2;border-radius:8px;overflow:auto}.trend-matrix{min-width:100%}.trend-row{grid-template-columns:var(--trend-issue-width) var(--trend-red-width) var(--trend-blue-width);height:var(--trend-row-height);display:grid}.trend-header{color:#526074;z-index:8;background:#f4f7fb;font-weight:900;position:sticky;top:0}.trend-body{position:relative}.trend-issue{height:var(--trend-row-height);border-bottom:1px solid #edf1f6;border-right:1px solid #edf1f6;flex-direction:column;justify-content:center;align-items:center;padding:0 6px;line-height:1.15;display:flex}.trend-issue small{color:#667287;font-size:11px}.trend-red-grid,.trend-blue-grid{display:grid}.trend-red-grid{grid-template-columns:repeat(33, var(--trend-cell-width))}.trend-blue-grid{grid-template-columns:repeat(16, var(--trend-cell-width))}.trend-red-grid span,.trend-blue-grid span{height:var(--trend-row-height);border-bottom:1px solid #edf1f6;border-right:1px solid #f0f3f7;justify-content:center;align-items:center;font-size:11px;font-weight:900;display:flex;position:relative}.trend-header span{color:#667287;background:#f4f7fb}.trend-row.predicted{background:#fff9eb}.trend-row.predicted .trend-issue strong{color:#a46409}.trend-red-grid .muted,.trend-blue-grid .muted{color:#c2cad6;background:#fbfcfe}.trend-red-grid .picked,.trend-blue-grid .picked{color:#fff;height:24px;margin:calc((var(--trend-row-height) - 24px) / 2) 3px;z-index:5;border-radius:999px}.red-pick{background:#d33d4f}.blue-pick{background:#2368d4}.trend-overlay{height:auto;left:var(--trend-issue-width);pointer-events:none;min-width:0;width:var(--trend-red-width);z-index:6;display:block;position:absolute;top:0}.trend-overlay.blue-overlay{left:calc(var(--trend-issue-width) + var(--trend-red-width));width:var(--trend-blue-width)}.trend-solid,.trend-dashed{fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.4px}.trend-dashed{stroke-dasharray:7 5}.blue-trend{stroke:#2368d4}.loading-block{border:1px solid #e4eaf2;border-radius:8px;gap:12px;padding:18px;display:grid}.skeleton-line{background:linear-gradient(90deg,#edf1f6 0%,#f8fafc 45%,#edf1f6 90%) 0 0/220% 100%;border-radius:999px;width:72%;height:14px;animation:1.2s linear infinite shimmer;display:block}.skeleton-line.wide{width:94%}.skeleton-line.short{width:48%}.spin{animation:.78s linear infinite spin;display:inline-flex}@keyframes riseIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes ballPop{0%{opacity:0;transform:scale(.78)}to{opacity:1;transform:scale(1)}}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.28)}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes shimmer{to{background-position:-220% 0}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:1ms!important;animation-duration:1ms!important}}@media (width<=940px){.hero{grid-template-columns:1fr}.tabs,.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.recommend-grid{grid-template-columns:1fr}}@media (width<=700px){.app-shell{padding:16px 12px 36px}.hero-copy,.refresh-card,.panel{padding:16px}.tabs,.metric-grid{grid-template-columns:1fr}.toolbar,.prediction-line,.section-toolbar{flex-direction:column;align-items:stretch}.actions,.segmented{width:100%}.actions button,.segmented button,.pager button{flex:auto}input{min-width:100%}}
