@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700&display=swap');
[hidden]{display:none!important}.preview-stage .background-video{position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;border-radius:0;box-shadow:none}.placeholder[hidden]{display:none!important}
:root{font-family:'DM Sans','Noto Sans SC',sans-serif;color:#eaf1f3;background:#0a1118;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 80% 5%,#18313a 0,transparent 30%),#0a1118}button,input,textarea,select{font:inherit}.app{max-width:1450px;margin:auto;padding:0 36px 60px}.header{height:74px;border-bottom:1px solid #2b3942;display:flex;align-items:center;justify-content:space-between}.brand{color:#eaf4f4;text-decoration:none;font-size:17px;font-weight:700;display:flex;align-items:center;gap:10px}.brand-icon{color:#6be0cf;font-size:26px}.header-right{display:flex;gap:22px;align-items:center;font-size:12px}.header-right a{color:#93b3b8;text-decoration:none}.service-status{color:#96c8bd;background:#173034;border:1px solid #2c5854;border-radius:100px;padding:7px 12px}.service-status.offline{color:#e5bb82;background:#332a20;border-color:#6c5032}.heading{display:flex;justify-content:space-between;align-items:end;gap:15px;padding:44px 0 30px}.eyebrow{color:#72e0cf;font-size:11px;font-weight:700;letter-spacing:.24em}.heading h1{font-size:clamp(29px,3.3vw,46px);line-height:1.15;margin:10px 0 12px;letter-spacing:-.04em}.heading p{color:#a6bac0;margin:0;font-size:14px}.ratio-badge{border:1px solid #3c5a60;background:#162b30;color:#9cddd1;padding:9px 13px;border-radius:8px;white-space:nowrap;font-size:12px}.layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(370px,.95fr);gap:24px}.editor{display:grid;gap:16px;align-content:start}.card,.preview-card,.result-card{background:#121e27;border:1px solid #2c3d47;border-radius:16px;box-shadow:0 18px 45px #0002}.card{padding:21px}.card-head{display:flex;gap:13px;align-items:flex-start;margin-bottom:18px}.num{display:grid;place-items:center;background:#1c3a3d;color:#75e3d0;border:1px solid #396165;border-radius:8px;height:30px;min-width:30px;font-weight:700;font-size:11px}.card h2,.result-card h2{font-size:16px;margin:1px 0 5px}.card-head p{margin:0;color:#819aa4;font-size:11px}.dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:115px;border:1px dashed #547179;border-radius:12px;background:#172831;cursor:pointer;gap:5px}.dropzone:hover,.small-upload:hover{border-color:#76e0d0;background:#1d343c}.drop-icon{color:#73dfcd;font-size:26px;line-height:1}.dropzone strong{font-size:13px}.dropzone small{font-size:10px;color:#8da4ab}.hint{margin:11px 0 0;color:#789099;font-size:10px;line-height:1.6}.background-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.small-upload{display:inline-block;background:#1c3038;color:#a1e8d9;border:1px solid #3c6261;border-radius:8px;padding:9px 12px;font-size:11px;font-weight:700;cursor:pointer}.text-button{border:0;background:none;color:#9db7bd;cursor:pointer;font-size:11px}.file-name{margin-top:10px;color:#98afb7;font-size:11px}.field-label{display:block;color:#c4d6da;font-size:11px;font-weight:700;margin-bottom:9px}textarea,select{background:#192b34;color:#ebf5f4;border:1px solid #3b505a;border-radius:9px;outline:none}textarea:focus,select:focus{border-color:#73decb}textarea{width:100%;min-height:130px;resize:vertical;line-height:1.7;padding:12px;font-size:13px}.script-tools{display:flex;justify-content:space-between;align-items:center;margin:10px 0 18px}.script-tools span{color:#8199a3;font-size:11px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:13px}.form-row select{width:100%;height:41px;padding:0 10px;font-size:11px}.actions{display:flex;gap:12px}.generate{background:#70e0ce;color:#08261f;border:0;border-radius:9px;padding:0 23px;height:45px;font-size:13px;font-weight:700;cursor:pointer;flex:1;display:flex;align-items:center;justify-content:space-between}.generate:hover{background:#a4efdf}.generate:disabled{opacity:.55;cursor:wait}.reset{border:1px solid #40545d;background:#1c2b33;color:#b8c9ce;border-radius:9px;padding:0 16px;cursor:pointer;font-size:12px}.message{font-size:12px;line-height:1.6;color:#cbdfe0;min-height:18px}.message.error{color:#ffc891}.preview-col{display:grid;gap:16px;align-content:start;position:sticky;top:20px}.preview-head{display:flex;justify-content:space-between;padding:17px 20px;color:#bcd4d8;font-size:12px;font-weight:700}.preview-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#72e3d0;box-shadow:0 0 10px #72e3d0;margin-right:8px}.preview-stage{position:relative;aspect-ratio:16/9;overflow:hidden;background:#20333f center/cover no-repeat;display:flex;align-items:center;justify-content:center}.preview-stage img,.preview-stage video{position:relative;max-width:84%;max-height:89%;width:auto;height:auto;object-fit:contain;box-shadow:0 16px 35px #0005;border-radius:4px}.preview-stage img[hidden],.preview-stage video[hidden]{display:none}.placeholder{display:grid;justify-items:center;gap:10px;color:#a6c6c8;font-size:13px}.placeholder span{font-size:44px;color:#65b8ae}.preview-overlay{position:absolute;left:17px;bottom:14px;background:#081217bd;color:#dcebed;padding:6px 9px;border-radius:5px;font-size:10px}.preview-script{padding:15px 20px;min-height:65px;color:#e3efed;font-size:13px;line-height:1.7;overflow-wrap:anywhere}.preview-foot{border-top:1px solid #2b3b44;padding:12px 20px;color:#8299a2;font-size:10px}.result-card{padding:20px}.result-card p{font-size:12px;color:#91a9b2;line-height:1.6}.result-card video{width:100%;border-radius:8px;background:#000}.download{display:inline-block;margin-top:12px;color:#0c2b24;background:#75dfcf;padding:9px 15px;border-radius:8px;text-decoration:none;font-size:12px;font-weight:700}@media(max-width:960px){.app{padding:0 18px 40px}.layout{grid-template-columns:1fr}.preview-col{position:static;grid-row:1}.heading{padding:30px 0 22px}}@media(max-width:560px){.header{height:60px}.header-right{gap:8px}.header-right a{display:none}.heading{align-items:start}.ratio-badge{display:none}.form-row{grid-template-columns:1fr}.card{padding:17px}}
