/* Hold to download: press and hold to confirm; the pill fills, then morphs into a check.
   Springs match the Hold Button motion tokens (stiffness damping). */
:root{--hold-ms:1200;--hold-release:260 14;--hold-morph:320 20;--hold-done-ms:1700}
.hold{position:relative;width:260px;height:52px;border:0;border-radius:999px;padding:0;
  background:var(--red);color:var(--white);cursor:pointer;overflow:hidden;
  font:500 12px/1 inherit;font-family:inherit;letter-spacing:.12em;text-transform:uppercase;
  box-shadow:0 18px 40px -22px rgba(0,0,0,.55);
  touch-action:none;-webkit-tap-highlight-color:transparent;outline:none;will-change:width,transform;user-select:none;-webkit-user-select:none}
.hold:focus-visible{box-shadow:0 0 0 2px #ecebe8,0 0 0 3px #0a0a0a}
.hold .hd-fill{position:absolute;left:0;top:0;bottom:0;width:0;background:#0a0a0a;border-radius:inherit}
.hold .hd-label{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:10px;white-space:nowrap;transition:opacity .2s,filter .2s;pointer-events:none}
.hold .hd-label svg{width:16px;height:16px;flex:none}
.hold .hd-label.top{color:var(--white)}
.hold.done .hd-label{opacity:0;filter:blur(4px)}
.hold.done{background:#0a0a0a}
.hold.done .hd-fill{opacity:0}
.hold .hd-check{position:absolute;left:50%;top:50%;width:24px;height:24px;margin:-12px 0 0 -12px;color:var(--white);opacity:0;pointer-events:none}
.hold .hd-check path{stroke-dasharray:24;stroke-dashoffset:24}
.hold.done .hd-check{opacity:1;transition:opacity .1s .12s}
.hold.done .hd-check path{stroke-dashoffset:0;transition:stroke-dashoffset .45s cubic-bezier(.65,0,.35,1) .16s}
.folio-meta.swap{opacity:0;transform:translateY(4px)}
.folio-meta{transition:opacity .25s,transform .4s cubic-bezier(.16,1,.3,1)}
