/* Shared lottery center. Keep the video player independent from ball styles. */
html{font-size:50px}body{background:#f4f7fb;padding-top:110px}.site-header--global{position:fixed;top:0;left:50%;transform:translateX(-50%);width:calc(100% - 20px);max-width:410px;height:110px;background:#fff;z-index:100}.site-header__brand{height:70px;display:flex;align-items:center;justify-content:space-between}.site-header__logo{width:160px;height:78px;object-fit:contain}.site-header__style{background:#24449d;color:white;border-radius:4px;padding:9px;font-size:12px;font-weight:700}.site-header__nav-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding-bottom:4px}.site-header__nav-list a{display:flex;align-items:center;justify-content:center;text-align:center;min-height:36px;font-size:13px;border-radius:4px;background:#dfdddd;color:#111}.site-header__nav-list a.active{background:#24449d;color:#fff;font-weight:700}.pc-topnav{display:none}.macau-home{width:calc(100% - 20px);max-width:410px;margin:auto;background:#fff}.hero-banner-card{position:relative;border-radius:12px;overflow:hidden;aspect-ratio:1000/322;margin-bottom:4px}.hero-banner,.hero-banner img{width:100%;height:100%;object-fit:cover;display:block}.hero-dots{position:absolute;bottom:8px;left:0;right:0;display:flex;gap:8px;justify-content:center}.hero-dots button{width:8px;height:8px;border-radius:50%;background:#fff7}.hero-dots button.active{background:#fff}.home-draw-panel{border:1px solid #24449d;border-radius:5px;color:#173b95;overflow:hidden}.home-draw-panel .draw-head{padding:6px 10px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #24449d;gap:4px}.draw-name{font-size:18px;font-weight:700;white-space:nowrap}.draw-meta{text-align:right;font-size:12px;line-height:1.2}.home-draw-panel .timer-row{display:flex;align-items:center;justify-content:center;gap:5px;padding:3px 8px}.timer-digits{display:flex;align-items:center;justify-content:center;gap:4px}.timer-box{width:30px;height:38px;display:flex;align-items:center;justify-content:center;border:1px solid #acd4b8;border-radius:5px;font-size:31px;font-weight:700;color:#15552e}.timer-box.colon{border:0;width:10px;color:#24449d;font-size:27px}.draw-links{display:flex;flex-direction:column;align-items:flex-start;gap:4px;font-size:10px;white-space:nowrap}.draw-links a{border:1px solid #24449d;padding:3px 6px;border-radius:20px}.latest-issue-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:6px;padding:0 10px;font-size:11px;min-height:28px}.scratch-toggle,.sim-toggle{font-size:12px;color:#173b95;font-weight:700;white-space:nowrap;min-height:28px}.home-draw-panel .live-draw-results{display:flex;align-items:flex-start;justify-content:space-around;padding:0 8px 4px;gap:1px}.ball-wrap{display:flex;flex:1;min-width:0;align-items:center;flex-direction:column;color:#000}.home-draw-panel .ball{width:clamp(28px,9vw,40px);height:clamp(28px,9vw,40px);background-size:100% 100%}.home-draw-panel .ball-number{font-size:19px}.home-draw-panel .ball-wrap>span{font-size:13px;font-weight:400}.home-draw-panel .plus{align-self:center;color:red;font-size:20px}.simulation-empty{background:#edf0f5!important;color:#6c8099!important;font-size:12px!important;font-weight:700}.section-head{color:#173b95;font-size:16px;padding:6px 0}.home-history-list{padding:0}.home-history-list .history-item{padding:6px 8px}.scene-page{max-width:410px}.scene-root .container{padding-left:0;padding-right:0}.scene-page .scene-deadline-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.scene-page .scene-deadline-row .sim-toggle{float:none;font-size:13px;color:#173b95}.site-header__nav-list a[hidden]{display:none}.scene-root .auto-player-section{margin-top:4px}.scene-page .timer-digits{margin:4px 0}.history-page{min-height:calc(100vh - 110px)}#picker-panel{padding:16px;color:#173b95}#picker-numbers{display:grid;grid-template-columns:repeat(7,1fr);gap:7px;margin:12px 0}#picker-numbers button{height:36px;border:1px solid #ccd7ec;border-radius:50%;background:#fff}#picker-numbers button[aria-pressed=true]{background:#24449d;color:#fff}#picker-random,#picker-clear{padding:8px 14px;background:#24449d;color:#fff;margin-right:10px;border-radius:4px}
@media(min-width:900px){html{font-size:100px}body{padding-top:160px;padding-bottom:0;background:#f4f7fb}.pc-topnav{position:fixed;display:block;top:0;left:0;right:0;height:58px;background:#fff;box-shadow:0 1px 6px #0001;z-index:3000}.pc-topnav__inner{max-width:760px;height:58px;margin:auto;padding:0 12px;display:flex;align-items:center}.pc-topnav__menu{display:flex;gap:8px;margin-left:auto}.pc-topnav__menu a{padding:6px 18px;border-radius:6px;font-size:15px;font-weight:700;color:#333;white-space:nowrap}.pc-topnav__menu a:hover{background:#eef2f8}.site-header--global{width:100%;max-width:760px;top:58px;height:102px}.site-header__brand{height:58px}.site-header__logo{width:198px;height:96px;margin-top:-30px}.site-header__style{padding:10px;font-size:13px}.site-header__nav-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0 0 4px}.site-header__nav-list a{font-size:17px;min-height:42px}.macau-home,.history-page,.scene-page,.container{width:100%;max-width:760px;margin:auto}.app-tabbar{display:none}.history-page,.scene-page{padding-bottom:0}.home-draw-panel .draw-head{padding:6px 10px}.draw-name{font-size:24px}.draw-meta{font-size:16px}.home-draw-panel .timer-row{gap:9px;padding:3px 10px}.timer-digits{gap:9px}.timer-box{width:58px;height:66px;font-size:56px;border-radius:6px}.timer-box.colon{width:16px;font-size:44px}.draw-links{gap:5px;font-size:13px}.draw-links a{padding:3px 10px}.latest-issue-row{gap:24px;font-size:13px;min-height:36px}.scratch-toggle,.sim-toggle{min-height:36px;font-size:17px;padding:0 8px}.home-draw-panel .ball,.scene-ball-shell .ball{width:70px;height:70px;flex:none;margin:auto}.home-draw-panel .ball-number,.scene-ball-shell .ball-number{font-size:31px}.home-draw-panel .ball-wrap>span,.scene-ball-shell .ball-wrap>span{font-size:16px;line-height:18px}.home-draw-panel .plus{font-size:28px}.history-page .select-box{max-width:760px;padding-left:14px;padding-right:14px}.history-year{font-size:16px}.tags .tag{font-size:13px;padding:4px 10px;height:auto}.lottery-history-list{padding-left:8px;padding-right:8px}.history-ball{width:60px;height:60px;font-size:28px}.history-ball span{-webkit-text-stroke:.6px #000;line-height:1}.history-plus{height:60px;font-size:30px}.history-zodiac{font-size:16px;line-height:18px}.history-line{gap:8px;margin-bottom:2px}.history-label,.history-issue,.history-time{font-size:16px}.history-live{font-size:12px;line-height:18px;padding:0 8px}.section-head{font-size:18px}.history-more{font-size:15px}.scene-page .scene-deadline-row{gap:24px;font-size:16px}.scene-page .scene-deadline-row .sim-toggle{font-size:17px}.scene-result-head{font-size:18px;min-height:38px}.scene-ball-shell .live-draw-results{min-height:95px}.scene-page .playback-card .video-info .title{font-size:15px}.simulation-empty{font-size:22px!important}.home-history-list .history-item{padding:6px 0}.history-kj-embed{height:250px}.calendar-day{height:80px}.history-balls{column-gap:8px;grid-template-columns:repeat(6,minmax(0,1fr)) 20px minmax(0,1fr)}}
@media(max-width:359px){.draw-name{font-size:15px}.draw-meta{font-size:10px}.home-draw-panel .timer-row{gap:3px;padding:3px}.timer-digits{gap:2px}.timer-box{width:25px;height:34px;font-size:27px}.timer-box.colon{width:7px;font-size:23px}.draw-links{font-size:9px}.draw-links a{padding:3px 4px}.latest-issue-row{gap:1px;padding:0 4px}.site-header__nav-list a{font-size:11px}.site-header__logo{width:145px}.history-label{min-width:3.5em}}
@media(min-width:900px){body{padding-top:196px}.site-header--global{height:138px}.site-header__brand{height:94px}.site-header__logo{margin-top:0}}

.home-draw-panel .draw-meta{line-height:1.05}

.site-header__nav-list{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:899px){.site-header__nav-list a{font-size:11px}}
