# Afterlight global economy pass

## Product reason

Afterlight needed a use beyond Clinic unlocks. It now has three product roles:

1. **Clinic growth**
   - Rooms and staff still unlock from lifetime progress.
   - These remain sideways options rather than raw power creep.

2. **Community influence**
   - Open one-shot results stake Afterlight into the global outcome.
   - This stops raw play spam from deciding a community case.
   - A profile can influence each case once.
   - Replays still save personally, but do not repeatedly push the global result.

3. **Archive case unlocks**
   - The first two cases in each category are free.
   - Deeper files remain visible, but require Afterlight to unlock.
   - Locked community history is replayable without changing the public outcome.

## Global lock rule

Cases now lock by **community influence**, not raw play count.

- Development threshold: 12, for quick testing only.
- Early public default: 50 influence.
- Monthly minimum target: 25 influence, for admin review.

A case can still be played after it locks. The theme is that the file is now history. The player is replaying what happened, not changing the public record.

## Anti-tanking behaviour

A completed open one-shot spends 1 Afterlight into the case if eligible.

Eligibility:

- case is not already locked
- run is not a campaign chapter
- player has enough Afterlight after the run gain is awarded
- player has not already influenced that case

This means a player can still replay, improve and learn, but cannot endlessly tank or farm the public outcome from one profile.

## Case unlock rule

Configured in `data/config.json`:

- `free_cases_per_pack`: 2
- `case_unlock_cost`: 8

The first two cases per category are free. The rest are deeper archive files. This creates an ongoing Afterlight sink after the Clinic is fully built.

## Player profile additions

Profiles now track:

- current Afterlight wallet
- total Afterlight earned
- Afterlight spent
- unlocked cases
- case influence history
- Clinic progress
- campaign progress

The Profile screen exists to make those systems understandable.

## Admin rhythm

Weekly:

- check active case influence totals
- feature one underplayed open case
- check if any case is near public lock
- review Afterlight gain rate from recent results

Monthly:

- lock eligible cases manually if they met monthly minimum but not the full threshold
- carry forward underplayed cases
- release a new free docket
- release or tease one paid campaign

## Copy rule

Use **influence**, not votes.

Recommended UI wording:

> Your result saved to your Ledger. 1 Afterlight was staked into this case's community outcome.

For locked cases:

> This case file is locked. You are replaying the history. Your result saves to your Ledger but no longer changes the community outcome.
