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
<!doctype html>
<html lang="en">
<head>
<script>/* three.ws theme boot — no-flash; runtime in /theme-switcher.js */(function(){try{var m=localStorage.getItem('twx_theme');var l=m==='auto'?(window.matchMedia&&window.matchMedia('(prefers-color-scheme: light)').matches):m==='light';document.documentElement.setAttribute('data-theme',l?'light':'dark');}catch(e){document.documentElement.setAttribute('data-theme','dark');}})();</script>
<meta charset="utf-8" />
<title data-i18n="marketplace.meta_title">Agent Marketplace · three.ws</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="description"
content="Discover, fork, and chat with community-published AI agents. Browse by category, search by keyword."
data-i18n-attr="content:marketplace.meta_description"/>
<meta name="theme-color" content="#000000" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="apple-mobile-web-app-title" content="three.ws" />
<link rel="icon" href="/favicon.ico" sizes="any" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="manifest" href="/manifest.webmanifest" />
<link rel="canonical" href="https://three.ws/marketplace" />
<!-- Agent cards mount model-viewer (4.0.0) lazily from this CDN; warm the
connection so the handshake is paid before the bundle is requested. -->
<link rel="preconnect" href="https://cdn.jsdelivr.net" crossorigin />
<link rel="preload" href="/fonts/inter-latin.woff2" as="font" type="font/woff2" crossorigin />
<link rel="preload" href="/fonts/space-grotesk-latin.woff2" as="font" type="font/woff2" crossorigin />
<link rel="stylesheet" href="/style.css" />
<link rel="stylesheet" href="/marketplace.css" />
<link rel="stylesheet" href="/marketplace-v2.css" />
<link rel="stylesheet" href="/fonts/fonts.css" />
<style>
/* Author display rules on modal overlays override the UA stylesheet's
[hidden] { display: none } default, so `<div … hidden>` was still
rendering as a grid/flex container — taking up body-grid cells and
blocking page scroll. Force display:none whenever hidden is set. */
[hidden] {
display: none !important;
}
/* Screen-reader-only utility: visible to assistive tech, hidden visually.
Used to label search/sort controls without changing the topbar layout. */
.market-visually-hidden {
position: absolute !important;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
/* Skip-to-content link — visible only on keyboard focus. Lets keyboard
and screen-reader users jump past the sidebar nav straight to the
marketplace content. */
.skip-link {
position: absolute;
left: 12px;
top: -48px;
z-index: 4000;
padding: 10px 16px;
background: #fafafa;
color: #000;
border-radius: 8px;
font-size: 13px;
font-weight: 600;
text-decoration: none;
transition: top var(--duration-fast) var(--ease-standard);
}
.skip-link:focus,
.skip-link:focus-visible {
top: 12px;
outline: var(--focus-ring-width, 2px) solid var(--focus-ring-color, #fff);
outline-offset: var(--focus-ring-offset, 2px);
}
/* Global keyboard-focus safety net. Many interactive nodes on this page
are built from JS HTML strings (cards, chips, action buttons, embed
copy buttons) and rely on the UA outline. Pin a consistent, visible
focus-visible ring on every focusable element using the shared token
vocabulary so no keyboard user is ever left without an indicator.
Elements that declare their own richer focus-visible ring (theme
picks, skill cards) keep it — this only fills the gaps. */
.market-page a:focus-visible,
.market-page button:focus-visible,
.market-page input:focus-visible,
.market-page select:focus-visible,
.market-page textarea:focus-visible,
.market-page [tabindex]:focus-visible,
.market-page [role='button']:focus-visible,
.market-page [role='link']:focus-visible,
.market-page [role='tab']:focus-visible {
outline: var(--focus-ring-width, 2px) solid var(--focus-ring-color, #fff);
outline-offset: var(--focus-ring-offset, 2px);
}
.market-wip-banner {
display: flex;
align-items: center;
gap: 10px;
margin: 12px 24px 0;
padding: 8px 14px;
background: linear-gradient(
90deg,
rgba(253, 224, 71, 0.07),
rgba(253, 224, 71, 0.02)
);
border: 1px solid rgba(253, 224, 71, 0.18);
border-radius: 10px;
color: #fde68a;
font-size: 12px;
line-height: 1.4;
}
.market-wip-banner .market-wip-icon {
flex: 0 0 auto;
width: 22px;
height: 22px;
border-radius: 50%;
background: rgba(253, 224, 71, 0.12);
color: #fde047;
display: inline-flex;
align-items: center;
justify-content: center;
font-weight: 700;
font-size: 13px;
}
.market-wip-banner strong {
color: #fef3c7;
}
.market-wip-banner .market-wip-text {
flex: 1;
min-width: 0;
}
.market-card-avatar {
display: flex;
flex-direction: column;
background: var(--surface-1);
border: 1px solid var(--stroke);
border-radius: var(--radius-card);
overflow: hidden;
cursor: pointer;
transition:
border-color var(--duration-fast) var(--ease-standard),
transform var(--duration-fast) var(--ease-standard);
}
.market-card-avatar:hover {
border-color: var(--stroke-strong);
transform: translateY(-1px);
}
.market-card-avatar .thumb {
aspect-ratio: 1 / 1;
background: var(--stage-lift) center/cover no-repeat;
display: flex;
align-items: center;
justify-content: center;
font-size: 40px;
color: rgba(255, 255, 255, 0.25);
border-bottom: 1px solid var(--stroke);
}
.market-card-avatar .body {
padding: 12px 14px;
display: flex;
flex-direction: column;
gap: 6px;
min-width: 0;
flex: 1;
}
.market-card-avatar .title {
font-size: 14px;
font-weight: 600;
color: var(--ink);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.market-card-avatar .title-row {
display: flex;
align-items: center;
gap: 6px;
min-width: 0;
}
.market-card-avatar .title-row .title {
flex: 1;
min-width: 0;
display: inline-flex;
align-items: center;
min-height: 32px;
}
.market-card-avatar .desc {
font-size: 12px;
color: var(--ink-dim);
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.market-card-avatar .footer {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 11px;
color: var(--ink-dim);
margin-top: auto;
padding-top: 4px;
}
.market-card-avatar .avatar-pill {
background: rgba(255, 255, 255, 0.1);
color: #ffffff;
padding: 2px 8px;
border-radius: 999px;
font-size: 10px;
font-weight: 600;
letter-spacing: 0.02em;
}
.market-grid-section-title {
grid-column: 1 / -1;
font-size: 12px;
font-weight: 600;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--ink-dim);
margin: 28px 0 6px;
padding: 12px 0 10px;
border-top: 1px solid var(--stroke);
display: flex;
align-items: baseline;
gap: 10px;
}
.market-grid-section-title:first-child {
margin-top: 0;
border-top: none;
padding-top: 0;
}
.market-grid-section-title .count {
font-size: 11px;
color: var(--ink-dim);
font-weight: 500;
letter-spacing: 0.02em;
text-transform: none;
}
.market-wip-dismiss {
background: none;
border: 0;
color: rgba(253, 224, 71, 0.6);
font-size: 18px;
cursor: pointer;
padding: 0 4px;
line-height: 1;
}
.market-wip-dismiss:hover {
color: #fde047;
}
/* ── Hero spotlight ───────────────────────────────────────────── */
.market-hero {
display: grid;
grid-template-columns: 1.3fr 1fr;
gap: 32px;
margin: 16px 24px 0;
padding: 28px;
background:
radial-gradient(
ellipse at top right,
rgba(255, 255, 255, 0.08),
transparent 60%
),
radial-gradient(
ellipse at bottom left,
rgba(255, 255, 255, 0.04),
transparent 50%
),
linear-gradient(180deg, var(--stage-lift), var(--stage));
border: 1px solid #1f1f1f;
border-radius: 20px;
position: relative;
overflow: hidden;
min-height: 280px;
}
.market-hero-stage {
position: relative;
border-radius: 14px;
overflow: hidden;
background:
radial-gradient(circle at 50% 60%, rgba(255, 255, 255, 0.05), transparent 70%),
linear-gradient(180deg, var(--stage-deep), var(--stage-lift));
border: 1px solid var(--stroke);
min-height: 240px;
}
.market-hero-stage model-viewer {
width: 100%;
height: 100%;
--poster-color: transparent;
background: transparent;
opacity: 0;
transition: opacity var(--duration-slow) var(--ease-standard);
}
.market-hero-slide.mv-loaded model-viewer,
.market-hero-slide.mv-poster-ready model-viewer {
opacity: 1;
}
/* Always-visible placeholder behind each hero slide so the stage
shows the avatar's name + initial instead of a black void while
the GLB streams in (or if it never loads). */
.market-hero-placeholder {
position: absolute;
inset: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 14px;
background:
radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.14), transparent 65%),
radial-gradient(circle at 50% 90%, rgba(255, 255, 255, 0.05), transparent 70%),
linear-gradient(180deg, var(--stage), var(--stage-black));
color: rgba(244, 244, 245, 0.85);
font-family: var(--font-display);
pointer-events: none;
transition: opacity var(--duration-slow) var(--ease-standard);
}
.market-hero-placeholder::after {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(
110deg,
transparent 30%,
rgba(255, 255, 255, 0.03) 50%,
transparent 70%
);
background-size: 200% 100%;
animation: hero-shimmer 2.4s ease-in-out infinite;
pointer-events: none;
}
@keyframes hero-shimmer {
0% {
background-position: 200% 0;
}
100% {
background-position: -200% 0;
}
}
.market-hero-slide.mv-loaded .market-hero-placeholder {
opacity: 0;
}
.market-hero-placeholder-initial {
font-size: 80px;
font-weight: 700;
line-height: 1;
background: linear-gradient(
180deg,
rgba(244, 244, 245, 0.5),
rgba(161, 161, 170, 0.35)
);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
letter-spacing: -0.04em;
}
.market-hero-placeholder-name {
font-size: 13px;
letter-spacing: 0.22em;
text-transform: uppercase;
color: rgba(161, 161, 170, 0.7);
}
.market-hero-stage::after {
content: '';
position: absolute;
inset: 0;
pointer-events: none;
background: linear-gradient(180deg, transparent 70%, rgba(0, 0, 0, 0.4));
}
.market-hero-meta {
display: flex;
flex-direction: column;
justify-content: center;
gap: 14px;
min-width: 0;
}
.market-hero-eyebrow {
font-family: var(--font-display);
font-size: 11px;
letter-spacing: 0.18em;
text-transform: uppercase;
color: #ffffff;
font-weight: 600;
display: inline-flex;
align-items: center;
gap: 8px;
}
.market-hero-beta-pill {
font-family: var(--font-display);
font-size: 9px;
font-weight: 700;
letter-spacing: 0.18em;
padding: 2px 7px;
border-radius: 999px;
background: rgba(253, 224, 71, 0.12);
color: #fde047;
border: 1px solid rgba(253, 224, 71, 0.25);
}
/* The hero rotates every 6.5s through avatars whose names and blurbs
are different lengths, and updateHeroMeta() writes both into the
same boxes. Unreserved, that moved the actions row, the dots and
the whole grid below the hero on every rotation, forever: measured
on a Pixel 5 against production on 2026-09-08, `section#market-hero`
was 0.1094 + 0.2045 of the page's 0.4381 CLS, the worst on the
site. Both boxes are clamped AND floored to the same line count, so
every slide occupies identical space and a rotation moves nothing.
Clamp without a floor is only half the fix: it caps the tall case
and still lets the short case collapse. */
.market-hero-title {
font-family: var(--font-display);
font-size: 32px;
font-weight: 700;
color: #fafafa;
margin: 0;
line-height: 1.1;
word-break: break-word;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
min-height: 2.2em;
}
.market-hero-desc {
font-size: 14px;
color: #a1a1aa;
margin: 0;
line-height: 1.5;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
min-height: 4.5em;
}
.market-hero-actions {
display: flex;
gap: 10px;
margin-top: 4px;
flex-wrap: wrap;
}
.market-hero-cta {
background: #fafafa;
color: #000000;
border: 0;
padding: 11px 18px;
border-radius: 10px;
font-weight: 600;
font-size: 13px;
cursor: pointer;
transition:
transform var(--duration-fast) var(--ease-standard),
box-shadow var(--duration-fast) var(--ease-standard);
}
.market-hero-cta:hover {
transform: translateY(-1px);
box-shadow: 0 8px 20px rgba(255, 255, 255, 0.08);
}
.market-hero-secondary {
background: rgba(255, 255, 255, 0.06);
color: #fafafa;
border: 1px solid #2a2a2a;
padding: 10px 16px;
border-radius: 10px;
font-weight: 500;
font-size: 13px;
cursor: pointer;
}
.market-hero-secondary:hover {
background: rgba(255, 255, 255, 0.1);
}
a.market-hero-secondary {
display: inline-flex;
align-items: center;
text-decoration: none;
}
.market-hero-dots {
display: flex;
gap: 6px;
margin-top: 10px;
}
.market-hero-dots button {
/* Visual indicator stays a thin 26x4 bar (background-clip: content-box
paints only that area); the invisible padding grows the actual
tappable box to the 32px accessibility floor without changing how
it looks. box-sizing pinned so the padding math holds regardless
of any global reset. */
box-sizing: content-box;
width: 26px;
height: 4px;
padding: 14px 6px;
background-clip: content-box;
border-radius: 2px;
border: 0;
background-color: rgba(255, 255, 255, 0.12);
cursor: pointer;
transition: background var(--duration-base) var(--ease-standard);
}
.market-hero-dots button.active {
/* background-color, not the shorthand: the shorthand resets
background-clip to border-box, which would grow this dot to fill
its whole (invisibly padded) tap-target box instead of staying a
thin bar. */
background-color: #fafafa;
}
.market-hero-dots button:focus-visible {
outline: 2px solid var(--focus-ring-color);
outline-offset: 3px;
}
@media (max-width: 880px) {
.market-hero {
grid-template-columns: 1fr;
}
.market-hero-title {
font-size: 24px;
}
}
/* ── Filter chips ─────────────────────────────────────────────── */
.market-filter-chips {
display: flex;
gap: 6px;
align-items: center;
}
.market-chip {
background: transparent;
border: 1px solid #1f1f1f;
color: #a1a1aa;
padding: 6px 14px;
border-radius: 999px;
font-size: 12px;
cursor: pointer;
font-weight: 500;
transition: all var(--duration-fast) var(--ease-standard);
}
.market-chip:hover {
border-color: #2a2a2a;
color: #f4f4f5;
}
.market-chip.active {
background: #fafafa;
color: #000000;
border-color: #fafafa;
}
/* ── Live 3D card thumbnails ──────────────────────────────────── */
.market-card-avatar .thumb model-viewer {
width: 100%;
height: 100%;
--poster-color: transparent;
background: transparent;
opacity: 0;
transition: opacity var(--duration-slow) var(--ease-standard);
}
.market-card-avatar.mv-loaded .thumb model-viewer,
.market-card-avatar.mv-poster-ready .thumb model-viewer {
opacity: 1;
}
.market-card-avatar .thumb {
position: relative;
}
/* Name-initial placeholder behind every model-viewer. Visible until
the GLB renders, so cards never show a blank square while their
models stream in. */
.market-card-avatar .thumb .mv-placeholder {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
background:
radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.12), transparent 65%),
radial-gradient(circle at 50% 95%, rgba(255, 255, 255, 0.05), transparent 70%),
linear-gradient(180deg, var(--stage), var(--stage-black));
pointer-events: none;
transition: opacity var(--duration-slow) var(--ease-standard);
}
.market-card-avatar.mv-loaded .thumb .mv-placeholder {
opacity: 0;
}
.market-card-avatar .thumb .mv-placeholder-initial {
font-family: var(--font-display);
font-size: 56px;
font-weight: 700;
line-height: 1;
background: linear-gradient(180deg, #f4f4f5, #71717a);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
letter-spacing: -0.04em;
}
/* ── Skeleton loading ─────────────────────────────────────────── */
@keyframes mk-skeleton-pulse {
0%,
100% {
opacity: 0.4;
}
50% {
opacity: 0.7;
}
}
.market-skeleton {
background: linear-gradient(90deg, var(--skeleton-base) 0%, var(--skeleton-sheen) 50%, var(--skeleton-base) 100%);
background-size: 200% 100%;
border-radius: 14px;
border: 1px solid var(--stroke);
min-height: 240px;
animation: mk-skeleton-pulse 1.4s ease-in-out infinite;
}
.market-card-skeleton {
background: #0c0c0c;
border: 1px solid var(--stroke);
border-radius: 14px;
display: flex;
flex-direction: column;
overflow: hidden;
}
.market-card-skeleton .sk-thumb {
aspect-ratio: 1 / 1;
background: linear-gradient(90deg, var(--skeleton-base) 0%, var(--skeleton-sheen) 50%, var(--skeleton-base) 100%);
background-size: 200% 100%;
animation: mk-skeleton-pulse 1.4s ease-in-out infinite;
}
.market-card-skeleton .sk-line {
height: 12px;
margin: 12px 14px 0;
border-radius: 4px;
background: linear-gradient(90deg, var(--skeleton-base) 0%, var(--skeleton-sheen) 50%, var(--skeleton-base) 100%);
background-size: 200% 100%;
animation: mk-skeleton-pulse 1.4s ease-in-out infinite;
}
.market-card-skeleton .sk-line.short {
width: 50%;
margin-bottom: 14px;
}
/* ── 3D Lobby overlay (Three.js scene, opt-in via "Open 3D Lobby") ── */
.market-lobby-overlay {
position: fixed;
inset: 0;
z-index: 1500;
background:
radial-gradient(ellipse at top, rgba(255, 255, 255, 0.06), transparent 60%),
radial-gradient(ellipse at bottom, rgba(255, 255, 255, 0.03), transparent 60%),
#060606;
display: flex;
align-items: center;
justify-content: center;
}
.market-lobby-overlay[hidden] {
display: none;
}
.market-lobby-canvas {
width: 100%;
height: 100%;
display: block;
}
.market-lobby-close {
position: absolute;
top: 18px;
right: 22px;
z-index: 2;
width: 38px;
height: 38px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.08);
color: #fafafa;
border: 1px solid rgba(255, 255, 255, 0.14);
font-size: 22px;
cursor: pointer;
transition: background var(--duration-fast) var(--ease-standard);
font-family: inherit;
}
.market-lobby-close:hover {
background: rgba(255, 255, 255, 0.16);
}
.market-lobby-hint {
position: absolute;
bottom: 24px;
left: 50%;
transform: translateX(-50%);
font-size: 12px;
color: rgba(255, 255, 255, 0.6);
font-family: var(--font-display);
letter-spacing: 0.06em;
background: rgba(0, 0, 0, 0.4);
padding: 8px 16px;
border-radius: 999px;
border: 1px solid rgba(255, 255, 255, 0.08);
backdrop-filter: blur(10px);
pointer-events: none;
}
/* ── Weekly theme strip ───────────────────────────────────────── */
.market-theme-strip {
display: flex;
flex-direction: column;
align-items: stretch;
gap: 12px;
margin: 14px 24px 0;
padding: 12px 16px;
background: linear-gradient(
90deg,
rgba(255, 255, 255, 0.06),
rgba(255, 255, 255, 0.06) 60%,
transparent
);
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 12px;
font-size: 13px;
color: #d4d4d8;
}
.market-theme-head {
display: flex;
align-items: center;
gap: 12px;
flex-wrap: wrap;
}
.market-theme-strip .market-theme-eyebrow {
font-family: var(--font-display);
font-size: 10px;
letter-spacing: 0.2em;
text-transform: uppercase;
color: var(--ink-dim);
font-weight: 700;
}
.market-theme-strip .market-theme-title {
color: #fafafa;
font-weight: 700;
font-size: 14px;
}
.market-theme-strip .market-theme-blurb {
color: #a1a1aa;
flex: 1;
min-width: 200px;
}
.market-theme-strip .market-theme-cta {
background: rgba(255, 255, 255, 0.08);
color: #f5f3ff;
border: 1px solid rgba(255, 255, 255, 0.18);
border-radius: 8px;
padding: 6px 12px;
font-size: 12px;
font-weight: 600;
cursor: pointer;
transition: background var(--duration-fast) var(--ease-standard);
}
.market-theme-strip .market-theme-cta:hover {
background: rgba(255, 255, 255, 0.14);
}
/* Top-picks row: horizontally scrollable 3D mini-cards. */
.market-theme-picks {
display: flex;
gap: 10px;
overflow-x: auto;
overflow-y: hidden;
padding: 2px 2px 6px;
margin: -2px -2px -4px;
scroll-snap-type: x proximity;
scrollbar-width: thin;
scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}
.market-theme-picks::-webkit-scrollbar {
height: 6px;
}
.market-theme-picks::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.18);
border-radius: 99px;
}
.market-theme-pick {
position: relative;
flex: 0 0 132px;
width: 132px;
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 10px;
background: linear-gradient(180deg, #0e0e12, #0a0a0d);
overflow: hidden;
cursor: pointer;
scroll-snap-align: start;
transition:
border-color var(--duration-fast) var(--ease-standard),
transform var(--duration-fast) var(--ease-standard),
box-shadow var(--duration-fast) var(--ease-standard);
text-align: left;
appearance: none;
color: inherit;
font: inherit;
padding: 0;
}
.market-theme-pick:hover,
.market-theme-pick:focus-visible {
border-color: rgba(255, 255, 255, 0.28);
transform: translateY(-2px);
box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
outline: none;
}
.market-theme-pick:focus-visible {
box-shadow:
0 0 0 2px var(--accent, #8b5cf6),
0 8px 22px rgba(0, 0, 0, 0.45);
}
.market-theme-pick-stage {
position: relative;
width: 100%;
height: 108px;
background:
radial-gradient(120% 90% at 50% 18%, rgba(139, 92, 246, 0.16), transparent 60%),
#0b0b0f;
}
.market-theme-pick-stage model-viewer {
width: 100%;
height: 100%;
--poster-color: transparent;
background: transparent;
}
.market-theme-pick-rank {
position: absolute;
top: 6px;
left: 6px;
z-index: 2;
font-family: var(--font-display);
font-size: 10px;
font-weight: 700;
letter-spacing: 0.04em;
padding: 2px 6px;
border-radius: 6px;
background: rgba(0, 0, 0, 0.55);
color: #fafafa;
backdrop-filter: blur(4px);
}
.market-theme-pick-views {
position: absolute;
top: 6px;
right: 6px;
z-index: 2;
font-size: 10px;
font-weight: 600;
padding: 2px 6px;
border-radius: 6px;
background: rgba(0, 0, 0, 0.55);
color: #d4d4d8;
backdrop-filter: blur(4px);
}
.market-theme-pick-meta {
padding: 7px 9px 9px;
}
.market-theme-pick-name {
display: block;
font-size: 12px;
font-weight: 600;
color: #fafafa;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.market-theme-pick-cat {
display: block;
margin-top: 2px;
font-size: 10px;
color: #8b8b94;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.market-theme-pick-placeholder {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
font-family: var(--font-display);
font-size: 30px;
font-weight: 700;
color: rgba(255, 255, 255, 0.16);
transition: opacity var(--duration-slow) var(--ease-standard);
pointer-events: none;
}
.market-theme-pick.mv-loaded .market-theme-pick-placeholder {
opacity: 0;
}
/* Skeleton shimmer while the lineup loads. */
.market-theme-pick.is-skeleton {
cursor: default;
pointer-events: none;
}
.market-theme-pick.is-skeleton .market-theme-pick-stage,
.market-theme-pick.is-skeleton .market-theme-pick-meta {
background: linear-gradient(100deg, #131318 30%, #1b1b22 50%, #131318 70%);
background-size: 200% 100%;
animation: market-pick-shimmer 1.2s ease-in-out infinite;
}
@keyframes market-pick-shimmer {
0% {
background-position: 200% 0;
}
100% {
background-position: -200% 0;
}
}
@media (prefers-reduced-motion: reduce) {
.market-theme-pick {
transition: border-color var(--duration-fast) var(--ease-standard);
}
.market-theme-pick:hover,
.market-theme-pick:focus-visible {
transform: none;
}
.market-theme-pick.is-skeleton .market-theme-pick-stage,
.market-theme-pick.is-skeleton .market-theme-pick-meta {
animation: none;
}
}
/* ── Onchain card variants ────────────────────────────────────── */
.market-card-avatar.onchain {
background: linear-gradient(180deg, var(--stage-lift), var(--stage));
}
.market-card-avatar.onchain .avatar-pill.onchain {
background: rgba(255, 255, 255, 0.08);
color: var(--ink-dim);
}
.market-card-avatar.onchain .card-chain {
font-family: var(--font-display);
letter-spacing: 0.04em;
color: var(--ink-dim);
font-weight: 600;
font-size: 11px;
text-transform: uppercase;
}
.onchain-x402 {
background: rgba(255, 255, 255, 0.12);
color: #ffffff;
padding: 2px 8px;
border-radius: 999px;
font-size: 10px;
font-weight: 700;
letter-spacing: 0.04em;
}
/* Onchain count chip (shown next to "Onchain" filter button) */
.market-chip .chip-count {
background: rgba(255, 255, 255, 0.08);
color: inherit;
padding: 1px 6px;
margin-left: 4px;
border-radius: 999px;
font-size: 10px;
font-weight: 600;
}
.market-chip.active .chip-count {
background: rgba(0, 0, 0, 0.15);
}
/* Tag pills become hover-clickable buttons (filter search by tag). */
.market-card-avatar .card-tags .tag-pill {
cursor: pointer;
font-family: inherit;
transition:
background var(--duration-fast) var(--ease-standard),
color var(--duration-fast) var(--ease-standard),
border-color var(--duration-fast) var(--ease-standard);
}
.market-card-avatar .card-tags .tag-pill:hover {
background: rgba(255, 255, 255, 0.18);
border-color: rgba(255, 255, 255, 0.4);
color: #fafafa;
}
/* ── Asset price pill (Free / N USDC) ────────────────────────── */
.market-price-pill {
position: absolute;
top: 8px;
right: 8px;
z-index: 2;
display: inline-flex;
align-items: center;
padding: 3px 9px;
border-radius: 999px;
font-size: 10px;
font-weight: 700;
letter-spacing: 0.03em;
font-family: var(--font-display);
backdrop-filter: blur(6px);
border: 1px solid transparent;
line-height: 1.4;
pointer-events: none;
white-space: nowrap;
}
.market-price-pill.free {
background: rgba(255, 255, 255, 0.16);
color: #ffffff;
border-color: rgba(255, 255, 255, 0.28);
}
.market-price-pill.paid {
background: rgba(253, 224, 71, 0.18);
color: #fde047;
border-color: rgba(253, 224, 71, 0.32);
}
/* Featured-curated badge over the avatar thumbnail (gold star, top-left) */
.market-card-avatar.featured {
border-color: rgba(253, 224, 71, 0.25);
box-shadow: 0 0 0 1px rgba(253, 224, 71, 0.05);
}
.market-card-avatar .card-featured-badge {
position: absolute;
top: 8px;
left: 8px;
z-index: 2;
width: 22px;
height: 22px;
display: inline-flex;
align-items: center;
justify-content: center;
background: rgba(253, 224, 71, 0.18);
color: #fde047;
border: 1px solid rgba(253, 224, 71, 0.3);
border-radius: 50%;
font-size: 12px;
backdrop-filter: blur(4px);
pointer-events: none;
}
/* View-count pill in the byline (subtle, low-contrast). */
.market-card-avatar .byline .stat-pill.views {
background: rgba(255, 255, 255, 0.04);
border: 1px solid rgba(255, 255, 255, 0.06);
border-radius: 999px;
padding: 1px 7px;
font-size: 10px;
color: #a1a1aa;
font-weight: 500;
}
/* ── Avatar card details: byline, tags, footer cta ──────────── */
.market-card-avatar .byline {
display: flex;
align-items: center;
gap: 6px;
font-size: 12px;
/* Raised for the 4.5:1 axe AA floor on the card bg. */
color: #84848e;
min-width: 0;
flex-wrap: wrap;
}
.market-card-avatar .byline .muted.card-author,
.market-card-avatar .byline .card-author {
color: #d4d4d8;
text-decoration: none;
font-weight: 500;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 100%;
}
.market-card-avatar .byline a.card-author:hover {
color: #ffffff;
text-decoration: underline;
}
.market-card-avatar .byline .card-author.muted {
/* Raised for the 4.5:1 axe AA floor on the card bg (#71717a was 4.0:1). */
color: #84848e;
font-style: italic;
font-weight: 400;
}
.market-card-avatar .byline .dot {
/* #404040 measured 1.9:1; the separator is decorative but axe still
scores it as text. */
color: #6e6e78;
}
.market-card-avatar .card-tags {
display: flex;
gap: 4px;
flex-wrap: wrap;
margin-top: 2px;
}
.market-card-avatar .card-tags .tag-pill {
background: rgba(255, 255, 255, 0.06);
border: 1px solid rgba(255, 255, 255, 0.12);
color: #ffffff;
font-size: 10px;
padding: 2px 7px;
border-radius: 999px;
font-weight: 500;
}
.market-card-avatar .footer .open-cta {
color: #fafafa;
font-weight: 500;
font-size: 11px;
opacity: 0.6;
transition:
opacity var(--duration-fast) var(--ease-standard),
transform var(--duration-fast) var(--ease-standard);
}
.market-card-avatar:hover .footer .open-cta {
opacity: 1;
transform: translateX(2px);
}
.market-card-avatar .thumb-fallback {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
font-size: 38px;
color: rgba(255, 255, 255, 0.2);
}
/* ── Hero slides (cross-fade between featured avatars) ──────── */
.market-hero-stage {
display: block;
}
.market-hero-slide {
position: absolute;
inset: 0;
opacity: 0;
transition: opacity var(--duration-slow) var(--ease-standard);
pointer-events: none;
}
.market-hero-slide.active {
opacity: 1;
pointer-events: auto;
}
.market-hero-slide model-viewer {
width: 100%;
height: 100%;
}
/* ── Avatar detail modal ──────────────────────────────────────── */
.avatar-modal-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.78);
backdrop-filter: blur(6px);
z-index: 200;
display: flex;
align-items: center;
justify-content: center;
padding: 24px;
opacity: 0;
transition: opacity var(--duration-base) var(--ease-standard);
}
.avatar-modal-overlay.show {
opacity: 1;
}
.avatar-modal {
background: var(--stage-lift);
border: 1px solid #1f1f1f;
border-radius: 18px;
width: min(960px, 100%);
max-height: 90vh;
display: grid;
grid-template-columns: 1.2fr 1fr;
overflow: hidden;
box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.avatar-modal-stage {
background:
radial-gradient(circle at 50% 60%, rgba(255, 255, 255, 0.06), transparent 70%),
linear-gradient(180deg, var(--stage-deep), var(--stage));
min-height: 480px;
position: relative;
}
.avatar-modal-stage model-viewer {
width: 100%;
height: 100%;
--poster-color: transparent;
background: transparent;
}
.avatar-modal-side {
padding: 24px 26px;
display: flex;
flex-direction: column;
gap: 14px;
overflow-y: auto;
min-width: 0;
}
.avatar-modal-eyebrow {
font-family: var(--font-display);
font-size: 10px;
letter-spacing: 0.18em;
text-transform: uppercase;
color: #ffffff;
font-weight: 600;
}
.avatar-modal-title {
font-family: var(--font-display);
font-size: 24px;
font-weight: 700;
color: #fafafa;
margin: 0;
line-height: 1.2;
word-break: break-word;
}
.avatar-modal-desc {
color: #a1a1aa;
font-size: 13px;
line-height: 1.5;
margin: 0;
}
.avatar-modal-meta {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin-top: 4px;
}
.avatar-modal-meta .stat-pill {
background: rgba(255, 255, 255, 0.04);
border: 1px solid #1f1f1f;
padding: 3px 10px;
border-radius: 999px;
font-size: 11px;
color: #a1a1aa;
}
.avatar-modal-actions {
display: flex;
flex-direction: column;
gap: 8px;
margin-top: auto;
padding-top: 16px;
}
/* Sell-or-buy panel inside the avatar / agent detail modal. Owners
see a price + payout-wallet editor; non-owners see Pay-with-USDC. */
.avatar-modal-sale {
margin-top: 6px;
padding: 14px;
border-radius: 12px;
background: rgba(255, 255, 255, 0.03);
border: 1px solid #1f1f1f;
display: flex;
flex-direction: column;
gap: 10px;
font-size: 13px;
}
.avatar-modal-sale .sale-eyebrow {
font-family: var(--font-display);
font-size: 10px;
letter-spacing: 0.18em;
text-transform: uppercase;
color: #a1a1aa;
font-weight: 600;
}
.avatar-modal-sale .sale-price {
font-size: 22px;
font-weight: 700;
color: #fde047;
font-family: var(--font-display);
}
.avatar-modal-sale .sale-price.free {
color: #ffffff;
}
.avatar-modal-sale label {
display: flex;
flex-direction: column;
gap: 4px;
font-size: 11px;
color: #a1a1aa;
}
.avatar-modal-sale input[type='number'],
.avatar-modal-sale input[type='text'] {
background: var(--bg-0);
border: 1px solid #2a2a2a;
border-radius: 8px;
color: #fafafa;
padding: 8px 10px;
font-size: 13px;
font-family: inherit;
outline: none;
transition: border-color var(--duration-fast);
}
.avatar-modal-sale input[type='number']:focus,
.avatar-modal-sale input[type='text']:focus {
border-color: #ffffff;
}
.avatar-modal-sale .sale-row {
display: flex;
gap: 8px;
align-items: flex-end;
}
.avatar-modal-sale .sale-row label {
flex: 1;
}
.avatar-modal-sale .sale-row .sale-currency {
background: var(--bg-1);
border: 1px solid #2a2a2a;
color: #d4d4d8;
padding: 8px 10px;
border-radius: 8px;
font-family: var(--font-display);
font-weight: 600;
font-size: 12px;
}
.avatar-modal-sale button.sale-save,
.avatar-modal-sale button.sale-buy,
.avatar-modal-sale button.sale-clear {
border: 0;
padding: 10px 14px;
border-radius: 10px;
font-weight: 600;
font-size: 13px;
cursor: pointer;
font-family: inherit;
transition: transform var(--duration-fast);
}
.avatar-modal-sale button.sale-save {
background: #fafafa;
color: #000000;
}
.avatar-modal-sale button.sale-buy {
background: linear-gradient(180deg, #fde047, #facc15);
color: #181818;
}
.avatar-modal-sale button.sale-buy:hover,
.avatar-modal-sale button.sale-save:hover {
transform: translateY(-1px);
}
.avatar-modal-sale button.sale-clear {
background: transparent;
color: #a1a1aa;
border: 1px solid #2a2a2a;
}
.avatar-modal-sale .sale-status {
font-size: 11px;
color: #a1a1aa;
min-height: 14px;
}
.avatar-modal-sale .sale-status.ok {
color: #ffffff;
}
.avatar-modal-sale .sale-status.err {
color: #f43f5e;
}
.avatar-modal-sale .sale-hint {
font-size: 11px;
color: #71717a;
line-height: 1.5;
}
.avatar-modal-sale .sale-hint a {
color: #ffffff;
text-decoration: none;
}
.avatar-modal-sale .sale-hint a:hover {
text-decoration: underline;
}
.avatar-modal-actions button,
.avatar-modal-actions a {
width: 100%;
padding: 12px 16px;
border-radius: 10px;
font-weight: 600;
font-size: 13px;
cursor: pointer;
border: 1px solid transparent;
text-align: center;
text-decoration: none;
display: block;
transition:
transform var(--duration-fast) var(--ease-standard),
background var(--duration-fast) var(--ease-standard);
}
.avatar-modal-actions .btn-primary {
background: #fafafa;
color: #000000;
border-color: #fafafa;
}
.avatar-modal-actions .btn-primary:hover {
transform: translateY(-1px);
}
.avatar-modal-actions .btn-secondary {
background: transparent;
color: #fafafa;
border-color: #2a2a2a;
}
.avatar-modal-actions .btn-secondary:hover {
background: rgba(255, 255, 255, 0.05);
}
.avatar-modal-close {
position: absolute;
top: 12px;
right: 14px;
background: rgba(0, 0, 0, 0.4);
border: 1px solid #1f1f1f;
color: #fafafa;
width: 30px;
height: 30px;
border-radius: 50%;
cursor: pointer;
font-size: 18px;
line-height: 1;
z-index: 2;
}
.avatar-modal-close:hover {
background: rgba(0, 0, 0, 0.6);
}
@media (max-width: 760px) {
.avatar-modal {
grid-template-columns: 1fr;
max-height: 95vh;
}
.avatar-modal-stage {
min-height: 280px;
}
}
/* ── Skills tab ───────────────────────────────────────────────── */
.market-skills-tab {
padding: 0 24px 32px;
}
/* Community registry callout: the free, open-source prompt skills that
live in community-skills/ and import onto an agent from /skills/community. */
.market-community {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 12px 20px;
margin: 0 0 18px;
padding: 16px 20px;
border: 1px solid var(--stroke, rgba(255, 255, 255, 0.1));
border-radius: 12px;
background: var(--surface-1, rgba(255, 255, 255, 0.03));
transition: border-color var(--duration-fast) var(--ease-standard);
}
.market-community:hover {
border-color: var(--stroke-strong, rgba(255, 255, 255, 0.22));
}
.market-community-copy {
flex: 1 1 320px;
}
.market-community-copy h3 {
margin: 0 0 4px;
font-size: 15px;
color: var(--ink-bright, #fff);
}
.market-community-copy p {
margin: 0;
font-size: 13px;
line-height: 1.5;
color: var(--ink-dim, rgba(255, 255, 255, 0.65));
}
.market-community-cta {
display: inline-flex;
align-items: center;
padding: 8px 16px;
border-radius: 999px;
background: var(--ink-bright, #fff);
color: var(--bg-0, #0a0a0a);
font-size: 13px;
font-weight: 600;
text-decoration: none;
transition: opacity var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard);
}
.market-community-cta:hover {
opacity: 0.88;
}
.market-community-cta:active {
transform: translateY(1px);
}
.market-community-cta:focus-visible {
outline: 2px solid var(--focus-ring-color, #a78bfa);
outline-offset: 2px;
}
#skills-cat-chips {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin: 0 0 14px;
}
#skills-cat-chips .market-chip {
font-size: 11px;
padding: 4px 10px;
}
#skills-cat-chips .market-chip .chip-count {
background: rgba(255, 255, 255, 0.08);
color: inherit;
padding: 1px 6px;
margin-left: 4px;
border-radius: 999px;
font-size: 10px;
font-weight: 600;
}
#skills-cat-chips .market-chip.active .chip-count {
background: rgba(0, 0, 0, 0.15);
}
.market-skill-card .skill-desc {
font-size: 12px;
color: #a1a1aa;
line-height: 1.45;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
min-height: 32px;
}
.market-skill-card .skill-meta {
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
font-size: 11px;
/* Raised for the 4.5:1 axe AA floor; measured against this page's real bg. */
color: #84848e;
}
.market-skill-card .skill-meta .cat-pill {
background: rgba(255, 255, 255, 0.1);
color: #ffffff;
padding: 2px 8px;
border-radius: 999px;
font-size: 10px;
font-weight: 600;
letter-spacing: 0.02em;
text-transform: capitalize;
}
.market-skill-card .skill-meta .installs,
.market-skill-card .skill-meta .rating {
font-family: var(--font-display);
font-weight: 500;
}
.market-skill-card.installed {
border-color: rgba(255, 255, 255, 0.35);
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.skill-x402-badge {
display: inline-flex;
align-items: center;
padding: 2px 7px;
border-radius: 999px;
font-family: var(--font-display);
font-size: 10px;
font-weight: 700;
letter-spacing: 0.04em;
color: #6ee7b7;
background: rgba(52, 211, 153, 0.12);
border: 1px solid rgba(52, 211, 153, 0.3);
}
/* Per-call x402 panel on the skill detail page */
.skill-x402-block .skill-x402-price {
margin-left: auto;
font-family: var(--font-display);
font-weight: 700;
font-size: 13px;
color: #6ee7b7;
}
.skill-x402-lead {
color: rgba(255, 255, 255, 0.6);
font-size: 13px;
line-height: 1.5;
margin: 8px 0 14px;
}
.skill-x402-endpoint {
display: flex;
align-items: stretch;
gap: 8px;
margin-bottom: 14px;
}
.skill-x402-endpoint code {
flex: 1;
min-width: 0;
overflow-x: auto;
white-space: nowrap;
padding: 9px 12px;
border-radius: 8px;
background: rgba(0, 0, 0, 0.35);
border: 1px solid rgba(255, 255, 255, 0.08);
font-family: var(--font-mono);
font-size: 12px;
color: #e4e4e7;
}
.skill-x402-copy {
flex-shrink: 0;
white-space: nowrap;
}
.skill-x402-copy.copied {
color: #6ee7b7;
border-color: rgba(52, 211, 153, 0.4);
}
.skill-x402-snippet {
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 10px;
overflow: hidden;
background: rgba(0, 0, 0, 0.3);
}
.skill-x402-snippet-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
padding: 8px 12px;
background: rgba(255, 255, 255, 0.03);
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
font-size: 12px;
color: rgba(255, 255, 255, 0.55);
}
.skill-x402-snippet pre {
margin: 0;
padding: 14px;
overflow-x: auto;
font-family: var(--font-mono);
font-size: 12px;
line-height: 1.6;
color: #d4d4d8;
}
.market-skill-card .skill-installed-tag {
display: inline-flex;
align-items: center;
gap: 4px;
color: #ffffff;
font-size: 11px;
font-weight: 600;
}
.market-skill-rating {
display: flex;
align-items: center;
gap: 4px;
margin-top: 4px;
}
.market-skill-rating button {
background: transparent;
border: 0;
color: #71717a;
font-size: 20px;
cursor: pointer;
padding: 0;
line-height: 1;
font-family: inherit;
}
.market-skill-rating button.active,
.market-skill-rating button:hover {
color: #fde047;
}
.market-skill-rating .rating-count {
font-size: 11px;
color: #71717a;
margin-left: 8px;
}
.market-skill-tools {
background: rgba(255, 255, 255, 0.04);
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 10px;
padding: 10px 12px;
margin-top: 6px;
}
.market-skill-tools h4 {
margin: 0 0 6px;
font-size: 11px;
letter-spacing: 0.12em;
text-transform: uppercase;
color: #ffffff;
font-weight: 600;
}
.market-skill-tools ul {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
gap: 4px;
}
.market-skill-tools li {
font-family: var(--font-display);
font-size: 12px;
color: #e4e4e7;
}
.market-skill-tools li small {
display: block;
color: #71717a;
font-family: inherit;
font-size: 11px;
}
.market-skill-content {
background: #050505;
border: 1px solid #1f1f1f;
border-radius: 10px;
padding: 12px 14px;
margin-top: 6px;
max-height: 280px;
overflow-y: auto;
font-family: var(--font-display);
font-size: 12px;
line-height: 1.55;
color: #d4d4d8;
white-space: pre-wrap;
word-break: break-word;
}
.market-skill-card {
background: var(--surface-1);
border: 1px solid var(--stroke);
border-radius: 14px;
padding: 16px;
display: flex;
flex-direction: column;
gap: 10px;
cursor: pointer;
transition:
border-color var(--duration-fast) var(--ease-standard),
transform var(--duration-fast) var(--ease-standard);
}
.market-skill-card:hover {
border-color: var(--stroke-strong);
transform: translateY(-1px);
}
.market-skill-card:focus-visible {
outline: none;
border-color: var(--stroke-strong);
box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.55);
transform: translateY(-1px);
}
/* "Details →" affordance — dim at rest, resolves on card hover/focus */
.market-skill-card .skill-foot {
justify-content: space-between;
}
.market-skill-card .open-cta {
color: #fafafa;
font-weight: 500;
opacity: 0.55;
transition: opacity var(--duration-fast) var(--ease-standard);
}
.market-skill-card .open-cta-arrow {
display: inline-block;
transition: transform var(--duration-fast) var(--ease-standard);
}
.market-skill-card:hover .open-cta,
.market-skill-card:focus-visible .open-cta {
opacity: 1;
}
.market-skill-card:hover .open-cta-arrow,
.market-skill-card:focus-visible .open-cta-arrow {
transform: translateX(2px);
}
.market-skill-card .skill-head {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 10px;
}
.market-skill-card .skill-name {
font-size: 14px;
font-weight: 600;
color: #fafafa;
word-break: break-word;
min-width: 0;
flex: 1;
}
.market-skill-card .skill-price {
flex: 0 0 auto;
font-family: var(--font-display);
font-weight: 700;
font-size: 14px;
}
.market-skill-card .skill-price.free {
color: #ffffff;
}
.market-skill-card .skill-price.paid {
color: #fde047;
}
.market-skill-card .skill-agent {
display: flex;
align-items: center;
gap: 8px;
color: #a1a1aa;
font-size: 12px;
}
.market-skill-card .skill-agent .av {
width: 22px;
height: 22px;
border-radius: 6px;
background: var(--bg-1);
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 11px;
font-weight: 600;
color: #fafafa;
flex: 0 0 auto;
}
.market-skill-card .skill-cta {
margin-top: auto;
padding: 8px 12px;
background: rgba(255, 255, 255, 0.04);
border: 1px solid #2a2a2a;
border-radius: 8px;
font-size: 12px;
color: #fafafa;
font-weight: 500;
text-align: center;
cursor: pointer;
}
.market-skill-card .skill-cta:hover {
background: rgba(255, 255, 255, 0.08);
}
.market-skill-card .skill-cta.purchase {
background: #fafafa;
color: #000000;
border-color: #fafafa;
}
/* ── Empty state CTA ──────────────────────────────────────────── */
.market-empty-cta {
grid-column: 1 / -1;
padding: 48px 24px;
text-align: center;
color: #a1a1aa;
}
.market-empty-cta h3 {
font-family: var(--font-display);
color: #fafafa;
margin: 0 0 8px;
font-size: 18px;
}
.market-empty-cta p {
margin: 0 0 16px;
font-size: 14px;
}
.market-empty-cta-actions {
display: inline-flex;
gap: 10px;
flex-wrap: wrap;
justify-content: center;
}
.market-empty-cta-btn {
background: rgba(255, 255, 255, 0.04);
color: #fafafa;
border: 1px solid #2a2a2a;
padding: 10px 18px;
border-radius: 10px;
font-weight: 500;
font-size: 13px;
cursor: pointer;
transition:
background var(--duration-fast) var(--ease-standard),
border-color var(--duration-fast) var(--ease-standard);
font-family: inherit;
}
.market-empty-cta-btn:hover {
background: rgba(255, 255, 255, 0.08);
border-color: #3a3a3a;
}
.market-empty-cta-btn.primary {
background: #fafafa;
color: #000000;
border-color: #fafafa;
font-weight: 600;
}
.market-empty-cta-btn.primary:hover {
background: #ffffff;
}
.market-empty-cta-btn:focus-visible {
outline: 2px solid var(--focus-ring-color);
outline-offset: 2px;
}
.price-badge {
display: inline-block;
margin-left: 8px;
padding: 2px 6px;
font-size: 10px;
font-weight: 600;
border-radius: 4px;
vertical-align: middle;
}
.price-free {
color: #a7f3d0;
background-color: rgba(255, 255, 255, 0.1);
}
.price-paid {
color: #fde047;
background-color: rgba(253, 224, 71, 0.1);
}
.payment-modal-body {
padding: 16px;
font-size: 14px;
color: rgba(255, 255, 255, 0.7);
}
.payment-item {
background-color: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 8px;
padding: 12px;
margin: 16px 0;
text-align: center;
}
#payment-skill-name {
display: block;
font-size: 16px;
font-weight: 600;
color: #fff;
}
.payment-item > span {
font-size: 12px;
color: rgba(255, 255, 255, 0.5);
}
#payment-agent-name {
display: block;
font-size: 12px;
font-style: normal;
}
.payment-price {
display: flex;
justify-content: space-between;
align-items: baseline;
padding: 12px 0;
border-top: 1px solid rgba(255, 255, 255, 0.1);
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
#payment-price-display {
font-size: 20px;
font-weight: 700;
color: #fde047;
}
.payment-fee-note {
font-size: 12px;
color: rgba(255, 255, 255, 0.6);
line-height: 1.5;
padding: 10px 0 0;
}
.payment-fee-note strong {
color: rgba(255, 255, 255, 0.85);
font-weight: 600;
}
.payment-wallet-area {
margin: 20px 0;
padding: 16px;
background-color: rgba(0, 0, 0, 0.2);
border-radius: 8px;
text-align: center;
}
.payment-confirm-btn {
width: 100%;
padding: 12px;
font-size: 16px;
}
.payment-status {
margin-top: 16px;
font-size: 12px;
text-align: center;
min-height: 1.2em;
}
.payment-status.ok {
color: #86efac;
}
.payment-status.err {
color: #fca5a5;
}
.payment-qr {
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
margin-top: 14px;
}
.payment-qr:empty {
display: none;
}
.payment-qr canvas {
background: #fff;
border-radius: 8px;
padding: 8px;
}
.payment-qr .muted {
color: #9ca3af;
}
.payment-qr .small {
font-size: 11px;
text-align: center;
}
.payment-chain-picker {
display: flex;
gap: 6px;
margin-bottom: 12px;
flex-wrap: wrap;
}
.payment-chain-pill {
background: var(--bg-1);
border: 1px solid #2a2a2a;
color: #cbd5e1;
padding: 6px 12px;
border-radius: 999px;
font-size: 12px;
cursor: pointer;
transition: all var(--duration-fast);
}
.payment-chain-pill:hover {
border-color: #404040;
}
.payment-chain-pill.active {
background: #ffffff;
border-color: #ffffff;
color: #fff;
}
/* Sub-title badge under the modal heading. Used by the time-pass flow
to make the temporary-access nature of the purchase impossible to
miss, and by the asset flow to distinguish "Buy Avatar" vs the
permanent "Unlock skill" copy. Hidden by default; opened flows
populate it via setPaymentBadge(). */
.payment-modal-badge {
margin: -6px 0 14px;
padding: 8px 12px;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.32);
border-radius: 8px;
font-size: 12px;
color: #c7d2fe;
display: flex;
align-items: center;
gap: 8px;
}
.payment-modal-badge .payment-modal-badge-icon {
width: 16px;
height: 16px;
display: inline-flex;
align-items: center;
justify-content: center;
flex: 0 0 auto;
}
.payment-modal-badge.warn {
background: rgba(253, 224, 71, 0.08);
border-color: rgba(253, 224, 71, 0.3);
color: #fde68a;
}
.payment-modal-badge.info {
background: rgba(87, 199, 255, 0.08);
border-color: rgba(87, 199, 255, 0.3);
color: #bfe6ff;
}
/* Persistent post-purchase success card. Replaces the modal body so
the user sees what they bought + a one-click path to use it,
instead of a 1.5s status flash before the modal closes. */
.payment-modal-success {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
padding: 8px 8px 4px;
gap: 12px;
}
.payment-modal-success .ps-check {
width: 56px;
height: 56px;
border-radius: 50%;
background: rgba(134, 239, 172, 0.16);
border: 1px solid rgba(134, 239, 172, 0.4);
color: #86efac;
display: flex;
align-items: center;
justify-content: center;
font-size: 28px;
font-weight: 700;
line-height: 1;
}
.payment-modal-success .ps-title {
font-size: 18px;
font-weight: 700;
color: #fff;
margin: 0;
}
.payment-modal-success .ps-sub {
font-size: 13px;
color: rgba(255, 255, 255, 0.62);
margin: 0;
line-height: 1.4;
}
.payment-modal-success .ps-actions {
display: flex;
gap: 10px;
width: 100%;
margin-top: 6px;
}
.payment-modal-success .ps-actions .btn-primary,
.payment-modal-success .ps-actions .btn-secondary {
flex: 1;
padding: 11px 14px;
font-size: 14px;
font-weight: 600;
border-radius: 8px;
text-align: center;
text-decoration: none;
border: 1px solid transparent;
cursor: pointer;
}
.payment-modal-success .ps-actions .btn-primary {
background: #ffffff;
color: #fff;
}
.payment-modal-success .ps-actions .btn-primary:hover {
background: #4f46e5;
}
.payment-modal-success .ps-actions .btn-secondary {
background: transparent;
color: rgba(255, 255, 255, 0.78);
border-color: rgba(255, 255, 255, 0.18);
}
.payment-modal-success .ps-actions .btn-secondary:hover {
background: rgba(255, 255, 255, 0.06);
color: #fff;
}
/* Verify-again retry card: lets the user re-poll without re-paying
when the server can't confirm the on-chain transfer in the initial
60s window. Signature already on chain — only the server lookup
needs to retry. */
.payment-modal-retry {
display: flex;
flex-direction: column;
gap: 10px;
padding: 14px;
background: rgba(253, 224, 71, 0.06);
border: 1px solid rgba(253, 224, 71, 0.22);
border-radius: 10px;
margin-top: 10px;
}
.payment-modal-retry p {
margin: 0;
font-size: 13px;
color: #fde68a;
line-height: 1.45;
}
.payment-modal-retry .retry-tx {
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 11px;
color: rgba(255, 255, 255, 0.55);
word-break: break-all;
}
.payment-modal-retry .retry-tx a {
color: #93c5fd;
}
.payment-modal-retry .retry-actions {
display: flex;
gap: 8px;
}
.payment-modal-retry .retry-actions button {
flex: 1;
padding: 9px 12px;
font-size: 13px;
font-weight: 600;
border-radius: 7px;
cursor: pointer;
border: 1px solid transparent;
}
.payment-modal-retry .retry-primary {
background: #fde047;
color: #1f1500;
}
.payment-modal-retry .retry-primary:disabled {
opacity: 0.6;
cursor: not-allowed;
}
.payment-modal-retry .retry-secondary {
background: transparent;
color: rgba(255, 255, 255, 0.7);
border-color: rgba(255, 255, 255, 0.18);
}
/* ── Card profile link (agent/avatar/onchain title <a>) ─────── */
.card-profile-link {
color: inherit;
text-decoration: none;
display: block;
/* line-height (not padding) both grows the single-line box to the
32px tap-target floor and keeps the text vertically centered in
it — padding would push the text off-center against the ellipsis
truncation. */
min-height: 32px;
line-height: 32px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-size: inherit;
font-weight: inherit;
}
.card-profile-link:hover {
text-decoration: underline;
text-underline-offset: 2px;
}
.card-profile-link:focus-visible {
outline: 2px solid var(--focus-ring-color);
outline-offset: 2px;
border-radius: 2px;
}
/* ── Card entry animations ────────────────────────────────────── */
@keyframes mk-card-in {
from {
opacity: 0;
transform: translateY(14px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.mk-card-enter {
animation: mk-card-in 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
animation-delay: var(--card-delay, 0s);
}
@media (prefers-reduced-motion: reduce) {
.mk-card-enter {
animation: none;
}
}
/* ── Animations tab ───────────────────────────────────────────── */
.market-anim-grid {
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
/* Live sales pulse — a marquee of the most recent skill purchases across
the marketplace. The track is duplicated in JS so the loop is seamless. */
.market-pulse {
display: flex;
align-items: center;
gap: 14px;
margin: 4px 0 18px;
padding: 9px 14px;
border: 1px solid var(--stroke);
border-radius: 12px;
background:
linear-gradient(90deg, color-mix(in srgb, var(--accent) 7%, transparent), transparent 22%),
var(--surface-1);
overflow: hidden;
}
.market-pulse-label {
display: inline-flex;
align-items: center;
gap: 7px;
flex: 0 0 auto;
font-size: 11px;
font-weight: 600;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--text-2, #9aa);
white-space: nowrap;
}
.market-pulse-dot {
width: 7px;
height: 7px;
border-radius: 50%;
background: var(--accent, #34d399);
box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 70%, transparent);
animation: market-pulse-blink 2s ease-out infinite;
}
@keyframes market-pulse-blink {
0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); }
70% { box-shadow: 0 0 0 6px transparent; }
100% { box-shadow: 0 0 0 0 transparent; }
}
.market-pulse-viewport {
position: relative;
flex: 1 1 auto;
overflow: hidden;
-webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.market-pulse-track {
display: inline-flex;
align-items: center;
gap: 10px;
white-space: nowrap;
will-change: transform;
animation: market-pulse-scroll var(--pulse-duration, 40s) linear infinite;
}
.market-pulse:hover .market-pulse-track,
.market-pulse-track:focus-within {
animation-play-state: paused;
}
@keyframes market-pulse-scroll {
from { transform: translateX(0); }
to { transform: translateX(-50%); }
}
.market-pulse-item {
display: inline-flex;
align-items: center;
gap: 8px;
flex: 0 0 auto;
padding: 5px 11px 5px 6px;
border: 1px solid var(--stroke);
border-radius: 999px;
background: var(--surface-2, rgba(255, 255, 255, 0.03));
color: var(--text-1, #e6e6e6);
font-size: 12.5px;
text-decoration: none;
transition: border-color var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard);
}
.market-pulse-item:hover {
border-color: color-mix(in srgb, var(--accent) 55%, var(--stroke));
transform: translateY(-1px);
}
.market-pulse-item:focus-visible {
outline: 2px solid var(--accent, #34d399);
outline-offset: 2px;
}
.market-pulse-av {
width: 22px;
height: 22px;
border-radius: 50%;
object-fit: cover;
flex: 0 0 auto;
background: var(--surface-3, #222);
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 11px;
font-weight: 700;
color: var(--accent, #34d399);
}
.market-pulse-item b {
font-weight: 600;
}
.market-pulse-skill {
color: var(--text-2, #9aa);
}
.market-pulse-amt {
font-variant-numeric: tabular-nums;
font-weight: 600;
color: var(--accent, #34d399);
}
.market-pulse-amt.is-trial {
color: var(--text-2, #9aa);
}
.market-pulse-time {
color: var(--text-3, #677);
font-size: 11px;
}
@media (prefers-reduced-motion: reduce) {
.market-pulse-track {
animation: none;
overflow-x: auto;
scrollbar-width: none;
}
.market-pulse-track::-webkit-scrollbar { display: none; }
}
@media (max-width: 640px) {
.market-pulse-label span:not(.market-pulse-dot) { display: none; }
}
/* ── Top Performers podium ────────────────────────────────────── */
.mkt-top-section {
margin: 0 0 20px;
}
.mkt-top-head {
display: flex;
align-items: baseline;
gap: 10px;
margin-bottom: 12px;
flex-wrap: wrap;
}
.mkt-top-eyebrow {
font-size: 10px;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--text-3);
padding: 3px 8px;
border: 1px solid var(--stroke);
border-radius: 999px;
}
.mkt-top-title {
font-size: 14px;
font-weight: 700;
color: var(--text);
margin: 0;
letter-spacing: -0.01em;
}
.mkt-top-see-all {
margin-left: auto;
font-size: 12px;
color: var(--text-3);
text-decoration: none;
transition: color var(--duration-fast);
}
.mkt-top-see-all:hover { color: var(--text); }
.mkt-top-podium {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 10px;
}
.mkt-top-card {
display: flex;
flex-direction: column;
align-items: center;
padding: 20px 16px 18px;
border-radius: 14px;
border: 1px solid var(--stroke);
background: var(--surface-1);
text-decoration: none;
cursor: pointer;
position: relative;
overflow: hidden;
transition: border-color var(--duration-fast), transform var(--duration-fast), box-shadow var(--duration-fast);
gap: 2px;
/* The skeleton card and the loaded card have to be the same box, or
the swap moves the whole page. Measured against production on
2026-08-15 the loaded card was 235px tall and the skeleton 190px,
so the "no layout jump" the skeleton was written for never held.
Pinning the floor here holds it for both, since both are
.mkt-top-card. Mobile has its own value in the 640px query. */
min-height: 235px;
}
.mkt-top-card::before {
content: '';
position: absolute;
top: 0; left: 0; right: 0;
height: 3px;
background: var(--rank-color, #6b7280);
opacity: 0.9;
}
.mkt-top-card::after {
content: '';
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--rank-color, #6b7280) 8%, transparent), transparent 60%);
pointer-events: none;
}
.mkt-top-card:hover {
border-color: color-mix(in srgb, var(--rank-color, #6b7280) 40%, transparent);
transform: translateY(-3px);
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.mkt-top-card:focus-visible {
outline: 2px solid var(--rank-color, #fff);
outline-offset: 2px;
}
.mkt-top-rank {
position: absolute;
top: 12px;
left: 12px;
font-size: 11px;
font-weight: 800;
color: var(--rank-color, #6b7280);
letter-spacing: 0.04em;
z-index: 1;
}
.mkt-top-av-wrap {
width: 52px;
height: 52px;
border-radius: 50%;
overflow: hidden;
border: 2px solid color-mix(in srgb, var(--rank-color, #6b7280) 40%, transparent);
margin-bottom: 10px;
margin-top: 4px;
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
background: var(--surface-2);
z-index: 1;
}
.mkt-top-avatar {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.mkt-top-avatar-fallback {
font-size: 20px;
font-weight: 700;
color: var(--rank-color, #6b7280);
line-height: 1;
text-transform: uppercase;
}
.mkt-top-name {
font-size: 12px;
font-weight: 600;
color: var(--text-2);
text-align: center;
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
z-index: 1;
}
.mkt-top-wr {
font-size: 28px;
font-weight: 800;
color: var(--rank-color, #6b7280);
letter-spacing: -0.03em;
line-height: 1.1;
margin-top: 8px;
z-index: 1;
}
.mkt-top-wr-lbl {
font-size: 10px;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--text-3);
margin-bottom: 8px;
z-index: 1;
}
.mkt-top-meta {
display: flex;
flex-direction: column;
align-items: center;
gap: 3px;
font-size: 11px;
color: var(--text-3);
z-index: 1;
}
.mkt-top-pnl.pos { color: #34d399; }
.mkt-top-pnl.neg { color: var(--danger); }
/* Skeleton states */
.mkt-top-card.mkt-skel .mkt-top-av-wrap,
.mkt-top-card.mkt-skel .mkt-top-name,
.mkt-top-card.mkt-skel .mkt-top-wr,
.mkt-top-card.mkt-skel .mkt-top-wr-lbl,
.mkt-top-card.mkt-skel .mkt-top-meta {
background: var(--surface-2);
color: transparent;
border-radius: 6px;
background-image: linear-gradient(90deg, var(--surface-2) 0%, var(--surface-3, #1e1e1e) 50%, var(--surface-2) 100%);
background-size: 200% 100%;
animation: mkt-skel-shimmer 1.4s ease-in-out infinite;
}
.mkt-top-card.mkt-skel .mkt-top-av-wrap { border: none; border-radius: 50%; }
@keyframes mkt-skel-shimmer {
0% { background-position: 200% 0; }
100% { background-position: -200% 0; }
}
@media (max-width: 640px) {
.mkt-top-podium { grid-template-columns: 1fr; gap: 8px; }
/* Same reservation as the desktop rule above, at the height a loaded
card measures once the podium is a single stacked column (72px on
production, 2026-08-15). A name long enough to wrap still grows it
at the narrowest widths; that residual is noted in
docs/site-performance.md. */
.mkt-top-card { flex-direction: row; align-items: center; padding: 14px 16px; gap: 12px; min-height: 72px; }
/* One column here, so unlike desktop the placeholder COUNT decides the
podium's height. Three placeholders would reserve three rows for a
feed that currently returns one agent, and over-reserving shifts the
page just as surely as under-reserving. Reserve the row the loaded
podium actually has. */
.mkt-top-podium .mkt-skel:nth-child(n + 2) { display: none; }
.mkt-top-card::after { background: none; }
.mkt-top-av-wrap { margin: 0; width: 42px; height: 42px; }
.mkt-top-rank { position: static; }
.mkt-top-wr { font-size: 20px; margin-top: 0; }
.mkt-top-wr-lbl { margin-bottom: 0; }
.mkt-top-card .mkt-top-name,
.mkt-top-card .mkt-top-wr,
.mkt-top-card .mkt-top-wr-lbl,
.mkt-top-card .mkt-top-meta { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
.mkt-top-card.mkt-skel .mkt-top-av-wrap,
.mkt-top-card.mkt-skel .mkt-top-name,
.mkt-top-card.mkt-skel .mkt-top-wr,
.mkt-top-card.mkt-skel .mkt-top-wr-lbl,
.mkt-top-card.mkt-skel .mkt-top-meta { animation: none; }
.mkt-top-card { transition: none; }
}
/* ── Platform activity strip ──────────────────────────────────── */
.market-activity-strip {
display: flex;
align-items: center;
gap: 0;
margin: 0 0 14px;
border: 1px solid var(--stroke);
border-radius: 12px;
overflow: hidden;
background: var(--surface-1);
}
.market-activity-kpi {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 10px 20px;
flex: 1 1 0;
min-width: 0;
border-right: 1px solid var(--stroke);
gap: 2px;
}
.market-activity-kpi:last-child { border-right: none; }
.market-activity-kpi-value {
font-size: 16px;
font-weight: 700;
color: var(--text);
letter-spacing: -0.02em;
white-space: nowrap;
}
.market-activity-kpi-value.positive { color: #34d399; }
.market-activity-kpi-value.loading { color: var(--text-3); }
.market-activity-kpi-label {
font-size: 10px;
font-weight: 500;
color: var(--text-3);
text-transform: uppercase;
letter-spacing: 0.06em;
white-space: nowrap;
}
.market-activity-kpi-dot {
display: inline-block;
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--accent, #34d399);
margin-right: 5px;
animation: market-pulse-blink 2s ease-out infinite;
vertical-align: middle;
}
@media (max-width: 600px) {
.market-activity-strip { display: none; }
}
/* ── Oracle win-rate badge on agent cards ─────────────────────── */
.oracle-badge {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 3px 8px;
border-radius: 999px;
font-size: 11px;
font-weight: 600;
background: color-mix(in srgb, #34d399 12%, transparent);
color: #34d399;
border: 1px solid color-mix(in srgb, #34d399 25%, transparent);
}
.oracle-badge.neutral {
background: color-mix(in srgb, #a1a1aa 10%, transparent);
color: #a1a1aa;
border-color: color-mix(in srgb, #a1a1aa 20%, transparent);
}
.market-anim-card {
background: var(--surface-1);
border: 1px solid var(--stroke);
border-radius: 14px;
padding: 16px;
display: flex;
align-items: center;
gap: 12px;
cursor: pointer;
transition:
border-color var(--duration-fast) var(--ease-standard),
transform var(--duration-fast) var(--ease-standard),
box-shadow var(--duration-fast) var(--ease-standard);
}
.market-anim-card:hover {
border-color: rgba(255, 255, 255, 0.18);
transform: translateY(-2px);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.anim-card-icon {
font-size: 28px;
line-height: 1;
flex: 0 0 auto;
width: 44px;
height: 44px;
display: flex;
align-items: center;
justify-content: center;
background: rgba(255, 255, 255, 0.05);
border-radius: 10px;
}
.anim-card-body {
min-width: 0;
flex: 1;
}
.anim-card-name {
font-size: 13px;
font-weight: 600;
color: #fafafa;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.anim-card-meta {
display: flex;
gap: 5px;
margin-top: 5px;
flex-wrap: wrap;
}
.anim-type-pill {
font-size: 10px;
font-weight: 700;
padding: 2px 7px;
border-radius: 999px;
letter-spacing: 0.04em;
}
.anim-type-pill.loop {
background: rgba(52, 211, 153, 0.12);
color: #34d399;
border: 1px solid rgba(52, 211, 153, 0.25);
}
.anim-type-pill.action {
background: rgba(251, 146, 60, 0.12);
color: #fb923c;
border: 1px solid rgba(251, 146, 60, 0.25);
}
.anim-cat-pill {
font-size: 10px;
font-weight: 500;
padding: 2px 7px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.07);
color: #a1a1aa;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.anim-card-cta {
font-size: 11px;
color: #fafafa;
opacity: 0;
transition: opacity var(--duration-fast) var(--ease-standard);
flex: 0 0 auto;
font-weight: 500;
}
.market-anim-card:hover .anim-card-cta {
opacity: 0.7;
}
/* Animation detail page stage */
.anim-detail-stage {
position: relative;
background:
radial-gradient(circle at 50% 60%, rgba(255, 255, 255, 0.05), transparent 70%),
linear-gradient(180deg, var(--stage-deep), var(--stage));
border: 1px solid var(--stroke);
border-radius: 18px;
min-height: 420px;
overflow: hidden;
margin: 8px 0 4px;
}
.anim-detail-stage agent-3d {
/* Fill the stage via absolute positioning. The stage sizes itself
from min-height, so a percentage `height: 100%` on the child
resolves against an auto-height parent and collapses to 0 —
inset: 0 stretches to the stage's used height instead. */
position: absolute;
inset: 0;
display: block;
}
.anim-detail-stage-load {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
pointer-events: none;
}
@media (max-width: 600px) {
.anim-detail-stage {
min-height: 300px;
}
}
/* ── Memory tab ───────────────────────────────────────────────── */
.market-memory-body {
padding: 0 24px 48px;
display: flex;
flex-direction: column;
gap: 32px;
}
.market-memory-intro {
display: flex;
gap: 24px;
align-items: flex-start;
padding: 28px;
background:
radial-gradient(
ellipse at top right,
rgba(255, 255, 255, 0.05),
transparent 60%
),
linear-gradient(180deg, var(--stage-lift), var(--stage));
border: 1px solid #1f1f1f;
border-radius: 18px;
margin-top: 4px;
flex-wrap: wrap;
}
.memory-intro-text {
flex: 1;
min-width: 280px;
}
.memory-intro-title {
font-family: var(--font-display);
font-size: 24px;
font-weight: 700;
color: #fafafa;
margin: 0 0 10px;
line-height: 1.25;
}
.memory-intro-sub {
font-size: 14px;
color: #a1a1aa;
margin: 0;
line-height: 1.6;
}
.memory-intro-cta {
display: flex;
align-items: center;
flex-shrink: 0;
}
.market-memory-cta-btn {
background: #fafafa;
color: #000;
padding: 11px 18px;
border-radius: 10px;
font-weight: 600;
font-size: 13px;
text-decoration: none;
transition:
transform var(--duration-fast) var(--ease-standard),
box-shadow var(--duration-fast) var(--ease-standard);
white-space: nowrap;
}
.market-memory-cta-btn:hover {
transform: translateY(-1px);
box-shadow: 0 8px 20px rgba(255, 255, 255, 0.08);
}
.market-memory-section-title {
font-family: var(--font-display);
font-size: 13px;
font-weight: 700;
letter-spacing: 0.12em;
text-transform: uppercase;
color: #a1a1aa;
margin: 0;
}
.market-memory-types {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 14px;
}
.market-memory-type-card {
background: var(--surface-1);
border: 1px solid var(--stroke);
border-radius: 16px;
padding: 20px;
display: flex;
gap: 14px;
transition:
border-color var(--duration-fast) var(--ease-standard),
transform var(--duration-fast) var(--ease-standard);
}
.market-memory-type-card:hover {
border-color: rgba(255, 255, 255, 0.15);
transform: translateY(-2px);
}
.memory-type-icon {
font-size: 28px;
line-height: 1;
flex: 0 0 auto;
width: 48px;
height: 48px;
display: flex;
align-items: center;
justify-content: center;
background: rgba(255, 255, 255, 0.05);
border-radius: 12px;
}
.memory-type-body {
min-width: 0;
flex: 1;
}
.memory-type-title {
font-size: 14px;
font-weight: 700;
color: #fafafa;
margin-bottom: 6px;
}
.memory-type-desc {
font-size: 12px;
color: #a1a1aa;
line-height: 1.5;
margin-bottom: 10px;
}
.memory-example-label {
font-size: 10px;
font-weight: 700;
letter-spacing: 0.1em;
text-transform: uppercase;
color: #52525b;
display: block;
margin-bottom: 4px;
}
.memory-example-text {
font-size: 11px;
color: #71717a;
font-style: italic;
line-height: 1.4;
margin: 0;
padding: 8px 10px;
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.06);
border-radius: 8px;
border-left: 3px solid rgba(255, 255, 255, 0.18);
}
/* Memory type accent colors */
.market-memory-type-card[data-memory-type='user'] .memory-type-icon {
background: rgba(59, 130, 246, 0.1);
}
.market-memory-type-card[data-memory-type='feedback'] .memory-type-icon {
background: rgba(234, 179, 8, 0.1);
}
.market-memory-type-card[data-memory-type='project'] .memory-type-icon {
background: rgba(34, 197, 94, 0.1);
}
.market-memory-type-card[data-memory-type='reference'] .memory-type-icon {
background: rgba(255, 255, 255, 0.06);
}
/* How memory works section */
.market-memory-how {
display: flex;
flex-direction: column;
gap: 16px;
}
.memory-how-steps {
display: flex;
flex-direction: column;
gap: 1px;
border: 1px solid #1f1f1f;
border-radius: 16px;
overflow: hidden;
}
.memory-step {
display: flex;
align-items: flex-start;
gap: 16px;
padding: 18px 20px;
background: var(--surface-1);
transition: background var(--duration-fast) var(--ease-standard);
}
.memory-step:hover {
background: #141414;
}
.memory-step-num {
width: 28px;
height: 28px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.08);
color: #a1a1aa;
font-family: var(--font-display);
font-weight: 700;
font-size: 12px;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.memory-step-text {
font-size: 13px;
color: #a1a1aa;
line-height: 1.55;
padding-top: 3px;
}
.memory-step-text strong {
color: #fafafa;
font-weight: 600;
}
/* Memory live feed */
.market-memory-live {
display: flex;
flex-direction: column;
gap: 16px;
}
.memory-feed {
display: flex;
flex-direction: column;
gap: 1px;
border: 1px solid #1f1f1f;
border-radius: 14px;
overflow: hidden;
}
.memory-feed-item {
display: flex;
align-items: flex-start;
gap: 12px;
padding: 12px 16px;
background: var(--surface-1);
}
.memory-feed-icon {
width: 28px;
height: 28px;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
flex-shrink: 0;
}
.memory-feed-body {
min-width: 0;
flex: 1;
}
.memory-feed-type {
font-size: 10px;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
color: #52525b;
margin-bottom: 2px;
}
.memory-feed-content {
font-size: 12px;
color: #d4d4d8;
line-height: 1.45;
}
.memory-feed-empty {
padding: 32px;
text-align: center;
color: #52525b;
font-size: 13px;
}
.market-memory-live-cta {
background: rgba(255, 255, 255, 0.04);
border: 1px solid #2a2a2a;
border-radius: 10px;
padding: 16px 20px;
text-align: center;
color: #a1a1aa;
font-size: 13px;
}
.market-memory-live-cta a {
color: #ffffff;
text-decoration: none;
}
.market-memory-live-cta a:hover {
text-decoration: underline;
}
/* ──────────────────────────────────────────────────────────────
Mobile corrections (≤600px). Supplements the responsive rules in
marketplace.css / marketplace-v2.css for the gaps that file can't
reach from this page. Loaded last in source order, so these win at
equal specificity without needing !important. Desktop untouched.
────────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
/* Listing grid: the shared marketplace.css rules resolve to
repeat(2,1fr) below 480px, but the avatar cards carry a
min-content (3D thumb + long names) that lets each 1fr track
grow past half the viewport — so the second column is pushed
off-screen and clipped. Force a single, full-width column and
pin tracks to minmax(0,1fr) so a card can never exceed the
container. Covers every .market-grid surface (discovery, mine,
purchases, skills, similar/related). */
.market-grid {
grid-template-columns: minmax(0, 1fr);
}
/* Animation grid keeps its own compact two-up layout — it uses
wide horizontal cards, not square 3D thumbs, so two fit fine. */
.market-grid.market-anim-grid {
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
/* Grid items default to min-width:auto (=min-content); pin to 0
so a long unbroken agent name can't blow the track wider than
the column. */
.market-grid > * {
min-width: 0;
}
/* iOS zooms the page when a focused input's font-size is < 16px.
These controls still sit at 13–14px from the desktop sheet;
bump them to 16px on phones to kill the zoom-on-focus jump.
(Other inputs on the page are already 16px.) */
#market-search,
#market-sort,
#skills-sort,
#plugin-search,
#sf-category,
#market-import-json {
font-size: 16px;
}
/* Filter / price / model-category chip rows: give each row full
width so they wrap as tidy bands instead of colliding, and let
the chips themselves wrap rather than overflow. */
.market-topbar .market-filter-chips {
width: 100%;
flex-wrap: wrap;
}
/* Comfortable tap targets for chips and pills on touch. */
.market-chip {
min-height: 36px;
padding: 7px 14px;
}
/* Horizontal "top picks" rail: trim the card width so two-plus
peek into view on a 320px screen, signalling it scrolls. */
.market-theme-pick {
flex: 0 0 116px;
width: 116px;
}
.market-theme-pick-stage {
height: 96px;
}
/* Hero (when shown above 480px): stack actions full-width so the
CTAs are easy to tap and never clip. */
.market-hero-actions {
width: 100%;
}
.market-hero-actions > .market-hero-cta,
.market-hero-actions > .market-hero-secondary {
flex: 1 1 100%;
text-align: center;
justify-content: center;
}
/* Detail tabs: keep the 44px touch height while allowing the row
to scroll horizontally (already set in marketplace.css). */
.market-tabs button {
min-height: 44px;
}
}
/* Very small phones (≤360px): the avatar detail / submit modal action
buttons and sale rows want full width so nothing crowds or clips. */
@media (max-width: 360px) {
.avatar-modal-sale .sale-row {
flex-wrap: wrap;
}
.avatar-modal-sale .sale-row .sale-currency {
align-self: stretch;
}
}
/* ── Reduced-motion: disable non-essential transitions/animations ──
Honours the OS "reduce motion" setting. Decorative shimmers, card
hover lifts, hero cross-fades, skeleton pulses and entry animations
declared in this sheet are switched off; functional state changes
(opacity reveals) collapse to instant so nothing is left invisible. */
@media (prefers-reduced-motion: reduce) {
.market-page *,
.market-page *::before,
.market-page *::after {
animation-duration: 0.001ms !important;
animation-iteration-count: 1 !important;
transition-duration: var(--duration-instant) !important;
scroll-behavior: auto !important;
}
.market-hero-placeholder::after,
.market-card-avatar:hover,
.market-anim-card:hover,
.market-memory-type-card:hover,
.market-skill-card:hover,
.market-theme-pick:hover,
.market-theme-pick:focus-visible,
.market-hero-cta:hover,
.market-memory-cta-btn:hover {
transform: none !important;
}
}
</style>
<meta property="og:type" content="website" />
<meta property="og:title" content="Agent Marketplace · three.ws" data-i18n-attr="content:marketplace.meta_og_title"/>
<meta
property="og:description"
content="Discover, fork, and chat with community-published AI agents."
data-i18n-attr="content:marketplace.meta_og_description"/>
<meta property="og:url" content="https://three.ws/marketplace" />
<meta property="og:image" content="https://three.ws/api/page-og?s=main&t=Marketplace&d=Buy+access+to+agents%2C+skills%2C+and+avatars+from+other+creators.&p=%2Fmarketplace" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Agent Marketplace · three.ws" data-i18n-attr="content:marketplace.meta_twitter_title"/>
<meta
name="twitter:description"
content="Discover, fork, and chat with community-published AI agents."
data-i18n-attr="content:marketplace.meta_twitter_description"/>
<meta name="twitter:image" content="https://three.ws/api/page-og?s=main&t=Marketplace&d=Buy+access+to+agents%2C+skills%2C+and+avatars+from+other+creators.&p=%2Fmarketplace" />
<!-- Deferred, and placed BEFORE the model-viewer module: defer scripts and
module scripts execute in document order, so the meshopt shim still
registers its decoder before model-viewer's define runs. -->
<script src="/model-viewer-meshopt.js" defer></script>
<script
type="module"
src="https://cdn.jsdelivr.net/npm/@google/[email protected]/dist/model-viewer.min.js"
integrity="sha384-wjsPzEO+lXOf7d9csIDfAQpPt2OKuUU3m0K9qsdKIuzX4N8czSF6hdh23eAbZa3p"
crossorigin="anonymous"
></script>
<link rel="stylesheet" href="/nav.css" />
<link rel="stylesheet" href="/footer.css" />
<link rel="stylesheet" href="/mobile.css" />
<script defer src="/footer-newsletter.js"></script>
<meta property="og:site_name" content="three.ws" />
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebPage",
"name": "Marketplace",
"description": "Buy access to agents, skills, and avatars from other creators.",
"url": "https://three.ws/marketplace",
"isPartOf": { "@type": "WebSite", "name": "three.ws", "url": "https://three.ws" }
}
</script>
<meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1">
<meta property="og:locale" content="en_US">
<meta property="og:image:alt" content="Marketplace — three.ws">
<meta name="twitter:site" content="@trythreews">
</head>
<body class="market-page">
<a class="skip-link" href="#main-content" data-i18n="marketplace.skip_to_content">Skip to content</a>
<div id="nav-container"></div>
<script src="/nav.js" defer></script>
<aside class="market-sidebar" id="market-sidebar">
<a href="/" class="market-logo">
<img src="/three.svg" alt="three.ws" width="22" height="22" />
<span data-i18n="marketplace.community">Community</span>
</a>
<!-- Persistent Solana wallet connect. Shares the same connectedWallet
state as the in-modal purchase flow, so connecting here arrives
pre-connected at any Buy action. Rendered by src/marketplace.js. -->
<div class="mkt-wallet-slot mkt-wallet-slot--sidebar" data-wallet-connect></div>
<nav class="market-nav">
<a href="/" data-nav="home" data-i18n-html="marketplace.home"><span class="ico">⌂</span> <span>Home</span></a>
<a href="/marketplace" data-nav="agent" class="active"
data-i18n-html="marketplace.agent"><span class="ico">▣</span> <span>Agent</span
><span class="nav-count" id="nav-count-agent" hidden></span
></a>
<a href="/marketplace?tab=avatars" data-nav="avatars"
data-i18n-html="marketplace.avatars"><span class="ico">◉</span> <span>Avatars</span
><span class="nav-count hot" id="nav-count-avatar" hidden></span
></a>
<a href="/marketplace?tab=tools" data-nav="tools"
data-i18n-html="marketplace.tools"><span class="ico">⚙</span> <span>Tools</span></a
>
<a href="/marketplace?tab=skills" data-nav="skills"
data-i18n-html="marketplace.skills"><span class="ico">≡</span> <span>Skills</span></a
>
<a href="/create/studio" data-nav="studio"
data-i18n-html="marketplace.studio"><span class="ico">◆</span> <span>Studio</span></a
>
<a href="/marketplace?tab=mine" data-nav="mine"
data-i18n-html="marketplace.my_agents"><span class="ico">◱</span> <span>My Agents</span></a
>
<a href="/marketplace?tab=purchases" data-nav="purchases"
data-i18n-html="marketplace.my_purchases"><span class="ico">✓</span> <span>My Purchases</span></a
>
<a href="/marketplace?tab=earn" data-nav="earn"
data-i18n-html="marketplace.earn"><span class="ico">$</span> <span>Earn</span></a
>
<a href="/marketplace?tab=animations" data-nav="animations"
data-i18n-html="marketplace.animations"><span class="ico">▶</span> <span>Animations</span></a
>
<a href="/marketplace?tab=memory" data-nav="memory"
data-i18n-html="marketplace.memory"><span class="ico">◎</span> <span>Memory</span></a
>
</nav>
<button class="market-submit-btn market-sidebar-submit" id="market-submit-btn" data-i18n="marketplace.submit_agent">
+ Submit Agent
</button>
</aside>
<main class="market-main" id="main-content">
<!-- Discovery view -->
<section class="market-discovery" id="market-discovery">
<!-- Stable, screen-reader-only page heading. The hero title below
is announced as the slide rotates, which is useful but isn't
a stable document landmark. This gives assistive tech a single
anchor for the page identity. -->
<h1 class="market-visually-hidden" data-i18n="marketplace.agent_marketplace">Agent Marketplace</h1>
<!-- Weekly curated theme strip (loads from /api/marketplace/theme) -->
<!-- Also not `hidden`: renderThemeSkeleton() in src/marketplace.js
exists to keep this strip from popping in late, but it cannot run
until the bundle does. Shipping the same shimmer in the markup is
what actually holds the box from the first frame; hideThemeStrip()
collapses it on an empty week. -->
<aside class="market-theme-strip" id="market-theme-strip" aria-busy="true">
<div class="market-theme-head">
<span class="market-theme-eyebrow" data-i18n="marketplace.this_week">This week</span>
<strong class="market-theme-title" id="market-theme-title">—</strong>
<span class="market-theme-blurb" id="market-theme-blurb">—</span>
<button class="market-theme-cta" id="market-theme-cta" hidden data-i18n="marketplace.browse">
Browse →
</button>
</div>
<div
class="market-theme-picks"
id="market-theme-picks"
role="list"
aria-label="Top picks this week"
>
<div class="market-theme-pick is-skeleton" aria-hidden="true"><div class="market-theme-pick-stage"></div><div class="market-theme-pick-meta"><span class="market-theme-pick-name"> </span><span class="market-theme-pick-cat"> </span></div></div>
<div class="market-theme-pick is-skeleton" aria-hidden="true"><div class="market-theme-pick-stage"></div><div class="market-theme-pick-meta"><span class="market-theme-pick-name"> </span><span class="market-theme-pick-cat"> </span></div></div>
<div class="market-theme-pick is-skeleton" aria-hidden="true"><div class="market-theme-pick-stage"></div><div class="market-theme-pick-meta"><span class="market-theme-pick-name"> </span><span class="market-theme-pick-cat"> </span></div></div>
<div class="market-theme-pick is-skeleton" aria-hidden="true"><div class="market-theme-pick-stage"></div><div class="market-theme-pick-meta"><span class="market-theme-pick-name"> </span><span class="market-theme-pick-cat"> </span></div></div>
<div class="market-theme-pick is-skeleton" aria-hidden="true"><div class="market-theme-pick-stage"></div><div class="market-theme-pick-meta"><span class="market-theme-pick-name"> </span><span class="market-theme-pick-cat"> </span></div></div>
<div class="market-theme-pick is-skeleton" aria-hidden="true"><div class="market-theme-pick-stage"></div><div class="market-theme-pick-meta"><span class="market-theme-pick-name"> </span><span class="market-theme-pick-cat"> </span></div></div>
</div>
</aside>
<!-- Live 3D hero carousel -->
<!-- Not `hidden`. The hero used to appear only once the bundle had
fetched the featured avatars, which dropped everything below it
(Top Performers, the whole grid) by the hero's height: the
largest of the five layout shifts that made up this page's 0.60
CLS. The stage carries its own designed backdrop and a 240px
min-height, so an un-filled hero reads as loading and occupies
exactly the box the filled one will. renderHero() still hides
the section outright on the genuinely-empty case. Same
reasoning as the podium skeleton further down. -->
<section
class="market-hero"
id="market-hero"
aria-busy="true"
aria-label="Featured 3D avatars"
>
<div class="market-hero-stage" id="market-hero-stage"></div>
<div class="market-hero-meta">
<div class="market-hero-eyebrow">
Featured · Community Avatars
<span class="market-hero-beta-pill" aria-label="Marketplace is in beta"
data-i18n="marketplace.beta" data-i18n-attr="aria-label:marketplace.marketplace_is_in_beta_arialabel">BETA</span
>
</div>
<h2 class="market-hero-title" id="market-hero-title">—</h2>
<p class="market-hero-desc" id="market-hero-desc">—</p>
<div class="market-hero-actions">
<button class="market-hero-cta" id="market-hero-view" data-i18n="marketplace.view_in_3d">
View in 3D →
</button>
<button class="market-hero-secondary" id="market-hero-lobby" data-i18n="marketplace.open_3d_lobby">
Open 3D Lobby
</button>
<!-- Ships visible and disabled, carrying the exact label
updateHeroMeta() writes. It used to ship `hidden`
and be revealed with a different label, which added
a button to a flex-wrap row after first paint and
re-wrapped everything under it. The label is written
by JS, so per docs/site-performance.md rule 6 the
node cannot carry a data-i18n key. -->
<button class="market-hero-secondary" id="market-hero-fork" disabled data-no-i18n>
Start an agent →
</button>
<a class="market-hero-secondary" href="/marketplace-walk" data-i18n="marketplace.walk_browse_the_gallery">Walk-Browse the gallery →</a>
<a class="market-hero-secondary" href="/forge" data-i18n="marketplace.forge_your_own_from_text">Forge your own from text →</a>
</div>
<div class="market-hero-dots" id="market-hero-dots"></div>
</div>
</section>
<!-- Three.js multi-avatar lobby (opt-in fullscreen overlay). -->
<div
class="market-lobby-overlay"
id="market-lobby-overlay"
hidden
aria-modal="true"
role="dialog"
aria-label="3D Lobby"
>
<button
class="market-lobby-close"
id="market-lobby-close"
aria-label="Close lobby"
data-i18n-attr="aria-label:marketplace.close_lobby_arialabel">
×
</button>
<canvas class="market-lobby-canvas" id="market-lobby-canvas"></canvas>
<div class="market-lobby-hint">
Move your mouse · Click an avatar to inspect
</div>
</div>
<header class="market-topbar">
<label class="market-visually-hidden" for="market-search"
data-i18n="marketplace.search_agents_and_avatars">Search agents and avatars</label
>
<input
id="market-search"
type="search"
placeholder="Search agents and avatars…"
autocomplete="off"
aria-label="Search agents and avatars"
/>
<!-- Mobile-only wallet connect: the sidebar (its desktop home)
is hidden under 980px, so surface the same control here. -->
<div class="mkt-wallet-slot mkt-wallet-slot--topbar" data-wallet-connect></div>
<div
class="market-filter-chips"
id="market-filter-chips"
role="tablist"
aria-label="Filter agents and avatars"
>
<button
class="market-chip active"
data-filter="all"
role="tab"
aria-selected="true"
data-i18n="marketplace.all">
All
</button>
<button
class="market-chip"
data-filter="agents"
role="tab"
aria-selected="false"
data-i18n="marketplace.agents">
Agents
</button>
<button
class="market-chip"
data-filter="avatars"
role="tab"
aria-selected="false"
data-i18n="marketplace.avatars_2">
Avatars
</button>
<button
class="market-chip"
data-filter="onchain"
role="tab"
aria-selected="false"
title="ERC-8004 agents indexed onchain across Base, Polygon, and Solana"
aria-label="Onchain — ERC-8004 agents indexed across all supported chains"
data-i18n-html="marketplace.onchain" data-i18n-attr="aria-label:marketplace.onchain_erc_8004_agents_inde_arialabel;title:marketplace.erc_8004_agents_indexed_onch_title">
Onchain <span class="chip-count" id="chip-count-onchain"></span>
</button>
</div>
<div
class="market-filter-chips"
id="market-price-filter-chips"
role="group"
aria-label="Filter by price"
>
<button class="market-chip active" data-price-filter="all" data-i18n="marketplace.any">Any</button>
<button
class="market-chip"
data-price-filter="free"
title="Show only free listings"
data-i18n="marketplace.free" data-i18n-attr="title:marketplace.show_only_free_listings_title">
Free
</button>
<button
class="market-chip"
data-price-filter="paid"
title="Show only paid listings"
data-i18n="marketplace.paid" data-i18n-attr="title:marketplace.show_only_paid_listings_title">
Paid
</button>
</div>
<div
class="market-filter-chips market-model-category-chips"
id="market-model-category-chips"
role="group"
aria-label="Filter 3D models by type"
hidden
>
<button class="market-chip active" data-model-cat="" title="All 3D models" data-i18n="marketplace.all_3d" data-i18n-attr="title:marketplace.all_3d_models_title">All 3D</button>
<button class="market-chip" data-model-cat="avatar" title="Full character / agent body models" data-i18n="marketplace.avatar" data-i18n-attr="title:marketplace.full_character_agent_body_mo_title">Avatar</button>
<button class="market-chip" data-model-cat="accessory" title="Wearable items for agents" data-i18n="marketplace.accessory" data-i18n-attr="title:marketplace.wearable_items_for_agents_title">Accessory</button>
<button class="market-chip" data-model-cat="item" title="Props and objects" data-i18n="marketplace.item" data-i18n-attr="title:marketplace.props_and_objects_title">Item</button>
<button class="market-chip" data-model-cat="scene" title="Environments and worlds" data-i18n="marketplace.scene" data-i18n-attr="title:marketplace.environments_and_worlds_title">Scene</button>
<button class="market-chip" data-model-cat="creature" title="Animals and companions" data-i18n="marketplace.creature" data-i18n-attr="title:marketplace.animals_and_companions_title">Creature</button>
<button class="market-chip" data-model-cat="vehicle" title="Vehicles and mounts" data-i18n="marketplace.vehicle" data-i18n-attr="title:marketplace.vehicles_and_mounts_title">Vehicle</button>
</div>
<label class="market-visually-hidden" for="market-sort"
data-i18n="marketplace.sort_marketplace_results">Sort marketplace results</label
>
<select
id="market-sort"
class="market-sort"
aria-label="Sort marketplace results"
>
<option value="recommended" data-i18n="marketplace.recommended">Recommended</option>
<option value="recent" data-i18n="marketplace.recent">Recent</option>
<option value="popular" data-i18n="marketplace.popular">Popular</option>
<option value="top_rated" data-i18n="marketplace.top_rated">Top Rated</option>
</select>
<a class="market-submit-avatar-btn" href="/create" id="market-submit-avatar-btn"
data-i18n="marketplace.create_avatar">+ Create Avatar</a
>
</header>
<div
id="market-result-count"
class="market-visually-hidden"
role="status"
aria-live="polite"
aria-atomic="true"
></div>
<div
class="market-cat-chips"
id="market-cat-chips"
role="navigation"
aria-label="Categories"
></div>
<div class="market-tag-banner" id="market-tag-banner" role="status" hidden></div>
<!-- Platform activity strip — live oracle stats -->
<div class="market-activity-strip" id="market-activity-strip" hidden>
<div class="market-activity-kpi">
<span class="market-activity-kpi-value loading" id="mkt-stat-agents">—</span>
<span class="market-activity-kpi-label" data-i18n="marketplace.agents_live">Agents live</span>
</div>
<div class="market-activity-kpi">
<span class="market-activity-kpi-value loading" id="mkt-stat-scored">—</span>
<span class="market-activity-kpi-label" data-i18n="marketplace.scored_today">Scored today</span>
</div>
<div class="market-activity-kpi">
<span class="market-activity-kpi-value positive loading" id="mkt-stat-winrate">—</span>
<span class="market-activity-kpi-label" data-i18n-html="marketplace.win_rate"><span class="market-activity-kpi-dot" aria-hidden="true"></span>Win rate</span>
</div>
<div class="market-activity-kpi">
<span class="market-activity-kpi-value loading" id="mkt-stat-actions">—</span>
<span class="market-activity-kpi-label" data-i18n="marketplace.open_trades">Open trades</span>
</div>
<div class="market-activity-kpi">
<span class="market-activity-kpi-value loading" id="mkt-stat-wins">—</span>
<span class="market-activity-kpi-label" data-i18n="marketplace.total_wins">Total wins</span>
</div>
</div>
<!-- Top Oracle Performers, the top 3 agents by oracle win rate.
Deliberately NOT `hidden`: loadTopPerformers() in src/marketplace.js
used to reveal it after its skeleton was injected, which meant the
whole 271px section appeared out of nothing and pushed the grid,
the pulse strip and everything under them down. That single reveal
was the largest layout shift on the page (0.178 of a 0.257 desktop
CLS, measured on production 2026-08-15). The section now holds its
box from first paint and the skeleton fills it; the empty and
error paths still hide it, which is the only case that shifts. -->
<section class="mkt-top-section" id="mkt-top-section" aria-label="Top performing agents by oracle win rate">
<div class="mkt-top-head">
<span class="mkt-top-eyebrow" data-i18n="marketplace.oracle_leaders">Oracle leaders</span>
<h2 class="mkt-top-title" data-i18n="marketplace.top_performers">Top Performers</h2>
<a href="/oracle" class="mkt-top-see-all" data-i18n="marketplace.view_leaderboard">View leaderboard →</a>
</div>
<!-- The loading state ships in the markup rather than being injected,
so the podium holds its box from the first frame instead of from
whenever the page bundle gets around to running. Each placeholder
is a real .mkt-top-card, so it lays out at exactly the height the
loaded card will, at every breakpoint. loadTopPerformers() in
src/marketplace.js replaces the whole podium in one write. -->
<div class="mkt-top-podium" id="mkt-top-podium" aria-busy="true">
<div class="mkt-top-card mkt-skel" style="--rank-color:#f59e0b">
<span class="mkt-top-rank">#1</span>
<div class="mkt-top-av-wrap"></div>
<div class="mkt-top-name" style="width:70%;height:12px"> </div>
<div class="mkt-top-wr" style="width:60%;height:28px;margin-top:8px"> </div>
<div class="mkt-top-wr-lbl" style="width:50%;height:10px"> </div>
<div class="mkt-top-meta" style="width:80%;height:10px"> </div>
</div>
<div class="mkt-top-card mkt-skel" style="--rank-color:#94a3b8">
<span class="mkt-top-rank">#2</span>
<div class="mkt-top-av-wrap"></div>
<div class="mkt-top-name" style="width:70%;height:12px"> </div>
<div class="mkt-top-wr" style="width:60%;height:28px;margin-top:8px"> </div>
<div class="mkt-top-wr-lbl" style="width:50%;height:10px"> </div>
<div class="mkt-top-meta" style="width:80%;height:10px"> </div>
</div>
<div class="mkt-top-card mkt-skel" style="--rank-color:#cd7c4f">
<span class="mkt-top-rank">#3</span>
<div class="mkt-top-av-wrap"></div>
<div class="mkt-top-name" style="width:70%;height:12px"> </div>
<div class="mkt-top-wr" style="width:60%;height:28px;margin-top:8px"> </div>
<div class="mkt-top-wr-lbl" style="width:50%;height:10px"> </div>
<div class="mkt-top-meta" style="width:80%;height:10px"> </div>
</div>
</div>
</section>
<aside
class="market-pulse"
id="market-pulse"
aria-label="Recent marketplace sales"
hidden
>
<div class="market-pulse-label">
<span class="market-pulse-dot" aria-hidden="true"></span>
Live sales
</div>
<div class="market-pulse-viewport">
<div class="market-pulse-track" id="market-pulse-track"></div>
</div>
</aside>
<div class="market-grid" id="market-grid"></div>
<div class="market-loadmore" id="market-loadmore-row" hidden>
<button id="market-loadmore" hidden data-i18n="marketplace.load_more">Load more</button>
</div>
</section>
<!-- Detail view -->
<section class="market-detail" id="market-detail" hidden>
<button class="market-back" id="market-back" aria-label="Back" data-i18n-attr="aria-label:marketplace.back_arialabel">←</button>
<!-- Loading / not-found / error state, overlaid on the detail content.
Shown when a deep-linked agent is missing, unpublished, private,
or fails to load. Replaces the old dead-end "Agent not found". -->
<div
class="market-detail-state"
id="d-state"
role="alert"
aria-live="polite"
hidden
>
<div class="market-detail-state-inner">
<div class="md-state-icon" id="d-state-icon" aria-hidden="true">◍</div>
<h2 class="md-state-title" id="d-state-title" data-i18n="marketplace.loading_agent">Loading agent…</h2>
<p class="md-state-body" id="d-state-body"></p>
<div class="md-state-actions" id="d-state-actions"></div>
</div>
</div>
<div class="market-detail-head">
<div class="market-detail-avatar" id="d-avatar">
<span class="d-avatar-fallback">▣</span>
</div>
<div class="market-detail-meta">
<h2 id="d-name">—</h2>
<div class="market-detail-author">
<button type="button" id="d-author" class="market-author-btn">—</button>
<span class="dot">·</span>
<span id="d-published">—</span>
<span id="d-forks-pill" class="forks-pill" hidden></span>
</div>
<div class="market-detail-stats">
<span id="d-category" class="cat-pill"></span>
<span id="d-views" class="stat-pill"></span>
</div>
</div>
<button class="market-bookmark" id="d-bookmark" aria-label="Bookmark" data-i18n-attr="aria-label:marketplace.bookmark_arialabel">☆</button>
</div>
<!-- Sell / Buy panel for the agent itself (separate from per-skill prices). -->
<div class="avatar-modal-sale" id="agent-sale-panel" hidden></div>
<nav class="market-tabs" role="tablist">
<button data-tab="overview" class="active" role="tab" data-i18n="marketplace.overview">Overview</button>
<button data-tab="profile" role="tab" data-i18n="marketplace.agent_profile">Agent Profile</button>
<button data-tab="capabilities" role="tab" data-i18n="marketplace.agent_capabilities">Agent Capabilities</button>
<button data-tab="embed" role="tab" data-i18n="marketplace.embed">Embed</button>
<button data-tab="versions" role="tab" data-i18n="marketplace.version_history">Version History</button>
<button data-tab="similar" role="tab" data-i18n="marketplace.similar_agents">Similar Agents</button>
</nav>
<div class="market-detail-body">
<div class="market-detail-content">
<div data-panel="overview" class="market-panel active">
<!-- 3D model stage — the agent's avatar, fully inspectable.
Populated by renderDetailModelStage(); agents without a
custom GLB show the base mannequin so the stage is never
empty. -->
<section
class="market-card d-model-card"
id="d-model-card"
aria-label="3D model viewer"
>
<div class="d-model-head">
<h3 data-i18n="marketplace.3d_model">3D Model</h3>
<span class="d-model-hint" id="d-model-hint"></span>
<div class="d-model-actions">
<a
class="d-model-btn"
id="d-model-world"
title="Walk with this agent in the three.ws world"
data-i18n="marketplace.open_in_world" data-i18n-attr="title:marketplace.walk_with_this_agent_in_the_title">Open in world</a
>
<a class="d-model-btn" id="d-model-download" download hidden
data-i18n="marketplace.download_glb">Download GLB</a
>
<button
type="button"
class="d-model-btn"
id="d-model-fullscreen"
aria-label="View 3D model fullscreen"
data-i18n="marketplace.fullscreen" data-i18n-attr="aria-label:marketplace.view_3d_model_fullscreen_arialabel">
⛶ Fullscreen
</button>
</div>
</div>
<div class="d-model-stage" id="d-model-stage"></div>
</section>
<div class="market-card">
<h3 data-i18n="marketplace.what_can_you_do_with_this_agent">What can you do with this Agent?</h3>
<p id="d-overview">—</p>
</div>
<!-- Subscription tiers — recurring plans the creator
offers. Populated by renderSubscriptionTiers(); the
section stays hidden when the agent has no active
plans so the overview never shows an empty shell. -->
<section
class="market-card d-subs-card"
id="subscription-tiers-section"
aria-label="Subscription plans"
hidden
>
<div class="d-subs-head">
<h3 data-i18n="marketplace.subscribe_for_exclusive_perks">Subscribe for exclusive perks</h3>
<p class="d-subs-sub" id="d-subs-sub"></p>
</div>
<div class="tiers-grid" id="tiers-grid" role="list"></div>
<p
class="d-subs-status"
id="d-subs-status"
role="status"
aria-live="polite"
></p>
</section>
<!-- Ratings & reviews -->
<section
class="d-rating-widget"
id="d-rating-widget"
aria-label="Ratings and reviews"
>
<div class="d-rating-summary" id="d-rating-summary">
<span class="avg" id="d-rating-avg">—</span>
<span class="stars" id="d-rating-stars">☆☆☆☆☆</span>
<span class="count" id="d-rating-count" data-i18n="marketplace.no_reviews_yet">No reviews yet</span>
</div>
<div class="d-rating-input" id="d-rating-input" hidden>
<span style="font-size: 12px; color: var(--ink-dim)"
data-i18n="marketplace.your_rating">Your rating:</span
>
<span
class="stars"
id="d-rating-pick"
role="radiogroup"
aria-label="Pick a rating"
data-i18n-attr="aria-label:marketplace.pick_a_rating_arialabel">
<button
type="button"
class="star-pick"
data-rating="1"
aria-label="1 star"
>
☆
</button>
<button
type="button"
class="star-pick"
data-rating="2"
aria-label="2 stars"
>
☆
</button>
<button
type="button"
class="star-pick"
data-rating="3"
aria-label="3 stars"
>
☆
</button>
<button
type="button"
class="star-pick"
data-rating="4"
aria-label="4 stars"
>
☆
</button>
<button
type="button"
class="star-pick"
data-rating="5"
aria-label="5 stars"
>
☆
</button>
</span>
<textarea
id="d-review-body"
placeholder="Write a short review (optional)"
maxlength="2000"
></textarea>
<button
type="button"
class="submit-review"
id="d-review-submit"
disabled
data-i18n="marketplace.submit_review">
Submit review
</button>
</div>
<div
class="d-rating-msg"
id="d-rating-msg"
role="status"
aria-live="polite"
></div>
<div class="d-reviews-list" id="d-reviews-list"></div>
</section>
<div class="market-preview-card" id="d-preview-card">
<div class="market-preview-head">
<h2 class="market-section-title" style="margin: 0" data-i18n="marketplace.try_it_now">
Try it now
</h2>
<span class="market-preview-hint"
data-i18n="marketplace.send_a_message_no_fork_required">Send a message — no fork required</span
>
</div>
<div
class="market-preview-thread"
id="d-preview-thread"
aria-live="polite"
></div>
<form
class="market-preview-form"
id="d-preview-form"
autocomplete="off"
>
<input
type="text"
id="d-preview-input"
class="market-preview-input"
placeholder="Ask this agent anything…"
maxlength="2000"
required
/>
<button
type="submit"
class="market-preview-send"
id="d-preview-send"
data-i18n="marketplace.send">
Send
</button>
</form>
<div class="market-preview-footer" id="d-preview-footer"></div>
</div>
</div>
<div data-panel="profile" class="market-panel">
<h2 data-i18n="marketplace.agent_profile_2">Agent Profile</h2>
<pre class="market-prose" id="d-profile">—</pre>
<h3 data-i18n="marketplace.capabilities">Capabilities</h3>
<ul id="d-capabilities-list"></ul>
</div>
<div data-panel="capabilities" class="market-panel">
<h2 data-i18n-html="marketplace.built_in_skills_0">
Built-in Skills <span class="muted" id="d-skills-count">0</span>
</h2>
<div id="d-skills" class="market-skills"></div>
<h2 data-i18n-html="marketplace.library_0">Library <span class="muted" id="d-library-count">0</span></h2>
<div id="d-library" class="market-library"></div>
</div>
<div data-panel="embed" class="market-panel">
<div style="display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:4px">
<h2 style="margin:0" data-i18n="marketplace.embed_this_agent">Embed this Agent</h2>
<a id="d-embed-wizard-link" href="/studio" class="btn-secondary" style="font-size:12px;padding:5px 12px;white-space:nowrap" target="_blank" rel="noopener" data-i18n="marketplace.configure_in_wizard">
Configure in wizard ↗
</a>
</div>
<p
class="market-prose"
style="font-size: 13px; color: var(--ink-dim); margin: 0 0 18px"
data-i18n="marketplace.drop_the_agent_anywhere_as_a_web">
Drop the agent anywhere — as a web component, iframe, or direct
link. Use the wizard for a live preview, size controls, and
platform-specific instructions.
</p>
<div class="d-embed-section">
<div class="d-embed-label">
<span data-i18n="marketplace.web_component">Web component</span>
<button class="d-embed-copy" data-embed="wc" data-i18n="marketplace.copy">Copy</button>
</div>
<pre class="d-embed-code" id="d-embed-wc"></pre>
</div>
<div class="d-embed-section">
<div class="d-embed-label">
<span data-i18n="marketplace.iframe">Iframe</span>
<button class="d-embed-copy" data-embed="iframe" data-i18n="marketplace.copy_2">Copy</button>
</div>
<pre class="d-embed-code" id="d-embed-iframe"></pre>
</div>
<div class="d-embed-section">
<div class="d-embed-label">
<span data-i18n="marketplace.direct_link">Direct link</span>
<button class="d-embed-copy" data-embed="link" data-i18n="marketplace.copy_3">Copy</button>
</div>
<pre class="d-embed-code" id="d-embed-link"></pre>
</div>
</div>
<div data-panel="versions" class="market-panel">
<h2 data-i18n="marketplace.version_history_2">Version History</h2>
<ul id="d-versions" class="market-versions"></ul>
</div>
<div data-panel="similar" class="market-panel">
<h2 data-i18n="marketplace.related_agents">Related Agents</h2>
<div id="d-similar" class="market-grid"></div>
</div>
</div>
<aside class="market-detail-side">
<button class="market-fork" id="d-fork" data-i18n="marketplace.fork_chat">Fork & Chat</button>
<button class="market-export-btn" id="d-export-json" data-i18n="marketplace.export_json">↓ Export JSON</button>
<div class="d-token-card" id="d-token-card" hidden>
<div class="d-token-eyebrow">On-chain token</div>
<div class="d-token-mint" id="d-token-mint"></div>
<div class="d-token-actions">
<a
class="d-token-btn"
id="d-token-pump"
target="_blank"
rel="noopener"
data-i18n="marketplace.view_on_pump_fun">View on pump.fun</a
>
<a
class="d-token-btn d-token-btn-sec"
id="d-token-jup"
target="_blank"
rel="noopener"
data-i18n="marketplace.trade_on_jupiter">Trade on Jupiter</a
>
</div>
</div>
<div class="d-reputation-card" id="d-reputation-card" hidden>
<div class="d-rep-eyebrow">On-chain Reputation (ERC-8004)</div>
<div class="d-rep-score">
<span class="d-rep-avg" id="d-rep-avg">—</span>
<span class="d-rep-stars" id="d-rep-stars">☆☆☆☆☆</span>
</div>
<span class="d-rep-count" id="d-rep-count"></span>
</div>
<div class="market-related-side" id="d-related-side"></div>
</aside>
</div>
</section>
<!-- My Agents tab -->
<section class="market-mine" id="market-mine" hidden>
<header class="market-topbar">
<div class="market-mine-head">
<h2 class="market-section-heading" data-i18n="marketplace.my_agents_2">My Agents</h2>
<span class="market-mine-sub" id="mine-subtitle"></span>
</div>
<button class="market-submit-btn" id="market-new-agent-btn" data-i18n="marketplace.new_agent">+ New Agent</button>
</header>
<div class="market-mine-body">
<div class="market-grid" id="mine-grid"></div>
</div>
</section>
<!-- My Purchases tab -->
<section class="market-purchases" id="market-purchases" hidden>
<header class="market-topbar">
<div class="market-mine-head">
<h2 class="market-section-heading" data-i18n="marketplace.my_purchases_2">My Purchases</h2>
<span class="market-mine-sub" id="purchases-subtitle"></span>
</div>
</header>
<div class="market-mine-body">
<div class="market-grid" id="purchases-grid"></div>
</div>
</section>
<!-- Earn tab -->
<section class="market-earn" id="market-earn" hidden>
<header class="market-topbar">
<div class="market-mine-head">
<h2 class="market-section-heading" data-i18n="marketplace.earn_2">Earn</h2>
<span class="market-mine-sub" id="earn-subtitle"
data-i18n="marketplace.revenue_from_your_published_agents_and_skill">Revenue from your published agents and skills</span
>
</div>
<button class="market-submit-btn" id="earn-publish-skill-btn" data-i18n="marketplace.publish_skill">
+ Publish Skill
</button>
</header>
<div class="earn-body">
<div id="earn-content"></div>
</div>
</section>
<!-- Skills tab -->
<section class="market-skills-section" id="market-skills-section" hidden>
<header class="market-topbar">
<div class="market-mine-head">
<h2 class="market-section-heading" data-i18n="marketplace.skills_marketplace">Skills Marketplace</h2>
<span class="market-mine-sub" id="skills-subtitle"
data-i18n="marketplace.skills_subtitle_install">Install a skill and your agent follows its playbook in every signed-in chat</span
>
</div>
<input
id="skills-search"
type="search"
placeholder="Search skills…"
aria-label="Search skills"
autocomplete="off"
style="flex: 1; max-width: 320px"
/>
<div class="market-filter-chips" role="tablist" aria-label="Skill filter">
<button class="market-chip active" data-skill-filter="all" role="tab" aria-selected="true" data-i18n="marketplace.all_2">
All
</button>
<button class="market-chip" data-skill-filter="free" role="tab" aria-selected="false" data-i18n="marketplace.free_2">
Free
</button>
<button class="market-chip" data-skill-filter="paid" role="tab" aria-selected="false" data-i18n="marketplace.paid_2">
Paid
</button>
</div>
<select id="skills-sort" class="market-sort" aria-label="Sort skills">
<option value="popular" data-i18n="marketplace.popular_2">Popular</option>
<option value="new" data-i18n="marketplace.new">New</option>
<option value="az" data-i18n="marketplace.a_z">A–Z</option>
</select>
</header>
<div class="market-skills-tab">
<div class="market-tag-banner" id="skills-tag-banner" role="status" hidden></div>
<aside class="market-community" aria-labelledby="market-community-title">
<div class="market-community-copy">
<h3 id="market-community-title">Community skills</h3>
<p>Free, open-source instruction sets anyone can contribute by pull request: a risk desk, token diligence, DCA planning, honest posting and more. Import one onto an agent in one click, then edit it like your own.</p>
</div>
<a class="market-community-cta" href="/skills/community">Browse community skills</a>
</aside>
<div
class="market-cat-chips"
id="skills-cat-chips"
role="navigation"
aria-label="Skill categories"
></div>
<div class="market-grid" id="skills-grid">
<div class="market-empty">Loading skills…</div>
</div>
<div class="market-loadmore" id="skills-loadmore-row" hidden>
<button id="skills-loadmore" data-i18n="marketplace.load_more_2">Load more</button>
</div>
</div>
</section>
<!-- Plugins tab -->
<section class="market-tools" id="market-tools" hidden>
<header class="market-topbar plugins-topbar">
<div class="plugins-header-row">
<h2 class="market-tools-title" data-i18n="marketplace.plugins">Plugins</h2>
<button class="plugin-add-url-btn" id="plugin-add-url" data-i18n="marketplace.add_by_url">+ Add by URL</button>
</div>
<input
id="plugin-search"
type="search"
placeholder="Search plugins…"
autocomplete="off"
/>
</header>
<div class="market-body">
<aside
class="market-cats"
id="plugin-cats"
aria-label="Plugin Categories"
></aside>
<div style="flex: 1; min-width: 0">
<div class="plugin-grid" id="plugin-grid">
<div class="market-empty">Loading…</div>
</div>
<div class="market-loadmore">
<button id="plugin-loadmore" hidden data-i18n="marketplace.load_more_3">Load more</button>
</div>
</div>
</div>
</section>
<!-- Add by URL modal -->
<div
class="plugin-modal-overlay"
id="plugin-url-modal"
hidden
aria-modal="true"
role="dialog"
>
<div class="plugin-modal">
<h3 data-i18n="marketplace.add_plugin_by_url">Add Plugin by URL</h3>
<p class="plugin-modal-hint" data-i18n-html="marketplace.paste_the_url_of_a_hosted_json">
Paste the URL of a hosted <code>plugin/1.0</code> JSON manifest to add a
custom plugin.
</p>
<input
type="url"
id="plugin-url-input"
class="plugin-url-input"
placeholder="https://example.com/my-plugin.json"
autocomplete="off"
/>
<div id="plugin-url-error" class="plugin-url-error" hidden></div>
<div class="plugin-modal-preview" id="plugin-url-preview" hidden></div>
<div class="plugin-modal-actions">
<button id="plugin-url-cancel" class="plugin-modal-btn" data-i18n="marketplace.cancel">Cancel</button>
<button
id="plugin-url-fetch"
class="plugin-modal-btn plugin-modal-btn-primary"
data-i18n="marketplace.fetch_validate">
Fetch & Validate
</button>
</div>
</div>
</div>
<!-- Avatar deep-link detail page — mirrors market-detail for agents -->
<section
class="market-avatar-detail"
id="market-avatar-detail"
hidden
aria-label="Avatar detail"
>
<div class="market-avatar-detail-inner">
<button
class="market-back"
id="avatar-detail-back"
aria-label="Back to marketplace"
data-i18n-attr="aria-label:marketplace.back_to_marketplace_arialabel">
←
</button>
<div class="market-avatar-detail-layout">
<!-- Left: interactive 3D stage -->
<div class="market-avatar-detail-stage" id="avatar-detail-stage">
<div class="avatar-detail-load-wrap" id="avatar-detail-load-wrap">
<div class="avatar-detail-load-bar-outer">
<div
class="avatar-detail-load-bar"
id="avatar-detail-load-bar"
></div>
</div>
<span class="avatar-detail-load-label" data-i18n="marketplace.loading_3d">Loading 3D…</span>
</div>
<div class="avatar-detail-empty" id="avatar-detail-empty" hidden>
<span class="avatar-detail-empty-glyph" aria-hidden="true">◌</span>
<h2 class="avatar-detail-empty-title" data-i18n="marketplace.avatar_not_found">Avatar not found</h2>
<p class="avatar-detail-empty-msg" data-i18n="marketplace.this_avatar_may_have_been_removed_or">
This avatar may have been removed or the link is wrong.
</p>
<a
class="btn-secondary avatar-detail-empty-cta"
href="/marketplace?tab=avatars"
data-i18n="marketplace.browse_avatars">Browse avatars</a
>
</div>
</div>
<!-- Right: meta + actions -->
<aside class="market-avatar-detail-meta">
<div class="market-detail-eyebrow">Community Avatar</div>
<h2 class="market-avatar-detail-name" id="avatar-detail-name">—</h2>
<p class="market-avatar-detail-author" id="avatar-detail-author"></p>
<p class="market-avatar-detail-desc" id="avatar-detail-desc"></p>
<div class="market-avatar-detail-pills" id="avatar-detail-pills"></div>
<div class="market-avatar-detail-actions">
<button
class="btn-primary market-avatar-detail-cta"
id="avatar-detail-use"
data-i18n="marketplace.start_agent_with_this_avatar">
Start agent with this avatar →
</button>
<a
class="btn-secondary"
id="avatar-detail-view"
target="_blank"
rel="noopener"
data-i18n="marketplace.open_in_3d_viewer">
Open in 3D viewer ↗
</a>
<a class="btn-secondary" id="avatar-detail-download" data-i18n="marketplace.download_glb_2">
Download GLB
</a>
<button
type="button"
class="btn-secondary"
id="avatar-detail-share"
data-i18n="marketplace.share">
Share
</button>
</div>
</aside>
</div>
<!-- Similar avatars grid -->
<div
class="market-avatar-detail-similar"
id="avatar-detail-similar-wrap"
hidden
>
<h2 class="market-section-heading" data-i18n="marketplace.similar_avatars">Similar avatars</h2>
<div class="market-grid" id="avatar-detail-similar-grid"></div>
</div>
</div>
</section>
<!-- Tool/plugin deep-link detail page — mirrors avatar detail for plugins -->
<section
class="market-tool-detail"
id="market-tool-detail"
hidden
aria-label="Plugin detail"
>
<div class="market-tool-detail-inner">
<button class="market-back" id="tool-detail-back" aria-label="Back to plugins" data-i18n-attr="aria-label:marketplace.back_to_plugins_arialabel">
←
</button>
<!-- Loading skeleton -->
<div class="tool-detail-skeleton" id="tool-detail-skeleton">
<div class="tool-skel-head">
<div class="tool-skel-icon"></div>
<div class="tool-skel-lines">
<div class="tool-skel-line w60"></div>
<div class="tool-skel-line w30"></div>
</div>
</div>
<div class="tool-skel-line w90"></div>
<div class="tool-skel-line w80"></div>
<div class="tool-skel-card"></div>
<div class="tool-skel-card"></div>
</div>
<!-- Not found -->
<div class="tool-detail-empty" id="tool-detail-empty" hidden>
<span class="tool-detail-empty-glyph" aria-hidden="true">◌</span>
<h2 class="tool-detail-empty-title" data-i18n="marketplace.plugin_not_found">Plugin not found</h2>
<p class="tool-detail-empty-msg" data-i18n="marketplace.this_plugin_may_have_been_removed_or">
This plugin may have been removed or the link is wrong.
</p>
<a class="btn-secondary tool-detail-empty-cta" href="/marketplace?tab=tools"
data-i18n="marketplace.browse_plugins">Browse plugins</a
>
</div>
<!-- Loaded content -->
<div class="tool-detail-body" id="tool-detail-body" hidden>
<header class="tool-detail-hero">
<div class="tool-detail-icon" id="tool-detail-icon" aria-hidden="true">
?
</div>
<div class="tool-detail-hero-text">
<div class="market-detail-eyebrow" id="tool-detail-eyebrow">
Plugin
</div>
<h2 class="tool-detail-name" id="tool-detail-name">—</h2>
<p class="tool-detail-id" id="tool-detail-id"></p>
<p class="tool-detail-author" id="tool-detail-author" hidden></p>
</div>
<div class="tool-detail-price" id="tool-detail-price"></div>
</header>
<div class="tool-detail-pills" id="tool-detail-pills"></div>
<p class="tool-detail-desc" id="tool-detail-desc"></p>
<div class="tool-detail-actions" id="tool-detail-actions">
<button class="btn-primary tool-detail-cta" id="tool-detail-install" data-i18n="marketplace.add_to_agent">
Add to Agent
</button>
<button type="button" class="btn-secondary" id="tool-detail-share" data-i18n="marketplace.share_2">
Share
</button>
<a
class="btn-secondary"
id="tool-detail-homepage"
target="_blank"
rel="noopener"
hidden
data-i18n="marketplace.homepage">Homepage ↗</a
>
<a
class="btn-secondary"
id="tool-detail-manifest"
target="_blank"
rel="noopener"
hidden
data-i18n="marketplace.view_manifest">View manifest ↗</a
>
</div>
<!-- System role / instructions -->
<section class="tool-detail-block" id="tool-detail-systemrole-wrap" hidden>
<h2 class="tool-detail-block-title" data-i18n="marketplace.how_the_agent_uses_it">How the agent uses it</h2>
<p class="tool-detail-systemrole" id="tool-detail-systemrole"></p>
</section>
<!-- Tools / capabilities -->
<section class="tool-detail-block" id="tool-detail-tools-wrap">
<div class="tool-detail-block-head">
<h2 class="tool-detail-block-title" data-i18n="marketplace.tools_2">Tools</h2>
<span
class="tool-detail-block-count"
id="tool-detail-tools-count"
></span>
</div>
<div class="tool-detail-tools" id="tool-detail-tools"></div>
</section>
</div>
</div>
</section>
<!-- Skill deep-link detail page -->
<section
class="market-tool-detail market-skill-detail"
id="market-skill-detail"
hidden
aria-label="Skill detail"
>
<div class="market-tool-detail-inner">
<button class="market-back" id="skill-detail-back" aria-label="Back to skills" data-i18n-attr="aria-label:marketplace.back_to_skills_arialabel">
←
</button>
<div class="tool-detail-skeleton" id="skill-detail-skeleton">
<div class="tool-skel-head">
<div class="tool-skel-icon"></div>
<div class="tool-skel-lines">
<div class="tool-skel-line w60"></div>
<div class="tool-skel-line w30"></div>
</div>
</div>
<div class="tool-skel-line w90"></div>
<div class="tool-skel-line w80"></div>
<div class="tool-skel-card"></div>
</div>
<div class="tool-detail-empty" id="skill-detail-empty" hidden>
<span class="tool-detail-empty-glyph" aria-hidden="true">◌</span>
<h2 class="tool-detail-empty-title" data-i18n="marketplace.skill_not_found">Skill not found</h2>
<p class="tool-detail-empty-msg" data-i18n="marketplace.this_skill_may_have_been_removed_or">
This skill may have been removed or the link is wrong.
</p>
<a
class="btn-secondary tool-detail-empty-cta"
href="/marketplace?tab=skills"
data-i18n="marketplace.browse_skills">Browse skills</a
>
</div>
<div class="tool-detail-body" id="skill-detail-body" hidden>
<header class="tool-detail-hero">
<div class="tool-detail-icon" id="skill-detail-icon" aria-hidden="true">
?
</div>
<div class="tool-detail-hero-text">
<div class="market-detail-eyebrow" id="skill-detail-eyebrow">
Skill
</div>
<h2 class="tool-detail-name" id="skill-detail-name">—</h2>
<p class="tool-detail-author" id="skill-detail-author" hidden></p>
</div>
<div class="tool-detail-price" id="skill-detail-price"></div>
</header>
<div class="tool-detail-pills" id="skill-detail-pills"></div>
<p class="tool-detail-desc" id="skill-detail-desc"></p>
<div class="tool-detail-actions" id="skill-detail-actions">
<button class="btn-primary tool-detail-cta" id="skill-detail-install" data-i18n="marketplace.install">
Install
</button>
<button type="button" class="btn-secondary" id="skill-detail-share" data-i18n="marketplace.share_3">
Share
</button>
<button
type="button"
class="btn-secondary"
id="skill-detail-author-btn"
hidden
></button>
</div>
<p class="skill-detail-how" id="skill-detail-how" hidden data-i18n="marketplace.installing_adds_this_skill_to_your_account">
Installing adds this skill to your account. Your agent reads its
playbook in every signed-in chat on three.ws and applies it whenever
the conversation is in its domain.
</p>
<div class="skill-detail-next" id="skill-detail-next" aria-live="polite" hidden>
<div class="skill-detail-next-head">
<span class="skill-detail-next-check" aria-hidden="true">✓</span>
<strong data-i18n="marketplace.skill_installed_title">Your agent has this skill</strong>
</div>
<p class="skill-detail-next-desc" id="skill-detail-next-desc" data-i18n="marketplace.its_playbook_now_loads_into_every_chat">
Its playbook now loads into every chat you have while signed in.
Ask your agent something in this skill's domain and the reply
follows it.
</p>
<a class="skill-detail-next-cta" id="skill-detail-next-chat" href="/app" data-i18n="marketplace.skill_installed_cta">Chat with your agent →</a>
</div>
<section class="tool-detail-block" id="skill-detail-rating-wrap" hidden>
<h2 class="tool-detail-block-title" data-i18n="marketplace.rate_this_skill">Rate this skill</h2>
<div id="skill-detail-rating" class="market-skill-rating"></div>
</section>
<section class="tool-detail-block" id="skill-detail-tools-wrap" hidden>
<div class="tool-detail-block-head">
<h2 class="tool-detail-block-title" data-i18n="marketplace.tools_provided">Tools provided</h2>
<span
class="tool-detail-block-count"
id="skill-detail-tools-count"
></span>
</div>
<div class="tool-detail-tools" id="skill-detail-tools"></div>
</section>
<section class="tool-detail-block" id="skill-detail-content-wrap" hidden>
<h2 class="tool-detail-block-title" data-i18n="marketplace.instructions">Instructions</h2>
<pre class="skill-detail-content" id="skill-detail-content"></pre>
</section>
<section
class="tool-detail-block skill-x402-block"
id="skill-detail-x402-wrap"
hidden
>
<div class="tool-detail-block-head">
<h2 class="tool-detail-block-title" data-i18n="marketplace.call_this_skill_pay_per_call">
Call this skill · pay-per-call
</h2>
<span class="skill-x402-price" id="skill-detail-x402-price"></span>
</div>
<p class="skill-x402-lead" data-i18n-html="marketplace.pay_per_call_in_usdc_a_1">
Pay per call in
<span data-term="usdc">USDC (a $1 digital dollar)</span> on Base or
Solana and get the skill's tool schema and instructions back.
Payment goes straight to the creator — no account needed, just a
wallet.
</p>
<div class="skill-x402-endpoint">
<code id="skill-detail-x402-url"></code>
<button
type="button"
class="btn-secondary skill-x402-copy"
id="skill-detail-x402-copy-url"
aria-label="Copy endpoint URL"
data-i18n="marketplace.copy_4" data-i18n-attr="aria-label:marketplace.copy_endpoint_url_arialabel">
Copy
</button>
</div>
<div class="skill-x402-snippet">
<div class="skill-x402-snippet-head">
<span data-i18n="marketplace.call_with_x402_fetch_pay_per_call">Call with x402-fetch (pay-per-call client)</span>
<button
type="button"
class="btn-secondary skill-x402-copy"
id="skill-detail-x402-copy-code"
aria-label="Copy code snippet"
data-i18n="marketplace.copy_code" data-i18n-attr="aria-label:marketplace.copy_code_snippet_arialabel">
Copy code
</button>
</div>
<pre id="skill-detail-x402-code"></pre>
</div>
</section>
<section class="tool-detail-block" id="skill-detail-related-wrap" hidden>
<h2 class="tool-detail-block-title" data-i18n="marketplace.related_skills">Related skills</h2>
<div class="market-grid" id="skill-detail-related"></div>
</section>
</div>
</div>
</section>
<!-- Animation deep-link detail page -->
<section
class="market-tool-detail market-anim-detail"
id="market-anim-detail"
hidden
aria-label="Animation detail"
>
<div class="market-tool-detail-inner">
<button
class="market-back"
id="anim-detail-back"
aria-label="Back to animations"
data-i18n-attr="aria-label:marketplace.back_to_animations_arialabel">
←
</button>
<div class="tool-detail-empty" id="anim-detail-empty" hidden>
<span class="tool-detail-empty-glyph" aria-hidden="true">◌</span>
<h2 class="tool-detail-empty-title" data-i18n="marketplace.animation_not_found">Animation not found</h2>
<p class="tool-detail-empty-msg" data-i18n="marketplace.this_clip_may_have_been_renamed_or">
This clip may have been renamed or removed.
</p>
<a
class="btn-secondary tool-detail-empty-cta"
href="/marketplace?tab=animations"
data-i18n="marketplace.browse_animations">Browse animations</a
>
</div>
<div class="tool-detail-body" id="anim-detail-body" hidden>
<div class="anim-detail-stage" id="anim-detail-stage">
<div class="anim-detail-stage-load" id="anim-detail-stage-load">
<span class="avatar-detail-load-label" data-i18n="marketplace.loading_preview">Loading preview…</span>
</div>
</div>
<header class="tool-detail-hero">
<div class="tool-detail-icon" id="anim-detail-icon" aria-hidden="true">
▶
</div>
<div class="tool-detail-hero-text">
<div class="market-detail-eyebrow">Animation clip</div>
<h2 class="tool-detail-name" id="anim-detail-name">—</h2>
<p class="tool-detail-id" id="anim-detail-clip"></p>
</div>
</header>
<div class="tool-detail-pills" id="anim-detail-pills"></div>
<div class="tool-detail-actions" id="anim-detail-actions">
<button class="btn-primary tool-detail-cta" id="anim-detail-replay" data-i18n="marketplace.replay">
Replay
</button>
<button type="button" class="btn-secondary" id="anim-detail-copy" data-i18n="marketplace.copy_clip_name">
Copy clip name
</button>
<button type="button" class="btn-secondary" id="anim-detail-share" data-i18n="marketplace.share_4">
Share
</button>
<a
class="btn-secondary"
id="anim-detail-raw"
target="_blank"
rel="noopener"
data-i18n="marketplace.view_clip_json">View clip JSON ↗</a
>
</div>
<section class="tool-detail-block" id="anim-detail-related-wrap" hidden>
<h2 class="tool-detail-block-title" data-i18n="marketplace.more_animations">More animations</h2>
<div
class="market-grid market-anim-grid"
id="anim-detail-related"
></div>
</section>
</div>
</div>
</section>
<!-- Onchain (ERC-8004) agent deep-link detail page -->
<section
class="market-tool-detail market-onchain-detail"
id="market-onchain-detail"
hidden
aria-label="Onchain agent detail"
>
<div class="market-tool-detail-inner">
<button
class="market-back"
id="onchain-detail-back"
aria-label="Back to onchain agents"
data-i18n-attr="aria-label:marketplace.back_to_onchain_agents_arialabel">
←
</button>
<div class="tool-detail-skeleton" id="onchain-detail-skeleton">
<div class="tool-skel-card" style="height: 320px"></div>
<div class="tool-skel-head">
<div class="tool-skel-icon"></div>
<div class="tool-skel-lines">
<div class="tool-skel-line w60"></div>
<div class="tool-skel-line w30"></div>
</div>
</div>
</div>
<div class="tool-detail-empty" id="onchain-detail-empty" hidden>
<span class="tool-detail-empty-glyph" aria-hidden="true">◌</span>
<h2 class="tool-detail-empty-title" data-i18n="marketplace.agent_not_found">Agent not found</h2>
<p class="tool-detail-empty-msg" data-i18n="marketplace.this_onchain_agent_is_no_longer_indexed">
This onchain agent is no longer indexed, or the link is wrong.
</p>
<a
class="btn-secondary tool-detail-empty-cta"
href="/marketplace?tab=onchain"
data-i18n="marketplace.browse_onchain_agents">Browse onchain agents</a
>
</div>
<div class="tool-detail-body" id="onchain-detail-body" hidden>
<div class="onchain-detail-stage" id="onchain-detail-stage" hidden></div>
<header class="tool-detail-hero">
<div
class="tool-detail-icon"
id="onchain-detail-icon"
aria-hidden="true"
>
?
</div>
<div class="tool-detail-hero-text">
<div class="market-detail-eyebrow">ERC-8004 onchain agent</div>
<h2 class="tool-detail-name" id="onchain-detail-name">—</h2>
<p class="tool-detail-id" id="onchain-detail-owner"></p>
</div>
</header>
<div class="tool-detail-pills" id="onchain-detail-pills"></div>
<p class="tool-detail-desc" id="onchain-detail-desc"></p>
<div class="tool-detail-actions" id="onchain-detail-actions">
<a class="btn-primary tool-detail-cta" id="onchain-detail-view"
data-i18n="marketplace.open_in_3d_viewer_2">Open in 3D viewer ↗</a
>
<a
class="btn-secondary"
id="onchain-detail-token"
target="_blank"
rel="noopener"
data-i18n="marketplace.view_token_on_explorer">View token on explorer ↗</a
>
<a
class="btn-secondary"
id="onchain-detail-owner-link"
target="_blank"
rel="noopener"
data-i18n="marketplace.view_owner">View owner ↗</a
>
<button type="button" class="btn-secondary" id="onchain-detail-share" data-i18n="marketplace.share_5">
Share
</button>
</div>
<section class="tool-detail-block" id="onchain-detail-services-wrap" hidden>
<div class="tool-detail-block-head">
<h2 class="tool-detail-block-title" data-i18n="marketplace.services">Services</h2>
<span
class="tool-detail-block-count"
id="onchain-detail-services-count"
></span>
</div>
<div class="tool-detail-tools" id="onchain-detail-services"></div>
</section>
<section class="tool-detail-block">
<h2 class="tool-detail-block-title" data-i18n="marketplace.onchain_identity">Onchain identity</h2>
<div class="onchain-detail-facts" id="onchain-detail-facts"></div>
</section>
</div>
</div>
</section>
<!-- Animations tab -->
<section class="market-animations-section" id="market-animations-section" hidden>
<header class="market-topbar">
<div class="market-mine-head">
<h2 class="market-section-heading" data-i18n="marketplace.animations_2">Animations</h2>
<span class="market-mine-sub" id="animations-subtitle"
data-i18n="marketplace.browse_avatar_animation_clips">Browse avatar animation clips</span
>
</div>
<input
id="animations-search"
type="search"
placeholder="Search animations…"
autocomplete="off"
style="flex: 1; max-width: 280px"
/>
<div
class="market-filter-chips"
role="group"
aria-label="Animation type filter"
>
<button class="market-chip active" data-anim-filter="all" data-i18n="marketplace.all_3">All</button>
<button class="market-chip" data-anim-filter="loop" data-i18n="marketplace.ambient">Ambient</button>
<button class="market-chip" data-anim-filter="action" data-i18n="marketplace.actions">Actions</button>
</div>
</header>
<div class="market-skills-tab">
<div class="market-grid market-anim-grid" id="animations-grid">
<div class="market-empty">Loading animations…</div>
</div>
</div>
</section>
<!-- Memory tab -->
<section class="market-memory-section" id="market-memory-section" hidden>
<header class="market-topbar">
<div class="market-mine-head">
<h2 class="market-section-heading" data-i18n="marketplace.agent_memory">Agent Memory</h2>
<span class="market-mine-sub" id="memory-subtitle"
data-i18n="marketplace.persistent_context_that_makes_agents_smarter">Persistent context that makes agents smarter</span
>
</div>
<a href="/create-agent" class="market-submit-btn" style="text-decoration: none"
data-i18n="marketplace.create_agent">+ Create Agent</a
>
</header>
<div class="market-memory-body" id="market-memory-body">
<div class="market-empty">Loading…</div>
</div>
</section>
</main>
<!-- Submit Agent Modal -->
<div
class="market-modal-overlay"
id="market-submit-overlay"
hidden
aria-modal="true"
role="dialog"
aria-labelledby="market-submit-title"
>
<div class="market-modal">
<div class="market-modal-head">
<h2 id="market-submit-title" data-i18n="marketplace.submit_an_agent">Submit an Agent</h2>
<button class="market-modal-close" id="market-submit-close" aria-label="Close" data-i18n-attr="aria-label:marketplace.close_arialabel">
×
</button>
</div>
<a class="market-submit-path" id="market-submit-builder" href="/create-agent">
<span class="msp-icon" aria-hidden="true">✦</span>
<span class="msp-copy">
<strong data-i18n="marketplace.submit_builder_title">Create a new agent</strong>
<span data-i18n="marketplace.submit_builder_desc"
>Guided builder: pick a 3D avatar, write the persona, publish. About two minutes.</span
>
</span>
<span class="msp-arrow" aria-hidden="true">→</span>
</a>
<section class="market-submit-mine" aria-labelledby="msm-title">
<h3 class="msm-title" id="msm-title" data-i18n="marketplace.submit_publish_existing">
Or publish one you already have
</h3>
<div class="msm-list" id="msm-list" aria-live="polite"></div>
</section>
<button
type="button"
id="market-quickform-toggle"
class="market-import-btn"
aria-expanded="false"
aria-controls="market-quickform"
data-i18n="marketplace.submit_manual_toggle"
>
Advanced: type the details manually ↓
</button>
<div id="market-quickform" hidden>
<div class="market-modal-import">
<button type="button" id="market-import-toggle" class="market-import-btn" data-i18n="marketplace.import_from_json">
Import from JSON ↓
</button>
<div id="market-import-area" hidden>
<textarea
id="market-import-json"
class="market-json-input"
rows="5"
placeholder='Paste LobeHub-compatible agent JSON: { "config": { "systemRole": "…" }, "meta": { "title": "…" } }'
></textarea>
<button
type="button"
id="market-import-apply"
class="market-btn-sec"
style="margin-top: 6px"
data-i18n="marketplace.apply_json">
Apply JSON
</button>
</div>
</div>
<form id="market-submit-form" class="market-submit-form" novalidate>
<div class="market-field">
<label for="sf-name" data-i18n-html="marketplace.name">Name <span class="req">*</span></label>
<input
id="sf-name"
type="text"
maxlength="100"
placeholder="My Helpful Agent"
autocomplete="off"
/>
</div>
<div class="market-field">
<label for="sf-description" data-i18n-html="marketplace.description">Description <span class="req">*</span></label>
<input
id="sf-description"
type="text"
maxlength="500"
placeholder="A short description of what this agent does"
/>
</div>
<div class="market-field-row">
<div class="market-field">
<label for="sf-category" data-i18n-html="marketplace.category">Category <span class="req">*</span></label>
<select id="sf-category">
<option value="" data-i18n="marketplace.select">Select…</option>
<option value="academic" data-i18n="marketplace.academic">Academic</option>
<option value="career" data-i18n="marketplace.career">Career</option>
<option value="copywriting" data-i18n="marketplace.copywriting">Copywriting</option>
<option value="design" data-i18n="marketplace.design">Design</option>
<option value="education" data-i18n="marketplace.education">Education</option>
<option value="emotions" data-i18n="marketplace.emotions">Emotions</option>
<option value="entertainment" data-i18n="marketplace.entertainment">Entertainment</option>
<option value="finance" data-i18n="marketplace.finance">Finance</option>
<option value="games" data-i18n="marketplace.games">Games</option>
<option value="general" data-i18n="marketplace.general">General</option>
<option value="life" data-i18n="marketplace.life">Life</option>
<option value="marketing" data-i18n="marketplace.marketing">Marketing</option>
<option value="office" data-i18n="marketplace.office">Office</option>
<option value="programming" data-i18n="marketplace.programming">Programming</option>
<option value="translation" data-i18n="marketplace.translation">Translation</option>
</select>
</div>
<div class="market-field">
<label for="sf-tags"
data-i18n-html="marketplace.tags_comma_separated">Tags <span class="field-hint">(comma-separated)</span></label
>
<input
id="sf-tags"
type="text"
maxlength="200"
placeholder="helpful, writing, code"
/>
</div>
</div>
<div class="market-field">
<label for="sf-prompt" data-i18n-html="marketplace.system_prompt">System Prompt <span class="req">*</span></label>
<textarea
id="sf-prompt"
rows="6"
maxlength="16000"
placeholder="You are a helpful AI assistant specialized in…"
></textarea>
</div>
<div class="market-field">
<label for="sf-greeting" data-i18n="marketplace.greeting_message">Greeting Message</label>
<input
id="sf-greeting"
type="text"
maxlength="1000"
placeholder="Hello! I'm here to help you with…"
/>
</div>
<details class="market-field-group">
<summary class="market-field-group-title" data-i18n-html="marketplace.monetize_optional">
Monetize <span class="field-hint">(optional)</span>
</summary>
<div class="market-field" style="margin-top: 0.75rem">
<label for="sf-payout-wallet"
data-i18n-html="marketplace.payout_wallet_address_solana">Payout wallet address
<span class="field-hint">(Solana)</span></label
>
<input
id="sf-payout-wallet"
type="text"
maxlength="100"
placeholder="Your Solana address for receiving payments"
autocomplete="off"
/>
</div>
<div class="sf-skill-prices" id="sf-skill-prices">
<div class="sf-skill-prices-label">
Skill prices <span class="field-hint" data-i18n="marketplace.usdc_per_call">(USDC per call)</span>
</div>
<div id="sf-price-rows"></div>
<div class="agent-pricing-add-row">
<input
id="sf-new-skill"
type="text"
maxlength="100"
placeholder="skill-name"
autocomplete="off"
/>
<button type="button" id="sf-add-skill" class="market-btn-sec" data-i18n="marketplace.add_skill">
+ Add Skill
</button>
</div>
</div>
</details>
<div id="market-submit-error" class="market-form-error" hidden></div>
<div class="market-submit-actions">
<button type="button" id="sf-save-draft" class="market-btn-sec" data-i18n="marketplace.save_draft">
Save Draft
</button>
<button type="button" id="sf-publish" class="market-btn-pri" data-i18n="marketplace.publish">
Publish
</button>
</div>
</form>
</div>
</div>
</div>
<!-- Publish Skill Modal -->
<div
class="market-modal-overlay"
id="skill-publish-overlay"
hidden
aria-modal="true"
role="dialog"
aria-labelledby="skill-publish-title"
>
<div class="market-modal">
<div class="market-modal-head">
<h2 id="skill-publish-title" data-i18n="marketplace.publish_a_skill">Publish a Skill</h2>
<button class="market-modal-close" id="skill-publish-close" aria-label="Close" data-i18n-attr="aria-label:marketplace.close_arialabel_2">
×
</button>
</div>
<form id="skill-publish-form" novalidate>
<div class="market-field">
<label for="sp-name" data-i18n-html="marketplace.name_2">Name <span class="req">*</span></label>
<input
id="sp-name"
type="text"
maxlength="100"
placeholder="web-search"
autocomplete="off"
/>
<span class="field-hint" data-i18n-html="marketplace.lowercase_slug_e_g">Lowercase slug, e.g. <code>web-search</code></span>
</div>
<div class="market-field">
<label for="sp-description" data-i18n-html="marketplace.description_2">Description <span class="req">*</span></label>
<input
id="sp-description"
type="text"
maxlength="500"
placeholder="Search the web for current information"
/>
</div>
<div class="market-field-row">
<div class="market-field">
<label for="sp-category" data-i18n="marketplace.category_2">Category</label>
<select id="sp-category">
<option value="general" data-i18n="marketplace.general_2">General</option>
<option value="search" data-i18n="marketplace.search">Search</option>
<option value="data" data-i18n="marketplace.data">Data</option>
<option value="communication" data-i18n="marketplace.communication">Communication</option>
<option value="productivity" data-i18n="marketplace.productivity">Productivity</option>
<option value="development" data-i18n="marketplace.development">Development</option>
<option value="finance" data-i18n="marketplace.finance">Finance</option>
<option value="creative" data-i18n="marketplace.creative">Creative</option>
</select>
</div>
<div class="market-field">
<label for="sp-price"
data-i18n-html="marketplace.price_per_call_usd_0_free">Price per call (USD)
<span class="field-hint">0 = free</span></label
>
<input
id="sp-price"
type="number"
min="0"
max="10"
step="0.001"
placeholder="0.001"
value="0"
/>
</div>
</div>
<fieldset class="market-field" id="sp-rails" style="border:0;padding:0;margin:0 0 12px">
<legend>
Payment rails <span class="field-hint">(one price, every enabled rail settles the same author split)</span>
</legend>
<label style="display:flex;gap:8px;align-items:center;margin:6px 0">
<input type="checkbox" name="sp-rail" value="x402" checked />
<span>x402 <span class="field-hint">HTTP 402, USDC on Solana first</span></span>
</label>
<label style="display:flex;gap:8px;align-items:center;margin:6px 0">
<input type="checkbox" name="sp-rail" value="a2a" checked />
<span>A2A <span class="field-hint">agent-to-agent task envelope</span></span>
</label>
<label style="display:flex;gap:8px;align-items:center;margin:6px 0">
<input type="checkbox" name="sp-rail" value="mpp" />
<span>MPP <span class="field-hint">Payment authentication scheme</span></span>
</label>
<label style="display:flex;gap:8px;align-items:center;margin:6px 0">
<input type="checkbox" name="sp-rail" value="ap2" />
<span>AP2 <span class="field-hint">mandate-backed agent spend</span></span>
</label>
</fieldset>
<div class="market-field">
<label for="sp-tags"
data-i18n-html="marketplace.tags_comma_separated_2">Tags <span class="field-hint">(comma-separated)</span></label
>
<input
id="sp-tags"
type="text"
maxlength="200"
placeholder="search, web, realtime"
/>
</div>
<div class="market-field">
<label for="sp-schema"
data-i18n-html="marketplace.tool_definitions_json_array_optional">Tool definitions
<span class="field-hint">(JSON array — optional)</span></label
>
<textarea
id="sp-schema"
rows="6"
placeholder='[{"name":"search","description":"Search the web","input_schema":{"type":"object","properties":{"query":{"type":"string","description":"Search query"}},"required":["query"]}}]'
></textarea>
</div>
<details class="sp-bundle" id="sp-bundle">
<summary>Skill code and instructions <span class="field-hint">(optional, scanned before anything is listed)</span></summary>
<div class="market-field">
<label for="sp-content">SKILL.md instructions</label>
<textarea id="sp-content" rows="5" spellcheck="false" placeholder="When to use this skill and how the agent should call its tools."></textarea>
</div>
<div class="market-field">
<label for="sp-manifest">manifest.json <span class="field-hint">(declare hosts under <code>requires.network</code>)</span></label>
<textarea id="sp-manifest" rows="5" spellcheck="false" placeholder='{"name":"web-search","requires":{"network":["api.example.com"]}}'></textarea>
</div>
<div class="market-field">
<label for="sp-handlers">handlers.js</label>
<textarea id="sp-handlers" rows="8" spellcheck="false" placeholder="export async function search(args, ctx) { ... }"></textarea>
</div>
</details>
<div id="skill-publish-scan" class="sp-scan" role="status" aria-live="polite" hidden></div>
<div id="skill-publish-error" class="market-form-error" hidden></div>
<div class="market-submit-actions">
<button type="button" id="sp-check" class="market-btn-sec">Check skill</button>
<button type="button" id="sp-publish" class="market-btn-pri" data-i18n="marketplace.publish_skill_2">
Publish Skill
</button>
</div>
</form>
</div>
</div>
<!-- Payout Wallet Modal -->
<div
class="market-modal-overlay"
id="wallet-setup-overlay"
hidden
aria-modal="true"
role="dialog"
aria-labelledby="wallet-setup-title"
>
<div class="market-modal" style="max-width: 420px">
<div class="market-modal-head">
<h2 id="wallet-setup-title" data-i18n="marketplace.payout_wallet">Payout Wallet</h2>
<button class="market-modal-close" id="wallet-setup-close" aria-label="Close" data-i18n-attr="aria-label:marketplace.close_arialabel_3">
×
</button>
</div>
<p style="color: #a1a1aa; font-size: 0.875rem; margin: 0 0 1.25rem" data-i18n="marketplace.payments_from_buyers_go_directly_to_this">
Payments from buyers go directly to this wallet. You can use a Solana or Base
wallet address.
</p>
<div class="market-field">
<label for="ws-chain" data-i18n="marketplace.chain">Chain</label>
<select id="ws-chain">
<option value="solana" data-i18n="marketplace.solana">Solana</option>
<option value="base" data-i18n="marketplace.base_evm">Base (EVM)</option>
</select>
</div>
<div class="market-field">
<label for="ws-address" data-i18n-html="marketplace.wallet_address">Wallet address <span class="req">*</span></label>
<input
id="ws-address"
type="text"
maxlength="100"
placeholder="Solana or wallet address"
autocomplete="off"
/>
</div>
<div id="wallet-setup-error" class="market-form-error" hidden></div>
<div class="market-submit-actions">
<button type="button" id="ws-save" class="market-btn-pri" data-i18n="marketplace.save_wallet">Save Wallet</button>
</div>
</div>
</div>
<!-- Agent Pricing Modal -->
<div
class="market-modal-overlay"
id="agent-pricing-overlay"
hidden
aria-modal="true"
role="dialog"
aria-labelledby="agent-pricing-title"
>
<div class="market-modal" style="max-width: 480px">
<div class="market-modal-head">
<h2 id="agent-pricing-title" data-i18n="marketplace.set_skill_prices">Set Skill Prices</h2>
<button class="market-modal-close" id="agent-pricing-close" aria-label="Close" data-i18n-attr="aria-label:marketplace.close_arialabel_4">
×
</button>
</div>
<p
style="color: #a1a1aa; font-size: 0.875rem; margin: 0 0 1rem"
id="agent-pricing-hint"
data-i18n="marketplace.set_a_usdc_a_1_digital_dollar">
Set a USDC (a $1 digital dollar) price for each skill. Leave blank or 0 to keep
it free.
</p>
<div id="agent-pricing-rows" class="agent-pricing-rows"></div>
<div class="agent-pricing-add-row">
<input
id="ap-new-skill"
type="text"
maxlength="100"
placeholder="skill-name"
autocomplete="off"
/>
<button type="button" id="ap-add-skill" class="market-btn-sec" data-i18n="marketplace.add_skill_2">
+ Add Skill
</button>
</div>
<div id="agent-pricing-error" class="market-form-error" hidden></div>
<div class="market-submit-actions">
<button type="button" id="ap-save" class="market-btn-pri" data-i18n="marketplace.save_prices">Save Prices</button>
</div>
</div>
</div>
<script src="/src/marketplace.js" type="module"></script>
<!-- Avatar Detail Modal -->
<div
class="avatar-modal-overlay"
id="avatar-modal-overlay"
hidden
aria-modal="true"
role="dialog"
aria-labelledby="avatar-modal-title"
>
<div class="avatar-modal" role="document">
<div class="avatar-modal-stage" id="avatar-modal-stage">
<button class="avatar-modal-close" id="avatar-modal-close" aria-label="Close" data-i18n-attr="aria-label:marketplace.close_arialabel_5">
×
</button>
</div>
<div class="avatar-modal-side">
<div class="avatar-modal-eyebrow">Community Avatar</div>
<h2 class="avatar-modal-title" id="avatar-modal-title">—</h2>
<p class="avatar-modal-desc" id="avatar-modal-desc"></p>
<div class="avatar-modal-meta" id="avatar-modal-meta"></div>
<div class="avatar-modal-sale" id="avatar-modal-sale" hidden></div>
<div class="avatar-modal-actions">
<button class="btn-primary" id="avatar-modal-use" data-i18n="marketplace.start_an_agent_with_this_avatar">
Start an agent with this avatar
</button>
<a
class="btn-secondary"
id="avatar-modal-view"
target="_blank"
rel="noopener"
data-i18n="marketplace.open_in_3d_viewer_3">Open in 3D viewer</a
>
<a class="btn-secondary" id="avatar-modal-download" download
data-i18n="marketplace.download_glb_3">Download GLB</a
>
<button id="avatar-modal-bookmark" aria-pressed="false" data-i18n="marketplace.bookmark">Bookmark</button>
</div>
</div>
</div>
</div>
<!-- Creator Profile Modal -->
<div
class="creator-modal-overlay"
id="creator-modal-overlay"
hidden
aria-modal="true"
role="dialog"
aria-labelledby="creator-modal-title"
>
<div class="creator-modal" role="document">
<button class="creator-modal-close" id="creator-modal-close" aria-label="Close" data-i18n-attr="aria-label:marketplace.close_arialabel_6">
×
</button>
<header class="creator-modal-head">
<div class="creator-modal-avatar" id="creator-modal-avatar"></div>
<div class="creator-modal-meta">
<div class="creator-modal-eyebrow">Creator profile</div>
<h2 class="creator-modal-title" id="creator-modal-title">—</h2>
<div class="creator-modal-handle" id="creator-modal-handle"></div>
<div class="creator-modal-stats" id="creator-modal-stats"></div>
</div>
</header>
<div class="creator-modal-body">
<section>
<h3 class="creator-modal-sectiontitle" data-i18n-html="marketplace.published_agents">
Published agents <span id="creator-agents-count" class="muted"></span>
</h3>
<div class="creator-modal-grid" id="creator-agents-grid">
<div class="market-empty">Loading…</div>
</div>
</section>
<section>
<h3 class="creator-modal-sectiontitle" data-i18n-html="marketplace.public_avatars">
Public avatars <span id="creator-avatars-count" class="muted"></span>
</h3>
<div class="creator-modal-grid" id="creator-avatars-grid">
<div class="market-empty">Loading…</div>
</div>
</section>
</div>
</div>
</div>
<!-- Mobile sidebar backdrop + toggle -->
<button
class="market-sidebar-toggle"
id="market-sidebar-toggle"
aria-label="Open menu"
hidden
data-i18n-attr="aria-label:marketplace.open_menu_arialabel">
☰
</button>
<div class="market-sidebar-backdrop" id="market-sidebar-backdrop" hidden></div>
<!-- Payment Modal -->
<div
class="market-modal-overlay"
id="payment-modal-overlay"
hidden
aria-modal="true"
role="dialog"
aria-labelledby="payment-modal-title"
>
<div class="market-modal">
<div class="market-modal-head">
<h2 id="payment-modal-title" data-i18n="marketplace.unlock_skill">Unlock Skill</h2>
<button class="market-modal-close" id="payment-modal-close" aria-label="Close" data-i18n-attr="aria-label:marketplace.close_arialabel_7">
×
</button>
</div>
<div class="payment-modal-body" id="payment-modal-body">
<div class="payment-modal-badge" id="payment-modal-badge" hidden></div>
<p id="payment-modal-lede" data-i18n="marketplace.you_are_purchasing_access_to_the_following">You are purchasing access to the following skill:</p>
<div class="payment-item">
<strong id="payment-skill-name"></strong>
<span id="payment-item-from" data-i18n="marketplace.from_agent">from agent</span>
<em id="payment-agent-name"></em>
</div>
<div class="payment-price">
<span data-i18n="marketplace.total">Total</span>
<strong id="payment-price-display"></strong>
</div>
<div class="payment-fee-note" id="payment-fee-note" hidden></div>
<div class="payment-wallet-area" id="payment-wallet-area">
<!-- Wallet connection status and button will be rendered here by JS -->
<button class="btn-primary" id="payment-connect-wallet-btn" data-i18n="marketplace.connect_wallet">
Connect Wallet
</button>
</div>
<button
class="btn-primary payment-confirm-btn"
id="payment-confirm-btn"
disabled
data-i18n="marketplace.confirm_purchase">
Confirm Purchase
</button>
<div class="payment-qr" id="payment-qr" aria-live="polite"></div>
<div
class="payment-status"
id="payment-status"
role="status"
aria-live="polite"
></div>
</div>
<div
class="payment-modal-success"
id="payment-modal-success"
hidden
role="status"
aria-live="polite"
></div>
</div>
</div>
<div id="footer-container"></div>
<script src="/footer.js" defer></script>
<script src="/brand.js" defer></script>
<!-- Runtime i18n: detects locale, swaps annotated copy, mounts <lang-switcher>. -->
<script type="module" src="/i18n.js"></script>
</body>
</html>