.kw{-webkit-tap-highlight-color:transparent}
.kw svg{overflow:visible;display:block;width:100%;height:auto}
.kw svg *:focus{outline:none}
.kw .dr{stroke-dasharray:1;stroke-dashoffset:1;animation:kdraw 1s cubic-bezier(.65,0,.35,1) both}
@keyframes kdraw{to{stroke-dashoffset:0}}
.kw .pt{opacity:0;animation:kpt .12s ease both}
@keyframes kpt{to{opacity:1}}
.kw .sh{transform:translateX(-640px)}
.kw.tied2 .L4 .sh{animation:kshine1 1s cubic-bezier(.45,0,.25,1) 1.1s both,kshine 5s ease-in-out 3.1s infinite}
@keyframes kshine1{from{transform:translateX(-640px)}to{transform:translateX(640px)}}
@keyframes kshine{0%,50%{transform:translateX(-640px)}100%{transform:translateX(640px)}}
.kw .L4{opacity:0;pointer-events:none}
.kw .mv{transform-box:view-box;transform-origin:0 0;transition:transform 1.4s cubic-bezier(.65,0,.35,1)}
.kw.cut .mvR{transform:translate(0,-92px) rotate(-10deg);transition-delay:.25s}
.kw.cut .mvS{transform:translate(-104px,62px) rotate(10deg);transition-delay:.25s}
.kw.cut .mvI{transform:translate(104px,62px) rotate(-8deg);transition-delay:.25s}
.kw.tied2 .L3{opacity:0;pointer-events:none}
.kw.tied2 .L4{opacity:1;pointer-events:auto}
.kw:not(.tied2) .L4 .dr,.kw:not(.tied2) .L4 .pt{animation:none}
.xg{transition:opacity .45s ease}
.kw.cut .xg{opacity:0;transition-duration:.25s}
.kw.tied .L3 .xg{transition-delay:1.05s}
.kw.folding .L3 .xS{opacity:0;transition:opacity .2s ease 0s}
.kw.fade svg{opacity:0;transition:opacity .4s ease}
.kw .let{font:italic 34px "Instrument Serif",Georgia,serif;fill:#F4EFE6;opacity:0;transition:opacity .35s ease;pointer-events:none}
.kw .let[data-k="R"]{fill:#EFE6D6}.kw .let[data-k="S"]{fill:#5FC2CC}.kw .let[data-k="I"]{fill:#9FB6CA}.kw .let[data-k="Z"]{fill:#FFFFFF}
.kw .let.on{opacity:1}
.kw .hit{cursor:pointer;pointer-events:stroke}
.kw.cut .hit{pointer-events:none}
.kw [data-ring]{transition:filter .35s ease}.kw [data-ring].sel{filter:brightness(1.1)}
.kw [data-gring] use{transition:stroke-opacity .35s}.kw [data-gring].sel use{stroke-opacity:.4}
.kn-btns{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.kn-btns button{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0 18px;border:1px solid rgba(220,239,240,.3);border-radius:999px;background:transparent;color:#F4EFE6;font-family:"Instrument Sans",system-ui,sans-serif;font-size:14px;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:border-color .3s,background .3s}
.kn-btns button[aria-pressed="true"]{border-color:#F4EFE6;background:rgba(244,239,230,.12)}
.kn-btns button:focus{outline:none}.kn-btns button:focus-visible,#knAct:focus-visible{outline:2px solid #8FCBD0;outline-offset:3px}
.kn-btns i{width:14px;height:14px;border-radius:50%;display:block}
#knAct{-webkit-tap-highlight-color:transparent}#knAct:focus{outline:none}
@media (prefers-reduced-motion:reduce){.kw .dr{animation:none!important;stroke-dashoffset:0}.kw .pt{animation:none!important;opacity:1}.kw .sh{animation:none!important}.kw .mv{transition:none}}

.kw .glows{transition:opacity .5s ease .1s}
.kw.cut .L3 .glows,.kw.tied:not(.tied2) .L3 .glows{opacity:0;transition:opacity .18s ease}
.kw.cut.settled .L3 .glows{opacity:1;transition:opacity .6s ease}
.kw.tied2 .L4 .glows{opacity:0;animation:kglow .8s ease .9s forwards}
@keyframes kglow{to{opacity:1}}
/* small coin on the floating Begin button */
#kb .kw svg{width:100%;height:100%}
#kb .kw .mv{transition-duration:1.1s}
