:root{--bg:#fafaf9;--bg-alt:#f4f4f5;--surface:#fff;--text:#18181b;--muted:#52525b;--border:#e4e4e7;--accent:#4f46e5;--accent-hover:#4338ca;--accent-soft:#eef2ff;--on-accent:#fff;--pos:#15803d;--pos-soft:#dcfce7;--neg:#b91c1c;--neg-soft:#fee2e2;--radius:14px;--shadow:0 1px 2px #0000000a, 0 8px 24px #0000000f;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dark]{--bg:#0b0b0f;--bg-alt:#111117;--surface:#17171f;--text:#f4f4f5;--muted:#a1a1aa;--border:#27272f;--accent:#818cf8;--accent-hover:#a5b4fc;--accent-soft:#1e1b4b;--on-accent:#0b0b0f;--pos:#4ade80;--pos-soft:#052e16;--neg:#f87171;--neg-soft:#2a0f0f;--shadow:0 1px 2px #0006, 0 8px 24px #00000059;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#0b0b0f;--bg-alt:#111117;--surface:#17171f;--text:#f4f4f5;--muted:#a1a1aa;--border:#27272f;--accent:#818cf8;--accent-hover:#a5b4fc;--accent-soft:#1e1b4b;--on-accent:#0b0b0f;--pos:#4ade80;--pos-soft:#052e16;--neg:#f87171;--neg-soft:#2a0f0f;--shadow:0 1px 2px #0006, 0 8px 24px #00000059;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}*,:before,:after{box-sizing:border-box}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;margin:0;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;line-height:1.5}button,input,select{font:inherit;color:inherit}:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:6px}.container{max-width:1100px;margin:0 auto;padding:0 20px}.muted{color:var(--muted)}.small{font-size:.85rem}.topbar{border-bottom:1px solid var(--border);background:var(--surface);z-index:10;position:sticky;top:0}.topbar-inner{justify-content:space-between;align-items:center;gap:12px;height:60px;display:flex}.brand{font-size:1.15rem;font-weight:800}.brand span{color:var(--accent)}.topbar-actions{align-items:center;gap:16px;display:flex}.title-input{letter-spacing:-.02em;background:0 0;border:0;border-bottom:2px dashed #0000;width:100%;margin:32px 0 4px;padding:4px 0;font-size:clamp(1.6rem,4vw,2.3rem);font-weight:800;display:block}.title-input:hover,.title-input:focus{border-bottom-color:var(--border);outline:none}.intro{margin:0 0 24px}.layout{grid-template-columns:1fr 1.15fr;align-items:start;gap:20px;display:grid}.col{gap:20px;display:grid}@media (width<=860px){.layout{grid-template-columns:1fr}}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px}.card h2{text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin:0 0 12px;font-size:.8rem}.card h2:not(:first-child){margin-top:24px}.btn{border:1px solid var(--accent);background:var(--accent);color:var(--on-accent);cursor:pointer;white-space:nowrap;border-radius:999px;padding:10px 18px;font-weight:600}.btn:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-ghost{color:var(--text);border-color:var(--border);background:0 0}.btn-ghost:hover:not(:disabled){background:var(--bg-alt);border-color:var(--muted)}.link{color:var(--accent);cursor:pointer;background:0 0;border:0;padding:0;font-weight:500}.link:hover{text-decoration:underline}.icon-btn{border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:50%;flex:none;place-items:center;width:36px;height:36px;display:grid}.icon-btn:hover{border-color:var(--muted)}.small-btn{width:28px;height:28px;font-size:1rem;line-height:1}input,select{border:1px solid var(--border);background:var(--bg);border-radius:10px;width:100%;padding:10px 12px;transition:border-color .15s,box-shadow .15s}input:focus,select:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);outline:none}label{gap:6px;font-size:.9rem;font-weight:600;display:grid}.stack{gap:14px;display:grid}.row{grid-template-columns:1fr 1fr;gap:12px;display:grid}.inline-form{gap:8px;display:flex}fieldset{border:0;margin:0;padding:0}legend{align-items:baseline;gap:8px;margin-bottom:8px;font-size:.9rem;font-weight:600;display:flex}legend .link{font-size:.85rem}.error{color:var(--neg);margin:6px 0 0;font-size:.875rem}.chips{flex-wrap:wrap;gap:8px;margin:12px 0 0;padding:0;list-style:none;display:flex}fieldset .chips{margin:0}.chip{background:var(--accent-soft);color:var(--accent);border:1px solid #0000;border-radius:999px;align-items:center;gap:6px;padding:6px 12px;font-size:.9rem;font-weight:600;display:inline-flex}.chip-x{color:inherit;cursor:pointer;opacity:.7;background:0 0;border:0;padding:0;font-size:1.1rem;line-height:1}.chip-x:hover:not(:disabled){opacity:1}.chip-x:disabled{opacity:.25;cursor:not-allowed}.chip.toggle{cursor:pointer;color:var(--muted);border-color:var(--border);background:0 0}.chip.toggle.on{background:var(--accent-soft);color:var(--accent);border-color:var(--accent)}h1{letter-spacing:-.02em;margin:32px 0 4px;font-size:clamp(1.8rem,5vw,2.6rem)}.center{text-align:center}.label{margin:14px 0 8px;font-size:.9rem;font-weight:600}.label:first-of-type{margin-top:0}.chips{margin:0}.grow{flex:1}.row{gap:12px;display:flex}.row>label{flex:1}.row>.emoji-field{flex:0 0 90px}.switch{cursor:pointer;align-items:center;gap:10px;margin-top:16px;font-weight:500;display:flex}.switch input{width:18px;height:18px;accent-color:var(--accent)}.layout{grid-template-columns:1.1fr 1fr;gap:32px}.side{gap:20px;display:grid}.wheel-col{justify-items:center;gap:16px;display:grid;position:sticky;top:80px}.wheel-wrap{aspect-ratio:1;width:min(100%,440px);position:relative}.wheel{cursor:pointer;width:100%;height:100%}.wheel-svg{width:100%;height:100%;box-shadow:0 0 0 8px var(--surface), 0 0 0 9px var(--border), var(--shadow);border-radius:50%;display:block}.wheel-svg.spinning{transition:transform 4.6s cubic-bezier(.12,.7,.1,1)}.slice{stroke:#fff;stroke-width:2px}.slice-label{fill:#18181b;pointer-events:none;font-family:inherit;font-weight:700}.wheel-empty{fill:var(--bg-alt)}.hub{fill:var(--surface);stroke:var(--border);stroke-width:3px}.pointer{z-index:2;border-left:16px solid #0000;border-right:16px solid #0000;border-top:30px solid var(--accent);filter:drop-shadow(0 2px 3px #00000040);width:0;height:0;position:absolute;top:-14px;left:50%;transform:translate(-50%)}.btn-big{padding:14px 48px;font-size:1.15rem}#wheel-note{margin:-4px 0 0}.result{text-align:center;width:100%;max-width:440px;animation:.35s ease-out pop}.result p{margin:0}.result-name{letter-spacing:-.02em;font-size:1.8rem;font-weight:800;margin:4px 0!important}.result-actions{flex-wrap:wrap;justify-content:center;gap:10px;margin-top:14px;display:flex}.result-actions a{text-decoration:none}@keyframes pop{0%{opacity:0;transform:scale(.94)}to{opacity:1;transform:scale(1)}}.custom-list,.history{margin:12px 0 0;padding:0}.custom-list{list-style:none}.custom-list li{border-bottom:1px solid var(--border);align-items:center;gap:10px;padding:8px 0;display:flex}.custom-list li span:first-child{flex:1;font-weight:600}.history{gap:4px;margin-bottom:12px;padding-left:20px;display:grid}.history li.muted{margin-left:-20px;list-style:none}@media (width<=860px){.layout{grid-template-columns:1fr}.wheel-col{position:static}}@media (width<=520px){.row{flex-wrap:wrap}}@media (prefers-reduced-motion:reduce){.result{animation:none}}
