/* ===== APPLE CATCH ===== */
#apple-catch {
  overflow: hidden;
}

.ac-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 24px;
  background: rgba(15, 23, 42, 0.5);
  flex-shrink: 0;
}

.ac-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.ac-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ac-value {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.1;
}

.ac-lives {
  font-size: 1.3rem;
  letter-spacing: 3px;
  min-width: 80px;
  text-align: center;
}

/* falling area */
.ac-field {
  flex: 1;
  position: relative;
  overflow: hidden;
}

/* individual apple */
.ac-apple {
  position: absolute;
  top: -70px;
  font-size: 2.8rem;
  line-height: 1;
  padding: 6px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  animation: acFall linear forwards;
}

@keyframes acFall {
  from { transform: translateY(0); }
  to   { transform: translateY(110vh); }
}

/* +1 float */
.ac-plus {
  position: absolute;
  font-size: 1.3rem;
  font-weight: 800;
  color: #10b981;
  pointer-events: none;
  transform: translateX(-50%);
  animation: acFloatUp 0.6s ease-out forwards;
}

@keyframes acFloatUp {
  from { opacity: 1; transform: translateX(-50%) translateY(0); }
  to   { opacity: 0; transform: translateX(-50%) translateY(-52px); }
}

/* start / result overlay */
.ac-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10;
}

.ac-overlay-emoji {
  font-size: 4.5rem;
  filter: drop-shadow(0 4px 12px rgba(139,92,246,0.5));
}

.ac-overlay-text {
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.8;
}

.ac-best-wrap {
  font-size: 0.9rem;
  color: var(--muted);
}
