:root {
  --bg: #f5f7fb;
  --panel: #ffffff;
  --ink: #172033;
  --muted: #667085;
  --line: #e4e8f0;
  --navy: #11213d;
  --blue: #2563eb;
  --green: #087443;
  --amber: #8a5b00;
  --red: #b42318;
  --shadow: 0 8px 26px rgba(17, 33, 61, .06);
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--bg); font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif; }
.topbar { display:flex; justify-content:space-between; gap:24px; align-items:flex-start; color:#fff; background:var(--navy); padding:24px clamp(18px, 4vw, 58px); }
.topbar h1 { margin:4px 0 5px; font-size:27px; letter-spacing:0; }
.topbar p { margin:0; color:#c7d3e8; font-size:13px; }
.eyebrow { color:#7387a8; font-size:10px; font-weight:700; letter-spacing:1.2px; text-transform:uppercase; }
.topbar .eyebrow { color:#91a6c8; }
.top-actions { display:flex; align-items:center; gap:9px; flex-wrap:wrap; justify-content:flex-end; }
.region-context-badge{padding:5px 9px;border:1px solid #4a6285;border-radius:999px;color:#d6e2f4;background:#1d3152;font-size:11px;font-weight:700;white-space:nowrap}
.region-switch{display:inline-flex;gap:3px;padding:3px;border:1px solid #4a6285;border-radius:8px;background:#172c4b}
.region-switch-button{padding:6px 10px;border:0;border-radius:6px;color:#b9c8df;background:transparent;font:700 12px/1 inherit;cursor:pointer}
.region-switch-button.active{color:#18345a;background:#dcecff}
.shell { max-width:1240px; margin:20px auto 42px; padding:0 18px; }
.boundary { border:1px solid #f0ce6b; border-radius:10px; background:#fff8df; color:#6b4b00; padding:12px 15px; margin-bottom:18px; }
.hk-workspace{margin:0 0 20px;padding:20px;border:2px solid #b7d8c3;border-radius:12px;background:#fff;box-shadow:0 8px 26px rgba(17,33,61,.06)}
.macau-only[hidden]{display:none!important}
html[data-region="HK"] .macau-only{display:none!important}
.hk-workspace-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:12px}.hk-workspace-head h2{margin:2px 0 0;font-size:21px}.hk-workspace-notice{padding:12px 14px;border-left:4px solid #5a9c7b;border-radius:6px;color:#285d43;background:#eef9f2;font-size:13px;line-height:1.6}
.hk-workspace-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}.hk-workspace-grid article{display:grid;gap:3px;padding:12px;border:1px solid #d9e7df;border-radius:8px;background:#fbfefc}.hk-workspace-grid span,.hk-workspace-grid small{color:#637a6d;font-size:11px}.hk-workspace-grid strong{font-size:14px}.hk-workspace-grid small{overflow-wrap:anywhere}.hk-source-card{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 13px;border:1px solid #d9e7df;border-radius:8px;background:#f7fcf8}.hk-source-card div{display:grid;gap:2px}.hk-source-card span{color:#637a6d;font-size:11px}.hk-source-links{display:flex!important;gap:8px!important;flex-wrap:wrap}.hk-source-links a{color:#1769aa;font-size:12px;font-weight:700;text-decoration:none}.hk-source-links a:hover{text-decoration:underline}
.hk-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:16px 0 12px;padding:5px;border:1px solid #d5e4dc;border-radius:10px;background:#f3f8f5}.hk-tab{padding:8px 14px;border:0;border-radius:7px;color:#476653;background:transparent;font:700 12px/1.3 inherit;cursor:pointer}.hk-tab.active{color:#fff;background:#176647}.hk-view[hidden]{display:none!important}.hk-view{padding:14px;border:1px solid #d9e7df;border-radius:10px;background:#fcfefd;min-height:155px}.hk-view-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:12px}.hk-view-heading h3{margin:0;font-size:16px}.hk-view-heading small{color:#637a6d;font-size:11px}.hk-overview-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.hk-overview-kpis article{display:grid;gap:3px;padding:12px;border:1px solid #d5e4dc;border-radius:8px;background:#fff}.hk-overview-kpis span,.hk-overview-kpis small{color:#637a6d;font-size:11px}.hk-overview-kpis strong{font-size:18px}.hk-gate-card{display:grid;gap:4px;margin-top:12px;padding:13px;border-left:4px solid #cfaa48;border-radius:8px;background:#fff8e6;color:#5b4a20;font-size:12px}.hk-gate-card p{margin:3px 0 0}.hk-system-list,.hk-choice-list{display:grid;gap:7px}.hk-system-list{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:12px}.hk-model-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:480px;overflow:auto}.hk-choice{display:grid;gap:2px;width:100%;padding:9px 11px;border:1px solid #d6e2da;border-radius:8px;color:#203c2d;background:#fff;text-align:left;font:inherit;cursor:pointer;overflow-wrap:anywhere}.hk-choice:hover,.hk-choice:focus-visible{border-color:#19825a;outline:none}.hk-choice.active{border-color:#19825a;background:#e9f7ef}.hk-choice strong{font-size:12px}.hk-choice small{color:#657a6d;font-size:10px}.hk-paper-status{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:12px;color:#536a5b;font-size:12px}.hk-paper-layout{display:grid;grid-template-columns:.8fr 1.5fr .9fr;gap:10px}.hk-paper-layout>div{min-width:0;padding:11px;border:1px solid #d7e5dc;border-radius:9px;background:#f8fcf9}.hk-paper-layout h4{margin:0 0 8px;font-size:12px}.hk-paper-layout .hk-choice-list{max-height:410px;overflow:auto}.hk-paper-ledger{margin-top:12px;padding:14px;border:1px solid #d4e2d9;border-radius:9px;background:#fff}.hk-ledger-head{display:flex;justify-content:space-between;align-items:start;gap:10px}.hk-ledger-head h4{margin:3px 0 0;font-size:14px}.hk-ledger-head small{color:#637a6d}.hk-ledger-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:13px 0}.hk-ledger-grid>div{display:grid;gap:3px;padding:10px;border:1px solid #e0e8e2;border-radius:7px}.hk-ledger-grid span{font-size:10px;color:#637a6d}.hk-ledger-grid strong{font-size:13px}.hk-facts-list{display:grid;gap:7px}.hk-fact-row{display:grid;grid-template-columns:100px 95px minmax(0,1fr);align-items:center;gap:9px;padding:9px 11px;border:1px solid #dde7e0;border-radius:8px;background:#fff;font-size:11px}.hk-fact-row time{color:#637a6d}.hk-fact-row>span{display:flex;align-items:center;flex-wrap:wrap;gap:5px}.hk-fact-row b{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;color:#205f47;background:#e8f5ed;font-size:11px}.hk-fact-row b.special{color:#a03f19;background:#ffeadf}.hk-fact-row i{font-style:normal;color:#637a6d}
.hk-ledger-table-wrap{overflow-x:auto}.hk-ledger-table{width:100%;min-width:480px;border-collapse:collapse;font-size:11px}.hk-ledger-table th,.hk-ledger-table td{padding:9px;border-bottom:1px solid #e0e8e2;text-align:left}.hk-ledger-table th{color:#557262;background:#f3f8f5}.hk-ledger-empty{color:#64786b;text-align:center!important}
.hk-paper-layout{grid-template-columns:minmax(165px,.45fr) minmax(0,1fr)}.hk-paper-layout .hk-choice-list{max-height:260px}.hk-paper-cohort{margin-top:10px;padding:12px;border:1px solid #d7e5dc;border-radius:9px;background:#f8fcf9}.hk-paper-cohort-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.hk-paper-cohort-head h4{margin:0 0 3px;font-size:12px}.hk-paper-cohort-head small{color:#637a6d;font-size:11px}.hk-bankroll-tabs{display:flex;gap:5px;padding:4px;border:1px solid #d4dfef;border-radius:8px;background:#eef3fa;white-space:nowrap}.hk-bankroll-tab{padding:7px 11px;border:0;border-radius:6px;color:#405575;background:transparent;font:700 11px/1.2 inherit;cursor:pointer}.hk-bankroll-tab.active{color:#fff;background:#2563eb}.hk-multiplier-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.hk-multiplier-card{min-height:64px;text-align:center;align-content:center}.hk-paper-ledger{border-color:#b9cfee;background:#f8fbff}.hk-paper-ledger .hk-ledger-grid>div{background:#fff;border-color:#dbe6f6}.hk-paper-ledger .hk-ledger-head>.state.observe{background:#fff0c7;color:#755000}
.hk-paper-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 11px}.hk-paper-totals article{display:grid;gap:3px;padding:10px 12px;border:1px solid #d8e4f4;border-radius:8px;background:#f5f8ff}.hk-paper-totals span,.hk-paper-totals small{color:#62728a;font-size:10px}.hk-paper-totals strong{font-size:15px}.hk-paper-ledger .hk-ledger-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.hk-order-section{margin-top:15px}.hk-order-section>strong{display:block;margin:0 0 5px;font-size:12px;color:#364b68}
.hk-paper-totals{grid-template-columns:repeat(3,minmax(0,1fr))}.hk-paper-summary-ledger{margin:0 0 11px;padding:13px;border:1px solid #c8d9ee;border-radius:9px;background:#fff}.hk-paper-summary-ledger:empty{display:none}.hk-ledger-section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:9px}.hk-ledger-section-head h4{margin:2px 0 0;font-size:14px}.hk-ledger-section-head small,.hk-ledger-section-head>span{color:#62728a;font-size:10px}.hk-paper-summary-ledger>.small-note{margin:4px 0 10px;font-size:11px;color:#62728a;overflow-wrap:anywhere}.hk-ledger-warning{padding:12px;border-radius:7px;color:#8b2d22;background:#fff0eb;font-size:12px}.hk-model-ledger-list{display:grid;gap:6px}.hk-model-ledger{border:1px solid #dbe5f2;border-radius:8px;background:#f9fbff}.hk-model-ledger summary{display:grid;grid-template-columns:26px minmax(190px,1.6fr) repeat(3,minmax(125px,1fr)) 18px;align-items:center;gap:9px;padding:10px 12px;cursor:pointer;list-style:none;font-size:11px}.hk-model-ledger summary::-webkit-details-marker{display:none}.hk-model-ledger summary::after{content:'⌄';font-size:17px;color:#61738f}.hk-model-ledger[open] summary::after{content:'⌃'}.hk-model-ledger summary strong{font-size:12px}.hk-model-ledger-rank{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;color:#fff;background:#315a94;font-weight:700}.hk-model-ledger-body{padding:0 12px 12px}.hk-model-ledger-body .hk-ledger-table-wrap{margin-top:9px}.hk-model-ledger-body .small-note{font-size:11px;color:#62728a}.hk-model-ledger summary b,.hk-model-ledger summary span{white-space:nowrap}
.hk-multiplier-ledger-list{display:grid;gap:12px}.hk-multiplier-ledger{min-width:0;padding:12px;border:1px solid #d6e2f3;border-radius:9px;background:#f9fbff}.hk-multiplier-ledger h5{margin:2px 0 0;font-size:14px}.hk-multiplier-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.hk-multiplier-kpis>div{display:grid;gap:3px;min-width:0;padding:9px 10px;border:1px solid #e0e9f6;border-radius:7px;background:#fff}.hk-multiplier-kpis span,.hk-multiplier-kpis small{color:#62728a;font-size:10px}.hk-multiplier-kpis strong{font-size:14px;overflow-wrap:anywhere}.hk-multiplier-ledger-tables{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:11px;margin-top:12px}.hk-multiplier-ledger-tables>div{min-width:0}.hk-multiplier-ledger-tables>div>strong{font-size:11px;color:#364b68}.hk-multiplier-ledger-tables .hk-ledger-table-wrap{margin-top:5px}
.hk-paper-target-state{display:grid;gap:5px;margin:0 0 12px;padding:11px 13px;border:1px solid #d5e2f4;border-left:4px solid #2865d3;border-radius:8px;background:#edf4ff;color:#24426e;font-size:12px;line-height:1.5}.hk-paper-target-state span{font-size:11px;color:#4c617d}
.hk-history-detail{margin-top:12px;padding:14px;border:1px solid #d4e2d9;border-radius:9px;background:#fff}.hk-history-detail:empty{display:none}.hk-history-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.hk-history-head h4{margin:3px 0 0;font-size:14px}.hk-history-head small,.hk-history-detail>.small-note{color:#637a6d}.hk-history-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0}.hk-history-cards article{display:grid;gap:4px;padding:10px;border:1px solid #dce7df;border-radius:7px;background:#f9fcfa;font-size:11px}.hk-history-cards strong{font-size:12px}.hk-history-table{min-width:900px}.hk-history-table td small{display:block;color:#a23d3d}.hk-positive{color:#13734a;font-weight:700}.hk-negative{color:#b42328;font-weight:700}
.hk-forward-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:12px 0}.hk-forward-grid article{display:grid;gap:4px;padding:12px;border:1px solid #dce7df;border-radius:8px;background:#fff;font-size:12px}.hk-forward-grid small{color:#637a6d}
@media(max-width:900px){.hk-overview-kpis,.hk-ledger-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hk-paper-layout{grid-template-columns:1fr 1fr}.hk-paper-layout>div:last-child{grid-column:1/-1}.hk-system-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.hk-paper-layout{grid-template-columns:minmax(130px,.45fr) minmax(0,1fr)}.hk-paper-layout>div:last-child{grid-column:auto}.hk-multiplier-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.hk-paper-totals,.hk-paper-ledger .hk-ledger-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.hk-model-ledger summary{grid-template-columns:26px minmax(140px,1fr) minmax(120px,1fr) 18px}.hk-model-ledger summary>span:nth-of-type(2),.hk-model-ledger summary>span:nth-of-type(3){display:none}}
@media(max-width:900px){.hk-multiplier-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.hk-multiplier-ledger-tables{grid-template-columns:1fr}}
@media(max-width:900px){.hk-history-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.hk-forward-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.hk-view-heading{display:grid}.hk-system-list,.hk-model-list,.hk-paper-layout{grid-template-columns:1fr}.hk-paper-layout>div:last-child{grid-column:auto}.hk-fact-row{grid-template-columns:1fr 1fr}.hk-fact-row>span{grid-column:1/-1}.hk-tabs{overflow:auto;flex-wrap:nowrap}.hk-tab{white-space:nowrap}}
@media(max-width:600px){.hk-paper-layout{grid-template-columns:1fr}.hk-paper-cohort-head{align-items:stretch;flex-direction:column}.hk-bankroll-tabs{width:max-content;max-width:100%}.hk-multiplier-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.hk-paper-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.hk-paper-totals strong{font-size:13px}}
@media(max-width:600px){.hk-multiplier-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.hk-multiplier-ledger .hk-ledger-section-head{align-items:start;flex-direction:column}.hk-multiplier-kpis strong{font-size:12px}}
@media(max-width:600px){.hk-history-cards{grid-template-columns:1fr}.hk-history-head{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.hk-forward-grid{grid-template-columns:1fr}}
.snapshot-push-panel{margin:0 0 20px;padding:18px;border:2px solid #2563eb;border-radius:12px;background:#fff;box-shadow:0 8px 26px rgba(37,99,235,.12)}
.live-draw-card,.official-push-card{padding:13px 15px;border:1px solid #d8e3f7;border-radius:9px;margin:11px 0;background:#f8fbff}
.live-draw-head,.official-push-head{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap}
.live-draw-head h3{font-size:16px;margin:2px 0 0}.live-draw-numbers{display:flex;gap:8px;flex-wrap:wrap;margin:11px 0}
.live-draw-number{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:#e6efff;color:#194f9a;font-size:17px;font-weight:750}
.live-draw-number.special{background:#ffecdb;color:#a33b11}.live-draw-meta,.live-draw-card small{font-size:12px;color:#536078;line-height:1.6}
.official-push-card{background:#fffaf0;border-color:#ead9ac}.official-push-card p{margin:6px 0 0;font-size:12px;color:#63552f;line-height:1.6}
.snapshot-push-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:10px}.snapshot-push-head h2{margin:2px 0 0;font-size:20px}.snapshot-current{padding:10px 12px;background:#eef4ff;border-left:3px solid #2563eb;font-weight:700}.snapshot-system{padding:10px 12px;border:1px solid #d8e3f7;border-radius:8px;background:#fbfdff;margin-top:8px}.snapshot-system:first-child{margin-top:0}.snapshot-system-head{font-size:12px;font-weight:700;color:#263b5e;margin-bottom:6px}.snapshot-model{display:grid;grid-template-columns:150px minmax(0,1fr);gap:10px;padding:6px 0;border-top:1px dashed #dbe4f2;font-size:11px}.snapshot-model b{color:#435574}.snapshot-model span{color:#172033;line-height:1.55;word-break:break-word}.snapshot-history{display:grid;gap:6px;max-height:260px;overflow:auto}.snapshot-row{display:grid;grid-template-columns:120px 120px 150px minmax(0,1fr);gap:8px;padding:7px 9px;border-bottom:1px solid var(--line);font-size:11px}.snapshot-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted)}
.snapshot-subnav{display:flex;gap:6px;margin:0 0 14px;padding:4px;border:1px solid #d8e3f7;border-radius:9px;background:#f4f7fc}.snapshot-tab{min-height:36px;padding:7px 13px;border:0;border-radius:6px;color:#536078;background:transparent;font:600 14px/1.3 inherit;cursor:pointer}.snapshot-tab.active{color:#fff;background:#2563eb;box-shadow:0 3px 10px rgba(37,99,235,.2)}.snapshot-view[hidden]{display:none}.history-toolbar{display:flex;justify-content:space-between;align-items:end;gap:14px;margin-bottom:10px}.history-toolbar label{margin:0;min-width:180px}.history-toolbar select{display:block;width:100%;margin-top:4px;padding:7px 9px;border:1px solid #ccd4e1;border-radius:7px;color:var(--ink);background:#fff;font:inherit}.history-content{max-height:560px;overflow:auto;border:1px solid var(--line);border-radius:9px;background:#fbfcfe}.history-snapshot{border-bottom:1px solid var(--line);background:#fff}.history-snapshot:last-child{border-bottom:0}.history-snapshot summary{display:grid;grid-template-columns:150px 120px 110px minmax(150px,1fr);gap:12px;align-items:center;padding:12px 14px;cursor:pointer;list-style-position:inside;font-size:14px}.history-snapshot summary:hover{background:#f5f8fd}.history-snapshot[open]>summary{color:#174ea6;background:#f2f6fd}.history-snapshot summary small{text-align:right;color:var(--muted)}.history-issue{font-weight:750;color:#172033}.history-snapshot-body{padding:0 14px 14px 34px}.history-proof-list{display:flex;gap:7px;flex-wrap:wrap;padding:9px 0}.history-proof-list>span{padding:4px 7px;border:1px solid #dbe4f2;border-radius:5px;color:var(--muted);background:#f8faff;font-size:12px}.history-model-list{border-top:1px solid #dbe4f2}.history-model{display:grid;grid-template-columns:220px minmax(0,1fr);gap:12px;padding:10px 0;border-bottom:1px dashed #dbe4f2;font-size:13px}.history-model:last-child{border-bottom:0}.history-model-name{min-width:0}.history-model-name span{display:inline-flex;margin-bottom:4px;padding:2px 6px;border-radius:4px;color:#174ea6;background:#e9f1ff;font-size:11px;font-weight:700}.history-model-name strong{display:block;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.history-number-set{display:grid;grid-template-columns:130px minmax(0,1fr);gap:8px}.history-number-set b{color:#536078}.history-number-set span{word-break:break-word}.history-empty{padding:24px;text-align:center;color:var(--muted)}.hit-table{min-width:760px}.hit-row{display:grid;grid-template-columns:88px minmax(220px,1.6fr) 105px 70px 60px minmax(170px,1fr);gap:10px;align-items:center;padding:9px 12px;border-bottom:1px solid var(--line);font-size:13px}.hit-row:last-child{border-bottom:0}.hit-row.hit-head{position:sticky;top:0;z-index:1;color:#536078;background:#eef3fa;font-weight:700}.hit-row span{min-width:0}.hit-row small{display:block;margin-top:2px;color:var(--muted);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hit-status{display:inline-flex;padding:3px 7px;border-radius:999px;font-style:normal;font-weight:700;white-space:nowrap}.hit-status.hit{color:#075e45;background:#d9f6e9}.hit-status.miss{color:#9b1c1c;background:#ffe2df}.hit-status.unscorable{color:#6b4b00;background:#fff2c6}
.sync-session{margin-top:10px;border:1px solid var(--line);border-radius:7px;overflow:hidden}.sync-session>.snapshot-row{background:#f8faff;font-weight:700}.sync-windows{padding:3px 8px}.sync-windows .snapshot-row{grid-template-columns:minmax(140px,1fr) 120px 100px minmax(0,1fr);padding-left:14px}
.source-window-list{display:grid;gap:8px;margin:-14px 0 26px}.source-window-group{border:1px solid var(--line);border-radius:8px;background:#fff;overflow:hidden}.source-window-title{display:flex;justify-content:space-between;padding:9px 12px;background:#f8faff;font-size:12px}.source-window-title span,.source-window-row span,.source-window-row small{color:var(--muted);font-size:11px}.source-window-row{display:grid;grid-template-columns:minmax(150px,1fr) 100px 80px minmax(0,1fr);gap:8px;padding:7px 12px;border-top:1px solid var(--line);font-size:11px}.source-window-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kpis { display:grid; grid-template-columns:repeat(4, 1fr); gap:12px; margin-bottom:20px; }
.kpi, .panel, .system-card, .source-card, .alert-card { background:var(--panel); border:1px solid var(--line); border-radius:12px; box-shadow:var(--shadow); }
.kpi { min-height:108px; padding:15px 16px; }
.kpi span, .kpi small { display:block; color:var(--muted); font-size:12px; }
.kpi strong { display:block; margin:7px 0 3px; font-size:24px; letter-spacing:0; }
.content-grid { display:grid; grid-template-columns:minmax(0, 1fr) 330px; gap:20px; align-items:start; }
.main-column, .side-column { min-width:0; }
.section-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:12px; margin:4px 0 12px; }
.section-heading h2 { margin:2px 0 0; font-size:19px; }
.section-heading.compact { align-items:center; }
.section-heading.compact h2 { font-size:17px; }
.muted { color:var(--muted); font-size:12px; }
.system-overview-heading{align-items:center;margin-top:2px}.system-overview-actions{display:flex;align-items:center;gap:10px}.overview-toggle{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border:1px solid #c9d8ef;border-radius:7px;color:#24548e;background:#f5f8ff;font:600 11px/1.2 inherit;cursor:pointer}.overview-toggle:hover,.overview-toggle:focus-visible{border-color:#2563eb;background:#eef4ff;outline:none}.overview-toggle b{font-size:15px;line-height:10px}.system-overview-panel{margin-bottom:24px;padding:10px;border:1px solid #dce4f0;border-radius:10px;background:#fbfcff}.system-overview-summary{margin:0 0 9px;padding:7px 9px;border-radius:6px;color:#536078;background:#f1f5fb;font-size:11px}.system-overview-panel .system-grid{margin-bottom:0}
.system-grid { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:12px; margin-bottom:25px; }
.system-card { padding:15px; }
.system-head { display:flex; justify-content:space-between; align-items:flex-start; gap:8px; }
.system-name { font-weight:700; font-size:16px; }
.state { display:inline-flex; align-items:center; border-radius:999px; padding:3px 8px; font-size:11px; font-weight:700; white-space:nowrap; }
.state.observe { color:#7b5200; background:#fff2c6; } .state.blocked { color:#9b1c1c; background:#ffe2df; } .state.tracking { color:#075e45; background:#d9f6e9; }
.system-meta { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:14px 0 12px; }
.meta-block { min-width:0; } .meta-block span { display:block; color:var(--muted); font-size:11px; } .meta-block strong, .meta-block code { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; margin-top:2px; }
.reason { border-top:1px solid var(--line); padding-top:10px; color:#536078; font-size:12px; min-height:47px; }
.card-footer { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-top:11px; color:var(--muted); font-size:11px; }
.source-heading { margin-top:4px; }
.source-list { display:grid; gap:9px; margin-bottom:26px; }
.source-card { padding:13px 15px; display:grid; grid-template-columns:110px minmax(0, 1fr) auto; gap:13px; align-items:center; }
.source-id { font-weight:700; font-size:12px; } .source-url { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--muted); font-size:11px; }
.source-status { text-align:right; font-weight:700; font-size:11px; } .ok { color:var(--green); } .warn { color:var(--amber); } .critical { color:var(--red); }
.alert-list { display:grid; gap:9px; }
.paper-workbench { margin:26px 0 0; padding:18px; border:1px solid var(--line); border-radius:8px; background:var(--panel); box-shadow:var(--shadow); }
.multiplier-entry{margin:0 0 14px;padding:14px;border:1px solid #c7d7ef;border-radius:10px;background:linear-gradient(135deg,#f7faff,#fff)}
.multiplier-entry-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.multiplier-entry-head h3{margin:2px 0 3px;font-size:16px}.multiplier-entry-head p{margin:0;color:#536078;font-size:11px}
.multiplier-model-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}.multiplier-model-card{display:block;width:100%;padding:10px 11px;border:1px solid #d7e0ee;border-radius:8px;background:#fff;color:inherit;text-align:left;font:inherit;cursor:pointer}.multiplier-model-card:hover,.multiplier-model-card:focus-visible{border-color:#2563eb;box-shadow:0 3px 12px rgba(37,99,235,.12);outline:none}.multiplier-model-card.recommended,.multiplier-model-card.selected{border-color:#76b89c;background:#f2fbf6}.multiplier-model-head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.multiplier-model-head strong{font-size:13px}.multiplier-model-head span{color:#7b5200;font-size:10px;font-weight:700;text-align:right}.multiplier-model-meta,.multiplier-model-rule{display:grid;grid-template-columns:90px minmax(0,1fr);gap:3px 7px;margin-top:7px;color:var(--muted);font-size:10px}.multiplier-model-meta b,.multiplier-model-rule b{color:var(--ink);font-weight:600;overflow-wrap:anywhere}.multiplier-model-card small{display:block;margin-top:8px;color:var(--muted);font-size:10px;line-height:1.4}.multiplier-entry-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:10px}.multiplier-entry-footer .button:disabled{cursor:not-allowed}
.multiplier-status-strip{display:grid;grid-template-columns:repeat(5,minmax(105px,1fr));gap:7px;margin:10px 0;padding:8px;border:1px solid #d7e0ee;border-radius:9px;background:#fff}.multiplier-status-strip>div{display:grid;gap:2px;padding:7px 8px;border-radius:7px;background:#f7f9fc}.multiplier-status-strip span,.multiplier-status-strip small{color:var(--muted);font-size:10px}.multiplier-status-strip strong{font-size:16px;color:var(--ink)}
.multiplier-breadcrumb{display:flex;align-items:stretch;gap:5px;margin:10px 0;padding:8px;border:1px solid #d7e0ee;border-radius:9px;background:#fff;overflow:auto}.multiplier-breadcrumb>i{align-self:center;color:#9aa9bf;font-size:18px;font-style:normal}.multiplier-step{display:grid;grid-template-columns:auto 1fr;column-gap:6px;min-width:118px;padding:6px 8px;border-radius:7px;background:#f5f7fb;color:#8491a6}.multiplier-step>span{grid-row:span 2;align-self:center;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#dbe3ef;color:#54647d;font-size:10px;font-weight:700}.multiplier-step b{font-size:11px;color:#55647a}.multiplier-step small{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.multiplier-step.done{background:#eef7f3}.multiplier-step.done>span{background:#1d9a70;color:#fff}.multiplier-step.done b{color:#155f49}
.multiplier-order-detail{margin-top:11px;padding:11px;border:2px solid #bfd0e8;border-radius:10px;background:#f8faff}.multiplier-detail-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.multiplier-detail-head h4{margin:2px 0 0;font-size:14px}.multiplier-selected-detail{padding:9px;border:1px solid #d5e0ef;border-radius:8px;background:#fff}.selected-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.selected-detail-grid>div{display:grid;gap:2px;min-width:0}.selected-detail-grid span{color:var(--muted);font-size:10px}.selected-detail-grid b{font-size:12px;overflow-wrap:anywhere}.multiplier-detail-reason{margin:9px 0 0;padding:8px 9px;border-left:3px solid #d4ad3e;border-radius:4px;color:#536078;background:#fff7dc;font-size:11px;line-height:1.5}.candidate-number-line{display:grid;grid-template-columns:75px minmax(0,1fr);gap:8px;margin-top:7px;padding-top:7px;border-top:1px dashed #ccd7e6;font-size:11px}.candidate-number-line span{color:var(--muted)}.candidate-number-line b{color:#263b5e;line-height:1.55;word-break:break-word}.order-table-caption{margin:10px 0 6px;color:#536078;font-size:11px;font-weight:700}.order-table-scroll{overflow:auto;border:1px solid #d5e0ef;border-radius:8px;background:#fff}.multiplier-order-table table{width:100%;border-collapse:collapse;min-width:720px;font-size:10px}.multiplier-order-table th,.multiplier-order-table td{padding:7px 8px;border-bottom:1px solid #e1e7f0;text-align:left;white-space:nowrap}.multiplier-order-table th{color:#536078;background:#eef4fc;font-weight:700}.multiplier-order-table tr:last-child td{border-bottom:0}.order-status{display:inline-block;padding:2px 6px;border-radius:999px;font-size:9px;font-weight:700}.order-status.waiting{color:#765800;background:#fff2c6}.order-status.ready{color:#075e45;background:#d9f6e9}.order-status.win{color:#075e45;background:#d9f6e9}.order-status.loss{color:#9b1c1c;background:#ffe2df}
.multiplier-ledger-summary{margin-top:11px;padding:11px;border:2px solid #d8c990;border-radius:10px;background:#fffdf3}.multiplier-ledger-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.multiplier-ledger-grid>div{display:grid;gap:2px;padding:7px 8px;border:1px solid #eadfb6;border-radius:7px;background:#fff}.multiplier-ledger-grid span{color:#7b6a37;font-size:10px}.multiplier-ledger-grid b{font-size:12px;overflow-wrap:anywhere}.multiplier-account-card em{display:block;margin-top:3px;color:#2464a5;font-size:9px;font-style:normal}.table-number-list{display:block;margin-top:3px;color:#7a8799;font-size:9px;max-width:180px;overflow:hidden;text-overflow:ellipsis}.model-id-note{display:block;margin-top:2px;color:#7a8799!important;font-size:9px!important;font-weight:400!important;line-height:1.25;overflow-wrap:anywhere}
.macau-multiplier-ledgers{margin:12px 0;padding:14px;border:1px solid #dccb92;border-radius:11px;background:#fffdf6}.macau-multiplier-head,.macau-multiplier-card header{display:flex;justify-content:space-between;align-items:end;gap:12px}.macau-multiplier-head h3,.macau-multiplier-card h4{margin:2px 0 0}.macau-multiplier-head small,.macau-multiplier-card header small,.macau-multiplier-head>span,.macau-multiplier-card header>span{color:#796b47;font-size:10px}.macau-multiplier-ledgers>p{margin:8px 0 12px;color:#65708a;font-size:11px;line-height:1.55}.macau-multiplier-list{display:grid;gap:12px}.macau-multiplier-card{min-width:0;padding:12px;border:1px solid #eadfb8;border-radius:9px;background:#fff}.macau-multiplier-card h4{font-size:14px}.macau-multiplier-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:10px 0}.macau-multiplier-kpis>div{display:grid;gap:3px;min-width:0;padding:9px;border:1px solid #eee5c9;border-radius:7px;background:#fffdf7}.macau-multiplier-kpis span,.macau-multiplier-kpis small{color:#746d5d;font-size:10px}.macau-multiplier-kpis b{font-size:14px;overflow-wrap:anywhere}.macau-multiplier-tables{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.macau-multiplier-tables>div{min-width:0}.macau-multiplier-tables>div>strong{color:#594c2c;font-size:11px}.macau-multiplier-scroll{max-height:340px;overflow:auto;margin-top:5px;border:1px solid #eee7d5;border-radius:7px}.macau-multiplier-scroll table{width:100%;border-collapse:collapse;font-size:10px}.macau-multiplier-scroll th,.macau-multiplier-scroll td{padding:7px 8px;border-bottom:1px solid #eee9dd;text-align:left;white-space:nowrap}.macau-multiplier-scroll th{position:sticky;top:0;color:#645d4c;background:#f8f5eb}.macau-multiplier-scroll td:first-child small{display:block;max-width:220px;color:#7a8799;white-space:normal}.macau-multiplier-scroll .pnl-positive{color:#078052}.macau-multiplier-scroll .pnl-negative{color:#b42318}
.macau-multiplier-ledgers[hidden],.paper-entry-multiplier-item[hidden]{display:none!important}
.macau-multiplier-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.macau-multiplier-overview-card{display:grid;gap:9px;min-width:0;padding:12px;border:1px solid #eadfb8;border-radius:9px;background:#fff;color:var(--ink);text-align:left;font:inherit;cursor:pointer}.macau-multiplier-overview-card:hover,.macau-multiplier-overview-card:focus-visible{border-color:#c79c32;box-shadow:0 3px 12px rgba(150,108,22,.12);outline:none}.macau-multiplier-overview-title{display:flex;justify-content:space-between;gap:10px;align-items:baseline}.macau-multiplier-overview-title strong{font-size:14px}.macau-multiplier-overview-title small{color:var(--muted);font-size:10px}.macau-multiplier-overview-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.macau-multiplier-overview-metrics>span{display:grid;gap:2px;color:var(--muted);font-size:10px}.macau-multiplier-overview-metrics b{color:var(--ink);font-size:12px;overflow-wrap:anywhere}.macau-multiplier-overview-action{color:#925f05;font-size:10px;font-weight:700}.macau-multiplier-detail-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;color:#796b47;font-size:11px;font-weight:700}
@media (max-width:650px){.macau-multiplier-overview{grid-template-columns:1fr}}
.multiplier-child-entries{margin-top:12px;padding:10px 11px;border:1px solid #cbd8ea;border-radius:10px;background:#f8fbff}.multiplier-child-entries[hidden]{display:none}.multiplier-secondary-bar{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:0 0 10px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.68)}.multiplier-secondary-bar label{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--muted)}.multiplier-secondary-bar select{min-width:190px}
.auto-paper-control{margin:0 0 12px;padding:13px 14px;border:1px solid #99b9ed;border-radius:9px;background:linear-gradient(135deg,#f2f7ff,#fff)}
.auto-paper-main{display:flex;justify-content:space-between;align-items:center;gap:15px}.auto-paper-main h3{margin:2px 0 3px;font-size:16px}.auto-paper-main p{margin:0;color:var(--muted);font-size:11px}.auto-paper-master{min-width:145px;margin:0}
.auto-paper-system-switches{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin-top:11px}.auto-system-switch{margin:0;padding:8px 9px;border:1px solid #d7e1ef;border-radius:7px;background:#fff;font-size:11px}.auto-paper-boundary{margin-top:9px;color:#6b4b00;font-size:10px;font-weight:700}
.paper-account-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:0 0 14px}.paper-account-total{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:10px 12px;border:1px solid #b9d1f5;border-radius:7px;background:#f5f9ff}.paper-account-card{padding:9px 10px;border:1px solid #dbe3ef;border-radius:7px;background:#fff}.paper-account-card.paused{opacity:.64;background:#f5f6f8}.paper-account-summary span{display:block;color:var(--muted);font-size:11px}.paper-account-summary strong{display:block;margin-top:2px;font-size:13px}.paper-account-card small{display:block;margin-top:3px;color:var(--muted);font-size:10px;line-height:1.35}
.paper-notice { margin:0 0 14px; padding:10px 12px; border-left:3px solid #d99b00; background:#fff8df; color:#6b4b00; font-size:12px; }
.paper-form { display:grid; grid-template-columns:1fr 1fr minmax(130px,.7fr) auto; gap:12px; align-items:end; }
.paper-form label { margin:0; } .paper-form select { display:block; width:100%; margin-top:6px; padding:8px 9px; border:1px solid #ccd4e1; border-radius:7px; font:inherit; color:var(--ink); background:#fff; }
.paper-action-buttons { display:flex; gap:7px; flex-wrap:wrap; align-items:center; }
.paper-risk { min-width:145px; padding:9px 0; } .paper-risk span, .paper-risk small { display:block; color:var(--muted); font-size:11px; } .paper-risk strong { display:block; font-size:16px; margin:2px 0; }
.paper-ledger { display:grid; gap:8px; margin-top:15px; } .paper-entry { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px; padding:10px 12px; border-top:1px solid var(--line); font-size:12px; } .paper-entry small { color:var(--muted); }
.smart-recommendation { margin:17px 0 3px; padding:15px; border:1px solid #c9d8f4; border-radius:10px; background:#f8faff; }
.smart-recommendation-head { display:flex; justify-content:space-between; align-items:flex-end; gap:12px; }
.smart-recommendation-head h3 { margin:2px 0 0; font-size:16px; }
.smart-summary { margin:11px 0 12px; padding:9px 11px; border-left:3px solid var(--blue); color:#435574; background:#eef4ff; font-size:12px; }
.recommendation-grid { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:10px; }
.recommendation-card { min-width:0; padding:12px; border:1px solid var(--line); border-radius:8px; background:#fff; }
.recommendation-card.standard { border-top:3px solid #0b8a5a; }
.recommendation-card.low { border-top:3px solid #d99b00; }
.recommendation-card.pause, .recommendation-card.locked { border-top:3px solid #b42318; }
.recommendation-head { display:flex; justify-content:space-between; gap:8px; align-items:flex-start; }
.recommendation-head strong { font-size:14px; }
.recommendation-tier { color:#536078; font-size:11px; font-weight:700; white-space:nowrap; }
.recommendation-model { margin-top:8px; color:#536078; font-size:11px; }
.recommendation-model b { color:var(--ink); }
.recommendation-metrics { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:4px 8px; margin:9px 0; color:var(--muted); font-size:11px; }
.recommendation-metrics b { color:var(--ink); }
.recommendation-reason { min-height:34px; margin:8px 0; color:#536078; font-size:11px; line-height:1.45; }
.recommendation-status { padding:6px 8px; border-radius:5px; background:#f1f4f8; color:#5e6b80; font-size:11px; }
.recommendation-actions { display:flex; align-items:center; gap:7px; flex-wrap:wrap; margin-top:9px; }
.recommendation-actions .button { padding:7px 9px; font-size:11px; }
.link-button { color:#31588f; background:transparent; border:1px solid #c9d8f4; }
.decision-badge { display:inline-flex; align-items:center; min-height:28px; padding:4px 8px; border-radius:6px; font-size:11px; font-weight:700; }
.decision-badge.confirmed { color:#075e45; background:#d9f6e9; }
.decision-badge.skipped { color:#6b4b00; background:#fff2c6; }
.smart-footnote { margin-top:11px; color:#697890; font-size:11px; line-height:1.45; }
.paper-policy-grid { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:9px; margin-top:14px; }
.paper-policy-entry { min-width:0; padding:11px 12px; border:1px solid var(--line); border-radius:7px; background:#fbfcfe; }
.paper-policy-head { display:flex; justify-content:space-between; gap:8px; align-items:flex-start; font-size:12px; }
.paper-policy-head strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.policy-tier { font-size:11px; font-weight:700; white-space:nowrap; }
.paper-policy-metrics { display:grid; grid-template-columns:1fr 1fr; gap:3px 8px; margin:8px 0; color:var(--muted); font-size:11px; }
.paper-policy-entry small { color:var(--muted); font-size:11px; line-height:1.45; }
.alert-card { display:flex; gap:11px; padding:13px 15px; border-left:4px solid var(--line); box-shadow:none; }
.alert-card.info { border-left-color:#2f6fed; } .alert-card.warning { border-left-color:#d99b00; } .alert-card.critical { border-left-color:#d04438; }
.alert-body { min-width:0; } .alert-title { font-weight:700; font-size:13px; } .alert-detail { margin-top:2px; color:#5e6b80; font-size:12px; } .alert-handling { display:inline-block; margin-top:7px; padding:2px 7px; border-radius:999px; font-size:10px; font-weight:700; } .alert-handling.auto { color:#075e45; background:#d9f6e9; } .alert-handling.manual { color:#9b1c1c; background:#ffe2df; } .auto-text { color:var(--green); } .manual-text { color:var(--red); }

/* 系统追踪指标与提醒中心：单独缩小高度一档 */
.kpis{gap:9px;margin-bottom:15px}.kpi{min-height:86px;padding:11px 13px}.kpi strong{margin:4px 0 2px;font-size:21px}.alert-list{gap:7px}.alert-card{gap:8px;padding:9px 11px}.alert-title{font-size:12px}.alert-detail{font-size:11px;line-height:1.4}.alert-handling{margin-top:4px;padding:2px 6px;font-size:9px}
.recovery-panel { margin:0 0 12px; padding:14px 15px; border:1px solid #b9d2ff; border-left:4px solid var(--blue); border-radius:10px; background:#f4f8ff; } .recovery-head { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; } .recovery-head h3 { margin:2px 0 0; font-size:15px; } .recovery-badge { display:inline-flex; align-items:center; border-radius:999px; padding:3px 8px; color:#46566f; background:#e9eef6; font-size:11px; font-weight:700; white-space:nowrap; } .recovery-badge.active { color:#075e45; background:#d9f6e9; } .recovery-grid { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:10px; margin-top:12px; } .recovery-grid span { display:block; color:var(--muted); font-size:11px; } .recovery-grid strong { display:block; margin-top:2px; font-size:13px; } .recovery-panel .small-note { margin:10px 0 0; }
.panel { padding:17px; margin-bottom:14px; }
.panel h2 { margin:4px 0 15px; font-size:17px; }
label { display:block; color:#536078; font-size:12px; margin:13px 0; }
input[type=number] { display:block; width:100%; margin-top:6px; padding:8px 9px; border:1px solid #ccd4e1; border-radius:7px; font:inherit; color:var(--ink); background:#fff; }
input[type=range] { width:100%; accent-color:var(--blue); }
.button { border:0; border-radius:7px; padding:9px 12px; cursor:pointer; font-weight:700; font-size:12px; }
.button.primary { color:#fff; background:var(--blue); } .button.quiet { color:#263652; background:#e9eef6; } .button:disabled { opacity:.55; cursor:wait; }
.badge { border-radius:99px; padding:5px 9px; font-size:11px; font-weight:700; } .badge.live { color:#b4f3d3; background:#145c43; } .badge.local { color:#ffe8a1; background:#604900; } .badge.neutral { color:#d8e2f3; background:#2a3c5e; }
.small-note { color:var(--muted); font-size:11px; line-height:1.55; }
.runtime-row { display:flex; justify-content:space-between; gap:10px; padding:9px 0; border-bottom:1px dashed var(--line); font-size:12px; } .runtime-row:last-child { border-bottom:0; }
code { display:inline-block; max-width:100%; background:#eef2f7; color:#46566f; border-radius:4px; padding:2px 4px; font:11px ui-monospace, SFMono-Regular, Menlo, monospace; }
footer { padding:0 18px 28px; text-align:center; color:#7a869a; font-size:11px; }
@media (max-width:900px) { .content-grid { grid-template-columns:1fr; } .side-column { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:14px; } .side-column .panel { margin:0; } .paper-form { grid-template-columns:1fr 1fr; } .paper-policy-grid, .recommendation-grid { grid-template-columns:1fr; } .auto-paper-system-switches,.paper-account-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.paper-account-total{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width:650px) { .topbar { display:block; } .top-actions { justify-content:flex-start; margin-top:15px; } .kpis { grid-template-columns:repeat(2, 1fr); } .system-grid, .paper-form { grid-template-columns:1fr; } .side-column { display:block; } .side-column .panel { margin-bottom:14px; } .source-card { grid-template-columns:1fr auto; } .source-card .source-url { grid-column:1 / -1; grid-row:2; } .snapshot-subnav{overflow:auto}.snapshot-tab{white-space:nowrap}.history-toolbar{align-items:stretch;flex-direction:column}.history-toolbar label{width:100%}.history-snapshot summary{grid-template-columns:1fr 1fr}.history-snapshot summary small{text-align:left}.history-snapshot-body{padding-left:14px}.history-model,.history-number-set{grid-template-columns:1fr}.history-content{max-height:520px}.hit-row{font-size:12px}.auto-paper-main{align-items:flex-start;flex-direction:column}.auto-paper-system-switches,.paper-account-summary,.paper-account-total{grid-template-columns:1fr} }

/* 近30天命中回顾：电影选座式模型矩阵 */
.hit-day{padding:16px;border-bottom:1px solid var(--line);background:#fff}.hit-day:last-child{border-bottom:0}.hit-day>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.hit-day>header div{display:flex;align-items:baseline;gap:9px}.hit-day>header b{font-size:17px;color:#172033}.hit-day>header span,.hit-day>header small{color:var(--muted);font-size:13px}.cinema-screen{width:min(520px,82%);margin:0 auto 18px;padding:6px 12px;border-top:3px solid #8ca4c9;border-radius:50%;color:#6c7d99;background:linear-gradient(180deg,#edf3fb,transparent);text-align:center;font-size:12px;letter-spacing:.08em}.seat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}.model-seat{position:relative;min-width:0;padding:10px 11px 11px;border:1px solid #ccd7e8;border-radius:11px 11px 7px 7px;background:#f8faff;box-shadow:0 4px 0 #c4cfdf;overflow:hidden}.model-seat.hit{border-color:#77c9a8;background:#e9f9f1;box-shadow:0 4px 0 #62ae8e}.model-seat.miss{border-color:#e7a09b;background:#fff0ee;box-shadow:0 4px 0 #cf817b}.model-seat.pending{border-color:#e5c466;background:#fff8db;box-shadow:0 4px 0 #cfad4c}.seat-back{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px}.seat-system{padding:2px 7px;border-radius:999px;color:#fff;background:#405477;font-size:12px;font-weight:750}.seat-back i{font-style:normal;font-size:12px;font-weight:800}.model-seat.hit .seat-back i{color:#08734f}.model-seat.miss .seat-back i{color:#a32626}.model-seat.pending .seat-back i{color:#765800}.model-seat>strong{display:block;min-height:38px;font-size:14px;line-height:1.35;overflow-wrap:anywhere}.seat-meta,.seat-result{display:flex;justify-content:space-between;gap:8px;margin-top:7px;color:#536078;font-size:12px}.seat-result{padding-top:7px;border-top:1px dashed currentColor;color:#263750}
@media (max-width:650px){.hit-day{padding:12px}.seat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.model-seat{padding:9px}.model-seat>strong{font-size:13px}.seat-meta,.seat-result{display:grid;grid-template-columns:1fr}.cinema-screen{width:90%}}
.version-badge{display:inline-block;margin-left:10px;padding:3px 8px;border:1px solid #4b6b88;border-radius:4px;color:#9fd3ff;font-size:12px;font-weight:500;vertical-align:middle}
.hit-subnav{display:flex;gap:8px;margin:0 0 12px}.hit-subtab{min-width:96px;padding:8px 14px;border:1px solid #cbd7e8;border-radius:8px;color:#536078;background:#fff;font:700 14px/1.2 inherit;cursor:pointer}.hit-subtab.active{color:#fff;border-color:#244d86;background:#244d86}.overview-kpis{display:grid;grid-template-columns:repeat(5,minmax(110px,1fr));gap:10px;padding:14px}.overview-kpis article{padding:12px;border:1px solid #d9e2ef;border-radius:9px;background:#f7f9fc}.overview-kpis span{display:block;color:var(--muted);font-size:12px}.overview-kpis b{display:block;margin-top:4px;color:#172033;font-size:24px}.overview-kpis article.hit{background:#e9f9f1;border-color:#89cfb2}.overview-kpis article.miss{background:#fff0ee;border-color:#e9aaa5}.overview-kpis article.pending{background:#fff8db;border-color:#e8c96f}.overview-legend{display:flex;align-items:center;gap:14px;padding:0 14px 14px;color:#536078;font-size:13px}.overview-legend small{margin-left:auto}.legend-dot{display:inline-block;width:10px;height:10px;margin-right:5px;border-radius:3px;background:#a7b2c2}.legend-dot.hit{background:#55b98c}.legend-dot.miss{background:#d87973}.legend-dot.pending{background:#d4ad3e}.hit-overview-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;padding:0 14px 16px}.hit-overview-card{padding:13px;border:1px solid #d6dfec;border-radius:10px;background:#fff;box-shadow:0 3px 10px rgba(45,68,102,.06)}.hit-overview-card header{display:flex;align-items:center;justify-content:space-between;gap:8px}.hit-overview-card header span{padding:3px 8px;border-radius:999px;color:#fff;background:#405477;font-size:12px;font-weight:750}.hit-overview-card header strong{font-size:20px}.overview-card-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:12px 0 8px}.overview-card-metrics span{color:#536078;font-size:12px}.overview-card-metrics b{display:block;color:#172033;font-size:17px}.overview-card-metrics .overview-hit b{color:#08734f}.overview-card-metrics .overview-miss b{color:#a32626}.hit-overview-card small{color:var(--muted)}
@media(max-width:650px){.overview-kpis{grid-template-columns:repeat(2,1fr)}.overview-legend{align-items:flex-start;flex-wrap:wrap}.overview-legend small{width:100%;margin-left:0}.hit-overview-grid{grid-template-columns:1fr}.hit-subtab{flex:1}}
.history-score.super-hit{color:#6d3f00;background:#fff0bf}
.model-day-cell.super-hit{color:#6d3f00;border-color:#e2b44f;background:#fff2bf}
.history-model-sets{display:grid;gap:8px;min-width:0}.history-number-set{display:grid;grid-template-columns:132px minmax(0,1fr);gap:10px;align-items:start;min-width:0}.history-number-set>b{padding-top:2px}.history-number-set>span{min-width:0;color:#263b5e;line-height:1.8;word-break:break-word}
@media (max-width:650px){.history-model-sets{gap:10px}.history-number-set{grid-template-columns:1fr;gap:3px}.history-number-set>b{padding-top:0}}
.snapshot-system-head{font-size:14px;line-height:1.5}.snapshot-model{font-size:13px;line-height:1.55}.snapshot-model b{line-height:1.45}.snapshot-model span{font-size:13px;line-height:1.65}.snapshot-push-panel .small-note{font-size:12px;line-height:1.65}
.history-number{margin:0;padding:1px 2px;border:2px solid transparent;border-radius:3px;color:inherit;background:transparent;font:inherit}.history-number.winning{padding:0 2px;border-color:#16a36a;color:#05603f;background:#e5f8ef;font-weight:800;box-shadow:0 0 0 1px rgba(22,163,106,.1)}.history-number-separator{color:#536078}
.overview-kpis{grid-template-columns:repeat(6,minmax(105px,1fr));gap:7px;padding:10px 14px}.overview-kpis>button{display:grid;gap:2px;min-height:76px;padding:8px 10px;border:1px solid #ccd8e9;border-radius:8px;color:inherit;background:#f8faff;text-align:left;font:inherit;cursor:pointer}.overview-kpis>button:hover{border-color:#2563eb;box-shadow:0 3px 12px rgba(37,99,235,.12)}.overview-kpis>button.hit{background:#e5f7ee}.overview-kpis>button.miss{background:#fff0ee}.overview-kpis>button.pending{background:#fff7d9}.overview-kpis>button b{margin-top:1px;font-size:20px}.overview-kpis>button small{color:#66758c;font-size:10px}.hit-stat-detail{margin:0 14px 14px;border:2px solid #7ca4de;border-radius:10px;background:#fff;overflow:hidden}.hit-stat-detail>header{display:flex;align-items:center;justify-content:space-between;padding:11px 13px;background:#edf4ff}.hit-stat-detail>header button{padding:5px 10px;border:1px solid #a9bddb;border-radius:6px;color:#25466f;background:#fff;cursor:pointer}.hit-stat-detail-list{max-height:320px;overflow:auto}.hit-stat-detail-row{display:grid;grid-template-columns:95px 70px minmax(210px,1fr) 105px 85px 120px;gap:9px;align-items:center;padding:9px 12px;border-bottom:1px solid #e1e7f0;font-size:12px}.hit-stat-detail-row:last-child{border-bottom:0}.hit-stat-detail-row strong{overflow-wrap:anywhere}.hit-stat-detail-row i{font-style:normal;font-weight:750}
.model-calendar .month-subnav{display:grid;grid-template-columns:repeat(3,minmax(110px,1fr));gap:8px}.model-calendar .month-subnav .hit-subtab{display:grid;grid-template-columns:1fr auto;align-items:center;gap:2px 8px;text-align:left}.model-calendar .month-subnav .hit-subtab b{font-size:16px}.model-calendar .month-subnav .hit-subtab small{grid-column:1/-1;color:#748198;font-size:11px}.model-calendar .month-subnav .hit-subtab.active small{color:#dce9ff}.month-rate-note{margin:0 0 10px;color:#66758c;font-size:11px}
@media(max-width:1000px){.overview-kpis{grid-template-columns:repeat(3,1fr)}}
@media(max-width:650px){.overview-kpis{grid-template-columns:repeat(2,1fr);gap:6px;padding:8px 10px}.overview-kpis>button{min-height:68px;padding:7px 8px}.overview-kpis>button b{font-size:18px}}

/* 仅保留两处紧凑版：统计卡片和模型月份日历 */
.model-calendar{margin:0 10px 12px;padding:10px}.model-calendar>header{margin-bottom:9px}.model-calendar-grid{gap:5px}.model-day-cell{min-height:60px;padding:4px 2px}.month-rate-note{margin-bottom:8px}
@media(max-width:650px){.model-day-cell{min-height:58px}}

/* 系统/模型选择卡片单独缩小一档 */
.hit-overview-grid{grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:8px;padding:0 10px 12px}.hit-overview-card{padding:9px 10px}.hit-overview-card header strong{font-size:18px}.overview-card-metrics{gap:4px;margin:8px 0 5px}.overview-card-metrics span{font-size:11px}.overview-card-metrics b{font-size:15px}.hit-overview-card>small{font-size:11px}.overview-model-list{gap:4px;margin-top:7px}.overview-model-button{padding:5px 7px;font-size:11px;line-height:1.3}
.review-next{margin:0 14px 14px;padding:10px 12px;border-radius:8px;background:#fff7da;color:#765800;font-size:12px;line-height:1.6}.history-toolbar{flex-wrap:wrap;gap:10px}.history-toolbar>span{font-size:11px;overflow-wrap:anywhere}
@media (max-width:650px){.snapshot-system-head{font-size:14px}.snapshot-model{grid-template-columns:1fr;gap:4px;font-size:13px}.snapshot-model span{font-size:13px}}
.history-score{display:inline-flex;align-items:center;margin:0 0 4px 6px;padding:2px 7px;border-radius:999px;font-style:normal;font-size:11px;font-weight:750;line-height:1.35;vertical-align:top}.history-score.hit{color:#075e45;background:#d9f6e9}.history-score.miss{color:#9b1c1c;background:#ffe2df}.history-score.pending{color:#6b4b00;background:#fff2c6}.history-score.unscorable{color:#5e6b80;background:#e9eef6}
.overview-model-list{display:grid;gap:6px;margin-top:11px}.overview-model-button{width:100%;padding:7px 9px;border:1px solid #d4deec;border-radius:7px;color:#344762;background:#f7f9fc;text-align:left;font:600 12px/1.35 inherit;overflow-wrap:anywhere;cursor:pointer}.overview-model-button:hover,.overview-model-button.active{color:#fff;border-color:#2563eb;background:#2563eb}.model-calendar{margin:0 14px 16px;padding:14px;border:2px solid #bfd0e8;border-radius:12px;background:#f8faff}.model-calendar>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:13px}.model-calendar>header div{display:grid;gap:4px}.model-calendar>header span{width:max-content;padding:3px 8px;border-radius:999px;color:#fff;background:#405477;font-size:12px;font-weight:750}.model-calendar>header strong{font-size:15px;overflow-wrap:anywhere}.model-calendar>header small{color:var(--muted)}.model-calendar-grid{display:grid;grid-template-columns:repeat(10,minmax(58px,1fr));gap:7px}.model-day-cell{display:grid;place-items:center;min-height:58px;padding:6px 3px;border:1px solid #ccd7e6;border-radius:7px;background:#eef2f7}.model-day-cell b{font-size:12px}.model-day-cell span{font-size:11px;font-weight:750}.model-day-cell.hit{color:#08734f;border-color:#66c69a;background:#dff6eb}.model-day-cell.miss{color:#a32626;border-color:#df8b85;background:#ffe7e4}.model-day-cell.pending{color:#765800;border-color:#dfbd55;background:#fff4c7}.model-day-cell.empty{color:#8995a8;background:#f2f4f7}.model-calendar-empty{margin:0 14px 16px;padding:22px;border:1px dashed #b8c5d8;border-radius:10px;color:var(--muted);background:#f8fafc;text-align:center}
.month-subnav{display:flex;gap:8px;margin:0 0 13px}.month-subnav .hit-subtab{min-width:110px}
.winner-only-notice{margin:14px 14px 0;padding:10px 12px;border-left:4px solid #2563eb;border-radius:6px;color:#344762;background:#edf4ff;font-size:13px;line-height:1.55}
@media(max-width:900px){.model-calendar-grid{grid-template-columns:repeat(6,minmax(52px,1fr))}}@media(max-width:650px){.model-calendar{margin:0 10px 12px;padding:10px}.model-calendar-grid{grid-template-columns:repeat(5,minmax(48px,1fr));gap:6px}.model-day-cell{min-height:54px}.model-calendar>header{display:grid}}
.model-day-cell{align-content:center;gap:2px;min-height:72px;text-align:center}.model-day-cell small{display:block;max-width:100%;font-size:10px;font-weight:700;line-height:1.25;overflow-wrap:anywhere}@media(max-width:650px){.model-day-cell{min-height:68px}}
.model-day-cell.fact-only{color:#6c5422;border-color:#dbc991;background:#fff9e9}
.model-day-cell.today{color:#315d88;border-color:#aac8e8;background:#edf6ff}.model-day-cell.future{color:#9aa3b1;border-color:#e2e7ef;background:#f8fafc}
.fact-ledger-summary{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;padding:10px 12px;border:1px solid #bad9c8;border-radius:9px;background:#edf9f2;color:#1e6242;font-size:12px}.fact-ledger-summary.gap{border-color:#e5b7aa;background:#fff1ed;color:#9e3024}.fact-ledger-summary strong{font-size:13px}.fact-ledger-list{display:grid;gap:5px;margin-top:12px}.fact-ledger-row{display:grid;grid-template-columns:100px 78px minmax(160px,1.6fr) 84px 100px 110px 105px;gap:8px;align-items:center;padding:8px 10px;border:1px solid #d9e1ed;border-radius:7px;background:#fff;font-size:11px}.fact-ledger-row b{color:#253c5e}.fact-ledger-row span{overflow-wrap:anywhere}.fact-numbers{font-weight:650;color:#2a4468}@media(max-width:900px){.fact-ledger-row{grid-template-columns:1fr 1fr 2fr}.fact-ledger-row span:nth-last-child(-n+3){font-size:10px}}@media(max-width:570px){.fact-ledger-row{grid-template-columns:1fr 1fr}.fact-ledger-row .fact-numbers{grid-column:1/-1}}
.retro-panel{margin-top:12px;padding:12px;border:1px solid #d6dcf0;border-radius:9px;background:#f7f8ff;color:#27375c}.retro-panel h3{margin:0 0 9px;font-size:13px}.retro-panel h3 small{margin-left:8px;color:#71539a;font-size:11px;font-weight:500}.retro-row{padding:9px 0;border-top:1px solid #dfe3f2;display:grid;grid-template-columns:104px minmax(150px,1fr) minmax(280px,3fr);gap:8px;align-items:start;font-size:11px}.retro-row strong{white-space:nowrap}.retro-row small{color:#657296}.retro-row div{display:flex;flex-wrap:wrap;gap:5px 12px}.retro-row div span{white-space:normal}@media(max-width:760px){.retro-row{grid-template-columns:1fr}.retro-row div{gap:5px 9px}}

/* 开奖与数据状态：默认只展开最新开奖，历史信息按需查看。 */
.hit-overview-grid{align-items:start}.overview-model-button>span{display:block}.overview-model-button>small{display:block;margin-top:3px;font-size:10px;font-weight:400;line-height:1.4;color:#758398}.overview-model-button:hover>small,.overview-model-button.active>small{color:#e0ebff}
.facts-latest{display:flex;align-items:center;flex-wrap:wrap;gap:16px 24px;padding:16px;border:1px solid var(--line);border-radius:10px;background:#fff}
.facts-eyebrow{color:var(--muted);font-size:11px}.facts-latest h3{margin:3px 0;font-size:16px}.facts-latest small,.facts-latest-label{color:var(--muted);font-size:11px}.facts-latest-label{margin-left:auto}
.facts-balls{display:flex;align-items:center;flex-wrap:wrap;gap:7px;color:#486181;font-size:13px}.facts-balls b{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#edf3fc;color:#244674;font-size:14px}.facts-balls b.special{background:#2563eb;color:#fff}
.facts-health{display:flex;align-items:center;flex-wrap:wrap;gap:6px 16px;padding:11px 4px;font-size:12px;color:#536078}.facts-health strong{color:#147253}.facts-health.attention strong{color:#9b5411}.facts-health small{margin-left:auto;color:var(--muted);font-size:11px}
.facts-disclosure{margin-top:7px;border:1px solid var(--line);border-radius:8px;background:#fff;overflow:hidden}.facts-disclosure>summary{display:flex;align-items:center;gap:9px;min-height:40px;padding:9px 12px;cursor:pointer;font-size:12px;list-style:none}.facts-disclosure>summary::-webkit-details-marker{display:none}.facts-disclosure>summary::before{content:'›';color:#657996;font-size:18px;line-height:1;transition:transform .15s}.facts-disclosure[open]>summary::before{transform:rotate(90deg)}.facts-disclosure>summary>span{margin-left:auto;color:var(--muted);font-size:11px}.facts-disclosure>summary:hover{background:#f4f7fc}.facts-disclosure>summary:focus-visible{outline:2px solid #2563eb;outline-offset:-3px}.facts-disclosure[open]>summary{border-bottom:1px solid var(--line)}.facts-disclosure.has-errors{border-color:#e4b9a2}.facts-disclosure.has-errors>summary{background:#fff4eb;color:#9b5411}.facts-disclosure-body{padding:10px 12px}.facts-disclosure-body>.small-note{margin:4px 0}
.facts-history-row{display:grid;grid-template-columns:110px 90px minmax(180px,1fr) 60px;align-items:center;gap:10px;padding:9px 0;font-size:12px;border-bottom:1px solid #edf0f6}.facts-history-row:last-child{border-bottom:0}.facts-history-row>span:last-child{color:#657996;text-align:right}.facts-history-row .fact-numbers>b{color:#2563eb}
.facts-audit-notes{font-size:12px;color:var(--muted);line-height:1.65}.facts-audit-notes p{margin:0 0 7px;overflow-wrap:anywhere}.facts-exceptions{margin:0;padding-left:18px;color:#9b5411;font-size:12px;line-height:1.7;overflow-wrap:anywhere}
@media(max-width:650px){.facts-latest{gap:10px 18px;padding:12px}.facts-latest-label{width:100%;margin:0}.facts-health small{width:100%;margin:0}.facts-balls{gap:5px}.facts-balls b{width:28px;height:28px;font-size:13px}.facts-history-row{grid-template-columns:1fr 1fr;gap:5px}.facts-history-row>span:nth-child(2){text-align:right}.facts-disclosure-body{padding:8px}.facts-history-row .fact-numbers{grid-column:1/-1;font-size:11px}.facts-history-row>span:last-child{text-align:left}}

/* 模拟盘二级/三级入口：默认只显示当前层级 */
.paper-entry-tabs{display:flex;align-items:stretch;gap:7px;margin:0 0 14px;padding:4px;border:1px solid #d8e3f7;border-radius:10px;background:#f4f7fc}.paper-entry-tab{display:grid;gap:1px;min-width:132px;padding:8px 12px;border:0;border-radius:7px;color:#536078;background:transparent;text-align:left;font:inherit;cursor:pointer}.paper-entry-tab strong{font-size:13px}.paper-entry-tab small{font-size:10px;color:#7a879a}.paper-entry-tab.active{color:#fff;background:#2563eb;box-shadow:0 3px 10px rgba(37,99,235,.18)}.paper-entry-tab.active small{color:#dbe8ff}.paper-entry-tabs>.small-note{align-self:center;margin-left:auto;padding:0 8px}
.multiplier-secondary-bar{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr)) auto;align-items:end;gap:10px;margin:14px 0 10px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.68)}.multiplier-secondary-bar label{display:grid;gap:4px;font-size:11px;color:var(--muted)}.multiplier-secondary-bar select{min-width:0;width:100%;padding:7px 8px;border:1px solid #ccd4e1;border-radius:7px;color:var(--ink);background:#fff;font:inherit}.multiplier-secondary-bar>.small-note{align-self:center}
.multiplier-account-summary{margin-top:10px;padding:10px 11px;border:1px solid #d7e0ee;border-radius:9px;background:#fbfcff}.multiplier-account-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:8px}.multiplier-account-head strong{font-size:12px}.multiplier-account-head small{color:var(--muted);font-size:10px}.multiplier-account-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.multiplier-account-card{display:grid;gap:2px;padding:7px 8px;border:1px solid #e1e7f0;border-radius:7px;background:#fff;font-size:10px}.multiplier-account-card b{font-size:11px;overflow-wrap:anywhere}.multiplier-account-card span{color:#536078}.multiplier-account-card small{color:var(--muted);font-size:9px}.pnl-positive{color:#08734f!important}.pnl-negative{color:#a32626!important}
@media (max-width:650px){.paper-entry-tabs{overflow:auto}.paper-entry-tab{min-width:118px}.paper-entry-tabs>.small-note{display:none}.multiplier-secondary-bar{grid-template-columns:1fr}.multiplier-secondary-bar>.small-note{margin-top:2px}}
@media (max-width:650px){.region-switch{margin-top:8px}.hk-workspace-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hk-source-card{align-items:flex-start;flex-direction:column}.hk-workspace-head{align-items:flex-start;flex-direction:column}}
@media (max-width:900px){.multiplier-status-strip{grid-template-columns:repeat(3,minmax(100px,1fr))}.selected-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.multiplier-ledger-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:900px){.macau-multiplier-tables{grid-template-columns:1fr}.macau-multiplier-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.macau-multiplier-head,.macau-multiplier-card header{align-items:start;flex-direction:column}.macau-multiplier-kpis b{font-size:12px}}
@media (max-width:650px){.multiplier-model-grid{grid-template-columns:1fr}.multiplier-status-strip{grid-template-columns:repeat(2,minmax(100px,1fr))}.selected-detail-grid{grid-template-columns:1fr 1fr}.multiplier-ledger-grid{grid-template-columns:1fr 1fr}.multiplier-detail-head{align-items:flex-start;flex-direction:column}.candidate-number-line{grid-template-columns:1fr;gap:3px}.multiplier-step{min-width:100px}}
@media (max-width:900px){.multiplier-account-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:650px){.multiplier-account-head{display:grid}.multiplier-account-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.multiplier-child-entries:not([hidden]){position:static;width:auto;max-height:none;overflow:visible;transform:none;margin:12px 0 0;padding:14px;border:1px solid #b9cce7;border-radius:14px;background:#f8fbff;box-shadow:none}.multiplier-child-modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;padding-bottom:8px;border-bottom:1px solid #d4e0ef}.multiplier-child-modal-head strong{font-size:14px;color:#1f365a}.multiplier-child-modal-head .button{padding:5px 10px;font-size:11px}
.multiplier-level-panel{display:flex!important;align-items:end;justify-content:space-between;gap:12px}.multiplier-level-panel label{flex:1}.multiplier-level-panel .button,.multiplier-level-content>.button{margin-top:10px}.multiplier-level-notice{display:block;margin:8px 0;color:#536078}.multiplier-level-content{padding:10px 0}.multiplier-level-content[hidden],.multiplier-level-panel[hidden]{display:none!important}

/* 倍率入口层级：左侧五个系统为一级，右侧倍率模型为二级 */
.multiplier-level-split{display:grid;grid-template-columns:minmax(220px,.9fr) minmax(320px,1.4fr);gap:12px;margin-top:12px}
.multiplier-primary-panel,.multiplier-secondary-panel{min-width:0;padding:10px;border:1px solid #d7e0ee;border-radius:10px;background:#fff}
.multiplier-panel-title{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:8px}
.multiplier-panel-title span{color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.05em}
.multiplier-panel-title strong{font-size:13px;color:var(--ink)}
.multiplier-system-grid{display:grid;grid-template-columns:1fr;gap:7px}
.multiplier-system-card{display:grid;grid-template-columns:auto 1fr;gap:3px 8px;align-items:center;padding:9px 10px;border:1px solid #d7e0ee;border-radius:8px;background:#fff;color:inherit;text-align:left;font:inherit;cursor:pointer}
.multiplier-system-card:hover,.multiplier-system-card:focus-visible{border-color:#2563eb;box-shadow:0 3px 12px rgba(37,99,235,.12);outline:none}
.multiplier-system-card.selected{border-color:#1d9a70;background:#eef8f3}
.multiplier-system-card .primary-index{grid-row:span 2;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#dbe7f7;color:#24578c;font-size:10px;font-weight:700}
.multiplier-system-card.selected .primary-index{background:#1d9a70;color:#fff}
.multiplier-system-card strong{font-size:12px;overflow-wrap:anywhere}
.multiplier-system-card small{color:var(--muted);font-size:10px;line-height:1.35}
.multiplier-secondary-empty{display:grid;place-items:center;min-height:180px;padding:12px;color:var(--muted);font-size:11px;line-height:1.5;text-align:center}
.multiplier-secondary-panel .multiplier-model-grid{grid-template-columns:1fr;max-height:520px;overflow:auto;padding-right:2px}
.multiplier-system-model-card{display:grid;grid-template-columns:auto 1fr;gap:3px 8px;align-items:center;width:100%;padding:9px 10px;border:1px solid #d7e0ee;border-radius:8px;background:#fff;color:inherit;text-align:left;font:inherit;cursor:pointer}
.multiplier-system-model-card:hover,.multiplier-system-model-card:focus-visible{border-color:#2563eb;box-shadow:0 3px 12px rgba(37,99,235,.12);outline:none}
.multiplier-system-model-card.selected{border-color:#1d9a70;background:#eef8f3}
.multiplier-system-model-card .secondary-index{grid-row:span 3;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#dbe7f7;color:#24578c;font-size:10px;font-weight:700}
.multiplier-system-model-card.selected .secondary-index{background:#1d9a70;color:#fff}
.multiplier-system-model-card strong{font-size:12px;line-height:1.35;overflow-wrap:anywhere}
.multiplier-system-model-card small{color:var(--muted);font-size:10px;line-height:1.35;overflow-wrap:anywhere}
.multiplier-system-model-card em{color:#536078;font-size:10px;font-style:normal;line-height:1.35}
.multiplier-level-split.has-tertiary{grid-template-columns:minmax(200px,.75fr) minmax(260px,1fr) minmax(240px,.9fr)}
.multiplier-tertiary-panel{min-width:0;padding:10px;border:1px solid #b9cce7;border-radius:10px;background:#f8fbff}
.multiplier-tertiary-panel[hidden]{display:none!important}
.multiplier-rule-grid{display:grid;grid-template-columns:1fr;gap:7px;max-height:520px;overflow:auto;padding-right:2px}
.multiplier-rule-card{display:grid;gap:4px;width:100%;padding:9px 10px;border:1px solid #d7e0ee;border-radius:8px;background:#fff;color:inherit;text-align:left;font:inherit;cursor:pointer}
.multiplier-rule-card:hover,.multiplier-rule-card:focus-visible{border-color:#2563eb;box-shadow:0 3px 12px rgba(37,99,235,.12);outline:none}
.multiplier-rule-card.selected{border-color:#1d9a70;background:#eef8f3}
.multiplier-rule-card.recommended:not(.selected){border-color:#9bb8ef;background:#f6f9ff}
.multiplier-rule-card strong{font-size:12px}
.multiplier-rule-card small,.multiplier-rule-card em{color:#536078;font-size:10px;line-height:1.35;font-style:normal}
.multiplier-rule-card em{color:#2464a5}
.multiplier-level-split.has-tertiary+#multiplierChildEntries #multiplierLevel2,.multiplier-level-split.has-tertiary+#multiplierChildEntries #multiplierSecondaryNotice{display:none!important}
#multiplierLevel2.multiplier-tertiary-bar{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:10px;margin:0 0 10px;padding:10px 12px}
#multiplierLevel2.multiplier-tertiary-bar label{display:grid;gap:4px;margin:0;color:var(--muted);font-size:11px}
#multiplierLevel2.multiplier-tertiary-bar label span{font-weight:700;color:#536078}
#multiplierLevel2.multiplier-tertiary-bar select{min-width:0;width:100%;padding:7px 8px;border:1px solid #ccd4e1;border-radius:7px;color:var(--ink);background:#fff;font:inherit}
#multiplierLevel2.multiplier-tertiary-bar .multiplier-next{grid-column:1/-1;justify-self:end;margin-top:0}
@media(max-width:1050px){.multiplier-level-split,.multiplier-level-split.has-tertiary{grid-template-columns:1fr}}
@media(max-width:650px){.multiplier-secondary-panel .multiplier-model-grid,.multiplier-rule-grid{max-height:none}#multiplierLevel2.multiplier-tertiary-bar{grid-template-columns:1fr}#multiplierLevel2.multiplier-tertiary-bar .multiplier-next{grid-column:1;justify-self:stretch}.multiplier-system-model-card{padding:8px 9px}}

/* 主页面铺平：隐藏重复的概览卡片和右侧运行栏，主内容占满宽度 */
.kpis,.side-column{display:none!important}
.content-grid{grid-template-columns:minmax(0,1fr);gap:0}
.main-column{width:100%}

/* 账本详情比例优化：减少横向空白，给日期/金额/结果保留可读宽度 */
.multiplier-child-entries:not([hidden]){
  max-width:1120px;
  margin-left:auto;
  margin-right:auto;
}
.multiplier-ledger-summary,
.multiplier-order-detail{
  padding:14px;
}
.multiplier-ledger-grid,
.selected-detail-grid{
  grid-template-columns:repeat(3,minmax(180px,1fr));
  gap:9px;
}
.multiplier-ledger-grid>div,
.selected-detail-grid>div{
  min-width:0;
  min-height:52px;
  padding:9px 10px;
}
.multiplier-ledger-grid b,
.selected-detail-grid b{font-size:13px;line-height:1.3}
.multiplier-ledger-grid span,
.selected-detail-grid span{font-size:10px;line-height:1.3}
.multiplier-order-table table{
  min-width:0;
  width:100%;
  table-layout:fixed;
  font-size:11px;
}
.multiplier-order-table th,
.multiplier-order-table td{
  padding:8px 8px;
  white-space:normal;
  vertical-align:top;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.multiplier-order-table th:nth-child(1),.multiplier-order-table td:nth-child(1){width:13%}
.multiplier-order-table th:nth-child(2),.multiplier-order-table td:nth-child(2){width:9%}
.multiplier-order-table th:nth-child(3),.multiplier-order-table td:nth-child(3){width:10%}
.multiplier-order-table th:nth-child(4),.multiplier-order-table td:nth-child(4){width:8%}
.multiplier-order-table th:nth-child(5),.multiplier-order-table td:nth-child(5){width:10%}
.multiplier-order-table th:nth-child(6),.multiplier-order-table td:nth-child(6){width:20%}
.multiplier-order-table th:nth-child(7),.multiplier-order-table td:nth-child(7){width:12%}
.multiplier-order-table th:nth-child(8),.multiplier-order-table td:nth-child(8){width:8%}
.multiplier-order-table th:nth-child(9),.multiplier-order-table td:nth-child(9){width:10%}
.multiplier-order-table td:nth-child(6){color:#344762}
@media(max-width:900px){
  .multiplier-ledger-grid,.selected-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .multiplier-order-table table{min-width:760px;table-layout:auto}
  .multiplier-order-table th,.multiplier-order-table td{white-space:nowrap}
}
@media(max-width:650px){
  .multiplier-ledger-summary,.multiplier-order-detail{padding:10px}
  .multiplier-ledger-grid,.selected-detail-grid{grid-template-columns:1fr 1fr;gap:7px}
  .multiplier-ledger-grid>div,.selected-detail-grid>div{padding:8px}
}

/* 纸面候选视图：隐藏订单字段，只保留模型和候选号码 */
.paper-candidate-detail{margin-top:11px;padding:14px;border:2px solid #bfd0e8;border-radius:10px;background:#f8faff}
.paper-candidate-detail .multiplier-detail-head{margin-bottom:9px}
.paper-candidate-only{display:grid;grid-template-columns:110px minmax(0,1fr);gap:5px 10px;padding:12px;border:1px solid #d5e0ef;border-radius:8px;background:#fff}
.paper-candidate-only span{color:#536078;font-size:10px;line-height:1.4}
.paper-candidate-only b{font-size:13px;line-height:1.4}
.paper-candidate-only small{grid-column:2;color:#748198;font-size:10px;overflow-wrap:anywhere}
.paper-candidate-only strong{font-size:13px;line-height:1.65;letter-spacing:.02em;overflow-wrap:anywhere}
@media(max-width:650px){.paper-candidate-detail{padding:10px}.paper-candidate-only{grid-template-columns:1fr;gap:3px 0}.paper-candidate-only small{grid-column:1}.paper-candidate-only strong{font-size:12px}}
.recent-hit-info{margin-top:10px;padding:10px 12px;border:1px solid #d5e0ef;border-radius:8px;background:#fff}
.recent-hit-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:7px}
.recent-hit-head strong{font-size:12px;color:#1f365a}
.recent-hit-head small{color:#748198;font-size:10px}
.recent-hit-list{display:grid;gap:5px}
.recent-hit-row{display:grid;grid-template-columns:88px 70px minmax(180px,1fr) minmax(140px,1fr) 160px;gap:7px;align-items:center;padding:6px 7px;border-bottom:1px solid #edf1f6;font-size:11px}
.recent-hit-row:last-child{border-bottom:0}
.recent-hit-row b{font-size:11px}
.recent-hit-row small{color:#66758c;overflow-wrap:anywhere}
.recent-hit-pnl{font-style:normal;font-size:10px;white-space:nowrap}
.pnl-pending{color:#8a6a13!important}
@media(max-width:650px){.recent-hit-row{grid-template-columns:1fr 1fr;gap:4px 7px}.recent-hit-row small,.recent-hit-row .recent-hit-pnl{grid-column:1/-1}}
#initializationNotice[hidden]{display:none!important}
.initialization-pending #snapshotPushPanel,.initialization-pending .kpis,.initialization-pending .content-grid{display:none!important}

/* Daily exploratory channel uses existing panels and compact ledger navigation. */
.research-channel-head,.research-snapshot .snapshot-system-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.research-auto-score{display:grid;gap:8px;margin-top:14px;padding:12px;border:1px solid #d5e0ef;border-radius:9px;background:#f8faff}
.research-candidates{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}
.research-candidates span{display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:32px;border-radius:8px;background:#edf4ff;border:1px solid #cbdcf7;color:#193f76;font-weight:700;font-variant-numeric:tabular-nums}
.research-amounts,.research-order-money{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;font-size:12px}
.research-amounts>span,.research-order-money>span{padding:9px;background:#f5f8fd;border-radius:7px}
.research-amounts small,.research-order-money b{display:block;margin-top:4px}
.research-history-group{padding:14px;border:1px solid #cbdcf7;border-radius:10px;margin-bottom:14px}
.research-history{margin-top:10px;padding:9px;background:#f5f8fd;border-radius:7px;font-size:13px}
.research-history summary{cursor:pointer;font-weight:650}
.research-history p{line-height:1.9;overflow-wrap:anywhere}
@media(max-width:700px){.research-amounts,.research-order-money{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Hong Kong uses Macau's snapshot layout and navigation with its own palette. */
#hkPushView{min-width:0;padding:18px;border:2px solid #25805b;border-radius:12px;background:#fff;box-shadow:0 8px 26px rgba(37,128,91,.10)}
#hkPushView .snapshot-subnav{background:#f2f8f4;border-color:#cce3d5}
#hkWorkspacePanel a.hk-tab,#hkPushView a.snapshot-tab{display:inline-flex;align-items:center;text-decoration:none}
#hkPushView .snapshot-tab.active{background:#176647;box-shadow:0 3px 10px rgba(23,102,71,.2)}
#hkPushView .snapshot-current{background:#edf8f1;border-left-color:#25805b}
#hkPushView .snapshot-system{background:#fbfefc;border-color:#d3e6da}
#hkPushView .history-content{background:#fbfefc}
#hkPushView .history-snapshot[open]>summary{color:#176647;background:#edf8f1}
#hkPushView .history-model-name span{color:#176647;background:#e7f5eb}
#hkPushView .hit-subtab.active{border-color:#176647;background:#176647}
#hkPushView .winner-only-notice{border-left-color:#25805b;background:#edf8f1}
#hkPushView .overview-model-button:hover,#hkPushView .overview-model-button.active{border-color:#176647;background:#176647}
#hkPushView .model-calendar{border-color:#a9d5ba;background:#f8fcf9}
#hkPushView .history-content{min-width:0}
#hkPushView .overview-kpis button{padding:12px;border:1px solid #d9e2ef;border-radius:9px;background:#f7f9fc;text-align:left;cursor:pointer}
#hkPushView .overview-kpis button.hit{background:#e9f9f1;border-color:#89cfb2}
#hkPushView .overview-kpis button.miss{background:#fff0ee;border-color:#e9aaa5}
#hkPushView .overview-kpis button.pending{background:#fff8db;border-color:#e8c96f}
#hkPushView .overview-kpis button span{display:block;color:var(--muted);font-size:12px}
#hkPushView .overview-kpis button b{display:block;margin-top:4px;color:#172033;font-size:24px}
#hkPushView .overview-kpis button small{color:var(--muted)}
#hkPushView .history-proof-list span{overflow-wrap:anywhere}
#hkPushView .snapshot-model b small{display:block;font-size:11px;font-weight:400;color:#637a6d;overflow-wrap:anywhere}
#hkPushView .live-draw-card{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;border-color:#cce3d5;background:#f8fcf9}
#hkPushView .live-draw-card span{font-weight:700;letter-spacing:.02em}
@media(max-width:650px){#hkPushView{padding:12px}#hkPushView .snapshot-subnav{overflow-x:auto;flex-wrap:nowrap}#hkPushView .snapshot-tab{flex:none}#hkPushView .history-snapshot summary{grid-template-columns:1fr 1fr}#hkPushView .history-snapshot summary small{grid-column:1/-1}#hkPushView .snapshot-model{grid-template-columns:1fr;gap:2px}#hkPushView .live-draw-card{display:grid}}

/* The independent channel follows the primary channel's page hierarchy and spacing. */
#hkWorkspacePanel.hk-workspace{display:flex;flex-direction:column;margin:0 0 20px;padding:0;border:0;background:transparent;box-shadow:none}
#hkWorkspacePanel.hk-workspace[hidden]{display:none!important}
#hkWorkspacePanel #hkPushView{order:-1;margin:0 0 20px}
#hkWorkspacePanel>.hk-workspace-head,#hkWorkspacePanel>.hk-workspace-notice,#hkWorkspacePanel>.hk-workspace-grid,#hkWorkspacePanel>.hk-source-card,#hkWorkspacePanel>.hk-tabs,#hkWorkspacePanel>.hk-view:not(#hkPushView){order:0}
#hkPushView.hk-view.snapshot-push-panel{padding:18px;border:2px solid #21835c;border-radius:12px;background:#fff;box-shadow:0 8px 26px rgba(23,102,71,.1)}
#hkPaperView{padding:18px;background:#fff}
.hk-paper-entry-tabs{border-color:#cfe6d8;background:#f1f8f4}
.hk-paper-entry-tabs .paper-entry-tab.active{background:#176647;box-shadow:0 3px 10px rgba(23,102,71,.18)}
.hk-paper-entry-tabs .paper-entry-tab.active small{color:#dcefe3}
#hkPaperModelsPanel[hidden],#hkPaperLedgersPanel[hidden],.hk-paper-cohort[hidden],#hkPaperLedger[hidden]{display:none!important}
#hkPaperModelsPanel .hk-paper-layout{margin-top:0}
#hkPaperModelsPanel .hk-paper-layout.has-tertiary{grid-template-columns:minmax(160px,.7fr) minmax(210px,1fr) minmax(260px,1.2fr)}
#hkPaperModelsPanel .hk-paper-cohort{min-width:0;margin:0;background:#f8fcf9}
#hkPaperModelsPanel .hk-paper-cohort-head{align-items:flex-start;flex-direction:column}
#hkPaperModelsPanel .hk-multiplier-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#hkPaperView .hk-bankroll-tabs{border-color:#cfe6d8;background:#eef8f2}
#hkPaperView .hk-bankroll-tab.active{background:#176647}
#hkPaperView .hk-paper-ledger{border-color:#b8d8c4;background:#f8fcf9}
#hkPaperView .hk-paper-totals article{border-color:#d7e8dd;background:#f5faf6}
#hkPaperView .hk-multiplier-ledger{border-color:#d7e8dd;background:#f8fcf9}
#hkPaperView .paper-candidate-only,#hkPaperView .recent-hit-info{border-color:#d7e8dd}
#hkPaperView .research-order-money{margin-top:9px}
#hkPaperLedgersPanel .macau-multiplier-overview-card{border-color:#cce5d5;background:#fff}
#hkPaperLedgersPanel .macau-multiplier-overview-card:hover,#hkPaperLedgersPanel .macau-multiplier-overview-card:focus-visible{border-color:#21835c;box-shadow:0 3px 12px rgba(23,102,71,.12)}
#hkPaperLedgersPanel .macau-multiplier-overview-action{color:#176647}
#hkPaperLedgersPanel .macau-multiplier-detail-nav{color:#3a6850}
#hkPaperLedgersPanel .hk-paper-summary-ledger{border-color:#cce5d5}
.hk-paper-disclosure{margin:10px 0 0;border:1px solid #d7e5dc;border-radius:9px;background:#fff}
.hk-paper-disclosure>summary{padding:11px 13px;color:#285d43;font-size:12px;font-weight:700;cursor:pointer}
.hk-paper-disclosure>.hk-paper-summary-ledger{margin:0;border:0;border-top:1px solid #d7e5dc;border-radius:0}
@media(max-width:1050px){#hkPaperModelsPanel .hk-paper-layout.has-tertiary{grid-template-columns:1fr}}
@media(max-width:650px){#hkPushView.hk-view.snapshot-push-panel,#hkPaperView{padding:12px}#hkPaperModelsPanel .hk-paper-layout.has-tertiary{grid-template-columns:1fr}}
