:root{--ink:#20202a;--muted:#71717f;--line:#e6e3e8;--accent:#ff5e3e;--accent-soft:#fff0eb;--green:#39ac77;--shadow:0 22px 70px rgba(42,28,49,.12)}*{box-sizing:border-box}body{min-width:320px;margin:0;color:var(--ink);background:#f5f3f1;font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif}button,input{font:inherit}button{cursor:pointer}.page-glow{position:fixed;z-index:-1;width:50vw;height:50vw;border-radius:50%;filter:blur(20px);opacity:.52}.glow-a{top:-25vw;left:-17vw;background:#ffd2b9}.glow-b{right:-22vw;bottom:-28vw;background:#d7d0ff}.shell{width:min(1380px,calc(100% - 40px));margin:auto;padding:25px 0 48px}.topbar{display:flex;align-items:center;justify-content:space-between;margin:0 3px 26px}.brand{display:flex;gap:10px;align-items:center;color:var(--ink);font-weight:900;letter-spacing:.06em;text-decoration:none;font-size:15px}.brand em{color:var(--accent);font-style:normal}.brand-mark{display:grid;width:31px;height:31px;place-items:center;color:#fff;border-radius:9px;background:var(--ink);font-size:17px}.node-status{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:rgba(255,255,255,.7);padding:9px 13px;border-radius:99px;color:var(--muted);font-size:12px}.node-status i{width:8px;height:8px;border-radius:50%;background:#d0a238}.node-status.online i{background:var(--green);box-shadow:0 0 0 4px rgba(57,172,119,.12)}.generator-layout{display:grid;grid-template-columns:minmax(410px,.92fr) minmax(480px,1.08fr);gap:22px;align-items:start}.panel{background:rgba(255,253,251,.88);border:1px solid rgba(255,255,255,.9);border-radius:25px;padding:30px;box-shadow:var(--shadow);backdrop-filter:blur(15px)}.panel-heading h1{margin:4px 0 10px;font-size:clamp(30px,3vw,42px);letter-spacing:-.06em}.panel-heading>p:last-child{margin:0;max-width:440px;color:var(--muted);font-size:14px;line-height:1.7}.kicker{margin:0;color:var(--accent);font-size:10px;font-weight:900;letter-spacing:.18em}.selection-summary{margin:23px 0 22px;padding:11px 13px;color:#754434;background:var(--accent-soft);border-radius:11px;font-size:12px;font-weight:700;line-height:1.5}.option-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 25px}.option-group h2{margin:0 0 9px;font-size:12px;color:var(--muted)}.choices{display:flex;flex-wrap:wrap;gap:7px}.choice{display:flex;align-items:center;gap:6px;min-height:36px;border:1px solid var(--line);border-radius:9px;padding:6px 9px;color:#5d5c66;background:#fff;font-size:12px}.choice:hover{border-color:#c7bfc4}.choice.selected{border-color:var(--accent);background:var(--accent-soft);color:#b33d28;font-weight:800}.swatch{display:grid;width:17px;height:17px;place-items:center;border-radius:5px;background:#ede8e5;font-size:10px;font-style:normal}.swatch.color{border:1px solid rgba(0,0,0,.08);border-radius:50%}.controls{display:grid;grid-template-columns:1fr auto;gap:20px;margin:27px 0 17px;padding:19px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.seed-control label,.count-control legend{display:block;margin:0 0 8px;color:var(--muted);font-size:11px;font-weight:800}.seed-row{display:flex;max-width:250px}.seed-row input{width:100%;min-width:0;border:1px solid var(--line);border-radius:9px 0 0 9px;padding:9px 10px;color:var(--ink);background:#fff;font-size:12px}.seed-row button{width:38px;border:0;border-radius:0 9px 9px 0;color:#fff;background:var(--ink)}.seed-control span{display:block;max-width:250px;margin-top:7px;color:var(--muted);font-size:10px;line-height:1.45}.count-control{padding:0;border:0}.count-buttons{display:flex;gap:4px}.count-buttons button{width:32px;height:34px;border:1px solid var(--line);border-radius:8px;color:var(--muted);background:#fff;font-size:12px}.count-buttons button.active{color:#fff;border-color:var(--ink);background:var(--ink)}.generate-button{display:flex;width:100%;align-items:center;justify-content:space-between;border:0;border-radius:13px;padding:15px 17px;color:#fff;background:var(--accent);box-shadow:0 10px 22px rgba(255,94,62,.25);font-weight:900}.generate-button b{font-size:21px;line-height:.7}.generate-button:disabled{cursor:wait;opacity:.55}.output{min-height:700px}.output-header{display:flex;justify-content:space-between;align-items:flex-start}.output-header h2{margin:4px 0 0;font-size:23px;letter-spacing:-.04em}.job-status{border-radius:99px;padding:7px 10px;color:var(--muted);background:#f2f0ee;font-size:11px;font-weight:800}.job-status[data-state="generating"]{color:#b46222;background:#fff2de}.job-status[data-state="completed"]{color:#238153;background:#e8f8ef}.job-status[data-state="failed"]{color:#bd3838;background:#ffe9e9}.compute-card{display:flex;align-items:center;gap:11px;margin:23px 0 18px;border:1px solid var(--line);border-radius:13px;padding:11px;background:#fff}.compute-icon{display:grid;width:32px;height:32px;place-items:center;color:var(--accent);border-radius:9px;background:var(--accent-soft);font-size:20px}.compute-card div{display:grid;gap:3px}.compute-card strong{font-size:12px}.compute-card span{color:var(--muted);font-size:10px}.compute-card>b{margin-left:auto;color:var(--muted);font-size:10px;font-weight:700}.progress-section{margin:0 0 19px}.progress-label{display:flex;justify-content:space-between;color:var(--muted);font-size:11px}.progress-track{height:6px;overflow:hidden;margin-top:7px;border-radius:99px;background:#ece9e7}.progress-track i{display:block;width:0;height:100%;border-radius:inherit;background:var(--accent);transition:width .25s ease}.result-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;min-height:350px}.result-grid.empty{display:grid;place-items:center;border:1px dashed #d8d3d0;border-radius:17px;background:rgba(255,255,255,.4)}.empty-state{max-width:260px;text-align:center}.pixel-face{display:grid;width:56px;height:56px;place-items:center;margin:0 auto 15px;color:var(--accent);border-radius:12px;background:var(--accent-soft);font-family:monospace;font-size:19px}.empty-state h3{margin:0 0 7px;font-size:14px}.empty-state p,.result-note{margin:0;color:var(--muted);font-size:11px;line-height:1.6}.result-card{position:relative;overflow:hidden;min-width:0;aspect-ratio:1;border:1px solid var(--line);border-radius:12px;background:#f0eeec}.result-card a{display:block;height:100%}.result-card img{display:block;width:100%;height:100%;image-rendering:pixelated;image-rendering:crisp-edges}.result-card span{position:absolute;right:6px;bottom:6px;padding:3px 5px;border-radius:5px;color:#fff;background:rgba(26,24,29,.68);font-size:9px}.result-card.loading{display:grid;place-items:center;color:var(--muted);font-size:10px;background:linear-gradient(105deg,#f0eeec 20%,#fbfaf8 40%,#f0eeec 60%);background-size:200% 100%;animation:shimmer 1.3s linear infinite}.result-card.loading span{position:static;color:var(--muted);background:none}.result-note{margin-top:14px;text-align:center}@keyframes shimmer{to{background-position:-200% 0}}.load-error{color:#bd3838;font-size:13px}@media(max-width:980px){.generator-layout{grid-template-columns:1fr}.output{min-height:500px}.result-grid{grid-template-columns:repeat(4,minmax(100px,1fr))}}@media(max-width:600px){.shell{width:min(100% - 20px,600px);padding-top:16px}.topbar{margin-bottom:15px}.node-status span{display:none}.panel{padding:21px 17px;border-radius:18px}.panel-heading h1{font-size:31px}.option-groups{grid-template-columns:1fr;gap:17px}.controls{grid-template-columns:1fr;gap:16px}.count-control{justify-self:start}.output{min-height:470px}.result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.compute-card span{max-width:210px}.result-note{font-size:10px}}
