:root {
  color-scheme: light;
  --bg: #f5f1e8;
  --surface: #fffdf8;
  --surface-raised: #ffffff;
  --surface-soft: #ece8de;
  --ink: #1b2540;
  --ink-strong: #111a31;
  --muted: #687187;
  --faint: #9298a8;
  --line: rgba(27, 37, 64, 0.13);
  --line-strong: rgba(27, 37, 64, 0.24);
  --accent: #3856d9;
  --accent-deep: #263faa;
  --accent-soft: #e4e9ff;
  --coral: #f4775b;
  --coral-soft: #ffe4dc;
  --mint: #2eae83;
  --mint-soft: #dff5ec;
  --gold: #dda93a;
  --hero-wash: #dfe6ff;
  --shadow-sm: 0 8px 28px rgba(44, 49, 72, 0.08);
  --shadow-lg: 0 24px 70px rgba(44, 49, 72, 0.14);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --mono: "SFMono-Regular", "Cascadia Code", "Liberation Mono", Menlo, monospace;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #182134;
  --surface: #202c42;
  --surface-raised: #29364e;
  --surface-soft: #334158;
  --ink: #f6f2e9;
  --ink-strong: #ffffff;
  --muted: #adb7c9;
  --faint: #8793aa;
  --line: rgba(240, 244, 255, 0.12);
  --line-strong: rgba(240, 244, 255, 0.23);
  --accent: #91a8ff;
  --accent-deep: #b3c2ff;
  --accent-soft: rgba(113, 139, 245, 0.2);
  --coral: #ff9a7c;
  --coral-soft: rgba(244, 119, 91, 0.18);
  --mint: #62d7b1;
  --mint-soft: rgba(46, 174, 131, 0.18);
  --gold: #f2c96f;
  --hero-wash: #29395c;
  --shadow-sm: 0 10px 30px rgba(6, 12, 25, 0.16);
  --shadow-lg: 0 28px 80px rgba(6, 12, 25, 0.28);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--accent) var(--bg);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 2%, var(--coral-soft) 0, transparent 24rem),
    radial-gradient(circle at 90% 18%, var(--accent-soft) 0, transparent 30rem),
    var(--bg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  transition: color 220ms ease, background-color 220ms ease;
}

body.dialog-open { overflow: hidden; }
[hidden] { display: none !important; }

button,
input,
select { font: inherit; }

button,
a,
select { -webkit-tap-highlight-color: transparent; }

a,
button { color: inherit; }

.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-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: white;
  border-radius: 10px;
  background: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 0 max(24px, 4vw);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--accent);
  box-shadow: 0 7px 18px color-mix(in srgb, var(--accent) 26%, transparent);
  transform: rotate(-4deg);
}

.brand-mark i {
  position: absolute;
  top: 17px;
  left: 8px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: white;
  transform: rotate(45deg);
}

.brand-mark i:last-child { transform: rotate(-45deg); }

.brand b,
.brand small { display: block; line-height: 1; }

.brand b {
  color: var(--ink-strong);
  font-size: 15px;
  letter-spacing: -0.04em;
}

.brand small {
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.07em;
}

.pulse,
.liquidity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--mint) 15%, transparent);
}

.pulse { animation: pulse 2.2s ease-out infinite; }

@keyframes pulse {
  50% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--mint) 0%, transparent); }
}

.header-divider { opacity: 0.35; }

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 11px;
}

.header-link {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.header-link:hover,
.header-link:focus-visible { color: var(--accent); }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 13px 0 9px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--surface-raised);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.03em;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: var(--accent);
  outline: none;
}

.theme-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: white;
  border-radius: 50%;
  background: var(--accent);
  font-family: var(--sans);
  font-size: 13px;
}

main,
footer {
  width: min(1480px, calc(100% - 40px));
  margin-inline: auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(380px, 0.75fr);
  min-height: 520px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  top: -260px;
  left: -170px;
  width: 600px;
  height: 600px;
  border: 100px solid color-mix(in srgb, var(--coral) 12%, transparent);
}

.hero::after {
  right: 31%;
  bottom: -170px;
  width: 340px;
  height: 340px;
  border: 70px solid color-mix(in srgb, var(--accent) 10%, transparent);
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 5vw, 78px) clamp(38px, 5vw, 76px);
  background: linear-gradient(135deg, color-mix(in srgb, var(--hero-wash) 60%, transparent), transparent 63%);
}

.eyebrow,
.panel-kicker,
.footer-kicker {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.eyebrow span {
  display: inline-block;
  margin-right: 12px;
  padding: 7px 10px;
  color: white;
  border-radius: 100px;
  background: var(--accent);
}

.hero h1 {
  max-width: 780px;
  margin: 25px 0 22px;
  color: var(--ink-strong);
  font-size: clamp(56px, 6.3vw, 98px);
  font-weight: 760;
  letter-spacing: -0.085em;
  line-height: 0.82;
}

.hero h1 em {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-intro {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.6;
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 18px;
  background: color-mix(in srgb, var(--surface-soft) 62%, transparent);
}

.hero-stats article {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-raised);
  box-shadow: var(--shadow-sm);
}

.hero-stats article:first-child {
  grid-column: 1 / -1;
  color: white;
  border-color: transparent;
  background: linear-gradient(145deg, var(--accent), var(--accent-deep));
}

.hero-stats article:nth-child(2) { background: var(--mint-soft); }

.stat-index {
  position: absolute;
  top: 20px;
  right: 22px;
  color: currentColor;
  font-family: var(--mono);
  font-size: 10px;
  opacity: 0.55;
}

.hero-stats strong {
  color: var(--ink-strong);
  font-family: var(--mono);
  font-size: clamp(44px, 4.5vw, 70px);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 1;
}

.hero-stats article:first-child strong { color: white; }

.hero-stats p {
  margin: 12px 0 0;
  color: currentColor;
  font-size: 11px;
  letter-spacing: 0.07em;
  opacity: 0.7;
  text-transform: uppercase;
}

.explorer {
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.search-shell {
  position: relative;
  display: flex;
  align-items: center;
  height: 108px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-raised);
}

.search-shell:focus-within { box-shadow: inset 0 0 0 3px var(--accent); }

.search-shell input {
  width: 100%;
  height: 100%;
  padding: 0 90px 0 88px;
  color: var(--ink-strong);
  border: 0;
  outline: 0;
  background: transparent;
  font-size: clamp(21px, 2.2vw, 34px);
  font-weight: 650;
  letter-spacing: -0.04em;
}

.search-shell input::placeholder { color: var(--faint); opacity: 1; }

.search-icon {
  position: absolute;
  left: 39px;
  width: 25px;
  height: 25px;
  border: 2px solid var(--accent);
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: -7px;
  bottom: -5px;
  width: 10px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(45deg);
}

.search-shell kbd {
  position: absolute;
  right: 35px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--surface-soft);
  box-shadow: 0 2px 0 var(--line-strong);
  font-family: var(--mono);
  font-size: 12px;
}

.liquidity-brief {
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 14px 30px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  background: var(--mint-soft);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.5;
}

.liquidity-brief-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-strong);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.liquidity-brief p { margin: 0; }
.liquidity-brief strong { color: var(--mint); font-weight: 800; }

#liquidity-snapshot {
  color: var(--muted);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 15px 30px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

#result-summary {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#result-summary strong { color: var(--accent); }

.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.toolbar-actions label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toolbar-actions select,
.reset-button {
  min-height: 38px;
  padding: 0 31px 0 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: 0;
  background: var(--surface-raised);
  font-family: var(--mono);
  font-size: 10px;
}

.toolbar-actions select:focus-visible,
.reset-button:focus-visible { border-color: var(--accent); }

.reset-button { padding: 0 13px; cursor: pointer; }

.reset-button:hover {
  color: white;
  border-color: var(--accent);
  background: var(--accent);
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 18px;
  background: var(--surface-soft);
}

.asset-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 350px;
  padding: 25px;
  overflow: hidden;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-raised);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  text-align: left;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.asset-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--coral), var(--mint));
  opacity: 0;
  transition: opacity 180ms ease;
}

.asset-card:hover,
.asset-card:focus-visible {
  z-index: 1;
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  outline: none;
  box-shadow: 0 20px 45px color-mix(in srgb, var(--accent) 14%, transparent);
  transform: translateY(-5px);
}

.asset-card:hover::after,
.asset-card:focus-visible::after { opacity: 1; }

.card-top,
.card-market,
.card-action { position: relative; z-index: 1; }

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.card-logo {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 54px;
  height: 54px;
  overflow: hidden;
  color: #1b2540;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(34, 42, 69, 0.08);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

.card-logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-exchange {
  padding: 6px 8px;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
  border-radius: 100px;
  background: var(--accent-soft);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.07em;
}

.card-symbol {
  margin: 28px 0 7px;
  color: var(--ink-strong);
  font-family: var(--mono);
  font-size: clamp(27px, 2.1vw, 36px);
  font-weight: 650;
  letter-spacing: -0.07em;
}

.card-name {
  min-height: 42px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.halted-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 6px;
  color: white;
  border-radius: 100px;
  background: var(--coral);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  vertical-align: middle;
}

.card-market {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: auto;
  padding: 18px 0 13px;
  border-top: 1px solid var(--line);
}

.card-market > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.card-market .card-liquidity { align-items: flex-end; text-align: right; }
.card-liquidity strong { color: var(--mint); }

.card-liquidity small {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  text-transform: uppercase;
}

.card-market span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.card-market strong {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 550;
}

.card-action {
  position: absolute;
  right: 24px;
  bottom: 24px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.asset-card:hover .card-action,
.asset-card:focus-visible .card-action { opacity: 1; transform: translateX(0); }

.empty-state {
  min-height: 420px;
  padding: 90px 30px;
  text-align: center;
}

.empty-state span {
  padding: 7px 10px;
  color: white;
  border-radius: 100px;
  background: var(--coral);
  font-family: var(--mono);
  font-size: 9px;
}

.empty-state h3 {
  margin: 24px 0 8px;
  color: var(--ink-strong);
  font-size: 35px;
  letter-spacing: -0.04em;
}

.empty-state p {
  max-width: 540px;
  margin: 0 auto 28px;
  color: var(--muted);
  line-height: 1.55;
}

.empty-state button,
.load-more {
  color: white;
  border: 0;
  border-radius: 100px;
  background: var(--accent);
  cursor: pointer;
}

.empty-state button { padding: 12px 18px; font-family: var(--mono); font-size: 10px; text-transform: uppercase; }

.load-more-wrap {
  padding: 38px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.load-more {
  min-width: 250px;
  padding: 15px 24px;
  transition: box-shadow 150ms ease, transform 150ms ease;
  text-transform: uppercase;
}

.load-more:hover,
.load-more:focus-visible { box-shadow: 0 12px 30px color-mix(in srgb, var(--accent) 28%, transparent); transform: translateY(-2px); }
.load-more span,
.load-more small { display: block; }
.load-more span { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.06em; }
.load-more small { margin-top: 4px; opacity: 0.7; font-family: var(--mono); font-size: 9px; }

footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 50px;
  margin-top: 24px;
  margin-bottom: 30px;
  padding: 50px 4vw 34px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-size: 12px;
  line-height: 1.65;
}

footer p { max-width: 760px; margin: 12px 0 0; }
footer a:hover,
footer a:focus-visible { color: var(--accent); }

.footer-links {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
}

.disclaimer {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.03em;
}

.asset-dialog {
  width: min(1460px, calc(100vw - 34px));
  max-width: none;
  height: min(910px, calc(100vh - 34px));
  max-height: none;
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.asset-dialog::backdrop {
  background: color-mix(in srgb, #101729 58%, transparent);
  backdrop-filter: blur(12px);
}

.dialog-frame {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100%;
}

.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-raised);
}

.dialog-identity { display: flex; align-items: center; gap: 15px; min-width: 0; }

.dialog-logo-wrap {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 58px;
  height: 58px;
  overflow: hidden;
  color: #1b2540;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

.dialog-logo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.dialog-logo-wrap span { display: none; }
.dialog-identity p,
.dialog-identity h2,
.dialog-identity > div > span { margin: 0; }
.dialog-identity p { color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; }
.dialog-identity h2 { margin-top: 4px; color: var(--ink-strong); font-family: var(--mono); font-size: 27px; letter-spacing: -0.04em; }
.dialog-identity > div > span { color: var(--muted); font-size: 12px; }

.dialog-close {
  position: relative;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-soft);
  cursor: pointer;
}

.dialog-close span {
  position: absolute;
  top: 21px;
  left: 11px;
  width: 21px;
  height: 1px;
  background: var(--ink);
  transform: rotate(45deg);
}

.dialog-close span:last-child { transform: rotate(-45deg); }
.dialog-close:hover,
.dialog-close:focus-visible { border-color: var(--accent); background: var(--accent); }
.dialog-close:hover span,
.dialog-close:focus-visible span { background: white; }

.dialog-body {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(390px, 0.75fr);
  min-height: 0;
  overflow: hidden;
}

.chart-panel {
  display: grid;
  grid-template-rows: auto minmax(350px, 1fr) auto;
  min-width: 0;
  min-height: 0;
  padding: 25px;
  border-right: 1px solid var(--line);
}

.panel-heading,
.network-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.panel-heading { padding-bottom: 20px; }
.panel-heading h3,
.network-section-heading h3 { margin: 7px 0 0; color: var(--ink-strong); font-size: 19px; letter-spacing: -0.03em; }
.quote-block { text-align: right; }
.quote-block span { display: block; color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; }
.quote-block strong { display: block; margin-top: 5px; color: var(--mint); font-family: var(--mono); font-size: 22px; font-weight: 550; }

.chart-container {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-raised);
}

.tradingview-widget-container,
.tradingview-widget-container__widget { width: 100%; height: 100%; }

.chart-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.chart-loading span { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.3s ease-out infinite; }
.chart-note { margin: 12px 0 0; color: var(--muted); font-family: var(--mono); font-size: 9px; line-height: 1.5; }
.asset-sidebar { min-height: 0; overflow-y: auto; background: var(--surface-raised); }
.asset-sidebar > section { padding: 25px; border-bottom: 1px solid var(--line); }
.asset-record { margin: 18px 0 0; }
.asset-record > div { display: grid; grid-template-columns: 115px 1fr; gap: 14px; padding: 11px 0; border-top: 1px solid var(--line); }
.asset-record dt,
.asset-record dd { margin: 0; }
.asset-record dt { color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: 0.07em; text-transform: uppercase; }
.asset-record dd { min-width: 0; overflow-wrap: anywhere; color: var(--ink); font-family: var(--mono); font-size: 11px; text-align: right; }

.network-section-heading > span {
  min-width: 30px;
  padding: 7px 9px;
  color: white;
  border-radius: 100px;
  background: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  text-align: center;
}

.deployment-list { margin-top: 18px; border-top: 1px solid var(--line); }
.deployment { border-bottom: 1px solid var(--line); }
.deployment summary { display: flex; align-items: center; gap: 9px; padding: 12px 2px; list-style: none; cursor: pointer; font-family: var(--mono); font-size: 11px; }
.deployment summary::-webkit-details-marker { display: none; }
.deployment summary::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--network-color, var(--muted)); }
.deployment summary::after { content: "+"; margin-left: auto; color: var(--muted); font-size: 15px; }
.deployment[open] summary::after { content: "−"; }
.atomic-badge { margin-left: 4px; padding: 3px 5px; color: var(--muted); border: 1px solid var(--line); border-radius: 5px; font-size: 8px; }
.contract-row { display: grid; grid-template-columns: 63px 1fr auto; align-items: center; gap: 8px; padding: 7px 0 12px 17px; }
.contract-row + .contract-row { padding-top: 0; }
.contract-row > span { color: var(--muted); font-family: var(--mono); font-size: 9px; text-transform: uppercase; }
.contract-row code { min-width: 0; overflow: hidden; color: var(--ink); font-family: var(--mono); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }

.copy-button {
  padding: 5px 7px;
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 8px;
}

.copy-button:hover,
.copy-button:focus-visible { color: white; border-color: var(--accent); background: var(--accent); }

.dialog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 10px 24px;
  border-top: 1px solid var(--line);
  background: var(--surface-raised);
  font-family: var(--mono);
  font-size: 10px;
}

.dialog-footer a { color: var(--accent); text-decoration: none; }
.dialog-footer button { padding: 8px 11px; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; background: transparent; cursor: pointer; font-family: inherit; font-size: inherit; }
.dialog-footer button:hover { color: white; border-color: var(--accent); background: var(--accent); }

.toast {
  position: fixed;
  z-index: 100;
  right: 22px;
  bottom: 22px;
  padding: 12px 16px;
  color: white;
  border-radius: 10px;
  background: var(--accent);
  box-shadow: var(--shadow-lg);
  font-family: var(--mono);
  font-size: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show { opacity: 1; transform: translateY(0); }
.noscript { position: fixed; z-index: 1000; inset: auto 20px 20px; padding: 16px; color: white; border-radius: 12px; background: var(--coral); text-align: center; }

@media (max-width: 1080px) {
  .asset-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dialog-body { grid-template-columns: minmax(0, 1.3fr) minmax(340px, 0.8fr); }
}

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .header-meta { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 440px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats article:first-child { grid-column: auto; }
  .hero-stats article { min-height: 155px; }
  .liquidity-brief { grid-template-columns: auto 1fr; }
  #liquidity-snapshot { grid-column: 2; }
  .dialog-body { display: block; overflow-y: auto; }
  .chart-panel { min-height: 580px; border-right: 0; border-bottom: 1px solid var(--line); }
  .asset-sidebar { overflow: visible; }
}

@media (max-width: 720px) {
  main,
  footer { width: min(100% - 20px, 1480px); }
  .site-header { min-height: 66px; padding: 0 12px; }
  .brand-mark { width: 32px; height: 32px; border-radius: 9px; }
  .brand-mark i { top: 15px; left: 7px; width: 18px; }
  .header-link { display: none; }
  .theme-toggle { padding-right: 10px; }
  .theme-toggle > span:last-child { display: none; }
  .hero { margin-top: 10px; border-radius: 22px; }
  .hero-copy { min-height: 390px; padding: 48px 24px 40px; }
  .hero h1 { font-size: clamp(48px, 15vw, 72px); }
  .hero-intro { font-size: 15px; }
  .hero-stats { grid-template-columns: 1fr; gap: 10px; padding: 12px; }
  .hero-stats article,
  .hero-stats article:first-child { min-height: 112px; grid-column: auto; }
  .hero-stats strong { font-size: 42px; }
  .explorer { margin-top: 12px; border-radius: 22px; }
  .search-shell { height: 86px; }
  .search-shell input { padding: 0 54px 0 58px; font-size: 17px; }
  .search-icon { left: 24px; width: 20px; height: 20px; }
  .search-shell kbd { display: none; }
  .liquidity-brief { grid-template-columns: 1fr; gap: 8px; padding: 18px 20px; }
  #liquidity-snapshot { grid-column: auto; }
  .catalog-toolbar { align-items: flex-start; flex-direction: column; gap: 15px; padding: 18px 20px; }
  .toolbar-actions { width: 100%; flex-wrap: wrap; }
  .toolbar-actions label { display: none; }
  .toolbar-actions select { flex: 1 1 130px; }
  .asset-grid { grid-template-columns: 1fr; gap: 12px; padding: 12px; }
  .asset-card { min-height: 320px; }
  footer { grid-template-columns: 1fr; gap: 28px; margin-top: 12px; padding: 42px 24px 30px; border-radius: 22px; }
  .footer-links { flex-direction: column; gap: 10px; }
  .asset-dialog { width: 100vw; height: 100dvh; max-height: none; border: 0; border-radius: 0; }
  .dialog-header { min-height: 82px; padding: 13px 15px; }
  .dialog-logo-wrap { width: 48px; height: 48px; border-radius: 14px; }
  .dialog-identity h2 { font-size: 21px; }
  .chart-panel { grid-template-rows: auto 380px auto; min-height: 520px; padding: 17px; }
  .chart-container { min-height: 380px; }
  .quote-block strong { font-size: 16px; }
  .asset-sidebar > section { padding: 20px 17px; }
  .dialog-footer { padding-inline: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
