{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"photo-booth-team-strips-that-feed-out-of-chrome-slots-in-four-clunks-then-hang-and-swing-on-the-panel","type":"registry:block","title":"Photo Booth Team Strips That Feed out of Chrome Slots in Four Clunks Then Hang and Swing on the Panel","description":"Team section drawn as a photo booth panel: each slot feeds out a strip of poses for one person, which then hangs and swings. Free React and HTML to copy.","dependencies":["framer-motion","lucide-react"],"files":[{"path":"components/we-inc/photo-booth-team-strips-that-feed-out-of-chrome-slots-in-four-clunks-then-hang-and-swing-on-the-panel.tsx","type":"registry:component","content":"import { useCallback, useEffect, useRef, useState } from \"react\";\nimport { motion, useReducedMotion, useSpring } from \"framer-motion\";\nimport { ChevronLeft, ChevronRight } from \"lucide-react\";\n\ntype Pose = { shot: 0 | 1; at: string; zoom?: number; flip?: boolean };\n\n/** One slot per person: two sittings, cut into four poses. `tone` shows until a picture arrives. */\nconst people: { name: string; role: string; tone: string; shots: [{ src: string; alt: string }, { src: string; alt: string }]; poses: [Pose, Pose, Pose, Pose] }[] = [\n  {\n    name: \"Halima Sesay\",\n    role: \"Runs the press\",\n    tone: \"#7f9fe0\",\n    shots: [\n      { src: \"https://images.pexels.com/photos/15520549/pexels-photo-15520549.jpeg?auto=compress&cs=tinysrgb&w=500\", alt: \"Smiling woman in a lilac headscarf and pink blouse leaning on a table, blue backdrop\" },\n      { src: \"https://images.pexels.com/photos/15520550/pexels-photo-15520550.jpeg?auto=compress&cs=tinysrgb&w=500\", alt: \"The same woman laughing with one hand raised to her shoulder\" },\n    ],\n    poses: [\n      { shot: 0, at: \"50% 22%\", zoom: 1.5 },\n      { shot: 1, at: \"56% 20%\", zoom: 1.7 },\n      { shot: 0, at: \"50% 26%\", zoom: 2.3 },\n      { shot: 1, at: \"50% 30%\", zoom: 1.25, flip: true },\n    ],\n  },\n  {\n    name: \"Winston Adeyemi\",\n    role: \"Mixes the inks\",\n    tone: \"#f3a9c8\",\n    shots: [\n      { src: \"https://images.pexels.com/photos/4584605/pexels-photo-4584605.jpeg?auto=compress&cs=tinysrgb&w=500\", alt: \"Bald man in a pink T-shirt raising his eyebrows at the camera, pink backdrop\" },\n      { src: \"https://images.pexels.com/photos/4584606/pexels-photo-4584606.jpeg?auto=compress&cs=tinysrgb&w=500\", alt: \"The same man turned side on, glancing back over his shoulder\" },\n    ],\n    poses: [\n      { shot: 0, at: \"50% 34%\", zoom: 1.7 },\n      { shot: 1, at: \"62% 16%\", zoom: 1.7 },\n      { shot: 0, at: \"50% 36%\", zoom: 2.6 },\n      { shot: 1, at: \"60% 20%\", zoom: 1.3, flip: true },\n    ],\n  },\n  {\n    name: \"Folake Obi\",\n    role: \"Sets the type\",\n    tone: \"#46525f\",\n    shots: [\n      { src: \"https://images.pexels.com/photos/9971680/pexels-photo-9971680.jpeg?auto=compress&cs=tinysrgb&w=500\", alt: \"Woman in patterned pink glasses and a plum shirt frowning with arms folded, slate backdrop\" },\n      { src: \"https://images.pexels.com/photos/9971718/pexels-photo-9971718.jpeg?auto=compress&cs=tinysrgb&w=500\", alt: \"The same woman looking straight into the lens with her head tilted\" },\n    ],\n    poses: [\n      { shot: 1, at: \"52% 24%\", zoom: 1.6 },\n      { shot: 0, at: \"50% 20%\", zoom: 1.6 },\n      { shot: 1, at: \"54% 28%\", zoom: 2.4 },\n      { shot: 0, at: \"50% 22%\", zoom: 1.2, flip: true },\n    ],\n  },\n  {\n    name: \"Caspar Lund\",\n    role: \"Trims and binds\",\n    tone: \"#b03a26\",\n    shots: [\n      { src: \"https://images.pexels.com/photos/8727463/pexels-photo-8727463.jpeg?auto=compress&cs=tinysrgb&w=500\", alt: \"Red haired man with a short beard in profile, brick red backdrop\" },\n      { src: \"https://images.pexels.com/photos/8727340/pexels-photo-8727340.jpeg?auto=compress&cs=tinysrgb&w=900\", alt: \"The same man in a long white top looking down with his arms held out\" },\n    ],\n    poses: [\n      { shot: 0, at: \"40% 36%\", zoom: 1.35 },\n      { shot: 1, at: \"50% 27%\", zoom: 2.9 },\n      { shot: 0, at: \"44% 40%\", zoom: 1.9, flip: true },\n      { shot: 1, at: \"50% 30%\", zoom: 1.5 },\n    ],\n  },\n  {\n    name: \"Emeka Bright\",\n    role: \"Keeps the books\",\n    tone: \"#1f7180\",\n    shots: [\n      { src: \"https://images.pexels.com/photos/36440745/pexels-photo-36440745.jpeg?auto=compress&cs=tinysrgb&w=900\", alt: \"Man in a checked wool coat resting his head on his hand, teal backdrop\" },\n      { src: \"https://images.pexels.com/photos/36440743/pexels-photo-36440743.jpeg?auto=compress&cs=tinysrgb&w=900\", alt: \"The same man with a hand at the back of his neck, eyes closed\" },\n    ],\n    poses: [\n      { shot: 0, at: \"52% 12%\", zoom: 2.5 },\n      { shot: 1, at: \"66% 8%\", zoom: 2.6 },\n      { shot: 0, at: \"50% 22%\", zoom: 1.5 },\n      { shot: 0, at: \"52% 13%\", zoom: 3.3, flip: true },\n    ],\n  },\n];\n\nconst club = \"Saltmarsh Print Club\";\n\n// Design pixels: the booth panel is drawn at this size and scaled to the frame.\nconst SCENE_W = 940;\nconst SCENE_H = 660;\nconst PITCH = 166; // slot to slot\nconst SLIT_Y = 116; // where paper leaves the fascia\nconst STRIP_W = 116;\nconst FRAME_H = 104;\nconst GAP = 6;\nconst FOOT = 34;\nconst LEN = 8 + FRAME_H * 4 + GAP * 3 + FOOT;\nconst FIRST_X = (SCENE_W - PITCH * (people.length - 1)) / 2;\n\n// the pendulum, in degrees and seconds\nconst PULL = 24; // how hard a strip is drawn back to plumb\nconst DRAG = 0.85; // air on paper\nconst GRAVITY = 2600;\n\nconst clamp = (v: number, lo: number, hi: number) => Math.min(hi, Math.max(lo, v));\nconst steel = \"repeating-linear-gradient(90deg,rgba(255,255,255,0.07) 0 1px,rgba(0,0,0,0.035) 1px 2px,rgba(255,255,255,0) 2px 5px), linear-gradient(180deg,#f3f4f4 0%,#c9cdcf 22%,#e8eaeb 50%,#9da3a7 82%,#bcc1c4 100%)\";\nconst grain = \"radial-gradient(circle at 24% 30%, rgba(255,255,255,0.05) 0 0.6px, rgba(0,0,0,0) 1.1px), radial-gradient(circle at 70% 66%, rgba(0,0,0,0.22) 0 0.7px, rgba(0,0,0,0) 1.2px)\";\n\ntype Body = { a: number; w: number; y: number; vy: number; mode: \"hang\" | \"drop\" | \"feed\"; step: number; wait: number; ph: number };\n\nexport default function PhotoBoothTeamStrips() {\n  const reduce = !!useReducedMotion();\n  const wrapRef = useRef<HTMLDivElement>(null);\n  const sceneRef = useRef<HTMLDivElement>(null);\n  const stripRefs = useRef<(HTMLDivElement | null)[]>([]);\n  const shadeRefs = useRef<(HTMLDivElement | null)[]>([]);\n  const bodies = useRef<Body[]>(people.map((_, i) => ({ a: [1.4, -0.9, 0.6, -1.3, 0.8][i % 5], w: 0, y: 0, vy: 0, mode: \"hang\", step: 4, wait: 0, ph: i * 1.7 })));\n  const hold = useRef({ scale: 1, touched: false, over: false, lastX: 0, lastT: 0 });\n  const [turn, setTurn] = useState<number[]>(people.map(() => 0));\n  const [busy, setBusy] = useState(-1);\n  const [focus, setFocus] = useState(2);\n  const pan = useSpring(0, { stiffness: 90, damping: 18 });\n\n  const place = useCallback(\n    (jump: boolean) => {\n      const wrap = wrapRef.current;\n      if (!wrap) return;\n      const w = wrap.clientWidth;\n      const sc = clamp(w / SCENE_W, 0.74, 1.1);\n      hold.current.scale = sc;\n      wrap.style.height = `${Math.round(SCENE_H * sc + (w < 640 ? 34 : 0))}px`;\n      const centre = (FIRST_X + PITCH * focus) * sc;\n      const x = SCENE_W * sc <= w ? (w - SCENE_W * sc) / 2 : clamp(w / 2 - centre, w - SCENE_W * sc + 40 * sc, -40 * sc);\n      if (sceneRef.current) sceneRef.current.style.transform = `scale(${sc.toFixed(4)})`;\n      if (jump || reduce) pan.jump(x);\n      else pan.set(x);\n    },\n    [focus, pan, reduce],\n  );\n  useEffect(() => {\n    place(true);\n    const ro = new ResizeObserver(() => place(true));\n    if (wrapRef.current) ro.observe(wrapRef.current);\n    return () => ro.disconnect();\n    // eslint-disable-next-line react-hooks/exhaustive-deps\n  }, []);\n  useEffect(() => place(false), [place]);\n\n  /** Let go of the strip that is hanging and print that person again. */\n  const print = useCallback(\n    (i: number) => {\n      const b = bodies.current[i];\n      if (reduce) {\n        setTurn((t) => t.map((v, k) => (k === i ? v + 1 : v)));\n        return;\n      }\n      if (b.mode !== \"hang\") return;\n      b.mode = \"drop\";\n      b.vy = 60;\n      b.w += b.a >= 0 ? 26 : -26;\n    },\n    [reduce],\n  );\n\n  // one loop moves every strip: sway, fall, and the four clunks of a new one feeding out\n  useEffect(() => {\n    if (reduce) return;\n    let raf = 0;\n    let last = 0;\n    let visible = true;\n    const draw = (i: number) => {\n      const b = bodies.current[i];\n      const el = stripRefs.current[i];\n      const sh = shadeRefs.current[i];\n      if (el) {\n        el.style.transform = `rotate(${b.a.toFixed(3)}deg) translate3d(0,${b.y.toFixed(2)}px,0)`;\n        el.style.setProperty(\"--lean\", b.a.toFixed(2));\n      }\n      if (sh) sh.style.transform = `rotate(${(b.a * 1.14 + 0.9).toFixed(3)}deg) translate3d(0,${b.y.toFixed(2)}px,0)`;\n    };\n    const tick = (now: number) => {\n      raf = 0;\n      const dt = Math.min(0.032, last ? (now - last) / 1000 : 0.016);\n      last = now;\n      const t = now / 1000;\n      bodies.current.forEach((b, i) => {\n        if (b.mode === \"drop\") {\n          b.vy += GRAVITY * dt;\n          b.y += b.vy * dt;\n          b.a += b.w * dt;\n          if (b.y > SCENE_H + 120) {\n            b.mode = \"feed\";\n            b.y = -LEN;\n            b.a = 0;\n            b.w = 0;\n            b.vy = 0;\n            b.step = 0;\n            b.wait = 0.34;\n            setTurn((v) => v.map((n, k) => (k === i ? n + 1 : n)));\n            setBusy(i);\n          }\n        } else {\n          const feeding = b.mode === \"feed\";\n          if (feeding) {\n            b.wait -= dt;\n            if (b.wait <= 0 && b.step < 4) {\n              b.step += 1;\n              b.wait = 0.36;\n              b.w += b.step % 2 ? 9 : -9;\n            }\n            const to = -LEN * (1 - b.step / 4);\n            b.y += (to - b.y) * Math.min(1, dt * 17);\n            if (b.step === 4 && Math.abs(to - b.y) < 0.4) {\n              b.y = 0;\n              b.mode = \"hang\";\n              b.w += 14;\n              setBusy((cur) => (cur === i ? -1 : cur));\n            }\n          }\n          const out = 1 + b.y / LEN; // a short tongue of paper is stiff, a full strip is loose\n          const draught = (Math.sin(t * 0.9 + b.ph) * 26 + Math.sin(t * 2.3 + b.ph * 2.1) * 12) * out;\n          const acc = -(PULL + (1 - out) * 220) * b.a - (DRAG + (1 - out) * 7) * b.w + draught;\n          b.w += acc * dt;\n          b.a = clamp(b.a + b.w * dt, -38, 38);\n        }\n        draw(i);\n      });\n      if (visible && !document.hidden) raf = requestAnimationFrame(tick);\n    };\n    const start = () => {\n      if (!raf && visible && !document.hidden) {\n        last = 0;\n        raf = requestAnimationFrame(tick);\n      }\n    };\n    const io = new IntersectionObserver(([e]) => {\n      visible = e.isIntersecting;\n      start();\n    });\n    if (wrapRef.current) io.observe(wrapRef.current);\n    document.addEventListener(\"visibilitychange\", start);\n    start();\n    return () => {\n      cancelAnimationFrame(raf);\n      io.disconnect();\n      document.removeEventListener(\"visibilitychange\", start);\n    };\n  }, [reduce]);\n\n  // the booth reprints one person after another until somebody takes over\n  useEffect(() => {\n    if (reduce) return;\n    const order = [1, 3, 0, 4, 2];\n    let n = 0;\n    const go = () => {\n      const s = hold.current;\n      if (s.touched || s.over || document.hidden) return;\n      const i = order[n % order.length];\n      n += 1;\n      setFocus(i);\n      print(i);\n    };\n    const first = window.setTimeout(go, 3000);\n    const loop = window.setInterval(go, 4600);\n    return () => {\n      window.clearTimeout(first);\n      window.clearInterval(loop);\n    };\n  }, [print, reduce]);\n\n  // a pointer passing through a strip pushes it, harder the lower down it is caught\n  const onMove = (e: React.PointerEvent) => {\n    const wrap = wrapRef.current;\n    if (!wrap || reduce) return;\n    const s = hold.current;\n    const r = wrap.getBoundingClientRect();\n    const x = (e.clientX - r.left - pan.get()) / s.scale;\n    const y = (e.clientY - r.top) / s.scale;\n    const dx = x - s.lastX;\n    const fresh = e.timeStamp - s.lastT < 80;\n    s.lastX = x;\n    s.lastT = e.timeStamp;\n    if (!fresh || y < SLIT_Y || y > SLIT_Y + LEN + 20) return;\n    bodies.current.forEach((b, i) => {\n      if (b.mode !== \"hang\") return;\n      const lever = (y - SLIT_Y) / LEN;\n      const cx = FIRST_X + PITCH * i - Math.sin((b.a * Math.PI) / 180) * (y - SLIT_Y);\n      if (Math.abs(x - cx) < STRIP_W / 2 + 6) b.w = clamp(b.w + dx * 0.62 * lever, -150, 150);\n    });\n  };\n\n  const choose = (i: number) => {\n    hold.current.touched = true;\n    setFocus(i);\n    print(i);\n  };\n  const step = (d: number) => {\n    hold.current.touched = true;\n    setFocus((f) => clamp(f + d, 0, people.length - 1));\n  };\n\n  return (\n    <section aria-label={`The people of ${club}`} className=\"relative overflow-hidden bg-[#131110]\">\n      <div aria-hidden=\"true\" className=\"pointer-events-none absolute inset-0\" style={{ backgroundImage: `${grain}, radial-gradient(85% 80% at 50% 30%, #4b433f 0%, #2b2623 48%, #110f0e 100%)`, backgroundSize: \"5px 7px, 11px 13px, auto\" }} />\n      <div ref={wrapRef} onPointerMove={onMove} onPointerEnter={() => (hold.current.over = true)} onPointerLeave={() => (hold.current.over = false)} className=\"relative w-full overflow-hidden\" style={{ height: SCENE_H }}>\n        <motion.div className=\"absolute left-0 top-0\" style={{ x: pan }}>\n          <div ref={sceneRef} className=\"relative origin-top-left\" style={{ width: SCENE_W, height: SCENE_H }}>\n            <ul className=\"m-0 list-none p-0\">\n              {people.map((p, i) => {\n                const cx = FIRST_X + PITCH * i;\n                const poses = p.poses.map((_, k) => p.poses[(k + turn[i]) % 4]);\n                const seen = new Set<number>();\n                return (\n                  <li key={p.name}>\n                    {/* everything below the slit; paper above it is still inside the machine */}\n                    <div className=\"absolute\" style={{ left: cx, top: SLIT_Y, width: 0, height: 0 }}>\n                      <div className=\"absolute left-0 top-0\" style={{ clipPath: \"inset(0px -500px -900px -500px)\" }}>\n                        <div\n                          ref={(el) => {\n                            shadeRefs.current[i] = el;\n                          }}\n                          aria-hidden=\"true\"\n                          className=\"absolute rounded-[3px]\"\n                          style={{ left: -STRIP_W / 2 + 13, top: 4, width: STRIP_W, height: LEN, transformOrigin: `${STRIP_W / 2 - 13}px -4px`, transform: `rotate(${(bodies.current[i].a * 1.14 + 0.9).toFixed(2)}deg)`, background: \"linear-gradient(180deg,rgba(0,0,0,0.5),rgba(0,0,0,0.7))\", filter: \"blur(9px)\", willChange: \"transform\" }}\n                        />\n                        <div\n                          ref={(el) => {\n                            stripRefs.current[i] = el;\n                          }}\n                          className=\"absolute rounded-[2px]\"\n                          style={{\n                            left: -STRIP_W / 2,\n                            top: 0,\n                            width: STRIP_W,\n                            height: LEN,\n                            transformOrigin: \"50% 0\",\n                            transform: `rotate(${bodies.current[i].a}deg)`,\n                            willChange: \"transform\",\n                            backgroundColor: \"#f4efe3\",\n                            backgroundImage: \"linear-gradient(90deg,rgba(0,0,0,0.1) 0%,rgba(0,0,0,0) 9%,rgba(255,255,255,0.5) 46%,rgba(0,0,0,0) 86%,rgba(0,0,0,0.14) 100%), linear-gradient(180deg,#e9e3d4 0%,#f8f4ea 12%,#f3eee1 70%,#fffdf6 100%)\",\n                            boxShadow: \"0 0 0 0.5px rgba(0,0,0,0.35), 1px 1px 0 rgba(255,255,255,0.5) inset, -1px -1px 0 rgba(0,0,0,0.12) inset\",\n                          }}\n                        >\n                          <div className=\"absolute inset-x-[7px] top-[8px] flex flex-col\" style={{ gap: GAP }}>\n                            {poses.map((pose, k) => {\n                              const shot = p.shots[pose.shot];\n                              const first = !seen.has(pose.shot);\n                              seen.add(pose.shot);\n                              return (\n                                <div key={k} className=\"relative overflow-hidden\" style={{ height: FRAME_H, backgroundColor: p.tone }}>\n                                  <img\n                                    src={shot.src}\n                                    alt={first ? shot.alt : \"\"}\n                                    draggable={false}\n                                    className=\"h-full w-full object-cover\"\n                                    style={{ objectPosition: pose.at, transformOrigin: pose.at, transform: `scale(${(pose.flip ? -1 : 1) * (pose.zoom ?? 1)}, ${pose.zoom ?? 1})` }}\n                                  />\n                                  <div aria-hidden=\"true\" className=\"absolute inset-0\" style={{ boxShadow: \"inset 0 0 0 1px rgba(0,0,0,0.18), inset 0 0 14px rgba(0,0,0,0.22)\" }} />\n                                </div>\n                              );\n                            })}\n                          </div>\n                          <div className=\"absolute inset-x-[8px] bottom-[7px]\">\n                            <p className=\"truncate font-mono text-[8px] font-bold uppercase leading-[1.25] tracking-[0.1em] text-[#1c1a17]\">{p.name}</p>\n                            <p className=\"flex justify-between font-mono text-[6.5px] uppercase leading-[1.3] tracking-[0.12em] text-[#4a463d]\">\n                              <span className=\"truncate\">{p.role}</span>\n                              <span aria-hidden=\"true\">{String(417 + i * 6 + turn[i]).padStart(4, \"0\")}</span>\n                            </p>\n                          </div>\n                          {/* gloss that slides across the emulsion as the strip leans */}\n                          <div\n                            aria-hidden=\"true\"\n                            className=\"absolute inset-0 rounded-[2px]\"\n                            style={{ backgroundImage: \"linear-gradient(104deg,rgba(255,255,255,0) 34%,rgba(255,255,255,0.3) 46%,rgba(255,255,255,0.05) 52%,rgba(255,255,255,0) 62%)\", backgroundSize: \"320% 100%\", backgroundPosition: \"calc(50% + var(--lean, 0) * 5%) 0\" }}\n                          />\n                          <div aria-hidden=\"true\" className=\"absolute inset-x-0 bottom-0 h-[90px] rounded-b-[2px]\" style={{ background: \"linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,0.16))\" }} />\n                        </div>\n                      </div>\n                    </div>\n                    <button\n                      type=\"button\"\n                      onClick={() => choose(i)}\n                      aria-label={`Print ${p.name}'s strip again. ${p.role}`}\n                      className=\"absolute rounded-[6px] focus:outline-none focus-visible:ring-2 focus-visible:ring-amber-300\"\n                      style={{ left: cx - STRIP_W / 2 - 8, top: 40, width: STRIP_W + 16, height: SLIT_Y - 40 + LEN + 10 }}\n                    />\n                  </li>\n                );\n              })}\n            </ul>\n\n            {/* the fascia sits over the top of the paper */}\n            <div aria-hidden=\"true\" className=\"pointer-events-none absolute rounded-[9px]\" style={{ left: FIRST_X - 96, top: 36, width: PITCH * (people.length - 1) + 192, height: 88, background: \"rgba(0,0,0,0.55)\", filter: \"blur(10px)\", transform: \"translateY(8px)\" }} />\n            <div\n              aria-hidden=\"true\"\n              className=\"pointer-events-none absolute rounded-[9px]\"\n              style={{ left: FIRST_X - 96, top: 36, width: PITCH * (people.length - 1) + 192, height: 88, backgroundImage: steel, boxShadow: \"inset 0 1px 0 rgba(255,255,255,0.95), inset 0 -2px 1px rgba(0,0,0,0.4), inset 1px 0 0 rgba(255,255,255,0.5), inset -1px 0 0 rgba(0,0,0,0.25), 0 1px 0 rgba(0,0,0,0.6)\" }}\n            >\n              {[\n                [10, 10],\n                [10, 68],\n              ].flatMap(([x, y]) =>\n                [0, 1].map((r) => (\n                  <span key={`${y}-${r}`} className=\"absolute h-[10px] w-[10px] rounded-full\" style={{ [r ? \"right\" : \"left\"]: x, top: y, background: \"radial-gradient(circle at 35% 30%,#fff,#b1b7ba 50%,#5b6367)\", boxShadow: \"0 1px 1px rgba(0,0,0,0.5), inset 0 0 0 0.5px rgba(0,0,0,0.3)\" }}>\n                    <span className=\"absolute left-[1px] right-[1px] top-[4.5px] h-[1px] bg-black/50\" style={{ transform: `rotate(${x + y + r * 50}deg)` }} />\n                  </span>\n                )),\n              )}\n              {people.map((p, i) => (\n                <div key={p.name} className=\"absolute top-0 h-full\" style={{ left: 96 + PITCH * i - PITCH / 2, width: PITCH }}>\n                  <p className=\"absolute inset-x-0 top-[15px] text-center font-mono text-[10.5px] font-bold uppercase tracking-[0.16em] text-[#26292b]\" style={{ textShadow: \"0 1px 0 rgba(255,255,255,0.75)\" }}>\n                    {p.name.split(\" \")[0]}\n                  </p>\n                  <p className=\"absolute inset-x-0 top-[31px] text-center font-mono text-[7px] uppercase tracking-[0.2em] text-[#3d4245]\" style={{ textShadow: \"0 1px 0 rgba(255,255,255,0.6)\" }}>\n                    {p.role}\n                  </p>\n                  <span\n                    className=\"absolute left-[18px] top-[17px] h-[9px] w-[9px] rounded-full\"\n                    style={{\n                      background: busy === i ? \"radial-gradient(circle at 40% 35%,#fff6d8,#ffb21c 45%,#c26a00)\" : \"radial-gradient(circle at 40% 35%,#8a5a3a,#4a2412 55%,#2a1208)\",\n                      boxShadow: busy === i ? \"0 0 10px 3px rgba(255,170,30,0.75), 0 0 0 1.5px #6f777b\" : \"0 0 0 1.5px #6f777b, inset 0 1px 1px rgba(0,0,0,0.6)\",\n                    }}\n                  />\n                  {/* the slit, its pressed surround and felt lips */}\n                  <div className=\"absolute bottom-[1px] left-1/2 h-[25px] w-[138px] -translate-x-1/2 rounded-t-[7px]\" style={{ background: \"linear-gradient(180deg,#8e9498,#b9bec1 40%,#d9dcdd)\", boxShadow: \"inset 0 2px 3px rgba(0,0,0,0.45), inset 0 -1px 0 rgba(255,255,255,0.6)\" }}>\n                    <div className=\"absolute bottom-0 left-1/2 h-[12px] w-[124px] -translate-x-1/2 rounded-t-[4px]\" style={{ background: \"linear-gradient(180deg,#000 0%,#0a0a0a 55%,#2a2624 100%)\", boxShadow: \"inset 0 3px 4px #000, 0 -1px 0 rgba(0,0,0,0.5)\" }} />\n                  </div>\n                </div>\n              ))}\n            </div>\n          </div>\n        </motion.div>\n      </div>\n\n      <div className=\"pointer-events-none absolute inset-x-0 bottom-0 flex items-end justify-between gap-4 p-4 sm:p-7\">\n        <p className=\"font-mono text-[10px] uppercase leading-relaxed tracking-[0.18em] text-stone-200 sm:text-[11px]\">\n          <span className=\"font-bold\">{club}</span>\n          <br />\n          <span className=\"text-stone-400\">Press a strip to print it again</span>\n        </p>\n        <div className=\"pointer-events-auto flex gap-2 md:hidden\">\n          <button type=\"button\" onClick={() => step(-1)} aria-label=\"Move along the booth to the left\" className=\"grid h-10 w-10 place-items-center rounded-full border border-white/25 bg-black/40 text-stone-100 focus:outline-none focus-visible:ring-2 focus-visible:ring-amber-300 active:scale-95\">\n            <ChevronLeft aria-hidden=\"true\" className=\"h-4 w-4\" />\n          </button>\n          <button type=\"button\" onClick={() => step(1)} aria-label=\"Move along the booth to the right\" className=\"grid h-10 w-10 place-items-center rounded-full border border-white/25 bg-black/40 text-stone-100 focus:outline-none focus-visible:ring-2 focus-visible:ring-amber-300 active:scale-95\">\n            <ChevronRight aria-hidden=\"true\" className=\"h-4 w-4\" />\n          </button>\n        </div>\n      </div>\n    </section>\n  );\n}\n"}]}
