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
Mobile responsiveness pass: create, gallery, pay, explore hero
nirholasb35febad426d
diff --git a/pages/create.html b/pages/create.htmlindex 00635bf1b..d7fcc7796 100644--- a/pages/create.html+++ b/pages/create.html@@ -534,6 +534,8 @@color: #a78bfa;}.card-example-text {+ flex: 1;+ min-width: 0;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;@@ -630,6 +632,7 @@bottom: 32px;left: 50%;transform: translateX(-50%);+ max-width: min(calc(100vw - 32px), 420px);padding: 11px 20px;border-radius: 12px;font-size: 13px;@@ -679,6 +682,55 @@.secondary-grid {grid-template-columns: 1fr;}+ /* Card padding tuned down so content keeps room on phones */+ .hero-card {+ padding: 22px 18px;+ }+ .create-card {+ padding: 18px;+ }+ /* Keep the badge clear of the wrapping hero title */+ .recommended-badge {+ top: 14px;+ right: 14px;+ }+ .hero-card .card-icon-row {+ padding-right: 96px;+ }+ /* Larger, comfortable tap targets for the visible CTAs */+ .card-cta {+ padding: 12px 18px;+ min-height: 44px;+ }+ .your-avatars-manage {+ padding: 6px 0;+ }+ /* Toast wraps and respects the home-indicator safe area */+ .status-toast {+ bottom: calc(20px + env(safe-area-inset-bottom, 0px));+ white-space: normal;+ text-align: center;+ }+ }+ @media (max-width: 380px) {+ .create-title {+ font-size: 26px;+ }+ .hero-card .card-title {+ font-size: 20px;+ }+ /* Stack icon above title so neither collides with the badge */+ .hero-card .card-icon-row {+ flex-direction: column;+ align-items: flex-start;+ gap: 10px;+ padding-right: 0;+ }+ .recommended-badge {+ position: static;+ align-self: flex-start;+ margin-bottom: 12px;+ }}/* ── Avatar creator modal ─────────────────────────────────────────── */diff --git a/public/gallery/gallery.css b/public/gallery/gallery.cssindex a8aed44b5..da20193d3 100644--- a/public/gallery/gallery.css+++ b/public/gallery/gallery.css@@ -738,29 +738,28 @@ body.gallery-page {.gallery-search {max-width: 100%;}+ /* 16px inputs prevent iOS Safari auto-zoom on focus. */+ .gallery-search input[type='search'] {+ font-size: 16px;+ }+ .gallery-search-clear {+ width: 30px;+ height: 30px;+ font-size: 20px;+ }.gallery-sort-select {justify-content: center;}+ .gallery-sort-select select {+ flex: 1;+ font-size: 16px;+ padding: 13px 12px;+ }.gallery-grid {- grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));+ grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));gap: 12px;}- .gallery-card-mv {- width: 100%;- height: 100%;- display: block;- background: transparent;- pointer-events: none;- --poster-color: transparent;- --progress-bar-color: rgba(255, 255, 255, 0.4);- --progress-bar-height: 2px;-}-.gallery-card-views {- font-size: 11px;- color: rgba(255, 255, 255, 0.5);- font-variant-numeric: tabular-nums;-}-.gallery-card-body {+ .gallery-card-body {padding: 10px 12px 12px;gap: 6px;}@@ -770,12 +769,34 @@ body.gallery-page {.gallery-card-desc {display: none;}+ /* Stack date over actions so a narrow 2-col card never crowds the footer. */.gallery-card-foot {- padding-top: 6px;+ flex-direction: column;+ align-items: stretch;+ gap: 8px;+ padding-top: 8px;}- .gallery-card-btn {- font-size: 11px;- padding: 5px 8px;+ .gallery-card-actions {+ gap: 8px;+ }+ /* Full-width, comfortably tappable action buttons on phones. */+ .gallery-card-actions .gallery-card-btn {+ flex: 1;+ justify-content: center;+ min-height: 40px;+ font-size: 12px;+ padding: 8px 10px;+ }+}++/* Extra-small phones (<=360px): keep two comfortable columns, never overflow. */+@media (max-width: 360px) {+ .gallery-main {+ padding: 16px 12px 36px;+ }+ .gallery-grid {+ grid-template-columns: repeat(2, minmax(0, 1fr));+ gap: 10px;}}@@ -943,7 +964,7 @@ body.gallery-page {@media (max-width: 744px) {.gallery-forge-grid {- grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));+ grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));}}@media (max-width: 640px) {@@ -953,8 +974,14 @@ body.gallery-page {}.gallery-forge-cta {margin-top: 0;+ align-self: flex-start;+ }+ .gallery-forge-grid {+ grid-template-columns: repeat(2, minmax(0, 1fr));}+}+@media (max-width: 360px) {.gallery-forge-grid {- grid-template-columns: repeat(2, 1fr);+ gap: 10px;}}diff --git a/public/pay/index.html b/public/pay/index.htmlindex 7cf272bd9..9a645fe71 100644--- a/public/pay/index.html+++ b/public/pay/index.html@@ -497,7 +497,8 @@.composer { padding: 12px 16px; }aside.status { padding: 16px 16px; }.quick { gap: 6px; }- .quick button { font-size: 11px; padding: 5px 10px; }+ /* >=44px tap target; full-width chips wrap cleanly */+ .quick button { font-size: 12px; padding: 9px 12px; min-height: 40px; }footer.feed { padding: 6px 14px; gap: 8px; font-size: 10px; }.feed-label { display: none; }.walkthrough { padding: 22px 22px; }@@ -505,10 +506,40 @@.mv-block model-viewer { height: 280px; }.avatars-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }.avatar-card model-viewer { height: 110px; }++ /* Inputs: 16px prevents iOS focus-zoom; comfortable tap height */+ .input-row { gap: 8px; }+ .input-row input { font-size: 16px; padding: 13px 14px; min-height: 48px; }+ .input-row .send { font-size: 15px; padding: 0 18px; min-height: 48px; flex: 0 0 auto; }++ /* Containers that kept desktop 28px gutters — pull in so nothing overflows 320px */+ .chain-tabs { padding: 10px 16px 0; gap: 6px; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }+ .chain-tab { padding: 10px 12px; font-size: 13px; white-space: nowrap; flex: 0 0 auto; }+ .agent-bar { padding: 10px 16px; gap: 8px; }+ .bsc-panel .bsc-header { padding: 16px 16px 8px; flex-wrap: wrap; }+ .bsc-panel .bsc-header > div { min-width: 0; }+ .bsc-connect { width: 100%; padding: 12px 16px; min-height: 44px; font-size: 14px; }+ .bsc-info { padding: 6px 16px 12px; gap: 12px; }+ .bsc-info code { word-break: break-all; }+ .bsc-quick { padding: 4px 16px 14px; }+ .bsc-chip { padding: 8px 12px; min-height: 40px; display: inline-flex; align-items: center; }+ .bsc-log { padding: 16px 16px; }++ /* Receipt + actions stay inside the panel, tappable */+ .receipt .actions a, .receipt .actions button { padding: 10px 10px; min-height: 40px; font-size: 12px; display: flex; align-items: center; justify-content: center; }+ /* Code/mono drawers wrap instead of forcing page scroll */+ details.curl pre, .msg .body pre { white-space: pre-wrap; word-break: break-word; }+ /* Long addresses/hashes in inline code must wrap, never scroll the page */+ .msg .body code, .bsc-step code { overflow-wrap: anywhere; word-break: break-word; }+ .bsc-info span { min-width: 0; }}@media (max-width: 420px) {.quick button[data-cmd="search_public_avatars:"] { display: none; }.pill .label { display: none; }+ /* Stack the composer so the Pay button is full-width and finger-friendly */+ .input-row { flex-direction: column; }+ .input-row .send { width: 100%; }+ .chain-tab .chip { display: none; }}/* Agent picker */diff --git a/public/style.css b/public/style.cssindex c77c2de8f..e89d4b2d9 100644--- a/public/style.css+++ b/public/style.css@@ -7892,11 +7892,13 @@ textarea.erc8004-code {text-align: center;padding: var(--space-2xl) 0 var(--space-xl);}+.explore-hero h1,.explore-hero h2 {font-family: 'Space Grotesk', system-ui, sans-serif;- font-size: clamp(2rem, 4vw, 3.2rem);+ font-size: clamp(1.9rem, 6vw, 3.2rem);font-weight: 700;letter-spacing: -0.02em;+ line-height: 1.08;margin: var(--space-md) 0 var(--space-sm);color: #fff;}@@ -8409,6 +8411,108 @@ textarea.erc8004-code {color: #fff;}+/* ─────────────────────────────────────────────────────────────────────────+ /discover (body.explore-page) — mobile. Additive overrides only; desktop+ above is untouched. Phones get a single comfortable column, full-width+ tappable controls (>=44px), wrapping chip rows, and 16px inputs (no iOS+ zoom). The legacy max-width:640px block near line 2514 targets a different+ (older) explore layout and does not reach this page's selectors.+ ─────────────────────────────────────────────────────────────────────── */+@media screen and (max-width: 768px) {+ /* Double padding (body.explore-page + .explore-main) ate too much width+ on phones, pushing the 260px grid track past the viewport. Tighten the+ inner gutter so content fits without horizontal scroll. */+ .explore-main {+ padding: var(--space-md) var(--space-sm) var(--space-2xl);+ }+ .explore-hero {+ padding: var(--space-xl) 0 var(--space-lg);+ }+ .explore-sub {+ font-size: 14px;+ }++ /* Stack the toolbar; every control spans the row and is easy to tap. */+ .explore-controls {+ flex-direction: column;+ align-items: stretch;+ gap: var(--space-sm);+ padding: var(--space-sm);+ }+ .explore-search {+ flex: 1 1 auto;+ width: 100%;+ }+ .explore-search input {+ /* >=16px stops iOS Safari from zooming the page on focus. */+ font-size: 16px;+ padding: 11px 40px 11px 14px;+ }++ /* Chip rows scroll horizontally instead of clipping/overflowing the page.+ Snap edges flush so the first/last chip aren't cut off. */+ .explore-chips {+ flex-wrap: nowrap;+ overflow-x: auto;+ -webkit-overflow-scrolling: touch;+ scrollbar-width: none;+ gap: 8px;+ padding-bottom: 2px;+ margin: 0 calc(-1 * var(--space-sm));+ padding-inline: var(--space-sm);+ }+ .explore-chips::-webkit-scrollbar {+ display: none;+ }+ .explore-chip {+ flex: 0 0 auto;+ min-height: 44px;+ display: inline-flex;+ align-items: center;+ white-space: nowrap;+ }++ /* Chain + Sort selects: each on its own full-width row, fully tappable. */+ .explore-chain-select,+ .explore-sort-select {+ display: flex;+ width: 100%;+ align-items: center;+ gap: 10px;+ }+ .explore-chain-select label,+ .explore-sort-select label {+ flex: 0 0 auto;+ min-width: 44px;+ }+ .explore-chain-select select,+ .explore-sort-select select {+ flex: 1 1 auto;+ width: 100%;+ min-height: 44px;+ font-size: 16px;+ }++ /* One comfortable column on phones; the desktop 260px track would+ overflow a ~216px content box at 320px. */+ .explore-grid {+ grid-template-columns: 1fr;+ gap: var(--space-md);+ }++ .explore-load-more {+ min-height: 44px;+ }+}++@media screen and (min-width: 480px) and (max-width: 768px) {+ /* Two cards fit comfortably from ~480px up; below that, stay single-column. */+ .explore-grid {+ grid-template-columns: repeat(2, minmax(0, 1fr));+ gap: var(--space-sm);+ }+}+/* ─────────────────────────────────────────────────────────────────────────Embed modal — shared by /discover + Search tab─────────────────────────────────────────────────────────────────────── */