@charset "UTF-8";
:root{--paper:#f6f5f1;--white:#fff;--ink:#202322;--muted:#777b75;--line:#e5e6df;--orange:#e96848;--orange-dark:#cb5133;--green:#6f8877;--sans:Inter,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-family:var(--sans);color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,select:focus-visible,textarea:focus-visible,.upload-area:focus-within{outline:3px solid #e9684880;outline-offset:4px}[hidden]{display:none!important}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}button{border:0}button:disabled{opacity:.55}.site-header{max-width:1440px;margin:auto;height:96px;padding:0 64px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:19px}.brand-mark{font-size:40px;font-weight:850;letter-spacing:-3px;line-height:1;position:relative}.brand-mark>span{position:absolute;right:-7px;top:2px;width:6px;height:6px;border-radius:50%;background:var(--orange)}.brand-name{font-size:13px;border-left:1px solid #d7dad3;padding-left:18px;letter-spacing:2px}.header-right{display:flex;gap:30px;align-items:center}.service{font-size:11px;color:#657564;display:flex;gap:7px;align-items:center}.service i,.preview-top i,.eyebrow>span{width:6px;height:6px;border-radius:100%;background:#91aa8a;display:inline-block}.service.offline{color:#b85d40}.service.offline i{background:#cc795b}.history-link{font-size:12px}.history-link span{margin-left:10px}main{max-width:1440px;padding:0 64px;margin:auto}.intro{display:flex;align-items:flex-end;justify-content:space-between;padding:49px 0 34px}.eyebrow{color:#69736b;font-size:10px;letter-spacing:2px;display:flex;gap:9px;align-items:center}.eyebrow>span{background:var(--orange);width:5px;height:5px}h1{font-weight:650;font-size:44px;letter-spacing:-1.4px;margin:13px 0 11px;line-height:1.3}h1 span{color:var(--orange)}.intro p{font-size:12px;color:var(--muted);margin:0;letter-spacing:.4px}.intro-note{font-size:9px;color:#90968d;letter-spacing:2px;padding-bottom:3px}.intro-note>span{font-size:24px;margin-left:18px;color:#6e796c}.workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);gap:24px;align-items:start}.creation-panel{background:var(--white);border:1px solid var(--line);border-radius:17px;padding:25px 27px 17px;min-width:0}.mode-tabs{display:flex;padding:4px;background:#f2f3ef;border-radius:9px;gap:4px;margin-bottom:24px}.mode{display:flex;align-items:center;justify-content:center;gap:9px;flex:1;color:#858a81;font-size:12px;font-weight:600;background:transparent;padding:11px 5px;border-radius:6px;white-space:nowrap}.mode svg{width:16px;height:16px}.mode.active{background:white;color:#2d332b;box-shadow:0 1px 5px #27311e0d}.field-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:11px;font-size:11px}.field-heading label{font-weight:600}.field-heading>span{font-size:10px;color:#969b92}.upload-area{position:relative;min-height:164px;background:#fafbf8;border:1px dashed #cfd6c9;border-radius:9px;overflow:hidden;display:flex;align-items:center;justify-content:center;text-align:center;transition:background .2s,border-color .2s}.upload-area.dragover{background:#fff1e8;border-color:var(--orange)}.file-input{opacity:0;position:absolute;inset:0;width:100%;height:100%;cursor:pointer;z-index:2}.file-input:disabled{cursor:wait}.upload-icon{border:1px solid #e3e8dd;border-radius:12px;width:39px;height:39px;margin:0 auto 13px;background:white;display:grid;place-items:center;color:#72836b}.upload-icon svg{width:18px;height:18px}.upload-area strong{display:block;font-size:11px;font-weight:500;margin-bottom:8px}.upload-area #upload-placeholder>span{color:#9ba093;font-size:10px}.upload-area>img{width:100%;height:164px;object-fit:contain;background:#eff0ea}.remove-image{position:absolute;right:10px;top:10px;width:27px;height:27px;border-radius:50%;color:white;background:#232923c9;z-index:3;font-size:22px;display:grid;place-items:center;padding:0}.upload-status{position:absolute;bottom:0;left:0;right:0;z-index:3;background:#1d2a22db;color:white;padding:8px;font-size:11px;pointer-events:none}.prompt-heading{margin-top:22px}.optional{font-weight:400;color:#a1a69c;font-size:10px;margin-left:6px}.textarea-wrap{border:1px solid #e3e6dc;border-radius:9px;background:#fdfdfb;overflow:hidden}.textarea-wrap:focus-within{border-color:#b4bca9;box-shadow:0 0 0 3px #aabb9b15}textarea{display:block;background:transparent;border:0;resize:vertical;min-height:97px;max-height:300px;width:100%;padding:13px 13px 4px;font-size:11px;line-height:1.9;color:#333b30;outline:0!important}textarea::placeholder{color:#a1a79a}.textarea-hint{display:block;font-size:9px;color:#a4a99f;padding:0 13px 12px}.inspiration{display:flex;align-items:center;gap:7px;margin-top:11px;flex-wrap:wrap}.inspiration>span{font-size:9px;color:#969e8f;margin-right:1px}.inspiration button{background:#f5f6f0;border:1px solid #edf0e5;border-radius:4px;color:#76816b;font-size:9px;padding:5px 6px}.inspiration button:hover{background:#e9eddf}.settings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:22px}.settings label{display:block;font-size:10px;font-weight:500;margin-bottom:9px}.settings select{width:100%;border:1px solid #e3e6dd;border-radius:7px;padding:10px 8px;color:#50564a;font-size:11px;background:#fff;min-height:38px}.parameter-note{font-size:10px;color:#997245;margin-top:9px}.generate-button{width:100%;display:flex;align-items:center;justify-content:center;gap:9px;margin-top:23px;padding:15px;border-radius:8px;background:var(--orange);color:#fff;font-size:12px;font-weight:600;position:relative;transition:background .2s;min-height:47px}.generate-button:hover{background:var(--orange-dark)}.generate-button>span:first-child{font-size:16px}.generate-button .button-arrow{position:absolute;right:17px;font-size:18px;font-weight:400}.submit-note{font-size:9px;color:#9da194;text-align:center;margin:11px 0 0;line-height:1.7}.text-mode-note{padding:24px 16px;border-radius:9px;background:#f7f8f1;color:#78836c;font-size:11px;line-height:1.9}.text-mode-note>span{color:var(--orange);font-size:20px;display:block;margin-bottom:8px}.form-message{font-size:11px;line-height:1.8;color:#a64a30;background:#fff1e9;padding:10px 12px;border-radius:6px;margin-top:13px;overflow-wrap:anywhere}.form-message.info{background:#f0f5ec;color:#627653}.preview-panel{background:#242d29;border:1px solid #2a362d;border-radius:17px;padding:22px 25px 18px;min-width:0;position:sticky;top:22px;box-shadow:0 10px 30px #2735250a}.preview-top{display:flex;align-items:center;justify-content:space-between;color:#c0c9bd;font-size:11px}.preview-top>span:first-child{display:flex;align-items:center;gap:8px}.preview-top i{background:#c6d0b9;width:5px;height:5px}.preview-top>span:last-child{font-size:9px;border:1px solid #52624d;border-radius:4px;color:#a5b198;padding:5px 8px}.preview-stage{min-height:398px;display:flex;align-items:center;justify-content:center;position:relative;margin:15px 0 10px;background:radial-gradient(ellipse at center,#38453522,transparent 70%);overflow:hidden}.preview-empty{text-align:center;color:#d4decd}.frame-art{height:160px;width:200px;margin:0 auto 24px;position:relative}.frame-back{position:absolute;left:24px;top:23px;width:115px;height:90px;border:1px solid #61705b;border-radius:8px;transform:rotate(-13deg);background:#2d382e}.frame-front{position:absolute;left:50px;top:40px;width:130px;height:88px;border:1px solid #8b9b7a;border-radius:9px;transform:rotate(8deg);background:linear-gradient(145deg,#4a5941,#374433);box-shadow:0 14px 25px #131e1640;display:grid;place-items:center}.frame-front span{border:1px solid #95a67e;border-radius:50%;color:#d1dfb9;width:34px;height:34px;display:grid;place-items:center;font-size:11px;padding-left:2px}.frame-front i{position:absolute;left:9px;bottom:9px;width:55px;height:2px;background:#76876b}.frame-front i:last-child{width:6px;height:6px;border-radius:50%;left:auto;right:9px;bottom:8px;background:#c1ce9e}.art-spark{position:absolute;color:#b5c98e}.spark-one{right:10px;top:4px;font-size:29px}.spark-two{left:5px;bottom:13px;font-size:20px;color:#7b8c6e}.preview-empty h2,.preview-wait h2{font-size:15px;font-weight:500;letter-spacing:.5px;margin:0 0 12px}.preview-empty p,.preview-wait p{font-size:10px;color:#82917b;line-height:1.9;margin:0}.preview-bottom{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid #3b473b;padding-top:21px}.preview-bottom>div{min-width:0}.preview-bottom>div>span{display:block;font-size:12px;color:#cad4c2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:240px}.preview-bottom small{display:block;font-size:9px;color:#7d8d74;margin-top:8px}.download-button{display:flex;gap:7px;align-items:center;border:1px solid #52614a;background:#35402f;color:#bdcba9;border-radius:6px;font-size:10px;padding:9px 12px;white-space:nowrap}.download-button svg{width:14px;height:14px}.download-button:disabled{opacity:.35}.download-button:not(:disabled):hover{background:#43533b}.preview-caption{text-align:center;color:#66785e;font-size:9px;letter-spacing:.4px;margin:21px 0 0}.preview-wait{text-align:center;max-width:320px;padding:30px 10px}.orbit{width:74px;height:74px;display:grid;place-items:center;position:relative;margin:0 auto 27px}.orbit:before{content:"";position:absolute;inset:0;border:1px solid #56684a;border-top:2px solid #c4d5a0;border-radius:50%;animation:spin 2s linear infinite}.orbit span{font-size:24px;font-weight:700;color:#c8dab0;letter-spacing:-2px}.preview-wait.failed .orbit:before{animation:none;border-color:#be8065}.preview-wait.failed .orbit span{color:#d89a7e}.progress-track{width:180px;height:3px;border-radius:5px;background:#46523e;margin:24px auto 12px;overflow:hidden}.progress-track>div{height:100%;width:32%;background:#bfd19e;border-radius:5px;animation:progress 2s ease-in-out infinite}.progress-track.determinate>div{animation:none}.wait-note{display:block;max-width:270px;font-size:9px;color:#82917b;line-height:1.9}.retry-poll{margin-top:15px;background:#44523b;color:#d1dec2;padding:9px 14px;border-radius:6px;font-size:11px}#result-video{display:block;max-width:100%;width:100%;max-height:450px;background:#18201b;object-fit:contain;border-radius:7px}.history-section{margin-top:44px;padding-bottom:51px}.section-heading{display:flex;justify-content:space-between;align-items:center}.section-kicker{color:#929b88;font-size:8px;letter-spacing:2px}.section-heading h2{font-size:19px;font-weight:600;margin:8px 0 0;letter-spacing:-.5px}.section-heading h2>span{font-size:10px;font-weight:400;background:#e9ece2;border:1px solid #dfe4d5;border-radius:4px;padding:3px 6px;vertical-align:middle;color:#819070;margin-left:8px}.text-button{font-size:10px;color:#7c8870;background:transparent;padding:10px 0 10px 15px}.text-button>span{margin-left:7px;font-size:14px}.history-note{color:#9a9f93;font-size:10px;margin-top:11px}.history-empty{border:1px dashed #d9ded1;border-radius:12px;padding:28px;display:flex;gap:18px;align-items:center;justify-content:center;margin-top:22px;background:#f2f3ec}.history-empty>span{font-size:28px;color:#a8b39a}.history-empty strong{font-size:11px;font-weight:500;color:#7e8b71}.history-empty p{font-size:10px;color:#a0a892;margin:9px 0 0}.history-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-top:22px}.history-card{text-align:left;border:1px solid #e0e4d7;background:#fcfdf9;border-radius:10px;padding:0;overflow:hidden;color:var(--ink);transition:transform .2s,border-color .2s}.history-card:hover{transform:translateY(-3px);border-color:#aabb97}.history-card.selected{border-color:var(--orange);box-shadow:0 0 0 1px var(--orange)}.history-cover{height:104px;background:radial-gradient(ellipse at 60% 80%,#53654c,#28362d);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;color:#aabd96}.history-cover img{width:100%;height:100%;object-fit:cover;opacity:.65}.history-cover .cover-symbol{position:absolute;font-size:23px}.history-badge{position:absolute;right:8px;top:8px;border:1px solid #ffffff25;border-radius:4px;padding:4px 6px;background:#243127dc;color:#d2dfc6;font-size:9px}.history-info{padding:13px}.history-info strong{display:block;font-size:11px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-info p{font-size:9px;color:#949e88;margin:8px 0 0}.history-info small{display:block;font-size:8px;color:#a6ad9b;margin-top:8px}footer{border-top:1px solid var(--line);max-width:1312px;margin:auto;padding:25px 0 31px;display:flex;justify-content:space-between;align-items:center;color:#9a9f93;font-size:9px}.footer-brand{font-size:21px;font-weight:750;letter-spacing:-1px;color:#69775e}.footer-brand span{font-weight:400;font-size:9px;letter-spacing:.5px;margin-left:12px}footer>span{letter-spacing:1px}@keyframes spin{to{transform:rotate(360deg)}}@keyframes progress{0%{transform:translateX(-100%)}100%{transform:translateX(420%)}}
@media(min-width:1500px){.site-header,main{max-width:1440px}.preview-stage{min-height:410px}}@media(max-width:1100px){.site-header{padding:0 35px}main{padding:0 35px}.creation-panel{padding:22px}.preview-panel{padding:22px}.workspace{gap:20px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.preview-stage{min-height:398px}footer{margin:0 35px}.inspiration{gap:5px}.history-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.preview-bottom>div>span{max-width:170px}}
@media(max-width:760px){.site-header{height:76px;padding:0 22px}.brand{gap:14px}.brand-mark{font-size:34px}.brand-name{font-size:11px;padding-left:13px;letter-spacing:1px}.header-right{gap:16px}.history-link{font-size:11px}.service{font-size:9px}.intro{padding:34px 0 27px}.intro-note{display:none}main{padding:0 22px}h1{font-size:35px;margin:14px 0 10px}.intro p{font-size:11px}.eyebrow{font-size:9px}.workspace{grid-template-columns:1fr;gap:20px}.creation-panel{padding:22px}.preview-panel{position:static;padding:22px}.preview-stage{min-height:300px}.preview-bottom>div>span{max-width:220px}.history-section{margin-top:33px;padding-bottom:30px}.history-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.history-empty{padding:25px 16px}.history-note{font-size:9px;line-height:1.8}footer{margin:0 22px;padding:22px 0}.preview-caption{margin-top:19px}}
@media(max-width:390px){.brand-name{display:none}.header-right{gap:13px}.site-header,main{padding-left:16px;padding-right:16px}.creation-panel,.preview-panel{padding:18px}.settings{gap:8px}.inspiration{gap:5px}.inspiration button{font-size:8px}.preview-bottom>div>span{max-width:155px}footer>span{display:none}.history-info{padding:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}html{scroll-behavior:auto}}
/* Keep working controls readable on laptop and mobile displays. */
.brand-name{font-size:14px}.service,.history-link{font-size:12px}.eyebrow{font-size:11px}.intro p{font-size:14px}.mode{font-size:14px}.field-heading{font-size:12px}.field-heading>span,.optional{font-size:11px}.upload-area strong{font-size:13px}.upload-area #upload-placeholder>span{font-size:11px}textarea{font-size:13px;min-height:115px}.textarea-hint{font-size:11px;color:#7e8875}.inspiration>span,.inspiration button{font-size:11px}.settings label{font-size:12px}.settings select{font-size:13px}.generate-button{font-size:14px}.submit-note{font-size:11px}.preview-top{font-size:12px}.preview-top>span:last-child{font-size:11px}.preview-empty h2,.preview-wait h2{font-size:17px}.preview-empty p,.preview-wait p{font-size:12px;color:#a1af97}.preview-bottom>div>span{font-size:13px}.preview-bottom small{font-size:11px;color:#a1ae95}.download-button{font-size:12px}.preview-caption{font-size:11px;color:#93a285}.wait-note{font-size:11px;color:#9cab92}.form-message,.text-mode-note{font-size:12px}.history-note{font-size:11px;color:#7f8975}.history-info strong{font-size:13px}.history-info p{font-size:11px}.history-info small{font-size:10px}.history-empty strong{font-size:13px}.history-empty p{font-size:11px}.text-button{font-size:12px}footer,.footer-brand span{font-size:11px}
@media(max-width:760px){.service{font-size:10px}.history-link{font-size:11px}.intro p{font-size:12px}.eyebrow{font-size:10px}.mode{font-size:12px}.inspiration>span,.inspiration button{font-size:10px}.textarea-hint{font-size:10px}.history-note{font-size:10px}.preview-bottom>div>span{max-width:170px}.preview-empty h2,.preview-wait h2{font-size:15px}footer,.footer-brand span{font-size:10px}}
.upload-formats{display:block;margin-top:6px}.upload-area.has-references{min-height:104px}.has-references .upload-icon{display:none}.reference-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}.reference-item{height:100px;position:relative;background:#eff0ea;border:1px solid #e0e5d7;border-radius:8px;overflow:hidden}.reference-item>img{width:100%;height:100%;object-fit:contain}.reference-item>span{position:absolute;bottom:5px;left:5px;background:#263123cc;color:#fff;font-size:10px;border-radius:4px;padding:3px 6px}.remove-reference{position:absolute;right:5px;top:5px;background:#263123df;color:white;border-radius:50%;width:25px;height:25px;display:grid;place-items:center;padding:0;font-size:20px}.reference-hint{font-size:11px;color:#7c8870;line-height:1.8;margin:10px 0 0}@media(max-width:390px){.reference-item{height:83px}.reference-list{gap:8px}}
.prompt-tools{display:flex;align-items:center;gap:12px;margin-top:12px;flex-wrap:wrap}.improve-button{background:#edf2e5;border:1px solid #dbe4cd;color:#526445;border-radius:6px;padding:9px 12px;font-size:12px;font-weight:500;min-height:36px}.improve-button:hover:not(:disabled){background:#e2ebd6}.improve-button>span:first-child{color:#8a9a65;margin-right:3px}.restore-prompt{background:transparent;color:#7f8a72;font-size:11px;padding:7px 0}.prompt-source{font-size:10px;color:#8f9983;margin-left:auto}.prompt-help{font-size:11px;color:#87917c;line-height:1.8;margin:8px 0 0}@media(max-width:390px){.prompt-source{font-size:9px}.prompt-tools{gap:9px}.prompt-help{font-size:10px}}
.prompt-language{display:flex;align-items:center;gap:7px}.prompt-language label{font-size:11px;color:#7f8a72;white-space:nowrap}.prompt-language select{min-height:36px;min-width:85px;border:1px solid #dfe5d5;border-radius:6px;background:#fff;color:#526445;padding:6px 8px;font-size:12px}
