:root{--bg:#0f172a;--surface:#1e293b;--surface-2:#273449;--text:#f1f5f9;--muted:#b6c2d4;--accent:#5199e4;--accent-strong:#2f6fc0;--focus:#ffd166;--radius:12px}*{box-sizing:border-box}html,body{margin:0;padding:0}body{background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;line-height:1.5}.page{flex-direction:column;gap:1.5rem;max-width:1100px;margin:0 auto;padding:2rem 1.25rem 4rem;display:flex}.masthead{flex-direction:column;gap:.25rem;display:flex}.masthead h1{margin:0;font-size:1.9rem}.masthead .tagline{max-width:60ch;color:var(--muted);margin:0}.controls{background:var(--surface);border-radius:var(--radius);flex-wrap:wrap;align-items:flex-end;gap:1rem;padding:1.25rem;display:flex}.field{flex-direction:column;gap:.35rem;display:flex}.field.grow{flex:16rem}.field label{color:var(--muted);font-size:.85rem;font-weight:600}.field select,.field input{min-height:2.75rem;color:var(--text);background:var(--surface-2);border:1px solid #3a4a63;border-radius:8px;padding:0 .75rem;font-size:1rem}.dev-locks{background:var(--surface);border-radius:var(--radius);border:1px dashed #3a4a63;flex-direction:column;gap:.6rem;margin:1.25rem 0;padding:1rem 1.25rem;display:flex}.dev-locks legend{color:var(--muted);padding:0 .4rem;font-weight:700}.dev-locks .hint{color:var(--muted);margin:0 0 .4rem;font-size:.85rem}.lock-row{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.lock-row label{color:var(--text);flex:8rem;font-weight:600}.lock-row input[type=checkbox]{width:1.5rem;height:1.5rem}.lock-row input[type=color]{background:var(--surface-2);border:1px solid #3a4a63;border-radius:8px;width:3rem;min-height:2.75rem;padding:.15rem}.lock-row output{min-width:6rem;color:var(--muted);font-family:monospace;font-size:.9rem}button{cursor:pointer;border:0;border-radius:8px;min-height:2.75rem;padding:0 1.25rem;font-size:1rem;font-weight:600;transition:background-color .12s}button.primary{background:var(--accent);color:#06121f}button.primary:hover{background:var(--accent-strong);color:#fff}button.secondary{background:var(--surface-2);color:var(--text);border:1px solid #3a4a63}button.secondary:hover{background:#31425c}button:disabled{opacity:.55;cursor:progress}.stepper{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.stepper .step{align-items:center;gap:.5rem;display:flex}.stepper .step:not(:first-child):before{content:"";background:#3a4a63;width:1.5rem;height:2px}.stepper .step .dot{background:var(--surface-2);width:2.25rem;height:2.25rem;color:var(--muted);font-variant-numeric:tabular-nums;border:2px solid #3a4a63;border-radius:50%;justify-content:center;align-items:center;font-weight:700;display:flex}.stepper .step.done .dot{background:var(--accent-strong);border-color:var(--accent-strong);color:#fff}.stepper .step.current .dot{border-color:var(--accent);color:var(--text);box-shadow:0 0 0 3px rgba(81,153,228,.3)}.stepper .step.trophy .dot{border-style:dashed}.round-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.round-head .prompt{margin:0;font-size:1.15rem;font-weight:600}.round-head .round-actions{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.round-head .round-actions .picks-count{color:var(--muted);font-variant-numeric:tabular-nums}button.ghost,.ghost{min-height:2.75rem;color:var(--muted);cursor:pointer;background:0 0;border:1px solid #3a4a63;border-radius:8px;align-items:center;padding:0 1rem;font-weight:600;text-decoration:none;display:inline-flex}button.ghost:hover,.ghost:hover{color:var(--text);background:var(--surface-2)}.grid{--gap:.75rem;gap:var(--gap);flex-wrap:wrap;margin:0;padding:0;list-style:none;display:flex}.grid-5>li{flex:0 0 calc((100% - 4 * var(--gap)) / 5)}@media (width<=640px){.grid-5>li{flex-basis:calc((100% - 2 * var(--gap)) / 3)}}.card{background:var(--surface);border-radius:var(--radius);cursor:pointer;border:2px solid transparent;width:100%;padding:.4rem;transition:opacity .22s,transform .22s,border-color .12s,box-shadow .16s;animation:.3s ease-out backwards card-in;display:flex}.card .avatar{aspect-ratio:1;background:#fff;border-radius:8px;width:100%;height:auto;display:block}.card:hover{border-color:#3a4a63}.card.selected{border-color:var(--accent);box-shadow:0 0 0 3px rgba(81,153,228,.35)}.card.capped{opacity:.45}.card.choose:hover{border-color:var(--focus)}.generating{color:var(--muted);margin:0}.error{background:var(--surface);border-radius:var(--radius);border:1px solid #e06c75;flex-direction:column;align-items:flex-start;gap:.75rem;padding:1rem 1.25rem;display:flex}.error p{color:#f2b8bd;margin:0}@keyframes card-in{0%{opacity:0;transform:translateY(10px)scale(.96)}to{opacity:1;transform:translateY(0)scale(1)}}.grid-5>li:nth-child(-n+5) .card{animation-delay:0s}.grid-5>li:nth-child(n+6):nth-child(-n+10) .card{animation-delay:45ms}.grid-5>li:nth-child(n+11):nth-child(-n+15) .card{animation-delay:90ms}.grid-5>li:nth-child(n+16):nth-child(-n+20) .card{animation-delay:.135s}.grid-5>li:nth-child(n+21) .card{animation-delay:.18s}.grid-5.advancing .card:not(.selected){opacity:.15;transform:scale(.9)}.grid-5.advancing .card.selected{animation:.45s picked-pulse}@keyframes picked-pulse{0%{transform:scale(1)}45%{transform:scale(1.07)}to{transform:scale(1)}}.winner-view{text-align:center;flex-direction:column;align-items:center;gap:1.25rem;display:flex}.winner-view .winner-avatar{border-radius:var(--radius);background:#fff;width:16rem;height:16rem}.winner-view .winner-actions{flex-wrap:wrap;justify-content:center;align-items:center;gap:.75rem;display:flex}.winner-view .imported{color:#8be9a8;margin:0}.masthead.center{text-align:center;align-items:center}.style-list{flex-wrap:wrap;gap:1rem;margin:0;padding:0;list-style:none;display:flex}.style-link{background:var(--surface);border-radius:var(--radius);min-width:12rem;min-height:5rem;color:var(--text);border:1px solid #3a4a63;justify-content:center;align-items:center;padding:1rem 1.5rem;font-size:1.25rem;font-weight:600;text-decoration:none;display:flex}.style-link:hover{border-color:var(--accent);background:var(--surface-2)}.hero{text-align:center;flex-direction:column;align-items:center;gap:1rem;display:flex}.hero h1{margin:0;font-size:2.4rem}.hero .tagline{color:var(--muted);margin:0;font-size:1.2rem}.hero .lede{max-width:60ch;color:var(--muted);margin:0}.cta{background:var(--accent);color:#06121f;border-radius:8px;align-items:center;min-height:3rem;margin-top:.5rem;padding:0 1.75rem;font-size:1.1rem;font-weight:700;text-decoration:none;display:inline-flex}.cta:hover{background:var(--accent-strong);color:#fff}.how{flex-direction:column;gap:1rem;display:flex}.how h2{text-align:center;color:var(--muted);margin:0;font-size:1.3rem;font-weight:600}.steps{flex-wrap:wrap;gap:1rem;margin:0;padding:0;list-style:none;display:flex}.step-card{background:var(--surface);border-radius:var(--radius);flex-direction:column;flex:14rem;gap:.6rem;padding:1.25rem;display:flex}.step-card p{margin:0}.step-card .step-num{background:var(--accent-strong);color:#fff;border-radius:50%;justify-content:center;align-items:center;width:2.25rem;height:2.25rem;font-weight:700;display:flex}.section-title{color:var(--muted);margin:0;font-size:1.2rem;font-weight:600}:focus-visible{outline:3px solid var(--focus);outline-offset:2px}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}