/* "Reap for 20 seconds": the Soul Hunter mini-game, over everything. Needs --chalk, --chalk-2 and --om on :root. */
.reap { position: fixed; inset: 0; z-index: 30; }
.reap[hidden] { display: none; }
.reap canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; }
.reap-hud { position: absolute; top: 1rem; left: 50%; translate: -50% 0; display: flex; gap: 1.5rem; font: 700 1.5rem "Kalam", cursive; pointer-events: none; }
.reap-hud #reap-souls, .reap-hud #reap-hearts { color: #ff5a3c; }
.reap-tip { position: absolute; bottom: 1.5rem; left: 50%; translate: -50% 0; margin: 0; background: rgba(18,15,22,.75); border: 1.5px dashed var(--chalk-2); padding: .4rem .9rem; border-radius: 6px; pointer-events: none; }
.reap-tip[hidden], .reap-end[hidden] { display: none; }
.reap-end { position: absolute; left: 50%; top: 50%; translate: -50% -50%; max-width: min(92vw, 30rem); text-align: center;
  background: rgba(18,15,22,.92); border: 2px solid var(--chalk-2); border-radius: 10px; padding: 1.4rem 1.6rem; box-shadow: 6px 6px 0 rgba(0,0,0,.45); }
.reap-end h2 { margin: 0 0 .4rem; font-size: 2rem; line-height: 1.1; }
.reap-end p { color: var(--chalk-2); margin: .3rem 0 1rem; }
.reap-end .row { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.reap-end .btn { display: inline-block; background: var(--om); color: #170c08; text-decoration: none; font: 700 1.05rem "Kalam", cursive; padding: .5rem 1rem; border-radius: 6px; border: 2px solid var(--om); cursor: pointer; }
.reap-end .ghost { background: transparent; color: var(--chalk); border-color: var(--chalk-2); }
