html[data-platform-shell="agentic"] {
  color-scheme: dark;
  background: #070b10;
}

html[data-platform-shell="agentic"] body {
  margin: 0;
  min-width: 320px;
  background: #070b10;
  color: #edf4f7;
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
}

html[data-platform-shell="agentic"] *,
html[data-platform-shell="agentic"] *::before,
html[data-platform-shell="agentic"] *::after {
  box-sizing: border-box;
}

html[data-platform-shell="agentic"] button,
html[data-platform-shell="agentic"] input,
html[data-platform-shell="agentic"] select,
html[data-platform-shell="agentic"] textarea {
  font: inherit;
  letter-spacing: 0;
}

html[data-platform-shell="agentic"] button,
html[data-platform-shell="agentic"] a {
  -webkit-tap-highlight-color: transparent;
}

.ae-app {
  --ae-bg: #070b10;
  --ae-surface: #0d131a;
  --ae-raised: #121a23;
  --ae-border: #26313d;
  --ae-muted: #8fa0ad;
  --ae-text: #edf4f7;
  --ae-teal: #22d3b6;
  --ae-green: #63e6a6;
  --ae-amber: #f2b84b;
  --ae-coral: #ff755e;
  --ae-red: #ff5d69;
  min-height: 100vh;
  background: var(--ae-bg);
}

.ae-skip {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 10px 14px;
  background: #fff;
  color: #071018;
  font-weight: 800;
}

.ae-skip:focus { top: 12px; }

.ae-header {
  position: sticky;
  top: 0;
  z-index: 80;
  min-height: 64px;
  border-bottom: 1px solid var(--ae-border);
  background: rgba(7, 11, 16, 0.96);
  backdrop-filter: blur(16px);
}

.ae-header-inner {
  width: min(1800px, 100%);
  min-height: 64px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 210px minmax(620px, 1fr) 210px;
  align-items: center;
  gap: 18px;
}

.ae-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ae-text);
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
}

.ae-brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #3c4b59;
  border-radius: 6px;
  background: #111b24;
  color: var(--ae-teal);
  font-size: 13px;
  font-weight: 900;
}

.ae-brand-copy { display: grid; line-height: 1.05; }
.ae-brand-copy small { margin-top: 4px; color: var(--ae-muted); font-size: 10px; font-weight: 700; text-transform: uppercase; }

.ae-network-nav {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  height: 38px;
  border: 1px solid var(--ae-border);
  border-radius: 6px;
  overflow: hidden;
}

.ae-network-nav,
.ae-mobile-ad-strip { scrollbar-width: none; }
.ae-network-nav::-webkit-scrollbar,
.ae-mobile-ad-strip::-webkit-scrollbar { display: none; }

.ae-network-link {
  min-width: 0;
  display: grid;
  place-items: center;
  padding: 0 12px;
  border-right: 1px solid var(--ae-border);
  background: #0c1218;
  color: #aebbc5;
  text-align: center;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.ae-network-link:last-child { border-right: 0; }
.ae-network-link:hover { color: #fff; background: #141d26; }
.ae-network-link[aria-current="page"] { color: #06100e; background: var(--ae-teal); }

.ae-header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.ae-icon-button,
.ae-wallet-button,
.ae-button {
  min-height: 38px;
  border: 1px solid var(--ae-border);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.ae-icon-button {
  width: 40px;
  padding: 0;
  display: grid;
  place-items: center;
  background: #101820;
  color: #dce7ec;
}

.ae-icon-button svg { width: 22px; height: 22px; }
.ae-icon-button.telegram { width: 44px; color: #35b8ff; }
.ae-icon-button.telegram svg { width: 27px; height: 27px; }
.ae-icon-button:hover, .ae-wallet-button:hover, .ae-button:hover { border-color: #4c6575; transform: translateY(-1px); }

.ae-wallet-button {
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #101820;
  color: #f4f8fa;
  white-space: nowrap;
}

.ae-wallet-button svg { width: 17px; height: 17px; }
.ae-wallet-button.connected { border-color: #2d8f7d; color: var(--ae-green); }

.ae-frame {
  width: min(1800px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  align-items: start;
}

.ae-ad-rail {
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  padding: 16px;
  border-right: 1px solid var(--ae-border);
  overflow-y: auto;
  background: #090e14;
}

.ae-ad-heading {
  margin: 0 0 10px;
  color: #9fb0bd;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.4;
  text-transform: uppercase;
}

.ae-ad-slot {
  min-height: 126px;
  margin-bottom: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #34404b;
  border-radius: 6px;
  background: #101720;
  color: var(--ae-text);
  text-decoration: none;
  overflow: hidden;
}

.ae-ad-slot:hover { border-color: var(--ae-teal); }
.ae-ad-slot span { color: var(--ae-amber); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.ae-ad-slot strong { display: block; margin: 10px 0 4px; font-size: 14px; line-height: 1.25; }
.ae-ad-slot small { color: var(--ae-muted); line-height: 1.35; }
.ae-ad-note { color: #82919e; font-size: 10px; line-height: 1.45; text-transform: uppercase; }

.ae-mobile-ad-strip { display: none; }

.ae-main {
  min-width: 0;
  min-height: calc(100vh - 64px);
  overflow: hidden;
}

.ae-hero {
  position: relative;
  min-height: 330px;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--ae-border);
  background: #080d12 url("/assets/agentic/agent-command-floor.webp") center / cover no-repeat;
}

.ae-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: -1;
  width: min(760px, 68%);
  background: rgba(5, 8, 12, 0.9);
}

.ae-hero-content {
  width: min(660px, 70%);
  padding: 34px clamp(24px, 5vw, 74px);
}

.ae-eyebrow {
  margin: 0 0 10px;
  color: var(--ae-teal);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.ae-hero h1 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 0.98;
  letter-spacing: 0;
}

.ae-hero p {
  max-width: 590px;
  margin: 12px 0 0;
  color: #b6c4cd;
  font-size: 15px;
  line-height: 1.4;
}

.ae-hero-actions,
.ae-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.ae-launch-cta {
  min-height: 92px;
  padding: 16px clamp(20px, 3.4vw, 52px) 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--ae-border);
  background: #080d12;
}

.ae-launch-free-button {
  position: relative;
  width: min(560px, 100%);
  min-height: 58px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  overflow: hidden;
  border: 1px solid #86ffe8;
  border-radius: 6px;
  background: var(--ae-teal);
  box-shadow: 0 6px 0 #087d6b, 0 0 26px rgba(34, 211, 182, 0.32);
  color: #03110e;
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  animation: ae-launch-pulse 2.6s ease-in-out infinite;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.ae-launch-free-button::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -22%;
  width: 14%;
  height: 200%;
  background: rgba(255, 255, 255, 0.42);
  transform: skewX(-20deg);
  animation: ae-launch-shine 3.4s ease-in-out infinite;
  pointer-events: none;
}

.ae-launch-free-button svg { width: 22px; height: 22px; stroke-width: 2.5; }
.ae-launch-free-button:hover,
.ae-launch-free-button:focus-visible {
  background: #55e6cb;
  box-shadow: 0 8px 0 #087d6b, 0 0 34px rgba(34, 211, 182, 0.5);
  transform: translateY(-2px);
}

@keyframes ae-launch-pulse {
  0%, 100% { box-shadow: 0 6px 0 #087d6b, 0 0 22px rgba(34, 211, 182, 0.24); }
  50% { box-shadow: 0 6px 0 #087d6b, 0 0 34px rgba(34, 211, 182, 0.48); }
}

@keyframes ae-launch-shine {
  0%, 58% { left: -22%; opacity: 0; }
  64% { opacity: 1; }
  82%, 100% { left: 112%; opacity: 0; }
}

.ae-button {
  min-height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #121a23;
  color: var(--ae-text);
  text-decoration: none;
}

.ae-button svg { width: 17px; height: 17px; }
.ae-button.primary { border-color: var(--ae-teal); background: var(--ae-teal); color: #04100e; }
.ae-button.secondary { background: #111923; }
.ae-button.ghost { border-color: transparent; background: transparent; color: #c5d0d7; }
.ae-button.warning { border-color: #6f5224; color: var(--ae-amber); }
.ae-button.danger { border-color: #783744; color: #ff9ba4; }
.ae-button:disabled { cursor: not-allowed; opacity: 0.48; transform: none; }

.ae-token-pill,
.ae-status-pill,
.ae-preview-pill,
.ae-simulation-pill {
  min-height: 24px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #35515a;
  border-radius: 999px;
  color: #bdebe1;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.ae-token-pill { margin-top: 24px; }
.ae-token-pill svg, .ae-status-pill svg { width: 13px; height: 13px; }
.ae-preview-pill { border-color: #6c5428; color: #f0c56c; }
.ae-simulation-pill { border-color: #a54d65; background: rgba(72, 24, 39, 0.84); color: #ffb7c7; }

.ae-simulation-band {
  min-height: 64px;
  padding: 10px clamp(20px, 3.4vw, 52px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #482735;
  background: #160e14;
}

.ae-simulation-band > div { display: grid; gap: 4px; }
.ae-simulation-band strong { font-size: 16px; }
.ae-simulation-band small { color: #b79aa4; font-size: 10px; line-height: 1.4; }
.ae-simulation-live { display: inline-flex; align-items: center; gap: 7px; color: #ff9db3; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.ae-simulation-live i { width: 7px; height: 7px; border-radius: 50%; background: #ff6688; box-shadow: 0 0 0 4px rgba(255, 102, 136, 0.12); }
.ae-simulation-band dl { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(72px, 1fr)); gap: 1px; background: #3b2530; border: 1px solid #3b2530; border-radius: 6px; overflow: hidden; }
.ae-simulation-band dl div { min-width: 82px; padding: 7px 10px; background: #120c11; }
.ae-simulation-band dt { color: #987f88; font-size: 9px; text-transform: uppercase; }
.ae-simulation-band dd { margin: 5px 0 0; color: #f4dfe5; font-size: 13px; font-weight: 900; }

.ae-simulation-disclosure {
  padding: 12px clamp(20px, 3.4vw, 52px);
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #482735;
  background: #160e14;
  color: #c9aab4;
  font-size: 11px;
  line-height: 1.45;
}
.ae-simulation-disclosure strong { color: #ff9db3; white-space: nowrap; }
.ae-simulation-control { margin-bottom: 18px; border-color: #573040; }

.ae-section {
  padding: 30px clamp(20px, 3.4vw, 52px) 42px;
  border-bottom: 1px solid #17212b;
}

.ae-home-market { padding-top: 18px; }
.ae-home-market .ae-section-heading { margin-bottom: 12px; }

.ae-section:last-child { border-bottom: 0; }
.ae-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.ae-section-heading h2 { margin: 0; font-size: 22px; line-height: 1.15; }
.ae-section-heading p { max-width: 620px; margin: 6px 0 0; color: var(--ae-muted); line-height: 1.45; font-size: 13px; }

.ae-stat-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ae-border);
  border-bottom: 1px solid var(--ae-border);
  background: #0b1118;
}

.ae-stat {
  min-height: 84px;
  padding: 18px 22px;
  border-right: 1px solid var(--ae-border);
}

.ae-stat:last-child { border-right: 0; }
.ae-stat span { color: var(--ae-muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.ae-stat strong { display: block; margin-top: 7px; font-size: 24px; line-height: 1; }
.ae-stat small { display: block; margin-top: 6px; color: #748491; font-size: 10px; }

.ae-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 260px);
  gap: 10px;
  margin-bottom: 18px;
}

.ae-field,
.ae-select,
.ae-textarea {
  width: 100%;
  border: 1px solid #303d49;
  border-radius: 6px;
  background: #0b1118;
  color: var(--ae-text);
  outline: 0;
}

.ae-field,
.ae-select { height: 42px; padding: 0 12px; }
textarea.ae-field { min-height: 78px; height: auto; padding: 11px 12px; resize: vertical; }
.ae-textarea { min-height: 108px; padding: 12px; resize: vertical; }
.ae-field:focus, .ae-select:focus, .ae-textarea:focus { border-color: var(--ae-teal); box-shadow: 0 0 0 3px rgba(34, 211, 182, 0.12); }
.ae-input-wrap { position: relative; }
.ae-input-wrap svg { position: absolute; left: 12px; top: 12px; width: 18px; height: 18px; color: #788996; pointer-events: none; }
.ae-input-wrap .ae-field { padding-left: 40px; }

.ae-agent-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 2px 0 9px;
  perspective: 1400px;
}

.ae-agent-card {
  --ae-card-art-x: 0px;
  --ae-card-art-y: 0px;
  --ae-card-lift: 0px;
  --ae-card-scale: 1;
  --ae-card-shine-x: 50%;
  --ae-card-shine-y: 18%;
  --ae-card-tilt-x: 0deg;
  --ae-card-tilt-y: 0deg;
  position: relative;
  min-width: 0;
  display: block;
  border: 1px solid #35434e;
  border-top-color: rgba(255, 255, 255, 0.24);
  border-right-color: rgba(34, 211, 182, 0.34);
  border-bottom-color: rgba(34, 211, 182, 0.68);
  border-left-color: rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  background: #0d141c;
  color: var(--ae-text);
  text-decoration: none;
  transform-style: preserve-3d;
  transform: perspective(920px) translate3d(0, var(--ae-card-lift), 0) rotateX(var(--ae-card-tilt-x)) rotateY(var(--ae-card-tilt-y)) scale(var(--ae-card-scale));
  box-shadow:
    0 4px 0 #05090d,
    0 7px 0 rgba(34, 211, 182, 0.28),
    0 15px 24px rgba(0, 0, 0, 0.38),
    inset 1px 1px 0 rgba(255, 255, 255, 0.09),
    inset -2px -2px 0 rgba(0, 0, 0, 0.36);
  transition: transform 160ms ease-out, border-color 180ms ease, box-shadow 180ms ease;
  will-change: transform;
}

.ae-agent-card:hover,
.ae-agent-card:focus-within {
  --ae-card-lift: -7px;
  --ae-card-scale: 1.015;
  z-index: 2;
  border-color: #55a89a;
  box-shadow:
    0 6px 0 #05090d,
    0 10px 0 rgba(34, 211, 182, 0.5),
    0 28px 38px rgba(0, 0, 0, 0.5),
    0 0 24px rgba(34, 211, 182, 0.16),
    inset 1px 1px 0 rgba(255, 255, 255, 0.14),
    inset -3px -3px 0 rgba(0, 0, 0, 0.42);
}

.ae-agent-card:focus-visible {
  outline: 2px solid #b8fff1;
  outline-offset: 5px;
}

.ae-agent-card.ae-depth-pressed {
  --ae-card-lift: -2px;
  --ae-card-scale: 0.99;
}

.ae-agent-visual {
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 9;
  margin: 6px 6px 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 5px 5px 2px 2px;
  background: #111923;
  transform: translateZ(16px);
}

.ae-agent-visual img { width: 100%; height: 100%; display: block; object-fit: cover; transform: translate3d(var(--ae-card-art-x), var(--ae-card-art-y), 0) scale(1.06); transition: transform 160ms ease-out; }
.ae-agent-visual::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: #3c4b58; }
.ae-agent-rank { position: absolute; top: 7px; left: 7px; min-width: 25px; height: 21px; padding: 0 6px; display: grid; place-items: center; border: 1px solid #60717d; border-radius: 4px; background: rgba(6, 10, 14, 0.9); font-size: 10px; font-weight: 900; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.34); transform: translateZ(24px); }
.ae-agent-card .ae-preview-pill,
.ae-agent-card .ae-simulation-pill { position: absolute; top: 7px; right: 7px; min-height: 21px; padding: 0 6px; background: rgba(10, 13, 16, 0.92); font-size: 8px; transform: translateZ(24px); }

.ae-agent-body { position: relative; z-index: 1; padding: 10px 11px 11px; transform: translateZ(9px); }
.ae-agent-title { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ae-agent-title-copy { min-width: 0; display: flex; align-items: baseline; gap: 7px; }
.ae-agent-title h3 { min-width: 0; margin: 0; font-size: 14px; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ae-agent-title code { flex: 0 0 auto; color: var(--ae-teal); font-family: inherit; font-size: 9px; font-weight: 900; }
.ae-agent-open { flex: 0 0 auto; width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid #344550; border-radius: 5px; background: #111b24; color: #b9c8d1; transition: border-color 160ms ease, background 160ms ease, color 160ms ease; }
.ae-agent-open svg { width: 14px; height: 14px; }
.ae-agent-card:hover .ae-agent-open, .ae-agent-card:focus-visible .ae-agent-open { border-color: var(--ae-teal); background: #15302c; color: #e7fff9; }
.ae-agent-category { min-height: 34px; margin: 8px 0 12px; color: var(--ae-muted); font-size: 11px; line-height: 1.45; }
.ae-agent-card-status { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--ae-muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.ae-agent-card-status span { min-width: 0; display: inline-flex; align-items: center; gap: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ae-agent-card-status span i { flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: var(--ae-green); box-shadow: 0 0 8px rgba(99, 230, 166, 0.55); }
.ae-agent-card-status strong { flex: 0 0 auto; color: var(--ae-text); font-size: 9px; }
.ae-agent-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #202a34; border-bottom: 1px solid #202a34; }
.ae-agent-metric { padding: 10px 0; }
.ae-agent-metric:nth-child(even) { padding-left: 10px; border-left: 1px solid #202a34; }
.ae-agent-metric span { display: block; color: #768793; font-size: 9px; text-transform: uppercase; }
.ae-agent-metric strong { display: block; margin-top: 4px; font-size: 13px; }
.ae-agent-shine { position: absolute; z-index: 3; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0.16; background: radial-gradient(circle at var(--ae-card-shine-x) var(--ae-card-shine-y), rgba(255, 255, 255, 0.26), rgba(34, 211, 182, 0.08) 18%, transparent 45%); transition: opacity 180ms ease; }
.ae-agent-card.ae-depth-active .ae-agent-shine { opacity: 0.82; }
.ae-agent-depth-edge { position: absolute; z-index: 4; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.12), inset -3px -3px 0 rgba(1, 5, 9, 0.62); }

.ae-progress { height: 5px; margin-top: 7px; overflow: hidden; border-radius: 999px; background: #1b2731; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.55); }
.ae-progress > span { display: block; height: 100%; border-radius: inherit; background: var(--ae-teal); }
.ae-progress.coral > span { background: var(--ae-coral); }
.ae-progress.amber > span { background: var(--ae-amber); }

.ae-empty,
.ae-error {
  padding: 34px;
  border: 1px dashed #33414e;
  border-radius: 6px;
  color: var(--ae-muted);
  text-align: center;
}
.ae-error { border-color: #6e3440; color: #ffabb2; }

.ae-detail-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 470px);
  min-height: 330px;
  border-bottom: 1px solid var(--ae-border);
}

.ae-detail-identity { padding: clamp(28px, 4vw, 58px); display: grid; grid-template-columns: 154px minmax(0, 1fr); align-items: center; gap: 28px; }
.ae-detail-avatar { width: 154px; aspect-ratio: 1; object-fit: cover; border: 1px solid #3b4a56; border-radius: 7px; box-shadow: 0 20px 42px rgba(0, 0, 0, 0.4); }
.ae-detail-identity h1 { margin: 7px 0 8px; font-size: clamp(32px, 4vw, 56px); line-height: 1; }
.ae-detail-identity p { max-width: 650px; margin: 12px 0 0; color: #a8b8c3; line-height: 1.55; }
.ae-detail-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.ae-detail-identity > p,
.ae-detail-identity > .ae-detail-tags { grid-column: 2; }

.ae-token-header {
  min-height: 132px;
  padding: 18px clamp(20px, 3.4vw, 52px);
  display: grid;
  grid-template-columns: 82px minmax(260px, 1fr) minmax(170px, 230px) auto;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--ae-border);
  background: #0a1016;
}

.ae-token-avatar { width: 82px; aspect-ratio: 1; object-fit: cover; border: 1px solid #43535f; border-radius: 7px; box-shadow: 0 10px 0 #05090d, 0 16px 28px rgba(0, 0, 0, 0.4); }
.ae-token-identity { min-width: 0; }
.ae-token-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.ae-token-identity h1 { margin: 8px 0 3px; font-size: 25px; line-height: 1.05; overflow-wrap: anywhere; }
.ae-token-identity > strong { color: var(--ae-teal); font-size: 12px; }
.ae-token-identity p { max-width: 720px; margin: 7px 0 0; color: #91a2ad; font-size: 11px; line-height: 1.4; }
.ae-token-price { min-width: 0; padding-left: 18px; border-left: 1px solid #26333d; }
.ae-token-price span { display: block; color: #778994; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.ae-token-price strong { display: block; margin-top: 6px; font-size: 20px; line-height: 1.05; overflow-wrap: anywhere; }
.ae-token-price small { display: block; margin-top: 5px; color: #9cabb4; font-size: 11px; }
.ae-token-price b { display: block; margin-top: 6px; font-size: 10px; }
.ae-token-actions { display: grid; gap: 8px; }
.ae-token-actions .ae-button { min-width: 156px; min-height: 36px; padding: 0 12px; font-size: 11px; }

.ae-market-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-bottom: 1px solid var(--ae-border); background: #0c1218; }
.ae-market-strip > div { min-width: 0; min-height: 78px; padding: 14px clamp(12px, 1.5vw, 22px); border-right: 1px solid var(--ae-border); }
.ae-market-strip > div:last-child { border-right: 0; }
.ae-market-strip span { color: #7f909b; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.ae-market-strip strong { display: block; margin-top: 7px; font-size: 16px; line-height: 1.1; overflow-wrap: anywhere; }
.ae-market-strip small { display: block; margin-top: 5px; color: #71828d; font-size: 9px; }

.ae-token-terminal { padding-top: 18px; }
.ae-terminal-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(310px, 360px); align-items: stretch; gap: 14px; }
.ae-market-chart-panel { min-width: 0; background: #091016; }
.ae-market-chart-header { min-height: 58px; padding: 11px 14px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--ae-border); }
.ae-market-chart-header h2 { margin: 0; font-size: 15px; }
.ae-market-chart-header p { margin: 4px 0 0; color: #768792; font-size: 9px; }
.ae-market-ranges { flex: 0 0 auto; display: inline-grid; grid-template-columns: repeat(5, 40px); border: 1px solid #2d3a44; border-radius: 5px; overflow: hidden; }
.ae-market-ranges button { height: 30px; padding: 0; border: 0; border-right: 1px solid #2d3a44; background: #0e171e; color: #84959f; cursor: pointer; font-size: 9px; font-weight: 900; }
.ae-market-ranges button:last-child { border-right: 0; }
.ae-market-ranges button:hover { color: #e7f1f4; background: #152029; }
.ae-market-ranges button.active { background: #1b3d37; color: #7af2dc; }
.ae-market-chart { height: 360px; }
.ae-market-chart-note { min-height: 30px; padding: 8px 14px; border-top: 1px solid #17232c; color: #738590; font-size: 9px; }
.ae-market-flow { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); border-top: 1px solid var(--ae-border); }
.ae-market-flow > div { min-width: 0; padding: 10px 12px; border-right: 1px solid var(--ae-border); }
.ae-market-flow > div:last-child { border-right: 0; }
.ae-market-flow span { display: block; color: #72838e; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.ae-market-flow strong { display: block; margin-top: 5px; font-size: 11px; overflow-wrap: anywhere; }
.ae-terminal-trade { min-width: 0; scroll-margin-top: 76px; }
.ae-terminal-trade .ae-trade-panel { height: 100%; border: 1px solid var(--ae-border); border-radius: 7px; }
.ae-terminal-trade .ae-trade-panel .ae-button { width: 100%; }
.ae-trade-route { margin-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid #25323d; border-radius: 6px; overflow: hidden; }
.ae-trade-route > div { min-width: 0; padding: 9px; border-right: 1px solid #25323d; background: #0d151c; }
.ae-trade-route > div:last-child { border-right: 0; }
.ae-trade-route span { display: block; color: #72838e; font-size: 8px; text-transform: uppercase; }
.ae-trade-route strong { display: block; margin-top: 5px; font-size: 10px; overflow-wrap: anywhere; }

.ae-market-lower-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 330px); gap: 14px; margin-top: 14px; }
.ae-transaction-table { min-width: 720px; }
.ae-transaction-table td { padding-top: 11px; padding-bottom: 11px; }
.ae-market-empty { height: 92px; color: #71828d; text-align: center; }
.ae-trade-side { min-width: 42px; height: 20px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #2c6f61; border-radius: 4px; background: #10241f; color: var(--ae-green); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.ae-trade-side.sell { border-color: #7b3945; background: #261419; color: #ff9da7; }
.ae-actor-badge { min-width: 46px; height: 20px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #40505c; border-radius: 4px; background: #121a21; color: #a8b6bf; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.ae-actor-badge.bot { border-color: #4b7a70; background: #10241f; color: #79ecd6; }
.ae-actor-badge.human { border-color: #4c5963; color: #c2cdd3; }
.ae-bot-value { color: #79ecd6; }
.ae-token-details dl { margin: 0; }
.ae-token-details dl > div { min-height: 46px; padding: 9px 13px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #1e2932; }
.ae-token-details dl > div:last-child { border-bottom: 0; }
.ae-token-details dt { color: #778993; font-size: 9px; text-transform: uppercase; }
.ae-token-details dd { min-width: 0; margin: 0; display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; color: #dbe5e9; font-size: 10px; font-weight: 800; text-align: right; overflow-wrap: anywhere; }
.ae-token-details code { color: #a7bac4; font-family: inherit; }
.ae-copy-icon { width: 26px; height: 26px; padding: 0; display: grid; place-items: center; border: 1px solid #34434e; border-radius: 5px; background: #111a22; color: #a8bac4; cursor: pointer; }
.ae-copy-icon:hover { border-color: var(--ae-teal); color: #eafffa; }
.ae-copy-icon svg { width: 13px; height: 13px; }
.ae-agent-intelligence { padding-top: 24px; }
.ae-agent-intelligence > .ae-stat-band { margin-bottom: 18px; border: 1px solid var(--ae-border); }
.ae-intelligence-grid { grid-template-columns: minmax(0, 1.4fr) minmax(300px, .8fr); }

.ae-trade-panel { padding: 24px; border-left: 1px solid var(--ae-border); background: #0b1117; }
.ae-trade-panel h2 { margin: 0; font-size: 18px; }
.ae-segmented { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 16px 0; border: 1px solid #303d49; border-radius: 6px; overflow: hidden; }
.ae-segmented button { height: 38px; border: 0; border-right: 1px solid #303d49; background: #101820; color: #91a1ad; cursor: pointer; font-weight: 900; }
.ae-segmented button:last-child { border-right: 0; }
.ae-segmented button.active { background: var(--ae-teal); color: #06110f; }
.ae-field-label { display: grid; gap: 7px; margin: 13px 0; color: #a8b6bf; font-size: 11px; font-weight: 800; }
.ae-quote { min-height: 74px; margin: 14px 0; padding: 12px; border: 1px solid #25323d; border-radius: 6px; background: #10171e; }
.ae-quote span { color: #7d8d99; font-size: 10px; text-transform: uppercase; }
.ae-quote strong { display: block; margin-top: 6px; font-size: 18px; }
.ae-quote small { display: block; margin-top: 5px; color: #8797a3; }

.ae-detail-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.75fr); gap: 18px; }
.ae-panel { border: 1px solid var(--ae-border); border-radius: 7px; background: #0d141b; overflow: hidden; }
.ae-panel-header { min-height: 58px; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--ae-border); }
.ae-panel-header h2, .ae-panel-header h3 { margin: 0; font-size: 15px; }
.ae-panel-header p { margin: 4px 0 0; color: var(--ae-muted); font-size: 10px; }
.ae-panel-body { padding: 16px; }
.ae-chart { width: 100%; height: 280px; }

.ae-proof-list,
.ae-milestone-list,
.ae-activity-list { display: grid; gap: 1px; background: #202a33; }
.ae-proof-row,
.ae-milestone-row,
.ae-activity-row { padding: 13px 15px; display: grid; gap: 5px; background: #0e151d; }
.ae-proof-row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.ae-proof-row strong, .ae-milestone-row strong, .ae-activity-row strong { font-size: 12px; }
.ae-proof-row small, .ae-milestone-row small, .ae-activity-row small { color: #82929e; font-size: 10px; line-height: 1.4; }
.ae-proof-state { color: var(--ae-green); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.ae-proof-state.preview { color: var(--ae-amber); }

.ae-score-ring { width: 78px; height: 78px; display: grid; place-items: center; border: 7px solid #21463e; border-radius: 50%; color: var(--ae-green); font-size: 24px; font-weight: 900; }
.ae-score-summary { display: flex; align-items: center; gap: 16px; }
.ae-score-summary p { margin: 0; color: var(--ae-muted); font-size: 11px; line-height: 1.45; }

.ae-form-shell { max-width: 1060px; margin: 0 auto; padding: 34px 24px 60px; }
.ae-form-header { margin-bottom: 24px; }
.ae-form-header h1 { margin: 6px 0 10px; font-size: 36px; }
.ae-form-header p { max-width: 700px; margin: 0; color: var(--ae-muted); line-height: 1.5; }
.ae-stepper { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 24px; border: 1px solid var(--ae-border); border-radius: 6px; overflow: hidden; }
.ae-step { min-height: 58px; padding: 12px 15px; border-right: 1px solid var(--ae-border); background: #0c1219; color: #7e8d99; }
.ae-step:last-child { border-right: 0; }
.ae-step strong { display: block; margin-bottom: 4px; color: inherit; font-size: 12px; }
.ae-step small { font-size: 10px; }
.ae-step.active { color: #07120f; background: var(--ae-teal); }
.ae-form-section { padding: 22px; border: 1px solid var(--ae-border); border-radius: 7px; background: #0d141b; }
.ae-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ae-form-grid .wide { grid-column: 1 / -1; }
.ae-choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ae-choice { min-height: 84px; padding: 13px; border: 1px solid #303c48; border-radius: 6px; background: #0b1118; color: #b9c5cc; text-align: left; cursor: pointer; }
.ae-choice strong { display: block; color: #eef4f7; font-size: 12px; }
.ae-choice small { display: block; margin-top: 6px; line-height: 1.35; }
.ae-choice.selected { border-color: var(--ae-teal); background: #10221f; }
.ae-form-note { padding: 13px; border-left: 3px solid var(--ae-amber); background: #161711; color: #c8c1a6; font-size: 11px; line-height: 1.5; }
.ae-review-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--ae-border); border: 1px solid var(--ae-border); }
.ae-review-item { min-height: 70px; padding: 13px; background: #0d141b; }
.ae-review-item span { color: var(--ae-muted); font-size: 9px; text-transform: uppercase; }
.ae-review-item strong { display: block; margin-top: 6px; font-size: 13px; overflow-wrap: anywhere; }

.ae-studio-toolbar { min-height: 82px; margin: 18px 0; padding: 12px 15px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid var(--ae-border); background: #0d141b; }
.ae-studio-toolbar .ae-field-label { min-width: min(430px, 100%); margin: 0; }
.ae-studio-state { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; font-size: 11px; }
.ae-studio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.ae-studio-grid .ae-panel { align-self: start; }
.ae-studio-grid .ae-panel[data-studio-form="trading-bot"] { grid-column: 1 / -1; }
.ae-field-note { margin: 0; color: #7f909b; font-size: 10px; line-height: 1.45; }
.ae-toggle { min-height: 42px; padding: 0 12px; display: flex; align-items: center; gap: 9px; border: 1px solid #303c47; border-radius: 6px; background: #0a1016; color: #a8b6bf; font-size: 11px; font-weight: 800; }
.ae-toggle input { width: 16px; height: 16px; accent-color: var(--ae-teal); }
.ae-scope-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ae-trading-bot-list { display: grid; gap: 8px; }
.ae-trading-bot-row { min-height: 58px; padding: 9px 11px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid #27343d; border-radius: 6px; background: #0a1117; }
.ae-trading-bot-row > div { min-width: 0; display: flex; align-items: center; gap: 8px; }
.ae-trading-bot-row > div:first-child { align-items: flex-start; flex-direction: column; gap: 4px; }
.ae-trading-bot-row strong { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; }
.ae-trading-bot-row strong svg { width: 14px; height: 14px; color: var(--ae-teal); }
.ae-trading-bot-row small { color: #74858f; font-size: 9px; }
.ae-trading-bot-row .ae-button { min-height: 32px; padding: 0 9px; font-size: 9px; }
.ae-credential-box { margin: 14px 0; padding: 11px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; border: 1px solid #36584f; border-radius: 6px; background: #0b1815; }
.ae-credential-box code { min-width: 0; color: #bdf8eb; font-size: 10px; overflow-wrap: anywhere; }

.ae-directory-tabs { display: flex; gap: 4px; margin-bottom: 18px; border-bottom: 1px solid var(--ae-border); }
.ae-directory-tabs button { min-height: 40px; padding: 0 14px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--ae-muted); cursor: pointer; font-weight: 800; }
.ae-directory-tabs button.active { border-color: var(--ae-teal); color: var(--ae-text); }
.ae-sale-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ae-sale-card { border: 1px solid var(--ae-border); border-radius: 7px; background: #0d141b; overflow: hidden; }
.ae-sale-top { min-height: 145px; padding: 20px; background: #111b23; }
.ae-sale-top h3 { margin: 14px 0 5px; font-size: 20px; }
.ae-sale-top p { margin: 0; color: var(--ae-muted); font-size: 11px; }
.ae-sale-body { padding: 16px; }
.ae-sale-values { display: grid; grid-template-columns: repeat(2, 1fr); margin: 13px 0; }
.ae-sale-values div { padding: 10px 0; }
.ae-sale-values div + div { padding-left: 12px; border-left: 1px solid var(--ae-border); }
.ae-sale-values span { display: block; color: var(--ae-muted); font-size: 9px; text-transform: uppercase; }
.ae-sale-values strong { display: block; margin-top: 4px; }

.ae-market-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(340px, 0.65fr); gap: 18px; }
.ae-signal-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.ae-signal { min-height: 112px; padding: 14px; border: 1px solid var(--ae-border); border-radius: 7px; background: #0d141b; }
.ae-signal span { color: var(--ae-muted); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.ae-signal strong { display: block; margin: 12px 0 4px; font-size: 18px; }
.ae-signal small { color: #82929d; font-size: 10px; }

.ae-swap { border: 1px solid #34434e; border-radius: 7px; background: #0d141b; overflow: hidden; }
.ae-swap-header { padding: 16px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--ae-border); }
.ae-swap-header h2 { margin: 0; font-size: 17px; }
.ae-swap-body { padding: 16px; }
.ae-swap-token { padding: 13px; border: 1px solid #303c47; border-radius: 6px; background: #0a1016; }
.ae-swap-token label { display: flex; justify-content: space-between; gap: 10px; color: var(--ae-muted); font-size: 10px; }
.ae-swap-token-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; margin-top: 8px; }
.ae-swap-token-row input { min-width: 0; width: 100%; border: 0; background: transparent; color: #fff; font-size: 26px; outline: 0; }
.ae-asset-select { min-height: 38px; padding: 0 10px; border: 1px solid #35434f; border-radius: 6px; background: #121c24; color: #fff; font-weight: 900; }
.ae-swap-flip { width: 38px; height: 38px; margin: -5px auto; position: relative; z-index: 2; display: grid; place-items: center; border: 1px solid #3b4a56; border-radius: 50%; background: #131c24; color: var(--ae-teal); cursor: pointer; }
.ae-swap-details { margin: 13px 0; display: grid; gap: 8px; }
.ae-swap-details div { display: flex; justify-content: space-between; gap: 12px; color: #83939e; font-size: 10px; }
.ae-swap-details strong { color: #cbd5da; }

.ae-table-wrap { overflow-x: auto; }
.ae-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.ae-table th { padding: 11px 12px; border-bottom: 1px solid #2d3944; color: #758691; text-align: left; text-transform: uppercase; white-space: nowrap; }
.ae-table td { padding: 13px 12px; border-bottom: 1px solid #1d2730; white-space: nowrap; }
.ae-table tbody tr:hover { background: #111a22; }
.ae-table a { color: #ecf4f7; font-weight: 800; text-decoration: none; }
.ae-table a:hover { color: var(--ae-teal); }
.ae-positive { color: var(--ae-green); }
.ae-negative { color: var(--ae-coral); }
.ae-reliability-bar { width: 92px; height: 5px; overflow: hidden; border-radius: 999px; background: #25313a; }
.ae-reliability-bar span { display: block; height: 100%; background: var(--ae-teal); }

.ae-sale-detail { padding: 30px clamp(20px, 4vw, 54px) 50px; }
.ae-sale-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, 430px); gap: 20px; }
.ae-sale-summary h1 { margin: 9px 0 12px; font-size: 42px; }
.ae-sale-summary > p { max-width: 680px; color: var(--ae-muted); line-height: 1.55; }
.ae-stage-track { margin-top: 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--ae-border); border-radius: 6px; overflow: hidden; }
.ae-stage { min-height: 82px; padding: 13px; border-right: 1px solid var(--ae-border); background: #0d141b; }
.ae-stage:last-child { border-right: 0; }
.ae-stage.live { background: #10211e; }
.ae-stage span { color: var(--ae-muted); font-size: 9px; text-transform: uppercase; }
.ae-stage strong { display: block; margin: 7px 0 3px; }
.ae-stage small { color: #84949f; }

.ae-docs { max-width: 1040px; margin: 0 auto; padding: 38px 24px 64px; }
.ae-docs h1 { margin: 8px 0 10px; font-size: 40px; }
.ae-docs > p { color: var(--ae-muted); line-height: 1.55; }
.ae-doc-grid { margin-top: 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ae-doc-section { padding: 20px; border-top: 1px solid var(--ae-border); }
.ae-doc-section h2 { margin: 0 0 10px; font-size: 18px; }
.ae-doc-section p, .ae-doc-section li { color: #9cacb7; font-size: 12px; line-height: 1.6; }

.ae-footer { padding: 34px clamp(20px, 4vw, 56px); border-top: 1px solid var(--ae-border); background: #080d12; }
.ae-footer-grid { display: grid; grid-template-columns: minmax(260px, 1.3fr) repeat(3, minmax(140px, 0.6fr)); gap: 28px; }
.ae-footer h3 { margin: 0 0 9px; font-size: 14px; }
.ae-footer p { max-width: 520px; margin: 0; color: #7f8f9b; font-size: 11px; line-height: 1.55; }
.ae-footer a { display: block; margin: 8px 0; color: #aebbc4; font-size: 11px; text-decoration: none; }
.ae-footer a:hover { color: var(--ae-teal); }
.ae-footer-legal { margin-top: 30px; padding-top: 18px; border-top: 1px solid #1c2630; color: #63737e; font-size: 10px; line-height: 1.55; }

.ae-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(2, 5, 8, 0.82);
  backdrop-filter: blur(8px);
}

.ae-modal { width: min(520px, 100%); max-height: calc(100vh - 40px); overflow: auto; border: 1px solid #3b4a56; border-radius: 7px; background: #0e151c; box-shadow: 0 34px 80px rgba(0, 0, 0, 0.62); }
.ae-modal-header { padding: 17px 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--ae-border); }
.ae-modal-header h2 { margin: 0; font-size: 17px; }
.ae-modal-body { padding: 18px; }
.ae-modal-body p { color: #9eacb6; font-size: 12px; line-height: 1.55; }
.ae-modal-actions { padding: 0 18px 18px; display: flex; justify-content: flex-end; gap: 9px; }

.ae-toast-stack { position: fixed; right: 18px; bottom: 18px; z-index: 260; display: grid; gap: 8px; }
.ae-toast { width: min(380px, calc(100vw - 36px)); padding: 13px 15px; border: 1px solid #35665c; border-radius: 6px; background: #10211d; color: #d9f4ed; box-shadow: 0 20px 44px rgba(0, 0, 0, 0.42); font-size: 12px; line-height: 1.4; }
.ae-toast.error { border-color: #7c3a46; background: #251318; color: #ffbdc3; }

.ae-loading { min-height: 56vh; display: grid; place-items: center; color: var(--ae-muted); }
.ae-spinner { width: 34px; height: 34px; border: 3px solid #25323c; border-top-color: var(--ae-teal); border-radius: 50%; animation: ae-spin 800ms linear infinite; }
@keyframes ae-spin { to { transform: rotate(360deg); } }

@media (max-width: 1450px) {
  .ae-header-inner { grid-template-columns: 190px minmax(560px, 1fr) 190px; }
  .ae-agent-grid { gap: 10px; }
  .ae-agent-body { padding: 9px 10px 10px; }
  .ae-agent-title h3 { font-size: 13px; }
}

@media (max-width: 1240px) {
  .ae-header-inner { grid-template-columns: 170px minmax(500px, 1fr) 160px; padding: 0 12px; gap: 10px; }
  .ae-brand-copy small { display: none; }
  .ae-network-link { padding: 0 7px; font-size: 10px; }
  .ae-frame { grid-template-columns: 204px minmax(0, 1fr); }
  .ae-ad-rail { padding: 12px; }
  .ae-ad-slot { min-height: 116px; padding: 11px; }
  .ae-agent-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ae-sale-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ae-token-header { grid-template-columns: 72px minmax(220px, 1fr) minmax(150px, 190px); }
  .ae-token-avatar { width: 72px; }
  .ae-token-actions { grid-column: 2 / -1; grid-row: 2; display: flex; }
  .ae-token-actions .ae-button { min-width: 0; }
  .ae-terminal-grid { grid-template-columns: minmax(0, 1fr) 310px; }
}

@media (max-width: 980px) {
  .ae-header-inner { grid-template-columns: 1fr auto; min-height: 112px; align-content: center; }
  .ae-network-nav { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .ae-header-actions { grid-column: 2; grid-row: 1; }
  .ae-header { min-height: 112px; }
  .ae-frame { display: block; }
  .ae-ad-rail { display: none; }
  .ae-mobile-ad-strip { display: flex; gap: 8px; padding: 9px 12px; overflow-x: auto; border-bottom: 1px solid var(--ae-border); background: #090f15; }
  .ae-mobile-ad-strip a { flex: 0 0 auto; min-height: 34px; padding: 0 11px; display: inline-flex; align-items: center; border: 1px solid #37434d; border-radius: 5px; color: #c4cfd6; font-size: 10px; font-weight: 800; text-decoration: none; }
  .ae-hero { min-height: 330px; }
  .ae-hero-content { width: min(700px, 82%); }
  .ae-agent-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ae-detail-header, .ae-market-layout, .ae-sale-hero { grid-template-columns: 1fr; }
  .ae-trade-panel { border-left: 0; border-top: 1px solid var(--ae-border); }
  .ae-detail-grid { grid-template-columns: 1fr; }
  .ae-terminal-grid, .ae-market-lower-grid, .ae-intelligence-grid { grid-template-columns: 1fr; }
  .ae-token-header { grid-template-columns: 72px minmax(0, 1fr) minmax(160px, 210px); }
  .ae-terminal-trade .ae-trade-panel { border-left: 1px solid var(--ae-border); border-top: 1px solid var(--ae-border); }
  .ae-studio-grid { grid-template-columns: 1fr; }
  .ae-stat-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ae-stat:nth-child(2) { border-right: 0; }
  .ae-stat:nth-child(-n+2) { border-bottom: 1px solid var(--ae-border); }
  .ae-simulation-band { align-items: stretch; flex-direction: column; gap: 12px; }
  .ae-simulation-band dl { width: 100%; }
}

@media (max-width: 700px) {
  .ae-header-inner { padding: 0 10px; }
  .ae-brand-copy strong { font-size: 13px; }
  .ae-wallet-button span { display: none; }
  .ae-wallet-button { width: 40px; padding: 0; justify-content: center; }
  .ae-network-nav { overflow-x: auto; grid-template-columns: repeat(4, minmax(126px, 1fr)); }
  .ae-launch-cta { min-height: 76px; padding: 12px 14px 16px; }
  .ae-launch-free-button { min-height: 52px; padding: 0 16px; font-size: 16px; }
  .ae-hero { min-height: 390px; align-items: end; background-position: 67% center; }
  .ae-hero::before { width: 100%; height: 68%; inset: auto 0 0; }
  .ae-hero-content { width: 100%; padding: 24px 20px 28px; }
  .ae-hero h1 { font-size: 42px; }
  .ae-hero p { font-size: 14px; }
  .ae-section { padding: 24px 14px 34px; }
  .ae-section-heading { align-items: start; flex-direction: column; }
  .ae-toolbar { grid-template-columns: 1fr; }
  .ae-simulation-band { padding: 14px; }
  .ae-simulation-band dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ae-simulation-band dl div { min-width: 0; }
  .ae-simulation-disclosure { align-items: flex-start; flex-direction: column; padding: 12px 14px; }
  .ae-agent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .ae-agent-category { display: none; }
  .ae-agent-metrics { grid-template-columns: 1fr; }
  .ae-agent-metric:nth-child(even) { padding-left: 0; border-left: 0; border-top: 1px solid #202a34; }
  .ae-agent-title-copy { align-items: flex-start; flex-direction: column; gap: 3px; }
  .ae-agent-title h3 { width: 100%; font-size: 13px; }
  .ae-token-header { padding: 14px; grid-template-columns: 58px minmax(0, 1fr); gap: 12px; }
  .ae-token-avatar { width: 58px; box-shadow: 0 6px 0 #05090d, 0 10px 18px rgba(0, 0, 0, 0.35); }
  .ae-token-identity h1 { font-size: 20px; }
  .ae-token-identity p { grid-column: 1 / -1; }
  .ae-token-price { grid-column: 1 / -1; padding: 12px 0 0; display: grid; grid-template-columns: 1fr auto; align-items: end; border-left: 0; border-top: 1px solid #26333d; }
  .ae-token-price span { grid-column: 1; }
  .ae-token-price strong { grid-column: 1; font-size: 18px; }
  .ae-token-price small { grid-column: 1; }
  .ae-token-price b { grid-column: 2; grid-row: 1 / 4; align-self: center; }
  .ae-token-actions { grid-column: 1 / -1; grid-row: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ae-token-actions .ae-button { min-width: 0; padding: 0 8px; font-size: 9px; }
  .ae-market-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ae-market-strip > div { min-height: 70px; border-bottom: 1px solid var(--ae-border); }
  .ae-market-strip > div:nth-child(even) { border-right: 0; }
  .ae-market-strip > div:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .ae-token-terminal { padding-top: 12px; }
  .ae-market-chart-header { align-items: flex-start; flex-direction: column; }
  .ae-market-ranges { width: 100%; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .ae-market-chart { height: 300px; }
  .ae-market-flow { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ae-market-flow > div:nth-child(4n) { border-right: 0; }
  .ae-market-flow > div:nth-child(-n+4) { border-bottom: 1px solid var(--ae-border); }
  .ae-detail-identity { grid-template-columns: 88px minmax(0, 1fr); padding: 24px 16px; gap: 15px; }
  .ae-detail-avatar { width: 88px; }
  .ae-detail-identity h1 { font-size: 30px; }
  .ae-detail-identity p { grid-column: 1 / -1; }
  .ae-detail-identity > .ae-detail-tags { grid-column: 1 / -1; }
  .ae-form-shell { padding: 24px 14px 48px; }
  .ae-form-grid, .ae-review-list, .ae-choice-grid, .ae-doc-grid, .ae-sale-grid, .ae-signal-row { grid-template-columns: 1fr; }
  .ae-studio-toolbar { align-items: stretch; flex-direction: column; }
  .ae-studio-state { justify-content: flex-start; }
  .ae-stepper { grid-template-columns: 1fr; }
  .ae-step { min-height: 48px; border-right: 0; border-bottom: 1px solid var(--ae-border); }
  .ae-step:last-child { border-bottom: 0; }
  .ae-sale-detail { padding: 24px 14px 42px; }
  .ae-stage-track { grid-template-columns: 1fr; }
  .ae-stage { border-right: 0; border-bottom: 1px solid var(--ae-border); }
  .ae-stage:last-child { border-bottom: 0; }
  .ae-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 350px) {
  .ae-agent-grid { grid-template-columns: 1fr; }
  .ae-footer-grid { grid-template-columns: 1fr; }
  .ae-stat strong { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .ae-agent-card, .ae-agent-card:hover, .ae-agent-card:focus-within { --ae-card-lift: 0px; --ae-card-scale: 1; --ae-card-tilt-x: 0deg; --ae-card-tilt-y: 0deg; }
  .ae-agent-visual img { transform: scale(1.03); }
}
