@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');
*{box-sizing:border-box}html,body{margin:0;height:100%;font-family:Nunito,Arial,sans-serif;color:#111}body{overflow:hidden}.app{height:100vh;display:grid;grid-template-columns:420px 1fr;background:#121718}.controls{background:#fff;height:100vh;overflow:auto;padding:22px 14px 30px}.controls::-webkit-scrollbar,.preview::-webkit-scrollbar{width:9px}.controls::-webkit-scrollbar-thumb,.preview::-webkit-scrollbar-thumb{background:#858585;border-radius:10px}.controls header{padding:0 0 20px;border-bottom:1px solid #e8e8e8}.brand{font-size:15px;font-weight:900;letter-spacing:1px}.tag{font-size:10px;font-weight:900;letter-spacing:1.4px;color:#00879b;margin-top:25px}.controls h1{font-size:24px;line-height:1.05;margin:10px 0 10px;font-weight:900}.controls header p{font-size:12px;line-height:1.5;color:#6c7477;margin:0}.block{padding:20px 0 26px;border-bottom:1px solid #e8e8e8}.block h2{font-size:13px;margin:0 0 13px;font-weight:900}.block label{display:block;font-size:11px;font-weight:900;margin-top:12px}.block output{float:right;color:#008ba0;font-weight:900}.upload{height:89px;border:1px dashed #aab7ba;border-radius:12px;display:flex!important;align-items:center!important;padding:13px!important;gap:12px;cursor:pointer}.upload b{width:42px;height:42px;border-radius:12px;background:#effcff;color:#009db5;font-size:25px;display:grid;place-items:center}.upload span{display:flex;flex-direction:column;gap:8px}.upload small{font-size:9px;color:#8b9294;font-weight:600}.upload input{display:none}.status{display:flex;justify-content:space-between;color:#7a8385;font-size:10px;margin:8px 0}.twoButtons,.two{display:grid;grid-template-columns:1fr 1fr;gap:8px}.twoButtons button,.actions button{height:36px;background:#fafafa;border:1px solid #d8dfe0;border-radius:9px;font-size:10px;font-weight:900}.block select,.block input[type=text]{width:100%;height:43px;border:1px solid #d6dddf;border-radius:10px;background:#fafafa;padding:0 12px;margin-top:8px;font:600 11px Nunito}.block input[type=range]{width:100%;accent-color:#20c3d5;margin-top:11px}.colorRow{display:grid;grid-template-columns:45px 1fr;gap:8px;margin-top:8px}.colorRow input[type=color]{width:45px;height:43px;border:1px solid #d6dddf;border-radius:10px;background:#fafafa;padding:5px}.format{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}.formatBtn{height:42px;border:1px solid #d5dcde;border-radius:10px;background:#fafafa;font:900 11px Nunito}.formatBtn.active{border-color:#20c3d5;background:#effcff;color:#008ba0}.generate{width:100%;height:54px;border:0;border-radius:12px;background:#21c6d7;font:900 13px Nunito;margin-top:20px;cursor:pointer}.hint{font-size:10px;line-height:1.5;color:#778083;background:#f4f6f6;padding:10px;border-radius:10px}.thumbs{display:flex;gap:6px;overflow:auto}.thumbs img{width:42px;height:42px;object-fit:cover;border-radius:6px}.preview{height:100vh;overflow:auto;background:#121718;color:white}.previewHead{height:72px;border-bottom:1px solid #2b3031;display:flex;align-items:center;justify-content:space-between;padding:0 22px;position:sticky;top:0;background:#121718;z-index:3}.previewHead h2{font-size:16px;margin:0 0 4px}.previewHead p{font-size:9px;color:#74a3aa;margin:0}.actions{display:flex;gap:8px}.actions button{padding:0 14px;background:#121718;color:#fff;border-color:#344143}.actions .download{border-color:#087c8e;color:#0a8799}.stageWrap{min-height:calc(100vh - 72px);display:grid;place-items:center;padding:24px}.stage{position:relative;height:min(82vh,690px);aspect-ratio:9/16;max-width:80%;background:#070b0c;border-radius:16px;overflow:hidden;display:grid;place-items:center}.stage canvas{width:100%;height:100%;object-fit:contain}.stage #empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:flex-end;padding-bottom:9%;flex-direction:column;text-align:center}.stage #empty strong{font-size:13px}.stage #empty small{font-size:9px;color:#66878d;margin-top:15px}.progressWrap{position:fixed;left:440px;right:20px;bottom:20px;background:#1b2223;padding:12px;border-radius:10px;display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;font-size:11px}.progressWrap.hidden{display:none}.progress{height:6px;background:#303a3b;border-radius:10px;overflow:hidden}.progress i{display:block;height:100%;width:0;background:#20c3d5}@media(max-width:800px){body{overflow:auto}.app{display:block;height:auto}.controls,.preview{height:auto;overflow:visible}.preview{min-height:100vh}.stage{max-width:95%;height:auto;width:75vw}.progressWrap{left:20px}}
