*{box-sizing:border-box}html{color-scheme:light;background:#efeff4}body{margin:0;color:#333;font:15px/1.5 Arial,Microsoft YaHei,PingFang SC,sans-serif}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;background:none;color:inherit}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #009fe3;outline-offset:3px}a{color:inherit;text-decoration:none}.site-header{background:#fff}.header-inner{max-width:1160px;margin:auto;padding:22px 24px;display:flex;justify-content:space-between;align-items:center}.brand{display:flex;flex-direction:column}.brand strong{font-size:27px;line-height:1.3;font-weight:500}.brand span{font-size:14px;color:#777;margin-top:3px}.refresh-button{display:flex;gap:7px;align-items:center;font-size:14px;color:#666}.page{max-width:1160px;margin:auto;padding:0 24px}.preview-notice{text-align:center;color:#8c7770;font-size:12px;padding:12px 0 3px}.filters{display:flex;gap:7px;padding:14px 0 18px;flex-wrap:wrap}.filters button{padding:7px 16px;color:#777;border-radius:5px;font-size:14px}.filters .active{background:#fff;color:#333}.results-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.result-card{background:#fff;border-radius:7px;padding:23px 23px 13px;min-width:0}.card-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 8px;margin-bottom:22px}.card-heading h2{font-size:23px;font-weight:400;margin:0;line-height:1.4}.issue{font:15px/1.4 Times New Roman,Songti SC,serif;color:#777}.card-countdown{margin-left:auto;display:flex;gap:5px;font-size:14px;color:#888;white-space:nowrap}.card-countdown time{color:#f43235;font-family:Times New Roman,serif;font-variant-numeric:tabular-nums}.card-body{position:relative}.number-row{display:flex;align-items:flex-start;justify-content:space-between;gap:9px}.number-column{display:flex;flex-direction:column;align-items:center;min-width:0}.max-ball{--number-size: 36px;width:var(--number-size);height:var(--number-size);aspect-ratio:1;display:block;border-radius:50%;position:relative;flex:0 0 auto;color:#fff;font-family:Times New Roman,serif;font-size:24px;transition:transform .2s ease}.max-ball:hover,.ball-surface:hover{transform:scale(1.05)}.instant-number{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;line-height:1}.quick-pop-ball{animation:max-quick-pop .16s ease-out both}@keyframes max-quick-pop{0%{opacity:0;transform:scale(.2)}75%{opacity:1;transform:scale(1.05)}to{opacity:1;transform:scale(1)}}.runtime-panel{margin:20px 0;padding:16px 20px;background:#f3f6fc;border:1px solid #dce4ef;border-radius:10px;line-height:1.6;overflow-wrap:anywhere}.runtime-panel p{margin:5px 0;font-size:14px}.management-tools details{border-top:1px solid #e6e6eb;padding:20px 0}.management-tools summary{cursor:pointer;font-size:18px}.management-tabs{display:flex;gap:12px;margin:16px 0;flex-wrap:wrap}.management-record{padding:14px 0;border-bottom:1px solid #e6e6eb;overflow-wrap:anywhere}.management-record>.management-record-time{display:block;color:#888;font-size:13px;margin-top:5px}.admin-content{min-width:0}.admin-content button,.admin-games button{min-height:44px}.admin-content .new-numbers{container-type:inline-size}.admin-content .kind-rank .number-row,.admin-content .kind-six .number-row{gap:4px}.admin-content .kind-rank .max-ball{--number-size: min(26px, calc((100cqw - 36px)*.1) );font-size:clamp(14px,5cqw,19px)}.admin-content .kind-six .max-ball{--number-size: min(36px, calc((100cqw - 52px) / 7));font-size:clamp(18px,6cqw,24px)}.admin-content .kind-six .plus{font-size:24px}.admin-content .kind-digits .number-row{gap:10px}.admin-content .kind-digits .max-ball{--number-size: min(40px, calc((100cqw - 40px)/5) )}.admin-content .kind-sum .number-row{gap:6px}.admin-content .kind-sum .max-ball{--number-size: min(36px, calc((100cqw - 110px) / 3))}@media(prefers-reduced-motion:reduce){.quick-pop-ball{animation:none}}.ball-red{background:#ff163d}.ball-blue{background:#009fe3}.ball-green{background:#12bf65}.kind-rank .max-ball{--number-size: clamp(20px, 6.3vw, 32px);font-size:22px}.kind-digits .number-row{justify-content:flex-start;gap:15px}.kind-digits .max-ball,.kind-sum .max-ball{--number-size: 40px;font-size:27px}.kind-sum .number-row{justify-content:flex-start;gap:18px}.zodiac{font-size:20px;margin-top:9px;color:#555}.plus{font:32px/36px Arial;color:#bbb;flex-shrink:0}.number-viewport{position:absolute;left:6%;right:6%;top:18%;height:64%;overflow:hidden;display:block;line-height:1;pointer-events:none}.number-strip{display:flex;flex-direction:column;width:100%;height:3000%}.number-frame{height:3.33333333%;flex:0 0 3.33333333%;display:flex;align-items:center;justify-content:center;font-size:inherit;font-weight:400}.progress-label,.sequential-status{display:block;color:#999;font-size:12px;line-height:18px;margin-top:8px}.card-meta{display:flex;gap:10px;align-items:center;color:#888;font:16px/1.5 Times New Roman,Songti SC,serif;margin-top:15px;min-height:24px}.card-meta b{font-weight:400}.dragons{color:#777;letter-spacing:1px}.meta-divider{color:#ccc}.card-footer{margin-top:15px;padding-top:10px;border-top:1px solid #eee;display:flex;align-items:center;justify-content:space-between;color:#999;font-size:12px;gap:10px}.card-footer button{margin-left:auto;display:flex;align-items:center;gap:3px;color:#888;padding:3px 0}.origin-label{display:flex;gap:8px;align-items:center}.local-tag{font-size:11px;color:#aaa}.site-footer{text-align:center;color:#999;padding:26px 0 32px;font-size:12px}.site-footer p{margin:4px}.site-footer a{display:inline-block;margin-top:8px;color:#888}.time-muted{color:#aaa}.waiting{min-height:80px;display:flex;align-items:center;justify-content:center;color:#999;font-size:15px}.stage-prompt{letter-spacing:2px;color:#777}.error-banner{padding:10px 14px;background:#fff6eb;color:#976f36;border-radius:5px;margin-bottom:14px;font-size:13px}.error-banner button{margin-left:12px;text-decoration:underline}.main-draw{position:relative;min-height:76px}.balls{display:flex;align-items:center;justify-content:space-between;gap:8px}.ball{width:36px;height:36px;position:relative;flex:0 0 36px;color:#fff;font:24px/1 Times New Roman,serif;background:none!important}.ball-surface{width:100%;height:100%;position:relative;border-radius:50%;transition:transform .2s}.ball-red .ball-surface{background:#ff163d}.ball-blue .ball-surface{background:#009fe3}.ball-green .ball-surface{background:#12bf65}.ball-image,.ball-reflection{display:none}.ball-number{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center}.special-divider{color:#bbb;font:30px/36px Arial}.zodiac-row{display:flex;justify-content:space-between;gap:8px;margin-top:9px;font-size:20px;color:#555}.zodiac-row span{width:36px;flex-shrink:0;text-align:center}.zodiac-row span:last-child{margin-left:34px}.source-number-reel{position:absolute;top:18%;right:6%;bottom:18%;left:6%;height:64%;overflow:hidden}.source-number-strip{height:800%;display:flex;flex-direction:column;animation:source-number-roll .55s linear infinite}.source-number-strip>span{flex:0 0 12.5%;display:flex;align-items:center;justify-content:center}.source-number-settling{animation:source-number-stop .18s ease-out}@keyframes source-number-roll{to{transform:translateY(-87.5%)}}@keyframes source-number-stop{0%{filter:blur(3px);transform:translateY(-8%)}to{filter:blur(0);transform:translateY(0)}}.history-dialog{width:min(620px,calc(100vw - 28px));max-height:85dvh;border:0;border-radius:10px;padding:0;color:#444}.history-dialog::backdrop{background:#2226}.dialog-heading{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;border-bottom:1px solid #eee}.dialog-heading h2{margin:2px 0 0;font-size:22px;font-weight:500}.section-caption{font-size:12px;color:#999}.history-list{padding:0 24px}.history-row{padding:18px 0;border-bottom:1px solid #eee}.history-row-heading{display:flex;justify-content:space-between;gap:10px;font-size:13px}.history-row time,.history-row small{color:#999;font-size:12px}.history-row p{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.history-row p span{font-size:19px;min-width:22px;color:#555}.history-row .special-number{color:#f43235}.history-row em{font-style:normal;color:#bbb}.history-result{display:block;margin-top:15px}.preset-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.history-result .number-row{gap:5px}.history-result .kind-rank .max-ball{--number-size: clamp(18px, 5.7vw, 30px);font-size:20px}.history-result .kind-six .max-ball{--number-size: clamp(24px, 7.5vw, 36px)}.history-stats{font-size:13px;min-height:0}.pagination{padding:18px 24px;display:flex;justify-content:space-between;color:#888;font-size:13px}.admin-page{max-width:1120px;margin:auto;padding:32px 24px}.admin-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.admin-heading h1{font-size:28px;font-weight:500;margin:12px 0 0}.admin-heading p{margin:3px 0;color:#999;font-size:13px}.back-link{display:flex;align-items:center;gap:6px;font-size:13px;color:#888}.follow-panel{display:flex;gap:20px;align-items:center;padding:18px 22px;background:#fff;border-radius:7px;margin-bottom:18px}.follow-panel span{font-size:13px;color:#999}.admin-layout{display:grid;grid-template-columns:205px minmax(0,1fr);gap:20px}.admin-games{display:flex;flex-direction:column;gap:5px;align-self:start}.admin-games button{text-align:left;padding:13px 15px;border-radius:6px;display:flex;align-items:center;justify-content:space-between;color:#777}.admin-games .selected{background:#fff;color:#222}.admin-content{background:#fff;border-radius:7px;padding:24px 30px}.admin-content h2{font-weight:500;margin:0 0 18px;font-size:24px}.admin-content h3{font-weight:500;font-size:18px;margin:0 0 16px}.settings-form,.preset-form{padding-bottom:25px;margin-bottom:25px;border-bottom:1px solid #eee}label{display:block;font-size:14px;margin:15px 0;color:#666}input,select,textarea{display:block;width:100%;padding:10px 12px;border:1px solid #ddd;border-radius:5px;background:#fff;color:#444;margin-top:6px;min-height:43px}textarea{resize:vertical}.field-help{font-size:13px;color:#999;line-height:1.8}.check-row{display:flex;align-items:center;gap:9px}.check-row input{width:16px;min-height:auto;margin:0}details{margin:20px 0}summary{cursor:pointer;font-size:14px}summary span{color:#aaa;margin-left:10px;font-size:12px}.primary{background:#333;color:#fff;border-radius:5px;padding:10px 22px;font-size:14px}.admin-message{padding:12px 15px;background:#f2f6f7;font-size:14px;border-radius:5px}.list-heading{display:flex;justify-content:space-between;align-items:center}.list-heading button{display:flex;align-items:center;gap:5px;color:#999;font-size:13px}.preset-row{border-top:1px solid #eee;padding:16px 0;font-size:13px}.preset-row>span{margin-left:12px;color:#999}.preset-row button{color:#b23e3e;margin-left:15px}.login-page{min-height:100vh;display:grid;place-items:center;padding:24px}.login-card{width:min(400px,100%);padding:30px;background:#fff;border-radius:9px}.login-card h1{font-size:25px;font-weight:500;margin:25px 0 0}.login-card>p{color:#999;font-size:13px}.login-card .primary{width:100%;margin-top:10px}.formula-sign{font:22px/40px Arial;color:#bbb}.sum-result{font:28px/40px Times New Roman,serif;color:#f43235}.kind-sum .number-row{gap:10px}.kind-sum .number-row .max-ball{flex-shrink:0}@media(min-width:960px){.card-six{min-height:234px}.card-rank,.card-digits,.card-sum{min-height:214px}}@media(max-width:959px){.header-inner{padding:18px}.page{padding:0 12px}.results-grid{grid-template-columns:1fr;gap:12px;max-width:620px;margin:0 auto}.filters{max-width:620px;margin:auto}.preview-notice{font-size:11px}.brand strong{font-size:25px}.brand span{font-size:13px}.result-card{padding:20px 17px 12px}.card-heading h2{font-size:22px}.card-heading{margin-bottom:20px}.card-countdown,.issue{font-size:13px}.number-row{gap:8px}.filters{gap:3px;padding:12px 0 15px}.filters button{font-size:13px;padding:6px 11px}.card-footer{margin-top:12px}.admin-layout{grid-template-columns:1fr}.admin-games{flex-direction:row;flex-wrap:wrap;gap:3px}.admin-games button{font-size:13px;padding:8px 10px}.admin-games svg{display:none}.follow-panel{flex-direction:column;align-items:flex-start;gap:4px}.admin-content{padding:22px}.admin-page{padding:22px 14px}.card-heading .card-countdown{gap:4px}}@media(max-width:420px){.card-heading{column-gap:6px}.card-heading h2{font-size:20px}.card-countdown,.issue{font-size:12px}.kind-rank .max-ball{--number-size: clamp(20px, 6.3vw, 26px);font-size:19px}.kind-rank .number-row{gap:5px}.max-ball{--number-size: clamp(26px, 8.7vw, 34px)}.kind-digits .max-ball{--number-size: clamp(32px, 10.5vw, 40px)}.kind-sum .max-ball{--number-size: clamp(30px, 9vw, 40px)}.ball{--legacy-ball-size: clamp(26px, 8.7vw, 34px);width:var(--legacy-ball-size);height:var(--legacy-ball-size);flex-basis:var(--legacy-ball-size);font-size:23px}.number-row,.balls,.zodiac-row{gap:5px}.zodiac-row span{width:clamp(26px,8.7vw,34px)}.zodiac-row span:last-child{margin-left:28px}.plus,.special-divider{font-size:25px;line-height:34px}.card-meta{font-size:15px;gap:8px}.dragons{letter-spacing:0}.refresh-button{font-size:13px}.card-heading .card-countdown{flex-basis:100%;justify-content:flex-end;margin-top:1px}.card-heading{margin-bottom:16px}.card-six .card-heading .card-countdown{flex-basis:auto}.card-six .issue{max-width:130px;overflow-wrap:anywhere}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important}.source-number-strip,.source-number-settling{animation:none}}.admin-root{--ad-page: #f4f3ef;--ad-bg: #fcfbf8;--ad-panel: #eeece6;--ad-line: #ddd9cf;--ad-text: #252a28;--ad-muted: #666b64;--ad-accent: #805823;--ad-soft: #eee5d7;--ad-danger: #ad3934;--ad-green: #37634c;--ad-help-shadow: 0 10px 32px rgb(37 42 40 / 16%);font-family:Inter,Microsoft YaHei,system-ui,sans-serif;color:var(--ad-text);background:var(--ad-page);min-height:100vh;font-size:14px;line-height:1.55;letter-spacing:0;color-scheme:light}.admin-root *{box-sizing:border-box}.admin-root h1,.admin-root h2,.admin-root h3,.admin-root p{margin:0}.admin-root h1,.admin-root h2,.admin-root h3{font-family:inherit;letter-spacing:0}.admin-root button,.admin-root input,.admin-root select,.admin-root textarea{font:inherit;letter-spacing:0}.admin-root button{background:var(--ad-bg);border:1px solid var(--ad-line);padding:8px 13px;border-radius:6px;color:var(--ad-text);cursor:pointer;transition:background .15s,border-color .15s;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px}.admin-root button:hover:not(:disabled){border-color:#a78d69;background:var(--ad-soft)}.admin-root button:disabled{opacity:.5;cursor:not-allowed}.admin-root a{color:inherit;text-decoration:none}.admin-root input:not([type=checkbox]):not([type=radio]),.admin-root select,.admin-root textarea{width:100%;background:var(--ad-bg);border:1px solid var(--ad-line);border-radius:6px;color:var(--ad-text);padding:9px 11px;min-height:40px}.admin-root textarea{resize:vertical}.admin-root input:focus-visible,.admin-root select:focus-visible,.admin-root textarea:focus-visible,.admin-root button:focus-visible,.admin-root a:focus-visible{outline:2px solid var(--ad-accent);outline-offset:3px}.admin-root input[type=checkbox],.admin-root input[type=radio]{accent-color:var(--ad-accent);width:17px;height:17px}.admin-root button.ad-primary{background:var(--ad-accent);color:#fcf9f3;border-color:var(--ad-accent)}.admin-root button.ad-primary:hover:not(:disabled){background:#66451c}.ad-shell{display:flex}.ad-sidebar{width:230px;flex:0 0 230px;position:fixed;inset:0 auto 0 0;background:#202824;color:#d6dad2;padding:29px 18px;display:flex;flex-direction:column;z-index:30}.ad-wordmark{font-family:"Noto Serif SC",serif;font-size:30px;font-weight:600;color:#d5b887!important;display:flex;gap:12px;align-items:center}.ad-wordmark>span{font:11px system-ui;color:#aab3a9;border-left:1px solid #536051;padding-left:12px}.ad-nav-label{font-size:11px;letter-spacing:1px;color:#9ca89d;margin:39px 14px 12px}.ad-sidebar nav{display:flex;flex-direction:column;gap:6px}.ad-sidebar nav button{background:transparent;border-color:transparent;color:#c2ccc1;justify-content:flex-start;padding:12px 15px;gap:12px}.ad-sidebar nav button.active{background:#364136;color:#eed6af}.ad-sidebar nav button:hover:not(:disabled){background:#303a31;border-color:transparent}.ad-sidebar-bottom{margin-top:auto;font-size:13px}.ad-sidebar-bottom>a{display:flex;justify-content:space-between;padding:18px 12px;border-bottom:1px solid #465046}.ad-sidebar-bottom>div{display:flex;justify-content:space-between;align-items:center;padding:18px 10px 0}.ad-sidebar-bottom small{display:block;color:#9aab99}.ad-sidebar-bottom button{border:0;background:transparent;color:#c2ccc1}.ad-workspace{margin-left:230px;min-width:0;flex:1}.ad-topbar{height:65px;padding:0 36px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--ad-line);background:var(--ad-bg);font-size:12px;color:var(--ad-muted)}.ad-topbar i{font-style:normal;margin:0 12px;color:#a29e93}.ad-env{display:flex;align-items:center;gap:7px}.ad-env b{width:6px;height:6px;background:var(--ad-green);border-radius:50%}.ad-main{max-width:1500px;margin:auto;padding:30px 36px 45px}.ad-page-heading{display:flex;justify-content:space-between;margin-bottom:26px}.ad-eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:600;color:var(--ad-muted)}.ad-page-heading h1{font-size:25px;line-height:1.4;font-weight:650;margin:6px 0}.ad-page-heading p{font-size:13px;color:var(--ad-muted)}.ad-panel{border:1px solid var(--ad-line);border-radius:9px;background:var(--ad-bg);padding:23px;margin-bottom:20px;min-width:0}.ad-panel-heading{margin-bottom:22px}.ad-panel h2{font-size:16px;font-weight:650}.ad-panel-heading p{font-size:12px;color:var(--ad-muted);margin-top:5px}.ad-panel h3{font-size:13px;margin-bottom:9px}.ad-panel p{overflow-wrap:anywhere}.ad-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.ad-stats>div{padding:20px 22px;background:var(--ad-bg);border:1px solid var(--ad-line);border-radius:8px}.ad-stats span{color:var(--ad-muted);font-size:12px}.ad-stats strong{font-size:30px;font-weight:600;display:block;margin-top:6px;font-variant-numeric:tabular-nums}.ad-stats small{font-size:12px;font-weight:400;margin-left:9px;color:var(--ad-muted)}.ad-draw-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.ad-draw-list article{padding:20px 0;border-top:1px solid var(--ad-line)}.ad-draw-list article{padding:0 0 0 18px;border-top:0;border-left:1px solid var(--ad-line)}.ad-draw-list article:first-child{padding:0;border:0}.ad-draw-list .ad-numbers b{width:30px;height:30px;font-size:13px}.ad-draw-list .ad-numbers{gap:4px}.ad-draw-list .ad-draw-details{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ad-draw-list .ad-draw-details>span:last-child{grid-column:1/-1}@media(max-width:1100px){.ad-draw-list{grid-template-columns:1fr}.ad-draw-list article,.ad-draw-list article:first-child{padding:18px 0;border:0;border-top:1px solid var(--ad-line)}.ad-draw-list article:first-child{padding-top:0;border:0}}.ad-draw-list article:first-child{padding-top:0;border:0}.ad-draw-title{display:flex;align-items:center;gap:14px;margin-bottom:16px}.ad-draw-title h3{font-size:16px;margin:0}.ad-badge{display:inline-block;font-size:11px;background:var(--ad-panel);padding:3px 8px;border-radius:4px;white-space:nowrap}.ad-badge.warning{background:#f3e3cb;color:#845a21}.ad-numbers{display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-variant-numeric:tabular-nums}.ad-numbers>span{display:inline-flex;gap:8px;align-items:center}.ad-numbers b{font-size:15px;background:var(--ad-panel);border:1px solid var(--ad-line);border-radius:50%;width:37px;height:37px;display:flex;align-items:center;justify-content:center;font-weight:600}.ad-numbers i{font-style:normal;color:var(--ad-accent)}.admin-root .ad-numbers b.ad-sphere{background-size:cover;background-position:center;background-color:transparent;border:0;color:#fbf9f3;font-weight:700}.ad-numbers em{font-style:normal;color:var(--ad-muted)}.ad-draw-details{display:flex;gap:50px;margin-top:17px;font-size:11px;color:var(--ad-muted)}.ad-draw-details strong{display:block;color:var(--ad-text);font-size:12px;font-weight:500;margin-top:3px}.ad-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}.ad-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:12px 0;border-bottom:1px solid var(--ad-line);font-size:12px}.ad-row:last-child{border:0}.ad-row small,.admin-root td small{display:block;color:var(--ad-muted);font-size:11px;margin-top:3px}.ad-help{font-size:12px;color:var(--ad-muted);margin-top:12px!important}.ad-warning{font-size:12px;color:#88551a;margin:12px 0!important;background:#f6ecd9;padding:10px;border-radius:5px}.ad-empty{padding:30px 12px;color:var(--ad-muted);text-align:center}.ad-form-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start}.ad-preview{position:sticky;top:20px}.ad-preview h3{margin-top:20px}.ad-preview p{font-size:12px}.ad-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.ad-field{display:flex;flex-direction:column;gap:7px;margin-bottom:20px;min-width:0;font-size:13px}.ad-field>span{font-weight:550}.ad-field small{font-size:11px;color:var(--ad-muted);font-weight:400}.ad-field input[type=checkbox]{margin:9px 0}.ad-upload{display:flex;align-items:flex-start;gap:10px;flex-wrap:wrap}.ad-upload img{max-width:100px;max-height:70px;object-fit:contain;border:1px solid var(--ad-line);border-radius:4px}.ad-upload input{font-size:11px!important;min-width:0}.ad-brand-preview{background:#20231e;border:1px solid #5d563c;padding:25px 16px;color:#e7cd99;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px}.ad-brand-preview strong{font-family:"Noto Serif SC",serif;font-size:28px}.ad-brand-preview img{max-width:100%;max-height:80px;object-fit:contain}.ad-brand-preview small{flex-basis:100%;text-align:center;color:#c3bca9;font-size:11px}.ad-share-preview{border:1px solid var(--ad-line);border-radius:5px;overflow:hidden}.ad-share-preview>img{width:100%;height:125px;object-fit:cover}.ad-share-preview>strong{display:block;padding:12px 12px 0;font-size:13px}.ad-share-preview>p{padding:6px 12px 13px;color:var(--ad-muted)}.ad-sticky-actions{position:sticky;bottom:14px;border:1px solid var(--ad-line);background:var(--ad-bg);border-radius:8px;padding:13px;display:flex;gap:9px;align-items:center;z-index:5}.ad-sticky-actions>span{font-size:11px;color:var(--ad-muted);margin-right:auto}.ad-tabs{display:flex;gap:8px;margin-bottom:22px}.ad-tabs button.active{color:var(--ad-accent);background:var(--ad-soft);border-color:#b59c78}.ad-mode-options{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-bottom:20px}.ad-mode-options label{border:1px solid var(--ad-line);padding:15px 12px;border-radius:7px;display:flex;gap:10px;align-items:flex-start;cursor:pointer}.ad-mode-options label.selected{background:#f5eee3;border-color:#a88961}.ad-mode-options input{flex:0 0 auto;margin-top:3px}.ad-mode-options strong{font-size:13px;font-weight:600;display:block}.ad-mode-options small{font-size:11px;line-height:1.7;color:var(--ad-muted);display:block;margin-top:5px}.ad-source{padding:18px 0;border-top:1px solid var(--ad-line)}.ad-source-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.ad-source-title h3{margin:0}.ad-source-title button{font-size:11px}.ad-summary{display:grid;grid-template-columns:85px 1fr;gap:14px 12px;font-size:12px;margin:0}.ad-summary dt{color:var(--ad-muted)}.ad-summary dd{margin:0}.ad-inline-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:12px 0}.ad-check{display:flex;align-items:center;gap:9px;font-size:12px;margin-top:20px}.admin-root details{margin:13px 0}.admin-root summary{cursor:pointer;font-size:12px;color:var(--ad-accent);margin-bottom:14px;overflow-wrap:anywhere}.admin-root pre{font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:350px;overflow:auto;background:var(--ad-panel);padding:14px}.ad-number-inputs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}.ad-number-inputs input{padding:9px 5px!important;text-align:center;font-weight:600;font-size:19px!important}.admin-root .ad-special-input{max-width:90px;font-size:19px!important;text-align:center}.ad-table-scroll{overflow-x:auto;max-width:100%}.admin-root table{border-collapse:collapse;width:100%;font-size:12px;text-align:left}.admin-root th{font-weight:500;color:var(--ad-muted);font-size:11px;white-space:nowrap;border-bottom:1px solid var(--ad-line);padding:12px;background:var(--ad-panel)}.admin-root td{padding:15px 12px;border-bottom:1px solid var(--ad-line);vertical-align:top}.admin-root td .ad-numbers{flex-wrap:nowrap;min-width:255px;gap:4px}.admin-root td .ad-numbers b{width:27px;height:27px;font-size:12px}.admin-root td .ad-inline-actions{margin:0;min-width:120px}.admin-root td button{font-size:11px;padding:5px 9px;min-height:30px}.ad-feedback{display:flex;gap:9px;align-items:center;padding:12px 15px;margin-bottom:20px;border-radius:6px;font-size:13px;border:1px solid transparent}.ad-feedback>svg{flex:0 0 auto}.ad-feedback.success{color:#315440;background:#e6eee5;border-color:#c5d5c3}.ad-feedback.error{color:#973b34;background:#f7e9e6;border-color:#e4c1b9}.ad-feedback button{margin-left:auto;background:transparent;font-size:11px;border:0;min-height:24px;padding:2px 5px}.ad-bottom{display:flex;justify-content:space-between;color:var(--ad-muted);font-size:11px;margin:0 36px;padding:20px 0;border-top:1px solid var(--ad-line)}.ad-login{display:grid;grid-template-columns:1fr 1fr;align-items:center;max-width:none;padding:60px max(7vw,25px);gap:10vw}.ad-login-intro{align-self:stretch;display:flex;flex-direction:column;justify-content:center}.ad-login-intro h1{font-size:35px;margin:45px 0 20px;line-height:1.6;letter-spacing:-1px}.ad-login-intro p{color:var(--ad-muted);font-size:15px;line-height:2}.ad-login-intro>a{display:flex;gap:10px;align-items:center;font-size:12px;margin-top:35px}.ad-login-form{background:var(--ad-bg);padding:40px;max-width:440px;width:100%;border:1px solid var(--ad-line);border-radius:10px}.ad-login-form h2{font-size:23px;margin:10px 0}.ad-login-form>p{color:var(--ad-muted);font-size:13px;margin-bottom:30px}.ad-login-form>.ad-primary{width:100%;margin:5px 0 20px}.ad-login-form>small{font-size:11px;color:var(--ad-muted)}.ad-current-result{margin-top:18px;font-size:12px}.ad-current-result .ad-numbers{margin-top:10px}@media(min-width:1600px){.ad-main{padding-left:45px;padding-right:45px}.ad-form-layout{grid-template-columns:minmax(0,820px) 320px}}@media(max-width:1200px){.ad-form-layout{grid-template-columns:minmax(0,1fr) 250px}.ad-sidebar{width:200px;flex-basis:200px}.ad-workspace{margin-left:200px}.ad-main{padding:25px}.ad-mode-options{grid-template-columns:1fr}.ad-preview .ad-numbers b{width:27px;height:27px;font-size:12px}.ad-preview .ad-numbers{gap:4px}}@media(max-width:950px){.ad-form-layout{grid-template-columns:1fr}.ad-preview{position:static}.ad-preview .ad-panel{margin-bottom:20px}.ad-sidebar{width:180px;padding:25px 12px}.ad-workspace{margin-left:180px}.ad-topbar{padding:0 23px}.ad-stats{grid-template-columns:1fr 1fr}.ad-columns{grid-template-columns:1fr}.ad-draw-details{gap:25px}}@media(max-width:650px){.ad-shell{display:block}.ad-sidebar{position:relative;width:100%;padding:16px;display:block}.ad-sidebar>.ad-wordmark{font-size:25px}.ad-nav-label{display:none}.ad-sidebar nav{flex-direction:row;overflow:auto;margin-top:16px;padding-bottom:4px;gap:5px}.ad-sidebar nav button{white-space:nowrap;padding:9px 12px;font-size:12px}.ad-sidebar nav button svg{display:none}.ad-sidebar-bottom{position:absolute;right:15px;top:18px}.ad-sidebar-bottom>a{display:none}.ad-sidebar-bottom>div{padding:0;gap:10px}.ad-sidebar-bottom small{font-size:10px}.ad-sidebar-bottom span{font-size:12px}.ad-workspace{margin:0}.ad-topbar{height:45px;padding:0 18px}.ad-env{display:none}.ad-main{padding:22px 16px 30px}.ad-page-heading h1{font-size:23px}.ad-panel{padding:18px 15px}.ad-form-grid{grid-template-columns:1fr}.ad-stats{gap:10px}.ad-stats>div{padding:15px}.ad-stats strong{font-size:26px}.ad-draw-details{flex-wrap:wrap;gap:14px 30px}.ad-bottom{margin:0 16px;gap:10px;flex-wrap:wrap}.ad-sticky-actions{bottom:8px;padding:10px;flex-wrap:wrap}.ad-sticky-actions>span{flex-basis:100%}.ad-sticky-actions button{flex:1}.ad-login{grid-template-columns:1fr;padding:30px 20px;gap:30px}.ad-login-intro h1{font-size:25px;margin:25px 0 10px}.ad-login-intro p{font-size:13px}.ad-login-intro>a{margin-top:15px}.ad-login-form{padding:26px;max-width:none}.ad-number-inputs{gap:6px}.ad-number-inputs input{font-size:16px!important}.ad-upload{display:block}.ad-upload>*{margin-bottom:8px}}body:has(.admin-root){min-width:320px}.ad-action-help{display:inline-flex;align-items:center;gap:3px;max-width:100%;min-width:0;vertical-align:middle}.ad-field-heading,.ad-panel-heading h2,.ad-page-heading h1{display:flex;align-items:center;gap:4px}.admin-root button.ad-help-trigger{-webkit-appearance:none;-moz-appearance:none;appearance:none;flex:0 0 28px;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;min-height:28px;margin:0;padding:0;border:1px solid transparent;border-radius:50%;color:var(--ad-muted);background:transparent;cursor:help;vertical-align:middle;touch-action:manipulation;outline:2px solid transparent;outline-offset:2px;transition:none}.admin-root button.ad-help-trigger>svg{display:block;width:17px;height:17px;flex-shrink:0}.admin-root button.ad-help-trigger[aria-expanded=true]{color:var(--ad-accent);background:var(--ad-soft);border-color:var(--ad-line)}.admin-root button.ad-help-trigger:focus-visible{outline-color:var(--ad-accent)}.admin-root button.ad-help-trigger:active{background:var(--ad-panel);transform:translateY(1px)}@media(hover:hover){.admin-root button.ad-help-trigger:hover{background:var(--ad-soft);color:var(--ad-accent);border-color:var(--ad-line)}}.admin-root.ad-help-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;min-height:0;background:transparent;pointer-events:none}.ad-help-popover{position:fixed;width:320px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow-y:auto;overscroll-behavior:contain;padding:16px 18px 13px;color:var(--ad-text);background:var(--ad-bg);border:1px solid var(--ad-line);border-radius:12px;box-shadow:var(--ad-help-shadow);pointer-events:auto;overflow-wrap:anywhere;font-size:12px;font-weight:400;line-height:1.8;text-align:left;-webkit-user-select:text;user-select:text}.ad-help-popover>strong{display:block;margin-bottom:7px;font-size:13px;font-weight:650;line-height:1.5}.admin-root .ad-help-popover>p+p{margin-top:7px}.ad-help-popover>small{display:block;margin-top:10px;padding-top:9px;border-top:1px solid var(--ad-line);color:var(--ad-muted);font-size:11px;line-height:1.6}.ad-sidebar nav>.ad-action-help{display:flex;width:100%}.ad-sidebar nav>.ad-action-help>button:first-child{flex:1;min-width:0}.ad-sidebar .ad-action-help>.ad-help-trigger{color:#c2ccc1}.ad-sidebar .ad-help-trigger:focus-visible{outline-color:#eed6af}.ad-sidebar-bottom>.ad-action-help{margin-bottom:20px}.ad-sticky-actions>.ad-action-help{flex:0 1 auto;margin-right:0}.ad-mode-options strong{display:inline}@media(pointer:coarse){.admin-root button.ad-help-trigger{width:44px;height:44px;min-height:44px;flex-basis:44px}}@media(max-width:650px){.ad-sidebar-bottom>.ad-action-help:first-child{display:none}.ad-sidebar nav>.ad-action-help{width:auto;flex:0 0 auto}.ad-sticky-actions>.ad-action-help{width:auto}.ad-sticky-actions>.ad-action-help>button:first-child{flex:1;min-width:0}.ad-help-popover{width:min(320px,calc(100vw - 16px))}}.ad-duplicate-dialog{width:min(580px,calc(100vw - 32px));max-height:85vh;overflow:auto;padding:24px;border:1px solid #d5c7ab;border-radius:14px;background:#fffdf8;color:#25302a;box-shadow:0 20px 70px #0004}.ad-duplicate-dialog::backdrop{background:#101b17aa}.ad-duplicate-dialog h2{font-size:20px;margin:0 0 12px}.ad-duplicate-dialog p{font-size:14px;line-height:1.7}.ad-duplicate-dialog ul{padding:0;list-style:none;max-height:38vh;overflow:auto}.ad-duplicate-dialog li{padding:12px 0;border-top:1px solid #e7e2d7}.ad-duplicate-dialog li span{display:block;font-size:13px;margin-top:5px}.ad-duplicate-dialog button{padding:10px 18px;border:1px solid #c8bea8;border-radius:6px;background:#fffdf8;color:#25302a;cursor:pointer}.ad-duplicate-dialog .ad-primary{background:#805b24;border-color:#805b24;color:#fff}.admin-root .ad-flow-preview{margin-top:16px;padding:14px;border:1px solid var(--ad-line);border-radius:8px}.admin-root .ad-flow-preview .main-draw{background:transparent;min-height:0;padding:12px 0}.admin-root .ad-flow-preview .balls{max-width:600px;margin:12px auto}.admin-root .ad-flow-preview p{color:var(--ad-muted);font-size:13px}.admin-root .ad-flow-preview{min-width:0}.admin-root .ad-flow-preview .balls{display:grid;grid-template-columns:repeat(6,minmax(0,1fr)) 16px minmax(0,1fr);gap:4px;width:100%}.admin-root .ad-flow-preview .ball{--ball: 100%;width:100%;height:auto;aspect-ratio:1;min-width:0;font-size:clamp(12px,3vw,28px)}.admin-root .ad-flow-preview .special-divider{font-size:24px;text-align:center}.max-batch-preview{border:1px solid var(--ad-line);border-radius:7px;padding:16px;margin:18px 0;min-width:0}.max-batch-preview-list{max-height:480px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.max-batch-preview-row{padding:16px 0;border-top:1px solid var(--ad-line);min-width:0}.max-batch-row-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:14px;overflow-wrap:anywhere}.max-batch-row-heading strong{font-size:13px;min-width:0}.max-batch-row-heading>span{font-size:11px;color:var(--ad-muted);white-space:nowrap}.max-console .max-batch-error{color:var(--ad-danger);font-size:12px;margin:12px 0;line-height:1.7}.max-console .max-draft-preview{margin:16px 0;padding:16px;border:1px solid var(--ad-line);border-radius:7px;background:var(--ad-bg)}.max-draft-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.max-draft-heading strong{font-size:13px;font-weight:600}.max-draft-heading>span{font-size:11px;color:var(--ad-muted);font-weight:400}.max-console .ad-sidebar{overflow-y:auto}.max-console .ad-sidebar-bottom{padding-top:24px}.max-console .ad-sidebar nav button{min-height:46px;flex-shrink:0}.max-console .ad-sidebar nav{scrollbar-width:none}.max-console .ad-sidebar nav::-webkit-scrollbar{display:none}.max-console .ad-main{padding-bottom:40px}.max-console .admin-content{background:transparent;padding:0;min-width:0}.max-console .admin-content>h2{font-family:inherit;font-size:17px;margin:0 0 18px}.max-console .admin-content .ad-panel{padding:23px;margin-bottom:20px;background:var(--ad-bg);border:1px solid var(--ad-line)}.max-console .admin-content button,.max-console .admin-games button{min-height:44px}.max-console .admin-content .primary{background:var(--ad-accent);border-color:var(--ad-accent);color:#fffdf8}.max-console [hidden]{display:none!important}.max-console .admin-message{margin-bottom:20px;color:var(--ad-green);border:1px solid #cad7c8;background:#edf3ea}.max-console .admin-message.error{color:var(--ad-danger);background:#faefeb;border-color:#e6c8bc}.max-console .admin-games{flex-direction:row;flex-wrap:wrap;gap:8px;margin:0 0 22px}.max-console .admin-games button{padding:9px 14px;justify-content:center;gap:0;color:var(--ad-text)}.max-console .admin-games button svg{display:none}.max-console .admin-games .selected{background:var(--ad-soft);color:var(--ad-accent);border-color:#b4a183}.max-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:22px;align-items:start}.max-config-preview{position:sticky;top:20px}.max-config-preview h2{font-size:16px;margin-bottom:18px}.max-config-preview dl{display:grid;grid-template-columns:80px minmax(0,1fr);gap:12px;font-size:12px;margin:0}.max-config-preview dt{color:var(--ad-muted)}.max-config-preview dd{margin:0;overflow-wrap:anywhere}.max-console .runtime-panel{background:transparent;border:0;border-top:1px solid var(--ad-line);border-radius:0;margin:20px 0 0;padding:16px 0 0}.max-console .runtime-panel p{font-size:12px;margin-top:9px;color:var(--ad-muted)}.max-console .field-help{color:var(--ad-muted);font-family:inherit;line-height:1.7;font-size:12px;margin:12px 0}.max-console .settings-form>h3,.max-console .preset-form>h3,.max-console .list-heading h3{font-size:16px;font-weight:650;color:var(--ad-text);margin:0 0 20px}.max-console .settings-form label,.max-console .preset-form label{font-weight:550;color:var(--ad-text);margin:16px 0}.max-console .settings-form input,.max-console .preset-form input,.max-console textarea{margin-top:8px;font-weight:400}.max-config-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px}.max-config-form>h3,.max-config-form>p,.max-config-form>details,.max-config-form>fieldset,.max-config-form>.max-config-actions{grid-column:1/-1}.max-console .ad-mode-options{border:0;padding:0;margin:0 0 8px}.max-console .ad-mode-options legend{font-size:13px;font-weight:600;margin-bottom:12px}.max-console .ad-mode-options label{margin:0}.max-console .ad-mode-options input{margin:3px 0 0;flex:0 0 auto}.max-console .ad-mode-options input[type=radio]{width:16px;height:16px;min-height:16px;padding:0;accent-color:var(--ad-accent)}.max-console-login label{font-size:13px;color:var(--ad-text);font-weight:600}.max-console-login .ad-login-form{min-width:0}.max-config-actions{position:sticky;bottom:12px;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 16px;margin:14px -10px -10px;background:var(--ad-bg);border:1px solid var(--ad-line);border-radius:8px;box-shadow:0 4px 16px #252a2810}.max-config-actions span{font-size:12px;color:var(--ad-muted)}.max-console .management-tools>details{padding:23px;border:1px solid var(--ad-line);border-radius:9px;background:var(--ad-bg);margin:0 0 20px}.max-console .management-tools summary{font-size:16px;font-weight:650}.max-console .management-tools .settings-form{margin:0;padding:0;border:0}.max-console .management-tabs{margin:16px 0}.max-console .management-tabs select{flex:1;margin:0;min-width:0}.max-console .preset-row,.max-console .management-record{border-color:var(--ad-line);padding:18px 0}.max-console .preset-row>strong{font-size:14px}.max-console .preset-row .new-numbers,.max-console .management-record .new-numbers{margin:14px 0}.max-console .state-label,.max-status-badge{display:inline-flex;font-size:11px;padding:3px 8px;border-radius:4px;background:var(--ad-soft);color:var(--ad-accent);white-space:nowrap}.max-mobile-game{display:none}.max-overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.max-overview-card{min-width:0;padding:18px 0;border-top:1px solid var(--ad-line)}.max-record-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.max-console .max-overview-card h3{font-size:15px;margin:0}.max-console .max-overview-card p{font-size:12px;color:var(--ad-muted);margin:10px 0}.max-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.max-admin-footer{display:flex;justify-content:space-between;padding:20px 36px;border-top:1px solid var(--ad-line);font-size:11px;color:var(--ad-muted)}.max-menu-toggle{display:none!important}@media(max-width:1100px){.max-editor-layout{grid-template-columns:minmax(0,1fr)}.max-config-preview{position:static}}@media(max-width:650px){.max-console .ad-sidebar{position:static;width:auto;height:auto;padding:18px 16px;overflow:visible}.max-console .ad-wordmark{font-size:24px}.max-console .ad-sidebar nav{display:flex;flex-direction:row;flex-wrap:nowrap;overflow-x:auto;gap:5px;margin-top:16px;padding-bottom:2px}.max-console .ad-sidebar nav button{white-space:nowrap;padding:10px 12px;font-size:12px}.max-console .ad-sidebar nav svg{display:none}.max-console .ad-nav-label{display:none}.max-console .ad-sidebar-bottom{position:absolute;right:16px;top:16px;padding:0}.max-console .ad-sidebar-bottom>a,.max-console .ad-sidebar-bottom span{display:none}.max-console .ad-sidebar-bottom>div{padding:0}.max-console .ad-workspace{margin-left:0}.max-console .ad-topbar{height:44px;padding:0 16px}.max-console .ad-topbar .ad-env{display:none}.max-console .ad-main{padding:20px 14px 30px}.max-console .ad-page-heading{margin-bottom:20px}.max-console .ad-page-heading h1{font-size:23px}.max-console .admin-content .ad-panel,.max-console .management-tools>details{padding:18px}.max-console .admin-games{display:none}.max-mobile-game{display:block;margin:0 0 18px}.max-mobile-game label{margin:0;color:var(--ad-muted);font-size:12px}.max-mobile-game select{margin-top:7px;min-height:44px}.max-editor-layout{gap:0}.max-config-form{grid-template-columns:minmax(0,1fr)}.max-console .max-overview-grid{grid-template-columns:minmax(0,1fr);gap:10px}.max-console .ad-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.max-console .ad-stats>div{padding:16px}.max-console .ad-stats strong{font-size:26px}.max-admin-footer{padding:18px 14px;gap:10px;flex-wrap:wrap}.max-console .max-config-actions{bottom:8px;margin-inline:-8px;padding:10px}}
