@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-drop {
  0% {
    transform: translateY(-60px) scale(0.9);
    opacity: 0;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
@keyframes kh-buttons-in {
  0% {
    transform: translateY(40px);
    opacity: 0;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
@keyframes kh-stab {
  0% {
    transform: translate(60px, -90px) rotate(150deg);
    opacity: 0;
  }
  60% {
    transform: translate(-4px, 6px) rotate(150deg);
    opacity: 1;
  }
  100% {
    transform: rotate(150deg);
    opacity: 1;
  }
}
#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[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, #full-area.knife-hit[data-state=vsresult] .kh-knives, #full-area.knife-hit[data-state=vsresult] .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-play-vs {
  width: 330px;
  height: 60px;
  margin-top: 16px;
  border-radius: 30px;
  background: rgba(92, 192, 255, 0.1);
  border: 3px solid rgba(92, 192, 255, 0.5);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.35);
  color: #8fd6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  animation: kh-rise 0.4s 0.45s ease-out both;
  transition: background 0.15s, border-color 0.15s;
}
#full-area.knife-hit .kh-play-vs span {
  font: 30px/1 "Knife Lilita", sans-serif;
  color: #fff;
  -webkit-text-stroke: 5px #1b2233;
  paint-order: stroke fill;
  text-shadow: 0 2px 0 #1b2233;
  color: #8fd6ff;
  letter-spacing: 2px;
  padding-top: 3px;
}
#full-area.knife-hit .kh-play-vs:hover {
  background: rgba(92, 192, 255, 0.22);
  border-color: #8fd6ff;
}
#full-area.knife-hit .kh-play-vs:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}
#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-vs {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 20px;
  display: none;
  align-items: flex-start;
  justify-content: space-between;
  pointer-events: none;
}
#full-area.knife-hit[data-mode=vs] .kh-top {
  display: none;
}
#full-area.knife-hit[data-mode=vs] .kh-vs {
  display: flex;
}
#full-area.knife-hit[data-state=intro] .kh-vs, #full-area.knife-hit[data-state=vsresult] .kh-vs {
  display: none;
}
#full-area.knife-hit .kh-vs-side {
  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;
  transition: transform 0.2s;
}
#full-area.knife-hit .kh-vs-side span {
  font-size: 22px;
  color: #5b6780;
}
#full-area.knife-hit .kh-vs-side 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-vs-side-you strong {
  color: #ffd54a;
}
#full-area.knife-hit .kh-vs-side-ai strong {
  color: #5cc0ff;
}
#full-area.knife-hit[data-turn=you] .kh-vs-side-you, #full-area.knife-hit[data-turn=ai] .kh-vs-side-ai {
  transform: scale(1.08);
}
#full-area.knife-hit .kh-vs-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
#full-area.knife-hit .kh-vs-headline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  letter-spacing: 1px;
  color: #aeb9d3;
}
#full-area.knife-hit .kh-vs-dots {
  display: flex;
  gap: 6px;
}
#full-area.knife-hit .kh-vs-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #3a445c;
  border: 3px solid #1b2233;
}
#full-area.knife-hit .kh-vs-dot.is-you {
  background: #ffd54a;
}
#full-area.knife-hit .kh-vs-dot.is-ai {
  background: #5cc0ff;
}
#full-area.knife-hit .kh-vs-dot.is-draw {
  background: #aeb9d3;
}
#full-area.knife-hit .kh-vs-turn {
  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[data-turn=ai] .kh-vs-turn {
  color: #5cc0ff;
}
#full-area.knife-hit .kh-vs-clock {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
#full-area.knife-hit .kh-vs-clock b {
  font: 26px/1 "Knife Lilita", sans-serif;
  color: #fff;
  -webkit-text-stroke: 5px #1b2233;
  paint-order: stroke fill;
  text-shadow: 0 2px 0 #1b2233;
  font-weight: normal;
  min-width: 90px;
  text-align: center;
}
#full-area.knife-hit .kh-vs-clock em {
  font-style: normal;
  font-size: 18px;
  color: #ffd54a;
}
#full-area.knife-hit .kh-ai-note {
  position: absolute;
  right: 40px;
  bottom: 96px;
  width: 300px;
  padding: 10px 0;
  border-radius: 18px;
  background: rgba(12, 17, 30, 0.8);
  border: 3px solid #5cc0ff;
  font: 24px/1 "Knife Lilita", sans-serif;
  color: #fff;
  -webkit-text-stroke: 4px #1b2233;
  paint-order: stroke fill;
  text-shadow: 0 2px 0 #1b2233;
  color: #5cc0ff;
  text-align: center;
  display: none;
  pointer-events: none;
}
#full-area.knife-hit[data-mode=vs][data-turn=ai] .kh-meter {
  visibility: hidden;
}
#full-area.knife-hit[data-mode=vs][data-turn=ai] .kh-ai-note {
  display: block;
}
#full-area.knife-hit .kh-overlay {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 38%, rgba(14, 17, 25, 0.4), rgba(14, 17, 25, 0.9));
  animation: kh-fade 0.3s ease-out both;
}
#full-area.knife-hit[data-state=gameover] .kh-gameover {
  display: flex;
}
#full-area.knife-hit[data-state=vsresult] .kh-vsresult {
  display: flex;
}
#full-area.knife-hit .kh-panel {
  position: relative;
  width: 620px;
  padding: 24px 34px 26px;
  border-radius: 32px;
  background: linear-gradient(180deg, #303a58 0%, #1e2538 100%);
  border: 4px solid #1b2233;
  box-shadow: 0 12px 0 #0b0e16, 0 34px 60px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: kh-drop 0.5s cubic-bezier(0.2, 1.3, 0.4, 1) both;
}
#full-area.knife-hit .kh-panel-knife {
  position: absolute;
  right: 30px;
  top: -80px;
  width: 44px;
  transform: rotate(150deg);
  transform-origin: 50% 50%;
  filter: drop-shadow(-6px 6px 8px rgba(0, 0, 0, 0.5));
  animation: kh-stab 0.5s 0.3s cubic-bezier(0.2, 1.4, 0.4, 1) both;
  pointer-events: none;
}
#full-area.knife-hit .kh-go-title {
  font: 66px/1 "Knife Lilita", sans-serif;
  color: #fff;
  -webkit-text-stroke: 10px #1b2233;
  paint-order: stroke fill;
  text-shadow: 0 6px 0 #1b2233;
  color: #ffd54a;
  letter-spacing: 2px;
}
#full-area.knife-hit[data-best="1"] .kh-go-title {
  color: #7cff8a;
}
#full-area.knife-hit .kh-go-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}
#full-area.knife-hit .kh-go-main-vs {
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
#full-area.knife-hit .kh-go-vs {
  font: 30px/1 "Knife Lilita", sans-serif;
  color: #fff;
  -webkit-text-stroke: 6px #1b2233;
  paint-order: stroke fill;
  text-shadow: 0 3px 0 #1b2233;
  color: #8f9bb8;
  padding: 0 4px;
}
#full-area.knife-hit .kh-go-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 10px 10px;
  border-radius: 20px;
  background: rgba(11, 14, 22, 0.55);
  border: 3px solid #1b2233;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
#full-area.knife-hit .kh-go-cell em {
  font-style: normal;
  font-size: 18px;
  letter-spacing: 3px;
  color: #8f9bb8;
}
#full-area.knife-hit .kh-big {
  font: 80px/1 "Knife Lilita", sans-serif;
  color: #fff;
  -webkit-text-stroke: 10px #1b2233;
  paint-order: stroke fill;
  text-shadow: 0 5px 0 #1b2233;
  font-weight: normal;
  font-variant-numeric: tabular-nums;
}
#full-area.knife-hit .kh-big-best {
  color: #ffd54a;
}
#full-area.knife-hit .kh-big-ai {
  color: #5cc0ff;
}
#full-area.knife-hit .kh-go-stats {
  display: flex;
  gap: 12px;
  width: 100%;
}
#full-area.knife-hit .kh-go-stats span {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 2px 18px 0;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.1);
}
#full-area.knife-hit .kh-go-stats em {
  font-style: normal;
  font-size: 16px;
  letter-spacing: 2px;
  color: #8f9bb8;
  display: flex;
  align-items: center;
  gap: 8px;
}
#full-area.knife-hit .kh-go-stats b {
  font: 28px/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-go-stats .kh-sprite {
  width: 22px;
}
#full-area.knife-hit .kh-actions {
  display: flex;
  gap: 20px;
  margin-top: 28px;
  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;
}