/* styles.css */
:root{--bg:#161616;--card:#1d1d1d;--muted:#b0b0b0;--indigo:#bdbdbd;--border:rgba(205,205,205,.14);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#f9f9f9;background:var(--bg)}*{box-sizing:border-box}html,body,#app{margin:0;min-height:100%;background:var(--bg)}body{overflow-x:hidden}button{font:inherit;color:inherit;cursor:pointer;border:0}.nav{height:76px;display:flex;align-items:center;justify-content:space-between;position:fixed;z-index:10;inset:0 0 auto;padding:0 max(24px,calc((100vw - 1280px)/2));background:linear-gradient(180deg,rgba(16,16,16,.88),transparent);backdrop-filter:blur(5px)}.brand{display:flex;align-items:center;gap:9px;color:#f9f9f9;text-decoration:none;font-weight:800;font-size:19px}.brand img{width:31px;height:31px;image-rendering:pixelated}.nav-links{display:flex;gap:27px;align-items:center;position:absolute;left:50%;transform:translateX(-50%)}.nav a,.resources summary{font-size:14px;font-weight:600;color:#bcbcbc;text-decoration:none;list-style:none;white-space:nowrap}.resources summary{cursor:pointer}.resources i{font-style:normal;margin-left:4px}.resource-menu{position:absolute;top:29px;left:50%;transform:translateX(-50%);width:250px;padding:10px;border:1px solid var(--border);border-radius:15px;background:#181818;box-shadow:0 20px 50px #000000aa}.resource-menu small{display:block;padding:7px 10px;color:#7a7a7a;font-size:10px;letter-spacing:.12em}.resource-menu a{display:flex;justify-content:space-between;padding:10px;border-radius:8px;color:#ececec}.resource-menu a:hover{background:#ffffff0c}.resource-menu b{font-size:20px;font-weight:400}.nav-cta,.prompt .create,.dropzone button,.footer-cta button{padding:11px 18px;border-radius:9px;background:linear-gradient(135deg,#aaaaaa,#b9b9b9);font-weight:700;box-shadow:0 8px 22px #95959544}.nav-cta span{margin-left:6px}.hero{min-height:760px;padding:160px 24px 100px;display:grid;place-items:center;position:relative;overflow:hidden;background:radial-gradient(125% 115% at 50% -10%,#383838 0%,#181818 55%,var(--bg) 92%)}.stars{position:absolute;inset:0;opacity:.75;background-image:radial-gradient(#e3e3e3 1px,transparent 1px),radial-gradient(#bdbdbd 1px,transparent 1px);background-size:67px 67px,103px 103px;background-position:15px 19px,43px 72px;mask-image:linear-gradient(#000000,transparent 75%)}.hero-inner{position:relative;text-align:center;max-width:900px;transform:translateY(-30px)}h1,h2,h3,p{margin-top:0}.hero h1{font-size:clamp(46px,7vw,76px);letter-spacing:-.055em;line-height:1.07;margin-bottom:20px}.hero h1 em{font-style:normal;position:relative}.hero h1 em:after{content:"";height:4px;position:absolute;inset:auto 0 -7px;background:#bdbdbd;border-radius:9px}.hero p{font-size:19px;color:var(--muted)}.prompt{max-width:720px;margin:34px auto 20px;padding:9px 10px 9px 14px;display:flex;align-items:center;gap:12px;border:1px solid #d1d1d138;border-radius:99px;background:#1f1f1feb;box-shadow:0 23px 55px #1f1f1faa;color:#bfbfbf;text-align:left}.prompt>button:first-child{background:transparent;color:#dcdcdc;font-size:23px}.prompt span{flex:1;font-size:17px}.prompt .create{border-radius:99px;background:#ffffff;color:#1c1c1c;box-shadow:none}.avatars{display:flex;align-items:center;justify-content:center;margin-top:19px;color:#aeaeae;font-size:13px}.avatars img{width:26px;image-rendering:pixelated;margin-left:-10px}.avatars img:first-child{margin-left:0}.avatars span{margin-left:11px}.wrap{width:min(1120px,calc(100% - 44px));margin:0 auto}.showcase{padding:115px 0}.eyebrow{color:#cdcdcd;font-weight:800;font-size:11px;letter-spacing:.16em}.showcase h2,.workflow h2,.gallery-section h2{font-size:clamp(33px,5vw,54px);line-height:1.08;letter-spacing:-.045em;margin:15px 0}.showcase h2 span{color:#a7a7a7}.lede{max-width:590px;color:var(--muted);font-size:17px;line-height:1.65}.feature-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-top:48px}.feature-grid article{border:1px solid var(--border);background:linear-gradient(160deg,#2c2c2c,#1d1d1d 64%);border-radius:18px;overflow:hidden;position:relative;min-height:295px;padding:31px}.feature-grid small,.style-window header{color:#cccccc;font-size:10px;letter-spacing:.14em;font-weight:800}.feature-grid h3{font-size:30px;line-height:1.1;letter-spacing:-.04em;margin:12px 0}.feature-grid p{color:var(--muted);max-width:270px;line-height:1.5}.feature-grid button,.workflow button{background:transparent;color:#e6e6e6;font-weight:700;padding:0}.feature-grid button b,.workflow button b{color:#cbcbcb;margin-left:7px}.large-card{grid-row:span 2;min-height:610px!important}.large-card>div{position:relative;z-index:1}.character>img{position:absolute;width:56%;bottom:-4%;right:0;image-rendering:pixelated;filter:drop-shadow(0 20px 30px #00000088)}.tile-assets{position:absolute;right:8px;bottom:4px;width:55%;display:flex;align-items:end}.tile-assets img{width:43%;object-fit:contain;image-rendering:pixelated}.tile-assets img+img{margin-left:-19%}.animation-card img{position:absolute;bottom:0;right:0;width:62%;image-rendering:pixelated}.gallery-section{padding:100px 0;background:linear-gradient(180deg,#191919,var(--bg))}.gallery-section h2{margin-bottom:35px}.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.gallery div{height:160px;padding:8px;display:grid;place-items:center;background:#1f1f1f;border:1px solid var(--border);border-radius:12px}.gallery img{max-width:100%;max-height:100%;object-fit:contain;image-rendering:pixelated}.workflow{padding:118px 0;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:80px}.workflow p{color:var(--muted);line-height:1.65;max-width:460px}.style-window{min-height:320px;padding:0 28px 28px;border:1px solid var(--border);border-radius:16px;background:#181818;position:relative;overflow:hidden;box-shadow:0 25px 60px #00000066}.style-window header{height:53px;display:flex;align-items:center;gap:7px}.style-window header i,.detector-window header i{width:10px;height:10px;border-radius:50%;background:#909090}.style-window header i:nth-child(2),.detector-window header i:nth-child(2){background:#c1c1c1}.style-window header i:nth-child(3),.detector-window header i:nth-child(3){background:#adadad}.style-window header span{margin-left:8px;color:#898989;font-weight:500}.style-window pre{line-height:1.8;color:#c7c7c7}.style-window pre span{color:#d9d9d9}.style-window img{position:absolute;width:180px;right:25px;bottom:15px;image-rendering:pixelated}footer{padding:95px max(24px,calc((100vw - 1120px)/2)) 0;position:relative;overflow:hidden;background:linear-gradient(180deg,#161616,#0d0d0d,#060606)}.footer-cta{text-align:center;max-width:640px;margin:0 auto}.footer-cta h2{font-size:clamp(35px,5vw,52px);letter-spacing:-.05em;margin-bottom:15px}.footer-cta p{color:var(--muted);line-height:1.6}.footer-cta div{display:flex;gap:12px;justify-content:center;margin-top:28px}.footer-cta .outline{background:transparent;border:1px solid #a5a5a577;box-shadow:none;color:#d7d7d7}.campfire{height:260px;display:grid;place-items:end center;position:relative;margin-top:45px}.campfire img{width:min(420px,90vw);position:relative;image-rendering:pixelated}.campfire p{position:absolute;bottom:-25px;color:#dcdcdc}.campfire p span{color:#a2a2a2}.fire-glow{position:absolute;width:380px;height:260px;background:radial-gradient(closest-side,#a2a2a24f,transparent 72%)}.footer-bottom{border-top:1px solid #ffffff14;margin-top:45px;padding:28px 0;display:flex;justify-content:space-between;align-items:center;color:#8a8a8a;font-size:12px}.footer-bottom .brand{font-size:15px}.footer-bottom .brand span{font-weight:400;color:#7a7a7a}.tool-page{padding:140px 22px 20px;min-height:100vh}.tool-heading{text-align:center;max-width:650px;margin:0 auto 45px}.tool-heading>span{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#cdcdcd;padding:7px 12px;border:1px solid var(--border);border-radius:99px;background:#1f1f1f}.tool-heading h1{font-size:clamp(40px,6vw,61px);letter-spacing:-.055em;margin:24px 0 13px}.tool-heading p{color:var(--muted);line-height:1.65;font-size:17px}.detector-window{max-width:820px;margin:0 auto;border:1px solid var(--border);border-radius:18px;overflow:hidden;background:#1d1d1d;box-shadow:0 25px 65px #00000077}.detector-window header{display:flex;gap:7px;align-items:center;padding:13px 17px;background:#0d0d0d;border-bottom:1px solid var(--border)}.detector-window header span{margin-left:8px;color:#929292;font-size:12px}.dropzone{min-height:380px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:45px}.dropzone h2{margin:15px 0 5px;font-size:20px}.dropzone p{color:var(--muted);font-size:14px}.upload-mark,.tile-icon{width:82px;height:82px;border:2px dashed #5a5a5a;border-radius:17px;display:grid;place-items:center;font-size:43px;color:#cdcdcd}.tile-icon{border-style:solid;font-size:30px}.dropzone button{margin-top:17px}.before-after{max-width:820px;margin:38px auto 85px;display:grid;grid-template-columns:1fr 1fr;gap:20px}.before-after div{text-align:center;color:#9b9b9b;font-size:13px}.before-after img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px}.before-after div+div img{image-rendering:pixelated}.faq{max-width:820px;margin:0 auto 70px}.faq h2{font-size:29px}.faq details{margin-top:11px;border:1px solid var(--border);border-radius:12px;background:#1d1d1d;padding:0 18px}.faq summary{padding:18px 0;cursor:pointer;font-weight:700;list-style:none;display:flex;justify-content:space-between}.faq summary b{color:#bcbcbc;font-size:20px}.faq p{color:var(--muted);line-height:1.55}.asset-strip{display:flex;justify-content:center;align-items:end;gap:16px;padding:70px 0}.asset-strip img{width:120px;height:120px;object-fit:contain;image-rendering:pixelated}@media(max-width:760px){.nav{height:65px;padding:0 18px}.nav-links{display:none}.nav-cta{padding:8px 12px;font-size:13px}.hero{min-height:650px}.prompt{padding:8px}.prompt span{font-size:13px}.prompt .create{font-size:0;width:43px;height:43px;padding:0}.prompt .create:first-letter{font-size:19px}.feature-grid,.workflow{grid-template-columns:1fr}.large-card{min-height:470px!important}.gallery{grid-template-columns:repeat(2,1fr)}.gallery div{height:135px}.workflow{gap:38px}.footer-bottom{flex-direction:column;gap:16px;text-align:center}.footer-bottom .brand span{display:none}.before-after{gap:10px}.asset-strip img{width:65px;height:65px}}
.nav-cta.nav-account{background:#252525;border:1px solid #565656;box-shadow:none;color:#f0f0f0}
.marketing-home{background:#121212;color:#f4f4f4}.marketing-hero{min-height:840px;padding:140px 24px 70px;position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;background:radial-gradient(70% 80% at 50% 8%,#282828 0%,#191919 52%,#121212 100%)}.hero-glow{position:absolute;width:720px;height:480px;top:-180px;left:50%;transform:translateX(-50%);background:radial-gradient(closest-side,#89898922,transparent 72%);filter:blur(5px)}.hero-grid{position:absolute;inset:0;opacity:.22;background-image:linear-gradient(#aeaeae12 1px,transparent 1px),linear-gradient(90deg,#aeaeae12 1px,transparent 1px);background-size:48px 48px;mask-image:linear-gradient(to bottom,#000000,transparent 65%)}.marketing-hero-inner{position:relative;z-index:1;text-align:center;max-width:800px}.marketing-hero .eyebrow{color:#aeaeae;margin-bottom:20px}.marketing-hero h1{font-size:clamp(52px,8vw,88px);line-height:1.01;letter-spacing:-.07em;margin:0 0 24px}.marketing-hero h1 em{font-style:normal;color:#afafaf}.hero-copy{max-width:620px;margin:0 auto;color:#c6c6c6;font-size:19px;line-height:1.6}.hero-actions{display:flex;justify-content:center;gap:13px;margin-top:34px}.hero-primary,.hero-secondary{display:inline-flex;align-items:center;gap:13px;text-decoration:none;font-weight:800;border-radius:10px;padding:14px 21px}.hero-primary{background:linear-gradient(135deg,#999999,#b9b9b9);color:#171717;box-shadow:0 12px 30px #89898942}.hero-primary b{font-size:19px}.hero-secondary{border:1px solid #bfbfbf55;color:#e9e9e9;background:#ffffff08}.hero-secondary span{color:#ababab}.trust-row{display:flex;justify-content:center;gap:22px;flex-wrap:wrap;margin-top:26px;color:#aaaaaa;font-size:12px}.trust-row span:first-child{color:#b5b5b5}.hero-art{position:relative;width:min(980px,100%);height:245px;margin-top:38px;z-index:1}.hero-art-card{position:absolute;bottom:0;border:1px solid #b8b8b835;border-radius:14px;background:linear-gradient(160deg,#232323,#171717);box-shadow:0 18px 45px #00000088;overflow:hidden}.hero-art-card img{display:block;width:100%;height:100%;object-fit:contain;image-rendering:pixelated}.hero-art-card span{position:absolute;left:12px;bottom:10px;padding:5px 8px;border-radius:6px;background:#171717cc;color:#cacaca;font-size:10px}.hero-art-main{width:220px;height:220px;left:50%;transform:translateX(-50%);padding:17px}.hero-art-small{width:145px;height:145px;left:calc(50% - 285px);padding:16px;transform:rotate(-5deg)}.hero-art-tiny{width:120px;height:120px;right:calc(50% - 285px);padding:18px;transform:rotate(5deg)}.proof-bar{border-top:1px solid #ffffff0d;border-bottom:1px solid #ffffff0d;background:#171717}.proof-inner{min-height:67px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:#9d9d9d;font-size:12px;letter-spacing:.03em}.proof-label{color:#dadada;font-weight:700}.benefit-section{padding:120px 0 105px}.benefit-section h2,.workflow-v2 h2,.showcase-v2 h2,.gallery-v2 h2,.theme-v2 h2,.faq-v2 h2{font-size:clamp(36px,5vw,58px);line-height:1.05;letter-spacing:-.06em;margin:15px 0}.benefit-section h2 span,.workflow-v2 h2 span,.showcase-v2 h2 span,.theme-v2 h2 span{color:#a2a2a2}.benefit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:48px}.benefit-grid article{padding:27px;border:1px solid #ffffff14;border-radius:14px;background:linear-gradient(160deg,#222222,#191919);min-height:246px}.benefit-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:9px;background:#89898922;color:#b5b5b5;font-size:20px;margin-bottom:22px}.benefit-grid h3{font-size:21px;margin-bottom:10px}.benefit-grid p{color:#aeaeae;line-height:1.55;font-size:14px}.benefit-grid a,.feature-grid-v2 a,.text-link{display:inline-flex;gap:8px;margin-top:13px;text-decoration:none;color:#b6b6b6;font-weight:800;font-size:13px}.workflow-v2{display:grid;grid-template-columns:.85fr 1.15fr;gap:80px;align-items:center;padding:105px 0 130px}.workflow-copy p{max-width:390px;color:#aeaeae;line-height:1.65}.workflow-steps{display:grid;grid-template-columns:1fr 1fr;gap:12px}.workflow-steps>div:not(.workflow-preview){padding:22px;border:1px solid #ffffff14;border-radius:12px;background:#1c1c1c;display:grid;grid-template-columns:42px 1fr;column-gap:10px}.workflow-steps strong{grid-row:span 2;color:#a7a7a7;font-size:18px}.workflow-steps b{font-size:15px}.workflow-steps span{font-size:12px;color:#949494}.workflow-preview{grid-column:span 2;height:210px;border-radius:12px;border:1px solid #91919145;background:radial-gradient(circle at 50% 55%,#282828,#1b1b1b 68%);display:flex;align-items:center;justify-content:center;position:relative}.workflow-preview img{height:170px;image-rendering:pixelated}.workflow-preview span{position:absolute;right:14px;bottom:12px;color:#bcbcbc;font-size:11px}.showcase-v2{padding:110px 0;background:#191919;border-top:1px solid #ffffff0a;border-bottom:1px solid #ffffff0a}.feature-grid-v2{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:14px;margin-top:46px}.feature-grid-v2 article{min-height:320px;padding:25px;border:1px solid #ffffff14;border-radius:14px;background:linear-gradient(160deg,#292929,#1d1d1d);position:relative;overflow:hidden}.feature-grid-v2 article:first-child{min-height:440px}.feature-grid-v2 small{color:#b5b5b5;font-size:10px;letter-spacing:.14em;font-weight:800}.feature-grid-v2 h3{font-size:26px;line-height:1.1;margin:12px 0}.feature-grid-v2 p{color:#afafaf;font-size:14px;line-height:1.5;max-width:240px}.feature-grid-v2 article>img{position:absolute;right:12px;bottom:-5px;width:51%;max-height:245px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 17px 22px #00000088)}.feature-grid-v2 article:first-child>img{width:62%;max-height:310px}.feature-grid-v2 a{position:absolute;left:25px;bottom:23px}.mini-assets{position:absolute;bottom:28px;right:6px;display:flex;align-items:end;width:76%;height:145px}.mini-assets img{width:38%;max-height:145px;object-fit:contain;image-rendering:pixelated}.mini-assets img+img{margin-left:-12%}.animation-art-v2{width:70%!important;max-height:220px!important}.gallery-v2{padding:115px 0}.gallery-v2 h2{margin-bottom:38px}.gallery-v2 .gallery div{background:#1e1e1e;border-color:#ffffff12}.theme-v2{display:grid;grid-template-columns:1fr 1fr;gap:75px;align-items:center;padding:110px 0 130px}.theme-card-v2{min-height:300px;border:1px solid #99999955;border-radius:16px;padding:0 27px 27px;background:linear-gradient(145deg,#232323,#1c1c1c);position:relative;overflow:hidden;box-shadow:0 20px 50px #00000055}.theme-card-top{height:54px;display:flex;gap:7px;align-items:center;color:#969696;font-size:11px}.theme-card-top i{width:9px;height:9px;border-radius:50%;background:#939393}.theme-card-top i:nth-child(2){background:#bfbfbf}.theme-card-top i:nth-child(3){background:#b5b5b5}.theme-card-top span{margin-left:8px}.theme-card-v2 strong{display:block;font-size:25px;margin:22px 0 8px}.theme-card-v2 p{color:#acacac;max-width:300px;line-height:1.5}.theme-card-v2 div:last-of-type{display:flex;gap:7px;margin-top:19px}.theme-card-v2 div:last-of-type b{font-size:11px;padding:6px 9px;border:1px solid #94949444;border-radius:99px;color:#bebebe}.theme-card-v2 img{position:absolute;right:25px;bottom:17px;width:115px;height:115px;image-rendering:pixelated}.faq-v2{padding:90px 0 125px;max-width:800px}.faq-v2 details{border-top:1px solid #ffffff17}.faq-v2 summary{padding:20px 0;display:flex;justify-content:space-between;cursor:pointer;font-weight:700;color:#e7e7e7;list-style:none}.faq-v2 summary b{color:#a8a8a8;font-size:20px}.faq-v2 p{color:#acacac;line-height:1.6;max-width:650px}.marketing-home+footer{background:linear-gradient(180deg,#1b1b1b,#131313);border-top:1px solid #ffffff0d}.marketing-home+footer .campfire{display:none}.marketing-home+footer .footer-cta{padding-bottom:35px}.marketing-home+footer .footer-cta h2{margin-top:0}.marketing-home+footer .footer-cta button{color:#171717}.marketing-home+footer .footer-bottom{border-top-color:#ffffff12}.marketing-home .hero-primary:hover,.marketing-home .nav-cta:hover{transform:translateY(-2px);filter:brightness(1.05)}
@media(max-width:800px){.marketing-hero{padding-top:120px;min-height:760px}.hero-art{height:200px}.hero-art-main{width:180px;height:180px}.hero-art-small{left:4%;width:100px;height:100px}.hero-art-tiny{right:4%;width:90px;height:90px}.proof-inner{overflow:auto;justify-content:flex-start;padding:0 22px;white-space:nowrap}.benefit-grid,.feature-grid-v2,.workflow-v2,.theme-v2{grid-template-columns:1fr}.benefit-section,.workflow-v2,.showcase-v2,.gallery-v2,.theme-v2{padding-top:80px;padding-bottom:80px}.workflow-steps{margin-top:10px}.workflow-preview{grid-column:auto}.feature-grid-v2 article:first-child{min-height:370px}.theme-v2{gap:35px}.trust-row{gap:10px 15px}.hero-actions{flex-direction:column;align-items:center}.hero-primary,.hero-secondary{width:max-content}.marketing-hero h1{font-size:52px}}
.gallery-v2 .gallery div{height:205px;padding:16px;background:#1e1e1e;border-color:#ffffff18}.gallery-v2 .gallery img{max-height:100%;max-width:100%;object-fit:contain}.workflow-preview img{max-width:72%;object-fit:contain}
.gallery-v2 .gallery div{height:240px;min-height:240px;padding:12px;display:flex;align-items:center;justify-content:center;overflow:hidden}.gallery-v2 .gallery img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center}.feature-grid-v2 article:first-child>img{bottom:10px;max-height:285px}.mini-assets img{height:100%;object-fit:contain}
.feature-grid-v2 article:first-child>img{bottom:24px;max-height:265px}
.feature-grid-v2 article .animation-art-v2{bottom:18px;max-height:200px!important}
.nav .brand{font-size:21px;gap:11px}.nav .brand img{width:42px;height:42px}.nav .brand span{letter-spacing:-.02em}@media(max-width:760px){.nav .brand{font-size:18px;gap:8px}.nav .brand img{width:35px;height:35px}}
.hero-character-cta{position:relative;z-index:1;max-width:690px;margin:30px auto 0;text-align:left}.hero-character-cta label{display:block;margin:0 0 9px 14px;color:#e1e1e1;font-size:13px;font-weight:800}.hero-character-cta>div{display:flex;align-items:stretch;padding:6px;border:1px solid #bfbfbf66;border-radius:13px;background:#171717e8;box-shadow:0 18px 45px #00000077}.hero-character-cta input{min-width:0;flex:1;border:0;outline:0;background:transparent;padding:12px 13px;color:#f0f0f0;font:inherit;font-size:15px}.hero-character-cta input::placeholder{color:#9b9b9b}.hero-character-cta button{border-radius:9px;padding:0 17px;background:linear-gradient(135deg,#999999,#b9b9b9);color:#181818;font-weight:800;white-space:nowrap}.hero-character-cta button b{margin-left:8px;font-size:17px}.hero-character-cta small{display:block;margin:9px 13px 0;color:#acacac;font-size:11px}.hero-text-cta{display:inline-flex;align-items:center;gap:8px;color:#b5b5b5;text-decoration:none;font-size:13px;font-weight:800}.hero-text-cta b{font-size:16px}@media(max-width:600px){.hero-character-cta>div{display:flex;flex-direction:column;gap:7px;padding:7px}.hero-character-cta button{padding:12px}.hero-character-cta label{margin-left:7px}.hero-actions{margin-top:18px}}
.hero-character-cta{max-width:760px;margin-top:28px}.hero-character-cta label{margin-left:16px;color:#eaeaea;font-size:12px;letter-spacing:.02em}.hero-character-cta>div{padding:7px 8px;border:1px solid #acacac66;border-radius:15px;background:linear-gradient(180deg,#272727,#1e1e1e);box-shadow:0 16px 38px #00000088,inset 0 1px #ffffff0b}.hero-prompt-icon{display:grid;place-items:center;width:38px;color:#afafaf;font-size:19px}.hero-character-cta input{font-size:16px;padding:13px 10px}.hero-character-cta button{min-height:45px;padding:0 20px;border-radius:10px;transition:filter .2s,transform .2s}.hero-character-cta button:hover{filter:brightness(1.06);transform:translateY(-1px)}.hero-character-cta small{margin-left:16px;color:#acacac}.hero-actions{margin-top:20px}


/* legal.css */
.legal-page{padding:150px 0 110px;max-width:900px}.legal-heading{padding-bottom:42px;border-bottom:1px solid var(--border)}.legal-heading h1{font-size:clamp(42px,6vw,64px);letter-spacing:-.055em;margin:16px 0 10px}.legal-heading p{color:var(--muted);margin:0}.legal-document{margin-top:38px;display:grid;gap:28px}.legal-document section{padding:28px 30px;border:1px solid var(--border);border-radius:16px;background:linear-gradient(145deg,#1d1d1d,#171717)}.legal-document h2{font-size:21px;margin:0 0 13px}.legal-document p{color:#c7c7c7;line-height:1.7;margin:0 0 12px}.legal-document p:last-child{margin-bottom:0}.legal-document a{color:#cccccc}.legal-document code{color:#d9d9d9;background:#0f0f0f;padding:2px 6px;border-radius:5px}@media(max-width:760px){.legal-page{padding-top:105px}.legal-document section{padding:22px 20px}}


/* pricing.css */
.pricing-page{min-height:100vh;padding:76px 28px 90px;background:radial-gradient(900px 440px at 50% -12%,#25252555,transparent 72%)}.pricing-hero{max-width:780px;margin:0 auto 42px;text-align:center}.pricing-hero .eyebrow{color:#b1b1b1}.pricing-hero h1{margin:12px 0;font-size:clamp(38px,5vw,62px);letter-spacing:-.055em}.pricing-hero p{max-width:590px;margin:auto;color:#b3b3b3;font-size:16px;line-height:1.6}.pricing-note{display:flex;align-items:center;justify-content:center;gap:9px;max-width:720px;margin:22px auto 0;padding:12px 16px;border:1px solid #454545;border-radius:12px;background:#1d1d1d;color:#cccccc;font-size:13px}.pricing-note i{width:8px;height:8px;border-radius:50%;background:#bbbbbb;box-shadow:0 0 14px #bbbbbb99}.pricing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;max-width:1120px;margin:auto}.plan-card{position:relative;display:flex;flex-direction:column;min-height:480px;padding:28px;border:1px solid #3d3d3d;border-radius:18px;background:linear-gradient(155deg,#212121,#181818);box-shadow:0 22px 45px #00000033}.plan-card.featured{border-color:#8f8f8f;box-shadow:0 18px 52px #85858520}.plan-badge{position:absolute;top:-12px;right:22px;padding:6px 10px;border-radius:999px;background:#919191;color:#141414;font-size:10px;font-weight:900;letter-spacing:.1em}.plan-card h2{margin:0;color:#f8f8f8;font-size:25px}.plan-card>p{min-height:45px;margin:8px 0 22px;color:#a8a8a8;font-size:14px;line-height:1.5}.plan-price{display:flex;align-items:baseline;gap:7px;margin-bottom:6px;color:#f8f8f8}.plan-price strong{font-size:48px;letter-spacing:-.06em}.plan-price span{color:#a2a2a2;font-size:13px}.plan-credits{padding:14px 0 18px;border-bottom:1px solid #3d3d3d;color:#bababa;font-size:16px;font-weight:850}.plan-credits small{display:block;margin-top:4px;color:#a1a1a1;font-size:11px;font-weight:650}.plan-card ul{display:grid;gap:11px;margin:24px 0;padding:0;list-style:none;color:#cfcfcf;font-size:13px}.plan-card li::before{content:'✓';margin-right:9px;color:#c1c1c1;font-weight:900}.plan-card button{width:100%;margin-top:auto;padding:14px;border:1px solid #5d5d5d;border-radius:10px;background:#2a2a2a;color:#f8f8f8;font-weight:850;cursor:pointer}.plan-card.featured button{border-color:#a8a8a8;background:linear-gradient(135deg,#7e7e7e,#a7a7a7);color:#ffffff}.pricing-costs{max-width:1120px;margin:54px auto 0;padding:28px;border:1px solid #3d3d3d;border-radius:18px;background:#1c1c1c}.pricing-costs header h2{margin:0;color:#f8f8f8;font-size:24px}.pricing-costs header p{margin:7px 0 22px;color:#a4a4a4;font-size:13px;line-height:1.5}.pricing-cost-table{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.pricing-cost-table article{padding:15px;border:1px solid #3e3e3e;border-radius:12px;background:#161616}.pricing-cost-table b{display:block;color:#f8f8f8;font-size:14px}.pricing-cost-table span{display:block;margin-top:5px;color:#b1b1b1;font-size:20px;font-weight:900}.pricing-cost-table small{display:block;margin-top:4px;color:#9a9a9a;font-size:11px;line-height:1.35}@media(max-width:850px){.pricing-grid{grid-template-columns:1fr}.plan-card{min-height:auto}.pricing-cost-table{grid-template-columns:1fr 1fr}}@media(max-width:520px){.pricing-page{padding:50px 16px}.pricing-cost-table{grid-template-columns:1fr}.pricing-note{align-items:flex-start;text-align:left}}


/* docs.css */
.docs-page{padding:132px max(24px,calc((100vw - 1240px)/2)) 100px;background:radial-gradient(900px 420px at 79% -5%,#2a2a2a55,transparent 64%),var(--bg);min-height:100vh}.docs-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:35px;border-bottom:1px solid var(--border);padding-bottom:43px}.docs-hero>div{max-width:670px}.docs-hero h1{font-size:clamp(40px,5vw,64px);letter-spacing:-.06em;line-height:1.04;margin:13px 0 16px}.docs-hero p{color:var(--muted);font-size:17px;line-height:1.6;margin-bottom:0}.docs-hero-cta,.docs-inline-cta{display:inline-flex;align-items:center;gap:10px;padding:13px 17px;border:1px solid #868686;background:#282828;color:#f7f7f7;text-decoration:none;border-radius:10px;font-weight:800;white-space:nowrap}.docs-hero-cta b{color:#bdbdbd}.docs-layout{display:grid;grid-template-columns:235px minmax(0,760px);gap:74px;justify-content:center;padding-top:47px}.docs-sidebar{position:sticky;top:94px;align-self:start;max-height:calc(100vh - 116px);overflow:auto;padding:0 11px 20px 0}.docs-sidebar::-webkit-scrollbar{width:6px}.docs-sidebar::-webkit-scrollbar-thumb{background:#565656;border-radius:99px}.docs-search{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid var(--border);background:#181818;border-radius:9px;margin-bottom:24px;color:#a0a0a0}.docs-search input{min-width:0;width:100%;border:0;outline:0;background:transparent;color:#f0f0f0;font:inherit;font-size:13px}.docs-sidebar nav{display:grid;gap:3px}.docs-sidebar small{color:#a0a0a0;font-weight:900;font-size:10px;letter-spacing:.14em;margin:18px 0 5px}.docs-sidebar small:first-child{margin-top:0}.docs-sidebar a{display:block;padding:7px 10px;border-radius:7px;text-decoration:none;color:#acacac;font-size:13px;font-weight:650}.docs-sidebar a:hover,.docs-sidebar a.active{background:#2d2d2d;color:#f6f6f6}.docs-content{min-width:0}.docs-content section{padding:0 0 66px;scroll-margin-top:100px}.docs-content section[hidden]{display:none}.docs-content h2{font-size:clamp(29px,3.3vw,42px);letter-spacing:-.045em;line-height:1.08;margin:9px 0 17px}.docs-content h3{font-size:19px;letter-spacing:-.02em;margin:0 0 10px}.docs-content p{font-size:16px;line-height:1.72;color:#b9b9b9}.docs-content .docs-lede{font-size:18px;color:#d3d3d3;max-width:710px}.docs-kicker{color:#aaaaaa;font-size:10px;font-weight:900;letter-spacing:.16em}.docs-callout,.docs-warning{margin:25px 0;padding:17px 19px;border:1px solid #686868;border-radius:11px;background:linear-gradient(115deg,#292929,#1a1a1a)}.docs-callout b,.docs-warning b{display:block;color:#dcdcdc;font-size:13px}.docs-callout p,.docs-warning p{font-size:14px;line-height:1.55;margin:6px 0 0}.docs-callout.quiet{border-color:#ffffff18;background:#ffffff08}.docs-warning{border-color:#818181;background:#2a2a2a}.docs-path{display:grid;grid-template-columns:28px 1fr 28px 1fr 28px 1fr;gap:10px;align-items:start;margin:33px 0 7px}.docs-path>span{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:#a8a8a8;color:#141414;font-size:12px;font-weight:900}.docs-path div{display:grid;gap:3px}.docs-path b{font-size:13px}.docs-path small{font-size:12px;color:#9a9a9a;line-height:1.35}.docs-shot{margin:28px 0 10px;border:1px solid #4a4a4a;border-radius:14px;overflow:hidden;background:#181818;box-shadow:0 18px 42px #00000044}.docs-content figcaption{font-size:12px;color:#959595;line-height:1.5}.shot-top{height:42px;padding:0 15px;display:flex;align-items:center;gap:13px;background:#191919;border-bottom:1px solid #ffffff14;color:#939393;font-size:10px}.shot-top i{width:14px;height:14px;background:#949494;border-radius:4px;box-shadow:inset 0 0 0 3px #1d1d1d}.shot-top b{color:#eaeaea;margin-right:auto;font-size:12px}.shot-home-body{min-height:250px;padding:31px;display:flex;justify-content:space-between;gap:20px;background:radial-gradient(500px 250px at 72% 0,#36363688,transparent),#161616}.shot-home-body>div:first-child{display:grid;align-content:center;gap:10px}.shot-home-body em,.shot-animation em{font-style:normal;color:#b5b5b5;font-weight:900;letter-spacing:.12em;font-size:9px}.shot-home-body strong{font-size:28px;letter-spacing:-.04em}.shot-home-body small,.shot-preview small,.docs-shot-animation small{color:#989898;font-size:11px}.shot-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:4px}.shot-actions b{padding:7px 9px;border:1px solid #565656;border-radius:6px;color:#dddddd;font-size:10px}.shot-recents{display:flex;align-items:center;gap:7px}.shot-recents img{width:96px;height:135px;object-fit:contain;padding:8px;background:#0e0e0e;border:1px solid #ffffff12;border-radius:8px;image-rendering:pixelated}.docs-steps{padding-left:21px;color:#bcbcbc;line-height:1.66}.docs-steps li{padding-left:6px;margin:9px 0}.docs-steps b{color:#f4f4f4}.docs-shot-character{min-height:350px;display:grid;grid-template-columns:45% 55%;background:#191919}.shot-form{padding:24px;border-right:1px solid #ffffff17;display:grid;align-content:start;gap:9px}.shot-form em{font-style:normal;font-size:9px;letter-spacing:.13em;color:#adadad;font-weight:900}.shot-form>b{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#bababa;margin-top:4px}.shot-form p{padding:10px;border:1px solid #545454;border-radius:7px;background:#0f0f0f;color:#e6e6e6;font-size:12px;line-height:1.45;margin:0}.shot-views{display:flex;gap:5px}.shot-views span{flex:1;border:1px solid #ffffff18;padding:7px 5px;border-radius:5px;text-align:center;font-size:9px;color:#9b9b9b}.shot-views span:first-child{border-color:#949494;color:#d5d5d5;background:#2c2c2c}.shot-form button,.docs-shot-animation button{margin-top:5px;padding:10px;border:0;border-radius:7px;background:linear-gradient(90deg,#767676,#9e9e9e);color:#ffffff;font-weight:850;font-size:11px}.shot-preview{display:grid;place-items:center;align-content:center;gap:7px;background:radial-gradient(circle at center,#353535 0,#1f1f1f 45%,#131313 100%)}.shot-preview img{width:155px;height:210px;object-fit:contain;image-rendering:pixelated}.shot-preview b{font-size:14px}.docs-two{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:24px}.docs-two>div{padding:19px;border:1px solid #ffffff18;border-radius:11px;background:#1b1b1b}.docs-two ul{margin:0;padding-left:18px;color:#b7b7b7;font-size:13px;line-height:1.7}.docs-tip b{font-size:13px;color:#d8d8d8}.docs-tip p{font-size:13px;margin:7px 0 0}.docs-shot-tile{display:grid;grid-template-columns:1.2fr .8fr}.tile-grid{min-height:245px;display:grid;grid-template-columns:repeat(4,1fr);background:#3c3c3c;position:relative;overflow:hidden}.tile-grid i{background:linear-gradient(135deg,#909090 0 16%,#717171 17% 38%,#8f8f8f 39% 58%,#5d5d5d 59%);border:1px solid #585858}.tile-grid img{position:absolute;width:125px;right:25px;bottom:2px;image-rendering:pixelated}.docs-shot-tile>div+div{padding:27px;background:#1c1c1c}.docs-shot-tile b{font-size:14px}.docs-shot-tile ul{padding-left:18px;color:#b5b5b5;font-size:12px;line-height:1.7}.docs-shot-animation{display:grid;grid-template-columns:1fr 1.1fr;min-height:230px}.shot-frames{display:flex;align-items:center;justify-content:center;gap:8px;padding:20px;background:#171717}.shot-frames img{width:70px;height:100px;padding:5px;object-fit:contain;background:repeating-conic-gradient(#222222 0 25%,#151515 0 50%) 50%/14px 14px;border:1px solid #9c9c9c;border-radius:7px;image-rendering:pixelated}.shot-frames img:nth-child(2){transform:translateY(4px)}.shot-frames img:nth-child(3){transform:translateY(-3px)}.docs-shot-animation>div+div{padding:28px;display:grid;align-content:center;gap:10px;background:#1c1c1c}.docs-shot-animation>div+div b{font-size:20px}.docs-theme-card{background:linear-gradient(135deg,#333333,#2f2f2f)!important;border-color:#757575!important}.docs-theme-card em{display:block;font-style:normal;color:#b3b3b3;font-size:9px;font-weight:900;letter-spacing:.13em}.docs-theme-card h3{font-size:22px;margin:9px 0}.docs-theme-card p{font-size:13px;margin:0 0 13px}.docs-theme-card span{display:inline-block;padding:4px 7px;border:1px solid #808080;border-radius:20px;color:#e2e2e2;font-size:10px;margin-right:4px}.docs-prompt-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0 19px}.docs-prompt-grid div{padding:16px 18px;border-radius:10px;border:1px solid #ffffff18;background:#1b1b1b}.docs-prompt-grid div+div{background:#2e2e2e;border-color:#767676}.docs-prompt-grid small{font-weight:900;font-size:9px;color:#9f9f9f;letter-spacing:.14em}.docs-prompt-grid p{margin:8px 0 0;font-size:14px;line-height:1.5}.docs-checklist{padding:0;margin:0;list-style:none;display:grid;gap:8px}.docs-checklist li{padding-left:25px;position:relative;font-size:14px;color:#bcbcbc}.docs-checklist li:before{content:"✓";position:absolute;left:0;color:#a9a9a9;font-weight:900}.docs-inline-cta{margin-top:5px;background:#272727;border-color:#707070}.docs-content strong{color:#f2f2f2}@media(max-width:840px){.docs-page{padding-top:105px}.docs-layout{grid-template-columns:1fr;gap:24px}.docs-sidebar{position:relative;top:0;max-height:none;overflow:visible}.docs-sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px}.docs-sidebar small{grid-column:1/-1;margin-top:16px}.docs-sidebar a{border:1px solid #ffffff12}.docs-hero{align-items:start;flex-direction:column}.docs-path{grid-template-columns:28px 1fr;gap:8px 12px}.docs-path div{margin-bottom:10px}.shot-recents img{width:70px;height:103px}.docs-shot-character,.docs-shot-animation,.docs-shot-tile{grid-template-columns:1fr}.shot-form{border-right:0;border-bottom:1px solid #ffffff17}.shot-preview{min-height:250px}.docs-two,.docs-prompt-grid{grid-template-columns:1fr}}@media(max-width:500px){.docs-page{padding:95px 18px 55px}.docs-hero h1{font-size:39px}.docs-sidebar nav{grid-template-columns:1fr}.docs-sidebar small{grid-column:auto}.shot-home-body{padding:22px;min-height:220px}.shot-recents{display:none}.shot-frames img{width:51px;height:75px}.docs-content section{padding-bottom:50px}}


/* grid.css */
[hidden]{display:none!important}.chip{padding:6px 9px;border:1px solid var(--border);border-radius:7px;color:#bcbcbc;background:#161616;font-size:12px;line-height:1.1}.chip:hover,.chip.active{border-color:#bdbdbdb3;color:#e3e3e3;background:#aaaaaa26}.dropzone.dragging{background:#aaaaaa1c}.grid-status{min-height:86px;display:grid;place-items:center;padding:25px;text-align:center;color:#bcbcbc;background:#1d1d1d}.grid-status.error{color:#c1c1c1}.grid-result{background:#1d1d1d}.grid-success{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 20px;background:#adadad13;border-bottom:1px solid #adadad30}.grid-success b{display:block;color:#e0e0e0}.grid-success small{display:block;color:#cacacaaa;margin-top:4px}.grid-compare{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--border)}.grid-compare figure{margin:0;padding:17px;background:#1d1d1d}.grid-compare figcaption{margin-bottom:10px;color:#9b9b9b;font-size:11px;letter-spacing:.1em;text-transform:uppercase}.grid-compare canvas{display:block;width:100%;max-height:390px;object-fit:contain;background:#0e0e0e;border:1px solid var(--border);border-radius:8px;image-rendering:auto}.grid-compare figure+figure canvas{image-rendering:pixelated;background-image:linear-gradient(45deg,#202020 25%,transparent 25%),linear-gradient(-45deg,#202020 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#202020 75%),linear-gradient(-45deg,transparent 75%,#202020 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}.grid-controls,.grid-actions{display:flex;gap:13px;align-items:center;padding:13px 20px;border-top:1px solid var(--border)}.grid-controls>span,.grid-actions>span{font-size:12px;color:#9b9b9b}.grid-controls>div{display:flex;gap:6px;flex-wrap:wrap}.grid-actions{justify-content:space-between}.grid-actions button{background:#aaaaaa;padding:10px 15px;border-radius:8px;font-weight:700}@media(max-width:760px){.grid-compare{grid-template-columns:1fr}.grid-controls{align-items:flex-start;flex-direction:column}.grid-actions{font-size:12px}}


/* modal.css */
.grid-compare canvas{cursor:zoom-in}.grid-image-modal{position:fixed;z-index:100;inset:0;display:grid;place-items:center;padding:24px}.grid-modal-backdrop{position:absolute;inset:0;background:#070707e6;backdrop-filter:blur(18px)}.grid-modal-card{position:relative;z-index:1;display:grid;place-items:center;width:100%;height:100%}.grid-modal-card>button{position:fixed;top:24px;right:28px;width:42px;height:42px;padding:0;border:1px solid #ffffff1c;border-radius:50%;background:#141414cc;color:transparent;font-size:0;transition:.18s}.grid-modal-card>button::before,.grid-modal-card>button::after{content:"";position:absolute;top:50%;left:50%;width:15px;height:2px;border-radius:2px;background:#fafafa}.grid-modal-card>button::before{transform:translate(-50%,-50%) rotate(45deg)}.grid-modal-card>button::after{transform:translate(-50%,-50%) rotate(-45deg)}.grid-modal-card>button:hover{background:#ffffff20;transform:scale(1.06)}.grid-modal-image{display:grid;place-items:center;width:100%;height:100%;overflow:hidden}.grid-modal-image canvas{max-width:88vw;max-height:82vh;width:auto;height:auto;filter:drop-shadow(0 28px 45px #000000bb)}.grid-modal-image canvas.pixelated-preview{image-rendering:pixelated}.grid-modal-card p{position:fixed;bottom:22px;margin:0;color:#d1d1d1b8;font-size:12px;letter-spacing:.04em;text-shadow:0 2px 8px #000000}@media(max-width:760px){.grid-image-modal{padding:12px}.grid-modal-card>button{top:16px;right:16px;width:38px;height:38px}.grid-modal-card p{bottom:16px}}


/* creator.css */
.prompt .create{display:inline-block;text-decoration:none}.feature-grid a{background:transparent;color:#e6e6e6;font-weight:700;padding:0;text-decoration:none}.feature-grid a b{color:#cbcbcb;margin-left:7px}.creator-page{min-height:100vh;padding:145px 22px 95px;background:radial-gradient(95% 80% at 50% 0,#383838 0%,#161616 62%)}.creator-intro{text-align:center;max-width:720px;margin:0 auto 43px}.creator-intro>span{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#d1d1d1;font-weight:800}.creator-intro h1{font-size:clamp(42px,6vw,66px);line-height:1.05;letter-spacing:-.055em;margin:18px 0}.creator-intro h1 em{font-style:normal;color:#cdcdcd}.creator-intro p{color:var(--muted);font-size:17px;line-height:1.65}.creator-shell{width:min(1100px,100%);margin:auto;display:grid;grid-template-columns:385px 1fr;border:1px solid var(--border);border-radius:20px;background:#1d1d1d;overflow:hidden;box-shadow:0 28px 80px #00000088}.creator-controls{padding:27px;border-right:1px solid var(--border);background:linear-gradient(160deg,#262626,#1a1a1a)}.creator-field{display:grid;gap:7px;margin-bottom:15px}.creator-field>span{font-size:11px;text-transform:uppercase;letter-spacing:.11em;color:#c0c0c0;font-weight:800}.creator-field small{font-size:11px;color:#919191;line-height:1.4}.creator-field textarea,.creator-field input,.creator-field select{width:100%;border:1px solid #c4c4c427;border-radius:9px;background:#101010;color:#f6f6f6;padding:10px 11px;font:inherit;outline:none}.creator-field textarea:focus,.creator-field input:focus,.creator-field select:focus{border-color:#bdbdbd;box-shadow:0 0 0 3px #bdbdbd22}.creator-field textarea{min-height:107px;resize:vertical;line-height:1.45}.creator-row{display:grid;grid-template-columns:1fr 1fr;gap:11px}.creator-generate{width:100%;margin-top:4px;padding:13px 16px;border-radius:10px;font-weight:800;background:linear-gradient(135deg,#aaaaaa,#bebebe);box-shadow:0 8px 25px #95959540}.creator-generate b{font-size:18px;margin-left:7px}.creator-local-note{font-size:11px;line-height:1.5;color:#919191;margin:14px 1px 0}.creator-stage{min-height:650px;position:relative;padding:27px;display:grid;place-items:center;background:radial-gradient(circle at 50% 40%,#303030,#171717 67%)}.creator-empty,.creator-loading{text-align:center;max-width:330px}.creator-empty>div{width:72px;height:72px;margin:0 auto 18px;border:1px solid #c5c5c54d;border-radius:20px;display:grid;place-items:center;font-size:31px;color:#d1d1d1;background:#3b3b3b52}.creator-empty h2,.creator-loading h2{font-size:24px;margin:0 0 8px}.creator-empty p,.creator-loading p{color:var(--muted);line-height:1.5}.creator-orbit{width:64px;height:64px;margin:0 auto 22px;border:4px solid #6f6f6f;border-top-color:#d1d1d1;border-radius:50%;animation:creator-spin 1s linear infinite}@keyframes creator-spin{to{transform:rotate(360deg)}}.creator-error{max-width:390px;padding:15px 17px;border:1px solid #90909055;border-radius:11px;background:#22222233;color:#d8d8d8;line-height:1.5;text-align:center}.creator-result{width:100%;align-self:stretch;display:flex;flex-direction:column}.creator-result-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.creator-result-head span{color:#cdcdcd;font-size:10px;font-weight:800;letter-spacing:.13em}.creator-result-head h2{margin:6px 0 0;font-size:25px;letter-spacing:-.035em}.creator-result-head button{padding:8px 10px;background:#2e2e2e;border:1px solid var(--border);border-radius:8px;color:#d7d7d7;font-size:12px}.creator-compare{flex:1;display:grid;grid-template-columns:1fr 1fr;gap:16px;min-height:0}.creator-compare figure{margin:0;min-width:0;display:flex;flex-direction:column;gap:9px}.creator-compare figcaption{text-transform:uppercase;letter-spacing:.1em;color:#a9a9a9;font-weight:800;font-size:10px}.creator-compare figcaption small{display:block;margin-top:4px;color:#797979;letter-spacing:0;text-transform:none;font-size:11px;font-weight:500}.creator-compare canvas{width:100%;flex:1;min-height:390px;max-height:470px;object-fit:contain;border:1px solid var(--border);border-radius:12px;background:#0f0f0f;image-rendering:pixelated}.creator-compare figure:nth-child(2) canvas{background-color:#151515;background-image:linear-gradient(45deg,#272727 25%,transparent 25%),linear-gradient(-45deg,#272727 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#272727 75%),linear-gradient(-45deg,transparent 75%,#272727 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}.creator-result-actions{display:flex;justify-content:space-between;align-items:center;margin-top:18px;color:#a7a7a7;font-size:12px}.creator-result-actions button{padding:10px 14px;border-radius:9px;background:#aaaaaa;color:white;font-weight:800}@media(max-width:820px){.creator-page{padding:105px 14px 45px}.creator-shell{grid-template-columns:1fr}.creator-controls{border-right:0;border-bottom:1px solid var(--border)}.creator-stage{min-height:570px}.creator-compare canvas{min-height:270px}.creator-result-actions{gap:10px;align-items:flex-end}.creator-result-actions span{max-width:55%}}@media(max-width:480px){.creator-controls,.creator-stage{padding:18px}.creator-compare{gap:9px}.creator-compare canvas{min-height:220px}.creator-result-head{align-items:flex-start}.creator-result-head button{white-space:nowrap}}


/* creator-grid.css */
.creator-tools {
  margin-top: 16px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.creator-tool-row {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 5px 0;
}

.creator-tool-row > span {
  width: 48px;
  padding-top: 6px;
  color: #9b9b9b;
  font-size: 12px;
}

.creator-tool-row > div {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.creator-tools .chip { cursor: pointer; }

@media (max-width: 480px) {
  .creator-tool-row { gap: 8px; }
  .creator-tool-row > span { width: 42px; }
}


/* creator-choices.css */
.perspective-picker { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.perspective-card { min-height:128px; position:relative; overflow:hidden; display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-end; gap:2px; padding:11px; border:1px solid #c4c4c428; border-radius:10px; background:#111111; color:#f3f3f3; text-align:left; }
.perspective-card img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.32; image-rendering:pixelated; filter:saturate(.75); }
.perspective-card::after { content:""; position:absolute; inset:0; background:linear-gradient(0deg,#101010 0%,#10101066 56%,transparent); }
.perspective-card b,.perspective-card small { position:relative; z-index:1; }
.perspective-card b { font-size:12px; }
.perspective-card small { color:#bababa; font-size:10px; line-height:1.2; }
.perspective-card:hover,.perspective-card.active { border-color:#adadadaa; background:#212121; box-shadow:inset 0 0 0 1px #adadad33; }
.perspective-card.active::before { content:"Selected"; position:absolute; z-index:2; top:8px; right:8px; padding:3px 5px; border-radius:999px; background:#adadad; color:#1c1c1c; font-size:8px; font-weight:900; text-transform:uppercase; }
.style-tag-picker { display:flex; flex-wrap:wrap; gap:7px; }
.style-tag { padding:7px 9px; border:1px solid #73737377; border-radius:999px; background:#161616; color:#cdcdcd; font-size:11px; line-height:1; }
.style-tag:hover,.style-tag.active { border-color:#bdbdbd; background:#aaaaaa2e; color:#f0f0f0; }
.creator-theme-card{display:flex;align-items:stretch;padding:7px;border:1px solid #474747;border-radius:10px;background:linear-gradient(145deg,#1f1f1f,#161616);transition:.18s}.creator-theme-card b{display:block;color:#f4f4f4;font-size:13px}.creator-theme-card small{display:block;margin-top:3px;color:#aaaaaa;font-size:10px}.creator-theme-card button{border:1px solid #555555;border-radius:7px;background:#272727;color:#e9e9e9;padding:8px 9px;font-size:10px;font-weight:800;cursor:pointer}.creator-theme-card button:hover{border-color:#b7b7b7;color:#ffffff}.creator-theme-select{min-width:0;flex:1;display:flex;align-items:center;justify-content:space-between;gap:9px;text-align:left}.creator-theme-select span{min-width:0}.creator-theme-select em{font-style:normal;color:#cccccc;white-space:nowrap}
@media(max-width:480px){.perspective-picker{gap:6px}.perspective-card{min-height:105px;padding:8px}.perspective-card small{display:none}}


/* asset-generator.css */
.asset-page{min-height:100vh;padding:145px 22px 95px;background:radial-gradient(95% 80% at 50% 0,#353535 0%,#161616 62%)}
.asset-page-embedded{min-height:0;padding:0;background:none}
.asset-intro{text-align:center;max-width:760px;margin:0 auto 38px}
.asset-page-embedded .asset-intro{display:none}
.asset-intro>span{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#d1d1d1;font-weight:800}
.asset-intro h1{font-size:clamp(39px,5.5vw,62px);line-height:1.08;letter-spacing:-.055em;margin:16px 0}
.asset-intro h1 em{font-style:normal;color:#cdcdcd}
.asset-intro p{color:var(--muted);font-size:16px;line-height:1.6}
.asset-shell{width:min(1240px,100%);margin:auto;display:grid;grid-template-columns:435px minmax(0,1fr);border:1px solid var(--border);border-radius:20px;overflow:hidden;background:#1d1d1d;box-shadow:0 28px 80px #00000088}
.asset-controls{padding:25px;border-right:1px solid var(--border);background:linear-gradient(160deg,#262626,#1a1a1a)}
.asset-field{display:grid;gap:7px;margin-bottom:15px}
.asset-field>span,.asset-theme-summary>span{font-size:11px;text-transform:uppercase;letter-spacing:.11em;color:#c0c0c0;font-weight:800}
.asset-field small{font-size:11px;color:#919191;line-height:1.4}
.asset-field textarea,.asset-field input,.asset-field select{width:100%;box-sizing:border-box;border:1px solid #c4c4c427;border-radius:9px;background:#101010;color:#f6f6f6;padding:10px 11px;font:inherit;outline:none}
.asset-field textarea:focus,.asset-field input:focus,.asset-field select:focus{border-color:#bdbdbd;box-shadow:0 0 0 3px #bdbdbd22}
.asset-field textarea{min-height:94px;resize:vertical;line-height:1.45}
.asset-theme-summary{display:grid;gap:4px;margin-bottom:16px;padding:12px;border:1px solid #aeaeae6b;border-radius:10px;background:linear-gradient(135deg,#323232,#232323)}
.asset-theme-summary b{color:#f9f9f9;font-size:13px}
.asset-theme-summary small{color:#c1c1c1;font-size:10px}
.asset-theme-summary.is-empty{border-color:#494949;background:#1f1f1f}
.asset-theme-summary.is-empty b{color:#ebebeb}
.asset-theme-summary.is-empty small{color:#aeaeae}
.asset-mode-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
.asset-mode{min-height:103px;position:relative;overflow:hidden;border:1px solid #4c4c4c;border-radius:9px;background:#1b1b1b;color:#f0f0f0;text-align:left;padding:8px;cursor:pointer;display:flex;flex-direction:column;justify-content:flex-end;gap:2px}
.asset-mode img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.28;image-rendering:pixelated}
.asset-mode:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#161616 0%,#16161655 63%,transparent)}
.asset-mode b,.asset-mode small{position:relative;z-index:1}
.asset-mode b{font-size:10px}
.asset-mode small{font-size:8px;color:#c1c1c1;line-height:1.15}
.asset-mode:hover,.asset-mode.active{border-color:#bababa;background:#2c2c2c;box-shadow:inset 0 0 0 1px #bababa33}
.asset-mode.active:before{content:"Selected";position:absolute;z-index:2;right:6px;top:6px;border-radius:999px;background:#b1b1b1;color:#1f1f1f;padding:3px 4px;font-size:7px;font-weight:900;text-transform:uppercase}
.asset-tag-picker{display:flex;flex-wrap:wrap;gap:6px}
.asset-tag{border:1px solid #73737377;border-radius:999px;background:#161616;color:#cdcdcd;padding:6px 8px;font-size:10px;line-height:1;cursor:pointer}
.asset-tag:hover,.asset-tag.active{border-color:#bdbdbd;background:#aaaaaa2e;color:#f0f0f0}
.asset-generate{width:100%;margin-top:2px;padding:13px 16px;border:0;border-radius:10px;background:linear-gradient(135deg,#aaaaaa,#bebebe);color:#ffffff;font-weight:800;box-shadow:0 8px 25px #95959540}
.asset-generate b{font-size:17px;margin-left:7px}
.asset-local-note{margin:13px 1px 0;color:#919191;font-size:11px;line-height:1.45}
.asset-stage{position:relative;min-height:700px;padding:27px;display:grid;place-items:center;background:radial-gradient(circle at 50% 40%,#303030,#171717 67%)}
.asset-empty,.asset-loading{text-align:center;max-width:345px}
.asset-empty>div{width:72px;height:72px;margin:0 auto 18px;border:1px solid #c5c5c54d;border-radius:20px;display:grid;place-items:center;font-size:31px;color:#d1d1d1;background:#3b3b3b52}
.asset-empty h2,.asset-loading h2{margin:0 0 8px;font-size:24px}
.asset-empty p,.asset-loading p{color:var(--muted);line-height:1.5}
.asset-loading>div{width:64px;height:64px;margin:0 auto 22px;border:4px solid #6f6f6f;border-top-color:#d1d1d1;border-radius:50%;animation:asset-spin 1s linear infinite}
@keyframes asset-spin{to{transform:rotate(360deg)}
}
.asset-error{max-width:390px;padding:15px 17px;border:1px solid #90909055;border-radius:11px;background:#22222233;color:#d8d8d8;line-height:1.5;text-align:center}
.asset-result{width:100%;align-self:stretch;display:flex;flex-direction:column}
.asset-result-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
.asset-result-head span{color:#cdcdcd;font-size:10px;font-weight:800;letter-spacing:.13em}
.asset-result-head h2{margin:6px 0 0;font-size:25px;letter-spacing:-.035em}
.asset-result-head button{padding:8px 10px;border:1px solid var(--border);border-radius:8px;background:#2e2e2e;color:#d7d7d7;font-size:12px}
.asset-compare{flex:1;display:grid;grid-template-columns:1fr 1fr;gap:16px;min-height:0}
.asset-compare figure{display:flex;flex-direction:column;gap:9px;min-width:0;margin:0}
.asset-compare figcaption{text-transform:uppercase;letter-spacing:.1em;color:#a9a9a9;font-weight:800;font-size:10px}
.asset-compare figcaption small{display:block;margin-top:4px;color:#797979;letter-spacing:0;text-transform:none;font-size:11px;font-weight:500}
.asset-compare canvas{width:100%;flex:1;min-height:405px;max-height:510px;object-fit:contain;border:1px solid var(--border);border-radius:12px;background:#0f0f0f;image-rendering:pixelated}
.asset-compare figure:nth-child(2) canvas{background-color:#151515;background-image:linear-gradient(45deg,#272727 25%,transparent 25%),linear-gradient(-45deg,#272727 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#272727 75%),linear-gradient(-45deg,transparent 75%,#272727 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}
.asset-tools{margin-top:17px;display:grid;gap:8px}
.asset-tools>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.asset-tools>div>span{width:48px;color:#acacac;font-size:11px}
.asset-chip{border:1px solid #4d4d4d;border-radius:6px;background:#272727;color:#cfcfcf;padding:5px 7px;font-size:10px;cursor:pointer}
.asset-chip.active{border-color:#b2b2b2;background:#727272;color:#ffffff}
.asset-result footer{display:flex;align-items:center;justify-content:space-between;margin-top:17px;color:#a7a7a7;font-size:12px}
.asset-result footer button{padding:10px 14px;border:0;border-radius:9px;background:#aaaaaa;color:#ffffff;font-weight:800}
@media(max-width:920px){.asset-shell{grid-template-columns:1fr}
.asset-controls{border-right:0;border-bottom:1px solid var(--border)}
.asset-stage{min-height:570px}
}
@media(max-width:520px){.asset-page{padding:105px 14px 45px}
.asset-controls,.asset-stage{padding:18px}
.asset-mode-grid{grid-template-columns:repeat(2,1fr)}
.asset-compare{gap:9px}
.asset-compare canvas{min-height:220px}
.asset-result-head{align-items:flex-start}
.asset-result-head button{white-space:nowrap}
.asset-result footer{gap:10px}
.asset-result footer span{max-width:55%}
}

/* Keep both result canvases in the grid even when this tool is embedded in /app. */
.asset-result{min-width:0}
.asset-result .asset-compare{width:100%;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
.asset-result .asset-compare>figure{display:flex!important;min-width:0;width:auto!important;grid-column:auto!important}
.asset-result .asset-compare>figure>canvas{display:block;box-sizing:border-box;min-width:0}
.asset-result footer{position:static;overflow:visible;width:100%;min-height:0;padding:0;background:transparent}
@media(max-width:520px){
  .asset-result .asset-compare{gap:9px}
  .asset-result .asset-compare>figure>canvas{min-height:220px}
}
/* The generation stack is deliberately fixed to one tuned model. */
.asset-controls label:has(#asset-provider){display:none}


/* asset-pack.css */
.studio-asset-pack-view{max-width:1320px}.pack-builder{display:grid;grid-template-columns:420px minmax(0,1fr);border:1px solid #383838;border-radius:14px;overflow:hidden;background:#171717}.pack-form{padding:23px;background:linear-gradient(160deg,#222222,#151515);border-right:1px solid #383838;display:grid;gap:13px;align-content:start}.pack-form label,.pack-form>section{display:grid;gap:7px}.pack-form label>span,.pack-form>section>span{color:#c4c4c4;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.1em}.pack-form input,.pack-form select{box-sizing:border-box;width:100%;border:1px solid #3d3d3d;border-radius:8px;background:#111111;color:#f8f8f8;padding:10px 11px;font:13px Inter,ui-sans-serif,system-ui,sans-serif;outline:0}.pack-form input:focus,.pack-form select:focus{border-color:#b6b6b6;box-shadow:0 0 0 3px #a8a8a82b}.pack-tags{display:flex;flex-wrap:wrap;gap:6px}.pack-tags button{border:1px solid #4f4f4f;border-radius:999px;background:#161616;color:#dadada;padding:5px 8px;font:700 10px Inter,ui-sans-serif,system-ui,sans-serif;cursor:pointer}.pack-tags button.active{border-color:#c2c2c2;background:#616161;color:#ffffff}.pack-items-field>span{display:flex;justify-content:space-between;gap:8px}.pack-items-field>span small{color:#9c9c9c;font-size:10px;letter-spacing:0;text-transform:none}.pack-item-row{display:grid;grid-template-columns:20px 96px minmax(0,1fr) 26px;gap:6px;align-items:center;margin-bottom:7px}.pack-item-row select,.pack-item-row input{padding:8px;font-size:11px}.pack-item-index{color:#cbcbcb;font-size:11px;font-weight:800;text-align:center}.pack-item-row button,.pack-add{border:1px solid #4d4d4d;border-radius:7px;background:#202020;color:#d3d3d3;cursor:pointer}.pack-item-row button{height:33px;font-size:17px}.pack-add{padding:8px 10px;width:max-content;font-size:11px;font-weight:800}.pack-create{margin-top:3px;border:0;border-radius:9px;background:linear-gradient(135deg,#a8a8a8,#bababa);color:#ffffff;padding:13px;font-weight:850;cursor:pointer}.pack-create b{font-size:16px;margin-left:6px}.pack-note{color:#949494;font-size:10px;line-height:1.45}.pack-error{margin:0;border:1px solid #65656555;border-radius:8px;background:#23232350;color:#d8d8d8;padding:9px;font-size:11px;line-height:1.4}.pack-library{min-width:0;padding:24px;background:radial-gradient(circle at 50% 0,#383838,#151515 65%)}.pack-library>header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:17px}.pack-library>header span{color:#d1d1d1;font-size:10px;font-weight:850;letter-spacing:.13em}.pack-library>header small{color:#949494;font-size:11px}.pack-library-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pack-card,.pack-empty{border:1px solid #3f3f3f;border-radius:11px;background:linear-gradient(145deg,#202020,#151515);overflow:hidden}.pack-card header{display:grid;gap:4px;padding:14px;border-bottom:1px solid #3b3b3b}.pack-card header span{color:#c7c7c7;font-size:9px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}.pack-card header b{font-size:15px;color:#f6f6f6}.pack-card header small{color:#a8a8a8;font-size:10px}.pack-card-items{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:10px}.pack-card-item{min-width:0;display:grid;gap:5px;justify-items:center;text-align:center}.pack-card-item img,.pack-card-item>span{width:54px;height:54px;object-fit:contain;image-rendering:pixelated;border-radius:7px;background:#111111}.pack-card-item>span{display:grid;place-items:center;color:#cccccc;font-size:19px}.pack-card-item.failed>span{color:#a3a3a3}.pack-card-item small{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#bababa;font-size:9px}.pack-card footer{display:flex;gap:7px;padding:10px;border-top:1px solid #3b3b3b}.pack-card footer button{border:0;border-radius:7px;background:#636363;color:#f8f8f8;padding:8px 9px;font-size:10px;font-weight:800;cursor:pointer}.pack-card footer button:disabled{opacity:.45;cursor:default}.pack-card footer .pack-retry{background:#262626;color:#dbdbdb;border:1px solid #5b5b5b}.pack-empty{min-height:190px;grid-column:1/-1;display:grid;place-content:center;gap:7px;text-align:center;padding:24px}.pack-empty b{font-size:17px}.pack-empty span{max-width:350px;color:#a8a8a8;font-size:12px;line-height:1.5}@media(max-width:980px){.pack-builder{grid-template-columns:1fr}.pack-form{border-right:0;border-bottom:1px solid #383838}.pack-library-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.pack-library-list{grid-template-columns:1fr}.pack-item-row{grid-template-columns:18px 82px minmax(0,1fr) 24px}.studio-asset-pack-view{padding-left:16px;padding-right:16px}}
/* The generation stack is deliberately fixed to one tuned model. */
.pack-form label:has(select[name="provider"]){display:none}


/* tileset.css */
.studio-tileset-view{max-width:1320px}.tileset-builder{display:grid;grid-template-columns:430px minmax(0,1fr);overflow:hidden;border:1px solid #383838;border-radius:14px;background:#151515}.tileset-form{display:grid;align-content:start;gap:13px;padding:23px;border-right:1px solid #383838;background:linear-gradient(160deg,#252525,#141414)}.tileset-form label,.tileset-form>section{display:grid;gap:7px}.tileset-form label>span,.tileset-form>section>span{color:#c4c4c4;font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.tileset-form input,.tileset-form select{box-sizing:border-box;width:100%;padding:10px 11px;border:1px solid #3d3d3d;border-radius:8px;outline:0;background:#111111;color:#f8f8f8;font:13px Inter,ui-sans-serif,system-ui,sans-serif}.tileset-form input:focus,.tileset-form select:focus{border-color:#b6b6b6;box-shadow:0 0 0 3px #a8a8a82b}.tileset-tags{display:flex;flex-wrap:wrap;gap:6px}.tileset-tags button{padding:5px 8px;border:1px solid #4f4f4f;border-radius:999px;background:#161616;color:#dadada;font:700 10px Inter,ui-sans-serif,system-ui,sans-serif;cursor:pointer}.tileset-tags button.active{border-color:#c2c2c2;background:#616161;color:#ffffff}.tileset-contents>span{display:flex;justify-content:space-between;gap:8px}.tileset-contents>span small{color:#9c9c9c;font-size:10px;letter-spacing:0;text-transform:none}.tileset-contents>p{margin:0;color:#a1a1a1;font-size:10px;line-height:1.45}.tileset-tile-row{display:grid;grid-template-columns:20px 84px minmax(0,1fr) 27px;gap:6px;align-items:center;margin-bottom:7px}.tileset-tile-row>span{color:#cfcfcf;font-size:11px;font-weight:800;text-align:center}.tileset-tile-row select,.tileset-tile-row input{padding:8px;font-size:11px}.tileset-tile-row button,#tileset-add{border:1px solid #4d4d4d;border-radius:7px;background:#202020;color:#d3d3d3;cursor:pointer}.tileset-tile-row button{height:33px;font-size:17px}#tileset-add{width:max-content;padding:8px 10px;font-size:11px;font-weight:800}.tileset-create{margin-top:3px;padding:13px;border:0;border-radius:9px;background:linear-gradient(135deg,#a8a8a8,#bababa);color:#ffffff;font-weight:850;cursor:pointer}.tileset-create b{margin-left:6px;font-size:16px}.tileset-note{color:#949494;font-size:10px;line-height:1.45}.tileset-error{margin:0;padding:9px;border:1px solid #65656555;border-radius:8px;background:#23232350;color:#d8d8d8;font-size:11px;line-height:1.4}.tileset-library{min-width:0;padding:24px;background:radial-gradient(circle at 50% 0,#3c3c3c,#141414 65%)}.tileset-library>header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:17px}.tileset-library>header span,.tileset-preview header span{color:#d2d2d2;font-size:10px;font-weight:850;letter-spacing:.13em}.tileset-library>header small{color:#949494;font-size:11px}.tileset-library-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tileset-card,.tileset-empty,.tileset-preview{overflow:hidden;border:1px solid #3f3f3f;border-radius:11px;background:linear-gradient(145deg,#212121,#141414)}.tileset-card header{display:grid;gap:4px;padding:14px;border-bottom:1px solid #3b3b3b}.tileset-card header span{color:#cfcfcf;font-size:9px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}.tileset-card header b{color:#f6f6f6;font-size:15px}.tileset-card header small{color:#a8a8a8;font-size:10px}.tileset-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:10px}.tileset-card-tile{display:grid;gap:5px;justify-items:center;min-width:0;text-align:center}.tileset-card-tile img,.tileset-card-tile>span{display:grid;width:54px;height:54px;place-items:center;border-radius:7px;background:#111111;color:#cccccc;object-fit:contain;image-rendering:pixelated;font-size:19px}.tileset-card-tile small{overflow:hidden;width:100%;color:#bababa;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.tileset-card-tile.running>span{color:#d9d9d9}.tileset-card-tile.failed>span{color:#a3a3a3}.tileset-card footer{display:flex;gap:7px;padding:10px;border-top:1px solid #3b3b3b}.tileset-card footer button,.tileset-preview button{padding:8px 9px;border:0;border-radius:7px;background:#636363;color:#f8f8f8;font-size:10px;font-weight:800;cursor:pointer}.tileset-card footer button:disabled{cursor:default;opacity:.45}.tileset-card footer .tileset-retry{border:1px solid #5b5b5b;background:#262626;color:#dbdbdb}.tileset-empty{display:grid;min-height:190px;grid-column:1/-1;place-content:center;gap:7px;padding:24px;text-align:center}.tileset-empty b{font-size:17px}.tileset-empty span{max-width:350px;color:#a8a8a8;font-size:12px;line-height:1.5}.tileset-preview{display:grid;justify-items:center;gap:12px;margin-top:16px;padding:15px}.tileset-preview header{display:flex;align-items:center;justify-content:space-between;width:100%;gap:12px}.tileset-preview header div{display:grid;gap:4px}.tileset-preview header b{color:#f6f6f6;font-size:13px}.tileset-preview header small{color:#a8a8a8;font-size:10px;text-align:right}.tileset-preview canvas{max-width:100%;border:1px solid #464646;border-radius:7px;background:#111111;image-rendering:pixelated}.tileset-preview button{background:#a8a8a8;font-size:11px}@media(max-width:980px){.tileset-builder{grid-template-columns:1fr}.tileset-form{border-right:0;border-bottom:1px solid #383838}}@media(max-width:600px){.tileset-library-list{grid-template-columns:1fr}.tileset-tile-row{grid-template-columns:18px 77px minmax(0,1fr) 24px}.studio-tileset-view{padding-right:16px;padding-left:16px}}
/* The generation stack is deliberately fixed to one tuned model. */
.tileset-form label:has(select[name="provider"]){display:none}


/* animation.css */
.studio-animation-view{max-width:1400px}.animation-builder{display:grid;grid-template-columns:455px minmax(0,1fr);overflow:hidden;border:1px solid #383838;border-radius:14px;background:#151515}.animation-form{display:grid;align-content:start;gap:14px;padding:23px;border-right:1px solid #383838;background:linear-gradient(160deg,#242424,#141414)}.animation-field,.animation-settings label{display:grid;gap:7px}.animation-field>span,.animation-settings label>span{color:#c7c7c7;font-size:11px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}.animation-field>small{color:#9c9c9c;font-size:10px;line-height:1.4}.animation-form textarea,.animation-form input,.animation-form select{box-sizing:border-box;width:100%;padding:10px 11px;border:1px solid #3f3f3f;border-radius:8px;outline:0;background:#111111;color:#f8f8f8;font:13px Inter,ui-sans-serif,system-ui,sans-serif}.animation-form textarea{min-height:78px;resize:vertical;line-height:1.45}.animation-form textarea:focus,.animation-form input:focus,.animation-form select:focus{border-color:#bebebe;box-shadow:0 0 0 3px #a8a8a82b}.animation-source-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;max-height:190px;overflow:auto;padding-right:2px;scrollbar-color:#707070 #1b1b1b;scrollbar-width:thin}.animation-source-list::-webkit-scrollbar{width:7px}.animation-source-list::-webkit-scrollbar-track{border-radius:999px;background:#1b1b1b}.animation-source-list::-webkit-scrollbar-thumb{border-radius:999px;background:#707070}.animation-source-card{display:grid;min-width:0;gap:4px;padding:6px;border:1px solid #414141;border-radius:9px;background:#161616;color:#e4e4e4;text-align:left;cursor:pointer}.animation-source-card>span{display:grid;height:64px;place-items:center;border-radius:6px;background:linear-gradient(145deg,#282828,#141414)}.animation-source-card img{max-width:100%;max-height:60px;object-fit:contain;image-rendering:pixelated}.animation-source-card b,.animation-source-card small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.animation-source-card b{font-size:10px}.animation-source-card small{color:#9c9c9c;font-size:8px}.animation-source-card.active{border-color:#b9b9b9;box-shadow:inset 0 0 0 1px #b9b9b955;background:#2e2e2e}.animation-no-source{padding:18px;border:1px dashed #505050;border-radius:9px;color:#b6b6b6;font-size:11px;text-align:center}.animation-motion-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.animation-motion-card{display:grid;gap:3px;justify-items:center;padding:9px 5px;border:1px solid #464646;border-radius:8px;background:#161616;color:#e2e2e2;cursor:pointer}.animation-motion-card i{display:grid;width:25px;height:25px;place-items:center;border-radius:7px;background:#333333;color:#d0d0d0;font-style:normal}.animation-motion-card b{font-size:10px}.animation-motion-card small{color:#9c9c9c;font-size:8px;text-align:center}.animation-motion-card.active{border-color:#bfbfbf;background:linear-gradient(145deg,#515151,#242424)}.animation-motion-card.active i{background:#a8a8a8;color:#ffffff}.animation-settings{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.animation-settings select{padding:9px 7px;font-size:11px}.animation-switches{display:flex;gap:10px}.animation-switches label{display:flex;align-items:center;gap:7px;flex:1;padding:9px;border:1px solid #3e3e3e;border-radius:8px;background:#161616;color:#c6c6c6;font-size:10px;font-weight:750}.animation-switches input{width:14px;height:14px;accent-color:#afafaf}.animation-tags{display:flex;flex-wrap:wrap;gap:5px}.animation-tags button{padding:4px 7px;border:1px solid #4f4f4f;border-radius:999px;background:#161616;color:#dadada;font:700 9px Inter,ui-sans-serif,system-ui,sans-serif;cursor:pointer}.animation-tags button.active{border-color:#c2c2c2;background:#616161;color:#ffffff}.animation-cost{display:flex;align-items:center;gap:10px;margin:0;padding:10px;border:1px solid #4e4e4e;border-radius:9px;background:linear-gradient(135deg,#323232,#1e1e1e)}.animation-cost b{white-space:nowrap;color:#dedede;font-size:12px}.animation-cost span{color:#a4a4a4;font-size:9px;line-height:1.4}.animation-error{margin:0;padding:9px;border:1px solid #65656555;border-radius:8px;background:#23232350;color:#d8d8d8;font-size:11px;line-height:1.4}.animation-create{padding:13px;border:0;border-radius:9px;background:linear-gradient(135deg,#a8a8a8,#bababa);color:#ffffff;font-weight:850;cursor:pointer}.animation-create:disabled{cursor:not-allowed;opacity:.45}.animation-note{color:#949494;font-size:10px;line-height:1.45}.animation-library{position:relative;min-width:0;padding:24px;background:radial-gradient(circle at 50% 0,#3d3d3d,#141414 66%)}.animation-library>header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:17px}.animation-library>header span,.animation-player header span{color:#d2d2d2;font-size:10px;font-weight:850;letter-spacing:.13em}.animation-library>header small{color:#949494;font-size:11px}.animation-library-list{display:grid;gap:13px}.animation-clip-card,.animation-empty,.animation-player{overflow:hidden;border:1px solid #3f3f3f;border-radius:11px;background:linear-gradient(145deg,#212121,#141414)}.animation-clip-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;border-bottom:1px solid #3b3b3b}.animation-clip-card>header>div{display:grid;gap:4px}.animation-clip-card header span{color:#d0d0d0;font-size:9px;font-weight:850;letter-spacing:.09em}.animation-clip-card header b{color:#f6f6f6;font-size:15px}.animation-clip-card header small{color:#a8a8a8;font-size:10px}.animation-clip-card button,.animation-player button{padding:8px 9px;border:1px solid #535353;border-radius:7px;background:#2e2e2e;color:#ededed;font-size:9px;font-weight:800;cursor:pointer}.animation-clip-card button:disabled{cursor:default;opacity:.4}.animation-timeline{display:flex;gap:8px;overflow-x:auto;padding:12px;scrollbar-color:#707070 #1b1b1b;scrollbar-width:thin}.animation-timeline::-webkit-scrollbar{height:7px}.animation-timeline::-webkit-scrollbar-track{border-radius:999px;background:#1b1b1b}.animation-timeline::-webkit-scrollbar-thumb{border-radius:999px;background:#707070}.animation-frame-card{position:relative;display:grid;flex:0 0 78px;gap:5px;justify-items:center}.animation-frame-card>div{display:grid;width:74px;height:74px;place-items:center;border:1px solid #414141;border-radius:8px;background-color:#121212;background-image:linear-gradient(45deg,#292929 25%,transparent 25%),linear-gradient(-45deg,#292929 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#292929 75%),linear-gradient(-45deg,transparent 75%,#292929 75%);background-position:0 0,0 4px,4px -4px,-4px 0;background-size:8px 8px}.animation-frame-card img{max-width:100%;max-height:100%;object-fit:contain;image-rendering:pixelated}.animation-frame-card>div i{color:#bababa;font-size:18px;font-style:normal}.animation-frame-card>b{color:#b7b7b7;font-size:8px}.animation-frame-card>button{padding:4px 5px;font-size:7px}.animation-frame-number{position:absolute;z-index:1;top:4px;left:4px;display:grid;width:17px;height:17px;place-items:center;border-radius:5px;background:#0f0f0fcc;color:#e5e5e5;font-size:8px;font-weight:850}.animation-frame-card.failed>div{border-color:#555555}.animation-frame-card.running>div{border-color:#a5a5a5}.animation-frame-card.succeeded>div,.animation-frame-card.source>div{border-color:#707070}.animation-clip-card>footer{display:flex;flex-wrap:wrap;gap:7px;padding:10px;border-top:1px solid #3b3b3b}.animation-clip-card>footer button:first-child{border-color:#979797;background:#636363;color:#ffffff}.animation-clip-card>footer .animation-retry{border-color:#5b5b5b;background:#262626;color:#dbdbdb}.animation-empty{display:grid;min-height:210px;place-content:center;gap:7px;padding:25px;text-align:center}.animation-empty b{font-size:17px}.animation-empty span{max-width:390px;color:#a8a8a8;font-size:12px;line-height:1.5}.animation-player{position:sticky;bottom:14px;z-index:3;display:grid;justify-items:center;gap:12px;margin-top:16px;padding:14px;box-shadow:0 18px 50px #000000aa}.animation-player[hidden]{display:none}.animation-player>header,.animation-player>footer{display:flex;align-items:center;justify-content:space-between;width:100%;gap:12px}.animation-player header>div{display:grid;gap:3px}.animation-player header b{font-size:13px}.animation-player header button{display:grid;width:30px;height:30px;place-items:center;padding:0;border-radius:999px}.animation-player canvas{max-width:100%;max-height:440px;border:1px solid #464646;border-radius:8px;background-color:#131313;background-image:linear-gradient(45deg,#2a2a2a 25%,transparent 25%),linear-gradient(-45deg,#2a2a2a 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#2a2a2a 75%),linear-gradient(-45deg,transparent 75%,#2a2a2a 75%);background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px;image-rendering:pixelated}.animation-player footer small{color:#a2a2a2;font-size:9px}@media(max-width:1050px){.animation-builder{grid-template-columns:1fr}.animation-form{border-right:0;border-bottom:1px solid #383838}}@media(max-width:620px){.animation-source-list,.animation-motion-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.animation-settings{grid-template-columns:repeat(2,minmax(0,1fr))}.animation-switches{display:grid}.studio-animation-view{padding-right:16px;padding-left:16px}}


/* animation-fixes.css */
.animation-frame-card > div {
  overflow: hidden;
}

.animation-builder {
  margin-inline: auto;
}

.animation-library > header,
.animation-library-list,
.animation-player {
  width: 100%;
  max-width: 920px;
  margin-inline: auto;
}

.animation-timeline {
  align-items: flex-start;
}

.animation-frame-card {
  align-content: start;
}

.animation-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 14px 0;
  padding: 11px 13px;
  border: 1px solid #97979766;
  border-radius: 9px;
  background: linear-gradient(135deg, #363636, #1f1f1f);
}

.animation-progress[hidden] {
  display: none;
}

.animation-progress > div {
  display: grid;
  gap: 2px;
}

.animation-progress b {
  color: #f7f7f7;
  font-size: 11px;
}

.animation-progress small {
  color: #b5b5b5;
  font-size: 9px;
}

.animation-spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  box-sizing: border-box;
  border: 3px solid #afafaf44;
  border-top-color: #cfcfcf;
  border-right-color: #c5c5c5;
  border-radius: 999px;
  animation: animation-spin .72s linear infinite;
}

.animation-spinner-small {
  width: 14px;
  height: 14px;
  border-width: 2px;
  vertical-align: -2px;
}

.animation-create .animation-spinner-small,
.animation-clip-card button .animation-spinner-small {
  margin-right: 6px;
}

.animation-clip-card.is-generating {
  border-color: #a9a9a988;
  box-shadow: 0 0 0 1px #a9a9a922, 0 16px 42px #0e0e0e66;
}

.animation-frame-card.running .animation-frame-visual {
  border-color: #bfbfbf;
  box-shadow: inset 0 0 28px #a8a8a822, 0 0 18px #a8a8a822;
}

@keyframes animation-spin {
  to { transform: rotate(360deg); }
}

.animation-frame-card img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

.animation-frame-card.locked .animation-frame-visual {
  border-color: #bcbcbc;
  box-shadow: inset 0 0 22px #b3b3b318;
}

.animation-frame-lock {
  position: absolute;
  z-index: 2;
  top: 4px;
  right: 4px;
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 5px;
  background: #333333dd;
  color: #c8c8c8;
  font-size: 8px;
}

.animation-player {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
}

.animation-player-stage {
  display: grid;
  width: 100%;
  min-height: 390px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #3b3b3b;
  border-radius: 9px;
  background: radial-gradient(circle at 50% 45%, #272727, #0e0e0e 70%);
}

.animation-player-stage canvas {
  display: block;
  flex: none;
  box-sizing: content-box;
  max-width: calc(100% - 32px);
  max-height: 360px;
  object-fit: contain;
}

@media (max-width: 620px) {
  .animation-player-stage {
    min-height: 290px;
  }

  .animation-player-stage canvas {
    max-height: 260px;
  }
}


/* animation-editor.css */
.animation-sequence-overlay{position:fixed;z-index:80;inset:0;display:grid;place-items:center;padding:24px;background:#090909cc;backdrop-filter:blur(16px)}.animation-sequence-overlay[hidden]{display:none}.animation-sequence-dialog{width:min(1050px,96vw);max-height:92vh;overflow:auto;border:1px solid #4d4d4d;border-radius:16px;background:linear-gradient(145deg,#252525,#131313 70%);box-shadow:0 30px 100px #000000cc;scrollbar-color:#7d7d7d #1b1b1b;scrollbar-width:thin}.animation-sequence-dialog>header{position:sticky;z-index:2;top:0;display:flex;align-items:start;justify-content:space-between;gap:20px;padding:22px 24px;border-bottom:1px solid #3d3d3d;background:#1d1d1df2;backdrop-filter:blur(14px)}.animation-sequence-dialog>header div{display:grid;gap:5px}.animation-sequence-dialog span{color:#d1d1d1;font-size:10px;font-weight:900;letter-spacing:.12em}.animation-sequence-dialog h2,.animation-sequence-dialog h3,.animation-sequence-dialog p{margin:0}.animation-sequence-dialog h2{font-size:23px}.animation-sequence-dialog h3{font-size:15px}.animation-sequence-dialog p{color:#a9a9a9;font-size:11px;line-height:1.5}.animation-sequence-dialog>header>button{display:grid;width:34px;height:34px;place-items:center;border:1px solid #505050;border-radius:9px;background:#313131;color:#e6e6e6;font-size:18px;cursor:pointer}.animation-sequence-body{display:grid;gap:16px;padding:20px}.animation-sequence-rail{display:grid;gap:9px}.animation-sequence-rail>div{display:flex;gap:8px;overflow:auto;padding-bottom:6px}.animation-sequence-rail button{display:grid;flex:0 0 92px;gap:4px;padding:7px;border:1px solid #464646;border-radius:9px;background:#161616;color:#e6e6e6;text-align:left;cursor:pointer}.animation-sequence-rail button.active{border-color:#c8c8c8;box-shadow:0 0 0 2px #b1b1b132}.animation-sequence-rail button.locked{background:linear-gradient(145deg,#2f2f2f,#161616)}.animation-sequence-rail i{display:grid;height:72px;place-items:center;border-radius:6px;background:#121212;color:#9c9c9c;font-style:normal}.animation-sequence-rail img{max-width:100%;max-height:100%;object-fit:contain;image-rendering:pixelated}.animation-sequence-rail b{font-size:10px}.animation-sequence-rail small{color:#9e9e9e;font-size:8px;text-transform:capitalize}.animation-sequence-columns{display:grid;grid-template-columns:.72fr 1.28fr;gap:14px}.animation-sequence-columns>section,.animation-retake{display:grid;align-content:start;gap:12px;padding:17px;border:1px solid #3f3f3f;border-radius:12px;background:#1a1a1a}.animation-sequence-columns header,.animation-retake header{display:flex;align-items:start;justify-content:space-between;gap:12px}.animation-sequence-columns header>div,.animation-retake header>div{display:grid;gap:5px}.animation-sequence-columns em,.animation-retake em{padding:5px 7px;border-radius:999px;background:#2f2f2f;color:#bbbbbb;font-size:8px;font-style:normal}.animation-sequence-actions{display:flex;flex-wrap:wrap;gap:7px}.animation-sequence-actions button,.animation-retake button,.animation-sequence-primary{padding:9px 11px;border:1px solid #5e5e5e;border-radius:8px;background:#303030;color:#f3f3f3;font-size:10px;font-weight:800;cursor:pointer}.animation-sequence-actions button:disabled,.animation-sequence-primary:disabled{cursor:default;opacity:.35}.animation-sequence-actions .danger{border-color:#545454;background:#262626;color:#d7d7d7}.animation-keyframe-library{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;max-height:235px;overflow:auto}.animation-keyframe-library button{display:grid;min-width:0;gap:4px;padding:5px;border:1px solid #424242;border-radius:8px;background:#151515;color:#e2e2e2;text-align:left;cursor:pointer}.animation-keyframe-library button.active{border-color:#c0c0c0;background:#2e2e2e}.animation-keyframe-library i{display:grid;height:55px;place-items:center;border-radius:5px;background:#1d1d1d}.animation-keyframe-library img{max-width:100%;max-height:100%;object-fit:contain;image-rendering:pixelated}.animation-keyframe-library b,.animation-keyframe-library small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.animation-keyframe-library b{font-size:8px}.animation-keyframe-library small{color:#9a9a9a;font-size:7px}.animation-sequence-primary{border:0;background:linear-gradient(135deg,#9e9e9e,#b9b9b9);color:#ffffff}.animation-retake>div{display:grid;grid-template-columns:160px 160px auto;gap:9px;align-items:end}.animation-retake label{display:grid;gap:5px;color:#bbbbbb;font-size:9px;font-weight:800}.animation-retake select{padding:9px;border:1px solid #4d4d4d;border-radius:8px;background:#131313;color:#f3f3f3}.animation-sequence-overlay.busy .animation-sequence-dialog{pointer-events:none;opacity:.7}@media(max-width:760px){.animation-sequence-columns{grid-template-columns:1fr}.animation-keyframe-library{grid-template-columns:repeat(3,minmax(0,1fr))}.animation-retake>div{grid-template-columns:1fr 1fr}.animation-retake button{grid-column:1/-1}}


/* animation2.css */
.studio-animation2-view{max-width:1500px}.animation2-shell{display:grid;grid-template-columns:390px minmax(0,1fr);overflow:hidden;border:1px solid #3d3d3d;border-radius:15px;background:#161616}.animation2-controls{display:grid;align-content:start;gap:17px;padding:22px;border-right:1px solid #3d3d3d;background:linear-gradient(155deg,#242424,#141414)}.animation2-field{display:grid;gap:8px}.animation2-field>span{color:#c7c7c7;font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.animation2-field>small{color:#9b9b9b;font-size:9px;line-height:1.5}.animation2-sources{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;max-height:170px;overflow:auto;scrollbar-color:#747474 #1b1b1b;scrollbar-width:thin}.animation2-source{display:grid;min-width:0;gap:4px;padding:5px;border:1px solid #424242;border-radius:8px;background:#161616;color:#e4e4e4;text-align:left;cursor:pointer}.animation2-source>span{display:grid;height:57px;place-items:center;border-radius:5px;background:linear-gradient(145deg,#282828,#141414)}.animation2-source img{max-width:100%;max-height:54px;object-fit:contain;image-rendering:pixelated}.animation2-source b,.animation2-source small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.animation2-source b{font-size:8px}.animation2-source small{color:#9c9c9c;font-size:7px}.animation2-source.active{border-color:#b9b9b9;background:#2e2e2e;box-shadow:inset 0 0 0 1px #b9b9b944}.animation2-motions{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.animation2-motions button{display:grid;justify-items:center;gap:4px;padding:9px 5px;border:1px solid #464646;border-radius:8px;background:#161616;color:#e2e2e2;cursor:pointer}.animation2-motions i{display:grid;width:25px;height:25px;place-items:center;border-radius:7px;background:#333333;color:#d0d0d0;font-style:normal}.animation2-motions b{font-size:10px}.animation2-motions small{color:#959595;font-size:7px}.animation2-motions button.active{border-color:#bfbfbf;background:linear-gradient(145deg,#515151,#242424)}.animation2-motions button.active i{background:#a8a8a8;color:#ffffff}.animation2-mode{display:grid;grid-template-columns:1fr 1fr;gap:7px}.animation2-mode button{display:grid;gap:4px;padding:10px;border:1px solid #454545;border-radius:8px;background:#161616;color:#ebebeb;text-align:left;cursor:pointer}.animation2-mode b{font-size:10px}.animation2-mode small{color:#9e9e9e;font-size:8px;line-height:1.35}.animation2-mode button.active{border-color:#bebebe;background:linear-gradient(145deg,#323232,#1d1d1d)}.animation2-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}.animation2-actions button,.animation2-workbench button{padding:9px;border:1px solid #505050;border-radius:7px;background:#2e2e2e;color:#ededed;font-size:9px;font-weight:800;cursor:pointer}.animation2-toggle{display:flex;align-items:center;gap:8px;padding:9px;border:1px solid #3e3e3e;border-radius:8px;background:#161616;color:#c7c7c7;font-size:9px;font-weight:750}.animation2-toggle input{accent-color:#adadad}.animation2-info{display:grid;gap:4px;padding:11px;border:1px solid #4e4e4e;border-radius:9px;background:linear-gradient(135deg,#323232,#1e1e1e)}.animation2-info b{color:#dfdfdf;font-size:11px}.animation2-info span{color:#a4a4a4;font-size:8px;line-height:1.45}.animation2-error{margin:0;padding:9px;border:1px solid #65656555;border-radius:8px;background:#23232350;color:#d8d8d8;font-size:10px}.animation2-empty{padding:15px;border:1px dashed #4f4f4f;border-radius:8px;color:#b6b6b6;font-size:10px;text-align:center}.animation2-workbench{display:grid;align-content:start;gap:17px;min-width:0;padding:22px;background:radial-gradient(circle at 50% 0,#3c3c3c,#141414 68%)}.animation2-workbench>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.animation2-workbench>header>div:first-child{display:grid;gap:4px}.animation2-workbench h2{margin:0;color:#f7f7f7;font-size:17px}.animation2-workbench>header>div:last-child{display:flex;flex-wrap:wrap;gap:6px}.animation2-workbench>header button:first-child{border-color:#9c9c9c;background:#686868;color:#ffffff}.animation2-stages{display:grid;grid-template-columns:1fr 1fr;gap:12px}.animation2-stages article{overflow:hidden;border:1px solid #414141;border-radius:11px;background:#151515}.animation2-stages article>header{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:1px solid #3a3a3a}.animation2-stages article>header b{color:#d2d2d2;font-size:9px;letter-spacing:.1em}.animation2-stages article>header small{color:#9b9b9b;font-size:8px}.animation2-canvas-wrap{display:grid;min-height:440px;place-items:center;padding:16px;background-color:#131313;background-image:linear-gradient(45deg,#2a2a2a 25%,transparent 25%),linear-gradient(-45deg,#2a2a2a 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#2a2a2a 75%),linear-gradient(-45deg,transparent 75%,#2a2a2a 75%);background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px}.animation2-canvas-wrap canvas{display:block;width:auto;height:auto;max-width:100%;max-height:410px;image-rendering:pixelated;cursor:crosshair;touch-action:none}.animation2-timeline{overflow:hidden;border:1px solid #3f3f3f;border-radius:10px;background:#161616}.animation2-timeline>header{display:flex;justify-content:space-between;padding:10px 12px;border-bottom:1px solid #393939}.animation2-timeline>header span{color:#d2d2d2;font-size:9px;font-weight:900;letter-spacing:.12em}.animation2-timeline>header small{color:#9b9b9b;font-size:8px}.animation2-timeline>div{display:flex;gap:8px;overflow-x:auto;padding:11px;scrollbar-color:#707070 #1b1b1b;scrollbar-width:thin}.animation2-timeline button{position:relative;display:grid;flex:0 0 78px;gap:4px;justify-items:center;padding:5px;border:1px solid #424242;border-radius:8px;background:#151515;color:#bababa}.animation2-timeline button.active{border-color:#bdbdbd;background:#2d2d2d}.animation2-timeline button>span{position:absolute;z-index:1;top:7px;left:7px;display:grid;width:16px;height:16px;place-items:center;border-radius:5px;background:#0e0e0ed9;color:#ffffff;font-size:7px}.animation2-timeline canvas{width:68px;height:68px;object-fit:contain;image-rendering:pixelated}.animation2-timeline b{font-size:7px}.animation2-workbench>footer{display:flex;flex-wrap:wrap;gap:14px;color:#a9a9a9;font-size:8px}.animation2-workbench>footer span{display:flex;align-items:center;gap:5px}.animation2-workbench>footer i{width:6px;height:6px;border-radius:999px;background:#bdbdbd;box-shadow:0 0 10px #bdbdbd}.animation2-sources::-webkit-scrollbar,.animation2-timeline>div::-webkit-scrollbar{width:7px;height:7px}.animation2-sources::-webkit-scrollbar-track,.animation2-timeline>div::-webkit-scrollbar-track{background:#1b1b1b}.animation2-sources::-webkit-scrollbar-thumb,.animation2-timeline>div::-webkit-scrollbar-thumb{border-radius:99px;background:#747474}@media(max-width:1150px){.animation2-shell{grid-template-columns:1fr}.animation2-controls{border-right:0;border-bottom:1px solid #3d3d3d}.animation2-stages{grid-template-columns:1fr}.animation2-canvas-wrap{min-height:340px}}@media(max-width:620px){.studio-animation2-view{padding-right:14px;padding-left:14px}.animation2-workbench>header{align-items:flex-start;flex-direction:column}.animation2-sources{grid-template-columns:repeat(3,1fr)}.animation2-canvas-wrap{min-height:280px}.animation2-mode{grid-template-columns:1fr}}


/* animation2-fixes.css */
.animation2-controls,
.animation2-workbench,
.animation2-workbench > header > div:first-child,
.animation2-stages,
.animation2-stages article {
  min-width: 0;
}

.animation2-workbench {
  overflow: hidden;
}

.animation2-workbench > header > div:first-child {
  flex: 1 1 auto;
}

.animation2-workbench h2 {
  overflow-wrap: anywhere;
  line-height: 1.25;
}

.animation2-stages {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}

.animation2-stages article {
  width: auto;
}

.animation2-canvas-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  overflow: auto;
  scrollbar-color: #747474 #181818;
  scrollbar-width: thin;
}

.animation2-canvas-wrap canvas {
  flex: 0 0 auto;
  max-width: none;
  max-height: none;
  margin: auto;
}

.animation2-canvas-wrap::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.animation2-canvas-wrap::-webkit-scrollbar-track {
  background: #181818;
}

.animation2-canvas-wrap::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #747474;
}

.animation2-zoombar {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid #3f3f3f;
  border-radius: 9px;
  background: linear-gradient(135deg, #232323, #161616);
}

.animation2-zoombar > span {
  margin-right: 4px;
  color: #d2d2d2;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
}

.animation2-zoombar button {
  min-width: 34px;
  padding: 6px 9px;
}

.animation2-zoombar b {
  min-width: 30px;
  color: #f8f8f8;
  font-size: 10px;
  text-align: center;
}

.animation2-zoombar small {
  min-width: 0;
  overflow: hidden;
  color: #9c9c9c;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.animation2-workbench > footer {
  min-height: 0;
  padding: 0;
  background: transparent;
}

.animation2-timeline > header > div {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  min-width: 0;
}

.animation2-timeline > header > div small { margin-right: 4px; }
.animation2-timeline > header > div button { padding: 6px 9px; border-color: #595959; background: #2c2c2c; font-size: 8px; }
.animation2-timeline > header > div button[data-animation2-add-frame] { border-color: #979797; background: linear-gradient(135deg, #6a6a6a, #4a4a4a); color: #ffffff; }
.animation2-timeline > header > div button:disabled { cursor: not-allowed; opacity: .42; }

@media (max-width: 1150px) {
  .animation2-stages {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .animation2-zoombar small {
    display: none;
  }

  .animation2-timeline > header { align-items: flex-start; flex-direction: column; gap: 8px; }
  .animation2-timeline > header > div { flex-wrap: wrap; justify-content: flex-start; }
}


/* animation3.css */
.studio-animation3-view{max-width:1400px}.animation3-shell{display:grid;grid-template-columns:470px minmax(0,1fr);overflow:hidden;border:1px solid #3d3d3d;border-radius:15px;background:#151515}.animation3-form{display:grid;align-content:start;gap:14px;padding:23px;border-right:1px solid #3d3d3d;background:linear-gradient(155deg,#262626,#141414)}.animation3-field,.animation3-settings label{display:grid;gap:7px}.animation3-field>span,.animation3-settings label>span{color:#dcdcdc;font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.animation3-field>small,.animation3-cost{color:#a0a0a0;font-size:10px;line-height:1.45}.animation3-form textarea,.animation3-form input,.animation3-form select{width:100%;padding:10px 11px;border:1px solid #484848;border-radius:8px;outline:0;background:#111111;color:#fafafa;font:13px Inter,ui-sans-serif,system-ui,sans-serif}.animation3-form textarea{min-height:110px;resize:vertical;line-height:1.45}.animation3-form textarea:focus,.animation3-form input:focus,.animation3-form select:focus{border-color:#c2c2c2;box-shadow:0 0 0 3px #aaaaaa2b}.animation3-sources{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;max-height:180px;overflow:auto;padding-right:2px;scrollbar-color:#787878 #1b1b1b;scrollbar-width:thin}.animation3-source{display:grid;gap:4px;min-width:0;padding:6px;border:1px solid #454545;border-radius:8px;background:#161616;color:#e3e3e3;text-align:left}.animation3-source>span{display:grid;height:58px;place-items:center;border-radius:6px;background:linear-gradient(145deg,#282828,#141414)}.animation3-source img{max-width:100%;max-height:56px;image-rendering:pixelated;object-fit:contain}.animation3-source b,.animation3-source small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.animation3-source b{font-size:9px}.animation3-source small{color:#9c9c9c;font-size:8px}.animation3-source.active{border-color:#b6b6b6;background:#2e2e2e;box-shadow:inset 0 0 0 1px #b6b6b655}.animation3-motions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.animation3-motions button{display:grid;gap:3px;justify-items:center;padding:9px 5px;border:1px solid #474747;border-radius:8px;background:#161616;color:#e5e5e5}.animation3-motions i{display:grid;width:25px;height:25px;place-items:center;border-radius:7px;background:#353535;color:#d0d0d0;font-style:normal}.animation3-motions b{font-size:10px}.animation3-motions small{color:#9e9e9e;font-size:8px}.animation3-motions button.active{border-color:#bfbfbf;background:linear-gradient(140deg,#535353,#242424)}.animation3-motions button.active i{background:#a9a9a9;color:#ffffff}.animation3-settings{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.animation3-settings select,.animation3-settings input{padding:9px 7px;font-size:11px}.animation3-tips{display:grid;gap:4px;padding:11px;border:1px solid #4f4f4f;border-radius:9px;background:linear-gradient(135deg,#313131,#202020);color:#b8b8b8}.animation3-tips b{color:#e0e0e0;font-size:10px}.animation3-tips span{font-size:9px;line-height:1.45}.animation3-submit{padding:13px;border:0;border-radius:9px;background:linear-gradient(135deg,#a5a5a5,#bababa);color:#ffffff;font-weight:900}.animation3-submit:disabled{opacity:.5;cursor:not-allowed}.animation3-error{margin:0;padding:9px;border:1px solid #65656555;border-radius:8px;background:#23232350;color:#d8d8d8;font-size:11px}.animation3-results{min-width:0;padding:24px;background:radial-gradient(circle at 50% 0,#404040,#141414 68%)}.animation3-results>header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:17px}.animation3-results>header span,.animation3-live header span{color:#d1d1d1;font-size:10px;font-weight:900;letter-spacing:.13em}.animation3-results>header small{color:#9e9e9e;font-size:10px}.animation3-job-list{display:grid;gap:10px}.animation3-empty{display:grid;min-height:240px;place-content:center;gap:7px;padding:24px;border:1px dashed #464646;border-radius:11px;color:#b3b3b3;text-align:center}.animation3-empty b{color:#e8e8e8;font-size:15px}.animation3-empty span{max-width:340px;font-size:11px;line-height:1.5}.animation3-saved{display:grid;gap:6px;padding:14px;border:1px solid #464646;border-radius:10px;background:#1d1d1d}.animation3-saved span{color:#b9b9b9;font-size:9px;font-weight:850;letter-spacing:.11em}.animation3-saved b{font-size:14px}.animation3-saved a,.animation3-live a{color:#dadada;font-size:11px;font-weight:800;text-decoration:none}.animation3-live{display:grid;gap:13px;align-content:center;min-height:300px;margin-top:14px;padding:24px;border:1px solid #646464;border-radius:12px;background:linear-gradient(150deg,#303030,#161616)}.animation3-live[hidden]{display:none}.animation3-live header{display:flex;justify-content:space-between;align-items:center}.animation3-live header button{padding:7px 10px;border:1px solid #616161;border-radius:7px;background:#282828;color:#dcdcdc;font-size:10px;font-weight:800}.animation3-live>b{font-size:19px}.animation3-live p{margin:0;color:#b6b6b6;font-size:12px;line-height:1.5}.animation3-live progress{width:100%;height:8px;accent-color:#b4b4b4}.animation3-progress{display:flex;gap:9px;height:52px;align-items:end}.animation3-progress i{display:block;width:34px;height:34px;border:2px solid #666666;border-top-color:#d6d6d6;border-radius:999px;animation:animation3spin 1.1s linear infinite}.animation3-progress i:nth-child(2){height:42px;animation-delay:-.2s}.animation3-progress i:nth-child(3){height:50px;animation-delay:-.4s}.animation3-progress i:nth-child(4){height:38px;animation-delay:-.6s}@keyframes animation3spin{to{transform:rotate(1turn)}}@media(max-width:1080px){.animation3-shell{grid-template-columns:1fr}.animation3-form{border-right:0;border-bottom:1px solid #3d3d3d}}@media(max-width:620px){.studio-animation3-view{padding-right:16px;padding-left:16px}.animation3-sources{grid-template-columns:repeat(2,minmax(0,1fr))}.animation3-settings{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* animation4.css */
.a4-view{width:100%;max-width:1420px;margin:auto}.a4-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:0 0 26px}.a4-head span,.a4-stage-head span{font-size:10px;letter-spacing:.13em;color:#c8c8c8;font-weight:800}.a4-head h1{margin:7px 0;font-size:36px;letter-spacing:-.05em}.a4-head p{margin:0;color:#ababab}.a4-head>button{flex:0 0 auto;border:0;border-radius:9px;background:#acacac;color:white;padding:13px 17px;font-weight:800}.a4-shell{display:grid;grid-template-columns:minmax(390px,430px) minmax(0,1fr);min-height:690px;border:1px solid #3f3f3f;border-radius:15px;overflow:hidden;background:linear-gradient(135deg,#212121,#161616)}.a4-panel{min-width:0;padding:24px;border-right:1px solid #3f3f3f;background:#1a1a1a;display:grid;align-content:start;gap:14px}.a4-step{display:flex;gap:10px;align-items:center}.a4-step>b{flex:0 0 23px;width:23px;height:23px;display:grid;place-items:center;border-radius:50%;background:#a9a9a9;color:#ffffff;font-size:11px}.a4-step label{display:block;font-size:12px;font-weight:800}.a4-step small{display:block;font-size:10px;color:#999999;margin-top:2px}.a4-sources{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;max-height:142px;min-width:0;overflow:auto;padding:0 3px 3px 0;scrollbar-color:#747474 #161616;scrollbar-width:thin}.a4-source{display:grid;min-width:0;border:1px solid #3f3f3f;background:#121212;color:#e9e9e9;border-radius:7px;padding:5px;cursor:pointer;text-align:left}.a4-source.active{border-color:#b3b3b3;background:#2d2d2d}.a4-source img{display:block;width:100%;height:57px;min-width:0;object-fit:contain;image-rendering:pixelated;background:#0f0f0f}.a4-source span{display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:9px;margin-top:5px}.a4-panel textarea,.a4-panel input,.a4-panel select{box-sizing:border-box;width:100%;min-width:0;border:1px solid #464646;border-radius:8px;background:#101010;color:#f4f4f4;padding:11px;font:inherit}.a4-panel textarea{min-height:110px;max-height:190px;resize:vertical;overflow:auto;line-height:1.45;scrollbar-color:#747474 #161616;scrollbar-width:thin}.a4-avoid summary{cursor:pointer;color:#bebebe;font-size:11px}.a4-avoid input{margin-top:8px;font-size:11px}.a4-motions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.a4-motions button{min-width:0;padding:10px 4px;border:1px solid #424242;border-radius:8px;background:#151515;color:#ededed;cursor:pointer}.a4-motions button.active{border-color:#bbbbbb;background:#4a4a4a}.a4-motions b,.a4-motions small{display:block;font-size:11px}.a4-motions small{color:#a1a1a1;margin-top:3px;font-size:9px}.a4-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.a4-options label{min-width:0;font-size:10px;font-weight:800;color:#bcbcbc}.a4-options select{margin-top:5px;padding:8px;font-size:12px}.a4-clean{display:flex;align-items:start;gap:9px;border:1px solid #404040;border-radius:8px;padding:10px;color:#e6e6e6;cursor:pointer}.a4-clean input{width:auto;margin:2px}.a4-clean b,.a4-clean small{display:block}.a4-clean b{font-size:11px}.a4-clean small{font-size:10px;color:#a0a0a0;margin-top:3px}.a4-submit{border:0;border-radius:9px;background:linear-gradient(135deg,#a6a6a6,#bababa);padding:15px;color:#ffffff;font-weight:800;cursor:pointer}.a4-submit b{font-size:10px;margin-left:8px}.a4-error{margin:0;border:1px solid #4e4e4e;background:#272727;color:#dedede;padding:10px;border-radius:8px;font-size:12px}.a4-stage{min-width:0;padding:24px;background:radial-gradient(circle at 70% 0,#3f3f3f,#191919 55%)}.a4-stage-head,.a4-live-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.a4-stage-head small{color:#9c9c9c;font-size:11px;text-align:right}.a4-empty{min-height:360px;border:1px dashed #505050;border-radius:12px;display:grid;place-content:center;text-align:center;color:#d8d8d8}.a4-empty b,.a4-empty span{display:block}.a4-empty span{color:#999999;font-size:12px;margin-top:7px}.a4-live{margin:22px 0;border:1px solid #808080;border-radius:12px;padding:22px;background:#282828}.a4-live-top b{font-size:11px;color:#d2d2d2;letter-spacing:.1em}.a4-live-top button{border:1px solid #6f6f6f;border-radius:6px;background:#282828;color:#dfdfdf;padding:7px 10px}.a4-spinner{display:flex;gap:8px;margin:27px 0 15px}.a4-spinner i{width:26px;height:26px;border:2px solid #a8a8a8;border-radius:50%;animation:a4spin 1s linear infinite}.a4-spinner i:nth-child(2){animation-delay:.12s}.a4-spinner i:nth-child(3){animation-delay:.24s}.a4-spinner i:nth-child(4){animation-delay:.36s}@keyframes a4spin{to{transform:rotate(360deg);border-radius:35%}}.a4-live h2{margin:0;font-size:22px}.a4-live p{color:#b6b6b6;font-size:13px}.a4-live progress{width:100%;accent-color:#bababa}.a4-results{display:grid;gap:10px;margin-top:12px}.a4-results article{display:grid;gap:7px;border:1px solid #606060;border-radius:10px;background:#1e1e1e;padding:15px}.a4-results span{font-size:10px;color:#b9b9b9;font-weight:800}.a4-results a{color:#d5d5d5;font-size:12px;font-weight:800}.a4-sources::-webkit-scrollbar,.a4-panel textarea::-webkit-scrollbar{width:8px;height:8px}.a4-sources::-webkit-scrollbar-track,.a4-panel textarea::-webkit-scrollbar-track{background:#161616;border-radius:999px}.a4-sources::-webkit-scrollbar-thumb,.a4-panel textarea::-webkit-scrollbar-thumb{border:2px solid #161616;border-radius:999px;background:linear-gradient(#9d9d9d,#6b6b6b)}.a4-sources::-webkit-scrollbar-corner{background:#161616}@media(max-width:1050px){.a4-shell{grid-template-columns:1fr}.a4-panel{border-right:0;border-bottom:1px solid #3f3f3f}.a4-sources{max-height:158px}.a4-stage{min-height:500px}}@media(max-width:600px){.a4-head{align-items:start;flex-direction:column}.a4-head h1{font-size:29px}.a4-panel,.a4-stage{padding:17px}.a4-sources{grid-template-columns:repeat(3,minmax(0,1fr))}.a4-motions{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* animation-upload.css */
.a4-step .a4-upload {
  margin-left: auto;
  flex: 0 0 auto;
  border: 1px solid #676767;
  border-radius: 7px;
  background: #282828;
  color: #d8d8d8;
  padding: 8px 11px;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.a4-step .a4-upload:hover {
  border-color: #bababa;
  background: #393939;
  color: #ffffff;
}


/* app-studio.css */
:root { --studio-bg:#111111; --studio-panel:#1e1e1e; --studio-panel-soft:#191919; --studio-line:#3d3d3d; --studio-text:#fbfbfb; --studio-muted:#adadad; --studio-purple:#b3b3b3; --studio-green:#a9a9a9; }
.marketing-auth-forgot,.studio-auth-forgot{border:0;background:transparent;color:#afafaf;font-size:11px;text-align:right;cursor:pointer;padding:0}.marketing-auth-forgot:hover,.studio-auth-forgot:hover{text-decoration:underline;color:#bdbdbd}.password-reset-card form{display:grid;gap:12px;text-align:left;margin:22px auto 0;max-width:360px}.password-reset-card label{display:grid;gap:6px;color:#d8d8d8;font-size:12px;font-weight:700}.password-reset-card input{width:100%;box-sizing:border-box;border:1px solid #484848;border-radius:8px;background:#0f0f0f;color:#ffffff;padding:12px;font:14px Inter,ui-sans-serif,system-ui,sans-serif}.password-reset-card form p{margin:2px 0;color:#bebebe;font-size:12px}.verification-success{color:#dadada!important}.verification-secondary{display:inline-block;margin-top:18px;color:#afafaf;font-size:12px;text-decoration:none}.verification-secondary:hover{color:#bdbdbd}
.studio-shell { min-height:100vh; background:radial-gradient(circle at 70% -20%,#383838 0,transparent 35%),var(--studio-bg); color:var(--studio-text); display:grid; grid-template-columns:248px minmax(0,1fr); font-family:Inter,ui-sans-serif,system-ui,sans-serif; }
.studio-sidebar { position:sticky; top:0; height:100vh; box-sizing:border-box; padding:20px 13px 14px; display:flex; flex-direction:column; border-right:1px solid var(--studio-line); background:#151515e8; backdrop-filter:blur(18px); }
.studio-logo { height:40px; display:flex; align-items:center; gap:10px; padding:0 11px; color:#ffffff; font-family:Georgia,serif; font-size:20px; text-decoration:none; letter-spacing:-.5px; }.studio-logo img{width:26px;height:26px;image-rendering:pixelated}
.studio-primary { display:grid; gap:3px; margin-top:28px; }.studio-primary button,.studio-sidebar-bottom>a { border:0; background:transparent; color:var(--studio-muted); font:600 14px/1 Inter,sans-serif; text-align:left; display:flex; align-items:center; gap:11px; padding:10px 11px; border-radius:8px; cursor:pointer; }.studio-primary button:hover,.studio-primary button.is-active { color:#ffffff; background:#343434; }.studio-primary button.is-active .studio-icon{color:#cccccc}.studio-icon{font-size:17px;width:17px;text-align:center;color:#ababab}.studio-sidebar-rule{height:1px;background:var(--studio-line);margin:20px 8px 15px}.studio-sidebar-label{font-size:10px;letter-spacing:1.2px;font-weight:800;color:#909090;margin:0 11px}.studio-tools{margin-top:8px}.studio-sidebar-bottom{margin-top:auto;display:grid;gap:9px}.studio-sidebar-bottom>a{text-decoration:none;padding:9px 11px}.studio-user{border:1px solid #434343;background:#212121;color:#e6e6e6;border-radius:10px;padding:9px;display:flex;align-items:center;gap:8px;cursor:pointer}.studio-user>span{display:grid;place-items:center;background:linear-gradient(135deg,#c3c3c3,#a6a6a6);width:26px;height:26px;border-radius:7px;font-size:10px;font-weight:800}.studio-user b{font-size:11px;flex:1;text-align:left}
.studio-main{min-width:0}.studio-view{max-width:1320px;margin:0 auto;padding:48px 54px 70px}.studio-topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:31px}.studio-kicker{display:block;color:#cbcbcb;font-size:10px;letter-spacing:1.4px;font-weight:800;margin-bottom:8px}.studio-topbar h1,.studio-composer h2,.studio-section h2,.studio-theme-banner h2,.studio-theme-detail h2{font-family:Georgia,serif;letter-spacing:-1px;margin:0;color:#ffffff}.studio-topbar h1{font-size:37px}.studio-topbar p{color:var(--studio-muted);font-size:15px;margin:8px 0 0}.studio-credit{min-width:154px;padding:11px 14px;border:1px solid #4e4e4e;background:#232323;border-radius:10px;display:grid;grid-template-columns:1fr auto;gap:1px}.studio-credit span,.studio-credit small{font-size:10px;color:#b9b9b9}.studio-credit b{font-size:12px;color:#cccccc}.studio-credit small{grid-column:1/-1;color:#979797}.studio-upload{border:0;border-radius:9px;background:#b3b3b3;color:#ffffff;padding:12px 15px;font-weight:800;cursor:pointer;box-shadow:0 8px 22px #6b6b6b5c}
.studio-composer{border:1px solid #4c4c4c;border-radius:16px;background:linear-gradient(145deg,#252525,#1d1d1d);padding:25px;box-shadow:0 24px 60px #00000044}.studio-composer-head,.studio-composer-footer,.studio-section-title{display:flex;justify-content:space-between;align-items:center;gap:14px}.studio-composer h2{font-size:25px}.studio-reference-open{border:1px solid #5e5e5e;background:#292929;color:#ededed;border-radius:8px;padding:9px 12px;font-weight:700;cursor:pointer}.studio-composer textarea{box-sizing:border-box;resize:none;width:100%;min-height:105px;margin:20px 0 15px;border-radius:10px;padding:16px;color:#fbfbfb;background:#131313;border:1px solid #424242;font:15px/1.45 Inter,sans-serif;outline:0}.studio-composer textarea:focus{border-color:#bfbfbf;box-shadow:0 0 0 3px #b3b3b322}.studio-type-select{border:0;background:transparent;color:#c1c1c1;cursor:pointer;padding:6px}.studio-type-select b{color:#ffffff}.studio-theme-pill{color:#d1d1d1;font-size:12px}.studio-theme-pill i{display:inline-block;width:7px;height:7px;border-radius:9px;background:#a9a9a9;margin-right:5px}.studio-create{border:0;border-radius:8px;padding:11px 17px;background:#b3b3b3;color:#ffffff;font-weight:800;cursor:pointer}.studio-create:disabled{background:#444444;color:#909090;cursor:not-allowed}.studio-create span{margin-left:9px}.studio-references{margin-top:13px}
.studio-tool-launcher{margin:37px 0}.studio-tool-launcher>div{display:grid;grid-template-columns:repeat(5,1fr);gap:11px;margin-top:13px}.studio-tool-launcher button{padding:15px;border:1px solid #3c3c3c;background:#1d1d1d;color:#e4e4e4;border-radius:10px;text-align:left;cursor:pointer;transition:.15s}.studio-tool-launcher button:hover{border-color:#a2a2a2;transform:translateY(-2px);background:#262626}.studio-tool-launcher button>span{display:block;color:#c8c8c8;font-size:21px;margin-bottom:14px}.studio-tool-launcher b,.studio-tool-launcher small{display:block}.studio-tool-launcher b{font-size:13px;color:#ffffff}.studio-tool-launcher small{color:#a1a1a1;margin-top:5px;font-size:11px;line-height:1.35}.studio-section{margin-top:39px}.studio-section-title h2{font-size:25px}.studio-section-title>button{border:0;background:transparent;color:#cfcfcf;font-weight:800;cursor:pointer}.studio-recent-grid{margin-top:15px;display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.studio-asset-card{border:1px solid #3c3c3c;border-radius:10px;padding:0;background:#1d1d1d;color:#ebebeb;overflow:hidden;text-align:left;cursor:pointer;position:relative}.studio-asset-card:hover{border-color:#a4a4a4}.studio-thumb{height:132px;display:block;overflow:hidden;background:#131313}.studio-thumb img{width:100%;height:100%;object-fit:contain;image-rendering:pixelated}.checker{background-color:#202020;background-image:linear-gradient(45deg,#2f2f2f 25%,transparent 25%),linear-gradient(-45deg,#2f2f2f 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#2f2f2f 75%),linear-gradient(-45deg,transparent 75%,#2f2f2f 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}.studio-asset-copy{display:grid;gap:4px;padding:11px 12px 12px}.studio-asset-copy b{font-size:13px;color:#ffffff}.studio-asset-copy small{font-size:10px;color:#afafaf}.studio-card-more{position:absolute;right:9px;bottom:11px;color:#a5a5a5;font-weight:900}.studio-theme-banner{margin-top:39px;border:1px solid #494949;border-radius:15px;background:linear-gradient(105deg,#252525,#292929 55%,#2f2f2f);padding:20px;display:grid;grid-template-columns:110px 1fr auto;gap:22px;align-items:center}.studio-theme-art{height:105px;background:#1b1b1b;border-radius:10px;display:grid;place-items:center}.studio-theme-art img{max-height:85px;max-width:85px;image-rendering:pixelated}.studio-theme-banner h2{font-size:26px}.studio-theme-banner p{color:#bfbfbf;max-width:610px;line-height:1.5;font-size:13px}.studio-theme-banner button{border:0;background:transparent;color:#d6d6d6;padding:0;font-weight:800;cursor:pointer}.studio-theme-spec{display:grid;gap:6px;color:#e0e0e0;font-size:11px;text-align:right}
.studio-library-layout{display:grid;grid-template-columns:195px 1fr;border:1px solid #3f3f3f;background:#1a1a1a;border-radius:14px;overflow:hidden}.studio-library-nav{border-right:1px solid #3f3f3f;padding:14px;display:grid;align-content:start;gap:4px}.studio-library-nav button{border:0;background:transparent;border-radius:7px;color:#bababa;text-align:left;padding:9px;cursor:pointer;font-size:12px}.studio-library-nav button:hover,.studio-library-nav button.active{background:#353535;color:#ffffff}.studio-library-nav button b{float:right;font-size:10px}.studio-library-nav p{font-size:10px;color:#8b8b8b;font-weight:800;letter-spacing:1.2px;margin:16px 9px 4px}.studio-library-nav .studio-new-project{color:#cfcfcf}.studio-library-main{padding:20px}.studio-library-toolbar{display:flex;gap:12px;align-items:center;margin-bottom:21px}.studio-library-toolbar label,.studio-preset-controls label{display:flex;align-items:center;gap:8px;background:#151515;border:1px solid #424242;border-radius:8px;padding:9px 11px;color:#acacac}.studio-library-toolbar input,.studio-preset-controls input{background:transparent;border:0;outline:0;color:#f3f3f3;font:12px Inter,sans-serif;min-width:150px}.studio-library-toolbar>button{margin-left:auto;border:1px solid #424242;background:#252525;color:#dadada;border-radius:8px;padding:9px;font-size:11px}.studio-filter-row{display:flex;gap:4px}.studio-filter-row button,.studio-preset-controls>div button,.studio-preset-filters button{background:transparent;border:0;border-radius:6px;color:#b0b0b0;padding:7px 8px;font-size:11px;cursor:pointer}.studio-filter-row button.active,.studio-preset-controls>div button.active,.studio-preset-filters button.active{color:#ffffff;background:#4e4e4e}.studio-assets-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.studio-assets-grid .studio-thumb{height:174px}
.studio-project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.studio-project-card{border:1px solid #444444;background:#202020;border-radius:13px;color:#ffffff;padding:0 0 16px;text-align:left;overflow:hidden;cursor:pointer}.studio-project-card:hover{border-color:#b2b2b2}.studio-project-art{height:155px;display:grid;place-items:center;background:radial-gradient(circle at 50% 20%,var(--project),#1d1d1d 68%)}.studio-project-art img{height:124px;max-width:80%;object-fit:contain;image-rendering:pixelated}.studio-project-card>b,.studio-project-card small,.studio-project-card>span:last-child{display:block;margin:13px 15px 0}.studio-project-card b{font-size:15px}.studio-project-card small{font-size:11px;color:#b2b2b2;margin-top:4px}.studio-project-card>span:last-child{font-size:11px;color:#cfcfcf;font-weight:800}
.studio-theme-workbench{display:grid;grid-template-columns:280px 1fr;border:1px solid #444444;background:#1d1d1d;border-radius:14px;overflow:hidden}.studio-theme-list{padding:15px;border-right:1px solid #444444;display:grid;gap:7px;align-content:start}.studio-theme-list button{border:1px solid transparent;background:transparent;color:#dfdfdf;padding:12px;border-radius:9px;text-align:left;display:flex;align-items:center;gap:10px;cursor:pointer}.studio-theme-list button.active{background:#343434;border-color:#5a5a5a}.studio-theme-list i{width:9px;height:9px;border-radius:50%;background:#aeaeae}.studio-theme-list i.green{background:#b5b5b5}.studio-theme-list i.violet{background:#a1a1a1}.studio-theme-list span{display:grid;gap:3px;flex:1}.studio-theme-list b{font-size:12px}.studio-theme-list small{font-size:10px;color:#a5a5a5}.studio-theme-list em{font-style:normal;font-size:10px;color:#acacac}.studio-theme-detail{padding:29px}.studio-theme-detail-title{display:flex;justify-content:space-between;gap:15px}.studio-theme-detail h2{font-size:28px}.studio-theme-detail p{font-size:13px;color:#bcbcbc}.studio-theme-detail-title button,.studio-theme-reference button{border:1px solid #5f5f5f;background:#292929;color:#ededed;border-radius:8px;padding:9px 11px;align-self:start;cursor:pointer;font-weight:700}.studio-theme-rules{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:24px}.studio-theme-rules article{border:1px solid #414141;border-radius:9px;padding:13px}.studio-theme-rules article>span{font-size:9px;letter-spacing:1px;font-weight:800;color:#939393}.studio-theme-rules p{margin:8px 0 0;font-size:12px;color:#eaeaea}.studio-theme-rules p b{display:inline-block;padding:4px 6px;border-radius:5px;background:#3b3b3b;color:#d7d7d7;font-size:10px;margin-right:4px}.studio-swatches i{display:inline-block;width:16px;height:16px;border-radius:4px;margin-right:4px;background:#323232}.studio-swatches i:nth-child(2){background:#808080}.studio-swatches i:nth-child(3){background:#a8a8a8}.studio-swatches i:nth-child(4){background:#b6b6b6}.studio-swatches i:nth-child(5){background:#e7e7e7}.studio-swatches small{font-size:10px;margin-left:5px;color:#bfbfbf}.studio-theme-reference{border-top:1px solid #414141;margin-top:24px;padding-top:20px}.studio-theme-reference>div{display:flex;align-items:center;gap:12px}.studio-theme-reference .checker{width:58px;height:58px;border-radius:8px;display:grid;place-items:center}.studio-theme-reference img{max-width:49px;max-height:49px;image-rendering:pixelated}.studio-theme-reference p{display:grid;gap:3px;flex:1}.studio-theme-reference p b{color:#f6f6f6;font-size:12px}.studio-theme-reference p small{font-size:11px;color:#afafaf}
.studio-preset-controls{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}.studio-preset-controls>div{display:flex;background:#1f1f1f;border:1px solid #414141;border-radius:8px;padding:3px}.studio-preset-filters{display:flex;align-items:center;gap:6px;border-bottom:1px solid #414141;padding-bottom:14px;margin-bottom:19px}.studio-preset-filters span{font-size:9px;color:#929292;letter-spacing:1px;font-weight:800;margin-left:12px}.studio-preset-filters span:first-child{margin-left:0}.studio-preset-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.studio-preset-card{border:1px solid #414141;border-radius:12px;background:#202020;color:#ffffff;overflow:hidden;text-align:left;padding:0 0 10px;position:relative;cursor:pointer}.studio-preset-card:hover{border-color:#a7a7a7}.studio-preset-image{height:170px;background:#151515;display:grid;place-items:center}.studio-preset-image img{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;image-rendering:pixelated}.studio-preset-badge{position:absolute;top:10px;left:10px;background:#4b4b4b;color:#dadada;padding:4px 6px;border-radius:5px;font-size:8px;font-weight:900;letter-spacing:.5px;text-transform:uppercase}.studio-preset-more{position:absolute;right:10px;top:10px;width:25px;height:25px;border-radius:50%;background:#222222d9;display:grid;place-items:center;color:#ececec}.studio-preset-card>b,.studio-preset-card>small,.studio-preset-card footer{display:block;margin:10px 11px 0}.studio-preset-card>b{font-size:13px}.studio-preset-card>small{font-size:10px;color:#afafaf;margin-top:4px}.studio-preset-card footer{display:flex;justify-content:space-between;color:#a4a4a4;font-size:10px}
.studio-overlay{position:fixed;z-index:50;inset:0;background:#0c0c0cb8;backdrop-filter:blur(10px);display:grid;place-items:center;padding:24px}.studio-dialog{width:min(900px,100%);max-height:min(780px,calc(100vh - 48px));overflow:auto;border:1px solid #5a5a5a;background:#1e1e1e;border-radius:16px;box-shadow:0 30px 100px #00000099}.studio-dialog>header{padding:20px 22px;display:flex;align-items:flex-start;justify-content:space-between;border-bottom:1px solid #414141}.studio-dialog h2{font-family:Georgia,serif;letter-spacing:-.5px;margin:0;font-size:27px}.studio-dialog header p{margin:5px 0 0;color:#afafaf;font-size:12px}.studio-dialog [data-modal-close]{border:0;background:#323232;color:#e8e8e8;border-radius:8px;padding:8px 10px;cursor:pointer;font-weight:800}.studio-reference-dialog{width:min(760px,100%)}.studio-reference-upload{margin:20px;width:calc(100% - 40px);border:1px dashed #767676;border-radius:10px;background:#232323;color:#ececec;padding:18px;display:grid;grid-template-columns:30px 1fr;text-align:left;cursor:pointer}.studio-reference-upload .studio-icon{grid-row:span 2;font-size:22px;color:#cfcfcf}.studio-reference-upload small{font-size:11px;color:#aeaeae;margin-top:4px}.studio-dialog-label{font-size:10px;font-weight:800;letter-spacing:1px;color:#939393;margin:20px}.studio-reference-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:0 20px}.studio-reference-grid button{border:1px solid #464646;background:#191919;border-radius:9px;padding:7px;color:#ebebeb;text-align:left;cursor:pointer}.studio-reference-grid button.selected{border-color:#b2b2b2;background:#343434}.studio-reference-grid .checker{display:grid;place-items:center;height:91px;border-radius:5px}.studio-reference-grid img{max-width:80px;max-height:80px;image-rendering:pixelated}.studio-reference-grid b,.studio-reference-grid small{display:block;margin-top:7px}.studio-reference-grid b{font-size:10px}.studio-reference-grid small{color:#adadad;font-size:9px;margin-top:3px}.studio-reference-dialog footer{padding:18px 20px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #414141;margin-top:20px;color:#aeaeae;font-size:11px}.studio-confirm-references,.studio-apply-preset{border:0;border-radius:8px;background:#b3b3b3;color:#ffffff;padding:10px 13px;font-weight:800;cursor:pointer}.studio-asset-dialog{width:min(1160px,100%)}.studio-asset-dialog>header{align-items:center}.studio-asset-dialog-actions{display:flex;gap:7px}.studio-asset-detail{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(305px,.8fr);min-height:530px}.studio-asset-preview{position:relative;display:grid;place-items:center;padding:35px}.studio-asset-preview>img{max-width:80%;max-height:430px;image-rendering:pixelated}.studio-zoom{position:absolute;bottom:20px;padding:8px 13px;border-radius:8px;background:#212121e8;color:#dddddd;font-size:12px}.studio-asset-detail aside{border-left:1px solid #414141;padding:27px 22px}.studio-asset-detail h2{font-family:Georgia,serif;margin:0;font-size:28px}.studio-detail-meta{font-size:11px;color:#adadad;margin:7px 0 20px}.studio-action-group{display:grid;gap:6px;padding:17px 0;border-top:1px solid #414141}.studio-action-group>span{font-size:9px;color:#919191;font-weight:800;letter-spacing:1px}.studio-action-group button{background:#272727;border:1px solid #474747;color:#eeeeee;border-radius:7px;padding:9px 10px;text-align:left;font-weight:800;cursor:pointer;font-size:12px}.studio-action-group button:hover{border-color:#aeaeae}.studio-action-group small{display:block;color:#adadad;font-weight:500;font-size:10px;margin-top:3px}.studio-preset-dialog{width:min(780px,100%)}.studio-preset-detail{display:grid;grid-template-columns:310px 1fr;gap:25px;padding:23px}.studio-preset-detail>img{width:100%;height:280px;object-fit:contain;background:#171717;border-radius:10px;image-rendering:pixelated}.studio-preset-detail p{color:#c6c6c6;line-height:1.5;font-size:13px}.studio-preset-detail dl{margin:18px 0}.studio-preset-detail dl>div{padding:8px 0;border-top:1px solid #414141;display:flex;justify-content:space-between;gap:12px;font-size:12px}.studio-preset-detail dt{color:#9e9e9e}.studio-preset-detail dd{color:#ededed;margin:0;text-align:right}.studio-keep-theme{display:flex;gap:8px;color:#d7d7d7;font-size:11px;margin:14px 0}.studio-toast{position:fixed;z-index:70;bottom:23px;left:50%;transform:translate(-50%,20px);opacity:0;background:#3e3e3e;border:1px solid #838383;color:#f6f6f6;padding:12px 16px;border-radius:9px;font-size:12px;box-shadow:0 15px 40px #00000088;pointer-events:none;transition:.2s}.studio-toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:1000px){.studio-shell{grid-template-columns:74px 1fr}.studio-logo span,.studio-primary span,.studio-sidebar-label,.studio-sidebar-bottom>a span,.studio-user b,.studio-user .studio-icon{display:none}.studio-sidebar{align-items:center;padding-left:9px;padding-right:9px}.studio-logo{padding:0}.studio-primary button{padding:10px}.studio-sidebar-bottom{width:100%}.studio-user{justify-content:center}.studio-view{padding:33px 28px}.studio-tool-launcher>div{grid-template-columns:repeat(3,1fr)}.studio-recent-grid,.studio-preset-grid{grid-template-columns:repeat(2,1fr)}.studio-theme-banner{grid-template-columns:90px 1fr}.studio-theme-spec{display:none}}
@media(max-width:660px){.studio-shell{display:block}.studio-sidebar{position:static;height:auto;display:flex;flex-direction:row;align-items:center;gap:7px;padding:9px;border-bottom:1px solid var(--studio-line)}.studio-primary{display:flex;margin:0;gap:1px}.studio-primary button{padding:8px}.studio-tools,.studio-sidebar-rule,.studio-sidebar-bottom{display:none}.studio-view{padding:27px 16px}.studio-topbar{display:block}.studio-topbar h1{font-size:31px}.studio-credit{margin-top:17px;width:max-content}.studio-composer{padding:17px}.studio-composer-footer{flex-wrap:wrap}.studio-tool-launcher>div{grid-template-columns:1fr 1fr}.studio-recent-grid,.studio-assets-grid,.studio-preset-grid,.studio-project-grid{grid-template-columns:1fr 1fr}.studio-theme-banner{grid-template-columns:1fr}.studio-theme-art{display:none}.studio-library-layout,.studio-theme-workbench,.studio-asset-detail,.studio-preset-detail{grid-template-columns:1fr}.studio-library-nav{display:none}.studio-library-toolbar{flex-wrap:wrap}.studio-filter-row{overflow:auto}.studio-theme-detail{padding:18px}.studio-theme-rules{grid-template-columns:1fr}.studio-asset-detail aside{border-left:0;border-top:1px solid #414141}.studio-preset-detail>img{height:190px}.studio-reference-grid{grid-template-columns:1fr 1fr}}

/* App visual system: matches the main SpriteForge site typography and the neutral studio treatment. */
.studio-shell{--studio-bg:#0f0f0f;--studio-panel:#191919;--studio-panel-soft:#131313;--studio-line:#303030;--studio-text:#f5f5f5;--studio-muted:#9c9c9c;--studio-purple:#bbbbbb;--studio-green:#a1a1a1;background:radial-gradient(80rem 34rem at 48% -24rem,#2f2f2f 0,transparent 62%),var(--studio-bg);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:-.012em}
.studio-sidebar{background:#121212f2;border-color:var(--studio-line);backdrop-filter:blur(14px)}
.studio-logo{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:18px;font-weight:800;letter-spacing:-.045em}.studio-mark{width:25px;height:25px;border-radius:7px;background:#7b7b7b;display:grid;grid-template-columns:repeat(2,1fr);gap:3px;padding:5px;box-shadow:0 0 0 1px #c0c0c0 inset}.studio-mark b{border-radius:1px;background:#131313}.studio-mark b:nth-child(2){background:#d4d4d4}.studio-mark b:nth-child(3){background:#e9e9e9}.studio-mark b:nth-child(4){background:#323232}
.studio-primary button,.studio-sidebar-bottom>a{font-family:inherit;font-size:13px}.studio-primary button:hover,.studio-primary button.is-active{background:#262626}.studio-primary button.is-active .studio-icon{color:#cfcfcf}.studio-sidebar-rule{background:var(--studio-line)}.studio-user{background:#1e1e1e;border-color:#383838}
.studio-view{max-width:1380px}.studio-topbar h1,.studio-composer h2,.studio-section h2,.studio-theme-banner h2,.studio-theme-detail h2,.studio-dialog h2,.studio-asset-detail h2{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-weight:750;letter-spacing:-.045em}.studio-topbar h1{font-size:33px}.studio-kicker{color:#cdcdcd;font-size:9px;letter-spacing:.14em}.studio-credit{background:#1c1c1c;border-color:#404040}.studio-credit span,.studio-credit small{color:#b2b2b2}.studio-credit b{color:#cacaca}
.studio-composer{border-color:#383838;background:linear-gradient(160deg,#1d1d1d,#171717);box-shadow:0 18px 50px #00000044}.studio-composer h2{font-size:23px}.studio-reference-open{background:#232323;border-color:#464646;color:#f3f3f3}.studio-composer textarea{background:#111111;border-color:#343434}.studio-composer textarea:focus{border-color:#b6b6b6;box-shadow:0 0 0 3px #b6b6b61d}.studio-type-select{color:#ababab}.studio-theme-pill{color:#c4c4c4}.studio-create{background:#adadad}.studio-create:disabled{background:#333333;color:#898989}
.studio-tool-launcher button,.studio-asset-card,.studio-project-card,.studio-preset-card{background:#191919;border-color:#303030}.studio-tool-launcher button:hover,.studio-asset-card:hover,.studio-project-card:hover,.studio-preset-card:hover{background:#202020;border-color:#8e8e8e}.studio-tool-launcher small,.studio-asset-copy small,.studio-project-card small,.studio-preset-card>small{color:#979797}.studio-tool-launcher button>span,.studio-section-title>button{color:#cdcdcd}.studio-thumb{background:#111111}.checker{background-color:#171717;background-image:linear-gradient(45deg,#242424 25%,transparent 25%),linear-gradient(-45deg,#242424 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#242424 75%),linear-gradient(-45deg,transparent 75%,#242424 75%)}
.studio-theme-banner{background:linear-gradient(100deg,#2c2c2c,#252525 52%,#232323);border-color:#5a5a5a}.studio-theme-banner p{color:#c8c8c8}.studio-theme-banner button{color:#c9c9c9}.studio-library-layout,.studio-theme-workbench{background:#171717;border-color:#303030}.studio-library-nav,.studio-theme-list{border-color:#303030}.studio-library-nav button:hover,.studio-library-nav button.active,.studio-theme-list button.active{background:#282828}.studio-library-toolbar label,.studio-preset-controls label{background:#131313;border-color:#333333}.studio-library-toolbar>button{background:#202020;border-color:#3c3c3c}.studio-filter-row button.active,.studio-preset-controls>div button.active,.studio-preset-filters button.active{background:#393939}
.studio-dialog{background:#191919;border-color:#3e3e3e}.studio-dialog>header,.studio-reference-dialog footer{border-color:#333333}.studio-dialog [data-modal-close]{background:#2d2d2d}.studio-reference-upload{background:#1e1e1e;border-color:#626262}.studio-reference-grid button{background:#131313;border-color:#343434}.studio-reference-grid button.selected{background:#303030;border-color:#b4b4b4}.studio-asset-detail aside{border-color:#333333}.studio-action-group{border-color:#333333}.studio-action-group button{background:#232323;border-color:#3d3d3d}.studio-action-group button:hover{border-color:#aeaeae}.studio-preset-detail>img{background:#121212}.studio-preset-detail dl>div{border-color:#333333}

/* Layered gradients give the workspace depth without competing with the pixel artwork. */
.studio-main{background:radial-gradient(62rem 38rem at 58% -20%,#46464640 0,transparent 60%),radial-gradient(42rem 27rem at 105% 36%,#3e3e3e22 0,transparent 70%)}
.studio-composer{background:linear-gradient(135deg,#262626 0%,#1e1e1e 48%,#181818 100%)}
.studio-composer textarea{background:linear-gradient(135deg,#161616,#101010 80%)}
.studio-reference-open{background:linear-gradient(135deg,#2f2f2f,#212121)}
.studio-tool-launcher button,.studio-asset-card,.studio-project-card,.studio-preset-card{background:linear-gradient(145deg,#222222,#171717 70%)}
.studio-tool-launcher button:hover,.studio-asset-card:hover,.studio-project-card:hover,.studio-preset-card:hover{background:linear-gradient(145deg,#2e2e2e,#1c1c1c 75%)}
.studio-library-layout,.studio-theme-workbench{background:linear-gradient(145deg,#1d1d1d,#131313 72%)}
.studio-library-toolbar label,.studio-preset-controls label{background:linear-gradient(135deg,#1e1e1e,#121212)}
.studio-library-toolbar>button{background:linear-gradient(135deg,#2d2d2d,#1b1b1b)}
.studio-dialog{background:linear-gradient(145deg,#222222,#161616 72%)}
.studio-dialog>header{background:linear-gradient(90deg,#282828a8,#191919b5)}
.studio-reference-upload{background:linear-gradient(135deg,#2e2e2e,#1b1b1b)}
.studio-reference-grid button{background:linear-gradient(145deg,#1e1e1e,#131313)}
.studio-reference-grid button.selected{background:linear-gradient(145deg,#424242,#282828)}
.studio-action-group button{background:linear-gradient(135deg,#333333,#202020)}
.studio-asset-preview{background-color:#161616;background-image:radial-gradient(circle at 50% 43%,#43434345,transparent 48%),linear-gradient(45deg,#242424 25%,transparent 25%),linear-gradient(-45deg,#242424 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#242424 75%),linear-gradient(-45deg,transparent 75%,#242424 75%)}
.studio-preset-detail>img{background:radial-gradient(circle at 50% 35%,#47474745,transparent 62%),#121212}

/* Compact studio layout inspired by the interaction density of the audited reference app. */
@media(min-width:661px){
  .studio-shell{grid-template-columns:72px minmax(0,1fr)}
  .studio-sidebar{align-items:center;padding:16px 8px 12px}
  .studio-logo{padding:0;justify-content:center;width:42px}.studio-logo>span,.studio-primary button>span:not(.studio-icon),.studio-sidebar-label,.studio-sidebar-bottom>a>span:not(.studio-icon),.studio-user b,.studio-user .studio-icon{display:none}
  .studio-mark{width:22px;height:22px;padding:4px;border-radius:6px}
  .studio-primary{width:100%;margin-top:25px;gap:7px}.studio-primary button{justify-content:center;padding:10px;border-radius:8px}.studio-primary button>.studio-icon{display:inline-block}.studio-primary .studio-icon{width:auto;font-size:18px}
  .studio-sidebar-rule{width:38px;margin:19px 0 13px}.studio-tools{margin-top:5px}.studio-sidebar-bottom{width:100%;justify-items:center}.studio-sidebar-bottom>a{padding:9px;justify-content:center}.studio-user{width:38px;height:38px;justify-content:center;padding:4px}.studio-user>span{width:26px;height:26px}
  .studio-home-view{max-width:900px;margin-left:clamp(70px,11vw,150px);margin-right:auto;padding-top:64px}
}

/* Creator workspace: a single continuous studio surface, not a page inside a card. */
@media (min-width: 1051px) {
  .studio-view:has(.creator-shell),
  .studio-view:has(.asset-shell),
  .studio-view:has(.pack-builder),
  .studio-view:has(.tileset-builder),
  .studio-view:has(.animation-builder),
  .studio-view:has(.animation2-shell),
  .studio-view:has(.animation3-shell),
  .studio-view:has(.a4-shell) {
    max-width: 1680px;
    padding: 36px 42px 64px;
  }
  .studio-view:has(.creator-shell) .studio-topbar,
  .studio-view:has(.asset-shell) .studio-topbar,
  .studio-view:has(.pack-builder) .studio-topbar,
  .studio-view:has(.tileset-builder) .studio-topbar,
  .studio-view:has(.animation-builder) .studio-topbar,
  .studio-view:has(.animation3-shell) .studio-topbar,
  .studio-view:has(.a4-shell) .a4-head {
    margin: 0 0 24px;
  }
  .studio-character-view .creator-shell { grid-template-columns: 440px minmax(0, 1fr); }
  .studio-asset-generator-view .asset-shell { grid-template-columns: 470px minmax(0, 1fr); }
  .studio-asset-pack-view .pack-builder { grid-template-columns: 455px minmax(0, 1fr); }
  .studio-tileset-view .tileset-builder { grid-template-columns: 455px minmax(0, 1fr); }
  .studio-animation-view .animation-builder { grid-template-columns: 485px minmax(0, 1fr); }
  .studio-animation2-view .animation2-shell { grid-template-columns: 450px minmax(0, 1fr); }
  .studio-animation3-view .animation3-shell { grid-template-columns: 500px minmax(0, 1fr); }
}

.studio-view:has(.creator-shell),
.studio-view:has(.asset-shell),
.studio-view:has(.pack-builder),
.studio-view:has(.tileset-builder),
.studio-view:has(.animation-builder),
.studio-view:has(.animation2-shell),
.studio-view:has(.animation3-shell),
.studio-view:has(.a4-shell) {
  position: relative;
}
.studio-view:has(.creator-shell)::before,
.studio-view:has(.asset-shell)::before,
.studio-view:has(.pack-builder)::before,
.studio-view:has(.tileset-builder)::before,
.studio-view:has(.animation-builder)::before,
.studio-view:has(.animation2-shell)::before,
.studio-view:has(.animation3-shell)::before,
.studio-view:has(.a4-shell)::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(70% 55% at 70% 8%, #50505024, transparent 72%);
}

.studio-auth-dialog{width:min(440px,100%)}.studio-auth-dialog header{padding:23px 24px}.studio-auth-dialog h2{font-size:25px}.studio-auth-form{padding:22px 24px 25px;display:grid;gap:14px}.studio-auth-form label{display:grid;gap:7px;color:#cecece;font-size:11px;font-weight:750}.studio-auth-form input{height:43px;border-radius:8px;border:1px solid #3f3f3f;background:#111111;color:#fafafa;padding:0 11px;font:14px Inter,ui-sans-serif,system-ui,sans-serif;outline:0}.studio-auth-form input:focus{border-color:#bfbfbf;box-shadow:0 0 0 3px #b2b2b21f}.studio-auth-form button[type=submit]{border:0;border-radius:8px;background:linear-gradient(135deg,#a8a8a8,#bababa);padding:12px;color:#ffffff;font-weight:800;margin-top:4px}.studio-auth-form button[type=submit]:disabled{opacity:.65}.studio-auth-switch{border:0;background:transparent;color:#d1d1d1;font-size:12px;padding:4px}.studio-auth-note{margin:0;color:#9c9c9c;font-size:11px;line-height:1.45}.studio-auth-error{margin:0;padding:9px 10px;border-radius:7px;background:#292929;color:#cccccc;font-size:11px}.studio-auth-https{padding:23px 24px 28px;color:#d3d3d3}.studio-auth-https b{color:#e3e3e3;font-size:13px}.studio-auth-https p{font-size:12px;line-height:1.55;color:#aeaeae;margin:10px 0 0}
.studio-theme-empty{min-height:380px;border:1px solid #393939;border-radius:16px;background:radial-gradient(circle at 50% 10%,#5b5b5b2e,transparent 42%),linear-gradient(145deg,#202020,#151515);display:grid;place-items:center;text-align:center;padding:46px 26px}.studio-theme-empty>*{max-width:570px}.studio-theme-empty-orb{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:#9696962c;border:1px solid #b2b2b272;color:#dddddd;font-size:26px}.studio-theme-empty h2{margin:10px 0 0;font-size:28px;letter-spacing:-.04em}.studio-theme-empty p{margin:4px 0 16px;color:#a8a8a8;line-height:1.55}.studio-theme-empty button{border:0;border-radius:9px;background:linear-gradient(135deg,#a8a8a8,#bababa);color:#ffffff;padding:12px 17px;font-weight:800;cursor:pointer}.studio-theme-empty small{color:#888888;margin-top:5px}.studio-theme-dialog{width:min(780px,100%);max-height:calc(100vh - 32px)}.studio-dialog{scrollbar-width:thin;scrollbar-color:#a7a7a7 #151515}.studio-dialog::-webkit-scrollbar{width:10px}.studio-dialog::-webkit-scrollbar-track{background:#151515;border-left:1px solid #333333}.studio-dialog::-webkit-scrollbar-thumb{background:linear-gradient(#b5b5b5,#878787);border:3px solid #151515;border-radius:999px}.studio-dialog::-webkit-scrollbar-thumb:hover{background:#c8c8c8}.studio-theme-form textarea,.studio-theme-form select{width:100%;box-sizing:border-box;border:1px solid #3f3f3f;border-radius:8px;background:#111111;color:#fafafa;padding:11px;font:13px Inter,ui-sans-serif,system-ui,sans-serif;outline:0}.studio-theme-form textarea{min-height:95px;resize:vertical}.studio-theme-form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.studio-theme-form-row label{display:grid;gap:7px;color:#cecece;font-size:11px;font-weight:750}
.studio-theme-tag-list{display:flex;flex-wrap:wrap;gap:7px;margin-top:-5px}.studio-theme-tag-list button{border:1px solid #494949;border-radius:999px;background:#1a1a1a;color:#dadada;font:700 11px Inter,ui-sans-serif,system-ui,sans-serif;padding:6px 9px;cursor:pointer;transition:.15s}.studio-theme-tag-list button:hover{border-color:#a9a9a9;color:#ffffff}.studio-theme-tag-list button.active{border-color:#b6b6b6;background:#8989894d;color:#f2f2f2;box-shadow:inset 0 0 0 1px #bcbcbc2e}.studio-theme-help{display:block;margin-top:-9px;color:#9c9c9c;font-size:10px;line-height:1.4}.studio-theme-view-field{display:grid;gap:8px;color:#cecece;font-size:11px;font-weight:750}.theme-view-picker{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.theme-view-card{min-height:112px;position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:2px;padding:10px;border:1px solid #414141;border-radius:9px;background:#111111;color:#f3f3f3;text-align:left;cursor:pointer}.theme-view-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.37;image-rendering:pixelated;filter:saturate(.75)}.theme-view-card:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#0c0c0c 0%,#0c0c0c66 58%,transparent)}.theme-view-card b,.theme-view-card small{position:relative;z-index:1}.theme-view-card b{font-size:11px}.theme-view-card small{font-size:9px;color:#b7b7b7;line-height:1.2}.theme-view-card:hover,.theme-view-card.active{border-color:#b1b1b1aa;background:#222222;box-shadow:inset 0 0 0 1px #b1b1b133}.theme-view-card.active:before{content:"Selected";position:absolute;z-index:2;top:7px;right:7px;padding:3px 5px;border-radius:999px;background:#ababab;color:#1c1c1c;font-size:7px;font-weight:900;text-transform:uppercase}
.studio-theme-list mark,.studio-theme-picker-list mark{margin-left:7px;border-radius:999px;background:#555555;color:#dedede;padding:3px 5px;font:800 8px Inter,ui-sans-serif,system-ui,sans-serif;letter-spacing:.05em;text-transform:uppercase}.studio-theme-rules article .studio-default-theme{display:block;margin-top:8px;border:1px solid #575757;border-radius:7px;background:#202020;color:#e8e8e8;padding:8px 10px;font:750 11px Inter,ui-sans-serif,system-ui,sans-serif;cursor:pointer}.studio-theme-rules article .studio-default-theme:hover{border-color:#b8b8b8}.studio-theme-rules article .studio-default-theme.active{border-color:#aeaeae;background:#343434;color:#e8e8e8}.studio-theme-rules article small{display:block;margin-top:7px;color:#a1a1a1;font-size:10px;line-height:1.35}.studio-theme-picker-dialog{width:min(680px,100%)}.studio-theme-picker-list{padding:14px;display:grid;gap:8px}.studio-theme-picker-list>button{display:flex;align-items:center;gap:15px;width:100%;border:1px solid #3e3e3e;border-radius:10px;background:linear-gradient(135deg,#232323,#171717);color:#f3f3f3;padding:14px;text-align:left;cursor:pointer}.studio-theme-picker-list>button:hover,.studio-theme-picker-list>button.active{border-color:#b0b0b0;background:linear-gradient(135deg,#343434,#1e1e1e)}.studio-theme-picker-list>button span{display:grid;gap:4px;flex:1;min-width:0}.studio-theme-picker-list b{font-size:13px}.studio-theme-picker-list small{color:#b2b2b2;font-size:11px;line-height:1.35}.studio-theme-picker-list em{font-style:normal;color:#c8c8c8;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.studio-theme-picker-list i{font-style:normal;color:#d9d9d9;font-size:19px}.studio-theme-picker-list mark{margin:0}
.studio-theme-picker-actions{display:flex;align-items:center;gap:8px}.studio-theme-picker-clear{border:1px solid #535353!important;background:#242424!important;color:#d2d2d2!important;border-radius:7px;padding:8px 10px;font-size:10px;font-weight:800;cursor:pointer}.studio-theme-picker-clear:hover{border-color:#929292!important;background:#272727!important}

/* The existing creator lives inside the authenticated workspace without
   bringing its public-page spacing or background along with it. */
.studio-character-view{max-width:1240px;padding-top:42px}.studio-character-view>.creator-page{min-height:0;padding:0;background:none}.studio-character-view .creator-intro{display:none}.studio-character-view .creator-shell{width:100%;grid-template-columns:385px minmax(0,1fr);border-color:#383838;border-radius:14px;background:#171717}.studio-character-view .creator-controls{background:linear-gradient(160deg,#222222,#151515);border-color:#383838}.studio-character-view .creator-stage{min-height:650px;background:radial-gradient(circle at 50% 40%,#363636,#161616 67%)}.studio-character-view .creator-field>span{color:#c4c4c4}.studio-character-view .creator-field small,.studio-character-view .creator-local-note{color:#949494}.studio-character-view .creator-field textarea,.studio-character-view .creator-field input,.studio-character-view .creator-field select{background:#111111;border-color:#3d3d3d}.studio-character-view .creator-result-head button{background:#282828;border-color:#424242}.studio-character-view .creator-compare canvas{border-color:#3e3e3e;background:#111111}.studio-character-view .creator-generate{border:0;color:#ffffff}.studio-character-view .perspective-card{background:#151515;border-color:#3f3f3f}.studio-character-view .style-tag{background:#161616;border-color:#4f4f4f}.studio-character-view .style-tag.active{background:#616161;border-color:#c2c2c2}
.studio-asset-generator-view{max-width:1360px;padding-top:42px}.studio-asset-generator-view>.asset-page{min-height:0;padding:0;background:none}.studio-asset-generator-view .asset-shell{width:100%;grid-template-columns:435px minmax(0,1fr);border-color:#383838;border-radius:14px;background:#171717}.studio-asset-generator-view .asset-controls{background:linear-gradient(160deg,#222222,#151515);border-color:#383838}.studio-asset-generator-view .asset-stage{min-height:700px;background:radial-gradient(circle at 50% 40%,#363636,#161616 67%)}.studio-asset-generator-view .asset-field>span{color:#c4c4c4}.studio-asset-generator-view .asset-field small,.studio-asset-generator-view .asset-local-note{color:#949494}.studio-asset-generator-view .asset-field textarea,.studio-asset-generator-view .asset-field input,.studio-asset-generator-view .asset-field select{background:#111111;border-color:#3d3d3d}.studio-asset-generator-view .asset-result-head button{background:#282828;border-color:#424242}.studio-asset-generator-view .asset-compare canvas{border-color:#3e3e3e;background:#111111}.studio-asset-generator-view .asset-generate{border:0;color:#ffffff}.studio-asset-generator-view .asset-mode{background:#151515;border-color:#3f3f3f}.studio-asset-generator-view .asset-tag{background:#161616;border-color:#4f4f4f}.studio-asset-generator-view .asset-tag.active{background:#616161;border-color:#c2c2c2}
@media(max-width:820px){.studio-character-view .creator-shell{grid-template-columns:1fr}.studio-character-view .creator-stage{min-height:570px}}
.studio-home-view .studio-topbar{align-items:center;margin-bottom:52px}.studio-home-view .studio-topbar h1{font-size:31px;font-weight:760}.studio-home-view .studio-topbar p{display:flex;gap:8px;align-items:center;font-size:11px;margin-top:6px;color:#7d7d7d}.studio-home-view .studio-topbar p b{font-weight:650}.studio-updates{border:1px solid #484848;border-radius:999px;background:linear-gradient(135deg,#292929,#1c1c1c);padding:10px 15px;color:#e8e8e8;font-weight:750;font-size:12px;box-shadow:0 8px 20px #00000033}.studio-updates i{display:inline-block;width:5px;height:5px;border-radius:50%;background:#bebebe;margin-left:4px;vertical-align:top}
.studio-home-view .studio-composer{display:flex;align-items:center;min-height:63px;padding:0 14px;border-radius:999px;background:linear-gradient(135deg,#1d1d1d,#151515);box-shadow:none}.studio-home-view .studio-reference-open{height:36px;width:36px;padding:0;display:grid;place-items:center;border:0;background:transparent;color:#a9a9a9}.studio-home-view .studio-reference-open .studio-icon{font-size:18px}.studio-home-view #studio-prompt{min-height:0;height:42px;margin:0;padding:0 8px;border:0;background:transparent;box-shadow:none;font-size:14px;flex:1}.studio-home-view #studio-prompt:focus{box-shadow:none}.studio-home-view .studio-composer-footer{gap:6px;flex:none}.studio-home-view .studio-type-select{padding:8px 7px;font-size:12px}.studio-home-view .studio-history{border:0;background:transparent;color:#989898;font-size:20px;padding:4px 8px}.studio-home-view .studio-create{display:none}
.studio-home-view .studio-tool-launcher{margin:26px -64px 48px}.studio-home-view .studio-tool-launcher>.studio-kicker{text-align:center;color:#838383;margin-bottom:12px}.studio-home-view .studio-tool-launcher>div{display:flex;justify-content:center;gap:8px}.studio-home-view .studio-tool-launcher button{height:39px;padding:0 12px;display:flex;align-items:center;gap:8px;border-radius:8px;background:linear-gradient(145deg,#1d1d1d,#161616);white-space:nowrap}.studio-home-view .studio-tool-launcher button>span{display:grid;place-items:center;width:21px;height:21px;margin:0;border-radius:5px;background:#575757;color:#c3c3c3;font-size:12px}.studio-home-view .studio-tool-launcher button:nth-child(2)>span{background:#515151;color:#d2d2d2}.studio-home-view .studio-tool-launcher button:nth-child(3)>span{background:#454545;color:#d3d3d3}.studio-home-view .studio-tool-launcher b{font-size:12px}.studio-home-view .studio-tool-launcher small{display:none}
.studio-home-view .studio-section{margin-top:0}.studio-home-view .studio-section-title h2{font-family:inherit;font-size:15px;letter-spacing:-.02em}.studio-home-view .studio-section-title .studio-kicker{display:none}.studio-home-view .studio-section-title>button{font-size:11px;color:#979797}.studio-home-view .studio-recent-grid{grid-template-columns:repeat(3,1fr);gap:11px;margin-top:12px}.studio-home-view .studio-recent-grid .studio-asset-card{height:232px;border-radius:10px;background:#131313}.studio-home-view .studio-recent-grid .studio-asset-card:nth-child(4){display:none}.studio-home-view .studio-recent-grid .studio-thumb{height:100%;background:radial-gradient(circle at 50% 36%,#2c2c2c,transparent 61%),#111111}.studio-home-view .studio-recent-grid .studio-thumb img{padding:16px 10px 47px;object-fit:contain}.studio-home-view .studio-recent-grid .studio-asset-copy{position:absolute;z-index:1;bottom:0;left:0;right:0;padding:25px 10px 10px;background:linear-gradient(transparent,#0c0c0c 48%);gap:2px}.studio-home-view .studio-recent-grid .studio-asset-copy b{font-size:11px}.studio-home-view .studio-recent-grid .studio-asset-copy small{font-size:10px}.studio-home-view .studio-recent-grid .studio-asset-copy small:nth-of-type(1){position:absolute;top:-185px;left:9px;border-radius:4px;background:#2b2b2b;color:#e8e8e8;padding:3px 5px;font-size:8px;font-weight:800}.studio-home-view .studio-card-more{display:none}.studio-home-view .studio-theme-banner{margin-top:37px;opacity:.95}
.studio-asset-dialog{width:100vw;max-width:100vw;height:100vh;max-height:100vh;border:0;border-radius:0;background:#121212}.studio-overlay:has(.studio-asset-dialog){padding:0;background:#121212;backdrop-filter:none}.studio-asset-dialog>header{height:60px;padding:0 22px;border-color:#2c2c2c;background:#161616}.studio-asset-dialog>header>button{background:transparent;padding:8px 0}.studio-asset-detail{height:calc(100vh - 60px);min-height:0;grid-template-columns:minmax(0,1fr) 355px}.studio-asset-preview{padding:25px;background-color:#111111}.studio-asset-preview>img{max-width:75%;max-height:79vh}.studio-asset-detail aside{padding:23px 16px;background:#191919}.studio-asset-detail h2{font-family:inherit;font-size:15px;letter-spacing:-.025em}.studio-detail-meta{display:flex;gap:5px;flex-wrap:wrap;margin:12px 0 16px}.studio-action-group{padding:15px 0;gap:0}.studio-action-group>span{margin-bottom:12px;font-size:10px;letter-spacing:.02em;text-transform:none;color:#999999}.studio-action-group button{border:0;background:transparent;border-radius:0;padding:9px 2px;display:grid;gap:2px;font-size:14px;box-shadow:none}.studio-action-group button:hover{background:transparent;color:#c9c9c9}.studio-action-group small{font-size:11px;margin:0;color:#8a8a8a}.studio-action-group:first-of-type button:first-of-type{border-radius:8px;background:linear-gradient(135deg,#adadad,#b3b3b3);padding:13px;text-align:center;display:block;color:white;margin-bottom:10px}.studio-action-group:first-of-type button:first-of-type small{display:none}

/* Expanded navigation is intentionally used here: labels remain visible and the content centres in the available workspace. */
@media(min-width:661px){
  .studio-shell{grid-template-columns:236px minmax(0,1fr)}
  .studio-sidebar{align-items:stretch;padding:20px 13px 14px}
  .studio-logo{width:auto;padding:0 11px;justify-content:flex-start}.studio-logo>span{display:inline}
  .studio-primary{width:auto;margin-top:28px;gap:3px}.studio-primary button{justify-content:flex-start;padding:10px 11px}.studio-primary button>span:not(.studio-icon){display:inline}.studio-primary .studio-icon{width:17px;font-size:17px}
  .studio-sidebar-rule{width:auto;margin:20px 8px 15px}.studio-sidebar-label{display:block;margin:0 11px}.studio-tools{margin-top:8px}
  .studio-sidebar-bottom{width:auto;justify-items:stretch}.studio-sidebar-bottom>a{justify-content:flex-start;padding:9px 11px}.studio-sidebar-bottom>a>span:not(.studio-icon){display:inline}.studio-user{width:auto;height:auto;justify-content:flex-start;padding:9px}.studio-user b{display:block}.studio-user .studio-icon{display:block}
  .studio-home-view{max-width:900px;margin-left:auto;margin-right:auto;padding-top:64px}
}

/* Animation 4 is a first-class workspace, with the same broad canvas as the other creators. */
.a4-view{box-sizing:border-box;width:100%;max-width:none;min-height:100vh;padding:42px 44px 38px;display:flex;flex-direction:column}.a4-head{padding:0 2px;margin-bottom:32px}.a4-head h1{margin-top:9px}.a4-head p{margin-top:10px;max-width:760px;line-height:1.55}.a4-head>button{box-shadow:0 10px 24px #7f7f7f4d}.a4-shell{flex:1;min-height:0;border-color:#404040;border-radius:12px;background:linear-gradient(112deg,#202020 0%,#1a1a1a 43%,#262626 100%);box-shadow:0 24px 56px #00000038}.a4-panel{padding:26px;background:linear-gradient(160deg,#232323 0%,#181818 78%);border-color:#404040}.a4-stage{padding:28px;background:radial-gradient(90% 72% at 75% 0,#4b4b4b 0%,#212121 46%,#171717 100%)}.a4-stage-head{padding-bottom:13px;border-bottom:1px solid #404040}.a4-empty{height:100%;min-height:440px;border-color:#565656;background:linear-gradient(135deg,#20202099,#16161677)}.a4-results{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.a4-results article{min-height:88px;align-content:center}.a4-cost{display:grid;grid-template-columns:auto 1fr;gap:3px 10px;align-items:baseline;margin:0;padding:11px 12px;border:1px solid #585858;border-radius:9px;background:linear-gradient(120deg,#323232,#1f1f1f)}.a4-cost span{font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#c8c8c8}.a4-cost b{font-size:12px;color:#f2f2f2}.a4-cost small{grid-column:1/-1;color:#a6a6a6;font-size:10px;line-height:1.35}.a4-submit{display:flex;align-items:center;justify-content:center;gap:8px;min-height:50px;box-shadow:0 12px 26px #8787875c}.a4-submit b{margin:0;font-size:17px}.a4-submit:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}
@media(min-width:1500px){.a4-shell{grid-template-columns:minmax(445px,500px) minmax(0,1fr)}.a4-sources{max-height:188px}.a4-empty{min-height:510px}}
@media(max-width:820px){.a4-view{min-height:0;padding:28px 24px 38px}.a4-shell{min-height:0;flex:none}.a4-stage{min-height:560px}}
@media(max-width:600px){.a4-view{padding:22px 16px 28px}.a4-head{margin-bottom:22px}}

/* Full-height creation workspaces for the image and map tools. */
@media(min-width:821px){
  .studio-character-view,.studio-asset-generator-view,.studio-tileset-view{box-sizing:border-box;min-height:100vh;max-width:none;padding:42px 44px 38px;display:flex;flex-direction:column}
  .studio-character-view .studio-topbar,.studio-asset-generator-view .studio-topbar,.studio-tileset-view .studio-topbar{margin-bottom:32px;padding:0 2px}
  .studio-character-view .studio-topbar p,.studio-asset-generator-view .studio-topbar p,.studio-tileset-view .studio-topbar p{margin-top:10px;max-width:760px;line-height:1.55}
  .studio-character-view>.creator-page,.studio-asset-generator-view>.asset-page{width:100%;flex:1;display:flex;min-height:0}
  .studio-character-view .creator-shell,.studio-asset-generator-view .asset-shell,.studio-tileset-view .tileset-builder{flex:1;min-height:0}
  .studio-character-view .creator-stage,.studio-asset-generator-view .asset-stage,.studio-tileset-view .tileset-library{min-height:0}
  .studio-character-view .creator-stage,.studio-asset-generator-view .asset-stage{padding:30px}
}
@media(max-width:1050px){.studio-character-view,.studio-asset-generator-view,.studio-tileset-view{padding-top:28px}.studio-character-view .studio-topbar,.studio-asset-generator-view .studio-topbar,.studio-tileset-view .studio-topbar{margin-bottom:24px}}

/* The routed tool view sits inside #studio-content; force it to consume the
   workspace rather than inherit the centred, marketing-sized .studio-view. */
@media(min-width:821px){
  #studio-content>.studio-character-view,#studio-content>.studio-asset-generator-view,#studio-content>.studio-tileset-view{
    width:100%!important;max-width:none!important;margin:0!important;padding:42px 44px 38px!important;box-sizing:border-box;min-height:100vh
  }
}

/* Character is a routed workspace: its configuration panel scrolls internally,
   while the app shell itself remains exactly one viewport high. */
@media(min-width:821px){
  .studio-shell:has(#studio-content>.studio-character-view),.studio-shell:has(#studio-content>.studio-character-view) .studio-main{height:100vh;overflow:hidden}
  #studio-content:has(>.studio-character-view){height:100%}
  #studio-content>.studio-character-view{height:100%;min-height:0!important;padding:0!important}
  .studio-character-view>.studio-topbar{display:none}
  .studio-character-view>.creator-page{height:100%;min-height:0}
  .studio-character-view .creator-shell{height:100%;min-height:0;border:0;border-radius:0;box-shadow:none}
  .studio-character-view .creator-controls{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:28px 26px 36px;scrollbar-width:thin;scrollbar-color:#a7a7a7 #151515}
  .studio-character-view .creator-controls::before{content:"Character creator";display:block;margin:0 0 8px;color:#ffffff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:30px;font-weight:750;letter-spacing:-.045em;line-height:1.05}
  .studio-character-view .creator-controls::-webkit-scrollbar{width:10px}
  .studio-character-view .creator-controls::-webkit-scrollbar-track{background:#151515;border-left:1px solid #333333}
  .studio-character-view .creator-controls::-webkit-scrollbar-thumb{background:linear-gradient(#b5b5b5,#878787);border:3px solid #151515;border-radius:999px}
  .studio-character-view .creator-controls::-webkit-scrollbar-thumb:hover{background:#c8c8c8}
  .studio-character-view .creator-stage{min-height:0;height:auto;padding:30px}
}

/* Keep the character action available while the configuration remains easy to browse. */
@media(min-width:821px){
  .studio-character-view .creator-controls{min-height:0;overflow:hidden;padding:0;display:grid;grid-template-rows:minmax(0,1fr) auto;align-content:stretch;gap:0}
  .studio-character-view .creator-controls::before{content:none}
  .studio-character-view .creator-form-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:28px 26px 20px;display:grid;align-content:start;gap:14px;scrollbar-width:thin;scrollbar-color:#a7a7a7 #151515}
  .studio-character-view .creator-form-scroll::before{content:"Character creator";display:block;margin:0 0 8px;color:#ffffff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:30px;font-weight:750;letter-spacing:-.045em;line-height:1.05}
  .studio-character-view .creator-form-scroll::-webkit-scrollbar{width:10px}
  .studio-character-view .creator-form-scroll::-webkit-scrollbar-track{background:#151515;border-left:1px solid #333333}
  .studio-character-view .creator-form-scroll::-webkit-scrollbar-thumb{background:linear-gradient(#b5b5b5,#878787);border:3px solid #151515;border-radius:999px}
  .studio-character-view .creator-form-scroll::-webkit-scrollbar-thumb:hover{background:#c8c8c8}
  .studio-character-view .creator-fixed-actions{position:relative;z-index:2;display:grid;gap:10px;padding:14px 26px 19px;border-top:1px solid #383838;background:linear-gradient(180deg,#1d1d1dee,#151515ff);box-shadow:0 -14px 28px #0f0f0fa8}
  .studio-character-view .creator-fixed-actions .creator-generate,.studio-character-view .creator-fixed-actions .creator-local-note{margin:0}
}

/* All generation builders share the same app-native workspace pattern. */
@media(min-width:821px){
  .studio-shell:has(#studio-content>.studio-asset-generator-view),.studio-shell:has(#studio-content>.studio-asset-pack-view),.studio-shell:has(#studio-content>.studio-tileset-view),.studio-shell:has(#studio-content>.studio-asset-generator-view) .studio-main,.studio-shell:has(#studio-content>.studio-asset-pack-view) .studio-main,.studio-shell:has(#studio-content>.studio-tileset-view) .studio-main{height:100vh;overflow:hidden}
  #studio-content:has(>.studio-asset-generator-view),#studio-content:has(>.studio-asset-pack-view),#studio-content:has(>.studio-tileset-view){height:100%}
  #studio-content>.studio-asset-generator-view,#studio-content>.studio-asset-pack-view,#studio-content>.studio-tileset-view{height:100%;min-height:0!important;padding:0!important}
  .studio-asset-generator-view>.studio-topbar,.studio-asset-pack-view>.studio-topbar,.studio-tileset-view>.studio-topbar{display:none}
  .studio-asset-generator-view>.asset-page,.studio-asset-pack-view>.pack-builder,.studio-tileset-view>.tileset-builder{height:100%;min-height:0}
  .studio-asset-generator-view .asset-shell,.studio-asset-pack-view .pack-builder,.studio-tileset-view .tileset-builder{height:100%;min-height:0;border:0;border-radius:0;box-shadow:none}
  .studio-asset-generator-view .asset-controls,.studio-asset-pack-view .pack-form,.studio-tileset-view .tileset-form{min-height:0;overflow:hidden;padding:0;display:grid;grid-template-rows:minmax(0,1fr) auto;align-content:stretch;gap:0;background:linear-gradient(160deg,#222222,#151515)}
  .studio-asset-generator-view .asset-form-scroll,.studio-asset-pack-view .pack-form-scroll,.studio-tileset-view .tileset-form-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:28px 26px 20px;display:grid;align-content:start;gap:14px;scrollbar-width:thin;scrollbar-color:#a7a7a7 #151515}
  .studio-asset-generator-view .asset-form-scroll::before,.studio-asset-pack-view .pack-form-scroll::before,.studio-tileset-view .tileset-form-scroll::before{display:block;margin:0 0 8px;color:#ffffff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:30px;font-weight:750;letter-spacing:-.045em;line-height:1.05}
  .studio-asset-generator-view .asset-form-scroll::before{content:"Asset generator"}.studio-asset-pack-view .pack-form-scroll::before{content:"Asset pack builder"}.studio-tileset-view .tileset-form-scroll::before{content:"Tileset builder"}
  .studio-asset-generator-view .asset-form-scroll::-webkit-scrollbar,.studio-asset-pack-view .pack-form-scroll::-webkit-scrollbar,.studio-tileset-view .tileset-form-scroll::-webkit-scrollbar{width:10px}
  .studio-asset-generator-view .asset-form-scroll::-webkit-scrollbar-track,.studio-asset-pack-view .pack-form-scroll::-webkit-scrollbar-track,.studio-tileset-view .tileset-form-scroll::-webkit-scrollbar-track{background:#151515;border-left:1px solid #333333}
  .studio-asset-generator-view .asset-form-scroll::-webkit-scrollbar-thumb,.studio-asset-pack-view .pack-form-scroll::-webkit-scrollbar-thumb,.studio-tileset-view .tileset-form-scroll::-webkit-scrollbar-thumb{background:linear-gradient(#b5b5b5,#878787);border:3px solid #151515;border-radius:999px}
  .studio-asset-generator-view .asset-fixed-actions,.studio-asset-pack-view .pack-fixed-actions,.studio-tileset-view .tileset-fixed-actions{position:relative;z-index:2;display:grid;gap:10px;padding:14px 26px 19px;border-top:1px solid #383838;background:linear-gradient(180deg,#1d1d1dee,#151515ff);box-shadow:0 -14px 28px #0f0f0fa8}
  .studio-asset-generator-view .asset-fixed-actions .asset-generate,.studio-asset-generator-view .asset-fixed-actions .asset-local-note,.studio-asset-pack-view .pack-fixed-actions .pack-create,.studio-asset-pack-view .pack-fixed-actions .pack-note,.studio-tileset-view .tileset-fixed-actions .tileset-create,.studio-tileset-view .tileset-fixed-actions .tileset-note{margin:0}
  .studio-asset-generator-view .asset-stage,.studio-asset-pack-view .pack-library,.studio-tileset-view .tileset-library{min-height:0;height:auto;padding:30px}
}

@media(min-width:821px){
  .studio-shell:has(#studio-content>.a4-view),.studio-shell:has(#studio-content>.a4-view) .studio-main{height:100vh;overflow:hidden}
  #studio-content:has(>.a4-view){height:100%}
  #studio-content>.a4-view{height:100%;min-height:0!important;padding:0!important}
  .a4-view>.a4-head{display:none}
  .a4-view>.a4-shell{height:100%;min-height:0;border:0;border-radius:0;box-shadow:none}
  .a4-view .a4-panel{min-height:0;overflow:hidden;padding:0;display:grid;grid-template-rows:minmax(0,1fr) auto;align-content:stretch;gap:0;border-right:1px solid #383838}
  .a4-view .a4-form-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:28px 26px 20px;display:grid;align-content:start;gap:14px;scrollbar-width:thin;scrollbar-color:#a7a7a7 #151515}
  .a4-view .a4-form-scroll::before{content:"Animate a sprite";display:block;margin:0 0 8px;color:#ffffff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:30px;font-weight:750;letter-spacing:-.045em;line-height:1.05}
  .a4-view .a4-form-scroll::-webkit-scrollbar{width:10px}.a4-view .a4-form-scroll::-webkit-scrollbar-track{background:#151515;border-left:1px solid #333333}.a4-view .a4-form-scroll::-webkit-scrollbar-thumb{background:linear-gradient(#b5b5b5,#878787);border:3px solid #151515;border-radius:999px}
  .a4-view .a4-fixed-actions{position:relative;z-index:2;display:grid;gap:10px;padding:14px 26px 19px;border-top:1px solid #383838;background:linear-gradient(180deg,#1d1d1dee,#151515ff);box-shadow:0 -14px 28px #0f0f0fa8}
  .a4-view .a4-fixed-actions .a4-cost,.a4-view .a4-fixed-actions .a4-error,.a4-view .a4-fixed-actions .a4-submit{margin:0}
  .a4-view .a4-stage{min-height:0;height:auto;padding:30px}
}

/* Animation 4 prompt assistant modal. */
.a4-prompt-assist{margin-left:auto;display:inline-flex;align-items:center;gap:7px;border:1px solid #808080;border-radius:8px;background:linear-gradient(135deg,#393939,#272727);color:#eaeaea;padding:8px 10px;font:800 10px Inter,ui-sans-serif,system-ui,sans-serif;cursor:pointer;box-shadow:0 8px 18px #00000033}.a4-prompt-assist b{font-size:14px;color:#cdcdcd}.a4-prompt-assist:hover{border-color:#c3c3c3;background:#4b4b4b}
.a4-assistant-modal{position:fixed;z-index:1000;inset:0;display:grid;place-items:center;padding:24px}.a4-assistant-modal[hidden]{display:none}.a4-assistant-backdrop{position:absolute;inset:0;background:#080808b8;backdrop-filter:blur(9px)}.a4-assistant-card{position:relative;z-index:1;width:min(620px,100%);max-height:min(760px,calc(100vh - 48px));overflow:auto;border:1px solid #666666;border-radius:15px;background:linear-gradient(145deg,#2d2d2d,#171717 72%);box-shadow:0 28px 90px #000000aa;color:#f6f6f6;padding:0;scrollbar-width:thin;scrollbar-color:#a7a7a7 #151515}.a4-assistant-card>header{display:flex;justify-content:space-between;gap:20px;padding:25px 26px 20px;border-bottom:1px solid #444444}.a4-assistant-card header span,.a4-assist-result>span{display:block;color:#d0d0d0;font-size:10px;font-weight:900;letter-spacing:.12em}.a4-assistant-card h2{margin:8px 0 7px;font-size:25px;letter-spacing:-.04em}.a4-assistant-card header p{max-width:455px;margin:0;color:#b7b7b7;font-size:12px;line-height:1.55}.a4-assistant-card>header>button{width:32px;height:32px;border:0;border-radius:8px;background:#353535;color:#eeeeee;font-size:21px;cursor:pointer}.a4-assistant-card>label{display:grid;gap:7px;padding:17px 26px 0}.a4-assistant-card>label>span{color:#dcdcdc;font-size:10px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.a4-assistant-card textarea,.a4-assistant-card input{box-sizing:border-box;width:100%;border:1px solid #4d4d4d;border-radius:9px;background:#121212;color:#fafafa;padding:12px;font:13px Inter,ui-sans-serif,system-ui,sans-serif;outline:0}.a4-assistant-card textarea{min-height:105px;resize:vertical;line-height:1.5}.a4-assistant-card textarea:focus,.a4-assistant-card input:focus{border-color:#c4c4c4;box-shadow:0 0 0 3px #aaaaaa2b}.a4-assist-status{display:flex;justify-content:space-between;gap:12px;padding:13px 26px 0;color:#acacac;font-size:10px}.a4-assist-status small{color:#c0c0c0;font-weight:800}.a4-assist-error{margin:15px 26px 0;padding:10px;border:1px solid #555555;border-radius:8px;background:#262626;color:#dfdfdf;font-size:12px}.a4-assist-result{display:grid;gap:9px;margin:17px 26px 0;padding:14px;border:1px solid #606060;border-radius:10px;background:#212121}.a4-assist-result p{margin:0;color:#f3f3f3;font-size:12px;line-height:1.55;white-space:pre-wrap}.a4-assist-result small{color:#b5b5b5;font-size:11px}.a4-assistant-card>footer{display:flex;justify-content:flex-end;gap:9px;padding:22px 26px 26px}.a4-assist-generate,.a4-assist-use{border:0;border-radius:9px;padding:11px 15px;background:linear-gradient(135deg,#9f9f9f,#b9b9b9);color:#ffffff;font-weight:850;cursor:pointer}.a4-assist-generate:disabled{opacity:.55;cursor:wait}.a4-assist-use{background:#383838;border:1px solid #a9a9a9;color:#f6f6f6}
@media(max-width:600px){.a4-prompt-assist{padding:7px 8px;font-size:9px}.a4-assistant-modal{padding:12px}.a4-assistant-card>header,.a4-assistant-card>label,.a4-assist-status,.a4-assistant-card>footer{padding-left:18px;padding-right:18px}.a4-assist-error,.a4-assist-result{margin-left:18px;margin-right:18px}}

/* Shared theme selector used by every editor. */
.studio-editor-theme-control{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:4px;width:100%;box-sizing:border-box;margin:0 0 2px;padding:12px 118px 12px 12px;border:1px solid #aeaeae6b;border-radius:10px;background:linear-gradient(135deg,#323232,#232323);color:#efefef;font:inherit;text-align:left;cursor:pointer;transition:border-color .16s ease,transform .16s ease,box-shadow .16s ease}.studio-editor-theme-control:hover,.studio-editor-theme-control:focus-visible{border-color:#aeaeae;box-shadow:0 8px 22px #00000033;transform:translateY(-1px);outline:none}.studio-editor-theme-control.is-empty{border-color:#494949;background:#1f1f1f}.studio-editor-theme-control .studio-kicker{margin:0;color:#b4b4b4;font-size:10px}.studio-editor-theme-control b{display:block;overflow:hidden;color:#f9f9f9;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.studio-editor-theme-control.is-empty b{color:#ebebeb}.studio-editor-theme-control small{display:block;overflow:hidden;color:#c1c1c1;font-size:10px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.studio-editor-theme-control.is-empty small{color:#aeaeae}.studio-editor-theme-control em{position:absolute;right:12px;top:50%;max-width:105px;overflow:hidden;color:#bbbbbb;font-size:10px;font-style:normal;font-weight:800;text-align:right;text-overflow:ellipsis;transform:translateY(-50%);white-space:nowrap}.asset-theme-summary.studio-editor-theme-control{display:grid;margin-bottom:16px}.studio-theme-picker-empty{display:grid;gap:6px;padding:24px;border:1px dashed #4a4a4a;border-radius:10px;color:#c5c5c5;text-align:center}.studio-theme-picker-empty b{color:#f6f6f6}.studio-theme-picker-empty span{font-size:12px;line-height:1.5}

/* Account menu, upgrade CTA, settings and checkout confirmation. */
.studio-sidebar-bottom{position:relative}.studio-upgrade-cta{display:flex!important;align-items:center;justify-content:center;gap:8px;min-height:36px;margin:0 0 1px;padding:8px 10px;border:0;border-radius:10px;background:linear-gradient(135deg,#f05a28 0%,#ff8a34 52%,#ffc857 100%);box-shadow:0 10px 24px #e66b382e;color:#1b100a!important;font:900 12px/1 Inter,ui-sans-serif,system-ui,sans-serif;text-decoration:none;transition:transform .16s ease,box-shadow .16s ease,filter .16s ease}.studio-upgrade-cta:hover{transform:translateY(-1px);box-shadow:0 13px 28px #e66b3852;filter:saturate(1.12)}.studio-upgrade-cta:active{transform:translateY(0)}.studio-upgrade-cta[hidden]{display:none!important}.studio-upgrade-icon{display:grid;place-items:center;width:20px;height:20px;border-radius:6px;background:#1b100a1c;font-size:15px;line-height:1}.studio-account-menu{position:absolute;z-index:80;left:10px;bottom:56px;width:258px;padding:8px;border:1px solid #494949;border-radius:14px;background:linear-gradient(145deg,#272727,#191919);box-shadow:0 26px 70px #000000cc;color:#f0f0f0}.studio-account-menu-header{display:grid;gap:5px;padding:10px 11px 12px;border-bottom:1px solid #3d3d3d}.studio-account-menu-header span{overflow:hidden;color:#b6b6b6;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.studio-account-menu-header b{color:#bcbcbc;font-size:12px}.studio-account-menu button{display:flex;align-items:center;gap:10px;width:100%;margin-top:3px;padding:10px;border:0;border-radius:8px;background:transparent;color:#e8e8e8;font:700 12px Inter,ui-sans-serif,system-ui,sans-serif;text-align:left;cursor:pointer}.studio-account-menu button:hover{background:#323232;color:#ffffff}.studio-account-menu button:first-of-type{margin-top:8px}.studio-account-menu hr{height:1px;margin:7px 4px;border:0;background:#3d3d3d}.studio-account-menu .studio-account-signout{color:#c0c0c0}.studio-settings-view{padding:48px 58px}.studio-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;max-width:1120px;margin-top:28px}.studio-settings-grid>section{min-height:260px;padding:24px;border:1px solid #424242;border-radius:15px;background:linear-gradient(135deg,#212121,#181818);box-shadow:0 16px 38px #00000022}.studio-settings-grid h2{margin:9px 0 8px;color:#f7f7f7;font-size:21px;letter-spacing:-.03em;overflow-wrap:anywhere}.studio-settings-grid p{margin:0;color:#b3b3b3;font-size:13px;line-height:1.55}.studio-settings-grid dl{display:grid;gap:9px;margin:24px 0 0}.studio-settings-grid dl div{display:flex;justify-content:space-between;gap:10px;padding-top:9px;border-top:1px solid #363636;font-size:12px}.studio-settings-grid dt{color:#a4a4a4}.studio-settings-grid dd{margin:0;color:#bbbbbb;font-weight:800;text-align:right}.studio-settings-grid button,.studio-settings-grid a{display:inline-flex;align-items:center;justify-content:center;margin-top:24px;padding:10px 13px;border:1px solid #747474;border-radius:8px;background:#272727;color:#e3e3e3;font:800 12px Inter,ui-sans-serif,system-ui,sans-serif;text-decoration:none;cursor:pointer}.studio-settings-grid button:hover,.studio-settings-grid a:hover{background:#363636}.studio-checkout-overlay{background:radial-gradient(circle at 50% 38%,#5e5e5e2b,transparent 37%),#090909cc;backdrop-filter:blur(12px)}.studio-checkout-success{width:min(610px,calc(100vw - 38px));padding:54px 52px 46px!important;border:1px solid #727272!important;border-radius:20px!important;background:radial-gradient(circle at 50% 0,#424242 0,transparent 38%),linear-gradient(150deg,#242424,#191919 72%)!important;box-shadow:0 34px 100px #000000dd!important;text-align:center}.studio-checkout-success .studio-success-sparkles{margin-bottom:17px;color:#b4b4b4;font-size:23px;letter-spacing:7px;text-shadow:0 0 30px #8c8c8c}.studio-checkout-success h2{margin:10px 0 12px;color:#f7f7f7;font-size:38px;letter-spacing:-.05em}.studio-checkout-success p{max-width:440px;margin:0 auto;color:#cacaca;font-size:15px;line-height:1.6}.studio-success-credit{display:flex;align-items:center;justify-content:center;gap:11px;margin:28px auto 26px;padding:13px 16px;border:1px solid #515151;border-radius:11px;background:#171717}.studio-success-credit b{color:#cacaca;font-size:25px}.studio-success-credit span{color:#c2c2c2;font-size:12px;font-weight:700}.studio-checkout-success>button{width:100%;padding:13px;border:0;border-radius:9px;background:linear-gradient(135deg,#808080,#aeaeae);box-shadow:0 12px 24px #5e5e5e2b;color:#ffffff;font:850 14px Inter,ui-sans-serif,system-ui,sans-serif;cursor:pointer}.studio-checkout-success .studio-success-secondary{margin-top:9px;background:transparent;box-shadow:none;color:#c7c7c7;font-size:12px}.studio-checkout-success .studio-success-secondary:hover{color:#ffffff;background:#2d2d2d}
@media(max-width:900px){.studio-settings-view{padding:32px 22px}.studio-settings-grid{grid-template-columns:1fr}.studio-settings-grid>section{min-height:auto}}@media(max-width:560px){.studio-account-menu{left:4px;bottom:52px;width:min(258px,calc(100vw - 20px))}.studio-checkout-success{padding:42px 24px 32px!important}.studio-checkout-success h2{font-size:31px}}
.studio-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}.studio-auth-or{display:flex;align-items:center;gap:11px;color:#898989;font:800 10px Inter,ui-sans-serif,system-ui,sans-serif;letter-spacing:.12em}.studio-auth-or::before,.studio-auth-or::after{content:"";height:1px;flex:1;background:#3b3b3b}.studio-google-auth{display:flex;align-items:center;justify-content:center;gap:11px;min-height:43px;border:1px solid #dcdcdc;border-radius:7px;background:#ffffff;color:#3f3f3f;text-decoration:none;font:600 14px Roboto,Inter,ui-sans-serif,system-ui,sans-serif;box-shadow:0 1px 2px #00000022}.studio-google-auth svg{width:18px;height:18px;flex:none}.studio-google-auth:hover{background:#f9f9f9;box-shadow:0 1px 3px #00000033}.studio-google-auth:active{background:#f3f3f3}

/* Public-site authentication keeps visitors on the page they were exploring. */
.marketing-auth-overlay{position:fixed;z-index:100;inset:0;display:grid;place-items:center;padding:24px;background:#080808bd;backdrop-filter:blur(12px)}.marketing-auth-dialog{position:relative;width:min(460px,100%);padding:31px;border:1px solid #464646;border-radius:18px;background:linear-gradient(145deg,#222222,#131313 75%);box-shadow:0 30px 100px #000000bb;color:#f9f9f9}.marketing-auth-close{position:absolute;right:16px;top:16px;width:34px;height:34px;border:1px solid #464646;border-radius:9px;background:#2c2c2c;color:#ebebeb;font-size:22px;line-height:1;cursor:pointer}.marketing-auth-kicker{display:block;color:#b1b1b1;font:800 10px Inter,ui-sans-serif,system-ui,sans-serif;letter-spacing:.14em}.marketing-auth-dialog h2{margin:8px 0 6px;font:750 30px/1.1 Inter,ui-sans-serif,system-ui,sans-serif;letter-spacing:-.045em}.marketing-auth-dialog>p{margin:0 0 23px;color:#b0b0b0;font-size:13px;line-height:1.5}.marketing-auth-dialog form{display:grid;gap:13px}.marketing-auth-dialog label{display:grid;gap:6px;color:#d8d8d8;font-size:12px;font-weight:700}.marketing-auth-dialog input{width:100%;border:1px solid #484848;border-radius:8px;background:#0f0f0f;color:#ffffff;padding:12px;font:14px Inter,ui-sans-serif,system-ui,sans-serif;outline:none}.marketing-auth-dialog input:focus{border-color:#adadad;box-shadow:0 0 0 3px #adadad20}.marketing-auth-submit{min-height:44px;border-radius:8px;background:linear-gradient(135deg,#8f8f8f,#adadad);color:#ffffff;font-weight:800;cursor:pointer}.marketing-auth-submit:disabled{opacity:.65;cursor:wait}.marketing-auth-error{margin:0;color:#bebebe;font-size:12px}.marketing-auth-or{display:flex;align-items:center;gap:11px;color:#8b8b8b;font:800 10px Inter,ui-sans-serif,system-ui,sans-serif;letter-spacing:.12em}.marketing-auth-or::before,.marketing-auth-or::after{content:"";height:1px;flex:1;background:#424242}.marketing-google-auth{display:flex;align-items:center;justify-content:center;gap:11px;min-height:43px;border:1px solid #dcdcdc;border-radius:7px;background:#ffffff;color:#3f3f3f;text-decoration:none;font:600 14px Roboto,Inter,ui-sans-serif,system-ui,sans-serif;box-shadow:0 1px 2px #00000022}.marketing-google-auth svg{width:18px;height:18px}.marketing-google-auth:hover{background:#f9f9f9}.marketing-auth-switch{padding:3px;background:transparent;color:#b8b8b8;font-size:12px;font-weight:700;cursor:pointer}.marketing-auth-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}.marketing-auth-confirmed{padding:14px 0 4px}.marketing-auth-confirmed b{font-size:17px}.marketing-auth-confirmed p{margin:8px 0 0;color:#c2c2c2;font-size:13px;line-height:1.55}.app-route-loading{min-height:100vh;display:grid;place-items:center;background:#101010;color:#bfbfbf;font:600 14px Inter,ui-sans-serif,system-ui,sans-serif}

.marketing-auth-confirmed{display:grid;grid-template-columns:46px 1fr;gap:15px;padding:19px;border:1px solid #5f5f5f;border-radius:12px;background:linear-gradient(135deg,#292929,#1c1c1c)}.marketing-auth-confirmed-icon{width:46px;height:46px;display:grid;place-items:center;border:1px solid #999999;border-radius:13px;background:#9b9b9b23;color:#cacaca;font-size:22px}.marketing-auth-confirmed b{display:block;margin:5px 0 0;color:#f9f9f9;font-size:19px}.marketing-auth-confirmed p{margin:8px 0 0;color:#c6c6c6;font-size:13px;line-height:1.55}.marketing-auth-confirmed strong{color:#f4f4f4;font-weight:750;overflow-wrap:anywhere}.marketing-auth-confirmed small{display:block;margin-top:12px;color:#999999;font-size:11px;line-height:1.45}.verification-page{min-height:100vh;display:grid;place-items:center;padding:32px;background:radial-gradient(circle at 50% 20%,#4a4a4a2b,transparent 34%),linear-gradient(145deg,#141414,#101010 72%)}.verification-card{width:min(540px,100%);padding:49px 44px 39px;border:1px solid #4a4a4a;border-radius:20px;background:linear-gradient(145deg,#232323,#141414 75%);box-shadow:0 35px 100px #000000bb;text-align:center}.verification-card>img{width:42px;height:42px;object-fit:contain;image-rendering:pixelated}.verification-card .eyebrow{display:block;margin-top:17px;color:#b3b3b3}.verification-orb{display:grid;place-items:center;width:58px;height:58px;margin:22px auto 13px;border:1px solid #878787;border-radius:18px;background:#9a9a9a20;color:#cccccc;font-size:25px;box-shadow:0 0 35px #7f7f7f30}.verification-card h1{margin:0;color:#f9f9f9;font:750 34px/1.1 Inter,ui-sans-serif,system-ui,sans-serif;letter-spacing:-.05em}.verification-card p{margin:13px auto 22px;max-width:380px;color:#bebebe;font-size:14px;line-height:1.6}.verification-card p[data-state=success]{color:#dadada}.verification-card p[data-state=error]{color:#c1c1c1}.verification-cta{display:inline-flex;align-items:center;gap:8px;padding:12px 16px;border-radius:9px;background:linear-gradient(135deg,#8a8a8a,#afafaf);box-shadow:0 12px 25px #6464642f;color:#ffffff;text-decoration:none;font:800 13px Inter,ui-sans-serif,system-ui,sans-serif}.verification-card>small{display:block;margin-top:20px;color:#959595;font-size:11px}
.studio-projects-view{max-width:1280px;margin:0 auto}.studio-library-count{color:#a1a1a1;font-size:11px;white-space:nowrap}.studio-library-nav button{display:flex;align-items:center;justify-content:space-between;gap:10px}.studio-library-nav button b{min-width:20px;padding:2px 6px;border:1px solid #494949;border-radius:999px;color:#bababa;font-size:10px;text-align:center}.studio-library-nav button.active b{border-color:#999999;color:#d9d9d9}.studio-project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:18px;margin-top:26px}.studio-project-card{display:grid;gap:8px;padding:12px;border:1px solid #3c3c3c;border-radius:14px;background:linear-gradient(145deg,#212121,#181818);color:#f0f0f0;text-align:left;cursor:pointer;transition:transform .16s,border-color .16s,box-shadow .16s}.studio-project-card:hover,.studio-project-card:focus-visible{border-color:#939393;box-shadow:0 15px 35px #00000044;transform:translateY(-2px);outline:0}.studio-project-art{display:grid;place-items:center;min-height:150px;overflow:hidden;border-radius:9px;background:radial-gradient(circle at 50% 35%,#353535,#191919 68%);border:1px solid #353535}.studio-project-art img{width:75%;height:130px;object-fit:contain;image-rendering:pixelated}.studio-project-art>span{font-size:38px;color:#939393}.studio-project-card b{font-size:16px}.studio-project-card small{min-height:17px;color:#a2a2a2;font-size:11px;line-height:1.35}.studio-project-card>span:last-child{margin-top:5px;color:#aeaeae;font-size:11px;font-weight:800}.studio-project-empty,.studio-library-empty{display:grid;place-items:center;gap:9px;min-height:320px;padding:35px;border:1px dashed #474747;border-radius:15px;background:linear-gradient(145deg,#202020,#181818);text-align:center}.studio-project-empty{max-width:720px;margin:30px auto}.studio-project-empty-icon,.studio-library-empty>div{display:grid;place-items:center;width:54px;height:54px;border:1px solid #808080;border-radius:15px;background:#84848422;color:#afafaf;font-size:25px}.studio-project-empty h2,.studio-library-empty h2{margin:4px 0 0;color:#f5f5f5;font-size:22px}.studio-project-empty p,.studio-library-empty p{max-width:480px;margin:0;color:#adadad;font-size:13px;line-height:1.55}.studio-project-empty button,.studio-library-empty button{margin-top:9px;padding:11px 15px;border:0;border-radius:8px;background:linear-gradient(135deg,#868686,#b5b5b5);color:#ffffff;font:800 12px Inter,ui-sans-serif,system-ui,sans-serif;cursor:pointer}.studio-project-dialog,.studio-project-picker-dialog{width:min(560px,calc(100vw - 32px))}.studio-project-form{padding:23px 25px 27px}.studio-project-form>button{margin-top:7px}.studio-project-picker{display:grid;gap:9px;padding:22px 24px 25px}.studio-project-picker button{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;padding:12px;border:1px solid #444444;border-radius:10px;background:#1d1d1d;color:#efefef;text-align:left;cursor:pointer}.studio-project-picker button:hover,.studio-project-picker button.active{border-color:#939393;background:linear-gradient(135deg,#272727,#212121)}.studio-project-picker button:disabled{opacity:.6;cursor:wait}.studio-project-picker-icon,.studio-project-picker-clear>span:first-child{display:grid;place-items:center;width:32px;height:32px;border:1px solid #7b7b7b;border-radius:9px;background:#77777720;color:#b0b0b0;font-size:17px}.studio-project-picker b{display:block;font-size:13px}.studio-project-picker small{display:block;margin-top:3px;color:#a2a2a2;font-size:10px}.studio-project-picker i{color:#aaaaaa;font-style:normal;font-weight:800}.studio-project-picker-clear{margin-top:4px!important;border-style:dashed!important;background:transparent!important}.studio-project-picker-empty{display:grid;place-items:center;gap:9px;padding:30px 24px 35px;text-align:center}.studio-project-picker-empty>div{color:#aeaeae;font-size:28px}.studio-project-picker-empty h3{margin:0;color:#f5f5f5;font-size:19px}.studio-project-picker-empty p{margin:0;color:#adadad;font-size:12px}.studio-project-picker-empty button{margin-top:7px;padding:10px 14px;border:0;border-radius:8px;background:linear-gradient(135deg,#868686,#b5b5b5);color:#ffffff;font:800 12px Inter,ui-sans-serif,system-ui,sans-serif;cursor:pointer}.studio-viewer-project{margin-left:auto!important;border:1px solid #767676!important;border-radius:8px!important;background:linear-gradient(135deg,#2c2c2c,#232323)!important;color:#cdcdcd!important;font:800 11px Inter,ui-sans-serif,system-ui,sans-serif!important;cursor:pointer}.studio-viewer-project:hover{border-color:#b5b5b5!important;background:#353535!important}
@media(max-width:720px){.studio-project-grid{grid-template-columns:1fr 1fr}.studio-library-count{display:none}.studio-project-picker{padding:17px}.studio-viewer-project{font-size:10px!important;padding:8px 9px!important}}@media(max-width:500px){.studio-project-grid{grid-template-columns:1fr}}

/* Viewer project action: make grouping feel like a first-class toolbar action. */
.studio-viewer-project{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-width:148px;min-height:36px;margin-left:auto!important;padding:8px 14px!important;border:1px solid #828282!important;border-radius:10px!important;background:linear-gradient(135deg,#333333,#242424)!important;color:#dfdfdf!important;font:800 11px/1 Inter,ui-sans-serif,system-ui,sans-serif!important;letter-spacing:.01em;box-shadow:0 6px 14px #00000033,inset 0 1px 0 #d7d7d71c;cursor:pointer;transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease,color .16s ease}
.studio-viewer-project:hover,.studio-viewer-project:focus-visible{border-color:#b6b6b6!important;background:linear-gradient(135deg,#3c3c3c,#2b2b2b)!important;color:#f6f6f6!important;box-shadow:0 8px 18px #00000055,0 0 0 3px #a6a6a624;transform:translateY(-1px);outline:none}
.studio-viewer-project:active{transform:translateY(0);box-shadow:0 4px 10px #00000044}
.studio-project-action-icon{display:grid;place-items:center;width:18px;height:18px;border:1px solid #a6a6a6;border-radius:5px;background:#a6a6a620;color:#cccccc;font-size:12px;line-height:1}
.studio-viewer-project>span:last-child{white-space:nowrap}
@media(max-width:720px){.studio-viewer-project{min-width:0;font-size:10px!important;padding:8px 10px!important}.studio-project-action-icon{width:17px;height:17px}}
@media(max-width:500px){.studio-viewer-project{gap:5px;padding-inline:8px!important}.studio-project-action-icon{display:none}}

/* Theme reference access is always visible; premium controls are clear but non-blocking. */
.studio-theme-reference{position:relative}
.studio-theme-reference>div{min-height:64px;flex-wrap:wrap}
.studio-theme-reference>div>p{min-width:180px}
.studio-theme-reference [data-theme-reference]{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:132px;white-space:nowrap;border-color:#858585;background:linear-gradient(135deg,#2b2b2b,#222222);color:#dddddd;transition:.16s ease}
.studio-theme-reference [data-theme-reference]:hover,.studio-theme-reference [data-theme-reference]:focus-visible{border-color:#b5b5b5;background:linear-gradient(135deg,#383838,#292929);color:#f7f7f7;box-shadow:0 0 0 3px #a6a6a624;outline:none}
.studio-theme-reference [data-theme-reference].is-locked{border-style:dashed;color:#bababa;background:#1f1f1f}
.studio-theme-reference [data-theme-reference].is-locked:hover{border-color:#acacac;background:#272727}
.studio-reference-access-note{display:block;margin-top:11px;color:#959595;font-size:10px;line-height:1.4}
.studio-theme-reference-picker{width:min(860px,100%)}
.studio-theme-reference-picker-meta{display:flex;justify-content:space-between;gap:12px;padding:16px 22px 0;color:#acacac;font-size:11px}.studio-theme-reference-picker-meta b{color:#cccccc}
.studio-theme-reference-choice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:18px 22px;max-height:470px;overflow:auto}
.studio-theme-reference-choice{display:grid;grid-template-columns:58px minmax(0,1fr) 22px;align-items:center;gap:10px;padding:8px;border:1px solid #3d3d3d;border-radius:10px;background:linear-gradient(145deg,#222222,#181818);color:#efefef;text-align:left;cursor:pointer;transition:.16s ease}.studio-theme-reference-choice:hover{border-color:#979797;transform:translateY(-1px)}.studio-theme-reference-choice.selected{border-color:#adadad;background:linear-gradient(145deg,#373737,#252525)}.studio-theme-reference-choice:disabled{opacity:.45;cursor:not-allowed;transform:none}.studio-theme-reference-choice .checker{display:grid;place-items:center;width:56px;height:56px;border-radius:7px;overflow:hidden}.studio-theme-reference-choice img{max-width:50px;max-height:50px;image-rendering:pixelated}.studio-theme-reference-choice b,.studio-theme-reference-choice small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.studio-theme-reference-choice b{font-size:11px}.studio-theme-reference-choice small{margin-top:4px;color:#a1a1a1;font-size:9px}.studio-theme-reference-choice i{display:grid;place-items:center;width:20px;height:20px;border-radius:6px;background:#a8a8a820;color:#cccccc;font-style:normal;font-weight:800}
.studio-theme-reference-picker footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 22px;border-top:1px solid #333333;color:#9e9e9e;font-size:10px}.studio-confirm-theme-references{border:0;border-radius:8px;padding:10px 13px;background:linear-gradient(135deg,#999999,#bababa);color:#ffffff;font:800 11px Inter,ui-sans-serif,system-ui,sans-serif;cursor:pointer}.studio-confirm-theme-references:disabled{opacity:.45;cursor:not-allowed}
.studio-premium-reference-lock{display:grid;place-items:center;gap:9px;padding:48px 28px 54px;text-align:center}.studio-premium-reference-lock-icon{display:grid;place-items:center;width:58px;height:58px;border:1px solid #969696;border-radius:18px;background:#97979720;color:#cdcdcd;font-size:25px}.studio-premium-reference-lock h3{margin:2px 0 0;color:#f5f5f5;font-size:21px}.studio-premium-reference-lock p{max-width:470px;margin:0;color:#b1b1b1;font-size:12px;line-height:1.55}.studio-premium-reference-lock button{margin-top:7px;border:0;border-radius:8px;padding:11px 15px;background:linear-gradient(135deg,#999999,#bababa);color:#ffffff;font:800 11px Inter,ui-sans-serif,system-ui,sans-serif;cursor:pointer}
@media(max-width:700px){.studio-theme-reference-choice-grid{grid-template-columns:1fr 1fr;padding-inline:15px}.studio-theme-reference-picker footer{align-items:flex-start;flex-direction:column;padding-inline:15px}.studio-theme-reference-picker-meta{padding-inline:15px}}
@media(max-width:460px){.studio-theme-reference-choice-grid{grid-template-columns:1fr}.studio-theme-reference>div{align-items:flex-start;flex-direction:column}}

.studio-theme-form-references{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px;padding:13px 14px;border:1px solid #404040;border-radius:10px;background:linear-gradient(135deg,#232323,#1b1b1b)}.studio-theme-form-references>div{display:grid;gap:4px;min-width:0}.studio-theme-form-references .studio-kicker{margin:0;color:#b9b9b9}.studio-theme-form-references b{color:#f3f3f3;font-size:12px}.studio-theme-form-references small{color:#acacac;font-size:10px;line-height:1.4}.studio-theme-form-references button{flex:0 0 auto;border:1px solid #888888;border-radius:8px;padding:9px 11px;background:linear-gradient(135deg,#2e2e2e,#232323);color:#dbdbdb;font:800 10px Inter,ui-sans-serif,system-ui,sans-serif;cursor:pointer}.studio-theme-form-references button:hover,.studio-theme-form-references button:focus-visible{border-color:#b5b5b5;background:#383838;color:#f6f6f6;outline:none}.studio-theme-reference-pending{flex:0 0 auto;color:#a9a9a9;font-size:10px;font-weight:700;text-align:right}.studio-theme-form-references .studio-theme-upgrade-references{border-style:solid;background:linear-gradient(135deg,#999999,#bababa);color:#ffffff}.studio-theme-form-references .studio-theme-upgrade-references:hover{background:linear-gradient(135deg,#a9a9a9,#c6c6c6)}
@media(max-width:600px){.studio-theme-form-references{align-items:flex-start;flex-direction:column}.studio-theme-form-references button,.studio-theme-reference-pending{align-self:stretch;text-align:center}}

/* Auth recovery controls: keep them independent from the global button/input skin. */
.marketing-auth-dialog form > .marketing-auth-forgot,
.studio-auth-dialog form > .studio-auth-forgot {
  display: block !important;
  grid-column: 1 / -1;
  width: 100% !important;
  min-height: 0 !important;
  margin: -3px 0 0 !important;
  padding: 3px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #afafaf !important;
  appearance: none;
  text-align: right;
  text-decoration: none;
  font: 600 11px/1.4 Inter, ui-sans-serif, system-ui, sans-serif !important;
  cursor: pointer;
}
.marketing-auth-dialog form > .marketing-auth-forgot:hover,
.marketing-auth-dialog form > .marketing-auth-forgot:focus-visible,
.studio-auth-dialog form > .studio-auth-forgot:hover,
.studio-auth-dialog form > .studio-auth-forgot:focus-visible {
  background: transparent !important;
  color: #bdbdbd !important;
  text-decoration: underline;
  outline: none;
}
.password-reset-card form {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  gap: 14px !important;
  margin: 22px auto 0 !important;
  max-width: 360px !important;
  text-align: left;
}
.password-reset-card form > label,
.password-reset-card form > label.password-reset-field {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 7px !important;
  width: 100%;
  margin: 0;
  color: #d8d8d8 !important;
  font: 700 12px/1.35 Inter, ui-sans-serif, system-ui, sans-serif !important;
}
.password-reset-card form > label input,
.password-reset-card form > label.password-reset-field input {
  display: block !important;
  width: 100% !important;
  height: 44px !important;
  min-height: 44px !important;
  box-sizing: border-box;
  margin: 0;
  padding: 11px 12px !important;
  border: 1px solid #484848 !important;
  border-radius: 8px !important;
  background: #0f0f0f !important;
  color: #ffffff !important;
  appearance: none;
  outline: none;
  font: 14px/1.35 Inter, ui-sans-serif, system-ui, sans-serif !important;
}
.password-reset-card form > label input:focus {
  border-color: #adadad !important;
  box-shadow: 0 0 0 3px #adadad20 !important;
}
.password-reset-card form > #password-reset-error {
  display: block;
  min-height: 16px;
  margin: 0 !important;
  color: #bebebe !important;
  font-size: 12px;
  line-height: 1.4;
}
.password-reset-card form > button.verification-cta {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-height: 44px;
  box-sizing: border-box;
  border: 0 !important;
  border-radius: 9px !important;
  background: linear-gradient(135deg,#8a8a8a,#afafaf) !important;
  box-shadow: 0 12px 25px #6464642f !important;
  color: #ffffff !important;
  font: 800 13px Inter, ui-sans-serif, system-ui, sans-serif !important;
  cursor: pointer;
}
.password-reset-card form > button.verification-cta:disabled { opacity: .65; cursor: wait; }
@media (max-width: 600px) {
  .marketing-auth-dialog { padding: 27px 22px; }
  .password-reset-card { padding: 36px 22px 30px; }
  .password-reset-card form { max-width: none !important; }
}
/* Home composer submit arrow */
.studio-home-view .studio-history{color:#989898!important;cursor:pointer;transition:color .18s ease,transform .18s ease}
.studio-home-view .studio-history:hover{color:#bbbbbb!important;transform:rotate(-35deg)}


/* app-viewer.css */
/* Focused asset viewer: one unobtrusive modal, preview, zoom and exports. */
/* A details element wraps animated exports; only its summary is a button. */
.studio-viewer-toolbar details.studio-viewer-download,.studio-viewer-toolbar details.studio-viewer-download:hover{display:block!important;min-height:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:inherit!important}
.studio-overlay:has(.studio-asset-dialog){
  padding:18px!important;
  background:rgba(11,11,11,.48)!important;
  backdrop-filter:blur(14px) saturate(.88)!important;
  -webkit-backdrop-filter:blur(14px) saturate(.88)!important;
}
.studio-asset-dialog{width:min(1080px,calc(100vw - 32px));max-height:min(820px,calc(100vh - 32px));overflow:hidden;display:flex;flex-direction:column;border:1px solid #444444!important;border-radius:16px!important;background:#1a1a1a!important;box-shadow:0 28px 90px rgba(0,0,0,.62)!important}
.studio-asset-dialog>header{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;flex:0 0 auto;height:auto!important;min-height:72px;padding:14px 20px;border-bottom:1px solid #393939;background:linear-gradient(180deg,#242424,#1d1d1d)!important;border-radius:15px 15px 0 0}
.studio-asset-dialog>header>[data-modal-close]{flex:0 0 auto;white-space:nowrap}
.studio-viewer-title{min-width:0;display:grid;gap:2px;padding:0 2px}.studio-viewer-title .studio-kicker{margin:0;font-size:10px;line-height:1.1;letter-spacing:.12em;color:#aeaeae}.studio-viewer-title h2{margin:0;color:#f8f8f8;font:760 20px/1.18 Inter,ui-sans-serif,system-ui,sans-serif;letter-spacing:-.02em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;overflow-wrap:anywhere;word-break:break-word}
.studio-asset-detail{display:flex!important;flex:1 1 auto;min-height:0!important;flex-direction:column!important;border:0!important}.studio-asset-detail>aside{display:none!important}
.studio-asset-preview{position:relative;isolation:isolate;display:grid!important;place-items:center;flex:1 1 auto;min-height:280px;height:auto!important;padding:28px!important;overflow:auto;background:#181818!important;cursor:zoom-in}
.studio-asset-preview::before{content:"";position:absolute;z-index:-1;width:min(68%,560px);aspect-ratio:1;transform:rotate(45deg);border-radius:8px;background:linear-gradient(145deg,#2b2b2b,#212121);opacity:.78;pointer-events:none}
.studio-asset-preview>img{position:relative;z-index:1;display:block;max-width:min(82%,760px)!important;max-height:min(62vh,560px)!important;width:auto;height:auto;object-fit:contain;image-rendering:pixelated;transform-origin:center center;transition:transform .16s ease}.studio-asset-preview .studio-zoom{display:none!important}
.studio-viewer-header-actions{display:flex;align-items:center;gap:8px}.studio-viewer-edit,.studio-viewer-animate{min-height:34px;padding:8px 10px;border-radius:8px;color:#eaeaea;font:800 12px/1 Inter,ui-sans-serif,system-ui,sans-serif;cursor:pointer;box-shadow:0 8px 18px #00000033}.studio-viewer-edit{width:auto!important;height:auto!important;display:inline-flex!important;align-items:center;border:1px solid #a8a8a8!important;background:linear-gradient(135deg,#858585,#aaaaaa)!important;color:#fbfbfb!important}.studio-viewer-edit:hover{border-color:#d8d8d8!important;background:#9f9f9f!important;transform:translateY(-1px)}.studio-viewer-animate{border:1px solid #808080;background:linear-gradient(135deg,#393939,#272727)}.studio-viewer-animate:hover{border-color:#c3c3c3;background:#4b4b4b;transform:translateY(-1px)}
.studio-viewer-toolbar{display:grid;grid-template-columns:minmax(160px,1fr) auto minmax(180px,1fr) auto;align-items:center;gap:12px;flex:0 0 auto;min-height:66px;padding:10px 16px;border-top:1px solid #393939;background:linear-gradient(180deg,#272727,#1b1b1b);border-radius:0 0 15px 15px}.studio-viewer-toolbar-label{display:inline-flex;align-items:center;gap:7px;color:#b5b5b5;font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.studio-viewer-toolbar-label::before{content:"";width:7px;height:7px;border-radius:50%;background:#989898;box-shadow:0 0 0 4px #9898981c}.studio-viewer-zoom-group{padding:4px;border:1px solid #414141;border-radius:10px;background:#1a1a1a;box-shadow:inset 0 1px #ffffff08}.studio-viewer-toolbar .studio-zoom{position:static!important;display:flex!important;align-items:center;gap:3px;padding:0!important;background:transparent!important;color:#d8d8d8;font-size:12px}.studio-viewer-toolbar .studio-zoom button{width:29px;height:29px;border:1px solid transparent;border-radius:7px;background:#2e2e2e;color:#dddddd;font-weight:800;cursor:pointer}.studio-viewer-toolbar .studio-zoom button:hover:not(:disabled){border-color:#aaaaaa;background:#2b2b2b}.studio-viewer-toolbar .studio-zoom button:disabled{opacity:.38;cursor:not-allowed}.studio-viewer-toolbar .studio-zoom b{min-width:46px;text-align:center;color:#e2e2e2;font-size:10px}.studio-viewer-toolbar-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px}.studio-viewer-toolbar .studio-viewer-toolbar-edit,.studio-viewer-toolbar .studio-viewer-download,.studio-viewer-toolbar .studio-download-menu summary{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 13px;border-radius:8px;font:800 11px/1 Inter,ui-sans-serif,system-ui,sans-serif;white-space:nowrap;cursor:pointer;text-decoration:none;list-style:none}.studio-viewer-toolbar .studio-viewer-toolbar-edit{width:auto!important;height:36px!important;border:1px solid #5e5e5e!important;background:#303030!important;color:#ededed!important}.studio-viewer-toolbar .studio-viewer-toolbar-edit:hover{border-color:#a9a9a9!important;background:#3f3f3f!important}.studio-viewer-toolbar .studio-viewer-download,.studio-viewer-toolbar .studio-download-menu summary{border:1px solid #a8a8a8;background:linear-gradient(135deg,#858585,#aaaaaa);color:#f9f9f9;box-shadow:0 7px 16px #5f5f5f33}.studio-viewer-toolbar .studio-viewer-download:hover,.studio-viewer-toolbar .studio-download-menu summary:hover{border-color:#d8d8d8;background:#9f9f9f}.studio-viewer-toolbar .studio-download-menu{position:relative}.studio-viewer-toolbar .studio-download-menu>div{position:absolute;right:0;bottom:calc(100% + 8px);z-index:2;display:grid;min-width:170px;padding:6px;border:1px solid #4b4b4b;border-radius:9px;background:#1a1a1a;box-shadow:0 14px 35px #00000099}.studio-viewer-toolbar .studio-download-menu a{padding:9px 10px;border-radius:6px;color:#e2e2e2;text-decoration:none;font-size:12px;white-space:nowrap}.studio-viewer-toolbar .studio-download-menu a:hover{background:#282828;color:#ffffff}
@media (max-width:700px){.studio-asset-dialog{width:calc(100vw - 18px);max-height:calc(100vh - 18px);border-radius:12px!important}.studio-asset-dialog>header{min-height:64px;padding:12px;gap:10px;border-radius:11px 11px 0 0}.studio-viewer-title h2{font-size:15px}.studio-viewer-animate{padding:0 10px;font-size:11px}.studio-asset-preview{min-height:240px;padding:16px!important}.studio-asset-preview>img{max-width:96%!important;max-height:58vh!important}.studio-viewer-toolbar{grid-template-columns:auto minmax(0,1fr);gap:7px;padding:9px;border-radius:0 0 11px 11px}.studio-viewer-toolbar-label{display:none}.studio-viewer-toolbar-actions{gap:6px}.studio-viewer-toolbar .studio-asset-download,.studio-viewer-toolbar .studio-download-menu summary{padding:0 10px;font-size:11px}.studio-viewer-project{grid-column:1/-1;justify-self:end}}


/* manual-editor.css */
.manual-editor-view { position: relative; display: grid; grid-template-rows: auto 1fr; min-height: 100vh; padding: 0; background: #141414; overflow: hidden; }
.manual-editor-toolbar { min-height: 68px; display: grid; grid-template-columns: minmax(250px,1fr) auto auto; align-items: center; gap: 16px; padding: 9px 20px; background: #1f1f1f; border-bottom: 1px solid #3b3b3b; box-shadow: 0 8px 25px #00000066; z-index: 4; }
.manual-editor-identity,.manual-editor-tools { display: flex; align-items: center; gap: 10px; min-width: 0; }
.manual-editor-identity>div { display: grid; gap: 2px; flex: 0 0 auto; }.manual-editor-identity b { color: #f4f4f4; font-size: .92rem; }.manual-editor-kicker { color: #9e9e9e; font-size: .61rem; font-weight: 800; letter-spacing: .11em; }.manual-editor-identity [data-editor-asset-name] { min-width: 0; max-width: 420px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #b7b7b7; font-size: .78rem; padding-left: 12px; border-left: 1px solid #414141; }.manual-editor-identity [data-editor-frame-summary] { color: #b7b7b7; font-size: .68rem; white-space: nowrap; }
.manual-editor-view[data-editor-mode="animation"] .manual-editor-kicker { color: #b7b7b7; }
.manual-editor-toolbar button { border: 1px solid #4f4f4f; border-radius: 7px; background: #2b2b2b; color: #e2e2e2; min-height: 36px; padding: 0 12px; font: inherit; font-size: .76rem; cursor: pointer; }
.manual-editor-toolbar button:hover:not(:disabled) { color: #ffffff; border-color: #929292; background: #383838; }
.manual-editor-toolbar button:disabled { opacity: .42; cursor: not-allowed; }
.manual-editor-toolbar .manual-editor-save { background: #787878; color: #ffffff; border-color: #a4a4a4; font-weight: 800; }
.manual-editor-status { font-size: .72rem; color: #a5a5a5; white-space: nowrap; }
.manual-editor-status[data-state="dirty"] { color: #bcbcbc; }.manual-editor-status[data-state="saving"] { color: #cdcdcd; }.manual-editor-status[data-state="saved"] { color: #bbbbbb; }.manual-editor-status[data-state="error"] { color: #999999; }
.manual-editor-stage { position: relative; min-height: 0; height: calc(100vh - 68px); background: #141414; }
.manual-editor-stage iframe { width: 100%; height: 100%; border: 0; display: block; background: #222222; }
.manual-editor-loading { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; gap: 12px; text-align: center; color: #cbcbcb; background: #0d0d0df2; }
.manual-editor-loading[hidden] { display: none; }.manual-editor-loading span { width: 34px; height: 34px; margin: auto; border: 3px solid #393939; border-top-color: #838383; border-radius: 50%; animation: manual-spin .8s linear infinite; }
@keyframes manual-spin { to { transform: rotate(360deg); } }
.manual-editor-picker { position: absolute; inset: 68px 0 0; z-index: 7; display: grid; place-items: center; padding: 28px; background: #141414e8; backdrop-filter: blur(9px); overflow: auto; }.manual-editor-picker[hidden] { display: none; }
.manual-editor-chooser { width: min(880px,100%); max-height: 100%; overflow: auto; padding: 24px; border: 1px solid #3a3a3a; border-radius: 14px; background: #151515; box-shadow: 0 24px 80px #000000bb; color: #d3d3d3; }
.manual-editor-chooser-head { display: flex; justify-content: space-between; gap: 20px; }.manual-editor-chooser-head span { color: #858585; font-size: .7rem; letter-spacing: .12em; }.manual-editor-chooser-head h2 { margin: 5px 0; color: #ffffff; }.manual-editor-chooser-head p { margin: 0 0 16px; color: #929292; }.manual-editor-chooser-head button { border: 0; background: transparent; color: #9c9c9c; font-size: 1.5rem; cursor: pointer; }
.manual-editor-search { display: flex; gap: 8px; align-items: center; border: 1px solid #363636; border-radius: 8px; padding: 0 12px; background: #0e0e0e; }.manual-editor-search input { flex: 1; height: 42px; border: 0; outline: 0; background: transparent; color: #ffffff; }
.manual-editor-assets { display: grid; grid-template-columns: repeat(auto-fill,minmax(106px,1fr)); gap: 10px; margin: 16px 0 22px; max-height: 340px; overflow: auto; padding: 2px; }
.manual-editor-assets>button { display: grid; min-width: 0; aspect-ratio: 1; padding: 7px; border: 1px solid #303030; border-radius: 10px; background: #1b1b1b; cursor: pointer; transition: border-color .16s ease, background .16s ease, transform .16s ease; }.manual-editor-assets>button:hover { border-color: #8c8c8c; background: #222222; transform: translateY(-1px); }.manual-editor-assets>button:focus-visible { outline: 2px solid #b1b1b1; outline-offset: 2px; }.manual-editor-assets .checker { display: grid; min-width: 0; min-height: 0; place-items: center; overflow: hidden; border-radius: 6px; }.manual-editor-assets img { display: block; max-width: 100%; max-height: 100%; image-rendering: pixelated; }
.manual-editor-upload { display: grid; grid-template-columns: 1.2fr auto 1fr 1fr auto; gap: 9px; align-items: end; padding-top: 18px; border-top: 1px solid #303030; }.manual-editor-upload div b,.manual-editor-upload div small { display: block; }.manual-editor-upload div small { margin-top: 5px; color: #888888; }.manual-editor-upload input,.manual-editor-upload select { min-width: 0; height: 40px; border: 1px solid #3a3a3a; border-radius: 7px; padding: 0 10px; background: #0d0d0d; color: #eeeeee; }.manual-editor-upload input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }.manual-editor-file { display: grid; place-items: center; height: 40px; padding: 0 12px; border: 1px solid #454545; border-radius: 7px; background: #222222; color: #d7d7d7; font-size: .76rem; font-weight: 700; cursor: pointer; }.manual-editor-upload button { height: 40px; border: 1px solid #878787; border-radius: 7px; padding: 0 15px; background: #6b6b6b; color: #ffffff; font-weight: 800; cursor: pointer; }.manual-editor-upload p { grid-column: 1/-1; margin: 0; color: #a1a1a1; }
.manual-editor-history { position: absolute; top: 68px; right: 16px; z-index: 8; width: min(390px,calc(100% - 32px)); max-height: 70vh; overflow: auto; border: 1px solid #505050; border-radius: 10px; background: #1f1f1f; box-shadow: 0 20px 60px #000000cc; color: #e2e2e2; }.manual-editor-history[hidden] { display: none; }.manual-editor-history header { position: sticky; top: 0; display: flex; justify-content: space-between; padding: 14px; background: #2b2b2b; border-bottom: 1px solid #444444; }.manual-editor-history header button { border: 0; background: none; color: #b7b7b7; cursor: pointer; }.manual-editor-history [data-editor-history-list] { padding: 8px; }.manual-editor-history [data-editor-history-list]>button { width: 100%; display: flex; justify-content: space-between; gap: 12px; padding: 11px; border: 0; border-bottom: 1px solid #3c3c3c; background: transparent; color: inherit; text-align: left; cursor: pointer; }.manual-editor-history [data-editor-history-list]>button:hover { background: #2d2d2d; }.manual-editor-history small,.manual-editor-history time { display: block; margin-top: 4px; color: #a5a5a5; font-size: .68rem; }
.manual-editor-mobile { display: none; padding: 40px 24px; text-align: center; color: #cacaca; }.manual-editor-mobile p { color: #898989; }
@media (max-width: 1023px) { .manual-editor-toolbar,.manual-editor-stage,.manual-editor-picker,.manual-editor-history { display: none !important; }.manual-editor-view { display: block; min-height: 100vh; }.manual-editor-mobile { display: block; } }
@media (max-width: 1280px) { .manual-editor-toolbar { grid-template-columns: 1fr auto; }.manual-editor-status { display: none; }.manual-editor-identity [data-editor-asset-name] { max-width: 260px; }.manual-editor-upload { grid-template-columns: 1fr 1fr; } }

/* The editor is a workstation, not a marketing-sized studio panel. */
@media (min-width: 1024px) {
  .studio-shell:has(#studio-content > .manual-editor-view),.studio-shell:has(#studio-content > .manual-editor-view) .studio-main { height: 100vh; overflow: hidden; }
  #studio-content:has(> .manual-editor-view) { height: 100%; }
  #studio-content > .manual-editor-view { width: 100% !important; max-width: none !important; height: 100%; min-height: 0 !important; margin: 0 !important; }
}


/* library-import.css */
.studio-library-header-actions{display:flex;align-items:center;gap:9px}.studio-library-import{display:inline-flex;align-items:center;gap:7px;border:1px solid #545454;border-radius:8px;background:#222222;color:#eaeaea;padding:10px 12px;font-weight:800;cursor:pointer}.studio-library-import:hover{border-color:#9f9f9f;background:#282828}.studio-library-import .studio-icon{font-size:15px;color:#aeaeae}.studio-library-import-dialog{width:min(560px,100%);overflow:hidden!important}.studio-library-import-dialog form{padding:20px}.studio-library-dropzone{box-sizing:border-box;width:100%;min-height:205px;border:1px dashed #5f5f5f;border-radius:12px;background:linear-gradient(145deg,#1b1b1b,#161616);color:#ebebeb;display:grid;place-content:center;gap:8px;text-align:center;cursor:pointer;transition:.16s ease}.studio-library-dropzone:hover,.studio-library-dropzone.is-over{border-color:#a4a4a4;background:#242424}.studio-library-dropzone.is-ready{border-style:solid;border-color:#858585}.studio-library-dropzone>span{font-size:27px;color:#a4a4a4}.studio-library-dropzone b{font-size:14px}.studio-library-dropzone small{color:#9d9d9d;font-size:11px}.studio-library-import-file{min-height:18px;margin:11px 0;color:#b1b1b1;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.studio-library-import-dialog .studio-auth-error{margin:0 0 12px}.studio-library-import-actions{display:flex;box-sizing:border-box;align-items:center;justify-content:space-between;gap:16px;padding-top:15px;border-top:1px solid #3a3a3a}.studio-library-import-actions small{max-width:260px;color:#9c9c9c;font-size:10px;line-height:1.4}.studio-library-import-submit{border:1px solid #a6a6a6;border-radius:8px;background:linear-gradient(135deg,#858585,#a9a9a9);color:#ffffff;padding:11px 14px;font-weight:800;cursor:pointer}.studio-library-import-submit:disabled{opacity:.5;cursor:not-allowed}@media(max-width:700px){.studio-library-header-actions{gap:6px}.studio-library-import{padding:9px}.studio-library-import-dialog form{padding:15px}.studio-library-import-actions{align-items:stretch;flex-direction:column}.studio-library-import-actions small{max-width:none}.studio-library-import-submit{width:100%}}


/* landing-overrides.css */
/* Compact, SpriteCook-inspired prompt bar for the first conversion step. */
.hero-character-cta{width:min(700px,100%);margin:28px auto 0;text-align:left}
.hero-character-cta label{display:block;margin:0 0 9px 12px;color:#ebebeb;font-size:12px;font-weight:800;letter-spacing:.01em}
.hero-character-cta>div{display:flex;align-items:center;gap:8px;padding:5px 6px 5px 12px;border:1px solid #777777;border-radius:14px;background:#202020;box-shadow:0 14px 32px #00000077,inset 0 1px #ffffff0c}
.hero-character-cta .hero-prompt-icon{flex:0 0 28px;width:28px;color:#a9a9a9;font-size:17px}
.hero-character-cta input{min-width:0;flex:1;height:42px;padding:0 5px;border:0;outline:0;background:transparent;color:#f0f0f0;font:500 15px Inter,ui-sans-serif,system-ui,sans-serif}
.hero-character-cta input::placeholder{color:#9d9d9d}
.hero-character-cta button{flex:0 0 auto;min-height:42px;padding:0 22px;border-radius:10px;background:#b0b0b0;color:#1b1b1b;font-size:14px;font-weight:850;box-shadow:none;transition:transform .18s ease,filter .18s ease}
.hero-character-cta button:hover{filter:brightness(1.06);transform:translateY(-1px)}
.creator-intro-compact{margin:0 auto 16px;text-align:left;max-width:1100px}
@media(max-width:600px){.hero-character-cta>div{padding:6px}.hero-character-cta button{padding:0 18px}.hero-character-cta input{font-size:14px}.hero-character-cta label{margin-left:7px}.creator-intro-compact{margin-bottom:12px}}


/* marketing-editor.css */
/* Human-in-the-loop editor feature on the public landing page. */
.hero-animation-cta{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin:17px auto 0;color:#aaaaaa;font-size:12px}
.hero-animation-cta>span{color:#dbdbdb;font-weight:700}
.hero-animation-cta label{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border:1px solid #acacac66;border-radius:8px;background:#ffffff08;color:#bcbcbc;font-size:11px;font-weight:800;cursor:pointer;transition:transform .18s ease,background .18s ease,border-color .18s ease}
.hero-animation-cta label:hover{transform:translateY(-1px);background:#8989891c;border-color:#b5b5b5aa}
.hero-animation-cta small{flex-basis:100%;color:#858585;font-size:10px}
.hero-animation-cta p{flex-basis:100%;margin:0;color:#aaaaaa;font-size:11px}
.editor-feature{position:relative;display:grid;grid-template-columns:minmax(280px,.78fr) minmax(0,1.22fr);gap:clamp(36px,7vw,100px);align-items:center;padding-top:120px;padding-bottom:125px}
.editor-feature-copy{position:relative;z-index:1}
.editor-feature h2{font-size:clamp(38px,5vw,62px);line-height:1.04;letter-spacing:-.065em;margin:15px 0 24px}
.editor-feature h2 span{color:#a2a2a2}
.editor-feature .lede{max-width:500px;margin:0;color:#c6c6c6;font-size:17px;line-height:1.65}
.editor-feature-note{max-width:500px;margin:18px 0 0;color:#9d9d9d;font-size:14px;line-height:1.65}
.editor-feature-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin-top:28px}
.editor-feature-actions .hero-primary{padding:13px 18px}
.editor-feature-points{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:34px;max-width:530px}
.editor-feature-points span{display:flex;flex-direction:column;gap:6px;color:#9d9d9d;font-size:11px;line-height:1.35}
.editor-feature-points b{color:#aaaaaa;font-size:10px;letter-spacing:.12em}
.editor-feature-shot{position:relative;min-width:0;margin:0;padding:10px;border:1px solid #91919155;border-radius:18px;background:linear-gradient(145deg,#282828,#191919);box-shadow:0 28px 80px #00000088,0 0 0 1px #ffffff08 inset;overflow:hidden;transform:rotate(1.2deg)}
.editor-feature-shot::before{content:"";position:absolute;inset:10px;border:1px solid #ffffff0b;border-radius:11px;pointer-events:none;z-index:1}
.editor-shot-glow{position:absolute;width:70%;height:60%;left:15%;top:18%;background:#8989892a;filter:blur(55px);pointer-events:none}
.editor-feature-shot img{position:relative;display:block;width:100%;height:auto;aspect-ratio:2348/1303;object-fit:cover;object-position:center;border-radius:10px;image-rendering:auto;opacity:.95}
.editor-feature-shot figcaption{position:absolute;left:24px;right:24px;bottom:22px;display:flex;align-items:end;justify-content:space-between;gap:16px;padding:12px 14px;border:1px solid #ffffff16;border-radius:10px;background:#141414d9;backdrop-filter:blur(12px);box-shadow:0 10px 25px #00000055}
.editor-feature-shot figcaption span{color:#b5b5b5;font-size:9px;font-weight:850;letter-spacing:.14em}
.editor-feature-shot figcaption b{color:#f0f0f0;font-size:13px;white-space:nowrap}
@media(max-width:800px){.editor-feature{grid-template-columns:1fr;gap:42px;padding-top:80px;padding-bottom:85px}.editor-feature-shot{transform:none}.editor-feature-points{max-width:none}.editor-feature-shot figcaption{left:18px;right:18px;bottom:18px}}
@media(max-width:500px){.editor-feature-points{grid-template-columns:1fr 1fr}.editor-feature-points span:last-child{grid-column:span 2}.editor-feature-shot figcaption{align-items:start;flex-direction:column;gap:4px}.editor-feature-shot figcaption b{white-space:normal}}


/* responsive.css */
/* SpriteForge mobile layer.
   Deliberately scoped to small viewports so desktop layouts remain unchanged. */

@media (max-width: 760px) {
  html, body, #app { max-width: 100%; overflow-x: hidden; }
  img, canvas, video { max-width: 100%; }
  button, input, select, textarea { max-width: 100%; }

  /* Marketing navigation and hero */
  .nav { height: 62px; padding: 0 14px; gap: 10px; }
  .brand { font-size: 16px; gap: 7px; flex: 0 0 auto; }
  .brand img { width: 25px; height: 25px; }
  .nav-links { display: none; }
  .nav-cta { padding: 9px 12px; font-size: 12px; white-space: nowrap; }
  .marketing-hero { min-height: 0; padding: 112px 16px 48px; }
  .marketing-hero-inner { width: 100%; }
  .marketing-hero h1 { font-size: clamp(39px, 12vw, 56px); line-height: 1.03; }
  .hero-copy { font-size: 16px; line-height: 1.5; }
  .hero-character-cta { width: 100%; margin-top: 24px; }
  .hero-character-cta label { margin-left: 7px; font-size: 11px; }
  .hero-character-cta > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; gap: 7px; padding: 6px; border-radius: 12px; }
  .hero-character-cta .hero-prompt-icon { display: none; }
  .hero-character-cta input { width: 100%; height: 43px; min-width: 0; padding: 0 10px; font-size: 14px; }
  .hero-character-cta button { min-height: 43px; width: auto; min-width: 92px; padding: 0 16px; border-radius: 9px; }
  .hero-character-cta small { margin-left: 7px; }
  .hero-actions { width: 100%; margin-top: 24px; }
  .hero-primary, .hero-secondary { width: 100%; justify-content: center; padding: 13px 15px; }
  .trust-row { gap: 9px 14px; line-height: 1.3; }
  .hero-art { height: 175px; margin-top: 28px; }
  .hero-art-main { width: 155px; height: 155px; padding: 10px; }
  .hero-art-small { left: 0; width: 84px; height: 84px; padding: 8px; }
  .hero-art-tiny { right: 0; width: 76px; height: 76px; padding: 9px; }
  .wrap { width: min(100% - 32px, 600px); }
  .proof-inner { min-height: 58px; gap: 14px; padding-inline: 16px; font-size: 11px; }
  .benefit-section, .workflow-v2, .showcase-v2, .gallery-v2, .theme-v2, .faq-v2 { padding: 68px 0; }
  .benefit-grid, .feature-grid-v2, .workflow-v2, .theme-v2 { grid-template-columns: 1fr; gap: 12px; }
  .benefit-grid { margin-top: 28px; }
  .benefit-grid article { min-height: 0; padding: 21px; }
  .workflow-v2 { gap: 30px; }
  .workflow-steps { grid-template-columns: 1fr; }
  .workflow-steps > div:not(.workflow-preview) { grid-template-columns: 36px 1fr; padding: 17px; }
  .workflow-preview { grid-column: auto; height: 180px; }
  .workflow-preview img { height: 145px; max-width: 75%; }
  .feature-grid-v2 { margin-top: 28px; }
  .feature-grid-v2 article, .feature-grid-v2 article:first-child { min-height: 310px; }
  .feature-grid-v2 article:first-child { min-height: 360px; }
  .feature-grid-v2 article > img, .feature-grid-v2 article:first-child > img { max-height: 210px; width: 57%; }
  .mini-assets { height: 105px; bottom: 26px; }
  .gallery-v2 .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .gallery-v2 .gallery div { height: 145px; min-height: 145px; padding: 8px; }
  .theme-v2 { gap: 30px; }
  .theme-card-v2 { min-height: 255px; padding-inline: 20px; }

  /* Logged-in workspace: compact horizontal navigation instead of a desktop rail. */
  .studio-shell { display: block; min-height: 100svh; }
  .studio-sidebar { position: sticky; top: 0; z-index: 25; height: auto; min-height: 54px; width: 100%;
    flex-direction: row; align-items: center; gap: 8px; padding: 8px 10px;
    overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
  .studio-sidebar::-webkit-scrollbar { height: 5px; }
  .studio-sidebar::-webkit-scrollbar-thumb { background: #757575; border-radius: 999px; }
  .studio-logo { flex: 0 0 auto; width: 32px; padding: 0; justify-content: center; }
  .studio-logo > span { display: none; }
  .studio-primary { display: flex; flex: 0 0 auto; gap: 3px; margin: 0; width: max-content; }
  .studio-primary button { flex: 0 0 auto; min-height: 36px; padding: 8px 9px; white-space: nowrap; font-size: 11px; }
  .studio-primary button > span:not(.studio-icon) { display: inline; }
  .studio-tools, .studio-sidebar-rule, .studio-sidebar-bottom { display: none; }
  .studio-main { min-width: 0; width: 100%; }
  .studio-view { width: 100%; max-width: none; padding: 22px 12px 40px; overflow: hidden; }
  .studio-topbar { display: flex; flex-direction: column; align-items: stretch; gap: 14px; margin-bottom: 22px; }
  .studio-topbar h1 { font-size: clamp(27px, 8vw, 34px); line-height: 1.08; }
  .studio-topbar p { font-size: 13px; line-height: 1.45; }
  .studio-credit { width: 100%; min-width: 0; }
  .studio-composer { width: 100%; padding: 14px; border-radius: 13px; }
  .studio-composer-head, .studio-composer-footer { align-items: stretch; flex-wrap: wrap; }
  .studio-composer-head { gap: 9px; }
  .studio-composer h2 { font-size: 20px; }
  .studio-composer textarea { min-height: 105px; margin: 14px 0 12px; font-size: 14px; }
  .studio-composer-footer > * { flex: 1 1 auto; }
  .studio-create { width: 100%; }
  .studio-section-title { align-items: flex-start; flex-wrap: wrap; }
  .studio-recent-grid, .studio-assets-grid, .studio-preset-grid, .studio-project-grid { grid-template-columns: 1fr; }
  .studio-theme-banner { grid-template-columns: 1fr; padding: 15px; }
  .studio-theme-art { display: none; }
  .studio-library-layout, .studio-theme-workbench, .studio-asset-detail, .studio-preset-detail { grid-template-columns: 1fr; }
  .studio-library-toolbar, .studio-filter-row { overflow-x: auto; flex-wrap: nowrap; }
  .studio-library-toolbar > *, .studio-filter-row > * { flex: 0 0 auto; }

  /* Every generation funnel uses a two-column desktop shell; stack it on mobile. */
  .creator-page, .asset-page, .studio-animation-view, .studio-animation2-view, .studio-animation3-view, .a4-view { padding: 18px 0 34px; min-height: 0; }
  .creator-intro, .asset-intro { padding-inline: 4px; margin-bottom: 24px; }
  .creator-intro h1, .asset-intro h1, .a4-head h1 { font-size: clamp(30px, 9vw, 42px); }
  .creator-intro p, .asset-intro p { font-size: 14px; line-height: 1.5; }
  .creator-shell, .asset-shell, .pack-builder, .tileset-builder, .animation-builder, .animation2-shell, .animation3-shell, .a4-shell { width: 100%; grid-template-columns: 1fr !important; border-radius: 13px; }
  .creator-controls, .asset-controls, .pack-form, .tileset-form, .animation-form, .animation2-controls, .animation3-form, .a4-panel { min-width: 0; padding: 16px; border-right: 0; border-bottom: 1px solid var(--border, #383838); }
  .creator-stage, .asset-stage, .pack-library, .tileset-library, .animation-library, .animation2-workbench, .animation3-results, .a4-stage { min-width: 0; min-height: 390px; padding: 16px; }
  .creator-row, .creator-compare, .asset-compare, .animation2-stages { grid-template-columns: 1fr; }
  .creator-compare canvas, .asset-compare canvas { min-height: 245px; max-height: none; }
  .creator-result-head, .asset-result-head { align-items: flex-start; gap: 10px; flex-wrap: wrap; }
  .creator-result-head h2, .asset-result-head h2 { font-size: 21px; overflow-wrap: anywhere; }
  .creator-result-actions, .asset-result footer { flex-wrap: wrap; align-items: center; }
  .creator-result-actions span, .asset-result footer span { max-width: 100%; }
  .perspective-picker { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .perspective-card { min-height: 105px; }
  .asset-mode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pack-library-list, .tileset-library-list { grid-template-columns: 1fr; }
  .pack-item-row, .tileset-tile-row { grid-template-columns: 18px minmax(70px, 84px) minmax(0, 1fr) 25px; }
  .animation-source-list, .animation3-sources { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .animation-motion-grid, .animation3-motions, .a4-motions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .animation-settings, .animation3-settings, .a4-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .animation-switches { display: grid; }
  .animation-library-list { min-width: 0; }
  .animation-clip-card > header, .animation-clip-card > footer { align-items: flex-start; flex-wrap: wrap; }
  .animation2-workbench > header, .animation3-results > header, .a4-stage-head { align-items: flex-start; flex-direction: column; }
  .animation2-canvas-wrap { min-height: 280px; }
  .animation3-live { min-height: 260px; }
  .a4-shell { min-height: 0; }
  .a4-sources { grid-template-columns: repeat(3, minmax(0, 1fr)); max-height: 145px; }
  .a4-live { padding: 16px; }
  .a4-empty { min-height: 250px; }

  /* Modal/dialog safety on narrow screens. */
  .studio-overlay { padding: 9px; }
  .studio-dialog, .studio-theme-dialog, .studio-reference-dialog, .studio-project-dialog, .studio-project-picker-dialog { width: 100%; max-width: 100%; max-height: calc(100svh - 18px); border-radius: 13px; }
  .studio-dialog > header { padding: 15px; gap: 10px; }
  .studio-dialog h2 { font-size: 22px; overflow-wrap: anywhere; }
  .studio-reference-grid, .studio-theme-reference-choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: 14px; }
  .studio-asset-dialog { width: calc(100vw - 18px); max-height: calc(100svh - 18px); }
  .studio-asset-dialog > header { grid-template-columns: auto minmax(0, 1fr) auto; padding: 11px; gap: 7px; }
  .studio-viewer-title h2 { font-size: 14px; }
  .studio-viewer-header-actions { gap: 5px; }
  .studio-viewer-animate { padding-inline: 8px; font-size: 10px; }
  .studio-viewer-toolbar { flex-wrap: wrap; justify-content: center; }
  .studio-viewer-toolbar .studio-zoom { order: 2; }
  .studio-viewer-toolbar .studio-download-menu { order: 1; }
}

/* Character-creator funnel actions: secondary export plus the two next steps. */
.creator-result-head-actions { display: flex; align-items: center; gap: 8px; }
.creator-result-head-actions button { font-weight: 800; white-space: nowrap; }
.creator-result-head-actions #creator-download { background: #2e2e2e; color: #d7d7d7; }
.creator-result-next-actions { display: flex; align-items: center; gap: 8px; }
.creator-result-next-actions #creator-view-app { background: #2e2e2e; color: #d7d7d7; border-color: var(--border); box-shadow: none; }
.creator-result-next-actions #creator-animate { background: #aaaaaa; color: #ffffff; border-color: #aaaaaa; box-shadow: 0 7px 18px #95959535; }

@media (max-width: 480px) {
  .creator-result-head { gap: 10px; }
  .creator-result-head-actions { flex-wrap: wrap; justify-content: flex-end; }
  .creator-result-actions { align-items: flex-end; }
  .creator-result-next-actions { flex-wrap: wrap; justify-content: flex-end; }
}

@media (max-width: 420px) {
  .studio-primary button { padding-inline: 8px; }
  .studio-primary button > span:not(.studio-icon) { display: none; }
  .studio-view { padding-inline: 10px; }
  .hero-character-cta > div { display: flex; flex-direction: column; gap: 7px; padding: 7px; border-radius: 13px; }
  .hero-character-cta input { width: 100%; height: 64px; min-height: 64px; padding: 0 14px; border: 1px solid rgba(168,168,168,.52); border-radius: 10px; background: #141414; color: #efefef; box-shadow: inset 0 1px 5px rgba(0,0,0,.28); font-size: 15px; line-height: 1.25; }
  .hero-character-cta input::placeholder { color: #ababab; opacity: 1; }
  .hero-character-cta button { width: 100%; min-height: 46px; height: 46px; }
  .creator-controls, .asset-controls, .pack-form, .tileset-form, .animation-form, .animation2-controls, .animation3-form, .a4-panel, .creator-stage, .asset-stage, .pack-library, .tileset-library, .animation-library, .animation2-workbench, .animation3-results, .a4-stage { padding: 13px; }
  .perspective-picker { gap: 5px; }
  .perspective-card { padding: 7px; }
  .perspective-card b { font-size: 10px; }
  .studio-reference-grid, .studio-theme-reference-choice-grid { grid-template-columns: 1fr; }
  .studio-viewer-toolbar .studio-asset-download, .studio-viewer-toolbar .studio-download-menu summary { padding-inline: 9px; font-size: 10px; }
}


/* cost-display.css */
.creator-cost,.asset-cost,.tileset-cost,.pack-cost{display:flex;align-items:center;gap:8px;margin:0;padding:10px 12px;border:1px solid #494949;border-radius:9px;background:linear-gradient(135deg,#222222,#1b1b1b);color:#bababa;font-size:11px}
.creator-cost span,.asset-cost span,.tileset-cost span,.pack-cost span{color:#9d9d9d;text-transform:uppercase;letter-spacing:.09em;font-size:9px;font-weight:800}
.creator-cost b,.asset-cost b,.tileset-cost b,.pack-cost b{color:#b8b8b8;font-size:12px}
.asset-cost small,.tileset-cost small,.pack-cost small{margin-left:auto;color:#939393;font-size:10px}
#pack-count,#tileset-count{color:#b8b8b8;font-weight:700;letter-spacing:.01em}
.credit-inline-badge{color:#b8b8b8;font-size:10px;font-weight:800}
.animation-cost b,.a4-cost b{color:#b8b8b8!important;font-weight:850}
.a4-cost{display:flex;align-items:center;gap:8px;margin:0;padding:10px 12px;border:1px solid #494949;border-radius:9px;background:linear-gradient(135deg,#222222,#1b1b1b);color:#bababa;font-size:11px}
.a4-cost span{color:#9d9d9d;text-transform:uppercase;letter-spacing:.09em;font-size:9px;font-weight:800}
.a4-cost small{margin-left:auto;color:#939393;font-size:10px}
@media(max-width:620px){.creator-cost,.asset-cost,.tileset-cost,.pack-cost{flex-wrap:wrap}.asset-cost small,.tileset-cost small,.pack-cost small{width:100%;margin-left:0}}


/* glass-forge.css */
@font-face{font-family:Space Grotesk;src:url('/assets/fonts/space-grotesk-latin.woff2') format('woff2');font-weight:400 700;font-style:normal;font-display:swap}@font-face{font-family:Pixelify Sans;src:url('/assets/fonts/pixelify-sans-latin.woff2') format('woff2');font-weight:500 700;font-style:normal;font-display:swap}
:root{--gf-bg:#121212;--gf-panel:rgba(37,37,37,.66);--gf-panel-solid:#232323;--gf-text:#f5f5f5;--gf-muted:#aeaeae;--gf-dim:#787878;--gf-line:rgba(255,255,255,.12);--gf-line-strong:rgba(255,255,255,.25);--gf-control:#f0f0f0;--gf-control-ink:#171717;--studio-bg:var(--gf-bg);--studio-panel:var(--gf-panel-solid);--studio-panel-soft:#1e1e1e;--studio-line:#444444;--studio-text:var(--gf-text);--studio-muted:var(--gf-muted);font-family:'Space Grotesk',ui-sans-serif,system-ui,sans-serif;color-scheme:dark}
*{scrollbar-color:#6e6e6e #191919}body{background:radial-gradient(900px 560px at 88% -10%,#ffffff0b,transparent 68%),radial-gradient(700px 500px at 8% 100%,#96969616,transparent 70%),var(--gf-bg);color:var(--gf-text);font-family:'Space Grotesk',ui-sans-serif,system-ui,sans-serif}button,input,textarea,select{font-family:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #f3f3f3;outline-offset:3px}.nav,.studio-sidebar,.studio-topbar,.studio-composer,.studio-library-layout,.studio-theme-workbench,.studio-dialog,.a4-shell,.manual-editor-shell{backdrop-filter:blur(18px) saturate(110%)}
/* Public navigation, landing and shared cards */
.nav{background:#1a1a1add!important;border-bottom-color:var(--gf-line)!important}.nav .brand,.studio-logo{font-family:'Pixelify Sans',sans-serif!important;letter-spacing:0!important}.nav-links a,.nav-cta{color:#dedede!important}.nav-cta,.hero-primary,.hero-character-cta button,.studio-upload,.studio-create,.studio-confirm-references,.studio-apply-preset,.a4-submit{border:1px solid var(--gf-line-strong)!important;background:linear-gradient(135deg,#f5f5f5,#b5b5b5)!important;color:var(--gf-control-ink)!important;box-shadow:inset 0 1px #ffffff,0 9px 22px #00000033!important}.marketing-home,.pricing-page{background:transparent!important}.marketing-hero{background:radial-gradient(70% 80% at 50% 8%,#ffffff0d 0%,#1b1b1b 52%,#121212 100%)!important}.hero-glow{background:radial-gradient(closest-side,#ffffff14,transparent 72%)!important}.hero-grid{background-image:linear-gradient(#ffffff0b 1px,transparent 1px),linear-gradient(90deg,#ffffff0b 1px,transparent 1px)!important}.marketing-hero .eyebrow,.hero-character-cta label,.hero-text-cta,.trust-row span:first-child{color:#ececec!important}.marketing-hero h1 em,.benefit-section h2 span,.workflow-v2 h2 span,.showcase-v2 h2 span,.theme-v2 h2 span{color:#c3c3c3!important}.hero-copy,.trust-row,.benefit-grid p,.workflow-copy p,.feature-grid-v2 p,.faq-v2 p{color:var(--gf-muted)!important}.hero-character-cta>div,.prompt,.pricing-note{border-color:var(--gf-line)!important;background:linear-gradient(180deg,#2c2c2c,#1e1e1e)!important}.hero-prompt-icon{color:#ececec!important}.hero-character-cta input{color:var(--gf-text)!important}.hero-animation-cta span,.hero-animation-cta label{color:#dcdcdc!important}.proof-bar,.showcase-v2,.marketing-home+footer{background:#181818!important;border-color:var(--gf-line)!important}.benefit-grid article,.feature-grid-v2 article,.theme-card-v2,.workflow-steps>div:not(.workflow-preview),.gallery-v2 .gallery div{border-color:var(--gf-line)!important;background:linear-gradient(150deg,#2c2c2c,#1c1c1c)!important}.benefit-icon{background:#ffffff12!important;color:#f2f2f2!important}.workflow-preview{border-color:var(--gf-line)!important;background:radial-gradient(circle at 50% 55%,#3e3e3e,#1c1c1c 68%)!important}
/* Workspace */
.studio-shell{background:radial-gradient(800px 520px at 78% -14%,#ffffff0a,transparent 65%),var(--gf-bg)!important;font-family:'Space Grotesk',sans-serif!important}.studio-sidebar{background:#1a1a1add!important;border-color:var(--gf-line)!important}.studio-logo{color:#f6f6f6!important}.studio-primary button,.studio-sidebar-bottom>a{color:var(--gf-muted)!important}.studio-primary button:hover,.studio-primary button.is-active{background:#ffffff12!important;color:#ffffff!important}.studio-icon,.studio-primary button.is-active .studio-icon,.studio-sidebar-label{color:#cfcfcf!important}.studio-sidebar-rule{background:var(--gf-line)!important}.studio-user{border-color:var(--gf-line)!important;background:#282828!important;color:#efefef!important}.studio-user>span{background:linear-gradient(135deg,#f0f0f0,#999999)!important;color:#1f1f1f!important}.studio-topbar h1,.studio-composer h2,.studio-section h2,.studio-theme-banner h2,.studio-theme-detail h2,.studio-dialog h2,.studio-asset-detail h2{font-family:'Space Grotesk',sans-serif!important;color:#f6f6f6!important}.studio-topbar p,.studio-theme-detail p,.studio-card-more,.studio-asset-copy small,.studio-detail-meta{color:var(--gf-muted)!important}.studio-kicker{color:#dfdfdf!important}.studio-credit,.studio-composer,.studio-library-layout,.studio-theme-workbench,.studio-theme-banner,.studio-project-card,.studio-asset-card,.studio-recent-grid .studio-asset-card{border-color:var(--gf-line)!important;background:linear-gradient(145deg,#2f2f2fcc,#1e1e1ecc)!important;box-shadow:inset 0 1px #ffffff12,0 20px 48px #00000033!important}.studio-composer textarea,.studio-library-toolbar label,.studio-library-toolbar input,.studio-preset-controls label{border-color:var(--gf-line)!important;background:#181818!important;color:#f0f0f0!important}.studio-composer textarea:focus{border-color:#e3e3e3!important;box-shadow:0 0 0 3px #ffffff15!important}.studio-create:disabled{background:#484848!important;color:#a2a2a2!important}.studio-tool-launcher button,.studio-library-nav button,.studio-filter-row button,.studio-theme-list button,.studio-action-group button{border-color:var(--gf-line)!important;background:#242424!important;color:#ececec!important}.studio-tool-launcher button:hover,.studio-library-nav button:hover,.studio-library-nav button.active,.studio-filter-row button.active,.studio-theme-list button.active,.studio-action-group button:hover{border-color:var(--gf-line-strong)!important;background:#ffffff12!important;color:#ffffff!important}.studio-tool-launcher button>span,.studio-section-title>button,.studio-new-project{color:#e7e7e7!important}.checker,.studio-thumb,.studio-asset-preview{background-color:#1f1f1f!important;background-image:linear-gradient(45deg,#2a2a2a 25%,transparent 25%),linear-gradient(-45deg,#2a2a2a 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#2a2a2a 75%),linear-gradient(-45deg,transparent 75%,#2a2a2a 75%)!important}.studio-library-main,.studio-theme-detail,.studio-asset-detail aside{background:#212121aa!important}.studio-library-nav,.studio-theme-list,.studio-asset-detail aside{border-color:var(--gf-line)!important;background:#1e1e1eaa!important}.studio-theme-rules article,.studio-theme-reference,.studio-action-group{border-color:var(--gf-line)!important}.studio-theme-rules p b{background:#ffffff10!important;color:#ebebeb!important}.studio-toast{border-color:var(--gf-line-strong)!important;background:#363636!important;color:#ffffff!important}.studio-overlay{background:#111111cc!important}.studio-dialog{border-color:var(--gf-line)!important;background:#262626cc!important}.studio-dialog>header{border-color:var(--gf-line)!important}.studio-dialog [data-modal-close]{background:#ffffff10!important;color:#f0f0f0!important}.studio-action-group>span,.studio-theme-rules article>span,.studio-library-nav p{color:#b5b5b5!important}
/* Specific tools and public secondary screens */
.a4-view,.cc-view,.asset-generator,.tileset-page,.manual-editor-page,.tool-page{background:transparent!important;color:var(--gf-text)!important}.a4-panel,.a4-stage,.creator-card,.asset-form-card,.tileset-form,.manual-editor-shell,.detector-window,.plan-card,.pricing-costs{border-color:var(--gf-line)!important;background:linear-gradient(145deg,#2f2f2fcc,#1e1e1ecc)!important;box-shadow:inset 0 1px #ffffff12,0 20px 48px #00000033!important}.a4-head span,.a4-stage-head span,.a4-step>b,.plan-credits,.pricing-cost-table span{color:#e3e3e3!important}.a4-panel textarea,.a4-panel input,.a4-panel select,.creator-card input,.creator-card textarea,.asset-form-card input,.asset-form-card textarea,.asset-form-card select,.tileset-form input,.tileset-form textarea,.tileset-form select{border-color:var(--gf-line)!important;background:#181818!important;color:#f0f0f0!important}.a4-source,.a4-motions button,.a4-avoid,.a4-clean{border-color:var(--gf-line)!important;background:#242424!important;color:#efefef!important}.a4-source.active,.a4-motions button.active{border-color:var(--gf-line-strong)!important;background:#ffffff12!important}.pricing-page{background:transparent!important}.pricing-hero .eyebrow,.plan-badge{color:#ebebeb!important}.plan-card.featured{border-color:#e3e3e3!important;box-shadow:inset 0 1px #ffffff16,0 18px 52px #00000033!important}.plan-badge{background:#363636!important;border:1px solid var(--gf-line)!important}.plan-card>p,.pricing-hero p,.pricing-costs header p,.pricing-cost-table small{color:var(--gf-muted)!important}.plan-card button{border-color:var(--gf-line)!important;background:#ffffff0c!important;color:#f5f5f5!important}.plan-card.featured button{border-color:var(--gf-line-strong)!important;background:linear-gradient(135deg,#f2f2f2,#b1b1b1)!important;color:#171717!important}.docs-page,.tool-page{background:transparent!important}.docs-sidebar,.docs-content section,.faq details{border-color:var(--gf-line)!important;background:#242424cc!important}.docs-sidebar a,.docs-content p,.faq p{color:var(--gf-muted)!important}.docs-inline-cta{color:#f4f4f4!important}.detector-window header{background:#181818!important;border-color:var(--gf-line)!important}.upload-mark,.tile-icon{border-color:var(--gf-line-strong)!important;color:#ebebeb!important}
@media(max-width:850px){.studio-view{padding:32px 20px 52px}.studio-shell{grid-template-columns:1fr}.studio-sidebar{display:none}.studio-library-layout,.studio-theme-workbench,.studio-asset-detail{grid-template-columns:1fr}.studio-library-nav,.studio-theme-list,.studio-asset-detail aside{border-left:0!important;border-right:0!important;border-bottom:1px solid var(--gf-line)}.studio-tool-launcher>div,.studio-recent-grid,.studio-assets-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.studio-tool-launcher>div,.studio-recent-grid,.studio-assets-grid{grid-template-columns:1fr}.studio-topbar{flex-direction:column}.hero-character-cta>div{flex-direction:column}.trust-row{gap:9px}}


/* preview/neutral-theme.css */
/* Glass Forge preview cleanup. Layout comes from the production stylesheets;
   this final layer removes their former copper/amber presentation tokens. */
:root{--bg:#121212!important;--card:#232323!important;--muted:#aeaeae!important;--indigo:#d2d2d2!important;--border:rgba(255,255,255,.12)!important;--studio-purple:#d2d2d2!important;--studio-muted:#aeaeae!important}
html,body{background:#121212!important;color:#f5f5f5!important}a{color:#dbdbdb}
*{scrollbar-color:#737373 #191919!important}*::-webkit-scrollbar-track{background:#191919!important}*::-webkit-scrollbar-thumb{background:#737373!important;border-color:#191919!important}*::-webkit-scrollbar-thumb:hover{background:#b6b6b6!important}
.nav,.navbar,.site-nav{background:#1a1a1add!important;border-color:rgba(255,255,255,.12)!important}
.nav-cta,.button,.btn,.cta,.hero-cta,.download-btn,.primary-btn,.hero-primary,.hero-character-cta button,.dropzone button,.footer-cta button,.studio-upload,.studio-create,.creator-generate,.asset-generate,.pack-create,.tileset-create,.animation-create,.animation3-submit,.a4-submit,.a4-assist-generate,.a4-prompt-assist,.studio-confirm-references,.studio-apply-preset,.marketing-auth-submit,.verification-cta{border:1px solid rgba(255,255,255,.25)!important;background:linear-gradient(135deg,#e8e8e8,#b6b6b6)!important;color:#181818!important;box-shadow:0 8px 22px #00000033!important}
.nav-cta:hover,.button:hover,.btn:hover,.cta:hover,.hero-cta:hover,.download-btn:hover,.primary-btn:hover,.hero-primary:hover,.hero-character-cta button:hover,.dropzone button:hover,.footer-cta button:hover,.studio-upload:hover,.studio-create:hover,.creator-generate:hover,.asset-generate:hover,.pack-create:hover,.tileset-create:hover,.animation-create:hover,.animation3-submit:hover,.a4-submit:hover{background:#f2f2f2!important;border-color:#f5f5f5!important;color:#141414!important}
.hero,.marketing-hero,.hero-card,.feature-card,.tool-card,.panel,.card,.detector-window,.style-window,.theme-card-v2,.workflow-preview{background:radial-gradient(circle at 50% 0,#ffffff0c,transparent 58%),#1b1b1b!important;border-color:rgba(255,255,255,.12)!important}
.hero h1 em,.marketing-hero h1 em,.showcase h2 span,.benefit-section h2 span,.workflow-v2 h2 span,.showcase-v2 h2 span,.theme-v2 h2 span,.feature-grid-v2 small,.benefit-grid a,.feature-grid-v2 a,.text-link,.hero-secondary span,.theme-card-v2 div:last-of-type b,.marketing-home .eyebrow{color:#d2d2d2!important}
.prompt,.hero-character-cta>div,.pricing-note,.hero-animation-cta,.resource-menu,.faq details{background:#212121!important;border-color:rgba(255,255,255,.12)!important;color:#f5f5f5!important}
.hero-grid{background-image:linear-gradient(#ffffff08 1px,transparent 1px),linear-gradient(90deg,#ffffff08 1px,transparent 1px)!important}.hero-glow{background:radial-gradient(closest-side,#ffffff0c,transparent 72%)!important}
.studio-main,.studio-home-view,.creator-page,.creator-page-embedded,.asset-page,.asset-page-embedded,.studio-character-view,.studio-asset-generator-view,.studio-asset-pack-view,.studio-tileset-view,.studio-animation-view,.studio-animation2-view,.studio-animation3-view,.studio-animation4-view,.a4-view,.tool-page{background:#121212!important}
.creator-shell,.asset-shell,.pack-builder,.tileset-builder,.animation-builder,.animation2-shell,.animation3-shell,.a4-shell,.creator-controls,.asset-controls,.pack-controls,.tileset-controls,.animation-controls,.animation2-controls,.animation3-controls,.a4-panel,.creator-card,.asset-form-card,.tileset-form,.manual-editor-shell{background:linear-gradient(145deg,#2c2c2ce6,#1f1f1fe6)!important;border-color:rgba(255,255,255,.12)!important}
.creator-stage,.asset-stage,.pack-stage,.tileset-stage,.animation-stage,.animation2-stage,.animation3-stage,.a4-stage,.animation-library,.animation3-results{background:radial-gradient(circle at 50% 35%,#363636,#1a1a1a 70%)!important;border-color:rgba(255,255,255,.12)!important}
.creator-field textarea,.creator-field input,.creator-field select,.asset-field textarea,.asset-field input,.asset-field select,.pack-field textarea,.pack-field input,.pack-field select,.tileset-field textarea,.tileset-field input,.tileset-field select,.animation-field textarea,.animation-field input,.animation-field select,.animation-form textarea,.animation-form input,.animation-form select,.animation3-form textarea,.animation3-form input,.animation3-form select,.a4-panel textarea,.a4-panel input,.a4-panel select,.studio-shell textarea,.studio-shell input,.studio-shell select{background:#181818!important;border-color:rgba(255,255,255,.12)!important;color:#f5f5f5!important}
.creator-field textarea:focus,.creator-field input:focus,.creator-field select:focus,.asset-field textarea:focus,.asset-field input:focus,.asset-field select:focus,.animation-form textarea:focus,.animation-form input:focus,.animation-form select:focus,.animation3-form textarea:focus,.animation3-form input:focus,.animation3-form select:focus,.a4-panel textarea:focus,.a4-panel input:focus,.a4-panel select:focus{border-color:#dfdfdf!important;box-shadow:0 0 0 3px #ffffff18!important}
.creator-choice,.asset-mode,.pack-mode,.tileset-mode,.animation-motion,.animation2-template,.animation3-motion,.a4-motions button,.a4-source,.a4-avoid,.a4-clean,.animation-source-card,.animation-motion-card,.animation3-source,.animation3-motions button,.animation-tags button,.style-tag,.tag,.creator-tag,.asset-tag,.tileset-tag{background:#252525!important;border-color:rgba(255,255,255,.12)!important;color:#e6e6e6!important}
.creator-choice.active,.asset-mode.active,.pack-mode.active,.tileset-mode.active,.animation-motion.active,.animation2-template.active,.animation3-motion.active,.a4-motions button.active,.animation-source-card.active,.animation3-source.active,.animation3-motions button.active,.style-tag.active,.tag.active,.creator-tag.active,.asset-tag.active,.tileset-tag.active,.studio-filter-row button.active,.studio-preset-filters button.active{background:#424242!important;border-color:#dadada!important;color:#f9f9f9!important;box-shadow:inset 0 0 0 1px #ffffff22!important}
.creator-controls input[type=range],.asset-controls input[type=range],.animation-form input[type=range]{accent-color:#cfcfcf!important}
.studio-theme-banner,.studio-theme-card,.studio-default-theme,.theme-view-card,.studio-theme-form-references,.studio-theme-reference,.studio-theme-rules article,.studio-theme-reference-choice,.studio-theme-reference-picker{background:#252525!important;border-color:rgba(255,255,255,.12)!important}
.studio-theme-banner button,.studio-theme-reference [data-theme-reference],.studio-theme-form-references button,.studio-theme-upgrade-references,.studio-theme-reference-choice.selected{background:#373737!important;border-color:#d3d3d3!important;color:#f0f0f0!important}
.studio-theme-list button.active,.studio-library-nav button.active,.studio-library-nav button:hover,.studio-library-nav button:focus-visible{background:#ffffff12!important;border-color:rgba(255,255,255,.25)!important}
.studio-home-view .studio-history,.studio-viewer-toolbar-label::before,.studio-viewer-edit,.studio-viewer-animate,.studio-viewer-download,.studio-download-menu summary,.studio-zoom button,.studio-viewer-project,.studio-asset-dialog-actions>button{border-color:rgba(255,255,255,.25)!important;background:#2f2f2f!important;color:#ececec!important;box-shadow:none!important}
.studio-home-view .studio-history:hover,.studio-viewer-edit:hover,.studio-viewer-animate:hover,.studio-viewer-download:hover,.studio-download-menu summary:hover,.studio-zoom button:hover,.studio-viewer-project:hover{background:#454545!important;border-color:#dddddd!important;color:#ffffff!important}
.studio-cost,.animation-cost,.animation3-cost,.a4-cost,.studio-credit,.studio-success-credit{background:#2a2a2a!important;border-color:rgba(255,255,255,.12)!important;color:#e6e6e6!important}
.studio-user,.studio-account-menu,.studio-auth-dialog,.marketing-auth-dialog,.verification-card{background:#252525!important;border-color:rgba(255,255,255,.12)!important;color:#f5f5f5!important}
.studio-user>span,.studio-mark,.benefit-icon,.studio-project-empty-icon,.studio-library-empty>div,.studio-premium-reference-lock-icon,.verification-orb{background:#e1e1e1!important;border-color:#f0f0f0!important;color:#181818!important}
.studio-project-card:hover,.studio-asset-card:hover,.studio-preset-card:hover,.studio-library-nav button:hover{border-color:#c7c7c7!important;box-shadow:0 15px 35px #00000044!important}
.studio-project-art,.studio-asset-preview,.studio-thumb,.checker,.studio-theme-art{background-color:#212121!important;background-image:linear-gradient(45deg,#2e2e2e 25%,transparent 25%),linear-gradient(-45deg,#2e2e2e 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#2e2e2e 75%),linear-gradient(-45deg,transparent 75%,#2e2e2e 75%)!important}
.manual-editor-upload button,.manual-editor-file,.manual-editor-assets>button:hover,.upload-mark,.tile-icon{background:#333333!important;border-color:#cecece!important;color:#f0f0f0!important}.manual-editor-upload button:hover{background:#e8e8e8!important;color:#181818!important}
.animation-error,.a4-error,.asset-error,.animation3-error{border-color:#595959!important;background:#2a2a2a!important}.studio-dialog,.studio-overlay,.studio-checkout-overlay{background-color:#131313e6!important}

/* Generator family alignment. Every generator uses the same shell, field,
   selection, cost and empty-state treatment; only its content differs. */
.creator-shell,.asset-shell,.pack-builder,.tileset-builder,.animation-builder,.animation2-shell,.animation3-shell,.a4-shell{border-radius:16px!important;box-shadow:inset 0 1px #ffffff10,0 24px 60px #00000044!important;overflow:hidden}
.creator-controls,.asset-controls,.pack-form,.tileset-form,.animation-form,.animation2-controls,.animation3-form,.a4-panel{background:linear-gradient(180deg,#292929,#202020)!important;border-right-color:rgba(255,255,255,.12)!important}
.creator-stage,.asset-stage,.pack-library,.tileset-library,.animation-library,.animation2-workbench,.animation3-results,.a4-stage{background:radial-gradient(850px 520px at 55% 22%,#383838,#1b1b1b 72%)!important}
.creator-intro,.asset-intro,.a4-head,.studio-topbar{color:#f5f5f5!important}.creator-intro>span,.asset-intro>span,.a4-head>div>span,.studio-kicker{color:#d2d2d2!important}
.creator-intro h1 em,.asset-intro h1 em,.a4-head h1 em{color:#dfdfdf!important}
.creator-theme-summary,.asset-theme-summary,.studio-theme-summary{background:#313131!important;border-color:rgba(255,255,255,.18)!important;color:#e9e9e9!important}
.creator-theme-summary b,.asset-theme-summary b,.studio-theme-summary b,.creator-theme-summary a,.asset-theme-summary a{color:#f2f2f2!important}
.creator-theme-summary button,.asset-theme-summary button,.studio-theme-summary button,.a4-head>button{background:#353535!important;border:1px solid rgba(255,255,255,.22)!important;color:#ececec!important}
.creator-field>span,.asset-field>span,.animation-field>span,.animation3-field>span,.a4-step label,.a4-options label,.a4-head span{color:#e1e1e1!important}
.creator-field>small,.asset-field>small,.animation-field>small,.animation3-field>small,.a4-step small,.a4-stage-head small,.a4-note,.animation-note{color:#9b9b9b!important}
.asset-chip,.asset-tools button,.asset-result-head button,.asset-tools>div>button{background:#2f2f2f!important;border:1px solid rgba(255,255,255,.15)!important;color:#e5e5e5!important}
.asset-chip.active,.asset-tools>div>button.active{background:#434343!important;border-color:#dadada!important;color:#ffffff!important}
.a4-step>b,.animation3-form .animation3-step>b,.animation-step>b{background:#e2e2e2!important;color:#181818!important;border:1px solid #f6f6f6!important}
.a4-sources,.animation-source-list,.animation3-sources{scrollbar-color:#737373 #191919!important}
.a4-source img,.animation-source-card>span,.animation3-source>span{background:#1f1f1f!important}
.a4-panel textarea,.a4-panel input,.a4-panel select,.a4-options select,.a4-avoid input{background:#181818!important;border-color:rgba(255,255,255,.15)!important;color:#f5f5f5!important}
.a4-avoid summary{color:#d2d2d2!important}.a4-clean{background:#292929!important}.a4-clean input,.animation-switches input{accent-color:#d2d2d2!important}.a4-clean b{color:#e9e9e9!important}.a4-clean small{color:#9b9b9b!important}
.a4-motions button,.animation-motion-card,.animation3-motions button{background:#292929!important;border-color:rgba(255,255,255,.14)!important;color:#e8e8e8!important}.a4-motions button.active,.animation-motion-card.active,.animation3-motions button.active{background:#434343!important;border-color:#dbdbdb!important}.a4-motions small,.animation-motion-card small,.animation3-motions small{color:#a4a4a4!important}
.a4-live,.animation-player,.animation-clip-card,.animation3-live,.animation3-saved,.animation-empty,.animation3-empty,.a4-empty,.a4-results article{background:#272727!important;border-color:rgba(255,255,255,.15)!important;color:#ebebeb!important}.a4-live-top b,.animation-player header span,.animation-library>header span,.animation3-results>header span,.a4-results article>span,.animation3-saved>span{color:#d2d2d2!important}.a4-live p,.animation-player footer small,.animation3-live p,.a4-empty span,.animation3-empty span{color:#9b9b9b!important}.a4-spinner i,.animation3-progress i{border-color:#939393!important;border-top-color:#ececec!important}.a4-live progress,.animation3-live progress{accent-color:#d2d2d2!important}
.a4-results a,.animation3-saved a,.animation3-live a,.animation-clip-card a{color:#dfdfdf!important}.a4-results a:hover,.animation3-saved a:hover,.animation3-live a:hover,.animation-clip-card a:hover{color:#ffffff!important}
.studio-fixed-actions,.creator-fixed-actions,.asset-fixed-actions,.pack-fixed-actions,.tileset-fixed-actions{background:linear-gradient(180deg,transparent,#1b1b1bf5 35%)!important;border-color:rgba(255,255,255,.1)!important}.studio-fixed-actions button,.creator-fixed-actions button,.asset-fixed-actions button,.pack-fixed-actions button,.tileset-fixed-actions button{background:#e2e2e2!important;color:#181818!important;border-color:#f3f3f3!important}


/* preview/legacy-sweep.css */
/* Final Glass Forge sweep.
   The real product intentionally keeps several historical generators alive.
   Their markup is preserved for compatibility, while this preview-only layer
   makes every generator consume one neutral visual language. */
:root{--gf-surface:#262626;--gf-surface-raised:#313131;--gf-field:#191919;--gf-stage:#1c1c1c;--gf-stroke:rgba(238,238,238,.15);--gf-stroke-strong:rgba(238,238,238,.32);--gf-ink:#f0f0f0;--gf-subtle:#a6a6a6}
body[data-spriteforge-theme="glass-forge"] :is(.creator-page,.creator-page-embedded,.asset-page,.asset-page-embedded,.studio-asset-pack-view,.studio-tileset-view,.studio-animation-view,.studio-animation2-view,.studio-animation3-view,.studio-animation4-view,.a4-view){color:var(--gf-ink)!important;background:#131313!important}
body[data-spriteforge-theme="glass-forge"] :is(.creator-shell,.asset-shell,.pack-builder,.tileset-builder,.animation-builder,.animation2-shell,.animation3-shell,.a4-shell){background:linear-gradient(145deg,#2c2c2c,#202020)!important;border:1px solid var(--gf-stroke)!important;border-radius:16px!important;box-shadow:inset 0 1px #ffffff10,0 24px 64px #00000055!important}
body[data-spriteforge-theme="glass-forge"] :is(.creator-controls,.asset-controls,.pack-form,.tileset-form,.animation-form,.animation2-controls,.animation3-form,.a4-panel){background:linear-gradient(180deg,#2d2d2d,#212121)!important;border-color:var(--gf-stroke)!important}
body[data-spriteforge-theme="glass-forge"] :is(.creator-stage,.asset-stage,.pack-library,.tileset-library,.animation-library,.animation2-workbench,.animation3-results,.a4-stage){background:radial-gradient(900px 560px at 48% 20%,#393939 0%,#1c1c1c 67%)!important;border-color:var(--gf-stroke)!important}
body[data-spriteforge-theme="glass-forge"] :is(.creator-theme-summary,.asset-theme-summary,.studio-theme-summary,.animation-cost,.animation3-cost,.a4-cost,.a4-clean,.animation-switches label,.animation3-tips,.a4-live,.animation3-live,.animation-player,.animation-empty,.animation3-empty,.a4-empty,.animation-clip-card,.animation3-saved,.a4-results article,.pack-empty,.tileset-empty){background:var(--gf-surface)!important;border-color:var(--gf-stroke)!important;color:var(--gf-ink)!important}
body[data-spriteforge-theme="glass-forge"] :is(.creator-field,.asset-field,.pack-field,.tileset-field,.animation-field,.animation3-field,.a4-panel)>span,body[data-spriteforge-theme="glass-forge"] :is(.creator-field,.asset-field,.pack-field,.tileset-field,.animation-field,.animation3-field,.a4-panel)>label,body[data-spriteforge-theme="glass-forge"] :is(.a4-step label,.a4-options label,.animation-library>header span,.animation3-results>header span,.a4-stage-head span){color:#e2e2e2!important}
body[data-spriteforge-theme="glass-forge"] :is(.creator-field,.asset-field,.pack-field,.tileset-field,.animation-field,.animation3-field,.a4-panel) small,body[data-spriteforge-theme="glass-forge"] :is(.a4-step small,.a4-empty span,.animation-empty span,.animation3-empty span,.animation-note,.a4-note,.animation3-cost,.animation-cost){color:var(--gf-subtle)!important}
body[data-spriteforge-theme="glass-forge"] :is(.creator-field,.asset-field,.pack-field,.tileset-field,.animation-field,.animation3-field,.a4-panel) :is(input,textarea,select),body[data-spriteforge-theme="glass-forge"] :is(.animation-settings select,.animation3-settings select,.a4-options select){background:var(--gf-field)!important;border-color:var(--gf-stroke)!important;color:var(--gf-ink)!important;box-shadow:none!important}
body[data-spriteforge-theme="glass-forge"] :is(.creator-field,.asset-field,.pack-field,.tileset-field,.animation-field,.animation3-field,.a4-panel) :is(input,textarea,select):focus{border-color:#e2e2e2!important;box-shadow:0 0 0 3px #ffffff16!important}
body[data-spriteforge-theme="glass-forge"] :is(.creator-choice,.asset-mode,.pack-mode,.tileset-mode,.animation-motion,.animation2-template,.animation3-motion,.animation-motion-card,.animation3-motions button,.a4-motions button,.a4-source,.animation-source-card,.animation3-source,.style-tag,.tag,.creator-tag,.asset-tag,.tileset-tag,.asset-chip){background:#292929!important;border-color:var(--gf-stroke)!important;color:#eaeaea!important;box-shadow:none!important}
body[data-spriteforge-theme="glass-forge"] :is(.creator-choice.active,.asset-mode.active,.pack-mode.active,.tileset-mode.active,.animation-motion.active,.animation2-template.active,.animation3-motion.active,.animation-motion-card.active,.animation3-motions button.active,.a4-motions button.active,.a4-source.active,.animation-source-card.active,.animation3-source.active,.style-tag.active,.tag.active,.creator-tag.active,.asset-tag.active,.tileset-tag.active,.asset-chip.active){background:#454545!important;border-color:#e2e2e2!important;color:#ffffff!important;box-shadow:inset 0 0 0 1px #ffffff18!important}
body[data-spriteforge-theme="glass-forge"] :is(.creator-generate,.asset-generate,.pack-create,.tileset-create,.animation-create,.animation3-submit,.a4-submit,.studio-create,.studio-upload,.a4-head>button){background:linear-gradient(135deg,#eaeaea,#b7b7b7)!important;border-color:#f7f7f7!important;color:#161616!important;box-shadow:0 9px 22px #00000044!important}
body[data-spriteforge-theme="glass-forge"] :is(.creator-generate,.asset-generate,.pack-create,.tileset-create,.animation-create,.animation3-submit,.a4-submit,.studio-create,.studio-upload,.a4-head>button):hover{background:#f7f7f7!important;color:#131313!important}
body[data-spriteforge-theme="glass-forge"] :is(.creator-theme-summary,.asset-theme-summary,.studio-theme-summary) :is(button,a),body[data-spriteforge-theme="glass-forge"] .a4-upload{background:#363636!important;border-color:var(--gf-stroke-strong)!important;color:#f1f1f1!important;box-shadow:none!important}
body[data-spriteforge-theme="glass-forge"] :is(.creator-stage,.asset-stage,.pack-stage,.tileset-stage,.animation-stage,.animation2-stage,.animation3-stage,.a4-stage) :is(.checker,canvas){background-color:#212121!important}
body[data-spriteforge-theme="glass-forge"] :is(.creator-page,.asset-page,.studio-asset-pack-view,.studio-tileset-view,.studio-animation-view,.studio-animation2-view,.studio-animation3-view,.studio-animation4-view,.a4-view) [class*="orange"],body[data-spriteforge-theme="glass-forge"] :is(.creator-page,.asset-page,.studio-asset-pack-view,.studio-tileset-view,.studio-animation-view,.studio-animation2-view,.studio-animation3-view,.studio-animation4-view,.a4-view) [class*="amber"],body[data-spriteforge-theme="glass-forge"] :is(.creator-page,.asset-page,.studio-asset-pack-view,.studio-tileset-view,.studio-animation-view,.studio-animation2-view,.studio-animation3-view,.studio-animation4-view,.a4-view) [class*="copper"]{color:#e2e2e2!important;background-color:#303030!important;border-color:var(--gf-stroke)!important}

/* One consistent workbench column across all creator tools. */
@media (min-width:1051px){
  body[data-spriteforge-theme="glass-forge"] :is(.creator-shell,.asset-shell,.pack-builder,.tileset-builder,.animation-builder,.animation2-shell,.animation3-shell,.a4-shell){grid-template-columns:420px minmax(0,1fr)!important}
}

/* Reading-first form contrast: labels are clear, instructions remain legible,
   and field boundaries are evident without using a saturated accent colour. */
body[data-spriteforge-theme="glass-forge"] :is(.creator-controls,.asset-controls,.pack-form,.tileset-form,.animation-form,.animation2-controls,.animation3-form,.a4-panel){background:linear-gradient(180deg,#303030,#232323)!important;color:#f1f1f1!important}
body[data-spriteforge-theme="glass-forge"] :is(.creator-controls,.asset-controls,.pack-form,.tileset-form,.animation-form,.animation2-controls,.animation3-form,.a4-panel) :is(label>span,.creator-field>span,.asset-field>span,.pack-field>span,.tileset-field>span,.animation-field>span,.animation3-field>span,.a4-step label,.a4-options label){color:#f3f3f3!important;font-weight:750!important;letter-spacing:.035em!important}
body[data-spriteforge-theme="glass-forge"] :is(.creator-controls,.asset-controls,.pack-form,.tileset-form,.animation-form,.animation2-controls,.animation3-form,.a4-panel) small{color:#bfbfbf!important;line-height:1.45!important}
body[data-spriteforge-theme="glass-forge"] :is(.creator-controls,.asset-controls,.pack-form,.tileset-form,.animation-form,.animation2-controls,.animation3-form,.a4-panel) :is(input,textarea,select){background:#171717!important;border-color:#5e5e5e!important;color:#f7f7f7!important}
body[data-spriteforge-theme="glass-forge"] :is(.creator-controls,.asset-controls,.pack-form,.tileset-form,.animation-form,.animation2-controls,.animation3-form,.a4-panel) :is(input,textarea,select)::placeholder{color:#b0b0b0!important;opacity:1}
body[data-spriteforge-theme="glass-forge"] :is(.creator-choice,.asset-mode,.pack-mode,.tileset-mode,.animation-motion,.animation2-template,.animation3-motion,.animation-motion-card,.animation3-motions button,.a4-motions button,.a4-source,.animation-source-card,.animation3-source,.style-tag,.tag,.creator-tag,.asset-tag,.tileset-tag,.asset-chip){background:#2c2c2c!important;border-color:#555555!important;color:#ededed!important}
body[data-spriteforge-theme="glass-forge"] :is(.creator-theme-summary,.asset-theme-summary,.studio-theme-summary,.animation-cost,.animation3-cost,.a4-cost,.a4-clean,.animation-switches label,.animation3-tips){background:#2e2e2e!important;border-color:#585858!important}

/* Integrated controls: remove the accidental nested-surface squares. */
body[data-spriteforge-theme="glass-forge"] .a4-prompt-assist{background:#363636!important;border-color:#7d7d7d!important;color:#f1f1f1!important;box-shadow:inset 0 1px #ffffff14,0 7px 16px #00000033!important}
body[data-spriteforge-theme="glass-forge"] .a4-prompt-assist b{display:inline-grid;place-items:center;width:19px;height:19px;border-radius:5px;background:#e2e2e2!important;color:#1e1e1e!important;font-size:12px!important;line-height:1!important}
body[data-spriteforge-theme="glass-forge"] .a4-prompt-assist:hover{background:#454545!important;border-color:#d2d2d2!important;color:#ffffff!important}
body[data-spriteforge-theme="glass-forge"] .a4-avoid{margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
body[data-spriteforge-theme="glass-forge"] .a4-avoid summary{padding:3px 0!important;color:#d3d3d3!important}
body[data-spriteforge-theme="glass-forge"] .a4-avoid input{margin-top:8px!important}
body[data-spriteforge-theme="glass-forge"] .studio-home-view .studio-composer{background:linear-gradient(135deg,#303030,#242424)!important;border-color:#5e5e5e!important;box-shadow:inset 0 1px #ffffff0e!important}
body[data-spriteforge-theme="glass-forge"] .studio-home-view #studio-prompt{background:transparent!important;border:0!important;box-shadow:none!important;color:#f4f4f4!important}
body[data-spriteforge-theme="glass-forge"] .studio-home-view #studio-prompt:focus{box-shadow:none!important}
body[data-spriteforge-theme="glass-forge"] .studio-home-view .studio-generator-select,.studio-home-view .studio-type-select{background:transparent!important;border-color:transparent!important;box-shadow:none!important}
body[data-spriteforge-theme="glass-forge"] .hero-animation-cta{width:max-content;max-width:calc(100% - 32px);gap:0!important;padding:5px 7px 5px 13px!important;border:1px solid rgba(235,235,235,.17)!important;border-radius:12px!important;background:linear-gradient(135deg,#2c2c2c,#212121)!important;box-shadow:inset 0 1px #ffffff0d!important}
body[data-spriteforge-theme="glass-forge"] .hero-animation-cta>span{padding-right:11px!important;color:#e9e9e9!important}
body[data-spriteforge-theme="glass-forge"] .hero-animation-cta label{margin:0!important;padding:8px 10px!important;border:0!important;border-left:1px solid rgba(235,235,235,.16)!important;border-radius:7px!important;background:transparent!important;color:#e5e5e5!important}
body[data-spriteforge-theme="glass-forge"] .hero-animation-cta label:hover{background:#ffffff0d!important;color:#ffffff!important;transform:none!important}
body[data-spriteforge-theme="glass-forge"] .tileset-form .tileset-tags{margin-top:7px!important;padding-top:3px!important;gap:7px!important}

/* Native select menus need an explicit dark scheme; otherwise Chromium may
   render the option list with the platform's white form-control surface. */
body[data-spriteforge-theme="glass-forge"] .studio-generator-select,body[data-spriteforge-theme="glass-forge"] #studio-generator-select{color-scheme:dark!important;background:#191919!important;color:#f2f2f2!important}
body[data-spriteforge-theme="glass-forge"] #studio-generator-select{border:1px solid #575757!important;border-radius:8px!important;padding:7px 29px 7px 10px!important}
body[data-spriteforge-theme="glass-forge"] #studio-generator-select option{background:#191919!important;color:#f2f2f2!important}

/* Slightly deeper work surfaces give the pale type and controls more room to
   breathe, while preserving a clear visual separation from the app shell. */
body[data-spriteforge-theme="glass-forge"] :is(.creator-controls,.asset-controls,.pack-form,.tileset-form,.animation-form,.animation2-controls,.animation3-form,.a4-panel){background:linear-gradient(180deg,#292929,#1d1d1d)!important}
body[data-spriteforge-theme="glass-forge"] :is(.creator-stage,.asset-stage,.pack-library,.tileset-library,.animation-library,.animation2-workbench,.animation3-results,.a4-stage){background:radial-gradient(900px 560px at 48% 20%,#303030 0%,#171717 70%)!important}
body[data-spriteforge-theme="glass-forge"] :is(.creator-theme-summary,.asset-theme-summary,.studio-theme-summary,.animation-cost,.animation3-cost,.a4-cost,.a4-clean,.animation-switches label,.animation3-tips){background:#252525!important;border-color:#525252!important}
body[data-spriteforge-theme="glass-forge"] :is(.creator-choice,.asset-mode,.pack-mode,.tileset-mode,.animation-motion,.animation2-template,.animation3-motion,.animation-motion-card,.animation3-motions button,.a4-motions button,.a4-source,.animation-source-card,.animation3-source,.style-tag,.tag,.creator-tag,.asset-tag,.tileset-tag,.asset-chip){background:#272727!important;border-color:#4f4f4f!important}

/* Keep typing calm: focus does not change the field into a highlighted card. */
body[data-spriteforge-theme="glass-forge"] :is(input:not([type]),input[type=text],input[type=number],input[type=email],input[type=password],textarea):focus,body[data-spriteforge-theme="glass-forge"] :is(input:not([type]),input[type=text],input[type=number],input[type=email],input[type=password],textarea):focus-visible{outline:0!important;box-shadow:none!important;border-color:#5e5e5e!important}
body[data-spriteforge-theme="glass-forge"] .hero-character-cta>div:focus-within{border-color:rgba(235,235,235,.17)!important;box-shadow:none!important}
body[data-spriteforge-theme="glass-forge"] .hero-character-cta input:focus,body[data-spriteforge-theme="glass-forge"] .hero-character-cta input:focus-visible{outline:0!important;box-shadow:none!important}

/* Empty creator stages are part of the canvas, not an additional card. */
body[data-spriteforge-theme="glass-forge"] :is(.creator-empty,.asset-empty){background:transparent!important;background-color:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important}
body[data-spriteforge-theme="glass-forge"] :is(.creator-empty,.asset-empty)::before,body[data-spriteforge-theme="glass-forge"] :is(.creator-empty,.asset-empty)::after{background:transparent!important;background-image:none!important;box-shadow:none!important}

/* Pricing: tax-inclusive label beside each monthly amount. */
.plan-price{position:relative;padding-bottom:16px}
.plan-price::after{content:'VAT included';position:absolute;left:0;bottom:0;font-size:11px;font-weight:600;color:var(--gf-muted);letter-spacing:.01em;white-space:nowrap}
body[data-spriteforge-theme="glass-forge"] .pricing-grid .plan-card .plan-price{position:relative!important;padding-bottom:18px!important}
body[data-spriteforge-theme="glass-forge"] .pricing-grid .plan-card .plan-price::after{position:absolute!important;left:0!important;right:auto!important;top:auto!important;bottom:0!important;display:block!important;margin:0!important;transform:none!important}

/* Carry the upgrade CTA's warm orange treatment into the featured Creator plan. */
body[data-spriteforge-theme="glass-forge"] .pricing-grid .plan-card.featured{border:1px solid transparent!important;background:linear-gradient(145deg,#2f2f2fcc,#1e1e1ecc) padding-box,linear-gradient(135deg,#ff6428 0%,#ff8d32 52%,#ffc857 100%) border-box!important;box-shadow:inset 0 1px #ffffff16,0 18px 52px #ff742e2e!important}
body[data-spriteforge-theme="glass-forge"] .pricing-grid .plan-card.featured button{border-color:#ffb26a!important;background:linear-gradient(135deg,#ff6428 0%,#ff8d32 52%,#ffc857 100%)!important;color:#211108!important;box-shadow:0 9px 22px #ff742e4d!important}
body[data-spriteforge-theme="glass-forge"] .pricing-grid .plan-card.featured button:hover{background:linear-gradient(135deg,#ff7132 0%,#ffa03e 52%,#ffd66e 100%)!important;box-shadow:0 12px 27px #ff742e80!important}
body[data-spriteforge-theme="glass-forge"] .pricing-grid .plan-card button{border-color:#ffb26a!important;background:linear-gradient(135deg,#ff6428 0%,#ff8d32 52%,#ffc857 100%)!important;color:#211108!important;box-shadow:0 9px 22px #ff742e4d!important}
body[data-spriteforge-theme="glass-forge"] .pricing-grid .plan-card button:hover{background:linear-gradient(135deg,#ff7132 0%,#ffa03e 52%,#ffd66e 100%)!important;box-shadow:0 12px 27px #ff742e80!important}
body[data-spriteforge-theme="glass-forge"] .pricing-grid .plan-badge{border:1px solid #ffb26a!important;background:linear-gradient(135deg,#ff6428 0%,#ff8d32 52%,#ffc857 100%)!important;color:#211108!important;box-shadow:0 7px 18px #ff742e4d!important}

/* Match the marketing hero's Create action to the orange conversion CTAs. */
body[data-spriteforge-theme="glass-forge"] .hero-character-cta button{border-color:#ffb26a!important;background:linear-gradient(135deg,#ff6428 0%,#ff8d32 52%,#ffc857 100%)!important;color:#211108!important;box-shadow:0 9px 22px #ff742e4d!important}
body[data-spriteforge-theme="glass-forge"] .hero-character-cta button:hover{background:linear-gradient(135deg,#ff7132 0%,#ffa03e 52%,#ffd66e 100%)!important;border-color:#ffd08a!important;color:#211108!important;box-shadow:0 12px 27px #ff742e80!important}

/* Funnel character creator CTA. */
body[data-spriteforge-theme="glass-forge"] .creator-generate{border-color:#ffb26a!important;background:linear-gradient(135deg,#ff6428 0%,#ff8d32 52%,#ffc857 100%)!important;color:#211108!important;box-shadow:0 9px 22px #ff742e4d!important}
body[data-spriteforge-theme="glass-forge"] .creator-generate:hover{background:linear-gradient(135deg,#ff7132 0%,#ffa03e 52%,#ffd66e 100%)!important;border-color:#ffd08a!important;color:#211108!important;box-shadow:0 12px 27px #ff742e80!important}
body[data-spriteforge-theme="glass-forge"] #creator-generate{border-color:#ffb26a!important;background:linear-gradient(135deg,#ff6428 0%,#ff8d32 52%,#ffc857 100%)!important;color:#211108!important;box-shadow:0 9px 22px #ff742e4d!important}
body[data-spriteforge-theme="glass-forge"] #creator-generate:hover{background:linear-gradient(135deg,#ff7132 0%,#ffa03e 52%,#ffd66e 100%)!important;border-color:#ffd08a!important;color:#211108!important;box-shadow:0 12px 27px #ff742e80!important}
body[data-spriteforge-theme="glass-forge"] #creator-animate{border-color:#ffb26a!important;background:linear-gradient(135deg,#ff6428 0%,#ff8d32 52%,#ffc857 100%)!important;color:#211108!important;box-shadow:0 9px 22px #ff742e4d!important}
body[data-spriteforge-theme="glass-forge"] #creator-animate:hover{background:linear-gradient(135deg,#ff7132 0%,#ffa03e 52%,#ffd66e 100%)!important;border-color:#ffd08a!important;color:#211108!important;box-shadow:0 12px 27px #ff742e80!important}

/* The compact sidebar uses a larger, high-contrast tile so the upgrade action
   reads as a deliberate CTA instead of a floating dark icon. */
body[data-spriteforge-theme="glass-forge"] .studio-upgrade-cta{background:linear-gradient(135deg,#ff6428 0%,#ff8d32 52%,#ffc857 100%)!important;border:1px solid #ffb26a!important;color:#211108!important;box-shadow:0 9px 22px #ff742e66!important}
body[data-spriteforge-theme="glass-forge"] .studio-upgrade-cta:hover{background:linear-gradient(135deg,#ff7132 0%,#ffa03e 52%,#ffd66e 100%)!important;box-shadow:0 12px 27px #ff742e99!important}
body[data-spriteforge-theme="glass-forge"] .studio-upgrade-cta .studio-upgrade-icon{background:transparent!important;color:inherit!important}
@media(min-width:661px){
  body[data-spriteforge-theme="glass-forge"] .studio-upgrade-cta:hover::after{content:"Update plan";position:absolute;left:calc(100% + 9px);top:50%;z-index:90;transform:translateY(-50%);padding:7px 9px;border:1px solid #4f4f4f;border-radius:7px;background:#252525;color:#f5f5f5;font:800 11px/1 Inter,ui-sans-serif,system-ui,sans-serif;white-space:nowrap;box-shadow:0 10px 24px #0008;pointer-events:none}
}

/* Keep the free-plan upgrade action discoverable in the compact sidebar. */
@media(min-width:661px){
  .studio-sidebar-bottom{gap:4px}
  .studio-upgrade-cta{width:100%;height:29px;min-height:29px;box-sizing:border-box;margin:0;padding:2px 10px;border-radius:8px;justify-content:flex-start}
  .studio-upgrade-cta>span:last-child{display:inline!important;white-space:nowrap}
  .studio-upgrade-cta .studio-upgrade-icon{display:grid!important;flex:none;width:21px;height:21px;font-size:13px}
  body[data-spriteforge-theme="glass-forge"] .studio-upgrade-cta:hover::after{display:none}
}

/* Reading-first sizing pass for the workspace and every generator. */
body[data-spriteforge-theme="glass-forge"] .studio-shell :is(.studio-primary button,.studio-sidebar-bottom>a,.studio-user,.studio-library-nav button,.studio-filter-row button,.studio-tool-launcher button,.studio-section-title>button,.studio-type-select,.studio-generator-select){font-size:14px!important}
body[data-spriteforge-theme="glass-forge"] .studio-shell :is(.studio-sidebar-label,.studio-kicker,.studio-library-count,.studio-card-more,.studio-topbar p,.studio-asset-copy small,.studio-library-toolbar label){font-size:12px!important;line-height:1.45!important}
body[data-spriteforge-theme="glass-forge"] .studio-shell small{font-size:12px!important;line-height:1.45!important}
body[data-spriteforge-theme="glass-forge"] .studio-shell :is(.studio-tool-launcher b,.studio-section-title h2,.studio-asset-copy b){font-size:14px!important}
body[data-spriteforge-theme="glass-forge"] .studio-shell :is(input,textarea,select){font-size:15px!important}

body[data-spriteforge-theme="glass-forge"] :is(.creator-page,.asset-page,.studio-asset-pack-view,.studio-tileset-view,.studio-animation-view,.studio-animation2-view,.studio-animation3-view,.studio-animation4-view,.a4-view,.tool-page) :is(small,.creator-field>span,.asset-field>span,.pack-form label>span,.pack-form>section>span,.tileset-form label>span,.tileset-form>section>span,.animation-field>span,.animation3-field>span,.a4-step label,.a4-options label,.a4-stage-head span,.animation-library>header span,.animation3-results>header span){font-size:12px!important;line-height:1.45!important}
body[data-spriteforge-theme="glass-forge"] :is(.creator-page,.asset-page,.studio-asset-pack-view,.studio-tileset-view,.studio-animation-view,.studio-animation2-view,.studio-animation3-view,.studio-animation4-view,.a4-view,.tool-page) :is(input,textarea,select){font-size:15px!important}
body[data-spriteforge-theme="glass-forge"] :is(.creator-page,.asset-page,.studio-asset-pack-view,.studio-tileset-view,.studio-animation-view,.studio-animation2-view,.studio-animation3-view,.studio-animation4-view,.a4-view,.tool-page) :is(.style-tag,.creator-tag,.asset-tag,.pack-tags button,.tileset-tags button,.animation-motion-card,.animation3-motions button,.a4-motions button,.a4-source,.asset-chip,.tag){font-size:12px!important}
body[data-spriteforge-theme="glass-forge"] :is(.creator-page,.asset-page,.studio-asset-pack-view,.studio-tileset-view,.studio-animation-view,.studio-animation2-view,.studio-animation3-view,.studio-animation4-view,.a4-view,.tool-page) :is(button,a){font-size:13px}
body[data-spriteforge-theme="glass-forge"] :is(.creator-page,.asset-page) :is(.creator-result-head span,.asset-result-head span,.creator-compare figcaption,.asset-compare figcaption){font-size:12px!important}
body[data-spriteforge-theme="glass-forge"] :is(.creator-page,.asset-page) :is(.creator-theme-select b,.asset-theme-summary b){font-size:14px!important}
body[data-spriteforge-theme="glass-forge"] :is(.creator-page,.asset-page) :is(.creator-theme-select small,.asset-theme-summary small,.creator-theme-select em){font-size:12px!important}

/* Give motion prompts enough room for a useful description without scrolling. */
body[data-spriteforge-theme="glass-forge"] :is(.animation-form textarea,.animation3-form textarea,.a4-panel textarea){min-height:170px!important;height:170px!important;resize:vertical!important}

/* All primary generation actions use the same orange conversion treatment. */
body[data-spriteforge-theme="glass-forge"] :is(.creator-generate,.asset-generate,.pack-create,.tileset-create,.animation-create,.animation3-submit,.a4-submit){border:1px solid #ffb26a!important;background:linear-gradient(135deg,#ff6428 0%,#ff8d32 52%,#ffc857 100%)!important;color:#211108!important;box-shadow:0 9px 22px #ff742e4d!important}
body[data-spriteforge-theme="glass-forge"] :is(.creator-generate,.asset-generate,.pack-create,.tileset-create,.animation-create,.animation3-submit,.a4-submit):hover{background:linear-gradient(135deg,#ff7132 0%,#ffa03e 52%,#ffd66e 100%)!important;border-color:#ffd08a!important;color:#211108!important;box-shadow:0 12px 27px #ff742e80!important}
body[data-spriteforge-theme="glass-forge"] :is(.creator-generate,.asset-generate,.pack-create,.tileset-create,.animation-create,.animation3-submit,.a4-submit):disabled{opacity:.5!important;box-shadow:none!important}
body[data-spriteforge-theme="glass-forge"] .creator-controls button.creator-generate,
body[data-spriteforge-theme="glass-forge"] .asset-controls button.asset-generate,
body[data-spriteforge-theme="glass-forge"] .pack-form button.pack-create,
body[data-spriteforge-theme="glass-forge"] .tileset-form button.tileset-create,
body[data-spriteforge-theme="glass-forge"] .animation-form button.animation-create,
body[data-spriteforge-theme="glass-forge"] .animation3-form button.animation3-submit,
body[data-spriteforge-theme="glass-forge"] .a4-panel button.a4-submit{background-image:linear-gradient(135deg,#ff6428 0%,#ff8d32 52%,#ffc857 100%)!important;background-color:#ff8d32!important;border:1px solid #ffb26a!important;color:#211108!important;box-shadow:0 9px 22px #ff742e66!important}
body[data-spriteforge-theme="glass-forge"] .creator-controls button.creator-generate:hover,
body[data-spriteforge-theme="glass-forge"] .asset-controls button.asset-generate:hover,
body[data-spriteforge-theme="glass-forge"] .pack-form button.pack-create:hover,
body[data-spriteforge-theme="glass-forge"] .tileset-form button.tileset-create:hover,
body[data-spriteforge-theme="glass-forge"] .animation-form button.animation-create:hover,
body[data-spriteforge-theme="glass-forge"] .animation3-form button.animation3-submit:hover,
body[data-spriteforge-theme="glass-forge"] .a4-panel button.a4-submit:hover{background-image:linear-gradient(135deg,#ff7132 0%,#ffa03e 52%,#ffd66e 100%)!important;background-color:#ffa03e!important;border-color:#ffd08a!important;color:#211108!important;box-shadow:0 12px 27px #ff742e99!important}
body[data-spriteforge-theme="glass-forge"] :is(.creator-controls button.creator-generate,.asset-controls button.asset-generate,.pack-form button.pack-create,.tileset-form button.tileset-create,.animation-form button.animation-create,.animation3-form button.animation3-submit,.a4-panel button.a4-submit){font-size:15px!important;line-height:1.25!important;font-weight:850!important}
body[data-spriteforge-theme="glass-forge"] :is(.creator-controls button.creator-generate,.asset-controls button.asset-generate,.pack-form button.pack-create,.tileset-form button.tileset-create,.animation-form button.animation-create,.animation3-form button.animation3-submit,.a4-panel button.a4-submit) b{font-size:18px!important;line-height:1!important;margin-left:7px!important}

/* The secondary character actions share one quiet treatment. */
body[data-spriteforge-theme="glass-forge"] :is(.creator-result-next-actions #creator-edit,.creator-result-next-actions #creator-view-app){background:#2e2e2e!important;color:#d7d7d7!important;border-color:var(--border)!important;box-shadow:none!important}
body[data-spriteforge-theme="glass-forge"] :is(.creator-result-next-actions #creator-edit,.creator-result-next-actions #creator-view-app):hover{background:#3a3a3a!important;color:#f3f3f3!important;border-color:#666!important}

/* Make insufficient-credit errors visible at the action that triggered them. */
body[data-spriteforge-theme="glass-forge"] .credit-upgrade-alert{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;box-sizing:border-box;margin:0 0 10px;padding:14px 15px;border:1px solid #ff9b52!important;border-radius:10px;background:linear-gradient(135deg,#42261a 0%,#2b201b 100%)!important;box-shadow:0 10px 25px #ff742e2b!important;color:#fff1e7!important}
body[data-spriteforge-theme="glass-forge"] .credit-upgrade-alert-copy{display:grid;gap:4px;min-width:0}
body[data-spriteforge-theme="glass-forge"] .credit-upgrade-alert-copy strong{font-size:15px!important;line-height:1.2!important;color:#ffd0ad!important}
body[data-spriteforge-theme="glass-forge"] .credit-upgrade-alert-copy span{font-size:13px!important;line-height:1.4!important;color:#e6c7b5!important}
body[data-spriteforge-theme="glass-forge"] .credit-upgrade-alert-cta{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;min-height:38px!important;padding:9px 13px!important;border:1px solid #ffbd78!important;border-radius:8px!important;background:linear-gradient(135deg,#ff6428 0%,#ff8d32 52%,#ffc857 100%)!important;color:#211108!important;font:850 13px/1.1 Inter,ui-sans-serif,system-ui,sans-serif!important;text-decoration:none!important;white-space:nowrap!important;box-shadow:0 8px 18px #ff742e4d!important}
body[data-spriteforge-theme="glass-forge"] .credit-upgrade-alert-cta:hover{background:linear-gradient(135deg,#ff7132 0%,#ffa03e 52%,#ffd66e 100%)!important;border-color:#ffd08a!important;box-shadow:0 11px 23px #ff742e80!important}
@media(max-width:600px){body[data-spriteforge-theme="glass-forge"] .credit-upgrade-alert{align-items:stretch;flex-direction:column;gap:11px}body[data-spriteforge-theme="glass-forge"] .credit-upgrade-alert-cta{width:100%}}

/* Present completed animations like the other generators: the playable output
   is the visual focus, with the actions grouped beside it. */
body[data-spriteforge-theme="glass-forge"] .a4-results{display:grid!important;grid-template-columns:1fr!important;gap:16px!important;margin-top:18px!important}
body[data-spriteforge-theme="glass-forge"] .a4-results article.a4-result-card{display:grid!important;grid-template-columns:minmax(230px,.95fr) minmax(260px,1.05fr)!important;gap:20px!important;align-items:stretch!important;min-height:320px!important;padding:18px!important;border:1px solid var(--gf-stroke)!important;border-radius:13px!important;background:var(--gf-surface)!important}
body[data-spriteforge-theme="glass-forge"] .a4-result-preview{display:grid!important;place-items:center!important;min-height:282px!important;margin:0!important;overflow:hidden!important;border:1px solid #4b4b4b!important;border-radius:10px!important;background-color:#171717!important}
body[data-spriteforge-theme="glass-forge"] .a4-result-preview img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:360px!important;object-fit:contain!important;image-rendering:pixelated!important}
body[data-spriteforge-theme="glass-forge"] .a4-result-info{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;min-width:0!important;padding:8px 4px!important}
body[data-spriteforge-theme="glass-forge"] .a4-result-info>span{font-size:12px!important;line-height:1.4!important;letter-spacing:.08em!important;color:#d2d2d2!important;font-weight:800!important}
body[data-spriteforge-theme="glass-forge"] .a4-result-info h2{margin:10px 0 0!important;color:#f3f3f3!important;font-size:25px!important;line-height:1.12!important;letter-spacing:-.03em!important;overflow-wrap:anywhere!important}
body[data-spriteforge-theme="glass-forge"] .a4-result-info p{margin:12px 0 0!important;color:#c0c0c0!important;font-size:14px!important;line-height:1.5!important}
body[data-spriteforge-theme="glass-forge"] .a4-result-info small{margin-top:7px!important;color:#969696!important;font-size:12px!important;line-height:1.45!important}
body[data-spriteforge-theme="glass-forge"] .a4-result-actions{display:flex!important;flex-wrap:wrap!important;gap:9px!important;margin-top:22px!important}
body[data-spriteforge-theme="glass-forge"] .a4-result-actions :is(a,button){display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:42px!important;padding:10px 14px!important;border:1px solid #505050!important;border-radius:8px!important;background:#303030!important;color:#e9e9e9!important;font:800 13px/1.2 Inter,ui-sans-serif,system-ui,sans-serif!important;text-decoration:none!important;cursor:pointer!important;box-sizing:border-box!important}
body[data-spriteforge-theme="glass-forge"] .a4-result-actions :is(a,button):hover{background:#3c3c3c!important;border-color:#737373!important;color:#fff!important}
body[data-spriteforge-theme="glass-forge"] .a4-result-actions .a4-result-again{border-color:#ffb26a!important;background:linear-gradient(135deg,#ff6428 0%,#ff8d32 52%,#ffc857 100%)!important;color:#211108!important;box-shadow:0 9px 22px #ff742e4d!important}
body[data-spriteforge-theme="glass-forge"] .a4-result-actions .a4-result-again:hover{background:linear-gradient(135deg,#ff7132 0%,#ffa03e 52%,#ffd66e 100%)!important;border-color:#ffd08a!important;box-shadow:0 12px 27px #ff742e80!important}
body[data-spriteforge-theme="glass-forge"] .a4-result-actions .a4-result-again:disabled{opacity:.45!important;box-shadow:none!important;cursor:not-allowed!important}
@media(max-width:720px){
  body[data-spriteforge-theme="glass-forge"] .a4-results article.a4-result-card{grid-template-columns:1fr!important}
  body[data-spriteforge-theme="glass-forge"] .a4-result-preview{min-height:230px!important}
  body[data-spriteforge-theme="glass-forge"] .a4-result-info{padding:2px!important}
}

/* Account creation: keep the password field compact while making visibility
   explicit, and give the Google-first funnel action a clear affordance. */
body[data-spriteforge-theme="glass-forge"] .marketing-auth-password-wrap,
body[data-spriteforge-theme="glass-forge"] .studio-auth-password-wrap{position:relative;display:flex;align-items:center;width:100%}
body[data-spriteforge-theme="glass-forge"] .marketing-auth-password-wrap input,
body[data-spriteforge-theme="glass-forge"] .studio-auth-password-wrap input{box-sizing:border-box;padding-right:122px!important}
body[data-spriteforge-theme="glass-forge"] .marketing-password-toggle,
body[data-spriteforge-theme="glass-forge"] .studio-password-toggle{position:absolute;right:7px;top:50%;display:inline-flex;align-items:center;gap:4px;transform:translateY(-50%);border:0!important;background:transparent!important;box-shadow:none!important;color:#bdbdbd!important;padding:5px 6px!important;font:700 11px/1 Inter,ui-sans-serif,system-ui,sans-serif;cursor:pointer;white-space:nowrap}
body[data-spriteforge-theme="glass-forge"] .marketing-password-toggle:hover,
body[data-spriteforge-theme="glass-forge"] .studio-password-toggle:hover{color:#ffffff!important}
body[data-spriteforge-theme="glass-forge"] .marketing-auth-dialog form>.marketing-google-auth:first-child,
body[data-spriteforge-theme="glass-forge"] .studio-auth-dialog form>.studio-google-auth:first-child{margin-bottom:1px}
body[data-spriteforge-theme="glass-forge"] .marketing-auth-character-funnel{padding:27px 29px}
body[data-spriteforge-theme="glass-forge"] .marketing-auth-character-funnel h2{font-size:27px;line-height:1.08;margin-top:7px}
body[data-spriteforge-theme="glass-forge"] .marketing-auth-character-funnel>p{margin-bottom:19px}
body[data-spriteforge-theme="glass-forge"] .marketing-auth-character-funnel form>.marketing-google-auth + .marketing-auth-or{margin-top:9px}

/* Give the hero prompt a restrained orange signal that matches Create. */
body[data-spriteforge-theme="glass-forge"] .hero-character-cta>div{border:1px solid transparent!important;background:linear-gradient(#212121,#212121) padding-box,linear-gradient(135deg,#ff6428,#ff8d32 52%,#ffc857) border-box!important;box-shadow:0 14px 32px #ff742e1c,inset 0 1px #ffffff0c!important}
body[data-spriteforge-theme="glass-forge"] .hero-character-cta>div:focus-within{border-color:transparent!important;box-shadow:0 0 0 2px #ff742e18,0 14px 34px #ff742e2b,inset 0 1px #ffffff10!important}
body[data-spriteforge-theme="glass-forge"] .hero-animation-cta label{border:1px solid transparent!important;border-left:1px solid transparent!important;background:linear-gradient(#212121,#212121) padding-box,linear-gradient(135deg,#ff6428,#ff8d32 52%,#ffc857) border-box!important;box-shadow:0 7px 18px #ff742e1c!important}
body[data-spriteforge-theme="glass-forge"] .hero-animation-cta label:hover{border-color:transparent!important;background:linear-gradient(#292929,#292929) padding-box,linear-gradient(135deg,#ff7132,#ffa03e 52%,#ffd66e) border-box!important;box-shadow:0 9px 22px #ff742e2b!important}
body[data-spriteforge-theme="glass-forge"] .marketing-hero-inner{max-width:860px!important}
/* Sprite Turnaround · admin generator */
.turnaround-shell{margin-top:0}.turnaround-controls{min-height:690px}.turnaround-source-card{display:grid;grid-template-columns:92px 1fr;gap:12px;align-items:center;padding:12px;border:1px solid #51463f;border-radius:12px;background:#1d1b1a}.turnaround-source-card>img{width:92px;height:92px;object-fit:contain;image-rendering:pixelated}.turnaround-source-card>div{display:grid;gap:5px;min-width:0}.turnaround-source-card b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#eee1d8}.turnaround-source-card small{color:#9e928b;font-size:10px;line-height:1.4}.turnaround-source-card button{justify-self:start;border:1px solid #5d4c42;border-radius:7px;background:#2a2421;color:#e8c4aa;padding:7px 10px;font-size:10px;font-weight:700;cursor:pointer}.turnaround-choice-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.turnaround-choice{display:grid;gap:4px;text-align:left;padding:11px;border:1px solid #544840;border-radius:10px;background:#211e1c;color:#d9ccc4;cursor:pointer}.turnaround-choice b{font-size:12px}.turnaround-choice small{font-size:9px;color:#958b85}.turnaround-choice.active{border-color:#e3935c;background:linear-gradient(145deg,#35251f,#24201e);box-shadow:inset 0 0 0 1px #9f5f3a}.turnaround-choice.active b{color:#ffbd8e}.turnaround-segment{display:grid;grid-template-columns:1fr 1fr;padding:3px;border:1px solid #50443d;border-radius:9px;background:#191817}.turnaround-segment button{border:0;border-radius:6px;background:transparent;color:#9f958f;padding:8px;font-size:10px;font-weight:700;cursor:pointer}.turnaround-segment button.active{background:#3a2a23;color:#ffb986}.turnaround-direction-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.turnaround-count-field:not([hidden])~.asset-field .turnaround-direction-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.turnaround-direction{border:1px solid #4e443e;border-radius:8px;background:#211f1d;color:#aaa09a;padding:8px 6px;font-size:10px;font-weight:700;cursor:pointer}.turnaround-direction:hover{border-color:#8d654f;color:#eee0d7}.turnaround-direction.active{border-color:#e89962;background:#3a2921;color:#ffc095;box-shadow:inset 0 0 0 1px #94583a}.turnaround-compare figure{min-width:0}.turnaround-result-source{display:grid;place-items:center;min-height:280px;border-radius:10px;overflow:hidden}.turnaround-result-source img{max-width:100%;max-height:360px;object-fit:contain;image-rendering:pixelated}#turnaround-output{image-rendering:pixelated}.turnaround-cost{display:flex;align-items:center;gap:8px;margin:0;padding:10px 12px;border:1px solid #5a4639;border-radius:9px;background:linear-gradient(135deg,#29211c,#1c1b1b);color:#c7b7ad;font-size:11px}.turnaround-cost span{color:#a99a91;text-transform:uppercase;letter-spacing:.09em;font-size:9px;font-weight:800}.turnaround-cost b{color:#f2ad7b;font-size:12px}.turnaround-cost small{margin-left:auto;color:#9d918b;font-size:10px}@media(max-width:760px){.turnaround-source-card{grid-template-columns:72px 1fr}.turnaround-source-card>img{width:72px;height:72px}.turnaround-choice-row{grid-template-columns:1fr}.turnaround-cost{flex-wrap:wrap}.turnaround-cost small{width:100%;margin-left:0}}
