/**
 * Shared HTML5 drag-and-drop feedback (--gs-* only).
 * Opt in on drag sources and drop targets; feature CSS keeps layout only.
 *
 * Unit/card pool flows: .dnd-drop-target--hover (+ optional .dnd-drop-target--well)
 * Gear panel/figure: .dnd-drop-target--hover.dnd-drop-target--gear (+ --gear-inventory on equip inventory)
 * Forge inventory + slotted gear: feature-local hover (armory-forge-surface.css, armory-equip slot frame)
 * Production and combat keep domain-specific classes (workers, deploy grid).
 * Spec: docs/features/technical/workstation-dnd/design.md
 */

.dnd-dragging {
  opacity: 0.55;
}

.dnd-drop-target--hover {
  box-shadow: inset 0 0 0 var(--gs-stroke) rgba(140, 200, 140, 0.55);
  border-radius: var(--gs-radius-sm);
}

.dnd-drop-target--hover.dnd-drop-target--well {
  background: rgba(80, 140, 80, 0.06);
}

.dnd-drop-target--hover.dnd-drop-target--gear {
  box-shadow: none;
  outline: var(--gs-stroke) dashed rgba(180, 220, 255, 0.45);
  outline-offset: calc(var(--gs-u-h) * 0.18);
}

.dnd-drop-target--hover.dnd-drop-target--gear-inventory {
  box-shadow: none;
  outline: var(--gs-stroke) dashed rgba(255, 210, 160, 0.45);
  outline-offset: calc(var(--gs-u-h) * 0.18);
}

/* Gear inventory panels: outline only, never unit-style inset. */
.armory-equip__inventory.dnd-drop-target--hover {
  box-shadow: none;
  border-radius: var(--gs-radius-md);
}

/* Slotted gear: never outline the outer slot wrapper (frame rule handles hover). */
.armory-equip__slot.dnd-drop-target--hover {
  box-shadow: none;
}
