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.

chore(root): move/dedupe root CSS into public/

nirholas5a8e5b0d5988
diff --git a/footer.css b/footer.css
deleted file mode 100644
index 0519281bd..000000000
--- a/footer.css
+++ /dev/null
@@ -1,501 +0,0 @@
-/* ── Shared site footer: "The Horizon" ──────────────────────────────────── */
-/* Used on home, index/features, create, profile, agent-home. */
-
-.h-footer-horizon {
- position: relative;
- flex-shrink: 0;
- overflow: hidden;
- min-height: 360px;
- padding: 4rem 2rem 2rem;
- border-top: none;
- background: linear-gradient(180deg, #0a0a0a 0%, #050505 60%, #000 100%);
- isolation: isolate;
- color: #fff;
-}
-
-.h-footer-glow-line {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- height: 1px;
- background: linear-gradient(
- 90deg,
- transparent 0%,
- rgba(255, 255, 255, 0.0) 10%,
- rgba(255, 255, 255, 0.75) 50%,
- rgba(255, 255, 255, 0.0) 90%,
- transparent 100%
- );
- box-shadow:
- 0 0 10px rgba(255, 255, 255, 0.35),
- 0 0 24px rgba(255, 255, 255, 0.18);
- z-index: 2;
-}
-
-.h-footer-floor {
- position: absolute;
- left: -10%;
- right: -10%;
- bottom: -40%;
- height: 90%;
- background-image:
- linear-gradient(to right, rgba(255, 255, 255, 0.09) 1px, transparent 1px),
- linear-gradient(to bottom, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
- background-size: 64px 64px;
- transform: perspective(600px) rotateX(62deg);
- transform-origin: 50% 0%;
- mask-image: linear-gradient(to bottom, #000 0%, #000 40%, transparent 95%);
- -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 40%, transparent 95%);
- z-index: 1;
- animation: hFloorScroll 12s linear infinite;
-}
-
-@keyframes hFloorScroll {
- 0% { background-position: 0 0; }
- 100% { background-position: 0 64px; }
-}
-
-.h-footer-haze {
- position: absolute;
- inset: 0;
- background:
- radial-gradient(60% 70% at 30% 110%, rgba(255, 255, 255, 0.10) 0%, transparent 60%),
- radial-gradient(55% 70% at 75% 110%, rgba(255, 255, 255, 0.07) 0%, transparent 60%);
- filter: blur(40px);
- z-index: 1;
- pointer-events: none;
-}
-
-.h-footer-watermark {
- position: absolute;
- left: 50%;
- bottom: -0.15em;
- transform: translateX(-50%);
- font-family: 'Space Grotesk', 'Inter', sans-serif;
- font-weight: 700;
- font-size: clamp(7rem, 22vw, 22rem);
- line-height: 0.85;
- letter-spacing: -0.04em;
- white-space: nowrap;
- background: linear-gradient(
- 180deg,
- rgba(255, 255, 255, 0.12) 0%,
- rgba(255, 255, 255, 0.04) 60%,
- rgba(255, 255, 255, 0) 100%
- );
- -webkit-background-clip: text;
- background-clip: text;
- color: transparent;
- pointer-events: none;
- z-index: 2;
- user-select: none;
-}
-
-.h-footer-avatar {
- position: absolute;
- right: 4%;
- bottom: 12%;
- width: 140px;
- height: 140px;
- z-index: 3;
- pointer-events: none;
- filter: grayscale(1) drop-shadow(0 0 18px rgba(255, 255, 255, 0.30));
-}
-
-.h-footer-avatar model-viewer,
-.h-footer-avatar canvas {
- width: 100%;
- height: 100%;
- background: transparent;
- --poster-color: transparent;
- display: block;
-}
-
-.h-footer-cta {
- position: relative;
- z-index: 4;
- display: grid;
- grid-template-columns: 1fr 1fr 1fr;
- gap: 3rem;
- max-width: 1080px;
- margin: 0 auto 3rem;
- padding-bottom: 2.5rem;
- border-bottom: 1px solid rgba(255, 255, 255, 0.06);
-}
-
-.h-footer-cta h3 {
- font-family: 'Space Grotesk', 'Inter', sans-serif;
- font-size: 1.4rem;
- font-weight: 600;
- margin: 0 0 0.5rem;
- color: #fff;
- letter-spacing: -0.01em;
-}
-
-.h-footer-cta p {
- margin: 0 0 1.25rem;
- font-family: 'Inter', sans-serif;
- font-size: 0.9rem;
- color: rgba(255, 255, 255, 0.5);
- line-height: 1.5;
- max-width: 32ch;
-}
-
-.h-footer-newsletter-form {
- display: flex;
- align-items: center;
- gap: 0;
- max-width: 380px;
- background: rgba(255, 255, 255, 0.04);
- border: 1px solid rgba(255, 255, 255, 0.1);
- border-radius: 999px;
- padding: 0.25rem 0.25rem 0.25rem 1.1rem;
- transition: border-color 0.2s ease, background 0.2s ease;
-}
-
-.h-footer-newsletter-form:focus-within {
- border-color: rgba(255, 255, 255, 0.25);
- background: rgba(255, 255, 255, 0.06);
-}
-
-.h-footer-newsletter-input {
- flex: 1;
- min-width: 0;
- background: transparent;
- border: none;
- outline: none;
- color: #fff;
- font-family: 'Inter', sans-serif;
- font-size: 0.9rem;
- padding: 0.6rem 0;
-}
-
-.h-footer-newsletter-input::placeholder {
- color: rgba(255, 255, 255, 0.35);
-}
-
-.h-footer-newsletter-btn {
- flex-shrink: 0;
- width: 36px;
- height: 36px;
- border-radius: 50%;
- border: none;
- background: rgba(255, 255, 255, 0.1);
- color: #fff;
- cursor: pointer;
- display: inline-flex;
- align-items: center;
- justify-content: center;
- transition: background 0.2s ease, transform 0.2s ease;
-}
-
-.h-footer-newsletter-btn:hover {
- background: rgba(255, 255, 255, 0.2);
- transform: translateX(2px);
-}
-
-.h-footer-newsletter-btn:disabled {
- opacity: 0.5;
- cursor: not-allowed;
- transform: none;
-}
-
-.h-footer-newsletter-btn svg {
- width: 14px;
- height: 14px;
-}
-
-.h-footer-newsletter-msg {
- margin: 0.6rem 0 0;
- font-family: 'Inter', sans-serif;
- font-size: 0.78rem;
- color: rgba(255, 255, 255, 0.5);
- min-height: 1em;
-}
-
-.h-footer-newsletter-msg.is-error {
- color: #ff8e8e;
-}
-
-.h-footer-newsletter-msg.is-success {
- color: #4ade80;
-}
-
-.h-footer-community-btn {
- display: inline-flex;
- align-items: center;
- gap: 0.6rem;
- padding: 0.7rem 1.25rem;
- border-radius: 999px;
- border: 1px solid rgba(255, 255, 255, 0.1);
- background: rgba(255, 255, 255, 0.04);
- color: #fff;
- font-family: 'Inter', sans-serif;
- font-size: 0.9rem;
- font-weight: 500;
- text-decoration: none;
- transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
-}
-
-.h-footer-community-btn:hover {
- background: rgba(255, 255, 255, 0.08);
- border-color: rgba(255, 255, 255, 0.22);
- transform: translateY(-1px);
-}
-
-.h-footer-community-btn svg {
- width: 14px;
- height: 14px;
-}
-
-.h-footer-inner {
- position: relative;
- z-index: 4;
- display: flex;
- align-items: flex-start;
- justify-content: space-between;
- flex-wrap: wrap;
- gap: 2rem;
- max-width: 1080px;
- margin: 0 auto 4rem;
-}
-
-.h-footer-brand-col {
- display: flex;
- flex-direction: column;
- gap: 0.4rem;
-}
-
-.h-footer-brand {
- display: flex;
- align-items: center;
- gap: 0.4rem;
- font-family: 'Space Grotesk', 'Inter', sans-serif;
- font-size: 1.1rem;
- font-weight: 600;
- color: #fff;
-}
-
-.h-footer-brand .wordmark-logo {
- width: 22px;
- height: 22px;
- display: inline-block;
- vertical-align: middle;
- flex-shrink: 0;
-}
-
-.h-footer-brand .wordmark-dot {
- display: inline-block;
- width: 8px;
- height: 8px;
- border-radius: 50%;
- background: #fff;
- box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
-}
-
-.h-footer-tagline {
- font-family: 'Inter', sans-serif;
- font-size: 0.85rem;
- color: rgba(255, 255, 255, 0.45);
- margin: 0;
- letter-spacing: 0.01em;
-}
-
-.h-footer-links {
- display: flex;
- flex-wrap: wrap;
- gap: 1.5rem 3rem;
-}
-
-.h-footer-link-col {
- display: flex;
- flex-direction: column;
- gap: 0.6rem;
-}
-
-.h-footer-link-heading {
- font-family: 'Inter', sans-serif;
- font-size: 0.7rem;
- font-weight: 600;
- letter-spacing: 0.12em;
- text-transform: uppercase;
- color: rgba(255, 255, 255, 0.35);
- margin: 0 0 0.2rem;
-}
-
-.h-footer-links a {
- position: relative;
- color: rgba(255, 255, 255, 0.55);
- text-decoration: none;
- font-size: 0.9rem;
- transition: color 0.2s ease, text-shadow 0.2s ease;
-}
-
-.h-footer-links a:hover {
- color: #fff;
- text-shadow: 0 0 12px rgba(255, 255, 255, 0.55);
-}
-
-.h-footer-socials {
- display: flex;
- align-items: center;
- gap: 0.5rem;
-}
-
-.h-footer-social {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- width: 32px;
- height: 32px;
- border-radius: 50%;
- color: rgba(255, 255, 255, 0.55);
- background: rgba(255, 255, 255, 0.03);
- border: 1px solid rgba(255, 255, 255, 0.06);
- transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
-}
-
-.h-footer-social:hover {
- color: #fff;
- background: rgba(255, 255, 255, 0.08);
- border-color: rgba(255, 255, 255, 0.18);
- transform: translateY(-1px);
-}
-
-.h-footer-social svg {
- width: 14px;
- height: 14px;
-}
-
-.h-footer-legal-links {
- display: flex;
- align-items: center;
- gap: 1.25rem;
-}
-
-.h-footer-legal-links a {
- color: rgba(255, 255, 255, 0.55);
- text-decoration: none;
- font-family: 'Inter', sans-serif;
- font-size: 0.78rem;
- transition: color 0.2s ease;
-}
-
-.h-footer-legal-links a:hover {
- color: #fff;
-}
-
-.h-footer-bottom {
- position: relative;
- z-index: 4;
- max-width: 1080px;
- margin: 0 auto;
- padding-top: 1.5rem;
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 1rem;
- flex-wrap: wrap;
- border-top: 1px solid rgba(255, 255, 255, 0.06);
-}
-
-.h-footer-legal {
- margin: 0;
- font-family: 'Inter', sans-serif;
- font-size: 0.78rem;
- font-weight: 400;
- color: rgba(255, 255, 255, 0.42);
- letter-spacing: 0.005em;
-}
-
-.h-footer-badges {
- display: flex;
- align-items: center;
- gap: 0.5rem;
- flex-wrap: wrap;
-}
-
-.h-footer-badge {
- display: inline-flex;
- align-items: center;
- gap: 0.4rem;
- padding: 0.32rem 0.7rem;
- border-radius: 999px;
- border: 1px solid rgba(255, 255, 255, 0.09);
- background: rgba(255, 255, 255, 0.025);
- color: rgba(255, 255, 255, 0.62);
- font-family: 'Inter', sans-serif;
- font-size: 0.72rem;
- font-weight: 500;
- letter-spacing: 0.01em;
- text-decoration: none;
- transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
-}
-
-.h-footer-badge:hover {
- color: #fff;
- border-color: rgba(255, 255, 255, 0.18);
- background: rgba(255, 255, 255, 0.05);
- transform: translateY(-1px);
-}
-
-.h-footer-badge svg {
- width: 12px;
- height: 12px;
- flex-shrink: 0;
-}
-
-.h-footer-status-dot {
- width: 6px;
- height: 6px;
- border-radius: 50%;
- background: #4ade80;
- box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
- flex-shrink: 0;
- animation: hStatusPulse 2.4s ease-in-out infinite;
-}
-
-@keyframes hStatusPulse {
- 0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(74, 222, 128, 0.6); }
- 50% { opacity: 0.55; box-shadow: 0 0 4px rgba(74, 222, 128, 0.35); }
-}
-
-.h-footer-horizon a:focus-visible {
- outline: 2px solid #ffd76a;
- outline-offset: 3px;
- border-radius: 4px;
-}
-
-@media (max-width: 720px) {
- .h-footer-horizon {
- min-height: 320px;
- padding: 3rem 1.25rem 1.5rem;
- }
- .h-footer-cta {
- grid-template-columns: 1fr;
- gap: 2rem;
- padding-bottom: 2rem;
- margin-bottom: 2rem;
- }
- .h-footer-inner {
- flex-direction: column;
- gap: 1.5rem;
- margin-bottom: 3rem;
- }
- .h-footer-links {
- grid-template-columns: repeat(2, 1fr);
- gap: 1.25rem 1rem;
- }
- .h-footer-bottom {
- flex-direction: column;
- align-items: flex-start;
- gap: 0.75rem;
- }
- .h-footer-avatar {
- width: 90px;
- height: 90px;
- right: 5%;
- bottom: 18%;
- }
-}
diff --git a/home.css b/home.css
deleted file mode 100644
index fe7e2ccc1..000000000
--- a/home.css
+++ /dev/null
@@ -1,2906 +0,0 @@
-/* ── Home page marketing styles ── */
-
-/* ── Custom cursor ───────────────────────────────────────────────────────── */
-
-@media (hover: hover) {
- body {
- cursor: none;
- }
-
- .cursor {
- position: fixed;
- top: 0;
- left: 0;
- width: 10px;
- height: 10px;
- border-radius: 50%;
- background: rgba(255, 215, 106, 0.9);
- box-shadow:
- 0 0 16px rgba(255, 215, 106, 0.7),
- 0 0 36px rgba(255, 215, 106, 0.3);
- pointer-events: none;
- z-index: 99999;
- will-change: transform;
- mix-blend-mode: screen;
- transition:
- width 0.2s ease,
- height 0.2s ease,
- background 0.2s ease,
- box-shadow 0.2s ease;
- }
-
- .cursor--hover {
- width: 36px;
- height: 36px;
- background: rgba(255, 215, 106, 0.12);
- border: 1px solid rgba(255, 215, 106, 0.55);
- box-shadow: none;
- }
-}
-
-/* ── Three.js canvas viewers (hero + Act 2) ─────────────────────────────── */
-
-#hero-avatar.h-avatar-viewer,
-#home-act2-canvas.h-avatar-viewer {
- display: block;
- width: 100%;
- height: 100%;
- background: transparent;
- cursor: pointer;
-}
-
-/* ── Fluid canvas ────────────────────────────────────────────────────────── */
-
-.h-fluid-canvas {
- position: absolute;
- inset: 0;
- width: 100%;
- height: 100%;
- pointer-events: none;
-}
-
-/* ── Premium sticky header (warm, blurred) ───────────────────────────────── */
-
-.home-page header {
- position: fixed !important;
- top: 0;
- left: 0;
- right: 0;
- z-index: 200 !important;
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 0.9rem clamp(1rem, 4vw, 2rem);
- height: auto;
- line-height: normal;
- overflow: visible;
- white-space: normal;
- background: linear-gradient(
- to bottom,
- rgba(10, 8, 6, 0.78) 0%,
- rgba(10, 8, 6, 0.3) 75%,
- transparent 100%
- );
- backdrop-filter: blur(14px) saturate(140%);
- -webkit-backdrop-filter: blur(14px) saturate(140%);
- border-bottom: 1px solid rgba(255, 215, 106, 0.06);
- transition:
- background 0.3s ease,
- border-color 0.3s ease;
-}
-
-.home-page header h1 {
- margin: 0;
- font-family: 'Space Grotesk', 'Inter', sans-serif;
- font-size: 1.12rem;
- font-weight: 700;
- letter-spacing: -0.01em;
-}
-
-.home-page header h1 a {
- color: #fff;
- text-decoration: none;
- display: inline-flex;
- align-items: center;
- gap: 0.45rem;
-}
-
-.home-page header h1 a .wordmark-dot {
- width: 8px;
- height: 8px;
- border-radius: 50%;
- background: linear-gradient(135deg, #ffd76a, #ff8f4d);
- box-shadow: 0 0 12px rgba(255, 143, 77, 0.6);
-}
-
-.home-page header h1 a .wordmark-logo {
- width: 28px;
- height: 28px;
- display: inline-block;
-}
-
-/* ── Loading flash on page reveal ────────────────────────────────────────── */
-
-@keyframes h-page-in {
- from {
- opacity: 0;
- }
- to {
- opacity: 1;
- }
-}
-
-.home-page main {
- animation: h-page-in 0.6s ease both;
-}
-
-/* ── Trust strip ─────────────────────────────────────────────────────────── */
-
-.h-trust-strip {
- position: relative;
- z-index: 30;
- background:
- radial-gradient(ellipse at 50% 50%, rgba(255, 175, 60, 0.06) 0%, transparent 60%),
- linear-gradient(180deg, rgba(26, 14, 8, 0.6) 0%, rgba(8, 7, 11, 0.6) 100%);
- border-top: 1px solid rgba(255, 175, 60, 0.12);
- border-bottom: 1px solid rgba(255, 175, 60, 0.12);
- padding: 1.8rem var(--space-lg);
-}
-
-.h-trust-inner {
- display: flex;
- align-items: center;
- justify-content: center;
- flex-wrap: wrap;
- gap: 1.5rem 2rem;
- max-width: 900px;
- margin: 0 auto;
-}
-
-.h-trust-item {
- display: flex;
- flex-direction: column;
- align-items: center;
- gap: 0.2rem;
-}
-
-.h-trust-num {
- font-family: 'Space Grotesk', 'Inter', sans-serif;
- font-size: 1.4rem;
- font-weight: 700;
- background: linear-gradient(135deg, #ffd76a 0%, #ff8f4d 100%);
- -webkit-background-clip: text;
- background-clip: text;
- color: transparent;
- letter-spacing: -0.015em;
-}
-
-.h-trust-label {
- font-size: 0.7rem;
- font-weight: 500;
- letter-spacing: 0.1em;
- text-transform: uppercase;
- color: rgba(255, 255, 255, 0.5);
- font-family: 'Space Grotesk', 'Inter', sans-serif;
-}
-
-.h-trust-sep {
- color: rgba(255, 255, 255, 0.15);
- font-size: 1.4rem;
-}
-
-/* ── Pillars transition band (docs.pai.direct style) ───────────────────── */
-
-.h-pillars {
- position: relative;
- z-index: 30;
- background:
- linear-gradient(
- 180deg,
- rgba(8, 7, 11, 0) 0%,
- rgba(8, 7, 11, 1) 25%,
- rgba(8, 7, 11, 1) 100%
- ),
- radial-gradient(ellipse at 50% 0%, rgba(255, 175, 60, 0.08) 0%, transparent 60%);
- padding: clamp(4rem, 9vh, 7rem) clamp(1.25rem, 4vw, 2rem);
-}
-
-.h-pillars-inner {
- display: grid;
- grid-template-columns: repeat(3, minmax(0, 1fr));
- gap: clamp(2rem, 4vw, 3.5rem);
- max-width: 1180px;
- margin: 0 auto;
-}
-
-.h-pillar h3 {
- font-family: 'Space Grotesk', 'Inter', sans-serif;
- font-size: 1.15rem;
- font-weight: 700;
- color: #fff;
- letter-spacing: -0.005em;
- line-height: 1.25;
- margin: 0 0 0.85rem;
-}
-
-.h-pillar p {
- font-size: 0.95rem;
- line-height: 1.65;
- color: rgba(255, 255, 255, 0.55);
- margin: 0;
- max-width: 32em;
-}
-
-@media (max-width: 880px) {
- .h-pillars-inner {
- grid-template-columns: 1fr;
- gap: 2rem;
- }
-}
-
-/* ── Bento feature grid ──────────────────────────────────────────────────── */
-
-.h-bento-section {
- position: relative;
- z-index: 30;
- background:
- radial-gradient(ellipse at 0% 0%, rgba(255, 175, 60, 0.05) 0%, transparent 50%),
- radial-gradient(ellipse at 100% 100%, rgba(140, 80, 220, 0.05) 0%, transparent 50%), #06070b;
- padding: clamp(5rem, 10vh, 9rem) var(--space-lg);
- max-width: 1200px;
- margin: 0 auto;
-}
-
-.h-bento-header {
- text-align: center;
- margin-bottom: 4rem;
- max-width: 720px;
- margin-left: auto;
- margin-right: auto;
-}
-
-.h-bento-header .h-section-title {
- margin-bottom: 0.5rem;
-}
-
-.h-bento-grid {
- display: grid;
- grid-template-columns: 2fr 1fr;
- grid-auto-rows: auto;
- gap: 1rem;
-}
-
-.h-bento-card {
- background: rgba(255, 255, 255, 0.025);
- border: 1px solid rgba(255, 255, 255, 0.06);
- border-radius: 8px;
- overflow: hidden;
- transition:
- border-color 0.3s ease,
- transform 0.3s ease;
- display: flex;
- flex-direction: column;
-}
-
-.h-bento-card:hover {
- border-color: rgba(255, 255, 255, 0.12);
- transform: translateY(-2px);
-}
-
-.h-bento-card--lg {
- grid-column: 1;
- grid-row: 1 / span 4;
- display: grid;
- grid-template-columns: minmax(0, 1fr);
- grid-template-rows: 1fr auto auto;
-}
-
-.h-bento-visual {
- position: relative;
- min-height: 360px;
- background: rgba(255, 255, 255, 0.02);
- /* isolate compositing layer so WebGL canvas renders correctly inside the
- CSS 3D perspective context on .home-parallax */
- will-change: transform;
- transform: translateZ(0);
-}
-
-.h-bento-visual model-viewer {
- width: 100%;
- height: 100%;
- min-height: 360px;
- background: transparent;
- --poster-color: transparent;
-}
-
-.h-bento-cz-canvas {
- position: absolute;
- inset: 0;
- width: 100%;
- height: 100%;
- display: block;
- cursor: grab;
-}
-
-.h-bento-anim-panel {
- border-top: 1px solid rgba(255, 255, 255, 0.06);
- border-bottom: 1px solid rgba(255, 255, 255, 0.06);
- background: rgba(0, 0, 0, 0.28);
- padding: 0.7rem 1rem 0.6rem;
- display: flex;
- flex-direction: column;
- gap: 0.45rem;
-}
-
-.h-bento-anim-header {
- display: flex;
- align-items: center;
- justify-content: space-between;
-}
-
-.h-bento-anim-title {
- font-size: 0.62rem;
- font-weight: 600;
- letter-spacing: 0.14em;
- text-transform: uppercase;
- color: rgba(255, 255, 255, 0.4);
- font-family: 'Space Grotesk', 'Inter', sans-serif;
-}
-
-.h-bento-anim-stop {
- background: none;
- border: none;
- color: rgba(255, 255, 255, 0.35);
- font-size: 0.85rem;
- cursor: pointer;
- padding: 2px 6px;
- border-radius: 4px;
- transition:
- color 0.2s,
- background 0.2s;
- line-height: 1;
-}
-
-.h-bento-anim-stop:hover {
- color: #f87171;
- background: rgba(248, 113, 113, 0.1);
-}
-
-.h-bento-anim-grid {
- display: flex;
- gap: 0.4rem;
- overflow-x: auto;
- scrollbar-width: thin;
- scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
- padding-bottom: 4px;
-}
-
-.h-bento-anim-grid::-webkit-scrollbar {
- height: 4px;
-}
-.h-bento-anim-grid::-webkit-scrollbar-thumb {
- background: rgba(255, 255, 255, 0.12);
- border-radius: 2px;
-}
-
-.h-bento-anim-btn {
- display: flex;
- flex-direction: column;
- align-items: center;
- gap: 2px;
- padding: 0.45rem 0.55rem;
- min-width: 56px;
- background: rgba(255, 255, 255, 0.04);
- border: 1px solid rgba(255, 255, 255, 0.08);
- border-radius: 8px;
- color: rgba(255, 255, 255, 0.6);
- font-family: inherit;
- cursor: pointer;
- transition: all 0.18s ease;
- flex-shrink: 0;
-}
-
-.h-bento-anim-btn:hover:not(:disabled) {
- background: rgba(255, 255, 255, 0.08);
- border-color: rgba(255, 255, 255, 0.18);
- color: #fff;
-}
-
-.h-bento-anim-btn--active {
- background: rgba(167, 139, 250, 0.18);
- border-color: rgba(167, 139, 250, 0.5);
- color: #fff;
- box-shadow: 0 0 14px rgba(167, 139, 250, 0.18);
-}
-
-.h-bento-anim-btn--loading {
- opacity: 0.4;
- cursor: wait;
-}
-
-.h-bento-anim-btn__icon {
- font-size: 1.15rem;
- line-height: 1;
-}
-
-.h-bento-anim-btn__label {
- font-size: 9px;
- font-weight: 500;
- letter-spacing: 0.03em;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- max-width: 64px;
-}
-
-.h-bento-body {
- padding: 1.4rem 1.6rem;
- display: flex;
- flex-direction: column;
- gap: 0.5rem;
- flex: 1;
-}
-
-.h-bento-tag {
- display: inline-block;
- font-size: 0.65rem;
- font-weight: 600;
- letter-spacing: 0.14em;
- text-transform: uppercase;
- color: rgba(255, 215, 106, 0.8);
- font-family: 'Space Grotesk', 'Inter', sans-serif;
- margin-bottom: 0.2rem;
-}
-
-.h-bento-tag--mint {
- color: rgba(110, 231, 183, 0.8);
-}
-.h-bento-tag--violet {
- color: rgba(167, 139, 250, 0.8);
-}
-
-.h-bento-card h3 {
- font-family: 'Space Grotesk', 'Inter', sans-serif;
- font-size: 1.1rem;
- font-weight: 600;
- color: #fff;
- margin: 0;
- line-height: 1.25;
-}
-
-.h-bento-card p {
- font-size: 0.85rem;
- color: rgba(255, 255, 255, 0.48);
- line-height: 1.55;
- margin: 0;
- flex: 1;
-}
-
-.h-bento-code {
- margin-top: 0.75rem;
- background: rgba(0, 0, 0, 0.4);
- border: 1px solid rgba(255, 255, 255, 0.05);
- border-radius: 8px;
- padding: 0.7rem 0.9rem;
- font-family: 'JetBrains Mono', monospace;
- font-size: 0.7rem;
- color: rgba(255, 255, 255, 0.55);
- line-height: 1.6;
-}
-
-.h-bento-id {
- display: flex;
- align-items: center;
- gap: 0.5rem;
- margin-top: 0.75rem;
- padding: 0.5rem 0.8rem;
- background: rgba(110, 231, 183, 0.06);
- border: 1px solid rgba(110, 231, 183, 0.15);
- border-radius: 6px;
-}
-
-.h-bento-emotions {
- display: flex;
- flex-wrap: wrap;
- gap: 0.35rem;
- margin-top: 0.5rem;
-}
-
-.h-bento-emotions span {
- font-size: 0.68rem;
- color: rgba(167, 139, 250, 0.65);
- font-family: 'Space Grotesk', sans-serif;
- border: 1px solid rgba(167, 139, 250, 0.2);
- border-radius: 4px;
- padding: 0.2rem 0.55rem;
-}
-
-/* ── Developer section ───────────────────────────────────────────────────── */
-
-.h-dev-section {
- position: relative;
- z-index: 30;
- background: rgba(255, 255, 255, 0.018);
- border-top: 1px solid rgba(255, 255, 255, 0.05);
- padding: clamp(4rem, 8vh, 7rem) var(--space-lg);
-}
-
-.h-dev-inner {
- display: grid;
- grid-template-columns: 1fr 1fr;
- gap: var(--space-2xl);
- align-items: center;
- max-width: 1080px;
- margin: 0 auto;
-}
-
-.h-dev-text {
- display: flex;
- flex-direction: column;
- gap: 1rem;
-}
-
-.h-dev-text h2 {
- font-family: 'Space Grotesk', 'Inter', sans-serif;
- font-size: clamp(1.8rem, 3vw, 2.6rem);
- font-weight: 700;
- color: #fff;
- line-height: 1.1;
- letter-spacing: -0.02em;
- margin: 0;
-}
-
-.h-dev-sub {
- font-size: var(--text-base);
- color: rgba(255, 255, 255, 0.5);
- line-height: 1.6;
- margin: 0;
-}
-
-.h-dev-sub code {
- font-family: 'JetBrains Mono', monospace;
- font-size: 0.88em;
- color: rgba(255, 215, 106, 0.8);
- background: rgba(255, 215, 106, 0.08);
- padding: 0.1em 0.4em;
- border-radius: 4px;
-}
-
-.h-dev-links {
- display: flex;
- gap: 1.5rem;
- flex-wrap: wrap;
-}
-
-.h-dev-code {
- background: #0a0a0e;
- border: 1px solid rgba(255, 255, 255, 0.07);
- border-radius: 8px;
- overflow: hidden;
-}
-
-.h-dev-code-bar {
- display: flex;
- align-items: center;
- gap: 0.4rem;
- padding: 0.7rem 1rem;
- background: rgba(255, 255, 255, 0.03);
- border-bottom: 1px solid rgba(255, 255, 255, 0.05);
-}
-
-.h-dev-code-dot {
- width: 10px;
- height: 10px;
- border-radius: 50%;
- background: rgba(255, 255, 255, 0.12);
-}
-
-.h-dev-code-filename {
- font-family: 'JetBrains Mono', monospace;
- font-size: 0.7rem;
- color: rgba(255, 255, 255, 0.3);
- margin-left: 0.5rem;
-}
-
-.h-dev-pre {
- margin: 0;
- padding: 1.4rem 1.6rem;
- overflow-x: auto;
-}
-
-.h-dev-pre code {
- font-family: 'JetBrains Mono', monospace;
- font-size: 0.82rem;
- line-height: 1.75;
- color: rgba(255, 255, 255, 0.55);
-}
-
-.h-dev-pre .c {
- color: rgba(255, 255, 255, 0.22);
-}
-.h-dev-pre .tag {
- color: rgba(125, 200, 255, 0.85);
-}
-.h-dev-pre .attr {
- color: rgba(168, 220, 140, 0.85);
-}
-.h-dev-pre .val {
- color: rgba(255, 200, 100, 0.8);
-}
-
-/* ── CTA inner wrapper ───────────────────────────────────────────────────── */
-
-.h-cta-inner {
- max-width: 600px;
- margin: 0 auto;
- text-align: center;
-}
-
-/* ── Footer: "The Horizon" ──────────────────────────────────────────────── */
-
-.h-footer-horizon {
- position: relative;
- overflow: hidden;
- min-height: 360px;
- padding: 4rem 2rem 2rem !important;
- border-top: none !important;
- background: linear-gradient(180deg, #0a0a0a 0%, #050505 60%, #000 100%) !important;
- isolation: isolate;
-}
-
-.h-footer-glow-line {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- height: 1px;
- background: linear-gradient(
- 90deg,
- transparent 0%,
- rgba(255, 255, 255, 0) 10%,
- rgba(255, 255, 255, 0.75) 50%,
- rgba(255, 255, 255, 0) 90%,
- transparent 100%
- );
- box-shadow:
- 0 0 10px rgba(255, 255, 255, 0.35),
- 0 0 24px rgba(255, 255, 255, 0.18);
- z-index: 2;
-}
-
-.h-footer-floor {
- position: absolute;
- left: -10%;
- right: -10%;
- bottom: -40%;
- height: 90%;
- background-image:
- linear-gradient(to right, rgba(255, 255, 255, 0.09) 1px, transparent 1px),
- linear-gradient(to bottom, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
- background-size: 64px 64px;
- transform: perspective(600px) rotateX(62deg);
- transform-origin: 50% 0%;
- mask-image: linear-gradient(to bottom, #000 0%, #000 40%, transparent 95%);
- -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 40%, transparent 95%);
- z-index: 1;
- animation: hFloorScroll 12s linear infinite;
-}
-
-@keyframes hFloorScroll {
- 0% {
- background-position: 0 0;
- }
- 100% {
- background-position: 0 64px;
- }
-}
-
-.h-footer-haze {
- position: absolute;
- inset: 0;
- background:
- radial-gradient(60% 70% at 30% 110%, rgba(255, 255, 255, 0.1) 0%, transparent 60%),
- radial-gradient(55% 70% at 75% 110%, rgba(255, 255, 255, 0.07) 0%, transparent 60%);
- filter: blur(40px);
- z-index: 1;
- pointer-events: none;
-}
-
-.h-footer-watermark {
- position: absolute;
- left: 50%;
- bottom: -0.15em;
- transform: translateX(-50%);
- font-family: 'Space Grotesk', 'Inter', sans-serif;
- font-weight: 700;
- font-size: clamp(7rem, 22vw, 22rem);
- line-height: 0.85;
- letter-spacing: -0.04em;
- white-space: nowrap;
- background: linear-gradient(
- 180deg,
- rgba(255, 255, 255, 0.12) 0%,
- rgba(255, 255, 255, 0.04) 60%,
- rgba(255, 255, 255, 0) 100%
- );
- -webkit-background-clip: text;
- background-clip: text;
- color: transparent;
- pointer-events: none;
- z-index: 2;
- user-select: none;
-}
-
-.h-footer-avatar {
- position: absolute;
- right: 2%;
- bottom: 0;
- width: 200px;
- height: 200px;
- z-index: 3;
- pointer-events: none;
- filter: grayscale(1) drop-shadow(0 0 18px rgba(255, 255, 255, 0.3));
-}
-
-.h-footer-avatar model-viewer {
- width: 100%;
- height: 100%;
- background: transparent;
- --poster-color: transparent;
-}
-
-.h-footer-inner {
- position: relative;
- z-index: 4;
- display: flex;
- align-items: flex-start;
- justify-content: space-between;
- flex-wrap: wrap;
- gap: 2rem;
- max-width: 1080px;
- margin: 0 auto 4rem;
-}
-
-.h-footer-brand-col {
- display: flex;
- flex-direction: column;
- gap: 0.4rem;
-}
-
-.h-footer-brand {
- display: flex;
- align-items: center;
- gap: 0.4rem;
- font-family: 'Space Grotesk', 'Inter', sans-serif;
- font-size: 1.1rem;
- font-weight: 600;
- color: #fff;
-}
-
-.h-footer-tagline {
- font-family: 'Inter', sans-serif;
- font-size: 0.85rem;
- color: rgba(255, 255, 255, 0.45);
- margin: 0;
- letter-spacing: 0.01em;
-}
-
-.h-footer-links {
- display: grid;
- grid-template-columns: repeat(2, auto);
- gap: 0.6rem 2.5rem;
-}
-
-.h-footer-links a {
- position: relative;
- color: rgba(255, 255, 255, 0.45);
- text-decoration: none;
- font-size: var(--text-sm);
- transition:
- color 0.2s ease,
- text-shadow 0.2s ease;
-}
-
-.h-footer-links a:hover {
- color: #fff;
- text-shadow: 0 0 12px rgba(255, 255, 255, 0.55);
-}
-
-.h-footer-bottom {
- position: relative;
- z-index: 4;
- max-width: 1080px;
- margin: 0 auto;
- padding-top: 1.5rem;
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 1rem;
- flex-wrap: wrap;
- border-top: 1px solid rgba(255, 255, 255, 0.06);
-}
-
-.h-footer-legal {
- margin: 0;
- font-family: 'Inter', sans-serif;
- font-size: 0.78rem;
- font-weight: 400;
- color: rgba(255, 255, 255, 0.42);
- letter-spacing: 0.005em;
-}
-
-.h-footer-badges {
- display: flex;
- align-items: center;
- gap: 0.5rem;
- flex-wrap: wrap;
-}
-
-.h-footer-badge {
- display: inline-flex;
- align-items: center;
- gap: 0.4rem;
- padding: 0.32rem 0.7rem;
- border-radius: 6px;
- border: 1px solid rgba(255, 255, 255, 0.09);
- background: rgba(255, 255, 255, 0.025);
- color: rgba(255, 255, 255, 0.62);
- font-family: 'Inter', sans-serif;
- font-size: 0.72rem;
- font-weight: 500;
- letter-spacing: 0.01em;
- text-decoration: none;
- transition:
- color 0.2s ease,
- border-color 0.2s ease,
- background 0.2s ease,
- transform 0.2s ease;
-}
-
-.h-footer-badge:hover {
- color: #fff;
- border-color: rgba(255, 255, 255, 0.18);
- background: rgba(255, 255, 255, 0.05);
- transform: translateY(-1px);
-}
-
-.h-footer-badge svg {
- width: 12px;
- height: 12px;
- flex-shrink: 0;
-}
-
-.h-footer-status-dot {
- width: 6px;
- height: 6px;
- border-radius: 50%;
- background: #4ade80;
- box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
- flex-shrink: 0;
- animation: hStatusPulse 2.4s ease-in-out infinite;
-}
-
-@keyframes hStatusPulse {
- 0%,
- 100% {
- opacity: 1;
- box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
- }
- 50% {
- opacity: 0.55;
- box-shadow: 0 0 4px rgba(74, 222, 128, 0.35);
- }
-}
-
-@media (max-width: 720px) {
- .h-footer-horizon {
- min-height: 320px;
- padding: 3rem 1.25rem 1.5rem !important;
- }
- .h-footer-inner {
- flex-direction: column;
- gap: 1.5rem;
- margin-bottom: 3rem;
- }
- .h-footer-links {
- grid-template-columns: repeat(2, 1fr);
- gap: 0.5rem 1rem;
- }
- .h-footer-bottom {
- flex-direction: column;
- align-items: flex-start;
- gap: 0.75rem;
- }
- .h-footer-avatar {
- width: 90px;
- height: 90px;
- right: 5%;
- bottom: 18%;
- }
-}
-
-/* ── Responsive: bento and dev ───────────────────────────────────────────── */
-
-@media (max-width: 900px) {
- .h-bento-grid {
- grid-template-columns: 1fr 1fr;
- }
- .h-bento-card--lg {
- grid-column: span 2;
- grid-row: auto;
- }
- .h-dev-inner {
- grid-template-columns: 1fr;
- }
-}
-
-@media (max-width: 600px) {
- .h-bento-grid {
- grid-template-columns: 1fr;
- }
- .h-bento-card--lg {
- grid-column: span 1;
- grid-row: auto;
- }
- .h-trust-inner {
- gap: 1rem;
- }
- .h-footer-inner {
- flex-direction: column;
- align-items: flex-start;
- }
-}
-
-.home-page {
- overflow-y: auto;
- overflow-x: hidden;
- height: 100%;
- scroll-behavior: smooth;
-}
-
-/* ── Parallax scroll container ──────────────────────────────────────────── */
-
-.home-parallax {
- position: relative;
- height: 100vh;
- width: 100vw;
- overflow-x: hidden;
- overflow-y: auto;
- overscroll-behavior-y: none;
- perspective: 2.4rem;
- perspective-origin: 50% 0%;
- scroll-behavior: smooth;
- scrollbar-width: none;
-}
-
-.home-parallax::-webkit-scrollbar {
- width: 0;
- height: 0;
-}
-
-/* ── Hero parallax act ───────────────────────────────────────────────────── */
-
-.h-hero-act {
- position: relative;
- height: 130vh;
- overflow: hidden;
- isolation: isolate;
-}
-
-/* ── Parallax depth layers ───────────────────────────────────────────────── */
-
-.h-layer {
- position: absolute;
- inset: 0;
- width: 100%;
- height: 100%;
- pointer-events: none;
- z-index: calc(10 - var(--depth, 0));
-}
-
-/* ── Nebula background ───────────────────────────────────────────────────── */
-
-.h-layer-nebula {
- position: absolute;
- inset: 0;
- background:
- radial-gradient(ellipse at 22% 25%, rgba(255, 175, 60, 0.22) 0%, transparent 60%),
- radial-gradient(ellipse at 78% 65%, rgba(255, 100, 180, 0.13) 0%, transparent 55%),
- radial-gradient(ellipse at 50% 100%, rgba(140, 80, 220, 0.12) 0%, transparent 70%),
- linear-gradient(180deg, #1a0e08 0%, #08070b 100%);
-}
-
-/* ── Star canvas ─────────────────────────────────────────────────────────── */
-
-.h-star-canvas {
- position: absolute;
- left: 0;
- top: 0;
- width: 100%;
- height: 200%;
- pointer-events: none;
- animation: h-star-drift 120s linear infinite;
-}
-
-@keyframes h-star-drift {
- from {
- transform: translateY(0);
- }
- to {
- transform: translateY(-50%);
- }
-}
-
-/* ── Ghost model (depth 3) ───────────────────────────────────────────────── */
-
-.h-ghost-model {
- position: absolute;
- inset: 0;
- width: 100%;
- height: 100%;
- background: transparent;
- --poster-color: transparent;
- opacity: 0.1;
- filter: blur(0.5px);
- pointer-events: none;
-}
-
-/* ── Vignette ────────────────────────────────────────────────────────────── */
-
-.h-vignette {
- position: absolute;
- inset: 0;
- background: radial-gradient(ellipse at 50% 50%, transparent 35%, rgba(6, 7, 11, 0.7) 100%);
- pointer-events: none;
-}
-
-/* ── CZ click + idle trick animations ───────────────────────────────────── */
-
-/* applied to model-viewer only — ring/glow/badge stay put as a stable frame,
- so the avatar visibly moves *inside* its container, not the whole page. */
-.h-avatar-viewer.cz-fall,
-.h-avatar-viewer.cz-spin,
-.h-avatar-viewer.cz-pushup,
-.h-avatar-viewer.cz-jump,
-.h-avatar-viewer.cz-dance {
- transform-origin: 50% 95%;
-}
-
-.h-avatar-viewer.cz-fall {
- animation: cz-fall 1.4s cubic-bezier(0.4, 1.6, 0.6, 1) both;
-}
-.h-avatar-viewer.cz-spin {
- animation: cz-spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) both;
-}
-.h-avatar-viewer.cz-pushup {
- animation: cz-pushup 1.8s ease-in-out both;
-}
-.h-avatar-viewer.cz-jump {
- animation: cz-jump 0.9s cubic-bezier(0.3, 1.4, 0.6, 1) both;
-}
-.h-avatar-viewer.cz-dance {
- animation: cz-dance 2s ease-in-out both;
-}
-
-@keyframes cz-fall {
- 0% {
- transform: rotate(0deg);
- }
- 35% {
- transform: rotate(-22deg);
- }
- 55% {
- transform: rotate(-22deg);
- }
- 78% {
- transform: rotate(-18deg);
- }
- 100% {
- transform: rotate(0deg);
- }
-}
-
-@keyframes cz-spin {
- 0% {
- transform: rotateY(0) scale(1);
- }
- 50% {
- transform: rotateY(180deg) scale(0.97);
- }
- 100% {
- transform: rotateY(360deg) scale(1);
- }
-}
-
-@keyframes cz-pushup {
- 0%,
- 100% {
- transform: translateY(0);
- }
- 25% {
- transform: translateY(8px) scale(1, 0.97);
- }
- 50% {
- transform: translateY(0);
- }
- 75% {
- transform: translateY(8px) scale(1, 0.97);
- }
-}
-
-@keyframes cz-jump {
- 0%,
- 100% {
- transform: translateY(0) scale(1, 1);
- }
- 30% {
- transform: translateY(0) scale(1.05, 0.93);
- }
- 60% {
- transform: translateY(-32px) scale(0.96, 1.06);
- }
- 85% {
- transform: translateY(0) scale(1.04, 0.96);
- }
-}
-
-@keyframes cz-dance {
- 0%,
- 100% {
- transform: rotate(0) translateX(0);
- }
- 15% {
- transform: rotate(4deg) translateX(-6px) translateY(-2px);
- }
- 40% {
- transform: rotate(-5deg) translateX(6px) translateY(-1px);
- }
- 65% {
- transform: rotate(3deg) translateX(-4px) translateY(-3px);
- }
- 85% {
- transform: rotate(-2deg) translateX(4px) translateY(0);
- }
-}
-
-/* ── Avatar centered in its depth-1 parallax layer ─────────────────────── */
-
-.h-avatar-stage {
- position: absolute;
- inset: 0;
- display: flex;
- align-items: center;
- justify-content: center;
- pointer-events: none;
-}
-
-.h-avatar-wrap {
- position: relative;
- width: clamp(340px, 42vw, 560px);
- aspect-ratio: 1;
- display: flex;
- align-items: center;
- justify-content: center;
- pointer-events: auto;
-}
-
-/* ── Sticky text pinned bottom-left (same as features page act-content) ─── */
-
-.h-hero-text {
- position: sticky;
- top: 0;
- height: 100vh;
- margin-bottom: -100vh;
- z-index: 20;
- display: flex;
- flex-direction: column;
- justify-content: flex-end;
- padding: 0 var(--space-lg) clamp(2.5rem, 6vh, 5rem);
- pointer-events: none;
- max-width: 640px;
-}
-
-.h-hero-text > * {
- pointer-events: auto;
-}
-
-/* ── Scroll-driven float on the avatar wrap ─────────────────────────────── */
-
-@supports (animation-timeline: scroll()) {
- .h-avatar-wrap {
- animation: hero-avatar-float linear both;
- animation-timeline: scroll(nearest);
- animation-range: 0vh 160vh;
- }
-
- @keyframes hero-avatar-float {
- 0% {
- transform: translateY(0) scale(1);
- }
- 60% {
- transform: translateY(-24px) scale(1.03);
- }
- 100% {
- transform: translateY(-56px) scale(0.94);
- opacity: 0.3;
- }
- }
-
- .h-layer {
- animation: h-layer-parallax linear both;
- animation-timeline: view();
- animation-range: entry 0% exit 100%;
- }
-
- @keyframes h-layer-parallax {
- from {
- transform: translateY(calc(var(--depth, 0) * 30px));
- }
- to {
- transform: translateY(calc(var(--depth, 0) * -30px));
- }
- }
-}
-
-/* ── Acts 2 & 3 base ────────────────────────────────────────────────────── */
-
-.h-act {
- position: relative;
- height: 130vh;
- overflow: hidden;
- isolation: isolate;
-}
-
-.h-act-warp {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- height: 28vh;
- pointer-events: none;
- z-index: 25;
-}
-
-.h-act-warp--amber {
- background: linear-gradient(
- to bottom,
- rgba(6, 7, 11, 1) 0%,
- rgba(255, 180, 60, 0.04) 60%,
- transparent 100%
- );
-}
-
-.h-act-warp--mint {
- background: linear-gradient(
- to bottom,
- rgba(6, 7, 11, 1) 0%,
- rgba(110, 231, 183, 0.04) 60%,
- transparent 100%
- );
-}
-
-/* ── Act layer backgrounds ───────────────────────────────────────────────── */
-
-.h-layer-bg {
- position: absolute;
- inset: 0;
-}
-
-.h-layer-bg--amber {
- background:
- radial-gradient(ellipse at 70% 30%, rgba(255, 180, 60, 0.15) 0%, transparent 55%),
- radial-gradient(ellipse at 20% 75%, rgba(255, 215, 106, 0.08) 0%, transparent 55%),
- linear-gradient(180deg, #0c0a06 0%, #06070b 100%);
-}
-
-.h-layer-bg--mint {
- background:
- radial-gradient(ellipse at 30% 40%, rgba(110, 231, 183, 0.12) 0%, transparent 55%),
- radial-gradient(ellipse at 70% 60%, rgba(56, 189, 248, 0.1) 0%, transparent 50%),
- radial-gradient(ellipse at 80% 75%, rgba(255, 215, 106, 0.04) 0%, transparent 55%),
- linear-gradient(180deg, #060e14 0%, #06070b 100%);
-}
-
-/* ── Act depth orbs ──────────────────────────────────────────────────────── */
-
-.h-layer-orb {
- position: absolute;
- width: clamp(400px, 55vw, 800px);
- aspect-ratio: 1;
- border-radius: 50%;
- filter: blur(80px);
- opacity: 0.55;
-}
-
-.h-layer-orb--amber {
- background: radial-gradient(circle, #ffb347, transparent 70%);
- top: 12%;
- left: 8%;
-}
-
-.h-layer-orb--mint {
- background: radial-gradient(
- circle,
- color-mix(in srgb, #6ee7b7 60%, #38bdf8 40%),
- transparent 70%
- );
- top: 18%;
- right: 8%;
-}
-
-/* ── Floating word glyphs (Act 2 depth 4) ───────────────────────────────── */
-
-.h-layer-words {
- position: absolute;
- inset: 0;
- width: 100%;
- height: 100%;
-}
-
-/* ── Chain ribbon (Act 3 depth 4) ────────────────────────────────────────── */
-
-.h-layer-chains {
- position: absolute;
- inset: 0;
- display: flex;
- flex-wrap: wrap;
- align-content: center;
- justify-content: center;
- gap: 1.5rem 2.5rem;
- padding: 6rem 4rem;
-}
-
-.h-layer-chains .chain-pill {
- font-family: 'Space Grotesk', 'Inter', sans-serif;
- font-size: 17px;
- font-weight: 600;
- letter-spacing: 0.08em;
- color: rgba(110, 231, 183, 0.18);
- text-transform: uppercase;
- border: 1px solid rgba(110, 231, 183, 0.1);
- border-radius: 6px;
- padding: 0.4rem 1rem;
- white-space: nowrap;
-}
-
-/* ── Readability backdrop behind Act 3 sticky text ──────────────────────── */
-
-.h-act--deploy .h-act-text::before {
- content: '';
- position: absolute;
- inset: -2rem -2rem -2rem -2rem;
- background: linear-gradient(
- 100deg,
- rgba(4, 12, 20, 0.96) 0%,
- rgba(4, 12, 20, 0.88) 45%,
- rgba(4, 12, 20, 0.45) 75%,
- transparent 100%
- );
- z-index: -1;
- pointer-events: none;
- border-radius: 0 24px 24px 0;
-}
-
-/* ── Hero avatar traversing mode (falling animation) ────────────────────── */
-
-.h-avatar-wrap--traversing {
- position: absolute !important;
- inset: 0 !important;
- width: 100% !important;
- height: 100% !important;
- aspect-ratio: unset !important;
- border-radius: 0 !important;
- pointer-events: none;
-}
-
-.h-avatar-wrap--traversing #hero-avatar {
- border-radius: 0 !important;
-}
-
-.h-avatar-wrap--traversing .h-avatar-ring,
-.h-avatar-wrap--traversing .h-avatar-glow,
-.h-avatar-wrap--traversing .h-avatar-badge {
- display: none;
-}
-
-/* ── Ghost avatar (Act 3, depth 1) ──────────────────────────────────────── */
-
-.h-avatar-wrap--ghost {
- opacity: 0.18;
- filter: blur(0.5px) hue-rotate(150deg) saturate(0.5);
- pointer-events: none;
-}
-
-.h-avatar-stage--trio {
- flex-direction: row;
- align-items: flex-end;
- justify-content: center;
- gap: 4vw;
- padding-bottom: 4vh;
-}
-
-.h-avatar-wrap--trio {
- width: clamp(140px, 20vw, 300px);
- aspect-ratio: 2 / 3;
-}
-
-.h-avatar-viewer--tall {
- border-radius: 8px;
- display: block;
- width: 100%;
- height: 100%;
-}
-
-/* ── Sticky act text (same as h-hero-text but for acts 2/3) ─────────────── */
-
-.h-act-text {
- position: sticky;
- top: 0;
- height: 100vh;
- margin-bottom: -100vh;
- z-index: 20;
- display: flex;
- flex-direction: column;
- justify-content: flex-end;
- padding: 0 var(--space-lg) clamp(2.5rem, 6vh, 5rem);
- pointer-events: none;
- max-width: 640px;
-}
-
-.h-act-text > * {
- pointer-events: auto;
-}
-
-.h-act-eyebrow {
- display: inline-flex;
- align-items: center;
- gap: 0.5rem;
- font-size: 13px;
- font-weight: 500;
- letter-spacing: 0.12em;
- text-transform: uppercase;
- color: rgba(255, 255, 255, 0.65);
- margin-bottom: 1rem;
- font-family: 'Space Grotesk', 'Inter', sans-serif;
-}
-
-.h-act-dot {
- width: 6px;
- height: 6px;
- border-radius: 50%;
- background: var(--features-gold, #ffd76a);
- box-shadow: 0 0 12px var(--features-gold, #ffd76a);
-}
-
-.h-act-dot--mint {
- background: #6ee7b7;
- box-shadow: 0 0 12px #6ee7b7;
-}
-
-.h-act-title {
- font-size: clamp(2rem, 5.5vw, 4rem);
- font-weight: 600;
- line-height: 1.05;
- letter-spacing: -0.02em;
- margin: 0 0 1rem;
- color: #fff;
-}
-
-.h-act-title em {
- font-style: italic;
- font-weight: 500;
- color: #ffd76a;
-}
-
-.h-act-title--mint em {
- color: #6ee7b7;
-}
-
-.h-act-lede {
- font-size: clamp(1rem, 1.4vw, 1.15rem);
- line-height: 1.55;
- color: rgba(255, 255, 255, 0.68);
- max-width: 52ch;
- margin: 0 0 1.4rem;
-}
-
-.h-act-cta {
- display: flex;
- gap: 0.75rem;
- flex-wrap: wrap;
- margin-top: 0.5rem;
-}
-
-/* ── Avatar picker ───────────────────────────────────────────────────────── */
-
-.h-avatar-picker {
- display: flex;
- gap: 0.5rem;
- margin-bottom: 1rem;
-}
-
-.h-av-opt {
- padding: 0.45rem 1.1rem;
- background: rgba(255, 255, 255, 0.04);
- border: 1px solid rgba(255, 255, 255, 0.12);
- border-radius: 6px;
- color: rgba(255, 255, 255, 0.65);
- font-size: 13px;
- font-weight: 500;
- font-family: 'Space Grotesk', 'Inter', sans-serif;
- cursor: pointer;
- transition: all 0.2s ease;
-}
-
-.h-av-opt[aria-pressed='true'] {
- background: rgba(255, 215, 106, 0.16);
- border-color: #ffd76a;
- color: #ffd76a;
-}
-
-.h-av-opt:hover {
- border-color: rgba(255, 255, 255, 0.3);
- color: #fff;
-}
-
-/* ── Animation chips ─────────────────────────────────────────────────────── */
-
-.h-anim-chips {
- display: flex;
- flex-wrap: wrap;
- gap: 0.5rem;
- margin-bottom: 1.2rem;
-}
-
-.h-anim-chip {
- display: inline-flex;
- align-items: center;
- gap: 0.35rem;
- padding: 0.5rem 0.9rem;
- background: rgba(255, 255, 255, 0.04);
- border: 1px solid rgba(255, 215, 106, 0.2);
- border-radius: 6px;
- color: rgba(255, 255, 255, 0.8);
- font-size: 13px;
- font-weight: 500;
- font-family: 'Space Grotesk', 'Inter', sans-serif;
- cursor: pointer;
- transition: all 0.15s ease;
-}
-
-.h-anim-chip:hover,
-.h-anim-chip[data-active='true'] {
- background: rgba(255, 215, 106, 0.16);
- border-color: #ffd76a;
- color: #ffd76a;
-}
-
-.h-anim-chip[hidden] {
- display: none;
-}
-
-/* ── Deploy form ─────────────────────────────────────────────────────────── */
-
-.h-deploy-form {
- display: flex;
- flex-direction: column;
- gap: 1rem;
- max-width: 400px;
-}
-
-.h-form-row {
- display: flex;
- flex-direction: column;
- gap: 0.35rem;
-}
-
-.h-form-label {
- font-size: 11px;
- font-weight: 500;
- letter-spacing: 0.12em;
- text-transform: uppercase;
- color: rgba(255, 255, 255, 0.42);
- font-family: 'Space Grotesk', 'Inter', sans-serif;
-}
-
-.h-form-input,
-.h-form-select {
- background: rgba(255, 255, 255, 0.04);
- border: 1px solid rgba(110, 231, 183, 0.25);
- border-radius: 8px;
- padding: 0.7rem 1rem;
- color: #fff;
- font-size: 15px;
- font-family: 'Space Grotesk', 'Inter', sans-serif;
- outline: none;
- transition: border-color 0.2s ease;
- width: 100%;
-}
-
-.h-form-input:focus,
-.h-form-select:focus {
- border-color: #6ee7b7;
- background: rgba(110, 231, 183, 0.04);
-}
-
-.h-form-input::placeholder {
- color: rgba(255, 255, 255, 0.22);
-}
-
-.h-form-select option {
- background: #0a120e;
- color: #fff;
-}
-
-.h-deploy-stats {
- display: flex;
- gap: 2rem;
- padding: 0.5rem 0;
-}
-
-.h-stat-label {
- display: block;
- font-size: 10px;
- letter-spacing: 0.14em;
- text-transform: uppercase;
- color: rgba(255, 255, 255, 0.38);
- font-family: 'Space Grotesk', 'Inter', sans-serif;
- margin-bottom: 0.2rem;
-}
-
-.h-stat-val {
- display: block;
- font-size: 1.15rem;
- font-weight: 600;
- color: #6ee7b7;
- font-family: 'Space Grotesk', 'Inter', sans-serif;
-}
-
-.h-btn-deploy {
- background: #6ee7b7 !important;
- color: #04201a !important;
- border-color: #6ee7b7 !important;
- width: fit-content;
-}
-
-/* ── Flat sections below hero need explicit bg to cover star layer ───────── */
-
-.home-parallax .h-section,
-.home-parallax .h-section-dark,
-.home-parallax .h-cta-section,
-.home-parallax .h-footer {
- position: relative;
- z-index: 30;
- background: #06070b;
-}
-
-.home-parallax .h-section-dark {
- background: rgba(255, 255, 255, 0.018);
-}
-
-/* ── Skip to content (a11y) ── */
-
-.h-skip-link {
- position: absolute;
- top: 0;
- left: 0;
- padding: 0.6rem 1rem;
- background: #fff;
- color: #000;
- font-size: var(--text-sm);
- font-weight: 500;
- text-decoration: none;
- border-radius: 0 0 var(--radius-sm) 0;
- transform: translateY(-110%);
- transition: transform 0.18s ease;
- z-index: 9999;
-}
-
-.h-skip-link:focus {
- transform: translateY(0);
- outline: 2px solid #ffd76a;
- outline-offset: 2px;
-}
-
-/* ── Focus-visible outlines (a11y) ── */
-
-.home-page a:focus-visible,
-.home-page button:focus-visible,
-.home-nav a:focus-visible,
-.h-btn-primary:focus-visible,
-.h-btn-ghost:focus-visible,
-.h-feature-link:focus-visible,
-.h-footer a:focus-visible {
- outline: 2px solid #ffd76a;
- outline-offset: 3px;
- border-radius: var(--radius-sm);
-}
-
-.home-main {
- width: 100%;
-}
-
-/* ── Nav ── */
-
-.home-nav {
- margin-left: auto;
- display: flex;
- align-items: center;
- gap: var(--space-lg);
- -webkit-app-region: no-drag;
-}
-
-.home-nav a {
- color: rgba(255, 255, 255, 0.6);
- text-decoration: none;
- font-size: 0.92rem;
- font-weight: 500;
- letter-spacing: 0.005em;
- font-family: 'Space Grotesk', 'Inter', sans-serif;
- transition: color 0.2s ease;
-}
-
-.home-nav a:hover {
- color: #fff;
-}
-
-.home-nav .nav-cta {
- padding: 0.5rem 1.2rem;
- background: linear-gradient(135deg, #ffd76a 0%, #ff8f4d 100%);
- color: #1a0f08;
- border-radius: 6px;
- font-weight: 600;
- font-size: 0.9rem;
- box-shadow: 0 4px 18px -6px rgba(255, 143, 77, 0.6);
- transition:
- transform 0.25s cubic-bezier(0.2, 0.9, 0.3, 1),
- box-shadow 0.25s ease;
-}
-
-.home-nav .nav-cta:hover {
- transform: translateY(-1px) scale(1.03);
- box-shadow: 0 8px 24px -6px rgba(255, 143, 77, 0.8);
- color: #1a0f08;
-}
-
-.home-nav .nav-user {
- display: inline-flex;
- align-items: center;
- gap: 6px;
- padding: 4px 10px;
- border-radius: 20px;
- border: 1px solid rgba(255, 255, 255, 0.1);
- background: rgba(255, 255, 255, 0.04);
- font-size: 0.85rem;
- color: rgba(255, 255, 255, 0.55);
- max-width: 140px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
-}
-
-.home-nav .nav-user::before {
- content: '';
- width: 6px;
- height: 6px;
- border-radius: 50%;
- background: #4ade80;
- flex-shrink: 0;
-}
-
-.home-nav .nav-user:hover {
- color: rgba(255, 255, 255, 0.85);
- border-color: rgba(255, 255, 255, 0.2);
- background: rgba(255, 255, 255, 0.07);
-}
-
-/* ── Dropdown nav ── */
-.home-nav .nav-root,
-.home-nav .nav-menu {
- list-style: none !important;
- margin: 0;
- padding: 0;
-}
-
-.home-nav .nav-root {
- display: flex !important;
- align-items: center;
- gap: var(--space-lg);
-}
-
-.home-nav .nav-item {
- position: relative;
- display: block;
-}
-
-.home-nav .nav-item[hidden] {
- display: none !important;
-}
-
-.home-nav .nav-menu li {
- display: block;
- margin: 0;
- padding: 0;
-}
-
-.home-nav .nav-trigger {
- display: inline-flex;
- align-items: center;
- gap: 4px;
- background: none;
- border: 0;
- padding: 0;
- cursor: pointer;
- color: rgba(255, 255, 255, 0.6);
- font: inherit;
- font-size: 0.92rem;
- font-weight: 500;
- letter-spacing: 0.005em;
- font-family: 'Space Grotesk', 'Inter', sans-serif;
- transition: color 0.2s ease;
-}
-
-.home-nav .nav-trigger:hover,
-.home-nav .nav-trigger[aria-expanded='true'] {
- color: #fff;
-}
-
-.home-nav .nav-caret {
- font-size: 0.7em;
- opacity: 0.7;
- transition: transform 0.2s ease;
-}
-
-.home-nav .nav-trigger[aria-expanded='true'] .nav-caret {
- transform: rotate(180deg);
-}
-
-.home-nav .nav-menu {
- position: absolute;
- top: calc(100% + 14px);
- left: -12px;
- min-width: 240px;
- margin: 0;
- padding: 8px;
- list-style: none;
- background: rgba(14, 12, 22, 0.92);
- backdrop-filter: blur(18px) saturate(140%);
- -webkit-backdrop-filter: blur(18px) saturate(140%);
- border: 1px solid rgba(255, 255, 255, 0.08);
- border-radius: 12px;
- box-shadow:
- 0 20px 40px -12px rgba(0, 0, 0, 0.6),
- 0 4px 12px -4px rgba(0, 0, 0, 0.5);
- opacity: 0;
- transform: translateY(-6px);
- pointer-events: none;
- transition:
- opacity 0.18s ease,
- transform 0.18s ease;
- z-index: 1000;
-}
-
-.home-nav .nav-trigger[aria-expanded='true'] + .nav-menu {
- opacity: 1;
- transform: translateY(0);
- pointer-events: auto;
-}
-
-.home-nav .nav-menu a {
- display: flex;
- flex-direction: column;
- gap: 2px;
- padding: 10px 12px;
- border-radius: 8px;
- color: rgba(255, 255, 255, 0.85);
- text-decoration: none;
- transition:
- background 0.15s ease,
- color 0.15s ease;
-}
-
-.home-nav .nav-menu a:hover,
-.home-nav .nav-menu a:focus-visible {
- background: rgba(255, 255, 255, 0.06);
- color: #fff;
-}
-
-.home-nav .nav-mi-title {
- font-size: 0.92rem;
- font-weight: 500;
- letter-spacing: 0.005em;
-}
-
-.home-nav .nav-mi-sub {
- font-size: 0.78rem;
- color: rgba(255, 255, 255, 0.45);
- font-weight: 400;
-}
-
-.home-nav .nav-menu a:hover .nav-mi-sub,
-.home-nav .nav-menu a:focus-visible .nav-mi-sub {
- color: rgba(255, 255, 255, 0.65);
-}
-
-@media (max-width: 900px) {
- .home-nav .nav-root {
- gap: var(--space-md);
- flex-wrap: wrap;
- justify-content: flex-end;
- }
- .home-nav .nav-menu {
- left: auto;
- right: 0;
- }
-}
-
-/* ── Scroll reveal ── */
-
-.h-reveal {
- opacity: 0;
- transform: translateY(20px);
- transition:
- opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
- transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
-}
-
-.h-reveal.revealed {
- opacity: 1;
- transform: translateY(0);
-}
-
-/* ── Hero ── */
-
-.h-hero {
- position: relative;
- display: grid;
- grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
- align-items: center;
- gap: var(--space-2xl);
- min-height: 100vh;
- max-width: 1280px;
- margin: 0 auto;
- padding: calc(var(--space-2xl) + 2rem) var(--space-lg) var(--space-2xl);
- overflow: hidden;
- isolation: isolate;
-}
-
-.h-hero-bg {
- position: absolute;
- inset: 0;
- pointer-events: none;
- z-index: 0;
- overflow: hidden;
-}
-
-.h-hero-grid {
- position: absolute;
- inset: -1px;
- background-image:
- linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
- linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
- background-size: 64px 64px;
- mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
- -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
-}
-
-.h-hero-mesh {
- position: absolute;
- inset: -20%;
- background:
- radial-gradient(40% 50% at 72% 38%, rgba(255, 200, 60, 0.13) 0%, transparent 60%),
- radial-gradient(35% 45% at 20% 72%, rgba(80, 200, 255, 0.08) 0%, transparent 65%),
- radial-gradient(55% 40% at 50% 100%, rgba(120, 80, 255, 0.05) 0%, transparent 60%);
- filter: blur(40px);
- animation: hMeshDrift 20s ease-in-out infinite alternate;
-}
-
-@keyframes hMeshDrift {
- 0% {
- transform: translate3d(0, 0, 0) scale(1);
- }
- 50% {
- transform: translate3d(-2%, 1.5%, 0) scale(1.04);
- }
- 100% {
- transform: translate3d(2%, -1%, 0) scale(1.02);
- }
-}
-
-.h-hero-glow-a {
- position: absolute;
- width: 700px;
- height: 700px;
- border-radius: 50%;
- background: radial-gradient(circle, rgba(255, 200, 60, 0.11) 0%, transparent 65%);
- top: 38%;
- right: -6%;
- transform: translateY(-50%);
- filter: blur(18px);
- animation: hBreath 6s ease-in-out infinite;
-}
-
-.h-hero-glow-b {
- position: absolute;
- width: 400px;
- height: 400px;
- border-radius: 50%;
- background: radial-gradient(circle, rgba(80, 220, 255, 0.07) 0%, transparent 65%);
- bottom: -8%;
- left: -2%;
- filter: blur(18px);
- animation: hBreathB 9s ease-in-out infinite;
-}
-
-@keyframes hBreath {
- 0%,
- 100% {
- opacity: 0.85;
- transform: translateY(-50%) scale(1);
- }
- 50% {
- opacity: 1;
- transform: translateY(-50%) scale(1.06);
- }
-}
-
-@keyframes hBreathB {
- 0%,
- 100% {
- opacity: 0.7;
- transform: scale(1);
- }
- 50% {
- opacity: 1;
- transform: scale(1.09);
- }
-}
-
-/* ── Hero content ── */
-
-.h-hero-content {
- position: relative;
- z-index: 2;
-}
-
-.h-eyebrow {
- display: inline-flex;
- align-items: center;
- gap: 0.6rem;
- padding: 0.5rem 1.1rem;
- background: rgba(255, 175, 60, 0.08);
- border: 1px solid rgba(255, 175, 60, 0.25);
- border-radius: 6px;
- font-size: 0.85rem;
- color: rgba(255, 220, 150, 0.9);
- letter-spacing: 0.01em;
- margin-bottom: var(--space-lg);
- backdrop-filter: blur(12px);
- -webkit-backdrop-filter: blur(12px);
- font-family: 'Space Grotesk', 'Inter', sans-serif;
- font-weight: 500;
-}
-
-.h-eyebrow-dot {
- width: 6px;
- height: 6px;
- border-radius: 50%;
- background: #4ade80;
- box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
- animation: hDotPulse 2.4s ease-out infinite;
-}
-
-@keyframes hDotPulse {
- 0% {
- box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55);
- }
- 70% {
- box-shadow: 0 0 0 8px rgba(74, 222, 128, 0);
- }
- 100% {
- box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
- }
-}
-
-.h-title {
- font-family: 'Space Grotesk', 'Inter', sans-serif;
- font-size: clamp(3.2rem, 8.5vw, 6.4rem);
- font-weight: 700;
- color: #fff;
- line-height: 0.98;
- margin: 0 0 var(--space-lg);
- letter-spacing: -0.04em;
- text-wrap: balance;
-}
-
-.h-title em {
- font-style: normal;
- background: linear-gradient(100deg, #ffd76a 0%, #ff8f4d 25%, #ff5ea0 55%, #b96bff 85%);
- background-size: 220% 100%;
- -webkit-background-clip: text;
- background-clip: text;
- color: transparent;
- animation: hTitleShimmer 6s ease-in-out infinite;
-}
-
-@keyframes hTitleShimmer {
- 0%,
- 100% {
- background-position: 0% 50%;
- }
- 50% {
- background-position: 100% 50%;
- }
-}
-
-.h-subtitle {
- font-size: clamp(1.1rem, 1.4vw, 1.32rem);
- color: rgba(255, 255, 255, 0.72);
- font-weight: 400;
- line-height: 1.55;
- max-width: 32em;
- margin: 0 0 var(--space-xl);
-}
-
-.h-cta-row {
- display: flex;
- gap: var(--space-md);
- flex-wrap: wrap;
- margin-bottom: var(--space-xl);
-}
-
-.h-btn-primary {
- display: inline-flex;
- align-items: center;
- gap: 0.55em;
- padding: 0.95rem 1.85rem;
- background: linear-gradient(135deg, #ffd76a 0%, #ff8f4d 100%);
- color: #1a0f08;
- font-size: 0.95rem;
- font-weight: 600;
- border-radius: 8px;
- text-decoration: none;
- letter-spacing: 0.005em;
- font-family: 'Space Grotesk', 'Inter', sans-serif;
- transition: all 0.3s cubic-bezier(0.2, 0.9, 0.3, 1);
- box-shadow:
- 0 6px 24px -8px rgba(255, 143, 77, 0.55),
- 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
-}
-
-.h-btn-primary:hover {
- transform: translateY(-2px) scale(1.02);
- box-shadow:
- 0 12px 32px -8px rgba(255, 143, 77, 0.7),
- 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
-}
-
-.h-btn-primary .arrow {
- transition: transform 0.25s ease;
-}
-
-.h-btn-primary:hover .arrow {
- transform: translateX(3px);
-}
-
-.h-btn-ghost {
- display: inline-flex;
- align-items: center;
- gap: 0.4em;
- padding: 0.95rem 1.6rem;
- color: rgba(255, 255, 255, 0.85);
- font-size: 0.95rem;
- font-weight: 500;
- text-decoration: none;
- letter-spacing: 0.005em;
- font-family: 'Space Grotesk', 'Inter', sans-serif;
- border: 1px solid rgba(255, 255, 255, 0.18);
- border-radius: 8px;
- transition: all 0.3s cubic-bezier(0.2, 0.9, 0.3, 1);
- background: rgba(255, 255, 255, 0.03);
- backdrop-filter: blur(8px);
- -webkit-backdrop-filter: blur(8px);
-}
-
-.h-btn-ghost:hover {
- color: #fff;
- border-color: rgba(255, 215, 106, 0.5);
- background: rgba(255, 215, 106, 0.06);
- transform: translateY(-1px);
-}
-
-.h-standards {
- list-style: none;
- padding: 0;
- margin: 0;
- display: flex;
- flex-wrap: wrap;
- gap: var(--space-md) var(--space-lg);
- font-family: 'JetBrains Mono', monospace;
- font-size: 0.68rem;
- color: rgba(255, 255, 255, 0.3);
- letter-spacing: 0.14em;
- text-transform: uppercase;
-}
-
-.h-standards li {
- position: relative;
-}
-
-.h-standards li + li::before {
- content: '';
- position: absolute;
- left: calc(var(--space-lg) * -0.5);
- top: 50%;
- width: 2px;
- height: 2px;
- border-radius: 50%;
- background: rgba(255, 255, 255, 0.2);
- transform: translateY(-50%);
-}
-
-/* ── Hero avatar column ── */
-
-.h-hero-visual {
- position: relative;
- z-index: 1;
- width: 100%;
- aspect-ratio: 1 / 1;
- max-width: 600px;
- justify-self: end;
- display: flex;
- align-items: center;
- justify-content: center;
-}
-
-.h-avatar-viewer {
- width: 100%;
- height: 100%;
- background: transparent;
- --poster-color: transparent;
- border-radius: 50%;
- outline: none;
- position: relative;
- z-index: 2;
-}
-
-.h-avatar-ring {
- position: absolute;
- inset: 4%;
- border-radius: 50%;
- background: conic-gradient(
- from 140deg,
- rgba(255, 200, 60, 0) 0deg,
- rgba(255, 200, 60, 0.55) 60deg,
- rgba(255, 100, 180, 0.4) 180deg,
- rgba(157, 140, 255, 0.35) 260deg,
- rgba(255, 200, 60, 0) 360deg
- );
- filter: blur(1px);
- opacity: 0.9;
- animation: hRingSpin 30s linear infinite;
- mask: radial-gradient(circle, transparent 56%, #000 57%, #000 64%, transparent 65%);
- -webkit-mask: radial-gradient(circle, transparent 56%, #000 57%, #000 64%, transparent 65%);
- pointer-events: none;
- z-index: 1;
-}
-
-@keyframes hRingSpin {
- to {
- transform: rotate(360deg);
- }
-}
-
-.h-avatar-glow {
- position: absolute;
- inset: 8%;
- border-radius: 50%;
- background:
- radial-gradient(circle at 50% 50%, rgba(255, 200, 60, 0.12) 0%, transparent 60%),
- radial-gradient(circle at 40% 70%, rgba(125, 249, 255, 0.07) 0%, transparent 55%);
- box-shadow: 0 40px 120px -20px rgba(255, 200, 60, 0.16);
- animation: hBreath 5s ease-in-out infinite;
- pointer-events: none;
- z-index: 0;
-}
-
-.h-avatar-badge {
- position: absolute;
- bottom: 9%;
- right: 0;
- display: inline-flex;
- align-items: center;
- gap: 0.6em;
- padding: 0.5rem 0.9rem;
- background: rgba(10, 10, 14, 0.72);
- border: 1px solid rgba(255, 255, 255, 0.07);
- border-radius: var(--radius-lg);
- font-family: 'JetBrains Mono', monospace;
- font-size: 0.68rem;
- color: rgba(255, 255, 255, 0.75);
- backdrop-filter: blur(12px);
- -webkit-backdrop-filter: blur(12px);
- z-index: 3;
- box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.6);
-}
-
-.h-avatar-badge-label {
- color: rgba(255, 215, 0, 0.65);
- letter-spacing: 0.08em;
- text-transform: uppercase;
- font-size: 0.58rem;
-}
-
-.h-scroll-hint {
- position: absolute;
- bottom: var(--space-lg);
- left: 50%;
- transform: translateX(-50%);
- display: flex;
- flex-direction: column;
- align-items: center;
- gap: 0.5rem;
- font-family: 'JetBrains Mono', monospace;
- font-size: 0.58rem;
- color: rgba(255, 255, 255, 0.22);
- letter-spacing: 0.25em;
- text-transform: uppercase;
- z-index: 2;
- pointer-events: none;
-}
-
-.h-scroll-line {
- width: 1px;
- height: 32px;
- background: linear-gradient(to bottom, rgba(255, 255, 255, 0.28), transparent);
- animation: hScrollLine 2.2s ease-in-out infinite;
- transform-origin: top;
-}
-
-@keyframes hScrollLine {
- 0% {
- transform: scaleY(0);
- opacity: 0;
- }
- 40% {
- opacity: 1;
- }
- 100% {
- transform: scaleY(1);
- opacity: 0;
- }
-}
-
-/* ── Section base ── */
-
-.h-section {
- padding: var(--space-2xl) var(--space-lg);
- max-width: 1080px;
- margin: 0 auto;
-}
-
-.h-section-dark {
- max-width: none;
- background: rgba(255, 255, 255, 0.018);
- border-top: 1px solid rgba(255, 255, 255, 0.04);
- border-bottom: 1px solid rgba(255, 255, 255, 0.04);
- padding: var(--space-2xl) var(--space-lg);
-}
-
-.h-section-dark > .h-section-inner {
- max-width: 1080px;
- margin: 0 auto;
-}
-
-.h-section-label {
- font-family: 'Space Grotesk', 'Inter', sans-serif;
- font-size: 0.78rem;
- color: rgba(255, 175, 60, 0.85);
- letter-spacing: 0.18em;
- text-transform: uppercase;
- margin: 0 0 1rem;
- text-align: center;
- font-weight: 600;
-}
-
-.h-section-title {
- font-family: 'Space Grotesk', 'Inter', sans-serif;
- font-size: clamp(2.2rem, 4.2vw, 3.6rem);
- font-weight: 700;
- color: #fff;
- line-height: 1.05;
- margin: 0 0 var(--space-md);
- text-align: center;
- letter-spacing: -0.03em;
- text-wrap: balance;
-}
-
-.h-section-sub {
- font-size: var(--text-base);
- color: rgba(255, 255, 255, 0.4);
- font-weight: 300;
- text-align: center;
- max-width: 36em;
- margin: 0 auto var(--space-2xl);
- line-height: var(--leading-normal);
-}
-
-/* ── Steps ── */
-
-.h-steps {
- display: grid;
- grid-template-columns: repeat(3, 1fr);
- gap: var(--space-xl);
- position: relative;
-}
-
-.h-steps::before {
- content: '';
- position: absolute;
- top: 1.8rem;
- left: calc(33.333% + 1rem);
- right: calc(33.333% + 1rem);
- height: 1px;
- background: linear-gradient(to right, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.08));
-}
-
-.h-step {
- padding: var(--space-lg);
- border: 1px solid rgba(255, 255, 255, 0.06);
- border-radius: var(--radius-lg);
- transition:
- border-color 0.3s ease,
- transform 0.3s ease;
- position: relative;
-}
-
-.h-step:hover {
- border-color: rgba(255, 255, 255, 0.12);
- transform: translateY(-2px);
-}
-
-.h-step-num {
- font-family: 'JetBrains Mono', monospace;
- font-size: var(--text-2xl);
- font-weight: 600;
- color: rgba(255, 215, 0, 0.13);
- line-height: 1;
- margin-bottom: var(--space-sm);
-}
-
-.h-step h3 {
- color: #fff;
- font-size: var(--text-lg);
- font-weight: 500;
- margin: 0 0 var(--space-xs);
-}
-
-.h-step p {
- color: rgba(255, 255, 255, 0.42);
- font-size: var(--text-sm);
- line-height: var(--leading-normal);
- margin: 0;
-}
-
-/* ── Feature rows (alternating, Avaturn-style) ── */
-
-.h-feature {
- display: grid;
- grid-template-columns: 1fr 1fr;
- gap: var(--space-2xl);
- align-items: center;
- padding: var(--space-2xl) var(--space-lg);
- max-width: 1080px;
- margin: 0 auto;
-}
-
-.h-feature.h-feature-flip {
- direction: rtl;
-}
-
-.h-feature.h-feature-flip > * {
- direction: ltr;
-}
-
-.h-feature-text h3 {
- font-size: clamp(1.5rem, 2.5vw, 2.2rem);
- font-weight: 600;
- color: #fff;
- line-height: 1.1;
- margin: 0 0 var(--space-md);
- letter-spacing: -0.02em;
-}
-
-.h-feature-text p {
- font-size: var(--text-base);
- color: rgba(255, 255, 255, 0.45);
- font-weight: 300;
- line-height: var(--leading-normal);
- margin: 0 0 var(--space-lg);
-}
-
-.h-feature-link {
- display: inline-flex;
- align-items: center;
- gap: 0.4em;
- font-size: var(--text-sm);
- color: rgba(255, 215, 0, 0.75);
- text-decoration: none;
- letter-spacing: 0.02em;
- transition:
- color 0.2s ease,
- gap 0.2s ease;
-}
-
-.h-feature-link:hover {
- color: #ffd76a;
- gap: 0.7em;
-}
-
-.h-feature-visual {
- border-radius: var(--radius-lg);
- background: rgba(255, 255, 255, 0.02);
- border: 1px solid rgba(255, 255, 255, 0.06);
- overflow: hidden;
- display: flex;
- align-items: center;
- justify-content: center;
- min-height: 280px;
- position: relative;
-}
-
-.h-feature-visual model-viewer {
- width: 100%;
- height: 320px;
- background: transparent;
- --poster-color: transparent;
-}
-
-/* Widget preview card */
-.h-widget-preview {
- padding: var(--space-lg);
- width: 100%;
-}
-
-.h-widget-card {
- background: rgba(255, 255, 255, 0.03);
- border: 1px solid rgba(255, 255, 255, 0.07);
- border-radius: var(--radius-lg);
- padding: var(--space-md);
- margin-bottom: var(--space-sm);
-}
-
-.h-widget-card-label {
- font-family: 'JetBrains Mono', monospace;
- font-size: 0.65rem;
- color: rgba(255, 215, 0, 0.6);
- letter-spacing: 0.12em;
- text-transform: uppercase;
- margin-bottom: var(--space-xs);
-}
-
-.h-widget-card-title {
- color: #fff;
- font-size: var(--text-sm);
- font-weight: 500;
- margin-bottom: var(--space-xs);
-}
-
-.h-widget-card-desc {
- color: rgba(255, 255, 255, 0.35);
- font-size: 0.75rem;
-}
-
-.h-embed-code {
- background: #0a0a0a;
- border: 1px solid rgba(255, 255, 255, 0.05);
- border-radius: var(--radius-sm);
- padding: var(--space-sm) var(--space-md);
- font-family: 'JetBrains Mono', monospace;
- font-size: 0.68rem;
- color: rgba(255, 255, 255, 0.45);
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- margin-top: var(--space-sm);
-}
-
-.h-embed-code .tag {
- color: rgba(125, 200, 255, 0.8);
-}
-.h-embed-code .attr {
- color: rgba(168, 204, 140, 0.8);
-}
-
-/* Identity card */
-.h-identity-card {
- padding: var(--space-lg);
- width: 100%;
-}
-
-.h-id-header {
- display: flex;
- align-items: center;
- gap: var(--space-sm);
- margin-bottom: var(--space-md);
-}
-
-.h-id-dot {
- width: 8px;
- height: 8px;
- border-radius: 50%;
- background: #4ade80;
-}
-
-.h-id-title {
- font-family: 'JetBrains Mono', monospace;
- font-size: 0.7rem;
- color: rgba(255, 255, 255, 0.5);
- letter-spacing: 0.08em;
-}
-
-.h-id-row {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: var(--space-xs) 0;
- border-bottom: 1px solid rgba(255, 255, 255, 0.04);
- font-size: 0.75rem;
-}
-
-.h-id-row:last-child {
- border-bottom: none;
-}
-
-.h-id-key {
- font-family: 'JetBrains Mono', monospace;
- color: rgba(255, 255, 255, 0.3);
- letter-spacing: 0.05em;
-}
-
-.h-id-val {
- color: rgba(255, 255, 255, 0.65);
- font-family: 'JetBrains Mono', monospace;
- font-size: 0.7rem;
-}
-
-.h-id-val.gold {
- color: rgba(255, 215, 0, 0.7);
-}
-
-/* ── Final CTA ── */
-
-.h-cta-section {
- position: relative;
- z-index: 30;
- text-align: center;
- padding: clamp(5rem, 12vh, 10rem) var(--space-lg);
- background:
- radial-gradient(ellipse at 50% 0%, rgba(255, 175, 60, 0.18) 0%, transparent 50%),
- radial-gradient(ellipse at 50% 100%, rgba(140, 80, 220, 0.12) 0%, transparent 50%),
- linear-gradient(180deg, rgba(26, 14, 8, 0.6) 0%, #06070b 80%);
- overflow: hidden;
-}
-
-.h-cta-section::before {
- content: '';
- position: absolute;
- top: 0;
- left: 50%;
- width: 1px;
- height: 60px;
- background: linear-gradient(to bottom, transparent, rgba(255, 175, 60, 0.6), transparent);
- transform: translateX(-50%);
-}
-
-.h-cta-section h2 {
- font-family: 'Space Grotesk', 'Inter', sans-serif;
- font-size: clamp(2.6rem, 6vw, 4.6rem);
- font-weight: 700;
- color: #fff;
- line-height: 1;
- margin: 0 0 1.2rem;
- letter-spacing: -0.035em;
- text-wrap: balance;
-}
-
-.h-cta-section p {
- font-size: 1.15rem;
- color: rgba(255, 255, 255, 0.6);
- margin: 0 0 2rem;
- font-family: 'Space Grotesk', 'Inter', sans-serif;
-}
-
-.h-cta-row-center {
- display: flex;
- gap: var(--space-md);
- justify-content: center;
- flex-wrap: wrap;
-}
-
-/* ── Footer base (overridden by .h-footer-horizon above) ── */
-
-.h-footer {
- position: static;
- padding: var(--space-xl) var(--space-lg);
- pointer-events: auto;
-}
-
-/* ── Responsive ── */
-
-@media (prefers-reduced-motion: reduce) {
- .h-hero-mesh,
- .h-hero-glow-a,
- .h-hero-glow-b,
- .h-avatar-ring,
- .h-avatar-glow,
- .h-eyebrow-dot,
- .h-title em,
- .h-scroll-line,
- .h-star-canvas {
- animation: none !important;
- }
-
- .home-parallax {
- perspective: none;
- height: auto;
- overflow: visible;
- }
-
- .h-hero-act {
- height: auto;
- min-height: 100vh;
- }
-
- .h-layer {
- transform: none;
- animation: none;
- }
-
- .h-hero-text {
- position: relative;
- height: auto;
- margin-bottom: 0;
- }
-}
-
-@media screen and (max-width: 768px) {
- .home-parallax {
- perspective: none;
- height: auto;
- overflow: visible;
- }
-
- .h-hero-act {
- height: auto;
- min-height: 100vh;
- }
-
- .h-layer {
- transform: none;
- animation: none;
- position: absolute;
- }
-
- .h-avatar-stage {
- position: relative;
- height: 55vw;
- min-height: 280px;
- }
-
- .h-avatar-wrap {
- width: clamp(240px, 70vw, 360px);
- }
-
- .h-hero-text {
- position: relative;
- height: auto;
- margin-bottom: 0;
- padding: var(--space-lg) var(--space-md) var(--space-xl);
- text-align: center;
- }
-
- .h-cta-row {
- justify-content: center;
- }
-
- .h-standards {
- justify-content: center;
- }
-
- .h-cta-row {
- justify-content: center;
- }
-
- .h-standards {
- justify-content: center;
- }
-
- .h-steps {
- grid-template-columns: 1fr;
- gap: var(--space-md);
- }
-
- .h-steps::before {
- display: none;
- }
-
- .h-feature {
- grid-template-columns: 1fr;
- gap: var(--space-lg);
- padding: var(--space-xl) var(--space-md);
- }
-
- .h-feature.h-feature-flip {
- direction: ltr;
- }
-
- .h-section {
- padding: var(--space-xl) var(--space-md);
- }
-
- .h-section-dark {
- padding: var(--space-xl) var(--space-md);
- }
-
- .h-scroll-hint {
- display: none;
- }
-}
-
-/* ── prefers-reduced-motion ──────────────────────────────────────────────── */
-/*
- * Users who request reduced motion (vestibular disorders, slow devices, battery
- * saver) get: no looping animations, instant transitions, no parallax.
- * WebGL viewers are still shown but stop auto-rotating (handled in JS).
- */
-@media (prefers-reduced-motion: reduce) {
- /* kill ALL CSS animations and transitions site-wide */
- *,
- *::before,
- *::after {
- animation-duration: 0.01ms !important;
- animation-iteration-count: 1 !important;
- transition-duration: 0.01ms !important;
- scroll-behavior: auto !important;
- }
-
- /* reveal elements immediately — no fade/slide in */
- .h-reveal {
- opacity: 1;
- transform: none;
- }
-
- /* hide the star canvas entirely — it's decorative */
- .h-star-canvas {
- display: none;
- }
-
- /* flatten the CSS scroll-driven parallax layers */
- .h-layer {
- transform: none !important;
- }
-
- /* stop the hero avatar scroll-based float */
- .h-avatar-wrap {
- animation: none !important;
- }
-
- /* stop ambient glow / mesh drift */
- .h-hero-mesh,
- .h-hero-glow-a,
- .h-hero-glow-b,
- .h-hero-haze {
- animation: none !important;
- }
-
- /* stop the floor scroll ribbon */
- .h-floor-ribbon {
- animation: none !important;
- }
-
- /* stop the status dot pulse */
- .h-status-dot::before {
- animation: none !important;
- }
-}
diff --git a/marketplace.css b/marketplace.css
deleted file mode 100644
index eebdb7361..000000000
--- a/marketplace.css
+++ /dev/null
@@ -1,2438 +0,0 @@
-/* Agent Marketplace — LobeHub-style discovery + detail */
-
-:root {
- --mk-bg: #0a0a0a;
- --mk-panel: #111;
- --mk-panel-2: #161616;
- --mk-border: #1f1f1f;
- --mk-border-2: #2a2a2a;
- --mk-text: #f4f4f5;
- --mk-text-2: #a1a1aa;
- --mk-text-3: #71717a;
- --mk-accent: #fafafa;
- --mk-radius: 14px;
-}
-
-html,
-body.market-page {
- margin: 0;
- background: var(--mk-bg);
- color: var(--mk-text);
- font-family:
- 'Inter',
- -apple-system,
- BlinkMacSystemFont,
- sans-serif;
- -webkit-font-smoothing: antialiased;
-}
-
-body.market-page {
- display: grid;
- grid-template-columns: 240px 1fr;
- min-height: 100vh;
-}
-
-/* ── Sidebar ─────────────────────────────────────────────────────────── */
-
-.market-sidebar {
- border-right: 1px solid var(--mk-border);
- padding: 16px 12px;
- position: sticky;
- top: 0;
- height: 100vh;
- display: flex;
- flex-direction: column;
- gap: 6px;
-}
-
-.market-logo {
- display: flex;
- align-items: center;
- gap: 10px;
- padding: 8px 10px;
- color: var(--mk-text-2);
- text-decoration: none;
- font-size: 13px;
-}
-
-.market-logo img {
- width: 22px;
- height: 22px;
-}
-
-.market-nav {
- display: flex;
- flex-direction: column;
- gap: 2px;
- margin-top: 10px;
-}
-
-.market-nav a {
- display: flex;
- align-items: center;
- gap: 12px;
- padding: 9px 12px;
- border-radius: 8px;
- text-decoration: none;
- color: var(--mk-text-2);
- font-size: 14px;
-}
-
-.market-nav a:hover {
- background: var(--mk-panel);
- color: var(--mk-text);
-}
-
-.market-nav a.active {
- background: var(--mk-panel-2);
- color: var(--mk-text);
-}
-
-.market-nav .ico {
- width: 18px;
- display: inline-block;
- text-align: center;
- opacity: 0.7;
-}
-
-/* ── Topbar ──────────────────────────────────────────────────────────── */
-
-.market-main {
- min-width: 0;
- display: flex;
- flex-direction: column;
-}
-
-.market-topbar {
- display: flex;
- gap: 10px;
- padding: 14px 24px;
- border-bottom: 1px solid var(--mk-border);
- position: sticky;
- top: 0;
- background: rgba(10, 10, 10, 0.92);
- backdrop-filter: blur(8px);
- z-index: 10;
-}
-
-#market-search {
- flex: 1;
- background: var(--mk-panel);
- border: 1px solid var(--mk-border-2);
- border-radius: 10px;
- padding: 9px 14px;
- color: var(--mk-text);
- font-size: 14px;
- outline: none;
-}
-
-#market-search::placeholder {
- color: var(--mk-text-3);
-}
-
-.market-sort {
- background: var(--mk-panel);
- border: 1px solid var(--mk-border-2);
- border-radius: 10px;
- padding: 9px 12px;
- color: var(--mk-text);
- font-size: 13px;
- cursor: pointer;
-}
-
-/* ── Discovery body ──────────────────────────────────────────────────── */
-
-.market-body {
- display: grid;
- grid-template-columns: 240px 1fr;
- gap: 0;
- min-height: 0;
-}
-
-.market-cats {
- border-right: 1px solid var(--mk-border);
- padding: 12px 8px;
- display: flex;
- flex-direction: column;
- gap: 2px;
- max-height: calc(100vh - 60px);
- overflow-y: auto;
- position: sticky;
- top: 60px;
-}
-
-.cat-row {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 9px 12px;
- border-radius: 8px;
- cursor: pointer;
- color: var(--mk-text-2);
- font-size: 14px;
- user-select: none;
-}
-
-.cat-row:hover {
- background: var(--mk-panel);
- color: var(--mk-text);
-}
-
-.cat-row.active {
- background: var(--mk-panel-2);
- color: var(--mk-text);
-}
-
-.cat-row .count {
- color: var(--mk-text-3);
- font-size: 12px;
-}
-
-.market-grid {
- padding: 18px 24px 80px;
- display: grid;
- grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
- gap: 14px;
- align-content: start;
-}
-
-/* ── Category chips row ─────────────────────────────────────── */
-.market-cat-chips {
- display: flex;
- gap: 6px;
- padding: 8px 24px 2px;
- overflow-x: auto;
- scrollbar-width: none;
- -ms-overflow-style: none;
- flex-shrink: 0;
-}
-.market-cat-chips::-webkit-scrollbar { display: none; }
-.market-cat-chip {
- display: inline-flex;
- align-items: center;
- gap: 5px;
- padding: 5px 12px;
- border-radius: 999px;
- border: 1px solid var(--mk-border);
- background: var(--mk-panel);
- color: var(--mk-text-2);
- font-size: 12px;
- font-weight: 500;
- cursor: pointer;
- white-space: nowrap;
- transition: border-color 0.15s, background 0.15s, color 0.15s;
- flex-shrink: 0;
-}
-.market-cat-chip:hover {
- border-color: var(--mk-border-2);
- color: var(--mk-text);
-}
-.market-cat-chip.active {
- background: var(--mk-text);
- color: var(--mk-bg);
- border-color: var(--mk-text);
-}
-.market-cat-chip .cat-chip-count {
- font-size: 10px;
- opacity: 0.6;
- font-weight: 600;
-}
-
-/* ── Infinite scroll sentinel ─────────────────────────────── */
-.market-scroll-sentinel {
- height: 1px;
- grid-column: 1 / -1;
-}
-.market-loadmore-spinner {
- grid-column: 1 / -1;
- display: flex;
- justify-content: center;
- padding: 16px;
-}
-.market-loadmore-spinner::after {
- content: '';
- width: 20px;
- height: 20px;
- border: 2px solid var(--mk-border-2);
- border-top-color: var(--mk-text-2);
- border-radius: 50%;
- animation: mk-spin 0.7s linear infinite;
-}
-@keyframes mk-spin { to { transform: rotate(360deg); } }
-
-.market-card-agent {
- background: var(--mk-panel);
- border: 1px solid var(--mk-border);
- border-radius: var(--mk-radius);
- padding: 16px;
- display: flex;
- flex-direction: column;
- gap: 10px;
- cursor: pointer;
- transition: border-color 0.15s;
- min-height: 200px;
-}
-
-.market-card-agent:hover {
- border-color: var(--mk-border-2);
-}
-
-.market-card-agent .head {
- display: flex;
- align-items: center;
- gap: 12px;
-}
-
-.market-card-agent .avatar {
- width: 36px;
- height: 36px;
- border-radius: 8px;
- background: var(--mk-panel-2);
- display: grid;
- place-items: center;
- font-size: 18px;
-}
-
-.market-card-agent .title {
- font-weight: 600;
- font-size: 15px;
- margin: 0;
- color: var(--mk-text);
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
-}
-
-.market-card-agent .author {
- font-size: 12px;
- color: var(--mk-text-3);
- margin-top: 2px;
-}
-
-.market-card-agent .desc {
- font-size: 13px;
- color: var(--mk-text-2);
- line-height: 1.5;
- display: -webkit-box;
- -webkit-line-clamp: 3;
- -webkit-box-orient: vertical;
- overflow: hidden;
- flex: 1;
-}
-
-.market-card-agent .stats {
- display: flex;
- gap: 8px;
- flex-wrap: wrap;
-}
-
-.stat-pill {
- display: inline-flex;
- align-items: center;
- gap: 4px;
- background: var(--mk-panel-2);
- border-radius: 6px;
- padding: 3px 8px;
- font-size: 11px;
- color: var(--mk-text-2);
-}
-
-.market-card-agent .footer {
- display: flex;
- justify-content: space-between;
- align-items: center;
- border-top: 1px dashed var(--mk-border);
- padding-top: 10px;
- font-size: 11px;
- color: var(--mk-text-3);
-}
-
-.cat-pill {
- background: var(--mk-panel-2);
- color: var(--mk-text-2);
- border-radius: 999px;
- padding: 3px 10px;
- font-size: 11px;
- text-transform: capitalize;
-}
-
-.market-loadmore {
- text-align: center;
- padding: 20px;
-}
-
-.market-loadmore button {
- background: var(--mk-panel);
- color: var(--mk-text);
- border: 1px solid var(--mk-border-2);
- padding: 9px 22px;
- border-radius: 10px;
- cursor: pointer;
-}
-
-/* ── Avatar deep-link detail page ────────────────────────────────────── */
-
-.market-avatar-detail {
- flex: 1;
- min-height: 0;
- overflow-y: auto;
-}
-.market-avatar-detail-inner {
- max-width: 1200px;
- margin: 0 auto;
- padding: 0 24px 80px;
-}
-.market-avatar-detail-layout {
- display: grid;
- grid-template-columns: 1fr 380px;
- gap: 32px;
- min-height: 520px;
- padding: 8px 0 32px;
-}
-@media (max-width: 900px) {
- .market-avatar-detail-layout {
- grid-template-columns: 1fr;
- min-height: 0;
- }
-}
-.market-avatar-detail-stage {
- position: relative;
- background: linear-gradient(180deg, #0a0a0c 0%, #0d0d10 100%);
- border: 1px solid var(--mk-border);
- border-radius: 20px;
- overflow: hidden;
- min-height: 420px;
-}
-.market-avatar-detail-stage model-viewer {
- width: 100%;
- height: 100%;
- position: absolute;
- inset: 0;
- --poster-color: transparent;
- opacity: 0;
- transition: opacity 0.5s ease;
-}
-.market-avatar-detail-stage.mv-ready model-viewer { opacity: 1; }
-
-/* Loading bar inside stage */
-.avatar-detail-load-wrap {
- position: absolute;
- inset: 0;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- gap: 10px;
- pointer-events: none;
- transition: opacity 0.3s;
-}
-.market-avatar-detail-stage.mv-ready .avatar-detail-load-wrap { opacity: 0; }
-.avatar-detail-load-bar-outer {
- width: 160px;
- height: 2px;
- background: rgba(255,255,255,0.08);
- border-radius: 999px;
- overflow: hidden;
-}
-.avatar-detail-load-bar {
- height: 100%;
- width: 0;
- background: linear-gradient(90deg, #a78bfa, #6366f1);
- border-radius: 999px;
- transition: width 0.2s;
-}
-.avatar-detail-load-label {
- font-size: 11px;
- color: var(--mk-text-3);
- letter-spacing: 0.04em;
-}
-
-/* Empty / not-found state inside stage. Replaces the fake-loading bar when
- * the avatar can't be loaded, so the user gets a real CTA instead of a
- * spinner that never resolves. */
-.avatar-detail-empty {
- position: absolute;
- inset: 0;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- gap: 10px;
- padding: 24px;
- text-align: center;
-}
-.market-avatar-detail-stage.is-empty .avatar-detail-load-wrap { display: none; }
-.avatar-detail-empty-glyph {
- font-size: 40px;
- color: var(--mk-text-3);
- line-height: 1;
-}
-.avatar-detail-empty-title {
- margin: 4px 0 0;
- font-family: 'Space Grotesk', sans-serif;
- font-size: 18px;
- font-weight: 600;
- color: var(--mk-text);
-}
-.avatar-detail-empty-msg {
- margin: 0;
- font-size: 13px;
- color: var(--mk-text-2);
- max-width: 320px;
- line-height: 1.5;
-}
-.avatar-detail-empty-cta { margin-top: 6px; min-width: 160px; }
-
-/* Right column meta */
-.market-avatar-detail-meta {
- display: flex;
- flex-direction: column;
- gap: 14px;
- padding-top: 8px;
-}
-.market-avatar-detail-name {
- font-family: 'Space Grotesk', sans-serif;
- font-size: 28px;
- font-weight: 700;
- color: var(--mk-text);
- margin: 0;
- line-height: 1.1;
- word-break: break-word;
-}
-.market-avatar-detail-author {
- font-size: 13px;
- color: var(--mk-text-3);
- margin: 0;
-}
-.market-avatar-detail-author a { color: var(--mk-text-2); text-decoration: none; }
-.market-avatar-detail-author a:hover { color: var(--mk-text); text-decoration: underline; }
-.market-avatar-detail-desc {
- font-size: 14px;
- color: var(--mk-text-2);
- line-height: 1.55;
- margin: 0;
-}
-.market-avatar-detail-pills {
- display: flex;
- flex-wrap: wrap;
- gap: 6px;
-}
-.market-avatar-detail-actions {
- display: flex;
- flex-direction: column;
- gap: 10px;
- margin-top: 4px;
-}
-.market-avatar-detail-cta {
- background: var(--mk-text);
- color: var(--mk-bg);
- border: 0;
- padding: 13px 20px;
- border-radius: 12px;
- font-weight: 700;
- font-size: 14px;
- cursor: pointer;
- text-align: left;
- transition: opacity 0.15s;
-}
-.market-avatar-detail-cta:hover { opacity: 0.88; }
-.market-avatar-detail .btn-secondary {
- display: block;
- background: var(--mk-panel);
- color: var(--mk-text-2);
- border: 1px solid var(--mk-border-2);
- padding: 11px 16px;
- border-radius: 10px;
- font-size: 13px;
- font-weight: 500;
- text-align: center;
- text-decoration: none;
- cursor: pointer;
- transition: background 0.15s, color 0.15s;
-}
-.market-avatar-detail .btn-secondary:hover { background: var(--mk-panel-2); color: var(--mk-text); }
-
-/* Similar avatars */
-.market-avatar-detail-similar { margin-top: 12px; }
-
-/* ── Detail ──────────────────────────────────────────────────────────── */
-
-.market-detail {
- padding: 16px 24px 80px;
- max-width: 1400px;
-}
-
-.market-back {
- background: transparent;
- border: 0;
- color: var(--mk-text-2);
- font-size: 22px;
- cursor: pointer;
- padding: 6px 10px;
-}
-
-.market-detail-head {
- display: flex;
- align-items: center;
- gap: 18px;
- padding: 24px 8px 12px;
-}
-
-.market-detail-avatar {
- width: 58px;
- height: 58px;
- border-radius: 12px;
- background: var(--mk-panel-2);
- display: grid;
- place-items: center;
- font-size: 28px;
- flex-shrink: 0;
-}
-
-.market-detail-meta {
- flex: 1;
- min-width: 0;
-}
-
-.market-detail-meta h1 {
- margin: 0;
- font-size: 28px;
- font-weight: 700;
-}
-
-.market-detail-author {
- font-size: 13px;
- color: var(--mk-text-3);
- margin-top: 6px;
- display: flex;
- gap: 8px;
- align-items: center;
-}
-
-.market-detail-author .dot {
- color: var(--mk-text-3);
-}
-
-.forks-pill {
- background: var(--mk-panel-2);
- border-radius: 6px;
- padding: 2px 8px;
- font-size: 11px;
- color: var(--mk-text-2);
-}
-
-.market-detail-stats {
- margin-top: 10px;
- display: flex;
- gap: 8px;
- flex-wrap: wrap;
-}
-
-.market-bookmark {
- background: transparent;
- border: 0;
- color: var(--mk-text-2);
- font-size: 22px;
- cursor: pointer;
-}
-
-.market-bookmark.on {
- color: #fbbf24;
-}
-
-.market-tabs {
- display: flex;
- gap: 28px;
- border-bottom: 1px solid var(--mk-border);
- padding: 0 8px;
- overflow-x: auto;
-}
-
-.market-tabs button {
- background: transparent;
- border: 0;
- color: var(--mk-text-3);
- padding: 14px 0;
- font-size: 14px;
- cursor: pointer;
- border-bottom: 2px solid transparent;
- white-space: nowrap;
-}
-
-.market-tabs button.active {
- color: var(--mk-text);
- border-bottom-color: var(--mk-text);
-}
-
-.market-detail-body {
- display: grid;
- grid-template-columns: 1fr 360px;
- gap: 24px;
- padding-top: 24px;
-}
-
-.market-detail-content {
- min-width: 0;
-}
-
-.market-panel {
- display: none;
-}
-
-.market-panel.active {
- display: block;
-}
-
-.market-card {
- background: var(--mk-panel);
- border: 1px solid var(--mk-border);
- border-radius: var(--mk-radius);
- padding: 18px;
- margin-bottom: 18px;
-}
-
-.market-card h3 {
- margin: 0 0 12px;
- font-size: 15px;
- font-weight: 600;
-}
-
-.market-card p {
- color: var(--mk-text-2);
- line-height: 1.65;
- font-size: 14px;
- margin: 0;
-}
-
-.market-section-title {
- font-size: 22px;
- font-weight: 700;
- margin: 22px 0 14px;
-}
-
-.market-demo {
- background: var(--mk-panel);
- border: 1px solid var(--mk-border);
- border-radius: var(--mk-radius);
- padding: 22px;
- display: flex;
- gap: 14px;
-}
-
-.market-demo::before {
- content: '▣';
- width: 36px;
- height: 36px;
- border-radius: 8px;
- background: var(--mk-panel-2);
- display: grid;
- place-items: center;
- flex-shrink: 0;
-}
-
-.market-demo-bubble {
- background: var(--mk-panel-2);
- border-radius: 12px;
- padding: 12px 16px;
- color: var(--mk-text-2);
- line-height: 1.6;
- font-size: 14px;
- max-width: 540px;
-}
-
-.market-prose {
- white-space: pre-wrap;
- font-family: inherit;
- color: var(--mk-text-2);
- line-height: 1.7;
- background: var(--mk-panel);
- border: 1px solid var(--mk-border);
-}
-
-/* ── Pricing badges ──────────────────────────────────────────────────── */
-
-.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(52, 211, 153, 0.1);
-}
-
-.price-paid {
- color: #fde047;
- background-color: rgba(253, 224, 71, 0.1);
-}
-
-.paid-badge {
- background: #fef3c7;
- color: #92400e;
- font-weight: 600;
-}
-
-.purchase-btn {
- margin-left: 8px;
- padding: 4px 10px;
- background-color: #4f46e5;
- color: white;
- border: none;
- border-radius: 4px;
- cursor: pointer;
- font-size: 12px;
- font-weight: 600;
- transition: background-color 0.2s;
-}
-
-.purchase-btn:hover {
- background-color: #4338ca;
-}
-
-/* ── Skill rows ──────────────────────────────────────────────────────── */
-
-.skill-entry {
- display: inline-flex;
- align-items: center;
- gap: 6px;
- background: var(--mk-panel-2);
- border-radius: 6px;
- padding: 3px 8px;
- font-size: 12px;
- color: var(--mk-text-2);
-}
-
-.skill-row {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 8px 0;
- border-bottom: 1px solid rgba(255, 255, 255, 0.05);
-}
-
-.skill-row:last-child {
- border-bottom: none;
-}
-
-.skill-name {
- font-size: 14px;
- color: rgba(255, 255, 255, 0.9);
-}
-
-.skill-btn {
- background-color: #374151;
- color: #d1d5db;
- border: none;
- border-radius: 6px;
- padding: 4px 12px;
- font-size: 12px;
- font-weight: 500;
- cursor: pointer;
- transition: background-color 0.2s;
-}
-
-.skill-btn:disabled {
- background-color: #1f2937;
- color: #6b7280;
- cursor: not-allowed;
-}
-
-/* ── Skills / Library panels ─────────────────────────────────────────── */
-
-.market-skills,
-.market-library {
- background: var(--mk-panel);
- border: 1px solid var(--mk-border);
- border-radius: var(--mk-radius);
- padding: 28px;
- margin: 12px 0 22px;
- color: var(--mk-text-3);
- min-height: 140px;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- text-align: center;
- gap: 8px;
- font-size: 13px;
-}
-
-.muted {
- color: var(--mk-text-3);
- font-weight: 400;
- font-size: 13px;
-}
-
-/* ── Version history ─────────────────────────────────────────────────── */
-
-.market-versions {
- list-style: none;
- padding: 0;
- margin: 0;
-}
-
-.market-versions li {
- background: var(--mk-panel);
- border: 1px solid var(--mk-border);
- border-radius: var(--mk-radius);
- padding: 14px 16px;
- margin-bottom: 10px;
- display: flex;
- gap: 14px;
- align-items: baseline;
-}
-
-.market-versions .v {
- font-weight: 700;
- color: var(--mk-text);
-}
-
-.market-versions .when {
- color: var(--mk-text-3);
- font-size: 12px;
-}
-
-.market-versions .changelog {
- color: var(--mk-text-2);
- font-size: 13px;
- flex: 1;
-}
-
-/* ── Right sidebar ───────────────────────────────────────────────────── */
-
-.market-detail-side {
- position: sticky;
- top: 80px;
- align-self: start;
- display: flex;
- flex-direction: column;
- gap: 16px;
-}
-
-.market-fork {
- background: #fafafa;
- color: #0a0a0a;
- border: 0;
- padding: 14px;
- border-radius: 12px;
- font-size: 15px;
- font-weight: 600;
- cursor: pointer;
-}
-
-.market-fork:hover {
- background: #fff;
-}
-
-.market-export-btn {
- background: transparent;
- border: 1px solid var(--mk-border-2);
- color: var(--mk-text-2);
- padding: 10px 14px;
- border-radius: 10px;
- font-size: 13px;
- cursor: pointer;
-}
-
-.market-overview-card {
- font-size: 13px;
-}
-
-.market-overview-card .row {
- font-weight: 600;
- margin-bottom: 8px;
-}
-
-.market-related-side {
- display: flex;
- flex-direction: column;
- gap: 10px;
-}
-
-.related-side-title {
- font-size: 16px;
- font-weight: 700;
- margin-bottom: 4px;
- display: flex;
- justify-content: space-between;
- align-items: center;
-}
-
-.related-side-title a {
- font-size: 12px;
- color: var(--mk-text-3);
- text-decoration: none;
-}
-
-.related-card {
- background: var(--mk-panel);
- border: 1px solid var(--mk-border);
- border-radius: 12px;
- padding: 12px;
- display: flex;
- gap: 10px;
- cursor: pointer;
-}
-
-.related-card:hover {
- border-color: var(--mk-border-2);
-}
-
-.related-card .av {
- width: 32px;
- height: 32px;
- border-radius: 8px;
- background: var(--mk-panel-2);
- display: grid;
- place-items: center;
- font-size: 16px;
- flex-shrink: 0;
-}
-
-.related-card .name {
- font-size: 13px;
- font-weight: 600;
- color: var(--mk-text);
- margin: 0;
-}
-
-.related-card .desc {
- font-size: 12px;
- color: var(--mk-text-3);
- line-height: 1.45;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- overflow: hidden;
- margin-top: 3px;
-}
-
-/* ── My Agents tab ───────────────────────────────────────────────────── */
-
-.market-mine {
- display: flex;
- flex-direction: column;
-}
-
-.market-section-heading {
- margin: 0;
- font-size: 18px;
- font-weight: 600;
-}
-
-.market-mine-body {
- padding: 18px 24px;
-}
-
-/* ── Tools / Plugins tab ─────────────────────────────────────────────── */
-
-.market-tools {
- display: flex;
- flex-direction: column;
-}
-
-.market-tools-title {
- margin: 0;
- font-size: 16px;
- font-weight: 600;
- color: var(--mk-text);
-}
-
-.plugins-topbar {
- flex-direction: column;
- align-items: stretch;
- gap: 10px;
-}
-
-.plugins-header-row {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 12px;
-}
-
-.plugin-add-url-btn {
- background: transparent;
- border: 1px solid var(--mk-border-2);
- color: var(--mk-text-2);
- border-radius: 8px;
- padding: 7px 14px;
- font-size: 13px;
- font-weight: 500;
- cursor: pointer;
- transition: border-color 0.15s, color 0.15s;
-}
-
-.plugin-add-url-btn:hover {
- border-color: var(--mk-accent);
- color: var(--mk-accent);
-}
-
-#plugin-search {
- width: 100%;
- background: var(--mk-panel);
- border: 1px solid var(--mk-border);
- border-radius: 8px;
- padding: 9px 12px;
- color: var(--mk-text);
- font-size: 14px;
- font-family: inherit;
- outline: none;
- box-sizing: border-box;
-}
-
-#plugin-search:focus {
- border-color: var(--mk-border-2);
-}
-
-.plugin-grid {
- display: grid;
- grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
- gap: 14px;
- padding: 4px 0 80px;
- align-content: start;
-}
-
-.plugin-card {
- background: var(--mk-panel);
- border: 1px solid var(--mk-border);
- border-radius: var(--mk-radius);
- padding: 16px;
- display: flex;
- flex-direction: column;
- gap: 10px;
- transition: border-color 0.15s;
-}
-
-.plugin-card:hover {
- border-color: var(--mk-border-2);
-}
-
-.plugin-card .head {
- display: flex;
- align-items: center;
- gap: 12px;
-}
-
-.plugin-card .avatar {
- width: 38px;
- height: 38px;
- border-radius: 10px;
- background: var(--mk-panel-2);
- display: grid;
- place-items: center;
- font-size: 18px;
- font-weight: 600;
- flex-shrink: 0;
- color: var(--mk-text-2);
-}
-
-.plugin-card .title {
- font-weight: 600;
- font-size: 14px;
- color: var(--mk-text);
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
-}
-
-.plugin-card .author {
- font-size: 12px;
- color: var(--mk-text-3);
- margin-top: 2px;
-}
-
-.plugin-card .desc {
- font-size: 13px;
- color: var(--mk-text-2);
- line-height: 1.5;
- flex: 1;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- overflow: hidden;
-}
-
-.plugin-tags {
- display: flex;
- flex-wrap: wrap;
- gap: 5px;
-}
-
-.tag-pill {
- background: var(--mk-panel-2);
- border-radius: 5px;
- padding: 2px 7px;
- font-size: 11px;
- color: var(--mk-text-3);
-}
-
-.plugin-card-footer {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 8px;
- margin-top: 2px;
-}
-
-.plugin-install-btn {
- background: var(--mk-accent);
- color: #0a0a0a;
- border: 0;
- border-radius: 8px;
- padding: 7px 14px;
- font-size: 12px;
- font-weight: 600;
- cursor: pointer;
- transition: opacity 0.15s;
- white-space: nowrap;
-}
-
-.plugin-install-btn:hover {
- opacity: 0.85;
-}
-
-.plugin-install-btn.installed {
- background: #1a2e1a;
- color: #4ade80;
- border: 1px solid #166534;
-}
-
-/* ── Purchase modal ──────────────────────────────────────────────────── */
-
-#purchase-modal {
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background: rgba(0, 0, 0, 0.7);
- display: flex;
- align-items: center;
- justify-content: center;
- z-index: 1000;
-}
-
-#purchase-modal.modal-hidden {
- display: none;
-}
-
-.modal-content {
- background: var(--mk-panel);
- padding: 24px;
- border-radius: var(--mk-radius);
- border: 1px solid var(--mk-border);
- width: 90%;
- max-width: 420px;
- position: relative;
-}
-
-.close-button {
- position: absolute;
- top: 12px;
- right: 12px;
- background: none;
- border: none;
- font-size: 24px;
- color: var(--mk-text-3);
- cursor: pointer;
-}
-
-/* ── Add by URL modal ────────────────────────────────────────────────── */
-
-.plugin-modal-overlay {
- position: fixed;
- inset: 0;
- background: rgba(0, 0, 0, 0.7);
- display: grid;
- place-items: center;
- z-index: 1000;
- padding: 20px;
- backdrop-filter: blur(4px);
-}
-
-.plugin-modal {
- background: var(--mk-panel);
- border: 1px solid var(--mk-border-2);
- border-radius: 16px;
- padding: 28px;
- width: 100%;
- max-width: 460px;
- display: flex;
- flex-direction: column;
- gap: 14px;
-}
-
-.plugin-modal h3 {
- margin: 0;
- font-size: 16px;
- font-weight: 600;
- color: var(--mk-text);
-}
-
-.plugin-modal-hint {
- margin: 0;
- font-size: 13px;
- color: var(--mk-text-2);
- line-height: 1.6;
-}
-
-.plugin-modal-hint code {
- background: var(--mk-panel-2);
- border-radius: 4px;
- padding: 1px 5px;
- font-size: 12px;
-}
-
-.plugin-url-input {
- background: var(--mk-panel-2);
- border: 1px solid var(--mk-border-2);
- border-radius: 8px;
- padding: 10px 12px;
- color: var(--mk-text);
- font-size: 13px;
- font-family: monospace;
- outline: none;
- width: 100%;
- box-sizing: border-box;
-}
-
-.plugin-url-input:focus {
- border-color: var(--mk-accent);
-}
-
-.plugin-url-error {
- font-size: 13px;
- color: #f87171;
- padding: 8px 10px;
- background: rgba(239, 68, 68, 0.08);
- border-radius: 6px;
-}
-
-.plugin-modal-preview {
- background: var(--mk-panel-2);
- border: 1px solid var(--mk-border);
- border-radius: 10px;
- padding: 14px;
- display: flex;
- flex-direction: column;
- gap: 8px;
-}
-
-.plugin-preview-head {
- display: flex;
- align-items: baseline;
- gap: 8px;
-}
-
-.plugin-preview-head strong {
- font-size: 14px;
- color: var(--mk-text);
-}
-
-.plugin-preview-desc {
- font-size: 13px;
- color: var(--mk-text-2);
- line-height: 1.5;
-}
-
-.plugin-modal-actions {
- display: flex;
- justify-content: flex-end;
- gap: 10px;
- margin-top: 4px;
-}
-
-.plugin-modal-btn {
- background: var(--mk-panel-2);
- border: 1px solid var(--mk-border);
- color: var(--mk-text-2);
- border-radius: 8px;
- padding: 9px 18px;
- font-size: 13px;
- font-weight: 500;
- cursor: pointer;
- font-family: inherit;
-}
-
-.plugin-modal-btn-primary {
- background: var(--mk-accent);
- color: #0a0a0a;
- border: 0;
- font-weight: 600;
-}
-
-.plugin-modal-btn:disabled {
- opacity: 0.5;
- cursor: not-allowed;
-}
-
-/* ── Submit agent modal ──────────────────────────────────────────────── */
-
-.market-modal-overlay {
- position: fixed;
- inset: 0;
- background: rgba(0, 0, 0, 0.7);
- display: grid;
- place-items: center;
- z-index: 1000;
- padding: 20px;
- backdrop-filter: blur(4px);
-}
-
-.market-modal {
- background: var(--mk-panel);
- border: 1px solid var(--mk-border-2);
- border-radius: 16px;
- padding: 28px;
- width: 100%;
- max-width: 540px;
- max-height: 90vh;
- overflow-y: auto;
- display: flex;
- flex-direction: column;
- gap: 18px;
-}
-
-.market-modal-head {
- display: flex;
- align-items: center;
- justify-content: space-between;
-}
-
-.market-modal-head h2 {
- margin: 0;
- font-size: 18px;
- font-weight: 700;
-}
-
-.market-modal-close {
- background: transparent;
- border: 0;
- color: var(--mk-text-3);
- font-size: 22px;
- cursor: pointer;
- line-height: 1;
-}
-
-.market-submit-form {
- display: flex;
- flex-direction: column;
- gap: 14px;
-}
-
-.market-field {
- display: flex;
- flex-direction: column;
- gap: 6px;
-}
-
-.market-field label {
- font-size: 13px;
- font-weight: 500;
- color: var(--mk-text-2);
-}
-
-.market-field input,
-.market-field textarea,
-.market-field select {
- background: var(--mk-panel-2);
- border: 1px solid var(--mk-border-2);
- border-radius: 8px;
- padding: 9px 12px;
- color: var(--mk-text);
- font-size: 14px;
- font-family: inherit;
- outline: none;
- resize: vertical;
-}
-
-.market-field input:focus,
-.market-field textarea:focus,
-.market-field select:focus {
- border-color: var(--mk-accent);
-}
-
-.market-field-row {
- display: grid;
- grid-template-columns: 1fr 1fr;
- gap: 12px;
-}
-
-.market-field .req {
- color: #f87171;
-}
-
-.market-field .field-hint {
- font-size: 11px;
- color: var(--mk-text-3);
- font-weight: 400;
-}
-
-.market-submit-actions {
- display: flex;
- justify-content: flex-end;
- gap: 10px;
- margin-top: 4px;
-}
-
-.market-btn-pri {
- background: var(--mk-accent);
- color: #0a0a0a;
- border: 0;
- border-radius: 8px;
- padding: 10px 20px;
- font-size: 14px;
- font-weight: 600;
- cursor: pointer;
-}
-
-.market-btn-sec {
- background: var(--mk-panel-2);
- border: 1px solid var(--mk-border);
- color: var(--mk-text-2);
- border-radius: 8px;
- padding: 10px 20px;
- font-size: 14px;
- cursor: pointer;
-}
-
-.market-submit-btn {
- background: var(--mk-accent);
- color: #0a0a0a;
- border: 0;
- border-radius: 8px;
- padding: 8px 16px;
- font-size: 13px;
- font-weight: 600;
- cursor: pointer;
- white-space: nowrap;
-}
-
-.market-submit-btn:hover {
- opacity: 0.9;
-}
-
-.market-form-error {
- color: #f87171;
- font-size: 13px;
- padding: 8px 10px;
- background: rgba(239, 68, 68, 0.08);
- border-radius: 6px;
-}
-
-.market-modal-import {
- display: flex;
- flex-direction: column;
- gap: 8px;
-}
-
-.market-import-btn {
- background: transparent;
- border: 1px solid var(--mk-border);
- color: var(--mk-text-3);
- border-radius: 6px;
- padding: 6px 12px;
- font-size: 12px;
- cursor: pointer;
- align-self: flex-start;
-}
-
-.market-json-input {
- background: var(--mk-panel-2);
- border: 1px solid var(--mk-border-2);
- border-radius: 8px;
- padding: 10px 12px;
- color: var(--mk-text);
- font-size: 12px;
- font-family: monospace;
- resize: vertical;
- outline: none;
- width: 100%;
- box-sizing: border-box;
-}
-
-/* ── Empty / loading ─────────────────────────────────────────────────── */
-
-.market-empty {
- grid-column: 1 / -1;
- padding: 60px 20px;
- text-align: center;
- color: var(--mk-text-3);
- font-size: 14px;
-}
-
-/* ── Responsive ──────────────────────────────────────────────────────── */
-
-@media (max-width: 980px) {
- body.market-page {
- grid-template-columns: 1fr;
- }
-
- .market-sidebar {
- display: none;
- }
-
- .market-body {
- grid-template-columns: 1fr;
- }
-
- .market-cats {
- position: static;
- max-height: none;
- flex-direction: row;
- overflow-x: auto;
- border-right: 0;
- border-bottom: 1px solid var(--mk-border);
- }
-
- .market-detail-body {
- grid-template-columns: 1fr;
- }
-
- .market-detail-side {
- position: static;
- }
-}
-
-/* ── WIP banner dismiss ──────────────────────────────────────────── */
-
-.market-wip-dismiss {
- background: transparent;
- border: 0;
- color: #fde68a;
- opacity: 0.6;
- cursor: pointer;
- font-size: 18px;
- line-height: 1;
- padding: 4px 8px;
- border-radius: 6px;
- transition: opacity 0.15s, background 0.15s;
-}
-.market-wip-dismiss:hover {
- opacity: 1;
- background: rgba(253, 224, 71, 0.08);
-}
-
-/* ── Hero carousel (live 3D) ──────────────────────────────────── */
-
-.market-hero {
- display: grid;
- grid-template-columns: minmax(280px, 480px) 1fr;
- gap: 32px;
- padding: 32px 28px;
- border-bottom: 1px solid var(--mk-border);
- background:
- radial-gradient(ellipse at top right, rgba(125, 211, 252, 0.04), transparent 60%),
- radial-gradient(ellipse at bottom left, rgba(253, 224, 71, 0.03), transparent 50%),
- var(--mk-bg);
- min-height: 360px;
- position: relative;
- overflow: hidden;
-}
-
-.market-hero-stage {
- position: relative;
- border-radius: var(--mk-radius);
- background:
- radial-gradient(ellipse at center, rgba(255, 255, 255, 0.04), transparent 70%),
- var(--mk-panel);
- border: 1px solid var(--mk-border);
- overflow: hidden;
- min-height: 320px;
- aspect-ratio: 1 / 1;
- max-width: 480px;
-}
-
-.market-hero-stage model-viewer {
- width: 100%;
- height: 100%;
- background: transparent;
- --poster-color: transparent;
- opacity: 0;
- transition: opacity 0.45s ease;
- position: absolute;
- inset: 0;
-}
-
-.market-hero-stage model-viewer.active {
- opacity: 1;
-}
-
-.market-hero-meta {
- display: flex;
- flex-direction: column;
- justify-content: center;
- gap: 14px;
- min-width: 0;
-}
-
-.market-hero-eyebrow {
- font-size: 11px;
- letter-spacing: 0.12em;
- text-transform: uppercase;
- color: #7dd3fc;
- font-weight: 600;
-}
-
-.market-hero-title {
- font-family: 'Space Grotesk', 'Inter', sans-serif;
- font-size: 36px;
- font-weight: 700;
- line-height: 1.1;
- margin: 0;
- color: var(--mk-text);
- letter-spacing: -0.02em;
-}
-
-.market-hero-desc {
- font-size: 15px;
- color: var(--mk-text-2);
- line-height: 1.5;
- margin: 0;
- max-width: 56ch;
- display: -webkit-box;
- -webkit-line-clamp: 3;
- -webkit-box-orient: vertical;
- overflow: hidden;
-}
-
-.market-hero-stats {
- display: flex;
- gap: 18px;
- flex-wrap: wrap;
- margin-top: 4px;
-}
-.market-hero-stat {
- display: flex;
- flex-direction: column;
- gap: 2px;
-}
-.market-hero-stat .num {
- font-family: 'Space Grotesk', sans-serif;
- font-size: 22px;
- font-weight: 700;
- color: var(--mk-text);
- line-height: 1;
-}
-.market-hero-stat .lbl {
- font-size: 11px;
- color: var(--mk-text-3);
- letter-spacing: 0.04em;
- text-transform: uppercase;
-}
-
-.market-hero-actions {
- display: flex;
- gap: 10px;
- margin-top: 8px;
- flex-wrap: wrap;
-}
-
-.market-hero-cta,
-.market-hero-secondary {
- border: 0;
- border-radius: 10px;
- padding: 10px 18px;
- font-size: 13px;
- font-weight: 600;
- cursor: pointer;
- transition: transform 0.1s, background 0.15s, border-color 0.15s;
-}
-.market-hero-cta {
- background: var(--mk-text);
- color: #000;
-}
-.market-hero-cta:hover {
- transform: translateY(-1px);
-}
-.market-hero-secondary {
- background: transparent;
- color: var(--mk-text);
- border: 1px solid var(--mk-border-2);
-}
-.market-hero-secondary:hover {
- border-color: var(--mk-text-2);
-}
-
-.market-hero-dots {
- display: flex;
- gap: 6px;
- margin-top: 10px;
-}
-.market-hero-dot {
- width: 22px;
- height: 4px;
- border-radius: 2px;
- background: rgba(255, 255, 255, 0.12);
- border: 0;
- cursor: pointer;
- padding: 0;
- transition: background 0.2s, width 0.2s;
-}
-.market-hero-dot.active {
- background: var(--mk-text);
- width: 36px;
-}
-
-/* ── Filter chips (All / Agents / Avatars) ──────────────────── */
-
-.market-filter-chips {
- display: inline-flex;
- gap: 4px;
- padding: 4px;
- background: var(--mk-panel-2);
- border: 1px solid var(--mk-border);
- border-radius: 10px;
-}
-.market-chip {
- background: transparent;
- border: 0;
- color: var(--mk-text-3);
- padding: 6px 12px;
- font-size: 12px;
- font-weight: 600;
- border-radius: 7px;
- cursor: pointer;
- transition: background 0.15s, color 0.15s;
-}
-.market-chip:hover {
- color: var(--mk-text-2);
-}
-.market-chip.active {
- background: var(--mk-bg);
- color: var(--mk-text);
-}
-
-/* ── Skeleton loaders ───────────────────────────────────────── */
-
-@keyframes mk-skel {
- 0% { background-position: -200px 0; }
- 100% { background-position: calc(200px + 100%) 0; }
-}
-
-.mk-skel-card {
- background: var(--mk-panel);
- border: 1px solid var(--mk-border);
- border-radius: var(--mk-radius);
- padding: 16px;
- display: flex;
- flex-direction: column;
- gap: 10px;
- min-height: 200px;
-}
-.mk-skel-line {
- background: linear-gradient(90deg, #1a1a1a 0%, #232323 50%, #1a1a1a 100%);
- background-size: 200px 100%;
- animation: mk-skel 1.4s ease-in-out infinite;
- border-radius: 6px;
- height: 12px;
-}
-.mk-skel-thumb {
- background: linear-gradient(90deg, #1a1a1a 0%, #232323 50%, #1a1a1a 100%);
- background-size: 200px 100%;
- animation: mk-skel 1.4s ease-in-out infinite;
- aspect-ratio: 1 / 1;
- border-radius: 8px;
-}
-.mk-skel-line.w-60 { width: 60%; }
-.mk-skel-line.w-40 { width: 40%; }
-.mk-skel-line.w-80 { width: 80%; }
-.mk-skel-line.tall { height: 18px; }
-
-/* ── Hover 3D preview overlay on avatar cards ──────────────── */
-
-.market-card-avatar .thumb {
- position: relative;
- overflow: hidden;
-}
-.market-card-avatar .thumb {
- position: relative;
- overflow: hidden;
- background: #0a0a0c;
-}
-
-/* Shimmer that shows while the GLB streams in */
-.market-card-avatar .thumb::before {
- content: '';
- position: absolute;
- inset: 0;
- background: linear-gradient(
- 110deg,
- transparent 20%,
- rgba(255,255,255,0.04) 50%,
- transparent 80%
- );
- background-size: 200% 100%;
- animation: mv-shimmer 1.6s infinite;
- z-index: 1;
- pointer-events: none;
- transition: opacity 0.4s ease;
-}
-.market-card-avatar.mv-loaded .thumb::before { opacity: 0; }
-
-@keyframes mv-shimmer {
- 0% { background-position: 200% 0; }
- 100% { background-position: -200% 0; }
-}
-
-.market-card-avatar .thumb model-viewer {
- position: absolute;
- inset: 0;
- width: 100%;
- height: 100%;
- background: transparent;
- --poster-color: #0a0a0c;
- opacity: 0;
- transition: opacity 0.4s ease;
- z-index: 0;
-}
-/* Fade in when model has loaded (JS adds .mv-loaded) */
-.market-card-avatar.mv-loaded .thumb model-viewer {
- opacity: 1;
-}
-
-/* Featured: first card spans 2 columns + 2 rows for a spotlight effect */
-.market-card-avatar--featured {
- grid-column: span 2;
- grid-row: span 2;
-}
-.market-card-avatar--featured .thumb {
- aspect-ratio: unset;
- min-height: 320px;
-}
-@media (max-width: 600px) {
- .market-card-avatar--featured { grid-column: span 1; grid-row: span 1; }
- .market-card-avatar--featured .thumb { min-height: 0; }
-}
-.market-card-avatar .thumb-badge {
- position: absolute;
- top: 8px;
- right: 8px;
- background: rgba(0, 0, 0, 0.55);
- backdrop-filter: blur(6px);
- color: #fff;
- font-size: 10px;
- font-weight: 600;
- letter-spacing: 0.04em;
- padding: 3px 8px;
- border-radius: 999px;
- z-index: 2;
- pointer-events: none;
- opacity: 0;
- transition: opacity 0.2s ease;
-}
-.market-card-avatar:hover .thumb-badge {
- opacity: 1;
-}
-
-/* ── Tag filter banner ──────────────────────────────────────── */
-
-.market-tag-banner {
- display: flex;
- align-items: center;
- gap: 12px;
- padding: 10px 24px;
- border-bottom: 1px solid var(--mk-border);
- background: rgba(125, 211, 252, 0.04);
- font-size: 12px;
- color: var(--mk-text-2);
-}
-.market-tag-banner-label {
- letter-spacing: 0.06em;
- text-transform: uppercase;
- font-size: 10px;
- color: var(--mk-text-3);
-}
-.market-tag-banner-chip {
- display: inline-flex;
- align-items: center;
- gap: 8px;
- background: rgba(125, 211, 252, 0.12);
- border: 1px solid rgba(125, 211, 252, 0.3);
- color: #7dd3fc;
- padding: 4px 10px;
- border-radius: 999px;
- font-size: 12px;
- font-weight: 600;
-}
-.market-tag-banner-clear {
- background: transparent;
- border: 0;
- color: rgba(125, 211, 252, 0.7);
- cursor: pointer;
- font-size: 12px;
- padding: 0 2px;
- line-height: 1;
-}
-.market-tag-banner-clear:hover { color: #fff; }
-
-/* ── My Agents / Skills tab heads ───────────────────────────── */
-
-.market-topbar {
- align-items: center;
-}
-.market-topbar .market-section-heading {
- margin: 0;
- white-space: nowrap;
-}
-.market-mine-head {
- display: flex;
- flex-direction: column;
- gap: 2px;
- min-width: 0;
-}
-.market-mine-head .market-section-heading {
- margin: 0;
- font-size: 18px;
- font-weight: 600;
- line-height: 1.2;
- white-space: nowrap;
-}
-.market-mine-sub {
- font-size: 12px;
- color: var(--mk-text-3);
- line-height: 1.2;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
-}
-
-.market-mine-empty,
-.market-mine-signin {
- grid-column: 1 / -1;
- padding: 60px 20px;
- text-align: center;
- color: var(--mk-text-2);
- font-size: 14px;
- display: flex;
- flex-direction: column;
- align-items: center;
- gap: 16px;
-}
-.market-mine-empty .icon,
-.market-mine-signin .icon {
- font-size: 42px;
- opacity: 0.3;
-}
-.market-mine-empty h3,
-.market-mine-signin h3 {
- margin: 0;
- font-size: 18px;
- font-weight: 600;
- color: var(--mk-text);
-}
-.market-mine-empty p,
-.market-mine-signin p {
- margin: 0;
- max-width: 36ch;
- color: var(--mk-text-3);
-}
-.market-mine-cta {
- background: var(--mk-text);
- color: #000;
- border: 0;
- padding: 10px 20px;
- border-radius: 10px;
- font-size: 13px;
- font-weight: 600;
- cursor: pointer;
- margin-top: 8px;
-}
-.market-mine-cta:hover {
- transform: translateY(-1px);
-}
-
-/* ── Smart empty: category w/ 0 agents ──────────────────────── */
-
-.market-empty-redirect {
- grid-column: 1 / -1;
- padding: 32px 20px;
- text-align: center;
- background: var(--mk-panel);
- border: 1px dashed var(--mk-border-2);
- border-radius: var(--mk-radius);
- margin-bottom: 16px;
- color: var(--mk-text-2);
- font-size: 14px;
-}
-.market-empty-redirect strong {
- color: var(--mk-text);
-}
-.market-empty-redirect button {
- background: transparent;
- border: 1px solid var(--mk-border-2);
- color: var(--mk-text);
- padding: 6px 14px;
- border-radius: 8px;
- font-size: 12px;
- font-weight: 600;
- cursor: pointer;
- margin-left: 12px;
-}
-.market-empty-redirect button:hover {
- border-color: var(--mk-text-2);
-}
-
-/* ── Hero responsive ────────────────────────────────────────── */
-
-@media (max-width: 880px) {
- .market-hero {
- grid-template-columns: 1fr;
- padding: 20px 16px;
- min-height: auto;
- }
- .market-hero-stage {
- max-width: 100%;
- min-height: 260px;
- aspect-ratio: 4 / 3;
- }
- .market-hero-title {
- font-size: 26px;
- }
-}
-
-/* ── Avatar card body (byline, tags, footer) ──────────────────── */
-
-.market-card-avatar .byline {
- display: flex;
- align-items: center;
- gap: 6px;
- font-size: 12px;
- color: var(--mk-text-3);
- min-width: 0;
-}
-.market-card-avatar .byline .dot { color: var(--mk-text-3); opacity: 0.6; }
-.market-card-avatar .byline .when { color: var(--mk-text-3); }
-.card-author {
- color: #7dd3fc;
- font-weight: 500;
- text-decoration: none;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- max-width: 50%;
-}
-.card-author:hover { text-decoration: underline; }
-.card-author.muted { color: var(--mk-text-3); font-weight: 400; font-style: italic; }
-
-.market-card-avatar .card-tags {
- display: flex;
- flex-wrap: wrap;
- gap: 4px;
- margin-top: 2px;
-}
-.market-card-avatar .card-tags .tag-pill {
- font-size: 10px;
- padding: 2px 7px;
- background: rgba(125, 211, 252, 0.07);
- color: rgba(125, 211, 252, 0.85);
- border-radius: 999px;
-}
-
-.market-card-avatar .footer {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-top: 4px;
-}
-.market-card-avatar .footer .avatar-pill {
- background: rgba(125, 211, 252, 0.1);
- color: #7dd3fc;
- padding: 2px 8px;
- border-radius: 999px;
- font-size: 10px;
- font-weight: 600;
- letter-spacing: 0.02em;
-}
-.market-card-avatar .footer .open-cta {
- font-size: 11px;
- color: var(--mk-text-3);
- font-weight: 500;
- transition: color 0.15s, transform 0.15s;
-}
-.market-card-avatar:hover .footer .open-cta {
- color: #f4f4f5;
- transform: translateX(2px);
-}
-
-.market-card-avatar .thumb-fallback {
- position: absolute;
- inset: 0;
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: 60px;
- color: rgba(255, 255, 255, 0.18);
- background: radial-gradient(circle at 50% 50%, rgba(125, 211, 252, 0.05), transparent 70%);
-}
-
-/* ── Card skeletons (initial load) ───────────────────────────── */
-
-@keyframes mk-card-skel {
- 0% { opacity: 0.45; }
- 50% { opacity: 0.75; }
- 100% { opacity: 0.45; }
-}
-.market-card-skeleton {
- background: var(--mk-panel);
- border: 1px solid var(--mk-border);
- border-radius: var(--mk-radius);
- padding: 14px;
- display: flex;
- flex-direction: column;
- gap: 10px;
- min-height: 240px;
- animation: mk-card-skel 1.4s ease-in-out infinite;
-}
-.market-card-skeleton .sk-thumb {
- aspect-ratio: 1 / 1;
- background: linear-gradient(135deg, #161616, #1c1c1c);
- border-radius: 10px;
-}
-.market-card-skeleton .sk-line {
- height: 12px;
- background: #1a1a1a;
- border-radius: 4px;
- width: 100%;
-}
-.market-card-skeleton .sk-line.short { width: 55%; }
-
-/* ── Avatar in-page modal (3D viewer + actions) ───────────────── */
-
-.avatar-modal-overlay[hidden] { display: none; }
-
-/* ── Sidebar nav: live counts ─────────────────────────────────── */
-
-.market-nav .nav-count {
- margin-left: auto;
- font-size: 10px;
- font-weight: 600;
- color: var(--mk-text-3);
- background: var(--mk-panel-2);
- border-radius: 999px;
- padding: 2px 7px;
- font-variant-numeric: tabular-nums;
- min-width: 22px;
- text-align: center;
-}
-.market-nav .nav-count.hot {
- color: #7dd3fc;
- background: rgba(125, 211, 252, 0.12);
-}
-.market-nav a {
- display: flex;
- align-items: center;
- gap: 8px;
-}
-
-/* ── Submit Avatar CTA in topbar ──────────────────────────────── */
-
-.market-submit-avatar-btn {
- background: rgba(125, 211, 252, 0.1);
- color: #7dd3fc;
- border: 1px solid rgba(125, 211, 252, 0.25);
- border-radius: 8px;
- padding: 7px 12px;
- font-size: 13px;
- font-weight: 600;
- cursor: pointer;
- white-space: nowrap;
- text-decoration: none;
- transition: background 0.15s, border-color 0.15s;
-}
-.market-submit-avatar-btn:hover {
- background: rgba(125, 211, 252, 0.18);
- border-color: rgba(125, 211, 252, 0.4);
-}
-
-/* ── Heart bookmark button on avatar cards ───────────────────────── */
-
-.market-card-avatar .title-row {
- display: flex;
- align-items: flex-start;
- gap: 8px;
- min-width: 0;
-}
-.market-card-avatar .title-row .title {
- flex: 1;
- min-width: 0;
-}
-.card-heart {
- flex: 0 0 auto;
- background: transparent;
- border: 0;
- color: rgba(255, 255, 255, 0.25);
- font-size: 16px;
- line-height: 1;
- cursor: pointer;
- padding: 2px 4px;
- border-radius: 6px;
- transition: color 0.15s, transform 0.1s;
- margin-top: 1px;
-}
-.card-heart:hover { color: #f87171; transform: scale(1.15); }
-.card-heart.active { color: #f87171; }
-
-/* ── Featured badge on cards ────────────────────────────────────── */
-
-.card-featured-badge {
- position: absolute;
- top: 8px;
- left: 8px;
- font-size: 14px;
- z-index: 2;
- pointer-events: none;
-}
-.featured-badge {
- background: rgba(253, 224, 71, 0.15);
- color: #fde047;
- font-size: 11px;
- font-weight: 600;
- padding: 2px 8px;
- border-radius: 999px;
-}
-.market-card-avatar.featured {
- border-color: rgba(253, 224, 71, 0.25);
-}
-.market-card-avatar.featured:hover {
- border-color: rgba(253, 224, 71, 0.5);
-}
-
-/* ── Modal load-progress bar ────────────────────────────────────── */
-
-.modal-load-progress {
- position: absolute;
- inset: 0;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- gap: 12px;
- background: var(--mk-panel, #0b0b12);
- z-index: 1;
- pointer-events: none;
-}
-.modal-load-bar-wrap {
- width: 160px;
- height: 3px;
- background: rgba(255, 255, 255, 0.08);
- border-radius: 2px;
- overflow: hidden;
-}
-.modal-load-bar {
- height: 100%;
- width: 0%;
- background: #7dd3fc;
- border-radius: 2px;
- transition: width 0.2s linear;
-}
-.modal-load-label {
- font-size: 11px;
- color: rgba(255, 255, 255, 0.4);
- letter-spacing: 0.08em;
- text-transform: uppercase;
-}
-
-/* ── Modal author line ───────────────────────────────────────────── */
-
-.avatar-modal-author {
- font-size: 12px;
- color: var(--mk-text-3);
- margin: 0;
-}
-.avatar-modal-author a {
- color: #7dd3fc;
- text-decoration: none;
-}
-.avatar-modal-author a:hover { text-decoration: underline; }
-
-/* ── Bookmark button in modal ────────────────────────────────────── */
-
-#avatar-modal-bookmark {
- background: transparent;
- border: 1px solid var(--mk-border-2, #2a2a2a);
- color: rgba(255, 255, 255, 0.5);
- border-radius: 8px;
- padding: 7px 12px;
- font-size: 13px;
- cursor: pointer;
- width: 100%;
- text-align: center;
- transition: border-color 0.15s, color 0.15s, background 0.15s;
- margin-bottom: -4px;
-}
-#avatar-modal-bookmark::before { content: '♥ '; }
-#avatar-modal-bookmark:hover {
- border-color: #f87171;
- color: #f87171;
-}
-#avatar-modal-bookmark.active {
- color: #f87171;
- border-color: #f87171;
- background: rgba(248, 113, 113, 0.08);
-}
-
-/* ── Mobile layout fixes ─────────────────────────────────────────── */
-
-@media (max-width: 640px) {
- .market-topbar {
- flex-wrap: wrap;
- gap: 8px;
- padding: 10px 12px;
- }
- #market-search {
- width: 100%;
- order: -1;
- }
- .market-filter-chips {
- width: 100%;
- justify-content: center;
- }
- .market-submit-btn,
- .market-submit-avatar-btn {
- display: none; /* collapsed into sidebar on mobile */
- }
- .market-grid {
- grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
- padding: 12px 12px 60px;
- gap: 10px;
- }
- .market-card-avatar .thumb {
- aspect-ratio: 1 / 1;
- }
- .avatar-modal {
- grid-template-columns: 1fr;
- grid-template-rows: 55vw auto;
- max-height: 95vh;
- }
- .avatar-modal-stage {
- min-height: unset;
- }
- .avatar-modal-side {
- max-height: 45vh;
- padding: 16px;
- }
- .market-hero {
- display: none; /* hero takes too much space on small screens */
- }
- .market-stats {
- padding: 12px 12px 0;
- gap: 8px;
- }
- .market-stat {
- min-width: 80px;
- padding: 6px 10px;
- }
- .market-stat .num { font-size: 15px; }
-}
-@media (max-width: 480px) {
- .market-grid {
- grid-template-columns: repeat(2, 1fr);
- }
-}
diff --git a/prompts/cleanup-root/01-root-css-dedup.md b/prompts/cleanup-root/01-root-css-dedup.md
deleted file mode 100644
index 4946ee154..000000000
--- a/prompts/cleanup-root/01-root-css-dedup.md
+++ /dev/null
@@ -1,67 +0,0 @@
-# Cleanup task: root-level CSS files
-
-## Goal
-
-The repo root currently holds nine `*.css` files. Five are byte-identical
-duplicates of files already in `public/`; the rest are unique source CSS
-that the moved-to-`pages/` HTML files reference via absolute URLs
-(`/community.css`, `/playground.css`, …). Get every CSS file into `public/`
-and remove the dead root copies so the root no longer carries stylesheets.
-
-## Inputs (verify before acting)
-
-Run these checks first; only proceed if the picture matches:
-
-```
-ls *.css # 9 files in repo root
-ls public/*.css | wc -l # 6+ files already in public/
-```
-
-For each root `*.css`, decide its disposition by diffing against the
-`public/` counterpart (if one exists). Take the **public/ copy as
-authoritative** for the three identical pairs and for `home.css`
-(the public version is what the dev server and build currently serve;
-the root copy is dead). For the rest, move the root copy into `public/`.
-
-| Root file | Action |
-|----------------------|--------------------------------------------------------------|
-| `app-demo.css` | `git mv app-demo.css public/app-demo.css` |
-| `community.css` | `git mv community.css public/community.css` |
-| `features.css` | `git mv features.css public/features.css` |
-| `footer.css` | `git rm footer.css` (identical to `public/footer.css`) |
-| `home.css` | `git rm home.css` (public/ version is live) |
-| `marketplace-v2.css` | `git mv marketplace-v2.css public/marketplace-v2.css` |
-| `marketplace.css` | `git rm marketplace.css` (identical to `public/marketplace.css`) |
-| `playground.css` | `git mv playground.css public/playground.css` |
-| `style.css` | `git rm style.css` (identical to `public/style.css`) |
-
-Before deleting, re-verify identity with `diff -q`. If `diff -q` reports
-**any** difference for the four `git rm` rows, stop and surface the diff —
-do not silently lose CSS.
-
-## Acceptance criteria
-
-1. `ls *.css` at repo root prints nothing (no CSS in root).
-2. `ls public/*.css` contains all nine names listed above
- (`app-demo.css`, `community.css`, `features.css`, `footer.css`,
- `home.css`, `marketplace.css`, `marketplace-skills.css`,
- `marketplace-v2.css`, `playground.css`, `style.css`).
-3. `npm run build` succeeds.
-4. In `dist/`, the HTML files that reference these stylesheets still
- resolve them — spot-check `dist/community.html`,
- `dist/playground.html`, `dist/app-demo.html`, `dist/features.html`,
- `dist/marketplace.html`, `dist/home.html` for live `<link>` tags
- (either bare `/foo.css` or hashed `/assets/foo-HASH.css`).
-5. `git grep -nE 'href="/?(style|home|footer|marketplace(-v2)?|community|features|playground|app-demo)\.css"'`
- shows only refs that the build produces correctly — nothing referencing
- a root path that no longer exists.
-
-## Commit
-
-```
-git -c user.name=nirholas -c [email protected] \
- commit -m "chore(root): move/dedupe root CSS into public/"
-```
-
-The commit must also include deleting this prompt file
-(`prompts/cleanup-root/01-root-css-dedup.md`).
diff --git a/app-demo.css b/public/app-demo.css
similarity index 100%
rename from app-demo.css
rename to public/app-demo.css
diff --git a/community.css b/public/community.css
similarity index 100%
rename from community.css
rename to public/community.css
diff --git a/features.css b/public/features.css
similarity index 100%
rename from features.css
rename to public/features.css
diff --git a/public/footer.css b/public/footer.css
deleted file mode 120000
index 624f73534..000000000
--- a/public/footer.css
+++ /dev/null
@@ -1 +0,0 @@
-../footer.css
\ No newline at end of file
diff --git a/public/footer.css b/public/footer.css
new file mode 100644
index 000000000..0519281bd
--- /dev/null
+++ b/public/footer.css
@@ -0,0 +1,501 @@
+/* ── Shared site footer: "The Horizon" ──────────────────────────────────── */
+/* Used on home, index/features, create, profile, agent-home. */
+
+.h-footer-horizon {
+ position: relative;
+ flex-shrink: 0;
+ overflow: hidden;
+ min-height: 360px;
+ padding: 4rem 2rem 2rem;
+ border-top: none;
+ background: linear-gradient(180deg, #0a0a0a 0%, #050505 60%, #000 100%);
+ isolation: isolate;
+ color: #fff;
+}
+
+.h-footer-glow-line {
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ height: 1px;
+ background: linear-gradient(
+ 90deg,
+ transparent 0%,
+ rgba(255, 255, 255, 0.0) 10%,
+ rgba(255, 255, 255, 0.75) 50%,
+ rgba(255, 255, 255, 0.0) 90%,
+ transparent 100%
+ );
+ box-shadow:
+ 0 0 10px rgba(255, 255, 255, 0.35),
+ 0 0 24px rgba(255, 255, 255, 0.18);
+ z-index: 2;
+}
+
+.h-footer-floor {
+ position: absolute;
+ left: -10%;
+ right: -10%;
+ bottom: -40%;
+ height: 90%;
+ background-image:
+ linear-gradient(to right, rgba(255, 255, 255, 0.09) 1px, transparent 1px),
+ linear-gradient(to bottom, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
+ background-size: 64px 64px;
+ transform: perspective(600px) rotateX(62deg);
+ transform-origin: 50% 0%;
+ mask-image: linear-gradient(to bottom, #000 0%, #000 40%, transparent 95%);
+ -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 40%, transparent 95%);
+ z-index: 1;
+ animation: hFloorScroll 12s linear infinite;
+}
+
+@keyframes hFloorScroll {
+ 0% { background-position: 0 0; }
+ 100% { background-position: 0 64px; }
+}
+
+.h-footer-haze {
+ position: absolute;
+ inset: 0;
+ background:
+ radial-gradient(60% 70% at 30% 110%, rgba(255, 255, 255, 0.10) 0%, transparent 60%),
+ radial-gradient(55% 70% at 75% 110%, rgba(255, 255, 255, 0.07) 0%, transparent 60%);
+ filter: blur(40px);
+ z-index: 1;
+ pointer-events: none;
+}
+
+.h-footer-watermark {
+ position: absolute;
+ left: 50%;
+ bottom: -0.15em;
+ transform: translateX(-50%);
+ font-family: 'Space Grotesk', 'Inter', sans-serif;
+ font-weight: 700;
+ font-size: clamp(7rem, 22vw, 22rem);
+ line-height: 0.85;
+ letter-spacing: -0.04em;
+ white-space: nowrap;
+ background: linear-gradient(
+ 180deg,
+ rgba(255, 255, 255, 0.12) 0%,
+ rgba(255, 255, 255, 0.04) 60%,
+ rgba(255, 255, 255, 0) 100%
+ );
+ -webkit-background-clip: text;
+ background-clip: text;
+ color: transparent;
+ pointer-events: none;
+ z-index: 2;
+ user-select: none;
+}
+
+.h-footer-avatar {
+ position: absolute;
+ right: 4%;
+ bottom: 12%;
+ width: 140px;
+ height: 140px;
+ z-index: 3;
+ pointer-events: none;
+ filter: grayscale(1) drop-shadow(0 0 18px rgba(255, 255, 255, 0.30));
+}
+
+.h-footer-avatar model-viewer,
+.h-footer-avatar canvas {
+ width: 100%;
+ height: 100%;
+ background: transparent;
+ --poster-color: transparent;
+ display: block;
+}
+
+.h-footer-cta {
+ position: relative;
+ z-index: 4;
+ display: grid;
+ grid-template-columns: 1fr 1fr 1fr;
+ gap: 3rem;
+ max-width: 1080px;
+ margin: 0 auto 3rem;
+ padding-bottom: 2.5rem;
+ border-bottom: 1px solid rgba(255, 255, 255, 0.06);
+}
+
+.h-footer-cta h3 {
+ font-family: 'Space Grotesk', 'Inter', sans-serif;
+ font-size: 1.4rem;
+ font-weight: 600;
+ margin: 0 0 0.5rem;
+ color: #fff;
+ letter-spacing: -0.01em;
+}
+
+.h-footer-cta p {
+ margin: 0 0 1.25rem;
+ font-family: 'Inter', sans-serif;
+ font-size: 0.9rem;
+ color: rgba(255, 255, 255, 0.5);
+ line-height: 1.5;
+ max-width: 32ch;
+}
+
+.h-footer-newsletter-form {
+ display: flex;
+ align-items: center;
+ gap: 0;
+ max-width: 380px;
+ background: rgba(255, 255, 255, 0.04);
+ border: 1px solid rgba(255, 255, 255, 0.1);
+ border-radius: 999px;
+ padding: 0.25rem 0.25rem 0.25rem 1.1rem;
+ transition: border-color 0.2s ease, background 0.2s ease;
+}
+
+.h-footer-newsletter-form:focus-within {
+ border-color: rgba(255, 255, 255, 0.25);
+ background: rgba(255, 255, 255, 0.06);
+}
+
+.h-footer-newsletter-input {
+ flex: 1;
+ min-width: 0;
+ background: transparent;
+ border: none;
+ outline: none;
+ color: #fff;
+ font-family: 'Inter', sans-serif;
+ font-size: 0.9rem;
+ padding: 0.6rem 0;
+}
+
+.h-footer-newsletter-input::placeholder {
+ color: rgba(255, 255, 255, 0.35);
+}
+
+.h-footer-newsletter-btn {
+ flex-shrink: 0;
+ width: 36px;
+ height: 36px;
+ border-radius: 50%;
+ border: none;
+ background: rgba(255, 255, 255, 0.1);
+ color: #fff;
+ cursor: pointer;
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ transition: background 0.2s ease, transform 0.2s ease;
+}
+
+.h-footer-newsletter-btn:hover {
+ background: rgba(255, 255, 255, 0.2);
+ transform: translateX(2px);
+}
+
+.h-footer-newsletter-btn:disabled {
+ opacity: 0.5;
+ cursor: not-allowed;
+ transform: none;
+}
+
+.h-footer-newsletter-btn svg {
+ width: 14px;
+ height: 14px;
+}
+
+.h-footer-newsletter-msg {
+ margin: 0.6rem 0 0;
+ font-family: 'Inter', sans-serif;
+ font-size: 0.78rem;
+ color: rgba(255, 255, 255, 0.5);
+ min-height: 1em;
+}
+
+.h-footer-newsletter-msg.is-error {
+ color: #ff8e8e;
+}
+
+.h-footer-newsletter-msg.is-success {
+ color: #4ade80;
+}
+
+.h-footer-community-btn {
+ display: inline-flex;
+ align-items: center;
+ gap: 0.6rem;
+ padding: 0.7rem 1.25rem;
+ border-radius: 999px;
+ border: 1px solid rgba(255, 255, 255, 0.1);
+ background: rgba(255, 255, 255, 0.04);
+ color: #fff;
+ font-family: 'Inter', sans-serif;
+ font-size: 0.9rem;
+ font-weight: 500;
+ text-decoration: none;
+ transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
+}
+
+.h-footer-community-btn:hover {
+ background: rgba(255, 255, 255, 0.08);
+ border-color: rgba(255, 255, 255, 0.22);
+ transform: translateY(-1px);
+}
+
+.h-footer-community-btn svg {
+ width: 14px;
+ height: 14px;
+}
+
+.h-footer-inner {
+ position: relative;
+ z-index: 4;
+ display: flex;
+ align-items: flex-start;
+ justify-content: space-between;
+ flex-wrap: wrap;
+ gap: 2rem;
+ max-width: 1080px;
+ margin: 0 auto 4rem;
+}
+
+.h-footer-brand-col {
+ display: flex;
+ flex-direction: column;
+ gap: 0.4rem;
+}
+
+.h-footer-brand {
+ display: flex;
+ align-items: center;
+ gap: 0.4rem;
+ font-family: 'Space Grotesk', 'Inter', sans-serif;
+ font-size: 1.1rem;
+ font-weight: 600;
+ color: #fff;
+}
+
+.h-footer-brand .wordmark-logo {
+ width: 22px;
+ height: 22px;
+ display: inline-block;
+ vertical-align: middle;
+ flex-shrink: 0;
+}
+
+.h-footer-brand .wordmark-dot {
+ display: inline-block;
+ width: 8px;
+ height: 8px;
+ border-radius: 50%;
+ background: #fff;
+ box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
+}
+
+.h-footer-tagline {
+ font-family: 'Inter', sans-serif;
+ font-size: 0.85rem;
+ color: rgba(255, 255, 255, 0.45);
+ margin: 0;
+ letter-spacing: 0.01em;
+}
+
+.h-footer-links {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 1.5rem 3rem;
+}
+
+.h-footer-link-col {
+ display: flex;
+ flex-direction: column;
+ gap: 0.6rem;
+}
+
+.h-footer-link-heading {
+ font-family: 'Inter', sans-serif;
+ font-size: 0.7rem;
+ font-weight: 600;
+ letter-spacing: 0.12em;
+ text-transform: uppercase;
+ color: rgba(255, 255, 255, 0.35);
+ margin: 0 0 0.2rem;
+}
+
+.h-footer-links a {
+ position: relative;
+ color: rgba(255, 255, 255, 0.55);
+ text-decoration: none;
+ font-size: 0.9rem;
+ transition: color 0.2s ease, text-shadow 0.2s ease;
+}
+
+.h-footer-links a:hover {
+ color: #fff;
+ text-shadow: 0 0 12px rgba(255, 255, 255, 0.55);
+}
+
+.h-footer-socials {
+ display: flex;
+ align-items: center;
+ gap: 0.5rem;
+}
+
+.h-footer-social {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ width: 32px;
+ height: 32px;
+ border-radius: 50%;
+ color: rgba(255, 255, 255, 0.55);
+ background: rgba(255, 255, 255, 0.03);
+ border: 1px solid rgba(255, 255, 255, 0.06);
+ transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
+}
+
+.h-footer-social:hover {
+ color: #fff;
+ background: rgba(255, 255, 255, 0.08);
+ border-color: rgba(255, 255, 255, 0.18);
+ transform: translateY(-1px);
+}
+
+.h-footer-social svg {
+ width: 14px;
+ height: 14px;
+}
+
+.h-footer-legal-links {
+ display: flex;
+ align-items: center;
+ gap: 1.25rem;
+}
+
+.h-footer-legal-links a {
+ color: rgba(255, 255, 255, 0.55);
+ text-decoration: none;
+ font-family: 'Inter', sans-serif;
+ font-size: 0.78rem;
+ transition: color 0.2s ease;
+}
+
+.h-footer-legal-links a:hover {
+ color: #fff;
+}
+
+.h-footer-bottom {
+ position: relative;
+ z-index: 4;
+ max-width: 1080px;
+ margin: 0 auto;
+ padding-top: 1.5rem;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ gap: 1rem;
+ flex-wrap: wrap;
+ border-top: 1px solid rgba(255, 255, 255, 0.06);
+}
+
+.h-footer-legal {
+ margin: 0;
+ font-family: 'Inter', sans-serif;
+ font-size: 0.78rem;
+ font-weight: 400;
+ color: rgba(255, 255, 255, 0.42);
+ letter-spacing: 0.005em;
+}
+
+.h-footer-badges {
+ display: flex;
+ align-items: center;
+ gap: 0.5rem;
+ flex-wrap: wrap;
+}
+
+.h-footer-badge {
+ display: inline-flex;
+ align-items: center;
+ gap: 0.4rem;
+ padding: 0.32rem 0.7rem;
+ border-radius: 999px;
+ border: 1px solid rgba(255, 255, 255, 0.09);
+ background: rgba(255, 255, 255, 0.025);
+ color: rgba(255, 255, 255, 0.62);
+ font-family: 'Inter', sans-serif;
+ font-size: 0.72rem;
+ font-weight: 500;
+ letter-spacing: 0.01em;
+ text-decoration: none;
+ transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
+}
+
+.h-footer-badge:hover {
+ color: #fff;
+ border-color: rgba(255, 255, 255, 0.18);
+ background: rgba(255, 255, 255, 0.05);
+ transform: translateY(-1px);
+}
+
+.h-footer-badge svg {
+ width: 12px;
+ height: 12px;
+ flex-shrink: 0;
+}
+
+.h-footer-status-dot {
+ width: 6px;
+ height: 6px;
+ border-radius: 50%;
+ background: #4ade80;
+ box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
+ flex-shrink: 0;
+ animation: hStatusPulse 2.4s ease-in-out infinite;
+}
+
+@keyframes hStatusPulse {
+ 0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(74, 222, 128, 0.6); }
+ 50% { opacity: 0.55; box-shadow: 0 0 4px rgba(74, 222, 128, 0.35); }
+}
+
+.h-footer-horizon a:focus-visible {
+ outline: 2px solid #ffd76a;
+ outline-offset: 3px;
+ border-radius: 4px;
+}
+
+@media (max-width: 720px) {
+ .h-footer-horizon {
+ min-height: 320px;
+ padding: 3rem 1.25rem 1.5rem;
+ }
+ .h-footer-cta {
+ grid-template-columns: 1fr;
+ gap: 2rem;
+ padding-bottom: 2rem;
+ margin-bottom: 2rem;
+ }
+ .h-footer-inner {
+ flex-direction: column;
+ gap: 1.5rem;
+ margin-bottom: 3rem;
+ }
+ .h-footer-links {
+ grid-template-columns: repeat(2, 1fr);
+ gap: 1.25rem 1rem;
+ }
+ .h-footer-bottom {
+ flex-direction: column;
+ align-items: flex-start;
+ gap: 0.75rem;
+ }
+ .h-footer-avatar {
+ width: 90px;
+ height: 90px;
+ right: 5%;
+ bottom: 18%;
+ }
+}
diff --git a/marketplace-v2.css b/public/marketplace-v2.css
similarity index 100%
rename from marketplace-v2.css
rename to public/marketplace-v2.css
diff --git a/playground.css b/public/playground.css
similarity index 100%
rename from playground.css
rename to public/playground.css
diff --git a/public/style.css b/public/style.css
deleted file mode 120000
index 5191bf75c..000000000
--- a/public/style.css
+++ /dev/null
@@ -1 +0,0 @@
-../style.css
\ No newline at end of file
diff --git a/public/style.css b/public/style.css
new file mode 100644
index 000000000..df66e9bd1
--- /dev/null
+++ b/public/style.css
@@ -0,0 +1,7517 @@
+/******************************************************************************
+ * Golden Ratio Design System
+ * φ = 1.618 — all spacing and type follow a phi-based scale
+ */
+
+[hidden] {
+ display: none !important;
+}
+
+.save-toast {
+ position: fixed;
+ bottom: 20px;
+ left: 50%;
+ transform: translateX(-50%);
+ background: #14141c;
+ color: #eee;
+ border: 1px solid #2a2a36;
+ border-radius: 10px;
+ padding: 10px 16px;
+ font-size: 14px;
+ box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
+ z-index: 9999;
+}
+.save-toast a {
+ color: #9a8cff;
+}
+
+:root {
+ /* Phi ratio */
+ --phi: 1.618;
+
+ /* Spacing scale (each step × φ) */
+ --space-3xs: 0.146rem; /* ~2.3px */
+ --space-2xs: 0.236rem; /* ~3.8px */
+ --space-xs: 0.382rem; /* ~6.1px */
+ --space-sm: 0.618rem; /* ~9.9px */
+ --space-md: 1rem; /* 16px */
+ --space-lg: 1.618rem; /* ~25.9px */
+ --space-xl: 2.618rem; /* ~41.9px */
+ --space-2xl: 4.236rem; /* ~67.8px */
+
+ /* Typography scale (minor third adjusted to phi) */
+ --text-xs: 0.618rem; /* ~9.9px */
+ --text-sm: 0.764rem; /* ~12.2px */
+ --text-base: 1rem; /* 16px */
+ --text-lg: 1.236rem; /* ~19.8px */
+ --text-xl: 1.618rem; /* ~25.9px */
+ --text-2xl: 2.618rem; /* ~41.9px */
+
+ /* Line heights — golden ratio */
+ --leading-tight: 1.382;
+ --leading-normal: 1.618;
+ --leading-loose: 2.058;
+
+ /* Radii — phi-based */
+ --radius-sm: 3px; /* ~5/φ */
+ --radius-md: 5px; /* base */
+ --radius-lg: 8px; /* ~5×φ */
+
+ /* Header height */
+ --header-h: 3.5rem;
+
+ /* Font stacks */
+ --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
+ --font-body: 'Inter', system-ui, sans-serif;
+ --font-mono: 'SF Mono', 'Fira Code', ui-monospace, monospace;
+
+ /* Accent */
+ --accent: #8b5cf6;
+ --accent-soft: rgba(139, 92, 246, 0.18);
+}
+
+html,
+body {
+ margin: 0;
+ padding: 0;
+ font-family: 'Inter', system-ui, -apple-system, sans-serif;
+ background: #000;
+ height: 100%;
+ overflow: hidden;
+ color: #e0e0e0;
+ font-size: var(--text-base);
+ line-height: var(--leading-normal);
+}
+
+* {
+ box-sizing: border-box;
+}
+
+body {
+ display: flex;
+ flex-direction: column;
+}
+
+.wrap {
+ display: flex;
+ flex-direction: column;
+ width: 100vw;
+ flex-grow: 1;
+ position: relative;
+}
+
+.viewer-container {
+ flex-grow: 1;
+ position: relative;
+ min-height: 0;
+}
+
+.dropzone {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ gap: var(--space-md);
+ padding: var(--space-sm) var(--space-lg);
+ padding-bottom: max(var(--space-sm), env(safe-area-inset-bottom, 0));
+ padding-left: max(var(--space-lg), env(safe-area-inset-left, 0));
+ padding-right: max(var(--space-lg), env(safe-area-inset-right, 0));
+ background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.82));
+ backdrop-filter: blur(20px);
+ -webkit-backdrop-filter: blur(20px);
+ border-top: 1px solid rgba(255, 255, 255, 0.07);
+ box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.03) inset;
+ z-index: 1;
+}
+
+/* Drag-over highlight — lifts when a file is hovering anywhere on the page */
+body.is-dragover .dropzone {
+ background: linear-gradient(180deg, rgba(139, 92, 246, 0.16), rgba(139, 92, 246, 0.08));
+ border-top-color: rgba(139, 92, 246, 0.5);
+}
+
+.placeholder {
+ display: none;
+}
+
+.placeholder:hover {
+ border-color: rgba(255, 255, 255, 0.3);
+ background: rgba(255, 255, 255, 0.05);
+}
+
+.placeholder p {
+ font-size: var(--text-lg);
+ color: rgba(255, 255, 255, 0.4);
+ font-weight: 300;
+ letter-spacing: 0.02em;
+}
+
+.viewer {
+ width: 100%;
+ height: 100%;
+ position: absolute;
+ top: 0;
+ left: 0;
+ z-index: 0;
+}
+
+.model-info {
+ position: absolute;
+ bottom: 20px;
+ left: 20px;
+ z-index: 5;
+ pointer-events: none;
+ opacity: 0;
+ transform: translateY(8px);
+ animation: fadeInUp 0.4s ease 0.3s forwards;
+}
+
+.annotation-label {
+ position: absolute;
+ z-index: 4;
+ pointer-events: none;
+ transform: translate(-50%, -100%) translateY(-8px);
+ opacity: 0;
+ animation: fadeInUp 0.3s ease 0.5s forwards;
+}
+
+@keyframes fadeInUp {
+ to {
+ opacity: 1;
+ transform: translateY(0);
+ }
+}
+
+.axes {
+ width: 100px;
+ height: 100px;
+ margin: 20px;
+ padding: 0px;
+ position: absolute;
+ left: 0px;
+ bottom: 0px;
+ z-index: 10;
+ pointer-events: none;
+}
+
+/******************************************************************************
+ * Header
+ */
+
+header {
+ display: flex;
+ flex-shrink: 0;
+ background: rgba(0, 0, 0, 0.8);
+ backdrop-filter: blur(20px);
+ -webkit-backdrop-filter: blur(20px);
+ padding: 0 var(--space-lg);
+ padding-top: env(safe-area-inset-top, 0);
+ padding-left: max(var(--space-lg), env(safe-area-inset-left, 0));
+ padding-right: max(var(--space-lg), env(safe-area-inset-right, 0));
+ height: calc(var(--header-h) + env(safe-area-inset-top, 0));
+ line-height: var(--header-h);
+ align-items: center;
+ overflow-x: auto;
+ overflow-y: hidden;
+ white-space: nowrap;
+ border-bottom: 1px solid rgba(255, 255, 255, 0.06);
+ z-index: 1;
+
+ -webkit-app-region: drag;
+}
+
+header h1 {
+ color: #fff;
+ font-family: var(--font-display);
+ font-size: var(--text-lg);
+ font-weight: 600;
+ line-height: var(--header-h);
+ margin: 0;
+ letter-spacing: -0.01em;
+ display: flex;
+ align-items: center;
+ gap: var(--space-xs);
+}
+
+header h1 > a {
+ color: inherit;
+ font-size: inherit;
+ text-decoration: inherit;
+ display: flex;
+ align-items: center;
+ gap: 0.5rem;
+}
+
+header h1 .wordmark-dot {
+ width: 8px;
+ height: 8px;
+ border-radius: 50%;
+ background: linear-gradient(135deg, #a78bfa 0%, #6366f1 100%);
+ box-shadow: 0 0 10px rgba(139, 92, 246, 0.6);
+ display: inline-block;
+}
+
+header h1 .wordmark-logo {
+ width: 28px;
+ height: 28px;
+ display: inline-block;
+ vertical-align: middle;
+}
+
+.features-nav {
+ margin-left: auto;
+ display: flex;
+ gap: var(--space-md);
+ -webkit-app-region: no-drag;
+ align-items: center;
+}
+
+.features-nav a {
+ color: rgba(255, 255, 255, 0.5);
+ text-decoration: none;
+ font-size: var(--text-sm);
+ font-weight: 500;
+ letter-spacing: -0.005em;
+ padding: 0.35rem 0.7rem;
+ border-radius: var(--radius-md);
+ transition:
+ color 0.18s ease,
+ background 0.18s ease;
+ position: relative;
+}
+
+.features-nav a:hover {
+ color: #fff;
+ background: rgba(255, 255, 255, 0.04);
+}
+
+.features-nav a.active {
+ color: #fff;
+ background: rgba(255, 255, 255, 0.06);
+}
+
+.features-nav a.active::after {
+ content: '';
+ position: absolute;
+ left: 50%;
+ bottom: -2px;
+ transform: translateX(-50%);
+ width: 18px;
+ height: 2px;
+ border-radius: 2px;
+ background: linear-gradient(90deg, #a78bfa, #6366f1);
+}
+
+.nav-sign-in {
+ border: 1px solid rgba(255, 255, 255, 0.12);
+ border-radius: var(--radius-md);
+}
+
+.nav-user {
+ display: inline-flex;
+ align-items: center;
+ gap: 6px;
+ padding: 4px 10px;
+ border-radius: 20px;
+ border: 1px solid rgba(255, 255, 255, 0.1);
+ background: rgba(255, 255, 255, 0.04);
+ font-size: var(--text-sm);
+ color: rgba(255, 255, 255, 0.55);
+ max-width: 140px;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}
+
+.nav-user::before {
+ content: '';
+ width: 6px;
+ height: 6px;
+ border-radius: 50%;
+ background: #4ade80;
+ flex-shrink: 0;
+}
+
+.nav-user:hover {
+ color: rgba(255, 255, 255, 0.85) !important;
+ border-color: rgba(255, 255, 255, 0.2);
+ background: rgba(255, 255, 255, 0.07);
+}
+
+.nav-sign-in.signed-in {
+ display: none;
+}
+
+.nav-user-wrap {
+ position: relative;
+}
+
+.nav-user {
+ cursor: pointer;
+ background: none;
+ border: 1px solid rgba(255, 255, 255, 0.1);
+}
+
+.nav-user[aria-expanded='true'] {
+ border-color: rgba(255, 255, 255, 0.22);
+ background: rgba(255, 255, 255, 0.07);
+ color: rgba(255, 255, 255, 0.85);
+}
+
+.nav-user-menu {
+ position: absolute;
+ right: 0;
+ top: calc(100% + 6px);
+ min-width: 160px;
+ background: #0e0e16;
+ border: 1px solid rgba(255, 255, 255, 0.1);
+ border-radius: 10px;
+ padding: 4px;
+ box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
+ z-index: 200;
+ display: flex;
+ flex-direction: column;
+}
+
+.nav-user-menu-item {
+ display: block;
+ padding: 8px 12px;
+ font-size: 13px;
+ color: rgba(255, 255, 255, 0.7);
+ text-decoration: none;
+ border-radius: 7px;
+ background: none;
+ border: 0;
+ cursor: pointer;
+ text-align: left;
+ font-family: inherit;
+ width: 100%;
+ transition: background 0.12s, color 0.12s;
+}
+
+.nav-user-menu-item:hover {
+ background: rgba(255, 255, 255, 0.07);
+ color: #fff;
+}
+
+.nav-user-menu-signout {
+ color: rgba(255, 100, 100, 0.8);
+}
+
+.nav-user-menu-signout:hover {
+ background: rgba(204, 64, 64, 0.12);
+ color: #ffb3b3;
+}
+
+.nav-user-menu-sep {
+ height: 1px;
+ background: rgba(255, 255, 255, 0.07);
+ margin: 4px 0;
+}
+
+.gui-wrap {
+ position: absolute;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ pointer-events: none;
+ transition:
+ opacity 0.2s ease,
+ transform 0.2s ease;
+}
+
+.gui-wrap--hidden {
+ opacity: 0;
+ transform: translateX(12px);
+ pointer-events: none !important;
+ visibility: hidden;
+}
+
+.gui-wrap > .main {
+ pointer-events: all;
+ max-height: 100%;
+ overflow: auto;
+}
+
+/* Controls toggle button (top-right) */
+.gui-toggle {
+ position: absolute;
+ top: var(--space-sm);
+ right: var(--space-sm);
+ display: flex;
+ align-items: center;
+ gap: 6px;
+ padding: 6px 10px;
+ background: rgba(18, 18, 26, 0.85);
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: var(--radius-md);
+ color: rgba(255, 255, 255, 0.6);
+ font-family: var(--font-body);
+ font-size: var(--text-xs);
+ font-weight: 500;
+ letter-spacing: 0.02em;
+ cursor: pointer;
+ backdrop-filter: blur(12px);
+ -webkit-backdrop-filter: blur(12px);
+ transition:
+ color 0.18s,
+ background 0.18s,
+ border-color 0.18s;
+ z-index: 30;
+}
+
+.gui-toggle:hover {
+ color: #fff;
+ background: rgba(28, 28, 38, 0.9);
+ border-color: rgba(255, 255, 255, 0.18);
+}
+
+.gui-toggle--active {
+ color: #fff;
+ background: var(--accent-soft);
+ border-color: rgba(139, 92, 246, 0.45);
+}
+
+.gui-toggle__label {
+ font-size: 11px;
+}
+
+/* AR button — sits below the Controls toggle, same corner */
+.ar-btn {
+ position: absolute;
+ top: calc(var(--space-sm) + 38px);
+ right: var(--space-sm);
+ display: flex;
+ align-items: center;
+ gap: 6px;
+ padding: 6px 10px;
+ background: rgba(18, 18, 26, 0.85);
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: var(--radius-md);
+ color: rgba(255, 255, 255, 0.6);
+ font-family: var(--font-body);
+ font-size: var(--text-xs);
+ font-weight: 500;
+ letter-spacing: 0.02em;
+ cursor: pointer;
+ backdrop-filter: blur(12px);
+ -webkit-backdrop-filter: blur(12px);
+ transition:
+ color 0.18s,
+ background 0.18s,
+ border-color 0.18s;
+ z-index: 30;
+}
+
+.ar-btn:hover {
+ color: #fff;
+ background: rgba(28, 28, 38, 0.9);
+ border-color: rgba(255, 255, 255, 0.18);
+}
+
+.ar-btn--active {
+ color: #fff;
+ background: var(--accent-soft);
+ border-color: rgba(139, 92, 246, 0.45);
+}
+
+.ar-btn__label {
+ font-size: 11px;
+}
+
+.dg li.gui-stats:not(.folder) {
+ height: auto;
+}
+
+/******************************************************************************
+ * dat.gui dark theme overrides
+ */
+
+.dg.ac {
+ z-index: 10 !important;
+}
+
+.dg.main .close-button.close-bottom {
+ background-color: #111 !important;
+ color: rgba(255, 255, 255, 0.5) !important;
+ border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
+}
+
+.dg.main .close-button.close-bottom:hover {
+ background-color: #1a1a1a !important;
+ color: rgba(255, 255, 255, 0.8) !important;
+}
+
+.dg.a {
+ margin-right: 0 !important;
+}
+
+.dg li:not(.folder) {
+ background: #0a0a0a !important;
+ border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
+}
+
+.dg li.folder {
+ border-bottom: 0 !important;
+}
+
+.dg li.title {
+ background: #111 !important;
+ border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
+}
+
+.dg .cr.function .property-name {
+ width: 100% !important;
+}
+
+.dg .c select {
+ background: #1a1a1a !important;
+ color: #ccc !important;
+ border: 1px solid rgba(255, 255, 255, 0.1) !important;
+ border-radius: var(--radius-sm) !important;
+}
+
+.dg .c input[type='text'] {
+ background: #1a1a1a !important;
+ color: #ccc !important;
+ border: 1px solid rgba(255, 255, 255, 0.1) !important;
+ border-radius: var(--radius-sm) !important;
+}
+
+@media screen and (max-width: 700px) {
+ header {
+ padding: 0 1em;
+ height: 3rem;
+ line-height: 3rem;
+ }
+
+ header h1 {
+ font-size: 1em;
+ line-height: 3rem;
+ }
+
+ .placeholder {
+ display: none;
+ }
+
+ .placeholder p {
+ font-size: 1rem;
+ }
+
+ .upload-btn label {
+ padding: var(--space-xs) var(--space-md);
+ font-size: var(--text-sm);
+ }
+
+ .dropzone {
+ flex-direction: column;
+ gap: var(--space-xs);
+ padding: var(--space-xs) var(--space-md);
+ }
+
+ footer {
+ bottom: auto;
+ top: calc(3rem + 0.5em);
+ left: 0.5em;
+ right: auto;
+ }
+
+ .gui-wrap {
+ max-width: 65vw;
+ }
+
+ .axes {
+ width: 60px;
+ height: 60px;
+ margin: 10px;
+ bottom: 0;
+ }
+
+ .model-info {
+ bottom: 10px;
+ left: 10px;
+ transform: scale(0.85) translateY(8px);
+ transform-origin: bottom left;
+ }
+
+ @keyframes fadeInUp {
+ to {
+ opacity: 1;
+ transform: scale(0.85) translateY(0);
+ }
+ }
+
+ .annotation-label {
+ transform: scale(0.8) translate(-50%, -100%) translateY(-6px);
+ transform-origin: center bottom;
+ }
+
+ .report {
+ padding: var(--space-md);
+ max-width: 100vw;
+ }
+
+ .report-table th,
+ .report-table td {
+ padding: var(--space-2xs) var(--space-xs);
+ font-size: var(--text-sm);
+ }
+
+ .report-toggle {
+ left: 10px;
+ height: 36px;
+ }
+
+ .report-toggle-text {
+ line-height: 36px;
+ font-size: 0.75em;
+ }
+
+ .report-toggle-close {
+ width: 36px;
+ height: 36px;
+ line-height: 36px;
+ }
+}
+
+/******************************************************************************
+ * Footer
+ */
+
+footer {
+ position: absolute;
+ bottom: calc(var(--space-sm) + env(safe-area-inset-bottom, 0));
+ right: calc(var(--space-md) + env(safe-area-inset-right, 0));
+ display: flex;
+ align-items: center;
+ gap: var(--space-sm);
+ font-family: var(--font-mono);
+ font-size: var(--text-sm);
+ color: #fff;
+ z-index: 2;
+ pointer-events: none;
+}
+
+footer a {
+ pointer-events: all;
+ color: rgba(255, 255, 255, 0.55);
+ text-decoration: none;
+ transition: color 0.18s ease;
+ display: inline-flex;
+ align-items: center;
+}
+
+footer a:hover {
+ color: #fff;
+}
+
+footer a svg {
+ vertical-align: middle;
+}
+
+footer .separator {
+ color: rgba(255, 255, 255, 0.2);
+ font-size: 10px;
+}
+
+/******************************************************************************
+ * Upload Button
+ *
+ * https://tympanus.net/Tutorials/CustomFileInputs/
+ */
+
+.upload-btn {
+ margin: 0;
+}
+
+.upload-btn input {
+ width: 0.1px;
+ height: 0.1px;
+ opacity: 0;
+ overflow: hidden;
+ position: absolute;
+ z-index: -1;
+}
+
+.upload-btn label {
+ display: inline-flex;
+ align-items: center;
+ gap: var(--space-xs);
+ color: rgba(255, 255, 255, 0.88);
+ background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
+ border: 1px solid rgba(255, 255, 255, 0.14);
+ border-radius: var(--radius-md);
+ transition:
+ background 0.18s ease,
+ border-color 0.18s ease,
+ color 0.18s ease,
+ transform 0.18s ease;
+ font-size: var(--text-sm);
+ font-weight: 500;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ cursor: pointer;
+ overflow: hidden;
+ padding: var(--space-sm) var(--space-md);
+ letter-spacing: -0.005em;
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
+}
+
+.upload-btn label:hover {
+ background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
+ color: #fff;
+ border-color: rgba(255, 255, 255, 0.28);
+}
+
+.upload-btn label:active {
+ transform: translateY(1px);
+ border-color: rgba(255, 255, 255, 0.35);
+}
+
+.drop-hint {
+ color: rgba(255, 255, 255, 0.42);
+ font-size: var(--text-sm);
+ font-weight: 400;
+ letter-spacing: -0.005em;
+}
+
+@media screen and (max-width: 700px) {
+ .drop-hint {
+ display: none;
+ }
+}
+
+.upload-btn svg {
+ width: 1em;
+ height: 1em;
+ fill: currentColor;
+ flex-shrink: 0;
+ opacity: 0.9;
+}
+
+/******************************************************************************
+ * Validation report
+ */
+
+.report {
+ padding: var(--space-lg);
+ max-width: 860px;
+}
+
+.report h1 {
+ margin-top: 0;
+}
+
+.report p,
+.report ul {
+ line-height: var(--leading-normal);
+}
+
+.report-table {
+ text-align: left;
+ border-collapse: collapse;
+ width: 100%;
+}
+
+.report-table thead tr {
+ background: #1a1a1a;
+ color: rgba(255, 255, 255, 0.9);
+}
+
+.report-table th,
+.report-table td {
+ padding: var(--space-xs) var(--space-md);
+ color: rgba(255, 255, 255, 0.7);
+}
+
+.report-table tr:nth-child(2n) {
+ background: rgba(255, 255, 255, 0.04);
+}
+
+.report-table tr:nth-child(odd) {
+ background: rgba(255, 255, 255, 0.02);
+}
+
+.report-table-wrap {
+ overflow-x: auto;
+ margin-bottom: var(--space-md);
+}
+
+.report-section-heading {
+ font-size: 1.05rem;
+ margin: var(--space-md) 0 var(--space-xs);
+ padding-left: var(--space-md);
+ border-left: 4px solid #888;
+}
+
+.report-count {
+ font-weight: normal;
+ opacity: 0.7;
+ font-size: 0.9em;
+}
+
+.report-banner {
+ display: flex;
+ align-items: center;
+ gap: var(--space-md);
+ padding: var(--space-md);
+ border-radius: 6px;
+ margin-bottom: var(--space-md);
+ font-size: 0.95rem;
+}
+
+.report-banner-clean {
+ background: rgba(139, 195, 74, 0.12);
+ border: 1px solid rgba(139, 195, 74, 0.35);
+ color: #8bc34a;
+}
+
+.report-banner-issues {
+ background: rgba(244, 67, 54, 0.08);
+ border: 1px solid rgba(244, 67, 54, 0.25);
+ color: rgba(255, 255, 255, 0.85);
+}
+
+.report-banner-icon {
+ font-size: 1.5rem;
+ font-weight: bold;
+}
+
+.report-head {
+ display: flex;
+ align-items: baseline;
+ justify-content: space-between;
+ gap: var(--space-md);
+ flex-wrap: wrap;
+}
+
+.report-download {
+ display: inline-block;
+ padding: 6px 12px;
+ font-size: 0.85rem;
+ border: 1px solid rgba(255, 255, 255, 0.18);
+ border-radius: 6px;
+ color: rgba(255, 255, 255, 0.85);
+ text-decoration: none;
+ transition: background-color 120ms ease;
+}
+
+.report-download:hover {
+ background: rgba(255, 255, 255, 0.08);
+}
+
+/******************************************************************************
+ * CSS Spinner
+ *
+ * http://tobiasahlin.com/spinkit/
+ */
+
+.spinner {
+ width: 36px;
+ height: 36px;
+ position: absolute;
+ left: 50%;
+ top: 50%;
+ margin: -18px;
+ border-radius: 50%;
+ border: 2px solid rgba(255, 255, 255, 0.08);
+ border-top-color: rgba(167, 139, 250, 0.9);
+ border-right-color: rgba(167, 139, 250, 0.4);
+ box-shadow: 0 0 24px rgba(139, 92, 246, 0.25);
+ -webkit-animation: sk-spin 0.9s linear infinite;
+ animation: sk-spin 0.9s linear infinite;
+}
+
+@-webkit-keyframes sk-spin {
+ to {
+ -webkit-transform: rotate(360deg);
+ }
+}
+
+@keyframes sk-spin {
+ to {
+ transform: rotate(360deg);
+ }
+}
+
+/******************************************************************************
+ * Screenshot flash feedback
+ */
+
+.screenshot-flash {
+ position: absolute;
+ inset: 0;
+ background: #fff;
+ opacity: 0;
+ pointer-events: none;
+ z-index: 100;
+ animation: screenshot-flash 0.3s ease-out forwards;
+}
+
+@keyframes screenshot-flash {
+ 0% {
+ opacity: 0.5;
+ }
+ 100% {
+ opacity: 0;
+ }
+}
+
+/******************************************************************************
+ * Golden Ratio Dev Grid Overlay — toggle with Alt+G
+ *
+ * Horizontal: splits viewport at 38.2% / 61.8%
+ * Vertical: splits viewport at 38.2% / 61.8%
+ * Plus rule-of-thirds (33.3% / 66.6%) for comparison
+ */
+
+.phi-grid {
+ display: none;
+ position: fixed;
+ inset: 0;
+ z-index: 9999;
+ pointer-events: none;
+ mix-blend-mode: difference;
+}
+
+.phi-grid.visible {
+ display: block;
+}
+
+/* Vertical golden split */
+.phi-grid::before,
+.phi-grid::after {
+ content: '';
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ width: 1px;
+}
+
+.phi-grid::before {
+ left: 38.2%;
+ background: rgba(255, 215, 0, 0.5);
+}
+
+.phi-grid::after {
+ left: 61.8%;
+ background: rgba(255, 215, 0, 0.5);
+}
+
+/* Horizontal golden split + thirds via inner spans */
+.phi-grid-h::before,
+.phi-grid-h::after {
+ content: '';
+ position: absolute;
+ left: 0;
+ right: 0;
+ height: 1px;
+}
+
+.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(52, 211, 153, 0.1);
+}
+
+.price-paid {
+ color: #fde047;
+ background-color: rgba(253, 224, 71, 0.1);
+}
+
+/* Price Badge Styles from Prompt 1 */
+.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(52, 211, 153, 0.1);
+}
+
+.price-paid {
+ color: #fde047;
+ background-color: rgba(253, 224, 71, 0.1);
+}
+
+.phi-grid-h::before {
+ top: 38.2%;
+ background: rgba(255, 215, 0, 0.5);
+}
+
+.phi-grid-h::after {
+ top: 61.8%;
+ background: rgba(255, 215, 0, 0.5);
+}
+
+/* Rule-of-thirds lines (dimmer) */
+.phi-grid-thirds::before,
+.phi-grid-thirds::after {
+ content: '';
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ width: 1px;
+ background: rgba(0, 191, 255, 0.25);
+}
+
+.phi-grid-thirds::before {
+ left: 33.333%;
+}
+.phi-grid-thirds::after {
+ left: 66.666%;
+}
+
+.phi-grid-thirds-h::before,
+.phi-grid-thirds-h::after {
+ content: '';
+ position: absolute;
+ left: 0;
+ right: 0;
+ height: 1px;
+ background: rgba(0, 191, 255, 0.25);
+}
+
+.phi-grid-thirds-h::before {
+ top: 33.333%;
+}
+.phi-grid-thirds-h::after {
+ top: 66.666%;
+}
+
+.phi-grid-label {
+ position: fixed;
+ top: var(--space-xs);
+ left: 50%;
+ transform: translateX(-50%);
+ font-family: 'SF Mono', 'Fira Code', monospace;
+ font-size: var(--text-xs);
+ color: rgba(255, 215, 0, 0.7);
+ background: rgba(0, 0, 0, 0.7);
+ padding: var(--space-3xs) var(--space-xs);
+ border-radius: var(--radius-sm);
+ z-index: 10000;
+ pointer-events: none;
+ display: none;
+}
+
+.phi-grid.visible ~ .phi-grid-label {
+ display: block;
+}
+
+/******************************************************************************
+ * Nich Agent Panel
+ */
+
+.nich-toggle {
+ position: fixed;
+ bottom: var(--space-lg);
+ left: var(--space-lg);
+ width: 48px;
+ height: 48px;
+ border-radius: 50%;
+ border: 1px solid rgba(255, 255, 255, 0.1);
+ background: rgba(10, 10, 10, 0.9);
+ backdrop-filter: blur(12px);
+ -webkit-backdrop-filter: blur(12px);
+ color: rgba(255, 255, 255, 0.6);
+ cursor: pointer;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ transition: all 0.25s ease;
+ z-index: 50;
+}
+
+.nich-toggle:hover {
+ background: rgba(255, 255, 255, 0.08);
+ color: #fff;
+ border-color: rgba(255, 255, 255, 0.25);
+ transform: scale(1.05);
+}
+
+.nich-toggle.active {
+ color: #fff;
+ border-color: rgba(255, 255, 255, 0.3);
+}
+
+.nich-panel {
+ position: fixed;
+ bottom: 5em;
+ left: var(--space-lg);
+ width: 320px;
+ max-height: 480px;
+ display: flex;
+ flex-direction: column;
+ background: rgba(10, 10, 10, 0.95);
+ backdrop-filter: blur(20px);
+ -webkit-backdrop-filter: blur(20px);
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: var(--radius-lg);
+ overflow: hidden;
+ z-index: 50;
+ 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;
+ justify-content: space-between;
+ padding: var(--space-sm) var(--space-md);
+ border-bottom: 1px solid rgba(255, 255, 255, 0.06);
+}
+
+.nich-title {
+ font-size: var(--text-sm);
+ font-weight: 500;
+ color: rgba(255, 255, 255, 0.8);
+ letter-spacing: 0.03em;
+}
+
+.nich-close {
+ background: none;
+ border: none;
+ color: rgba(255, 255, 255, 0.4);
+ font-size: var(--text-lg);
+ cursor: pointer;
+ padding: 0;
+ line-height: 1;
+ transition: color 0.2s ease;
+}
+
+.nich-close:hover {
+ color: #fff;
+}
+
+.nich-messages {
+ flex: 1;
+ overflow-y: auto;
+ padding: var(--space-sm);
+ display: flex;
+ flex-direction: column;
+ gap: var(--space-xs);
+ min-height: 200px;
+ max-height: 300px;
+}
+
+.nich-message {
+ font-size: var(--text-sm);
+ line-height: var(--leading-normal);
+ padding: var(--space-xs) var(--space-sm);
+ border-radius: var(--radius-lg);
+ max-width: 85%;
+ word-wrap: break-word;
+}
+
+.nich-message.agent {
+ background: rgba(255, 255, 255, 0.06);
+ color: rgba(255, 255, 255, 0.7);
+ align-self: flex-start;
+ border-bottom-left-radius: var(--radius-sm);
+}
+
+.nich-message.user {
+ background: rgba(255, 255, 255, 0.12);
+ color: #fff;
+ align-self: flex-end;
+ border-bottom-right-radius: var(--radius-sm);
+}
+
+.nich-controls {
+ display: flex;
+ gap: var(--space-xs);
+ padding: var(--space-sm);
+ border-top: 1px solid rgba(255, 255, 255, 0.06);
+}
+
+.nich-input {
+ flex: 1;
+ background: rgba(255, 255, 255, 0.05);
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: var(--radius-lg);
+ padding: var(--space-xs) var(--space-sm);
+ color: #fff;
+ font-family: 'Inter', sans-serif;
+ font-size: var(--text-sm);
+ outline: none;
+ transition: border-color 0.2s ease;
+}
+
+.nich-input::placeholder {
+ color: rgba(255, 255, 255, 0.25);
+}
+
+.nich-input:focus {
+ border-color: rgba(255, 255, 255, 0.2);
+}
+
+.nich-send {
+ background: rgba(255, 255, 255, 0.06);
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: var(--radius-lg);
+ color: rgba(255, 255, 255, 0.5);
+ cursor: pointer;
+ padding: var(--space-xs) var(--space-sm);
+ display: flex;
+ align-items: center;
+ transition: all 0.2s ease;
+}
+
+.nich-send:hover {
+ background: rgba(255, 255, 255, 0.1);
+ color: #fff;
+}
+
+.nich-mic-row {
+ display: flex;
+ justify-content: center;
+ padding: 0 var(--space-sm) var(--space-sm);
+}
+
+.nich-mic {
+ background: rgba(255, 255, 255, 0.04);
+ border: 1px solid rgba(255, 255, 255, 0.06);
+ border-radius: 50%;
+ width: 32px;
+ height: 32px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ color: rgba(255, 255, 255, 0.35);
+ cursor: pointer;
+ transition: all 0.2s ease;
+}
+
+.nich-mic:hover {
+ background: rgba(255, 255, 255, 0.08);
+ color: rgba(255, 255, 255, 0.7);
+}
+
+.nich-mic.active {
+ background: rgba(255, 80, 80, 0.15);
+ border-color: rgba(255, 80, 80, 0.3);
+ color: #ff5050;
+}
+
+@media screen and (max-width: 700px) {
+ .nich-toggle {
+ bottom: var(--space-md);
+ left: var(--space-md);
+ width: 42px;
+ height: 42px;
+ }
+
+ .nich-panel {
+ bottom: 4em;
+ left: var(--space-sm);
+ right: var(--space-sm);
+ width: auto;
+ max-height: 60vh;
+ }
+}
+
+/******************************************************************************
+ * ERC-8004 Agent Registration
+ */
+
+.erc8004-register {
+ position: absolute;
+ inset: 0;
+ z-index: 20;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ background: rgba(0, 0, 0, 0.85);
+ backdrop-filter: blur(24px);
+ -webkit-backdrop-filter: blur(24px);
+ overflow-y: auto;
+ padding: var(--space-lg);
+}
+
+/* Page mode — /deploy renders inside app.html shell, not as a modal overlay. */
+body[data-viewer-mode='deploy'],
+body[data-viewer-mode='explore'] {
+ overflow-y: auto;
+}
+
+/* Embed/kiosk — strip every owner-mode surface. The /app page is loaded inside
+ * a host iframe (e.g. /pumpfun) and only the 3D stage should show. */
+body[data-viewer-mode='embed'] #agent-presence-sidebar,
+body[data-viewer-mode='embed'] .dropzone,
+body[data-viewer-mode='embed'] .auth-gate,
+body[data-viewer-mode='embed'] .agent-onboarding,
+body[data-viewer-mode='embed'] .dg.main {
+ display: none !important;
+}
+
+/* Hide viewer-only action buttons in non-viewer modes — they're meaningless on
+ * /deploy and /explore where the viewer is hidden. */
+body[data-viewer-mode='deploy'] .save-to-account-btn,
+body[data-viewer-mode='deploy'] .make-widget-btn,
+body[data-viewer-mode='deploy'] .deploy-onchain-btn,
+body[data-viewer-mode='deploy'] .view-public-profile-btn,
+body[data-viewer-mode='explore'] .save-to-account-btn,
+body[data-viewer-mode='explore'] .make-widget-btn,
+body[data-viewer-mode='explore'] .deploy-onchain-btn,
+body[data-viewer-mode='explore'] .view-public-profile-btn {
+ display: none !important;
+}
+
+body[data-viewer-mode='deploy'] {
+ background: #000;
+ color: #fff;
+}
+
+html:has(body.explore-page),
+html:has(body.deploy-page) {
+ height: auto;
+ overflow: auto;
+}
+
+body.deploy-page,
+body.explore-page {
+ display: block;
+ width: 100%;
+ min-height: calc(100vh - var(--header-h));
+ height: auto;
+ overflow: visible;
+ padding: var(--space-md) var(--space-lg) var(--space-2xl);
+}
+
+body.deploy-page {
+ background:
+ radial-gradient(900px 500px at 80% -10%, rgba(99, 102, 241, 0.12), transparent 60%),
+ radial-gradient(700px 400px at 10% 5%, rgba(139, 92, 246, 0.10), transparent 60%),
+ #070710;
+}
+
+/* Logo image in header */
+.header-logo {
+ width: 28px;
+ height: 28px;
+ display: inline-block;
+ vertical-align: middle;
+ margin-right: 0.5rem;
+ flex-shrink: 0;
+ object-fit: contain;
+}
+
+/* /a/<chainId>/<agentId> — overlay card that tells the viewer whose agent they're looking at. */
+.onchain-card {
+ position: fixed;
+ left: var(--space-md);
+ bottom: var(--space-md);
+ z-index: 50;
+ max-width: 320px;
+ padding: var(--space-sm) var(--space-md);
+ background: rgba(8, 8, 20, 0.85);
+ backdrop-filter: blur(10px);
+ -webkit-backdrop-filter: blur(10px);
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: var(--radius-md);
+ color: #fff;
+ font-size: var(--text-sm);
+ line-height: 1.35;
+ pointer-events: none;
+}
+.onchain-card__name {
+ font-weight: 600;
+}
+.onchain-card__sub {
+ margin-top: 2px;
+ color: rgba(255, 255, 255, 0.55);
+ font-size: var(--text-xs);
+}
+.onchain-card__desc {
+ margin-top: var(--space-xs);
+ color: rgba(255, 255, 255, 0.8);
+ font-size: var(--text-xs);
+ max-height: 4.2em;
+ overflow: hidden;
+ display: -webkit-box;
+ -webkit-line-clamp: 3;
+ -webkit-box-orient: vertical;
+}
+.onchain-card__err {
+ color: #ff7a7a;
+}
+
+/* /discover — cross-chain on-chain avatar browser.
+ *
+ * Search ANY input (address / ENS / tx / agent ID / agent:// URI) and see every
+ * matching ERC-8004 registered 3D avatar as a gallery, grouped by chain.
+ * Implementation: public/discover/discover.js → src/erc8004/resolve-avatar.js.
+ */
+.explore-shell {
+ max-width: 1200px;
+ margin: 0 auto;
+}
+
+/* Hero */
+.explore-hero {
+ padding: var(--space-xl) 0 var(--space-lg);
+}
+.explore-hero-inner {
+ max-width: 780px;
+ margin: 0 auto;
+ text-align: center;
+}
+.explore-eyebrow {
+ display: inline-block;
+ padding: var(--space-3xs) var(--space-sm);
+ margin-bottom: var(--space-sm);
+ background: rgba(99, 102, 241, 0.12);
+ border: 1px solid rgba(99, 102, 241, 0.3);
+ border-radius: 999px;
+ font-size: var(--text-xs);
+ letter-spacing: 0.08em;
+ text-transform: uppercase;
+ color: rgba(165, 180, 252, 0.95);
+}
+.explore-title {
+ margin: 0 0 var(--space-sm);
+ font-size: clamp(1.8rem, 4vw, 2.6rem);
+ line-height: 1.1;
+ letter-spacing: -0.02em;
+ color: #fff;
+}
+.explore-subtitle {
+ margin: 0 auto var(--space-lg);
+ max-width: 560px;
+ color: rgba(255, 255, 255, 0.65);
+ line-height: 1.5;
+}
+
+/* Search form */
+.explore-form {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ gap: var(--space-xs);
+ margin: 0 auto;
+ max-width: 680px;
+}
+.explore-input-wrap {
+ display: flex;
+ width: 100%;
+ background: rgba(255, 255, 255, 0.04);
+ border: 1px solid rgba(255, 255, 255, 0.12);
+ border-radius: 14px;
+ overflow: hidden;
+ transition:
+ border-color 0.15s ease,
+ box-shadow 0.15s ease;
+}
+.explore-input-wrap:focus-within {
+ border-color: rgba(123, 97, 255, 0.65);
+ box-shadow: 0 0 0 3px rgba(123, 97, 255, 0.18);
+}
+.explore-input {
+ flex: 1;
+ min-width: 0;
+ padding: var(--space-md) var(--space-lg);
+ background: transparent;
+ border: none;
+ outline: none;
+ color: #fff;
+ font-family: inherit;
+ font-size: var(--text-base);
+}
+.explore-input::placeholder {
+ color: rgba(255, 255, 255, 0.35);
+}
+.explore-input-meta {
+ font-size: var(--text-xs);
+ color: rgba(255, 255, 255, 0.45);
+ min-height: 1em;
+}
+.explore-inputmeta--ok {
+ color: rgba(134, 239, 172, 0.9);
+}
+.explore-inputmeta--warn {
+ color: rgba(253, 186, 116, 0.9);
+}
+
+/* Examples / recent searches */
+.explore-examples {
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: center;
+ align-items: center;
+ gap: var(--space-xs);
+ margin-top: var(--space-md);
+}
+.explore-examples-lbl {
+ color: rgba(255, 255, 255, 0.4);
+ font-size: var(--text-xs);
+ margin-right: var(--space-2xs);
+}
+.explore-example {
+ padding: var(--space-3xs) var(--space-sm);
+ background: rgba(255, 255, 255, 0.05);
+ border: 1px solid rgba(255, 255, 255, 0.1);
+ border-radius: 999px;
+ color: rgba(255, 255, 255, 0.75);
+ font-family: inherit;
+ font-size: var(--text-xs);
+ cursor: pointer;
+ transition:
+ background 0.15s ease,
+ border-color 0.15s ease;
+}
+.explore-example:hover {
+ background: rgba(255, 255, 255, 0.1);
+ border-color: rgba(255, 255, 255, 0.2);
+ color: #fff;
+}
+
+/* Controls bar (chain chips + progress) */
+.explore-controls {
+ position: sticky;
+ top: var(--header-h, 0);
+ z-index: 3;
+ padding: var(--space-sm) 0;
+ margin: 0 0 var(--space-md);
+ background: rgba(8, 8, 20, 0.82);
+ backdrop-filter: blur(10px);
+ -webkit-backdrop-filter: blur(10px);
+ border-bottom: 1px solid rgba(255, 255, 255, 0.06);
+}
+.explore-controls-row {
+ display: flex;
+ align-items: center;
+ flex-wrap: wrap;
+ gap: var(--space-sm);
+}
+.explore-controls-lbl {
+ color: rgba(255, 255, 255, 0.45);
+ font-size: var(--text-xs);
+ text-transform: uppercase;
+ letter-spacing: 0.08em;
+}
+.explore-controls-spacer {
+ flex: 1;
+}
+.explore-chain-chips {
+ display: flex;
+ flex-wrap: wrap;
+ align-items: center;
+ gap: var(--space-2xs);
+}
+.explore-chain-group {
+ display: flex;
+ flex-wrap: wrap;
+ gap: var(--space-2xs);
+}
+.explore-chain-group--testnet {
+ opacity: 0.85;
+}
+.explore-chain-divider {
+ color: rgba(255, 255, 255, 0.25);
+ padding: 0 var(--space-2xs);
+}
+.explore-chain-chip {
+ display: inline-flex;
+ align-items: center;
+ gap: var(--space-2xs);
+ padding: 3px var(--space-sm);
+ background: rgba(255, 255, 255, 0.04);
+ border: 1px solid rgba(255, 255, 255, 0.1);
+ border-radius: 999px;
+ color: rgba(255, 255, 255, 0.55);
+ font-family: inherit;
+ font-size: var(--text-xs);
+ cursor: pointer;
+ transition:
+ background 0.15s ease,
+ border-color 0.15s ease,
+ color 0.15s ease;
+}
+.explore-chain-chip:hover {
+ color: #fff;
+ border-color: rgba(255, 255, 255, 0.2);
+}
+.explore-chain-chip--active {
+ background: rgba(123, 97, 255, 0.18);
+ border-color: rgba(123, 97, 255, 0.5);
+ color: #fff;
+}
+.explore-chain-chip--testnet .explore-chain-dot {
+ background: rgba(253, 186, 116, 0.8);
+}
+.explore-chain-dot {
+ width: 6px;
+ height: 6px;
+ border-radius: 50%;
+ background: rgba(134, 239, 172, 0.8);
+}
+.explore-chain-chip--active.explore-chain-chip .explore-chain-dot {
+ box-shadow: 0 0 6px currentColor;
+}
+.explore-chain-presets-btn {
+ padding: 3px var(--space-sm);
+ background: transparent;
+ border: 1px dashed rgba(255, 255, 255, 0.15);
+ border-radius: 999px;
+ color: rgba(255, 255, 255, 0.5);
+ font-family: inherit;
+ font-size: var(--text-xs);
+ cursor: pointer;
+ transition: all 0.15s ease;
+}
+.explore-chain-presets-btn:hover {
+ color: #fff;
+ border-color: rgba(255, 255, 255, 0.3);
+}
+
+/* Progress HUD */
+.explore-progress {
+ display: inline-flex;
+ align-items: center;
+ gap: var(--space-xs);
+ font-size: var(--text-xs);
+ color: rgba(255, 255, 255, 0.6);
+}
+.explore-progress-spinner {
+ width: 12px;
+ height: 12px;
+ border: 2px solid rgba(255, 255, 255, 0.15);
+ border-top-color: rgba(165, 180, 252, 0.95);
+ border-radius: 50%;
+ animation: explore-spin 0.7s linear infinite;
+}
+@keyframes explore-spin {
+ to {
+ transform: rotate(360deg);
+ }
+}
+
+/* Results area */
+.explore-results {
+ padding-bottom: var(--space-2xl);
+}
+.explore-summary {
+ margin: var(--space-md) 0;
+}
+.explore-summary-head {
+ display: flex;
+ align-items: baseline;
+ flex-wrap: wrap;
+ gap: var(--space-sm);
+}
+.explore-summary-title {
+ margin: 0;
+ font-size: var(--text-lg);
+ color: #fff;
+ font-weight: 500;
+}
+.explore-summary-stat {
+ color: rgba(255, 255, 255, 0.5);
+ font-size: var(--text-xs);
+}
+.explore-summary-sub {
+ margin-top: var(--space-2xs);
+ color: rgba(255, 255, 255, 0.55);
+ font-size: var(--text-xs);
+ word-break: break-all;
+}
+.explore-summary-sub code {
+ background: rgba(255, 255, 255, 0.05);
+ padding: 2px 6px;
+ border-radius: 4px;
+}
+
+/* Filter chips */
+.explore-filterbar {
+ display: flex;
+ flex-wrap: wrap;
+ gap: var(--space-2xs);
+ margin: var(--space-sm) 0 var(--space-md);
+}
+.explore-filter {
+ padding: 4px var(--space-md);
+ background: rgba(255, 255, 255, 0.04);
+ border: 1px solid rgba(255, 255, 255, 0.1);
+ border-radius: 999px;
+ color: rgba(255, 255, 255, 0.65);
+ font-family: inherit;
+ font-size: var(--text-xs);
+ cursor: pointer;
+ transition:
+ background 0.15s ease,
+ border-color 0.15s ease;
+}
+.explore-filter:hover {
+ background: rgba(255, 255, 255, 0.08);
+ color: #fff;
+}
+.explore-filter--active {
+ background: rgba(123, 97, 255, 0.2);
+ border-color: rgba(123, 97, 255, 0.55);
+ color: #fff;
+}
+
+/* Grid + cards */
+.explore-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
+ gap: var(--space-md);
+}
+.explore-card {
+ display: flex;
+ flex-direction: column;
+ background: rgba(255, 255, 255, 0.03);
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: 14px;
+ overflow: hidden;
+ transition:
+ transform 0.15s ease,
+ border-color 0.15s ease,
+ box-shadow 0.15s ease;
+}
+.explore-card:hover {
+ transform: translateY(-2px);
+ border-color: rgba(123, 97, 255, 0.4);
+ box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
+}
+.explore-card-thumb {
+ position: relative;
+ aspect-ratio: 1 / 1;
+ background: linear-gradient(135deg, #131226 0%, #1a1a2e 100%);
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ overflow: hidden;
+ text-decoration: none;
+}
+.explore-card-thumb img {
+ width: 100%;
+ height: 100%;
+ object-fit: cover;
+}
+.explore-card-ph {
+ font-size: 2.4rem;
+ opacity: 0.35;
+}
+.explore-chain-badge {
+ position: absolute;
+ top: var(--space-2xs);
+ left: var(--space-2xs);
+ padding: 2px var(--space-xs);
+ background: rgba(8, 8, 20, 0.75);
+ border: 1px solid rgba(255, 255, 255, 0.15);
+ border-radius: 999px;
+ color: #fff;
+ font-size: 10px;
+ font-weight: 600;
+ letter-spacing: 0.04em;
+ backdrop-filter: blur(6px);
+ -webkit-backdrop-filter: blur(6px);
+}
+.explore-chain-badge--testnet {
+ color: rgba(253, 186, 116, 0.95);
+ border-color: rgba(253, 186, 116, 0.35);
+}
+.explore-card-3dpill {
+ position: absolute;
+ right: var(--space-2xs);
+ bottom: var(--space-2xs);
+ padding: 3px var(--space-sm);
+ background: rgba(123, 97, 255, 0.9);
+ border-radius: 999px;
+ color: #fff;
+ font-size: 10px;
+ font-weight: 600;
+ letter-spacing: 0.04em;
+}
+.explore-card-body {
+ display: flex;
+ flex-direction: column;
+ gap: var(--space-2xs);
+ padding: var(--space-sm) var(--space-md) var(--space-md);
+}
+.explore-card-head {
+ display: flex;
+ align-items: baseline;
+ justify-content: space-between;
+ gap: var(--space-xs);
+}
+.explore-card-title {
+ color: #fff;
+ font-weight: 600;
+ text-decoration: none;
+ line-height: 1.25;
+ overflow: hidden;
+ display: -webkit-box;
+ -webkit-line-clamp: 1;
+ -webkit-box-orient: vertical;
+}
+.explore-card-title:hover {
+ text-decoration: underline;
+}
+.explore-card-id {
+ color: rgba(255, 255, 255, 0.4);
+ font-size: var(--text-xs);
+ font-variant-numeric: tabular-nums;
+}
+.explore-card-desc {
+ margin: 0;
+ color: rgba(255, 255, 255, 0.65);
+ font-size: var(--text-xs);
+ line-height: 1.45;
+ display: -webkit-box;
+ -webkit-line-clamp: 3;
+ -webkit-box-orient: vertical;
+ overflow: hidden;
+}
+.explore-card-tags {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 4px;
+ min-height: 16px;
+}
+.explore-tag {
+ padding: 1px var(--space-xs);
+ background: rgba(255, 255, 255, 0.06);
+ border: 1px solid rgba(255, 255, 255, 0.1);
+ border-radius: 4px;
+ color: rgba(255, 255, 255, 0.7);
+ font-size: 10px;
+ font-weight: 600;
+ letter-spacing: 0.04em;
+}
+.explore-tag--3d {
+ color: rgba(165, 243, 252, 0.95);
+ border-color: rgba(165, 243, 252, 0.35);
+ background: rgba(14, 165, 233, 0.08);
+}
+.explore-tag--x402 {
+ color: rgba(253, 230, 138, 0.95);
+ border-color: rgba(253, 230, 138, 0.35);
+ background: rgba(245, 158, 11, 0.08);
+}
+.explore-owner {
+ color: rgba(255, 255, 255, 0.5);
+ font-size: var(--text-xs);
+ text-decoration: none;
+ font-family: ui-monospace, Menlo, monospace;
+}
+.explore-owner:hover {
+ color: #fff;
+ text-decoration: underline;
+}
+.explore-card-err {
+ color: rgba(248, 113, 113, 0.85);
+ font-size: var(--text-xs);
+}
+.explore-card-actions {
+ display: flex;
+ flex-wrap: wrap;
+ gap: var(--space-2xs);
+ margin-top: var(--space-xs);
+}
+
+/* Buttons (explore-scoped, not the erc8004 ones) */
+.explore-btn {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ gap: var(--space-2xs);
+ padding: var(--space-sm) var(--space-lg);
+ background: rgba(255, 255, 255, 0.08);
+ border: 1px solid rgba(255, 255, 255, 0.12);
+ border-radius: 10px;
+ color: #fff;
+ font-family: inherit;
+ font-size: var(--text-sm);
+ font-weight: 500;
+ cursor: pointer;
+ text-decoration: none;
+ transition:
+ background 0.15s ease,
+ border-color 0.15s ease,
+ transform 0.1s ease;
+}
+.explore-btn:hover {
+ background: rgba(255, 255, 255, 0.14);
+ border-color: rgba(255, 255, 255, 0.2);
+}
+.explore-btn:active {
+ transform: scale(0.98);
+}
+.explore-btn--sm {
+ padding: 4px var(--space-sm);
+ font-size: var(--text-xs);
+ border-radius: 8px;
+}
+.explore-btn--primary {
+ background: linear-gradient(135deg, #7b61ff 0%, #5e42ff 100%);
+ border-color: rgba(123, 97, 255, 0.7);
+ color: #fff;
+ box-shadow: 0 4px 14px rgba(123, 97, 255, 0.35);
+}
+.explore-btn--primary:hover {
+ background: linear-gradient(135deg, #8a73ff 0%, #6f56ff 100%);
+ border-color: rgba(158, 138, 255, 0.9);
+}
+.explore-btn--ghost {
+ background: transparent;
+ border-color: rgba(255, 255, 255, 0.1);
+ color: rgba(255, 255, 255, 0.65);
+}
+.explore-btn--ghost:hover {
+ color: #fff;
+ background: rgba(255, 255, 255, 0.05);
+}
+
+/* Skeleton cards (loading state) */
+.explore-card--skel {
+ background: rgba(255, 255, 255, 0.02);
+ pointer-events: none;
+}
+.explore-skel-img {
+ aspect-ratio: 1 / 1;
+ background: linear-gradient(
+ 110deg,
+ rgba(255, 255, 255, 0.03) 30%,
+ rgba(255, 255, 255, 0.07) 50%,
+ rgba(255, 255, 255, 0.03) 70%
+ );
+ background-size: 200% 100%;
+ animation: explore-shimmer 1.4s ease-in-out infinite;
+}
+.explore-skel-line {
+ height: 10px;
+ margin: var(--space-sm) var(--space-md);
+ background: rgba(255, 255, 255, 0.05);
+ border-radius: 4px;
+}
+.explore-skel-line--short {
+ width: 60%;
+}
+@keyframes explore-shimmer {
+ 0% {
+ background-position: 200% 0;
+ }
+ 100% {
+ background-position: -200% 0;
+ }
+}
+
+/* Featured (no-query) header */
+.explore-featured-head {
+ margin: var(--space-md) 0 var(--space-md);
+}
+.explore-featured-head h2 {
+ margin: 0 0 var(--space-2xs);
+ font-size: var(--text-lg);
+ color: #fff;
+ font-weight: 500;
+}
+
+/* Empty + error states */
+.explore-empty,
+.explore-error {
+ padding: var(--space-xl);
+ text-align: center;
+ background: rgba(255, 255, 255, 0.02);
+ border: 1px dashed rgba(255, 255, 255, 0.1);
+ border-radius: 14px;
+ color: rgba(255, 255, 255, 0.7);
+}
+.explore-empty h3,
+.explore-error strong {
+ color: #fff;
+ font-weight: 600;
+ display: block;
+ margin: 0 0 var(--space-xs);
+}
+.explore-empty p,
+.explore-error p {
+ margin: 0 auto var(--space-md);
+ max-width: 520px;
+ font-size: var(--text-sm);
+ color: rgba(255, 255, 255, 0.6);
+}
+.explore-empty-art {
+ font-size: 3rem;
+ margin-bottom: var(--space-sm);
+}
+.explore-empty-ideas {
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: center;
+ gap: var(--space-xs);
+}
+.explore-muted {
+ color: rgba(255, 255, 255, 0.5);
+ font-size: var(--text-xs);
+}
+
+@media screen and (max-width: 640px) {
+ .explore-title {
+ font-size: 2rem;
+ }
+ .explore-controls {
+ position: static;
+ }
+ .explore-grid {
+ grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
+ gap: var(--space-sm);
+ }
+ .explore-card-thumb .explore-chain-badge {
+ font-size: 9px;
+ }
+}
+
+/* Create-tab Step 0 — quickstart mode picker above the 4-step wizard. */
+.erc8004-quickstart {
+ margin-bottom: var(--space-md);
+ padding: var(--space-sm) var(--space-md);
+ background: rgba(255, 255, 255, 0.03);
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: 10px;
+}
+.erc8004-quickstart-title {
+ font-weight: 600;
+ margin-bottom: var(--space-xs);
+}
+.erc8004-quickstart-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
+ gap: var(--space-sm);
+}
+.erc8004-quickstart-btn {
+ display: block;
+ text-align: left;
+ padding: var(--space-sm);
+ background: rgba(255, 255, 255, 0.04);
+ border: 1px solid rgba(255, 255, 255, 0.12);
+ border-radius: 8px;
+ color: inherit;
+ cursor: pointer;
+ transition:
+ border-color 0.12s ease,
+ background 0.12s ease;
+}
+.erc8004-quickstart-btn:hover:not(:disabled) {
+ border-color: rgba(255, 255, 255, 0.3);
+ background: rgba(255, 255, 255, 0.07);
+}
+.erc8004-quickstart-btn:disabled {
+ opacity: 0.45;
+ cursor: not-allowed;
+}
+.erc8004-quickstart-btn-title {
+ font-weight: 600;
+ margin-bottom: 2px;
+}
+.erc8004-quickstart-btn-hint {
+ font-size: var(--text-xs);
+ color: rgba(255, 255, 255, 0.6);
+}
+
+.erc8004-register--page {
+ position: static;
+ inset: auto;
+ z-index: auto;
+ display: block;
+ background: transparent;
+ backdrop-filter: none;
+ -webkit-backdrop-filter: none;
+ padding: 0;
+}
+
+.erc8004-register--page .erc8004-card {
+ margin: 0 auto;
+ background: rgba(255, 255, 255, 0.02);
+}
+
+/* ── /deploy page shell ─────────────────────────────────────────────── */
+
+.deploy-shell {
+ width: 100%;
+ max-width: 1180px;
+ margin: 0 auto;
+ display: flex;
+ flex-direction: column;
+ gap: var(--space-lg);
+}
+
+.deploy-hero {
+ display: grid;
+ grid-template-columns: minmax(0, 1fr) auto;
+ gap: var(--space-lg);
+ align-items: end;
+ padding: var(--space-lg) 0 var(--space-md);
+ border-bottom: 1px solid rgba(255, 255, 255, 0.06);
+ /* Reset global <header> styles so the deploy hero sizes to its content
+ instead of being clipped to the nav-bar height. */
+ height: auto;
+ line-height: normal;
+ overflow: visible;
+ white-space: normal;
+ background: transparent;
+ backdrop-filter: none;
+ -webkit-backdrop-filter: none;
+ -webkit-app-region: no-drag;
+ z-index: auto;
+}
+
+.deploy-hero-text {
+ min-width: 0;
+ max-width: 720px;
+}
+
+.deploy-hero-eyebrow {
+ display: inline-flex;
+ align-items: center;
+ gap: 8px;
+ padding: 4px 10px 4px 8px;
+ margin-bottom: var(--space-sm);
+ font-size: var(--text-xs);
+ font-weight: 500;
+ letter-spacing: 0.06em;
+ text-transform: uppercase;
+ color: rgba(255, 255, 255, 0.7);
+ background: rgba(139, 92, 246, 0.12);
+ border: 1px solid rgba(139, 92, 246, 0.35);
+ border-radius: 999px;
+}
+
+.deploy-hero-dot {
+ width: 6px;
+ height: 6px;
+ border-radius: 50%;
+ background: #a78bfa;
+ box-shadow: 0 0 12px rgba(167, 139, 250, 0.9);
+}
+
+.deploy-hero-title {
+ margin: 0 0 var(--space-xs);
+ font-size: clamp(1.6rem, 2.6vw, 2.2rem);
+ font-weight: 500;
+ line-height: 1.1;
+ letter-spacing: -0.01em;
+ color: #fff;
+}
+
+.deploy-hero-sub {
+ margin: 0 0 var(--space-md);
+ max-width: 60ch;
+ font-size: var(--text-base);
+ line-height: 1.55;
+ color: rgba(255, 255, 255, 0.62);
+ font-weight: 300;
+}
+
+.deploy-hero-meta {
+ display: flex;
+ flex-wrap: wrap;
+ gap: var(--space-md);
+ font-size: var(--text-sm);
+}
+
+.deploy-hero-link {
+ color: rgba(255, 255, 255, 0.55);
+ text-decoration: none;
+ border-bottom: 1px dashed transparent;
+ transition: color 0.15s, border-color 0.15s;
+}
+
+.deploy-hero-link:hover {
+ color: #fff;
+ border-color: rgba(255, 255, 255, 0.35);
+}
+
+.deploy-hero-controls {
+ display: flex;
+ flex-direction: column;
+ gap: var(--space-sm);
+ align-items: stretch;
+ min-width: 220px;
+}
+
+.deploy-chain-control {
+ display: flex;
+ flex-direction: column;
+ gap: 4px;
+}
+
+.deploy-chain-label {
+ font-size: var(--text-xs);
+ letter-spacing: 0.06em;
+ text-transform: uppercase;
+ color: rgba(255, 255, 255, 0.45);
+}
+
+.deploy-shell .erc8004-chain-select {
+ padding: 10px 12px;
+ font-size: var(--text-sm);
+ background: rgba(255, 255, 255, 0.04);
+ border-color: rgba(255, 255, 255, 0.14);
+ border-radius: 10px;
+ min-width: 220px;
+}
+
+.deploy-wallet-btn {
+ justify-content: center;
+ padding: 10px 16px;
+ font-weight: 500;
+}
+
+.deploy-banner {
+ padding: 10px 14px;
+ margin: 0;
+ background: rgba(245, 158, 11, 0.08);
+ border: 1px solid rgba(245, 158, 11, 0.3);
+ border-radius: 10px;
+ color: rgba(255, 230, 178, 0.95);
+ font-size: var(--text-sm);
+}
+
+.deploy-grid {
+ display: grid;
+ grid-template-columns: minmax(0, 1fr) 340px;
+ gap: var(--space-lg);
+ align-items: start;
+}
+
+.deploy-main {
+ min-width: 0;
+ padding: var(--space-lg);
+ background: rgba(255, 255, 255, 0.025);
+ border: 1px solid rgba(255, 255, 255, 0.07);
+ border-radius: 16px;
+}
+
+.deploy-preview {
+ position: sticky;
+ top: calc(var(--header-h) + var(--space-md));
+}
+
+.deploy-preview-card {
+ padding: var(--space-md);
+ background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: 16px;
+ box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
+}
+
+.deploy-preview-eyebrow {
+ font-size: var(--text-xs);
+ letter-spacing: 0.08em;
+ text-transform: uppercase;
+ color: rgba(255, 255, 255, 0.4);
+ margin-bottom: var(--space-sm);
+}
+
+.deploy-preview-thumb {
+ position: relative;
+ width: 100%;
+ aspect-ratio: 1;
+ margin-bottom: var(--space-sm);
+ background: radial-gradient(60% 60% at 50% 40%, rgba(139, 92, 246, 0.18), rgba(0, 0, 0, 0));
+ border: 1px solid rgba(255, 255, 255, 0.07);
+ border-radius: 12px;
+ overflow: hidden;
+}
+
+.deploy-preview-thumb img {
+ width: 100%;
+ height: 100%;
+ object-fit: cover;
+ display: block;
+}
+
+.deploy-preview-mv {
+ width: 100%;
+ height: 100%;
+ display: block;
+ background: transparent;
+ --poster-color: transparent;
+}
+
+.deploy-preview-ph {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ width: 100%;
+ height: 100%;
+ font-size: var(--text-sm);
+ color: rgba(255, 255, 255, 0.3);
+ letter-spacing: 0.04em;
+}
+
+.deploy-preview-name {
+ font-size: var(--text-lg);
+ font-weight: 500;
+ color: #fff;
+ margin-bottom: 2px;
+ word-break: break-word;
+}
+
+.deploy-preview-desc {
+ font-size: var(--text-sm);
+ color: rgba(255, 255, 255, 0.55);
+ margin-bottom: var(--space-sm);
+ line-height: 1.45;
+ display: -webkit-box;
+ -webkit-line-clamp: 3;
+ -webkit-box-orient: vertical;
+ overflow: hidden;
+}
+
+.deploy-preview-dim {
+ color: rgba(255, 255, 255, 0.3);
+ font-style: italic;
+}
+
+.deploy-preview-meta {
+ display: grid;
+ grid-template-columns: auto 1fr;
+ gap: 4px var(--space-sm);
+ margin: 0 0 var(--space-sm);
+ padding: var(--space-sm) 0;
+ border-top: 1px solid rgba(255, 255, 255, 0.06);
+ border-bottom: 1px solid rgba(255, 255, 255, 0.06);
+ font-size: var(--text-xs);
+}
+
+.deploy-preview-meta dt {
+ color: rgba(255, 255, 255, 0.4);
+ font-weight: 400;
+}
+
+.deploy-preview-meta dd {
+ margin: 0;
+ color: rgba(255, 255, 255, 0.85);
+ word-break: break-word;
+}
+
+.deploy-svc-pill {
+ display: inline-block;
+ padding: 2px 6px;
+ margin-right: 4px;
+ background: rgba(99, 102, 241, 0.18);
+ border: 1px solid rgba(99, 102, 241, 0.35);
+ border-radius: 4px;
+ font-size: 11px;
+ color: #c7d2fe;
+}
+
+.deploy-preview-checklist {
+ display: grid;
+ grid-template-columns: 1fr 1fr;
+ gap: 4px 12px;
+}
+
+.deploy-check {
+ font-size: var(--text-xs);
+ color: rgba(255, 255, 255, 0.4);
+ letter-spacing: 0.02em;
+}
+
+.deploy-check.is-ok {
+ color: rgba(134, 239, 172, 0.95);
+}
+
+.deploy-quickstart-bar {
+ display: flex;
+ flex-wrap: wrap;
+ align-items: center;
+ gap: 6px;
+ margin-bottom: var(--space-md);
+ padding-bottom: var(--space-sm);
+ border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
+}
+
+.deploy-quickstart-bar-label {
+ font-size: var(--text-xs);
+ color: rgba(255, 255, 255, 0.4);
+ letter-spacing: 0.08em;
+ text-transform: uppercase;
+ margin-right: 4px;
+}
+
+.deploy-qs-chip {
+ padding: 5px 10px;
+ font-size: var(--text-xs);
+ color: rgba(255, 255, 255, 0.7);
+ background: rgba(255, 255, 255, 0.03);
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: 999px;
+ cursor: pointer;
+ font-family: inherit;
+ transition: background 0.15s, color 0.15s, border-color 0.15s;
+}
+
+.deploy-qs-chip:hover:not(:disabled) {
+ color: #fff;
+ background: rgba(255, 255, 255, 0.07);
+ border-color: rgba(255, 255, 255, 0.2);
+}
+
+.deploy-qs-chip:disabled {
+ opacity: 0.4;
+ cursor: not-allowed;
+}
+
+/* Steps as a connected progress bar */
+.deploy-steps {
+ position: relative;
+ display: grid;
+ grid-template-columns: repeat(4, 1fr);
+ gap: 0;
+ margin-bottom: var(--space-md);
+ padding: 0;
+ list-style: none;
+}
+
+.deploy-steps::before {
+ content: '';
+ position: absolute;
+ top: 16px;
+ left: calc(100% / 8);
+ right: calc(100% / 8);
+ height: 2px;
+ background: rgba(255, 255, 255, 0.08);
+ z-index: 0;
+}
+
+.deploy-step {
+ position: relative;
+ z-index: 1;
+ display: flex !important;
+ flex-direction: column;
+ align-items: center;
+ gap: 8px !important;
+ padding: 0 !important;
+ background: transparent !important;
+ border: 0 !important;
+ color: rgba(255, 255, 255, 0.45);
+ font-size: var(--text-xs);
+}
+
+.deploy-step .erc8004-step-num {
+ width: 32px;
+ height: 32px;
+ background: rgba(20, 20, 30, 1);
+ border: 2px solid rgba(255, 255, 255, 0.12);
+ color: rgba(255, 255, 255, 0.6);
+ font-weight: 500;
+}
+
+.deploy-step--active .erc8004-step-num {
+ background: linear-gradient(135deg, #8b5cf6, #6366f1) !important;
+ border-color: rgba(139, 92, 246, 0.8);
+ color: #fff;
+ box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
+}
+
+.deploy-step--done .erc8004-step-num {
+ background: rgba(34, 197, 94, 0.18);
+ border-color: rgba(34, 197, 94, 0.5);
+ color: rgba(134, 239, 172, 1);
+}
+
+.deploy-step--active {
+ color: #fff;
+}
+
+.deploy-step--done {
+ color: rgba(134, 239, 172, 0.85);
+ cursor: pointer;
+}
+
+.deploy-step--done:hover {
+ color: rgba(187, 247, 208, 1);
+}
+
+.deploy-step .erc8004-step-lbl {
+ font-weight: 500;
+ letter-spacing: 0.02em;
+}
+
+.deploy-wizard .erc8004-wizard-body {
+ padding: 0;
+ background: transparent;
+ border: 0;
+}
+
+.deploy-wizard .erc8004-h3 {
+ font-size: 1.25rem;
+ font-weight: 500;
+ margin-bottom: 4px;
+}
+
+.deploy-wizard .erc8004-p {
+ margin-bottom: var(--space-md);
+}
+
+.deploy-wizard .erc8004-input {
+ padding: 10px 12px;
+ background: rgba(255, 255, 255, 0.03);
+ border-color: rgba(255, 255, 255, 0.12);
+ border-radius: 10px;
+}
+
+.deploy-wizard .erc8004-input:focus {
+ border-color: rgba(139, 92, 246, 0.55);
+ background: rgba(255, 255, 255, 0.05);
+ box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
+}
+
+.deploy-wizard .erc8004-wizard-nav {
+ margin-top: var(--space-lg);
+ padding-top: var(--space-md);
+ border-top: 1px solid rgba(255, 255, 255, 0.06);
+}
+
+.deploy-wizard .erc8004-btn--primary {
+ padding: 10px 18px;
+ font-weight: 500;
+ background: linear-gradient(135deg, rgba(139, 92, 246, 0.8), rgba(99, 102, 241, 0.8));
+ border-color: rgba(139, 92, 246, 0.6);
+ box-shadow: 0 6px 20px rgba(99, 102, 241, 0.2);
+}
+
+.deploy-wizard .erc8004-btn--primary:hover:not(:disabled) {
+ background: linear-gradient(135deg, rgba(139, 92, 246, 0.95), rgba(99, 102, 241, 0.95));
+ border-color: rgba(139, 92, 246, 0.75);
+}
+
+@media (max-width: 900px) {
+ .deploy-hero {
+ grid-template-columns: minmax(0, 1fr);
+ align-items: stretch;
+ }
+ .deploy-hero-controls {
+ flex-direction: row;
+ align-items: end;
+ }
+ .deploy-grid {
+ grid-template-columns: minmax(0, 1fr);
+ }
+ .deploy-preview {
+ position: static;
+ order: -1;
+ }
+ .deploy-preview-thumb {
+ aspect-ratio: 2.4;
+ }
+}
+
+@media (max-width: 560px) {
+ .deploy-hero-controls {
+ flex-direction: column;
+ }
+ .deploy-step .erc8004-step-lbl {
+ font-size: 10px;
+ }
+}
+
+.erc8004-card {
+ width: 100%;
+ max-width: 480px;
+ background: rgba(255, 255, 255, 0.04);
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: var(--radius-lg);
+ padding: var(--space-xl) var(--space-lg);
+}
+
+.erc8004-title {
+ margin: 0 0 var(--space-3xs);
+ font-size: var(--text-xl);
+ font-weight: 500;
+ color: #fff;
+ letter-spacing: 0.02em;
+}
+
+.erc8004-subtitle {
+ margin: 0 0 var(--space-lg);
+ font-size: var(--text-sm);
+ color: rgba(255, 255, 255, 0.45);
+ font-weight: 300;
+}
+
+.erc8004-section {
+ margin-bottom: var(--space-md);
+}
+
+.erc8004-label {
+ display: block;
+ margin-bottom: var(--space-sm);
+ font-size: var(--text-sm);
+ color: rgba(255, 255, 255, 0.5);
+ font-weight: 400;
+}
+
+.erc8004-input {
+ display: block;
+ width: 100%;
+ margin-top: var(--space-3xs);
+ padding: var(--space-xs) var(--space-sm);
+ background: rgba(255, 255, 255, 0.06);
+ border: 1px solid rgba(255, 255, 255, 0.1);
+ border-radius: var(--radius-sm);
+ color: #fff;
+ font-family: inherit;
+ font-size: var(--text-base);
+ outline: none;
+ transition: border-color 0.2s;
+}
+
+.erc8004-input:focus {
+ border-color: rgba(255, 255, 255, 0.3);
+}
+
+.erc8004-textarea {
+ resize: vertical;
+ min-height: 3.6em;
+}
+
+.erc8004-file-drop {
+ position: relative;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ height: 80px;
+ margin-top: var(--space-3xs);
+ border: 2px dashed rgba(255, 255, 255, 0.12);
+ border-radius: var(--radius-md);
+ cursor: pointer;
+ transition:
+ border-color 0.2s,
+ background 0.2s;
+}
+
+.erc8004-file-drop:hover,
+.erc8004-file-drop--active {
+ border-color: rgba(255, 255, 255, 0.3);
+ background: rgba(255, 255, 255, 0.03);
+}
+
+.erc8004-file-input {
+ position: absolute;
+ inset: 0;
+ opacity: 0;
+ cursor: pointer;
+}
+
+.erc8004-file-text {
+ font-size: var(--text-sm);
+ color: rgba(255, 255, 255, 0.4);
+ pointer-events: none;
+}
+
+.erc8004-btn {
+ display: inline-flex;
+ align-items: center;
+ gap: var(--space-xs);
+ padding: var(--space-xs) var(--space-md);
+ border: 1px solid rgba(255, 255, 255, 0.15);
+ border-radius: var(--radius-md);
+ background: rgba(255, 255, 255, 0.06);
+ color: #fff;
+ font-family: inherit;
+ font-size: var(--text-sm);
+ font-weight: 500;
+ cursor: pointer;
+ transition:
+ background 0.2s,
+ border-color 0.2s;
+}
+
+.erc8004-btn:hover:not(:disabled) {
+ background: rgba(255, 255, 255, 0.12);
+ border-color: rgba(255, 255, 255, 0.25);
+}
+
+.erc8004-btn:disabled {
+ opacity: 0.35;
+ cursor: not-allowed;
+}
+
+.erc8004-btn--register {
+ width: 100%;
+ justify-content: center;
+ padding: var(--space-sm) var(--space-md);
+ background: rgba(139, 92, 246, 0.25);
+ border-color: rgba(139, 92, 246, 0.45);
+}
+
+.erc8004-btn--register:hover:not(:disabled) {
+ background: rgba(139, 92, 246, 0.45);
+}
+
+.erc8004-btn--view {
+ margin-top: var(--space-sm);
+}
+
+.erc8004-wallet-addr {
+ display: inline-block;
+ margin-left: var(--space-xs);
+ font-size: var(--text-xs);
+ color: rgba(255, 255, 255, 0.5);
+ font-family: monospace;
+}
+
+.erc8004-log {
+ max-height: 120px;
+ overflow-y: auto;
+ margin-top: var(--space-sm);
+ font-size: var(--text-xs);
+ font-family: monospace;
+ color: rgba(255, 255, 255, 0.5);
+}
+
+.erc8004-log-line {
+ padding: 2px 0;
+}
+
+.erc8004-log-error {
+ color: #f87171;
+}
+
+.erc8004-result {
+ margin-top: var(--space-md);
+ padding: var(--space-md);
+ background: rgba(34, 197, 94, 0.08);
+ border: 1px solid rgba(34, 197, 94, 0.2);
+ border-radius: var(--radius-md);
+}
+
+.erc8004-checkmark {
+ display: block;
+ font-size: 2rem;
+ color: #22c55e;
+ margin-bottom: var(--space-xs);
+}
+
+.erc8004-result h3 {
+ margin: 0 0 var(--space-xs);
+ font-size: var(--text-lg);
+ font-weight: 500;
+ color: #fff;
+}
+
+.erc8004-result-dl {
+ display: grid;
+ grid-template-columns: auto 1fr;
+ gap: var(--space-3xs) var(--space-sm);
+ margin: 0;
+ font-size: var(--text-sm);
+}
+
+.erc8004-result-dl dt {
+ color: rgba(255, 255, 255, 0.45);
+ font-weight: 400;
+}
+
+.erc8004-result-dl dd {
+ margin: 0;
+ color: #fff;
+ font-family: monospace;
+ word-break: break-all;
+}
+
+@media screen and (max-width: 700px) {
+ .erc8004-card {
+ padding: var(--space-lg) var(--space-md);
+ }
+}
+
+/* ── Tabbed Agent Studio (extends the basic register styles above) ──── */
+
+.erc8004-card--wide {
+ max-width: 880px;
+}
+
+.erc8004-header {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ gap: var(--space-md);
+ margin-bottom: var(--space-md);
+ flex-wrap: wrap;
+}
+
+.erc8004-brand {
+ display: inline-flex;
+ align-items: center;
+ gap: var(--space-xs);
+ font-size: var(--text-sm);
+ color: rgba(255, 255, 255, 0.85);
+}
+
+.erc8004-brand-badge {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ padding: 2px 8px;
+ border-radius: var(--radius-sm);
+ background: linear-gradient(135deg, rgba(99, 102, 241, 0.6), rgba(236, 72, 153, 0.55));
+ color: #fff;
+ font-size: var(--text-xs);
+ font-weight: 600;
+ letter-spacing: 0.04em;
+}
+
+.erc8004-brand-title b {
+ font-weight: 600;
+ color: #fff;
+}
+
+.erc8004-controls {
+ display: inline-flex;
+ align-items: center;
+ gap: var(--space-xs);
+ flex-wrap: wrap;
+}
+
+.erc8004-chain-select {
+ padding: 6px 10px;
+ background: rgba(255, 255, 255, 0.06);
+ border: 1px solid rgba(255, 255, 255, 0.12);
+ border-radius: var(--radius-sm);
+ color: #fff;
+ font-family: inherit;
+ font-size: var(--text-xs);
+ cursor: pointer;
+}
+
+.erc8004-btn--wallet.erc8004-btn--connected {
+ background: rgba(34, 197, 94, 0.18);
+ border-color: rgba(34, 197, 94, 0.4);
+}
+
+.erc8004-btn--primary {
+ background: rgba(139, 92, 246, 0.35);
+ border-color: rgba(99, 102, 241, 0.5);
+}
+
+.erc8004-btn--primary:hover:not(:disabled) {
+ background: rgba(99, 102, 241, 0.45);
+}
+
+.erc8004-btn--ghost {
+ background: transparent;
+}
+
+.erc8004-btn--x {
+ padding: 4px 8px;
+}
+
+.erc8004-btn--close {
+ padding: 4px 10px;
+ font-size: var(--text-base);
+ line-height: 1;
+}
+
+.erc8004-stats {
+ display: grid;
+ grid-template-columns: repeat(3, 1fr);
+ gap: var(--space-sm);
+ margin-bottom: var(--space-md);
+}
+
+.erc8004-stat {
+ padding: var(--space-sm);
+ background: rgba(255, 255, 255, 0.03);
+ border: 1px solid rgba(255, 255, 255, 0.06);
+ border-radius: var(--radius-md);
+ text-align: center;
+}
+
+.erc8004-stat-val {
+ font-size: var(--text-lg);
+ font-weight: 600;
+ color: #fff;
+ font-variant-numeric: tabular-nums;
+}
+
+.erc8004-stat-lbl {
+ font-size: var(--text-xs);
+ color: rgba(255, 255, 255, 0.45);
+ margin-top: 2px;
+}
+
+.erc8004-tabs {
+ display: flex;
+ gap: 2px;
+ padding: 4px;
+ margin-bottom: var(--space-md);
+ background: rgba(255, 255, 255, 0.03);
+ border: 1px solid rgba(255, 255, 255, 0.06);
+ border-radius: var(--radius-md);
+ overflow-x: auto;
+}
+
+.erc8004-tab {
+ flex: 1;
+ min-width: max-content;
+ padding: 8px 14px;
+ border: 0;
+ background: transparent;
+ color: rgba(255, 255, 255, 0.6);
+ font-family: inherit;
+ font-size: var(--text-sm);
+ font-weight: 500;
+ cursor: pointer;
+ border-radius: var(--radius-sm);
+ transition:
+ background 0.2s,
+ color 0.2s;
+}
+
+.erc8004-tab:hover {
+ color: #fff;
+}
+
+.erc8004-tab--active {
+ background: rgba(255, 255, 255, 0.1);
+ color: #fff;
+}
+
+.erc8004-tab-body {
+ min-height: 280px;
+}
+
+.erc8004-wizard {
+ display: flex;
+ flex-direction: column;
+ gap: var(--space-md);
+}
+
+.erc8004-steps {
+ display: flex;
+ gap: var(--space-xs);
+ margin: 0;
+ padding: 0;
+ list-style: none;
+}
+
+.erc8004-step {
+ flex: 1;
+ display: flex;
+ align-items: center;
+ gap: var(--space-xs);
+ padding: var(--space-xs) var(--space-sm);
+ background: rgba(255, 255, 255, 0.03);
+ border: 1px solid rgba(255, 255, 255, 0.06);
+ border-radius: var(--radius-sm);
+ color: rgba(255, 255, 255, 0.4);
+ font-size: var(--text-xs);
+}
+
+.erc8004-step--active {
+ background: var(--accent-soft);
+ border-color: rgba(99, 102, 241, 0.45);
+ color: #fff;
+}
+
+.erc8004-step--done {
+ color: rgba(34, 197, 94, 0.9);
+ border-color: rgba(34, 197, 94, 0.3);
+}
+
+.erc8004-step-num {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ width: 20px;
+ height: 20px;
+ border-radius: 50%;
+ background: rgba(255, 255, 255, 0.1);
+ font-weight: 600;
+}
+
+.erc8004-step--active .erc8004-step-num {
+ background: rgba(99, 102, 241, 0.7);
+}
+
+.erc8004-wizard-body {
+ padding: var(--space-md);
+ background: rgba(255, 255, 255, 0.02);
+ border: 1px solid rgba(255, 255, 255, 0.06);
+ border-radius: var(--radius-md);
+}
+
+.erc8004-wizard-nav {
+ display: flex;
+ justify-content: space-between;
+ gap: var(--space-xs);
+ margin-top: var(--space-md);
+}
+
+.erc8004-wizard-nav > :only-child {
+ margin-left: auto;
+}
+
+.erc8004-h3 {
+ margin: 0 0 var(--space-3xs);
+ font-size: var(--text-lg);
+ font-weight: 500;
+ color: #fff;
+}
+
+.erc8004-h4 {
+ margin: 0 0 var(--space-xs);
+ font-size: var(--text-base);
+ font-weight: 500;
+ color: #fff;
+}
+
+.erc8004-p {
+ margin: 0 0 var(--space-sm);
+ font-size: var(--text-sm);
+ color: rgba(255, 255, 255, 0.6);
+ line-height: 1.5;
+}
+
+.erc8004-req {
+ color: #f87171;
+}
+
+.erc8004-hint {
+ margin: -2px 0 var(--space-sm);
+ font-size: var(--text-xs);
+ color: rgba(255, 255, 255, 0.35);
+}
+
+.erc8004-muted {
+ color: rgba(255, 255, 255, 0.4);
+ font-size: var(--text-sm);
+}
+
+.erc8004-small {
+ font-size: var(--text-xs);
+}
+
+.erc8004-row {
+ display: flex;
+ gap: var(--space-xs);
+ align-items: center;
+ flex-wrap: wrap;
+ margin-bottom: var(--space-sm);
+}
+
+.erc8004-link {
+ color: #a5b4fc;
+ text-decoration: none;
+ cursor: pointer;
+ background: none;
+ border: 0;
+ padding: 0;
+ font: inherit;
+}
+
+.erc8004-link:hover {
+ text-decoration: underline;
+ color: #c7d2fe;
+}
+
+.erc8004-alert {
+ padding: var(--space-xs) var(--space-sm);
+ margin-bottom: var(--space-sm);
+ background: rgba(245, 158, 11, 0.1);
+ border: 1px solid rgba(245, 158, 11, 0.3);
+ border-radius: var(--radius-sm);
+ color: rgba(253, 224, 71, 0.9);
+ font-size: var(--text-sm);
+}
+
+.erc8004-tag {
+ display: inline-block;
+ padding: 2px 8px;
+ background: rgba(255, 255, 255, 0.08);
+ border-radius: 999px;
+ font-size: var(--text-xs);
+ color: rgba(255, 255, 255, 0.7);
+ font-variant-numeric: tabular-nums;
+}
+
+.erc8004-clip {
+ display: -webkit-box;
+ -webkit-line-clamp: 2;
+ -webkit-box-orient: vertical;
+ overflow: hidden;
+}
+
+.erc8004-services {
+ display: flex;
+ flex-direction: column;
+ gap: var(--space-xs);
+ margin-bottom: var(--space-sm);
+}
+
+.erc8004-svc-row {
+ display: grid;
+ grid-template-columns: 140px 160px 1fr auto;
+ gap: var(--space-xs);
+ align-items: center;
+}
+
+.erc8004-input--tight {
+ width: auto;
+}
+
+.erc8004-summary {
+ display: grid;
+ grid-template-columns: auto 1fr;
+ gap: var(--space-3xs) var(--space-md);
+ margin: 0 0 var(--space-sm);
+ padding: var(--space-sm);
+ background: rgba(255, 255, 255, 0.03);
+ border-radius: var(--radius-sm);
+ font-size: var(--text-sm);
+}
+
+.erc8004-summary dt {
+ color: rgba(255, 255, 255, 0.45);
+}
+
+.erc8004-summary dd {
+ margin: 0;
+ color: #fff;
+ word-break: break-word;
+}
+
+.erc8004-agent-card {
+ padding: var(--space-sm);
+ background: rgba(255, 255, 255, 0.03);
+ border: 1px solid rgba(255, 255, 255, 0.06);
+ border-radius: var(--radius-md);
+ margin-bottom: var(--space-xs);
+}
+
+.erc8004-agent-card-inner {
+ display: grid;
+ grid-template-columns: 72px 1fr;
+ gap: var(--space-sm);
+ align-items: start;
+}
+
+.erc8004-agent-card-img {
+ width: 72px;
+ height: 72px;
+ border-radius: var(--radius-sm);
+ overflow: hidden;
+ background: rgba(255, 255, 255, 0.05);
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+
+.erc8004-agent-card-img img {
+ width: 100%;
+ height: 100%;
+ object-fit: cover;
+}
+
+.erc8004-agent-card-ph {
+ font-size: 2rem;
+ opacity: 0.5;
+}
+
+.erc8004-agent-card-head {
+ display: flex;
+ align-items: center;
+ gap: var(--space-xs);
+ margin-bottom: var(--space-3xs);
+ color: #fff;
+ font-weight: 500;
+}
+
+.erc8004-agent-card-actions {
+ display: inline-flex;
+ gap: var(--space-sm);
+ margin-top: var(--space-xs);
+ font-size: var(--text-xs);
+}
+
+.erc8004-template-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
+ gap: var(--space-sm);
+}
+
+.erc8004-template {
+ display: flex;
+ flex-direction: column;
+ gap: var(--space-3xs);
+ padding: var(--space-md);
+ background: rgba(255, 255, 255, 0.03);
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: var(--radius-md);
+ color: #fff;
+ font-family: inherit;
+ text-align: left;
+ cursor: pointer;
+ transition:
+ background 0.2s,
+ border-color 0.2s,
+ transform 0.15s;
+}
+
+.erc8004-template:hover {
+ background: rgba(255, 255, 255, 0.06);
+ border-color: rgba(99, 102, 241, 0.45);
+ transform: translateY(-1px);
+}
+
+.erc8004-template-emoji {
+ font-size: 1.75rem;
+ line-height: 1;
+}
+
+.erc8004-template-name {
+ font-weight: 500;
+ font-size: var(--text-sm);
+}
+
+.erc8004-template-desc {
+ font-size: var(--text-xs);
+ color: rgba(255, 255, 255, 0.5);
+ line-height: 1.4;
+}
+
+.erc8004-history-row {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ gap: var(--space-sm);
+ padding: var(--space-xs) var(--space-sm);
+ background: rgba(255, 255, 255, 0.03);
+ border: 1px solid rgba(255, 255, 255, 0.06);
+ border-radius: var(--radius-sm);
+ margin-bottom: var(--space-3xs);
+ font-size: var(--text-sm);
+}
+
+.erc8004-history-main {
+ min-width: 0;
+ flex: 1;
+}
+
+.erc8004-history-main code {
+ font-size: var(--text-xs);
+ color: rgba(255, 255, 255, 0.5);
+}
+
+.erc8004-toast {
+ position: fixed;
+ bottom: var(--space-lg);
+ left: 50%;
+ transform: translateX(-50%);
+ padding: var(--space-sm) var(--space-md);
+ background: rgba(20, 20, 25, 0.95);
+ border: 1px solid rgba(255, 255, 255, 0.12);
+ border-radius: var(--radius-md);
+ color: #fff;
+ font-size: var(--text-sm);
+ z-index: 100;
+ box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
+}
+
+.erc8004-toast--error {
+ background: rgba(127, 29, 29, 0.95);
+ border-color: rgba(248, 113, 113, 0.4);
+}
+
+@media screen and (max-width: 700px) {
+ .erc8004-stats {
+ grid-template-columns: 1fr;
+ }
+ .erc8004-svc-row {
+ grid-template-columns: 1fr;
+ }
+ .erc8004-agent-card-inner {
+ grid-template-columns: 56px 1fr;
+ }
+ .erc8004-agent-card-img {
+ width: 56px;
+ height: 56px;
+ }
+ .erc8004-step-lbl {
+ display: none;
+ }
+}
+
+/******************************************************************************
+ * Create Avatar Button
+ */
+
+.create-avatar-btn {
+ display: inline-flex;
+ align-items: center;
+ gap: var(--space-xs);
+ padding: var(--space-sm) var(--space-md);
+ background: linear-gradient(180deg, rgba(139, 92, 246, 0.22), rgba(139, 92, 246, 0.1));
+ border: 1px solid rgba(167, 139, 250, 0.42);
+ border-radius: var(--radius-md);
+ color: #fff;
+ font-family: inherit;
+ font-size: var(--text-sm);
+ font-weight: 500;
+ text-decoration: none;
+ cursor: pointer;
+ transition:
+ background 0.18s ease,
+ border-color 0.18s ease,
+ color 0.18s ease,
+ transform 0.18s ease;
+ letter-spacing: -0.005em;
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
+}
+
+.create-avatar-btn:hover {
+ background: linear-gradient(180deg, rgba(139, 92, 246, 0.36), rgba(139, 92, 246, 0.16));
+ border-color: rgba(167, 139, 250, 0.7);
+}
+
+.create-avatar-btn:active {
+ transform: translateY(1px);
+}
+
+.create-avatar-btn svg {
+ width: 1em;
+ height: 1em;
+ fill: currentColor;
+ flex-shrink: 0;
+}
+
+@media screen and (max-width: 700px) {
+ .create-avatar-btn span {
+ display: none;
+ }
+
+ .create-avatar-btn {
+ padding: var(--space-xs) var(--space-sm);
+ }
+}
+
+/******************************************************************************
+ * Viewer nav action buttons — Save / Make Widget / Deploy / Public profile
+ *
+ * All four share a single neutral pill style so the header doesn't read as a
+ * rainbow. Each keeps a tinted SVG icon as its identity cue. Deploy is the
+ * primary CTA — slightly stronger fill — and gains a fully-saturated success
+ * state once on-chain.
+ */
+.save-to-account-btn,
+.make-widget-btn,
+.deploy-onchain-btn,
+.view-public-profile-btn {
+ display: inline-flex;
+ align-items: center;
+ gap: var(--space-xs);
+ padding: var(--space-sm) var(--space-md);
+ background: rgba(255, 255, 255, 0.04);
+ border: 1px solid rgba(255, 255, 255, 0.1);
+ border-radius: var(--radius-md);
+ color: rgba(255, 255, 255, 0.78);
+ font-family: inherit;
+ font-size: var(--text-sm);
+ font-weight: 500;
+ text-decoration: none;
+ cursor: pointer;
+ transition:
+ background 0.18s ease,
+ border-color 0.18s ease,
+ color 0.18s ease,
+ transform 0.18s ease;
+ letter-spacing: -0.005em;
+ white-space: nowrap;
+}
+.save-to-account-btn:hover,
+.make-widget-btn:hover,
+.deploy-onchain-btn:hover,
+.view-public-profile-btn:hover {
+ background: rgba(255, 255, 255, 0.08);
+ border-color: rgba(255, 255, 255, 0.2);
+ color: #fff;
+}
+.save-to-account-btn:active,
+.make-widget-btn:active,
+.deploy-onchain-btn:active,
+.view-public-profile-btn:active {
+ transform: translateY(1px);
+}
+.save-to-account-btn:focus-visible,
+.make-widget-btn:focus-visible,
+.deploy-onchain-btn:focus-visible,
+.view-public-profile-btn:focus-visible {
+ outline: 2px solid rgba(255, 255, 255, 0.5);
+ outline-offset: 2px;
+}
+.save-to-account-btn[hidden],
+.make-widget-btn[hidden],
+.deploy-onchain-btn[hidden],
+.view-public-profile-btn[hidden] {
+ display: none;
+}
+.save-to-account-btn svg,
+.make-widget-btn svg,
+.deploy-onchain-btn svg,
+.view-public-profile-btn svg {
+ width: 1em;
+ height: 1em;
+ transition: color 0.18s ease;
+}
+.save-to-account-btn[disabled] {
+ opacity: 0.6;
+ pointer-events: none;
+}
+
+/* Per-button icon accents — color identity lives in the icon, not the pill */
+.save-to-account-btn svg { color: #c4b5fd; } /* violet */
+.make-widget-btn svg { color: #5eead4; } /* teal */
+.view-public-profile-btn svg { color: #fcd34d; } /* gold */
+.deploy-onchain-btn svg { color: #a5b4fc; } /* indigo */
+
+/* Deploy on-chain — primary CTA, slightly stronger to pull the eye */
+.deploy-onchain-btn {
+ background: linear-gradient(180deg, rgba(99, 102, 241, 0.22), rgba(99, 102, 241, 0.12));
+ border-color: rgba(129, 140, 248, 0.45);
+ color: #fff;
+}
+.deploy-onchain-btn:hover {
+ background: linear-gradient(180deg, rgba(99, 102, 241, 0.34), rgba(99, 102, 241, 0.18));
+ border-color: rgba(129, 140, 248, 0.7);
+}
+
+/* "Deployed ✓" success state — replaces the call-to-action once on-chain. */
+.deploy-onchain-btn.is-deployed {
+ background: rgba(74, 222, 128, 0.12);
+ border-color: rgba(74, 222, 128, 0.42);
+ color: #86efac;
+}
+.deploy-onchain-btn.is-deployed svg {
+ color: #86efac;
+}
+.deploy-onchain-btn.is-deployed:hover {
+ background: rgba(74, 222, 128, 0.22);
+ color: #d1fae5;
+ border-color: rgba(74, 222, 128, 0.7);
+}
+
+@media screen and (max-width: 700px) {
+ .save-to-account-btn span,
+ .make-widget-btn span,
+ .deploy-onchain-btn span,
+ .view-public-profile-btn span {
+ display: none;
+ }
+ .save-to-account-btn,
+ .make-widget-btn,
+ .deploy-onchain-btn,
+ .view-public-profile-btn {
+ padding: var(--space-xs) var(--space-sm);
+ }
+}
+
+/******************************************************************************
+ * Avatar Creator Modal
+ */
+
+.avatar-creator-overlay {
+ position: fixed;
+ inset: 0;
+ z-index: 100;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ background: rgba(0, 0, 0, 0.9);
+ backdrop-filter: blur(24px);
+ -webkit-backdrop-filter: blur(24px);
+ animation: avatar-creator-fadein 0.25s ease;
+}
+
+@keyframes avatar-creator-fadein {
+ from {
+ opacity: 0;
+ }
+ to {
+ opacity: 1;
+ }
+}
+
+.avatar-creator-modal {
+ width: 95vw;
+ height: 90vh;
+ max-width: 1200px;
+ display: flex;
+ flex-direction: column;
+ background: rgba(10, 10, 10, 0.95);
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: var(--radius-lg);
+ overflow: hidden;
+ box-shadow: 0 16px 64px rgba(0, 0, 0, 0.6);
+}
+
+.avatar-creator-header {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ padding: var(--space-sm) var(--space-lg);
+ border-bottom: 1px solid rgba(255, 255, 255, 0.06);
+ flex-shrink: 0;
+}
+
+.avatar-creator-title {
+ font-size: var(--text-lg);
+ font-weight: 500;
+ color: #fff;
+ letter-spacing: 0.03em;
+}
+
+.avatar-creator-close {
+ background: none;
+ border: none;
+ color: rgba(255, 255, 255, 0.4);
+ font-size: var(--text-2xl);
+ cursor: pointer;
+ padding: 0;
+ line-height: 1;
+ transition: color 0.2s ease;
+}
+
+.avatar-creator-close:hover {
+ color: #fff;
+}
+
+.avatar-creator-body {
+ flex: 1;
+ position: relative;
+ min-height: 0;
+}
+
+.avatar-creator-container {
+ width: 100%;
+ height: 100%;
+ position: absolute;
+ inset: 0;
+}
+
+.avatar-creator-iframe {
+ width: 100%;
+ height: 100%;
+ border: none;
+}
+
+.avatar-creator-loading {
+ position: absolute;
+ inset: 0;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ gap: var(--space-md);
+ color: rgba(255, 255, 255, 0.4);
+ font-size: var(--text-sm);
+ pointer-events: none;
+}
+
+.avatar-creator-loading .spinner {
+ position: static;
+ margin: 0;
+}
+
+.avatar-creator-error {
+ color: #f87171;
+ font-size: var(--text-sm);
+}
+
+@media screen and (max-width: 700px) {
+ .avatar-creator-modal {
+ width: 100vw;
+ height: 100vh;
+ max-width: none;
+ border-radius: 0;
+ }
+
+ .avatar-creator-header {
+ padding: var(--space-xs) var(--space-md);
+ }
+}
+
+/* ============================================================================
+ Agent Presence System
+ The visual layer that makes agents real — not just JSON.
+ ============================================================================ */
+
+/* ── Sidebar layout ────────────────────────────────────────────────────────── */
+
+.agent-presence-sidebar {
+ position: fixed;
+ top: calc(var(--header-h) + var(--space-md));
+ left: var(--space-md);
+ width: 220px;
+ z-index: 50;
+ pointer-events: none;
+}
+
+/* Collapsed state — panel hidden, only show-pill visible */
+.agent-presence-sidebar[data-collapsed='true'] .agent-home-panel {
+ display: none;
+}
+
+.agent-home-show-pill {
+ display: none;
+ pointer-events: all;
+ width: 36px;
+ height: 36px;
+ border-radius: 50%;
+ border: 1px solid rgba(255, 255, 255, 0.12);
+ background: linear-gradient(180deg, rgba(18, 18, 26, 0.92) 0%, rgba(10, 10, 16, 0.92) 100%);
+ color: #e0e0e0;
+ font-size: 16px;
+ cursor: pointer;
+ align-items: center;
+ justify-content: center;
+ backdrop-filter: blur(16px);
+ -webkit-backdrop-filter: blur(16px);
+ box-shadow:
+ 0 4px 16px rgba(0, 0, 0, 0.4),
+ inset 0 1px 0 rgba(255, 255, 255, 0.04);
+ transition: transform 0.15s ease, border-color 0.15s ease;
+}
+
+.agent-home-show-pill:hover {
+ transform: scale(1.06);
+ border-color: rgba(255, 255, 255, 0.25);
+}
+
+.agent-presence-sidebar[data-collapsed='true'] .agent-home-show-pill {
+ display: flex;
+}
+
+.agent-home-panel {
+ background: linear-gradient(180deg, rgba(18, 18, 26, 0.92) 0%, rgba(10, 10, 16, 0.92) 100%);
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: var(--radius-lg);
+ backdrop-filter: blur(16px);
+ -webkit-backdrop-filter: blur(16px);
+ overflow: hidden;
+ pointer-events: all;
+ display: flex;
+ flex-direction: column;
+ gap: 0;
+ box-shadow:
+ 0 8px 32px rgba(0, 0, 0, 0.4),
+ inset 0 1px 0 rgba(255, 255, 255, 0.04);
+}
+
+/* ── Identity card ─────────────────────────────────────────────────────────── */
+
+.agent-home-identity {
+ display: flex;
+ align-items: center;
+ gap: var(--space-sm);
+ padding: var(--space-sm) var(--space-sm);
+}
+
+.agent-home-avatar-ring {
+ width: 36px;
+ height: 36px;
+ border-radius: 50%;
+ border: 2px solid rgba(255, 255, 255, 0.15);
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ flex-shrink: 0;
+ transition:
+ border-color 0.6s ease,
+ box-shadow 0.6s ease;
+}
+
+/* Emotion ring colours */
+.agent-home-avatar-ring[data-emotion='celebration'] {
+ border-color: rgba(134, 239, 172, 0.6);
+ box-shadow: 0 0 10px rgba(134, 239, 172, 0.25);
+}
+.agent-home-avatar-ring[data-emotion='concern'] {
+ border-color: rgba(252, 165, 89, 0.6);
+ box-shadow: 0 0 10px rgba(252, 165, 89, 0.2);
+}
+.agent-home-avatar-ring[data-emotion='curiosity'] {
+ border-color: rgba(147, 197, 253, 0.6);
+ box-shadow: 0 0 10px rgba(147, 197, 253, 0.2);
+}
+.agent-home-avatar-ring[data-emotion='empathy'] {
+ border-color: rgba(216, 180, 254, 0.6);
+ box-shadow: 0 0 10px rgba(216, 180, 254, 0.2);
+}
+.agent-home-avatar-ring[data-emotion='patience'] {
+ border-color: rgba(209, 213, 219, 0.4);
+}
+
+.agent-home-avatar-inner {
+ width: 28px;
+ height: 28px;
+ border-radius: 50%;
+ background: rgba(255, 255, 255, 0.06);
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ font-size: 14px;
+}
+
+.agent-home-info {
+ flex: 1;
+ min-width: 0;
+}
+
+.agent-home-name-row {
+ display: flex;
+ align-items: center;
+ gap: 5px;
+ min-width: 0;
+}
+
+.agent-home-name {
+ font-family: var(--font-display);
+ font-size: var(--text-base);
+ font-weight: 600;
+ color: #f5f5f7;
+ letter-spacing: -0.01em;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+
+/* ── Inline-editable fields (name, description) ─────────────────────────── */
+.agent-home-editable {
+ cursor: text;
+ border-radius: 4px;
+ padding: 1px 4px;
+ margin: -1px -4px;
+ transition:
+ background 0.15s,
+ box-shadow 0.15s;
+ outline: none;
+}
+.agent-home-editable:hover:not(.is-editing) {
+ background: rgba(255, 255, 255, 0.04);
+}
+.agent-home-editable.is-editing,
+.agent-home-editable:focus-visible {
+ background: rgba(255, 255, 255, 0.08);
+ box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.5);
+}
+.agent-home-editable.is-saving {
+ box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
+ opacity: 0.7;
+}
+.agent-home-editable.is-saved {
+ box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.6);
+}
+.agent-home-editable.is-error {
+ box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.7);
+}
+/* Empty-state placeholder (no actual <input>, so we render via :before). */
+.agent-home-editable:empty:not(.is-editing):before {
+ content: attr(data-placeholder);
+ color: rgba(255, 255, 255, 0.28);
+ font-style: italic;
+}
+
+.agent-home-description {
+ margin: 4px 0 0;
+ font-size: var(--text-xs);
+ font-weight: 400;
+ color: rgba(255, 255, 255, 0.55);
+ line-height: 1.45;
+ white-space: normal;
+}
+.agent-home-description.agent-home-editable {
+ cursor: text;
+}
+
+.agent-home-status-sep {
+ color: rgba(255, 255, 255, 0.2);
+ margin: 0 2px;
+}
+
+.agent-home-status {
+ display: flex;
+ align-items: center;
+ gap: 5px;
+ font-size: var(--text-xs);
+ color: rgba(255, 255, 255, 0.4);
+ margin-top: 1px;
+}
+
+.agent-home-dot {
+ width: 6px;
+ height: 6px;
+ border-radius: 50%;
+ background: rgba(255, 255, 255, 0.3);
+ flex-shrink: 0;
+}
+
+.agent-home-dot.online {
+ background: #4ade80;
+ box-shadow: 0 0 4px rgba(74, 222, 128, 0.5);
+ animation: agent-dot-pulse 2.5s ease infinite;
+}
+
+@keyframes agent-dot-pulse {
+ 0%,
+ 100% {
+ opacity: 1;
+ }
+ 50% {
+ opacity: 0.5;
+ }
+}
+
+#agent-home-emotion-label {
+ transition: opacity 0.15s ease;
+}
+
+.agent-home-address {
+ font-size: 10px;
+ color: rgba(255, 255, 255, 0.35);
+ font-family: var(--font-mono);
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+
+.agent-home-actions {
+ display: flex;
+ align-items: center;
+ gap: var(--space-xs);
+ flex-shrink: 0;
+}
+
+.agent-home-btn {
+ background: none;
+ border: 1px solid rgba(255, 255, 255, 0.1);
+ border-radius: var(--radius-sm);
+ color: rgba(255, 255, 255, 0.4);
+ width: 24px;
+ height: 24px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ cursor: pointer;
+ transition:
+ color 0.2s,
+ border-color 0.2s;
+ padding: 0;
+ font-size: var(--text-xs);
+}
+
+.agent-home-btn:hover {
+ color: rgba(255, 255, 255, 0.8);
+ border-color: rgba(255, 255, 255, 0.3);
+}
+
+.agent-home-badge {
+ font-size: 9px;
+ padding: 2px 5px;
+ border-radius: 999px;
+ display: flex;
+ align-items: center;
+ gap: 3px;
+ white-space: nowrap;
+}
+
+.agent-home-badge.erc8004 {
+ background: rgba(134, 239, 172, 0.12);
+ color: #4ade80;
+ border: 1px solid rgba(74, 222, 128, 0.25);
+ width: 14px;
+ height: 14px;
+ padding: 0;
+ justify-content: center;
+ flex-shrink: 0;
+}
+
+/* ── Skills (collapsed) ────────────────────────────────────────────────────── */
+
+.agent-home-skills {
+ border-top: 1px solid rgba(255, 255, 255, 0.05);
+}
+
+.agent-home-skills-summary {
+ display: flex;
+ align-items: center;
+ gap: 6px;
+ padding: var(--space-xs) var(--space-sm);
+ font-size: 10px;
+ color: rgba(255, 255, 255, 0.45);
+ cursor: pointer;
+ list-style: none;
+ user-select: none;
+ transition:
+ color 0.15s,
+ background 0.15s;
+}
+
+.agent-home-skills-summary::-webkit-details-marker {
+ display: none;
+}
+
+.agent-home-skills-summary:hover {
+ color: rgba(255, 255, 255, 0.75);
+ background: rgba(255, 255, 255, 0.02);
+}
+
+.agent-home-skills-label {
+ font-weight: 500;
+ letter-spacing: 0.04em;
+ text-transform: uppercase;
+}
+
+.agent-home-skills-count {
+ color: rgba(255, 255, 255, 0.35);
+ font-variant-numeric: tabular-nums;
+}
+
+.agent-home-chevron {
+ margin-left: auto;
+ color: rgba(255, 255, 255, 0.3);
+ transition: transform 0.2s ease;
+}
+
+.agent-home-skills[open] .agent-home-chevron {
+ transform: rotate(180deg);
+}
+
+.agent-home-skills-strip {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 4px;
+ padding: 0 var(--space-sm) var(--space-xs);
+}
+
+.agent-skill-chip {
+ font-size: 9px;
+ padding: 2px 6px;
+ border-radius: 999px;
+ background: rgba(255, 255, 255, 0.06);
+ color: rgba(255, 255, 255, 0.45);
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ cursor: default;
+ transition:
+ background 0.15s,
+ color 0.15s;
+ white-space: nowrap;
+}
+
+.agent-skill-chip:hover {
+ background: rgba(255, 255, 255, 0.1);
+ color: rgba(255, 255, 255, 0.75);
+}
+
+/* ── Memory bar ────────────────────────────────────────────────────────────── */
+
+.agent-home-memory-bar {
+ display: flex;
+ align-items: center;
+ gap: var(--space-xs);
+ padding: var(--space-xs) var(--space-sm);
+ border-top: 1px solid rgba(255, 255, 255, 0.05);
+ flex-wrap: wrap;
+}
+
+.agent-mem-chip {
+ font-size: 9px;
+ color: rgba(255, 255, 255, 0.4);
+ cursor: default;
+}
+
+.agent-mem-total {
+ font-size: 9px;
+ color: rgba(255, 255, 255, 0.2);
+ margin-left: auto;
+}
+
+.agent-mem-empty {
+ font-size: 9px;
+ color: rgba(255, 255, 255, 0.2);
+ font-style: italic;
+}
+
+/* ── Action timeline ───────────────────────────────────────────────────────── */
+
+.agent-home-timeline {
+ max-height: 140px;
+ overflow-y: auto;
+ border-top: 1px solid rgba(255, 255, 255, 0.05);
+ scrollbar-width: thin;
+ scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
+}
+
+.agent-timeline-empty {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ gap: 4px;
+ padding: var(--space-md) var(--space-sm);
+ text-align: center;
+}
+
+.agent-timeline-empty-icon {
+ color: rgba(139, 92, 246, 0.4);
+ margin-bottom: 2px;
+}
+
+.agent-timeline-empty-title {
+ font-size: 10px;
+ font-weight: 500;
+ color: rgba(255, 255, 255, 0.55);
+ letter-spacing: 0.02em;
+}
+
+.agent-timeline-empty-sub {
+ font-size: 9px;
+ color: rgba(255, 255, 255, 0.3);
+ line-height: 1.4;
+ max-width: 180px;
+}
+
+.agent-timeline-item {
+ display: flex;
+ align-items: flex-start;
+ gap: var(--space-xs);
+ padding: 4px var(--space-sm);
+ border-bottom: 1px solid rgba(255, 255, 255, 0.03);
+ transition: background 0.15s;
+}
+
+.agent-timeline-item:hover {
+ background: rgba(255, 255, 255, 0.03);
+}
+
+.agent-timeline-icon {
+ font-size: 10px;
+ flex-shrink: 0;
+ margin-top: 1px;
+ width: 14px;
+ text-align: center;
+}
+
+.agent-timeline-text {
+ font-size: 9px;
+ color: rgba(255, 255, 255, 0.5);
+ flex: 1;
+ min-width: 0;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}
+
+.agent-timeline-time {
+ font-size: 9px;
+ color: rgba(255, 255, 255, 0.2);
+ flex-shrink: 0;
+ white-space: nowrap;
+}
+
+@keyframes agent-timeline-in {
+ from {
+ opacity: 0;
+ transform: translateY(-4px);
+ }
+ to {
+ opacity: 1;
+ transform: translateY(0);
+ }
+}
+
+/* ── Edit affordance — pencil hint on hover ────────────────────────────────── */
+
+.agent-home-editable:hover:not(.is-editing)::after {
+ content: ' ✎';
+ font-size: 9px;
+ opacity: 0.35;
+ pointer-events: none;
+}
+
+/* ── Local-save feedback (amber — distinct from green API-saved) ─────────────── */
+
+.agent-home-editable.is-saved-local {
+ box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.6);
+}
+
+/* ── Char counter ────────────────────────────────────────────────────────────── */
+
+.agent-edit-counter {
+ display: none;
+ font-size: 9px;
+ color: rgba(255, 255, 255, 0.22);
+ margin-left: 4px;
+ font-variant-numeric: tabular-nums;
+ pointer-events: none;
+ user-select: none;
+ transition: color 0.15s;
+}
+
+.agent-edit-counter--visible {
+ display: inline;
+}
+
+.agent-edit-counter--warn {
+ color: rgba(251, 191, 36, 0.6);
+}
+
+.agent-edit-counter--over {
+ color: rgba(248, 113, 113, 0.8);
+}
+
+/* ── Wallet address CTA button ───────────────────────────────────────────────── */
+
+.agent-home-address--cta {
+ background: none;
+ border: none;
+ padding: 0;
+ cursor: pointer;
+ color: rgba(255, 255, 255, 0.35);
+ font-size: 10px;
+ font-family: var(--font-mono);
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ transition: color 0.15s;
+ text-decoration: underline dotted rgba(255, 255, 255, 0.2);
+ text-underline-offset: 2px;
+}
+
+.agent-home-address--cta:hover {
+ color: rgba(251, 191, 36, 0.85);
+ text-decoration-color: rgba(251, 191, 36, 0.4);
+}
+
+/* ── Connect wallet nudge ────────────────────────────────────────────────────── */
+
+.agent-wallet-nudge {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ gap: var(--space-xs);
+ padding: 6px var(--space-sm);
+ border-top: 1px solid rgba(255, 255, 255, 0.05);
+ opacity: 0;
+ transform: translateY(-4px);
+ transition:
+ opacity 0.25s ease,
+ transform 0.25s ease;
+}
+
+.agent-wallet-nudge--visible {
+ opacity: 1;
+ transform: translateY(0);
+}
+
+.agent-wallet-nudge-text {
+ font-size: 9px;
+ color: rgba(255, 255, 255, 0.35);
+ line-height: 1.3;
+}
+
+.agent-wallet-nudge-btn {
+ background: none;
+ border: 1px solid rgba(251, 191, 36, 0.35);
+ border-radius: 999px;
+ color: rgba(251, 191, 36, 0.8);
+ font-size: 9px;
+ padding: 2px 8px;
+ cursor: pointer;
+ white-space: nowrap;
+ flex-shrink: 0;
+ transition:
+ background 0.15s,
+ color 0.15s,
+ border-color 0.15s;
+}
+
+.agent-wallet-nudge-btn:hover {
+ background: rgba(251, 191, 36, 0.1);
+ color: rgba(251, 191, 36, 1);
+ border-color: rgba(251, 191, 36, 0.6);
+}
+
+/* ── NichAgent updates — emotion dot in header ─────────────────────────────── */
+
+.nich-header {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ padding: var(--space-sm) var(--space-md);
+ border-bottom: 1px solid rgba(255, 255, 255, 0.08);
+ background: rgba(255, 255, 255, 0.03);
+}
+
+.nich-header-right {
+ display: flex;
+ align-items: center;
+ gap: var(--space-sm);
+}
+
+.nich-emotion-dot {
+ width: 8px;
+ height: 8px;
+ border-radius: 50%;
+ background: rgba(255, 255, 255, 0.2);
+ transition:
+ background 0.4s ease,
+ box-shadow 0.4s ease;
+}
+
+.nich-model-select {
+ background: rgba(255, 255, 255, 0.06);
+ color: rgba(255, 255, 255, 0.78);
+ border: 1px solid rgba(255, 255, 255, 0.1);
+ border-radius: 6px;
+ padding: 2px 6px;
+ font-size: 11px;
+ font-family: inherit;
+ max-width: 150px;
+ cursor: pointer;
+ outline: none;
+ transition: border-color 0.15s ease, background 0.15s ease;
+}
+
+.nich-model-select:hover {
+ border-color: rgba(255, 255, 255, 0.25);
+ background: rgba(255, 255, 255, 0.1);
+}
+
+.nich-model-select:focus {
+ border-color: var(--nich-accent, rgba(120, 180, 255, 0.6));
+}
+
+.nich-model-select option {
+ background: #1a1a1a;
+ color: #e0e0e0;
+}
+
+.nich-toggle-label {
+ font-size: 10px;
+ margin-top: 3px;
+ display: block;
+ color: rgba(255, 255, 255, 0.5);
+}
+
+.nich-message.status {
+ font-size: var(--text-xs);
+ color: rgba(255, 255, 255, 0.3);
+ font-style: italic;
+ padding: 2px var(--space-xs);
+}
+
+.nich-message.typing {
+ color: rgba(255, 255, 255, 0.4);
+ letter-spacing: 2px;
+ animation: nich-typing 1.1s ease-in-out infinite;
+}
+
+@keyframes nich-typing {
+ 0%,
+ 100% {
+ opacity: 0.35;
+ }
+ 50% {
+ opacity: 0.85;
+ }
+}
+
+.nich-mic-hint {
+ font-size: var(--text-xs);
+ color: rgba(255, 255, 255, 0.25);
+}
+
+.nich-mic-row {
+ display: flex;
+ align-items: center;
+ gap: var(--space-sm);
+ padding: var(--space-xs) var(--space-md);
+ border-top: 1px solid rgba(255, 255, 255, 0.05);
+}
+
+/* ── Responsive — hide sidebar on narrow viewports ─────────────────────────── */
+
+@media screen and (max-width: 900px) {
+ .agent-presence-sidebar {
+ display: none;
+ }
+}
+
+/* ── Agent Home standalone page ─────────────────────────────────────────────── */
+
+.agent-home-page {
+ min-height: 100vh;
+ background: #000;
+ color: #e0e0e0;
+ font-family: 'Inter', sans-serif;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ padding: var(--space-2xl) var(--space-md);
+}
+
+.agent-home-page-card {
+ width: 100%;
+ max-width: 480px;
+ background: rgba(15, 15, 22, 0.95);
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: 12px;
+ overflow: hidden;
+}
+
+.agent-home-page-card .agent-home-panel {
+ background: transparent;
+ border: none;
+ border-radius: 0;
+}
+
+.agent-home-page-card .agent-home-timeline {
+ max-height: 400px;
+}
+
+/******************************************************************************
+ * Animation Panel (Mixamo-style action selector)
+ */
+
+.anim-panel {
+ position: absolute;
+ bottom: var(--space-lg);
+ left: 50%;
+ transform: translateX(-50%);
+ z-index: 20;
+ background: linear-gradient(180deg, rgba(18, 18, 26, 0.92) 0%, rgba(10, 10, 16, 0.92) 100%);
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: var(--radius-lg);
+ backdrop-filter: blur(18px);
+ -webkit-backdrop-filter: blur(18px);
+ padding: var(--space-xs) var(--space-sm);
+ max-width: 90vw;
+ box-shadow:
+ 0 8px 32px rgba(0, 0, 0, 0.45),
+ inset 0 1px 0 rgba(255, 255, 255, 0.04);
+ animation: anim-panel-in 0.3s ease;
+}
+
+@keyframes anim-panel-in {
+ from {
+ opacity: 0;
+ transform: translateX(-50%) translateY(12px);
+ }
+ to {
+ opacity: 1;
+ transform: translateX(-50%) translateY(0);
+ }
+}
+
+.anim-panel--empty {
+ display: none;
+}
+
+.anim-panel__header {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ padding: var(--space-3xs) var(--space-xs);
+ margin-bottom: var(--space-3xs);
+}
+
+.anim-panel__title {
+ font-size: var(--text-xs);
+ color: rgba(255, 255, 255, 0.4);
+ font-weight: 500;
+ letter-spacing: 0.06em;
+ text-transform: uppercase;
+}
+
+.anim-panel__stop {
+ background: none;
+ border: none;
+ color: rgba(255, 255, 255, 0.3);
+ font-size: var(--text-sm);
+ cursor: pointer;
+ padding: 2px 6px;
+ border-radius: var(--radius-sm);
+ transition:
+ color 0.2s,
+ background 0.2s;
+ line-height: 1;
+}
+
+.anim-panel__stop:hover {
+ color: #f87171;
+ background: rgba(248, 113, 113, 0.1);
+}
+
+.anim-panel__grid {
+ display: flex;
+ gap: var(--space-xs);
+ overflow-x: auto;
+ scrollbar-width: thin;
+ scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
+ padding-bottom: 2px;
+}
+
+.anim-btn {
+ position: relative;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ gap: 3px;
+ padding: var(--space-xs) var(--space-sm);
+ min-width: 64px;
+ background: rgba(255, 255, 255, 0.04);
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: var(--radius-md);
+ color: rgba(255, 255, 255, 0.6);
+ font-family: inherit;
+ font-size: var(--text-xs);
+ cursor: pointer;
+ transition: all 0.2s ease;
+ flex-shrink: 0;
+}
+
+.anim-btn__key {
+ position: absolute;
+ top: 3px;
+ right: 4px;
+ font-family: var(--font-mono);
+ font-size: 8px;
+ font-weight: 600;
+ color: rgba(255, 255, 255, 0.25);
+ padding: 1px 3px;
+ border-radius: 2px;
+ background: rgba(255, 255, 255, 0.04);
+ line-height: 1;
+ pointer-events: none;
+ transition:
+ color 0.18s,
+ background 0.18s;
+}
+
+.anim-btn:hover .anim-btn__key {
+ color: rgba(255, 255, 255, 0.6);
+ background: rgba(255, 255, 255, 0.08);
+}
+
+.anim-btn--active .anim-btn__key {
+ color: #fff;
+ background: rgba(139, 92, 246, 0.35);
+}
+
+.anim-btn:hover:not(:disabled) {
+ background: rgba(255, 255, 255, 0.1);
+ border-color: rgba(255, 255, 255, 0.2);
+ color: #fff;
+}
+
+.anim-btn--active {
+ background: var(--accent-soft);
+ border-color: rgba(139, 92, 246, 0.5);
+ color: #fff;
+ box-shadow: 0 0 16px rgba(139, 92, 246, 0.18);
+}
+
+.anim-btn--active:hover {
+ background: rgba(139, 92, 246, 0.28);
+}
+
+.anim-btn--loading {
+ opacity: 0.35;
+ cursor: wait;
+}
+
+.anim-btn__icon {
+ font-size: 1.3rem;
+ line-height: 1;
+}
+
+.anim-btn__label {
+ font-size: 9px;
+ font-weight: 500;
+ letter-spacing: 0.03em;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ max-width: 72px;
+}
+
+@media screen and (max-width: 700px) {
+ .anim-panel {
+ bottom: var(--space-sm);
+ padding: var(--space-3xs) var(--space-xs);
+ max-width: 95vw;
+ }
+
+ .anim-btn {
+ min-width: 52px;
+ padding: var(--space-3xs) var(--space-xs);
+ }
+
+ .anim-btn__icon {
+ font-size: 1.1rem;
+ }
+
+ .anim-btn__label {
+ font-size: 8px;
+ }
+}
+
+/******************************************************************************
+ * Editor — Scene Explorer side panel, Texture Inspector, Texture Lightbox
+ * All dark-themed to match the existing viewer chrome.
+ */
+
+.scene-explorer {
+ position: absolute;
+ top: var(--space-sm);
+ left: var(--space-sm);
+ width: 320px;
+ max-height: calc(100% - var(--space-lg));
+ background: rgba(20, 20, 28, 0.96);
+ color: #e0e0e0;
+ border: 1px solid #2a2a36;
+ border-radius: var(--radius-md);
+ box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
+ display: flex;
+ flex-direction: column;
+ font-size: var(--text-sm);
+ z-index: 40;
+ backdrop-filter: blur(8px);
+ overflow: hidden;
+}
+.scene-explorer.hidden {
+ display: none;
+}
+
+.scene-explorer__header {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ padding: var(--space-sm) var(--space-md);
+ border-bottom: 1px solid #2a2a36;
+ background: #0f0f16;
+}
+.scene-explorer__title {
+ font-weight: 600;
+ font-size: var(--text-sm);
+ letter-spacing: 0.02em;
+ text-transform: uppercase;
+ color: #b4a4ff;
+}
+.scene-explorer__close {
+ background: none;
+ border: none;
+ color: #aaa;
+ font-size: 18px;
+ line-height: 1;
+ padding: 2px 8px;
+ cursor: pointer;
+ border-radius: 4px;
+}
+.scene-explorer__close:hover {
+ background: #2a2a36;
+ color: #fff;
+}
+
+.scene-explorer__search {
+ margin: var(--space-xs) var(--space-sm);
+ background: #0b0b12;
+ border: 1px solid #2a2a36;
+ color: #ddd;
+ padding: 6px 10px;
+ border-radius: 4px;
+ font-size: var(--text-sm);
+ outline: none;
+}
+.scene-explorer__search:focus {
+ border-color: #5e4fff;
+}
+
+.scene-explorer__hint {
+ padding: 2px var(--space-sm) var(--space-xs);
+ color: #666;
+ font-size: 10px;
+ font-family: monospace;
+}
+
+.scene-explorer__tree {
+ flex: 1;
+ overflow-y: auto;
+ padding: var(--space-2xs) var(--space-2xs);
+ max-height: 40vh;
+ border-bottom: 1px solid #2a2a36;
+}
+.scene-explorer__inspector {
+ overflow-y: auto;
+ padding: var(--space-sm);
+ max-height: 40vh;
+ background: #0c0c14;
+}
+.scene-explorer__empty {
+ color: #666;
+ font-size: var(--text-xs);
+ padding: var(--space-sm);
+ text-align: center;
+}
+
+.scene-node {
+}
+.scene-node__row {
+ display: flex;
+ align-items: center;
+ gap: 4px;
+ padding: 3px 4px;
+ cursor: pointer;
+ border-radius: 3px;
+ line-height: 1.4;
+ user-select: none;
+}
+.scene-node__row:hover {
+ background: #1a1a26;
+}
+.scene-node__row.selected {
+ background: #2a1f5a;
+ color: #fff;
+}
+.scene-node__expander {
+ display: inline-block;
+ width: 12px;
+ color: #888;
+ text-align: center;
+ font-size: 10px;
+ flex-shrink: 0;
+}
+.scene-node__icon {
+ flex-shrink: 0;
+ font-size: 12px;
+}
+.scene-node__label {
+ flex: 1;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ font-size: 12px;
+}
+.scene-node__visibility {
+ background: none;
+ border: none;
+ color: #888;
+ font-size: 10px;
+ cursor: pointer;
+ padding: 0 4px;
+ flex-shrink: 0;
+}
+.scene-node__visibility:hover {
+ color: #fff;
+}
+
+.scene-node__children {
+ display: none;
+}
+.scene-node__children.open {
+ display: block;
+}
+.scene-node.filtered-out {
+ display: none;
+}
+
+.inspector__title {
+ font-size: var(--text-base);
+ font-weight: 600;
+ color: #fff;
+ margin-bottom: 2px;
+}
+.inspector__sub {
+ color: #666;
+ font-size: 10px;
+ font-family: monospace;
+ margin-bottom: var(--space-xs);
+}
+.inspector__section {
+ margin-top: var(--space-sm);
+ margin-bottom: var(--space-2xs);
+ font-size: 10px;
+ text-transform: uppercase;
+ letter-spacing: 0.08em;
+ color: #888;
+ border-bottom: 1px solid #22222e;
+ padding-bottom: 2px;
+}
+.inspector__row {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ gap: var(--space-xs);
+ padding: 2px 0;
+ font-size: 11px;
+}
+.inspector__label {
+ color: #888;
+ flex-shrink: 0;
+ min-width: 40px;
+}
+.inspector__value {
+ color: #ccc;
+ font-family: monospace;
+ text-align: right;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}
+.vec3-row .vec3 {
+ display: flex;
+ gap: 2px;
+}
+.vec3-row input {
+ width: 52px;
+ background: #0b0b12;
+ border: 1px solid #2a2a36;
+ color: #ccc;
+ padding: 2px 4px;
+ border-radius: 3px;
+ font-size: 10px;
+ font-family: monospace;
+ outline: none;
+}
+.vec3-row input:focus {
+ border-color: #5e4fff;
+}
+
+.inspector__actions {
+ display: flex;
+ gap: var(--space-2xs);
+ margin-top: var(--space-2xs);
+ flex-wrap: wrap;
+}
+.inspector__actions button {
+ background: #22222e;
+ border: 1px solid #33334a;
+ color: #ccc;
+ padding: 4px 8px;
+ border-radius: 3px;
+ font-size: 10px;
+ cursor: pointer;
+}
+.inspector__actions button:hover {
+ background: #2e2e40;
+ color: #fff;
+}
+
+/* Texture Inspector modal */
+.texture-inspector {
+ position: fixed;
+ top: 80px;
+ right: 20px;
+ width: min(560px, calc(100vw - 40px));
+ max-height: calc(100vh - 100px);
+ background: rgba(20, 20, 28, 0.98);
+ border: 1px solid #2a2a36;
+ border-radius: var(--radius-md);
+ box-shadow: 0 15px 60px rgba(0, 0, 0, 0.6);
+ display: flex;
+ flex-direction: column;
+ z-index: 9998;
+ color: #e0e0e0;
+ overflow: hidden;
+}
+.texture-inspector__header {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ padding: var(--space-sm) var(--space-md);
+ border-bottom: 1px solid #2a2a36;
+ background: #0f0f16;
+}
+.texture-inspector__title {
+ font-weight: 600;
+ font-size: var(--text-sm);
+ color: #b4a4ff;
+ text-transform: uppercase;
+ letter-spacing: 0.02em;
+}
+.texture-inspector__close {
+ background: none;
+ border: none;
+ color: #aaa;
+ font-size: 18px;
+ cursor: pointer;
+ padding: 2px 8px;
+ border-radius: 4px;
+}
+.texture-inspector__close:hover {
+ background: #2a2a36;
+ color: #fff;
+}
+
+.texture-inspector__grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
+ gap: var(--space-sm);
+ padding: var(--space-sm);
+ overflow-y: auto;
+}
+
+.texture-card {
+ background: #0c0c14;
+ border: 1px solid #22222e;
+ border-radius: var(--radius-sm);
+ padding: var(--space-xs);
+ cursor: pointer;
+ transition:
+ border-color 0.15s,
+ transform 0.15s;
+}
+.texture-card:hover {
+ border-color: #5e4fff;
+ transform: translateY(-1px);
+}
+.texture-card__thumb {
+ width: 100%;
+ aspect-ratio: 1;
+ background: #000
+ url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><rect width="8" height="8" fill="%23333"/><rect x="8" y="8" width="8" height="8" fill="%23333"/></svg>')
+ repeat;
+ image-rendering: pixelated;
+ border-radius: 3px;
+ display: block;
+}
+.texture-card__info {
+ margin-top: var(--space-2xs);
+}
+.texture-card__name {
+ font-size: 11px;
+ font-weight: 500;
+ color: #ddd;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+.texture-card__meta {
+ font-size: 10px;
+ color: #888;
+ font-family: monospace;
+}
+.texture-card__mats {
+ font-size: 10px;
+ color: #666;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ margin-top: 2px;
+}
+
+/* Texture Lightbox (full preview with channel toggles) */
+.texture-lightbox {
+ position: fixed;
+ inset: 0;
+ background: rgba(5, 5, 10, 0.92);
+ backdrop-filter: blur(4px);
+ z-index: 9999;
+ display: flex;
+ flex-direction: column;
+}
+.texture-lightbox__bar {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ padding: var(--space-sm) var(--space-md);
+ background: #0b0b12;
+ border-bottom: 1px solid #2a2a36;
+ gap: var(--space-md);
+ flex-wrap: wrap;
+}
+.texture-lightbox__meta {
+ display: flex;
+ flex-direction: column;
+ gap: 2px;
+}
+.texture-lightbox__title {
+ font-weight: 600;
+ font-size: var(--text-sm);
+ color: #fff;
+}
+.texture-lightbox__dim {
+ font-family: monospace;
+ font-size: 10px;
+ color: #888;
+}
+.texture-lightbox__channels {
+ display: flex;
+ gap: 2px;
+}
+.texture-lightbox__channels button {
+ background: #22222e;
+ border: 1px solid #33334a;
+ color: #aaa;
+ padding: 4px 10px;
+ border-radius: 3px;
+ font-size: 11px;
+ font-family: monospace;
+ cursor: pointer;
+ min-width: 32px;
+}
+.texture-lightbox__channels button:hover {
+ background: #2e2e40;
+ color: #fff;
+}
+.texture-lightbox__channels button.active {
+ background: #5e4fff;
+ border-color: #7262ff;
+ color: #fff;
+}
+.texture-lightbox__close {
+ background: none;
+ border: none;
+ color: #aaa;
+ font-size: 22px;
+ cursor: pointer;
+ padding: 2px 10px;
+ border-radius: 4px;
+}
+.texture-lightbox__close:hover {
+ background: #2a2a36;
+ color: #fff;
+}
+.texture-lightbox__stage {
+ flex: 1;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ overflow: hidden;
+ padding: var(--space-md);
+ background:
+ linear-gradient(45deg, #1a1a22 25%, transparent 25%),
+ linear-gradient(-45deg, #1a1a22 25%, transparent 25%),
+ linear-gradient(45deg, transparent 75%, #1a1a22 75%),
+ linear-gradient(-45deg, transparent 75%, #1a1a22 75%);
+ background-size: 20px 20px;
+ background-position:
+ 0 0,
+ 0 10px,
+ 10px -10px,
+ 10px 0;
+ cursor: grab;
+}
+.texture-lightbox__viewport {
+ position: relative;
+ max-width: 100%;
+ max-height: 100%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+.texture-lightbox__canvas {
+ max-width: min(90vw, 1200px);
+ max-height: calc(100vh - 160px);
+ object-fit: contain;
+ image-rendering: pixelated;
+ border: 1px solid #2a2a36;
+ background: #000;
+ transform-origin: center center;
+ transition: none;
+}
+.texture-lightbox__uv {
+ position: absolute;
+ inset: 0;
+ max-width: min(90vw, 1200px);
+ max-height: calc(100vh - 160px);
+ object-fit: contain;
+ pointer-events: none;
+ transform-origin: center center;
+}
+.texture-lightbox__footer {
+ padding: var(--space-xs) var(--space-md);
+ background: #0b0b12;
+ border-top: 1px solid #2a2a36;
+ color: #888;
+ font-size: 11px;
+ font-family: monospace;
+}
+
+@media (max-width: 700px) {
+ .scene-explorer {
+ width: calc(100vw - var(--space-md));
+ max-height: calc(100vh - var(--space-xl));
+ top: var(--space-xs);
+ left: var(--space-xs);
+ right: var(--space-xs);
+ }
+ .texture-inspector {
+ top: var(--space-xs);
+ right: var(--space-xs);
+ left: var(--space-xs);
+ width: auto;
+ max-height: calc(100vh - var(--space-lg));
+ }
+ .texture-lightbox__bar {
+ padding: var(--space-xs);
+ gap: var(--space-xs);
+ }
+}
+
+/* ============================================================================
+ AUTH GATE — hides power tools from anonymous visitors on the main viewer
+ ============================================================================ */
+
+.auth-gate {
+ display: none;
+}
+
+body[data-viewer-mode='main'][data-authed='pending'] #agent-presence-sidebar,
+body[data-viewer-mode='main'][data-authed='pending'] .dg.main {
+ visibility: hidden !important;
+}
+
+body[data-viewer-mode='main'][data-authed='false'] #agent-presence-sidebar,
+body[data-viewer-mode='main'][data-authed='false'] .dg.main {
+ display: none !important;
+}
+
+body[data-viewer-mode='main'][data-authed='false'] .auth-gate {
+ display: block;
+ animation: auth-gate-in 0.4s ease;
+}
+
+@keyframes auth-gate-in {
+ from {
+ opacity: 0;
+ transform: translateY(8px);
+ }
+ to {
+ opacity: 1;
+ transform: translateY(0);
+ }
+}
+
+.auth-gate {
+ position: fixed;
+ top: calc(var(--header-h) + var(--space-md));
+ left: var(--space-md);
+ width: 300px;
+ z-index: 50;
+}
+
+/* ── First-time onboarding banner ─────────────────────────────────────────── */
+
+.agent-onboarding {
+ position: fixed;
+ right: var(--space-md);
+ bottom: calc(var(--space-md) + 80px);
+ width: min(360px, calc(100vw - var(--space-md) * 2));
+ z-index: 60;
+ animation: agent-onboarding-rise 0.32s ease-out;
+}
+
+.agent-onboarding[hidden] {
+ display: none;
+}
+
+@keyframes agent-onboarding-rise {
+ from {
+ opacity: 0;
+ transform: translateY(12px);
+ }
+ to {
+ opacity: 1;
+ transform: translateY(0);
+ }
+}
+
+.agent-onboarding__inner {
+ position: relative;
+ background: linear-gradient(180deg, rgba(20, 20, 30, 0.96), rgba(10, 10, 18, 0.96));
+ border: 1px solid rgba(167, 139, 250, 0.32);
+ border-radius: var(--radius-lg);
+ padding: var(--space-md) var(--space-md) var(--space-md);
+ backdrop-filter: blur(20px);
+ -webkit-backdrop-filter: blur(20px);
+ box-shadow:
+ 0 20px 50px rgba(0, 0, 0, 0.55),
+ 0 1px 0 rgba(255, 255, 255, 0.04) inset,
+ 0 -40px 80px -40px rgba(139, 92, 246, 0.35) inset;
+ color: rgba(255, 255, 255, 0.92);
+ overflow: hidden;
+}
+
+.agent-onboarding__inner::before {
+ content: '';
+ position: absolute;
+ inset: 0 0 auto 0;
+ height: 1px;
+ background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.55), transparent);
+ pointer-events: none;
+}
+
+.agent-onboarding__close {
+ position: absolute;
+ top: 0.4rem;
+ right: 0.55rem;
+ background: transparent;
+ border: 0;
+ color: rgba(255, 255, 255, 0.45);
+ font-size: 1.4rem;
+ line-height: 1;
+ cursor: pointer;
+ width: 32px;
+ height: 32px;
+ border-radius: 6px;
+ transition:
+ color 0.15s,
+ background 0.15s;
+}
+
+.agent-onboarding__close:hover {
+ color: #fff;
+ background: rgba(255, 255, 255, 0.06);
+}
+
+.agent-onboarding__close:focus-visible {
+ outline: 2px solid rgba(167, 139, 250, 0.7);
+ outline-offset: 2px;
+}
+
+.agent-onboarding__title {
+ font-family: 'Space Grotesk', 'Inter', sans-serif;
+ margin: 0 0 var(--space-xs);
+ font-size: 1.1rem;
+ font-weight: 600;
+ letter-spacing: -0.015em;
+ color: #fff;
+ padding-right: var(--space-lg);
+}
+
+.agent-onboarding__desc {
+ margin: 0 0 var(--space-md);
+ font-size: var(--text-sm);
+ color: rgba(255, 255, 255, 0.62);
+ line-height: 1.55;
+}
+
+.agent-onboarding__actions {
+ display: flex;
+ gap: var(--space-sm);
+ flex-wrap: wrap;
+}
+
+.agent-onboarding__btn {
+ display: inline-flex;
+ align-items: center;
+ padding: 0.5em 0.95em;
+ border-radius: var(--radius-md);
+ font-size: var(--text-sm);
+ font-weight: 500;
+ font-family: inherit;
+ text-decoration: none;
+ border: 1px solid rgba(255, 255, 255, 0.14);
+ background: rgba(255, 255, 255, 0.04);
+ color: rgba(255, 255, 255, 0.82);
+ cursor: pointer;
+ transition:
+ background 0.18s ease,
+ border-color 0.18s ease,
+ color 0.18s ease,
+ transform 0.18s ease;
+}
+
+.agent-onboarding__btn:hover {
+ color: #fff;
+ border-color: rgba(255, 255, 255, 0.28);
+ background: rgba(255, 255, 255, 0.08);
+}
+
+.agent-onboarding__btn:active {
+ transform: translateY(1px);
+}
+
+.agent-onboarding__btn:focus-visible {
+ outline: 2px solid rgba(167, 139, 250, 0.7);
+ outline-offset: 2px;
+}
+
+.agent-onboarding__btn--primary {
+ background: linear-gradient(180deg, rgba(139, 92, 246, 0.95), rgba(124, 58, 237, 0.95));
+ border-color: rgba(167, 139, 250, 0.7);
+ color: #fff;
+ box-shadow:
+ 0 4px 14px rgba(139, 92, 246, 0.32),
+ 0 1px 0 rgba(255, 255, 255, 0.15) inset;
+}
+
+.agent-onboarding__btn--primary:hover {
+ background: linear-gradient(180deg, rgba(151, 109, 255, 1), rgba(139, 92, 246, 1));
+ border-color: rgba(167, 139, 250, 0.9);
+ color: #fff;
+}
+
+@media (max-width: 700px) {
+ .agent-onboarding {
+ left: var(--space-md);
+ right: var(--space-md);
+ bottom: calc(var(--space-md) + 90px);
+ width: auto;
+ }
+}
+
+.auth-gate__inner {
+ position: relative;
+ background: linear-gradient(180deg, rgba(20, 20, 30, 0.92) 0%, rgba(10, 10, 18, 0.94) 100%);
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: var(--radius-lg);
+ backdrop-filter: blur(22px) saturate(140%);
+ -webkit-backdrop-filter: blur(22px) saturate(140%);
+ padding: var(--space-md) var(--space-md) var(--space-sm);
+ box-shadow:
+ 0 20px 60px rgba(0, 0, 0, 0.55),
+ 0 1px 0 rgba(255, 255, 255, 0.05) inset,
+ 0 -20px 40px -20px rgba(139, 92, 246, 0.25) inset;
+ overflow: hidden;
+}
+
+.auth-gate__inner::before {
+ content: '';
+ position: absolute;
+ inset: 0 0 auto 0;
+ height: 1px;
+ background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.5), transparent);
+ pointer-events: none;
+}
+
+.auth-gate__eyebrow {
+ display: inline-flex;
+ align-items: center;
+ gap: 0.42rem;
+ font-size: var(--text-xs);
+ color: rgba(167, 139, 250, 0.85);
+ font-weight: 600;
+ letter-spacing: 0.1em;
+ text-transform: uppercase;
+ margin-bottom: var(--space-sm);
+ padding: 0.18rem 0.5rem;
+ border-radius: 999px;
+ background: rgba(139, 92, 246, 0.1);
+ border: 1px solid rgba(139, 92, 246, 0.25);
+}
+
+.auth-gate__lock {
+ width: 0.85em;
+ height: 0.85em;
+ opacity: 0.9;
+}
+
+.auth-gate__title {
+ font-family: 'Space Grotesk', 'Inter', sans-serif;
+ font-size: 1.32rem;
+ font-weight: 600;
+ color: #fff;
+ margin: 0 0 var(--space-2xs);
+ letter-spacing: -0.018em;
+ line-height: 1.18;
+}
+
+.auth-gate__desc {
+ font-size: var(--text-sm);
+ line-height: 1.55;
+ color: rgba(255, 255, 255, 0.62);
+ margin: 0 0 var(--space-md);
+}
+
+.auth-gate__actions {
+ display: flex;
+ gap: var(--space-xs);
+ margin-bottom: var(--space-sm);
+}
+
+.auth-gate__btn {
+ flex: 1;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ padding: 0.55rem var(--space-sm);
+ border-radius: var(--radius-md);
+ font-size: var(--text-sm);
+ font-weight: 500;
+ text-decoration: none;
+ border: 1px solid rgba(255, 255, 255, 0.12);
+ color: rgba(255, 255, 255, 0.82);
+ background: rgba(255, 255, 255, 0.04);
+ transition:
+ background 0.18s ease,
+ border-color 0.18s ease,
+ color 0.18s ease,
+ transform 0.18s ease;
+}
+
+.auth-gate__btn:hover {
+ background: rgba(255, 255, 255, 0.09);
+ border-color: rgba(255, 255, 255, 0.22);
+ color: #fff;
+}
+
+.auth-gate__btn:active {
+ transform: translateY(1px);
+}
+
+.auth-gate__btn--primary {
+ background: linear-gradient(180deg, #fff, #e8e8ef);
+ color: #0a0a10;
+ border-color: rgba(255, 255, 255, 0.9);
+ font-weight: 600;
+}
+
+.auth-gate__btn--primary:hover {
+ background: #fff;
+ color: #0a0a10;
+ border-color: #fff;
+}
+
+.auth-gate__perks {
+ list-style: none;
+ padding: var(--space-sm) 0 0;
+ margin: 0;
+ border-top: 1px solid rgba(255, 255, 255, 0.06);
+}
+
+.auth-gate__perks li {
+ font-size: var(--text-xs);
+ color: rgba(255, 255, 255, 0.55);
+ padding: 0.18rem 0;
+ display: flex;
+ align-items: center;
+ gap: 0.45rem;
+ line-height: 1.5;
+}
+
+.auth-gate__perks li::before {
+ content: '';
+ flex-shrink: 0;
+ width: 4px;
+ height: 4px;
+ border-radius: 50%;
+ background: rgba(167, 139, 250, 0.6);
+ box-shadow: 0 0 6px rgba(167, 139, 250, 0.4);
+}
+
+@media screen and (max-width: 700px) {
+ .auth-gate {
+ top: auto;
+ bottom: var(--space-md);
+ left: var(--space-sm);
+ right: var(--space-sm);
+ width: auto;
+ }
+}
+
+/******************************************************************************
+ * Publish Modal (post-publish share UI — editor "📤 publish as embed")
+ */
+
+.publish-overlay {
+ position: fixed;
+ inset: 0;
+ z-index: 120;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ background: rgba(0, 0, 0, 0.85);
+ backdrop-filter: blur(18px);
+ -webkit-backdrop-filter: blur(18px);
+ animation: publish-fadein 0.2s ease;
+}
+
+@keyframes publish-fadein {
+ from {
+ opacity: 0;
+ }
+ to {
+ opacity: 1;
+ }
+}
+
+.publish-modal {
+ width: 92vw;
+ max-width: 560px;
+ max-height: 85vh;
+ display: flex;
+ flex-direction: column;
+ background: rgba(10, 10, 10, 0.96);
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: var(--radius-lg);
+ overflow: hidden;
+ box-shadow: 0 16px 64px rgba(0, 0, 0, 0.6);
+ color: #e0e0e0;
+}
+
+.publish-header {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ padding: var(--space-sm) var(--space-lg);
+ border-bottom: 1px solid rgba(255, 255, 255, 0.06);
+ flex-shrink: 0;
+}
+
+.publish-title {
+ font-size: var(--text-lg);
+ font-weight: 500;
+ color: #fff;
+ letter-spacing: 0.03em;
+}
+
+.publish-close {
+ background: none;
+ border: none;
+ color: rgba(255, 255, 255, 0.4);
+ font-size: var(--text-2xl);
+ cursor: pointer;
+ padding: 0;
+ line-height: 1;
+ transition: color 0.2s ease;
+}
+
+.publish-close:hover {
+ color: #fff;
+}
+
+.publish-body {
+ padding: var(--space-lg);
+ overflow-y: auto;
+ flex: 1;
+ min-height: 0;
+}
+
+/* ── Progress steps ──────────────────────────────────────────────────────── */
+
+.publish-steps {
+ display: flex;
+ flex-direction: column;
+ gap: var(--space-xs);
+}
+
+.publish-step {
+ display: flex;
+ align-items: center;
+ gap: var(--space-sm);
+ padding: var(--space-xs) var(--space-sm);
+ border-radius: var(--radius-md);
+ font-size: var(--text-sm);
+ color: rgba(255, 255, 255, 0.5);
+ transition:
+ color 0.2s ease,
+ background 0.2s ease;
+}
+
+.publish-step--active {
+ color: #fff;
+ background: var(--accent-soft);
+}
+
+.publish-step--done {
+ color: rgba(255, 255, 255, 0.85);
+}
+
+.publish-step-dot {
+ width: 18px;
+ height: 18px;
+ border-radius: 50%;
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ font-size: 12px;
+ line-height: 1;
+ flex-shrink: 0;
+ border: 1px solid rgba(255, 255, 255, 0.2);
+ background: transparent;
+ color: inherit;
+ box-sizing: border-box;
+}
+
+.publish-step--done .publish-step-dot {
+ background: var(--accent);
+ border-color: var(--accent);
+ color: #fff;
+}
+
+.publish-step--active .publish-step-dot {
+ border-color: var(--accent);
+ border-top-color: transparent;
+ animation: publish-spin 0.9s linear infinite;
+}
+
+@keyframes publish-spin {
+ from {
+ transform: rotate(0deg);
+ }
+ to {
+ transform: rotate(360deg);
+ }
+}
+
+.note {
+ font-size: var(--text-sm);
+ color: #999;
+ margin: 0 var(--space-md) var(--space-md);
+}
+.note a {
+ color: #9a8cff;
+}
+
+
+/* ── Result state (snippets) ─────────────────────────────────────────────── */
+
+.publish-result {
+ display: flex;
+ flex-direction: column;
+ gap: var(--space-md);
+}
+
+.publish-snippet {
+ display: flex;
+ flex-direction: column;
+ gap: var(--space-2xs);
+}
+
+.publish-snippet-label {
+ font-size: var(--text-sm);
+ color: rgba(255, 255, 255, 0.55);
+ letter-spacing: 0.02em;
+}
+
+.publish-snippet-row {
+ display: flex;
+ gap: var(--space-xs);
+ align-items: stretch;
+ min-width: 0;
+}
+
+.publish-snippet-value {
+ flex: 1;
+ min-width: 0;
+ margin: 0;
+ padding: var(--space-xs) var(--space-sm);
+ background: rgba(255, 255, 255, 0.04);
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: var(--radius-md);
+ color: #e0e0e0;
+ font-family: var(--font-mono);
+ font-size: var(--text-sm);
+ overflow-x: auto;
+ white-space: pre;
+ line-height: var(--leading-tight);
+}
+
+.publish-snippet-value:focus {
+ outline: 2px solid var(--accent);
+ outline-offset: 1px;
+}
+
+.publish-snippet-actions {
+ display: flex;
+ gap: var(--space-2xs);
+ flex-shrink: 0;
+}
+
+.publish-copy-btn,
+.publish-open-btn {
+ background: rgba(255, 255, 255, 0.06);
+ border: 1px solid rgba(255, 255, 255, 0.1);
+ color: #e0e0e0;
+ padding: 0 var(--space-sm);
+ border-radius: var(--radius-md);
+ font-size: var(--text-sm);
+ cursor: pointer;
+ white-space: nowrap;
+ transition:
+ background 0.15s ease,
+ color 0.15s ease;
+}
+
+.publish-copy-btn:hover,
+.publish-open-btn:hover {
+ background: var(--accent-soft);
+ color: #fff;
+}
+
+.publish-copy-btn:disabled {
+ color: var(--accent);
+ background: var(--accent-soft);
+ cursor: default;
+}
+
+/* ── Action rows (Done / Sign in / Retry / Cancel) ──────────────────────── */
+
+.publish-actions {
+ display: flex;
+ justify-content: flex-end;
+ gap: var(--space-sm);
+ margin-top: var(--space-sm);
+}
+
+.publish-done-btn,
+.publish-signin-btn,
+.publish-retry-btn,
+.publish-cancel-btn {
+ background: rgba(255, 255, 255, 0.06);
+ border: 1px solid rgba(255, 255, 255, 0.1);
+ color: #e0e0e0;
+ padding: var(--space-xs) var(--space-md);
+ border-radius: var(--radius-md);
+ font-size: var(--text-sm);
+ cursor: pointer;
+ transition:
+ background 0.15s ease,
+ color 0.15s ease,
+ filter 0.15s ease;
+}
+
+.publish-done-btn,
+.publish-signin-btn,
+.publish-retry-btn {
+ background: var(--accent);
+ color: #fff;
+ border-color: var(--accent);
+}
+
+.publish-done-btn:hover,
+.publish-signin-btn:hover,
+.publish-retry-btn:hover {
+ filter: brightness(1.12);
+}
+
+.publish-cancel-btn:hover {
+ background: var(--accent-soft);
+ color: #fff;
+}
+
+/* ── Auth-required + error states ────────────────────────────────────────── */
+
+.publish-auth-msg {
+ margin: 0 0 var(--space-md);
+ color: rgba(255, 255, 255, 0.7);
+ font-size: var(--text-sm);
+ line-height: var(--leading-normal);
+}
+
+.publish-error-name {
+ font-family: var(--font-mono);
+ font-size: var(--text-sm);
+ color: #f87171;
+ margin-bottom: var(--space-xs);
+}
+
+.publish-error-message {
+ font-size: var(--text-sm);
+ color: rgba(255, 255, 255, 0.7);
+ line-height: var(--leading-normal);
+ margin-bottom: var(--space-md);
+ word-break: break-word;
+}
+
+@media screen and (max-width: 700px) {
+ .publish-modal {
+ width: 100vw;
+ max-width: none;
+ max-height: 100vh;
+ border-radius: 0;
+ }
+ .publish-snippet-row {
+ flex-direction: column;
+ }
+ .publish-snippet-actions {
+ justify-content: flex-end;
+ }
+}
+
+/******************************************************************************
+ * ERC-8004 Agent Studio — parity additions (hero, mainnet banner,
+ * filter chips, batch tab, QR modal, export accordion, footer).
+ */
+
+.erc8004-shell {
+ width: 100%;
+ max-width: 960px;
+ margin: 0 auto;
+}
+
+.erc8004-hero {
+ margin-bottom: var(--space-md);
+}
+
+.erc8004-hero-topbar {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ gap: var(--space-md);
+ margin-bottom: var(--space-lg);
+ flex-wrap: wrap;
+}
+
+.erc8004-hero-body {
+ text-align: center;
+ padding: var(--space-lg) 0;
+}
+
+.erc8004-hero-badge {
+ display: inline-flex;
+ align-items: center;
+ gap: 8px;
+ padding: 6px 14px;
+ border-radius: 20px;
+ background: rgba(99, 102, 241, 0.15);
+ border: 1px solid rgba(139, 92, 246, 0.35);
+ color: #a5b4fc;
+ font-size: 12px;
+ font-weight: 500;
+ margin-bottom: var(--space-md);
+}
+
+.erc8004-hero-dot {
+ width: 8px;
+ height: 8px;
+ border-radius: 50%;
+ background: #22c55e;
+ box-shadow: 0 0 8px #22c55e;
+}
+
+.erc8004-hero-h1 {
+ margin: 0 0 var(--space-sm);
+ font-size: clamp(28px, 5vw, 44px);
+ line-height: 1.1;
+ font-weight: 600;
+ color: #fff;
+ letter-spacing: -0.02em;
+}
+
+.erc8004-hero-accent {
+ background: linear-gradient(90deg, #6366f1, #a78bfa);
+ -webkit-background-clip: text;
+ background-clip: text;
+ color: transparent;
+}
+
+.erc8004-hero-sub {
+ max-width: 620px;
+ margin: 0 auto var(--space-md);
+ color: rgba(255, 255, 255, 0.55);
+ font-size: var(--text-base);
+ line-height: 1.6;
+}
+
+.erc8004-hero .erc8004-stats {
+ max-width: 540px;
+ margin: 0 auto;
+}
+
+.erc8004-mainnet-banner {
+ padding: var(--space-sm) var(--space-md);
+ margin-bottom: var(--space-md);
+ background: rgba(239, 68, 68, 0.1);
+ border: 1px solid rgba(239, 68, 68, 0.4);
+ border-radius: var(--radius-md);
+ color: #fca5a5;
+ font-size: var(--text-sm);
+ text-align: center;
+}
+
+/* Filter chips */
+.erc8004-filter-chips {
+ display: flex;
+ gap: 8px;
+ flex-wrap: wrap;
+ margin: var(--space-sm) 0;
+}
+
+.erc8004-chip {
+ padding: 6px 14px;
+ border-radius: 20px;
+ font-size: 12px;
+ font-weight: 500;
+ background: rgba(255, 255, 255, 0.04);
+ border: 1px solid rgba(255, 255, 255, 0.1);
+ color: rgba(255, 255, 255, 0.6);
+ cursor: pointer;
+ font-family: inherit;
+ transition: all 0.2s;
+}
+
+.erc8004-chip:hover {
+ border-color: rgba(99, 102, 241, 0.5);
+}
+
+.erc8004-chip--active {
+ background: rgba(99, 102, 241, 0.15);
+ border-color: rgba(99, 102, 241, 0.5);
+ color: #a5b4fc;
+}
+
+.erc8004-tag--x402 {
+ background: rgba(124, 58, 237, 0.2);
+ color: #c4b5fd;
+ border-color: rgba(124, 58, 237, 0.4);
+}
+
+.erc8004-tag--owner {
+ background: var(--accent-soft);
+ color: var(--accent);
+ border-color: var(--accent);
+}
+
+/* Batch tab */
+.erc8004-batch-drop {
+ height: 140px;
+ margin: var(--space-md) 0;
+}
+
+.erc8004-batch-drop-inner {
+ pointer-events: none;
+ text-align: center;
+}
+
+.erc8004-batch-drop-icon {
+ font-size: 32px;
+ margin-bottom: 8px;
+}
+
+.erc8004-batch-drop-title {
+ font-weight: 600;
+ color: rgba(255, 255, 255, 0.8);
+ margin-bottom: 4px;
+}
+
+.erc8004-batch-drop-sub {
+ font-size: 13px;
+ color: rgba(255, 255, 255, 0.45);
+}
+
+.erc8004-batch-preview {
+ margin-top: var(--space-md);
+}
+
+.erc8004-batch-list {
+ max-height: 380px;
+ overflow-y: auto;
+ display: flex;
+ flex-direction: column;
+ gap: 6px;
+}
+
+.erc8004-batch-row {
+ display: grid;
+ grid-template-columns: auto 1fr auto;
+ gap: 12px;
+ align-items: center;
+ padding: 8px 12px;
+ background: rgba(255, 255, 255, 0.03);
+ border: 1px solid rgba(255, 255, 255, 0.06);
+ border-radius: var(--radius-sm);
+}
+
+.erc8004-batch-row-num {
+ width: 24px;
+ height: 24px;
+ border-radius: 50%;
+ background: rgba(99, 102, 241, 0.2);
+ color: #a5b4fc;
+ font-size: 12px;
+ font-weight: 600;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+
+.erc8004-batch-row-title {
+ font-weight: 500;
+ color: #fff;
+}
+
+.erc8004-batch-row-status {
+ font-size: 12px;
+}
+
+.erc8004-batch-progress {
+ margin-top: var(--space-md);
+}
+
+.erc8004-progress-bar {
+ height: 6px;
+ background: rgba(255, 255, 255, 0.08);
+ border-radius: 3px;
+ overflow: hidden;
+ margin-bottom: 6px;
+}
+
+.erc8004-progress-fill {
+ height: 100%;
+ background: linear-gradient(90deg, #6366f1, #a78bfa);
+ transition: width 0.3s;
+ width: 0;
+}
+
+.erc8004-pre {
+ font-family: monospace;
+ font-size: 12px;
+ background: rgba(0, 0, 0, 0.3);
+ border: 1px solid rgba(255, 255, 255, 0.06);
+ border-radius: var(--radius-sm);
+ padding: 10px 12px;
+ color: rgba(255, 255, 255, 0.7);
+ white-space: pre-wrap;
+ overflow-x: auto;
+}
+
+/* Step 3 — avatar source picker */
+.erc8004-avatar-sources {
+ display: grid;
+ grid-template-columns: 1fr 1fr;
+ gap: var(--space-xs);
+ margin: var(--space-sm) 0 var(--space-md);
+}
+
+@media (max-width: 640px) {
+ .erc8004-avatar-sources {
+ grid-template-columns: 1fr;
+ }
+}
+
+.erc8004-avatar-source {
+ display: flex;
+ align-items: flex-start;
+ gap: var(--space-xs);
+ padding: var(--space-sm);
+ background: rgba(255, 255, 255, 0.02);
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: var(--radius-md);
+ cursor: pointer;
+ transition:
+ border-color 0.15s,
+ background 0.15s;
+}
+
+.erc8004-avatar-source:hover {
+ border-color: rgba(255, 255, 255, 0.18);
+}
+
+.erc8004-avatar-source--active {
+ border-color: var(--accent);
+ background: var(--accent-soft);
+}
+
+.erc8004-avatar-source--disabled {
+ opacity: 0.5;
+ cursor: not-allowed;
+}
+
+.erc8004-avatar-source input[type='radio'] {
+ margin-top: 3px;
+ accent-color: var(--accent);
+}
+
+.erc8004-avatar-source-title {
+ font-size: var(--text-sm);
+ font-weight: 500;
+ color: #fff;
+}
+
+.erc8004-avatar-source-hint {
+ margin-top: 2px;
+ font-size: var(--text-xs);
+ color: rgba(255, 255, 255, 0.45);
+}
+
+.erc8004-avatar-source-hint code {
+ font-family: var(--font-mono);
+ font-size: 0.92em;
+ color: rgba(255, 255, 255, 0.6);
+ word-break: break-all;
+}
+
+.erc8004-avatar-panel {
+ margin-bottom: var(--space-md);
+}
+
+.erc8004-avatar-summary {
+ display: flex;
+ align-items: flex-start;
+ gap: var(--space-sm);
+ padding: var(--space-sm) var(--space-md);
+ background: rgba(139, 92, 246, 0.08);
+ border: 1px solid rgba(139, 92, 246, 0.25);
+ border-radius: var(--radius-md);
+ font-size: var(--text-sm);
+ color: #fff;
+}
+
+.erc8004-avatar-summary code {
+ font-family: var(--font-mono);
+ font-size: 0.9em;
+ word-break: break-all;
+}
+
+.erc8004-avatar-summary-badge {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ width: 22px;
+ height: 22px;
+ border-radius: 50%;
+ background: var(--accent);
+ color: #fff;
+ font-size: var(--text-xs);
+ font-weight: 700;
+ flex-shrink: 0;
+}
+
+.erc8004-avatar-summary-badge--muted {
+ background: rgba(255, 255, 255, 0.12);
+ color: rgba(255, 255, 255, 0.55);
+}
+
+.erc8004-saved-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
+ gap: var(--space-xs);
+ padding: var(--space-sm);
+ background: rgba(255, 255, 255, 0.02);
+ border: 1px solid rgba(255, 255, 255, 0.06);
+ border-radius: var(--radius-md);
+ min-height: 120px;
+}
+
+.erc8004-saved-card {
+ display: flex;
+ flex-direction: column;
+ align-items: stretch;
+ gap: 4px;
+ padding: 4px;
+ background: rgba(255, 255, 255, 0.04);
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: var(--radius-sm);
+ cursor: pointer;
+ text-align: left;
+ color: inherit;
+ font-family: inherit;
+ transition:
+ border-color 0.15s,
+ background 0.15s;
+}
+
+.erc8004-saved-card:hover {
+ border-color: rgba(255, 255, 255, 0.25);
+}
+
+.erc8004-saved-card--active {
+ border-color: var(--accent);
+ background: var(--accent-soft);
+}
+
+.erc8004-saved-card img,
+.erc8004-saved-card-ph {
+ width: 100%;
+ aspect-ratio: 1 / 1;
+ object-fit: cover;
+ border-radius: var(--radius-sm);
+ background: rgba(255, 255, 255, 0.04);
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ font-size: var(--text-xs);
+ color: rgba(255, 255, 255, 0.4);
+ font-weight: 600;
+ letter-spacing: 0.08em;
+}
+
+.erc8004-saved-card-name {
+ font-size: var(--text-xs);
+ color: rgba(255, 255, 255, 0.8);
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ padding: 0 2px 2px;
+}
+
+/* Accordion */
+.erc8004-accordion {
+ margin-top: var(--space-md);
+ background: rgba(255, 255, 255, 0.03);
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: var(--radius-md);
+ overflow: hidden;
+}
+
+.erc8004-accordion-head {
+ cursor: pointer;
+ list-style: none;
+ padding: 12px 14px;
+ font-weight: 500;
+ color: rgba(255, 255, 255, 0.8);
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+}
+
+.erc8004-accordion-head::after {
+ content: '▼';
+ color: rgba(255, 255, 255, 0.4);
+ font-size: 10px;
+ transition: transform 0.2s;
+}
+
+.erc8004-accordion[open] .erc8004-accordion-head::after {
+ transform: rotate(180deg);
+}
+
+.erc8004-accordion-head::-webkit-details-marker {
+ display: none;
+}
+
+.erc8004-accordion-body {
+ padding: 0 14px 14px;
+ border-top: 1px solid rgba(255, 255, 255, 0.05);
+}
+
+/* Export options grid */
+.erc8004-export-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
+ gap: 8px;
+ margin-top: 12px;
+}
+
+.erc8004-export-opt {
+ padding: 14px;
+ background: rgba(255, 255, 255, 0.04);
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: var(--radius-sm);
+ color: #fff;
+ font-family: inherit;
+ cursor: pointer;
+ text-align: center;
+ transition: all 0.2s;
+}
+
+.erc8004-export-opt:hover {
+ background: rgba(99, 102, 241, 0.1);
+ border-color: rgba(139, 92, 246, 0.35);
+}
+
+.erc8004-export-emoji {
+ font-size: 22px;
+ margin-bottom: 6px;
+}
+
+.erc8004-export-title {
+ font-size: 13px;
+ font-weight: 600;
+ margin-bottom: 2px;
+}
+
+.erc8004-export-sub {
+ font-size: 11px;
+ color: rgba(255, 255, 255, 0.45);
+}
+
+/* QR modal */
+.erc8004-modal {
+ position: fixed;
+ inset: 0;
+ z-index: 600;
+ background: rgba(0, 0, 0, 0.7);
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ padding: var(--space-md);
+}
+
+.erc8004-modal-card {
+ background: #0d0d12;
+ border: 1px solid rgba(255, 255, 255, 0.12);
+ border-radius: var(--radius-lg);
+ padding: var(--space-lg);
+ max-width: 420px;
+ width: 100%;
+ text-align: center;
+}
+
+.erc8004-modal-head {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ margin-bottom: var(--space-sm);
+}
+
+.erc8004-checkbox {
+ display: flex;
+ align-items: center;
+ gap: var(--space-sm);
+ margin-bottom: var(--space-md);
+ font-size: var(--text-sm);
+ color: rgba(255, 255, 255, 0.75);
+ cursor: pointer;
+ user-select: none;
+}
+
+.erc8004-checkbox input[type='checkbox'] {
+ width: 16px;
+ height: 16px;
+ accent-color: #b15bff;
+ cursor: pointer;
+}
+
+.erc8004-qr-canvas-wrap {
+ display: flex;
+ justify-content: center;
+ background: #fff;
+ border-radius: var(--radius-sm);
+ padding: 12px;
+ margin: var(--space-sm) 0;
+}
+
+.erc8004-qr-canvas-wrap canvas {
+ max-width: 100%;
+ height: auto;
+ image-rendering: pixelated;
+}
+
+.erc8004-qr-url {
+ word-break: break-all;
+ margin: 0 0 var(--space-sm);
+}
+
+/* Embed snippet modal */
+.erc8004-embed-tabs {
+ display: flex;
+ gap: 2px;
+ margin: var(--space-md) 0 0;
+ border-bottom: 1px solid rgba(255, 255, 255, 0.1);
+ padding: 0;
+ flex-wrap: wrap;
+}
+.erc8004-embed-tabs .erc8004-tab {
+ padding: 8px 14px;
+ background: transparent;
+ border: 0;
+ border-bottom: 2px solid transparent;
+ color: rgba(255, 255, 255, 0.55);
+ font-size: var(--text-sm);
+ cursor: pointer;
+ transition:
+ color 0.15s,
+ border-color 0.15s;
+}
+.erc8004-embed-tabs .erc8004-tab:hover {
+ color: rgba(255, 255, 255, 0.9);
+}
+.erc8004-embed-tabs .erc8004-tab.is-active {
+ color: #fff;
+ border-bottom-color: var(--accent, #8b5cf6);
+}
+.erc8004-embed-panels {
+ padding: var(--space-md) 0;
+}
+.erc8004-embed-panels > [data-panel] {
+ display: flex;
+ flex-direction: column;
+ gap: var(--space-sm);
+}
+.erc8004-embed-panels > [data-panel][hidden] {
+ display: none;
+}
+.erc8004-code {
+ width: 100%;
+ box-sizing: border-box;
+ background: rgba(0, 0, 0, 0.4);
+ color: #e5e7eb;
+ border: 1px solid rgba(255, 255, 255, 0.1);
+ border-radius: var(--radius-sm);
+ padding: 10px 12px;
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
+ font-size: 12px;
+ line-height: 1.5;
+ resize: vertical;
+ user-select: all;
+ white-space: pre;
+ overflow-x: auto;
+}
+textarea.erc8004-code {
+ min-height: 48px;
+}
+.erc8004-embed-policy {
+ margin-top: var(--space-md);
+ padding-top: var(--space-md);
+ border-top: 1px solid rgba(255, 255, 255, 0.08);
+}
+.erc8004-embed-policy summary {
+ cursor: pointer;
+ color: rgba(255, 255, 255, 0.65);
+ font-size: var(--text-sm);
+ margin-bottom: var(--space-sm);
+}
+.erc8004-embed-policy summary:hover {
+ color: #fff;
+}
+
+/* Footer */
+.erc8004-footer {
+ margin-top: var(--space-lg);
+ padding: var(--space-lg) 0;
+ text-align: center;
+ color: rgba(255, 255, 255, 0.45);
+ font-size: var(--text-sm);
+}
+
+.erc8004-footer-links {
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: center;
+ gap: var(--space-md);
+ margin-bottom: var(--space-md);
+}
+
+.erc8004-footer-links a {
+ color: rgba(255, 255, 255, 0.6);
+ text-decoration: none;
+}
+
+.erc8004-footer-links a:hover {
+ color: #fff;
+}
+
+.erc8004-footer-cols {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
+ gap: var(--space-lg);
+ max-width: 800px;
+ margin: 0 auto var(--space-md);
+ padding: var(--space-md) 0;
+ border-top: 1px solid rgba(255, 255, 255, 0.08);
+ border-bottom: 1px solid rgba(255, 255, 255, 0.08);
+ text-align: left;
+}
+
+.erc8004-footer-col {
+ display: flex;
+ flex-direction: column;
+ gap: 4px;
+}
+
+.erc8004-footer-title {
+ font-weight: 600;
+ color: rgba(255, 255, 255, 0.8);
+ font-size: 11px;
+ text-transform: uppercase;
+ letter-spacing: 1px;
+ margin-bottom: 4px;
+}
+
+.erc8004-footer-col a {
+ color: rgba(255, 255, 255, 0.55);
+ text-decoration: none;
+ font-size: 13px;
+}
+
+.erc8004-footer-col a:hover {
+ color: #fff;
+}
+
+.erc8004-footer-credit {
+ margin: 0;
+ font-size: 12px;
+ color: rgba(255, 255, 255, 0.35);
+}
+
+.erc8004-footer-credit a {
+ color: rgba(255, 255, 255, 0.55);
+}
+
+/* ─────────────────────────────────────────────────────────────────────────
+ * /discover — ERC-8004 agent marketplace
+ * chat-plugin-grid × etherscan-NFT-detail hybrid. Uses site tokens.
+ * ───────────────────────────────────────────────────────────────────────── */
+
+.explore-main {
+ max-width: 1280px;
+ margin: 0 auto;
+ padding: var(--space-xl) var(--space-lg);
+}
+
+.explore-hero {
+ text-align: center;
+ padding: var(--space-2xl) 0 var(--space-xl);
+}
+.explore-hero h2 {
+ font-family: 'Space Grotesk', system-ui, sans-serif;
+ font-size: clamp(2rem, 4vw, 3.2rem);
+ font-weight: 700;
+ letter-spacing: -0.02em;
+ margin: var(--space-md) 0 var(--space-sm);
+ color: #fff;
+}
+.explore-sub {
+ max-width: 560px;
+ margin: 0 auto;
+ color: rgba(255, 255, 255, 0.6);
+ font-size: 15px;
+ line-height: 1.55;
+}
+.explore-hero-chips {
+ display: inline-flex;
+ flex-wrap: wrap;
+ gap: 10px;
+ justify-content: center;
+}
+.explore-hero-chip {
+ display: inline-flex;
+ align-items: center;
+ gap: 8px;
+ padding: 6px 14px;
+ background: rgba(255, 255, 255, 0.06);
+ border: 1px solid rgba(255, 255, 255, 0.2);
+ border-radius: 99px;
+ color: rgba(255, 255, 255, 0.85);
+ font-size: 12px;
+ font-weight: 600;
+ letter-spacing: 0.02em;
+ text-transform: uppercase;
+}
+.explore-hero-chip--link {
+ text-decoration: none;
+ background: transparent;
+ border-color: rgba(255, 255, 255, 0.18);
+ color: rgba(255, 255, 255, 0.78);
+ transition:
+ border-color 0.15s ease,
+ color 0.15s ease,
+ background 0.15s ease;
+}
+.explore-hero-chip--link:hover,
+.explore-hero-chip--link:focus-visible {
+ border-color: rgba(255, 255, 255, 0.4);
+ color: #fff;
+ background: rgba(255, 255, 255, 0.08);
+}
+.explore-hero-dot {
+ width: 6px;
+ height: 6px;
+ border-radius: 50%;
+ background: #3b82f6;
+ box-shadow: 0 0 10px #3b82f6;
+}
+
+.explore-stats {
+ display: flex;
+ justify-content: center;
+ gap: var(--space-xl);
+ margin-top: var(--space-xl);
+ flex-wrap: wrap;
+}
+.explore-stat {
+ text-align: center;
+}
+.explore-stat-value {
+ font-family: 'Space Grotesk', system-ui, sans-serif;
+ font-size: 28px;
+ font-weight: 700;
+ color: #fff;
+}
+.explore-stat-label {
+ font-size: 11px;
+ letter-spacing: 0.08em;
+ text-transform: uppercase;
+ color: rgba(255, 255, 255, 0.45);
+ margin-top: 2px;
+}
+
+.explore-controls {
+ display: flex;
+ gap: var(--space-md);
+ align-items: center;
+ flex-wrap: wrap;
+ margin: var(--space-xl) 0 var(--space-lg);
+ padding: var(--space-md);
+ background: rgba(255, 255, 255, 0.02);
+ border: 1px solid rgba(255, 255, 255, 0.06);
+ border-radius: var(--radius-md);
+}
+.explore-search {
+ flex: 1 1 260px;
+ position: relative;
+}
+.explore-search input {
+ width: 100%;
+ padding: 10px 36px 10px 14px;
+ background: rgba(0, 0, 0, 0.4);
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: var(--radius-sm);
+ color: #fff;
+ font: inherit;
+ font-size: 14px;
+}
+.explore-search input:focus {
+ outline: none;
+ border-color: rgba(255, 255, 255, 0.35);
+ background: rgba(0, 0, 0, 0.6);
+}
+/* Hide native WebKit clear; we render our own. */
+.explore-search input[type='search']::-webkit-search-cancel-button {
+ -webkit-appearance: none;
+ appearance: none;
+}
+.explore-search-clear {
+ position: absolute;
+ top: 50%;
+ right: 8px;
+ transform: translateY(-50%);
+ width: 22px;
+ height: 22px;
+ display: grid;
+ place-items: center;
+ border: 0;
+ border-radius: 50%;
+ background: rgba(255, 255, 255, 0.1);
+ color: rgba(255, 255, 255, 0.7);
+ font-size: 16px;
+ line-height: 1;
+ cursor: pointer;
+ transition:
+ background 0.15s ease,
+ color 0.15s ease;
+}
+.explore-search-clear:hover,
+.explore-search-clear:focus-visible {
+ background: rgba(255, 255, 255, 0.15);
+ color: #fff;
+ outline: none;
+}
+.explore-chips {
+ display: flex;
+ gap: 6px;
+}
+.explore-chip {
+ padding: 8px 14px;
+ background: transparent;
+ border: 1px solid rgba(255, 255, 255, 0.12);
+ border-radius: var(--radius-sm);
+ color: rgba(255, 255, 255, 0.6);
+ font: inherit;
+ font-size: 13px;
+ font-weight: 500;
+ cursor: pointer;
+ transition: all 0.15s;
+}
+.explore-chip:hover {
+ border-color: rgba(255, 255, 255, 0.25);
+ color: #fff;
+}
+.explore-chip.active {
+ background: rgba(255, 255, 255, 0.1);
+ border-color: rgba(255, 255, 255, 0.4);
+ color: #fff;
+}
+.explore-chain-select {
+ display: flex;
+ align-items: center;
+ gap: 8px;
+ color: rgba(255, 255, 255, 0.55);
+ font-size: 13px;
+}
+.explore-chain-select select {
+ padding: 8px 10px;
+ background: rgba(0, 0, 0, 0.4);
+ border: 1px solid rgba(255, 255, 255, 0.12);
+ border-radius: var(--radius-sm);
+ color: #fff;
+ font: inherit;
+ font-size: 13px;
+}
+
+.explore-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
+ gap: var(--space-md);
+}
+
+.explore-card {
+ background: rgba(255, 255, 255, 0.025);
+ border: 1px solid rgba(255, 255, 255, 0.06);
+ border-radius: var(--radius-md);
+ overflow: hidden;
+ transition:
+ border-color 0.15s,
+ transform 0.15s,
+ background 0.15s;
+ display: flex;
+ flex-direction: column;
+}
+.explore-card:hover {
+ border-color: rgba(255, 255, 255, 0.18);
+ transform: translateY(-2px);
+ background: rgba(255, 255, 255, 0.04);
+}
+.explore-card--3d:hover {
+ border-color: rgba(255, 255, 255, 0.3);
+}
+
+.explore-card-thumb {
+ position: relative;
+ display: block;
+ aspect-ratio: 1 / 1;
+ background: linear-gradient(135deg, #111 0%, #1a1a1f 100%);
+ overflow: hidden;
+ text-decoration: none;
+}
+.explore-card-thumb img {
+ width: 100%;
+ height: 100%;
+ object-fit: cover;
+ display: block;
+}
+.explore-card-ph {
+ display: grid;
+ place-items: center;
+ height: 100%;
+ font-size: 48px;
+ opacity: 0.4;
+}
+.explore-card-play {
+ position: absolute;
+ inset: 0;
+ display: grid;
+ place-items: center;
+ font-size: 34px;
+ color: #fff;
+ text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
+ opacity: 0;
+ background: rgba(0, 0, 0, 0.35);
+ transition: opacity 0.2s;
+}
+.explore-card--3d:hover .explore-card-play {
+ opacity: 1;
+}
+
+.explore-card-body {
+ padding: var(--space-md);
+ display: flex;
+ flex-direction: column;
+ gap: 8px;
+ flex: 1;
+}
+.explore-card-head {
+ display: flex;
+ align-items: baseline;
+ justify-content: space-between;
+ gap: 8px;
+}
+.explore-card-name {
+ margin: 0;
+ font-family: 'Space Grotesk', system-ui, sans-serif;
+ font-size: 15px;
+ font-weight: 600;
+ color: #fff;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}
+.explore-card-name-link {
+ color: inherit;
+ text-decoration: none;
+}
+.explore-card-name-link:hover {
+ text-decoration: underline;
+ text-underline-offset: 2px;
+}
+.explore-card-id {
+ font-size: 11px;
+ color: rgba(255, 255, 255, 0.35);
+ font-family:
+ ui-monospace,
+ SF Mono,
+ Menlo,
+ monospace;
+ flex-shrink: 0;
+}
+.explore-card-badges {
+ display: flex;
+ gap: 4px;
+ flex-wrap: wrap;
+}
+.explore-badge {
+ font-size: 10px;
+ padding: 2px 7px;
+ border-radius: 99px;
+ font-weight: 600;
+ letter-spacing: 0.02em;
+ text-transform: uppercase;
+ background: rgba(255, 255, 255, 0.06);
+ color: rgba(255, 255, 255, 0.7);
+ border: 1px solid rgba(255, 255, 255, 0.08);
+}
+.explore-badge--3d {
+ background: rgba(255, 255, 255, 0.08);
+ color: #fff;
+ border-color: rgba(255, 255, 255, 0.25);
+}
+.explore-badge--x402 {
+ background: rgba(255, 255, 255, 0.05);
+ color: rgba(255, 255, 255, 0.7);
+ border-color: rgba(255, 255, 255, 0.12);
+}
+.explore-badge--avatar {
+ background: rgba(139, 92, 246, 0.15);
+ color: #c4b5fd;
+ border-color: rgba(139, 92, 246, 0.4);
+}
+.explore-card-desc {
+ margin: 0;
+ font-size: 13px;
+ color: rgba(255, 255, 255, 0.55);
+ line-height: 1.45;
+ display: -webkit-box;
+ -webkit-line-clamp: 2;
+ -webkit-box-orient: vertical;
+ overflow: hidden;
+}
+.explore-card-svcs {
+ display: flex;
+ gap: 4px;
+ flex-wrap: wrap;
+}
+.explore-svc {
+ font-size: 10px;
+ padding: 2px 6px;
+ background: rgba(255, 255, 255, 0.04);
+ color: rgba(255, 255, 255, 0.55);
+ border-radius: 4px;
+ font-family:
+ ui-monospace,
+ SF Mono,
+ Menlo,
+ monospace;
+ text-transform: uppercase;
+ letter-spacing: 0.03em;
+}
+.explore-card-foot {
+ margin-top: auto;
+ padding-top: 8px;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ border-top: 1px solid rgba(255, 255, 255, 0.05);
+ gap: 8px;
+}
+.explore-card-owner {
+ font-size: 11px;
+ font-family:
+ ui-monospace,
+ SF Mono,
+ Menlo,
+ monospace;
+ color: rgba(255, 255, 255, 0.4);
+ text-decoration: none;
+}
+.explore-card-owner:hover {
+ color: #fff;
+}
+.explore-card-actions {
+ display: flex;
+ gap: 10px;
+}
+.explore-card-link {
+ font-size: 12px;
+ color: rgba(255, 255, 255, 0.7);
+ text-decoration: none;
+ font-weight: 500;
+}
+.explore-card-link:hover {
+ color: #fff;
+}
+
+.explore-status {
+ text-align: center;
+ padding: var(--space-lg) 0;
+ color: rgba(255, 255, 255, 0.4);
+ font-size: 13px;
+}
+.explore-empty {
+ padding: var(--space-xl);
+ border: 1px dashed rgba(255, 255, 255, 0.1);
+ border-radius: var(--radius-md);
+ color: rgba(255, 255, 255, 0.5);
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ gap: 14px;
+}
+.explore-clear-filters {
+ background: transparent;
+ border: 1px solid rgba(255, 255, 255, 0.18);
+ color: rgba(255, 255, 255, 0.78);
+ padding: 7px 16px;
+ border-radius: 99px;
+ font-size: 13px;
+ font-weight: 500;
+ cursor: pointer;
+ transition:
+ border-color 0.15s ease,
+ color 0.15s ease,
+ background 0.15s ease;
+}
+.explore-clear-filters:hover,
+.explore-clear-filters:focus-visible {
+ border-color: rgba(255, 255, 255, 0.4);
+ color: #fff;
+ background: rgba(255, 255, 255, 0.08);
+}
+.explore-error {
+ padding: var(--space-md);
+ background: rgba(239, 68, 68, 0.08);
+ border: 1px solid rgba(239, 68, 68, 0.3);
+ border-radius: var(--radius-sm);
+ color: #fca5a5;
+}
+
+.explore-load-more-wrap {
+ display: flex;
+ justify-content: center;
+ padding: var(--space-lg) 0;
+}
+.explore-load-more {
+ padding: 10px 24px;
+ background: rgba(255, 255, 255, 0.06);
+ border: 1px solid rgba(255, 255, 255, 0.2);
+ border-radius: var(--radius-sm);
+ color: rgba(255, 255, 255, 0.85);
+ font: inherit;
+ font-weight: 600;
+ font-size: 14px;
+ cursor: pointer;
+ transition: all 0.15s;
+}
+.explore-load-more:hover {
+ background: rgba(255, 255, 255, 0.12);
+ color: #fff;
+}
+
+/* ─────────────────────────────────────────────────────────────────────────
+ Embed modal — shared by /discover + Search tab
+ ─────────────────────────────────────────────────────────────────────── */
+.embed-modal {
+ position: fixed;
+ inset: 0;
+ z-index: 9999;
+ display: grid;
+ place-items: center;
+ padding: 16px;
+ animation: embed-modal-in 0.18s ease-out;
+}
+@keyframes embed-modal-in {
+ from {
+ opacity: 0;
+ }
+ to {
+ opacity: 1;
+ }
+}
+.embed-modal__backdrop {
+ position: absolute;
+ inset: 0;
+ background: rgba(0, 0, 0, 0.6);
+ backdrop-filter: blur(6px);
+}
+.embed-modal__panel {
+ position: relative;
+ width: min(640px, 100%);
+ max-height: calc(100vh - 32px);
+ background: #0f1115;
+ color: #e5e5e5;
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: 16px;
+ box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
+ display: flex;
+ flex-direction: column;
+ overflow: hidden;
+}
+.embed-modal__head {
+ display: flex;
+ align-items: flex-start;
+ justify-content: space-between;
+ gap: 12px;
+ padding: 20px 20px 12px;
+}
+.embed-modal__title {
+ margin: 0;
+ font-size: 18px;
+ font-weight: 600;
+ letter-spacing: -0.3px;
+}
+.embed-modal__sub {
+ margin: 4px 0 0;
+ font-size: 13px;
+ color: rgba(229, 229, 229, 0.55);
+}
+.embed-modal__close {
+ background: transparent;
+ border: 0;
+ color: rgba(229, 229, 229, 0.6);
+ font-size: 28px;
+ line-height: 1;
+ width: 32px;
+ height: 32px;
+ border-radius: 8px;
+ cursor: pointer;
+ transition: all 0.15s;
+}
+.embed-modal__close:hover {
+ background: rgba(255, 255, 255, 0.08);
+ color: #fff;
+}
+.embed-modal__tabs {
+ display: flex;
+ gap: 2px;
+ padding: 0 20px;
+ border-bottom: 1px solid rgba(255, 255, 255, 0.06);
+ overflow-x: auto;
+ scrollbar-width: none;
+}
+.embed-modal__tabs::-webkit-scrollbar {
+ display: none;
+}
+.embed-tab {
+ background: transparent;
+ border: 0;
+ color: rgba(229, 229, 229, 0.55);
+ font: inherit;
+ font-size: 13px;
+ font-weight: 500;
+ padding: 10px 14px;
+ cursor: pointer;
+ border-bottom: 2px solid transparent;
+ margin-bottom: -1px;
+ white-space: nowrap;
+ transition: all 0.15s;
+}
+.embed-tab:hover {
+ color: #e5e5e5;
+}
+.embed-tab.is-active {
+ color: #fff;
+ border-bottom-color: rgba(255, 255, 255, 0.7);
+}
+.embed-modal__body {
+ padding: 20px;
+ overflow-y: auto;
+ flex: 1;
+}
+.embed-pane {
+ display: none;
+}
+.embed-pane.is-active {
+ display: block;
+}
+.embed-pane__hint {
+ margin: 0 0 10px;
+ font-size: 13px;
+ color: rgba(229, 229, 229, 0.6);
+ line-height: 1.5;
+}
+.embed-snippet {
+ display: block;
+ width: 100%;
+ background: #05070a;
+ color: #d4d4d4;
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: 10px;
+ padding: 12px 14px;
+ font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
+ font-size: 12px;
+ line-height: 1.55;
+ resize: vertical;
+ box-sizing: border-box;
+ outline: none;
+}
+.embed-snippet:focus {
+ border-color: rgba(255, 255, 255, 0.3);
+ box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
+}
+.embed-snippet--input {
+ resize: none;
+}
+.embed-copy-btn {
+ margin-top: 10px;
+ background: rgba(255, 255, 255, 0.1);
+ border: 1px solid rgba(255, 255, 255, 0.2);
+ color: #fff;
+ border-radius: 8px;
+ padding: 8px 16px;
+ font: inherit;
+ font-size: 13px;
+ font-weight: 500;
+ cursor: pointer;
+ transition:
+ transform 0.1s,
+ box-shadow 0.15s,
+ background 0.15s;
+}
+.embed-copy-btn:hover {
+ background: rgba(255, 255, 255, 0.16);
+ box-shadow: 0 4px 14px rgba(255, 255, 255, 0.08);
+}
+.embed-copy-btn:active {
+ transform: translateY(1px);
+}
+.embed-modal__foot {
+ padding: 12px 20px;
+ border-top: 1px solid rgba(255, 255, 255, 0.06);
+ display: flex;
+ gap: 16px;
+ justify-content: flex-end;
+ flex-wrap: wrap;
+}
+.embed-foot-link {
+ font-size: 12px;
+ color: rgba(229, 229, 229, 0.55);
+ text-decoration: none;
+}
+.embed-foot-link:hover {
+ color: #fff;
+}
+.explore-card-link--ghost {
+ background: transparent;
+ border: 1px solid rgba(255, 255, 255, 0.12);
+ color: rgba(229, 229, 229, 0.75);
+ cursor: pointer;
+ font: inherit;
+ font-size: 12px;
+ padding: 4px 10px;
+ border-radius: 6px;
+}
+.explore-card-link--ghost:hover {
+ border-color: rgba(255, 255, 255, 0.3);
+ color: #fff;
+}
+@media (max-width: 560px) {
+ .embed-modal__panel {
+ max-height: calc(100vh - 16px);
+ }
+ .embed-modal__head,
+ .embed-modal__body,
+ .embed-modal__foot {
+ padding-left: 14px;
+ padding-right: 14px;
+ }
+ .embed-modal__tabs {
+ padding-left: 14px;
+ padding-right: 14px;
+ }
+}
+
+/* ── Pump.fun card on agent home ───────────────────────────────────────── */
+.agent-home-pumpfun {
+ margin: 14px 0 4px;
+}
+.pumpfun-card {
+ position: relative;
+ display: flex;
+ flex-direction: column;
+ gap: 10px;
+ padding: 14px 14px 12px;
+ border-radius: 14px;
+ background: linear-gradient(135deg, rgba(120, 80, 220, 0.18), rgba(0, 200, 180, 0.14));
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ color: var(--agent-home-fg, #fff);
+ box-shadow: 0 6px 20px -10px rgba(0, 0, 0, 0.4);
+}
+.pumpfun-card--graduated {
+ background: linear-gradient(135deg, rgba(0, 200, 130, 0.22), rgba(0, 120, 200, 0.18));
+}
+.pumpfun-card--cta {
+ background: linear-gradient(135deg, rgba(150, 100, 255, 0.18), rgba(255, 120, 180, 0.14));
+}
+.pumpfun-card--skeleton {
+ height: 96px;
+ background: rgba(255, 255, 255, 0.04);
+ animation: pumpfun-skeleton 1.4s infinite;
+}
+@keyframes pumpfun-skeleton {
+ 0%, 100% { opacity: 0.5; }
+ 50% { opacity: 0.8; }
+}
+.pumpfun-card-head {
+ display: flex;
+ align-items: center;
+ gap: 8px;
+}
+.pumpfun-card-icon {
+ font-size: 18px;
+ line-height: 1;
+}
+.pumpfun-card-title {
+ font-weight: 600;
+ font-size: 14px;
+ letter-spacing: 0.02em;
+ flex: 1;
+}
+.pumpfun-card-link {
+ color: inherit;
+ opacity: 0.6;
+ text-decoration: none;
+ font-size: 13px;
+ padding: 2px 6px;
+ border-radius: 6px;
+ transition: opacity .15s, background .15s;
+}
+.pumpfun-card-link:hover { opacity: 1; background: rgba(255,255,255,0.08); }
+.pumpfun-card-sub {
+ font-size: 12.5px;
+ opacity: 0.78;
+ margin: 0;
+ line-height: 1.4;
+}
+.pumpfun-stats {
+ display: grid;
+ grid-template-columns: 1fr 1fr;
+ gap: 10px;
+}
+.pumpfun-stat {
+ display: flex;
+ flex-direction: column;
+ gap: 2px;
+}
+.pumpfun-stat-label {
+ font-size: 10.5px;
+ text-transform: uppercase;
+ letter-spacing: 0.08em;
+ opacity: 0.55;
+}
+.pumpfun-stat-value {
+ font-size: 15px;
+ font-weight: 600;
+ font-variant-numeric: tabular-nums;
+}
+.pumpfun-progress {
+ height: 4px;
+ background: rgba(255, 255, 255, 0.08);
+ border-radius: 999px;
+ overflow: hidden;
+}
+.pumpfun-progress-bar {
+ height: 100%;
+ background: linear-gradient(90deg, #b27dff, #6ce0c8);
+ transition: width .6s ease;
+}
+.pumpfun-card-mint {
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
+ font-size: 11.5px;
+ opacity: 0.55;
+}
+.pumpfun-card-actions {
+ display: flex;
+ gap: 6px;
+ flex-wrap: wrap;
+}
+.pumpfun-btn {
+ flex: 1;
+ min-width: 64px;
+ padding: 7px 10px;
+ font-size: 12.5px;
+ font-weight: 500;
+ border-radius: 8px;
+ border: 1px solid rgba(255, 255, 255, 0.12);
+ background: rgba(255, 255, 255, 0.06);
+ color: inherit;
+ cursor: pointer;
+ transition: background .15s, transform .05s;
+}
+.pumpfun-btn:hover { background: rgba(255, 255, 255, 0.12); }
+.pumpfun-btn:active { transform: translateY(1px); }
+.pumpfun-btn:disabled { opacity: 0.5; cursor: not-allowed; }
+.pumpfun-btn--primary {
+ background: linear-gradient(135deg, #b27dff, #6ce0c8);
+ border: none;
+ color: #0e0a18;
+ font-weight: 600;
+}
+.pumpfun-btn--primary:hover { filter: brightness(1.06); background: linear-gradient(135deg, #b27dff, #6ce0c8); }
+.pumpfun-btn--ghost {
+ background: transparent;
+}
+.pumpfun-card-foot {
+ display: inline-block;
+ font-size: 11.5px;
+ opacity: 0.55;
+ color: inherit;
+ text-decoration: underline;
+ text-decoration-color: rgba(255,255,255,0.2);
+}
+.pumpfun-card-foot:hover { opacity: 0.85; }
+@media (prefers-reduced-motion: reduce) {
+ .pumpfun-progress-bar { transition: none; }
+ .pumpfun-card--skeleton { animation: none; }
+}
+
+/* ── Inline trade panel ─────────────────────────────────────────────────── */
+.pumpfun-card-mint {
+ background: none;
+ border: none;
+ padding: 0;
+ color: inherit;
+ font: inherit;
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
+ font-size: 11.5px;
+ opacity: 0.55;
+ cursor: pointer;
+ text-align: left;
+ transition: opacity .12s;
+}
+.pumpfun-card-mint:hover { opacity: 0.85; text-decoration: underline; }
+.pumpfun-btn--active {
+ background: rgba(178, 125, 255, 0.22);
+ border-color: rgba(178, 125, 255, 0.5);
+}
+.pumpfun-trade {
+ display: flex;
+ flex-direction: column;
+ gap: 8px;
+ padding: 10px;
+ margin-top: 4px;
+ border-radius: 10px;
+ background: rgba(0, 0, 0, 0.18);
+ border: 1px solid rgba(255, 255, 255, 0.05);
+ animation: pumpfun-trade-in 180ms ease-out;
+}
+@keyframes pumpfun-trade-in {
+ from { opacity: 0; transform: translateY(-4px); }
+ to { opacity: 1; transform: translateY(0); }
+}
+.pumpfun-trade-label {
+ display: grid;
+ grid-template-columns: auto 1fr auto;
+ gap: 8px;
+ align-items: center;
+ font-size: 11px;
+ text-transform: uppercase;
+ letter-spacing: 0.06em;
+ opacity: 0.7;
+}
+.pumpfun-signer {
+ display: flex;
+ gap: 2px;
+ padding: 2px;
+ border-radius: 8px;
+ background: rgba(0,0,0,0.25);
+ border: 1px solid rgba(255,255,255,0.05);
+}
+.pumpfun-signer-tab {
+ flex: 1;
+ background: transparent;
+ border: none;
+ color: inherit;
+ font: inherit;
+ font-size: 11px;
+ padding: 6px 8px;
+ border-radius: 6px;
+ cursor: pointer;
+ opacity: 0.6;
+ transition: background .15s, opacity .15s;
+}
+.pumpfun-signer-tab:hover { opacity: 0.9; }
+.pumpfun-signer-tab.is-active {
+ opacity: 1;
+ background: linear-gradient(135deg, rgba(178,125,255,0.25), rgba(108,224,200,0.18));
+ box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
+}
+.pumpfun-trade-input {
+ background: rgba(255,255,255,0.06);
+ border: 1px solid rgba(255,255,255,0.1);
+ border-radius: 8px;
+ padding: 7px 10px;
+ color: inherit;
+ font: inherit;
+ font-size: 14px;
+ font-variant-numeric: tabular-nums;
+ width: 100%;
+ min-width: 0;
+ outline: none;
+ text-transform: none;
+ letter-spacing: 0;
+}
+.pumpfun-trade-input:focus {
+ border-color: rgba(178, 125, 255, 0.55);
+ box-shadow: 0 0 0 3px rgba(178, 125, 255, 0.15);
+}
+.pumpfun-trade-unit {
+ font-size: 11.5px;
+ opacity: 0.65;
+ text-transform: none;
+ letter-spacing: 0;
+}
+.pumpfun-quote {
+ min-height: 18px;
+ font-size: 12px;
+ font-variant-numeric: tabular-nums;
+}
+.pumpfun-quote-status { opacity: 0.5; }
+.pumpfun-quote-out { color: #6ce0c8; }
+.pumpfun-quote-err { color: #ff9aa2; }
+.pumpfun-trade-actions {
+ display: flex;
+ gap: 6px;
+ justify-content: flex-end;
+}
+.pumpfun-trade-actions .pumpfun-btn { flex: 0 0 auto; min-width: 84px; }
+
+/* ── Toasts ─────────────────────────────────────────────────────────────── */
+.pumpfun-toasts {
+ position: absolute;
+ right: 14px;
+ bottom: 14px;
+ display: flex;
+ flex-direction: column;
+ gap: 6px;
+ z-index: 30;
+ pointer-events: none;
+}
+.agent-home-pumpfun { position: relative; }
+.pumpfun-toast {
+ pointer-events: auto;
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ padding: 8px 12px;
+ border-radius: 10px;
+ background: rgba(20, 18, 30, 0.95);
+ border: 1px solid rgba(255,255,255,0.08);
+ color: #fff;
+ font-size: 12.5px;
+ box-shadow: 0 10px 24px -10px rgba(0,0,0,0.6);
+ transform: translateY(8px);
+ opacity: 0;
+ transition: opacity .22s ease, transform .22s ease;
+ max-width: 320px;
+}
+.pumpfun-toast.is-in { opacity: 1; transform: translateY(0); }
+.pumpfun-toast--success { border-color: rgba(108, 224, 200, 0.35); }
+.pumpfun-toast--error { border-color: rgba(255, 154, 162, 0.45); color: #ffd7da; }
+.pumpfun-toast-link {
+ color: inherit;
+ opacity: 0.75;
+ text-decoration: none;
+ padding: 2px 6px;
+ border-radius: 6px;
+}
+.pumpfun-toast-link:hover { opacity: 1; background: rgba(255,255,255,0.08); }
+
+/* ── Mobile ─────────────────────────────────────────────────────────────── */
+@media (max-width: 380px) {
+ .pumpfun-card-actions { flex-wrap: wrap; }
+ .pumpfun-card-actions .pumpfun-btn { flex: 1 0 calc(50% - 3px); }
+ .pumpfun-card-actions .pumpfun-btn--ghost { flex: 1 0 100%; }
+ .pumpfun-stats { grid-template-columns: 1fr; gap: 6px; }
+ .pumpfun-trade-label { grid-template-columns: 1fr; }
+ .pumpfun-toasts {
+ left: 14px;
+ right: 14px;
+ align-items: stretch;
+ }
+ .pumpfun-toast { max-width: none; }
+}
+
+/* ── Vanity launch row ─────────────────────────────────────────────────── */
+.pumpfun-vanity-row {
+ display: flex;
+ align-items: center;
+ gap: 8px;
+ font-size: 12px;
+ margin: 8px 0;
+ flex-wrap: wrap;
+}
+.pumpfun-vanity-row input[type="text"],
+.pumpfun-vanity-row input[type="number"] { width: 80px; }
+.pumpfun-vanity-input {
+ padding: 4px 8px;
+ border-radius: 6px;
+ border: 1px solid rgba(255,255,255,0.15);
+ background: rgba(0,0,0,0.25);
+ color: inherit;
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
+}
+.pumpfun-vanity-progress {
+ font-size: 11px;
+ opacity: 0.7;
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
+ margin-bottom: 6px;
+}
+
+/* ── Auto-Trader (bot) panel ───────────────────────────────────────────── */
+.pumpfun-bot { gap: 8px; }
+.pumpfun-bot-modes {
+ display: flex;
+ gap: 6px;
+ flex-wrap: wrap;
+ margin-bottom: 6px;
+}
+.pumpfun-bot-modes .pumpfun-btn { flex: 1 1 calc(50% - 3px); min-width: 0; font-size: 11.5px; }
+.pumpfun-bot-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
+ gap: 6px;
+}
+.pumpfun-bot-grid .pumpfun-trade-label { margin: 0; }
diff --git a/style.css b/style.css
deleted file mode 100644
index df66e9bd1..000000000
--- a/style.css
+++ /dev/null
@@ -1,7517 +0,0 @@
-/******************************************************************************
- * Golden Ratio Design System
- * φ = 1.618 — all spacing and type follow a phi-based scale
- */
-
-[hidden] {
- display: none !important;
-}
-
-.save-toast {
- position: fixed;
- bottom: 20px;
- left: 50%;
- transform: translateX(-50%);
- background: #14141c;
- color: #eee;
- border: 1px solid #2a2a36;
- border-radius: 10px;
- padding: 10px 16px;
- font-size: 14px;
- box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
- z-index: 9999;
-}
-.save-toast a {
- color: #9a8cff;
-}
-
-:root {
- /* Phi ratio */
- --phi: 1.618;
-
- /* Spacing scale (each step × φ) */
- --space-3xs: 0.146rem; /* ~2.3px */
- --space-2xs: 0.236rem; /* ~3.8px */
- --space-xs: 0.382rem; /* ~6.1px */
- --space-sm: 0.618rem; /* ~9.9px */
- --space-md: 1rem; /* 16px */
- --space-lg: 1.618rem; /* ~25.9px */
- --space-xl: 2.618rem; /* ~41.9px */
- --space-2xl: 4.236rem; /* ~67.8px */
-
- /* Typography scale (minor third adjusted to phi) */
- --text-xs: 0.618rem; /* ~9.9px */
- --text-sm: 0.764rem; /* ~12.2px */
- --text-base: 1rem; /* 16px */
- --text-lg: 1.236rem; /* ~19.8px */
- --text-xl: 1.618rem; /* ~25.9px */
- --text-2xl: 2.618rem; /* ~41.9px */
-
- /* Line heights — golden ratio */
- --leading-tight: 1.382;
- --leading-normal: 1.618;
- --leading-loose: 2.058;
-
- /* Radii — phi-based */
- --radius-sm: 3px; /* ~5/φ */
- --radius-md: 5px; /* base */
- --radius-lg: 8px; /* ~5×φ */
-
- /* Header height */
- --header-h: 3.5rem;
-
- /* Font stacks */
- --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
- --font-body: 'Inter', system-ui, sans-serif;
- --font-mono: 'SF Mono', 'Fira Code', ui-monospace, monospace;
-
- /* Accent */
- --accent: #8b5cf6;
- --accent-soft: rgba(139, 92, 246, 0.18);
-}
-
-html,
-body {
- margin: 0;
- padding: 0;
- font-family: 'Inter', system-ui, -apple-system, sans-serif;
- background: #000;
- height: 100%;
- overflow: hidden;
- color: #e0e0e0;
- font-size: var(--text-base);
- line-height: var(--leading-normal);
-}
-
-* {
- box-sizing: border-box;
-}
-
-body {
- display: flex;
- flex-direction: column;
-}
-
-.wrap {
- display: flex;
- flex-direction: column;
- width: 100vw;
- flex-grow: 1;
- position: relative;
-}
-
-.viewer-container {
- flex-grow: 1;
- position: relative;
- min-height: 0;
-}
-
-.dropzone {
- display: flex;
- align-items: center;
- justify-content: center;
- gap: var(--space-md);
- padding: var(--space-sm) var(--space-lg);
- padding-bottom: max(var(--space-sm), env(safe-area-inset-bottom, 0));
- padding-left: max(var(--space-lg), env(safe-area-inset-left, 0));
- padding-right: max(var(--space-lg), env(safe-area-inset-right, 0));
- background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.82));
- backdrop-filter: blur(20px);
- -webkit-backdrop-filter: blur(20px);
- border-top: 1px solid rgba(255, 255, 255, 0.07);
- box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.03) inset;
- z-index: 1;
-}
-
-/* Drag-over highlight — lifts when a file is hovering anywhere on the page */
-body.is-dragover .dropzone {
- background: linear-gradient(180deg, rgba(139, 92, 246, 0.16), rgba(139, 92, 246, 0.08));
- border-top-color: rgba(139, 92, 246, 0.5);
-}
-
-.placeholder {
- display: none;
-}
-
-.placeholder:hover {
- border-color: rgba(255, 255, 255, 0.3);
- background: rgba(255, 255, 255, 0.05);
-}
-
-.placeholder p {
- font-size: var(--text-lg);
- color: rgba(255, 255, 255, 0.4);
- font-weight: 300;
- letter-spacing: 0.02em;
-}
-
-.viewer {
- width: 100%;
- height: 100%;
- position: absolute;
- top: 0;
- left: 0;
- z-index: 0;
-}
-
-.model-info {
- position: absolute;
- bottom: 20px;
- left: 20px;
- z-index: 5;
- pointer-events: none;
- opacity: 0;
- transform: translateY(8px);
- animation: fadeInUp 0.4s ease 0.3s forwards;
-}
-
-.annotation-label {
- position: absolute;
- z-index: 4;
- pointer-events: none;
- transform: translate(-50%, -100%) translateY(-8px);
- opacity: 0;
- animation: fadeInUp 0.3s ease 0.5s forwards;
-}
-
-@keyframes fadeInUp {
- to {
- opacity: 1;
- transform: translateY(0);
- }
-}
-
-.axes {
- width: 100px;
- height: 100px;
- margin: 20px;
- padding: 0px;
- position: absolute;
- left: 0px;
- bottom: 0px;
- z-index: 10;
- pointer-events: none;
-}
-
-/******************************************************************************
- * Header
- */
-
-header {
- display: flex;
- flex-shrink: 0;
- background: rgba(0, 0, 0, 0.8);
- backdrop-filter: blur(20px);
- -webkit-backdrop-filter: blur(20px);
- padding: 0 var(--space-lg);
- padding-top: env(safe-area-inset-top, 0);
- padding-left: max(var(--space-lg), env(safe-area-inset-left, 0));
- padding-right: max(var(--space-lg), env(safe-area-inset-right, 0));
- height: calc(var(--header-h) + env(safe-area-inset-top, 0));
- line-height: var(--header-h);
- align-items: center;
- overflow-x: auto;
- overflow-y: hidden;
- white-space: nowrap;
- border-bottom: 1px solid rgba(255, 255, 255, 0.06);
- z-index: 1;
-
- -webkit-app-region: drag;
-}
-
-header h1 {
- color: #fff;
- font-family: var(--font-display);
- font-size: var(--text-lg);
- font-weight: 600;
- line-height: var(--header-h);
- margin: 0;
- letter-spacing: -0.01em;
- display: flex;
- align-items: center;
- gap: var(--space-xs);
-}
-
-header h1 > a {
- color: inherit;
- font-size: inherit;
- text-decoration: inherit;
- display: flex;
- align-items: center;
- gap: 0.5rem;
-}
-
-header h1 .wordmark-dot {
- width: 8px;
- height: 8px;
- border-radius: 50%;
- background: linear-gradient(135deg, #a78bfa 0%, #6366f1 100%);
- box-shadow: 0 0 10px rgba(139, 92, 246, 0.6);
- display: inline-block;
-}
-
-header h1 .wordmark-logo {
- width: 28px;
- height: 28px;
- display: inline-block;
- vertical-align: middle;
-}
-
-.features-nav {
- margin-left: auto;
- display: flex;
- gap: var(--space-md);
- -webkit-app-region: no-drag;
- align-items: center;
-}
-
-.features-nav a {
- color: rgba(255, 255, 255, 0.5);
- text-decoration: none;
- font-size: var(--text-sm);
- font-weight: 500;
- letter-spacing: -0.005em;
- padding: 0.35rem 0.7rem;
- border-radius: var(--radius-md);
- transition:
- color 0.18s ease,
- background 0.18s ease;
- position: relative;
-}
-
-.features-nav a:hover {
- color: #fff;
- background: rgba(255, 255, 255, 0.04);
-}
-
-.features-nav a.active {
- color: #fff;
- background: rgba(255, 255, 255, 0.06);
-}
-
-.features-nav a.active::after {
- content: '';
- position: absolute;
- left: 50%;
- bottom: -2px;
- transform: translateX(-50%);
- width: 18px;
- height: 2px;
- border-radius: 2px;
- background: linear-gradient(90deg, #a78bfa, #6366f1);
-}
-
-.nav-sign-in {
- border: 1px solid rgba(255, 255, 255, 0.12);
- border-radius: var(--radius-md);
-}
-
-.nav-user {
- display: inline-flex;
- align-items: center;
- gap: 6px;
- padding: 4px 10px;
- border-radius: 20px;
- border: 1px solid rgba(255, 255, 255, 0.1);
- background: rgba(255, 255, 255, 0.04);
- font-size: var(--text-sm);
- color: rgba(255, 255, 255, 0.55);
- max-width: 140px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
-}
-
-.nav-user::before {
- content: '';
- width: 6px;
- height: 6px;
- border-radius: 50%;
- background: #4ade80;
- flex-shrink: 0;
-}
-
-.nav-user:hover {
- color: rgba(255, 255, 255, 0.85) !important;
- border-color: rgba(255, 255, 255, 0.2);
- background: rgba(255, 255, 255, 0.07);
-}
-
-.nav-sign-in.signed-in {
- display: none;
-}
-
-.nav-user-wrap {
- position: relative;
-}
-
-.nav-user {
- cursor: pointer;
- background: none;
- border: 1px solid rgba(255, 255, 255, 0.1);
-}
-
-.nav-user[aria-expanded='true'] {
- border-color: rgba(255, 255, 255, 0.22);
- background: rgba(255, 255, 255, 0.07);
- color: rgba(255, 255, 255, 0.85);
-}
-
-.nav-user-menu {
- position: absolute;
- right: 0;
- top: calc(100% + 6px);
- min-width: 160px;
- background: #0e0e16;
- border: 1px solid rgba(255, 255, 255, 0.1);
- border-radius: 10px;
- padding: 4px;
- box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
- z-index: 200;
- display: flex;
- flex-direction: column;
-}
-
-.nav-user-menu-item {
- display: block;
- padding: 8px 12px;
- font-size: 13px;
- color: rgba(255, 255, 255, 0.7);
- text-decoration: none;
- border-radius: 7px;
- background: none;
- border: 0;
- cursor: pointer;
- text-align: left;
- font-family: inherit;
- width: 100%;
- transition: background 0.12s, color 0.12s;
-}
-
-.nav-user-menu-item:hover {
- background: rgba(255, 255, 255, 0.07);
- color: #fff;
-}
-
-.nav-user-menu-signout {
- color: rgba(255, 100, 100, 0.8);
-}
-
-.nav-user-menu-signout:hover {
- background: rgba(204, 64, 64, 0.12);
- color: #ffb3b3;
-}
-
-.nav-user-menu-sep {
- height: 1px;
- background: rgba(255, 255, 255, 0.07);
- margin: 4px 0;
-}
-
-.gui-wrap {
- position: absolute;
- top: 0;
- right: 0;
- bottom: 0;
- pointer-events: none;
- transition:
- opacity 0.2s ease,
- transform 0.2s ease;
-}
-
-.gui-wrap--hidden {
- opacity: 0;
- transform: translateX(12px);
- pointer-events: none !important;
- visibility: hidden;
-}
-
-.gui-wrap > .main {
- pointer-events: all;
- max-height: 100%;
- overflow: auto;
-}
-
-/* Controls toggle button (top-right) */
-.gui-toggle {
- position: absolute;
- top: var(--space-sm);
- right: var(--space-sm);
- display: flex;
- align-items: center;
- gap: 6px;
- padding: 6px 10px;
- background: rgba(18, 18, 26, 0.85);
- border: 1px solid rgba(255, 255, 255, 0.08);
- border-radius: var(--radius-md);
- color: rgba(255, 255, 255, 0.6);
- font-family: var(--font-body);
- font-size: var(--text-xs);
- font-weight: 500;
- letter-spacing: 0.02em;
- cursor: pointer;
- backdrop-filter: blur(12px);
- -webkit-backdrop-filter: blur(12px);
- transition:
- color 0.18s,
- background 0.18s,
- border-color 0.18s;
- z-index: 30;
-}
-
-.gui-toggle:hover {
- color: #fff;
- background: rgba(28, 28, 38, 0.9);
- border-color: rgba(255, 255, 255, 0.18);
-}
-
-.gui-toggle--active {
- color: #fff;
- background: var(--accent-soft);
- border-color: rgba(139, 92, 246, 0.45);
-}
-
-.gui-toggle__label {
- font-size: 11px;
-}
-
-/* AR button — sits below the Controls toggle, same corner */
-.ar-btn {
- position: absolute;
- top: calc(var(--space-sm) + 38px);
- right: var(--space-sm);
- display: flex;
- align-items: center;
- gap: 6px;
- padding: 6px 10px;
- background: rgba(18, 18, 26, 0.85);
- border: 1px solid rgba(255, 255, 255, 0.08);
- border-radius: var(--radius-md);
- color: rgba(255, 255, 255, 0.6);
- font-family: var(--font-body);
- font-size: var(--text-xs);
- font-weight: 500;
- letter-spacing: 0.02em;
- cursor: pointer;
- backdrop-filter: blur(12px);
- -webkit-backdrop-filter: blur(12px);
- transition:
- color 0.18s,
- background 0.18s,
- border-color 0.18s;
- z-index: 30;
-}
-
-.ar-btn:hover {
- color: #fff;
- background: rgba(28, 28, 38, 0.9);
- border-color: rgba(255, 255, 255, 0.18);
-}
-
-.ar-btn--active {
- color: #fff;
- background: var(--accent-soft);
- border-color: rgba(139, 92, 246, 0.45);
-}
-
-.ar-btn__label {
- font-size: 11px;
-}
-
-.dg li.gui-stats:not(.folder) {
- height: auto;
-}
-
-/******************************************************************************
- * dat.gui dark theme overrides
- */
-
-.dg.ac {
- z-index: 10 !important;
-}
-
-.dg.main .close-button.close-bottom {
- background-color: #111 !important;
- color: rgba(255, 255, 255, 0.5) !important;
- border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
-}
-
-.dg.main .close-button.close-bottom:hover {
- background-color: #1a1a1a !important;
- color: rgba(255, 255, 255, 0.8) !important;
-}
-
-.dg.a {
- margin-right: 0 !important;
-}
-
-.dg li:not(.folder) {
- background: #0a0a0a !important;
- border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
-}
-
-.dg li.folder {
- border-bottom: 0 !important;
-}
-
-.dg li.title {
- background: #111 !important;
- border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
-}
-
-.dg .cr.function .property-name {
- width: 100% !important;
-}
-
-.dg .c select {
- background: #1a1a1a !important;
- color: #ccc !important;
- border: 1px solid rgba(255, 255, 255, 0.1) !important;
- border-radius: var(--radius-sm) !important;
-}
-
-.dg .c input[type='text'] {
- background: #1a1a1a !important;
- color: #ccc !important;
- border: 1px solid rgba(255, 255, 255, 0.1) !important;
- border-radius: var(--radius-sm) !important;
-}
-
-@media screen and (max-width: 700px) {
- header {
- padding: 0 1em;
- height: 3rem;
- line-height: 3rem;
- }
-
- header h1 {
- font-size: 1em;
- line-height: 3rem;
- }
-
- .placeholder {
- display: none;
- }
-
- .placeholder p {
- font-size: 1rem;
- }
-
- .upload-btn label {
- padding: var(--space-xs) var(--space-md);
- font-size: var(--text-sm);
- }
-
- .dropzone {
- flex-direction: column;
- gap: var(--space-xs);
- padding: var(--space-xs) var(--space-md);
- }
-
- footer {
- bottom: auto;
- top: calc(3rem + 0.5em);
- left: 0.5em;
- right: auto;
- }
-
- .gui-wrap {
- max-width: 65vw;
- }
-
- .axes {
- width: 60px;
- height: 60px;
- margin: 10px;
- bottom: 0;
- }
-
- .model-info {
- bottom: 10px;
- left: 10px;
- transform: scale(0.85) translateY(8px);
- transform-origin: bottom left;
- }
-
- @keyframes fadeInUp {
- to {
- opacity: 1;
- transform: scale(0.85) translateY(0);
- }
- }
-
- .annotation-label {
- transform: scale(0.8) translate(-50%, -100%) translateY(-6px);
- transform-origin: center bottom;
- }
-
- .report {
- padding: var(--space-md);
- max-width: 100vw;
- }
-
- .report-table th,
- .report-table td {
- padding: var(--space-2xs) var(--space-xs);
- font-size: var(--text-sm);
- }
-
- .report-toggle {
- left: 10px;
- height: 36px;
- }
-
- .report-toggle-text {
- line-height: 36px;
- font-size: 0.75em;
- }
-
- .report-toggle-close {
- width: 36px;
- height: 36px;
- line-height: 36px;
- }
-}
-
-/******************************************************************************
- * Footer
- */
-
-footer {
- position: absolute;
- bottom: calc(var(--space-sm) + env(safe-area-inset-bottom, 0));
- right: calc(var(--space-md) + env(safe-area-inset-right, 0));
- display: flex;
- align-items: center;
- gap: var(--space-sm);
- font-family: var(--font-mono);
- font-size: var(--text-sm);
- color: #fff;
- z-index: 2;
- pointer-events: none;
-}
-
-footer a {
- pointer-events: all;
- color: rgba(255, 255, 255, 0.55);
- text-decoration: none;
- transition: color 0.18s ease;
- display: inline-flex;
- align-items: center;
-}
-
-footer a:hover {
- color: #fff;
-}
-
-footer a svg {
- vertical-align: middle;
-}
-
-footer .separator {
- color: rgba(255, 255, 255, 0.2);
- font-size: 10px;
-}
-
-/******************************************************************************
- * Upload Button
- *
- * https://tympanus.net/Tutorials/CustomFileInputs/
- */
-
-.upload-btn {
- margin: 0;
-}
-
-.upload-btn input {
- width: 0.1px;
- height: 0.1px;
- opacity: 0;
- overflow: hidden;
- position: absolute;
- z-index: -1;
-}
-
-.upload-btn label {
- display: inline-flex;
- align-items: center;
- gap: var(--space-xs);
- color: rgba(255, 255, 255, 0.88);
- background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
- border: 1px solid rgba(255, 255, 255, 0.14);
- border-radius: var(--radius-md);
- transition:
- background 0.18s ease,
- border-color 0.18s ease,
- color 0.18s ease,
- transform 0.18s ease;
- font-size: var(--text-sm);
- font-weight: 500;
- text-overflow: ellipsis;
- white-space: nowrap;
- cursor: pointer;
- overflow: hidden;
- padding: var(--space-sm) var(--space-md);
- letter-spacing: -0.005em;
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
-}
-
-.upload-btn label:hover {
- background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
- color: #fff;
- border-color: rgba(255, 255, 255, 0.28);
-}
-
-.upload-btn label:active {
- transform: translateY(1px);
- border-color: rgba(255, 255, 255, 0.35);
-}
-
-.drop-hint {
- color: rgba(255, 255, 255, 0.42);
- font-size: var(--text-sm);
- font-weight: 400;
- letter-spacing: -0.005em;
-}
-
-@media screen and (max-width: 700px) {
- .drop-hint {
- display: none;
- }
-}
-
-.upload-btn svg {
- width: 1em;
- height: 1em;
- fill: currentColor;
- flex-shrink: 0;
- opacity: 0.9;
-}
-
-/******************************************************************************
- * Validation report
- */
-
-.report {
- padding: var(--space-lg);
- max-width: 860px;
-}
-
-.report h1 {
- margin-top: 0;
-}
-
-.report p,
-.report ul {
- line-height: var(--leading-normal);
-}
-
-.report-table {
- text-align: left;
- border-collapse: collapse;
- width: 100%;
-}
-
-.report-table thead tr {
- background: #1a1a1a;
- color: rgba(255, 255, 255, 0.9);
-}
-
-.report-table th,
-.report-table td {
- padding: var(--space-xs) var(--space-md);
- color: rgba(255, 255, 255, 0.7);
-}
-
-.report-table tr:nth-child(2n) {
- background: rgba(255, 255, 255, 0.04);
-}
-
-.report-table tr:nth-child(odd) {
- background: rgba(255, 255, 255, 0.02);
-}
-
-.report-table-wrap {
- overflow-x: auto;
- margin-bottom: var(--space-md);
-}
-
-.report-section-heading {
- font-size: 1.05rem;
- margin: var(--space-md) 0 var(--space-xs);
- padding-left: var(--space-md);
- border-left: 4px solid #888;
-}
-
-.report-count {
- font-weight: normal;
- opacity: 0.7;
- font-size: 0.9em;
-}
-
-.report-banner {
- display: flex;
- align-items: center;
- gap: var(--space-md);
- padding: var(--space-md);
- border-radius: 6px;
- margin-bottom: var(--space-md);
- font-size: 0.95rem;
-}
-
-.report-banner-clean {
- background: rgba(139, 195, 74, 0.12);
- border: 1px solid rgba(139, 195, 74, 0.35);
- color: #8bc34a;
-}
-
-.report-banner-issues {
- background: rgba(244, 67, 54, 0.08);
- border: 1px solid rgba(244, 67, 54, 0.25);
- color: rgba(255, 255, 255, 0.85);
-}
-
-.report-banner-icon {
- font-size: 1.5rem;
- font-weight: bold;
-}
-
-.report-head {
- display: flex;
- align-items: baseline;
- justify-content: space-between;
- gap: var(--space-md);
- flex-wrap: wrap;
-}
-
-.report-download {
- display: inline-block;
- padding: 6px 12px;
- font-size: 0.85rem;
- border: 1px solid rgba(255, 255, 255, 0.18);
- border-radius: 6px;
- color: rgba(255, 255, 255, 0.85);
- text-decoration: none;
- transition: background-color 120ms ease;
-}
-
-.report-download:hover {
- background: rgba(255, 255, 255, 0.08);
-}
-
-/******************************************************************************
- * CSS Spinner
- *
- * http://tobiasahlin.com/spinkit/
- */
-
-.spinner {
- width: 36px;
- height: 36px;
- position: absolute;
- left: 50%;
- top: 50%;
- margin: -18px;
- border-radius: 50%;
- border: 2px solid rgba(255, 255, 255, 0.08);
- border-top-color: rgba(167, 139, 250, 0.9);
- border-right-color: rgba(167, 139, 250, 0.4);
- box-shadow: 0 0 24px rgba(139, 92, 246, 0.25);
- -webkit-animation: sk-spin 0.9s linear infinite;
- animation: sk-spin 0.9s linear infinite;
-}
-
-@-webkit-keyframes sk-spin {
- to {
- -webkit-transform: rotate(360deg);
- }
-}
-
-@keyframes sk-spin {
- to {
- transform: rotate(360deg);
- }
-}
-
-/******************************************************************************
- * Screenshot flash feedback
- */
-
-.screenshot-flash {
- position: absolute;
- inset: 0;
- background: #fff;
- opacity: 0;
- pointer-events: none;
- z-index: 100;
- animation: screenshot-flash 0.3s ease-out forwards;
-}
-
-@keyframes screenshot-flash {
- 0% {
- opacity: 0.5;
- }
- 100% {
- opacity: 0;
- }
-}
-
-/******************************************************************************
- * Golden Ratio Dev Grid Overlay — toggle with Alt+G
- *
- * Horizontal: splits viewport at 38.2% / 61.8%
- * Vertical: splits viewport at 38.2% / 61.8%
- * Plus rule-of-thirds (33.3% / 66.6%) for comparison
- */
-
-.phi-grid {
- display: none;
- position: fixed;
- inset: 0;
- z-index: 9999;
- pointer-events: none;
- mix-blend-mode: difference;
-}
-
-.phi-grid.visible {
- display: block;
-}
-
-/* Vertical golden split */
-.phi-grid::before,
-.phi-grid::after {
- content: '';
- position: absolute;
- top: 0;
- bottom: 0;
- width: 1px;
-}
-
-.phi-grid::before {
- left: 38.2%;
- background: rgba(255, 215, 0, 0.5);
-}
-
-.phi-grid::after {
- left: 61.8%;
- background: rgba(255, 215, 0, 0.5);
-}
-
-/* Horizontal golden split + thirds via inner spans */
-.phi-grid-h::before,
-.phi-grid-h::after {
- content: '';
- position: absolute;
- left: 0;
- right: 0;
- height: 1px;
-}
-
-.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(52, 211, 153, 0.1);
-}
-
-.price-paid {
- color: #fde047;
- background-color: rgba(253, 224, 71, 0.1);
-}
-
-/* Price Badge Styles from Prompt 1 */
-.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(52, 211, 153, 0.1);
-}
-
-.price-paid {
- color: #fde047;
- background-color: rgba(253, 224, 71, 0.1);
-}
-
-.phi-grid-h::before {
- top: 38.2%;
- background: rgba(255, 215, 0, 0.5);
-}
-
-.phi-grid-h::after {
- top: 61.8%;
- background: rgba(255, 215, 0, 0.5);
-}
-
-/* Rule-of-thirds lines (dimmer) */
-.phi-grid-thirds::before,
-.phi-grid-thirds::after {
- content: '';
- position: absolute;
- top: 0;
- bottom: 0;
- width: 1px;
- background: rgba(0, 191, 255, 0.25);
-}
-
-.phi-grid-thirds::before {
- left: 33.333%;
-}
-.phi-grid-thirds::after {
- left: 66.666%;
-}
-
-.phi-grid-thirds-h::before,
-.phi-grid-thirds-h::after {
- content: '';
- position: absolute;
- left: 0;
- right: 0;
- height: 1px;
- background: rgba(0, 191, 255, 0.25);
-}
-
-.phi-grid-thirds-h::before {
- top: 33.333%;
-}
-.phi-grid-thirds-h::after {
- top: 66.666%;
-}
-
-.phi-grid-label {
- position: fixed;
- top: var(--space-xs);
- left: 50%;
- transform: translateX(-50%);
- font-family: 'SF Mono', 'Fira Code', monospace;
- font-size: var(--text-xs);
- color: rgba(255, 215, 0, 0.7);
- background: rgba(0, 0, 0, 0.7);
- padding: var(--space-3xs) var(--space-xs);
- border-radius: var(--radius-sm);
- z-index: 10000;
- pointer-events: none;
- display: none;
-}
-
-.phi-grid.visible ~ .phi-grid-label {
- display: block;
-}
-
-/******************************************************************************
- * Nich Agent Panel
- */
-
-.nich-toggle {
- position: fixed;
- bottom: var(--space-lg);
- left: var(--space-lg);
- width: 48px;
- height: 48px;
- border-radius: 50%;
- border: 1px solid rgba(255, 255, 255, 0.1);
- background: rgba(10, 10, 10, 0.9);
- backdrop-filter: blur(12px);
- -webkit-backdrop-filter: blur(12px);
- color: rgba(255, 255, 255, 0.6);
- cursor: pointer;
- display: flex;
- align-items: center;
- justify-content: center;
- transition: all 0.25s ease;
- z-index: 50;
-}
-
-.nich-toggle:hover {
- background: rgba(255, 255, 255, 0.08);
- color: #fff;
- border-color: rgba(255, 255, 255, 0.25);
- transform: scale(1.05);
-}
-
-.nich-toggle.active {
- color: #fff;
- border-color: rgba(255, 255, 255, 0.3);
-}
-
-.nich-panel {
- position: fixed;
- bottom: 5em;
- left: var(--space-lg);
- width: 320px;
- max-height: 480px;
- display: flex;
- flex-direction: column;
- background: rgba(10, 10, 10, 0.95);
- backdrop-filter: blur(20px);
- -webkit-backdrop-filter: blur(20px);
- border: 1px solid rgba(255, 255, 255, 0.08);
- border-radius: var(--radius-lg);
- overflow: hidden;
- z-index: 50;
- 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;
- justify-content: space-between;
- padding: var(--space-sm) var(--space-md);
- border-bottom: 1px solid rgba(255, 255, 255, 0.06);
-}
-
-.nich-title {
- font-size: var(--text-sm);
- font-weight: 500;
- color: rgba(255, 255, 255, 0.8);
- letter-spacing: 0.03em;
-}
-
-.nich-close {
- background: none;
- border: none;
- color: rgba(255, 255, 255, 0.4);
- font-size: var(--text-lg);
- cursor: pointer;
- padding: 0;
- line-height: 1;
- transition: color 0.2s ease;
-}
-
-.nich-close:hover {
- color: #fff;
-}
-
-.nich-messages {
- flex: 1;
- overflow-y: auto;
- padding: var(--space-sm);
- display: flex;
- flex-direction: column;
- gap: var(--space-xs);
- min-height: 200px;
- max-height: 300px;
-}
-
-.nich-message {
- font-size: var(--text-sm);
- line-height: var(--leading-normal);
- padding: var(--space-xs) var(--space-sm);
- border-radius: var(--radius-lg);
- max-width: 85%;
- word-wrap: break-word;
-}
-
-.nich-message.agent {
- background: rgba(255, 255, 255, 0.06);
- color: rgba(255, 255, 255, 0.7);
- align-self: flex-start;
- border-bottom-left-radius: var(--radius-sm);
-}
-
-.nich-message.user {
- background: rgba(255, 255, 255, 0.12);
- color: #fff;
- align-self: flex-end;
- border-bottom-right-radius: var(--radius-sm);
-}
-
-.nich-controls {
- display: flex;
- gap: var(--space-xs);
- padding: var(--space-sm);
- border-top: 1px solid rgba(255, 255, 255, 0.06);
-}
-
-.nich-input {
- flex: 1;
- background: rgba(255, 255, 255, 0.05);
- border: 1px solid rgba(255, 255, 255, 0.08);
- border-radius: var(--radius-lg);
- padding: var(--space-xs) var(--space-sm);
- color: #fff;
- font-family: 'Inter', sans-serif;
- font-size: var(--text-sm);
- outline: none;
- transition: border-color 0.2s ease;
-}
-
-.nich-input::placeholder {
- color: rgba(255, 255, 255, 0.25);
-}
-
-.nich-input:focus {
- border-color: rgba(255, 255, 255, 0.2);
-}
-
-.nich-send {
- background: rgba(255, 255, 255, 0.06);
- border: 1px solid rgba(255, 255, 255, 0.08);
- border-radius: var(--radius-lg);
- color: rgba(255, 255, 255, 0.5);
- cursor: pointer;
- padding: var(--space-xs) var(--space-sm);
- display: flex;
- align-items: center;
- transition: all 0.2s ease;
-}
-
-.nich-send:hover {
- background: rgba(255, 255, 255, 0.1);
- color: #fff;
-}
-
-.nich-mic-row {
- display: flex;
- justify-content: center;
- padding: 0 var(--space-sm) var(--space-sm);
-}
-
-.nich-mic {
- background: rgba(255, 255, 255, 0.04);
- border: 1px solid rgba(255, 255, 255, 0.06);
- border-radius: 50%;
- width: 32px;
- height: 32px;
- display: flex;
- align-items: center;
- justify-content: center;
- color: rgba(255, 255, 255, 0.35);
- cursor: pointer;
- transition: all 0.2s ease;
-}
-
-.nich-mic:hover {
- background: rgba(255, 255, 255, 0.08);
- color: rgba(255, 255, 255, 0.7);
-}
-
-.nich-mic.active {
- background: rgba(255, 80, 80, 0.15);
- border-color: rgba(255, 80, 80, 0.3);
- color: #ff5050;
-}
-
-@media screen and (max-width: 700px) {
- .nich-toggle {
- bottom: var(--space-md);
- left: var(--space-md);
- width: 42px;
- height: 42px;
- }
-
- .nich-panel {
- bottom: 4em;
- left: var(--space-sm);
- right: var(--space-sm);
- width: auto;
- max-height: 60vh;
- }
-}
-
-/******************************************************************************
- * ERC-8004 Agent Registration
- */
-
-.erc8004-register {
- position: absolute;
- inset: 0;
- z-index: 20;
- display: flex;
- align-items: center;
- justify-content: center;
- background: rgba(0, 0, 0, 0.85);
- backdrop-filter: blur(24px);
- -webkit-backdrop-filter: blur(24px);
- overflow-y: auto;
- padding: var(--space-lg);
-}
-
-/* Page mode — /deploy renders inside app.html shell, not as a modal overlay. */
-body[data-viewer-mode='deploy'],
-body[data-viewer-mode='explore'] {
- overflow-y: auto;
-}
-
-/* Embed/kiosk — strip every owner-mode surface. The /app page is loaded inside
- * a host iframe (e.g. /pumpfun) and only the 3D stage should show. */
-body[data-viewer-mode='embed'] #agent-presence-sidebar,
-body[data-viewer-mode='embed'] .dropzone,
-body[data-viewer-mode='embed'] .auth-gate,
-body[data-viewer-mode='embed'] .agent-onboarding,
-body[data-viewer-mode='embed'] .dg.main {
- display: none !important;
-}
-
-/* Hide viewer-only action buttons in non-viewer modes — they're meaningless on
- * /deploy and /explore where the viewer is hidden. */
-body[data-viewer-mode='deploy'] .save-to-account-btn,
-body[data-viewer-mode='deploy'] .make-widget-btn,
-body[data-viewer-mode='deploy'] .deploy-onchain-btn,
-body[data-viewer-mode='deploy'] .view-public-profile-btn,
-body[data-viewer-mode='explore'] .save-to-account-btn,
-body[data-viewer-mode='explore'] .make-widget-btn,
-body[data-viewer-mode='explore'] .deploy-onchain-btn,
-body[data-viewer-mode='explore'] .view-public-profile-btn {
- display: none !important;
-}
-
-body[data-viewer-mode='deploy'] {
- background: #000;
- color: #fff;
-}
-
-html:has(body.explore-page),
-html:has(body.deploy-page) {
- height: auto;
- overflow: auto;
-}
-
-body.deploy-page,
-body.explore-page {
- display: block;
- width: 100%;
- min-height: calc(100vh - var(--header-h));
- height: auto;
- overflow: visible;
- padding: var(--space-md) var(--space-lg) var(--space-2xl);
-}
-
-body.deploy-page {
- background:
- radial-gradient(900px 500px at 80% -10%, rgba(99, 102, 241, 0.12), transparent 60%),
- radial-gradient(700px 400px at 10% 5%, rgba(139, 92, 246, 0.10), transparent 60%),
- #070710;
-}
-
-/* Logo image in header */
-.header-logo {
- width: 28px;
- height: 28px;
- display: inline-block;
- vertical-align: middle;
- margin-right: 0.5rem;
- flex-shrink: 0;
- object-fit: contain;
-}
-
-/* /a/<chainId>/<agentId> — overlay card that tells the viewer whose agent they're looking at. */
-.onchain-card {
- position: fixed;
- left: var(--space-md);
- bottom: var(--space-md);
- z-index: 50;
- max-width: 320px;
- padding: var(--space-sm) var(--space-md);
- background: rgba(8, 8, 20, 0.85);
- backdrop-filter: blur(10px);
- -webkit-backdrop-filter: blur(10px);
- border: 1px solid rgba(255, 255, 255, 0.08);
- border-radius: var(--radius-md);
- color: #fff;
- font-size: var(--text-sm);
- line-height: 1.35;
- pointer-events: none;
-}
-.onchain-card__name {
- font-weight: 600;
-}
-.onchain-card__sub {
- margin-top: 2px;
- color: rgba(255, 255, 255, 0.55);
- font-size: var(--text-xs);
-}
-.onchain-card__desc {
- margin-top: var(--space-xs);
- color: rgba(255, 255, 255, 0.8);
- font-size: var(--text-xs);
- max-height: 4.2em;
- overflow: hidden;
- display: -webkit-box;
- -webkit-line-clamp: 3;
- -webkit-box-orient: vertical;
-}
-.onchain-card__err {
- color: #ff7a7a;
-}
-
-/* /discover — cross-chain on-chain avatar browser.
- *
- * Search ANY input (address / ENS / tx / agent ID / agent:// URI) and see every
- * matching ERC-8004 registered 3D avatar as a gallery, grouped by chain.
- * Implementation: public/discover/discover.js → src/erc8004/resolve-avatar.js.
- */
-.explore-shell {
- max-width: 1200px;
- margin: 0 auto;
-}
-
-/* Hero */
-.explore-hero {
- padding: var(--space-xl) 0 var(--space-lg);
-}
-.explore-hero-inner {
- max-width: 780px;
- margin: 0 auto;
- text-align: center;
-}
-.explore-eyebrow {
- display: inline-block;
- padding: var(--space-3xs) var(--space-sm);
- margin-bottom: var(--space-sm);
- background: rgba(99, 102, 241, 0.12);
- border: 1px solid rgba(99, 102, 241, 0.3);
- border-radius: 999px;
- font-size: var(--text-xs);
- letter-spacing: 0.08em;
- text-transform: uppercase;
- color: rgba(165, 180, 252, 0.95);
-}
-.explore-title {
- margin: 0 0 var(--space-sm);
- font-size: clamp(1.8rem, 4vw, 2.6rem);
- line-height: 1.1;
- letter-spacing: -0.02em;
- color: #fff;
-}
-.explore-subtitle {
- margin: 0 auto var(--space-lg);
- max-width: 560px;
- color: rgba(255, 255, 255, 0.65);
- line-height: 1.5;
-}
-
-/* Search form */
-.explore-form {
- display: flex;
- flex-direction: column;
- align-items: center;
- gap: var(--space-xs);
- margin: 0 auto;
- max-width: 680px;
-}
-.explore-input-wrap {
- display: flex;
- width: 100%;
- background: rgba(255, 255, 255, 0.04);
- border: 1px solid rgba(255, 255, 255, 0.12);
- border-radius: 14px;
- overflow: hidden;
- transition:
- border-color 0.15s ease,
- box-shadow 0.15s ease;
-}
-.explore-input-wrap:focus-within {
- border-color: rgba(123, 97, 255, 0.65);
- box-shadow: 0 0 0 3px rgba(123, 97, 255, 0.18);
-}
-.explore-input {
- flex: 1;
- min-width: 0;
- padding: var(--space-md) var(--space-lg);
- background: transparent;
- border: none;
- outline: none;
- color: #fff;
- font-family: inherit;
- font-size: var(--text-base);
-}
-.explore-input::placeholder {
- color: rgba(255, 255, 255, 0.35);
-}
-.explore-input-meta {
- font-size: var(--text-xs);
- color: rgba(255, 255, 255, 0.45);
- min-height: 1em;
-}
-.explore-inputmeta--ok {
- color: rgba(134, 239, 172, 0.9);
-}
-.explore-inputmeta--warn {
- color: rgba(253, 186, 116, 0.9);
-}
-
-/* Examples / recent searches */
-.explore-examples {
- display: flex;
- flex-wrap: wrap;
- justify-content: center;
- align-items: center;
- gap: var(--space-xs);
- margin-top: var(--space-md);
-}
-.explore-examples-lbl {
- color: rgba(255, 255, 255, 0.4);
- font-size: var(--text-xs);
- margin-right: var(--space-2xs);
-}
-.explore-example {
- padding: var(--space-3xs) var(--space-sm);
- background: rgba(255, 255, 255, 0.05);
- border: 1px solid rgba(255, 255, 255, 0.1);
- border-radius: 999px;
- color: rgba(255, 255, 255, 0.75);
- font-family: inherit;
- font-size: var(--text-xs);
- cursor: pointer;
- transition:
- background 0.15s ease,
- border-color 0.15s ease;
-}
-.explore-example:hover {
- background: rgba(255, 255, 255, 0.1);
- border-color: rgba(255, 255, 255, 0.2);
- color: #fff;
-}
-
-/* Controls bar (chain chips + progress) */
-.explore-controls {
- position: sticky;
- top: var(--header-h, 0);
- z-index: 3;
- padding: var(--space-sm) 0;
- margin: 0 0 var(--space-md);
- background: rgba(8, 8, 20, 0.82);
- backdrop-filter: blur(10px);
- -webkit-backdrop-filter: blur(10px);
- border-bottom: 1px solid rgba(255, 255, 255, 0.06);
-}
-.explore-controls-row {
- display: flex;
- align-items: center;
- flex-wrap: wrap;
- gap: var(--space-sm);
-}
-.explore-controls-lbl {
- color: rgba(255, 255, 255, 0.45);
- font-size: var(--text-xs);
- text-transform: uppercase;
- letter-spacing: 0.08em;
-}
-.explore-controls-spacer {
- flex: 1;
-}
-.explore-chain-chips {
- display: flex;
- flex-wrap: wrap;
- align-items: center;
- gap: var(--space-2xs);
-}
-.explore-chain-group {
- display: flex;
- flex-wrap: wrap;
- gap: var(--space-2xs);
-}
-.explore-chain-group--testnet {
- opacity: 0.85;
-}
-.explore-chain-divider {
- color: rgba(255, 255, 255, 0.25);
- padding: 0 var(--space-2xs);
-}
-.explore-chain-chip {
- display: inline-flex;
- align-items: center;
- gap: var(--space-2xs);
- padding: 3px var(--space-sm);
- background: rgba(255, 255, 255, 0.04);
- border: 1px solid rgba(255, 255, 255, 0.1);
- border-radius: 999px;
- color: rgba(255, 255, 255, 0.55);
- font-family: inherit;
- font-size: var(--text-xs);
- cursor: pointer;
- transition:
- background 0.15s ease,
- border-color 0.15s ease,
- color 0.15s ease;
-}
-.explore-chain-chip:hover {
- color: #fff;
- border-color: rgba(255, 255, 255, 0.2);
-}
-.explore-chain-chip--active {
- background: rgba(123, 97, 255, 0.18);
- border-color: rgba(123, 97, 255, 0.5);
- color: #fff;
-}
-.explore-chain-chip--testnet .explore-chain-dot {
- background: rgba(253, 186, 116, 0.8);
-}
-.explore-chain-dot {
- width: 6px;
- height: 6px;
- border-radius: 50%;
- background: rgba(134, 239, 172, 0.8);
-}
-.explore-chain-chip--active.explore-chain-chip .explore-chain-dot {
- box-shadow: 0 0 6px currentColor;
-}
-.explore-chain-presets-btn {
- padding: 3px var(--space-sm);
- background: transparent;
- border: 1px dashed rgba(255, 255, 255, 0.15);
- border-radius: 999px;
- color: rgba(255, 255, 255, 0.5);
- font-family: inherit;
- font-size: var(--text-xs);
- cursor: pointer;
- transition: all 0.15s ease;
-}
-.explore-chain-presets-btn:hover {
- color: #fff;
- border-color: rgba(255, 255, 255, 0.3);
-}
-
-/* Progress HUD */
-.explore-progress {
- display: inline-flex;
- align-items: center;
- gap: var(--space-xs);
- font-size: var(--text-xs);
- color: rgba(255, 255, 255, 0.6);
-}
-.explore-progress-spinner {
- width: 12px;
- height: 12px;
- border: 2px solid rgba(255, 255, 255, 0.15);
- border-top-color: rgba(165, 180, 252, 0.95);
- border-radius: 50%;
- animation: explore-spin 0.7s linear infinite;
-}
-@keyframes explore-spin {
- to {
- transform: rotate(360deg);
- }
-}
-
-/* Results area */
-.explore-results {
- padding-bottom: var(--space-2xl);
-}
-.explore-summary {
- margin: var(--space-md) 0;
-}
-.explore-summary-head {
- display: flex;
- align-items: baseline;
- flex-wrap: wrap;
- gap: var(--space-sm);
-}
-.explore-summary-title {
- margin: 0;
- font-size: var(--text-lg);
- color: #fff;
- font-weight: 500;
-}
-.explore-summary-stat {
- color: rgba(255, 255, 255, 0.5);
- font-size: var(--text-xs);
-}
-.explore-summary-sub {
- margin-top: var(--space-2xs);
- color: rgba(255, 255, 255, 0.55);
- font-size: var(--text-xs);
- word-break: break-all;
-}
-.explore-summary-sub code {
- background: rgba(255, 255, 255, 0.05);
- padding: 2px 6px;
- border-radius: 4px;
-}
-
-/* Filter chips */
-.explore-filterbar {
- display: flex;
- flex-wrap: wrap;
- gap: var(--space-2xs);
- margin: var(--space-sm) 0 var(--space-md);
-}
-.explore-filter {
- padding: 4px var(--space-md);
- background: rgba(255, 255, 255, 0.04);
- border: 1px solid rgba(255, 255, 255, 0.1);
- border-radius: 999px;
- color: rgba(255, 255, 255, 0.65);
- font-family: inherit;
- font-size: var(--text-xs);
- cursor: pointer;
- transition:
- background 0.15s ease,
- border-color 0.15s ease;
-}
-.explore-filter:hover {
- background: rgba(255, 255, 255, 0.08);
- color: #fff;
-}
-.explore-filter--active {
- background: rgba(123, 97, 255, 0.2);
- border-color: rgba(123, 97, 255, 0.55);
- color: #fff;
-}
-
-/* Grid + cards */
-.explore-grid {
- display: grid;
- grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
- gap: var(--space-md);
-}
-.explore-card {
- display: flex;
- flex-direction: column;
- background: rgba(255, 255, 255, 0.03);
- border: 1px solid rgba(255, 255, 255, 0.08);
- border-radius: 14px;
- overflow: hidden;
- transition:
- transform 0.15s ease,
- border-color 0.15s ease,
- box-shadow 0.15s ease;
-}
-.explore-card:hover {
- transform: translateY(-2px);
- border-color: rgba(123, 97, 255, 0.4);
- box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
-}
-.explore-card-thumb {
- position: relative;
- aspect-ratio: 1 / 1;
- background: linear-gradient(135deg, #131226 0%, #1a1a2e 100%);
- display: flex;
- align-items: center;
- justify-content: center;
- overflow: hidden;
- text-decoration: none;
-}
-.explore-card-thumb img {
- width: 100%;
- height: 100%;
- object-fit: cover;
-}
-.explore-card-ph {
- font-size: 2.4rem;
- opacity: 0.35;
-}
-.explore-chain-badge {
- position: absolute;
- top: var(--space-2xs);
- left: var(--space-2xs);
- padding: 2px var(--space-xs);
- background: rgba(8, 8, 20, 0.75);
- border: 1px solid rgba(255, 255, 255, 0.15);
- border-radius: 999px;
- color: #fff;
- font-size: 10px;
- font-weight: 600;
- letter-spacing: 0.04em;
- backdrop-filter: blur(6px);
- -webkit-backdrop-filter: blur(6px);
-}
-.explore-chain-badge--testnet {
- color: rgba(253, 186, 116, 0.95);
- border-color: rgba(253, 186, 116, 0.35);
-}
-.explore-card-3dpill {
- position: absolute;
- right: var(--space-2xs);
- bottom: var(--space-2xs);
- padding: 3px var(--space-sm);
- background: rgba(123, 97, 255, 0.9);
- border-radius: 999px;
- color: #fff;
- font-size: 10px;
- font-weight: 600;
- letter-spacing: 0.04em;
-}
-.explore-card-body {
- display: flex;
- flex-direction: column;
- gap: var(--space-2xs);
- padding: var(--space-sm) var(--space-md) var(--space-md);
-}
-.explore-card-head {
- display: flex;
- align-items: baseline;
- justify-content: space-between;
- gap: var(--space-xs);
-}
-.explore-card-title {
- color: #fff;
- font-weight: 600;
- text-decoration: none;
- line-height: 1.25;
- overflow: hidden;
- display: -webkit-box;
- -webkit-line-clamp: 1;
- -webkit-box-orient: vertical;
-}
-.explore-card-title:hover {
- text-decoration: underline;
-}
-.explore-card-id {
- color: rgba(255, 255, 255, 0.4);
- font-size: var(--text-xs);
- font-variant-numeric: tabular-nums;
-}
-.explore-card-desc {
- margin: 0;
- color: rgba(255, 255, 255, 0.65);
- font-size: var(--text-xs);
- line-height: 1.45;
- display: -webkit-box;
- -webkit-line-clamp: 3;
- -webkit-box-orient: vertical;
- overflow: hidden;
-}
-.explore-card-tags {
- display: flex;
- flex-wrap: wrap;
- gap: 4px;
- min-height: 16px;
-}
-.explore-tag {
- padding: 1px var(--space-xs);
- background: rgba(255, 255, 255, 0.06);
- border: 1px solid rgba(255, 255, 255, 0.1);
- border-radius: 4px;
- color: rgba(255, 255, 255, 0.7);
- font-size: 10px;
- font-weight: 600;
- letter-spacing: 0.04em;
-}
-.explore-tag--3d {
- color: rgba(165, 243, 252, 0.95);
- border-color: rgba(165, 243, 252, 0.35);
- background: rgba(14, 165, 233, 0.08);
-}
-.explore-tag--x402 {
- color: rgba(253, 230, 138, 0.95);
- border-color: rgba(253, 230, 138, 0.35);
- background: rgba(245, 158, 11, 0.08);
-}
-.explore-owner {
- color: rgba(255, 255, 255, 0.5);
- font-size: var(--text-xs);
- text-decoration: none;
- font-family: ui-monospace, Menlo, monospace;
-}
-.explore-owner:hover {
- color: #fff;
- text-decoration: underline;
-}
-.explore-card-err {
- color: rgba(248, 113, 113, 0.85);
- font-size: var(--text-xs);
-}
-.explore-card-actions {
- display: flex;
- flex-wrap: wrap;
- gap: var(--space-2xs);
- margin-top: var(--space-xs);
-}
-
-/* Buttons (explore-scoped, not the erc8004 ones) */
-.explore-btn {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- gap: var(--space-2xs);
- padding: var(--space-sm) var(--space-lg);
- background: rgba(255, 255, 255, 0.08);
- border: 1px solid rgba(255, 255, 255, 0.12);
- border-radius: 10px;
- color: #fff;
- font-family: inherit;
- font-size: var(--text-sm);
- font-weight: 500;
- cursor: pointer;
- text-decoration: none;
- transition:
- background 0.15s ease,
- border-color 0.15s ease,
- transform 0.1s ease;
-}
-.explore-btn:hover {
- background: rgba(255, 255, 255, 0.14);
- border-color: rgba(255, 255, 255, 0.2);
-}
-.explore-btn:active {
- transform: scale(0.98);
-}
-.explore-btn--sm {
- padding: 4px var(--space-sm);
- font-size: var(--text-xs);
- border-radius: 8px;
-}
-.explore-btn--primary {
- background: linear-gradient(135deg, #7b61ff 0%, #5e42ff 100%);
- border-color: rgba(123, 97, 255, 0.7);
- color: #fff;
- box-shadow: 0 4px 14px rgba(123, 97, 255, 0.35);
-}
-.explore-btn--primary:hover {
- background: linear-gradient(135deg, #8a73ff 0%, #6f56ff 100%);
- border-color: rgba(158, 138, 255, 0.9);
-}
-.explore-btn--ghost {
- background: transparent;
- border-color: rgba(255, 255, 255, 0.1);
- color: rgba(255, 255, 255, 0.65);
-}
-.explore-btn--ghost:hover {
- color: #fff;
- background: rgba(255, 255, 255, 0.05);
-}
-
-/* Skeleton cards (loading state) */
-.explore-card--skel {
- background: rgba(255, 255, 255, 0.02);
- pointer-events: none;
-}
-.explore-skel-img {
- aspect-ratio: 1 / 1;
- background: linear-gradient(
- 110deg,
- rgba(255, 255, 255, 0.03) 30%,
- rgba(255, 255, 255, 0.07) 50%,
- rgba(255, 255, 255, 0.03) 70%
- );
- background-size: 200% 100%;
- animation: explore-shimmer 1.4s ease-in-out infinite;
-}
-.explore-skel-line {
- height: 10px;
- margin: var(--space-sm) var(--space-md);
- background: rgba(255, 255, 255, 0.05);
- border-radius: 4px;
-}
-.explore-skel-line--short {
- width: 60%;
-}
-@keyframes explore-shimmer {
- 0% {
- background-position: 200% 0;
- }
- 100% {
- background-position: -200% 0;
- }
-}
-
-/* Featured (no-query) header */
-.explore-featured-head {
- margin: var(--space-md) 0 var(--space-md);
-}
-.explore-featured-head h2 {
- margin: 0 0 var(--space-2xs);
- font-size: var(--text-lg);
- color: #fff;
- font-weight: 500;
-}
-
-/* Empty + error states */
-.explore-empty,
-.explore-error {
- padding: var(--space-xl);
- text-align: center;
- background: rgba(255, 255, 255, 0.02);
- border: 1px dashed rgba(255, 255, 255, 0.1);
- border-radius: 14px;
- color: rgba(255, 255, 255, 0.7);
-}
-.explore-empty h3,
-.explore-error strong {
- color: #fff;
- font-weight: 600;
- display: block;
- margin: 0 0 var(--space-xs);
-}
-.explore-empty p,
-.explore-error p {
- margin: 0 auto var(--space-md);
- max-width: 520px;
- font-size: var(--text-sm);
- color: rgba(255, 255, 255, 0.6);
-}
-.explore-empty-art {
- font-size: 3rem;
- margin-bottom: var(--space-sm);
-}
-.explore-empty-ideas {
- display: flex;
- flex-wrap: wrap;
- justify-content: center;
- gap: var(--space-xs);
-}
-.explore-muted {
- color: rgba(255, 255, 255, 0.5);
- font-size: var(--text-xs);
-}
-
-@media screen and (max-width: 640px) {
- .explore-title {
- font-size: 2rem;
- }
- .explore-controls {
- position: static;
- }
- .explore-grid {
- grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
- gap: var(--space-sm);
- }
- .explore-card-thumb .explore-chain-badge {
- font-size: 9px;
- }
-}
-
-/* Create-tab Step 0 — quickstart mode picker above the 4-step wizard. */
-.erc8004-quickstart {
- margin-bottom: var(--space-md);
- padding: var(--space-sm) var(--space-md);
- background: rgba(255, 255, 255, 0.03);
- border: 1px solid rgba(255, 255, 255, 0.08);
- border-radius: 10px;
-}
-.erc8004-quickstart-title {
- font-weight: 600;
- margin-bottom: var(--space-xs);
-}
-.erc8004-quickstart-grid {
- display: grid;
- grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
- gap: var(--space-sm);
-}
-.erc8004-quickstart-btn {
- display: block;
- text-align: left;
- padding: var(--space-sm);
- background: rgba(255, 255, 255, 0.04);
- border: 1px solid rgba(255, 255, 255, 0.12);
- border-radius: 8px;
- color: inherit;
- cursor: pointer;
- transition:
- border-color 0.12s ease,
- background 0.12s ease;
-}
-.erc8004-quickstart-btn:hover:not(:disabled) {
- border-color: rgba(255, 255, 255, 0.3);
- background: rgba(255, 255, 255, 0.07);
-}
-.erc8004-quickstart-btn:disabled {
- opacity: 0.45;
- cursor: not-allowed;
-}
-.erc8004-quickstart-btn-title {
- font-weight: 600;
- margin-bottom: 2px;
-}
-.erc8004-quickstart-btn-hint {
- font-size: var(--text-xs);
- color: rgba(255, 255, 255, 0.6);
-}
-
-.erc8004-register--page {
- position: static;
- inset: auto;
- z-index: auto;
- display: block;
- background: transparent;
- backdrop-filter: none;
- -webkit-backdrop-filter: none;
- padding: 0;
-}
-
-.erc8004-register--page .erc8004-card {
- margin: 0 auto;
- background: rgba(255, 255, 255, 0.02);
-}
-
-/* ── /deploy page shell ─────────────────────────────────────────────── */
-
-.deploy-shell {
- width: 100%;
- max-width: 1180px;
- margin: 0 auto;
- display: flex;
- flex-direction: column;
- gap: var(--space-lg);
-}
-
-.deploy-hero {
- display: grid;
- grid-template-columns: minmax(0, 1fr) auto;
- gap: var(--space-lg);
- align-items: end;
- padding: var(--space-lg) 0 var(--space-md);
- border-bottom: 1px solid rgba(255, 255, 255, 0.06);
- /* Reset global <header> styles so the deploy hero sizes to its content
- instead of being clipped to the nav-bar height. */
- height: auto;
- line-height: normal;
- overflow: visible;
- white-space: normal;
- background: transparent;
- backdrop-filter: none;
- -webkit-backdrop-filter: none;
- -webkit-app-region: no-drag;
- z-index: auto;
-}
-
-.deploy-hero-text {
- min-width: 0;
- max-width: 720px;
-}
-
-.deploy-hero-eyebrow {
- display: inline-flex;
- align-items: center;
- gap: 8px;
- padding: 4px 10px 4px 8px;
- margin-bottom: var(--space-sm);
- font-size: var(--text-xs);
- font-weight: 500;
- letter-spacing: 0.06em;
- text-transform: uppercase;
- color: rgba(255, 255, 255, 0.7);
- background: rgba(139, 92, 246, 0.12);
- border: 1px solid rgba(139, 92, 246, 0.35);
- border-radius: 999px;
-}
-
-.deploy-hero-dot {
- width: 6px;
- height: 6px;
- border-radius: 50%;
- background: #a78bfa;
- box-shadow: 0 0 12px rgba(167, 139, 250, 0.9);
-}
-
-.deploy-hero-title {
- margin: 0 0 var(--space-xs);
- font-size: clamp(1.6rem, 2.6vw, 2.2rem);
- font-weight: 500;
- line-height: 1.1;
- letter-spacing: -0.01em;
- color: #fff;
-}
-
-.deploy-hero-sub {
- margin: 0 0 var(--space-md);
- max-width: 60ch;
- font-size: var(--text-base);
- line-height: 1.55;
- color: rgba(255, 255, 255, 0.62);
- font-weight: 300;
-}
-
-.deploy-hero-meta {
- display: flex;
- flex-wrap: wrap;
- gap: var(--space-md);
- font-size: var(--text-sm);
-}
-
-.deploy-hero-link {
- color: rgba(255, 255, 255, 0.55);
- text-decoration: none;
- border-bottom: 1px dashed transparent;
- transition: color 0.15s, border-color 0.15s;
-}
-
-.deploy-hero-link:hover {
- color: #fff;
- border-color: rgba(255, 255, 255, 0.35);
-}
-
-.deploy-hero-controls {
- display: flex;
- flex-direction: column;
- gap: var(--space-sm);
- align-items: stretch;
- min-width: 220px;
-}
-
-.deploy-chain-control {
- display: flex;
- flex-direction: column;
- gap: 4px;
-}
-
-.deploy-chain-label {
- font-size: var(--text-xs);
- letter-spacing: 0.06em;
- text-transform: uppercase;
- color: rgba(255, 255, 255, 0.45);
-}
-
-.deploy-shell .erc8004-chain-select {
- padding: 10px 12px;
- font-size: var(--text-sm);
- background: rgba(255, 255, 255, 0.04);
- border-color: rgba(255, 255, 255, 0.14);
- border-radius: 10px;
- min-width: 220px;
-}
-
-.deploy-wallet-btn {
- justify-content: center;
- padding: 10px 16px;
- font-weight: 500;
-}
-
-.deploy-banner {
- padding: 10px 14px;
- margin: 0;
- background: rgba(245, 158, 11, 0.08);
- border: 1px solid rgba(245, 158, 11, 0.3);
- border-radius: 10px;
- color: rgba(255, 230, 178, 0.95);
- font-size: var(--text-sm);
-}
-
-.deploy-grid {
- display: grid;
- grid-template-columns: minmax(0, 1fr) 340px;
- gap: var(--space-lg);
- align-items: start;
-}
-
-.deploy-main {
- min-width: 0;
- padding: var(--space-lg);
- background: rgba(255, 255, 255, 0.025);
- border: 1px solid rgba(255, 255, 255, 0.07);
- border-radius: 16px;
-}
-
-.deploy-preview {
- position: sticky;
- top: calc(var(--header-h) + var(--space-md));
-}
-
-.deploy-preview-card {
- padding: var(--space-md);
- background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
- border: 1px solid rgba(255, 255, 255, 0.08);
- border-radius: 16px;
- box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
-}
-
-.deploy-preview-eyebrow {
- font-size: var(--text-xs);
- letter-spacing: 0.08em;
- text-transform: uppercase;
- color: rgba(255, 255, 255, 0.4);
- margin-bottom: var(--space-sm);
-}
-
-.deploy-preview-thumb {
- position: relative;
- width: 100%;
- aspect-ratio: 1;
- margin-bottom: var(--space-sm);
- background: radial-gradient(60% 60% at 50% 40%, rgba(139, 92, 246, 0.18), rgba(0, 0, 0, 0));
- border: 1px solid rgba(255, 255, 255, 0.07);
- border-radius: 12px;
- overflow: hidden;
-}
-
-.deploy-preview-thumb img {
- width: 100%;
- height: 100%;
- object-fit: cover;
- display: block;
-}
-
-.deploy-preview-mv {
- width: 100%;
- height: 100%;
- display: block;
- background: transparent;
- --poster-color: transparent;
-}
-
-.deploy-preview-ph {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 100%;
- height: 100%;
- font-size: var(--text-sm);
- color: rgba(255, 255, 255, 0.3);
- letter-spacing: 0.04em;
-}
-
-.deploy-preview-name {
- font-size: var(--text-lg);
- font-weight: 500;
- color: #fff;
- margin-bottom: 2px;
- word-break: break-word;
-}
-
-.deploy-preview-desc {
- font-size: var(--text-sm);
- color: rgba(255, 255, 255, 0.55);
- margin-bottom: var(--space-sm);
- line-height: 1.45;
- display: -webkit-box;
- -webkit-line-clamp: 3;
- -webkit-box-orient: vertical;
- overflow: hidden;
-}
-
-.deploy-preview-dim {
- color: rgba(255, 255, 255, 0.3);
- font-style: italic;
-}
-
-.deploy-preview-meta {
- display: grid;
- grid-template-columns: auto 1fr;
- gap: 4px var(--space-sm);
- margin: 0 0 var(--space-sm);
- padding: var(--space-sm) 0;
- border-top: 1px solid rgba(255, 255, 255, 0.06);
- border-bottom: 1px solid rgba(255, 255, 255, 0.06);
- font-size: var(--text-xs);
-}
-
-.deploy-preview-meta dt {
- color: rgba(255, 255, 255, 0.4);
- font-weight: 400;
-}
-
-.deploy-preview-meta dd {
- margin: 0;
- color: rgba(255, 255, 255, 0.85);
- word-break: break-word;
-}
-
-.deploy-svc-pill {
- display: inline-block;
- padding: 2px 6px;
- margin-right: 4px;
- background: rgba(99, 102, 241, 0.18);
- border: 1px solid rgba(99, 102, 241, 0.35);
- border-radius: 4px;
- font-size: 11px;
- color: #c7d2fe;
-}
-
-.deploy-preview-checklist {
- display: grid;
- grid-template-columns: 1fr 1fr;
- gap: 4px 12px;
-}
-
-.deploy-check {
- font-size: var(--text-xs);
- color: rgba(255, 255, 255, 0.4);
- letter-spacing: 0.02em;
-}
-
-.deploy-check.is-ok {
- color: rgba(134, 239, 172, 0.95);
-}
-
-.deploy-quickstart-bar {
- display: flex;
- flex-wrap: wrap;
- align-items: center;
- gap: 6px;
- margin-bottom: var(--space-md);
- padding-bottom: var(--space-sm);
- border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
-}
-
-.deploy-quickstart-bar-label {
- font-size: var(--text-xs);
- color: rgba(255, 255, 255, 0.4);
- letter-spacing: 0.08em;
- text-transform: uppercase;
- margin-right: 4px;
-}
-
-.deploy-qs-chip {
- padding: 5px 10px;
- font-size: var(--text-xs);
- color: rgba(255, 255, 255, 0.7);
- background: rgba(255, 255, 255, 0.03);
- border: 1px solid rgba(255, 255, 255, 0.08);
- border-radius: 999px;
- cursor: pointer;
- font-family: inherit;
- transition: background 0.15s, color 0.15s, border-color 0.15s;
-}
-
-.deploy-qs-chip:hover:not(:disabled) {
- color: #fff;
- background: rgba(255, 255, 255, 0.07);
- border-color: rgba(255, 255, 255, 0.2);
-}
-
-.deploy-qs-chip:disabled {
- opacity: 0.4;
- cursor: not-allowed;
-}
-
-/* Steps as a connected progress bar */
-.deploy-steps {
- position: relative;
- display: grid;
- grid-template-columns: repeat(4, 1fr);
- gap: 0;
- margin-bottom: var(--space-md);
- padding: 0;
- list-style: none;
-}
-
-.deploy-steps::before {
- content: '';
- position: absolute;
- top: 16px;
- left: calc(100% / 8);
- right: calc(100% / 8);
- height: 2px;
- background: rgba(255, 255, 255, 0.08);
- z-index: 0;
-}
-
-.deploy-step {
- position: relative;
- z-index: 1;
- display: flex !important;
- flex-direction: column;
- align-items: center;
- gap: 8px !important;
- padding: 0 !important;
- background: transparent !important;
- border: 0 !important;
- color: rgba(255, 255, 255, 0.45);
- font-size: var(--text-xs);
-}
-
-.deploy-step .erc8004-step-num {
- width: 32px;
- height: 32px;
- background: rgba(20, 20, 30, 1);
- border: 2px solid rgba(255, 255, 255, 0.12);
- color: rgba(255, 255, 255, 0.6);
- font-weight: 500;
-}
-
-.deploy-step--active .erc8004-step-num {
- background: linear-gradient(135deg, #8b5cf6, #6366f1) !important;
- border-color: rgba(139, 92, 246, 0.8);
- color: #fff;
- box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
-}
-
-.deploy-step--done .erc8004-step-num {
- background: rgba(34, 197, 94, 0.18);
- border-color: rgba(34, 197, 94, 0.5);
- color: rgba(134, 239, 172, 1);
-}
-
-.deploy-step--active {
- color: #fff;
-}
-
-.deploy-step--done {
- color: rgba(134, 239, 172, 0.85);
- cursor: pointer;
-}
-
-.deploy-step--done:hover {
- color: rgba(187, 247, 208, 1);
-}
-
-.deploy-step .erc8004-step-lbl {
- font-weight: 500;
- letter-spacing: 0.02em;
-}
-
-.deploy-wizard .erc8004-wizard-body {
- padding: 0;
- background: transparent;
- border: 0;
-}
-
-.deploy-wizard .erc8004-h3 {
- font-size: 1.25rem;
- font-weight: 500;
- margin-bottom: 4px;
-}
-
-.deploy-wizard .erc8004-p {
- margin-bottom: var(--space-md);
-}
-
-.deploy-wizard .erc8004-input {
- padding: 10px 12px;
- background: rgba(255, 255, 255, 0.03);
- border-color: rgba(255, 255, 255, 0.12);
- border-radius: 10px;
-}
-
-.deploy-wizard .erc8004-input:focus {
- border-color: rgba(139, 92, 246, 0.55);
- background: rgba(255, 255, 255, 0.05);
- box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
-}
-
-.deploy-wizard .erc8004-wizard-nav {
- margin-top: var(--space-lg);
- padding-top: var(--space-md);
- border-top: 1px solid rgba(255, 255, 255, 0.06);
-}
-
-.deploy-wizard .erc8004-btn--primary {
- padding: 10px 18px;
- font-weight: 500;
- background: linear-gradient(135deg, rgba(139, 92, 246, 0.8), rgba(99, 102, 241, 0.8));
- border-color: rgba(139, 92, 246, 0.6);
- box-shadow: 0 6px 20px rgba(99, 102, 241, 0.2);
-}
-
-.deploy-wizard .erc8004-btn--primary:hover:not(:disabled) {
- background: linear-gradient(135deg, rgba(139, 92, 246, 0.95), rgba(99, 102, 241, 0.95));
- border-color: rgba(139, 92, 246, 0.75);
-}
-
-@media (max-width: 900px) {
- .deploy-hero {
- grid-template-columns: minmax(0, 1fr);
- align-items: stretch;
- }
- .deploy-hero-controls {
- flex-direction: row;
- align-items: end;
- }
- .deploy-grid {
- grid-template-columns: minmax(0, 1fr);
- }
- .deploy-preview {
- position: static;
- order: -1;
- }
- .deploy-preview-thumb {
- aspect-ratio: 2.4;
- }
-}
-
-@media (max-width: 560px) {
- .deploy-hero-controls {
- flex-direction: column;
- }
- .deploy-step .erc8004-step-lbl {
- font-size: 10px;
- }
-}
-
-.erc8004-card {
- width: 100%;
- max-width: 480px;
- background: rgba(255, 255, 255, 0.04);
- border: 1px solid rgba(255, 255, 255, 0.08);
- border-radius: var(--radius-lg);
- padding: var(--space-xl) var(--space-lg);
-}
-
-.erc8004-title {
- margin: 0 0 var(--space-3xs);
- font-size: var(--text-xl);
- font-weight: 500;
- color: #fff;
- letter-spacing: 0.02em;
-}
-
-.erc8004-subtitle {
- margin: 0 0 var(--space-lg);
- font-size: var(--text-sm);
- color: rgba(255, 255, 255, 0.45);
- font-weight: 300;
-}
-
-.erc8004-section {
- margin-bottom: var(--space-md);
-}
-
-.erc8004-label {
- display: block;
- margin-bottom: var(--space-sm);
- font-size: var(--text-sm);
- color: rgba(255, 255, 255, 0.5);
- font-weight: 400;
-}
-
-.erc8004-input {
- display: block;
- width: 100%;
- margin-top: var(--space-3xs);
- padding: var(--space-xs) var(--space-sm);
- background: rgba(255, 255, 255, 0.06);
- border: 1px solid rgba(255, 255, 255, 0.1);
- border-radius: var(--radius-sm);
- color: #fff;
- font-family: inherit;
- font-size: var(--text-base);
- outline: none;
- transition: border-color 0.2s;
-}
-
-.erc8004-input:focus {
- border-color: rgba(255, 255, 255, 0.3);
-}
-
-.erc8004-textarea {
- resize: vertical;
- min-height: 3.6em;
-}
-
-.erc8004-file-drop {
- position: relative;
- display: flex;
- align-items: center;
- justify-content: center;
- height: 80px;
- margin-top: var(--space-3xs);
- border: 2px dashed rgba(255, 255, 255, 0.12);
- border-radius: var(--radius-md);
- cursor: pointer;
- transition:
- border-color 0.2s,
- background 0.2s;
-}
-
-.erc8004-file-drop:hover,
-.erc8004-file-drop--active {
- border-color: rgba(255, 255, 255, 0.3);
- background: rgba(255, 255, 255, 0.03);
-}
-
-.erc8004-file-input {
- position: absolute;
- inset: 0;
- opacity: 0;
- cursor: pointer;
-}
-
-.erc8004-file-text {
- font-size: var(--text-sm);
- color: rgba(255, 255, 255, 0.4);
- pointer-events: none;
-}
-
-.erc8004-btn {
- display: inline-flex;
- align-items: center;
- gap: var(--space-xs);
- padding: var(--space-xs) var(--space-md);
- border: 1px solid rgba(255, 255, 255, 0.15);
- border-radius: var(--radius-md);
- background: rgba(255, 255, 255, 0.06);
- color: #fff;
- font-family: inherit;
- font-size: var(--text-sm);
- font-weight: 500;
- cursor: pointer;
- transition:
- background 0.2s,
- border-color 0.2s;
-}
-
-.erc8004-btn:hover:not(:disabled) {
- background: rgba(255, 255, 255, 0.12);
- border-color: rgba(255, 255, 255, 0.25);
-}
-
-.erc8004-btn:disabled {
- opacity: 0.35;
- cursor: not-allowed;
-}
-
-.erc8004-btn--register {
- width: 100%;
- justify-content: center;
- padding: var(--space-sm) var(--space-md);
- background: rgba(139, 92, 246, 0.25);
- border-color: rgba(139, 92, 246, 0.45);
-}
-
-.erc8004-btn--register:hover:not(:disabled) {
- background: rgba(139, 92, 246, 0.45);
-}
-
-.erc8004-btn--view {
- margin-top: var(--space-sm);
-}
-
-.erc8004-wallet-addr {
- display: inline-block;
- margin-left: var(--space-xs);
- font-size: var(--text-xs);
- color: rgba(255, 255, 255, 0.5);
- font-family: monospace;
-}
-
-.erc8004-log {
- max-height: 120px;
- overflow-y: auto;
- margin-top: var(--space-sm);
- font-size: var(--text-xs);
- font-family: monospace;
- color: rgba(255, 255, 255, 0.5);
-}
-
-.erc8004-log-line {
- padding: 2px 0;
-}
-
-.erc8004-log-error {
- color: #f87171;
-}
-
-.erc8004-result {
- margin-top: var(--space-md);
- padding: var(--space-md);
- background: rgba(34, 197, 94, 0.08);
- border: 1px solid rgba(34, 197, 94, 0.2);
- border-radius: var(--radius-md);
-}
-
-.erc8004-checkmark {
- display: block;
- font-size: 2rem;
- color: #22c55e;
- margin-bottom: var(--space-xs);
-}
-
-.erc8004-result h3 {
- margin: 0 0 var(--space-xs);
- font-size: var(--text-lg);
- font-weight: 500;
- color: #fff;
-}
-
-.erc8004-result-dl {
- display: grid;
- grid-template-columns: auto 1fr;
- gap: var(--space-3xs) var(--space-sm);
- margin: 0;
- font-size: var(--text-sm);
-}
-
-.erc8004-result-dl dt {
- color: rgba(255, 255, 255, 0.45);
- font-weight: 400;
-}
-
-.erc8004-result-dl dd {
- margin: 0;
- color: #fff;
- font-family: monospace;
- word-break: break-all;
-}
-
-@media screen and (max-width: 700px) {
- .erc8004-card {
- padding: var(--space-lg) var(--space-md);
- }
-}
-
-/* ── Tabbed Agent Studio (extends the basic register styles above) ──── */
-
-.erc8004-card--wide {
- max-width: 880px;
-}
-
-.erc8004-header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: var(--space-md);
- margin-bottom: var(--space-md);
- flex-wrap: wrap;
-}
-
-.erc8004-brand {
- display: inline-flex;
- align-items: center;
- gap: var(--space-xs);
- font-size: var(--text-sm);
- color: rgba(255, 255, 255, 0.85);
-}
-
-.erc8004-brand-badge {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- padding: 2px 8px;
- border-radius: var(--radius-sm);
- background: linear-gradient(135deg, rgba(99, 102, 241, 0.6), rgba(236, 72, 153, 0.55));
- color: #fff;
- font-size: var(--text-xs);
- font-weight: 600;
- letter-spacing: 0.04em;
-}
-
-.erc8004-brand-title b {
- font-weight: 600;
- color: #fff;
-}
-
-.erc8004-controls {
- display: inline-flex;
- align-items: center;
- gap: var(--space-xs);
- flex-wrap: wrap;
-}
-
-.erc8004-chain-select {
- padding: 6px 10px;
- background: rgba(255, 255, 255, 0.06);
- border: 1px solid rgba(255, 255, 255, 0.12);
- border-radius: var(--radius-sm);
- color: #fff;
- font-family: inherit;
- font-size: var(--text-xs);
- cursor: pointer;
-}
-
-.erc8004-btn--wallet.erc8004-btn--connected {
- background: rgba(34, 197, 94, 0.18);
- border-color: rgba(34, 197, 94, 0.4);
-}
-
-.erc8004-btn--primary {
- background: rgba(139, 92, 246, 0.35);
- border-color: rgba(99, 102, 241, 0.5);
-}
-
-.erc8004-btn--primary:hover:not(:disabled) {
- background: rgba(99, 102, 241, 0.45);
-}
-
-.erc8004-btn--ghost {
- background: transparent;
-}
-
-.erc8004-btn--x {
- padding: 4px 8px;
-}
-
-.erc8004-btn--close {
- padding: 4px 10px;
- font-size: var(--text-base);
- line-height: 1;
-}
-
-.erc8004-stats {
- display: grid;
- grid-template-columns: repeat(3, 1fr);
- gap: var(--space-sm);
- margin-bottom: var(--space-md);
-}
-
-.erc8004-stat {
- padding: var(--space-sm);
- background: rgba(255, 255, 255, 0.03);
- border: 1px solid rgba(255, 255, 255, 0.06);
- border-radius: var(--radius-md);
- text-align: center;
-}
-
-.erc8004-stat-val {
- font-size: var(--text-lg);
- font-weight: 600;
- color: #fff;
- font-variant-numeric: tabular-nums;
-}
-
-.erc8004-stat-lbl {
- font-size: var(--text-xs);
- color: rgba(255, 255, 255, 0.45);
- margin-top: 2px;
-}
-
-.erc8004-tabs {
- display: flex;
- gap: 2px;
- padding: 4px;
- margin-bottom: var(--space-md);
- background: rgba(255, 255, 255, 0.03);
- border: 1px solid rgba(255, 255, 255, 0.06);
- border-radius: var(--radius-md);
- overflow-x: auto;
-}
-
-.erc8004-tab {
- flex: 1;
- min-width: max-content;
- padding: 8px 14px;
- border: 0;
- background: transparent;
- color: rgba(255, 255, 255, 0.6);
- font-family: inherit;
- font-size: var(--text-sm);
- font-weight: 500;
- cursor: pointer;
- border-radius: var(--radius-sm);
- transition:
- background 0.2s,
- color 0.2s;
-}
-
-.erc8004-tab:hover {
- color: #fff;
-}
-
-.erc8004-tab--active {
- background: rgba(255, 255, 255, 0.1);
- color: #fff;
-}
-
-.erc8004-tab-body {
- min-height: 280px;
-}
-
-.erc8004-wizard {
- display: flex;
- flex-direction: column;
- gap: var(--space-md);
-}
-
-.erc8004-steps {
- display: flex;
- gap: var(--space-xs);
- margin: 0;
- padding: 0;
- list-style: none;
-}
-
-.erc8004-step {
- flex: 1;
- display: flex;
- align-items: center;
- gap: var(--space-xs);
- padding: var(--space-xs) var(--space-sm);
- background: rgba(255, 255, 255, 0.03);
- border: 1px solid rgba(255, 255, 255, 0.06);
- border-radius: var(--radius-sm);
- color: rgba(255, 255, 255, 0.4);
- font-size: var(--text-xs);
-}
-
-.erc8004-step--active {
- background: var(--accent-soft);
- border-color: rgba(99, 102, 241, 0.45);
- color: #fff;
-}
-
-.erc8004-step--done {
- color: rgba(34, 197, 94, 0.9);
- border-color: rgba(34, 197, 94, 0.3);
-}
-
-.erc8004-step-num {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- width: 20px;
- height: 20px;
- border-radius: 50%;
- background: rgba(255, 255, 255, 0.1);
- font-weight: 600;
-}
-
-.erc8004-step--active .erc8004-step-num {
- background: rgba(99, 102, 241, 0.7);
-}
-
-.erc8004-wizard-body {
- padding: var(--space-md);
- background: rgba(255, 255, 255, 0.02);
- border: 1px solid rgba(255, 255, 255, 0.06);
- border-radius: var(--radius-md);
-}
-
-.erc8004-wizard-nav {
- display: flex;
- justify-content: space-between;
- gap: var(--space-xs);
- margin-top: var(--space-md);
-}
-
-.erc8004-wizard-nav > :only-child {
- margin-left: auto;
-}
-
-.erc8004-h3 {
- margin: 0 0 var(--space-3xs);
- font-size: var(--text-lg);
- font-weight: 500;
- color: #fff;
-}
-
-.erc8004-h4 {
- margin: 0 0 var(--space-xs);
- font-size: var(--text-base);
- font-weight: 500;
- color: #fff;
-}
-
-.erc8004-p {
- margin: 0 0 var(--space-sm);
- font-size: var(--text-sm);
- color: rgba(255, 255, 255, 0.6);
- line-height: 1.5;
-}
-
-.erc8004-req {
- color: #f87171;
-}
-
-.erc8004-hint {
- margin: -2px 0 var(--space-sm);
- font-size: var(--text-xs);
- color: rgba(255, 255, 255, 0.35);
-}
-
-.erc8004-muted {
- color: rgba(255, 255, 255, 0.4);
- font-size: var(--text-sm);
-}
-
-.erc8004-small {
- font-size: var(--text-xs);
-}
-
-.erc8004-row {
- display: flex;
- gap: var(--space-xs);
- align-items: center;
- flex-wrap: wrap;
- margin-bottom: var(--space-sm);
-}
-
-.erc8004-link {
- color: #a5b4fc;
- text-decoration: none;
- cursor: pointer;
- background: none;
- border: 0;
- padding: 0;
- font: inherit;
-}
-
-.erc8004-link:hover {
- text-decoration: underline;
- color: #c7d2fe;
-}
-
-.erc8004-alert {
- padding: var(--space-xs) var(--space-sm);
- margin-bottom: var(--space-sm);
- background: rgba(245, 158, 11, 0.1);
- border: 1px solid rgba(245, 158, 11, 0.3);
- border-radius: var(--radius-sm);
- color: rgba(253, 224, 71, 0.9);
- font-size: var(--text-sm);
-}
-
-.erc8004-tag {
- display: inline-block;
- padding: 2px 8px;
- background: rgba(255, 255, 255, 0.08);
- border-radius: 999px;
- font-size: var(--text-xs);
- color: rgba(255, 255, 255, 0.7);
- font-variant-numeric: tabular-nums;
-}
-
-.erc8004-clip {
- display: -webkit-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- overflow: hidden;
-}
-
-.erc8004-services {
- display: flex;
- flex-direction: column;
- gap: var(--space-xs);
- margin-bottom: var(--space-sm);
-}
-
-.erc8004-svc-row {
- display: grid;
- grid-template-columns: 140px 160px 1fr auto;
- gap: var(--space-xs);
- align-items: center;
-}
-
-.erc8004-input--tight {
- width: auto;
-}
-
-.erc8004-summary {
- display: grid;
- grid-template-columns: auto 1fr;
- gap: var(--space-3xs) var(--space-md);
- margin: 0 0 var(--space-sm);
- padding: var(--space-sm);
- background: rgba(255, 255, 255, 0.03);
- border-radius: var(--radius-sm);
- font-size: var(--text-sm);
-}
-
-.erc8004-summary dt {
- color: rgba(255, 255, 255, 0.45);
-}
-
-.erc8004-summary dd {
- margin: 0;
- color: #fff;
- word-break: break-word;
-}
-
-.erc8004-agent-card {
- padding: var(--space-sm);
- background: rgba(255, 255, 255, 0.03);
- border: 1px solid rgba(255, 255, 255, 0.06);
- border-radius: var(--radius-md);
- margin-bottom: var(--space-xs);
-}
-
-.erc8004-agent-card-inner {
- display: grid;
- grid-template-columns: 72px 1fr;
- gap: var(--space-sm);
- align-items: start;
-}
-
-.erc8004-agent-card-img {
- width: 72px;
- height: 72px;
- border-radius: var(--radius-sm);
- overflow: hidden;
- background: rgba(255, 255, 255, 0.05);
- display: flex;
- align-items: center;
- justify-content: center;
-}
-
-.erc8004-agent-card-img img {
- width: 100%;
- height: 100%;
- object-fit: cover;
-}
-
-.erc8004-agent-card-ph {
- font-size: 2rem;
- opacity: 0.5;
-}
-
-.erc8004-agent-card-head {
- display: flex;
- align-items: center;
- gap: var(--space-xs);
- margin-bottom: var(--space-3xs);
- color: #fff;
- font-weight: 500;
-}
-
-.erc8004-agent-card-actions {
- display: inline-flex;
- gap: var(--space-sm);
- margin-top: var(--space-xs);
- font-size: var(--text-xs);
-}
-
-.erc8004-template-grid {
- display: grid;
- grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
- gap: var(--space-sm);
-}
-
-.erc8004-template {
- display: flex;
- flex-direction: column;
- gap: var(--space-3xs);
- padding: var(--space-md);
- background: rgba(255, 255, 255, 0.03);
- border: 1px solid rgba(255, 255, 255, 0.08);
- border-radius: var(--radius-md);
- color: #fff;
- font-family: inherit;
- text-align: left;
- cursor: pointer;
- transition:
- background 0.2s,
- border-color 0.2s,
- transform 0.15s;
-}
-
-.erc8004-template:hover {
- background: rgba(255, 255, 255, 0.06);
- border-color: rgba(99, 102, 241, 0.45);
- transform: translateY(-1px);
-}
-
-.erc8004-template-emoji {
- font-size: 1.75rem;
- line-height: 1;
-}
-
-.erc8004-template-name {
- font-weight: 500;
- font-size: var(--text-sm);
-}
-
-.erc8004-template-desc {
- font-size: var(--text-xs);
- color: rgba(255, 255, 255, 0.5);
- line-height: 1.4;
-}
-
-.erc8004-history-row {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: var(--space-sm);
- padding: var(--space-xs) var(--space-sm);
- background: rgba(255, 255, 255, 0.03);
- border: 1px solid rgba(255, 255, 255, 0.06);
- border-radius: var(--radius-sm);
- margin-bottom: var(--space-3xs);
- font-size: var(--text-sm);
-}
-
-.erc8004-history-main {
- min-width: 0;
- flex: 1;
-}
-
-.erc8004-history-main code {
- font-size: var(--text-xs);
- color: rgba(255, 255, 255, 0.5);
-}
-
-.erc8004-toast {
- position: fixed;
- bottom: var(--space-lg);
- left: 50%;
- transform: translateX(-50%);
- padding: var(--space-sm) var(--space-md);
- background: rgba(20, 20, 25, 0.95);
- border: 1px solid rgba(255, 255, 255, 0.12);
- border-radius: var(--radius-md);
- color: #fff;
- font-size: var(--text-sm);
- z-index: 100;
- box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
-}
-
-.erc8004-toast--error {
- background: rgba(127, 29, 29, 0.95);
- border-color: rgba(248, 113, 113, 0.4);
-}
-
-@media screen and (max-width: 700px) {
- .erc8004-stats {
- grid-template-columns: 1fr;
- }
- .erc8004-svc-row {
- grid-template-columns: 1fr;
- }
- .erc8004-agent-card-inner {
- grid-template-columns: 56px 1fr;
- }
- .erc8004-agent-card-img {
- width: 56px;
- height: 56px;
- }
- .erc8004-step-lbl {
- display: none;
- }
-}
-
-/******************************************************************************
- * Create Avatar Button
- */
-
-.create-avatar-btn {
- display: inline-flex;
- align-items: center;
- gap: var(--space-xs);
- padding: var(--space-sm) var(--space-md);
- background: linear-gradient(180deg, rgba(139, 92, 246, 0.22), rgba(139, 92, 246, 0.1));
- border: 1px solid rgba(167, 139, 250, 0.42);
- border-radius: var(--radius-md);
- color: #fff;
- font-family: inherit;
- font-size: var(--text-sm);
- font-weight: 500;
- text-decoration: none;
- cursor: pointer;
- transition:
- background 0.18s ease,
- border-color 0.18s ease,
- color 0.18s ease,
- transform 0.18s ease;
- letter-spacing: -0.005em;
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
-}
-
-.create-avatar-btn:hover {
- background: linear-gradient(180deg, rgba(139, 92, 246, 0.36), rgba(139, 92, 246, 0.16));
- border-color: rgba(167, 139, 250, 0.7);
-}
-
-.create-avatar-btn:active {
- transform: translateY(1px);
-}
-
-.create-avatar-btn svg {
- width: 1em;
- height: 1em;
- fill: currentColor;
- flex-shrink: 0;
-}
-
-@media screen and (max-width: 700px) {
- .create-avatar-btn span {
- display: none;
- }
-
- .create-avatar-btn {
- padding: var(--space-xs) var(--space-sm);
- }
-}
-
-/******************************************************************************
- * Viewer nav action buttons — Save / Make Widget / Deploy / Public profile
- *
- * All four share a single neutral pill style so the header doesn't read as a
- * rainbow. Each keeps a tinted SVG icon as its identity cue. Deploy is the
- * primary CTA — slightly stronger fill — and gains a fully-saturated success
- * state once on-chain.
- */
-.save-to-account-btn,
-.make-widget-btn,
-.deploy-onchain-btn,
-.view-public-profile-btn {
- display: inline-flex;
- align-items: center;
- gap: var(--space-xs);
- padding: var(--space-sm) var(--space-md);
- background: rgba(255, 255, 255, 0.04);
- border: 1px solid rgba(255, 255, 255, 0.1);
- border-radius: var(--radius-md);
- color: rgba(255, 255, 255, 0.78);
- font-family: inherit;
- font-size: var(--text-sm);
- font-weight: 500;
- text-decoration: none;
- cursor: pointer;
- transition:
- background 0.18s ease,
- border-color 0.18s ease,
- color 0.18s ease,
- transform 0.18s ease;
- letter-spacing: -0.005em;
- white-space: nowrap;
-}
-.save-to-account-btn:hover,
-.make-widget-btn:hover,
-.deploy-onchain-btn:hover,
-.view-public-profile-btn:hover {
- background: rgba(255, 255, 255, 0.08);
- border-color: rgba(255, 255, 255, 0.2);
- color: #fff;
-}
-.save-to-account-btn:active,
-.make-widget-btn:active,
-.deploy-onchain-btn:active,
-.view-public-profile-btn:active {
- transform: translateY(1px);
-}
-.save-to-account-btn:focus-visible,
-.make-widget-btn:focus-visible,
-.deploy-onchain-btn:focus-visible,
-.view-public-profile-btn:focus-visible {
- outline: 2px solid rgba(255, 255, 255, 0.5);
- outline-offset: 2px;
-}
-.save-to-account-btn[hidden],
-.make-widget-btn[hidden],
-.deploy-onchain-btn[hidden],
-.view-public-profile-btn[hidden] {
- display: none;
-}
-.save-to-account-btn svg,
-.make-widget-btn svg,
-.deploy-onchain-btn svg,
-.view-public-profile-btn svg {
- width: 1em;
- height: 1em;
- transition: color 0.18s ease;
-}
-.save-to-account-btn[disabled] {
- opacity: 0.6;
- pointer-events: none;
-}
-
-/* Per-button icon accents — color identity lives in the icon, not the pill */
-.save-to-account-btn svg { color: #c4b5fd; } /* violet */
-.make-widget-btn svg { color: #5eead4; } /* teal */
-.view-public-profile-btn svg { color: #fcd34d; } /* gold */
-.deploy-onchain-btn svg { color: #a5b4fc; } /* indigo */
-
-/* Deploy on-chain — primary CTA, slightly stronger to pull the eye */
-.deploy-onchain-btn {
- background: linear-gradient(180deg, rgba(99, 102, 241, 0.22), rgba(99, 102, 241, 0.12));
- border-color: rgba(129, 140, 248, 0.45);
- color: #fff;
-}
-.deploy-onchain-btn:hover {
- background: linear-gradient(180deg, rgba(99, 102, 241, 0.34), rgba(99, 102, 241, 0.18));
- border-color: rgba(129, 140, 248, 0.7);
-}
-
-/* "Deployed ✓" success state — replaces the call-to-action once on-chain. */
-.deploy-onchain-btn.is-deployed {
- background: rgba(74, 222, 128, 0.12);
- border-color: rgba(74, 222, 128, 0.42);
- color: #86efac;
-}
-.deploy-onchain-btn.is-deployed svg {
- color: #86efac;
-}
-.deploy-onchain-btn.is-deployed:hover {
- background: rgba(74, 222, 128, 0.22);
- color: #d1fae5;
- border-color: rgba(74, 222, 128, 0.7);
-}
-
-@media screen and (max-width: 700px) {
- .save-to-account-btn span,
- .make-widget-btn span,
- .deploy-onchain-btn span,
- .view-public-profile-btn span {
- display: none;
- }
- .save-to-account-btn,
- .make-widget-btn,
- .deploy-onchain-btn,
- .view-public-profile-btn {
- padding: var(--space-xs) var(--space-sm);
- }
-}
-
-/******************************************************************************
- * Avatar Creator Modal
- */
-
-.avatar-creator-overlay {
- position: fixed;
- inset: 0;
- z-index: 100;
- display: flex;
- align-items: center;
- justify-content: center;
- background: rgba(0, 0, 0, 0.9);
- backdrop-filter: blur(24px);
- -webkit-backdrop-filter: blur(24px);
- animation: avatar-creator-fadein 0.25s ease;
-}
-
-@keyframes avatar-creator-fadein {
- from {
- opacity: 0;
- }
- to {
- opacity: 1;
- }
-}
-
-.avatar-creator-modal {
- width: 95vw;
- height: 90vh;
- max-width: 1200px;
- display: flex;
- flex-direction: column;
- background: rgba(10, 10, 10, 0.95);
- border: 1px solid rgba(255, 255, 255, 0.08);
- border-radius: var(--radius-lg);
- overflow: hidden;
- box-shadow: 0 16px 64px rgba(0, 0, 0, 0.6);
-}
-
-.avatar-creator-header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: var(--space-sm) var(--space-lg);
- border-bottom: 1px solid rgba(255, 255, 255, 0.06);
- flex-shrink: 0;
-}
-
-.avatar-creator-title {
- font-size: var(--text-lg);
- font-weight: 500;
- color: #fff;
- letter-spacing: 0.03em;
-}
-
-.avatar-creator-close {
- background: none;
- border: none;
- color: rgba(255, 255, 255, 0.4);
- font-size: var(--text-2xl);
- cursor: pointer;
- padding: 0;
- line-height: 1;
- transition: color 0.2s ease;
-}
-
-.avatar-creator-close:hover {
- color: #fff;
-}
-
-.avatar-creator-body {
- flex: 1;
- position: relative;
- min-height: 0;
-}
-
-.avatar-creator-container {
- width: 100%;
- height: 100%;
- position: absolute;
- inset: 0;
-}
-
-.avatar-creator-iframe {
- width: 100%;
- height: 100%;
- border: none;
-}
-
-.avatar-creator-loading {
- position: absolute;
- inset: 0;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- gap: var(--space-md);
- color: rgba(255, 255, 255, 0.4);
- font-size: var(--text-sm);
- pointer-events: none;
-}
-
-.avatar-creator-loading .spinner {
- position: static;
- margin: 0;
-}
-
-.avatar-creator-error {
- color: #f87171;
- font-size: var(--text-sm);
-}
-
-@media screen and (max-width: 700px) {
- .avatar-creator-modal {
- width: 100vw;
- height: 100vh;
- max-width: none;
- border-radius: 0;
- }
-
- .avatar-creator-header {
- padding: var(--space-xs) var(--space-md);
- }
-}
-
-/* ============================================================================
- Agent Presence System
- The visual layer that makes agents real — not just JSON.
- ============================================================================ */
-
-/* ── Sidebar layout ────────────────────────────────────────────────────────── */
-
-.agent-presence-sidebar {
- position: fixed;
- top: calc(var(--header-h) + var(--space-md));
- left: var(--space-md);
- width: 220px;
- z-index: 50;
- pointer-events: none;
-}
-
-/* Collapsed state — panel hidden, only show-pill visible */
-.agent-presence-sidebar[data-collapsed='true'] .agent-home-panel {
- display: none;
-}
-
-.agent-home-show-pill {
- display: none;
- pointer-events: all;
- width: 36px;
- height: 36px;
- border-radius: 50%;
- border: 1px solid rgba(255, 255, 255, 0.12);
- background: linear-gradient(180deg, rgba(18, 18, 26, 0.92) 0%, rgba(10, 10, 16, 0.92) 100%);
- color: #e0e0e0;
- font-size: 16px;
- cursor: pointer;
- align-items: center;
- justify-content: center;
- backdrop-filter: blur(16px);
- -webkit-backdrop-filter: blur(16px);
- box-shadow:
- 0 4px 16px rgba(0, 0, 0, 0.4),
- inset 0 1px 0 rgba(255, 255, 255, 0.04);
- transition: transform 0.15s ease, border-color 0.15s ease;
-}
-
-.agent-home-show-pill:hover {
- transform: scale(1.06);
- border-color: rgba(255, 255, 255, 0.25);
-}
-
-.agent-presence-sidebar[data-collapsed='true'] .agent-home-show-pill {
- display: flex;
-}
-
-.agent-home-panel {
- background: linear-gradient(180deg, rgba(18, 18, 26, 0.92) 0%, rgba(10, 10, 16, 0.92) 100%);
- border: 1px solid rgba(255, 255, 255, 0.08);
- border-radius: var(--radius-lg);
- backdrop-filter: blur(16px);
- -webkit-backdrop-filter: blur(16px);
- overflow: hidden;
- pointer-events: all;
- display: flex;
- flex-direction: column;
- gap: 0;
- box-shadow:
- 0 8px 32px rgba(0, 0, 0, 0.4),
- inset 0 1px 0 rgba(255, 255, 255, 0.04);
-}
-
-/* ── Identity card ─────────────────────────────────────────────────────────── */
-
-.agent-home-identity {
- display: flex;
- align-items: center;
- gap: var(--space-sm);
- padding: var(--space-sm) var(--space-sm);
-}
-
-.agent-home-avatar-ring {
- width: 36px;
- height: 36px;
- border-radius: 50%;
- border: 2px solid rgba(255, 255, 255, 0.15);
- display: flex;
- align-items: center;
- justify-content: center;
- flex-shrink: 0;
- transition:
- border-color 0.6s ease,
- box-shadow 0.6s ease;
-}
-
-/* Emotion ring colours */
-.agent-home-avatar-ring[data-emotion='celebration'] {
- border-color: rgba(134, 239, 172, 0.6);
- box-shadow: 0 0 10px rgba(134, 239, 172, 0.25);
-}
-.agent-home-avatar-ring[data-emotion='concern'] {
- border-color: rgba(252, 165, 89, 0.6);
- box-shadow: 0 0 10px rgba(252, 165, 89, 0.2);
-}
-.agent-home-avatar-ring[data-emotion='curiosity'] {
- border-color: rgba(147, 197, 253, 0.6);
- box-shadow: 0 0 10px rgba(147, 197, 253, 0.2);
-}
-.agent-home-avatar-ring[data-emotion='empathy'] {
- border-color: rgba(216, 180, 254, 0.6);
- box-shadow: 0 0 10px rgba(216, 180, 254, 0.2);
-}
-.agent-home-avatar-ring[data-emotion='patience'] {
- border-color: rgba(209, 213, 219, 0.4);
-}
-
-.agent-home-avatar-inner {
- width: 28px;
- height: 28px;
- border-radius: 50%;
- background: rgba(255, 255, 255, 0.06);
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: 14px;
-}
-
-.agent-home-info {
- flex: 1;
- min-width: 0;
-}
-
-.agent-home-name-row {
- display: flex;
- align-items: center;
- gap: 5px;
- min-width: 0;
-}
-
-.agent-home-name {
- font-family: var(--font-display);
- font-size: var(--text-base);
- font-weight: 600;
- color: #f5f5f7;
- letter-spacing: -0.01em;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
-}
-
-/* ── Inline-editable fields (name, description) ─────────────────────────── */
-.agent-home-editable {
- cursor: text;
- border-radius: 4px;
- padding: 1px 4px;
- margin: -1px -4px;
- transition:
- background 0.15s,
- box-shadow 0.15s;
- outline: none;
-}
-.agent-home-editable:hover:not(.is-editing) {
- background: rgba(255, 255, 255, 0.04);
-}
-.agent-home-editable.is-editing,
-.agent-home-editable:focus-visible {
- background: rgba(255, 255, 255, 0.08);
- box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.5);
-}
-.agent-home-editable.is-saving {
- box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
- opacity: 0.7;
-}
-.agent-home-editable.is-saved {
- box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.6);
-}
-.agent-home-editable.is-error {
- box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.7);
-}
-/* Empty-state placeholder (no actual <input>, so we render via :before). */
-.agent-home-editable:empty:not(.is-editing):before {
- content: attr(data-placeholder);
- color: rgba(255, 255, 255, 0.28);
- font-style: italic;
-}
-
-.agent-home-description {
- margin: 4px 0 0;
- font-size: var(--text-xs);
- font-weight: 400;
- color: rgba(255, 255, 255, 0.55);
- line-height: 1.45;
- white-space: normal;
-}
-.agent-home-description.agent-home-editable {
- cursor: text;
-}
-
-.agent-home-status-sep {
- color: rgba(255, 255, 255, 0.2);
- margin: 0 2px;
-}
-
-.agent-home-status {
- display: flex;
- align-items: center;
- gap: 5px;
- font-size: var(--text-xs);
- color: rgba(255, 255, 255, 0.4);
- margin-top: 1px;
-}
-
-.agent-home-dot {
- width: 6px;
- height: 6px;
- border-radius: 50%;
- background: rgba(255, 255, 255, 0.3);
- flex-shrink: 0;
-}
-
-.agent-home-dot.online {
- background: #4ade80;
- box-shadow: 0 0 4px rgba(74, 222, 128, 0.5);
- animation: agent-dot-pulse 2.5s ease infinite;
-}
-
-@keyframes agent-dot-pulse {
- 0%,
- 100% {
- opacity: 1;
- }
- 50% {
- opacity: 0.5;
- }
-}
-
-#agent-home-emotion-label {
- transition: opacity 0.15s ease;
-}
-
-.agent-home-address {
- font-size: 10px;
- color: rgba(255, 255, 255, 0.35);
- font-family: var(--font-mono);
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
-}
-
-.agent-home-actions {
- display: flex;
- align-items: center;
- gap: var(--space-xs);
- flex-shrink: 0;
-}
-
-.agent-home-btn {
- background: none;
- border: 1px solid rgba(255, 255, 255, 0.1);
- border-radius: var(--radius-sm);
- color: rgba(255, 255, 255, 0.4);
- width: 24px;
- height: 24px;
- display: flex;
- align-items: center;
- justify-content: center;
- cursor: pointer;
- transition:
- color 0.2s,
- border-color 0.2s;
- padding: 0;
- font-size: var(--text-xs);
-}
-
-.agent-home-btn:hover {
- color: rgba(255, 255, 255, 0.8);
- border-color: rgba(255, 255, 255, 0.3);
-}
-
-.agent-home-badge {
- font-size: 9px;
- padding: 2px 5px;
- border-radius: 999px;
- display: flex;
- align-items: center;
- gap: 3px;
- white-space: nowrap;
-}
-
-.agent-home-badge.erc8004 {
- background: rgba(134, 239, 172, 0.12);
- color: #4ade80;
- border: 1px solid rgba(74, 222, 128, 0.25);
- width: 14px;
- height: 14px;
- padding: 0;
- justify-content: center;
- flex-shrink: 0;
-}
-
-/* ── Skills (collapsed) ────────────────────────────────────────────────────── */
-
-.agent-home-skills {
- border-top: 1px solid rgba(255, 255, 255, 0.05);
-}
-
-.agent-home-skills-summary {
- display: flex;
- align-items: center;
- gap: 6px;
- padding: var(--space-xs) var(--space-sm);
- font-size: 10px;
- color: rgba(255, 255, 255, 0.45);
- cursor: pointer;
- list-style: none;
- user-select: none;
- transition:
- color 0.15s,
- background 0.15s;
-}
-
-.agent-home-skills-summary::-webkit-details-marker {
- display: none;
-}
-
-.agent-home-skills-summary:hover {
- color: rgba(255, 255, 255, 0.75);
- background: rgba(255, 255, 255, 0.02);
-}
-
-.agent-home-skills-label {
- font-weight: 500;
- letter-spacing: 0.04em;
- text-transform: uppercase;
-}
-
-.agent-home-skills-count {
- color: rgba(255, 255, 255, 0.35);
- font-variant-numeric: tabular-nums;
-}
-
-.agent-home-chevron {
- margin-left: auto;
- color: rgba(255, 255, 255, 0.3);
- transition: transform 0.2s ease;
-}
-
-.agent-home-skills[open] .agent-home-chevron {
- transform: rotate(180deg);
-}
-
-.agent-home-skills-strip {
- display: flex;
- flex-wrap: wrap;
- gap: 4px;
- padding: 0 var(--space-sm) var(--space-xs);
-}
-
-.agent-skill-chip {
- font-size: 9px;
- padding: 2px 6px;
- border-radius: 999px;
- background: rgba(255, 255, 255, 0.06);
- color: rgba(255, 255, 255, 0.45);
- border: 1px solid rgba(255, 255, 255, 0.08);
- cursor: default;
- transition:
- background 0.15s,
- color 0.15s;
- white-space: nowrap;
-}
-
-.agent-skill-chip:hover {
- background: rgba(255, 255, 255, 0.1);
- color: rgba(255, 255, 255, 0.75);
-}
-
-/* ── Memory bar ────────────────────────────────────────────────────────────── */
-
-.agent-home-memory-bar {
- display: flex;
- align-items: center;
- gap: var(--space-xs);
- padding: var(--space-xs) var(--space-sm);
- border-top: 1px solid rgba(255, 255, 255, 0.05);
- flex-wrap: wrap;
-}
-
-.agent-mem-chip {
- font-size: 9px;
- color: rgba(255, 255, 255, 0.4);
- cursor: default;
-}
-
-.agent-mem-total {
- font-size: 9px;
- color: rgba(255, 255, 255, 0.2);
- margin-left: auto;
-}
-
-.agent-mem-empty {
- font-size: 9px;
- color: rgba(255, 255, 255, 0.2);
- font-style: italic;
-}
-
-/* ── Action timeline ───────────────────────────────────────────────────────── */
-
-.agent-home-timeline {
- max-height: 140px;
- overflow-y: auto;
- border-top: 1px solid rgba(255, 255, 255, 0.05);
- scrollbar-width: thin;
- scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
-}
-
-.agent-timeline-empty {
- display: flex;
- flex-direction: column;
- align-items: center;
- gap: 4px;
- padding: var(--space-md) var(--space-sm);
- text-align: center;
-}
-
-.agent-timeline-empty-icon {
- color: rgba(139, 92, 246, 0.4);
- margin-bottom: 2px;
-}
-
-.agent-timeline-empty-title {
- font-size: 10px;
- font-weight: 500;
- color: rgba(255, 255, 255, 0.55);
- letter-spacing: 0.02em;
-}
-
-.agent-timeline-empty-sub {
- font-size: 9px;
- color: rgba(255, 255, 255, 0.3);
- line-height: 1.4;
- max-width: 180px;
-}
-
-.agent-timeline-item {
- display: flex;
- align-items: flex-start;
- gap: var(--space-xs);
- padding: 4px var(--space-sm);
- border-bottom: 1px solid rgba(255, 255, 255, 0.03);
- transition: background 0.15s;
-}
-
-.agent-timeline-item:hover {
- background: rgba(255, 255, 255, 0.03);
-}
-
-.agent-timeline-icon {
- font-size: 10px;
- flex-shrink: 0;
- margin-top: 1px;
- width: 14px;
- text-align: center;
-}
-
-.agent-timeline-text {
- font-size: 9px;
- color: rgba(255, 255, 255, 0.5);
- flex: 1;
- min-width: 0;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
-}
-
-.agent-timeline-time {
- font-size: 9px;
- color: rgba(255, 255, 255, 0.2);
- flex-shrink: 0;
- white-space: nowrap;
-}
-
-@keyframes agent-timeline-in {
- from {
- opacity: 0;
- transform: translateY(-4px);
- }
- to {
- opacity: 1;
- transform: translateY(0);
- }
-}
-
-/* ── Edit affordance — pencil hint on hover ────────────────────────────────── */
-
-.agent-home-editable:hover:not(.is-editing)::after {
- content: ' ✎';
- font-size: 9px;
- opacity: 0.35;
- pointer-events: none;
-}
-
-/* ── Local-save feedback (amber — distinct from green API-saved) ─────────────── */
-
-.agent-home-editable.is-saved-local {
- box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.6);
-}
-
-/* ── Char counter ────────────────────────────────────────────────────────────── */
-
-.agent-edit-counter {
- display: none;
- font-size: 9px;
- color: rgba(255, 255, 255, 0.22);
- margin-left: 4px;
- font-variant-numeric: tabular-nums;
- pointer-events: none;
- user-select: none;
- transition: color 0.15s;
-}
-
-.agent-edit-counter--visible {
- display: inline;
-}
-
-.agent-edit-counter--warn {
- color: rgba(251, 191, 36, 0.6);
-}
-
-.agent-edit-counter--over {
- color: rgba(248, 113, 113, 0.8);
-}
-
-/* ── Wallet address CTA button ───────────────────────────────────────────────── */
-
-.agent-home-address--cta {
- background: none;
- border: none;
- padding: 0;
- cursor: pointer;
- color: rgba(255, 255, 255, 0.35);
- font-size: 10px;
- font-family: var(--font-mono);
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- transition: color 0.15s;
- text-decoration: underline dotted rgba(255, 255, 255, 0.2);
- text-underline-offset: 2px;
-}
-
-.agent-home-address--cta:hover {
- color: rgba(251, 191, 36, 0.85);
- text-decoration-color: rgba(251, 191, 36, 0.4);
-}
-
-/* ── Connect wallet nudge ────────────────────────────────────────────────────── */
-
-.agent-wallet-nudge {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: var(--space-xs);
- padding: 6px var(--space-sm);
- border-top: 1px solid rgba(255, 255, 255, 0.05);
- opacity: 0;
- transform: translateY(-4px);
- transition:
- opacity 0.25s ease,
- transform 0.25s ease;
-}
-
-.agent-wallet-nudge--visible {
- opacity: 1;
- transform: translateY(0);
-}
-
-.agent-wallet-nudge-text {
- font-size: 9px;
- color: rgba(255, 255, 255, 0.35);
- line-height: 1.3;
-}
-
-.agent-wallet-nudge-btn {
- background: none;
- border: 1px solid rgba(251, 191, 36, 0.35);
- border-radius: 999px;
- color: rgba(251, 191, 36, 0.8);
- font-size: 9px;
- padding: 2px 8px;
- cursor: pointer;
- white-space: nowrap;
- flex-shrink: 0;
- transition:
- background 0.15s,
- color 0.15s,
- border-color 0.15s;
-}
-
-.agent-wallet-nudge-btn:hover {
- background: rgba(251, 191, 36, 0.1);
- color: rgba(251, 191, 36, 1);
- border-color: rgba(251, 191, 36, 0.6);
-}
-
-/* ── NichAgent updates — emotion dot in header ─────────────────────────────── */
-
-.nich-header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: var(--space-sm) var(--space-md);
- border-bottom: 1px solid rgba(255, 255, 255, 0.08);
- background: rgba(255, 255, 255, 0.03);
-}
-
-.nich-header-right {
- display: flex;
- align-items: center;
- gap: var(--space-sm);
-}
-
-.nich-emotion-dot {
- width: 8px;
- height: 8px;
- border-radius: 50%;
- background: rgba(255, 255, 255, 0.2);
- transition:
- background 0.4s ease,
- box-shadow 0.4s ease;
-}
-
-.nich-model-select {
- background: rgba(255, 255, 255, 0.06);
- color: rgba(255, 255, 255, 0.78);
- border: 1px solid rgba(255, 255, 255, 0.1);
- border-radius: 6px;
- padding: 2px 6px;
- font-size: 11px;
- font-family: inherit;
- max-width: 150px;
- cursor: pointer;
- outline: none;
- transition: border-color 0.15s ease, background 0.15s ease;
-}
-
-.nich-model-select:hover {
- border-color: rgba(255, 255, 255, 0.25);
- background: rgba(255, 255, 255, 0.1);
-}
-
-.nich-model-select:focus {
- border-color: var(--nich-accent, rgba(120, 180, 255, 0.6));
-}
-
-.nich-model-select option {
- background: #1a1a1a;
- color: #e0e0e0;
-}
-
-.nich-toggle-label {
- font-size: 10px;
- margin-top: 3px;
- display: block;
- color: rgba(255, 255, 255, 0.5);
-}
-
-.nich-message.status {
- font-size: var(--text-xs);
- color: rgba(255, 255, 255, 0.3);
- font-style: italic;
- padding: 2px var(--space-xs);
-}
-
-.nich-message.typing {
- color: rgba(255, 255, 255, 0.4);
- letter-spacing: 2px;
- animation: nich-typing 1.1s ease-in-out infinite;
-}
-
-@keyframes nich-typing {
- 0%,
- 100% {
- opacity: 0.35;
- }
- 50% {
- opacity: 0.85;
- }
-}
-
-.nich-mic-hint {
- font-size: var(--text-xs);
- color: rgba(255, 255, 255, 0.25);
-}
-
-.nich-mic-row {
- display: flex;
- align-items: center;
- gap: var(--space-sm);
- padding: var(--space-xs) var(--space-md);
- border-top: 1px solid rgba(255, 255, 255, 0.05);
-}
-
-/* ── Responsive — hide sidebar on narrow viewports ─────────────────────────── */
-
-@media screen and (max-width: 900px) {
- .agent-presence-sidebar {
- display: none;
- }
-}
-
-/* ── Agent Home standalone page ─────────────────────────────────────────────── */
-
-.agent-home-page {
- min-height: 100vh;
- background: #000;
- color: #e0e0e0;
- font-family: 'Inter', sans-serif;
- display: flex;
- flex-direction: column;
- align-items: center;
- padding: var(--space-2xl) var(--space-md);
-}
-
-.agent-home-page-card {
- width: 100%;
- max-width: 480px;
- background: rgba(15, 15, 22, 0.95);
- border: 1px solid rgba(255, 255, 255, 0.08);
- border-radius: 12px;
- overflow: hidden;
-}
-
-.agent-home-page-card .agent-home-panel {
- background: transparent;
- border: none;
- border-radius: 0;
-}
-
-.agent-home-page-card .agent-home-timeline {
- max-height: 400px;
-}
-
-/******************************************************************************
- * Animation Panel (Mixamo-style action selector)
- */
-
-.anim-panel {
- position: absolute;
- bottom: var(--space-lg);
- left: 50%;
- transform: translateX(-50%);
- z-index: 20;
- background: linear-gradient(180deg, rgba(18, 18, 26, 0.92) 0%, rgba(10, 10, 16, 0.92) 100%);
- border: 1px solid rgba(255, 255, 255, 0.08);
- border-radius: var(--radius-lg);
- backdrop-filter: blur(18px);
- -webkit-backdrop-filter: blur(18px);
- padding: var(--space-xs) var(--space-sm);
- max-width: 90vw;
- box-shadow:
- 0 8px 32px rgba(0, 0, 0, 0.45),
- inset 0 1px 0 rgba(255, 255, 255, 0.04);
- animation: anim-panel-in 0.3s ease;
-}
-
-@keyframes anim-panel-in {
- from {
- opacity: 0;
- transform: translateX(-50%) translateY(12px);
- }
- to {
- opacity: 1;
- transform: translateX(-50%) translateY(0);
- }
-}
-
-.anim-panel--empty {
- display: none;
-}
-
-.anim-panel__header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: var(--space-3xs) var(--space-xs);
- margin-bottom: var(--space-3xs);
-}
-
-.anim-panel__title {
- font-size: var(--text-xs);
- color: rgba(255, 255, 255, 0.4);
- font-weight: 500;
- letter-spacing: 0.06em;
- text-transform: uppercase;
-}
-
-.anim-panel__stop {
- background: none;
- border: none;
- color: rgba(255, 255, 255, 0.3);
- font-size: var(--text-sm);
- cursor: pointer;
- padding: 2px 6px;
- border-radius: var(--radius-sm);
- transition:
- color 0.2s,
- background 0.2s;
- line-height: 1;
-}
-
-.anim-panel__stop:hover {
- color: #f87171;
- background: rgba(248, 113, 113, 0.1);
-}
-
-.anim-panel__grid {
- display: flex;
- gap: var(--space-xs);
- overflow-x: auto;
- scrollbar-width: thin;
- scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
- padding-bottom: 2px;
-}
-
-.anim-btn {
- position: relative;
- display: flex;
- flex-direction: column;
- align-items: center;
- gap: 3px;
- padding: var(--space-xs) var(--space-sm);
- min-width: 64px;
- background: rgba(255, 255, 255, 0.04);
- border: 1px solid rgba(255, 255, 255, 0.08);
- border-radius: var(--radius-md);
- color: rgba(255, 255, 255, 0.6);
- font-family: inherit;
- font-size: var(--text-xs);
- cursor: pointer;
- transition: all 0.2s ease;
- flex-shrink: 0;
-}
-
-.anim-btn__key {
- position: absolute;
- top: 3px;
- right: 4px;
- font-family: var(--font-mono);
- font-size: 8px;
- font-weight: 600;
- color: rgba(255, 255, 255, 0.25);
- padding: 1px 3px;
- border-radius: 2px;
- background: rgba(255, 255, 255, 0.04);
- line-height: 1;
- pointer-events: none;
- transition:
- color 0.18s,
- background 0.18s;
-}
-
-.anim-btn:hover .anim-btn__key {
- color: rgba(255, 255, 255, 0.6);
- background: rgba(255, 255, 255, 0.08);
-}
-
-.anim-btn--active .anim-btn__key {
- color: #fff;
- background: rgba(139, 92, 246, 0.35);
-}
-
-.anim-btn:hover:not(:disabled) {
- background: rgba(255, 255, 255, 0.1);
- border-color: rgba(255, 255, 255, 0.2);
- color: #fff;
-}
-
-.anim-btn--active {
- background: var(--accent-soft);
- border-color: rgba(139, 92, 246, 0.5);
- color: #fff;
- box-shadow: 0 0 16px rgba(139, 92, 246, 0.18);
-}
-
-.anim-btn--active:hover {
- background: rgba(139, 92, 246, 0.28);
-}
-
-.anim-btn--loading {
- opacity: 0.35;
- cursor: wait;
-}
-
-.anim-btn__icon {
- font-size: 1.3rem;
- line-height: 1;
-}
-
-.anim-btn__label {
- font-size: 9px;
- font-weight: 500;
- letter-spacing: 0.03em;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- max-width: 72px;
-}
-
-@media screen and (max-width: 700px) {
- .anim-panel {
- bottom: var(--space-sm);
- padding: var(--space-3xs) var(--space-xs);
- max-width: 95vw;
- }
-
- .anim-btn {
- min-width: 52px;
- padding: var(--space-3xs) var(--space-xs);
- }
-
- .anim-btn__icon {
- font-size: 1.1rem;
- }
-
- .anim-btn__label {
- font-size: 8px;
- }
-}
-
-/******************************************************************************
- * Editor — Scene Explorer side panel, Texture Inspector, Texture Lightbox
- * All dark-themed to match the existing viewer chrome.
- */
-
-.scene-explorer {
- position: absolute;
- top: var(--space-sm);
- left: var(--space-sm);
- width: 320px;
- max-height: calc(100% - var(--space-lg));
- background: rgba(20, 20, 28, 0.96);
- color: #e0e0e0;
- border: 1px solid #2a2a36;
- border-radius: var(--radius-md);
- box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
- display: flex;
- flex-direction: column;
- font-size: var(--text-sm);
- z-index: 40;
- backdrop-filter: blur(8px);
- overflow: hidden;
-}
-.scene-explorer.hidden {
- display: none;
-}
-
-.scene-explorer__header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: var(--space-sm) var(--space-md);
- border-bottom: 1px solid #2a2a36;
- background: #0f0f16;
-}
-.scene-explorer__title {
- font-weight: 600;
- font-size: var(--text-sm);
- letter-spacing: 0.02em;
- text-transform: uppercase;
- color: #b4a4ff;
-}
-.scene-explorer__close {
- background: none;
- border: none;
- color: #aaa;
- font-size: 18px;
- line-height: 1;
- padding: 2px 8px;
- cursor: pointer;
- border-radius: 4px;
-}
-.scene-explorer__close:hover {
- background: #2a2a36;
- color: #fff;
-}
-
-.scene-explorer__search {
- margin: var(--space-xs) var(--space-sm);
- background: #0b0b12;
- border: 1px solid #2a2a36;
- color: #ddd;
- padding: 6px 10px;
- border-radius: 4px;
- font-size: var(--text-sm);
- outline: none;
-}
-.scene-explorer__search:focus {
- border-color: #5e4fff;
-}
-
-.scene-explorer__hint {
- padding: 2px var(--space-sm) var(--space-xs);
- color: #666;
- font-size: 10px;
- font-family: monospace;
-}
-
-.scene-explorer__tree {
- flex: 1;
- overflow-y: auto;
- padding: var(--space-2xs) var(--space-2xs);
- max-height: 40vh;
- border-bottom: 1px solid #2a2a36;
-}
-.scene-explorer__inspector {
- overflow-y: auto;
- padding: var(--space-sm);
- max-height: 40vh;
- background: #0c0c14;
-}
-.scene-explorer__empty {
- color: #666;
- font-size: var(--text-xs);
- padding: var(--space-sm);
- text-align: center;
-}
-
-.scene-node {
-}
-.scene-node__row {
- display: flex;
- align-items: center;
- gap: 4px;
- padding: 3px 4px;
- cursor: pointer;
- border-radius: 3px;
- line-height: 1.4;
- user-select: none;
-}
-.scene-node__row:hover {
- background: #1a1a26;
-}
-.scene-node__row.selected {
- background: #2a1f5a;
- color: #fff;
-}
-.scene-node__expander {
- display: inline-block;
- width: 12px;
- color: #888;
- text-align: center;
- font-size: 10px;
- flex-shrink: 0;
-}
-.scene-node__icon {
- flex-shrink: 0;
- font-size: 12px;
-}
-.scene-node__label {
- flex: 1;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- font-size: 12px;
-}
-.scene-node__visibility {
- background: none;
- border: none;
- color: #888;
- font-size: 10px;
- cursor: pointer;
- padding: 0 4px;
- flex-shrink: 0;
-}
-.scene-node__visibility:hover {
- color: #fff;
-}
-
-.scene-node__children {
- display: none;
-}
-.scene-node__children.open {
- display: block;
-}
-.scene-node.filtered-out {
- display: none;
-}
-
-.inspector__title {
- font-size: var(--text-base);
- font-weight: 600;
- color: #fff;
- margin-bottom: 2px;
-}
-.inspector__sub {
- color: #666;
- font-size: 10px;
- font-family: monospace;
- margin-bottom: var(--space-xs);
-}
-.inspector__section {
- margin-top: var(--space-sm);
- margin-bottom: var(--space-2xs);
- font-size: 10px;
- text-transform: uppercase;
- letter-spacing: 0.08em;
- color: #888;
- border-bottom: 1px solid #22222e;
- padding-bottom: 2px;
-}
-.inspector__row {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: var(--space-xs);
- padding: 2px 0;
- font-size: 11px;
-}
-.inspector__label {
- color: #888;
- flex-shrink: 0;
- min-width: 40px;
-}
-.inspector__value {
- color: #ccc;
- font-family: monospace;
- text-align: right;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
-}
-.vec3-row .vec3 {
- display: flex;
- gap: 2px;
-}
-.vec3-row input {
- width: 52px;
- background: #0b0b12;
- border: 1px solid #2a2a36;
- color: #ccc;
- padding: 2px 4px;
- border-radius: 3px;
- font-size: 10px;
- font-family: monospace;
- outline: none;
-}
-.vec3-row input:focus {
- border-color: #5e4fff;
-}
-
-.inspector__actions {
- display: flex;
- gap: var(--space-2xs);
- margin-top: var(--space-2xs);
- flex-wrap: wrap;
-}
-.inspector__actions button {
- background: #22222e;
- border: 1px solid #33334a;
- color: #ccc;
- padding: 4px 8px;
- border-radius: 3px;
- font-size: 10px;
- cursor: pointer;
-}
-.inspector__actions button:hover {
- background: #2e2e40;
- color: #fff;
-}
-
-/* Texture Inspector modal */
-.texture-inspector {
- position: fixed;
- top: 80px;
- right: 20px;
- width: min(560px, calc(100vw - 40px));
- max-height: calc(100vh - 100px);
- background: rgba(20, 20, 28, 0.98);
- border: 1px solid #2a2a36;
- border-radius: var(--radius-md);
- box-shadow: 0 15px 60px rgba(0, 0, 0, 0.6);
- display: flex;
- flex-direction: column;
- z-index: 9998;
- color: #e0e0e0;
- overflow: hidden;
-}
-.texture-inspector__header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: var(--space-sm) var(--space-md);
- border-bottom: 1px solid #2a2a36;
- background: #0f0f16;
-}
-.texture-inspector__title {
- font-weight: 600;
- font-size: var(--text-sm);
- color: #b4a4ff;
- text-transform: uppercase;
- letter-spacing: 0.02em;
-}
-.texture-inspector__close {
- background: none;
- border: none;
- color: #aaa;
- font-size: 18px;
- cursor: pointer;
- padding: 2px 8px;
- border-radius: 4px;
-}
-.texture-inspector__close:hover {
- background: #2a2a36;
- color: #fff;
-}
-
-.texture-inspector__grid {
- display: grid;
- grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
- gap: var(--space-sm);
- padding: var(--space-sm);
- overflow-y: auto;
-}
-
-.texture-card {
- background: #0c0c14;
- border: 1px solid #22222e;
- border-radius: var(--radius-sm);
- padding: var(--space-xs);
- cursor: pointer;
- transition:
- border-color 0.15s,
- transform 0.15s;
-}
-.texture-card:hover {
- border-color: #5e4fff;
- transform: translateY(-1px);
-}
-.texture-card__thumb {
- width: 100%;
- aspect-ratio: 1;
- background: #000
- url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><rect width="8" height="8" fill="%23333"/><rect x="8" y="8" width="8" height="8" fill="%23333"/></svg>')
- repeat;
- image-rendering: pixelated;
- border-radius: 3px;
- display: block;
-}
-.texture-card__info {
- margin-top: var(--space-2xs);
-}
-.texture-card__name {
- font-size: 11px;
- font-weight: 500;
- color: #ddd;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
-}
-.texture-card__meta {
- font-size: 10px;
- color: #888;
- font-family: monospace;
-}
-.texture-card__mats {
- font-size: 10px;
- color: #666;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- margin-top: 2px;
-}
-
-/* Texture Lightbox (full preview with channel toggles) */
-.texture-lightbox {
- position: fixed;
- inset: 0;
- background: rgba(5, 5, 10, 0.92);
- backdrop-filter: blur(4px);
- z-index: 9999;
- display: flex;
- flex-direction: column;
-}
-.texture-lightbox__bar {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: var(--space-sm) var(--space-md);
- background: #0b0b12;
- border-bottom: 1px solid #2a2a36;
- gap: var(--space-md);
- flex-wrap: wrap;
-}
-.texture-lightbox__meta {
- display: flex;
- flex-direction: column;
- gap: 2px;
-}
-.texture-lightbox__title {
- font-weight: 600;
- font-size: var(--text-sm);
- color: #fff;
-}
-.texture-lightbox__dim {
- font-family: monospace;
- font-size: 10px;
- color: #888;
-}
-.texture-lightbox__channels {
- display: flex;
- gap: 2px;
-}
-.texture-lightbox__channels button {
- background: #22222e;
- border: 1px solid #33334a;
- color: #aaa;
- padding: 4px 10px;
- border-radius: 3px;
- font-size: 11px;
- font-family: monospace;
- cursor: pointer;
- min-width: 32px;
-}
-.texture-lightbox__channels button:hover {
- background: #2e2e40;
- color: #fff;
-}
-.texture-lightbox__channels button.active {
- background: #5e4fff;
- border-color: #7262ff;
- color: #fff;
-}
-.texture-lightbox__close {
- background: none;
- border: none;
- color: #aaa;
- font-size: 22px;
- cursor: pointer;
- padding: 2px 10px;
- border-radius: 4px;
-}
-.texture-lightbox__close:hover {
- background: #2a2a36;
- color: #fff;
-}
-.texture-lightbox__stage {
- flex: 1;
- display: flex;
- align-items: center;
- justify-content: center;
- overflow: hidden;
- padding: var(--space-md);
- background:
- linear-gradient(45deg, #1a1a22 25%, transparent 25%),
- linear-gradient(-45deg, #1a1a22 25%, transparent 25%),
- linear-gradient(45deg, transparent 75%, #1a1a22 75%),
- linear-gradient(-45deg, transparent 75%, #1a1a22 75%);
- background-size: 20px 20px;
- background-position:
- 0 0,
- 0 10px,
- 10px -10px,
- 10px 0;
- cursor: grab;
-}
-.texture-lightbox__viewport {
- position: relative;
- max-width: 100%;
- max-height: 100%;
- display: flex;
- align-items: center;
- justify-content: center;
-}
-.texture-lightbox__canvas {
- max-width: min(90vw, 1200px);
- max-height: calc(100vh - 160px);
- object-fit: contain;
- image-rendering: pixelated;
- border: 1px solid #2a2a36;
- background: #000;
- transform-origin: center center;
- transition: none;
-}
-.texture-lightbox__uv {
- position: absolute;
- inset: 0;
- max-width: min(90vw, 1200px);
- max-height: calc(100vh - 160px);
- object-fit: contain;
- pointer-events: none;
- transform-origin: center center;
-}
-.texture-lightbox__footer {
- padding: var(--space-xs) var(--space-md);
- background: #0b0b12;
- border-top: 1px solid #2a2a36;
- color: #888;
- font-size: 11px;
- font-family: monospace;
-}
-
-@media (max-width: 700px) {
- .scene-explorer {
- width: calc(100vw - var(--space-md));
- max-height: calc(100vh - var(--space-xl));
- top: var(--space-xs);
- left: var(--space-xs);
- right: var(--space-xs);
- }
- .texture-inspector {
- top: var(--space-xs);
- right: var(--space-xs);
- left: var(--space-xs);
- width: auto;
- max-height: calc(100vh - var(--space-lg));
- }
- .texture-lightbox__bar {
- padding: var(--space-xs);
- gap: var(--space-xs);
- }
-}
-
-/* ============================================================================
- AUTH GATE — hides power tools from anonymous visitors on the main viewer
- ============================================================================ */
-
-.auth-gate {
- display: none;
-}
-
-body[data-viewer-mode='main'][data-authed='pending'] #agent-presence-sidebar,
-body[data-viewer-mode='main'][data-authed='pending'] .dg.main {
- visibility: hidden !important;
-}
-
-body[data-viewer-mode='main'][data-authed='false'] #agent-presence-sidebar,
-body[data-viewer-mode='main'][data-authed='false'] .dg.main {
- display: none !important;
-}
-
-body[data-viewer-mode='main'][data-authed='false'] .auth-gate {
- display: block;
- animation: auth-gate-in 0.4s ease;
-}
-
-@keyframes auth-gate-in {
- from {
- opacity: 0;
- transform: translateY(8px);
- }
- to {
- opacity: 1;
- transform: translateY(0);
- }
-}
-
-.auth-gate {
- position: fixed;
- top: calc(var(--header-h) + var(--space-md));
- left: var(--space-md);
- width: 300px;
- z-index: 50;
-}
-
-/* ── First-time onboarding banner ─────────────────────────────────────────── */
-
-.agent-onboarding {
- position: fixed;
- right: var(--space-md);
- bottom: calc(var(--space-md) + 80px);
- width: min(360px, calc(100vw - var(--space-md) * 2));
- z-index: 60;
- animation: agent-onboarding-rise 0.32s ease-out;
-}
-
-.agent-onboarding[hidden] {
- display: none;
-}
-
-@keyframes agent-onboarding-rise {
- from {
- opacity: 0;
- transform: translateY(12px);
- }
- to {
- opacity: 1;
- transform: translateY(0);
- }
-}
-
-.agent-onboarding__inner {
- position: relative;
- background: linear-gradient(180deg, rgba(20, 20, 30, 0.96), rgba(10, 10, 18, 0.96));
- border: 1px solid rgba(167, 139, 250, 0.32);
- border-radius: var(--radius-lg);
- padding: var(--space-md) var(--space-md) var(--space-md);
- backdrop-filter: blur(20px);
- -webkit-backdrop-filter: blur(20px);
- box-shadow:
- 0 20px 50px rgba(0, 0, 0, 0.55),
- 0 1px 0 rgba(255, 255, 255, 0.04) inset,
- 0 -40px 80px -40px rgba(139, 92, 246, 0.35) inset;
- color: rgba(255, 255, 255, 0.92);
- overflow: hidden;
-}
-
-.agent-onboarding__inner::before {
- content: '';
- position: absolute;
- inset: 0 0 auto 0;
- height: 1px;
- background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.55), transparent);
- pointer-events: none;
-}
-
-.agent-onboarding__close {
- position: absolute;
- top: 0.4rem;
- right: 0.55rem;
- background: transparent;
- border: 0;
- color: rgba(255, 255, 255, 0.45);
- font-size: 1.4rem;
- line-height: 1;
- cursor: pointer;
- width: 32px;
- height: 32px;
- border-radius: 6px;
- transition:
- color 0.15s,
- background 0.15s;
-}
-
-.agent-onboarding__close:hover {
- color: #fff;
- background: rgba(255, 255, 255, 0.06);
-}
-
-.agent-onboarding__close:focus-visible {
- outline: 2px solid rgba(167, 139, 250, 0.7);
- outline-offset: 2px;
-}
-
-.agent-onboarding__title {
- font-family: 'Space Grotesk', 'Inter', sans-serif;
- margin: 0 0 var(--space-xs);
- font-size: 1.1rem;
- font-weight: 600;
- letter-spacing: -0.015em;
- color: #fff;
- padding-right: var(--space-lg);
-}
-
-.agent-onboarding__desc {
- margin: 0 0 var(--space-md);
- font-size: var(--text-sm);
- color: rgba(255, 255, 255, 0.62);
- line-height: 1.55;
-}
-
-.agent-onboarding__actions {
- display: flex;
- gap: var(--space-sm);
- flex-wrap: wrap;
-}
-
-.agent-onboarding__btn {
- display: inline-flex;
- align-items: center;
- padding: 0.5em 0.95em;
- border-radius: var(--radius-md);
- font-size: var(--text-sm);
- font-weight: 500;
- font-family: inherit;
- text-decoration: none;
- border: 1px solid rgba(255, 255, 255, 0.14);
- background: rgba(255, 255, 255, 0.04);
- color: rgba(255, 255, 255, 0.82);
- cursor: pointer;
- transition:
- background 0.18s ease,
- border-color 0.18s ease,
- color 0.18s ease,
- transform 0.18s ease;
-}
-
-.agent-onboarding__btn:hover {
- color: #fff;
- border-color: rgba(255, 255, 255, 0.28);
- background: rgba(255, 255, 255, 0.08);
-}
-
-.agent-onboarding__btn:active {
- transform: translateY(1px);
-}
-
-.agent-onboarding__btn:focus-visible {
- outline: 2px solid rgba(167, 139, 250, 0.7);
- outline-offset: 2px;
-}
-
-.agent-onboarding__btn--primary {
- background: linear-gradient(180deg, rgba(139, 92, 246, 0.95), rgba(124, 58, 237, 0.95));
- border-color: rgba(167, 139, 250, 0.7);
- color: #fff;
- box-shadow:
- 0 4px 14px rgba(139, 92, 246, 0.32),
- 0 1px 0 rgba(255, 255, 255, 0.15) inset;
-}
-
-.agent-onboarding__btn--primary:hover {
- background: linear-gradient(180deg, rgba(151, 109, 255, 1), rgba(139, 92, 246, 1));
- border-color: rgba(167, 139, 250, 0.9);
- color: #fff;
-}
-
-@media (max-width: 700px) {
- .agent-onboarding {
- left: var(--space-md);
- right: var(--space-md);
- bottom: calc(var(--space-md) + 90px);
- width: auto;
- }
-}
-
-.auth-gate__inner {
- position: relative;
- background: linear-gradient(180deg, rgba(20, 20, 30, 0.92) 0%, rgba(10, 10, 18, 0.94) 100%);
- border: 1px solid rgba(255, 255, 255, 0.08);
- border-radius: var(--radius-lg);
- backdrop-filter: blur(22px) saturate(140%);
- -webkit-backdrop-filter: blur(22px) saturate(140%);
- padding: var(--space-md) var(--space-md) var(--space-sm);
- box-shadow:
- 0 20px 60px rgba(0, 0, 0, 0.55),
- 0 1px 0 rgba(255, 255, 255, 0.05) inset,
- 0 -20px 40px -20px rgba(139, 92, 246, 0.25) inset;
- overflow: hidden;
-}
-
-.auth-gate__inner::before {
- content: '';
- position: absolute;
- inset: 0 0 auto 0;
- height: 1px;
- background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.5), transparent);
- pointer-events: none;
-}
-
-.auth-gate__eyebrow {
- display: inline-flex;
- align-items: center;
- gap: 0.42rem;
- font-size: var(--text-xs);
- color: rgba(167, 139, 250, 0.85);
- font-weight: 600;
- letter-spacing: 0.1em;
- text-transform: uppercase;
- margin-bottom: var(--space-sm);
- padding: 0.18rem 0.5rem;
- border-radius: 999px;
- background: rgba(139, 92, 246, 0.1);
- border: 1px solid rgba(139, 92, 246, 0.25);
-}
-
-.auth-gate__lock {
- width: 0.85em;
- height: 0.85em;
- opacity: 0.9;
-}
-
-.auth-gate__title {
- font-family: 'Space Grotesk', 'Inter', sans-serif;
- font-size: 1.32rem;
- font-weight: 600;
- color: #fff;
- margin: 0 0 var(--space-2xs);
- letter-spacing: -0.018em;
- line-height: 1.18;
-}
-
-.auth-gate__desc {
- font-size: var(--text-sm);
- line-height: 1.55;
- color: rgba(255, 255, 255, 0.62);
- margin: 0 0 var(--space-md);
-}
-
-.auth-gate__actions {
- display: flex;
- gap: var(--space-xs);
- margin-bottom: var(--space-sm);
-}
-
-.auth-gate__btn {
- flex: 1;
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 0.55rem var(--space-sm);
- border-radius: var(--radius-md);
- font-size: var(--text-sm);
- font-weight: 500;
- text-decoration: none;
- border: 1px solid rgba(255, 255, 255, 0.12);
- color: rgba(255, 255, 255, 0.82);
- background: rgba(255, 255, 255, 0.04);
- transition:
- background 0.18s ease,
- border-color 0.18s ease,
- color 0.18s ease,
- transform 0.18s ease;
-}
-
-.auth-gate__btn:hover {
- background: rgba(255, 255, 255, 0.09);
- border-color: rgba(255, 255, 255, 0.22);
- color: #fff;
-}
-
-.auth-gate__btn:active {
- transform: translateY(1px);
-}
-
-.auth-gate__btn--primary {
- background: linear-gradient(180deg, #fff, #e8e8ef);
- color: #0a0a10;
- border-color: rgba(255, 255, 255, 0.9);
- font-weight: 600;
-}
-
-.auth-gate__btn--primary:hover {
- background: #fff;
- color: #0a0a10;
- border-color: #fff;
-}
-
-.auth-gate__perks {
- list-style: none;
- padding: var(--space-sm) 0 0;
- margin: 0;
- border-top: 1px solid rgba(255, 255, 255, 0.06);
-}
-
-.auth-gate__perks li {
- font-size: var(--text-xs);
- color: rgba(255, 255, 255, 0.55);
- padding: 0.18rem 0;
- display: flex;
- align-items: center;
- gap: 0.45rem;
- line-height: 1.5;
-}
-
-.auth-gate__perks li::before {
- content: '';
- flex-shrink: 0;
- width: 4px;
- height: 4px;
- border-radius: 50%;
- background: rgba(167, 139, 250, 0.6);
- box-shadow: 0 0 6px rgba(167, 139, 250, 0.4);
-}
-
-@media screen and (max-width: 700px) {
- .auth-gate {
- top: auto;
- bottom: var(--space-md);
- left: var(--space-sm);
- right: var(--space-sm);
- width: auto;
- }
-}
-
-/******************************************************************************
- * Publish Modal (post-publish share UI — editor "📤 publish as embed")
- */
-
-.publish-overlay {
- position: fixed;
- inset: 0;
- z-index: 120;
- display: flex;
- align-items: center;
- justify-content: center;
- background: rgba(0, 0, 0, 0.85);
- backdrop-filter: blur(18px);
- -webkit-backdrop-filter: blur(18px);
- animation: publish-fadein 0.2s ease;
-}
-
-@keyframes publish-fadein {
- from {
- opacity: 0;
- }
- to {
- opacity: 1;
- }
-}
-
-.publish-modal {
- width: 92vw;
- max-width: 560px;
- max-height: 85vh;
- display: flex;
- flex-direction: column;
- background: rgba(10, 10, 10, 0.96);
- border: 1px solid rgba(255, 255, 255, 0.08);
- border-radius: var(--radius-lg);
- overflow: hidden;
- box-shadow: 0 16px 64px rgba(0, 0, 0, 0.6);
- color: #e0e0e0;
-}
-
-.publish-header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: var(--space-sm) var(--space-lg);
- border-bottom: 1px solid rgba(255, 255, 255, 0.06);
- flex-shrink: 0;
-}
-
-.publish-title {
- font-size: var(--text-lg);
- font-weight: 500;
- color: #fff;
- letter-spacing: 0.03em;
-}
-
-.publish-close {
- background: none;
- border: none;
- color: rgba(255, 255, 255, 0.4);
- font-size: var(--text-2xl);
- cursor: pointer;
- padding: 0;
- line-height: 1;
- transition: color 0.2s ease;
-}
-
-.publish-close:hover {
- color: #fff;
-}
-
-.publish-body {
- padding: var(--space-lg);
- overflow-y: auto;
- flex: 1;
- min-height: 0;
-}
-
-/* ── Progress steps ──────────────────────────────────────────────────────── */
-
-.publish-steps {
- display: flex;
- flex-direction: column;
- gap: var(--space-xs);
-}
-
-.publish-step {
- display: flex;
- align-items: center;
- gap: var(--space-sm);
- padding: var(--space-xs) var(--space-sm);
- border-radius: var(--radius-md);
- font-size: var(--text-sm);
- color: rgba(255, 255, 255, 0.5);
- transition:
- color 0.2s ease,
- background 0.2s ease;
-}
-
-.publish-step--active {
- color: #fff;
- background: var(--accent-soft);
-}
-
-.publish-step--done {
- color: rgba(255, 255, 255, 0.85);
-}
-
-.publish-step-dot {
- width: 18px;
- height: 18px;
- border-radius: 50%;
- display: inline-flex;
- align-items: center;
- justify-content: center;
- font-size: 12px;
- line-height: 1;
- flex-shrink: 0;
- border: 1px solid rgba(255, 255, 255, 0.2);
- background: transparent;
- color: inherit;
- box-sizing: border-box;
-}
-
-.publish-step--done .publish-step-dot {
- background: var(--accent);
- border-color: var(--accent);
- color: #fff;
-}
-
-.publish-step--active .publish-step-dot {
- border-color: var(--accent);
- border-top-color: transparent;
- animation: publish-spin 0.9s linear infinite;
-}
-
-@keyframes publish-spin {
- from {
- transform: rotate(0deg);
- }
- to {
- transform: rotate(360deg);
- }
-}
-
-.note {
- font-size: var(--text-sm);
- color: #999;
- margin: 0 var(--space-md) var(--space-md);
-}
-.note a {
- color: #9a8cff;
-}
-
-
-/* ── Result state (snippets) ─────────────────────────────────────────────── */
-
-.publish-result {
- display: flex;
- flex-direction: column;
- gap: var(--space-md);
-}
-
-.publish-snippet {
- display: flex;
- flex-direction: column;
- gap: var(--space-2xs);
-}
-
-.publish-snippet-label {
- font-size: var(--text-sm);
- color: rgba(255, 255, 255, 0.55);
- letter-spacing: 0.02em;
-}
-
-.publish-snippet-row {
- display: flex;
- gap: var(--space-xs);
- align-items: stretch;
- min-width: 0;
-}
-
-.publish-snippet-value {
- flex: 1;
- min-width: 0;
- margin: 0;
- padding: var(--space-xs) var(--space-sm);
- background: rgba(255, 255, 255, 0.04);
- border: 1px solid rgba(255, 255, 255, 0.08);
- border-radius: var(--radius-md);
- color: #e0e0e0;
- font-family: var(--font-mono);
- font-size: var(--text-sm);
- overflow-x: auto;
- white-space: pre;
- line-height: var(--leading-tight);
-}
-
-.publish-snippet-value:focus {
- outline: 2px solid var(--accent);
- outline-offset: 1px;
-}
-
-.publish-snippet-actions {
- display: flex;
- gap: var(--space-2xs);
- flex-shrink: 0;
-}
-
-.publish-copy-btn,
-.publish-open-btn {
- background: rgba(255, 255, 255, 0.06);
- border: 1px solid rgba(255, 255, 255, 0.1);
- color: #e0e0e0;
- padding: 0 var(--space-sm);
- border-radius: var(--radius-md);
- font-size: var(--text-sm);
- cursor: pointer;
- white-space: nowrap;
- transition:
- background 0.15s ease,
- color 0.15s ease;
-}
-
-.publish-copy-btn:hover,
-.publish-open-btn:hover {
- background: var(--accent-soft);
- color: #fff;
-}
-
-.publish-copy-btn:disabled {
- color: var(--accent);
- background: var(--accent-soft);
- cursor: default;
-}
-
-/* ── Action rows (Done / Sign in / Retry / Cancel) ──────────────────────── */
-
-.publish-actions {
- display: flex;
- justify-content: flex-end;
- gap: var(--space-sm);
- margin-top: var(--space-sm);
-}
-
-.publish-done-btn,
-.publish-signin-btn,
-.publish-retry-btn,
-.publish-cancel-btn {
- background: rgba(255, 255, 255, 0.06);
- border: 1px solid rgba(255, 255, 255, 0.1);
- color: #e0e0e0;
- padding: var(--space-xs) var(--space-md);
- border-radius: var(--radius-md);
- font-size: var(--text-sm);
- cursor: pointer;
- transition:
- background 0.15s ease,
- color 0.15s ease,
- filter 0.15s ease;
-}
-
-.publish-done-btn,
-.publish-signin-btn,
-.publish-retry-btn {
- background: var(--accent);
- color: #fff;
- border-color: var(--accent);
-}
-
-.publish-done-btn:hover,
-.publish-signin-btn:hover,
-.publish-retry-btn:hover {
- filter: brightness(1.12);
-}
-
-.publish-cancel-btn:hover {
- background: var(--accent-soft);
- color: #fff;
-}
-
-/* ── Auth-required + error states ────────────────────────────────────────── */
-
-.publish-auth-msg {
- margin: 0 0 var(--space-md);
- color: rgba(255, 255, 255, 0.7);
- font-size: var(--text-sm);
- line-height: var(--leading-normal);
-}
-
-.publish-error-name {
- font-family: var(--font-mono);
- font-size: var(--text-sm);
- color: #f87171;
- margin-bottom: var(--space-xs);
-}
-
-.publish-error-message {
- font-size: var(--text-sm);
- color: rgba(255, 255, 255, 0.7);
- line-height: var(--leading-normal);
- margin-bottom: var(--space-md);
- word-break: break-word;
-}
-
-@media screen and (max-width: 700px) {
- .publish-modal {
- width: 100vw;
- max-width: none;
- max-height: 100vh;
- border-radius: 0;
- }
- .publish-snippet-row {
- flex-direction: column;
- }
- .publish-snippet-actions {
- justify-content: flex-end;
- }
-}
-
-/******************************************************************************
- * ERC-8004 Agent Studio — parity additions (hero, mainnet banner,
- * filter chips, batch tab, QR modal, export accordion, footer).
- */
-
-.erc8004-shell {
- width: 100%;
- max-width: 960px;
- margin: 0 auto;
-}
-
-.erc8004-hero {
- margin-bottom: var(--space-md);
-}
-
-.erc8004-hero-topbar {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: var(--space-md);
- margin-bottom: var(--space-lg);
- flex-wrap: wrap;
-}
-
-.erc8004-hero-body {
- text-align: center;
- padding: var(--space-lg) 0;
-}
-
-.erc8004-hero-badge {
- display: inline-flex;
- align-items: center;
- gap: 8px;
- padding: 6px 14px;
- border-radius: 20px;
- background: rgba(99, 102, 241, 0.15);
- border: 1px solid rgba(139, 92, 246, 0.35);
- color: #a5b4fc;
- font-size: 12px;
- font-weight: 500;
- margin-bottom: var(--space-md);
-}
-
-.erc8004-hero-dot {
- width: 8px;
- height: 8px;
- border-radius: 50%;
- background: #22c55e;
- box-shadow: 0 0 8px #22c55e;
-}
-
-.erc8004-hero-h1 {
- margin: 0 0 var(--space-sm);
- font-size: clamp(28px, 5vw, 44px);
- line-height: 1.1;
- font-weight: 600;
- color: #fff;
- letter-spacing: -0.02em;
-}
-
-.erc8004-hero-accent {
- background: linear-gradient(90deg, #6366f1, #a78bfa);
- -webkit-background-clip: text;
- background-clip: text;
- color: transparent;
-}
-
-.erc8004-hero-sub {
- max-width: 620px;
- margin: 0 auto var(--space-md);
- color: rgba(255, 255, 255, 0.55);
- font-size: var(--text-base);
- line-height: 1.6;
-}
-
-.erc8004-hero .erc8004-stats {
- max-width: 540px;
- margin: 0 auto;
-}
-
-.erc8004-mainnet-banner {
- padding: var(--space-sm) var(--space-md);
- margin-bottom: var(--space-md);
- background: rgba(239, 68, 68, 0.1);
- border: 1px solid rgba(239, 68, 68, 0.4);
- border-radius: var(--radius-md);
- color: #fca5a5;
- font-size: var(--text-sm);
- text-align: center;
-}
-
-/* Filter chips */
-.erc8004-filter-chips {
- display: flex;
- gap: 8px;
- flex-wrap: wrap;
- margin: var(--space-sm) 0;
-}
-
-.erc8004-chip {
- padding: 6px 14px;
- border-radius: 20px;
- font-size: 12px;
- font-weight: 500;
- background: rgba(255, 255, 255, 0.04);
- border: 1px solid rgba(255, 255, 255, 0.1);
- color: rgba(255, 255, 255, 0.6);
- cursor: pointer;
- font-family: inherit;
- transition: all 0.2s;
-}
-
-.erc8004-chip:hover {
- border-color: rgba(99, 102, 241, 0.5);
-}
-
-.erc8004-chip--active {
- background: rgba(99, 102, 241, 0.15);
- border-color: rgba(99, 102, 241, 0.5);
- color: #a5b4fc;
-}
-
-.erc8004-tag--x402 {
- background: rgba(124, 58, 237, 0.2);
- color: #c4b5fd;
- border-color: rgba(124, 58, 237, 0.4);
-}
-
-.erc8004-tag--owner {
- background: var(--accent-soft);
- color: var(--accent);
- border-color: var(--accent);
-}
-
-/* Batch tab */
-.erc8004-batch-drop {
- height: 140px;
- margin: var(--space-md) 0;
-}
-
-.erc8004-batch-drop-inner {
- pointer-events: none;
- text-align: center;
-}
-
-.erc8004-batch-drop-icon {
- font-size: 32px;
- margin-bottom: 8px;
-}
-
-.erc8004-batch-drop-title {
- font-weight: 600;
- color: rgba(255, 255, 255, 0.8);
- margin-bottom: 4px;
-}
-
-.erc8004-batch-drop-sub {
- font-size: 13px;
- color: rgba(255, 255, 255, 0.45);
-}
-
-.erc8004-batch-preview {
- margin-top: var(--space-md);
-}
-
-.erc8004-batch-list {
- max-height: 380px;
- overflow-y: auto;
- display: flex;
- flex-direction: column;
- gap: 6px;
-}
-
-.erc8004-batch-row {
- display: grid;
- grid-template-columns: auto 1fr auto;
- gap: 12px;
- align-items: center;
- padding: 8px 12px;
- background: rgba(255, 255, 255, 0.03);
- border: 1px solid rgba(255, 255, 255, 0.06);
- border-radius: var(--radius-sm);
-}
-
-.erc8004-batch-row-num {
- width: 24px;
- height: 24px;
- border-radius: 50%;
- background: rgba(99, 102, 241, 0.2);
- color: #a5b4fc;
- font-size: 12px;
- font-weight: 600;
- display: flex;
- align-items: center;
- justify-content: center;
-}
-
-.erc8004-batch-row-title {
- font-weight: 500;
- color: #fff;
-}
-
-.erc8004-batch-row-status {
- font-size: 12px;
-}
-
-.erc8004-batch-progress {
- margin-top: var(--space-md);
-}
-
-.erc8004-progress-bar {
- height: 6px;
- background: rgba(255, 255, 255, 0.08);
- border-radius: 3px;
- overflow: hidden;
- margin-bottom: 6px;
-}
-
-.erc8004-progress-fill {
- height: 100%;
- background: linear-gradient(90deg, #6366f1, #a78bfa);
- transition: width 0.3s;
- width: 0;
-}
-
-.erc8004-pre {
- font-family: monospace;
- font-size: 12px;
- background: rgba(0, 0, 0, 0.3);
- border: 1px solid rgba(255, 255, 255, 0.06);
- border-radius: var(--radius-sm);
- padding: 10px 12px;
- color: rgba(255, 255, 255, 0.7);
- white-space: pre-wrap;
- overflow-x: auto;
-}
-
-/* Step 3 — avatar source picker */
-.erc8004-avatar-sources {
- display: grid;
- grid-template-columns: 1fr 1fr;
- gap: var(--space-xs);
- margin: var(--space-sm) 0 var(--space-md);
-}
-
-@media (max-width: 640px) {
- .erc8004-avatar-sources {
- grid-template-columns: 1fr;
- }
-}
-
-.erc8004-avatar-source {
- display: flex;
- align-items: flex-start;
- gap: var(--space-xs);
- padding: var(--space-sm);
- background: rgba(255, 255, 255, 0.02);
- border: 1px solid rgba(255, 255, 255, 0.08);
- border-radius: var(--radius-md);
- cursor: pointer;
- transition:
- border-color 0.15s,
- background 0.15s;
-}
-
-.erc8004-avatar-source:hover {
- border-color: rgba(255, 255, 255, 0.18);
-}
-
-.erc8004-avatar-source--active {
- border-color: var(--accent);
- background: var(--accent-soft);
-}
-
-.erc8004-avatar-source--disabled {
- opacity: 0.5;
- cursor: not-allowed;
-}
-
-.erc8004-avatar-source input[type='radio'] {
- margin-top: 3px;
- accent-color: var(--accent);
-}
-
-.erc8004-avatar-source-title {
- font-size: var(--text-sm);
- font-weight: 500;
- color: #fff;
-}
-
-.erc8004-avatar-source-hint {
- margin-top: 2px;
- font-size: var(--text-xs);
- color: rgba(255, 255, 255, 0.45);
-}
-
-.erc8004-avatar-source-hint code {
- font-family: var(--font-mono);
- font-size: 0.92em;
- color: rgba(255, 255, 255, 0.6);
- word-break: break-all;
-}
-
-.erc8004-avatar-panel {
- margin-bottom: var(--space-md);
-}
-
-.erc8004-avatar-summary {
- display: flex;
- align-items: flex-start;
- gap: var(--space-sm);
- padding: var(--space-sm) var(--space-md);
- background: rgba(139, 92, 246, 0.08);
- border: 1px solid rgba(139, 92, 246, 0.25);
- border-radius: var(--radius-md);
- font-size: var(--text-sm);
- color: #fff;
-}
-
-.erc8004-avatar-summary code {
- font-family: var(--font-mono);
- font-size: 0.9em;
- word-break: break-all;
-}
-
-.erc8004-avatar-summary-badge {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- width: 22px;
- height: 22px;
- border-radius: 50%;
- background: var(--accent);
- color: #fff;
- font-size: var(--text-xs);
- font-weight: 700;
- flex-shrink: 0;
-}
-
-.erc8004-avatar-summary-badge--muted {
- background: rgba(255, 255, 255, 0.12);
- color: rgba(255, 255, 255, 0.55);
-}
-
-.erc8004-saved-grid {
- display: grid;
- grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
- gap: var(--space-xs);
- padding: var(--space-sm);
- background: rgba(255, 255, 255, 0.02);
- border: 1px solid rgba(255, 255, 255, 0.06);
- border-radius: var(--radius-md);
- min-height: 120px;
-}
-
-.erc8004-saved-card {
- display: flex;
- flex-direction: column;
- align-items: stretch;
- gap: 4px;
- padding: 4px;
- background: rgba(255, 255, 255, 0.04);
- border: 1px solid rgba(255, 255, 255, 0.08);
- border-radius: var(--radius-sm);
- cursor: pointer;
- text-align: left;
- color: inherit;
- font-family: inherit;
- transition:
- border-color 0.15s,
- background 0.15s;
-}
-
-.erc8004-saved-card:hover {
- border-color: rgba(255, 255, 255, 0.25);
-}
-
-.erc8004-saved-card--active {
- border-color: var(--accent);
- background: var(--accent-soft);
-}
-
-.erc8004-saved-card img,
-.erc8004-saved-card-ph {
- width: 100%;
- aspect-ratio: 1 / 1;
- object-fit: cover;
- border-radius: var(--radius-sm);
- background: rgba(255, 255, 255, 0.04);
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: var(--text-xs);
- color: rgba(255, 255, 255, 0.4);
- font-weight: 600;
- letter-spacing: 0.08em;
-}
-
-.erc8004-saved-card-name {
- font-size: var(--text-xs);
- color: rgba(255, 255, 255, 0.8);
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- padding: 0 2px 2px;
-}
-
-/* Accordion */
-.erc8004-accordion {
- margin-top: var(--space-md);
- background: rgba(255, 255, 255, 0.03);
- border: 1px solid rgba(255, 255, 255, 0.08);
- border-radius: var(--radius-md);
- overflow: hidden;
-}
-
-.erc8004-accordion-head {
- cursor: pointer;
- list-style: none;
- padding: 12px 14px;
- font-weight: 500;
- color: rgba(255, 255, 255, 0.8);
- display: flex;
- justify-content: space-between;
- align-items: center;
-}
-
-.erc8004-accordion-head::after {
- content: '▼';
- color: rgba(255, 255, 255, 0.4);
- font-size: 10px;
- transition: transform 0.2s;
-}
-
-.erc8004-accordion[open] .erc8004-accordion-head::after {
- transform: rotate(180deg);
-}
-
-.erc8004-accordion-head::-webkit-details-marker {
- display: none;
-}
-
-.erc8004-accordion-body {
- padding: 0 14px 14px;
- border-top: 1px solid rgba(255, 255, 255, 0.05);
-}
-
-/* Export options grid */
-.erc8004-export-grid {
- display: grid;
- grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
- gap: 8px;
- margin-top: 12px;
-}
-
-.erc8004-export-opt {
- padding: 14px;
- background: rgba(255, 255, 255, 0.04);
- border: 1px solid rgba(255, 255, 255, 0.08);
- border-radius: var(--radius-sm);
- color: #fff;
- font-family: inherit;
- cursor: pointer;
- text-align: center;
- transition: all 0.2s;
-}
-
-.erc8004-export-opt:hover {
- background: rgba(99, 102, 241, 0.1);
- border-color: rgba(139, 92, 246, 0.35);
-}
-
-.erc8004-export-emoji {
- font-size: 22px;
- margin-bottom: 6px;
-}
-
-.erc8004-export-title {
- font-size: 13px;
- font-weight: 600;
- margin-bottom: 2px;
-}
-
-.erc8004-export-sub {
- font-size: 11px;
- color: rgba(255, 255, 255, 0.45);
-}
-
-/* QR modal */
-.erc8004-modal {
- position: fixed;
- inset: 0;
- z-index: 600;
- background: rgba(0, 0, 0, 0.7);
- display: flex;
- align-items: center;
- justify-content: center;
- padding: var(--space-md);
-}
-
-.erc8004-modal-card {
- background: #0d0d12;
- border: 1px solid rgba(255, 255, 255, 0.12);
- border-radius: var(--radius-lg);
- padding: var(--space-lg);
- max-width: 420px;
- width: 100%;
- text-align: center;
-}
-
-.erc8004-modal-head {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: var(--space-sm);
-}
-
-.erc8004-checkbox {
- display: flex;
- align-items: center;
- gap: var(--space-sm);
- margin-bottom: var(--space-md);
- font-size: var(--text-sm);
- color: rgba(255, 255, 255, 0.75);
- cursor: pointer;
- user-select: none;
-}
-
-.erc8004-checkbox input[type='checkbox'] {
- width: 16px;
- height: 16px;
- accent-color: #b15bff;
- cursor: pointer;
-}
-
-.erc8004-qr-canvas-wrap {
- display: flex;
- justify-content: center;
- background: #fff;
- border-radius: var(--radius-sm);
- padding: 12px;
- margin: var(--space-sm) 0;
-}
-
-.erc8004-qr-canvas-wrap canvas {
- max-width: 100%;
- height: auto;
- image-rendering: pixelated;
-}
-
-.erc8004-qr-url {
- word-break: break-all;
- margin: 0 0 var(--space-sm);
-}
-
-/* Embed snippet modal */
-.erc8004-embed-tabs {
- display: flex;
- gap: 2px;
- margin: var(--space-md) 0 0;
- border-bottom: 1px solid rgba(255, 255, 255, 0.1);
- padding: 0;
- flex-wrap: wrap;
-}
-.erc8004-embed-tabs .erc8004-tab {
- padding: 8px 14px;
- background: transparent;
- border: 0;
- border-bottom: 2px solid transparent;
- color: rgba(255, 255, 255, 0.55);
- font-size: var(--text-sm);
- cursor: pointer;
- transition:
- color 0.15s,
- border-color 0.15s;
-}
-.erc8004-embed-tabs .erc8004-tab:hover {
- color: rgba(255, 255, 255, 0.9);
-}
-.erc8004-embed-tabs .erc8004-tab.is-active {
- color: #fff;
- border-bottom-color: var(--accent, #8b5cf6);
-}
-.erc8004-embed-panels {
- padding: var(--space-md) 0;
-}
-.erc8004-embed-panels > [data-panel] {
- display: flex;
- flex-direction: column;
- gap: var(--space-sm);
-}
-.erc8004-embed-panels > [data-panel][hidden] {
- display: none;
-}
-.erc8004-code {
- width: 100%;
- box-sizing: border-box;
- background: rgba(0, 0, 0, 0.4);
- color: #e5e7eb;
- border: 1px solid rgba(255, 255, 255, 0.1);
- border-radius: var(--radius-sm);
- padding: 10px 12px;
- font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
- font-size: 12px;
- line-height: 1.5;
- resize: vertical;
- user-select: all;
- white-space: pre;
- overflow-x: auto;
-}
-textarea.erc8004-code {
- min-height: 48px;
-}
-.erc8004-embed-policy {
- margin-top: var(--space-md);
- padding-top: var(--space-md);
- border-top: 1px solid rgba(255, 255, 255, 0.08);
-}
-.erc8004-embed-policy summary {
- cursor: pointer;
- color: rgba(255, 255, 255, 0.65);
- font-size: var(--text-sm);
- margin-bottom: var(--space-sm);
-}
-.erc8004-embed-policy summary:hover {
- color: #fff;
-}
-
-/* Footer */
-.erc8004-footer {
- margin-top: var(--space-lg);
- padding: var(--space-lg) 0;
- text-align: center;
- color: rgba(255, 255, 255, 0.45);
- font-size: var(--text-sm);
-}
-
-.erc8004-footer-links {
- display: flex;
- flex-wrap: wrap;
- justify-content: center;
- gap: var(--space-md);
- margin-bottom: var(--space-md);
-}
-
-.erc8004-footer-links a {
- color: rgba(255, 255, 255, 0.6);
- text-decoration: none;
-}
-
-.erc8004-footer-links a:hover {
- color: #fff;
-}
-
-.erc8004-footer-cols {
- display: grid;
- grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
- gap: var(--space-lg);
- max-width: 800px;
- margin: 0 auto var(--space-md);
- padding: var(--space-md) 0;
- border-top: 1px solid rgba(255, 255, 255, 0.08);
- border-bottom: 1px solid rgba(255, 255, 255, 0.08);
- text-align: left;
-}
-
-.erc8004-footer-col {
- display: flex;
- flex-direction: column;
- gap: 4px;
-}
-
-.erc8004-footer-title {
- font-weight: 600;
- color: rgba(255, 255, 255, 0.8);
- font-size: 11px;
- text-transform: uppercase;
- letter-spacing: 1px;
- margin-bottom: 4px;
-}
-
-.erc8004-footer-col a {
- color: rgba(255, 255, 255, 0.55);
- text-decoration: none;
- font-size: 13px;
-}
-
-.erc8004-footer-col a:hover {
- color: #fff;
-}
-
-.erc8004-footer-credit {
- margin: 0;
- font-size: 12px;
- color: rgba(255, 255, 255, 0.35);
-}
-
-.erc8004-footer-credit a {
- color: rgba(255, 255, 255, 0.55);
-}
-
-/* ─────────────────────────────────────────────────────────────────────────
- * /discover — ERC-8004 agent marketplace
- * chat-plugin-grid × etherscan-NFT-detail hybrid. Uses site tokens.
- * ───────────────────────────────────────────────────────────────────────── */
-
-.explore-main {
- max-width: 1280px;
- margin: 0 auto;
- padding: var(--space-xl) var(--space-lg);
-}
-
-.explore-hero {
- text-align: center;
- padding: var(--space-2xl) 0 var(--space-xl);
-}
-.explore-hero h2 {
- font-family: 'Space Grotesk', system-ui, sans-serif;
- font-size: clamp(2rem, 4vw, 3.2rem);
- font-weight: 700;
- letter-spacing: -0.02em;
- margin: var(--space-md) 0 var(--space-sm);
- color: #fff;
-}
-.explore-sub {
- max-width: 560px;
- margin: 0 auto;
- color: rgba(255, 255, 255, 0.6);
- font-size: 15px;
- line-height: 1.55;
-}
-.explore-hero-chips {
- display: inline-flex;
- flex-wrap: wrap;
- gap: 10px;
- justify-content: center;
-}
-.explore-hero-chip {
- display: inline-flex;
- align-items: center;
- gap: 8px;
- padding: 6px 14px;
- background: rgba(255, 255, 255, 0.06);
- border: 1px solid rgba(255, 255, 255, 0.2);
- border-radius: 99px;
- color: rgba(255, 255, 255, 0.85);
- font-size: 12px;
- font-weight: 600;
- letter-spacing: 0.02em;
- text-transform: uppercase;
-}
-.explore-hero-chip--link {
- text-decoration: none;
- background: transparent;
- border-color: rgba(255, 255, 255, 0.18);
- color: rgba(255, 255, 255, 0.78);
- transition:
- border-color 0.15s ease,
- color 0.15s ease,
- background 0.15s ease;
-}
-.explore-hero-chip--link:hover,
-.explore-hero-chip--link:focus-visible {
- border-color: rgba(255, 255, 255, 0.4);
- color: #fff;
- background: rgba(255, 255, 255, 0.08);
-}
-.explore-hero-dot {
- width: 6px;
- height: 6px;
- border-radius: 50%;
- background: #3b82f6;
- box-shadow: 0 0 10px #3b82f6;
-}
-
-.explore-stats {
- display: flex;
- justify-content: center;
- gap: var(--space-xl);
- margin-top: var(--space-xl);
- flex-wrap: wrap;
-}
-.explore-stat {
- text-align: center;
-}
-.explore-stat-value {
- font-family: 'Space Grotesk', system-ui, sans-serif;
- font-size: 28px;
- font-weight: 700;
- color: #fff;
-}
-.explore-stat-label {
- font-size: 11px;
- letter-spacing: 0.08em;
- text-transform: uppercase;
- color: rgba(255, 255, 255, 0.45);
- margin-top: 2px;
-}
-
-.explore-controls {
- display: flex;
- gap: var(--space-md);
- align-items: center;
- flex-wrap: wrap;
- margin: var(--space-xl) 0 var(--space-lg);
- padding: var(--space-md);
- background: rgba(255, 255, 255, 0.02);
- border: 1px solid rgba(255, 255, 255, 0.06);
- border-radius: var(--radius-md);
-}
-.explore-search {
- flex: 1 1 260px;
- position: relative;
-}
-.explore-search input {
- width: 100%;
- padding: 10px 36px 10px 14px;
- background: rgba(0, 0, 0, 0.4);
- border: 1px solid rgba(255, 255, 255, 0.08);
- border-radius: var(--radius-sm);
- color: #fff;
- font: inherit;
- font-size: 14px;
-}
-.explore-search input:focus {
- outline: none;
- border-color: rgba(255, 255, 255, 0.35);
- background: rgba(0, 0, 0, 0.6);
-}
-/* Hide native WebKit clear; we render our own. */
-.explore-search input[type='search']::-webkit-search-cancel-button {
- -webkit-appearance: none;
- appearance: none;
-}
-.explore-search-clear {
- position: absolute;
- top: 50%;
- right: 8px;
- transform: translateY(-50%);
- width: 22px;
- height: 22px;
- display: grid;
- place-items: center;
- border: 0;
- border-radius: 50%;
- background: rgba(255, 255, 255, 0.1);
- color: rgba(255, 255, 255, 0.7);
- font-size: 16px;
- line-height: 1;
- cursor: pointer;
- transition:
- background 0.15s ease,
- color 0.15s ease;
-}
-.explore-search-clear:hover,
-.explore-search-clear:focus-visible {
- background: rgba(255, 255, 255, 0.15);
- color: #fff;
- outline: none;
-}
-.explore-chips {
- display: flex;
- gap: 6px;
-}
-.explore-chip {
- padding: 8px 14px;
- background: transparent;
- border: 1px solid rgba(255, 255, 255, 0.12);
- border-radius: var(--radius-sm);
- color: rgba(255, 255, 255, 0.6);
- font: inherit;
- font-size: 13px;
- font-weight: 500;
- cursor: pointer;
- transition: all 0.15s;
-}
-.explore-chip:hover {
- border-color: rgba(255, 255, 255, 0.25);
- color: #fff;
-}
-.explore-chip.active {
- background: rgba(255, 255, 255, 0.1);
- border-color: rgba(255, 255, 255, 0.4);
- color: #fff;
-}
-.explore-chain-select {
- display: flex;
- align-items: center;
- gap: 8px;
- color: rgba(255, 255, 255, 0.55);
- font-size: 13px;
-}
-.explore-chain-select select {
- padding: 8px 10px;
- background: rgba(0, 0, 0, 0.4);
- border: 1px solid rgba(255, 255, 255, 0.12);
- border-radius: var(--radius-sm);
- color: #fff;
- font: inherit;
- font-size: 13px;
-}
-
-.explore-grid {
- display: grid;
- grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
- gap: var(--space-md);
-}
-
-.explore-card {
- background: rgba(255, 255, 255, 0.025);
- border: 1px solid rgba(255, 255, 255, 0.06);
- border-radius: var(--radius-md);
- overflow: hidden;
- transition:
- border-color 0.15s,
- transform 0.15s,
- background 0.15s;
- display: flex;
- flex-direction: column;
-}
-.explore-card:hover {
- border-color: rgba(255, 255, 255, 0.18);
- transform: translateY(-2px);
- background: rgba(255, 255, 255, 0.04);
-}
-.explore-card--3d:hover {
- border-color: rgba(255, 255, 255, 0.3);
-}
-
-.explore-card-thumb {
- position: relative;
- display: block;
- aspect-ratio: 1 / 1;
- background: linear-gradient(135deg, #111 0%, #1a1a1f 100%);
- overflow: hidden;
- text-decoration: none;
-}
-.explore-card-thumb img {
- width: 100%;
- height: 100%;
- object-fit: cover;
- display: block;
-}
-.explore-card-ph {
- display: grid;
- place-items: center;
- height: 100%;
- font-size: 48px;
- opacity: 0.4;
-}
-.explore-card-play {
- position: absolute;
- inset: 0;
- display: grid;
- place-items: center;
- font-size: 34px;
- color: #fff;
- text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
- opacity: 0;
- background: rgba(0, 0, 0, 0.35);
- transition: opacity 0.2s;
-}
-.explore-card--3d:hover .explore-card-play {
- opacity: 1;
-}
-
-.explore-card-body {
- padding: var(--space-md);
- display: flex;
- flex-direction: column;
- gap: 8px;
- flex: 1;
-}
-.explore-card-head {
- display: flex;
- align-items: baseline;
- justify-content: space-between;
- gap: 8px;
-}
-.explore-card-name {
- margin: 0;
- font-family: 'Space Grotesk', system-ui, sans-serif;
- font-size: 15px;
- font-weight: 600;
- color: #fff;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
-}
-.explore-card-name-link {
- color: inherit;
- text-decoration: none;
-}
-.explore-card-name-link:hover {
- text-decoration: underline;
- text-underline-offset: 2px;
-}
-.explore-card-id {
- font-size: 11px;
- color: rgba(255, 255, 255, 0.35);
- font-family:
- ui-monospace,
- SF Mono,
- Menlo,
- monospace;
- flex-shrink: 0;
-}
-.explore-card-badges {
- display: flex;
- gap: 4px;
- flex-wrap: wrap;
-}
-.explore-badge {
- font-size: 10px;
- padding: 2px 7px;
- border-radius: 99px;
- font-weight: 600;
- letter-spacing: 0.02em;
- text-transform: uppercase;
- background: rgba(255, 255, 255, 0.06);
- color: rgba(255, 255, 255, 0.7);
- border: 1px solid rgba(255, 255, 255, 0.08);
-}
-.explore-badge--3d {
- background: rgba(255, 255, 255, 0.08);
- color: #fff;
- border-color: rgba(255, 255, 255, 0.25);
-}
-.explore-badge--x402 {
- background: rgba(255, 255, 255, 0.05);
- color: rgba(255, 255, 255, 0.7);
- border-color: rgba(255, 255, 255, 0.12);
-}
-.explore-badge--avatar {
- background: rgba(139, 92, 246, 0.15);
- color: #c4b5fd;
- border-color: rgba(139, 92, 246, 0.4);
-}
-.explore-card-desc {
- margin: 0;
- font-size: 13px;
- color: rgba(255, 255, 255, 0.55);
- line-height: 1.45;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- overflow: hidden;
-}
-.explore-card-svcs {
- display: flex;
- gap: 4px;
- flex-wrap: wrap;
-}
-.explore-svc {
- font-size: 10px;
- padding: 2px 6px;
- background: rgba(255, 255, 255, 0.04);
- color: rgba(255, 255, 255, 0.55);
- border-radius: 4px;
- font-family:
- ui-monospace,
- SF Mono,
- Menlo,
- monospace;
- text-transform: uppercase;
- letter-spacing: 0.03em;
-}
-.explore-card-foot {
- margin-top: auto;
- padding-top: 8px;
- display: flex;
- justify-content: space-between;
- align-items: center;
- border-top: 1px solid rgba(255, 255, 255, 0.05);
- gap: 8px;
-}
-.explore-card-owner {
- font-size: 11px;
- font-family:
- ui-monospace,
- SF Mono,
- Menlo,
- monospace;
- color: rgba(255, 255, 255, 0.4);
- text-decoration: none;
-}
-.explore-card-owner:hover {
- color: #fff;
-}
-.explore-card-actions {
- display: flex;
- gap: 10px;
-}
-.explore-card-link {
- font-size: 12px;
- color: rgba(255, 255, 255, 0.7);
- text-decoration: none;
- font-weight: 500;
-}
-.explore-card-link:hover {
- color: #fff;
-}
-
-.explore-status {
- text-align: center;
- padding: var(--space-lg) 0;
- color: rgba(255, 255, 255, 0.4);
- font-size: 13px;
-}
-.explore-empty {
- padding: var(--space-xl);
- border: 1px dashed rgba(255, 255, 255, 0.1);
- border-radius: var(--radius-md);
- color: rgba(255, 255, 255, 0.5);
- display: flex;
- flex-direction: column;
- align-items: center;
- gap: 14px;
-}
-.explore-clear-filters {
- background: transparent;
- border: 1px solid rgba(255, 255, 255, 0.18);
- color: rgba(255, 255, 255, 0.78);
- padding: 7px 16px;
- border-radius: 99px;
- font-size: 13px;
- font-weight: 500;
- cursor: pointer;
- transition:
- border-color 0.15s ease,
- color 0.15s ease,
- background 0.15s ease;
-}
-.explore-clear-filters:hover,
-.explore-clear-filters:focus-visible {
- border-color: rgba(255, 255, 255, 0.4);
- color: #fff;
- background: rgba(255, 255, 255, 0.08);
-}
-.explore-error {
- padding: var(--space-md);
- background: rgba(239, 68, 68, 0.08);
- border: 1px solid rgba(239, 68, 68, 0.3);
- border-radius: var(--radius-sm);
- color: #fca5a5;
-}
-
-.explore-load-more-wrap {
- display: flex;
- justify-content: center;
- padding: var(--space-lg) 0;
-}
-.explore-load-more {
- padding: 10px 24px;
- background: rgba(255, 255, 255, 0.06);
- border: 1px solid rgba(255, 255, 255, 0.2);
- border-radius: var(--radius-sm);
- color: rgba(255, 255, 255, 0.85);
- font: inherit;
- font-weight: 600;
- font-size: 14px;
- cursor: pointer;
- transition: all 0.15s;
-}
-.explore-load-more:hover {
- background: rgba(255, 255, 255, 0.12);
- color: #fff;
-}
-
-/* ─────────────────────────────────────────────────────────────────────────
- Embed modal — shared by /discover + Search tab
- ─────────────────────────────────────────────────────────────────────── */
-.embed-modal {
- position: fixed;
- inset: 0;
- z-index: 9999;
- display: grid;
- place-items: center;
- padding: 16px;
- animation: embed-modal-in 0.18s ease-out;
-}
-@keyframes embed-modal-in {
- from {
- opacity: 0;
- }
- to {
- opacity: 1;
- }
-}
-.embed-modal__backdrop {
- position: absolute;
- inset: 0;
- background: rgba(0, 0, 0, 0.6);
- backdrop-filter: blur(6px);
-}
-.embed-modal__panel {
- position: relative;
- width: min(640px, 100%);
- max-height: calc(100vh - 32px);
- background: #0f1115;
- color: #e5e5e5;
- border: 1px solid rgba(255, 255, 255, 0.08);
- border-radius: 16px;
- box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
- display: flex;
- flex-direction: column;
- overflow: hidden;
-}
-.embed-modal__head {
- display: flex;
- align-items: flex-start;
- justify-content: space-between;
- gap: 12px;
- padding: 20px 20px 12px;
-}
-.embed-modal__title {
- margin: 0;
- font-size: 18px;
- font-weight: 600;
- letter-spacing: -0.3px;
-}
-.embed-modal__sub {
- margin: 4px 0 0;
- font-size: 13px;
- color: rgba(229, 229, 229, 0.55);
-}
-.embed-modal__close {
- background: transparent;
- border: 0;
- color: rgba(229, 229, 229, 0.6);
- font-size: 28px;
- line-height: 1;
- width: 32px;
- height: 32px;
- border-radius: 8px;
- cursor: pointer;
- transition: all 0.15s;
-}
-.embed-modal__close:hover {
- background: rgba(255, 255, 255, 0.08);
- color: #fff;
-}
-.embed-modal__tabs {
- display: flex;
- gap: 2px;
- padding: 0 20px;
- border-bottom: 1px solid rgba(255, 255, 255, 0.06);
- overflow-x: auto;
- scrollbar-width: none;
-}
-.embed-modal__tabs::-webkit-scrollbar {
- display: none;
-}
-.embed-tab {
- background: transparent;
- border: 0;
- color: rgba(229, 229, 229, 0.55);
- font: inherit;
- font-size: 13px;
- font-weight: 500;
- padding: 10px 14px;
- cursor: pointer;
- border-bottom: 2px solid transparent;
- margin-bottom: -1px;
- white-space: nowrap;
- transition: all 0.15s;
-}
-.embed-tab:hover {
- color: #e5e5e5;
-}
-.embed-tab.is-active {
- color: #fff;
- border-bottom-color: rgba(255, 255, 255, 0.7);
-}
-.embed-modal__body {
- padding: 20px;
- overflow-y: auto;
- flex: 1;
-}
-.embed-pane {
- display: none;
-}
-.embed-pane.is-active {
- display: block;
-}
-.embed-pane__hint {
- margin: 0 0 10px;
- font-size: 13px;
- color: rgba(229, 229, 229, 0.6);
- line-height: 1.5;
-}
-.embed-snippet {
- display: block;
- width: 100%;
- background: #05070a;
- color: #d4d4d4;
- border: 1px solid rgba(255, 255, 255, 0.08);
- border-radius: 10px;
- padding: 12px 14px;
- font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
- font-size: 12px;
- line-height: 1.55;
- resize: vertical;
- box-sizing: border-box;
- outline: none;
-}
-.embed-snippet:focus {
- border-color: rgba(255, 255, 255, 0.3);
- box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
-}
-.embed-snippet--input {
- resize: none;
-}
-.embed-copy-btn {
- margin-top: 10px;
- background: rgba(255, 255, 255, 0.1);
- border: 1px solid rgba(255, 255, 255, 0.2);
- color: #fff;
- border-radius: 8px;
- padding: 8px 16px;
- font: inherit;
- font-size: 13px;
- font-weight: 500;
- cursor: pointer;
- transition:
- transform 0.1s,
- box-shadow 0.15s,
- background 0.15s;
-}
-.embed-copy-btn:hover {
- background: rgba(255, 255, 255, 0.16);
- box-shadow: 0 4px 14px rgba(255, 255, 255, 0.08);
-}
-.embed-copy-btn:active {
- transform: translateY(1px);
-}
-.embed-modal__foot {
- padding: 12px 20px;
- border-top: 1px solid rgba(255, 255, 255, 0.06);
- display: flex;
- gap: 16px;
- justify-content: flex-end;
- flex-wrap: wrap;
-}
-.embed-foot-link {
- font-size: 12px;
- color: rgba(229, 229, 229, 0.55);
- text-decoration: none;
-}
-.embed-foot-link:hover {
- color: #fff;
-}
-.explore-card-link--ghost {
- background: transparent;
- border: 1px solid rgba(255, 255, 255, 0.12);
- color: rgba(229, 229, 229, 0.75);
- cursor: pointer;
- font: inherit;
- font-size: 12px;
- padding: 4px 10px;
- border-radius: 6px;
-}
-.explore-card-link--ghost:hover {
- border-color: rgba(255, 255, 255, 0.3);
- color: #fff;
-}
-@media (max-width: 560px) {
- .embed-modal__panel {
- max-height: calc(100vh - 16px);
- }
- .embed-modal__head,
- .embed-modal__body,
- .embed-modal__foot {
- padding-left: 14px;
- padding-right: 14px;
- }
- .embed-modal__tabs {
- padding-left: 14px;
- padding-right: 14px;
- }
-}
-
-/* ── Pump.fun card on agent home ───────────────────────────────────────── */
-.agent-home-pumpfun {
- margin: 14px 0 4px;
-}
-.pumpfun-card {
- position: relative;
- display: flex;
- flex-direction: column;
- gap: 10px;
- padding: 14px 14px 12px;
- border-radius: 14px;
- background: linear-gradient(135deg, rgba(120, 80, 220, 0.18), rgba(0, 200, 180, 0.14));
- border: 1px solid rgba(255, 255, 255, 0.08);
- color: var(--agent-home-fg, #fff);
- box-shadow: 0 6px 20px -10px rgba(0, 0, 0, 0.4);
-}
-.pumpfun-card--graduated {
- background: linear-gradient(135deg, rgba(0, 200, 130, 0.22), rgba(0, 120, 200, 0.18));
-}
-.pumpfun-card--cta {
- background: linear-gradient(135deg, rgba(150, 100, 255, 0.18), rgba(255, 120, 180, 0.14));
-}
-.pumpfun-card--skeleton {
- height: 96px;
- background: rgba(255, 255, 255, 0.04);
- animation: pumpfun-skeleton 1.4s infinite;
-}
-@keyframes pumpfun-skeleton {
- 0%, 100% { opacity: 0.5; }
- 50% { opacity: 0.8; }
-}
-.pumpfun-card-head {
- display: flex;
- align-items: center;
- gap: 8px;
-}
-.pumpfun-card-icon {
- font-size: 18px;
- line-height: 1;
-}
-.pumpfun-card-title {
- font-weight: 600;
- font-size: 14px;
- letter-spacing: 0.02em;
- flex: 1;
-}
-.pumpfun-card-link {
- color: inherit;
- opacity: 0.6;
- text-decoration: none;
- font-size: 13px;
- padding: 2px 6px;
- border-radius: 6px;
- transition: opacity .15s, background .15s;
-}
-.pumpfun-card-link:hover { opacity: 1; background: rgba(255,255,255,0.08); }
-.pumpfun-card-sub {
- font-size: 12.5px;
- opacity: 0.78;
- margin: 0;
- line-height: 1.4;
-}
-.pumpfun-stats {
- display: grid;
- grid-template-columns: 1fr 1fr;
- gap: 10px;
-}
-.pumpfun-stat {
- display: flex;
- flex-direction: column;
- gap: 2px;
-}
-.pumpfun-stat-label {
- font-size: 10.5px;
- text-transform: uppercase;
- letter-spacing: 0.08em;
- opacity: 0.55;
-}
-.pumpfun-stat-value {
- font-size: 15px;
- font-weight: 600;
- font-variant-numeric: tabular-nums;
-}
-.pumpfun-progress {
- height: 4px;
- background: rgba(255, 255, 255, 0.08);
- border-radius: 999px;
- overflow: hidden;
-}
-.pumpfun-progress-bar {
- height: 100%;
- background: linear-gradient(90deg, #b27dff, #6ce0c8);
- transition: width .6s ease;
-}
-.pumpfun-card-mint {
- font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
- font-size: 11.5px;
- opacity: 0.55;
-}
-.pumpfun-card-actions {
- display: flex;
- gap: 6px;
- flex-wrap: wrap;
-}
-.pumpfun-btn {
- flex: 1;
- min-width: 64px;
- padding: 7px 10px;
- font-size: 12.5px;
- font-weight: 500;
- border-radius: 8px;
- border: 1px solid rgba(255, 255, 255, 0.12);
- background: rgba(255, 255, 255, 0.06);
- color: inherit;
- cursor: pointer;
- transition: background .15s, transform .05s;
-}
-.pumpfun-btn:hover { background: rgba(255, 255, 255, 0.12); }
-.pumpfun-btn:active { transform: translateY(1px); }
-.pumpfun-btn:disabled { opacity: 0.5; cursor: not-allowed; }
-.pumpfun-btn--primary {
- background: linear-gradient(135deg, #b27dff, #6ce0c8);
- border: none;
- color: #0e0a18;
- font-weight: 600;
-}
-.pumpfun-btn--primary:hover { filter: brightness(1.06); background: linear-gradient(135deg, #b27dff, #6ce0c8); }
-.pumpfun-btn--ghost {
- background: transparent;
-}
-.pumpfun-card-foot {
- display: inline-block;
- font-size: 11.5px;
- opacity: 0.55;
- color: inherit;
- text-decoration: underline;
- text-decoration-color: rgba(255,255,255,0.2);
-}
-.pumpfun-card-foot:hover { opacity: 0.85; }
-@media (prefers-reduced-motion: reduce) {
- .pumpfun-progress-bar { transition: none; }
- .pumpfun-card--skeleton { animation: none; }
-}
-
-/* ── Inline trade panel ─────────────────────────────────────────────────── */
-.pumpfun-card-mint {
- background: none;
- border: none;
- padding: 0;
- color: inherit;
- font: inherit;
- font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
- font-size: 11.5px;
- opacity: 0.55;
- cursor: pointer;
- text-align: left;
- transition: opacity .12s;
-}
-.pumpfun-card-mint:hover { opacity: 0.85; text-decoration: underline; }
-.pumpfun-btn--active {
- background: rgba(178, 125, 255, 0.22);
- border-color: rgba(178, 125, 255, 0.5);
-}
-.pumpfun-trade {
- display: flex;
- flex-direction: column;
- gap: 8px;
- padding: 10px;
- margin-top: 4px;
- border-radius: 10px;
- background: rgba(0, 0, 0, 0.18);
- border: 1px solid rgba(255, 255, 255, 0.05);
- animation: pumpfun-trade-in 180ms ease-out;
-}
-@keyframes pumpfun-trade-in {
- from { opacity: 0; transform: translateY(-4px); }
- to { opacity: 1; transform: translateY(0); }
-}
-.pumpfun-trade-label {
- display: grid;
- grid-template-columns: auto 1fr auto;
- gap: 8px;
- align-items: center;
- font-size: 11px;
- text-transform: uppercase;
- letter-spacing: 0.06em;
- opacity: 0.7;
-}
-.pumpfun-signer {
- display: flex;
- gap: 2px;
- padding: 2px;
- border-radius: 8px;
- background: rgba(0,0,0,0.25);
- border: 1px solid rgba(255,255,255,0.05);
-}
-.pumpfun-signer-tab {
- flex: 1;
- background: transparent;
- border: none;
- color: inherit;
- font: inherit;
- font-size: 11px;
- padding: 6px 8px;
- border-radius: 6px;
- cursor: pointer;
- opacity: 0.6;
- transition: background .15s, opacity .15s;
-}
-.pumpfun-signer-tab:hover { opacity: 0.9; }
-.pumpfun-signer-tab.is-active {
- opacity: 1;
- background: linear-gradient(135deg, rgba(178,125,255,0.25), rgba(108,224,200,0.18));
- box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
-}
-.pumpfun-trade-input {
- background: rgba(255,255,255,0.06);
- border: 1px solid rgba(255,255,255,0.1);
- border-radius: 8px;
- padding: 7px 10px;
- color: inherit;
- font: inherit;
- font-size: 14px;
- font-variant-numeric: tabular-nums;
- width: 100%;
- min-width: 0;
- outline: none;
- text-transform: none;
- letter-spacing: 0;
-}
-.pumpfun-trade-input:focus {
- border-color: rgba(178, 125, 255, 0.55);
- box-shadow: 0 0 0 3px rgba(178, 125, 255, 0.15);
-}
-.pumpfun-trade-unit {
- font-size: 11.5px;
- opacity: 0.65;
- text-transform: none;
- letter-spacing: 0;
-}
-.pumpfun-quote {
- min-height: 18px;
- font-size: 12px;
- font-variant-numeric: tabular-nums;
-}
-.pumpfun-quote-status { opacity: 0.5; }
-.pumpfun-quote-out { color: #6ce0c8; }
-.pumpfun-quote-err { color: #ff9aa2; }
-.pumpfun-trade-actions {
- display: flex;
- gap: 6px;
- justify-content: flex-end;
-}
-.pumpfun-trade-actions .pumpfun-btn { flex: 0 0 auto; min-width: 84px; }
-
-/* ── Toasts ─────────────────────────────────────────────────────────────── */
-.pumpfun-toasts {
- position: absolute;
- right: 14px;
- bottom: 14px;
- display: flex;
- flex-direction: column;
- gap: 6px;
- z-index: 30;
- pointer-events: none;
-}
-.agent-home-pumpfun { position: relative; }
-.pumpfun-toast {
- pointer-events: auto;
- display: flex;
- align-items: center;
- gap: 10px;
- padding: 8px 12px;
- border-radius: 10px;
- background: rgba(20, 18, 30, 0.95);
- border: 1px solid rgba(255,255,255,0.08);
- color: #fff;
- font-size: 12.5px;
- box-shadow: 0 10px 24px -10px rgba(0,0,0,0.6);
- transform: translateY(8px);
- opacity: 0;
- transition: opacity .22s ease, transform .22s ease;
- max-width: 320px;
-}
-.pumpfun-toast.is-in { opacity: 1; transform: translateY(0); }
-.pumpfun-toast--success { border-color: rgba(108, 224, 200, 0.35); }
-.pumpfun-toast--error { border-color: rgba(255, 154, 162, 0.45); color: #ffd7da; }
-.pumpfun-toast-link {
- color: inherit;
- opacity: 0.75;
- text-decoration: none;
- padding: 2px 6px;
- border-radius: 6px;
-}
-.pumpfun-toast-link:hover { opacity: 1; background: rgba(255,255,255,0.08); }
-
-/* ── Mobile ─────────────────────────────────────────────────────────────── */
-@media (max-width: 380px) {
- .pumpfun-card-actions { flex-wrap: wrap; }
- .pumpfun-card-actions .pumpfun-btn { flex: 1 0 calc(50% - 3px); }
- .pumpfun-card-actions .pumpfun-btn--ghost { flex: 1 0 100%; }
- .pumpfun-stats { grid-template-columns: 1fr; gap: 6px; }
- .pumpfun-trade-label { grid-template-columns: 1fr; }
- .pumpfun-toasts {
- left: 14px;
- right: 14px;
- align-items: stretch;
- }
- .pumpfun-toast { max-width: none; }
-}
-
-/* ── Vanity launch row ─────────────────────────────────────────────────── */
-.pumpfun-vanity-row {
- display: flex;
- align-items: center;
- gap: 8px;
- font-size: 12px;
- margin: 8px 0;
- flex-wrap: wrap;
-}
-.pumpfun-vanity-row input[type="text"],
-.pumpfun-vanity-row input[type="number"] { width: 80px; }
-.pumpfun-vanity-input {
- padding: 4px 8px;
- border-radius: 6px;
- border: 1px solid rgba(255,255,255,0.15);
- background: rgba(0,0,0,0.25);
- color: inherit;
- font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
-}
-.pumpfun-vanity-progress {
- font-size: 11px;
- opacity: 0.7;
- font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
- margin-bottom: 6px;
-}
-
-/* ── Auto-Trader (bot) panel ───────────────────────────────────────────── */
-.pumpfun-bot { gap: 8px; }
-.pumpfun-bot-modes {
- display: flex;
- gap: 6px;
- flex-wrap: wrap;
- margin-bottom: 6px;
-}
-.pumpfun-bot-modes .pumpfun-btn { flex: 1 1 calc(50% - 3px); min-width: 0; font-size: 11.5px; }
-.pumpfun-bot-grid {
- display: grid;
- grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
- gap: 6px;
-}
-.pumpfun-bot-grid .pumpfun-trade-label { margin: 0; }