-- Item scaling: geometric ilvl, legendary = +40% vs common (log-spaced rarities).
UPDATE public.runtime_config
SET payload = payload || jsonb_build_object(
    'ilvlPerLevelMultiplier', 1.10,
    'rarityMultiplierCommon', 1.00,
    'rarityMultiplierUncommon', 1.0877573,
    'rarityMultiplierRare', 1.1832160,
    'rarityMultiplierEpic', 1.2870518,
    'rarityMultiplierLegendary', 1.40
),
    updated_at = now()
WHERE id = true;
