.aq-age-exact {
  margin-top: 14px;
  padding: 14px;
  text-align: left;
  background: #f2fffa;
  border: 1px solid #b9dec9;
  border-radius: 12px;
}

.aq-age-exact label {
  display: block;
  margin-bottom: 7px;
  color: #315047;
  font-size: 13px;
  font-weight: 800;
}

.aq-age-exact input {
  width: 100%;
  min-height: 52px;
  padding: 10px 13px;
  color: #15251f;
  background: #fff;
  border: 1.5px solid #9fc9b2;
  border-radius: 9px;
  font-size: 17px;
  font-weight: 700;
}

.aq-age-exact input:focus {
  outline: 3px solid rgba(25, 155, 98, 0.28);
  border-color: #199b62;
}

.aq-scratch {
  position: relative;
  text-align: center;
  animation: aq-rise-in 0.38s ease both;
}

.aq-scratch-lead {
  max-width: 580px;
  margin: 12px auto 22px;
  color: #5f6f68;
  font-size: 16px;
  line-height: 1.5;
}

.aq-scratch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
  margin: 0 auto;
}

.aq-scratch-card {
  position: relative;
  isolation: isolate;
  min-width: 0;
  aspect-ratio: 1 / 1.02;
  overflow: hidden;
  padding: 0;
  background: #e8f7ef;
  border: 3px solid #59d98d;
  border-radius: 13px;
  box-shadow: 0 5px 13px rgba(4, 49, 38, 0.13);
  cursor: crosshair;
  touch-action: none;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.aq-scratch-card:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 9px 20px rgba(4, 49, 38, 0.18);
}

.aq-scratch-card:focus-visible {
  outline: 3px solid rgba(25, 155, 98, 0.42);
  outline-offset: 4px;
}

.aq-scratch-card:disabled {
  cursor: default;
}

.aq-scratch-card.aq-scratch-selected {
  transform: scale(1.035);
  border-color: #199b62;
  box-shadow: 0 0 0 5px rgba(25, 155, 98, 0.15), 0 10px 24px rgba(4, 49, 38, 0.2);
}

.aq-scratch-card.aq-scratch-muted {
  opacity: 0.45;
  filter: grayscale(0.6);
}

.aq-scratch-underlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px;
  color: #043126;
  background: radial-gradient(circle at 50% 35%, #fafffc 0%, #dff7ec 72%);
}

.aq-scratch-underlay img {
  display: block;
  width: auto;
  height: min(69%, 104px);
  object-fit: contain;
}

.aq-scratch-underlay strong {
  font-size: clamp(10px, 1.6vw, 13px);
  line-height: 1;
}

.aq-scratch-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.aq-scratch-canvas.aq-scratched {
  opacity: 0;
  transform: scale(1.08) rotate(2deg);
  pointer-events: none;
}

.aq-scratch-help {
  margin: 14px 0 0;
  color: #5f6f68;
  font-size: 13px;
  font-weight: 700;
}

.aq-rewards {
  position: relative;
  z-index: 2;
  margin-top: 26px;
  padding-top: 7px;
  animation: aq-reward-pop 0.42s ease-out both;
}

.aq-rewards h3 {
  margin: 19px 0 17px;
  color: #043126;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(22px, 4vw, 30px);
  line-height: 1.15;
}

.aq-reward-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.aq-reward-card {
  display: flex;
  min-height: 122px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 10px;
  color: #043126;
  background: linear-gradient(180deg, #effdf6, #dff7ec);
  border: 2px solid #59d98d;
  border-radius: 12px;
  box-shadow: 0 4px 11px rgba(4, 49, 38, 0.09);
}

.aq-reward-card span {
  font-size: 28px;
  line-height: 1;
}

.aq-reward-card strong {
  font-size: 13px;
  line-height: 1.23;
}

.aq-reward-note {
  margin: 11px 0 0;
  color: #70827a;
  font-size: 12px;
  line-height: 1.4;
}

.aq-confetti {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.aq-confetti span {
  position: absolute;
  top: -12px;
  left: var(--aq-x);
  width: 7px;
  height: 13px;
  border-radius: 2px;
  animation: aq-confetti-fall 1.8s var(--aq-delay) ease-out both;
}

@keyframes aq-reward-pop {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes aq-confetti-fall {
  0% { opacity: 0; transform: translate3d(0, -10px, 0) rotate(0); }
  12% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(20px, 540px, 0) rotate(var(--aq-rotate)); }
}

@media (max-width: 540px) {
  .aq-scratch-lead {
    margin-bottom: 18px;
    font-size: 14px;
  }

  .aq-scratch-grid {
    gap: 7px;
  }

  .aq-scratch-card {
    border-width: 2px;
    border-radius: 10px;
  }

  .aq-scratch-underlay {
    padding: 5px;
  }

  .aq-reward-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .aq-reward-card {
    min-height: 74px;
    flex-direction: row;
    justify-content: flex-start;
    padding: 11px 14px;
    text-align: left;
  }

  .aq-reward-card span {
    flex: 0 0 auto;
    font-size: 25px;
  }

  .aq-reward-card strong {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aq-scratch,
  .aq-rewards,
  .aq-confetti span {
    animation: none;
  }
}
