/* The tallies (shared/tally.js): thin marks the way a count is kept by hand, under "I want this" on Goods and under each
   good in the vote. The whole goal sits faint, in a grey just past the rule's, and each real want is inked over it.
   Nothing here moves but a mark: a new one drawn in once, your own drawn in or lifted as you make or take back a want.
   Your own mark is in the carried 1's colour until the hour's count includes it, then plain ink like the rest. */
.tly{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin-top:2px;font-family:var(--serif);font-variation-settings:"opsz" 16;font-size:15px;line-height:1.35;color:var(--mute)}
.tly svg,.g-tly svg{display:block;height:16px;width:auto;overflow:visible}
.tly path,.g-tly path{fill:none;stroke:var(--ink);stroke-width:1.3;stroke-linecap:round}
.tly path.to,.g-tly path.to{stroke:#C9C3B6;stroke-width:1.1}
.g-t .g-tly{grid-column:1/-1;display:block;margin-top:8px}
.g-tly svg{height:13px}
.page-head p.tly-goal,.tly-goal{font-family:var(--serif);font-variation-settings:"opsz" 16;font-size:15px;line-height:1.35;color:var(--mute);margin-top:10px}
/* your own, not yet in the hour's count: the carried 1's red (the drop's rust there, drop.css) */
.tly path,.g-tly path{transition:stroke .6s var(--ease)}
.tly path.mine,.g-tly path.mine{stroke:var(--carry,var(--rust,#B4592A))}
/* each want's room is kept before the count comes, so nothing below it moves, then the marks are let in softly */
.tly{min-height:1.35em;opacity:0;transition:opacity .45s var(--ease)}
.tly.in{opacity:1}
/* a mark that landed since this browser last looked: drawn in once, as a pen would */
.tly path.new,.g-tly path.new{stroke-dasharray:var(--len);stroke-dashoffset:var(--len)}
.drawn path.new{transition:stroke-dashoffset .38s var(--ease) calc(var(--k) * 90ms + 200ms);stroke-dashoffset:0}
@media (prefers-reduced-motion:reduce){.tly path.new,.g-tly path.new{stroke-dasharray:none;stroke-dashoffset:0;transition:none}}
/* the vote keeps each tally's room before the count comes, then lets the marks in softly */
.g-t .g-tly{min-height:13px;opacity:0;transition:opacity .45s var(--ease)}
.page-head p.tly-goal{min-height:1.35em;opacity:0;transition:opacity .45s var(--ease)}
.g-t .g-tly.in,.page-head p.tly-goal.in{opacity:1}
