/* B focus corners: model-drawn poses; one short line; no circular HUD. */
.gesture-video{position:fixed;left:1px;top:1px;width:2px;height:2px;opacity:.001;pointer-events:none}
.ghud{--hud-color:#9d8046;position:fixed;z-index:65;top:116px;top:calc(108px + var(--safe-area-inset-top,0px));left:50%;transform:translateX(-50%);width:184px;text-align:center;color:var(--hud-color);font-family:var(--f-cn);pointer-events:none}
.gh-stage{position:relative;width:80px;height:80px;margin:0 auto 5px;background:rgba(248,247,241,.8);border-radius:13px;isolation:isolate}
.gh-guide,.gh-art{position:absolute;left:0;top:0;width:100%;height:100%}.gh-guide{overflow:hidden;border-radius:13px}.gh-art{display:block;background-image:url('../ui/gesture-guide/focus-c.webp');background-size:400% 400%;background-position:0 0;background-repeat:no-repeat;mix-blend-mode:multiply}
.gh-status{font-size:12px;line-height:1.5;letter-spacing:.1em;margin:0;text-shadow:0 1px 4px rgba(250,248,240,.95);overflow-wrap:break-word}.gh-detail{display:none}
.gh-close{position:absolute;right:0;top:-7px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;pointer-events:auto;border:0;background:transparent;color:inherit;opacity:.65}.gh-close svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.3}
#gesture-sensitivity{display:none;font:inherit;font-size:9px;color:inherit;border:0;background:transparent;pointer-events:auto;padding:0 8px;min-height:36px}
.ghud.is-ready,.ghud.is-closing,.ghud.is-hit.is-jade{--hud-color:#4a927b}.ghud.is-error{--hud-color:#a65e45}.ghud.is-loading .gh-guide{animation:gh-breathe 1.8s ease-in-out infinite}.ghud.is-loading .gh-stage{opacity:.65}
.gh-fallback{display:none}.gh-guide.is-fallback .gh-art{display:none}.gh-guide.is-fallback .gh-fallback{display:block;position:absolute;left:0;right:0;top:31px;font-size:11px}
/* v1.6.4: the runtime atlas ships without its baked brackets (tools/make-guide-corners.py),
   so the four corners are a CSS layer: they breathe while searching and turn green once a
   real hand is present. Geometry matches the original brackets (26/128 inset, 17x15 px). */
.gh-corner{display:block;position:absolute;width:13.3%;height:11.7%;border:0 solid currentColor;color:#8d7038;opacity:.9}
.gh-tl{left:20.3%;top:21.9%;border-width:1px 0 0 1px;border-radius:3px 0 0}
.gh-tr{right:20.3%;top:21.9%;border-width:1px 1px 0 0;border-radius:0 3px 0 0}
.gh-bl{left:20.3%;bottom:16.4%;border-width:0 0 1px 1px;border-radius:0 0 0 3px}
.gh-br{right:20.3%;bottom:16.4%;border-width:0 1px 1px 0;border-radius:0 0 3px 0}
.ghud.is-on:not(.is-detected):not(.is-error) .gh-corner{animation:gh-corner-breathe 2.4s ease-in-out infinite}
.ghud.is-detected .gh-corner{color:#3f9c78;opacity:1}
.ghud.is-detected .gh-art{filter:url('#gesture-ink-green')}
@keyframes gh-corner-breathe{0%,100%{opacity:.52}50%{opacity:1}}
[data-gesture]:disabled{opacity:.4}[data-gesture][aria-pressed=true]{color:var(--gold)}.ghud button:focus{outline:1px solid currentColor;outline-offset:-5px;border-radius:50%}
@keyframes gh-breathe{50%{opacity:.55}}@media(max-width:380px){.ghud{top:102px}}@media(prefers-reduced-motion:reduce){.ghud *{animation:none!important;transition:none!important}}.ar-mode .ghud{display:none!important}
/* Exhibit information opens from the dock; the header contains the brand. */
.label-card{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(12px)}
body.label-open .label-card{opacity:1;visibility:visible;pointer-events:auto;transform:none}
body.label-open .ghud{display:none}
body.dock-settings-open .ghud{display:none}
.group-label .gchip.is-on{color:var(--gold);background:rgba(178,140,74,.08)}

/* Six equal dock entries. The hand entry controls recognition and particles together. */
#dock{width:560px;max-width:calc(100% - 20px);padding:5px 6px;justify-content:space-between}
#dock .group{flex:1 1 0;min-width:0;justify-content:center;padding:0;gap:0}
#dock .group+.group:before{display:none}
#dock .group-icons{flex:2 1 0;display:flex;flex-direction:row;padding:0;gap:0}
#dock .gchip,#dock .ibtn{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:52px;width:100%;padding:6px 0;margin:0;border:0;border-radius:0;background:transparent;font-size:10px;line-height:1.2;letter-spacing:.08em;gap:0}
#dock .group-icons .ibtn{flex:1 1 0}
#dock .gchip svg,#dock .ibtn svg{display:block;flex:0 0 20px;width:20px;height:20px;opacity:1;margin:0 auto 5px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;filter:none}
#dock .gchip>span,#dock .ibtn>span{display:block;margin:0;padding:0;white-space:nowrap;letter-spacing:.08em}
.ar-essential button svg{width:20px;height:20px;flex:0 0 20px;stroke-width:1.4}
@media(max-width:820px){#dock{width:auto;max-width:none;padding:5px 4px}#dock .gchip,#dock .ibtn{font-size:9px;min-height:52px}}


/* Particle atmosphere affects presentation only; capture frames stay original. */
.stage-light,.vignette{opacity:calc(1 - var(--fx-level,0))}.brand-mark,.brand-sub{transition:color .7s ease}.fx-atmosphere .brand-mark{color:#384034}.fx-atmosphere .brand-sub{color:#68725f}.fx-atmosphere .gh-status{text-shadow:0 1px 4px rgba(250,248,240,.95)}.fx-atmosphere .hint{color:#747a68}.ar-mode.fx-atmosphere .brand-mark{color:#f3ecda}

/* Subtle charcoal hand guide; the local SVG filter removes opaque paper from the sprite. */
.gh-stage{background:rgba(46,54,50,.24);border:1px solid rgba(250,247,235,.12);box-sizing:border-box;box-shadow:0 2px 12px rgba(0,0,0,.025)}
.gh-art{filter:url('#gesture-ink');mix-blend-mode:normal}
.gh-status,.fx-atmosphere .gh-status{color:#394d43;text-shadow:0 1px 3px rgba(255,255,255,.65)}
.gh-close{color:#344b40}
/* Exhibit and its markers are a single, initially disabled control. */
.hs-dot{width:10px;height:10px;margin:-5px 0 0 -5px;background:#0b6556;border:2px solid #fff4d5;box-sizing:border-box;box-shadow:0 0 0 2px rgba(8,54,47,.75),0 2px 8px rgba(0,0,0,.45)}
.hs-ring{border-color:#075e50;box-shadow:0 0 0 1px rgba(255,246,219,.75)}

.ui-filter-defs{position:absolute;left:0;top:0;pointer-events:none;overflow:hidden}

/* ================= v1.6.8 · plate hugs the bracket, not the sprite frame ================= */
/* The 80x80 stage is only a positioning frame: the four brackets span 46x48 inside it,
   so the old translucent slab covered 2.4x its own artwork and ate a large block of the
   3D viewport. The sprite and brackets must keep their size (they are laid out in
   percentages of the 80px stage), so the plate moves to a ::before sized to the bracket
   plus roughly 8px a side. Background, hairline and shadow move with it. */
.gh-stage{background:none;border:0;box-shadow:none}
.gh-stage::before{
  content:'';position:absolute;z-index:-1;
  left:8px;right:8px;top:9px;bottom:5px;
  border-radius:11px;
  background:rgba(46,54,50,.24);
  border:1px solid rgba(250,247,235,.12);
  box-sizing:border-box;
  box-shadow:0 2px 12px rgba(0,0,0,.025);
}
