@font-face {
  font-family: Monaspace Argon;
  src: url(/fonts/MonaspaceArgon-Light.woff2) format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Monaspace Argon;
  src: url(/fonts/MonaspaceArgon-Regular.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Monaspace Argon;
  src: url(/fonts/MonaspaceArgon-Medium.woff2) format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Monaspace Argon;
  src: url(/fonts/MonaspaceArgon-SemiBold.woff2) format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Monaspace Argon;
  src: url(/fonts/MonaspaceArgon-Bold.woff2) format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Monaspace Neon;
  src: url(/fonts/MonaspaceNeon-Light.woff2) format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Monaspace Neon;
  src: url(/fonts/MonaspaceNeon-Regular.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Monaspace Neon;
  src: url(/fonts/MonaspaceNeon-Italic.woff2) format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: Monaspace Neon;
  src: url(/fonts/MonaspaceNeon-Medium.woff2) format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Monaspace Xenon;
  src: url(/fonts/MonaspaceXenon-Regular.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Monaspace Xenon;
  src: url(/fonts/MonaspaceXenon-Medium.woff2) format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Monaspace Xenon;
  src: url(/fonts/MonaspaceXenon-SemiBold.woff2) format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Monaspace Xenon;
  src: url(/fonts/MonaspaceXenon-Bold.woff2) format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --font-mono: "Monaspace Argon", "SF Mono", "Fira Code", "Consolas", monospace;
  --font-sans: "Monaspace Xenon", "Monaspace Argon", system-ui, sans-serif;
  --font-serif: "Monaspace Neon", "Monaspace Argon", Georgia, serif;
  --font-body: var(--font-serif);
  --font-heading: var(--font-sans);
  --font-ui: var(--font-sans);
  --font-code: var(--font-mono);
  --font-numeric: var(--font-mono);
  --text-xs: clamp(0.6rem, 0.55rem + 0.25vw, 0.7rem);
  --text-sm: clamp(0.7rem, 0.65rem + 0.25vw, 0.75rem);
  --text-base: clamp(0.85rem, 0.8rem + 0.25vw, 0.95rem);
  --text-lg: clamp(1rem, 0.9rem + 0.5vw, 1.15rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  --text-3xl: clamp(2rem, 1.5rem + 2vw, 3rem);
  --leading-tight: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.7;
  --tracking-tight: -0.01em;
  --tracking-normal: 0.01em;
  --tracking-wide: 0.05em;
  --tracking-wider: 0.1em;
  --tracking-widest: 0.15em;
}
.mono-texture,
code,
pre,
.font-mono {
  font-feature-settings: "calt" 1, "liga" 1, "ss01" 1;
  text-rendering: optimizeLegibility;
}
.font-sans,
.font-ui,
button,
input,
select {
  font-feature-settings: "calt" 0, "liga" 0;
}
.font-mono {
  font-family: var(--font-mono);
}
.font-sans {
  font-family: var(--font-sans);
}
.font-serif {
  font-family: var(--font-serif);
}
.font-body {
  font-family: var(--font-body);
}
.font-heading {
  font-family: var(--font-heading);
}
.font-ui {
  font-family: var(--font-ui);
}
.font-code {
  font-family: var(--font-code);
}
.font-numeric {
  font-family: var(--font-numeric);
}
.tabular-nums {
  font-variant-numeric: tabular-nums;
}
.oldstyle-nums {
  font-variant-numeric: oldstyle-nums;
}
body {
  letter-spacing: var(--tracking-normal);
  line-height: var(--leading-relaxed);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: var(--tracking-wide);
  line-height: var(--leading-tight);
}
.amount,
.price,
.balance,
.fee,
[data-numeric] {
  font-variant-numeric: tabular-nums;
  font-family: var(--font-mono);
}
:root {
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-bounce-soft: cubic-bezier(0.34, 1.2, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 0.15s;
  --duration-normal: 0.25s;
  --duration-slow: 0.4s;
  --duration-slower: 0.6s;
}
@keyframes pulse {
  0%,
  to {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes scaleIn {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translate(20px);
  }
  to {
    opacity: 1;
    transform: translate(0);
  }
}
@keyframes spin {
  0% {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes glowPulse {
  0%,
  to {
    box-shadow: 0 0 #a89a8000;
  }
  50% {
    box-shadow: 0 0 20px 2px var(--muted-gold-30);
  }
}
@keyframes successPulse {
  0%,
  to {
    box-shadow: 0 0 #58a1c600;
  }
  50% {
    box-shadow: 0 0 20px 4px #58a1c666;
  }
}
@keyframes shake {
  0%,
  to {
    transform: translate(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translate(-4px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translate(4px);
  }
}
@keyframes tickUp {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(-100%);
    opacity: 0;
  }
  51% {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  to {
    background-position: 200% 0;
  }
}
@keyframes progressFill {
  0% {
    width: 0;
  }
}
@keyframes staggerIn {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes ringProgress {
  0% {
    stroke-dashoffset: var(--ring-circumference, 283);
  }
}
@keyframes countUp {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes expandIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes borderGlow {
  0%,
  to {
    border-color: var(--panel-border-hover);
  }
  50% {
    border-color: #a89a8080;
  }
}
.animate-fadeIn {
  animation: fadeIn var(--duration-normal) var(--ease-out) forwards;
}
.animate-fadeInUp {
  animation: fadeInUp var(--duration-normal) var(--ease-out) forwards;
}
.animate-fadeInDown {
  animation: fadeInDown var(--duration-normal) var(--ease-out) forwards;
}
.animate-scaleIn {
  animation: scaleIn var(--duration-normal) var(--ease-bounce) forwards;
}
.animate-slideInRight {
  animation: slideInRight var(--duration-normal) var(--ease-out) forwards;
}
.animate-pulse {
  animation: pulse 2s var(--ease-in-out) infinite;
}
.animate-glow {
  animation: glowPulse 2s var(--ease-in-out) infinite;
}
.animate-shake {
  animation: shake 0.5s var(--ease-out);
}
.animate-spin {
  animation: spin 1s linear infinite;
}
.animate-shimmer {
  background: linear-gradient(
    90deg,
    rgba(168, 154, 128, 0.05) 0%,
    var(--muted-gold-15) 50%,
    rgba(168, 154, 128, 0.05) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s linear infinite;
}
.stagger-1 {
  animation-delay: 50ms;
}
.stagger-2 {
  animation-delay: 0.1s;
}
.stagger-3 {
  animation-delay: 0.15s;
}
.stagger-4 {
  animation-delay: 0.2s;
}
.stagger-5 {
  animation-delay: 0.25s;
}
.stagger-6 {
  animation-delay: 0.3s;
}
.btn-press {
  transition: transform var(--duration-fast) var(--ease-out);
}
.btn-press:active {
  transform: scale(0.97);
}
.btn-glow {
  position: relative;
  transition: box-shadow var(--duration-normal) var(--ease-out),
    border-color var(--duration-normal) var(--ease-out),
    background var(--duration-normal) var(--ease-out);
}
.btn-glow:hover:not(:disabled) {
  box-shadow: 0 0 20px var(--muted-gold-25);
}
.btn-glow:active:not(:disabled) {
  transform: scale(0.98);
}
.card-hover {
  transition: transform var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out),
    border-color var(--duration-normal) var(--ease-out);
}
.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px #0000004d;
}
.input-glow {
  transition: border-color var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out);
}
.input-glow:focus {
  border-color: var(--muted-gold-glow);
  box-shadow: 0 0 0 3px var(--muted-gold-30);
}
.icon-rotate {
  transition: transform var(--duration-normal) var(--ease-bounce);
}
.icon-rotate:hover {
  transform: rotate(15deg);
}
.underline-grow {
  position: relative;
}
.underline-grow:after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--muted-gold);
  transition: width var(--duration-normal) var(--ease-out);
}
.underline-grow:hover:after,
.underline-grow:focus:after {
  width: 100%;
}
.border-accent {
  position: relative;
}
.border-accent:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 0;
  background: var(--muted-gold);
  transition: height var(--duration-normal) var(--ease-out);
}
.border-accent:hover:before {
  height: 60%;
}
.loading-dots:after {
  content: "";
  animation: loadingDots 1.5s steps(4, end) infinite;
}
@keyframes loadingDots {
  0% {
    content: "";
  }
  25% {
    content: ".";
  }
  50% {
    content: "..";
  }
  75% {
    content: "...";
  }
  to {
    content: "";
  }
}
.skeleton {
  background: linear-gradient(
    90deg,
    var(--muted-gold-subtle) 0%,
    var(--muted-gold-15) 50%,
    var(--muted-gold-subtle) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s linear infinite;
  border-radius: 4px;
}
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid var(--panel-border-hover);
  border-top-color: var(--muted-gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.spinner--small {
  width: 12px;
  height: 12px;
  border-width: 1.5px;
}
.spinner--large {
  width: 24px;
  height: 24px;
  border-width: 3px;
}
.success-highlight {
  animation: successPulse 0.6s var(--ease-out);
}
.error-highlight {
  animation: shake 0.4s var(--ease-out);
  border-left: 3px solid var(--negative-muted-70) !important;
  background: var(--negative-08) !important;
}
.page-enter {
  opacity: 0;
  transform: translateY(10px);
}
.page-enter-active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
}
.wallet-gated {
  transition: opacity var(--duration-slow) var(--ease-smooth),
    filter var(--duration-slow) var(--ease-smooth);
}
.wallet-gated--disconnected {
  opacity: 0.55;
  filter: saturate(0.4);
}
.wallet-gated--connected {
  opacity: 1;
  filter: saturate(1);
}
.wallet-action {
  transition: opacity var(--duration-slow) var(--ease-smooth),
    transform var(--duration-slow) var(--ease-out);
}
.wallet-action--hidden {
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
}
.wallet-action--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--obsidian), 0 0 0 4px #a89a80b3, 0 0 12px #a89a8033;
}
.submit-btn:focus-visible,
.token-btn:focus-visible,
.swap-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--obsidian), 0 0 0 4px #a89a8080, 0 0 16px #a89a8033;
}
.amount-input:focus-visible,
.email-input:focus-visible {
  outline: none;
  box-shadow: none;
}
@property --beam-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.border-beam {
  position: relative;
  isolation: isolate;
}
.border-beam:before,
.border-beam:after {
  content: "";
  position: absolute;
  top: -1.5px;
  right: -1.5px;
  bottom: -1.5px;
  left: -1.5px;
  border-radius: inherit;
  pointer-events: none;
  background: conic-gradient(
    from var(--beam-angle),
    transparent 0deg,
    #ff0080 30deg,
    #ff8c00 60deg,
    #ffe600 90deg,
    #00ff88 120deg,
    #00d4ff 150deg,
    #b346ff 180deg,
    transparent 210deg,
    transparent 360deg
  );
  animation: beamSpin 4s linear infinite;
}
.border-beam:before {
  padding: 1.5px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  z-index: 1;
}
.border-beam:after {
  filter: blur(14px);
  opacity: 0.32;
  z-index: -1;
}
@keyframes beamSpin {
  to {
    --beam-angle: 360deg;
  }
}
.banner-beam {
  overflow: visible;
}
.banner-beam:before,
.banner-beam:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #ff0080,
    #ff8c00,
    #ffe600,
    #0f8,
    #00d4ff,
    #b346ff,
    #ff0080
  );
  background-size: 200% 100%;
  animation: beamSweep 6s linear infinite;
}
.banner-beam:before {
  bottom: 0;
  height: 2px;
  opacity: 0.3;
  z-index: 1;
}
.banner-beam:after {
  bottom: -10px;
  height: 28px;
  filter: blur(12px);
  opacity: 0.18;
  z-index: -1;
}
@keyframes beamSweep {
  to {
    background-position: -200% 0;
  }
}
.destination-selector {
  position: relative;
}
.input-header .destination-selector {
  width: auto;
}
.destination-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: var(--inset-bg);
  border: 1px solid var(--panel-border-hover);
  border-radius: 6px;
  color: var(--pearl-cream);
  cursor: pointer;
  transition: all 0.2s ease;
}
.input-header .destination-badge {
  width: auto;
  padding: 0.25rem 0.5rem;
  font-size: 0.65rem;
  background: transparent;
  border: none;
  gap: 0.35rem;
}
.input-header .destination-badge:hover:not(:disabled) {
  background: var(--muted-gold-10);
  border-radius: 4px;
}
.input-header .destination-icon {
  width: 16px;
  height: 16px;
  font-size: 0.6rem;
}
.input-header .destination-label {
  font-size: 0.65rem;
}
.input-header .destination-tag {
  font-size: 0.6rem;
  padding: 0.1rem 0.25rem;
}
.input-header .destination-chevron {
  font-size: 0.6rem;
}
.destination-badge:hover:not(:disabled) {
  background: var(--muted-gold-10);
  border-color: var(--muted-gold-30);
}
.destination-badge:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.destination-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--muted-gold-15);
  border-radius: 4px;
  color: var(--muted-gold);
}
.destination-label {
  flex: 1;
  text-align: left;
}
.destination-tag {
  padding: 0.15rem 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: var(--sky-15);
  border-radius: 3px;
  color: var(--cryptowave-sky);
}
.destination-tag.usdx {
  background: var(--panel-border-hover);
  color: var(--muted-gold);
}
.destination-tag.stealth {
  background: #82a0be33;
  color: var(--tier-verified-accent);
}
.destination-chevron {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
}
.destination-badge[data-type="aztec"] {
  border-color: var(--sky-25);
}
.destination-badge[data-type="aztec"] .destination-icon {
  background: var(--sky-20);
  color: var(--cryptowave-sky);
}
.destination-badge[data-type="usdx"] {
  border-color: var(--muted-gold-30);
}
.destination-badge[data-type="usdx"] .destination-icon {
  background: var(--panel-border-hover);
  color: var(--muted-gold);
}
.destination-badge[data-type="chain"] {
  border-color: #a686b040;
}
.destination-badge[data-type="chain"] .destination-icon {
  background: #a686b026;
  color: var(--color-muted-purple);
}
.destination-badge[data-type="stealth"] {
  border-color: #82a0be40;
}
.destination-badge[data-type="stealth"] .destination-icon {
  background: #82a0be33;
  color: var(--tier-verified-accent);
}
.destination-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 260px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem;
  background: var(--panel-bg-elevated);
  border: 1px solid var(--panel-border-hover);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  animation: slideDown 0.15s ease;
}
.privacy-bars {
  flex-shrink: 0;
}
@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.destination-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.6rem 0.5rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.destination-option:hover:not(:disabled) {
  background: var(--muted-gold-subtle);
  border-color: var(--muted-gold-15);
}
.destination-option.active {
  background: var(--sky-10);
  border-color: var(--sky-20);
}
.destination-option.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.destination-option-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--panel-border);
  border-radius: 4px;
  color: var(--muted-gold);
}
.destination-option-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: left;
}
.destination-option-top {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.destination-option-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--pearl-cream);
}
.destination-fee-hint {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--muted-gold);
  margin-left: auto;
  white-space: nowrap;
}
.destination-option.disabled .destination-fee-hint {
  color: var(--text-faint);
}
.destination-gate {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  padding: 1px 4px;
  border-radius: 3px;
  white-space: nowrap;
}
.destination-gate.met {
  background: var(--sky-10);
  color: var(--cryptowave-sky);
}
.destination-gate.unmet {
  background: var(--negative-08);
  color: var(--negative-muted-70);
}
.destination-tag--soon {
  font-family: var(--font-mono);
  font-size: 0.45rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1px 5px;
  border-radius: 3px;
  background: var(--panel-border);
  color: var(--text-faint);
  white-space: nowrap;
}
.destination-exposure {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  white-space: normal;
}
.destination-option.disabled .destination-exposure {
  color: var(--negative-muted-70);
}
.destination-option[data-status="upcoming"] {
  opacity: 0.35;
}
.destination-option[data-status="upcoming"] .destination-exposure {
  color: var(--text-faint);
}
.destination-info {
  padding: 0.4rem 0.5rem;
  margin-top: 0.25rem;
  border-top: 1px solid var(--panel-border);
}
.destination-info-text {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  line-height: 1.4;
  color: var(--text-faint);
  white-space: normal;
}
:root {
  --obsidian: #0a0a0c;
  --deep-night: #12121a;
  --shadow-blockchain: #12012c;
  --pearl-cream: #e8e4dc;
  --text-secondary: rgba(232, 228, 220, 0.6);
  --text-muted: rgba(232, 228, 220, 0.5);
  --text-faint: rgba(232, 228, 220, 0.55);
  --text-hint: rgba(232, 228, 220, 0.5);
  --text-dim: rgba(232, 228, 220, 0.45);
  --text-ghost: rgba(232, 228, 220, 0.5);
  --text-barely: rgba(232, 228, 220, 0.15);
  --text-strong: rgba(232, 228, 220, 0.7);
  --text-emphasis: rgba(232, 228, 220, 0.8);
  --crypto-frost: #fdfff9;
  --ghost-white: rgba(253, 255, 249, 0.9);
  --axol-coral: #ffcd9c;
  --decentralized-coral: #e58476;
  --cryptowave-sky: #58a1c6;
  --node-indigo: #28338b;
  --pearl-pink: rgba(229, 132, 118, 0.5);
  --pearl-green: rgba(88, 161, 198, 0.5);
  --pearl-violet: rgba(40, 51, 139, 0.4);
  --pearl-blue: rgba(88, 161, 198, 0.35);
  --muted-gold: #a89a80;
  --muted-gold-glow: rgba(168, 154, 128, 0.4);
  --muted-gold-subtle: rgba(168, 154, 128, 0.08);
  --muted-gold-10: rgba(168, 154, 128, 0.1);
  --muted-gold-15: rgba(168, 154, 128, 0.15);
  --muted-gold-25: rgba(168, 154, 128, 0.25);
  --muted-gold-30: rgba(168, 154, 128, 0.3);
  --muted-coral: rgba(255, 205, 156, 0.6);
  --sky-05: rgba(88, 161, 198, 0.05);
  --sky-10: rgba(88, 161, 198, 0.1);
  --sky-12: rgba(88, 161, 198, 0.12);
  --sky-15: rgba(88, 161, 198, 0.15);
  --sky-20: rgba(88, 161, 198, 0.2);
  --sky-25: rgba(88, 161, 198, 0.25);
  --sky-30: rgba(88, 161, 198, 0.3);
  --sky-40: rgba(88, 161, 198, 0.4);
  --coral-10: rgba(255, 205, 156, 0.1);
  --coral-15: rgba(255, 205, 156, 0.15);
  --coral-20: rgba(255, 205, 156, 0.2);
  --coral-30: rgba(255, 205, 156, 0.3);
  --negative-08: rgba(219, 140, 140, 0.08);
  --negative-15: rgba(219, 140, 140, 0.15);
  --negative-20: rgba(219, 140, 140, 0.2);
  --negative-25: rgba(219, 140, 140, 0.25);
  --negative-30: rgba(219, 140, 140, 0.3);
  --negative-50: rgba(219, 140, 140, 0.5);
  --negative-muted-60: rgba(219, 182, 182, 0.6);
  --negative-muted-70: rgba(219, 182, 182, 0.7);
  --purple-10: rgba(166, 134, 176, 0.1);
  --purple-15: rgba(166, 134, 176, 0.15);
  --purple-25: rgba(166, 134, 176, 0.25);
  --tier-standard: rgba(168, 154, 128, 0.15);
  --tier-standard-text: #a89a80;
  --tier-trusted: rgba(88, 161, 198, 0.15);
  --tier-trusted-text: #58a1c6;
  --tier-verified: rgba(40, 51, 139, 0.15);
  --tier-verified-text: #7b8ad9;
  --tier-premium: rgba(255, 205, 156, 0.15);
  --tier-premium-text: #ffcd9c;
  --tier-institutional: rgba(229, 132, 118, 0.15);
  --tier-institutional-text: #e58476;
  --tier-verified-accent: #82a0be;
  --tier-premium-accent: #b086a6;
  --tier-institutional-accent: #dbb650;
  --color-warning: #fbbf24;
  --color-success: #4ade80;
  --color-error: #f87171;
  --color-negative: #dbb6b6;
  --color-negative-emphasis: #db9696;
  --color-muted-purple: #a686b0;
  --color-tan: #dbb680;
  --color-info-blue: #a8c4dc;
  --color-info-teal: #a8dccf;
  --color-info-muted: #9fc7bc;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 0.75rem;
  --space-lg: 1rem;
  --space-xl: 1.5rem;
  --space-2xl: 2rem;
  --space-3xl: 3rem;
  --radius-xs: 3px;
  --radius-sm: 4px;
  --radius-pill: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
  --transition-slow: 0.3s ease;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 4px 20px rgba(168, 154, 128, 0.2);
  --shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  --shadow-sky-glow: 0 0 10px var(--sky-12);
  --panel-bg: rgba(18, 18, 26, 0.85);
  --panel-bg-elevated: rgba(18, 18, 26, 0.9);
  --panel-bg-subtle: rgba(18, 18, 26, 0.7);
  --panel-border: rgba(168, 154, 128, 0.12);
  --panel-border-hover: rgba(168, 154, 128, 0.2);
  --inset-bg: rgba(10, 10, 12, 0.5);
  --inset-bg-deep: rgba(10, 10, 12, 0.4);
  --inset-bg-heavy: rgba(10, 10, 12, 0.6);
  --atmosphere-opacity: 0.4;
  --overlay-start: rgba(10, 10, 12, 0.3);
  --overlay-mid: rgba(10, 10, 12, 0.6);
  --overlay-end: rgba(10, 10, 12, 0.8);
  --grain-opacity: 0.03;
  --orb-opacity: 0.15;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-nav {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translate(-50%);
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: var(--obsidian);
  color: var(--pearl-cream);
  border: 2px solid var(--muted-gold);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-nav:focus {
  top: 0.5rem;
}
*,
*:before,
*:after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-padding-top: 1rem;
}
body {
  font-family: var(--font-body);
  background: var(--obsidian);
  color: var(--pearl-cream);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body:before {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: var(--grain-opacity);
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  z-index: 1000;
}
.pearl-bg {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: radial-gradient(
      ellipse at 20% 80%,
      var(--pearl-violet) 0%,
      transparent 50%
    ),
    radial-gradient(ellipse at 80% 20%, var(--pearl-green) 0%, transparent 40%),
    radial-gradient(ellipse at 60% 60%, var(--pearl-pink) 0%, transparent 45%),
    radial-gradient(ellipse at 30% 30%, var(--pearl-blue) 0%, transparent 35%),
    linear-gradient(160deg, var(--shadow-blockchain) 0%, var(--obsidian) 100%);
  opacity: var(--atmosphere-opacity);
  animation: pearlShift 20s ease-in-out infinite alternate;
}
@keyframes pearlShift {
  0% {
    filter: hue-rotate(0deg) brightness(1);
  }
  50% {
    filter: hue-rotate(15deg) brightness(1.1);
  }
  to {
    filter: hue-rotate(-10deg) brightness(0.95);
  }
}
.dark-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(
    180deg,
    var(--overlay-start) 0%,
    var(--overlay-mid) 50%,
    var(--overlay-end) 100%
  );
  pointer-events: none;
}
.ripple-bg {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.ripple {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--muted-gold-glow);
  opacity: 0;
  will-change: transform, opacity;
  transform: translateZ(0);
}
.ripple-ambient {
  width: 200px;
  height: 200px;
  left: 50%;
  top: 65%;
  transform: translate(-50%, -50%);
  animation: rippleExpand 8s ease-out infinite;
}
.ripple-1 {
  animation-delay: 0s;
}
.ripple-2 {
  animation-delay: 2.5s;
}
.ripple-3 {
  animation-delay: 5s;
}
.ripple-drop {
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%);
  border-width: 2px;
  border-color: var(--muted-gold);
  animation: rippleFromDrop 2s ease-out forwards;
}
@keyframes rippleExpand {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0.4;
  }
  to {
    transform: translate(-50%, -50%) scale(4);
    opacity: 0;
  }
}
@keyframes rippleFromDrop {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.8;
    border-width: 3px;
  }
  50% {
    opacity: 0.5;
  }
  to {
    transform: translate(-50%, -50%) scale(8);
    opacity: 0;
    border-width: 1px;
  }
}
.floating-orbs {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: var(--orb-opacity);
  animation: floatOrb 20s ease-in-out infinite;
}
.orb-1 {
  width: 300px;
  height: 300px;
  background: var(--pearl-violet);
  left: 10%;
  top: 20%;
  animation-delay: 0s;
}
.orb-2 {
  width: 250px;
  height: 250px;
  background: var(--pearl-green);
  right: 15%;
  top: 30%;
  animation-delay: -5s;
  animation-duration: 25s;
}
.orb-3 {
  width: 200px;
  height: 200px;
  background: var(--pearl-pink);
  left: 30%;
  bottom: 20%;
  animation-delay: -10s;
  animation-duration: 22s;
}
.orb-4 {
  width: 180px;
  height: 180px;
  background: var(--pearl-blue);
  right: 25%;
  bottom: 30%;
  animation-delay: -15s;
  animation-duration: 18s;
}
@keyframes floatOrb {
  0%,
  to {
    transform: translate(0) scale(1);
  }
  25% {
    transform: translate(30px, -40px) scale(1.1);
  }
  50% {
    transform: translate(-20px, 20px) scale(0.95);
  }
  75% {
    transform: translate(40px, 30px) scale(1.05);
  }
}
.hex-pattern {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='52' viewBox='0 0 60 52' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0l25.98 15v30L30 60 4.02 45V15z' fill='none' stroke='%23a79456' stroke-opacity='0.03' stroke-width='0.5'/%3E%3C/svg%3E");
  background-size: 60px 52px;
  opacity: 0.5;
  pointer-events: none;
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.3) 0%,
    transparent 100%
  );
}
[data-theme="dark"] {
  --obsidian: #000000;
  --deep-night: #0a0a0a;
  --shadow-blockchain: #050510;
  --pearl-cream: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.6);
  --text-faint: rgba(255, 255, 255, 0.45);
  --text-hint: rgba(255, 255, 255, 0.4);
  --text-dim: rgba(255, 255, 255, 0.35);
  --text-ghost: rgba(255, 255, 255, 0.4);
  --text-barely: rgba(255, 255, 255, 0.12);
  --text-strong: rgba(255, 255, 255, 0.75);
  --text-emphasis: rgba(255, 255, 255, 0.85);
  --crypto-frost: #ffffff;
  --ghost-white: rgba(255, 255, 255, 0.95);
  --muted-gold: #c4b496;
  --muted-gold-glow: rgba(196, 180, 150, 0.4);
  --muted-gold-subtle: rgba(196, 180, 150, 0.08);
  --muted-gold-10: rgba(196, 180, 150, 0.1);
  --muted-gold-15: rgba(196, 180, 150, 0.15);
  --muted-gold-25: rgba(196, 180, 150, 0.25);
  --muted-gold-30: rgba(196, 180, 150, 0.3);
  --muted-coral: rgba(255, 215, 170, 0.6);
  --axol-coral: #ffd8a8;
  --decentralized-coral: #f09080;
  --cryptowave-sky: #6cb8d9;
  --node-indigo: #4a5bc4;
  --panel-bg: rgba(10, 10, 10, 0.95);
  --panel-bg-elevated: rgba(18, 18, 18, 0.98);
  --panel-bg-subtle: rgba(8, 8, 8, 0.9);
  --panel-border: rgba(255, 255, 255, 0.12);
  --panel-border-hover: rgba(255, 255, 255, 0.2);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 4px 20px rgba(196, 180, 150, 0.15);
  --tier-standard: rgba(196, 180, 150, 0.15);
  --tier-standard-text: #c4b496;
  --tier-trusted: rgba(108, 184, 217, 0.15);
  --tier-trusted-text: #6cb8d9;
  --tier-verified: rgba(74, 91, 196, 0.15);
  --tier-verified-text: #8b9ae6;
  --tier-premium: rgba(255, 216, 168, 0.15);
  --tier-premium-text: #ffd8a8;
  --tier-institutional: rgba(240, 144, 128, 0.15);
  --tier-institutional-text: #f09080;
  --inset-bg: rgba(0, 0, 0, 0.6);
  --inset-bg-deep: rgba(0, 0, 0, 0.5);
  --inset-bg-heavy: rgba(0, 0, 0, 0.7);
  --shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.2);
  --sky-05: rgba(108, 184, 217, 0.05);
  --sky-10: rgba(108, 184, 217, 0.1);
  --sky-12: rgba(108, 184, 217, 0.12);
  --sky-15: rgba(108, 184, 217, 0.15);
  --sky-20: rgba(108, 184, 217, 0.2);
  --sky-25: rgba(108, 184, 217, 0.25);
  --sky-30: rgba(108, 184, 217, 0.3);
  --sky-40: rgba(108, 184, 217, 0.4);
  --atmosphere-opacity: 0;
  --overlay-start: rgba(0, 0, 0, 0);
  --overlay-mid: rgba(0, 0, 0, 0);
  --overlay-end: rgba(0, 0, 0, 0);
  --grain-opacity: 0;
  --orb-opacity: 0;
}
[data-theme="light"] {
  --obsidian: #f5f3ef;
  --deep-night: #eae7e1;
  --shadow-blockchain: #e0ddd6;
  --pearl-cream: #1a1a1c;
  --text-secondary: rgba(26, 26, 28, 0.65);
  --text-muted: rgba(26, 26, 28, 0.5);
  --text-faint: rgba(26, 26, 28, 0.4);
  --text-hint: rgba(26, 26, 28, 0.35);
  --text-dim: rgba(26, 26, 28, 0.3);
  --text-ghost: rgba(26, 26, 28, 0.35);
  --text-barely: rgba(26, 26, 28, 0.08);
  --text-strong: rgba(26, 26, 28, 0.7);
  --text-emphasis: rgba(26, 26, 28, 0.8);
  --crypto-frost: #0a0a0c;
  --ghost-white: rgba(26, 26, 28, 0.85);
  --muted-gold: #7a6e5a;
  --muted-gold-glow: rgba(122, 110, 90, 0.3);
  --muted-gold-subtle: rgba(122, 110, 90, 0.06);
  --muted-gold-10: rgba(122, 110, 90, 0.08);
  --muted-gold-15: rgba(122, 110, 90, 0.12);
  --muted-gold-25: rgba(122, 110, 90, 0.2);
  --muted-gold-30: rgba(122, 110, 90, 0.25);
  --muted-coral: rgba(180, 120, 60, 0.5);
  --axol-coral: #b8802e;
  --decentralized-coral: #b54e40;
  --cryptowave-sky: #2a7498;
  --node-indigo: #28338b;
  --pearl-pink: rgba(181, 78, 64, 0.15);
  --pearl-green: rgba(42, 116, 152, 0.15);
  --pearl-violet: rgba(40, 51, 139, 0.1);
  --pearl-blue: rgba(42, 116, 152, 0.1);
  --panel-bg: rgba(255, 255, 255, 0.85);
  --panel-bg-elevated: rgba(255, 255, 255, 0.95);
  --panel-bg-subtle: rgba(255, 255, 255, 0.6);
  --panel-border: rgba(26, 26, 28, 0.1);
  --panel-border-hover: rgba(26, 26, 28, 0.18);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 4px 20px rgba(122, 110, 90, 0.1);
  --color-warning: #b8860b;
  --color-success: #1a8a3e;
  --color-error: #c53030;
  --color-negative: #8b4c4c;
  --color-negative-emphasis: #a33636;
  --tier-standard: rgba(122, 110, 90, 0.12);
  --tier-standard-text: #7a6e5a;
  --tier-trusted: rgba(42, 116, 152, 0.12);
  --tier-trusted-text: #2a7498;
  --tier-verified: rgba(40, 51, 139, 0.12);
  --tier-verified-text: #3a4bc0;
  --tier-premium: rgba(184, 128, 46, 0.12);
  --tier-premium-text: #b8802e;
  --tier-institutional: rgba(181, 78, 64, 0.12);
  --tier-institutional-text: #b54e40;
  --inset-bg: rgba(0, 0, 0, 0.04);
  --inset-bg-deep: rgba(0, 0, 0, 0.03);
  --inset-bg-heavy: rgba(0, 0, 0, 0.06);
  --shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.06);
  --sky-05: rgba(42, 116, 152, 0.05);
  --sky-10: rgba(42, 116, 152, 0.1);
  --sky-12: rgba(42, 116, 152, 0.12);
  --sky-15: rgba(42, 116, 152, 0.15);
  --sky-20: rgba(42, 116, 152, 0.2);
  --sky-25: rgba(42, 116, 152, 0.25);
  --sky-30: rgba(42, 116, 152, 0.3);
  --sky-40: rgba(42, 116, 152, 0.4);
  --negative-08: rgba(197, 48, 48, 0.08);
  --negative-15: rgba(197, 48, 48, 0.12);
  --negative-20: rgba(197, 48, 48, 0.15);
  --negative-25: rgba(197, 48, 48, 0.2);
  --negative-30: rgba(197, 48, 48, 0.25);
  --atmosphere-opacity: 0;
  --overlay-start: rgba(0, 0, 0, 0);
  --overlay-mid: rgba(0, 0, 0, 0);
  --overlay-end: rgba(0, 0, 0, 0);
  --grain-opacity: 0;
  --orb-opacity: 0;
}
.inline-token-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: contain;
  vertical-align: -2px;
  margin-right: 4px;
}
.inline-token-icon--lg {
  width: 20px;
  height: 20px;
  vertical-align: -4px;
}
.inline-chain-icon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  object-fit: contain;
  vertical-align: -2px;
  margin-right: 3px;
  opacity: 0.7;
}
.chain-icon-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 1px 5px;
  background: var(--muted-gold-subtle);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  font-size: 0.65rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
.chain-icon-badge img {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  object-fit: contain;
}
.panel {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.panel--elevated {
  background: var(--panel-bg-elevated);
  border-color: var(--panel-border-hover);
  box-shadow: var(--shadow-md);
}
.panel--subtle {
  background: var(--panel-bg-subtle);
  border-color: var(--muted-gold-10);
}
.panel--stat {
  background: var(--panel-bg-subtle);
  border-color: var(--panel-border);
  text-align: center;
  padding: var(--space-xl);
}
.panel--interactive {
  transition: var(--transition-base);
  cursor: pointer;
}
.panel--interactive:hover {
  background: var(--panel-bg-elevated);
  border-color: var(--panel-border-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.panel--row {
  background: var(--panel-bg-subtle);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  transition: var(--transition-base);
}
.panel--row:hover {
  background: var(--panel-bg-elevated);
  border-color: var(--panel-border-hover);
}
.panel--empty {
  background: var(--inset-bg);
  border: 1px dashed var(--panel-border-hover);
  border-radius: var(--radius-md);
  text-align: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-base);
  border: 1px solid transparent;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn--primary {
  background: linear-gradient(135deg, var(--coral-20) 0%, var(--coral-10) 100%);
  border-color: var(--coral-30);
  color: var(--axol-coral);
}
.btn--primary:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--coral-30) 0%, var(--coral-20) 100%);
  border-color: #ffcd9c99;
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}
.btn--secondary {
  background: var(--inset-bg);
  border-color: var(--panel-border);
  color: var(--pearl-cream);
}
.btn--secondary:hover:not(:disabled) {
  background: var(--muted-gold-10);
  border-color: var(--panel-border-hover);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  border-color: transparent;
  color: var(--text-secondary);
}
.btn--ghost:hover:not(:disabled) {
  background: var(--muted-gold-10);
  color: var(--pearl-cream);
}
.btn--success {
  background: linear-gradient(135deg, var(--sky-25) 0%, var(--sky-10) 100%);
  border-color: var(--sky-40);
  color: var(--cryptowave-sky);
}
.btn--success:hover:not(:disabled) {
  background: linear-gradient(
    135deg,
    var(--sky-30) 0%,
    rgba(88, 161, 198, 0.2) 100%
  );
  border-color: var(--sky-40);
  transform: translateY(-1px);
}
.btn--sm {
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-xs);
}
.btn--lg {
  padding: var(--space-lg) var(--space-xl);
  font-size: var(--text-base);
}
.label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--text-secondary);
}
.label--lg {
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-widest);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  background: var(--muted-gold-25);
  color: var(--muted-gold);
}
.badge--success {
  background: var(--sky-15);
  color: var(--cryptowave-sky);
}
.badge--warning {
  background: var(--coral-15);
  color: var(--axol-coral);
}
.badge--error {
  background: #e5847626;
  color: var(--decentralized-coral);
}
.value {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--pearl-cream);
  letter-spacing: var(--tracking-tight);
}
.value--sm {
  font-size: var(--text-base);
}
.value--md {
  font-size: var(--text-lg);
}
.value--lg {
  font-size: var(--text-xl);
}
.value--xl {
  font-size: var(--text-2xl);
}
.value--hero {
  font-size: var(--text-3xl);
}
.value--positive {
  color: var(--axol-coral);
}
.value--negative {
  color: var(--decentralized-coral);
}
.value--muted,
.text-muted {
  color: var(--text-muted);
}
.text-subtle {
  color: var(--text-secondary);
}
.text-default {
  color: var(--pearl-cream);
}
.text-accent {
  color: var(--muted-gold);
}
.text-success {
  color: var(--cryptowave-sky);
}
.text-warning {
  color: var(--axol-coral);
}
.text-error {
  color: var(--decentralized-coral);
}
.text-mono {
  font-family: var(--font-mono);
}
.text-upper {
  text-transform: uppercase;
}
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  background: var(--muted-gold-subtle);
  border-radius: var(--radius-full);
  border: 1px solid var(--panel-border);
}
.theme-toggle__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: var(--radius-full);
  background: transparent;
  cursor: pointer;
  transition: all 0.15s ease-out;
  padding: 0;
  position: relative;
}
.theme-toggle__btn:before {
  content: "";
  position: absolute;
  top: -8px;
  right: -8px;
  bottom: -8px;
  left: -8px;
}
.theme-toggle__icon {
  font-size: 0.7rem;
  line-height: 1;
  color: var(--text-faint);
  transition: color 0.15s ease-out;
}
.theme-toggle__btn.active {
  background: var(--muted-gold-15);
}
.theme-toggle__btn.active .theme-toggle__icon {
  color: var(--muted-gold);
}
.theme-toggle__btn:hover:not(.active) .theme-toggle__icon {
  color: var(--text-secondary);
}
.dev-badge {
  font-size: 0.35em;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 2px 6px;
  margin-left: 0.5em;
  border-radius: 3px;
  background: #fbbf2426;
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: var(--color-warning);
  vertical-align: middle;
}
.logo-pronunciation {
  font-size: 0.45em;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.05em;
  color: var(--text-faint);
  -webkit-text-fill-color: currentColor;
  margin-left: 0.5em;
  vertical-align: baseline;
  white-space: nowrap;
}
.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.spinner-rings {
  position: relative;
}
.loading-spinner--small .spinner-rings {
  width: 24px;
  height: 24px;
}
.loading-spinner--medium .spinner-rings {
  width: 40px;
  height: 40px;
}
.loading-spinner--large .spinner-rings {
  width: 60px;
  height: 60px;
}
.spinner-ring {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 50%;
  border: 1px solid transparent;
  border-top-color: var(--muted-gold);
  animation: spinRing 1.2s ease-in-out infinite;
}
.spinner-ring-1 {
  animation-delay: 0s;
  opacity: 1;
}
.spinner-ring-2 {
  top: 4px;
  right: 4px;
  bottom: 4px;
  left: 4px;
  animation-delay: 0.15s;
  opacity: 0.7;
  animation-direction: reverse;
}
.spinner-ring-3 {
  top: 8px;
  right: 8px;
  bottom: 8px;
  left: 8px;
  animation-delay: 0.3s;
  opacity: 0.4;
}
@keyframes spinRing {
  0% {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}
.spinner-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  animation: fadeInUp 0.3s ease-out;
}
.error-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 2rem;
  background: var(--negative-08);
  border: 1px solid var(--negative-20);
  animation: fadeInUp 0.3s ease-out;
}
.error-icon {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  color: var(--pearl-pink);
}
.error-message .error-text {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--pearl-cream);
  text-align: center;
  margin: 0;
}
.error-retry-button {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pearl-cream);
  background: transparent;
  border: 1px solid var(--text-dim);
  padding: 0.5rem 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}
.error-retry-button:hover {
  border-color: var(--pearl-cream);
  background: var(--text-barely);
}
.share-section {
  margin-top: 1.5rem;
  text-align: center;
  animation: fadeInUp 0.5s ease-out 0.3s both;
}
.share-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}
.share-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--text-ghost);
  padding: 0.6rem 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.share-button:hover {
  color: var(--pearl-cream);
  border-color: var(--text-faint);
}
.share-icon {
  display: block;
  width: 14px;
  height: 14px;
  position: relative;
}
.share-icon--copy {
  width: 10px;
  height: 12px;
  border: 1px solid currentColor;
  border-radius: 2px;
  position: relative;
}
.share-icon--copy:before {
  content: "";
  position: absolute;
  top: -3px;
  left: 3px;
  width: 10px;
  height: 12px;
  border: 1px solid currentColor;
  border-radius: 2px;
  background: var(--obsidian);
}
.share-icon--twitter {
  width: 12px;
  height: 12px;
}
.share-icon--twitter:before,
.share-icon--twitter:after {
  content: "";
  position: absolute;
  width: 14px;
  height: 1px;
  background: currentColor;
  top: 50%;
  left: 50%;
}
.share-icon--twitter:before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.share-icon--twitter:after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.share-copied {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pearl-green);
  animation: fadeInUp 0.2s ease-out;
}
@media (max-width: 480px) {
  .error-message {
    padding: 1rem 1.5rem;
  }
  .share-button {
    padding: 0.5rem 1rem;
  }
}
.share-button:focus-visible,
.error-retry-button:focus-visible {
  outline: 2px solid var(--muted-gold);
  outline-offset: 2px;
}
.modal-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--overlay-end);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  animation: fadeIn var(--duration-slow) var(--ease-out);
}
.modal-content {
  width: 100%;
  max-width: 400px;
  margin: 1rem;
  background: var(--panel-bg-elevated);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border: 1px solid var(--panel-border-hover);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  animation: modalIn var(--duration-slow) var(--ease-bounce-soft);
}
@keyframes modalIn {
  0% {
    opacity: 0;
    transform: scale(0.95) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--panel-border);
}
.modal-title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--pearl-cream);
}
.modal-close {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  background: transparent;
  border: 1px solid var(--text-barely);
  border-radius: 6px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.modal-close:hover {
  border-color: var(--text-dim);
  color: var(--pearl-cream);
}
.modal-body {
  padding: 1.25rem 1.5rem;
}
.modal-actions {
  display: flex;
  gap: var(--space-md);
  padding: 0 1.5rem 1.25rem;
}
.modal-btn {
  flex: 1;
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-base);
}
.modal-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.modal-btn--cancel {
  background: transparent;
  border: 1px solid var(--muted-gold-25);
  color: var(--text-strong);
}
.modal-btn--cancel:hover:not(:disabled) {
  background: var(--muted-gold-10);
  border-color: var(--muted-gold-glow);
  color: var(--pearl-cream);
}
.modal-btn--cancel:disabled,
.modal-btn--confirm:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  filter: saturate(0.5);
}
.modal-btn--confirm {
  background: linear-gradient(
    135deg,
    var(--muted-gold-30) 0%,
    var(--panel-border-hover) 100%
  );
  border: 1px solid var(--muted-gold-glow);
  color: var(--pearl-cream);
}
.modal-btn--confirm:hover:not(:disabled) {
  background: linear-gradient(
    135deg,
    var(--muted-gold-glow) 0%,
    var(--muted-gold-30) 100%
  );
  border-color: #a89a8099;
  box-shadow: var(--shadow-glow);
}
.modal-note {
  margin: 0;
  padding: 0.75rem 1.5rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-faint);
  text-align: center;
  border-top: 1px solid var(--muted-gold-subtle);
}
.modal-note--error {
  color: var(--color-error);
  border-top: none;
  padding-top: 0;
}
.reload-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.55rem 1rem;
  background: var(--muted-gold);
  color: var(--obsidian);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  box-shadow: var(--shadow-md);
}
.reload-banner__text {
  letter-spacing: 0.01em;
}
.reload-banner__btn {
  padding: 0.3rem 0.9rem;
  border: 1px solid var(--obsidian);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--obsidian);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}
.reload-banner__btn:hover {
  background: var(--obsidian);
  color: var(--muted-gold);
}
@media (max-width: 480px) {
  .modal-content {
    max-width: none;
    margin: 0.5rem;
  }
}
.error-boundary {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 2rem;
  text-align: center;
  color: var(--pearl-cream);
}
.error-boundary__art {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--color-error);
  opacity: 0.6;
  margin-bottom: 1.5rem;
  white-space: pre;
}
.error-boundary__title {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pearl-cream);
  margin-bottom: 0.5rem;
}
.error-boundary__message {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  max-width: 400px;
  margin-bottom: 1.5rem;
}
.error-boundary__actions {
  display: flex;
  gap: 0.75rem;
}
.error-boundary__btn {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.6rem 1.2rem;
  background: var(--muted-gold-15);
  border: 1px solid var(--muted-gold-25);
  border-radius: 6px;
  color: var(--pearl-cream);
  cursor: pointer;
  transition: all 0.2s ease;
}
.error-boundary__btn:hover {
  background: var(--muted-gold-25);
  border-color: var(--muted-gold-glow);
}
.error-boundary__btn--secondary {
  background: transparent;
  border-color: var(--panel-border);
  color: var(--text-muted);
}
.error-boundary__btn--secondary:hover {
  background: var(--muted-gold-subtle);
  color: var(--pearl-cream);
}
body:has(.giveth-banner) {
  --giveth-banner-h: 36px;
}
@media (max-width: 480px) {
  body:has(.giveth-banner) {
    --giveth-banner-h: 32px;
  }
}
.giveth-banner {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--muted-gold-15);
  border-bottom: 1px solid var(--muted-gold-25);
  font-size: 0.8125rem;
  line-height: 1.3;
}
.giveth-banner-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--pearl-cream);
  text-decoration: none;
  flex-wrap: wrap;
  justify-content: center;
}
.giveth-banner-link:hover {
  color: var(--pearl-cream);
  text-decoration: underline;
}
.giveth-banner-tag {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  background: var(--muted-gold-25);
  color: var(--pearl-cream);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  white-space: nowrap;
}
.giveth-banner-text {
  color: var(--text-emphasis, var(--pearl-cream));
}
.giveth-banner-arrow {
  color: var(--muted-gold);
  font-weight: 600;
}
.giveth-banner-close {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  border-radius: 4px;
}
.giveth-banner-close:hover {
  color: var(--pearl-cream);
  background: var(--muted-gold-subtle);
}
@media (max-width: 480px) {
  .giveth-banner {
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
  .giveth-banner-tag {
    display: none;
  }
}
.reading-progress {
  position: fixed;
  top: var(--giveth-banner-h, 0);
  left: 0;
  right: 0;
  height: 3px;
  background: #a89a8014;
  z-index: 49;
  pointer-events: none;
}
.reading-progress-bar {
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--axol-coral),
    var(--decentralized-coral)
  );
  box-shadow: 0 0 8px var(--muted-gold-30);
  transition: width 0.15s ease-out;
}
.landing-container {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  padding: 2rem;
}
.pool-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.landing-header {
  width: 100%;
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: fadeIn 0.6s ease-out;
}
.logo {
  font-family: var(--font-mono);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(
    135deg,
    var(--pearl-cream) 0%,
    rgba(229, 132, 118, 0.7) 20%,
    var(--ghost-white) 40%,
    rgba(255, 205, 156, 0.8) 60%,
    var(--pearl-green) 80%,
    var(--pearl-cream) 100%
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: logoShimmer 6s ease-in-out infinite, fadeIn 0.6s ease-out;
  margin: 0;
}
@keyframes logoShimmer {
  0%,
  to {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
@keyframes shimmer {
  0%,
  to {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
.top-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.top-nav-link {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--pearl-cream);
  padding: 0.5rem 1rem;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}
.top-nav-link:hover {
  color: var(--muted-gold);
  border-color: var(--muted-gold-glow);
}
.hero {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 11;
  animation: fadeInUp 0.8s ease-out;
}
.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--pearl-cream);
  margin-bottom: 1.25rem;
  line-height: 1.25;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}
.hero-subtitle {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-gold);
  opacity: 0.8;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}
.reveal-text {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 300;
  color: var(--text-strong);
  margin-bottom: 0.5rem;
  line-height: 1.5;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}
.reveal-emphasis {
  font-family: var(--font-mono);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 400;
  color: var(--pearl-cream);
  line-height: 1.4;
  animation: fadeInUp 0.8s ease-out 0.25s both;
}
.cta-container {
  margin-top: 3.5rem;
  margin-bottom: 6rem;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}
.cta-button {
  display: inline-block;
  position: relative;
  padding: 1rem 3rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--pearl-cream);
  background: transparent;
  border: 1px solid var(--muted-gold-glow);
  cursor: pointer;
  transition: all 0.4s ease;
  overflow: hidden;
}
.cta-button:before,
.cta-button:after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--muted-gold);
  transition: width 0.4s var(--ease-bounce-soft),
    height 0.4s var(--ease-bounce-soft), opacity 0.4s ease;
  animation: bracketPulse 4s ease-in-out infinite;
}
.cta-button:before {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
}
.cta-button:after {
  bottom: -1px;
  right: -1px;
  border-left: none;
  border-top: none;
  animation-delay: 2s;
}
@keyframes bracketPulse {
  0%,
  to {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}
.cta-button:hover {
  border-color: var(--muted-gold);
  box-shadow: 0 0 20px var(--panel-border-hover), 0 0 40px var(--muted-gold-10);
  color: var(--muted-gold);
  transform: translateY(-2px);
}
.cta-button:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 0 10px var(--muted-gold-10);
}
.cta-button:hover:before,
.cta-button:hover:after {
  width: 20px;
  height: 20px;
}
.cta-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--muted-gold-15),
    transparent
  );
  transition: left 0.6s ease;
}
.cta-button:hover .cta-shimmer {
  left: 100%;
}
.email-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.email-input {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  padding: 0.5rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--muted-gold-glow);
  color: var(--pearl-cream);
  width: min(260px, 85vw);
  text-align: center;
  transition: border-color 0.3s ease;
}
.email-input::placeholder {
  color: var(--text-hint);
}
.email-input:focus-visible {
  outline: none;
  border-bottom-color: var(--muted-gold);
  box-shadow: 0 2px 0 0 var(--muted-gold);
}
.confirmation {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--pearl-cream);
  opacity: 0.8;
  animation: fadeInUp 0.5s ease-out;
}
.landing-explainer {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 2rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}
.landing-explainer__step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: background var(--duration-normal) var(--ease-smooth),
    transform var(--duration-normal) var(--ease-out);
}
.landing-explainer__step:hover {
  background: #a89a800a;
  transform: translateY(-2px);
}
.landing-explainer__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--muted-gold);
  background: var(--muted-gold-10);
  border: 1px solid var(--muted-gold-subtle);
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
  transition: background var(--duration-normal) var(--ease-smooth);
}
.landing-explainer__step:hover .landing-explainer__num {
  background: var(--muted-gold-15);
}
.landing-explainer__label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--pearl-cream);
  letter-spacing: 0.03em;
  margin-bottom: 0.25rem;
}
.landing-explainer__desc {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-faint);
  line-height: 1.4;
}
.landing-explainer__sep {
  width: 1px;
  height: 32px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    var(--panel-border) 50%,
    transparent 100%
  );
  margin-top: 0.75rem;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .landing-explainer__step {
    padding: 0 0.5rem;
  }
  .landing-explainer__label,
  .landing-explainer__desc {
    font-size: 0.6rem;
  }
}
.institutional-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease, gap 0.3s ease;
}
.institutional-link:hover {
  color: var(--muted-gold);
  gap: 0.75rem;
}
.link-arrow {
  display: inline-block;
  width: 16px;
  height: 1px;
  background: currentColor;
  position: relative;
}
.link-arrow:after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-hint);
}
.error-text {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--color-negative);
}
.email-input.error {
  border-color: var(--color-negative);
}
.connection-status {
  display: flex;
  align-items: center;
  margin-right: 0.5rem;
}
.ws-indicator {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pearl-green);
  box-shadow: 0 0 8px var(--pearl-green);
  animation: pulse 2s ease-in-out infinite;
}
.counter-loading {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: fadeInUp 0.8s ease-out 0.1s both;
}
.counter-error {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--pearl-pink);
  animation: fadeInUp 0.5s ease-out;
}
.drop-error {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--pearl-pink);
  text-align: center;
  animation: fadeInUp 0.3s ease-out;
}
.aztec-indicator {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pearl-violet);
  box-shadow: 0 0 8px var(--pearl-violet);
  margin-left: 4px;
  animation: pulse 2s ease-in-out infinite;
}
.aztec-connect-option {
  margin-top: 1.5rem;
  text-align: center;
  animation: fadeInUp 0.5s ease-out 0.3s both;
}
.aztec-connect-button {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pearl-violet);
  background: transparent;
  border: 1px solid rgba(167, 148, 182, 0.3);
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.aztec-connect-button--primary {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  padding: 1.25rem 4rem;
  color: var(--obsidian);
  background: linear-gradient(
    135deg,
    var(--pearl-violet) 0%,
    var(--pearl-cream) 100%
  );
  border: none;
}
.aztec-connect-button--primary:hover:not(:disabled) {
  box-shadow: 0 0 30px #a794b666, 0 0 60px #a794b633;
}
.aztec-connect-button:hover:not(:disabled) {
  border-color: var(--pearl-violet);
  box-shadow: 0 0 15px #a794b64d;
}
.aztec-connect-button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.aztec-connect-subtitle {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 1rem;
}
.aztec-error {
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--pearl-pink);
}
.aztec-ready {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--pearl-violet);
  animation: fadeInUp 0.3s ease-out;
}
@media (max-width: 768px) {
  .landing-container {
    padding: 1.5rem;
  }
  .landing-header {
    padding: 1rem 0;
  }
  .top-nav {
    gap: 0.25rem;
  }
  .top-nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.7rem;
  }
}
@media (max-width: 480px) {
  .landing-header .logo {
    font-size: 0.9rem;
  }
  .landing-header .logo-pronunciation {
    display: none;
  }
  .top-nav-link {
    padding: 0.35rem 0.5rem;
    font-size: 0.6rem;
  }
  .aztec-connect-button {
    font-size: 0.65rem;
    padding: 0.6rem 1rem;
  }
}
html {
  scroll-behavior: smooth;
}
.top-nav-link:focus-visible,
.aztec-connect-button:focus-visible {
  outline: 2px solid var(--muted-gold);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
.pool-hero {
  text-align: center;
  animation: fadeInUp 0.8s ease-out;
}
.pool-tagline {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--pearl-cream);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.pool-subtitle {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-gold);
  opacity: 0.8;
}
.drop-counter {
  text-align: center;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}
.counter-value {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--pearl-cream);
  text-shadow: 0 0 40px var(--muted-gold-glow);
  transition: transform 0.3s ease, text-shadow 0.3s ease;
  font-variant-numeric: tabular-nums;
}
.drop-counter--animating .counter-value {
  transform: scale(1.05);
  text-shadow: 0 0 60px var(--muted-gold);
}
.counter-value--incrementing {
  color: var(--muted-gold);
  text-shadow: 0 0 20px var(--muted-gold), 0 0 40px var(--muted-gold-glow),
    0 0 60px var(--muted-gold-glow);
  transform: scale(1.02);
}
.counter-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.5rem;
}
.drop-counter--offline .counter-value {
  opacity: 0.5;
}
.drop-counter--offline .counter-label {
  color: var(--color-warning);
  opacity: 0.8;
}
.pool-action {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}
.drop-cta-container {
  text-align: center;
}
.drop-cta-button {
  display: inline-block;
  position: relative;
  padding: 1.25rem 4rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--obsidian);
  background: linear-gradient(
    135deg,
    var(--pearl-cream) 0%,
    var(--muted-gold) 100%
  );
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
  overflow: hidden;
}
.drop-cta-button:before {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  bottom: 2px;
  left: 2px;
  background: var(--obsidian);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 0;
}
.drop-cta-button:hover:before {
  opacity: 0.95;
}
.drop-cta-button:hover {
  color: var(--pearl-cream);
  box-shadow: 0 0 30px var(--muted-gold-glow),
    0 0 60px var(--panel-border-hover);
}
.drop-cta-button .cta-text {
  position: relative;
  z-index: 2;
}
.drop-cta-button .cta-shimmer {
  z-index: 1;
}
.drop-cta-button:disabled {
  cursor: wait;
  opacity: 0.7;
}
.drop-cta-button--dropping {
  animation: pulse 0.5s ease-in-out infinite;
}
.drop-cta-subtitle {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 1rem;
}
.drop-animation-container {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 10vh;
}
.drop-orb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    var(--pearl-cream),
    var(--muted-gold)
  );
  box-shadow: 0 0 20px var(--muted-gold-glow), 0 0 40px var(--muted-gold-30);
  will-change: transform, opacity;
  transform: translateZ(0);
}
.drop-orb--falling {
  animation: dropFall 0.6s cubic-bezier(0.55, 0, 1, 0.45) forwards;
}
.drop-orb--impact {
  animation: dropImpact 0.6s ease-out forwards;
  transform: translateY(55vh);
}
@keyframes dropFall {
  0% {
    transform: translateY(0) scale(0.5);
    opacity: 0;
  }
  10% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    transform: translateY(55vh) scale(1);
    opacity: 1;
  }
}
@keyframes dropImpact {
  0% {
    transform: translateY(55vh) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateY(55vh) scale(1.5);
    opacity: 0.5;
  }
  to {
    transform: translateY(55vh) scale(0);
    opacity: 0;
  }
}
.drop-confirmation {
  text-align: center;
  animation: fadeInUp 0.6s ease-out;
}
.drop-confirmation-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: var(--muted-gold-10);
  border: 1px solid var(--muted-gold-glow);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  margin-bottom: 1rem;
}
.drop-number {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--muted-gold);
  font-variant-numeric: tabular-nums;
}
.drop-confirmation-text {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--pearl-cream);
  margin-bottom: 0.5rem;
}
.drop-confirmation-subtitle {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}
.drop-confirmation-badge--onchain {
  border-color: var(--pearl-violet);
  background: #a794b626;
}
.onchain-badge {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pearl-violet);
  margin-top: 0.5rem;
}
.drop-animation-container,
.ripple-bg {
  user-select: none;
  -webkit-user-select: none;
}
@media (max-width: 768px) {
  .drop-cta-button {
    padding: 1rem 2.5rem;
    font-size: 0.75rem;
  }
  .counter-value {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }
}
@media (max-width: 480px) {
  .pool-tagline {
    font-size: clamp(1.4rem, 8vw, 2rem);
  }
  .counter-value {
    font-size: clamp(2rem, 15vw, 3.5rem);
  }
  .drop-cta-button {
    padding: 0.9rem 2rem;
    font-size: 0.7rem;
  }
  .drop-confirmation-badge {
    padding: 0.75rem 1.5rem;
  }
  .drop-number {
    font-size: 1.2rem;
  }
}
.drop-cta-button:focus-visible {
  outline: 2px solid var(--muted-gold);
  outline-offset: 2px;
}
.demo-gate {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  padding: 2rem;
}
.demo-gate-header {
  width: 100%;
  padding: 1rem 0;
  display: flex;
  justify-content: center;
  animation: fadeIn 0.6s ease-out;
}
.demo-gate-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 420px;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}
.demo-gate-card {
  width: 100%;
  padding: 3rem 2.5rem;
  background: var(--inset-bg-heavy);
  border: 1px solid var(--muted-gold-15);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  text-align: center;
}
.demo-gate-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 2rem;
  position: relative;
  opacity: 0.6;
}
.demo-gate-icon:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%);
  width: 32px;
  height: 24px;
  border: 1px solid var(--muted-gold);
  border-radius: 4px;
  background: var(--muted-gold-10);
}
.demo-gate-icon:after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%);
  width: 20px;
  height: 20px;
  border: 1px solid var(--muted-gold);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
}
.demo-gate-title {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--pearl-cream);
  margin-bottom: 0.75rem;
}
.demo-gate-subtitle {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}
.demo-gate-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.demo-gate-input-wrapper {
  position: relative;
}
.demo-gate-input {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-style: italic;
  letter-spacing: 0.05em;
  padding: 1rem 1.25rem;
  background: #ffffff08;
  border: 1px solid var(--panel-border-hover);
  color: var(--pearl-cream);
  text-align: center;
  transition: all 0.3s ease;
}
.demo-gate-input::placeholder {
  color: var(--text-dim);
}
.demo-gate-input:focus-visible {
  outline: none;
  border-color: var(--muted-gold);
  background: #ffffff0d;
  box-shadow: 0 0 0 2px var(--obsidian), 0 0 0 4px #a89a8080;
}
.demo-gate-input--error {
  border-color: var(--negative-muted-60);
  animation: shake 0.4s ease;
}
@keyframes shake {
  0%,
  to {
    transform: translate(0);
  }
  20%,
  60% {
    transform: translate(-6px);
  }
  40%,
  80% {
    transform: translate(6px);
  }
}
.demo-gate-button {
  position: relative;
  padding: 1rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--obsidian);
  background: linear-gradient(
    135deg,
    var(--pearl-cream) 0%,
    var(--muted-gold) 100%
  );
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
  overflow: hidden;
}
.demo-gate-button:before {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  bottom: 2px;
  left: 2px;
  background: var(--obsidian);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.demo-gate-button:hover:not(:disabled):before {
  opacity: 0.92;
}
.demo-gate-button:hover:not(:disabled) {
  color: var(--pearl-cream);
  box-shadow: 0 0 30px var(--muted-gold-30), 0 0 60px var(--muted-gold-15);
}
.demo-gate-button:disabled {
  cursor: wait;
  opacity: 0.7;
}
.demo-gate-button--entering {
  animation: pulse 0.5s ease-in-out infinite;
}
.demo-gate-button-text {
  position: relative;
  z-index: 1;
}
.demo-gate-error {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-negative);
  animation: fadeInUp 0.3s ease-out;
}
.demo-gate-preview {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--muted-gold-10);
}
.demo-gate-preview-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1rem;
}
.demo-gate-features {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.demo-gate-feature {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-secondary);
}
.demo-gate-feature-divider {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted-gold-glow);
}
.demo-gate-footer {
  padding: 2rem 0;
  animation: fadeIn 0.6s ease-out 0.3s both;
}
.demo-gate-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-faint);
  transition: all 0.3s ease;
}
.demo-gate-back:hover {
  color: var(--muted-gold);
  gap: 0.75rem;
}
.demo-gate-back-arrow {
  display: inline-block;
  width: 16px;
  height: 1px;
  background: currentColor;
  position: relative;
}
.demo-gate-back-arrow:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-bottom: 1px solid currentColor;
  border-left: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.auth-mode-toggle {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: var(--text-faint);
  cursor: pointer;
  transition: color 0.2s ease;
}
.auth-mode-toggle:hover {
  color: var(--muted-gold);
}
.auth-mode-toggle:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.wallet-link-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: var(--muted-gold-subtle);
  border: 1px solid var(--muted-gold-15);
  border-radius: var(--radius-sm, 6px);
  margin-bottom: 1rem;
}
.wallet-link-banner-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.wallet-link-banner-retry {
  flex-shrink: 0;
  background: var(--muted-gold-15);
  border: 1px solid var(--muted-gold-25);
  border-radius: var(--radius-sm, 6px);
  padding: 0.4rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted-gold);
  cursor: pointer;
  transition: all 0.2s ease;
}
.wallet-link-banner-retry:hover {
  background: var(--muted-gold-25);
}
.wallet-link-banner-retry:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
@media (max-width: 480px) {
  .demo-gate {
    padding: 1.5rem;
  }
  .demo-gate-card {
    padding: 2rem 1.5rem;
  }
  .demo-gate-title {
    font-size: 1.5rem;
  }
  .demo-gate-features {
    gap: 0.75rem;
  }
  .demo-gate-feature {
    font-size: 0.85rem;
  }
}
.auth-gate {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  row-gap: clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(1rem, 3vw, 2rem);
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
}
.auth-gate__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  animation: fadeIn 0.6s ease-out;
}
.auth-gate__intro {
  width: 100%;
  max-width: 64ch;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  animation: fadeIn 0.8s ease-out;
}
.auth-gate__eyebrow {
  font-family: var(--font-mono);
  font-size: clamp(0.65rem, 0.6rem + 0.2vw, 0.75rem);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-gold);
  margin: 0;
}
.auth-gate__title {
  font-family: var(--font-heading, var(--font-mono));
  font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--pearl-cream);
  margin: 0;
  max-width: 22ch;
}
.auth-gate__lead {
  font-family: var(--font-body, var(--font-mono));
  font-size: clamp(0.9rem, 0.85rem + 0.3vw, 1rem);
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
  max-width: 60ch;
}
.auth-gate__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: start;
  width: 100%;
  animation: fadeIn 1s ease-out;
}
@media (max-width: 880px) {
  .auth-gate__layout {
    grid-template-columns: 1fr;
  }
}
.auth-gate__card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg, 12px);
  padding: clamp(1.25rem, 2vw, 1.75rem);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  position: relative;
}
.auth-gate__card:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    180deg,
    var(--muted-gold-25, rgba(168, 154, 128, 0.25)) 0%,
    transparent 60%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.auth-gate__card:hover:before,
.auth-gate__card:focus-within:before {
  opacity: 1;
}
.auth-gate__card-title {
  font-family: var(--font-heading, var(--font-mono));
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--pearl-cream);
  margin: 0;
}
.auth-gate__card-sub {
  font-family: var(--font-body, var(--font-mono));
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}
.auth-gate__options {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.auth-option {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-lg);
  background: var(--inset-bg, var(--muted-gold-subtle));
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md, 8px);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  text-align: left;
  width: 100%;
  font-family: inherit;
  color: inherit;
}
.auth-option:hover:not(:disabled) {
  border-color: var(--panel-border-hover);
  background: var(--muted-gold-10);
  transform: translateY(-1px);
}
.auth-option:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--obsidian),
    0 0 0 4px var(--muted-gold-glow, rgba(168, 154, 128, 0.4)),
    0 0 12px #a89a8026;
}
.auth-option:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.auth-option--primary {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--axol-coral) 18%, transparent),
    color-mix(in srgb, var(--axol-coral) 6%, transparent)
  );
  border-color: color-mix(in srgb, var(--axol-coral) 35%, transparent);
}
.auth-option--primary:hover:not(:disabled) {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--axol-coral) 25%, transparent),
    color-mix(in srgb, var(--axol-coral) 10%, transparent)
  );
  border-color: color-mix(in srgb, var(--axol-coral) 55%, transparent);
  box-shadow: var(--shadow-glow);
}
.auth-option--primary .auth-option__glyph {
  color: var(--axol-coral);
}
.auth-option__glyph {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--muted-gold);
  text-align: center;
  font-feature-settings: "calt" 0, "liga" 0;
}
.auth-option__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.auth-option__label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pearl-cream);
  letter-spacing: 0.02em;
}
.auth-option--primary .auth-option__label {
  color: var(--axol-coral);
}
.auth-option__desc {
  font-family: var(--font-body, var(--font-mono));
  font-size: 0.7rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.auth-option__chevron {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-faint);
  transition: transform 0.2s ease, color 0.2s ease;
}
.auth-option:hover:not(:disabled) .auth-option__chevron {
  transform: translate(2px);
  color: var(--muted-gold);
}
.auth-gate__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.auth-gate__field {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.auth-gate__field-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}
.auth-gate__input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background: var(--inset-bg, rgba(10, 10, 12, 0.5));
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md, 8px);
  color: var(--pearl-cream);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
  box-shadow: var(--shadow-inset, inset 0 1px 3px rgba(0, 0, 0, 0.2));
}
.auth-gate__input::placeholder {
  color: var(--text-faint);
}
.auth-gate__input:focus {
  border-color: var(--muted-gold-25);
  box-shadow: var(--shadow-inset, inset 0 1px 3px rgba(0, 0, 0, 0.2)),
    0 0 0 2px var(--muted-gold-10), 0 0 12px var(--muted-gold-subtle);
}
.auth-gate__input--error {
  border-color: var(--color-error);
}
.auth-gate__submit {
  width: 100%;
  padding: 0.85rem 1rem;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--axol-coral) 25%, transparent),
    color-mix(in srgb, var(--axol-coral) 10%, transparent)
  );
  border: 1px solid color-mix(in srgb, var(--axol-coral) 40%, transparent);
  border-radius: var(--radius-sm, 4px);
  color: var(--axol-coral);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  font-feature-settings: "calt" 0, "liga" 0;
}
.auth-gate__submit:hover:not(:disabled) {
  border-color: color-mix(in srgb, var(--axol-coral) 60%, transparent);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}
.auth-gate__submit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--obsidian),
    0 0 0 4px var(--muted-gold-glow, rgba(168, 154, 128, 0.5)),
    0 0 16px #a89a802e;
}
.auth-gate__submit:disabled,
.auth-gate__submit--loading {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.auth-gate__error {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 1.5;
  color: var(--color-error);
  margin: 0;
  padding: var(--space-md);
  background: #f871710f;
  border-left: 2px solid rgba(248, 113, 113, 0.5);
  border-radius: var(--radius-sm, 4px);
}
.auth-gate__link {
  display: block;
  width: 100%;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm) 0 0;
  transition: color 0.2s ease;
}
.auth-gate__link:hover:not(:disabled) {
  color: var(--muted-gold);
}
.auth-gate__link:focus-visible {
  outline: none;
  color: var(--muted-gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.auth-gate__ladder {
  background: var(--panel-bg-subtle, rgba(18, 18, 26, 0.7));
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg, 12px);
  padding: clamp(1.25rem, 2vw, 1.75rem);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.auth-gate__ladder-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--panel-border);
}
.auth-gate__ladder-eyebrow {
  font-family: var(--font-mono);
  font-size: clamp(0.65rem, 0.6rem + 0.2vw, 0.75rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted-gold);
}
.auth-gate__ladder-meta {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.auth-gate__ladder-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  counter-reset: tier;
}
.auth-tier {
  --tier-color: var(--muted-gold);
  --tier-bg: var(--muted-gold-10);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto;
  grid-template-rows: auto auto;
  grid-template-areas: "name fee" "privacy privacy";
  align-items: center;
  gap: var(--space-xs) var(--space-sm);
  padding: var(--space-md);
  background: var(--tier-bg);
  border: 1px solid color-mix(in srgb, var(--tier-color) 22%, transparent);
  border-radius: var(--radius-md, 8px);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.auth-tier:hover {
  transform: translate(2px);
  border-color: color-mix(in srgb, var(--tier-color) 35%, transparent);
}
.auth-tier__name {
  grid-area: name;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tier-color);
}
.auth-tier__fee {
  grid-area: fee;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--pearl-cream);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.auth-tier__pct {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-left: 1px;
}
.auth-tier__privacy {
  grid-area: privacy;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.auth-tier__chip {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tier-color);
  background: color-mix(in srgb, var(--tier-color) 12%, transparent);
  padding: 2px 6px;
  border-radius: 3px;
  font-feature-settings: "calt" 0, "liga" 0;
}
.auth-tier[data-tier="standard"] {
  --tier-color: var(--tier-standard-text, var(--muted-gold));
  --tier-bg: var(--tier-standard, rgba(168, 154, 128, 0.08));
}
.auth-tier[data-tier="trusted"] {
  --tier-color: var(--tier-trusted-text, var(--cryptowave-sky));
  --tier-bg: var(--tier-trusted, rgba(88, 161, 198, 0.08));
}
.auth-tier[data-tier="verified"] {
  --tier-color: var(--tier-verified-text, #7b8ad9);
  --tier-bg: var(--tier-verified, rgba(40, 51, 139, 0.12));
}
.auth-tier[data-tier="premium"] {
  --tier-color: var(--tier-premium-text, var(--axol-coral));
  --tier-bg: var(--tier-premium, rgba(255, 205, 156, 0.08));
}
.auth-tier[data-tier="institutional"] {
  --tier-color: var(--tier-institutional-text, var(--decentralized-coral));
  --tier-bg: var(--tier-institutional, rgba(229, 132, 118, 0.08));
}
.auth-gate__ladder-foot {
  padding-top: var(--space-md);
  border-top: 1px solid var(--panel-border);
}
.auth-gate__ladder-foot p {
  font-family: var(--font-body, var(--font-mono));
  font-size: 0.7rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}
.auth-gate__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--panel-border);
  width: 100%;
}
.auth-gate__back {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.auth-gate__back:hover {
  color: var(--muted-gold);
}
.auth-gate__back:focus-visible {
  outline: none;
  color: var(--muted-gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 600px) {
  .auth-gate {
    padding: 1rem;
    row-gap: 1.25rem;
  }
  .auth-tier {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .auth-gate__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }
}
@media (prefers-reduced-motion: reduce) {
  .auth-gate__header,
  .auth-gate__intro,
  .auth-gate__layout {
    animation: none;
  }
  .auth-option,
  .auth-tier,
  .auth-gate__submit {
    transition: none;
  }
}
.route-intro {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  padding: 2rem;
}
.route-intro__header {
  width: 100%;
  max-width: 920px;
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: fadeIn 0.6s ease-out;
}
.route-intro__article {
  width: 100%;
  max-width: 720px;
  margin: 4rem auto 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  animation: fadeIn 0.8s ease-out;
}
.route-intro__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-gold);
  margin: 0;
}
.route-intro__title {
  font-family: var(--font-mono);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--pearl-cream);
  margin: 0;
  max-width: 32ch;
}
.route-intro__lead {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0.5rem 0 0;
  max-width: 64ch;
}
.route-intro__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.route-intro__cta-primary,
.route-intro__cta-secondary {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.route-intro__cta-primary {
  background: var(--muted-gold);
  color: var(--obsidian);
  border: 1px solid var(--muted-gold);
}
.route-intro__cta-primary:hover {
  background: var(--axol-coral);
  border-color: var(--axol-coral);
}
.route-intro__cta-secondary {
  background: transparent;
  color: var(--pearl-cream);
  border: 1px solid var(--panel-border-hover);
}
.route-intro__cta-secondary:hover {
  background: var(--muted-gold-subtle);
  border-color: var(--muted-gold-25);
}
.route-intro__related {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--panel-border);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
}
.route-intro__related a {
  color: var(--text-secondary);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.route-intro__related a:hover {
  color: var(--muted-gold);
}
@media (max-width: 480px) {
  .route-intro {
    padding: 1rem;
  }
  .route-intro__article {
    margin: 2rem auto 1.5rem;
  }
  .route-intro__cta {
    flex-direction: column;
  }
  .route-intro__cta-primary,
  .route-intro__cta-secondary {
    width: 100%;
  }
}
.demo-bg {
  opacity: 0.25;
}
.demo-overlay {
  background: linear-gradient(
    180deg,
    var(--panel-bg-subtle) 0%,
    var(--panel-bg) 100%
  );
}
.demo-header {
  position: fixed;
  top: var(--giveth-banner-h, 0);
  left: 0;
  right: 0;
  height: 60px;
  padding: 0 1.5rem;
  transition: height var(--duration-normal) var(--ease-smooth),
    padding var(--duration-normal) var(--ease-smooth);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--panel-bg-elevated);
  border-bottom: 1px solid var(--muted-gold-15);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  z-index: 100;
}
.demo-header .logo {
  font-size: 1.2rem;
  letter-spacing: 0.3em;
  text-decoration: none;
}
.demo-nav {
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  display: flex;
  gap: 0.25rem;
}
.nav-link {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.nav-link:hover {
  color: var(--pearl-cream);
  background: var(--muted-gold-10);
}
.nav-link.active {
  color: var(--muted-gold);
  background: var(--muted-gold-15);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.network-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  background: var(--sky-10);
  border: 1px solid var(--sky-30);
  border-radius: 20px;
}
.network-badge .chain-icon {
  width: 14px;
  height: 14px;
}
.network-name {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--cryptowave-sky);
}
.connect-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
}
.connect-wallet-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--panel-border-hover);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.mobile-wallet-link {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s ease;
}
.mobile-wallet-link:hover {
  color: var(--text-secondary);
}
.connect-wallet-btn:hover {
  border-color: var(--muted-gold-25);
  color: var(--pearl-cream);
}
.connect-wallet-btn.connected {
  background: var(--sky-15);
  border-color: var(--sky-40);
  color: var(--cryptowave-sky);
}
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
  border: 1px solid var(--panel-border);
  border-radius: 4px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}
.mobile-menu-btn:before {
  content: "";
  position: absolute;
  top: -6px;
  right: -6px;
  bottom: -6px;
  left: -6px;
}
.mobile-menu-btn:hover {
  border-color: var(--muted-gold-25);
  color: var(--pearl-cream);
}
.demo-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 60px;
  transition: filter var(--duration-slow, 0.4s)
    var(--ease-smooth, cubic-bezier(0.4, 0, 0.2, 1));
}
.demo-page--disconnected {
  filter: saturate(0.85);
}
.demo-page--connected {
  filter: saturate(1);
}
.panel-card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  padding: 1rem;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.panel-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.panel-icon {
  color: var(--muted-gold);
}
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.panel-header .panel-title {
  margin-bottom: 0;
}
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 300;
}
.toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--panel-bg-elevated);
  border: 1px solid var(--panel-border-hover);
  border-radius: 8px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation: slideIn 0.3s ease;
}
@keyframes slideIn {
  0% {
    transform: translate(100%);
    opacity: 0;
  }
  to {
    transform: translate(0);
    opacity: 1;
  }
}
.toast.success {
  border-color: var(--sky-40);
}
.toast.error {
  border-color: var(--negative-30);
}
.toast-message {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--pearl-cream);
}
.demo-loading {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  z-index: 50;
}
.trade-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1rem 1rem;
  flex: 1;
  gap: 1rem;
}
.trade-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 1.25rem;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md), 0 0 0 1px #a89a800a;
  transition: border-color var(--duration-slow) var(--ease-smooth),
    box-shadow var(--duration-slow) var(--ease-smooth);
}
.trade-card:before {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  bottom: -1px;
  left: -1px;
  border-radius: 17px;
  background: linear-gradient(
    180deg,
    rgba(168, 154, 128, 0.15) 0%,
    rgba(168, 154, 128, 0.06) 40%,
    transparent 80%
  );
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1px;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-smooth);
}
.trade-card:hover {
  border-color: var(--panel-border-hover);
  box-shadow: var(--shadow-md), 0 0 40px #a89a800f, 0 0 80px #a89a8008;
}
.trade-card:hover:before {
  opacity: 1;
}
.trade-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.demo-badge {
  padding: 0.25rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  background: #dbb65033;
  border: 1px solid rgba(219, 182, 80, 0.4);
  border-radius: 4px;
  color: var(--tier-institutional-accent);
  -webkit-text-fill-color: currentColor;
  cursor: pointer;
  transition: all 0.2s ease;
  animation: demoPulse 2s ease-in-out infinite;
}
.demo-badge:hover {
  background: #dbb6504d;
  border-color: #dbb65099;
}
@keyframes demoPulse {
  0%,
  to {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}
.settings-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: var(--text-dim);
  cursor: pointer;
  transition: color 0.2s ease;
}
.settings-btn:hover {
  color: var(--text-secondary);
}
.settings-panel {
  background: var(--inset-bg);
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  padding: 0.75rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow-inset);
  animation: fadeInDown var(--duration-normal) var(--ease-out);
}
.settings-btn.active {
  border-color: var(--muted-gold-25);
  color: var(--muted-gold);
  background: var(--muted-gold-subtle);
}
.settings-btn svg {
  transition: transform var(--duration-slow) var(--ease-bounce);
}
.settings-btn.active svg {
  transform: rotate(60deg);
}
.settings-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0;
  opacity: 0;
  animation: fadeInUp var(--duration-normal) var(--ease-out) forwards;
}
.settings-row:nth-child(1) {
  animation-delay: 50ms;
}
.settings-row:nth-child(2) {
  animation-delay: 0.1s;
}
.settings-row:nth-child(3) {
  animation-delay: 0.15s;
}
.settings-row:nth-child(4) {
  animation-delay: 0.2s;
}
.settings-row:nth-child(5) {
  animation-delay: 0.25s;
}
.settings-row--destination {
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
}
.settings-row--destination .settings-label {
  margin-bottom: 0.15rem;
}
.settings-row--tier {
  flex-direction: column;
  align-items: stretch;
}
.settings-row--tier .tier-progress {
  background: transparent;
  border: none;
  padding: 0;
}
.settings-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--inset-bg);
  border: 1px solid var(--text-barely);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-inset);
  transition: border-color var(--duration-normal) var(--ease-smooth),
    box-shadow var(--duration-normal) var(--ease-smooth),
    background var(--duration-normal) var(--ease-smooth);
}
.input-row:focus-within {
  border-color: var(--muted-gold-25);
  box-shadow: var(--shadow-inset), 0 0 0 2px var(--muted-gold-subtle);
  background: var(--inset-bg-heavy);
}
.input-row.quoting {
  position: relative;
  overflow: hidden;
}
.input-row.quoting .amount-input.output {
  color: transparent;
  background: linear-gradient(
    90deg,
    var(--muted-gold-subtle) 0%,
    var(--muted-gold-15) 50%,
    var(--muted-gold-subtle) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s linear infinite;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: var(--text-faint);
}
.input-row.quoting:after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--muted-gold-10) 50%,
    transparent 100%
  );
  animation: inputShimmer 1.5s ease infinite;
}
@keyframes inputShimmer {
  0% {
    left: -100%;
  }
  to {
    left: 100%;
  }
}
.amount-input {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 500;
  background: transparent;
  border: none;
  color: var(--pearl-cream);
  outline: none;
  min-width: 0;
}
.amount-input::placeholder {
  color: var(--text-muted);
}
.amount-input.output {
  color: var(--text-strong);
}
.output-placeholder {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text-dim);
}
.swap-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  position: relative;
}
.swap-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    160deg,
    var(--panel-bg-elevated),
    var(--panel-bg)
  );
  border: 1px solid var(--panel-border);
  border-radius: 50%;
  color: var(--text-secondary);
  cursor: pointer;
  box-shadow: inset 0 1px 0 var(--muted-gold-subtle);
  transition: border-color var(--duration-normal) var(--ease-smooth),
    color var(--duration-normal) var(--ease-smooth),
    box-shadow var(--duration-normal) var(--ease-smooth),
    transform var(--duration-normal) var(--ease-bounce-soft),
    background var(--duration-normal) var(--ease-smooth);
  z-index: 1;
}
.swap-btn:hover {
  border-color: var(--muted-gold-glow);
  color: var(--pearl-cream);
  background: var(--muted-gold-subtle);
  box-shadow: 0 0 16px var(--muted-gold-10);
  transform: translateY(-1px);
}
.swap-btn:hover .swap-icon-svg {
  animation: swapBounce 0.6s var(--ease-bounce);
}
@keyframes swapBounce {
  0%,
  to {
    transform: translateY(0);
  }
  40% {
    transform: translateY(3px);
  }
  60% {
    transform: translateY(-1px);
  }
}
.swap-btn:active {
  transform: scale(0.92);
  box-shadow: none;
}
.swap-icon-svg {
  transition: transform var(--duration-slow) var(--ease-bounce);
}
.cross-chain-label {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #a89a80b3;
  letter-spacing: 0.05em;
}
.limit-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}
.quote-summary {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem;
  background: var(--inset-bg-deep);
  border-radius: 8px;
  margin-top: 0.75rem;
}
.quote-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.quote-item span:first-child {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  color: var(--text-faint);
}
.quote-item span:last-child {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--pearl-cream);
}
.quote-item.highlight span:last-child {
  color: var(--muted-gold);
}
.error-message {
  padding: 0.5rem 0.75rem;
  background: var(--negative-08);
  border: 1px solid var(--negative-20);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-negative);
  margin-top: 0.75rem;
}
.error-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  background: var(--negative-08);
  border: 1px solid var(--negative-20);
  border-radius: 8px;
  margin-top: 0.75rem;
  animation: errorSlide 0.2s ease-out;
}
@keyframes errorSlide {
  0% {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.error-content {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  flex: 1;
}
.error-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--negative-20);
  border-radius: 50%;
  color: var(--color-negative-emphasis);
  flex-shrink: 0;
}
.error-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.error-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-negative);
}
.error-suggestion {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--negative-muted-60);
}
.error-code {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--negative-muted-60);
  margin-left: 0.4rem;
}
.error-reason {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--negative-muted-70);
  font-style: italic;
}
.error-countdown {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--color-warning);
}
.error-retry-btn {
  padding: 0.35rem 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  background: var(--negative-15);
  border: 1px solid var(--negative-30);
  border-radius: 4px;
  color: var(--color-negative);
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.error-retry-btn:hover:not(:disabled) {
  background: var(--negative-25);
  border-color: var(--negative-50);
}
.error-retry-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.submit-btn {
  position: relative;
  width: 100%;
  padding: 1rem;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: linear-gradient(
    135deg,
    var(--coral-20) 0%,
    rgba(168, 154, 128, 0.12) 50%,
    var(--coral-10) 100%
  );
  border: 1px solid var(--muted-gold-30);
  border-radius: 12px;
  color: var(--pearl-cream);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: background var(--duration-normal) var(--ease-smooth),
    border-color var(--duration-normal) var(--ease-smooth),
    box-shadow var(--duration-normal) var(--ease-smooth),
    transform var(--duration-fast) var(--ease-out),
    color var(--duration-normal) var(--ease-smooth);
  overflow: hidden;
}
.submit-btn:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--coral-10) 40%,
    var(--coral-20) 50%,
    var(--coral-10) 60%,
    transparent 100%
  );
  transition: left 0.4s ease;
}
.submit-btn:hover:not(:disabled):before {
  left: 100%;
}
.submit-btn:hover:not(:disabled) {
  background: linear-gradient(
    135deg,
    var(--coral-30) 0%,
    rgba(168, 154, 128, 0.18) 50%,
    var(--coral-15) 100%
  );
  border-color: var(--coral-30);
  box-shadow: 0 4px 20px var(--coral-10), 0 0 40px #a89a800f;
  transform: translateY(-1px);
  color: #fff;
}
.submit-btn:active:not(:disabled) {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 8px #a89a801a;
}
.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.submit-btn.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-strong);
  pointer-events: none;
}
.submit-btn.loading:before {
  animation: btnShimmer 1.5s ease infinite;
}
@keyframes btnShimmer {
  0% {
    left: -100%;
  }
  to {
    left: 100%;
  }
}
.submit-btn[data-state="quoting"] {
  background: linear-gradient(
    135deg,
    var(--muted-gold-15),
    var(--muted-gold-subtle)
  );
  border-color: var(--panel-border-hover);
}
.submit-btn[data-state="signing"] {
  background: linear-gradient(135deg, #82a0be33, #82a0be1a);
  border-color: #82a0be66;
  color: var(--color-info-blue);
  animation: borderGlow 2s ease-in-out infinite;
}
.submit-btn[data-state="executing"],
.submit-btn[data-state="bridging"],
.submit-btn[data-state="settling"] {
  background: linear-gradient(
    135deg,
    var(--muted-gold-25),
    var(--panel-border)
  );
  border-color: #a89a8080;
  animation: glowPulse 2s ease-in-out infinite;
}
.submit-btn[data-state="completed"] {
  background: linear-gradient(135deg, var(--sky-25), var(--sky-12));
  border-color: var(--sky-40);
  color: var(--color-info-teal);
  animation: successPulse 0.6s ease-out;
}
.submit-btn[data-state="failed"] {
  background: linear-gradient(135deg, var(--negative-15), var(--negative-08));
  border-color: var(--negative-30);
  color: var(--color-negative);
  animation: shake 0.5s var(--ease-out);
}
.submit-btn--connect {
  opacity: 1 !important;
  cursor: pointer !important;
  animation: borderGlow 3s ease-in-out infinite;
}
.tier-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  background: var(--muted-gold-15);
  color: var(--muted-gold);
}
.trade-container .active-orders-panel {
  width: 100%;
  max-width: 420px;
}
@media (max-width: 480px) {
  .trade-container {
    padding: 1rem 0.75rem;
  }
  .trade-card {
    padding: 1rem;
    border-radius: 12px;
  }
  .amount-input {
    font-size: 1.25rem;
  }
  .order-type-toggle {
    width: 100%;
  }
  .type-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
  .input-row {
    padding: 0.6rem 0.75rem;
  }
  .submit-btn {
    padding: 0.875rem;
    font-size: 0.85rem;
  }
  .settings-panel {
    padding: 0.6rem;
  }
  .swap-btn {
    width: 36px;
    height: 36px;
  }
  .header-actions {
    gap: 0.35rem;
  }
  .demo-badge {
    padding: 0.2rem 0.4rem;
    font-size: 0.6rem;
  }
  .settings-btn {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }
}
@media (max-width: 360px) {
  .trade-container {
    padding: 0.75rem 0.5rem;
  }
  .trade-card {
    padding: 0.875rem;
  }
  .amount-input {
    font-size: 1.1rem;
  }
  .trade-header {
    margin-bottom: 1rem;
  }
}
@media (hover: none) and (pointer: coarse) {
  .submit-btn {
    min-height: 48px;
  }
  .type-btn {
    min-height: 44px;
  }
  .swap-btn,
  .settings-btn {
    min-width: 44px;
    min-height: 44px;
  }
}
.order-type-toggle {
  display: flex;
  background: var(--inset-bg);
  border: 1px solid var(--text-barely);
  border-radius: 10px;
  padding: 3px;
}
.type-btn {
  flex: 1;
  padding: 0.6rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: transparent;
  border: none;
  border-radius: 7px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--duration-normal) var(--ease-smooth),
    background var(--duration-normal) var(--ease-smooth),
    box-shadow var(--duration-normal) var(--ease-smooth);
}
.type-btn:hover {
  color: var(--pearl-cream);
}
.type-btn.active {
  background: var(--panel-border-hover);
  color: var(--pearl-cream);
  box-shadow: 0 1px 4px #0003;
}
.type-btn.active[data-type="market"] {
  background: var(--sky-15);
  color: var(--cryptowave-sky);
  box-shadow: 0 1px 4px var(--sky-10);
}
.type-btn.active[data-type="limit"] {
  background: var(--muted-gold-15);
  color: var(--muted-gold);
  box-shadow: 0 1px 4px #a89a801a;
}
.input-group {
  margin-bottom: 0.5rem;
}
.input-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  padding: 0 0.25rem;
}
.input-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.balance-display {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  background: transparent;
  border: none;
  transition: color var(--duration-fast) var(--ease-smooth),
    background var(--duration-fast) var(--ease-smooth);
}
.balance-display:hover {
  color: var(--muted-gold);
  background: var(--muted-gold-subtle);
}
.min-output {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-faint);
}
.input-footer {
  display: flex;
  justify-content: flex-end;
  padding: 0.35rem 0.25rem 0;
}
.trade-explainer {
  max-width: 480px;
  margin: 0.5rem auto 0;
  padding: 0.6rem 0.85rem;
  background: transparent;
  border-top: 1px solid var(--panel-border);
}
.trade-explainer__title {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.5rem;
}
.trade-explainer__steps {
  display: flex;
  gap: 0.5rem;
}
.trade-explainer__step {
  flex: 1;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  padding: 0.35rem 0.4rem;
  border-left: 2px solid transparent;
  border-radius: 2px;
  transition: border-color var(--duration-normal) var(--ease-smooth),
    background var(--duration-normal) var(--ease-smooth);
}
.trade-explainer__step:hover {
  border-left-color: var(--muted-gold-25);
  background: #a89a8008;
}
.trade-explainer__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--muted-gold);
  background: var(--muted-gold-10);
  border-radius: 4px;
  margin-top: 0;
  transition: background var(--duration-normal) var(--ease-smooth);
}
.trade-explainer__step:hover .trade-explainer__icon {
  background: var(--muted-gold-15);
}
.trade-explainer__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--pearl-cream);
  line-height: 1.3;
}
.trade-explainer__desc {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-faint);
  line-height: 1.4;
}
@media (max-width: 600px) {
  .trade-explainer__steps {
    flex-direction: column;
    gap: 0.4rem;
  }
}
.chain-icon,
.token-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.chain-icon {
  width: 16px;
  height: 16px;
}
.token-icon {
  width: 18px;
  height: 18px;
}
.dropdown-option-left {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 90px;
  flex-shrink: 0;
}
.dropdown-option-left .token-symbol {
  min-width: 42px;
}
.token-selector {
  position: relative;
  flex-shrink: 0;
}
.token-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  background: #a89a8014;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border: 1px solid var(--panel-border-hover);
  border-radius: 8px;
  color: var(--pearl-cream);
  cursor: pointer;
  transition: background var(--duration-normal) var(--ease-smooth),
    border-color var(--duration-normal) var(--ease-smooth),
    box-shadow var(--duration-normal) var(--ease-smooth),
    transform var(--duration-fast) var(--ease-out);
}
.token-btn:hover {
  background: #a89a801f;
  border-color: var(--muted-gold-25);
}
.token-btn:active {
  transform: scale(0.97);
  box-shadow: none;
}
.chain-badge {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  padding: 0.2rem 0.45rem;
  background: var(--sky-12);
  border: 1px solid var(--sky-15);
  border-radius: 4px;
  color: var(--cryptowave-sky);
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-smooth),
    border-color var(--duration-fast) var(--ease-smooth),
    box-shadow var(--duration-fast) var(--ease-smooth);
}
.chain-badge:hover {
  background: var(--sky-15);
  border-color: var(--sky-30);
  box-shadow: 0 0 8px var(--sky-10);
}
.token-symbol {
  font-weight: 600;
}
.dropdown-arrow {
  color: var(--text-faint);
  font-size: 0.7rem;
  margin-left: 0.25rem;
}
.token-dropdown,
.chain-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 220px;
  max-width: calc(100vw - 2rem);
  background: var(--panel-bg-elevated);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--panel-border-hover);
  border-radius: 10px;
  overflow: hidden;
  z-index: 100;
  box-shadow: var(--shadow-lg);
  animation: dropdownIn var(--duration-normal) var(--ease-bounce-soft);
  transform-origin: top right;
}
@keyframes dropdownIn {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(-4px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.dropdown-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  background: transparent;
  border: none;
  border-left: 2px solid transparent;
  color: var(--pearl-cream);
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-smooth),
    border-color var(--duration-fast) var(--ease-smooth);
  text-align: left;
}
.dropdown-option:hover {
  background: var(--muted-gold-10);
  border-left-color: var(--muted-gold-25);
}
.dropdown-option.selected {
  background: var(--sky-12);
  border-left-color: var(--cryptowave-sky);
  color: var(--cryptowave-sky);
}
.dropdown-option .token-name {
  font-size: 0.7rem;
  color: var(--text-faint);
  white-space: nowrap;
  text-align: right;
}
.slippage-options {
  display: flex;
  gap: 0.25rem;
}
.slippage-btn {
  padding: 0.35rem 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  background: transparent;
  border: 1px solid var(--text-barely);
  border-radius: 5px;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color var(--duration-fast) var(--ease-smooth),
    color var(--duration-fast) var(--ease-smooth),
    background var(--duration-fast) var(--ease-smooth),
    box-shadow var(--duration-fast) var(--ease-smooth);
}
.slippage-btn:hover {
  border-color: var(--muted-gold-30);
  color: var(--pearl-cream);
}
.slippage-btn.active {
  background: var(--muted-gold-15);
  border-color: #a89a8066;
  color: var(--muted-gold);
  box-shadow: 0 0 8px #a89a8014;
}
.settlement-toggle-compact {
  display: flex;
  gap: 0.25rem;
}
.settlement-opt {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  background: transparent;
  border: 1px solid var(--text-barely);
  border-radius: 4px;
  color: var(--text-faint);
  cursor: pointer;
  transition: all 0.15s ease;
}
.settlement-opt:hover:not(:disabled) {
  border-color: var(--muted-gold-30);
  color: var(--pearl-cream);
}
.settlement-opt.active {
  background: var(--sky-15);
  border-color: var(--sky-40);
  color: var(--cryptowave-sky);
}
.settlement-opt.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.chain-selector-group {
  margin-bottom: 1rem;
  position: relative;
}
.selector-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.chain-selector {
  position: relative;
}
.selector-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--inset-bg-heavy);
  border: 1px solid var(--panel-border-hover);
  border-radius: 6px;
  color: var(--pearl-cream);
  cursor: pointer;
  transition: all 0.2s ease;
}
.selector-btn:hover {
  border-color: var(--muted-gold-glow);
}
.selector-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--panel-bg-elevated);
  border: 1px solid var(--muted-gold-30);
  border-radius: 6px;
  overflow: hidden;
  z-index: 100;
  box-shadow: 0 8px 24px #0006;
}
.limit-price-group {
  margin-bottom: 0.75rem;
}
.limit-price-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  padding: 0 0.25rem;
}
.current-price {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-faint);
}
.limit-price-row {
  display: flex;
  gap: 0.5rem;
}
.trigger-toggle {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.trigger-btn {
  padding: 0.4rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  background: transparent;
  border: 1px solid var(--muted-gold-15);
  border-radius: 4px;
  color: var(--text-faint);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.trigger-btn:hover {
  border-color: var(--muted-gold-30);
  color: var(--pearl-cream);
}
.trigger-btn.active {
  background: var(--muted-gold-15);
  border-color: var(--muted-gold-glow);
  color: var(--muted-gold);
}
.trigger-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.limit-price-input-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--inset-bg);
  border: 1px solid var(--muted-gold-15);
  border-radius: 8px;
  padding: 0 0.75rem;
  transition: all 0.2s ease;
}
.limit-price-input-wrapper:focus-within {
  border-color: var(--muted-gold-glow);
}
.limit-price-input {
  flex: 1;
  padding: 0.6rem 0;
  font-family: var(--font-mono);
  font-size: 1rem;
  background: transparent;
  border: none;
  color: var(--pearl-cream);
}
.limit-price-input:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--obsidian), 0 0 0 4px #a89a8080;
}
.limit-price-input::placeholder {
  color: var(--text-ghost);
}
.limit-price-suffix {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-faint);
  margin-left: 0.5rem;
}
.limit-presets {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.5rem;
}
.limit-presets .preset-btn {
  flex: 1;
  padding: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  background: transparent;
  border: 1px solid var(--muted-gold-10);
  border-radius: 4px;
  color: var(--text-faint);
  cursor: pointer;
  transition: all 0.2s ease;
}
.limit-presets .preset-btn:hover {
  border-color: var(--muted-gold-30);
  color: var(--pearl-cream);
}
.price-diff {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  margin-top: 0.35rem;
  padding: 0 0.25rem;
}
.price-diff.positive {
  color: var(--cryptowave-sky);
}
.price-diff.negative {
  color: var(--color-negative);
}
.limit-hint {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-style: italic;
  color: var(--text-hint);
  margin: 0.5rem 0 0;
  padding: 0 0.25rem;
}
.expiry-group {
  margin-bottom: 0.5rem;
}
.expiry-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  padding: 0 0.25rem;
}
.expiry-display {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #a89a80b3;
}
.expiry-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.expiry-btn {
  padding: 0.4rem 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  background: transparent;
  border: 1px solid var(--muted-gold-15);
  border-radius: 4px;
  color: var(--text-faint);
  cursor: pointer;
  transition: all 0.2s ease;
}
.expiry-btn:hover {
  border-color: var(--muted-gold-30);
  color: var(--pearl-cream);
}
.expiry-btn.active {
  background: var(--muted-gold-15);
  border-color: var(--muted-gold-glow);
  color: var(--muted-gold);
}
.expiry-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.expiry-custom {
  margin-top: 0.5rem;
}
.expiry-input {
  width: 100%;
  padding: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: var(--inset-bg);
  border: 1px solid var(--muted-gold-15);
  border-radius: 6px;
  color: var(--pearl-cream);
  transition: all 0.2s ease;
}
.expiry-input:focus-visible {
  outline: none;
  border-color: var(--muted-gold-glow);
  box-shadow: 0 0 0 2px var(--obsidian), 0 0 0 4px #a89a8080;
}
.active-orders-panel {
  padding: 1rem;
  background: var(--panel-bg);
  border: 1px solid var(--text-barely);
  border-radius: 12px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.orders-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.orders-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin: 0;
}
.orders-loading {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted-gold);
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  to {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}
.no-orders {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-hint);
  text-align: center;
  padding: 0.5rem 0;
  margin: 0;
}
.orders-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.order-card {
  padding: 0.6rem 0.75rem;
  background: var(--inset-bg);
  border: 1px solid var(--muted-gold-10);
  border-radius: 8px;
}
.order-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}
.order-pair {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.order-amount {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--pearl-cream);
}
.order-tokens {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.03em;
  color: var(--text-faint);
}
.order-price {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  text-align: right;
}
.price-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-hint);
}
.price-value {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted-gold);
}
.order-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.order-status {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
}
.order-status.status-waiting {
  background: var(--muted-gold-15);
  color: var(--muted-gold);
}
.order-status.status-active {
  background: var(--sky-15);
  color: var(--cryptowave-sky);
}
.order-status.status-success {
  background: var(--sky-20);
  color: var(--cryptowave-sky);
}
.order-status.status-cancelled {
  background: var(--negative-15);
  color: var(--color-negative);
}
.order-status.status-pending {
  background: var(--text-barely);
  color: var(--text-muted);
}
.order-expiry {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-hint);
}
.order-cancel-btn {
  padding: 0.2rem 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  background: transparent;
  border: 1px solid var(--negative-20);
  border-radius: 3px;
  color: var(--negative-muted-60);
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: auto;
}
.order-cancel-btn:hover {
  background: var(--negative-08);
  border-color: var(--negative-30);
  color: var(--color-negative);
}
.orders-history {
  margin-top: 0.75rem;
  border-top: 1px solid var(--panel-border);
  padding-top: 0.5rem;
}
.orders-title--history {
  font-size: 0.65rem;
  color: var(--text-faint);
}
.order-card--history {
  opacity: 0.7;
}
.orders-list--history .order-main {
  flex: 1;
}
.quote-status {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}
.status-row:not(:last-child) {
  border-bottom: 1px solid var(--muted-gold-subtle);
}
.status-row.error {
  padding: 0.75rem;
  background: var(--negative-08);
  border-radius: 4px;
  margin-top: 0.5rem;
}
.status-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.status-value {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--pearl-cream);
}
.status-value.status-idle {
  color: var(--text-muted);
}
.status-value.status-quoting {
  color: var(--muted-gold);
}
.status-value.status-quoted {
  color: var(--cryptowave-sky);
}
.status-value.status-signing {
  color: var(--muted-gold);
}
.status-value.status-executing,
.status-value.status-bridging,
.status-value.status-settling {
  color: var(--color-warning);
}
.status-value.status-completed {
  color: var(--cryptowave-sky);
}
.status-value.status-failed,
.status-value.status-expired {
  color: var(--color-negative);
}
.status-value.expiring {
  color: var(--color-negative);
  animation: pulse 1s ease-in-out infinite;
}
.status-row.error .status-value {
  color: var(--color-negative);
  font-size: 0.75rem;
}
.fee-breakdown {
  display: flex;
  flex-direction: column;
}
.fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
}
.fee-row:not(:last-child) {
  border-bottom: 1px solid var(--muted-gold-subtle);
}
.fee-row.highlight {
  padding-top: 0.75rem;
  margin-top: 0.25rem;
  border-top: 1px solid var(--muted-gold-15);
}
.fee-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  color: var(--text-muted);
}
.fee-value {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--pearl-cream);
}
.tier-badge {
  padding: 0.25rem 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  background: var(--muted-gold-15);
  color: var(--muted-gold);
}
.tier-badge[data-tier="trusted"] {
  background: var(--sky-15);
  color: var(--cryptowave-sky);
}
.tier-badge[data-tier="verified"] {
  background: var(--sky-20);
  color: var(--cryptowave-sky);
}
.tier-badge[data-tier="premium"] {
  background: var(--panel-border-hover);
  color: var(--muted-gold);
}
.tier-badge[data-tier="institutional"] {
  background: linear-gradient(
    135deg,
    var(--muted-gold-25) 0%,
    var(--sky-25) 100%
  );
  color: var(--pearl-cream);
}
.market-stats {
  margin-top: 1rem;
}
.stat-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--muted-gold-subtle);
}
.stat-row:last-child {
  border-bottom: none;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.stat-value {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--pearl-cream);
}
.stat-value.positive {
  color: var(--cryptowave-sky);
}
.stat-value.negative {
  color: var(--color-negative);
}
.price-feeds {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.feed-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: var(--inset-bg-deep);
  border-radius: 4px;
}
.feed-source {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
  min-width: 60px;
}
.feed-price {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--pearl-cream);
  flex: 1;
}
.feed-status {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
}
.feed-status.live {
  background: var(--sky-20);
  color: var(--cryptowave-sky);
}
.wallet-placeholder,
.orders-placeholder {
  padding: 2rem 1rem;
  text-align: center;
}
.placeholder-text {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text-faint);
}
.balance-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.balance-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: var(--inset-bg-deep);
  border-radius: 6px;
}
.balance-token {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--pearl-cream);
}
.balance-amount {
  text-align: right;
}
.balance-amount .amount {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--pearl-cream);
}
.balance-amount .usd-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}
.orders-table {
  font-family: var(--font-mono);
  font-size: 0.75rem;
}
.table-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 0.5rem;
  padding: 0.5rem;
  color: var(--text-faint);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--muted-gold-10);
}
.cancel-all-btn {
  padding: 0.35rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--negative-30);
  border-radius: 4px;
  color: var(--negative-muted-60);
  cursor: pointer;
  transition: all 0.2s ease;
}
.cancel-all-btn:hover:not(:disabled) {
  background: var(--negative-15);
  border-color: var(--negative-50);
  color: var(--color-negative);
}
.cancel-all-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.market-selector {
  position: relative;
  cursor: pointer;
}
.selected-market {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  background: var(--inset-bg-heavy);
  border: 1px solid var(--panel-border-hover);
  border-radius: 6px;
  transition: all 0.3s ease;
}
.selected-market:hover {
  border-color: var(--muted-gold-glow);
}
.token-pair {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pair-name {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--pearl-cream);
}
.market-selector.open .dropdown-arrow {
  transform: rotate(180deg);
}
.market-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 0.25rem;
  background: var(--panel-bg-elevated);
  border: 1px solid var(--panel-border-hover);
  border-radius: 6px;
  overflow: hidden;
  z-index: 50;
}
.market-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--pearl-cream);
  cursor: pointer;
  transition: background 0.2s ease;
}
.market-option:hover {
  background: var(--muted-gold-15);
}
.quote-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem;
  background: var(--inset-bg-deep);
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  margin-top: 0.75rem;
  box-shadow: inset 0 1px 2px #00000014;
  animation: fadeInUp var(--duration-normal) var(--ease-out);
}
.quote-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--muted-gold-10);
  margin-bottom: 0.25rem;
}
.route-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.route-steps,
.route-step {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.route-protocol {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--pearl-cream);
  padding: 0.2rem 0.5rem;
  background: var(--muted-gold-10);
  border: 1px solid var(--muted-gold-subtle);
  border-radius: 4px;
  transition: background var(--duration-fast) var(--ease-smooth);
}
.route-protocol:hover {
  background: var(--muted-gold-15);
}
.route-arrow {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-dim);
}
.quote-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.15rem 0;
}
.quote-row--bridge {
  padding: 0.35rem 0;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid var(--muted-gold-subtle);
}
.quote-row-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}
.quote-row-value {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--pearl-cream);
}
.quote-row-value--muted {
  color: var(--text-muted);
}
.quote-row-value--gasless {
  color: var(--color-success);
}
.quote-row-value--fee {
  color: var(--text-secondary);
}
.quote-row--impact {
  padding: 0.35rem 0.5rem;
  margin: 0.25rem -0.5rem;
  background: #a89a800d;
  border-radius: 4px;
}
.quote-row--impact.warning {
  background: #dbb6801a;
}
.quote-row--impact.warning .quote-row-value {
  color: var(--color-tan);
}
.quote-row--impact.severe {
  background: #db96961a;
}
.quote-row--impact.severe .quote-row-value {
  color: var(--color-negative-emphasis);
  font-weight: 600;
}
.quote-divider {
  height: 1px;
  background: var(--muted-gold-10);
  margin: 0.35rem 0;
}
.quote-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.5rem;
  margin-top: 0.35rem;
  background: var(--sky-10);
  border: 1px solid var(--sky-20);
  border-radius: 4px;
}
.quote-badge--gasless {
  background: var(--sky-10);
  border-color: var(--sky-20);
}
.badge-icon {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--cryptowave-sky);
}
.badge-text {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--cryptowave-sky);
}
.tx-preview-body {
  padding: 1.25rem;
}
.tx-preview-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem;
  background: var(--inset-bg-deep);
  border-radius: var(--radius-md);
  transition: background var(--duration-fast) var(--ease-smooth);
}
.tx-preview-row--out {
  border: 1px solid rgba(219, 150, 150, 0.2);
  background: linear-gradient(
    135deg,
    rgba(219, 150, 150, 0.04) 0%,
    var(--inset-bg-deep) 100%
  );
  animation: fadeInUp var(--duration-normal) var(--ease-out);
}
.tx-preview-row--out .tx-preview-icon {
  color: var(--color-negative-emphasis);
  text-shadow: 0 0 8px rgba(219, 150, 150, 0.3);
}
.tx-preview-row--in {
  border: 1px solid var(--sky-20);
  background: linear-gradient(
    135deg,
    rgba(88, 161, 198, 0.04) 0%,
    var(--inset-bg-deep) 100%
  );
  animation: fadeInUp var(--duration-normal) var(--ease-out) 0.1s both;
}
.tx-preview-row--in .tx-preview-icon {
  color: var(--cryptowave-sky);
  text-shadow: 0 0 8px var(--sky-30);
}
.tx-preview-icon {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1;
  width: 20px;
  text-align: center;
}
.tx-preview-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.tx-preview-amount {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  color: var(--pearl-cream);
}
.tx-preview-detail {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}
.tx-preview-badge {
  display: inline-flex;
  align-items: center;
  padding: 1px 5px;
  margin-left: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  background: var(--sky-20);
  border-radius: 3px;
  color: var(--cryptowave-sky);
  white-space: nowrap;
  vertical-align: middle;
}
.tx-preview-usd {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-faint);
}
.tx-preview-arrow {
  display: flex;
  justify-content: center;
  padding: 0.5rem 0;
}
.tx-preview-arrow-icon {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--text-ghost);
}
.tx-preview-fees {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.75rem 0;
  margin-top: 0.75rem;
  border-top: 1px solid var(--muted-gold-10);
}
.tx-preview-fee-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}
.tx-preview-fee-row--gasless span:last-child {
  color: var(--cryptowave-sky);
}
.tx-preview-net {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem;
  margin-top: 0.5rem;
  background: linear-gradient(135deg, #a89a801a, #a89a800d);
  border: 1px solid var(--muted-gold-subtle);
  border-radius: var(--radius-md);
  animation: fadeInUp var(--duration-normal) var(--ease-out) 0.2s both;
}
.tx-preview-net-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.tx-preview-net-value {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.tx-preview-net-amount {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  color: var(--pearl-cream);
}
.tx-preview-net-change {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
}
.tx-preview-net-change.positive {
  color: var(--cryptowave-sky);
}
.tx-preview-net-change.negative {
  color: var(--color-negative-emphasis);
}
.tx-preview-destination {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  margin-top: 0.75rem;
  background: var(--inset-bg-deep);
  border: 1px solid var(--muted-gold-10);
  border-radius: var(--radius-md);
}
.tx-preview-dest-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--muted-gold-10);
  border-radius: 6px;
  color: var(--muted-gold);
}
.tx-preview-dest-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.tx-preview-dest-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--pearl-cream);
}
.tx-preview-dest-chain {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-faint);
}
.tx-preview-claim-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.5rem 0.75rem;
  margin-top: 0.5rem;
  background: var(--muted-gold-subtle);
  border-radius: 6px;
  border: 1px solid var(--muted-gold-10);
}
.tx-preview-claim-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tx-preview-claim-details {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.tx-preview-claim-value {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--color-success);
}
.tx-preview-claim-note {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.tx-preview-claim-factory {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-faint);
}
.tx-preview-payment {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--muted-gold-10);
}
.tx-preview-payment-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-faint);
}
.tx-preview-payment-value {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}
.tx-preview-payment-value.gasless {
  color: var(--color-success);
}
.intent-timeline {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--inset-bg-deep);
  border: 1px solid var(--muted-gold-15);
  border-radius: 10px;
  margin-top: 1rem;
  box-shadow: inset 0 1px 2px #00000026;
  animation: fadeInUp var(--duration-normal) var(--ease-out);
}
.timeline-progress {
  position: relative;
  height: 3px;
  background: var(--muted-gold-subtle);
  border-radius: 2px;
  overflow: hidden;
}
.timeline-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--muted-gold) 0%,
    var(--cryptowave-sky) 100%
  );
  border-radius: 2px;
  transition: width 0.6s var(--ease-out);
  box-shadow: 0 0 8px var(--sky-30);
}
.intent-timeline.complete .timeline-progress-fill {
  background: var(--cryptowave-sky);
}
.intent-timeline.complete {
  animation: successPulse 0.6s var(--ease-out);
}
.intent-timeline.failed .timeline-progress-fill {
  background: var(--color-negative-emphasis);
}
.intent-timeline.failed {
  animation: shake 0.5s var(--ease-out);
}
.timeline-stages {
  display: flex;
  justify-content: space-between;
  position: relative;
}
.timeline-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  flex: 1;
}
.timeline-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--muted-gold-subtle);
  border: 1px solid var(--panel-border-hover);
  border-radius: 50%;
  color: var(--text-faint);
  transition: background var(--duration-normal) var(--ease-smooth),
    border-color var(--duration-normal) var(--ease-smooth),
    color var(--duration-normal) var(--ease-smooth),
    box-shadow var(--duration-normal) var(--ease-smooth),
    transform var(--duration-normal) var(--ease-bounce-soft);
}
.timeline-stage.completed .timeline-dot {
  background: var(--sky-15);
  border-color: var(--sky-40);
  color: var(--cryptowave-sky);
  box-shadow: 0 0 10px var(--sky-12);
  transform: scale(1);
}
.dot-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 1.5s ease-in-out infinite;
}
.dot-empty {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-ghost);
}
.timeline-stage.active .timeline-dot {
  background: var(--muted-gold-15);
  border-color: var(--muted-gold);
  color: var(--muted-gold);
  box-shadow: 0 0 12px #a89a8033;
  animation: timelinePulse 2s ease-in-out infinite;
  transform: scale(1.08);
}
@keyframes timelinePulse {
  0%,
  to {
    box-shadow: 0 0 #a89a804d, 0 0 12px #a89a8033;
  }
  50% {
    box-shadow: 0 0 0 6px #a89a8000, 0 0 12px #a89a801a;
  }
}
.intent-timeline.failed .timeline-stage.active .timeline-dot {
  background: #db969633;
  border-color: var(--color-negative-emphasis);
  color: var(--color-negative-emphasis);
  animation: none;
}
.timeline-stage.pending .timeline-dot {
  opacity: 0.5;
}
.timeline-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-faint);
  transition: color 0.3s ease;
}
.timeline-stage.completed .timeline-label {
  color: var(--cryptowave-sky);
}
.timeline-stage.active .timeline-label {
  color: var(--muted-gold);
}
.intent-timeline.failed .timeline-stage.active .timeline-label {
  color: var(--color-negative-emphasis);
}
.timeline-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.5rem;
  border-top: 1px solid var(--muted-gold-10);
}
.timeline-status-text {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
}
.timeline-status-text--complete {
  color: var(--cryptowave-sky);
}
.timeline-status-text--failed {
  color: var(--color-negative-emphasis);
}
.timeline-time {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-faint);
}
.timeline-tx-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--muted-gold);
  text-decoration: none;
  transition: all 0.2s ease;
  margin-top: 0.25rem;
}
.timeline-tx-link:hover {
  color: var(--pearl-cream);
  gap: 0.5rem;
}
@keyframes pulse {
  0%,
  to {
    box-shadow: 0 0 0 0 var(--muted-gold-glow);
  }
  50% {
    box-shadow: 0 0 0 6px #a89a8000;
  }
}
.intent-timeline--compact {
  padding: 0.75rem;
  gap: 0.5rem;
}
.intent-timeline--compact .timeline-stages {
  gap: 0.5rem;
}
.intent-timeline--compact .timeline-dot {
  width: 20px;
  height: 20px;
  font-size: 0.65rem;
}
.intent-timeline--compact .timeline-label {
  font-size: 0.6rem;
}
.intent-timeline--compact .timeline-status {
  padding-top: 0.35rem;
}
.intent-timeline--compact .timeline-status-text,
.intent-timeline--compact .timeline-time {
  font-size: 0.6rem;
}
.tier-badge-compact {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.5rem;
  font-family: var(--font-mono);
  background: var(--muted-gold-10);
  border: 1px solid var(--panel-border-hover);
  border-radius: 4px;
}
.tier-badge-compact .tier-score {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted-gold);
}
.tier-badge-compact .tier-name {
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tier-badge-compact[data-tier="standard"] {
  border-color: #9696a033;
}
.tier-badge-compact[data-tier="trusted"] {
  border-color: var(--sky-30);
}
.tier-badge-compact[data-tier="verified"] {
  border-color: #82a0be4d;
}
.tier-badge-compact[data-tier="premium"] {
  border-color: #b086a64d;
}
.tier-badge-compact[data-tier="institutional"] {
  border-color: #dbb6504d;
}
.tier-progress {
  padding: 0.75rem;
  background: var(--inset-bg);
  border: 1px solid var(--muted-gold-15);
  border-radius: 8px;
}
.tier-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}
.tier-current {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.tier-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}
.tier-value {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--muted-gold);
}
.tier-value[data-tier="standard"] {
  color: #9696a0cc;
}
.tier-value[data-tier="trusted"] {
  color: var(--cryptowave-sky);
}
.tier-value[data-tier="verified"] {
  color: var(--tier-verified-accent);
}
.tier-value[data-tier="premium"] {
  color: var(--tier-premium-accent);
}
.tier-value[data-tier="institutional"] {
  color: var(--tier-institutional-accent);
}
.tier-name-badge {
  padding: 0.3rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--muted-gold-15);
  border-radius: 4px;
  color: var(--muted-gold);
}
.tier-name-badge[data-tier="standard"] {
  background: #9696a026;
  color: #9696a0cc;
}
.tier-name-badge[data-tier="trusted"] {
  background: var(--sky-15);
  color: var(--cryptowave-sky);
}
.tier-name-badge[data-tier="verified"] {
  background: #82a0be26;
  color: var(--tier-verified-accent);
}
.tier-name-badge[data-tier="premium"] {
  background: #b086a626;
  color: var(--tier-premium-accent);
}
.tier-name-badge[data-tier="institutional"] {
  background: #dbb65026;
  color: var(--tier-institutional-accent);
}
.tier-progress-bar {
  height: 6px;
  background: var(--muted-gold-10);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.tier-progress-fill {
  height: 100%;
  background: var(--muted-gold);
  border-radius: 3px;
  transition: width 0.3s ease;
}
.tier-progress-fill[data-tier="standard"] {
  background: #9696a099;
}
.tier-progress-fill[data-tier="trusted"] {
  background: var(--cryptowave-sky);
}
.tier-progress-fill[data-tier="verified"] {
  background: var(--tier-verified-accent);
}
.tier-progress-fill[data-tier="premium"] {
  background: var(--tier-premium-accent);
}
.tier-progress-fill[data-tier="institutional"] {
  background: var(--tier-institutional-accent);
}
.tier-next {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.tier-next-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-secondary);
}
.tier-next-benefit {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: #58a1c6b3;
}
.tier-max {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-style: italic;
  color: #dbb650b3;
  text-align: center;
}
.tier-add-btn {
  display: block;
  width: 100%;
  margin-top: 0.6rem;
  padding: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  background: var(--sky-10);
  border: 1px solid var(--sky-20);
  border-radius: 4px;
  color: var(--cryptowave-sky);
  cursor: pointer;
  transition: all 0.15s ease;
}
.tier-add-btn:hover {
  background: var(--sky-20);
  border-color: var(--sky-40);
}
.token-search-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: var(--overlay-end);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  animation: fadeIn 0.3s var(--ease-out, ease);
}
.token-search-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--panel-bg-elevated);
  overflow: hidden;
  animation: modalIn 0.35s var(--ease-bounce-soft, ease);
}
.token-search-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1px solid var(--panel-border);
  flex-shrink: 0;
}
.token-search-title {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--pearl-cream);
  letter-spacing: 0.02em;
}
.token-search-close {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--text-barely);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 0.75rem;
  line-height: 1;
}
.token-search-close:hover {
  border-color: var(--text-dim);
  color: var(--pearl-cream);
}
.token-search-panels {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}
.token-search-chains {
  display: flex;
  flex-direction: row;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  overflow-x: auto;
  flex-shrink: 0;
  border-bottom: 1px solid var(--panel-border);
  scrollbar-width: none;
}
.token-search-chains::-webkit-scrollbar {
  display: none;
}
.token-search-chain-search {
  display: none;
}
.token-search-chain-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 6px 12px;
  background: transparent;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  min-height: 32px;
}
.token-search-chain-item:hover {
  background: var(--muted-gold-subtle);
  border-color: var(--muted-gold-15);
  color: var(--pearl-cream);
}
.token-search-chain-item.active {
  background: var(--sky-10);
  border-color: var(--sky-20);
  color: var(--cryptowave-sky);
}
.token-search-chain-icon {
  width: 16px;
  height: 16px;
  border-radius: var(--radius-full);
  object-fit: contain;
}
.token-search-chain-all-icon {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: var(--text-muted);
}
.token-search-input-wrap {
  padding: var(--space-md) var(--space-xl);
  flex-shrink: 0;
}
.token-search-input {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  padding-left: 2.25rem;
  background: var(--inset-bg-heavy);
  border: 1px solid var(--panel-border-hover);
  border-radius: var(--radius-md);
  color: var(--pearl-cream);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 400;
  transition: all var(--transition-fast);
}
.token-search-input::placeholder {
  color: var(--text-hint);
}
.token-search-input:focus-visible {
  outline: none;
  border-color: var(--muted-gold-glow);
  box-shadow: 0 0 0 3px var(--muted-gold-10), 0 0 12px var(--muted-gold-subtle);
}
.token-search-input-container {
  position: relative;
}
.token-search-input-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: var(--text-hint);
  pointer-events: none;
}
.token-search-tokens {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}
.token-search-section-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 var(--space-xl);
  margin-bottom: var(--space-sm);
}
.token-search-popular {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding: 0 var(--space-xl);
  margin-bottom: var(--space-md);
  flex-shrink: 0;
}
.token-search-popular-chip {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 4px 10px;
  background: transparent;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
}
.token-search-popular-chip:hover {
  background: var(--muted-gold-subtle);
  border-color: var(--muted-gold-15);
  color: var(--pearl-cream);
}
.token-search-popular-chip .token-search-chip-icon {
  width: 16px;
  height: 16px;
  border-radius: var(--radius-full);
  object-fit: contain;
}
.token-search-list {
  flex: 1;
  overflow-y: auto;
  padding: 0 var(--space-md);
  scrollbar-width: thin;
  scrollbar-color: var(--panel-border) transparent;
}
.token-search-list::-webkit-scrollbar {
  width: 4px;
}
.token-search-list::-webkit-scrollbar-track {
  background: transparent;
}
.token-search-list::-webkit-scrollbar-thumb {
  background: var(--panel-border);
  border-radius: 2px;
}
.token-search-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  width: 100%;
  padding: var(--space-md) var(--space-md);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
  min-height: 48px;
}
.token-search-row:hover {
  background: var(--muted-gold-subtle);
  border-color: var(--muted-gold-10);
}
.token-search-row.selected {
  background: var(--sky-10);
  border-color: var(--sky-20);
}
.token-search-row.focused {
  background: var(--muted-gold-10);
  border-color: var(--muted-gold-15);
}
.token-search-row-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  object-fit: contain;
  flex-shrink: 0;
}
.token-search-icon-fallback {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--panel-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted-gold);
  flex-shrink: 0;
}
.token-search-row-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.token-search-row-symbol {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--pearl-cream);
}
.token-search-row-name {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.token-search-row-chain {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.token-search-row-chain-icon {
  width: 14px;
  height: 14px;
  border-radius: var(--radius-full);
  object-fit: contain;
  opacity: 0.6;
}
.token-search-row-chain-name {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-faint);
}
.token-search-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3xl) var(--space-xl);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-faint);
}
@media (min-width: 601px) {
  .token-search-modal {
    align-items: center;
    padding: 1rem;
  }
  .token-search-content {
    max-width: 560px;
    max-height: 80vh;
    border-radius: var(--radius-xl);
    border: 1px solid var(--panel-border-hover);
    box-shadow: var(--shadow-xl);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
  }
  .token-search-panels {
    flex-direction: row;
  }
  .token-search-chains {
    flex-direction: column;
    width: 180px;
    min-width: 180px;
    padding: var(--space-md);
    border-bottom: none;
    border-right: 1px solid var(--panel-border);
    overflow-x: visible;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--panel-border) transparent;
  }
  .token-search-chain-search {
    display: block;
    margin-bottom: var(--space-sm);
  }
  .token-search-chain-item {
    border-radius: var(--radius-pill);
    padding: 8px 10px;
    min-height: 36px;
  }
}
@media (min-width: 601px) and (max-width: 700px) {
  .token-search-chains {
    width: 140px;
    min-width: 140px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .token-search-modal,
  .token-search-content {
    animation-duration: 0.01ms;
  }
}
.launch-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1rem 2rem;
  flex: 1;
}
.launch-screen > .trade-card,
.launch-txlog,
.assets-strip {
  width: 100%;
  min-width: 320px;
  max-width: 420px;
}
.assets-strip {
  background: var(--panel-bg-subtle);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  overflow: hidden;
}
.assets-strip--empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.625rem 0.875rem;
}
.assets-strip__hint {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}
.assets-strip__summary {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.875rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--pearl-cream);
  text-align: left;
  transition: background var(--duration-fast) ease;
}
.assets-strip__summary:hover {
  background: var(--muted-gold-subtle);
}
.assets-strip__total {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.assets-strip__label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.assets-strip__total .value-amount {
  font-size: 0.95rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.assets-strip__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  flex: 1;
  justify-content: flex-end;
}
.assets-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-secondary);
  padding: 0.15rem 0.45rem;
  border: 1px solid var(--panel-border);
  border-radius: 6px;
  white-space: nowrap;
}
.assets-chip--claim {
  color: var(--axol-coral);
  border-color: var(--muted-gold-25);
}
.assets-chip .inline-token-icon {
  width: 13px;
  height: 13px;
}
.assets-strip__chevron {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.assets-strip__detail {
  border-top: 1px solid var(--panel-border);
  padding: 0.375rem 0.875rem 0.625rem;
  display: flex;
  flex-direction: column;
}
.assets-strip__row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.3rem 0;
  font-size: 0.8125rem;
}
.assets-strip__sym {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--pearl-cream);
}
.assets-strip__chain {
  color: var(--text-muted);
  font-size: 0.75rem;
}
.assets-strip__row--empty {
  color: var(--text-muted);
  justify-content: center;
}
.assets-strip__wrap-btn {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.45rem;
  background: var(--muted-gold-subtle);
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  color: var(--muted-gold);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.assets-strip__wrap-btn:hover {
  background: var(--muted-gold-10);
  border-color: var(--panel-border-hover);
  color: var(--pearl-cream);
}
.assets-strip__amt {
  font-variant-numeric: tabular-nums;
  color: var(--text-secondary);
  text-align: right;
}
.assets-strip__usd {
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  text-align: right;
  min-width: 4.5rem;
}
.launch-txlog {
  display: flex;
  flex-direction: column;
}
.launch-txlog .panel-card,
.launch-txlog .activity-panel {
  width: 100%;
}
@media (max-width: 480px) {
  .launch-screen {
    padding: 1rem 0.75rem 1.5rem;
  }
  .assets-strip__chips {
    justify-content: flex-start;
  }
}
.trust-card {
  background: linear-gradient(
    135deg,
    var(--panel-bg-elevated) 0%,
    var(--panel-bg-elevated) 100%
  );
  border: 1px solid var(--muted-gold-15);
}
.trust-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}
.trust-tier-badge {
  padding: 0.4rem 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  background: var(--tier-standard);
  border: 1px solid var(--muted-gold-25);
  color: var(--tier-standard-text);
}
.trust-tier-badge[data-tier="trusted"] {
  background: var(--tier-trusted);
  border-color: var(--sky-30);
  color: var(--tier-trusted-text);
}
.trust-tier-badge[data-tier="verified"] {
  background: var(--tier-verified);
  border-color: #a686b04d;
  color: var(--tier-verified-text);
}
.trust-tier-badge[data-tier="premium"] {
  background: var(--tier-premium);
  border-color: #b09c864d;
  color: var(--tier-premium-text);
}
.trust-tier-badge[data-tier="institutional"] {
  background: var(--tier-institutional);
  border-color: var(--muted-gold-glow);
  color: var(--tier-institutional-text);
}
.trust-improve-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--sky-15);
  border: 1px solid var(--sky-30);
  border-radius: 4px;
  color: var(--cryptowave-sky);
  transition: all 0.2s ease;
}
.trust-improve-btn:hover {
  background: var(--sky-25);
  border-color: var(--sky-40);
  color: var(--color-info-muted);
  gap: 0.6rem;
}
.trust-card-body {
  display: flex;
  align-items: stretch;
  gap: 1rem;
}
.trust-metric {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.trust-metric-value {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 500;
  color: var(--muted-gold);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.trust-metric-value.fee {
  color: var(--cryptowave-sky);
}
.trust-metric-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.trust-progress {
  height: 4px;
  background: var(--muted-gold-15);
  border-radius: 2px;
  overflow: hidden;
}
.trust-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--muted-gold), var(--cryptowave-sky));
  border-radius: 2px;
  transition: width 0.5s ease-out;
}
.trust-divider {
  width: 1px;
  background: var(--muted-gold-15);
  margin: 0 0.5rem;
}
.trust-fee-comparison {
  min-height: 18px;
}
.fee-savings {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: #58a1c6b3;
}
.activity-panel .panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.activity-panel .panel-header .panel-title {
  margin-bottom: 0;
}
.activity-count {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-faint);
}
.activity-feed {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.activity-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.5rem;
  border-radius: 6px;
  transition: background 0.2s ease;
}
.activity-row:hover {
  background: #a89a800d;
}
.activity-icon-wrap {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  border-radius: 6px;
  flex-shrink: 0;
}
.activity-icon-wrap.deposit {
  background: var(--sky-15);
  color: var(--cryptowave-sky);
}
.activity-icon-wrap.withdraw {
  background: var(--negative-15);
  color: var(--color-negative);
}
.activity-icon-wrap.trade {
  background: #a686b026;
  color: var(--color-muted-purple);
}
.activity-main {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.15rem;
}
.activity-asset-amount {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--pearl-cream);
}
.activity-meta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-faint);
}
.activity-usd {
  color: var(--text-muted);
}
.activity-dot {
  color: #e8e4dc40;
}
.activity-counterparty {
  color: #a686b0b3;
}
.activity-status {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.status-icon {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--cryptowave-sky);
}
.activity-empty {
  padding: 1.5rem;
  text-align: center;
}
.info-panel-compact {
  padding: 1rem;
}
.info-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.info-icon {
  font-size: 1rem;
  color: var(--muted-gold);
}
.info-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pearl-cream);
}
.info-text {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}
.info-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.info-feature {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  color: #58a1c6cc;
  padding: 0.25rem 0.5rem;
  background: var(--sky-10);
  border-radius: 3px;
}
.activity-row.skeleton {
  pointer-events: none;
}
.skeleton-icon {
  background: linear-gradient(
    90deg,
    var(--muted-gold-10) 25%,
    var(--muted-gold-15) 50%,
    var(--muted-gold-10) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 6px;
}
.skeleton-line {
  height: 10px;
  background: linear-gradient(
    90deg,
    var(--muted-gold-10) 25%,
    var(--muted-gold-15) 50%,
    var(--muted-gold-10) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 3px;
  margin-bottom: 0.35rem;
}
.skeleton-line--medium {
  width: 70%;
}
.skeleton-line--long {
  width: 90%;
}
@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}
.activity-chain-route {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}
.chain-arrow,
.swap-arrow {
  color: #a89a8080;
}
.from-token {
  color: var(--pearl-cream);
}
.activity-status-badge {
  padding: 0.15rem 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 3px;
  background: var(--muted-gold-15);
  color: var(--text-secondary);
}
.activity-status-badge.status-completed {
  background: var(--sky-20);
  color: var(--cryptowave-sky);
}
.activity-status-badge.status-executing,
.activity-status-badge.status-bridging,
.activity-status-badge.status-settling {
  background: #fbbf2426;
  color: var(--color-warning);
}
.activity-status-badge.status-failed,
.activity-status-badge.status-expired {
  background: var(--negative-15);
  color: var(--color-negative);
}
.activity-status-badge.status-quoting,
.activity-status-badge.status-signing,
.activity-status-badge.status-quoted {
  background: var(--panel-border-hover);
  color: var(--muted-gold);
}
.activity-icon-wrap.completed {
  background: var(--sky-15);
  color: var(--cryptowave-sky);
}
.activity-icon-wrap.executing,
.activity-icon-wrap.bridging,
.activity-icon-wrap.settling {
  background: #fbbf241f;
  color: var(--color-warning);
}
.activity-icon-wrap.failed,
.activity-icon-wrap.expired {
  background: var(--negative-15);
  color: var(--color-negative);
}
.activity-icon-wrap.pending,
.activity-icon-wrap.quoting,
.activity-icon-wrap.signing,
.activity-icon-wrap.quoted,
.activity-icon-wrap.idle {
  background: var(--panel-border);
  color: var(--muted-gold);
}
.activity-tx-link {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: #58a1c6b3;
  text-decoration: none;
  transition: color 0.2s ease;
}
.refresh-btn {
  padding: 0.25rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 1rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.refresh-btn:hover:not(:disabled) {
  background: var(--muted-gold-10);
  border-color: var(--panel-border-hover);
  color: var(--pearl-cream);
}
.refresh-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.load-more-btn {
  width: 100%;
  padding: 0.6rem;
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--inset-bg-deep);
  border: 1px solid var(--muted-gold-15);
  border-radius: 6px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}
.load-more-btn:hover:not(:disabled) {
  background: var(--muted-gold-10);
  border-color: var(--muted-gold-25);
  color: var(--pearl-cream);
}
.load-more-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.error-text {
  color: var(--color-negative);
  margin-bottom: 0.75rem;
}
.retry-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--negative-08);
  border: 1px solid var(--negative-25);
  border-radius: 4px;
  color: var(--color-negative);
  cursor: pointer;
  transition: all 0.2s ease;
}
.retry-btn:hover {
  background: var(--negative-20);
  border-color: var(--negative-30);
}
.trade-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(135deg, var(--sky-20) 0%, var(--sky-10) 100%);
  border: 1px solid var(--sky-30);
  border-radius: 4px;
  color: var(--cryptowave-sky);
  transition: all 0.2s ease;
}
.trade-link:hover {
  background: linear-gradient(135deg, var(--sky-30) 0%, var(--sky-20) 100%);
  border-color: var(--sky-40);
}
.stealth-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.stealth-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.stealth-icon {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted-gold);
}
.stealth-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--pearl-cream);
}
.stealth-hint {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}
.stealth-init-btn,
.stealth-register-btn {
  width: 100%;
  padding: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  background: var(--muted-gold-15);
  border: 1px solid var(--muted-gold-25);
  border-radius: 6px;
  color: var(--pearl-cream);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.stealth-init-btn:hover:not(:disabled),
.stealth-register-btn:hover:not(:disabled) {
  background: var(--muted-gold-25);
  border-color: var(--muted-gold-glow);
}
.stealth-init-btn:disabled,
.stealth-register-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.stealth-active {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.stealth-status-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-secondary);
}
.status-dot--warning {
  background: var(--color-warning);
}
.stealth-address {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 0.5rem;
  background: var(--inset-bg);
  border-radius: 4px;
}
.stealth-address-text {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  word-break: break-all;
}
.stealth-copy-btn {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.4rem;
  background: transparent;
  border: 1px solid var(--panel-border);
  border-radius: 3px;
  color: var(--text-muted);
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.stealth-copy-btn:hover {
  color: var(--pearl-cream);
  border-color: var(--panel-border-hover);
}
.stealth-scanner {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.stealth-scanner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.stealth-scanner-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-faint);
}
.stealth-scan-btn {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  padding: 0.2rem 0.5rem;
  background: transparent;
  border: 1px solid var(--panel-border);
  border-radius: 4px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.stealth-scan-btn:hover:not(:disabled) {
  color: var(--pearl-cream);
  border-color: var(--panel-border-hover);
}
.stealth-scan-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.stealth-payments-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.stealth-payment-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0.5rem;
  background: var(--inset-bg);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
}
.stealth-payment-addr {
  color: var(--text-muted);
}
.stealth-payment-amount {
  color: var(--pearl-cream);
  font-weight: 500;
}
.stealth-payment-status {
  color: var(--color-success);
  font-size: 0.6rem;
  font-weight: 500;
}
.stealth-error {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--color-error);
  margin: 0;
}
.stealth-claims {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm, 8px);
}
.stealth-claims-error {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--color-error);
  padding: 0.3rem 0.5rem;
  background: #f8717114;
  border-radius: 4px;
}
.stealth-claims-empty {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-faint);
  text-align: center;
  padding: 0.5rem;
}
.stealth-claims-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.stealth-claim-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.5rem;
  background: var(--inset-bg, rgba(10, 10, 12, 0.4));
  border-radius: 4px;
}
.stealth-claim-details {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.stealth-claim-addr {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
}
.stealth-claim-block {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-faint);
}
.stealth-claim-amount {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--pearl-cream);
  font-weight: 500;
}
.stealth-claim-action {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.stealth-claim-done {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--color-success);
  font-weight: 500;
}
.stealth-claim-err {
  color: var(--color-error);
  font-weight: 700;
  font-size: 0.7rem;
  cursor: help;
}
.stealth-claim-all {
  margin-top: 0.25rem;
}
.shield-progress {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-secondary);
  padding: 0.3rem 0.5rem;
  background: var(--muted-gold-subtle);
  border-radius: 4px;
}
.shield-tx-hash {
  display: block;
  font-size: 0.6rem;
  color: var(--text-faint);
  margin-top: 0.15rem;
}
.privacy-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  overflow: hidden;
}
.pp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--panel-border);
}
.pp-tier {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.pp-tier-badge {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: var(--muted-gold-15);
  color: var(--muted-gold);
}
.pp-fee {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
}
.pp-score {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-faint);
}
.pp-section-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.pp-levels {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--panel-border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.pp-level-bar {
  display: flex;
  gap: 2px;
}
.pp-level {
  flex: 1;
  padding: 0.4rem 0;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
  background: var(--inset-bg);
  border: none;
  color: var(--text-faint);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.pp-level:first-child {
  border-radius: 4px 0 0 4px;
}
.pp-level:last-child {
  border-radius: 0 4px 4px 0;
}
.pp-level:hover:not(:disabled) {
  background: var(--muted-gold-10);
  color: var(--text-secondary);
}
.pp-level--active {
  background: var(--muted-gold-25);
  color: var(--pearl-cream);
  font-weight: 600;
}
.pp-level--locked {
  opacity: 0.5;
  cursor: not-allowed;
}
.pp-level-desc {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-faint);
}
.pp-disclosures {
  border-bottom: 1px solid var(--panel-border);
}
.pp-disclosures-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.6rem 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  transition: background 0.15s ease;
}
.pp-disclosures-toggle:hover {
  background: var(--muted-gold-subtle);
}
.pp-disclosures-count {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  margin-left: auto;
}
.pp-chevron {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.pp-chevron--open {
  transform: rotate(180deg);
}
.pp-disclosures-detail {
  padding: 0 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.pp-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.6rem;
}
.pp-category-name {
  color: var(--text-secondary);
}
.pp-category-count {
  color: var(--text-faint);
}
.pp-manage-link {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--cryptowave-sky);
  text-decoration: none;
  margin-top: 0.25rem;
}
.pp-manage-link:hover {
  text-decoration: underline;
}
.pp-status-rows {
  padding: 0.5rem 1rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.pp-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pp-status-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-faint);
}
.pp-status-icon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  object-fit: contain;
}
.pp-status-value {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
}
.pp-status--ok {
  color: var(--color-success);
}
.pp-status--warn {
  color: var(--color-warning);
}
.pp-status-hint {
  font-size: 0.6rem;
  color: var(--text-muted);
  margin: -0.15rem 0 0.4rem;
  padding: 0;
  line-height: 1.4;
}
.pp-status-action {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  padding: 0.2rem 0.5rem;
  background: transparent;
  border: 1px solid var(--panel-border);
  border-radius: 4px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.pp-status-action:hover:not(:disabled) {
  color: var(--pearl-cream);
  border-color: var(--panel-border-hover);
}
.pp-status-action:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.activity-filters {
  display: flex;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--muted-gold-10);
}
.activity-filter-btn {
  padding: 0.35rem 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.activity-filter-btn:hover {
  color: var(--pearl-cream);
  background: var(--muted-gold-subtle);
}
.activity-filter-btn.active {
  color: var(--pearl-cream);
  background: var(--muted-gold-15);
  border-color: var(--muted-gold-25);
}
.activity-row-wrapper {
  border-bottom: 1px solid var(--muted-gold-subtle);
  transition: background 0.2s ease;
}
.activity-row-wrapper:hover {
  background: #a89a8008;
}
.activity-row-wrapper.expanded {
  background: #a89a800d;
  border-bottom-color: var(--muted-gold-15);
}
.activity-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}
.activity-row:focus-visible {
  outline: none;
  background: #a89a800d;
  box-shadow: 0 0 0 2px var(--obsidian), 0 0 0 4px #a89a8080;
}
.activity-chevron {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-dim);
  margin-left: auto;
  padding: 0.25rem;
  transition: color 0.15s ease;
}
.activity-row:hover .activity-chevron {
  color: var(--text-secondary);
}
.activity-row-wrapper.expanded .activity-chevron {
  color: var(--muted-gold);
}
.activity-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 6px;
}
.activity-icon--swap {
  background: var(--sky-12);
  color: var(--cryptowave-sky);
}
.activity-icon--payment {
  background: var(--muted-gold-15);
  color: var(--muted-gold);
}
.activity-icon--payment.completed {
  background: var(--panel-border-hover);
  color: var(--muted-gold);
}
.activity-icon--permit {
  background: #a686b01f;
  color: var(--color-muted-purple);
}
.activity-icon--permit.active {
  background: #a686b02e;
  color: var(--color-muted-purple);
}
.activity-icon--permit.expired {
  background: var(--negative-15);
  color: var(--color-negative);
}
.activity-details {
  flex: 1;
  min-width: 0;
}
.activity-main {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.15rem;
}
.activity-action {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--pearl-cream);
}
.activity-chain-route {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-faint);
}
.chain-arrow {
  color: var(--text-dim);
}
.destination-tag-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  margin-left: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  border-radius: 3px;
}
.destination-tag-inline.aztec {
  background: var(--sky-20);
  color: var(--cryptowave-sky);
}
.destination-tag-inline.usdx {
  background: var(--panel-border-hover);
  color: var(--muted-gold);
}
.activity-tokens {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  margin: 0.2rem 0;
}
.from-token {
  color: var(--text-strong);
}
.swap-arrow {
  color: #a89a8080;
}
.to-token {
  color: var(--cryptowave-sky);
}
.activity-meta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.25rem;
}
.activity-status-badge {
  padding: 0.15rem 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 3px;
}
.activity-status-badge.status-pending {
  background: var(--muted-gold-15);
  color: var(--muted-gold);
}
.activity-status-badge.status-completed {
  background: var(--sky-15);
  color: var(--cryptowave-sky);
}
.activity-status-badge.status-failed {
  background: var(--negative-15);
  color: var(--color-negative);
}
.activity-status-badge.status-active {
  background: #a686b026;
  color: var(--color-muted-purple);
}
.activity-status-badge.status-expired {
  background: var(--text-barely);
  color: var(--text-muted);
}
.activity-dot {
  color: var(--text-ghost);
  font-size: 0.6rem;
}
.activity-time {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-faint);
}
.activity-tx-link {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: #58a1c6cc;
  text-decoration: none;
}
.activity-tx-link:hover {
  color: var(--cryptowave-sky);
  text-decoration: underline;
}
.activity-payment-info {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  margin: 0.2rem 0;
}
.payment-amount {
  color: var(--muted-gold);
  font-weight: 500;
}
.payment-separator {
  color: var(--muted-gold-glow);
}
.payment-description {
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(160px, 40vw);
}
.activity-network {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-faint);
  text-transform: capitalize;
}
.activity-status-badge--payment.status-completed {
  background: var(--panel-border-hover);
  color: var(--muted-gold);
}
.activity-permit-info {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  margin: 0.2rem 0;
}
.permit-token {
  color: var(--color-muted-purple);
  font-weight: 500;
}
.permit-separator {
  color: #a686b066;
}
.permit-type {
  color: var(--text-secondary);
}
.activity-status-badge--permit.status-active {
  background: #a686b033;
  color: var(--color-muted-purple);
}
.activity-status-badge--permit.status-completed {
  background: #a686b026;
  color: var(--color-muted-purple);
}
.activity-expanded {
  padding: 0 0.75rem 1rem;
  padding-left: calc(1.5rem + 28px);
  animation: expandDown 0.2s ease;
}
@keyframes expandDown {
  0% {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.expanded-section {
  margin-bottom: 0.75rem;
  padding: 0.5rem 0.6rem;
  background: var(--inset-bg-deep);
  border: 1px solid var(--muted-gold-subtle);
  border-radius: 6px;
}
.expanded-section:last-of-type {
  margin-bottom: 0.5rem;
}
.expanded-section-title {
  margin: 0 0 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.expanded-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.2rem 0;
}
.expanded-detail-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}
.expanded-detail-value {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--pearl-cream);
}
.expanded-detail-value.mono {
  font-family: var(--font-mono);
  font-size: 0.65rem;
}
.expanded-detail-link {
  color: #58a1c6e6;
  text-decoration: none;
}
.expanded-detail-link:hover {
  color: var(--cryptowave-sky);
  text-decoration: underline;
}
.expanded-note {
  padding: 0.5rem 0.6rem;
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--text-faint);
  background: #a89a800d;
  border-radius: 4px;
}
.expanded-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.expanded-action-btn {
  padding: 0.4rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--sky-10);
  border: 1px solid var(--sky-25);
  border-radius: 4px;
  color: var(--cryptowave-sky);
  cursor: pointer;
  transition: all 0.15s ease;
}
.expanded-action-btn:hover {
  background: var(--sky-15);
  border-color: var(--sky-40);
}
.activity-expanded--payment .expanded-section {
  border-color: var(--panel-border);
}
.activity-expanded--payment .expanded-section-title {
  color: #a89a8099;
}
.activity-expanded--permit .expanded-section {
  border-color: #a686b01f;
}
.activity-expanded--permit .expanded-section-title {
  color: #a686b099;
}
.expanded-section--usdx {
  background: var(--muted-gold-subtle);
  border-color: var(--panel-border-hover);
}
.expanded-section--usdx .expanded-section-title,
.expanded-section--usdx .expanded-detail-value {
  color: var(--muted-gold);
}
.activity-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem 1rem;
  text-align: center;
}
.activity-empty p {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-faint);
}
.activity-empty .error-text {
  color: var(--color-negative);
}
.trade-link,
.retry-btn {
  padding: 0.5rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--muted-gold-10);
  border: 1px solid var(--muted-gold-25);
  border-radius: 4px;
  color: var(--pearl-cream);
  cursor: pointer;
  transition: all 0.2s ease;
}
.trade-link:hover,
.retry-btn:hover {
  background: var(--panel-border-hover);
  border-color: var(--muted-gold-glow);
}
.activity-row.skeleton {
  cursor: default;
}
.skeleton-icon {
  width: 28px;
  height: 28px;
  background: var(--muted-gold-subtle);
  border-radius: 6px;
  animation: pulse 1.5s ease infinite;
}
.skeleton-line {
  height: 0.6rem;
  background: var(--muted-gold-subtle);
  border-radius: 3px;
  margin: 0.3rem 0;
  animation: pulse 1.5s ease infinite;
}
.skeleton-line--short {
  width: 40%;
}
.skeleton-line--medium {
  width: 60%;
}
.skeleton-line--long {
  width: 80%;
}
@keyframes pulse {
  0%,
  to {
    opacity: 0.4;
  }
  50% {
    opacity: 0.8;
  }
}
.load-more-btn {
  display: block;
  width: 100%;
  padding: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: transparent;
  border: none;
  border-top: 1px solid var(--muted-gold-10);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.load-more-btn:hover:not(:disabled) {
  background: #a89a800d;
  color: var(--pearl-cream);
}
.load-more-btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
@media (max-width: 600px) {
  .activity-filters {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .activity-filters::-webkit-scrollbar {
    display: none;
  }
  .activity-filter-btn {
    flex-shrink: 0;
  }
  .payment-description {
    max-width: 100px;
  }
  .activity-expanded {
    padding-left: 0.75rem;
  }
  .expanded-detail-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
  }
  .expanded-detail-value {
    word-break: break-all;
  }
}
.assets-container {
  padding: 1.5rem 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  flex: 1;
  position: relative;
  z-index: 10;
}
.action-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--duration-normal) var(--ease-smooth),
    border-color var(--duration-normal) var(--ease-smooth),
    box-shadow var(--duration-normal) var(--ease-smooth),
    transform var(--duration-fast) var(--ease-out),
    color var(--duration-normal) var(--ease-smooth);
}
.action-btn.primary {
  background: linear-gradient(
    135deg,
    var(--coral-20) 0%,
    rgba(168, 154, 128, 0.12) 100%
  );
  border: 1px solid var(--coral-30);
  color: var(--axol-coral);
}
.action-btn.primary:hover:not(:disabled) {
  background: linear-gradient(
    135deg,
    var(--coral-30) 0%,
    rgba(168, 154, 128, 0.18) 100%
  );
  border-color: var(--coral-30);
  box-shadow: 0 4px 20px var(--coral-10);
  transform: translateY(-1px);
}
.action-btn.primary:active:not(:disabled) {
  transform: translateY(0) scale(0.97);
  box-shadow: none;
}
.action-btn.secondary {
  background: var(--inset-bg);
  border: 1px solid var(--panel-border-hover);
  color: var(--pearl-cream);
}
.action-btn.secondary:hover:not(:disabled) {
  background: var(--muted-gold-10);
  border-color: var(--muted-gold-30);
  transform: translateY(-1px);
}
.action-btn.secondary:active:not(:disabled) {
  transform: translateY(0) scale(0.98);
}
.action-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.action-icon {
  font-family: var(--font-mono);
  font-size: 1rem;
}
.assets-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.5rem;
}
.portfolio-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
}
.portfolio-inline-value {
  font-family: var(--font-mono);
}
.portfolio-inline-value .value-amount {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--pearl-cream);
}
.portfolio-inline-value .value-hidden {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-ghost);
}
.portfolio-inline-actions {
  display: flex;
  gap: 0.4rem;
}
.portfolio-inline-actions .action-btn {
  padding: 0.35rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--panel-border);
  border-radius: 4px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.portfolio-inline-actions .action-btn:hover:not(:disabled) {
  color: var(--pearl-cream);
  border-color: var(--panel-border-hover);
}
.portfolio-inline-actions .action-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.empty-state--compact {
  padding: 2rem 1rem;
}
.balances-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.view-toggle {
  display: flex;
  gap: 0.25rem;
  padding: 3px;
  background: var(--inset-bg);
  border: 1px solid var(--text-barely);
  border-radius: 8px;
}
.toggle-btn {
  padding: 0.4rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: transparent;
  border: none;
  border-radius: 5px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--duration-normal) var(--ease-smooth),
    background var(--duration-normal) var(--ease-smooth),
    box-shadow var(--duration-normal) var(--ease-smooth);
}
.toggle-btn:hover {
  color: var(--pearl-cream);
}
.toggle-btn.active {
  background: var(--muted-gold-15);
  color: var(--muted-gold);
  box-shadow: 0 1px 4px #a89a801a;
}
.balances-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.balance-item {
  opacity: 0;
  animation: fadeInUp var(--duration-normal, 0.25s) var(--ease-out, ease-out)
    forwards;
}
.balance-item:nth-child(1) {
  animation-delay: 50ms;
}
.balance-item:nth-child(2) {
  animation-delay: 0.1s;
}
.balance-item:nth-child(3) {
  animation-delay: 0.15s;
}
.balance-item:nth-child(4) {
  animation-delay: 0.2s;
}
.balance-item:nth-child(5) {
  animation-delay: 0.25s;
}
.balance-item:nth-child(6) {
  animation-delay: 0.3s;
}
.balance-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--panel-bg-subtle);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  transition: background var(--duration-normal) var(--ease-smooth),
    border-color var(--duration-normal) var(--ease-smooth),
    transform var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-smooth);
}
.balance-item:hover {
  background: var(--panel-bg-elevated);
  border-color: var(--panel-border-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px #00000040, 0 0 0 1px #a89a800a;
}
.token-icon-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--muted-gold-10) 0%,
    rgba(168, 154, 128, 0.06) 100%
  );
  border: 1px solid var(--muted-gold-subtle);
  border-radius: 10px;
  transition: background var(--duration-normal) var(--ease-smooth);
}
.token-icon-img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: contain;
}
.token-icon-fallback {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--muted-gold);
}
.token-chain-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--deep-night);
  border: 1.5px solid var(--panel-border);
  padding: 1px;
  object-fit: contain;
}
.balance-item:hover .token-icon-wrap {
  background: linear-gradient(
    135deg,
    var(--muted-gold-15) 0%,
    var(--muted-gold-10) 100%
  );
}
.balance-item:hover .token-chain-badge {
  border-color: var(--panel-border-hover);
}
.token-details {
  flex: 1;
}
.token-details .token-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--pearl-cream);
  margin-bottom: 0.15rem;
}
.shielded-badge {
  font-size: 0.6rem;
  padding: 0.15rem 0.4rem;
  background: var(--muted-gold-15);
  border-radius: 3px;
  color: var(--muted-gold);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.token-symbol {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}
.token-split {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-faint);
  letter-spacing: 0.02em;
}
.token-balance {
  text-align: right;
}
.token-balance .balance-amount {
  display: block;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  color: var(--pearl-cream);
  margin-bottom: 0.15rem;
}
.balance-usd {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}
.token-actions {
  display: flex;
  gap: 0.5rem;
}
.token-action-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1rem;
  background: var(--inset-bg);
  border: 1px solid var(--muted-gold-15);
  border-radius: 6px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}
.token-action-btn:hover {
  background: var(--muted-gold-15);
  border-color: var(--muted-gold-30);
  color: var(--pearl-cream);
  transform: translateY(-1px);
}
.token-action-btn:active {
  transform: translateY(0) scale(0.95);
}
.btn-icon {
  display: block;
  width: 14px;
  height: 14px;
  position: relative;
}
.btn-icon--send {
  width: 12px;
  height: 1px;
  background: currentColor;
  transform: translateY(6px);
}
.btn-icon--send:after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.btn-icon--shield {
  width: 10px;
  height: 12px;
  border: 1px solid currentColor;
  border-radius: 1px 1px 50% 50%;
  margin: 1px auto;
  background: currentColor;
  opacity: 0.85;
}
.btn-icon--shield:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 4px solid var(--deep-night);
  transform: translate(-50%, -50%);
}
.btn-icon--unshield {
  width: 10px;
  height: 12px;
  border: 1px solid currentColor;
  border-radius: 1px 1px 50% 50%;
  margin: 1px auto;
  opacity: 0.85;
}
.btn-icon--unshield:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-bottom: 4px solid currentColor;
  transform: translate(-50%, -50%);
}
.btn-icon--arrow-right {
  width: 10px;
  height: 1px;
  background: currentColor;
}
.btn-icon--arrow-right:after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.status-dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted-gold-30);
}
.status-dot--confirmed {
  background: #78b47899;
  box-shadow: 0 0 6px #78b4784d;
}
.status-dot--pending {
  background: #c8b46499;
  animation: pulse 2s ease-in-out infinite;
}
.assets-container .empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  background: var(--inset-bg);
  border: 1px dashed var(--panel-border-hover);
  border-radius: 12px;
  text-align: center;
}
.empty-icon {
  font-size: 2.5rem;
  color: var(--muted-gold-30);
  margin-bottom: 1rem;
}
.empty-title {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  color: var(--pearl-cream);
  margin-bottom: 0.5rem;
}
.empty-desc {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--text-muted);
}
.activity-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.deposit-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.deposit-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--inset-bg);
  border: 1px solid var(--muted-gold-15);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}
.deposit-option:hover {
  background: var(--muted-gold-10);
  border-color: var(--muted-gold-30);
}
.deposit-option .option-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--muted-gold);
  background: var(--muted-gold-10);
  border-radius: 8px;
}
.option-info {
  flex: 1;
}
.option-name {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--pearl-cream);
  margin-bottom: 0.15rem;
}
.option-desc {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}
.demo-pool-container {
  padding: 1rem 2rem;
  max-width: 640px;
  margin: 0 auto;
  flex: 1;
  position: relative;
  z-index: 10;
}
.demo-pool-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.demo-pool-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0;
}
.demo-pool-title {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  margin: 0;
}
.demo-pool-subtitle {
  font-size: 0.7rem;
  color: var(--text-faint);
  margin: 0;
}
.demo-pool-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--muted-gold-15);
  padding-bottom: 1rem;
}
.demo-pool-tab {
  flex: 1;
  padding: 0.75rem 1rem;
  background: transparent;
  border: 1px solid var(--muted-gold-15);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.demo-pool-tab:hover {
  border-color: var(--muted-gold-30);
  color: var(--pearl-cream);
}
.demo-pool-tab.active {
  background: var(--muted-gold-15);
  border-color: var(--muted-gold);
  color: var(--muted-gold);
}
.demo-pools-list {
  display: flex;
  flex-direction: column;
}
.demo-pools-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 80px;
  gap: 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--muted-gold-15);
}
.demo-pool-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 80px;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--muted-gold-10);
  transition: background 0.2s ease;
}
.demo-pool-row:hover {
  background: #a89a800d;
}
.demo-pool-col {
  font-family: var(--font-mono);
  font-size: 0.875rem;
}
.demo-pool-pair .token-pair {
  font-weight: 500;
  color: var(--pearl-cream);
}
.demo-pool-col.apr {
  color: var(--aztec-teal);
}
.demo-add-liquidity-btn {
  padding: 0.5rem 1rem;
  background: var(--muted-gold-15);
  border: 1px solid var(--muted-gold-30);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted-gold);
  cursor: pointer;
  transition: all 0.2s ease;
}
.demo-add-liquidity-btn:hover {
  background: var(--muted-gold-25);
}
.demo-empty-state {
  text-align: center;
  padding: 1rem;
}
.demo-empty-title {
  font-size: 1.25rem;
  font-weight: 400;
  margin: 0 0 0.5rem;
}
.demo-empty-description {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}
.demo-connect-btn,
.demo-browse-pools-btn {
  padding: 0.75rem 1.5rem;
  background: var(--muted-gold-15);
  border: 1px solid var(--muted-gold-30);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted-gold);
  cursor: pointer;
  transition: all 0.2s ease;
}
.demo-connect-btn:hover,
.demo-browse-pools-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--muted-gold-30);
}
.demo-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--inset-bg-heavy);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 1rem;
}
.demo-add-liquidity-modal {
  width: 100%;
  max-width: 420px;
  background: var(--panel-bg-elevated);
  border: 1px solid var(--muted-gold-30);
  border-radius: 16px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.demo-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--muted-gold-15);
}
.demo-modal-title {
  font-size: 1.125rem;
  font-weight: 400;
  margin: 0;
}
.demo-modal-close {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
}
.demo-modal-close:hover {
  color: var(--pearl-cream);
}
.demo-modal-content {
  padding: 1.5rem;
}
.demo-modal-pool-name {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--muted-gold);
  margin: 0 0 1.5rem;
}
.demo-liquidity-inputs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.demo-liquidity-input {
  background: var(--inset-bg);
  border: 1px solid var(--muted-gold-15);
  border-radius: 12px;
  padding: 1rem;
}
.demo-liquidity-input label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.demo-liquidity-input input {
  width: 100%;
  background: transparent;
  border: none;
  font-size: 1.25rem;
  font-family: var(--font-mono);
  color: var(--pearl-cream);
}
.demo-liquidity-input input:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--obsidian), 0 0 0 4px #a89a8080;
}
.demo-pool-stats {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.demo-stat {
  flex: 1;
  text-align: center;
  padding: 0.75rem;
  background: var(--inset-bg-deep);
  border-radius: 8px;
}
.demo-stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-faint);
  margin-bottom: 0.25rem;
}
.demo-stat-value {
  font-family: var(--font-mono);
  font-size: 1rem;
}
.demo-confirm-liquidity-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--muted-gold), var(--warm-bronze));
  border: none;
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  color: var(--obsidian);
  cursor: pointer;
  transition: all 0.2s ease;
}
.demo-confirm-liquidity-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--muted-gold-30);
}
.demo-pool-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.demo-pool-explainer {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.demo-pool-explainer__item {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  padding: 0.5rem 0.625rem;
  background: var(--panel-bg-subtle);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
}
.demo-pool-explainer__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--muted-gold);
  background: var(--muted-gold-10);
  border-radius: 4px;
}
.demo-pool-explainer__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--pearl-cream);
  margin-bottom: 0.1rem;
}
.demo-pool-explainer__desc {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.demo-pool-solver__title {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.35rem;
}
.demo-pool-solver__card {
  padding: 0.5rem 0.625rem;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.demo-pool-solver__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  min-height: 1.5rem;
}
.demo-pool-solver__label {
  color: var(--text-muted);
}
.demo-pool-solver__value {
  color: var(--pearl-cream);
  font-weight: 500;
}
.demo-pool-solver__value--prelaunch {
  color: var(--color-warning);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.demo-pool-solver__chains {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}
.not-found-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.not-found-content {
  text-align: center;
  max-width: 400px;
}
.not-found-code {
  font-size: 6rem;
  font-weight: 200;
  letter-spacing: 0.2em;
  color: var(--muted-gold-30);
  margin: 0 0 1rem;
  line-height: 1;
}
.not-found-title {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  margin: 0 0 1rem;
}
.not-found-description {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
  line-height: 1.6;
}
.not-found-nav {
  display: flex;
  gap: 1rem;
  justify-content: center;
}
.not-found-link {
  padding: 0.75rem 1.5rem;
  background: var(--muted-gold-15);
  border: 1px solid var(--muted-gold-30);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--pearl-cream);
  text-decoration: none;
  transition: all 0.2s ease;
}
.not-found-link:hover {
  background: var(--muted-gold-25);
  transform: translateY(-2px);
}
.not-found-link:first-child {
  background: linear-gradient(135deg, var(--muted-gold), var(--warm-bronze));
  border: none;
  color: var(--obsidian);
}
.not-found-link:first-child:hover {
  box-shadow: 0 4px 16px var(--muted-gold-30);
}
.legal-container {
  min-height: 100vh;
  padding: 2rem 1rem;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  overflow-x: hidden;
}
.legal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}
.legal-header .logo {
  font-size: 1.2rem;
  letter-spacing: 0.3em;
  text-decoration: none;
}
.legal-content {
  background: var(--inset-bg-heavy);
  border: 1px solid var(--panel-border-hover);
  border-radius: 16px;
  padding: 2rem;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.legal-content > h1,
.legal-content > h2,
.legal-content > p,
.legal-content > section,
.legal-content > .legal-updated,
.legal-content > .legal-note {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
.legal-content h1 {
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-top: 0;
  margin-bottom: 0.5rem;
}
.legal-updated {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
}
.legal-content section {
  margin-bottom: 2rem;
}
.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--muted-gold);
  margin-top: 0;
  margin-bottom: 1rem;
}
.legal-content p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-emphasis);
  margin-top: 0;
  margin-bottom: 1rem;
}
.legal-content a {
  color: var(--muted-gold);
  text-decoration: underline;
}
.legal-content a:hover {
  color: var(--pearl-cream);
}
.legal-note {
  font-size: 0.875rem;
  font-style: italic;
  color: var(--text-muted);
  border-top: 1px solid var(--muted-gold-15);
  padding-top: 1.5rem;
  margin-top: 2rem;
}
.fund-content > .fund-cta,
.fund-content > .fund-tiers,
.fund-content > .fund-networks {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
.fund-list {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}
.fund-list li {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-emphasis);
  margin-bottom: 0.75rem;
}
.fund-list strong {
  color: var(--pearl-cream);
  font-weight: 600;
}
.fund-tiers {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
}
.fund-tier {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: var(--muted-gold-15);
  border: 1px solid var(--muted-gold-25);
  border-radius: 8px;
}
.fund-tier dt {
  font-weight: 600;
  color: var(--pearl-cream);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
}
.fund-tier dd {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-emphasis);
}
@media (max-width: 600px) {
  .fund-tier {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .fund-tier dt {
    border-bottom: 1px solid var(--muted-gold-15);
    padding-bottom: 0.25rem;
  }
}
.fund-networks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.fund-networks li {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--muted-gold-15);
  border: 1px solid var(--muted-gold-25);
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--pearl-cream);
  letter-spacing: 0.02em;
}
.fund-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 1rem;
}
.fund-cta-primary,
.fund-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}
.fund-cta-primary {
  background: var(--axol-coral);
  color: #0a0a0c;
  border: 1px solid var(--decentralized-coral);
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 12px var(--muted-gold-25), inset 0 1px #ffffff40;
}
[data-theme="light"] .fund-cta-primary {
  background: var(--decentralized-coral);
  color: #fff;
  border-color: var(--decentralized-coral);
  box-shadow: 0 2px 12px #b54e404d;
}
.fund-cta-primary:hover {
  filter: brightness(1.08);
  text-decoration: none;
  transform: translateY(-1px);
}
.fund-cta-secondary {
  background: transparent;
  color: var(--pearl-cream);
  border: 1px solid var(--muted-gold);
}
.fund-cta-secondary:hover {
  background: var(--muted-gold-15);
  border-color: var(--muted-gold);
  color: var(--pearl-cream);
  text-decoration: none;
}
.fund-cta-note {
  max-width: 42rem;
  margin: 2rem auto 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.markdown-container {
  overflow-x: visible;
}
.markdown-content > p,
.markdown-content > ul,
.markdown-content > ol,
.markdown-content > blockquote,
.markdown-content > pre,
.markdown-content > h1,
.markdown-content > h2,
.markdown-content > h3,
.markdown-content > h4,
.markdown-content > hr,
.markdown-content > .katex-display,
.markdown-content > .markdown-table-wrapper {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
.markdown-content > .markdown-table-wrapper {
  display: block;
  width: 100%;
}
.markdown-content h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--pearl-cream);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.markdown-content h4 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-emphasis);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.markdown-content strong {
  color: var(--pearl-cream);
  font-weight: 500;
}
.markdown-content em {
  color: var(--text-muted);
  font-style: italic;
}
.markdown-table-wrapper {
  overflow-x: auto;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--muted-gold-30) transparent;
  scrollbar-width: thin;
  background: linear-gradient(to right, var(--deep-night), transparent 2.5rem)
      left center,
    linear-gradient(to left, var(--deep-night), transparent 2.5rem) right center,
    radial-gradient(
        farthest-side at 0% 50%,
        var(--muted-gold-glow),
        transparent
      )
      left center,
    radial-gradient(
        farthest-side at 100% 50%,
        var(--muted-gold-glow),
        transparent
      )
      right center;
  background-repeat: no-repeat;
  background-size: 2.5rem 100%, 2.5rem 100%, 1.25rem 100%, 1.25rem 100%;
  background-attachment: local, local, scroll, scroll;
}
.markdown-table-wrapper::-webkit-scrollbar {
  height: 8px;
}
.markdown-table-wrapper::-webkit-scrollbar-track {
  background: var(--muted-gold-subtle);
  border-radius: 4px;
}
.markdown-table-wrapper::-webkit-scrollbar-thumb {
  background: var(--muted-gold-30);
  border-radius: 4px;
}
.markdown-table-wrapper::-webkit-scrollbar-thumb:hover {
  background: var(--muted-gold);
}
.markdown-content table {
  width: auto;
  max-width: 100%;
  margin-left: 0;
  margin-right: auto;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}
.markdown-content th,
.markdown-content td {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--muted-gold-15);
  color: var(--text-emphasis);
}
.markdown-content th {
  color: var(--muted-gold);
  font-weight: 500;
  background: var(--inset-bg);
  text-align: left;
  white-space: nowrap;
}
.markdown-content td {
  text-align: left;
  white-space: normal;
  vertical-align: top;
  overflow-wrap: break-word;
}
.markdown-content td:first-child {
  white-space: nowrap;
}
.markdown-content td:empty {
  text-align: center;
}
.markdown-content tr:hover {
  background: var(--muted-gold-subtle);
}
.markdown-content pre {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.6;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-emphasis);
}
.markdown-content code {
  font-family: var(--font-mono);
}
.markdown-content :not(pre) > code {
  background: var(--inset-bg);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-size: 0.875em;
  color: var(--muted-gold);
}
.markdown-content blockquote {
  border-left: 3px solid var(--muted-gold-25);
  padding-left: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-style: italic;
}
.markdown-content blockquote p {
  color: var(--text-muted);
}
.markdown-content ul,
.markdown-content ol {
  padding-left: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.markdown-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
  color: var(--text-emphasis);
}
.markdown-content hr {
  border: none;
  border-top: 1px solid var(--muted-gold-15);
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}
.markdown-content img {
  max-width: 100%;
  border-radius: 8px;
}
.markdown-content .katex {
  color: var(--pearl-cream);
  font-size: 1.05em;
}
.markdown-content .katex-display {
  display: block;
  text-align: center;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  padding: 0.5rem 0;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 max(12px, 5%),
    #000 calc(100% - max(12px, 5%)),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 max(12px, 5%),
    #000 calc(100% - max(12px, 5%)),
    transparent 100%
  );
}
.markdown-content .katex-display > .katex {
  font-size: 1.1em;
}
.markdown-source-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: none;
}
.markdown-source-link:hover {
  color: var(--muted-gold);
}
@media (max-width: 768px) {
  .markdown-container {
    padding: 1.5rem 0.75rem;
  }
  .markdown-content {
    padding: 1.25rem;
  }
  .markdown-table-wrapper {
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .markdown-content pre {
    font-size: 0.75rem;
    padding: 0.75rem;
  }
  .markdown-content table {
    font-size: 0.75rem;
  }
  .markdown-content th,
  .markdown-content td {
    padding: 0.35rem 0.5rem;
  }
  .markdown-content th {
    white-space: normal;
  }
}
@media (max-width: 480px) {
  .markdown-container {
    padding: 1rem 0.5rem;
  }
  .markdown-content {
    padding: 0.75rem;
    border-radius: 8px;
  }
  .markdown-table-wrapper {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .markdown-content table {
    font-size: 0.6875rem;
  }
  .markdown-content th,
  .markdown-content td {
    padding: 0.3rem 0.4rem;
  }
  .markdown-content pre {
    font-size: 0.6875rem;
    padding: 0.5rem;
    border-radius: 4px;
  }
  .markdown-content h3 {
    font-size: 1rem;
  }
  .markdown-content h4 {
    font-size: 0.9375rem;
  }
}
.tier-table {
  display: flex;
  flex-direction: column;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  overflow: hidden;
}
.tier-table--compact {
  font-size: 0.6rem;
}
.tier-table-header {
  display: flex;
  padding: 0.4rem 0.6rem;
  background: var(--inset-bg);
  border-bottom: 1px solid var(--panel-border);
  color: var(--text-faint);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.6rem;
}
.tier-table-col {
  flex: 1;
}
.tier-table-row {
  display: flex;
  padding: 0.4rem 0.6rem;
  border-bottom: 1px solid var(--panel-border);
  color: var(--text-secondary);
  transition: background 0.15s ease;
}
.tier-table-row:last-child {
  border-bottom: none;
}
.tier-table-row--current {
  background: var(--muted-gold-subtle);
  color: var(--pearl-cream);
}
.tier-table-row--locked {
  opacity: 0.45;
}
.tier-table-name {
  flex: 1;
  font-weight: 500;
}
.tier-table-score,
.tier-table-fee,
.tier-table-mev,
.tier-table-privacy {
  flex: 1;
}
.tier-table-fee {
  color: var(--color-success);
}
.tier-table-row--locked .tier-table-fee {
  color: inherit;
}
.tier-table-privacy {
  font-size: 0.6rem;
  color: var(--text-faint);
}
.tier-progression-section {
  max-width: 600px;
  margin: 0 auto 1.5rem;
}
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 2rem;
  border-top: 1px solid var(--muted-gold-10);
  flex-shrink: 0;
}
.site-footer-nav,
.site-footer-socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.site-footer-nav {
  font-family: var(--font-mono);
  font-size: 0.75rem;
}
.site-footer-nav a {
  color: var(--text-faint);
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-footer-nav a:hover {
  color: var(--muted-gold);
}
.site-footer-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-ghost);
}
.site-footer-socials a {
  color: var(--text-faint);
  text-decoration: none;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
}
.site-footer-socials a:hover {
  color: var(--muted-gold);
}
@media (max-width: 480px) {
  .site-footer {
    padding: 1rem;
  }
  .site-footer-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}
@media (max-width: 1200px) {
  .trade-container {
    grid-template-columns: 240px 1fr 280px;
  }
  .verify-grid {
    grid-template-columns: 1fr 320px;
  }
}
@media (max-width: 992px) {
  .trade-container {
    grid-template-columns: 1fr;
    padding: 76px 1rem 2rem;
    height: auto;
    max-height: none;
    min-height: 100vh;
    overflow: visible;
  }
  .market-panel,
  .orders-panel {
    display: none;
  }
  .order-panel {
    max-height: none;
    overflow: visible;
  }
  .order-card {
    max-width: 100%;
  }
  .verify-grid,
  .assets-grid {
    grid-template-columns: 1fr;
  }
  .score-display {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  .score-details {
    width: 100%;
    justify-content: space-around;
  }
}
@media (max-width: 900px) {
  .demo-nav {
    position: static;
    transform: none;
  }
  .nav-link {
    font-size: 0.7rem;
    padding: 0.35rem 0.5rem;
  }
  .network-badge .network-name {
    display: none;
  }
}
@media (max-width: 768px) {
  .demo-header {
    height: 52px;
    padding: 0 1rem;
  }
  .demo-page {
    padding-top: 52px;
  }
  .toast-container {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
  }
  .toast {
    max-width: 100%;
  }
  .quote-summary {
    flex-wrap: wrap;
    justify-content: center;
  }
  .quote-item {
    min-width: 40%;
  }
}
@media (max-width: 600px) {
  .demo-header {
    padding: 0 0.5rem;
    height: 44px;
    gap: 0.25rem;
  }
  .demo-page {
    padding-top: 44px;
  }
  .demo-header .logo {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
  }
  .logo-pronunciation {
    display: none;
  }
  .demo-nav {
    gap: 0;
  }
  .demo-nav .nav-link {
    font-size: 0.6rem;
    padding: 0.3rem 0.4rem;
    letter-spacing: 0.05em;
  }
  .network-badge {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .demo-nav {
    display: none;
    position: fixed;
    top: 44px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--panel-bg-elevated);
    border-bottom: 1px solid var(--panel-border);
    padding: 0.5rem;
    gap: 0;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    z-index: 100;
  }
  .demo-nav--open {
    display: flex;
  }
  .demo-nav--open .nav-link {
    padding: 0.6rem 0.75rem;
    font-size: 0.7rem;
    border-radius: 4px;
  }
  .demo-nav--open .nav-link:hover,
  .demo-nav--open .nav-link.active {
    background: var(--muted-gold-10);
  }
  .theme-toggle {
    gap: 1px;
    padding: 1px;
  }
  .theme-toggle__btn {
    width: 32px;
    height: 32px;
    padding: 0;
    box-sizing: border-box;
  }
  .theme-toggle__btn:before {
    content: "";
    position: absolute;
    top: -6px;
    right: -6px;
    bottom: -6px;
    left: -6px;
  }
  .theme-toggle__icon {
    font-size: 0.6rem;
  }
  .header-actions {
    gap: 0.35rem;
    align-items: center;
  }
  .connect-wallet-btn {
    font-size: 0;
    padding: 0;
    gap: 0;
    width: 32px;
    height: 32px;
    min-width: unset;
    min-height: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
  }
  .toast-container {
    right: 0.5rem;
    bottom: 0.5rem;
    left: 0.5rem;
  }
  .verify-container,
  .assets-container {
    padding: 1rem;
  }
  .score-card,
  .portfolio-card {
    padding: 1.5rem;
  }
  .provider-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-value .value-amount {
    font-size: 2.25rem;
  }
  .portfolio-actions {
    flex-direction: column;
  }
  .action-btn {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .quote-summary {
    flex-direction: column;
    align-items: stretch;
  }
  .quote-item {
    min-width: 0;
    flex-direction: row;
    justify-content: space-between;
  }
}
