.jbq-game {
  --jbq-blue: #2378df;
  --jbq-blue-dark: #164b84;
  --jbq-cream: #fffdf5;
  --jbq-green: #258c38;
  --jbq-red: #dc3f45;
  --jbq-yellow: #f4ad22;
  width: 100%;
  max-width: 980px;
  min-width: 0;
  margin: 0 auto;
  color: #153c68;
  font-family: "Nunito", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
}

.jbq-game,
.jbq-game *,
.jbq-game *::before,
.jbq-game *::after {
  box-sizing: border-box;
}

.jbq-game button,
.jbq-game input {
  font: inherit;
}

.jbq-game button {
  text-transform: none;
  letter-spacing: normal;
}

.jbq-game button:focus-visible,
.jbq-game input:focus-visible {
  outline: 3px solid #ffcb3d;
  outline-offset: 3px;
}

.jbq-game [hidden] {
  display: none !important;
}

.jbq-shell {
  position: relative;
  display: flex;
  width: 100%;
  min-width: 0;
  height: clamp(600px, 86dvh, 780px);
  min-height: 600px;
  overflow: hidden;
  border: 1px solid rgb(24 70 110 / 18%);
  border-radius: 24px;
  background: #8dd8f8 url("../assets/images/game-background-desktop.png") center / cover no-repeat;
  box-shadow: 0 18px 45px rgb(27 79 119 / 24%);
}

.jbq-primary-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, #3f98f4, #1769ce);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 45%), 0 5px 10px rgb(17 82 158 / 25%);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  touch-action: manipulation;
}

.jbq-primary-button:hover {
  background: linear-gradient(180deg, #52a6fb, #1769ce);
  transform: translateY(-1px);
}

.jbq-primary-button:active {
  transform: translateY(1px);
}

.jbq-primary-button:disabled {
  cursor: not-allowed;
  filter: grayscale(.7);
  opacity: .62;
  transform: none;
}

.jbq-primary-button img,
.jbq-icon-button img {
  display: block;
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
  pointer-events: none;
}

.jbq-icon-button {
  display: inline-grid;
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 2px solid rgb(255 255 255 / 82%);
  border-radius: 50%;
  background: linear-gradient(180deg, #418ef2, #1e63c9);
  box-shadow: 0 3px 7px rgb(26 76 139 / 25%);
  color: #fff;
  cursor: pointer;
  touch-action: manipulation;
}

.jbq-icon-button:hover {
  filter: brightness(1.08);
}

.jbq-game .jbq-mascot {
  display: block;
  max-width: none;
  height: auto;
  user-select: none;
  pointer-events: none;
  transform-origin: center bottom;
  animation: jbq-mascot-sway 2.5s ease-in-out infinite alternate !important;
}

.jbq-mascot-picture {
  display: contents;
}

@keyframes jbq-mascot-sway {
  from { transform: rotate(-15deg) translateY(0); }
  to { transform: rotate(15deg) translateY(-2px); }
}

/* Start screen */
.jbq-start-screen {
  align-items: stretch;
  justify-content: center;
}

.jbq-start-sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(72 183 242 / 5%), rgb(141 216 248 / 5%));
  pointer-events: none;
}

.jbq-start-content {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 440px);
  min-height: 100%;
  flex-direction: column;
  align-items: stretch;
  padding: 24px 18px 18px;
}

.jbq-brand {
  text-align: center;
  text-shadow: 0 2px 0 #fff;
}

.jbq-brand h1 {
  margin: 0;
  font-size: clamp(34px, 7vw, 52px);
  font-weight: 1000;
  line-height: .92;
}

.jbq-brand h1 span,
.jbq-brand h1 strong {
  display: block;
  -webkit-text-stroke: 1px #fff;
  paint-order: stroke fill;
}

.jbq-brand h1 span {
  color: #2182df;
}

.jbq-brand h1 strong {
  color: #f2ab23;
}

.jbq-brand p {
  margin: 8px 0 0;
  color: #153e70;
  font-size: 17px;
  font-weight: 800;
}

.jbq-start-mascot {
  width: clamp(115px, 30%, 165px);
  margin: 5px auto -8px;
  filter: drop-shadow(0 8px 8px rgb(28 85 109 / 18%));
}

.jbq-name-card,
.jbq-leaderboard-card {
  border: 1px solid rgb(25 75 101 / 12%);
  border-radius: 17px;
  background: rgb(255 253 245 / 94%);
  box-shadow: 0 8px 18px rgb(22 82 112 / 16%);
  backdrop-filter: blur(5px);
}

.jbq-name-card {
  display: grid;
  gap: 8px;
  padding: 13px;
}

.jbq-name-card label {
  color: #173f6b;
  font-size: 14px;
  font-weight: 900;
}

.jbq-name-card input {
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 9px 13px;
  border: 2px solid #cbd5dc;
  border-radius: 12px;
  background: #fff;
  color: #173f6b;
  box-shadow: inset 0 1px 3px rgb(0 0 0 / 5%);
}

.jbq-name-card input[aria-invalid="true"] {
  border-color: var(--jbq-red);
}

.jbq-name-card .jbq-primary-button {
  width: 100%;
}

.jbq-retry-button {
  min-height: 40px;
  margin: 0;
  border: 2px solid var(--jbq-blue);
  border-radius: 12px;
  background: #fff;
  color: var(--jbq-blue-dark);
  font-weight: 900;
  cursor: pointer;
}

.jbq-field-error,
.jbq-load-error {
  margin: 0;
  color: #a9252b;
  font-size: 13px;
  font-weight: 700;
}

.jbq-load-error {
  padding: 7px 9px;
  border-radius: 8px;
  background: #fff0f0;
}

.jbq-leaderboard-card {
  margin-top: 8px;
  padding: 8px 14px 10px;
}

.jbq-leaderboard-card h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0 0 5px;
  color: #173e6e;
  font-size: 19px;
  font-weight: 1000;
}

.jbq-leaderboard-card h2 img {
  width: 22px;
  height: 22px;
  filter: brightness(0) saturate(100%) invert(71%) sepia(75%) saturate(744%) hue-rotate(345deg) brightness(100%);
}

.jbq-leaderboard-list ol {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jbq-leaderboard-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 32px;
  align-items: center;
  min-height: 22px;
  color: #142f50;
  font-size: 13px;
}

.jbq-rank {
  color: #728093;
  font-weight: 900;
  text-align: center;
}

.jbq-leaderboard-list li:nth-child(1) .jbq-rank { color: #d99a00; }
.jbq-leaderboard-list li:nth-child(2) .jbq-rank { color: #7a8794; }
.jbq-leaderboard-list li:nth-child(3) .jbq-rank { color: #b06b33; }

.jbq-player {
  overflow: hidden;
  padding: 0 6px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jbq-player-score {
  color: #143b68;
  text-align: right;
}

.jbq-leaderboard-empty {
  margin: 8px 0;
  color: #536a82;
  font-size: 13px;
  text-align: center;
}

/* Game screen */
.jbq-play-screen {
  height: clamp(540px, calc(86dvh - 60px), 720px);
  min-height: 540px;
  flex-direction: column;
}

.jbq-game-header {
  position: relative;
  z-index: 6;
  flex: 0 0 auto;
  padding: 10px 12px 7px;
}

.jbq-game-name {
  margin-bottom: 6px;
  color: #143e71;
  font-size: 15px;
  font-weight: 1000;
  text-align: center;
  text-shadow: 0 1px 0 #fff;
}

.jbq-hud {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 8px;
  padding: 5px 8px 5px 12px;
  border-radius: 18px;
  background: rgb(255 255 255 / 91%);
  box-shadow: 0 5px 13px rgb(28 75 111 / 18%);
  backdrop-filter: blur(6px);
}

.jbq-progress,
.jbq-score {
  font-size: 15px;
  font-weight: 1000;
  white-space: nowrap;
}

.jbq-progress { color: var(--jbq-green); }
.jbq-score { color: #e48606; }

.jbq-hearts {
  display: flex;
  min-width: 76px;
  flex: 1 1 auto;
  justify-content: center;
  gap: 3px;
}

.jbq-hearts img {
  width: 23px;
  height: 23px;
  filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(1648%) hue-rotate(330deg) brightness(101%) contrast(97%);
  transition: opacity .2s, transform .2s;
}

.jbq-hearts img.jbq-heart-lost {
  filter: grayscale(1);
  opacity: .22;
  transform: scale(.82);
}

.jbq-hud .jbq-icon-button {
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
}

.jbq-question-card {
  position: relative;
  z-index: 5;
  display: grid;
  width: min(calc(100% - 44px), 390px);
  min-height: 78px;
  flex: 0 0 auto;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  justify-items: center;
  margin: 0 auto 6px;
  padding: 8px 18px;
  border: 2px solid rgb(255 255 255 / 75%);
  border-radius: 17px;
  background: rgb(255 255 255 / 89%);
  box-shadow: 0 5px 13px rgb(24 73 111 / 18%);
  text-align: center;
  backdrop-filter: blur(5px);
}

.jbq-question-card strong {
  align-self: center;
  color: #173e72;
  font-size: clamp(20px, 5vw, 28px);
  font-weight: 1000;
  line-height: 1.05;
}

.jbq-question-card small {
  margin-top: 3px;
  color: #173e72;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.jbq-arena {
  position: relative;
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
  isolation: isolate;
}

.jbq-bubbles-layer {
  position: absolute;
  z-index: 3;
  inset: 0;
  overflow: hidden;
}

.jbq-bubble-slot {
  --jbq-bubble-size: clamp(72px, 18vw, 104px);
  position: absolute;
  top: 0;
  width: var(--jbq-bubble-size);
  height: var(--jbq-bubble-size);
  transform: translate3d(-50%, -140px, 0);
  animation: jbq-bubble-fall var(--jbq-duration) linear var(--jbq-delay) forwards;
  will-change: transform;
}

@keyframes jbq-bubble-fall {
  from { transform: translate3d(-50%, -140px, 0); }
  to { transform: translate3d(-50%, var(--jbq-fall-distance), 0); }
}

.jbq-bubble-path {
  width: 100%;
  height: 100%;
  animation: jbq-bubble-meander var(--jbq-duration) linear var(--jbq-delay) forwards;
  will-change: transform;
}

@keyframes jbq-bubble-meander {
  0% { transform: translate3d(0, 0, 0); }
  18% { transform: translate3d(var(--jbq-path-x1), 0, 0); animation-timing-function: ease-in-out; }
  40% { transform: translate3d(var(--jbq-path-x2), 0, 0); animation-timing-function: ease-in-out; }
  63% { transform: translate3d(var(--jbq-path-x3), 0, 0); animation-timing-function: ease-in-out; }
  82% { transform: translate3d(var(--jbq-path-x4), 0, 0); animation-timing-function: ease-in-out; }
  100% { transform: translate3d(var(--jbq-path-x5), 0, 0); }
}

.jbq-bubble {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  margin: 0;
  padding: 8px;
  overflow: hidden;
  border: 2px solid rgb(255 255 255 / 96%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 31% 24%, rgb(255 255 255 / 98%) 0 7%, transparent 9%),
    radial-gradient(circle at 50% 52%, rgb(218 244 251 / 94%) 0 44%, rgb(190 231 246 / 74%) 66%, transparent 75%),
    linear-gradient(145deg, rgb(250 254 255 / 88%), rgb(164 218 241 / 82%) 54%, rgb(223 187 225 / 84%));
  box-shadow:
    inset 0 0 0 1px rgb(19 62 114 / 16%),
    inset 5px 6px 13px rgb(255 255 255 / 66%),
    inset -6px -7px 13px rgb(82 128 190 / 24%),
    0 7px 15px rgb(17 65 105 / 30%);
  color: #082f61;
  font-size: clamp(8px, 3vw, 10px);
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-shadow:
    0 1px 0 rgb(255 255 255 / 96%),
    0 0 5px rgb(255 255 255 / 76%),
    0 2px 4px rgb(5 35 72 / 18%);
  cursor: pointer;
  touch-action: manipulation;
  animation: jbq-bubble-wobble var(--jbq-wobble-duration) ease-in-out var(--jbq-wobble-delay) infinite alternate;
  will-change: transform;
}

.jbq-bubble-label {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 100%;
  padding: 4px;
  border: 0;
  background: transparent;
  box-shadow: none;
  letter-spacing: .01em;
  overflow-wrap: anywhere;
}

.jbq-bubble::before {
  position: absolute;
  z-index: 1;
  top: 13%;
  left: 18%;
  width: 32%;
  height: 16%;
  border-top: 3px solid rgb(255 255 255 / 76%);
  border-radius: 50%;
  content: "";
  filter: blur(.2px);
  opacity: .52;
  pointer-events: none;
  animation: jbq-bubble-glint var(--jbq-glint-duration) ease-in-out var(--jbq-glint-delay) infinite alternate;
}

.jbq-bubble::after {
  position: absolute;
  inset: 5%;
  border: 1px solid rgb(255 255 255 / 42%);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

@keyframes jbq-bubble-wobble {
  from { transform: rotate(var(--jbq-tilt-start)) scale(var(--jbq-scale-start)); }
  to { transform: rotate(var(--jbq-tilt-end)) scale(var(--jbq-scale-end)); }
}

@keyframes jbq-bubble-glint {
  from { opacity: .38; transform: translate3d(-2px, 1px, 0) rotate(-24deg) scale(.92); }
  to { opacity: .68; transform: translate3d(5px, -2px, 0) rotate(-18deg) scale(1.08); }
}

.jbq-bubble-selected {
  animation: jbq-bubble-pop .18s ease-out forwards !important;
}

@keyframes jbq-bubble-pop {
  0% { opacity: 1; transform: scale(1); }
  55% { opacity: 1; transform: scale(1.07); }
  100% { opacity: .24; transform: scale(.9); }
}

.jbq-bubble:hover {
  border-color: #fff;
  filter: brightness(1.04) saturate(1.06);
  box-shadow:
    inset 0 0 0 2px rgb(20 91 151 / 24%),
    inset 5px 6px 13px rgb(255 255 255 / 72%),
    0 8px 18px rgb(17 65 105 / 36%);
}

.jbq-bubble:focus-visible {
  outline: 3px solid #063d79;
  outline-offset: 3px;
}

.jbq-bubble:disabled {
  cursor: default;
  opacity: 1;
}

.jbq-feedback {
  position: absolute;
  z-index: 8;
  top: 48%;
  left: 50%;
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 76px;
  font-weight: 1000;
  line-height: 1;
  text-align: center;
  text-shadow: 0 3px 0 #fff, 0 0 9px #fff, 0 5px 12px rgb(20 65 94 / 28%);
  transform: translate(-50%, -50%);
  animation: jbq-feedback-pop .2s ease-out;
}

.jbq-feedback-correct { color: #24b447; }
.jbq-feedback-wrong { color: #e0444a; }

@keyframes jbq-feedback-pop {
  from { opacity: 0; transform: translate(-50%, -45%) scale(.9); }
}

.jbq-play-mascot {
  position: absolute;
  z-index: 2;
  right: auto;
  bottom: 4px;
  left: clamp(8px, 2vw, 20px);
  width: clamp(92px, 19vw, 150px);
  filter: drop-shadow(0 8px 7px rgb(19 70 85 / 24%));
}

.jbq-pause-overlay {
  position: absolute;
  z-index: 20;
  display: grid;
  inset: 0;
  place-items: center;
  padding: 20px;
  background: rgb(20 55 83 / 46%);
  backdrop-filter: blur(4px);
}

.jbq-pause-card {
  display: grid;
  width: min(100%, 290px);
  gap: 18px;
  padding: 25px;
  border: 2px solid rgb(255 255 255 / 80%);
  border-radius: 22px;
  background: rgb(255 253 245 / 96%);
  box-shadow: 0 15px 34px rgb(8 38 64 / 30%);
  color: #173e70;
  text-align: center;
}

.jbq-pause-card strong {
  font-size: 24px;
  font-weight: 1000;
}

.jbq-is-paused .jbq-bubble-slot,
.jbq-is-paused .jbq-bubble-path,
.jbq-is-paused .jbq-bubble,
.jbq-is-paused .jbq-play-mascot {
  animation-play-state: paused !important;
}

.jbq-is-paused .jbq-bubble::before {
  animation-play-state: paused !important;
}

/* Result screen */
.jbq-result-screen {
  align-items: stretch;
  justify-content: center;
}

.jbq-result-back {
  position: absolute;
  z-index: 8;
  top: 13px;
  left: 13px;
}

.jbq-confetti {
  position: absolute;
  z-index: 0;
  inset: 0 0 auto;
  height: 180px;
  background:
    radial-gradient(circle at 12% 30%, #f8cb37 0 4px, transparent 5px),
    radial-gradient(circle at 25% 15%, #5e8cff 0 4px, transparent 5px),
    radial-gradient(circle at 75% 22%, #f066a4 0 4px, transparent 5px),
    radial-gradient(circle at 87% 38%, #66ce77 0 4px, transparent 5px);
  opacity: .85;
  pointer-events: none;
}

.jbq-result-content {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(100%, 440px);
  min-height: 100%;
  flex-direction: column;
  align-items: stretch;
  padding: 47px 18px 20px;
  text-align: center;
}

.jbq-result-content > h1 {
  margin: 0;
  color: #f1a819;
  font-size: clamp(35px, 8vw, 54px);
  font-weight: 1000;
  line-height: 1;
  text-shadow: 0 3px 0 #fff, 0 0 2px #fff;
  -webkit-text-stroke: 1px #fff;
  paint-order: stroke fill;
}

.jbq-result-content > h1.jbq-failed-title {
  color: #e45b5e;
}

.jbq-result-name {
  max-width: 100%;
  margin: 9px 0 0;
  overflow: hidden;
  color: #153e70;
  font-size: 18px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jbq-result-score {
  margin: 2px 0 12px;
  color: #143d6e;
  font-size: 23px;
  font-weight: 1000;
}

.jbq-result-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 5px;
  overflow: hidden;
  border: 1px solid rgb(23 70 100 / 12%);
  border-radius: 16px;
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 7px 16px rgb(20 65 92 / 15%);
}

.jbq-result-stats span {
  display: grid;
  gap: 1px;
  padding: 10px;
}

.jbq-result-stats span + span {
  border-left: 1px solid #d6e0e6;
}

.jbq-result-stats small {
  color: var(--jbq-green);
  font-weight: 900;
}

.jbq-result-stats span + span small { color: var(--jbq-red); }

.jbq-result-stats strong {
  color: var(--jbq-green);
  font-size: 30px;
  line-height: 1;
}

.jbq-result-stats span + span strong { color: var(--jbq-red); }

.jbq-result-leaderboard {
  margin-top: 5px;
}

.jbq-replay-button {
  width: 100%;
  margin-top: auto;
}

.jbq-result-mascot {
  position: absolute;
  z-index: 1;
  right: 9px;
  bottom: 61px;
  width: clamp(70px, 13vw, 112px);
  opacity: .92;
  filter: drop-shadow(0 7px 6px rgb(20 66 85 / 22%));
}

@media (max-width: 600px) {
  .jbq-shell {
    height: max(600px, calc(100dvh - 20px));
    max-height: 780px;
    border-radius: 19px;
    background-image: url("../assets/images/game-background-mobile.png");
  }

  .jbq-game-header {
    padding: 7px 7px 5px;
  }

  .jbq-play-screen {
    height: max(540px, calc(100dvh - 80px));
    min-height: 540px;
    max-height: 720px;
  }

  .jbq-game-name {
    margin-bottom: 4px;
    font-size: 13px;
  }

  .jbq-hud {
    gap: 5px;
    padding: 4px 5px 4px 8px;
  }

  .jbq-progress,
  .jbq-score {
    font-size: 13px;
  }

  .jbq-hearts {
    min-width: 58px;
    gap: 1px;
  }

  .jbq-hearts img {
    width: 19px;
    height: 19px;
  }

  .jbq-hud .jbq-icon-button {
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
  }

  .jbq-hud .jbq-icon-button img {
    width: 18px;
    height: 18px;
  }

  .jbq-question-card {
    width: calc(100% - 26px);
    min-height: 70px;
    margin-bottom: 3px;
  }

  .jbq-bubble-slot {
    --jbq-bubble-size: clamp(70px, 19vw, 88px);
  }

  .jbq-bubble {
    padding: 4px;
    font-size: clamp(8px, 3vw, 10px);
  }

  .jbq-play-mascot {
    width: clamp(82px, 24vw, 115px);
  }

  .jbq-result-mascot {
    display: none;
  }
}

@media (max-height: 680px) {
  .jbq-shell {
    height: max(560px, calc(100dvh - 12px));
    min-height: 560px;
  }

  .jbq-start-content {
    padding-top: 13px;
  }

  .jbq-play-screen {
    height: max(520px, calc(100dvh - 72px));
    min-height: 520px;
  }

  .jbq-brand h1 {
    font-size: 34px;
  }

  .jbq-brand p {
    margin-top: 4px;
    font-size: 14px;
  }

  .jbq-start-mascot {
    width: 95px;
    margin-top: 1px;
  }

  .jbq-name-card {
    gap: 5px;
    padding: 9px;
  }

  .jbq-name-card input,
  .jbq-primary-button {
    min-height: 42px;
  }

  .jbq-leaderboard-card {
    padding-top: 5px;
    padding-bottom: 6px;
  }

  .jbq-leaderboard-list li {
    min-height: 18px;
    font-size: 12px;
  }

  .jbq-result-content {
    padding-top: 39px;
    padding-bottom: 12px;
  }

  .jbq-result-content > h1 {
    font-size: 34px;
  }

  .jbq-result-score {
    margin-bottom: 6px;
    font-size: 19px;
  }

  .jbq-result-stats span {
    padding: 6px;
  }

  .jbq-result-stats strong {
    font-size: 25px;
  }
}

@media (orientation: landscape) and (max-height: 560px) {
  .jbq-shell {
    height: 520px;
    min-height: 520px;
  }

  .jbq-start-content,
  .jbq-result-content {
    width: min(100%, 720px);
  }

  .jbq-start-mascot {
    position: absolute;
    right: -115px;
    bottom: 15px;
    width: 135px;
  }

  .jbq-question-card {
    position: absolute;
    top: 66px;
    left: 12px;
    width: 225px;
  }

  .jbq-arena {
    margin-left: 230px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jbq-bubble-path,
  .jbq-bubble {
    animation: none;
  }

  .jbq-bubble::before {
    animation: none;
  }

  .jbq-primary-button,
  .jbq-hearts img {
    transition: none;
  }
}

@supports (background-image: image-set(url("../assets/images/game-background-desktop.webp") type("image/webp"))) {
  .jbq-shell {
    background-image: image-set(
      url("../assets/images/game-background-desktop.webp") type("image/webp"),
      url("../assets/images/game-background-desktop.png") type("image/png")
    );
  }

  @media (max-width: 600px) {
    .jbq-shell {
      background-image: image-set(
        url("../assets/images/game-background-mobile.webp") type("image/webp"),
        url("../assets/images/game-background-mobile.png") type("image/png")
      );
    }
  }
}
