/* grow: the game in one Pea (Home, "From Sprout to Supreme Pea"). A Sprout gets
   four jobs handed over, its bar fills and it levels up to Sweet Pea; the streak
   counts up and two badges drop into the tray; then a quick climb through the
   levels to Supreme Pea in its gold crown. Under it, the ten levels on stepping
   stones (tap one and it hops).
   States: the markup rests on the last beat (no script needed). grow.js sets the
   first frame and runs the beats by toggling classes; .is-gentle softens every
   move under reduced motion (it still plays); .is-snap drops transitions while
   it resets. */

.anim-grow { --gr-pea: 240px; --gr-foot: 82px; --gr-px: 63%; --gr-gold: rgba(255, 214, 110, .55); }
.anim-grow .gr-frame { max-width: 1000px; margin-top: 36px; }
.anim-grow .gr-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; column-gap: clamp(18px, 3vw, 40px); padding: 22px clamp(22px, 3.6vw, 44px) 26px; overflow: hidden; text-align: left; 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-grow.is-snap *, .anim-grow.is-snap *::before, .anim-grow.is-snap *::after { transition: none !important; animation: none !important; }

/* ---------- Pea's corner of the stage ---------- */
.anim-grow .gr-zone { position: relative; height: calc(var(--gr-pea) + var(--gr-foot) + 30px); }
.anim-grow .gr-glow { position: absolute; left: var(--gr-px); bottom: calc(var(--gr-foot) - 40px); width: calc(var(--gr-pea) * 1.55); aspect-ratio: 1.25; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(199, 222, 168, .8), rgba(199, 222, 168, 0)); pointer-events: none; }
.anim-grow .gr-gold { position: absolute; left: var(--gr-px); bottom: calc(var(--gr-foot) + var(--gr-pea) * .1); width: calc(var(--gr-pea) * 1.35); aspect-ratio: 1; transform: translateX(-50%) scale(.6); border-radius: 50%; background: radial-gradient(closest-side, var(--gr-gold), rgba(255, 214, 110, 0)); opacity: 0; transition: opacity .7s ease, transform .9s cubic-bezier(.2, .7, .2, 1); pointer-events: none; }
.anim-grow .gr-gold.is-on { opacity: 1; transform: translateX(-50%) scale(1); }

/* Pea: the rig is a zero-width line through Pea's middle, standing on the podium */
.anim-grow .gr-rig { position: absolute; z-index: 2; left: var(--gr-px); bottom: var(--gr-foot); width: 0; height: var(--gr-pea); }
.anim-grow .gr-podium { position: absolute; left: 0; bottom: calc(var(--gr-pea) * -.06); width: calc(var(--gr-pea) * .86); height: calc(var(--gr-pea) * .15); transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse at 50% 30%, #fff 0, var(--paper-2) 58%, var(--line) 100%); box-shadow: 0 10px 16px -10px rgba(34, 56, 26, .45), inset 0 -3px 0 rgba(63, 106, 43, .12); }
.anim-grow .gr-shadow { position: absolute; left: 0; bottom: calc(var(--gr-pea) * -.02); width: calc(var(--gr-pea) * .5); height: calc(var(--gr-pea) * .07); transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(34, 56, 26, .32), rgba(34, 56, 26, 0)); }
.anim-grow .gr-body { position: absolute; inset: 0; transform-origin: 0 100%; }
.anim-grow .gr-pose { position: absolute; left: 0; bottom: 0; height: 100%; aspect-ratio: var(--ar); translate: calc(var(--cx) * -100%) 4.6%; opacity: 0; pointer-events: none; user-select: none; }
.anim-grow .gr-pose.is-on { opacity: 1; }
.anim-grow .gr-pose img { display: block; width: 100%; height: 100%; max-width: none; filter: drop-shadow(0 10px 12px rgba(34, 56, 26, .18)); }

/* Little stars that twinkle on a level up */
.anim-grow .gr-sparks i { position: absolute; width: calc(var(--gr-pea) * .13); aspect-ratio: 1; opacity: 0; background: #e2c891; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.anim-grow .gr-sparks i:nth-child(1) { left: calc(var(--gr-pea) * -.5); bottom: 78%; --d: 0s; }
.anim-grow .gr-sparks i:nth-child(2) { left: calc(var(--gr-pea) * .4); bottom: 88%; --d: .08s; width: calc(var(--gr-pea) * .09); }
.anim-grow .gr-sparks i:nth-child(3) { left: calc(var(--gr-pea) * .5); bottom: 52%; --d: .16s; }
.anim-grow .gr-sparks i:nth-child(4) { left: calc(var(--gr-pea) * -.6); bottom: 40%; --d: .12s; width: calc(var(--gr-pea) * .09); }
.anim-grow .gr-sparks i:nth-child(5) { left: calc(var(--gr-pea) * -.2); bottom: 104%; --d: .22s; width: calc(var(--gr-pea) * .08); background: var(--pea-hi); }
.anim-grow .gr-sparks i:nth-child(6) { left: calc(var(--gr-pea) * .22); bottom: 104%; --d: .04s; width: calc(var(--gr-pea) * .08); background: var(--pea-hi); }
.anim-grow .gr-sparks.is-on i { animation: grow-twinkle .9s ease-out var(--d) both; }
.anim-grow .gr-sparks.is-on.is-long i { animation-iteration-count: 3; }

/* Jobs handed to Pea. Each card waits with its right edge (tick included) just
   clear of Pea's head, whatever the column width (the head reaches .27 of Pea's
   height left of centre at this height), and wraps its words when room is short. */
.anim-grow .gr-job { position: absolute; z-index: 3; left: auto; right: calc(100% - var(--gr-px) + var(--gr-pea) * .27 + 16px); top: calc(100% - var(--gr-foot) - var(--gr-pea) * .68); display: flex; align-items: center; gap: 10px; width: max-content; max-width: min(230px, calc(var(--gr-px) - var(--gr-pea) * .27 - 16px)); padding: 11px 16px 11px 11px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 14px 26px -16px rgba(34, 56, 26, .5); font: 700 15px/1.2 var(--body); color: var(--ink); opacity: 0; transform: translateX(-150%) rotate(-5deg); }
.anim-grow .gr-job__ico { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--pea-soft); color: var(--pea); }
.anim-grow .gr-job__ico svg { width: 18px; height: 18px; }
.anim-grow .gr-job__tick { position: absolute; right: -9px; top: -9px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--pea); color: #fff; box-shadow: 0 0 0 3px var(--card); transform: scale(0); }
.anim-grow .gr-job__tick svg { width: 14px; height: 14px; }
.anim-grow .gr-job.is-in { opacity: 1; transform: rotate(-2deg); transition: transform .45s cubic-bezier(.2, .7, .2, 1), opacity .2s ease; }
.anim-grow .gr-job.is-ticked .gr-job__tick { transform: scale(1); transition: transform .38s cubic-bezier(.3, 1.6, .5, 1); }
.anim-grow .gr-job.is-fly { opacity: 0; transform: translate(var(--fx, 120px), var(--fy, 0)) scale(.22) rotate(10deg); transition: transform .4s cubic-bezier(.55, 0, .85, .45), opacity .16s linear .24s; }

/* The level-up toast, where the jobs came in */
.anim-grow .gr-toast { position: absolute; z-index: 4; left: 2%; top: calc(100% - var(--gr-foot) - var(--gr-pea) * .96); display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; border-radius: 999px; background: linear-gradient(160deg, #fff, var(--brass-soft)); box-shadow: inset 0 0 0 2px #e2c891, 0 14px 26px -14px rgba(138, 101, 38, .6); font: 800 21px/1 var(--display); letter-spacing: -.02em; color: var(--brass); white-space: nowrap; opacity: 0; transform: scale(.4); transform-origin: 70% 100%; }
.anim-grow .gr-toast svg { width: 20px; height: 20px; }
.anim-grow .gr-toast.is-on { animation: grow-toast 1.6s cubic-bezier(.2, .7, .2, 1) both; }

/* Name chip and the bar, under the podium */
.anim-grow .gr-meter { position: absolute; z-index: 2; left: var(--gr-px); bottom: 0; display: flex; flex-direction: column; align-items: center; gap: 11px; width: 262px; transform: translateX(-50%); }
.anim-grow .gr-chip { display: inline-flex; align-items: baseline; gap: .42em; padding: 9px 16px 10px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--pea-glow), 0 10px 20px -14px rgba(34, 56, 26, .45); font: 700 14.5px/1 var(--body); color: var(--muted); white-space: nowrap; }
.anim-grow .gr-chip__name { font: 800 18px/1 var(--display); letter-spacing: -.02em; color: var(--pea); }
.anim-grow .gr-chip__dot { color: var(--pea-glow); }
.anim-grow .gr-chip.is-tick { animation: grow-chip .36s cubic-bezier(.3, 1.6, .5, 1); }
.anim-grow .gr-chip.is-gold { box-shadow: inset 0 0 0 2px #e2c891, 0 10px 22px -12px rgba(138, 101, 38, .55); }
.anim-grow .gr-chip.is-gold .gr-chip__name { color: var(--brass); }
.anim-grow .gr-bar { position: relative; display: block; width: 100%; height: 11px; border-radius: 9px; background: var(--pea-soft); box-shadow: inset 0 1px 2px rgba(34, 56, 26, .12); overflow: hidden; }
.anim-grow .gr-bar i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--pea-hi), var(--pea)); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.anim-grow .gr-bar.is-gold i { background: linear-gradient(90deg, #e2c891, var(--brass)); }
.anim-grow .gr-bar.is-quick i { transition-duration: .22s; }
.anim-grow .gr-bar.is-snapbar i { transition: none; }

/* ---------- The streak and the badges ---------- */
.anim-grow .gr-hud { display: grid; gap: 14px; align-self: center; margin-bottom: 18px; }
.anim-grow .gr-card { padding: 16px 18px; border-radius: var(--r-md); background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 16px 30px -24px rgba(34, 56, 26, .5); }
.anim-grow .gr-streak { display: flex; align-items: center; gap: 14px; }
.anim-grow .gr-flame { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--brass-soft)); box-shadow: inset 0 0 0 2px #e2c891; color: var(--brass); }
.anim-grow .gr-flame svg { width: 26px; height: 26px; }
.anim-grow .gr-flame.is-bump { animation: grow-bump .24s cubic-bezier(.3, 1.6, .5, 1); }
.anim-grow .gr-streak__t { font: 800 clamp(23px, 2.5vw, 29px)/1 var(--display); letter-spacing: -.03em; color: var(--ink); white-space: nowrap; }
.anim-grow .gr-streak__n { color: var(--brass); font-variant-numeric: tabular-nums; }
.anim-grow .gr-tray__k { display: block; margin-bottom: 12px; font: 700 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.anim-grow .gr-badges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.anim-grow .gr-badge { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; opacity: 0; transform: translateY(-34px) scale(.5); }
.anim-grow .gr-badge.is-got { opacity: 1; transform: none; transition: transform .55s cubic-bezier(.3, 1.6, .5, 1), opacity .18s ease; }
.anim-grow .gr-badge--next { transform: none; }
.anim-grow .gr-badge--next.is-got { transition: opacity .5s ease; }
.anim-grow .gr-badge .bdg { font-size: 19px; }
.anim-grow .gr-badge--next .bdg { color: color-mix(in srgb, var(--muted) 30%, var(--line)); border-color: color-mix(in srgb, var(--muted) 15%, var(--line)); }
.anim-grow .gr-badge small { font: 700 12.5px/1.15 var(--body); color: var(--muted); white-space: nowrap; }
.anim-grow .gr-badge.is-shine .bdg { animation: grow-bump .5s cubic-bezier(.3, 1.6, .5, 1); }
.anim-grow .gr-pot__pot, .anim-grow .gr-pot__rim { fill: color-mix(in srgb, var(--brass) 70%, var(--brass-soft)); }
.anim-grow .gr-pot__rim { fill: var(--brass); }
.anim-grow .gr-pot__leaf { fill: var(--pea-hi); }
.anim-grow .gr-pot__stem { fill: none; stroke: var(--pea); stroke-width: 1.6; stroke-linecap: round; }

/* ---------- Caption and controls ---------- */
.anim-grow .gr-cap { display: flex; align-items: center; justify-content: center; min-height: 72px; padding: 10px 22px 14px; border-top: 1px solid var(--line); background: var(--paper); font: 800 clamp(19px, 2.3vw, 26px)/1.12 var(--display); letter-spacing: -.02em; color: var(--band); text-align: center; text-wrap: balance; }
.anim-grow .gr-cap em { font-style: normal; color: var(--pea); }
.anim-grow .gr-cap.is-new { animation: grow-rise .5s cubic-bezier(.2, .9, .3, 1.15) both; }
.anim-grow .gr-ctl { position: relative; justify-content: center; align-items: center; min-height: 44px; }
.anim-grow .gr-ctl button { white-space: nowrap; }
.anim-grow .gr-again { visibility: hidden; }
/* Until it has played, the hidden Watch again leaves the row, so "Watch with
   sound" sits centred on its own. */
.anim-grow:not(.has-played) .gr-again { pointer-events: none; }
.anim-grow:not(.was-played) .gr-again { position: absolute; }
.anim-grow.has-played .gr-again { visibility: visible; animation: grow-rise .4s ease both; }

/* ---------- Moves (classes grow.js restarts on the beat) ---------- */
.anim-grow .gr-body.is-in { animation: grow-in .6s cubic-bezier(.3, 1.5, .5, 1) both; }
.anim-grow .gr-body.is-catch { animation: grow-catch .34s ease-out; }
.anim-grow .gr-body.is-tick { animation: grow-tickpose .24s cubic-bezier(.3, 1.6, .5, 1); }
.anim-grow .gr-body.is-hop { animation: grow-hop .8s cubic-bezier(.3, 0, .3, 1); }
.anim-grow .gr-shadow.is-hop { animation: grow-shadow .8s cubic-bezier(.3, 0, .3, 1); }

@keyframes grow-in { 0% { opacity: 0; transform: translateY(14%) scale(.96, 1.04); } 45% { opacity: 1; transform: translateY(-5%) scale(.97, 1.03); } 72% { transform: translateY(0) scale(1.04, .96); } 100% { transform: none; } }
@keyframes grow-catch { 0% { transform: none; } 35% { transform: scale(1.03, .97); } 70% { transform: scale(.99, 1.01); } 100% { transform: none; } }
@keyframes grow-tickpose { 0% { transform: scale(1.03, .97); } 100% { transform: none; } }
@keyframes grow-hop {
  0% { transform: none; }
  16% { transform: scale(1.04, .96); }
  44% { transform: translateY(-20%) scale(.97, 1.03); }
  70% { transform: translateY(0) scale(1.04, .96); }
  86% { transform: scale(.99, 1.01); }
  100% { transform: none; }
}
@keyframes grow-shadow { 0%, 16% { transform: translateX(-50%); opacity: 1; } 44% { transform: translateX(-50%) scale(.6); opacity: .5; } 70%, 100% { transform: translateX(-50%); opacity: 1; } }
@keyframes grow-toast {
  0% { opacity: 0; transform: scale(.4) translateY(10px); }
  16% { opacity: 1; transform: scale(1.12); }
  28% { transform: scale(.97); }
  38% { transform: none; }
  82% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-16px); }
}
@keyframes grow-twinkle { 0% { opacity: 0; transform: scale(0) rotate(0); } 35% { opacity: 1; transform: scale(1.2) rotate(30deg); } 100% { opacity: 0; transform: scale(.2) rotate(90deg); } }
@keyframes grow-chip { 0% { transform: scale(.92); } 60% { transform: scale(1.05); } 100% { transform: none; } }
@keyframes grow-bump { 0% { transform: none; } 45% { transform: scale(1.16); } 100% { transform: none; } }
@keyframes grow-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Gentler moves under reduced motion: smaller travel, no big squash */
.anim-grow.is-gentle .gr-job { transform: translateX(-14px); }
.anim-grow.is-gentle .gr-job.is-in { transform: none; transition: transform .5s ease, opacity .4s ease; }
.anim-grow.is-gentle .gr-job.is-fly { transform: translate(calc(var(--fx, 120px) * .5), calc(var(--fy, 0px) * .5)) scale(.6); transition: transform .45s ease-in, opacity .35s ease; }
.anim-grow.is-gentle .gr-badge { transform: translateY(-8px); }
.anim-grow.is-gentle .gr-badge.is-got { transform: none; transition: transform .5s ease, opacity .4s ease; }
.anim-grow.is-gentle .gr-body.is-in { animation-name: grow-in-g; }
.anim-grow.is-gentle .gr-body.is-hop { animation-name: grow-hop-g; }
.anim-grow.is-gentle .gr-body.is-catch, .anim-grow.is-gentle .gr-body.is-tick { animation: none; }
.anim-grow.is-gentle .gr-shadow.is-hop { animation: none; }
@keyframes grow-in-g { from { opacity: 0; transform: translateY(3%); } to { opacity: 1; transform: none; } }
@keyframes grow-hop-g { 0%, 100% { transform: none; } 45% { transform: translateY(-4%); } }

/* ---------- The ten levels, on stepping stones ---------- */
.anim-grow .gr-path { max-width: 1000px; margin: 40px auto 0; text-align: center; }
.anim-grow .gr-path__k { font: 500 16px/1.4 var(--body); color: var(--muted); }
.anim-grow .gr-path__k b { font-weight: 800; color: var(--ink); }
.anim-grow .gr-steps { position: relative; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); align-items: end; margin: 6px 0 0; padding: 14px 0 0; list-style: none; }
.anim-grow .gr-steps li { --rise: 11px; position: relative; padding-bottom: calc(var(--i) * var(--rise)); container-type: inline-size; }
.anim-grow .gr-step { position: relative; display: flex; flex-direction: column; align-items: center; width: 100%; min-height: 44px; margin: 0; padding: 4px 0 6px; border: 0; border-radius: 16px; background: none; color: inherit; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.anim-grow .gr-step:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
.anim-grow .gr-step__pea { position: relative; z-index: 2; display: block; height: 88px; transform-origin: 50% 100%; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.anim-grow .gr-step__pea img { display: block; width: auto; height: 100%; max-width: none; translate: calc((.5 - var(--cx)) * 100%) 4.6%; filter: drop-shadow(0 8px 8px rgba(34, 56, 26, .18)); pointer-events: none; }
.anim-grow .gr-stone { position: relative; z-index: 1; display: block; width: min(76%, 72px); height: 15px; margin-top: -8px; border-radius: 50%; background: radial-gradient(ellipse at 50% 30%, #fff 0, var(--paper-2) 55%, color-mix(in srgb, var(--muted) 10%, var(--line)) 100%); box-shadow: 0 5px 8px -5px rgba(34, 56, 26, .45); }
/* dotted path from this stone to the next one */
.anim-grow .gr-steps li:not(:last-child) .gr-stone::after { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 100cqw; height: 6px; margin-top: -3px; transform-origin: 0 50%; rotate: atan2(calc(var(--rise) * -1), 100cqw); background: radial-gradient(circle, var(--pea-glow) 1.7px, transparent 2.2px) 0 50% / 10px 6px repeat-x; }
.anim-grow .gr-step__n { display: flex; flex-direction: column; align-items: center; gap: 3px; margin-top: 9px; white-space: nowrap; }
.anim-grow .gr-step__n b { padding: 3px 8px; border-radius: 999px; font: 800 14px/1.05 var(--display); letter-spacing: -.02em; color: var(--ink); }
.anim-grow .gr-step__n small { font: 600 12px/1 var(--body); color: var(--muted); }
.anim-grow .gr-step:hover .gr-step__pea { transform: translateY(-4%) scale(1.03); }
.anim-grow .gr-step.is-hop .gr-step__pea { animation: grow-stephop .6s cubic-bezier(.3, 0, .3, 1); }
.anim-grow .gr-step.is-hop .gr-step__n b { background: var(--pea); color: #fff; }
.anim-grow.is-gentle .gr-step.is-hop .gr-step__pea { animation-name: grow-stephop-g; }
@keyframes grow-stephop { 0% { transform: none; } 18% { transform: scale(1.04, .96); } 46% { transform: translateY(-26%) scale(.97, 1.03); } 72% { transform: translateY(0) scale(1.04, .96); } 100% { transform: none; } }
@keyframes grow-stephop-g { 0%, 100% { transform: none; } 45% { transform: translateY(-7%); } }
/* Supreme Pea on its little gold hill */
.anim-grow .gr-steps .is-top .gr-step__pea::before { content: ""; position: absolute; z-index: -1; left: 50%; bottom: 8%; width: 150%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, var(--gr-gold), rgba(255, 214, 110, 0)); }
.anim-grow .gr-steps .is-top .gr-stone { width: min(90%, 86px); height: 19px; background: radial-gradient(ellipse at 50% 30%, #fff 0, var(--brass-soft) 55%, #e2c891 100%); }
.anim-grow .gr-steps .is-top .gr-step__n small { color: var(--brass); }
/* "<name> starts here", once the visitor has named their Pea */
.anim-grow .gr-named { position: absolute; z-index: 3; left: 50%; bottom: calc(100% + 26px); display: inline-flex; gap: .3em; padding: 7px 12px; border-radius: 999px; background: var(--pea); color: #fff; font: 700 13.5px/1.1 var(--body); white-space: nowrap; transform: translateX(-26px); box-shadow: 0 10px 18px -12px rgba(34, 56, 26, .7); }
.anim-grow .gr-named[hidden] { display: none; }
.anim-grow .gr-named::after { content: ""; position: absolute; left: 20px; bottom: -5px; width: 10px; height: 10px; background: var(--pea); transform: rotate(45deg); }
.anim-grow .gr-named__n { display: block; max-width: 128px; overflow: hidden; text-overflow: ellipsis; font-weight: 800; }

/* ---------- Tablet and phone ---------- */
@media (max-width: 1000px) {
  /* narrower Pea column: smaller job cards so they stay clear of Pea */
  .anim-grow .gr-job { gap: 7px; padding: 9px 10px 9px 8px; border-radius: 12px; font-size: 13px; line-height: 1.15; }
  .anim-grow .gr-job__ico { width: 26px; height: 26px; border-radius: 8px; }
  .anim-grow .gr-job__ico svg { width: 15px; height: 15px; }
}
@media (max-width: 860px) {
  .anim-grow .gr-steps { display: flex; gap: 0; margin-inline: -20px; padding: 16px 20px 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none; -webkit-mask: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 36px), transparent 100%); mask: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 36px), transparent 100%); }
  .anim-grow .gr-steps::-webkit-scrollbar { display: none; }
  .anim-grow .gr-steps li { --rise: 4px; flex: 0 0 104px; scroll-snap-align: start; }
  .anim-grow .gr-named { transform: translateX(-30px); }
}
@media (max-width: 760px) {
  .anim-grow { --gr-pea: 180px; --gr-foot: 66px; --gr-px: 50%; }
  .anim-grow .gr-stage { grid-template-columns: minmax(0, 1fr); padding: 16px 14px 18px; }
  .anim-grow .gr-zone { height: calc(var(--gr-pea) + var(--gr-foot) + 34px); }
  .anim-grow .gr-job { left: 0; right: auto; top: 10px; width: 126px; max-width: none; gap: 7px; padding: 9px 10px 9px 8px; border-radius: 12px; font-size: 13px; line-height: 1.15; }
  .anim-grow .gr-job__ico { width: 26px; height: 26px; border-radius: 8px; }
  .anim-grow .gr-job__ico svg { width: 15px; height: 15px; }
  .anim-grow .gr-job__tick { right: -7px; top: -7px; width: 22px; height: 22px; }
  .anim-grow .gr-job__tick svg { width: 12px; height: 12px; }
  .anim-grow .gr-toast { left: 0; top: 4px; padding: 8px 13px 8px 10px; font-size: 18px; }
  .anim-grow .gr-toast svg { width: 17px; height: 17px; }
  .anim-grow .gr-meter { width: 212px; gap: 9px; }
  .anim-grow .gr-chip { padding: 8px 13px 9px; font-size: 13px; }
  .anim-grow .gr-chip__name { font-size: 16px; }
  .anim-grow .gr-bar { height: 9px; }
  .anim-grow .gr-hud { gap: 10px; margin: 18px 0 0; }
  .anim-grow .gr-card { padding: 12px 14px; }
  .anim-grow .gr-streak { gap: 12px; }
  .anim-grow .gr-flame { width: 42px; height: 42px; }
  .anim-grow .gr-flame svg { width: 21px; height: 21px; }
  .anim-grow .gr-streak__t { font-size: 22px; }
  .anim-grow .gr-tray__k { margin-bottom: 10px; font-size: 11px; }
  .anim-grow .gr-badge .bdg { font-size: 16px; }
  .anim-grow .gr-badge small { font-size: 11.5px; }
  .anim-grow .gr-cap { min-height: 84px; padding: 10px 16px 14px; }
  .anim-grow .gr-path { margin-top: 30px; }
  .anim-grow .gr-step__pea { height: 80px; }
}
@media (max-width: 380px) {
  .anim-grow .gr-ctl { gap: 8px; }
  .anim-grow .gr-ctl button { padding-inline: 12px; font-size: 14px; }
}
@media (max-width: 360px) {
  .anim-grow .gr-job { width: 112px; font-size: 12px; }
  .anim-grow .gr-meter { width: 200px; }
  .anim-grow .gr-badge small { font-size: 10.5px; }
}
