@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;650;700&display=swap";:root{font-family:DM Sans,sans-serif;color:#213b31;background:#f8f7f2;font-synthesis:none;font-weight:400;--green: #153e32;--muted: #727b70;--surface: #eeeee6}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:0;background:none}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,section[tabindex]:focus-visible{outline:2px solid #aa843f;outline-offset:4px}a{color:inherit;text-decoration:none}button,input{transition:background .18s,color .18s}button svg{flex-shrink:0}button:hover:not(:disabled){filter:brightness(.94)}p{color:var(--muted);line-height:1.6;font-size:14px;margin:0}.app-shell{min-height:100vh}.topbar{min-height:84px;padding:20px max(32px,calc((100vw - 1536px)/2));display:flex;align-items:center;justify-content:space-between;gap:20px}.topbar-right{display:flex;align-items:center;gap:24px;flex-shrink:0}.text-button{display:inline-flex;align-items:center;gap:9px;font-size:13px;padding:8px 0}.count-badge{color:var(--muted);font-size:12px}main{max-width:1600px;margin:auto;padding:28px 32px 64px}h1{font-size:clamp(30px,3vw,40px);font-weight:650;letter-spacing:-1.3px;line-height:1.2;margin:0}.outline-button{border-radius:4px;padding:11px 15px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:13px;font-weight:500;background:var(--surface)}.studio-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,360px);gap:48px;align-items:start}.wheel-stage{min-width:0;position:relative;padding:0 8px 20px;display:flex;flex-direction:column;align-items:center}.stage-heading{flex-wrap:wrap;width:100%;display:flex;align-items:center;justify-content:flex-end;font-size:13px;color:var(--muted);gap:12px}.wheel-title{flex:1;min-width:0;display:flex;align-items:center;gap:12px}.wheel-title h1{overflow-wrap:anywhere;min-width:0}.wheel-title .icon-button{flex-shrink:0}.wheel-controls{display:flex;align-items:center;gap:4px;flex-shrink:0}.control-button{display:grid;place-items:center;width:34px;height:34px;border-radius:4px;color:var(--muted)}.control-button[aria-pressed=true]{background:#e6eadf;color:var(--green)}.wheel-wrap{display:block;padding:0;border-radius:50%;position:relative;width:min(66.6667%,666.6667px);aspect-ratio:1;margin:30px auto 24px;filter:drop-shadow(0 12px 12px #213b3118);flex-shrink:0}.wheel-wrap:disabled{opacity:1}.wheel-wrap:hover:not(:disabled){filter:drop-shadow(0 12px 12px #213b3118) brightness(1.03)}.wheel-celebration{position:absolute;top:-20%;right:-20%;bottom:-20%;left:-20%;z-index:4;pointer-events:none}.confetti-piece{position:absolute;left:50%;top:50%;width:5px;height:9px;border-radius:1px;opacity:0;animation:confetti-burst .85s ease-out var(--delay) both}.confetti-piece:nth-child(3n){width:6px;height:6px;border-radius:50%}.is-celebrating .wheel-rim{box-shadow:inset 0 0 0 1px #fff0c563,0 0 0 4px #244b3c,0 0 24px 8px #eacb8b70;animation:winner-glow .95s ease-out}.is-celebrating .wheel-hub{background:#fff1c9}@keyframes confetti-burst{0%{opacity:0;transform:translate(-50%,-50%) scale(.3)}15%{opacity:1}55%{opacity:1;transform:translate(var(--burst-x),var(--burst-y)) rotate(var(--twirl))}to{opacity:0;transform:translate(var(--burst-x),var(--fall-y)) rotate(var(--twirl)) scale(.6)}}@keyframes winner-glow{0%,to{box-shadow:inset 0 0 0 1px #fff0c563,0 0 0 4px #244b3c}35%{box-shadow:inset 0 0 0 1px #fff0c563,0 0 0 4px #244b3c,0 0 24px 8px #eacb8b70}}.entry-image-button{flex-shrink:0}.wheel-rim{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;background:linear-gradient(140deg,#edd69d,#ac823c 24%,#edcd86 45%,#917033 75%,#dac18b);padding:12px;box-shadow:inset 0 0 0 1px #fff0c563,0 0 0 4px #244b3c}.wheel-rim:before{content:"";position:absolute;top:5px;right:5px;bottom:5px;left:5px;pointer-events:none;border:1px dashed #594e27;border-radius:50%;opacity:.7;z-index:1}.wheel-rim svg{display:block;width:100%;height:100%;border-radius:50%;background:#d3b980;will-change:transform}.wheel-hub{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:18%;max-width:160px;aspect-ratio:1;border-radius:50%;border:5px solid #c5a368;background:#f4e8cb;box-shadow:0 0 0 2px #f1d695,0 5px 14px #18322540;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;color:#5e6b45}.wheel-hub svg{width:36%;height:auto}.wheel-pointer{position:absolute;z-index:3;left:50%;top:-12px;transform:translate(-50%);width:27px;height:40px;background:linear-gradient(110deg,#f8e3b2,#ba914b);clip-path:polygon(0 0,100% 0,50% 100%)}.stage-bottom{display:flex;flex-direction:column;align-items:center;width:100%}.wheel-caption{font-size:12px;color:var(--muted);margin:4px 0 16px}.spin-button{background:var(--green);width:min(100%,300px);height:50px;border-radius:4px;display:flex;align-items:center;justify-content:center;gap:12px;font-size:15px;font-weight:600;color:#fbefd5}.spin-button>svg:last-child{margin-left:12px}.space-hint{color:var(--muted);font-size:12px;margin-top:12px}.space-hint kbd{font:inherit;background:var(--surface);border-radius:3px;padding:2px 5px;margin:0 2px}.editor-panel{display:flex;flex-direction:column;min-width:0}.panel-heading{padding:7px 0 22px}.panel-heading h2{font-size:22px;font-weight:600;letter-spacing:-.5px;margin:0 0 8px}.entries-panel{flex:1}.entries-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.entries-toolbar>span{font-size:11px;color:var(--muted);font-weight:500;letter-spacing:.6px}.entries-toolbar small{font-size:11px;margin-left:9px;font-weight:400}.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:6px;color:var(--muted);border-radius:4px;font-size:12px}.icon-button:hover{background:var(--surface)}.entry-list{max-height:clamp(440px,65vh,720px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#cccdbb transparent;padding-right:4px}.entry-row{display:flex;align-items:center;gap:12px;padding:6px 0;min-height:44px}.entry-row:hover{background:#efefe680}.entry-swatch{height:28px;width:28px;flex-shrink:0;border-radius:3px;display:grid;place-items:center;overflow:hidden}.entry-swatch>span{font-size:10px;color:#283a2a;font-weight:600}.entry-swatch>img{width:100%;height:100%;object-fit:cover}.entry-row:nth-child(6n+4) .entry-swatch>span{color:#fff9df}.entry-row input{font-size:14px;color:#304735;background:none;border:0;outline-offset:0;width:100%;min-width:0;padding:6px 0}.remove-entry{padding:6px;display:flex;color:#8b9384}.remove-entry:hover{color:#a6604c}.add-entry{margin-top:14px;display:flex;align-items:center;gap:9px;border-radius:4px;padding:12px;color:#6d7c62;min-height:46px;background:var(--surface)}.add-entry input{min-width:0;width:100%;border:0;background:none;font-size:13px;outline-offset:0;color:#344e3b}.add-entry input::placeholder{color:#7d8675}.add-entry button{display:flex;padding:0;color:#54734d}.upload-button{display:flex;align-items:center;justify-content:flex-start;gap:9px;width:100%;padding:16px 0 8px;font-size:13px;color:var(--green)}.upload-button>svg:last-child{margin-left:auto}.upload-hint{font-size:11px;color:var(--muted)}.editor-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 0 0;font-size:11px;color:var(--muted)}.editor-actions>span{display:flex;gap:7px;align-items:center}.status-dot{display:inline-block;width:5px;height:5px;background:#809a73;border-radius:50%;flex-shrink:0}.history-section{margin-top:44px}.history-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.history-heading h2{font-size:22px;font-weight:600;letter-spacing:-.5px;display:flex;align-items:center;gap:12px;margin:0}.history-heading h2>span{color:var(--muted);font-size:13px;font-weight:400;letter-spacing:0}.history-heading .text-button{color:var(--muted);font-size:12px}.history-empty{margin-top:18px;font-size:13px;padding:12px 0}.history-items{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:32px;padding:24px 0 0;margin:0;list-style:none}.history-item{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0}.history-meta{display:flex;align-items:center;gap:9px;width:100%;color:var(--muted);font-size:11px}.history-meta time{margin-left:auto}.history-meta small{font-size:11px;color:var(--green);font-weight:600}.history-number{font-variant-numeric:tabular-nums}.history-item strong{font-size:23px;font-weight:500;letter-spacing:-.5px;overflow-wrap:anywhere;line-height:1.3}.history-item img{width:100%;max-width:180px;aspect-ratio:1;object-fit:cover;border-radius:3px}.field-label{display:block;font-size:13px;font-weight:500;color:#40563d;margin-bottom:24px}.field-label>input:not([type=range]){display:block;width:100%;margin-top:9px;padding:12px;border:0;border-radius:4px;background:var(--surface);color:#34503c}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#10271fbd;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:100;display:flex;align-items:center;justify-content:center;padding:20px;animation:fade-in .2s}.modal{width:100%;max-width:480px;max-height:90dvh;overflow:auto;background:#f8f7f2;border-radius:6px;padding:28px;box-shadow:0 20px 80px #00191030}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.modal h2{font-size:24px;letter-spacing:-.7px;font-weight:600;margin:0}.modal>p{margin-bottom:20px}.modal .field-label{margin-top:24px}.primary-button{background:var(--green);color:#f5ecd4;display:flex;align-items:center;justify-content:center;gap:10px;padding:13px 19px;border-radius:4px;font-size:13px;min-height:45px}.modal form .primary-button{width:100%;margin-top:20px}.fine-print{font-size:11px;line-height:1.8;color:var(--muted)}.modal p.fine-print{margin-top:20px;margin-bottom:0}.modal-actions{display:flex;gap:10px;justify-content:flex-end}.saved-list{display:flex;flex-direction:column;gap:18px}.saved-wheel{display:flex;align-items:center;gap:12px;padding:8px 0}.saved-wheel-icon{color:#927a4c;width:34px;height:34px;flex-shrink:0;display:grid;place-items:center}.saved-load{text-align:left;flex:1;min-width:0;padding:3px 0}.saved-load strong{font-size:14px;font-weight:500;display:block;overflow-wrap:anywhere}.saved-load small{display:block;margin-top:6px;font-size:11px;color:var(--muted)}.library-empty{text-align:center;padding:30px 0 15px}.library-empty>svg{color:#a38c5b}.library-empty h3{font-size:20px;font-weight:500}.library-empty .primary-button{margin:23px auto 0}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%);background:#234d3a;color:#f8f7ed;box-shadow:0 5px 30px #102c2620;border-radius:4px;padding:16px 18px;display:flex;align-items:center;gap:12px;font-size:13px;z-index:200;max-width:calc(100% - 32px);animation:fade-in .2s}.toast>svg{flex-shrink:0}.toast button{display:flex;padding:3px;color:#d0dbc2}.empty-entries{padding:24px 0}.empty-entries p{font-size:13px}.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}.loading{animation:rotate 1s linear infinite}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@media(max-width:1100px){main{max-width:1000px}.studio-grid{gap:48px;grid-template-columns:minmax(0,1fr)}.editor-panel{width:100%;max-width:760px;justify-self:center}}@media(max-width:760px){.topbar{min-height:72px;padding:16px 22px;flex-wrap:wrap}.topbar-right{gap:16px;width:100%;justify-content:flex-end}.wheel-title{flex-basis:100%}main{padding:22px 22px 44px;max-width:760px}h1{font-size:30px;letter-spacing:-1px}.save-top{font-size:12px;white-space:nowrap;padding:10px 12px}.studio-grid{grid-template-columns:1fr;gap:35px}.wheel-stage{padding:0 4px 5px}.wheel-wrap{margin-top:26px}.wheel-rim{padding:10px}.panel-heading{padding-top:0}.editor-actions{padding-top:16px}.history-section{margin-top:40px}.history-items{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px}.history-item strong{font-size:21px}.history-meta{flex-wrap:wrap;gap:5px 8px}.history-meta time{font-size:10px}.history-meta small{font-size:10px}.modal{padding:24px}.toast{font-size:12px;width:max-content}}@media(max-width:380px){.save-top{padding:9px;font-size:0;gap:0;margin-top:3px}h1{font-size:28px}.history-meta time{width:100%;margin:0}}@media(prefers-reduced-motion:reduce){.wheel-celebration{display:none}*,*:before,*:after{animation:none!important;scroll-behavior:auto!important}.wheel-rim svg{transition-duration:.15s!important}}
