*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at top left,#e9ddff,transparent 55%),#f6f5fb;color:#201a36;font:16px system-ui,sans-serif;min-height:100vh}main{max-width:1000px;margin:auto;padding:24px 18px}header,.heading,.entry{display:flex;align-items:center;justify-content:space-between;gap:12px}header{margin-bottom:30px}.brand{font-weight:800}.logo{color:#7651d8;font-size:25px}.muted,small,footer{color:#706a82}small{display:block}h1{font-size:clamp(28px,6vw,44px);line-height:1.08;margin:8px 0 16px}h2{font-size:20px;margin:0 0 14px}.panel{background:white;border:1px solid #e9e5f1;border-radius:22px;padding:22px;box-shadow:0 9px 32px #3725670b;margin-bottom:16px}.narrow{max-width:460px;margin:30px auto}.hero{text-align:center;padding:35px 25px}.eyebrow{font-size:11px;letter-spacing:2px;color:#7651d8;font-weight:800}.orb{display:grid;place-items:center;width:148px;height:148px;border-radius:50%;margin:25px auto;background:conic-gradient(#f899b9,#b5a4f7,#6bdcc7,#ffce78,#f899b9);font-size:55px;color:white;box-shadow:0 10px 35px #8c70cb44;border:7px solid #fff; text-shadow:0 2px 7px #0008}.rolling{animation:spin .5s linear infinite}@keyframes spin{to{transform:rotate(360deg);filter:hue-rotate(360deg)}}form{margin:0}label{display:block;text-align:left;font-weight:600;font-size:14px}input,select,button{font:inherit;border-radius:12px;padding:13px;width:100%;margin:7px 0;border:1px solid #ded9e9;min-height:46px}input[type=color]{padding:4px;height:48px}button{background:#6945d4;color:white;font-weight:750;border:0;cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}.secondary{background:#eee9fb;color:#5535ac}.danger{background:#fce6e8;color:#a02d42}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.stats strong{font-size:28px;display:block}.columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.entry{border-top:1px solid #eee;padding:10px 0}.entry button{width:44px}.dot{display:inline-block;width:18px;height:18px;border:1px solid #0002;border-radius:50%;vertical-align:middle}.notice{background:#f0ebff;border-radius:12px;padding:14px;margin-bottom:14px;color:#50329e}a{color:#6945d4;font-size:14px}footer{text-align:center;font-size:12px;margin:25px 0}.confetti{position:fixed;top:-20px;width:9px;height:16px;pointer-events:none;animation:fall 2s ease-in forwards}@keyframes fall{to{transform:translateY(110vh) rotate(700deg)}}#result{margin-top:16px;font-weight:600}@media(max-width:600px){.columns{grid-template-columns:1fr}.stats .panel{padding:12px}.stats strong{font-size:22px}header .muted{display:none}.heading{align-items:flex-start}}@media(prefers-reduced-motion:reduce){.rolling,.confetti{animation:none}}

.person-entry>div{flex:1;min-width:0}.person-entry>div button{width:100%;font-size:14px}.person-entry input{font-size:12px}.person-entry{align-items:flex-start}
