:root{
  --bg:#07110f;--panel:rgba(14,29,25,.88);--panel-2:#102a24;--line:rgba(152,209,187,.14);
  --text:#eef8f3;--muted:#88a59a;--mint:#53e6a8;--lime:#baf45a;--amber:#ffc85a;--red:#ff6b72;--blue:#58a6ff;
  --shadow:0 22px 70px rgba(0,0,0,.34);--radius:22px
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;min-height:100vh}.ambient{position:fixed;border-radius:50%;filter:blur(90px);opacity:.14;pointer-events:none}.ambient-a{width:480px;height:480px;background:#00df8d;top:-180px;left:-120px}.ambient-b{width:420px;height:420px;background:#f3b441;right:-160px;top:36%}.app-shell{width:min(1540px,calc(100% - 36px));margin:0 auto;padding:22px 0 54px;position:relative}.topbar{display:flex;align-items:center;justify-content:space-between;padding:10px 4px 22px}.brand{display:flex;align-items:center;gap:14px}.brand-mark{width:54px;height:54px;border-radius:17px;background:linear-gradient(135deg,var(--lime),var(--mint));color:#082019;display:grid;place-items:center;font-weight:900;box-shadow:0 10px 30px rgba(83,230,168,.22)}h1,h2,h3,p{margin:0}.brand h1{font-size:21px;letter-spacing:.04em}.brand p{font-size:12px;color:var(--muted);margin-top:5px}.live-state{display:flex;align-items:center;gap:9px;border:1px solid var(--line);background:rgba(8,21,18,.68);padding:9px 13px;border-radius:999px;font-size:12px;color:var(--muted)}.pulse{width:8px;height:8px;border-radius:50%;background:var(--amber);box-shadow:0 0 0 0 rgba(255,200,90,.5);animation:pulse 1.8s infinite}.live-state.ok .pulse{background:var(--mint);box-shadow:0 0 0 0 rgba(83,230,168,.45)}.live-state.error .pulse{background:var(--red)}@keyframes pulse{70%{box-shadow:0 0 0 8px transparent}}
.panel{background:linear-gradient(155deg,rgba(18,43,36,.92),rgba(10,24,21,.94));border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);backdrop-filter:blur(14px)}.control-deck{display:grid;grid-template-columns:160px 170px minmax(330px,1fr) 140px;gap:14px;align-items:end;padding:16px 18px;margin-bottom:18px}.control-deck label{display:flex;flex-direction:column;gap:7px;color:var(--muted);font-size:12px;font-weight:700}.control-deck select,.control-deck input[type=search],.table-tools select,.table-tools input{width:100%;border:1px solid var(--line);background:#0b1c18;color:var(--text);border-radius:11px;padding:10px 12px;outline:none}.slider-label b{color:var(--lime);font-size:13px}.slider-label input{accent-color:var(--mint);height:10px}.slider-label span{font-size:10px;font-weight:400;line-height:1.35;color:#6f8f83}.primary-btn{border:0;border-radius:12px;background:linear-gradient(135deg,var(--lime),var(--mint));color:#092017;font-weight:900;padding:12px 15px;cursor:pointer;transition:.2s}.primary-btn:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(83,230,168,.2)}.primary-btn:disabled{opacity:.5;cursor:wait;transform:none}
.hero-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:14px}.metric-card{min-height:138px;padding:18px;border-radius:20px;border:1px solid var(--line);background:linear-gradient(145deg,rgba(20,47,40,.92),rgba(10,25,22,.9));position:relative;overflow:hidden}.metric-card:after{content:"";position:absolute;width:100px;height:100px;border-radius:50%;right:-28px;top:-30px;background:var(--glow,var(--mint));opacity:.08}.metric-label{color:var(--muted);font-size:12px;font-weight:700;letter-spacing:.04em}.metric-value{font-size:34px;font-weight:900;margin:13px 0 6px;line-height:1}.metric-note{font-size:11px;color:#9bb6ac}.skeleton{background:linear-gradient(90deg,#10251f,#18362d,#10251f);background-size:200%;animation:shine 1.4s infinite}@keyframes shine{to{background-position:-200% 0}}
.latest-panel{padding:20px;margin-bottom:14px}.section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.section-heading.compact{margin-bottom:12px}.section-heading h2{font-size:18px;margin-top:3px}.section-heading p{color:var(--muted);font-size:12px;margin-top:6px}.eyebrow{font-size:10px;letter-spacing:.18em;color:var(--mint);font-weight:900}.muted{color:var(--muted);font-size:12px}.draw-strip{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.ball-group{display:flex;gap:9px;flex-wrap:wrap}.ball{width:55px;height:64px;border-radius:18px;background:#eaf3ef;color:#10231e;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:inset 0 -7px 16px rgba(0,0,0,.1);border:3px solid var(--ball,#889)}.ball strong{font-size:19px;line-height:1}.ball small{font-size:11px;margin-top:5px;color:#38544a}.ball.special{width:64px;height:72px;box-shadow:0 0 0 5px rgba(255,200,90,.08),inset 0 -7px 16px rgba(0,0,0,.1)}.plus{font-size:25px;color:var(--muted)}.latest-meta{margin-left:auto;display:flex;gap:7px;max-width:620px;flex-wrap:wrap;justify-content:flex-end}.tag{font-size:11px;border:1px solid var(--line);color:#b8ccc4;background:rgba(5,15,13,.5);padding:7px 9px;border-radius:9px}.tag b{color:var(--text)}
.analysis-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:14px;margin-bottom:14px}.category-panel{padding:17px;align-self:start;position:sticky;top:12px}.category-list{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}.category-btn{border:1px solid transparent;background:#0b1e19;color:#91aaa0;border-radius:10px;padding:9px 7px;font-size:12px;cursor:pointer;text-align:center}.category-btn:hover{color:var(--text);border-color:var(--line)}.category-btn.active{color:#092017;background:linear-gradient(135deg,var(--lime),var(--mint));font-weight:900}.category-detail{padding:20px;min-height:590px}.detail-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:18px}.sequence{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.sequence-chip{padding:6px 9px;background:#0a1b17;border:1px solid var(--line);border-radius:8px;font-size:11px;color:#bdd0c9}.sequence-chip:first-child{color:#071d15;background:var(--mint);font-weight:900}.detail-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:14px}.subpanel{border:1px solid var(--line);border-radius:17px;padding:15px;background:rgba(5,17,14,.42);min-width:0}.subpanel h3{font-size:14px;margin-bottom:12px}.forecast{display:grid;grid-template-columns:155px 1fr;gap:18px;align-items:center}.gauge{width:142px;height:142px;border-radius:50%;background:conic-gradient(var(--mint) calc(var(--p)*1%),rgba(255,255,255,.08) 0);display:grid;place-items:center;position:relative}.gauge:before{content:"";position:absolute;inset:13px;background:#0c211b;border-radius:50%}.gauge-content{position:relative;text-align:center}.gauge-content strong{font-size:29px}.gauge-content span{display:block;color:var(--muted);font-size:10px;margin-top:4px}.forecast-copy .expected{font-size:12px;color:var(--muted)}.forecast-copy .expected b{display:block;font-size:30px;color:var(--lime);margin:5px 0 10px}.stat-pills{display:flex;flex-wrap:wrap;gap:7px}.stat-pill{padding:7px 9px;border-radius:9px;background:#102d25;color:#a8c0b7;font-size:10px}.warning-note{margin-top:11px;font-size:10px;line-height:1.55;color:#78968b;border-left:2px solid var(--amber);padding-left:9px}.mini-list{display:grid;gap:8px}.mini-row{display:grid;grid-template-columns:minmax(90px,1.3fr) 2fr 48px;gap:8px;align-items:center;font-size:11px}.mini-row .bar{height:7px;background:#132d26;border-radius:99px;overflow:hidden}.mini-row .bar i{display:block;height:100%;background:linear-gradient(90deg,var(--mint),var(--lime));border-radius:99px}.mini-row b{text-align:right}.pattern-table{margin-top:14px}.pattern-card{border-top:1px solid var(--line);padding:12px 0}.pattern-card:first-child{border-top:0;padding-top:0}.pattern-title{display:flex;justify-content:space-between;gap:10px;font-size:12px}.pattern-code{font-weight:800;color:#d9e9e3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pattern-count{color:var(--lime);white-space:nowrap}.pattern-sub{font-size:10px;color:var(--muted);margin-top:7px;line-height:1.5}.pattern-dates{display:flex;gap:5px;flex-wrap:wrap;margin-top:7px}.date-chip{font-size:9px;padding:4px 6px;border-radius:6px;background:#0b211b;color:#84a096}.break-list{font-size:10px;color:#d69a9d;display:grid;gap:5px;margin-top:10px}.empty-state{display:grid;place-items:center;min-height:420px;color:var(--muted)}
.section-block{padding:20px;margin-bottom:14px}.table-tools{display:flex;gap:8px;width:min(430px,100%)}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:15px}.table-wrap.tall{max-height:560px}table{border-collapse:collapse;width:100%;min-width:850px;font-size:11px}th{position:sticky;top:0;background:#102a24;color:#8eaaa0;text-align:left;font-weight:700;z-index:1}th,td{padding:11px 12px;border-bottom:1px solid rgba(152,209,187,.09);white-space:nowrap}tbody tr:hover{background:rgba(83,230,168,.04)}td strong{color:#edf7f3}.danger{color:var(--red);font-weight:900}.good{color:var(--mint);font-weight:900}.amber{color:var(--amber);font-weight:900}.leader-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin-bottom:14px}.leader-card{padding:11px;border-radius:12px;background:#0b1e19;border:1px solid var(--line)}.leader-card span{font-size:9px;color:var(--muted);display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.leader-card strong{display:block;font-size:18px;margin:5px 0}.leader-card small{font-size:9px;color:#8da69c}.spark{display:flex;align-items:flex-end;gap:2px;height:24px;min-width:74px}.spark i{display:block;width:4px;min-height:2px;background:var(--mint);border-radius:2px;opacity:.75}.draw-balls{display:flex;gap:4px}.tiny-ball{width:24px;height:24px;border-radius:50%;background:#e9f1ee;color:#13231f;display:grid;place-items:center;font-weight:900;font-size:9px;border:2px solid var(--ball)}.disclaimer{padding:16px 18px;border:1px solid rgba(255,200,90,.2);border-radius:15px;background:rgba(255,200,90,.05);font-size:11px;line-height:1.7;color:#a9b7b2}.disclaimer strong{color:var(--amber)}.toast{position:fixed;right:22px;bottom:22px;background:#15342b;border:1px solid var(--line);color:var(--text);padding:12px 16px;border-radius:12px;box-shadow:var(--shadow);font-size:12px;opacity:0;transform:translateY(15px);pointer-events:none;transition:.25s;z-index:20}.toast.show{opacity:1;transform:none}.toast.error{border-color:rgba(255,107,114,.4);color:#ffc1c4}
@media(max-width:1050px){.control-deck{grid-template-columns:1fr 1fr}.hero-grid{grid-template-columns:1fr 1fr}.analysis-layout{grid-template-columns:1fr}.category-panel{position:static}.category-list{grid-template-columns:repeat(6,1fr)}.leader-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:700px){.app-shell{width:min(100% - 20px,1540px);padding-top:10px}.topbar{align-items:flex-start}.brand p{display:none}.live-state{max-width:150px}.control-deck{grid-template-columns:1fr}.hero-grid{grid-template-columns:1fr 1fr;gap:8px}.metric-card{min-height:118px;padding:14px}.metric-value{font-size:25px}.draw-strip{align-items:flex-start}.latest-meta{margin-left:0;justify-content:flex-start}.analysis-layout{display:block}.category-panel{margin-bottom:12px}.category-list{grid-template-columns:repeat(3,1fr)}.detail-grid{grid-template-columns:1fr}.forecast{grid-template-columns:1fr}.gauge{margin:auto}.section-heading{flex-direction:column}.table-tools{width:100%}.leader-grid{grid-template-columns:repeat(2,1fr)}.ball{width:45px;height:55px;border-radius:14px}.ball.special{width:50px;height:60px}.ball strong{font-size:16px}.category-detail,.section-block,.latest-panel{padding:15px}}
.trend-panel{border:1px solid var(--line);border-radius:18px;background:rgba(5,17,14,.48);padding:15px;margin-bottom:14px}.trend-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px}.trend-heading h3{font-size:15px}.trend-heading p{font-size:10px;line-height:1.55;color:var(--muted);margin-top:5px}.trend-heading-actions{display:flex;align-items:flex-end;gap:7px;flex-direction:column;flex:0 0 auto}.trend-nav{display:flex;gap:6px}.trend-nav button{border:1px solid var(--line);background:#0b211b;color:#a9c1b8;border-radius:8px;padding:7px 9px;font-size:10px;font-weight:800;cursor:pointer;transition:.18s ease}.trend-nav button:hover,.trend-nav button:focus-visible{color:#071a14;background:var(--mint);border-color:var(--mint);outline:none}.trend-latest{flex:0 0 auto;padding:7px 10px;border-radius:9px;background:#102d25;color:var(--lime);font-size:11px;font-weight:900}.trend-scroll{overflow:auto;max-height:460px;border:1px solid var(--line);border-radius:14px;background:#f8fbfa;scrollbar-color:#6f9386 #dfe9e5}.trend-road{display:flex;align-items:stretch;min-width:max-content;min-height:calc(var(--trend-rows,6)*39px + 32px);color:#173128}.trend-run{position:relative;flex:0 0 68px;width:68px;padding:8px 7px 28px;border-right:1px solid #dce7e3;background:rgba(255,255,255,.62)}.trend-run:last-child{border-right:0}.trend-run.current{background:linear-gradient(180deg,rgba(186,244,90,.2),rgba(83,230,168,.08))}.trend-cell{height:39px;display:flex;align-items:center;justify-content:center;position:relative;color:var(--trend-color);font-size:16px;font-weight:900;letter-spacing:.02em}.trend-cell small{display:none}.trend-cell.latest span{display:grid;place-items:center;min-width:36px;height:30px;padding:0 5px;border-radius:9px;background:var(--trend-color);color:#071a14;box-shadow:0 5px 14px color-mix(in srgb,var(--trend-color) 28%,transparent)}.trend-run-length{position:absolute;left:0;right:0;bottom:7px;text-align:center;color:#8aa198;font-size:9px;font-weight:700}.trend-counts{display:grid;grid-template-columns:1fr 1.35fr;gap:12px;margin-top:14px}.trend-count-section{min-width:0}.trend-count-section h4{font-size:12px;color:#cfe0da;margin:0 0 8px}.trend-count-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(128px,1fr));gap:6px}.trend-count-grid.combo-grid{grid-template-columns:repeat(auto-fit,minmax(205px,1fr))}.trend-count-item{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 9px;border-radius:9px;background:#0b211b;border:1px solid rgba(152,209,187,.1);font-size:10px}.trend-count-item strong{min-width:0;display:flex;align-items:center;gap:6px;color:#cfe0da;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.trend-count-item strong i{width:7px;height:7px;border-radius:50%;background:var(--trend-color);flex:0 0 auto;box-shadow:0 0 8px var(--trend-color)}.trend-count-item span{color:var(--lime);font-weight:900;white-space:nowrap}.trend-count-item.combo strong{color:#b8cdc5}.trend-note{margin-top:9px;color:#6f9084;font-size:9px;line-height:1.5}.category-trend-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:7px;margin-top:10px}.category-value-metric{min-width:0;padding:8px;border-radius:10px;background:#f0f6f4;color:#66827a}.category-value-metric h4{margin:0 0 6px;color:#143c33;font-size:11px;text-align:center}.category-value-metric span{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:4px 5px;border-radius:6px;background:#e4eeea;font-size:8px;white-space:nowrap}.category-value-metric span+span{margin-top:4px}.category-value-metric strong{color:#143c33;font-size:11px;line-height:1.25}.trend-scroll::-webkit-scrollbar{height:9px;width:9px}.trend-scroll::-webkit-scrollbar-track{background:#e5eeeb}.trend-scroll::-webkit-scrollbar-thumb{background:#86a69b;border-radius:99px;border:2px solid #e5eeeb}
@media(max-width:700px){.detail-head{flex-direction:column}.trend-panel{padding:11px}.trend-heading{flex-direction:column}.trend-heading-actions{align-items:flex-start;width:100%}.trend-latest{align-self:flex-start}.trend-run{flex-basis:58px;width:58px;padding-left:5px;padding-right:5px}.trend-cell{font-size:14px;height:36px}.trend-road{min-height:calc(var(--trend-rows,6)*36px + 30px)}.trend-counts{grid-template-columns:1fr}.trend-count-grid,.trend-count-grid.combo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.trend-count-item{padding:8px 7px}.trend-count-item strong{font-size:9px}.trend-count-item.combo strong{white-space:normal;line-height:1.35}}

/* Tail and zodiac draw matrix */
.draw-matrix-section{overflow:hidden}.matrix-summary{flex:0 0 auto;padding:8px 11px;border-radius:10px;border:1px solid rgba(83,230,168,.2);background:rgba(83,230,168,.08);color:var(--mint);font-size:11px;font-weight:900}.draw-matrix-wrap{position:relative;max-height:720px;overflow:auto;border:1px solid #244f65;border-radius:15px;background:#071b2a;scrollbar-color:#4e91ae #0b2638}.draw-matrix{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;color:#d9eff6;font-size:11px}.draw-matrix th,.draw-matrix td{height:35px;min-width:42px;padding:3px;text-align:center;border-right:1px solid rgba(113,187,214,.22);border-bottom:1px solid rgba(113,187,214,.22);background:#0d3652}.draw-matrix thead th{position:sticky;z-index:6;background:#176a96;color:#f4fcff;font-weight:900}.draw-matrix thead tr:first-child th{top:0;height:34px}.draw-matrix thead tr:nth-child(2) th{top:34px;height:34px;background:#14577e}.draw-matrix .matrix-groups th:nth-child(2){background:#177dae}.draw-matrix .matrix-groups th:nth-child(3){background:#116c84}.draw-matrix .matrix-groups>th:first-child,.draw-matrix .matrix-draw{position:sticky;left:0;z-index:5;width:260px;min-width:260px;max-width:260px}.draw-matrix .matrix-groups>th:first-child{z-index:9;background:#125174}.draw-matrix tbody tr:nth-child(even) td{background:#0b3049}.draw-matrix tbody tr:hover td,.draw-matrix tbody tr:hover .matrix-draw{background:#12465e}.matrix-draw{padding:5px 10px!important;text-align:left!important;background:#0a2d43!important;box-shadow:5px 0 12px rgba(2,14,22,.22)}.matrix-draw strong{display:inline-block;min-width:42px;color:#8ee8c3;font-size:11px}.matrix-draw span{margin-left:6px;color:#bed5de;font-size:10px;letter-spacing:.02em;white-space:nowrap}.matrix-draw span i{color:#6d91a0;font-style:normal}.matrix-draw span b{display:inline-block;padding:2px 5px;border-radius:5px;background:#ff6672;color:#fff;font-size:10px;box-shadow:0 0 10px rgba(255,102,114,.32)}.matrix-draw>small{display:block;margin:2px 0 0 48px;color:#5f8a9b;font-size:8px}.draw-matrix td.matrix-empty{background:#092a40}.matrix-hit{position:relative}.matrix-hit>span{display:grid;place-items:center;width:25px;height:25px;margin:auto;border-radius:7px;font-weight:900}.matrix-hit>small{position:absolute;top:2px;right:3px;color:#9bc6d5;font-size:7px;font-weight:900}.matrix-hit>b{position:absolute;left:2px;top:2px;display:grid;place-items:center;width:13px;height:13px;border-radius:50%;background:#ffc85a;color:#3b2900;font-size:7px;line-height:1}.tail-hit>span{color:#70c8ff;background:rgba(72,163,225,.15)}.special-tail>span{color:#102d25;background:#72d9c1;box-shadow:0 0 13px rgba(114,217,193,.42)}.zodiac-hit>span{color:#f2e7a6;background:rgba(226,193,74,.14)}.special-zodiac{background:linear-gradient(135deg,rgba(186,244,90,.28),rgba(83,230,168,.16))!important}.special-zodiac>span{width:29px;height:29px;color:#071a14;background:var(--lime);font-size:14px;font-weight:1000;box-shadow:0 0 16px rgba(186,244,90,.62)}.special-zodiac>b{background:#ff5964;color:#fff;box-shadow:0 0 8px rgba(255,89,100,.58)}.matrix-legend{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:10px;color:#a9c1b8;font-size:9px}.matrix-legend span{display:flex;align-items:center;gap:5px}.matrix-legend i{width:11px;height:11px;border-radius:4px}.legend-regular{background:#176a96}.legend-tail{background:#72d9c1}.legend-special{background:var(--lime);box-shadow:0 0 8px rgba(186,244,90,.45)}.matrix-legend small{color:#6f9084}.draw-matrix-wrap::-webkit-scrollbar{height:10px;width:10px}.draw-matrix-wrap::-webkit-scrollbar-track{background:#0b2638}.draw-matrix-wrap::-webkit-scrollbar-thumb{background:#4e91ae;border-radius:99px;border:2px solid #0b2638}
@media(max-width:700px){.matrix-summary{align-self:flex-start}.draw-matrix-wrap{max-height:620px;border-radius:12px}.draw-matrix{font-size:10px}.draw-matrix th,.draw-matrix td{height:33px;min-width:38px}.draw-matrix .matrix-groups>th:first-child,.draw-matrix .matrix-draw{width:205px;min-width:205px;max-width:205px}.matrix-draw{padding:4px 7px!important}.matrix-draw strong{min-width:38px;font-size:9px}.matrix-draw span{display:block;margin-left:0;margin-top:2px;font-size:8px}.matrix-draw>small{display:none}.matrix-hit>span{width:23px;height:23px}.special-zodiac>span{width:27px;height:27px;font-size:13px}.matrix-legend{gap:9px}}
/* Adjacent draw zodiac identity transitions */
.draw-matrix .transition-group{min-width:116px;background:#235c9b!important;border-left:3px solid #72d9c1}.draw-matrix .transition-head{min-width:58px;width:58px;background:#244f8f!important;color:#e8f4ff;border-top:1px solid rgba(255,255,255,.12)}.draw-matrix .transition-head:first-of-type{border-left:3px solid #72d9c1}.transition-cell{position:relative;isolation:isolate;overflow:hidden;min-width:58px!important;width:58px!important;border-left:1px solid rgba(125,179,231,.28)!important;background:#102f59!important}.transition-cell:nth-last-child(2){border-left:3px solid #72d9c1!important}.transition-cell.transition-empty{background:#0c294c!important}.transition-cell.transition-na{color:#53718c;background:#09213e!important}.transition-hit>span{display:grid;place-items:center;width:28px;height:24px;margin:0 auto 1px;border-radius:7px;font-size:13px;font-weight:1000}.transition-hit>small{display:block;font-size:7px;font-weight:900;line-height:1}.ping-to-special{background:linear-gradient(135deg,#18555c,#123b5c)!important}.ping-to-special>span{color:#08241c;background:#72d9c1;box-shadow:0 0 12px rgba(114,217,193,.45)}.ping-to-special>small{color:#8cebcf}.special-to-ping{background:linear-gradient(135deg,#554927,#173b59)!important}.special-to-ping>span{color:#372400;background:#ffc85a;box-shadow:0 0 12px rgba(255,200,90,.42)}.special-to-ping>small{color:#ffd887}.legend-ping-special{background:#72d9c1;box-shadow:0 0 8px rgba(114,217,193,.4)}.legend-special-ping{background:#ffc85a;box-shadow:0 0 8px rgba(255,200,90,.35)}
@media(min-width:701px){.draw-matrix .transition-group{position:sticky!important;right:0;z-index:11!important}.draw-matrix thead tr:nth-child(2) .transition-head{z-index:10!important}.draw-matrix thead tr:nth-child(2) .transition-head:nth-last-child(2),.draw-matrix tbody .transition-cell:nth-last-child(2){position:sticky;right:58px;z-index:4}.draw-matrix thead tr:nth-child(2) .transition-head:last-child,.draw-matrix tbody .transition-cell:last-child{position:sticky;right:0;z-index:4}.draw-matrix thead tr:nth-child(2) .transition-head{z-index:8}.draw-matrix tbody .transition-cell{z-index:12!important;box-shadow:-4px 0 10px rgba(2,14,30,.42)}}
@media(max-width:700px){.draw-matrix .transition-head,.transition-cell{min-width:52px!important;width:52px!important}.transition-hit>span{width:25px;height:22px;font-size:12px}.transition-hit>small{font-size:6px}}

/* Detailed recent results table */
.results-detail-summary{align-self:center;padding:7px 10px;border:1px solid rgba(114,217,193,.2);border-radius:9px;background:rgba(114,217,193,.07);color:#9ec8bb;font-size:10px;white-space:nowrap}
.results-detail-wrap{position:relative;max-height:760px;border-color:rgba(114,217,193,.2);border-radius:12px;background:#0b1e19;scrollbar-color:#376d60 #0a1916;scrollbar-width:thin}
.results-detail-wrap::-webkit-scrollbar{width:10px;height:10px}.results-detail-wrap::-webkit-scrollbar-track{background:#0a1916}.results-detail-wrap::-webkit-scrollbar-thumb{border:2px solid #0a1916;border-radius:99px;background:#376d60}
.results-detail-table{width:max-content;min-width:1540px;border-collapse:separate;border-spacing:0;font-size:11px;color:#dcebe5}
.results-detail-table th,.results-detail-table td{height:49px;padding:5px 6px;border-right:1px solid rgba(142,190,172,.14);border-bottom:1px solid rgba(142,190,172,.13);text-align:center;vertical-align:middle}
.results-detail-table thead th{top:0;z-index:8;height:42px;background:#16372f;color:#bad1c8;font-size:10px;font-weight:900;letter-spacing:.02em;box-shadow:0 1px 0 rgba(114,217,193,.18)}
.results-detail-table tbody tr:nth-child(odd){background:#0d241e}.results-detail-table tbody tr:nth-child(even){background:#0a1d18}.results-detail-table tbody tr:hover{background:#133128}
.results-detail-table .result-date-head,.results-detail-table .result-date{position:sticky;left:0;width:94px;min-width:94px;max-width:94px;z-index:5}
.results-detail-table .result-issue-head,.results-detail-table .result-issue{position:sticky;left:94px;width:58px;min-width:58px;max-width:58px;z-index:5;border-right:2px solid rgba(255,200,90,.38)}
.results-detail-table .result-date-head,.results-detail-table .result-issue-head{z-index:11;background:#1a4238}
.results-detail-table tbody tr:nth-child(odd) .result-date,.results-detail-table tbody tr:nth-child(odd) .result-issue{background:#102820}.results-detail-table tbody tr:nth-child(even) .result-date,.results-detail-table tbody tr:nth-child(even) .result-issue{background:#0c211b}.results-detail-table tbody tr:hover .result-date,.results-detail-table tbody tr:hover .result-issue{background:#17372d}
.results-detail-table .result-date strong{font-size:10px;color:#e6f3ee}.results-detail-table .result-issue{background-image:linear-gradient(rgba(255,200,90,.08),rgba(255,200,90,.08))!important}.results-detail-table .result-issue strong{color:#ffd875;font-size:11px}
.results-detail-table .result-regular-head{width:216px;min-width:216px}.results-detail-table .result-special-head{width:48px;min-width:48px;color:#ffe18f;background:#4c4021}.results-detail-table .result-total-head{width:104px;min-width:104px}
.result-regulars-cell{width:216px;min-width:216px}.result-regulars{display:flex;align-items:center;justify-content:center;gap:5px}.result-special-cell{width:48px;min-width:48px;background:rgba(255,200,90,.09)}
.result-ball{display:inline-grid;grid-template-rows:25px 15px;width:29px;min-width:29px;overflow:hidden;border-radius:2px;background:#f0f4f2;box-shadow:0 0 0 1px rgba(255,255,255,.12)}.result-ball strong{display:grid;place-items:center;width:29px;height:25px;background:var(--result-ball);color:#fff!important;font-size:13px;font-weight:1000;line-height:1;text-shadow:0 1px 1px rgba(0,0,0,.22)}.result-ball small{display:grid;place-items:center;width:29px;height:15px;color:#2f4640;font-size:9px;font-weight:800;line-height:1}.result-ball.is-special{box-shadow:0 0 0 2px #ffd45f,0 0 12px rgba(255,200,90,.28)}
.result-attribute-cell{width:45px;min-width:45px}.result-attr{display:inline-block;font-weight:900;line-height:1.15}.tone-red{color:#ff6570!important}.tone-blue{color:#65a7ff!important}.tone-green{color:#45dc94!important}.tone-pink{color:#ff65da!important}.tone-gold{color:#ffc85a!important}.tone-earth{color:#d99a62!important}.tone-cyan{color:#42dcd2!important}.tone-dark{color:#e2eee9!important}.tone-light{color:#9db0aa!important}.tone-muted{color:#778e86!important}
.result-total{width:104px;min-width:104px;font-weight:800;letter-spacing:-.02em}.result-total span{color:#eef8f4}.result-total b{margin-left:2px;color:#ffd45f}.result-total strong{margin-left:1px;font-weight:1000}
@media(max-width:700px){.results-detail-section{padding:14px 12px}.results-detail-section .section-heading{margin-bottom:12px}.results-detail-summary{align-self:flex-start}.results-detail-wrap{max-height:640px;border-radius:10px}.results-detail-table{font-size:10px;min-width:1500px}.results-detail-table th,.results-detail-table td{height:47px;padding:4px 5px}.results-detail-table .result-date-head,.results-detail-table .result-date{width:86px;min-width:86px;max-width:86px}.results-detail-table .result-issue-head,.results-detail-table .result-issue{left:86px;width:53px;min-width:53px;max-width:53px}.results-detail-table .result-regular-head,.result-regulars-cell{width:204px;min-width:204px}.result-regulars{gap:4px}}

/* Exact column sizing keeps the two frozen columns aligned while scrolling */
.results-detail-table{width:1484px!important;min-width:1484px!important;table-layout:auto}
.results-detail-table .result-date-head,.results-detail-table .result-date{width:104px!important;min-width:104px!important;max-width:104px!important}
.results-detail-table .result-issue-head,.results-detail-table .result-issue{left:104px!important;width:62px!important;min-width:62px!important;max-width:62px!important}
.results-detail-table .result-regular-head,.results-detail-table .result-regulars-cell{width:230px!important;min-width:230px!important;max-width:230px!important}
.results-detail-table .result-special-head,.results-detail-table .result-special-cell{width:54px!important;min-width:54px!important;max-width:54px!important}
.results-detail-table .result-attribute-cell,.results-detail-table thead th:not(.result-date-head):not(.result-issue-head):not(.result-regular-head):not(.result-special-head):not(.result-total-head){width:50px!important;min-width:50px!important;max-width:50px!important}
.results-detail-table .result-total-head,.results-detail-table .result-total{width:134px!important;min-width:134px!important;max-width:134px!important}


/* High-contrast palettes for easily confused binary attributes */
.result-attr{min-width:30px;padding:3px 4px;border:1px solid transparent;border-radius:5px;background:rgba(255,255,255,.025);text-shadow:0 1px 2px rgba(0,0,0,.45)}
.result-attr.parity-single,
.result-attr.size-big,
.result-attr.sum-single,
.result-attr.stroke-single,
.result-attr.gender-male{color:#c77dff!important;background:rgba(199,125,255,.14);border-color:rgba(199,125,255,.28)}
.result-attr.parity-double,
.result-attr.size-small,
.result-attr.sum-double,
.result-attr.stroke-double,
.result-attr.gender-female{color:#c8f25c!important;background:rgba(200,242,92,.13);border-color:rgba(200,242,92,.28)}
.result-total .parity-single{color:#ff58ce!important}.result-total .parity-double{color:#69aaff!important}
.results-detail-table .attr-cell-size{background:rgba(39,217,255,.035);border-left:1px solid rgba(39,217,255,.18)}
.results-detail-table .attr-cell-sumParity{background:rgba(199,125,255,.04);border-left:1px solid rgba(199,125,255,.2)}
.results-detail-table .attr-cell-strokes{background:rgba(255,102,143,.035);border-left:1px solid rgba(255,102,143,.18)}
.results-detail-table .attr-cell-gender{background:rgba(66,224,191,.035);border-left:1px solid rgba(66,224,191,.18)}
.results-detail-table thead th:nth-child(8){box-shadow:inset 0 -3px #27d9ff}
.results-detail-table thead th:nth-child(12){box-shadow:inset 0 -3px #c77dff}
.results-detail-table thead th:nth-child(21){box-shadow:inset 0 -3px #ff668f}
.results-detail-table thead th:nth-child(22){box-shadow:inset 0 -3px #42e0bf}

/* High contrast black/white labels */
.trend-run.trend-black .trend-cell span,.trend-run.trend-white .trend-cell span{display:grid;place-items:center;min-width:31px;height:27px;padding:0 5px;border-radius:8px;line-height:1;letter-spacing:0}
.trend-run.trend-black .trend-cell span{color:#fff;background:#17231f;border:1px solid #17231f;box-shadow:0 2px 7px rgba(23,35,31,.24)}
.trend-run.trend-white .trend-cell span{color:#17231f;background:#fff;border:2px solid #718a80;box-shadow:0 2px 7px rgba(23,35,31,.13)}
.trend-run.trend-black .trend-cell.latest span{color:#fff;background:#091510;border-color:#091510;box-shadow:0 4px 13px rgba(9,21,16,.34)}
.trend-run.trend-white .trend-cell.latest span{color:#10231c;background:#fff;border-color:#32a879;box-shadow:0 4px 13px rgba(50,168,121,.28)}
.result-attr.tone-dark{color:#fff!important;background:#17231f;border-color:#62746e}
.result-attr.tone-light{color:#17231f!important;background:#fff;border-color:#91a59d}
/* Dual-market source switch: sits beside the brand in the requested header position */
.topbar-left{display:flex;align-items:center;gap:28px;min-width:0}
.source-switch{display:flex;align-items:center;gap:5px;padding:5px;border:1px solid rgba(152,209,187,.16);border-radius:13px;background:rgba(7,24,20,.78);box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 8px 28px rgba(0,0,0,.16)}
.source-switch-btn{min-width:78px;border:1px solid transparent;border-radius:9px;background:transparent;color:#88a59a;padding:9px 14px;font-size:12px;font-weight:900;letter-spacing:.04em;cursor:pointer;transition:background .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.source-switch-btn:hover:not(:disabled){color:#dff8ee;border-color:rgba(83,230,168,.24);transform:translateY(-1px)}
.source-switch-btn.active{color:#092017;border-color:rgba(186,244,90,.64);background:linear-gradient(135deg,var(--lime),var(--mint));box-shadow:0 6px 18px rgba(83,230,168,.22)}
.source-switch-btn:focus-visible{outline:2px solid var(--mint);outline-offset:2px}
.source-switch-btn:disabled{cursor:wait;opacity:.62}
body[data-source="hongkong"] .source-switch-btn.active{background:linear-gradient(135deg,#73b7ff,#53e6a8);border-color:rgba(115,183,255,.7);box-shadow:0 6px 18px rgba(88,166,255,.22)}
@media(max-width:900px){.topbar-left{gap:14px}.source-switch-btn{min-width:68px;padding:8px 10px}}
@media(max-width:700px){.topbar{gap:10px}.topbar-left{flex-direction:column;align-items:flex-start;gap:9px}.source-switch{margin-left:68px}.source-switch-btn{min-width:72px;padding:7px 10px}.live-state{margin-top:4px}}
@media(max-width:470px){.topbar{flex-direction:column}.topbar-left{width:100%}.source-switch{margin-left:68px}.live-state{margin-left:68px;max-width:calc(100% - 68px)}}
/* Mobile layout hardening */
.mobile-scroll-tip{display:none}
.draw-matrix{width:1300px;min-width:1300px}
.draw-matrix col.matrix-draw-col{width:260px}
.draw-matrix col.matrix-stat-col{width:42px}
.draw-matrix col.matrix-transition-col{width:58px}

@media(max-width:700px){
  html,body{max-width:100%;overflow-x:auto;touch-action:pan-x pan-y pinch-zoom}
  .app-shell{width:calc(100% - 16px);padding:8px 0 34px}
  .panel{border-radius:16px}
  .topbar{padding:8px 2px 16px}
  .section-heading{gap:10px;margin-bottom:13px}
  .section-heading h2{font-size:17px;line-height:1.3}
  .section-heading p{font-size:11px;line-height:1.65}
  .category-detail,.section-block,.latest-panel{padding:13px 12px}
  .control-deck{gap:10px;padding:13px 12px}
  .table-tools{flex-direction:column;gap:7px}
  .metric-card{min-width:0}
  .metric-value{overflow-wrap:anywhere}
  .table-wrap,.draw-matrix-wrap{width:100%;max-width:100%;-webkit-overflow-scrolling:touch;overscroll-behavior-inline:contain;touch-action:pan-x pan-y}
  .table-wrap>table:not(.results-detail-table){width:860px;min-width:860px;table-layout:auto}
  .mobile-scroll-tip{display:flex;align-items:center;justify-content:center;gap:7px;margin:0 0 8px;padding:8px 10px;border:1px solid rgba(83,230,168,.2);border-radius:9px;background:rgba(83,230,168,.07);color:#9ed7c1;font-size:10px;line-height:1.35;text-align:center}
  .mobile-scroll-tip span{color:var(--lime);font-size:13px;font-weight:900}
  .draw-matrix-wrap{max-height:620px;border-radius:11px}
  .draw-matrix{width:1172px!important;min-width:1172px!important;max-width:none!important;table-layout:fixed!important}
  .draw-matrix col.matrix-draw-col{width:180px!important}
  .draw-matrix col.matrix-stat-col{width:40px!important}
  .draw-matrix col.matrix-transition-col{width:56px!important}
  .draw-matrix th,.draw-matrix td{width:40px;min-width:40px!important;max-width:40px;height:36px}
  .draw-matrix .matrix-groups>th:first-child,.draw-matrix .matrix-draw{width:180px!important;min-width:180px!important;max-width:180px!important}
  .draw-matrix .transition-group{width:112px!important;min-width:112px!important;max-width:112px!important}
  .draw-matrix .transition-head,.draw-matrix .transition-cell{width:56px!important;min-width:56px!important;max-width:56px!important}
  .matrix-draw{padding:4px 7px!important}
  .matrix-draw strong{display:block;min-width:0;font-size:10px;line-height:1.15}
  .matrix-draw span{display:block;margin:3px 0 0;font-size:8px;line-height:1.25;letter-spacing:0;white-space:nowrap}
  .matrix-hit>span{width:25px;height:25px}
  .matrix-legend{line-height:1.5}
  .results-detail-wrap{width:100%;max-width:100%}
}

@media(max-width:470px){
  .source-switch,.live-state{margin-left:0}
  .live-state{max-width:100%}
  .brand{gap:10px}
  .brand-mark{width:48px;height:48px;border-radius:14px}
  .brand h1{font-size:18px}
  .hero-grid{gap:7px}
  .metric-card{min-height:108px;padding:12px}
  .metric-value{font-size:22px}
  .category-list{gap:6px}
}

@media(max-width:360px){
  .hero-grid{grid-template-columns:1fr}
  .category-list{grid-template-columns:repeat(2,1fr)}
}
/* Mobile zoom cards v5: fit the whole wide table first, then pan and zoom inside the card */
.mobile-table-toolbar{display:none}
@media(max-width:700px){
  html,body{max-width:100%;overflow-x:hidden!important;touch-action:auto}
  .draw-matrix-section,.results-detail-section{overflow:hidden}
  .mobile-table-toolbar{
    display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;
    margin:0 0 8px;padding:8px 9px;border:1px solid rgba(88,166,255,.28);border-radius:10px;
    background:rgba(88,166,255,.09);color:#b9dafa;font-size:10px;line-height:1.35
  }
  .mobile-table-instruction{display:flex;align-items:center;gap:6px;min-width:0;flex:1 1 190px}
  .mobile-table-instruction b{color:#75b8ff;font-size:14px}
  .mobile-zoom-controls{display:flex;align-items:center;gap:4px;margin-left:auto}
  .mobile-zoom-controls button,.mobile-zoom-controls output{
    height:30px;min-width:34px;display:grid;place-items:center;border:1px solid rgba(117,184,255,.34);
    border-radius:8px;background:#0b2425;color:#d9f0ff;font:900 12px/1 "Microsoft YaHei","PingFang SC",sans-serif
  }
  .mobile-zoom-controls button{padding:0 9px;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
  .mobile-zoom-controls button:active{background:#17434a;transform:translateY(1px)}
  .mobile-zoom-controls button:disabled{opacity:.38;cursor:default;transform:none}
  .mobile-zoom-controls .zoom-fit-btn.active{color:#092017;background:linear-gradient(135deg,#baf45a,#53e6a8);border-color:transparent}
  .mobile-zoom-controls .zoom-fit-btn{min-width:48px;color:#baf45a;border-color:rgba(186,244,90,.32)}
  .mobile-zoom-controls output{min-width:45px;color:#75b8ff;background:rgba(7,24,25,.7);font-size:10px}
  .draw-matrix-wrap,.results-detail-wrap{
    position:relative;width:100%;max-width:100%;height:68vh;min-height:420px;max-height:620px!important;
    overflow:auto!important;overscroll-behavior:contain;touch-action:pan-x pan-y;
    -webkit-overflow-scrolling:touch;scrollbar-gutter:stable;border-radius:11px;cursor:grab
  }
  .draw-matrix-wrap:active,.results-detail-wrap:active{cursor:grabbing}
  .draw-matrix-scale,.results-detail-scale{
    position:relative!important;width:1px!important;min-width:1px!important;height:1px!important;min-height:1px!important;
    -webkit-text-size-adjust:none;text-size-adjust:none
  }
  .draw-matrix,.results-detail-table{
    position:absolute!important;top:0!important;left:0!important;max-width:none!important;
    transform-origin:top left!important;-webkit-transform-origin:top left!important;
    -webkit-text-size-adjust:none;text-size-adjust:none;will-change:auto
  }
  .draw-matrix{display:table!important;width:1172px!important;min-width:1172px!important;table-layout:fixed!important}
  .results-detail-table{width:1484px!important;min-width:1484px!important}
  .draw-matrix thead th,.draw-matrix .matrix-groups>th:first-child,.draw-matrix .matrix-draw,
  .results-detail-table thead th,.results-detail-table .result-date-head,.results-detail-table .result-date,
  .results-detail-table .result-issue-head,.results-detail-table .result-issue{
    position:static!important;top:auto!important;left:auto!important
  }
}
@media(max-width:430px){
  .draw-matrix-wrap,.results-detail-wrap{height:64vh;min-height:390px}
  .mobile-table-toolbar{align-items:stretch}
  .mobile-zoom-controls{width:100%;justify-content:flex-end}
}

/* V10：三地区切换（新澳门 / 香港 / 旧澳门） */
body[data-source="oldmacau"] .source-switch-btn.active{background:linear-gradient(135deg,#ffc85a,#53e6a8);border-color:rgba(255,200,90,.74);box-shadow:0 6px 18px rgba(255,170,60,.22)}
.source-switch{max-width:100%;overflow-x:auto;scrollbar-width:none}
.source-switch::-webkit-scrollbar{display:none}
@media(max-width:470px){
  .source-switch{display:grid;width:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
  .source-switch-btn{min-width:0;width:100%;padding:8px 5px;white-space:nowrap}
}

/* V11：iPhone 14 / iOS Safari 表格对齐修复 */
.matrix-draw,
.draw-matrix th,
.draw-matrix td{box-sizing:border-box;font-variant-numeric:tabular-nums}
.matrix-draw .matrix-open{
  display:inline-grid;
  grid-template-columns:max-content 12px 25px;
  align-items:center;
  justify-content:start;
  column-gap:3px;
  margin-left:6px;
  color:#bed5de;
  font-size:10px;
  letter-spacing:.02em;
  white-space:nowrap;
  vertical-align:middle
}
.matrix-draw .matrix-regulars{min-width:0;color:#bed5de;font:inherit;font-style:normal;white-space:nowrap}
.matrix-draw .matrix-plus{display:block;color:#6d91a0;font-style:normal;text-align:center}
.matrix-draw .matrix-special-no{
  display:grid;
  place-items:center;
  width:25px;
  min-width:25px;
  height:21px;
  margin:0;
  padding:0;
  border-radius:5px;
  background:#ff6672;
  color:#fff;
  font-size:10px;
  line-height:1;
  box-shadow:0 0 10px rgba(255,102,114,.32)
}
@media(max-width:700px){
  .draw-matrix-wrap{-webkit-transform:translateZ(0);transform:translateZ(0);contain:layout paint}
  .draw-matrix-scale{overflow:visible!important}
  .draw-matrix{width:1145px!important;min-width:1145px!important;border-spacing:0!important}
  .draw-matrix col.matrix-draw-col{width:205px!important}
  .draw-matrix col.matrix-stat-col{width:38px!important}
  .draw-matrix col.matrix-transition-col{width:52px!important}
  .draw-matrix tr{height:33px!important}
  .draw-matrix th,.draw-matrix td{width:38px;min-width:38px;max-width:38px;height:33px!important;min-height:33px!important;padding:3px!important;vertical-align:middle!important}
  .draw-matrix .matrix-groups>th:first-child,.draw-matrix .matrix-draw{
    width:205px!important;min-width:205px!important;max-width:205px!important
  }
  .draw-matrix .matrix-draw{padding:4px 7px!important;overflow:hidden!important}
  .matrix-draw strong{display:block!important;width:100%;min-width:0!important;margin:0 0 2px;color:#8ee8c3;font-size:9px;line-height:1.05;text-align:left}
  .matrix-draw .matrix-open{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 10px 23px;
    align-items:center;
    width:100%;
    min-width:0;
    margin:0!important;
    column-gap:2px;
    color:#bed5de;
    font-size:8px;
    line-height:1
  }
  .matrix-draw .matrix-regulars{display:block;min-width:0;overflow:hidden;text-align:left;text-overflow:clip;letter-spacing:0;white-space:nowrap}
  .matrix-draw .matrix-plus{width:10px;text-align:center}
  .matrix-draw .matrix-special-no{width:23px;min-width:23px;height:19px;padding:0!important;font-size:9px;justify-self:end}
  .draw-matrix .transition-head,.draw-matrix .transition-cell{width:52px!important;min-width:52px!important;max-width:52px!important}
}
@media(max-width:430px) and (-webkit-min-device-pixel-ratio:2){
  .draw-matrix-wrap{isolation:isolate}
  .draw-matrix{-webkit-font-smoothing:antialiased;backface-visibility:hidden;-webkit-backface-visibility:hidden}
  .matrix-hit>span,.transition-hit>span,.matrix-draw .matrix-special-no{transform:translateZ(0)}
}
/* V12：尾数/生肖矩阵高对比底色 */
.draw-matrix-wrap{
  border-color:#2e807b!important;
  background:#041516!important;
  box-shadow:inset 0 0 0 1px rgba(83,230,168,.08),0 12px 30px rgba(0,0,0,.22)
}
.draw-matrix th,.draw-matrix td{
  border-right-color:rgba(105,210,198,.23)!important;
  border-bottom-color:rgba(105,210,198,.20)!important;
  background:#123238!important
}
.draw-matrix tbody tr:nth-child(even) td{background:#0d282d!important}
.draw-matrix td.matrix-empty{background:#071d21!important}
.draw-matrix .matrix-draw{
  background:#0a2528!important;
  border-right:2px solid rgba(83,230,168,.44)!important;
  box-shadow:7px 0 16px rgba(0,0,0,.28)!important
}
.draw-matrix tbody tr:nth-child(even) .matrix-draw{background:#071f22!important}
.draw-matrix tbody tr:hover td,.draw-matrix tbody tr:hover .matrix-draw{background:#18505a!important}
.draw-matrix thead th{background:#126b7c!important;color:#fff!important}
.draw-matrix thead tr:nth-child(2) th{background:#105465!important}
.draw-matrix .matrix-groups th:nth-child(2){background:#087f91!important}
.draw-matrix .matrix-groups th:nth-child(3){background:#386c57!important}
.draw-matrix .matrix-groups>th:first-child{background:#124c55!important}
.tail-hit>span{color:#7fd8ff;background:#164c68!important;box-shadow:inset 0 0 0 1px rgba(127,216,255,.14)}
.zodiac-hit>span{color:#fff0a4;background:#4a4928!important;box-shadow:inset 0 0 0 1px rgba(255,226,91,.12)}
.special-tail{background:linear-gradient(135deg,rgba(30,117,115,.55),rgba(13,40,45,.95))!important}
.special-tail>span{color:#06251e!important;background:#72e0ca!important}
.special-zodiac{background:linear-gradient(135deg,rgba(149,222,54,.46),rgba(25,70,47,.90))!important}
.special-zodiac>span{color:#08210f!important;background:#b8f454!important}
/* 右侧两列使用不同底色，即使未命中也能一眼区分 */
.draw-matrix .transition-group{background:linear-gradient(90deg,#157d83 0 50%,#8b6424 50% 100%)!important;border-left-color:#73f0dd!important}
.draw-matrix thead tr:nth-child(2) .transition-head:nth-last-child(2){background:#176e76!important;color:#eafffb!important}
.draw-matrix thead tr:nth-child(2) .transition-head:last-child{background:#76531c!important;color:#fff2c7!important}
.draw-matrix tbody .transition-cell:nth-last-child(2):not(.transition-hit){background:#123f48!important}
.draw-matrix tbody .transition-cell:last-child:not(.transition-hit){background:#44371d!important}
.draw-matrix tbody tr:nth-child(even) .transition-cell:nth-last-child(2):not(.transition-hit){background:#0d353d!important}
.draw-matrix tbody tr:nth-child(even) .transition-cell:last-child:not(.transition-hit){background:#382d18!important}
.draw-matrix tbody .ping-to-special{background:linear-gradient(135deg,#116a68,#164659)!important}
.draw-matrix tbody .special-to-ping{background:linear-gradient(135deg,#72551b,#3f321b)!important}
.draw-matrix .transition-cell:nth-last-child(2){border-left:3px solid #72d9c1!important}
.draw-matrix .transition-cell:last-child{border-left:1px solid rgba(255,207,91,.50)!important}
.matrix-legend{padding:8px 10px;border:1px solid rgba(83,230,168,.14);border-radius:9px;background:rgba(4,21,22,.64)}
@media(max-width:700px){
  .draw-matrix-wrap{box-shadow:inset 0 0 0 1px rgba(83,230,168,.08)}
  .draw-matrix th,.draw-matrix td{border-right-color:rgba(105,210,198,.28)!important;border-bottom-color:rgba(105,210,198,.24)!important}
}
/* V16：尾数 / 生肖 / 跨期转换矩阵统一白色内容底色 */
.draw-matrix-wrap{
  background:#ffffff!important;
  border-color:#d2dedb!important;
  scrollbar-color:#7aaea6 #eef4f2;
  box-shadow:inset 0 0 0 1px rgba(19,92,83,.08),0 12px 30px rgba(0,0,0,.18)
}
.draw-matrix tbody td,
.draw-matrix tbody tr:nth-child(even) td,
.draw-matrix tbody td.matrix-empty,
.draw-matrix tbody .matrix-draw,
.draw-matrix tbody tr:nth-child(even) .matrix-draw,
.draw-matrix tbody .special-tail,
.draw-matrix tbody .special-zodiac,
.draw-matrix tbody .transition-cell,
.draw-matrix tbody .transition-cell.transition-empty,
.draw-matrix tbody .transition-cell.transition-na,
.draw-matrix tbody .transition-cell:nth-last-child(2):not(.transition-hit),
.draw-matrix tbody .transition-cell:last-child:not(.transition-hit),
.draw-matrix tbody tr:nth-child(even) .transition-cell:nth-last-child(2):not(.transition-hit),
.draw-matrix tbody tr:nth-child(even) .transition-cell:last-child:not(.transition-hit),
.draw-matrix tbody .ping-to-special,
.draw-matrix tbody .special-to-ping{
  background:#ffffff!important;
  color:#173a35!important
}
.draw-matrix th,.draw-matrix td{
  border-right-color:#c6d7d3!important;
  border-bottom-color:#c6d7d3!important
}
.draw-matrix .matrix-draw{
  border-right:2px solid #77b8aa!important;
  box-shadow:6px 0 13px rgba(20,72,65,.12)!important
}
.matrix-draw strong{color:#08765e!important}
.matrix-draw .matrix-open,
.matrix-draw .matrix-regulars{color:#274d47!important}
.matrix-draw .matrix-plus{color:#607d77!important}
.matrix-draw>small{color:#6a8882!important}
.matrix-hit>small{color:#385f59!important}
.transition-cell.transition-na{color:#829690!important}
.ping-to-special>small{color:#08705c!important}
.special-to-ping>small{color:#8b5c00!important}
.draw-matrix tbody tr:hover td,
.draw-matrix tbody tr:hover .matrix-draw{
  background:#fff3bf!important
}
.draw-matrix tbody .transition-cell{box-shadow:-4px 0 10px rgba(20,72,65,.10)!important}
.matrix-legend{background:#ffffff!important;border-color:#cbdad6!important;color:#234a43!important}
@media(max-width:700px){
  .draw-matrix-wrap{box-shadow:inset 0 0 0 1px rgba(19,92,83,.08)}
  .draw-matrix th,.draw-matrix td{border-right-color:#bdcfcb!important;border-bottom-color:#bdcfcb!important}
}
/* V24: annual longest hit and omission for every matrix column */
.draw-matrix thead .matrix-stat-row th{
  top:34px;
  height:96px!important;
  padding:0!important;
  background:#0e5c6b!important;
  vertical-align:middle
}
.draw-matrix thead .matrix-axis-row th{
  top:130px;
  height:34px!important;
  background:#105465!important
}
.matrix-stat-split{
  display:grid;
  grid-template-columns:1fr 1fr;
  width:100%;
  height:96px
}
.matrix-stat-item{
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:center;
  gap:3px;
  min-width:0;
  overflow:hidden;
  writing-mode:vertical-rl;
  text-orientation:upright;
  white-space:nowrap;
  color:#dcf7f2;
  font-size:8px;
  line-height:1;
  letter-spacing:0
}
.matrix-stat-item+.matrix-stat-item{border-left:1px solid rgba(213,245,239,.42)}
.matrix-stat-item i{font-style:normal;font-weight:700}
.matrix-stat-item b{color:#fff59c;font-size:9px;font-weight:1000}
.draw-matrix thead .matrix-transition-stat:first-of-type{border-left:3px solid #72d9c1!important}
.draw-matrix thead .matrix-transition-stat:nth-last-child(2){background:#176e76!important}
.draw-matrix thead .matrix-transition-stat:last-child{background:#76531c!important}
.draw-matrix thead .matrix-axis-row .transition-head:nth-last-child(2){background:#176e76!important;color:#eafffb!important}
.draw-matrix thead .matrix-axis-row .transition-head:last-child{background:#76531c!important;color:#fff2c7!important}
@media(min-width:701px){
  /* Frozen body columns use layer 12; every sticky header must remain above them. */
  .draw-matrix thead th{z-index:20}
  .draw-matrix .matrix-groups>th:first-child{z-index:23}
  .draw-matrix .transition-group{z-index:22!important}
  .draw-matrix thead .matrix-stat-row .matrix-transition-stat:nth-last-child(2),
  .draw-matrix thead .matrix-axis-row .transition-head:nth-last-child(2){position:sticky;right:58px;z-index:21}
  .draw-matrix thead .matrix-stat-row .matrix-transition-stat:last-child,
  .draw-matrix thead .matrix-axis-row .transition-head:last-child{position:sticky;right:0;z-index:21}
}
@media(max-width:700px){
  .draw-matrix thead .matrix-stat-row th{height:92px!important}
  .matrix-stat-split{height:92px}
  .matrix-stat-item{font-size:7px;gap:2px}
  .matrix-stat-item b{font-size:8px}
  .draw-matrix thead .matrix-axis-row th{top:126px}
}
/* 2026-11-26：分布表与详细开奖记录采用同一深绿、白底及柔和彩色标记。 */
.draw-matrix-section .draw-matrix-wrap{
  border-color:#cadbd7!important;
  scrollbar-color:#7aaea6 #eef4f2;
  box-shadow:0 6px 18px rgba(20,72,65,.10)
}
.draw-matrix-wrap::-webkit-scrollbar-track{background:#eef4f2}
.draw-matrix-wrap::-webkit-scrollbar-thumb{background:#7aaea6;border-color:#eef4f2}
.draw-matrix-section .draw-matrix th,
.draw-matrix-section .draw-matrix td{
  border-right-color:#c9d9d5!important;
  border-bottom-color:#c9d9d5!important
}
.draw-matrix-section .draw-matrix thead th,
.draw-matrix-section .draw-matrix .matrix-groups th:nth-child(2),
.draw-matrix-section .draw-matrix .matrix-groups th:nth-child(3),
.draw-matrix-section .draw-matrix thead .matrix-stat-row th,
.draw-matrix-section .draw-matrix thead .matrix-axis-row th{
  background:#16372f!important;
  color:#d5e6df!important
}
.draw-matrix-section .draw-matrix .matrix-groups>th:first-child{background:#1a4238!important}
.draw-matrix-section .matrix-stat-item{color:#bad1c8}
.draw-matrix-section .matrix-stat-item+.matrix-stat-item{border-left-color:rgba(186,209,200,.28)}
.draw-matrix-section .matrix-stat-item b{color:#ffe18f}
.draw-matrix-section .draw-matrix .transition-group{
  background:#1a4238!important;
  border-left-color:#8ebdaf!important
}
.draw-matrix-section .draw-matrix thead .matrix-transition-stat:nth-last-child(2),
.draw-matrix-section .draw-matrix thead .matrix-axis-row .transition-head:nth-last-child(2){
  background:#235346!important;
  color:#dceee6!important
}
.draw-matrix-section .draw-matrix thead .matrix-transition-stat:last-child,
.draw-matrix-section .draw-matrix thead .matrix-axis-row .transition-head:last-child{
  background:#4c4021!important;
  color:#ffe18f!important
}
.draw-matrix-section .draw-matrix thead .matrix-transition-stat:first-of-type,
.draw-matrix-section .draw-matrix .transition-cell:nth-last-child(2){border-left-color:#8ebdaf!important}
.draw-matrix-section .draw-matrix .transition-cell:last-child{border-left-color:#dfcf9e!important}
.draw-matrix-section .draw-matrix .matrix-draw{
  border-right-color:#a9c6bc!important;
  box-shadow:4px 0 10px rgba(20,72,65,.07)!important
}
.draw-matrix-section .matrix-draw strong{color:#174d43!important}
.draw-matrix-section .matrix-draw .matrix-regulars{color:#274d47!important}
.draw-matrix-section .matrix-draw .matrix-special-no{
  background:#ff5964;
  color:#fff;
  box-shadow:none
}
.draw-matrix-section .tail-hit>span{
  background:#eef5ff!important;
  color:#1f63b8!important;
  box-shadow:inset 0 0 0 1px #b8d0ee
}
.draw-matrix-section .zodiac-hit>span{
  background:#edf9f2!important;
  color:#087d48!important;
  box-shadow:inset 0 0 0 1px #b5ddc8
}
.draw-matrix-section .special-tail>span,
.draw-matrix-section .special-zodiac>span{
  background:#ff5964!important;
  color:#fff!important;
  box-shadow:none
}
.draw-matrix-section .matrix-hit>b{
  background:#ffe18f;
  color:#614600;
  box-shadow:0 0 0 1px #fff
}
.draw-matrix-section .matrix-hit>small{color:#4e6c64!important}
.draw-matrix-section .ping-to-special>span{
  background:#d9f1e5;
  color:#146b49;
  box-shadow:inset 0 0 0 1px #a2d4ba
}
.draw-matrix-section .special-to-ping>span{
  background:#fff0bf;
  color:#8a6200;
  box-shadow:inset 0 0 0 1px #e5ce85
}
.draw-matrix-section .ping-to-special>small{color:#146b49!important}
.draw-matrix-section .special-to-ping>small{color:#8a6200!important}
.draw-matrix-section .draw-matrix tbody .transition-cell{box-shadow:-3px 0 8px rgba(20,72,65,.07)!important}
.draw-matrix-section .matrix-legend{color:#274d47!important;border-color:#cadbd7!important}
.draw-matrix-section .matrix-legend small{color:#607d73}
.draw-matrix-section .legend-regular{background:linear-gradient(90deg,#eef5ff 50%,#edf9f2 50%);box-shadow:inset 0 0 0 1px #b8d0ce}
.draw-matrix-section .legend-tail,
.draw-matrix-section .legend-special{background:#ff5964;box-shadow:none}
.draw-matrix-section .legend-ping-special{background:#d9f1e5;box-shadow:inset 0 0 0 1px #a2d4ba}
.draw-matrix-section .legend-special-ping{background:#fff0bf;box-shadow:inset 0 0 0 1px #e5ce85}
/* V17：详细开奖记录表格统一白色内容底色 */
.results-detail-wrap{
  background:#ffffff!important;
  border-color:#cadbd7!important;
  scrollbar-color:#7aaea6 #eef4f2!important
}
.results-detail-wrap::-webkit-scrollbar-track{background:#eef4f2!important}
.results-detail-wrap::-webkit-scrollbar-thumb{border-color:#eef4f2!important;background:#7aaea6!important}
.results-detail-table{
  background:#ffffff!important;
  color:#173a35!important
}
.results-detail-table tbody tr:nth-child(odd),
.results-detail-table tbody tr:nth-child(even){background:#ffffff!important}
.results-detail-table tbody td,
.results-detail-table tbody tr:nth-child(odd) td,
.results-detail-table tbody tr:nth-child(even) td,
.results-detail-table tbody .result-date,
.results-detail-table tbody .result-issue,
.results-detail-table tbody .result-special-cell,
.results-detail-table tbody .result-attribute-cell,
.results-detail-table tbody .attr-cell-size,
.results-detail-table tbody .attr-cell-sumParity,
.results-detail-table tbody .attr-cell-strokes,
.results-detail-table tbody .attr-cell-gender{
  background:#ffffff!important;
  background-image:none!important;
  color:#173a35!important
}
.results-detail-table th,.results-detail-table td{
  border-right-color:#c9d9d5!important;
  border-bottom-color:#c9d9d5!important
}
.results-detail-table tbody tr:hover,
.results-detail-table tbody tr:hover td,
.results-detail-table tbody tr:hover .result-date,
.results-detail-table tbody tr:hover .result-issue{
  background:#fff3bf!important
}
.results-detail-table .result-date strong{color:#174d43!important}
.results-detail-table .result-issue strong{color:#8b6500!important}
.result-attr{
  color:#173a35!important;
  background:#f3f7f6!important;
  border-color:#c6d6d2!important;
  text-shadow:none!important
}
.result-attr.tone-red{color:#c91f32!important;background:#fff0f1!important;border-color:#efb8be!important}
.result-attr.tone-blue{color:#1f63b8!important;background:#eef5ff!important;border-color:#b8d0ee!important}
.result-attr.tone-green{color:#087d48!important;background:#edf9f2!important;border-color:#b5ddc8!important}
.result-attr.tone-pink{color:#b5157b!important;background:#fff0fa!important;border-color:#e9b7d8!important}
.result-attr.tone-gold{color:#8a6200!important;background:#fff8df!important;border-color:#e5d293!important}
.result-attr.tone-earth{color:#925020!important;background:#fff3ea!important;border-color:#dfbea7!important}
.result-attr.tone-cyan{color:#007a73!important;background:#eafafa!important;border-color:#abdcd8!important}
.result-attr.tone-dark{color:#182d28!important;background:#e5ebe9!important;border-color:#91a49f!important}
.result-attr.tone-light{color:#29473f!important;background:#ffffff!important;border-color:#91a59d!important}
.result-attr.tone-muted{color:#4e6c64!important;background:#f0f4f3!important;border-color:#c4d0cd!important}
.result-attr.parity-single,
.result-attr.size-big,
.result-attr.sum-single,
.result-attr.stroke-single,
.result-attr.gender-male{
  color:#7b35b6!important;background:#f5edfc!important;border-color:#ceb5e2!important
}
.result-attr.parity-double,
.result-attr.size-small,
.result-attr.sum-double,
.result-attr.stroke-double,
.result-attr.gender-female{
  color:#537800!important;background:#f3f9df!important;border-color:#cadc91!important
}
.result-total span{color:#173a35!important}
.result-total b{color:#8a6200!important}
.result-total .parity-single{color:#bd187f!important}
.result-total .parity-double{color:#246ac2!important}
/* 彩色号码球保留白色号码字，确保红、蓝、绿球上的对比度 */
.result-ball strong{color:#ffffff!important}
/* 遗漏监控：最近5次出现记录，按最新到最旧分行显示，避免手机端重叠 */
.recent-seen-list{display:flex;align-items:center;gap:10px;min-width:210px;line-height:1.25;white-space:nowrap}
.recent-seen-list span{display:inline-block;color:#d8e8e3;font-size:11px;font-variant-numeric:tabular-nums}
@media(max-width:700px){.recent-seen-list{min-width:190px;gap:8px}.recent-seen-list span{font-size:10px}}

/* 本年度1-49号码出现次数及最近10次出现期数 */
.annual-number-section .section-heading{margin-bottom:14px}
.annual-number-table th:nth-child(1),.annual-number-table td:nth-child(1){width:90px;min-width:90px}
.annual-number-table th:nth-child(2),.annual-number-table td:nth-child(2){width:150px;min-width:150px}
.annual-number-table th:nth-child(3),.annual-number-table td:nth-child(3){min-width:430px}
.annual-number-table .annual-number-count{color:var(--lime);font-weight:900}
.annual-number-issues{display:flex;align-items:center;gap:13px;white-space:nowrap;line-height:1.3}
.annual-number-issues span{display:inline-block;color:#d8e8e3;font-variant-numeric:tabular-nums}
@media(max-width:700px){.annual-number-wrap{max-height:560px}.annual-number-table{width:620px!important;min-width:620px!important}.annual-number-table th:nth-child(1),.annual-number-table td:nth-child(1){width:70px;min-width:70px}.annual-number-table th:nth-child(2),.annual-number-table td:nth-child(2){width:125px;min-width:125px}.annual-number-table th:nth-child(3),.annual-number-table td:nth-child(3){min-width:425px}.annual-number-issues{gap:10px}.annual-number-issues span{font-size:10px}}

/* 2026-09-29：特码生肖节奏与号码组合专项遗漏 */
.special-omission-section{margin:4px 0 16px;padding:15px;border:1px solid rgba(83,230,168,.2);border-radius:16px;background:rgba(4,17,14,.42)}
.special-omission-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:12px}
.special-omission-heading h3{margin-top:4px;font-size:16px}.special-omission-heading p{color:#9bb6ac;font-size:11px;line-height:1.5;text-align:right}
.special-omission-loading{padding:22px;text-align:center;color:var(--muted);font-size:12px}
.special-rhythm-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:10px}
.special-tail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.special-attribute-groups{display:grid;gap:15px;margin:12px 0}
.special-attribute-group{min-width:0}
.special-attribute-heading{display:flex;align-items:baseline;gap:12px;margin:0 0 8px}.special-attribute-heading h4{font-size:14px;color:#e8f8f0}.special-attribute-heading p{font-size:10px;color:#a5bdb4}
.special-attribute-list{display:grid;gap:5px}
.special-attribute-row{display:grid;grid-template-columns:64px minmax(340px,1fr) minmax(250px,1fr) 18px;align-items:center;gap:12px;min-width:0;padding:10px 12px;border:1px solid #cbdcd7;border-left:4px solid #26a989;border-radius:8px;background:#fff;color:#173a35;cursor:pointer}
.special-attribute-row:focus-visible{outline:3px solid #36b791;outline-offset:2px}.special-attribute-row:hover{border-color:#3fae8b;background:#f7fcfa}
.special-attribute-value{font-size:15px;white-space:nowrap}.special-attribute-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.special-attribute-metrics span{font-size:9px;color:#647d75;text-align:center}.special-attribute-metrics b{display:block;margin-top:4px;font-size:12px;color:#173a35}.special-attribute-metrics b.danger{color:#c83342}.special-attribute-metrics b.amber{color:#906000}.special-attribute-metrics b.good{color:#087a49}
.special-attribute-recent{min-width:0}.special-attribute-recent em{display:block;margin-bottom:3px;color:#647d75;font-size:9px;font-style:normal}.special-attribute-recent>div{display:flex;flex-wrap:wrap;gap:3px}.special-attribute-recent span{padding:3px 5px;border-radius:4px;background:#eef5f2;color:#315b4d;font-size:9px;white-space:nowrap}.special-attribute-open{color:#16815d;font-size:20px;text-align:center}
@media(max-width:1100px){.special-attribute-row{grid-template-columns:60px minmax(0,1fr) 16px}.special-attribute-recent{grid-column:2;grid-row:2}}
@media(max-width:700px){.special-attribute-heading{display:block}.special-attribute-heading p{margin-top:3px}.special-attribute-row{grid-template-columns:46px minmax(0,1fr) 12px;gap:7px;padding:9px 6px}.special-attribute-value{font-size:12px}.special-attribute-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 3px}.special-attribute-metrics span{font-size:9px;line-height:1.25}.special-attribute-metrics b{font-size:11px}.special-attribute-recent span{font-size:8px}}
@media(max-width:360px){.special-attribute-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
.tail-repeat-card{border-top:4px solid #8a55c7}
.tail-gap-one-card{border-top:4px solid #d27622}
.tail-event-card .special-rhythm-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
.special-group-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.special-rhythm-card,.special-group-card{min-width:0;padding:14px;border-radius:14px;background:#fff;color:#173a35;border:1px solid #cbdcd7;box-shadow:0 7px 22px rgba(0,0,0,.12)}
.special-card-title{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:9px}.special-card-title>div{min-width:0}.special-card-title span{display:block;color:#6b8780;font-size:9px;font-weight:800;letter-spacing:.04em}.special-card-title h4{margin:3px 0 0;font-size:15px;color:#143c33}.special-card-title>b{flex:0 0 auto;padding:5px 8px;border-radius:8px;background:#eef5f2;font-size:11px}
.special-rhythm-card>p,.special-group-card>p{color:#607b74;font-size:10px;line-height:1.55}.special-rhythm-card>em,.special-group-recent>em{display:block;margin:10px 0 6px;color:#56726a;font-size:9px;font-style:normal;font-weight:900}
.special-rhythm-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:10px 0}.gap-one-card .special-rhythm-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.adjacent-number-card{border-top:4px solid #e29b35}.adjacent-number-card .special-rhythm-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.regular-to-special-card{border-top:4px solid #36b7d7}.regular-to-special-card .special-rhythm-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.special-rhythm-metrics span{padding:7px;border-radius:9px;background:#f0f6f4;color:#66827a;font-size:9px;text-align:center}.special-rhythm-metrics strong{display:block;margin-top:3px;color:#143c33;font-size:14px}
.special-pattern-list{display:flex;flex-wrap:wrap;gap:5px}.special-pattern-list span,.special-pattern-empty{padding:6px 8px;border-radius:8px;background:#f5f8f7;color:#345d53;font-size:9px;line-height:1.4}.special-pattern-empty{color:#82968f}
.special-number-grid{display:grid;grid-template-columns:repeat(5,minmax(42px,1fr));gap:6px;margin:11px 0}.special-number-chip{min-width:0;padding:6px 3px 5px;border:2px solid var(--chip-color);border-radius:10px;background:#f7faf9;text-align:center;box-shadow:inset 0 -3px 0 rgba(0,0,0,.025)}.special-number-chip b{display:block;color:#173a35;font-size:14px}.special-number-chip small{display:block;margin-top:2px;color:#6a817b;font-size:8px;white-space:nowrap}
.special-group-longest{border-top:4px solid #ff6b72}.special-group-shortest{border-top:4px solid #53c98f}.special-group-combined{border-top:4px solid #5f91ef}.special-group-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.special-group-metrics span{padding:7px 5px;border-radius:9px;background:#f0f6f4;color:#66827a;font-size:8px;text-align:center}.special-group-metrics strong{display:block;margin-top:3px;color:#143c33;font-size:11px;line-height:1.35}.special-group-metrics .danger,.special-card-title .danger{color:#d72f3d}.special-group-metrics .amber,.special-card-title .amber{color:#9a6500}.special-group-metrics .good,.special-card-title .good{color:#087a49}
.special-group-recent{margin:9px 0}.special-group-recent>div{display:flex;flex-wrap:wrap;gap:5px}.special-group-recent span{padding:5px 7px;border-radius:7px;background:#eef4f2;color:#355c53;font-size:8px}
@media(max-width:1100px){.special-rhythm-grid{grid-template-columns:1fr 1fr}.special-group-grid{grid-template-columns:1fr 1fr}.special-group-combined{grid-column:1/-1}.special-number-grid{grid-template-columns:repeat(10,minmax(42px,1fr))}}
@media(max-width:700px){.special-omission-section{padding:10px}.special-omission-heading{display:block}.special-omission-heading p{margin-top:5px;text-align:left}.special-rhythm-grid,.special-group-grid{grid-template-columns:1fr}.special-group-combined{grid-column:auto}.special-rhythm-card,.special-group-card{padding:12px}.special-card-title{align-items:center}.special-card-title h4{font-size:14px}.special-rhythm-metrics,.gap-one-card .special-rhythm-metrics,.adjacent-number-card .special-rhythm-metrics,.regular-to-special-card .special-rhythm-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.special-number-grid{grid-template-columns:repeat(5,minmax(42px,1fr));gap:5px}.special-group-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.special-group-metrics span:last-child{grid-column:auto}.special-pattern-list{display:grid;grid-template-columns:1fr}.special-pattern-list span{font-size:9px}.special-group-recent>div{gap:4px}}
@media(max-width:380px){.special-number-grid{grid-template-columns:repeat(5,minmax(38px,1fr))}.special-number-chip{padding-left:1px;padding-right:1px}.special-number-chip b{font-size:13px}}


/* 2026-10-02: special-number 1-49 yearly hit totals, sorted low to high */
.category-hit-summary{margin-top:12px;padding:12px;border:1px solid rgba(114,217,193,.2);border-radius:12px;background:#071b16}
.special-number-hit-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}
.special-number-hit-heading h4{margin:0;color:#e6f4ef;font-size:12px;font-weight:900}
.special-number-hit-heading p{margin:5px 0 0;color:#89a69e;font-size:9px;line-height:1.5}
.special-number-hit-heading>span{flex:0 0 auto;padding:6px 9px;border:1px solid rgba(114,217,193,.2);border-radius:8px;background:#0b2820;color:#a9c4bc;font-size:9px;font-weight:800;white-space:nowrap}
.special-number-hit-table-wrap{max-height:500px;overflow:auto;border:1px solid rgba(114,217,193,.14);border-radius:10px;scrollbar-color:#477c6e #0a241d;-webkit-overflow-scrolling:touch}
.special-number-hit-table{width:100%;min-width:680px;border-collapse:separate;border-spacing:0;color:#dcebe6;font-size:10px}
.special-number-hit-table th{position:sticky;top:0;z-index:2;padding:10px 12px;border-bottom:1px solid rgba(114,217,193,.24);background:#0b2820;color:#9eb9b1;font-size:9px;text-align:left;white-space:nowrap}
.special-number-hit-table td{padding:9px 12px;border-bottom:1px solid rgba(114,217,193,.1);background:#09231c;color:#cfe1db;white-space:nowrap}
.special-number-hit-table tbody tr:nth-child(even) td{background:#0a261f}
.special-number-hit-table tbody tr:hover td{background:#10362c}
.special-number-hit-table td:nth-child(1){width:115px;font-weight:800}
.special-number-hit-table td:nth-child(2){width:80px}
.special-number-hit-table td:nth-child(3){width:145px}
.special-number-hit-table td:nth-child(3) b{color:var(--lime);font-size:11px}
.special-number-hit-ball{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:2px solid var(--ball);border-radius:50%;background:#f7faf9;color:#173a35;font-size:10px;font-weight:1000;box-shadow:inset 0 -3px 0 rgba(0,0,0,.06)}
.special-number-hit-issues{display:flex;align-items:center;gap:7px;min-width:270px}
.special-number-hit-issues span{display:inline-block;padding:4px 7px;border-radius:7px;background:#eaf2ef;color:#46675d;font-size:9px;font-weight:800;white-space:nowrap}
.special-number-hit-issues .muted{color:#7f958e}
@media(max-width:700px){.category-hit-summary{padding:10px}.special-number-hit-heading{display:block}.special-number-hit-heading>span{display:inline-block;margin-top:7px}.special-number-hit-table-wrap{max-height:430px}.special-number-hit-table{min-width:650px}.special-number-hit-table th,.special-number-hit-table td{padding:8px 10px}.special-number-hit-issues{gap:5px}}

/* 2026-10-07：单跳连续遗漏与平码开特码 */
.category-value-metric .single-jump-stat{display:grid;grid-template-columns:1fr;gap:3px;white-space:normal;background:#fff4d6;border:1px solid #efd18b;color:#7a5a13;line-height:1.4}
.category-value-metric .single-jump-stat strong{justify-self:end;color:#9a6500;font-size:10px;white-space:nowrap}
@media(max-width:700px){.category-trend-metrics{grid-template-columns:1fr}.category-value-metric{padding:9px}.category-value-metric .single-jump-stat{grid-template-columns:minmax(0,1fr) auto;align-items:center}.category-value-metric .single-jump-stat strong{justify-self:end}}

/* 2026-10-15：特码专项卡片全年命中明细 */
.special-rhythm-card[data-detail-key],.special-group-card[data-detail-key]{cursor:pointer;position:relative;transition:border-color .18s,box-shadow .18s,transform .18s}
.special-rhythm-card[data-detail-key]:hover,.special-group-card[data-detail-key]:hover{border-color:#57b798;box-shadow:0 12px 28px rgba(0,0,0,.2);transform:translateY(-2px)}
.special-rhythm-card[data-detail-key]:focus-visible,.special-group-card[data-detail-key]:focus-visible{outline:3px solid rgba(31,133,98,.35);outline-offset:2px}
.special-detail-link{display:flex;align-items:center;justify-content:flex-end;gap:5px;margin-top:11px;padding-top:9px;border-top:1px solid #dfe9e6;color:#187054;font-size:9px;font-weight:900}
.special-detail-link b{display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#e4f4ed;color:#116248;font-size:16px;line-height:1}
.special-detail-page{min-width:0;overflow-x:hidden}
.special-detail-shell{position:relative;width:min(1080px,calc(100% - 32px));margin:0 auto;padding:22px 0 54px}
.special-detail-nav{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.special-detail-back{display:inline-flex;align-items:center;min-height:42px;padding:9px 13px;border:1px solid var(--line);border-radius:10px;background:#0b211b;color:#d9eee7;font-size:12px;font-weight:900;text-decoration:none}
.special-detail-back:hover{border-color:rgba(83,230,168,.5);color:var(--lime)}
.special-detail-context{display:flex;align-items:center;gap:8px;font-size:11px}.special-detail-context strong,.special-detail-context span{padding:7px 10px;border:1px solid var(--line);border-radius:9px;background:#0b211b}.special-detail-context strong{color:var(--lime)}.special-detail-context span{color:#a9c1b8}
.special-detail-hero{padding:24px;margin-bottom:14px}.special-detail-hero h1{margin:6px 0 8px;font-size:26px;line-height:1.25;letter-spacing:0}.special-detail-hero>p{max-width:820px;color:#9bb6ac;font-size:12px;line-height:1.65}
.special-detail-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin-top:18px}.special-detail-metrics span{min-width:0;padding:12px;border:1px solid rgba(152,209,187,.13);border-radius:10px;background:#0b211b;color:#88a69b;font-size:10px}.special-detail-metrics strong{display:block;margin-top:5px;color:#edf8f4;font-size:18px;line-height:1.2}.special-detail-metrics .primary strong{color:var(--lime)}
.special-detail-numbers{margin-top:18px;padding-top:15px;border-top:1px solid var(--line)}.special-detail-numbers>em{display:block;margin-bottom:8px;color:#96b2a8;font-size:10px;font-style:normal;font-weight:900}.special-detail-numbers>div{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:7px}.special-detail-numbers span{min-width:0;padding:8px 3px;border:1px solid rgba(152,209,187,.18);border-radius:9px;background:#f7faf9;text-align:center}.special-detail-numbers b{display:block;color:#173a35;font-size:15px}.special-detail-numbers small{display:block;margin-top:3px;color:#698079;font-size:8px;white-space:nowrap}
.special-detail-records-panel{padding:22px}.special-detail-records-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}.special-detail-records-heading h2{margin-top:4px;font-size:18px}.special-detail-records-heading>span{padding:7px 10px;border:1px solid rgba(83,230,168,.2);border-radius:9px;background:#0b2820;color:#b8d0c7;font-size:10px;white-space:nowrap}
.special-detail-loading,.special-detail-empty{padding:44px 16px;border:1px dashed rgba(152,209,187,.2);border-radius:12px;color:#8aa69c;text-align:center;font-size:12px}.special-detail-loading.error{border-color:rgba(255,107,114,.35);color:#ff969b}
.special-detail-records{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.special-detail-record{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:10px;align-items:center;min-width:0;padding:11px 12px;border:1px solid #d1dfdb;border-radius:10px;background:#fff;color:#173a35}.special-detail-record-index{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#e9f4f0;color:#367060;font-size:9px;font-weight:900}.special-detail-record>div{min-width:0}.special-detail-record strong{display:block;color:#0b6147;font-size:12px}.special-detail-record p{margin-top:4px;color:#5f7770;font-size:10px;line-height:1.45;overflow-wrap:anywhere}.special-detail-hit-number{padding:6px 8px;border-radius:8px;background:#fff2d3;color:#8a6100;font-size:11px;white-space:nowrap}
@media(max-width:700px){.special-rhythm-card[data-detail-key]:hover,.special-group-card[data-detail-key]:hover{transform:none}.special-detail-link{font-size:10px}.special-detail-shell{width:min(100% - 20px,1080px);padding:12px 0 34px}.special-detail-nav{align-items:stretch}.special-detail-back{min-height:39px;padding:8px 10px}.special-detail-context{gap:5px}.special-detail-context strong,.special-detail-context span{padding:7px 8px}.special-detail-hero,.special-detail-records-panel{padding:14px;border-radius:15px}.special-detail-hero h1{font-size:20px}.special-detail-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:14px}.special-detail-metrics span{padding:10px}.special-detail-metrics strong{font-size:15px}.special-detail-numbers>div{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.special-detail-numbers small{font-size:7px}.special-detail-records-heading{align-items:center}.special-detail-records{grid-template-columns:1fr}.special-detail-record{grid-template-columns:30px minmax(0,1fr) auto;padding:10px;gap:8px}.special-detail-record-index{width:27px;height:27px}.special-detail-record p{font-size:9px}}
@media(max-width:380px){.special-detail-nav{display:grid;grid-template-columns:1fr}.special-detail-context{justify-content:flex-end}.special-detail-metrics{grid-template-columns:1fr 1fr}.special-detail-records-heading{display:block}.special-detail-records-heading>span{display:inline-block;margin-top:8px}}
/* Annual union and betting report links below the latest draw. */
.analysis-entry-grid[hidden]{display:none}
.analysis-entry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 14px}
.analysis-entry{min-width:0;min-height:108px;display:flex;flex-direction:column;gap:8px;padding:17px 19px;border:1px solid #547e73;border-left:4px solid #54dba8;border-radius:8px;background:#f8fcfa;color:#183b34;text-decoration:none;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.analysis-entry-profit{border-left-color:#f0aa5c;background:#fffaf2}
.analysis-entry:hover{transform:translateY(-2px);border-color:#45bd91;box-shadow:0 10px 24px rgba(0,0,0,.2)}
.analysis-entry-profit:hover{border-color:#df9a4e}
.analysis-entry:focus-visible{outline:3px solid #53e6a8;outline-offset:3px}
.analysis-entry-kicker{font-size:11px;font-weight:800;color:#397262}
.analysis-entry-profit .analysis-entry-kicker{color:#94612b}
.analysis-entry strong{font-size:16px;line-height:1.4;overflow-wrap:anywhere}
.analysis-entry-footer{margin-top:auto;display:flex;justify-content:space-between;align-items:center;color:#607d73;font-size:11px}
.analysis-entry-footer b{font-size:21px;line-height:1;color:#16835e}
.analysis-entry-profit .analysis-entry-footer b{color:#b8752e}
@media(max-width:650px){.analysis-entry-grid{gap:8px}.analysis-entry{min-height:118px;padding:12px 10px}.analysis-entry strong{font-size:13px}.analysis-entry-kicker,.analysis-entry-footer{font-size:10px}}
