.photo-editor.svelte-1c59sp5{--editor-bg:#08090c;--editor-panel:#14151a;--editor-line:#ffffff32;--editor-ink:#f5f5f7;--editor-accent:#ffd65a;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;border:1px solid var(--editor-line);background:var(--editor-bg);width:min(880px,96vw);max-width:none;height:min(880px,96dvh);max-height:none;color:var(--editor-ink);border-radius:24px;margin:auto;padding:0;position:fixed;inset:0;overflow:hidden;box-shadow:0 30px 100px #0009}.photo-editor[open].svelte-1c59sp5{grid-template-rows:auto minmax(80px,1fr) auto auto;display:grid}.photo-editor.svelte-1c59sp5::backdrop{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#000d}header.svelte-1c59sp5{border-bottom:1px solid #ffffff12;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;padding:12px 14px;display:grid}h2.svelte-1c59sp5{margin:0;font-size:15px;font-weight:650}button.svelte-1c59sp5{color:var(--editor-ink);touch-action:manipulation;background:0 0;border:0;border-radius:9px;min-width:44px;min-height:44px;padding:6px 12px;font-size:13px}button.svelte-1c59sp5:focus-visible{outline:2px solid var(--editor-accent);outline-offset:-3px}button.svelte-1c59sp5:active{background:#ffffff20}header.svelte-1c59sp5 button:where(.svelte-1c59sp5){color:#e2e2e7;justify-self:start}header.svelte-1c59sp5 .reset:where(.svelte-1c59sp5){color:var(--editor-accent);justify-self:end}button.svelte-1c59sp5:disabled{opacity:.4}.editor-stage.svelte-1c59sp5{background:#040406;place-items:center;min-height:0;display:grid;overflow:hidden}.photo-surface.svelte-1c59sp5{touch-action:none;-webkit-user-select:none;user-select:none;position:relative}canvas.svelte-1c59sp5{touch-action:none;cursor:grab;width:100%;height:100%;display:block}.crop-frame.svelte-1c59sp5{pointer-events:none;touch-action:none;border:1px solid #fff;position:absolute;box-shadow:0 0 0 1500px #0009}.crop-grid.svelte-1c59sp5{background:linear-gradient(90deg,#0000 33.2%,#ffffff60 33.3%,#0000 33.6% 66.4%,#ffffff60 66.6%,#0000 66.9%),linear-gradient(#0000 33.2%,#ffffff60 33.3%,#0000 33.6% 66.4%,#ffffff60 66.6%,#0000 66.9%);position:absolute;inset:0}button.crop-handle.svelte-1c59sp5{pointer-events:auto;touch-action:none;z-index:2;border-radius:0;width:44px;min-width:44px;height:44px;padding:0;position:absolute}button.crop-handle.svelte-1c59sp5:after{content:"";filter:drop-shadow(0 0 2px #000);border:0 solid #fff;position:absolute;inset:14px}.nw.svelte-1c59sp5{cursor:nwse-resize;top:-22px;left:-22px}.ne.svelte-1c59sp5{cursor:nesw-resize;top:-22px;right:-22px}.sw.svelte-1c59sp5{cursor:nesw-resize;bottom:-22px;left:-22px}.se.svelte-1c59sp5{cursor:nwse-resize;bottom:-22px;right:-22px}button.nw.svelte-1c59sp5:after{border-top-width:3px;border-left-width:3px}button.ne.svelte-1c59sp5:after{border-top-width:3px;border-right-width:3px}button.sw.svelte-1c59sp5:after{border-bottom-width:3px;border-left-width:3px}button.se.svelte-1c59sp5:after{border-bottom-width:3px;border-right-width:3px}button.crop-move.svelte-1c59sp5{pointer-events:auto;touch-action:none;z-index:3;cursor:move;width:44px;height:44px;padding:0;position:absolute;inset:auto calc(50% - 22px) -22px}button.crop-move.svelte-1c59sp5:after{content:"";background:#fff;border-radius:3px;width:20px;height:3px;position:absolute;top:20px;left:12px;box-shadow:0 0 2px #000}.editor-controls.svelte-1c59sp5{background:var(--editor-panel);border-top:1px solid #ffffff12;padding:8px 20px}.editor-tools.svelte-1c59sp5{align-items:center;gap:8px;display:flex}.editor-tools.svelte-1c59sp5 button:where(.svelte-1c59sp5){border:1px solid #ffffff20;align-items:center;gap:5px;font-size:23px;display:flex}.editor-tools.svelte-1c59sp5 button:where(.svelte-1c59sp5) span:where(.svelte-1c59sp5){font-size:10px}.editor-tools.svelte-1c59sp5 [aria-pressed=true]:where(.svelte-1c59sp5){color:var(--editor-accent)}.zoom-control.svelte-1c59sp5{flex:1;align-items:center;gap:10px;margin:0 0 0 8px;font-size:10px;display:flex}.photo-editor.svelte-1c59sp5 input[type=range]:where(.svelte-1c59sp5){accent-color:var(--editor-accent);width:100%;min-width:40px;min-height:44px;color:var(--editor-ink);background:0 0;border:0;margin:0;padding:0}.crop-options.svelte-1c59sp5{justify-content:center;gap:5px;margin-top:6px;display:flex;overflow:auto}.crop-options.svelte-1c59sp5 button:where(.svelte-1c59sp5){white-space:nowrap;flex-shrink:0;min-height:40px;font-size:12px}.crop-options.svelte-1c59sp5 [aria-pressed=true]:where(.svelte-1c59sp5){color:var(--editor-accent);background:#ffffff16}.straighten-control.svelte-1c59sp5{grid-template-columns:100px 1fr;align-items:center;gap:14px;margin:4px 0;font-size:10px;font-weight:500;display:grid}.straighten-control.svelte-1c59sp5 output:where(.svelte-1c59sp5){color:var(--editor-accent);font-variant-numeric:tabular-nums;margin-left:4px}.editor-bottom.svelte-1c59sp5{justify-content:space-between;align-items:center;gap:16px;padding:12px 20px;display:flex}.editor-bottom.svelte-1c59sp5 p:where(.svelte-1c59sp5){color:#b7bac4;max-width:360px;font-size:10px;line-height:1.5}.apply-photo.svelte-1c59sp5{background:var(--editor-accent);color:#16130a;white-space:nowrap;align-items:center;gap:14px;padding:10px 16px;font-weight:700;display:flex}.apply-photo.svelte-1c59sp5:active{background:#f6cd47}@media (width<=767px){.photo-editor.svelte-1c59sp5{border:0;border-radius:0;width:100%;height:100dvh}header.svelte-1c59sp5{padding:calc(8px + env(safe-area-inset-top)) 8px 8px}.editor-controls.svelte-1c59sp5{padding:7px 14px}.editor-bottom.svelte-1c59sp5{padding:10px 14px calc(10px + env(safe-area-inset-bottom));gap:10px}.editor-bottom.svelte-1c59sp5 p:where(.svelte-1c59sp5){max-width:170px;font-size:9px}.editor-bottom.svelte-1c59sp5 button:where(.svelte-1c59sp5){font-size:12px}.editor-tools.svelte-1c59sp5 button:where(.svelte-1c59sp5),.crop-options.svelte-1c59sp5 button:where(.svelte-1c59sp5){min-height:44px}}@media (height<=480px){header.svelte-1c59sp5{padding:2px 12px}.editor-controls.svelte-1c59sp5{grid-template-columns:1fr 1fr;gap:0 18px;padding:2px 14px;display:grid}.crop-options.svelte-1c59sp5{grid-area:1/2;margin:0}.straighten-control.svelte-1c59sp5{grid-column:1/-1;margin:0}.editor-bottom.svelte-1c59sp5{padding-top:4px;padding-bottom:4px}.editor-bottom.svelte-1c59sp5 p:where(.svelte-1c59sp5){max-width:100%}.editor-stage.svelte-1c59sp5{min-height:80px}}
