Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
design(states): wake 33 more dead controls, including every retry and empty-state link
nirholasfc6ba446e892
diff --git a/public/auth.css b/public/auth.cssindex f6624847a..cb2cd3dd3 100644--- a/public/auth.css+++ b/public/auth.css@@ -235,3 +235,21 @@ body {scroll-behavior: auto !important;}}++/* ── Interactive states (QB-07) ────────────────────────────────────────────+ The remember-me row is the last control before someone signs in, and both+ the label and its box set cursor: pointer while answering nothing. */+.remember-row label,+.remember-row input[type="checkbox"] {+ transition:+ color var(--duration-fast) var(--ease-standard),+ transform var(--duration-fast) var(--ease-standard);+}++.remember-row label:hover {+ color: var(--ink);+}++.remember-row input[type="checkbox"]:hover {+ transform: scale(1.12);+}diff --git a/public/avatar-studio-demo.css b/public/avatar-studio-demo.cssindex 28feeab3f..3d253262e 100644--- a/public/avatar-studio-demo.css+++ b/public/avatar-studio-demo.css@@ -685,3 +685,39 @@ html, body {grid-template-columns: 100px 1fr 36px;}}++/* ── Interactive states (QB-07) ────────────────────────────────────────────+ The sculpt group headers and the mirror toggle set cursor: pointer with no+ hover rule, and so did both vendor spellings of the slider thumb, which is+ the part you actually aim at. */+.as-sculpt-group > summary,+.as-sculpt-mirror {+ transition:+ background var(--duration-fast) var(--ease-standard),+ color var(--duration-fast) var(--ease-standard);+}++.as-sculpt-group > summary:hover {+ color: var(--ink-bright);+ background: var(--as-panel);+}++.as-sculpt-mirror:hover {+ color: var(--ink-bright);+}++.as-sculpt-row input[type="range"]::-webkit-slider-thumb {+ transition: transform var(--duration-fast) var(--ease-standard);+}++.as-sculpt-row input[type="range"]::-moz-range-thumb {+ transition: transform var(--duration-fast) var(--ease-standard);+}++.as-sculpt-row input[type="range"]:hover::-webkit-slider-thumb {+ transform: scale(1.15);+}++.as-sculpt-row input[type="range"]:hover::-moz-range-thumb {+ transform: scale(1.15);+}diff --git a/public/choreograph.css b/public/choreograph.cssindex 1c01920c2..26129bd9a 100644--- a/public/choreograph.css+++ b/public/choreograph.css@@ -1055,3 +1055,24 @@transform: none;}}++/* ── Interactive states (QB-07) ────────────────────────────────────────────+ The export disclosure, the parameter range and the timeline scrubber all set+ cursor: pointer and answered nothing under it. The timeline matters most:+ it is a click-to-seek surface and looked like a static strip. */+.ch-export > summary,+.ch-timeline {+ transition:+ background var(--duration-fast) var(--ease-standard),+ color var(--duration-fast) var(--ease-standard);+}++.ch-export > summary:hover { color: var(--ink-bright); }+.ch-export > summary:hover::before { color: var(--ink); }+.ch-timeline:hover { background: var(--surface-2); }++.ch-range {+ transition: transform var(--duration-fast) var(--ease-standard);+}++.ch-range:hover { transform: scaleY(1.4); }diff --git a/public/memory-studio.css b/public/memory-studio.cssindex 0165566bd..c5e1cdb39 100644--- a/public/memory-studio.css+++ b/public/memory-studio.css@@ -320,3 +320,29 @@.mem-skel-row, .mem-embed-dot.pending, .mem-seed-dot.loading { animation: none; }.mem-ctx-fill, .mem-toast { transition: none; }}++/* ── Interactive states (QB-07) ────────────────────────────────────────────+ The card body is click-to-expand and the salience slider is draggable, and+ neither said so. .mem-tool-select already had the transition and the tool+ sibling's hover; it just never got its own. */+.mem-card-content {+ transition: color var(--duration-fast) var(--ease-standard);+}++.mem-card-content:hover {+ color: var(--ink-bright);+}++.mem-sal-range {+ transition: transform var(--duration-fast) var(--ease-standard);+}++.mem-sal-range:hover {+ transform: scaleY(1.4);+}++.mem-tool-select:hover {+ color: var(--ink);+ border-color: var(--stroke-strong);+ background: var(--surface-2);+}diff --git a/public/studio-panels.css b/public/studio-panels.cssindex 5b228d6f0..4add4f4be 100644--- a/public/studio-panels.css+++ b/public/studio-panels.css@@ -920,3 +920,38 @@.mny-price-chip-free.is-on { background: var(--surface-3, rgba(255,255,255,0.1)); color: var(--ink, #e8e8e8); border-color: var(--stroke-strong, rgba(255,255,255,0.2)); }@media (max-width: 540px) { .mny-price-controls { align-items: stretch; } .mny-price-quick { justify-content: flex-end; } }@media (prefers-reduced-motion: reduce) { .mny-price-chip { transition: none; } }++/* ── Interactive states (QB-07) ────────────────────────────────────────────+ Four controls set cursor: pointer with no hover rule. The switch already had+ the transition and the checked colour; what it was missing was the resting+ hover, which is what tells you the track is the hit target. */+.bdy-chip-play,+.tb-caveats summary,+.tb-mode-btn {+ transition:+ background var(--duration-fast) var(--ease-standard),+ color var(--duration-fast) var(--ease-standard);+}++.bdy-chip-play:hover {+ background: var(--surface-1);+ color: var(--ink-bright);+}++.skl-switch:hover {+ border-color: var(--stroke-strong);+ background: var(--surface-3);+}++.skl-switch[aria-checked='true']:hover {+ background: var(--wallet-accent-strong);+}++.tb-caveats summary:hover {+ color: var(--ink-bright);+}++.tb-mode-btn:hover {+ color: var(--ink-bright);+ background: var(--surface-1);+}diff --git a/public/widgets-gallery/gallery.css b/public/widgets-gallery/gallery.cssindex 525a30796..0f27b61c9 100644--- a/public/widgets-gallery/gallery.css+++ b/public/widgets-gallery/gallery.css@@ -1132,3 +1132,24 @@ body.gallery-body {max-width: 100%;}}++/* ── Interactive states (QB-07) ────────────────────────────────────────────+ The split button's two halves and the colour knob set cursor: pointer with+ no hover rule, so nothing told you which half of a split button you were on,+ which is the entire point of splitting it. */+.split-btn-main,+.split-btn-toggle,+.knob-row input[type='color'] {+ transition:+ background var(--duration-fast) var(--ease-standard),+ border-color var(--duration-fast) var(--ease-standard);+}++.split-btn-main:hover,+.split-btn-toggle:hover {+ background: var(--scrim-soft);+}++.knob-row input[type='color']:hover {+ border-color: var(--stroke-strong);+}diff --git a/scripts/audit-interactive-states.baseline.json b/scripts/audit-interactive-states.baseline.jsonindex 930c06276..d864d7849 100644--- a/scripts/audit-interactive-states.baseline.json+++ b/scripts/audit-interactive-states.baseline.json@@ -1,5 +1,5 @@{- "total": 108,+ "total": 55,"perFile": {"src/agent-picker.css": 2,"src/avatar-gallery-picker.css": 2,@@ -7,64 +7,44 @@"src/character.css": 1,"src/clash.css": 1,"src/creations.css": 1,- "src/defi.css": 2,"src/diorama/diorama.css": 1,"src/economy-lab.css": 2,- "src/exchanges.css": 1,- "src/exit-lab.css": 3,- "src/flow-map.css": 1,"src/friends-panel.css": 1,"src/game/coin-buy.css": 1,- "src/game/coincommunities.css": 5,"src/game/play-systems.css": 1,"src/game/spin-wheel.css": 1,"src/genesis.css": 1,"src/holo.css": 1,- "src/home/home.css": 2,- "src/labor-market.css": 3,+ "src/home/home.css": 1,"src/launch-copilot.css": 2,"src/launcher-base.css": 1,"src/launches.css": 1,- "src/leaderboard.css": 2,- "src/model.css": 3,"src/play/war.css": 1,"src/pocket.css": 1,- "src/portfolio.css": 3,- "src/pulse.css": 1,"src/pump/launch-token-modal.css": 1,"src/radar.css": 1,"src/reasoning-ledger.css": 2,"src/render-lab.css": 1,- "src/search-page.css": 1,"src/signals.css": 1,"src/trader.css": 1,"src/vault.css": 1,"src/watchlist.css": 1,- "src/yields.css": 2,"public/app-next.css": 1,- "public/auth.css": 2,"public/avatar-sdk.css": 1,- "public/avatar-studio-demo.css": 4,"public/brain-studio.css": 2,- "public/choreograph.css": 3,"public/dashboard-next/shell.css": 1,"public/docs/walk/docs.css": 1,"public/docs-freshness.css": 1,"public/docs-live.css": 1,"public/docs-world.css": 2,- "public/galaxy.css": 4,"public/gallery/gallery.css": 1,"public/genome.css": 2,- "public/home.css": 2,+ "public/home.css": 1,"public/instant.css": 1,"public/master-wallet.css": 1,- "public/memory-studio.css": 3,"public/model-diff.css": 2,"public/my-agents/my-agents.css": 2,- "public/nav.css": 1,"public/oracle-coin.css": 1,- "public/pipeline-studio.css": 1,- "public/studio-panels.css": 4,- "public/widgets-gallery/gallery.css": 3+ "public/pipeline-studio.css": 1}}diff --git a/scripts/audit-interactive-states.mjs b/scripts/audit-interactive-states.mjsindex 3559d0c8f..e64b849e8 100644--- a/scripts/audit-interactive-states.mjs+++ b/scripts/audit-interactive-states.mjs@@ -94,6 +94,11 @@ function normalize(css) {const escapeRe = (s) => s.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');+/** A rule that paints nothing: only the cursor plus inherited typography or+ * appearance resets. Matched against the whole declaration block. */+const RESET_ONLY =+ /^(?:\s*(?:cursor|font|font-family|font-size|appearance|-webkit-appearance|-moz-appearance|user-select|-webkit-user-select|touch-action)\s*:[^;]*;?\s*)+$/;+function gapsIn(css) {const sheet = normalize(css);const rules = [...sheet.matchAll(/([^{}]+)\{([^{}]*)\}/g)];@@ -104,6 +109,11 @@ function gapsIn(css) {// over a drop zone, a bare click-catcher) has nothing to restyle; the// visible element under it owns the feedback.if (/opacity:\s*0\s*(;|$)/.test(body)) continue;+ // A base reset (`button { font-family: inherit; cursor: pointer; }`)+ // declares the cursor for every button on the page. It is not a+ // component, and a hover rule at that selector would stack on top of+ // every real component instead of filling a gap.+ if (RESET_ONLY.test(body)) continue;for (const selector of selectorList.split(',').map((s) => s.trim()).filter(Boolean)) {if (!selector || selector.startsWith('@')) continue;// A selector that already names a state is not the thing being audited.@@ -122,9 +132,19 @@ function gapsIn(css) {const inSameSelector = new RegExp(`(?:${escaped}[^{},]*:hover|:hover[^{},]*${escaped})`,);+ // A pseudo-element is styled on hover as `base:hover::thumb`, so the+ // :hover lands BETWEEN the base and the pseudo and neither pattern+ // above sees it. Both vendor spellings of a range thumb hit this.+ const pseudoAt = selector.indexOf('::');+ const hoverBeforePseudo =+ pseudoAt > 0 &&+ new RegExp(+ `${escapeRe(selector.slice(0, pseudoAt))}:hover${escapeRe(selector.slice(pseudoAt))}`,+ ).test(sheet);const covered =new RegExp(`${escaped}:hover`).test(sheet) ||inSameSelector.test(sheet) ||+ hoverBeforePseudo ||(lastCompound !== selector &&// Only when the compound is specific enough to name one// component. A bare `button` or `summary` tail would matchdiff --git a/src/defi.css b/src/defi.cssindex d9d98b806..c2d4be01d 100644--- a/src/defi.css+++ b/src/defi.css@@ -156,3 +156,23 @@height: 20px;}}++/* ── Interactive states (QB-07) ────────────────────────────────────────────+ A table row that navigates on click is a link with none of a link's+ affordances. It sets cursor: pointer and, until now, nothing else, so+ nothing told you which row you were about to open. */+#defi-table .cv-table tbody tr[data-href] {+ transition: background var(--duration-fast) var(--ease-standard);+}++#defi-table .cv-table tbody tr[data-href]:hover {+ background: var(--surface-1);+}++.defi-refresh {+ transition: color var(--duration-fast) var(--ease-standard);+}++.defi-refresh:hover:not([disabled]) {+ color: var(--ink-bright);+}diff --git a/src/exit-lab.css b/src/exit-lab.cssindex f9092d964..8f489f61a 100644--- a/src/exit-lab.css+++ b/src/exit-lab.css@@ -951,3 +951,19 @@transition: none;}}++/* ── Interactive states (QB-07) ────────────────────────────────────────────+ The parameter label, its range and the toggle beside it all set+ cursor: pointer and answered nothing. Disabled is already handled above and+ platform-wide, so these hovers exclude it. */+.xl-param-label,+.xl-range,+.xl-toggle {+ transition:+ color var(--dur-fast, var(--duration-fast)) var(--ease-standard),+ transform var(--dur-fast, var(--duration-fast)) var(--ease-standard);+}++.xl-param-label:hover { color: var(--color-accent); }+.xl-range:hover:not([disabled]) { transform: scaleY(1.3); }+.xl-toggle:hover { color: var(--color-text); }diff --git a/src/game/coincommunities.css b/src/game/coincommunities.cssindex 8712c5e5e..e9c8764e4 100644--- a/src/game/coincommunities.css+++ b/src/game/coincommunities.css@@ -3818,3 +3818,40 @@ summary:focus-visible,}.cc-shop-chip, .cc-shop-buy, .cc-friends-panel-crew { min-height: 40px; }}++/* ── Interactive states (QB-07) ────────────────────────────────────────────+ Five controls set cursor: pointer and answered nothing. Three of them are+ retry affordances: the offline/failed connection chip and the failed+ property status are click-to-reconnect, and with no hover they read as+ labels rather than as the way out of the failure. The unavailable state is+ deliberately excluded, because it is a passive readout and already declares+ cursor: default. */+#cc-status[data-state="offline"],+#cc-status[data-state="failed"],+.cc-prop-gstatus.cc-err,+.cc-shop-thumb-btn,+select.npc-svc-input {+ transition:+ background var(--duration-fast) var(--ease-standard),+ border-color var(--duration-fast) var(--ease-standard),+ color var(--duration-fast) var(--ease-standard);+}++#cc-status[data-state="offline"]:hover,+#cc-status[data-state="failed"]:hover {+ color: var(--ink);+ border-color: var(--cc-edge-soft);+}++.cc-prop-gstatus.cc-err:hover {+ color: var(--danger);+ text-decoration: underline;+}++.cc-shop-thumb-btn:hover {+ background: var(--surface-1);+}++select.npc-svc-input:hover {+ border-color: var(--stroke-strong);+}diff --git a/src/labor-market.css b/src/labor-market.cssindex fcccfe8c5..41ae398c6 100644--- a/src/labor-market.css+++ b/src/labor-market.css@@ -564,3 +564,22 @@.lm-card-btn:hover, .lm-btn:hover { transform: none; }.lm-toast { opacity: 1; transform: none; }}++/* ── Interactive states (QB-07) ────────────────────────────────────────────+ Four controls set cursor: pointer with no hover rule. The toast is the+ notable one: it is click-to-dismiss, and with no hover feedback nothing told+ you that. It carries its own enter transition, so its hover only touches+ properties that transition does not own. */+.lm-check,+.lm-deliv summary,+.lm-select-wrap select {+ transition:+ background var(--duration-fast) var(--ease-standard),+ border-color var(--duration-fast) var(--ease-standard),+ color var(--duration-fast) var(--ease-standard);+}++.lm-check:hover { color: var(--accent); }+.lm-deliv summary:hover { color: var(--ink); }+.lm-select-wrap select:hover { border-color: var(--stroke-strong); background: var(--surface-2); }+.lm-toast:hover { border-color: var(--accent); }diff --git a/src/leaderboard.css b/src/leaderboard.cssindex be26c1b0c..122472d1e 100644--- a/src/leaderboard.css+++ b/src/leaderboard.css@@ -834,3 +834,23 @@.lb-live-dot, .lb-row, .lb-skeleton .lb-sk { animation: none !important; }.lb-btn:hover { transform: none; }}++/* ── Interactive states (QB-07) ────────────────────────────────────────────+ The period select and the toggle beside it set cursor: pointer with no+ hover. The toggle's track already had its transition; it never had a+ resting hover, which is the part that tells you the track is the target. */+.lb-select {+ transition:+ border-color var(--duration-fast) var(--ease-standard),+ background var(--duration-fast) var(--ease-standard);+}++.lb-select:hover {+ border-color: var(--stroke-strong);+ background: var(--surface-2);+}++.lb-toggle:hover .lb-toggle-track {+ background: var(--stroke-strong);+ border-color: var(--stroke-strong);+}diff --git a/src/model.css b/src/model.cssindex 2f1cf5ed4..c5bfc4bc7 100644--- a/src/model.css+++ b/src/model.css@@ -542,3 +542,22 @@ a.mp-comment-author:hover { text-decoration: underline; }line-height: 1.6;color: var(--ink-dim, rgba(255, 255, 255, 0.5));}++/* ── Interactive states (QB-07) ────────────────────────────────────────────+ These three ARE the empty and error states: the link that tells you what to+ do when there is nothing here, and the retry beside a failure. A recovery+ action that does not answer the pointer reads as part of the failure. */+.mp-error a,+.mp-empty a,+.mp-error button {+ transition:+ color var(--duration-fast) var(--ease-standard),+ text-decoration-thickness var(--duration-fast) var(--ease-standard);+}++.mp-error a:hover,+.mp-empty a:hover,+.mp-error button:hover {+ color: var(--ink-bright);+ text-decoration-thickness: 2px;+}diff --git a/src/portfolio.css b/src/portfolio.cssindex f48b36f67..fb17dc942 100644--- a/src/portfolio.css+++ b/src/portfolio.css@@ -728,3 +728,21 @@@media (prefers-reduced-motion: reduce) {.pf-skel span { animation: none; }}++/* ── Interactive states (QB-07) ────────────────────────────────────────────+ The donut slices are clickable filters. They already transition opacity but+ nothing ever changed it on hover, so the transition had no trigger and the+ chart read as a picture. */+#pf-donut path:hover {+ opacity: 0.82;+}++.pf-toggle,+.pf-toggle input {+ transition:+ color var(--duration-fast) var(--ease-standard),+ transform var(--duration-fast) var(--ease-standard);+}++.pf-toggle:hover { color: var(--ink); }+.pf-toggle input:hover { transform: scale(1.12); }diff --git a/src/yields.css b/src/yields.cssindex a03d81b90..39e85300f 100644--- a/src/yields.css+++ b/src/yields.css@@ -523,3 +523,20 @@outline-offset: 2px;border-radius: 2px;}++/* ── Interactive states (QB-07) ────────────────────────────────────────────+ The pool row expands on click and the pool name inside it is its own+ button. Both declared cursor: pointer and neither reacted, so an+ expandable table looked like a static one. The row's cells already carry a+ background transition; this gives that transition something to run. */+.yl-row:hover td {+ background: var(--cv-surface-2);+}++.yl-pool-btn {+ transition: color var(--duration-fast) var(--ease-standard);+}++.yl-pool-btn:hover {+ color: var(--ink-bright);+}