:root{color-scheme:dark;--bg:#090c11;--panel:#11161dd9;--line:#2b303c;--muted:#a0a7b5;--text:#f4f2f8;--purple:#a039f6;--pink:#db45df;--orange:#ff932e}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 34% 0,#29102b66,transparent 43%),radial-gradient(ellipse at 80% 65%,#18202a44,transparent 60%),var(--bg);color:var(--text);font:14px/1.5 'Segoe UI',system-ui,sans-serif}button,input,textarea,select{font:inherit}button,a,input,textarea,select,summary{-webkit-tap-highlight-color:transparent}button,a,summary{touch-action:manipulation}button{cursor:pointer;color:inherit}button:disabled{cursor:wait;opacity:.65}a{color:inherit;text-decoration:none}svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.symbols{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}:focus-visible{outline:2px solid #df8dff;outline-offset:4px}button{border:0}button,a,select,textarea,.dropzone{transition:background .18s,border-color .18s,box-shadow .18s,transform .18s}button:hover:not(:disabled){filter:brightness(1.13)}.shell{max-width:1700px;padding:0 24px;margin:auto}.masthead{height:139px;position:relative;display:flex;align-items:center;gap:40px;padding-left:340px}.mascot{position:absolute;left:12px;top:0;width:280px;height:227px;overflow:hidden;pointer-events:none;mask-image:linear-gradient(to bottom,#000 78%,transparent)}.mascot img{width:100%;height:350px;object-fit:cover;object-position:center 29%;mask-image:linear-gradient(to right,transparent,#000 13%,#000 82%,transparent)}.identity{position:relative;margin-top:-8px}.identity h1{font-family:'Brush Script MT','Segoe Script',cursive;font-size:66px;line-height:1.2;font-weight:600;font-style:italic;letter-spacing:-4px;margin:0;background:linear-gradient(115deg,#ae43fc,#eb4dc7);color:transparent;background-clip:text}.identity h1 span{font-size:28px;vertical-align:top;letter-spacing:-2px}.identity p{margin:-1px 0 0 27px;letter-spacing:3px;font-size:13px}.studio-brand{margin-left:auto;margin-right:11%;text-align:center}.studio-brand strong{font-size:40px;line-height:1;font-weight:800;letter-spacing:-1.5px;color:var(--orange)}.studio-brand strong span{color:#bf45eb}.studio-brand p{color:#92929e;font-size:10px;letter-spacing:2.7px;margin:8px 0 0}.navigation{margin-left:326px;height:62px;display:flex;gap:5px;align-items:stretch;border:1px solid #1c202c;border-radius:11px;background:linear-gradient(100deg,#15141e,#11161a);padding:4px;position:relative}.nav-button{display:flex;align-items:center;gap:11px;padding:0 24px;background:transparent;border-radius:7px;font-weight:600;color:#bfc1cd;position:relative}.nav-button.active{background:linear-gradient(180deg,#9e36de,#572095);box-shadow:inset 0 -4px #ca46f4;color:white}.nav-button span{border-radius:5px;background:#ffffff12;padding:1px 7px;font-size:11px}.local-indicator{display:flex;align-items:center;gap:7px;margin-left:auto;margin-right:17px;font-size:11px;color:var(--muted)}.local-indicator i,.stage-footer i{display:inline-block;width:5px;height:5px;border-radius:50%;background:#a189c5;box-shadow:0 0 9px #ba7fe144}.workspace{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(380px,1.4fr) minmax(300px,1fr);gap:14px;margin-top:18px;align-items:stretch}.panel{border:1px solid var(--line);border-radius:11px;background:linear-gradient(125deg,#161b22c9,#0e1219e8);box-shadow:0 10px 28px #00000016}.composer{grid-row:1 / 3;margin-top:31px;padding:19px 17px 8px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-bottom:10px}.section-heading label{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600}.section-heading>span{color:var(--muted);font-size:10px}.dropzone{position:relative;min-height:122px;border:1px dashed #494152;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-direction:column;background:linear-gradient(125deg,#24202e60,#151a2160);gap:2px}.dropzone>svg{width:24px;height:24px;color:#cb8eea;margin-bottom:6px}.dropzone strong{font-size:12px;font-weight:500}.dropzone>span{color:var(--muted);font-size:11px}.dropzone input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.dropzone:focus-within,.dropzone.dragging{border-color:#d86bf8;background:#a336f022;box-shadow:0 0 0 2px #a336f022}.help{font-size:11px;color:var(--muted);line-height:1.6;margin:7px 0 0}.references{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:8px}.references:empty{display:none}.ref{position:relative;min-width:0}.ref img{width:100%;height:66px;object-fit:cover;border:1px solid #5a4268;border-radius:6px}.ref button{position:absolute;right:3px;top:3px;border-radius:4px;background:#090c11dd;width:21px;height:21px;line-height:18px}.ref span{position:absolute;left:3px;bottom:9px;font-size:9px;background:#090c11cc;padding:0 4px;border-radius:3px}.prompt-heading{margin-top:19px}textarea,select{width:100%;border:1px solid #323543;border-radius:7px;color:#f2edf6;background:linear-gradient(135deg,#191e26,#11161d);padding:10px 11px}textarea{height:168px;min-height:110px;resize:vertical;font-size:13px;line-height:1.55}textarea::placeholder{color:#858b99}textarea:focus,select:focus{border-color:#a753c5;outline:none;box-shadow:0 0 0 3px #bb42f015}select{font-size:12px;height:39px}select option{background:#171b24}.model{display:flex;align-items:center;gap:10px;margin:13px 0;padding:10px;border:1px solid #67417855;border-radius:7px;background:#933bcc09}.model-icon{color:#d57bfb;font-size:24px}.model strong{display:block;font-size:12px;font-weight:600}.model div>span{display:block;font-size:10px;color:var(--muted)}.model-tag{margin-left:auto;font-size:8px;color:#d894f6;border:1px solid #673c7c;border-radius:4px;padding:2px 4px;letter-spacing:1px}.field label{display:block;font-size:12px;margin:0 0 6px}.field-row{display:grid;grid-template-columns:1.25fr 1fr;gap:10px}.field{min-width:0}details{border-top:1px solid #2d303a;margin:14px 0 16px}summary{cursor:pointer;display:flex;align-items:center;gap:8px;padding:12px 0;font-size:12px;font-weight:600;list-style:none}summary::-webkit-details-marker{display:none}summary svg{width:17px}.chevron{margin-left:auto;color:#92929e;transform:rotate(-90deg)}details[open] .chevron{transform:rotate(180deg)}.primary{border:0;border-radius:7px;color:white;background:linear-gradient(110deg,#9139f2,#d944da);font-weight:650;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:11px 18px;box-shadow:0 4px 20px #b833ec16}.generate{width:100%;height:52px;font-size:16px}.primary:hover{box-shadow:0 4px 25px #bc38ec35}.composer-footer{display:flex;align-items:center;justify-content:center;gap:7px;padding-top:9px;font-size:10px;color:var(--muted)}.icon-button{width:32px;height:32px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;background:#ffffff04;color:#d0d1de}.icon-button:hover{background:#ffffff0e}.icon-button svg{width:17px;height:17px}.stage{position:relative;overflow:hidden;padding:22px 25px;display:flex;flex-direction:column;min-height:655px}.stage-heading,.gallery-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;position:relative;z-index:1}h2{font-size:18px;font-weight:600;line-height:1.4;margin:0;display:flex;align-items:center;gap:11px}.state-pill{font-size:8px;font-weight:650;letter-spacing:1px;color:#d594ef;border:1px solid #6d42805c;border-radius:20px;padding:4px 9px;background:#60247318;white-space:nowrap}.idle{flex:1;display:flex;align-items:center;justify-content:center;text-align:center;flex-direction:column;padding:42px 0 50px;background:radial-gradient(ellipse at center,#963ad510,transparent 68%)}.idle-art{width:92px;height:92px;display:grid;place-items:center;border:1px solid #ad54d74d;border-radius:26px;transform:rotate(-9deg);background:linear-gradient(145deg,#8439af24,#1d172926);box-shadow:0 0 60px #a52ecc12;margin:10px 0 29px}.idle-art svg{width:43px;height:43px;color:#d175f4;transform:rotate(9deg);stroke-width:1.2}.eyebrow{font-size:9px;letter-spacing:2px;color:#bd88cf;font-weight:650}.idle h3{font-size:31px;line-height:1.3;letter-spacing:-1px;font-weight:550;margin:14px 0}.idle h3 span{color:#c88edb}.idle p{font-size:12px;color:var(--muted);line-height:1.8}.idle-steps{display:flex;gap:10px;align-items:center;margin-top:37px;color:#c367e2;font-size:10px}.idle-steps b{font-weight:400;color:var(--muted);margin-left:4px}.idle-steps i{width:13px;height:1px;background:#55505d}.stage-footer{border-top:1px solid #ffffff08;padding-top:14px;display:flex;justify-content:space-between;gap:10px;font-size:9px;color:#878b9c;position:relative;margin-top:auto}.stage-footer i{margin-right:5px}.gallery-panel{padding:18px 14px 13px;display:flex;flex-direction:column;min-width:0}.gallery-heading h2{gap:8px}.count{font-size:10px;font-weight:400;padding:2px 7px;border:1px solid #37313f;border-radius:5px;color:#b9a8c6}.gallery-tools{display:flex;gap:3px}.gallery-subtitle{font-size:10px;color:var(--muted);margin:11px 0 16px}.gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;max-height:648px;overflow-y:auto;align-content:start;scrollbar-width:thin;scrollbar-color:#504059 transparent}.gallery.large{grid-template-columns:1fr}.gallery-card{padding:0;background:#141920;border:1px solid #36313c;border-radius:8px;position:relative;overflow:hidden;text-align:left;aspect-ratio:1}.gallery-card:hover{border-color:#b051cb;transform:translateY(-1px)}.gallery-card img{width:100%;height:100%;object-fit:cover;display:block}.gallery-card>span{position:absolute;left:0;right:0;bottom:0;padding:10px 8px 7px;background:linear-gradient(transparent,#090c11ee);display:flex;align-items:center;justify-content:space-between}.gallery-card b{font-size:10px;font-weight:500}.gallery-card svg{width:14px;height:14px}.gallery-empty{flex:1;min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:var(--muted);border:1px dashed #2d303c;border-radius:7px;background:#ffffff01}.gallery-empty>svg{width:35px;height:35px;color:#73617e;stroke-width:1;margin-bottom:10px}.gallery-empty h3{font-size:12px;color:#c7bdce;font-weight:500;margin:6px}.gallery-empty p{font-size:11px;line-height:1.8}.gallery-footer{margin-top:auto;padding-top:17px;display:flex;align-items:center;gap:7px;font-size:10px;color:#9596a7}.gallery-footer>span:last-child{margin-left:auto;color:#746f81;font-family:monospace}.folder-icon{font-size:17px;color:#c188d9}.activity{grid-column:2 / 4;display:flex;gap:18px;padding:12px 18px;min-height:84px}.terminal-icon{font-family:monospace;color:#bda5ca;font-size:18px;border-right:1px solid #30313b;padding-right:16px}.activity #log{height:64px;overflow:auto;scrollbar-width:thin;font:11px/1.85 Consolas,monospace;overflow-wrap:anywhere;flex:1}.activity p{margin:0}.activity time{color:#9993a8;margin-right:12px}.activity p:first-child{color:#c6bdd1}.page-footer{display:flex;justify-content:space-between;padding:16px 0;font-size:9px;color:#6e6e7e;letter-spacing:1px}.page-footer b{font-weight:400;color:#b54adc;margin:0 7px}#work{position:relative;padding:29px 0 18px;flex:1}.work-background{position:absolute;inset:0;opacity:.1;filter:blur(24px);background-size:cover;background-position:center;pointer-events:none}.timeline{position:relative;list-style:none;padding:0;margin:0 0 26px}.timeline li{display:flex;align-items:center;gap:16px;min-height:77px;position:relative;color:#777b89}.timeline li:not(:last-child):after{content:'';position:absolute;width:2px;height:30px;top:60px;left:21px;background:#373441}.step-icon{width:44px;height:44px;border-radius:50%;background:#292c35;display:grid;place-items:center;position:relative;z-index:1}.timeline strong{font-size:14px;font-weight:550}.timeline small{display:block;margin-top:3px;font-size:11px;overflow-wrap:anywhere;color:#9395a8}.timeline li.current,.timeline li.complete{color:#eee8f4}.timeline li.current .step-icon,.timeline li.complete .step-icon{background:linear-gradient(120deg,#9b33f4,#dc46df);box-shadow:0 0 20px #a73aee22;color:white}.timeline li.complete:after{background:#b844eb}.timeline li.current .step-icon{outline:4px solid #a533e515}.activity-track{height:5px;overflow:hidden;background:#0b0f16;border:1px solid #393243;border-radius:8px;position:relative}.activity-track span{display:block;width:32%;height:100%;border-radius:8px;background:linear-gradient(90deg,#aa3df5,#df4ad5);animation:activity 2s ease-in-out infinite alternate}.activity-track.stopped span{animation:none;background:#f08b9c;width:100%}@keyframes activity{from{transform:translateX(-30%)}to{transform:translateX(245%)}}.status-line{position:relative;display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:16px;font-size:13px}.status-line>span{white-space:nowrap;color:#b8acc4;font-size:12px}.cost{color:#cda4df;font-size:11px}.error{background:#ff647c10;border:1px solid #e7617b55;border-radius:7px;color:#ffb8c5;padding:12px;margin:15px 0;font-size:12px;overflow-wrap:anywhere}.secondary{background:#1d222d;border:1px solid #353544;border-radius:6px;color:#e0dbe6;padding:9px 12px;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:7px}.result{padding:20px 0;flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:15px;min-width:0}.result>button{background:none;padding:0;max-width:100%;border-radius:8px}.result img{display:block;max-width:100%;max-height:490px;border-radius:8px;object-fit:contain}.result-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}.result p{margin:0;font-size:11px;color:#ada1b9}.workspace.gallery-view{grid-template-columns:1fr}.gallery-view .composer,.gallery-view .stage,.gallery-view .activity{display:none}.gallery-view .gallery-panel{min-height:650px}.gallery-view .gallery{grid-template-columns:repeat(5,minmax(0,1fr));max-height:none}.gallery-view .gallery.large{grid-template-columns:repeat(3,minmax(0,1fr))}dialog{width:min(1050px,94vw);max-height:94vh;border:1px solid #4b3959;border-radius:13px;padding:18px 22px;background:#10141c;color:var(--text);box-shadow:0 20px 100px #0009}dialog::backdrop{background:#05070cde;backdrop-filter:blur(8px)}.viewer-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.viewer-header h2{font-size:12px;margin-top:5px;overflow-wrap:anywhere}#viewer-image{display:block;max-width:100%;height:65vh;object-fit:contain;margin:auto}.viewer-footer{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:18px}.viewer-footer>span{color:var(--muted);font-size:11px}.viewer-footer .primary{font-size:12px}
@media(min-width:1500px){.workspace{grid-template-columns:365px minmax(450px,1.4fr) minmax(360px,1fr)}.masthead{padding-left:390px}.navigation{margin-left:379px}.mascot{width:310px;left:20px}.stage{min-height:704px}textarea{height:180px}.timeline li{min-height:86px}.timeline li:not(:last-child):after{height:37px;top:64px}.gallery{max-height:700px}}
@media(max-width:1150px){.shell{padding:0 16px}.workspace{grid-template-columns:300px minmax(0,1fr)}.gallery-panel{grid-column:1 / 3}.gallery{grid-template-columns:repeat(4,minmax(0,1fr));max-height:420px}.gallery.large{grid-template-columns:repeat(2,minmax(0,1fr))}.composer{grid-row:1 / 3}.activity{grid-column:2;grid-row:2}.gallery-panel{grid-row:3}.navigation{margin-left:312px}.masthead{padding-left:326px}.studio-brand{margin-right:0}.studio-brand strong{font-size:30px}.local-indicator{display:none}.nav-button{padding:0 16px}.gallery-view .gallery-panel{grid-column:1;grid-row:auto}.gallery-view .gallery{grid-template-columns:repeat(3,minmax(0,1fr))}.gallery-view .gallery.large{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.shell{padding:0 12px}.masthead{height:123px;padding-left:94px;gap:10px}.mascot{width:95px;left:-8px;height:123px}.mascot img{height:155px}.identity h1{font-size:44px;letter-spacing:-3px}.identity h1 span{font-size:18px}.identity p{font-size:8px;letter-spacing:1.5px;margin-left:8px}.studio-brand{margin-left:auto}.studio-brand strong{font-size:23px;letter-spacing:-1px}.studio-brand p{font-size:6px;letter-spacing:1px}.navigation{margin:0;height:55px}.nav-button{flex:1;justify-content:center;padding:0 7px;gap:6px;font-size:12px}.nav-button svg{width:17px}.nav-button span{display:none}.workspace{display:flex;flex-direction:column;gap:12px;margin-top:12px}.composer{margin-top:0;padding:16px}.stage{min-height:550px;padding:20px}.gallery-panel{min-height:330px}.gallery{grid-template-columns:repeat(2,minmax(0,1fr));max-height:560px}.activity{order:4}.idle h3{font-size:29px}.stage-heading h2{font-size:16px}.page-footer{font-size:7px;letter-spacing:.5px}.gallery-view .gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-view .gallery.large{grid-template-columns:1fr}dialog{padding:14px}.viewer-footer{gap:6px;flex-wrap:wrap}.viewer-footer .secondary{font-size:10px;padding:9px}.viewer-footer .primary{font-size:11px;padding:9px}.viewer-footer>span{display:none}#viewer-image{height:62vh}.stage-footer{font-size:8px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.activity-track span{width:100%;opacity:.6}}
.profile-card{display:flex;gap:12px;align-items:center;padding:10px;margin-bottom:16px;border:1px solid #713f805c;border-radius:9px;background:linear-gradient(120deg,#8f31c11a,#191b24)}.profile-card img{width:72px;height:72px;object-fit:cover;object-position:center 22%;border-radius:8px;border:1px solid #8c5798}.profile-card strong{display:block;font-size:17px;margin:2px 0}.profile-card p{font-size:10px;line-height:1.45;color:var(--muted);margin:0}.profile-admin{grid-column:1 / 4;padding:0 18px 18px}.profile-admin summary{font-size:13px}.profile-admin form{display:grid;grid-template-columns:1fr 280px auto;gap:10px;align-items:end}.profile-admin label{font-size:11px;color:var(--muted)}.profile-admin textarea{grid-row:2;height:110px}.profile-admin input[type=file]{grid-column:2;grid-row:2;color:var(--muted);padding:12px;border:1px solid var(--line);border-radius:7px}.profile-admin button{grid-column:3;grid-row:2;height:42px}@media(max-width:760px){.profile-card img{width:62px;height:62px}.profile-admin{grid-column:auto}.profile-admin form{display:flex;flex-direction:column;align-items:stretch}.profile-admin textarea{height:150px}}
