@font-face {
  font-family: "NeuzeitSLTStd-Book";
  src:
    url("fonts/NeuzeitSLTStd-Book.woff2") format("woff2"),
    url("fonts/NeuzeitSLTStd-Book.woff") format("woff"),
    url("fonts/NeuzeitSLTStd-Book.ttf") format("truetype"),
    url("fonts/NeuzeitSLTStd-Book.eot") format("embedded-opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "NeuzeitSLTStd-Book";
  src:
    url("fonts/NeuzeitSLTStd-BookHeavy.woff2") format("woff2"),
    url("fonts/NeuzeitSLTStd-BookHeavy.woff") format("woff"),
    url("fonts/NeuzeitSLTStd-BookHeavy.ttf") format("truetype"),
    url("fonts/NeuzeitSLTStd-BookHeavy.eot") format("embedded-opentype");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg: #f9cfe0;
  --card: #ffe3f0;
  --card2: #f9c9dc;
  --text: #8b4d63;
  --muted: #a46c80;
  --accent: #ff7db4;
  --good: #ff9cc4;
  --bad: #ff6f9e;
  --gap: 12px;
  --radius: 22px;
  --cell: clamp(66px, 20vw, 125px);
  --pill-height: 46px;
  --pill-pad-y: 8px;
  --pill-pad-x: 18px;
  --combo-pill-pad-x: 8px;
  --body-bg:
    radial-gradient(80.88% 53.58% at 50% 46.42%, rgba(255, 217, 232, 0.53) 44.23%, rgba(208, 135, 158, 0.53) 100%),
    repeating-linear-gradient(
      90deg,
      rgba(249, 191, 212, 0.5) 0 100px,
      rgba(250, 206, 221, 0.62) 100px 200px,
      rgba(245, 180, 204, 0.55) 200px 300px,
      rgba(250, 206, 221, 0.62) 300px 400px,
      rgba(249, 191, 212, 0.5) 400px 500px,
      rgba(250, 206, 221, 0.62) 500px 600px
    ),
    radial-gradient(520px 400px at 12% 8%, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 70%), radial-gradient(640px 460px at 88% 6%, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0) 72%),
    linear-gradient(180deg, #fde6f0, var(--bg));
}
* {
  box-sizing: border-box;
}
html {
  overscroll-behavior: none;
}
body {
  margin: 0;
  font-family: "NeuzeitSLTStd-Book", "Trebuchet MS", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--body-bg);
  background-position: center;
  color: var(--text);
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  place-items: center center;
  /* padding: 0 16px; */
}
.app {
  padding: max(16px, env(safe-area-inset-top)) 0 max(24px, env(safe-area-inset-bottom));
  width: min(560px, 100%);
  display: grid;
  gap: 14px;
}
.gameShell {
  position: fixed;
  inset: 0;
  display: flex;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  z-index: 20;
}
.gameShell.show {
  opacity: 1;
  pointer-events: auto;
}
.gameShell__inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 0 16px;
}
.gameShell__close {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  left: max(16px, env(safe-area-inset-left));
  width: 31px;
  height: 31px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  z-index: 6;
}
.gameShell__close svg {
  display: block;
}
#timeLeft {
  display: inline-flex;
  width: 47px;
  font-variant-numeric: tabular-nums;
}
.start {
  position: absolute;
  inset: 0;
  background: var(--body-bg);
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: all;
  cursor: pointer;
  opacity: 1;
  transition: opacity 220ms ease;
}
.legalLink {
  position: fixed;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  min-width: 0;
  padding: 0;
  border: none;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  color: rgba(110, 70, 83, 0.88);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  cursor: pointer;
  z-index: 45;
  transition: none;
}
.legalLink.is-hidden {
  display: none;
}
.legalLink:hover,
.legalLink:focus-visible {
  color: rgba(110, 70, 83, 0.88);
  background: transparent;
  outline: none;
}
.legalLink:active {
  transform: translateX(-50%);
}
.logo-vr {
  position: absolute;
  top: 40px;
}
.candy-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.rules {
  position: fixed;
  inset: 0;
  background: var(--body-bg);
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
  z-index: 12;
}
.rules .gameShell__close {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  left: max(16px, env(safe-area-inset-left));
  z-index: 6;
}
.rules.show {
  opacity: 1;
  pointer-events: auto;
}
.rules__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  text-align: center;
  width: min(520px, 90%);
}
.rules__title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}
.rules__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.rules__mock {
  position: relative;
  width: min(520px, 100%);
  user-select: none;
}
.rules__mock .mock-rules {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 600ms ease;
  pointer-events: none;
}
.rules__mock .mock-rules.nb-2 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.rules__mock .mock-rules.is-active {
  opacity: 1;
}
.rules__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: space-between;
  width: min(320px, 100%);
}
.termsConsent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(255, 247, 249, 0.74) 0%, rgba(255, 236, 242, 0.88) 100%);
  border: 1px solid rgba(255, 186, 206, 0.42);
  box-shadow:
    0 12px 24px rgba(186, 72, 114, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.72) inset;
  text-align: left;
}
.termsConsent__checkbox {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin: 0;
  border-radius: 8px;
  border: 1px solid rgba(141, 76, 92, 0.44);
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.85),
    0 6px 12px rgba(186, 72, 114, 0.12);
  cursor: pointer;
  position: relative;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}
.termsConsent__checkbox:checked {
  background: linear-gradient(90deg, rgba(141, 77, 92, 0.92) 13.94%, rgba(175, 123, 136, 0.92) 100%);
  border-color: transparent;
  box-shadow:
    0 8px 16px rgba(153, 48, 86, 0.18),
    1.67px -2px 2px rgba(255, 175, 206, 0.6) inset,
    -1.67px 1.667px 1.667px rgba(255, 255, 255, 0.28) inset;
}
.termsConsent__checkbox:checked::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.termsConsent__checkbox:focus-visible,
.termsConsent__link:focus-visible,
.start__btn:focus-visible {
  outline: 2px solid rgba(141, 76, 92, 0.55);
  outline-offset: 3px;
}
.termsConsent__text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  line-height: 1.4;
  color: #7b4a59;
}
.termsConsent__label {
  cursor: pointer;
}
.termsConsent__link {
  flex: 0 0 auto;
  min-width: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: #8d4c5c;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
  letter-spacing: 0.02em;
  font-weight: 800;
  cursor: pointer;
  box-shadow: none;
}
.start__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
}
.start__subtitle {
  text-align: center;
  text-transform: uppercase;
  margin: 0 auto;
  width: 60%;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
}
.demo-grid {
  --demo-cell: 58px;
  --demo-gap: 12px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, var(--demo-cell));
  gap: var(--demo-gap);
  padding: 8px;
  border-radius: 18px;
  /* background: rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6); */
  /* overflow: hidden; */
}
.demo-drag {
  position: absolute;
  left: 8px;
  top: 8px;
  width: var(--demo-cell);
  height: var(--demo-cell);
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: radial-gradient(18px 18px at 30% 25%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 60%), linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.55));
  border: 1px solid rgba(255, 120, 160, 0.2);
  box-shadow: 0 10px 18px rgba(122, 31, 59, 0.18);
  opacity: 0.95;
  animation: demoDrag 7.8s ease-in-out infinite;
  pointer-events: none;
  z-index: 4;
}
.demo-cell {
  width: var(--demo-cell);
  height: var(--demo-cell);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(18px 18px at 30% 25%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 100%), linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.55));
  border: 1px solid rgba(255, 120, 160, 0.25);
  box-shadow:
    inset 0 10px 18px rgba(255, 255, 255, 0.6),
    inset 0 -8px 12px rgba(255, 120, 160, 0.18),
    0 10px 18px rgba(122, 31, 59, 0.18);
  animation: demoCellsFadeOut 7.8s linear infinite;
}
.demo-img {
  position: absolute;
  inset: 14%;
  width: 72%;
  height: 72%;
  object-fit: contain;
  filter: drop-shadow(0 6px 8px rgba(122, 31, 59, 0.22));
  opacity: 0;
  z-index: 1;
  animation-duration: 7.8s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.demo-hand {
  position: absolute;
  left: 50%;
  bottom: -40px;
  width: 34px;
  height: auto;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 6px 8px rgba(122, 31, 59, 0.22));
  transform: translate(-50%, -50%) rotate(-12deg);
  transform-origin: 20% 80%;
  animation: demoHand 7.8s ease-in-out infinite;
}
.demo-seq-1 {
  animation-name: demoSeq1;
}
.demo-seq-2 {
  animation-name: demoSeq2;
}
.demo-seq-3 {
  animation-name: demoSeq3;
}
.demo-cell-1 {
  opacity: 0;
  animation: demoCellsFadeOut 7.8s linear infinite;
}
.demo-cell-2 {
  position: relative;
  animation:
    demoTargetDim 7.8s ease-in-out infinite,
    demoCellsFadeOut 7.8s linear infinite;
}
.demo-drag::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 -18px 0 rgba(255, 255, 255, 0.95),
    14px -12px 0 rgba(255, 255, 255, 0.95),
    18px 0 0 rgba(255, 255, 255, 0.95),
    14px 12px 0 rgba(255, 255, 255, 0.95),
    0 18px 0 rgba(255, 255, 255, 0.95),
    -14px 12px 0 rgba(255, 255, 255, 0.95),
    -18px 0 0 rgba(255, 255, 255, 0.95),
    -14px -12px 0 rgba(255, 255, 255, 0.95),
    6px -20px 0 rgba(255, 255, 255, 0.9),
    20px -4px 0 rgba(255, 255, 255, 0.9),
    16px 16px 0 rgba(255, 255, 255, 0.9),
    -6px 20px 0 rgba(255, 255, 255, 0.9),
    -20px 4px 0 rgba(255, 255, 255, 0.9),
    -16px -16px 0 rgba(255, 255, 255, 0.9);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.2);
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.9));
  mix-blend-mode: screen;
  z-index: 5;
  animation: demoSparkles 7.8s ease-in-out infinite;
  pointer-events: none;
}
.demo-drag::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 -14px 0 rgba(255, 255, 255, 0.85),
    12px -8px 0 rgba(255, 255, 255, 0.85),
    14px 0 0 rgba(255, 255, 255, 0.85),
    12px 8px 0 rgba(255, 255, 255, 0.85),
    0 14px 0 rgba(255, 255, 255, 0.85),
    -12px 8px 0 rgba(255, 255, 255, 0.85),
    -14px 0 0 rgba(255, 255, 255, 0.85),
    -12px -8px 0 rgba(255, 255, 255, 0.85);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.2);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.85));
  mix-blend-mode: screen;
  z-index: 4;
  animation: demoSparkles 7.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes demoDrag {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.95;
  }
  6% {
    transform: translate(0, -4px) scale(1.04);
  }
  22% {
    transform: translate(calc(var(--demo-cell) + var(--demo-gap)), -6px) scale(1.04);
    opacity: 1;
  }
  28% {
    transform: translate(calc(var(--demo-cell) + var(--demo-gap)), 0) scale(1);
    opacity: 1;
  }
  33.33% {
    transform: translate(calc(var(--demo-cell) + var(--demo-gap)), 0) scale(1);
    opacity: 0;
  }
  33.34% {
    transform: translate(0, 0) scale(1);
    opacity: 0;
  }
  34% {
    transform: translate(0, 0) scale(1);
    opacity: 0.95;
  }
  39.33% {
    transform: translate(0, -4px) scale(1.04);
  }
  55.33% {
    transform: translate(calc(var(--demo-cell) + var(--demo-gap)), -6px) scale(1.04);
    opacity: 1;
  }
  61.33% {
    transform: translate(calc(var(--demo-cell) + var(--demo-gap)), 0) scale(1);
    opacity: 1;
  }
  66.66% {
    transform: translate(calc(var(--demo-cell) + var(--demo-gap)), 0) scale(1);
    opacity: 0;
  }
  66.67% {
    transform: translate(0, 0) scale(1);
    opacity: 0;
  }
  67% {
    transform: translate(0, 0) scale(1);
    opacity: 0.95;
  }
  72.66% {
    transform: translate(0, -4px) scale(1.04);
  }
  88.66% {
    transform: translate(calc(var(--demo-cell) + var(--demo-gap)), -6px) scale(1.04);
    opacity: 1;
  }
  94.66% {
    transform: translate(calc(var(--demo-cell) + var(--demo-gap)), 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(calc(var(--demo-cell) + var(--demo-gap)), 0) scale(1);
    opacity: 0;
  }
}
@keyframes demoCellsFadeOut {
  0%,
  30%,
  34%,
  63%,
  67%,
  96% {
    opacity: 1;
  }
  33.33%,
  66.66%,
  100% {
    opacity: 0;
  }
}
@keyframes demoSparkles {
  0%,
  22%,
  33.33%,
  55%,
  66.66%,
  88% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2);
  }
  24%,
  57%,
  90% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(0.8);
  }
  27%,
  60%,
  93% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.1);
  }
  31%,
  64%,
  97% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.25);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2);
  }
}
@keyframes demoHand {
  0%,
  6% {
    opacity: 0.95;
    transform: translate(-50%, -50%) rotate(-12deg);
  }
  22%,
  28% {
    opacity: 1;
    transform: translate(calc(-50% + 15px), -50%) rotate(12deg);
  }
  33.33%,
  34% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-12deg);
  }
  39.33% {
    opacity: 0.95;
    transform: translate(-50%, -50%) rotate(-8deg);
  }
  55.33%,
  61.33% {
    opacity: 1;
    transform: translate(calc(-50% + 15px), -50%) rotate(12deg);
  }
  66.66%,
  67% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-12deg);
  }
  72.66% {
    opacity: 0.95;
    transform: translate(-50%, -50%) rotate(-8deg);
  }
  88.66%,
  94.66% {
    opacity: 1;
    transform: translate(calc(-50% + 15px), -50%) rotate(12deg);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(10deg);
  }
}
@keyframes demoTargetDim {
  0%,
  20%,
  33.33%,
  53.33%,
  66.66%,
  86.66% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}
@keyframes demoSeq1 {
  0%,
  30% {
    opacity: 1;
  }
  34%,
  100% {
    opacity: 0;
  }
}
@keyframes demoSeq2 {
  0%,
  32% {
    opacity: 0;
  }
  35%,
  63% {
    opacity: 1;
  }
  67%,
  100% {
    opacity: 0;
  }
}
@keyframes demoSeq3 {
  0%,
  65% {
    opacity: 0;
  }
  68%,
  96% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.start.hide {
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}
.start__btn {
  flex: none;
  min-width: 0;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.6);
  box-shadow:
    0 8px 7.4px 0 rgba(153, 48, 86, 0.53),
    1.67px -2px 2px 0 rgba(255, 175, 206, 0.88) inset,
    -1.67px 1.667px 1.667px 0 rgba(255, 255, 255, 0.6) inset;
  backdrop-filter: blur(5.050000190734863px);
  color: var(--GRIS-GAME, #6e4653);
  text-align: center;
  font-family: "Neuzeit S LT Std", "NeuzeitSLTStd-Book", "Trebuchet MS", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 850;
  line-height: normal;
  letter-spacing: 0.84px;
  text-transform: uppercase;
  padding: 15px 36px 12px;
  cursor: pointer;
  transform: scale(1);
  transition: transform 300ms ease;
  will-change: transform;
}
.start__btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.start__btn:hover {
  transform: scale(1.1);
  will-change: transform;
}
.start__btn[disabled]:hover {
  transform: none;
}
.start__btn--ghost {
  background: rgba(255, 255, 255, 0.6);
  color: var(--GRIS-GAME, #6e4653);
  border: 1px solid rgba(255, 255, 255, 0.8);
}
header {
  padding-left: 0;
}
header,
.footerCard {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0)), linear-gradient(180deg, var(--card), var(--card2));
  border-radius: var(--radius);
  padding: 14px;
  border: 1px solid rgba(255, 120, 160, 0.25);
  box-shadow: 0 12px 30px rgba(122, 31, 59, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-align: center;
}
header {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 8px 0 0; 
}
header img {
  width: min(220px, 62vw);
  height: auto;
  filter: drop-shadow(0 8px 14px rgba(255, 140, 175, 0.45));
}
.footerCard {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: visible;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}
.top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
h1 {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.2px;
}
.stats {
  display: flex;
  gap: 16px;
  font-size: 15px;
  color: var(--muted);
  flex-wrap: nowrap;
  justify-content: center;
  width: 100%;
}
.timerBar {
  flex: 2 1 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: var(--pill-pad-y) var(--pill-pad-x);
  min-height: var(--pill-height);
  min-width: 0;
  background: rgba(255, 205, 222, 0.6);
  border-radius: 999px;
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.8),
    0 8px 16px rgba(196, 27, 88, 0.18);
  backdrop-filter: blur(5.949999809265137px);
  -webkit-backdrop-filter: blur(5.949999809265137px);
}
.timerBar__icon {
  font-size: 20px;
  color: #8b3f5b;
  display: flex;
  justify-content: center;
  align-items: center;
}
.timerBar__hand {
  transform-origin: 12px 13px;
  animation: timer-hand-spin 3s linear infinite;
}
.timerBar__track {
  position: relative;
  flex: 1;
  height: 12px;
  border-radius: 76px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.95);
  
  backdrop-filter: blur(2.6500000953674316px);
  -webkit-backdrop-filter: blur(2.6500000953674316px);
  overflow: hidden;
}
.timerBar__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(204, 48, 95, 0.72) 13.94%, rgba(255, 124, 175, 0.72) 100%);
  box-shadow:
    1.67px -2px 2px 0 rgba(255, 175, 206, 0.88) inset,
    -1.67px 1.667px 1.667px 0 rgba(255, 255, 255, 0.6) inset,
    0 8px 7.4px 0 rgba(153, 48, 86, 0.18);
  border-radius: 0 999px 999px 0;
  transition: width 120ms linear;
}
.timerBar.is-warning {
  animation: pulse 800ms ease-in-out infinite;
}
@keyframes timer-hand-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.goalBar {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.goalBar__trackWrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.goalBar__track {
  position: relative;
  width: min(360px, 72vw);
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 160, 190, 0.5);
  overflow: hidden;
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.6),
    0 6px 14px rgba(255, 148, 185, 0.35);
}
.goalBar__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff86b5, #ffd0a3);
  border-radius: 999px;
  transition: width 220ms ease;
}
.goalBar__gift {
  font-size: 18px;
  transform: scale(1.5);
  display: none;
}
.goalBar__label {
  display: none;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.pill {
  flex: 1 1 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 24px;
  padding: var(--pill-pad-y) var(--pill-pad-x);
  max-height: var(--pill-height);
  line-height: 1;
  min-width: 0;
  background: rgba(255, 205, 222, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  white-space: nowrap;
  color: #8b3f5b;
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.8),
    0 8px 16px rgba(196, 27, 88, 0.18);
  backdrop-filter: blur(5.949999809265137px);
  -webkit-backdrop-filter: blur(5.949999809265137px);
  border-bottom-color: transparent;
  border-left-color: transparent;
}
.pill.score {
  position: relative;
  overflow: hidden;
}
.pillText {
  position: relative;
  z-index: 1;
}
#score {
  display: inline-flex;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  vertical-align: sub;
}
.scorePulse {
  animation: pulse 800ms ease-in-out;
}
.scoreGain {
  animation:
    pulse 800ms ease-in-out,
    scoreGainBg 800ms ease-in-out;
}
.scorePenalty {
  animation: scorePenalty 260ms ease-out;
}
@keyframes scorePenalty {
  0% {
    background: rgba(255, 205, 222, 0.6);
    box-shadow:
      inset 0 2px 4px rgba(255, 255, 255, 0.8),
      0 8px 16px rgba(196, 27, 88, 0.18);
  }
  40% {
    background: rgba(198, 98, 113, 0.55);
    box-shadow:
      inset 0 2px 4px rgba(255, 255, 255, 0.65),
      0 10px 18px rgba(195, 93, 108, 0.35);
  }
  100% {
    background: rgba(255, 205, 222, 0.6);
    box-shadow:
      inset 0 2px 4px rgba(255, 255, 255, 0.8),
      0 8px 16px rgba(196, 27, 88, 0.18);
  }
}
@keyframes scoreGainBg {
  0% {
    background: rgba(255, 205, 222, 0.6);
  }
  50% {
    background: rgba(255, 255, 255, 0.65);
  }
  100% {
    background: rgba(255, 205, 222, 0.6);
  }
}

/* .hintTxt {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
} */

.boardWrap {
  position: relative;
  background: transparent;
  border-radius: calc(var(--radius) + 6px);
  padding: 10px;
  border: none;
  box-shadow: none;
  /* overflow: hidden; */
  /* min-height: calc((var(--cell) * 4) + (var(--gap) * 3) + 28px); */
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, var(--cell));
  grid-template-rows: repeat(4, var(--cell));
  gap: var(--gap);
  justify-content: center;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.cell {
  width: var(--cell);
  height: var(--cell);
  cursor: grab;
  border-radius: 19px;
  display: grid;
  place-items: center;
  font-size: 34px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-left-color: rgba(255, 255, 255, 0);
  border-bottom-color: rgba(255, 255, 255, 0);
  box-shadow:
    -1.67px 1.667px 1.667px 0 rgba(255, 255, 255, 0.6) inset,
    1.67px -2px 2px 0 rgba(255, 175, 206, 0.88) inset,
    -8px 8px 9.7px 0 rgba(196, 27, 88, 0.24);
  backdrop-filter: blur(5.949999809265137px);
  -webkit-backdrop-filter: blur(5.949999809265137px);
  position: relative;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 120ms ease,
    box-shadow 120ms ease,
    opacity 180ms ease,
    filter 120ms ease;
  overflow: hidden;
}
.cell.reveal {
  opacity: 0;
  transform: scale(0.96);
  box-shadow: none;
}
.cell.reveal.is-visible {
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 240ms ease,
    transform 240ms ease;
  box-shadow:
    -1.67px 1.667px 1.667px 0 rgba(255, 255, 255, 0.6) inset,
    1.67px -2px 2px 0 rgba(255, 175, 206, 0.88) inset,
    -8px 8px 9.7px 0 rgba(196, 27, 88, 0.24);
}
.cell.reveal .pieceImg {
  opacity: 0;
}
.cell.reveal.is-visible .pieceImg {
  opacity: 1;
  transition: opacity 240ms ease;
}
.pieceImg {
  width: 70%;
  height: 70%;
  object-fit: contain;
  pointer-events: none;
  filter: none;
  display: block;
}
.pieceImg--small {
  width: 30px;
  height: 30px;
}
.cell.empty {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.2));
  border-style: dashed;
  opacity: 0.55;
  filter: saturate(0.85);
}
.cell.locked {
  pointer-events: none;
  opacity: 0.45;
  cursor: default;
}
.grid.is-priming .cell,
.grid.is-priming .cell.locked {
  opacity: 0.5;
}
.cell.dragSource {
  opacity: 0;
}
.grid.is-dragging,
.grid.is-dragging .cell {
  cursor: grabbing;
}
.cell.dropTarget {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow:
    -1.67px 1.667px 1.667px 0 rgba(255, 255, 255, 0.7) inset,
    1.67px -2px 2px 0 rgba(255, 175, 206, 0.75) inset,
    -8px 8px 9.7px 0 rgba(196, 27, 88, 0.18);
  transform: scale(0.9);
}
.cell.comboOk {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow:
    -1.67px 1.667px 1.667px 0 rgba(255, 255, 255, 0.7) inset,
    1.67px -2px 2px 0 rgba(255, 175, 206, 0.75) inset,
    -8px 8px 9.7px 0 rgba(196, 27, 88, 0.18);
  transform: scale(0.9);
}
.cell.notAllowed {
  border-color: rgba(255, 92, 122, 0.55);
}

/* Hint pulse (inactivity) */
.cell.pulse {
  animation: pulse 800ms ease-in-out infinite;
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow:
    -1.67px 1.667px 1.667px 0 rgba(255, 255, 255, 0.7) inset,
    1.67px -2px 2px 0 rgba(255, 175, 206, 0.75) inset,
    -8px 8px 9.7px 0 rgba(196, 27, 88, 0.18);
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

/* Shake invalid */
.cell.shake {
  animation: shake 280ms ease;
  border-color: rgba(255, 92, 122, 0.55);
}
@keyframes shake {
  0% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-6px);
  }
  40% {
    transform: translateX(6px);
  }
  60% {
    transform: translateX(-4px);
  }
  80% {
    transform: translateX(4px);
  }
  100% {
    transform: translateX(0);
  }
}

/* Overlay "Combo ..." + Game Over */
.overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.98);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}
.overlay.show {
  opacity: 1;
  transform: scale(1.5);
}

.overlayText {
  position: relative;
  isolation: isolate;
  padding: 16px 40px 10px;
  border-radius: 16px;
  font-weight: 800;
  letter-spacing: 0.6px;
  font-size: 15px;
  color: #6a3347;
  text-transform: uppercase;
  animation: comboPop 380ms ease;
  text-align: center;
  max-width: 92%;
  overflow: hidden;
}
.overlayText::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 247, 249, 0.3) 0%, #fbf1f4 50%, rgba(255, 237, 242, 0.3) 100%);
  filter: drop-shadow(0 2px 4px rgba(101, 32, 57, 0.11)) blur(1.25px);
  backdrop-filter: blur(3.1500000953674316px);
  z-index: -1;
}
.overlay--countdown {
  opacity: 1;
  transform: scale(1);
  z-index: 5;
}
.overlay--countdown .overlayText {
  min-width: 88px;
  padding: 22px 28px 16px;
  font-size: 44px;
  line-height: 1;
  color: #8d4c5c;
  animation: countdownPop 700ms ease;
}
@keyframes comboPop {
  0% {
    transform: translateY(10px) scale(0.92);
    opacity: 0;
  }
  60% {
    transform: translateY(-2px) scale(1.04);
    opacity: 1;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}
@keyframes countdownPop {
  0% {
    transform: scale(0.7);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.overlayGame {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--body-bg);
  background-position: center;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
  z-index: 60;
}
.overlayGame.show {
  opacity: 1;
  pointer-events: auto;
}
.gameOverPanel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 22px 16px 28px;
  width: min(420px, 92%);
}
.gameOverVrLogo {
  width: 171px;
  max-width: 70%;
  height: auto;
  object-fit: contain;
  position: absolute;
  top: 40px;
}
.gameOverLogo {
  width: 210px;
  max-width: 86%;
  margin-bottom: 20px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 12px rgba(255, 110, 150, 0.35));
}
.gameCard {
  width: 100%;
  background: linear-gradient(90deg, rgba(255, 247, 249, 0.7) 0%, #fbf1f4 50%, rgba(255, 237, 242, 0.7) 100%);
  border: 1px solid rgba(255, 186, 206, 0.55);
  border-radius: 20px;
  padding: 30px 18px 40px;
  text-align: center;
  box-shadow:
    0 18px 30px rgba(186, 72, 114, 0.2),
    0 2px 0 rgba(255, 255, 255, 0.8) inset;
}
.gameTitle {
  font-size: 24px;
  font-weight: 800;
  margin: 2px 0 4px;
  letter-spacing: 0.08rem;
  color: #8a4e63;
}
.gameScore {
  font-size: 17px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #9a6a7b;
  margin-bottom: 12px;
}
.gameScore span {
  font-weight: 800;
  color: #7e4259;
  margin-left: 6px;
}
.gameMeta {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 14px;
}
.gameStats {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.scoreForm {
  display: grid;
  gap: 8px;
  margin: 6px 0 12px;
}
.scoreLabel {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #a07080;
  padding-left: 10px;
  text-align-last: left;
}
.scoreInput {
  height: 40px;
  border-radius: 12px;
  border: 2px solid rgba(253, 114, 143, 0.22);
  padding: 0 12px;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
}
.scoreInput:focus {
  outline: none;
  border-color: rgba(253, 114, 143, 0.55);
  box-shadow: 0 0 0 3px rgba(253, 114, 143, 0.12);
}
.scoreBtn {
  margin-top: 15px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: var(--Framboise-gradient, linear-gradient(90deg, rgb(141 77 92) 13.94%, rgb(175 123 136) 100%));
  box-shadow: 0 2px 6px 0 rgba(153, 48, 86, 0.28),
   1.67px -2px 2px 0 rgba(255, 175, 206, 0.88) inset,
   -1.67px 1.667px 1.667px 0 rgba(255, 255, 255, 0.6) inset;
  backdrop-filter: blur(5.050000190734863px);
  color: #fff;
  text-align: center;
  font-family: "Neuzeit S LT Std", "NeuzeitSLTStd-Book", "Trebuchet MS", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 12px 20px 9px;
  cursor: pointer;
  transition:
    background 220ms ease,
    color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}
.scoreBtn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}
.scoreStatus {
  font-size: 13px;
  min-height: 18px;
  color: var(--muted);
  display: none;
}
.contestNotice {
  margin: 2px 0 6px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 245, 248, 0.92);
  border: 1px solid rgba(184, 107, 131, 0.18);
  color: #7b4a59;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}
.contestNotice a {
  color: #8d4c5c;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.turnstileWrap {
  display: none;
}
.gameBtnRow {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.gameBtn {
  border-radius: 999px;
  border: 1.5px solid rgba(141, 76, 92, 0.7);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  color: #8d4c5c;
  text-align: center;
  font-family: "Neuzeit S LT Std", "NeuzeitSLTStd-Book", "Trebuchet MS", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 13px 20px 10px;
  cursor: pointer;
  min-width: 140px;
  transition:
    background 220ms ease,
    color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}
/* .scoreBtn:hover,
.scoreBtn:focus-visible,
.gameBtn:hover,
.gameBtn:focus-visible {
  border-color: transparent;
  color: #fff;
  background: var(
    --Framboise-gradient,
    linear-gradient(90deg, rgba(204, 48, 95, 0.52) 13.94%, rgba(255, 124, 175, 0.52) 100%)
  );
  box-shadow:
    0 2px 6px 0 rgba(153, 48, 86, 0.28),
    1.67px -2px 2px 0 rgba(255, 175, 206, 0.88) inset,
    -1.67px 1.667px 1.667px 0 rgba(255, 255, 255, 0.6) inset;
  backdrop-filter: blur(5.050000190734863px);
} */
.scoreBtn:hover,
.scoreBtn:focus-visible,
.gameBtn:hover,
.gameBtn:focus-visible {
  border-color: transparent;
  color: #fff;
  background: var(--Framboise-gradient, linear-gradient(90deg, rgb(141 77 92) 13.94%, rgb(175 123 136) 100%));
  box-shadow: 0 2px 6px 0 rgba(153, 48, 86, 0.28),
   1.67px -2px 2px 0 rgba(255, 175, 206, 0.88) inset,
   -1.67px 1.667px 1.667px 0 rgba(255, 255, 255, 0.6) inset;
  backdrop-filter: blur(5.050000190734863px);
}
.leaderboardModal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 50;
}
.leaderboardModal.show {
  display: flex;
  justify-content: center;
  align-items: center;
}
.leaderboardBackdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 30%, rgba(255, 215, 232, 0.55), rgba(255, 215, 232, 0) 70%),
    rgba(64, 24, 36, 0.42);
  backdrop-filter: blur(4px);
}
.leaderboardCard {
  position: relative;
  max-width: 520px;
  max-height: 80vh;
  height: fit-content;
  width: min(520px, 92%);
  margin: 8vh auto 0;
  background: linear-gradient(90deg, rgba(255, 247, 249, 0.82) 0%, #fbf1f4 50%, rgba(255, 237, 242, 0.82) 100%);
  border-radius: 20px;
  padding: 18px;
  box-shadow:
    0 18px 30px rgba(186, 72, 114, 0.2),
    0 2px 0 rgba(255, 255, 255, 0.8) inset;
  display: flex;
  flex-direction: column;
}
.leaderboardHeader {
  position: relative;
  margin-bottom: 10px;
}
.leaderboardHeader h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.06rem;
  color: #8a4e63;
  text-transform: uppercase;
}
.leaderboardClose {
  position: absolute;
  right: 0;
  top: 0;
  border: 1px solid rgba(141, 76, 92, 0.5);
  background: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  cursor: pointer;
  min-width: 0;
  padding: 6px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: #8d4c5c;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}
.leaderboardClose:hover,
.leaderboardClose:focus-visible {
  border-color: transparent;
  color: #fff;
  background: var(--Framboise-gradient, linear-gradient(90deg, rgb(141 77 92) 13.94%, rgb(175 123 136) 100%));
}
.leaderboardList {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: grid;
  gap: 6px;
  overflow-y: auto;
  max-height: 52vh;
  padding-right: 4px;
}
.leaderboardItem {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(255, 244, 248, 0.9) 0%, rgba(255, 233, 242, 0.85) 100%);
  border: 1px solid rgba(255, 186, 206, 0.35);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}
.leaderboardItem:nth-child(1) {
  background: linear-gradient(90deg, rgba(255, 242, 191, 0.9) 0%, rgba(255, 229, 156, 0.7) 100%);
  border-color: rgba(255, 208, 117, 0.6);
}
.leaderboardItem.isMe {
  background: linear-gradient(90deg, rgba(255, 221, 236, 0.95) 0%, rgba(255, 200, 226, 0.85) 100%);
  border: 2px solid rgba(141, 76, 92, 0.5);
  font-weight: 800;
}
.leaderboardMe {
  padding: 10px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(255, 247, 249, 0.82) 0%, rgba(255, 236, 244, 0.82) 100%);
  border: 1px solid rgba(255, 186, 206, 0.45);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
  font-size: 14px;
}
.contestCard {
  gap: 14px;
}
.termsCard {
  gap: 14px;
}
.termsCard__body {
  overflow-y: auto;
  max-height: min(52vh, 420px);
  padding-right: 6px;
  display: grid;
  gap: 12px;
}
.termsCard__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #7b4a59;
}
.contestModalText {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #7b4a59;
}
.contestModalActions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}
.contestModalActions .gameBtn,
.contestModalActions .scoreBtn {
  flex: 0 0 auto;
  width: 100%;
}
.contestCta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* Match particles */
.matchCanvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Ghost drag */
.ghost {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--cell);
  height: var(--cell);
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 34px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    -1.67px 1.667px 1.667px 0 rgba(255, 255, 255, 0.6) inset,
    1.67px -2px 2px 0 rgba(255, 175, 206, 0.88) inset,
    -8px 8px 9.7px 0 rgba(196, 27, 88, 0.24);
  transform: translate(-9999px, -9999px);
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
}

button {
  font-family: inherit;
  flex: 1;
  min-width: 120px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 120ms ease,
    background 120ms ease;
  touch-action: manipulation;
}
button:active {
  transform: scale(0.98);
}

.comboList {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 10px 0 0;
  width: 100%;
  font-weight: 800;
}
.comboRow {
  display: grid;
  justify-items: center;
  gap: 6px;
  font-size: 14px;
  line-height: 1;
  opacity: 0.55;
  min-width: 0;
  width: 100%;
  position: relative;
}
.comboRow.isAvailable {
  opacity: 1;
}
.comboRow.flashInfo {
  opacity: 1;
}
.comboRow.flashInfo .comboPill {
  background: rgba(255, 255, 255, 0.5);
  animation: pulse 800ms ease-in-out infinite;
}
.comboRow.flashInfo .comboLabel {
  color: var(--text);
}
.comboLabel {
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 12px;
  color: var(--muted);
}
.comboPill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 8px;
  padding: var(--pill-pad-y) var(--combo-pill-pad-x);
  min-height: var(--pill-height);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-left-color: rgba(255, 255, 255, 0);
  border-bottom-color: rgba(255, 255, 255, 0);
  box-shadow:
    -1.67px 1.667px 1.667px 0 rgba(255, 255, 255, 0.6) inset,
    1.67px -2px 2px 0 rgba(255, 175, 206, 0.88) inset,
    -8px 8px 9.7px 0 rgba(196, 27, 88, 0.24);
  backdrop-filter: blur(5.949999809265137px);
  -webkit-backdrop-filter: blur(5.949999809265137px);
  min-width: 120px;
  transition:
    background 180ms ease,
    box-shadow 180ms ease;
}
.comboPair {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
}
.comboPlus {
  font-weight: 800;
  color: var(--muted);
}
.comboCount {
  display: block;
  min-width: 18px;
  text-align: center;
  font-weight: 900;
  color: #8b3f5b;
  font-size: 20px;
  padding-top: 5px;
}
.comboInfo {
  position: absolute;
  left: 50%;
  top: -18px;
  transform: translate(-50%, 6px);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #fd728f;
  /* background: rgba(0, 0, 0, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.2); */
  /* box-shadow: 0 10px 18px rgba(0, 0, 0, 0.25); */
  /* text-shadow: 0 2px 0 rgba(0, 0, 0, 0.6); */
  opacity: 0;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  pointer-events: none;
  white-space: nowrap;
  z-index: 1;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  color: var(--text);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  max-width: min(520px, 92vw);
  text-align: center;
  z-index: 10000;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(-6px);
}

@media (min-width: 600px) {
  h1 {
    font-size: 20px;
  }
  .cell,
  .ghost {
    font-size: 56px;
  }
}

@media (max-width: 600px) {
  :root {
    --pill-height: 36px;
    --pill-pad-y: 6px;
    --pill-pad-x: 12px;
    --combo-pill-pad-x: 9px;
  }
  .app {
    padding: 0;
    gap: 10px;
  }
  header,
  .footerCard {
    padding: 10px 0;
  }
  header {
    padding-bottom: 0;
  }
  .top {
    align-items: center;
    justify-content: center;
    gap: 0;
    padding-bottom: 10px;
  }
  .top > img {
    width: 110px;
  }
  .gameShell__inner {
    padding: 0 16px;
  }
  .boardWrap {
    padding: 0;
    overflow: inherit;
  }
  .comboList {
    gap: 8px;
  }
  .overlay.show {
    transform: scale(1.5);
  }
  .overlayText {
    padding: 16px 40px 10px;
    font-size: 15px;
  }
  .comboRow {
    min-width: inherit;
  }
  .comboPill {
    min-width: inherit;
    gap: 5px;
  }
  .comboPair {
    gap: 2px;
  }
  .comboInfo {
    font-size: 12px;
  }
  .stats {
    flex-wrap: nowrap;
  }
  .pill,
  .timerBar {
    min-width: 0;
  }
  .timerBar {
    flex: 2 1 0;
  }
  .pill {
    flex: 1 1 0;
  }
  .pillText {
    font-size: 18px;
  }
  .gameOverVrLogo {
    width: 110px;
    top: 15px;
  }
  .legalLink {
    bottom: max(14px, env(safe-area-inset-bottom));
    font-size: 10px;
  }
  .termsConsent {
    align-items: flex-start;
    padding: 12px 14px;
  }
  .termsConsent__text {
    font-size: 13px;
  }
  .termsCard {
    width: min(520px, 94%);
  }
}

@media (max-width: 360px) {
  :root {
    --gap: 10px;
    --pill-height: 32px;
    --pill-pad-y: 5px;
    --pill-pad-x: 10px;
    --combo-pill-pad-x: 8px;
  }
  .app {
    gap: 10px;
  }
  header img {
    width: min(200px, 64vw);
  }
  .boardWrap {
    padding: 6px;
    min-height: calc((var(--cell) * 4) + (var(--gap) * 3) + 20px);
  }
  .stats {
    gap: 10px;
    flex-wrap: nowrap;
  }
  .timerBar,
  .pill {
    min-width: 0;
  }
  .timerBar {
    flex: 2 1 0;
  }
  .pill {
    flex: 1 1 0;
  }
  .timerBar__icon {
    font-size: 16px;
  }
  .pill {
    font-size: 20px;
  }
  .rules__actions {
    width: 100%;
  }
  .rules__actions .start__btn {
    width: 100%;
  }
}
