@keyframes yn-rise-in {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes yn-host-rise {
  0% {
    transform: translateY(260px);
  }
  70% {
    transform: translateY(-14px);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes yn-talk {
  0% {
    transform: scaleY(1) rotate(0deg);
  }
  100% {
    transform: scaleY(1.018) rotate(-0.6deg);
  }
}
@keyframes yn-mouth {
  0% {
    background-position-x: 33.333%;
  }
  8.333% {
    background-position-x: 66.667%;
  }
  16.667% {
    background-position-x: 33.333%;
  }
  25% {
    background-position-x: 0%;
  }
  33.333% {
    background-position-x: 66.667%;
  }
  41.667% {
    background-position-x: 100%;
  }
  50% {
    background-position-x: 33.333%;
  }
  58.333% {
    background-position-x: 66.667%;
  }
  66.667% {
    background-position-x: 0%;
  }
  75% {
    background-position-x: 33.333%;
  }
  83.333% {
    background-position-x: 100%;
  }
  91.667% {
    background-position-x: 66.667%;
  }
}
@keyframes yn-sign-drop {
  0% {
    transform: translateY(-560px) rotate(0deg);
  }
  55% {
    transform: translateY(14px) rotate(-3deg);
  }
  72% {
    transform: translateY(-6px) rotate(2deg);
  }
  86% {
    transform: translateY(2px) rotate(-1deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}
@keyframes yn-sign-up {
  0% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(14px);
  }
  100% {
    transform: translateY(-640px);
  }
}
@keyframes yn-stamp {
  0% {
    opacity: 0;
    transform: scale(2.4) rotate(-10deg);
  }
  55% {
    opacity: 1;
    transform: scale(0.9) rotate(2deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}
@keyframes yn-light {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes yn-chase {
  to {
    stroke-dashoffset: -20;
  }
}
@keyframes yn-game-in {
  0% {
    opacity: 0;
    transform: scaleX(0.1);
  }
  70% {
    opacity: 1;
    transform: scaleX(1.08);
  }
  100% {
    opacity: 1;
    transform: scaleX(1);
  }
}
@keyframes yn-logo-shake {
  0%, 100% {
    transform: translate(0, 0);
  }
  20% {
    transform: translate(-6px, 3px);
  }
  40% {
    transform: translate(5px, -3px);
  }
  60% {
    transform: translate(-3px, 2px);
  }
  80% {
    transform: translate(2px, -1px);
  }
}
@keyframes yn-bulb {
  0%, 42% {
    opacity: 1;
  }
  50%, 92% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes yn-fan-bob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}
@keyframes yn-fan-cheer {
  0%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-16px);
  }
}
@keyframes yn-fan-laugh {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-3px) rotate(-2deg);
  }
  75% {
    transform: translateY(-3px) rotate(2deg);
  }
}
@keyframes yn-pop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.25);
  }
  100% {
    transform: scale(1);
  }
}
#full-area.yes-no-game {
  width: 100%;
  height: 100vh;
  position: absolute;
  overflow: hidden;
  background: #3a2470;
  user-select: none;
  font-family: "Fredoka", "Segoe UI", system-ui, sans-serif;
  color: #1b1030;
}
#full-area.yes-no-game section, #full-area.yes-no-game section *, #full-area.yes-no-game .yn-card, #full-area.yes-no-game .yn-card *, #full-area.yes-no-game .yn-hud, #full-area.yes-no-game .yn-hud *, #full-area.yes-no-game .yn-bubble, #full-area.yes-no-game .yn-bubble * {
  font-family: "Fredoka", "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
  box-sizing: border-box;
}
#full-area.yes-no-game #game-area {
  position: absolute;
  width: 1280px;
  height: 720px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1) !important;
}
#full-area.yes-no-game #gameContainer {
  position: absolute;
  width: 1280px;
  height: 720px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
  background: #3a2470;
}
#full-area.yes-no-game img {
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
#full-area.yes-no-game .yn-stage {
  position: absolute;
  left: 0;
  top: 0;
  width: 1280px;
  height: 720px;
}
#full-area.yes-no-game .yn-bulbs {
  animation: yn-bulb 1.2s linear infinite;
}
#full-area.yes-no-game .yn-bulbs-b {
  animation-delay: -0.6s;
}
#full-area.yes-no-game[data-phase=clear] .yn-bulbs, #full-area.yes-no-game[data-result=best] .yn-bulbs {
  animation-duration: 0.4s;
}
#full-area.yes-no-game[data-phase=clear] .yn-bulbs-b, #full-area.yes-no-game[data-result=best] .yn-bulbs-b {
  animation-delay: -0.2s;
}
#full-area.yes-no-game .yn-cam-tint {
  position: absolute;
  inset: 0;
  display: none;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(58, 36, 112, 0.18) 0%, rgba(58, 36, 112, 0.28) 60%, rgba(27, 16, 48, 0.55) 100%);
}
#full-area.yes-no-game[data-cam="1"] .yn-stage {
  visibility: hidden;
}
#full-area.yes-no-game[data-cam="1"] .yn-cam-tint {
  display: block;
}
#full-area.yes-no-game .yn-crowd {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
#full-area.yes-no-game .yn-fan {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: var(--h);
  background: url("/media/games/yes-no-game/images/crowd.webp") calc(-1 * var(--x)) calc(-1 * var(--sy))/1280px 160px no-repeat;
  animation: yn-fan-bob 2.4s ease-in-out infinite;
  animation-delay: calc(-1 * var(--d));
}
#full-area.yes-no-game[data-phase=clear] .yn-fan, #full-area.yes-no-game[data-result=best] .yn-fan {
  animation: yn-fan-cheer 0.55s ease-out infinite;
  animation-delay: calc(-0.3 * var(--d));
}
#full-area.yes-no-game[data-phase=fail] .yn-fan {
  animation: yn-fan-laugh 0.3s ease-in-out infinite;
  animation-delay: calc(-0.15 * var(--d));
}
#full-area.yes-no-game .yn-host {
  position: absolute;
  left: -50px;
  top: 64px;
  width: 600px;
  height: 430px;
  z-index: 1;
  transform-origin: 312px 430px;
  translate: 0 -50px;
  scale: 0.88;
}
#full-area.yes-no-game[data-intro=run] .yn-host {
  animation: yn-host-rise 0.6s 0.1s ease-out both;
}
#full-area.yes-no-game .yn-host[data-talk="1"] .yn-pose {
  animation: yn-talk 0.18s ease-in-out infinite alternate;
}
#full-area.yes-no-game .yn-pose {
  position: absolute;
  top: 0;
  height: 430px;
  display: none;
  transform-origin: 50% 100%;
}
#full-area.yes-no-game .yn-pose-talk {
  left: 122px;
  top: -43px;
  width: 430px;
  background: url("/media/games/yes-no-game/images/host-talk-sheet.webp") 0 0/400% 100% no-repeat;
}
#full-area.yes-no-game .yn-host[data-talk="1"] .yn-pose-talk {
  animation: yn-mouth 1.2s step-end infinite, yn-talk 0.18s ease-in-out infinite alternate;
}
#full-area.yes-no-game .yn-pose-laugh {
  left: 130px;
  top: -37px;
  width: 315px;
}
#full-area.yes-no-game .yn-pose-wow {
  left: 141px;
  top: -46px;
  width: 336px;
}
#full-area.yes-no-game .yn-host[data-pose=talk] .yn-pose-talk,
#full-area.yes-no-game .yn-host[data-pose=laugh] .yn-pose-laugh,
#full-area.yes-no-game .yn-host[data-pose=wow] .yn-pose-wow {
  display: block;
}
#full-area.yes-no-game .yn-podium {
  position: absolute;
  left: 27px;
  top: 418px;
  width: 470px;
  z-index: 2;
  transform-origin: 235px 76px;
  translate: 0 -50px;
  scale: 0.88;
}
#full-area.yes-no-game .yn-card {
  position: absolute;
  left: 612px;
  top: 128px;
  width: 590px;
  height: 301px;
  z-index: 3;
  display: none;
  background: url("/media/games/yes-no-game/images/card.webp") 0 0/100% 100% no-repeat;
  filter: drop-shadow(0 8px 0 rgba(27, 16, 48, 0.55));
}
#full-area.yes-no-game[data-state=play] .yn-card, #full-area.yes-no-game[data-state=over] .yn-card {
  display: flex;
}
#full-area.yes-no-game .yn-card-body {
  position: absolute;
  left: 39px;
  right: 39px;
  top: 40px;
  bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
}
#full-area.yes-no-game .yn-question {
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-weight: 400;
  font-size: 50px;
  line-height: 1.08;
  text-align: center;
  color: #1b1030;
}
#full-area.yes-no-game[data-state=over] .yn-question {
  display: none;
}
#full-area.yes-no-game .yn-final {
  display: none;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
#full-area.yes-no-game .yn-final span {
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-size: 22px;
  line-height: 1;
  color: #6a5a8a;
}
#full-area.yes-no-game .yn-final b {
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-weight: 400;
  line-height: 1;
  color: #1b1030;
}
#full-area.yes-no-game[data-state=over] .yn-final {
  display: flex;
}
#full-area.yes-no-game .yn-final-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
#full-area.yes-no-game .yn-final-main b {
  font-size: 76px;
}
#full-area.yes-no-game .yn-final-row {
  display: flex;
  gap: 60px;
}
#full-area.yes-no-game .yn-final-row div {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
#full-area.yes-no-game .yn-final-row b {
  font-size: 36px;
}
#full-area.yes-no-game[data-result=best] .yn-final-row div:last-child b {
  color: #f04a43;
}
#full-area.yes-no-game .yn-pips {
  position: absolute;
  left: 39px;
  right: 39px;
  bottom: 40px;
  height: 32px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
#full-area.yes-no-game .yn-pips i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e6dcc8;
  border: 4px solid #1b1030;
}
#full-area.yes-no-game .yn-pips i.now {
  background: #ffd84a;
  transform: scale(1.2);
}
#full-area.yes-no-game .yn-pips i.done {
  background: #47c75c;
}
#full-area.yes-no-game .yn-pips i.miss {
  background: #f04a43;
}
#full-area.yes-no-game .yn-bubble {
  position: absolute;
  left: 612px;
  top: 476px;
  width: 400px;
  min-height: 74px;
  z-index: 4;
  padding: 12px 22px 14px;
  display: none;
  align-items: center;
  justify-content: center;
  background: #fffaf0;
  border: 5px solid #1b1030;
  border-radius: 24px;
  box-shadow: 0 7px 0 #1b1030;
}
#full-area.yes-no-game .yn-bubble::before, #full-area.yes-no-game .yn-bubble::after {
  content: "";
  position: absolute;
  left: 36px;
  width: 44px;
}
#full-area.yes-no-game .yn-bubble::before {
  top: 100%;
  height: 42px;
  background: #1b1030;
  clip-path: polygon(0 0, 44px 0, 4px 42px);
}
#full-area.yes-no-game .yn-bubble::after {
  top: calc(100% - 2px);
  height: 35px;
  background: #fffaf0;
  clip-path: polygon(4.8px 0, 39px 0, 7.9px 32.6px);
}
#full-area.yes-no-game .yn-bubble p {
  font-family: "Fredoka", "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.15;
  text-align: center;
  color: #1b1030;
  word-break: break-word;
}
#full-area.yes-no-game .yn-bubble .yn-foul {
  display: inline-block;
  padding: 0 8px;
  color: #fff6e4;
  background: #f04a43;
  border: 3px solid #1b1030;
  border-radius: 12px;
  animation: yn-pop 0.35s ease-out;
}
#full-area.yes-no-game[data-state=play] .yn-bubble[data-show="1"] {
  display: flex;
}
#full-area.yes-no-game .yn-hud {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  display: none;
}
#full-area.yes-no-game[data-state=play] .yn-hud {
  display: block;
}
#full-area.yes-no-game .yn-score {
  position: absolute;
  right: 44px;
  top: 16px;
  min-width: 150px;
  padding: 6px 18px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fffaf0;
  border: 5px solid #1b1030;
  border-radius: 18px;
  box-shadow: 0 6px 0 #1b1030;
}
#full-area.yes-no-game .yn-score span {
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-size: 17px;
  line-height: 1;
  color: #6a5a8a;
}
#full-area.yes-no-game .yn-score b {
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-weight: 400;
  font-size: 46px;
  line-height: 1;
  color: #1b1030;
}
#full-area.yes-no-game .yn-score b.pop {
  animation: yn-pop 0.3s ease-out;
}
#full-area.yes-no-game .yn-logo {
  position: absolute;
  left: 600px;
  top: 40px;
  width: 640px;
  height: 340px;
  z-index: 4;
  display: none;
}
#full-area.yes-no-game .yn-logo svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
#full-area.yes-no-game .yn-logo text {
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
}
#full-area.yes-no-game .yn-logo g {
  transform-box: fill-box;
  transform-origin: 50% 50%;
}
#full-area.yes-no-game[data-state=home] .yn-logo {
  display: block;
}
#full-area.yes-no-game .yn-logo .yn-sign {
  transform-box: view-box;
  transform-origin: 320px -620px;
}
#full-area.yes-no-game[data-intro=run] .yn-sign {
  animation: yn-sign-drop 0.7s 0.05s cubic-bezier(0.3, 0.7, 0.4, 1) both;
}
#full-area.yes-no-game[data-intro=out] .yn-sign {
  animation: yn-sign-up 0.42s ease-in both;
}
#full-area.yes-no-game[data-intro=run] .yn-bulbs-on {
  animation: yn-light 0.12s 0.62s both, yn-chase 0.32s 0.62s steps(2) infinite;
}
#full-area.yes-no-game[data-intro=out] .yn-bulbs-on {
  animation: yn-chase 0.32s steps(2) infinite;
}
#full-area.yes-no-game[data-intro=run] .yn-logo-yes {
  animation: yn-stamp 0.3s 0.68s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}
#full-area.yes-no-game[data-intro=run] .yn-logo-no {
  animation: yn-stamp 0.3s 0.98s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}
#full-area.yes-no-game[data-intro=run] .yn-logo-game {
  animation: yn-game-in 0.34s 1.3s ease-out both;
}
#full-area.yes-no-game[data-intro=run] .yn-logo svg {
  animation: yn-logo-shake 0.3s 1.06s linear both;
}
#full-area.yes-no-game section {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: none;
  pointer-events: none;
}
#full-area.yes-no-game[data-state=over] .yn-over {
  display: block;
}
#full-area.yes-no-game .yn-actions {
  position: absolute;
  left: 612px;
  width: 590px;
  display: flex;
  justify-content: center;
  gap: 14px;
  pointer-events: auto;
  animation: yn-rise-in 0.4s 0.12s ease-out both;
}
#full-area.yes-no-game .yn-over .yn-actions {
  top: 449px;
  animation-delay: 1s;
}
#full-area.yes-no-game .yn-btn {
  width: 288px;
  height: 88px;
  padding: 0 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent center/100% 100% no-repeat;
  filter: drop-shadow(0 6px 0 rgba(27, 16, 48, 0.55));
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1;
  color: #fff6e4;
  white-space: nowrap;
  text-shadow: 0 3px 0 rgba(27, 16, 48, 0.55);
  transition: transform 0.1s ease, filter 0.1s ease;
}
#full-area.yes-no-game .yn-btn:hover, #full-area.yes-no-game .yn-btn.sog-focused, #full-area.yes-no-game .yn-btn:focus-visible {
  transform: translateY(-3px);
  filter: drop-shadow(0 9px 0 rgba(27, 16, 48, 0.55)) brightness(1.08);
  outline: none;
}
#full-area.yes-no-game .yn-btn:active {
  transform: translateY(4px);
  filter: drop-shadow(0 2px 0 rgba(27, 16, 48, 0.55));
}
#full-area.yes-no-game .yn-btn-red {
  background-image: url("/media/games/yes-no-game/images/buzzer-red.webp");
}
#full-area.yes-no-game .yn-btn-blue {
  background-image: url("/media/games/yes-no-game/images/buzzer-blue.webp");
}
