Skip to content

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.

feat: add base style comment to index.html

nirholas92f776d784c0
diff --git a/README.md b/README.md
index d0e834df0..83acc1aa6 100644
--- a/README.md
+++ b/README.md
@@ -89,7 +89,12 @@ npm run claude -- [COMMAND]
| Command | Description |
| --- | --- |
-| `install-sdk` | Installs and builds the `@pump-fun/agent-payments-sdk`. This is a quick way to get your local environment set up with the necessary SDKs. |
+| `install-sdk` | Installs and builds the `@pump-fun/agent-payments-sdk`. |
+| `validate-cards` | Validates the agent definition cards in `src/agents/`. |
+| `db-migrate` | Applies database migrations from `scripts/migrations/`. |
+| `db-status` | Checks the status of database migrations. |
+| `pump-smoke-test` | Runs a smoke test for the pump.fun integration. |
+| `seed-skills` | Seeds the skills from the `skills-manifest.js` file. |
| `help` | Shows the help message, listing all available commands. |
---
diff --git a/blog/how-to-embed-3d-onchain-agents.html b/blog/how-to-embed-3d-onchain-agents.html
new file mode 100644
index 000000000..6be385330
--- /dev/null
+++ b/blog/how-to-embed-3d-onchain-agents.html
@@ -0,0 +1,35 @@
+
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <title>How to Embed 3D On-Chain Agents on Your Site</title>
+ <meta name="description" content="A simple guide to embedding 3D on-chain agents on your website.">
+ <meta name="keywords" content="3D agents, on-chain agents, embedding, web3, blockchain">
+ <link rel="stylesheet" href="/style.css">
+</head>
+<body>
+ <header>
+ <h1>How to Embed 3D On-Chain Agents on Your Site</h1>
+ </header>
+ <main>
+ <article>
+ <h2>Introduction</h2>
+ <p>Embedding 3D on-chain agents on your website can create a more engaging and interactive experience for your users. This guide will walk you through the process step by step.</p>
+
+ <h2>Step 1: Get Your Agent's Embed Code</h2>
+ <p>First, you'll need to get the embed code for your 3D on-chain agent. You can usually find this on the agent's profile page.</p>
+
+ <h2>Step 2: Add the Embed Code to Your HTML</h2>
+ <p>Next, you'll need to add the embed code to your website's HTML. This is as simple as copying and pasting the code into the desired location in your HTML file.</p>
+
+ <h2>Step 3: Customize the Appearance</h2>
+ <p>Finally, you can customize the appearance of your embedded agent using CSS. You can change the size, position, and more to match your website's design.</p>
+ </article>
+ </main>
+ <footer>
+ <p>&copy; 2026 3D-Agent</p>
+ </footer>
+</body>
+</html>
diff --git a/claude.sh b/claude.sh
index 6c57a8dbe..ae640b881 100644
--- a/claude.sh
+++ b/claude.sh
@@ -11,8 +11,13 @@ set -e
# Usage: ./claude.sh [COMMAND]
#
# Commands:
-# install-sdk Install and build the local agent SDKs.
-# help Show this help message.
+# install-sdk Install and build the local agent SDKs.
+# validate-cards Validate the agent cards.
+# db-migrate Apply database migrations.
+# db-status Check the status of database migrations.
+# pump-smoke-test Run the pump.fun smoke test.
+# seed-skills Seed the skills from the manifest.
+# help Show this help message.
# ---
# --- Configuration ---
@@ -43,6 +48,45 @@ function install_sdk() {
print_success "Agent SDK installed and built."
}
+# Validate the agent cards
+function validate_cards() {
+ print_header "Validating Agent Cards"
+ cd "$ROOT_DIR"
+ npm run validate:cards
+ print_success "Agent cards validated."
+}
+
+# Apply database migrations
+function db_migrate() {
+ print_header "Applying Database Migrations"
+ cd "$ROOT_DIR"
+ npm run db:migrate
+ print_success "Database migrations applied."
+}
+
+# Check the status of database migrations
+function db_status() {
+ print_header "Checking Database Migration Status"
+ cd "$ROOT_DIR"
+ npm run db:status
+}
+
+# Run the pump.fun smoke test
+function pump_smoke_test() {
+ print_header "Running Pump.fun Smoke Test"
+ cd "$ROOT_DIR"
+ npm run pump:smoke
+ print_success "Pump.fun smoke test completed."
+}
+
+# Seed the skills from the manifest
+function seed_skills() {
+ print_header "Seeding Skills"
+ cd "$ROOT_DIR"
+ npm run seed:skills
+ print_success "Skills seeded."
+}
+
# Show the help message
function help() {
# Extract the help text from the script's header comments
@@ -62,6 +106,21 @@ function main() {
install-sdk)
install_sdk
;;
+ validate-cards)
+ validate_cards
+ ;;
+ db-migrate)
+ db_migrate
+ ;;
+ db-status)
+ db_status
+ ;;
+ pump-smoke-test)
+ pump_smoke_test
+ ;;
+ seed-skills)
+ seed_skills
+ ;;
help)
help
;;
diff --git a/index.html b/index.html
index e7ed3e68b..cc170798a 100644
--- a/index.html
+++ b/index.html
@@ -805,8 +805,12 @@
href="/app"
class="btn-ghost"
title="No sign-in needed — drop a GLB and play"
- >Try the viewer →</a
- >
+ >Try the viewer →</a>
+ <a
+ href="/pump-3d-agent.html"
+ class="btn-ghost"
+ title="3D Agent on Pump.fun"
+ >Pump.fun 3D Agent →</a>
</div>
<p class="hero-signin-hint scroll-reveal" id="hero-signin-hint">
Already have an account?
diff --git a/public/pumpfun.html b/public/pumpfun.html
index b864caf78..da01e2bf5 100644
--- a/public/pumpfun.html
+++ b/public/pumpfun.html
@@ -823,7 +823,8 @@
if (!confirm('URL does not end in .glb / .gltf / .vrm. Try anyway?')) return;
}
picker.customUrl.value = '';
- const name = parsed.pathname.split('/').pop() || 'Custom';
+ const filename = parsed.pathname.split('/').pop();
+ const name = filename ? filename.replace(/\.(glb|gltf|vrm)$/i, '') : 'Custom';
selectAvatar({ url: parsed.href, name, sub: shortenUrl(parsed.href) });
}
diff --git a/public/reputation/index.html b/public/reputation/index.html
index 2c81d2b44..a1347e177 100644
--- a/public/reputation/index.html
+++ b/public/reputation/index.html
@@ -26,6 +26,7 @@
></script>
<style>
+ /* ── Base ── */
body {
background: #0a0a0a;
color: #e5e5e5;
@@ -37,294 +38,288 @@
}
.rep-page-wrap {
- max-width: 800px;
+ max-width: 820px;
margin: 0 auto;
padding: 2rem 1.5rem 4rem;
min-height: 60vh;
}
- .rep-breadcrumb {
- display: flex;
- align-items: center;
- gap: 0.5rem;
- font-size: 0.8125rem;
- color: rgba(229, 229, 229, 0.45);
- margin-bottom: 2rem;
- }
-
- .rep-breadcrumb a {
- color: rgba(229, 229, 229, 0.45);
- text-decoration: none;
- }
-
- .rep-breadcrumb a:hover {
- color: rgba(229, 229, 229, 0.8);
- }
-
- .rep-breadcrumb-sep {
- opacity: 0.4;
- }
-
h1, h2, h3 {
font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
font-weight: 600;
letter-spacing: -0.5px;
}
-
h1 { font-size: 2rem; }
h3 { font-size: 1.125rem; margin: 1.5rem 0 1rem; }
-
a { color: #a78bfa; text-decoration: none; }
a:hover { color: #c4b5fd; }
- /* ── Agent header ── */
+ /* ── Breadcrumb ── */
+ .rep-breadcrumb {
+ display: flex;
+ align-items: center;
+ gap: 0.5rem;
+ font-size: 0.8125rem;
+ color: rgba(229,229,229,0.45);
+ margin-bottom: 1.75rem;
+ }
+ .rep-breadcrumb a { color: rgba(229,229,229,0.45); }
+ .rep-breadcrumb a:hover { color: rgba(229,229,229,0.8); }
+ .rep-breadcrumb-sep { opacity: 0.4; }
+
+ /* ── Header ── */
.rep-header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 1rem;
- margin-bottom: 2rem;
+ margin-bottom: 1.75rem;
padding-bottom: 1.5rem;
- border-bottom: 1px solid rgba(255, 255, 255, 0.06);
+ border-bottom: 1px solid rgba(255,255,255,0.06);
}
-
.rep-header-left { flex: 1 1 auto; }
- .rep-header h1 { margin: 0 0 0.5rem 0; }
+ .rep-header h1 { margin: 0 0 0.375rem 0; }
+ .rep-header-meta { color: rgba(229,229,229,0.55); font-size: 0.875rem; }
- .rep-header-meta {
- color: rgba(229, 229, 229, 0.6);
- font-size: 0.875rem;
+ .rep-header-actions {
+ display: flex;
+ gap: 0.5rem;
+ flex-shrink: 0;
+ align-items: flex-start;
}
- .rep-share-btn {
- flex-shrink: 0;
+ .rep-action-btn {
display: inline-flex;
align-items: center;
- gap: 0.4rem;
- padding: 0.5rem 0.875rem;
- background: rgba(255, 255, 255, 0.06);
- border: 1px solid rgba(255, 255, 255, 0.12);
+ gap: 0.375rem;
+ padding: 0.45rem 0.85rem;
+ background: rgba(255,255,255,0.06);
+ border: 1px solid rgba(255,255,255,0.12);
border-radius: 6px;
- color: rgba(229, 229, 229, 0.7);
+ color: rgba(229,229,229,0.7);
font-size: 0.8125rem;
font-weight: 500;
cursor: pointer;
transition: all 0.15s;
font-family: inherit;
+ text-decoration: none;
+ white-space: nowrap;
}
-
- .rep-share-btn:hover {
- background: rgba(255, 255, 255, 0.1);
- color: #e5e5e5;
- border-color: rgba(255, 255, 255, 0.2);
- }
-
- .rep-share-btn.copied {
- background: rgba(100, 200, 100, 0.1);
- border-color: rgba(100, 200, 100, 0.3);
- color: #86efac;
- }
+ .rep-action-btn:hover { background: rgba(255,255,255,0.1); color: #e5e5e5; border-color: rgba(255,255,255,0.2); }
+ .rep-action-btn.copied { background: rgba(100,200,100,0.1); border-color: rgba(100,200,100,0.3); color: #86efac; }
+ .rep-tweet-btn:hover { background: rgba(255,255,255,0.08); color: #e5e5e5; }
/* ── Stats ── */
.rep-stats {
display: grid;
- grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
- gap: 1rem;
+ grid-template-columns: repeat(3, 1fr);
+ gap: 1px;
margin-bottom: 2rem;
- padding: 1.5rem;
- background: rgba(139, 92, 246, 0.04);
- border: 1px solid rgba(139, 92, 246, 0.1);
- border-radius: 8px;
+ background: rgba(255,255,255,0.06);
+ border: 1px solid rgba(139,92,246,0.12);
+ border-radius: 10px;
+ overflow: hidden;
+ }
+ .rep-stat {
+ display: flex;
+ flex-direction: column;
+ gap: 0.35rem;
+ padding: 1.25rem 1.5rem;
+ background: rgba(139,92,246,0.03);
}
-
- .rep-stat { display: flex; flex-direction: column; gap: 0.5rem; }
-
.rep-stat-label {
- font-size: 0.75rem;
+ font-size: 0.6875rem;
text-transform: uppercase;
- letter-spacing: 1px;
- color: rgba(229, 229, 229, 0.5);
- font-weight: 600;
+ letter-spacing: 1.2px;
+ color: rgba(229,229,229,0.45);
+ font-weight: 700;
}
-
.rep-stat-value {
- font-size: 1.75rem;
+ font-size: 2rem;
font-weight: 700;
color: #e5e5e5;
font-family: 'Space Grotesk', monospace;
+ line-height: 1;
}
+ .rep-stat-denom { font-size: 1rem; font-weight: 400; opacity: 0.5; }
+ .rep-stat-sub { font-size: 0.75rem; color: rgba(229,229,229,0.4); margin-top: 0.1rem; }
+ .rep-stars-stat { margin-top: 0.25rem; }
- .rep-stat-value.positive { color: #86efac; }
- .rep-stat-value.negative { color: #fca5a5; }
-
- /* ── Score bar ── */
- .rep-score-bar {
- height: 4px;
- border-radius: 2px;
+ /* ── Score meter ── */
+ .rep-score-meter {
+ height: 5px;
+ border-radius: 3px;
background: rgba(255,255,255,0.08);
overflow: hidden;
margin-top: 0.5rem;
}
-
- .rep-score-fill {
+ .rep-score-meter-fill {
height: 100%;
- border-radius: 2px;
- transition: width 0.6s ease;
+ border-radius: 3px;
+ transition: width 0.8s cubic-bezier(0.4,0,0.2,1);
}
- /* ── Reviews ── */
- .rep-reviews { margin-bottom: 2rem; }
+ /* ── Stars SVG ── */
+ .rep-stars-row { display: inline-flex; gap: 2px; vertical-align: middle; }
+ .rep-star path { fill: currentColor; }
+ .rep-star.filled { color: #fbbf24; }
+ .rep-star.empty { color: rgba(255,255,255,0.12); }
- .rep-reviews h3 {
+ /* ── Filter tabs ── */
+ .rep-filter-tabs {
+ display: flex;
+ gap: 0.25rem;
+ margin-bottom: 1.25rem;
+ border-bottom: 1px solid rgba(255,255,255,0.06);
+ padding-bottom: 0;
+ }
+ .rep-tab {
+ padding: 0.5rem 1rem;
+ background: none;
+ border: none;
+ border-bottom: 2px solid transparent;
+ color: rgba(229,229,229,0.5);
+ font-size: 0.875rem;
+ font-weight: 500;
+ cursor: pointer;
+ transition: all 0.15s;
+ font-family: inherit;
+ margin-bottom: -1px;
display: flex;
align-items: center;
- justify-content: space-between;
- }
-
- .rep-review-count {
- font-size: 0.8125rem;
- font-weight: 400;
- color: rgba(229, 229, 229, 0.45);
- font-family: 'Inter', sans-serif;
+ gap: 0.4rem;
}
-
- .rep-empty {
- text-align: center;
- color: rgba(229, 229, 229, 0.5);
- padding: 2rem 1rem;
+ .rep-tab:hover { color: rgba(229,229,229,0.85); }
+ .rep-tab.active { color: #e5e5e5; border-bottom-color: #8b5cf6; }
+ .rep-tab-count {
+ font-size: 0.75rem;
+ background: rgba(255,255,255,0.08);
+ border-radius: 20px;
+ padding: 0.05rem 0.45rem;
+ font-weight: 600;
}
+ .rep-tab.active .rep-tab-count { background: rgba(139,92,246,0.25); color: #c4b5fd; }
- .rep-review-list { display: flex; flex-direction: column; gap: 1rem; }
+ /* ── Reviews ── */
+ .rep-reviews { margin-bottom: 2rem; }
+ .rep-review-list { display: flex; flex-direction: column; gap: 0.75rem; }
+ .rep-empty { text-align: center; color: rgba(229,229,229,0.45); padding: 2.5rem 1rem; font-size: 0.9375rem; }
.rep-review-item {
- padding: 1rem;
- background: rgba(255, 255, 255, 0.02);
- border: 1px solid rgba(255, 255, 255, 0.06);
- border-radius: 6px;
+ padding: 1rem 1.125rem;
+ background: rgba(255,255,255,0.02);
+ border: 1px solid rgba(255,255,255,0.06);
+ border-radius: 8px;
transition: background 0.15s, border-color 0.15s;
}
-
- .rep-review-item:hover {
- background: rgba(255, 255, 255, 0.04);
- border-color: rgba(255, 255, 255, 0.12);
- }
+ .rep-review-item:hover { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
.rep-review-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0.5rem;
- gap: 1rem;
+ gap: 0.75rem;
}
-
+ .rep-reviewer-info { display: flex; align-items: center; gap: 0.625rem; min-width: 0; }
.rep-reviewer {
- font-weight: 500;
font-size: 0.875rem;
- color: rgba(229, 229, 229, 0.7);
- font-family: 'Courier New', monospace;
- }
-
- .rep-score-badge {
- display: inline-flex;
- align-items: center;
- padding: 0.2rem 0.6rem;
- border-radius: 20px;
- font-size: 0.8125rem;
- font-weight: 700;
- font-family: 'Space Grotesk', monospace;
- }
-
- .rep-score-badge.pos {
- background: rgba(134, 239, 172, 0.12);
- color: #86efac;
- border: 1px solid rgba(134, 239, 172, 0.2);
- }
-
- .rep-score-badge.neg {
- background: rgba(252, 165, 165, 0.12);
- color: #fca5a5;
- border: 1px solid rgba(252, 165, 165, 0.2);
- }
-
- .rep-score-badge.neu {
- background: rgba(255, 255, 255, 0.06);
- color: rgba(229, 229, 229, 0.5);
- border: 1px solid rgba(255, 255, 255, 0.08);
+ font-weight: 500;
+ color: rgba(229,229,229,0.7);
+ font-family: 'JetBrains Mono', 'Courier New', monospace;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
}
+ .rep-review-right { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
+ .rep-score-num { font-size: 0.75rem; color: rgba(229,229,229,0.35); font-family: 'Space Grotesk', monospace; }
.rep-comment {
- margin: 0.75rem 0;
- color: rgba(229, 229, 229, 0.8);
- font-size: 0.9375rem;
- line-height: 1.6;
+ margin: 0.625rem 0;
+ color: rgba(229,229,229,0.8);
+ font-size: 0.9rem;
+ line-height: 1.65;
word-wrap: break-word;
white-space: pre-wrap;
}
-
.rep-review-footer {
display: flex;
gap: 0.75rem;
align-items: center;
font-size: 0.75rem;
- color: rgba(229, 229, 229, 0.35);
+ color: rgba(229,229,229,0.3);
+ margin-top: 0.5rem;
}
+ .rep-review-footer a { color: rgba(167,139,250,0.7); }
+ .rep-review-footer a:hover { color: #a78bfa; }
- .rep-review-footer a { color: #a78bfa; }
+ /* ── Identicon ── */
+ .rep-identicon {
+ width: 28px;
+ height: 28px;
+ border-radius: 50%;
+ background: hsl(var(--hue, 200), 50%, 35%);
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ font-size: 0.625rem;
+ font-weight: 700;
+ color: rgba(255,255,255,0.9);
+ flex-shrink: 0;
+ letter-spacing: 0;
+ font-family: 'Space Grotesk', monospace;
+ }
/* ── Submit form ── */
.rep-submit-form {
margin-top: 2.5rem;
padding: 1.5rem;
- background: rgba(139, 92, 246, 0.04);
- border: 1px solid rgba(139, 92, 246, 0.1);
- border-radius: 8px;
+ background: rgba(139,92,246,0.04);
+ border: 1px solid rgba(139,92,246,0.1);
+ border-radius: 10px;
}
+ .rep-submit-form h3 { margin-top: 0; }
.rep-form-group { margin-bottom: 1.5rem; }
-
.rep-form-group label {
display: block;
margin-bottom: 0.5rem;
font-weight: 500;
font-size: 0.875rem;
}
+ .rep-optional { font-weight: 400; color: rgba(229,229,229,0.4); font-size: 0.8125rem; }
- .rep-rating-hint {
- font-size: 0.75rem;
- color: rgba(229, 229, 229, 0.45);
- margin-bottom: 0.5rem;
- }
-
- .rep-stars-input {
+ /* ── Star picker ── */
+ .rep-star-picker {
display: flex;
- gap: 0.5rem;
- margin-bottom: 0.5rem;
+ gap: 0.625rem;
flex-wrap: wrap;
}
-
- .rep-star-btn {
- background: rgba(255, 255, 255, 0.08);
- border: 1px solid rgba(255, 255, 255, 0.12);
- color: rgba(229, 229, 229, 0.6);
- font-size: 0.75rem;
- padding: 0.5rem 0.75rem;
- border-radius: 6px;
+ .rep-star-pick {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ gap: 0.375rem;
+ padding: 0.75rem 1rem;
+ background: rgba(255,255,255,0.04);
+ border: 1px solid rgba(255,255,255,0.1);
+ border-radius: 8px;
cursor: pointer;
transition: all 0.15s;
- font-weight: 600;
- font-family: 'Space Grotesk', monospace;
+ font-family: inherit;
+ flex: 1 1 80px;
+ min-width: 0;
}
-
- .rep-star-btn:hover { background: rgba(139, 92, 246, 0.15); color: #c4b5fd; border-color: rgba(139, 92, 246, 0.3); }
- .rep-star-btn.selected { background: rgba(139, 92, 246, 0.2); color: #c4b5fd; border-color: rgba(139, 92, 246, 0.5); }
- .rep-star-btn[data-value^="-"]:hover { background: rgba(252, 165, 165, 0.1); color: #fca5a5; border-color: rgba(252, 165, 165, 0.3); }
- .rep-star-btn[data-value^="-"].selected { background: rgba(252, 165, 165, 0.12); color: #fca5a5; border-color: rgba(252, 165, 165, 0.4); }
+ .rep-star-pick:hover { background: rgba(251,191,36,0.07); border-color: rgba(251,191,36,0.25); }
+ .rep-star-pick.selected { background: rgba(251,191,36,0.1); border-color: rgba(251,191,36,0.4); }
+ .rep-star-label { font-size: 0.6875rem; color: rgba(229,229,229,0.5); font-weight: 500; white-space: nowrap; }
+ .rep-star-pick.selected .rep-star-label { color: #fbbf24; }
textarea {
width: 100%;
padding: 0.75rem;
- background: rgba(255, 255, 255, 0.05);
- border: 1px solid rgba(255, 255, 255, 0.12);
+ background: rgba(255,255,255,0.05);
+ border: 1px solid rgba(255,255,255,0.12);
border-radius: 6px;
color: #e5e5e5;
font-family: 'Inter', sans-serif;
@@ -332,19 +327,9 @@
line-height: 1.5;
resize: vertical;
}
+ textarea:focus { outline: none; background: rgba(255,255,255,0.08); border-color: rgba(139,92,246,0.35); }
- textarea:focus {
- outline: none;
- background: rgba(255, 255, 255, 0.08);
- border-color: rgba(139, 92, 246, 0.3);
- }
-
- small {
- display: block;
- margin-top: 0.25rem;
- color: rgba(229, 229, 229, 0.5);
- font-size: 0.75rem;
- }
+ small { display: block; margin-top: 0.25rem; color: rgba(229,229,229,0.4); font-size: 0.75rem; }
.rep-submit-btn {
width: 100%;
@@ -359,33 +344,39 @@
transition: all 0.15s;
font-family: inherit;
}
-
.rep-submit-btn:hover:not(:disabled) { background: #7c3aed; }
- .rep-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
-
- .rep-form-hint {
- text-align: center;
- color: rgba(229, 229, 229, 0.5);
- }
+ .rep-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }
+ .rep-form-hint { text-align: center; color: rgba(229,229,229,0.5); }
#rep-rating { display: none; }
- /* ── States ── */
+ .rep-wallet-connected {
+ display: flex;
+ align-items: center;
+ gap: 0.625rem;
+ font-size: 0.875rem;
+ color: rgba(229,229,229,0.7);
+ margin-bottom: 1.25rem;
+ padding: 0.625rem 0.875rem;
+ background: rgba(255,255,255,0.03);
+ border: 1px solid rgba(255,255,255,0.08);
+ border-radius: 6px;
+ }
+
+ /* ── Feedback boxes ── */
.rep-error {
- padding: 2rem;
- text-align: center;
- background: rgba(255, 80, 80, 0.06);
- border: 1px solid rgba(255, 80, 80, 0.2);
+ padding: 1.25rem 1.5rem;
+ background: rgba(255,80,80,0.06);
+ border: 1px solid rgba(255,80,80,0.2);
border-radius: 8px;
}
-
- .rep-error h3 { margin: 0 0 0.5rem 0; color: rgba(255, 200, 200, 0.9); }
- .rep-error p { color: rgba(255, 150, 150, 0.8); margin: 0 0 1rem 0; }
-
+ .rep-error h3 { margin: 0 0 0.5rem 0; color: rgba(255,200,200,0.9); }
+ .rep-error p { color: rgba(255,150,150,0.85); margin: 0; }
.rep-error button {
- padding: 0.5rem 1.5rem;
- background: rgba(255, 100, 100, 0.2);
- border: 1px solid rgba(255, 100, 100, 0.3);
+ margin-top: 1rem;
+ padding: 0.5rem 1.25rem;
+ background: rgba(255,100,100,0.15);
+ border: 1px solid rgba(255,100,100,0.3);
color: #ffc8c8;
border-radius: 4px;
cursor: pointer;
@@ -394,32 +385,34 @@
}
.rep-success {
- padding: 1rem;
- background: rgba(100, 200, 100, 0.1);
- border: 1px solid rgba(100, 200, 100, 0.3);
+ display: flex;
+ align-items: center;
+ gap: 0.75rem;
+ padding: 1rem 1.25rem;
+ background: rgba(100,200,100,0.08);
+ border: 1px solid rgba(100,200,100,0.25);
border-radius: 8px;
color: #86efac;
+ font-size: 0.9375rem;
}
+ .rep-success a { color: #86efac; text-decoration: underline; text-underline-offset: 2px; }
- .rep-loading {
- text-align: center;
- padding: 3rem;
- color: rgba(229, 229, 229, 0.5);
+ .rep-info-box {
+ padding: 0.75rem 1rem;
+ background: rgba(255,255,255,0.04);
+ border: 1px solid rgba(255,255,255,0.1);
+ border-radius: 6px;
+ font-size: 0.875rem;
+ color: rgba(229,229,229,0.6);
}
- .spinner {
- display: inline-block;
- width: 20px;
- height: 20px;
- border: 2px solid rgba(139, 92, 246, 0.3);
- border-top-color: #8b5cf6;
- border-radius: 50%;
- animation: spin 0.8s linear infinite;
- margin-bottom: 0.75rem;
+ .rep-unsupported-chain {
+ padding: 2rem;
+ background: rgba(255,200,50,0.05);
+ border: 1px solid rgba(255,200,50,0.15);
+ border-radius: 8px;
}
- @keyframes spin { to { transform: rotate(360deg); } }
-
/* ── Lookup form ── */
.rep-lookup-wrap {
display: flex;
@@ -428,30 +421,24 @@
padding: 3rem 0 2rem;
text-align: center;
}
-
.rep-lookup-wrap h1 { margin-bottom: 0.5rem; }
- .rep-lookup-wrap .rep-lookup-sub {
- color: rgba(229, 229, 229, 0.55);
- font-size: 0.9375rem;
- margin-bottom: 2rem;
- }
+ .rep-lookup-sub { color: rgba(229,229,229,0.5); font-size: 0.9375rem; margin-bottom: 2rem; }
.rep-lookup-form {
width: 100%;
max-width: 420px;
padding: 2rem;
- background: rgba(139, 92, 246, 0.04);
- border: 1px solid rgba(139, 92, 246, 0.12);
+ background: rgba(139,92,246,0.04);
+ border: 1px solid rgba(139,92,246,0.12);
border-radius: 10px;
text-align: left;
}
-
.rep-lookup-form select,
.rep-lookup-form input[type="number"] {
width: 100%;
padding: 0.75rem;
- background: rgba(255, 255, 255, 0.05);
- border: 1px solid rgba(255, 255, 255, 0.12);
+ background: rgba(255,255,255,0.05);
+ border: 1px solid rgba(255,255,255,0.12);
border-radius: 6px;
color: #e5e5e5;
font-family: 'Inter', sans-serif;
@@ -459,44 +446,76 @@
appearance: none;
-webkit-appearance: none;
}
-
- .rep-lookup-form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='rgba(229,229,229,0.4)' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; padding-right: 2rem; }
-
+ .rep-lookup-form select {
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='rgba(229,229,229,0.4)' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
+ background-repeat: no-repeat;
+ background-position: right 0.75rem center;
+ padding-right: 2rem;
+ }
.rep-lookup-form select:focus,
.rep-lookup-form input[type="number"]:focus {
outline: none;
- background-color: rgba(255, 255, 255, 0.08);
- border-color: rgba(139, 92, 246, 0.4);
+ background-color: rgba(255,255,255,0.08);
+ border-color: rgba(139,92,246,0.4);
}
+ .rep-lookup-form label { color: rgba(229,229,229,0.7); display: block; margin-bottom: 0.5rem; font-weight: 500; font-size: 0.875rem; }
- .rep-lookup-form .rep-form-group label {
- color: rgba(229, 229, 229, 0.7);
+ /* ── Skeleton ── */
+ @keyframes shimmer {
+ 0% { background-position: -400px 0; }
+ 100% { background-position: 400px 0; }
}
+ .rep-skel {
+ background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
+ background-size: 800px 100%;
+ animation: shimmer 1.4s infinite linear;
+ border-radius: 4px;
+ }
+ .rep-skel-header { margin-bottom: 1.75rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
+ .rep-skel-title { height: 2.2rem; width: 55%; border-radius: 6px; margin-bottom: 0.625rem; }
+ .rep-skel-meta { height: 0.875rem; width: 30%; border-radius: 4px; }
- /* ── Unsupported chain ── */
- .rep-unsupported-chain {
- padding: 2rem;
- background: rgba(255, 200, 50, 0.06);
- border: 1px solid rgba(255, 200, 50, 0.15);
+ .rep-skel-stats {
+ display: grid;
+ grid-template-columns: repeat(3, 1fr);
+ gap: 1px;
+ margin-bottom: 2rem;
+ border: 1px solid rgba(255,255,255,0.06);
+ border-radius: 10px;
+ overflow: hidden;
+ }
+ .rep-skel-stat { padding: 1.25rem 1.5rem; background: rgba(139,92,246,0.03); }
+ .rep-skel-stat-val { height: 2rem; width: 60%; border-radius: 5px; margin-bottom: 0.5rem; }
+ .rep-skel-stat-lbl { height: 0.625rem; width: 80%; border-radius: 3px; }
+
+ .rep-skel-reviews { display: flex; flex-direction: column; gap: 0.75rem; }
+ .rep-skeleton-card {
+ padding: 1rem 1.125rem;
+ border: 1px solid rgba(255,255,255,0.06);
border-radius: 8px;
+ display: flex;
+ flex-direction: column;
+ gap: 0.625rem;
}
+ .rep-skel-row { display: flex; align-items: center; gap: 0.625rem; }
+ .rep-skel-avatar { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; }
+ .rep-skel-name { height: 0.875rem; width: 140px; border-radius: 4px; }
+ .rep-skel-badge { height: 1.25rem; width: 60px; border-radius: 20px; margin-left: auto; }
+ .rep-skel-line { height: 0.8125rem; border-radius: 4px; }
/* ── Responsive ── */
@media (max-width: 640px) {
- .rep-page-wrap { padding: 1.5rem 1rem 3rem; }
-
- .rep-stats {
- grid-template-columns: repeat(3, 1fr);
- gap: 0.75rem;
- padding: 1rem;
- }
-
- .rep-stat-value { font-size: 1.25rem; }
-
+ .rep-page-wrap { padding: 1.25rem 1rem 3rem; }
+ .rep-stats { grid-template-columns: 1fr 1fr; }
+ .rep-stat:last-child { grid-column: span 2; }
+ .rep-stat { padding: 1rem; }
+ .rep-stat-value { font-size: 1.5rem; }
.rep-header { flex-direction: column; gap: 0.75rem; }
- .rep-share-btn { align-self: flex-start; }
-
- .rep-review-header { flex-direction: column; align-items: flex-start; }
+ .rep-header-actions { align-self: flex-start; }
+ .rep-review-header { flex-wrap: wrap; }
+ .rep-star-picker { gap: 0.375rem; }
+ .rep-star-pick { padding: 0.625rem 0.625rem; flex: 1 1 60px; }
+ .rep-star-label { display: none; }
}
</style>
</head>
diff --git a/public/widgets-gallery/index.html b/public/widgets-gallery/index.html
index 5a9eb72bc..e897060c5 100644
--- a/public/widgets-gallery/index.html
+++ b/public/widgets-gallery/index.html
@@ -19,6 +19,7 @@
content="Embeddable 3D, no code. Drop a widget into any site, blog, or Notion doc."
/>
<meta property="og:url" content="https://three.ws/widgets" />
+ <meta property="og:image" content="https://three.ws/og-image.png" />
<link rel="canonical" href="https://three.ws/widgets" />
<link rel="shortcut icon" href="/favicon.ico" />
@@ -38,9 +39,14 @@
<h1>
<a href="/"><img src="/three.svg" alt="three.ws" class="wordmark-logo" /></a>
</h1>
- <div id="nav-container"></div>
- </header>
- <script src="/nav.js"></script>
+ <nav class="features-nav" aria-label="Primary">
+ <a href="/create">Create</a>
+ <a href="/discover">Discover</a>
+ <a href="/studio">Studio</a>
+ <a href="/widgets" aria-current="page" class="active">Widgets</a>
+ <a href="/docs">Docs</a>
+ <a href="/features">Features</a>
+ </nav>
</header>
<main class="gallery-main" id="gallery-main">
@@ -110,9 +116,8 @@
<nav class="h-footer-links" aria-label="Footer">
<a href="https://github.com/nirholas/three.ws" target="_blank" rel="noopener">GitHub</a>
<a href="/create">Create</a>
- <a href="/docs">Docs</a>
<a href="/studio">Studio</a>
- <a href="/widgets">Widgets</a>
+ <a href="/widgets" aria-current="page">Widgets</a>
<a href="/features">Features</a>
<a href="/discover">Discover</a>
<a href="/showcase">Showcase</a>
diff --git a/pump-3d-agent.html b/pump-3d-agent.html
new file mode 100644
index 000000000..d9cf0ef3e
--- /dev/null
+++ b/pump-3d-agent.html
@@ -0,0 +1,133 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="UTF-8">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>🟢</text></svg>">
+<title>3D-Agent · PumpFun Live</title>
+<meta name="description" content="Real-time stream of new PumpFun token launches on Solana — embedded in 3D-Agent.">
+<link rel="canonical" href="/pump-live.html">
+<style>
+ * { margin: 0; padding: 0; box-sizing: border-box; }
+ body {
+ background: #0a0a0a;
+ color: #00ff41;
+ font-family: 'Courier New', monospace;
+ font-size: 13px;
+ line-height: 1.5;
+ padding: 0;
+ }
+
+ #stage {
+ position: fixed;
+ top: 60px;
+ right: 20px;
+ width: 300px;
+ height: 300px;
+ border: 1px solid #222;
+ z-index: 20;
+ }
+
+ /* ── Header ────────────────────────────────────────── */
+ #header {
+ background: #111;
+ border-bottom: 1px solid #222;
+ padding: 12px 20px;
+ display: flex;
+ align-items: center;
+ gap: 16px;
+ flex-wrap: wrap;
+ position: sticky;
+ top: 0;
+ z-index: 10;
+ }
+ #header h1 {
+ font-size: 16px;
+ color: #00ff41;
+ white-space: nowrap;
+ }
+ #header .status {
+ font-size: 12px;
+ color: #666;
+ }
+ #header .status.connected { color: #00ff41; }
+ #header .status.error { color: #ff4141; }
+
+ /* ── Log area ──────────────────────────────────────── */
+ #log {
+ padding: 12px 20px;
+ max-height: calc(100vh - 60px);
+ overflow-y: auto;
+ }
+ .entry {
+ border-bottom: 1px solid #111;
+ padding: 8px 0;
+ animation: fadeIn 0.3s ease;
+ }
+ @keyframes fadeIn {
+ from { opacity: 0; transform: translateY(-4px); }
+ to { opacity: 1; transform: translateY(0); }
+ }
+</style>
+</head>
+<body>
+
+<div id="header">
+ <h1>PumpFun Live</h1>
+ <div class="status">Connecting...</div>
+</div>
+
+<div id="log"></div>
+
+<div id="stage"></div>
+
+<script type="module">
+ import { Viewer } from '/src/viewer.js';
+ import { AgentIdentity } from '/src/agent-identity.js';
+ import { AgentAvatar } from '/src/agent-avatar.js';
+ import { protocol } from '/src/agent-protocol.js';
+
+ const agentId = 'agent-test-ad415d18';
+
+ try {
+ const identity = new AgentIdentity({ agentId, autoLoad: true });
+ await identity.load();
+
+ if (!identity.avatarId) {
+ console.error('Agent has no avatar body');
+ return;
+ }
+
+ const resp = await fetch(`/api/avatars/${identity.avatarId}`);
+ if (!resp.ok) {
+ console.error(`Failed to fetch avatar: ${resp.status}`);
+ return;
+ }
+
+ const { avatar } = await resp.json();
+ const glbUrl = avatar?.url;
+
+ if (!glbUrl) {
+ console.error('No avatar URL found');
+ return;
+ }
+
+ const stage = document.getElementById('stage');
+ const viewer = new Viewer(stage, { kiosk: true });
+ viewer.renderer?.setClearAlpha(0);
+ if (viewer.scene) viewer.scene.background = null;
+ await viewer.load(glbUrl, '', new Map());
+
+ const avatarCtl = new AgentAvatar(viewer, protocol, identity);
+ avatarCtl.attach();
+ } catch (err) {
+ console.error('Failed to load 3D agent:', err);
+ const stage = document.getElementById('stage');
+ stage.innerHTML = `<div style="color: #ff4141; padding: 10px;">Failed to load agent. See console for details.</div>`;
+ }
+</script>
+
+<script type="module" src="/src/pump-live-client.js"></script>
+
+</body>
+</html>
diff --git a/src/app.js b/src/app.js
index fc8b3a9ae..4f64e12ac 100644
--- a/src/app.js
+++ b/src/app.js
@@ -19,6 +19,7 @@ import { mountKolTradesWidget } from './widgets/kol-trades.js';
import { mountLiveTradesCanvas } from './widgets/live-trades-canvas.js';
import { mountPassport } from './widgets/passport.js';
import queryString from 'query-string';
+import { ScreenshotModal } from './components/screenshot-modal.js';
// Agent system — the new primitive layer
import { protocol, ACTION_TYPES } from './agent-protocol.js';
@@ -204,6 +205,7 @@ class App {
this._setupSaveToAccount();
this._setupMakeWidgetButton();
this._setupScreenshotButton();
+ this.screenshotModal = new ScreenshotModal(this.el);
const options = this.options;
@@ -656,10 +658,13 @@ class App {
_setupScreenshotButton() {
const btn = document.getElementById('screenshot-btn');
if (!btn) return;
- btn.addEventListener('click', (e) => {
+ btn.addEventListener('click', async (e) => {
e.preventDefault();
if (this.viewer) {
- this.viewer.takeScreenshot();
+ const blob = await this.viewer.captureScreenshot();
+ if (blob) {
+ this.screenshotModal.show(blob);
+ }
}
});
}
diff --git a/src/components/screenshot-modal.js b/src/components/screenshot-modal.js
new file mode 100644
index 000000000..916987908
--- /dev/null
+++ b/src/components/screenshot-modal.js
@@ -0,0 +1,93 @@
+export class ScreenshotModal {
+ constructor(container) {
+ this.container = container;
+ this.blob = null;
+ this.url = null;
+ this._build();
+ }
+
+ _build() {
+ this.el = document.createElement('div');
+ this.el.className = 'screenshot-modal-backdrop';
+ this.el.style.display = 'none';
+
+ this.el.innerHTML = `
+ <div class="screenshot-modal">
+ <div class="screenshot-modal-header">
+ <h3>Screenshot Captured</h3>
+ <button class="screenshot-modal-close" title="Close">&times;</button>
+ </div>
+ <div class="screenshot-modal-body">
+ <img src="" alt="Screenshot preview" />
+ </div>
+ <div class="screenshot-modal-footer">
+ <button class="btn-secondary screenshot-modal-copy">Copy</button>
+ <a href="https://x.com/intent/tweet?text=Check%20out%20my%203D%20Agent!&url=${encodeURIComponent(
+ window.location.href,
+ )}" target="_blank" class="btn-secondary screenshot-modal-share">Share on X</a>
+ <button class="btn-primary screenshot-modal-download">Download</button>
+ </div>
+ </div>
+ `;
+
+ this.container.appendChild(this.el);
+
+ this.previewImg = this.el.querySelector('img');
+ const copyBtn = this.el.querySelector('.screenshot-modal-copy');
+
+ this.el
+ .querySelector('.screenshot-modal-close')
+ .addEventListener('click', () => this.hide());
+ this.el
+ .querySelector('.screenshot-modal-download')
+ .addEventListener('click', () => this._download());
+ copyBtn.addEventListener('click', () => this._copy(copyBtn));
+
+ if (!navigator.clipboard || !navigator.clipboard.write) {
+ copyBtn.style.display = 'none';
+ }
+ }
+
+ show(blob) {
+ this.blob = blob;
+ this.url = URL.createObjectURL(blob);
+ this.previewImg.src = this.url;
+ this.el.style.display = '';
+ }
+
+ hide() {
+ if (this.url) {
+ URL.revokeObjectURL(this.url);
+ this.url = null;
+ }
+ this.blob = null;
+ this.el.style.display = 'none';
+ }
+
+ _download() {
+ if (!this.url) return;
+ const timestamp = new Date().toISOString().replace(/[:.]/g, '-').slice(0, 19);
+ const link = document.createElement('a');
+ link.download = `3d-agent-screenshot-${timestamp}.png`;
+ link.href = this.url;
+ link.click();
+ }
+
+ async _copy(btn) {
+ if (!this.blob) return;
+ const originalText = btn.textContent;
+ try {
+ await navigator.clipboard.write([new ClipboardItem({ 'image/png': this.blob })]);
+ btn.textContent = 'Copied!';
+ setTimeout(() => {
+ btn.textContent = originalText;
+ }, 2000);
+ } catch (e) {
+ console.error('Failed to copy image to clipboard:', e);
+ btn.textContent = 'Error!';
+ setTimeout(() => {
+ btn.textContent = originalText;
+ }, 2000);
+ }
+ }
+}
diff --git a/src/nich-agent.js b/src/nich-agent.js
index ef271a782..16d16af03 100644
--- a/src/nich-agent.js
+++ b/src/nich-agent.js
@@ -168,7 +168,7 @@ export class NichAgent {
`
: ''
}
- ${this.options.showPoweredBy ? '<a class="nich-powered-by" href="https://three.ws/" target="_blank" rel="noopener noreferrer">powered by 3dagent</a>' : ''}
+ ${this.options.showPoweredBy ? '<a class="nich-powered-by" href="https://three.ws/" target="_blank" rel="noopener noreferrer">powered by three.ws</a>' : ''}
`;
// Apply theme overrides via CSS custom properties scoped to the panel.
diff --git a/src/viewer.js b/src/viewer.js
index 7e72f90f0..ef5285e54 100644
--- a/src/viewer.js
+++ b/src/viewer.js
@@ -41,7 +41,7 @@ import {
} from './viewer/internal.js';
import { addLights, removeLights } from './viewer/lights.js';
import { getCubeMapTexture } from './viewer/environment.js';
-import { takeScreenshot } from './viewer/screenshot.js';
+import { takeScreenshot, captureScreenshot } from './viewer/screenshot.js';
import { setClips, playAllClips } from './viewer/animation.js';
import { AnimationManager } from './animation-manager.js';
@@ -539,6 +539,10 @@ export class Viewer {
takeScreenshot(this);
}
+ captureScreenshot() {
+ return captureScreenshot(this);
+ }
+
/**
* Update the AR button visibility and target URLs after a model loads.
* @param {string|null} glbUrl — absolute or relative URL to the GLB (for Android/WebXR)
diff --git a/src/viewer/screenshot.js b/src/viewer/screenshot.js
index b9ff956f1..e9c094685 100644
--- a/src/viewer/screenshot.js
+++ b/src/viewer/screenshot.js
@@ -1,17 +1,26 @@
-export function takeScreenshot(viewer) {
- // Render a fresh frame then capture via toBlob (avoids preserveDrawingBuffer overhead).
- viewer.renderer.render(viewer.scene, viewer.activeCamera);
- viewer.renderer.domElement.toBlob((blob) => {
- if (!blob) return;
- const timestamp = new Date().toISOString().replace(/[:.]/g, '-').slice(0, 19);
- const url = URL.createObjectURL(blob);
- const link = document.createElement('a');
- link.download = `3d-screenshot-${timestamp}.png`;
- link.href = url;
- link.click();
- URL.revokeObjectURL(url);
- }, 'image/png');
+function _capture(viewer) {
+ return new Promise((resolve) => {
+ viewer.renderer.render(viewer.scene, viewer.activeCamera);
+ viewer.renderer.domElement.toBlob(resolve, 'image/png');
+ });
+}
+
+export async function captureScreenshot(viewer) {
flashScreenshotFeedback(viewer);
+ return await _capture(viewer);
+}
+
+export async function takeScreenshot(viewer) {
+ const blob = await captureScreenshot(viewer);
+ if (!blob) return;
+
+ const timestamp = new Date().toISOString().replace(/[:.]/g, '-').slice(0, 19);
+ const url = URL.createObjectURL(blob);
+ const link = document.createElement('a');
+ link.download = `3d-screenshot-${timestamp}.png`;
+ link.href = url;
+ link.click();
+ URL.revokeObjectURL(url);
}
export function flashScreenshotFeedback(viewer) {
diff --git a/src/widgets/passport.js b/src/widgets/passport.js
index c8b2f7e2e..42db2b515 100644
--- a/src/widgets/passport.js
+++ b/src/widgets/passport.js
@@ -441,7 +441,7 @@ function _render(panel, state, opts = {}) {
function _poweredByHTML(_config) {
return `
<a class="passport-powered-by" href="https://three.ws/" target="_blank" rel="noopener noreferrer">
- 3dagent
+ three.ws
</a>
`;
}
diff --git a/style.css b/style.css
index 03a830ac4..06be4f05b 100644
--- a/style.css
+++ b/style.css
@@ -1121,6 +1121,46 @@ footer .separator {
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}
+/* Embedded layout (talking-agent widget): full-width panel anchored to the
+ * bottom, leaving the top portion clear for the 3D avatar. */
+.nich-panel--embedded {
+ left: 0;
+ right: 0;
+ bottom: 0;
+ top: auto;
+ width: 100%;
+ max-width: none;
+ max-height: 46%;
+ border-radius: var(--radius-lg) var(--radius-lg) 0 0;
+ border-left: 0;
+ border-right: 0;
+ border-bottom: 0;
+}
+
+/* On viewports wide enough, slide chat to the right so the avatar is fully
+ * visible on the left — only kicks in when the widget itself is wide. */
+@media (min-width: 540px) {
+ .nich-panel--embedded.nich-position--right {
+ left: auto;
+ right: 0;
+ top: 0;
+ bottom: 0;
+ width: 260px;
+ max-height: 100%;
+ max-width: 55%;
+ border-radius: var(--radius-lg) 0 0 var(--radius-lg);
+ border-top: 0;
+ border-right: 0;
+ border-bottom: 0;
+ }
+}
+
+/* Compact message area inside embedded panel */
+.nich-panel--embedded .nich-messages {
+ min-height: 60px;
+ max-height: 120px;
+}
+
.nich-header {
display: flex;
align-items: center;