@keyframes vc-stab {
  0% {
    opacity: 0;
    transform: translateY(-250px) scale(0.9, 1.3);
  }
  55% {
    opacity: 1;
    transform: translateY(14px) scale(1.12, 0.8);
  }
  76% {
    transform: translateY(-4px) scale(0.96, 1.05);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes vc-flip {
  0% {
    opacity: 0;
    transform: translateY(-190px) scaleY(-1);
  }
  12% {
    opacity: 1;
  }
  62% {
    transform: translateY(10px) scale(1.06, 1.12);
  }
  80% {
    transform: translateY(-3px) scale(0.98, 0.94);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes vc-shake {
  0%, 100% {
    transform: translate(0, 0);
  }
  20% {
    transform: translate(-6px, 4px);
  }
  40% {
    transform: translate(5px, -3px);
  }
  60% {
    transform: translate(-3px, 2px);
  }
  80% {
    transform: translate(2px, -1px);
  }
}
@keyframes vc-ray {
  0% {
    opacity: 1;
    transform: rotate(var(--a)) translateY(-130px) scaleY(0.3);
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(var(--a)) translateY(-280px) scaleY(1.2);
  }
}
@keyframes vc-rise {
  0% {
    opacity: 0;
    transform: translateY(26px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes vc-hiya-in {
  0% {
    scale: 1 0;
    opacity: 0;
  }
  55% {
    scale: 1.08 1.18;
    opacity: 1;
  }
  78% {
    scale: 1.04 0.92;
    opacity: 1;
  }
  100% {
    scale: 1;
    opacity: 1;
  }
}
@keyframes vc-grave {
  0% {
    opacity: 0;
    transform: translateY(90px);
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
#full-area.vampire-castle {
  width: 100%;
  height: 100vh;
  position: absolute;
  overflow: hidden;
  background: #15130f;
  user-select: none;
  font-family: "Fredoka", "Segoe UI", system-ui, sans-serif;
  color: #1c1d2b;
}
#full-area.vampire-castle section, #full-area.vampire-castle section * {
  font-family: "Fredoka", "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
  box-sizing: border-box;
}
#full-area.vampire-castle #game-area {
  position: absolute;
  width: 1280px;
  height: 720px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1) !important;
}
#full-area.vampire-castle #gameContainer {
  position: absolute;
  width: 1280px;
  height: 720px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
  background: #15130f;
}
#full-area.vampire-castle #vc-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  outline: none;
}
#full-area.vampire-castle button {
  border: 0;
  background: none;
  outline: none;
  padding: 0;
  margin: 0;
}
#full-area.vampire-castle section {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out, visibility 0.3s;
}
#full-area.vampire-castle[data-state=home] .vc-home {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
#full-area.vampire-castle[data-state=play] section {
  transition: none;
}
#full-area.vampire-castle[data-room-intro] .vc-home-btns {
  display: none;
}
#full-area.vampire-castle[data-state=over] .vc-over {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0.15s;
}
#full-area.vampire-castle .vc-btn {
  position: relative;
  width: 320px;
  height: 125px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("/media/games/vampire-castle/images/ui/btn-stone.webp") center/100% 100% no-repeat;
  filter: drop-shadow(0 5px 0 rgba(4, 3, 10, 0.45));
  transition: transform 0.12s ease;
}
#full-area.vampire-castle .vc-btn span {
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-weight: 400;
  font-size: 34px;
  line-height: 1;
  color: #fff7e6;
  -webkit-text-stroke: 7px #1c1d2b;
  paint-order: stroke fill;
  text-shadow: 0 4px 0 #1c1d2b;
  margin-top: -2px;
  white-space: nowrap;
}
#full-area.vampire-castle .vc-btn:hover {
  transform: scale(1.04);
}
#full-area.vampire-castle .vc-btn:active {
  transform: scale(0.96);
}
#full-area.vampire-castle .vc-btn-green span {
  color: #ffc83a;
}
#full-area.vampire-castle .vc-meter, #full-area.vampire-castle .vc-hiya {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
#full-area.vampire-castle[data-state=play] .vc-meter {
  opacity: 1;
  pointer-events: auto;
}
#full-area.vampire-castle .vc-meter {
  left: 26px;
  bottom: 84px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
#full-area.vampire-castle .vc-meter-bar {
  position: relative;
  width: 250px;
  height: 26px;
  border: 4px solid #1c1d2b;
  border-radius: 13px;
  background: #c9c1b4;
  box-shadow: 0 4px 0 #1c1d2b, inset 0 4px 0 #a39a8c;
  overflow: hidden;
}
#full-area.vampire-castle .vc-meter-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  transform-origin: left;
  transform: scaleX(0);
  background: #ffc83a;
  box-shadow: inset 0 -6px 0 #d27a12, inset 0 4px 0 #ffe48a;
}
#full-area.vampire-castle .vc-meter[data-mode=loud] .vc-meter-fill {
  background: #ff7a1a;
  box-shadow: inset 0 -6px 0 #b8400c, inset 0 4px 0 #ffb066;
}
#full-area.vampire-castle .vc-meter-line {
  position: absolute;
  top: -2px;
  bottom: -2px;
  left: 40%;
  width: 4px;
  margin-left: -2px;
  background: #1c1d2b;
}
#full-area.vampire-castle .vc-boost {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}
#full-area.vampire-castle .vc-boost .vc-mic {
  width: 26px;
  height: 26px;
  flex: none;
}
#full-area.vampire-castle .vc-boost b {
  min-width: 44px;
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
  color: #ffc83a;
  -webkit-text-stroke: 6px #1c1d2b;
  paint-order: stroke fill;
}
#full-area.vampire-castle .vc-sens {
  --pct: 25%;
  -webkit-appearance: none;
  appearance: none;
  width: 160px;
  height: 18px;
  margin: 0;
  padding: 0;
  border-radius: 10px;
  border: 3px solid #1c1d2b;
  background: linear-gradient(90deg, #ffc83a var(--pct), #c9c1b4 var(--pct));
  box-shadow: 0 3px 0 #1c1d2b, inset 0 3px 0 rgba(20, 22, 43, 0.18);
  outline: none;
  cursor: pointer;
}
#full-area.vampire-castle .vc-sens::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffc83a;
  border: 4px solid #1c1d2b;
  box-shadow: inset 0 -5px 0 #d27a12, 0 3px 0 #1c1d2b;
  cursor: grab;
}
#full-area.vampire-castle .vc-sens::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffc83a;
  border: 4px solid #1c1d2b;
  cursor: grab;
}
#full-area.vampire-castle .vc-hiya {
  right: 96px;
  top: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  rotate: 4deg;
}
#full-area.vampire-castle .vc-hiya .vc-hiya-say {
  margin: 0 8px -4px 0;
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1;
  color: #ffc83a;
  -webkit-text-stroke: 9px #1c1d2b;
  paint-order: stroke fill;
  text-shadow: 0 4px 0 #1c1d2b;
  transform-origin: 50% 100%;
}
#full-area.vampire-castle .vc-hiya .vc-hiya-word {
  display: flex;
  align-items: baseline;
  transform-origin: 100% 100%;
}
#full-area.vampire-castle .vc-hiya .vc-hiya-word i {
  display: block;
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  color: #fff7e6;
  -webkit-text-stroke: 12px #1c1d2b;
  paint-order: stroke fill;
  text-shadow: 0 6px 0 #1c1d2b;
  transform-origin: 50% 100%;
  transition: color 0.15s ease;
}
#full-area.vampire-castle .vc-hiya .vc-hiya-word i:nth-child(1) {
  font-size: 52px;
  rotate: -4deg;
}
#full-area.vampire-castle .vc-hiya .vc-hiya-word i:nth-child(2) {
  font-size: 56px;
  rotate: 2deg;
}
#full-area.vampire-castle .vc-hiya .vc-hiya-word i:nth-child(3) {
  font-size: 60px;
  rotate: -3deg;
}
#full-area.vampire-castle .vc-hiya .vc-hiya-word i:nth-child(4) {
  font-size: 64px;
  rotate: 3deg;
}
#full-area.vampire-castle .vc-hiya .vc-hiya-word i:nth-child(5) {
  font-size: 64px;
  rotate: 7deg;
  margin-left: 2px;
}
#full-area.vampire-castle .vc-hiya.is-loud .vc-hiya-word i {
  color: #ff4a3d;
}
#full-area.vampire-castle[data-state=play] .vc-hiya {
  opacity: 1;
}
#full-area.vampire-castle[data-state=play] .vc-hiya .vc-hiya-say,
#full-area.vampire-castle[data-state=play] .vc-hiya .vc-hiya-word i {
  animation: vc-hiya-in 0.45s ease-out both;
}
#full-area.vampire-castle[data-state=play] .vc-hiya .vc-hiya-say {
  animation-delay: 0.1s;
}
#full-area.vampire-castle[data-state=play] .vc-hiya .vc-hiya-word i:nth-child(1) {
  animation-delay: 0.22s;
}
#full-area.vampire-castle[data-state=play] .vc-hiya .vc-hiya-word i:nth-child(2) {
  animation-delay: 0.28s;
}
#full-area.vampire-castle[data-state=play] .vc-hiya .vc-hiya-word i:nth-child(3) {
  animation-delay: 0.34s;
}
#full-area.vampire-castle[data-state=play] .vc-hiya .vc-hiya-word i:nth-child(4) {
  animation-delay: 0.4s;
}
#full-area.vampire-castle[data-state=play] .vc-hiya .vc-hiya-word i:nth-child(5) {
  animation-delay: 0.46s;
}
#full-area.vampire-castle .vc-home {
  left: 320px;
  top: 112px;
  width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#full-area.vampire-castle .vc-logo {
  --split: 71%;
  position: relative;
  display: block;
  width: 470px;
  height: 346px;
}
#full-area.vampire-castle .vc-logo img {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  filter: drop-shadow(4px 7px 0 rgba(13, 16, 36, 0.35));
}
#full-area.vampire-castle .vc-logo-top {
  clip-path: inset(0 0 calc(100% - var(--split)) 0);
  transform-origin: 50% 40%;
}
#full-area.vampire-castle .vc-logo-bottom {
  clip-path: inset(var(--split) 0 0 0);
  transform-origin: 50% 86%;
}
#full-area.vampire-castle .vc-burst {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 86%;
  width: 0;
  height: 0;
  pointer-events: none;
}
#full-area.vampire-castle .vc-burst i {
  position: absolute;
  left: -7px;
  top: -26px;
  width: 14px;
  height: 52px;
  border-radius: 7px;
  background: #ffc83a;
  border: 3px solid #1c1d2b;
  opacity: 0;
  transform: rotate(var(--a)) translateY(-40px);
  transform-origin: 50% 50%;
}
#full-area.vampire-castle .vc-home-btns {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
#full-area.vampire-castle .vc-home-btns {
  margin-top: 14px;
  opacity: 0;
}
#full-area.vampire-castle .vc-home[data-intro~=top] .vc-logo-top {
  animation: vc-stab 0.42s cubic-bezier(0.3, 0.7, 0.4, 1) both;
}
#full-area.vampire-castle .vc-home[data-intro~=top] .vc-logo {
  animation: vc-shake 0.3s linear 0.22s both;
}
#full-area.vampire-castle .vc-home[data-intro~=bottom] .vc-logo-bottom {
  animation: vc-flip 0.5s cubic-bezier(0.35, 0.6, 0.4, 1) both;
}
#full-area.vampire-castle .vc-home[data-intro~=bottom] .vc-logo {
  animation: vc-shake 0.32s linear 0.32s both;
}
#full-area.vampire-castle .vc-home[data-intro~=bottom] .vc-burst i {
  animation: vc-ray 0.45s ease-out 0.3s both;
}
#full-area.vampire-castle .vc-home[data-intro~=btns] .vc-home-btns {
  animation: vc-rise 0.36s cubic-bezier(0.34, 1.45, 0.64, 1) both;
}
#full-area.vampire-castle .vc-home.vc-instant .vc-logo img, #full-area.vampire-castle .vc-home.vc-instant .vc-home-btns, #full-area.vampire-castle .vc-home.vc-instant .vc-logo {
  animation: none;
  opacity: 1;
  transform: none;
}
#full-area.vampire-castle .vc-home.vc-instant .vc-burst i {
  animation: none;
  opacity: 0;
}
#full-area.vampire-castle .vc-over {
  inset: 0;
  background: rgba(12, 7, 24, 0.38);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
#full-area.vampire-castle .vc-grave {
  position: absolute;
  left: 440px;
  top: 112px;
  width: 400px;
  height: 301px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding-top: 64px;
  box-sizing: border-box;
  background: url("/media/games/vampire-castle/images/ui/grave.webp") center/100% 100% no-repeat;
  filter: drop-shadow(0 6px 0 rgba(4, 3, 10, 0.45));
  opacity: 0;
}
#full-area.vampire-castle .vc-grave-score {
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-weight: 400;
  font-size: 84px;
  line-height: 1;
  color: #ffc83a;
  -webkit-text-stroke: 10px #1c1d2b;
  paint-order: stroke fill;
  text-shadow: 0 6px 0 #1c1d2b;
}
#full-area.vampire-castle .vc-grave-best {
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1;
  color: #fff7e6;
  -webkit-text-stroke: 6px #1c1d2b;
  paint-order: stroke fill;
}
#full-area.vampire-castle .vc-grave-best.is-new {
  color: #ffc83a;
}
#full-area.vampire-castle .vc-over-play, #full-area.vampire-castle .vc-over-board {
  position: absolute;
  top: 430px;
  opacity: 0;
}
#full-area.vampire-castle .vc-over-play {
  left: 308px;
}
#full-area.vampire-castle .vc-over-board {
  left: 652px;
}
#full-area.vampire-castle[data-state=over] .vc-grave {
  animation: vc-grave 0.5s cubic-bezier(0.3, 1.3, 0.6, 1) 0.2s both;
}
#full-area.vampire-castle[data-state=over] .vc-over-play, #full-area.vampire-castle[data-state=over] .vc-over-board {
  animation: vc-rise 0.36s cubic-bezier(0.34, 1.45, 0.64, 1) 0.55s both;
}
