{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"frosted-window-pane-over-a-photograph-that-thaws-under-a-warm-fingertip-and-freezes-over-again","type":"registry:block","title":"Frosted Window Pane over a Photograph That Thaws Under a Warm Fingertip and Freezes Over Again","description":"Image reveal in WebGL: window frost hides a photograph, melts where the pointer rubs, beads with water and freezes over again. Free React and HTML code.","dependencies":["framer-motion"],"files":[{"path":"components/we-inc/frosted-window-pane-over-a-photograph-that-thaws-under-a-warm-fingertip-and-freezes-over-again.tsx","type":"registry:component","content":"import { useEffect, useRef, useState } from \"react\";\nimport type { KeyboardEvent as ReactKeyboardEvent } from \"react\";\nimport { useReducedMotion } from \"framer-motion\";\n\n// The picture behind the glass. A warm one reads best against the cold of the frost.\nconst view = {\n  src: \"https://images.pexels.com/photos/3760817/pexels-photo-3760817.jpeg?auto=compress&cs=tinysrgb&w=1200\",\n  alt: \"A woman with slicked-back hair in a red jumper against an orange wall, a band of red light across her face\",\n  tone: \"#e08a1c\",\n};\n\n/** Width of the patch a fingertip warms, as a share of the pane's height. */\nconst FINGER = 0.062;\n/** How much warmth the glass loses each second. Raise it and the frost closes in sooner. */\nconst CHILL = 0.1;\n/** The warmth is tracked on a coarse grid this many cells wide and tall. */\nconst GW = 56;\nconst GH = 70;\n\nconst VERT = `attribute vec2 a; void main(){ gl_Position = vec4(a, 0.0, 1.0); }`;\n\nconst FRAG = `precision highp float;\nuniform vec2 u_res;\nuniform sampler2D u_pic;\nuniform sampler2D u_heat;\n\nvec2 hash2(vec2 p){\n  p = vec2(dot(p, vec2(127.1, 311.7)), dot(p, vec2(269.5, 183.3)));\n  return fract(sin(p) * 43758.5453);\n}\nfloat noise(vec2 p){\n  vec2 i = floor(p);\n  vec2 f = fract(p);\n  f = f * f * (3.0 - 2.0 * f);\n  float a = hash2(i).x;\n  float b = hash2(i + vec2(1.0, 0.0)).x;\n  float c = hash2(i + vec2(0.0, 1.0)).x;\n  float d = hash2(i + vec2(1.0, 1.0)).x;\n  return mix(mix(a, b, f.x), mix(c, d, f.x), f.y);\n}\nfloat fbm(vec2 p){\n  float v = 0.0;\n  float amp = 0.5;\n  for (int i = 0; i < 4; i++) { v += amp * noise(p); p = p * 2.03 + 17.0; amp *= 0.5; }\n  return v;\n}\n// Window frost grows outward from scattered seeds. This finds the nearest seed: xy is the vector from it to p,\n// z is how close p is to the border with the next crystal, and who is a random pair for the seed.\nvec3 seed(vec2 p, out vec2 who){\n  vec2 cell = floor(p);\n  vec2 f = fract(p);\n  float d1 = 8.0;\n  float d2 = 8.0;\n  vec2 r = vec2(0.0);\n  who = vec2(0.0);\n  for (int y = -1; y <= 1; y++) {\n    for (int x = -1; x <= 1; x++) {\n      vec2 g = vec2(float(x), float(y));\n      vec2 o = hash2(cell + g);\n      vec2 v = f - g - (0.15 + 0.7 * o);\n      float d = length(v);\n      if (d < d1) { d2 = d1; d1 = d; r = v; who = o; }\n      else if (d < d2) { d2 = d; }\n    }\n  }\n  return vec3(r, d2 - d1);\n}\n// One crystal: straight arms from the seed, each feathered with slanted barbs, and finer needles between them.\nfloat crystal(vec2 p, out vec2 away, out float gap){\n  vec2 who;\n  vec3 s = seed(p, who);\n  gap = s.z;\n  float rho = length(s.xy);\n  away = s.xy / max(rho, 0.0001);\n  // The arms bow a little as they grow, and no two are the same length.\n  float th = atan(s.y, s.x) + who.x * 6.2831 + rho * (who.y - 0.5) * 2.2;\n  float arms = 4.0 + floor(who.y * 4.0);\n  float slice = 6.2831 / arms;\n  float which = floor(th / slice + 0.5);\n  float reach = 0.30 + 0.55 * hash2(vec2(which, who.x * 91.0)).x;\n  float off = abs(fract(th / slice + 0.5) - 0.5) * slice;\n  float lat = rho * sin(min(off, 1.5));\n  float along = rho * cos(min(off, 1.5));\n  float tip = 1.0 - smoothstep(reach * 0.75, reach, along);\n  float arm = exp(-lat * lat * 1700.0) * tip;\n  float barb = pow(abs(sin((along - lat * 1.25) * 58.0)), 5.0) * exp(-lat * (7.0 + 9.0 * along / reach)) * smoothstep(0.02, 0.10, along) * tip;\n  float needle = pow(abs(cos(th * arms * 2.5 + rho * 7.0)), 16.0) * smoothstep(0.04, 0.2, rho) * (1.0 - smoothstep(0.25, 0.5, rho));\n  return clamp(arm + barb * 0.9 + needle * 0.14, 0.0, 1.0) * (0.25 + 0.75 * smoothstep(0.0, 0.10, gap));\n}\n\nvoid main(){\n  vec2 uv = vec2(gl_FragCoord.x / u_res.x, 1.0 - gl_FragCoord.y / u_res.y);\n  float A = u_res.x / u_res.y;\n  vec2 p = vec2(uv.x * A, uv.y);\n\n  // Two sizes of crystal laid over each other: broad ferns, and a fine fur between them.\n  vec2 awayBig;\n  vec2 awayFine;\n  float gapBig;\n  float gapFine;\n  vec2 wobble = (vec2(fbm(p * 2.6), fbm(p * 2.6 + 9.0)) - 0.5) * 0.30;\n  float big = crystal((p + wobble) * 3.4, awayBig, gapBig);\n  float fine = crystal((p + wobble * 0.5) * 9.5 + 4.0, awayFine, gapFine);\n  float fur = pow(1.0 - abs(2.0 * noise(p * 58.0 + wobble * 30.0) - 1.0), 5.0);\n  float thick = fbm(p * 2.2 + 5.0);\n  float frost = max(big, fine * 0.62);\n  float grain = hash2(gl_FragCoord.xy).x;\n\n  float warmth = texture2D(u_heat, uv).r * 1.6;\n  // Frost always holds on round the edge of the pane. The feathered arms are the thickest ice, so they are the last to go.\n  vec2 rim = min(uv, 1.0 - uv);\n  warmth -= 0.42 * (1.0 - smoothstep(0.0, 0.16, min(rim.x * A, rim.y)));\n  float h = warmth + (fbm(p * 7.0) - 0.5) * 0.30 - frost * 0.20 + 0.06;\n  float clear = smoothstep(0.44, 0.58, h);\n  float mist = 1.0 - smoothstep(0.56, 0.86, h);\n  float wet = smoothstep(0.30, 0.46, h) * (1.0 - smoothstep(0.64, 1.0, h));\n\n  // Frost: the picture seen through it is only a blur of colour, pushed about by the crystals.\n  vec2 bend = awayBig * big * 0.010 + awayFine * fine * 0.005;\n  vec3 ice = texture2D(u_pic, clamp(uv + bend, 0.0, 1.0), 4.4).rgb;\n  // Thick in some places and a thin glaze in others.\n  float body = clamp(0.56 + 0.44 * (thick - 0.5), 0.0, 0.86);\n  ice = mix(ice, vec3(dot(ice, vec3(0.3, 0.6, 0.1))), 0.18) * 1.08;\n  ice = mix(ice, vec3(0.80, 0.87, 0.93), body);\n  ice += vec3(0.93, 0.97, 1.0) * (0.34 * big + 0.20 * fine * (0.5 + thick) + 0.10 * fur * thick);\n  // Where two crystals met the ice is thin, and a little more of the picture's colour comes through.\n  ice *= 0.95 + 0.05 * smoothstep(0.0, 0.10, gapBig);\n  ice += (grain - 0.5) * 0.05;\n  // A few crystal faces happen to throw the light straight back.\n  vec2 glint = hash2(floor(p * 190.0));\n  ice += vec3(1.0) * 0.55 * step(0.975, glint.x) * frost * glint.y;\n\n  // Thawed glass: sharp where it is warm, still a little fogged where it has only just cleared.\n  vec3 sharp = texture2D(u_pic, uv).rgb;\n  vec3 foggy = mix(texture2D(u_pic, uv, 2.0).rgb, vec3(0.88, 0.92, 0.95), 0.14);\n  vec3 open = mix(sharp, foggy, mist * 0.7);\n\n  // Meltwater: beads left standing where the ice has just gone. Each one is a tiny lens.\n  vec2 g = p * 46.0;\n  vec2 id = floor(g);\n  vec2 rnd = hash2(id);\n  vec2 rnd2 = hash2(id + 31.7);\n  vec2 centre = id + 0.5 + (rnd - 0.5) * 0.5;\n  float rad = 0.09 + 0.30 * rnd2.x * rnd2.x;\n  float there = step(rnd2.y, wet * 0.5) * clear;\n  vec2 off = (g - centre) / rad;\n  float dd = length(off);\n  float bead = there * (1.0 - smoothstep(0.86, 1.0, dd));\n  vec3 inBead = texture2D(u_pic, clamp(uv - off * rad / 46.0 * 0.9, 0.0, 1.0)).rgb;\n  inBead = inBead * (0.86 + 0.34 * smoothstep(-1.0, 1.0, off.x * 0.5 + off.y * 0.85)) + 0.05;\n  inBead += vec3(1.0) * 0.80 * (1.0 - smoothstep(0.0, 0.24, length(off - vec2(-0.38, -0.42))));\n  inBead *= 1.0 - 0.22 * smoothstep(0.70, 1.0, dd);\n\n  vec3 col = mix(ice, open, clear);\n  // A dark wet line where the ice ends, with a glint just inside it.\n  float brink = smoothstep(0.40, 0.50, h) * (1.0 - smoothstep(0.50, 0.66, h));\n  col *= 1.0 - 0.22 * brink;\n  col += vec3(1.0) * 0.10 * smoothstep(0.50, 0.56, h) * (1.0 - smoothstep(0.56, 0.64, h));\n  col = mix(col, inBead, bead);\n\n  // The pane itself: a long reflection of the room across it and shade under the frame.\n  float streak = 1.0 - smoothstep(0.0, 0.16, abs(uv.x * 0.9 + uv.y * 0.42 - 0.36));\n  float streak2 = 1.0 - smoothstep(0.0, 0.045, abs(uv.x * 0.9 + uv.y * 0.42 - 0.60));\n  col += vec3(0.92, 0.96, 1.0) * (0.085 * streak + 0.06 * streak2) * (1.0 - 0.45 * clear);\n  float edge = min(rim.x * A, rim.y);\n  col *= 0.72 + 0.28 * smoothstep(0.0, 0.035, edge);\n  gl_FragColor = vec4(col, 1.0);\n}`;\n\nexport default function FrostedWindowPaneOverAPhotographThatThawsUnderAWarmFingertipAndFreezesOverAgain() {\n  const reduce = useReducedMotion();\n  const pane = useRef<HTMLButtonElement>(null);\n  const canvas = useRef<HTMLCanvasElement>(null);\n  const photo = useRef<HTMLImageElement>(null);\n  /** Where the fingertip is on the glass (0 to 1 each way), when it last moved, and how many breaths are waiting. */\n  const finger = useRef({ x: 0.5, y: 0.36, at: -1e6, breaths: 0 });\n  const [live, setLive] = useState(false);\n\n  useEffect(() => {\n    const el = pane.current;\n    const cv = canvas.current;\n    const img = photo.current;\n    if (reduce || !el || !cv || !img) return;\n    const gl = cv.getContext(\"webgl\", { antialias: false, alpha: false });\n    if (!gl) return;\n\n    const compile = (type: number, source: string) => {\n      const shader = gl.createShader(type)!;\n      gl.shaderSource(shader, source);\n      gl.compileShader(shader);\n      return shader;\n    };\n    const program = gl.createProgram()!;\n    gl.attachShader(program, compile(gl.VERTEX_SHADER, VERT));\n    gl.attachShader(program, compile(gl.FRAGMENT_SHADER, FRAG));\n    gl.linkProgram(program);\n    if (!gl.getProgramParameter(program, gl.LINK_STATUS)) return;\n    gl.useProgram(program);\n    gl.bindBuffer(gl.ARRAY_BUFFER, gl.createBuffer());\n    gl.bufferData(gl.ARRAY_BUFFER, new Float32Array([-1, -1, 1, -1, -1, 1, 1, 1]), gl.STATIC_DRAW);\n    const at = gl.getAttribLocation(program, \"a\");\n    gl.enableVertexAttribArray(at);\n    gl.vertexAttribPointer(at, 2, gl.FLOAT, false, 0, 0);\n    const u = (name: string) => gl.getUniformLocation(program, name);\n    gl.uniform1i(u(\"u_pic\"), 0);\n    gl.uniform1i(u(\"u_heat\"), 1);\n    const uRes = u(\"u_res\");\n\n    // Warmth of the glass, 0 (frozen) to 1.6 (hot), on a coarse grid. Two copies so it can spread without smearing.\n    let heat = new Float32Array(GW * GH);\n    let next = new Float32Array(GW * GH);\n    const bytes = new Uint8Array(GW * GH);\n    const aspect = () => el.clientWidth / Math.max(1, el.clientHeight);\n    const warm = (fx: number, fy: number, size: number, amount: number) => {\n      const A = aspect();\n      const reach = Math.ceil(size * 3 * GH);\n      const cx = Math.round(fx * (GW - 1));\n      const cy = Math.round(fy * (GH - 1));\n      for (let y = Math.max(0, cy - reach); y <= Math.min(GH - 1, cy + reach); y++) {\n        for (let x = Math.max(0, cx - reach); x <= Math.min(GW - 1, cx + reach); x++) {\n          const dx = (x / (GW - 1) - fx) * A;\n          const dy = y / (GH - 1) - fy;\n          const add = amount * Math.exp(-(dx * dx + dy * dy) / (2 * size * size));\n          heat[y * GW + x] = Math.min(1.6, heat[y * GW + x] + add);\n        }\n      }\n    };\n    // The glass starts with a patch already rubbed clear over the face.\n    warm(0.5, 0.36, 0.15, 1.5);\n\n    gl.activeTexture(gl.TEXTURE1);\n    gl.bindTexture(gl.TEXTURE_2D, gl.createTexture());\n    gl.pixelStorei(gl.UNPACK_ALIGNMENT, 1);\n    gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_S, gl.CLAMP_TO_EDGE);\n    gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_T, gl.CLAMP_TO_EDGE);\n    gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.LINEAR);\n    gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.LINEAR);\n\n    let ready = false;\n    let visible = true;\n    let raf = 0;\n    let last = 0;\n    const started = performance.now();\n\n    const upload = () => {\n      if (ready || !img.complete || !img.naturalWidth) return;\n      try {\n        // The picture is cropped to the pane and drawn into a square sheet, so the card can keep ready-made blurred copies of it.\n        const sheet = document.createElement(\"canvas\");\n        sheet.width = 1024;\n        sheet.height = 1024;\n        const pen = sheet.getContext(\"2d\");\n        if (!pen) return;\n        const A = aspect();\n        const ia = img.naturalWidth / img.naturalHeight;\n        const sw = ia > A ? img.naturalHeight * A : img.naturalWidth;\n        const sh = ia > A ? img.naturalHeight : img.naturalWidth / A;\n        pen.drawImage(img, (img.naturalWidth - sw) / 2, (img.naturalHeight - sh) / 2, sw, sh, 0, 0, 1024, 1024);\n        gl.activeTexture(gl.TEXTURE0);\n        gl.bindTexture(gl.TEXTURE_2D, gl.createTexture());\n        gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGB, gl.RGB, gl.UNSIGNED_BYTE, sheet);\n        gl.generateMipmap(gl.TEXTURE_2D);\n        gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_S, gl.CLAMP_TO_EDGE);\n        gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_T, gl.CLAMP_TO_EDGE);\n        gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.LINEAR_MIPMAP_LINEAR);\n        gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.LINEAR);\n        ready = true;\n        setLive(true);\n      } catch {\n        // The picture could not be read into the shader: the still version underneath stays on show.\n        ready = false;\n      }\n    };\n\n    const resize = () => {\n      const ratio = Math.min(window.devicePixelRatio || 1, 2);\n      cv.width = Math.max(1, Math.round(el.clientWidth * ratio));\n      cv.height = Math.max(1, Math.round(el.clientHeight * ratio));\n      gl.viewport(0, 0, cv.width, cv.height);\n      gl.uniform2f(uRes, cv.width, cv.height);\n    };\n\n    const loop = (stamp: number) => {\n      if (ready) {\n        const t = (stamp - started) / 1000;\n        const dt = Math.min(last ? (stamp - last) / 1000 : 0.016, 0.033);\n        last = stamp;\n        const f = finger.current;\n        if (stamp - f.at < 260) {\n          warm(f.x, f.y, FINGER, dt * 9);\n        } else if (stamp - f.at > 2600) {\n          // Nobody is touching the glass: an unseen finger draws slow loops on it so the frost is always on the move.\n          const fx = 0.5 + 0.27 * Math.sin(t * 0.62 + 0.3) + 0.06 * Math.sin(t * 1.7);\n          const fy = 0.36 + 0.2 * Math.sin(t * 0.47 + 1.4) + 0.05 * Math.cos(t * 1.3);\n          warm(fx, fy, FINGER * 1.15, dt * 5.5);\n        }\n        while (f.breaths > 0) {\n          f.breaths--;\n          warm(f.x, f.y, 0.2, 1.3);\n        }\n        // The warmth spreads a little into its neighbours and leaks away, so the frost creeps back from the outside in.\n        const spread = Math.min(0.2, dt * 2.4);\n        const loss = dt * CHILL;\n        for (let y = 0; y < GH; y++) {\n          for (let x = 0; x < GW; x++) {\n            const i = y * GW + x;\n            const around = (heat[y > 0 ? i - GW : i] + heat[y < GH - 1 ? i + GW : i] + heat[x > 0 ? i - 1 : i] + heat[x < GW - 1 ? i + 1 : i]) * 0.25;\n            const v = heat[i] + (around - heat[i]) * spread - loss;\n            next[i] = v > 0 ? v : 0;\n            bytes[i] = Math.min(255, next[i] * 159.4);\n          }\n        }\n        [heat, next] = [next, heat];\n        gl.activeTexture(gl.TEXTURE1);\n        gl.texImage2D(gl.TEXTURE_2D, 0, gl.LUMINANCE, GW, GH, 0, gl.LUMINANCE, gl.UNSIGNED_BYTE, bytes);\n        gl.drawArrays(gl.TRIANGLE_STRIP, 0, 4);\n      }\n      raf = visible && !document.hidden ? requestAnimationFrame(loop) : 0;\n    };\n    const wake = () => {\n      if (!raf && visible && !document.hidden) {\n        last = 0;\n        raf = requestAnimationFrame(loop);\n      }\n    };\n\n    const ro = new ResizeObserver(resize);\n    ro.observe(el);\n    const io = new IntersectionObserver(([entry]) => {\n      visible = entry.isIntersecting;\n      wake();\n    });\n    io.observe(el);\n    document.addEventListener(\"visibilitychange\", wake);\n    img.addEventListener(\"load\", upload);\n    upload();\n    resize();\n    wake();\n\n    return () => {\n      cancelAnimationFrame(raf);\n      ro.disconnect();\n      io.disconnect();\n      document.removeEventListener(\"visibilitychange\", wake);\n      img.removeEventListener(\"load\", upload);\n    };\n  }, [reduce]);\n\n  function rub(e: { clientX: number; clientY: number; currentTarget: HTMLButtonElement }) {\n    const r = e.currentTarget.getBoundingClientRect();\n    finger.current = { ...finger.current, x: (e.clientX - r.left) / r.width, y: (e.clientY - r.top) / r.height, at: performance.now() };\n  }\n  /** Arrow keys slide the fingertip across the glass. Enter and Space, like a click, breathe a wide warm patch onto it. */\n  function onKey(e: ReactKeyboardEvent<HTMLButtonElement>) {\n    const move: Record<string, [number, number]> = { ArrowLeft: [-0.06, 0], ArrowRight: [0.06, 0], ArrowUp: [0, -0.05], ArrowDown: [0, 0.05] };\n    const by = move[e.key];\n    if (!by) return;\n    e.preventDefault();\n    const f = finger.current;\n    finger.current = { ...f, x: Math.min(0.95, Math.max(0.05, f.x + by[0])), y: Math.min(0.95, Math.max(0.05, f.y + by[1])), at: performance.now() };\n  }\n\n  return (\n    <section className=\"relative isolate flex min-h-[780px] w-full flex-col items-center justify-center overflow-hidden bg-[#d9e0e6] px-4 py-14\">\n      <style>{`\n        .fwp-still { -webkit-backdrop-filter: blur(16px) brightness(1.12) saturate(0.7); backdrop-filter: blur(16px) brightness(1.12) saturate(0.7); background: rgba(226, 236, 244, 0.42); -webkit-mask-image: radial-gradient(62% 48% at 50% 38%, transparent 0 46%, #000 78%); mask-image: radial-gradient(62% 48% at 50% 38%, transparent 0 46%, #000 78%); }\n      `}</style>\n      <div aria-hidden=\"true\" className=\"absolute inset-0 -z-10\" style={{ background: \"radial-gradient(65% 55% at 50% 36%, #f1f5f8 0%, #d9e0e6 60%, #c3ccd4 100%)\" }} />\n\n      {/* The window: a slim painted frame with the pane set back inside it. */}\n      <div className=\"relative w-[min(84vw,420px)] rounded-[5px] bg-[linear-gradient(145deg,#3b3f45_0%,#23262a_45%,#17191c_100%)] p-[11px] shadow-[inset_0_1px_0_rgba(255,255,255,0.28),inset_0_-1px_0_rgba(0,0,0,0.6),0_2px_3px_rgba(40,55,70,0.35),0_30px_44px_-22px_rgba(40,55,70,0.55),0_70px_90px_-50px_rgba(40,55,70,0.6)]\">\n        <button\n          ref={pane}\n          type=\"button\"\n          aria-label=\"Frosted window over a photograph. Move the pointer across the glass to melt the frost, or press Enter to breathe on it. Arrow keys move the warm spot.\"\n          onClick={(e) => {\n            if (e.detail !== 0) rub(e);\n            finger.current.breaths++;\n            finger.current.at = performance.now();\n          }}\n          onPointerMove={rub}\n          onPointerDown={rub}\n          onKeyDown={onKey}\n          className=\"relative block aspect-[4/5] w-full cursor-pointer touch-pan-y overflow-hidden rounded-[2px] shadow-[0_0_0_1px_rgba(0,0,0,0.7),inset_0_0_0_1px_rgba(255,255,255,0.1)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-sky-700 focus-visible:ring-offset-[14px] focus-visible:ring-offset-[#d9e0e6]\"\n          style={{ backgroundColor: view.tone }}\n        >\n          {/* The still version: the photograph with frost left round the edges. Shown with reduced motion or without WebGL. */}\n          <img ref={photo} src={view.src} alt={view.alt} crossOrigin=\"anonymous\" width={1200} height={1800} className=\"absolute inset-0 h-full w-full object-cover\" />\n          <span aria-hidden=\"true\" className=\"fwp-still absolute inset-0 block\" />\n          <canvas ref={canvas} aria-hidden=\"true\" className={`absolute inset-0 h-full w-full transition-opacity duration-500 ${live ? \"opacity-100\" : \"opacity-0\"}`} />\n          <span aria-hidden=\"true\" className=\"pointer-events-none absolute inset-0 block shadow-[inset_0_10px_14px_-8px_rgba(0,0,0,0.55),inset_6px_0_10px_-8px_rgba(0,0,0,0.4)]\" />\n        </button>\n      </div>\n\n      <div className=\"mt-8 flex w-[min(84vw,420px)] items-baseline justify-between gap-4 px-0.5 text-[13px]\">\n        <p className=\"whitespace-nowrap font-semibold text-slate-800\">Minus four</p>\n        <p className=\"text-right text-slate-600\">Rub the glass, or click to breathe</p>\n      </div>\n    </section>\n  );\n}\n"}]}
