*,:before,:after{box-sizing:border-box}:root{--sans:system-ui, "Segoe UI", Roboto, sans-serif;font:16px/150% var(--sans);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizelegibility}body{color:#e2d4f5;background-color:#0b0118;background-image:radial-gradient(80% 60% at 50% 0,#581c8759 0%,#0000 70%),radial-gradient(60% 40% at 80% 100%,#ec48991f 0%,#0000 60%);background-position:0 0;background-repeat:repeat;background-size:auto;background-attachment:fixed;background-origin:padding-box;background-clip:border-box;min-height:100dvh;margin:0;overflow-x:hidden}#root{flex-direction:column;align-items:center;width:100%;min-height:100dvh;display:flex}h1,h2,h3{margin:0;font-weight:800;line-height:1.15}p{margin:0}button,input[type=range]{font-family:inherit}::-webkit-scrollbar{width:6px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:#a855f766;border-radius:3px}.uploader-wrapper{flex-direction:column;align-items:center;width:100%;display:flex}.drop-zone{cursor:pointer;text-align:center;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;background:#7828c814;border:2px dashed #b464ff80;border-radius:20px;flex-direction:column;align-items:center;gap:.75rem;width:100%;max-width:480px;padding:3rem 1.5rem;transition:background .2s,border-color .2s;display:flex}.drop-zone:hover,.drop-zone:focus-visible{background:#963ce626;border-color:#c882ffcc;outline:none}.drop-zone__icon{background:linear-gradient(135deg,#c084fc,#e879f9);-webkit-text-fill-color:transparent;filter:drop-shadow(0 0 10px #c084fc99);-webkit-background-clip:text;background-clip:text;font-size:3.5rem}.drop-zone__text{color:#e2d4f5;margin:0;font-size:1.1rem;font-weight:600}.drop-zone__hint{color:#c8aaf099;margin:0;font-size:.8rem}.upload-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#a855f7,#ec4899);border:none;border-radius:50px;margin-top:.5rem;padding:.65rem 2rem;font-size:.95rem;font-weight:700;transition:transform .15s,box-shadow .15s;box-shadow:0 4px 20px #a855f766}.upload-btn:hover{transform:translateY(-1px);box-shadow:0 6px 24px #a855f78c}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.canvas-container{background:#0d0117;border-radius:16px;flex-direction:column;align-items:center;width:100%;max-width:480px;display:flex;overflow:hidden;box-shadow:0 8px 40px #a855f74d,0 0 0 1px #a855f726}.star-canvas{touch-action:none;width:100%;display:block}.controls-card{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#1e0a37b3;border:1px solid #b464ff33;border-radius:20px;flex-direction:column;gap:.5rem;width:100%;max-width:480px;padding:1.5rem 1.25rem;display:flex}.controls-title{color:#e2d4f5;text-align:center;background:linear-gradient(135deg,#c084fc,#f472b6);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;margin:0 0 .75rem;font-size:1rem;font-weight:700}.ctrl-label{color:#c4a8e8;justify-content:space-between;margin-top:.5rem;font-size:.85rem;font-weight:600;display:flex}.ctrl-value{color:#e879f9}.ctrl-slider{appearance:none;cursor:pointer;background:linear-gradient(90deg,#a855f7,#ec4899);border-radius:3px;outline:none;width:100%;height:6px;margin-bottom:.25rem}.ctrl-slider::-webkit-slider-thumb{appearance:none;cursor:pointer;background:#fff;border:3px solid #a855f7;border-radius:50%;width:20px;height:20px;box-shadow:0 0 8px #a855f799}.ctrl-slider::-moz-range-thumb{cursor:pointer;background:#fff;border:3px solid #a855f7;border-radius:50%;width:20px;height:20px;box-shadow:0 0 8px #a855f799}.drag-hint{color:#b48cdc99;text-align:center;margin:.25rem 0 .5rem;font-size:.75rem;font-style:italic}.controls-actions{flex-direction:column;gap:.75rem;margin-top:.75rem;display:flex}.btn{cursor:pointer;border:none;border-radius:50px;padding:.75rem 1.5rem;font-size:.95rem;font-weight:700;transition:transform .15s,box-shadow .15s}.btn:hover{transform:translateY(-1px)}.btn--primary{color:#fff;background:linear-gradient(135deg,#a855f7,#ec4899);box-shadow:0 4px 20px #a855f773}.btn--primary:hover{box-shadow:0 6px 26px #a855f799}.btn--ghost{color:#c084fc;background:0 0;border:1.5px solid #c084fc66}.btn--ghost:hover{background:#c084fc1a}.share-card{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#14052dbf;border:1px solid #a855f740;border-radius:20px;flex-direction:column;align-items:center;gap:1rem;width:100%;max-width:480px;padding:1.5rem 1.25rem;display:flex}.share-card__title{background:linear-gradient(135deg,#c084fc,#f472b6);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;margin:0;font-size:1rem;font-weight:700}.share-card__thumb{object-fit:contain;background:#0d0117;border:1px solid #a855f733;border-radius:12px;width:100%;max-height:220px}.share-card__hint{color:#86efac;text-align:center;background:#22c55e1a;border:1px solid #22c55e40;border-radius:10px;width:100%;margin:0;padding:.6rem 1rem;font-size:.82rem;animation:.2s fadeSlideIn}@keyframes fadeSlideIn{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.share-card__actions{gap:.75rem;width:100%;display:flex}.share-card__actions .btn{cursor:pointer;border:none;border-radius:50px;flex:1;justify-content:center;align-items:center;gap:.4rem;padding:.75rem 1rem;font-size:.9rem;font-weight:700;transition:transform .15s,box-shadow .15s;display:flex}.share-card__actions .btn:hover{transform:translateY(-1px)}.share-card__actions .btn--ghost{color:#c084fc;background:0 0;border:1.5px solid #c084fc66}.share-card__actions .btn--ghost:hover{background:#c084fc1a}.btn--x{color:#fff;background:#000;box-shadow:0 4px 16px #0006}.btn--x:hover{background:#111;box-shadow:0 6px 22px #0000008c}.share-card__copy-row{background:#ffffff0a;border:1px solid #b464ff26;border-radius:12px;align-items:center;gap:.6rem;width:100%;padding:.6rem .85rem;display:flex}.share-card__caption{color:#c8a5f0bf;white-space:nowrap;text-overflow:ellipsis;flex:1;font-size:.78rem;font-style:italic;overflow:hidden}.share-card__copy-btn{color:#c084fc;cursor:pointer;white-space:nowrap;background:#a855f726;border:1px solid #a855f74d;border-radius:8px;flex-shrink:0;padding:.3rem .7rem;font-size:.75rem;font-weight:600;transition:background .15s,color .15s}.share-card__copy-btn:hover{background:#a855f740}.share-card__copy-btn--done{color:#86efac;background:#22c55e26;border-color:#22c55e4d}.app{flex-direction:column;align-items:center;min-height:100dvh;display:flex}.app-header{text-align:center;background:linear-gradient(#581c8759 0%,#0000 100%);width:100%;padding:2.5rem 1.25rem 1.5rem}.star-deco{background:linear-gradient(135deg,#c084fc,#f472b6);-webkit-text-fill-color:transparent;filter:drop-shadow(0 0 14px #c084fcb3);-webkit-background-clip:text;background-clip:text;margin-bottom:.5rem;font-size:3rem;line-height:1;animation:3s ease-in-out infinite pulse}@keyframes pulse{0%,to{filter:drop-shadow(0 0 14px #c084fcb3)}50%{filter:drop-shadow(0 0 26px #ec4899e6)}}.app-title{letter-spacing:.06em;overflow-wrap:break-word;background:linear-gradient(135deg,#e879f9,#c084fc,#818cf8);-webkit-text-fill-color:transparent;max-width:100%;text-shadow:none;-webkit-background-clip:text;background-clip:text;margin:0;font-size:clamp(1.6rem,7vw,3.5rem);font-weight:900}.app-subtitle{color:#d2aaffd9;letter-spacing:.15em;text-transform:uppercase;margin:.1rem 0 .75rem;font-size:clamp(1rem,4vw,1.4rem);font-weight:600}.app-tagline{color:#be96f0b3;margin:0;font-size:.9rem}.app-main{flex-direction:column;flex:1;align-items:center;gap:1.25rem;width:100%;max-width:520px;padding:1.5rem 1rem 2rem;display:flex}.editor-layout{flex-direction:column;align-items:center;gap:1.25rem;width:100%;display:flex}.error-banner{color:#fca5a5;text-align:center;background:#ef444426;border:1px solid #ef444466;border-radius:12px;width:100%;max-width:480px;padding:.75rem 1rem;font-size:.875rem}.privacy-note{color:#b48cdc8c;text-align:center;margin:0;font-size:.8rem}.scroll-hint{color:#c084fcbf;letter-spacing:.05em;flex-direction:column;align-items:center;gap:.2rem;font-size:.78rem;font-weight:600;transition:opacity .4s;animation:1.2s ease-in-out infinite bounceDown;display:flex}.scroll-hint--hidden{opacity:0;pointer-events:none}.scroll-hint__arrow{font-size:1.1rem;line-height:1}@keyframes bounceDown{0%,to{transform:translateY(0)}50%{transform:translateY(5px)}}.change-photo-btn{color:#c084fc99;cursor:pointer;background:0 0;border:none;padding:.25rem;font-size:.85rem;text-decoration:underline;transition:color .15s}.change-photo-btn:hover{color:#c084fc}.app-footer{text-align:center;color:#b48cdc66;padding:1.25rem;font-size:.8rem}
