:root{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#252c28;background:#f5f2eb;font-synthesis:none;--green:#234f43;--line:#e4e4da;--muted:#626d64}*{box-sizing:border-box}body{margin:0;padding:env(safe-area-inset-top) max(20px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(20px,env(safe-area-inset-left))}button,input{font:inherit}button,a,label.file-button{-webkit-tap-highlight-color:transparent}button{cursor:pointer;min-height:44px;border:1px solid var(--line);border-radius:10px;padding:10px 14px;background:white;color:inherit}button:disabled{cursor:default;opacity:.5}button:hover:enabled{filter:brightness(.96)}:focus-visible{outline:3px solid #7955d9;outline-offset:3px}header{max-width:1480px;margin:auto;min-height:100px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dedfd5}.brand{display:flex;align-items:center;text-decoration:none;color:var(--green);font-size:27px;font-weight:800;letter-spacing:-1.2px;gap:9px}.brand-icon{font-size:37px}.brand-dot{color:#d76f43;margin-left:-8px}.private-badge{font-size:12px;border:1px solid #d5dcd2;border-radius:30px;padding:8px 12px;color:var(--green)}main{max-width:1480px;margin:auto}.intro{text-align:center;padding:39px 0 30px}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--green);font-weight:750}.intro h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(38px,4.6vw,66px);letter-spacing:-2.6px;line-height:1.03;margin:15px 0 17px;font-weight:400}.intro h1 br{display:none}.intro>p:last-child{color:var(--muted);font-size:14px}.workspace{display:grid;grid-template-columns:minmax(205px,.8fr) minmax(340px,1.7fr) minmax(280px,1.05fr);gap:18px;align-items:start}.panel{background:#fffefb;border:1px solid var(--line);border-radius:20px}.library,.editor{padding:21px}.section-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:22px}h2{font-size:16px;margin:0;font-weight:650}.section-top h2 span{font-size:11px;background:#ecede6;padding:3px 7px;border-radius:6px;color:var(--muted);margin-left:4px}.icon-button{font-size:24px;min-width:44px;padding:0;background:#eef0e8}.wheel-card{display:block;text-align:left;width:100%;padding:14px;margin:8px 0;background:transparent;border:1px solid transparent;min-height:75px}.wheel-card[aria-current=true]{background:#edf1e8;border-color:#d5dfd0}.wheel-card strong{display:block;font-size:14px;overflow-wrap:anywhere}.wheel-card small{display:block;font-size:11px;color:var(--muted);margin-top:6px}.backup-tools{border-top:1px solid var(--line);padding-top:18px;margin-top:30px}.text-button,.file-button{font-size:12px;border:0;background:none;padding:10px 0;display:block;text-align:left;min-height:44px}.file-button{cursor:pointer;align-content:center}.backup-tools p,.hint{font-size:11px;line-height:1.7;color:var(--muted)}.stage{padding:23px 28px;text-align:center;position:relative;overflow:hidden;background:#fdfdf7;min-height:616px}.stage-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.stage-top .eyebrow{font-size:9px;letter-spacing:1.5px}.pill{font-size:10px;background:#eef0e7;border-radius:20px;padding:7px 10px;color:var(--green)}.stage h2{font-family:Georgia,serif;font-size:26px;font-weight:400;margin-top:21px;overflow-wrap:anywhere}.wheel-wrap{position:relative;width:min(100%,360px);margin:25px auto 21px;aspect-ratio:1}.wheel-wrap canvas{width:100%;height:100%;display:block;filter:drop-shadow(0 9px 7px #232f231c);border:8px solid #fff;border-radius:50%}.pointer{position:absolute;top:-7px;left:calc(50% - 13px);border-left:13px solid transparent;border-right:13px solid transparent;border-top:27px solid #253c32;z-index:2;filter:drop-shadow(0 2px 1px #fff7)}.hub{position:absolute;left:calc(50% - 26px);top:calc(50% - 26px);border:5px solid #fff8;border-radius:50%;width:52px;height:52px;background:#fffdf6;color:var(--green);font-size:31px;display:grid;place-content:center;box-shadow:0 2px 5px #0002}.primary{background:var(--green);color:white;border-color:var(--green);font-weight:600}.spin-button{min-height:54px;width:min(100%,310px);font-size:15px;display:flex;align-items:center;justify-content:space-between;margin:auto;padding:14px 23px}.result{font-size:13px;min-height:43px;margin:17px 0 6px;align-content:center;overflow-wrap:anywhere}.result.winner{font-family:Georgia,serif;font-size:24px;color:var(--green)}.toggles{display:flex;justify-content:center;gap:24px;color:var(--muted);font-size:11px}.toggles label{min-height:44px;display:flex;align-items:center;gap:7px;cursor:pointer}input[type=checkbox]{width:16px;height:16px;accent-color:var(--green)}fieldset{border:0;padding:0;margin:0;min-width:0}.field-label{font-size:12px;font-weight:600;display:block;margin-bottom:9px}input:not([type=checkbox]):not([type=file]):not([type=color]){width:100%;border:1px solid #dedfd6;background:#fffefb;border-radius:8px;min-height:44px;padding:10px;font-size:13px;color:inherit;min-width:0}#name{margin-bottom:24px}.entries-heading{display:flex;justify-content:space-between;gap:10px}.entries-heading span{font-size:11px;color:var(--muted)}#entries{max-height:380px;overflow-y:auto;padding:3px}.entry{display:grid;grid-template-columns:36px minmax(0,1fr) 34px;gap:6px;align-items:center;margin:7px 0}.entry input[type=color]{width:36px;height:44px;background:none;border:0;padding:4px;cursor:pointer}.remove{padding:0;border:0;background:none;color:#798077;min-width:34px;font-size:21px}.add-button{width:100%;background:#f8f8f2;border-style:dashed;font-size:12px;margin-top:10px}.save-state{font-size:10px;color:var(--green);text-align:right}.editor-actions{border-top:1px solid var(--line);margin-top:20px;padding-top:10px;display:flex;justify-content:space-between;gap:12px}.danger{color:#a13830}footer{display:flex;justify-content:space-between;gap:20px;padding:24px 2px;color:var(--muted);font-size:11px;align-items:center}footer p{margin:0}.help{font-size:12px;line-height:1.7;border-top:1px solid var(--line);padding:15px 0 30px;color:var(--muted)}summary{cursor:pointer;min-height:44px;align-content:center}.help p{max-width:900px}#error{background:#ffebe5;border:1px solid #c3745c;color:#70291c;padding:15px;border-radius:10px;margin-bottom:20px;line-height:1.5;font-size:13px}.skip{position:absolute;top:-100px}.skip:focus{top:10px;background:white;z-index:10;padding:10px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}dialog{border:1px solid var(--line);border-radius:18px;padding:25px;max-width:calc(100% - 40px);width:400px}dialog::backdrop{background:#173c3270}dialog p{font-size:14px;line-height:1.6}.dialog-actions{display:flex;justify-content:space-between;gap:10px}.destructive{background:#a13830;color:white}#confetti{pointer-events:none;position:absolute;inset:0;overflow:hidden}.confetti-piece{position:absolute;top:-20px;width:9px;height:16px;animation:fall 1.8s ease-in forwards}@keyframes fall{to{transform:translateY(750px) rotate(600deg);opacity:0}}@media(max-width:1050px){.workspace{grid-template-columns:1.5fr 1fr}.library{grid-column:1/-1}.library .section-top{margin-bottom:5px}#wheelList{display:flex;overflow-x:auto;gap:8px}.wheel-card{min-width:170px;width:200px;flex-shrink:0}.backup-tools{display:flex;gap:20px;align-items:center;flex-wrap:wrap;padding-top:8px;margin-top:10px}.backup-tools p{margin:0;flex:1;min-width:150px}.intro{padding:30px 0}.stage{min-height:600px}}@media(max-width:650px){body{padding-left:max(14px,env(safe-area-inset-left));padding-right:max(14px,env(safe-area-inset-right))}header{min-height:77px}.brand{font-size:24px}.brand-icon{font-size:31px}.private-badge{font-size:10px;padding:7px 9px}.intro{text-align:left;padding:26px 4px 20px}.intro h1{font-size:43px;line-height:1.04;margin:13px 0;letter-spacing:-1.8px}.intro h1 br{display:block}.intro>p:last-child{max-width:270px;line-height:1.6;font-size:12px}.workspace{display:flex;flex-direction:column;gap:14px}.panel{width:100%;border-radius:16px}.library{padding:14px 16px;order:0}.library .section-top{margin:0}.library h2{font-size:13px}.wheel-card{padding:10px;min-height:65px;margin:5px 0}.backup-tools{gap:0 22px;margin-top:7px;padding-top:4px}.backup-tools p{display:none}.stage{order:1;padding:20px 16px;min-height:0}.stage h2{margin-top:18px;font-size:25px}.wheel-wrap{max-width:320px;margin-top:23px}.editor{order:2;padding:20px}.editor .section-top{margin-bottom:20px}#entries{max-height:430px}footer{font-size:10px;flex-direction:column;gap:10px;align-items:flex-start;padding:20px 4px}.help{font-size:11px}.toggles{font-size:12px}.entry{grid-template-columns:44px minmax(0,1fr) 44px}.entry input[type=color]{width:44px}.remove{min-width:44px}.text-button,.file-button{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important}}[hidden]{display:none!important}

@media(max-width:650px){input:not([type=checkbox]):not([type=file]):not([type=color]){font-size:16px}.save-state{font-size:11px}}
@media(max-width:650px){header{min-height:68px}.intro{padding:20px 4px 15px}.intro .eyebrow{margin:0}.intro h1{font-size:36px;margin:11px 0}.intro>p:last-child{margin:10px 0 0;max-width:300px}.stage{order:0}.library{order:1}.editor{order:2}.wheel-wrap{max-width:280px;margin:20px auto}.stage h2{margin-top:15px}}
