.daily-lottery-page{max-width:820px;margin:0 auto;padding:18px 12px 60px}.dl-heading{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.dl-heading h1{margin:14px auto 14px 0}.dl-heading>a{font-size:14px}.dl-actions{display:flex;gap:7px;flex-wrap:wrap}.dl-actions a{border:1px solid #3d466b;border-radius:18px;padding:7px 14px;color:#b7c0e7}.dl-actions a.active{background:#667ad6;border-color:#7e90ee;color:#fff}.dl-hero{background:linear-gradient(135deg,#667ad6,#2f3b73);border-radius:14px;padding:24px 26px;margin:14px 0;color:#fff;position:relative}.dl-hero h2{margin:0 0 8px;font-size:26px}.dl-hero p{color:#e7ebff;max-width:600px;margin:0}.dl-sandbox{display:inline-block;margin-top:16px;font-size:11px;letter-spacing:.08em;color:#d8ff2d}.dl-detail{background:#2f3b73;border-radius:10px;padding:14px;color:#fff}.dl-line{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 4px;border-bottom:1px solid #8290c5}.dl-line>span,.dl-section-title{font-size:14px;color:#fff}.dl-line>strong{font-family:Din,Arial,sans-serif;font-size:14px;font-weight:600}.dl-balls,.dl-number-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}.dl-ball,.dl-my-ball{min-width:28px;height:28px;padding:4px 7px;border-radius:50%;background:#5367bf;display:inline-flex;align-items:center;justify-content:center;font-family:Din,Arial,sans-serif}.dl-ball.is-small,.dl-my-ball.is-small{font-size:11px}.dl-subpanel{background:#2f3b73;border-radius:10px;margin-top:10px;padding:12px}.dl-section-title{font-weight:600;margin-bottom:8px}.dl-sets{max-height:300px;overflow:auto}.dl-number-set{border-top:1px solid #8290c5;padding:10px 0}.dl-number-set:first-child{border-top:0}.dl-set-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}.dl-incomplete{color:#ff9292;font-size:12px}.dl-my-ball.is-match-one{color:#d8ff2d}.dl-my-ball.is-match-two{color:#81ffef}.dl-help,.dl-source-note{font-size:12px;color:#d4daf7;margin:8px 0 0}.dl-empty{font-size:13px;color:#d4daf7}.dl-empty-inline{font-size:13px;color:#c1c9ef}.dl-rewards{display:grid;gap:10px}.dl-reward{background:#7582bc;border-radius:8px;padding:9px}.dl-reward-heading{font-size:13px;margin-bottom:7px}.dl-reward-body{display:flex;align-items:center;gap:14px;background:#aebdff;border-radius:7px;padding:9px;color:#383e54}.dl-reward-body img,.dl-reward-placeholder{width:58px;height:58px;border-radius:5px;background:#fff;display:flex;align-items:center;justify-content:center;object-fit:contain}.dl-reward-body strong{display:block;max-width:550px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dl-reward-body small{display:block;color:#383e54;margin-top:5px}.dl-reward-placeholder{font-size:23px;color:#667ad6}.dl-empty-page{border:1px dashed #4d5573;border-radius:12px;padding:38px 24px;text-align:center;background:#181b2b}.dl-empty-page h2{margin-top:0}.dl-empty-page p{max-width:620px;margin:10px auto}.dl-empty-links{display:flex;justify-content:center;gap:10px;margin-top:20px;flex-wrap:wrap}.dl-task-list{display:grid;gap:9px;margin-top:14px}.dl-task{display:flex;justify-content:space-between;gap:12px;border:1px solid #424a6d;border-radius:9px;padding:14px;background:#242943}.dl-loading{padding:50px 0;text-align:center;color:#b4bad6}@media(max-width:600px){.daily-lottery-page{padding:10px 10px 40px}.dl-heading{gap:10px}.dl-heading h1{flex-basis:100%;order:2;margin:2px 0 4px}.dl-heading>a{order:1}.dl-actions{order:3;width:100%}.dl-actions a{flex:1;text-align:center}.dl-hero{padding:18px}.dl-detail{padding:9px}.dl-line{align-items:flex-start;flex-direction:column}.dl-balls,.dl-number-row{justify-content:flex-start}.dl-reward-body strong{max-width:210px}}
/* Source artwork is a public preview; account draws still use the recorded-data view. */
.daily-lottery-page.dl-source-preview{max-width:none;padding:0 0 40px;margin:0;background:#02052e;color:#fff;position:relative;font-family:Poppins,Arial,sans-serif}
.dl-source-preview>.dl-heading{max-width:375px;margin:0 auto;padding:6px 0;gap:8px;justify-content:space-between}
.dl-source-preview>.dl-heading>h1{font-size:13px;margin:0 auto 0 0;line-height:1.4}
.dl-source-preview>.dl-heading>a{display:none}
.dl-source-preview .dl-actions{gap:5px;width:auto;order:initial}.dl-source-preview .dl-actions a{font:11px/1.2 Arial,sans-serif;padding:5px 9px;border-radius:5px;background:#48588c;color:#fff;border-color:#7b91c6}
.dl-source-preview .dl-actions a.active{background:#6c83d8;border-color:#a3b6ff}
.dl-preview-layout{min-height:100vh;background:#02052e}.dl-preview-column{width:375px;max-width:calc(100% - 30px);margin:0 auto;padding-bottom:40px;background-image:var(--dl-art-background);background-position:center top;background-size:100% auto;background-repeat:no-repeat}
.dl-preview-poster{height:164px;width:100%;background-image:var(--dl-art-poster);background-size:100% 100%;background-position:center;position:relative}
.dl-preview-details{position:absolute;right:7px;top:4px;border:1px solid #bdcfff;border-radius:5px;color:#fff;background:#576aab;font:12px/1.3 Arial,sans-serif;padding:4px 7px}
.dl-preview-panel{background:linear-gradient(to left top,#4c5992,transparent 60%),linear-gradient(to right bottom,#4c5992,transparent 70%),#8398cc;border-radius:12px;position:relative;box-sizing:border-box;color:#fff}
.dl-preview-panel h2{font:500 14px/1.4 Poppins,Arial,sans-serif;margin:0}
.dl-preview-winning{margin-top:13px;min-height:140px;padding:19px 14px 12px}
.dl-preview-winning>h2{display:flex;align-items:center;justify-content:center;position:relative;background:#008d00;margin:0 -14px;height:24px}
.dl-preview-title-icon{position:absolute;object-fit:contain;left:0;width:64px;height:44px;top:-12px}
.dl-preview-ball-tray{width:305px;max-width:100%;height:62px;background-image:var(--dl-art-winning);background-size:100% 100%;background-repeat:no-repeat;display:flex;align-items:center;justify-content:space-around;gap:10px;margin:17px auto 0;padding:5px 13px;box-sizing:border-box;position:relative}
.dl-preview-unknown{width:35px;height:35px;display:flex;align-items:center;justify-content:center;color:#e2f4fc;font:600 20px/1 Arial,sans-serif;border-radius:50%;background:radial-gradient(circle at 35% 25%,#d5e0ff,#597bd1 40%,#243c81 75%);box-shadow:inset 0 -3px 4px #10214c,0 1px 2px #1116}
.dl-preview-pending{position:absolute;left:64px;right:15px;text-align:center;font:600 10px/1.5 Arial,sans-serif;background:#fff;color:#24325d;bottom:4px;border-radius:3px}
.dl-preview-status{font:10px/1.4 Arial,sans-serif;text-align:center;color:#e0e7ff;margin:4px 0 0}
.dl-preview-my-numbers{margin-top:16px;padding:37px 14px 17px}
.dl-preview-my-numbers>h2{position:absolute;left:0;top:-8px;background:#3f5591;padding:4px 14px 4px 42px;border-radius:8px 8px 3px 3px;font-size:14px;min-width:212px;box-sizing:border-box}
.dl-preview-my-numbers .dl-preview-title-icon{width:38px;height:38px;top:-4px;left:-3px}
.dl-preview-my-empty{min-height:66px;background-image:var(--dl-art-myNumbers);background-size:100% 100%;background-repeat:no-repeat;padding:10px 10px 4px 28px;box-sizing:border-box}
.dl-preview-empty-slots{display:flex;justify-content:space-around;gap:12px}.dl-preview-empty-slots>span{display:block;width:43px;height:43px;background:#26344b;border-radius:5px;box-shadow:inset 0 2px 3px #142337}
.dl-preview-my-empty>p{font:10px/1.4 Arial,sans-serif;margin:4px 0 0;text-align:center;color:#e7eaff}
.dl-preview-draw-actions{display:flex;gap:8px;margin-top:11px}.dl-preview-draw-actions button{height:41px;border:0;color:#fff;font:600 14px/1.05 Arial,sans-serif;padding:0;border-radius:5px;text-shadow:0 1px 2px #333}
.dl-preview-draw-set{width:90px;background:#999 var(--dl-art-drawSet) center/100% 100% no-repeat}
.dl-preview-draw-once{flex:1;background:#e49b2b var(--dl-art-drawOnce) center/100% 100% no-repeat}.dl-preview-draw-all{width:90px;background:#1758ce var(--dl-art-drawAll) center/100% 100% no-repeat}
.dl-preview-pick{width:100%;height:35px;margin-top:8px;background:#6b93ec var(--dl-art-pick) center/100% 100% no-repeat;border:0;border-radius:5px;color:#fff;font:600 12px/1.4 Arial,sans-serif;padding:0}
.dl-preview-draw-actions button:disabled,.dl-preview-pick:disabled,.dl-preview-details:disabled{cursor:not-allowed;filter:saturate(.65);opacity:.8}
.dl-preview-separator{height:1px;background:#425078;margin:20px 0 34px}
.dl-preview-prizes{padding:38px 15px 18px}.dl-preview-ribbon{position:absolute;left:50%;transform:translateX(-50%);top:-16px;width:244px;height:36px;background-image:var(--dl-art-title);background-size:100% 100%;background-repeat:no-repeat;display:flex;align-items:center;justify-content:center;padding-top:6px;box-sizing:border-box;white-space:nowrap;font-size:14px!important}
.dl-public-prize{background:#3c4566;border-radius:6px;margin:0 0 11px;overflow:hidden}.dl-public-prize:last-child{margin-bottom:0}
.dl-public-prize-rank{display:flex;align-items:center;white-space:nowrap;height:20px;font:14px/1.3 Arial,sans-serif}.dl-public-prize-rank>strong{background:#d5ddff;color:#36445f;border-radius:4px;padding:0 10px;font-weight:600}.dl-public-prize-rank>span{background:#617dd2;padding:0 7px;border-radius:4px}
.dl-public-prize-body{display:flex;align-items:center;gap:10px;padding:2px 10px 9px}
.dl-public-prize-body>img{width:72px;height:72px;object-fit:contain;background:#000;border-radius:3px;flex-shrink:0}
.dl-public-prize-body>div{min-width:0;flex:1}.dl-public-prize-body strong{font:400 14px/1.65 Arial,sans-serif;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.dl-public-prize-body>div>span{display:block;font:14px/1.65 Arial,sans-serif}
.dl-preview-monthly{margin-top:32px;padding:26px 15px 17px}.dl-preview-monthly-status{background:#009961;border-radius:4px;color:#fff;text-align:center;font:12px/1.6 Arial,sans-serif;margin:0 0 13px;padding:2px}
.dl-preview-monthly-progress{display:flex;align-items:center;justify-content:space-around;position:relative;margin:0 0 16px}
.dl-preview-monthly-progress:before{content:'';position:absolute;left:15%;right:15%;height:4px;background:#4b638f;top:50%;transform:translateY(-50%)}
.dl-preview-monthly-progress>span{position:relative;display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#566d99;border:2px solid #b6c8f9;font:600 12px/1 Arial,sans-serif}
.dl-preview-monthly-gifts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.dl-preview-monthly-gifts article{display:flex;align-items:center;flex-direction:column;gap:5px;background:#3d4b70;border-radius:6px;padding:7px 4px}
.dl-preview-monthly-gifts h3{font:600 13px/1.4 Arial,sans-serif;margin:0}.dl-preview-monthly-gifts img{width:74px;height:74px;max-width:100%;object-fit:contain;background:#000;border-radius:4px}.dl-preview-monthly-gifts article>span{font:13px/1.4 Arial,sans-serif}
.dl-preview-note{font:11px/1.6 Arial,sans-serif;color:#a8b5d8;text-align:center;margin:16px 5px}
.dl-preview-pick{display:flex;align-items:center;justify-content:center;text-decoration:none;box-sizing:border-box}
.dl-preview-add-number{display:flex;align-items:center;justify-content:center;width:35px;height:35px;align-self:center;background:var(--dl-art-plus) center/100% 100% no-repeat;font-size:0;color:#fff;text-decoration:none}
.dl-preview-details,.dl-preview-pick,.dl-preview-add-number{cursor:pointer}
.dl-preview-details:focus-visible,.dl-preview-pick:focus-visible,.dl-preview-add-number:focus-visible{outline:2px solid #fff;outline-offset:3px}
/* The home Details copy is a distinct source version from the quest rules. */
@font-face{font-family:HBDailyLotteryRuleTitle;src:url('./assets/8bc2269595f659e6.ttf') format('truetype');font-style:normal;font-weight:700;font-display:swap}
.dl-rule-overlay{position:fixed;inset:0;z-index:3000;display:flex;justify-content:center;align-items:flex-start;overflow-y:auto;background:#0008;backdrop-filter:blur(10px);overscroll-behavior:contain}
.dl-rule-dialog{position:relative;flex-shrink:0;box-sizing:border-box;width:100%;max-width:808px;min-height:100dvh;padding:32px 15px 48px;color:#fff;font-family:SFCompactText,Arial,sans-serif}
.dl-rule-dialog>h2{margin:16px 0 0;color:#fff;font-family:HBDailyLotteryRuleTitle,Arial,sans-serif;font-size:24px;line-height:1.5;font-weight:400}
.dl-rule-close{position:absolute;right:15px;top:32px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:0;background:transparent;color:#fff;font:400 36px/1 Arial,sans-serif;cursor:pointer}
.dl-rule-close-image{width:100%;height:100%;object-fit:contain}
.dl-rule-close:focus-visible,.dl-rule-copy:focus-visible{outline:2px solid #fff;outline-offset:3px}
.dl-rule-copy{box-sizing:border-box}
.dl-rule-copy p{margin:4.96px 0 0;color:#fff;line-height:1.5;overflow-wrap:anywhere}
.dl-rule-copy .dl-rule-text-level-2{font-size:18.08px;font-weight:600;margin-top:16px}
.dl-rule-copy .dl-rule-text-level-title{font-size:16px;font-weight:600;margin-top:16px}
.dl-rule-copy .dl-rule-text-level-3,.dl-rule-copy .dl-rule-text-level-4{font-size:14.4px;font-weight:400}
.dl-rule-emphasis{color:#e7553e}
.dl-rule-state{padding:24px 0;color:#fff}
@media(min-width:1024px){.dl-rule-dialog>h2{font-size:32px}.dl-rule-copy .dl-rule-text-level-2{font-size:24px}.dl-rule-copy .dl-rule-text-level-title{font-size:20px}.dl-rule-copy .dl-rule-text-level-3,.dl-rule-copy .dl-rule-text-level-4{font-size:16px}}
@media(max-width:600px){.dl-source-preview>.dl-heading{max-width:calc(100% - 30px);padding:6px 0}.dl-source-preview>.dl-heading h1{flex-basis:auto;order:initial}.dl-preview-column{max-width:calc(100% - 24px)}.dl-preview-poster{height:auto;aspect-ratio:375/164}.dl-preview-empty-slots{gap:8px}.dl-preview-empty-slots>span{width:38px;height:38px}.dl-public-prize-rank{font-size:12px}.dl-public-prize-body strong{font-size:13px}.dl-preview-draw-set,.dl-preview-draw-all{width:82px}}

/* GameHistoryView and DailyLotteryItem: full-width history, responsive selector
   and labelled cards. White rows follow the current rendered source evidence. */
.dl-history-page{max-width:none;width:100%;min-height:65vh;margin:0;padding:0 0 60px}
.dl-history-desktop{margin-top:19px}
.dl-history-title{width:334px;height:56px;border-radius:16px 0 0 16px;background:linear-gradient(to right,#00925f,#f1f1f1);color:#fff;font-size:44px;font-weight:500;line-height:29px;padding:13px 0 14px 11px;margin:0 0 20px}
.dl-history-tabs{display:flex;align-items:center;overflow:auto;scrollbar-width:none}
.dl-history-tabs::-webkit-scrollbar{display:none}
.dl-history-tab{flex:none;white-space:nowrap;border:0;border-radius:0;background:none;color:#999;font-size:18px;font-weight:400;line-height:25px;padding:0;margin:0 48px 0 0;text-transform:capitalize}
.dl-history-tab.active{font-weight:900;color:#fff}
.dl-history-tab:not(.active):hover{color:#0ffd6e;filter:none}
.dl-history-mobile{display:none}
.dl-history-list{display:block;margin:0}
.dl-history-table{width:100%;border-collapse:separate;border-spacing:0 15px;margin:0;color:#000;font-size:15px}
.dl-history-table thead{height:54px;background:#2c3633;color:#fff}
.dl-history-page .dl-history-row{display:table-row;background:#fff;border:0;border-radius:0;padding:0;margin:0}
.dl-history-table th{height:54px;border:0;padding:0 11px;text-align:center;font-size:15px;font-weight:500;line-height:25px;text-transform:uppercase}
.dl-history-table td{border:0;padding:10px 0;height:34px;line-height:34px;text-align:center;font-size:15px;background:#fff}
.dl-history-numbers{display:flex;justify-content:center;align-items:center;gap:.13rem;flex-wrap:wrap;font-weight:400}
.dl-history-check{color:inherit;text-decoration:underline;text-underline-offset:2px}
.dl-history-cards{display:none}
.dl-history-more{display:block;margin:1.25rem auto}
.dl-history-error{text-align:center;color:#ffcbcb}
.dl-history-unknown{color:#777}
@media(max-width:1023px){
 .dl-history-desktop{display:none}
 .dl-history-mobile{display:block;padding-top:.75rem}
 .dl-history-mobile-heading{display:flex;align-items:center;margin-bottom:14px}
 .dl-history-mobile-heading h1{font-size:24px;font-weight:500;line-height:24px;margin:0;color:#fff}
 .dl-history-back{display:flex;align-items:center;gap:4px;margin-right:7px;border:0;border-radius:4px;padding:5px 4px;background:#333;color:#fff;font-size:12px;font-weight:600;line-height:15px}
 .dl-history-back span{font-size:18px;font-weight:400;line-height:10px}
 .dl-history-select{position:relative;margin:4px 0 10px;z-index:10}
 .dl-history-select>summary{position:relative;list-style:none;cursor:pointer;border:1px solid #fff;border-radius:6px;padding:11px 28px 10px 8px;background:#121212;color:#fff;font-size:16px;font-weight:500;line-height:19px}
 .dl-history-select>summary::-webkit-details-marker{display:none}
 .dl-history-select-arrow{position:absolute;right:12px;top:13px;width:10px;height:10px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg)}
 .dl-history-select[open] .dl-history-select-arrow{top:18px;transform:rotate(225deg)}
 .dl-history-options{position:absolute;top:100%;left:0;right:0;margin-top:-4px;padding:4px 0 5px;border-radius:6px;background:#5b5b5b}
 .dl-history-options .dl-history-tab{position:relative;display:block;width:100%;padding:8px 0;margin:0;font-size:16px;font-weight:400;text-align:center}
 .dl-history-options .dl-history-tab:after{content:'';position:absolute;bottom:0;left:20%;width:60%;height:2px;background:linear-gradient(270deg,#9990,#999,#9990)}
 .dl-history-options .dl-history-tab:last-child:after{display:none}
}
@media(max-width:639px){
 .dl-history-table{display:none}
 .dl-history-cards{display:block}
 .dl-history-card{padding:.5rem;margin-top:.63rem;background:#fff;color:#000}
 .dl-history-card>div{display:flex;align-items:center;justify-content:space-between;gap:.75rem;font-family:Din,Arial,sans-serif}
 .dl-history-card>div>span{font-size:.88rem}
 .dl-history-card strong,.dl-history-card .dl-history-check{font-size:.75rem;font-weight:400}
 .dl-history-card .dl-history-numbers{justify-content:flex-end}
}
