:root{--bg-page:#faf7f2;--bg-card:#fff;--text-primary:#241f1a;--text-secondary:#7a7168;--border-subtle:#e8e2d8;--accent:#e0563f;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text-primary);background:var(--bg-page);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font:16px/1.5 system-ui,Segoe UI,Roboto,sans-serif}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg-page:#16151a;--bg-card:#201f26;--text-primary:#f2efe9;--text-secondary:#a39c92;--border-subtle:#34323b;--accent:#ff7a5c}}*{box-sizing:border-box}body{background:var(--bg-page);margin:0}#root{min-height:100svh}.wheel-shell{aspect-ratio:1;cursor:pointer;width:min(88vw,620px);margin:0 auto;position:relative}.wheel-shell.is-spinning{cursor:default}.wheel-svg{filter:drop-shadow(0 18px 34px #14141e2e);width:100%;height:100%;display:block;overflow:visible}.wheel-rotor{transition:none}.wedge{stroke:var(--bg-page);stroke-width:2.5px;transition:filter .15s,stroke-width .15s}.wedge.is-active{filter:brightness(1.14)saturate(1.15);stroke:#fff;stroke-width:4px}.wedge-leaf.is-active{filter:brightness(1.22)saturate(1.2)drop-shadow(0 0 10px #ffffffb3)}.wedge-label{fill:#2b2420;pointer-events:none;-webkit-user-select:none;user-select:none;font-family:inherit}.label-category{font-size:19px;font-weight:700}.label-sub{opacity:.85;font-size:15px;font-weight:600}.label-leaf{opacity:.82;font-size:12px;font-weight:500}.label-leaf.is-active{opacity:1;font-weight:700}.wheel-hub{r:92;fill:var(--bg-card);stroke:#00000014;stroke-width:3px}.wheel-hub-label{fill:var(--text-primary);font-size:28px;font-weight:800}.wheel-rim{fill:none;stroke:#00000014;stroke-width:3px}.wheel-pointer-wrap{z-index:5;filter:drop-shadow(0 3px 4px #00000040);position:absolute;top:-6px;left:50%;transform:translate(-50%)}.wheel-pointer path{fill:var(--accent);stroke:var(--bg-page);stroke-width:2px}.wheel-pointer{transform-origin:50% 15%;animation:.16s ease-out pointer-tick}.is-spinning .wheel-pointer{animation-duration:.1s}@keyframes pointer-tick{0%{transform:rotate(0)}40%{transform:rotate(-14deg)}to{transform:rotate(0)}}@media (prefers-reduced-motion:reduce){.wheel-pointer{animation:none}}.category-filter{flex-wrap:wrap;justify-content:center;gap:8px;max-width:560px;margin:0 auto;display:flex}.category-filter.is-disabled{opacity:.55}.category-chip{border:1.5px solid var(--chip-color);color:var(--text-primary);cursor:pointer;background:0 0;border-radius:999px;padding:7px 14px;font-family:inherit;font-size:13px;font-weight:600;transition:background .15s,color .15s,transform .1s}.category-chip:hover:not(:disabled){transform:translateY(-1px)}.category-chip:disabled{cursor:not-allowed}.category-chip.is-active{background:var(--chip-color);color:#2b2420}.result-card{background:var(--bg-card);border:1px solid var(--border-subtle);border-radius:20px;flex-direction:column;align-items:center;gap:10px;min-width:280px;padding:22px 32px 26px;animation:.42s cubic-bezier(.2,.8,.3,1.2) result-pop;display:flex;box-shadow:0 10px 30px #14141e1a}.result-breadcrumb{letter-spacing:.02em;color:var(--text-secondary);text-transform:uppercase;font-size:13px;font-weight:600}.result-breadcrumb span{opacity:.5;margin:0 2px}.result-name{color:var(--result-color);text-align:center;font-size:30px;font-weight:800;line-height:1.2}.try-again-btn{background:var(--text-primary);color:var(--bg-page);cursor:pointer;border:none;border-radius:999px;margin-top:6px;padding:11px 28px;font-family:inherit;font-size:15px;font-weight:700;transition:transform .12s,opacity .12s}.try-again-btn:hover:not(:disabled){transform:translateY(-1px)scale(1.02)}.try-again-btn:disabled{opacity:.6;cursor:not-allowed}.result-secondary-actions{gap:8px;display:flex}.secondary-btn{border:1.5px solid var(--border-subtle);color:var(--text-primary);cursor:pointer;background:0 0;border-radius:999px;padding:8px 16px;font-family:inherit;font-size:13px;font-weight:600;transition:background .12s,transform .1s,opacity .12s}.secondary-btn:hover:not(:disabled){background:var(--border-subtle);transform:translateY(-1px)}.secondary-btn:disabled{opacity:.55;cursor:not-allowed}.result-feedback{min-height:16px;color:var(--accent);font-size:12px;font-weight:600}.keyboard-hint{color:var(--text-secondary);opacity:.75;letter-spacing:.01em;font-size:11px}@keyframes result-pop{0%{opacity:0;transform:scale(.85)translateY(8px)}to{opacity:1;transform:scale(1)translateY(0)}}.history{width:100%;max-width:360px;margin:0 auto}.history-header{letter-spacing:.04em;text-transform:uppercase;color:var(--text-secondary);justify-content:space-between;align-items:center;margin-bottom:8px;font-size:12px;font-weight:700;display:flex}.history-clear{color:var(--text-secondary);cursor:pointer;text-transform:none;letter-spacing:normal;background:0 0;border:none;font-family:inherit;font-size:12px;font-weight:600;text-decoration:underline}.history-clear:hover{color:var(--text-primary)}.history-list{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.history-item{background:var(--bg-card);border:1px solid var(--border-subtle);border-radius:10px;align-items:center;gap:8px;padding:6px 10px;font-size:13px;display:flex}.history-dot{border-radius:50%;flex-shrink:0;width:8px;height:8px}.history-name{color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;flex:1;font-weight:600;overflow:hidden}.history-category{color:var(--text-secondary);font-size:11px}.banned-list{width:100%;max-width:360px;margin:0 auto}.banned-header{letter-spacing:.04em;text-transform:uppercase;color:var(--text-secondary);justify-content:space-between;align-items:center;margin-bottom:8px;font-size:12px;font-weight:700;display:flex}.banned-clear{color:var(--text-secondary);cursor:pointer;text-transform:none;letter-spacing:normal;background:0 0;border:none;font-family:inherit;font-size:12px;font-weight:600;text-decoration:underline}.banned-clear:hover{color:var(--text-primary)}.banned-items{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.banned-item{background:var(--bg-card);border:1px solid var(--border-subtle);border-radius:10px;align-items:center;gap:8px;padding:6px 6px 6px 10px;font-size:13px;display:flex}.banned-dot{opacity:.5;border-radius:50%;flex-shrink:0;width:8px;height:8px}.banned-name{color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;flex:1;font-weight:600;text-decoration:line-through;overflow:hidden}.banned-remove{width:22px;height:22px;color:var(--text-secondary);cursor:pointer;background:0 0;border:none;border-radius:50%;flex-shrink:0;font-family:inherit;font-size:16px;line-height:1}.banned-remove:hover{background:var(--border-subtle);color:var(--text-primary)}.confetti-layer{pointer-events:none;z-index:50;position:fixed;inset:0;overflow:hidden}.confetti-piece{opacity:.95;animation-name:confetti-fall;animation-timing-function:cubic-bezier(.25,.46,.45,.94);animation-fill-mode:forwards;position:absolute;top:-20px}.confetti-circle{border-radius:50%}.confetti-rect{border-radius:2px}@keyframes confetti-fall{0%{opacity:1;transform:translate(0)rotate(0)}to{transform:translate(var(--drift), 100vh) rotate(var(--rotate));opacity:0}}.legal-backdrop{z-index:100;background:#14120f80;justify-content:center;align-items:center;padding:20px;animation:.15s legal-fade-in;display:flex;position:fixed;inset:0}.legal-modal{background:var(--bg-card);color:var(--text-primary);border-radius:16px;flex-direction:column;width:100%;max-width:560px;max-height:min(80vh,720px);display:flex;box-shadow:0 20px 50px #0000004d}.legal-modal-header{border-bottom:1px solid var(--border-subtle);justify-content:space-between;align-items:center;padding:18px 20px;display:flex}.legal-modal-header h2{margin:0;font-size:17px;font-weight:800}.legal-modal-close{width:30px;height:30px;color:var(--text-secondary);cursor:pointer;background:0 0;border:none;border-radius:50%;font-family:inherit;font-size:20px;line-height:1}.legal-modal-close:hover{background:var(--border-subtle);color:var(--text-primary)}.legal-modal-body{padding:4px 20px 20px;font-size:14px;line-height:1.6;overflow-y:auto}.legal-modal-body h3{margin:18px 0 6px;font-size:14px;font-weight:700}.legal-modal-body h3:first-child{margin-top:14px}.legal-modal-body p{color:var(--text-secondary);margin:0 0 10px}.legal-modal-body a{color:var(--accent)}@keyframes legal-fade-in{0%{opacity:0}to{opacity:1}}.app-footer{border-top:1px solid var(--border-subtle);text-align:center;flex-direction:column;align-items:center;gap:8px;width:100%;max-width:480px;margin-top:12px;padding-top:18px;display:flex}.footer-credit{color:var(--text-secondary);margin:0;font-size:12px;line-height:1.5}.footer-credit a{color:var(--text-secondary);text-decoration:underline}.footer-credit a:hover{color:var(--accent)}.footer-links{align-items:center;gap:8px;display:flex}.footer-links button{color:var(--text-secondary);cursor:pointer;background:0 0;border:none;padding:2px;font-family:inherit;font-size:12px;font-weight:600;text-decoration:underline}.footer-links button:hover{color:var(--text-primary)}.footer-links span{color:var(--border-subtle);font-size:12px}.footer-copyright{color:var(--text-secondary);opacity:.75;max-width:420px;margin:0;font-size:11px;line-height:1.5}.footer-contact{color:var(--text-secondary);margin:0;font-size:12px}.footer-contact a{color:var(--text-secondary);text-decoration:underline}.footer-contact a:hover{color:var(--accent)}.app{flex-direction:column;align-items:center;gap:22px;min-height:100svh;padding:32px 16px 48px;display:flex}.app-header{text-align:center;max-width:480px}.app-header h1{letter-spacing:-.02em;margin:0 0 6px;font-size:32px;font-weight:800}.app-header p{color:var(--text-secondary);margin:0;font-size:15px}.wheel-section{flex-direction:column;align-items:center;gap:22px;width:100%;scroll-margin-top:24px;display:flex}.app-action{justify-content:center;align-items:center;width:100%;min-height:130px;scroll-margin-top:24px;display:flex}.spin-cta{flex-direction:column;align-items:center;gap:10px;display:flex}.spin-btn{letter-spacing:.02em;background:var(--accent);color:#fff;cursor:pointer;border:none;border-radius:999px;padding:16px 52px;font-family:inherit;font-size:19px;font-weight:800;transition:transform .12s,box-shadow .12s,opacity .12s;box-shadow:0 12px 24px #e0563f59}.spin-btn:hover:not(:disabled){transform:translateY(-2px)scale(1.03);box-shadow:0 16px 30px #e0563f66}.spin-btn:active:not(:disabled){transform:translateY(0)scale(.98)}.spin-btn:disabled{opacity:.7;cursor:not-allowed}
