body { user-select: none; }
h1 { color: #8bc34a; }

.field {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
  width: min(380px, 92vw);
}

.hole {
  aspect-ratio: 1;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}
.hole-bg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 55%;
  background: #3e2723;
  border-radius: 50%;
  box-shadow: inset 0 10px 20px #00000066;
}
.mole {
  position: absolute;
  bottom: 18%;
  left: 50%;
  transform: translateX(-50%) translateY(110%);
  font-size: clamp(2.2rem, 7vw, 3rem);
  transition: transform 0.12s ease;
  pointer-events: none;
  line-height: 1;
}
.hole.up .mole { transform: translateX(-50%) translateY(0%); }
.hole.whacked .mole { transform: translateX(-50%) translateY(-10%) rotate(20deg); filter: brightness(2); }

.hit-fx {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.2rem;
  color: #ffd600;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
}
.hole.whacked .hit-fx { animation: pop 0.4s ease forwards; }
@keyframes pop {
  0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(-40px); }
}

.progress {
  width: min(380px, 92vw);
  height: 10px;
  background: #ffffff14;
  border-radius: 10px;
  margin-bottom: 18px;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #8bc34a, #cddc39);
  border-radius: 10px;
  transition: width 0.1s;
}

button { background: #8bc34a; color: #000; }
button:hover { background: #aed581; }

.full-overlay .obox { border: 1px solid #8bc34a; }
.full-overlay .obox h2 { color: #8bc34a; }
.full-overlay .obox button { background: #8bc34a; }
