/* Nope to the monthly bill (pricing). A bill for one more subscription drifts
   in, Pea points and says "Nope.", then jumps, snatches it up in both hands and
   tears it clean in two, then a single price tag drops and swings into place:
   $297, once.
   States: no class = the resting last beat (no script); .is-armed = the first
   frame, waiting to scroll into view; .is-play = runs the beats on their
   delays; .is-gentle = softer moves under reduced motion (it still plays). */

.anim-bill { --bill-x: 35%; --pea-x: 65%;
  /* Where the bill goes when Pea snatches it: its top edge under Pea's raised
     hands at the top of the hop (worked out from the jump pose's palms). */
  --grab-x: 31cqw; --grab-y: 6.1cqw; --grab-r: -7.7deg; --grab-s: 1.1; }
/* The gentle hop is lower, so the bill is drawn a touch smaller there (same top
   edge under the palms) and its bottom stays inside the stage. */
.anim-bill.is-gentle { --grab-x: 31.5cqw; --grab-y: 9.2cqw; --grab-r: -4.7deg; --grab-s: 1.04; }
.anim-bill .bill-frame { margin-top: 0; }
.anim-bill .bill-stage { position: relative; aspect-ratio: 2.1; container-type: inline-size; overflow: hidden; background: radial-gradient(rgba(63, 106, 43, .075) 1px, transparent 1.5px) 0 0 / 22px 22px, linear-gradient(180deg, var(--card) 0%, var(--paper) 100%); }
.anim-bill .bill-glow { position: absolute; left: 50%; bottom: -34%; width: 96%; aspect-ratio: 2.2; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(199, 222, 168, .75), rgba(199, 222, 168, 0)); pointer-events: none; }

/* ---------- The bill ---------- */
.anim-bill .bill-card { position: absolute; z-index: 2; left: calc(var(--bill-x) - 11.5cqw); top: 6.5cqw; width: 23cqw; aspect-ratio: .76; opacity: 0; filter: drop-shadow(0 1.4cqw 1.8cqw rgba(34, 56, 26, .24)); }
.anim-bill .bill-jig { position: absolute; inset: 0; transform-origin: 50% 100%; }
.anim-bill .bill-half { position: absolute; inset: 0; transform-origin: 50% 100%; }
.anim-bill .bill-half--l { clip-path: polygon(0 0, 52% 0, 47% 8%, 53% 17%, 46% 27%, 52% 37%, 47% 47%, 54% 57%, 47% 67%, 53% 77%, 46% 88%, 51% 100%, 0 100%); }
.anim-bill .bill-half--r { clip-path: polygon(51% 0, 100% 0, 100% 100%, 50% 100%, 45% 88%, 52% 77%, 46% 67%, 53% 57%, 46% 47%, 51% 37%, 45% 27%, 52% 17%, 46% 8%); }
.anim-bill .bill-paper { position: absolute; inset: 0; display: flex; flex-direction: column; gap: .75em; padding: 1.45em 1.35em; border-radius: .8em; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font: 600 1.36cqw/1.2 var(--body); text-align: left; overflow: hidden; }
.anim-bill .bill-top { display: flex; align-items: center; gap: .6em; }
.anim-bill .bill-ico { display: grid; place-items: center; width: 2.1em; height: 2.1em; border-radius: .65em; background: var(--brass-soft); color: var(--brass); }
.anim-bill .bill-ico svg { width: 1.25em; height: 1.25em; }
.anim-bill .bill-k { font-weight: 700; font-size: max(9px, .78em); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.anim-bill .bill-t { font: 800 1.6em/1.02 var(--display); letter-spacing: -.03em; color: var(--ink); }
.anim-bill .bill-amt { display: flex; align-items: center; gap: .35em; font-weight: 700; color: var(--muted); }
.anim-bill .bill-amt b { font: 800 1.3em/1 var(--display); color: var(--ink); }
.anim-bill .bill-amt i { width: 3.4em; height: .9em; border-radius: .3em; background: var(--line); }
.anim-bill .bill-amt em { font-style: normal; font-size: .9em; }
.anim-bill .bill-rows { display: grid; gap: .1em; margin-top: auto; }
.anim-bill .bill-row { display: flex; align-items: center; gap: .45em; padding: .42em 0; border-top: 1.5px dashed var(--line); font-size: max(9px, .86em); font-weight: 700; color: var(--brass); white-space: nowrap; }
.anim-bill .bill-row svg { flex: none; width: 1.15em; height: 1.15em; }
.anim-bill .bill-row i { flex: 1; height: .5em; margin-left: .4em; border-radius: .25em; background: var(--brass-soft); }
.anim-bill .bill-row:nth-child(3) { opacity: .6; }
.anim-bill .bill-row:nth-child(4) { opacity: .3; }
.anim-bill .bill-stamp { position: absolute; right: 8%; top: 47%; padding: .3em .55em .32em; border: .16em solid var(--brass); border-radius: .4em; color: var(--brass); font: 800 1.08em/1 var(--display); letter-spacing: .05em; text-transform: uppercase; rotate: -12deg; opacity: .9; }

/* Paper bits that fly off the tear */
.anim-bill .bill-bits i { position: absolute; left: 49%; width: 1.2cqw; height: .8cqw; border-radius: 2px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); opacity: 0; }
.anim-bill .bill-bits i:nth-child(1) { top: 6%; --x: -5cqw; --y: -4cqw; --r: -160deg; }
.anim-bill .bill-bits i:nth-child(2) { top: 14%; --x: 5cqw; --y: -5cqw; --r: 200deg; }
.anim-bill .bill-bits i:nth-child(3) { top: 30%; --x: -6cqw; --y: 1cqw; --r: 120deg; }
.anim-bill .bill-bits i:nth-child(4) { top: 44%; --x: 6.5cqw; --y: -1cqw; --r: -220deg; }
.anim-bill .bill-bits i:nth-child(5) { top: 62%; --x: -4cqw; --y: 5cqw; --r: 90deg; }
.anim-bill .bill-bits i:nth-child(6) { top: 78%; --x: 4.5cqw; --y: 6cqw; --r: -120deg; }

/* ---------- The price tag ---------- */
.anim-bill .bill-hang { position: absolute; z-index: 3; top: 0; left: calc(var(--bill-x) - 10.5cqw); width: 21cqw; }
.anim-bill .bill-swing { position: relative; padding-top: 7.5cqw; transform-origin: 50% 0; filter: drop-shadow(0 1.6cqw 1.8cqw rgba(34, 56, 26, .3)); }
.anim-bill .bill-swing::before { content: ""; position: absolute; z-index: 2; left: 50%; top: -8cqw; width: max(2px, .22cqw); height: calc(8cqw + 7.5cqw + 2.8cqw); transform: translateX(-50%); border-radius: 2px; background: var(--brass); }
.anim-bill .bill-tag { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; padding: 5.8cqw 1.8cqw 2.4cqw; border-radius: 0 0 1.8cqw 1.8cqw; background: linear-gradient(165deg, var(--band-2), var(--band) 70%); color: var(--band-ink); text-align: center; clip-path: polygon(25% 0, 75% 0, 100% 16%, 100% 100%, 0 100%, 0 16%); }
.anim-bill .bill-tag__hole { position: absolute; left: 50%; top: 2.8cqw; width: 2.2cqw; height: 2.2cqw; margin: -1.1cqw 0 0 -1.1cqw; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 .45cqw var(--brass-soft), inset 0 .25cqw .3cqw rgba(24, 32, 26, .35); }
.anim-bill .bill-tag__price { display: block; font: 800 7.4cqw/.9 var(--display); letter-spacing: -.05em; color: var(--band-ink); }
.anim-bill .bill-tag__price sup { position: relative; top: -.95em; margin-right: .04em; font-size: .4em; vertical-align: baseline; letter-spacing: 0; }
.anim-bill .bill-tag__once { margin-top: .5cqw; font: 800 2.8cqw/1 var(--display); letter-spacing: -.02em; color: #b6e07f; }
.anim-bill .bill-tag__good { width: 100%; margin-top: 1.5cqw; padding-top: 1.2cqw; border-top: max(1px, .14cqw) dashed rgba(185, 201, 168, .5); font: 700 1.45cqw/1.2 var(--body); color: var(--band-muted); }

/* ---------- Pea ---------- */
.anim-bill .bill-rig { position: absolute; z-index: 4; left: calc(var(--pea-x) - 18cqw); bottom: 3.4cqw; width: 36cqw; height: 36cqw; }
.anim-bill .bill-body { position: absolute; inset: 0; transform-origin: 50% 100%; }
.anim-bill .bill-pose { position: absolute; left: 50%; bottom: 0; height: 100%; opacity: 0; transform-origin: 50% 100%; filter: drop-shadow(0 1.2cqw 1.4cqw rgba(34, 56, 26, .2)); pointer-events: none; user-select: none; }
.anim-bill .bill-pose img { display: block; width: 100%; height: 100%; max-width: none; }
/* Line every pose up on the same body centre and the same ground. The older art
   carries a sliver of its old floor under the feet, so the picture is trimmed
   inside its frame (the shadow stays on the frame, so it isn't cut). */
.anim-bill .bill-pose--think { aspect-ratio: 575 / 820; translate: -47% -1.4%; }
.anim-bill .bill-pose--point { aspect-ratio: 747 / 820; translate: -59.2% 0; }
.anim-bill .bill-pose--jump { aspect-ratio: 744 / 820; translate: -50% 3.1%; }
.anim-bill .bill-pose--dust { aspect-ratio: 518 / 820; translate: -49% 3.1%; }
.anim-bill .bill-pose--wink { aspect-ratio: 674 / 820; translate: -54.5% 3.1%; }
.anim-bill .bill-pose--jump img { clip-path: inset(0 0 10% 0); }
.anim-bill .bill-pose--dust img, .anim-bill .bill-pose--wink img { clip-path: inset(0 0 5.7% 0); }
.anim-bill .bill-shadow { position: absolute; left: 50%; bottom: -1.3cqw; width: 50%; height: 3.6cqw; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(34, 56, 26, .3), rgba(34, 56, 26, 0)); }

.anim-bill .bill-say { position: absolute; z-index: 5; left: 77%; top: 4.6cqw; padding: .5em .8em .56em; border-radius: .9em; background: #fff; color: var(--band); font: 800 3cqw/1 var(--display); letter-spacing: -.02em; white-space: nowrap; box-shadow: 0 1.4cqw 3cqw -1.2cqw rgba(34, 56, 26, .5), inset 0 0 0 1px var(--line); opacity: 0; transform-origin: 12% 100%; }
.anim-bill .bill-say::before { content: ""; position: absolute; left: 14%; bottom: -.36em; width: .7em; height: .7em; background: #fff; border-radius: 0 0 .15em 0; box-shadow: inset -1px -1px 0 var(--line); transform: skewX(24deg) rotate(45deg); }

/* ---------- Caption and control ---------- */
.anim-bill .bill-cap { display: flex; align-items: center; justify-content: center; min-height: 2.9em; padding: 6px 22px 20px; border-top: 1px solid var(--line); background: var(--paper); font: 800 clamp(19px, 2.3vw, 27px)/1.12 var(--display); letter-spacing: -.02em; color: var(--band); text-align: center; text-wrap: balance; }
.anim-bill .bill-cap em { font-style: normal; color: var(--pea); white-space: nowrap; }
.anim-bill .bill-cap.is-new { animation: bill-rise .55s cubic-bezier(.2, .9, .3, 1.15) both; }
/* The control row (sound button, Watch again) shows from the first frame; only
   Watch again waits for the end, and keeps its space so nothing jumps. */
.anim-bill .bill-ctl { display: none; }
.anim-bill.is-armed .bill-ctl { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
/* the sound button stays centred; Watch again appears beside it */
.anim-bill .bill-ctl .snd-btn { grid-column: 2; }
.anim-bill .bill-ctl [data-bill-again] { grid-column: 3; justify-self: start; }
.anim-bill .bill-ctl > :only-child { grid-column: 2; }
.anim-bill .bill-ctl button { white-space: nowrap; }
.anim-bill.is-armed:not(.has-played) [data-bill-again] { visibility: hidden; }
.anim-bill.is-armed.has-played [data-bill-again] { animation: bill-rise .4s ease both; }

/* ---------- Resting states ---------- */
.anim-bill .bill-pose--wink { opacity: 1; }
.anim-bill.is-armed .bill-pose--wink { opacity: 0; }
.anim-bill.is-armed .bill-pose--think { opacity: 1; }
.anim-bill.is-armed .bill-hang { transform: translateY(-118%); }

/* ---------- The beats (seconds after it starts) ----------
   0.0 Pea thinking; 0.25 the bill drifts in; 1.55 Pea points; 1.7 "Nope.";
   1.95 the bill flinches; 2.75 Pea jumps and the bill flies up into its hands
   (in front of Pea, top edge under the palms); 3.1 at the top of the hop Pea
   tears it in two and the halves fly out of its hands; 3.75 Pea dusts off its
   hands; 4.1 the tag drops and swings; 5.3 thumbs up. */
.anim-bill .bill-pose--think { --d: 0s; --h: 1.55s; }
.anim-bill .bill-pose--point { --d: 1.55s; --h: 2.75s; }
.anim-bill .bill-pose--jump { --d: 2.75s; --h: 3.75s; }
.anim-bill .bill-pose--dust { --d: 3.75s; --h: 5.3s; }
.anim-bill .bill-pose--wink { --d: 5.3s; }

.anim-bill.is-play .bill-pose { animation: bill-on 1ms linear var(--d, 0s) forwards, bill-pop .52s cubic-bezier(.25, 1.55, .45, 1) var(--d, 0s) both, bill-off 1ms linear var(--h, 99s) forwards; }
.anim-bill.is-play .bill-pose--jump { animation-name: bill-on, bill-hop, bill-off; animation-duration: 1ms, .9s, 1ms; animation-timing-function: linear, cubic-bezier(.3, 0, .3, 1), linear; }
.anim-bill.is-play .bill-shadow { animation: bill-hopshadow .9s cubic-bezier(.3, 0, .3, 1) 2.75s both; }
.anim-bill.is-play .bill-body { animation: bill-breath 2.4s ease-in-out .6s 3; }

.anim-bill.is-play .bill-card { animation: bill-drift 1.4s cubic-bezier(.2, .7, .2, 1) .25s both, bill-grab .32s cubic-bezier(.25, .8, .3, 1.08) 2.75s forwards, bill-front 1ms linear 2.75s forwards; }
.anim-bill.is-play .bill-jig { animation: bill-shake .5s ease-in-out 1.95s; }
.anim-bill.is-play .bill-half--l { animation: bill-rip-l .95s cubic-bezier(.4, 0, .75, .6) 3.1s forwards; }
.anim-bill.is-play .bill-half--r { animation: bill-rip-r .95s cubic-bezier(.4, 0, .75, .6) 3.1s forwards; }
.anim-bill.is-play .bill-bits i { animation: bill-bit .75s cubic-bezier(.2, .7, .3, 1) 3.13s forwards; }
.anim-bill.is-play .bill-say { animation: bill-say .5s cubic-bezier(.25, 1.6, .4, 1) 1.7s both, bill-say-out .2s ease-in 2.7s forwards; }

.anim-bill.is-play .bill-hang { animation: bill-drop .75s cubic-bezier(.3, 1.35, .5, 1) 4.1s both; }
.anim-bill.is-play .bill-swing { animation: bill-swing 2.6s ease-in-out 4.1s both; }

@keyframes bill-on { to { opacity: 1; } }
@keyframes bill-off { to { opacity: 0; } }
@keyframes bill-pop {
  0% { transform: scale(1.12, .86) translateY(2%); }
  30% { transform: scale(.94, 1.08) translateY(-4%); }
  58% { transform: scale(1.03, .97); }
  78% { transform: scale(.99, 1.01); }
  100% { transform: none; }
}
/* The hop hangs at the top a moment (38% to 56%) while the bill tears */
@keyframes bill-hop {
  0% { transform: scale(1.12, .86); }
  16% { transform: scale(.92, 1.1) translateY(-6%); }
  38%, 56% { transform: translateY(-20%) rotate(-3deg); }
  80% { transform: scale(1.08, .9); }
  100% { transform: none; }
}
@keyframes bill-hopshadow { 38%, 56% { transform: translateX(-50%) scale(.6); opacity: .5; } }
@keyframes bill-breath { 0%, 100% { transform: none; } 50% { transform: scale(1.012, .985); } }
@keyframes bill-drift {
  0% { opacity: 0; transform: translate(-36cqw, -2cqw) rotate(-16deg); }
  22% { opacity: 1; }
  100% { opacity: 1; transform: rotate(-4deg); }
}
@keyframes bill-shake { 0%, 100% { transform: none; } 20% { transform: rotate(-5deg); } 40% { transform: rotate(4deg); } 60% { transform: rotate(-2.5deg); } 80% { transform: rotate(1deg); } }
@keyframes bill-grab { from { transform: rotate(-4deg); } to { transform: translate(var(--grab-x), var(--grab-y)) rotate(var(--grab-r)) scale(var(--grab-s)); } }
@keyframes bill-front { to { z-index: 5; } }
/* Each half is pulled out by one hand: the tear opens from the top, then the
   halves fly out and fall away, and Pea's grin shows through. */
@keyframes bill-rip-l {
  0% { transform: none; opacity: 1; }
  20% { transform: translateX(-7%) rotate(-10deg); opacity: 1; }
  100% { transform: translate(-46%, 95%) rotate(-38deg); opacity: 0; }
}
@keyframes bill-rip-r {
  0% { transform: none; opacity: 1; }
  20% { transform: translateX(7%) rotate(10deg); opacity: 1; }
  100% { transform: translate(46%, 95%) rotate(36deg); opacity: 0; }
}
@keyframes bill-bit {
  0% { opacity: 0; transform: scale(.4); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)); }
}
@keyframes bill-say { 0% { opacity: 0; transform: scale(.35) rotate(-6deg); } 100% { opacity: 1; transform: none; } }
@keyframes bill-say-out { to { opacity: 0; transform: scale(.7); } }
@keyframes bill-drop { 0% { transform: translateY(-118%); } 100% { transform: none; } }
@keyframes bill-swing {
  0% { transform: rotate(-9deg); }
  24% { transform: rotate(7deg); }
  44% { transform: rotate(-4.5deg); }
  62% { transform: rotate(2.6deg); }
  78% { transform: rotate(-1.3deg); }
  91% { transform: rotate(.5deg); }
  100% { transform: none; }
}
@keyframes bill-rise { 0% { opacity: 0; transform: translateY(8px); } 100% { opacity: 1; transform: none; } }

/* ---------- Reduced motion: the same story with softer moves ---------- */
.anim-bill.is-gentle.is-play .bill-pose { animation-name: bill-on, bill-pop-soft, bill-off; }
.anim-bill.is-gentle.is-play .bill-pose--jump { animation-name: bill-on, bill-hop-soft, bill-off; }
.anim-bill.is-gentle.is-play .bill-card { animation-name: bill-drift-soft, bill-grab, bill-front; animation-duration: 1.4s, .34s, 1ms; animation-timing-function: cubic-bezier(.2, .7, .2, 1), cubic-bezier(.2, .7, .2, 1), linear; }
.anim-bill.is-gentle.is-play .bill-half--l { animation-name: bill-rip-l-soft; }
.anim-bill.is-gentle.is-play .bill-half--r { animation-name: bill-rip-r-soft; }
.anim-bill.is-gentle.is-play .bill-shadow { animation: none; }
.anim-bill.is-gentle.is-play .bill-hang { animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
.anim-bill.is-gentle.is-play .bill-swing { animation-name: bill-swing-soft; }
.anim-bill.is-gentle.is-play .bill-body { animation: none; }
@keyframes bill-pop-soft { 0% { transform: scale(1.04, .96); } 60% { transform: scale(.99, 1.01); } 100% { transform: none; } }
@keyframes bill-hop-soft { 0% { transform: scale(1.04, .96); } 38%, 56% { transform: translateY(-9%); } 100% { transform: none; } }
@keyframes bill-drift-soft { 0% { opacity: 0; transform: translateX(-10cqw) rotate(-8deg); } 40% { opacity: 1; } 100% { opacity: 1; transform: rotate(-4deg); } }
@keyframes bill-rip-l-soft { 0% { transform: none; opacity: 1; } 25% { transform: translateX(-6%) rotate(-6deg); opacity: 1; } 70%, 100% { transform: translate(-28%, 40%) rotate(-14deg); opacity: 0; } }
@keyframes bill-rip-r-soft { 0% { transform: none; opacity: 1; } 25% { transform: translateX(6%) rotate(6deg); opacity: 1; } 70%, 100% { transform: translate(28%, 40%) rotate(14deg); opacity: 0; } }
@keyframes bill-swing-soft { 0% { transform: rotate(-4deg); } 35% { transform: rotate(2.5deg); } 70% { transform: rotate(-1deg); } 100% { transform: none; } }

/* ---------- Phone: a square stage, the bill and Pea side by side ---------- */
@media (max-width: 640px) {
  /* the bill starts well inside the frame, so nothing is clipped at rest */
  .anim-bill { --bill-x: 28%; --pea-x: 73%; --grab-x: 46.5cqw; --grab-y: 15cqw; --grab-r: -7.7deg; --grab-s: .92; }
  .anim-bill.is-gentle { --grab-x: 47.4cqw; --grab-y: 19.7cqw; --grab-r: -4.7deg; --grab-s: .86; }
  .anim-bill .bill-stage { aspect-ratio: 1; background-size: 18px 18px, auto; }
  .anim-bill .bill-glow { width: 150%; bottom: -30%; }
  .anim-bill .bill-card { left: calc(var(--bill-x) - 20cqw); top: 25cqw; width: 40cqw; aspect-ratio: .72; }
  .anim-bill .bill-paper { gap: .6em; padding: 1.2em 1.1em; font-size: 2.9cqw; }
  .anim-bill .bill-row:nth-child(4) { display: none; }
  /* The small labels stay readable on a phone: 9px or more */
  .anim-bill .bill-k { font-size: max(9.2px, .9em); letter-spacing: .14em; }
  .anim-bill .bill-row { font-size: max(9.2px, .92em); }
  .anim-bill .bill-stamp { top: 49.5%; right: 7%; font-size: .9em; }
  .anim-bill .bill-bits i { width: 2.4cqw; height: 1.6cqw; }
  .anim-bill .bill-bits i:nth-child(odd) { --x: -8cqw; }
  .anim-bill .bill-bits i:nth-child(even) { --x: 8cqw; }
  .anim-bill .bill-hang { left: calc(var(--bill-x) - 19cqw); width: 38cqw; }
  .anim-bill .bill-swing { padding-top: 15cqw; }
  .anim-bill .bill-swing::before { height: calc(8cqw + 15cqw + 5cqw); }
  .anim-bill .bill-tag { padding: 10.4cqw 3cqw 4.2cqw; border-radius: 0 0 3.2cqw 3.2cqw; }
  .anim-bill .bill-tag__hole { top: 5cqw; width: 4.2cqw; height: 4.2cqw; margin: -2.1cqw 0 0 -2.1cqw; box-shadow: 0 0 0 .9cqw var(--brass-soft), inset 0 .5cqw .6cqw rgba(24, 32, 26, .35); }
  .anim-bill .bill-tag__price { font-size: 13.4cqw; }
  .anim-bill .bill-tag__once { margin-top: 1cqw; font-size: 5.2cqw; }
  .anim-bill .bill-tag__good { margin-top: 2.8cqw; padding-top: 2.4cqw; font-size: 3.3cqw; }
  .anim-bill .bill-rig { left: calc(var(--pea-x) - 28cqw); bottom: 6cqw; width: 56cqw; height: 56cqw; }
  .anim-bill .bill-shadow { bottom: -2cqw; height: 5.6cqw; }
  .anim-bill .bill-say { left: auto; right: 5%; top: 17cqw; font-size: 6.4cqw; }
  .anim-bill .bill-say::before { left: 20%; }
  .anim-bill .bill-cap { min-height: 3.6em; padding: 10px 18px 18px; font-size: 20px; }
}
/* Narrow phones: the two buttons side by side, centred. Until it has played,
   the hidden Watch again leaves the row, so the sound button sits centred. */
@media (max-width: 520px) {
  .anim-bill.is-armed .bill-ctl { position: relative; display: flex; flex-wrap: nowrap; justify-content: center; align-items: center; gap: 8px; min-height: 44px; }
  .anim-bill.is-armed:not(.has-played) [data-bill-again] { pointer-events: none; }
  .anim-bill.is-armed:not(.was-played) [data-bill-again] { position: absolute; }
}
@media (max-width: 380px) {
  .anim-bill .bill-ctl button { padding-inline: 12px; font-size: 14px; }
}
