// ─── Element Types ───────────────────────────────────────────────────────────

export type ElementCategory = 'base' | 'utility' | 'composite' | 'exotic';

export type ManaType = 'raw' | 'fire' | 'water' | 'air' | 'earth' | 'light' | 'dark' | 'death' | 'transference' | 'metal' | 'sand' | 'lightning' | 'frost' | 'blackflame' | 'radiantflames' | 'miasma' | 'shadowglass' | 'crystal' | 'stellar' | 'void' | 'soul' | 'time' | 'plasma';

export interface ElementDef {
  name: string;
  sym: string;
  color: string;
  glow: string;
  cat: ElementCategory;
  recipe?: string[];
}

export interface ElementState {
  current: number;
  max: number;
  /** Base max from prestige upgrades (elementalAttune), without discipline/equipment bonuses.
   *  If not set, falls back to max (legacy behavior for backwards compat). */
  baseMax?: number;
  unlocked: boolean;
}
