.lottery-page{color-scheme:dark;font-family:"Microsoft YaHei",system-ui,sans-serif;background:#263238;color:#f2f4f5;--accent:#f04438;--gold:#e9bc67;--muted:#9fb0b8;--line:#36474f}
.lottery-page *{box-sizing:border-box}
.lottery-page button,.lottery-page a{-webkit-tap-highlight-color:transparent}
.lottery-page button{font:inherit;cursor:pointer}
.lottery-page button:focus-visible,.lottery-page a:focus-visible{outline:3px solid #a9d5ee;outline-offset:4px}
.lottery-page button:disabled{cursor:wait;opacity:.6}
.lottery-page h1{font-size:30px;margin:0 0 24px}
.lottery-page h2{font-size:23px;margin:0 0 18px}
.lottery-page .eyebrow{font-size:11px;letter-spacing:.16em;color:var(--muted);margin:0 0 9px;text-transform:uppercase}
.lottery-page .summary{background:#030708;border-radius:5px;padding:30px 34px;border-top:2px solid #51616a}
.lottery-page .summary-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.lottery-page .summary-heading h2{font-size:18px;font-weight:500;margin:0 0 12px}
.lottery-page .demo-tag{font-size:11px;border:1px solid #46565e;color:#aebdc4;padding:5px 9px;white-space:nowrap}
.lottery-page .user-id{font-size:13px;color:var(--muted);margin:0}
.lottery-page .balance-row{display:flex;align-items:center;justify-content:space-between;margin:18px 0 20px}
.lottery-page .balance{display:flex;align-items:baseline;gap:15px;font-size:16px}
.lottery-page .balance strong{font-size:42px;color:var(--gold);font-weight:650;line-height:1}
.lottery-page .quiet-button{padding:8px 0;border:0;background:none;color:var(--accent);font-size:14px}
.lottery-page .account-metrics{display:flex;gap:25px;flex-wrap:wrap;color:var(--muted);font-size:12px}
.lottery-page .account-metrics b{color:#d5dfe4;font-weight:500}
.lottery-page .section{margin-top:32px}
.lottery-page .tasks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.lottery-page .task{padding:22px;background:#182328;border:1px solid #36464e;border-radius:4px;display:flex;gap:15px;align-items:flex-start}
.lottery-page .task-icon{color:#deac61;font-size:21px;width:34px;height:34px;border:1px solid #725f42;display:grid;place-items:center;flex-shrink:0}
.lottery-page .task h3{font-size:16px;margin:0 0 8px}
.lottery-page .task p{font-size:13px;margin:0 0 12px;color:var(--gold)}
.lottery-page .task button{border:0;background:none;color:#9eb1bb;padding:0;text-align:left;font-size:12px;line-height:1.6}
.lottery-page .lottery-panel{background:#0d171d;border:1px solid #3c4c55;border-radius:5px;overflow:hidden}
.lottery-page .lottery-heading{padding:22px 26px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #2f4049;gap:15px}
.lottery-page .lottery-heading h3{font-size:16px;margin:0 0 6px}
.lottery-page .lottery-heading p{font-size:12px;margin:0;color:var(--muted)}
.lottery-page .cost{font-size:13px;color:#a7bac6;white-space:nowrap}
.lottery-page .cost b{color:var(--gold);font-size:24px;margin:0 5px}
.lottery-page .lottery-body{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(240px,.65fr);align-items:center;gap:22px;padding:24px 30px 20px}
.lottery-page .wheel-column{min-width:0;text-align:center}
.lottery-page .wheel-wrap{width:100%;max-width:470px;aspect-ratio:1;margin:auto;position:relative}
.lottery-page .wheel-wrap:before{content:"";position:absolute;inset:9%;border-radius:50%;box-shadow:0 0 80px #bd8d3514}
.lottery-page .wheel-svg{display:block;width:100%;height:100%;overflow:visible}
.lottery-page .rotor{transform-origin:260px 260px;transition:transform var(--spin-duration,2200ms) cubic-bezier(.15,.65,.08,1)}
.lottery-page .wheel-prize-label{transform-box:view-box;transform:rotate(var(--prize-label-angle,0deg));transition:transform var(--spin-duration,2200ms) cubic-bezier(.15,.65,.08,1)}
.lottery-page .spin-button{position:absolute;inset:39.3%;border-radius:50%;color:#fff;font-size:18px;font-weight:700;line-height:1.45;background:radial-gradient(circle at 35% 20%,#f56e52,#b5221c 78%);border:1px solid #ff8b6e;box-shadow:0 6px 15px #0008,0 0 0 7px #152029,0 0 0 10px #887142;display:flex;flex-direction:column;align-items:center;justify-content:center}
.lottery-page .spin-button small{font-size:10px;font-weight:400;letter-spacing:.1em;color:#fcd6cd}
.lottery-page .wheel-caption{margin:12px auto 0;font-size:12px;color:var(--muted);line-height:1.7;min-height:42px;max-width:400px}
.lottery-page .prize-info{border-left:1px solid #344650;padding-left:26px}
.lottery-page .prize-info h4{font-size:16px;margin:0 0 6px}
.lottery-page .prize-info>p{margin:0 0 20px;font-size:12px;line-height:1.7;color:var(--muted)}
.lottery-page .prize-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.lottery-page .prize-list li{padding:12px 10px;border:1px solid #354650;border-radius:3px;background:#152129;color:#d5e0e6;font-size:12px}
.lottery-page .prize-list span{display:block;margin-top:5px;font-size:10px;color:#849aa7}
.lottery-page .rules{margin-top:22px;padding-top:18px;border-top:1px solid #33454e;color:var(--muted);font-size:12px;line-height:1.85}
.lottery-page .rules p{margin:4px 0}
.lottery-page .rules strong{color:#c6d4dc;font-size:12px}
.lottery-page .panel-footer{padding:16px 26px;border-top:1px solid #2f4049;display:flex;justify-content:space-between;gap:16px;align-items:center;font-size:12px;color:var(--muted)}
.lottery-page .panel-footer button{background:none;border:0;color:#c5d5df;padding:0;font-size:12px}
@media(max-width:780px){.lottery-page h1{font-size:26px}
.lottery-page .summary{padding:24px}
.lottery-page .summary-heading h2{font-size:16px}
.lottery-page .summary-heading{flex-wrap:wrap}
.lottery-page .account-metrics{gap:12px 20px}
.lottery-page .tasks{gap:10px}
.lottery-page .task{padding:16px 12px;display:block}
.lottery-page .task-icon{margin-bottom:12px}
.lottery-page .task h3{font-size:14px}
.lottery-page .task p{font-size:12px}
.lottery-page .task button{font-size:11px}
.lottery-page .lottery-heading{padding:20px}
.lottery-page .lottery-body{grid-template-columns:1fr;padding:18px 18px 24px;gap:24px}
.lottery-page .wheel-wrap{max-width:430px}
.lottery-page .prize-info{border-left:0;border-top:1px solid #344650;padding:22px 0 0}
.lottery-page .prize-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.lottery-page .prize-list li{padding:11px 7px;font-size:11px}
.lottery-page .panel-footer{padding:16px 20px}
}
@media(max-width:420px){.lottery-page .balance strong{font-size:36px}
.lottery-page .summary{padding:22px 20px}
.lottery-page .balance{font-size:14px}
.lottery-page .summary-heading h2{line-height:1.6}
.lottery-page .cost{font-size:11px}
.lottery-page .cost b{font-size:21px}
.lottery-page .lottery-heading{align-items:center}
.lottery-page .lottery-heading h3{font-size:14px}
.lottery-page .lottery-heading p{font-size:10px}
.lottery-page .task{padding:14px 10px}
.lottery-page .task h3{font-size:12px}
.lottery-page .task-icon{font-size:16px;width:29px;height:29px}
.lottery-page .task p{font-size:11px}
.lottery-page .prize-list{grid-template-columns:repeat(2,minmax(0,1fr))}
.lottery-page .spin-button{font-size:15px}
.lottery-page .spin-button small{font-size:8px}
.lottery-page .panel-footer{font-size:11px;align-items:flex-start}
.lottery-page .panel-footer span{max-width:70%}
}
@media(prefers-reduced-motion:reduce){.lottery-page .rotor,.lottery-page .wheel-prize-label{transition:none}
}

.lottery-page{max-width:1120px;margin:0 auto;min-width:0}.lottery-page .quiet-button{text-decoration:none}.lottery-page .page-title h1{margin:0}.lottery-page .page-title{margin-bottom:24px}.lottery-page button{min-height:32px}.lottery-page .spin-button{padding:0;min-height:0;appearance:none}.lottery-page .task button{min-height:40px}.lottery-page .panel-footer button{min-height:40px}.lottery-page .summary-heading>div,.lottery-page .task>div{min-width:0}
@media(min-width:821px) and (max-width:1190px){.lottery-page .lottery-body{grid-template-columns:1fr}.lottery-page .prize-info{border-left:0;border-top:1px solid #344650;padding:22px 0 0}.lottery-page .prize-list{grid-template-columns:repeat(4,minmax(0,1fr))}.lottery-page .task{display:block}.lottery-page .task-icon{margin-bottom:12px}}

.lottery-page .lottery-milestones{padding:26px;border-top:1px solid #35444c;background:#111d23}
.lottery-page .milestone-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}
.lottery-page .milestone-heading h3{font-size:19px;line-height:1.4;margin:0;color:#eef3f5}
.lottery-page .milestone-heading .eyebrow{font-size:10px;color:#af935e;letter-spacing:.08em;margin-bottom:6px}
.lottery-page .milestone-pending{border:1px solid #4b5d65;border-radius:3px;padding:5px 9px;font-size:11px;white-space:nowrap;color:#9fb1bb}
.lottery-page .milestone-summary{display:flex;align-items:center;gap:38px;padding:18px 20px;background:#0b1419;border:1px solid #334650;border-radius:4px;margin-bottom:22px}
.lottery-page .milestone-summary>div>span{font-size:12px;color:#b1c2cc}
.lottery-page .milestone-summary p{margin:8px 0 0;line-height:1.2}
.lottery-page .milestone-summary strong{font-size:30px;line-height:1;color:#ebc475;font-weight:600}
.lottery-page .milestone-summary small{font-size:12px;color:#a3b7c4;margin-left:8px}
.lottery-page .milestone-summary p.milestone-summary-note{font-size:12px;line-height:1.8;color:#92a8b5;margin:0 0 0 auto}
.lottery-page .milestone-rewards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.lottery-page .milestone-reward{min-width:0;text-align:center}
.lottery-page .milestone-card{position:relative;min-height:137px;display:flex;align-items:center;flex-direction:column;justify-content:space-between;padding:12px 7px;background:#19272e;border:1px solid #3e525d;border-bottom:2px solid #527486;border-radius:3px}
.lottery-page .milestone-stage{align-self:flex-start;color:#b7cad5;font-size:11px}
.lottery-page .milestone-lock{position:absolute;top:11px;right:8px;color:#8299a7;width:13px;height:13px}
.lottery-page .milestone-lock svg{width:100%;height:100%;display:block}
.lottery-page .milestone-gift{color:#9cb9c9;width:42px;height:42px;margin:9px 0}
.lottery-page .milestone-gift svg{display:block;width:100%;height:100%}
.lottery-page .milestone-card>strong{font-size:12px;font-weight:500;color:#c9d5dd}
.lottery-page .milestone-threshold{display:block;margin-top:11px;font-size:11px;color:#8ea7b7;white-space:nowrap}
.lottery-page .milestone-reward--guarantee .milestone-card{background:linear-gradient(145deg,#3b3020,#1d2529);border-color:#a58343;border-bottom-color:#dfb361}
.lottery-page .milestone-reward--guarantee .milestone-stage,.lottery-page .milestone-reward--guarantee .milestone-gift,.lottery-page .milestone-reward--guarantee .milestone-card>strong{color:#edc77d}
.lottery-page .milestone-reward--guarantee .milestone-threshold{color:#c5a66c}
.lottery-page .milestone-progress{height:4px;background:#30434e;border-radius:4px;margin:18px 0 20px;overflow:hidden}
.lottery-page .milestone-progress>span{display:block;width:0;height:100%;background:#e0b96b}
.lottery-page .milestone-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px}
.lottery-page .milestone-bottom>p{font-size:12px;line-height:1.9;color:#8da6b5;margin:0}
.lottery-page .milestone-claim{flex:none;border:1px solid #6e634c;border-radius:3px;padding:11px 18px;background:#2b2c25;color:#a79d85;font-size:12px;min-height:44px}
.lottery-page .milestone-claim:disabled{opacity:1;cursor:not-allowed}
@media(max-width:1100px){.lottery-page .milestone-rewards{gap:7px}.lottery-page .milestone-card{padding-inline:6px}.lottery-page .milestone-summary{gap:26px}}
@media(max-width:700px){.lottery-page .lottery-milestones{padding:22px 20px}.lottery-page .milestone-rewards{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 10px}.lottery-page .milestone-summary{flex-wrap:wrap;gap:18px 30px}.lottery-page .milestone-summary p.milestone-summary-note{flex-basis:100%;margin:0}.lottery-page .milestone-summary-note br{display:none}.lottery-page .milestone-bottom{align-items:stretch;flex-direction:column;gap:14px}.lottery-page .milestone-claim{align-self:flex-start}}
@media(max-width:420px){.lottery-page .lottery-milestones{padding:20px 18px}.lottery-page .milestone-heading h3{font-size:17px}.lottery-page .milestone-rewards{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 10px}.lottery-page .milestone-summary{padding:16px 14px;gap:18px 24px}.lottery-page .milestone-summary>div>span{font-size:11px}.lottery-page .milestone-summary strong{font-size:27px}.lottery-page .milestone-summary p.milestone-summary-note{font-size:11px}.lottery-page .milestone-bottom>p{font-size:11px}}
.lottery-page .lottery-draw-actions{display:grid;grid-template-columns:1fr 1.35fr;gap:12px;max-width:400px;margin:24px auto 0}
.lottery-page .lottery-draw-actions>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:12px;min-height:66px;border-radius:4px;border:1px solid #526c78;background:#20343f;color:#e3edf2}
.lottery-page .lottery-draw-actions strong{font-weight:600;font-size:16px}.lottery-page .lottery-draw-actions span{font-size:11px;color:#a4bbc8}
.lottery-page .lottery-skip{display:block;margin:12px auto 0;padding:8px 18px;min-height:40px;border:1px solid #526c78;border-radius:4px;background:#172a34;color:#c9dce6;font-size:13px;cursor:pointer}
.lottery-page .lottery-skip[hidden]{display:none}.lottery-page .lottery-skip:hover{background:#243e4b;border-color:#8aabba}.lottery-page .lottery-skip:focus-visible{outline:2px solid #e7c27d;outline-offset:3px}
.lottery-page.lottery-skip-animation .rotor,.lottery-page.lottery-skip-animation .wheel-prize-label{transition:none}
.lottery-page button.draw-ten{border:1px solid #c59a50;background:linear-gradient(120deg,#a77a35,#d0aa62);color:#101d24;box-shadow:0 3px 14px #0004}
.lottery-page button.draw-ten:hover{filter:brightness(1.08)}.lottery-page .draw-ten span{color:#263139}.lottery-page .draw-ten b{font-size:13px;margin-left:4px}
.lottery-results-dialog{box-sizing:border-box;width:min(740px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;padding:26px;border:1px solid #8a7049;border-top:3px solid #d1aa64;border-radius:6px;background:#132129;color:#edf2f5;text-align:left;box-shadow:0 20px 70px #000a}
.lottery-results-dialog::backdrop{background:#02070cbb}.lottery-results-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.lottery-results-eyebrow{font-size:10px;letter-spacing:.16em;color:#c5a773}.lottery-page .lottery-results-heading h3{font-size:25px;margin:6px 0 0;color:#f0d39b}
.lottery-results-heading>button{font-size:25px;color:#bfd1db;border:1px solid #49616e;background:#1d323e;border-radius:4px;width:34px;height:34px;padding:0}
.lottery-results-note{font-size:12px;color:#9ab2c0;margin:12px 0 22px}
.lottery-results-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;list-style:none;padding:0;margin:0}
.lottery-result{position:relative;display:flex;min-width:0;min-height:142px;flex-direction:column;align-items:center;justify-content:center;gap:10px;border:1px solid #3b5767;border-radius:4px;background:#1a303e;text-align:center;padding:22px 8px 12px}
.lottery-result-number{position:absolute;left:9px;top:8px;color:#7192a4;font-size:10px}.lottery-result-symbol{font-size:28px;color:#b5d8eb}.lottery-result strong{font-size:13px;color:#e3eff5;overflow-wrap:anywhere}.lottery-result small{font-size:10px;color:#7e9cab}
.lottery-result.is-highlight{border-color:#a1854b;background:linear-gradient(145deg,#3b3526,#21313b)}.lottery-result.is-highlight .lottery-result-symbol,.lottery-result.is-highlight strong{color:#e8c887}
.lottery-results-disclaimer{font-size:11px;color:#8ca7b7;line-height:1.8;margin:18px 0 22px}
.lottery-results-actions{display:flex;gap:12px;justify-content:flex-end}.lottery-results-actions>button{padding:11px 18px;border:1px solid #46616e;border-radius:3px;background:#223a47;color:#d3e3eb;font-size:13px}
@media(max-width:600px){.lottery-results-dialog{padding:20px 16px}.lottery-results-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.lottery-result{min-height:113px}.lottery-results-actions{flex-wrap:wrap}.lottery-results-actions>button{flex:1;white-space:nowrap}.lottery-page .lottery-draw-actions{gap:9px;margin-top:18px}.lottery-page .lottery-draw-actions strong{font-size:14px}.lottery-page .lottery-results-heading h3{font-size:21px}}
.lottery-account-links>[role=tab]{display:inline-flex;align-items:center;justify-content:center;padding:10px 15px;border:1px solid #415c69;border-radius:3px;background:#132630;color:#b9d1de;font-size:13px;line-height:1.6}.lottery-account-links>[role=tab]:hover{border-color:#e5b766}.lottery-account-links>[aria-selected=true]{background:#4e1713;border-color:#f44336;color:#fff}.lottery-account-panel{min-width:0}.lottery-account-panel .black-panel{margin-bottom:0}.lottery-account-panel .points-page>.points-note{margin-top:0}.lottery-account-panel .points-page>section>button.text-link{padding:0;border:0;background:transparent;margin-bottom:20px;color:#a8c7d8;font-size:13px}.lottery-account-panel .points-section-heading{margin-bottom:20px}
@media(max-width:600px){.lottery-account-links{gap:8px}.lottery-account-links>[role=tab]{flex:1;padding:10px 8px;font-size:12px;white-space:nowrap}}
