*{box-sizing:border-box} :root{color-scheme:dark;font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#e9e9ed;background:#090a0c;font-size:14px}body{margin:0}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit;border:1px solid transparent;background:none;transition:background .18s,border-color .18s,transform .18s}button:hover{background:#272729}button:focus-visible,a:focus-visible,label.upload:focus-within{outline:2px solid #63e1a4;outline-offset:3px}button:disabled{opacity:.5;cursor:not-allowed}header{height:76px;padding:0 28px;display:flex;align-items:center;gap:44px;border-bottom:1px solid #252527;background:#0d0e10}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:#f5f5f6;font-size:19px;font-weight:850;letter-spacing:-.6px}.brandmark{display:grid;place-items:center;background:#43db92;border-radius:10px;width:34px;height:34px;color:#fff;font-size:25px;font-style:italic;box-shadow:0 3px 20px #43db9220}.brand-cn{font-size:12px;letter-spacing:2px;color:#7e7e80;border-left:1px solid #343436;margin-left:7px;padding-left:17px;font-weight:400}nav{display:flex;align-self:stretch;gap:24px}.nav{padding:0 4px;color:#979799;border-bottom:2px solid transparent;font-size:14px}.nav.active{color:#63e1a4;border-bottom-color:#43db92}.nav span,.tabs span{background:#2d2d2f;border-radius:5px;padding:2px 5px;margin-left:5px;font-size:12px}.header-right{display:flex;align-items:center;gap:12px;margin-left:auto}.demo{font-size:12px;color:#73e4ad;background:#242426;border-color:#1f5139;border-radius:6px;padding:6px 10px}.divider{height:26px;width:1px;background:#2d2d2f;margin:0 9px}.avatar{border:1px solid #4c4c4e;background:#2e2e30;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;color:#9ee6c3}.username{font-size:12px}.username small{display:block;font-size:9px;letter-spacing:1.3px;color:#727274;margin-top:4px}main{display:grid;grid-template-columns:320px minmax(370px,1fr) 340px;gap:20px;padding:22px;max-width:2200px;margin:auto;min-height:calc(100vh - 76px)}.panel{background:#101113;border:1px solid #26272b;border-radius:15px}.config{padding:23px 20px;display:flex;flex-direction:column;align-self:start;min-height:calc(100vh - 120px)}h1,h2,p{margin:0}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:27px}h1{font-size:18px;font-weight:650}.muted{color:#7e7e80;font-size:12px}.section-title>.muted{letter-spacing:2px;font-size:10px}.field-title{display:flex;justify-content:space-between;font-size:13px;font-weight:550;margin-bottom:11px;color:#c4c4c6}.field-title span{color:#6e6e70;font-size:11px;font-weight:400}.models{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:24px}.model{position:relative;background:#17181b;border:1px solid #303032;border-radius:8px;padding:15px 8px 12px;text-align:left;min-height:94px}.model.selected{border-color:#45dc93;background:linear-gradient(130deg,#262628,#141619)}.model-icon{display:block;color:#a7a7a9;font-size:21px;line-height:21px;margin-bottom:9px}.model.selected .model-icon{color:#6be3a9}.model b{display:block;font-size:13px;font-weight:600}.model small{display:block;font-size:10px;color:#88888a;margin-top:6px}.model i{position:absolute;top:9px;right:8px;font-size:9px;font-style:normal;color:#77e5b0;background:#16623d;padding:2px 5px;border-radius:3px}.label-line{display:flex;justify-content:space-between;align-items:baseline}.references{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:25px}.upload{border:1px dashed #3a3a3c;background:#141518;border-radius:8px;width:100%;height:100px;display:flex;justify-content:center;align-items:center;flex-direction:column;cursor:pointer}.upload:hover{border-color:#5ee0a1;background:#19191b}.upload>span{font-size:23px;color:#939395;margin-bottom:3px}.upload b{font-size:12px;color:#a6a6a8;font-weight:400}.upload small{font-size:10px;color:#6c6c6e;margin-top:6px}.ref-item{position:relative;width:56px;height:56px}.ref-item img{width:100%;height:100%;object-fit:cover;border-radius:6px}.ref-item button{position:absolute;right:-4px;top:-6px;background:#333;border-radius:50%;padding:0;width:19px;height:19px}.text-button{color:#838385;font-size:11px;padding:2px}.blue{color:#66e2a6}.prompt-box{border:1px solid #39393b;border-radius:9px;background:#0c0d10;margin-bottom:24px;overflow:hidden}.prompt-box:focus-within{border-color:#56df9d}textarea{resize:vertical;width:100%;min-height:141px;max-height:260px;background:none;border:0;outline:none;color:#dedee2;padding:14px;font:13px/1.8 inherit;font-family:inherit;line-height:1.8}textarea::placeholder{color:#707072;font-size:12px}.prompt-bottom{display:flex;justify-content:space-between;padding:8px 10px 11px;font-size:9px;color:#626264}.segments{display:flex;gap:7px;margin-bottom:21px}.segments button{flex:1;background:#1a1b1f;border:1px solid #2f2f31;border-radius:6px;height:35px;font-size:12px;color:#979799}.segments button.selected{background:#e8e8e9;color:#141518;border-color:#e8e8e9;font-weight:650}.ratios{display:flex;gap:6px;margin-bottom:23px}.ratios button{flex:1;height:60px;padding:8px 3px;background:#17181c;border:1px solid #2f2f31;border-radius:6px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;font-size:10px;color:#9a9a9c}.ratios button.selected{background:#28282a;color:#84e8b8;border-color:#33b476}.ratios button>span{height:16px;line-height:16px;font-size:21px}.ratios .shape{display:block;border:1px solid #7c7c7e;border-radius:2px;width:17px;height:17px}.ratios .landscape{width:21px;height:14px}.ratios .portrait{width:12px;height:18px}.ratios .wide{width:23px;height:12px}.quantity-line{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px;font-size:12px;color:#a7a7a9}.stepper{border:1px solid #38383a;display:flex;align-items:center;border-radius:6px;overflow:hidden;background:#18191d}.stepper button{width:28px;height:27px;font-size:14px;color:#a3a3a5}.stepper strong{width:25px;text-align:center;font-weight:500;color:#e4e5e9}.toggle{height:20px;width:35px;padding:2px;border-radius:15px;background:#3e3e40}.toggle:before{content:'';display:block;background:#fff;width:14px;height:14px;border-radius:50%;transition:transform .2s}.toggle.on{background:#39d88b}.toggle.on:before{transform:translateX(14px)}.generate-wrap{margin-top:10px}.generate{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;height:49px;border-radius:8px;background:#4fdd98;color:#07170f;font-size:18px;font-weight:600;box-shadow:0 5px 22px #3bda8d15}.generate:hover{background:#6be3a9;transform:translateY(-1px)}.generate span{font-size:14px}.generate small{font-size:11px;margin-left:30px;background:#00000012;padding:4px 7px;border-radius:4px}.generate-wrap p{text-align:center;font-size:10px;color:#7c7c7e;margin-top:12px}.sidebar-bottom{display:flex;align-items:center;gap:11px;border-top:1px solid #28282a;margin-top:32px;padding-top:22px;color:#7c7c7e;font-size:11px}.sidebar-bottom small{display:block;font-size:8px;letter-spacing:1.5px;margin-top:5px;color:#515153}.mini-spark{font-size:25px;color:#49b782}.workspace{min-width:0}.workspace-head{height:40px;display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:16px;gap:10px}.tabs{display:flex;gap:4px;background:#141518;border:1px solid #2b2b2d;padding:4px;border-radius:8px}.tabs button{font-size:12px;color:#929294;padding:7px 11px;border-radius:5px;white-space:nowrap}.tabs button.selected{background:#303035;color:#f0f0f2}.capacity{font-size:10px;display:flex;align-items:center;gap:6px;color:#79797b;margin-top:14px;white-space:nowrap}.capacity i{width:5px;height:5px;border-radius:50%;background:#afafb1}.queue{display:flex;flex-direction:column;gap:13px}.slot{position:relative;border:1px solid #2b2b2d;border-radius:12px;background:linear-gradient(110deg,#161719,#111214);height:138px;padding:18px;display:flex;align-items:center;gap:17px;overflow:hidden}.slot-num{position:absolute;right:13px;top:10px;color:#464648;font-size:10px;letter-spacing:1px}.slot-thumb{height:88px;width:88px;flex-shrink:0;border:1px dashed #39393b;border-radius:9px;background:#101113;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:#5a5a5c}.slot-thumb span{font-size:26px;font-weight:200}.slot-thumb small{font-size:10px}.slot-content{flex:1;min-width:0}.slot-content h3{font-size:13px;font-weight:500;margin:0 0 8px;color:#8d8d8f}.slot-content p{font-size:11px;color:#5b5b5d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.idle-arrow{font-size:18px;color:#4a4a4c;margin-right:5px}.slot.busy{border-color:#2f8b5f}.slot.busy h3{color:#7de6b3}.slot.finished h3{color:#d1d1d3}.slot img{height:88px;width:88px;border-radius:8px;object-fit:cover}.slot-actions{display:flex;gap:8px;margin-top:10px}.slot-actions button{font-size:11px;color:#73d5a6;border:1px solid #353537;border-radius:5px;padding:4px 9px}.progress{height:3px;background:#303032;border-radius:3px;margin-top:14px;overflow:hidden}.progress:after{content:'';display:block;height:100%;background:#54de9b;animation:loading 1.7s linear infinite;width:40%}@keyframes loading{from{transform:translateX(-100%)}to{transform:translateX(350%)}}.workspace-footer{display:flex;justify-content:space-between;color:#555557;font-size:9px;margin-top:20px}.workspace-footer span:last-child{letter-spacing:1.5px;font-size:8px}.gallery{display:flex;flex-direction:column;gap:16px}.collection{border:1px solid #2c2c2e;border-radius:12px;background:#101113;padding:17px;position:relative;display:flex;flex-direction:column;min-height:220px}.serve{min-height:370px;background:linear-gradient(155deg,#101215,#111113 65%)}.reserve{min-height:260px;background:linear-gradient(145deg,#141416,#101113 60%)}.discarded{flex:1;min-height:250px}.collection-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}.collection-title h2{font-size:13px;font-weight:550;display:flex;gap:8px;align-items:center}.collection-icon{color:#64e1a5;font-size:15px;background:#252527;padding:3px 5px;border-radius:5px}.reserve .collection-icon{color:#64c496;background:#242426}.discarded .collection-icon{color:#9d9d9f;background:#29292b}.collection-title small{font-size:10px;color:#a8a8aa;background:#29292c;padding:2px 5px;border-radius:4px;font-weight:400}.collection-en{font-size:8px;letter-spacing:1px;color:#69696b}.collection-description{font-size:11px;color:#7d7d7f;margin:4px 0 17px}.gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-content:start}.art{position:relative;padding:0;aspect-ratio:1;border-radius:7px;overflow:hidden;border:1px solid #38383a}.art img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}.art:hover img{transform:scale(1.06)}.art span{position:absolute;bottom:6px;left:7px;font-size:9px;color:#fff;background:#111a;padding:3px 5px;border-radius:3px}.empty{grid-column:1/-1;min-height:139px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:#626264;font-size:11px}.empty>span{font-size:27px;color:#414143}.collection-bottom{font-size:9px;color:#6a6a6c;margin-top:auto;padding-top:19px}.reserve .gallery-grid{margin-top:12px}dialog{background:#18191d;color:#e8e8eb;border:1px solid #3e3e40;border-radius:14px;padding:30px;width:min(590px,90vw);max-height:90vh}dialog::backdrop{background:#000b;backdrop-filter:blur(5px)}.close{position:absolute;right:9px;top:7px;font-size:25px;color:#9b9b9d;border-radius:5px;z-index:2}dialog h2{font-size:20px;margin:0 0 17px}dialog p{font-size:14px;line-height:1.8;color:#a4a4a6;margin-bottom:15px}dialog .large-art{max-width:100%;max-height:55vh;display:block;margin:5px auto 18px;border-radius:8px}dialog .modal-actions{display:flex;gap:8px;flex-wrap:wrap}dialog .modal-actions button,.template{border:1px solid #474749;border-radius:7px;padding:10px 14px;font-size:13px}.template{display:block;width:100%;text-align:left;margin:10px 0}.template small{display:block;color:#9e9ea0;font-size:12px;margin-top:8px;line-height:1.6}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#313133;border:1px solid #555557;border-radius:9px;padding:13px 22px;color:#bef3d9;font-size:13px;transition:.2s;z-index:10}#toast.show{opacity:1;transform:translate(-50%,0)}@media(min-width:1700px){main{grid-template-columns:350px minmax(500px,1fr) 390px;gap:24px}.slot{height:145px}.config{padding:26px}.gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1100px){header{gap:24px;padding:0 20px}.brand-cn{display:none}main{grid-template-columns:290px minmax(300px,1fr);gap:16px;padding:16px}.gallery{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr 1fr}.collection,.serve,.reserve,.discarded{min-height:260px}.config{min-height:0}.capacity{display:none}}@media(max-width:700px){header{height:65px;padding:0 14px;gap:18px}.brand{font-size:16px;gap:7px}.brandmark{width:29px;height:29px;font-size:21px}.username,.avatar,.divider{display:none}.header-right{margin-left:auto}.demo{font-size:10px;padding:5px}nav{display:none}main{display:flex;flex-direction:column;padding:12px;gap:20px}.config{padding:20px}.models{grid-template-columns:1fr 1fr}.model{min-height:84px}.sidebar-bottom{display:none}.workspace-head{align-items:center}.capacity{display:flex;font-size:9px;margin:0}.slot{height:122px;padding:14px}.slot-thumb,.slot img{width:72px;height:72px}.gallery{display:flex}.collection{min-height:220px}.gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.workspace-footer{font-size:8px}.generate{height:51px}}

/* Readable controls within the compact workspace. */
.field-title,.model b,.quantity-line,.segments button,.tabs button,.collection-title h2,.slot-content h3{font-size:14px}.model small,.model i,.field-title span,.upload b,.upload small,.text-button,.prompt-bottom,.ratios button,.generate-wrap p,.sidebar-bottom,.sidebar-bottom small,.capacity,.slot-thumb small,.slot-content p,.slot-actions button,.workspace-footer,.workspace-footer span:last-child,.collection-en,.collection-description,.collection-bottom,.empty,.art span,.collection-title small,.slot-num{font-size:12px}.prompt-bottom{gap:8px;flex-wrap:wrap}.model small{line-height:1.5}.model{min-height:111px}.slot-content small{font-size:12px}.sidebar-bottom small{letter-spacing:1px}.collection-en{letter-spacing:.3px;font-size:10px}textarea{font-size:14px}textarea::placeholder{font-size:13px}.slot-num{max-width:140px;overflow:hidden;text-overflow:ellipsis}.workspace-footer{gap:12px}.workspace-footer span:last-child{display:none}

/* fariy clover design system */
:root{--accent:#75e5af;--accent-strong:#4add96;--accent-soft:#153c29;--line:#333335;--surface:#171719;--radius:12px}
.icon-definitions{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}.icon{display:inline-block;width:18px;height:18px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
.brand{font-size:25px;font-weight:700;letter-spacing:-.8px}.brandmark{width:38px;height:38px;border-radius:12px;background:var(--accent-strong);box-shadow:0 4px 20px #4add9620;font-style:normal}.brandmark .icon{width:26px;height:26px;fill:#fff;stroke:var(--accent-strong);stroke-width:.7}.avatar{border-color:var(--line);background:var(--accent-soft);color:var(--accent)}.avatar .icon{width:21px;height:21px}.brand-cn{letter-spacing:1.5px}
.nav,.demo,.text-button,.tabs button,.modal-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px}.nav .icon{width:16px;height:16px}.demo{color:#aef0d0;background:var(--accent-soft);border-color:#296d4c}.demo .icon{width:14px;height:14px}
.panel,.collection,.slot{border-color:var(--line);border-radius:var(--radius);background:var(--surface)}.config{background:#151517}.model,.upload,.prompt-box,.segments button,.ratios button{border-radius:9px}.model.selected{border-color:var(--accent-strong);background:var(--accent-soft)}.model.selected .model-icon,.blue,.mini-spark{color:var(--accent)}.model i{color:#c3f4dc;background:#256f4b;border-radius:4px}.model-icon{line-height:24px}.model-icon .icon{width:23px;height:23px}.model:nth-child(2) .model-icon .icon{transform:rotate(45deg)}
.field-title{gap:6px}.field-title span{margin-left:5px}.upload>span{display:flex;align-items:center;justify-content:center;width:29px;height:29px;margin-bottom:7px;color:#a9a9ab}.upload:hover{border-color:var(--accent);background:var(--accent-soft)}.upload .icon{width:22px;height:22px}.prompt-bottom .icon{width:13px;height:13px;margin-right:3px}.prompt-box:focus-within{border-color:var(--accent)}
.segments button.selected,.ratios button.selected{color:#c8f5df;background:var(--accent-soft);border-color:#4bbc85}.ratios button>.icon,.ratios button>span .icon{width:17px;height:17px}.stepper{border-radius:8px}.stepper button{display:grid;place-items:center}.stepper .icon{width:13px;height:13px}.toggle.on{background:var(--accent-strong)}.generate{background:var(--accent-strong);color:white;border-radius:10px;box-shadow:0 6px 24px #4add9620}.generate:hover{background:#64e1a5}.generate>.icon{width:22px;height:22px}.generate small{background:#ffffff15;color:#e8fbf2}
.tabs{border-radius:10px;border-color:var(--line);background:#171719}.tabs button.selected{background:var(--accent-soft);color:#c7f4de}.tabs .icon{width:16px;height:16px}.slot{background:linear-gradient(115deg,#1c1c1e,#161618)}.slot-thumb{border-color:#3f3f41;background:#19191b;border-radius:12px;color:#858587}.slot-thumb>span{display:grid;place-items:center}.slot-thumb .icon{width:31px;height:31px;stroke-width:1.2}.slot-content h3{color:#bcbcbe}.slot-content p{color:#878789}.idle-arrow .icon{width:17px;height:17px}.slot.busy{border-color:var(--accent)}.slot.busy .slot-thumb .icon{animation:clover-breathe 1.5s ease-in-out infinite}.slot-actions button{border-color:#4c4c4e;color:#aef0d0;border-radius:7px}.progress:after{background:var(--accent)}
.serve,.reserve,.discarded{background:#171719}.collection-icon,.reserve .collection-icon,.discarded .collection-icon{display:grid;place-items:center;width:29px;height:29px;padding:5px;background:var(--accent-soft);color:var(--accent);border-radius:9px}.discarded .collection-icon{background:#2a2a2c;color:#9f9fa1}.collection-title{margin-bottom:12px}.empty{color:#868688}.empty>span{color:#5a5a5c}.empty .icon{width:28px;height:28px;stroke-width:1.3}.collection-bottom{color:#848486}.art{border-color:#474749;border-radius:10px}.art:hover{border-color:var(--accent)}.sidebar-bottom{border-color:var(--line)}.sidebar-bottom .icon{width:25px;height:25px}.workspace-footer .icon{width:13px;height:13px;margin-right:5px}
dialog{background:#1c1c1e;border-color:#48484a;border-radius:16px}.close{display:grid;place-items:center;width:30px;height:30px;top:10px;right:10px}.close .icon{width:18px;height:18px}.ref-item button{display:grid;place-items:center}.ref-item button .icon{width:12px;height:12px}#toast{background:#17432e;border-color:#388861;color:#d9f8e9}.template:hover,.modal-actions button:hover{background:var(--accent-soft);border-color:var(--accent)}button:focus-visible,a:focus-visible{outline-color:var(--accent)}
@keyframes clover-breathe{50%{opacity:.45;transform:scale(.86)}}@media(prefers-reduced-motion:reduce){.slot.busy .slot-thumb .icon,.progress:after{animation:none}}@media(max-width:700px){.brand{font-size:22px}.brandmark{width:33px;height:33px}.brandmark .icon{width:23px;height:23px}.demo{gap:4px}.workspace-head{gap:6px}.tabs button{padding:7px 9px;font-size:13px}.capacity{font-size:11px}}

:root{--accent:#63d49a;--accent-strong:#269a63;--accent-soft:#202022;--line:#303032;--surface:#151517}.brandmark{background:var(--accent-strong)}.generate{color:#fff}.generate:hover{background:#30aa70}.brandmark .icon{stroke:var(--accent-strong)}

/* Neutral working surfaces; green is reserved for accents and active controls. */
:root{--line:#292b30;--surface:#111214;--accent-soft:#14271e}
header{background:#0d0e10;border-bottom-color:#222328}.panel,.config,.collection,.serve,.reserve,.discarded{background:#101113;border-color:var(--line)}.slot{background:linear-gradient(110deg,#161719,#111214);border-color:#282a2e}.slot-thumb{background:#101113;border-color:#34363e;color:#77867e}.slot-thumb .icon{color:#729a84}.slot-content h3{color:#a8abb3}.slot-content p{color:#707580}.slot.busy{border-color:var(--accent)}.slot.busy h3{color:#a1d6b9}
.tabs{background:#141518}.tabs button.selected{background:#292c2b;color:#cae5d6}.avatar{background:#1b211e}.upload{background:#141518;border-color:#35373e}.upload>span{color:#969ba4}.prompt-box{background:#0c0d10;border-color:#34363d}.model:not(.selected){background:#17181b;border-color:#2c2e33}.model small{color:#858a94}.field-title{color:#bfc1c8}.field-title span,.muted{color:#777b85}.model-icon{color:#9a9fa9}
.collection-icon,.reserve .collection-icon{background:#1b2520;color:#74b18f}.discarded .collection-icon{background:#25272d;color:#9398a6}.empty{color:#737884}.empty>span{color:#525963}.collection-bottom{color:#707580}.art{border-color:#35353b}.sidebar-bottom{color:#7b808b}.sidebar-bottom small{color:#5e6470}.workspace-footer{color:#646a75}.slot-actions button{border-color:#354b3e;color:#a1cdb5}.progress{background:#292c2b}
dialog{background:#18191d;border-color:#383b43}#toast{background:#202823;border-color:#3c5345;color:#d6e9dd}.brand-cn,.nav{color:#8a8e98}.nav.active{color:var(--accent);border-bottom-color:var(--accent)}.divider{background:#2a2b30}.nav span,.tabs span{background:#2a2b30}.quantity-line{color:#a1a4ad}.generate-wrap p{color:#747883}button:hover{background:#24252a}.generate:hover{background:#30aa70}.model.selected:hover{background:var(--accent-soft)}

.slot-thumb.completed{border-style:solid;border-color:#365341;color:#8bc8a6;background:#131c17}.slot-thumb.completed .icon{color:var(--accent);stroke-width:1.5}
