/* 参考站实测：2026-10-04，桌面 1280px / 手机 390px。独立实现，未复制原站 CSS。 */
body.reference-ui{margin:0;background:#fff;color:#111;font-family:Arial,Helvetica,sans-serif;--radius:0;--line:#ddd;font-size:14px;--accent:#b82119;--soft:#f6f6f6}
.reference-ui *{box-sizing:border-box}.reference-ui a{color:inherit}.reference-ui a:hover{text-decoration:underline}.reference-ui .ref-wrap{margin:0 auto;max-width:none}.reference-ui .preview-strip{position:fixed;bottom:7px;right:7px;padding:5px 8px;z-index:99;min-height:30px;border-radius:4px;box-shadow:0 2px 12px #0004;opacity:.85}.reference-ui .sample-note{display:none}.reference-ui .preview-strip .sample-switch a{width:22px;height:20px}.reference-ui .preview-strip .back-gallery{font-size:10px}.reference-ui .status-area{margin:0 auto;max-width:1090px}.reference-ui .ref-menu{display:none}.reference-ui .ref-help{font-size:14px;margin-left:auto;white-space:nowrap}.ref-header{display:flex;align-items:center;position:relative}.ref-brand{display:flex;flex-direction:column;line-height:1;flex-shrink:0;position:relative}.ref-brand b{font-weight:900;font-size:27px;color:#ae281f;letter-spacing:-1px}.ref-brand small{font-size:13px;font-style:italic;color:#a72a24}.ref-brand em{font-size:10px;letter-spacing:0;color:#4a6a31;margin-top:3px;font-weight:600;font-style:normal}.ref-navigation{font-size:14px;background:#ba251a;color:white}.ref-navigation>.ref-wrap{display:flex;align-items:stretch;overflow:hidden}.ref-navigation a,.ref-navigation .unavailable{padding:14px 20px;font-weight:700;white-space:nowrap;display:block;text-decoration:none!important}.ref-navigation a:hover,.ref-navigation a.selected{background:#a72418}.ref-navigation .unavailable{opacity:.7;cursor:help}.ref-header-date{margin-left:25px;color:#777;font-size:14px;border-left:1px solid #ddd;padding-left:15px}.ref-layout-a,.ref-layout-b,.ref-layout-c,.ref-layout-d,.ref-layout-e{display:grid;align-items:start}.ref-primary{min-width:0}.ref-box{border:1px solid #ccc;margin-bottom:14px;background:white;border-radius:0;overflow:hidden}.ref-box h2{font-size:15px;text-align:center;padding:6px 8px;color:#8d1712;line-height:18px;background:#e9e9e9;font-weight:700}.ref-box ul{margin:0;padding:6px 14px 9px 34px;list-style-type:square}.ref-box li{padding:4px 0;line-height:17px;font-size:14px;color:#222}.ref-box li a:hover{color:#ad251d}.unavailable{color:#888;cursor:help}.ref-box li .unavailable{color:#858585}.ref-query-link{display:block;padding:12px;color:#326097!important}.ref-check{color:#7daf74;font-size:18px;font-weight:bold;margin-left:4px}.ref-result{margin-bottom:20px;border:1px solid #d3d3d3;background:white}.ref-result h2{font-size:17px;background:#b82318;color:#fff;font-weight:700;padding:8px 9px;line-height:19px}.ref-breadcrumb{padding:10px 8px;font-size:14px;color:#861b13;background:#f8f8f8;line-height:17px;font-weight:bold}.ref-breadcrumb a{text-decoration:underline}.ref-result-table{width:100%;table-layout:fixed;border-collapse:collapse;font-family:Arial,sans-serif;background:white;font-variant-numeric:tabular-nums}.ref-result-table th,.ref-result-table td{border:1px solid #dedede;text-align:center;padding:0}.ref-result-table .ref-prize-col{width:15%}.ref-result-table tbody th{font-size:15px;font-weight:400;color:#080808}.ref-result-table tbody tr:nth-child(even){background:#f7f7f7}.reference-ui .ref-result-table .number{font:700 28px/40px Arial,sans-serif!important;letter-spacing:0!important;color:#080808;min-width:0}.reference-ui .ref-result-table .prize-db .number,.reference-ui .ref-result-table .prize-g7 .number{color:#ed252c;font-size:34px!important}.ref-numbers{display:flex;flex-wrap:wrap;justify-content:space-around;align-items:center;gap:0}.ref-numbers.count-6 .number,.ref-numbers.count-3 .number{width:33.333%}.ref-numbers.count-4 .number{width:25%}.ref-numbers.count-2 .number{width:50%}.ref-result-table td{padding:3px 0}.ref-result-table .prize-g3 td,.ref-result-table .prize-g5 td{padding:5px 0}.ref-result-table .prize-db td{padding:0}.ref-result-table thead th{height:31px;font-size:14px;color:#255889;background:#f2f2f2}.ref-result-table.south .ref-prize-col{width:10%}.ref-result-table.south .ref-numbers{flex-direction:column}.reference-ui .ref-result-table.south .number{font-size:27px!important;line-height:30px!important;width:100%}.reference-ui .ref-result-table.south .prize-g8 .number,.reference-ui .ref-result-table.south .prize-db .number{font-size:32px!important;color:#b7531c;line-height:40px!important}.reference-ui .ref-result-table.south .prize-g7 .number{color:#333;font-size:27px!important;line-height:32px!important}.ref-result-table.south tbody th{font-size:15px}.ref-result-table.south .prize-g3 td,.ref-result-table.south .prize-g5 td{padding:3px 0}.ref-result-table .ref-draw-code{height:40px}.ref-result-table .ref-draw-code th{color:#333;font-weight:400;background:#fff;font-size:14px}.ref-result-table .ref-draw-code td{color:#888;font-size:13px;font-weight:400}.ref-ad-gap{height:76px;background:#d9d9d9;text-align:center;padding-top:16px;color:#444;font-size:12px}.reference-ui .ref-result .result-tools{border-top:1px solid #ddd;border-radius:0;padding:8px}.reference-ui .ref-result .segmented{border-radius:0}.ref-footer{border-top:1px solid #ccc;padding:20px 5px;text-align:center;line-height:1.7;font-size:12px;color:#666}.ref-footer .source-time{font-size:11px}.ref-footer small{font-size:10px}.reference-ui .secondary-page{max-width:1090px;margin:20px auto;padding:0}.reference-ui .secondary-page .page-title{margin:0 0 15px}.reference-ui .secondary-page h1{font-family:Arial!important;font-size:24px!important}.reference-ui .ref-primary>.panel,.reference-ui .ref-layout-a>aside>.panel{border-radius:0;margin-bottom:15px}.reference-ui .ref-primary>.panel .panel-heading{background:#eee;padding:8px 12px}.reference-ui .ref-primary>.panel .panel-heading h2{font-size:14px}.ref-box .filter-bar{display:block;padding:12px;margin:0}.ref-box .filter-bar label{display:block;margin-bottom:10px;font-size:12px}.ref-box .filter-bar input,.ref-box .filter-bar select{width:100%;max-width:none;margin-top:7px}.ref-box .filter-bar .primary-button{width:100%;font-size:12px}.ref-box .filter-bar .today-button{display:none}
/* Minh Ngọc — 1040px 固定画布，200 / 520 / 300 三栏。 */
.template-a.reference-ui{background:#fff;min-width:1050px;font-size:12px;--accent:#980d0d}.template-a.reference-ui .ref-wrap{width:1040px}.template-a .ref-header{height:136px;padding-top:26px;gap:12px;align-items:flex-start}.ref-topline{position:absolute;left:0;right:0;top:0;height:26px;border-bottom:1px solid #eee;line-height:25px;font-weight:bold;font-size:12px;color:#333}.template-a .ref-brand{width:315px;height:107px;padding:18px 5px}.template-a .ref-brand b{font:bold italic 44px/1 Georgia,serif;color:#aa251f;text-shadow:1px 2px #b9b9b9;letter-spacing:-2px;white-space:nowrap}.template-a .ref-brand small{display:none}.template-a .ref-brand em{font-family:Georgia,serif;text-align:center;font-size:15px;line-height:20px;margin-top:7px;color:#555}.ref-a-mast{width:395px;text-align:center;padding-top:17px;position:relative;height:110px}.ref-a-mast>small{font-size:12px;font-weight:bold}.ref-a-mast>strong{font:bold 28px Georgia,serif;color:#a03127;display:block;margin:7px}.ref-a-mast>div{display:flex;justify-content:center}.ref-a-mast>div a{border:1px solid #ccc;padding:7px 12px;background:linear-gradient(#fff,#e9e9e9);border-radius:5px 5px 0 0;font-size:12px;font-weight:bold}.ref-header-query{width:305px;border:1px solid #a74a09;border-radius:4px;margin-top:5px;background:#fffde7;height:94px}.ref-header-query>b{display:block;padding:8px 6px;background:linear-gradient(#fff287,#ff9519);font-size:12px}.ref-header-query>div{padding:12px;display:flex;justify-content:space-between;font-size:12px}.ref-header-query a{border:1px solid #c6c5a8;padding:6px;background:#fff}.template-a .ref-navigation{width:1040px;margin:auto;height:38px;border:1px solid #bbb;border-radius:5px;background:linear-gradient(#d47c7c,#b71b1b 65%,#8e0000)}.template-a .ref-navigation .ref-wrap{width:auto}.template-a .ref-navigation a,.template-a .ref-navigation .unavailable{padding:12px 15px;font-size:12px;line-height:12px;border-right:1px solid #a13838;text-shadow:0 1px #922}.template-a .ref-navigation .unavailable{color:#eee;opacity:.65}.template-a .ref-layout-a{grid-template-columns:200px 520px 300px;gap:10px;margin-top:10px}.template-a .ref-box{border-radius:5px;border:1px solid #999;background:#eee;margin-bottom:10px}.template-a .ref-box h2{font-size:12px;color:#080808;text-align:left;padding:6px 8px;background:linear-gradient(#fff,#d9d9d9);border-bottom:1px solid #aaa}.template-a .ref-box ul{padding:4px 7px;list-style:none}.template-a .ref-box li{font-size:11px;line-height:16px;padding:4px 0}.template-a .ref-box li:before{content:'› ';color:#999}.ref-legend{font-size:11px;text-align:center;color:#666;padding:5px}.template-a .calendar-panel{border-radius:5px!important;border:1px solid #999;background:#ddd}.template-a .calendar-panel .panel-heading{padding:6px;background:#ddd;display:flex;flex-direction:column}.template-a .calendar-panel .panel-heading h2{font-size:12px;margin:0}.template-a .calendar-panel input{padding:2px;background:#eee;border:0;font-size:11px}.template-a .calendar-grid{padding:4px;gap:0}.template-a .calendar-grid .day-name{padding:3px 0;font-size:11px;font-weight:bold}.template-a .calendar-grid button{padding:2px 0;font-size:11px;min-height:18px}.ref-schedule{width:100%;border-collapse:collapse;font-size:11px;border:1px solid #aaa;table-layout:fixed}.ref-schedule th,.ref-schedule td{border:1px solid #ddd;text-align:left;padding:4px 3px;height:23px;line-height:15px;white-space:nowrap;overflow:hidden}.ref-schedule th{font-size:10px}.ref-schedule th:first-child{width:25%}.ref-schedule th:nth-child(2){width:33%}.ref-schedule th:nth-child(3){width:19%}.ref-schedule .group td:first-child{font-weight:bold}.ref-schedule .ref-check{font-size:15px;float:right;line-height:13px}.ref-original-banner{height:70px;margin:10px 0 14px;background:linear-gradient(110deg,#821c10,#bb2112,#952010);border:2px solid #c48139;display:flex;align-items:center;justify-content:center;gap:20px;color:#ffdd6e}.ref-original-banner b{font-size:24px;white-space:nowrap}.ref-original-banner span{font-size:13px;max-width:100px;line-height:1.5}.ref-a-title{font-size:23px;text-align:center;line-height:28px;margin:0;color:#333}.ref-priority{text-align:center;font-size:12px;line-height:22px;margin-top:5px}.ref-priority a{margin-right:5px}.ref-complete{border:1px solid #ddd;border-radius:4px;font-size:12px;font-weight:bold;font-style:italic;color:#3973a1;line-height:24px;padding:0 6px;margin-bottom:5px}.template-a .ref-result{border-radius:7px 7px 0 0;border-color:#bbb}.template-a .ref-result h2{background:linear-gradient(#c2665e,#a31a11);font:bold 16px/20px Georgia,serif;text-align:center;border-bottom:6px solid #aaa;padding:8px 5px;color:white}.template-a .ref-result-table.south .ref-prize-col{width:19%}.template-a .ref-result-table thead th{font-size:13px;color:#163f93;background:linear-gradient(#fff,#ddd)}.template-a .ref-result-table tbody th{font-size:13px}.template-a .ref-result-table td{padding:0}.template-a .ref-result-table.south .number{font-size:27px!important;line-height:31px!important}.template-a .ref-result-table.south .prize-g8 .number{font-size:42px!important;line-height:48px!important;color:maroon}.template-a .ref-result-table.south .prize-db .number{font-size:25px!important;line-height:40px!important;color:maroon}.template-a .ref-result-table.south .prize-g7 .number{color:#333}.ref-station-date th,.ref-station-date td{height:27px;font-size:11px}.ref-original-tall{height:555px;background:repeating-linear-gradient(45deg,#2520d0,#2520d0 20px,#2b27d6 20px,#2b27d6 40px);padding:31px 15px;color:#fff;text-align:center}.ref-original-tall>small{font-size:26px;font-weight:bold;color:#ffdf51;display:block;margin:0 0 32px}.ref-original-tall strong{font-size:52px;font-weight:700;text-shadow:2px 3px #0007;line-height:1.25}.ref-original-tall>b{font-size:36px;display:block;color:#ffe844;margin-top:18px}.ref-original-tall p{font-size:23px;color:#ffff80;margin-top:24px;line-height:1.3;text-align:left;padding-left:15px}.template-a .ref-a-right>.ref-box{margin-top:12px}.template-a .ref-ad-gap{display:none}.template-a .ref-footer{margin-top:20px}
/* Đại Phát — 1140px：555px 开奖区 + 255px / 300px 工具栏。 */
.template-b.reference-ui .ref-wrap{width:1140px}.template-b .ref-header{height:76px}.template-b .ref-brand{height:62px;justify-content:center;width:155px}.template-b .ref-brand b{font-size:28px}.template-b .ref-brand em{font-size:9px;text-align:right}.template-b .ref-navigation{max-width:1140px;margin:auto;height:46px}.template-b .ref-navigation a,.template-b .ref-navigation .unavailable{flex:1;text-align:center;padding:14px 17px;line-height:18px;font-size:15px}.template-b .ref-layout-b{grid-template-columns:555px 255px 300px;gap:15px;margin-top:30px}.ref-b-title{font-size:18px;line-height:21px;padding:7px 9px;border:1px solid #a8241d;color:#666;margin-bottom:10px;background:#fafafa}.template-b .ref-result h2{text-decoration:underline;padding:8px 9px;line-height:18px}.template-b .ref-result-table .prize-g3 td,.template-b .ref-result-table .prize-g5 td{padding:8px 0}.template-b .ref-box{margin-bottom:14px}.template-b .ref-box .ref-box{border:0}.template-b .ref-box h2{font-size:15px}.template-b .ref-box li{padding:4px 0;font-size:14px}.template-b .ref-breadcrumb{height:37px}.template-b .ref-result-table .ref-draw-code{height:42px}.template-b .ref-result-table .number{line-height:40px!important}.template-b .ref-result-table .prize-g3 .number,.template-b .ref-result-table .prize-g5 .number{line-height:40px!important}.template-b .ref-ad-gap{margin-top:0}
/* XSMN.mobi — 1090px，两栏，橙色紧凑导航及结果表。 */
.template-c.reference-ui{--accent:#b9551b}.template-c.reference-ui .ref-wrap{width:1090px}.template-c .ref-header{height:46px}.template-c .ref-brand{flex-direction:row;align-items:center;gap:3px}.template-c .ref-brand b{font-size:28px;font-weight:900;color:#b4561d}.brand-ball{height:37px;width:37px;border:6px solid #b46849;border-radius:50%;display:grid;place-items:center;color:#9c4b2f;font-size:16px;font-weight:bold;background:#fff5de;transform:rotate(-15deg)}.template-c .ref-help{display:none}.template-c .ref-navigation{height:39px;background:#b8551b}.template-c .ref-navigation a,.template-c .ref-navigation .unavailable{padding:12px 10px;font-size:13px;line-height:15px}.template-c .ref-navigation a.selected{background:#e99442}.template-c .ref-layout-c{grid-template-columns:744px 336px;gap:10px;margin-top:9px}.ref-c-title{color:#b4561d;text-align:center;font-size:16px;line-height:20px;margin:0;padding:4px 2px 8px;font-weight:700}.ref-week{display:grid;grid-template-columns:repeat(8,1fr);height:38px}.ref-week a{text-align:center;background:#eee;border:1px solid #ddd;padding:10px 1px;font-size:14px;line-height:17px}.ref-week a.selected{background:#b8551b;color:white;font-weight:bold;border-color:#b8551b}.template-c .ref-result{border:2px solid #b8551b}.template-c .ref-result h2{text-align:center;background:#b8551b;padding:8px 3px;line-height:19px;font-size:18px}.template-c .ref-breadcrumb{background:#faebbe;color:#b25520;text-align:center;height:37px;padding:10px 2px;font-size:16px}.template-c .ref-breadcrumb a{text-decoration:none}.template-c .ref-result-table tbody tr:nth-child(even){background:#f2f2f2}.template-c .ref-result-table tbody th{font-size:15px}.template-c .ref-box{border-color:#ddd;border-radius:5px;box-shadow:0 1px 3px #0002;margin-bottom:8px}.template-c .ref-box h2{background:#b8551b;color:white;font-size:14px;text-align:left;padding:10px 10px;line-height:17px}.template-c .ref-box h2:before{content:'●';color:#ffe86e;margin-right:10px;text-shadow:0 0 4px #ffd050}.province-list{display:grid;grid-template-columns:1fr 1fr;gap:0}.template-c .ref-box .province-list{list-style:none;padding:5px 15px 7px 25px}.template-c .province-list li{padding:4px 0;font-size:14px;position:relative}.template-c .province-list li:before{content:'•';position:absolute;left:-10px;color:#aa755c}.template-c .province-list .ref-check{font-size:14px}.template-c .ref-result-table.south .prize-g4 td{padding:3px 0}.template-c .ref-ad-gap{display:none}
/* Xoso.com.vn — 1140px：594 / 205 / 308，黄色标题、蓝色隔行。 */
.template-d.reference-ui{--accent:#bc251c;background:white}.template-d.reference-ui .ref-wrap{width:1140px}.template-d .ref-header{height:58px}.template-d .ref-brand{width:145px;justify-content:center;height:54px}.template-d .ref-brand b{font-size:25px;color:#337fc0;text-shadow:1px 1px #fff;letter-spacing:-1.5px}.template-d .ref-brand em{font-size:10px;color:#333;text-align:center;font-weight:400;font-style:italic}.template-d .ref-navigation{height:48px;background:#b7251a}.template-d .ref-navigation a,.template-d .ref-navigation .unavailable{padding:15px 19px;font-size:14px;line-height:18px;font-weight:400;text-transform:uppercase}.template-d .ref-layout-d{grid-template-columns:594px 205px 308px;gap:15px;margin-top:16px}.ref-directory{box-shadow:0 2px 6px #0004;margin-bottom:16px}.ref-directory h1{background:#fff0a6;font-size:22px;text-align:center;padding:10px 8px;line-height:27px;font-weight:500}.ref-directory table{width:100%;border-collapse:collapse;table-layout:fixed}.ref-directory td{border:1px solid #ddd;text-align:center;height:31px;font-size:15px;color:#254190}.ref-directory .unavailable{color:#888}.template-d .ref-result{border:0;box-shadow:0 1px 5px #0003}.template-d .ref-result h2{background:#fff0a6;color:#d43a2c;text-align:center;font-size:22px;font-weight:500;line-height:27px;padding:10px 8px 4px}.template-d .ref-breadcrumb{background:#fff0a6;text-align:center;font-weight:400;color:#24428c;padding:5px 4px 12px;height:33px}.template-d .ref-result-table .ref-prize-col{width:10%}.template-d .ref-result-table tbody tr:nth-child(odd){background:#f1f9fd}.template-d .ref-result-table tbody tr:nth-child(even){background:#fff}.template-d .ref-result-table td{padding:0}.template-d .ref-result-table .prize-g3 td,.template-d .ref-result-table .prize-g5 td{padding:0}.template-d .ref-result-table .number{line-height:42px!important}.template-d .ref-result-table .prize-db .number{line-height:42px!important}.template-d .ref-result-table .ref-draw-code{height:40px}.template-d .ref-box{box-shadow:0 2px 5px #0003;border:0;margin-bottom:16px}.template-d .ref-box h2{background:#f3faff;text-align:left;font-size:13px;color:#222;padding:12px;line-height:16px;font-weight:500}.template-d .ref-box ul{list-style:none;padding:4px 12px 8px}.template-d .ref-box li{font-size:15px;color:#233d83;padding:11px 0;line-height:18px}.template-d .ref-box li:before{content:'› ';color:#555}.template-d .ref-layout-d>aside:last-child .ref-box{padding-top:16px}.template-d .ref-layout-d>aside:last-child .ref-box h2{background:#b7251a;color:white}.template-d .ref-ad-gap{background:#fff;height:86px;font-size:14px;padding-top:25px}
/* KQXS — 1090px，广告留白、182 / 626 / 272 三栏。 */
.template-e.reference-ui{--accent:#d22e22;background:#f9f9f9}.template-e.reference-ui .ref-wrap{width:1090px}.template-e .ref-header{height:95px;background:#fff;align-items:flex-end;padding:0 10px 8px}.template-e .ref-help{position:absolute;top:10px;right:10px;color:#49718f;font-size:13px}.template-e .ref-brand{background:#2a4258;padding:5px 9px;width:133px;height:48px;justify-content:center}.template-e .ref-brand b{color:white;font-size:19px;line-height:19px;letter-spacing:0}.template-e .ref-navigation{height:43px;background:#d52e22}.template-e .ref-navigation a,.template-e .ref-navigation .unavailable{border-right:1px solid #ffffff55;padding:13px 15px;font-size:14px;line-height:17px}.template-e .ref-navigation a.selected{background:#bd2c21}.ref-e-ad{height:260px}.template-e .ref-layout-e{grid-template-columns:182px 626px 272px;gap:5px}.template-e .ref-box{border:0;border-radius:5px 5px 0 0;margin-bottom:10px}.template-e .ref-box h2{background:#d52e22;color:#fff;text-align:left;font-size:14px;padding:10px;line-height:17px;font-weight:400}.template-e .ref-box ul{list-style:none;padding:0 10px 10px}.template-e .ref-box li{font-size:13px;padding:6px 0 0;line-height:21px;color:#050505}.template-e .ref-box li:before{content:'» ';}.template-e .province-list{display:block}.template-e .ref-e-filter{display:flex;justify-content:center;align-items:center;gap:7px;padding:14px 10px;background:white;border:1px solid #eee;border-radius:10px 10px 0 0;height:66px}.ref-e-filter select,.ref-e-filter>a,.ref-e-filter button,.ref-date-label{font-size:12px;border:1px solid #e3e5e7;border-radius:8px;background:#fafbfc;padding:9px 12px;color:#414856;white-space:nowrap}.ref-e-filter .ref-today{background:#2942d4;border:1px solid #2942d4;color:white;font-weight:bold}.ref-date-label{position:relative;cursor:pointer}.ref-date-label input{position:absolute;inset:0;opacity:0;width:100%;padding:0;cursor:pointer}.ref-e-tools{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #eee;background:#fafbfc}.ref-e-tools a{padding:10px 6px;text-align:center;border-right:1px solid #eee;display:flex;flex-direction:column;align-items:center;gap:6px}.ref-e-tools a:last-child{border:0}.ref-e-tools span{display:grid;place-items:center;height:32px;width:32px;border-radius:50%;color:#c7834f;background:#fff0da;font-size:21px}.ref-e-tools a:nth-child(2) span{color:#4857cf;background:#e5edff}.ref-e-tools a:nth-child(3) span{color:#9353ba;background:#eee2ff}.ref-e-tools b{font-size:14px}.ref-e-title{background:#fffbe5;text-align:center;font-size:20px;line-height:25px;padding:8px;margin-bottom:8px}.template-e .ref-result{border:0}.template-e .ref-result h2{background:#737779;font-size:20px;line-height:25px;text-align:center;padding:8px 4px;font-weight:700}.template-e .ref-result-table .ref-prize-col{width:11%}.template-e .ref-result-table tbody th{font-size:13px}.template-e .ref-result-table tbody tr{background:white}.template-e .ref-result-table td{padding:2px 0}.template-e .ref-result-table .number{font-size:22px!important;line-height:33px!important}.template-e .ref-result-table .prize-db .number{font-size:22px!important;color:#c63c2c}.template-e .ref-result-table .prize-g7 .number{font-size:22px!important;color:#080808}.template-e .ref-result-table .prize-g3 td,.template-e .ref-result-table .prize-g5 td{padding:2px 0}.template-e .ref-result-table .ref-numbers .number{border-right:1px solid #ddd}.template-e .ref-result-table .ref-numbers .number:last-child{border:0}.template-e .result-tools{background:#86501c;color:white}.template-e .result-tools .segmented{border:0}.template-e .result-tools .segmented button{border:0;background:none;color:white;padding:4px;font-size:12px}.template-e .result-tools .segmented button:before{content:'● ';color:#eee}.template-e .result-tools .segmented button.active:before{color:#9abc7b}.template-e .result-tools .highlight-input{color:white}.template-e .ref-ad-gap{display:none}.template-e .ref-footer{margin-top:20px}
@media(min-width:761px) and (max-width:1190px){.template-b.reference-ui .ref-wrap,.template-d.reference-ui .ref-wrap{width:calc(100% - 30px)}.template-b .ref-layout-b{grid-template-columns:minmax(0,1fr) 23% 26%;gap:12px}.template-d .ref-layout-d{grid-template-columns:minmax(0,1fr) 18% 26%;gap:12px}.template-c.reference-ui .ref-wrap,.template-e.reference-ui .ref-wrap{width:calc(100% - 20px)}.template-c .ref-layout-c{grid-template-columns:minmax(0,1fr) 30%}.template-e .ref-layout-e{grid-template-columns:17% minmax(0,1fr) 25%}.template-b .ref-navigation{max-width:calc(100% - 30px)}.template-b .ref-navigation>.ref-wrap{width:100%}.ref-navigation a,.ref-navigation .unavailable{padding-left:12px;padding-right:12px}}
@media(max-width:760px){.reference-ui:not(.template-a) .ref-wrap{width:100%;margin-left:0;margin-right:0}.reference-ui:not(.template-a) .ref-header{justify-content:center}.reference-ui:not(.template-a) .ref-menu{display:block;position:absolute;left:8px;top:7px;font-size:20px;padding:0;width:28px;height:30px;color:#555}.reference-ui:not(.template-a) .ref-help{position:absolute;right:12px;top:17px;font-size:11px;margin:0}.reference-ui:not(.template-a) .ref-navigation>.ref-wrap{overflow:auto;scrollbar-width:none;justify-content:flex-start}.reference-ui .ref-navigation.expanded>.ref-wrap{display:flex;flex-wrap:wrap;overflow:visible;background:inherit;position:relative;z-index:30}.reference-ui:not(.template-a) .ref-navigation.expanded{height:auto;min-height:40px}.reference-ui .ref-layout-b,.reference-ui .ref-layout-c,.reference-ui .ref-layout-d,.reference-ui .ref-layout-e{display:block}.ref-layout-b>aside,.ref-layout-c>aside,.ref-layout-d>aside,.ref-layout-e>aside{display:none}.reference-ui:not(.template-a) .ref-result-table .number{font-size:27px!important;line-height:40px!important}.reference-ui:not(.template-a) .ref-result-table .prize-db .number,.reference-ui:not(.template-a) .ref-result-table .prize-g7 .number{font-size:34px!important}.reference-ui:not(.template-a) .ref-result-table tbody th{font-size:15px}.reference-ui .ref-result h2{font-size:17px}.reference-ui:not(.template-a) .ref-result-table.south .number{font-size:20px!important;line-height:23px!important}.reference-ui:not(.template-a) .ref-result-table.south .prize-db .number{font-size:23px!important;line-height:32px!important}.reference-ui:not(.template-a) .ref-result-table.south .prize-g8 .number{font-size:32px!important;line-height:42px!important}.reference-ui:not(.template-a) .ref-result-table.south .prize-g7 .number{font-size:25px!important;line-height:32px!important}.reference-ui:not(.template-a) .ref-result-table.south thead th{font-size:13px;padding:3px 1px;line-height:17px}.reference-ui:not(.template-a) .ref-result-table.south tbody th{font-size:15px}.reference-ui:not(.template-a) .ref-footer{padding:20px 10px}.reference-ui .secondary-page{padding:15px 8px;margin:0!important;width:100%}.reference-ui .preview-strip{bottom:5px;right:5px;opacity:.7}.reference-ui .preview-strip .back-gallery{font-size:9px}.reference-ui .preview-strip .sample-switch{gap:3px}.reference-ui .preview-strip .sample-switch a{width:18px;height:18px;font-size:9px}.template-a .ref-wrap{margin-left:5px!important;margin-right:5px!important}.template-a .ref-navigation{margin-left:5px}.template-a .ref-navigation .ref-wrap{margin:0!important}.template-a .ref-layout-a>.ref-a-right{display:block}.template-a .ref-layout-a .calendar-panel{display:none}.template-a .ref-layout-a .ref-box{margin-bottom:10px}.template-a .ref-result-table.south .number{font-size:27px!important;line-height:31px!important}.template-a .ref-result-table.south .prize-g8 .number{font-size:42px!important;line-height:48px!important}.template-a .ref-footer{margin-left:5px!important}.template-a .ref-layout-a{margin-top:10px}.template-b .ref-header{height:44px}.template-b .ref-brand{height:43px;width:92px;text-align:center}.template-b .ref-brand small{font-size:8px;line-height:8px}.template-b .ref-brand b{font-size:18px;letter-spacing:-.7px}.template-b .ref-brand em{font-size:5px;line-height:6px;text-align:center;margin-top:2px}.template-b .ref-help{font-size:0!important}.template-b .ref-help:before{content:'♙';font-size:22px;position:absolute;right:2px;top:-7px}.template-b .ref-navigation{height:37px;background:white;border:1px solid #ddd}.template-b .ref-navigation .ref-wrap>a,.template-b .ref-navigation .ref-wrap>.unavailable{display:none}.template-b .ref-navigation .ref-wrap>a:nth-child(2),.template-b .ref-navigation .ref-wrap>a:nth-child(3),.template-b .ref-navigation .ref-wrap>a:nth-child(4),.template-b .ref-navigation .ref-wrap>a:last-child{display:block;padding:9px 12px;font-size:14px;color:#001090;border-right:1px solid #ddd;background:#fff;line-height:17px}.template-b .ref-navigation.expanded .ref-wrap>a,.template-b .ref-navigation.expanded .ref-wrap>.unavailable{display:block;color:#333;padding:10px;font-size:12px}.template-b .ref-layout-b{margin-top:10px}.ref-b-title{font-size:18px;line-height:22px;padding:6px 9px;margin-bottom:11px;height:35px}.template-b .ref-result h2{padding:8px;line-height:19px;font-size:18px;text-decoration:none}.template-b .ref-breadcrumb{padding:10px 6px;font-size:15px;height:40px;line-height:19px}.template-b .ref-result-table .ref-prize-col{width:15%}.template-b .ref-result-table .ref-draw-code{height:32px}.template-b .ref-result-table .ref-draw-code td{font-size:11px}.template-b .ref-result-table .ref-draw-code th{font-size:14px}.template-b .ref-result-table .prize-g4 .ref-numbers .number{width:50%}.template-b .ref-result-table .prize-g3 td,.template-b .ref-result-table .prize-g5 td{padding:5px 0}.template-b .ref-ad-gap{height:77px}.template-c .ref-header{height:46px;justify-content:flex-start!important}.template-c .ref-brand{height:44px;gap:2px}.template-c .ref-brand b{font-size:26px}.template-c .ref-menu{left:auto!important;right:4px;top:5px!important;border:1px solid #a95122;width:36px!important;color:#a95122!important;height:30px!important;font-size:22px!important}.template-c .ref-navigation{height:39px}.template-c .ref-navigation a,.template-c .ref-navigation .unavailable{padding:12px 6px;font-size:12px}.template-c .ref-layout-c{margin-top:8px}.ref-c-title{font-size:16px;line-height:19px;padding:3px 5px 8px}.ref-week{height:76px;grid-template-columns:repeat(4,1fr)}.ref-week a{font-size:14px;line-height:17px;padding:10px 1px}.template-c .ref-result{border-width:2px;margin-bottom:16px}.template-c .ref-result h2{font-size:17px;line-height:20px;padding:7px 1px}.template-c .ref-breadcrumb{font-size:16px;line-height:18px;height:38px;padding:10px 2px}.template-c .ref-result-table.south .ref-prize-col{width:10%}.template-c .ref-result-table.south tbody tr td{padding:3px 0}.template-c .ref-result-table.south tbody tr.prize-g8 td{padding:0}.template-d .ref-header{height:52px}.template-d .ref-brand{width:115px;height:44px;text-align:center}.template-d .ref-brand b{font-size:22px}.template-d .ref-brand em{font-size:7px}.template-d .ref-header-date{display:none}.template-d .ref-navigation{height:48px}.template-d .ref-navigation a,.template-d .ref-navigation .unavailable{padding:15px 14px;font-size:14px}.template-d .ref-navigation .ref-wrap>a:first-child{display:none}.template-d .ref-layout-d{margin-top:16px}.ref-directory{margin-bottom:14px}.ref-directory h1{font-size:16px;line-height:20px;padding:10px 5px;height:40px;white-space:nowrap;letter-spacing:-.5px}.ref-directory td{font-size:14px;height:30px}.template-d .ref-result h2{font-size:20px;line-height:24px;padding:10px 3px 4px}.template-d .ref-breadcrumb{height:31px;padding:5px 0 10px;font-size:13px;line-height:16px}.template-d .ref-result-table .ref-draw-code{height:36px}.template-d .ref-result-table .ref-draw-code td{font-size:12px}.template-d .ref-result-table .ref-prize-col{width:10%}.template-d .ref-result-table .number{font-size:27px!important;line-height:40px!important}.template-d .ref-result-table td,.template-d .ref-result-table .prize-g3 td,.template-d .ref-result-table .prize-g5 td{padding:0}.template-d .ref-ad-gap{height:92px}.template-e .ref-header{height:44px;background:#d52e22;padding:0;align-items:center}.template-e .ref-brand{width:95px;height:34px;padding:2px 5px}.template-e .ref-brand b{font-size:14px;line-height:14px}.template-e .ref-help{color:#fff;top:15px!important;font-size:11px!important}.template-e .ref-menu{color:white!important;font-size:26px!important;top:4px!important}.template-e .ref-navigation{height:40px;background:#835019}.template-e .ref-navigation a,.template-e .ref-navigation .unavailable{border:0;padding:12px 13px;font-size:13px;line-height:16px}.template-e .ref-navigation .ref-wrap>a:nth-child(n+5),.template-e .ref-navigation .ref-wrap>.unavailable{display:none}.template-e .ref-navigation .ref-wrap>a:nth-child(7){display:block}.template-e .ref-navigation a.selected{background:#75440e}.template-e .ref-navigation.expanded .ref-wrap>a,.template-e .ref-navigation.expanded .ref-wrap>.unavailable{display:block}.template-e .ref-e-ad{height:155px}.template-e .ref-layout-e{padding:0 5px;width:100%!important}.template-e .ref-e-filter{height:57px;border-radius:0;padding:9px 5px;gap:8px}.ref-e-filter select,.ref-e-filter>a,.ref-e-filter button,.ref-date-label{font-size:12px;padding:9px 7px}.ref-e-filter>a{display:none}.ref-e-tools a{padding:10px 4px;gap:7px;min-height:89px}.ref-e-tools span{height:32px;width:32px}.ref-e-tools b{font-size:13px;line-height:17px;max-width:110px}.ref-e-title{font-size:17px;line-height:20px;padding:8px 0;margin-bottom:10px;min-height:36px}.template-e .ref-result h2{font-size:16px;line-height:21px;padding:8px 2px}.template-e .ref-result-table .ref-prize-col{width:18%}.template-e .ref-result-table tbody th{font-size:13px!important}.template-e .ref-result-table .number{font-size:20px!important;line-height:31px!important}.template-e .ref-result-table .prize-db .number,.template-e .ref-result-table .prize-g7 .number{font-size:20px!important;line-height:31px!important}.template-e .ref-result-table td,.template-e .ref-result-table .prize-g3 td,.template-e .ref-result-table .prize-g5 td{padding:1px 0}.template-e .ref-result-table .prize-db .number{font-size:22px!important}.template-e .result-tools .highlight-input{display:none}.template-e .ref-result .result-tools{padding:5px 8px}}
/* 实际截图对照后的行高校准。 */
.template-a .ref-schedule th,.template-a .ref-schedule td{padding:3px;position:relative;height:23.4px}.template-a .ref-schedule .ref-check{position:absolute;right:3px;top:4px;float:none}.template-a .ref-schedule td:first-child{padding-right:18px}.template-a .ref-original-banner{margin-bottom:10px}.template-a .ref-priority{margin-top:3px}.template-a .ref-layout-a>aside:first-child>.ref-box:first-child{min-height:186px}.template-b .ref-result-table td,.template-b .ref-result-table .prize-g3 td,.template-b .ref-result-table .prize-g5 td,.template-b .ref-result-table .prize-db td{padding:3px 0}.template-b .ref-box li{padding:3px 0}.template-b .ref-layout-b>aside:first-of-type .ref-box{margin-bottom:0}.template-c .ref-result h2{padding-top:9px;padding-bottom:9px}.template-c .ref-breadcrumb{height:35px;padding:9px 2px}.template-e .ref-e-tools a{padding-top:9px;padding-bottom:9px}.template-e .ref-e-title{padding-top:6px;padding-bottom:6px}.template-e .ref-box li{padding-top:2px}.template-e .ref-box ul{padding-bottom:4px}
@media(max-width:760px){.template-b .ref-brand{width:110px}.template-b .ref-brand b{white-space:nowrap;font-size:17px}.template-b .ref-result-table .prize-g3 td,.template-b .ref-result-table .prize-g5 td{padding:3px 0}.template-c .ref-result h2{padding-top:7px;padding-bottom:7px}.template-c .ref-breadcrumb{height:38px;padding-top:10px;padding-bottom:10px}.template-e .ref-e-tools a{padding-top:10px;padding-bottom:10px}.template-e .ref-e-title{padding:8px 0}}
@media(max-width:760px){.template-e.reference-ui .ref-result-table .number{font-size:20px!important;line-height:31px!important}.template-e.reference-ui .ref-result-table .prize-db .number{font-size:22px!important;line-height:31px!important}.template-e.reference-ui .ref-result-table .prize-g7 .number{font-size:20px!important;line-height:31px!important}.template-e .ref-e-title{margin-bottom:7px}}
.template-a .ref-layout-a>aside:first-child>.ref-box:first-child li{padding:2px 0;line-height:16px}.template-a .ref-layout-a>aside:first-child>.ref-box:first-child h2{line-height:16px;padding:5px 8px}
.template-a .ref-result{border-left:0;border-right:0}
@media(min-width:761px){.template-c .ref-c-title{padding-bottom:10px}.template-d .ref-directory{margin-bottom:17px}.template-e .ref-e-title{margin-bottom:5px}}
@media(max-width:760px){.template-d .ref-result h2{padding-top:7px}.template-d .ref-breadcrumb{height:29px;padding-bottom:8px}}
