@charset "UTF-8";
:root{color-scheme:light;--ink:#123c30;--muted:#71877c;--green:#17674d;--lime:#c9f565;--line:#dfE8df;--paper:#f7f9f2;--red:#ed583d;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}[hidden]{display:none!important}a{color:inherit;text-decoration:none}h1,h2,p{margin-top:0}button:focus-visible,a:focus-visible{outline:3px solid #82ae27;outline-offset:4px}input,select,textarea{width:100%;border:1px solid #dce5db;border-radius:12px;padding:14px 15px;background:#fff;color:var(--ink);outline:none}input:focus,select:focus,textarea:focus{border-color:#4b8f69;box-shadow:0 0 0 3px #84b89022}label{display:block;font-size:13px;font-weight:600;margin:18px 0 9px}label span{font-size:11px;font-weight:400;color:var(--muted)}.primary,.secondary{border:0;border-radius:12px;padding:14px 19px;font-weight:650;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}.primary{background:var(--lime);color:#103c2c;box-shadow:0 5px 18px #1934210b}.primary:hover{background:#d8ff88}.secondary{background:#eef3e9;color:var(--ink);border:1px solid #dce6d8}.secondary:hover{background:#e3eddc}.error{background:#fff0eb;border:1px solid #f4b5a7;color:#9d341f;border-radius:12px;padding:14px;font-size:14px;line-height:1.6;margin-top:18px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px}.brand{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:700}.brand-icon{display:grid;place-items:center;background:var(--lime);border-radius:10px;color:#143d2f;width:34px;height:34px;font-family:serif;font-weight:900;font-size:22px;transform:rotate(-6deg)}.brand-sub{font-size:8px;letter-spacing:1.8px;display:block;font-weight:500;margin-top:4px}.draw-page{background:#062c23;color:#fff;min-height:100vh;background-image:radial-gradient(ellipse at 65% 22%,#1c634c88,transparent 50%),linear-gradient(0deg,#0b362a,transparent)}.phone-shell{max-width:470px;margin:auto;padding:28px 24px 20px;position:relative;overflow:hidden}.draw-page .brand{margin-bottom:38px;color:#ecf3dc}.live-badge{margin-left:auto;font-size:9px;font-weight:500;background:#174836;border:1px solid #427254;border-radius:20px;padding:7px 9px;white-space:nowrap}.live-badge i,.machine-top i{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--lime);margin-right:5px;box-shadow:0 0 9px #c9f565}.draw-page .eyebrow{color:#b0d58b}.draw-page h1{font-size:54px;line-height:1.12;letter-spacing:-2px;margin:14px 0 17px;font-weight:800}.draw-page h1 span{color:var(--lime)}.hero-copy{font-size:13px;line-height:1.9;color:#b8d1bf;margin-bottom:28px}.machine{height:258px;position:relative;border:1px solid #6c97615a;border-radius:20px;background:radial-gradient(ellipse,#3a7d4b77,transparent 70%),repeating-linear-gradient(0deg,transparent,transparent 23px,#60916910 24px),repeating-linear-gradient(90deg,transparent,transparent 23px,#60916910 24px);overflow:hidden;margin-bottom:22px;box-shadow:inset 0 0 40px #082c2188}.machine-top,.machine-bottom{position:absolute;left:16px;right:16px;display:flex;justify-content:space-between;font-size:9px;letter-spacing:1px;color:#a4c58d;z-index:2}.machine-top{top:16px}.machine-bottom{bottom:15px;font-size:8px}.orbit{position:absolute;border:1px solid #b0ce5e33;border-radius:50%;width:295px;height:130px;left:50%;top:48%;transform:translate(-50%,-50%) rotate(-25deg)}.orbit-two{transform:translate(-50%,-50%) rotate(30deg);width:270px;height:170px}.envelope{position:absolute;width:142px;height:174px;left:50%;top:47%;transform:translate(-50%,-50%) rotate(-8deg);background:linear-gradient(135deg,#ff7a4c,#e6462b 75%);border-radius:12px;box-shadow:14px 18px 38px #001e1a80,inset 0 0 0 1px #ffad6e70;text-align:center;transition:transform .6s}.envelope:before,.envelope:after{content:"✦";position:absolute;color:#e2f68e;font-size:23px;top:24px;left:-43px;transform:rotate(8deg)}.envelope:after{left:auto;right:-39px;top:122px;font-size:32px}.envelope-flap{height:55px;position:absolute;top:0;left:0;right:0;background:#ff9563;clip-path:polygon(0 0,100% 0,100% 20%,50% 100%,0 20%);border-radius:12px 12px 0 0}.envelope-label{position:absolute;top:43px;left:7px;right:7px;color:#ffe8b9;font-size:10px;line-height:1.15;letter-spacing:1px;font-weight:700;overflow-wrap:anywhere}.coin{position:absolute;top:68px;left:50%;transform:translateX(-50%);width:70px;height:70px;filter:drop-shadow(0 5px 3px #732d20aa)}.coin img{display:block;width:100%;height:100%;object-fit:contain}.envelope-foot{position:absolute;left:6px;right:6px;bottom:12px;font-size:8px;line-height:1.15;color:#ffdab0;display:block;letter-spacing:.6px;overflow-wrap:anywhere}.draw-card{background:var(--paper);color:var(--ink);border-radius:20px;padding:24px;box-shadow:0 10px 35px #001e1c44;min-height:160px;position:relative}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:6px}.card-heading h2{font-size:19px;letter-spacing:-.7px;margin:0}.pill{font-size:9px;border-radius:20px;padding:6px 8px;background:#e6eddc;color:#69805b;white-space:nowrap}.draw-card label{font-size:11px;margin-top:22px}.draw-card input{font-size:14px;padding:16px 13px}.field-hint{color:var(--muted);font-size:11px;line-height:1.7;margin:10px 0 18px}.draw-button{width:100%;justify-content:space-between;font-size:16px;padding:17px 19px}.draw-button span{font-size:22px}.fine-print{font-size:10px;color:#829184;text-align:center;line-height:1.8;margin:14px 0 0}.section-label{display:flex;justify-content:space-between;font-size:12px;color:#c6dcbb;margin:27px 2px 14px}.section-label span:last-child{color:#8baa81;font-size:10px}.prize-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.prize-grid>div{padding:16px 5px 14px;text-align:center;background:#16473266;border:1px solid #5485594d;border-radius:14px}.prize-grid span{display:block;font-size:10px;color:#b9cfa6}.prize-grid strong{font-size:28px;letter-spacing:-1.4px;display:block;margin:9px 0;color:#d6eea4;font-weight:650}.prize-grid small{font-size:13px;margin-right:3px}.prize-grid em{font-style:normal;font-size:9px;color:#9abb8a}footer{text-align:center;font-size:10px;line-height:2;color:#96b297;margin-top:26px}footer span{font-size:9px;opacity:.7}#result{text-align:center}#result .eyebrow{color:#719251;font-size:9px}#result h2{font-size:23px;margin:10px 0}.prize{color:#25724c;margin:16px 0 20px}.prize strong{font-size:68px;letter-spacing:-3px}.prize small{font-size:27px;margin-right:4px}.prize>span{font-size:13px;margin-left:7px}.result-meta{display:flex;flex-direction:column;gap:7px;color:#71826e;font-size:12px}.payment-note{background:#e4eed5;border-radius:10px;padding:12px;font-size:12px;margin-top:18px;line-height:1.6}.opened .envelope{transform:translate(-50%,-50%) rotate(5deg) scale(1.08)}#unavailable{text-align:center;padding:10px 0}#unavailable h2{font-size:20px;margin:13px 0 10px}#unavailable p{font-size:13px;color:#7a8c79;line-height:1.9;margin-bottom:8px}.empty-icon{font-size:30px;color:#85a34f}.loading{text-align:center;font-size:14px;padding:35px 0;color:var(--muted)}.shaking .envelope{animation:shake .22s infinite}.confetti-piece{position:fixed;z-index:5;top:-30px;width:8px;height:17px;background:#d9f66c;left:12%;animation:fall 1.8s ease-in forwards}.piece-1{left:24%;background:#ffbc76;animation-delay:.1s}.piece-2{left:36%;animation-delay:.4s}.piece-3{left:48%;background:#f88557;animation-delay:.2s}.piece-4{left:60%;animation-delay:.3s}.piece-5{left:72%;background:#ffe1a6}.piece-6{left:84%;animation-delay:.2s}.piece-7{left:93%;background:#fb8a6a;animation-delay:.4s}@keyframes shake{0%,100%{transform:translate(-50%,-50%) rotate(-8deg)}50%{transform:translate(-50%,-50%) rotate(1deg)}}@keyframes fall{to{transform:translate(20px,100vh) rotate(600deg);opacity:0}}.admin-page{background:#f1f4ed;color:var(--ink)}.admin-header{background:#0b382b;color:#ecf3dc;padding:20px max(24px,calc((100vw - 1240px)/2));display:flex;align-items:center;justify-content:space-between;gap:20px}.admin-actions{display:flex;align-items:center;gap:20px}.admin-label{font-size:12px;color:#abc4a2}.admin-header .secondary{background:#204d3c;border-color:#47705a;color:#e4efcf;padding:8px 13px;font-size:12px}.admin-shell{max-width:1288px;margin:auto;padding:38px 24px}.dashboard-title{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.dashboard-title h1{font-size:30px;letter-spacing:-1px;margin:10px 0}.dashboard-title p{margin:0;font-size:12px}.admin-page .eyebrow{color:#6a8867;letter-spacing:1.7px}.muted{color:var(--muted);font-size:13px;line-height:1.8}.panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:26px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.stat{padding:24px;background:#fff;border:1px solid var(--line);border-radius:18px}.stat>span{font-size:12px;color:#7d8f78}.stat strong{display:block;font-size:34px;margin:16px 0;font-weight:650;letter-spacing:-1px}.stat small{font-size:10px;color:#809078}.featured{background:#123f30;border-color:#123f30;color:#daf4a4;position:relative;overflow:hidden}.featured:after{content:"✦";font-size:110px;color:#c0e87812;position:absolute;right:6px;top:24px}.featured>span,.featured small{color:#b4c799}.admin-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:24px}.panel-title{display:flex;align-items:center;gap:11px;margin-bottom:16px}.panel h2{font-size:18px;margin:0}.step-number{display:grid;place-items:center;width:28px;height:28px;background:#edf3e3;color:#78925b;border-radius:8px;font-size:11px;font-weight:700}.input-action{display:flex;gap:9px}.input-action input{min-width:0}.weight-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.weight-fields label{font-size:11px;margin-top:12px}.weight-fields input{margin-top:8px;padding:11px 12px}.preset-row{display:flex;gap:8px}.preset-row button{font-size:11px;padding:8px 11px}.budget-detail{background:#f6f8f1;border:1px dashed #d9e3ca;padding:12px;border-radius:10px;display:flex;flex-wrap:wrap;gap:9px 20px;font-size:11px;color:#668150}.generated{background:#f2f8e9;border:1px solid #dce9c9;border-radius:14px;padding:16px;margin-top:20px}.generated strong{font-size:13px}.generated p{font-size:11px;color:#6b8260;line-height:1.8;margin:8px 0}.generated textarea{font:12px monospace;resize:vertical;line-height:1.5}.generated .secondary{font-size:12px;margin-top:9px}.records-header{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:23px}.records-header h2{margin-top:9px}.export-link{font-size:12px}.filter-row{display:flex;gap:10px;max-width:620px;margin-bottom:20px}.filter-row input{flex:1;min-width:0}.filter-row select{width:145px}.filter-row>*{font-size:12px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px;white-space:nowrap}th{background:#f5f7f1;color:#819078;font-weight:500;padding:14px 12px;font-size:11px}td{padding:18px 12px;border-bottom:1px solid #edf0e7;color:#68805f}.order-cell{max-width:250px;overflow-wrap:anywhere;white-space:normal;color:#294c34;line-height:1.6}.amount-cell{font-weight:700;color:#295639}.status{padding:5px 8px;border-radius:6px;font-size:10px;background:#f3f5ed;color:#9ba58b}.status-active{background:#f5f1db;color:#a08035}.status-drawn{background:#e9f2db;color:#668347}.table-action{border:0;background:transparent;color:#326744;font-size:12px;padding:8px 0;text-decoration:underline;text-underline-offset:4px}.pagination{display:flex;justify-content:space-between;align-items:center;padding-top:18px;gap:8px;color:#809078;font-size:11px}.pagination .secondary{font-size:11px;padding:8px 11px}.empty-records{text-align:center;padding:36px 12px;color:#809078;font-size:13px}.login-panel{max-width:450px;margin:8vh auto}.login-panel h1{font-size:26px;margin:13px 0}.login-panel .primary{width:100%;margin-top:20px}.admin-page footer{color:#789170;margin-top:32px}#toast{position:fixed;left:50%;bottom:30px;transform:translateX(-50%);max-width:90vw;border-radius:12px;background:#163e2f;color:#e3f3cd;padding:15px 24px;font-size:13px;box-shadow:0 8px 30px #08271933;z-index:9}dialog{border:1px solid var(--line);border-radius:18px;max-width:430px;width:calc(100% - 36px);padding:26px;color:var(--ink)}dialog::backdrop{background:#05291c88;backdrop-filter:blur(3px)}dialog h2{font-size:20px}dialog p{font-size:14px;line-height:1.8;color:var(--muted)}.dialog-actions{display:flex;justify-content:flex-end;gap:10px}@media(min-width:600px){.phone-shell{padding-top:38px}.draw-page{background-attachment:fixed}.draw-page:before{content:"11.11";position:fixed;font-size:22vw;font-weight:900;left:-3vw;top:22vh;color:#a5d06b06;pointer-events:none}.phone-shell{box-shadow:0 0 120px #001e1733}}@media(max-width:850px){.stats-grid{grid-template-columns:repeat(2,1fr)}.admin-columns{grid-template-columns:1fr}.admin-shell{padding:26px 18px}.dashboard-title h1{font-size:25px}.stat strong{font-size:29px}.admin-label{display:none}}@media(max-width:480px){.phone-shell{padding:22px 20px}.draw-page h1{font-size:50px}.draw-page .brand{margin-bottom:31px}.brand{font-size:14px}.live-badge{font-size:8px;padding:7px}.draw-card{padding:21px}.admin-header{padding:18px}.admin-shell{padding:25px 14px}.dashboard-title{align-items:flex-start}.dashboard-title h1{font-size:22px}.dashboard-title .secondary{font-size:11px;padding:10px}.stats-grid{gap:10px}.stat{padding:18px 14px}.stat strong{font-size:26px}.stat small{font-size:9px}.panel{padding:20px 16px}.panel h2{font-size:16px}.input-action{flex-direction:column}.input-action .primary{width:100%}.filter-row{flex-wrap:wrap}.filter-row input{flex-basis:100%}.filter-row select{flex:1}.records-header{align-items:flex-end}.records-header h2{font-size:15px}.export-link{padding:10px;font-size:10px}.records-header .eyebrow{font-size:8px}footer{padding-bottom:env(safe-area-inset-bottom)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.prize-grid strong.compact{font-size:15px;letter-spacing:-.5px;padding:7px 0}.prize-grid b{font-weight:inherit}.large-prize strong{font-size:38px;letter-spacing:-1px}

.draw-page h1 .headline-first{color:#fff}.draw-page h1{overflow-wrap:anywhere}.hero-copy{white-space:pre-line}.draw-button span:first-child{font-size:16px}.live-badge{max-width:49%;white-space:normal;line-height:1.5}.copy-panel{margin-bottom:24px}.copy-panel summary{display:flex;align-items:center;gap:12px;cursor:pointer;font-size:16px;font-weight:650;list-style:none}.summary-hint{margin-left:auto;color:#819078;font-size:11px;font-weight:400}.copy-panel .muted{margin-top:18px}.copy-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.copy-grid input,.copy-grid textarea{margin-top:10px}.copy-grid textarea{resize:vertical;line-height:1.7}.copy-buttons{display:flex;gap:10px;margin-top:18px}.prize-grid>div>span{overflow-wrap:anywhere}.copy-panel label{line-height:1.7}@media(max-width:600px){.copy-grid{grid-template-columns:1fr}.copy-panel summary{font-size:13px}.summary-hint{display:none}.copy-panel .weight-fields{grid-template-columns:1fr}.draw-button{white-space:normal;line-height:1.5}.draw-page .eyebrow{overflow-wrap:anywhere}}
