/* Motion vocabulary — see readme MOTION. Durations/easings are @kind other. */
:root{
--dur-instant:80ms;/* @kind other */
--dur-fast:120ms;/* @kind other */
--dur-base:220ms;/* @kind other */
--dur-slow:420ms;/* @kind other */
--dur-ceremony:900ms;/* @kind other */
--dur-shoji:220ms;/* @kind other */
--dur-yukimi:260ms;/* @kind other */
--dur-fusuma:300ms;/* @kind other */
--dur-noren:180ms;/* @kind other */
--dur-sumi:320ms;/* @kind other */
--dur-hamon:560ms;/* @kind other */
--dur-hanko:360ms;/* @kind other */
--dur-chiru:380ms;/* @kind other */
--dur-kakejiku:420ms;/* @kind other */
--dur-enso:1400ms;/* @kind other */
--dur-shishi:1800ms;/* @kind other */
--dur-tsuki:900ms;/* @kind other */
--dur-kokyu:2400ms;/* @kind other */
--ma:40ms;/* @kind other */
--ma-pause:120ms;/* @kind other */
--dist-noren:3px;/* @kind other */
--dist-ma:6px;/* @kind other */
--dist-yukimi:12px;/* @kind other */
--dist-shoji:16px;/* @kind other */
--ease-out:cubic-bezier(.22,.8,.24,1);/* @kind other */
--ease-shoji:cubic-bezier(.4,0,.1,1);/* @kind other */
--ease-fusuma:cubic-bezier(.7,0,.2,1);/* @kind other */
--ease-sumi:cubic-bezier(.15,.7,.2,1);/* @kind other */
--ease-chiru:cubic-bezier(.45,.05,.75,.45);/* @kind other */
--ease-hanko:cubic-bezier(.55,0,.85,.35);/* @kind other */
--ease-tsuki:cubic-bezier(.3,0,.1,1);/* @kind other */
}
@keyframes ky-fade{from{opacity:0}}
@keyframes ky-rise{from{opacity:0;transform:translateY(8px)}}
@keyframes ky-shoji-r{from{opacity:0;transform:translateX(var(--dist-shoji))}}
@keyframes ky-shoji-l{from{opacity:0;transform:translateX(calc(var(--dist-shoji) * -1))}}
@keyframes ky-yukimi{from{opacity:0;transform:translateY(var(--dist-yukimi))}}
@keyframes ky-fusuma{from{clip-path:inset(-20% 50% -20% 50%);opacity:.3}to{clip-path:inset(-20% 0 -20% 0);opacity:1}}
@keyframes ky-noren{from{opacity:0;transform:translateY(calc(var(--dist-noren) * -1)) scaleY(.86)}}
@keyframes ky-sumi{from{transform:scaleX(0)}}
@keyframes ky-hamon{0%{transform:translate(-50%,-50%) scale(0);opacity:.55}100%{transform:translate(-50%,-50%) scale(1);opacity:0}}
@keyframes ky-hanko{0%{opacity:0;transform:scale(1.6) rotate(-7deg)}55%{opacity:1;transform:none}100%{opacity:1;transform:none}}
@keyframes ky-hanko-ink{0%{box-shadow:inset 0 0 0 1px var(--line-subtle),0 0 0 0 color-mix(in oklab,var(--ky-stamp,var(--accent)) 50%,transparent)}100%{box-shadow:inset 0 0 0 1px var(--line-subtle),0 0 0 8px color-mix(in oklab,var(--ky-stamp,var(--accent)) 0%,transparent)}}
@keyframes ky-chiru{to{opacity:0;transform:translate(10px,8px) rotate(1.2deg);filter:blur(1.5px)}}
@keyframes ky-collapse{from{max-height:64px}to{max-height:0;min-height:0}}
@keyframes ky-kakejiku{from{clip-path:inset(0 0 100% 0)}to{clip-path:inset(0 0 0 0)}}
@keyframes ky-ma{from{opacity:0;transform:translateY(var(--dist-ma))}}
@keyframes ky-enso-draw{0%{stroke-dashoffset:100;opacity:1}65%{stroke-dashoffset:9;opacity:1}85%,100%{stroke-dashoffset:9;opacity:0}}
@keyframes ky-enso-turn{to{transform:rotate(360deg)}}
@keyframes ky-shishi{0%{transform:rotate(0);animation-timing-function:cubic-bezier(.5,0,.9,.6)}62%{transform:rotate(55deg);animation-timing-function:cubic-bezier(.2,.8,.3,1)}74%{transform:rotate(360deg)}100%{transform:rotate(360deg)}}
@keyframes ky-tsuki-ring{from{stroke-dashoffset:100}to{stroke-dashoffset:0}}
@keyframes ky-tsuki-fill{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@keyframes ky-kokyu{0%,100%{opacity:1}50%{opacity:.35}}
@keyframes ky-spin{to{transform:rotate(360deg)}}
.ky-m-shoji-r{animation:ky-shoji-r var(--dur-shoji) var(--ease-shoji) backwards}
.ky-m-shoji-l{animation:ky-shoji-l var(--dur-shoji) var(--ease-shoji) backwards}
.ky-m-yukimi{animation:ky-yukimi var(--dur-yukimi) var(--ease-shoji) backwards}
.ky-m-fusuma{animation:ky-fusuma var(--dur-fusuma) var(--ease-fusuma) backwards}
.ky-m-noren{transform-origin:50% 0;animation:ky-noren var(--dur-noren) var(--ease-shoji) backwards}
.ky-m-sumi{transform-origin:0 50%;animation:ky-sumi var(--dur-sumi) var(--ease-sumi) backwards}
.ky-m-hanko{animation:ky-hanko var(--dur-hanko) var(--ease-hanko) backwards,ky-hanko-ink 560ms var(--ease-out) calc(var(--dur-hanko) * .55) backwards}
.ky-m-chiru{overflow:hidden;pointer-events:none;animation:ky-chiru var(--dur-chiru) var(--ease-chiru) forwards,ky-collapse var(--dur-base) var(--ease-shoji) forwards;animation-delay:var(--ky-delay,0ms),calc(var(--ky-delay,0ms) + var(--dur-chiru) - 80ms)}
.ky-m-kakejiku{animation:ky-kakejiku var(--dur-kakejiku) var(--ease-sumi) backwards}
.ky-m-ma>*{animation:ky-ma var(--dur-base) var(--ease-shoji) backwards;animation-delay:var(--ma-start,0ms)}
.ky-m-ma>:nth-child(2){animation-delay:calc(var(--ma-start,0ms) + var(--ma))}
.ky-m-ma>:nth-child(3){animation-delay:calc(var(--ma-start,0ms) + var(--ma) * 2)}
.ky-m-ma>:nth-child(4){animation-delay:calc(var(--ma-start,0ms) + var(--ma) * 3)}
.ky-m-ma>:nth-child(5){animation-delay:calc(var(--ma-start,0ms) + var(--ma) * 4)}
.ky-m-ma>:nth-child(6){animation-delay:calc(var(--ma-start,0ms) + var(--ma) * 5)}
.ky-m-ma>:nth-child(7){animation-delay:calc(var(--ma-start,0ms) + var(--ma) * 6)}
.ky-m-ma>:nth-child(n+8){animation-delay:calc(var(--ma-start,0ms) + var(--ma) * 7)}
