/* ===== 打地鼠 ===== */
.mole-board {
  width: 100%;
  max-width: 520px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 3vw, 20px);
  margin-bottom: 24px;
  padding: clamp(12px, 4vw, 26px);
  background: linear-gradient(180deg, #c8f2d4, #9ee0b4);
  border-radius: 28px;
  box-shadow: inset 0 -8px 0 rgba(0, 0, 0, .06), 0 14px 34px rgba(80, 160, 110, .22);
}

.hole {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 50% 50% 46% 46%;
  background: radial-gradient(ellipse at 50% 20%, #2f6b46 0%, #25553a 60%, #1b3f2b 100%);
  box-shadow: inset 0 10px 18px rgba(0, 0, 0, .45);
  cursor: pointer;
}

.mole {
  position: absolute;
  left: 8%;
  bottom: -110%;
  width: 84%;
  height: 84%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(30px, 8vw, 54px);
  border-radius: 50% 50% 40% 40%;
  background: linear-gradient(180deg, #e9b783, #c98f5a);
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .1);
  transition: bottom .16s cubic-bezier(.3, 1.6, .5, 1);
  user-select: none;
}

.hole.up .mole { bottom: 6%; }

.hole.hit .mole {
  animation: hitShrink .28s ease forwards;
}

@keyframes hitShrink {
  0% { transform: scale(1); }
  40% { transform: scale(1.18); }
  100% { transform: scale(.4); opacity: 0; }
}

/* 打中冒出的 +1 */
.plus-one {
  position: absolute;
  left: 50%;
  top: 30%;
  transform: translateX(-50%);
  font-size: 22px;
  font-weight: 900;
  color: #ff6b2c;
  text-shadow: 0 2px 6px rgba(255, 255, 255, .9);
  pointer-events: none;
  animation: floatUp .7s ease forwards;
  z-index: 5;
}

@keyframes floatUp {
  0% { opacity: 1; transform: translate(-50%, 0) scale(.8); }
  100% { opacity: 0; transform: translate(-50%, -46px) scale(1.3); }
}

/* 剩下的时间少了，变红提醒 */
.time-low { color: #e74c3c !important; animation: pulse .8s infinite; }

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

@media (max-width: 480px) {
  .mole-board { gap: 10px; padding: 12px; border-radius: 20px; }
}
