:root{--blue:#009de0;--orange:#ff6d25;--red:#ff231c;--muted:#8b94a0;--line:#e7e7e7}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:14px}body{margin:0;background:#fff;color:#171717;font:14px/1.5 Arial,"Microsoft YaHei",sans-serif}button,input{font:inherit}button{cursor:pointer;color:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #80b8ff;outline-offset:3px}a{color:inherit;text-decoration:none}button{border:0;background:transparent}button:disabled{cursor:default;opacity:.4}.wrap{max-width:1280px;padding:0 22px;margin:0 auto}.announcement{background:#ededed;color:#5e6b7b;font-size:12px}.announcement .wrap{display:flex;align-items:center;justify-content:space-between;min-height:31px}.announcement-right{color:#718092;font-size:11px}.announcement time{margin-left:6px;font-variant-numeric:tabular-nums}.masthead{height:102px;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{position:relative;min-width:166px;display:flex;flex-direction:column;line-height:1}.brand strong{font-size:42px;font-style:italic;color:#f01923;font-weight:900;letter-spacing:-3px}.brand strong span{font-size:28px;color:#707070;font-weight:600;letter-spacing:-2px;margin-left:2px}.brand small{font-size:10px;color:#8f8f8f;letter-spacing:2px;margin:10px 0 0 9px}.brand-arc{position:absolute;width:57px;height:17px;border-top:5px solid #ff8a1c;transform:rotate(18deg);border-radius:60% 60% 0 0;top:-14px;left:58px}.slogan{text-align:center;flex:1}.slogan h1{margin:0 0 5px;font-size:24px;font-weight:800;letter-spacing:3px;font-style:italic;background:linear-gradient(90deg,#b923ed 15%,#d645ef 40%,#263533 65%);background-clip:text;-webkit-background-clip:text;color:transparent}.slogan>span{display:inline-block;background:linear-gradient(90deg,#b132f0,#9625db);font-size:15px;font-style:italic;font-weight:600;letter-spacing:2px;color:#fff;border-radius:2px;padding:2px 15px}.header-caption{display:flex;flex-direction:column;gap:6px;padding-left:22px;border-left:1px solid #e5e5e5;color:#8a9a93;font-size:10px}.header-caption b{font-size:16px;font-weight:500;color:#469886;letter-spacing:1px}.navigation{background:linear-gradient(105deg,#7e8eef 0%,#7dbacd 53%,#73f6b1 100%);color:#fff}.navigation .wrap{display:flex;align-items:stretch;height:49px}.navigation a,.navigation button{padding:0 21px;display:flex;align-items:center;color:white;font-size:15px;font-weight:600;white-space:nowrap}.navigation .active{background:#6277d352}.navigation a:hover,.navigation button:hover{background:#ffffff1f}.caret{margin-left:7px;font-size:12px}.nav-end{margin-left:auto;align-self:center;font-size:12px;color:#fff}.connection-strip{min-height:47px;display:flex;align-items:center;gap:7px;font-size:12px;color:#6c7c8e;flex-wrap:wrap;padding:10px 0}.connection-strip button{margin-left:auto;color:#768c9b;font-size:12px;padding:3px 0 3px 12px;white-space:nowrap}.status-dot{width:6px;height:6px;background:#b6bcc3;border-radius:50%;flex-shrink:0}.connection-strip.ok .status-dot{background:#26ae84}.connection-strip.warning .status-dot{background:#e4a331}.connection-strip.warning{color:#a47c35}.results{border-top:2px solid #fb8a25}.section-bar{height:58px;display:flex;justify-content:space-between;align-items:center}.section-bar h2{font-size:16px;color:#ff6629;font-weight:400;margin:0}.orange-button{border:1px solid #ffb780;border-radius:2px;color:#ff6b24;padding:5px 16px;font-size:12px;background:#fff}.orange-button:hover{background:#fff6ef}.list-head,.lottery-row{display:grid;grid-template-columns:255px minmax(290px,1fr) 330px 36px;align-items:center;gap:10px;padding:0 14px}.list-head{background:#e5e5e5;height:60px;font-size:13px}.list-head>span:first-child{padding-left:17px}.list-head>span:nth-child(2){text-align:center}.list-head>span:nth-child(3){text-align:center}.list-head>span:last-child{text-align:center}.lottery-row{min-height:121px}.lottery-row:nth-child(even){background:#f5f5f5}.lottery-row[hidden]{display:none}.lottery-info{display:flex;align-items:center;gap:12px;min-width:0}.lottery-logo{height:78px;width:78px;border-radius:50%;background:white;border:9px solid #f1f1f1;display:flex;align-items:center;justify-content:center;flex-shrink:0}.logo-inner{height:48px;width:48px;border-radius:50%;color:white;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.15;border:2px solid #ffffff90;box-shadow:0 0 0 1px #ddd;transform:rotate(-9deg);font-weight:700}.logo-inner.ca{background:radial-gradient(circle at 35% 22%,#a2dcff,#208eda 58%,#2465c8)}.logo-inner.au3{background:radial-gradient(circle at 35% 22%,#d68bff,#9515ef 58%,#7111d8)}.logo-inner.au8{background:radial-gradient(circle at 35% 22%,#ff9898,#f32628 58%,#d6151c)}.logo-inner small{font-size:9px}.logo-inner b{font-size:20px;text-shadow:1px 2px #0002}.logo-inner.au8 b{font-size:13px}.lottery-info h3{font-size:16px;margin:0 0 1px;font-weight:600}.period{font-size:12px;color:#7e8995;white-space:nowrap}.period strong{font-size:17px;color:#ff3725;font-weight:400;font-variant-numeric:tabular-nums}.source-badge{font-size:10px;margin-left:6px;padding:1px 4px;border:1px solid #c9e7dc;color:#41987a;vertical-align:2px;border-radius:2px;font-weight:400;white-space:nowrap}.source-badge.demo{color:#ad976d;border-color:#e7dfcc}.source-badge.warning{color:#c28d38;border-color:#ecdbb7}.detail-line{font-size:11px;color:#8190a3;margin-top:3px}.number-area{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:15px 0}.numbers{display:flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap;flex-wrap:nowrap}.ball{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;height:37px;width:37px;border-radius:50%;background:#009fe2;color:#fff;font:400 20px/1 Arial,sans-serif;font-variant-numeric:tabular-nums}.ball.result{background:#f60013}.operator{color:#898989;font:300 27px/1 Arial,sans-serif;margin:0 -2px}.numbers.au8{gap:6px}.numbers.au8 .ball{height:35px;width:35px;font-size:18px}.number-caption{font-size:10px;color:#a0a5ad;min-height:15px}.loading-result{color:#9ca7b3;font-size:13px;min-height:39px;display:flex;align-items:center}.draw-side{display:flex;flex-direction:column;gap:9px;padding-left:10px}.row-links{font-size:12px;line-height:1.2;display:flex;gap:7px;align-items:center}.row-links button{padding:0;font-size:12px}.row-links button:hover{color:var(--orange);text-decoration:underline}.row-links i{font-style:normal;color:#aaa;font-size:10px}.countdown-line{display:flex;align-items:center;justify-content:space-between;gap:8px}.next-description{font-size:11px;color:#959fae;white-space:nowrap}.next-description strong{font-size:16px;color:#ff271a;font-weight:400}.timer{display:flex;gap:5px;align-items:center;white-space:nowrap;min-height:36px;font-size:12px}.timer .digit{display:inline-flex;align-items:center;justify-content:center;background:#484754;color:#ffe400;font:bold 18px/1 Arial,sans-serif;min-width:35px;height:36px;padding:0 5px;border-radius:2px;font-variant-numeric:tabular-nums}.timer.waiting{color:#fa3b32;font-size:12px}.timer-note{font-size:10px;color:#9da4ae;margin-top:-5px}.hide-row{font-size:24px;font-weight:200;color:#8d8d8d;align-self:center;padding:4px}.hide-row:hover{color:#f34b37}.list-note{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;border-top:1px solid #ededed;padding:12px 9px;font-size:11px;color:#9099a5}.legend-dot{display:inline-block;height:5px;width:5px;border-radius:50%;vertical-align:2px;margin-right:5px}.legend-dot.real{background:#20a57b}.legend-dot.demo{background:#c7a869}.history-section{margin-top:24px;border-top:2px solid #f18a2f}.section-subtitle{color:#a1a8b0;font-size:11px}.history-toolbar{border:1px solid #eee;background:#fafafa;padding:13px 16px;display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}.tabs{display:flex;gap:7px}.tabs button{border:1px solid #dedede;background:white;padding:7px 14px;font-size:13px;color:#627185;border-radius:2px}.tabs button[aria-selected=true]{border-color:#ff862c;color:#fa6a24;background:#fff8f1}.tabs small{font-size:9px;margin-left:5px;color:#9da6b1}.history-toolbar label{font-size:12px;color:#7f8995;display:flex;align-items:center;gap:10px}.history-toolbar input{font-size:12px;border:1px solid #dedede;padding:6px 9px;background:#fff;color:#536475;border-radius:2px;min-width:140px}.history-description{font-size:11px;color:#8d98a5;padding:11px 17px;border-left:1px solid #eee;border-right:1px solid #eee}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:center}th{background:#e8e8e8;font-size:12px;font-weight:400;height:45px;padding:9px 18px}td{height:57px;font-size:12px;padding:9px 18px;border-bottom:1px solid #f0f0f0;color:#647181}tr:nth-child(even) td{background:#f7f7f7}td:first-child{color:#ff3d29;font-size:14px;font-variant-numeric:tabular-nums}td .ball{height:29px;width:29px;font-size:16px}td .operator{font-size:22px}td .numbers.au8 .ball{height:27px;width:27px;font-size:14px}.sum-label{color:#ee4040;font-size:15px}.data-label{font-size:10px;color:#439579;background:#eff8f4;padding:3px 6px;border-radius:2px}.data-label.demo{color:#ae996f;background:#faf6ed}.history-pagination{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 16px;font-size:11px;color:#909aa8;border:1px solid #eee;border-top:0}.history-pagination>div{display:flex;gap:13px;align-items:center}.history-pagination button{border:1px solid #ddd;background:white;padding:5px 9px;font-size:11px;color:#7a8999}.history-pagination button:hover:not(:disabled){color:var(--orange);border-color:#ffb780}.empty-state{text-align:center;padding:36px 15px;color:#929eaa;font-size:13px}.empty-state[hidden]{display:none}footer{padding:27px 0 24px;text-align:center;color:#a5a5a5;font-size:11px;margin-top:25px;border-top:1px solid #e8e8e8}footer>div{display:flex;align-items:center;justify-content:center;gap:18px}footer strong{font-size:17px;color:#949494;font-style:italic}footer p{font-size:10px}footer button{font-size:11px;color:#7890aa}dialog{border:1px solid #ddd;border-top:3px solid #fb8625;border-radius:3px;padding:0;max-width:900px;width:calc(100% - 32px);color:#222;box-shadow:0 15px 80px #0002}dialog::backdrop{background:#26344666}.dialog-header{display:flex;justify-content:space-between;align-items:center;padding:16px 22px;border-bottom:1px solid #eee;background:#fafafa}.dialog-header h2{font-size:17px;font-weight:500;margin:0}.dialog-header button{font-size:26px;color:#999;padding:0 7px}.dialog-body{padding:20px 22px;max-height:72vh;overflow:auto}.dialog-body p{font-size:13px;color:#738292;line-height:1.9}.dialog-body a{color:#058ed7;overflow-wrap:anywhere}.rule-item{padding:12px 0;border-bottom:1px solid #eee}.rule-item h3{font-size:15px;margin:0 0 5px}.rule-item p{margin:0;font-size:12px}.dialog-notice{background:#fff8ed;color:#a08045;padding:10px 14px;font-size:12px;margin-bottom:15px}.toast{position:fixed;z-index:5;bottom:28px;left:50%;transform:translateX(-50%);background:#383b46;color:white;padding:12px 22px;border-radius:3px;font-size:13px;max-width:calc(100% - 24px);width:max-content}.toast[hidden]{display:none}
@media(max-width:1160px){.wrap{padding:0 16px}.header-caption{display:none}.list-head,.lottery-row{grid-template-columns:218px minmax(225px,1fr) 290px 28px;gap:7px;padding:0 10px}.lottery-logo{height:66px;width:66px;border-width:7px}.lottery-info{gap:10px}.lottery-info h3{font-size:15px}.period strong{font-size:15px}.ball{height:35px;width:35px;font-size:18px}.numbers.au8{gap:4px}.numbers.au8 .ball{height:28px;width:28px;font-size:15px}.next-description strong{font-size:14px}.timer .digit{min-width:30px;height:35px;font-size:17px}.draw-side{padding-left:5px}.timer{gap:4px}.source-badge{font-size:9px;margin-left:4px}}
@media(max-width:880px){.masthead{height:93px}.brand{min-width:145px}.slogan h1{font-size:20px;letter-spacing:1px}.slogan>span{font-size:12px;letter-spacing:1px}.nav-end{display:none}.list-head,.lottery-row{grid-template-columns:185px minmax(205px,1fr) 225px 24px;gap:5px;padding:0 8px}.lottery-logo{width:54px;height:54px;border-width:5px}.logo-inner{height:40px;width:40px}.lottery-info{gap:8px}.lottery-info h3{font-size:14px}.period strong{font-size:14px}.source-badge{display:inline-block;vertical-align:1px;font-size:8px}.numbers.au8{gap:3px}.numbers.au8 .ball{height:24px;width:24px;font-size:13px}.countdown-line{gap:4px}.next-description{font-size:10px}.next-description strong{font-size:12px}.timer{font-size:10px;gap:3px}.timer .digit{min-width:26px;height:31px;font-size:15px}.number-caption{font-size:9px}.detail-line{font-size:10px}.draw-side{gap:8px}.row-links{font-size:11px}.row-links button{font-size:11px}}
@media(max-width:720px){.wrap{padding:0 12px}.announcement{font-size:10px}.announcement .wrap{min-height:28px}.announcement-right{display:none}.masthead{height:89px;gap:10px}.brand{min-width:122px}.brand strong{font-size:35px}.brand strong span{font-size:24px}.brand small{font-size:8px;letter-spacing:1px;margin-left:4px}.brand-arc{left:43px;top:-12px;width:47px;height:16px;border-width:4px}.slogan h1{font-size:14px;letter-spacing:1px;margin-bottom:6px}.slogan>span{font-size:9px;letter-spacing:0;padding:2px 6px}.navigation .wrap{height:43px;padding:0 4px}.navigation a,.navigation button{padding:0 15px;font-size:13px}.connection-strip{font-size:10px;gap:5px;min-height:48px}.connection-strip #connection-text{flex:1;min-width:180px}.connection-strip button{font-size:10px}.section-bar{height:49px}.section-bar h2{font-size:15px}.orange-button{font-size:11px;padding:4px 12px}.list-head{display:none}.lottery-row{position:relative;display:grid;grid-template-columns:1fr;gap:0;min-height:0;padding:17px 14px 15px}.lottery-info{gap:11px}.lottery-info h3{font-size:16px}.lottery-logo{height:62px;width:62px;border-width:6px}.logo-inner{height:46px;width:46px}.source-badge{font-size:9px;vertical-align:2px;display:inline-block}.period{font-size:11px}.period strong{font-size:16px}.detail-line{font-size:10px}.number-area{padding:16px 0 14px;gap:6px;align-items:flex-start;padding-left:73px}.ball{height:35px;width:35px;font-size:19px}.numbers{gap:5px}.numbers.au8{gap:5px}.numbers.au8 .ball{height:29px;width:29px;font-size:15px}.number-area:has(.au8){padding-left:0;align-items:center}.number-caption{font-size:10px}.draw-side{padding:11px 0 0;border-top:1px dashed #ddd;gap:8px}.row-links button{font-size:11px}.countdown-line{justify-content:space-between;gap:7px}.next-description{font-size:11px}.next-description strong{font-size:16px}.timer{font-size:12px;gap:5px}.timer .digit{min-width:33px;height:34px;font-size:18px}.timer-note{font-size:9px;margin-top:-4px}.hide-row{position:absolute;right:10px;top:16px;font-size:24px}.list-note{font-size:10px;gap:7px;padding:11px 2px}.history-section{margin-top:17px}.history-toolbar{padding:12px;gap:13px}.tabs{width:100%;gap:5px}.tabs button{flex:1;padding:7px 6px;font-size:12px;white-space:nowrap}.tabs small{font-size:8px;margin-left:3px}.history-toolbar label{width:100%;justify-content:space-between;font-size:11px}.history-toolbar input{font-size:13px;min-height:32px}.history-description{font-size:10px;padding:10px 12px}table{min-width:630px}th,td{padding:9px 14px}.history-pagination{padding:12px 10px;font-size:10px}.history-pagination>div{gap:8px}.history-pagination button{padding:5px 6px;font-size:10px}.dialog-body{padding:15px}.dialog-header{padding:14px 16px}.dialog-header h2{font-size:16px}footer>div{flex-direction:column;gap:8px}footer p{line-height:1.8}}
@media(max-width:360px){.wrap{padding:0 9px}.slogan h1{font-size:12px}.slogan>span{font-size:8px}.brand{min-width:107px}.brand strong{font-size:32px}.navigation a,.navigation button{padding:0 12px;font-size:12px}.lottery-row{padding:15px 11px}.number-area{padding-left:65px}.ball{height:32px;width:32px;font-size:18px}.numbers.au8 .ball{height:28px;width:28px}.numbers.au8{gap:4px}.next-description strong{font-size:15px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.history-game-label{font-size:13px;color:#fa6a24;padding:7px 0;font-weight:500}
.navigation .wrap{overflow-x:auto}.navigation a,.navigation button{flex-shrink:0;white-space:nowrap}
