*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue","PingFang SC","Microsoft YaHei",Arial,sans-serif;background:linear-gradient(180deg,#0f172a 0%,#111827 100%);color:#e5e7eb}
.shell{display:flex;flex-direction:column;min-height:100vh}
.header{display:flex;flex-direction:column;gap:10px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.06);backdrop-filter:saturate(160%) blur(8px);background:rgba(17,24,39,.6);position:sticky;top:0;z-index:10}
.container{max-width:1440px;margin:0 auto;padding:0 24px;width:100%}
.header-inner{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:12px;min-height:72px}
.header-leftwrap{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:12px}
.logo{display:flex;align-items:center;gap:10px}
.logo-img{width:56px;height:56px;max-width:56px;max-height:56px;border-radius:10px;object-fit:contain;display:block}
.logo-word-img{height:40px;max-height:40px;width:auto;max-width:360px;object-fit:contain;display:block;flex:0 0 auto}
.logo-dot{width:14px;height:14px;border-radius:50%;background:linear-gradient(135deg,#34d399,#10b981)}
.logo-text{font-weight:800;letter-spacing:.5px;font-size:30px}
.ad-banner{height:56px;border:1px dashed rgba(255,255,255,.2);border-radius:12px;display:flex;align-items:center;justify-content:center;color:#9ca3af;background:rgba(255,255,255,.03);width:50%;margin:0 auto}
.top-actions{display:flex;align-items:center;gap:12px;justify-content:flex-end;flex-wrap:wrap}
.top-actions .btn{white-space:nowrap}
.nav-tabs{position:relative;display:flex;align-items:center;padding:18px 0;background:linear-gradient(180deg,rgba(31,41,55,.55),rgba(17,24,39,.6));backdrop-filter:saturate(160%) blur(6px);border-top:1px solid rgba(255,255,255,.06);border-bottom:1px solid rgba(255,255,255,.08);box-shadow:0 2px 10px rgba(0,0,0,.22)}
.nav-scroll{position:relative;flex:1;overflow:visible}
.nav-list{display:flex;column-gap:0;row-gap:6px;overflow-x:auto;scroll-behavior:smooth;padding:0 6px}
.nav-wrap{flex-wrap:wrap;overflow:visible}
.nav-list::-webkit-scrollbar{height:0}
.nav-tabs .tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-height:40px;width:68px;padding:2px 4px;background:none;border:none;color:#e5e7eb;position:relative;font-size:13px;font-weight:500;letter-spacing:.1px;border-radius:0;transition:color .18s ease;flex:0 0 auto;text-align:center}
.nav-tabs .tab .tab-line1,.nav-tabs .tab .tab-line2{display:block;line-height:16px;text-align:center;white-space:normal}
.nav-tabs .tab .tab-line1{font-size:13px}
.nav-tabs .tab .tab-line2{font-size:13px;opacity:.95}
.nav-tabs .tab:hover{color:#c7d2fe}
.nav-tabs .tab::after{content:"";position:absolute;left:6px;right:6px;bottom:-4px;height:2px;background:transparent;border-radius:2px;transition:all .22s ease}
.nav-tabs .tab.active{color:#93c5fd}
.nav-tabs .tab.active::after{background:linear-gradient(90deg,#60a5fa,#2563eb)}
/* 统一风格，去掉彩色圆点，保持整洁 */
.field{display:flex;flex-direction:column;gap:6px}
.field.small{width:92px}
.label{font-size:12px;color:#9ca3af}
.field input,.field select{height:36px;padding:0 10px;border:1px solid rgba(255,255,255,.14);border-radius:8px;background:rgba(31,41,55,.6);color:#e5e7eb;outline:none}
.btn{height:36px;padding:0 14px;border:none;border-radius:8px;background:rgba(255,255,255,.08);color:#e5e7eb;display:inline-flex;align-items:center;justify-content:center;font-size:13px}
.btn.primary{background:linear-gradient(135deg,#3b82f6,#2563eb)}
.btn.danger{background:linear-gradient(135deg,#ef4444,#dc2626)}
.btn.full{width:100%}
.status-dot{width:10px;height:10px;border-radius:50%;background:#6b7280}
.status-dot.ok{background:#10b981}
.layout2{display:grid;grid-template-columns:1fr 3fr;gap:16px;padding:16px}
.col-left{min-width:0}
.col-right{display:flex;flex-direction:column;gap:16px}
.rec-note-row{display:flex;gap:16px}
.rec-note-row > .card{flex:1 1 0;min-width:0}
.note-body{font-size:12px;color:#cbd5e1;line-height:18px;white-space:pre-wrap;word-break:break-word}
.card{border:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,rgba(31,41,55,.72),rgba(17,24,39,.72));border-radius:14px;padding:16px;box-shadow:0 8px 24px rgba(0,0,0,.25)}
.card-title{font-weight:700;margin-bottom:12px;color:#f3f4f6}
.choice-line{display:flex;align-items:center;gap:6px;margin-top:8px;margin-bottom:12px;padding:0 4px;white-space:nowrap;overflow:hidden}
.choice-label{font-size:12px;color:#9ca3af;flex:0 0 auto}
.choice-val{font-size:14px;color:#f59e0b;font-weight:600;overflow:hidden;text-overflow:ellipsis}
.level-legend{display:flex;gap:8px;margin-bottom:10px;flex-wrap:wrap}
.legend{font-size:12px;padding:4px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05);color:#e5e7eb}
.legend-l1{border-color:#3b82f6;background:rgba(59,130,246,.12);color:#93c5fd}
.legend-l2{border-color:#8b5cf6;background:rgba(139,92,246,.12);color:#c4b5fd}
.legend-l3{border-color:#6b7280;background:rgba(107,114,128,.15);color:#e5e7eb}
.chip-list{display:flex;flex-wrap:wrap;gap:8px}
.chip{height:32px;padding:0 12px;border-radius:8px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05);color:#e5e7eb}
.chip{white-space:nowrap}
.chip:hover{background:rgba(255,255,255,.08)}
.chip.active{border-color:#3b82f6;background:rgba(59,130,246,.15);color:#93c5fd}
.plan-list{display:flex;flex-wrap:wrap;gap:8px}
.plan-chip{padding:8px 12px;border:1px solid rgba(255,255,255,.12);border-radius:8px;background:rgba(255,255,255,.04);color:#e5e7eb}
.plan-chip{white-space:nowrap}
.plan-chip.active{border-color:#8b5cf6;background:rgba(139,92,246,.15);color:#c4b5fd}
.inline-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.inline-row + .inline-row{margin-top:12px}
.inline-label{font-size:12px;color:#9ca3af}
.side-card .inline-row{flex-wrap:nowrap;align-items:flex-start}
.side-card .inline-label{flex:0 0 auto;width:44px;line-height:32px}
.side-card .chip-list{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;min-width:0;flex:1 1 auto;padding:2px 0;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.22) rgba(255,255,255,.06);-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
.side-card .plan-list{flex-wrap:wrap;overflow:visible;min-width:0;flex:1 1 auto}
.side-card .chip-list::-webkit-scrollbar,.side-card .plan-list::-webkit-scrollbar{height:4px}
.side-card .chip-list::-webkit-scrollbar-thumb,.side-card .plan-list::-webkit-scrollbar-thumb{background:rgba(255,255,255,.22);border-radius:999px}
.side-card .chip-list::-webkit-scrollbar-track,.side-card .plan-list::-webkit-scrollbar-track{background:rgba(255,255,255,.06);border-radius:999px}
.stats-card .stat-title{font-size:12px;color:#9ca3af;margin:8px 0 4px}
.stat-row{display:grid;grid-template-columns:max-content 1fr;gap:8px;align-items:center}
.stats-body .stat-row:first-child{margin-top:12px}
.stat-row + .stat-row{margin-top:24px}
.stat-row .stat-list{width:100%;max-width:100%}
.stat-list{display:flex;flex-wrap:nowrap;gap:6px;overflow-x:auto;overflow-y:hidden;padding:2px;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.stat-list{scrollbar-color:rgba(255,255,255,.22) rgba(255,255,255,.06);scrollbar-width:thin}
.stat-list::-webkit-scrollbar{height:4px}
.stat-list::-webkit-scrollbar-thumb{background:rgba(255,255,255,.22);border-radius:999px}
.stat-list::-webkit-scrollbar-track{background:rgba(255,255,255,.06);border-radius:999px}
.stat-chip{height:22px;padding:0 8px;border-radius:999px;border:1px solid rgba(255,255,255,.12);color:#e5e7eb;font-size:12px;line-height:22px}
.stat-chip.hit{border-color:rgba(16,185,129,.6);color:#a7f3d0}
.stat-chip.miss{border-color:rgba(239,68,68,.6);color:#fecaca}
.stat-summary{font-size:12px;color:#e5e7eb}
.stat-cell{display:flex;flex-direction:column;flex:0 0 auto;width:46px;height:66px;padding:0;border:1px solid rgba(0,0,0,.15);border-radius:10px;overflow:hidden;background:rgba(255,255,255,.9)}
.stat-cell.hit{border-color:rgba(0,0,0,.15)}
.stat-cell.miss{border-color:rgba(0,0,0,.15)}
.stat-cell .sc-label{display:flex;align-items:center;justify-content:center;width:100%;height:50%;font-size:12px;font-weight:400;color:#0f172a;line-height:12px;margin:0;border-bottom:1px solid rgba(0,0,0,.12)}
.stat-cell .sc-val{display:flex;align-items:center;justify-content:center;width:100%;height:50%;font-size:15px;font-weight:600;color:#0f172a;line-height:15px;margin:0}
.stat-cell.hit .sc-label{background:#e2e8f0;color:#334155}
.stat-cell.hit .sc-val{background:linear-gradient(180deg,rgba(167,243,208,.95),rgba(16,185,129,.10));color:#065f46}
.stat-cell.miss .sc-label{background:#e2e8f0;color:#334155}
.stat-cell.miss .sc-val{background:linear-gradient(180deg,rgba(254,202,202,.95),rgba(239,68,68,.10));color:#991b1b}
.stats-tabs{display:flex;gap:8px;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;border-bottom:1px solid rgba(255,255,255,.08);padding-bottom:6px;margin-bottom:8px;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.22) rgba(255,255,255,.06)}
.stats-tabs::-webkit-scrollbar{height:4px}
.stats-tabs::-webkit-scrollbar-thumb{background:rgba(255,255,255,.22);border-radius:999px}
.stats-tabs::-webkit-scrollbar-track{background:rgba(255,255,255,.06);border-radius:999px}
.st-tab{height:28px;padding:0 10px;background:none;border:none;color:#e5e7eb;font-size:12px;border-radius:6px;position:relative}
.st-tab::after{content:"";position:absolute;left:8px;right:8px;bottom:-7px;height:2px;background:transparent;border-radius:2px;transition:.2s}
.st-tab.active{color:#93c5fd}
.st-tab.active::after{background:linear-gradient(90deg,#3b82f6,#2563eb)}
.stats-top-tabs{display:flex;gap:8px;border-bottom:1px solid rgba(255,255,255,.08);padding-bottom:6px;margin-bottom:8px}
.st-top{height:28px;padding:0 10px;background:none;border:none;color:#e5e7eb;font-size:12px;border-radius:6px;position:relative}
.st-top::after{content:"";position:absolute;left:8px;right:8px;bottom:-7px;height:2px;background:transparent;border-radius:2px;transition:.2s}
.st-top.active{color:#93c5fd}
.st-top.active::after{background:linear-gradient(90deg,#3b82f6,#2563eb)}
.stats-pane{display:none}
.stats-pane.active{display:block}
.notice{padding:8px 0;background:rgba(17,24,39,.6);border-top:1px solid rgba(255,255,255,.06);border-bottom:1px solid rgba(255,255,255,.08)}
.notice-viewport{overflow:hidden;position:relative;height:28px;line-height:28px}
.notice-track{display:inline-block;white-space:nowrap;animation:marquee 40s linear infinite;color:#e5e7eb}
.notice .item{display:inline-block;margin-right:40px}
@keyframes marquee{0%{transform:translateX(100%)}100%{transform:translateX(-100%)}}
.modal{position:fixed;inset:0;display:none;z-index:50}
.modal.show{display:block}
.modal-overlay{position:absolute;inset:0;background:rgba(0,0,0,.55);z-index:0}
.modal-dialog{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:1;width:clamp(340px,calc(100vmin - 32px),920px);height:clamp(340px,calc(100vmin - 32px),920px);margin:0;background:rgba(17,24,39,.98);border:1px solid rgba(255,255,255,.10);border-radius:14px;box-shadow:0 18px 60px rgba(0,0,0,.55);display:flex;flex-direction:column;overflow:hidden}
.modal-header{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid rgba(255,255,255,.08)}
.modal-title{font-weight:700;color:#e5e7eb}
.modal-close{height:28px;width:28px;border-radius:8px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04);color:#e5e7eb;font-size:18px;line-height:24px}
.modal-body{padding:12px 14px;overflow:auto;flex:1 1 auto}
.help-body{display:flex;gap:12px}
.help-nav{flex:0 0 140px;display:flex;flex-direction:column;gap:8px}
.help-nav-item{height:34px;text-align:left;padding:0 10px;border-radius:10px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.03);color:#e5e7eb}
.help-nav-item.active{border-color:#3b82f6;background:rgba(59,130,246,.15);color:#93c5fd}
.help-content{flex:1 1 auto;min-width:0}
.help-pane{display:none}
.help-pane.active{display:block}
.help-pane-title{font-weight:700;color:#f3f4f6;margin-bottom:6px}
.help-pane-text{font-size:12px;color:#9ca3af;margin-bottom:10px}
.help-actions{display:flex;gap:8px;flex-wrap:wrap}
.dl-table{border:1px solid rgba(255,255,255,.08);border-radius:12px;overflow:hidden}
.dl-row{display:grid;grid-template-columns:1fr 96px;gap:10px;align-items:center;padding:10px 12px;background:rgba(255,255,255,.03)}
.dl-row + .dl-row{border-top:1px solid rgba(255,255,255,.06)}
.dl-row.dl-head{background:rgba(255,255,255,.06)}
.dl-col{min-width:0}
.dl-col.brand{color:#e5e7eb}
.dl-col.action{display:flex;justify-content:flex-end}
.dl-link{color:#93c5fd;text-decoration:none}
.dl-link:hover{text-decoration:underline}
.modal-open{overflow:hidden}
.ad-controls{display:flex;flex-direction:column;gap:6px;margin-bottom:8px}
.ad-title{font-size:12px;color:#9ca3af}
.ad-table-wrap{max-height:min(520px,60vh);overflow-y:auto;overflow-x:hidden;border-radius:10px}
.ad-table-wrap::-webkit-scrollbar{width:6px}
.ad-table-wrap::-webkit-scrollbar-thumb{background:rgba(255,255,255,.22);border-radius:999px}
.ad-table-wrap::-webkit-scrollbar-track{background:rgba(255,255,255,.06);border-radius:999px}
.mini-btn{height:28px;padding:0 10px;border:1px solid rgba(255,255,255,.12);border-radius:6px;background:rgba(255,255,255,.04);color:#e5e7eb}
.mini-btn.active{border-color:#3b82f6;background:rgba(59,130,246,.15);color:#93c5fd}
.mini-btn:disabled{opacity:.45;cursor:not-allowed}
.mini-input{height:28px;width:60px;border:1px solid rgba(255,255,255,.12);border-radius:6px;background:rgba(255,255,255,.04);color:#e5e7eb;padding:0 6px}
.ad-dates,.ad-positions,.ad-pager{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.recommend-numbers{display:flex;gap:8px;flex-wrap:wrap}
.rec{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:8px;background:linear-gradient(180deg,rgba(59,130,246,.18),rgba(37,99,235,.18));border:1px solid rgba(59,130,246,.35);color:#e5e7eb;font-weight:700}
.rec-tip{margin-top:8px;font-size:12px;color:#9ca3af}
.auth{display:flex;justify-content:center;padding:24px 0 48px}
.auth-card{max-width:420px;width:100%}
.auth-title{text-align:center;font-weight:800;font-size:18px;color:#f3f4f6;margin-bottom:6px}
.auth-sub{text-align:center;font-size:12px;color:#9ca3af;margin-bottom:12px}
.auth .field{flex-direction:row;align-items:center;gap:8px}
.auth .field .label{width:72px}
.auth .field input{flex:1}
.auth .field{margin-bottom:12px}
.auth .btn{margin-top:8px}
.content{display:flex;flex-direction:column;gap:16px}
a.btn{text-decoration:none;color:inherit}
a.btn:visited{color:inherit}
a.btn:hover{color:#fbbf24}
.top-actions .btn.active{color:#f59e0b}
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(0,auto);gap:16px}
.hero{grid-column:span 2;display:flex;flex-direction:column;gap:12px;padding:16px;background:linear-gradient(180deg,rgba(30,41,59,.85),rgba(2,6,23,.85))}
.hero-top{display:flex;align-items:center;justify-content:center;gap:24px;flex-wrap:wrap}
.trend-link{width:100%;text-align:left;font-size:12px}
.trend-link a{color:#93c5fd;text-decoration:none}
.trend-link a:hover{text-decoration:underline}
.period{font-weight:500;font-size:14px;color:#cbd5e1;text-align:center;width:100%}
.doc{padding:0}
.doc .doc-layout{display:grid;grid-template-columns:220px 1fr}
.doc-nav{border-right:1px solid rgba(255,255,255,.08);padding:16px;display:flex;flex-direction:column;gap:8px}
.doc-link{display:block;height:32px;line-height:32px;padding:0 10px;border-radius:8px;color:#e5e7eb;text-decoration:none}
.doc-link.active{background:rgba(59,130,246,.15);color:#93c5fd}
.doc-content{padding:16px}
.doc-title{font-size:18px;color:#f3f4f6;margin:8px 0}
.doc-p{font-size:14px;color:#e5e7eb;opacity:.9}
.timer{display:flex;align-items:center;gap:10px}
.timer-center{justify-content:center;width:100%;margin-top:2px}
.timer-label{font-size:12px;color:#9ca3af}
.timer-value{font-weight:800;font-size:16px;color:#60a5fa}
.numbers{display:flex;gap:6px;flex-wrap:wrap;justify-content:center;align-items:center;min-height:56px}
.bubble{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:12px;background:radial-gradient(circle at 30% 30%,#fde68a,#fca5a5);color:#111827;font-weight:900;font-size:18px;box-shadow:inset 0 0 8px rgba(255,255,255,.35),0 6px 14px rgba(0,0,0,.22)}
.draw-status{display:none;align-items:center;justify-content:center;min-width:120px;height:40px;padding:0 16px;border-radius:10px;background:rgba(239,68,68,.16);border:1px solid rgba(239,68,68,.38);color:#fecaca;font-size:18px;font-weight:700}
.numbers.opening .draw-status{display:flex}
.numbers.opening .bubble{display:none}
.nav{display:flex;flex-direction:column;gap:12px;margin-bottom:4px}
.nav-row{display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap}
.nav-title{width:64px;font-size:12px;color:#9ca3af;line-height:36px}
.chip-list{display:flex;gap:8px;flex-wrap:wrap}
.chip{height:36px;padding:0 14px;border-radius:8px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04);color:#e5e7eb}
.chip.active{border-color:#3b82f6;background:rgba(59,130,246,.15);color:#93c5fd}
.recommend-card{display:flex;flex-direction:column;gap:8px}
.recommend-text{font-size:16px;color:#f59e0b;font-weight:800;background:rgba(245,158,11,.12);border:1px solid rgba(245,158,11,.25);padding:10px 12px;border-radius:10px}
.recent-card{display:flex;flex-direction:column;gap:12px}
.top-links-module{display:flex;flex-direction:column;gap:8px;margin-bottom:18px;padding:0}
.top-link-row{display:grid;grid-template-columns:1fr 1fr;text-align:center}
.top-text-link{color:#fcd34d;text-decoration:none;font-size:13px;font-weight:normal;letter-spacing:1px;transition:all .2s ease}
.top-text-link:hover{color:#fbbf24;text-decoration:underline}
.top-text-link.orange{color:#f97316}
.top-text-link.orange:hover{color:#ea580c}
.span-2{grid-column:span 2}
.table{width:100%;border-collapse:separate;border-spacing:0;border-radius:10px}
.table thead th{background:#1f2937;position:sticky;top:0;z-index:2;border-bottom:1px solid rgba(255,255,255,.06)}
.table th,.table td{padding:12px;border-bottom:1px solid rgba(255,255,255,.06);text-align:center;color:#e5e7eb}
.table th{font-weight:400}
#adTable th,#adTable td{font-weight:400;font-size:12px;padding:10px}
#adTable td.ad-win{color:#ef4444}
.table tbody tr:hover{background:rgba(255,255,255,.08)}
#recentBody tr:nth-child(-n+3){background:rgba(234,179,8,.12)}
#adTable tbody tr:nth-child(even){background:rgba(255,255,255,.03)}
.side-card .btn{margin-top:8px}
@media (max-width:1024px){.grid{grid-template-columns:1fr}.hero{grid-column:span 1}.span-2{grid-column:span 1}.layout{grid-template-columns:1fr}}
@media (max-width:1024px){.rec-note-row{flex-direction:column}}
#recPlainHeader{font-size:12px;color:#9ca3af;display:flex;align-items:center;justify-content:space-between}
#recPlainNumbers{text-align:center;color:#f59e0b;font-weight:800;font-size:18px;white-space:pre-line;line-height:22px}
.open-time{margin-top:8px;font-size:12px;color:#9ca3af;text-align:center}
