:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#302d39;background:#f7f5fa;font-synthesis:none}*{box-sizing:border-box}html,body,#app{height:100%;margin:0;overflow:hidden}button,label{touch-action:manipulation}button{font:inherit;cursor:pointer}.shell{width:min(100%,480px);height:100dvh;min-height:0;margin:auto;display:flex;flex-direction:column;padding:clamp(12px,2.3dvh,22px) clamp(17px,4vw,25px) max(12px,env(safe-area-inset-bottom));background:linear-gradient(155deg,#faf5ff,#f9f8ff 45%,#fff8f4);overflow:hidden}.brand{display:flex;align-items:center;justify-content:center;gap:10px;font-weight:650;letter-spacing:.09em;font-size:clamp(21px,3.5dvh,30px);white-space:nowrap;flex-shrink:0}.flower{font-size:1.35em;color:#ad8bc6;line-height:1}.tagline{text-align:center;font-size:clamp(11px,1.65dvh,13px);color:#857b91;margin-top:3px;flex-shrink:0}.workspace{min-height:0;flex:1;display:flex;flex-direction:column;justify-content:center;gap:clamp(12px,2.4dvh,24px)}.examples{display:grid;grid-template-columns:minmax(0,1fr) 35px minmax(0,1fr);align-items:center;gap:7px;margin:0 auto;width:min(100%,360px);flex-shrink:1;min-height:0}.example{display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0}.example>span{font-size:clamp(10px,1.5dvh,12px);color:#746d7b;text-align:center;white-space:nowrap}.sample{width:min(100%,120px);height:clamp(72px,16dvh,145px);border:1px solid #e1d5e8;border-radius:13px;display:grid;place-items:center;overflow:hidden}.sample svg{height:96%;width:auto}.sample-before{background:#eee7f0}.sample-after{background:linear-gradient(150deg,#dcefe8,#f8e7d8)}.arrow{text-align:center;font-size:30px;color:#a58bad;transform:translateY(-8px)}.editor{border:1px solid #e5dcea;background:#ffffffd9;box-shadow:0 10px 35px #5b466010;border-radius:21px;padding:clamp(12px,2.2dvh,20px);display:flex;flex-direction:column;gap:clamp(9px,1.5dvh,14px);flex-shrink:1;min-height:0}.upload-zone{height:clamp(108px,21dvh,190px);min-height:80px;border:1.5px dashed #c7b1d6;border-radius:15px;background:#fbf7ff;display:flex;align-items:center;justify-content:center;overflow:hidden}.empty-upload{width:100%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:clamp(4px,1dvh,9px);text-align:center;cursor:pointer}.upload-symbol{font-size:clamp(24px,4dvh,37px);line-height:1;color:#a58bc1}.empty-upload strong{font-size:clamp(12px,1.8dvh,15px);font-weight:500}.choose{padding:5px 17px;background:#e9def3;border-radius:100px;color:#5b476c;font-size:12px;font-weight:600}.upload-zone.has-images{border:0;background:transparent}.upload-carousel{width:100%;height:100%;display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}.upload-carousel::-webkit-scrollbar{display:none}.upload-card{height:100%;min-width:calc((100% - 20px)/3);max-width:calc((100% - 20px)/3);border-radius:12px;position:relative;overflow:hidden;background:#eee9f4;border:1px solid #e3dbe9;scroll-snap-align:start}.upload-card img{width:100%;height:100%;object-fit:cover}.upload-card.add{display:grid;place-items:center;border:1.5px dashed #c7b1d6;cursor:pointer}.upload-card.add span{font-size:34px;color:#a18bb5;font-weight:300}.remove{position:absolute;right:3px;top:3px;width:25px;height:25px;border:0;border-radius:50%;background:#34273cbf;color:#fff;font-size:20px;display:grid;place-items:center;line-height:1}.category-title{font-size:clamp(12px,1.8dvh,14px);font-weight:600}.categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(7px,1.3dvh,12px)}.category{height:clamp(32px,5.3dvh,45px);border-radius:11px;background:#f6f1fa;border:1px solid #e5d9eb;color:#62556b;font-size:clamp(12px,1.8dvh,14px)}.category.selected{background:#e4d7ef;border-color:#aa8dc2;color:#473252;font-weight:650}.generate{height:clamp(42px,6.6dvh,56px);border:0;border-radius:13px;background:#79608e;color:#fff;font-size:clamp(13px,2dvh,16px);font-weight:650;box-shadow:0 5px 15px #79608e35}.generate span{font-size:20px;vertical-align:-1px;margin-right:7px}.generate:disabled{background:#d9cfdf;color:#93899a;box-shadow:none;cursor:not-allowed}#status{margin:0;font-size:11px;color:#9b526b;text-align:center}#status:empty{display:none}footer{text-align:center;color:#998fa1;font-size:clamp(10px,1.5dvh,12px);letter-spacing:.06em;padding-top:clamp(7px,1.3dvh,12px);flex-shrink:0}.result-shell{gap:clamp(12px,2dvh,20px)}.result-content{display:flex;flex:1;min-height:0;flex-direction:column;gap:clamp(10px,1.6dvh,16px)}.result-image{position:relative;min-height:0;flex:1;border-radius:13px;background:#e9e2ed;overflow:hidden;display:flex;align-items:center;justify-content:center}.result-image img{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}.preview-label{position:absolute;bottom:10px;left:50%;transform:translate(-50%);white-space:nowrap;background:#30273ac9;color:#fff;font-size:10px;padding:6px 10px;border-radius:100px;letter-spacing:.05em}.result-actions{display:flex;justify-content:flex-end;gap:10px}.result-actions button{height:42px;border-radius:100px;border:1px solid #d5c6dd;background:#fff;color:#55415e;padding:0 20px;font-weight:600}.result-actions #download{width:44px;padding:0;display:grid;place-items:center}.result-actions #share span{margin-left:7px}#new-shoot{height:clamp(45px,7dvh,57px);border-radius:13px;background:#e6d9f0;border:1px solid #d6c4e5;color:#4e3d59;font-weight:650;margin-bottom:clamp(4px,1dvh,10px)}@media(max-height:650px){.workspace{gap:8px}.sample{height:clamp(52px,13dvh,90px)}.upload-zone{height:clamp(75px,17dvh,120px)}.editor{gap:7px;padding:10px}.category{height:31px}.generate{height:39px}.tagline{font-size:10px}}@media(min-width:650px){body{background:#ece6f1}.shell{box-shadow:0 0 60px #4c35501a}}:root{color:#343a3b;background:#f7f8f5}.shell{background:linear-gradient(165deg,#f8fbf8,#fffaf5);padding-top:clamp(9px,1.5dvh,15px);padding-bottom:max(8px,env(safe-area-inset-bottom))}.flower{color:#7daaa2}.tagline{color:#73817c}.workspace{justify-content:space-between;gap:clamp(7px,1.1dvh,13px);padding-top:clamp(9px,1.6dvh,16px);padding-bottom:clamp(3px,.6dvh,7px)}.examples{width:min(100%,390px);grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr);margin:0 auto;flex-shrink:0}.example{gap:5px}.example>span{color:#64736f}.sample{width:min(100%,136px);height:clamp(108px,21dvh,184px);border-color:#d8e4df;border-radius:13px}.sample-before{background:#e9f1ec}.sample-after{background:linear-gradient(150deg,#e1efe8,#f6e8d9)}.arrow{color:#8cad9e}.editor{background:#ffffffed;border-color:#e0e8e0;box-shadow:0 6px 24px #5064560a;padding:clamp(10px,1.7dvh,16px);gap:clamp(8px,1.3dvh,13px);flex-shrink:0}.upload-zone{height:clamp(140px,27dvh,245px);border-color:#a9c8bf;background:#f5faf7}.upload-symbol{color:#76a89d}.choose{background:#e0eee8;color:#426f64}.upload-card{background:#e9f1eb;border-color:#d6e5dd}.upload-card.add{border-color:#a9c8bf}.upload-card.add span{color:#7fa99d}.category{background:#f4f8f4;border-color:#dce8df;color:#4e6159}.category.selected{background:#dceee5;border-color:#91bba9;color:#305c4c}.generate{background:#598d7d;box-shadow:0 4px 14px #598d7d25}.generate:disabled{background:#d6e1d9;color:#82938b}footer{color:#83928a;padding-top:clamp(2px,.5dvh,5px)}.result-image{background:#e7f0e9}.result-actions button{border-color:#d1e3d7;color:#416657}#new-shoot{background:#dceee5;border-color:#bcd8c8;color:#365b4b}@media(max-height:650px){.workspace{gap:5px;padding-top:5px}.sample{height:clamp(80px,18dvh,118px)}.upload-zone{height:clamp(100px,24dvh,160px)}.editor{gap:6px;padding:9px}.category{height:30px}.generate{height:37px}}@media(min-width:650px){body{background:#eef3ef}}@media(min-height:651px){.workspace{gap:clamp(4px,.8dvh,10px)}.editor{margin-top:-8px}.upload-zone{margin-bottom:clamp(12px,1.8dvh,18px)}}.sample{width:min(100%,136px);height:auto;aspect-ratio:2/3;background:#f1f5f1}.sample img{display:block;width:100%;height:100%;object-fit:contain}@media(max-height:650px){.sample{height:auto;max-height:18dvh;width:auto;aspect-ratio:2/3}}.sample-before img{object-fit:cover}.sample-after img{object-fit:contain}.sample{width:min(100%,136px);height:clamp(90px,16dvh,142px);aspect-ratio:auto;flex-shrink:0;overflow:hidden}.sample img,.sample-before img,.sample-after img{width:100%;height:100%;object-fit:cover;object-position:center top}.workspace{min-height:0;justify-content:space-between}.examples{flex-shrink:0}.editor{margin-top:0;min-height:0}footer{position:relative;flex-shrink:0;line-height:1.3}@media(max-height:650px){.sample{width:min(100%,136px);height:clamp(70px,13dvh,95px);max-height:none;aspect-ratio:auto}}.sample{height:clamp(126px,22.4dvh,198.8px)}@media(max-height:650px){.sample{height:clamp(98px,18.2dvh,133px)}}.sample{position:relative}.sample img{position:absolute;left:0;top:-48%;width:100%;height:148%;object-fit:cover;object-position:center top}.sample img,.sample-before img,.sample-after img{position:absolute;inset:0 auto auto 0;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:center top}.sample img{transition:opacity .35s ease}.sample img.demo-fading{opacity:0}@media(prefers-reduced-motion:reduce){.sample img{transition:none}}.result-image{isolation:isolate}.result-image img.result-backdrop{position:absolute;top:-24px;right:-24px;bottom:-24px;left:-24px;width:calc(100% + 48px);height:calc(100% + 48px);max-width:none;max-height:none;object-fit:cover;filter:blur(22px) brightness(.87);pointer-events:none;z-index:0}.result-image img.result-foreground{position:relative;z-index:1;object-fit:contain}.result-image .preview-label{z-index:2}.brand-home{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:inherit;letter-spacing:inherit;white-space:nowrap;cursor:pointer}.brand-home:focus-visible{outline:2px solid #598d7d;outline-offset:5px;border-radius:4px}.generation-loading{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;width:100%;height:100%;overflow:hidden;background:radial-gradient(ellipse at 48% 48%,#f7f9f5,#e7f0e9 75%)}.cloud-orbit{position:relative;width:min(70%,270px);aspect-ratio:1;filter:blur(13px) saturate(1.12);animation:cloud-breathe 5s ease-in-out infinite}.cloud-blob,.cloud-core{position:absolute;border-radius:50%;mix-blend-mode:multiply}.cloud-one{top:10%;right:28%;bottom:30%;left:3%;background:radial-gradient(circle,#d9e8de 4%,#b4d4c5 48%,transparent 75%);animation:cloud-drift-a 6s ease-in-out infinite alternate}.cloud-two{top:8%;right:3%;bottom:27%;left:27%;background:radial-gradient(circle,#f5dfd8 3%,#e5c8d8 49%,transparent 75%);animation:cloud-drift-b 7s ease-in-out infinite alternate}.cloud-three{top:32%;right:15%;bottom:2%;left:14%;background:radial-gradient(circle,#d9d8ef 5%,#b5d5d1 48%,transparent 77%);animation:cloud-drift-c 6.5s ease-in-out infinite alternate}.cloud-core{top:27%;right:27%;bottom:27%;left:27%;background:radial-gradient(circle,#f9faf4 2%,#d9e9df 55%,transparent 80%);animation:cloud-breathe 4s ease-in-out infinite reverse}.loading-caption{font-size:13px;letter-spacing:.035em;color:#6b8278;font-weight:500;animation:caption-breathe 2.6s ease-in-out infinite}.generation-error{position:relative;z-index:1;padding:24px;text-align:center;max-width:320px;color:#8d5366;font-size:14px;line-height:1.5}.generation-error button{border:1px solid #bcd8c8;border-radius:12px;background:#dceee5;color:#365b4b;padding:12px 22px;font-weight:650}@keyframes cloud-breathe{0%,to{transform:scale(.9);opacity:.75}50%{transform:scale(1.13);opacity:1}}@keyframes cloud-drift-a{to{transform:translate(24%,15%) rotate(20deg) scale(1.1)}}@keyframes cloud-drift-b{to{transform:translate(-19%,20%) rotate(-20deg) scale(.93)}}@keyframes cloud-drift-c{to{transform:translate(12%,-22%) scale(1.15)}}@keyframes caption-breathe{0%,to{opacity:.5}50%{opacity:1}}@media(prefers-reduced-motion:reduce){.cloud-orbit,.cloud-blob,.cloud-core,.loading-caption{animation:none}}.generation-loading{background:#fafbfc;gap:16px}.dot-field{width:min(90%,330px);height:min(69%,520px);display:grid;grid-template-columns:repeat(19,minmax(0,1fr));grid-template-rows:repeat(26,minmax(0,1fr));align-items:center;justify-items:center;overflow:hidden;-webkit-mask-image:linear-gradient(to bottom,transparent 0%,black 12%,black 86%,transparent 100%);mask-image:linear-gradient(to bottom,transparent 0%,black 12%,black 86%,transparent 100%)}.dot-field i{display:block;width:4px;height:4px;border-radius:50%;background:#466af1;opacity:.18;transform:scale(.65);animation:dot-wave 4.8s ease-in-out infinite;animation-delay:calc(var(--delay) * -1)}@keyframes dot-wave{0%,to{opacity:.14;transform:scale(.55)}35%{opacity:.9;transform:scale(1.65)}65%{opacity:.35;transform:scale(.85)}}.generation-loading .loading-caption{order:-1;animation:none;color:#6b8278}@media(prefers-reduced-motion:reduce){.dot-field i{animation:none;opacity:.45;transform:none}}.result-image img.result-foreground{cursor:zoom-in}.result-image img.result-foreground:focus-visible{outline:3px solid #7daaa2;outline-offset:-3px}body.fullscreen-open{overflow:hidden}#fullscreen-viewer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;background:#000;display:flex;align-items:center;justify-content:center;padding:0}#fullscreen-viewer img{display:block;width:100%;height:100%;object-fit:contain}#close-fullscreen{position:absolute;bottom:max(24px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);width:36px;height:36px;border:0;border-radius:50%;background:#272727c9;color:#fff;font-size:25px;line-height:1;display:grid;place-items:center;cursor:pointer}
