CHANGES:
- Set `depthTest: true` in `makeTextSprite` so month/value labels respect 3D depth instead of always rendering on top of bars and grid.
- Replaced the Y-axis tick label sprites with a single `CanvasTexture` plane that lies flat in the XY plane (facing +Z), so the 0–100 ticks align with the vertical axis line as a 2D-style axis.
- Pulled the initial camera in and lowered it to `(11, 8.5, 13)` with `target (0, 3.8, 0)` and reduced `maxDistance` to 36 so the chart fills the viewport instead of sitting small and centered.
- Rewrote `updateHover` to (a) skip while dragging, (b) use the actual raycast intersection point for the tooltip anchor, (c) cache tooltip dimensions (read once when shown / on resize) to avoid per-frame layout thrashing, and (d) keep the tooltip hidden when the anchor projects behind the camera.
- Added `raycaster.firstHitOnly = true` so intersection testing stops at the first bar hit (avoids deep traversal through all 12 meshes).
- Left the working code (lighting, grid, ground, animation, counters, resize, exposure) untouched.

```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MAU 2026 — 3D Bar Chart</title>
<style>
  :root{
    --ink:#12203a; --ink-2:#3d4f6d; --ink-3:#6b7c99;
    --line:rgba(18,32,58,.12);
    --paper:#eef1f6; --card:#ffffff;
    --blue:#2563eb; --amber:#f59e0b;
    --mono: ui-monospace,"SF Mono","JetBrains Mono","Cascadia Code","Roboto Mono",Menlo,Consolas,monospace;
    --sans: "Helvetica Neue",-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;
  }
  *{box-sizing:border-box}
  html,body{height:100%;margin:0}
  body{
    font-family:var(--sans); color:var(--ink);
    background:var(--paper);
    -webkit-font-smoothing:antialiased;
    overflow:hidden;
  }
  #chart{
    position:fixed; inset:0; width:100%; height:100%; display:block; z-index:0;
    background:
      radial-gradient(1200px 720px at 74% 16%, #ffffff 0%, rgba(255,255,255,0) 58%),
      radial-gradient(1000px 900px at 12% 92%, #dfe4ee 0%, rgba(223,228,238,0) 60%),
      linear-gradient(180deg,#f3f5fa 0%,#e7ebf3 100%);
  }

  .hud{position:fixed;z-index:5;pointer-events:none}

  /* Header */
  .top{top:0;left:0;right:0;display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:22px 28px}
  .brand{display:flex;gap:15px;align-items:center}
  .mark{
    width:48px;height:48px;border-radius:13px;display:grid;place-items:center;
    background:linear-gradient(160deg,#2563eb,#1e40af);
    box-shadow:0 12px 26px -10px rgba(37,99,235,.7), inset 0 1px 0 rgba(255,255,255,.4);
    transition:transform .4s cubic-bezier(.2,.8,.2,1);
  }
  .mark:hover{transform:rotate(-6deg) scale(1.05)}
  .mark svg{display:block}
  .kicker{font-family:var(--mono);font-size:11px;letter-spacing:.3em;text-transform:uppercase;color:var(--ink-3);font-weight:600}
  .title{font-size:30px;font-weight:800;letter-spacing:-.025em;margin:3px 0 0;line-height:.95}
  .title .y{color:var(--ink-3);font-weight:600}
  .sub{font-family:var(--mono);font-size:11px;color:var(--ink-2);margin-top:6px;letter-spacing:.01em}

  .stats{display:flex;gap:10px;align-items:stretch}
  .stat{
    background:rgba(255,255,255,.72);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);
    border:1px solid var(--line);border-radius:13px;padding:11px 15px;min-width:104px;
    box-shadow:0 10px 30px -18px rgba(18,32,58,.5);
    transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s;
  }
  .stat:hover{transform:translateY(-3px);box-shadow:0 18px 34px -18px rgba(18,32,58,.55)}
  .stat .k{font-family:var(--mono);font-size:9.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-3);font-weight:600}
  .stat .v{font-family:var(--mono);font-weight:800;font-size:25px;letter-spacing:-.02em;margin-top:5px;line-height:1}
  .stat .u{font-family:var(--mono);font-size:11px;color:var(--ink-3);font-weight:600}
  .stat .d{font-family:var(--mono);font-size:10px;margin-top:5px;color:var(--ink-2)}
  .stat .d.up{color:#15803d}

  /* Legend */
  .legend{
    left:28px;bottom:26px;background:rgba(255,255,255,.72);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);
    border:1px solid var(--line);border-radius:13px;padding:13px 15px;box-shadow:0 14px 34px -20px rgba(18,32,58,.5);
  }
  .legend .k{font-family:var(--mono);font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-3);font-weight:600}
  .legend .bar{width:210px;height:9px;border-radius:6px;margin:9px 0 6px;
    background:linear-gradient(90deg,#2563eb,#3b82f6 30%,#60a5fa 55%,#fbbf24 80%,#f59e0b);
    box-shadow:inset 0 0 0 1px rgba(18,32,58,.06)}
  .legend .ends{display:flex;justify-content:space-between;font-family:var(--mono);font-size:10.5px;color:var(--ink-2);font-weight:600}

  /* Hint */
  .hint{right:28px;bottom:26px;font-family:var(--mono);font-size:11px;color:var(--ink-2);
    background:rgba(255,255,255,.6);border:1px solid var(--line);padding:8px 13px;border-radius:999px;
    display:flex;gap:14px;align-items:center;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
  .hint b{color:var(--ink);font-weight:700}

  /* Tooltip */
  #tooltip{
    position:fixed;top:0;left:0;z-index:20;pointer-events:none;
    background:rgba(15,23,42,.94);color:#fff;border:1px solid rgba(255,255,255,.14);
    border-radius:11px;padding:10px 13px;min-width:132px;
    box-shadow:0 18px 40px -14px rgba(0,0,0,.6);
    opacity:0;transform:translateY(6px) scale(.96);
    transition:opacity .16s ease,transform .16s ease;
    backdrop-filter:blur(4px);
  }
  #tooltip.show{opacity:1;transform:translateY(0) scale(1)}
  #tooltip .tmonth{font-family:var(--mono);font-size:10px;letter-spacing:.2em;text-transform:uppercase;color:#93c5fd;font-weight:700}
  #tooltip .tval{font-family:var(--mono);font-weight:800;font-size:23px;letter-spacing:-.02em;margin-top:3px}
  #tooltip .tsub{font-family:var(--mono);font-size:10.5px;color:#cbd5e1;margin-top:3px}

  /* Entrance */
  .top,.legend,.hint{opacity:0;transform:translateY(-8px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.8,.2,1)}
  .legend{transform:translateY(10px)} .hint{transform:translateY(10px)}
  body.ready .top{opacity:1;transform:none}
  body.ready .legend{opacity:1;transform:none;transition-delay:.12s}
  body.ready .hint{opacity:1;transform:none;transition-delay:.2s}

  @media (max-width:720px){
    .stats{display:none}
    .title{font-size:23px}
    .legend .bar{width:150px}
    .hint{display:none}
  }
</style>
</head>
<body>
  <canvas id="chart"></canvas>

  <header class="hud top">
    <div class="brand">
      <div class="mark">
        <svg width="24" height="24" viewBox="0 0 24 24" fill="none">
          <rect x="3"  y="12" width="4" height="9"  rx="1" fill="#93c5fd"/>
          <rect x="10" y="7"  width="4" height="14" rx="1" fill="#dbeafe"/>
          <rect x="17" y="3"  width="4" height="18" rx="1" fill="#ffffff"/>
        </svg>
      </div>
      <div>
        <div class="kicker">Product Analytics · FY2026</div>
        <h1 class="title">Monthly Active Users <span class="y">'26</span></h1>
        <div class="sub">12 months · 1,254,000 total · +117% Jan→Dec</div>
      </div>
    </div>
    <div class="stats">
      <div class="stat"><div class="k">Peak</div><div class="v" id="st-peak">0</div><div class="u">k users · Dec</div></div>
      <div class="stat"><div class="k">Average</div><div class="v" id="st-avg">0</div><div class="u">k / month</div></div>
      <div class="stat"><div class="k">Growth</div><div class="v" id="st-growth">0<span style="font-size:15px">%</span></div><div class="d up">Jan → Dec</div></div>
    </div>
  </header>

  <div class="hud legend">
    <div class="k">Value scale</div>
    <div class="bar"></div>
    <div class="ends"><span>42k · Jan</span><span>91k · Dec</span></div>
  </div>

  <div class="hud hint"><span><b>Drag</b> orbit</span><span><b>Scroll</b> zoom</span><span><b>Hover</b> inspect</span></div>

  <div id="tooltip">
    <div class="tmonth" id="t-month">—</div>
    <div class="tval" id="t-val">—</div>
    <div class="tsub" id="t-sub">—</div>
  </div>

  <script type="importmap">
  {
    "imports": {
      "three": "https://cdn.jsdelivr.net/npm/three@0.180.0/build/three.module.js",
      "three/addons/": "https://cdn.jsdelivr.net/npm/three@0.180.0/examples/jsm/"
    }
  }
  </script>

  <script type="module">
    import * as THREE from 'three';
    import { OrbitControls } from 'three/addons/controls/OrbitControls.js';

    /* ---------- data ---------- */
    const MONTHS = ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'];
    const VALUES = [42,38,51,47,63,58,71,69,64,77,83,91];
    const N = VALUES.length;
    const minV = Math.min(...VALUES), maxV = Math.max(...VALUES);
    const avgV = VALUES.reduce((a,b)=>a+b,0)/N;
    const totalV = VALUES.reduce((a,b)=>a+b,0);
    const growth = (VALUES[N-1]-VALUES[0])/VALUES[0]*100;

    /* ---------- renderer / scene / camera ---------- */
    const canvas = document.getElementById('chart');
    const renderer = new THREE.WebGLRenderer({ canvas, antialias:true, alpha:true });
    renderer.setPixelRatio(Math.min(window.devicePixelRatio, 2));
    renderer.setSize(window.innerWidth, window.innerHeight);
    renderer.shadowMap.enabled = true;
    renderer.shadowMap.type = THREE.PCFSoftShadowMap;
    renderer.toneMapping = THREE.ACESFilmicToneMapping;
    renderer.toneMappingExposure = 1.06;
    renderer.outputColorSpace = THREE.SRGBColorSpace;

    const scene = new THREE.Scene();
    scene.background = null;
    scene.fog = new THREE.Fog(0xe9edf4, 18, 55);

    const camera = new THREE.PerspectiveCamera(42, window.innerWidth/window.innerHeight, 0.1, 200);
    camera.position.set(11, 8.5, 13);

    const controls = new OrbitControls(camera, renderer.domElement);
    controls.enableDamping = true;
    controls.dampingFactor = 0.07;
    controls.target.set(0, 3.8, 0);
    controls.minDistance = 11;
    controls.maxDistance = 36;
    controls.maxPolarAngle = Math.PI/2 - 0.03;
    controls.minPolarAngle = 0.15;
    controls.update();

    /* ---------- lighting ---------- */
    scene.add(new THREE.HemisphereLight(0xffffff, 0xd8dee8, 0.62));
    scene.add(new THREE.AmbientLight(0xffffff, 0.22));

    const key = new THREE.DirectionalLight(0xfff6ea, 1.35);
    key.position.set(13, 20, 11);
    key.castShadow = true;
    key.shadow.mapSize.set(2048, 2048);
    key.shadow.camera.near = 1; key.shadow.camera.far = 60;
    key.shadow.camera.left = -7.6; key.shadow.camera.right = 7.6;
    key.shadow.camera.top = 10; key.shadow.camera.bottom = -1;
    key.shadow.bias = -0.0004; key.shadow.normalBias = 0.02;
    scene.add(key);

    const fill = new THREE.DirectionalLight(0xdfe9ff, 0.4);
    fill.position.set(-14, 8, -8);
    scene.add(fill);

    /* ---------- ground + grid ---------- */
    const ground = new THREE.Mesh(
      new THREE.PlaneGeometry(60, 40),
      new THREE.ShadowMaterial({ color:0x1b2a44, opacity:0.16 })
    );
    ground.rotation.x = -Math.PI/2;
    ground.position.y = 0;
    ground.receiveShadow = true;
    scene.add(ground);

    const grid = new THREE.GridHelper(30, 30, 0x9aa6bd, 0xc7cfdd);
    grid.material.transparent = true;
    grid.material.opacity = 0.55;
    grid.position.y = 0.002;
    scene.add(grid);

    /* ---------- y axis (line + 2D-style tick labels) ---------- */
    const AXIS_X = -7.0, AXIS_Z = -0.6, AXIS_H = 10;
    const axisMat = new THREE.LineBasicMaterial({ color:0x7383a0, transparent:true, opacity:0.9 });
    const axis = new THREE.Line(
      new THREE.BufferGeometry().setFromPoints([
        new THREE.Vector3(AXIS_X, 0, AXIS_Z), new THREE.Vector3(AXIS_X, AXIS_H, AXIS_Z)
      ]), axisMat
    );
    scene.add(axis);

    const MONO = 'ui-monospace,"SF Mono","JetBrains Mono","Cascadia Code","Roboto Mono",Menlo,Consolas,monospace';

    function makeTextSprite(text, { size=34, weight='800', color='#12203a', pad=0.12, worldH=0.42 } = {}) {
      const dpr = Math.min(window.devicePixelRatio || 1, 2);
      const font = `${weight} ${size}px ${MONO}`;
      const m = document.createElement('canvas').getContext('2d');
      m.font = font;
      const w = Math.ceil(m.measureText(text).width);
      const cw = Math.ceil((w + size*pad*2) * dpr);
      const ch = Math.ceil(size * 1.35 * dpr);
      const c = document.createElement('canvas');
      c.width = cw; c.height = ch;
      const ctx = c.getContext('2d');
      ctx.scale(dpr, dpr);
      ctx.font = font;
      ctx.textAlign = 'center'; ctx.textBaseline = 'middle';
      ctx.fillStyle = color;
      ctx.fillText(text, cw/(2*dpr), ch/(2*dpr));
      const tex = new THREE.CanvasTexture(c);
      tex.anisotropy = renderer.capabilities.getMaxAnisotropy();
      tex.colorSpace = THREE.SRGBColorSpace;
      tex.needsUpdate = true;
      const mat = new THREE.SpriteMaterial({ map:tex, transparent:true, depthTest:true, depthWrite:false });
      const sprite = new THREE.Sprite(mat);
      sprite.renderOrder = 2;
      const aspect = cw/ch;
      sprite.scale.set(worldH*aspect, worldH, 1);
      return sprite;
    }

    /* Y-axis tick labels drawn onto a single plane that lies in the XY plane
       (facing +Z) so the 0–100 ticks align with the vertical axis as a 2D-style axis. */
    const ticks = [0,20,40,60,80,100];
    (function buildAxisLabels(){
      const dpr = Math.min(window.devicePixelRatio || 1, 2);
      const fontSize = 30;
      const pad = 10;
      const c = document.createElement('canvas');
      const ctx = c.getContext('2d');
      const font = `700 ${fontSize}px ${MONO}`;
      ctx.font = font;
      let maxW = 0;
      for (const v of ticks) maxW = Math.max(maxW, ctx.measureText(String(v)).width);
      const cw = Math.ceil((maxW + pad * 2) * dpr);
      const ch = Math.ceil(AXIS_H * 64 * dpr);
      c.width = cw; c.height = ch;
      const g = c.getContext('2d');
      g.scale(dpr, dpr);
      g.font = font;
      g.textAlign = 'right';
      g.textBaseline = 'middle';
      g.fillStyle = '#3d4f6d';
      const w = cw / dpr, h = ch / dpr;
      for (const v of ticks){
        const y = h - (v / 100) * h;
        g.fillText(String(v), w - pad, y);
      }
      const tex = new THREE.CanvasTexture(c);
      tex.anisotropy = renderer.capabilities.getMaxAnisotropy();
      tex.colorSpace = THREE.SRGBColorSpace;
      tex.needsUpdate = true;
      const wWorld = AXIS_H * 0.64;
      const mat = new THREE.MeshBasicMaterial({ map:tex, transparent:true, depthTest:true, depthWrite:false });
      const plane = new THREE.Mesh(new THREE.PlaneGeometry(wWorld, AXIS_H), mat);
      plane.position.set(AXIS_X - 0.55, AXIS_H / 2, AXIS_Z + 0.05);
      scene.add(plane);
    })();

    /* ---------- bars ---------- */
    const geo = new THREE.BoxGeometry(0.8, 1, 0.8);
    geo.translate(0, 0.5, 0);
    const bars = [];
    const labels = [];
    const barColors = [];

    for (let i=0; i<N; i++){
      const v = VALUES[i];
      const h = v/10;
      const t = (v - minV) / (maxV - minV);
      const col = new THREE.Color().lerpColors(new THREE.Color('#2563eb'), new THREE.Color('#f59e0b'), t);
      barColors.push(col.clone());

      const mat = new THREE.MeshStandardMaterial({ color: col.clone(), roughness:0.42, metalness:0.05 });
      const mesh = new THREE.Mesh(geo, mat);
      mesh.position.set((i - (N-1)/2)*1.2, 0, 0);
      mesh.scale.y = 0.0001;
      mesh.castShadow = true;
      mesh.receiveShadow = true;
      mesh.userData = { index:i, month:MONTHS[i], value:v, targetH:h,
                        base:col.clone(), color:col.clone(), highlight:0, targetHighlight:0,
                        targetScaleY:1, scaleY:0.0001, baseY:0 };
      scene.add(mesh);
      bars.push(mesh);

      const label = makeTextSprite(MONTHS[i], { size:34, weight:'800', color:'#12203a', worldH:0.5 });
      label.position.set(mesh.position.x, 0.32, 0.8);
      const value = makeTextSprite(v+'k', { size:32, weight:'800', color:'#33445f', worldH:0.44 });
      value.position.set(mesh.position.x, h + 0.42, 0);
      scene.add(label);
      scene.add(value);
      labels.push({ label, value });
    }

    /* ---------- interaction ---------- */
    const raycaster = new THREE.Raycaster();
    raycaster.firstHitOnly = true;
    const pointer = new THREE.Vector2();
    let hovered = -1, dragging = false;
    const tmpV = new THREE.Vector3();

    function updatePointer(e){
      pointer.x = (e.clientX/window.innerWidth)*2 - 1;
      pointer.y = -(e.clientY/window.innerHeight)*2 + 1;
    }
    renderer.domElement.addEventListener('pointermove', updatePointer);
    renderer.domElement.addEventListener('pointerdown', ()=> dragging = true);
    window.addEventListener('pointerup', ()=> dragging = false);

    const tooltip = document.getElementById('tooltip');
    const tMonth = document.getElementById('t-month');
    const tVal = document.getElementById('t-val');
    const tSub = document.getElementById('t-sub');
    let tipW = 0, tipH = 0;
    function measureTooltip(){ tipW = tooltip.offsetWidth; tipH = tooltip.offsetHeight; }

    function updateHover(){
      if (dragging){
        if (tooltip.classList.contains('show')) tooltip.classList.remove('show');
        return;
      }
      raycaster.setFromCamera(pointer, camera);
      const hits = raycaster.intersectObjects(bars, false);
      hovered = hits.length ? hits[0].object.userData.index : -1;
      renderer.domElement.style.cursor = hovered >= 0 ? 'pointer' : 'grab';
      bars.forEach((b,i)=> b.userData.targetHighlight = (i === hovered) ? 1 : 0);
      if (hovered >= 0){
        const u = bars[hovered].userData;
        tMonth.textContent = u.month;
        tVal.textContent = u.value + 'k';
        tSub.textContent = 'users · ' + (u.index === 0 ? 'baseline' : (u.index === N-1 ? 'peak month' : 'month ' + u.index));
        /* anchor the tooltip to the actual raycast intersection point on the bar */
        const pt = hits[0].point;
        tmpV.copy(pt);
        tmpV.project(camera);
        if (tmpV.z < 1){
          const sx = (tmpV.x*0.5 + 0.5)*window.innerWidth;
          const sy = (-tmpV.y*0.5 + 0.5)*window.innerHeight;
          let left = sx + 16;
          let top = sy - tipH - 14;
          if (left + tipW > window.innerWidth - 12) left = sx - tipW - 16;
          if (left < 12) left = 12;
          if (top < 12) top = sy + 20;
          if (top + tipH > window.innerHeight - 12) top = window.innerHeight - tipH - 12;
          tooltip.style.left = left + 'px';
          tooltip.style.top = top + 'px';
          tooltip.classList.add('show');
        } else {
          /* anchor is behind the camera — keep the tooltip hidden */
          tooltip.classList.remove('show');
        }
      } else {
        tooltip.classList.remove('show');
      }
    }

    /* ---------- resize ---------- */
    window.addEventListener('resize', ()=>{
      camera.aspect = window.innerWidth/window.innerHeight;
      camera.updateProjectionMatrix();
      renderer.setSize(window.innerWidth, window.innerHeight);
      renderer.setPixelRatio(Math.min(window.devicePixelRatio, 2));
      measureTooltip();
    });
    measureTooltip();

    /* ---------- number counters (driven by the main loop) ---------- */
    const counters = [
      { el:document.getElementById('st-peak'), to:91, dur:1.1, fmt:v=>Math.round(v) },
      { el:document.getElementById('st-avg'), to:avgV, dur:1.1, fmt:v=>v.toFixed(1) },
      { el:document.getElementById('st-growth'), to:growth, dur:1.2, fmt:v=>Math.round(v)+'%' },
    ];

    /* ---------- loop ---------- */
    const clock = new THREE.Clock();
    let firstFrame = true;

    function animate(){
      requestAnimationFrame(animate);
      const dt = Math.min(clock.getDelta(), 0.05);
      const time = clock.elapsedTime;

      updateHover();

      bars.forEach((b,i)=>{
        const u = b.userData;
        u.highlight += (u.targetHighlight - u.highlight) * Math.min(1, dt*10);
        u.color.copy(u.base).lerp(new THREE.Color(0xffffff), u.highlight*0.32);
        b.material.color.copy(u.color);

        const grow = 1 - Math.pow(0.0008, dt);
        u.scaleY += (u.targetScaleY - u.scaleY) * grow;
        b.scale.y = Math.max(0.0001, u.scaleY);

        const bob = Math.sin(time*1.4 + i*0.55) * 0.06 * u.highlight;
        u.baseY = u.targetH + 0.42 + bob;
        const lb = labels[i];
        lb.label.position.set(b.position.x, 0.32, 0.8);
        lb.value.position.set(b.position.x, u.baseY, 0);

        const fade = 1 - u.highlight*0.15;
        lb.label.material.opacity = fade;
        lb.value.material.opacity = fade;
      });

      counters.forEach(c=>{
        const p = Math.min(1, time / c.dur);
        const e = 1 - Math.pow(1 - p, 3);
        c.el.innerHTML = c.fmt(c.to * e);
      });

      controls.update();
      renderer.render(scene, camera);

      if (firstFrame){
        firstFrame = false;
        window.__sceneReady = true;
        document.body.classList.add('ready');
      }
    }
    animate();

    /* ---------- expose ---------- */
    window.__app = { scene, camera, renderer, controls, bars };
  </script>
</body>
</html>
```