:root{color-scheme:dark;--lime:#b8d94d;--orange:#ff8600;--ink:#171b12;font-family:Arial,Helvetica,sans-serif}*{box-sizing:border-box}[hidden]{display:none!important}html,body{margin:0;min-height:100%;background:#161a12}body{min-height:100svh;isolation:isolate;overflow-x:hidden}.backdrop,.ambient{position:fixed;inset:0;pointer-events:none;z-index:-2}.backdrop{background:linear-gradient(90deg,rgba(19,26,12,.22),rgba(13,15,11,.12) 50%,rgba(18,19,12,.15)),url('assets/workshop.jpg') center/cover no-repeat}.ambient{z-index:-1;background:radial-gradient(ellipse at 4% 1%,rgba(174,215,67,.56),transparent 47%),radial-gradient(ellipse at 9% 91%,rgba(143,186,43,.30),transparent 40%),radial-gradient(ellipse at 83% 8%,rgba(181,211,78,.16),transparent 36%),linear-gradient(0deg,rgba(9,13,6,.6),transparent 30%);mix-blend-mode:screen}header{height:106px;display:flex;align-items:center;justify-content:center;position:relative;padding:28px 40px}.brand{width:196px;height:auto;filter:brightness(0) invert(1);opacity:.98}.tools{position:absolute;right:36px;display:flex;gap:10px}.icon-button,.close-button{width:44px;height:44px;border:1px solid #ffffff30;border-radius:50%;background:#1c211850;color:#ffffffbd;display:grid;place-items:center;cursor:pointer;backdrop-filter:blur(12px);transition:background .2s,color .2s}.icon-button:hover{background:#b8d94d25;color:white}.icon-button svg,.close-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}button:focus-visible{outline:3px solid var(--lime);outline-offset:6px}main{min-height:calc(100svh - 106px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:27px;padding:15px 20px 42px}.wheel-stage{width:min(69svh,660px,87vw);aspect-ratio:1;position:relative;flex:none}.halo{position:absolute;inset:-8%;border-radius:50%;background:radial-gradient(circle,#c2de4a16 40%,#b8d94d0b 56%,transparent 70%);filter:blur(16px)}.wheel-frame{position:relative;width:100%;height:100%;border-radius:50%;background:linear-gradient(145deg,#c4d27e 0%,#3e472d 15%,#1e2519 45%,#9eac66 72%,#343c25 86%);box-shadow:0 28px 70px #0009,0 0 0 1px #d6f39440,0 0 70px #b8d94d17,inset 0 0 0 6px #0004}.rim{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#e1efb44a;stroke-width:1.3}.rim-dots{stroke:#e4eec8;stroke-width:3;stroke-dasharray:1 24;stroke-linecap:round;opacity:.7}#wheel{position:absolute;inset:3.5%;width:93%;height:93%;border-radius:50%;transform:rotate(12deg);will-change:transform;filter:drop-shadow(0 3px 3px #0005)}#wheel text{font-family:Arial,Helvetica,sans-serif;font-weight:600;letter-spacing:.1px}#wheel path{stroke:#172011;stroke-width:1.7}.hub{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:21%;height:21%;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle at 36% 26%,#39422c,#171d12 75%);border:1px solid #c4db8a70;box-shadow:0 6px 16px #0007,inset 0 0 0 7px #222a1d,inset 0 0 0 8px #ffffff12}.hub img{width:74%;filter:brightness(0) invert(1);opacity:.95}.pointer{position:absolute;top:-4.8%;left:50%;width:8.7%;transform:translateX(-50%);filter:drop-shadow(0 6px 4px #0009);z-index:2}.pointer svg{display:block;fill:#e4f4b5;stroke:#79933c;stroke-width:1.3}.pointer circle{fill:#5e702a;stroke:#edffca}.spin-button{position:relative;min-width:236px;min-height:62px;border:none;display:flex;align-items:center;justify-content:center;gap:14px;border-radius:99px;background:linear-gradient(120deg,#ff9a18,#ff8000);color:#171b12;font:600 19px Arial,sans-serif;cursor:pointer;box-shadow:0 9px 30px #ff810023,inset 0 1px 0 #ffffff4d;transition:transform .2s,box-shadow .2s,background .2s}.spin-button:not(:disabled):hover{transform:translateY(-2px);box-shadow:0 13px 40px #ff810044}.spin-button:disabled{cursor:wait;background:#c0d890;color:#263018}.spin-icon{width:22px;height:22px;fill:currentColor}.spinning .spin-icon{fill:none;stroke:currentColor;stroke-width:2;animation:loading 1.4s linear infinite}.spinning .pointer{filter:drop-shadow(0 3px 8px #caff7180)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}dialog{width:min(520px,calc(100vw - 32px));padding:48px 30px 28px;border:1px solid #e4f5bd80;border-radius:28px;color:#20261a;background:radial-gradient(ellipse at 12% 0,#d4ed9c,transparent 65%),#f6f7ef;text-align:center;overflow:visible;box-shadow:0 35px 100px #0006}dialog[open]{animation:reveal .5s cubic-bezier(.2,.8,.2,1)}dialog::backdrop{background:#0e140c9e;backdrop-filter:blur(12px)}.close-button{position:absolute;right:16px;top:16px;color:#3c482c;border-color:#24321b20;background:transparent;width:36px;height:36px}.winner-art{width:138px;height:138px;margin:0 auto 26px;position:relative;display:grid;place-items:center}.award-circle{position:absolute;inset:0;border-radius:50%;background:#b8d94d;box-shadow:0 0 0 10px #bbd85b18}.winner-art svg{position:relative;width:96px;fill:none;stroke:#334218;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.winner-art .star{fill:#ff8b0b;stroke:#ff8b0b;stroke-width:1}#winner-label{font-size:14px;text-transform:uppercase;letter-spacing:3px;font-weight:600;margin:0 0 14px;color:#607041}#winner-name{font-size:clamp(28px,6vw,42px);line-height:1.15;letter-spacing:-1.4px;margin:0 0 35px;overflow-wrap:anywhere}.again-button{border:0;background:#20291a;color:#f0f5e6;font:600 16px Arial;min-height:54px;padding:0 34px;border-radius:99px;cursor:pointer}.again-button:hover{background:#374725}.modal-brand{display:block;width:105px;margin:30px auto 0;opacity:.55}#confetti{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:10}@keyframes loading{to{transform:rotate(360deg)}}@keyframes reveal{from{opacity:0;transform:translateY(16px) scale(.96)}to{opacity:1;transform:none}}@media(min-width:1500px){.wheel-stage{width:min(70svh,760px)}}@media(max-width:600px){header{height:100px;justify-content:flex-start;padding:28px 24px}.brand{width:156px}.tools{right:20px;gap:7px}.icon-button{width:36px;height:36px}main{min-height:calc(100svh - 100px);padding:14px 12px 54px;gap:38px}.wheel-stage{width:min(90vw,62svh)}.backdrop{background-position:73% center}.ambient{background:radial-gradient(ellipse at 0% 0%,#b8d94d77,transparent 65%),radial-gradient(ellipse at 0% 100%,#b8d94d40,transparent 60%)}.spin-button{min-height:58px;min-width:220px}.hub{width:22%;height:22%}}@media(max-height:600px) and (min-width:700px){header{height:70px;padding:18px}.brand{width:150px}main{min-height:calc(100svh - 70px);gap:16px;padding:10px 16px 20px}.wheel-stage{width:65svh}.spin-button{min-height:46px;min-width:190px;font-size:17px}}@media(prefers-reduced-motion:reduce){dialog[open]{animation:none}.spin-icon{animation:none!important}.spin-button{transition:none}}
