.tm--erase{--tm-cycle:7s}.tm-er-object{opacity:0;animation:tm-er-object var(--tm-cycle) var(--ease) infinite}@keyframes tm-er-object{0%,52%{opacity:1}60%,96%{opacity:0}to{opacity:1}}.tm-er-post{fill:var(--text-subtle)}.tm-er-stroke{fill:none;stroke:var(--accent);stroke-width:20px;stroke-linecap:round;stroke-dasharray:58;stroke-dashoffset:58px;opacity:0;animation:tm-er-stroke var(--tm-cycle) var(--ease) infinite}@keyframes tm-er-stroke{0%,14%{stroke-dashoffset:58px;opacity:0}18%{stroke-dashoffset:58px;opacity:.55}44%,52%{stroke-dashoffset:0;opacity:.55}60%,to{stroke-dashoffset:0;opacity:0}}.tm-er-ring{fill:none;stroke:var(--text);stroke-width:1.5px;opacity:.5;animation:tm-er-ring var(--tm-cycle) var(--ease) infinite;transform:translateY(58px)}@keyframes tm-er-ring{0%,14%{opacity:0;transform:translateY(0)}18%{opacity:1;transform:translateY(0)}44%,50%{opacity:1;transform:translateY(58px)}56%,to{opacity:.5;transform:translateY(58px)}}.tm--erase .tm-er-done{animation:tm-cut-done var(--tm-cycle) var(--ease) infinite}@keyframes tm-cut-done{0%,74%{opacity:0;transform:scale(.8)}82%,92%{opacity:1;transform:none}98%,to{opacity:0;transform:scale(.8)}}.er{flex-direction:column;gap:12px;height:100%;min-height:0;display:flex}.er__loading{flex-direction:column;gap:6px;display:flex}.er__stage{border:1px solid var(--border);border-radius:var(--r-lg);background:var(--surface);flex:auto;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr);height:clamp(320px,52vh,600px);min-height:260px;padding:0;display:grid;position:relative;overflow:hidden}.er__host,.er__host .er{height:100%}.er__host .er__stage{flex:auto;height:auto;min-height:220px}.er__stage:not(.is-loaded){border-style:dashed;border-color:var(--border-input);height:auto;min-height:208px}.er__empty{border-radius:var(--r-md);width:100%;height:100%;color:inherit;text-align:center;cursor:pointer;background:0 0;border:0;align-content:center;place-items:center;gap:4px;padding:1.25rem;transition:background .18s;display:grid}.er__empty svg{color:var(--accent-text);margin-bottom:8px}.er__emptytitle{font-size:.9375rem;font-weight:620}.er__emptyhint{color:var(--text-muted);max-width:46ch;font-size:.8125rem}.er__empty:hover,.er__stage.is-dragover .er__empty{background:var(--accent-soft)}.er__empty:focus-visible{outline:2px solid var(--focus);outline-offset:-4px}.er__stage.is-dragover{outline:2px dashed var(--accent);outline-offset:-3px}.er__stage input[type=file]{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.er__view{background:conic-gradient(from 90deg at 50% 50%, var(--surface-inset) 0 25%, transparent 0 50%, var(--surface-inset) 0 75%, transparent 0) 0 0 / 18px 18px, var(--surface);cursor:none;touch-action:none;overscroll-behavior:contain;place-content:safe center;display:grid;position:relative;overflow:auto}.er__view.is-box{cursor:crosshair}.er__view.is-pannable{cursor:grab}.er__view.is-panning{cursor:grabbing}.er__sheet{box-shadow:var(--shadow-md);position:relative}.er__photo,.er__mask{width:100%;height:100%;display:block;position:absolute;inset:0}.er__sheet[data-crisp=true] .er__photo,.er__sheet[data-crisp=true] .er__mask{image-rendering:pixelated}.er__mask{pointer-events:none}.er__ring{z-index:5;border:1.5px solid var(--n-0);border-radius:var(--r-full);pointer-events:none;position:fixed;top:0;left:0;box-shadow:0 0 0 1.5px #0000008c}.er__ring--unmark{border-style:dashed;border-width:2px}.er__marquee{z-index:5;border:1.5px dashed var(--n-0);pointer-events:none;background:#6366f138;position:fixed;top:0;left:0;box-shadow:0 0 0 1.5px #0000008c}.er__foot{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;min-height:30px;display:flex}.er__foot p{flex:14rem;margin:0}.er__actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.er__zoom{background:var(--surface-inset);border:1px solid var(--border-input);border-radius:var(--r-md);align-items:center;gap:2px;padding:2px;display:inline-flex}.er__zoombtn{border-radius:var(--r-sm);min-width:26px;height:24px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;place-items:center;padding:0 6px;font-size:.78rem;font-weight:550;transition:background .15s,color .15s;display:inline-grid}.er__zoombtn:hover{background:var(--surface);color:var(--text)}.er__zoomvalue{text-align:center;min-width:3.6em;font-family:var(--font-mono);font-variant-numeric:tabular-nums;color:var(--text-muted);font-size:.75rem}@media (hover:none){.er__view{cursor:default}.er__ring{display:none}}@media (width<=560px){.er__stage{height:clamp(260px,44vh,380px)}.er__foot{justify-content:flex-start}}
