/* The feel-good finish (update 8e, spec §1.15 FIN, §7.4; ui/finish-sum.js, finish-fun.js, finish-done.js): the hero gives
   room to the odometer row kcal · Schläge · Kicks, the chip »geschätzt · 75 kg ✎« and its weight stepper (64-px
   targets), the comparison card (a button that cycles, dots under it), the sub-line, »Dein Weg heute« with the inked
   path and the »Alles geschafft« / »Details« folds. Integration 8e: ≥ 12 px between the stepper and »Speichern«, the notes
   field and »Details« (feedback.spec a11y). Motion: the rows rise after the odometer roll (transform/opacity);
   .still and reduced motion show everything at once (finish.css). Also the Einstellungen weight row (.kg-sec). */
.fin.fin8e{grid-template-rows:minmax(min(180px,24vh),1fr)}
.fin8e .fin-hero{min-height:min(180px,24vh);--fs:min(150px,18vh)}
.fin8e .fin-hero .splash{width:min(270px,32vh)}
.fin8e .mario-seal{width:min(76px,9.5vh);height:min(76px,9.5vh);translate:min(82px,10vh) min(50px,6vh)}
.fs{width:100%;display:flex;flex-direction:column;align-items:center}
.fs .fs-row{margin-top:min(18px,2.4vh)}
.fs .num{font-size:clamp(34px,11vw,44px)}
.fs-chip{position:relative;min-height:var(--tap);margin-top:8px;padding:0 18px;display:inline-flex;align-items:center;border-radius:32px;
  font:700 15px/1 var(--sans);color:var(--fg-2);background:var(--paper-2);animation:rise 400ms var(--e-ink) 1050ms both}
.fs-chip.ask::after{content:"Gewicht?";margin-left:10px;padding:5px 8px;border-radius:10px;font:800 12px/1 var(--sans);
  letter-spacing:.04em;color:var(--on-verm);background:var(--verm)}
.fs-chip:focus-visible,.fun-card:focus-visible{outline:3px solid var(--fg);outline-offset:4px}
.fs-kg{width:100%;margin-top:10px;padding:10px 12px;display:grid;grid-template-columns:var(--tap) minmax(0,1fr) var(--tap);
  align-items:center;gap:12px;border-radius:10px;background:var(--paper-2)} /* ≥ 12 px between targets (a11y GAP_PX) */
.fs-kg[hidden]{display:none}
.fs-kg-l{grid-column:1/-1;font:700 15px/1.2 var(--sans);color:var(--fg-2);text-align:left}
.fs-sign,.kg-sign{width:var(--tap);min-width:var(--tap);padding:0;font:800 30px/1 var(--num)}
.fs-kg-v{font:800 30px/1 var(--num);font-variant-numeric:tabular-nums;text-align:center;white-space:nowrap}
.fs-save{grid-column:1/-1;min-width:0;padding:0 14px;font-size:18px}
.fun-card{width:100%;margin-top:14px;padding:12px 14px;display:grid;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:6px 14px;
  border-radius:12px;background:var(--paper-hi);box-shadow:inset 0 0 0 1.5px var(--paper-3);text-align:left;
  animation:rise 400ms var(--e-ink) 1150ms both}
.fun-art{grid-row:1/3;width:72px;height:72px;display:grid;place-items:center;overflow:hidden;color:var(--fig)}
.fun-pic{display:block;width:72px;height:72px;overflow:hidden}
.fun-t{display:flex;flex-direction:column;gap:4px;min-width:0}
.fun-title{font:800 19px/1.2 var(--sans);color:var(--fg)}
.fun-note{font:600 14px/1.3 var(--sans);color:var(--fg-2)}
.fun-dots{grid-column:2;display:flex;gap:6px}
.fun-dots i{width:8px;height:8px;border-radius:50%;background:var(--paper-3)}
.fun-dots i.on{background:var(--verm)}
.fin8e .stats-sub{margin-top:12px}
.fin-done{width:100%;margin-top:min(22px,2.8vh);display:flex;flex-direction:column;gap:6px;text-align:left;
  animation:rise 400ms var(--e-ink) 1300ms both}
.fd-h{margin:0;font:800 18px/1.2 var(--sans);color:var(--fg-2)}
.fin-weg{width:100%}
.fin-weg .g-nums{display:none}
.fd-line{margin:14px 0 0;color:var(--fg-2)}
.fin-weg .g-dab{display:none} /* the whole path is inked: no »you are here« */
.fd{width:100%;margin-top:14px} /* the notes field above »Details« keeps ≥ 12 px (a11y GAP_PX) */
.fd-body{margin-top:8px;display:grid;gap:8px}
.fd-body[hidden]{display:none}
.fd-rows{margin:0;padding:0;list-style:none;display:grid;gap:10px}
.fd-row{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:start;gap:10px}
.fd-pic{width:40px;height:40px;color:var(--fig);overflow:visible}
.fd-t{display:flex;flex-direction:column;gap:2px;font:600 15px/1.35 var(--sans);color:var(--fg-2);overflow-wrap:anywhere}
.fd-t b{font:800 16px/1.2 var(--sans);color:var(--fg)}
.fd-more .t-small{text-align:left}
.kg-row{display:flex;gap:var(--gap)}
@media (max-height:640px){
  .fin.fin8e{grid-template-rows:minmax(14vh,1fr)}
  .fin8e .fin-hero{min-height:14vh;--fs:11.5vh}
  .fin8e .fin-hero .splash{width:21vh}
  .fin8e .mario-seal{width:8.5vh;height:8.5vh;translate:9vh 1.5vh}
  .fin8e .t-display{font-size:40px}
  .fun-card{grid-template-columns:52px minmax(0,1fr);padding:10px 12px}
  .fun-art,.fun-pic{width:52px;height:52px}
}
