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
/* Feature-discovery layer (public/feature-discovery.js) — badges + cards.
*
* Not every page loads style.css (home, create, launches… carry their own
* inline design systems), so the discovery layer loads this file itself. The
* <link> is PREPENDED to <head>, so style.css — which carries an identical
* copy of these rules — and page stylesheets always win the cascade. The
* var() fallbacks render correctly on pages that define none of the tokens.
*/
.tws-disc-new {
display: inline-block;
margin-left: 6px;
padding: 1px 6px;
font-size: 10px;
font-weight: 600;
line-height: 1.5;
letter-spacing: 0.02em;
text-transform: uppercase;
vertical-align: middle;
color: var(--ink, var(--text, #e8e8e8));
background: var(--surface-3, rgba(255, 255, 255, 0.08));
border: 1px solid var(--stroke-strong, rgba(255, 255, 255, 0.14));
border-radius: var(--radius-pill, 999px);
}
/* Pages that load style.css inherit its global `* { box-sizing: border-box }`.
The cv-page design system and the other pages that skip style.css set it on
their own container only, so there the card's declared width is a CONTENT
width: its 16px padding and 1px border push the border-box 34px wider, which
hangs the card 22px off the left edge of a 320px viewport, and the
full-width CTA overflows the card by 28px. Scoped to this layer's own
subtree so it can never change a host page's boxes. */
.tws-disc-card,
.tws-disc-card *,
.tws-disc-new {
box-sizing: border-box;
}
.tws-disc-card {
position: fixed;
right: 18px;
bottom: 18px;
z-index: 10001;
width: min(320px, calc(100vw - 36px));
padding: 16px 16px 14px;
background: var(--surface-glass, linear-gradient(180deg, rgba(20, 21, 28, 0.92), rgba(14, 15, 22, 0.9)));
-webkit-backdrop-filter: blur(14px);
backdrop-filter: blur(14px);
border: 1px solid var(--stroke-strong, rgba(255, 255, 255, 0.14));
border-radius: var(--radius-card, 14px);
box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
color: var(--ink, var(--text, #e8e8e8));
opacity: 0;
transform: translateY(12px) scale(0.98);
transition: opacity var(--duration-base) var(--ease-standard), transform var(--duration-base) var(--ease-standard);
}
.tws-disc-card.is-in {
opacity: 1;
transform: translateY(0) scale(1);
}
.tws-disc-x {
position: absolute;
top: 8px;
right: 8px;
width: 26px;
height: 26px;
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 13px;
line-height: 1;
color: var(--ink-dim, #888);
background: transparent;
border: 1px solid transparent;
border-radius: var(--radius-pill, 999px);
cursor: pointer;
transition: color var(--duration-fast) var(--ease-standard), background var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard);
}
.tws-disc-x:hover { color: var(--ink, var(--text, #e8e8e8)); background: var(--surface-2, rgba(255, 255, 255, 0.05)); }
.tws-disc-x:active { background: var(--surface-3, rgba(255, 255, 255, 0.08)); }
.tws-disc-x:focus-visible { outline: 2px solid var(--accent, #fff); outline-offset: 2px; }
.tws-disc-kicker {
font-size: 11px;
font-weight: 600;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--ink-dim, #888);
padding-right: 26px;
}
.tws-disc-title {
margin-top: 4px;
font-size: 16px;
font-weight: 650;
color: var(--ink, var(--text, #e8e8e8));
}
.tws-disc-desc {
margin-top: 5px;
font-size: 13px;
line-height: 1.45;
color: var(--ink-dim, #aaa);
}
.tws-disc-actions {
margin-top: 12px;
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.tws-disc-cta {
display: inline-flex;
align-items: center;
padding: 7px 13px;
font-size: 13px;
font-weight: 600;
text-decoration: none;
color: var(--ink, var(--text, #e8e8e8));
background: var(--surface-2, rgba(255, 255, 255, 0.05));
border: 1px solid var(--stroke-strong, rgba(255, 255, 255, 0.14));
border-radius: var(--radius-control, 10px);
transition: background var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard), transform var(--duration-instant) var(--ease-standard);
}
.tws-disc-cta:hover { background: var(--surface-3, rgba(255, 255, 255, 0.08)); border-color: var(--stroke-strong, rgba(255, 255, 255, 0.2)); }
.tws-disc-cta:active { transform: translateY(1px); }
.tws-disc-cta:focus-visible { outline: 2px solid var(--accent, #fff); outline-offset: 2px; }
.tws-disc-cta--primary {
color: #0c0c0c;
background: var(--accent, #fff);
border-color: var(--accent, #fff);
}
.tws-disc-cta--primary:hover { background: #f0f0f0; border-color: #f0f0f0; }
@media (max-width: 520px) {
.tws-disc-card { right: 12px; left: 12px; bottom: 12px; width: auto; }
/* Inside the shared corner stack the card is a flex item that sizes to its
content, so `width: auto` shrink-wraps it around its longest link and the
copy wraps to a ribbon. The edge-to-edge rule above is the standalone
fallback; in the stack the card states the width it wants. */
.tws-corner-item.tws-disc-card { width: min(340px, calc(100vw - 24px)); }
/* Content-width buttons in a narrow card read as a ragged staircase; one
column of equal buttons is both tidier and easier to hit. */
.tws-disc-card .tws-disc-cta { justify-content: center; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
.tws-disc-card { transition: opacity var(--duration-instant) linear; transform: none; }
.tws-disc-card.is-in { transform: none; }
}