.stitch-screen{min-block-size:100dvb;padding:var(--space-6);background:var(--color-canvas);text-align:center;place-content:center;justify-items:center;gap:.25rem;display:grid}:root[data-desktop] .stitch-screen{min-block-size:calc(100dvb - var(--desk-bar))}.stitch-screen__word{color:var(--color-text);margin:.5rem 0 0;font-size:1.75rem;font-weight:800;line-height:1.2}.stitch-screen__line{color:var(--color-text-muted);font-size:var(--text-sm);margin:0}.stitch{aspect-ratio:1;inline-size:11rem;color:var(--color-brand);place-items:center;display:grid;position:relative}.stitch[data-variant=done]{inline-size:6.5rem}.stitch__svg{block-size:100%;inline-size:100%;position:absolute;inset:0;overflow:visible}.stitch__thread,.stitch__glint{fill:none;stroke:currentColor;stroke-width:.45px;stroke-linejoin:round;stroke-dasharray:1;opacity:.16}.stitch__glint{stroke:var(--color-brand-mark);stroke-width:.8px;stroke-linecap:round;stroke-dasharray:.06 .94;opacity:0}.stitch__x{fill:none;stroke:currentColor;stroke-width:1.15px;stroke-linecap:round;transform-box:fill-box;transform-origin:50%}.stitch__x--heart{stroke:var(--color-brand-mark)}.stitch__check{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1}.stitch__needle{opacity:0;fill:var(--color-text-muted)}.stitch__eye{fill:var(--color-canvas)}.stitch__logo{aspect-ratio:1;border-radius:50%;inline-size:44%;position:relative;box-shadow:0 10px 24px -14px #0f172059}.stitch[data-variant=leave] .stitch__x,.stitch[data-variant=leave] .stitch__thread{opacity:0}@media (prefers-reduced-motion:no-preference){.stitch-screen[data-variant=open]{animation:.2s ease-out .15s backwards stitch-appear}.stitch[data-variant=open] .stitch__thread{animation:1.1s linear .15s backwards stitch-draw,.45s 1.25s backwards stitch-settle}.stitch[data-variant=open] .stitch__x{animation:stitch-pop .28s cubic-bezier(.3, 1.5, .6, 1) calc(.15s + var(--i) * 1.1s) backwards}.stitch[data-variant=open] .stitch__x--heart{animation-delay:calc(1s + var(--i) * .25s)}.stitch[data-variant=open] .stitch__needle{animation:1.3s linear .15s forwards stitch-needle}.stitch[data-variant=open] .stitch__logo{animation:.56s cubic-bezier(.2,.9,.3,1.15) 1.05s backwards stitch-logo}.stitch-screen[data-variant=open] .stitch-screen__word{animation:.42s ease-out 1.25s backwards stitch-rise}.stitch-screen[data-variant=open] .stitch-screen__line{animation:.42s ease-out 1.35s backwards stitch-rise}.stitch[data-variant=open] .stitch__glint{animation:2.4s linear 1.7s infinite stitch-glint}.stitch[data-variant=done] .stitch__thread{animation:.6s linear backwards stitch-draw,.3s .65s backwards stitch-settle}.stitch[data-variant=done] .stitch__x{animation:stitch-pop .22s cubic-bezier(.3, 1.5, .6, 1) calc(var(--i) * .6s) backwards}.stitch[data-variant=done] .stitch__x--heart{animation-delay:calc(.42s + var(--i) * .16s)}.stitch[data-variant=done] .stitch__needle{animation:.7s linear forwards stitch-needle}.stitch[data-variant=done] .stitch__check{animation:.26s cubic-bezier(.6,0,.3,1) .62s backwards stitch-draw}.stitch-screen[data-variant=leave]{animation:.18s ease-out backwards stitch-appear}.stitch[data-variant=leave] .stitch__x{animation:stitch-unpick .32s ease-in calc((1 - var(--i)) * .65s) backwards}.stitch[data-variant=leave] .stitch__x--heart{animation-delay:calc(var(--i) * .12s)}}@media (prefers-reduced-motion:reduce){.stitch__needle,.stitch__glint{display:none}}@keyframes stitch-appear{0%{opacity:0}}@keyframes stitch-draw{0%{stroke-dashoffset:1px;opacity:.6}to{opacity:.6}}@keyframes stitch-settle{0%{opacity:.6}}@keyframes stitch-pop{0%{opacity:0;rotate:45deg;scale:.3}}@keyframes stitch-needle{0%,88%{opacity:1}to{opacity:0}}@keyframes stitch-logo{0%{opacity:0;scale:.55}}@keyframes stitch-rise{0%{opacity:0;translate:0 6px}}@keyframes stitch-glint{0%{stroke-dashoffset:1px;opacity:.9}to{stroke-dashoffset:0;opacity:.9}}@keyframes stitch-unpick{0%{opacity:1;scale:1}to{opacity:0;scale:.5}}.stitch-screen--veil{z-index:calc(var(--z-toast) + 1);position:fixed;inset:0}:root[data-desktop] .stitch-screen--veil{inset-block-start:var(--desk-bar)}.stitch-screen[data-still],.stitch-screen[data-still] *{animation:none!important}
