.page-mole #presence-progress,
.page-mole .presence-mascot {
  display: none;
}

.game-card {
  position: relative;
}

.screen {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.start-emoji {
  margin: 0;
  font-size: clamp(3.5rem, 16vw, 5rem);
  line-height: 1;
  text-align: center;
}

.subtitle {
  text-align: center;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.35;
}

.play-hud {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.1rem 0;
  flex-shrink: 0;
}

.timer-text {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 11vw, 3rem);
  font-weight: 800;
  line-height: 1;
  color: var(--color-grove-deep);
  font-variant-numeric: tabular-nums;
}

.score-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
}

.mole-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  flex: 1 1 auto;
  min-height: clamp(14rem, 42vw, 18rem);
  align-content: center;
}

.mole-cell {
  position: relative;
  aspect-ratio: 1;
  min-height: 4.6rem;
  border: none;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #c8e6c9 0%, #a5d6a7 100%);
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, 0.45),
    0 4px 0 rgba(46, 125, 50, 0.22);
  cursor: pointer;
  padding: 0.35rem;
  transition: transform 0.12s ease, filter 0.12s ease;
}

.mole-cell:active {
  transform: translateY(2px);
  filter: brightness(1.03);
}

.mole-hole {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: calc(var(--radius-md) - 4px);
  background: radial-gradient(circle at 50% 35%, #8d6e63 0%, #5d4037 68%, #4e342e 100%);
  overflow: hidden;
}

.mole-emoji {
  font-size: clamp(2rem, 9vw, 2.75rem);
  line-height: 1;
  transform: translateY(110%);
  opacity: 0;
  transition:
    transform 0.16s ease-out,
    opacity 0.12s ease;
  user-select: none;
  pointer-events: none;
}

.mole-cell.is-up .mole-emoji {
  transform: translateY(0);
  opacity: 1;
}

.mole-cell.is-hit .mole-emoji {
  animation: mole-pop 0.28s ease-out;
}

@keyframes mole-pop {
  0% {
    transform: translateY(0) scale(1);
  }
  45% {
    transform: translateY(-12%) scale(1.15);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

.feedback {
  min-height: 2.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  padding: 0.4rem 0.75rem;
  flex-shrink: 0;
}

.feedback-correct {
  background: var(--color-success-bg);
  color: var(--color-success);
}

.feedback-wrong {
  background: var(--color-warn-bg);
  color: #d68910;
}

.final-score {
  text-align: center;
  font-size: clamp(1.35rem, 5vw, 1.65rem);
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--color-grove-deep);
  margin: 0;
  line-height: 1.3;
}

@media (prefers-reduced-motion: reduce) {
  .mole-emoji {
    transition: none;
  }

  .mole-cell.is-hit .mole-emoji {
    animation: none;
  }
}

@media (max-width: 390px) {
  .mole-grid {
    gap: 0.45rem;
  }

  .mole-cell {
    min-height: 4.2rem;
  }
}
