@font-face{font-family:Poppins;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/poppins/poppins-400-latin.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Poppins;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/poppins/poppins-400-latin-ext.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Poppins;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/poppins/poppins-600-latin.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Poppins;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/poppins/poppins-600-latin-ext.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Poppins;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/poppins/poppins-700-latin.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Poppins;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/poppins/poppins-700-latin-ext.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}:root{color-scheme:dark;color:#ececf5;-webkit-font-smoothing:antialiased;background:#0d0d12;font-family:Poppins,Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif}*,:before,:after{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{overflow:hidden}.app{grid-template-columns:minmax(0,1fr) 400px;height:100dvh;display:grid}.stage-wrap{background:radial-gradient(circle at 50% 40%,#1b1b26,#0d0d12 70%);justify-content:center;align-items:center;min-width:0;min-height:0;padding:24px;display:flex}.stage{aspect-ratio:9/16;background:#000;border-radius:18px;max-width:100%;height:100%;overflow:hidden;box-shadow:0 0 0 1px #ffffff14,0 30px 80px #0009}.stage-canvas{width:100%;height:100%;display:block}.panel{background:#15151d;border-left:1px solid #ffffff12;flex-direction:column;gap:12px;padding:0 20px 20px;display:flex;position:relative;overflow-y:auto}.panel-head{z-index:10;background:#15151d;justify-content:space-between;align-items:center;gap:12px;margin:0 -20px;padding:20px;display:flex;position:sticky;top:-1px}.panel-brand{align-items:center;gap:8px;min-width:0;display:flex}.panel-brand a{flex-shrink:0;display:flex}.panel-brand img{width:auto;height:24px;display:block}.panel-head h1{letter-spacing:-.01em;background:linear-gradient(100deg,#8a8aa3 0% 35%,#fff 50%,#8a8aa3 65% 100%) 0 0/200%;-webkit-text-fill-color:transparent;color:#0000;-webkit-background-clip:text;background-clip:text;margin:0;font-size:17px;font-weight:650;animation:3s linear infinite title-shimmer}@keyframes title-shimmer{0%{background-position:200%}to{background-position:-200%}}@media (prefers-reduced-motion:reduce){.panel-head h1{background-position:50%;animation:none}}.panel-actions{gap:8px;display:flex}.card{background:#1c1c27;border:1px solid #ffffff0f;border-radius:12px;flex-direction:column;gap:14px;padding:14px 16px 16px;display:flex}.card h2{letter-spacing:.06em;text-transform:uppercase;color:#9a9ab0;margin:0;font-size:12px;font-weight:600}.card-head{grid-template-columns:auto minmax(0,1fr);align-items:stretch;gap:12px;display:grid}.card-head-actions{flex-direction:column;justify-content:flex-start;gap:6px;display:flex}.card-head-actions button{flex:none;justify-content:center;width:100%;height:24px}button.layer-thumb{aspect-ratio:9/16;background-color:#0d0d12;background-image:repeating-conic-gradient(#1c1c27 0% 25%,#0d0d12 0% 50%);background-size:16px 16px;border:1px solid #ffffff1f;border-radius:10px;flex-shrink:0;align-self:start;width:64px;padding:0;line-height:0;overflow:hidden}button.layer-thumb:hover{background-color:#ffffff12;border-color:#01e3d599}.layer-thumbnail{object-fit:cover;width:100%;height:100%;display:block}.card-head.layer-hidden .layer-thumbnail{opacity:.3}.card-head button{align-items:center;gap:6px;display:inline-flex}.card-head button.small{white-space:nowrap;gap:4px;padding:3.5px 8px;font-size:11px}.card-head button.small svg{flex-shrink:0}button.layer-visibility.off{color:#01e3d5;border-color:#01e3d5}.panel-tabs{background:#1c1c27;border:1px solid #ffffff0f;border-radius:10px;gap:4px;padding:4px;display:flex}button.panel-tab{color:#9a9ab0;background:0 0;border-color:#0000;flex:1;padding:8px 4px;font-size:12px;font-weight:600}button.panel-tab:hover{color:#d6d6e4;background:#ffffff12}button.panel-tab.active,button.panel-tab.active:hover{color:#05201e;background:#01e3d5}.panel-tabs.sub-tabs{background:0 0;border:none;border-bottom:1px solid #ffffff14;border-radius:0;padding:0 0 8px}button.layer-reset{justify-content:center;align-self:center;align-items:center;gap:6px;padding:4px 10px;display:inline-flex}button.panel-tab.sub-tab{color:#9a9ab0;background:0 0;border-bottom:2px solid #0000;border-radius:6px 6px 0 0}button.panel-tab.sub-tab:hover{color:#d6d6e4;background:#ffffff12}button.panel-tab.sub-tab.active,button.panel-tab.sub-tab.active:hover{color:#01e3d5;background:0 0;border-bottom-color:#01e3d5}.slider{flex-direction:column;gap:8px;font-size:13px;display:flex}.slider-head{color:#d6d6e4;justify-content:space-between;display:flex}.slider output{font-variant-numeric:tabular-nums;color:#fff}.text-toggle{justify-content:space-between;align-items:center;font-size:13px;display:flex}.color-row{flex-direction:row;justify-content:space-between;align-items:center}.text-field{flex-direction:column;gap:4px;font-size:13px;display:flex}.text-field-row{align-items:stretch;gap:6px;display:flex}.text-input{color:#fff;background:#1a1a1a;border:1px solid #333;border-radius:4px;flex:1;min-width:0;padding:6px}textarea.text-input{resize:vertical}.text-size-wrap{flex-shrink:0;align-self:flex-start;align-items:center;gap:4px;display:flex}input.text-size{text-align:center;color:#fff;background:#1a1a1a;border:1px solid #333;border-radius:4px;width:58px;padding:6px 4px}.text-size-unit{color:#9a9ab0;font-size:11px}.text-field-row button.bold-toggle{flex-shrink:0;justify-content:center;align-self:flex-start;align-items:center;padding:6px 8px;display:inline-flex}.text-field-row button.bold-toggle.on{color:#01e3d5;border-color:#01e3d5}input[type=range]{accent-color:#01e3d5;cursor:pointer;width:100%}.slider-track{flex-direction:column;align-items:center;display:flex}.slider-center{cursor:pointer;background:#ffffff80;border:none;border-radius:50%;width:6px;height:6px;margin-top:5px;padding:0;transition:background .15s,transform .15s}.slider-center:hover{background:#01e3d5;transform:scale(1.4)}.panel-foot{color:#6f6f85;justify-content:center;align-items:center;gap:8px;margin-top:auto;padding-top:4px;font-size:11px;display:flex}.panel-foot a{color:#9a9ab0;text-decoration:none;transition:color .15s}.panel-foot a:hover{color:#01e3d5;text-decoration:underline}.app.collapsed{grid-template-columns:1fr}.panel.collapsed{display:none}button{font:inherit;color:#fff;cursor:pointer;background:#01e3d5;border:1px solid #0000;border-radius:8px;padding:7px 14px;font-size:13px;font-weight:550;transition:background .15s}button:hover{background:#01e3d5}button.ghost{color:#d6d6e4;background:0 0;border-color:#ffffff29}button.ghost:hover{background:#ffffff12}button.small{padding:4px 10px;font-size:12px}button:focus-visible,input[type=range]:focus-visible{outline-offset:2px;outline:2px solid #01e3d5}button{position:relative}.panel-toggle{display:none}@media (width<=800px){.app{grid-template-rows:1fr;grid-template-columns:1fr;height:100dvh;overflow:hidden}.stage-wrap{padding:12px 12px calc(60dvh + 12px);transition:padding-bottom .35s}.panel{left:0;right:0;bottom:var(--keyboard-offset,0px);height:min(60dvh, calc(100dvh - var(--keyboard-offset,0px)));z-index:50;padding-bottom:calc(20px + env(safe-area-inset-bottom));border-top:1px solid #ffffff1a;border-left:0;border-radius:16px 16px 0 0;transition:transform .35s;position:fixed;transform:translateY(0)}.panel-collapsed{transform:translateY(100%)}.panel-foot{margin-top:0;padding:4px 0 0}.app:has(.panel-collapsed) .stage-wrap{padding-bottom:12px}.panel-toggle{cursor:pointer;color:#fff;z-index:60;background:0 0;border:none;justify-content:center;align-items:center;padding:6px;display:inline-flex;position:fixed;left:50%;transform:translate(-50%)}.panel-toggle svg{width:24px;height:24px}.panel-toggle-down{bottom:calc(60dvh + 10px)}.panel-toggle-up{bottom:calc(16px + env(safe-area-inset-bottom))}input[type=text],input[type=number],input[type=search],textarea,select{font-size:16px}}.switch{appearance:none;cursor:pointer;background:#fff3;border-radius:999px;width:44px;height:24px;transition:background .2s;position:relative}.switch:checked{background:#01e3d5}.switch:before{content:"";background:#fff;border-radius:50%;width:20px;height:20px;transition:transform .2s;position:absolute;top:2px;left:2px}.switch:checked:before{transform:translate(20px)}.switch.small{width:36px;height:20px}.switch.small:before{width:16px;height:16px}.switch.small:checked:before{transform:translate(16px)}.slider input[type=range]{position:relative}.loading-overlay{z-index:1000;backdrop-filter:blur(3px);color:#ececf5;background:#09090eb8;flex-direction:column;justify-content:center;align-items:center;gap:16px;display:flex;position:fixed;inset:0}.loading-overlay p{letter-spacing:.02em;color:#d6d6e4;margin:0;font-size:14px}.spinner{border:4px solid #ffffff26;border-top-color:#a9eeff;border-radius:50%;width:52px;height:52px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.confirm-overlay{z-index:1100;backdrop-filter:blur(3px);background:#09090eb8;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.confirm-dialog{color:#ececf5;background:#15151d;border:1px solid #ffffff1f;border-radius:16px;width:min(380px,100%);padding:22px;position:relative;box-shadow:0 24px 60px #00000080}.confirm-close{color:#b9b9cc;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;width:30px;height:30px;padding:0;display:inline-flex;position:absolute;top:10px;right:10px}.confirm-close:hover{color:#fff;background:#ffffff14}.confirm-dialog h2{margin:0 0 8px;padding-right:28px;font-size:17px;font-weight:600}.confirm-dialog p{color:#b9b9cc;margin:0 0 20px;font-size:13px;line-height:1.5}.confirm-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.confirm-actions button{align-items:center;gap:6px;display:inline-flex}@media (width<=480px){.confirm-actions button{flex:auto;justify-content:center}}.powered-badge{z-index:40;backdrop-filter:blur(6px);color:#d6d6e4;letter-spacing:.04em;text-transform:uppercase;background:#09090e8c;border:1px solid #ffffff1f;border-radius:999px;align-items:center;gap:8px;padding:6px 12px;font-size:11px;text-decoration:none;transition:background .2s,border-color .2s,transform .2s;display:inline-flex;position:fixed;bottom:16px;left:16px}.powered-badge:hover{background:#09090ecc;border-color:#ffffff40;transform:translateY(-1px)}.powered-badge span{background:linear-gradient(100deg,#8a8aa3 0% 35%,#fff 50%,#8a8aa3 65% 100%) 0 0/200%;-webkit-text-fill-color:transparent;color:#0000;-webkit-background-clip:text;background-clip:text;animation:3s linear infinite title-shimmer}.powered-badge img{width:auto;height:20px;display:block}@media (prefers-reduced-motion:reduce){.powered-badge span{background-position:50%;animation:none}}@media (width<=800px){.powered-badge{top:auto;bottom:calc(16px + env(safe-area-inset-bottom));padding:5px 10px;left:12px}.app:has(.panel:not(.panel-collapsed)) .powered-badge{z-index:55;bottom:calc(60dvh + 12px)}.powered-badge img{height:16px}}.app-home{grid-template-columns:1fr;overflow-y:auto}.gallery-screen{flex-direction:column;gap:24px;width:100%;max-width:1100px;margin:0 auto;padding:32px 24px 120px;display:flex}.gallery-head{flex-direction:column;gap:6px;display:flex}.gallery-brand{align-items:center;gap:10px;display:flex}.gallery-brand a{flex-shrink:0;display:flex}.gallery-brand img{width:auto;height:28px;display:block}.gallery-brand h1{letter-spacing:-.01em;background:linear-gradient(100deg,#8a8aa3 0% 35%,#fff 50%,#8a8aa3 65% 100%) 0 0/200%;-webkit-text-fill-color:transparent;color:#0000;-webkit-background-clip:text;background-clip:text;margin:0;font-size:24px;font-weight:650;animation:3s linear infinite title-shimmer}@media (prefers-reduced-motion:reduce){.gallery-brand h1{background-position:50%;animation:none}}.gallery-subtitle{letter-spacing:-.01em;color:#ececf5;margin-top:30px;font-size:28px;font-weight:700}.gallery{grid-template-columns:repeat(3,1fr);gap:16px;display:grid}.template-card{text-align:left;color:#ececf5;background:#1c1c27;border:1px solid #ffffff0f;border-radius:12px;flex-direction:column;padding:0;transition:transform .15s,border-color .15s,box-shadow .15s;display:flex;overflow:hidden}.template-card:hover{border-color:#01e3d5cc;transform:translateY(-4px);box-shadow:0 20px 40px #00000073}.template-card:focus-visible{outline-offset:2px;outline:2px solid #01e3d5}.template-card-media{aspect-ratio:1;background:#0d0d12;width:100%;position:relative;overflow:hidden}.template-card-media img{object-fit:cover;width:100%;height:100%;display:block}.template-card-placeholder{background:linear-gradient(135deg,#1b1b26,#0d0d12);width:100%;height:100%}.template-card-body{justify-content:space-between;align-items:center;gap:8px;padding:12px 14px;display:flex}.template-card-title{color:#ececf5;font-size:14px;font-weight:600}@media (width<=800px){.gallery-screen{padding:24px 16px calc(80px + env(safe-area-inset-bottom))}.gallery-brand img{height:24px}.gallery-brand h1{font-size:20px}.gallery-subtitle{font-size:24px}.gallery{gap:12px}}
