/* First-play coaching marks and idle hint nudge. */
.pipe-tile.is-coached {
  z-index: 5;
  animation: coach-pulse 1.3s ease-in-out infinite;
}

.coach-badge {
  position: absolute;
  left: 50%;
  bottom: 6%;
  z-index: 7;
  transform: translateX(-50%);
  padding: 0.12rem 0.55rem;
  font: 800 0.72rem/1.3 "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  color: #10202b;
  background: #ffd24a;
  border: 2px solid #10202b;
  border-radius: 999px;
  box-shadow: 0 2px 0 #10202b;
}

@keyframes coach-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 210, 74, 0.9); }
  50% { box-shadow: 0 0 0 9px rgba(255, 210, 74, 0); }
}

.button.is-nudge,
.control.is-nudge {
  animation: nudge-glow 1.2s ease-in-out infinite;
  outline: 3px solid #ffd24a;
  outline-offset: 2px;
}

@keyframes nudge-glow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@media (prefers-reduced-motion: reduce) {
  .pipe-tile.is-coached,
  .button.is-nudge,
  .control.is-nudge { animation: none; }
}
