/* Live good-deeds counter (home page). Its own file so other edits to styles.css never collide. */
.deeds-tally{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;margin:-4px auto 18px;max-width:340px;padding:12px 18px 12px;border:2.5px solid var(--navy);border-radius:24px;background:linear-gradient(115deg,#fde3ea 0%,#efe6fb 55%,#fdf3cf 100%);box-shadow:0 5px 0 rgba(31,42,90,.12);color:var(--navy);overflow:visible}
.deeds-tally__row{display:flex;align-items:center;justify-content:center;gap:8px;line-height:1}
.deeds-tally__heart{width:30px;height:28px;flex:none;filter:drop-shadow(0 2px 0 rgba(31,42,90,.12))}
.deeds-tally.bump .deeds-tally__heart{animation:dtBeat .6s ease}
.deeds-tally__num{font-family:var(--font-h);font-weight:700;font-size:44px;letter-spacing:.5px;display:inline-flex;align-items:flex-start;height:1em;line-height:1;overflow:hidden;font-variant-numeric:tabular-nums}
.odo-d{display:inline-block;height:1em;overflow:hidden;position:relative}
.odo-s{display:flex;flex-direction:column;transition:transform 1.6s cubic-bezier(.2,.9,.25,1)}
.odo-s span{display:block;height:1em;line-height:1;text-align:center}
.odo-c{display:inline-block;width:.28em;text-align:center}
.deeds-tally__label{font-family:var(--font-h);font-weight:600;font-size:17px;margin-top:4px}
.deeds-tally__sub{font-size:13.5px;font-weight:700;color:var(--ink-soft);display:flex;align-items:center;gap:6px}
.deeds-tally__live{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--mint-d);box-shadow:0 0 0 0 rgba(127,203,189,.7);animation:dtLive 2.2s infinite}
.deeds-tally__plus{position:absolute;right:16px;top:6px;font-family:var(--font-h);font-weight:700;font-size:20px;color:var(--pink-d);opacity:0;pointer-events:none}
.deeds-tally.bump .deeds-tally__plus{animation:dtPlus 1.1s ease forwards}
.deeds-tally.is-zero .deeds-tally__label{font-size:16px}
@keyframes dtBeat{0%,100%{transform:scale(1)}30%{transform:scale(1.35)}60%{transform:scale(.95)}}
@keyframes dtPlus{0%{opacity:0;transform:translateY(8px)}20%{opacity:1}100%{opacity:0;transform:translateY(-22px)}}
@keyframes dtLive{0%{box-shadow:0 0 0 0 rgba(127,203,189,.7)}70%{box-shadow:0 0 0 7px rgba(127,203,189,0)}100%{box-shadow:0 0 0 0 rgba(127,203,189,0)}}
@media (min-width:700px){.deeds-tally{max-width:400px}.deeds-tally__num{font-size:52px}}
@media (prefers-reduced-motion:reduce){.odo-s{transition:none}.deeds-tally__live,.deeds-tally.bump .deeds-tally__heart{animation:none}}

/* raffle ticket sheet (Nov 2026): name + parent phone asked once per kid, then every deed = 1 ticket */
.raffle-sheet .rf-ticket{font-size:46px;text-align:center;line-height:1;margin:2px 0 4px;animation:dtBeat 1.2s ease 1}
.raffle-sheet .hint.center{text-align:center;margin:4px 0 12px}
.raffle-sheet .field input{text-align:left;font-size:17px;font-weight:600;border:2px solid rgba(31,42,90,.25);border-radius:14px;min-height:50px;margin:0;padding:12px 14px}
.raffle-sheet .field input.is-bad{border-color:#d9486f;background:#fff5f7}
.raffle-sheet .field input:focus{border-color:var(--lilac-d);outline:none;box-shadow:0 0 0 4px rgba(179,154,217,.25)}
.rf-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.rf-opt{display:inline!important;font-weight:600;color:var(--ink-soft);font-size:12.5px}
.rf-deed{margin:0 0 12px;padding:10px 14px;border-radius:16px;background:color-mix(in srgb,var(--pink) 45%,#fff);border:2px dashed rgba(31,42,90,.25);font-size:15px}
.rf-deed span{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.5px;color:var(--navy-2)}
.raffle-sheet .form-err{margin:0 0 10px}
.raffle-sheet .btn--big{margin-top:4px}
.raffle-who{margin:-6px 0 14px;font-size:13.5px;font-weight:700;color:var(--navy-2);text-align:center}
.raffle-edit{display:inline;padding:0 4px;font-size:13.5px}
@media (max-width:360px){.rf-row{grid-template-columns:1fr;gap:0}}
