@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap");
:root {
  color-scheme: dark;
  --bg: #0b1022;
  --panel: #151c32;
  --line: #2a3352;
  --text: #f0f3ff;
  --muted: #a0aacb;
  --accent: #39d0d8;
  --violet: #ab8dff;
  --mint: var(--accent);
  --font: "Space Grotesk", sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 85% 0%, #6a3bdc14, transparent 48%),
    radial-gradient(ellipse at 30% 90%, #22d1f80a, transparent 50%), var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 5px;
}
button {
  transition:
    background 0.18s,
    transform 0.18s;
}
button:active {
  transform: translateY(1px);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.sidebar {
  width: 228px;
  position: fixed;
  inset: 0 auto 0 0;
  border-right: 1px solid var(--line);
  padding: 32px 20px 20px;
  display: flex;
  flex-direction: column;
  background: #10162b;
  z-index: 20;
}
.brand {
  font-family: "Space Grotesk", sans-serif;
  font-size: 35px;
  letter-spacing: -1.8px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
}
.brand-mark {
  display: grid;
  place-items: center;
  color: var(--mint);
  font-size: 49px;
  font-weight: 500;
  line-height: 1;
  transform: rotate(-12deg);
}
.brand-dot {
  color: var(--mint);
  margin-left: -10px;
}
.workspace-label {
  font-size: 12px;
  letter-spacing: 1.5px;
  color: #5a638c;
  margin: 43px 13px 18px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 7px;
  color: #868eb2;
  margin-bottom: 6px;
  font-weight: 500;
}
.nav-link > span {
  font-size: 20px;
  width: 22px;
  color: #66719d;
}
.nav-link.active {
  color: var(--mint);
  background: #302950;
}
.nav-link.active > span {
  color: var(--mint);
}
.nav-link:hover {
  background: #1d2440;
}
.nav-link small {
  font-size: 12px;
  border: 1px solid #29304c;
  border-radius: 4px;
  padding: 1px 5px;
  margin-left: auto;
}
.tiny-dot,
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  display: inline-block;
  flex-shrink: 0;
}
.tiny-dot {
  margin-left: auto;
}
.side-bottom {
  margin-top: auto;
}
.network {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}
.network small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 5px;
}
.solana-mini {
  font-size: 26px;
  color: #b6a0ff;
  font-weight: 800;
  transform: rotate(-12deg);
  display: inline-block;
}
.docs-link {
  display: flex;
  justify-content: space-between;
  margin: 24px 6px;
  color: #9aa1be;
  font-size: 12px;
}
.side-foot {
  border-top: 1px solid var(--line);
  padding: 18px 5px 0;
  font-size: 12px;
  letter-spacing: 1px;
  color: #5c658f;
  display: flex;
  justify-content: space-between;
}
.app {
  margin-left: 228px;
}
.topbar {
  height: 81px;
  border-bottom: 1px solid var(--line);
  padding: 0 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.breadcrumb {
  color: #6b75a1;
  font-size: 12px;
}
.breadcrumb span {
  margin: 0 15px;
  color: #464e6e;
}
.breadcrumb strong {
  font-weight: 500;
  color: #c1c6d8;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.demo-pill {
  border: 1px solid #323b5e;
  background: #14192f;
  border-radius: 5px;
  font-size: 12px;
  color: #abb1c9;
  letter-spacing: 0.3px;
  padding: 5px 8px;
}
.wallet-button {
  border: 1px solid #303758;
  background: #1b2440;
  color: #d6d8e4;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 12px;
}
.wallet-button span {
  color: var(--mint);
  margin-right: 7px;
}
main {
  max-width: 1540px;
  margin: auto;
  padding: 35px 38px 0;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 1.9px;
  color: #868eb2;
  font-weight: 600;
  margin-bottom: 10px;
}
.heading-line {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 32px;
  letter-spacing: -1.25px;
  font-weight: 650;
  line-height: 1.35;
}
.page-heading p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 9px;
  line-height: 1.6;
}
.chain-label {
  font-size: 12px;
  color: #848db1;
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}
.chain-label .solana-mini {
  font-size: 22px;
}
.demo-note {
  margin: 19px 0 20px;
  font-size: 12px;
  letter-spacing: 1px;
  color: #8d95b6;
  display: flex;
  gap: 10px;
  align-items: center;
}
.demo-note span {
  font-size: 12px;
  letter-spacing: 0;
  color: #636e9b;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 20px 18px;
  min-width: 0;
}
.stat-label {
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #979ebc;
}
.stat-label > span {
  font-size: 17px;
  color: #6a74a0;
}
.stat-value {
  font-family: "Space Grotesk", sans-serif;
  font-size: 29px;
  font-weight: 600;
  letter-spacing: -1px;
  margin-top: 15px;
  white-space: nowrap;
}
.stat-value > span {
  color: #7982a9;
  font-size: 22px;
}
.stat-foot {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  margin-top: 13px;
  min-height: 18px;
  position: relative;
  color: #7079a3;
}
.stat-foot b {
  font-weight: 500;
  color: var(--mint);
  white-space: nowrap;
}
.stat-foot small {
  margin-left: auto;
  color: #959dbc;
}
.spark {
  width: 51px;
  height: 20px;
  margin-left: auto;
  stroke: var(--mint);
  fill: none;
  stroke-width: 1.5;
}
.main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(280px, 1fr);
  gap: 20px;
  margin-top: 22px;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  min-width: 0;
  overflow: hidden;
}
.panel-heading {
  padding: 23px 24px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
h2 {
  font-size: 15px;
  letter-spacing: -0.2px;
  font-weight: 550;
}
.panel-heading p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 7px;
}
.segmented {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 3px;
  gap: 2px;
}
.segmented button {
  background: none;
  border: 0;
  padding: 4px 9px;
  color: #7d86ac;
  font-size: 12px;
  border-radius: 3px;
}
.segmented button.selected {
  background: #232942;
  color: #d6d9e5;
}
.chart-legend {
  margin: 25px 24px 0;
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 12px;
  color: #8890b3;
}
.chart-legend > span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.legend-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 4px;
}
.mint {
  background: var(--mint);
}
.gray {
  background: #515a7f;
}
.legend-line {
  width: 12px;
  border-top: 1px dashed #717ba5;
}
.chart-legend .chart-gain {
  margin-left: auto;
  color: var(--mint);
}
.chart-gain small {
  color: #6a74a0;
  font-size: 12px;
}
.chart-wrap {
  padding: 25px 21px 0 24px;
}
.chart-wrap svg {
  width: 100%;
  overflow: visible;
  display: block;
}
.grid-lines {
  fill: none;
  stroke: #1a203c;
  stroke-width: 1;
  stroke-dasharray: 3 5;
}
.axis-labels {
  fill: #6d77a1;
  font: 12px var(--font);
}
.chart-line {
  stroke: var(--mint);
  stroke-width: 2.6;
  fill: none;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: 1100;
  animation: draw 1.8s ease both;
}
.baseline {
  stroke: #59638c;
  stroke-width: 1.6;
  stroke-dasharray: 4 5;
  fill: none;
}
.x-axis {
  display: flex;
  justify-content: space-between;
  margin: 12px 9% 0 0;
  font-size: 12px;
  color: #6d77a1;
}
.chart-footer {
  margin: 22px 24px 0;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #6a74a0;
}
.chart-footer .dot {
  width: 4px;
  height: 4px;
  margin-right: 5px;
}
.agent-card {
  background:
    radial-gradient(ellipse at 50% 28%, #191f3a70, transparent 60%), #0d111f;
  position: relative;
}
.agent-card h2 {
  font-size: 13px;
}
.agent-icon {
  font-size: 17px;
  color: var(--mint);
  margin-right: 5px;
}
.label {
  font-size: 12px;
  color: #8e95b6;
  border: 1px solid #2c3453;
  padding: 3px 5px;
  border-radius: 3px;
  letter-spacing: 0.7px;
}
.orbit-visual {
  height: 122px;
  position: relative;
  display: grid;
  place-items: center;
  margin-top: 10px;
  overflow: hidden;
}
.orbit {
  position: absolute;
  border: 1px solid #454c6b33;
  border-radius: 50%;
  width: 180px;
  height: 90px;
  transform: rotate(-15deg);
}
.orbit-two {
  width: 235px;
  height: 110px;
  transform: rotate(16deg);
}
.orbit-three {
  width: 290px;
  height: 142px;
  transform: rotate(-15deg);
}
.agent-core {
  width: 57px;
  height: 57px;
  border-radius: 17px;
  background: linear-gradient(135deg, #4c557840, #181e38);
  box-shadow:
    0 0 44px #6fd8e218,
    inset 0 0 18px #8fe0e815;
  border: 1px solid #616c9870;
  font-size: 42px;
  display: grid;
  place-items: center;
  color: #a4ecf3;
  animation: breathe 5s ease-in-out infinite;
}
.orbit-point {
  position: absolute;
  width: 5px;
  height: 5px;
  background: #8fe1e9;
  border-radius: 50%;
  box-shadow: 0 0 9px #89e8f2;
}
.point-one {
  top: 20px;
  left: 32%;
}
.point-two {
  right: 19%;
  bottom: 26px;
  width: 3px;
  height: 3px;
}
.orbit-caption {
  position: absolute;
  bottom: 0;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: #6f79a3;
}
.agent-copy {
  text-align: center;
  margin-top: 13px;
}
.agent-copy h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.8px;
  line-height: 1.25;
}
.agent-copy p {
  color: #8c94b6;
  line-height: 1.6;
  font-size: 12px;
  margin-top: 10px;
}
.agent-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #7f88ad;
  margin: 19px 24px 11px;
}
.agent-meta strong {
  color: #b3b8ce;
  font-weight: 500;
}
.wide-button {
  margin: 0 24px 21px;
  width: calc(100% - 48px);
  background: #21273e;
  border: 1px solid #2f3758;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  font-size: 12px;
}
.wide-button:hover {
  background: #2e3656;
}
.wide-button span {
  color: var(--mint);
}
.lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(280px, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.text-button {
  border: none;
  background: none;
  font-size: 12px;
  color: #a6acc6;
  padding: 0;
  white-space: nowrap;
}
.text-button:hover {
  color: var(--mint);
}
.table-scroll {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
  text-align: left;
}
th {
  font-size: 12px;
  color: #6f79a3;
  font-weight: 400;
  padding: 18px 12px 10px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 13px 12px;
  font-size: 12px;
  border-bottom: 1px solid #181e38;
}
th:first-child,
td:first-child {
  padding-left: 24px;
}
th:last-child,
td:last-child {
  padding-right: 24px;
}
tr:last-child td {
  border-bottom: none;
}
.pool-identity {
  display: flex;
  gap: 10px;
  align-items: center;
}
.token-pair {
  display: flex;
  min-width: 42px;
}
.token {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 2px solid var(--panel);
  border-radius: 50%;
  font-size: 15px;
  font-weight: 600;
  background: #1b223f;
  color: #ade9ef;
}
.token + .token {
  margin-left: -10px;
  background: #2b79c0;
  color: #f1f8ff;
  font-size: 15px;
}
.token.sol {
  background: #121629;
  color: #8cdce4;
}
.token.jito {
  background: #87b340;
  color: #17310d;
}
.token.bonk {
  background: #e3a668;
  color: #683515;
}
.token.ray {
  background: #3b386c;
  color: #b7b1f8;
}
.pool-name {
  font-weight: 500;
  font-size: 12px;
}
.pool-sub {
  font-size: 12px;
  color: #6a74a0;
  margin-top: 4px;
}
.allocation-line {
  margin-top: 6px;
  height: 3px;
  width: 70px;
  background: #22273f;
  border-radius: 3px;
}
.allocation-line i {
  display: block;
  height: 3px;
  background: #707aa4;
  border-radius: 3px;
}
.apr {
  color: #97dce3;
}
.risk {
  padding: 4px 7px;
  border-radius: 4px;
  font-size: 12px;
  background: #1b2240;
  color: #a6acc6;
}
.risk.moderate {
  background: #3a3323;
  color: #d0bd87;
}
.risk.elevated {
  background: #3d2b26;
  color: #d8ad92;
}
.pool-open {
  border: 0;
  background: none;
  color: #868eb2;
  padding: 4px;
  font-size: 16px;
}
.table-bottom {
  border-top: 1px solid var(--line);
  padding: 15px 24px;
  display: flex;
  gap: 19px;
  font-size: 12px;
  color: #7c85ab;
}
.table-bottom > span:last-child {
  margin-left: auto;
  color: #565f86;
}
.rewards-card {
  padding: 0 24px 17px;
  background: linear-gradient(120deg, #111526, #0e111f);
}
.rewards-card .panel-heading {
  padding: 23px 0 0;
}
.rewards-card h2 {
  font-size: 14px;
  max-width: 200px;
  line-height: 1.5;
}
.reward-symbol {
  color: #c0c4d7;
  font-size: 25px;
}
.rewards-card > p {
  font-size: 12px;
  line-height: 1.6;
  margin-top: 11px;
  color: #8a92b4;
}
.reward-amount {
  font-family: "Space Grotesk", sans-serif;
  font-size: 39px;
  letter-spacing: -1.7px;
  font-weight: 500;
  margin-top: 19px;
}
.reward-amount > span {
  color: #8a92b5;
}
.reward-amount small {
  font-family: var(--font);
  font-size: 12px;
  letter-spacing: 0;
  display: block;
  color: #8089ae;
  margin-top: 4px;
}
.reward-rule {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-top: 20px;
  padding-top: 14px;
  color: #8089ae;
}
.reward-rule strong {
  color: #c6cadb;
  font-weight: 400;
}
.mint-button {
  padding: 11px 18px;
  background: #39d0d8;
  color: #101b36;
  border: none;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  width: 100%;
  margin-top: 15px;
}
.mint-button:hover {
  background: #79e7ee;
}
.reward-disclaimer {
  text-align: center;
  color: #606a95;
  font-size: 12px;
  margin-top: 10px;
}
.flow-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 7px;
  margin-top: 21px;
  padding: 20px 24px;
  font-size: 12px;
  color: #8089ae;
}
.flow-title {
  font-size: 12px;
  letter-spacing: 1.2px;
  color: #616b97;
  margin-right: auto;
}
.flow-strip b {
  color: #cfd2e0;
  font-size: 13px;
  font-weight: 500;
  margin-right: 4px;
}
.flow-divider {
  color: #343d62;
}
.flow-strip .text-button {
  margin-left: auto;
}
.app-footer {
  max-width: 1540px;
  margin: 0 auto;
  padding: 24px 38px;
  display: flex;
  justify-content: space-between;
  color: #535c83;
  font-size: 12px;
}
.view {
  animation: enter 0.45s ease both;
}
.view[hidden] {
  display: none;
}
.section-heading {
  margin-bottom: 25px;
}
.section-heading p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 10px;
  max-width: 760px;
}
.section-heading .eyebrow {
  margin-bottom: 12px;
}
.section-body {
  margin-top: 24px;
}
.toolbar {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
input,
select {
  border: 1px solid #2c3351;
  background: #111528;
  color: var(--text);
  border-radius: 6px;
  padding: 12px;
  width: 100%;
  font-size: 14px;
}
.search {
  max-width: 300px;
}
.toolbar select {
  width: auto;
}
.pool-list td,
.pool-list th {
  padding-top: 20px;
  padding-bottom: 20px;
}
.pool-list .pool-name {
  font-size: 14px;
}
.pool-list .pool-sub,
.pool-list td,
.pool-list th {
  font-size: 12px;
}
.empty-state {
  padding: 35px;
  color: var(--muted);
  text-align: center;
}
.explain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 24px;
}
.content-card {
  padding: 26px;
}
.content-card h2 {
  font-size: 18px;
  margin-bottom: 16px;
}
.content-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.content-card ul {
  color: #a3a9c4;
  font-size: 14px;
  line-height: 1.9;
  padding-left: 20px;
}
.content-card li {
  margin-bottom: 9px;
}
.content-card .mint-button {
  font-size: 14px;
}
.timeline {
  padding: 8px 0;
}
.event {
  position: relative;
  padding: 0 0 26px 27px;
  border-left: 1px solid #2c3352;
  margin-left: 5px;
}
.event:last-child {
  padding-bottom: 5px;
}
.event:before {
  content: "";
  width: 7px;
  height: 7px;
  border: 3px solid #111528;
  background: #80c3c9;
  position: absolute;
  left: -7px;
  top: 3px;
  border-radius: 50%;
}
.event-time {
  font-size: 12px;
  color: #717ba5;
  margin-bottom: 7px;
}
.event h3 {
  font-size: 14px;
  margin-bottom: 7px;
  font-weight: 500;
}
.event p {
  font-size: 12px;
  line-height: 1.7;
}
.tag {
  display: inline-block;
  border: 1px solid #323a5d;
  color: #bbc0d4;
  font-size: 12px;
  padding: 4px 6px;
  border-radius: 4px;
  margin-top: 10px;
}
.policy-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
  font-size: 13px;
  color: #8991b3;
}
.policy-row strong {
  color: #d6d8e4;
  text-align: right;
  font-weight: 500;
}
.form-field {
  margin: 23px 0;
}
.form-field label {
  display: block;
  font-size: 13px;
  color: #bdc2d5;
  margin-bottom: 10px;
}
.form-field small {
  display: block;
  color: #767fa7;
  font-size: 12px;
  line-height: 1.7;
  margin-top: 8px;
}
.form-field input[type="range"] {
  accent-color: var(--mint);
  padding: 0;
}
.calc-output {
  font-size: 60px;
  letter-spacing: -3px;
  font-family: "Space Grotesk", sans-serif;
  color: #85e8f3;
  margin: 20px 0;
}
.calc-output span {
  font-size: 22px;
  letter-spacing: 0;
  color: #767fa7;
}
.step-number {
  font-size: 12px;
  letter-spacing: 1px;
  color: #8890b3;
  margin-bottom: 15px;
}
.big-number {
  font-family: "Space Grotesk", sans-serif;
  font-size: 49px;
  color: #bdabff;
  margin-bottom: 13px;
  letter-spacing: -2px;
}
dialog {
  background: #101426;
  border: 1px solid #333b5f;
  border-radius: 14px;
  padding: 38px;
  color: var(--text);
  width: min(560px, calc(100% - 32px));
  max-height: 85vh;
  box-shadow: 0 30px 130px #000b;
}
dialog::backdrop {
  background: #040508bb;
  backdrop-filter: blur(7px);
}
.dialog-close {
  position: absolute;
  top: 13px;
  right: 16px;
  border: 0;
  background: none;
  color: #b2b7cd;
  font-size: 25px;
}
.dialog-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 26px;
  margin: 12px 0;
}
.dialog-copy {
  font-size: 14px;
  color: #979ebc;
  line-height: 1.8;
}
.modal-tag {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--mint);
}
.dialog-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.dialog-actions button {
  width: auto;
  flex: 1;
  font-size: 13px;
}
.secondary-button {
  border: 1px solid #333c60;
  background: #22273e;
  border-radius: 5px;
  padding: 12px;
  color: #cdd0df;
  margin-top: 15px;
}
.notice {
  margin-top: 20px;
  border: 1px solid #2e3656;
  border-radius: 6px;
  padding: 15px;
  font-size: 12px;
  color: #9aa1bf;
  line-height: 1.7;
}
.mono {
  font-family: monospace;
  font-size: 12px;
  color: #bec3d6;
}
.footnote {
  color: #6f79a3;
  font-size: 12px;
  line-height: 1.7;
  margin-top: 16px;
}
.view-heading-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.view-heading-action .mint-button {
  width: auto;
  margin: 0;
  white-space: nowrap;
}
.blueprint {
  max-width: 900px;
  margin: 0 auto;
  padding: 45px 25px 80px;
}
.blueprint h1 {
  margin: 40px 0 15px;
}
.blueprint h2 {
  font-size: 23px;
  margin: 35px 0 15px;
}
.blueprint p,
.blueprint li {
  font-size: 16px;
  line-height: 1.8;
  color: #a3a9c4;
}
.blueprint li {
  margin-bottom: 10px;
}
.blueprint a {
  color: var(--mint);
  text-decoration: underline;
}
.blueprint code {
  color: #d1edef;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.blueprint .notice {
  font-size: 14px;
}
@keyframes draw {
  from {
    stroke-dashoffset: 1100;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes breathe {
  50% {
    box-shadow:
      0 0 55px #6fd8e233,
      inset 0 0 18px #8fe0e822;
    transform: scale(1.06);
  }
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1550px) {
  main {
    padding-top: 46px;
  }
  .stat {
    padding: 25px;
  }
  .stat-value {
    font-size: 35px;
  }
  .chart-wrap {
    padding-top: 34px;
  }
  .agent-copy {
    margin-top: 22px;
  }
  .orbit-visual {
    height: 143px;
  }
  .agent-meta {
    margin-top: 25px;
  }
  .panel-heading {
    padding-top: 28px;
  }
  .reward-amount {
    margin-top: 25px;
  }
  .reward-rule {
    margin-top: 28px;
  }
  .app-footer {
    padding-top: 28px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 195px;
    padding: 30px 14px 18px;
  }
  .app {
    margin-left: 195px;
  }
  .topbar {
    padding: 0 25px;
  }
  main {
    padding: 28px 25px 0;
  }
  .stat {
    padding: 18px 15px;
  }
  .stat-value {
    font-size: 24px;
  }
  .stat-value > span {
    font-size: 18px;
  }
  .spark {
    display: none;
  }
  .stat-foot {
    font-size: 12px;
    gap: 4px;
  }
  .main-grid,
  .lower-grid {
    gap: 15px;
    grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr);
  }
  .panel-heading {
    padding-left: 18px;
    padding-right: 18px;
  }
  h1 {
    font-size: 28px;
  }
  .chain-label {
    display: none;
  }
  .flow-strip {
    gap: 12px;
    padding: 19px 16px;
  }
  .flow-title {
    font-size: 12px;
  }
  .chart-legend {
    gap: 10px;
    margin-left: 18px;
    margin-right: 18px;
  }
  .chart-gain small {
    display: none;
  }
  .rewards-card {
    padding-left: 18px;
    padding-right: 18px;
  }
  .agent-meta {
    margin-left: 18px;
    margin-right: 18px;
  }
  .wide-button {
    margin-left: 18px;
    width: calc(100% - 36px);
  }
  .app-footer {
    padding: 24px 25px;
  }
}
@media (max-width: 1000px) {
  .sidebar {
    width: 76px;
    padding: 25px 10px;
  }
  .brand {
    font-size: 0;
    padding: 0;
    gap: 0;
    justify-content: center;
  }
  .brand-dot,
  .workspace-label,
  .side-bottom {
    display: none;
  }
  .brand-mark {
    font-size: 46px;
  }
  .sidebar nav {
    margin-top: 35px;
  }
  .nav-link {
    font-size: 0;
    justify-content: center;
    padding: 12px 0;
    gap: 0;
  }
  .nav-link > span {
    font-size: 24px;
    width: auto;
  }
  .nav-link small,
  .nav-link i {
    display: none;
  }
  .app {
    margin-left: 76px;
  }
  .stats {
    gap: 10px;
  }
  .stat-value {
    font-size: 25px;
  }
  .main-grid,
  .lower-grid {
    grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr);
  }
  .flow-title {
    display: none;
  }
  .flow-strip {
    justify-content: space-between;
  }
  .chart-legend {
    font-size: 12px;
  }
  .chart-footer {
    font-size: 12px;
  }
  .stat-label {
    font-size: 12px;
  }
  .stat-foot > span:not(.dot) {
    font-size: 12px;
  }
  .pool-panel th,
  .pool-panel td {
    padding-left: 9px;
    padding-right: 9px;
  }
  .pool-panel th:first-child,
  .pool-panel td:first-child {
    padding-left: 17px;
  }
  .pool-panel th:last-child,
  .pool-panel td:last-child {
    padding-right: 12px;
  }
  .table-bottom {
    padding-left: 17px;
    gap: 9px;
  }
  .table-bottom > span:last-child {
    display: none;
  }
}
@media (max-width: 800px) {
  .main-grid,
  .lower-grid {
    grid-template-columns: 1fr;
  }
  .agent-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .agent-card .panel-heading {
    grid-column: 1/-1;
  }
  .orbit-visual {
    grid-column: 1;
    grid-row: 2/5;
    align-self: center;
    height: 165px;
  }
  .agent-copy {
    padding-right: 20px;
    text-align: left;
  }
  .agent-copy h3 {
    font-size: 25px;
  }
  .agent-meta {
    grid-column: 2;
    font-size: 12px;
    margin-left: 0;
  }
  .wide-button {
    grid-column: 2;
    margin-left: 0;
    width: calc(100% - 20px);
  }
  .rewards-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
    padding: 0 24px 22px;
  }
  .rewards-card .panel-heading {
    grid-column: 1/-1;
  }
  .rewards-card h2 {
    max-width: none;
  }
  .rewards-card > p {
    grid-column: 1;
  }
  .reward-amount {
    grid-column: 2;
    grid-row: 2/4;
    margin-top: 8px;
  }
  .reward-rule {
    grid-column: 1;
    margin-top: 15px;
  }
  .rewards-card .mint-button {
    grid-column: 2;
    grid-row: 4;
  }
  .reward-disclaimer {
    grid-column: 1;
    align-self: center;
    margin-top: 15px;
  }
  .chart-wrap svg {
    max-height: 270px;
  }
  .explain-grid {
    grid-template-columns: 1fr;
  }
  .app-footer > span:nth-child(2) {
    display: none;
  }
  .flow-strip {
    font-size: 12px;
    gap: 8px;
  }
  .flow-strip b {
    font-size: 12px;
  }
  .stat-value {
    font-size: 22px;
  }
  .stat-value > span {
    font-size: 15px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .stat-label {
    font-size: 12px;
  }
  .stat-value {
    font-size: 29px;
  }
  .stat-value > span {
    font-size: 22px;
  }
  .stat-foot {
    font-size: 12px;
  }
  .stat-foot > span:not(.dot) {
    font-size: 12px;
  }
  .spark {
    display: block;
  }
  .view-heading-action {
    align-items: flex-start;
    flex-direction: column;
  }
  .view-heading-action .mint-button {
    margin: 0 0 20px;
  }
  .top-actions {
    gap: 10px;
  }
}
@media (max-width: 560px) {
  .sidebar {
    width: 60px;
    padding: 23px 7px;
  }
  .app {
    margin-left: 60px;
  }
  .brand-mark {
    font-size: 37px;
  }
  .topbar {
    height: 70px;
    padding: 0 16px;
  }
  .breadcrumb {
    font-size: 12px;
  }
  .breadcrumb > span,
  .breadcrumb > strong {
    display: none;
  }
  .wallet-button {
    font-size: 12px;
    padding: 9px;
  }
  .wallet-button span {
    display: none;
  }
  .demo-pill {
    font-size: 12px;
    padding: 4px;
  }
  .top-actions {
    gap: 8px;
  }
  main {
    padding: 27px 15px 0;
  }
  .eyebrow {
    font-size: 12px;
    letter-spacing: 1.2px;
  }
  h1 {
    font-size: 27px;
    line-height: 1.25;
    letter-spacing: -1px;
  }
  .page-heading p {
    font-size: 12px;
    line-height: 1.7;
    margin-top: 12px;
  }
  .demo-note {
    align-items: flex-start;
    margin: 20px 0 16px;
    font-size: 12px;
    gap: 7px;
  }
  .demo-note span {
    font-size: 12px;
    line-height: 1.5;
  }
  .stats {
    gap: 9px;
  }
  .stat {
    padding: 15px 12px;
  }
  .stat-label {
    font-size: 12px;
  }
  .stat-label > span {
    font-size: 13px;
  }
  .stat-value {
    font-size: 23px;
    margin-top: 13px;
  }
  .stat-value > span {
    font-size: 15px;
  }
  .stat-foot {
    font-size: 12px;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 11px;
  }
  .stat-foot > span:not(.dot) {
    font-size: 12px;
  }
  .spark {
    display: none;
  }
  .main-grid {
    margin-top: 16px;
  }
  .panel-heading {
    padding: 20px 16px 0;
  }
  h2 {
    font-size: 13px;
  }
  .panel-heading p {
    font-size: 12px;
    line-height: 1.6;
  }
  .segmented button {
    font-size: 12px;
    padding: 4px 6px;
  }
  .chart-legend {
    margin: 20px 16px 0;
    font-size: 12px;
    gap: 9px;
    flex-wrap: wrap;
  }
  .chart-legend .chart-gain {
    font-size: 12px;
  }
  .chart-wrap {
    padding: 23px 13px 0;
  }
  .x-axis {
    font-size: 12px;
  }
  .chart-footer {
    margin: 20px 15px 0;
    font-size: 12px;
    line-height: 1.6;
    gap: 15px;
  }
  .agent-card {
    display: block;
  }
  .agent-card .orbit-visual {
    height: 133px;
    margin-top: 13px;
  }
  .agent-copy {
    text-align: center;
    padding: 0;
  }
  .agent-copy p {
    font-size: 12px;
  }
  .agent-meta {
    margin: 20px 18px 12px;
    font-size: 12px;
  }
  .wide-button {
    margin-left: 18px;
    width: calc(100% - 36px);
    font-size: 12px;
  }
  .lower-grid {
    margin-top: 16px;
  }
  .pool-panel .panel-heading {
    flex-wrap: wrap;
    gap: 12px;
  }
  .pool-panel th,
  .pool-panel td {
    font-size: 12px;
  }
  .pool-panel th:nth-child(4),
  .pool-panel td:nth-child(4) {
    display: none;
  }
  .pool-name {
    font-size: 12px;
  }
  .token {
    width: 24px;
    height: 24px;
    font-size: 13px;
  }
  .token-pair {
    min-width: 34px;
  }
  .pool-identity {
    gap: 6px;
  }
  .pool-panel th:first-child,
  .pool-panel td:first-child {
    padding-left: 14px;
  }
  .pool-panel td {
    padding-left: 7px;
    padding-right: 7px;
  }
  .pool-panel th:nth-child(3) {
    font-size: 12px;
  }
  .allocation-line {
    width: 40px;
  }
  .rewards-card {
    display: block;
    padding: 0 20px 20px;
  }
  .rewards-card .panel-heading {
    padding-top: 20px;
  }
  .rewards-card > p {
    font-size: 12px;
  }
  .reward-amount {
    margin-top: 20px;
  }
  .reward-rule {
    margin-top: 23px;
  }
  .rewards-card .mint-button {
    font-size: 12px;
  }
  .reward-disclaimer {
    font-size: 12px;
  }
  .flow-strip {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 13px;
    font-size: 12px;
    padding: 20px;
  }
  .flow-divider {
    display: none;
  }
  .flow-strip .text-button {
    margin-left: 0;
  }
  .flow-strip > div {
    width: 100%;
  }
  .app-footer {
    padding: 20px 15px;
    font-size: 12px;
  }
  .toolbar {
    padding: 15px;
    flex-wrap: wrap;
  }
  .toolbar input,
  .toolbar select {
    max-width: none;
    width: 100%;
    font-size: 12px;
  }
  .content-card {
    padding: 22px;
  }
  .content-card h2 {
    font-size: 17px;
  }
  .content-card p {
    font-size: 13px;
  }
  .section-heading p {
    font-size: 13px;
  }
  .section-heading h1 {
    font-size: 29px;
  }
  .calc-output {
    font-size: 48px;
  }
  .policy-row {
    font-size: 12px;
  }
  dialog {
    padding: 30px 22px;
  }
  .dialog-title {
    font-size: 24px;
  }
  .dialog-actions {
    flex-direction: column;
    gap: 0;
  }
  .notice {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.stat-foot {
  flex-wrap: wrap;
}
.stat-label {
  gap: 8px;
}
.nav-link {
  font-size: 14px;
}
.panel-heading p,
.agent-copy p,
.rewards-card > p {
  font-size: 13px;
}
.page-heading p {
  font-size: 14px;
}
.workspace-label,
.flow-title {
  font-size: 10px;
}
.stat-foot > span:not(.dot) {
  line-height: 1.5;
}
.chart-footer {
  line-height: 1.5;
}
.chart-gain small {
  display: none;
}
.reward-disclaimer {
  line-height: 1.6;
}
.orbit-caption {
  font-size: 9px;
}
.side-foot {
  font-size: 10px;
}
.pool-name {
  font-size: 13px;
}
.pool-sub {
  font-size: 12px;
}
.pool-panel td {
  padding-top: 15px;
  padding-bottom: 15px;
}
.demo-note {
  line-height: 1.6;
}
.flow-strip {
  flex-wrap: wrap;
}
.app-footer {
  gap: 18px;
  line-height: 1.6;
}
.calc-output {
  display: block;
}
.main-grid {
  align-items: stretch;
}
.agent-card {
  display: flex;
  flex-direction: column;
}
.agent-card .orbit-visual {
  flex: 1;
  min-height: 130px;
}
.agent-card .wide-button {
  flex-shrink: 0;
}
.rewards-card .reward-disclaimer {
  font-size: 11px;
}
.table-bottom {
  flex-wrap: wrap;
}
.stat-value {
  font-variant-numeric: tabular-nums;
}
@media (max-width: 1000px) {
  .nav-link {
    font-size: 0;
  }
}
@media (max-width: 800px) {
  .agent-card .orbit-visual {
    height: 150px;
  }
  .chart-wrap svg {
    max-height: none;
  }
  .agent-meta {
    margin-left: 18px;
  }
  .wide-button {
    margin-left: 18px;
    width: calc(100% - 36px);
  }
  .agent-copy {
    text-align: center;
  }
  .rewards-card {
    display: block;
  }
  .table-bottom > span:last-child {
    display: none;
  }
}
@media (max-width: 560px) {
  .stat-value {
    font-size: 21px;
  }
  .stat-label {
    font-size: 12px;
    line-height: 1.5;
  }
  .stat-label > span {
    display: none;
  }
  .stat-foot {
    font-size: 11px;
  }
  .stat-foot > span:not(.dot) {
    font-size: 11px;
  }
  .chart-legend {
    font-size: 11px;
  }
  .table-scroll table {
    min-width: 480px;
  }
  .pool-panel .table-scroll table {
    min-width: 360px;
  }
  .panel-heading {
    flex-wrap: wrap;
  }
  .flow-title {
    font-size: 10px;
  }
  .wallet-button {
    font-size: 11px;
  }
  .breadcrumb {
    display: none;
  }
  .topbar {
    justify-content: flex-end;
  }
  .top-actions {
    gap: 10px;
  }
  .demo-pill {
    font-size: 10px;
  }
  .side-foot {
    display: none;
  }
  .stat-value > span {
    font-size: 14px;
  }
  .app-footer {
    flex-wrap: wrap;
  }
  .chart-footer > span:last-child {
    display: none;
  }
}
.engine-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.engine-controls {
  display: flex;
  gap: 12px;
  align-items: center;
}
.engine-controls[hidden] {
  display: none;
}
.engine-controls button {
  width: auto;
  margin-top: 18px;
  font-size: 13px;
}
.engine-table th,
.engine-table td {
  font-size: 13px;
  padding: 16px 12px;
}
.engine-table {
  margin-top: 18px;
  white-space: normal;
}
.engine-reason {
  max-width: 290px;
  line-height: 1.6;
}
.engine-table td:first-child {
  min-width: 140px;
}
.engine-table td:nth-child(2) {
  white-space: nowrap;
}
@media (max-width: 560px) {
  .engine-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .engine-controls {
    flex-wrap: wrap;
  }
  .engine-table {
    min-width: 600px;
  }
}

/* Keep secondary copy readable on dark surfaces. */
.app-footer,
.side-foot,
.workspace-label,
.reward-disclaimer,
.table-bottom > span:last-child {
  color: #838baf;
}
.pool-panel,
.stat,
.content-card {
  transition: border-color 0.2s ease;
}
.pool-panel:hover,
.stat:hover {
  border-color: #323b5e;
}
.table-scroll:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: -3px;
}

/* A living current: decorative motion is separate from market activity. */
.motion-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #2c3352;
  border-radius: 6px;
  background: #111526;
  padding: 9px 11px;
  font-size: 12px;
  color: #bdc2d5;
}
.liquidity-scene {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #31395b;
  border-radius: 14px;
  margin: 0 0 24px;
  background:
    radial-gradient(ellipse at 50% 60%, #262c4666, transparent 65%),
    linear-gradient(115deg, #111527, #10191b 75%);
  box-shadow: inset 0 1px 0 #b9f2f70b;
}
.liquidity-scene::before {
  content: "";
  position: absolute;
  width: 45%;
  height: 170%;
  top: -50%;
  left: 0;
  border-radius: 50%;
  background: radial-gradient(ellipse, #5dd2de15, transparent 65%);
  animation: current-drift 16s ease-in-out infinite alternate;
  z-index: -1;
}
#liquidity-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
.scene-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px 0;
  gap: 15px;
}
.scene-heading .eyebrow {
  color: #9fa5c1;
  font-size: 11px;
  letter-spacing: 2px;
}
.scene-tag {
  color: #838cb0;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
}
.scene-tag i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8fcbd1;
}
.flow-stages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  padding: 20px 26px 25px;
}
.flow-stage {
  grid-row: 1;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  border: 0;
  border-radius: 12px;
  background: transparent;
  padding: 7px;
  text-align: center;
}
.flow-stage:nth-of-type(1) {
  grid-column: 1;
}
.flow-stage:nth-of-type(2) {
  grid-column: 2;
}
.flow-stage:nth-of-type(3) {
  grid-column: 3;
}
.stage-orb {
  width: 53px;
  height: 53px;
  display: grid;
  place-items: center;
  margin-bottom: 13px;
  border: 1px solid #454c6b;
  border-radius: 17px;
  background: linear-gradient(140deg, #2f3757, #0f1323);
  font-size: 32px;
  color: #8bc8ce;
  transition:
    box-shadow 0.8s,
    border-color 0.8s,
    transform 0.8s;
}
.stage-number {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #7c85ac;
  margin-bottom: 8px;
}
.flow-stage strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  font-weight: 550;
  color: #d6d9e5;
}
.flow-stage small {
  font-size: 12px;
  color: #7e87ac;
  margin-top: 5px;
}
.flow-stage.is-current .stage-orb {
  border-color: #8fe0e8;
  box-shadow:
    0 0 32px #7de6f133,
    inset 0 0 20px #96e9f119;
  color: #d6f7fb;
}
.flow-stage.is-current strong {
  color: #ecfbfd;
}
/* Overlap two equal stage columns: span the full gap between 53px orbs. */
.flow-connector {
  grid-row: 1;
  grid-column: 1 / 3;
  justify-self: center;
  align-self: start;
  width: calc(50% - 53px);
  pointer-events: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, #5a648d, transparent);
  position: relative;
  margin-top: 33.5px;
}
.flow-connector:nth-of-type(2) {
  grid-column: 2 / 4;
}
.flow-connector i {
  position: absolute;
  top: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b7f1f7;
  box-shadow: 0 0 9px #86e8f2;
  animation: flow-particle 3.4s linear infinite;
}
.flow-connector i:nth-child(2) {
  animation-delay: -1.13s;
}
.flow-connector i:nth-child(3) {
  animation-delay: -2.26s;
}
.scene-bottom {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  border-top: 1px solid #2f365680;
  padding: 16px 26px;
  background: #0b0e1ba6;
  min-height: 70px;
}
.scene-bottom p {
  font-size: 12px;
  line-height: 1.7;
  color: #a6acc6;
  max-width: 700px;
  margin: 0;
}
.scene-counter {
  flex-shrink: 0;
  font-family: "Space Grotesk", sans-serif;
  color: #c8eef2;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}
.scene-counter span {
  color: #555f86;
  font-size: 12px;
}
.panel,
.stat {
  position: relative;
  isolation: isolate;
}
.panel::after,
.stat::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(
    320px circle at var(--pointer-x, 50%) var(--pointer-y, 0),
    #a2edf509,
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.5s;
  z-index: -1;
}
.panel:hover::after,
.stat:hover::after {
  opacity: 1;
}
.stat {
  transition:
    border-color 0.3s,
    transform 0.3s,
    box-shadow 0.3s;
}
@media (hover: hover) {
  .stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px #0002;
  }
}
.nav-link {
  transition:
    background 0.25s,
    color 0.25s;
}
.orbit {
  animation: orbit-drift 12s ease-in-out infinite alternate;
}
.orbit-two {
  animation-duration: 17s;
  animation-direction: alternate-reverse;
}
.orbit-three {
  animation-duration: 23s;
}
.orbit-point {
  animation: point-drift 8s ease-in-out infinite alternate;
}
.point-two {
  animation-delay: -4s;
}
.chart-wrap {
  position: relative;
}
.chart-tooltip {
  position: absolute;
  top: 4px;
  left: 24px;
  border: 1px solid #454c6c;
  background: #111528f2;
  border-radius: 5px;
  padding: 7px 10px;
  font-size: 11px;
  color: #c5f2f7;
  pointer-events: none;
  box-shadow: 0 5px 20px #0005;
}
#performance-chart:focus-visible {
  outline: 1px solid #69739f;
  outline-offset: 4px;
  border-radius: 3px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
#detail-dialog[open] {
  animation: dialog-arrive 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
#detail-dialog::backdrop {
  backdrop-filter: blur(6px);
}
.mint-button {
  transition:
    background 0.2s,
    box-shadow 0.3s,
    transform 0.2s;
}
.mint-button:hover {
  box-shadow: 0 0 25px #9decf323;
}
@keyframes current-drift {
  from {
    transform: translateX(-10%) rotate(-20deg);
  }
  to {
    transform: translateX(130%) rotate(25deg);
  }
}
@keyframes flow-particle {
  0% {
    left: 0;
    opacity: 0;
  }
  20%,
  80% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}
@keyframes orbit-drift {
  from {
    transform: rotate(-18deg) scale(0.94);
  }
  to {
    transform: rotate(22deg) scale(1.06);
  }
}
@keyframes point-drift {
  from {
    transform: translate(-15px, -6px);
    opacity: 0.4;
  }
  to {
    transform: translate(17px, 10px);
    opacity: 1;
  }
}
@keyframes dialog-arrive {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.motion-paused *,
.motion-paused *::before,
.motion-paused *::after {
  animation-play-state: paused !important;
  transition: none !important;
}
.motion-paused .stat:hover {
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .stat:hover {
    transform: none;
  }
}
@media (max-width: 800px) {
  .flow-stages {
    padding: 20px 12px;
  }
  .flow-stage strong {
    font-size: 13px;
  }
  .flow-stage small {
    font-size: 11px;
  }
  .scene-heading,
  .scene-bottom {
    padding-left: 20px;
    padding-right: 20px;
  }
  .motion-toggle span {
    display: none;
  }
}
@media (max-width: 560px) {
  .flow-stages {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, minmax(84px, auto));
    gap: 16px;
    padding: 12px 18px;
  }
  .flow-stage:nth-of-type(n) {
    grid-column: 1;
    height: 100%;
  }
  .flow-stage:nth-of-type(1) {
    grid-row: 1;
  }
  .flow-stage:nth-of-type(2) {
    grid-row: 2;
  }
  .flow-stage:nth-of-type(3) {
    grid-row: 3;
  }
  .flow-stage {
    display: grid;
    grid-template-columns: 44px 1fr;
    text-align: left;
    column-gap: 15px;
    padding: 12px 0;
    width: 100%;
  }
  .stage-orb {
    grid-row: 1/4;
    width: 44px;
    height: 44px;
    font-size: 27px;
    margin: 0;
  }
  .stage-number {
    margin-bottom: 4px;
    font-size: 9px;
  }
  .flow-stage small {
    margin-top: 3px;
  }
  .flow-connector:nth-of-type(n) {
    grid-column: 1;
    grid-row: 1 / 3;
    justify-self: start;
    align-self: center;
  }
  .flow-connector:nth-of-type(2) {
    grid-row: 2 / 4;
  }
  .flow-connector {
    width: 1px;
    height: calc(50% - 36px);
    margin: 0 0 0 21.5px;
    background: #333b5f;
  }
  .flow-connector i {
    width: 3px;
    height: 3px;
    top: 0;
    left: -1px;
    animation: flow-particle-mobile 2s linear infinite;
  }
  .scene-heading {
    padding: 18px 18px 0;
  }
  .scene-heading .eyebrow {
    font-size: 9px;
    letter-spacing: 1px;
  }
  .scene-tag {
    font-size: 10px;
  }
  .scene-bottom {
    padding: 14px 18px;
    min-height: 100px;
  }
  .scene-bottom p {
    font-size: 11px;
  }
  .scene-counter {
    display: none;
  }
  .top-actions {
    gap: 7px;
  }
  .motion-toggle {
    padding: 7px;
  }
  .chart-tooltip {
    font-size: 10px;
    left: 15px;
  }
}
@keyframes flow-particle-mobile {
  0% {
    top: 0;
    opacity: 0;
  }
  30%,
  70% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

/* Tidal's Raydium-inspired navy, violet and electric cyan identity. */
.sidebar {
  background: linear-gradient(180deg, #11172e, #0e1429);
}
.topbar {
  background: #0c1225a8;
}
.brand-mark,
.brand-dot {
  color: var(--violet);
}
.nav-link.active {
  background: linear-gradient(105deg, #7856cf33, #34234f4d);
  color: #d0bcff;
  box-shadow: inset 2px 0 #ab8dff;
}
.nav-link.active > span {
  color: #bba1ff;
}
.nav-link {
  border-radius: 9px;
}
.panel,
.stat {
  border-radius: 14px;
  border-color: #2a3352;
  background-color: #151c32;
}
.panel:hover,
.stat:hover {
  border-color: #454c78;
}
.stat {
  background: linear-gradient(135deg, #1a223b, #141b31);
}
.stat-value {
  font-weight: 500;
  letter-spacing: -1px;
}
h1 {
  letter-spacing: -1.2px;
}
h1 .heading-accent {
  background: linear-gradient(100deg, #c3a8ff, #8ec7ff 60%, #39d0d8);
  color: transparent;
  background-clip: text;
}
.demo-pill {
  color: #c5b3f9;
  background: #7d55c31c;
  border-color: #64469666;
  border-radius: 6px;
}
.wallet-button {
  border: 1px solid #39d0d870;
  color: #90e8f2;
  background: #39d0d80b;
  border-radius: 8px;
}
.wallet-button:hover {
  background: #39d0d819;
}
.mint-button {
  background: linear-gradient(100deg, #22d1f8, #39d0d8);
  color: #101b36;
  border-radius: 8px;
  font-weight: 600;
}
.mint-button:hover {
  background: linear-gradient(100deg, #72e2fb, #6ce3e8);
  box-shadow: 0 0 28px #22d1f826;
}
.secondary-button,
.wide-button {
  background: linear-gradient(105deg, #362751, #23263f);
  border-color: #64508180;
  color: #d7c5ff;
  border-radius: 8px;
}
.secondary-button:hover,
.wide-button:hover {
  background: #3d305d;
}
.motion-toggle {
  color: #bbade7;
  border-color: #474365;
  background: #211e39;
}
.liquidity-scene {
  border-color: #54427c;
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 12% 25%, #8654da30, transparent 58%),
    radial-gradient(ellipse at 90% 75%, #22d1f81a, transparent 58%),
    linear-gradient(115deg, #1c1c3b, #111d35);
  box-shadow:
    inset 0 1px 0 #c5b2ff12,
    0 14px 60px #06091925;
}
.liquidity-scene::before {
  background: radial-gradient(ellipse, #9770f52b, transparent 65%);
}
.scene-heading .eyebrow {
  color: #bfabf3;
}
.stage-orb {
  border-color: #7862a7;
  background: linear-gradient(140deg, #483967, #23213f);
  color: #ccb4fc;
  border-radius: 15px;
}
.flow-stage.is-current .stage-orb {
  border-color: #b99af5;
  box-shadow:
    0 0 35px #9d68ed45,
    inset 0 0 18px #c5a4ff1a;
  color: #ece2ff;
}
.flow-stage:last-child .stage-orb {
  background: linear-gradient(140deg, #23586c, #172b43);
  border-color: #427e90;
  color: #87e8f2;
}
.flow-stage:last-child.is-current .stage-orb {
  border-color: #39d0d8;
  box-shadow: 0 0 30px #39d0d840;
}
.stage-number {
  color: #a799cf;
}
.flow-stage strong {
  color: #e0ddf8;
}
.flow-stage small {
  color: #a0aacb;
}
.flow-connector {
  background: linear-gradient(90deg, #ac8bff22, #b292ff, #39d0d8);
}
.flow-connector i {
  background: #c3abff;
  box-shadow: 0 0 10px #9e73f9;
}
.flow-connector:nth-of-type(2) i {
  background: #76e8f6;
  box-shadow: 0 0 10px #39d0d8;
}
.scene-bottom {
  border-color: #615c8a40;
  background: #0e142d8c;
}
.scene-bottom p {
  color: #b2bcdd;
}
.scene-counter {
  color: #c9b3fb;
}
.agent-card {
  background:
    radial-gradient(ellipse at 50% 20%, #8456cf29, transparent 65%), #171c35;
}
.agent-core {
  background: linear-gradient(135deg, #64488870, #26203f);
  border-color: #a685d580;
  color: #d5baff;
  box-shadow:
    0 0 45px #9461e02b,
    inset 0 0 18px #c0a1ff1a;
}
.orbit {
  border-color: #9c76df33;
}
.orbit-point {
  background: #bca0ff;
  box-shadow: 0 0 12px #a47dfb;
}
.rewards-card {
  background:
    radial-gradient(ellipse at top right, #22d1f814, transparent 75%), #151d34;
}
input,
select {
  background: #10182d;
  border-color: #35415f;
  border-radius: 9px;
}
input:focus,
select:focus {
  border-color: #8b70c9;
}
.notice {
  background: #8c6fe208;
  border-color: #57507d;
  color: #b5bdd9;
}
.tag,
.label {
  background: #8e6ae014;
  border-color: #655382;
  color: #c3b0ed;
}
dialog {
  background: linear-gradient(135deg, #222844, #171e35);
  border-color: #5b4a81;
  border-radius: 18px;
}
dialog::backdrop {
  background: #05081ac9;
}
.chart-tooltip {
  background: #1c2140f5;
  border-color: #746199;
  color: #d9ccfb;
}
.segmented button.selected {
  background: #43335e;
  color: #ddc9ff;
}
.segmented {
  background: #11182b;
  border-color: #363952;
  border-radius: 8px;
}
.segmented button {
  border-radius: 5px;
}
.allocation-line i {
  background: linear-gradient(90deg, #ab8dff, #39d0d8);
}
.panel::after,
.stat::after {
  background: radial-gradient(
    320px circle at var(--pointer-x, 50%) var(--pointer-y, 0),
    #ac8bff10,
    transparent 65%
  );
}
@media (max-width: 560px) {
  .flow-connector {
    background: #705c9c;
  }
}

/* Visible orbital activity: moving particles and trails share the same paths. */
.agent-card .orbit-visual {
  width: 100%;
  align-self: stretch;
  min-height: 205px;
  overflow: visible;
}
.agent-network {
  position: absolute;
  inset: 0 0 18px;
  width: 100%;
  height: calc(100% - 18px);
  overflow: visible;
}
.network-plane {
  --orbit-color: #b49aff;
  --orbit-duration: 9s;
  --orbit-offset: 0;
  fill: none;
}
.plane-cyan {
  --orbit-color: #55e0f0;
  --orbit-duration: 12s;
  --orbit-offset: -4s;
}
.plane-inner {
  --orbit-color: #d1b9ff;
  --orbit-duration: 7s;
  --orbit-offset: -2s;
}
.network-track {
  stroke: var(--orbit-color);
  stroke-width: 1;
  opacity: 0.38;
}
.network-stream,
.network-particle {
  stroke: var(--orbit-color);
  stroke-linecap: round;
  animation: network-travel var(--orbit-duration) linear var(--orbit-offset)
    infinite;
}
.network-stream {
  stroke-width: 2;
  stroke-dasharray: 10 90;
  opacity: 0.65;
}
.network-particle {
  stroke-width: 5;
  stroke-dasharray: 0.01 99.99;
  filter: drop-shadow(0 0 4px var(--orbit-color));
}
.network-hub rect {
  stroke: #bc9df0;
  stroke-width: 1.3;
  filter: drop-shadow(0 0 13px #9c72e86b);
}
.hub-halo {
  fill: none;
  stroke: #bca0ff;
  stroke-width: 1;
  transform-origin: 180px 98px;
  animation: hub-signal 4s ease-in-out infinite;
}
.hub-symbol {
  transform-origin: 180px 98px;
  animation: hub-turn 28s linear infinite;
}
.hub-symbol path {
  stroke: #e0ceff;
  stroke-width: 2;
  stroke-linecap: round;
}
.hub-symbol circle {
  fill: #b7f5ff;
  filter: drop-shadow(0 0 5px #55e0f0);
}
.orbit-caption {
  bottom: 0;
  color: #c0b2dd;
  font-size: 10px;
  letter-spacing: 1.6px;
}
@keyframes network-travel {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -100;
  }
}
@keyframes hub-signal {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.18;
  }
  50% {
    transform: scale(1.12);
    opacity: 0.5;
  }
}
@keyframes hub-turn {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 560px) {
  .agent-card .orbit-visual {
    min-height: 200px;
  }
}

.integration-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.integration-heading h2 {
  margin: 10px 0 4px;
}
.integration-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(171, 142, 245, 0.14);
  border: 1px solid rgba(171, 142, 245, 0.14);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 28px;
}
.integration-item {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: #121a31;
}
.integration-number {
  color: #b498eb;
  font:
    500 13px "Space Grotesk",
    sans-serif;
  padding-top: 3px;
}
.integration-item h3 {
  font-size: 16px;
  margin: 0 0 8px;
}
.integration-state {
  color: #69d8e3;
  font-size: 11px;
  letter-spacing: 0.025em;
}
.integration-item p {
  font-size: 13px;
  line-height: 1.7;
  margin: 12px 0 0;
}
@media (max-width: 700px) {
  .integration-grid {
    grid-template-columns: 1fr;
  }
  .integration-item {
    padding: 20px;
    gap: 12px;
  }
  .integration-heading {
    gap: 14px;
  }
}
