@import url('/static/base.css');
:root{--green:#163e35;--cream:#f6f3e9;--ink:#203c34;--muted:#7d887c;--gold:#c9a15c;--line:#dcded0}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:Inter,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible{outline:3px solid #d3a450;outline-offset:5px}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.play-page{background:radial-gradient(ellipse at 67% 41%,#e6ecdd 0,transparent 50%),var(--cream);min-height:100svh}.site-header{max-width:1440px;margin:auto;padding:34px 5%;display:flex;justify-content:space-between;align-items:center}.brand{display:flex;align-items:center;gap:12px;font-size:22px;font-weight:800;letter-spacing:2px}.brand-symbol{font-size:35px;font-weight:400}.brand-divider{height:20px;width:1px;background:#adb7aa;margin:0 3px}.brand-small{font-size:10px;letter-spacing:2px;font-weight:600}.header-note{font-size:11px;letter-spacing:2px;color:#798575}.header-note i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#65866e;margin-right:10px}.play-layout{max-width:1220px;margin:30px auto 0;padding:0 40px;display:grid;grid-template-columns: .8fr 1.2fr;gap:70px;align-items:center}.intro{padding:20px 0 20px 25px}.eyebrow{font-size:10px;letter-spacing:2.6px;font-weight:600;display:flex;align-items:center;gap:30px}.tiny-star{font-size:25px;font-weight:400;color:#b68d42}h1{font-size:clamp(42px,4.8vw,68px);letter-spacing:6px;line-height:1.2;margin:21px 0 17px;font-weight:800}.intro-copy{font-size:16px;letter-spacing:2px;color:#6c7d6d}.intro-rule{width:42px;height:2px;background:#b69b67;margin:30px 0 24px}.howto{font-size:14px;line-height:2.1;letter-spacing:1px;color:#7c877a}.prize-panel{margin-top:32px;max-width:340px;border-top:1px solid var(--line);padding-top:20px}.panel-heading{display:flex;justify-content:space-between;font-size:12px;letter-spacing:1px}.panel-heading span:last-child{font-size:9px;letter-spacing:2px;color:#8a9384}.prize-list{margin-top:19px;display:grid;grid-template-columns:1fr 1fr;gap:18px 25px}.prize-item{display:flex;align-items:center;gap:9px;font-size:12px}.prize-dot{height:9px;width:9px;border-radius:50%;flex-shrink:0}.prize-item small{font-size:10px;margin-left:auto;color:#91988b}.probability-note{font-size:10px;color:#939b8d;line-height:1.8;margin-top:20px}.edition{display:block;font-size:8px;letter-spacing:2px;color:#a0a795;margin-top:32px}.wheel-section{min-width:0;text-align:center}.wheel-topline{display:flex;align-items:center;justify-content:center;gap:18px;letter-spacing:3px;font-size:9px;color:#8e997f;margin-bottom:35px}.line{width:40px;height:1px;background:#bdc6af}.wheel-stage{position:relative;max-width:535px;margin:0 auto;padding:0 0 44px;isolation:isolate}.wheel-rim{position:relative;width:100%;aspect-ratio:1;border-radius:50%;background:linear-gradient(140deg,#f1dca3,#a47b3b 28%,#ebce8b 51%,#866230 75%,#ecd8a2);padding:25px;box-shadow:0 3px 0 #97713d,0 7px 0 #624d2d,0 16px 25px #2d40232b,inset 0 2px 3px #fff7cf,inset 0 -3px 7px #67471b;z-index:2}.wheel-rotator{width:100%;height:100%;border-radius:50%;overflow:hidden;box-shadow:0 0 0 3px #6c5731,0 0 0 5px #f2dfa7,inset 0 0 30px #0003;will-change:transform}canvas{display:block;width:100%;height:100%}.lamps{position:absolute;inset:0;pointer-events:none}.lamp{position:absolute;width:7px;height:7px;background:#fff2c2;border-radius:50%;box-shadow:0 0 5px #fff3bc,0 1px 2px #614018;transform:translate(-50%,-50%)}.wheel-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:50%;width:22%;aspect-ratio:1;background:radial-gradient(circle at 35% 25%,#315d48,#163e35 65%);box-shadow:0 0 0 3px #e9d5a0,0 0 0 6px #a7854a,0 7px 18px #0006;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#efdfb3;pointer-events:none}.wheel-center span{font-size:clamp(22px,3vw,39px);font-weight:700;letter-spacing:3px;margin-left:3px}.wheel-center small{font-size:7px;letter-spacing:1.5px;margin-top:4px}.pointer{position:absolute;left:50%;top:-17px;transform:translateX(-50%);width:34px;height:65px;background:linear-gradient(95deg,#ecd4a0,#fff1c8 45%,#bf9654 50%,#b48d4c);clip-path:polygon(20% 0,80% 0,100% 20%,50% 100%,0 20%);filter:drop-shadow(0 4px 3px #46382166);z-index:5}.pointer:after{content:'';position:absolute;width:9px;height:9px;border-radius:50%;background:#516749;top:10px;left:12px}.wheel-stand{position:absolute;width:100px;height:130px;background:linear-gradient(90deg,#122d25,#3d654b 45%,#1f4433);bottom:14px;left:calc(50% - 50px);z-index:-1;clip-path:polygon(23% 0,77% 0,100% 100%,0 100%)}.wheel-base{position:absolute;width:220px;height:19px;border-radius:50% 50% 9px 9px;background:linear-gradient(#5a7556,#203f31);bottom:15px;left:calc(50% - 110px);box-shadow:0 3px 0 #b79b61,0 7px 0 #28432e}.wheel-shadow{position:absolute;width:75%;height:25px;border-radius:50%;background:#263d1d2b;filter:blur(12px);bottom:0;left:12.5%;z-index:-1}.orbit-star{position:absolute;color:#a48f58;z-index:-1}.star-one{right:-38px;top:8%;font-size:40px;transform:rotate(15deg)}.star-two{left:-27px;bottom:19%;font-size:25px}.controls{margin-top:22px;display:flex;align-items:center;flex-direction:column}.spin-button,.stop-button{border:0;padding:19px 27px;border-radius:7px;min-width:240px;background:var(--green);color:#f6f0da;font-size:16px;letter-spacing:3px;display:flex;justify-content:space-between;gap:35px;align-items:center;box-shadow:0 4px 0 #0b2c23,0 8px 17px #173f351a;transition:background .2s}.spin-button:hover{background:#245446}.spin-button span:last-child{font-size:22px;line-height:1}.stop-button{background:#bc6a50;box-shadow:0 4px 0 #914c36;justify-content:center}.controls p{font-size:11px;color:#8a9583;letter-spacing:1.5px;margin-top:20px;min-height:18px}.text-button{border:0;background:transparent;text-decoration:underline;color:var(--green)}.site-footer{max-width:1440px;margin:30px auto 0;padding:25px 5%;border-top:1px solid #dee1d4;display:flex;justify-content:space-between;font-size:10px;letter-spacing:1px;color:#8f9788}.footer-star{margin-left:12px;font-size:17px}.result-dialog{border:1px solid #d6c191;padding:40px;border-radius:18px;background:var(--cream);color:var(--green);text-align:center;max-width:460px;width:calc(100% - 32px);box-shadow:0 30px 100px #0004}.result-dialog::backdrop{background:#0b271ccc;backdrop-filter:blur(7px)}.result-dialog form{display:flex;flex-direction:column;align-items:center}.dialog-close{position:absolute;right:15px;top:10px;border:0;background:transparent;font-size:28px;color:#7f8b76}.result-spark{color:#bd9451;font-size:60px;line-height:1.2;margin-bottom:22px}.result-greeting{font-size:18px;margin-bottom:0}.result-dialog h2{font-size:37px;margin:16px 0}.result-dialog p:not(.result-greeting){font-size:12px;color:#7e8c79;line-height:1.8}.result-dialog code{font-size:10px;color:#8f9986;margin:5px 0 25px}.result-dialog .spin-button{width:100%}
@media(min-width:1500px){.play-layout{margin-top:60px}.site-footer{margin-top:60px}}@media(max-width:900px){.play-layout{gap:30px;padding:0 30px}.intro{padding-left:0}.wheel-rim{padding:20px}.wheel-center small{font-size:6px}.star-one{right:-10px}.brand-small{display:none}.intro-copy{font-size:14px}.howto{font-size:12px}.prize-list{gap:15px 12px}}@media(max-width:650px){.site-header{padding:18px 23px}.brand{font-size:18px;gap:8px}.brand-symbol{font-size:28px}.brand-divider{display:none}.header-note{font-size:9px;letter-spacing:0}.play-layout{display:flex;flex-direction:column;padding:0 26px;margin:9px auto 0;gap:22px}.intro{text-align:center;width:100%;padding:0}.eyebrow{justify-content:center;font-size:8px}.tiny-star{display:none}h1{font-size:41px;margin:12px 0;letter-spacing:5px}.intro-copy{font-size:12px;margin-bottom:0}.intro-rule,.howto,.edition{display:none}.prize-panel{border:0;padding:0;margin:18px auto 0;max-width:390px}.panel-heading,.probability-note{display:none}.prize-list{grid-template-columns:repeat(2,1fr);gap:10px 20px;margin:0 auto;width:260px}.prize-item{font-size:10px}.prize-item small{font-size:9px}.wheel-section{width:100%;max-width:430px}.wheel-topline{display:none}.wheel-stage{padding-bottom:37px;margin-top:7px}.wheel-rim{padding:19px}.lamp{height:5px;width:5px}.pointer{width:27px;height:53px;top:-13px}.pointer:after{left:9px;top:7px;width:8px;height:8px}.wheel-center span{font-size:27px}.wheel-center small{font-size:5px}.wheel-base{width:170px;left:calc(50% - 85px);bottom:9px}.wheel-stand{bottom:15px}.star-one{right:-15px;font-size:25px}.star-two{left:-15px;font-size:20px}.controls{margin-top:13px}.spin-button,.stop-button{font-size:14px;padding:15px 25px;min-width:230px}.controls p{font-size:10px;margin-top:16px}.site-footer{padding:18px 23px;margin-top:15px;font-size:8px}.site-footer span:last-child{display:none}.result-dialog{padding:35px 25px}.result-dialog h2{font-size:30px}}
@media(min-width:901px) and (max-height:850px){.site-header{padding-top:18px;padding-bottom:18px}.play-layout{margin-top:10px}.wheel-stage{max-width:415px}.wheel-topline{margin-bottom:24px}.intro{padding-top:0;padding-bottom:0}h1{font-size:54px;margin:17px 0 13px}.intro-rule{margin:20px 0}.howto{line-height:1.85}.prize-panel{margin-top:22px;padding-top:16px}.edition{margin-top:20px}.controls{margin-top:12px}.site-footer{margin-top:20px;padding-top:20px;padding-bottom:20px}}
