:root{--page: #4b427d;--panel: #2a2150;--accent: #fe6e2c;--cream: #fff1ea;--muted: #878787;--gold: #ffd600;--ink: #3d3d3d}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--page);font-family:Arial,Microsoft JhengHei,PingFang TC,sans-serif}button,input{font:inherit}button{cursor:pointer}.main-content{width:min(1170px,100%);margin:0 auto;background:var(--panel)}.hero{position:relative;z-index:0;height:315px;color:#fff;background:url(/assets/38a7eb26.png) center top / cover no-repeat}.topbar{display:flex;align-items:center;height:80px;padding:10px 20px;background:url(/assets/8ea7cabb.png) center top / cover no-repeat}.brand{display:block;width:89px;height:60px;margin-right:24px}.brand img{width:100%;height:100%;object-fit:contain}.navlinks{display:flex;gap:16px;align-items:center;height:52px}.navlinks button{padding:0;color:#fff;background:transparent;border:0;font-size:16px;font-weight:700;line-height:38px;white-space:nowrap}.navlinks button.active{color:var(--accent)}.now-time{margin-left:auto;color:#c3d0d7;font-size:18px}.countdown-panel{position:absolute;top:80px;right:40px;width:294px;text-align:right}.issue-line{display:flex;justify-content:flex-end;align-items:center;gap:10px;height:22px;font-size:16px;font-weight:700}.issue-line>span,.issue-line>.issue-number-pill{display:inline-flex;align-items:center;justify-content:center;min-width:139px;height:28px;color:#7a6543;background:#fff1bb;border-radius:15px;font-weight:500}.issue-line .issue-number-pill span{display:inline;min-width:0;height:auto;color:var(--accent);background:transparent;border-radius:0}.countdown{display:flex;align-items:center;gap:12px;margin-top:16px;color:var(--gold)}.countdown b{color:#16242c;font-size:52px;line-height:72px}.timebox{display:inline-flex;align-items:center;justify-content:center;width:82px;height:72px;color:var(--gold);background:#16242c;border-radius:8px;font-size:48px;font-weight:700;line-height:1}.deadline{margin-top:14px;color:#1c2e39;font-size:14px}.page-bg{position:relative;z-index:1;min-height:920px;padding-bottom:60px;background:url(/assets/998092c5.png) center top / 1170px auto repeat-y}.page-bg.home-shell{background:url(/assets/998092c5.png) 0 340px / 100% auto no-repeat}.current-issue{position:relative;height:364px;padding-top:80px;padding-bottom:42px;background:url(/assets/2e3e3180.png) left top / 100% auto no-repeat;background-position:0 24px;transform:translateY(-94px)}.current-inner{width:648px;margin:0 auto;text-align:center}.current-issue-number{padding-left:20px;text-align:left;transform:translateY(-10px)}.pill{display:inline-flex;align-items:center;justify-content:center;min-width:142px;height:28px;margin-bottom:12px;color:#7a6543;background:#fff1bb;border-radius:15px;font-size:16px}.balls{display:flex;align-items:flex-start}.balls.large{justify-content:center;height:102px}.ball-item{width:48px;height:72px;margin-right:12px;text-align:center;flex:0 0 auto}.ball-img{display:block;width:48px;height:48px;background-position:center;background-size:contain;background-repeat:no-repeat}.ball-item.large{width:73px;height:102px}.ball-item.large .ball-img{width:73px;height:66px}.balls .ball-item:last-child{margin-right:0}.zodiac{display:block;height:16px;margin-top:4px;color:var(--ink);font-size:16px;line-height:16px}.large .zodiac{color:#fff}.current-issue .zodiac{color:#fff;font-weight:700}.plus{display:inline-flex;align-items:center;justify-content:center;width:16px;height:48px;margin:0 12px 0 -2px;color:#fff;font-size:24px;font-weight:700}.button-row{display:flex;justify-content:center;gap:10px;margin-top:16px}.button-row button,.filter-controls button,.api-card button{min-width:64px;height:36px;padding:0 16px;color:var(--accent);background:var(--cream);border:1px solid var(--cream);border-radius:4px}.button-row .outline,.filter-controls button:not(.selected){color:#e9d5a6;background:transparent;border-color:#e9d5a6}.page-view{width:648px;margin:-92px auto 0;padding-bottom:48px;color:#fff}.page-view h1{margin:0 0 26px;font-size:28px;line-height:1}.tabs{display:flex;height:56px;margin-bottom:20px;border-bottom:1px solid rgba(255,255,255,.34)}.tabs button{min-width:120px;height:54px;color:var(--muted);background:transparent;border:0;border-bottom:2px solid transparent;font-size:16px}.tabs button.selected{color:var(--cream);border-bottom-color:var(--cream)}.filters{display:flex;align-items:center;justify-content:space-between;min-height:36px;margin-bottom:20px}.filters h2{margin:0;color:var(--cream);font-size:22px;line-height:36px}.filter-controls{display:flex;align-items:center;gap:10px}.filter-controls button{width:67px;min-width:67px;padding:0}.search{position:relative;display:flex;align-items:center;width:221px;height:36px}.search span{position:absolute;left:13px;color:#b8b1cc;font-size:18px}.search input{width:100%;height:36px;padding:0 12px 0 34px;color:#fff;background:transparent;border:1px solid rgba(255,255,255,.7);border-radius:4px;outline:none}.search input::placeholder{color:#d3cae4}.lottery-list{display:grid;gap:12px}.draw-card{width:648px;min-height:132px;padding:18px 34px 20px;color:var(--ink);background:#fff;border-radius:8px}.draw-head{display:flex;justify-content:space-between;align-items:center;height:24px;margin-bottom:14px;font-size:14px}.draw-head .time{color:#2f2946;font-size:16px;font-weight:700}.draw-body{display:flex;align-items:flex-start;justify-content:center}.draw-card .balls{justify-content:center;width:100%}.draw-card .ball-item,.draw-card .plus{margin-right:28px}.empty-state{display:flex;align-items:center;justify-content:center;min-height:140px;color:#e9d5a6;border:1px dashed rgba(233,213,166,.55);border-radius:8px}.api-panel h2{margin:0 0 14px;color:var(--cream)}.api-grid{display:grid;gap:12px}.api-card{display:grid;grid-template-columns:118px 1fr 72px;align-items:center;min-height:72px;padding:16px 18px;color:var(--ink);background:#fff;border-radius:8px}.api-card code{color:#6b5b91;font-family:Consolas,monospace;overflow:hidden;text-overflow:ellipsis}.api-card button{color:#fff;background:var(--accent);border-color:var(--accent);text-decoration:none}.api-doc{margin-top:16px;padding:16px 18px;color:var(--ink);background:#fff;border-radius:8px;line-height:1.7;overflow-wrap:anywhere}.api-doc p{margin:0 0 6px}.home-page{margin:0 auto;color:#fff}.home-page .each-no{width:648px;margin:-92px auto 0;color:#fff;font-size:27px;font-weight:700}.home-title{margin-bottom:0;color:#fff;font-size:27px;font-weight:700;line-height:1}.home-toggle{display:none;align-items:center;width:max-content;margin:44px auto 0;padding:8px 16px;color:#fff1ea;background:transparent;border:2px solid #fff1ea;border-radius:4px;font-size:16px;font-weight:700;line-height:1}.home-toggle .show-icon{display:inline-block;margin-left:6px;transform:rotate(0);transition:transform .2s}.home-toggle .show-icon.show{transform:rotate(180deg)}.home-list-wrap{padding-top:0}.mobile-toggle{margin-bottom:14px}.content-card{padding:28px;color:var(--ink);background:#fff;border-radius:8px}.qa-list{margin:0}.qa-list dt{margin:0 0 8px;font-weight:700;color:#2a2150}.qa-list dd{margin:0 0 20px;line-height:1.7;color:#605b6b}.faq-page{width:min(900px,calc(100% - 112px))}.faq-page h1{margin-bottom:24px;font-size:32px;font-weight:800;line-height:1.2}.faq-page .tabs{height:48px;margin-bottom:24px;border-bottom-color:#ffffff94}.faq-page .tab-title button{min-width:112px;margin-right:30px;padding:0 0 14px;color:#ffffff70;font-size:18px;font-weight:800;text-align:center}.faq-page .tab-title button.selected{color:#fff}.faq-page .tab-title button.selected:after{bottom:-2px;height:3px;background:#fff}.faq-page .content-card{padding:34px 34px 30px;border-radius:24px}.faq-page .qa-list{max-width:none;padding:0;font-size:17px;line-height:1.18}.faq-page .qa-list dt{margin:0 0 2px;color:#d3541f;font-size:18px;font-weight:800;line-height:1.2}.faq-page .qa-list dd{margin:0 0 28px;color:#3f4655;font-size:17px;line-height:1.16}.faq-page .qa-list dd:last-child{margin-bottom:0}.misce-page p,.content-card p,.text-flow{line-height:1.8;color:#605b6b}.about-intro{margin-top:0}.rule-table{width:100%;border-collapse:collapse;font-size:14px}.rule-table td{padding:12px;border:1px solid #d9d2e6;line-height:1.6}.rule-table tr:first-child td{color:#fff;background:#6b5b91}.about-page{width:min(600px,calc(100% - 104px))}.about-page h1{margin-bottom:24px;font-size:26px;font-weight:800;line-height:1.2}.about-page .tabs{height:34px;margin-bottom:18px;border-bottom-color:#ffffff94}.about-page .tab-title button{min-width:100px;margin-right:28px;padding:0 0 10px;color:#ffffff73;font-size:13px;font-weight:800;text-align:center}.about-page .tab-title button.selected{color:#fff}.about-page .tab-title button.selected:after{bottom:-2px;height:3px;background:#fff}.about-page .content-card{padding:24px 14px 22px;border-radius:16px}.about-page .about-intro,.about-page .rules-box,.about-page .rule-notes{color:#405060;font-size:13px;line-height:1.75}.about-page .about-intro{margin:0 0 22px;padding:0 2px}.rules-box{border:1px solid #d6d6d6;border-top:3px solid #e1272f}.about-rules-box{padding:0 20px 24px}.rules-box h2{margin:-29px 0 20px;color:#405060;background:#fff;text-align:center;font-size:18px;line-height:26px}.about-logo{display:flex;justify-content:center;margin:6px 0 24px}.about-logo img{width:90px;height:auto}.about-rule-copy{padding:10px 10px 4px;border:1px solid #9e9e9e;border-bottom:0}.about-rule-copy p{margin:0 0 8px;color:#405060;font-size:13px;line-height:1.8}.about-page .rule-table{color:#405060;border:1px solid #9e9e9e;font-size:13px}.about-page .rule-table td{padding:9px 10px;border:1px solid #9e9e9e;line-height:1.8;vertical-align:middle}.about-page .rule-table tr:first-child td{color:#405060;background:#fff}.about-rule-table td:first-child{width:48px}.about-rule-table td:nth-child(2){width:158px}.game-rules-box{padding:18px 20px 20px}.game-rule-table td:first-child{width:64px}.rule-notes{padding-top:18px}.rule-notes p{margin:0 0 8px;color:#405060;font-size:13px;line-height:1.5}.rule-notes p.heading{margin:18px 0 4px}.policy-box{padding:18px 20px 28px;border:1px solid #d6d6d6;color:#405060}.policy-row{display:grid;grid-template-columns:72px 1fr;column-gap:18px;margin-bottom:12px;font-size:13px;line-height:1.9}.policy-row.chapter{display:block;margin:12px 0 18px}.policy-row.chapter:first-child{margin-top:0}.policy-row.chapter h2{margin:0;color:#d71920;font-size:15px;font-weight:800;line-height:1.4}.policy-label{color:#405060;font-weight:500}.policy-copy{color:#405060;line-height:1.95}.policy-row.intro .policy-copy,.policy-row.article .policy-copy{text-indent:0}.footer{display:flex;align-items:center;padding:20px;color:#848484;background:#fff;font-size:16px}.footer img{width:118px;margin-right:12px}.footer p{margin:0 0 6px;font-size:14px}.footer .footer-txt>p:first-child{color:#515151}.footer .footer-txt>p:last-child{color:#878787}.brand h1{display:none}.issue-number-pill{display:inline-flex;align-items:center;justify-content:center;padding:4px 20px;color:#16242c;background:#ffedbe;border-radius:100px;font-size:16px;line-height:1;font-weight:400}.issue-number-pill span{margin:0 4px;color:var(--accent);font-weight:500}.tab-title button{position:relative;min-width:unset;height:auto;padding:10px 32px;color:#878787;background:transparent;border:0;border-radius:0;font-size:14px;font-weight:700;line-height:1}.tab-title button.selected{color:var(--cream);border:0}.tab-title button.selected:after{content:"";position:absolute;left:0;bottom:-2px;width:100%;height:2px;background:var(--cream)}.filter-box .filter{display:flex}.filter-box .filter button{width:84px;height:36px;min-width:84px;padding:0 16px;color:#e9d5a6;background:transparent;border:2px solid #e9d5a6;border-radius:4px;font-size:16px;font-weight:700;line-height:32px;white-space:nowrap}.filter-box .filter button+button{margin-left:10px}.filter-box .filter button.active{color:var(--accent);border-color:var(--cream);background:var(--cream)}.common-width{margin-top:20px;padding:16px 28px;background:#fff;border-radius:8px}.list-item-content{display:flex;justify-content:space-between;align-items:center;width:100%}.miscePage{max-width:860px;margin:0 auto;padding:0 10px;text-align:left;line-height:1.8;word-break:break-all;font-size:15px;font-weight:400}.miscePage p{text-align:left}.miscePage pre{white-space:pre-wrap;word-break:break-all;text-align:left}.miscePage .t{margin-top:16px;color:var(--accent);font-weight:700}.miscePage code{padding:2px 4px;color:#6b5b91;background:#ffffffb8;border-radius:3px}.mobile-footer{display:none}.menu-item{display:flex;flex:1;flex-flow:column;justify-content:center;align-items:center;color:#c8c0ea;background:#3b2e72;border:0;border-right:1px solid #2a2150}.menu-item.active{color:#f4f1ff;background:#9278ff}.menu-item span{font-size:12px;font-weight:600}@media (max-width: 760px){.hero{height:320px;background-position:35% top}.topbar{height:75px;padding:10px 12px}.brand{width:82px;min-width:82px;margin-right:10px}.navlinks{gap:12px;overflow-x:auto}.navlinks button{font-size:14px}.now-time{display:none}.countdown-panel{top:86px;right:14px;width:232px}.countdown{justify-content:flex-end;gap:8px;margin-top:12px}.timebox{width:58px;height:54px;font-size:34px}.countdown b{font-size:34px;line-height:54px}.deadline,.issue-line{font-size:12px}.page-bg.home-shell{background-size:100% auto;background-position:0 0}.current-issue{height:244px;padding:28px 20px 0;background-position:0 0;transform:translateY(-54px)}.current-inner,.page-view{width:100%}.current-issue-number{padding-left:4px;transform:translateY(-6px)}.home-page .each-no{width:100%;margin-top:0}.home-title{display:none}.home-toggle{display:flex}.home-list-wrap{display:none;padding:0 10px}.home-page.is-open .home-list-wrap{display:block}.balls.large{height:53px}.ball-item,.ball-item.large{width:32px;height:53px;margin-right:8px}.ball-img,.ball-item.large .ball-img{width:32px;height:32px}.zodiac{font-size:12px}.plus{width:12px;height:32px;margin:0 8px 0 0;font-size:18px}.button-row button{min-width:60px;padding:0 10px;font-size:14px}.page-view{margin-top:0;padding:0 10px 30px}.page-view h1{display:none}.faq-page{width:100%}.faq-page .tabs{height:46px;margin-bottom:14px}.faq-page .tab-title button{min-width:0;margin-right:0;padding:10px 8px;font-size:14px}.faq-page .content-card{padding:22px 16px;border-radius:16px}.faq-page .qa-list dt{font-size:16px;line-height:1.3}.faq-page .qa-list dd{margin-bottom:20px;font-size:15px;line-height:1.35}.about-page{width:100%}.about-page .tabs{height:46px;margin-bottom:14px}.about-page .tab-title button{min-width:0;margin-right:0;padding:10px 8px;font-size:13px}.about-page .content-card{padding:18px 10px;border-radius:16px}.about-rules-box,.game-rules-box{padding:16px 10px;overflow-x:auto}.rules-box h2{margin-top:0}.about-page .rule-table{min-width:520px}.policy-box{padding:16px 12px}.policy-row{display:block;margin-bottom:14px;font-size:12px;line-height:1.55}.policy-label{margin-bottom:4px;font-weight:800}.policy-copy{line-height:1.65}.rule-notes p{font-size:12px}.filters{align-items:stretch;flex-direction:column;gap:10px}.filters h2{display:none}.filter-controls{display:grid;grid-template-columns:1fr 1fr}.filter-controls button,.search{width:100%}.search{grid-column:1 / -1}.draw-card{width:100%;min-height:118px;padding:14px 12px 16px}.draw-head{height:auto;gap:8px;margin-bottom:12px}.draw-head .time{font-size:13px}.draw-body{align-items:center;gap:8px}.draw-card .balls{flex:1;min-width:0}.draw-card .ball-item,.draw-card .plus{margin-right:8px}.api-card{grid-template-columns:1fr;gap:8px}.content-card{padding:18px 14px}.footer{flex-direction:column;align-items:flex-start;margin-bottom:80px}.footer img{width:60px;margin:0 0 6px}.mobile-footer{position:fixed;left:0;right:0;bottom:0;z-index:9999;display:flex;height:80px}.tab-title button{flex:1;padding:10px 8px}.filter-box .filter{width:100%}.filter-box .filter button{flex:1}.common-width{padding:16px 12px}.issue-number-pill{padding:4px 14px;font-size:14px}.miscePage{padding:16px;background:#fff;border-radius:10px;color:var(--ink)}.api-panel.miscePage{background:transparent;color:#fff}}
