*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{font-family:Cairo,Arial,sans-serif;background:#fbf3db;color:#000}.shell{width:100vw;height:100dvh;min-height:600px;overflow:hidden;position:relative;background:#fbf3db}.dots{position:absolute;inset:0;opacity:.45;pointer-events:none;background-image:radial-gradient(#b9af95 1.45px,transparent 1.45px);background-size:18px 18px}header{height:64px;display:flex;justify-content:space-between;align-items:flex-start;padding:4px 16px 0;position:relative;z-index:10}.brandArea{display:flex;align-items:flex-start;gap:14px}.brand{display:flex;align-items:flex-start;width:60px;height:52px;flex:none}.brand img{width:60px;height:52px;object-fit:contain}.toolbar{display:flex;gap:3px;align-items:center;margin-top:8px;white-space:nowrap;font-size:15px;line-height:1}.toolbar button{border:0;background:none;font:inherit;font-weight:700;cursor:pointer;padding:0;display:inline-flex;align-items:center;gap:2px;color:#000}.toolbar .save{font-weight:900}.toolbar .bar,.toolbar .dash{font-weight:900}.toolbar .iconBtn{width:20px;height:20px}.toolbar img{width:17px;height:17px;object-fit:contain}.toolbar .iconBtn img{width:20px;height:20px}.toolbar .forwardIcon{margin-left:-3px}.toolbar .zoomBtn img{width:18px;height:18px}.credits{width:126px;height:38px;margin-right:0;border:3px solid #000;border-radius:11px;background:#c91d1d;box-shadow:3px 3px #000;color:#fff;text-align:center;padding:2px 4px 0}.creditTop{display:flex;align-items:center;justify-content:center;gap:4px;font-size:15px;font-weight:900;line-height:1}.creditTop img{width:16px;height:16px}.credits small{font-size:7px;font-weight:900;line-height:1}main{height:calc(100% - 64px);display:grid;grid-template-columns:180px minmax(0,1fr) 62px;gap:10px;padding:0 16px;position:relative;z-index:2}.leftPanel,.rail{border:3px solid #000;background:#b11b1b;box-shadow:6px 6px #000;border-radius:23px;overflow:hidden}.leftPanel{height:100%;padding:15px 7px 8px;color:#fff;display:flex;flex-direction:column}.panelSection{margin-bottom:7px}.panelLabel{display:block;font-size:11px;font-weight:900;margin:0 0 4px 1px;position:relative}.help{position:absolute;left:0;top:-7px;font-size:7px;color:#fff;cursor:help;width:10px;height:10px;line-height:10px;text-align:center}.uploadBox{height:90px;margin:0 3px;border:2px dashed #000;border-radius:12px;background:#fbf3db;color:#57524a;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;cursor:pointer;position:relative}.uploadBox strong{font-size:15px;line-height:1.1}.uploadBox p{font-size:7px;font-weight:700;margin:2px 0 5px;direction:rtl}.uploadIcon{width:25px;height:25px;background:#56524c;border-radius:7px;display:flex;align-items:center;justify-content:center}.uploadIcon img{width:17px;height:17px;filter:brightness(0) invert(1)}.uploadBox input{display:none}.thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:3px;margin:5px 7px 0;min-height:34px}.thumb{height:34px;border:2px solid #000;border-radius:7px;position:relative;background:#b21a1a;overflow:visible}.thumb img{width:100%;height:100%;object-fit:cover;border-radius:5px}.thumb button{position:absolute;top:-7px;left:-6px;width:12px;height:12px;padding:0;border:2px solid #000;border-radius:50%;background:#b71b1b;color:#fff;font-size:8px;line-height:7px;cursor:pointer}.choices{display:flex;gap:3px;margin:0 3px}.choices button{flex:1;height:26px;border:2px solid #000;border-radius:8px;background:#fbf3db;box-shadow:2px 2px #000;font-family:inherit;font-size:9px;font-weight:900;cursor:pointer}.choices button.active{background:#b71b1b;color:#fff}.fieldHint{font-size:6px;font-weight:700;display:block;margin:1px 5px 0}.sizes{margin-top:5px}.sizes button{background:#c51f1f;color:#fff}.sizes button.active{background:#fbf3db;color:#000}.sizes .recommended:after{content:'recommended';display:block;font-size:5px;color:#fff;margin-top:2px;line-height:1}.generationCost{font-size:10px;line-height:1;margin:5px 7px 0;color:#fff}.generation{height:34px;margin:16px 3px 0;border:2px solid #000;border-radius:8px;background:#b91b1b;color:#fff;font-family:inherit;font-size:12px;font-weight:900;box-shadow:2px 2px #000;cursor:pointer;display:flex;align-items:center;justify-content:center;position:relative}.generation:disabled{opacity:.55;cursor:not-allowed}.generation em{display:none}.priceRow{margin-top:auto;display:grid;grid-template-columns:1fr 55px;gap:3px}.priceRow strong{height:28px;background:#7b1212;border-radius:7px;display:flex;align-items:center;justify-content:center;font-size:7px;white-space:nowrap}.priceRow button{border:2px solid #000;border-radius:7px;background:#b71b1b;color:#fff;font-family:inherit;font-size:9px;font-weight:900;cursor:pointer}.priceRow button:disabled{opacity:.45;cursor:not-allowed}.stageWrap{min-width:0;min-height:0;height:100%;padding-top:4px}.stage{width:100%;height:calc(100% - 12px);border:3px solid #000;border-radius:26px;background:linear-gradient(rgba(0,0,0,.22) 2px,transparent 2px),linear-gradient(90deg,rgba(0,0,0,.22) 2px,transparent 2px),#b11b1b;background-size:32px 32px;box-shadow:6px 6px #000;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}.empty{font-size:20px;font-weight:900;text-align:center;color:#fff;opacity:.12;line-height:1.05;pointer-events:none}.canvasLayer{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;transform-origin:center;z-index:2;transition:transform .12s ease}.modelImage{max-width:78%;max-height:78%;object-fit:contain;display:block;user-select:none;-webkit-user-drag:none;filter:drop-shadow(0 8px 4px rgba(0,0,0,.18))}.watermark{position:absolute;right:18px;bottom:16px;width:96px;opacity:.7;z-index:6;pointer-events:none}.stage.generated{cursor:crosshair}.stageStatus{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:7;display:none;color:#fff;background:#7b1212;border:2px solid #000;border-radius:8px;padding:8px 12px;font-weight:900;box-shadow:3px 3px #000;font-size:10px}.stage.generating .stageStatus{display:block}.noteMarker{position:absolute;z-index:8;transform:translate(-50%,-50%);min-width:20px;max-width:140px;border:2px solid #000;border-radius:7px;background:#fff4a3;color:#000;padding:3px 5px;font:900 8px Cairo,Arial,sans-serif;cursor:pointer;box-shadow:2px 2px #000}.rail{height:calc(100% - 25px);margin-top:8px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly}.rail button{width:50px;height:82px;border:0;background:none;color:#fff;font:inherit;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}.rail button img{width:30px;height:30px;object-fit:contain;filter:brightness(0) invert(1)}.rail button b{display:block;font-size:7px;font-weight:900}.rail button:disabled{opacity:.42;cursor:not-allowed}#intro{position:fixed;inset:0;z-index:99999;background:#fbf3db;display:flex;align-items:center;justify-content:center;opacity:1}#intro img{width:190px;max-width:55vw}#intro.hide{opacity:0;pointer-events:none;transition:opacity .35s}.noteCursor{position:fixed;display:none;z-index:9999;background:#fff4a3;border:2px solid #000;border-radius:6px;padding:2px 5px;font-size:8px;font-weight:900;pointer-events:none}.notice{position:fixed;left:50%;bottom:14px;transform:translate(-50%,20px);z-index:30000;background:#fbf3db;border:2px solid #000;border-radius:8px;box-shadow:3px 3px #000;padding:5px 10px;font-weight:900;font-size:9px;opacity:0;pointer-events:none;transition:.2s}.notice.show{opacity:1;transform:translate(-50%,0)}.modal{display:none;position:fixed;inset:0;z-index:10000;background:rgba(0,0,0,.55);align-items:center;justify-content:center}.modal.open{display:flex}.orderCard{width:350px;max-width:calc(100vw - 24px);max-height:calc(100vh - 24px);overflow:auto;background:#fbf3db;border:3px solid #000;border-radius:17px;box-shadow:6px 6px #000;padding:18px;position:relative}.orderCard h2{margin:0 0 2px;font-size:21px}.orderSummary{margin:0 0 12px;font-weight:900;color:#7b1212}.orderCard input{display:block;width:100%;height:37px;margin:6px 0;border:2px solid #000;border-radius:8px;padding:5px 7px;font:inherit;background:#fff}.paymentTitle{font-weight:900;font-size:11px;margin-top:8px}.payments{display:flex;gap:6px;margin:6px 0 10px}.payments button{flex:1;height:48px;border:2px solid #000;background:#fff;border-radius:7px;cursor:pointer;padding:2px}.payments button.selected{outline:3px solid #000;outline-offset:-4px}.payments img{max-width:90%;max-height:38px}.send{width:100%;height:39px;border:2px solid #000;border-radius:8px;background:#b71b1b;color:#fff;font-family:inherit;font-weight:900;cursor:pointer}.close{position:absolute;right:7px;top:3px;border:0;background:none;font-size:24px;cursor:pointer}.status{font-size:9px;font-weight:800;margin:6px 0 0;text-align:center}.helpTip{position:fixed;z-index:20000;background:#fff4a3;border:2px solid #000;border-radius:6px;padding:4px 6px;font-size:8px;font-weight:900;max-width:190px;box-shadow:2px 2px #000;pointer-events:none}@media(max-width:1100px){header{padding-left:12px;padding-right:12px}.brandArea{gap:10px}.toolbar{font-size:13px;gap:2px}.credits{width:112px;height:35px}.creditTop{font-size:13px}main{grid-template-columns:170px minmax(0,1fr) 58px;gap:8px;padding-left:12px;padding-right:12px}.watermark{width:84px;right:15px;bottom:13px}}@media(max-width:850px){.toolbar{font-size:11px}.toolbar img{width:15px;height:15px}.brand{width:52px}.brand img{width:52px}.credits{width:102px;height:32px}.creditTop{font-size:12px}.credits small{font-size:6px}main{grid-template-columns:155px minmax(0,1fr) 52px}.rail button{width:45px}.rail button img{width:27px;height:27px}.rail button b{font-size:7px}.leftPanel{padding-left:6px;padding-right:6px}}