@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root{--bg:#f5f6f2;--paper:#fff;--ink:#202923;--muted:#7b867d;--line:#e8ece6;--green:#257654;--green-dark:#174f39;--mint:#eaf4ed;--orange:#e99864}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',Arial,sans-serif}.shell{width:min(100% - 40px,900px);margin:auto}.topbar{height:78px;border-bottom:1px solid #dfe5dc;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;gap:10px;align-items:center;text-decoration:none;color:var(--ink);font:700 13px 'Space Grotesk';letter-spacing:.11em}.brand-mark{width:34px;height:34px;background:var(--green);color:white;border-radius:9px;display:grid;place-items:center;font:600 16px 'Space Grotesk';letter-spacing:-.06em}.brand small{display:block;margin-top:3px;font:500 8px 'DM Mono';color:var(--muted);letter-spacing:.12em}.privacy{font:500 9px 'DM Mono';letter-spacing:.08em;color:var(--muted)}.privacy i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#65a77c;margin-right:7px}.intro{padding:52px 0 24px}.eyebrow{font:500 10px 'DM Mono',monospace;letter-spacing:.14em;color:var(--green);margin:0 0 11px}.intro h1{font:600 clamp(38px,6vw,58px)/1.02 'Space Grotesk',sans-serif;letter-spacing:-.055em;margin:0}.intro h1 em{font-style:normal;color:var(--green)}.intro>p:last-child{font-size:14px;line-height:1.6;color:#68746b;margin:16px 0 0}.generator{background:var(--paper);border:1px solid var(--line);border-radius:13px;padding:25px 27px;box-shadow:0 10px 35px #283c2810}.step-title{display:flex;gap:13px;align-items:flex-start}.step-title>span{font:500 10px 'DM Mono';color:#9aa59b;border:1px solid var(--line);border-radius:20px;padding:6px 7px}.step-title .eyebrow{margin:2px 0 6px}.step-title h2,.results-heading h2,.empty-state h2{font:600 21px 'Space Grotesk';letter-spacing:-.04em;margin:0}.game-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:22px 0 21px}.game-option{position:relative;display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:9px;padding:13px 12px;cursor:pointer;transition:.16s}.game-option:hover{border-color:#b7cdbd}.game-option.selected{background:#f5faf6;border-color:#7daa8d;box-shadow:0 0 0 1px #7daa8d inset}.game-option input{position:absolute;opacity:0;inset:0;cursor:pointer}.radio{width:15px;height:15px;border:1px solid #c6cec6;border-radius:50%;flex:none}.selected .radio{border:5px solid var(--green)}.game-info{display:flex;flex-direction:column;gap:4px}.game-info strong{font:600 13px 'Space Grotesk'}.game-info small{font-size:10px;color:var(--muted)}.game-range{margin-left:auto;color:#a2ada3;font:10px 'DM Mono'}.controls{display:flex;align-items:end;gap:10px}.quantity{color:var(--muted);font:500 9px 'DM Mono';letter-spacing:.1em}.quantity select{display:block;margin-top:6px;width:128px;background:#fafbf9;border:1px solid var(--line);border-radius:7px;padding:11px 12px;color:var(--ink);font:12px 'DM Sans'}.button{border:0;border-radius:7px;padding:12px 15px;font:600 12px 'DM Sans';cursor:pointer;transition:background .16s,transform .16s}.button:hover{transform:translateY(-1px)}.primary{display:flex;justify-content:space-between;align-items:center;gap:40px;background:var(--green);color:white}.primary:hover{background:var(--green-dark)}.primary b{font-size:17px;font-weight:400}.auto-note{border-top:1px solid var(--line);margin-top:18px;padding-top:13px;display:flex;align-items:center;gap:9px;color:#818c83;font-size:10px;line-height:1.5}.spark{color:var(--orange);font-size:15px}.empty-state{display:flex;gap:37px;align-items:center;padding:53px 28px 52px}.empty-art{height:112px;width:112px;position:relative;flex:none;display:grid;place-items:center}.art-orbit{position:absolute;border:1px solid #c5d8ca;border-radius:50%;transform:rotate(-28deg)}.orbit-a{height:62px;width:112px}.orbit-b{height:112px;width:60px}.art-core{width:39px;height:39px;background:var(--mint);color:var(--green);border-radius:50%;display:grid;place-items:center;font:500 18px 'Space Grotesk'}.empty-state h2{font-size:25px;line-height:1.1}.empty-state>div:last-child>p:last-child{max-width:410px;color:var(--muted);font-size:12px;line-height:1.6;margin:10px 0 0}.messages{margin:0 0 14px}.notice{padding:11px 14px;margin:0 0 8px;border-radius:7px;font-size:12px}.notice.error{background:#fff0eb;color:#95452d}.notice.warning{background:#fff6e8;color:#876225}.results{margin-top:27px}.results-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:14px}.results-heading h2{font-size:23px}.result-count{font:500 9px 'DM Mono';letter-spacing:.1em;color:var(--muted);padding:7px 9px;border:1px solid var(--line);border-radius:20px}.result-list{display:grid;grid-template-columns:1fr;gap:9px}.result-card{background:white;border:1px solid var(--line);border-radius:9px;padding:13px 16px;display:flex;align-items:center;justify-content:space-between;gap:16px}.result-label{display:flex;flex-direction:column;gap:4px;min-width:96px}.result-label small{font:500 9px 'DM Mono';color:var(--green);letter-spacing:.1em}.result-label span{font-size:9px;color:#9aa39a}.balls{display:flex;gap:6px;flex-wrap:wrap}.ball{height:35px;width:35px;border-radius:50%;display:grid;place-items:center;background:var(--mint);color:var(--green-dark);font:500 11px 'DM Mono'}.why{background:white;border:1px solid var(--line);border-radius:8px;margin-top:12px;padding:12px 14px}.why summary{font-size:11px;font-weight:600;cursor:pointer;color:#59665c}.why p{max-width:720px;color:var(--muted);font-size:10px;line-height:1.65;margin:12px 0 0}.again{display:flex;align-items:center;gap:18px;margin-top:13px;background:white;border:1px solid var(--line);color:var(--ink)}footer{display:flex;justify-content:space-between;gap:16px;border-top:1px solid #dfe5dc;padding:17px 0 24px;margin-top:12px;color:#949e95;font:500 8px 'DM Mono';letter-spacing:.08em}.messages+footer{margin-top:18px}@media(max-width:620px){.shell{width:min(100% - 28px,900px)}.topbar{height:65px}.privacy{font-size:7px}.intro{padding:39px 0 20px}.generator{padding:20px 16px}.game-options{grid-template-columns:1fr;gap:7px;margin:16px 0}.game-option{padding:11px}.game-range{font-size:9px}.controls{align-items:stretch;flex-direction:column}.quantity select{width:100%}.primary{justify-content:center;gap:20px}.empty-state{gap:17px;padding:39px 8px}.empty-art{width:75px;height:75px;transform:scale(.72);transform-origin:left center;margin-right:-15px}.empty-state h2{font-size:22px}.result-card{align-items:flex-start;flex-direction:column;gap:10px}.result-label{flex-direction:row;align-items:center;gap:8px}.balls{gap:4px}.ball{width:31px;height:31px;font-size:10px}footer{font-size:7px;flex-direction:column;gap:6px}}
.result-note{color:var(--muted);font-size:10px;line-height:1.5;margin:6px 0 0}
.report-window{font:500 10px 'DM Mono';color:var(--muted);background:#fff;padding:12px 14px;border:1px solid var(--line);border-radius:8px;margin-bottom:10px}.report-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.report-metric{background:#fff;border:1px solid var(--line);border-radius:9px;padding:15px}.report-metric>small{display:block;min-height:23px;font:500 9px 'DM Mono';letter-spacing:.08em;color:var(--muted)}.report-metric>div{display:flex;align-items:baseline;gap:7px;margin-top:9px}.report-metric strong,.report-metric b{font:600 22px 'Space Grotesk';color:var(--green)}.report-metric b{font-size:17px;color:var(--ink)}.report-metric span{font-size:10px;color:var(--muted)}.report-metric p{font-size:9px;color:var(--muted);margin:8px 0 0}.validation-tools{border-top:1px solid #dfe5dc;margin-top:4px;padding:13px 0;color:var(--muted)}.validation-tools summary{font-size:10px;font-weight:600;cursor:pointer}.validation-tools>p{font-size:10px;line-height:1.5;max-width:550px}.validation-tools form{margin-top:10px}.validation-tools .button{display:flex;gap:14px;align-items:center}.validation-tools[open]{padding-bottom:16px}@media(max-width:620px){.report-grid{grid-template-columns:1fr}.report-metric>small{min-height:0}.report-window{font-size:9px;line-height:1.6}}
.top-actions{display:flex;align-items:center;gap:16px}.top-actions form{margin:0}.text-button{border:0;background:transparent;color:var(--green);font:600 10px 'DM Sans';cursor:pointer;padding:6px}.played-section{margin:8px 0 24px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px 22px}.played-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.played-heading h2{font:600 19px 'Space Grotesk';letter-spacing:-.04em;margin:0}.played-heading p:last-child{font-size:11px;color:var(--muted);line-height:1.5;margin:6px 0 0}.played-count{white-space:nowrap;color:var(--muted);font:500 9px 'DM Mono';border:1px solid var(--line);border-radius:20px;padding:7px 9px}.played-form{display:flex;align-items:end;gap:9px;margin-top:16px}.played-form label{display:none}.played-form input{flex:1;min-width:0;border:1px solid var(--line);border-radius:7px;padding:12px;font:12px 'DM Mono';color:var(--ink)}.played-form input:focus{outline:2px solid #a9c9b1}.played-form .button{white-space:nowrap;background:var(--mint);color:var(--green-dark)}.played-list{margin-top:13px;border-top:1px solid var(--line)}.played-ticket{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}.played-ticket:last-child{border-bottom:0}.small-ball{width:29px;height:29px;font-size:9px}.remove-button{font-size:9px;color:#8c6255}.played-empty{font-size:10px;color:var(--muted);margin:13px 0 0}.notice.success{background:#eaf4ed;color:#286246}.login-shell{max-width:420px;margin:12vh auto}.login-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:26px}.login-card h1{font:600 25px 'Space Grotesk';margin:0}.login-card p{font-size:12px;color:var(--muted);line-height:1.5}.login-card label{display:block;font-size:10px;color:var(--muted);margin:18px 0 6px}.login-card input{width:100%;padding:12px;border:1px solid var(--line);border-radius:7px;font-size:14px}.login-card .button{width:100%;margin-top:12px}.messages:empty{display:none}@media(max-width:620px){.top-actions{gap:5px}.played-section{padding:17px 14px}.played-form{align-items:stretch;flex-direction:column}.played-form .button{justify-content:center}.played-heading h2{font-size:17px}}
