@font-face {
  font-family: "Knife Lilita";
  src: url("/media/games/knife-hit/fonts/LilitaOne-Regular.ttf");
  font-display: swap;
}
@keyframes kh-pop {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  70% {
    transform: scale(1.06);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}
@keyframes kh-pulse {
  0%, 100% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.07);
  }
}
@keyframes kh-banner {
  0% {
    transform: translate(-50%, -50%) scale(0.4);
    opacity: 0;
  }
  18% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
  }
  30%, 80% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -70%) scale(1);
    opacity: 0;
  }
}
@keyframes kh-plus {
  0% {
    transform: translate(-50%, 0) scale(0.6);
    opacity: 0;
  }
  25% {
    transform: translate(-50%, -14px) scale(1.15);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -60px) scale(1);
    opacity: 0;
  }
}
@keyframes kh-apple-pop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.22);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes kh-dot-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
}
@keyframes kh-red {
  0% {
    opacity: 0.55;
  }
  100% {
    opacity: 0;
  }
}
@keyframes kh-logo-in {
  0% {
    transform: rotate(-3deg) scale(0.4);
    opacity: 0;
  }
  100% {
    transform: rotate(-3deg) scale(1);
    opacity: 1;
  }
}
@keyframes kh-rise {
  0% {
    transform: translateY(24px);
    opacity: 0;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
@keyframes kh-play-bob {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}
@keyframes kh-fade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes kh-buttons-in {
  0% {
    transform: translateY(40px);
    opacity: 0;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
@keyframes kh-log-in {
  0% {
    transform: scale(0.3) rotate(-280deg);
    opacity: 0;
  }
  70% {
    transform: scale(1.04) rotate(6deg);
    opacity: 1;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
@keyframes kh-thunk {
  0% {
    transform: translateY(-90px);
    opacity: 0;
  }
  50% {
    transform: translateY(5px);
    opacity: 1;
  }
  66% {
    transform: rotate(6deg);
  }
  82% {
    transform: rotate(-3deg);
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
@keyframes kh-apple-in {
  0% {
    transform: scale(0);
  }
  60% {
    transform: scale(1.25);
  }
  100% {
    transform: none;
  }
}
@keyframes kh-ribbon-in {
  0% {
    transform: rotate(-2deg) scaleX(0);
    opacity: 0;
  }
  65% {
    transform: rotate(-2deg) scaleX(1.07);
    opacity: 1;
  }
  100% {
    transform: rotate(-2deg);
    opacity: 1;
  }
}
@keyframes kh-shine {
  0%, 55% {
    left: -40%;
  }
  100% {
    left: 140%;
  }
}
@keyframes kh-swing {
  0% {
    transform: translateY(-50px) rotate(-22deg);
    opacity: 0;
  }
  40% {
    transform: rotate(calc(var(--tilt) + 9deg));
    opacity: 1;
  }
  62% {
    transform: rotate(calc(var(--tilt) - 5deg));
  }
  82% {
    transform: rotate(calc(var(--tilt) + 2deg));
  }
  100% {
    transform: rotate(var(--tilt));
    opacity: 1;
  }
}
@keyframes kh-best-glow {
  0%, 100% {
    box-shadow: inset 0 -7px 0 rgba(90, 52, 24, 0.45), inset 0 3px 0 rgba(255, 236, 200, 0.55), 0 8px 0 #0b0e16, 0 18px 30px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(255, 213, 74, 0);
  }
  50% {
    box-shadow: inset 0 -7px 0 rgba(90, 52, 24, 0.45), inset 0 3px 0 rgba(255, 236, 200, 0.55), 0 8px 0 #0b0e16, 0 18px 30px rgba(0, 0, 0, 0.45), 0 0 34px 6px rgba(255, 213, 74, 0.55);
  }
}
#full-area.knife-hit {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #0e1119;
  color: #1b2233;
  font-family: "Knife Lilita", sans-serif;
  user-select: none;
  -webkit-user-select: none;
}
#full-area.knife-hit, #full-area.knife-hit * {
  box-sizing: border-box;
}
#full-area.knife-hit [hidden] {
  display: none !important;
}
#full-area.knife-hit button {
  font: inherit;
  cursor: pointer;
  touch-action: manipulation;
  padding: 0;
}
#full-area.knife-hit button:focus-visible {
  outline: 3px solid #ffd54a;
  outline-offset: 3px;
}
#full-area.knife-hit h1, #full-area.knife-hit p {
  margin: 0;
}
#full-area.knife-hit #game-area {
  position: absolute;
  width: 1280px;
  height: 720px;
  left: 50%;
  top: 50%;
  overflow: hidden;
}
#full-area.knife-hit #kh-canvas {
  position: absolute;
  inset: 0;
  width: 1280px;
  height: 720px;
  cursor: default;
  touch-action: none;
  background: radial-gradient(circle at 640px 262px, #34405a 0, #1d2436 420px, #0e1119 760px);
}
#full-area.knife-hit.kh-hit-flash #game-area::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #ef4055;
  pointer-events: none;
  animation: kh-red 0.26s ease-out forwards;
}
#full-area.knife-hit .kh-top {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  pointer-events: none;
}
#full-area.knife-hit .kh-pod {
  min-width: 150px;
  height: 70px;
  padding: 0 20px;
  border-radius: 22px;
  background: linear-gradient(#ffffff, #e9eef7);
  border: 4px solid #1b2233;
  box-shadow: 0 6px 0 #1b2233;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
#full-area.knife-hit .kh-pod strong {
  font: 44px/1 "Knife Lilita", sans-serif;
  color: #fff;
  -webkit-text-stroke: 6px #1b2233;
  paint-order: stroke fill;
  text-shadow: 0 3px 0 #1b2233;
}
#full-area.knife-hit .kh-pod-label {
  font-size: 20px;
  color: #5b6780;
}
#full-area.knife-hit .kh-pod-apple.is-pop {
  animation: kh-apple-pop 0.35s ease-out;
}
#full-area.knife-hit .kh-apple-icon {
  display: inline-block;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff9d9d, #d81e36 70%);
  border: 3px solid #1b2233;
  position: relative;
}
#full-area.knife-hit .kh-apple-icon::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 7px;
  border-radius: 50%;
  background: #4cc36b;
  top: -8px;
  left: 14px;
  transform: rotate(-25deg);
}
#full-area.knife-hit .kh-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
#full-area.knife-hit .kh-stage-label {
  font: 38px/1 "Knife Lilita", sans-serif;
  color: #fff;
  -webkit-text-stroke: 6px #1b2233;
  paint-order: stroke fill;
  text-shadow: 0 3px 0 #1b2233;
}
#full-area.knife-hit .kh-you {
  display: none;
}
#full-area.knife-hit[data-boss="1"] .kh-stage-label {
  color: #ff7b8a;
}
#full-area.knife-hit .kh-dots {
  display: flex;
  gap: 12px;
  align-items: center;
}
#full-area.knife-hit .kh-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #3a445c;
  border: 3px solid #1b2233;
}
#full-area.knife-hit .kh-dot.is-done {
  background: #ffd54a;
}
#full-area.knife-hit .kh-dot.is-current {
  background: #fff;
  animation: kh-dot-pulse 1s ease-in-out infinite;
}
#full-area.knife-hit .kh-dot.is-boss {
  width: 30px;
  height: 30px;
  background: #7a2a3a;
  clip-path: polygon(50% 0, 63% 33%, 100% 35%, 72% 58%, 82% 96%, 50% 76%, 18% 96%, 28% 58%, 0 35%, 37% 33%);
  border: none;
}
#full-area.knife-hit .kh-dot.is-boss.is-current {
  background: #ff4b5c;
}
#full-area.knife-hit .kh-dot.is-boss.is-done {
  background: #ffd54a;
}
#full-area.knife-hit .kh-knives {
  position: absolute;
  left: 60px;
  bottom: 90px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: none;
}
#full-area.knife-hit .kh-knife-icon {
  display: block;
  width: 44px;
  height: 16px;
  position: relative;
  background: linear-gradient(90deg, #d94b1a 0 42%, #2b2f3d 42% 50%, #e8edf4 50% 100%);
  clip-path: polygon(0 20%, 42% 20%, 42% 0, 50% 0, 50% 18%, 88% 18%, 100% 50%, 88% 82%, 50% 82%, 50% 100%, 42% 100%, 42% 80%, 0 80%);
  filter: drop-shadow(0 2px 0 #1b2233);
}
#full-area.knife-hit .kh-knife-icon.is-used {
  background: #3a445c;
  filter: none;
  opacity: 0.7;
}
#full-area.knife-hit .kh-meter {
  position: absolute;
  right: 40px;
  bottom: 84px;
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}
#full-area.knife-hit .kh-meter-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
#full-area.knife-hit .kh-meter-row svg {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
}
#full-area.knife-hit .kh-meter-track {
  position: relative;
  flex: 1;
  height: 30px;
  border-radius: 15px;
  background: #121726;
  border: 4px solid #1b2233;
  box-shadow: 0 4px 0 #1b2233;
  overflow: hidden;
}
#full-area.knife-hit .kh-meter-track b {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(90deg, #4cc36b, #ffd54a 60%, #ef4055);
  transition: width 0.04s linear;
}
#full-area.knife-hit .kh-meter-track i {
  position: absolute;
  top: -4px;
  bottom: -4px;
  width: 4px;
  left: 42%;
  margin-left: -2px;
  background: #fff;
  box-shadow: 0 0 6px #fff;
  transition: left 0.15s ease-out;
}
#full-area.knife-hit[data-armed="0"] .kh-meter-track i {
  background: #8390a8;
  box-shadow: none;
}
#full-area.knife-hit .kh-sens {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  pointer-events: auto;
}
#full-area.knife-hit .kh-sens-label {
  margin-right: auto;
  font-size: 16px;
  letter-spacing: 1px;
  color: #aeb9d3;
}
#full-area.knife-hit .kh-sens-button {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #2b3450;
  border: 3px solid #1b2233;
  box-shadow: 0 3px 0 #1b2233;
  font: 26px/1 "Knife Lilita", sans-serif;
  color: #fff;
  -webkit-text-stroke: 4px #1b2233;
  paint-order: stroke fill;
  text-shadow: 0 0 0 #1b2233;
  display: flex;
  align-items: center;
  justify-content: center;
}
#full-area.knife-hit .kh-sens-button:hover {
  background: #36406a;
}
#full-area.knife-hit .kh-sens-button:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #1b2233;
}
#full-area.knife-hit .kh-sens-button:disabled {
  opacity: 0.4;
  cursor: default;
}
#full-area.knife-hit .kh-sens-value {
  min-width: 64px;
  text-align: center;
  font: 26px/1 "Knife Lilita", sans-serif;
  color: #fff;
  -webkit-text-stroke: 5px #1b2233;
  paint-order: stroke fill;
  text-shadow: 0 2px 0 #1b2233;
  color: #ffd54a;
}
#full-area.knife-hit .kh-plus {
  position: absolute;
  left: 50%;
  top: 130px;
  font: 46px/1 "Knife Lilita", sans-serif;
  color: #fff;
  -webkit-text-stroke: 6px #1b2233;
  paint-order: stroke fill;
  text-shadow: 0 3px 0 #1b2233;
  color: #ffd54a;
  opacity: 0;
  pointer-events: none;
}
#full-area.knife-hit .kh-plus.is-show {
  animation: kh-plus 0.6s ease-out forwards;
}
#full-area.knife-hit .kh-banner {
  position: absolute;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}
#full-area.knife-hit .kh-banner.is-show {
  animation: kh-banner 1.4s ease-out forwards;
}
#full-area.knife-hit .kh-banner-title {
  font: 84px/1 "Knife Lilita", sans-serif;
  color: #fff;
  -webkit-text-stroke: 10px #1b2233;
  paint-order: stroke fill;
  text-shadow: 0 6px 0 #1b2233;
}
#full-area.knife-hit .kh-banner-sub {
  font: 34px/1 "Knife Lilita", sans-serif;
  color: #fff;
  -webkit-text-stroke: 6px #1b2233;
  paint-order: stroke fill;
  text-shadow: 0 3px 0 #1b2233;
  color: #ffd54a;
}
#full-area.knife-hit[data-boss="1"] .kh-banner-title {
  color: #ff7b8a;
}
#full-area.knife-hit .kh-top, #full-area.knife-hit .kh-knives, #full-area.knife-hit .kh-meter {
  transition: opacity 0.3s;
}
#full-area.knife-hit[data-state=loading] .kh-top, #full-area.knife-hit[data-state=loading] .kh-knives, #full-area.knife-hit[data-state=loading] .kh-meter, #full-area.knife-hit[data-state=loading] .kh-banner, #full-area.knife-hit[data-state=intro] .kh-top, #full-area.knife-hit[data-state=intro] .kh-knives, #full-area.knife-hit[data-state=intro] .kh-meter, #full-area.knife-hit[data-state=gameover] .kh-top, #full-area.knife-hit[data-state=gameover] .kh-knives, #full-area.knife-hit[data-state=gameover] .kh-meter {
  opacity: 0;
}
#full-area.knife-hit .kh-sprite {
  display: block;
  height: auto;
}
#full-area.knife-hit .kh-title {
  position: absolute;
  left: 70px;
  top: 0;
  bottom: 70px;
  width: 500px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#full-area.knife-hit[data-state=loading] .kh-title, #full-area.knife-hit[data-state=intro] .kh-title {
  display: flex;
}
#full-area.knife-hit .kh-logo {
  width: 390px;
  height: auto;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.5));
  animation: kh-logo-in 0.55s cubic-bezier(0.2, 1.6, 0.4, 1) both;
}
#full-area.knife-hit .kh-stats {
  display: flex;
  align-items: center;
  margin-top: 4px;
  animation: kh-rise 0.4s 0.25s ease-out both;
}
#full-area.knife-hit .kh-stats span {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 40px;
  padding: 0 22px;
}
#full-area.knife-hit .kh-stats span + span {
  border-left: 2px solid rgba(255, 255, 255, 0.12);
}
#full-area.knife-hit .kh-stats em {
  font-style: normal;
  font-size: 16px;
  letter-spacing: 2px;
  color: #8f9bb8;
  padding-top: 2px;
}
#full-area.knife-hit .kh-stats b {
  font: 30px/1 "Knife Lilita", sans-serif;
  color: #fff;
  -webkit-text-stroke: 5px #1b2233;
  paint-order: stroke fill;
  text-shadow: 0 2px 0 #1b2233;
  font-variant-numeric: tabular-nums;
}
#full-area.knife-hit .kh-stats .kh-sprite {
  width: 26px;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.35));
}
#full-area.knife-hit .kh-play {
  width: 330px;
  height: 94px;
  margin-top: 22px;
  border-radius: 47px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  animation: kh-rise 0.4s 0.35s ease-out both, kh-play-bob 2.2s 1.2s ease-in-out infinite;
  background: linear-gradient(#ffe46b 0%, #ffc92e 48%, #ff9f1a 100%);
  border: 5px solid #1b2233;
  box-shadow: inset 0 -8px 0 #e07a00, inset 0 4px 0 rgba(255, 255, 255, 0.45), 0 9px 0 #1b2233, 0 18px 30px rgba(0, 0, 0, 0.45);
}
#full-area.knife-hit .kh-play:hover {
  filter: brightness(1.06);
}
#full-area.knife-hit .kh-play:active {
  animation: none;
  transform: translateY(6px);
  box-shadow: inset 0 -8px 0 #e07a00, inset 0 4px 0 rgba(255, 255, 255, 0.45), 0 3px 0 #1b2233, 0 6px 12px rgba(0, 0, 0, 0.35);
}
#full-area.knife-hit .kh-play span {
  font: 56px/1 "Knife Lilita", sans-serif;
  color: #fff;
  -webkit-text-stroke: 10px #1b2233;
  paint-order: stroke fill;
  text-shadow: 0 4px 0 #1b2233;
  letter-spacing: 4px;
  padding-top: 5px;
}
#full-area.knife-hit .kh-howto {
  position: absolute;
  left: 620px;
  top: 510px;
  width: 520px;
  padding: 12px 22px 16px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(48, 58, 88, 0.78) 0%, rgba(24, 30, 46, 0.86) 100%);
  border: 2px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 0 rgba(8, 10, 16, 0.55), 0 22px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: none;
  flex-direction: column;
  gap: 10px;
  animation: kh-rise 0.45s 0.5s ease-out both;
}
#full-area.knife-hit[data-state=loading] .kh-howto, #full-area.knife-hit[data-state=intro] .kh-howto {
  display: flex;
}
#full-area.knife-hit .kh-howto-head {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  letter-spacing: 3px;
  color: #8f9bb8;
}
#full-area.knife-hit .kh-howto-head::before, #full-area.knife-hit .kh-howto-head::after {
  content: "";
  flex: 1;
  height: 2px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.08);
}
#full-area.knife-hit .kh-howto-items {
  display: flex;
  justify-content: space-between;
}
#full-area.knife-hit .kh-howto-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
#full-area.knife-hit .kh-howto-art {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #2c3552, #151a29 75%);
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#full-area.knife-hit .kh-howto-art .kh-sprite {
  width: 26px;
  filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.4));
}
#full-area.knife-hit .kh-howto-art-knife .kh-sprite {
  width: auto;
  height: 50px;
  transform: rotate(45deg);
}
#full-area.knife-hit .kh-howto-art-boss .kh-sprite {
  width: 38px;
}
#full-area.knife-hit .kh-howto-text {
  font-size: 14px;
  line-height: 1.15;
  letter-spacing: 0.3px;
  white-space: nowrap;
  color: #8f9bb8;
}
#full-area.knife-hit .kh-howto-text b {
  display: block;
  font-weight: normal;
  font-size: 19px;
  color: #fff;
}
#full-area.knife-hit .kh-overlay {
  position: absolute;
  inset: 0;
  padding-bottom: 70px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 42%, rgba(14, 17, 25, 0.72), rgba(14, 17, 25, 0.95));
  animation: kh-fade 0.3s ease-out both;
}
#full-area.knife-hit[data-state=gameover] .kh-gameover {
  display: flex;
}
#full-area.knife-hit .kh-board {
  display: flex;
  align-items: center;
  gap: 34px;
}
#full-area.knife-hit .kh-target {
  position: relative;
  flex: 0 0 490px;
  width: 490px;
  height: 490px;
}
#full-area.knife-hit .kh-rim {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
}
#full-area.knife-hit .kh-stuck {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  transform: rotate(var(--a));
}
#full-area.knife-hit .kh-stuck img {
  position: absolute;
  left: -19px;
  top: -244px;
  width: 38px;
  height: 117px;
  transform-origin: 50% 100%;
  filter: drop-shadow(0 4px 0 rgba(0, 0, 0, 0.35));
  animation: kh-thunk 0.45s var(--d) cubic-bezier(0.3, 0.9, 0.4, 1) both;
}
#full-area.knife-hit .kh-stuck.is-apple img {
  left: -22px;
  top: -199px;
  width: 44px;
  height: 49px;
  transform-origin: 50% 60%;
  animation: kh-apple-in 0.35s var(--d) cubic-bezier(0.2, 1.5, 0.4, 1) both;
}
#full-area.knife-hit .kh-log {
  position: absolute;
  z-index: 1;
  left: 90px;
  top: 90px;
  width: 310px;
  height: 310px;
  padding-top: 30px;
  border-radius: 50%;
  border: 13px solid #7a4a26;
  background: radial-gradient(ellipse 9px 6px at 72% 64%, #7a4a26 0 98%, transparent 100%), repeating-radial-gradient(circle at 53% 47%, transparent 0 25px, rgba(122, 74, 38, 0.38) 26px 29px), radial-gradient(circle at 50% 40%, #eab274, #d8995a 55%, #c98a4b);
  box-shadow: 0 0 0 5px #1b2233, inset 0 0 0 3px rgba(90, 52, 24, 0.6), inset 0 -14px 24px rgba(90, 52, 24, 0.35), 0 12px 0 5px #0b0e16, 0 34px 60px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: kh-log-in 0.6s cubic-bezier(0.25, 1.1, 0.4, 1) both;
}
#full-area.knife-hit .kh-log::before, #full-area.knife-hit .kh-log::after {
  content: "";
  position: absolute;
  width: 4px;
  border-radius: 2px;
  background: rgba(90, 52, 24, 0.7);
}
#full-area.knife-hit .kh-log::before {
  height: 54px;
  left: 30px;
  top: 166px;
  transform: rotate(-58deg);
}
#full-area.knife-hit .kh-log::after {
  height: 44px;
  right: 58px;
  top: 36px;
  transform: rotate(38deg);
}
#full-area.knife-hit .kh-log > em {
  font-style: normal;
  font-size: 20px;
  letter-spacing: 5px;
  color: #8a5428;
}
#full-area.knife-hit .kh-carve {
  display: block;
  font: normal 116px/1 "Knife Lilita", sans-serif;
  font-variant-numeric: tabular-nums;
  color: #74421d;
  text-shadow: 0 3px 0 rgba(255, 226, 184, 0.8), 0 -2px 0 rgba(58, 30, 10, 0.45);
}
#full-area.knife-hit .kh-ribbon {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 30px;
  width: 400px;
  height: 78px;
  margin-left: -200px;
  --face: linear-gradient(#ff7b8a 0%, #ef4055 55%, #c42a3d 100%);
  --tail: #a51f31;
  animation: kh-ribbon-in 0.45s 0.35s cubic-bezier(0.2, 1.3, 0.4, 1) both;
}
#full-area.knife-hit .kh-ribbon[data-tone=gold] {
  --face: linear-gradient(#ffe46b 0%, #ffc92e 50%, #ff9f1a 100%);
  --tail: #e07a00;
}
#full-area.knife-hit .kh-ribbon[data-tone=blue] {
  --face: linear-gradient(#8fd6ff 0%, #45b3ff 50%, #1683d9 100%);
  --tail: #0b5fa3;
}
#full-area.knife-hit .kh-ribbon[data-tone=steel] {
  --face: linear-gradient(#e6ecf5 0%, #aeb9d3 50%, #7d8aa6 100%);
  --tail: #5b6780;
}
#full-area.knife-hit .kh-ribbon > span {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
  background: var(--face);
  border: 4px solid #1b2233;
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.16), inset 0 3px 0 rgba(255, 255, 255, 0.38), 0 7px 0 #1b2233;
  font: 50px/1 "Knife Lilita", sans-serif;
  color: #fff;
  -webkit-text-stroke: 8px #1b2233;
  paint-order: stroke fill;
  text-shadow: 0 4px 0 #1b2233;
  letter-spacing: 2px;
  padding-top: 5px;
  white-space: nowrap;
}
#full-area.knife-hit .kh-ribbon[data-tone=gold] > span::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -40%;
  width: 26%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: kh-shine 2.6s 1s ease-in-out infinite;
}
#full-area.knife-hit .kh-ribbon-tail {
  position: absolute;
  top: 24px;
  left: -58px;
  width: 88px;
  height: 64px;
  background: #1b2233;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 24% 50%);
}
#full-area.knife-hit .kh-ribbon-tail::before {
  content: "";
  position: absolute;
  inset: 5px 5px 5px 6px;
  background: var(--tail);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 22% 50%);
}
#full-area.knife-hit .kh-ribbon-tail + .kh-ribbon-tail {
  left: auto;
  right: -58px;
  clip-path: polygon(0 0, 100% 0, 76% 50%, 100% 100%, 0 100%);
}
#full-area.knife-hit .kh-ribbon-tail + .kh-ribbon-tail::before {
  inset: 5px 6px 5px 5px;
  clip-path: polygon(0 0, 100% 0, 78% 50%, 100% 100%, 0 100%);
}
#full-area.knife-hit .kh-planks {
  flex: 0 0 214px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 40px;
}
#full-area.knife-hit .kh-plank {
  --tilt: 3deg;
  position: relative;
  height: 128px;
  padding-top: 14px;
  border-radius: 16px;
  border: 4px solid #1b2233;
  background: repeating-linear-gradient(177deg, transparent 0 14px, rgba(90, 52, 24, 0.2) 14px 16px), linear-gradient(#e6ad6d, #c07c3f);
  box-shadow: inset 0 -7px 0 rgba(90, 52, 24, 0.45), inset 0 3px 0 rgba(255, 236, 200, 0.55), 0 8px 0 #0b0e16, 0 18px 30px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transform-origin: 50% 0;
  animation: kh-swing 0.8s 0.45s ease-out both;
}
#full-area.knife-hit .kh-plank::before, #full-area.knife-hit .kh-plank::after {
  content: "";
  position: absolute;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f4f7fb, #7d8797 70%);
  border: 2px solid #1b2233;
}
#full-area.knife-hit .kh-plank::before {
  left: 12px;
}
#full-area.knife-hit .kh-plank::after {
  right: 12px;
}
#full-area.knife-hit .kh-plank em {
  font-style: normal;
  font-size: 19px;
  letter-spacing: 3px;
  color: #5a3418;
  display: flex;
  align-items: center;
  gap: 8px;
}
#full-area.knife-hit .kh-plank b {
  font: 56px/1 "Knife Lilita", sans-serif;
  color: #fff;
  -webkit-text-stroke: 9px #1b2233;
  paint-order: stroke fill;
  text-shadow: 0 4px 0 #1b2233;
  font-weight: normal;
  font-variant-numeric: tabular-nums;
}
#full-area.knife-hit .kh-plank .kh-sprite {
  width: 22px;
}
#full-area.knife-hit .kh-plank + .kh-plank {
  --tilt: -2deg;
  animation-delay: 0.6s;
}
#full-area.knife-hit .kh-planks-left {
  margin-top: 0;
}
#full-area.knife-hit .kh-planks-left .kh-plank {
  --tilt: -4deg;
  height: 150px;
  animation-delay: 0.3s;
}
#full-area.knife-hit .kh-plank-best b {
  color: #ffd54a;
}
#full-area.knife-hit .kh-gameover[data-best="1"] .kh-plank-best {
  animation: kh-swing 0.8s 0.3s ease-out both, kh-best-glow 1.6s 1.2s ease-in-out infinite;
}
#full-area.knife-hit .kh-actions {
  display: flex;
  gap: 20px;
  margin-top: 6px;
  animation: kh-buttons-in 0.35s 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}
#full-area.knife-hit .kh-button {
  min-width: 270px;
  height: 76px;
  padding: 0 36px;
  border-radius: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
#full-area.knife-hit .kh-button span {
  font: 30px/1 "Knife Lilita", sans-serif;
  color: #fff;
  -webkit-text-stroke: 6px #1b2233;
  paint-order: stroke fill;
  text-shadow: 0 3px 0 #1b2233;
  letter-spacing: 1px;
  padding-top: 3px;
}
#full-area.knife-hit .kh-button-gold {
  background: linear-gradient(#ffe46b 0%, #ffc92e 48%, #ff9f1a 100%);
  border: 5px solid #1b2233;
  box-shadow: inset 0 -8px 0 #e07a00, inset 0 4px 0 rgba(255, 255, 255, 0.45), 0 9px 0 #1b2233, 0 18px 30px rgba(0, 0, 0, 0.45);
}
#full-area.knife-hit .kh-button-gold:hover {
  filter: brightness(1.06);
}
#full-area.knife-hit .kh-button-gold:active {
  animation: none;
  transform: translateY(6px);
  box-shadow: inset 0 -8px 0 #e07a00, inset 0 4px 0 rgba(255, 255, 255, 0.45), 0 3px 0 #1b2233, 0 6px 12px rgba(0, 0, 0, 0.35);
}
#full-area.knife-hit .kh-button-blue {
  background: linear-gradient(#8fd6ff 0%, #45b3ff 48%, #1683d9 100%);
  border: 5px solid #1b2233;
  box-shadow: inset 0 -8px 0 #0b5fa3, inset 0 4px 0 rgba(255, 255, 255, 0.4), 0 9px 0 #1b2233, 0 18px 30px rgba(0, 0, 0, 0.45);
}
#full-area.knife-hit .kh-button-blue:hover {
  filter: brightness(1.06);
}
#full-area.knife-hit .kh-button-blue:active {
  transform: translateY(6px);
  box-shadow: inset 0 -8px 0 #0b5fa3, inset 0 4px 0 rgba(255, 255, 255, 0.4), 0 3px 0 #1b2233, 0 6px 12px rgba(0, 0, 0, 0.35);
}
#full-area.knife-hit .kh-message {
  position: absolute;
  left: 50%;
  top: 128px;
  transform: translateX(-50%);
  max-width: 760px;
  padding: 12px 22px;
  border-radius: 18px;
  background: #fff;
  border: 4px solid #1b2233;
  font: 20px/1.2 "Knife Lilita", sans-serif;
  text-align: center;
}
