:root{color-scheme:light;--bg:#F0F2FC;--accent:#5B68B5;--dark:#475396;--soft:#DEE3F7;--ink:#30364F;--muted:#69708b;--line:#dce0ef;font:100%/1.5 'Segoe UI',system-ui,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink)}[hidden]{display:none!important}a{color:inherit}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}:focus-visible{outline:3px solid var(--accent);outline-offset:3px}button{cursor:pointer;border:1px solid var(--line);border-radius:8px;padding:10px 15px;background:white;color:var(--ink);font-size:.875rem;font-weight:600;min-height:42px}button:hover:not(:disabled){border-color:var(--accent);color:var(--accent)}button:disabled,input:disabled{opacity:.45;cursor:default}.primary{background:var(--accent);border-color:var(--accent);color:white}.primary:hover:not(:disabled){background:var(--dark);border-color:var(--dark);color:white}.text-button{border:0;background:transparent;color:var(--accent);padding:5px 0;min-height:34px;font-weight:500}.text-button:hover:not(:disabled){text-decoration:underline;text-underline-offset:4px}input,textarea{min-width:0;max-width:100%;border:1px solid var(--line);border-radius:9px;padding:10px 12px;color:var(--ink);background:white;accent-color:var(--accent)}input[type=checkbox]{width:18px;height:18px;min-height:0;margin:0;flex-shrink:0;cursor:pointer}input[type=number]{width:72px;min-height:42px;padding:8px 10px;font-size:1rem;font-weight:600;background:#f9faff}.skip{position:absolute;top:-100px;left:20px;z-index:10;background:white;padding:10px}.skip:focus{top:12px}header{border-bottom:1px solid var(--line);background:#fafbff}.header-inner,main{max-width:1280px;width:calc(100% - 80px);margin:auto}.header-inner{height:80px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-size:22px;font-weight:700;letter-spacing:-.7px}.brand-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:var(--soft);color:var(--accent)}.brand-icon svg{width:28px;height:28px;transform:rotate(-8deg)}.all-tools{font-size:.875rem;font-weight:600;text-decoration:none;white-space:nowrap}.all-tools:hover{text-decoration:underline;text-underline-offset:4px}.intro{display:flex;justify-content:space-between;align-items:center;gap:40px;padding:48px 0 35px}.eyebrow{font-size:.75rem;letter-spacing:1.55px;font-weight:700;color:var(--accent);margin:0 0 14px}h1{font-size:clamp(34px,4vw,47px);font-weight:650;letter-spacing:-1.8px;line-height:1.14;margin:0 0 17px}h1 span{color:var(--accent)}.lead{color:var(--muted);font-size:1rem;margin:0;line-height:1.75}.privacy{display:flex;gap:15px;align-items:flex-start;max-width:335px;border-left:1px solid var(--line);padding-left:29px;font-size:.875rem}.privacy svg{width:29px;height:29px;flex-shrink:0;color:var(--accent)}.privacy strong{font-weight:650}.privacy p{color:var(--muted);margin:7px 0 0;line-height:1.7}.mode-bar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:21px}.mode{display:flex;align-items:center;gap:9px;padding:12px 18px;background:#fafbff;color:var(--muted)}.mode svg{width:19px;height:19px}.mode[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:white}.mode[aria-pressed=true]:hover{color:white;background:var(--dark)}h2{font-size:1.125rem;letter-spacing:-.4px;font-weight:650;margin:0}.workspace{display:grid;grid-template-columns:420px minmax(0,1fr);gap:26px;align-items:start}.settings,.results-panel{min-width:0;background:white;border:1px solid var(--line);border-radius:17px;padding:27px}.input-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:19px}.entry-count{font-size:.75rem;color:var(--muted);white-space:nowrap}label{font-size:.875rem;font-weight:500}textarea{display:block;width:100%;min-height:205px;max-height:430px;resize:vertical;font-size:1rem;line-height:1.7;padding:12px 14px;margin-top:8px;background:#fdfdff}textarea::placeholder{color:#969db5}.hint{font-size:.8125rem;color:var(--muted);font-weight:400;line-height:1.65;margin:8px 0 0}.list-actions{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:5px}.list-actions button{font-size:.8125rem}.list-actions #clear{color:var(--muted)}.check-option{display:flex;gap:9px;align-items:center;line-height:1.5;font-size:.8125rem;margin-top:13px}.duplicate-note{padding:9px 11px;background:#f4f5fd;border-radius:7px}.mode-settings{border-top:1px solid var(--line);padding-top:20px;margin-top:21px}.number-row{display:flex;align-items:center;justify-content:space-between;gap:18px}.number-row label{font-size:.875rem;font-weight:600;max-width:230px}.number-row input{flex-shrink:0}.mode-settings>.check-option{margin-top:17px}.pool-row{margin-top:11px;display:flex;align-items:flex-start;flex-direction:column;gap:3px}.pool-row .hint{margin:0;color:var(--accent)}.pool-row button{font-size:.8125rem}.decision-hint{border-top:1px solid var(--line);padding-top:20px;font-size:.875rem;color:var(--muted);line-height:1.7;margin:21px 0 0}.error{font-size:.875rem;line-height:1.65;background:#fff5ee;color:#8b4930;border:1px solid #e8cebf;padding:11px 13px;border-radius:8px;margin:17px 0 0}.generate{display:block;width:100%;padding:13px 15px;min-height:49px;margin-top:21px}.results-panel{padding:28px 30px}.results-heading{display:flex;justify-content:space-between;gap:20px;align-items:center}.results-heading .eyebrow{font-size:.6875rem;letter-spacing:1.3px;margin-bottom:8px}.results-heading h2{font-size:1.4rem;letter-spacing:-.7px}.little-die{width:50px;height:50px;display:grid;place-items:center;background:var(--bg);color:var(--accent);border-radius:14px;flex-shrink:0}.little-die svg{width:32px;height:32px;transform:rotate(8deg)}.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:35px 5px 30px;min-height:330px}.empty-die{display:grid;place-items:center;width:108px;height:108px;background:var(--soft);color:var(--accent);border:1px solid #cbd2ed;border-radius:27px;box-shadow:0 12px 25px #5b68b512;transform:rotate(-10deg);margin:4px 0 29px}.empty-die svg{width:74px;height:74px}.empty h3{margin:0 0 11px;font-size:1.25rem;font-weight:600;letter-spacing:-.6px}.empty p{color:var(--muted);font-size:.875rem;line-height:1.8;margin:0}.result-summary{font-size:.875rem;color:var(--muted);line-height:1.7;margin:19px 0 18px}.result-values{display:grid;gap:11px}.winner{border:1px solid #ccd3ed;background:#f3f5ff;border-radius:13px;padding:31px 20px;text-align:center;animation:appear .24s ease-out}.winner-label{font-size:.75rem;letter-spacing:.7px;text-transform:uppercase;font-weight:650;color:var(--accent);margin:0 0 12px}.winner-name{font-size:clamp(28px,3vw,42px);line-height:1.25;color:var(--dark);font-weight:650;letter-spacing:-1px;margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.draw-list{list-style:none;padding:0;margin:0;display:grid;gap:9px;max-height:570px;overflow:auto}.draw-list li{display:flex;gap:13px;align-items:baseline;padding:14px 16px;background:#f6f7fe;border:1px solid var(--line);border-radius:9px;animation:appear .24s ease-out}.draw-list .position{font-size:.8125rem;color:var(--accent);flex-shrink:0;min-width:22px}.draw-list .drawn-name{font-size:1.125rem;font-weight:600;overflow-wrap:anywhere;min-width:0}.teams-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;max-height:680px;overflow:auto}.team-card{padding:18px;border:1px solid var(--line);border-radius:11px;background:#f7f8ff;min-width:0;animation:appear .24s ease-out}.team-heading{display:flex;align-items:baseline;justify-content:space-between;gap:9px;margin-bottom:13px}.team-heading h3{margin:0;font-size:1rem;color:var(--accent);font-weight:650}.team-heading span{font-size:.75rem;color:var(--muted)}.team-card ul{list-style:none;padding:0;margin:0;display:grid;gap:7px}.team-card li{font-size:.9375rem;overflow-wrap:anywhere}.result-actions{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:21px}.result-actions #copy{color:var(--accent);border-color:var(--accent)}.result-actions .text-button{font-size:.8125rem}.status{font-size:.8125rem;color:var(--dark);line-height:1.6;min-height:22px;margin:13px 0 0}.fair-note{display:flex;gap:13px;align-items:flex-start;border-top:1px solid var(--line);padding-top:21px;margin-top:19px}.fair-note>span{display:grid;place-items:center;background:var(--soft);color:var(--accent);width:35px;height:35px;flex-shrink:0;border-radius:10px;font-size:23px}.fair-note h3{margin:0 0 6px;font-size:.875rem;font-weight:650}.fair-note p{font-size:.8125rem;line-height:1.75;color:var(--muted);margin:0}.good-to-know{max-width:870px;padding:30px 0}.good-to-know h2{font-size:1rem;margin-bottom:8px}.good-to-know p{font-size:.875rem;color:var(--muted);line-height:1.8;margin:0}footer{border-top:1px solid var(--line);padding:23px 0 28px;display:flex;gap:20px;align-items:center;justify-content:space-between;font-size:.75rem;color:var(--muted)}footer>a{font-size:1rem;font-weight:700;color:var(--ink);text-decoration:none}footer>a span{font-size:.75rem;font-weight:400;color:var(--muted);margin-left:8px}noscript{display:block;background:white;padding:20px;margin:20px auto}@keyframes appear{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1000px){.results-panel{position:sticky;top:24px}}@media(max-width:1050px){.header-inner,main{width:calc(100% - 48px)}.workspace{grid-template-columns:365px minmax(0,1fr);gap:20px}.settings,.results-panel{padding:23px}.privacy{max-width:295px;padding-left:22px}.input-heading{align-items:flex-start;flex-direction:column;gap:5px}.teams-grid{grid-template-columns:1fr}.number-row label{max-width:210px}}@media(max-width:780px){.intro{flex-direction:column;align-items:flex-start;gap:22px;padding-top:34px}.privacy{border:0;padding:0;max-width:none}.privacy p br{display:none}.workspace{grid-template-columns:1fr}.input-heading{align-items:center;flex-direction:row;gap:12px}.settings,.results-panel{padding:25px}.mode-bar{gap:7px}.mode{padding:11px 13px;font-size:.8125rem}.teams-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:none}.draw-list{max-height:620px}.empty{min-height:280px}.results-panel{scroll-margin-top:16px}}@media(max-width:480px){.header-inner,main{width:calc(100% - 32px)}.header-inner{height:72px;gap:12px}.brand{font-size:21px;gap:8px}.brand-icon{width:34px;height:34px}.all-tools{font-size:.8125rem}h1{font-size:37px}.lead br{display:none}.intro{padding-bottom:29px}.mode-bar{display:grid;grid-template-columns:1fr}.mode{justify-content:flex-start;padding:11px 15px;font-size:.875rem}.settings,.results-panel{padding:21px}.input-heading h2{font-size:1.0625rem}.entry-count{font-size:.6875rem}textarea{min-height:190px}.check-option{font-size:.8125rem}.number-row{gap:12px}.number-row label{max-width:200px;font-size:.8125rem}.results-heading h2{font-size:1.3rem}.results-heading .eyebrow{font-size:.625rem;letter-spacing:1px}.little-die{width:44px;height:44px}.result-actions{align-items:stretch;flex-direction:column;gap:6px}.result-actions .text-button{min-height:38px}.teams-grid{grid-template-columns:1fr}.winner-name{font-size:32px}.winner{padding:29px 15px}.empty p br{display:none}.fair-note{gap:11px}footer{align-items:flex-start;flex-direction:column;gap:9px}footer>a span{display:block;margin:3px 0 0}}@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}

.coin-settings{text-align:center;padding:1px 0 5px}.coin-settings h2{font-size:1.2rem}.coin-settings>p{font-size:.9375rem;color:var(--ink);line-height:1.7;margin:17px 0 0}.coin-settings>.hint{font-size:.875rem;color:var(--muted);margin:10px 0 0}.coin-pair{display:flex;justify-content:center;align-items:center;margin:32px 0 30px;padding:8px 0}.coin-pair span{display:grid;place-items:center;width:95px;height:95px;border-radius:50%;border:5px double #99a4d5;background:#f4f6ff;color:var(--accent);box-shadow:0 6px 0 #dce1f3;font-size:2rem;font-weight:650;transform:rotate(-13deg)}.coin-pair span+span{margin-left:-13px;transform:rotate(13deg);background:var(--soft)}.coin-result .coin-face{display:grid;place-items:center;width:145px;height:145px;border:7px double #9ba6d8;border-radius:50%;box-shadow:inset 0 0 0 5px #f7f8ff,0 6px 0 #d8def2;background:#e6eafb;font-size:2rem;letter-spacing:-.7px;margin:17px auto 8px}.coin-result{padding-top:27px;padding-bottom:29px}@media(max-width:480px){.mode-bar{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.mode{padding:10px 9px;font-size:.8125rem;gap:6px;min-height:51px}.mode svg{width:17px;height:17px;flex-shrink:0}}
