*{box-sizing:border-box}html,body{margin:0;background:#fff;color:#111;font-family:Arial,"Microsoft YaHei",sans-serif;font-size:12px}a{color:inherit;text-decoration:none}.wrap{width:615px;max-width:calc(100% - 8px);margin:0 auto}.site-logo{height:63px;display:grid;place-items:center;text-align:center}.site-logo a{display:grid;line-height:1}.site-logo strong{color:#2389df;font-family:STKaiti,"KaiTi",serif;font-size:27px;font-weight:900;letter-spacing:1px;text-shadow:1px 1px 0 #fff,2px 2px 0 #a7a7a7,3px 3px 3px rgba(0,0,0,.22)}.site-logo span{margin-top:5px;color:#8b8b8b;font-size:17px;font-weight:700;letter-spacing:.3px;text-shadow:1px 1px 1px #ccc}.game-nav{display:grid;grid-template-columns:repeat(2,1fr);margin-bottom:9px}.game-nav a,.method-nav a,.plan-nav a{height:32px;display:grid;place-items:center;border:1px solid #d8d8d8;background:#fff;text-align:center}.game-nav a{height:32px}.game-nav a.active,.method-nav a.active,.plan-nav a.active{color:#fff;border-color:#3385f5;background:#3385f5}.method-nav{display:grid;grid-template-columns:repeat(4,1fr);margin-bottom:9px}.plan-nav{display:grid;grid-template-columns:repeat(4,1fr);margin-bottom:8px}.method-nav a,.plan-nav a{height:32px;margin:-1px 0 0 -1px}.ad-row{height:66px;display:flex;align-items:center;justify-content:space-around;margin:8px 0;padding:5px 10px;overflow:hidden;color:#fff;font-weight:900;text-align:center;text-shadow:1px 1px 0 rgba(0,0,0,.35)}.ad-primary{border:1px solid #15155f;background:linear-gradient(105deg,#5420a0,#14196d 46%,#662006 72%,#25155d)}.ad-primary strong{font-size:25px;color:#fff235}.ad-primary span{padding:6px 10px;border-radius:18px;background:#111b5e;color:#fff;font-size:14px}.ad-primary b{font-size:18px;color:#fff35e}.ad-secondary{height:67px;color:#0756be;background:linear-gradient(90deg,#fff 0 20%,#fff1ff 20% 44%,#e3f8ff 44% 100%);text-shadow:none}.ad-secondary strong{color:#0756d6;font-size:20px}.ad-secondary span{color:#f01668;font-size:24px}.ad-secondary b{color:#1292dc;font-size:17px}.data-card{margin-top:7px}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;table-layout:fixed;font-variant-numeric:tabular-nums}th,td{height:27px;padding:3px 4px;border-top:1px solid #d8d8d8;border-bottom:1px solid #d8d8d8;text-align:center;white-space:nowrap}th{height:26px;color:red;background:#eee;font-weight:700}th:nth-child(1){width:21%}th:nth-child(2){width:19%}th:nth-child(3){width:33%}th:nth-child(4){width:18%}th:nth-child(5){width:9%}tbody tr:nth-child(even){background:#f6f6f6}tbody tr.pending{background:#f2f5f8}.pending a{font-weight:400}.draw{font-size:12px}.prediction-group{display:inline-flex;gap:3px}.prediction-group b{min-width:18px;height:15px;display:inline-grid;place-items:center;padding:0 3px;border-radius:2px;color:#fff;background:#0197db;font-size:10px;line-height:15px}.prediction-group b:nth-child(even){background:#f13b4a}.data-card td>em{width:18px;height:15px;display:inline-grid;place-items:center;border-radius:2px;color:#fff;font-style:normal;font-size:10px;font-weight:700}.data-card em.right{background:#f13b4a}.data-card em.wrong{background:#0197db}.data-card em.wait{color:#0047a0;background:transparent;font-size:12px}.pagination{display:flex;justify-content:center;gap:4px;padding:12px}.pagination a{min-width:24px;height:23px;display:grid;place-items:center;border:1px solid #d7d7d7}.pagination a.active{color:#fff;background:#3385f5}.recommend-links{margin-top:18px;border:1px solid #d6d6d6;text-align:center}.recommend-links strong,.recommend-links a{height:33px;display:grid;place-items:center;border-bottom:1px solid #d6d6d6}.recommend-links strong{height:30px;color:#fff;background:#3385f5}.recommend-links a:last-child{border-bottom:0}.recommend-links a:hover{color:#1675d1;background:#f6f9ff}.recommend-links i{display:inline;margin-left:3px;padding:1px 3px;border-radius:5px;color:#fff;background:#ff7421;font-size:7px;font-style:normal}.site-note{margin-top:24px;padding:13px 0 0;border-top:1px solid #ddd;font-size:11px;line-height:1.65}.site-note p{margin:5px 0}.site-note p:last-child{text-align:center}body>footer{padding:4px 8px 20px;text-align:center;font-size:11px;line-height:2}body>footer a{color:#1746be;font-weight:700}
@media(max-width:630px){.wrap{max-width:calc(100% - 8px)}.site-logo{height:63px}.ad-row{height:66px;padding:4px}.ad-primary strong{font-size:clamp(18px,5vw,25px)}.ad-primary span{font-size:clamp(10px,2.6vw,14px)}.ad-primary b{font-size:clamp(13px,3.5vw,18px)}.ad-secondary strong{font-size:clamp(14px,4vw,20px)}.ad-secondary span{font-size:clamp(18px,5vw,24px)}.ad-secondary b{font-size:clamp(12px,3.2vw,17px)}table{min-width:600px}.table-scroll{overflow-x:auto}.site-note{padding-left:4px;padding-right:4px}}

/* Keep banner copy on one line at the reference width. */
.ad-row>*{min-width:0;overflow:hidden;white-space:nowrap}
.ad-primary strong{width:39%;font-size:21px}.ad-primary span{width:29%;padding-left:7px;padding-right:7px;font-size:12px}.ad-primary b{width:30%;font-size:15px}
.ad-secondary strong{width:19%;font-size:18px}.ad-secondary span{width:49%;font-size:21px}.ad-secondary b{width:31%;font-size:14px}
@media(max-width:630px){.ad-primary strong{font-size:clamp(15px,3.6vw,21px)}.ad-primary span{font-size:clamp(9px,2.1vw,12px)}.ad-primary b{font-size:clamp(11px,2.7vw,15px)}.ad-secondary strong{font-size:clamp(13px,3.1vw,18px)}.ad-secondary span{font-size:clamp(15px,3.7vw,21px)}.ad-secondary b{font-size:clamp(10px,2.5vw,14px)}}

/* Readability pass: retain the reference layout while using a larger desktop scale. */
html,body{font-size:14px;background:#f7f7f7}
.wrap{width:720px;max-width:calc(100% - 16px);background:#fff}
.site-logo{height:78px;border-top:1px solid #e7e7e7}
.site-logo strong{font-size:32px}
.site-logo span{margin-top:6px;font-size:18px}
.game-nav a,.method-nav a,.plan-nav a{height:39px;font-size:14px;transition:background-color .15s,color .15s}
.game-nav a:hover,.method-nav a:hover,.plan-nav a:hover{color:#fff;background:#4a91f1}
.method-nav,.plan-nav{margin-bottom:11px}
.ad-row{height:74px;margin:10px 0}
.ad-primary strong{font-size:24px}.ad-primary span{font-size:13px}.ad-primary b{font-size:17px}
.ad-secondary strong{font-size:20px}.ad-secondary span{font-size:23px}.ad-secondary b{font-size:16px}
.data-card{margin-top:10px;border-left:1px solid #ddd;border-right:1px solid #ddd}
th,td{height:34px;padding:5px 7px;font-size:13px}
th{height:33px;font-size:14px}
.prediction-group b{min-width:22px;height:19px;padding:0 4px;font-size:12px;line-height:19px}
.data-card td>em{width:22px;height:19px;font-size:12px}
.pagination a{min-width:31px;height:29px;font-size:13px}
.recommend-links{margin-top:22px;font-size:14px}
.recommend-links strong{height:36px;font-size:14px}
.recommend-links a{height:39px}
.site-note{font-size:13px;line-height:1.8}
body>footer{font-size:13px}
@media(max-width:630px){html,body{font-size:13px}.wrap{max-width:calc(100% - 8px)}.site-logo{height:72px}.site-logo strong{font-size:29px}.game-nav a,.method-nav a,.plan-nav a{height:37px;font-size:13px}.ad-row{height:70px}.ad-primary strong{font-size:clamp(16px,3.8vw,22px)}.ad-secondary span{font-size:clamp(16px,4vw,22px)}table{min-width:0}th,td{height:32px;padding:4px 3px;font-size:12px}.draw{font-size:12px}.site-note{font-size:12px}}

/* Four-game top navigation and compact footer links. */
.plan-nav{margin-bottom:8px}
.data-card{margin-top:0}
.game-nav{grid-template-columns:repeat(4,1fr);margin-top:10px;margin-bottom:12px}
.game-nav a{border-left:0}
.game-nav a:first-child{border-left:1px solid #d8d8d8}
.text-links{display:flex;align-items:center;justify-content:center;gap:0;margin-top:22px;padding:12px 0;border-top:1px solid #ddd;border-bottom:1px solid #ddd;font-size:13px}
.text-links a{padding:0 14px;border-right:1px solid #cfcfcf;color:#245fa5;line-height:1}
.text-links a:last-child{border-right:0}
.text-links a:hover{text-decoration:underline}
.site-note{margin-top:0;border-top:0}
@media(max-width:630px){.game-nav{margin-top:6px}.game-nav a{font-size:13px}.text-links{display:grid;grid-template-columns:repeat(2,1fr);row-gap:12px}.text-links a{text-align:center}.text-links a:nth-child(2){border-right:0}}

.content-page{margin-top:10px;border:1px solid #ddd;background:#fff}
.content-page>h1{margin:0;padding:12px 16px;color:#fff;background:#3385f5;font-size:17px;text-align:center}
.history-table th,.trend-table th{width:auto}
.trend-chart{height:190px;padding:10px 12px;border-bottom:1px solid #ddd;background:linear-gradient(#fff,#f7faff)}
.trend-chart svg{width:100%;height:100%}
.trend-chart line{stroke:#d7e0ec;stroke-width:1}
.trend-chart polyline{fill:none;stroke:#3385f5;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.trend-matrix{width:100%;table-layout:fixed}
.trend-matrix th,.trend-matrix td{height:39px;padding:5px 3px;text-align:center}
.trend-matrix th{color:#172033;background:#f7f8fa;font-weight:700}
.trend-matrix th:first-child{width:82px}.trend-matrix th:nth-child(2){width:48px}
.trend-matrix tbody tr:nth-child(even){background:#f7f7f7}.trend-matrix tbody tr:hover{background:#eef6ff}
.trend-matrix .trend-gap-row,.trend-matrix .trend-gap-row:hover{color:#8a929e;background:#f2f2f2}
.trend-badge{display:inline-flex;min-width:31px;height:25px;padding:0 5px;align-items:center;justify-content:center;border-radius:3px;color:#fff;font-size:13px;line-height:25px}
.trend-badge.trend-round{min-width:25px;width:25px;padding:0;border-radius:50%}
.trend-red{background:#ef101e}.trend-blue{background:#287edf}
.intro-page{padding-bottom:18px}
.intro-page h2{margin:18px 20px 6px;color:#246bb9;font-size:16px}
.intro-page p{margin:0 20px;color:#444;font-size:14px;line-height:1.9}
@media(max-width:630px){.content-page{margin-top:6px}.trend-chart{height:165px}.intro-page h2{margin-left:14px;margin-right:14px}.intro-page p{margin-left:14px;margin-right:14px}}

/* Refined layout */
html,body{min-height:100%;background:#f3f6fa;color:#172033;font-family:"Microsoft YaHei",Arial,sans-serif}
body{padding:18px 0 0}
.wrap{width:760px;max-width:calc(100% - 24px);padding:12px 12px 0;border:1px solid #dfe5ee;border-radius:10px;background:#fff;box-shadow:0 8px 28px rgba(30,55,90,.08)}
.game-nav{margin:0 0 14px;gap:8px}
.game-nav a{height:44px;border:1px solid #dbe3ee!important;border-radius:7px;background:#f6f8fb;color:#344054;font-size:15px;font-weight:700}
.game-nav a.active{border-color:#2f80ed!important;background:linear-gradient(135deg,#3d8df5,#2875df);color:#fff;box-shadow:0 4px 10px rgba(47,128,237,.23)}
.method-nav,.plan-nav{gap:6px;margin-bottom:10px}
.method-nav a,.plan-nav a{height:38px;margin:0;border:1px solid #dfe4eb;border-radius:5px;background:#fff;color:#303b4e;font-size:13px}
.method-nav a.active,.plan-nav a.active{border-color:#2f80ed;background:#2f80ed;color:#fff;font-weight:700;box-shadow:0 2px 7px rgba(47,128,237,.2)}
.method-nav a:hover,.plan-nav a:hover{border-color:#75aef6;background:#edf5ff;color:#1c67c7}
.method-nav a.active:hover,.plan-nav a.active:hover{background:#2f80ed;color:#fff}
.data-card{overflow:hidden;margin:4px 0 0;border:1px solid #dfe5ed!important;border-radius:7px}
table{background:#fff}
th,td{height:36px;border-color:#e3e7ed;font-size:13px}
th{height:38px;background:#f2f5f9;color:#e2333f;font-size:13px}
tbody tr:nth-child(even){background:#f8fafc}
tbody tr:hover{background:#eef6ff}
tbody tr.pending{background:#f0f6fd}
.prediction-group b,.data-card td>em{border-radius:4px}
.pagination{gap:6px;padding:14px 10px}
.pagination a{min-width:32px;height:30px;border-color:#d9e0e9;border-radius:5px;background:#fff}
.pagination a:hover{border-color:#2f80ed;color:#2f80ed}
.pagination a.active{border-color:#2f80ed;background:#2f80ed;color:#fff}
.text-links{margin-top:18px;padding:14px 4px;border-color:#e1e6ed;background:#fafbfd;font-size:13px}
.text-links a{color:#2467b2}
.site-note{padding:12px 6px 8px;color:#596579;font-size:12px;line-height:1.75}
.content-page{overflow:hidden;margin-top:4px;border-color:#dfe5ed;border-radius:7px}
.content-page>h1{background:linear-gradient(135deg,#3d8df5,#2875df);font-size:17px}
body>footer{padding:14px 8px 24px;color:#697386}
body>footer a{color:#2467b2}
@media(max-width:630px){body{padding-top:6px}.wrap{max-width:calc(100% - 10px);padding:6px 6px 0;border-radius:7px}.game-nav{gap:4px;margin-bottom:8px}.game-nav a{height:39px;font-size:13px}.method-nav,.plan-nav{gap:3px;margin-bottom:6px}.method-nav a,.plan-nav a{height:35px;font-size:12px}.data-card{margin-top:2px}.text-links{margin-top:12px}}

/* 预测列表沿用智能预测页面的五列样式 */
.prediction-summary{display:flex;align-items:center;gap:7px;margin:8px 0 10px;padding:12px 14px;border:1px solid #e2eaf0;border-radius:7px;background:#fff;color:#687586}
.prediction-summary strong{color:#008fca}.prediction-summary em{margin-left:auto;color:#f05d68;font-style:normal;font-size:11px}
.prediction-table{border:1px solid #e5edf2;border-radius:7px;overflow:hidden}
.prediction-table th,.prediction-table td{height:48px;padding:7px 8px;border:0;border-bottom:1px solid #edf2f5;color:#263447;background:#fff}
.prediction-table th{height:40px;color:#687586;background:#f1f5f8;font-size:12px;font-weight:500}
.prediction-table tbody tr:nth-child(odd) td{background:#f4fbfd}.prediction-table tbody tr:hover td{background:#edf9fd}
.prediction-table tbody tr.pending td{background:#f1fbff}.prediction-table tbody tr.pending td:first-child{border-left:3px solid #08b7df}
.prediction-table th:nth-child(1),.prediction-table td:nth-child(1){width:18%}.prediction-table th:nth-child(2),.prediction-table td:nth-child(2){width:14%}.prediction-table th:nth-child(3),.prediction-table td:nth-child(3){width:18%}.prediction-table th:nth-child(4),.prediction-table td:nth-child(4){width:27%}.prediction-table th:nth-child(5),.prediction-table td:nth-child(5){width:13%}.prediction-table th:nth-child(6),.prediction-table td:nth-child(6){width:10%}
.prediction-table .prediction-group b{min-width:25px;height:24px;padding:0 8px;border-radius:13px;font-size:11px;line-height:24px}.prediction-table .draw{font-weight:700;color:#263447}.prediction-table .actual-result{color:#687586}.prediction-table .pending-text{font-weight:700;color:#263447}.prediction-table .wait{color:#7b8795;background:transparent;font-size:16px}
.prediction-table .prediction-plus{display:inline-flex;align-items:center;color:#7d8998;font-size:12px;font-style:normal;font-weight:700}
.prediction-table .period-time time{display:flex;flex-direction:column;color:#667386;font-style:normal;line-height:1.35}.prediction-table .period-time b{color:#344054;font-size:12px;font-weight:600}.opening-status{display:inline-block;padding:3px 10px;border-radius:12px;background:#eaf3ff;color:#2473cf;font-weight:700}.history-pending td{background:#f1f7ff!important;color:#6d7888}.history-pending td:first-child{border-left:3px solid #2f80ed;color:#245f9f}
.prediction-table .result-word{width:23px;height:20px;display:inline-block;color:transparent;font-size:0;line-height:0;overflow:hidden;background-repeat:no-repeat;background-position:center;background-size:23px 20px}
.prediction-table .result-word.hit{background-image:url("icons/result-hit.png")}.prediction-table .result-word.miss{background-image:url("icons/result-miss.png")}
@media(max-width:560px){.prediction-summary{padding:10px 8px}.prediction-summary em{max-width:52%;text-align:right}.prediction-table th,.prediction-table td{height:44px;padding:6px 2px;font-size:10px}.prediction-table .prediction-group{gap:2px}.prediction-table .prediction-group b{min-width:20px;height:21px;padding:0 4px;font-size:10px;line-height:21px}.prediction-table th:nth-child(1),.prediction-table td:nth-child(1){width:19%}.prediction-table th:nth-child(2),.prediction-table td:nth-child(2){width:14%}.prediction-table th:nth-child(3),.prediction-table td:nth-child(3){width:17%}.prediction-table th:nth-child(4),.prediction-table td:nth-child(4){width:27%}.prediction-table th:nth-child(5),.prediction-table td:nth-child(5){width:13%}.prediction-table th:nth-child(6),.prediction-table td:nth-child(6){width:10%}.prediction-table .period-time b{font-size:10px}}

/* 独立游戏说明与可见页面标题 */
.page-heading{padding:13px 16px 12px;border-bottom:1px solid #e3e9f0;background:linear-gradient(135deg,#f6faff,#fff)}
.page-heading h1{margin:0;color:#203049;font-size:18px;line-height:1.45}
.page-heading p,.page-lead{margin:5px 0 0;color:#657187;font-size:12px;line-height:1.75}
.page-lead{margin:0;padding:13px 18px;border-bottom:1px solid #e7ebf0;background:#fbfcfe}
.game-seo{margin-top:18px;padding:20px;border:1px solid #dfe6ef;border-radius:8px;background:#fbfcfe;color:#4d5b70}
.game-seo>h2{margin:0 0 9px;color:#243752;font-size:17px;line-height:1.5}
.game-seo>h2:not(:first-child){margin-top:21px}
.game-seo>p,.seo-facts p,.faq-list dd{margin:0;font-size:13px;line-height:1.9}
.seo-facts{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:14px}
.seo-facts article{padding:13px 14px;border:1px solid #e2e8f0;border-radius:7px;background:#fff}
.seo-facts h3{margin:0 0 6px;color:#2e6fb9;font-size:14px}
.faq-list{display:grid;gap:8px;margin:0}
.faq-list>div{padding:12px 14px;border-left:3px solid #3a86e8;border-radius:3px;background:#fff}
.faq-list dt{color:#263750;font-size:13px;font-weight:700}
.faq-list dd{margin-top:4px;color:#637086}
.friend-links{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}.friend-links a{color:#2467b2}.friend-links a:hover{text-decoration:underline}
@media(max-width:630px){.page-heading{padding:11px 10px}.page-heading h1{font-size:16px}.page-lead{padding:10px 12px}.game-seo{margin-top:12px;padding:15px 12px}.game-seo>h2{font-size:16px}.seo-facts{grid-template-columns:1fr}.game-seo>p,.seo-facts p,.faq-list dd{font-size:12px}}
.seo-readable{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}

/* 开奖、走势与玩法介绍页 */
.content-page{overflow:hidden;margin-top:4px;border:1px solid #e1e7ef;border-radius:9px;background:#fff;box-shadow:0 3px 14px rgba(36,64,98,.06)}
.content-page>h1{position:relative;margin:0;padding:16px 18px 12px 31px;border:0;border-bottom:1px solid #e8edf3;background:#fff;color:#203049;font-size:18px;font-weight:700;line-height:1.45;text-align:left}
.content-page>h1::before{position:absolute;top:18px;left:17px;width:4px;height:19px;border-radius:3px;background:#2f80ed;content:""}
.page-lead{margin:0;padding:11px 18px 14px;border:0;border-bottom:1px solid #edf1f5;background:#fff;color:#6b7688;font-size:12px;line-height:1.75}
.history-table th,.trend-table th{color:#344054;background:#f5f7fa;font-weight:700}
.history-table td,.trend-table td{border-color:#e9edf2}
.history-table tbody tr:nth-child(even),.trend-table tbody tr:nth-child(even){background:#f9fafc}
.history-table tbody tr:hover,.trend-table tbody tr:hover{background:#eef6ff}
.intro-page{padding-bottom:18px}
.intro-page>h2{margin:18px 18px 8px;padding:0 0 7px;border-bottom:1px solid #edf1f5;color:#275f9e;font-size:15px}
.intro-page>p:not(.page-lead){margin:0 18px;padding:0;color:#4f5d70;font-size:13px;line-height:1.9}
@media(max-width:630px){.content-page>h1{padding:13px 13px 10px 27px;font-size:16px}.content-page>h1::before{top:15px;left:13px;height:17px}.page-lead{padding:9px 13px 12px}.intro-page>h2{margin-left:13px;margin-right:13px}.intro-page>p:not(.page-lead){margin-left:13px;margin-right:13px}}
@media(max-width:630px){
  .trend-page .table-scroll{overflow-x:hidden}
  .trend-matrix{width:100%;min-width:0;table-layout:fixed}
  .trend-matrix th,.trend-matrix td{height:35px;padding:3px 0;font-size:10px;white-space:nowrap}
  .trend-matrix th:first-child{width:22%;font-size:10px}.trend-matrix th:nth-child(2){width:7%}
  .trend-matrix .trend-gap-row td{font-size:10px}
  .trend-badge{min-width:24px;height:22px;padding:0 2px;border-radius:3px;font-size:10px;line-height:22px}
  .trend-badge.trend-round{min-width:22px;width:22px;height:22px;line-height:22px}
}
@media(max-width:380px){.trend-matrix th,.trend-matrix td{font-size:9px}.trend-matrix th:first-child{width:23%;font-size:9px}.trend-matrix th:nth-child(2){width:6%}.trend-badge{min-width:22px;font-size:9px}.trend-badge.trend-round{min-width:20px;width:20px;height:20px;line-height:20px}}

/* 开奖页当前遗漏 */
.omission-panel{margin:4px 12px 14px;padding:14px;border:1px solid #dfe7f1;border-radius:8px;background:#f8fbff}
.omission-main-title{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px;padding:0 2px;color:#203049;font-size:16px}
.omission-main-title time{color:#7b8797;font-size:12px;font-weight:500}
.omission-block{overflow:hidden;margin-top:12px;border:1px solid #dce5f0;border-radius:7px;background:#fff}
.omission-block h3{margin:0;padding:9px 12px;border-bottom:1px solid #dce8f6;background:#edf5ff;color:#2468b5;font-size:14px;text-align:center}
.omission-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.omission-grid>div{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:8px;border-right:1px solid #e6ebf1}
.omission-grid>div:last-child{border-right:0}
.omission-grid strong{color:#2468b5;font-size:14px}
.omission-grid span,.omission-number-grid span{color:#667386;font-size:12px}
.omission-grid b,.omission-number-grid b{color:#29384d;font-weight:700;font-variant-numeric:tabular-nums}
.omission-number-grid{display:grid;grid-template-columns:repeat(4,1fr);padding:7px 5px}
.omission-number-grid>div{display:flex;align-items:center;gap:8px;min-height:41px;padding:5px 7px}
.omission-number-grid strong{display:inline-flex;flex:0 0 28px;width:28px;height:28px;align-items:center;justify-content:center;border-radius:50%;background:#2f80ed;color:#fff;font-size:12px;font-variant-numeric:tabular-nums;box-shadow:0 2px 5px rgba(47,128,237,.2)}
.omission-note{margin:10px 2px 0;color:#8792a2;font-size:11px;line-height:1.6}
@media(max-width:630px){.omission-panel{margin:4px 5px 10px;padding:10px 7px}.omission-main-title{font-size:15px}.omission-grid>div{gap:4px;min-height:42px;padding:6px 2px}.omission-grid strong{font-size:13px}.omission-grid span,.omission-number-grid span{font-size:11px}.omission-number-grid{padding:5px 1px}.omission-number-grid>div{gap:5px;padding:4px 3px}.omission-number-grid strong{flex-basis:25px;width:25px;height:25px;font-size:11px}}
@media(max-width:420px){.omission-number-grid{grid-template-columns:repeat(2,1fr)}.omission-grid>div{flex-direction:column;gap:2px}.omission-main-title{align-items:flex-start;gap:8px;flex-direction:column}}

/* 组合预测连体标签 */
.prediction-table .prediction-group.is-combo{gap:0;overflow:hidden;border-radius:13px;box-shadow:0 1px 3px rgba(39,99,162,.14)}
.prediction-table .prediction-group.is-combo b{border-radius:0}
.prediction-table .prediction-group.is-combo b:nth-of-type(even){background:#f13b4a}
.prediction-table .prediction-group.is-combo b:first-of-type{border-radius:13px 0 0 13px}
.prediction-table .prediction-group.is-combo b:last-of-type{border-radius:0 13px 13px 0}
.prediction-table .prediction-group.is-combo .prediction-plus{height:24px;padding:0 2px;background:linear-gradient(90deg,#0197db 0 50%,#f13b4a 50% 100%);color:#fff;line-height:24px}
@media(max-width:560px){.prediction-table .prediction-group.is-combo{gap:0}.prediction-table .prediction-group.is-combo .prediction-plus{height:21px;line-height:21px}}

/* 组合标签保持双色分开，并缩短间距 */
.prediction-table .prediction-group.is-combo{gap:1px;overflow:visible;border-radius:0;box-shadow:none}
.prediction-table .prediction-group.is-combo b,.prediction-table .prediction-group.is-combo b:first-of-type,.prediction-table .prediction-group.is-combo b:last-of-type{border-radius:13px}
.prediction-table .prediction-group.is-combo .prediction-plus{height:auto;padding:0;background:transparent;color:#778395;line-height:1}
@media(max-width:560px){.prediction-table .prediction-group.is-combo{gap:1px}.prediction-table .prediction-group.is-combo .prediction-plus{height:auto;line-height:1}}

/* 预测表时间单行显示，并压缩右侧空白 */
.prediction-table th:nth-child(1),.prediction-table td:nth-child(1){width:18%}
.prediction-table th:nth-child(2),.prediction-table td:nth-child(2){width:18%}
.prediction-table th:nth-child(3),.prediction-table td:nth-child(3){width:18%}
.prediction-table th:nth-child(4),.prediction-table td:nth-child(4){width:29%}
.prediction-table th:nth-child(5),.prediction-table td:nth-child(5){width:11%}
.prediction-table th:nth-child(6),.prediction-table td:nth-child(6){width:6%}
.prediction-table .period-time time{display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:4px;white-space:nowrap}
.prediction-table .period-time b{font-size:inherit}
@media(max-width:560px){.prediction-table th:nth-child(1),.prediction-table td:nth-child(1){width:19%}.prediction-table th:nth-child(2),.prediction-table td:nth-child(2){width:18%}.prediction-table th:nth-child(3),.prediction-table td:nth-child(3){width:18%}.prediction-table th:nth-child(4),.prediction-table td:nth-child(4){width:29%}.prediction-table th:nth-child(5),.prediction-table td:nth-child(5){width:10%}.prediction-table th:nth-child(6),.prediction-table td:nth-child(6){width:6%}.prediction-table .period-time time{gap:2px}}

/* 当前分类近期回测最佳算法 */
.plan-nav a{position:relative}
.plan-hot{position:absolute;z-index:2;top:-5px;right:-3px;min-width:22px;padding:1px 4px;border:2px solid #fff;border-radius:8px;background:#f04452;color:#fff;font:700 7px/11px Arial,sans-serif;letter-spacing:.2px;box-shadow:0 2px 5px rgba(214,45,58,.28)}
.plan-nav a.active .plan-hot{border-color:#fff;background:#f04452;color:#fff}
.plan-nav a:not(.active) .plan-hot{animation:plan-hot-bounce .75s ease-in-out infinite alternate}
@keyframes plan-hot-bounce{from{transform:translateY(0)}to{transform:translateY(-4px)}}
@media(prefers-reduced-motion:reduce){.plan-nav a:not(.active) .plan-hot{animation:none}}
@media(max-width:560px){.plan-hot{top:-4px;right:-2px;min-width:20px;padding:0 3px;font-size:6px;line-height:10px}}

/* 开奖结果：简洁的标题切换与手机表格。 */
.floating-home{position:fixed;z-index:50;right:18px;bottom:calc(18px + env(safe-area-inset-bottom,0px));display:flex;width:52px;height:52px;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #d7e7f7;border-radius:16px;background:#fff;color:#2478d5;box-shadow:0 6px 20px rgba(35,91,153,.2);text-decoration:none;transition:transform .18s ease,background-color .18s ease,box-shadow .18s ease}
.floating-home svg{width:21px;height:21px;flex:none}
.floating-home span{font-size:10px;font-weight:700;line-height:1.15}
.floating-home:hover{background:#2f80ed;color:#fff;box-shadow:0 9px 22px rgba(35,91,153,.3);transform:translateY(-3px)}
.floating-home:focus-visible{outline:3px solid #125ab0;outline-offset:3px}
@media(max-width:560px){.floating-home{right:12px;bottom:calc(14px + env(safe-area-inset-bottom,0px));width:48px;height:48px;border-radius:15px}.floating-home svg{width:19px;height:19px}}
.history-toolbar{display:flex;align-items:stretch;justify-content:space-between;gap:6px;padding:0 12px;border-bottom:1px solid #e8edf3;background:#fff}
.history-toolbar h1{position:relative;display:flex;align-items:center;min-width:0;margin:0;padding:11px 0 11px 15px;color:#203049;font-size:17px;line-height:1.4;white-space:nowrap}
.history-toolbar h1::before{position:absolute;left:0;width:4px;height:19px;border-radius:3px;background:#2f80ed;content:""}
.history-view-tabs{display:flex;align-self:stretch;align-items:stretch;gap:2px;flex:none}
.history-view-tabs button{min-width:72px;padding:1px 7px 0;border:0;border-bottom:2px solid transparent;background:transparent;color:#718098;font:600 12px Arial,"Microsoft YaHei",sans-serif;cursor:pointer}
.history-view-tabs button:hover{color:#246ab8;background:#f6f9fd}
.history-view-tabs button.active{border-bottom-color:#2f80ed;background:transparent;color:#246ab8}
.history-view-tabs button:focus-visible{outline:2px solid #125ab0;outline-offset:2px}
.history-page .table-scroll{overflow-x:hidden}
.history-page .history-table{width:100%;min-width:0;table-layout:fixed}
.history-page .history-table th,.history-page .history-table td{height:42px;padding:6px 3px;overflow:hidden;text-overflow:clip;white-space:nowrap}
.history-page .history-table th:nth-child(1),.history-page .history-table td:nth-child(1){width:20%}
.history-page .history-table th:nth-child(2),.history-page .history-table td:nth-child(2){width:19%}
.history-page .history-table th:nth-child(3),.history-page .history-table td:nth-child(3){width:23%}
.history-page .history-table th:nth-child(4),.history-page .history-table td:nth-child(4){width:12%}
.history-page .history-table th:nth-child(5),.history-page .history-table td:nth-child(5){width:13%}
.history-page .history-table th:nth-child(6),.history-page .history-table td:nth-child(6){width:13%}
.history-time time{display:inline-flex;align-items:center;justify-content:center;gap:4px;color:#506078;font-variant-numeric:tabular-nums}
.history-badge{display:inline-grid;min-width:25px;height:24px;place-items:center;padding:0 7px;border-radius:13px;color:#fff;font-size:11px;font-weight:700;line-height:24px}
.history-badge.size{background:#0197db}.history-badge.parity{background:#f13b4a}
.history-page .omission-panel{margin:0;padding:12px;border:0;border-radius:0;background:#f8fbff}
.history-page .omission-panel[hidden],.history-page .following-panel[hidden],.history-page #history-records[hidden]{display:none}
.history-page .omission-grid>div{flex-direction:column;gap:6px;min-height:76px;padding:10px 3px}
.history-page .omission-grid .history-badge,.history-page .omission-grid .omission-combo .history-badge{color:#fff}
.history-page .omission-grid .history-badge.size{background:#0197db}
.history-page .omission-grid .history-badge.parity{background:#f13b4a}
.omission-combo{display:inline-flex;align-items:center;justify-content:center;gap:1px}
.omission-combo i{color:#8896a7;font-size:11px;font-style:normal;font-weight:700}
.history-page .omission-grid .omission-combo b.history-badge{min-width:23px;height:23px;padding:0 5px;line-height:23px}
.following-panel{padding:16px 18px 20px;background:#f8fbff}
.following-panel h2{margin:0 0 5px;color:#203049;font-size:16px}
.following-intro,.following-note{margin:0;color:#68788d;font-size:12px;line-height:1.7}
.following-picker{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin:14px 0;padding:12px;border:1px solid #e1eaf4;border-radius:8px;background:#fff}
.following-picker button{height:34px;border:1px solid #dce5f0;border-radius:6px;background:#f9fbfe;color:#355270;font:700 12px Arial,sans-serif;cursor:pointer}
.following-picker button:hover{border-color:#78aeed;color:#1767c7}.following-picker button.active{border-color:#2f80ed;background:#2f80ed;color:#fff;box-shadow:0 2px 6px rgba(47,128,237,.18)}
.following-picker button:focus-visible{outline:2px solid #125ab0;outline-offset:2px}
.following-result{padding:12px;border:1px solid #dfe8f3;border-radius:8px;background:#fff}
.following-result[hidden]{display:none}
.following-summary{margin:0 0 12px;color:#4c5e73;font-size:13px;line-height:1.6}.following-summary strong{color:#1767c7}
.following-rankings{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.following-rank{display:flex;align-items:center;gap:9px;min-width:0;padding:9px;border:1px solid #e7edf5;border-radius:7px;background:#fbfdff}
.following-number{display:grid;flex:none;width:30px;height:30px;place-items:center;border-radius:50%;background:#2f80ed;color:#fff;font-size:12px;font-weight:700}
.following-rank-detail{display:grid;grid-template-columns:1fr auto;gap:3px;width:100%;min-width:0;font-size:11px}.following-rank-detail strong{color:#263b54}.following-rank-detail small{color:#718198;font-size:10px}
.following-bar{grid-column:1/-1;height:4px;overflow:hidden;border-radius:3px;background:#e8f0fa}.following-bar i{display:block;height:100%;border-radius:3px;background:#2f80ed}
.following-empty{margin:8px 0;color:#708096;font-size:12px}.following-note{margin-top:11px}
@media(max-width:560px){
  .history-toolbar{flex-wrap:wrap;gap:0;padding:0 8px}
  .history-toolbar h1{width:100%;padding-top:10px;padding-bottom:3px;font-size:15px}
  .history-view-tabs{width:100%;height:32px;justify-content:flex-end}
  .history-view-tabs button{min-width:64px;padding:0 4px;font-size:11px}
  .history-page .history-table th,.history-page .history-table td{height:47px;padding:5px 2px;font-size:11px}
  .history-time time{line-height:1.2}
  .history-page .history-table td:first-child{font-size:10px}
  .history-page .history-table .draw{font-size:11px}
  .history-badge{min-width:21px;height:21px;padding:0 5px;font-size:10px;line-height:21px}
  .following-panel{padding:12px 9px 16px}.following-picker{gap:4px;padding:9px 6px}.following-picker button{height:31px}
  .following-rankings{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:380px){.history-toolbar h1{font-size:14px}.history-view-tabs button{min-width:59px;font-size:10px}.history-page .history-table th,.history-page .history-table td{font-size:10px}.history-page .history-table .draw{font-size:10px}}

/* 用户可见的 HOT 跳动：仅未选中算法播放 */
.plan-nav a:not(.active) .plan-hot{animation:plan-hot-jump .9s cubic-bezier(.35,0,.25,1) infinite!important;will-change:transform}
.plan-nav a.active .plan-hot{animation:none!important;transform:translateY(0)}
@keyframes plan-hot-jump{0%,100%{transform:translateY(0)}45%,55%{transform:translateY(-4px)}}
.prediction-table .period-time b{color:#667386;font-weight:400}
.prediction-table .pending-rate{display:inline-block;max-width:100%;color:#1767c7;font-size:10px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1.2;white-space:nowrap}
@media(max-width:560px){.prediction-table .pending-rate{font-size:9px;letter-spacing:-.3px}}

/* 秒级时间需要更宽的单行列 */
.prediction-table th:nth-child(2),.prediction-table td:nth-child(2){width:20%}
.prediction-table th:nth-child(4),.prediction-table td:nth-child(4){width:27%}
@media(max-width:560px){.prediction-table th:nth-child(2),.prediction-table td:nth-child(2){width:21%}.prediction-table th:nth-child(4),.prediction-table td:nth-child(4){width:26%}}
