:root {
  --tk-s: 0.2;
}

.tk-stage {
  position: fixed !important;
  inset: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  z-index: 9990 !important;
}

.tk-walker {
  position: absolute !important;
  left: 0 !important;
  bottom: -6px !important;
  width: calc(750px * var(--tk-s)) !important;
  height: calc(1190px * var(--tk-s)) !important;
  will-change: transform !important;
}

.tk-face {
  position: absolute !important;
  inset: 0 !important;
  transform-origin: center !important;
}

.tk-rig {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  transform: scale(var(--tk-s)) !important;
  transform-origin: 0 0 !important;
}

.tk-walker .tk-rig {
  width: 750px !important;
  height: 1190px !important;
}

.tk-rig img {
  position: absolute !important;
  display: block !important;
  max-width: none !important;
  user-select: none !important;
}

.tk-leg {
  top: 950px !important;
  transform-origin: 50% 0 !important;
}

.tk-leg-far {
  left: 158px !important;
  filter: brightness(0.9) !important;
}

.tk-leg-near {
  left: 150px !important;
}

.tk-bob {
  position: absolute !important;
  inset: 0 !important;
}

.tk-body {
  left: 60px !important;
  top: 300px !important;
}

.tk-wing {
  left: 150px !important;
  top: 715px !important;
  transform-origin: 20% 30% !important;
}

.tk-headbob {
  position: absolute !important;
  left: 20px !important;
  top: 131px !important;
  width: 323px !important;
  height: 594px !important;
}

.tk-head {
  position: absolute !important;
  inset: 0 !important;
  transform-origin: 180px 589px !important;
}

.tk-eyewhite {
  position: absolute !important;
  left: 25px !important;
  top: 181px !important;
  width: 100px !important;
  height: 116px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle at 40% 35%, #ffffff 0%, #f6f4f3 55%, #d9d3d1 100%) !important;
}

.tk-pupil {
  left: 25px !important;
  top: 214px !important;
  width: 34px !important;
  height: 64px !important;
}

.tk-head-side {
  left: 0 !important;
  top: 0 !important;
}

.tk-head-worried {
  left: -1px !important;
  top: 32px !important;
  opacity: 0;
}

.tk-walker.is-walking .tk-leg-near {
  animation: tk-swing 0.45s ease-in-out infinite alternate !important;
}

.tk-walker.is-walking .tk-leg-far {
  animation: tk-swing 0.45s ease-in-out infinite alternate-reverse !important;
}

.tk-walker.is-walking .tk-headbob {
  animation: tk-headbob 0.45s ease-in-out infinite !important;
}

.tk-walker.is-walking .tk-wing {
  animation: tk-flap 0.45s ease-in-out infinite alternate !important;
}

.tk-walker.is-scurry .tk-leg-near,
.tk-walker.is-scurry .tk-leg-far,
.tk-walker.is-scurry .tk-headbob,
.tk-walker.is-scurry .tk-wing {
  animation-duration: 0.225s !important;
}

.tk-peek {
  position: absolute !important;
  right: 0 !important;
  bottom: calc(458px * var(--tk-s) + 4px) !important;
  width: calc(460px * var(--tk-s)) !important;
  height: calc(560px * var(--tk-s)) !important;
  will-change: transform !important;
}

.tk-peek .tk-rig {
  width: 460px !important;
  height: 560px !important;
}

.tk-peek-pop,
.tk-peek-hands {
  position: absolute !important;
  inset: 0 !important;
}

.tk-peek-neck {
  position: absolute !important;
  left: 290px !important;
  top: 318px !important;
  width: 180px !important;
  height: 128px !important;
  border-radius: 0 !important;
  background: linear-gradient(to bottom, #8f5033 0%, #7a3e26 45%, #5e2c18 100%) !important;
}

.tk-peek-head {
  position: absolute !important;
  left: 60px !important;
  top: 20px !important;
  width: 328px !important;
  height: 536px !important;
  transform-origin: 260px 536px !important;
}

.tk-peek-face {
  left: 0 !important;
  top: 0 !important;
  transform: scaleX(-1) !important;
}

.tk-lids {
  left: -23px !important;
  top: 118px !important;
  width: 312px !important;
  height: 170px !important;
  transform: rotate(-20deg) !important;
  opacity: 0;
}

.tk-hand-top {
  left: 330px !important;
  top: 140px !important;
}

.tk-hand-bottom {
  left: 310px !important;
  top: 440px !important;
}

@keyframes tk-swing {
  from {
    transform: rotate(32deg);
  }
  to {
    transform: rotate(-32deg);
  }
}

@keyframes tk-headbob {
  0%,
  100% {
    transform: translateX(-16px);
  }
  50% {
    transform: translateX(14px);
  }
}

@keyframes tk-flap {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-8deg);
  }
}

@media (max-width: 48em) {
  :root {
    --tk-s: 0.14;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tk-stage {
    display: none !important;
  }
}
