/* reinforcement.css — Reinforcement phase visual styles */

/* Eligible hull pulsing glow (same pattern as scout-eligible) */
.reinforcement-eligible {
  animation: reinforcement-hull-pulse 1.4s ease-in-out infinite;
}
@keyframes reinforcement-hull-pulse {
  0%, 100% { opacity: 0.8; filter: drop-shadow(0 0 4px color-mix(in srgb, var(--faction-a) 60%, transparent)); }
  50%      { opacity: 1;   filter: drop-shadow(0 0 8px color-mix(in srgb, var(--faction-a) 90%, transparent)); }
}

/* 9" enemy exclusion rings — dashed ring around enemies (all-around dash reads as "do not enter") */
.reinforcement-exclusion-ring {
  fill: rgba(255, 60, 60, 0.08);
  stroke: rgba(255, 60, 60, 0.55);
  stroke-width: 1.5;
  stroke-dasharray: 6 3;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}

/* Valid placement zone for Strategic Reserves — fill only (rule boundary line is separate) */
.reinforcement-valid-zone {
  fill: rgba(0, 200, 80, 0.12);
  stroke: none;
  pointer-events: none;
}

/* Dashed line on the board-facing edge of a valid zone — the rule cutoff */
.reinforcement-valid-edge {
  stroke: rgba(0, 200, 80, 0.7);
  stroke-width: 1.5;
  stroke-dasharray: 8 4;
  fill: none;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}

/* Body class scoping for phase-specific overrides */
.phase-reinforcement #zone-warning {
  background: rgba(255, 60, 60, 0.12);
  border-color: rgba(255, 60, 60, 0.3);
  color: #ff6666;
}
