{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"valve-chassis-where-glass-feature-tubes-plug-in-warm-up-and-light-parts-of-a-site-on-a-blue-display","type":"registry:component","title":"Valve Chassis Where Glass Feature Tubes Plug In, Warm Up and Light Parts of a Site on a Blue Display","description":"Glass valves for bookings, shop, blog and contact plug into a metal chassis, warm to a blue glow and light parts of a site. Free React and HTML to copy.","dependencies":["framer-motion"],"files":[{"path":"components/we-inc/valve-chassis-where-glass-feature-tubes-plug-in-warm-up-and-light-parts-of-a-site-on-a-blue-display.tsx","type":"registry:component","content":"import { useEffect, useLayoutEffect, useRef, useState } from \"react\";\nimport type { CSSProperties, PointerEvent as ReactPointerEvent, ReactNode } from \"react\";\nimport { motion, useReducedMotion } from \"framer-motion\";\n\n// One glass valve per feature, left to right. `tag` is the short word printed on the display cell.\nconst parts = [\n  { id: \"book\", name: \"Bookings\", tag: \"Book\" },\n  { id: \"shop\", name: \"Shop\", tag: \"Shop\" },\n  { id: \"blog\", name: \"Blog\", tag: \"Blog\" },\n  { id: \"form\", name: \"Contact\", tag: \"Form\" },\n] as const;\nconst school = \"Tidewater Surf School\";\nconst headline = \"Lessons at first light.\";\n\nconst W = 520, H = 600; // drawn at this size, then scaled as one object\nconst LIFT = 58; // how far a pulled valve hangs above its socket\nconst FONT = '\"Inter Tight\", \"Inter\", ui-sans-serif, system-ui, sans-serif';\nconst LIT = \"#cfe3ff\";\nconst useIsoLayoutEffect = typeof window !== \"undefined\" ? useLayoutEffect : useEffect;\n\nfunction Glyph({ id, size = 26, stroke = 2 }: { id: string; size?: number; stroke?: number }) {\n  return (\n    <svg aria-hidden=\"true\" viewBox=\"0 0 24 24\" width={size} height={size} fill=\"none\" stroke=\"currentColor\" strokeWidth={stroke} strokeLinecap=\"round\" strokeLinejoin=\"round\">\n      {id === \"book\" && <><rect x=\"3.5\" y=\"5\" width=\"17\" height=\"15\" rx=\"2.5\" /><path d=\"M3.5 10h17M8 3v4M16 3v4\" /></>}\n      {id === \"shop\" && <><path d=\"M5 8h14l-1.2 11.5H6.2z\" /><path d=\"M9 8V6.5a3 3 0 0 1 6 0V8\" /></>}\n      {id === \"blog\" && <path d=\"M5 6h14M5 10.5h14M5 15h14M5 19.5h8\" />}\n      {id === \"form\" && <><rect x=\"3.5\" y=\"5.5\" width=\"17\" height=\"13\" rx=\"2.5\" /><path d=\"M4 7.5l8 6 8-6\" /></>}\n    </svg>\n  );\n}\n\n// Anything that glows is wrapped in this: it stutters up like a heater coming to temperature and fades out when the valve is pulled.\nfunction Warm({ on, delay = 0, className, style, children }: { on: boolean; delay?: number; className?: string; style?: CSSProperties; children?: ReactNode }) {\n  const reduce = useReducedMotion();\n  return (\n    <motion.span\n      aria-hidden=\"true\"\n      initial={false}\n      animate={{ opacity: on ? (reduce ? 1 : [0, 0.5, 0.2, 0.8, 0.62, 1]) : 0 }}\n      transition={reduce ? { duration: 0 } : on ? { duration: 0.75, delay: 0.16 + delay, times: [0, 0.18, 0.3, 0.55, 0.7, 1] } : { duration: 0.35 }}\n      className={className}\n      style={style}\n    >\n      {children}\n    </motion.span>\n  );\n}\n\nfunction Valve({ part, index, on, onToggle }: { part: (typeof parts)[number]; index: number; on: boolean; onToggle: () => void }) {\n  const reduce = useReducedMotion();\n  return (\n    <motion.button\n      type=\"button\"\n      aria-pressed={on}\n      aria-label={`${part.name} valve`}\n      onClick={onToggle}\n      initial={false}\n      animate={{ y: on ? 0 : -LIFT, rotate: on ? 0 : index % 2 ? 2.2 : -2.2 }}\n      whileHover={reduce ? undefined : { y: on ? -5 : -LIFT - 6 }}\n      transition={reduce ? { duration: 0 } : on ? { type: \"spring\", stiffness: 480, damping: 22, mass: 0.9 } : { type: \"spring\", stiffness: 220, damping: 16 }}\n      style={{ left: 48.5 + index * 115, transformOrigin: \"50% 100%\" }}\n      className=\"valve-chassis-site-valve absolute top-[134px] h-[200px] w-[78px] cursor-pointer rounded-t-[40px] outline-none\"\n    >\n      {/* pins */}\n      <span aria-hidden=\"true\" style={{ opacity: on ? 0 : 1 }} className=\"absolute left-[19px] top-[184px] flex h-[14px] w-[40px] justify-between transition-opacity duration-150\">\n        {[0, 1, 2, 3, 4].map((p) => <i key={p} className=\"h-full w-[3px] rounded-b-full bg-[linear-gradient(90deg,#f1f3f7_0%,#8d93a1_55%,#4a4f5b_100%)]\" />)}\n      </span>\n      {/* bakelite base with a chrome band */}\n      <span aria-hidden=\"true\" className=\"absolute left-[7px] top-[150px] h-[35px] w-[64px] rounded-b-[7px] rounded-t-[3px] bg-[linear-gradient(90deg,#3a3f4c_0%,#191c24_18%,#07080b_52%,#12141a_82%,#2c303b_100%)] shadow-[inset_0_-2px_2px_rgba(0,0,0,0.8)]\">\n        <span className=\"absolute inset-x-0 top-0 h-[6px] rounded-t-[3px] bg-[linear-gradient(90deg,#f6f8fb_0%,#9aa1ae_16%,#3c414d_48%,#7d8492_78%,#e9edf3_100%)] shadow-[0_1px_0_rgba(0,0,0,0.7)]\" />\n        <span className=\"absolute inset-x-0 top-[13px] text-center font-mono text-[7.5px] font-bold uppercase tracking-[0.16em] text-[#F6F4EF]/80\">{part.name}</span>\n        <Warm on={on} className=\"absolute inset-x-0 top-0 h-[6px] rounded-t-[3px] bg-[linear-gradient(90deg,rgba(79,152,251,0.2),rgba(150,196,255,0.95),rgba(79,152,251,0.2))] mix-blend-screen\" />\n      </span>\n      {/* exhaust tip on the crown */}\n      <span aria-hidden=\"true\" className=\"absolute left-[33px] top-[-6px] h-[12px] w-[12px] rounded-t-full border border-b-0 border-white/25 bg-[linear-gradient(90deg,rgba(255,255,255,0.3),rgba(255,255,255,0.02)_45%,rgba(255,255,255,0.14))]\" />\n\n      {/* the glass envelope and everything inside it */}\n      <span aria-hidden=\"true\" className=\"absolute left-[3px] top-0 h-[152px] w-[72px] overflow-hidden rounded-b-[9px] rounded-t-[36px] bg-[#0d1017]/70 shadow-[inset_0_0_0_1px_rgba(255,255,255,0.2),inset_0_-10px_14px_-6px_rgba(0,0,0,0.7)]\">\n        {/* glow filling the bottle */}\n        <Warm on={on} className=\"absolute inset-0 bg-[radial-gradient(60%_46%_at_50%_58%,rgba(150,198,255,0.85)_0%,rgba(79,152,251,0.42)_45%,rgba(79,152,251,0)_100%)]\" />\n        {/* support rods */}\n        <i className=\"absolute left-[16px] top-[34px] h-[118px] w-[1.5px] bg-[linear-gradient(180deg,#c8ccd6,#5c6170)]\" />\n        <i className=\"absolute right-[16px] top-[34px] h-[118px] w-[1.5px] bg-[linear-gradient(180deg,#c8ccd6,#5c6170)]\" />\n        {/* mica spacers */}\n        <i className=\"absolute left-[8px] top-[38px] h-[5px] w-[56px] rounded-full bg-[linear-gradient(180deg,rgba(236,232,220,0.75),rgba(150,146,136,0.55))] shadow-[0_1px_0_rgba(0,0,0,0.5)]\" />\n        <i className=\"absolute left-[8px] top-[122px] h-[5px] w-[56px] rounded-full bg-[linear-gradient(180deg,rgba(236,232,220,0.7),rgba(150,146,136,0.5))] shadow-[0_1px_0_rgba(0,0,0,0.5)]\" />\n        {/* the plate: a folded grey metal box with the feature cut out of its face */}\n        <span className=\"absolute left-[15px] top-[45px] h-[76px] w-[42px] rounded-[3px] bg-[linear-gradient(90deg,#5b6170_0%,#343946_14%,#20242d_50%,#2f3440_86%,#565c6b_100%)] shadow-[inset_0_1px_0_rgba(255,255,255,0.3),inset_0_-1px_0_rgba(0,0,0,0.6),0_2px_5px_rgba(0,0,0,0.6)]\">\n          <i className=\"absolute inset-x-[5px] top-[5px] h-[1px] bg-black/50\" />\n          <i className=\"absolute inset-x-[5px] bottom-[5px] h-[1px] bg-black/50\" />\n          <span className=\"absolute inset-0 flex items-center justify-center text-[#07080b]\"><Glyph id={part.id} /></span>\n          <Warm on={on} className=\"absolute inset-0 flex items-center justify-center text-[#e4f0ff] [filter:drop-shadow(0_0_3px_#4F98FB)_drop-shadow(0_0_9px_rgba(79,152,251,0.95))]\"><Glyph id={part.id} /></Warm>\n        </span>\n        {/* silvered getter flash inside the crown */}\n        <i className=\"absolute inset-x-0 top-0 h-[40px] bg-[radial-gradient(70%_100%_at_50%_0%,rgba(214,221,233,0.75)_0%,rgba(120,128,144,0.5)_45%,rgba(60,66,80,0)_100%)]\" />\n        {/* reflections on the glass; they slide a little with the pointer */}\n        <i className=\"valve-chassis-site-streak absolute left-[8px] top-[20px] h-[104px] w-[5px] rounded-full bg-[linear-gradient(180deg,rgba(255,255,255,0)_0%,rgba(255,255,255,0.85)_18%,rgba(255,255,255,0.5)_60%,rgba(255,255,255,0)_100%)] blur-[0.6px]\" />\n        <i className=\"valve-chassis-site-streak absolute left-[16px] top-[30px] h-[60px] w-[2px] rounded-full bg-white/30\" />\n        <i className=\"absolute right-[6px] top-[30px] h-[96px] w-[9px] rounded-full bg-[linear-gradient(180deg,rgba(255,255,255,0)_0%,rgba(255,255,255,0.2)_30%,rgba(255,255,255,0.08)_80%,rgba(255,255,255,0)_100%)]\" />\n        <i className=\"absolute inset-0 rounded-b-[9px] rounded-t-[36px] bg-[linear-gradient(90deg,rgba(255,255,255,0.16)_0%,rgba(255,255,255,0)_16%,rgba(255,255,255,0)_82%,rgba(255,255,255,0.1)_100%)]\" />\n      </span>\n      {/* bloom outside the glass */}\n      <Warm on={on} className=\"pointer-events-none absolute left-[-46px] top-[6px] h-[170px] w-[170px] rounded-full bg-[radial-gradient(closest-side,rgba(79,152,251,0.5),rgba(79,152,251,0.14)_55%,rgba(79,152,251,0))]\" />\n    </motion.button>\n  );\n}\n\n// A cell of the display. The unlit drawing stays faintly visible, the way a cold fluorescent display shows its segments.\nfunction Cell({ on, tag, delay, children }: { on: boolean; tag: string; delay: number; children: ReactNode }) {\n  const body = (\n    <span className=\"flex h-full flex-col justify-between p-[7px]\">\n      <span className=\"flex flex-1 items-center\">{children}</span>\n      <span className=\"font-mono text-[7.5px] font-bold uppercase tracking-[0.24em]\">{tag}</span>\n    </span>\n  );\n  return (\n    <span className=\"relative block h-[70px] rounded-[5px] border border-current/30\" style={{ borderColor: \"rgba(79,152,251,0.16)\" }}>\n      <span className=\"absolute inset-0 text-[#4F98FB] opacity-[0.13]\">{body}</span>\n      <Warm on={on} delay={delay} className=\"absolute inset-0 rounded-[5px] bg-[#4F98FB]/[0.13] [text-shadow:0_0_6px_rgba(79,152,251,0.95)] [filter:drop-shadow(0_0_4px_rgba(79,152,251,0.75))]\" style={{ color: LIT }}>{body}</Warm>\n    </span>\n  );\n}\n\nexport default function FeatureValveChassis() {\n  const reduce = useReducedMotion();\n  const root = useRef<HTMLDivElement>(null);\n  const [scale, setScale] = useState(1);\n  const [seated, setSeated] = useState<boolean[]>([true, true, true, true]);\n  const [auto, setAuto] = useState(true);\n  const [tick, setTick] = useState(0);\n  const [said, setSaid] = useState(\"\");\n\n  useIsoLayoutEffect(() => {\n    const el = root.current;\n    if (!el) return;\n    const fit = () => setScale(Math.min(1.22, (el.clientWidth - 20) / W));\n    fit();\n    const ro = new ResizeObserver(fit);\n    ro.observe(el);\n    return () => ro.disconnect();\n  }, []);\n\n  // The self-running demo: four valves drop home in turn, then one is pulled and reseated every few seconds.\n  useIsoLayoutEffect(() => {\n    if (reduce || !auto) return;\n    const ids: number[] = [];\n    const at = (ms: number, fn: () => void) => { ids.push(window.setTimeout(fn, ms)); };\n    const put = (i: number, v: boolean) => setSeated((s) => s.map((x, k) => (k === i ? v : x)));\n    setSeated([false, false, false, false]);\n    parts.forEach((_, i) => at(240 + i * 290, () => put(i, true)));\n    let n = 0;\n    const cycle = () => {\n      const i = [2, 0, 3, 1][n++ % 4];\n      put(i, false);\n      at(1700, () => put(i, true));\n      at(5600, cycle);\n    };\n    at(6600, cycle);\n    return () => ids.forEach((id) => window.clearTimeout(id));\n  }, [reduce, auto]);\n\n  useEffect(() => {\n    if (reduce) return;\n    const id = window.setInterval(() => setTick((t) => t + 1), 900);\n    return () => window.clearInterval(id);\n  }, [reduce]);\n\n  const toggle = (i: number) => {\n    setAuto(false);\n    setSeated((s) => s.map((x, k) => (k === i ? !x : x)));\n    setSaid(`${parts[i].name} valve ${seated[i] ? \"pulled\" : \"seated\"}.`);\n  };\n  const all = seated.every(Boolean);\n  const any = seated.some(Boolean);\n  const setAll = () => { setAuto(false); setSeated(parts.map(() => !all)); setSaid(all ? \"All valves pulled.\" : \"All valves seated.\"); };\n  const onMove = (e: ReactPointerEvent<HTMLDivElement>) => {\n    if (reduce) return;\n    const b = e.currentTarget.getBoundingClientRect();\n    e.currentTarget.style.setProperty(\"--valve-chassis-site-mx\", String(((e.clientX - b.left) / b.width - 0.5) * 2));\n  };\n\n  return (\n    <div ref={root} onPointerMove={onMove} style={{ fontFamily: FONT }} className=\"relative flex min-h-[520px] w-full items-center justify-center overflow-hidden bg-[#0B0D12] bg-[radial-gradient(80%_60%_at_50%_44%,#1b202c_0%,#0f1218_52%,#07080b_100%)] py-8 sm:min-h-[820px]\">\n      <div style={{ width: W * scale, height: H * scale }} className=\"relative\">\n        <div style={{ width: W, height: H, transform: `scale(${scale})`, transformOrigin: \"0 0\" }} className=\"absolute left-0 top-0\">\n          {/* light spilling on the table */}\n          <span aria-hidden=\"true\" className=\"absolute left-[10px] top-[548px] h-[46px] w-[500px] rounded-[50%] bg-black/80 blur-[14px]\" />\n          <span aria-hidden=\"true\" style={{ opacity: any ? 1 : 0 }} className=\"absolute left-[60px] top-[552px] h-[40px] w-[400px] rounded-[50%] bg-[#4F98FB]/30 blur-[22px] transition-opacity duration-700 motion-reduce:transition-none\" />\n\n          {/* The top deck of the chassis, seen from just above, with four sockets */}\n          <div aria-hidden=\"true\" className=\"absolute left-[30px] top-[296px] h-[36px] w-[460px] bg-[linear-gradient(180deg,#2c313d_0%,#4a505e_60%,#6b7282_100%)] [clip-path:polygon(4%_0,96%_0,100%_100%,0_100%)]\">\n            <span className=\"absolute inset-0 opacity-50 [background:repeating-linear-gradient(90deg,rgba(255,255,255,0.07)_0_1px,rgba(0,0,0,0.07)_1px_3px)]\" />\n            {parts.map((p, i) => (\n              <span key={p.id} className=\"absolute top-[7px] h-[20px] w-[82px] rounded-[50%] bg-[#020203] shadow-[0_0_0_2px_#aeb5c2,0_0_0_3px_#3a3f4b,0_2px_0_3px_rgba(255,255,255,0.25),inset_0_4px_5px_rgba(0,0,0,1)]\" style={{ left: 16.5 + i * 115 }}>\n                <Warm on={seated[i]} className=\"absolute -inset-x-[14px] -inset-y-[8px] rounded-[50%] bg-[radial-gradient(closest-side,rgba(110,170,255,0.75),rgba(79,152,251,0))]\" />\n              </span>\n            ))}\n          </div>\n\n          {parts.map((p, i) => <Valve key={p.id} part={p} index={i} on={seated[i]} onToggle={() => toggle(i)} />)}\n\n          {/* The front of the chassis */}\n          <div className=\"absolute left-[30px] top-[330px] h-[232px] w-[460px] rounded-b-[16px] rounded-t-[3px] bg-[#14171f] bg-[linear-gradient(180deg,#2a2f3b_0%,#181b24_10%,#11141b_70%,#0a0c11_100%)] shadow-[inset_0_1px_0_rgba(255,255,255,0.4),inset_0_-1px_0_rgba(255,255,255,0.06),inset_1px_0_0_rgba(255,255,255,0.08),inset_-1px_0_0_rgba(0,0,0,0.6),0_3px_0_#050608,0_24px_30px_-8px_rgba(0,0,0,0.85)]\">\n            <span aria-hidden=\"true\" className=\"pointer-events-none absolute inset-0 rounded-b-[16px] opacity-70 [background:repeating-linear-gradient(180deg,rgba(255,255,255,0.028)_0_1px,rgba(0,0,0,0.05)_1px_2px)]\" />\n            {/* blue light from the valves falling down the face */}\n            <span aria-hidden=\"true\" className=\"pointer-events-none absolute inset-x-0 top-0 h-[40px]\">\n              {parts.map((p, i) => <Warm key={p.id} on={seated[i]} className=\"absolute top-0 h-[40px] w-[110px] bg-[radial-gradient(60%_100%_at_50%_0%,rgba(79,152,251,0.42),rgba(79,152,251,0))]\" style={{ left: 2.5 + i * 115 }} />)}\n            </span>\n            {/* engraved socket names */}\n            <div aria-hidden=\"true\" className=\"absolute inset-x-0 top-[11px] h-[10px]\">\n              {parts.map((p, i) => <span key={p.id} className=\"absolute w-[115px] text-center font-mono text-[7.5px] font-bold uppercase tracking-[0.26em] text-[#F6F4EF]/55 [text-shadow:0_-1px_0_rgba(0,0,0,0.9)]\" style={{ left: i * 115 }}>V{i + 1}</span>)}\n            </div>\n            {/* corner screws */}\n            {[\"left-[9px] top-[9px]\", \"right-[9px] top-[9px]\", \"left-[9px] bottom-[10px]\", \"right-[9px] bottom-[10px]\"].map((c) => (\n              <span key={c} aria-hidden=\"true\" className={`absolute ${c} h-[9px] w-[9px] rounded-full bg-[radial-gradient(circle_at_35%_30%,#dfe3ea_0%,#7b8290_55%,#2e323c_100%)] shadow-[0_1px_1px_rgba(0,0,0,0.9)]`}><i className=\"absolute left-[1.5px] top-[4px] h-[1px] w-[6px] rotate-[-32deg] bg-black/70\" /></span>\n            ))}\n\n            {/* The display: black glass over a blue fluorescent drawing of the site */}\n            <div aria-hidden=\"true\" className=\"absolute left-[22px] top-[30px] h-[142px] w-[416px] overflow-hidden rounded-[9px] bg-[#020304] shadow-[inset_0_2px_6px_rgba(0,0,0,1),inset_0_0_0_1px_#000,0_1px_0_rgba(255,255,255,0.16),0_-1px_0_rgba(0,0,0,0.8)]\">\n              <div className=\"absolute inset-0 px-[13px] pt-[10px]\">\n                <div className=\"flex items-center justify-between font-mono text-[7.5px] font-bold uppercase tracking-[0.22em] [text-shadow:0_0_6px_rgba(79,152,251,0.9)]\" style={{ color: LIT }}>\n                  <span>{school}</span>\n                  <span className=\"flex gap-[10px]\">\n                    {parts.map((p, i) => <span key={p.id} className=\"transition-opacity duration-500\" style={{ opacity: seated[i] ? 1 : 0.16 }}>{p.tag}</span>)}\n                  </span>\n                </div>\n                <p className=\"mt-[5px] text-[20px] font-extrabold leading-[1.1] tracking-[-0.035em] [text-shadow:0_0_8px_rgba(79,152,251,0.95),0_0_22px_rgba(79,152,251,0.55)]\" style={{ color: \"#d3e6ff\" }}>{headline}</p>\n                <div className=\"mt-[7px] grid grid-cols-4 gap-[7px]\">\n                  <Cell on={seated[0]} tag={parts[0].tag} delay={0.1}>\n                    <span className=\"grid w-full grid-cols-7 gap-[2.5px]\">\n                      {Array.from({ length: 21 }, (_, k) => <i key={k} className=\"h-[6px] rounded-[1.5px] bg-current\" style={{ opacity: k === 3 + ((tick * 3) % 15) ? 1 : 0.4 }} />)}\n                    </span>\n                  </Cell>\n                  <Cell on={seated[1]} tag={parts[1].tag} delay={0.1}>\n                    <span className=\"flex w-full justify-between\">\n                      {[0, 1, 2].map((k) => <span key={k} className=\"flex w-[22px] flex-col gap-[3px]\"><i className=\"h-[20px] rounded-[2.5px] border-[1.5px] border-current\" style={{ background: k === tick % 3 ? \"currentColor\" : \"transparent\" }} /><i className=\"h-[2.5px] w-[14px] rounded-full bg-current\" /></span>)}\n                    </span>\n                  </Cell>\n                  <Cell on={seated[2]} tag={parts[2].tag} delay={0.1}>\n                    <span className=\"flex w-full flex-col gap-[4px]\"><i className=\"h-[5px] w-[70%] rounded-full bg-current\" /><i className=\"h-[2.5px] w-full rounded-full bg-current opacity-60\" /><i className=\"h-[2.5px] w-full rounded-full bg-current opacity-60\" /><i className=\"h-[2.5px] w-[55%] rounded-full bg-current opacity-60\" /></span>\n                  </Cell>\n                  <Cell on={seated[3]} tag={parts[3].tag} delay={0.1}>\n                    <span className=\"flex w-full flex-col gap-[3.5px]\"><i className=\"h-[9px] rounded-[2.5px] border-[1.5px] border-current\" /><i className=\"h-[9px] rounded-[2.5px] border-[1.5px] border-current\" /><i className=\"h-[7px] w-[26px] self-end rounded-full bg-current\" /></span>\n                  </Cell>\n                </div>\n              </div>\n              {/* fine grid of the display mesh, then the glass */}\n              <span className=\"pointer-events-none absolute inset-0 opacity-40 [background:repeating-linear-gradient(0deg,rgba(0,0,0,0.5)_0_1px,transparent_1px_2px)]\" />\n              <span className=\"pointer-events-none absolute inset-0 bg-[linear-gradient(112deg,rgba(255,255,255,0.13)_0%,rgba(255,255,255,0.03)_22%,rgba(255,255,255,0)_36%)]\" />\n            </div>\n\n            {/* under the display: mains lamp, engraved line, one real button */}\n            <div className=\"absolute inset-x-[24px] bottom-[14px] flex h-[40px] items-center justify-between\">\n              <span aria-hidden=\"true\" className=\"flex items-center gap-[8px]\">\n                <span style={{ background: any ? \"radial-gradient(circle at 35% 30%, #e6f1ff 0%, #4F98FB 55%, #23529a 100%)\" : \"radial-gradient(circle at 35% 30%, #4b505c 0%, #1c1f27 70%)\", boxShadow: any ? \"0 0 12px 3px rgba(79,152,251,0.7), 0 0 0 2px #05060a, 0 0 0 3px #7b8290\" : \"0 0 0 2px #05060a, 0 0 0 3px #7b8290\" }} className=\"h-[10px] w-[10px] rounded-full transition-[background,box-shadow] duration-300 motion-reduce:transition-none\" />\n                <span className=\"font-mono text-[7.5px] font-bold uppercase tracking-[0.26em] text-[#F6F4EF]/55 [text-shadow:0_-1px_0_rgba(0,0,0,0.9)]\">Live</span>\n              </span>\n              <span className=\"font-mono text-[7.5px] font-bold uppercase tracking-[0.26em] text-[#F6F4EF]/55 [text-shadow:0_-1px_0_rgba(0,0,0,0.9)]\">Site chassis / {seated.filter(Boolean).length} of 4 warm</span>\n              <button type=\"button\" onClick={setAll} className=\"h-[40px] rounded-full bg-[#F6F4EF] bg-[linear-gradient(180deg,#ffffff_0%,#F6F4EF_45%,#d9d5ca_100%)] px-[16px] text-[11.5px] font-extrabold tracking-[-0.01em] text-[#0B0D12] shadow-[inset_0_1px_0_#ffffff,0_2px_0_#8f8b80,0_5px_8px_rgba(0,0,0,0.7),0_0_0_3px_rgba(0,0,0,0.5)] outline-none transition-transform duration-100 active:translate-y-[2px] focus-visible:ring-2 focus-visible:ring-[#4F98FB] focus-visible:ring-offset-2 focus-visible:ring-offset-[#11141b] motion-reduce:transition-none\">\n                {all ? \"Pull all\" : \"Seat all\"}\n              </button>\n            </div>\n          </div>\n        </div>\n      </div>\n      <p aria-live=\"polite\" className=\"sr-only\">{said}</p>\n      <style>{`\n        .valve-chassis-site-streak { transform: translateX(calc(var(--valve-chassis-site-mx, 0) * 7px)); transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }\n        .valve-chassis-site-valve:focus-visible { box-shadow: 0 0 0 2px #0B0D12, 0 0 0 4px #4F98FB; }\n        @media (prefers-reduced-motion: reduce) { .valve-chassis-site-streak { transition: none; transform: none; } }\n      `}</style>\n    </div>\n  );\n}\n"}]}
